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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0xff86(){const _0x1de2a2=['11sQsybr','2882488JsjhFH','1544440USPLsg','FUniver','177430YXQbUK','8051976wqxIPz','extend','10gBhTyO','2ETHhLH','344FajGMh','339YAvGLo','6PsfPjC','102620FdGRDt','get','runOnServer','3799881lLzEUx'];_0xff86=function(){return _0x1de2a2;};return _0xff86();}const _0x1d4a74=_0x2dcb;(function(_0xfaf92b,_0x240aa0){const _0x2aaf5e=_0x2dcb,_0x5b78d6=_0xfaf92b();while(!![]){try{const _0x4b9adc=-parseInt(_0x2aaf5e(0x182))/0x1*(parseInt(_0x2aaf5e(0x176))/0x2)+parseInt(_0x2aaf5e(0x184))/0x3*(parseInt(_0x2aaf5e(0x183))/0x4)+-parseInt(_0x2aaf5e(0x17e))/0x5+parseInt(_0x2aaf5e(0x185))/0x6*(parseInt(_0x2aaf5e(0x17b))/0x7)+parseInt(_0x2aaf5e(0x17c))/0x8+parseInt(_0x2aaf5e(0x179))/0x9*(parseInt(_0x2aaf5e(0x181))/0xa)+parseInt(_0x2aaf5e(0x17a))/0xb*(-parseInt(_0x2aaf5e(0x17f))/0xc);if(_0x4b9adc===_0x240aa0)break;else _0x5b78d6['push'](_0x5b78d6['shift']());}catch(_0x11d709){_0x5b78d6['push'](_0x5b78d6['shift']());}}}(_0xff86,0x3794e));function _0x2dcb(_0x5d3c4e,_0x623aa0){const _0xff86a=_0xff86();return _0x2dcb=function(_0x2dcbcd,_0x1562e3){_0x2dcbcd=_0x2dcbcd-0x176;let _0x3d5b72=_0xff86a[_0x2dcbcd];return _0x3d5b72;},_0x2dcb(_0x5d3c4e,_0x623aa0);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x1d4a74(0x178)](_0x59d746,_0x3adc0e,..._0x5f1087){const _0x5ce568=_0x1d4a74;return this['_injector'][_0x5ce568(0x177)](t['RemoteUniscriptService'])[_0x5ce568(0x178)](_0x59d746,_0x3adc0e,{},..._0x5f1087);}}e[_0x1d4a74(0x17d)][_0x1d4a74(0x180)](c);
1
+ 'use strict';const _0x33b0ce=_0x11c7;(function(_0x8e0ad2,_0xe69f40){const _0x472f89=_0x11c7,_0x4f6158=_0x8e0ad2();while(!![]){try{const _0x5ec3b2=parseInt(_0x472f89(0x18f))/0x1*(parseInt(_0x472f89(0x194))/0x2)+-parseInt(_0x472f89(0x196))/0x3*(-parseInt(_0x472f89(0x199))/0x4)+parseInt(_0x472f89(0x190))/0x5+-parseInt(_0x472f89(0x193))/0x6*(parseInt(_0x472f89(0x19a))/0x7)+parseInt(_0x472f89(0x19b))/0x8*(-parseInt(_0x472f89(0x192))/0x9)+-parseInt(_0x472f89(0x195))/0xa*(parseInt(_0x472f89(0x18d))/0xb)+parseInt(_0x472f89(0x18c))/0xc;if(_0x5ec3b2===_0xe69f40)break;else _0x4f6158['push'](_0x4f6158['shift']());}catch(_0x53378a){_0x4f6158['push'](_0x4f6158['shift']());}}}(_0x20e9,0xa87c2));function _0x20e9(){const _0x44b301=['22376cDwXsw','6285672MLohnl','4768214DPAJdI','runOnServer','16921PiqoSO','1233320TAiWfa','extend','1557tEeWmj','54TgCBQm','142rHwGrX','20UKkzGB','170457PMDKpQ','RemoteUniscriptService','FUniver','32yQmybI','299810RBMVXC'];_0x20e9=function(){return _0x44b301;};return _0x20e9();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x11c7(_0x186724,_0x127d10){const _0x20e9b1=_0x20e9();return _0x11c7=function(_0x11c760,_0x1e7275){_0x11c760=_0x11c760-0x18c;let _0x43a152=_0x20e9b1[_0x11c760];return _0x43a152;},_0x11c7(_0x186724,_0x127d10);}class c extends e[_0x33b0ce(0x198)]{[_0x33b0ce(0x18e)](_0xf2073,_0x2a7889,..._0x3f1085){const _0x33bc11=_0x33b0ce;return this['_injector']['get'](t[_0x33bc11(0x197)])['runOnServer'](_0xf2073,_0x2a7889,{},..._0x3f1085);}}e[_0x33b0ce(0x198)][_0x33b0ce(0x191)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x13cd8a=_0x5703;(function(_0x53432a,_0x52e8a5){const _0x35713d=_0x5703,_0x3123a8=_0x53432a();while(!![]){try{const _0x4ac394=parseInt(_0x35713d(0x380))/0x1*(parseInt(_0x35713d(0x391))/0x2)+parseInt(_0x35713d(0x376))/0x3*(parseInt(_0x35713d(0x3e1))/0x4)+-parseInt(_0x35713d(0x346))/0x5+parseInt(_0x35713d(0x2f9))/0x6+-parseInt(_0x35713d(0x278))/0x7+-parseInt(_0x35713d(0x390))/0x8*(parseInt(_0x35713d(0x2d6))/0x9)+parseInt(_0x35713d(0x3ef))/0xa*(parseInt(_0x35713d(0x3dc))/0xb);if(_0x4ac394===_0x52e8a5)break;else _0x3123a8['push'](_0x3123a8['shift']());}catch(_0x39bfa9){_0x3123a8['push'](_0x3123a8['shift']());}}}(_0x1e89,0x7b612));var Ve=Object[_0x13cd8a(0x247)],Xe=(_0x158669,_0x266a36,_0x1e9787)=>_0x266a36 in _0x158669?Ve(_0x158669,_0x266a36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e9787}):_0x158669[_0x266a36]=_0x1e9787,h=(_0x337979,_0x249f31,_0x149758)=>Xe(_0x337979,typeof _0x249f31!=_0x13cd8a(0x27e)?_0x249f31+'':_0x249f31,_0x149758);Object[_0x13cd8a(0x247)](exports,Symbol['toStringTag'],{'value':'Module'});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x13cd8a(0x2a3)],ze=(_0x46d877,_0xcc6d5c,_0x354327,_0x9d0311)=>{const _0x466372=_0x13cd8a;for(var _0x41aaf4=_0x9d0311>0x1?void 0x0:_0x9d0311?qe(_0xcc6d5c,_0x354327):_0xcc6d5c,_0x298358=_0x46d877[_0x466372(0x29a)]-0x1,_0xf2b267;_0x298358>=0x0;_0x298358--)(_0xf2b267=_0x46d877[_0x298358])&&(_0x41aaf4=_0xf2b267(_0x41aaf4)||_0x41aaf4);return _0x41aaf4;},Oe=(_0x268554,_0x71758b)=>(_0x425e3b,_0x5516aa)=>_0x71758b(_0x425e3b,_0x5516aa,_0x268554);let de=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x4f8ae5,_0x46015f){const _0x4035e1=_0x13cd8a;super(),this[_0x4035e1(0x360)]=_0x4f8ae5,this[_0x4035e1(0x330)]=_0x46015f,this[_0x4035e1(0x3e0)]();}['_init'](){const _0x28c838=_0x13cd8a,_0x34a7e6=this;this[_0x28c838(0x22b)](this[_0x28c838(0x360)][_0x28c838(0x29b)]({'onBeforePasteImage':async _0x9edb1d=>{const _0x263f8b=_0x28c838,_0x5f3dec=await _0x34a7e6[_0x263f8b(0x330)][_0x263f8b(0x222)](_0x9edb1d);return _0x5f3dec?{'source':_0x5f3dec[_0x263f8b(0x1ff)],'imageSourceType':_0x5f3dec[_0x263f8b(0x3f8)]}:null;}}));}};de=ze([Oe(0x0,E[_0x13cd8a(0x23d)]),Oe(0x1,Ge[_0x13cd8a(0x1e8)])],de);function _0x5703(_0x4fdd2c,_0x475a04){const _0x1e89b8=_0x1e89();return _0x5703=function(_0x5703a6,_0x3a2764){_0x5703a6=_0x5703a6-0x1c1;let _0x35844a=_0x1e89b8[_0x5703a6];return _0x35844a;},_0x5703(_0x4fdd2c,_0x475a04);}const Te=[_0x13cd8a(0x2af),_0x13cd8a(0x3ab),_0x13cd8a(0x311),_0x13cd8a(0x2f3),_0x13cd8a(0x2cc),_0x13cd8a(0x39a)];class me extends a[_0x13cd8a(0x2fe)]{constructor(){const _0x5d3e7e=_0x13cd8a;super(...arguments),h(this,_0x5d3e7e(0x2b3),new Map()),h(this,'_colorIndex',0x0);}[_0x13cd8a(0x3e2)](_0x1a3acc){const _0x54350a=_0x13cd8a;if(this[_0x54350a(0x2b3)][_0x54350a(0x315)](_0x1a3acc))return this[_0x54350a(0x2b3)][_0x54350a(0x384)](_0x1a3acc);const _0x4a6e37=Te[this[_0x54350a(0x2c8)]];return this[_0x54350a(0x2c8)]=(this[_0x54350a(0x2c8)]+0x1)%Te['length'],this[_0x54350a(0x2b3)][_0x54350a(0x2f1)](_0x1a3acc,_0x4a6e37),_0x4a6e37;}}function Pe(_0x231430){const _0x24cddc=_0x13cd8a;let _0x32c8fd='';for(const _0x468223 of _0x231430){const {startOffset:_0x100b01,endOffset:_0x4a9b19,isActive:_0x5a211d,rangeType:_0x157089,segmentId:_0x9d139f,segmentPage:_0x365aa4}=_0x468223;_0x32c8fd[_0x24cddc(0x29a)]&&(_0x32c8fd+=','),_0x32c8fd+=_0x100b01+':'+_0x4a9b19+':'+(_0x5a211d?'1':'0')+':'+_0x157089+':'+_0x9d139f+':'+_0x365aa4;}return _0x32c8fd;}function Je(_0x476ef5){const _0x200507=_0x13cd8a,_0xb857f9=_0x476ef5[_0x200507(0x30c)](','),_0x22bd14=[];for(const _0x88ce71 of _0xb857f9){const [_0x209e38,_0x1e8c90,_0x5336e7,_0xa9b60f,_0x390ab1,_0x4f647e]=_0x88ce71[_0x200507(0x30c)](':');_0x22bd14['push']({'startOffset':Number(_0x209e38),'endOffset':Number(_0x1e8c90),'collapsed':_0x209e38===_0x1e8c90,'isActive':_0x5336e7==='1','rangeType':_0xa9b60f===a[_0x200507(0x1c1)]['TEXT']?a[_0x200507(0x1c1)][_0x200507(0x305)]:a[_0x200507(0x1c1)][_0x200507(0x317)],'segmentId':typeof _0x390ab1==_0x200507(0x43f)?String(_0x390ab1):'','segmentPage':Number(_0x4f647e!=null?_0x4f647e:-0x1)});}return _0x22bd14[_0x200507(0x1c3)](_0x12bb1e=>_0x12bb1e[_0x200507(0x3fc)])||(_0x22bd14[0x0]['isActive']=!0x0),_0x22bd14;}class Ce extends a[_0x13cd8a(0x2b1)]{constructor(){const _0x221017=_0x13cd8a;super(...arguments),h(this,_0x221017(0x363),new d[(_0x221017(0x2ab))](null)),h(this,_0x221017(0x3d7),this[_0x221017(0x363)][_0x221017(0x2d3)]());}[_0x13cd8a(0x2e3)](_0x2502bb){const _0x3c1d19=_0x13cd8a,{unitID:_0xa79ed,memberID:_0x3c0c85,textRanges:_0x25ac22}=_0x2502bb,_0x4de8cf=Pe(_0x25ac22);if(_0x4de8cf==='')return;const _0x5c4fbb={'unitID':_0xa79ed,'memberID':_0x3c0c85,'selection':_0x4de8cf};this[_0x3c1d19(0x363)][_0x3c1d19(0x331)](_0x5c4fbb);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x128308,_0x43901c,_0x5da02d,_0x5f05ff)=>{const _0x10232a=_0x13cd8a;for(var _0xde43e8=_0x5f05ff>0x1?void 0x0:_0x5f05ff?Ze(_0x43901c,_0x5da02d):_0x43901c,_0x2bd46a=_0x128308[_0x10232a(0x29a)]-0x1,_0x50177a;_0x2bd46a>=0x0;_0x2bd46a--)(_0x50177a=_0x128308[_0x2bd46a])&&(_0xde43e8=_0x50177a(_0xde43e8)||_0xde43e8);return _0xde43e8;},L=(_0x252969,_0x53bad5)=>(_0xec6606,_0x16a5ad)=>_0x53bad5(_0xec6606,_0x16a5ad,_0x252969);const et=0x12c,tt=0x64;let Ie=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x5779c9,_0x509ae1,_0x4b532b,_0x43774d,_0x40576e,_0x5c8150,_0x33af25,_0x41882e,_0xe944b8){const _0x2a8e1b=_0x13cd8a;super(),h(this,_0x2a8e1b(0x350),!0x1),h(this,'_init',!0x1),h(this,_0x2a8e1b(0x1f3),new d[(_0x2a8e1b(0x2ab))](new Map())),h(this,'cursorInfo$',this[_0x2a8e1b(0x1f3)]['asObservable']()),h(this,_0x2a8e1b(0x235),new d[(_0x2a8e1b(0x2ab))]([])),h(this,_0x2a8e1b(0x297),this[_0x2a8e1b(0x235)][_0x2a8e1b(0x329)](d[_0x2a8e1b(0x1c5)](et))),h(this,_0x2a8e1b(0x3f3),a[_0x2a8e1b(0x22a)](_0x822ccd=>{const _0x49b7f8=_0x2a8e1b,_0x2c31ff={'eventID':m[_0x49b7f8(0x254)][_0x49b7f8(0x2cd)],'data':{'unitID':this['unitID'],'memberID':this[_0x49b7f8(0x3a0)][_0x49b7f8(0x261)](),'selection':Pe(_0x822ccd)}};this['_session'][_0x49b7f8(0x421)](_0x2c31ff,this[_0x49b7f8(0x268)]);},tt)),(this[_0x2a8e1b(0x268)]=_0x5779c9,this['_session']=_0x509ae1,this[_0x2a8e1b(0x253)]=_0x4b532b,this[_0x2a8e1b(0x24b)]=_0x43774d,this['_memberService']=_0x40576e,this[_0x2a8e1b(0x382)]=_0x5c8150,this[_0x2a8e1b(0x36e)]=_0x33af25,this[_0x2a8e1b(0x2c3)]=_0x41882e,this['_commandService']=_0xe944b8);}get['cursorInfo'](){const _0x54c8fa=_0x13cd8a;return this[_0x54c8fa(0x1f3)][_0x54c8fa(0x383)]();}get[_0x13cd8a(0x324)](){const _0x82cb31=_0x13cd8a;return this[_0x82cb31(0x235)]['getValue']();}['dispose'](){const _0x254bc8=_0x13cd8a;super[_0x254bc8(0x41d)](),this['_cursorInfo$'][_0x254bc8(0x331)](new Map()),this[_0x254bc8(0x1f3)][_0x254bc8(0x377)](),this[_0x254bc8(0x235)][_0x254bc8(0x331)]([]),this[_0x254bc8(0x235)][_0x254bc8(0x377)]();}[_0x13cd8a(0x2e9)](){const _0x380352=_0x13cd8a;this['_init']||(this[_0x380352(0x3e0)]=!0x0,this['_session']['sessionStatus$'][_0x380352(0x329)](d[_0x380352(0x30a)](this['dispose$']))['subscribe'](_0x11f02d=>{const _0x32a9ca=_0x380352;_0x11f02d===u[_0x32a9ca(0x3db)][_0x32a9ca(0x430)]?this[_0x32a9ca(0x3a1)]():this[_0x32a9ca(0x21e)]();}),this[_0x380352(0x3a0)][_0x380352(0x358)][_0x380352(0x329)](d[_0x380352(0x30a)](this[_0x380352(0x1dd)]))['subscribe'](_0xfa42a1=>{const _0x46ed45=_0x380352,_0x1fdde0=_0xfa42a1['eventID'];_0x1fdde0===m[_0x46ed45(0x254)]['UPDATE_CURSOR']&&this[_0x46ed45(0x262)](_0xfa42a1),_0x1fdde0===m[_0x46ed45(0x254)][_0x46ed45(0x20b)]&&this[_0x46ed45(0x1c8)](_0xfa42a1);}),this[_0x380352(0x22b)](this[_0x380352(0x39e)]['onCommandExecuted'](_0x1c4c9d=>{const _0x959724=_0x380352,_0x3d8006=_0x1c4c9d[_0x959724(0x357)];_0x3d8006!=null&&this['_online']&&_0x1c4c9d['id']===Y[_0x959724(0x20f)]['id']&&_0x3d8006['unitId']===this['unitID']&&_0x3d8006[_0x959724(0x2ca)]===!0x1&&_0x3d8006[_0x959724(0x432)][_0x959724(0x29a)]>0x0&&this[_0x959724(0x3f3)](_0x3d8006['ranges']);})),this[_0x380352(0x382)][_0x380352(0x3d7)]['pipe'](d['takeUntil'](this['dispose$']))['subscribe'](_0x145e34=>{const _0x50ce75=_0x380352;if((_0x145e34==null?void 0x0:_0x145e34[_0x50ce75(0x268)])!==this[_0x50ce75(0x268)])return;const _0x49ef15={'eventID':m[_0x50ce75(0x254)]['UPDATE_CURSOR'],'data':_0x145e34};this[_0x50ce75(0x262)](_0x49ef15);}),this[_0x380352(0x22b)](this[_0x380352(0x39e)][_0x380352(0x1fd)](_0x432189=>{const _0x110e7d=_0x380352;if(_0x432189[_0x110e7d(0x357)]==null)return;const _0xe90723=_0x432189[_0x110e7d(0x357)];if(_0x432189['id']!==Y[_0x110e7d(0x1e1)]['id']||_0xe90723[_0x110e7d(0x41f)]!==this[_0x110e7d(0x268)])return;const _0x590434={'id':_0x110e7d(0x2c1),'params':_0xe90723},_0x308ec6=this[_0x110e7d(0x433)];for(const [_0x54fadd,_0x2384e9]of _0x308ec6){const _0x5c9d47={'id':_0x110e7d(0x2c1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2384e9[_0x110e7d(0x432)]}},_0x1c6466=this[_0x110e7d(0x36e)][_0x110e7d(0x25f)](_0x590434,_0x5c9d47,!0x1);if(m[_0x110e7d(0x38d)](_0x1c6466))throw _0x1c6466['error'];_0x308ec6[_0x110e7d(0x2f1)](_0x54fadd,{..._0x2384e9,'ranges':_0x1c6466[_0x110e7d(0x37b)][_0x110e7d(0x357)][_0x110e7d(0x38c)]});}queueMicrotask(()=>{const _0x3df58f=_0x110e7d;this[_0x3df58f(0x1f3)][_0x3df58f(0x331)](_0x308ec6);});})));}[_0x13cd8a(0x262)](_0x31aa7c){const _0x3222d2=_0x13cd8a;var _0x409779,_0x4dba9e;const {memberID:_0x563c29,selection:_0x5c7077}=_0x31aa7c['data'],_0x49e28f=Je(_0x5c7077),_0x31663e=(_0x4dba9e=(_0x409779=this[_0x3222d2(0x3cb)][_0x3222d2(0x24d)](this['unitID'],_0x563c29))==null?void 0x0:_0x409779[_0x3222d2(0x257)])!=null?_0x4dba9e:_0x3222d2(0x211),_0x547545={'color':this[_0x3222d2(0x24b)][_0x3222d2(0x3e2)](_0x563c29),'name':_0x31663e,'ranges':_0x49e28f},_0x5bff39=this[_0x3222d2(0x433)];_0x5bff39[_0x3222d2(0x2f1)](_0x563c29,_0x547545),this[_0x3222d2(0x1f3)][_0x3222d2(0x331)](_0x5bff39);}[_0x13cd8a(0x1c8)](_0x2426a2){const _0x3c1f9d=_0x13cd8a,{memberID:_0x8a8d77}=_0x2426a2[_0x3c1f9d(0x2ac)],_0x43d7d8=this[_0x3c1f9d(0x433)];_0x43d7d8[_0x3c1f9d(0x2a4)](_0x8a8d77),this['_cursorInfo$'][_0x3c1f9d(0x331)](_0x43d7d8);}[_0x13cd8a(0x3a1)](){const _0x3bac63=_0x13cd8a;var _0x3516c2;if(this['_online']=!0x0,((_0x3516c2=this[_0x3bac63(0x2c3)][_0x3bac63(0x3b6)]())==null?void 0x0:_0x3516c2[_0x3bac63(0x313)]())!==this[_0x3bac63(0x268)])return;const _0x530d05=this[_0x3bac63(0x253)][_0x3bac63(0x384)](Y[_0x3bac63(0x33a)])[_0x3bac63(0x408)]();Array['isArray'](_0x530d05)&&_0x530d05[_0x3bac63(0x29a)]>0x0&&this[_0x3bac63(0x3f3)](_0x530d05);}[_0x13cd8a(0x21e)](){this['_online']=!0x1;}};Ie=Qe([L(0x2,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x260)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x13cd8a(0x248)](u['MemberService'])),L(0x5,a[_0x13cd8a(0x248)](Ce)),L(0x6,m[_0x13cd8a(0x225)]),L(0x7,a[_0x13cd8a(0x362)]),L(0x8,a[_0x13cd8a(0x209)])],Ie);var st=Object[_0x13cd8a(0x2a3)],it=(_0x3b29f7,_0x2715ae,_0x6a77bc,_0x201645)=>{for(var _0x2216a1=_0x201645>0x1?void 0x0:_0x201645?st(_0x2715ae,_0x6a77bc):_0x2715ae,_0x33c36f=_0x3b29f7['length']-0x1,_0x4e990b;_0x33c36f>=0x0;_0x33c36f--)(_0x4e990b=_0x3b29f7[_0x33c36f])&&(_0x2216a1=_0x4e990b(_0x2216a1)||_0x2216a1);return _0x2216a1;},A=(_0x4ee119,_0x26ac76)=>(_0x5dbb76,_0x464ba5)=>_0x26ac76(_0x5dbb76,_0x464ba5,_0x4ee119);const nt=0x12c,rt=0x64,ot=()=>{let _0x3d2d0b=[],_0x3ee8aa=!0x1;return _0x4fa24d=>{const _0x4aaf82=_0x5703;_0x3d2d0b[_0x4aaf82(0x28f)](_0x4fa24d),_0x3ee8aa||(_0x3ee8aa=!0x0,setTimeout(()=>{const _0x396f66=_0x4aaf82;_0x3d2d0b[_0x396f66(0x3e3)](_0x796615=>_0x796615()),_0x3d2d0b=[],_0x3ee8aa=!0x1;}));};};let Se=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x117b8c,_0x432d86,_0x1de3a6,_0x1eff53,_0x3296e2,_0x48d2ad,_0x5697db,_0xfe2c2f){const _0x512d3d=_0x13cd8a;super(),h(this,'_online',!0x1),h(this,_0x512d3d(0x3e0),!0x1),h(this,_0x512d3d(0x1f3),new d[(_0x512d3d(0x2ab))](new Map())),h(this,'cursorInfo$',this[_0x512d3d(0x1f3)][_0x512d3d(0x2d3)]()),h(this,_0x512d3d(0x235),new d[(_0x512d3d(0x2ab))]([])),h(this,_0x512d3d(0x297),this[_0x512d3d(0x235)][_0x512d3d(0x329)](d[_0x512d3d(0x1c5)](nt))),h(this,_0x512d3d(0x3f3),a[_0x512d3d(0x22a)]((_0x56779d,_0x4e87d9)=>{const _0x3ac935=_0x512d3d,_0x920e31={'eventID':m[_0x3ac935(0x254)][_0x3ac935(0x2cd)],'data':{'unitID':this[_0x3ac935(0x268)],'memberID':this[_0x3ac935(0x3a0)][_0x3ac935(0x261)](),'selection':be[_0x3ac935(0x3a7)](_0x56779d,_0x4e87d9['range'])}};this['_session'][_0x3ac935(0x421)](_0x920e31,this['unitID']);},rt)),(this[_0x512d3d(0x268)]=_0x117b8c,this[_0x512d3d(0x3a0)]=_0x432d86,this[_0x512d3d(0x253)]=_0x1de3a6,this[_0x512d3d(0x24b)]=_0x1eff53,this[_0x512d3d(0x3cb)]=_0x3296e2,this[_0x512d3d(0x2c3)]=_0x48d2ad,this[_0x512d3d(0x39e)]=_0x5697db,this[_0x512d3d(0x2c0)]=_0xfe2c2f);}get[_0x13cd8a(0x433)](){const _0x863f30=_0x13cd8a;return this[_0x863f30(0x1f3)]['getValue']();}get[_0x13cd8a(0x324)](){const _0x14617c=_0x13cd8a;return this['_roomMembers$'][_0x14617c(0x383)]();}[_0x13cd8a(0x41d)](){const _0x429f3b=_0x13cd8a;super[_0x429f3b(0x41d)](),this[_0x429f3b(0x1f3)][_0x429f3b(0x331)](new Map()),this[_0x429f3b(0x1f3)][_0x429f3b(0x377)](),this[_0x429f3b(0x235)][_0x429f3b(0x331)]([]),this[_0x429f3b(0x235)]['complete']();}[_0x13cd8a(0x2e9)](){const _0x288fa1=_0x13cd8a;this['_init']||(this[_0x288fa1(0x3e0)]=!0x0,this['_session'][_0x288fa1(0x42a)]['pipe'](d[_0x288fa1(0x30a)](this[_0x288fa1(0x1dd)]))[_0x288fa1(0x29f)](_0x1abc87=>{const _0x1fc9bd=_0x288fa1;_0x1abc87===u[_0x1fc9bd(0x3db)][_0x1fc9bd(0x430)]?this[_0x1fc9bd(0x3a1)]():this[_0x1fc9bd(0x21e)]();}),this[_0x288fa1(0x3a0)][_0x288fa1(0x358)]['pipe'](d[_0x288fa1(0x30a)](this[_0x288fa1(0x1dd)]))[_0x288fa1(0x29f)](_0x55e5d0=>{const _0x59ac68=_0x288fa1,_0x4925f1=_0x55e5d0[_0x59ac68(0x2bc)];_0x4925f1===m[_0x59ac68(0x254)][_0x59ac68(0x2cd)]&&this[_0x59ac68(0x262)](_0x55e5d0),_0x4925f1===m[_0x59ac68(0x254)][_0x59ac68(0x20b)]&&this[_0x59ac68(0x1c8)](_0x55e5d0);}),this[_0x288fa1(0x27d)](),this[_0x288fa1(0x22b)](this[_0x288fa1(0x39e)][_0x288fa1(0x1fd)](_0x1d38f7=>{const _0x2ac2d3=_0x288fa1;if(this[_0x2ac2d3(0x350)]&&_0x1d38f7['id']===g[_0x2ac2d3(0x218)]['id']&&_0x1d38f7['params'][_0x2ac2d3(0x41f)]===this[_0x2ac2d3(0x268)]){const _0x542613=_0x1d38f7[_0x2ac2d3(0x357)];this[_0x2ac2d3(0x3f3)](_0x542613[_0x2ac2d3(0x407)],_0x542613[_0x2ac2d3(0x2c4)][0x0]);}})));}[_0x13cd8a(0x262)](_0x2237e2){const _0x58bd92=_0x13cd8a;var _0x5e979a,_0x311e82;const {memberID:_0x520506,selection:_0x1838eb}=_0x2237e2['data'],{sheetName:_0x530529,range:_0x55e2e3}=be[_0x58bd92(0x1cf)](_0x1838eb),_0x205a13={'name':(_0x311e82=(_0x5e979a=this['_memberService'][_0x58bd92(0x24d)](this['unitID'],_0x520506))==null?void 0x0:_0x5e979a[_0x58bd92(0x257)])!=null?_0x311e82:_0x58bd92(0x211),'range':this[_0x58bd92(0x31b)](_0x530529,_0x55e2e3),'sheetID':_0x530529,'color':this[_0x58bd92(0x24b)][_0x58bd92(0x3e2)](_0x520506),'selection':_0x1838eb},_0x2f6b81=this[_0x58bd92(0x433)];_0x2f6b81[_0x58bd92(0x2f1)](_0x520506,_0x205a13),this[_0x58bd92(0x1f3)][_0x58bd92(0x331)](_0x2f6b81);}[_0x13cd8a(0x1c8)](_0x260259){const _0x1ee923=_0x13cd8a,{memberID:_0x2b02dd}=_0x260259[_0x1ee923(0x2ac)],_0x41923c=this['cursorInfo'];_0x41923c[_0x1ee923(0x2a4)](_0x2b02dd),this[_0x1ee923(0x1f3)][_0x1ee923(0x331)](_0x41923c);}[_0x13cd8a(0x31b)](_0x9de096,_0x3c91ff){const _0x121994=_0x13cd8a;var _0xcd7311,_0x292642;const _0x4e03f0=(_0x292642=(_0xcd7311=this[_0x121994(0x2c3)][_0x121994(0x3b8)](this[_0x121994(0x268)]))==null?void 0x0:_0xcd7311[_0x121994(0x399)](_0x9de096))==null?void 0x0:_0x292642[_0x121994(0x263)]();return(_0x4e03f0==null?void 0x0:_0x4e03f0[_0x121994(0x23f)](_0x2eed7c=>a[_0x121994(0x343)][_0x121994(0x43d)](_0x2eed7c,_0x3c91ff)))||_0x3c91ff;}[_0x13cd8a(0x27d)](){const _0x36051b=_0x13cd8a,_0x138140=new a[(_0x36051b(0x31e))](),_0x73d3bb=ot(),_0xf689dd=()=>{const _0x2e393c=_0x36051b;_0x138140[_0x2e393c(0x41d)]();const _0x253f06=(_0x1de073,_0x4ad296,_0x23c20a,_0x4e0140)=>{const _0x5b3e46=_0x2e393c;let _0x44302c=[];switch(_0x1de073['id']){case g[_0x5b3e46(0x32d)][_0x5b3e46(0x25d)]:{_0x44302c=g[_0x5b3e46(0x31d)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)]['DeleteRangeMoveUpCommandId']:{_0x44302c=g[_0x5b3e46(0x371)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)][_0x5b3e46(0x242)]:{_0x44302c=g['handleInsertCol'](_0x1de073,_0x4e0140);break;}case g['EffectRefRangId'][_0x5b3e46(0x3ee)]:{_0x44302c=g[_0x5b3e46(0x403)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)][_0x5b3e46(0x273)]:{_0x44302c=g[_0x5b3e46(0x26b)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)][_0x5b3e46(0x3a3)]:{_0x44302c=g[_0x5b3e46(0x213)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)][_0x5b3e46(0x24f)]:{_0x44302c=g[_0x5b3e46(0x2f2)](_0x1de073,_0x4e0140);break;}case g[_0x5b3e46(0x32d)]['RemoveColCommandId']:{_0x44302c=g[_0x5b3e46(0x2b5)](_0x1de073,_0x4e0140);break;}case g['EffectRefRangId'][_0x5b3e46(0x312)]:{_0x44302c=g[_0x5b3e46(0x420)](_0x1de073,_0x4e0140);break;}}const _0x26d5b0=g['runRefRangeMutations'](_0x44302c,_0x4e0140),_0x89609f=this[_0x5b3e46(0x433)][_0x5b3e46(0x384)](_0x4ad296);if(_0x89609f&&_0x26d5b0){const _0x39a38f={..._0x89609f,'range':_0x26d5b0};this[_0x5b3e46(0x433)][_0x5b3e46(0x2f1)](_0x4ad296,_0x39a38f),_0x73d3bb(()=>{const _0xe56fce=_0x5b3e46,_0x462b18=this['_refRangeService'][_0xe56fce(0x241)](_0x26d5b0,_0x52637f=>(_0x462b18['dispose'](),_0x253f06(_0x52637f,_0x4ad296,_0x23c20a,_0x26d5b0)));_0x138140[_0xe56fce(0x2a1)](_0x462b18);});}return{'redos':[],'undos':[]};};this[_0x2e393c(0x433)][_0x2e393c(0x3e3)]((_0x1b7c5f,_0x2fcf78)=>{const _0x4d85a3=_0x2e393c,{range:_0x2182a5,sheetID:_0x57d155}=_0x1b7c5f,_0x2afefe=this[_0x4d85a3(0x2c0)]['registerRefRange'](_0x2182a5,_0x30b114=>(_0x2afefe[_0x4d85a3(0x41d)](),_0x253f06(_0x30b114,_0x2fcf78,_0x57d155,_0x2182a5)));_0x138140['add'](_0x2afefe);});};this['disposeWithMe'](a[_0x36051b(0x2e4)](this[_0x36051b(0x1f3)]['subscribe'](()=>{_0xf689dd();})));}[_0x13cd8a(0x3a1)](){const _0x2365e4=_0x13cd8a;var _0x5bdb34,_0x72cb8d;if(this[_0x2365e4(0x350)]=!0x0,((_0x5bdb34=this['_univerInstanceService'][_0x2365e4(0x3b6)]())==null?void 0x0:_0x5bdb34[_0x2365e4(0x313)]())!==this[_0x2365e4(0x268)])return;const _0x520f83=(_0x72cb8d=this[_0x2365e4(0x253)][_0x2365e4(0x384)](g[_0x2365e4(0x2ba)])['getCurrentSelections']())==null?void 0x0:_0x72cb8d[0x0],_0x4942b0=this['_univerInstanceService'][_0x2365e4(0x1dc)](a[_0x2365e4(0x1d5)][_0x2365e4(0x3e7)])[_0x2365e4(0x3dd)]();_0x520f83&&_0x4942b0&&this[_0x2365e4(0x3f3)](_0x4942b0['getSheetId'](),_0x520f83);}[_0x13cd8a(0x21e)](){const _0x2fc4d6=_0x13cd8a;this[_0x2fc4d6(0x350)]=!0x1;}};Se=it([A(0x2,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x260)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x13cd8a(0x248)](u[_0x13cd8a(0x258)])),A(0x5,a[_0x13cd8a(0x362)]),A(0x6,a['ICommandService']),A(0x7,a[_0x13cd8a(0x248)](g['RefRangeService']))],Se);var at=Object[_0x13cd8a(0x2a3)],ct=(_0x23a698,_0x448acd,_0x4d04be,_0xe127b3)=>{const _0x3b5b1b=_0x13cd8a;for(var _0x2e7672=_0xe127b3>0x1?void 0x0:_0xe127b3?at(_0x448acd,_0x4d04be):_0x448acd,_0x2a64e3=_0x23a698[_0x3b5b1b(0x29a)]-0x1,_0x3ba0d7;_0x2a64e3>=0x0;_0x2a64e3--)(_0x3ba0d7=_0x23a698[_0x2a64e3])&&(_0x2e7672=_0x3ba0d7(_0x2e7672)||_0x2e7672);return _0x2e7672;},ie=(_0x2d681a,_0x415b20)=>(_0x4b85df,_0x40526b)=>_0x415b20(_0x4b85df,_0x40526b,_0x2d681a);let x=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x469908,_0x7c728a,_0x5103c6){const _0x42a7fb=_0x13cd8a;super(),h(this,_0x42a7fb(0x2a2),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x42a7fb(0x2c3)]=_0x469908,this[_0x42a7fb(0x253)]=_0x7c728a,this[_0x42a7fb(0x212)]=_0x5103c6,this[_0x42a7fb(0x3e0)]());}[_0x13cd8a(0x41d)](){const _0x5c6e60=_0x13cd8a;super[_0x5c6e60(0x41d)](),this[_0x5c6e60(0x434)]['complete'](),this['_entities'][_0x5c6e60(0x3e3)](_0x145568=>_0x145568[_0x5c6e60(0x41d)]());}[_0x13cd8a(0x3ca)](_0x5668ea){const _0xc83c27=_0x13cd8a;return this[_0xc83c27(0x2a2)]['has'](_0x5668ea)?this['_entities']['get'](_0x5668ea)['cursorInfo$']:this['_entityInit$'][_0xc83c27(0x329)](d['filter'](_0x1c07b0=>_0x1c07b0[_0xc83c27(0x268)]===_0x5668ea),d[_0xc83c27(0x366)](_0x4041b7=>_0x4041b7[_0xc83c27(0x2ae)]));}[_0x13cd8a(0x3e0)](){const _0x563846=_0x13cd8a;this[_0x563846(0x2c3)]['getTypeOfUnitAdded$'](a[_0x563846(0x1d5)][_0x563846(0x3e7)])[_0x563846(0x329)](d[_0x563846(0x30a)](this[_0x563846(0x1dd)]))[_0x563846(0x29f)](async _0x28c8ca=>{const _0x429382=_0x563846,_0x4c4be4=_0x28c8ca[_0x429382(0x313)](),_0x158d83=await this[_0x429382(0x2e8)](_0x4c4be4);this[_0x429382(0x434)]['next'](_0x158d83),this[_0x429382(0x2a2)][_0x429382(0x2f1)](_0x4c4be4,_0x158d83);}),this[_0x563846(0x2c3)][_0x563846(0x337)](a[_0x563846(0x1d5)][_0x563846(0x3b2)])[_0x563846(0x329)](d[_0x563846(0x30a)](this[_0x563846(0x1dd)]))['pipe'](d[_0x563846(0x1f0)](_0x2eb7b6=>!_0x2eb7b6[_0x563846(0x313)]()[_0x563846(0x2cb)]('__')))['subscribe'](async _0x5006fe=>{const _0x2ff06d=_0x563846,_0x3e3b92=_0x5006fe[_0x2ff06d(0x313)](),_0x2b853d=await this[_0x2ff06d(0x1c6)](_0x3e3b92);this[_0x2ff06d(0x434)][_0x2ff06d(0x331)](_0x2b853d),this[_0x2ff06d(0x2a2)][_0x2ff06d(0x2f1)](_0x3e3b92,_0x2b853d);}),d[_0x563846(0x3c3)](this[_0x563846(0x2c3)][_0x563846(0x3ad)](a['UniverInstanceType']['UNIVER_DOC']),this['_univerInstanceService'][_0x563846(0x3ad)](a['UniverInstanceType'][_0x563846(0x3e7)]))[_0x563846(0x329)](d[_0x563846(0x30a)](this[_0x563846(0x1dd)]))[_0x563846(0x29f)](_0x5f75a6=>{const _0x5441d7=_0x563846,_0x445ef4=_0x5f75a6['getUnitId'](),_0x52fe61=this['_entities']['get'](_0x445ef4);_0x52fe61&&(_0x52fe61['dispose'](),this[_0x5441d7(0x2a2)][_0x5441d7(0x2a4)](_0x445ef4));});}async[_0x13cd8a(0x2e8)](_0x417582){const _0x5d75f1=_0x13cd8a,_0x8b1ad0=await this[_0x5d75f1(0x212)][_0x5d75f1(0x26e)](_0x417582),_0x48af73=this[_0x5d75f1(0x253)][_0x5d75f1(0x397)](Se,_0x417582,_0x8b1ad0);return _0x48af73['init'](),_0x48af73;}async[_0x13cd8a(0x1c6)](_0x543b1e){const _0x5f1493=_0x13cd8a,_0xb3d9a0=await this['_collabSessionService'][_0x5f1493(0x26e)](_0x543b1e),_0x4828e3=this[_0x5f1493(0x253)][_0x5f1493(0x397)](Ie,_0x543b1e,_0xb3d9a0);return _0x4828e3[_0x5f1493(0x2e9)](),_0x4828e3;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x13cd8a(0x248)](a['Injector'])),ie(0x2,a['Inject'](u[_0x13cd8a(0x38a)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1a8711,_0x2a76c3){const _0x3217cd=_0x13cd8a;let {radius:_0x95af55,width:_0x4ffb9d,height:_0x10e06a}=_0x2a76c3;_0x95af55=_0x95af55!=null?_0x95af55:0x0,_0x4ffb9d=_0x4ffb9d!=null?_0x4ffb9d:0x1e,_0x10e06a=_0x10e06a!=null?_0x10e06a:0x1e;let _0x303c11=0x0,_0x50ee0f=0x0,_0x3f6a34=0x0;_0x303c11=_0x50ee0f=_0x3f6a34=Math[_0x3217cd(0x373)](_0x95af55,_0x4ffb9d/0x2,_0x10e06a/0x2),_0x1a8711['beginPath'](),_0x1a8711[_0x3217cd(0x214)](_0x303c11,0x0),_0x1a8711[_0x3217cd(0x3b5)](_0x4ffb9d-_0x50ee0f,0x0),_0x1a8711[_0x3217cd(0x41e)](_0x4ffb9d-_0x50ee0f,_0x50ee0f,_0x50ee0f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1a8711[_0x3217cd(0x3b5)](_0x4ffb9d,_0x10e06a-_0x3f6a34),_0x1a8711[_0x3217cd(0x41e)](_0x4ffb9d-_0x3f6a34,_0x10e06a-_0x3f6a34,_0x3f6a34,0x0,Math['PI']/0x2,!0x1),_0x1a8711[_0x3217cd(0x3b5)](0x0,_0x10e06a),_0x1a8711[_0x3217cd(0x3b5)](0x0,_0x303c11),_0x1a8711[_0x3217cd(0x41e)](_0x303c11,_0x303c11,_0x303c11,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1a8711[_0x3217cd(0x2d9)](),_0x2a76c3[_0x3217cd(0x3a6)]&&(_0x1a8711[_0x3217cd(0x26f)](),_0x1a8711[_0x3217cd(0x340)]=_0x2a76c3['fill'],_0x2a76c3[_0x3217cd(0x306)]===_0x3217cd(0x3b0)?_0x1a8711[_0x3217cd(0x3a6)](_0x3217cd(0x3b0)):_0x1a8711[_0x3217cd(0x3a6)](),_0x1a8711['restore']());}class ee extends p[_0x13cd8a(0x318)]{constructor(_0x1f333c,_0x406477){const _0x433df1=_0x13cd8a;super(_0x1f333c,_0x406477),h(this,_0x433df1(0x3b3)),h(this,_0x433df1(0x27c)),(this[_0x433df1(0x3b3)]=_0x406477==null?void 0x0:_0x406477['color'],this[_0x433df1(0x27c)]=_0x406477==null?void 0x0:_0x406477[_0x433df1(0x27c)]);}static['drawWith'](_0x11a37b,_0x1ec96b){const _0x461592=_0x13cd8a,{text:_0x496142,color:_0x44a077}=_0x1ec96b;_0x11a37b[_0x461592(0x26f)](),_0x11a37b[_0x461592(0x3d8)]=_0x461592(0x415);const _0x4c4fc1=_0x11a37b[_0x461592(0x3c8)](_0x496142)['width'],_0x4efdd1=Math[_0x461592(0x373)](_0x4c4fc1+0x2*ne,Re);_t(_0x11a37b,{'height':K,'radius':0x4,'width':_0x4efdd1,'fill':_0x44a077}),_0x11a37b[_0x461592(0x340)]=_0x461592(0x252);const _0x5c248b=ne,_0x39062e=K-lt,_0x1cc60b=Re-0x2*ne;if(_0x4c4fc1>_0x1cc60b){let _0x85b990='',_0x52a12c=0x0;for(const _0x2ec91d of _0x496142){const _0x29f43c=_0x11a37b['measureText'](_0x2ec91d)[_0x461592(0x1ce)];if(_0x52a12c+_0x29f43c<=_0x1cc60b-_0x11a37b['measureText'](_0x461592(0x412))[_0x461592(0x1ce)])_0x85b990+=_0x2ec91d,_0x52a12c+=_0x29f43c;else{_0x85b990+=_0x461592(0x412);break;}}_0x11a37b[_0x461592(0x336)](_0x85b990,_0x5c248b,_0x39062e);}else _0x11a37b[_0x461592(0x336)](_0x496142,_0x5c248b,_0x39062e);_0x11a37b[_0x461592(0x40e)]();}[_0x13cd8a(0x401)](_0x48cecc){const _0x1f3195=_0x13cd8a;ee[_0x1f3195(0x388)](_0x48cecc,this);}}const re='collab-text-anchor-',ht=_0x13cd8a(0x3af),ut=_0x13cd8a(0x327),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x13cd8a(0x381);class De{constructor(_0x586df5,_0x4ae226,_0x372b53,_0x46ca7b){const _0x504af7=_0x13cd8a;h(this,_0x504af7(0x243),[]),h(this,'_anchor',null),h(this,_0x504af7(0x368),null),h(this,_0x504af7(0x290),null),h(this,_0x504af7(0x302),null),h(this,_0x504af7(0x272),null),(this[_0x504af7(0x326)]=_0x586df5,this[_0x504af7(0x2e6)]=_0x4ae226,this[_0x504af7(0x2ff)]=_0x372b53,this['_document']=_0x46ca7b,this[_0x504af7(0x1ed)]());}set['_hover'](_0x5d0a5c){const _0x33d0cd=_0x13cd8a;_0x5d0a5c?(this[_0x33d0cd(0x290)]&&this[_0x33d0cd(0x290)]['hide'](),this[_0x33d0cd(0x368)]&&this[_0x33d0cd(0x368)][_0x33d0cd(0x299)]()):(this[_0x33d0cd(0x290)]&&this[_0x33d0cd(0x290)][_0x33d0cd(0x299)](),this['_textBubble']&&this['_textBubble'][_0x33d0cd(0x3d3)]());}['dispose'](){const _0x29f406=_0x13cd8a;for(const _0x34e572 of this[_0x29f406(0x243)])_0x34e572[_0x29f406(0x41d)]();this[_0x29f406(0x368)]&&this[_0x29f406(0x368)][_0x29f406(0x41d)](),this[_0x29f406(0x290)]&&this['_anchorDot'][_0x29f406(0x41d)](),this[_0x29f406(0x416)]&&this[_0x29f406(0x416)][_0x29f406(0x41d)](),this[_0x29f406(0x272)]&&this['_eventUnsubscribe']();}['_render'](){const _0x183864=_0x13cd8a;var _0x4406ba;const {_docSkeleton:_0x4c4d99,_document:_0x5d2eac}=this,{color:_0xef89ba,name:_0x49b33d,ranges:_0xd4677c}=this['_cursor'],_0x41dc1c=_0x5d2eac[_0x183864(0x204)](),{docsLeft:_0x1716e3,docsTop:_0xc814f8}=_0x41dc1c,_0x752de2=new E[(_0x183864(0x246))](_0x41dc1c,_0x4c4d99);for(const {startOffset:_0x42f23a,endOffset:_0x1d50ba,rangeType:_0x59cbb8,segmentId:_0x48b634,segmentPage:_0x545403,collapsed:_0x21390f,isActive:_0x32fe50}of _0xd4677c){const _0x49e0b0=_0x4c4d99[_0x183864(0x304)](_0x42f23a,!0x0,_0x48b634,_0x545403);let _0x4517e1=_0x4c4d99[_0x183864(0x304)](_0x1d50ba,!0x0,_0x48b634,_0x545403);if(_0x4517e1==null&&(_0x4517e1=_0x4c4d99[_0x183864(0x304)](_0x1d50ba-0x1,!0x1,_0x48b634,_0x545403)),_0x32fe50){const {contentBoxPointGroup:_0x3e023a}=_0x752de2['getRangePointData'](_0x4517e1,_0x4517e1);if(_0x3e023a[_0x183864(0x29a)]===0x0)continue;this[_0x183864(0x370)](_0xef89ba,_0x3e023a,_0x1716e3,_0xc814f8,_0x49b33d),this[_0x183864(0x272)]=this[_0x183864(0x265)]();}if(_0x49e0b0&&_0x4517e1){if(_0x59cbb8===a[_0x183864(0x1c1)][_0x183864(0x317)]){const _0x525c39=new E['NodePositionConvertToRectRange'](_0x41dc1c,_0x4c4d99),{pointGroup:_0x4cb56f}=(_0x4406ba=_0x525c39[_0x183864(0x355)](_0x49e0b0,_0x4517e1))!=null?_0x4406ba:{};if(_0x4cb56f==null||_0x4cb56f[_0x183864(0x29a)]===0x0)continue;this[_0x183864(0x293)](_0xef89ba,_0x4cb56f,_0x1716e3,_0xc814f8);}else{if(!_0x21390f){const {borderBoxPointGroup:_0x460017}=_0x752de2[_0x183864(0x355)](_0x49e0b0,_0x4517e1);if(_0x460017[_0x183864(0x29a)]===0x0)continue;this['_drawTextRange'](_0xef89ba,_0x460017,_0x1716e3,_0xc814f8);}}}}}[_0x13cd8a(0x370)](_0x2c85a8,_0x340645,_0x53ee40,_0x4ebc4a,_0x422c9e){const _0x186dab=_0x13cd8a,_0x55ab44=this['_getAnchorBounding'](_0x340645),{left:_0x59d3b6,top:_0x25b53c,height:_0x422039}=_0x55ab44,_0x2e96fb=this[_0x186dab(0x445)](),_0xb1b4f9=It/_0x2e96fb,_0x1b02da=new p[(_0x186dab(0x392))](re+a['generateRandomId'](k),{'left':_0x59d3b6+_0x53ee40-_0xb1b4f9,'top':_0x25b53c+_0x4ebc4a,'height':_0x422039,'width':dt,'fill':_0x2c85a8||p[_0x186dab(0x276)](a[_0x186dab(0x3a5)][_0x186dab(0x32a)],0x0),'strokeWidth':_0xb1b4f9,'stroke':St,'evented':!0x0});this[_0x186dab(0x416)]=_0x1b02da,this[_0x186dab(0x2e6)][_0x186dab(0x2f7)](_0x1b02da,E[_0x186dab(0x285)]);const _0x1dc4d3=new p[(_0x186dab(0x392))](re+a[_0x186dab(0x28d)](k),{'left':_0x59d3b6+_0x53ee40-_0xb1b4f9,'top':_0x25b53c+_0x4ebc4a-oe/0x2,'height':oe,'width':oe,'fill':_0x2c85a8||p[_0x186dab(0x276)](a[_0x186dab(0x3a5)][_0x186dab(0x32a)],0x0),'strokeWidth':0x0,'stroke':_0x2c85a8||p[_0x186dab(0x276)](a[_0x186dab(0x3a5)]['black'],0x0),'evented':!0x1});this[_0x186dab(0x290)]=_0x1dc4d3,this['_scene'][_0x186dab(0x2f7)](_0x1dc4d3,E[_0x186dab(0x285)]);const _0x1b8572=new ee(re+a[_0x186dab(0x28d)](k),{'left':_0x59d3b6+_0x53ee40-_0xb1b4f9,'top':_0x25b53c+_0x4ebc4a-K,'text':_0x422c9e,'color':_0x2c85a8});this['_textBubble']=_0x1b8572,this[_0x186dab(0x2e6)]['addObject'](_0x1b8572,E[_0x186dab(0x285)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5c5cdd=_0x13cd8a,_0x11562b=this['_anchor'][_0x5c5cdd(0x1c2)][_0x5c5cdd(0x2fb)](()=>{const _0x22a325=_0x5c5cdd;this[_0x22a325(0x1f5)]=!0x0;}),_0x241f21=this['_anchor'][_0x5c5cdd(0x1e5)]['subscribeEvent'](()=>{const _0x1d93d9=_0x5c5cdd;this[_0x1d93d9(0x302)]&&clearTimeout(this[_0x1d93d9(0x302)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1173d8=_0x5c5cdd;_0x11562b[_0x1173d8(0x203)](),_0x241f21[_0x1173d8(0x203)]();};}[_0x13cd8a(0x2d7)](_0xf89c62,_0x5d3b9a,_0x1f1fc9,_0x3b886a){const _0x318772=_0x13cd8a,_0x2a7fe7=new a[(_0x318772(0x3cf))](_0xf89c62)[_0x318772(0x35d)](0.2)[_0x318772(0x1de)](),_0x52dd34=new p[(_0x318772(0x36a))](ht+a['generateRandomId'](k),{'pointsGroup':_0x5d3b9a,'fill':_0x2a7fe7||p['getColor'](a[_0x318772(0x3a5)][_0x318772(0x32a)],0.2),'left':_0x1f1fc9,'top':_0x3b886a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x318772(0x243)][_0x318772(0x28f)](_0x52dd34),this[_0x318772(0x2e6)][_0x318772(0x2f7)](_0x52dd34,E[_0x318772(0x285)]);}[_0x13cd8a(0x293)](_0x4d211e,_0x4424a9,_0x471fc5,_0x30f079){const _0x1796ce=_0x13cd8a,_0xf94d18=new a[(_0x1796ce(0x3cf))](_0x4d211e)[_0x1796ce(0x35d)](0.2)['toRgbString'](),_0x18fe1e=new p[(_0x1796ce(0x36a))](ut+a['generateRandomId'](k),{'pointsGroup':_0x4424a9,'fill':_0xf94d18||p['getColor'](a[_0x1796ce(0x3a5)][_0x1796ce(0x32a)],0.2),'left':_0x471fc5,'top':_0x30f079,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1796ce(0x243)][_0x1796ce(0x28f)](_0x18fe1e),this[_0x1796ce(0x2e6)][_0x1796ce(0x2f7)](_0x18fe1e,E[_0x1796ce(0x285)]);}[_0x13cd8a(0x345)](_0x4f6625){const _0x417f09=_0x4f6625[0x0],_0xfac6fd=_0x417f09[0x0],_0x4154c1=_0x417f09[0x2],{x:_0x38494f,y:_0x6cac7f}=_0xfac6fd,{x:_0x10fe9d,y:_0x3414e4}=_0x4154c1;return{'left':_0x38494f,'top':_0x6cac7f,'width':_0x10fe9d-_0x38494f,'height':_0x3414e4-_0x6cac7f};}[_0x13cd8a(0x445)](){const _0x1b1f8f=_0x13cd8a,{scaleX:_0x1d5fbc,scaleY:_0x101eee}=this[_0x1b1f8f(0x2e6)][_0x1b1f8f(0x35e)]();return Math[_0x1b1f8f(0x2dc)](_0x1d5fbc,_0x101eee);}}var ft=Object[_0x13cd8a(0x2a3)],vt=(_0x3504b3,_0x28b03b,_0xaed25,_0x15dcc3)=>{const _0x56b431=_0x13cd8a;for(var _0x23e194=_0x15dcc3>0x1?void 0x0:_0x15dcc3?ft(_0x28b03b,_0xaed25):_0x28b03b,_0xe22e=_0x3504b3[_0x56b431(0x29a)]-0x1,_0x1385b3;_0xe22e>=0x0;_0xe22e--)(_0x1385b3=_0x3504b3[_0xe22e])&&(_0x23e194=_0x1385b3(_0x23e194)||_0x23e194);return _0x23e194;},W=(_0x58cfc9,_0x15edce)=>(_0x3710e1,_0x50ff0d)=>_0x15edce(_0x3710e1,_0x50ff0d,_0x58cfc9);let fe=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x4b6f4c,_0xb82b99,_0x1f16bc,_0x26fb8b,_0x20b951){const _0x1b0d3d=_0x13cd8a;super(),h(this,_0x1b0d3d(0x3b7),[]),h(this,'_cursors',[]),(this[_0x1b0d3d(0x3f1)]=_0x4b6f4c,this[_0x1b0d3d(0x2a5)]=_0xb82b99,this[_0x1b0d3d(0x31c)]=_0x1f16bc,this['_commandService']=_0x26fb8b,this['_themeService']=_0x20b951,this['_init']());}[_0x13cd8a(0x3e0)](){const _0x3765e2=_0x13cd8a,_0x4ff66c=this['_context'][_0x3765e2(0x41f)],_0xc7aedb=this[_0x3765e2(0x2a5)];this['disposeWithMe'](d[_0x3765e2(0x436)]([this[_0x3765e2(0x31c)][_0x3765e2(0x3ca)](_0x4ff66c),this[_0x3765e2(0x34f)][_0x3765e2(0x1d0)]])['pipe']($['map'](([_0x1c2ac9,_0x470343])=>({'skeleton':_0xc7aedb['getSkeleton'](),'cursors':[..._0x1c2ac9['values']()][_0x3765e2(0x2df)](_0x54ffce=>({..._0x54ffce,'color':this[_0x3765e2(0x34f)][_0x3765e2(0x30f)](_0x54ffce[_0x3765e2(0x3b3)])}))})))['subscribe'](_0x4996e7=>{const _0x344a65=_0x3765e2;if(this[_0x344a65(0x34c)](),_0x4996e7){const {skeleton:_0x2bc250,cursors:_0x15d6e1}=_0x4996e7;this[_0x344a65(0x249)](_0x2bc250,_0x15d6e1);}})),this[_0x3765e2(0x279)](),this[_0x3765e2(0x1df)]();}[_0x13cd8a(0x249)](_0x290006,_0x3cd69f){const _0xc7bc25=_0x13cd8a,{scene:_0x1d6534,mainComponent:_0x2a94a9}=this[_0xc7bc25(0x3f1)],_0xba43a0=_0x3cd69f[_0xc7bc25(0x3aa)](_0x4e2beb=>new De(_0x4e2beb,_0x1d6534,_0x290006,_0x2a94a9));this[_0xc7bc25(0x3b7)]=_0xba43a0,this[_0xc7bc25(0x444)]=_0x3cd69f;}[_0x13cd8a(0x339)](){const _0x47c031=_0x13cd8a;this[_0x47c031(0x34c)]();const {scene:_0x5178e9,mainComponent:_0x9335ef}=this[_0x47c031(0x3f1)],_0x45eeba=this[_0x47c031(0x2a5)][_0x47c031(0x409)](),_0x58f0d4=this[_0x47c031(0x444)][_0x47c031(0x3aa)](_0x1f49bb=>new De(_0x1f49bb,_0x5178e9,_0x45eeba,_0x9335ef));this[_0x47c031(0x3b7)]=_0x58f0d4;}[_0x13cd8a(0x34c)](){const _0x11342d=_0x13cd8a;this[_0x11342d(0x3b7)]['forEach'](_0x38749f=>_0x38749f['dispose']()),this[_0x11342d(0x3b7)]=[];}[_0x13cd8a(0x1df)](){const _0x29a398=_0x13cd8a,_0x519500=[E['SetDocZoomRatioOperation']['id']];this[_0x29a398(0x22b)](this[_0x29a398(0x39e)]['onCommandExecuted'](_0x4fc5c5=>{const _0x385aa7=_0x29a398;_0x519500[_0x385aa7(0x36f)](_0x4fc5c5['id'])&&_0x4fc5c5[_0x385aa7(0x357)][_0x385aa7(0x41f)]===this[_0x385aa7(0x3f1)][_0x385aa7(0x41f)]&&this[_0x385aa7(0x339)]();}));}[_0x13cd8a(0x279)](){const _0x21de1d=_0x13cd8a;this['disposeWithMe'](a[_0x21de1d(0x26c)](this[_0x21de1d(0x3f1)][_0x21de1d(0x25c)][_0x21de1d(0x35c)])[_0x21de1d(0x329)]($[_0x21de1d(0x1f0)](_0x43128f=>_0x43128f[_0x21de1d(0x1f2)]===p[_0x21de1d(0x3bc)]['resize']),$[_0x21de1d(0x43a)](0x10))[_0x21de1d(0x29f)](()=>{this['_refreshCollabCursors']();}));}};fe=vt([W(0x1,a[_0x13cd8a(0x248)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x13cd8a(0x248)](x)),W(0x3,a[_0x13cd8a(0x209)]),W(0x4,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x284)]))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x3ad8d7,_0x448b65){const _0x420f74=_0x13cd8a;super(_0x3ad8d7,_0x448b65),h(this,_0x420f74(0x25a)),h(this,_0x420f74(0x400),!0x1),h(this,_0x420f74(0x3f7)),h(this,_0x420f74(0x215),''),h(this,_0x420f74(0x32e),'top'),h(this,_0x420f74(0x424)),(_0x448b65&&this['setShapeProps'](_0x448b65),this[_0x420f74(0x1c2)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x420f74(0x2fb)](()=>this[_0x420f74(0x34b)]({'hovered':!0x1})));}[_0x13cd8a(0x34b)](_0x58d2d5){const _0x4c9ef8=_0x13cd8a;var _0x370179,_0x49f9f8,_0x243dd9,_0x22d7e,_0xc4552d,_0x2840e4;this[_0x4c9ef8(0x25a)]=(_0x370179=_0x58d2d5['color'])!=null?_0x370179:this['_color'],this['_hovered']=(_0x49f9f8=_0x58d2d5[_0x4c9ef8(0x21c)])!=null?_0x49f9f8:this[_0x4c9ef8(0x400)],this[_0x4c9ef8(0x3f7)]=(_0x243dd9=_0x58d2d5['range'])!=null?_0x243dd9:this[_0x4c9ef8(0x3f7)],this['_name']=(_0x22d7e=_0x58d2d5[_0x4c9ef8(0x257)])!=null?_0x22d7e:this[_0x4c9ef8(0x215)],this[_0x4c9ef8(0x32e)]=(_0xc4552d=_0x58d2d5[_0x4c9ef8(0x3f9)])!=null?_0xc4552d:this[_0x4c9ef8(0x32e)],this['_backgroundColor']=(_0x2840e4=_0x58d2d5['backgroundColor'])!=null?_0x2840e4:this[_0x4c9ef8(0x424)],this[_0x4c9ef8(0x295)]({'width':_0x58d2d5['width'],'height':_0x58d2d5[_0x4c9ef8(0x2e7)]});}[_0x13cd8a(0x43e)](_0x18513c){const _0x3914da=_0x13cd8a,{row:_0x222658,column:_0x6c495f}=_0x18513c;if(_0x222658>=this[_0x3914da(0x3f7)][_0x3914da(0x220)]&&_0x222658<=this[_0x3914da(0x3f7)][_0x3914da(0x342)]&&_0x6c495f>=this[_0x3914da(0x3f7)][_0x3914da(0x3cc)]&&_0x6c495f<=this[_0x3914da(0x3f7)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3914da(0x34b)]({'hovered':!0x1});}[_0x13cd8a(0x28e)](_0x22de9a){return!0x1;}[_0x13cd8a(0x401)](_0x3940d0){const _0x19a1df=_0x13cd8a;p['Rect'][_0x19a1df(0x388)](_0x3940d0,{'width':this[_0x19a1df(0x1ce)],'height':this[_0x19a1df(0x2e7)],'strokeWidth':mt,'stroke':this[_0x19a1df(0x25a)],'evented':!0x1,'fill':this[_0x19a1df(0x424)]}),this[_0x19a1df(0x400)]&&(_0x3940d0[_0x19a1df(0x26f)](),_0x3940d0[_0x19a1df(0x234)](0x1,0x0,0x0,0x1,this[_0x19a1df(0x1ce)],this[_0x19a1df(0x32e)]===_0x19a1df(0x3f4)?0x0:-0x14),ee[_0x19a1df(0x388)](_0x3940d0,{'text':this['_name'],'color':this[_0x19a1df(0x25a)]}),_0x3940d0[_0x19a1df(0x40e)]());}}var Ct=Object[_0x13cd8a(0x2a3)],pt=(_0xb96bf2,_0x1df8d7,_0xd1ca28,_0x148002)=>{for(var _0x346eca=_0x148002>0x1?void 0x0:_0x148002?Ct(_0x1df8d7,_0xd1ca28):_0x1df8d7,_0x3ded4d=_0xb96bf2['length']-0x1,_0x5ddd4f;_0x3ded4d>=0x0;_0x3ded4d--)(_0x5ddd4f=_0xb96bf2[_0x3ded4d])&&(_0x346eca=_0x5ddd4f(_0x346eca)||_0x346eca);return _0x346eca;},ae=(_0x13d131,_0x3472e)=>(_0x43d73c,_0x4eac13)=>_0x3472e(_0x43d73c,_0x4eac13,_0x13d131);const Et=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x398bab,_0x24012a,_0x448af4,_0xf3bb6c){const _0x984d67=_0x13cd8a;super(),h(this,_0x984d67(0x444),new Set()),h(this,_0x984d67(0x3e8),null),(this[_0x984d67(0x3f1)]=_0x398bab,this[_0x984d67(0x2b4)]=_0x24012a,this[_0x984d67(0x31c)]=_0x448af4,this[_0x984d67(0x34f)]=_0xf3bb6c,this[_0x984d67(0x3e0)]());}['_init'](){const _0x2df059=_0x13cd8a;this['_sheetSkeletonManagerService'][_0x2df059(0x217)]['pipe']($[_0x2df059(0x30a)](this[_0x2df059(0x1dd)]),$[_0x2df059(0x366)](_0x133795=>{const _0x18f1b4=_0x2df059;if(_0x133795){const _0x324d46=_0x133795[_0x18f1b4(0x32c)];return d[_0x18f1b4(0x436)](this[_0x18f1b4(0x31c)][_0x18f1b4(0x3ca)](this['_context'][_0x18f1b4(0x41f)]),this[_0x18f1b4(0x34f)][_0x18f1b4(0x1d0)])[_0x18f1b4(0x329)]($[_0x18f1b4(0x3aa)](([_0x31fbdc,_0x57e120])=>{const _0x392f81=_0x18f1b4,_0x390c2c=new Map();return _0x31fbdc[_0x392f81(0x3e3)]((_0xd2a99,_0x253ec5)=>{const _0x1035b9=_0x392f81;if(_0xd2a99[_0x1035b9(0x2ed)]===_0x324d46){const _0x47edbb={..._0xd2a99};_0x47edbb[_0x1035b9(0x3b3)]=this[_0x1035b9(0x34f)][_0x1035b9(0x30f)](_0xd2a99[_0x1035b9(0x3b3)]),_0x390c2c[_0x1035b9(0x2f1)](_0x253ec5,_0x47edbb);}}),{'skeleton':_0x133795,'cursors':_0x390c2c};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2df059(0x29f)](({skeleton:_0x66e05b,cursors:_0x279e2d})=>{const _0x525d4f=_0x2df059;this['_removeCollabCursors'](),_0x66e05b&&this[_0x525d4f(0x249)](_0x66e05b,_0x279e2d);}),this[_0x2df059(0x2b4)][_0x2df059(0x217)][_0x2df059(0x29f)](_0xa9ae87=>{const _0x5a4b2c=_0x2df059;if(_0xa9ae87==null)return;const {skeleton:_0x573706}=_0xa9ae87,{scene:_0x1c7eab}=this[_0x5a4b2c(0x3f1)];_0x1c7eab[_0x5a4b2c(0x39d)][_0x5a4b2c(0x2fb)](a[_0x5a4b2c(0x22a)](_0x442efa=>{const _0xc92bab=_0x5a4b2c;var _0x33e322,_0x4dc7f2;const {offsetX:_0xa1feff,offsetY:_0x4609bf}=_0x442efa,{x:_0x3ef684,y:_0x1d560a}=_0x1c7eab[_0xc92bab(0x39c)](p[_0xc92bab(0x387)][_0xc92bab(0x2a8)]([_0xa1feff,_0x4609bf])),{scaleX:_0x51dd42,scaleY:_0x1928d3}=_0x1c7eab['getAncestorScale'](),_0x2c297f=_0x1c7eab[_0xc92bab(0x394)](p[_0xc92bab(0x200)][_0xc92bab(0x303)]),_0x29d8a1=_0x1c7eab[_0xc92bab(0x2e1)](p[_0xc92bab(0x387)][_0xc92bab(0x2a8)]([_0x3ef684,_0x1d560a]),_0x2c297f),_0x23215e=_0x573706[_0xc92bab(0x42d)](_0xa1feff,_0x4609bf,_0x51dd42,_0x1928d3,_0x29d8a1);((_0x33e322=this[_0xc92bab(0x3e8)])==null?void 0x0:_0x33e322[_0xc92bab(0x367)])===_0x23215e[_0xc92bab(0x367)]&&((_0x4dc7f2=this['_lastPointer'])==null?void 0x0:_0x4dc7f2[_0xc92bab(0x277)])===_0x23215e[_0xc92bab(0x277)]||this['_cursors'][_0xc92bab(0x3e3)](_0x2411f2=>{_0x2411f2['onMouseMove'](_0x23215e);});},0x64));});}[_0x13cd8a(0x249)](_0x54f437,_0x94c53e){const _0xe1b1c3=_0x13cd8a;var _0x500baf;const _0x476ca2=(_0x500baf=this[_0xe1b1c3(0x2b4)][_0xe1b1c3(0x2d8)]())==null?void 0x0:_0x500baf[_0xe1b1c3(0x414)];if(!_0x476ca2)return;const _0x3639b2=this[_0xe1b1c3(0x3fb)]();if(!_0x3639b2)return;this[_0xe1b1c3(0x444)][_0xe1b1c3(0x3e3)](_0x1963cf=>{const _0x5077ec=_0xe1b1c3;_0x1963cf[_0x5077ec(0x281)]();});const {scene:_0x428b19}=_0x3639b2,_0x188c0d=bt(Array[_0xe1b1c3(0x354)](_0x94c53e[_0xe1b1c3(0x275)]()))[_0xe1b1c3(0x3aa)](_0x1db7a5=>{const _0x21b3bc=_0xe1b1c3,{color:_0x3b765b,range:_0x55471d,name:_0x158172,selection:_0x4b48b0,sheetID:_0x4c8bec}=_0x1db7a5,{startColumn:_0x2a9a7e,startRow:_0x54f2ec,endColumn:_0x4f4497,endRow:_0x17fb5a}=_0x55471d,_0x48045f=X[_0x21b3bc(0x3d6)](_0x54f2ec,_0x2a9a7e,_0x428b19,_0x476ca2),_0x2fe09e=X['getCoordByCell'](_0x17fb5a,_0x4f4497,_0x428b19,_0x476ca2),{columnHeaderHeightAndMarginTop:_0x14bce5}=_0x476ca2,{startX:_0x1004c5,startY:_0x5afcc2}=_0x48045f,{endX:_0x228a14,endY:_0x1d6515}=_0x2fe09e,_0x2a7142=_0x228a14-_0x1004c5,_0x1049a9=_0x1d6515-_0x5afcc2,_0x34bd32={'labelPosition':_0x5afcc2-_0x14bce5>=K?_0x21b3bc(0x2e5):_0x21b3bc(0x3f4),'sheetID':_0x4c8bec,'range':_0x55471d,'color':_0x3b765b,'name':_0x158172,'selection':_0x4b48b0,'left':_0x1004c5,'top':_0x5afcc2,'width':_0x2a7142,'height':_0x1049a9,'evented':!0x1,'zIndex':Et};return new we(_0x158172,_0x34bd32);});_0x428b19['addObjects'](_0x188c0d,gt),this[_0xe1b1c3(0x444)]=new Set(_0x188c0d);}[_0x13cd8a(0x34c)](){const _0x4ebed0=_0x13cd8a;var _0x5cdad6;(_0x5cdad6=this['_cursors'])==null||_0x5cdad6[_0x4ebed0(0x3e3)](_0x4329ed=>_0x4329ed[_0x4ebed0(0x41d)]());}[_0x13cd8a(0x3fb)](){const _0x3e6439=_0x13cd8a;return X[_0x3e6439(0x3e9)](this[_0x3e6439(0x3f1)][_0x3e6439(0x2ee)],this[_0x3e6439(0x3f1)]);}};ve=pt([ae(0x1,a[_0x13cd8a(0x248)](X[_0x13cd8a(0x42c)])),ae(0x2,a[_0x13cd8a(0x248)](x)),ae(0x3,a[_0x13cd8a(0x248)](a['ThemeService']))],ve);function _0x1e89(){const _0x593219=['_docSkeleton','/run/','_setupBeforeClosingHandler','_hideTimer','VIEW_MAIN','findNodePositionByCharIndex','TEXT','fillRule','OTHER_CLIENT_EDITING','0\x200\x2016\x2016','DocCollaborationEntity','takeUntil','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','split','collabStatus.conflict','_id','getColorFromTheme','url(#off-line-icon_clip0_910_343)','green.600','RemoveRowCommandId','getUnitId','_httpService','has','with','RECT','Shape','_configService','INTERNAL_ERROR','_getMergeRange','_collabCursorController','handleDeleteRangeMoveLeft','DisposableCollection','getItem','attrs','DocIMEInputManagerService','_updateSubUnitFromURLParams','YUUMI_NO_CUBOID_FOR_QUESTION','roomMembers','error','_cursor','collab-rect-range-','transformIMECache','pipe','black','Plugin','sheetId','EffectRefRangId','_labelPosition','createIdentifier','_imageIoService','next','useCallback','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','displayName','_clearOtherTimers','fillText','getTypeOfUnitAdded$','setItem','_refreshCollabCursors','DocSelectionManagerService','distinctUntilChanged','HTTPService','_getSaveTimeout','_handleHeartbeatEvent','setInterval','fillStyle','onStarting','endRow','Rectangle','_localStorageService','_getAnchorBounding','4738575osRpAc','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','urlChange$','current','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setShapeProps','_removeCollabCursors','function','getOwnPropertySymbols','_themeService','_online','deepClone','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','from','getRangePointData','YUUMI_ASYNCIO_CANCELLED','params','event$','collab-client.tooltip.reconnect','UniverCollaborationClientPlugin','1em','onTransformChange$','setAlpha','getAncestorScale','wsSessionTicketUrl','_docClipboardService','unshift','IUniverInstanceService','_collabCursorState$','UNRECOGNIZED','_selfUnitIDs','switchMap','column','_textBubble','_localCacheService','RegularPolygon','_collaborationController','_initEvent','JOIN_ROOM_FAILED','_transformService','includes','_drawAnchor','handleDeleteRangeMoveUp','getRenderById','min','_urlService','jsxs','28917NSUFGP','complete','WebSocketService','_updateURLWithCurrentState','_initEntityListener','m2Prime','INVITE_CODE_ALREADY_BOUND','clearInterval','call','className','23apyIgI','rgba(255,\x20255,\x20255,\x200.01)','_syncEditingCollabCursorService','getValue','get','COMPLETION_FINISHED','IConfigService','Vector2','drawWith','all','CollaborationSessionService','_initDependencies','textRanges','isTransformMutationFailure','registerBeforeClose','history','610104KndISU','46790HuWxiB','Rect','NOT_COLLAB','getViewport','_docStateChangeManagerService','_status$','createInstance','_saveTaskMap','getSheetBySheetId','yellow.400','_renderManagerService','getRelativeToViewportCoord','onPointerMove$','_commandService','MessageType','_session','_toggleOnline','_unitStatus','InsertRowCommandId','_initStatusComponent','COLORS','fill','serializeRangeWithSheet','stringify','defs','map','jiqing.500','result','getTypeOfUnitDisposed$','application/json','collab-text-range-','evenodd','_localeService','UNIVER_DOC','color','FETCH_MISS','lineTo','getFocusedUnit','_cursorShapes','getUniverSheetInstance','AWAITING_WITH_PENDING','status$','ISnapshotServerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','entityInit$','CLOSE_ROOM','IRenderManagerService','SetWorksheetActivateCommand','saveTaskMap','getActiveRange','merge','fromEvent','defIds','IUIPartsService','extend','measureText','onRendered','getCollabCursors$','_memberService','startColumn','exhaustSavingTask','transformStateCache','ColorKit','random','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','hide','DependentOn','SNAPSHOT_INVALID_SNAPSHOT','getCoordByCell','collabCursorState$','font','getSheetId','reconnect','SessionStatus','115379rOlzOc','getActiveSheet','Workbook','transformRemoteChangeset','_init','132qhspwz','assignAColorForMemberID','forEach','xlink:href','_messageService','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SHEET','_lastPointer','getSheetObject','CollaborationUIEventId','_revisionService','collabStatus.offline','unload','InsertRangeMoveDownCommandId','260KscSgM','then','_context','clsx','_updateLocalCursor','bottom','collabStatus.notCollab','mutations','_range','imageSourceType','labelPosition','CollaborationStatus','_getSheetObject','isActive','createElement','parse','_dataLoaderService','_hovered','_draw','toString','handleInsertRangeMoveDown','getConfig','editingUnit','apply','subUnitId','getDocRanges','getSkeleton','newValue','PY_RUNTIME_SCRIPT_ERROR','registerComponent','connectInjector','restore','_ensureSubject','YUUMI_RATE_OVER_LIMIT','IRemoteInstanceService','...','path','skeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_anchor','M0\x200H16V16H0z','ILocalCacheService','_unitOnClients','DocStateChangeManagerService','_registerDependencies','url(#on-line-icon_clip0_910_349)','dispose','arc','unitId','handleIRemoveRow','send','enableLocalCache','clearTimeout','_backgroundColor','tag','UNDEFINED','SheetCollabCursorShape','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVALID_ARGUMENT','sessionStatus$','CollaborationSocketService','SheetSkeletonManagerService','getCellPositionByOffset','size','subunit','ONLINE','Failed','ranges','cursorInfo','_entityInit$','round','combineLatest','_docTransformStateCacheService','BrowserCollaborationSocketService','DesktopCollaborationStatusDisplayController','throttleTime','SYNCED','uni.network.url-service','contains','onMouseMove','string','YUUMI_AI_RUN_FAILED','setStateCache','_send','OffLineIcon','_cursors','_getScale','registerRenderModule','DOC_RANGE_TYPE','onPointerEnter$','some','_transformPreviousActiveRange','debounceTime','_startDocCollabCursor','updateOfflineData','_onCursorDelete','transformMutationsWithChangeset','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','useDependency','runId','width','deserializeRangeWithSheet','currentTheme$','WebBrowserSingleActiveUnitService','_saveCache','selection','_handleEvent','UniverInstanceType','body','LICENSE_DISTRO_REJECTED','collabStatus.synced','_heartbeatTimer','Tooltip','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCurrentUnitForType','dispose$','toRgbString','_initCommandExecutedListener','Error','RichTextEditingMutation','popstate','LOCAL_CACHE_INTERVAL','APPLY_REVISION_CONFILICT','onPointerLeave$','saveOfflineData','focused$','IImageIoService','getUnhiddenWorksheets','isArray','PENDING','_instanceService','_render','replace','OTHER_CLIENTS_EDITING','filter','transformSelections','type','_cursorInfo$','m1Prime','_hover','IMessageService','href','touchDependencies','_logService','ACTIVE_UNIT_EVENT_CHANNEL','EMAIL_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','onCommandExecuted','undoState','source','SHEET_VIEWPORT_KEY','currentColor','Optional','unsubscribe','getOffsetConfig','OnLineIcon','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','collaboration.single-unit.warning','_transformHistoryAndStateStack','ICommandService','_doCreateSocket','USERS_LEAVE','entries','disposeUnit','YUUMI_ALL_TABLES_IS_INVALID','SetTextSelectionsOperation','indexOf','Unknown\x20user','_collabSessionService','handleInsertRow','moveTo','_name','_disabled','currentSkeleton$','SetSelectionsOperation','concat','CONFLICT','useObservable','hovered','useRef','_toggleOffline','none','startRow','pushState','saveImage','LOGIN_FAILED','_config','ITransformService','ISocketService','_removeClearOtherTimer','TOO_MANY_REQUESTS','mergeOverrideWithDependencies','debounce','disposeWithMe','getLocalCacheKey','CollaborationStatusDisplay','jsx','_collaborationUIEventService','EMAIL_VERIFY_CODE_MISMATCH','debug','_docTransformIMECacheService','mask','transform','_roomMembers$','sessionTicket','_setupSubUnitSync','PERMISSION_DENIED','univer-mr-2\x20univer-flex\x20univer-text-xl','getStateCache','APPLY_PERMISSION_DENIED','http://www.w3.org/2000/svg','IDocClipboardService','_transformUndoRedoStack','find','Tools','registerRefRange','InsertColCommandId','_shapes','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forwardRef','NodePositionConvertToCursor','defineProperty','Inject','_updateCollabCursors','UnitStatus','_colorAssignService','HEADER_MENU','getMember','LocaleService','MoveRangeCommandId','collaboration.closeRoom','APPLY_DUPLICATED','#FFF','_injector','CollaborationEvent','off-line-icon_clip0_910_343','setTimeout','name','MemberService','RevisionService','_color','origin','engine','DeleteRangeMoveLeftCommandId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformMutation','Injector','getMemberID','_onCursorUpdate','getMergeData','NOT_FOUND','_handleHover','getCurrentRevOfUnit','_cachedData','unitID','LOCAL_CACHE_INTERVAL_KEY','setParam','handleInsertRangeMoveRight','fromEventSubject','_notificationService','requireSession','save','CollaborationDataLoaderController','svg','_eventUnsubscribe','InsertRangeMoveRightCommandId','OFFLINE','values','getColor','row','1043448bKRKjE','_initResize','idSuffix','use','text','_onRefRangeChange','symbol','setActiveRange','white','makeDirty','hasOwnProperty','YUUMI_SUBSCRIPTION_NOT_FOUND','ThemeService','TEXT_RANGE_LAYER_INDEX','getUnitStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity$','translate(.97)','_scheduleClearOtherTimer','CollaborationController','getParam','generateRandomId','triggerDblclick','push','_anchorDot','assign','children','_drawRectRange','icon','transformByState','getUndoRedoMutationParamsCache','roomMembers$','collaboration-client-ui.config','show','length','addClipboardHook','_docTransformSelectionsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleSaving','subscribe','_handleJoinEvent','add','_entities','getOwnPropertyDescriptor','delete','_docSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','USER_NOT_INVITED_CODE','FromArray','[CollaborationDataLoaderController]','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','BehaviorSubject','data','prototype','cursorInfo$','purple.300','div','RxDisposable','post','_assignedColors','_sheetSkeletonManagerService','handleIRemoveCol','loadOfflineData','IURLService','univerjs-icon\x20univerjs-icon-','Warning','SheetsSelectionsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','INVITE_CODE_REQUIRED','session.collaboration-timeout','RemoteUniscriptService','_refRangeService','doc.mutation.rich-text-editing','collaboration-client.offline-data-not-saved','_univerInstanceService','selections','addEventListener','searchParams','_handleLeaveEvent','_colorIndex','CHANGESET_REVISION_CONFILICT','isEditing','startsWith','blue.400','UPDATE_CURSOR','APPLY_NON_SEQUENTIAL_REVISION','UniverCollaborationClientUIPlugin','_initStatusListener','SOCKET_FAILED','substring','asObservable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','redoState','27SVZSge','_drawTextRange','getCurrent','closePath','code','CommandType','max','ALREADY_EXISTS','MUTATION','flatMap','runOnServer','getVpScrollXYInfoByPosToVp','_docSyncEditingCollabCursorService','syncEditingCollabCursor','toDisposable','top','_scene','height','_startSheetCollabCursor','init','colorChannel1','_registerRenderDependencies','INVITE_CODE_HAS_BEEN_UES','sheetID','unit','propertyIsEnumerable','disableLocalCache','set','handleMoveRange','red.300','INVALID_INVITE_CODE','DataLoaderService','key','addObject','0\x200\x2017\x2016','4212264pFEHyv','executeCommand','subscribeEvent','ILogService','ILocalStorageService','Disposable'];_0x1e89=function(){return _0x593219;};return _0x1e89();}function bt(_0x2bd0f5){const _0x508220=_0x13cd8a,_0x2e8706=new Map();return _0x2bd0f5[_0x508220(0x3e3)](_0x173604=>{const _0x33c037=_0x508220;if(_0x2e8706[_0x33c037(0x315)](_0x173604[_0x33c037(0x1d3)])){const _0x3b797d=_0x2e8706[_0x33c037(0x384)](_0x173604[_0x33c037(0x1d3)]);_0x3b797d[_0x33c037(0x257)]+=',\x20'+_0x173604[_0x33c037(0x257)];}else _0x2e8706[_0x33c037(0x2f1)](_0x173604[_0x33c037(0x1d3)],_0x173604);}),Array[_0x508220(0x354)](_0x2e8706[_0x508220(0x275)]());}var b=function(){const _0x297454=_0x13cd8a;return b=Object[_0x297454(0x291)]||function(_0x3f681b){const _0x7275b3=_0x297454;for(var _0x504d8d,_0x2b2618=0x1,_0x4ff373=arguments[_0x7275b3(0x29a)];_0x2b2618<_0x4ff373;_0x2b2618++){_0x504d8d=arguments[_0x2b2618];for(var _0x42d38c in _0x504d8d)Object[_0x7275b3(0x2ad)]['hasOwnProperty']['call'](_0x504d8d,_0x42d38c)&&(_0x3f681b[_0x42d38c]=_0x504d8d[_0x42d38c]);}return _0x3f681b;},b[_0x297454(0x406)](this,arguments);},Ot=function(_0x487452,_0xe031b1){const _0x10aac7=_0x13cd8a;var _0x46f4b3={};for(var _0x419ea9 in _0x487452)Object[_0x10aac7(0x2ad)][_0x10aac7(0x282)]['call'](_0x487452,_0x419ea9)&&_0xe031b1[_0x10aac7(0x210)](_0x419ea9)<0x0&&(_0x46f4b3[_0x419ea9]=_0x487452[_0x419ea9]);if(_0x487452!=null&&typeof Object[_0x10aac7(0x34e)]==_0x10aac7(0x34d)){for(var _0x2de625=0x0,_0x419ea9=Object[_0x10aac7(0x34e)](_0x487452);_0x2de625<_0x419ea9[_0x10aac7(0x29a)];_0x2de625++)_0xe031b1[_0x10aac7(0x210)](_0x419ea9[_0x2de625])<0x0&&Object['prototype'][_0x10aac7(0x2ef)][_0x10aac7(0x37e)](_0x487452,_0x419ea9[_0x2de625])&&(_0x46f4b3[_0x419ea9[_0x2de625]]=_0x487452[_0x419ea9[_0x2de625]]);}return _0x46f4b3;},pe=M[_0x13cd8a(0x245)](function(_0x422eb3,_0x4468db){const _0x45e393=_0x13cd8a;var _0x58553a=_0x422eb3[_0x45e393(0x294)],_0x34c61e=_0x422eb3['id'],_0xf3bdf0=_0x422eb3[_0x45e393(0x37f)],_0x386345=_0x422eb3[_0x45e393(0x3c7)],_0x523d1d=Ot(_0x422eb3,[_0x45e393(0x294),'id',_0x45e393(0x37f),'extend']),_0x4a3db6=_0x45e393(0x2b8)[_0x45e393(0x219)](_0x34c61e,'\x20')['concat'](_0xf3bdf0||'')['trim'](),_0x595cad=M[_0x45e393(0x21d)]('_'[_0x45e393(0x219)](Dt()));return Ae(_0x58553a,''['concat'](_0x34c61e),{'defIds':_0x58553a[_0x45e393(0x3c5)],'idSuffix':_0x595cad[_0x45e393(0x349)]},b({'ref':_0x4468db,'className':_0x4a3db6},_0x523d1d),_0x386345);});function Ae(_0x303147,_0x18228d,_0x198d49,_0x235625,_0x55dea5){const _0x27b43a=_0x13cd8a;return M[_0x27b43a(0x3fd)](_0x303147[_0x27b43a(0x425)],b(b({'key':_0x18228d},Tt(_0x303147,_0x198d49,_0x55dea5)),_0x235625),(Rt(_0x303147,_0x198d49)[_0x27b43a(0x292)]||[])[_0x27b43a(0x3aa)](function(_0xdb2123,_0x3686a6){const _0x1a4b26=_0x27b43a;return Ae(_0xdb2123,''[_0x1a4b26(0x219)](_0x18228d,'-')[_0x1a4b26(0x219)](_0x303147[_0x1a4b26(0x425)],'-')[_0x1a4b26(0x219)](_0x3686a6),_0x198d49,void 0x0,_0x55dea5);}));}function Tt(_0x5e877e,_0xc39e95,_0x2a0c4e){const _0x1ce48b=_0x13cd8a;var _0x38d75a=b({},_0x5e877e['attrs']);_0x2a0c4e!=null&&_0x2a0c4e['colorChannel1']&&_0x38d75a[_0x1ce48b(0x3a6)]===_0x1ce48b(0x2ea)&&(_0x38d75a[_0x1ce48b(0x3a6)]=_0x2a0c4e[_0x1ce48b(0x2ea)]),_0x5e877e[_0x1ce48b(0x425)]===_0x1ce48b(0x233)&&_0x38d75a['id']&&(_0x38d75a['id']=_0x38d75a['id']+_0xc39e95[_0x1ce48b(0x27a)]),Object[_0x1ce48b(0x20c)](_0x38d75a)['forEach'](function(_0x38f72f){const _0x387337=_0x1ce48b;var _0x13ed65=_0x38f72f[0x0],_0x2afd4b=_0x38f72f[0x1];_0x13ed65===_0x387337(0x233)&&typeof _0x2afd4b=='string'&&(_0x38d75a[_0x13ed65]=_0x2afd4b[_0x387337(0x1ee)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xc39e95[_0x387337(0x27a)],')')));});var _0x45d61e=_0xc39e95[_0x1ce48b(0x3c5)];return!_0x45d61e||_0x45d61e['length']===0x0||(_0x5e877e[_0x1ce48b(0x425)]===_0x1ce48b(0x27b)&&_0x38d75a[_0x1ce48b(0x3e4)]&&(_0x38d75a[_0x1ce48b(0x3e4)]=_0x38d75a['xlink:href']+_0xc39e95[_0x1ce48b(0x27a)]),Object[_0x1ce48b(0x20c)](_0x38d75a)[_0x1ce48b(0x3e3)](function(_0x3ae11e){const _0x4740ec=_0x1ce48b;var _0x4c4dd6=_0x3ae11e[0x0],_0x1c4403=_0x3ae11e[0x1];typeof _0x1c4403==_0x4740ec(0x43f)&&(_0x38d75a[_0x4c4dd6]=_0x1c4403['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4740ec(0x219)](_0xc39e95[_0x4740ec(0x27a)],')')));})),_0x38d75a;}function Rt(_0x555443,_0x9f1ecf){const _0xa4d0b5=_0x13cd8a;var _0x2b4d2,_0x481a8d=_0x9f1ecf[_0xa4d0b5(0x3c5)];return!_0x481a8d||_0x481a8d[_0xa4d0b5(0x29a)]===0x0?_0x555443:_0x555443[_0xa4d0b5(0x425)]===_0xa4d0b5(0x3a9)&&(!((_0x2b4d2=_0x555443[_0xa4d0b5(0x292)])===null||_0x2b4d2===void 0x0)&&_0x2b4d2['length'])?b(b({},_0x555443),{'children':_0x555443[_0xa4d0b5(0x292)]['map'](function(_0x539fe9){const _0x2d2065=_0xa4d0b5;return typeof _0x539fe9['attrs']['id']==_0x2d2065(0x43f)&&_0x481a8d&&_0x481a8d[_0x2d2065(0x36f)](_0x539fe9[_0x2d2065(0x320)]['id'])?b(b({},_0x539fe9),{'attrs':b(b({},_0x539fe9['attrs']),{'id':_0x539fe9[_0x2d2065(0x320)]['id']+_0x9f1ecf[_0x2d2065(0x27a)]})}):_0x539fe9;})}):_0x555443;}function Dt(){const _0x1417de=_0x13cd8a;return Math[_0x1417de(0x3d0)]()['toString'](0x24)[_0x1417de(0x2d2)](0x2,0x8);}pe[_0x13cd8a(0x334)]='UniverIcon';var Ut={'tag':_0x13cd8a(0x271),'attrs':{'xmlns':_0x13cd8a(0x23c),'fill':'none','viewBox':_0x13cd8a(0x308),'width':_0x13cd8a(0x35b),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x13cd8a(0x310)},'children':[{'tag':'path','attrs':{'stroke':_0x13cd8a(0x201),'d':_0x13cd8a(0x206),'strokeLinecap':_0x13cd8a(0x435),'strokeLinejoin':_0x13cd8a(0x435),'strokeWidth':1.2}}]},{'tag':_0x13cd8a(0x3a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x13cd8a(0x255)},'children':[{'tag':_0x13cd8a(0x413),'attrs':{'fill':_0x13cd8a(0x280),'d':_0x13cd8a(0x417)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},ye=M[_0x13cd8a(0x245)](function(_0x6bed69,_0x46e32d){const _0x5c078d=_0x13cd8a;return M[_0x5c078d(0x3fd)](pe,Object[_0x5c078d(0x291)]({},_0x6bed69,{'id':'off-line-icon','ref':_0x46e32d,'icon':Ut}));});ye[_0x13cd8a(0x334)]=_0x13cd8a(0x443);var Nt={'tag':_0x13cd8a(0x271),'attrs':{'xmlns':_0x13cd8a(0x23c),'fill':_0x13cd8a(0x21f),'viewBox':_0x13cd8a(0x2f8),'width':_0x13cd8a(0x35b),'height':_0x13cd8a(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':_0x13cd8a(0x41c)},'children':[{'tag':_0x13cd8a(0x413),'attrs':{'stroke':_0x13cd8a(0x201),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x13cd8a(0x435),'strokeLinejoin':_0x13cd8a(0x435),'strokeWidth':1.2}}]},{'tag':_0x13cd8a(0x3a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x13cd8a(0x280),'d':_0x13cd8a(0x417),'transform':_0x13cd8a(0x289)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x13cd8a(0x245)](function(_0x452bc2,_0x4f76d9){const _0x48ef38=_0x13cd8a;return M['createElement'](pe,Object[_0x48ef38(0x291)]({},_0x452bc2,{'id':'on-line-icon','ref':_0x4f76d9,'icon':Nt}));});$e[_0x13cd8a(0x334)]=_0x13cd8a(0x205);function Mt(_0x521a18){const _0x50e3e7=_0x13cd8a;switch(_0x521a18){case u[_0x50e3e7(0x3fa)]['OFFLINE']:return _0x50e3e7(0x3ec);case u['CollaborationStatus'][_0x50e3e7(0x21a)]:return _0x50e3e7(0x30d);case u[_0x50e3e7(0x3fa)][_0x50e3e7(0x3b4)]:return'collabStatus.fetchMiss';case u[_0x50e3e7(0x3fa)][_0x50e3e7(0x393)]:return _0x50e3e7(0x3f5);case u[_0x50e3e7(0x3fa)]['AWAITING']:case u[_0x50e3e7(0x3fa)][_0x50e3e7(0x3b9)]:return'collabStatus.syncing';case u[_0x50e3e7(0x3fa)][_0x50e3e7(0x43b)]:case u['CollaborationStatus'][_0x50e3e7(0x1eb)]:return _0x50e3e7(0x1d8);}}function xe(_0x551200){const _0x4e4397=_0x13cd8a,{status$:_0x551450}=_0x551200,_0x33ca77=O[_0x4e4397(0x21b)](_0x551450,u[_0x4e4397(0x3fa)]['NOT_COLLAB']),_0x10bd21=O[_0x4e4397(0x1cc)](a[_0x4e4397(0x24e)]),_0x16698f=O[_0x4e4397(0x1cc)](u[_0x4e4397(0x38a)]),_0x2961a3=_0x33ca77!==u[_0x4e4397(0x3fa)][_0x4e4397(0x274)],_0x3f4521=_0x10bd21['t'](Mt(_0x33ca77)),_0x3b6032=_0x2961a3?P[_0x4e4397(0x22e)]($e,{}):P[_0x4e4397(0x22e)](ye,{}),_0x6a277a=M[_0x4e4397(0x332)](()=>{const _0x27ce8e=_0x4e4397;_0x2961a3||_0x16698f[_0x27ce8e(0x3da)]();},[_0x2961a3,_0x16698f]);function _0x58597c(){const _0x4827b4=_0x4e4397;return P[_0x4827b4(0x375)](_0x4827b4(0x2b0),{'className':'univer-flex\x20univer-items-center','onClick':_0x6a277a,'children':[P[_0x4827b4(0x22e)](_0x4827b4(0x2b0),{'className':D[_0x4827b4(0x3f2)](_0x4827b4(0x239),{'univer-text-green-500':_0x2961a3,'univer-text-red-500':!_0x2961a3}),'children':_0x3b6032}),P[_0x4827b4(0x22e)](_0x4827b4(0x2b0),{'className':_0x4827b4(0x30b),'children':_0x3f4521})]});}return _0x2961a3?_0x58597c():P[_0x4e4397(0x22e)](D[_0x4e4397(0x1da)],{'title':_0x10bd21['t'](_0x4e4397(0x359)),'children':_0x58597c()});}var Lt=Object[_0x13cd8a(0x2a3)],Pt=(_0x108eea,_0x12a437,_0x249219,_0x11439f)=>{for(var _0x5eb55d=_0x11439f>0x1?void 0x0:_0x11439f?Lt(_0x12a437,_0x249219):_0x12a437,_0x73dce7=_0x108eea['length']-0x1,_0x252bd6;_0x73dce7>=0x0;_0x73dce7--)(_0x252bd6=_0x108eea[_0x73dce7])&&(_0x5eb55d=_0x252bd6(_0x5eb55d)||_0x5eb55d);return _0x5eb55d;},V=(_0x2ea1ac,_0x295011)=>(_0x1c862b,_0x3ecbdb)=>_0x295011(_0x1c862b,_0x3ecbdb,_0x2ea1ac);exports[_0x13cd8a(0x439)]=class extends a[_0x13cd8a(0x2fe)]{constructor(_0x11987e,_0x469866,_0x2c1432,_0x45d244){const _0x707202=_0x13cd8a;super(),h(this,_0x707202(0x396),new d['BehaviorSubject'](u[_0x707202(0x3fa)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x11987e,this[_0x707202(0x253)]=_0x469866,this[_0x707202(0x36b)]=_0x2c1432,this['_uiPartsService']=_0x45d244,this[_0x707202(0x3a4)](),this[_0x707202(0x2d0)]());}[_0x13cd8a(0x2d0)](){const _0x3ff481=_0x13cd8a;this[_0x3ff481(0x22b)](this[_0x3ff481(0x2c3)][_0x3ff481(0x1e7)]['pipe'](d[_0x3ff481(0x366)](()=>{const _0x4de7a1=_0x3ff481,_0x45a5e0=this[_0x4de7a1(0x2c3)][_0x4de7a1(0x3b6)]();return _0x45a5e0?this[_0x4de7a1(0x36b)][_0x4de7a1(0x288)](_0x45a5e0[_0x4de7a1(0x313)]()):d['of'](null);}),d[_0x3ff481(0x366)](_0x2ad225=>_0x2ad225?_0x2ad225[_0x3ff481(0x3ba)]:d['of'](u[_0x3ff481(0x3fa)][_0x3ff481(0x393)])))['subscribe'](_0x35ea4d=>{const _0x2df123=_0x3ff481;this[_0x2df123(0x396)]['next'](_0x35ea4d);}));}[_0x13cd8a(0x3a4)](){const _0x3b8218=_0x13cd8a;this[_0x3b8218(0x22b)](this['_uiPartsService'][_0x3b8218(0x40c)](O['BuiltInUIPart'][_0x3b8218(0x24c)],()=>O[_0x3b8218(0x40d)](wt({'status$':this[_0x3b8218(0x396)][_0x3b8218(0x2d3)]()}),this[_0x3b8218(0x253)])));}},exports[_0x13cd8a(0x439)]=Pt([V(0x0,a[_0x13cd8a(0x362)]),V(0x1,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x260)])),V(0x2,a[_0x13cd8a(0x248)](u[_0x13cd8a(0x28b)])),V(0x3,O[_0x13cd8a(0x3c6)])],exports[_0x13cd8a(0x439)]);function wt(_0x3e86e2){const {status$:_0x327782}=_0x3e86e2;return function(){const _0x555b1c=_0x5703;return P[_0x555b1c(0x22e)](xe,{'status$':_0x327782});};}var At=Object[_0x13cd8a(0x2a3)],yt=(_0x4ee31d,_0x5466fa,_0x5eb5ee,_0x419af3)=>{const _0x4f91d4=_0x13cd8a;for(var _0x32b188=_0x419af3>0x1?void 0x0:_0x419af3?At(_0x5466fa,_0x5eb5ee):_0x5466fa,_0x1b97a9=_0x4ee31d[_0x4f91d4(0x29a)]-0x1,_0xf30623;_0x1b97a9>=0x0;_0x1b97a9--)(_0xf30623=_0x4ee31d[_0x1b97a9])&&(_0x32b188=_0xf30623(_0x32b188)||_0x32b188);return _0x32b188;},y=(_0x1e623c,_0x50f924)=>(_0x33fb65,_0xe55447)=>_0x50f924(_0x33fb65,_0xe55447,_0x1e623c);let q=class extends a[_0x13cd8a(0x2fe)]{constructor(_0x23a2ab,_0x573743,_0x174930,_0x1539a7,_0x15c689,_0x5a7ffd){const _0x107e7c=_0x13cd8a;super(),this['_beforeCloseService']=_0x23a2ab,this['_localCacheService']=_0x573743,this[_0x107e7c(0x22f)]=_0x174930,this[_0x107e7c(0x3e5)]=_0x1539a7,this[_0x107e7c(0x26d)]=_0x15c689,this[_0x107e7c(0x3b1)]=_0x5a7ffd,this[_0x107e7c(0x301)](),this[_0x107e7c(0x36c)]();}[_0x13cd8a(0x301)](){const _0x48c733=_0x13cd8a;this[_0x48c733(0x22b)](this['_beforeCloseService'][_0x48c733(0x38e)](()=>{const _0x34ed67=_0x48c733;if(this[_0x34ed67(0x369)][_0x34ed67(0x3c1)][_0x34ed67(0x42e)])return this[_0x34ed67(0x3b1)]['t'](_0x34ed67(0x2c2));}));}[_0x13cd8a(0x36c)](){const _0x35a7cd=_0x13cd8a;this[_0x35a7cd(0x22b)](this[_0x35a7cd(0x22f)][_0x35a7cd(0x358)][_0x35a7cd(0x29f)](_0x37bc41=>{const _0x5f04c5=_0x35a7cd;_0x37bc41['id']===u[_0x5f04c5(0x3ea)][_0x5f04c5(0x307)]&&this['_messageService'][_0x5f04c5(0x299)]({'type':D[_0x5f04c5(0x39f)][_0x5f04c5(0x2b9)],'content':this[_0x5f04c5(0x3b1)]['t'](_0x5f04c5(0x207))}),_0x37bc41['id']===u['CollaborationUIEventId'][_0x5f04c5(0x3be)]&&this[_0x5f04c5(0x3e5)]['show']({'type':D[_0x5f04c5(0x39f)][_0x5f04c5(0x2b9)],'content':this['_localeService']['t'](_0x5f04c5(0x250))}),_0x37bc41['id']===u[_0x5f04c5(0x3ea)][_0x5f04c5(0x238)]&&this['_notificationService'][_0x5f04c5(0x299)]({'title':this[_0x5f04c5(0x3b1)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x5f04c5(0x325),'duration':0x0}),_0x37bc41['id']===u['CollaborationUIEventId'][_0x5f04c5(0x21a)]&&this[_0x5f04c5(0x3e5)][_0x5f04c5(0x299)]({'type':D['MessageType'][_0x5f04c5(0x1e0)],'content':this[_0x5f04c5(0x3b1)]['t']('collaboration.closeRoom')+'('+_0x37bc41[_0x5f04c5(0x2ac)]+')'}),_0x37bc41['id']===u[_0x5f04c5(0x3ea)][_0x5f04c5(0x36d)]&&this[_0x5f04c5(0x3e5)][_0x5f04c5(0x299)]({'type':D[_0x5f04c5(0x39f)][_0x5f04c5(0x2b9)],'content':this['_localeService']['t'](_0x37bc41[_0x5f04c5(0x2ac)]||'')}),_0x37bc41['id']===u[_0x5f04c5(0x3ea)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x5f04c5(0x299)]({'type':D['MessageType'][_0x5f04c5(0x2b9)],'content':this[_0x5f04c5(0x3b1)]['t']('session.will-retry')}),_0x37bc41['id']===u[_0x5f04c5(0x3ea)][_0x5f04c5(0x2d1)]&&this['_messageService']['show']({'type':D[_0x5f04c5(0x39f)][_0x5f04c5(0x1e0)],'content':this['_localeService']['t']('session.connection-failed')}),_0x37bc41['id']===u[_0x5f04c5(0x3ea)][_0x5f04c5(0x1cb)]&&this[_0x5f04c5(0x3e5)][_0x5f04c5(0x299)]({'type':D['MessageType']['Error'],'content':this[_0x5f04c5(0x3b1)]['t'](_0x5f04c5(0x2be))});}));}};q=yt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x13cd8a(0x418)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,O[_0x13cd8a(0x1f6)]),y(0x4,O['INotificationService']),y(0x5,a[_0x13cd8a(0x248)](a['LocaleService']))],q);const $t=_0x13cd8a(0x298),Ue={},Ee=a[_0x13cd8a(0x32f)](_0x13cd8a(0x43c));var xt=Object[_0x13cd8a(0x2a3)],Bt=(_0x19427d,_0x4c72dd,_0x337fa6,_0x210ab9)=>{for(var _0x64df45=_0x210ab9>0x1?void 0x0:_0x210ab9?xt(_0x4c72dd,_0x337fa6):_0x4c72dd,_0x31bae6=_0x19427d['length']-0x1,_0x5056ab;_0x31bae6>=0x0;_0x31bae6--)(_0x5056ab=_0x19427d[_0x31bae6])&&(_0x64df45=_0x5056ab(_0x64df45)||_0x64df45);return _0x64df45;},F=(_0x3cbee9,_0x302611)=>(_0x3c9c2d,_0x406028)=>_0x302611(_0x3c9c2d,_0x406028,_0x3cbee9);exports['CollaborationDataLoaderController']=class extends a[_0x13cd8a(0x2b1)]{constructor(_0x32d879,_0x5ec646,_0x406504,_0x769440,_0x13a94d){const _0x1a2417=_0x13cd8a;super(),this['_urlService']=_0x32d879,this['_logService']=_0x5ec646,this[_0x1a2417(0x39e)]=_0x406504,this['_dataLoaderService']=_0x769440,_0x13a94d?_0x13a94d==null||_0x13a94d['whenReady']()[_0x1a2417(0x3f0)](()=>this[_0x1a2417(0x3e0)]()):(this[_0x1a2417(0x1f9)][_0x1a2417(0x231)](_0x1a2417(0x2a9),_0x1a2417(0x244)),this[_0x1a2417(0x3e0)]());}async['_init'](){const _0x55fadc=_0x13cd8a,_0x2b059b=this[_0x55fadc(0x374)][_0x55fadc(0x28c)](_0x55fadc(0x2ee)),_0xb83804=this[_0x55fadc(0x374)][_0x55fadc(0x28c)](_0x55fadc(0x1f2)),_0x26b20d=this[_0x55fadc(0x374)][_0x55fadc(0x28c)]('subunit');if(!_0x2b059b||!_0xb83804){this[_0x55fadc(0x1f9)][_0x55fadc(0x231)](_0x55fadc(0x2a9),_0x55fadc(0x2bb));return;}const _0x3965d1=await this[_0x55fadc(0x3ff)]['loadUnit'](_0x2b059b,Number(_0xb83804),_0x26b20d);_0x3965d1&&_0x3965d1 instanceof a[_0x55fadc(0x3de)]&&this[_0x55fadc(0x237)](_0x3965d1);}async[_0x13cd8a(0x237)](_0x33be70){const _0x2f5506=_0x13cd8a;await this['_updateSubUnitFromURLParams'](_0x33be70),_0x33be70['activeSheet$']['pipe'](d[_0x2f5506(0x30a)](this[_0x2f5506(0x1dd)]))[_0x2f5506(0x29f)](_0x17252a=>{const _0x5a17b5=_0x2f5506;_0x17252a&&this[_0x5a17b5(0x379)](_0x17252a);}),this[_0x2f5506(0x374)][_0x2f5506(0x348)][_0x2f5506(0x329)](d['takeUntil'](this['dispose$']))[_0x2f5506(0x29f)](()=>this[_0x2f5506(0x322)](_0x33be70));}[_0x13cd8a(0x379)](_0x523cde,_0x4f26e=!0x1){const _0x487f75=_0x13cd8a,_0x33a63a=this[_0x487f75(0x374)][_0x487f75(0x28c)]('subunit');_0x523cde[_0x487f75(0x3d9)]()!==_0x33a63a&&this[_0x487f75(0x374)][_0x487f75(0x26a)](_0x487f75(0x42f),_0x523cde[_0x487f75(0x3d9)](),_0x4f26e);}async[_0x13cd8a(0x322)](_0x4274ba){const _0x1a2c36=_0x13cd8a;var _0xdc05eb;const _0x320542=this[_0x1a2c36(0x374)]['getParam'](_0x1a2c36(0x42f));if(!_0x320542||!_0x4274ba['getSheetBySheetId'](_0x320542)){const _0xda7918=_0x4274ba[_0x1a2c36(0x1e9)]()[0x0],_0x261599=_0x4274ba['getSheetBySheetId'](_0xda7918);if(!_0x261599)return;this[_0x1a2c36(0x379)](_0x261599,!0x0),await this[_0x1a2c36(0x39e)][_0x1a2c36(0x2fa)](g[_0x1a2c36(0x3c0)]['id'],{'unitId':_0x4274ba[_0x1a2c36(0x313)](),'subUnitId':_0xda7918});return;}((_0xdc05eb=_0x4274ba[_0x1a2c36(0x3dd)]())==null?void 0x0:_0xdc05eb[_0x1a2c36(0x3d9)]())!==_0x320542&&await this[_0x1a2c36(0x39e)][_0x1a2c36(0x2fa)](g[_0x1a2c36(0x3c0)]['id'],{'unitId':_0x4274ba[_0x1a2c36(0x313)](),'subUnitId':_0x320542});}},exports[_0x13cd8a(0x270)]=Bt([F(0x0,Ee),F(0x1,a[_0x13cd8a(0x2fc)]),F(0x2,a[_0x13cd8a(0x209)]),F(0x3,a[_0x13cd8a(0x248)](u[_0x13cd8a(0x2f5)])),F(0x4,a[_0x13cd8a(0x202)](Ke[_0x13cd8a(0x411)]))],exports[_0x13cd8a(0x270)]);var jt=Object[_0x13cd8a(0x2a3)],kt=(_0x408a85,_0x14fd25,_0x2840c0,_0x136054)=>{const _0x4e65e8=_0x13cd8a;for(var _0x143530=_0x136054>0x1?void 0x0:_0x136054?jt(_0x14fd25,_0x2840c0):_0x14fd25,_0x142fba=_0x408a85[_0x4e65e8(0x29a)]-0x1,_0x74c622;_0x142fba>=0x0;_0x142fba--)(_0x74c622=_0x408a85[_0x142fba])&&(_0x143530=_0x74c622(_0x143530)||_0x143530);return _0x143530;},ce=(_0x32062b,_0x2ddb3b)=>(_0x3beeb6,_0xa5f3d8)=>_0x2ddb3b(_0x3beeb6,_0xa5f3d8,_0x32062b);let z=class{constructor(_0x1da623,_0x59d363,_0xdb5dff){const _0x130909=_0x13cd8a;this['_injector']=_0x1da623,this[_0x130909(0x36e)]=_0x59d363,this[_0x130909(0x39b)]=_0xdb5dff;}[_0x13cd8a(0x328)](_0x58ee12){const _0x4b65fc=_0x13cd8a;this[_0x4b65fc(0x23e)](_0x58ee12),this[_0x4b65fc(0x1c4)](_0x58ee12);}[_0x13cd8a(0x3df)](_0x4bd6d8){const _0x13fa71=_0x13cd8a,{unitID:_0x41414d}=_0x4bd6d8,_0x4f1b25=this[_0x13fa71(0x39b)][_0x13fa71(0x372)](_0x41414d)[_0x13fa71(0x316)](E[_0x13fa71(0x321)]),{redoCache:_0x1f2387}=_0x4f1b25['getUndoRedoMutationParamsCache']();if(_0x1f2387['length']===0x0)return _0x4bd6d8;let _0x419392=a[_0x13fa71(0x240)][_0x13fa71(0x351)](_0x4bd6d8[_0x13fa71(0x3f6)][0x0]);for(let _0x4bba38=0x0;_0x4bba38<_0x1f2387[_0x13fa71(0x29a)];_0x4bba38++){const _0x168b91={'id':_0x13fa71(0x2c1),'params':{..._0x1f2387[_0x4bba38]}},_0xff1d33=this[_0x13fa71(0x36e)][_0x13fa71(0x25f)](_0x419392,_0x168b91,!0x1);if(m[_0x13fa71(0x38d)](_0xff1d33))throw _0xff1d33[_0x13fa71(0x325)];_0x419392=_0xff1d33[_0x13fa71(0x1f4)];}return{...a['Tools']['deepClone'](_0x4bd6d8),'mutations':[_0x419392]};}[_0x13cd8a(0x23e)](_0x575339){const _0x382692=_0x13cd8a,{unitID:_0x259fb7}=_0x575339,_0x7e9654=this[_0x382692(0x39b)]['getRenderById'](_0x259fb7)[_0x382692(0x316)](E[_0x382692(0x321)]),{undoCache:_0x1708e2,redoCache:_0x3e88f9}=_0x7e9654[_0x382692(0x296)]();if(_0x1708e2[_0x382692(0x29a)]===0x0||_0x3e88f9[_0x382692(0x29a)]===0x0)return;const _0x5c1a82=[],_0x179f0f=[];let _0x43833a=a[_0x382692(0x240)][_0x382692(0x351)](_0x575339['mutations'][0x0]),_0x47739c=a[_0x382692(0x240)]['deepClone'](_0x575339[_0x382692(0x3f6)][0x0]);for(let _0x5ec825=_0x1708e2[_0x382692(0x29a)]-0x1;_0x5ec825>=0x0;_0x5ec825--){const _0x2381fd={'id':_0x382692(0x2c1),'params':{..._0x1708e2[_0x5ec825]}},_0x5c19c2={'id':_0x382692(0x2c1),'params':{..._0x3e88f9[_0x5ec825]}},_0x507e01=this[_0x382692(0x36e)]['transformMutation'](_0x43833a,_0x2381fd,!0x1),_0x29fa67=this[_0x382692(0x36e)][_0x382692(0x25f)](_0x47739c,_0x5c19c2,!0x1);if(m[_0x382692(0x38d)](_0x507e01))throw _0x507e01['error'];if(m[_0x382692(0x38d)](_0x29fa67))throw _0x29fa67[_0x382692(0x325)];_0x5c1a82[_0x382692(0x361)](_0x507e01[_0x382692(0x37b)][_0x382692(0x357)]),_0x179f0f[_0x382692(0x361)](_0x29fa67['m2Prime']['params']),_0x43833a=_0x507e01['m1Prime'],_0x47739c=_0x29fa67[_0x382692(0x1f4)];}_0x7e9654['setUndoRedoMutationParamsCache']({'undoCache':_0x5c1a82,'redoCache':_0x179f0f});}['_transformPreviousActiveRange'](_0x54431a){const _0x43102f=_0x13cd8a,{unitID:_0x15ecbc}=_0x54431a,_0x4eb4f4=this[_0x43102f(0x39b)][_0x43102f(0x372)](_0x15ecbc)[_0x43102f(0x316)](E[_0x43102f(0x321)]),_0x330e15=_0x4eb4f4[_0x43102f(0x3c2)]();if(_0x330e15==null)return;const _0x3911a9=[{'id':_0x43102f(0x2c1),'params':{'unitId':_0x54431a['unitID'],'actions':null,'textRanges':[_0x330e15]}}],_0x17c208=this[_0x43102f(0x36e)][_0x43102f(0x1c9)](_0x54431a,_0x3911a9);if(!m['isTransformMutationsWithChangesetSuccess'](_0x17c208))throw _0x17c208[_0x43102f(0x325)];const _0x3fd3fe=_0x17c208[_0x43102f(0x37b)][0x0][_0x43102f(0x357)][_0x43102f(0x38c)];Array['isArray'](_0x3fd3fe)&&_0x3fd3fe['length']&&_0x4eb4f4[_0x43102f(0x27f)](_0x3fd3fe[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x13cd8a(0x260)])),ce(0x1,m[_0x13cd8a(0x225)]),ce(0x2,p[_0x13cd8a(0x3bf)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x5ce6ee,_0x5e10be,_0x4b67c6,_0x2794b2)=>{for(var _0x4924cf=_0x2794b2>0x1?void 0x0:_0x2794b2?Ft(_0x5e10be,_0x4b67c6):_0x5e10be,_0x200619=_0x5ce6ee['length']-0x1,_0x3f3b5e;_0x200619>=0x0;_0x200619--)(_0x3f3b5e=_0x5ce6ee[_0x200619])&&(_0x4924cf=_0x3f3b5e(_0x4924cf)||_0x4924cf);return _0x4924cf;},le=(_0x391827,_0x1ba707)=>(_0x47232d,_0x16fee7)=>_0x1ba707(_0x47232d,_0x16fee7,_0x391827);let J=class{constructor(_0x2f1866,_0x2ea25d,_0x4d372f){const _0x9c3e27=_0x13cd8a;this['_injector']=_0x2f1866,this['_transformService']=_0x2ea25d,this[_0x9c3e27(0x395)]=_0x4d372f;}[_0x13cd8a(0x3ce)](_0x3a033e){this['_transformHistoryAndStateStack'](_0x3a033e);}[_0x13cd8a(0x3df)](_0x4056c3){const _0x228424=_0x13cd8a,{unitID:_0x40255f}=_0x4056c3,{collaboration:_0x449bfb}=this['_docStateChangeManagerService'][_0x228424(0x23a)](_0x40255f);if(_0x449bfb[_0x228424(0x29a)]===0x0)return _0x4056c3;let _0x11a6a3=a[_0x228424(0x240)][_0x228424(0x351)](_0x4056c3[_0x228424(0x3f6)][0x0]);for(let _0x5cea79=0x0;_0x5cea79<_0x449bfb['length'];_0x5cea79++){const _0x173698={'id':_0x228424(0x2c1),'params':{'unitId':_0x449bfb[_0x5cea79][_0x228424(0x41f)],..._0x449bfb[_0x5cea79][_0x228424(0x2d5)]}},_0x17fcee=this[_0x228424(0x36e)][_0x228424(0x25f)](_0x11a6a3,_0x173698,!0x1);if(m['isTransformMutationFailure'](_0x17fcee))throw _0x17fcee['error'];_0x11a6a3=_0x17fcee[_0x228424(0x1f4)];}return{...a[_0x228424(0x240)][_0x228424(0x351)](_0x4056c3),'mutations':[_0x11a6a3]};}[_0x13cd8a(0x208)](_0x4bcd2f){const _0x5b4cbb=_0x13cd8a,{unitID:_0xb72c59}=_0x4bcd2f,{history:_0x1d944b,collaboration:_0x41447a}=this[_0x5b4cbb(0x395)][_0x5b4cbb(0x23a)](_0xb72c59);if(_0x1d944b[_0x5b4cbb(0x29a)]===0x0&&_0x41447a[_0x5b4cbb(0x29a)]===0x0)return;const _0x1fd644=[],_0xd00ff8=[];let _0x1b52c0=a[_0x5b4cbb(0x240)][_0x5b4cbb(0x351)](_0x4bcd2f[_0x5b4cbb(0x3f6)][0x0]),_0x308512=a[_0x5b4cbb(0x240)][_0x5b4cbb(0x351)](_0x4bcd2f[_0x5b4cbb(0x3f6)][0x0]);for(let _0x579cfc=_0x1d944b[_0x5b4cbb(0x29a)]-0x1;_0x579cfc>=0x0;_0x579cfc--){const _0x528884={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d944b[_0x579cfc]['unitId'],..._0x1d944b[_0x579cfc][_0x5b4cbb(0x1fe)]}},_0x4975b8={'id':_0x5b4cbb(0x2c1),'params':{'unitId':_0x1d944b[_0x579cfc][_0x5b4cbb(0x41f)],..._0x1d944b[_0x579cfc]['redoState']}},_0x39f58a=this[_0x5b4cbb(0x36e)][_0x5b4cbb(0x25f)](_0x1b52c0,_0x528884,!0x1),_0x20d19a=this[_0x5b4cbb(0x36e)][_0x5b4cbb(0x25f)](_0x308512,_0x4975b8,!0x1);if(m[_0x5b4cbb(0x38d)](_0x39f58a))throw _0x39f58a[_0x5b4cbb(0x325)];if(m[_0x5b4cbb(0x38d)](_0x20d19a))throw _0x20d19a[_0x5b4cbb(0x325)];_0x1fd644[_0x5b4cbb(0x361)]({..._0x1d944b[_0x579cfc],'undoState':_0x39f58a[_0x5b4cbb(0x37b)]['params'],'redoState':_0x20d19a[_0x5b4cbb(0x37b)][_0x5b4cbb(0x357)]}),_0x1b52c0=_0x39f58a['m1Prime'],_0x308512=_0x20d19a['m1Prime'];}_0x1b52c0=a['Tools']['deepClone'](_0x4bcd2f[_0x5b4cbb(0x3f6)][0x0]),_0x308512=a[_0x5b4cbb(0x240)]['deepClone'](_0x4bcd2f[_0x5b4cbb(0x3f6)][0x0]);for(let _0xe56022=_0x41447a[_0x5b4cbb(0x29a)]-0x1;_0xe56022>=0x0;_0xe56022--){const _0x35382a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41447a[_0xe56022][_0x5b4cbb(0x41f)],..._0x41447a[_0xe56022]['undoState']}},_0xacde92={'id':_0x5b4cbb(0x2c1),'params':{'unitId':_0x41447a[_0xe56022][_0x5b4cbb(0x41f)],..._0x41447a[_0xe56022][_0x5b4cbb(0x2d5)]}},_0x219823=this[_0x5b4cbb(0x36e)][_0x5b4cbb(0x25f)](_0x1b52c0,_0x35382a,!0x1),_0x28006e=this[_0x5b4cbb(0x36e)][_0x5b4cbb(0x25f)](_0x308512,_0xacde92,!0x1);if(m[_0x5b4cbb(0x38d)](_0x219823))throw _0x219823['error'];if(m[_0x5b4cbb(0x38d)](_0x28006e))throw _0x28006e['error'];_0xd00ff8['unshift']({..._0x41447a[_0xe56022],'undoState':_0x219823[_0x5b4cbb(0x37b)][_0x5b4cbb(0x357)],'redoState':_0x28006e[_0x5b4cbb(0x37b)][_0x5b4cbb(0x357)]}),_0x1b52c0=_0x219823[_0x5b4cbb(0x1f4)],_0x308512=_0x28006e[_0x5b4cbb(0x1f4)];}this['_docStateChangeManagerService'][_0x5b4cbb(0x441)](_0xb72c59,{'history':_0x1fd644,'collaboration':_0xd00ff8});}};J=Ht([le(0x0,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x260)])),le(0x1,m[_0x13cd8a(0x225)]),le(0x2,a[_0x13cd8a(0x248)](E[_0x13cd8a(0x41a)]))],J);var Yt=Object[_0x13cd8a(0x2a3)],Wt=(_0x59ecbb,_0x5411da,_0x460cf6,_0x28d287)=>{for(var _0x2ec545=_0x28d287>0x1?void 0x0:_0x28d287?Yt(_0x5411da,_0x460cf6):_0x5411da,_0x309e15=_0x59ecbb['length']-0x1,_0x8d65f2;_0x309e15>=0x0;_0x309e15--)(_0x8d65f2=_0x59ecbb[_0x309e15])&&(_0x2ec545=_0x8d65f2(_0x2ec545)||_0x2ec545);return _0x2ec545;},Ne=(_0x21e4cc,_0x2618af)=>(_0xf6e39f,_0x441d6e)=>_0x2618af(_0xf6e39f,_0x441d6e,_0x21e4cc);let Z=class{constructor(_0x43b54c,_0x4caf3e){const _0x312c94=_0x13cd8a;this[_0x312c94(0x253)]=_0x43b54c,this[_0x312c94(0x36e)]=_0x4caf3e;}[_0x13cd8a(0x1f1)](_0x46aa15){const _0x617a51=_0x13cd8a;var _0xcdc797;const _0x331947=this['_injector'][_0x617a51(0x384)](Y[_0x617a51(0x33a)]),_0x198a11=(_0xcdc797=_0x331947[_0x617a51(0x408)]())!=null?_0xcdc797:[];if(_0x198a11[_0x617a51(0x29a)]===0x0)return;const _0x26e681=_0x46aa15[_0x617a51(0x268)],_0x1728b8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26e681,'actions':null,'textRanges':_0x198a11}}],_0x19decb=this['_transformService']['transformMutationsWithChangeset'](_0x46aa15,_0x1728b8);if(!m['isTransformMutationsWithChangesetSuccess'](_0x19decb))throw _0x19decb['error'];const _0x2ef611=_0x19decb['m2Prime'][0x0]['params'][_0x617a51(0x38c)];Array[_0x617a51(0x1ea)](_0x2ef611)&&_0x2ef611[_0x617a51(0x29a)]&&_0x331947['replaceDocRanges'](_0x2ef611,{'unitId':_0x26e681,'subUnitId':_0x26e681},!0x1);}};Z=Wt([Ne(0x0,a[_0x13cd8a(0x248)](a[_0x13cd8a(0x260)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x13cd8a(0x2a3)],Xt=(_0x3b705c,_0x53fc1b,_0x23d4d1,_0x1ffa89)=>{const _0x3b328f=_0x13cd8a;for(var _0xd0b27a=_0x1ffa89>0x1?void 0x0:_0x1ffa89?Vt(_0x53fc1b,_0x23d4d1):_0x53fc1b,_0x66cce7=_0x3b705c[_0x3b328f(0x29a)]-0x1,_0x395b0b;_0x66cce7>=0x0;_0x66cce7--)(_0x395b0b=_0x3b705c[_0x66cce7])&&(_0xd0b27a=_0x395b0b(_0xd0b27a)||_0xd0b27a);return _0xd0b27a;},N=(_0x50ca0a,_0x354335)=>(_0x3ce064,_0x126176)=>_0x354335(_0x3ce064,_0x126176,_0x50ca0a);let Q=class extends a[_0x13cd8a(0x2fe)]{constructor(_0x149175,_0xe88aed,_0x28b27b,_0x530b03,_0x3cfbba,_0x5e5832,_0x3013cf,_0x277466){const _0x233d38=_0x13cd8a;super(),h(this,_0x233d38(0x396),new d[(_0x233d38(0x2ab))](u[_0x233d38(0x3fa)]['NOT_COLLAB'])),(this[_0x233d38(0x395)]=_0x149175,this[_0x233d38(0x36b)]=_0xe88aed,this[_0x233d38(0x232)]=_0x28b27b,this['_docTransformStateCacheService']=_0x530b03,this['_docTransformSelectionsService']=_0x3cfbba,this[_0x233d38(0x2e2)]=_0x5e5832,this[_0x233d38(0x3e5)]=_0x3013cf,this[_0x233d38(0x3b1)]=_0x277466,this[_0x233d38(0x37a)]());}[_0x13cd8a(0x37a)](){const _0x270258=_0x13cd8a;this[_0x270258(0x22b)](this['_collaborationController'][_0x270258(0x3bd)][_0x270258(0x29f)](_0x2a08c0=>{const _0x20cf7b=_0x270258,_0x505164=this['_docStateChangeManagerService']['docStateChange$'][_0x20cf7b(0x29f)](_0x252719=>{const _0x4ae562=_0x20cf7b;if(_0x252719==null)return;const {unitId:_0x42d75a,redoState:_0x7c4229,commandId:_0x37d5c9}=_0x252719;if(_0x42d75a!==_0x2a08c0['unitID'])return;const _0x5cb12b={'id':_0x37d5c9,'type':a[_0x4ae562(0x2db)][_0x4ae562(0x2de)],'params':{'unitId':_0x42d75a,'actions':_0x7c4229['actions'],'textRanges':null}};_0x2a08c0['onLocalMutation'](_0x5cb12b);});if(_0x2a08c0[_0x20cf7b(0x22b)](_0x505164),_0x2a08c0 instanceof u[_0x20cf7b(0x309)]){const _0x1517aa={'onTransformIME':_0x1e4f81=>this[_0x20cf7b(0x232)][_0x20cf7b(0x328)](_0x1e4f81),'onTransformState':_0x1d9d5e=>this[_0x20cf7b(0x437)][_0x20cf7b(0x3ce)](_0x1d9d5e),'onTransformSelections':_0x235cd4=>this[_0x20cf7b(0x29c)][_0x20cf7b(0x1f1)](_0x235cd4),'onSyncEditingCollabCursor':_0x472895=>this['_docSyncEditingCollabCursorService'][_0x20cf7b(0x2e3)](_0x472895),'onTransformRemoteChangesetByIMECache':_0x51ce1e=>this[_0x20cf7b(0x232)][_0x20cf7b(0x3df)](_0x51ce1e),'onTransformRemoteChangesetByStateCache':_0x4458b7=>this[_0x20cf7b(0x437)][_0x20cf7b(0x3df)](_0x4458b7)};_0x2a08c0['addHandlerCallback'](_0x1517aa);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x13cd8a(0x41a)])),N(0x1,a[_0x13cd8a(0x248)](u[_0x13cd8a(0x28b)])),N(0x2,a[_0x13cd8a(0x248)](z)),N(0x3,a[_0x13cd8a(0x248)](J)),N(0x4,a[_0x13cd8a(0x248)](Z)),N(0x5,a[_0x13cd8a(0x248)](Ce)),N(0x6,O['IMessageService']),N(0x7,a['Inject'](a[_0x13cd8a(0x24e)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x4e6337,_0x49f317,_0x414d21,_0x170b32)=>{const _0x3865ad=_0x13cd8a;for(var _0x3dfe76=_0x170b32>0x1?void 0x0:_0x170b32?Gt(_0x49f317,_0x414d21):_0x49f317,_0x4fff9f=_0x4e6337[_0x3865ad(0x29a)]-0x1,_0x25854c;_0x4fff9f>=0x0;_0x4fff9f--)(_0x25854c=_0x4e6337[_0x4fff9f])&&(_0x3dfe76=_0x25854c(_0x3dfe76)||_0x3dfe76);return _0x3dfe76;},_e=(_0xfb2212,_0x24db73)=>(_0x3a3bb2,_0x53a9f3)=>_0x24db73(_0x3a3bb2,_0x53a9f3,_0xfb2212);let ge=class extends a['Disposable']{constructor(_0x13a195,_0x24353a,_0xa53396){const _0xa73c22=_0x13cd8a;super(),h(this,_0xa73c22(0x267),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0xa73c22(0x216),!0x1),(this['_configService']=_0x13a195,this[_0xa73c22(0x344)]=_0x24353a,this['_revisionService']=_0xa53396);}[_0x13cd8a(0x2f0)](){this['_disabled']=!0x0;}[_0x13cd8a(0x422)](){const _0xfe5bc6=_0x13cd8a;this[_0xfe5bc6(0x216)]=!0x1;}get[_0x13cd8a(0x3c1)](){const _0x1b84b0=_0x13cd8a;return this[_0x1b84b0(0x398)];}[_0x13cd8a(0x41d)](){const _0x42aebb=_0x13cd8a;this[_0x42aebb(0x3cd)]()[_0x42aebb(0x3f0)](()=>super[_0x42aebb(0x41d)]());}async[_0x13cd8a(0x2b6)](_0x1430bd){const _0x4a61d0=_0x13cd8a;return this['_disabled']?null:this['_localStorageService'][_0x4a61d0(0x31f)](u['getLocalCacheKey'](_0x1430bd));}async[_0x13cd8a(0x1e6)](_0x351c1e,_0x240fd5){const _0x2f9f36=_0x13cd8a;return!!this[_0x2f9f36(0x344)]['setItem'](_0x351c1e,_0x240fd5);}[_0x13cd8a(0x1c7)](_0x385a95,_0x56c8ab,_0x52219f,_0x4363c5){const _0x2224f=_0x13cd8a,_0x48784a=this[_0x2224f(0x3eb)][_0x2224f(0x266)](_0x385a95);this[_0x2224f(0x267)]['set'](_0x385a95,{'unitID':_0x385a95,'type':_0x56c8ab,'awaitingChangeset':_0x52219f,'mutations':_0x4363c5,'rev':_0x48784a}),this[_0x2224f(0x398)][_0x2224f(0x315)](_0x385a95)||this['_scheduleSaving'](_0x385a95);}[_0x13cd8a(0x29e)](_0x538f1c){const _0x3fa774=_0x13cd8a,_0x3b1d28=this[_0x3fa774(0x33d)]();_0x3b1d28===0x0?this[_0x3fa774(0x1d2)](_0x538f1c):this['_saveTaskMap'][_0x3fa774(0x2f1)](_0x538f1c,setTimeout(()=>this[_0x3fa774(0x1d2)](_0x538f1c),_0x3b1d28));}[_0x13cd8a(0x33d)](){const _0x2fef3c=_0x13cd8a;var _0x53c004;return(_0x53c004=this['_configService'][_0x2fef3c(0x404)](u[_0x2fef3c(0x269)]))!=null?_0x53c004:u[_0x2fef3c(0x1e3)];}[_0x13cd8a(0x1d2)](_0x3e7efc){const _0x322c72=_0x13cd8a,_0x1f325a=this[_0x322c72(0x398)][_0x322c72(0x384)](_0x3e7efc);return _0x1f325a!==void 0x0&&window[_0x322c72(0x423)](_0x1f325a),this[_0x322c72(0x344)][_0x322c72(0x338)](u[_0x322c72(0x22c)](_0x3e7efc),this[_0x322c72(0x267)][_0x322c72(0x384)](_0x3e7efc))['then'](()=>this[_0x322c72(0x398)][_0x322c72(0x2a4)](_0x3e7efc));}async[_0x13cd8a(0x3cd)](){const _0x2a6187=_0x13cd8a,_0x1a8ff6=[];this[_0x2a6187(0x398)]['forEach']((_0x8e9219,_0x3cc0f2)=>{const _0x495a31=_0x2a6187;window[_0x495a31(0x423)](_0x8e9219),_0x1a8ff6[_0x495a31(0x28f)](this[_0x495a31(0x1d2)](_0x3cc0f2)[_0x495a31(0x3f0)](()=>{const _0x1902a3=_0x495a31;this[_0x1902a3(0x398)]['delete'](_0x3cc0f2);}));}),await Promise[_0x2a6187(0x389)](_0x1a8ff6);}};ge=Kt([_e(0x0,a[_0x13cd8a(0x386)]),_e(0x1,a[_0x13cd8a(0x2fd)]),_e(0x2,a[_0x13cd8a(0x248)](m[_0x13cd8a(0x259)]))],ge);class Be extends a[_0x13cd8a(0x2b1)]{constructor(){const _0x5eafdb=_0x13cd8a;super(),h(this,_0x5eafdb(0x348)),this[_0x5eafdb(0x348)]=d[_0x5eafdb(0x3c4)](window,_0x5eafdb(0x1e2))[_0x5eafdb(0x329)](d['takeUntil'](this[_0x5eafdb(0x1dd)]),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x13cd8a(0x26a)](_0x474bee,_0x19f881,_0x1dc083=!0x1){const _0x297f31=_0x13cd8a,_0x10bed2=new URL(window[_0x297f31(0x352)][_0x297f31(0x1f7)]);_0x10bed2['searchParams'][_0x297f31(0x2f1)](_0x474bee,_0x19f881),_0x1dc083?window[_0x297f31(0x38f)]['replaceState']('','',_0x10bed2[_0x297f31(0x402)]()):window[_0x297f31(0x38f)][_0x297f31(0x221)]('','',_0x10bed2[_0x297f31(0x402)]());}['removeParam'](_0x171cc3,_0x5dd33a=!0x1){const _0x339363=_0x13cd8a,_0x2213c1=new URL(window[_0x339363(0x352)][_0x339363(0x1f7)]);_0x2213c1['searchParams'][_0x339363(0x2a4)](_0x171cc3),_0x5dd33a?window[_0x339363(0x38f)]['replaceState']('','',_0x2213c1[_0x339363(0x402)]()):window[_0x339363(0x38f)][_0x339363(0x221)]('','',_0x2213c1['toString']());}[_0x13cd8a(0x28c)](_0x10061b){const _0x2cb0b3=_0x13cd8a;var _0x39f076;return(_0x39f076=new URL(window[_0x2cb0b3(0x352)][_0x2cb0b3(0x1f7)])[_0x2cb0b3(0x2c6)][_0x2cb0b3(0x384)](_0x10061b))!=null?_0x39f076:void 0x0;}}var qt=Object[_0x13cd8a(0x247)],zt=Object[_0x13cd8a(0x2a3)],Jt=(_0x51bd3,_0x1c1d89,_0x4636a9)=>_0x1c1d89 in _0x51bd3?qt(_0x51bd3,_0x1c1d89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4636a9}):_0x51bd3[_0x1c1d89]=_0x4636a9,Zt=(_0x4548b3,_0x48aae2,_0x5ed5de,_0x145054)=>{for(var _0x1b2612=_0x145054>0x1?void 0x0:_0x145054?zt(_0x48aae2,_0x5ed5de):_0x48aae2,_0x5c649f=_0x4548b3['length']-0x1,_0x5dca99;_0x5c649f>=0x0;_0x5c649f--)(_0x5dca99=_0x4548b3[_0x5c649f])&&(_0x1b2612=_0x5dca99(_0x1b2612)||_0x1b2612);return _0x1b2612;},he=(_0x7dd935,_0x125510)=>(_0x5669ad,_0x39f7df)=>_0x125510(_0x5669ad,_0x39f7df,_0x7dd935),Qt=(_0x476876,_0x1caf48,_0x29b1b4)=>Jt(_0x476876,_0x1caf48+'',_0x29b1b4);const es=_0x13cd8a(0x347);exports[_0x13cd8a(0x2cf)]=class extends a[_0x13cd8a(0x32b)]{constructor(_0x207ad1=Ue,_0x1c188e,_0x5ede6f,_0x1c966a){const _0x59b7b9=_0x13cd8a;super(),this[_0x59b7b9(0x224)]=_0x207ad1,this[_0x59b7b9(0x39b)]=_0x1c188e,this['_injector']=_0x5ede6f,this[_0x59b7b9(0x319)]=_0x1c966a;const {..._0x4d29d8}=a['merge']({},Ue,this['_config']);this[_0x59b7b9(0x319)]['setConfig']($t,_0x4d29d8);}[_0x13cd8a(0x341)](){const _0x49495c=_0x13cd8a;this['_registerDependencies'](),this[_0x49495c(0x38b)]();}[_0x13cd8a(0x3c9)](){const _0x1dfa1c=_0x13cd8a;this[_0x1dfa1c(0x2eb)]();}[_0x13cd8a(0x41b)](){const _0x509daa=_0x13cd8a;var _0x3eae63;const _0x51a212=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x509daa(0x226)],{'useClass':G[_0x509daa(0x378)]}],[u[_0x509daa(0x418)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x509daa(0x270)]]];a['registerDependencies'](this[_0x509daa(0x253)],a[_0x509daa(0x229)](_0x51a212,(_0x3eae63=this['_config'])==null?void 0x0:_0x3eae63['override']));}[_0x13cd8a(0x2eb)](){const _0x42e5ff=_0x13cd8a;this[_0x42e5ff(0x22b)](this[_0x42e5ff(0x39b)][_0x42e5ff(0x446)](a['UniverInstanceType']['UNIVER_DOC'],[fe])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](a[_0x42e5ff(0x1d5)][_0x42e5ff(0x3e7)],[ve]));}[_0x13cd8a(0x38b)](){const _0x57759a=_0x13cd8a;a[_0x57759a(0x1f8)](this[_0x57759a(0x253)],[[x],[exports[_0x57759a(0x439)]],[Q],[q],[exports[_0x57759a(0x270)]]]);}},Qt(exports[_0x13cd8a(0x2cf)],'pluginName',es),exports[_0x13cd8a(0x2cf)]=Zt([a[_0x13cd8a(0x3d4)](u[_0x13cd8a(0x35a)]),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x13cd8a(0x248)](a['Injector'])),he(0x3,a[_0x13cd8a(0x386)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x13cd8a(0x2a3)],ss=(_0x44a413,_0x586e31,_0x3a11b5,_0x3c9233)=>{const _0x50bbad=_0x13cd8a;for(var _0x20bb2b=_0x3c9233>0x1?void 0x0:_0x3c9233?ts(_0x586e31,_0x3a11b5):_0x586e31,_0x43005e=_0x44a413[_0x50bbad(0x29a)]-0x1,_0x526c6d;_0x43005e>=0x0;_0x43005e--)(_0x526c6d=_0x44a413[_0x43005e])&&(_0x20bb2b=_0x526c6d(_0x20bb2b)||_0x20bb2b);return _0x20bb2b;},H=(_0x1b72bf,_0x2c7d5d)=>(_0x3836fa,_0x36dfc2)=>_0x2c7d5d(_0x3836fa,_0x36dfc2,_0x1b72bf);exports[_0x13cd8a(0x438)]=class extends u[_0x13cd8a(0x42b)]{constructor(_0x3c5fc4,_0x4fda28,_0x16d5b8,_0x295b3e,_0x51c9e9){super(_0x3c5fc4,_0x4fda28,_0x16d5b8,_0x295b3e,_0x51c9e9);}async['createSocket'](_0x82cb92){const _0x3d68a7=_0x13cd8a,_0x1e1f8a=await this['_getSessionTicket'](),_0x539abd=this['_createSocketURL'](_0x82cb92,_0x1e1f8a);return this[_0x3d68a7(0x20a)](_0x539abd);}['_createSocketURL'](_0x22ec33,_0x499217){const _0x3d9927=_0x13cd8a,_0x35a4f0=typeof window>'u'?new URL(_0x22ec33):new URL(_0x22ec33,window['location'][_0x3d9927(0x25b)]);_0x35a4f0['searchParams'][_0x3d9927(0x2f1)](_0x3d9927(0x236),_0x499217);const _0xe33d78=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d9927(0x352)]['search']);return _0xe33d78[_0x3d9927(0x384)](_0x3d9927(0x1cd))&&_0x35a4f0[_0x3d9927(0x2c6)]['set']('runId',_0xe33d78['get'](_0x3d9927(0x1cd))),_0x35a4f0[_0x3d9927(0x402)]();}async['_getSessionTicket'](){const _0x2425ac=_0x13cd8a;var _0x359edc,_0x70653e,_0x12d4dc;const _0x4f17af=this[_0x2425ac(0x319)][_0x2425ac(0x404)](u[_0x2425ac(0x333)]),_0x4a8170=(_0x359edc=_0x4f17af==null?void 0x0:_0x4f17af[_0x2425ac(0x35f)])!=null?_0x359edc:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x12d4dc=(_0x70653e=(await this['_httpService'][_0x2425ac(0x384)](_0x4a8170,{'headers':{'Content-Type':_0x2425ac(0x3ae)}}))[_0x2425ac(0x1d6)])==null?void 0x0:_0x70653e['ticket'])!=null?_0x12d4dc:'';}},exports[_0x13cd8a(0x438)]=ss([H(0x0,a['Inject'](a['Injector'])),H(0x1,a[_0x13cd8a(0x248)](G['HTTPService'])),H(0x2,a[_0x13cd8a(0x386)]),H(0x3,a[_0x13cd8a(0x2fc)]),H(0x4,m[_0x13cd8a(0x3bb)])],exports[_0x13cd8a(0x438)]);const Me=0x7530,Le=_0x13cd8a(0x1fa);class is extends a[_0x13cd8a(0x2fe)]{constructor(){const _0x424fad=_0x13cd8a;super(),h(this,'_id',a['generateRandomId']()),h(this,'_selfUnitIDs',new Set()),h(this,_0x424fad(0x419),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x424fad(0x335),new Map()),h(this,_0x424fad(0x3a2),new Map()),this[_0x424fad(0x3e0)]();}[_0x13cd8a(0x41d)](){const _0x25c551=_0x13cd8a;super['dispose'](),this[_0x25c551(0x335)][_0x25c551(0x3e3)]((_0x1bba91,_0x560200)=>this[_0x25c551(0x227)](_0x560200)),this[_0x25c551(0x1d9)]&&window[_0x25c551(0x37d)](this[_0x25c551(0x1d9)]);}[_0x13cd8a(0x286)](_0x3780ac){const _0xbfd7a3=_0x13cd8a;return this[_0xbfd7a3(0x40f)](_0x3780ac)[_0xbfd7a3(0x329)](d[_0xbfd7a3(0x33b)]());}[_0x13cd8a(0x405)](_0x37f538){const _0xa62823=_0x13cd8a;this[_0xa62823(0x365)][_0xa62823(0x42e)]===0x0&&this['_scheduleHeartbeat'](),this[_0xa62823(0x365)][_0xa62823(0x2a1)](_0x37f538),this[_0xa62823(0x442)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x37f538],'isForwarded':!0x1});}[_0x13cd8a(0x20d)](_0xe32017){const _0x18677d=_0x13cd8a;this['_selfUnitIDs'][_0x18677d(0x2a4)](_0xe32017),this[_0x18677d(0x365)][_0x18677d(0x42e)]===0x0&&this[_0x18677d(0x1d9)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x1a6bf0=_0x13cd8a;this[_0x1a6bf0(0x22b)](a[_0x1a6bf0(0x2e4)](d[_0x1a6bf0(0x3c4)](window,'storage')['subscribe'](_0x1c1b32=>{const _0x127b6f=_0x1a6bf0;if(_0x1c1b32[_0x127b6f(0x2f6)]!==Le||!_0x1c1b32['newValue'])return;const _0x5a3bf7=JSON[_0x127b6f(0x3fe)](_0x1c1b32[_0x127b6f(0x40a)]);this[_0x127b6f(0x1d4)](_0x5a3bf7);}))),window[_0x1a6bf0(0x2c5)](_0x1a6bf0(0x3ed),()=>this[_0x1a6bf0(0x442)]({'type':0x1,'memberID':this[_0x1a6bf0(0x30e)],'unitIDs':Array['from'](this[_0x1a6bf0(0x365)])}));}['_handleEvent'](_0x5e8d51){const _0x3398a0=_0x13cd8a;switch(_0x5e8d51[_0x3398a0(0x1f2)]){case 0x0:this[_0x3398a0(0x2a0)](_0x5e8d51);break;case 0x1:this[_0x3398a0(0x2c7)](_0x5e8d51);break;case 0x2:this[_0x3398a0(0x33e)](_0x5e8d51);break;}}['_handleJoinEvent'](_0x3eefae){const _0x30fd74=_0x13cd8a,{unitIDs:_0x77d8dc,memberID:_0x14c9ad,isForwarded:_0x4cdf78}=_0x3eefae;_0x77d8dc['forEach'](_0x5c9b57=>{const _0x3aa5bf=_0x5703;if(!_0x4cdf78&&this['_unitOnClients'][_0x3aa5bf(0x315)](_0x5c9b57)&&this['_ensureSubject'](_0x5c9b57)[_0x3aa5bf(0x331)](u[_0x3aa5bf(0x24a)]['OTHER_CLIENTS_EDITING']),!this[_0x3aa5bf(0x419)][_0x3aa5bf(0x315)](_0x5c9b57)||!this[_0x3aa5bf(0x419)][_0x3aa5bf(0x384)](_0x5c9b57)['has'](_0x14c9ad)){const _0x48c8f7=this[_0x3aa5bf(0x419)][_0x3aa5bf(0x384)](_0x5c9b57)||new Set();_0x48c8f7[_0x3aa5bf(0x2a1)](_0x14c9ad),this['_unitOnClients']['set'](_0x5c9b57,_0x48c8f7),this['_scheduleClearOtherTimer'](_0x14c9ad);}}),_0x4cdf78||this[_0x30fd74(0x442)]({'type':0x0,'memberID':this[_0x30fd74(0x30e)],'unitIDs':[...this[_0x30fd74(0x365)]],'isForwarded':!0x0});}[_0x13cd8a(0x28a)](_0x31429b){const _0x240c69=_0x13cd8a;this['_removeClearOtherTimer'](_0x31429b);const _0x4989c4=window[_0x240c69(0x256)](()=>{const _0x1e84ed=_0x240c69;this[_0x1e84ed(0x419)]['forEach'](_0x620a7=>{const _0x1eba30=_0x1e84ed;_0x620a7[_0x1eba30(0x2a4)](_0x31429b);});},Me*0x2);this[_0x240c69(0x335)][_0x240c69(0x2f1)](_0x31429b,_0x4989c4);}[_0x13cd8a(0x227)](_0x1d5653){const _0x3921b1=_0x13cd8a;if(this[_0x3921b1(0x335)][_0x3921b1(0x315)](_0x1d5653)){const _0x5c64e3=this[_0x3921b1(0x335)][_0x3921b1(0x384)](_0x1d5653);_0x5c64e3&&window[_0x3921b1(0x423)](_0x5c64e3),this['_clearOtherTimers'][_0x3921b1(0x2f1)](_0x1d5653,null);}}[_0x13cd8a(0x2c7)](_0x2188d4){const _0x3652d7=_0x13cd8a,{memberID:_0xd8fc9,unitIDs:_0x234b26}=_0x2188d4;_0x234b26[_0x3652d7(0x3e3)](_0x211efa=>{const _0x39de81=_0x3652d7;var _0x15fd5f;const _0x49cfeb=this['_unitOnClients'][_0x39de81(0x384)](_0x211efa);_0x49cfeb&&(_0x49cfeb[_0x39de81(0x2a4)](_0xd8fc9),(_0x15fd5f=this[_0x39de81(0x40f)](_0x211efa))==null||_0x15fd5f[_0x39de81(0x331)](_0x49cfeb[_0x39de81(0x42e)]===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u[_0x39de81(0x24a)][_0x39de81(0x1ef)]));}),this[_0x3652d7(0x227)](_0xd8fc9);}[_0x13cd8a(0x33e)](_0x554b01){const _0x40e8d6=_0x13cd8a;this[_0x40e8d6(0x28a)](_0x554b01['memberID']);}[_0x13cd8a(0x442)](_0x331ee3){const _0x56f32b=_0x13cd8a;localStorage[_0x56f32b(0x338)](Le,JSON[_0x56f32b(0x3a8)](_0x331ee3));}['_scheduleHeartbeat'](){const _0x201db=_0x13cd8a;this[_0x201db(0x1d9)]=window[_0x201db(0x33f)](()=>{const _0x5bd7c3=_0x201db;this['_send']({'type':0x2,'memberID':this[_0x5bd7c3(0x30e)]});},Me);}['_ensureSubject'](_0x1aa6ff){const _0xff73eb=_0x13cd8a;return this['_unitStatus'][_0xff73eb(0x315)](_0x1aa6ff)||this[_0xff73eb(0x3a2)][_0xff73eb(0x2f1)](_0x1aa6ff,new d[(_0xff73eb(0x2ab))](u['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xff73eb(0x384)](_0x1aa6ff);}}var je=(_0x149fce=>(_0x149fce[_0x149fce[_0x13cd8a(0x426)]=0x0]='UNDEFINED',_0x149fce[_0x149fce['OK']=0x1]='OK',_0x149fce[_0x149fce[_0x13cd8a(0x31a)]=0x2]='INTERNAL_ERROR',_0x149fce[_0x149fce[_0x13cd8a(0x238)]=0x3]='PERMISSION_DENIED',_0x149fce[_0x149fce[_0x13cd8a(0x264)]=0x4]='NOT_FOUND',_0x149fce[_0x149fce['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x149fce[_0x149fce['ALREADY_EXISTS']=0x6]=_0x13cd8a(0x2dd),_0x149fce[_0x149fce[_0x13cd8a(0x429)]=0x7]='INVALID_ARGUMENT',_0x149fce[_0x149fce[_0x13cd8a(0x228)]=0x8]=_0x13cd8a(0x228),_0x149fce[_0x149fce['COMPLETION_FINISHED']=0x9]=_0x13cd8a(0x385),_0x149fce[_0x149fce[_0x13cd8a(0x223)]=0xa]=_0x13cd8a(0x223),_0x149fce[_0x149fce[_0x13cd8a(0x2a6)]=0xb]=_0x13cd8a(0x2a6),_0x149fce[_0x149fce['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x13cd8a(0x353),_0x149fce[_0x149fce[_0x13cd8a(0x230)]=0xd]=_0x13cd8a(0x230),_0x149fce[_0x149fce[_0x13cd8a(0x25e)]=0xe]=_0x13cd8a(0x25e),_0x149fce[_0x149fce[_0x13cd8a(0x2c9)]=0x1389]=_0x13cd8a(0x2c9),_0x149fce[_0x149fce[_0x13cd8a(0x3d5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x149fce[_0x149fce[_0x13cd8a(0x3d2)]=0x1772]=_0x13cd8a(0x3d2),_0x149fce[_0x149fce[_0x13cd8a(0x3e6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x149fce[_0x149fce['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x149fce[_0x149fce[_0x13cd8a(0x2ce)]=0x1b5a]=_0x13cd8a(0x2ce),_0x149fce[_0x149fce['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x13cd8a(0x1e4),_0x149fce[_0x149fce[_0x13cd8a(0x23b)]=0x1b5c]=_0x13cd8a(0x23b),_0x149fce[_0x149fce[_0x13cd8a(0x251)]=0x1b5d]=_0x13cd8a(0x251),_0x149fce[_0x149fce['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x149fce[_0x149fce['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x149fce[_0x149fce[_0x13cd8a(0x2d4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x149fce[_0x149fce['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x13cd8a(0x287),_0x149fce[_0x149fce['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x149fce[_0x149fce[_0x13cd8a(0x1d7)]=0x232d]=_0x13cd8a(0x1d7),_0x149fce[_0x149fce[_0x13cd8a(0x3d1)]=0x2711]=_0x13cd8a(0x3d1),_0x149fce[_0x149fce['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x13cd8a(0x1ca),_0x149fce[_0x149fce[_0x13cd8a(0x410)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x149fce[_0x149fce[_0x13cd8a(0x283)]=0x2714]=_0x13cd8a(0x283),_0x149fce[_0x149fce['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x13cd8a(0x323),_0x149fce[_0x149fce[_0x13cd8a(0x356)]=0x271b]=_0x13cd8a(0x356),_0x149fce[_0x149fce[_0x13cd8a(0x29d)]=0x271c]=_0x13cd8a(0x29d),_0x149fce[_0x149fce['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x13cd8a(0x20e),_0x149fce[_0x149fce['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x13cd8a(0x2aa),_0x149fce[_0x149fce[_0x13cd8a(0x440)]=0x271f]=_0x13cd8a(0x440),_0x149fce[_0x149fce[_0x13cd8a(0x1fc)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x149fce[_0x149fce[_0x13cd8a(0x40b)]=0x2af9]=_0x13cd8a(0x40b),_0x149fce[_0x149fce[_0x13cd8a(0x2ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x149fce[_0x149fce[_0x13cd8a(0x2f4)]=0x2ee2]=_0x13cd8a(0x2f4),_0x149fce[_0x149fce['INVITE_CODE_REQUIRED']=0x2ee3]=_0x13cd8a(0x2bd),_0x149fce[_0x149fce[_0x13cd8a(0x2a7)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x149fce[_0x149fce[_0x13cd8a(0x37c)]=0x2ee5]=_0x13cd8a(0x37c),_0x149fce[_0x149fce['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x149fce[_0x149fce['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x149fce[_0x149fce[_0x13cd8a(0x1fb)]=0x32cb]=_0x13cd8a(0x1fb),_0x149fce[_0x149fce[_0x13cd8a(0x364)]=-0x1]='UNRECOGNIZED',_0x149fce))(je||{}),ns=Object[_0x13cd8a(0x2a3)],rs=(_0xf61b3c,_0x55c201,_0x19f677,_0x2c7dbc)=>{const _0x151ac7=_0x13cd8a;for(var _0x4c42be=_0x2c7dbc>0x1?void 0x0:_0x2c7dbc?ns(_0x55c201,_0x19f677):_0x55c201,_0x5e8c39=_0xf61b3c[_0x151ac7(0x29a)]-0x1,_0x5e24c4;_0x5e8c39>=0x0;_0x5e8c39--)(_0x5e24c4=_0xf61b3c[_0x5e8c39])&&(_0x4c42be=_0x5e24c4(_0x4c42be)||_0x4c42be);return _0x4c42be;},ue=(_0xd6bd6c,_0x3fe910)=>(_0x412072,_0x19e483)=>_0x3fe910(_0x412072,_0x19e483,_0xd6bd6c);exports['RemoteUniscriptService']=class extends a[_0x13cd8a(0x2fe)]{constructor(_0x47d0b8,_0x10d619,_0x4f287e){const _0x3a2777=_0x13cd8a;super(),this[_0x3a2777(0x1ec)]=_0x47d0b8,this[_0x3a2777(0x314)]=_0x10d619,this[_0x3a2777(0x319)]=_0x4f287e;}async[_0x13cd8a(0x2e0)](_0x40bd8b,_0x10784a,_0x339474,..._0x1cec87){const _0x2062db=_0x13cd8a;var _0xc8af66,_0x3db1a0,_0x56b72b,_0x21fb2f;const _0x57e0d6=this[_0x2062db(0x1ec)]['getFocusedUnit']();if(!_0x57e0d6)throw new Error(_0x2062db(0x34a));const _0x1d4b51=((_0xc8af66=this['_configService']['getConfig'](u[_0x2062db(0x1db)]))!=null?_0xc8af66:u[_0x2062db(0x428)])+'/'+_0x40bd8b+_0x2062db(0x300)+_0x10784a,_0x224ac2=new URL(window[_0x2062db(0x352)][_0x2062db(0x1f7)]),_0x52e516={'scriptId':_0x40bd8b,'runId':(_0x3db1a0=_0x224ac2[_0x2062db(0x2c6)][_0x2062db(0x384)](_0x2062db(0x1cd)))!=null?_0x3db1a0:'','function':_0x10784a,'unitId':_0x57e0d6['getUnitId'](),'argsOfFunction':JSON[_0x2062db(0x3a8)](_0x1cec87),'invokeId':(_0x56b72b=_0x339474['invokeId'])!=null?_0x56b72b:'','executionId':(_0x21fb2f=_0x339474['executionId'])!=null?_0x21fb2f:''};try{const _0x3a9717=await this[_0x2062db(0x314)][_0x2062db(0x2b2)](_0x1d4b51,{'body':_0x52e516});return _0x3a9717[_0x2062db(0x1d6)][_0x2062db(0x325)]&&_0x3a9717['body'][_0x2062db(0x325)][_0x2062db(0x2da)]!==je['OK']?_0x2062db(0x431):_0x3a9717[_0x2062db(0x1d6)][_0x2062db(0x3ac)];}catch{return'Failed';}}},exports[_0x13cd8a(0x2bf)]=rs([ue(0x0,a[_0x13cd8a(0x362)]),ue(0x1,a[_0x13cd8a(0x248)](G[_0x13cd8a(0x33c)])),ue(0x2,a[_0x13cd8a(0x386)])],exports['RemoteUniscriptService']),exports[_0x13cd8a(0x22d)]=xe,exports[_0x13cd8a(0x2b7)]=Ee,exports[_0x13cd8a(0x427)]=we,exports[_0x13cd8a(0x1d1)]=is,exports['WebURLService']=Be;
1
+ 'use strict';const _0xb1f837=_0x48f4;(function(_0x3608dd,_0x237221){const _0x1aa5ae=_0x48f4,_0x37151e=_0x3608dd();while(!![]){try{const _0x5c5bb1=parseInt(_0x1aa5ae(0x12f))/0x1*(-parseInt(_0x1aa5ae(0x116))/0x2)+-parseInt(_0x1aa5ae(0x167))/0x3*(parseInt(_0x1aa5ae(0xbf))/0x4)+-parseInt(_0x1aa5ae(0x1a9))/0x5+parseInt(_0x1aa5ae(0x1ef))/0x6*(parseInt(_0x1aa5ae(0x17a))/0x7)+-parseInt(_0x1aa5ae(0x21a))/0x8+-parseInt(_0x1aa5ae(0xab))/0x9+parseInt(_0x1aa5ae(0x2a1))/0xa;if(_0x5c5bb1===_0x237221)break;else _0x37151e['push'](_0x37151e['shift']());}catch(_0x54b833){_0x37151e['push'](_0x37151e['shift']());}}}(_0xd3b9,0xa7d44));var Ve=Object['defineProperty'],Xe=(_0x38d7fa,_0x3109be,_0x591fbb)=>_0x3109be in _0x38d7fa?Ve(_0x38d7fa,_0x3109be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x38d7fa[_0x3109be]=_0x591fbb,h=(_0x71385a,_0x38f520,_0x285afd)=>Xe(_0x71385a,typeof _0x38f520!='symbol'?_0x38f520+'':_0x38f520,_0x285afd);Object[_0xb1f837(0x1ca)](exports,Symbol[_0xb1f837(0x202)],{'value':_0xb1f837(0x139)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0xb1f837(0x19a)],ze=(_0x34a293,_0x223e71,_0x469792,_0x37e7e9)=>{const _0x3379e3=_0xb1f837;for(var _0x1f939b=_0x37e7e9>0x1?void 0x0:_0x37e7e9?qe(_0x223e71,_0x469792):_0x223e71,_0x250244=_0x34a293[_0x3379e3(0x257)]-0x1,_0x4f7c6a;_0x250244>=0x0;_0x250244--)(_0x4f7c6a=_0x34a293[_0x250244])&&(_0x1f939b=_0x4f7c6a(_0x1f939b)||_0x1f939b);return _0x1f939b;},Oe=(_0x243767,_0x5bb6ca)=>(_0x4235f7,_0x9fbd00)=>_0x5bb6ca(_0x4235f7,_0x9fbd00,_0x243767);let de=class extends a[_0xb1f837(0x292)]{constructor(_0x4e527f,_0x2b5b91){const _0x320d83=_0xb1f837;super(),this[_0x320d83(0xa3)]=_0x4e527f,this['_imageIoService']=_0x2b5b91,this['_init']();}[_0xb1f837(0x26a)](){const _0xcb9d10=_0xb1f837,_0x498701=this;this['disposeWithMe'](this[_0xcb9d10(0xa3)][_0xcb9d10(0x101)]({'onBeforePasteImage':async _0x2243e7=>{const _0x28120e=_0xcb9d10,_0x22b179=await _0x498701[_0x28120e(0x2d0)]['saveImage'](_0x2243e7);return _0x22b179?{'source':_0x22b179[_0x28120e(0x28d)],'imageSourceType':_0x22b179[_0x28120e(0x196)]}:null;}}));}};de=ze([Oe(0x0,E['IDocClipboardService']),Oe(0x1,Ge[_0xb1f837(0x200)])],de);const Te=['purple.300',_0xb1f837(0x293),_0xb1f837(0x1bb),_0xb1f837(0xec),_0xb1f837(0x136),_0xb1f837(0x198)];class me extends a['Disposable']{constructor(){const _0x1c8dd9=_0xb1f837;super(...arguments),h(this,_0x1c8dd9(0x26c),new Map()),h(this,_0x1c8dd9(0x23a),0x0);}['assignAColorForMemberID'](_0x1b9bd4){const _0x1b7046=_0xb1f837;if(this[_0x1b7046(0x26c)][_0x1b7046(0x1ea)](_0x1b9bd4))return this[_0x1b7046(0x26c)][_0x1b7046(0xd1)](_0x1b9bd4);const _0x14d5f6=Te[this['_colorIndex']];return this[_0x1b7046(0x23a)]=(this[_0x1b7046(0x23a)]+0x1)%Te[_0x1b7046(0x257)],this['_assignedColors'][_0x1b7046(0x134)](_0x1b9bd4,_0x14d5f6),_0x14d5f6;}}function Pe(_0x17bc09){const _0x33c1e7=_0xb1f837;let _0x4a9685='';for(const _0x41ef4c of _0x17bc09){const {startOffset:_0x33f084,endOffset:_0x40d7f9,isActive:_0x21a022,rangeType:_0xff6ce3,segmentId:_0x5c8a23,segmentPage:_0x51d7ca}=_0x41ef4c;_0x4a9685[_0x33c1e7(0x257)]&&(_0x4a9685+=','),_0x4a9685+=_0x33f084+':'+_0x40d7f9+':'+(_0x21a022?'1':'0')+':'+_0xff6ce3+':'+_0x5c8a23+':'+_0x51d7ca;}return _0x4a9685;}function Je(_0x57bb20){const _0x4c0aaf=_0xb1f837,_0x216439=_0x57bb20['split'](','),_0x383981=[];for(const _0x5a7c32 of _0x216439){const [_0x43a511,_0x4d7745,_0x1990a2,_0x239ce9,_0x19c508,_0x562dcd]=_0x5a7c32['split'](':');_0x383981[_0x4c0aaf(0xf9)]({'startOffset':Number(_0x43a511),'endOffset':Number(_0x4d7745),'collapsed':_0x43a511===_0x4d7745,'isActive':_0x1990a2==='1','rangeType':_0x239ce9===a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x183)]?a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x183)]:a[_0x4c0aaf(0xe3)][_0x4c0aaf(0x216)],'segmentId':typeof _0x19c508==_0x4c0aaf(0x73)?String(_0x19c508):'','segmentPage':Number(_0x562dcd!=null?_0x562dcd:-0x1)});}return _0x383981[_0x4c0aaf(0x1dd)](_0x3055cb=>_0x3055cb[_0x4c0aaf(0x204)])||(_0x383981[0x0][_0x4c0aaf(0x204)]=!0x0),_0x383981;}function _0xd3b9(){const _0x380b9f=['ILogService','_initDependencies','getTypeOfUnitAdded$','INVALID_INVITE_CODE','CONNECTOR_DATA_TOO_LARGE','_syncEditingCollabCursorService','_clearOtherTimers','onMouseMove','InsertRowCommandId','_init','_initEvent','_assignedColors','handleInsertRangeMoveRight','Unknown\x20user','key','_collabSessionService','createInstance','SetWorksheetActivateCommand','forwardRef','_docSkeleton','_commandService','history','_startDocCollabCursor','_urlService','dispose$','PY_RUNTIME_SCRIPT_ERROR','DeleteRangeMoveUpCommandId','IMessageService','post','SUBMIT_CHANGESET_TIMEOUT','white','MemberService','MUTATION','0\x200\x2016\x2016','data','ALREADY_EXISTS','DocSelectionManagerService','setItem','concat','sheetId','assign','location','_drawTextRange','addObjects','source','drawWith','pipe','findNodePositionByCharIndex','add','RxDisposable','jiqing.500','CollaborationSocketService','getLocalCacheKey','_refRangeService','ticket','_startSheetCollabCursor','UnitStatus','UNIVER_DOC','_themeService','_initStatusListener','_anchor','touchDependencies','registerBeforeClose','YUUMI_URL_COL_OUT_OF_RANGE','37488590fiqXLr','UniverIcon','tag','selections','_draw','Workbook','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','newValue','_scheduleClearOtherTimer','toDisposable','_updateURLWithCurrentState','stringify','map','_drawAnchor','Disposable','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationStatusDisplay','1em','bottom','LICENSE_MAX_UNITS_EXCEEDED','measureText','replace','extend','transformStateCache','ACTIVE_UNIT_EVENT_CHANNEL','collabCursorState$','_name','switchMap','_refreshCollabCursors','SetSelectionsOperation','href','SOCKET_FAILED','_collabCursorController','DataLoaderService','getCollabCursors$','YUUMI_CONNECTOR_URL_NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','contains','_docStateChangeManagerService','off-line-icon_clip0_910_343','indexOf','getCoordByCell','debounceTime','JOIN_ROOM_FAILED','getColor','Tools','height','_imageIoService','YUUMI_ASYNCIO_CANCELLED','NOT_FOUND','onStarting','saveTaskMap','_unitOnClients','NodePositionConvertToRectRange','INVITE_CODE_ALREADY_BOUND','fillStyle','from','getUniverSheetInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onPointerLeave$','backgroundColor','Subject','color','executeCommand','transformMutation','isTransformMutationsWithChangesetSuccess','APPLY_PERMISSION_DENIED','_saveCache','sessionTicket','Error','LOCAL_CACHE_INTERVAL','_scene','handleIRemoveRow','_localStorageService','rgba(255,\x20255,\x20255,\x200.01)','clearInterval','RemoteUniscriptService','useDependency','send','_unitStatus','selection','row','collab-client.tooltip.reconnect','prototype','string','pushState','translate(.97)','_univerInstanceService','getUndoRedoMutationParamsCache','unsubscribe','permission.title','DocSkeletonManagerService','_session','function','debug','cursorInfo$','registerRenderModule','WebBrowserSingleActiveUnitService','_render','OffLineIcon','_doCreateSocket','INTERNAL_ERROR','_range','_collaborationController','ColorKit','COLORS','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_IMPORT_SIZE_EXCEEDED','_anchorDot','dispose','startsWith','getMember','width','collab-text-range-','_cachedData','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hide','skeleton','_hover','_removeCollabCursors','arc','enableLocalCache','TEXT_RANGE_LAYER_INDEX','subscribeEvent','isArray','_hideTimer','_toggleOnline','_toggleOffline','toRgbString','subunit','getViewport','getTypeOfUnitDisposed$','_docClipboardService','icon','_localeService','getActiveSheet','none','/run/','hasOwnProperty','m1Prime','1835874ZvbYPw','OnLineIcon','path','setActiveRange','getMergeData','BehaviorSubject','propertyIsEnumerable','Rect','defIds','CollaborationSessionService','_updateLocalCursor','CollaborationController','getRelativeToViewportCoord','_send','handleDeleteRangeMoveUp','max','SOCKET_FAILED_RETRY','mutations','uni.network.url-service','BrowserCollaborationSocketService','64024cIrYTU','_dataLoaderService','defs','flatMap','transformSelections','Vector2','_createSocketURL','colorChannel1','_cursors','handleIRemoveCol','[CollaborationDataLoaderController]','debounce','Plugin','fillText','SheetCollabCursorShape','_docTransformStateCacheService','_removeClearOtherTimer','fill','get','isEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getUnitId','_selfUnitIDs','disposeWithMe','runId','Failed','NO_OTHER_CLIENTS_EDITING','loadUnit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','className','NOT_COLLAB','INotificationService','next','asObservable','replaceState','CollaborationUIEventService','DOC_RANGE_TYPE','transformRemoteChangeset','_getScale','YUUMI_ALL_TABLES_IS_INVALID','INVALID_ARGUMENT','setParam','_online','transformMutationsWithChangeset','all','red.300','_labelPosition','url(#on-line-icon_clip0_910_349)','range','call','_uiPartsService','ILocalCacheService','_logService','DeleteRangeMoveLeftCommandId','current','LOGIN_FAILED','collabStatus.notCollab','useCallback','push','requireSession','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getParam','_docSyncEditingCollabCursorService','DependentOn','params','getConfig','addClipboardHook','with','application/json','_id','ILocalStorageService','disableLocalCache','FETCH_MISS','getMemberID','getCollabEntity$','createElement','_scheduleSaving','doc.mutation.rich-text-editing','_getMergeRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CHANGESET_REVISION_CONFILICT','createSocket','jsx','startRow','collabStatus.synced','min','YUUMI_TABLE_NOT_FOUND_IN_UNIT','2522426ooBlXZ','transformIMECache','_renderManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_DISTRO_REJECTED','_context','distinctUntilChanged','entries','_notificationService','UNIVER_SHEET','collabStatus.syncing','hovered','_getSessionTicket','DisposableCollection','searchParams','_saveTaskMap','ranges','_getSheetObject','collaboration.closeRoom','SYNCED','_configService','DocStateChangeManagerService','reconnect','undoState','getUnitStatus$','1GDwDeE','APPLY_DUPLICATED','_disabled','ENSURE_SNAPSHOT_EXECUTION','MessageType','set','replaceDocRanges','blue.400','handleDeleteRangeMoveLeft','storage','Module','getCurrentRevOfUnit','EMAIL_HAS_BEEN_BOUND','_registerRenderDependencies','entityInit$','currentTheme$','forEach','collaboration.single-unit.warning','getSheetObject','TOO_MANY_REQUESTS','Warning','_injector','jsxs','getOwnPropertySymbols','_updateCollabCursors','IUIPartsService','_initCommandExecutedListener','div','getSheetId','urlChange$','_beforeCloseService','getColorFromTheme','IBeforeCloseService','AWAITING','subUnitId','OTHER_CLIENT_EDITING','PERMISSION_DENIED','LocaleService','onRendered','HEADER_MENU','docStateChange$','black','memberID','getAncestorScale','complete','moveTo','_backgroundColor','_heartbeatTimer','addObject','_eventUnsubscribe','_handleEvent','init','CONFLICT','...','textRanges','_hovered','129TpWlxp','eventID','_cursorShapes','registerRefRange','IRemoteInstanceService','_revisionService','_lastPointer','_collabCursorState$','setShapeProps','_entityInit$','CommandType','Injector','_onCursorUpdate','_config','Inject','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','UniverCollaborationClientUIPlugin','_messageService','7JQahXS','deepClone','_handleLeaveEvent','YUUMI_RATE_OVER_LIMIT','YUUMI_AI_RUN_FAILED','_shapes','toString','Optional','sheetID','TEXT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','assignAColorForMemberID','_initResize','CLOSE_ROOM','#FFF','http://www.w3.org/2000/svg','IUniverInstanceService','labelPosition','on-line-icon','addHandlerCallback','registerDependencies','_handleHover','MoveRangeCommandId','SHEET_VIEWPORT_KEY','show','LOCAL_CACHE_INTERVAL_KEY','DesktopCollaborationStatusDisplayController','attrs','imageSourceType','_onCursorDelete','yellow.400','children','getOwnPropertyDescriptor','M0\x200H16V16H0z','ICommandService','filter','redoState','isTransformMutationFailure','getSkeleton','OTHER_CLIENTS_EDITING','fillRule','override','generateRandomId','getRangePointData','substring','InsertRangeMoveRightCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','5007800gGmndA','endColumn','collabStatus.fetchMiss','_sheetSkeletonManagerService','column','ISocketService','engine','_docTransformSelectionsService','error','delete','handleInsertCol','_handleHeartbeatEvent','exhaustSavingTask','xlink:href','includes','onCommandExecuted','status$','then','green.600','ONLINE','displayName','UniverInstanceType','_roomMembers$','fromEvent','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','ITransformService','YUUMI_SUBSCRIPTION_NOT_FOUND','combineLatest','_registerDependencies','SetTextSelectionsOperation','find','defineProperty','save','_setupBeforeClosingHandler','subscribe','getFocusedUnit','name','session.collaboration-timeout','setStateCache','UNRECOGNIZED','origin','focused$','MOBILE_HAS_BEEN_BOUND','_textBubble','APPLY_NON_SEQUENTIAL_REVISION','clearTimeout','onLocalMutation','url(#$1','idSuffix','_onRefRangeChange','some','clipPath','size','SessionStatus','cursorInfo','unitID','FromArray','font','setInterval','roomMembers$','_cursor','DocCollaborationEntity','_transformHistoryAndStateStack','has','currentSkeleton$','_transformPreviousActiveRange','ISnapshotServerService','round','1548030yTVLmH','getRenderById','ThemeService','getStateCache','activeSheet$','APPLY_REVISION_CONFILICT','CollaborationStatus','_localCacheService','_memberService','_scheduleHeartbeat','transform','UNAUTHENTICATED','use','removeParam','on-line-icon_clip0_910_349','text','CollaborationDataLoaderController','IImageIoService','roomMembers','toStringTag','LICENSE_EXPORT_SIZE_EXCEEDED','isActive','INVITE_CODE_REQUIRED','takeUntil','body','COMPLETION_FINISHED','_handleJoinEvent','DEFAULT_WS_SESSION_TICKET_URL','merge','useObservable','connectInjector','_document','top','mergeOverrideWithDependencies','unitId','_status$','collabStatus.offline','resize','_transformUndoRedoStack','RECT','getVpScrollXYInfoByPosToVp','getDocRanges','random','1315352TQxiis','WECHAT_HAS_BEEN_BOUND','session.connection-failed','RegularPolygon','values','_drawRectRange','_colorAssignService','lineTo','setTimeout','apply','UNDEFINED','_setupSubUnitSync','serializeRangeWithSheet','CollaborationUIEventId','onPointerEnter$','restore','DocIMEInputManagerService','OFFLINE','RemoveColCommandId','_cursorInfo$','_ensureSubject','_docSkeletonManagerService','_httpService','UPDATE_CURSOR','unit','getValue','mapTo','USER_NOT_INVITED_CODE','YUUMI_UNABLE_LOAD_URL','_docTransformIMECacheService','getCurrent','unshift','_colorIndex','_instanceService','EffectRefRangId','event$','RevisionService','_initEntityListener','CollaborationEvent','MOBILE_VERIFY_CODE_MISMATCH','getSheetBySheetId','InsertColCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateSubUnitFromURLParams','mask','_initStatusComponent','getOffsetConfig','HTTPService','transformByState','trim','_color','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m2Prime','_collaborationUIEventService','_transformService','syncEditingCollabCursor','_getSaveTimeout','IConfigService','RemoveRowCommandId','currentColor','getUnhiddenWorksheets','length','parse','_entities','Tooltip','saveOfflineData','onPointerMove$','UniverCollaborationClientPlugin','USERS_LEAVE','Rectangle','APPLY_REJECT'];_0xd3b9=function(){return _0x380b9f;};return _0xd3b9();}class Ce extends a[_0xb1f837(0x292)]{constructor(){const _0x521f71=_0xb1f837;super(...arguments),h(this,_0x521f71(0x16e),new d[(_0x521f71(0xb0))](null)),h(this,_0x521f71(0x2ba),this[_0x521f71(0x16e)]['asObservable']());}[_0xb1f837(0x251)](_0x243aeb){const _0x4d6be8=_0xb1f837,{unitID:_0x563cee,memberID:_0x477e3e,textRanges:_0x18a888}=_0x243aeb,_0x522687=Pe(_0x18a888);if(_0x522687==='')return;const _0x191600={'unitID':_0x563cee,'memberID':_0x477e3e,'selection':_0x522687};this[_0x4d6be8(0x16e)][_0x4d6be8(0xdf)](_0x191600);}}var Ze=Object[_0xb1f837(0x19a)],Qe=(_0xf63b76,_0x18aba5,_0x52ff09,_0x43def2)=>{const _0x5ae4aa=_0xb1f837;for(var _0x104232=_0x43def2>0x1?void 0x0:_0x43def2?Ze(_0x18aba5,_0x52ff09):_0x18aba5,_0x55bab1=_0xf63b76[_0x5ae4aa(0x257)]-0x1,_0x10c8bf;_0x55bab1>=0x0;_0x55bab1--)(_0x10c8bf=_0xf63b76[_0x55bab1])&&(_0x104232=_0x10c8bf(_0x104232)||_0x104232);return _0x104232;},L=(_0xe48de9,_0x44fd87)=>(_0x35286d,_0x2cfdcd)=>_0x44fd87(_0x35286d,_0x2cfdcd,_0xe48de9);const et=0x12c,tt=0x64;let Ie=class extends a[_0xb1f837(0x292)]{constructor(_0x17cab1,_0x1dcd59,_0x1a496a,_0x102e3c,_0x1a1a68,_0x55141f,_0x1e8edc,_0x658578,_0x4c59eb){const _0x5d6973=_0xb1f837;super(),h(this,_0x5d6973(0xe9),!0x1),h(this,_0x5d6973(0x26a),!0x1),h(this,_0x5d6973(0x22d),new d['BehaviorSubject'](new Map())),h(this,_0x5d6973(0x7e),this['_cursorInfo$'][_0x5d6973(0xe0)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x5d6973(0x1e6),this[_0x5d6973(0x1bf)]['pipe'](d['debounceTime'](et))),h(this,_0x5d6973(0xb5),a[_0x5d6973(0xca)](_0x292cb6=>{const _0x522298=_0x5d6973,_0xeb8ef1={'eventID':m[_0x522298(0x240)][_0x522298(0x231)],'data':{'unitID':this[_0x522298(0x1e2)],'memberID':this['_session'][_0x522298(0x108)](),'selection':Pe(_0x292cb6)}};this['_session'][_0x522298(0x6d)](_0xeb8ef1,this['unitID']);},tt)),(this[_0x5d6973(0x1e2)]=_0x17cab1,this[_0x5d6973(0x7b)]=_0x1dcd59,this[_0x5d6973(0x144)]=_0x1a496a,this[_0x5d6973(0x220)]=_0x102e3c,this[_0x5d6973(0x1f7)]=_0x1a1a68,this[_0x5d6973(0x266)]=_0x55141f,this[_0x5d6973(0x250)]=_0x1e8edc,this[_0x5d6973(0x76)]=_0x658578,this[_0x5d6973(0x275)]=_0x4c59eb);}get['cursorInfo'](){const _0x489bf5=_0xb1f837;return this[_0x489bf5(0x22d)][_0x489bf5(0x233)]();}get[_0xb1f837(0x201)](){const _0x243130=_0xb1f837;return this['_roomMembers$'][_0x243130(0x233)]();}[_0xb1f837(0x8c)](){const _0x15d682=_0xb1f837;super[_0x15d682(0x8c)](),this[_0x15d682(0x22d)]['next'](new Map()),this[_0x15d682(0x22d)][_0x15d682(0x15b)](),this['_roomMembers$'][_0x15d682(0xdf)]([]),this[_0x15d682(0x1bf)]['complete']();}[_0xb1f837(0x162)](){const _0x20f7b5=_0xb1f837;this['_init']||(this[_0x20f7b5(0x26a)]=!0x0,this[_0x20f7b5(0x7b)][_0x20f7b5(0x177)][_0x20f7b5(0x28f)](d[_0x20f7b5(0x206)](this[_0x20f7b5(0x279)]))[_0x20f7b5(0x1cd)](_0x14c572=>{const _0x59228e=_0x20f7b5;_0x14c572===u[_0x59228e(0x1e0)][_0x59228e(0x1bc)]?this[_0x59228e(0x9d)]():this[_0x59228e(0x9e)]();}),this[_0x20f7b5(0x7b)][_0x20f7b5(0x23d)][_0x20f7b5(0x28f)](d['takeUntil'](this[_0x20f7b5(0x279)]))[_0x20f7b5(0x1cd)](_0x3891c0=>{const _0x3b2981=_0x20f7b5,_0x24e78f=_0x3891c0[_0x3b2981(0x168)];_0x24e78f===m['CollaborationEvent'][_0x3b2981(0x231)]&&this[_0x3b2981(0x173)](_0x3891c0),_0x24e78f===m[_0x3b2981(0x240)][_0x3b2981(0x25e)]&&this[_0x3b2981(0x197)](_0x3891c0);}),this[_0x20f7b5(0xd6)](this[_0x20f7b5(0x275)][_0x20f7b5(0x1b8)](_0x16883a=>{const _0x4f22fa=_0x20f7b5,_0x1508fc=_0x16883a['params'];_0x1508fc!=null&&this['_online']&&_0x16883a['id']===Y[_0x4f22fa(0x1c8)]['id']&&_0x1508fc['unitId']===this['unitID']&&_0x1508fc[_0x4f22fa(0xd2)]===!0x1&&_0x1508fc[_0x4f22fa(0x126)]['length']>0x0&&this[_0x4f22fa(0xb5)](_0x1508fc[_0x4f22fa(0x126)]);})),this[_0x20f7b5(0x266)][_0x20f7b5(0x2ba)]['pipe'](d[_0x20f7b5(0x206)](this['dispose$']))[_0x20f7b5(0x1cd)](_0x36822b=>{const _0x509463=_0x20f7b5;if((_0x36822b==null?void 0x0:_0x36822b[_0x509463(0x1e2)])!==this[_0x509463(0x1e2)])return;const _0x38e683={'eventID':m[_0x509463(0x240)][_0x509463(0x231)],'data':_0x36822b};this[_0x509463(0x173)](_0x38e683);}),this[_0x20f7b5(0xd6)](this[_0x20f7b5(0x275)][_0x20f7b5(0x1b8)](_0x49db34=>{const _0x2ac159=_0x20f7b5;if(_0x49db34[_0x2ac159(0xff)]==null)return;const _0x141048=_0x49db34[_0x2ac159(0xff)];if(_0x49db34['id']!==Y['RichTextEditingMutation']['id']||_0x141048[_0x2ac159(0x211)]!==this['unitID'])return;const _0x1325ce={'id':'doc.mutation.rich-text-editing','params':_0x141048},_0x26d83f=this[_0x2ac159(0x1e1)];for(const [_0x2f3780,_0x21a859]of _0x26d83f){const _0x319800={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2ac159(0x1e2)],'actions':null,'textRanges':_0x21a859[_0x2ac159(0x126)]}},_0x9b6527=this[_0x2ac159(0x250)]['transformMutation'](_0x1325ce,_0x319800,!0x1);if(m[_0x2ac159(0x19f)](_0x9b6527))throw _0x9b6527[_0x2ac159(0x1b1)];_0x26d83f['set'](_0x2f3780,{..._0x21a859,'ranges':_0x9b6527['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5bf57a=_0x2ac159;this[_0x5bf57a(0x22d)]['next'](_0x26d83f);});})));}[_0xb1f837(0x173)](_0x54dc94){const _0x4faf7b=_0xb1f837;var _0x463f5f,_0x5e41ee;const {memberID:_0x5f3c5c,selection:_0x487188}=_0x54dc94['data'],_0x5348cb=Je(_0x487188),_0x5e2961=(_0x5e41ee=(_0x463f5f=this['_memberService'][_0x4faf7b(0x8e)](this[_0x4faf7b(0x1e2)],_0x5f3c5c))==null?void 0x0:_0x463f5f['name'])!=null?_0x5e41ee:'Unknown\x20user',_0x3c7269={'color':this['_colorAssignService'][_0x4faf7b(0x185)](_0x5f3c5c),'name':_0x5e2961,'ranges':_0x5348cb},_0x536858=this[_0x4faf7b(0x1e1)];_0x536858[_0x4faf7b(0x134)](_0x5f3c5c,_0x3c7269),this['_cursorInfo$'][_0x4faf7b(0xdf)](_0x536858);}[_0xb1f837(0x197)](_0xef0e49){const _0x20e753=_0xb1f837,{memberID:_0x507298}=_0xef0e49[_0x20e753(0x283)],_0x48476b=this['cursorInfo'];_0x48476b['delete'](_0x507298),this[_0x20e753(0x22d)][_0x20e753(0xdf)](_0x48476b);}['_toggleOnline'](){const _0x3dcc30=_0xb1f837;var _0x1871ed;if(this[_0x3dcc30(0xe9)]=!0x0,((_0x1871ed=this[_0x3dcc30(0x76)][_0x3dcc30(0x1ce)]())==null?void 0x0:_0x1871ed[_0x3dcc30(0xd4)]())!==this[_0x3dcc30(0x1e2)])return;const _0x2ac9e2=this['_injector'][_0x3dcc30(0xd1)](Y['DocSelectionManagerService'])[_0x3dcc30(0x218)]();Array[_0x3dcc30(0x9b)](_0x2ac9e2)&&_0x2ac9e2[_0x3dcc30(0x257)]>0x0&&this[_0x3dcc30(0xb5)](_0x2ac9e2);}[_0xb1f837(0x9e)](){const _0x20131d=_0xb1f837;this[_0x20131d(0xe9)]=!0x1;}};Ie=Qe([L(0x2,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),L(0x3,a[_0xb1f837(0x175)](me)),L(0x4,a['Inject'](u['MemberService'])),L(0x5,a[_0xb1f837(0x175)](Ce)),L(0x6,m[_0xb1f837(0x1c4)]),L(0x7,a[_0xb1f837(0x18a)]),L(0x8,a[_0xb1f837(0x19c)])],Ie);var st=Object[_0xb1f837(0x19a)],it=(_0x3c4f9a,_0x10e4f5,_0x5daf7c,_0x27763f)=>{for(var _0x5054f8=_0x27763f>0x1?void 0x0:_0x27763f?st(_0x10e4f5,_0x5daf7c):_0x10e4f5,_0x57f4de=_0x3c4f9a['length']-0x1,_0x2db314;_0x57f4de>=0x0;_0x57f4de--)(_0x2db314=_0x3c4f9a[_0x57f4de])&&(_0x5054f8=_0x2db314(_0x5054f8)||_0x5054f8);return _0x5054f8;},A=(_0x34e1fa,_0x268fb7)=>(_0x36791d,_0x3962f8)=>_0x268fb7(_0x36791d,_0x3962f8,_0x34e1fa);const nt=0x12c,rt=0x64,ot=()=>{let _0xc4f643=[],_0x4ff7eb=!0x1;return _0x5a0a39=>{_0xc4f643['push'](_0x5a0a39),_0x4ff7eb||(_0x4ff7eb=!0x0,setTimeout(()=>{const _0x26dae4=_0x48f4;_0xc4f643[_0x26dae4(0x13f)](_0x26e1cc=>_0x26e1cc()),_0xc4f643=[],_0x4ff7eb=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x4d2dad,_0x57bcec,_0x393856,_0x4761f9,_0x2ef8bd,_0x18fca2,_0x2177da,_0x5b3c4f){const _0x5344c4=_0xb1f837;super(),h(this,'_online',!0x1),h(this,_0x5344c4(0x26a),!0x1),h(this,_0x5344c4(0x22d),new d['BehaviorSubject'](new Map())),h(this,_0x5344c4(0x7e),this[_0x5344c4(0x22d)][_0x5344c4(0xe0)]()),h(this,'_roomMembers$',new d[(_0x5344c4(0xb0))]([])),h(this,_0x5344c4(0x1e6),this[_0x5344c4(0x1bf)]['pipe'](d[_0x5344c4(0x2cb)](nt))),h(this,_0x5344c4(0xb5),a[_0x5344c4(0xca)]((_0x4ef0fa,_0x310ac4)=>{const _0x5e9cdb=_0x5344c4,_0x1ce614={'eventID':m['CollaborationEvent'][_0x5e9cdb(0x231)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':be[_0x5e9cdb(0x226)](_0x4ef0fa,_0x310ac4[_0x5e9cdb(0xef)])}};this['_session'][_0x5e9cdb(0x6d)](_0x1ce614,this[_0x5e9cdb(0x1e2)]);},rt)),(this['unitID']=_0x4d2dad,this[_0x5344c4(0x7b)]=_0x57bcec,this[_0x5344c4(0x144)]=_0x393856,this[_0x5344c4(0x220)]=_0x4761f9,this[_0x5344c4(0x1f7)]=_0x2ef8bd,this[_0x5344c4(0x76)]=_0x18fca2,this[_0x5344c4(0x275)]=_0x2177da,this['_refRangeService']=_0x5b3c4f);}get['cursorInfo'](){const _0x5b4481=_0xb1f837;return this['_cursorInfo$'][_0x5b4481(0x233)]();}get[_0xb1f837(0x201)](){const _0x31cf12=_0xb1f837;return this[_0x31cf12(0x1bf)][_0x31cf12(0x233)]();}['dispose'](){const _0x5defd4=_0xb1f837;super[_0x5defd4(0x8c)](),this[_0x5defd4(0x22d)][_0x5defd4(0xdf)](new Map()),this['_cursorInfo$'][_0x5defd4(0x15b)](),this[_0x5defd4(0x1bf)][_0x5defd4(0xdf)]([]),this['_roomMembers$'][_0x5defd4(0x15b)]();}[_0xb1f837(0x162)](){const _0x2d42c3=_0xb1f837;this[_0x2d42c3(0x26a)]||(this['_init']=!0x0,this[_0x2d42c3(0x7b)][_0x2d42c3(0x177)][_0x2d42c3(0x28f)](d[_0x2d42c3(0x206)](this[_0x2d42c3(0x279)]))[_0x2d42c3(0x1cd)](_0x54368f=>{const _0x32684f=_0x2d42c3;_0x54368f===u[_0x32684f(0x1e0)][_0x32684f(0x1bc)]?this[_0x32684f(0x9d)]():this[_0x32684f(0x9e)]();}),this['_session']['event$']['pipe'](d[_0x2d42c3(0x206)](this[_0x2d42c3(0x279)]))[_0x2d42c3(0x1cd)](_0x46b768=>{const _0x47e5ae=_0x2d42c3,_0x3f1cea=_0x46b768[_0x47e5ae(0x168)];_0x3f1cea===m['CollaborationEvent'][_0x47e5ae(0x231)]&&this[_0x47e5ae(0x173)](_0x46b768),_0x3f1cea===m[_0x47e5ae(0x240)][_0x47e5ae(0x25e)]&&this[_0x47e5ae(0x197)](_0x46b768);}),this[_0x2d42c3(0x1dc)](),this[_0x2d42c3(0xd6)](this[_0x2d42c3(0x275)]['onCommandExecuted'](_0x45dcf8=>{const _0x45ca45=_0x2d42c3;if(this[_0x45ca45(0xe9)]&&_0x45dcf8['id']===g[_0x45ca45(0x2be)]['id']&&_0x45dcf8[_0x45ca45(0xff)][_0x45ca45(0x211)]===this[_0x45ca45(0x1e2)]){const _0x336542=_0x45dcf8['params'];this[_0x45ca45(0xb5)](_0x336542[_0x45ca45(0x151)],_0x336542[_0x45ca45(0x2a4)][0x0]);}})));}[_0xb1f837(0x173)](_0x223fac){const _0x2aba24=_0xb1f837;var _0x11b069,_0x12257c;const {memberID:_0x3ac1e9,selection:_0x4fae72}=_0x223fac[_0x2aba24(0x283)],{sheetName:_0x4ed1bb,range:_0x2ea872}=be['deserializeRangeWithSheet'](_0x4fae72),_0x219178={'name':(_0x12257c=(_0x11b069=this['_memberService'][_0x2aba24(0x8e)](this['unitID'],_0x3ac1e9))==null?void 0x0:_0x11b069['name'])!=null?_0x12257c:_0x2aba24(0x26e),'range':this[_0x2aba24(0x10d)](_0x4ed1bb,_0x2ea872),'sheetID':_0x4ed1bb,'color':this[_0x2aba24(0x220)][_0x2aba24(0x185)](_0x3ac1e9),'selection':_0x4fae72},_0x1294b8=this[_0x2aba24(0x1e1)];_0x1294b8['set'](_0x3ac1e9,_0x219178),this['_cursorInfo$'][_0x2aba24(0xdf)](_0x1294b8);}[_0xb1f837(0x197)](_0x4deaf5){const _0x55cc80=_0xb1f837,{memberID:_0x19fae9}=_0x4deaf5[_0x55cc80(0x283)],_0x3a287f=this[_0x55cc80(0x1e1)];_0x3a287f[_0x55cc80(0x1b2)](_0x19fae9),this['_cursorInfo$'][_0x55cc80(0xdf)](_0x3a287f);}[_0xb1f837(0x10d)](_0x3c5f21,_0x126858){const _0x18ac6d=_0xb1f837;var _0x496bbd,_0x4b9b29;const _0x1f9d29=(_0x4b9b29=(_0x496bbd=this['_univerInstanceService'][_0x18ac6d(0x2da)](this[_0x18ac6d(0x1e2)]))==null?void 0x0:_0x496bbd['getSheetBySheetId'](_0x3c5f21))==null?void 0x0:_0x4b9b29[_0x18ac6d(0xaf)]();return(_0x1f9d29==null?void 0x0:_0x1f9d29[_0x18ac6d(0x1c9)](_0xbc3001=>a[_0x18ac6d(0x25f)][_0x18ac6d(0x2c6)](_0xbc3001,_0x126858)))||_0x126858;}[_0xb1f837(0x1dc)](){const _0x355586=_0xb1f837,_0x2b226c=new a[(_0x355586(0x123))](),_0x5f4af4=ot(),_0xeb0188=()=>{const _0x5b90ff=_0x355586;_0x2b226c[_0x5b90ff(0x8c)]();const _0x19b73e=(_0x2026bf,_0x514ced,_0x3ccf9a,_0x436a56)=>{const _0x19a7ff=_0x5b90ff;let _0x1acc34=[];switch(_0x2026bf['id']){case g[_0x19a7ff(0x23c)][_0x19a7ff(0xf4)]:{_0x1acc34=g[_0x19a7ff(0x137)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x27b)]:{_0x1acc34=g[_0x19a7ff(0xb9)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x243)]:{_0x1acc34=g[_0x19a7ff(0x1b3)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)]['InsertRangeMoveDownCommandId']:{_0x1acc34=g[_0x19a7ff(0x1c1)](_0x2026bf,_0x436a56);break;}case g['EffectRefRangId'][_0x19a7ff(0x1a7)]:{_0x1acc34=g[_0x19a7ff(0x26d)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x269)]:{_0x1acc34=g['handleInsertRow'](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x190)]:{_0x1acc34=g['handleMoveRange'](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x22c)]:{_0x1acc34=g[_0x19a7ff(0xc8)](_0x2026bf,_0x436a56);break;}case g[_0x19a7ff(0x23c)][_0x19a7ff(0x254)]:{_0x1acc34=g[_0x19a7ff(0x2e9)](_0x2026bf,_0x436a56);break;}}const _0x164092=g['runRefRangeMutations'](_0x1acc34,_0x436a56),_0x160f96=this[_0x19a7ff(0x1e1)][_0x19a7ff(0xd1)](_0x514ced);if(_0x160f96&&_0x164092){const _0x199022={..._0x160f96,'range':_0x164092};this['cursorInfo']['set'](_0x514ced,_0x199022),_0x5f4af4(()=>{const _0x3b3eb9=_0x19a7ff,_0x39413e=this[_0x3b3eb9(0x296)]['registerRefRange'](_0x164092,_0x164d7b=>(_0x39413e[_0x3b3eb9(0x8c)](),_0x19b73e(_0x164d7b,_0x514ced,_0x3ccf9a,_0x164092)));_0x2b226c['add'](_0x39413e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5b90ff(0x13f)]((_0x418eea,_0x1028ab)=>{const _0x247172=_0x5b90ff,{range:_0x3d9640,sheetID:_0x579ed7}=_0x418eea,_0x1fe987=this['_refRangeService'][_0x247172(0x16a)](_0x3d9640,_0x1d2caf=>(_0x1fe987['dispose'](),_0x19b73e(_0x1d2caf,_0x1028ab,_0x579ed7,_0x3d9640)));_0x2b226c[_0x247172(0x291)](_0x1fe987);});};this[_0x355586(0xd6)](a[_0x355586(0x2aa)](this['_cursorInfo$'][_0x355586(0x1cd)](()=>{_0xeb0188();})));}[_0xb1f837(0x9d)](){const _0xac19c2=_0xb1f837;var _0x11ca21,_0x56ba36;if(this['_online']=!0x0,((_0x11ca21=this['_univerInstanceService'][_0xac19c2(0x1ce)]())==null?void 0x0:_0x11ca21[_0xac19c2(0xd4)]())!==this[_0xac19c2(0x1e2)])return;const _0x12bcae=(_0x56ba36=this[_0xac19c2(0x144)][_0xac19c2(0xd1)](g['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x56ba36[0x0],_0x4132c8=this[_0xac19c2(0x76)]['getCurrentUnitForType'](a[_0xac19c2(0x1be)]['UNIVER_SHEET'])['getActiveSheet']();_0x12bcae&&_0x4132c8&&this[_0xac19c2(0xb5)](_0x4132c8[_0xac19c2(0x14b)](),_0x12bcae);}[_0xb1f837(0x9e)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),A(0x3,a[_0xb1f837(0x175)](me)),A(0x4,a['Inject'](u[_0xb1f837(0x280)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0xb1f837(0x19c)]),A(0x7,a[_0xb1f837(0x175)](g['RefRangeService']))],Se);var at=Object[_0xb1f837(0x19a)],ct=(_0x2207bc,_0x567e4c,_0x4b30f5,_0x54eb05)=>{const _0x21ce95=_0xb1f837;for(var _0xb848f7=_0x54eb05>0x1?void 0x0:_0x54eb05?at(_0x567e4c,_0x4b30f5):_0x567e4c,_0x19e957=_0x2207bc[_0x21ce95(0x257)]-0x1,_0x363d58;_0x19e957>=0x0;_0x19e957--)(_0x363d58=_0x2207bc[_0x19e957])&&(_0xb848f7=_0x363d58(_0xb848f7)||_0xb848f7);return _0xb848f7;},ie=(_0x41b9b8,_0x2ddcce)=>(_0x65ae80,_0xa7ead3)=>_0x2ddcce(_0x65ae80,_0xa7ead3,_0x41b9b8);let x=class extends a[_0xb1f837(0x292)]{constructor(_0x1687b7,_0x4f9d80,_0x4f9537){const _0x2f85bb=_0xb1f837;super(),h(this,_0x2f85bb(0x259),new Map()),h(this,_0x2f85bb(0x170),new d[(_0x2f85bb(0x2de))]()),(this[_0x2f85bb(0x76)]=_0x1687b7,this['_injector']=_0x4f9d80,this[_0x2f85bb(0x270)]=_0x4f9537,this[_0x2f85bb(0x26a)]());}[_0xb1f837(0x8c)](){const _0x395974=_0xb1f837;super[_0x395974(0x8c)](),this[_0x395974(0x170)][_0x395974(0x15b)](),this['_entities'][_0x395974(0x13f)](_0x53a5f9=>_0x53a5f9['dispose']());}[_0xb1f837(0x2c3)](_0x2091bb){const _0x242b2f=_0xb1f837;return this[_0x242b2f(0x259)]['has'](_0x2091bb)?this['_entities'][_0x242b2f(0xd1)](_0x2091bb)[_0x242b2f(0x7e)]:this[_0x242b2f(0x170)][_0x242b2f(0x28f)](d[_0x242b2f(0x19d)](_0x48c560=>_0x48c560[_0x242b2f(0x1e2)]===_0x2091bb),d['switchMap'](_0x1ec27b=>_0x1ec27b['cursorInfo$']));}['_init'](){const _0x35b233=_0xb1f837;this[_0x35b233(0x76)][_0x35b233(0x263)](a[_0x35b233(0x1be)][_0x35b233(0x11f)])[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))['subscribe'](async _0xae911c=>{const _0x2c2966=_0x35b233,_0x3236f2=_0xae911c[_0x2c2966(0xd4)](),_0x10c3ad=await this[_0x2c2966(0x298)](_0x3236f2);this[_0x2c2966(0x170)][_0x2c2966(0xdf)](_0x10c3ad),this['_entities'][_0x2c2966(0x134)](_0x3236f2,_0x10c3ad);}),this[_0x35b233(0x76)][_0x35b233(0x263)](a[_0x35b233(0x1be)][_0x35b233(0x29a)])[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))[_0x35b233(0x28f)](d[_0x35b233(0x19d)](_0x43fcf6=>!_0x43fcf6[_0x35b233(0xd4)]()[_0x35b233(0x8d)]('__')))['subscribe'](async _0x2fc17e=>{const _0x5cf01c=_0x35b233,_0x3fef6e=_0x2fc17e[_0x5cf01c(0xd4)](),_0x4b8bd0=await this['_startDocCollabCursor'](_0x3fef6e);this['_entityInit$'][_0x5cf01c(0xdf)](_0x4b8bd0),this[_0x5cf01c(0x259)][_0x5cf01c(0x134)](_0x3fef6e,_0x4b8bd0);}),d[_0x35b233(0x20b)](this[_0x35b233(0x76)][_0x35b233(0xa2)](a[_0x35b233(0x1be)][_0x35b233(0x29a)]),this[_0x35b233(0x76)][_0x35b233(0xa2)](a['UniverInstanceType'][_0x35b233(0x11f)]))[_0x35b233(0x28f)](d[_0x35b233(0x206)](this['dispose$']))['subscribe'](_0x515bc5=>{const _0x45187f=_0x35b233,_0x378870=_0x515bc5[_0x45187f(0xd4)](),_0x525a0a=this[_0x45187f(0x259)]['get'](_0x378870);_0x525a0a&&(_0x525a0a[_0x45187f(0x8c)](),this[_0x45187f(0x259)][_0x45187f(0x1b2)](_0x378870));});}async[_0xb1f837(0x298)](_0x1ea965){const _0x2ac999=_0xb1f837,_0x196579=await this[_0x2ac999(0x270)]['requireSession'](_0x1ea965),_0x27aee9=this[_0x2ac999(0x144)]['createInstance'](Se,_0x1ea965,_0x196579);return _0x27aee9[_0x2ac999(0x162)](),_0x27aee9;}async[_0xb1f837(0x277)](_0x752475){const _0x4f1202=_0xb1f837,_0x57dbdb=await this['_collabSessionService'][_0x4f1202(0xfa)](_0x752475),_0x1cbd1b=this[_0x4f1202(0x144)][_0x4f1202(0x271)](Ie,_0x752475,_0x57dbdb);return _0x1cbd1b[_0x4f1202(0x162)](),_0x1cbd1b;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),ie(0x2,a[_0xb1f837(0x175)](u[_0xb1f837(0xb4)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4a82fe,_0x5c9666){const _0x38d3ed=_0xb1f837;let {radius:_0x4cdfae,width:_0x5afed0,height:_0x39d15f}=_0x5c9666;_0x4cdfae=_0x4cdfae!=null?_0x4cdfae:0x0,_0x5afed0=_0x5afed0!=null?_0x5afed0:0x1e,_0x39d15f=_0x39d15f!=null?_0x39d15f:0x1e;let _0x5f2df6=0x0,_0x18864a=0x0,_0x168b7c=0x0;_0x5f2df6=_0x18864a=_0x168b7c=Math[_0x38d3ed(0x114)](_0x4cdfae,_0x5afed0/0x2,_0x39d15f/0x2),_0x4a82fe['beginPath'](),_0x4a82fe[_0x38d3ed(0x15c)](_0x5f2df6,0x0),_0x4a82fe[_0x38d3ed(0x221)](_0x5afed0-_0x18864a,0x0),_0x4a82fe[_0x38d3ed(0x97)](_0x5afed0-_0x18864a,_0x18864a,_0x18864a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a82fe[_0x38d3ed(0x221)](_0x5afed0,_0x39d15f-_0x168b7c),_0x4a82fe['arc'](_0x5afed0-_0x168b7c,_0x39d15f-_0x168b7c,_0x168b7c,0x0,Math['PI']/0x2,!0x1),_0x4a82fe[_0x38d3ed(0x221)](0x0,_0x39d15f),_0x4a82fe['lineTo'](0x0,_0x5f2df6),_0x4a82fe['arc'](_0x5f2df6,_0x5f2df6,_0x5f2df6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a82fe['closePath'](),_0x5c9666[_0x38d3ed(0xd0)]&&(_0x4a82fe['save'](),_0x4a82fe[_0x38d3ed(0x2d8)]=_0x5c9666[_0x38d3ed(0xd0)],_0x5c9666[_0x38d3ed(0x1a2)]==='evenodd'?_0x4a82fe['fill']('evenodd'):_0x4a82fe['fill'](),_0x4a82fe[_0x38d3ed(0x229)]());}class ee extends p['Shape']{constructor(_0x5e7628,_0x467f7b){const _0x354222=_0xb1f837;super(_0x5e7628,_0x467f7b),h(this,_0x354222(0x2df)),h(this,_0x354222(0x1fe)),(this['color']=_0x467f7b==null?void 0x0:_0x467f7b['color'],this[_0x354222(0x1fe)]=_0x467f7b==null?void 0x0:_0x467f7b['text']);}static[_0xb1f837(0x28e)](_0x35cc06,_0x133650){const _0x139330=_0xb1f837,{text:_0x4a8854,color:_0x8d07d9}=_0x133650;_0x35cc06[_0x139330(0x1cb)](),_0x35cc06[_0x139330(0x1e4)]=_0x139330(0xfb);const _0x2794f6=_0x35cc06['measureText'](_0x4a8854)[_0x139330(0x8f)],_0x24cf9d=Math[_0x139330(0x114)](_0x2794f6+0x2*ne,Re);_t(_0x35cc06,{'height':K,'radius':0x4,'width':_0x24cf9d,'fill':_0x8d07d9}),_0x35cc06[_0x139330(0x2d8)]=_0x139330(0x188);const _0x3dfcee=ne,_0xcac2c8=K-lt,_0xbe8d53=Re-0x2*ne;if(_0x2794f6>_0xbe8d53){let _0x1a39f0='',_0x51637f=0x0;for(const _0x54f7ee of _0x4a8854){const _0x29ea4c=_0x35cc06['measureText'](_0x54f7ee)['width'];if(_0x51637f+_0x29ea4c<=_0xbe8d53-_0x35cc06[_0x139330(0x2b5)](_0x139330(0x164))['width'])_0x1a39f0+=_0x54f7ee,_0x51637f+=_0x29ea4c;else{_0x1a39f0+=_0x139330(0x164);break;}}_0x35cc06[_0x139330(0xcc)](_0x1a39f0,_0x3dfcee,_0xcac2c8);}else _0x35cc06['fillText'](_0x4a8854,_0x3dfcee,_0xcac2c8);_0x35cc06[_0x139330(0x229)]();}[_0xb1f837(0x2a5)](_0x4250e3){const _0x1e1ff4=_0xb1f837;ee[_0x1e1ff4(0x28e)](_0x4250e3,this);}}const re='collab-text-anchor-',ht=_0xb1f837(0x90),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0xb1f837(0x2eb);class De{constructor(_0x53925c,_0x5abe4a,_0x93e40f,_0x439b4f){const _0x56c2b0=_0xb1f837;h(this,_0x56c2b0(0x17f),[]),h(this,_0x56c2b0(0x29d),null),h(this,_0x56c2b0(0x1d6),null),h(this,'_anchorDot',null),h(this,_0x56c2b0(0x9c),null),h(this,_0x56c2b0(0x160),null),(this[_0x56c2b0(0x1e7)]=_0x53925c,this['_scene']=_0x5abe4a,this[_0x56c2b0(0x274)]=_0x93e40f,this[_0x56c2b0(0x20e)]=_0x439b4f,this[_0x56c2b0(0x81)]());}set['_hover'](_0xaa9f74){const _0xad53f2=_0xb1f837;_0xaa9f74?(this[_0xad53f2(0x8b)]&&this[_0xad53f2(0x8b)]['hide'](),this[_0xad53f2(0x1d6)]&&this[_0xad53f2(0x1d6)][_0xad53f2(0x192)]()):(this[_0xad53f2(0x8b)]&&this[_0xad53f2(0x8b)][_0xad53f2(0x192)](),this[_0xad53f2(0x1d6)]&&this[_0xad53f2(0x1d6)][_0xad53f2(0x93)]());}[_0xb1f837(0x8c)](){const _0x235f30=_0xb1f837;for(const _0x266aef of this['_shapes'])_0x266aef['dispose']();this['_textBubble']&&this[_0x235f30(0x1d6)][_0x235f30(0x8c)](),this[_0x235f30(0x8b)]&&this['_anchorDot'][_0x235f30(0x8c)](),this[_0x235f30(0x29d)]&&this[_0x235f30(0x29d)][_0x235f30(0x8c)](),this[_0x235f30(0x160)]&&this['_eventUnsubscribe']();}[_0xb1f837(0x81)](){const _0x2ee2b3=_0xb1f837;var _0x11261b;const {_docSkeleton:_0x150245,_document:_0xe11cf0}=this,{color:_0x548914,name:_0x4c5b08,ranges:_0x2ab1e8}=this[_0x2ee2b3(0x1e7)],_0x43948e=_0xe11cf0[_0x2ee2b3(0x248)](),{docsLeft:_0x2cbed9,docsTop:_0x395182}=_0x43948e,_0x582ab9=new E['NodePositionConvertToCursor'](_0x43948e,_0x150245);for(const {startOffset:_0x28d00a,endOffset:_0x21d18c,rangeType:_0x58bde7,segmentId:_0x5b5998,segmentPage:_0x4a98c3,collapsed:_0x262203,isActive:_0x41e34f}of _0x2ab1e8){const _0x10bc69=_0x150245[_0x2ee2b3(0x290)](_0x28d00a,!0x0,_0x5b5998,_0x4a98c3);let _0x2b2efe=_0x150245[_0x2ee2b3(0x290)](_0x21d18c,!0x0,_0x5b5998,_0x4a98c3);if(_0x2b2efe==null&&(_0x2b2efe=_0x150245[_0x2ee2b3(0x290)](_0x21d18c-0x1,!0x1,_0x5b5998,_0x4a98c3)),_0x41e34f){const {contentBoxPointGroup:_0x407eac}=_0x582ab9[_0x2ee2b3(0x1a5)](_0x2b2efe,_0x2b2efe);if(_0x407eac[_0x2ee2b3(0x257)]===0x0)continue;this[_0x2ee2b3(0x2ae)](_0x548914,_0x407eac,_0x2cbed9,_0x395182,_0x4c5b08),this['_eventUnsubscribe']=this[_0x2ee2b3(0x18f)]();}if(_0x10bc69&&_0x2b2efe){if(_0x58bde7===a['DOC_RANGE_TYPE'][_0x2ee2b3(0x216)]){const _0x43aa78=new E[(_0x2ee2b3(0x2d6))](_0x43948e,_0x150245),{pointGroup:_0x2525b6}=(_0x11261b=_0x43aa78[_0x2ee2b3(0x1a5)](_0x10bc69,_0x2b2efe))!=null?_0x11261b:{};if(_0x2525b6==null||_0x2525b6[_0x2ee2b3(0x257)]===0x0)continue;this[_0x2ee2b3(0x21f)](_0x548914,_0x2525b6,_0x2cbed9,_0x395182);}else{if(!_0x262203){const {borderBoxPointGroup:_0xb00c12}=_0x582ab9[_0x2ee2b3(0x1a5)](_0x10bc69,_0x2b2efe);if(_0xb00c12['length']===0x0)continue;this[_0x2ee2b3(0x28b)](_0x548914,_0xb00c12,_0x2cbed9,_0x395182);}}}}}[_0xb1f837(0x2ae)](_0x5a9690,_0x441679,_0x45f750,_0x2bad5e,_0x40bc50){const _0x562e2a=_0xb1f837,_0x275e61=this['_getAnchorBounding'](_0x441679),{left:_0x4d6fb2,top:_0x4bbc1f,height:_0x4ac571}=_0x275e61,_0x31ba20=this[_0x562e2a(0xe5)](),_0xf647c0=It/_0x31ba20,_0x5666cd=new p['Rect'](re+a['generateRandomId'](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e,'height':_0x4ac571,'width':dt,'fill':_0x5a9690||p[_0x562e2a(0x2cd)](a[_0x562e2a(0x88)]['black'],0x0),'strokeWidth':_0xf647c0,'stroke':St,'evented':!0x0});this[_0x562e2a(0x29d)]=_0x5666cd,this['_scene'][_0x562e2a(0x15f)](_0x5666cd,E['TEXT_RANGE_LAYER_INDEX']);const _0x51d4a6=new p[(_0x562e2a(0xb2))](re+a['generateRandomId'](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e-oe/0x2,'height':oe,'width':oe,'fill':_0x5a9690||p['getColor'](a[_0x562e2a(0x88)][_0x562e2a(0x158)],0x0),'strokeWidth':0x0,'stroke':_0x5a9690||p['getColor'](a[_0x562e2a(0x88)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x51d4a6,this[_0x562e2a(0x2e8)][_0x562e2a(0x15f)](_0x51d4a6,E['TEXT_RANGE_LAYER_INDEX']);const _0xce453=new ee(re+a[_0x562e2a(0x1a4)](k),{'left':_0x4d6fb2+_0x45f750-_0xf647c0,'top':_0x4bbc1f+_0x2bad5e-K,'text':_0x40bc50,'color':_0x5a9690});this[_0x562e2a(0x1d6)]=_0xce453,this['_scene']['addObject'](_0xce453,E[_0x562e2a(0x99)]),this[_0x562e2a(0x95)]=!0x1;}['_handleHover'](){const _0xa8060c=_0xb1f837,_0x516c64=this[_0xa8060c(0x29d)][_0xa8060c(0x228)]['subscribeEvent'](()=>{const _0x3be0f4=_0xa8060c;this[_0x3be0f4(0x95)]=!0x0;}),_0x12fe44=this[_0xa8060c(0x29d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x5b4635=_0xa8060c;this[_0x5b4635(0x9c)]&&clearTimeout(this[_0x5b4635(0x9c)]),this[_0x5b4635(0x9c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x35971f=_0xa8060c;_0x516c64[_0x35971f(0x78)](),_0x12fe44['unsubscribe']();};}[_0xb1f837(0x28b)](_0x289c34,_0x2b90cd,_0x1ceecc,_0x24a711){const _0x306410=_0xb1f837,_0x4bf386=new a[(_0x306410(0x87))](_0x289c34)['setAlpha'](0.2)['toRgbString'](),_0x387ebb=new p[(_0x306410(0x21d))](ht+a['generateRandomId'](k),{'pointsGroup':_0x2b90cd,'fill':_0x4bf386||p[_0x306410(0x2cd)](a[_0x306410(0x88)][_0x306410(0x158)],0.2),'left':_0x1ceecc,'top':_0x24a711,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x306410(0x17f)]['push'](_0x387ebb),this[_0x306410(0x2e8)][_0x306410(0x15f)](_0x387ebb,E[_0x306410(0x99)]);}['_drawRectRange'](_0x82aa3f,_0x2cd9f1,_0x3797a7,_0x5a05d5){const _0x52760a=_0xb1f837,_0x1bba3e=new a[(_0x52760a(0x87))](_0x82aa3f)['setAlpha'](0.2)[_0x52760a(0x9f)](),_0x5afdc9=new p[(_0x52760a(0x21d))](ut+a[_0x52760a(0x1a4)](k),{'pointsGroup':_0x2cd9f1,'fill':_0x1bba3e||p[_0x52760a(0x2cd)](a['COLORS']['black'],0.2),'left':_0x3797a7,'top':_0x5a05d5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52760a(0x17f)]['push'](_0x5afdc9),this[_0x52760a(0x2e8)][_0x52760a(0x15f)](_0x5afdc9,E[_0x52760a(0x99)]);}['_getAnchorBounding'](_0x5deed1){const _0x24280f=_0x5deed1[0x0],_0x2e94b1=_0x24280f[0x0],_0x365f40=_0x24280f[0x2],{x:_0x31e692,y:_0x507bdf}=_0x2e94b1,{x:_0x55e5b7,y:_0x4d0bd8}=_0x365f40;return{'left':_0x31e692,'top':_0x507bdf,'width':_0x55e5b7-_0x31e692,'height':_0x4d0bd8-_0x507bdf};}[_0xb1f837(0xe5)](){const _0xe3360f=_0xb1f837,{scaleX:_0x3c58b7,scaleY:_0x404461}=this[_0xe3360f(0x2e8)][_0xe3360f(0x15a)]();return Math[_0xe3360f(0xba)](_0x3c58b7,_0x404461);}}var ft=Object[_0xb1f837(0x19a)],vt=(_0xa49687,_0x764b4a,_0xabd093,_0x59056a)=>{const _0x3aa602=_0xb1f837;for(var _0x309b9e=_0x59056a>0x1?void 0x0:_0x59056a?ft(_0x764b4a,_0xabd093):_0x764b4a,_0x4750ca=_0xa49687[_0x3aa602(0x257)]-0x1,_0x5cf7bf;_0x4750ca>=0x0;_0x4750ca--)(_0x5cf7bf=_0xa49687[_0x4750ca])&&(_0x309b9e=_0x5cf7bf(_0x309b9e)||_0x309b9e);return _0x309b9e;},W=(_0x212e92,_0x57138a)=>(_0x3c0758,_0x7dd095)=>_0x57138a(_0x3c0758,_0x7dd095,_0x212e92);let fe=class extends a[_0xb1f837(0x292)]{constructor(_0x411fa0,_0x2cb659,_0x3749ff,_0x2b4665,_0x2028b6){const _0x558744=_0xb1f837;super(),h(this,_0x558744(0x169),[]),h(this,_0x558744(0xc7),[]),(this[_0x558744(0x11b)]=_0x411fa0,this[_0x558744(0x22f)]=_0x2cb659,this[_0x558744(0x2c1)]=_0x3749ff,this[_0x558744(0x275)]=_0x2b4665,this[_0x558744(0x29b)]=_0x2028b6,this['_init']());}[_0xb1f837(0x26a)](){const _0x48437f=_0xb1f837,_0x3aed12=this[_0x48437f(0x11b)][_0x48437f(0x211)],_0xd93e25=this['_docSkeletonManagerService'];this[_0x48437f(0xd6)](d[_0x48437f(0x1c6)]([this['_collabCursorController']['getCollabCursors$'](_0x3aed12),this[_0x48437f(0x29b)][_0x48437f(0x13e)]])[_0x48437f(0x28f)]($['map'](([_0x90f6af,_0x5c9e02])=>({'skeleton':_0xd93e25[_0x48437f(0x1a0)](),'cursors':[..._0x90f6af[_0x48437f(0x21e)]()][_0x48437f(0xc2)](_0x37fd95=>({..._0x37fd95,'color':this[_0x48437f(0x29b)]['getColorFromTheme'](_0x37fd95[_0x48437f(0x2df)])}))})))[_0x48437f(0x1cd)](_0xcec307=>{const _0x23eff4=_0x48437f;if(this[_0x23eff4(0x96)](),_0xcec307){const {skeleton:_0x526713,cursors:_0x377da6}=_0xcec307;this[_0x23eff4(0x147)](_0x526713,_0x377da6);}})),this[_0x48437f(0x186)](),this[_0x48437f(0x149)]();}[_0xb1f837(0x147)](_0xfe4011,_0xf8404b){const _0x5d3432=_0xb1f837,{scene:_0x2ffe36,mainComponent:_0xe5c2c5}=this[_0x5d3432(0x11b)],_0x5eb740=_0xf8404b[_0x5d3432(0x2ad)](_0x26ecc6=>new De(_0x26ecc6,_0x2ffe36,_0xfe4011,_0xe5c2c5));this[_0x5d3432(0x169)]=_0x5eb740,this['_cursors']=_0xf8404b;}[_0xb1f837(0x2bd)](){const _0x265570=_0xb1f837;this[_0x265570(0x96)]();const {scene:_0x3122c5,mainComponent:_0xb994a8}=this[_0x265570(0x11b)],_0x4c184a=this['_docSkeletonManagerService'][_0x265570(0x1a0)](),_0x5ca67d=this[_0x265570(0xc7)][_0x265570(0x2ad)](_0x5ea604=>new De(_0x5ea604,_0x3122c5,_0x4c184a,_0xb994a8));this[_0x265570(0x169)]=_0x5ca67d;}[_0xb1f837(0x96)](){const _0x877b8d=_0xb1f837;this['_cursorShapes'][_0x877b8d(0x13f)](_0xbd8d8e=>_0xbd8d8e[_0x877b8d(0x8c)]()),this[_0x877b8d(0x169)]=[];}[_0xb1f837(0x149)](){const _0x3ce523=_0xb1f837,_0x1c6ade=[E['SetDocZoomRatioOperation']['id']];this[_0x3ce523(0xd6)](this[_0x3ce523(0x275)][_0x3ce523(0x1b8)](_0x1da168=>{const _0x23d9fd=_0x3ce523;_0x1c6ade[_0x23d9fd(0x1b7)](_0x1da168['id'])&&_0x1da168[_0x23d9fd(0xff)][_0x23d9fd(0x211)]===this[_0x23d9fd(0x11b)][_0x23d9fd(0x211)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x3f292d=_0xb1f837;this[_0x3f292d(0xd6)](a['fromEventSubject'](this[_0x3f292d(0x11b)][_0x3f292d(0x1af)]['onTransformChange$'])['pipe']($[_0x3f292d(0x19d)](_0x2006ec=>_0x2006ec['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3f292d(0x214)]),$['throttleTime'](0x10))[_0x3f292d(0x1cd)](()=>{const _0x436aff=_0x3f292d;this[_0x436aff(0x2bd)]();}));}};fe=vt([W(0x1,a[_0xb1f837(0x175)](Y[_0xb1f837(0x7a)])),W(0x2,a[_0xb1f837(0x175)](x)),W(0x3,a['ICommandService']),W(0x4,a[_0xb1f837(0x175)](a[_0xb1f837(0x1f1)]))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x4c7b53,_0x797dd7){const _0x440d52=_0xb1f837;super(_0x4c7b53,_0x797dd7),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0x440d52(0x85)),h(this,_0x440d52(0x2bb),''),h(this,_0x440d52(0xed),_0x440d52(0x20f)),h(this,'_backgroundColor'),(_0x797dd7&&this['setShapeProps'](_0x797dd7),this[_0x440d52(0x228)][_0x440d52(0x9a)](()=>this[_0x440d52(0x16f)]({'hovered':!0x0})),this[_0x440d52(0x2dc)]['subscribeEvent'](()=>this[_0x440d52(0x16f)]({'hovered':!0x1})));}[_0xb1f837(0x16f)](_0x1ba00a){const _0x31a791=_0xb1f837;var _0x59b0a3,_0x2c3cf9,_0x3486c6,_0x3d6bc4,_0x4b4f26,_0x37e47b;this[_0x31a791(0x24c)]=(_0x59b0a3=_0x1ba00a['color'])!=null?_0x59b0a3:this[_0x31a791(0x24c)],this['_hovered']=(_0x2c3cf9=_0x1ba00a[_0x31a791(0x121)])!=null?_0x2c3cf9:this[_0x31a791(0x166)],this[_0x31a791(0x85)]=(_0x3486c6=_0x1ba00a['range'])!=null?_0x3486c6:this[_0x31a791(0x85)],this[_0x31a791(0x2bb)]=(_0x3d6bc4=_0x1ba00a[_0x31a791(0x1cf)])!=null?_0x3d6bc4:this[_0x31a791(0x2bb)],this[_0x31a791(0xed)]=(_0x4b4f26=_0x1ba00a[_0x31a791(0x18b)])!=null?_0x4b4f26:this[_0x31a791(0xed)],this[_0x31a791(0x15d)]=(_0x37e47b=_0x1ba00a[_0x31a791(0x2dd)])!=null?_0x37e47b:this['_backgroundColor'],this[_0x31a791(0x24a)]({'width':_0x1ba00a[_0x31a791(0x8f)],'height':_0x1ba00a[_0x31a791(0x2cf)]});}[_0xb1f837(0x268)](_0x4f6519){const _0x38d4ce=_0xb1f837,{row:_0x4d6a7f,column:_0x287ddb}=_0x4f6519;if(_0x4d6a7f>=this[_0x38d4ce(0x85)][_0x38d4ce(0x112)]&&_0x4d6a7f<=this[_0x38d4ce(0x85)]['endRow']&&_0x287ddb>=this[_0x38d4ce(0x85)]['startColumn']&&_0x287ddb<=this[_0x38d4ce(0x85)][_0x38d4ce(0x1aa)]){this[_0x38d4ce(0x16f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x434b41){return!0x1;}[_0xb1f837(0x2a5)](_0xd8a927){const _0x55b400=_0xb1f837;p['Rect'][_0x55b400(0x28e)](_0xd8a927,{'width':this[_0x55b400(0x8f)],'height':this[_0x55b400(0x2cf)],'strokeWidth':mt,'stroke':this[_0x55b400(0x24c)],'evented':!0x1,'fill':this[_0x55b400(0x15d)]}),this[_0x55b400(0x166)]&&(_0xd8a927[_0x55b400(0x1cb)](),_0xd8a927[_0x55b400(0x1f9)](0x1,0x0,0x0,0x1,this[_0x55b400(0x8f)],this['_labelPosition']==='bottom'?0x0:-0x14),ee[_0x55b400(0x28e)](_0xd8a927,{'text':this[_0x55b400(0x2bb)],'color':this[_0x55b400(0x24c)]}),_0xd8a927['restore']());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x30fc8e,_0x5484c6,_0x279519,_0x37ded5)=>{const _0x42ed9a=_0xb1f837;for(var _0x43d283=_0x37ded5>0x1?void 0x0:_0x37ded5?Ct(_0x5484c6,_0x279519):_0x5484c6,_0x50b177=_0x30fc8e[_0x42ed9a(0x257)]-0x1,_0x9f17f8;_0x50b177>=0x0;_0x50b177--)(_0x9f17f8=_0x30fc8e[_0x50b177])&&(_0x43d283=_0x9f17f8(_0x43d283)||_0x43d283);return _0x43d283;},ae=(_0x2aa26a,_0x377826)=>(_0x43ce17,_0xcf2a64)=>_0x377826(_0x43ce17,_0xcf2a64,_0x2aa26a);const Et=0x1389;let ve=class extends a[_0xb1f837(0x292)]{constructor(_0x5c593d,_0x1e85ab,_0x30eea2,_0x4cfe58){const _0x181cdd=_0xb1f837;super(),h(this,_0x181cdd(0xc7),new Set()),h(this,_0x181cdd(0x16d),null),(this[_0x181cdd(0x11b)]=_0x5c593d,this['_sheetSkeletonManagerService']=_0x1e85ab,this[_0x181cdd(0x2c1)]=_0x30eea2,this[_0x181cdd(0x29b)]=_0x4cfe58,this[_0x181cdd(0x26a)]());}[_0xb1f837(0x26a)](){const _0x4ed027=_0xb1f837;this[_0x4ed027(0x1ac)]['currentSkeleton$'][_0x4ed027(0x28f)]($[_0x4ed027(0x206)](this[_0x4ed027(0x279)]),$[_0x4ed027(0x2bc)](_0x44e913=>{const _0x5f58f2=_0x4ed027;if(_0x44e913){const _0x2740d6=_0x44e913[_0x5f58f2(0x288)];return d[_0x5f58f2(0x1c6)](this[_0x5f58f2(0x2c1)][_0x5f58f2(0x2c3)](this[_0x5f58f2(0x11b)][_0x5f58f2(0x211)]),this[_0x5f58f2(0x29b)][_0x5f58f2(0x13e)])['pipe']($[_0x5f58f2(0x2ad)](([_0x1dc910,_0x541fa4])=>{const _0x11afe8=new Map();return _0x1dc910['forEach']((_0x317efa,_0x1ba4d9)=>{const _0x54a43a=_0x48f4;if(_0x317efa[_0x54a43a(0x182)]===_0x2740d6){const _0x220085={..._0x317efa};_0x220085[_0x54a43a(0x2df)]=this['_themeService'][_0x54a43a(0x14e)](_0x317efa[_0x54a43a(0x2df)]),_0x11afe8[_0x54a43a(0x134)](_0x1ba4d9,_0x220085);}}),{'skeleton':_0x44e913,'cursors':_0x11afe8};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x12b71a,cursors:_0x4be9c3})=>{const _0x1c5ae0=_0x4ed027;this[_0x1c5ae0(0x96)](),_0x12b71a&&this[_0x1c5ae0(0x147)](_0x12b71a,_0x4be9c3);}),this['_sheetSkeletonManagerService'][_0x4ed027(0x1eb)][_0x4ed027(0x1cd)](_0x686b2=>{const _0x4816ea=_0x4ed027;if(_0x686b2==null)return;const {skeleton:_0x4d92cd}=_0x686b2,{scene:_0x33427b}=this[_0x4816ea(0x11b)];_0x33427b[_0x4816ea(0x25c)][_0x4816ea(0x9a)](a[_0x4816ea(0xca)](_0x441ff7=>{const _0x52f0d7=_0x4816ea;var _0x410ca7,_0x1b89a3;const {offsetX:_0x45df8b,offsetY:_0x28ccac}=_0x441ff7,{x:_0x3ddacf,y:_0x38d619}=_0x33427b[_0x52f0d7(0xb7)](p[_0x52f0d7(0xc4)][_0x52f0d7(0x1e3)]([_0x45df8b,_0x28ccac])),{scaleX:_0x1eb67a,scaleY:_0x34ed2a}=_0x33427b['getAncestorScale'](),_0x460271=_0x33427b[_0x52f0d7(0xa1)](p[_0x52f0d7(0x191)]['VIEW_MAIN']),_0x5c8393=_0x33427b[_0x52f0d7(0x217)](p[_0x52f0d7(0xc4)][_0x52f0d7(0x1e3)]([_0x3ddacf,_0x38d619]),_0x460271),_0x10d48b=_0x4d92cd['getCellPositionByOffset'](_0x45df8b,_0x28ccac,_0x1eb67a,_0x34ed2a,_0x5c8393);((_0x410ca7=this[_0x52f0d7(0x16d)])==null?void 0x0:_0x410ca7[_0x52f0d7(0x1ad)])===_0x10d48b[_0x52f0d7(0x1ad)]&&((_0x1b89a3=this[_0x52f0d7(0x16d)])==null?void 0x0:_0x1b89a3['row'])===_0x10d48b[_0x52f0d7(0x70)]||this[_0x52f0d7(0xc7)][_0x52f0d7(0x13f)](_0x1d9370=>{_0x1d9370['onMouseMove'](_0x10d48b);});},0x64));});}['_updateCollabCursors'](_0x110e6a,_0x516d9f){const _0x2bd2f4=_0xb1f837;var _0x58edfa;const _0x50e1dc=(_0x58edfa=this[_0x2bd2f4(0x1ac)][_0x2bd2f4(0x238)]())==null?void 0x0:_0x58edfa[_0x2bd2f4(0x94)];if(!_0x50e1dc)return;const _0x29f33c=this['_getSheetObject']();if(!_0x29f33c)return;this['_cursors'][_0x2bd2f4(0x13f)](_0x13d333=>{_0x13d333['makeDirty']();});const {scene:_0x4ab849}=_0x29f33c,_0x2bf76b=bt(Array[_0x2bd2f4(0x2d9)](_0x516d9f['values']()))[_0x2bd2f4(0x2ad)](_0x2676d4=>{const _0x214835=_0x2bd2f4,{color:_0x36853a,range:_0x192ad4,name:_0x5944bf,selection:_0x101c82,sheetID:_0x43431b}=_0x2676d4,{startColumn:_0x34905b,startRow:_0x44f94c,endColumn:_0xa70252,endRow:_0x447a38}=_0x192ad4,_0x2b72c2=X[_0x214835(0x2ca)](_0x44f94c,_0x34905b,_0x4ab849,_0x50e1dc),_0x45d143=X[_0x214835(0x2ca)](_0x447a38,_0xa70252,_0x4ab849,_0x50e1dc),{columnHeaderHeightAndMarginTop:_0xab74c6}=_0x50e1dc,{startX:_0x126406,startY:_0x2a0012}=_0x2b72c2,{endX:_0x5cba44,endY:_0x12164e}=_0x45d143,_0x3afd77=_0x5cba44-_0x126406,_0x7689ea=_0x12164e-_0x2a0012,_0xf8839d={'labelPosition':_0x2a0012-_0xab74c6>=K?'top':_0x214835(0x2b3),'sheetID':_0x43431b,'range':_0x192ad4,'color':_0x36853a,'name':_0x5944bf,'selection':_0x101c82,'left':_0x126406,'top':_0x2a0012,'width':_0x3afd77,'height':_0x7689ea,'evented':!0x1,'zIndex':Et};return new we(_0x5944bf,_0xf8839d);});_0x4ab849[_0x2bd2f4(0x28c)](_0x2bf76b,gt),this['_cursors']=new Set(_0x2bf76b);}[_0xb1f837(0x96)](){const _0x4727c9=_0xb1f837;var _0x5deafd;(_0x5deafd=this[_0x4727c9(0xc7)])==null||_0x5deafd['forEach'](_0x5bc31e=>_0x5bc31e[_0x4727c9(0x8c)]());}[_0xb1f837(0x127)](){const _0x3ec2ed=_0xb1f837;return X[_0x3ec2ed(0x141)](this[_0x3ec2ed(0x11b)][_0x3ec2ed(0x232)],this['_context']);}};ve=pt([ae(0x1,a[_0xb1f837(0x175)](X['SheetSkeletonManagerService'])),ae(0x2,a[_0xb1f837(0x175)](x)),ae(0x3,a[_0xb1f837(0x175)](a[_0xb1f837(0x1f1)]))],ve);function bt(_0x262298){const _0x4565c8=_0xb1f837,_0x1920a1=new Map();return _0x262298['forEach'](_0x18ab5d=>{const _0x37bdb5=_0x48f4;if(_0x1920a1['has'](_0x18ab5d[_0x37bdb5(0x6f)])){const _0x4cec43=_0x1920a1[_0x37bdb5(0xd1)](_0x18ab5d['selection']);_0x4cec43[_0x37bdb5(0x1cf)]+=',\x20'+_0x18ab5d[_0x37bdb5(0x1cf)];}else _0x1920a1[_0x37bdb5(0x134)](_0x18ab5d[_0x37bdb5(0x6f)],_0x18ab5d);}),Array[_0x4565c8(0x2d9)](_0x1920a1[_0x4565c8(0x21e)]());}var b=function(){const _0x4b6138=_0xb1f837;return b=Object['assign']||function(_0x3fb3d4){const _0x349586=_0x48f4;for(var _0x5d308b,_0x4ff4b9=0x1,_0x4c15cf=arguments[_0x349586(0x257)];_0x4ff4b9<_0x4c15cf;_0x4ff4b9++){_0x5d308b=arguments[_0x4ff4b9];for(var _0x2c932e in _0x5d308b)Object[_0x349586(0x72)][_0x349586(0xa9)][_0x349586(0xf0)](_0x5d308b,_0x2c932e)&&(_0x3fb3d4[_0x2c932e]=_0x5d308b[_0x2c932e]);}return _0x3fb3d4;},b[_0x4b6138(0x223)](this,arguments);},Ot=function(_0x2fa42a,_0x5cf83f){const _0x3e13ef=_0xb1f837;var _0x534ecd={};for(var _0x7b26a0 in _0x2fa42a)Object[_0x3e13ef(0x72)][_0x3e13ef(0xa9)][_0x3e13ef(0xf0)](_0x2fa42a,_0x7b26a0)&&_0x5cf83f[_0x3e13ef(0x2c9)](_0x7b26a0)<0x0&&(_0x534ecd[_0x7b26a0]=_0x2fa42a[_0x7b26a0]);if(_0x2fa42a!=null&&typeof Object[_0x3e13ef(0x146)]==_0x3e13ef(0x7c)){for(var _0x5197a6=0x0,_0x7b26a0=Object[_0x3e13ef(0x146)](_0x2fa42a);_0x5197a6<_0x7b26a0['length'];_0x5197a6++)_0x5cf83f[_0x3e13ef(0x2c9)](_0x7b26a0[_0x5197a6])<0x0&&Object['prototype'][_0x3e13ef(0xb1)][_0x3e13ef(0xf0)](_0x2fa42a,_0x7b26a0[_0x5197a6])&&(_0x534ecd[_0x7b26a0[_0x5197a6]]=_0x2fa42a[_0x7b26a0[_0x5197a6]]);}return _0x534ecd;},pe=M[_0xb1f837(0x273)](function(_0x1a7c15,_0xeab5ca){const _0x2a0310=_0xb1f837;var _0x30cb09=_0x1a7c15['icon'],_0x1bd6e5=_0x1a7c15['id'],_0x2439a6=_0x1a7c15[_0x2a0310(0xdc)],_0xd9c136=_0x1a7c15[_0x2a0310(0x2b7)],_0x3c3384=Ot(_0x1a7c15,[_0x2a0310(0xa4),'id',_0x2a0310(0xdc),_0x2a0310(0x2b7)]),_0x3d9135='univerjs-icon\x20univerjs-icon-'[_0x2a0310(0x287)](_0x1bd6e5,'\x20')[_0x2a0310(0x287)](_0x2439a6||'')[_0x2a0310(0x24b)](),_0x4698b8=M['useRef']('_'[_0x2a0310(0x287)](Dt()));return Ae(_0x30cb09,''[_0x2a0310(0x287)](_0x1bd6e5),{'defIds':_0x30cb09['defIds'],'idSuffix':_0x4698b8[_0x2a0310(0xf5)]},b({'ref':_0xeab5ca,'className':_0x3d9135},_0x3c3384),_0xd9c136);});function Ae(_0x3c931e,_0xa7a7de,_0xa02547,_0x5b3466,_0x2559e6){const _0x1a7ca6=_0xb1f837;return M['createElement'](_0x3c931e['tag'],b(b({'key':_0xa7a7de},Tt(_0x3c931e,_0xa02547,_0x2559e6)),_0x5b3466),(Rt(_0x3c931e,_0xa02547)[_0x1a7ca6(0x199)]||[])[_0x1a7ca6(0x2ad)](function(_0x2bb598,_0x1425db){const _0x488651=_0x1a7ca6;return Ae(_0x2bb598,''[_0x488651(0x287)](_0xa7a7de,'-')[_0x488651(0x287)](_0x3c931e[_0x488651(0x2a3)],'-')[_0x488651(0x287)](_0x1425db),_0xa02547,void 0x0,_0x2559e6);}));}function Tt(_0xbbe0a7,_0x5823bc,_0x311bf2){const _0x5ec3ba=_0xb1f837;var _0x2a3101=b({},_0xbbe0a7['attrs']);_0x311bf2!=null&&_0x311bf2[_0x5ec3ba(0xc6)]&&_0x2a3101[_0x5ec3ba(0xd0)]===_0x5ec3ba(0xc6)&&(_0x2a3101['fill']=_0x311bf2['colorChannel1']),_0xbbe0a7[_0x5ec3ba(0x2a3)]===_0x5ec3ba(0x246)&&_0x2a3101['id']&&(_0x2a3101['id']=_0x2a3101['id']+_0x5823bc[_0x5ec3ba(0x1db)]),Object[_0x5ec3ba(0x11d)](_0x2a3101)['forEach'](function(_0x505685){const _0x326a1d=_0x5ec3ba;var _0x578386=_0x505685[0x0],_0x27e616=_0x505685[0x1];_0x578386===_0x326a1d(0x246)&&typeof _0x27e616=='string'&&(_0x2a3101[_0x578386]=_0x27e616[_0x326a1d(0x2b6)](/url\(#(.*)\)/,'url(#$1'[_0x326a1d(0x287)](_0x5823bc['idSuffix'],')')));});var _0x36cd76=_0x5823bc[_0x5ec3ba(0xb3)];return!_0x36cd76||_0x36cd76[_0x5ec3ba(0x257)]===0x0||(_0xbbe0a7[_0x5ec3ba(0x2a3)]===_0x5ec3ba(0x1fb)&&_0x2a3101[_0x5ec3ba(0x1b6)]&&(_0x2a3101[_0x5ec3ba(0x1b6)]=_0x2a3101[_0x5ec3ba(0x1b6)]+_0x5823bc[_0x5ec3ba(0x1db)]),Object['entries'](_0x2a3101)[_0x5ec3ba(0x13f)](function(_0x1130b9){const _0x377d2f=_0x5ec3ba;var _0x3e6a05=_0x1130b9[0x0],_0x1906fe=_0x1130b9[0x1];typeof _0x1906fe=='string'&&(_0x2a3101[_0x3e6a05]=_0x1906fe['replace'](/url\(#(.*)\)/,_0x377d2f(0x1da)['concat'](_0x5823bc[_0x377d2f(0x1db)],')')));})),_0x2a3101;}function Rt(_0x5670e7,_0x5b5331){const _0x12842a=_0xb1f837;var _0x25c89b,_0x55cbac=_0x5b5331[_0x12842a(0xb3)];return!_0x55cbac||_0x55cbac[_0x12842a(0x257)]===0x0?_0x5670e7:_0x5670e7[_0x12842a(0x2a3)]===_0x12842a(0xc1)&&(!((_0x25c89b=_0x5670e7[_0x12842a(0x199)])===null||_0x25c89b===void 0x0)&&_0x25c89b['length'])?b(b({},_0x5670e7),{'children':_0x5670e7['children'][_0x12842a(0x2ad)](function(_0x37f47a){const _0xfe10e1=_0x12842a;return typeof _0x37f47a['attrs']['id']=='string'&&_0x55cbac&&_0x55cbac[_0xfe10e1(0x1b7)](_0x37f47a[_0xfe10e1(0x195)]['id'])?b(b({},_0x37f47a),{'attrs':b(b({},_0x37f47a['attrs']),{'id':_0x37f47a['attrs']['id']+_0x5b5331[_0xfe10e1(0x1db)]})}):_0x37f47a;})}):_0x5670e7;}function Dt(){const _0x4b055b=_0xb1f837;return Math[_0x4b055b(0x219)]()[_0x4b055b(0x180)](0x24)[_0x4b055b(0x1a6)](0x2,0x8);}pe['displayName']=_0xb1f837(0x2a2);var Ut={'tag':'svg','attrs':{'xmlns':_0xb1f837(0x189),'fill':_0xb1f837(0xa7),'viewBox':_0xb1f837(0x282),'width':_0xb1f837(0x2b2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0xb1f837(0x255),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0xb1f837(0x1ee),'strokeWidth':1.2}}]},{'tag':_0xb1f837(0xc1),'attrs':{},'children':[{'tag':_0xb1f837(0x1de),'attrs':{'id':_0xb1f837(0x2c8)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'fill':_0xb1f837(0x27f),'d':_0xb1f837(0x19b)}}]}]}],'defIds':[_0xb1f837(0x2c8)]},ye=M[_0xb1f837(0x273)](function(_0x193720,_0x1d264f){const _0x4d0d9f=_0xb1f837;return M['createElement'](pe,Object[_0x4d0d9f(0x289)]({},_0x193720,{'id':'off-line-icon','ref':_0x1d264f,'icon':Ut}));});ye[_0xb1f837(0x1bd)]=_0xb1f837(0x82);var Nt={'tag':'svg','attrs':{'xmlns':_0xb1f837(0x189),'fill':_0xb1f837(0xa7),'viewBox':'0\x200\x2017\x2016','width':_0xb1f837(0x2b2),'height':_0xb1f837(0x2b2)},'children':[{'tag':'g','attrs':{'clipPath':_0xb1f837(0xee)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'stroke':_0xb1f837(0x255),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xb1f837(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb1f837(0xc1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xb1f837(0x1fd)},'children':[{'tag':_0xb1f837(0xad),'attrs':{'fill':_0xb1f837(0x27f),'d':_0xb1f837(0x19b),'transform':_0xb1f837(0x75)}}]}]}],'defIds':[_0xb1f837(0x1fd)]},$e=M['forwardRef'](function(_0x157ec4,_0x54270b){const _0x54e51a=_0xb1f837;return M[_0x54e51a(0x10a)](pe,Object[_0x54e51a(0x289)]({},_0x157ec4,{'id':_0x54e51a(0x18c),'ref':_0x54270b,'icon':Nt}));});$e[_0xb1f837(0x1bd)]=_0xb1f837(0xac);function Mt(_0x4ad039){const _0x1a8b71=_0xb1f837;switch(_0x4ad039){case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x22b)]:return _0x1a8b71(0x213);case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x163)]:return'collabStatus.conflict';case u['CollaborationStatus'][_0x1a8b71(0x107)]:return _0x1a8b71(0x1ab);case u[_0x1a8b71(0x1f5)]['NOT_COLLAB']:return _0x1a8b71(0xf7);case u['CollaborationStatus'][_0x1a8b71(0x150)]:case u[_0x1a8b71(0x1f5)]['AWAITING_WITH_PENDING']:return _0x1a8b71(0x120);case u[_0x1a8b71(0x1f5)][_0x1a8b71(0x129)]:case u['CollaborationStatus']['PENDING']:return _0x1a8b71(0x113);}}function xe(_0x19e3dc){const _0x3a7831=_0xb1f837,{status$:_0x54ec30}=_0x19e3dc,_0x1820a0=O[_0x3a7831(0x20c)](_0x54ec30,u[_0x3a7831(0x1f5)][_0x3a7831(0xdd)]),_0x13cbe8=O['useDependency'](a['LocaleService']),_0x2aaddb=O[_0x3a7831(0x6c)](u[_0x3a7831(0xb4)]),_0x439a8e=_0x1820a0!==u['CollaborationStatus'][_0x3a7831(0x22b)],_0x259ada=_0x13cbe8['t'](Mt(_0x1820a0)),_0x22a0e0=_0x439a8e?P[_0x3a7831(0x111)]($e,{}):P[_0x3a7831(0x111)](ye,{}),_0x58c935=M[_0x3a7831(0xf8)](()=>{const _0x3231ad=_0x3a7831;_0x439a8e||_0x2aaddb[_0x3231ad(0x12c)]();},[_0x439a8e,_0x2aaddb]);function _0x4727a2(){const _0xcf13f6=_0x3a7831;return P[_0xcf13f6(0x145)](_0xcf13f6(0x14a),{'className':'univer-flex\x20univer-items-center','onClick':_0x58c935,'children':[P[_0xcf13f6(0x111)]('div',{'className':D['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x439a8e,'univer-text-red-500':!_0x439a8e}),'children':_0x22a0e0}),P['jsx']('div',{'className':_0xcf13f6(0xdb),'children':_0x259ada})]});}return _0x439a8e?_0x4727a2():P[_0x3a7831(0x111)](D[_0x3a7831(0x25a)],{'title':_0x13cbe8['t'](_0x3a7831(0x71)),'children':_0x4727a2()});}var Lt=Object[_0xb1f837(0x19a)],Pt=(_0x2e5d61,_0x52e2eb,_0x5880ca,_0x55821c)=>{const _0x47bd3c=_0xb1f837;for(var _0x231ec7=_0x55821c>0x1?void 0x0:_0x55821c?Lt(_0x52e2eb,_0x5880ca):_0x52e2eb,_0x8cb3c1=_0x2e5d61[_0x47bd3c(0x257)]-0x1,_0x64c2a1;_0x8cb3c1>=0x0;_0x8cb3c1--)(_0x64c2a1=_0x2e5d61[_0x8cb3c1])&&(_0x231ec7=_0x64c2a1(_0x231ec7)||_0x231ec7);return _0x231ec7;},V=(_0x35e362,_0x40434d)=>(_0x4363e1,_0x5ea00b)=>_0x40434d(_0x4363e1,_0x5ea00b,_0x35e362);exports[_0xb1f837(0x194)]=class extends a[_0xb1f837(0x2af)]{constructor(_0x2562c2,_0x56e677,_0x13c1f7,_0x1567ff){const _0x1918c1=_0xb1f837;super(),h(this,_0x1918c1(0x212),new d['BehaviorSubject'](u[_0x1918c1(0x1f5)][_0x1918c1(0xdd)])),(this['_univerInstanceService']=_0x2562c2,this[_0x1918c1(0x144)]=_0x56e677,this[_0x1918c1(0x86)]=_0x13c1f7,this[_0x1918c1(0xf1)]=_0x1567ff,this[_0x1918c1(0x247)](),this[_0x1918c1(0x29c)]());}[_0xb1f837(0x29c)](){const _0x20c763=_0xb1f837;this[_0x20c763(0xd6)](this[_0x20c763(0x76)][_0x20c763(0x1d4)]['pipe'](d['switchMap'](()=>{const _0x5533d4=_0x20c763,_0x236265=this['_univerInstanceService'][_0x5533d4(0x1ce)]();return _0x236265?this['_collaborationController'][_0x5533d4(0x109)](_0x236265['getUnitId']()):d['of'](null);}),d[_0x20c763(0x2bc)](_0x2c1ef1=>_0x2c1ef1?_0x2c1ef1[_0x20c763(0x1b9)]:d['of'](u[_0x20c763(0x1f5)]['NOT_COLLAB'])))[_0x20c763(0x1cd)](_0x180e5c=>{const _0xfc5e06=_0x20c763;this['_status$'][_0xfc5e06(0xdf)](_0x180e5c);}));}['_initStatusComponent'](){const _0x56aae1=_0xb1f837;this[_0x56aae1(0xd6)](this[_0x56aae1(0xf1)]['registerComponent'](O['BuiltInUIPart'][_0x56aae1(0x156)],()=>O[_0x56aae1(0x20d)](wt({'status$':this[_0x56aae1(0x212)][_0x56aae1(0xe0)]()}),this[_0x56aae1(0x144)])));}},exports[_0xb1f837(0x194)]=Pt([V(0x0,a[_0xb1f837(0x18a)]),V(0x1,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),V(0x2,a['Inject'](u['CollaborationController'])),V(0x3,O[_0xb1f837(0x148)])],exports[_0xb1f837(0x194)]);function wt(_0x28f58c){const {status$:_0x287119}=_0x28f58c;return function(){const _0x14e8ea=_0x48f4;return P[_0x14e8ea(0x111)](xe,{'status$':_0x287119});};}var At=Object[_0xb1f837(0x19a)],yt=(_0x438d58,_0xd613b7,_0x105050,_0x3c6b17)=>{const _0x5115f4=_0xb1f837;for(var _0x158176=_0x3c6b17>0x1?void 0x0:_0x3c6b17?At(_0xd613b7,_0x105050):_0xd613b7,_0x464901=_0x438d58[_0x5115f4(0x257)]-0x1,_0x51b9e7;_0x464901>=0x0;_0x464901--)(_0x51b9e7=_0x438d58[_0x464901])&&(_0x158176=_0x51b9e7(_0x158176)||_0x158176);return _0x158176;},y=(_0x2d4b02,_0x4db63a)=>(_0x4e0f79,_0x465983)=>_0x4db63a(_0x4e0f79,_0x465983,_0x2d4b02);let q=class extends a['Disposable']{constructor(_0x23e41b,_0x23f3c0,_0x36bd2b,_0x2fd6a1,_0x5606d,_0x5639aa){const _0x164515=_0xb1f837;super(),this[_0x164515(0x14d)]=_0x23e41b,this[_0x164515(0x1f6)]=_0x23f3c0,this[_0x164515(0x24f)]=_0x36bd2b,this[_0x164515(0x179)]=_0x2fd6a1,this[_0x164515(0x11e)]=_0x5606d,this[_0x164515(0xa5)]=_0x5639aa,this['_setupBeforeClosingHandler'](),this[_0x164515(0x26b)]();}[_0xb1f837(0x1cc)](){const _0x5815be=_0xb1f837;this[_0x5815be(0xd6)](this[_0x5815be(0x14d)][_0x5815be(0x29f)](()=>{const _0x10a15b=_0x5815be;if(this[_0x10a15b(0x1f6)][_0x10a15b(0x2d4)][_0x10a15b(0x1df)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xb1f837(0x26b)](){const _0x510478=_0xb1f837;this['disposeWithMe'](this[_0x510478(0x24f)]['event$'][_0x510478(0x1cd)](_0x17e960=>{const _0x5d32ea=_0x510478;_0x17e960['id']===u['CollaborationUIEventId'][_0x5d32ea(0x152)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x143)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x140))}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x187)]&&this['_messageService']['show']({'type':D[_0x5d32ea(0x133)]['Warning'],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x128))}),_0x17e960['id']===u[_0x5d32ea(0x227)]['PERMISSION_DENIED']&&this[_0x5d32ea(0x11e)][_0x5d32ea(0x192)]({'title':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x79)),'content':this[_0x5d32ea(0xa5)]['t']('permission.content'),'type':'error','duration':0x0}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x163)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x128))+'('+_0x17e960[_0x5d32ea(0x283)]+')'}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x2cc)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x143)],'content':this[_0x5d32ea(0xa5)]['t'](_0x17e960[_0x5d32ea(0x283)]||'')}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0xbb)]&&this['_messageService'][_0x5d32ea(0x192)]({'type':D['MessageType'][_0x5d32ea(0x143)],'content':this['_localeService']['t']('session.will-retry')}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x2c0)]&&this[_0x5d32ea(0x179)][_0x5d32ea(0x192)]({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this[_0x5d32ea(0xa5)]['t'](_0x5d32ea(0x21c))}),_0x17e960['id']===u[_0x5d32ea(0x227)][_0x5d32ea(0x27e)]&&this[_0x5d32ea(0x179)]['show']({'type':D[_0x5d32ea(0x133)][_0x5d32ea(0x2e6)],'content':this['_localeService']['t'](_0x5d32ea(0x1d0))});}));}};q=yt([y(0x0,O[_0xb1f837(0x14f)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0xb1f837(0x175)](u[_0xb1f837(0xe2)])),y(0x3,O[_0xb1f837(0x27c)]),y(0x4,O[_0xb1f837(0xde)]),y(0x5,a[_0xb1f837(0x175)](a[_0xb1f837(0x154)]))],q);const $t=_0xb1f837(0x1c3),Ue={},Ee=a['createIdentifier'](_0xb1f837(0xbd));var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x11c3e1,_0x5ef7ed,_0x40594e,_0x5bce7b)=>{const _0x46482d=_0xb1f837;for(var _0x42513f=_0x5bce7b>0x1?void 0x0:_0x5bce7b?xt(_0x5ef7ed,_0x40594e):_0x5ef7ed,_0x29cbdc=_0x11c3e1[_0x46482d(0x257)]-0x1,_0x3418cd;_0x29cbdc>=0x0;_0x29cbdc--)(_0x3418cd=_0x11c3e1[_0x29cbdc])&&(_0x42513f=_0x3418cd(_0x42513f)||_0x42513f);return _0x42513f;},F=(_0x2237d4,_0x1e9ae2)=>(_0x59bc69,_0x28475e)=>_0x1e9ae2(_0x59bc69,_0x28475e,_0x2237d4);exports[_0xb1f837(0x1ff)]=class extends a[_0xb1f837(0x292)]{constructor(_0x52a21d,_0x3291,_0x5122b7,_0x36bc11,_0x2cbb8e){const _0x272531=_0xb1f837;super(),this[_0x272531(0x278)]=_0x52a21d,this[_0x272531(0xf3)]=_0x3291,this[_0x272531(0x275)]=_0x5122b7,this[_0x272531(0xc0)]=_0x36bc11,_0x2cbb8e?_0x2cbb8e==null||_0x2cbb8e['whenReady']()[_0x272531(0x1ba)](()=>this[_0x272531(0x26a)]()):(this['_logService'][_0x272531(0x7d)](_0x272531(0xc9),_0x272531(0x2c5)),this[_0x272531(0x26a)]());}async[_0xb1f837(0x26a)](){const _0x33e881=_0xb1f837,_0x4ea310=this['_urlService'][_0x33e881(0xfc)](_0x33e881(0x232)),_0x5dc0ff=this['_urlService']['getParam']('type'),_0x59772b=this['_urlService'][_0x33e881(0xfc)]('subunit');if(!_0x4ea310||!_0x5dc0ff){this[_0x33e881(0xf3)][_0x33e881(0x7d)](_0x33e881(0xc9),_0x33e881(0x244));return;}const _0x539c2e=await this[_0x33e881(0xc0)][_0x33e881(0xda)](_0x4ea310,Number(_0x5dc0ff),_0x59772b);_0x539c2e&&_0x539c2e instanceof a[_0x33e881(0x2a6)]&&this[_0x33e881(0x225)](_0x539c2e);}async['_setupSubUnitSync'](_0xe58aab){const _0x2b2f61=_0xb1f837;await this[_0x2b2f61(0x245)](_0xe58aab),_0xe58aab[_0x2b2f61(0x1f3)][_0x2b2f61(0x28f)](d['takeUntil'](this[_0x2b2f61(0x279)]))[_0x2b2f61(0x1cd)](_0x503a9f=>{_0x503a9f&&this['_updateURLWithCurrentState'](_0x503a9f);}),this[_0x2b2f61(0x278)][_0x2b2f61(0x14c)][_0x2b2f61(0x28f)](d[_0x2b2f61(0x206)](this[_0x2b2f61(0x279)]))[_0x2b2f61(0x1cd)](()=>this[_0x2b2f61(0x245)](_0xe58aab));}[_0xb1f837(0x2ab)](_0x27e96f,_0x135c25=!0x1){const _0x2ee746=_0xb1f837,_0x439444=this['_urlService'][_0x2ee746(0xfc)](_0x2ee746(0xa0));_0x27e96f[_0x2ee746(0x14b)]()!==_0x439444&&this[_0x2ee746(0x278)]['setParam'](_0x2ee746(0xa0),_0x27e96f[_0x2ee746(0x14b)](),_0x135c25);}async[_0xb1f837(0x245)](_0x175b02){const _0x26fec4=_0xb1f837;var _0x134d74;const _0x21f165=this[_0x26fec4(0x278)]['getParam'](_0x26fec4(0xa0));if(!_0x21f165||!_0x175b02[_0x26fec4(0x242)](_0x21f165)){const _0x2df19f=_0x175b02[_0x26fec4(0x256)]()[0x0],_0x6a4d33=_0x175b02[_0x26fec4(0x242)](_0x2df19f);if(!_0x6a4d33)return;this[_0x26fec4(0x2ab)](_0x6a4d33,!0x0),await this[_0x26fec4(0x275)][_0x26fec4(0x2e0)](g[_0x26fec4(0x272)]['id'],{'unitId':_0x175b02[_0x26fec4(0xd4)](),'subUnitId':_0x2df19f});return;}((_0x134d74=_0x175b02[_0x26fec4(0xa6)]())==null?void 0x0:_0x134d74[_0x26fec4(0x14b)]())!==_0x21f165&&await this['_commandService']['executeCommand'](g[_0x26fec4(0x272)]['id'],{'unitId':_0x175b02[_0x26fec4(0xd4)](),'subUnitId':_0x21f165});}},exports[_0xb1f837(0x1ff)]=Bt([F(0x0,Ee),F(0x1,a[_0xb1f837(0x261)]),F(0x2,a[_0xb1f837(0x19c)]),F(0x3,a[_0xb1f837(0x175)](u[_0xb1f837(0x2c2)])),F(0x4,a[_0xb1f837(0x181)](Ke[_0xb1f837(0x16b)]))],exports[_0xb1f837(0x1ff)]);var jt=Object[_0xb1f837(0x19a)],kt=(_0x2ae741,_0x1be8c0,_0x5b750f,_0x3a846d)=>{const _0x3bb871=_0xb1f837;for(var _0x1246c0=_0x3a846d>0x1?void 0x0:_0x3a846d?jt(_0x1be8c0,_0x5b750f):_0x1be8c0,_0x24144b=_0x2ae741[_0x3bb871(0x257)]-0x1,_0x364b56;_0x24144b>=0x0;_0x24144b--)(_0x364b56=_0x2ae741[_0x24144b])&&(_0x1246c0=_0x364b56(_0x1246c0)||_0x1246c0);return _0x1246c0;},ce=(_0x390e77,_0x48938f)=>(_0x36d30f,_0x1e3825)=>_0x48938f(_0x36d30f,_0x1e3825,_0x390e77);let z=class{constructor(_0x44b821,_0x3a023d,_0x3ec4cf){const _0x332eb3=_0xb1f837;this[_0x332eb3(0x144)]=_0x44b821,this[_0x332eb3(0x250)]=_0x3a023d,this[_0x332eb3(0x118)]=_0x3ec4cf;}[_0xb1f837(0x117)](_0x4d2557){const _0x146414=_0xb1f837;this[_0x146414(0x215)](_0x4d2557),this[_0x146414(0x1ec)](_0x4d2557);}['transformRemoteChangeset'](_0x2d1a00){const _0x4ba10f=_0xb1f837,{unitID:_0x1ba8f8}=_0x2d1a00,_0x5ee9ea=this[_0x4ba10f(0x118)][_0x4ba10f(0x1f0)](_0x1ba8f8)[_0x4ba10f(0x102)](E['DocIMEInputManagerService']),{redoCache:_0x34f4e3}=_0x5ee9ea['getUndoRedoMutationParamsCache']();if(_0x34f4e3[_0x4ba10f(0x257)]===0x0)return _0x2d1a00;let _0x5f50d3=a[_0x4ba10f(0x2ce)][_0x4ba10f(0x17b)](_0x2d1a00[_0x4ba10f(0xbc)][0x0]);for(let _0x195e1c=0x0;_0x195e1c<_0x34f4e3['length'];_0x195e1c++){const _0x169bd3={'id':_0x4ba10f(0x10c),'params':{..._0x34f4e3[_0x195e1c]}},_0x486547=this[_0x4ba10f(0x250)][_0x4ba10f(0x2e1)](_0x5f50d3,_0x169bd3,!0x1);if(m[_0x4ba10f(0x19f)](_0x486547))throw _0x486547['error'];_0x5f50d3=_0x486547[_0x4ba10f(0xaa)];}return{...a['Tools']['deepClone'](_0x2d1a00),'mutations':[_0x5f50d3]};}[_0xb1f837(0x215)](_0x53d259){const _0xb6fd0d=_0xb1f837,{unitID:_0x4ad461}=_0x53d259,_0xe37ab0=this[_0xb6fd0d(0x118)][_0xb6fd0d(0x1f0)](_0x4ad461)[_0xb6fd0d(0x102)](E[_0xb6fd0d(0x22a)]),{undoCache:_0x53f2e8,redoCache:_0x312f63}=_0xe37ab0[_0xb6fd0d(0x77)]();if(_0x53f2e8[_0xb6fd0d(0x257)]===0x0||_0x312f63[_0xb6fd0d(0x257)]===0x0)return;const _0x5bf148=[],_0x4ddf2d=[];let _0x77221c=a[_0xb6fd0d(0x2ce)][_0xb6fd0d(0x17b)](_0x53d259[_0xb6fd0d(0xbc)][0x0]),_0x54d1b1=a[_0xb6fd0d(0x2ce)][_0xb6fd0d(0x17b)](_0x53d259[_0xb6fd0d(0xbc)][0x0]);for(let _0x29c6c4=_0x53f2e8[_0xb6fd0d(0x257)]-0x1;_0x29c6c4>=0x0;_0x29c6c4--){const _0x2731be={'id':_0xb6fd0d(0x10c),'params':{..._0x53f2e8[_0x29c6c4]}},_0x5982bf={'id':_0xb6fd0d(0x10c),'params':{..._0x312f63[_0x29c6c4]}},_0x4f8349=this['_transformService'][_0xb6fd0d(0x2e1)](_0x77221c,_0x2731be,!0x1),_0x64efd0=this[_0xb6fd0d(0x250)]['transformMutation'](_0x54d1b1,_0x5982bf,!0x1);if(m[_0xb6fd0d(0x19f)](_0x4f8349))throw _0x4f8349['error'];if(m['isTransformMutationFailure'](_0x64efd0))throw _0x64efd0[_0xb6fd0d(0x1b1)];_0x5bf148[_0xb6fd0d(0x239)](_0x4f8349['m2Prime'][_0xb6fd0d(0xff)]),_0x4ddf2d['unshift'](_0x64efd0['m2Prime']['params']),_0x77221c=_0x4f8349[_0xb6fd0d(0xaa)],_0x54d1b1=_0x64efd0[_0xb6fd0d(0xaa)];}_0xe37ab0['setUndoRedoMutationParamsCache']({'undoCache':_0x5bf148,'redoCache':_0x4ddf2d});}[_0xb1f837(0x1ec)](_0x35c099){const _0x485873=_0xb1f837,{unitID:_0x511f9d}=_0x35c099,_0x10bd29=this[_0x485873(0x118)][_0x485873(0x1f0)](_0x511f9d)[_0x485873(0x102)](E[_0x485873(0x22a)]),_0x520ba5=_0x10bd29['getActiveRange']();if(_0x520ba5==null)return;const _0x111f18=[{'id':_0x485873(0x10c),'params':{'unitId':_0x35c099[_0x485873(0x1e2)],'actions':null,'textRanges':[_0x520ba5]}}],_0x30dd92=this[_0x485873(0x250)][_0x485873(0xea)](_0x35c099,_0x111f18);if(!m[_0x485873(0x2e2)](_0x30dd92))throw _0x30dd92[_0x485873(0x1b1)];const _0x6789b4=_0x30dd92[_0x485873(0x24e)][0x0][_0x485873(0xff)][_0x485873(0x165)];Array[_0x485873(0x9b)](_0x6789b4)&&_0x6789b4['length']&&_0x10bd29[_0x485873(0xae)](_0x6789b4[0x0]);}};z=kt([ce(0x0,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),ce(0x1,m[_0xb1f837(0x1c4)]),ce(0x2,p['IRenderManagerService'])],z);var Ft=Object[_0xb1f837(0x19a)],Ht=(_0x1d32b0,_0x4844f0,_0x561eed,_0x57118e)=>{for(var _0x28491b=_0x57118e>0x1?void 0x0:_0x57118e?Ft(_0x4844f0,_0x561eed):_0x4844f0,_0x238f48=_0x1d32b0['length']-0x1,_0xdd6c39;_0x238f48>=0x0;_0x238f48--)(_0xdd6c39=_0x1d32b0[_0x238f48])&&(_0x28491b=_0xdd6c39(_0x28491b)||_0x28491b);return _0x28491b;},le=(_0x36e746,_0x4b805e)=>(_0x4b9cf7,_0x22a9f8)=>_0x4b805e(_0x4b9cf7,_0x22a9f8,_0x36e746);let J=class{constructor(_0x18ab27,_0x18d1a2,_0x3234a8){const _0x515351=_0xb1f837;this[_0x515351(0x144)]=_0x18ab27,this[_0x515351(0x250)]=_0x18d1a2,this['_docStateChangeManagerService']=_0x3234a8;}[_0xb1f837(0x2b8)](_0x4f81c6){const _0x69084d=_0xb1f837;this[_0x69084d(0x1e9)](_0x4f81c6);}['transformRemoteChangeset'](_0x24ff37){const _0x2ae374=_0xb1f837,{unitID:_0x2fa0c6}=_0x24ff37,{collaboration:_0x4a2f13}=this[_0x2ae374(0x2c7)][_0x2ae374(0x1f2)](_0x2fa0c6);if(_0x4a2f13[_0x2ae374(0x257)]===0x0)return _0x24ff37;let _0x1e56dd=a['Tools']['deepClone'](_0x24ff37['mutations'][0x0]);for(let _0x104e25=0x0;_0x104e25<_0x4a2f13[_0x2ae374(0x257)];_0x104e25++){const _0x306e17={'id':_0x2ae374(0x10c),'params':{'unitId':_0x4a2f13[_0x104e25][_0x2ae374(0x211)],..._0x4a2f13[_0x104e25][_0x2ae374(0x19e)]}},_0x5a740b=this['_transformService'][_0x2ae374(0x2e1)](_0x1e56dd,_0x306e17,!0x1);if(m[_0x2ae374(0x19f)](_0x5a740b))throw _0x5a740b[_0x2ae374(0x1b1)];_0x1e56dd=_0x5a740b[_0x2ae374(0xaa)];}return{...a[_0x2ae374(0x2ce)][_0x2ae374(0x17b)](_0x24ff37),'mutations':[_0x1e56dd]};}[_0xb1f837(0x1e9)](_0x4ebd39){const _0x4a291f=_0xb1f837,{unitID:_0x4726f0}=_0x4ebd39,{history:_0x33565b,collaboration:_0x27e8a4}=this[_0x4a291f(0x2c7)][_0x4a291f(0x1f2)](_0x4726f0);if(_0x33565b['length']===0x0&&_0x27e8a4[_0x4a291f(0x257)]===0x0)return;const _0xea436e=[],_0x4a371f=[];let _0x2c5401=a['Tools'][_0x4a291f(0x17b)](_0x4ebd39['mutations'][0x0]),_0x37fca3=a[_0x4a291f(0x2ce)][_0x4a291f(0x17b)](_0x4ebd39[_0x4a291f(0xbc)][0x0]);for(let _0x606623=_0x33565b[_0x4a291f(0x257)]-0x1;_0x606623>=0x0;_0x606623--){const _0x3d34aa={'id':_0x4a291f(0x10c),'params':{'unitId':_0x33565b[_0x606623][_0x4a291f(0x211)],..._0x33565b[_0x606623][_0x4a291f(0x12d)]}},_0x2e2727={'id':_0x4a291f(0x10c),'params':{'unitId':_0x33565b[_0x606623][_0x4a291f(0x211)],..._0x33565b[_0x606623]['redoState']}},_0x27c487=this[_0x4a291f(0x250)]['transformMutation'](_0x2c5401,_0x3d34aa,!0x1),_0x3c399b=this[_0x4a291f(0x250)]['transformMutation'](_0x37fca3,_0x2e2727,!0x1);if(m[_0x4a291f(0x19f)](_0x27c487))throw _0x27c487[_0x4a291f(0x1b1)];if(m[_0x4a291f(0x19f)](_0x3c399b))throw _0x3c399b[_0x4a291f(0x1b1)];_0xea436e[_0x4a291f(0x239)]({..._0x33565b[_0x606623],'undoState':_0x27c487[_0x4a291f(0x24e)]['params'],'redoState':_0x3c399b['m2Prime']['params']}),_0x2c5401=_0x27c487[_0x4a291f(0xaa)],_0x37fca3=_0x3c399b[_0x4a291f(0xaa)];}_0x2c5401=a[_0x4a291f(0x2ce)][_0x4a291f(0x17b)](_0x4ebd39['mutations'][0x0]),_0x37fca3=a[_0x4a291f(0x2ce)]['deepClone'](_0x4ebd39[_0x4a291f(0xbc)][0x0]);for(let _0x57eb69=_0x27e8a4[_0x4a291f(0x257)]-0x1;_0x57eb69>=0x0;_0x57eb69--){const _0x54422e={'id':_0x4a291f(0x10c),'params':{'unitId':_0x27e8a4[_0x57eb69][_0x4a291f(0x211)],..._0x27e8a4[_0x57eb69][_0x4a291f(0x12d)]}},_0x659cac={'id':_0x4a291f(0x10c),'params':{'unitId':_0x27e8a4[_0x57eb69][_0x4a291f(0x211)],..._0x27e8a4[_0x57eb69][_0x4a291f(0x19e)]}},_0x1078e3=this['_transformService']['transformMutation'](_0x2c5401,_0x54422e,!0x1),_0x1ed673=this['_transformService']['transformMutation'](_0x37fca3,_0x659cac,!0x1);if(m['isTransformMutationFailure'](_0x1078e3))throw _0x1078e3[_0x4a291f(0x1b1)];if(m[_0x4a291f(0x19f)](_0x1ed673))throw _0x1ed673['error'];_0x4a371f[_0x4a291f(0x239)]({..._0x27e8a4[_0x57eb69],'undoState':_0x1078e3[_0x4a291f(0x24e)][_0x4a291f(0xff)],'redoState':_0x1ed673[_0x4a291f(0x24e)][_0x4a291f(0xff)]}),_0x2c5401=_0x1078e3[_0x4a291f(0xaa)],_0x37fca3=_0x1ed673[_0x4a291f(0xaa)];}this[_0x4a291f(0x2c7)][_0x4a291f(0x1d1)](_0x4726f0,{'history':_0xea436e,'collaboration':_0x4a371f});}};J=Ht([le(0x0,a[_0xb1f837(0x175)](a[_0xb1f837(0x172)])),le(0x1,m[_0xb1f837(0x1c4)]),le(0x2,a['Inject'](E[_0xb1f837(0x12b)]))],J);var Yt=Object[_0xb1f837(0x19a)],Wt=(_0xa74f42,_0x2228cb,_0x2ec1b7,_0x5ca474)=>{for(var _0x122c23=_0x5ca474>0x1?void 0x0:_0x5ca474?Yt(_0x2228cb,_0x2ec1b7):_0x2228cb,_0x5acd17=_0xa74f42['length']-0x1,_0x519248;_0x5acd17>=0x0;_0x5acd17--)(_0x519248=_0xa74f42[_0x5acd17])&&(_0x122c23=_0x519248(_0x122c23)||_0x122c23);return _0x122c23;},Ne=(_0x45f633,_0x2105c9)=>(_0x400f24,_0x5c4ffa)=>_0x2105c9(_0x400f24,_0x5c4ffa,_0x45f633);function _0x48f4(_0x4d2ba8,_0x52210d){const _0xd3b9a0=_0xd3b9();return _0x48f4=function(_0x48f47,_0x4bc85e){_0x48f47=_0x48f47-0x6a;let _0x7c40b1=_0xd3b9a0[_0x48f47];return _0x7c40b1;},_0x48f4(_0x4d2ba8,_0x52210d);}let Z=class{constructor(_0x2a2540,_0x4b850c){this['_injector']=_0x2a2540,this['_transformService']=_0x4b850c;}[_0xb1f837(0xc3)](_0x5cdd7e){const _0x1f3dc5=_0xb1f837;var _0x51652a;const _0x3d8c41=this[_0x1f3dc5(0x144)][_0x1f3dc5(0xd1)](Y[_0x1f3dc5(0x285)]),_0x5b5bd1=(_0x51652a=_0x3d8c41[_0x1f3dc5(0x218)]())!=null?_0x51652a:[];if(_0x5b5bd1['length']===0x0)return;const _0x1d19e7=_0x5cdd7e[_0x1f3dc5(0x1e2)],_0x59f53c=[{'id':_0x1f3dc5(0x10c),'params':{'unitId':_0x1d19e7,'actions':null,'textRanges':_0x5b5bd1}}],_0x15fed7=this[_0x1f3dc5(0x250)][_0x1f3dc5(0xea)](_0x5cdd7e,_0x59f53c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x15fed7))throw _0x15fed7[_0x1f3dc5(0x1b1)];const _0xa29767=_0x15fed7[_0x1f3dc5(0x24e)][0x0][_0x1f3dc5(0xff)][_0x1f3dc5(0x165)];Array[_0x1f3dc5(0x9b)](_0xa29767)&&_0xa29767['length']&&_0x3d8c41[_0x1f3dc5(0x135)](_0xa29767,{'unitId':_0x1d19e7,'subUnitId':_0x1d19e7},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0xb1f837(0x172)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x1d3b5d,_0x1a57fa,_0x3088cb,_0x225197)=>{const _0x177c9c=_0xb1f837;for(var _0x1ae496=_0x225197>0x1?void 0x0:_0x225197?Vt(_0x1a57fa,_0x3088cb):_0x1a57fa,_0x43ef67=_0x1d3b5d[_0x177c9c(0x257)]-0x1,_0x2dd383;_0x43ef67>=0x0;_0x43ef67--)(_0x2dd383=_0x1d3b5d[_0x43ef67])&&(_0x1ae496=_0x2dd383(_0x1ae496)||_0x1ae496);return _0x1ae496;},N=(_0x5c4ec5,_0x1f26c9)=>(_0x33827c,_0x58030c)=>_0x1f26c9(_0x33827c,_0x58030c,_0x5c4ec5);let Q=class extends a['Disposable']{constructor(_0x17dee0,_0x452e7c,_0x2b3e76,_0x1fc4ff,_0x4719a5,_0x234b7a,_0x468b5c,_0x2b426f){const _0x19fa97=_0xb1f837;super(),h(this,_0x19fa97(0x212),new d['BehaviorSubject'](u[_0x19fa97(0x1f5)][_0x19fa97(0xdd)])),(this['_docStateChangeManagerService']=_0x17dee0,this['_collaborationController']=_0x452e7c,this[_0x19fa97(0x237)]=_0x2b3e76,this[_0x19fa97(0xce)]=_0x1fc4ff,this['_docTransformSelectionsService']=_0x4719a5,this[_0x19fa97(0xfd)]=_0x234b7a,this['_messageService']=_0x468b5c,this[_0x19fa97(0xa5)]=_0x2b426f,this[_0x19fa97(0x23f)]());}[_0xb1f837(0x23f)](){const _0x36b2c9=_0xb1f837;this[_0x36b2c9(0xd6)](this[_0x36b2c9(0x86)][_0x36b2c9(0x13d)][_0x36b2c9(0x1cd)](_0x3cce6d=>{const _0x323436=_0x36b2c9,_0x40019e=this[_0x323436(0x2c7)][_0x323436(0x157)]['subscribe'](_0x322aec=>{const _0x332679=_0x323436;if(_0x322aec==null)return;const {unitId:_0x396ecc,redoState:_0x521a37,commandId:_0x23ce78}=_0x322aec;if(_0x396ecc!==_0x3cce6d[_0x332679(0x1e2)])return;const _0x4b477a={'id':_0x23ce78,'type':a[_0x332679(0x171)][_0x332679(0x281)],'params':{'unitId':_0x396ecc,'actions':_0x521a37['actions'],'textRanges':null}};_0x3cce6d[_0x332679(0x1d9)](_0x4b477a);});if(_0x3cce6d[_0x323436(0xd6)](_0x40019e),_0x3cce6d instanceof u[_0x323436(0x1e8)]){const _0x4d0914={'onTransformIME':_0x5d6cf5=>this['_docTransformIMECacheService'][_0x323436(0x117)](_0x5d6cf5),'onTransformState':_0x4dac9b=>this[_0x323436(0xce)][_0x323436(0x2b8)](_0x4dac9b),'onTransformSelections':_0x32ccee=>this[_0x323436(0x1b0)][_0x323436(0xc3)](_0x32ccee),'onSyncEditingCollabCursor':_0x18d523=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x18d523),'onTransformRemoteChangesetByIMECache':_0x457835=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x457835),'onTransformRemoteChangesetByStateCache':_0x36b29d=>this[_0x323436(0xce)][_0x323436(0xe4)](_0x36b29d)};_0x3cce6d[_0x323436(0x18d)](_0x4d0914);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0xb1f837(0x12b)])),N(0x1,a['Inject'](u[_0xb1f837(0xb6)])),N(0x2,a[_0xb1f837(0x175)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0xb1f837(0x175)](Z)),N(0x5,a[_0xb1f837(0x175)](Ce)),N(0x6,O[_0xb1f837(0x27c)]),N(0x7,a[_0xb1f837(0x175)](a[_0xb1f837(0x154)]))],Q);var Gt=Object[_0xb1f837(0x19a)],Kt=(_0x1d52a2,_0x48460b,_0x4ceed9,_0x5df50b)=>{for(var _0x45dc40=_0x5df50b>0x1?void 0x0:_0x5df50b?Gt(_0x48460b,_0x4ceed9):_0x48460b,_0x413a03=_0x1d52a2['length']-0x1,_0x2afd7a;_0x413a03>=0x0;_0x413a03--)(_0x2afd7a=_0x1d52a2[_0x413a03])&&(_0x45dc40=_0x2afd7a(_0x45dc40)||_0x45dc40);return _0x45dc40;},_e=(_0x53777b,_0x12f8f2)=>(_0x2e1c04,_0x126c02)=>_0x12f8f2(_0x2e1c04,_0x126c02,_0x53777b);let ge=class extends a['Disposable']{constructor(_0x35bd6a,_0x2d868a,_0x58ccd8){const _0x100743=_0xb1f837;super(),h(this,_0x100743(0x91),new Map()),h(this,_0x100743(0x125),new Map()),h(this,_0x100743(0x131),!0x1),(this['_configService']=_0x35bd6a,this[_0x100743(0x2ea)]=_0x2d868a,this[_0x100743(0x16c)]=_0x58ccd8);}[_0xb1f837(0x106)](){const _0x19bd86=_0xb1f837;this[_0x19bd86(0x131)]=!0x0;}[_0xb1f837(0x98)](){const _0x1afdcd=_0xb1f837;this[_0x1afdcd(0x131)]=!0x1;}get['saveTaskMap'](){const _0x5f282f=_0xb1f837;return this[_0x5f282f(0x125)];}[_0xb1f837(0x8c)](){const _0x2a5bad=_0xb1f837;this['exhaustSavingTask']()[_0x2a5bad(0x1ba)](()=>super['dispose']());}async['loadOfflineData'](_0x3eae20){const _0x50707b=_0xb1f837;return this[_0x50707b(0x131)]?null:this[_0x50707b(0x2ea)]['getItem'](u[_0x50707b(0x295)](_0x3eae20));}async[_0xb1f837(0x25b)](_0x10a218,_0x3c39db){const _0x1d2691=_0xb1f837;return!!this[_0x1d2691(0x2ea)][_0x1d2691(0x286)](_0x10a218,_0x3c39db);}['updateOfflineData'](_0x397517,_0x1cf947,_0x4b32a7,_0x570885){const _0x30cf75=_0xb1f837,_0x1e2ffa=this['_revisionService'][_0x30cf75(0x13a)](_0x397517);this[_0x30cf75(0x91)][_0x30cf75(0x134)](_0x397517,{'unitID':_0x397517,'type':_0x1cf947,'awaitingChangeset':_0x4b32a7,'mutations':_0x570885,'rev':_0x1e2ffa}),this[_0x30cf75(0x125)]['has'](_0x397517)||this[_0x30cf75(0x10b)](_0x397517);}[_0xb1f837(0x10b)](_0x134d8c){const _0x554f0c=_0xb1f837,_0x54d5bd=this[_0x554f0c(0x252)]();_0x54d5bd===0x0?this['_saveCache'](_0x134d8c):this[_0x554f0c(0x125)]['set'](_0x134d8c,setTimeout(()=>this['_saveCache'](_0x134d8c),_0x54d5bd));}[_0xb1f837(0x252)](){const _0x3ab6f1=_0xb1f837;var _0x2ef190;return(_0x2ef190=this[_0x3ab6f1(0x12a)][_0x3ab6f1(0x100)](u[_0x3ab6f1(0x193)]))!=null?_0x2ef190:u[_0x3ab6f1(0x2e7)];}[_0xb1f837(0x2e4)](_0xf67444){const _0x25dc92=_0xb1f837,_0x4f77c2=this['_saveTaskMap']['get'](_0xf67444);return _0x4f77c2!==void 0x0&&window[_0x25dc92(0x1d8)](_0x4f77c2),this[_0x25dc92(0x2ea)][_0x25dc92(0x286)](u[_0x25dc92(0x295)](_0xf67444),this[_0x25dc92(0x91)]['get'](_0xf67444))[_0x25dc92(0x1ba)](()=>this[_0x25dc92(0x125)][_0x25dc92(0x1b2)](_0xf67444));}async[_0xb1f837(0x1b5)](){const _0x15860e=_0xb1f837,_0x314456=[];this['_saveTaskMap']['forEach']((_0x318cc3,_0x2f2a67)=>{const _0x1dd3e9=_0x48f4;window[_0x1dd3e9(0x1d8)](_0x318cc3),_0x314456['push'](this[_0x1dd3e9(0x2e4)](_0x2f2a67)['then'](()=>{const _0x4dfea4=_0x1dd3e9;this[_0x4dfea4(0x125)][_0x4dfea4(0x1b2)](_0x2f2a67);}));}),await Promise[_0x15860e(0xeb)](_0x314456);}};ge=Kt([_e(0x0,a[_0xb1f837(0x253)]),_e(0x1,a[_0xb1f837(0x105)]),_e(0x2,a['Inject'](m[_0xb1f837(0x23e)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x19715c=_0xb1f837;super(),h(this,_0x19715c(0x14c)),this['urlChange$']=d['fromEvent'](window,'popstate')[_0x19715c(0x28f)](d[_0x19715c(0x206)](this[_0x19715c(0x279)]),d['shareReplay'](0x1),d[_0x19715c(0x234)](void 0x0));}[_0xb1f837(0xe8)](_0x4c2cb5,_0x29d655,_0x4cb74b=!0x1){const _0x236f33=_0xb1f837,_0x1325b1=new URL(window[_0x236f33(0x28a)]['href']);_0x1325b1[_0x236f33(0x124)][_0x236f33(0x134)](_0x4c2cb5,_0x29d655),_0x4cb74b?window[_0x236f33(0x276)]['replaceState']('','',_0x1325b1['toString']()):window[_0x236f33(0x276)][_0x236f33(0x74)]('','',_0x1325b1['toString']());}[_0xb1f837(0x1fc)](_0x25ca3f,_0x46fdbc=!0x1){const _0xee324c=_0xb1f837,_0x20d2f6=new URL(window[_0xee324c(0x28a)][_0xee324c(0x2bf)]);_0x20d2f6[_0xee324c(0x124)][_0xee324c(0x1b2)](_0x25ca3f),_0x46fdbc?window[_0xee324c(0x276)][_0xee324c(0xe1)]('','',_0x20d2f6['toString']()):window[_0xee324c(0x276)]['pushState']('','',_0x20d2f6[_0xee324c(0x180)]());}[_0xb1f837(0xfc)](_0x546399){const _0x27d923=_0xb1f837;var _0x10c355;return(_0x10c355=new URL(window[_0x27d923(0x28a)][_0x27d923(0x2bf)])[_0x27d923(0x124)][_0x27d923(0xd1)](_0x546399))!=null?_0x10c355:void 0x0;}}var qt=Object[_0xb1f837(0x1ca)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x494147,_0x23791f,_0x5e130b)=>_0x23791f in _0x494147?qt(_0x494147,_0x23791f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e130b}):_0x494147[_0x23791f]=_0x5e130b,Zt=(_0xdec0b1,_0x3e52ca,_0x23aa9d,_0x522ce4)=>{for(var _0x2b510c=_0x522ce4>0x1?void 0x0:_0x522ce4?zt(_0x3e52ca,_0x23aa9d):_0x3e52ca,_0x53d9a2=_0xdec0b1['length']-0x1,_0x3e620c;_0x53d9a2>=0x0;_0x53d9a2--)(_0x3e620c=_0xdec0b1[_0x53d9a2])&&(_0x2b510c=_0x3e620c(_0x2b510c)||_0x2b510c);return _0x2b510c;},he=(_0x2cb4fe,_0x3ca6f3)=>(_0x3fe25e,_0x70892c)=>_0x3ca6f3(_0x3fe25e,_0x70892c,_0x2cb4fe),Qt=(_0x173248,_0x1ef21b,_0x35c077)=>Jt(_0x173248,_0x1ef21b+'',_0x35c077);const es=_0xb1f837(0x184);exports[_0xb1f837(0x178)]=class extends a[_0xb1f837(0xcb)]{constructor(_0x2dfc0d=Ue,_0x52ce36,_0x1707ec,_0x3c21d7){const _0x34f971=_0xb1f837;super(),this[_0x34f971(0x174)]=_0x2dfc0d,this['_renderManagerService']=_0x52ce36,this[_0x34f971(0x144)]=_0x1707ec,this[_0x34f971(0x12a)]=_0x3c21d7;const {..._0x47f3db}=a[_0x34f971(0x20b)]({},Ue,this[_0x34f971(0x174)]);this['_configService']['setConfig']($t,_0x47f3db);}[_0xb1f837(0x2d3)](){const _0x320650=_0xb1f837;this[_0x320650(0x1c7)](),this[_0x320650(0x262)]();}[_0xb1f837(0x155)](){const _0x3ccc5f=_0xb1f837;this[_0x3ccc5f(0x13c)]();}[_0xb1f837(0x1c7)](){const _0x711e65=_0xb1f837;var _0x20914e;const _0x17bd3c=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x711e65(0x1ae)],{'useClass':G['WebSocketService']}],[u[_0x711e65(0xf2)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x711e65(0x1ff)]]];a[_0x711e65(0x18e)](this[_0x711e65(0x144)],a[_0x711e65(0x210)](_0x17bd3c,(_0x20914e=this[_0x711e65(0x174)])==null?void 0x0:_0x20914e[_0x711e65(0x1a3)]));}[_0xb1f837(0x13c)](){const _0x579303=_0xb1f837;this['disposeWithMe'](this[_0x579303(0x118)][_0x579303(0x7f)](a[_0x579303(0x1be)][_0x579303(0x29a)],[fe])),this[_0x579303(0xd6)](this[_0x579303(0x118)][_0x579303(0x7f)](a[_0x579303(0x1be)][_0x579303(0x11f)],[ve]));}[_0xb1f837(0x262)](){const _0x35e3fd=_0xb1f837;a[_0x35e3fd(0x29e)](this[_0x35e3fd(0x144)],[[x],[exports[_0x35e3fd(0x194)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],'pluginName',es),exports[_0xb1f837(0x178)]=Zt([a[_0xb1f837(0xfe)](u[_0xb1f837(0x25d)]),he(0x1,p['IRenderManagerService']),he(0x2,a['Inject'](a[_0xb1f837(0x172)])),he(0x3,a[_0xb1f837(0x253)])],exports[_0xb1f837(0x178)]);var ts=Object[_0xb1f837(0x19a)],ss=(_0xc53a5b,_0x14e784,_0x11243a,_0x2d821b)=>{const _0x5ab469=_0xb1f837;for(var _0xe55518=_0x2d821b>0x1?void 0x0:_0x2d821b?ts(_0x14e784,_0x11243a):_0x14e784,_0x5ccec1=_0xc53a5b[_0x5ab469(0x257)]-0x1,_0x6633bc;_0x5ccec1>=0x0;_0x5ccec1--)(_0x6633bc=_0xc53a5b[_0x5ccec1])&&(_0xe55518=_0x6633bc(_0xe55518)||_0xe55518);return _0xe55518;},H=(_0xb9d7ea,_0x5030c2)=>(_0x459a9d,_0x5f4246)=>_0x5030c2(_0x459a9d,_0x5f4246,_0xb9d7ea);exports['BrowserCollaborationSocketService']=class extends u[_0xb1f837(0x294)]{constructor(_0x5b6b2b,_0x58f1bd,_0x5a0b28,_0x2baa2a,_0x1bcff2){super(_0x5b6b2b,_0x58f1bd,_0x5a0b28,_0x2baa2a,_0x1bcff2);}async[_0xb1f837(0x110)](_0x3a4af4){const _0x530449=_0xb1f837,_0x99e49c=await this[_0x530449(0x122)](),_0x449730=this[_0x530449(0xc5)](_0x3a4af4,_0x99e49c);return this[_0x530449(0x83)](_0x449730);}['_createSocketURL'](_0x356a5f,_0x16ba8d){const _0x3f1ba6=_0xb1f837,_0x4bb9c9=typeof window>'u'?new URL(_0x356a5f):new URL(_0x356a5f,window[_0x3f1ba6(0x28a)][_0x3f1ba6(0x1d3)]);_0x4bb9c9['searchParams'][_0x3f1ba6(0x134)](_0x3f1ba6(0x2e5),_0x16ba8d);const _0x96f99=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f1ba6(0x28a)]['search']);return _0x96f99[_0x3f1ba6(0xd1)]('runId')&&_0x4bb9c9[_0x3f1ba6(0x124)][_0x3f1ba6(0x134)](_0x3f1ba6(0xd7),_0x96f99[_0x3f1ba6(0xd1)](_0x3f1ba6(0xd7))),_0x4bb9c9[_0x3f1ba6(0x180)]();}async[_0xb1f837(0x122)](){const _0x57d343=_0xb1f837;var _0x261735,_0x36e358,_0x19a6c5;const _0x5b700b=this[_0x57d343(0x12a)]['getConfig'](u[_0x57d343(0x2a7)]),_0x422bf3=(_0x261735=_0x5b700b==null?void 0x0:_0x5b700b['wsSessionTicketUrl'])!=null?_0x261735:u[_0x57d343(0x20a)];return(_0x19a6c5=(_0x36e358=(await this['_httpService'][_0x57d343(0xd1)](_0x422bf3,{'headers':{'Content-Type':_0x57d343(0x103)}}))[_0x57d343(0x207)])==null?void 0x0:_0x36e358[_0x57d343(0x297)])!=null?_0x19a6c5:'';}},exports[_0xb1f837(0xbe)]=ss([H(0x0,a['Inject'](a[_0xb1f837(0x172)])),H(0x1,a['Inject'](G[_0xb1f837(0x249)])),H(0x2,a['IConfigService']),H(0x3,a[_0xb1f837(0x261)]),H(0x4,m[_0xb1f837(0x1ed)])],exports[_0xb1f837(0xbe)]);const Me=0x7530,Le=_0xb1f837(0x2b9);class is extends a[_0xb1f837(0x2af)]{constructor(){const _0x5bf4a3=_0xb1f837;super(),h(this,_0x5bf4a3(0x104),a[_0x5bf4a3(0x1a4)]()),h(this,_0x5bf4a3(0xd5),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x5bf4a3(0x15e),null),h(this,_0x5bf4a3(0x267),new Map()),h(this,_0x5bf4a3(0x6e),new Map()),this[_0x5bf4a3(0x26a)]();}[_0xb1f837(0x8c)](){const _0x552e7d=_0xb1f837;super[_0x552e7d(0x8c)](),this[_0x552e7d(0x267)][_0x552e7d(0x13f)]((_0x3f27aa,_0x5e812a)=>this[_0x552e7d(0xcf)](_0x5e812a)),this[_0x552e7d(0x15e)]&&window[_0x552e7d(0x6a)](this[_0x552e7d(0x15e)]);}[_0xb1f837(0x12e)](_0x451f10){const _0x5780bd=_0xb1f837;return this[_0x5780bd(0x22e)](_0x451f10)[_0x5780bd(0x28f)](d[_0x5780bd(0x11c)]());}['editingUnit'](_0x3e6223){const _0x365108=_0xb1f837;this['_selfUnitIDs'][_0x365108(0x1df)]===0x0&&this[_0x365108(0x1f8)](),this['_selfUnitIDs'][_0x365108(0x291)](_0x3e6223),this[_0x365108(0xb8)]({'type':0x0,'memberID':this[_0x365108(0x104)],'unitIDs':[_0x3e6223],'isForwarded':!0x1});}['disposeUnit'](_0x277e01){const _0x46b87d=_0xb1f837;this['_selfUnitIDs'][_0x46b87d(0x1b2)](_0x277e01),this[_0x46b87d(0xd5)][_0x46b87d(0x1df)]===0x0&&this[_0x46b87d(0x15e)]&&window[_0x46b87d(0x6a)](this[_0x46b87d(0x15e)]);}['_init'](){const _0x19b282=_0xb1f837;this[_0x19b282(0xd6)](a[_0x19b282(0x2aa)](d[_0x19b282(0x1c0)](window,_0x19b282(0x138))[_0x19b282(0x1cd)](_0x1eec56=>{const _0x2909e8=_0x19b282;if(_0x1eec56[_0x2909e8(0x26f)]!==Le||!_0x1eec56[_0x2909e8(0x2a8)])return;const _0xe9ebbf=JSON[_0x2909e8(0x258)](_0x1eec56[_0x2909e8(0x2a8)]);this[_0x2909e8(0x161)](_0xe9ebbf);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x19b282(0x104)],'unitIDs':Array[_0x19b282(0x2d9)](this[_0x19b282(0xd5)])}));}[_0xb1f837(0x161)](_0x5ac4fb){const _0x22a37f=_0xb1f837;switch(_0x5ac4fb['type']){case 0x0:this[_0x22a37f(0x209)](_0x5ac4fb);break;case 0x1:this[_0x22a37f(0x17c)](_0x5ac4fb);break;case 0x2:this[_0x22a37f(0x1b4)](_0x5ac4fb);break;}}[_0xb1f837(0x209)](_0x16e364){const _0x355724=_0xb1f837,{unitIDs:_0x378144,memberID:_0x182b1c,isForwarded:_0x21ce93}=_0x16e364;_0x378144['forEach'](_0x4ac8b2=>{const _0x5b325f=_0x48f4;if(!_0x21ce93&&this[_0x5b325f(0x2d5)][_0x5b325f(0x1ea)](_0x4ac8b2)&&this[_0x5b325f(0x22e)](_0x4ac8b2)[_0x5b325f(0xdf)](u[_0x5b325f(0x299)][_0x5b325f(0x1a1)]),!this['_unitOnClients'][_0x5b325f(0x1ea)](_0x4ac8b2)||!this[_0x5b325f(0x2d5)][_0x5b325f(0xd1)](_0x4ac8b2)[_0x5b325f(0x1ea)](_0x182b1c)){const _0x54c143=this[_0x5b325f(0x2d5)][_0x5b325f(0xd1)](_0x4ac8b2)||new Set();_0x54c143[_0x5b325f(0x291)](_0x182b1c),this[_0x5b325f(0x2d5)][_0x5b325f(0x134)](_0x4ac8b2,_0x54c143),this['_scheduleClearOtherTimer'](_0x182b1c);}}),_0x21ce93||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x355724(0xd5)]],'isForwarded':!0x0});}[_0xb1f837(0x2a9)](_0x49a130){const _0x4a4f17=_0xb1f837;this['_removeClearOtherTimer'](_0x49a130);const _0x3cbae2=window[_0x4a4f17(0x222)](()=>{const _0x52bafe=_0x4a4f17;this[_0x52bafe(0x2d5)][_0x52bafe(0x13f)](_0x6415c7=>{const _0x3a5569=_0x52bafe;_0x6415c7[_0x3a5569(0x1b2)](_0x49a130);});},Me*0x2);this[_0x4a4f17(0x267)][_0x4a4f17(0x134)](_0x49a130,_0x3cbae2);}[_0xb1f837(0xcf)](_0xc5b1fa){const _0x2796f5=_0xb1f837;if(this['_clearOtherTimers'][_0x2796f5(0x1ea)](_0xc5b1fa)){const _0x46b2a0=this[_0x2796f5(0x267)][_0x2796f5(0xd1)](_0xc5b1fa);_0x46b2a0&&window[_0x2796f5(0x1d8)](_0x46b2a0),this[_0x2796f5(0x267)]['set'](_0xc5b1fa,null);}}[_0xb1f837(0x17c)](_0x511a7b){const _0x261c18=_0xb1f837,{memberID:_0x5549d1,unitIDs:_0x3005f4}=_0x511a7b;_0x3005f4[_0x261c18(0x13f)](_0x9899a4=>{const _0x1ebed3=_0x261c18;var _0x451358;const _0x2879b1=this[_0x1ebed3(0x2d5)][_0x1ebed3(0xd1)](_0x9899a4);_0x2879b1&&(_0x2879b1[_0x1ebed3(0x1b2)](_0x5549d1),(_0x451358=this['_ensureSubject'](_0x9899a4))==null||_0x451358[_0x1ebed3(0xdf)](_0x2879b1[_0x1ebed3(0x1df)]===0x0?u[_0x1ebed3(0x299)][_0x1ebed3(0xd9)]:u[_0x1ebed3(0x299)][_0x1ebed3(0x1a1)]));}),this['_removeClearOtherTimer'](_0x5549d1);}[_0xb1f837(0x1b4)](_0x1ea991){const _0x28012e=_0xb1f837;this[_0x28012e(0x2a9)](_0x1ea991[_0x28012e(0x159)]);}[_0xb1f837(0xb8)](_0x41e9f5){const _0x336a17=_0xb1f837;localStorage[_0x336a17(0x286)](Le,JSON[_0x336a17(0x2ac)](_0x41e9f5));}[_0xb1f837(0x1f8)](){const _0x131b03=_0xb1f837;this[_0x131b03(0x15e)]=window[_0x131b03(0x1e5)](()=>{const _0x409f44=_0x131b03;this[_0x409f44(0xb8)]({'type':0x2,'memberID':this['_id']});},Me);}['_ensureSubject'](_0x58ba82){const _0x4bf3b6=_0xb1f837;return this[_0x4bf3b6(0x6e)][_0x4bf3b6(0x1ea)](_0x58ba82)||this[_0x4bf3b6(0x6e)][_0x4bf3b6(0x134)](_0x58ba82,new d['BehaviorSubject'](u['UnitStatus'][_0x4bf3b6(0xd9)])),this[_0x4bf3b6(0x6e)]['get'](_0x58ba82);}}var je=(_0x3c24ca=>(_0x3c24ca[_0x3c24ca[_0xb1f837(0x224)]=0x0]=_0xb1f837(0x224),_0x3c24ca[_0x3c24ca['OK']=0x1]='OK',_0x3c24ca[_0x3c24ca['INTERNAL_ERROR']=0x2]=_0xb1f837(0x84),_0x3c24ca[_0x3c24ca[_0xb1f837(0x153)]=0x3]=_0xb1f837(0x153),_0x3c24ca[_0x3c24ca['NOT_FOUND']=0x4]=_0xb1f837(0x2d2),_0x3c24ca[_0x3c24ca['UNAUTHENTICATED']=0x5]=_0xb1f837(0x1fa),_0x3c24ca[_0x3c24ca[_0xb1f837(0x284)]=0x6]=_0xb1f837(0x284),_0x3c24ca[_0x3c24ca[_0xb1f837(0xe7)]=0x7]=_0xb1f837(0xe7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x142)]=0x8]=_0xb1f837(0x142),_0x3c24ca[_0x3c24ca[_0xb1f837(0x208)]=0x9]=_0xb1f837(0x208),_0x3c24ca[_0x3c24ca[_0xb1f837(0xf6)]=0xa]='LOGIN_FAILED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x241)]=0xb]=_0xb1f837(0x241),_0x3c24ca[_0x3c24ca[_0xb1f837(0x24d)]=0xc]=_0xb1f837(0x24d),_0x3c24ca[_0x3c24ca['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3c24ca[_0x3c24ca[_0xb1f837(0x92)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x10f)]=0x1389]=_0xb1f837(0x10f),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1c2)]=0x1771]=_0xb1f837(0x1c2),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2b0)]=0x1772]=_0xb1f837(0x2b0),_0x3c24ca[_0x3c24ca[_0xb1f837(0x132)]=0x1773]=_0xb1f837(0x132),_0x3c24ca[_0x3c24ca['APPLY_REJECT']=0x1b59]=_0xb1f837(0x260),_0x3c24ca[_0x3c24ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xb1f837(0x1d7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1f4)]=0x1b5b]=_0xb1f837(0x1f4),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2e3)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x130)]=0x1b5d]=_0xb1f837(0x130),_0x3c24ca[_0x3c24ca['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xb1f837(0x265),_0x3c24ca[_0x3c24ca[_0xb1f837(0x2b4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x2db)]=0x232a]=_0xb1f837(0x2db),_0x3c24ca[_0x3c24ca[_0xb1f837(0x8a)]=0x232b]=_0xb1f837(0x8a),_0x3c24ca[_0x3c24ca[_0xb1f837(0x203)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x11a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x236)]=0x2711]=_0xb1f837(0x236),_0x3c24ca[_0x3c24ca['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xb1f837(0x2a0),_0x3c24ca[_0x3c24ca[_0xb1f837(0x17d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3c24ca[_0x3c24ca[_0xb1f837(0x1c5)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3c24ca[_0x3c24ca[_0xb1f837(0x89)]=0x271a]=_0xb1f837(0x89),_0x3c24ca[_0x3c24ca['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xb1f837(0x2d1),_0x3c24ca[_0x3c24ca[_0xb1f837(0x115)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3c24ca[_0x3c24ca[_0xb1f837(0xe6)]=0x271d]=_0xb1f837(0xe6),_0x3c24ca[_0x3c24ca[_0xb1f837(0xd3)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x17e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3c24ca[_0x3c24ca[_0xb1f837(0x2c4)]=0x2720]=_0xb1f837(0x2c4),_0x3c24ca[_0x3c24ca[_0xb1f837(0x27a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3c24ca[_0x3c24ca[_0xb1f837(0x176)]=0x2ee1]=_0xb1f837(0x176),_0x3c24ca[_0x3c24ca[_0xb1f837(0x264)]=0x2ee2]=_0xb1f837(0x264),_0x3c24ca[_0x3c24ca[_0xb1f837(0x205)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3c24ca[_0x3c24ca['USER_NOT_INVITED_CODE']=0x2ee4]=_0xb1f837(0x235),_0x3c24ca[_0x3c24ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xb1f837(0x2d7),_0x3c24ca[_0x3c24ca[_0xb1f837(0x21b)]=0x32c9]=_0xb1f837(0x21b),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1d5)]=0x32ca]=_0xb1f837(0x1d5),_0x3c24ca[_0x3c24ca[_0xb1f837(0x13b)]=0x32cb]=_0xb1f837(0x13b),_0x3c24ca[_0x3c24ca[_0xb1f837(0x1d2)]=-0x1]=_0xb1f837(0x1d2),_0x3c24ca))(je||{}),ns=Object[_0xb1f837(0x19a)],rs=(_0xc6c893,_0x51fa73,_0x10ba34,_0x1fd2cc)=>{const _0x3a6f14=_0xb1f837;for(var _0x90887=_0x1fd2cc>0x1?void 0x0:_0x1fd2cc?ns(_0x51fa73,_0x10ba34):_0x51fa73,_0x3c34fe=_0xc6c893[_0x3a6f14(0x257)]-0x1,_0x1e97fd;_0x3c34fe>=0x0;_0x3c34fe--)(_0x1e97fd=_0xc6c893[_0x3c34fe])&&(_0x90887=_0x1e97fd(_0x90887)||_0x90887);return _0x90887;},ue=(_0x51db21,_0x7c557b)=>(_0x564e31,_0x2b6fd5)=>_0x7c557b(_0x564e31,_0x2b6fd5,_0x51db21);exports[_0xb1f837(0x6b)]=class extends a[_0xb1f837(0x2af)]{constructor(_0x73fb11,_0x4ab750,_0x5b8d7f){const _0x4e85a2=_0xb1f837;super(),this[_0x4e85a2(0x23b)]=_0x73fb11,this[_0x4e85a2(0x230)]=_0x4ab750,this['_configService']=_0x5b8d7f;}async['runOnServer'](_0x5af24b,_0x104527,_0x54768a,..._0x470134){const _0x21ff6a=_0xb1f837;var _0x4f7920,_0x4a124c,_0x3ba94b,_0xc339fa;const _0x31af48=this[_0x21ff6a(0x23b)][_0x21ff6a(0x1ce)]();if(!_0x31af48)throw new Error(_0x21ff6a(0x10e));const _0xcd7930=((_0x4f7920=this['_configService'][_0x21ff6a(0x100)](u[_0x21ff6a(0x1a8)]))!=null?_0x4f7920:u[_0x21ff6a(0x119)])+'/'+_0x5af24b+_0x21ff6a(0xa8)+_0x104527,_0x4e9b0b=new URL(window[_0x21ff6a(0x28a)][_0x21ff6a(0x2bf)]),_0x1379dd={'scriptId':_0x5af24b,'runId':(_0x4a124c=_0x4e9b0b[_0x21ff6a(0x124)]['get'](_0x21ff6a(0xd7)))!=null?_0x4a124c:'','function':_0x104527,'unitId':_0x31af48[_0x21ff6a(0xd4)](),'argsOfFunction':JSON['stringify'](_0x470134),'invokeId':(_0x3ba94b=_0x54768a['invokeId'])!=null?_0x3ba94b:'','executionId':(_0xc339fa=_0x54768a['executionId'])!=null?_0xc339fa:''};try{const _0x41c80e=await this[_0x21ff6a(0x230)][_0x21ff6a(0x27d)](_0xcd7930,{'body':_0x1379dd});return _0x41c80e[_0x21ff6a(0x207)][_0x21ff6a(0x1b1)]&&_0x41c80e['body'][_0x21ff6a(0x1b1)]['code']!==je['OK']?_0x21ff6a(0xd8):_0x41c80e['body']['result'];}catch{return _0x21ff6a(0xd8);}}},exports[_0xb1f837(0x6b)]=rs([ue(0x0,a[_0xb1f837(0x18a)]),ue(0x1,a['Inject'](G[_0xb1f837(0x249)])),ue(0x2,a['IConfigService'])],exports[_0xb1f837(0x6b)]),exports[_0xb1f837(0x2b1)]=xe,exports['IURLService']=Ee,exports[_0xb1f837(0xcd)]=we,exports[_0xb1f837(0x80)]=is,exports['WebURLService']=Be;
@@ -1 +1 @@
1
- 'use strict';const _0x282040=_0x381b;(function(_0x131203,_0x20f248){const _0x3fa2ac=_0x381b,_0x10d36b=_0x131203();while(!![]){try{const _0xf14314=-parseInt(_0x3fa2ac(0x67))/0x1*(parseInt(_0x3fa2ac(0x71))/0x2)+-parseInt(_0x3fa2ac(0x65))/0x3+parseInt(_0x3fa2ac(0x7c))/0x4*(-parseInt(_0x3fa2ac(0x74))/0x5)+-parseInt(_0x3fa2ac(0x78))/0x6*(-parseInt(_0x3fa2ac(0x75))/0x7)+-parseInt(_0x3fa2ac(0x69))/0x8+-parseInt(_0x3fa2ac(0x6e))/0x9+parseInt(_0x3fa2ac(0x7a))/0xa;if(_0xf14314===_0x20f248)break;else _0x10d36b['push'](_0x10d36b['shift']());}catch(_0x26e14a){_0x10d36b['push'](_0x10d36b['shift']());}}}(_0x1931,0xb5fb5));function _0x381b(_0x1ee8b9,_0x49f910){const _0x193123=_0x1931();return _0x381b=function(_0x381b9d,_0x5b899e){_0x381b9d=_0x381b9d-0x65;let _0x562b50=_0x193123[_0x381b9d];return _0x562b50;},_0x381b(_0x1ee8b9,_0x49f910);}function _0x1931(){const _0x3b04ec=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20Conflict','6khMhsU','Edit\x20conflicts','31216840XrSCpI','Authentication\x20Error','4uqStdW','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3163092ySJrst','Synced','1iDBQLF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','5360888tjbulC','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','8239932JLygnh','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','942218CVtOZs','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3138390gfwaae','9537661ajXsPc'];_0x1931=function(){return _0x3b04ec;};return _0x1931();}const e={'collab-client':{'tooltip':{'reconnect':_0x282040(0x6a)}},'collabStatus':{'fetchMiss':_0x282040(0x6d),'conflict':_0x282040(0x79),'notCollab':_0x282040(0x6f),'synced':_0x282040(0x66),'syncing':_0x282040(0x7d),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x282040(0x72),'will-retry':_0x282040(0x68),'room-full':_0x282040(0x73),'collaboration-timeout':_0x282040(0x6b)},'conflict':{'title':_0x282040(0x77),'content':_0x282040(0x76)},'permission':{'title':_0x282040(0x7b),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x282040(0x70)},'closeRoom':_0x282040(0x7e)},'auth':{'needGotoLoginAlert':_0x282040(0x6c)}},o=e;module['exports']=o;
1
+ 'use strict';const _0x497a5f=_0x3633;function _0x3633(_0x35e0e4,_0x1d0116){const _0xb41c17=_0xb41c();return _0x3633=function(_0x363384,_0x4c782d){_0x363384=_0x363384-0xa6;let _0x3ff74c=_0xb41c17[_0x363384];return _0x3ff74c;},_0x3633(_0x35e0e4,_0x1d0116);}(function(_0x58cf37,_0x555af1){const _0x166b8b=_0x3633,_0x5beb21=_0x58cf37();while(!![]){try{const _0x2aceb0=parseInt(_0x166b8b(0xab))/0x1*(-parseInt(_0x166b8b(0xba))/0x2)+parseInt(_0x166b8b(0xac))/0x3*(parseInt(_0x166b8b(0xaf))/0x4)+-parseInt(_0x166b8b(0xa8))/0x5*(parseInt(_0x166b8b(0xbe))/0x6)+parseInt(_0x166b8b(0xb2))/0x7+-parseInt(_0x166b8b(0xb3))/0x8+parseInt(_0x166b8b(0xbf))/0x9*(-parseInt(_0x166b8b(0xb4))/0xa)+-parseInt(_0x166b8b(0xb1))/0xb*(-parseInt(_0x166b8b(0xad))/0xc);if(_0x2aceb0===_0x555af1)break;else _0x5beb21['push'](_0x5beb21['shift']());}catch(_0x158d92){_0x5beb21['push'](_0x5beb21['shift']());}}}(_0xb41c,0x52a73));const e={'collab-client':{'tooltip':{'reconnect':_0x497a5f(0xb7)}},'collabStatus':{'fetchMiss':_0x497a5f(0xa7),'conflict':_0x497a5f(0xbc),'notCollab':_0x497a5f(0xbd),'synced':_0x497a5f(0xbb),'syncing':_0x497a5f(0xb0),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x497a5f(0xb5),'will-retry':_0x497a5f(0xaa),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x497a5f(0xb9)},'conflict':{'title':_0x497a5f(0xc0),'content':_0x497a5f(0xb8)},'permission':{'title':'Authentication\x20Error','content':_0x497a5f(0xa6)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x497a5f(0xb6)},'auth':{'needGotoLoginAlert':_0x497a5f(0xae)}},o=e;module[_0x497a5f(0xa9)]=o;function _0xb41c(){const _0x286f5a=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2gYCVQx','Synced','Edit\x20conflicts','Local\x20file','56982ULeOcS','1421235qJULmG','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','175KuwrXG','exports','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','240229DVWMIV','34923dHkuPy','3340476ibiZcS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','12lPAonN','Syncing...','66yLqeYJ','1127861eIxBjS','5114264zacALH','20jHcIGA','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect'];_0xb41c=function(){return _0x286f5a;};return _0xb41c();}