@univerjs-pro/collaboration-client-ui 0.10.3-nightly.202508150623 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2afadb=_0x3c6e;function _0x3c6e(_0x476432,_0x12db27){const _0x1e311c=_0x1e31();return _0x3c6e=function(_0x3c6e9e,_0x3e992b){_0x3c6e9e=_0x3c6e9e-0xe0;let _0x45805f=_0x1e311c[_0x3c6e9e];return _0x45805f;},_0x3c6e(_0x476432,_0x12db27);}(function(_0x5ed9c9,_0x5f17b0){const _0x5c01b8=_0x3c6e,_0x557257=_0x5ed9c9();while(!![]){try{const _0x22c55a=parseInt(_0x5c01b8(0xe1))/0x1+-parseInt(_0x5c01b8(0xe9))/0x2+parseInt(_0x5c01b8(0xe2))/0x3*(parseInt(_0x5c01b8(0xe8))/0x4)+-parseInt(_0x5c01b8(0xe7))/0x5+-parseInt(_0x5c01b8(0xe3))/0x6*(parseInt(_0x5c01b8(0xed))/0x7)+-parseInt(_0x5c01b8(0xec))/0x8+-parseInt(_0x5c01b8(0xea))/0x9*(-parseInt(_0x5c01b8(0xe4))/0xa);if(_0x22c55a===_0x5f17b0)break;else _0x557257['push'](_0x557257['shift']());}catch(_0x2b7264){_0x557257['push'](_0x557257['shift']());}}}(_0x1e31,0x3c144));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x1e31(){const _0x7a367d=['runOnServer','1002160CVqmVM','2252hydnYg','918610wADFqS','36FCpoUL','FUniver','2412784dNolxk','17906XfdVMW','RemoteUniscriptService','317774iPjFeH','417kCKTxu','96OQaSXc','2130790gTaFrO','get'];_0x1e31=function(){return _0x7a367d;};return _0x1e31();}class c extends e[_0x2afadb(0xeb)]{[_0x2afadb(0xe6)](_0x55dbe8,_0x3d6fd9,..._0x16009d){const _0x4c20aa=_0x2afadb;return this['_injector'][_0x4c20aa(0xe5)](t[_0x4c20aa(0xe0)])[_0x4c20aa(0xe6)](_0x55dbe8,_0x3d6fd9,{},..._0x16009d);}}e[_0x2afadb(0xeb)]['extend'](c);
1
+ 'use strict';const _0x52f55b=_0x260f;(function(_0x462468,_0x543ef3){const _0x5b0c37=_0x260f,_0x1e535c=_0x462468();while(!![]){try{const _0x16e698=-parseInt(_0x5b0c37(0x17d))/0x1+parseInt(_0x5b0c37(0x172))/0x2+parseInt(_0x5b0c37(0x173))/0x3+-parseInt(_0x5b0c37(0x176))/0x4*(parseInt(_0x5b0c37(0x170))/0x5)+-parseInt(_0x5b0c37(0x17c))/0x6+parseInt(_0x5b0c37(0x17b))/0x7*(-parseInt(_0x5b0c37(0x17a))/0x8)+-parseInt(_0x5b0c37(0x179))/0x9*(-parseInt(_0x5b0c37(0x177))/0xa);if(_0x16e698===_0x543ef3)break;else _0x1e535c['push'](_0x1e535c['shift']());}catch(_0x1ba524){_0x1e535c['push'](_0x1e535c['shift']());}}}(_0x1875,0x3fbb7));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x260f(_0x16fad1,_0x212926){const _0x1875e5=_0x1875();return _0x260f=function(_0x260f88,_0x5c82a5){_0x260f88=_0x260f88-0x170;let _0x2ad5ac=_0x1875e5[_0x260f88];return _0x2ad5ac;},_0x260f(_0x16fad1,_0x212926);}function _0x1875(){const _0x209194=['10XkqNBP','get','8957439glTdCW','232KsEStC','49798WdBfue','557700zPqVtp','352619FdWZKV','5cYmoEA','RemoteUniscriptService','327860glVrWc','155499ypKTDK','_injector','FUniver','1192448gwMMRK'];_0x1875=function(){return _0x209194;};return _0x1875();}class c extends e[_0x52f55b(0x175)]{['runOnServer'](_0x19e5bc,_0x22bac0,..._0x36815e){const _0x4ffc40=_0x52f55b;return this[_0x4ffc40(0x174)][_0x4ffc40(0x178)](t[_0x4ffc40(0x171)])['runOnServer'](_0x19e5bc,_0x22bac0,{},..._0x36815e);}}e[_0x52f55b(0x175)]['extend'](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4e7d6e=_0x393a;(function(_0x2d5264,_0x31d656){const _0x271e8e=_0x393a,_0x21d771=_0x2d5264();while(!![]){try{const _0x1afff3=parseInt(_0x271e8e(0x2f2))/0x1*(parseInt(_0x271e8e(0x95))/0x2)+-parseInt(_0x271e8e(0x19b))/0x3*(-parseInt(_0x271e8e(0x11c))/0x4)+parseInt(_0x271e8e(0x239))/0x5+parseInt(_0x271e8e(0x1c9))/0x6+-parseInt(_0x271e8e(0x2c0))/0x7*(-parseInt(_0x271e8e(0x1bf))/0x8)+parseInt(_0x271e8e(0x2e6))/0x9*(parseInt(_0x271e8e(0xdf))/0xa)+-parseInt(_0x271e8e(0x280))/0xb*(parseInt(_0x271e8e(0xa4))/0xc);if(_0x1afff3===_0x31d656)break;else _0x21d771['push'](_0x21d771['shift']());}catch(_0x110107){_0x21d771['push'](_0x21d771['shift']());}}}(_0x32d3,0xdfc63));var We=Object['defineProperty'],Ve=(_0x5344ed,_0x2a5ee8,_0x21363c)=>_0x2a5ee8 in _0x5344ed?We(_0x5344ed,_0x2a5ee8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21363c}):_0x5344ed[_0x2a5ee8]=_0x21363c,h=(_0x341a66,_0x49b3b0,_0x1a3f7f)=>Ve(_0x341a66,typeof _0x49b3b0!='symbol'?_0x49b3b0+'':_0x49b3b0,_0x1a3f7f);Object['defineProperty'](exports,Symbol[_0x4e7d6e(0x2d8)],{'value':_0x4e7d6e(0xbc)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x2cd1ba=_0x4e7d6e;return b=Object[_0x2cd1ba(0x1d1)]||function(_0x8aad32){const _0x2d0c6c=_0x2cd1ba;for(var _0x5ba6de,_0x142434=0x1,_0x359cd0=arguments[_0x2d0c6c(0x278)];_0x142434<_0x359cd0;_0x142434++){_0x5ba6de=arguments[_0x142434];for(var _0x15460a in _0x5ba6de)Object[_0x2d0c6c(0x9d)][_0x2d0c6c(0x221)][_0x2d0c6c(0x2b4)](_0x5ba6de,_0x15460a)&&(_0x8aad32[_0x15460a]=_0x5ba6de[_0x15460a]);}return _0x8aad32;},b[_0x2cd1ba(0x2cb)](this,arguments);},Ke=function(_0x33a36b,_0x47060e){const _0x4d6391=_0x4e7d6e;var _0x45ddb1={};for(var _0x72a54e in _0x33a36b)Object[_0x4d6391(0x9d)][_0x4d6391(0x221)][_0x4d6391(0x2b4)](_0x33a36b,_0x72a54e)&&_0x47060e[_0x4d6391(0xc3)](_0x72a54e)<0x0&&(_0x45ddb1[_0x72a54e]=_0x33a36b[_0x72a54e]);if(_0x33a36b!=null&&typeof Object[_0x4d6391(0x2c9)]==_0x4d6391(0x252)){for(var _0xfa08c4=0x0,_0x72a54e=Object['getOwnPropertySymbols'](_0x33a36b);_0xfa08c4<_0x72a54e[_0x4d6391(0x278)];_0xfa08c4++)_0x47060e[_0x4d6391(0xc3)](_0x72a54e[_0xfa08c4])<0x0&&Object[_0x4d6391(0x9d)][_0x4d6391(0x24f)][_0x4d6391(0x2b4)](_0x33a36b,_0x72a54e[_0xfa08c4])&&(_0x45ddb1[_0x72a54e[_0xfa08c4]]=_0x33a36b[_0x72a54e[_0xfa08c4]]);}return _0x45ddb1;},ge=M[_0x4e7d6e(0xad)](function(_0x31b1f0,_0x4d8e6d){const _0x213ac8=_0x4e7d6e;var _0x154efa=_0x31b1f0[_0x213ac8(0x2d3)],_0x4c2c0a=_0x31b1f0['id'],_0x2296f6=_0x31b1f0[_0x213ac8(0x1bb)],_0x532d15=_0x31b1f0[_0x213ac8(0x10c)],_0x48029a=Ke(_0x31b1f0,[_0x213ac8(0x2d3),'id',_0x213ac8(0x1bb),_0x213ac8(0x10c)]),_0x3ca360=_0x213ac8(0x1e2)[_0x213ac8(0x24b)](_0x4c2c0a,'\x20')[_0x213ac8(0x24b)](_0x2296f6||'')[_0x213ac8(0x1e4)](),_0x5d00ae=M[_0x213ac8(0x27f)]('_'['concat'](Je()));return Pe(_0x154efa,''['concat'](_0x4c2c0a),{'defIds':_0x154efa[_0x213ac8(0x19a)],'idSuffix':_0x5d00ae[_0x213ac8(0x13a)]},b({'ref':_0x4d8e6d,'className':_0x3ca360},_0x48029a),_0x532d15);});function Pe(_0x521e59,_0xeef5a9,_0x2c6010,_0x18aed5,_0x5dede2){const _0xb45625=_0x4e7d6e;return M[_0xb45625(0x25c)](_0x521e59['tag'],b(b({'key':_0xeef5a9},qe(_0x521e59,_0x2c6010,_0x5dede2)),_0x18aed5),(ze(_0x521e59,_0x2c6010)[_0xb45625(0x24a)]||[])[_0xb45625(0x2f8)](function(_0x3f0a91,_0x183560){const _0xfbaf00=_0xb45625;return Pe(_0x3f0a91,''['concat'](_0xeef5a9,'-')[_0xfbaf00(0x24b)](_0x521e59[_0xfbaf00(0x1ff)],'-')[_0xfbaf00(0x24b)](_0x183560),_0x2c6010,void 0x0,_0x5dede2);}));}function qe(_0x39ee78,_0x4232d2,_0x3a27e2){const _0x3b5bc2=_0x4e7d6e;var _0x1130dd=b({},_0x39ee78[_0x3b5bc2(0xe7)]);_0x3a27e2!=null&&_0x3a27e2[_0x3b5bc2(0xa1)]&&_0x1130dd[_0x3b5bc2(0xf7)]===_0x3b5bc2(0xa1)&&(_0x1130dd[_0x3b5bc2(0xf7)]=_0x3a27e2[_0x3b5bc2(0xa1)]),_0x39ee78[_0x3b5bc2(0x1ff)]===_0x3b5bc2(0x1a8)&&_0x1130dd['id']&&(_0x1130dd['id']=_0x1130dd['id']+_0x4232d2[_0x3b5bc2(0x2e9)]),Object[_0x3b5bc2(0x1f1)](_0x1130dd)[_0x3b5bc2(0x156)](function(_0x5f1255){const _0x59bda4=_0x3b5bc2;var _0x56c308=_0x5f1255[0x0],_0x202768=_0x5f1255[0x1];_0x56c308===_0x59bda4(0x1a8)&&typeof _0x202768=='string'&&(_0x1130dd[_0x56c308]=_0x202768[_0x59bda4(0x29a)](/url\(#(.*)\)/,_0x59bda4(0x177)['concat'](_0x4232d2['idSuffix'],')')));});var _0x536589=_0x4232d2['defIds'];return!_0x536589||_0x536589[_0x3b5bc2(0x278)]===0x0||(_0x39ee78[_0x3b5bc2(0x1ff)]===_0x3b5bc2(0x106)&&_0x1130dd[_0x3b5bc2(0x107)]&&(_0x1130dd[_0x3b5bc2(0x107)]=_0x1130dd[_0x3b5bc2(0x107)]+_0x4232d2[_0x3b5bc2(0x2e9)]),Object[_0x3b5bc2(0x1f1)](_0x1130dd)[_0x3b5bc2(0x156)](function(_0x233521){const _0x47f928=_0x3b5bc2;var _0x59ed1a=_0x233521[0x0],_0x1d50ae=_0x233521[0x1];typeof _0x1d50ae==_0x47f928(0x1b6)&&(_0x1130dd[_0x59ed1a]=_0x1d50ae[_0x47f928(0x29a)](/url\(#(.*)\)/,_0x47f928(0x177)[_0x47f928(0x24b)](_0x4232d2[_0x47f928(0x2e9)],')')));})),_0x1130dd;}function ze(_0x5d520a,_0x3ba782){const _0x9ecdb7=_0x4e7d6e;var _0xea154a,_0x12c36a=_0x3ba782[_0x9ecdb7(0x19a)];return!_0x12c36a||_0x12c36a[_0x9ecdb7(0x278)]===0x0?_0x5d520a:_0x5d520a[_0x9ecdb7(0x1ff)]==='defs'&&(!((_0xea154a=_0x5d520a['children'])===null||_0xea154a===void 0x0)&&_0xea154a[_0x9ecdb7(0x278)])?b(b({},_0x5d520a),{'children':_0x5d520a[_0x9ecdb7(0x24a)][_0x9ecdb7(0x2f8)](function(_0x219f4a){const _0x2367e8=_0x9ecdb7;return typeof _0x219f4a[_0x2367e8(0xe7)]['id']==_0x2367e8(0x1b6)&&_0x12c36a&&_0x12c36a[_0x2367e8(0x122)](_0x219f4a['attrs']['id'])?b(b({},_0x219f4a),{'attrs':b(b({},_0x219f4a[_0x2367e8(0xe7)]),{'id':_0x219f4a[_0x2367e8(0xe7)]['id']+_0x3ba782['idSuffix']})}):_0x219f4a;})}):_0x5d520a;}function Je(){const _0x3a7204=_0x4e7d6e;return Math[_0x3a7204(0x2c8)]()['toString'](0x24)[_0x3a7204(0x2ca)](0x2,0x8);}ge[_0x4e7d6e(0x16e)]='UniverIcon';var Ze={'tag':_0x4e7d6e(0x178),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e7d6e(0xa8),'viewBox':_0x4e7d6e(0xb0),'width':_0x4e7d6e(0x27e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4e7d6e(0x273)},'children':[{'tag':_0x4e7d6e(0x1a9),'attrs':{'stroke':'currentColor','d':_0x4e7d6e(0x304),'strokeLinecap':_0x4e7d6e(0x137),'strokeLinejoin':_0x4e7d6e(0x137),'strokeWidth':1.2}}]},{'tag':_0x4e7d6e(0x1cf),'attrs':{},'children':[{'tag':_0x4e7d6e(0x2fd),'attrs':{'id':_0x4e7d6e(0x2a4)},'children':[{'tag':_0x4e7d6e(0x1a9),'attrs':{'fill':_0x4e7d6e(0x2b5),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4e7d6e(0x2a4)]},we=M[_0x4e7d6e(0xad)](function(_0x31ae3f,_0x2cdf1a){const _0x42c466=_0x4e7d6e;return M[_0x42c466(0x25c)](ge,Object['assign']({},_0x31ae3f,{'id':'off-line-icon','ref':_0x2cdf1a,'icon':Ze}));});we[_0x4e7d6e(0x16e)]=_0x4e7d6e(0x141);var Qe={'tag':_0x4e7d6e(0x178),'attrs':{'xmlns':_0x4e7d6e(0xc5),'fill':_0x4e7d6e(0xa8),'viewBox':_0x4e7d6e(0x1b5),'width':'1em','height':_0x4e7d6e(0x27e)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e7d6e(0x23f)},'children':[{'tag':_0x4e7d6e(0x1a9),'attrs':{'stroke':_0x4e7d6e(0x1fe),'d':_0x4e7d6e(0x222),'strokeLinecap':_0x4e7d6e(0x137),'strokeLinejoin':_0x4e7d6e(0x137),'strokeWidth':1.2}}]},{'tag':_0x4e7d6e(0x1cf),'attrs':{},'children':[{'tag':_0x4e7d6e(0x2fd),'attrs':{'id':_0x4e7d6e(0xf5)},'children':[{'tag':'path','attrs':{'fill':_0x4e7d6e(0x2b5),'d':_0x4e7d6e(0x2ff),'transform':_0x4e7d6e(0x159)}}]}]}],'defIds':[_0x4e7d6e(0xf5)]},Ae=M[_0x4e7d6e(0xad)](function(_0x4837b3,_0x5eaae4){const _0x36849f=_0x4e7d6e;return M[_0x36849f(0x25c)](ge,Object[_0x36849f(0x1d1)]({},_0x4837b3,{'id':_0x36849f(0xfb),'ref':_0x5eaae4,'icon':Qe}));});Ae[_0x4e7d6e(0x16e)]='OnLineIcon';function et(_0x398d1d){const _0x252b1e=_0x4e7d6e;switch(_0x398d1d){case u[_0x252b1e(0x22b)]['OFFLINE']:return _0x252b1e(0x12b);case u[_0x252b1e(0x22b)]['CONFLICT']:return'collabStatus.conflict';case u[_0x252b1e(0x22b)][_0x252b1e(0x300)]:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x252b1e(0x22a)]:return _0x252b1e(0x9b);case u[_0x252b1e(0x22b)][_0x252b1e(0x312)]:case u['CollaborationStatus'][_0x252b1e(0x2ae)]:return _0x252b1e(0x152);case u[_0x252b1e(0x22b)]['SYNCED']:case u[_0x252b1e(0x22b)]['PENDING']:return'collabStatus.synced';}}function tt(_0x4a1738){const _0x1e442a=_0x4e7d6e,{status$:_0x52511a}=_0x4a1738,_0x3464cb=O['useObservable'](_0x52511a,u['CollaborationStatus'][_0x1e442a(0x22a)]),_0x4e3b1c=O['useDependency'](a['LocaleService']),_0x305eaa=O['useDependency'](u[_0x1e442a(0x1c1)]),_0x2fc94e=_0x3464cb!==u[_0x1e442a(0x22b)]['OFFLINE'],_0x2fea11=_0x4e3b1c['t'](et(_0x3464cb)),_0x2d6f85=_0x2fc94e?P[_0x1e442a(0x18c)](Ae,{}):P[_0x1e442a(0x18c)](we,{}),_0x48ab7c=M[_0x1e442a(0x30e)](()=>{const _0x5d9dc6=_0x1e442a;_0x2fc94e||_0x305eaa[_0x5d9dc6(0x15a)]();},[_0x2fc94e,_0x305eaa]);function _0x550c21(){const _0x19dfbf=_0x1e442a;return P[_0x19dfbf(0x309)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x48ab7c,'children':[P[_0x19dfbf(0x18c)]('div',{'className':D[_0x19dfbf(0x294)](_0x19dfbf(0x187),{'univer-text-green-500':_0x2fc94e,'univer-text-red-500':!_0x2fc94e}),'children':_0x2d6f85}),P[_0x19dfbf(0x18c)](_0x19dfbf(0x1d8),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2fea11})]});}return _0x2fc94e?_0x550c21():P['jsx'](D['Tooltip'],{'title':_0x4e3b1c['t'](_0x1e442a(0x1d0)),'children':_0x550c21()});}var st=Object[_0x4e7d6e(0x259)],it=(_0x5d25c2,_0x46420c,_0x3f6b11,_0x2a9e0e)=>{for(var _0x888508=_0x2a9e0e>0x1?void 0x0:_0x2a9e0e?st(_0x46420c,_0x3f6b11):_0x46420c,_0x20a57b=_0x5d25c2['length']-0x1,_0x1cc2bf;_0x20a57b>=0x0;_0x20a57b--)(_0x1cc2bf=_0x5d25c2[_0x20a57b])&&(_0x888508=_0x1cc2bf(_0x888508)||_0x888508);return _0x888508;},V=(_0x135563,_0x3b0a65)=>(_0x30b789,_0x232be7)=>_0x3b0a65(_0x30b789,_0x232be7,_0x135563);exports[_0x4e7d6e(0x110)]=class extends a[_0x4e7d6e(0x23a)]{constructor(_0x51dc9a,_0x3edb40,_0x5db7f4,_0x96ec86){const _0x36c29c=_0x4e7d6e;super(),h(this,_0x36c29c(0x1c2),new d[(_0x36c29c(0x1a2))](u['CollaborationStatus'][_0x36c29c(0x22a)])),(this[_0x36c29c(0x1b8)]=_0x51dc9a,this[_0x36c29c(0x102)]=_0x3edb40,this[_0x36c29c(0xba)]=_0x5db7f4,this['_uiPartsService']=_0x96ec86,this[_0x36c29c(0x2de)](),this[_0x36c29c(0xd7)]());}[_0x4e7d6e(0xd7)](){const _0x130c5a=_0x4e7d6e;this[_0x130c5a(0x23c)](this['_univerInstanceService'][_0x130c5a(0xe3)][_0x130c5a(0x1f8)](d[_0x130c5a(0xe2)](()=>{const _0x56f1e3=_0x130c5a,_0x567450=this[_0x56f1e3(0x1b8)][_0x56f1e3(0x244)]();return _0x567450?this[_0x56f1e3(0xba)][_0x56f1e3(0x197)](_0x567450[_0x56f1e3(0x2da)]()):d['of'](null);}),d['switchMap'](_0x45529c=>_0x45529c?_0x45529c[_0x130c5a(0x1ea)]:d['of'](u['CollaborationStatus'][_0x130c5a(0x22a)])))[_0x130c5a(0x154)](_0xff5df7=>{const _0x13074c=_0x130c5a;this[_0x13074c(0x1c2)][_0x13074c(0x2c3)](_0xff5df7);}));}['_initStatusComponent'](){const _0xa7faa2=_0x4e7d6e;this[_0xa7faa2(0x23c)](this[_0xa7faa2(0xbb)][_0xa7faa2(0x1cd)](O[_0xa7faa2(0xf4)][_0xa7faa2(0x144)],()=>O['connectInjector'](nt({'status$':this[_0xa7faa2(0x1c2)][_0xa7faa2(0x13e)]()}),this[_0xa7faa2(0x102)])));}},exports[_0x4e7d6e(0x110)]=it([V(0x0,a[_0x4e7d6e(0xf2)]),V(0x1,a['Inject'](a[_0x4e7d6e(0xc2)])),V(0x2,a['Inject'](u[_0x4e7d6e(0x18e)])),V(0x3,O['IUIPartsService'])],exports['DesktopCollaborationStatusDisplayController']);function nt(_0x16f05d){const {status$:_0x2070b6}=_0x16f05d;return function(){const _0x480f1c=_0x393a;return P[_0x480f1c(0x18c)](tt,{'status$':_0x2070b6});};}const me=a['createIdentifier'](_0x4e7d6e(0x25e));var rt=Object['getOwnPropertyDescriptor'],ot=(_0x597bb0,_0x3918bc,_0x3620fb,_0x26bd1f)=>{const _0xd7b6f3=_0x4e7d6e;for(var _0x5e5a6d=_0x26bd1f>0x1?void 0x0:_0x26bd1f?rt(_0x3918bc,_0x3620fb):_0x3918bc,_0x262308=_0x597bb0[_0xd7b6f3(0x278)]-0x1,_0x214b49;_0x262308>=0x0;_0x262308--)(_0x214b49=_0x597bb0[_0x262308])&&(_0x5e5a6d=_0x214b49(_0x5e5a6d)||_0x5e5a6d);return _0x5e5a6d;},k=(_0x390e62,_0x476521)=>(_0x3a04df,_0x189a95)=>_0x476521(_0x3a04df,_0x189a95,_0x390e62);function _0x32d3(){const _0x3d223b=['_cachedData','isTransformMutationFailure','_beforeCloseService','BrowserCollaborationSocketService','session.collaboration-timeout','toString','session.connection-failed','displayName','CONNECTOR_DATA_TOO_LARGE','runId','rgba(255,\x20255,\x20255,\x200.01)','_getScale','LICENSE_EXPORT_SIZE_EXCEEDED','filter','INVITE_CODE_REQUIRED','transformByState','url(#$1','svg','ThemeService','source','_initCommandExecutedListener','RegularPolygon','_notificationService','requireSession','sheetID','doc.mutation.rich-text-editing','CollaborationDataLoaderController','triggerDblclick','getCurrent','getMember','_dataLoaderService','RxDisposable','univer-mr-2\x20univer-flex\x20univer-text-xl','dispose$','show','history','DocStateChangeManagerService','jsx','MOBILE_HAS_BEEN_BOUND','CollaborationController','getParam','_eventUnsubscribe','Workbook','currentTheme$','IRenderManagerService','isArray','redoState','_startSheetCollabCursor','getCollabEntity$','_setupSubUnitSync','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defIds','7527QmpRAV','setUndoRedoMutationParamsCache','IMessageService','IConfigService','DeleteRangeMoveUpCommandId','measureText','backgroundColor','BehaviorSubject','ISnapshotServerService','_scene','_themeService','black','getCoordByCell','mask','path','getColor','MOBILE_VERIFY_CODE_MISMATCH','_scheduleHeartbeat','_name','fromEvent','DeleteRangeMoveLeftCommandId','all','_removeClearOtherTimer','jiqing.500','CollaborationEvent','handleInsertRow','0\x200\x2017\x2016','string','SetTextSelectionsOperation','_univerInstanceService','drawWith','registerDependencies','className','touchDependencies','push','executeCommand','232HdIoXR','wsSessionTicketUrl','CollaborationSessionService','_status$','closePath','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localeService','WebBrowserSingleActiveUnitService','then','find','2194428dfEtuR','subscribeEvent','getUndoRedoMutationParamsCache','UPDATE_CURSOR','registerComponent','CollaborationSocketService','defs','collab-client.tooltip.reconnect','assign','unload','_docSyncEditingCollabCursorService','createSocket','addObject','SessionStatus','font','div','Shape','searchParams','getRenderById','_hovered','parse','APPLY_PERMISSION_DENIED','init','dispose','permission.content','univerjs-icon\x20univerjs-icon-','_saveTaskMap','trim','UNDEFINED','RECT','WebSocketService','UniverInstanceType','currentSkeleton$','status$','from','CONFLICT','handleInsertRangeMoveDown','throttleTime','LICENSE_IMPORT_SIZE_EXCEEDED','WECHAT_HAS_BEEN_BOUND','entries','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','MemberService','getSkeleton','...','clearInterval','_context','pipe','_getSaveTimeout','removeParam','YUUMI_NO_CUBOID_FOR_QUESTION','ILocalStorageService','getOffsetConfig','currentColor','tag','INTERNAL_ERROR','newValue','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Error','IBeforeCloseService','EffectRefRangId','setParam','size','UNIVER_SHEET','RevisionService','combineLatest','popstate','undoState','transformRemoteChangeset','unit','labelPosition','docStateChange$','getSheetId','href','CollaborationUIEventService','lineTo','APPLY_DUPLICATED','_removeCollabCursors','_urlService','_updateCollabCursors','_transformUndoRedoStack','sheetId','_lastPointer','has','_localStorageService','registerBeforeClose','_onCursorDelete','_backgroundColor','hasOwnProperty','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','SetWorksheetActivateCommand','InsertRangeMoveRightCommandId','_initEvent','ACTIVE_UNIT_EVENT_CHANNEL','code','_session','debug','NOT_COLLAB','CollaborationStatus','_refreshCollabCursors','COMPLETION_FINISHED','DependentOn','onCommandExecuted','error','m2Prime','exhaustSavingTask','textRanges','/run/','collab-text-anchor-','subUnitId','mutations','_cursorShapes','3428020OhHoiY','Disposable','getVpScrollXYInfoByPosToVp','disposeWithMe','_unitOnClients','_imageIoService','url(#on-line-icon_clip0_910_349)','INVITE_CODE_ALREADY_BOUND','YUUMI_RATE_OVER_LIMIT','skeleton','top','getFocusedUnit','selection','transformMutationsWithChangeset','_unitStatus','_clearOtherTimers','MoveRangeCommandId','children','concat','fillStyle','getConfig','JOIN_ROOM_FAILED','propertyIsEnumerable','_labelPosition','shareReplay','function','INVALID_ARGUMENT','IImageIoService','YUUMI_URL_COL_OUT_OF_RANGE','delete','_updateLocalCursor','memberID','getOwnPropertyDescriptor','LICENSE_MAX_UNITS_EXCEEDED','TOO_MANY_REQUESTS','createElement','setInterval','uni.network.url-service','mergeOverrideWithDependencies','Plugin','clearTimeout','distinctUntilChanged','actions','loadUnit','_docTransformStateCacheService','takeUntil','ENSURE_SNAPSHOT_EXECUTION','UnitStatus','_entityInit$','TEXT_RANGE_LAYER_INDEX','_getSheetObject','_toggleOnline','complete','_collaborationUIEventService','isEditing','set','m1Prime','_send','url(#off-line-icon_clip0_910_343)','_render','onLocalMutation','unitID','disableLocalCache','length','ALREADY_EXISTS','_init','enableLocalCache','SheetsSelectionsService','yellow.400','1em','useRef','13366155uLDBrR','bottom','_range','application/json','loadOfflineData','getColorFromTheme','replaceState','INVITE_CODE_HAS_BEEN_UES','Tools','ITransformService','FromArray','COLORS','name','_id','_registerRenderDependencies','LOCAL_CACHE_INTERVAL','runRefRangeMutations','_handleEvent','RemoveRowCommandId','Rectangle','clsx','_heartbeatTimer','_renderManagerService','_messageService','EMAIL_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','replace','_colorIndex','deserializeRangeWithSheet','setAlpha','NOT_FOUND','post','SHEET_VIEWPORT_KEY','color','#FFF','type','off-line-icon_clip0_910_343','onMouseMove','onTransformChange$','YUUMI_CONNECTOR_URL_NOT_FOUND','INVALID_INVITE_CODE','restore','IRemoteInstanceService','collab-text-range-','_docStateChangeManagerService','_drawAnchor','AWAITING_WITH_PENDING','session.will-retry','_onRefRangeChange','saveImage','evenodd','handleIRemoveCol','call','white','Vector2','getTypeOfUnitDisposed$','startsWith','_startDocCollabCursor','_hover','UNIVER_DOC','setActiveRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_UNABLE_LOAD_URL','params','17598aFktMV','_config','search','next','registerRefRange','_drawTextRange','arc','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','random','getOwnPropertySymbols','substring','apply','event$','transform','HTTPService','transformMutation','_color','fillText','getAncestorScale','icon','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','getUnhiddenWorksheets','APPLY_NON_SEQUENTIAL_REVISION','toStringTag','DataLoaderService','getUnitId','location','data','EMAIL_HAS_BEEN_BOUND','_initStatusComponent','SetSelectionsOperation','_drawRectRange','setTimeout','InsertRangeMoveDownCommandId','_configService','APPLY_REVISION_CONFILICT','ILocalCacheService','9IAERhj','_transformService','SheetCollabCursorShape','idSuffix','LOCAL_CACHE_INTERVAL_KEY','width','_logService','_handleHover','InsertColCommandId','UniverCollaborationClientPlugin','_cursorInfo$','registerRenderModule','261vkEbQL','key','getSheetObject','_docTransformSelectionsService','_refRangeService','NO_OTHER_CLIENTS_EDITING','map','createInstance','DocSkeletonManagerService','getLocalCacheKey','YUUMI_ASYNCIO_CANCELLED','clipPath','text','M0\x200H16V16H0z','FETCH_MISS','_commandService','YUUMI_SUBSCRIPTION_NOT_FOUND','INotificationService','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','generateRandomId','purple.300','add','serializeRangeWithSheet','jsxs','debounceTime','IURLService','SUBMIT_CHANGESET_TIMEOUT','toDisposable','useCallback','values','onPointerLeave$','_saveCache','AWAITING','getCollabCursors$','getStateCache','DocIMEInputManagerService','cursorInfo$','1896xotQzu','MessageType','getCellPositionByOffset','beginPath','with','DEFAULT_WS_SESSION_TICKET_URL','collabStatus.notCollab','_collabCursorController','prototype','flatMap','onPointerEnter$','_anchor','colorChannel1','startColumn','defineProperty','12BPxgIb','ICommandService','entityInit$','body','none','disposeUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','IDocClipboardService','_scheduleClearOtherTimer','forwardRef','ColorKit','_localCacheService','0\x200\x2016\x2016','findNodePositionByCharIndex','green.600','_hideTimer','selections','min','transformStateCache','Warning','USER_NOT_INVITED_CODE','setShapeProps','_collaborationController','_uiPartsService','Module','_docSkeletonManagerService','getUnitStatus$','some','_entities','getRangePointData','Injector','indexOf','setItem','http://www.w3.org/2000/svg','handleDeleteRangeMoveLeft','_httpService','whenReady','DOC_RANGE_TYPE','_transformPreviousActiveRange','MUTATION','onStarting','fromEventSubject','_updateSubUnitFromURLParams','SOCKET_FAILED_RETRY','endRow','getViewport','getDocRanges','Failed','eventID','ILogService','OTHER_CLIENTS_EDITING','_initStatusListener','_assignedColors','get','Rect','unitId','hide','_shapes','saveOfflineData','1854470iDMDUE','_collabSessionService','_online','switchMap','focused$','RemoveColCommandId','column','replaceDocRanges','attrs','_sheetSkeletonManagerService','RefRangeService','_draw','UniverCollaborationClientUIPlugin','send','_revisionService','UNRECOGNIZED','UNAUTHENTICATED','addEventListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IUniverInstanceService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','BuiltInUIPart','on-line-icon_clip0_910_349','addClipboardHook','fill','getCurrentUnitForType','_document','cursorInfo','on-line-icon','_selfUnitIDs','mapTo','_collabCursorState$','getTypeOfUnitAdded$','_toggleOffline','_initEntityListener','_injector','pushState','_initDependencies','LICENSE_DISTRO_REJECTED','use','xlink:href','fillRule','onRendered','YUUMI_AI_RUN_FAILED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','extend','moveTo','collaboration.closeRoom','_createSocketURL','DesktopCollaborationStatusDisplayController','isActive','stringify','APPLY_REJECT','_roomMembers$','saveTaskMap','ONLINE','invokeId','TEXT','sessionStatus$','startRow','_cursor','916YPjXPq','getActiveSheet','LocaleService','YUUMI_ALL_TABLES_IS_INVALID','transformIMECache','roomMembers$','includes','getCurrentSelections','SOCKET_FAILED','onPointerMove$','getUniverSheetInstance','transformSelections','_updateURLWithCurrentState','ranges','_instanceService','collabStatus.offline','activeSheet$','_docTransformIMECacheService','hovered','_getAnchorBounding','_disabled','[CollaborationDataLoaderController]','urlChange$','debounce','_anchorDot','_transformHistoryAndStateStack','_handleLeaveEvent','round','getValue','RemoteUniscriptService','current','deepClone','save','DocSelectionManagerService','asObservable','_syncEditingCollabCursorService','Inject','OffLineIcon','InsertRowCommandId','_colorAssignService','HEADER_MENU','USERS_LEAVE','unsubscribe','_getMergeRange','subunit','row','_cursors','CHANGESET_REVISION_CONFILICT','_ensureSubject','_textBubble','override','unshift','PERMISSION_DENIED','height','collabStatus.syncing','_handleJoinEvent','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isTransformMutationsWithChangesetSuccess','translate(.97)','reconnect','_memberService','_onCursorUpdate','collaboration-client.offline-data-not-saved','Optional','range','pluginName','getSheetBySheetId','syncEditingCollabCursor','_handleHeartbeatEvent','collabCursorState$','assignAColorForMemberID','getRelativeToViewportCoord'];_0x32d3=function(){return _0x3d223b;};return _0x32d3();}exports[_0x4e7d6e(0x181)]=class extends a['RxDisposable']{constructor(_0x569742,_0x408310,_0x2d42f5,_0x3d3d06,_0x3befa7){const _0xe69646=_0x4e7d6e;super(),this[_0xe69646(0x217)]=_0x569742,this[_0xe69646(0x2ec)]=_0x408310,this[_0xe69646(0x301)]=_0x2d42f5,this[_0xe69646(0x185)]=_0x3d3d06,_0x3befa7?_0x3befa7==null||_0x3befa7[_0xe69646(0xc8)]()[_0xe69646(0x1c7)](()=>this['_init']()):(this[_0xe69646(0x2ec)][_0xe69646(0x229)](_0xe69646(0x131),_0xe69646(0xf3)),this[_0xe69646(0x27a)]());}async[_0x4e7d6e(0x27a)](){const _0x4570b2=_0x4e7d6e,_0x52c7b0=this['_urlService'][_0x4570b2(0x18f)](_0x4570b2(0x20e)),_0x3bac13=this[_0x4570b2(0x217)][_0x4570b2(0x18f)]('type'),_0x496bd3=this['_urlService']['getParam']('subunit');if(!_0x52c7b0||!_0x3bac13){this[_0x4570b2(0x2ec)][_0x4570b2(0x229)](_0x4570b2(0x131),_0x4570b2(0x157));return;}const _0xf81fad=await this[_0x4570b2(0x185)][_0x4570b2(0x264)](_0x52c7b0,Number(_0x3bac13),_0x496bd3);_0xf81fad&&_0xf81fad instanceof a[_0x4570b2(0x191)]&&this[_0x4570b2(0x198)](_0xf81fad);}async[_0x4e7d6e(0x198)](_0x2d2c16){const _0x510275=_0x4e7d6e;await this[_0x510275(0xce)](_0x2d2c16),_0x2d2c16[_0x510275(0x12c)][_0x510275(0x1f8)](d[_0x510275(0x266)](this[_0x510275(0x188)]))[_0x510275(0x154)](_0x5e628b=>{const _0x160a4d=_0x510275;_0x5e628b&&this[_0x160a4d(0x128)](_0x5e628b);}),this[_0x510275(0x217)][_0x510275(0x132)][_0x510275(0x1f8)](d[_0x510275(0x266)](this[_0x510275(0x188)]))[_0x510275(0x154)](()=>this[_0x510275(0xce)](_0x2d2c16));}[_0x4e7d6e(0x128)](_0x2a7723,_0x204cf8=!0x1){const _0xf62e78=_0x4e7d6e,_0x3c266b=this[_0xf62e78(0x217)][_0xf62e78(0x18f)](_0xf62e78(0x148));_0x2a7723[_0xf62e78(0x211)]()!==_0x3c266b&&this['_urlService'][_0xf62e78(0x206)](_0xf62e78(0x148),_0x2a7723[_0xf62e78(0x211)](),_0x204cf8);}async[_0x4e7d6e(0xce)](_0x2270fc){const _0x4cef1a=_0x4e7d6e;var _0x2b43e4;const _0x1090e0=this['_urlService'][_0x4cef1a(0x18f)]('subunit');if(!_0x1090e0||!_0x2270fc['getSheetBySheetId'](_0x1090e0)){const _0x28da1c=_0x2270fc[_0x4cef1a(0x2d6)]()[0x0],_0xfb849b=_0x2270fc[_0x4cef1a(0x161)](_0x28da1c);if(!_0xfb849b)return;this[_0x4cef1a(0x128)](_0xfb849b,!0x0),await this[_0x4cef1a(0x301)][_0x4cef1a(0x1be)](g[_0x4cef1a(0x223)]['id'],{'unitId':_0x2270fc[_0x4cef1a(0x2da)](),'subUnitId':_0x28da1c});return;}((_0x2b43e4=_0x2270fc[_0x4cef1a(0x11d)]())==null?void 0x0:_0x2b43e4[_0x4cef1a(0x211)]())!==_0x1090e0&&await this[_0x4cef1a(0x301)][_0x4cef1a(0x1be)](g[_0x4cef1a(0x223)]['id'],{'unitId':_0x2270fc['getUnitId'](),'subUnitId':_0x1090e0});}},exports['CollaborationDataLoaderController']=ot([k(0x0,me),k(0x1,a[_0x4e7d6e(0xd5)]),k(0x2,a[_0x4e7d6e(0xa5)]),k(0x3,a['Inject'](u[_0x4e7d6e(0x2d9)])),k(0x4,a[_0x4e7d6e(0x15e)](Xe[_0x4e7d6e(0x2aa)]))],exports[_0x4e7d6e(0x181)]);var at=Object[_0x4e7d6e(0x259)],ct=(_0x409ec4,_0x21d19a,_0x19a1dd,_0x1d2d00)=>{for(var _0x45da57=_0x1d2d00>0x1?void 0x0:_0x1d2d00?at(_0x21d19a,_0x19a1dd):_0x21d19a,_0x47e491=_0x409ec4['length']-0x1,_0x2bb3f0;_0x47e491>=0x0;_0x47e491--)(_0x2bb3f0=_0x409ec4[_0x47e491])&&(_0x45da57=_0x2bb3f0(_0x45da57)||_0x45da57);return _0x45da57;},be=(_0xcdea18,_0x91e7a0)=>(_0x3969c9,_0x462c28)=>_0x91e7a0(_0x3969c9,_0x462c28,_0xcdea18);let ue=class extends a[_0x4e7d6e(0x186)]{constructor(_0x122cc3,_0x36c650){super(),this['_docClipboardService']=_0x122cc3,this['_imageIoService']=_0x36c650,this['_init']();}[_0x4e7d6e(0x27a)](){const _0x27e130=_0x4e7d6e,_0x493430=this;this[_0x27e130(0x23c)](this['_docClipboardService'][_0x27e130(0xf6)]({'onBeforePasteImage':async _0x17da1f=>{const _0x7c16b1=_0x27e130,_0x29088e=await _0x493430[_0x7c16b1(0x23e)][_0x7c16b1(0x2b1)](_0x17da1f);return _0x29088e?{'source':_0x29088e[_0x7c16b1(0x17a)],'imageSourceType':_0x29088e['imageSourceType']}:null;}}));}};ue=ct([be(0x0,E[_0x4e7d6e(0xab)]),be(0x1,Ge[_0x4e7d6e(0x254)])],ue);const Oe=[_0x4e7d6e(0x306),_0x4e7d6e(0x1b2),_0x4e7d6e(0xb2),'red.300','blue.400',_0x4e7d6e(0x27d)];class Ce extends a[_0x4e7d6e(0x23a)]{constructor(){const _0x50a9d3=_0x4e7d6e;super(...arguments),h(this,_0x50a9d3(0xd8),new Map()),h(this,_0x50a9d3(0x29b),0x0);}[_0x4e7d6e(0x165)](_0x5d8e7e){const _0x22fcfc=_0x4e7d6e;if(this[_0x22fcfc(0xd8)][_0x22fcfc(0x21c)](_0x5d8e7e))return this['_assignedColors'][_0x22fcfc(0xd9)](_0x5d8e7e);const _0x357609=Oe[this[_0x22fcfc(0x29b)]];return this[_0x22fcfc(0x29b)]=(this[_0x22fcfc(0x29b)]+0x1)%Oe[_0x22fcfc(0x278)],this[_0x22fcfc(0xd8)][_0x22fcfc(0x270)](_0x5d8e7e,_0x357609),_0x357609;}}function ye(_0x2a5faa){let _0x578a55='';for(const _0x4f4830 of _0x2a5faa){const {startOffset:_0x2ed72c,endOffset:_0x1bdfe6,isActive:_0x1b4d4f,rangeType:_0x35e004,segmentId:_0x5172f1,segmentPage:_0x5886bb}=_0x4f4830;_0x578a55['length']&&(_0x578a55+=','),_0x578a55+=_0x2ed72c+':'+_0x1bdfe6+':'+(_0x1b4d4f?'1':'0')+':'+_0x35e004+':'+_0x5172f1+':'+_0x5886bb;}return _0x578a55;}function lt(_0x52885e){const _0x184c97=_0x4e7d6e,_0x572612=_0x52885e['split'](','),_0x19fdfe=[];for(const _0xe3cf0f of _0x572612){const [_0x384ee8,_0x1daeb7,_0x323a7e,_0x8a1cd4,_0x2b2fe3,_0xe660fe]=_0xe3cf0f['split'](':');_0x19fdfe['push']({'startOffset':Number(_0x384ee8),'endOffset':Number(_0x1daeb7),'collapsed':_0x384ee8===_0x1daeb7,'isActive':_0x323a7e==='1','rangeType':_0x8a1cd4===a['DOC_RANGE_TYPE'][_0x184c97(0x118)]?a[_0x184c97(0xc9)]['TEXT']:a[_0x184c97(0xc9)]['RECT'],'segmentId':typeof _0x2b2fe3==_0x184c97(0x1b6)?String(_0x2b2fe3):'','segmentPage':Number(_0xe660fe!=null?_0xe660fe:-0x1)});}return _0x19fdfe[_0x184c97(0xbf)](_0x5997fd=>_0x5997fd[_0x184c97(0x111)])||(_0x19fdfe[0x0]['isActive']=!0x0),_0x19fdfe;}class pe extends a[_0x4e7d6e(0x186)]{constructor(){const _0x426b4d=_0x4e7d6e;super(...arguments),h(this,_0x426b4d(0xfe),new d[(_0x426b4d(0x1a2))](null)),h(this,_0x426b4d(0x164),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x3f1799){const _0x9d50b8=_0x4e7d6e,{unitID:_0x45e816,memberID:_0x77c4ce,textRanges:_0x20e016}=_0x3f1799,_0x2df9ce=ye(_0x20e016);if(_0x2df9ce==='')return;const _0x195b80={'unitID':_0x45e816,'memberID':_0x77c4ce,'selection':_0x2df9ce};this[_0x9d50b8(0xfe)][_0x9d50b8(0x2c3)](_0x195b80);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x113108,_0x2c52c3,_0x4772c0,_0x13db9d)=>{for(var _0x4768b7=_0x13db9d>0x1?void 0x0:_0x13db9d?_t(_0x2c52c3,_0x4772c0):_0x2c52c3,_0x34f03e=_0x113108['length']-0x1,_0x4c1f7d;_0x34f03e>=0x0;_0x34f03e--)(_0x4c1f7d=_0x113108[_0x34f03e])&&(_0x4768b7=_0x4c1f7d(_0x4768b7)||_0x4768b7);return _0x4768b7;},L=(_0x18e614,_0x14e137)=>(_0x353ea1,_0x35ac65)=>_0x14e137(_0x353ea1,_0x35ac65,_0x18e614);const ut=0x12c,dt=0x64;let de=class extends a[_0x4e7d6e(0x186)]{constructor(_0xb62636,_0x4b2b81,_0x1653eb,_0x2cf1b6,_0x12dcc3,_0x27e4c2,_0xa2250b,_0x366e99,_0x38b067){const _0x561f17=_0x4e7d6e;super(),h(this,'_online',!0x1),h(this,_0x561f17(0x27a),!0x1),h(this,'_cursorInfo$',new d[(_0x561f17(0x1a2))](new Map())),h(this,_0x561f17(0x94),this['_cursorInfo$'][_0x561f17(0x13e)]()),h(this,'_roomMembers$',new d[(_0x561f17(0x1a2))]([])),h(this,_0x561f17(0x121),this['_roomMembers$']['pipe'](d[_0x561f17(0x30a)](ut))),h(this,'_updateLocalCursor',a['debounce'](_0x218c1b=>{const _0x24e509=_0x561f17,_0x536fd0={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x24e509(0x276)],'memberID':this[_0x24e509(0x228)]['getMemberID'](),'selection':ye(_0x218c1b)}};this['_session'][_0x24e509(0xec)](_0x536fd0,this[_0x24e509(0x276)]);},dt)),(this[_0x561f17(0x276)]=_0xb62636,this[_0x561f17(0x228)]=_0x4b2b81,this[_0x561f17(0x102)]=_0x1653eb,this['_colorAssignService']=_0x2cf1b6,this['_memberService']=_0x12dcc3,this[_0x561f17(0x13f)]=_0x27e4c2,this[_0x561f17(0x2e7)]=_0xa2250b,this[_0x561f17(0x1b8)]=_0x366e99,this[_0x561f17(0x301)]=_0x38b067);}get[_0x4e7d6e(0xfa)](){const _0x5cdf48=_0x4e7d6e;return this[_0x5cdf48(0x2f0)][_0x5cdf48(0x138)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x544e1f=_0x4e7d6e;super[_0x544e1f(0x1e0)](),this[_0x544e1f(0x2f0)][_0x544e1f(0x2c3)](new Map()),this[_0x544e1f(0x2f0)][_0x544e1f(0x26d)](),this['_roomMembers$'][_0x544e1f(0x2c3)]([]),this['_roomMembers$'][_0x544e1f(0x26d)]();}[_0x4e7d6e(0x1df)](){const _0x23da87=_0x4e7d6e;this[_0x23da87(0x27a)]||(this[_0x23da87(0x27a)]=!0x0,this[_0x23da87(0x228)][_0x23da87(0x119)][_0x23da87(0x1f8)](d[_0x23da87(0x266)](this[_0x23da87(0x188)]))['subscribe'](_0x446603=>{const _0x17c3ff=_0x23da87;_0x446603===u[_0x17c3ff(0x1d6)][_0x17c3ff(0x116)]?this[_0x17c3ff(0x26c)]():this[_0x17c3ff(0x100)]();}),this[_0x23da87(0x228)][_0x23da87(0x2cc)][_0x23da87(0x1f8)](d[_0x23da87(0x266)](this['dispose$']))[_0x23da87(0x154)](_0x4e1d57=>{const _0x156c5e=_0x23da87,_0x2e2a96=_0x4e1d57[_0x156c5e(0xd4)];_0x2e2a96===m[_0x156c5e(0x1b3)][_0x156c5e(0x1cc)]&&this[_0x156c5e(0x15c)](_0x4e1d57),_0x2e2a96===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x156c5e(0x21f)](_0x4e1d57);}),this['disposeWithMe'](this[_0x23da87(0x301)]['onCommandExecuted'](_0xe178f0=>{const _0x2a038a=_0x23da87,_0x571816=_0xe178f0['params'];_0x571816!=null&&this['_online']&&_0xe178f0['id']===Y[_0x2a038a(0x1b7)]['id']&&_0x571816[_0x2a038a(0xdb)]===this['unitID']&&_0x571816[_0x2a038a(0x26f)]===!0x1&&_0x571816[_0x2a038a(0x129)][_0x2a038a(0x278)]>0x0&&this[_0x2a038a(0x257)](_0x571816[_0x2a038a(0x129)]);})),this[_0x23da87(0x13f)][_0x23da87(0x164)][_0x23da87(0x1f8)](d['takeUntil'](this['dispose$']))[_0x23da87(0x154)](_0x448599=>{const _0x1bb58d=_0x23da87;if((_0x448599==null?void 0x0:_0x448599[_0x1bb58d(0x276)])!==this[_0x1bb58d(0x276)])return;const _0x4a7a8b={'eventID':m[_0x1bb58d(0x1b3)]['UPDATE_CURSOR'],'data':_0x448599};this['_onCursorUpdate'](_0x4a7a8b);}),this['disposeWithMe'](this[_0x23da87(0x301)][_0x23da87(0x22f)](_0x34151e=>{const _0x2acb8c=_0x23da87;if(_0x34151e[_0x2acb8c(0x2bf)]==null)return;const _0xe293af=_0x34151e['params'];if(_0x34151e['id']!==Y['RichTextEditingMutation']['id']||_0xe293af[_0x2acb8c(0xdb)]!==this['unitID'])return;const _0x4930b2={'id':'doc.mutation.rich-text-editing','params':_0xe293af},_0x99c99e=this[_0x2acb8c(0xfa)];for(const [_0x3d91ba,_0x5182e5]of _0x99c99e){const _0x5c9d53={'id':_0x2acb8c(0x180),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5182e5['ranges']}},_0x4c60a0=this[_0x2acb8c(0x2e7)][_0x2acb8c(0x2cf)](_0x4930b2,_0x5c9d53,!0x1);if(m[_0x2acb8c(0x168)](_0x4c60a0))throw _0x4c60a0['error'];_0x99c99e[_0x2acb8c(0x270)](_0x3d91ba,{..._0x5182e5,'ranges':_0x4c60a0[_0x2acb8c(0x231)]['params']['textRanges']});}queueMicrotask(()=>{const _0x33fba4=_0x2acb8c;this[_0x33fba4(0x2f0)][_0x33fba4(0x2c3)](_0x99c99e);});})));}[_0x4e7d6e(0x15c)](_0x41f210){const _0x514e29=_0x4e7d6e;var _0x3f978d,_0x347d84;const {memberID:_0x2cc35c,selection:_0x51a454}=_0x41f210[_0x514e29(0x2dc)],_0x4c79da=lt(_0x51a454),_0x1c525f=(_0x347d84=(_0x3f978d=this[_0x514e29(0x15b)][_0x514e29(0x184)](this[_0x514e29(0x276)],_0x2cc35c))==null?void 0x0:_0x3f978d['name'])!=null?_0x347d84:'Unknown\x20user',_0x3ab405={'color':this[_0x514e29(0x143)]['assignAColorForMemberID'](_0x2cc35c),'name':_0x1c525f,'ranges':_0x4c79da},_0x252f2d=this[_0x514e29(0xfa)];_0x252f2d[_0x514e29(0x270)](_0x2cc35c,_0x3ab405),this[_0x514e29(0x2f0)]['next'](_0x252f2d);}['_onCursorDelete'](_0x201217){const _0x184ba4=_0x4e7d6e,{memberID:_0xe5d06c}=_0x201217[_0x184ba4(0x2dc)],_0x367e82=this['cursorInfo'];_0x367e82[_0x184ba4(0x256)](_0xe5d06c),this[_0x184ba4(0x2f0)]['next'](_0x367e82);}['_toggleOnline'](){const _0x550059=_0x4e7d6e;var _0x3078f4;if(this['_online']=!0x0,((_0x3078f4=this['_univerInstanceService'][_0x550059(0x244)]())==null?void 0x0:_0x3078f4[_0x550059(0x2da)]())!==this[_0x550059(0x276)])return;const _0x14eeee=this[_0x550059(0x102)][_0x550059(0xd9)](Y[_0x550059(0x13d)])[_0x550059(0xd2)]();Array[_0x550059(0x194)](_0x14eeee)&&_0x14eeee[_0x550059(0x278)]>0x0&&this[_0x550059(0x257)](_0x14eeee);}[_0x4e7d6e(0x100)](){const _0xdf81f6=_0x4e7d6e;this[_0xdf81f6(0xe1)]=!0x1;}};de=ht([L(0x2,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0xc2)])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x4e7d6e(0x140)](u[_0x4e7d6e(0x1f3)])),L(0x5,a['Inject'](pe)),L(0x6,m['ITransformService']),L(0x7,a[_0x4e7d6e(0xf2)]),L(0x8,a[_0x4e7d6e(0xa5)])],de);var St=Object[_0x4e7d6e(0x259)],ft=(_0x238733,_0x342c54,_0x259a8b,_0x476242)=>{const _0x31b895=_0x4e7d6e;for(var _0x363a08=_0x476242>0x1?void 0x0:_0x476242?St(_0x342c54,_0x259a8b):_0x342c54,_0x5b9d14=_0x238733[_0x31b895(0x278)]-0x1,_0x7c6444;_0x5b9d14>=0x0;_0x5b9d14--)(_0x7c6444=_0x238733[_0x5b9d14])&&(_0x363a08=_0x7c6444(_0x363a08)||_0x363a08);return _0x363a08;},A=(_0x291c04,_0x1e026f)=>(_0x91b49b,_0x23b30f)=>_0x1e026f(_0x91b49b,_0x23b30f,_0x291c04);const It=0x12c,vt=0x64,gt=()=>{let _0x30429d=[],_0x57bd08=!0x1;return _0x1f76cf=>{const _0x23ae24=_0x393a;_0x30429d[_0x23ae24(0x1bd)](_0x1f76cf),_0x57bd08||(_0x57bd08=!0x0,setTimeout(()=>{const _0x5b5830=_0x23ae24;_0x30429d[_0x5b5830(0x156)](_0x2f5077=>_0x2f5077()),_0x30429d=[],_0x57bd08=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0xfaf19a,_0x3294e2,_0x596c7f,_0x2ee79b,_0x2182be,_0x4faa57,_0x59b420,_0x244cbc){const _0x1003e9=_0x4e7d6e;super(),h(this,_0x1003e9(0xe1),!0x1),h(this,_0x1003e9(0x27a),!0x1),h(this,'_cursorInfo$',new d[(_0x1003e9(0x1a2))](new Map())),h(this,_0x1003e9(0x94),this[_0x1003e9(0x2f0)]['asObservable']()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x1003e9(0x121),this['_roomMembers$'][_0x1003e9(0x1f8)](d['debounceTime'](It))),h(this,_0x1003e9(0x257),a[_0x1003e9(0x133)]((_0x14cf79,_0x336055)=>{const _0xa10313=_0x1003e9,_0x3beff8={'eventID':m[_0xa10313(0x1b3)][_0xa10313(0x1cc)],'data':{'unitID':this['unitID'],'memberID':this[_0xa10313(0x228)]['getMemberID'](),'selection':Ee[_0xa10313(0x308)](_0x14cf79,_0x336055[_0xa10313(0x15f)])}};this[_0xa10313(0x228)][_0xa10313(0xec)](_0x3beff8,this['unitID']);},vt)),(this[_0x1003e9(0x276)]=_0xfaf19a,this['_session']=_0x3294e2,this[_0x1003e9(0x102)]=_0x596c7f,this[_0x1003e9(0x143)]=_0x2ee79b,this['_memberService']=_0x2182be,this['_univerInstanceService']=_0x4faa57,this[_0x1003e9(0x301)]=_0x59b420,this[_0x1003e9(0x2f6)]=_0x244cbc);}get['cursorInfo'](){const _0x130fd1=_0x4e7d6e;return this[_0x130fd1(0x2f0)][_0x130fd1(0x138)]();}get['roomMembers'](){const _0x1168dd=_0x4e7d6e;return this[_0x1168dd(0x114)][_0x1168dd(0x138)]();}['dispose'](){const _0x5af3ac=_0x4e7d6e;super[_0x5af3ac(0x1e0)](),this['_cursorInfo$'][_0x5af3ac(0x2c3)](new Map()),this[_0x5af3ac(0x2f0)][_0x5af3ac(0x26d)](),this['_roomMembers$']['next']([]),this[_0x5af3ac(0x114)][_0x5af3ac(0x26d)]();}[_0x4e7d6e(0x1df)](){const _0x215da8=_0x4e7d6e;this[_0x215da8(0x27a)]||(this[_0x215da8(0x27a)]=!0x0,this[_0x215da8(0x228)][_0x215da8(0x119)][_0x215da8(0x1f8)](d[_0x215da8(0x266)](this[_0x215da8(0x188)]))[_0x215da8(0x154)](_0x53058d=>{const _0x107989=_0x215da8;_0x53058d===u['SessionStatus'][_0x107989(0x116)]?this[_0x107989(0x26c)]():this['_toggleOffline']();}),this[_0x215da8(0x228)][_0x215da8(0x2cc)][_0x215da8(0x1f8)](d[_0x215da8(0x266)](this[_0x215da8(0x188)]))[_0x215da8(0x154)](_0x2d907a=>{const _0xc4f2ae=_0x215da8,_0xfc3a9f=_0x2d907a[_0xc4f2ae(0xd4)];_0xfc3a9f===m[_0xc4f2ae(0x1b3)][_0xc4f2ae(0x1cc)]&&this[_0xc4f2ae(0x15c)](_0x2d907a),_0xfc3a9f===m[_0xc4f2ae(0x1b3)][_0xc4f2ae(0x145)]&&this['_onCursorDelete'](_0x2d907a);}),this[_0x215da8(0x2b0)](),this['disposeWithMe'](this['_commandService'][_0x215da8(0x22f)](_0x4ea477=>{const _0xdb1066=_0x215da8;if(this['_online']&&_0x4ea477['id']===g[_0xdb1066(0x2df)]['id']&&_0x4ea477[_0xdb1066(0x2bf)]['unitId']===this[_0xdb1066(0x276)]){const _0x3fa0aa=_0x4ea477[_0xdb1066(0x2bf)];this[_0xdb1066(0x257)](_0x3fa0aa[_0xdb1066(0x236)],_0x3fa0aa[_0xdb1066(0xb4)][0x0]);}})));}[_0x4e7d6e(0x15c)](_0x52151f){const _0x5025ac=_0x4e7d6e;var _0x32ba5b,_0x41822f;const {memberID:_0x303b0c,selection:_0x7f0095}=_0x52151f['data'],{sheetName:_0x1432e2,range:_0x1434de}=Ee[_0x5025ac(0x29c)](_0x7f0095),_0x3db85a={'name':(_0x41822f=(_0x32ba5b=this[_0x5025ac(0x15b)][_0x5025ac(0x184)](this[_0x5025ac(0x276)],_0x303b0c))==null?void 0x0:_0x32ba5b[_0x5025ac(0x28c)])!=null?_0x41822f:'Unknown\x20user','range':this['_getMergeRange'](_0x1432e2,_0x1434de),'sheetID':_0x1432e2,'color':this[_0x5025ac(0x143)]['assignAColorForMemberID'](_0x303b0c),'selection':_0x7f0095},_0x37bd55=this[_0x5025ac(0xfa)];_0x37bd55[_0x5025ac(0x270)](_0x303b0c,_0x3db85a),this[_0x5025ac(0x2f0)][_0x5025ac(0x2c3)](_0x37bd55);}[_0x4e7d6e(0x21f)](_0x11a187){const _0x3cc97c=_0x4e7d6e,{memberID:_0x3a1ce0}=_0x11a187[_0x3cc97c(0x2dc)],_0x1d73b8=this[_0x3cc97c(0xfa)];_0x1d73b8[_0x3cc97c(0x256)](_0x3a1ce0),this[_0x3cc97c(0x2f0)][_0x3cc97c(0x2c3)](_0x1d73b8);}[_0x4e7d6e(0x147)](_0x2cfe49,_0x7d038a){const _0x157ef7=_0x4e7d6e;var _0x254f1a,_0x523cd8;const _0x451d98=(_0x523cd8=(_0x254f1a=this[_0x157ef7(0x1b8)][_0x157ef7(0x126)](this[_0x157ef7(0x276)]))==null?void 0x0:_0x254f1a[_0x157ef7(0x161)](_0x2cfe49))==null?void 0x0:_0x523cd8['getMergeData']();return(_0x451d98==null?void 0x0:_0x451d98[_0x157ef7(0x1c8)](_0x2b7354=>a[_0x157ef7(0x293)]['contains'](_0x2b7354,_0x7d038a)))||_0x7d038a;}[_0x4e7d6e(0x2b0)](){const _0x47c775=_0x4e7d6e,_0x1f2012=new a['DisposableCollection'](),_0xb60677=gt(),_0x19401b=()=>{const _0x32c28c=_0x393a;_0x1f2012['dispose']();const _0x2913eb=(_0x3c6e24,_0x16e42c,_0x314074,_0xcb4544)=>{const _0x56e55c=_0x393a;let _0x5aa6c5=[];switch(_0x3c6e24['id']){case g[_0x56e55c(0x205)][_0x56e55c(0x1af)]:{_0x5aa6c5=g[_0x56e55c(0xc6)](_0x3c6e24,_0xcb4544);break;}case g[_0x56e55c(0x205)][_0x56e55c(0x19f)]:{_0x5aa6c5=g['handleDeleteRangeMoveUp'](_0x3c6e24,_0xcb4544);break;}case g['EffectRefRangId'][_0x56e55c(0x2ee)]:{_0x5aa6c5=g['handleInsertCol'](_0x3c6e24,_0xcb4544);break;}case g[_0x56e55c(0x205)][_0x56e55c(0x2e2)]:{_0x5aa6c5=g[_0x56e55c(0x1ed)](_0x3c6e24,_0xcb4544);break;}case g['EffectRefRangId'][_0x56e55c(0x224)]:{_0x5aa6c5=g['handleInsertRangeMoveRight'](_0x3c6e24,_0xcb4544);break;}case g['EffectRefRangId'][_0x56e55c(0x142)]:{_0x5aa6c5=g[_0x56e55c(0x1b4)](_0x3c6e24,_0xcb4544);break;}case g[_0x56e55c(0x205)][_0x56e55c(0x249)]:{_0x5aa6c5=g['handleMoveRange'](_0x3c6e24,_0xcb4544);break;}case g['EffectRefRangId'][_0x56e55c(0xe4)]:{_0x5aa6c5=g[_0x56e55c(0x2b3)](_0x3c6e24,_0xcb4544);break;}case g[_0x56e55c(0x205)][_0x56e55c(0x292)]:{_0x5aa6c5=g['handleIRemoveRow'](_0x3c6e24,_0xcb4544);break;}}const _0x5a0d71=g[_0x56e55c(0x290)](_0x5aa6c5,_0xcb4544),_0x21f854=this[_0x56e55c(0xfa)][_0x56e55c(0xd9)](_0x16e42c);if(_0x21f854&&_0x5a0d71){const _0x381c83={..._0x21f854,'range':_0x5a0d71};this[_0x56e55c(0xfa)][_0x56e55c(0x270)](_0x16e42c,_0x381c83),_0xb60677(()=>{const _0x58f665=_0x56e55c,_0x5de1b6=this[_0x58f665(0x2f6)]['registerRefRange'](_0x5a0d71,_0x35a167=>(_0x5de1b6[_0x58f665(0x1e0)](),_0x2913eb(_0x35a167,_0x16e42c,_0x314074,_0x5a0d71)));_0x1f2012[_0x58f665(0x307)](_0x5de1b6);});}return{'redos':[],'undos':[]};};this[_0x32c28c(0xfa)]['forEach']((_0x108056,_0x2144b6)=>{const _0x17cf1e=_0x32c28c,{range:_0x2c11ef,sheetID:_0x50de1e}=_0x108056,_0x24d90b=this[_0x17cf1e(0x2f6)][_0x17cf1e(0x2c4)](_0x2c11ef,_0x463eef=>(_0x24d90b[_0x17cf1e(0x1e0)](),_0x2913eb(_0x463eef,_0x2144b6,_0x50de1e,_0x2c11ef)));_0x1f2012[_0x17cf1e(0x307)](_0x24d90b);});};this[_0x47c775(0x23c)](a['toDisposable'](this['_cursorInfo$'][_0x47c775(0x154)](()=>{_0x19401b();})));}[_0x4e7d6e(0x26c)](){const _0x119400=_0x4e7d6e;var _0x43834d,_0x2ee265;if(this['_online']=!0x0,((_0x43834d=this[_0x119400(0x1b8)][_0x119400(0x244)]())==null?void 0x0:_0x43834d[_0x119400(0x2da)]())!==this['unitID'])return;const _0x1e0447=(_0x2ee265=this[_0x119400(0x102)][_0x119400(0xd9)](g[_0x119400(0x27c)])[_0x119400(0x123)]())==null?void 0x0:_0x2ee265[0x0],_0x29ae4b=this[_0x119400(0x1b8)][_0x119400(0xf8)](a[_0x119400(0x1e8)][_0x119400(0x208)])[_0x119400(0x11d)]();_0x1e0447&&_0x29ae4b&&this['_updateLocalCursor'](_0x29ae4b[_0x119400(0x211)](),_0x1e0447);}[_0x4e7d6e(0x100)](){const _0x80e891=_0x4e7d6e;this[_0x80e891(0xe1)]=!0x1;}};Se=ft([A(0x2,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0xc2)])),A(0x3,a[_0x4e7d6e(0x140)](Ce)),A(0x4,a['Inject'](u[_0x4e7d6e(0x1f3)])),A(0x5,a[_0x4e7d6e(0xf2)]),A(0x6,a[_0x4e7d6e(0xa5)]),A(0x7,a[_0x4e7d6e(0x140)](g[_0x4e7d6e(0xe9)]))],Se);var mt=Object[_0x4e7d6e(0x259)],Ct=(_0x214518,_0x448908,_0x30b723,_0x23aded)=>{for(var _0x314d7c=_0x23aded>0x1?void 0x0:_0x23aded?mt(_0x448908,_0x30b723):_0x448908,_0x33921d=_0x214518['length']-0x1,_0x38ace7;_0x33921d>=0x0;_0x33921d--)(_0x38ace7=_0x214518[_0x33921d])&&(_0x314d7c=_0x38ace7(_0x314d7c)||_0x314d7c);return _0x314d7c;},ie=(_0x39932a,_0x3b9fc4)=>(_0x493596,_0x4449b5)=>_0x3b9fc4(_0x493596,_0x4449b5,_0x39932a);let x=class extends a[_0x4e7d6e(0x186)]{constructor(_0x527147,_0x5da9b7,_0x1ffd6d){const _0x62bfb8=_0x4e7d6e;super(),h(this,_0x62bfb8(0xc0),new Map()),h(this,_0x62bfb8(0x269),new d['Subject']()),(this[_0x62bfb8(0x1b8)]=_0x527147,this[_0x62bfb8(0x102)]=_0x5da9b7,this[_0x62bfb8(0xe0)]=_0x1ffd6d,this[_0x62bfb8(0x27a)]());}[_0x4e7d6e(0x1e0)](){const _0x3628b8=_0x4e7d6e;super[_0x3628b8(0x1e0)](),this[_0x3628b8(0x269)][_0x3628b8(0x26d)](),this['_entities'][_0x3628b8(0x156)](_0xb7a821=>_0xb7a821[_0x3628b8(0x1e0)]());}[_0x4e7d6e(0x313)](_0x587d3a){const _0x454a63=_0x4e7d6e;return this['_entities'][_0x454a63(0x21c)](_0x587d3a)?this[_0x454a63(0xc0)][_0x454a63(0xd9)](_0x587d3a)[_0x454a63(0x94)]:this[_0x454a63(0x269)][_0x454a63(0x1f8)](d['filter'](_0x413350=>_0x413350[_0x454a63(0x276)]===_0x587d3a),d[_0x454a63(0xe2)](_0x5aba6c=>_0x5aba6c[_0x454a63(0x94)]));}[_0x4e7d6e(0x27a)](){const _0x4e8178=_0x4e7d6e;this['_univerInstanceService'][_0x4e8178(0xff)](a[_0x4e8178(0x1e8)][_0x4e8178(0x208)])[_0x4e8178(0x1f8)](d[_0x4e8178(0x266)](this[_0x4e8178(0x188)]))['subscribe'](async _0x4ec2c0=>{const _0x322fc4=_0x4e8178,_0xb0ba21=_0x4ec2c0[_0x322fc4(0x2da)](),_0x5aabc4=await this['_startSheetCollabCursor'](_0xb0ba21);this[_0x322fc4(0x269)][_0x322fc4(0x2c3)](_0x5aabc4),this[_0x322fc4(0xc0)][_0x322fc4(0x270)](_0xb0ba21,_0x5aabc4);}),this['_univerInstanceService'][_0x4e8178(0xff)](a[_0x4e8178(0x1e8)]['UNIVER_DOC'])[_0x4e8178(0x1f8)](d[_0x4e8178(0x266)](this['dispose$']))[_0x4e8178(0x1f8)](d[_0x4e8178(0x174)](_0x2d2bf1=>!_0x2d2bf1[_0x4e8178(0x2da)]()[_0x4e8178(0x2b8)]('__')))['subscribe'](async _0x81a403=>{const _0x343cf5=_0x4e8178,_0x1aaf96=_0x81a403['getUnitId'](),_0xa438bb=await this[_0x343cf5(0x2b9)](_0x1aaf96);this['_entityInit$']['next'](_0xa438bb),this[_0x343cf5(0xc0)]['set'](_0x1aaf96,_0xa438bb);}),d['merge'](this[_0x4e8178(0x1b8)]['getTypeOfUnitDisposed$'](a[_0x4e8178(0x1e8)][_0x4e8178(0x2bb)]),this['_univerInstanceService'][_0x4e8178(0x2b7)](a[_0x4e8178(0x1e8)][_0x4e8178(0x208)]))[_0x4e8178(0x1f8)](d[_0x4e8178(0x266)](this['dispose$']))[_0x4e8178(0x154)](_0x390924=>{const _0x219bc9=_0x4e8178,_0x929bbf=_0x390924[_0x219bc9(0x2da)](),_0x53fbdf=this[_0x219bc9(0xc0)][_0x219bc9(0xd9)](_0x929bbf);_0x53fbdf&&(_0x53fbdf[_0x219bc9(0x1e0)](),this[_0x219bc9(0xc0)][_0x219bc9(0x256)](_0x929bbf));});}async[_0x4e7d6e(0x196)](_0xe2c045){const _0x408dd2=_0x4e7d6e,_0x5d03da=await this['_collabSessionService']['requireSession'](_0xe2c045),_0x227728=this[_0x408dd2(0x102)][_0x408dd2(0x2f9)](Se,_0xe2c045,_0x5d03da);return _0x227728[_0x408dd2(0x1df)](),_0x227728;}async[_0x4e7d6e(0x2b9)](_0x3d9287){const _0x1d1af1=_0x4e7d6e,_0x26066d=await this[_0x1d1af1(0xe0)][_0x1d1af1(0x17e)](_0x3d9287),_0x42ae51=this[_0x1d1af1(0x102)][_0x1d1af1(0x2f9)](de,_0x3d9287,_0x26066d);return _0x42ae51[_0x1d1af1(0x1df)](),_0x42ae51;}};x=Ct([ie(0x0,a[_0x4e7d6e(0xf2)]),ie(0x1,a[_0x4e7d6e(0x140)](a['Injector'])),ie(0x2,a[_0x4e7d6e(0x140)](u['CollaborationSessionService']))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x652dc3,_0x281c56){const _0x49657e=_0x4e7d6e;let {radius:_0x444c63,width:_0x1d42a4,height:_0x261192}=_0x281c56;_0x444c63=_0x444c63!=null?_0x444c63:0x0,_0x1d42a4=_0x1d42a4!=null?_0x1d42a4:0x1e,_0x261192=_0x261192!=null?_0x261192:0x1e;let _0x747095=0x0,_0x55d517=0x0,_0x6c422a=0x0;_0x747095=_0x55d517=_0x6c422a=Math[_0x49657e(0xb5)](_0x444c63,_0x1d42a4/0x2,_0x261192/0x2),_0x652dc3[_0x49657e(0x98)](),_0x652dc3[_0x49657e(0x10d)](_0x747095,0x0),_0x652dc3[_0x49657e(0x214)](_0x1d42a4-_0x55d517,0x0),_0x652dc3[_0x49657e(0x2c6)](_0x1d42a4-_0x55d517,_0x55d517,_0x55d517,Math['PI']*0x3/0x2,0x0,!0x1),_0x652dc3[_0x49657e(0x214)](_0x1d42a4,_0x261192-_0x6c422a),_0x652dc3[_0x49657e(0x2c6)](_0x1d42a4-_0x6c422a,_0x261192-_0x6c422a,_0x6c422a,0x0,Math['PI']/0x2,!0x1),_0x652dc3[_0x49657e(0x214)](0x0,_0x261192),_0x652dc3[_0x49657e(0x214)](0x0,_0x747095),_0x652dc3[_0x49657e(0x2c6)](_0x747095,_0x747095,_0x747095,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x652dc3[_0x49657e(0x1c3)](),_0x281c56[_0x49657e(0xf7)]&&(_0x652dc3[_0x49657e(0x13c)](),_0x652dc3['fillStyle']=_0x281c56[_0x49657e(0xf7)],_0x281c56[_0x49657e(0x108)]===_0x49657e(0x2b2)?_0x652dc3[_0x49657e(0xf7)](_0x49657e(0x2b2)):_0x652dc3[_0x49657e(0xf7)](),_0x652dc3[_0x49657e(0x2a9)]());}class ee extends p[_0x4e7d6e(0x1d9)]{constructor(_0x298b70,_0x1944a0){const _0xead509=_0x4e7d6e;super(_0x298b70,_0x1944a0),h(this,'color'),h(this,_0xead509(0x2fe)),(this[_0xead509(0x2a1)]=_0x1944a0==null?void 0x0:_0x1944a0[_0xead509(0x2a1)],this[_0xead509(0x2fe)]=_0x1944a0==null?void 0x0:_0x1944a0[_0xead509(0x2fe)]);}static['drawWith'](_0x44423e,_0x26cd3d){const _0x1fbcd7=_0x4e7d6e,{text:_0x45fd14,color:_0x3059ac}=_0x26cd3d;_0x44423e[_0x1fbcd7(0x13c)](),_0x44423e[_0x1fbcd7(0x1d7)]=_0x1fbcd7(0x1f2);const _0x50d319=_0x44423e[_0x1fbcd7(0x1a0)](_0x45fd14)[_0x1fbcd7(0x2eb)],_0x3a6a72=Math[_0x1fbcd7(0xb5)](_0x50d319+0x2*ne,Te);Et(_0x44423e,{'height':W,'radius':0x4,'width':_0x3a6a72,'fill':_0x3059ac}),_0x44423e[_0x1fbcd7(0x24c)]=_0x1fbcd7(0x2a2);const _0x1a0a2f=ne,_0xf94dd4=W-pt,_0x452ea9=Te-0x2*ne;if(_0x50d319>_0x452ea9){let _0x3bdc08='',_0x4b6b23=0x0;for(const _0x34ea48 of _0x45fd14){const _0x1d970e=_0x44423e['measureText'](_0x34ea48)[_0x1fbcd7(0x2eb)];if(_0x4b6b23+_0x1d970e<=_0x452ea9-_0x44423e[_0x1fbcd7(0x1a0)](_0x1fbcd7(0x1f5))[_0x1fbcd7(0x2eb)])_0x3bdc08+=_0x34ea48,_0x4b6b23+=_0x1d970e;else{_0x3bdc08+='...';break;}}_0x44423e[_0x1fbcd7(0x2d1)](_0x3bdc08,_0x1a0a2f,_0xf94dd4);}else _0x44423e['fillText'](_0x45fd14,_0x1a0a2f,_0xf94dd4);_0x44423e[_0x1fbcd7(0x2a9)]();}[_0x4e7d6e(0xea)](_0x1834f6){ee['drawWith'](_0x1834f6,this);}}const re=_0x4e7d6e(0x235),bt=_0x4e7d6e(0x2ab),Ot='collab-rect-range-',F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x4e7d6e(0x171);class Re{constructor(_0x4aea0a,_0x3b62f6,_0x1c00b5,_0x14c792){const _0x180bc9=_0x4e7d6e;h(this,_0x180bc9(0xdd),[]),h(this,'_anchor',null),h(this,_0x180bc9(0x14d),null),h(this,_0x180bc9(0x134),null),h(this,_0x180bc9(0xb3),null),h(this,_0x180bc9(0x190),null),(this[_0x180bc9(0x11b)]=_0x4aea0a,this[_0x180bc9(0x1a4)]=_0x3b62f6,this['_docSkeleton']=_0x1c00b5,this[_0x180bc9(0xf9)]=_0x14c792,this[_0x180bc9(0x274)]());}set[_0x4e7d6e(0x2ba)](_0x994275){const _0x53a969=_0x4e7d6e;_0x994275?(this['_anchorDot']&&this['_anchorDot'][_0x53a969(0xdc)](),this[_0x53a969(0x14d)]&&this[_0x53a969(0x14d)]['show']()):(this[_0x53a969(0x134)]&&this[_0x53a969(0x134)][_0x53a969(0x189)](),this['_textBubble']&&this['_textBubble'][_0x53a969(0xdc)]());}[_0x4e7d6e(0x1e0)](){const _0x8b84f5=_0x4e7d6e;for(const _0x2b8745 of this[_0x8b84f5(0xdd)])_0x2b8745[_0x8b84f5(0x1e0)]();this['_textBubble']&&this[_0x8b84f5(0x14d)][_0x8b84f5(0x1e0)](),this[_0x8b84f5(0x134)]&&this[_0x8b84f5(0x134)]['dispose'](),this['_anchor']&&this[_0x8b84f5(0xa0)][_0x8b84f5(0x1e0)](),this['_eventUnsubscribe']&&this[_0x8b84f5(0x190)]();}['_render'](){const _0x5532e9=_0x4e7d6e;var _0x757713;const {_docSkeleton:_0x17bce3,_document:_0x541c93}=this,{color:_0x1e3864,name:_0x387108,ranges:_0x4f093a}=this[_0x5532e9(0x11b)],_0x49e08e=_0x541c93[_0x5532e9(0x1fd)](),{docsLeft:_0xaa2870,docsTop:_0x43c344}=_0x49e08e,_0x305b96=new E['NodePositionConvertToCursor'](_0x49e08e,_0x17bce3);for(const {startOffset:_0xc78893,endOffset:_0x59818e,rangeType:_0x3cd60c,segmentId:_0xb0c272,segmentPage:_0x50a60a,collapsed:_0x2dc3cc,isActive:_0x103b0b}of _0x4f093a){const _0x362c64=_0x17bce3[_0x5532e9(0xb1)](_0xc78893,!0x0,_0xb0c272,_0x50a60a);let _0x70290f=_0x17bce3['findNodePositionByCharIndex'](_0x59818e,!0x0,_0xb0c272,_0x50a60a);if(_0x70290f==null&&(_0x70290f=_0x17bce3[_0x5532e9(0xb1)](_0x59818e-0x1,!0x1,_0xb0c272,_0x50a60a)),_0x103b0b){const {contentBoxPointGroup:_0x28cf1e}=_0x305b96[_0x5532e9(0xc1)](_0x70290f,_0x70290f);if(_0x28cf1e[_0x5532e9(0x278)]===0x0)continue;this[_0x5532e9(0x2ad)](_0x1e3864,_0x28cf1e,_0xaa2870,_0x43c344,_0x387108),this[_0x5532e9(0x190)]=this[_0x5532e9(0x2ed)]();}if(_0x362c64&&_0x70290f){if(_0x3cd60c===a[_0x5532e9(0xc9)][_0x5532e9(0x1e6)]){const _0x30136a=new E['NodePositionConvertToRectRange'](_0x49e08e,_0x17bce3),{pointGroup:_0x22031a}=(_0x757713=_0x30136a['getRangePointData'](_0x362c64,_0x70290f))!=null?_0x757713:{};if(_0x22031a==null||_0x22031a[_0x5532e9(0x278)]===0x0)continue;this[_0x5532e9(0x2e0)](_0x1e3864,_0x22031a,_0xaa2870,_0x43c344);}else{if(!_0x2dc3cc){const {borderBoxPointGroup:_0x2d7ec9}=_0x305b96['getRangePointData'](_0x362c64,_0x70290f);if(_0x2d7ec9[_0x5532e9(0x278)]===0x0)continue;this[_0x5532e9(0x2c5)](_0x1e3864,_0x2d7ec9,_0xaa2870,_0x43c344);}}}}}[_0x4e7d6e(0x2ad)](_0x159e28,_0x3e9df6,_0x4b0427,_0x3cfc89,_0x375eb3){const _0x2b549a=_0x4e7d6e,_0x457075=this[_0x2b549a(0x12f)](_0x3e9df6),{left:_0xe6aef3,top:_0x2a7ce0,height:_0x72b207}=_0x457075,_0x5cdcae=this[_0x2b549a(0x172)](),_0x1fd5ce=Rt/_0x5cdcae,_0xb474eb=new p['Rect'](re+a['generateRandomId'](F),{'left':_0xe6aef3+_0x4b0427-_0x1fd5ce,'top':_0x2a7ce0+_0x3cfc89,'height':_0x72b207,'width':Tt,'fill':_0x159e28||p[_0x2b549a(0x1aa)](a[_0x2b549a(0x28b)][_0x2b549a(0x1a6)],0x0),'strokeWidth':_0x1fd5ce,'stroke':Dt,'evented':!0x0});this['_anchor']=_0xb474eb,this[_0x2b549a(0x1a4)][_0x2b549a(0x1d5)](_0xb474eb,E[_0x2b549a(0x26a)]);const _0x5d5fd0=new p[(_0x2b549a(0xda))](re+a[_0x2b549a(0x305)](F),{'left':_0xe6aef3+_0x4b0427-_0x1fd5ce,'top':_0x2a7ce0+_0x3cfc89-oe/0x2,'height':oe,'width':oe,'fill':_0x159e28||p[_0x2b549a(0x1aa)](a[_0x2b549a(0x28b)][_0x2b549a(0x1a6)],0x0),'strokeWidth':0x0,'stroke':_0x159e28||p[_0x2b549a(0x1aa)](a[_0x2b549a(0x28b)][_0x2b549a(0x1a6)],0x0),'evented':!0x1});this[_0x2b549a(0x134)]=_0x5d5fd0,this['_scene'][_0x2b549a(0x1d5)](_0x5d5fd0,E['TEXT_RANGE_LAYER_INDEX']);const _0x54ce02=new ee(re+a[_0x2b549a(0x305)](F),{'left':_0xe6aef3+_0x4b0427-_0x1fd5ce,'top':_0x2a7ce0+_0x3cfc89-W,'text':_0x375eb3,'color':_0x159e28});this['_textBubble']=_0x54ce02,this['_scene'][_0x2b549a(0x1d5)](_0x54ce02,E[_0x2b549a(0x26a)]),this['_hover']=!0x1;}[_0x4e7d6e(0x2ed)](){const _0x1192ff=_0x4e7d6e,_0x1229f0=this['_anchor']['onPointerEnter$'][_0x1192ff(0x1ca)](()=>{const _0x54b24b=_0x1192ff;this[_0x54b24b(0x2ba)]=!0x0;}),_0x46f99f=this[_0x1192ff(0xa0)][_0x1192ff(0x310)][_0x1192ff(0x1ca)](()=>{const _0x13affa=_0x1192ff;this[_0x13affa(0xb3)]&&clearTimeout(this['_hideTimer']),this[_0x13affa(0xb3)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4dcbbc=_0x1192ff;_0x1229f0[_0x4dcbbc(0x146)](),_0x46f99f[_0x4dcbbc(0x146)]();};}[_0x4e7d6e(0x2c5)](_0x4549cb,_0x452ff7,_0x50c785,_0x27c85a){const _0x5e0799=_0x4e7d6e,_0x133ec4=new a[(_0x5e0799(0xae))](_0x4549cb)[_0x5e0799(0x29d)](0.2)['toRgbString'](),_0x1f56b1=new p[(_0x5e0799(0x17c))](bt+a['generateRandomId'](F),{'pointsGroup':_0x452ff7,'fill':_0x133ec4||p['getColor'](a['COLORS'][_0x5e0799(0x1a6)],0.2),'left':_0x50c785,'top':_0x27c85a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1f56b1),this[_0x5e0799(0x1a4)][_0x5e0799(0x1d5)](_0x1f56b1,E['TEXT_RANGE_LAYER_INDEX']);}[_0x4e7d6e(0x2e0)](_0x33d7ad,_0xf65f8b,_0x572297,_0xc314b4){const _0xf98296=_0x4e7d6e,_0x339ea6=new a['ColorKit'](_0x33d7ad)[_0xf98296(0x29d)](0.2)['toRgbString'](),_0x145a9c=new p[(_0xf98296(0x17c))](Ot+a['generateRandomId'](F),{'pointsGroup':_0xf65f8b,'fill':_0x339ea6||p[_0xf98296(0x1aa)](a['COLORS'][_0xf98296(0x1a6)],0.2),'left':_0x572297,'top':_0xc314b4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf98296(0xdd)][_0xf98296(0x1bd)](_0x145a9c),this[_0xf98296(0x1a4)][_0xf98296(0x1d5)](_0x145a9c,E['TEXT_RANGE_LAYER_INDEX']);}[_0x4e7d6e(0x12f)](_0x1196d2){const _0x5d661d=_0x1196d2[0x0],_0x541154=_0x5d661d[0x0],_0x3a5428=_0x5d661d[0x2],{x:_0x25932c,y:_0x1e32e4}=_0x541154,{x:_0x1c8886,y:_0x144c86}=_0x3a5428;return{'left':_0x25932c,'top':_0x1e32e4,'width':_0x1c8886-_0x25932c,'height':_0x144c86-_0x1e32e4};}[_0x4e7d6e(0x172)](){const _0x4650d1=_0x4e7d6e,{scaleX:_0x8bd43c,scaleY:_0x359d11}=this[_0x4650d1(0x1a4)]['getAncestorScale']();return Math['max'](_0x8bd43c,_0x359d11);}}var Ut=Object[_0x4e7d6e(0x259)],Nt=(_0x3f9c2b,_0xcb0b25,_0x1fac9e,_0x1b17b8)=>{const _0x115cb7=_0x4e7d6e;for(var _0x4d5540=_0x1b17b8>0x1?void 0x0:_0x1b17b8?Ut(_0xcb0b25,_0x1fac9e):_0xcb0b25,_0x665515=_0x3f9c2b[_0x115cb7(0x278)]-0x1,_0x34f993;_0x665515>=0x0;_0x665515--)(_0x34f993=_0x3f9c2b[_0x665515])&&(_0x4d5540=_0x34f993(_0x4d5540)||_0x4d5540);return _0x4d5540;},X=(_0x569bfa,_0x2f9686)=>(_0x27b91b,_0x557baa)=>_0x2f9686(_0x27b91b,_0x557baa,_0x569bfa);let fe=class extends a['RxDisposable']{constructor(_0x55ce83,_0x2d758d,_0x1884dc,_0x480792,_0x57af0d){const _0x44493f=_0x4e7d6e;super(),h(this,_0x44493f(0x238),[]),h(this,_0x44493f(0x14a),[]),(this[_0x44493f(0x1f7)]=_0x55ce83,this['_docSkeletonManagerService']=_0x2d758d,this[_0x44493f(0x9c)]=_0x1884dc,this[_0x44493f(0x301)]=_0x480792,this[_0x44493f(0x1a5)]=_0x57af0d,this[_0x44493f(0x27a)]());}[_0x4e7d6e(0x27a)](){const _0x5bc062=_0x4e7d6e,_0x29a69c=this[_0x5bc062(0x1f7)]['unitId'],_0x59f1b5=this[_0x5bc062(0xbd)];this[_0x5bc062(0x23c)](d[_0x5bc062(0x20a)]([this[_0x5bc062(0x9c)][_0x5bc062(0x313)](_0x29a69c),this[_0x5bc062(0x1a5)][_0x5bc062(0x192)]])[_0x5bc062(0x1f8)]($[_0x5bc062(0x2f8)](([_0xb216ae,_0xb7fc54])=>({'skeleton':_0x59f1b5[_0x5bc062(0x1f4)](),'cursors':[..._0xb216ae[_0x5bc062(0x30f)]()][_0x5bc062(0x9e)](_0x364b05=>({..._0x364b05,'color':this['_themeService'][_0x5bc062(0x285)](_0x364b05['color'])}))})))[_0x5bc062(0x154)](_0x27ee10=>{const _0x121e2a=_0x5bc062;if(this[_0x121e2a(0x216)](),_0x27ee10){const {skeleton:_0x13bd44,cursors:_0x191ec6}=_0x27ee10;this[_0x121e2a(0x218)](_0x13bd44,_0x191ec6);}})),this['_initResize'](),this[_0x5bc062(0x17b)]();}['_updateCollabCursors'](_0x47b60a,_0x4ec2e4){const _0x7ded12=_0x4e7d6e,{scene:_0x25010b,mainComponent:_0x24859a}=this[_0x7ded12(0x1f7)],_0x45df3b=_0x4ec2e4['map'](_0x26f0cd=>new Re(_0x26f0cd,_0x25010b,_0x47b60a,_0x24859a));this['_cursorShapes']=_0x45df3b,this[_0x7ded12(0x14a)]=_0x4ec2e4;}[_0x4e7d6e(0x22c)](){const _0x39142f=_0x4e7d6e;this[_0x39142f(0x216)]();const {scene:_0x42ab3a,mainComponent:_0x398043}=this['_context'],_0x268750=this['_docSkeletonManagerService']['getSkeleton'](),_0x903e16=this[_0x39142f(0x14a)][_0x39142f(0x2f8)](_0x1d2fef=>new Re(_0x1d2fef,_0x42ab3a,_0x268750,_0x398043));this[_0x39142f(0x238)]=_0x903e16;}[_0x4e7d6e(0x216)](){const _0x5b6ef9=_0x4e7d6e;this[_0x5b6ef9(0x238)][_0x5b6ef9(0x156)](_0x7fc43d=>_0x7fc43d[_0x5b6ef9(0x1e0)]()),this['_cursorShapes']=[];}[_0x4e7d6e(0x17b)](){const _0x5016ee=_0x4e7d6e,_0x4a0f03=[E['SetDocZoomRatioOperation']['id']];this[_0x5016ee(0x23c)](this[_0x5016ee(0x301)][_0x5016ee(0x22f)](_0x1e5cef=>{const _0x1b3400=_0x5016ee;_0x4a0f03[_0x1b3400(0x122)](_0x1e5cef['id'])&&_0x1e5cef['params'][_0x1b3400(0xdb)]===this[_0x1b3400(0x1f7)][_0x1b3400(0xdb)]&&this[_0x1b3400(0x22c)]();}));}['_initResize'](){const _0x53cd33=_0x4e7d6e;this[_0x53cd33(0x23c)](a[_0x53cd33(0xcd)](this['_context']['engine'][_0x53cd33(0x2a6)])[_0x53cd33(0x1f8)]($['filter'](_0x1a7fa3=>_0x1a7fa3[_0x53cd33(0x2a3)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x53cd33(0x1ee)](0x10))[_0x53cd33(0x154)](()=>{this['_refreshCollabCursors']();}));}};fe=Nt([X(0x1,a[_0x4e7d6e(0x140)](Y[_0x4e7d6e(0x2fa)])),X(0x2,a[_0x4e7d6e(0x140)](x)),X(0x3,a[_0x4e7d6e(0xa5)]),X(0x4,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0x179)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x4e7d6e(0x1d9)]{constructor(_0x3a1aa3,_0x235323){const _0x441b10=_0x4e7d6e;super(_0x3a1aa3,_0x235323),h(this,_0x441b10(0x2d0)),h(this,_0x441b10(0x1dc),!0x1),h(this,_0x441b10(0x282)),h(this,_0x441b10(0x1ad),''),h(this,_0x441b10(0x250),_0x441b10(0x243)),h(this,_0x441b10(0x220)),(_0x235323&&this[_0x441b10(0xb9)](_0x235323),this[_0x441b10(0x9f)][_0x441b10(0x1ca)](()=>this[_0x441b10(0xb9)]({'hovered':!0x0})),this[_0x441b10(0x310)][_0x441b10(0x1ca)](()=>this[_0x441b10(0xb9)]({'hovered':!0x1})));}[_0x4e7d6e(0xb9)](_0x4258fc){const _0x3951c6=_0x4e7d6e;var _0x44c92b,_0x273283,_0x5ea03f,_0x39afb1,_0xd4497c,_0x547d5d;this[_0x3951c6(0x2d0)]=(_0x44c92b=_0x4258fc[_0x3951c6(0x2a1)])!=null?_0x44c92b:this[_0x3951c6(0x2d0)],this['_hovered']=(_0x273283=_0x4258fc[_0x3951c6(0x12e)])!=null?_0x273283:this[_0x3951c6(0x1dc)],this[_0x3951c6(0x282)]=(_0x5ea03f=_0x4258fc[_0x3951c6(0x15f)])!=null?_0x5ea03f:this[_0x3951c6(0x282)],this['_name']=(_0x39afb1=_0x4258fc[_0x3951c6(0x28c)])!=null?_0x39afb1:this[_0x3951c6(0x1ad)],this[_0x3951c6(0x250)]=(_0xd4497c=_0x4258fc[_0x3951c6(0x20f)])!=null?_0xd4497c:this[_0x3951c6(0x250)],this[_0x3951c6(0x220)]=(_0x547d5d=_0x4258fc[_0x3951c6(0x1a1)])!=null?_0x547d5d:this[_0x3951c6(0x220)],this[_0x3951c6(0x176)]({'width':_0x4258fc['width'],'height':_0x4258fc[_0x3951c6(0x151)]});}[_0x4e7d6e(0x2a5)](_0x2a2ee2){const _0x45945c=_0x4e7d6e,{row:_0x4107a9,column:_0x767dcc}=_0x2a2ee2;if(_0x4107a9>=this[_0x45945c(0x282)][_0x45945c(0x11a)]&&_0x4107a9<=this[_0x45945c(0x282)][_0x45945c(0xd0)]&&_0x767dcc>=this[_0x45945c(0x282)][_0x45945c(0xa2)]&&_0x767dcc<=this[_0x45945c(0x282)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4e7d6e(0x182)](_0x25feda){return!0x1;}[_0x4e7d6e(0xea)](_0x4c7416){const _0x538973=_0x4e7d6e;p[_0x538973(0xda)][_0x538973(0x1b9)](_0x4c7416,{'width':this[_0x538973(0x2eb)],'height':this['height'],'strokeWidth':Lt,'stroke':this[_0x538973(0x2d0)],'evented':!0x1,'fill':this[_0x538973(0x220)]}),this['_hovered']&&(_0x4c7416[_0x538973(0x13c)](),_0x4c7416[_0x538973(0x2cd)](0x1,0x0,0x0,0x1,this[_0x538973(0x2eb)],this[_0x538973(0x250)]===_0x538973(0x281)?0x0:-W),ee[_0x538973(0x1b9)](_0x4c7416,{'text':this[_0x538973(0x1ad)],'color':this[_0x538973(0x2d0)]}),_0x4c7416['restore']());}}var Pt=Object[_0x4e7d6e(0x259)],wt=(_0x1e490f,_0x1b689b,_0x362e15,_0x1158e4)=>{const _0x533b87=_0x4e7d6e;for(var _0x36c3a0=_0x1158e4>0x1?void 0x0:_0x1158e4?Pt(_0x1b689b,_0x362e15):_0x1b689b,_0x51e9da=_0x1e490f[_0x533b87(0x278)]-0x1,_0x3375df;_0x51e9da>=0x0;_0x51e9da--)(_0x3375df=_0x1e490f[_0x51e9da])&&(_0x36c3a0=_0x3375df(_0x36c3a0)||_0x36c3a0);return _0x36c3a0;},ae=(_0x551391,_0x175d81)=>(_0x7c98ff,_0x217796)=>_0x175d81(_0x7c98ff,_0x217796,_0x551391);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x1d0ca0,_0x5b84b4,_0x5c0be2,_0x479f11){const _0x5b50c3=_0x4e7d6e;super(),h(this,_0x5b50c3(0x14a),new Set()),h(this,_0x5b50c3(0x21b),null),(this[_0x5b50c3(0x1f7)]=_0x1d0ca0,this[_0x5b50c3(0xe8)]=_0x5b84b4,this[_0x5b50c3(0x9c)]=_0x5c0be2,this['_themeService']=_0x479f11,this['_init']());}[_0x4e7d6e(0x27a)](){const _0x51797a=_0x4e7d6e;this[_0x51797a(0xe8)]['currentSkeleton$']['pipe']($[_0x51797a(0x266)](this[_0x51797a(0x188)]),$[_0x51797a(0xe2)](_0x2a197c=>{const _0x383121=_0x51797a;if(_0x2a197c){const _0xb33ed1=_0x2a197c[_0x383121(0x21a)];return d[_0x383121(0x20a)](this[_0x383121(0x9c)][_0x383121(0x313)](this[_0x383121(0x1f7)][_0x383121(0xdb)]),this['_themeService'][_0x383121(0x192)])[_0x383121(0x1f8)]($['map'](([_0x5d1f4c,_0x1a32cb])=>{const _0x23a815=_0x383121,_0x4a470a=new Map();return _0x5d1f4c[_0x23a815(0x156)]((_0xa0234c,_0x4d6110)=>{const _0x5f4bd6=_0x23a815;if(_0xa0234c[_0x5f4bd6(0x17f)]===_0xb33ed1){const _0x350adc={..._0xa0234c};_0x350adc['color']=this[_0x5f4bd6(0x1a5)][_0x5f4bd6(0x285)](_0xa0234c['color']),_0x4a470a[_0x5f4bd6(0x270)](_0x4d6110,_0x350adc);}}),{'skeleton':_0x2a197c,'cursors':_0x4a470a};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x51797a(0x154)](({skeleton:_0x913a9d,cursors:_0x118474})=>{const _0x32e0bc=_0x51797a;this[_0x32e0bc(0x216)](),_0x913a9d&&this[_0x32e0bc(0x218)](_0x913a9d,_0x118474);}),this[_0x51797a(0xe8)][_0x51797a(0x1e9)]['subscribe'](_0x45f7b4=>{const _0x410e1e=_0x51797a;if(_0x45f7b4==null)return;const {skeleton:_0x5e90a7}=_0x45f7b4,{scene:_0x1108c1}=this[_0x410e1e(0x1f7)];_0x1108c1[_0x410e1e(0x125)][_0x410e1e(0x1ca)](a['debounce'](_0x1228cc=>{const _0x37e500=_0x410e1e;var _0x511a88,_0x51845d;const {offsetX:_0x5dcf01,offsetY:_0x1d3dbb}=_0x1228cc,{x:_0xc9150f,y:_0x400ed0}=_0x1108c1[_0x37e500(0x166)](p[_0x37e500(0x2b6)][_0x37e500(0x28a)]([_0x5dcf01,_0x1d3dbb])),{scaleX:_0x4b4d24,scaleY:_0x4a4064}=_0x1108c1[_0x37e500(0x2d2)](),_0x2fa442=_0x1108c1[_0x37e500(0xd1)](p[_0x37e500(0x2a0)]['VIEW_MAIN']),_0x3ed9de=_0x1108c1[_0x37e500(0x23b)](p[_0x37e500(0x2b6)]['FromArray']([_0xc9150f,_0x400ed0]),_0x2fa442),_0x186dd9=_0x5e90a7[_0x37e500(0x97)](_0x5dcf01,_0x1d3dbb,_0x4b4d24,_0x4a4064,_0x3ed9de);((_0x511a88=this[_0x37e500(0x21b)])==null?void 0x0:_0x511a88[_0x37e500(0xe5)])===_0x186dd9[_0x37e500(0xe5)]&&((_0x51845d=this['_lastPointer'])==null?void 0x0:_0x51845d['row'])===_0x186dd9[_0x37e500(0x149)]||this[_0x37e500(0x14a)][_0x37e500(0x156)](_0x420b8a=>{const _0x4a9c76=_0x37e500;_0x420b8a[_0x4a9c76(0x2a5)](_0x186dd9);});},0x64));});}['_updateCollabCursors'](_0x4e17a4,_0xa27300){const _0x49f548=_0x4e7d6e;var _0x568ece;const _0x1e235a=(_0x568ece=this[_0x49f548(0xe8)][_0x49f548(0x183)]())==null?void 0x0:_0x568ece[_0x49f548(0x242)];if(!_0x1e235a)return;const _0x5fa282=this[_0x49f548(0x26b)]();if(!_0x5fa282)return;this[_0x49f548(0x14a)][_0x49f548(0x156)](_0x31c094=>{_0x31c094['makeDirty']();});const {scene:_0x112388}=_0x5fa282,_0x5094e7=yt(Array['from'](_0xa27300[_0x49f548(0x30f)]()))[_0x49f548(0x2f8)](_0x4519a8=>{const _0x1389dd=_0x49f548,{color:_0x2e060e,range:_0x48fbd8,name:_0x22d38a,selection:_0x4e08ca,sheetID:_0x4a23b9}=_0x4519a8,{startColumn:_0x142eb6,startRow:_0x18e0a9,endColumn:_0x574ef4,endRow:_0x2d923e}=_0x48fbd8,_0x2c66ee=G['getCoordByCell'](_0x18e0a9,_0x142eb6,_0x112388,_0x1e235a),_0x2ceb08=G[_0x1389dd(0x1a7)](_0x2d923e,_0x574ef4,_0x112388,_0x1e235a),{columnHeaderHeightAndMarginTop:_0x11cd64}=_0x1e235a,{startX:_0x3d88b4,startY:_0x3675fa}=_0x2c66ee,{endX:_0x4b04d3,endY:_0x190900}=_0x2ceb08,_0x13ed27=_0x4b04d3-_0x3d88b4,_0x559fbb=_0x190900-_0x3675fa,_0x1353ee={'labelPosition':_0x3675fa-_0x11cd64>=W?_0x1389dd(0x243):'bottom','sheetID':_0x4a23b9,'range':_0x48fbd8,'color':_0x2e060e,'name':_0x22d38a,'selection':_0x4e08ca,'left':_0x3d88b4,'top':_0x3675fa,'width':_0x13ed27,'height':_0x559fbb,'evented':!0x1,'zIndex':At};return new $e(_0x22d38a,_0x1353ee);});_0x112388['addObjects'](_0x5094e7,Mt),this[_0x49f548(0x14a)]=new Set(_0x5094e7);}[_0x4e7d6e(0x216)](){const _0x3b340d=_0x4e7d6e;var _0x5fc15f;(_0x5fc15f=this[_0x3b340d(0x14a)])==null||_0x5fc15f[_0x3b340d(0x156)](_0x2fc9f9=>_0x2fc9f9['dispose']());}['_getSheetObject'](){const _0xc40b1=_0x4e7d6e;return G[_0xc40b1(0x2f4)](this[_0xc40b1(0x1f7)][_0xc40b1(0x20e)],this[_0xc40b1(0x1f7)]);}};Ie=wt([ae(0x1,a[_0x4e7d6e(0x140)](G['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0x179)]))],Ie);function yt(_0xb20b39){const _0x2adf83=_0x4e7d6e,_0x4970ce=new Map();return _0xb20b39[_0x2adf83(0x156)](_0x5a99ee=>{const _0x20841b=_0x2adf83;if(_0x4970ce[_0x20841b(0x21c)](_0x5a99ee[_0x20841b(0x245)])){const _0x53ab77=_0x4970ce[_0x20841b(0xd9)](_0x5a99ee[_0x20841b(0x245)]);_0x53ab77[_0x20841b(0x28c)]+=',\x20'+_0x5a99ee[_0x20841b(0x28c)];}else _0x4970ce[_0x20841b(0x270)](_0x5a99ee[_0x20841b(0x245)],_0x5a99ee);}),Array[_0x2adf83(0x1eb)](_0x4970ce['values']());}var $t=Object[_0x4e7d6e(0x259)],xt=(_0x5a4aec,_0x596ffd,_0x4ac743,_0x2eb96f)=>{const _0x4d91a3=_0x4e7d6e;for(var _0x2c2cb8=_0x2eb96f>0x1?void 0x0:_0x2eb96f?$t(_0x596ffd,_0x4ac743):_0x596ffd,_0x944390=_0x5a4aec[_0x4d91a3(0x278)]-0x1,_0xcdbe91;_0x944390>=0x0;_0x944390--)(_0xcdbe91=_0x5a4aec[_0x944390])&&(_0x2c2cb8=_0xcdbe91(_0x2c2cb8)||_0x2c2cb8);return _0x2c2cb8;},y=(_0x2a73d1,_0x345d6d)=>(_0x23645b,_0x1d8215)=>_0x345d6d(_0x23645b,_0x1d8215,_0x2a73d1);let q=class extends a[_0x4e7d6e(0x23a)]{constructor(_0x4fe60,_0x888cc2,_0x614b73,_0x5a96f6,_0x28baa2,_0x35874b){const _0x2c363c=_0x4e7d6e;super(),this[_0x2c363c(0x169)]=_0x4fe60,this['_localCacheService']=_0x888cc2,this[_0x2c363c(0x26e)]=_0x614b73,this[_0x2c363c(0x297)]=_0x5a96f6,this['_notificationService']=_0x28baa2,this['_localeService']=_0x35874b,this[_0x2c363c(0x299)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5efd60=_0x4e7d6e;this[_0x5efd60(0x23c)](this[_0x5efd60(0x169)][_0x5efd60(0x21e)](()=>{const _0x15a7ff=_0x5efd60;if(this[_0x15a7ff(0xaf)][_0x15a7ff(0x115)]['size'])return this['_localeService']['t'](_0x15a7ff(0x15d));}));}[_0x4e7d6e(0x225)](){const _0x5cc1a5=_0x4e7d6e;this['disposeWithMe'](this[_0x5cc1a5(0x26e)][_0x5cc1a5(0x2cc)][_0x5cc1a5(0x154)](_0x22fc6b=>{const _0x1feea3=_0x5cc1a5;_0x22fc6b['id']===u[_0x1feea3(0x2d5)]['OTHER_CLIENT_EDITING']&&this[_0x1feea3(0x297)]['show']({'type':D[_0x1feea3(0x96)][_0x1feea3(0xb7)],'content':this[_0x1feea3(0x1c5)]['t']('collaboration.single-unit.warning')}),_0x22fc6b['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x1feea3(0x189)]({'type':D['MessageType']['Warning'],'content':this[_0x1feea3(0x1c5)]['t'](_0x1feea3(0x10e))}),_0x22fc6b['id']===u['CollaborationUIEventId'][_0x1feea3(0x150)]&&this[_0x1feea3(0x17d)][_0x1feea3(0x189)]({'title':this[_0x1feea3(0x1c5)]['t']('permission.title'),'content':this[_0x1feea3(0x1c5)]['t'](_0x1feea3(0x1e1)),'type':_0x1feea3(0x230),'duration':0x0}),_0x22fc6b['id']===u[_0x1feea3(0x2d5)][_0x1feea3(0x1ec)]&&this[_0x1feea3(0x297)][_0x1feea3(0x189)]({'type':D['MessageType'][_0x1feea3(0x203)],'content':this[_0x1feea3(0x1c5)]['t'](_0x1feea3(0x10e))+'('+_0x22fc6b[_0x1feea3(0x2dc)]+')'}),_0x22fc6b['id']===u[_0x1feea3(0x2d5)][_0x1feea3(0x24e)]&&this['_messageService'][_0x1feea3(0x189)]({'type':D[_0x1feea3(0x96)][_0x1feea3(0xb7)],'content':this[_0x1feea3(0x1c5)]['t'](_0x22fc6b[_0x1feea3(0x2dc)]||'')}),_0x22fc6b['id']===u[_0x1feea3(0x2d5)][_0x1feea3(0xcf)]&&this[_0x1feea3(0x297)][_0x1feea3(0x189)]({'type':D[_0x1feea3(0x96)]['Warning'],'content':this[_0x1feea3(0x1c5)]['t'](_0x1feea3(0x2af))}),_0x22fc6b['id']===u['CollaborationUIEventId'][_0x1feea3(0x124)]&&this[_0x1feea3(0x297)][_0x1feea3(0x189)]({'type':D[_0x1feea3(0x96)][_0x1feea3(0x203)],'content':this['_localeService']['t'](_0x1feea3(0x16d))}),_0x22fc6b['id']===u[_0x1feea3(0x2d5)][_0x1feea3(0x30c)]&&this[_0x1feea3(0x297)][_0x1feea3(0x189)]({'type':D[_0x1feea3(0x96)][_0x1feea3(0x203)],'content':this[_0x1feea3(0x1c5)]['t'](_0x1feea3(0x16b))});}));}};q=xt([y(0x0,O[_0x4e7d6e(0x204)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u[_0x4e7d6e(0x213)])),y(0x3,O[_0x4e7d6e(0x19d)]),y(0x4,O[_0x4e7d6e(0x303)]),y(0x5,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0x11e)]))],q);const Bt='collaboration-client-ui.config',De={};var jt=Object['getOwnPropertyDescriptor'],kt=(_0xca77ef,_0x3533ab,_0x2fddca,_0x3e626c)=>{const _0x165bfa=_0x4e7d6e;for(var _0x231447=_0x3e626c>0x1?void 0x0:_0x3e626c?jt(_0x3533ab,_0x2fddca):_0x3533ab,_0x27d8f9=_0xca77ef[_0x165bfa(0x278)]-0x1,_0x26a87a;_0x27d8f9>=0x0;_0x27d8f9--)(_0x26a87a=_0xca77ef[_0x27d8f9])&&(_0x231447=_0x26a87a(_0x231447)||_0x231447);return _0x231447;},Ue=(_0x768f99,_0xac8926)=>(_0x188000,_0x27d444)=>_0xac8926(_0x188000,_0x27d444,_0x768f99);let z=class{constructor(_0x106712,_0xf62340){const _0x35a13b=_0x4e7d6e;this[_0x35a13b(0x2e7)]=_0x106712,this[_0x35a13b(0x296)]=_0xf62340;}['transformIMECache'](_0x3c613d){this['_transformUndoRedoStack'](_0x3c613d),this['_transformPreviousActiveRange'](_0x3c613d);}[_0x4e7d6e(0x20d)](_0x3f8564){const _0x440c27=_0x4e7d6e,{unitID:_0x250dbf}=_0x3f8564,_0x42559e=this['_renderManagerService'][_0x440c27(0x1db)](_0x250dbf)[_0x440c27(0x99)](E[_0x440c27(0x93)]),{redoCache:_0x4ae2b7}=_0x42559e['getUndoRedoMutationParamsCache']();if(_0x4ae2b7[_0x440c27(0x278)]===0x0)return _0x3f8564;let _0x2491f1=a[_0x440c27(0x288)][_0x440c27(0x13b)](_0x3f8564[_0x440c27(0x237)][0x0]);for(let _0x2673c=0x0;_0x2673c<_0x4ae2b7[_0x440c27(0x278)];_0x2673c++){const _0x2abbfe={'id':_0x440c27(0x180),'params':{..._0x4ae2b7[_0x2673c]}},_0x34e652=this[_0x440c27(0x2e7)][_0x440c27(0x2cf)](_0x2491f1,_0x2abbfe,!0x1);if(m[_0x440c27(0x168)](_0x34e652))throw _0x34e652['error'];_0x2491f1=_0x34e652[_0x440c27(0x271)];}return{...a[_0x440c27(0x288)]['deepClone'](_0x3f8564),'mutations':[_0x2491f1]};}[_0x4e7d6e(0x219)](_0xa3d03){const _0x3e13ca=_0x4e7d6e,{unitID:_0x5e13b0}=_0xa3d03,_0x53604a=this[_0x3e13ca(0x296)][_0x3e13ca(0x1db)](_0x5e13b0)[_0x3e13ca(0x99)](E[_0x3e13ca(0x93)]),{undoCache:_0x139ba2,redoCache:_0x20748d}=_0x53604a[_0x3e13ca(0x1cb)]();if(_0x139ba2[_0x3e13ca(0x278)]===0x0||_0x20748d[_0x3e13ca(0x278)]===0x0)return;const _0xd5e38b=[],_0x30801c=[];let _0x47424b=a[_0x3e13ca(0x288)][_0x3e13ca(0x13b)](_0xa3d03['mutations'][0x0]),_0x5ac514=a[_0x3e13ca(0x288)]['deepClone'](_0xa3d03['mutations'][0x0]);for(let _0x20c1fc=_0x139ba2['length']-0x1;_0x20c1fc>=0x0;_0x20c1fc--){const _0x17fd12={'id':'doc.mutation.rich-text-editing','params':{..._0x139ba2[_0x20c1fc]}},_0x59ba19={'id':_0x3e13ca(0x180),'params':{..._0x20748d[_0x20c1fc]}},_0x5a276d=this[_0x3e13ca(0x2e7)]['transformMutation'](_0x47424b,_0x17fd12,!0x1),_0xfabdde=this[_0x3e13ca(0x2e7)][_0x3e13ca(0x2cf)](_0x5ac514,_0x59ba19,!0x1);if(m[_0x3e13ca(0x168)](_0x5a276d))throw _0x5a276d[_0x3e13ca(0x230)];if(m[_0x3e13ca(0x168)](_0xfabdde))throw _0xfabdde[_0x3e13ca(0x230)];_0xd5e38b[_0x3e13ca(0x14f)](_0x5a276d[_0x3e13ca(0x231)][_0x3e13ca(0x2bf)]),_0x30801c[_0x3e13ca(0x14f)](_0xfabdde[_0x3e13ca(0x231)]['params']),_0x47424b=_0x5a276d[_0x3e13ca(0x271)],_0x5ac514=_0xfabdde[_0x3e13ca(0x271)];}_0x53604a[_0x3e13ca(0x19c)]({'undoCache':_0xd5e38b,'redoCache':_0x30801c});}[_0x4e7d6e(0xca)](_0x122fe9){const _0x13857f=_0x4e7d6e,{unitID:_0x26a242}=_0x122fe9,_0x574f11=this[_0x13857f(0x296)][_0x13857f(0x1db)](_0x26a242)[_0x13857f(0x99)](E[_0x13857f(0x93)]),_0x31dc9a=_0x574f11['getActiveRange']();if(_0x31dc9a==null)return;const _0x211f7f=[{'id':_0x13857f(0x180),'params':{'unitId':_0x122fe9[_0x13857f(0x276)],'actions':null,'textRanges':[_0x31dc9a]}}],_0x50dafd=this['_transformService'][_0x13857f(0x246)](_0x122fe9,_0x211f7f);if(!m[_0x13857f(0x158)](_0x50dafd))throw _0x50dafd[_0x13857f(0x230)];const _0x144320=_0x50dafd[_0x13857f(0x231)][0x0][_0x13857f(0x2bf)][_0x13857f(0x233)];Array['isArray'](_0x144320)&&_0x144320['length']&&_0x574f11[_0x13857f(0x2bc)](_0x144320[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p['IRenderManagerService'])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x48cfdf,_0x26ee47,_0x27d51b,_0x330bfc)=>{const _0x36980a=_0x4e7d6e;for(var _0x1b6be6=_0x330bfc>0x1?void 0x0:_0x330bfc?Ft(_0x26ee47,_0x27d51b):_0x26ee47,_0x3ab586=_0x48cfdf[_0x36980a(0x278)]-0x1,_0x54b7c8;_0x3ab586>=0x0;_0x3ab586--)(_0x54b7c8=_0x48cfdf[_0x3ab586])&&(_0x1b6be6=_0x54b7c8(_0x1b6be6)||_0x1b6be6);return _0x1b6be6;},ce=(_0x349916,_0xa997b5)=>(_0x4836b6,_0x3f3096)=>_0xa997b5(_0x4836b6,_0x3f3096,_0x349916);let J=class{constructor(_0x2cf311,_0x14ec52,_0xf90a92){const _0x4a463d=_0x4e7d6e;this[_0x4a463d(0x102)]=_0x2cf311,this[_0x4a463d(0x2e7)]=_0x14ec52,this[_0x4a463d(0x2ac)]=_0xf90a92;}[_0x4e7d6e(0xb6)](_0x3e922e){const _0x2421eb=_0x4e7d6e;this[_0x2421eb(0x135)](_0x3e922e);}[_0x4e7d6e(0x20d)](_0x1ef9b7){const _0x36648b=_0x4e7d6e,{unitID:_0x4ad279}=_0x1ef9b7,{collaboration:_0x65103e}=this[_0x36648b(0x2ac)][_0x36648b(0x92)](_0x4ad279);if(_0x65103e['length']===0x0)return _0x1ef9b7;let _0x52c455=a[_0x36648b(0x288)][_0x36648b(0x13b)](_0x1ef9b7[_0x36648b(0x237)][0x0]);for(let _0x30c9a2=0x0;_0x30c9a2<_0x65103e[_0x36648b(0x278)];_0x30c9a2++){const _0x59ab20={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x65103e[_0x30c9a2][_0x36648b(0xdb)],..._0x65103e[_0x30c9a2][_0x36648b(0x195)]}},_0x1c5d2c=this['_transformService'][_0x36648b(0x2cf)](_0x52c455,_0x59ab20,!0x1);if(m['isTransformMutationFailure'](_0x1c5d2c))throw _0x1c5d2c['error'];_0x52c455=_0x1c5d2c[_0x36648b(0x271)];}return{...a['Tools'][_0x36648b(0x13b)](_0x1ef9b7),'mutations':[_0x52c455]};}['_transformHistoryAndStateStack'](_0x2a7610){const _0x5d606f=_0x4e7d6e,{unitID:_0x1dbc52}=_0x2a7610,{history:_0x4e102c,collaboration:_0x41b827}=this[_0x5d606f(0x2ac)][_0x5d606f(0x92)](_0x1dbc52);if(_0x4e102c[_0x5d606f(0x278)]===0x0&&_0x41b827['length']===0x0)return;const _0x31acd8=[],_0x534349=[];let _0x5e867a=a[_0x5d606f(0x288)][_0x5d606f(0x13b)](_0x2a7610[_0x5d606f(0x237)][0x0]),_0x3a9264=a['Tools'][_0x5d606f(0x13b)](_0x2a7610['mutations'][0x0]);for(let _0x3399ab=_0x4e102c[_0x5d606f(0x278)]-0x1;_0x3399ab>=0x0;_0x3399ab--){const _0x240596={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e102c[_0x3399ab]['unitId'],..._0x4e102c[_0x3399ab][_0x5d606f(0x20c)]}},_0x10d504={'id':_0x5d606f(0x180),'params':{'unitId':_0x4e102c[_0x3399ab][_0x5d606f(0xdb)],..._0x4e102c[_0x3399ab]['redoState']}},_0x301b27=this[_0x5d606f(0x2e7)][_0x5d606f(0x2cf)](_0x5e867a,_0x240596,!0x1),_0x3a5d68=this['_transformService'][_0x5d606f(0x2cf)](_0x3a9264,_0x10d504,!0x1);if(m[_0x5d606f(0x168)](_0x301b27))throw _0x301b27[_0x5d606f(0x230)];if(m['isTransformMutationFailure'](_0x3a5d68))throw _0x3a5d68[_0x5d606f(0x230)];_0x31acd8[_0x5d606f(0x14f)]({..._0x4e102c[_0x3399ab],'undoState':_0x301b27[_0x5d606f(0x231)][_0x5d606f(0x2bf)],'redoState':_0x3a5d68[_0x5d606f(0x231)]['params']}),_0x5e867a=_0x301b27[_0x5d606f(0x271)],_0x3a9264=_0x3a5d68[_0x5d606f(0x271)];}_0x5e867a=a[_0x5d606f(0x288)][_0x5d606f(0x13b)](_0x2a7610[_0x5d606f(0x237)][0x0]),_0x3a9264=a[_0x5d606f(0x288)][_0x5d606f(0x13b)](_0x2a7610[_0x5d606f(0x237)][0x0]);for(let _0x30601c=_0x41b827['length']-0x1;_0x30601c>=0x0;_0x30601c--){const _0x3c7cea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41b827[_0x30601c][_0x5d606f(0xdb)],..._0x41b827[_0x30601c][_0x5d606f(0x20c)]}},_0x3982d7={'id':_0x5d606f(0x180),'params':{'unitId':_0x41b827[_0x30601c][_0x5d606f(0xdb)],..._0x41b827[_0x30601c][_0x5d606f(0x195)]}},_0x480f57=this[_0x5d606f(0x2e7)]['transformMutation'](_0x5e867a,_0x3c7cea,!0x1),_0x84a768=this[_0x5d606f(0x2e7)][_0x5d606f(0x2cf)](_0x3a9264,_0x3982d7,!0x1);if(m[_0x5d606f(0x168)](_0x480f57))throw _0x480f57[_0x5d606f(0x230)];if(m[_0x5d606f(0x168)](_0x84a768))throw _0x84a768[_0x5d606f(0x230)];_0x534349['unshift']({..._0x41b827[_0x30601c],'undoState':_0x480f57[_0x5d606f(0x231)][_0x5d606f(0x2bf)],'redoState':_0x84a768[_0x5d606f(0x231)][_0x5d606f(0x2bf)]}),_0x5e867a=_0x480f57[_0x5d606f(0x271)],_0x3a9264=_0x84a768['m1Prime'];}this[_0x5d606f(0x2ac)]['setStateCache'](_0x1dbc52,{'history':_0x31acd8,'collaboration':_0x534349});}};J=Ht([ce(0x0,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0xc2)])),ce(0x1,m[_0x4e7d6e(0x289)]),ce(0x2,a[_0x4e7d6e(0x140)](E[_0x4e7d6e(0x18b)]))],J);var Yt=Object[_0x4e7d6e(0x259)],Wt=(_0x238c0a,_0x2d89e,_0x401406,_0x505df0)=>{const _0x49cef6=_0x4e7d6e;for(var _0x43a9f0=_0x505df0>0x1?void 0x0:_0x505df0?Yt(_0x2d89e,_0x401406):_0x2d89e,_0x50c8bb=_0x238c0a[_0x49cef6(0x278)]-0x1,_0x3b513f;_0x50c8bb>=0x0;_0x50c8bb--)(_0x3b513f=_0x238c0a[_0x50c8bb])&&(_0x43a9f0=_0x3b513f(_0x43a9f0)||_0x43a9f0);return _0x43a9f0;},Ne=(_0x5a6934,_0x1512a6)=>(_0x1a17bd,_0x183f28)=>_0x1512a6(_0x1a17bd,_0x183f28,_0x5a6934);let Z=class{constructor(_0x4eb4e3,_0x3fe2b7){const _0x47f718=_0x4e7d6e;this[_0x47f718(0x102)]=_0x4eb4e3,this[_0x47f718(0x2e7)]=_0x3fe2b7;}[_0x4e7d6e(0x127)](_0x3e5669){const _0x234dae=_0x4e7d6e;var _0x2cc13c;const _0x577d12=this[_0x234dae(0x102)][_0x234dae(0xd9)](Y['DocSelectionManagerService']),_0x544bc6=(_0x2cc13c=_0x577d12[_0x234dae(0xd2)]())!=null?_0x2cc13c:[];if(_0x544bc6[_0x234dae(0x278)]===0x0)return;const _0x2192b0=_0x3e5669[_0x234dae(0x276)],_0x404ed1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2192b0,'actions':null,'textRanges':_0x544bc6}}],_0x4fff68=this['_transformService'][_0x234dae(0x246)](_0x3e5669,_0x404ed1);if(!m[_0x234dae(0x158)](_0x4fff68))throw _0x4fff68[_0x234dae(0x230)];const _0x351e2d=_0x4fff68['m2Prime'][0x0][_0x234dae(0x2bf)]['textRanges'];Array[_0x234dae(0x194)](_0x351e2d)&&_0x351e2d[_0x234dae(0x278)]&&_0x577d12[_0x234dae(0xe6)](_0x351e2d,{'unitId':_0x2192b0,'subUnitId':_0x2192b0},!0x1);}};Z=Wt([Ne(0x0,a[_0x4e7d6e(0x140)](a['Injector'])),Ne(0x1,m[_0x4e7d6e(0x289)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x568e94,_0x595a2c,_0x43b30e,_0x366745)=>{const _0x867451=_0x4e7d6e;for(var _0x2f4bc7=_0x366745>0x1?void 0x0:_0x366745?Vt(_0x595a2c,_0x43b30e):_0x595a2c,_0x3ff9b1=_0x568e94[_0x867451(0x278)]-0x1,_0x13592e;_0x3ff9b1>=0x0;_0x3ff9b1--)(_0x13592e=_0x568e94[_0x3ff9b1])&&(_0x2f4bc7=_0x13592e(_0x2f4bc7)||_0x2f4bc7);return _0x2f4bc7;},N=(_0x3180c8,_0x3be4ab)=>(_0x843830,_0x341a20)=>_0x3be4ab(_0x843830,_0x341a20,_0x3180c8);let Q=class extends a[_0x4e7d6e(0x23a)]{constructor(_0x1f4ef5,_0x48419f,_0x87c5b9,_0x393a78,_0x137a3e,_0x36de06,_0x612bb2,_0x21a4af){const _0x1efa06=_0x4e7d6e;super(),h(this,_0x1efa06(0x1c2),new d[(_0x1efa06(0x1a2))](u['CollaborationStatus'][_0x1efa06(0x22a)])),(this[_0x1efa06(0x2ac)]=_0x1f4ef5,this[_0x1efa06(0xba)]=_0x48419f,this[_0x1efa06(0x12d)]=_0x87c5b9,this[_0x1efa06(0x265)]=_0x393a78,this[_0x1efa06(0x2f5)]=_0x137a3e,this[_0x1efa06(0x1d3)]=_0x36de06,this[_0x1efa06(0x297)]=_0x612bb2,this[_0x1efa06(0x1c5)]=_0x21a4af,this[_0x1efa06(0x101)]());}[_0x4e7d6e(0x101)](){const _0x5dc798=_0x4e7d6e;this[_0x5dc798(0x23c)](this[_0x5dc798(0xba)][_0x5dc798(0xa6)][_0x5dc798(0x154)](_0xa2ddb6=>{const _0x104622=_0x5dc798,_0x15284c=this[_0x104622(0x2ac)][_0x104622(0x210)][_0x104622(0x154)](_0x2a4bf1=>{const _0x5c9053=_0x104622;if(_0x2a4bf1==null)return;const {unitId:_0xc18c28,redoState:_0x4fe78c,commandId:_0x3323f2}=_0x2a4bf1;if(_0xc18c28!==_0xa2ddb6[_0x5c9053(0x276)])return;const _0x30d57b={'id':_0x3323f2,'type':a['CommandType'][_0x5c9053(0xcb)],'params':{'unitId':_0xc18c28,'actions':_0x4fe78c[_0x5c9053(0x263)],'textRanges':null}};_0xa2ddb6[_0x5c9053(0x275)](_0x30d57b);});if(_0xa2ddb6['disposeWithMe'](_0x15284c),_0xa2ddb6 instanceof u['DocCollaborationEntity']){const _0x1a5437={'onTransformIME':_0x10093e=>this[_0x104622(0x12d)][_0x104622(0x120)](_0x10093e),'onTransformState':_0x287723=>this[_0x104622(0x265)][_0x104622(0xb6)](_0x287723),'onTransformSelections':_0x118c7a=>this[_0x104622(0x2f5)]['transformSelections'](_0x118c7a),'onSyncEditingCollabCursor':_0xe74a73=>this['_docSyncEditingCollabCursorService'][_0x104622(0x162)](_0xe74a73),'onTransformRemoteChangesetByIMECache':_0x479e96=>this[_0x104622(0x12d)][_0x104622(0x20d)](_0x479e96),'onTransformRemoteChangesetByStateCache':_0x2920e3=>this['_docTransformStateCacheService'][_0x104622(0x20d)](_0x2920e3)};_0xa2ddb6['addHandlerCallback'](_0x1a5437);}}));}};Q=Xt([N(0x0,a[_0x4e7d6e(0x140)](E['DocStateChangeManagerService'])),N(0x1,a['Inject'](u[_0x4e7d6e(0x18e)])),N(0x2,a[_0x4e7d6e(0x140)](z)),N(0x3,a[_0x4e7d6e(0x140)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x4e7d6e(0x140)](pe)),N(0x6,O[_0x4e7d6e(0x19d)]),N(0x7,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0x11e)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x57bdea,_0x5a9899,_0x5ac35b,_0x7c6282)=>{const _0x59ac51=_0x4e7d6e;for(var _0x52f300=_0x7c6282>0x1?void 0x0:_0x7c6282?Gt(_0x5a9899,_0x5ac35b):_0x5a9899,_0x507cc9=_0x57bdea[_0x59ac51(0x278)]-0x1,_0xe66af1;_0x507cc9>=0x0;_0x507cc9--)(_0xe66af1=_0x57bdea[_0x507cc9])&&(_0x52f300=_0xe66af1(_0x52f300)||_0x52f300);return _0x52f300;},le=(_0x5b5f00,_0x5ad0dc)=>(_0x1fef97,_0x3193d5)=>_0x5ad0dc(_0x1fef97,_0x3193d5,_0x5b5f00);let ve=class extends a[_0x4e7d6e(0x23a)]{constructor(_0xa512c6,_0x474e09,_0xd7fc1e){const _0x5f17a1=_0x4e7d6e;super(),h(this,_0x5f17a1(0x167),new Map()),h(this,_0x5f17a1(0x1e3),new Map()),h(this,_0x5f17a1(0x130),!0x1),(this[_0x5f17a1(0x2e3)]=_0xa512c6,this[_0x5f17a1(0x21d)]=_0x474e09,this[_0x5f17a1(0xed)]=_0xd7fc1e);}[_0x4e7d6e(0x277)](){const _0x650260=_0x4e7d6e;this[_0x650260(0x130)]=!0x0;}[_0x4e7d6e(0x27b)](){const _0x2482a7=_0x4e7d6e;this[_0x2482a7(0x130)]=!0x1;}get[_0x4e7d6e(0x115)](){return this['_saveTaskMap'];}[_0x4e7d6e(0x1e0)](){const _0x5e6af8=_0x4e7d6e;this[_0x5e6af8(0x232)]()[_0x5e6af8(0x1c7)](()=>super[_0x5e6af8(0x1e0)]());}async[_0x4e7d6e(0x284)](_0x526b88){const _0x1134d9=_0x4e7d6e;return this[_0x1134d9(0x130)]?null:this[_0x1134d9(0x21d)]['getItem'](u['getLocalCacheKey'](_0x526b88));}async[_0x4e7d6e(0xde)](_0x10a767,_0x507513){const _0x4f0fb1=_0x4e7d6e;return!!this[_0x4f0fb1(0x21d)]['setItem'](_0x10a767,_0x507513);}['updateOfflineData'](_0x7d913,_0x302628,_0x104c96,_0x509a59){const _0x1d3039=_0x4e7d6e,_0x101714=this[_0x1d3039(0xed)]['getCurrentRevOfUnit'](_0x7d913);this['_cachedData'][_0x1d3039(0x270)](_0x7d913,{'unitID':_0x7d913,'type':_0x302628,'awaitingChangeset':_0x104c96,'mutations':_0x509a59,'rev':_0x101714}),this[_0x1d3039(0x1e3)][_0x1d3039(0x21c)](_0x7d913)||this['_scheduleSaving'](_0x7d913);}['_scheduleSaving'](_0x3d85ea){const _0x3911ae=_0x4e7d6e,_0x2993f5=this[_0x3911ae(0x1f9)]();_0x2993f5===0x0?this[_0x3911ae(0x311)](_0x3d85ea):this[_0x3911ae(0x1e3)]['set'](_0x3d85ea,setTimeout(()=>this[_0x3911ae(0x311)](_0x3d85ea),_0x2993f5));}[_0x4e7d6e(0x1f9)](){const _0x3b2cd1=_0x4e7d6e;var _0x128ce2;return(_0x128ce2=this[_0x3b2cd1(0x2e3)][_0x3b2cd1(0x24d)](u[_0x3b2cd1(0x2ea)]))!=null?_0x128ce2:u[_0x3b2cd1(0x28f)];}[_0x4e7d6e(0x311)](_0x19d8a1){const _0x163469=_0x4e7d6e,_0x15018f=this[_0x163469(0x1e3)][_0x163469(0xd9)](_0x19d8a1);return _0x15018f!==void 0x0&&window[_0x163469(0x261)](_0x15018f),this['_localStorageService'][_0x163469(0xc4)](u[_0x163469(0x2fb)](_0x19d8a1),this['_cachedData']['get'](_0x19d8a1))[_0x163469(0x1c7)](()=>this[_0x163469(0x1e3)][_0x163469(0x256)](_0x19d8a1));}async[_0x4e7d6e(0x232)](){const _0x2c8ba1=_0x4e7d6e,_0x315c9d=[];this['_saveTaskMap'][_0x2c8ba1(0x156)]((_0x419a81,_0x10c620)=>{const _0x1f27f5=_0x2c8ba1;window[_0x1f27f5(0x261)](_0x419a81),_0x315c9d['push'](this[_0x1f27f5(0x311)](_0x10c620)[_0x1f27f5(0x1c7)](()=>{const _0x271cc1=_0x1f27f5;this[_0x271cc1(0x1e3)][_0x271cc1(0x256)](_0x10c620);}));}),await Promise[_0x2c8ba1(0x1b0)](_0x315c9d);}};ve=Kt([le(0x0,a[_0x4e7d6e(0x19e)]),le(0x1,a[_0x4e7d6e(0x1fc)]),le(0x2,a[_0x4e7d6e(0x140)](m[_0x4e7d6e(0x209)]))],ve);class xe extends a[_0x4e7d6e(0x186)]{constructor(){const _0x26fbae=_0x4e7d6e;super(),h(this,_0x26fbae(0x132)),this['urlChange$']=d['fromEvent'](window,_0x26fbae(0x20b))['pipe'](d[_0x26fbae(0x266)](this[_0x26fbae(0x188)]),d[_0x26fbae(0x251)](0x1),d[_0x26fbae(0xfd)](void 0x0));}['setParam'](_0x13ebea,_0x124db0,_0x257c03=!0x1){const _0x288529=_0x4e7d6e,_0xfb0f32=new URL(window[_0x288529(0x2db)][_0x288529(0x212)]);_0xfb0f32['searchParams'][_0x288529(0x270)](_0x13ebea,_0x124db0),_0x257c03?window['history'][_0x288529(0x286)]('','',_0xfb0f32['toString']()):window['history'][_0x288529(0x103)]('','',_0xfb0f32[_0x288529(0x16c)]());}[_0x4e7d6e(0x1fa)](_0x3b89c2,_0x1c447e=!0x1){const _0x209274=_0x4e7d6e,_0x1605d3=new URL(window[_0x209274(0x2db)][_0x209274(0x212)]);_0x1605d3[_0x209274(0x1da)][_0x209274(0x256)](_0x3b89c2),_0x1c447e?window['history']['replaceState']('','',_0x1605d3[_0x209274(0x16c)]()):window[_0x209274(0x18a)][_0x209274(0x103)]('','',_0x1605d3['toString']());}[_0x4e7d6e(0x18f)](_0x103147){const _0x36b9ae=_0x4e7d6e;var _0x201b03;return(_0x201b03=new URL(window[_0x36b9ae(0x2db)]['href'])['searchParams'][_0x36b9ae(0xd9)](_0x103147))!=null?_0x201b03:void 0x0;}}var qt=Object[_0x4e7d6e(0xa3)],zt=Object[_0x4e7d6e(0x259)],Jt=(_0xf4bf92,_0x2167bd,_0x53c64b)=>_0x2167bd in _0xf4bf92?qt(_0xf4bf92,_0x2167bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53c64b}):_0xf4bf92[_0x2167bd]=_0x53c64b,Zt=(_0x2d1374,_0x43625e,_0x2b5c73,_0x367b5a)=>{for(var _0x1a67c7=_0x367b5a>0x1?void 0x0:_0x367b5a?zt(_0x43625e,_0x2b5c73):_0x43625e,_0x5e5988=_0x2d1374['length']-0x1,_0x12b6d5;_0x5e5988>=0x0;_0x5e5988--)(_0x12b6d5=_0x2d1374[_0x5e5988])&&(_0x1a67c7=_0x12b6d5(_0x1a67c7)||_0x1a67c7);return _0x1a67c7;},_e=(_0x755b16,_0x5dbb29)=>(_0x5e5675,_0x577544)=>_0x5dbb29(_0x5e5675,_0x577544,_0x755b16),Qt=(_0x4093fd,_0x3162a8,_0x46dfc7)=>Jt(_0x4093fd,_0x3162a8+'',_0x46dfc7);const es=_0x4e7d6e(0x2c7);exports[_0x4e7d6e(0xeb)]=class extends a[_0x4e7d6e(0x260)]{constructor(_0x57365c=De,_0x14d05b,_0x489fa9,_0x522780){const _0x44623b=_0x4e7d6e;super(),this['_config']=_0x57365c,this['_renderManagerService']=_0x14d05b,this['_injector']=_0x489fa9,this[_0x44623b(0x2e3)]=_0x522780;const {..._0x4b6623}=a['merge']({},De,this['_config']);this[_0x44623b(0x2e3)]['setConfig'](Bt,_0x4b6623);}[_0x4e7d6e(0xcc)](){const _0x1bb960=_0x4e7d6e;this['_registerDependencies'](),this[_0x1bb960(0x104)]();}[_0x4e7d6e(0x109)](){const _0x46d1a1=_0x4e7d6e;this[_0x46d1a1(0x28e)]();}['_registerDependencies'](){const _0x14b1be=_0x4e7d6e;var _0x2d0fea;const _0x508166=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K[_0x14b1be(0x1e7)]}],[u[_0x14b1be(0x2e5)],{'useClass':ve}],[exports[_0x14b1be(0x110)]],[Q],[q],[x],[ue],[exports[_0x14b1be(0x181)]]];a[_0x14b1be(0x1ba)](this[_0x14b1be(0x102)],a[_0x14b1be(0x25f)](_0x508166,(_0x2d0fea=this[_0x14b1be(0x2c1)])==null?void 0x0:_0x2d0fea[_0x14b1be(0x14e)]));}[_0x4e7d6e(0x28e)](){const _0x19b1ce=_0x4e7d6e;this[_0x19b1ce(0x23c)](this[_0x19b1ce(0x296)][_0x19b1ce(0x2f1)](a[_0x19b1ce(0x1e8)][_0x19b1ce(0x2bb)],[fe])),this[_0x19b1ce(0x23c)](this[_0x19b1ce(0x296)][_0x19b1ce(0x2f1)](a[_0x19b1ce(0x1e8)]['UNIVER_SHEET'],[Ie]));}[_0x4e7d6e(0x104)](){const _0x500fd2=_0x4e7d6e;a[_0x500fd2(0x1bc)](this[_0x500fd2(0x102)],[[x],[exports[_0x500fd2(0x110)]],[Q],[q],[exports[_0x500fd2(0x181)]]]);}},Qt(exports[_0x4e7d6e(0xeb)],_0x4e7d6e(0x160),es),exports['UniverCollaborationClientUIPlugin']=Zt([a[_0x4e7d6e(0x22e)](u[_0x4e7d6e(0x2ef)]),_e(0x1,p[_0x4e7d6e(0x193)]),_e(0x2,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0xc2)])),_e(0x3,a[_0x4e7d6e(0x19e)])],exports[_0x4e7d6e(0xeb)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x10aa7a,_0x506b8d,_0x48e397,_0x3f0403)=>{const _0x527a45=_0x4e7d6e;for(var _0x1d765b=_0x3f0403>0x1?void 0x0:_0x3f0403?ts(_0x506b8d,_0x48e397):_0x506b8d,_0x146b08=_0x10aa7a[_0x527a45(0x278)]-0x1,_0x142882;_0x146b08>=0x0;_0x146b08--)(_0x142882=_0x10aa7a[_0x146b08])&&(_0x1d765b=_0x142882(_0x1d765b)||_0x1d765b);return _0x1d765b;},H=(_0x61b586,_0x5183d0)=>(_0x34323a,_0x170ed2)=>_0x5183d0(_0x34323a,_0x170ed2,_0x61b586);exports[_0x4e7d6e(0x16a)]=class extends u[_0x4e7d6e(0x1ce)]{constructor(_0x506ac5,_0x1c11d1,_0x125d79,_0x361ede,_0x1316b5){super(_0x506ac5,_0x1c11d1,_0x125d79,_0x361ede,_0x1316b5);}async[_0x4e7d6e(0x1d4)](_0x3cbd51){const _0x28a90d=_0x4e7d6e,_0x302ec3=await this['_getSessionTicket'](),_0x457266=this[_0x28a90d(0x10f)](_0x3cbd51,_0x302ec3);return this['_doCreateSocket'](_0x457266);}[_0x4e7d6e(0x10f)](_0x327d9d,_0x35d633){const _0x36cd9b=_0x4e7d6e,_0x5ba44d=typeof window>'u'?new URL(_0x327d9d):new URL(_0x327d9d,window['location']['origin']);_0x5ba44d[_0x36cd9b(0x1da)][_0x36cd9b(0x270)]('sessionTicket',_0x35d633);const _0x41812a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x36cd9b(0x2db)][_0x36cd9b(0x2c2)]);return _0x41812a[_0x36cd9b(0xd9)](_0x36cd9b(0x170))&&_0x5ba44d[_0x36cd9b(0x1da)]['set']('runId',_0x41812a[_0x36cd9b(0xd9)]('runId')),_0x5ba44d['toString']();}async['_getSessionTicket'](){const _0x245b2a=_0x4e7d6e;var _0x159fd0,_0x1b7592,_0x4804d9;const _0x799942=this[_0x245b2a(0x2e3)]['getConfig'](u[_0x245b2a(0x10b)]),_0x34dd27=(_0x159fd0=_0x799942==null?void 0x0:_0x799942[_0x245b2a(0x1c0)])!=null?_0x159fd0:u[_0x245b2a(0x9a)];return(_0x4804d9=(_0x1b7592=(await this[_0x245b2a(0xc7)][_0x245b2a(0xd9)](_0x34dd27,{'headers':{'Content-Type':_0x245b2a(0x283)}}))[_0x245b2a(0xa7)])==null?void 0x0:_0x1b7592['ticket'])!=null?_0x4804d9:'';}},exports[_0x4e7d6e(0x16a)]=ss([H(0x0,a[_0x4e7d6e(0x140)](a[_0x4e7d6e(0xc2)])),H(0x1,a[_0x4e7d6e(0x140)](K[_0x4e7d6e(0x2ce)])),H(0x2,a[_0x4e7d6e(0x19e)]),H(0x3,a['ILogService']),H(0x4,m[_0x4e7d6e(0x1a3)])],exports[_0x4e7d6e(0x16a)]);var Be=(_0x326213=>(_0x326213[_0x326213[_0x4e7d6e(0x1e5)]=0x0]=_0x4e7d6e(0x1e5),_0x326213[_0x326213['OK']=0x1]='OK',_0x326213[_0x326213[_0x4e7d6e(0x200)]=0x2]=_0x4e7d6e(0x200),_0x326213[_0x326213[_0x4e7d6e(0x150)]=0x3]=_0x4e7d6e(0x150),_0x326213[_0x326213['NOT_FOUND']=0x4]=_0x4e7d6e(0x29e),_0x326213[_0x326213[_0x4e7d6e(0xef)]=0x5]=_0x4e7d6e(0xef),_0x326213[_0x326213[_0x4e7d6e(0x279)]=0x6]=_0x4e7d6e(0x279),_0x326213[_0x326213['INVALID_ARGUMENT']=0x7]=_0x4e7d6e(0x253),_0x326213[_0x326213[_0x4e7d6e(0x25b)]=0x8]=_0x4e7d6e(0x25b),_0x326213[_0x326213[_0x4e7d6e(0x22d)]=0x9]=_0x4e7d6e(0x22d),_0x326213[_0x326213['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x326213[_0x326213[_0x4e7d6e(0x1ab)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x326213[_0x326213[_0x4e7d6e(0x1c4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x326213[_0x326213[_0x4e7d6e(0x298)]=0xd]=_0x4e7d6e(0x298),_0x326213[_0x326213['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4e7d6e(0x2bd),_0x326213[_0x326213[_0x4e7d6e(0x14b)]=0x1389]=_0x4e7d6e(0x14b),_0x326213[_0x326213['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x326213[_0x326213[_0x4e7d6e(0x2d4)]=0x1772]=_0x4e7d6e(0x2d4),_0x326213[_0x326213[_0x4e7d6e(0x267)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x326213[_0x326213[_0x4e7d6e(0x113)]=0x1b59]=_0x4e7d6e(0x113),_0x326213[_0x326213[_0x4e7d6e(0x2d7)]=0x1b5a]=_0x4e7d6e(0x2d7),_0x326213[_0x326213[_0x4e7d6e(0x2e4)]=0x1b5b]=_0x4e7d6e(0x2e4),_0x326213[_0x326213[_0x4e7d6e(0x1de)]=0x1b5c]=_0x4e7d6e(0x1de),_0x326213[_0x326213[_0x4e7d6e(0x215)]=0x1b5d]=_0x4e7d6e(0x215),_0x326213[_0x326213[_0x4e7d6e(0x16f)]=0x1f41]=_0x4e7d6e(0x16f),_0x326213[_0x326213[_0x4e7d6e(0x25a)]=0x2329]=_0x4e7d6e(0x25a),_0x326213[_0x326213['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4e7d6e(0x202),_0x326213[_0x326213[_0x4e7d6e(0x1ef)]=0x232b]=_0x4e7d6e(0x1ef),_0x326213[_0x326213[_0x4e7d6e(0x173)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x326213[_0x326213[_0x4e7d6e(0x105)]=0x232d]=_0x4e7d6e(0x105),_0x326213[_0x326213[_0x4e7d6e(0x2be)]=0x2711]=_0x4e7d6e(0x2be),_0x326213[_0x326213[_0x4e7d6e(0x255)]=0x2712]=_0x4e7d6e(0x255),_0x326213[_0x326213[_0x4e7d6e(0x241)]=0x2713]=_0x4e7d6e(0x241),_0x326213[_0x326213[_0x4e7d6e(0x302)]=0x2714]=_0x4e7d6e(0x302),_0x326213[_0x326213[_0x4e7d6e(0x1fb)]=0x271a]=_0x4e7d6e(0x1fb),_0x326213[_0x326213[_0x4e7d6e(0x2fc)]=0x271b]=_0x4e7d6e(0x2fc),_0x326213[_0x326213[_0x4e7d6e(0x199)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x326213[_0x326213[_0x4e7d6e(0x11f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x326213[_0x326213[_0x4e7d6e(0xf1)]=0x271e]=_0x4e7d6e(0xf1),_0x326213[_0x326213[_0x4e7d6e(0x10a)]=0x271f]=_0x4e7d6e(0x10a),_0x326213[_0x326213[_0x4e7d6e(0x2a7)]=0x2720]=_0x4e7d6e(0x2a7),_0x326213[_0x326213['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x326213[_0x326213[_0x4e7d6e(0x287)]=0x2ee1]=_0x4e7d6e(0x287),_0x326213[_0x326213[_0x4e7d6e(0x2a8)]=0x2ee2]=_0x4e7d6e(0x2a8),_0x326213[_0x326213['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4e7d6e(0x175),_0x326213[_0x326213[_0x4e7d6e(0xb8)]=0x2ee4]=_0x4e7d6e(0xb8),_0x326213[_0x326213[_0x4e7d6e(0x240)]=0x2ee5]=_0x4e7d6e(0x240),_0x326213[_0x326213[_0x4e7d6e(0x1f0)]=0x32c9]=_0x4e7d6e(0x1f0),_0x326213[_0x326213[_0x4e7d6e(0x18d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x326213[_0x326213['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4e7d6e(0x2dd),_0x326213[_0x326213[_0x4e7d6e(0xee)]=-0x1]=_0x4e7d6e(0xee),_0x326213))(Be||{}),is=Object[_0x4e7d6e(0x259)],ns=(_0x43b1a2,_0x4d6568,_0x4eb162,_0x30ad47)=>{for(var _0x915ad9=_0x30ad47>0x1?void 0x0:_0x30ad47?is(_0x4d6568,_0x4eb162):_0x4d6568,_0x1bb9d7=_0x43b1a2['length']-0x1,_0x58aa93;_0x1bb9d7>=0x0;_0x1bb9d7--)(_0x58aa93=_0x43b1a2[_0x1bb9d7])&&(_0x915ad9=_0x58aa93(_0x915ad9)||_0x915ad9);return _0x915ad9;},he=(_0x4abac8,_0x3f3d2c)=>(_0x268169,_0x1159e2)=>_0x3f3d2c(_0x268169,_0x1159e2,_0x4abac8);exports[_0x4e7d6e(0x139)]=class extends a['Disposable']{constructor(_0x31c97f,_0x1862cc,_0xd10a64){const _0x29e4e9=_0x4e7d6e;super(),this['_instanceService']=_0x31c97f,this['_httpService']=_0x1862cc,this[_0x29e4e9(0x2e3)]=_0xd10a64;}async['runOnServer'](_0x20bdb0,_0x499e11,_0x1383f4,..._0x154371){const _0x5c27bf=_0x4e7d6e;var _0x26d217,_0x1fae7c,_0x401b29,_0x2f7663;const _0x214fd2=this[_0x5c27bf(0x12a)][_0x5c27bf(0x244)]();if(!_0x214fd2)throw new Error(_0x5c27bf(0xaa));const _0xe2f5c=((_0x26d217=this[_0x5c27bf(0x2e3)][_0x5c27bf(0x24d)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x26d217:u[_0x5c27bf(0x155)])+'/'+_0x20bdb0+_0x5c27bf(0x234)+_0x499e11,_0x3f2a80=new URL(window[_0x5c27bf(0x2db)]['href']),_0x154c02={'scriptId':_0x20bdb0,'runId':(_0x1fae7c=_0x3f2a80[_0x5c27bf(0x1da)][_0x5c27bf(0xd9)](_0x5c27bf(0x170)))!=null?_0x1fae7c:'','function':_0x499e11,'unitId':_0x214fd2['getUnitId'](),'argsOfFunction':JSON[_0x5c27bf(0x112)](_0x154371),'invokeId':(_0x401b29=_0x1383f4[_0x5c27bf(0x117)])!=null?_0x401b29:'','executionId':(_0x2f7663=_0x1383f4['executionId'])!=null?_0x2f7663:''};try{const _0xfec4ed=await this[_0x5c27bf(0xc7)][_0x5c27bf(0x29f)](_0xe2f5c,{'body':_0x154c02});return _0xfec4ed[_0x5c27bf(0xa7)][_0x5c27bf(0x230)]&&_0xfec4ed['body']['error'][_0x5c27bf(0x227)]!==Be['OK']?_0x5c27bf(0xd3):_0xfec4ed['body']['result'];}catch{return _0x5c27bf(0xd3);}}},exports[_0x4e7d6e(0x139)]=ns([he(0x0,a[_0x4e7d6e(0xf2)]),he(0x1,a[_0x4e7d6e(0x140)](K['HTTPService'])),he(0x2,a[_0x4e7d6e(0x19e)])],exports[_0x4e7d6e(0x139)]);function _0x393a(_0x4a9f04,_0x6ed535){const _0x32d3c2=_0x32d3();return _0x393a=function(_0x393a5b,_0x435c4d){_0x393a5b=_0x393a5b-0x92;let _0x50f8c2=_0x32d3c2[_0x393a5b];return _0x50f8c2;},_0x393a(_0x4a9f04,_0x6ed535);}const Me=0x7530,Le=_0x4e7d6e(0x226);class rs extends a['Disposable']{constructor(){const _0x490b7b=_0x4e7d6e;super(),h(this,_0x490b7b(0x28d),a[_0x490b7b(0x305)]()),h(this,'_selfUnitIDs',new Set()),h(this,_0x490b7b(0x23d),new Map()),h(this,_0x490b7b(0x295),null),h(this,_0x490b7b(0x248),new Map()),h(this,_0x490b7b(0x247),new Map()),this[_0x490b7b(0x27a)]();}[_0x4e7d6e(0x1e0)](){const _0x3ab9a5=_0x4e7d6e;super[_0x3ab9a5(0x1e0)](),this[_0x3ab9a5(0x248)][_0x3ab9a5(0x156)]((_0x466154,_0x5e7beb)=>this[_0x3ab9a5(0x1b1)](_0x5e7beb)),this[_0x3ab9a5(0x295)]&&window[_0x3ab9a5(0x1f6)](this[_0x3ab9a5(0x295)]);}[_0x4e7d6e(0xbe)](_0x2d2d5b){const _0x49cfa5=_0x4e7d6e;return this[_0x49cfa5(0x14c)](_0x2d2d5b)[_0x49cfa5(0x1f8)](d[_0x49cfa5(0x262)]());}['editingUnit'](_0x363d77){const _0x14a791=_0x4e7d6e;this['_selfUnitIDs'][_0x14a791(0x207)]===0x0&&this[_0x14a791(0x1ac)](),this[_0x14a791(0xfc)][_0x14a791(0x307)](_0x363d77),this[_0x14a791(0x272)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x363d77],'isForwarded':!0x1});}[_0x4e7d6e(0xa9)](_0x50ae3e){const _0x46fefa=_0x4e7d6e;this['_selfUnitIDs'][_0x46fefa(0x256)](_0x50ae3e),this[_0x46fefa(0xfc)][_0x46fefa(0x207)]===0x0&&this[_0x46fefa(0x295)]&&window[_0x46fefa(0x1f6)](this[_0x46fefa(0x295)]);}[_0x4e7d6e(0x27a)](){const _0x5e17c4=_0x4e7d6e;this[_0x5e17c4(0x23c)](a[_0x5e17c4(0x30d)](d[_0x5e17c4(0x1ae)](window,'storage')[_0x5e17c4(0x154)](_0x52bb9f=>{const _0x5c9ad9=_0x5e17c4;if(_0x52bb9f[_0x5c9ad9(0x2f3)]!==Le||!_0x52bb9f[_0x5c9ad9(0x201)])return;const _0x282399=JSON[_0x5c9ad9(0x1dd)](_0x52bb9f[_0x5c9ad9(0x201)]);this[_0x5c9ad9(0x291)](_0x282399);}))),window[_0x5e17c4(0xf0)](_0x5e17c4(0x1d2),()=>this[_0x5e17c4(0x272)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x5e17c4(0xfc)])}));}[_0x4e7d6e(0x291)](_0x3d2574){const _0x3ab890=_0x4e7d6e;switch(_0x3d2574[_0x3ab890(0x2a3)]){case 0x0:this[_0x3ab890(0x153)](_0x3d2574);break;case 0x1:this[_0x3ab890(0x136)](_0x3d2574);break;case 0x2:this[_0x3ab890(0x163)](_0x3d2574);break;}}[_0x4e7d6e(0x153)](_0x5c7d49){const _0xe3e230=_0x4e7d6e,{unitIDs:_0x3b6215,memberID:_0x45e18b,isForwarded:_0x2697c6}=_0x5c7d49;_0x3b6215[_0xe3e230(0x156)](_0x371b02=>{const _0x25ec95=_0xe3e230;if(!_0x2697c6&&this[_0x25ec95(0x23d)][_0x25ec95(0x21c)](_0x371b02)&&this[_0x25ec95(0x14c)](_0x371b02)['next'](u[_0x25ec95(0x268)][_0x25ec95(0xd6)]),!this[_0x25ec95(0x23d)][_0x25ec95(0x21c)](_0x371b02)||!this[_0x25ec95(0x23d)][_0x25ec95(0xd9)](_0x371b02)[_0x25ec95(0x21c)](_0x45e18b)){const _0x40d49c=this[_0x25ec95(0x23d)]['get'](_0x371b02)||new Set();_0x40d49c[_0x25ec95(0x307)](_0x45e18b),this[_0x25ec95(0x23d)][_0x25ec95(0x270)](_0x371b02,_0x40d49c),this[_0x25ec95(0xac)](_0x45e18b);}}),_0x2697c6||this[_0xe3e230(0x272)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xe3e230(0xfc)]],'isForwarded':!0x0});}[_0x4e7d6e(0xac)](_0x105634){const _0x2cca30=_0x4e7d6e;this['_removeClearOtherTimer'](_0x105634);const _0x5b3bd9=window[_0x2cca30(0x2e1)](()=>{const _0x55a396=_0x2cca30;this['_unitOnClients'][_0x55a396(0x156)](_0x378f72=>{const _0x3542e8=_0x55a396;_0x378f72[_0x3542e8(0x256)](_0x105634);});},Me*0x2);this[_0x2cca30(0x248)]['set'](_0x105634,_0x5b3bd9);}[_0x4e7d6e(0x1b1)](_0x462fae){const _0x50e8d6=_0x4e7d6e;if(this['_clearOtherTimers']['has'](_0x462fae)){const _0x4950e2=this[_0x50e8d6(0x248)]['get'](_0x462fae);_0x4950e2&&window[_0x50e8d6(0x261)](_0x4950e2),this[_0x50e8d6(0x248)][_0x50e8d6(0x270)](_0x462fae,null);}}['_handleLeaveEvent'](_0x21a780){const _0x408538=_0x4e7d6e,{memberID:_0x1de281,unitIDs:_0x3852f0}=_0x21a780;_0x3852f0[_0x408538(0x156)](_0x47f9f4=>{const _0x1a03d9=_0x408538;var _0x4cc052;const _0x18bff3=this[_0x1a03d9(0x23d)][_0x1a03d9(0xd9)](_0x47f9f4);_0x18bff3&&(_0x18bff3[_0x1a03d9(0x256)](_0x1de281),(_0x4cc052=this[_0x1a03d9(0x14c)](_0x47f9f4))==null||_0x4cc052[_0x1a03d9(0x2c3)](_0x18bff3['size']===0x0?u[_0x1a03d9(0x268)][_0x1a03d9(0x2f7)]:u[_0x1a03d9(0x268)][_0x1a03d9(0xd6)]));}),this['_removeClearOtherTimer'](_0x1de281);}[_0x4e7d6e(0x163)](_0x18b4ef){const _0x161dd7=_0x4e7d6e;this[_0x161dd7(0xac)](_0x18b4ef[_0x161dd7(0x258)]);}[_0x4e7d6e(0x272)](_0x121552){const _0x109121=_0x4e7d6e;localStorage[_0x109121(0xc4)](Le,JSON[_0x109121(0x112)](_0x121552));}[_0x4e7d6e(0x1ac)](){const _0x17dbcc=_0x4e7d6e;this[_0x17dbcc(0x295)]=window[_0x17dbcc(0x25d)](()=>{const _0x3ebc07=_0x17dbcc;this[_0x3ebc07(0x272)]({'type':0x2,'memberID':this[_0x3ebc07(0x28d)]});},Me);}[_0x4e7d6e(0x14c)](_0x2f4bf8){const _0x146005=_0x4e7d6e;return this[_0x146005(0x247)][_0x146005(0x21c)](_0x2f4bf8)||this[_0x146005(0x247)]['set'](_0x2f4bf8,new d['BehaviorSubject'](u[_0x146005(0x268)][_0x146005(0x2f7)])),this[_0x146005(0x247)][_0x146005(0xd9)](_0x2f4bf8);}}exports[_0x4e7d6e(0x30b)]=me,exports[_0x4e7d6e(0x2e8)]=$e,exports[_0x4e7d6e(0x1c6)]=rs,exports['WebURLService']=xe;
1
+ 'use strict';const _0x4729ad=_0x46c6;(function(_0x48a485,_0xd9d164){const _0x434124=_0x46c6,_0x571681=_0x48a485();while(!![]){try{const _0x24391c=-parseInt(_0x434124(0x14d))/0x1*(parseInt(_0x434124(0x2be))/0x2)+parseInt(_0x434124(0x2c5))/0x3+parseInt(_0x434124(0x2b9))/0x4+parseInt(_0x434124(0x2d0))/0x5+-parseInt(_0x434124(0x272))/0x6*(-parseInt(_0x434124(0x13b))/0x7)+-parseInt(_0x434124(0x15c))/0x8*(-parseInt(_0x434124(0xca))/0x9)+parseInt(_0x434124(0x92))/0xa*(-parseInt(_0x434124(0x2c7))/0xb);if(_0x24391c===_0xd9d164)break;else _0x571681['push'](_0x571681['shift']());}catch(_0xe6b428){_0x571681['push'](_0x571681['shift']());}}}(_0x3e65,0x4012c));var We=Object[_0x4729ad(0x238)],Ve=(_0x15c4cc,_0x4997a4,_0x2ad072)=>_0x4997a4 in _0x15c4cc?We(_0x15c4cc,_0x4997a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ad072}):_0x15c4cc[_0x4997a4]=_0x2ad072,h=(_0xafac54,_0x4270f8,_0x4cb3d6)=>Ve(_0xafac54,typeof _0x4270f8!=_0x4729ad(0x1a4)?_0x4270f8+'':_0x4270f8,_0x4cb3d6);Object[_0x4729ad(0x238)](exports,Symbol[_0x4729ad(0x96)],{'value':_0x4729ad(0xe0)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x1c7977=_0x4729ad;return b=Object[_0x1c7977(0x243)]||function(_0x40921f){const _0x230eb9=_0x1c7977;for(var _0x43616e,_0x2bc2a2=0x1,_0x439548=arguments[_0x230eb9(0x116)];_0x2bc2a2<_0x439548;_0x2bc2a2++){_0x43616e=arguments[_0x2bc2a2];for(var _0x5c61a in _0x43616e)Object[_0x230eb9(0x153)][_0x230eb9(0x13d)][_0x230eb9(0x145)](_0x43616e,_0x5c61a)&&(_0x40921f[_0x5c61a]=_0x43616e[_0x5c61a]);}return _0x40921f;},b[_0x1c7977(0x1c1)](this,arguments);},Ke=function(_0x4adb17,_0x356bed){const _0x17272c=_0x4729ad;var _0x19f0a5={};for(var _0x365256 in _0x4adb17)Object[_0x17272c(0x153)][_0x17272c(0x13d)][_0x17272c(0x145)](_0x4adb17,_0x365256)&&_0x356bed[_0x17272c(0x2a6)](_0x365256)<0x0&&(_0x19f0a5[_0x365256]=_0x4adb17[_0x365256]);if(_0x4adb17!=null&&typeof Object[_0x17272c(0x127)]==_0x17272c(0x2aa)){for(var _0x357f6b=0x0,_0x365256=Object['getOwnPropertySymbols'](_0x4adb17);_0x357f6b<_0x365256[_0x17272c(0x116)];_0x357f6b++)_0x356bed['indexOf'](_0x365256[_0x357f6b])<0x0&&Object[_0x17272c(0x153)][_0x17272c(0xa8)][_0x17272c(0x145)](_0x4adb17,_0x365256[_0x357f6b])&&(_0x19f0a5[_0x365256[_0x357f6b]]=_0x4adb17[_0x365256[_0x357f6b]]);}return _0x19f0a5;},ge=M[_0x4729ad(0x128)](function(_0xf8f5fe,_0x626d59){const _0x549df4=_0x4729ad;var _0x3190c5=_0xf8f5fe[_0x549df4(0x14e)],_0xeabf59=_0xf8f5fe['id'],_0x38b8f9=_0xf8f5fe[_0x549df4(0x100)],_0x42afc3=_0xf8f5fe[_0x549df4(0x1dd)],_0x2e7c34=Ke(_0xf8f5fe,[_0x549df4(0x14e),'id',_0x549df4(0x100),'extend']),_0x310f32=_0x549df4(0x7c)[_0x549df4(0x126)](_0xeabf59,'\x20')[_0x549df4(0x126)](_0x38b8f9||'')[_0x549df4(0x2b6)](),_0x42d976=M['useRef']('_'[_0x549df4(0x126)](Je()));return Pe(_0x3190c5,''[_0x549df4(0x126)](_0xeabf59),{'defIds':_0x3190c5[_0x549df4(0x80)],'idSuffix':_0x42d976[_0x549df4(0xc5)]},b({'ref':_0x626d59,'className':_0x310f32},_0x2e7c34),_0x42afc3);});function Pe(_0x27dd30,_0xa99194,_0x52a006,_0x309d3e,_0x57a702){const _0x536fde=_0x4729ad;return M[_0x536fde(0x219)](_0x27dd30['tag'],b(b({'key':_0xa99194},qe(_0x27dd30,_0x52a006,_0x57a702)),_0x309d3e),(ze(_0x27dd30,_0x52a006)[_0x536fde(0x1d7)]||[])[_0x536fde(0x29f)](function(_0x4c74dc,_0x10ac12){const _0x4be41f=_0x536fde;return Pe(_0x4c74dc,''[_0x4be41f(0x126)](_0xa99194,'-')['concat'](_0x27dd30[_0x4be41f(0x161)],'-')[_0x4be41f(0x126)](_0x10ac12),_0x52a006,void 0x0,_0x57a702);}));}function qe(_0x4b4f29,_0x24839d,_0x6792fd){const _0x4af60f=_0x4729ad;var _0x59eae4=b({},_0x4b4f29['attrs']);_0x6792fd!=null&&_0x6792fd[_0x4af60f(0x1c4)]&&_0x59eae4[_0x4af60f(0x213)]===_0x4af60f(0x1c4)&&(_0x59eae4[_0x4af60f(0x213)]=_0x6792fd[_0x4af60f(0x1c4)]),_0x4b4f29[_0x4af60f(0x161)]===_0x4af60f(0x11f)&&_0x59eae4['id']&&(_0x59eae4['id']=_0x59eae4['id']+_0x24839d[_0x4af60f(0x2bc)]),Object[_0x4af60f(0x28b)](_0x59eae4)['forEach'](function(_0x584b9b){const _0x2ee642=_0x4af60f;var _0x1e8ade=_0x584b9b[0x0],_0x1b55b5=_0x584b9b[0x1];_0x1e8ade===_0x2ee642(0x11f)&&typeof _0x1b55b5==_0x2ee642(0x2e7)&&(_0x59eae4[_0x1e8ade]=_0x1b55b5[_0x2ee642(0xa0)](/url\(#(.*)\)/,_0x2ee642(0x242)[_0x2ee642(0x126)](_0x24839d[_0x2ee642(0x2bc)],')')));});var _0x3b8af7=_0x24839d['defIds'];return!_0x3b8af7||_0x3b8af7[_0x4af60f(0x116)]===0x0||(_0x4b4f29[_0x4af60f(0x161)]===_0x4af60f(0x286)&&_0x59eae4[_0x4af60f(0x14b)]&&(_0x59eae4[_0x4af60f(0x14b)]=_0x59eae4[_0x4af60f(0x14b)]+_0x24839d[_0x4af60f(0x2bc)]),Object[_0x4af60f(0x28b)](_0x59eae4)[_0x4af60f(0x176)](function(_0x413949){const _0x3617ff=_0x4af60f;var _0x312394=_0x413949[0x0],_0x2068bc=_0x413949[0x1];typeof _0x2068bc==_0x3617ff(0x2e7)&&(_0x59eae4[_0x312394]=_0x2068bc[_0x3617ff(0xa0)](/url\(#(.*)\)/,_0x3617ff(0x242)[_0x3617ff(0x126)](_0x24839d[_0x3617ff(0x2bc)],')')));})),_0x59eae4;}function ze(_0x4d96e8,_0x3a7931){const _0x1e635d=_0x4729ad;var _0x5591b7,_0x5b5754=_0x3a7931[_0x1e635d(0x80)];return!_0x5b5754||_0x5b5754[_0x1e635d(0x116)]===0x0?_0x4d96e8:_0x4d96e8['tag']===_0x1e635d(0x2c4)&&(!((_0x5591b7=_0x4d96e8[_0x1e635d(0x1d7)])===null||_0x5591b7===void 0x0)&&_0x5591b7['length'])?b(b({},_0x4d96e8),{'children':_0x4d96e8['children'][_0x1e635d(0x29f)](function(_0x537b67){const _0x49de27=_0x1e635d;return typeof _0x537b67[_0x49de27(0x29a)]['id']=='string'&&_0x5b5754&&_0x5b5754[_0x49de27(0x1f2)](_0x537b67[_0x49de27(0x29a)]['id'])?b(b({},_0x537b67),{'attrs':b(b({},_0x537b67[_0x49de27(0x29a)]),{'id':_0x537b67['attrs']['id']+_0x3a7931[_0x49de27(0x2bc)]})}):_0x537b67;})}):_0x4d96e8;}function Je(){const _0x4b707b=_0x4729ad;return Math[_0x4b707b(0x14f)]()[_0x4b707b(0x1f4)](0x24)[_0x4b707b(0x1a7)](0x2,0x8);}ge[_0x4729ad(0x189)]=_0x4729ad(0xb3);var Ze={'tag':_0x4729ad(0x25f),'attrs':{'xmlns':_0x4729ad(0x1db),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4729ad(0x2a4),'height':_0x4729ad(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4729ad(0xee),'attrs':{'stroke':'currentColor','d':_0x4729ad(0x200),'strokeLinecap':_0x4729ad(0x283),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4729ad(0x2c4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4729ad(0x2d4)}}]}]}],'defIds':[_0x4729ad(0x2dd)]},we=M[_0x4729ad(0x128)](function(_0x11bf49,_0x3eb8ff){const _0x347232=_0x4729ad;return M[_0x347232(0x219)](ge,Object[_0x347232(0x243)]({},_0x11bf49,{'id':_0x347232(0x222),'ref':_0x3eb8ff,'icon':Ze}));});we[_0x4729ad(0x189)]=_0x4729ad(0xb1);var Qe={'tag':_0x4729ad(0x25f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4729ad(0x1cf),'viewBox':_0x4729ad(0x16b),'width':_0x4729ad(0x2a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4729ad(0xa1)},'children':[{'tag':_0x4729ad(0xee),'attrs':{'stroke':_0x4729ad(0x2e1),'d':_0x4729ad(0x24c),'strokeLinecap':_0x4729ad(0x283),'strokeLinejoin':_0x4729ad(0x283),'strokeWidth':1.2}}]},{'tag':_0x4729ad(0x2c4),'attrs':{},'children':[{'tag':_0x4729ad(0xfa),'attrs':{'id':_0x4729ad(0xac)},'children':[{'tag':'path','attrs':{'fill':_0x4729ad(0x267),'d':_0x4729ad(0x2d4),'transform':_0x4729ad(0x1fd)}}]}]}],'defIds':[_0x4729ad(0xac)]},Ae=M[_0x4729ad(0x128)](function(_0x118d0a,_0x341f5f){const _0x5f0958=_0x4729ad;return M[_0x5f0958(0x219)](ge,Object['assign']({},_0x118d0a,{'id':'on-line-icon','ref':_0x341f5f,'icon':Qe}));});Ae[_0x4729ad(0x189)]=_0x4729ad(0x1d5);function _0x3e65(){const _0x4202b7=['ticket','isTransformMutationFailure','_collabCursorState$','transformStateCache','findNodePositionByCharIndex','onTransformChange$','COLORS','font','_drawTextRange','_status$','_colorAssignService','apply','replaceState','ILogService','colorChannel1','_send','asObservable','_memberService','AWAITING_WITH_PENDING','_heartbeatTimer','getCollabEntity$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ONLINE','Warning','application/json','none','_lastPointer','startsWith','color','FromArray','NodePositionConvertToRectRange','OnLineIcon','_initDependencies','children','_collaborationController','min','uni.network.url-service','http://www.w3.org/2000/svg','isArray','extend','cursorInfo$','_initCommandExecutedListener','SHEET_VIEWPORT_KEY','APPLY_REVISION_CONFILICT','shareReplay','collabCursorState$','_notificationService','debug','_handleJoinEvent','TEXT','_anchorDot','INVALID_ARGUMENT','fillStyle','urlChange$','DependentOn','_initStatusListener','setActiveRange','push','getParam','_onCursorUpdate','includes','removeParam','toString','handleInsertRangeMoveRight','type','Workbook','BuiltInUIPart','isTransformMutationsWithChangesetSuccess','eventID','LICENSE_DISTRO_REJECTED','next','translate(.97)','jsxs','ALREADY_EXISTS','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','IImageIoService','replaceDocRanges','onPointerMove$','_draw','key','_initStatusComponent','_syncEditingCollabCursorService','arc','UNAUTHENTICATED','_hover','result','getAncestorScale','_id','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','measureText','_transformHistoryAndStateStack','fromEventSubject','INVALID_INVITE_CODE','fill','_ensureSubject','ColorKit','AWAITING','error','pushState','createElement','INotificationService','TEXT_RANGE_LAYER_INDEX','invokeId','setConfig','getSkeleton','setShapeProps','VIEW_MAIN','getActiveSheet','off-line-icon','getCurrentRevOfUnit','black','roomMembers$','NOT_FOUND','CollaborationUIEventId','_onCursorDelete','mergeOverrideWithDependencies','div','deepClone','_renderManagerService','saveTaskMap','restore','_urlService','newValue','getSheetObject','endColumn','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','APPLY_DUPLICATED','_toggleOffline','currentTheme$','setUndoRedoMutationParamsCache','defineProperty','column','toDisposable','transform','_hovered','saveOfflineData','_removeCollabCursors','_unitOnClients','_logService','CONNECTOR_DATA_TOO_LARGE','url(#$1','assign','ISocketService','UNDEFINED','_registerRenderDependencies','_revisionService','getLocalCacheKey','/run/','throttleTime','unshift','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','UPDATE_CURSOR','LocaleService','_configService','_imageIoService','_updateLocalCursor','DocCollaborationEntity','collaboration.single-unit.warning','getCollabCursors$','_collabCursorController','text','event$','fillText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setAlpha','UniverCollaborationClientPlugin','getColor','Plugin','_anchor','svg','_removeClearOtherTimer','CollaborationController','PENDING','InsertRangeMoveRightCommandId','code','disposeUnit','_drawAnchor','white','_eventUnsubscribe','requireSession','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','YUUMI_CONNECTOR_URL_NOT_FOUND','_scene','getConfig','#FFF','session.connection-failed','univer-flex\x20univer-items-center','9978AtYenj','IMessageService','setItem','YUUMI_NO_CUBOID_FOR_QUESTION','toRgbString','_handleEvent','session.will-retry','getCellPositionByOffset','APPLY_PERMISSION_DENIED','getUnitId','startColumn','runOnServer','_toggleOnline','touchDependencies','_createSocketURL','doc.mutation.rich-text-editing','isEditing','round','setInterval','data','use','LOGIN_FAILED','_docSyncEditingCollabCursorService','addEventListener','useCallback','entries','_httpService','deserializeRangeWithSheet','getSheetBySheetId','skeleton','transformMutationsWithChangeset','m2Prime','distinctUntilChanged','COMPLETION_FINISHED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sheetSkeletonManagerService','clsx','collabStatus.conflict','delete','UniverCollaborationClientUIPlugin','attrs','MessageType','ITransformService','_getSessionTicket','USERS_LEAVE','map','DOC_RANGE_TYPE','YUUMI_RATE_OVER_LIMIT','getCoordByCell','onMouseMove','1em','LICENSE_EXPORT_SIZE_EXCEEDED','indexOf','moveTo','yellow.400','_onRefRangeChange','function','getRangePointData','CollaborationEvent','_color','popstate','dispose$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','stringify','DocSelectionManagerService','SOCKET_FAILED_RETRY','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','trim','INVITE_CODE_ALREADY_BOUND','SOCKET_FAILED','1743596IBHqPl','unsubscribe','IUniverInstanceService','idSuffix','LOCAL_CACHE_INTERVAL_KEY','95954lQybwH','InsertRangeMoveDownCommandId','onStarting','_range','redoState','_unitStatus','defs','1284366YeeGAI','dispose','44wDMwEr','jiqing.500','BehaviorSubject','IRenderManagerService','_clearOtherTimers','YUUMI_AI_RUN_FAILED','then','red.300','PY_RUNTIME_SCRIPT_ERROR','640675FNJlpg','getItem','entityInit$','_session','M0\x200H16V16H0z','WebBrowserSingleActiveUnitService','origin','connectInjector','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ranges','permission.content','_instanceService','off-line-icon_clip0_910_343','textRanges','_localStorageService','collabStatus.offline','currentColor','onCommandExecuted','addObject','sheetID','collaboration-client.offline-data-not-saved','complete','string','getMemberID','assignAColorForMemberID','CommandType','_startSheetCollabCursor','purple.300','pluginName','_scheduleSaving','transformByState','getVpScrollXYInfoByPosToVp','collab-rect-range-','DocIMEInputManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','combineLatest','_getSaveTimeout','BrowserCollaborationSocketService','_handleHover','OTHER_CLIENT_EDITING','univerjs-icon\x20univerjs-icon-','Subject','location','_getScale','defIds','Error','_beforeCloseService','saveImage','_document','switchMap','DataLoaderService','takeUntil','_transformPreviousActiveRange','startRow','_getAnchorBounding','syncEditingCollabCursor','_name','_localeService','_entities','loadUnit','getActiveRange','IBeforeCloseService','3339040ivAdqH','DesktopCollaborationStatusDisplayController','params','reconnect','toStringTag','merge','Injector','_updateSubUnitFromURLParams','wsSessionTicketUrl','Optional','getRenderById','href','_initEntityListener','transformIMECache','replace','url(#on-line-icon_clip0_910_349)','m1Prime','IConfigService','sessionStatus$','TOO_MANY_REQUESTS','_scheduleClearOtherTimer','_docStateChangeManagerService','propertyIsEnumerable','_startDocCollabCursor','_online','updateOfflineData','on-line-icon_clip0_910_349','NodePositionConvertToCursor','Unknown\x20user','Inject','source','OffLineIcon','lineTo','UniverIcon','session.collaboration-timeout','row','Rect','CollaborationStatus','collaboration.closeRoom','add','range','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','transformRemoteChangeset','IUIPartsService','_handleLeaveEvent','collab-text-anchor-','subscribeEvent','getCurrentSelections','all','_uiPartsService','current','permission.title','IURLService','find','getTypeOfUnitAdded$','27zPJiPO','split','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_HAS_BEEN_UES','UnitStatus','_commandService','NO_OTHER_CLIENTS_EDITING','size','onPointerEnter$','univer-mr-2\x20univer-flex\x20univer-text-xl','Rectangle','getMergeData','SUBMIT_CHANGESET_TIMEOUT','_render','_docTransformStateCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','RemoteUniscriptService','APPLY_REJECT','EffectRefRangId','getColorFromTheme','_cursorShapes','collab-client.tooltip.reconnect','Module','registerRenderModule','ICommandService','YUUMI_UNABLE_LOAD_URL','isActive','mutations','_localCacheService','editingUnit','Shape','undoState','exhaustSavingTask','currentSkeleton$','_univerInstanceService','RECT','path','storage','show','collabStatus.notCollab','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IDocClipboardService','addObjects','_roomMembers$','_transformUndoRedoStack','from','width','green.600','clipPath','beginPath','handleIRemoveRow','INTERNAL_ERROR','name','subUnitId','className','CLOSE_ROOM','MOBILE_HAS_BEEN_BOUND','SNAPSHOT_INVALID_SNAPSHOT','_cursors','handleInsertRow','jsx','get','PERMISSION_DENIED','ThemeService','USER_NOT_INVITED_CODE','unitId','getStateCache','SNAPSHOT_HAS_BEEN_REMOVED','ISnapshotServerService','runRefRangeMutations','_handleHeartbeatEvent','_backgroundColor','_updateCollabCursors','SetSelectionsOperation','_cursor','override','length','flatMap','handleDeleteRangeMoveUp','_docSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformService','CHANGESET_REVISION_CONFILICT','has','unitID','mask','blue.400','Vector2','init','debounceTime','clearInterval','save','concat','getOwnPropertySymbols','forwardRef','_setupSubUnitSync','top','setParam','handleInsertCol','Tools','_docSkeletonManagerService','history','INVITE_CODE_REQUIRED','RegularPolygon','addHandlerCallback','height','_context','handleDeleteRangeMoveLeft','subunit','collabStatus.fetchMiss','pipe','_scheduleHeartbeat','post','1939ypcNNA','_docTransformSelectionsService','hasOwnProperty','_messageService','loadOfflineData','bottom','registerDependencies','searchParams','getValue','CollaborationDataLoaderController','call','_refreshCollabCursors','...','getUndoRedoMutationParamsCache','_init','MOBILE_VERIFY_CODE_MISMATCH','xlink:href','OFFLINE','1oAVdwJ','icon','random','DocStateChangeManagerService','setStateCache','_saveCache','prototype','hide','_getSheetObject','getMember','collaboration-client-ui.config','_textBubble','clearTimeout','activeSheet$','with','515280mEsWdy','useObservable','_drawRectRange','_cursorInfo$','transformSelections','tag','_selfUnitIDs','_shapes','_disabled','EMAIL_HAS_BEEN_BOUND','SetWorksheetActivateCommand','search','getTypeOfUnitDisposed$','collabStatus.synced','getUnitStatus$','0\x200\x2017\x2016','_themeService','disposeWithMe','Disposable','RxDisposable','_injector','_getMergeRange','roomMembers','createInstance','_hideTimer','TRANSFORM_CHANGE_OBSERVABLE_TYPE','forEach','handleMoveRange','NOT_COLLAB','transformMutation','CONFLICT','UNIVER_SHEET','useDependency','RemoveColCommandId','evenodd','DisposableCollection','_updateURLWithCurrentState','MUTATION','_docClipboardService','HTTPService','_refRangeService','hovered','cursorInfo','YUUMI_URL_COL_OUT_OF_RANGE','DeleteRangeMoveLeftCommandId','displayName','CollaborationSessionService','selection','values','_entityInit$','UNIVER_DOC','generateRandomId','YUUMI_ASYNCIO_CANCELLED','UNRECOGNIZED','getDocRanges','_labelPosition','subscribe','runId','_setupBeforeClosingHandler','InsertColCommandId','_dataLoaderService','_initEvent','debounce','SessionStatus','_collabSessionService','fromEvent','getSheetId','handleInsertRangeMoveDown','SheetCollabCursorShape','_config','UniverInstanceType','set','symbol','body','getCurrentUnitForType','substring','_registerDependencies','_docTransformIMECacheService','_cachedData','_colorIndex','status$','getFocusedUnit','drawWith','serializeRangeWithSheet','registerRefRange','_collaborationUIEventService','_assignedColors','registerBeforeClose','getRelativeToViewportCoord','setTimeout'];_0x3e65=function(){return _0x4202b7;};return _0x3e65();}function et(_0x1292c3){const _0x169bc4=_0x4729ad;switch(_0x1292c3){case u['CollaborationStatus']['OFFLINE']:return _0x169bc4(0x2e0);case u[_0x169bc4(0xb7)][_0x169bc4(0x17a)]:return _0x169bc4(0x297);case u['CollaborationStatus']['FETCH_MISS']:return _0x169bc4(0x137);case u[_0x169bc4(0xb7)][_0x169bc4(0x178)]:return _0x169bc4(0xf1);case u[_0x169bc4(0xb7)][_0x169bc4(0x216)]:case u[_0x169bc4(0xb7)][_0x169bc4(0x1c8)]:return'collabStatus.syncing';case u[_0x169bc4(0xb7)]['SYNCED']:case u[_0x169bc4(0xb7)][_0x169bc4(0x262)]:return _0x169bc4(0x169);}}function tt(_0x407416){const _0x4469d5=_0x4729ad,{status$:_0x494de0}=_0x407416,_0x53860a=O[_0x4469d5(0x15d)](_0x494de0,u[_0x4469d5(0xb7)][_0x4469d5(0x178)]),_0x10389b=O[_0x4469d5(0x17c)](a[_0x4469d5(0x24e)]),_0x545d36=O[_0x4469d5(0x17c)](u[_0x4469d5(0x18a)]),_0x2abb80=_0x53860a!==u['CollaborationStatus'][_0x4469d5(0x14c)],_0x44bb2a=_0x10389b['t'](et(_0x53860a)),_0x304574=_0x2abb80?P[_0x4469d5(0x106)](Ae,{}):P[_0x4469d5(0x106)](we,{}),_0x268d4e=M[_0x4469d5(0x28a)](()=>{const _0x5e46d2=_0x4469d5;_0x2abb80||_0x545d36[_0x5e46d2(0x95)]();},[_0x2abb80,_0x545d36]);function _0x4a233d(){const _0x48f7a3=_0x4469d5;return P[_0x48f7a3(0x1fe)](_0x48f7a3(0x22a),{'className':_0x48f7a3(0x271),'onClick':_0x268d4e,'children':[P[_0x48f7a3(0x106)](_0x48f7a3(0x22a),{'className':D[_0x48f7a3(0x296)](_0x48f7a3(0xd3),{'univer-text-green-500':_0x2abb80,'univer-text-red-500':!_0x2abb80}),'children':_0x304574}),P['jsx'](_0x48f7a3(0x22a),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x44bb2a})]});}return _0x2abb80?_0x4a233d():P[_0x4469d5(0x106)](D['Tooltip'],{'title':_0x10389b['t'](_0x4469d5(0xdf)),'children':_0x4a233d()});}var st=Object[_0x4729ad(0x2b4)],it=(_0x3faa86,_0x260148,_0x5af644,_0x477823)=>{const _0x4c0f06=_0x4729ad;for(var _0x4d053e=_0x477823>0x1?void 0x0:_0x477823?st(_0x260148,_0x5af644):_0x260148,_0x494b6c=_0x3faa86[_0x4c0f06(0x116)]-0x1,_0x1e3a00;_0x494b6c>=0x0;_0x494b6c--)(_0x1e3a00=_0x3faa86[_0x494b6c])&&(_0x4d053e=_0x1e3a00(_0x4d053e)||_0x4d053e);return _0x4d053e;},V=(_0x25313d,_0x4b9b34)=>(_0x24a4b5,_0x34ffa1)=>_0x4b9b34(_0x24a4b5,_0x34ffa1,_0x25313d);exports[_0x4729ad(0x93)]=class extends a[_0x4729ad(0x16e)]{constructor(_0x22fde3,_0x22be8a,_0x68a042,_0x386dbe){const _0x482f70=_0x4729ad;super(),h(this,_0x482f70(0x1bf),new d[(_0x482f70(0x2c9))](u[_0x482f70(0xb7)][_0x482f70(0x178)])),(this[_0x482f70(0xec)]=_0x22fde3,this[_0x482f70(0x170)]=_0x22be8a,this['_collaborationController']=_0x68a042,this[_0x482f70(0xc4)]=_0x386dbe,this[_0x482f70(0x206)](),this[_0x482f70(0x1ed)]());}[_0x4729ad(0x1ed)](){const _0x2f7be2=_0x4729ad;this[_0x2f7be2(0x16d)](this['_univerInstanceService']['focused$']['pipe'](d[_0x2f7be2(0x85)](()=>{const _0x267c4d=_0x2f7be2,_0x46a335=this[_0x267c4d(0xec)][_0x267c4d(0x1ad)]();return _0x46a335?this[_0x267c4d(0x1d8)][_0x267c4d(0x1ca)](_0x46a335[_0x267c4d(0x27b)]()):d['of'](null);}),d[_0x2f7be2(0x85)](_0x97daa9=>_0x97daa9?_0x97daa9[_0x2f7be2(0x1ac)]:d['of'](u[_0x2f7be2(0xb7)][_0x2f7be2(0x178)])))[_0x2f7be2(0x194)](_0x55567c=>{const _0x1a7a0f=_0x2f7be2;this['_status$'][_0x1a7a0f(0x1fc)](_0x55567c);}));}[_0x4729ad(0x206)](){const _0x7318f4=_0x4729ad;this[_0x7318f4(0x16d)](this[_0x7318f4(0xc4)]['registerComponent'](O[_0x7318f4(0x1f8)]['HEADER_MENU'],()=>O[_0x7318f4(0x2d7)](nt({'status$':this[_0x7318f4(0x1bf)]['asObservable']()}),this[_0x7318f4(0x170)])));}},exports['DesktopCollaborationStatusDisplayController']=it([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x4729ad(0xaf)](a['Injector'])),V(0x2,a[_0x4729ad(0xaf)](u[_0x4729ad(0x261)])),V(0x3,O[_0x4729ad(0xbe)])],exports[_0x4729ad(0x93)]);function nt(_0x3b5b05){const {status$:_0x4efdb0}=_0x3b5b05;return function(){const _0x100e26=_0x46c6;return P[_0x100e26(0x106)](tt,{'status$':_0x4efdb0});};}const me=a['createIdentifier'](_0x4729ad(0x1da));var rt=Object[_0x4729ad(0x2b4)],ot=(_0xd2473b,_0x58047b,_0x344a71,_0x49d7c2)=>{for(var _0xb1587c=_0x49d7c2>0x1?void 0x0:_0x49d7c2?rt(_0x58047b,_0x344a71):_0x58047b,_0x431d30=_0xd2473b['length']-0x1,_0x2d1601;_0x431d30>=0x0;_0x431d30--)(_0x2d1601=_0xd2473b[_0x431d30])&&(_0xb1587c=_0x2d1601(_0xb1587c)||_0xb1587c);return _0xb1587c;},k=(_0x13b7e3,_0x3a0869)=>(_0x453cf0,_0x9e9bd)=>_0x3a0869(_0x453cf0,_0x9e9bd,_0x13b7e3);exports[_0x4729ad(0x144)]=class extends a[_0x4729ad(0x16f)]{constructor(_0x4371b8,_0x40cee8,_0x2b45ac,_0x52a815,_0x270f4b){const _0x28f4cf=_0x4729ad;super(),this[_0x28f4cf(0x22f)]=_0x4371b8,this[_0x28f4cf(0x240)]=_0x40cee8,this[_0x28f4cf(0xcf)]=_0x2b45ac,this['_dataLoaderService']=_0x52a815,_0x270f4b?_0x270f4b==null||_0x270f4b['whenReady']()[_0x28f4cf(0x2cd)](()=>this[_0x28f4cf(0x149)]()):(this[_0x28f4cf(0x240)][_0x28f4cf(0x1e5)]('[CollaborationDataLoaderController]',_0x28f4cf(0x259)),this['_init']());}async[_0x4729ad(0x149)](){const _0x17cac9=_0x4729ad,_0x49e6e2=this['_urlService']['getParam']('unit'),_0x352880=this[_0x17cac9(0x22f)][_0x17cac9(0x1f0)](_0x17cac9(0x1f6)),_0x118d78=this[_0x17cac9(0x22f)][_0x17cac9(0x1f0)](_0x17cac9(0x136));if(!_0x49e6e2||!_0x352880){this[_0x17cac9(0x240)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3cfe2a=await this[_0x17cac9(0x198)][_0x17cac9(0x8f)](_0x49e6e2,Number(_0x352880),_0x118d78);_0x3cfe2a&&_0x3cfe2a instanceof a[_0x17cac9(0x1f7)]&&this['_setupSubUnitSync'](_0x3cfe2a);}async[_0x4729ad(0x129)](_0x41dd09){const _0x4a2c15=_0x4729ad;await this[_0x4a2c15(0x99)](_0x41dd09),_0x41dd09[_0x4a2c15(0x15a)][_0x4a2c15(0x138)](d['takeUntil'](this[_0x4a2c15(0x2af)]))[_0x4a2c15(0x194)](_0x244d19=>{const _0x34d577=_0x4a2c15;_0x244d19&&this[_0x34d577(0x180)](_0x244d19);}),this[_0x4a2c15(0x22f)][_0x4a2c15(0x1eb)]['pipe'](d[_0x4a2c15(0x87)](this[_0x4a2c15(0x2af)]))[_0x4a2c15(0x194)](()=>this[_0x4a2c15(0x99)](_0x41dd09));}['_updateURLWithCurrentState'](_0x5878b4,_0x57ec0f=!0x1){const _0x44ad7f=_0x4729ad,_0x56a9dd=this[_0x44ad7f(0x22f)][_0x44ad7f(0x1f0)](_0x44ad7f(0x136));_0x5878b4[_0x44ad7f(0x19e)]()!==_0x56a9dd&&this[_0x44ad7f(0x22f)][_0x44ad7f(0x12b)](_0x44ad7f(0x136),_0x5878b4[_0x44ad7f(0x19e)](),_0x57ec0f);}async[_0x4729ad(0x99)](_0x2d356d){const _0xe32ac3=_0x4729ad;var _0x3d61fd;const _0x56d97e=this[_0xe32ac3(0x22f)]['getParam'](_0xe32ac3(0x136));if(!_0x56d97e||!_0x2d356d['getSheetBySheetId'](_0x56d97e)){const _0x19f690=_0x2d356d['getUnhiddenWorksheets']()[0x0],_0x498c6b=_0x2d356d[_0xe32ac3(0x28e)](_0x19f690);if(!_0x498c6b)return;this[_0xe32ac3(0x180)](_0x498c6b,!0x0),await this[_0xe32ac3(0xcf)]['executeCommand'](g[_0xe32ac3(0x166)]['id'],{'unitId':_0x2d356d[_0xe32ac3(0x27b)](),'subUnitId':_0x19f690});return;}((_0x3d61fd=_0x2d356d[_0xe32ac3(0x221)]())==null?void 0x0:_0x3d61fd[_0xe32ac3(0x19e)]())!==_0x56d97e&&await this[_0xe32ac3(0xcf)]['executeCommand'](g[_0xe32ac3(0x166)]['id'],{'unitId':_0x2d356d[_0xe32ac3(0x27b)](),'subUnitId':_0x56d97e});}},exports[_0x4729ad(0x144)]=ot([k(0x0,me),k(0x1,a[_0x4729ad(0x1c3)]),k(0x2,a[_0x4729ad(0xe2)]),k(0x3,a[_0x4729ad(0xaf)](u[_0x4729ad(0x86)])),k(0x4,a[_0x4729ad(0x9b)](Xe['IRemoteInstanceService']))],exports[_0x4729ad(0x144)]);function _0x46c6(_0x4aaa2a,_0x1462a8){const _0x3e650c=_0x3e65();return _0x46c6=function(_0x46c6a3,_0x2ed988){_0x46c6a3=_0x46c6a3-0x72;let _0x47a103=_0x3e650c[_0x46c6a3];return _0x47a103;},_0x46c6(_0x4aaa2a,_0x1462a8);}var at=Object['getOwnPropertyDescriptor'],ct=(_0x21f383,_0xb6e628,_0x376a91,_0x12dee1)=>{for(var _0x4b3b4b=_0x12dee1>0x1?void 0x0:_0x12dee1?at(_0xb6e628,_0x376a91):_0xb6e628,_0x28dcf0=_0x21f383['length']-0x1,_0x56236c;_0x28dcf0>=0x0;_0x28dcf0--)(_0x56236c=_0x21f383[_0x28dcf0])&&(_0x4b3b4b=_0x56236c(_0x4b3b4b)||_0x4b3b4b);return _0x4b3b4b;},be=(_0x5085c9,_0x372420)=>(_0x46c6c9,_0x19fca7)=>_0x372420(_0x46c6c9,_0x19fca7,_0x5085c9);let ue=class extends a[_0x4729ad(0x16f)]{constructor(_0x142392,_0x2e97be){const _0x3a35b2=_0x4729ad;super(),this[_0x3a35b2(0x182)]=_0x142392,this['_imageIoService']=_0x2e97be,this[_0x3a35b2(0x149)]();}[_0x4729ad(0x149)](){const _0x2e87f=_0x4729ad,_0x5762a0=this;this[_0x2e87f(0x16d)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x3a93a4=>{const _0xaefeba=_0x2e87f,_0x44112e=await _0x5762a0[_0xaefeba(0x250)][_0xaefeba(0x83)](_0x3a93a4);return _0x44112e?{'source':_0x44112e[_0xaefeba(0xb0)],'imageSourceType':_0x44112e['imageSourceType']}:null;}}));}};ue=ct([be(0x0,E[_0x4729ad(0xf3)]),be(0x1,Ge[_0x4729ad(0x201)])],ue);const Oe=[_0x4729ad(0x2ec),_0x4729ad(0x2c8),_0x4729ad(0xf9),_0x4729ad(0x2ce),_0x4729ad(0x120),_0x4729ad(0x2a8)];class Ce extends a['Disposable']{constructor(){const _0x52da42=_0x4729ad;super(...arguments),h(this,_0x52da42(0x1b2),new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x806153){const _0x20126e=_0x4729ad;if(this[_0x20126e(0x1b2)][_0x20126e(0x11d)](_0x806153))return this[_0x20126e(0x1b2)][_0x20126e(0x107)](_0x806153);const _0xa554c=Oe[this[_0x20126e(0x1ab)]];return this['_colorIndex']=(this[_0x20126e(0x1ab)]+0x1)%Oe[_0x20126e(0x116)],this[_0x20126e(0x1b2)][_0x20126e(0x1a3)](_0x806153,_0xa554c),_0xa554c;}}function ye(_0x531013){const _0xdb0633=_0x4729ad;let _0x143b92='';for(const _0x405f9e of _0x531013){const {startOffset:_0x3d855f,endOffset:_0x1756f6,isActive:_0x1fc4d2,rangeType:_0xd03356,segmentId:_0x22ea6a,segmentPage:_0xbe3564}=_0x405f9e;_0x143b92[_0xdb0633(0x116)]&&(_0x143b92+=','),_0x143b92+=_0x3d855f+':'+_0x1756f6+':'+(_0x1fc4d2?'1':'0')+':'+_0xd03356+':'+_0x22ea6a+':'+_0xbe3564;}return _0x143b92;}function lt(_0x34b14f){const _0x38b3f7=_0x4729ad,_0x72fb0b=_0x34b14f[_0x38b3f7(0xcb)](','),_0x294638=[];for(const _0x2ec9b2 of _0x72fb0b){const [_0x40decb,_0x14cbd4,_0x3733d3,_0xa9c834,_0x52f8cc,_0x417156]=_0x2ec9b2[_0x38b3f7(0xcb)](':');_0x294638['push']({'startOffset':Number(_0x40decb),'endOffset':Number(_0x14cbd4),'collapsed':_0x40decb===_0x14cbd4,'isActive':_0x3733d3==='1','rangeType':_0xa9c834===a[_0x38b3f7(0x2a0)][_0x38b3f7(0x1e7)]?a['DOC_RANGE_TYPE'][_0x38b3f7(0x1e7)]:a[_0x38b3f7(0x2a0)][_0x38b3f7(0xed)],'segmentId':typeof _0x52f8cc==_0x38b3f7(0x2e7)?String(_0x52f8cc):'','segmentPage':Number(_0x417156!=null?_0x417156:-0x1)});}return _0x294638['some'](_0x30c978=>_0x30c978[_0x38b3f7(0xe4)])||(_0x294638[0x0][_0x38b3f7(0xe4)]=!0x0),_0x294638;}class pe extends a[_0x4729ad(0x16f)]{constructor(){const _0x5a5dc3=_0x4729ad;super(...arguments),h(this,_0x5a5dc3(0x1b8),new d[(_0x5a5dc3(0x2c9))](null)),h(this,'collabCursorState$',this[_0x5a5dc3(0x1b8)][_0x5a5dc3(0x1c6)]());}[_0x4729ad(0x8b)](_0xf2904f){const {unitID:_0x506ac3,memberID:_0x131145,textRanges:_0x4509fd}=_0xf2904f,_0x1acbd4=ye(_0x4509fd);if(_0x1acbd4==='')return;const _0x12ee80={'unitID':_0x506ac3,'memberID':_0x131145,'selection':_0x1acbd4};this['_collabCursorState$']['next'](_0x12ee80);}}var _t=Object[_0x4729ad(0x2b4)],ht=(_0x761f46,_0x131838,_0x46525c,_0x23e55a)=>{for(var _0x3b7f12=_0x23e55a>0x1?void 0x0:_0x23e55a?_t(_0x131838,_0x46525c):_0x131838,_0xd109b=_0x761f46['length']-0x1,_0x4db12b;_0xd109b>=0x0;_0xd109b--)(_0x4db12b=_0x761f46[_0xd109b])&&(_0x3b7f12=_0x4db12b(_0x3b7f12)||_0x3b7f12);return _0x3b7f12;},L=(_0x2f1d00,_0x489f2e)=>(_0xf7df5e,_0x3de26a)=>_0x489f2e(_0xf7df5e,_0x3de26a,_0x2f1d00);const ut=0x12c,dt=0x64;let de=class extends a[_0x4729ad(0x16f)]{constructor(_0xc3c197,_0x1f563c,_0x96d25,_0x147251,_0x183f57,_0x41cf17,_0x361c0c,_0x3b572b,_0x4a5d84){const _0x48758a=_0x4729ad;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x48758a(0x15f),new d['BehaviorSubject'](new Map())),h(this,_0x48758a(0x1de),this[_0x48758a(0x15f)][_0x48758a(0x1c6)]()),h(this,_0x48758a(0xf5),new d[(_0x48758a(0x2c9))]([])),h(this,_0x48758a(0x225),this[_0x48758a(0xf5)]['pipe'](d[_0x48758a(0x123)](ut))),h(this,'_updateLocalCursor',a[_0x48758a(0x19a)](_0x5e4c27=>{const _0x54c237=_0x48758a,_0x3a070e={'eventID':m['CollaborationEvent'][_0x54c237(0x24d)],'data':{'unitID':this['unitID'],'memberID':this[_0x54c237(0x2d3)][_0x54c237(0x2e8)](),'selection':ye(_0x5e4c27)}};this['_session']['send'](_0x3a070e,this['unitID']);},dt)),(this['unitID']=_0xc3c197,this[_0x48758a(0x2d3)]=_0x1f563c,this[_0x48758a(0x170)]=_0x96d25,this[_0x48758a(0x1c0)]=_0x147251,this[_0x48758a(0x1c7)]=_0x183f57,this[_0x48758a(0x207)]=_0x41cf17,this['_transformService']=_0x361c0c,this['_univerInstanceService']=_0x3b572b,this[_0x48758a(0xcf)]=_0x4a5d84);}get[_0x4729ad(0x186)](){const _0xe81953=_0x4729ad;return this[_0xe81953(0x15f)][_0xe81953(0x143)]();}get[_0x4729ad(0x172)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x322982=_0x4729ad;super[_0x322982(0x2c6)](),this[_0x322982(0x15f)][_0x322982(0x1fc)](new Map()),this[_0x322982(0x15f)][_0x322982(0x2e6)](),this[_0x322982(0xf5)][_0x322982(0x1fc)]([]),this['_roomMembers$'][_0x322982(0x2e6)]();}[_0x4729ad(0x122)](){const _0x32e725=_0x4729ad;this[_0x32e725(0x149)]||(this[_0x32e725(0x149)]=!0x0,this[_0x32e725(0x2d3)][_0x32e725(0xa4)][_0x32e725(0x138)](d[_0x32e725(0x87)](this[_0x32e725(0x2af)]))[_0x32e725(0x194)](_0x5dd75f=>{const _0x1e1b08=_0x32e725;_0x5dd75f===u[_0x1e1b08(0x19b)][_0x1e1b08(0x1cc)]?this[_0x1e1b08(0x27e)]():this[_0x1e1b08(0x235)]();}),this[_0x32e725(0x2d3)][_0x32e725(0x257)]['pipe'](d[_0x32e725(0x87)](this[_0x32e725(0x2af)]))[_0x32e725(0x194)](_0x278310=>{const _0x24d187=_0x32e725,_0x5385ad=_0x278310['eventID'];_0x5385ad===m[_0x24d187(0x2ac)]['UPDATE_CURSOR']&&this[_0x24d187(0x1f1)](_0x278310),_0x5385ad===m[_0x24d187(0x2ac)][_0x24d187(0x29e)]&&this['_onCursorDelete'](_0x278310);}),this[_0x32e725(0x16d)](this[_0x32e725(0xcf)]['onCommandExecuted'](_0x2f0d2e=>{const _0x241045=_0x32e725,_0x2d4f99=_0x2f0d2e[_0x241045(0x94)];_0x2d4f99!=null&&this['_online']&&_0x2f0d2e['id']===Y['SetTextSelectionsOperation']['id']&&_0x2d4f99[_0x241045(0x10b)]===this[_0x241045(0x11e)]&&_0x2d4f99[_0x241045(0x282)]===!0x1&&_0x2d4f99[_0x241045(0x2da)][_0x241045(0x116)]>0x0&&this[_0x241045(0x251)](_0x2d4f99[_0x241045(0x2da)]);})),this[_0x32e725(0x207)][_0x32e725(0x1e3)]['pipe'](d[_0x32e725(0x87)](this['dispose$']))[_0x32e725(0x194)](_0x350633=>{const _0x5a19c5=_0x32e725;if((_0x350633==null?void 0x0:_0x350633[_0x5a19c5(0x11e)])!==this[_0x5a19c5(0x11e)])return;const _0x29b53c={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x350633};this[_0x5a19c5(0x1f1)](_0x29b53c);}),this['disposeWithMe'](this[_0x32e725(0xcf)][_0x32e725(0x2e2)](_0x3dd0b9=>{const _0x5a837b=_0x32e725;if(_0x3dd0b9[_0x5a837b(0x94)]==null)return;const _0x2662a7=_0x3dd0b9[_0x5a837b(0x94)];if(_0x3dd0b9['id']!==Y['RichTextEditingMutation']['id']||_0x2662a7[_0x5a837b(0x10b)]!==this[_0x5a837b(0x11e)])return;const _0x1136e0={'id':_0x5a837b(0x281),'params':_0x2662a7},_0x182131=this[_0x5a837b(0x186)];for(const [_0x40138a,_0x141472]of _0x182131){const _0x1c706d={'id':_0x5a837b(0x281),'params':{'unitId':this[_0x5a837b(0x11e)],'actions':null,'textRanges':_0x141472[_0x5a837b(0x2da)]}},_0x312006=this[_0x5a837b(0x11b)][_0x5a837b(0x179)](_0x1136e0,_0x1c706d,!0x1);if(m[_0x5a837b(0x1b7)](_0x312006))throw _0x312006[_0x5a837b(0x217)];_0x182131[_0x5a837b(0x1a3)](_0x40138a,{..._0x141472,'ranges':_0x312006[_0x5a837b(0x291)][_0x5a837b(0x94)]['textRanges']});}queueMicrotask(()=>{const _0x5b9e33=_0x5a837b;this[_0x5b9e33(0x15f)][_0x5b9e33(0x1fc)](_0x182131);});})));}['_onCursorUpdate'](_0x31eb0f){const _0x229636=_0x4729ad;var _0xd4da99,_0x53be0e;const {memberID:_0x33cffe,selection:_0x163b76}=_0x31eb0f['data'],_0x80da0c=lt(_0x163b76),_0x1a89a6=(_0x53be0e=(_0xd4da99=this[_0x229636(0x1c7)][_0x229636(0x156)](this[_0x229636(0x11e)],_0x33cffe))==null?void 0x0:_0xd4da99[_0x229636(0xfe)])!=null?_0x53be0e:_0x229636(0xae),_0x5977fb={'color':this[_0x229636(0x1c0)][_0x229636(0x2e9)](_0x33cffe),'name':_0x1a89a6,'ranges':_0x80da0c},_0x4ab435=this['cursorInfo'];_0x4ab435[_0x229636(0x1a3)](_0x33cffe,_0x5977fb),this[_0x229636(0x15f)][_0x229636(0x1fc)](_0x4ab435);}[_0x4729ad(0x228)](_0xd68b94){const _0x1037e5=_0x4729ad,{memberID:_0x24f1d4}=_0xd68b94[_0x1037e5(0x285)],_0x322a4b=this[_0x1037e5(0x186)];_0x322a4b['delete'](_0x24f1d4),this[_0x1037e5(0x15f)]['next'](_0x322a4b);}[_0x4729ad(0x27e)](){const _0xabbe77=_0x4729ad;var _0x50e4ee;if(this['_online']=!0x0,((_0x50e4ee=this['_univerInstanceService'][_0xabbe77(0x1ad)]())==null?void 0x0:_0x50e4ee[_0xabbe77(0x27b)]())!==this['unitID'])return;const _0x3f1355=this['_injector'][_0xabbe77(0x107)](Y[_0xabbe77(0x2b2)])[_0xabbe77(0x192)]();Array[_0xabbe77(0x1dc)](_0x3f1355)&&_0x3f1355[_0xabbe77(0x116)]>0x0&&this[_0xabbe77(0x251)](_0x3f1355);}[_0x4729ad(0x235)](){const _0x5172e9=_0x4729ad;this[_0x5172e9(0xaa)]=!0x1;}};de=ht([L(0x2,a[_0x4729ad(0xaf)](a[_0x4729ad(0x98)])),L(0x3,a[_0x4729ad(0xaf)](Ce)),L(0x4,a[_0x4729ad(0xaf)](u['MemberService'])),L(0x5,a[_0x4729ad(0xaf)](pe)),L(0x6,m[_0x4729ad(0x29c)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x4729ad(0xe2)])],de);var St=Object['getOwnPropertyDescriptor'],ft=(_0x33861f,_0xfd2188,_0x530a1c,_0x4fa0ad)=>{const _0x5bd113=_0x4729ad;for(var _0x36105e=_0x4fa0ad>0x1?void 0x0:_0x4fa0ad?St(_0xfd2188,_0x530a1c):_0xfd2188,_0x5a7682=_0x33861f[_0x5bd113(0x116)]-0x1,_0x269cb3;_0x5a7682>=0x0;_0x5a7682--)(_0x269cb3=_0x33861f[_0x5a7682])&&(_0x36105e=_0x269cb3(_0x36105e)||_0x36105e);return _0x36105e;},A=(_0x31e558,_0x3f8987)=>(_0xb2a9c0,_0x452a10)=>_0x3f8987(_0xb2a9c0,_0x452a10,_0x31e558);const It=0x12c,vt=0x64,gt=()=>{let _0x9e02d1=[],_0x505b07=!0x1;return _0x1c28ca=>{const _0x62de4f=_0x46c6;_0x9e02d1[_0x62de4f(0x1ef)](_0x1c28ca),_0x505b07||(_0x505b07=!0x0,setTimeout(()=>{const _0x54425f=_0x62de4f;_0x9e02d1[_0x54425f(0x176)](_0x2f0450=>_0x2f0450()),_0x9e02d1=[],_0x505b07=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x2622b5,_0x4745f8,_0x19ef63,_0x24db2b,_0xd89646,_0x55a732,_0x2f27e0,_0x368e0f){const _0x3594e8=_0x4729ad;super(),h(this,'_online',!0x1),h(this,_0x3594e8(0x149),!0x1),h(this,'_cursorInfo$',new d[(_0x3594e8(0x2c9))](new Map())),h(this,_0x3594e8(0x1de),this[_0x3594e8(0x15f)][_0x3594e8(0x1c6)]()),h(this,'_roomMembers$',new d[(_0x3594e8(0x2c9))]([])),h(this,_0x3594e8(0x225),this[_0x3594e8(0xf5)]['pipe'](d[_0x3594e8(0x123)](It))),h(this,_0x3594e8(0x251),a[_0x3594e8(0x19a)]((_0x1ee891,_0x2c2d0d)=>{const _0x1963b4=_0x3594e8,_0x450719={'eventID':m[_0x1963b4(0x2ac)][_0x1963b4(0x24d)],'data':{'unitID':this[_0x1963b4(0x11e)],'memberID':this[_0x1963b4(0x2d3)]['getMemberID'](),'selection':Ee[_0x1963b4(0x1af)](_0x1ee891,_0x2c2d0d['range'])}};this['_session']['send'](_0x450719,this['unitID']);},vt)),(this[_0x3594e8(0x11e)]=_0x2622b5,this[_0x3594e8(0x2d3)]=_0x4745f8,this[_0x3594e8(0x170)]=_0x19ef63,this[_0x3594e8(0x1c0)]=_0x24db2b,this['_memberService']=_0xd89646,this[_0x3594e8(0xec)]=_0x55a732,this[_0x3594e8(0xcf)]=_0x2f27e0,this[_0x3594e8(0x184)]=_0x368e0f);}get['cursorInfo'](){const _0x610986=_0x4729ad;return this['_cursorInfo$'][_0x610986(0x143)]();}get['roomMembers'](){const _0x9e8b7b=_0x4729ad;return this[_0x9e8b7b(0xf5)][_0x9e8b7b(0x143)]();}[_0x4729ad(0x2c6)](){const _0x13a4f5=_0x4729ad;super[_0x13a4f5(0x2c6)](),this[_0x13a4f5(0x15f)][_0x13a4f5(0x1fc)](new Map()),this[_0x13a4f5(0x15f)][_0x13a4f5(0x2e6)](),this['_roomMembers$'][_0x13a4f5(0x1fc)]([]),this[_0x13a4f5(0xf5)][_0x13a4f5(0x2e6)]();}[_0x4729ad(0x122)](){const _0x26ae15=_0x4729ad;this[_0x26ae15(0x149)]||(this[_0x26ae15(0x149)]=!0x0,this[_0x26ae15(0x2d3)][_0x26ae15(0xa4)]['pipe'](d['takeUntil'](this[_0x26ae15(0x2af)]))[_0x26ae15(0x194)](_0x487efa=>{const _0x2407ee=_0x26ae15;_0x487efa===u[_0x2407ee(0x19b)][_0x2407ee(0x1cc)]?this['_toggleOnline']():this[_0x2407ee(0x235)]();}),this[_0x26ae15(0x2d3)]['event$'][_0x26ae15(0x138)](d['takeUntil'](this[_0x26ae15(0x2af)]))[_0x26ae15(0x194)](_0x4c0fa6=>{const _0x51864a=_0x26ae15,_0x445fac=_0x4c0fa6[_0x51864a(0x1fa)];_0x445fac===m[_0x51864a(0x2ac)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4c0fa6),_0x445fac===m['CollaborationEvent'][_0x51864a(0x29e)]&&this[_0x51864a(0x228)](_0x4c0fa6);}),this[_0x26ae15(0x2a9)](),this['disposeWithMe'](this[_0x26ae15(0xcf)]['onCommandExecuted'](_0x2028cb=>{const _0x3dec23=_0x26ae15;if(this['_online']&&_0x2028cb['id']===g[_0x3dec23(0x113)]['id']&&_0x2028cb['params'][_0x3dec23(0x10b)]===this[_0x3dec23(0x11e)]){const _0x37701b=_0x2028cb[_0x3dec23(0x94)];this[_0x3dec23(0x251)](_0x37701b[_0x3dec23(0xff)],_0x37701b['selections'][0x0]);}})));}[_0x4729ad(0x1f1)](_0x306041){const _0x401ebf=_0x4729ad;var _0x1132b9,_0x584e4b;const {memberID:_0x46cc38,selection:_0x532225}=_0x306041['data'],{sheetName:_0x2ce776,range:_0x271335}=Ee[_0x401ebf(0x28d)](_0x532225),_0x4c7750={'name':(_0x584e4b=(_0x1132b9=this[_0x401ebf(0x1c7)][_0x401ebf(0x156)](this[_0x401ebf(0x11e)],_0x46cc38))==null?void 0x0:_0x1132b9[_0x401ebf(0xfe)])!=null?_0x584e4b:_0x401ebf(0xae),'range':this['_getMergeRange'](_0x2ce776,_0x271335),'sheetID':_0x2ce776,'color':this[_0x401ebf(0x1c0)][_0x401ebf(0x2e9)](_0x46cc38),'selection':_0x532225},_0xa8bcaf=this['cursorInfo'];_0xa8bcaf[_0x401ebf(0x1a3)](_0x46cc38,_0x4c7750),this['_cursorInfo$'][_0x401ebf(0x1fc)](_0xa8bcaf);}['_onCursorDelete'](_0x362874){const _0x37f5f7=_0x4729ad,{memberID:_0x3e4683}=_0x362874[_0x37f5f7(0x285)],_0x554c54=this[_0x37f5f7(0x186)];_0x554c54[_0x37f5f7(0x298)](_0x3e4683),this[_0x37f5f7(0x15f)][_0x37f5f7(0x1fc)](_0x554c54);}[_0x4729ad(0x171)](_0x49ca0c,_0x166e5a){const _0x497b4f=_0x4729ad;var _0x39215e,_0x362e15;const _0xe6a4da=(_0x362e15=(_0x39215e=this[_0x497b4f(0xec)]['getUniverSheetInstance'](this[_0x497b4f(0x11e)]))==null?void 0x0:_0x39215e[_0x497b4f(0x28e)](_0x49ca0c))==null?void 0x0:_0x362e15[_0x497b4f(0xd5)]();return(_0xe6a4da==null?void 0x0:_0xe6a4da[_0x497b4f(0xc8)](_0x688406=>a[_0x497b4f(0xd4)]['contains'](_0x688406,_0x166e5a)))||_0x166e5a;}[_0x4729ad(0x2a9)](){const _0x220ccc=_0x4729ad,_0x2a169d=new a[(_0x220ccc(0x17f))](),_0x18ae6b=gt(),_0x54015e=()=>{const _0x146b84=_0x220ccc;_0x2a169d[_0x146b84(0x2c6)]();const _0x1a4146=(_0x5e6453,_0x5970a7,_0x579102,_0x1af6b9)=>{const _0x1bb97c=_0x146b84;let _0x59b5b7=[];switch(_0x5e6453['id']){case g[_0x1bb97c(0xdc)][_0x1bb97c(0x188)]:{_0x59b5b7=g[_0x1bb97c(0x135)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)]['DeleteRangeMoveUpCommandId']:{_0x59b5b7=g[_0x1bb97c(0x118)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)][_0x1bb97c(0x197)]:{_0x59b5b7=g[_0x1bb97c(0x12c)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)][_0x1bb97c(0x2bf)]:{_0x59b5b7=g[_0x1bb97c(0x19f)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)][_0x1bb97c(0x263)]:{_0x59b5b7=g[_0x1bb97c(0x1f5)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)]['InsertRowCommandId']:{_0x59b5b7=g[_0x1bb97c(0x105)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)]['MoveRangeCommandId']:{_0x59b5b7=g[_0x1bb97c(0x177)](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)][_0x1bb97c(0x17d)]:{_0x59b5b7=g['handleIRemoveCol'](_0x5e6453,_0x1af6b9);break;}case g[_0x1bb97c(0xdc)]['RemoveRowCommandId']:{_0x59b5b7=g[_0x1bb97c(0xfc)](_0x5e6453,_0x1af6b9);break;}}const _0x3a246a=g[_0x1bb97c(0x10f)](_0x59b5b7,_0x1af6b9),_0x2daa6f=this['cursorInfo'][_0x1bb97c(0x107)](_0x5970a7);if(_0x2daa6f&&_0x3a246a){const _0x513eac={..._0x2daa6f,'range':_0x3a246a};this[_0x1bb97c(0x186)]['set'](_0x5970a7,_0x513eac),_0x18ae6b(()=>{const _0x3da496=_0x1bb97c,_0xcad1db=this['_refRangeService'][_0x3da496(0x1b0)](_0x3a246a,_0x3e49de=>(_0xcad1db[_0x3da496(0x2c6)](),_0x1a4146(_0x3e49de,_0x5970a7,_0x579102,_0x3a246a)));_0x2a169d[_0x3da496(0xb9)](_0xcad1db);});}return{'redos':[],'undos':[]};};this[_0x146b84(0x186)][_0x146b84(0x176)]((_0x489390,_0x3c2852)=>{const _0x220936=_0x146b84,{range:_0x35c051,sheetID:_0x531976}=_0x489390,_0x233cff=this[_0x220936(0x184)][_0x220936(0x1b0)](_0x35c051,_0x3c378c=>(_0x233cff[_0x220936(0x2c6)](),_0x1a4146(_0x3c378c,_0x3c2852,_0x531976,_0x35c051)));_0x2a169d[_0x220936(0xb9)](_0x233cff);});};this[_0x220ccc(0x16d)](a[_0x220ccc(0x23a)](this[_0x220ccc(0x15f)][_0x220ccc(0x194)](()=>{_0x54015e();})));}['_toggleOnline'](){const _0x111eb9=_0x4729ad;var _0x420b12,_0x3306b9;if(this[_0x111eb9(0xaa)]=!0x0,((_0x420b12=this[_0x111eb9(0xec)][_0x111eb9(0x1ad)]())==null?void 0x0:_0x420b12[_0x111eb9(0x27b)]())!==this[_0x111eb9(0x11e)])return;const _0x1c7b6f=(_0x3306b9=this[_0x111eb9(0x170)][_0x111eb9(0x107)](g['SheetsSelectionsService'])[_0x111eb9(0xc2)]())==null?void 0x0:_0x3306b9[0x0],_0x5c62dc=this['_univerInstanceService'][_0x111eb9(0x1a6)](a[_0x111eb9(0x1a2)][_0x111eb9(0x17b)])['getActiveSheet']();_0x1c7b6f&&_0x5c62dc&&this[_0x111eb9(0x251)](_0x5c62dc['getSheetId'](),_0x1c7b6f);}[_0x4729ad(0x235)](){this['_online']=!0x1;}};Se=ft([A(0x2,a[_0x4729ad(0xaf)](a['Injector'])),A(0x3,a[_0x4729ad(0xaf)](Ce)),A(0x4,a['Inject'](u['MemberService'])),A(0x5,a[_0x4729ad(0x2bb)]),A(0x6,a[_0x4729ad(0xe2)]),A(0x7,a['Inject'](g['RefRangeService']))],Se);var mt=Object[_0x4729ad(0x2b4)],Ct=(_0x1a8571,_0x455bda,_0x5dcf84,_0x3a162f)=>{const _0x2cf4f5=_0x4729ad;for(var _0x6f8edc=_0x3a162f>0x1?void 0x0:_0x3a162f?mt(_0x455bda,_0x5dcf84):_0x455bda,_0x33ef1b=_0x1a8571[_0x2cf4f5(0x116)]-0x1,_0x2c96c2;_0x33ef1b>=0x0;_0x33ef1b--)(_0x2c96c2=_0x1a8571[_0x33ef1b])&&(_0x6f8edc=_0x2c96c2(_0x6f8edc)||_0x6f8edc);return _0x6f8edc;},ie=(_0x49c372,_0x238970)=>(_0x53c1a6,_0x2a85d0)=>_0x238970(_0x53c1a6,_0x2a85d0,_0x49c372);let x=class extends a[_0x4729ad(0x16f)]{constructor(_0x12726f,_0x335a65,_0x417af1){const _0x3716e5=_0x4729ad;super(),h(this,_0x3716e5(0x8e),new Map()),h(this,_0x3716e5(0x18d),new d[(_0x3716e5(0x7d))]()),(this[_0x3716e5(0xec)]=_0x12726f,this[_0x3716e5(0x170)]=_0x335a65,this[_0x3716e5(0x19c)]=_0x417af1,this[_0x3716e5(0x149)]());}[_0x4729ad(0x2c6)](){const _0x252f16=_0x4729ad;super[_0x252f16(0x2c6)](),this[_0x252f16(0x18d)][_0x252f16(0x2e6)](),this[_0x252f16(0x8e)][_0x252f16(0x176)](_0x26f63a=>_0x26f63a[_0x252f16(0x2c6)]());}[_0x4729ad(0x254)](_0xf26570){const _0x44fab6=_0x4729ad;return this['_entities'][_0x44fab6(0x11d)](_0xf26570)?this[_0x44fab6(0x8e)][_0x44fab6(0x107)](_0xf26570)[_0x44fab6(0x1de)]:this[_0x44fab6(0x18d)][_0x44fab6(0x138)](d['filter'](_0x18cf78=>_0x18cf78[_0x44fab6(0x11e)]===_0xf26570),d[_0x44fab6(0x85)](_0x31b4c5=>_0x31b4c5[_0x44fab6(0x1de)]));}[_0x4729ad(0x149)](){const _0x1085b7=_0x4729ad;this[_0x1085b7(0xec)][_0x1085b7(0xc9)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x1085b7(0x138)](d['takeUntil'](this[_0x1085b7(0x2af)]))['subscribe'](async _0x184111=>{const _0x1dca66=_0x1085b7,_0x1b9487=_0x184111['getUnitId'](),_0x1cf466=await this['_startSheetCollabCursor'](_0x1b9487);this[_0x1dca66(0x18d)][_0x1dca66(0x1fc)](_0x1cf466),this[_0x1dca66(0x8e)][_0x1dca66(0x1a3)](_0x1b9487,_0x1cf466);}),this[_0x1085b7(0xec)][_0x1085b7(0xc9)](a[_0x1085b7(0x1a2)]['UNIVER_DOC'])['pipe'](d[_0x1085b7(0x87)](this[_0x1085b7(0x2af)]))[_0x1085b7(0x138)](d['filter'](_0x20057c=>!_0x20057c[_0x1085b7(0x27b)]()[_0x1085b7(0x1d1)]('__')))[_0x1085b7(0x194)](async _0x47c965=>{const _0x3d27bd=_0x1085b7,_0x2bd787=_0x47c965[_0x3d27bd(0x27b)](),_0x20fc0a=await this[_0x3d27bd(0xa9)](_0x2bd787);this[_0x3d27bd(0x18d)][_0x3d27bd(0x1fc)](_0x20fc0a),this['_entities'][_0x3d27bd(0x1a3)](_0x2bd787,_0x20fc0a);}),d[_0x1085b7(0x97)](this['_univerInstanceService'][_0x1085b7(0x168)](a[_0x1085b7(0x1a2)][_0x1085b7(0x18e)]),this[_0x1085b7(0xec)][_0x1085b7(0x168)](a['UniverInstanceType'][_0x1085b7(0x17b)]))['pipe'](d['takeUntil'](this['dispose$']))[_0x1085b7(0x194)](_0x1118cc=>{const _0x46c14d=_0x1085b7,_0x5affbe=_0x1118cc['getUnitId'](),_0x1d4b5d=this[_0x46c14d(0x8e)][_0x46c14d(0x107)](_0x5affbe);_0x1d4b5d&&(_0x1d4b5d[_0x46c14d(0x2c6)](),this['_entities'][_0x46c14d(0x298)](_0x5affbe));});}async[_0x4729ad(0x2eb)](_0x160e60){const _0x45d9a5=_0x4729ad,_0x519537=await this['_collabSessionService'][_0x45d9a5(0x269)](_0x160e60),_0x4db4fc=this[_0x45d9a5(0x170)][_0x45d9a5(0x173)](Se,_0x160e60,_0x519537);return _0x4db4fc['init'](),_0x4db4fc;}async[_0x4729ad(0xa9)](_0x563053){const _0x24252a=_0x4729ad,_0xfdb8f0=await this['_collabSessionService'][_0x24252a(0x269)](_0x563053),_0x4de10c=this[_0x24252a(0x170)][_0x24252a(0x173)](de,_0x563053,_0xfdb8f0);return _0x4de10c['init'](),_0x4de10c;}};x=Ct([ie(0x0,a[_0x4729ad(0x2bb)]),ie(0x1,a['Inject'](a[_0x4729ad(0x98)])),ie(0x2,a[_0x4729ad(0xaf)](u[_0x4729ad(0x18a)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x20a337,_0x446fe7){const _0x23976c=_0x4729ad;let {radius:_0x1d88e3,width:_0x2b649d,height:_0x948eda}=_0x446fe7;_0x1d88e3=_0x1d88e3!=null?_0x1d88e3:0x0,_0x2b649d=_0x2b649d!=null?_0x2b649d:0x1e,_0x948eda=_0x948eda!=null?_0x948eda:0x1e;let _0x358072=0x0,_0x5aaa9c=0x0,_0x16c98d=0x0;_0x358072=_0x5aaa9c=_0x16c98d=Math[_0x23976c(0x1d9)](_0x1d88e3,_0x2b649d/0x2,_0x948eda/0x2),_0x20a337[_0x23976c(0xfb)](),_0x20a337[_0x23976c(0x2a7)](_0x358072,0x0),_0x20a337[_0x23976c(0xb2)](_0x2b649d-_0x5aaa9c,0x0),_0x20a337[_0x23976c(0x208)](_0x2b649d-_0x5aaa9c,_0x5aaa9c,_0x5aaa9c,Math['PI']*0x3/0x2,0x0,!0x1),_0x20a337[_0x23976c(0xb2)](_0x2b649d,_0x948eda-_0x16c98d),_0x20a337[_0x23976c(0x208)](_0x2b649d-_0x16c98d,_0x948eda-_0x16c98d,_0x16c98d,0x0,Math['PI']/0x2,!0x1),_0x20a337[_0x23976c(0xb2)](0x0,_0x948eda),_0x20a337[_0x23976c(0xb2)](0x0,_0x358072),_0x20a337[_0x23976c(0x208)](_0x358072,_0x358072,_0x358072,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20a337['closePath'](),_0x446fe7[_0x23976c(0x213)]&&(_0x20a337[_0x23976c(0x125)](),_0x20a337[_0x23976c(0x1ea)]=_0x446fe7['fill'],_0x446fe7['fillRule']==='evenodd'?_0x20a337[_0x23976c(0x213)](_0x23976c(0x17e)):_0x20a337['fill'](),_0x20a337['restore']());}class ee extends p[_0x4729ad(0xe8)]{constructor(_0x98f758,_0x18ec25){const _0x19c609=_0x4729ad;super(_0x98f758,_0x18ec25),h(this,_0x19c609(0x1d2)),h(this,_0x19c609(0x256)),(this[_0x19c609(0x1d2)]=_0x18ec25==null?void 0x0:_0x18ec25[_0x19c609(0x1d2)],this[_0x19c609(0x256)]=_0x18ec25==null?void 0x0:_0x18ec25[_0x19c609(0x256)]);}static[_0x4729ad(0x1ae)](_0x1fef83,_0x3ee243){const _0x5976a8=_0x4729ad,{text:_0xa24f19,color:_0x4e8f2a}=_0x3ee243;_0x1fef83[_0x5976a8(0x125)](),_0x1fef83[_0x5976a8(0x1bd)]=_0x5976a8(0x11a);const _0x869839=_0x1fef83['measureText'](_0xa24f19)[_0x5976a8(0xf8)],_0x3abca6=Math[_0x5976a8(0x1d9)](_0x869839+0x2*ne,Te);Et(_0x1fef83,{'height':W,'radius':0x4,'width':_0x3abca6,'fill':_0x4e8f2a}),_0x1fef83[_0x5976a8(0x1ea)]=_0x5976a8(0x26f);const _0x12c9f2=ne,_0x37f840=W-pt,_0xa36f97=Te-0x2*ne;if(_0x869839>_0xa36f97){let _0x49efdc='',_0x243bc7=0x0;for(const _0x5219c3 of _0xa24f19){const _0x278b45=_0x1fef83[_0x5976a8(0x20f)](_0x5219c3)[_0x5976a8(0xf8)];if(_0x243bc7+_0x278b45<=_0xa36f97-_0x1fef83[_0x5976a8(0x20f)](_0x5976a8(0x147))[_0x5976a8(0xf8)])_0x49efdc+=_0x5219c3,_0x243bc7+=_0x278b45;else{_0x49efdc+=_0x5976a8(0x147);break;}}_0x1fef83[_0x5976a8(0x258)](_0x49efdc,_0x12c9f2,_0x37f840);}else _0x1fef83[_0x5976a8(0x258)](_0xa24f19,_0x12c9f2,_0x37f840);_0x1fef83[_0x5976a8(0x22e)]();}[_0x4729ad(0x204)](_0x1f8d0f){const _0x29d540=_0x4729ad;ee[_0x29d540(0x1ae)](_0x1f8d0f,this);}}const re=_0x4729ad(0xc0),bt='collab-text-range-',Ot=_0x4729ad(0x74),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt='rgba(255,\x20255,\x20255,\x200.01)';class Re{constructor(_0x504d11,_0x440707,_0x418d4d,_0x3682af){const _0x4fed3b=_0x4729ad;h(this,'_shapes',[]),h(this,_0x4fed3b(0x25e),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4fed3b(0x174),null),h(this,_0x4fed3b(0x268),null),(this[_0x4fed3b(0x114)]=_0x504d11,this['_scene']=_0x440707,this[_0x4fed3b(0x119)]=_0x418d4d,this[_0x4fed3b(0x84)]=_0x3682af,this[_0x4fed3b(0xd7)]());}set[_0x4729ad(0x20a)](_0x1b7e36){const _0x5d6701=_0x4729ad;_0x1b7e36?(this['_anchorDot']&&this[_0x5d6701(0x1e8)]['hide'](),this['_textBubble']&&this[_0x5d6701(0x158)]['show']()):(this[_0x5d6701(0x1e8)]&&this[_0x5d6701(0x1e8)]['show'](),this[_0x5d6701(0x158)]&&this[_0x5d6701(0x158)][_0x5d6701(0x154)]());}[_0x4729ad(0x2c6)](){const _0x1f5eef=_0x4729ad;for(const _0x1cd5e6 of this[_0x1f5eef(0x163)])_0x1cd5e6[_0x1f5eef(0x2c6)]();this['_textBubble']&&this[_0x1f5eef(0x158)][_0x1f5eef(0x2c6)](),this['_anchorDot']&&this[_0x1f5eef(0x1e8)][_0x1f5eef(0x2c6)](),this[_0x1f5eef(0x25e)]&&this['_anchor'][_0x1f5eef(0x2c6)](),this[_0x1f5eef(0x268)]&&this[_0x1f5eef(0x268)]();}['_render'](){const _0x51e630=_0x4729ad;var _0x5d002c;const {_docSkeleton:_0x536f2a,_document:_0x4aa8bf}=this,{color:_0x4a0e43,name:_0x192b6d,ranges:_0x41c3c0}=this[_0x51e630(0x114)],_0x1e177e=_0x4aa8bf['getOffsetConfig'](),{docsLeft:_0x3abad3,docsTop:_0x502fc1}=_0x1e177e,_0x23886d=new E[(_0x51e630(0xad))](_0x1e177e,_0x536f2a);for(const {startOffset:_0x4a15b1,endOffset:_0x3f6687,rangeType:_0xc8755d,segmentId:_0x197255,segmentPage:_0x56f1e2,collapsed:_0x391ec3,isActive:_0x324ab4}of _0x41c3c0){const _0xbf7c16=_0x536f2a[_0x51e630(0x1ba)](_0x4a15b1,!0x0,_0x197255,_0x56f1e2);let _0x56bd41=_0x536f2a['findNodePositionByCharIndex'](_0x3f6687,!0x0,_0x197255,_0x56f1e2);if(_0x56bd41==null&&(_0x56bd41=_0x536f2a['findNodePositionByCharIndex'](_0x3f6687-0x1,!0x1,_0x197255,_0x56f1e2)),_0x324ab4){const {contentBoxPointGroup:_0x31e985}=_0x23886d[_0x51e630(0x2ab)](_0x56bd41,_0x56bd41);if(_0x31e985[_0x51e630(0x116)]===0x0)continue;this[_0x51e630(0x266)](_0x4a0e43,_0x31e985,_0x3abad3,_0x502fc1,_0x192b6d),this['_eventUnsubscribe']=this[_0x51e630(0x7a)]();}if(_0xbf7c16&&_0x56bd41){if(_0xc8755d===a[_0x51e630(0x2a0)][_0x51e630(0xed)]){const _0x5781af=new E[(_0x51e630(0x1d4))](_0x1e177e,_0x536f2a),{pointGroup:_0x13de69}=(_0x5d002c=_0x5781af[_0x51e630(0x2ab)](_0xbf7c16,_0x56bd41))!=null?_0x5d002c:{};if(_0x13de69==null||_0x13de69[_0x51e630(0x116)]===0x0)continue;this['_drawRectRange'](_0x4a0e43,_0x13de69,_0x3abad3,_0x502fc1);}else{if(!_0x391ec3){const {borderBoxPointGroup:_0x310be0}=_0x23886d[_0x51e630(0x2ab)](_0xbf7c16,_0x56bd41);if(_0x310be0[_0x51e630(0x116)]===0x0)continue;this[_0x51e630(0x1be)](_0x4a0e43,_0x310be0,_0x3abad3,_0x502fc1);}}}}}[_0x4729ad(0x266)](_0x1ea35b,_0x3dd676,_0xd230a4,_0x2fb2c5,_0x383b10){const _0x51266e=_0x4729ad,_0xc2ad52=this[_0x51266e(0x8a)](_0x3dd676),{left:_0x56ef93,top:_0x53f480,height:_0x410b61}=_0xc2ad52,_0x5b93a7=this['_getScale'](),_0x500c59=Rt/_0x5b93a7,_0x1f3402=new p['Rect'](re+a[_0x51266e(0x18f)](F),{'left':_0x56ef93+_0xd230a4-_0x500c59,'top':_0x53f480+_0x2fb2c5,'height':_0x410b61,'width':Tt,'fill':_0x1ea35b||p[_0x51266e(0x25c)](a[_0x51266e(0x1bc)][_0x51266e(0x224)],0x0),'strokeWidth':_0x500c59,'stroke':Dt,'evented':!0x0});this[_0x51266e(0x25e)]=_0x1f3402,this['_scene'][_0x51266e(0x2e3)](_0x1f3402,E['TEXT_RANGE_LAYER_INDEX']);const _0x34178f=new p[(_0x51266e(0xb6))](re+a[_0x51266e(0x18f)](F),{'left':_0x56ef93+_0xd230a4-_0x500c59,'top':_0x53f480+_0x2fb2c5-oe/0x2,'height':oe,'width':oe,'fill':_0x1ea35b||p[_0x51266e(0x25c)](a['COLORS'][_0x51266e(0x224)],0x0),'strokeWidth':0x0,'stroke':_0x1ea35b||p[_0x51266e(0x25c)](a[_0x51266e(0x1bc)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x34178f,this[_0x51266e(0x26d)]['addObject'](_0x34178f,E[_0x51266e(0x21b)]);const _0x549637=new ee(re+a[_0x51266e(0x18f)](F),{'left':_0x56ef93+_0xd230a4-_0x500c59,'top':_0x53f480+_0x2fb2c5-W,'text':_0x383b10,'color':_0x1ea35b});this['_textBubble']=_0x549637,this['_scene'][_0x51266e(0x2e3)](_0x549637,E['TEXT_RANGE_LAYER_INDEX']),this[_0x51266e(0x20a)]=!0x1;}[_0x4729ad(0x7a)](){const _0x5334b5=_0x4729ad,_0x4d0e72=this[_0x5334b5(0x25e)][_0x5334b5(0xd2)]['subscribeEvent'](()=>{const _0x482fd8=_0x5334b5;this[_0x482fd8(0x20a)]=!0x0;}),_0x5a4f1d=this[_0x5334b5(0x25e)]['onPointerLeave$'][_0x5334b5(0xc1)](()=>{const _0x5eb718=_0x5334b5;this[_0x5eb718(0x174)]&&clearTimeout(this[_0x5eb718(0x174)]),this[_0x5eb718(0x174)]=setTimeout(()=>{const _0x1a3c82=_0x5eb718;this[_0x1a3c82(0x20a)]=!0x1;},0x7d0);});return()=>{const _0x3d5e44=_0x5334b5;_0x4d0e72[_0x3d5e44(0x2ba)](),_0x5a4f1d[_0x3d5e44(0x2ba)]();};}[_0x4729ad(0x1be)](_0x3a01a3,_0xe17c14,_0xb20bbf,_0x2b5ce0){const _0x3f45a6=_0x4729ad,_0xd159fa=new a[(_0x3f45a6(0x215))](_0x3a01a3)[_0x3f45a6(0x25a)](0.2)[_0x3f45a6(0x276)](),_0x419b5d=new p[(_0x3f45a6(0x131))](bt+a[_0x3f45a6(0x18f)](F),{'pointsGroup':_0xe17c14,'fill':_0xd159fa||p[_0x3f45a6(0x25c)](a[_0x3f45a6(0x1bc)][_0x3f45a6(0x224)],0.2),'left':_0xb20bbf,'top':_0x2b5ce0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f45a6(0x163)][_0x3f45a6(0x1ef)](_0x419b5d),this[_0x3f45a6(0x26d)][_0x3f45a6(0x2e3)](_0x419b5d,E[_0x3f45a6(0x21b)]);}[_0x4729ad(0x15e)](_0x4cade0,_0x2fd5a7,_0x1f81e6,_0x264884){const _0x3f4db4=_0x4729ad,_0x3c3070=new a[(_0x3f4db4(0x215))](_0x4cade0)[_0x3f4db4(0x25a)](0.2)['toRgbString'](),_0x23c170=new p['RegularPolygon'](Ot+a[_0x3f4db4(0x18f)](F),{'pointsGroup':_0x2fd5a7,'fill':_0x3c3070||p['getColor'](a[_0x3f4db4(0x1bc)][_0x3f4db4(0x224)],0.2),'left':_0x1f81e6,'top':_0x264884,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f4db4(0x163)]['push'](_0x23c170),this[_0x3f4db4(0x26d)][_0x3f4db4(0x2e3)](_0x23c170,E[_0x3f4db4(0x21b)]);}['_getAnchorBounding'](_0x46eb16){const _0x31b1b0=_0x46eb16[0x0],_0xe75966=_0x31b1b0[0x0],_0x2de5b5=_0x31b1b0[0x2],{x:_0x1ee180,y:_0x4eba92}=_0xe75966,{x:_0x131de6,y:_0xb7b0d8}=_0x2de5b5;return{'left':_0x1ee180,'top':_0x4eba92,'width':_0x131de6-_0x1ee180,'height':_0xb7b0d8-_0x4eba92};}[_0x4729ad(0x7f)](){const _0x1b8a40=_0x4729ad,{scaleX:_0x18114b,scaleY:_0x53a2c0}=this[_0x1b8a40(0x26d)][_0x1b8a40(0x20c)]();return Math['max'](_0x18114b,_0x53a2c0);}}var Ut=Object[_0x4729ad(0x2b4)],Nt=(_0x3b321c,_0x23a655,_0x130633,_0x598573)=>{const _0x11b2bc=_0x4729ad;for(var _0x24c9ff=_0x598573>0x1?void 0x0:_0x598573?Ut(_0x23a655,_0x130633):_0x23a655,_0xeded71=_0x3b321c[_0x11b2bc(0x116)]-0x1,_0x10befd;_0xeded71>=0x0;_0xeded71--)(_0x10befd=_0x3b321c[_0xeded71])&&(_0x24c9ff=_0x10befd(_0x24c9ff)||_0x24c9ff);return _0x24c9ff;},X=(_0x3f9c78,_0x3a7ab6)=>(_0x42fcd7,_0x289936)=>_0x3a7ab6(_0x42fcd7,_0x289936,_0x3f9c78);let fe=class extends a[_0x4729ad(0x16f)]{constructor(_0x143ca8,_0x52541c,_0x2fc99d,_0x57bab5,_0x2af81d){const _0x4d9eab=_0x4729ad;super(),h(this,'_cursorShapes',[]),h(this,'_cursors',[]),(this['_context']=_0x143ca8,this[_0x4d9eab(0x12e)]=_0x52541c,this[_0x4d9eab(0x255)]=_0x2fc99d,this[_0x4d9eab(0xcf)]=_0x57bab5,this[_0x4d9eab(0x16c)]=_0x2af81d,this['_init']());}[_0x4729ad(0x149)](){const _0x2da7ee=_0x4729ad,_0x24cf4e=this['_context']['unitId'],_0x356c2d=this[_0x2da7ee(0x12e)];this[_0x2da7ee(0x16d)](d[_0x2da7ee(0x77)]([this[_0x2da7ee(0x255)][_0x2da7ee(0x254)](_0x24cf4e),this['_themeService'][_0x2da7ee(0x236)]])[_0x2da7ee(0x138)]($[_0x2da7ee(0x29f)](([_0x344cfd,_0x3df683])=>({'skeleton':_0x356c2d['getSkeleton'](),'cursors':[..._0x344cfd['values']()][_0x2da7ee(0x117)](_0x52b147=>({..._0x52b147,'color':this['_themeService']['getColorFromTheme'](_0x52b147[_0x2da7ee(0x1d2)])}))})))[_0x2da7ee(0x194)](_0x4fffd8=>{const _0x2086e9=_0x2da7ee;if(this[_0x2086e9(0x23e)](),_0x4fffd8){const {skeleton:_0x44ae90,cursors:_0x1d42b}=_0x4fffd8;this[_0x2086e9(0x112)](_0x44ae90,_0x1d42b);}})),this['_initResize'](),this[_0x2da7ee(0x1df)]();}[_0x4729ad(0x112)](_0x7453ef,_0x53c839){const _0x42e10e=_0x4729ad,{scene:_0x19c864,mainComponent:_0x27f7df}=this[_0x42e10e(0x134)],_0x1ceebf=_0x53c839[_0x42e10e(0x29f)](_0x9abfe=>new Re(_0x9abfe,_0x19c864,_0x7453ef,_0x27f7df));this['_cursorShapes']=_0x1ceebf,this[_0x42e10e(0x104)]=_0x53c839;}[_0x4729ad(0x146)](){const _0x18c23d=_0x4729ad;this['_removeCollabCursors']();const {scene:_0x18c87c,mainComponent:_0x5d0b24}=this['_context'],_0x39fc3d=this[_0x18c23d(0x12e)][_0x18c23d(0x21e)](),_0x2c55e7=this[_0x18c23d(0x104)][_0x18c23d(0x29f)](_0x3c6a2e=>new Re(_0x3c6a2e,_0x18c87c,_0x39fc3d,_0x5d0b24));this['_cursorShapes']=_0x2c55e7;}[_0x4729ad(0x23e)](){const _0x58296a=_0x4729ad;this[_0x58296a(0xde)][_0x58296a(0x176)](_0x22957a=>_0x22957a[_0x58296a(0x2c6)]()),this[_0x58296a(0xde)]=[];}['_initCommandExecutedListener'](){const _0x4cd7d3=_0x4729ad,_0x1d6f30=[E['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService'][_0x4cd7d3(0x2e2)](_0x5941a4=>{const _0x5bcef9=_0x4cd7d3;_0x1d6f30[_0x5bcef9(0x1f2)](_0x5941a4['id'])&&_0x5941a4[_0x5bcef9(0x94)][_0x5bcef9(0x10b)]===this['_context'][_0x5bcef9(0x10b)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x345105=_0x4729ad;this['disposeWithMe'](a[_0x345105(0x211)](this['_context']['engine'][_0x345105(0x1bb)])[_0x345105(0x138)]($['filter'](_0x13e990=>_0x13e990['type']===p[_0x345105(0x175)]['resize']),$[_0x345105(0x24a)](0x10))[_0x345105(0x194)](()=>{const _0x1d0e32=_0x345105;this[_0x1d0e32(0x146)]();}));}};fe=Nt([X(0x1,a['Inject'](Y['DocSkeletonManagerService'])),X(0x2,a['Inject'](x)),X(0x3,a[_0x4729ad(0xe2)]),X(0x4,a['Inject'](a[_0x4729ad(0x109)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x4729ad(0xe8)]{constructor(_0x2e07c8,_0xda2974){const _0x48016b=_0x4729ad;super(_0x2e07c8,_0xda2974),h(this,'_color'),h(this,_0x48016b(0x23c),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x48016b(0x193),'top'),h(this,_0x48016b(0x111)),(_0xda2974&&this[_0x48016b(0x21f)](_0xda2974),this[_0x48016b(0xd2)][_0x48016b(0xc1)](()=>this[_0x48016b(0x21f)]({'hovered':!0x0})),this['onPointerLeave$'][_0x48016b(0xc1)](()=>this[_0x48016b(0x21f)]({'hovered':!0x1})));}[_0x4729ad(0x21f)](_0x506142){const _0x3d8f63=_0x4729ad;var _0x598f76,_0x27eda1,_0x166a4e,_0x54e844,_0x2aa73a,_0x597c88;this[_0x3d8f63(0x2ad)]=(_0x598f76=_0x506142[_0x3d8f63(0x1d2)])!=null?_0x598f76:this[_0x3d8f63(0x2ad)],this['_hovered']=(_0x27eda1=_0x506142[_0x3d8f63(0x185)])!=null?_0x27eda1:this[_0x3d8f63(0x23c)],this[_0x3d8f63(0x2c1)]=(_0x166a4e=_0x506142[_0x3d8f63(0xba)])!=null?_0x166a4e:this['_range'],this[_0x3d8f63(0x8c)]=(_0x54e844=_0x506142[_0x3d8f63(0xfe)])!=null?_0x54e844:this[_0x3d8f63(0x8c)],this[_0x3d8f63(0x193)]=(_0x2aa73a=_0x506142['labelPosition'])!=null?_0x2aa73a:this[_0x3d8f63(0x193)],this[_0x3d8f63(0x111)]=(_0x597c88=_0x506142['backgroundColor'])!=null?_0x597c88:this[_0x3d8f63(0x111)],this[_0x3d8f63(0x72)]({'width':_0x506142[_0x3d8f63(0xf8)],'height':_0x506142['height']});}[_0x4729ad(0x2a3)](_0x3c8c3c){const _0x242be3=_0x4729ad,{row:_0x503638,column:_0x5bf8dd}=_0x3c8c3c;if(_0x503638>=this[_0x242be3(0x2c1)][_0x242be3(0x89)]&&_0x503638<=this['_range']['endRow']&&_0x5bf8dd>=this[_0x242be3(0x2c1)][_0x242be3(0x27c)]&&_0x5bf8dd<=this[_0x242be3(0x2c1)][_0x242be3(0x232)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x242be3(0x21f)]({'hovered':!0x1});}['triggerDblclick'](_0x4e67b3){return!0x1;}[_0x4729ad(0x204)](_0x32198c){const _0x44307e=_0x4729ad;p['Rect'][_0x44307e(0x1ae)](_0x32198c,{'width':this['width'],'height':this[_0x44307e(0x133)],'strokeWidth':Lt,'stroke':this[_0x44307e(0x2ad)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x44307e(0x23c)]&&(_0x32198c[_0x44307e(0x125)](),_0x32198c[_0x44307e(0x23b)](0x1,0x0,0x0,0x1,this['width'],this[_0x44307e(0x193)]===_0x44307e(0x140)?0x0:-W),ee[_0x44307e(0x1ae)](_0x32198c,{'text':this[_0x44307e(0x8c)],'color':this[_0x44307e(0x2ad)]}),_0x32198c[_0x44307e(0x22e)]());}}var Pt=Object[_0x4729ad(0x2b4)],wt=(_0x16d3c2,_0x418aed,_0x153465,_0xad63f0)=>{const _0x2c702b=_0x4729ad;for(var _0x54a58f=_0xad63f0>0x1?void 0x0:_0xad63f0?Pt(_0x418aed,_0x153465):_0x418aed,_0x4bc7d0=_0x16d3c2[_0x2c702b(0x116)]-0x1,_0x8849c3;_0x4bc7d0>=0x0;_0x4bc7d0--)(_0x8849c3=_0x16d3c2[_0x4bc7d0])&&(_0x54a58f=_0x8849c3(_0x54a58f)||_0x54a58f);return _0x54a58f;},ae=(_0x49343f,_0x2785b4)=>(_0x31bef6,_0x10503b)=>_0x2785b4(_0x31bef6,_0x10503b,_0x49343f);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x4e357b,_0x40633f,_0xd567cd,_0x26417c){const _0xf880a2=_0x4729ad;super(),h(this,_0xf880a2(0x104),new Set()),h(this,_0xf880a2(0x1d0),null),(this['_context']=_0x4e357b,this[_0xf880a2(0x295)]=_0x40633f,this[_0xf880a2(0x255)]=_0xd567cd,this[_0xf880a2(0x16c)]=_0x26417c,this[_0xf880a2(0x149)]());}[_0x4729ad(0x149)](){const _0x51c11d=_0x4729ad;this['_sheetSkeletonManagerService'][_0x51c11d(0xeb)]['pipe']($[_0x51c11d(0x87)](this[_0x51c11d(0x2af)]),$[_0x51c11d(0x85)](_0x552421=>{const _0x349fdc=_0x51c11d;if(_0x552421){const _0x37ac46=_0x552421['sheetId'];return d[_0x349fdc(0x77)](this[_0x349fdc(0x255)][_0x349fdc(0x254)](this[_0x349fdc(0x134)][_0x349fdc(0x10b)]),this[_0x349fdc(0x16c)][_0x349fdc(0x236)])[_0x349fdc(0x138)]($[_0x349fdc(0x29f)](([_0x2e6280,_0x4a87f2])=>{const _0x386a3d=_0x349fdc,_0x4107a9=new Map();return _0x2e6280[_0x386a3d(0x176)]((_0x503344,_0x468077)=>{const _0x171c95=_0x386a3d;if(_0x503344[_0x171c95(0x2e4)]===_0x37ac46){const _0x360c48={..._0x503344};_0x360c48['color']=this[_0x171c95(0x16c)][_0x171c95(0xdd)](_0x503344['color']),_0x4107a9[_0x171c95(0x1a3)](_0x468077,_0x360c48);}}),{'skeleton':_0x552421,'cursors':_0x4107a9};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x51c11d(0x194)](({skeleton:_0x59f6f7,cursors:_0x4f0523})=>{const _0x3f4aa1=_0x51c11d;this['_removeCollabCursors'](),_0x59f6f7&&this[_0x3f4aa1(0x112)](_0x59f6f7,_0x4f0523);}),this[_0x51c11d(0x295)][_0x51c11d(0xeb)][_0x51c11d(0x194)](_0x3a4ea9=>{const _0x4d3662=_0x51c11d;if(_0x3a4ea9==null)return;const {skeleton:_0x4db598}=_0x3a4ea9,{scene:_0x11b450}=this[_0x4d3662(0x134)];_0x11b450[_0x4d3662(0x203)]['subscribeEvent'](a['debounce'](_0x3c8f8f=>{const _0x1f1b19=_0x4d3662;var _0xe756af,_0x56dbf3;const {offsetX:_0x2b90a0,offsetY:_0x3b8ea2}=_0x3c8f8f,{x:_0x2cf9d9,y:_0x4adcfc}=_0x11b450[_0x1f1b19(0x1b4)](p[_0x1f1b19(0x121)][_0x1f1b19(0x1d3)]([_0x2b90a0,_0x3b8ea2])),{scaleX:_0x2a4bdb,scaleY:_0x3c9723}=_0x11b450[_0x1f1b19(0x20c)](),_0x4b690d=_0x11b450['getViewport'](p[_0x1f1b19(0x1e0)][_0x1f1b19(0x220)]),_0xa45809=_0x11b450[_0x1f1b19(0x73)](p[_0x1f1b19(0x121)]['FromArray']([_0x2cf9d9,_0x4adcfc]),_0x4b690d),_0x3f48ab=_0x4db598[_0x1f1b19(0x279)](_0x2b90a0,_0x3b8ea2,_0x2a4bdb,_0x3c9723,_0xa45809);((_0xe756af=this[_0x1f1b19(0x1d0)])==null?void 0x0:_0xe756af[_0x1f1b19(0x239)])===_0x3f48ab['column']&&((_0x56dbf3=this['_lastPointer'])==null?void 0x0:_0x56dbf3[_0x1f1b19(0xb5)])===_0x3f48ab[_0x1f1b19(0xb5)]||this[_0x1f1b19(0x104)][_0x1f1b19(0x176)](_0x2b695e=>{_0x2b695e['onMouseMove'](_0x3f48ab);});},0x64));});}['_updateCollabCursors'](_0x4b1be9,_0x3d7e03){const _0x4f0f8a=_0x4729ad;var _0xb30f3b;const _0x2f0c11=(_0xb30f3b=this[_0x4f0f8a(0x295)]['getCurrent']())==null?void 0x0:_0xb30f3b[_0x4f0f8a(0x28f)];if(!_0x2f0c11)return;const _0x17ea4a=this['_getSheetObject']();if(!_0x17ea4a)return;this[_0x4f0f8a(0x104)][_0x4f0f8a(0x176)](_0x31423a=>{_0x31423a['makeDirty']();});const {scene:_0x309c0d}=_0x17ea4a,_0x261373=yt(Array[_0x4f0f8a(0xf7)](_0x3d7e03[_0x4f0f8a(0x18c)]()))[_0x4f0f8a(0x29f)](_0x112260=>{const _0x6bcf87=_0x4f0f8a,{color:_0x5d2073,range:_0x494af5,name:_0x2412b7,selection:_0x57e5e4,sheetID:_0x1739e0}=_0x112260,{startColumn:_0x3c4834,startRow:_0x3871db,endColumn:_0x5c1abf,endRow:_0x357ba0}=_0x494af5,_0x2f39bb=G[_0x6bcf87(0x2a2)](_0x3871db,_0x3c4834,_0x309c0d,_0x2f0c11),_0x53e2f4=G[_0x6bcf87(0x2a2)](_0x357ba0,_0x5c1abf,_0x309c0d,_0x2f0c11),{columnHeaderHeightAndMarginTop:_0x3105f2}=_0x2f0c11,{startX:_0x410546,startY:_0x1034db}=_0x2f39bb,{endX:_0x181559,endY:_0x433353}=_0x53e2f4,_0x22af29=_0x181559-_0x410546,_0x59c8e4=_0x433353-_0x1034db,_0x3f24df={'labelPosition':_0x1034db-_0x3105f2>=W?_0x6bcf87(0x12a):'bottom','sheetID':_0x1739e0,'range':_0x494af5,'color':_0x5d2073,'name':_0x2412b7,'selection':_0x57e5e4,'left':_0x410546,'top':_0x1034db,'width':_0x22af29,'height':_0x59c8e4,'evented':!0x1,'zIndex':At};return new $e(_0x2412b7,_0x3f24df);});_0x309c0d[_0x4f0f8a(0xf4)](_0x261373,Mt),this['_cursors']=new Set(_0x261373);}['_removeCollabCursors'](){const _0x3e7895=_0x4729ad;var _0xbf630f;(_0xbf630f=this[_0x3e7895(0x104)])==null||_0xbf630f[_0x3e7895(0x176)](_0x1cda50=>_0x1cda50[_0x3e7895(0x2c6)]());}[_0x4729ad(0x155)](){const _0x17baa5=_0x4729ad;return G[_0x17baa5(0x231)](this[_0x17baa5(0x134)]['unit'],this[_0x17baa5(0x134)]);}};Ie=wt([ae(0x1,a[_0x4729ad(0xaf)](G['SheetSkeletonManagerService'])),ae(0x2,a[_0x4729ad(0xaf)](x)),ae(0x3,a[_0x4729ad(0xaf)](a['ThemeService']))],Ie);function yt(_0x59d6c9){const _0x8ce49e=new Map();return _0x59d6c9['forEach'](_0x13d35e=>{const _0x5d6694=_0x46c6;if(_0x8ce49e[_0x5d6694(0x11d)](_0x13d35e[_0x5d6694(0x18b)])){const _0x32b782=_0x8ce49e[_0x5d6694(0x107)](_0x13d35e['selection']);_0x32b782['name']+=',\x20'+_0x13d35e[_0x5d6694(0xfe)];}else _0x8ce49e['set'](_0x13d35e[_0x5d6694(0x18b)],_0x13d35e);}),Array['from'](_0x8ce49e['values']());}var $t=Object[_0x4729ad(0x2b4)],xt=(_0x3765fb,_0x51fe69,_0x2e3ad3,_0x1262a3)=>{const _0x36c031=_0x4729ad;for(var _0x51c406=_0x1262a3>0x1?void 0x0:_0x1262a3?$t(_0x51fe69,_0x2e3ad3):_0x51fe69,_0x300efe=_0x3765fb[_0x36c031(0x116)]-0x1,_0x421279;_0x300efe>=0x0;_0x300efe--)(_0x421279=_0x3765fb[_0x300efe])&&(_0x51c406=_0x421279(_0x51c406)||_0x51c406);return _0x51c406;},y=(_0xcbaad6,_0x30efbd)=>(_0x100d99,_0x2e985b)=>_0x30efbd(_0x100d99,_0x2e985b,_0xcbaad6);let q=class extends a[_0x4729ad(0x16e)]{constructor(_0x47f6a3,_0x5bb680,_0x3059cf,_0x5ee348,_0x5c2925,_0x1855dd){const _0x505005=_0x4729ad;super(),this[_0x505005(0x82)]=_0x47f6a3,this[_0x505005(0xe6)]=_0x5bb680,this[_0x505005(0x1b1)]=_0x3059cf,this['_messageService']=_0x5ee348,this[_0x505005(0x1e4)]=_0x5c2925,this[_0x505005(0x8d)]=_0x1855dd,this[_0x505005(0x196)](),this[_0x505005(0x199)]();}['_setupBeforeClosingHandler'](){const _0x167a62=_0x4729ad;this['disposeWithMe'](this['_beforeCloseService'][_0x167a62(0x1b3)](()=>{const _0x3fffd2=_0x167a62;if(this[_0x3fffd2(0xe6)]['saveTaskMap'][_0x3fffd2(0xd1)])return this[_0x3fffd2(0x8d)]['t'](_0x3fffd2(0x2e5));}));}[_0x4729ad(0x199)](){const _0x52a5e2=_0x4729ad;this[_0x52a5e2(0x16d)](this[_0x52a5e2(0x1b1)][_0x52a5e2(0x257)][_0x52a5e2(0x194)](_0x103bb0=>{const _0x208673=_0x52a5e2;_0x103bb0['id']===u[_0x208673(0x227)][_0x208673(0x7b)]&&this[_0x208673(0x13e)][_0x208673(0xf0)]({'type':D[_0x208673(0x29b)][_0x208673(0x1cd)],'content':this['_localeService']['t'](_0x208673(0x253))}),_0x103bb0['id']===u[_0x208673(0x227)][_0x208673(0x101)]&&this[_0x208673(0x13e)][_0x208673(0xf0)]({'type':D[_0x208673(0x29b)][_0x208673(0x1cd)],'content':this[_0x208673(0x8d)]['t'](_0x208673(0xb8))}),_0x103bb0['id']===u['CollaborationUIEventId'][_0x208673(0x108)]&&this[_0x208673(0x1e4)][_0x208673(0xf0)]({'title':this['_localeService']['t'](_0x208673(0xc6)),'content':this[_0x208673(0x8d)]['t'](_0x208673(0x2db)),'type':'error','duration':0x0}),_0x103bb0['id']===u['CollaborationUIEventId'][_0x208673(0x17a)]&&this[_0x208673(0x13e)][_0x208673(0xf0)]({'type':D[_0x208673(0x29b)]['Error'],'content':this[_0x208673(0x8d)]['t'](_0x208673(0xb8))+'('+_0x103bb0[_0x208673(0x285)]+')'}),_0x103bb0['id']===u[_0x208673(0x227)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x208673(0xf0)]({'type':D[_0x208673(0x29b)][_0x208673(0x1cd)],'content':this[_0x208673(0x8d)]['t'](_0x103bb0[_0x208673(0x285)]||'')}),_0x103bb0['id']===u[_0x208673(0x227)][_0x208673(0x2b3)]&&this[_0x208673(0x13e)][_0x208673(0xf0)]({'type':D[_0x208673(0x29b)][_0x208673(0x1cd)],'content':this['_localeService']['t'](_0x208673(0x278))}),_0x103bb0['id']===u[_0x208673(0x227)][_0x208673(0x2b8)]&&this[_0x208673(0x13e)]['show']({'type':D[_0x208673(0x29b)][_0x208673(0x81)],'content':this[_0x208673(0x8d)]['t'](_0x208673(0x270))}),_0x103bb0['id']===u['CollaborationUIEventId'][_0x208673(0xd6)]&&this[_0x208673(0x13e)][_0x208673(0xf0)]({'type':D['MessageType'][_0x208673(0x81)],'content':this[_0x208673(0x8d)]['t'](_0x208673(0xb4))});}));}};q=xt([y(0x0,O[_0x4729ad(0x91)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x4729ad(0xaf)](u['CollaborationUIEventService'])),y(0x3,O[_0x4729ad(0x273)]),y(0x4,O[_0x4729ad(0x21a)]),y(0x5,a['Inject'](a[_0x4729ad(0x24e)]))],q);const Bt=_0x4729ad(0x157),De={};var jt=Object[_0x4729ad(0x2b4)],kt=(_0x35900f,_0x511c03,_0x1eac80,_0x1ec540)=>{const _0x5a1743=_0x4729ad;for(var _0x56aeeb=_0x1ec540>0x1?void 0x0:_0x1ec540?jt(_0x511c03,_0x1eac80):_0x511c03,_0x61bc82=_0x35900f[_0x5a1743(0x116)]-0x1,_0x5aa2f0;_0x61bc82>=0x0;_0x61bc82--)(_0x5aa2f0=_0x35900f[_0x61bc82])&&(_0x56aeeb=_0x5aa2f0(_0x56aeeb)||_0x56aeeb);return _0x56aeeb;},Ue=(_0x43464f,_0x3ca993)=>(_0x4abf02,_0x2efaef)=>_0x3ca993(_0x4abf02,_0x2efaef,_0x43464f);let z=class{constructor(_0x132c15,_0x3e84df){const _0x4d2ab7=_0x4729ad;this[_0x4d2ab7(0x11b)]=_0x132c15,this[_0x4d2ab7(0x22c)]=_0x3e84df;}['transformIMECache'](_0x23f9ec){const _0x26609e=_0x4729ad;this[_0x26609e(0xf6)](_0x23f9ec),this[_0x26609e(0x88)](_0x23f9ec);}['transformRemoteChangeset'](_0x4ed300){const _0x37be8f=_0x4729ad,{unitID:_0x2bd115}=_0x4ed300,_0x5f247d=this['_renderManagerService'][_0x37be8f(0x9c)](_0x2bd115)[_0x37be8f(0x15b)](E[_0x37be8f(0x75)]),{redoCache:_0x42d2e9}=_0x5f247d[_0x37be8f(0x148)]();if(_0x42d2e9[_0x37be8f(0x116)]===0x0)return _0x4ed300;let _0x17c114=a['Tools'][_0x37be8f(0x22b)](_0x4ed300[_0x37be8f(0xe5)][0x0]);for(let _0x55bf41=0x0;_0x55bf41<_0x42d2e9[_0x37be8f(0x116)];_0x55bf41++){const _0x327f5c={'id':_0x37be8f(0x281),'params':{..._0x42d2e9[_0x55bf41]}},_0x5cd4ea=this['_transformService'][_0x37be8f(0x179)](_0x17c114,_0x327f5c,!0x1);if(m[_0x37be8f(0x1b7)](_0x5cd4ea))throw _0x5cd4ea[_0x37be8f(0x217)];_0x17c114=_0x5cd4ea[_0x37be8f(0xa2)];}return{...a[_0x37be8f(0x12d)][_0x37be8f(0x22b)](_0x4ed300),'mutations':[_0x17c114]};}['_transformUndoRedoStack'](_0x2dbc7e){const _0x53a14f=_0x4729ad,{unitID:_0x153105}=_0x2dbc7e,_0x55dd42=this['_renderManagerService'][_0x53a14f(0x9c)](_0x153105)[_0x53a14f(0x15b)](E['DocIMEInputManagerService']),{undoCache:_0x41f3d6,redoCache:_0x237e63}=_0x55dd42[_0x53a14f(0x148)]();if(_0x41f3d6[_0x53a14f(0x116)]===0x0||_0x237e63[_0x53a14f(0x116)]===0x0)return;const _0x16e08e=[],_0x4eb719=[];let _0x3c75b9=a['Tools']['deepClone'](_0x2dbc7e[_0x53a14f(0xe5)][0x0]),_0x10d27e=a[_0x53a14f(0x12d)]['deepClone'](_0x2dbc7e[_0x53a14f(0xe5)][0x0]);for(let _0x5353dd=_0x41f3d6[_0x53a14f(0x116)]-0x1;_0x5353dd>=0x0;_0x5353dd--){const _0x5c62c7={'id':_0x53a14f(0x281),'params':{..._0x41f3d6[_0x5353dd]}},_0x1975ed={'id':_0x53a14f(0x281),'params':{..._0x237e63[_0x5353dd]}},_0x7459d2=this[_0x53a14f(0x11b)][_0x53a14f(0x179)](_0x3c75b9,_0x5c62c7,!0x1),_0x495af4=this[_0x53a14f(0x11b)][_0x53a14f(0x179)](_0x10d27e,_0x1975ed,!0x1);if(m[_0x53a14f(0x1b7)](_0x7459d2))throw _0x7459d2['error'];if(m['isTransformMutationFailure'](_0x495af4))throw _0x495af4[_0x53a14f(0x217)];_0x16e08e[_0x53a14f(0x24b)](_0x7459d2[_0x53a14f(0x291)][_0x53a14f(0x94)]),_0x4eb719[_0x53a14f(0x24b)](_0x495af4[_0x53a14f(0x291)][_0x53a14f(0x94)]),_0x3c75b9=_0x7459d2['m1Prime'],_0x10d27e=_0x495af4[_0x53a14f(0xa2)];}_0x55dd42[_0x53a14f(0x237)]({'undoCache':_0x16e08e,'redoCache':_0x4eb719});}[_0x4729ad(0x88)](_0x2ccfae){const _0x5b492a=_0x4729ad,{unitID:_0x473970}=_0x2ccfae,_0x17fa54=this[_0x5b492a(0x22c)]['getRenderById'](_0x473970)['with'](E[_0x5b492a(0x75)]),_0x4bfd82=_0x17fa54[_0x5b492a(0x90)]();if(_0x4bfd82==null)return;const _0xaf486b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ccfae[_0x5b492a(0x11e)],'actions':null,'textRanges':[_0x4bfd82]}}],_0x3f069c=this[_0x5b492a(0x11b)]['transformMutationsWithChangeset'](_0x2ccfae,_0xaf486b);if(!m[_0x5b492a(0x1f9)](_0x3f069c))throw _0x3f069c['error'];const _0x2739ad=_0x3f069c[_0x5b492a(0x291)][0x0][_0x5b492a(0x94)][_0x5b492a(0x2de)];Array[_0x5b492a(0x1dc)](_0x2739ad)&&_0x2739ad[_0x5b492a(0x116)]&&_0x17fa54[_0x5b492a(0x1ee)](_0x2739ad[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p['IRenderManagerService'])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x138224,_0x53fc09,_0xd85746,_0x585cc6)=>{const _0x3ca1e1=_0x4729ad;for(var _0x7dd1a6=_0x585cc6>0x1?void 0x0:_0x585cc6?Ft(_0x53fc09,_0xd85746):_0x53fc09,_0x357fcd=_0x138224[_0x3ca1e1(0x116)]-0x1,_0x4847e0;_0x357fcd>=0x0;_0x357fcd--)(_0x4847e0=_0x138224[_0x357fcd])&&(_0x7dd1a6=_0x4847e0(_0x7dd1a6)||_0x7dd1a6);return _0x7dd1a6;},ce=(_0x101a82,_0x38ffa6)=>(_0x2a7f8c,_0x4937ae)=>_0x38ffa6(_0x2a7f8c,_0x4937ae,_0x101a82);let J=class{constructor(_0x26335c,_0x55a316,_0x2383d9){const _0x1c0cc9=_0x4729ad;this[_0x1c0cc9(0x170)]=_0x26335c,this[_0x1c0cc9(0x11b)]=_0x55a316,this[_0x1c0cc9(0xa7)]=_0x2383d9;}[_0x4729ad(0x1b9)](_0x37d92d){const _0x2e402d=_0x4729ad;this[_0x2e402d(0x210)](_0x37d92d);}['transformRemoteChangeset'](_0x406c5f){const _0x1702b7=_0x4729ad,{unitID:_0xc0981a}=_0x406c5f,{collaboration:_0x2352e9}=this[_0x1702b7(0xa7)][_0x1702b7(0x10c)](_0xc0981a);if(_0x2352e9[_0x1702b7(0x116)]===0x0)return _0x406c5f;let _0x399f55=a[_0x1702b7(0x12d)][_0x1702b7(0x22b)](_0x406c5f[_0x1702b7(0xe5)][0x0]);for(let _0x4b8bd2=0x0;_0x4b8bd2<_0x2352e9[_0x1702b7(0x116)];_0x4b8bd2++){const _0x2ed82e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2352e9[_0x4b8bd2]['unitId'],..._0x2352e9[_0x4b8bd2]['redoState']}},_0x2a94d5=this['_transformService'][_0x1702b7(0x179)](_0x399f55,_0x2ed82e,!0x1);if(m['isTransformMutationFailure'](_0x2a94d5))throw _0x2a94d5[_0x1702b7(0x217)];_0x399f55=_0x2a94d5[_0x1702b7(0xa2)];}return{...a['Tools'][_0x1702b7(0x22b)](_0x406c5f),'mutations':[_0x399f55]};}[_0x4729ad(0x210)](_0x1416b8){const _0x2fcd97=_0x4729ad,{unitID:_0x308ff2}=_0x1416b8,{history:_0x184fe7,collaboration:_0x116934}=this['_docStateChangeManagerService'][_0x2fcd97(0x10c)](_0x308ff2);if(_0x184fe7[_0x2fcd97(0x116)]===0x0&&_0x116934[_0x2fcd97(0x116)]===0x0)return;const _0x3cc788=[],_0x360bcd=[];let _0x3f330e=a['Tools']['deepClone'](_0x1416b8[_0x2fcd97(0xe5)][0x0]),_0x3fa23b=a[_0x2fcd97(0x12d)][_0x2fcd97(0x22b)](_0x1416b8[_0x2fcd97(0xe5)][0x0]);for(let _0x12f7a8=_0x184fe7['length']-0x1;_0x12f7a8>=0x0;_0x12f7a8--){const _0x38bfd4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184fe7[_0x12f7a8][_0x2fcd97(0x10b)],..._0x184fe7[_0x12f7a8][_0x2fcd97(0xe9)]}},_0x1cd478={'id':_0x2fcd97(0x281),'params':{'unitId':_0x184fe7[_0x12f7a8]['unitId'],..._0x184fe7[_0x12f7a8][_0x2fcd97(0x2c2)]}},_0x4a3017=this[_0x2fcd97(0x11b)]['transformMutation'](_0x3f330e,_0x38bfd4,!0x1),_0x47bccd=this[_0x2fcd97(0x11b)][_0x2fcd97(0x179)](_0x3fa23b,_0x1cd478,!0x1);if(m['isTransformMutationFailure'](_0x4a3017))throw _0x4a3017['error'];if(m[_0x2fcd97(0x1b7)](_0x47bccd))throw _0x47bccd[_0x2fcd97(0x217)];_0x3cc788['unshift']({..._0x184fe7[_0x12f7a8],'undoState':_0x4a3017[_0x2fcd97(0x291)][_0x2fcd97(0x94)],'redoState':_0x47bccd[_0x2fcd97(0x291)][_0x2fcd97(0x94)]}),_0x3f330e=_0x4a3017[_0x2fcd97(0xa2)],_0x3fa23b=_0x47bccd[_0x2fcd97(0xa2)];}_0x3f330e=a['Tools']['deepClone'](_0x1416b8[_0x2fcd97(0xe5)][0x0]),_0x3fa23b=a[_0x2fcd97(0x12d)][_0x2fcd97(0x22b)](_0x1416b8['mutations'][0x0]);for(let _0xb7fc07=_0x116934[_0x2fcd97(0x116)]-0x1;_0xb7fc07>=0x0;_0xb7fc07--){const _0x146b39={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x116934[_0xb7fc07][_0x2fcd97(0x10b)],..._0x116934[_0xb7fc07]['undoState']}},_0x2dde03={'id':_0x2fcd97(0x281),'params':{'unitId':_0x116934[_0xb7fc07][_0x2fcd97(0x10b)],..._0x116934[_0xb7fc07][_0x2fcd97(0x2c2)]}},_0x45c22e=this[_0x2fcd97(0x11b)][_0x2fcd97(0x179)](_0x3f330e,_0x146b39,!0x1),_0x5ddd57=this[_0x2fcd97(0x11b)]['transformMutation'](_0x3fa23b,_0x2dde03,!0x1);if(m[_0x2fcd97(0x1b7)](_0x45c22e))throw _0x45c22e[_0x2fcd97(0x217)];if(m[_0x2fcd97(0x1b7)](_0x5ddd57))throw _0x5ddd57[_0x2fcd97(0x217)];_0x360bcd[_0x2fcd97(0x24b)]({..._0x116934[_0xb7fc07],'undoState':_0x45c22e[_0x2fcd97(0x291)][_0x2fcd97(0x94)],'redoState':_0x5ddd57[_0x2fcd97(0x291)][_0x2fcd97(0x94)]}),_0x3f330e=_0x45c22e['m1Prime'],_0x3fa23b=_0x5ddd57['m1Prime'];}this[_0x2fcd97(0xa7)][_0x2fcd97(0x151)](_0x308ff2,{'history':_0x3cc788,'collaboration':_0x360bcd});}};J=Ht([ce(0x0,a['Inject'](a['Injector'])),ce(0x1,m[_0x4729ad(0x29c)]),ce(0x2,a['Inject'](E[_0x4729ad(0x150)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x14b826,_0x12d3d4,_0x43164e,_0x41ddc1)=>{const _0x5d413c=_0x4729ad;for(var _0xedf04e=_0x41ddc1>0x1?void 0x0:_0x41ddc1?Yt(_0x12d3d4,_0x43164e):_0x12d3d4,_0x10571d=_0x14b826[_0x5d413c(0x116)]-0x1,_0x402b62;_0x10571d>=0x0;_0x10571d--)(_0x402b62=_0x14b826[_0x10571d])&&(_0xedf04e=_0x402b62(_0xedf04e)||_0xedf04e);return _0xedf04e;},Ne=(_0x3c1bd4,_0x126aac)=>(_0xa4c91c,_0x3e1aa4)=>_0x126aac(_0xa4c91c,_0x3e1aa4,_0x3c1bd4);let Z=class{constructor(_0xc426df,_0x5f1598){const _0x2dd34c=_0x4729ad;this['_injector']=_0xc426df,this[_0x2dd34c(0x11b)]=_0x5f1598;}[_0x4729ad(0x160)](_0x34ecfa){const _0x248a36=_0x4729ad;var _0x3dad03;const _0xb587eb=this[_0x248a36(0x170)]['get'](Y['DocSelectionManagerService']),_0xa0f00b=(_0x3dad03=_0xb587eb[_0x248a36(0x192)]())!=null?_0x3dad03:[];if(_0xa0f00b['length']===0x0)return;const _0x23d554=_0x34ecfa[_0x248a36(0x11e)],_0x35e4a2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23d554,'actions':null,'textRanges':_0xa0f00b}}],_0x14b0ae=this[_0x248a36(0x11b)][_0x248a36(0x290)](_0x34ecfa,_0x35e4a2);if(!m[_0x248a36(0x1f9)](_0x14b0ae))throw _0x14b0ae[_0x248a36(0x217)];const _0x44508d=_0x14b0ae[_0x248a36(0x291)][0x0][_0x248a36(0x94)]['textRanges'];Array[_0x248a36(0x1dc)](_0x44508d)&&_0x44508d[_0x248a36(0x116)]&&_0xb587eb[_0x248a36(0x202)](_0x44508d,{'unitId':_0x23d554,'subUnitId':_0x23d554},!0x1);}};Z=Wt([Ne(0x0,a[_0x4729ad(0xaf)](a[_0x4729ad(0x98)])),Ne(0x1,m[_0x4729ad(0x29c)])],Z);var Vt=Object[_0x4729ad(0x2b4)],Xt=(_0xab91a2,_0x405fee,_0x14ebe8,_0x1a2688)=>{const _0x15cd56=_0x4729ad;for(var _0x558cf3=_0x1a2688>0x1?void 0x0:_0x1a2688?Vt(_0x405fee,_0x14ebe8):_0x405fee,_0x3920d7=_0xab91a2[_0x15cd56(0x116)]-0x1,_0x514c09;_0x3920d7>=0x0;_0x3920d7--)(_0x514c09=_0xab91a2[_0x3920d7])&&(_0x558cf3=_0x514c09(_0x558cf3)||_0x558cf3);return _0x558cf3;},N=(_0x23c450,_0x1b4564)=>(_0x213f02,_0x38f14a)=>_0x1b4564(_0x213f02,_0x38f14a,_0x23c450);let Q=class extends a[_0x4729ad(0x16e)]{constructor(_0x356127,_0x38805d,_0x2ebcf9,_0x571c8b,_0x105f09,_0x1e52c4,_0x5573f8,_0x1ea752){const _0x204d00=_0x4729ad;super(),h(this,_0x204d00(0x1bf),new d[(_0x204d00(0x2c9))](u[_0x204d00(0xb7)][_0x204d00(0x178)])),(this[_0x204d00(0xa7)]=_0x356127,this[_0x204d00(0x1d8)]=_0x38805d,this['_docTransformIMECacheService']=_0x2ebcf9,this[_0x204d00(0xd8)]=_0x571c8b,this[_0x204d00(0x13c)]=_0x105f09,this[_0x204d00(0x288)]=_0x1e52c4,this[_0x204d00(0x13e)]=_0x5573f8,this[_0x204d00(0x8d)]=_0x1ea752,this[_0x204d00(0x9e)]());}[_0x4729ad(0x9e)](){const _0xce1381=_0x4729ad;this['disposeWithMe'](this[_0xce1381(0x1d8)][_0xce1381(0x2d2)][_0xce1381(0x194)](_0x409a22=>{const _0x38fd53=_0xce1381,_0x587e83=this[_0x38fd53(0xa7)]['docStateChange$'][_0x38fd53(0x194)](_0x5cbca5=>{const _0x3d2742=_0x38fd53;if(_0x5cbca5==null)return;const {unitId:_0x566099,redoState:_0x33d59e,commandId:_0x1ae8ab}=_0x5cbca5;if(_0x566099!==_0x409a22[_0x3d2742(0x11e)])return;const _0x1c7144={'id':_0x1ae8ab,'type':a[_0x3d2742(0x2ea)][_0x3d2742(0x181)],'params':{'unitId':_0x566099,'actions':_0x33d59e['actions'],'textRanges':null}};_0x409a22['onLocalMutation'](_0x1c7144);});if(_0x409a22[_0x38fd53(0x16d)](_0x587e83),_0x409a22 instanceof u[_0x38fd53(0x252)]){const _0x237c7a={'onTransformIME':_0x59ce5d=>this[_0x38fd53(0x1a9)][_0x38fd53(0x9f)](_0x59ce5d),'onTransformState':_0x53b1fb=>this[_0x38fd53(0xd8)]['transformStateCache'](_0x53b1fb),'onTransformSelections':_0x5a6709=>this[_0x38fd53(0x13c)][_0x38fd53(0x160)](_0x5a6709),'onSyncEditingCollabCursor':_0xedf991=>this[_0x38fd53(0x288)][_0x38fd53(0x8b)](_0xedf991),'onTransformRemoteChangesetByIMECache':_0x14c323=>this[_0x38fd53(0x1a9)][_0x38fd53(0xbd)](_0x14c323),'onTransformRemoteChangesetByStateCache':_0x442630=>this['_docTransformStateCacheService'][_0x38fd53(0xbd)](_0x442630)};_0x409a22[_0x38fd53(0x132)](_0x237c7a);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x4729ad(0x150)])),N(0x1,a['Inject'](u[_0x4729ad(0x261)])),N(0x2,a[_0x4729ad(0xaf)](z)),N(0x3,a[_0x4729ad(0xaf)](J)),N(0x4,a[_0x4729ad(0xaf)](Z)),N(0x5,a[_0x4729ad(0xaf)](pe)),N(0x6,O[_0x4729ad(0x273)]),N(0x7,a[_0x4729ad(0xaf)](a['LocaleService']))],Q);var Gt=Object[_0x4729ad(0x2b4)],Kt=(_0x49e866,_0x306625,_0x3bf191,_0x38d703)=>{const _0x16e34c=_0x4729ad;for(var _0x218c3e=_0x38d703>0x1?void 0x0:_0x38d703?Gt(_0x306625,_0x3bf191):_0x306625,_0x2c9011=_0x49e866[_0x16e34c(0x116)]-0x1,_0xd8b0c8;_0x2c9011>=0x0;_0x2c9011--)(_0xd8b0c8=_0x49e866[_0x2c9011])&&(_0x218c3e=_0xd8b0c8(_0x218c3e)||_0x218c3e);return _0x218c3e;},le=(_0x50a37f,_0x286449)=>(_0x519c59,_0x1f639a)=>_0x286449(_0x519c59,_0x1f639a,_0x50a37f);let ve=class extends a[_0x4729ad(0x16e)]{constructor(_0x2a45ba,_0x5eff05,_0x588415){const _0x5edf0f=_0x4729ad;super(),h(this,'_cachedData',new Map()),h(this,_0x5edf0f(0x26a),new Map()),h(this,_0x5edf0f(0x164),!0x1),(this[_0x5edf0f(0x24f)]=_0x2a45ba,this[_0x5edf0f(0x2df)]=_0x5eff05,this[_0x5edf0f(0x247)]=_0x588415);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1ed132=_0x4729ad;this[_0x1ed132(0x164)]=!0x1;}get[_0x4729ad(0x22d)](){const _0x36d2e9=_0x4729ad;return this[_0x36d2e9(0x26a)];}[_0x4729ad(0x2c6)](){const _0x2ab250=_0x4729ad;this[_0x2ab250(0xea)]()[_0x2ab250(0x2cd)](()=>super[_0x2ab250(0x2c6)]());}async[_0x4729ad(0x13f)](_0x4612d9){const _0x285bd6=_0x4729ad;return this['_disabled']?null:this[_0x285bd6(0x2df)][_0x285bd6(0x2d1)](u['getLocalCacheKey'](_0x4612d9));}async[_0x4729ad(0x23d)](_0x419f6d,_0x4eb7ab){const _0x57cf7e=_0x4729ad;return!!this[_0x57cf7e(0x2df)]['setItem'](_0x419f6d,_0x4eb7ab);}[_0x4729ad(0xab)](_0xe28d43,_0x20770f,_0xdc0826,_0x2a3656){const _0x484d20=_0x4729ad,_0x3a9612=this[_0x484d20(0x247)][_0x484d20(0x223)](_0xe28d43);this[_0x484d20(0x1aa)]['set'](_0xe28d43,{'unitID':_0xe28d43,'type':_0x20770f,'awaitingChangeset':_0xdc0826,'mutations':_0x2a3656,'rev':_0x3a9612}),this[_0x484d20(0x26a)]['has'](_0xe28d43)||this[_0x484d20(0x2ee)](_0xe28d43);}['_scheduleSaving'](_0x53881d){const _0x309155=_0x4729ad,_0x54fb04=this[_0x309155(0x78)]();_0x54fb04===0x0?this[_0x309155(0x152)](_0x53881d):this[_0x309155(0x26a)]['set'](_0x53881d,setTimeout(()=>this[_0x309155(0x152)](_0x53881d),_0x54fb04));}['_getSaveTimeout'](){const _0x4ae93a=_0x4729ad;var _0x8e0618;return(_0x8e0618=this[_0x4ae93a(0x24f)][_0x4ae93a(0x26e)](u[_0x4ae93a(0x2bd)]))!=null?_0x8e0618:u['LOCAL_CACHE_INTERVAL'];}[_0x4729ad(0x152)](_0x243318){const _0x2efc08=_0x4729ad,_0x929df9=this[_0x2efc08(0x26a)][_0x2efc08(0x107)](_0x243318);return _0x929df9!==void 0x0&&window[_0x2efc08(0x159)](_0x929df9),this[_0x2efc08(0x2df)][_0x2efc08(0x274)](u[_0x2efc08(0x248)](_0x243318),this[_0x2efc08(0x1aa)][_0x2efc08(0x107)](_0x243318))[_0x2efc08(0x2cd)](()=>this[_0x2efc08(0x26a)][_0x2efc08(0x298)](_0x243318));}async['exhaustSavingTask'](){const _0x37fd05=_0x4729ad,_0x1bead1=[];this[_0x37fd05(0x26a)]['forEach']((_0x59b27d,_0x23af14)=>{const _0x1e8c80=_0x37fd05;window['clearTimeout'](_0x59b27d),_0x1bead1['push'](this[_0x1e8c80(0x152)](_0x23af14)[_0x1e8c80(0x2cd)](()=>{const _0x48bd01=_0x1e8c80;this[_0x48bd01(0x26a)]['delete'](_0x23af14);}));}),await Promise[_0x37fd05(0xc3)](_0x1bead1);}};ve=Kt([le(0x0,a[_0x4729ad(0xa3)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x4729ad(0xaf)](m['RevisionService']))],ve);class xe extends a[_0x4729ad(0x16f)]{constructor(){const _0x8bf47c=_0x4729ad;super(),h(this,'urlChange$'),this['urlChange$']=d[_0x8bf47c(0x19d)](window,_0x8bf47c(0x2ae))[_0x8bf47c(0x138)](d[_0x8bf47c(0x87)](this[_0x8bf47c(0x2af)]),d[_0x8bf47c(0x1e2)](0x1),d['mapTo'](void 0x0));}['setParam'](_0x301182,_0x527f78,_0x5c6070=!0x1){const _0x78e373=_0x4729ad,_0x4141ab=new URL(window['location']['href']);_0x4141ab['searchParams'][_0x78e373(0x1a3)](_0x301182,_0x527f78),_0x5c6070?window[_0x78e373(0x12f)][_0x78e373(0x1c2)]('','',_0x4141ab[_0x78e373(0x1f4)]()):window[_0x78e373(0x12f)]['pushState']('','',_0x4141ab[_0x78e373(0x1f4)]());}[_0x4729ad(0x1f3)](_0x4f4da0,_0x5c1bde=!0x1){const _0x5ea123=_0x4729ad,_0x47c0b6=new URL(window[_0x5ea123(0x7e)]['href']);_0x47c0b6['searchParams']['delete'](_0x4f4da0),_0x5c1bde?window[_0x5ea123(0x12f)]['replaceState']('','',_0x47c0b6[_0x5ea123(0x1f4)]()):window['history'][_0x5ea123(0x218)]('','',_0x47c0b6[_0x5ea123(0x1f4)]());}[_0x4729ad(0x1f0)](_0x21d750){const _0x148b84=_0x4729ad;var _0x581f88;return(_0x581f88=new URL(window['location'][_0x148b84(0x9d)])['searchParams'][_0x148b84(0x107)](_0x21d750))!=null?_0x581f88:void 0x0;}}var qt=Object[_0x4729ad(0x238)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x5a057f,_0x141577,_0x2a5772)=>_0x141577 in _0x5a057f?qt(_0x5a057f,_0x141577,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a5772}):_0x5a057f[_0x141577]=_0x2a5772,Zt=(_0x3afedc,_0x41381f,_0x3602e7,_0x51290d)=>{const _0x57c889=_0x4729ad;for(var _0x5cf1e9=_0x51290d>0x1?void 0x0:_0x51290d?zt(_0x41381f,_0x3602e7):_0x41381f,_0x8d07f4=_0x3afedc[_0x57c889(0x116)]-0x1,_0x1c62de;_0x8d07f4>=0x0;_0x8d07f4--)(_0x1c62de=_0x3afedc[_0x8d07f4])&&(_0x5cf1e9=_0x1c62de(_0x5cf1e9)||_0x5cf1e9);return _0x5cf1e9;},_e=(_0x12b414,_0x3a3b84)=>(_0x355342,_0x242be5)=>_0x3a3b84(_0x355342,_0x242be5,_0x12b414),Qt=(_0x39f3a3,_0x16dcbd,_0x4fb1cf)=>Jt(_0x39f3a3,_0x16dcbd+'',_0x4fb1cf);const es=_0x4729ad(0x2b0);exports[_0x4729ad(0x299)]=class extends a[_0x4729ad(0x25d)]{constructor(_0x112adc=De,_0x261a89,_0x41e98b,_0x20fb0e){const _0xf27307=_0x4729ad;super(),this['_config']=_0x112adc,this[_0xf27307(0x22c)]=_0x261a89,this[_0xf27307(0x170)]=_0x41e98b,this[_0xf27307(0x24f)]=_0x20fb0e;const {..._0x555db7}=a[_0xf27307(0x97)]({},De,this[_0xf27307(0x1a1)]);this['_configService'][_0xf27307(0x21d)](Bt,_0x555db7);}[_0x4729ad(0x2c0)](){const _0x4f1692=_0x4729ad;this[_0x4f1692(0x1a8)](),this[_0x4f1692(0x1d6)]();}['onRendered'](){const _0x334d19=_0x4729ad;this[_0x334d19(0x246)]();}[_0x4729ad(0x1a8)](){const _0x48e71a=_0x4729ad;var _0x799a3e;const _0x42224e=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x48e71a(0x244)],{'useClass':K['WebSocketService']}],[u['ILocalCacheService'],{'useClass':ve}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[ue],[exports['CollaborationDataLoaderController']]];a[_0x48e71a(0x141)](this[_0x48e71a(0x170)],a[_0x48e71a(0x229)](_0x42224e,(_0x799a3e=this['_config'])==null?void 0x0:_0x799a3e[_0x48e71a(0x115)]));}[_0x4729ad(0x246)](){const _0x5835e4=_0x4729ad;this[_0x5835e4(0x16d)](this[_0x5835e4(0x22c)]['registerRenderModule'](a[_0x5835e4(0x1a2)][_0x5835e4(0x18e)],[fe])),this['disposeWithMe'](this[_0x5835e4(0x22c)][_0x5835e4(0xe1)](a[_0x5835e4(0x1a2)][_0x5835e4(0x17b)],[Ie]));}[_0x4729ad(0x1d6)](){const _0x4e3a9e=_0x4729ad;a[_0x4e3a9e(0x27f)](this[_0x4e3a9e(0x170)],[[x],[exports[_0x4e3a9e(0x93)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x4729ad(0x299)],_0x4729ad(0x2ed),es),exports[_0x4729ad(0x299)]=Zt([a[_0x4729ad(0x1ec)](u[_0x4729ad(0x25b)]),_e(0x1,p[_0x4729ad(0x2ca)]),_e(0x2,a[_0x4729ad(0xaf)](a[_0x4729ad(0x98)])),_e(0x3,a[_0x4729ad(0xa3)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x57b31b,_0x275775,_0xf5f026,_0x3ea961)=>{const _0x2c54bc=_0x4729ad;for(var _0x3b1d91=_0x3ea961>0x1?void 0x0:_0x3ea961?ts(_0x275775,_0xf5f026):_0x275775,_0x10230e=_0x57b31b[_0x2c54bc(0x116)]-0x1,_0x1e6afd;_0x10230e>=0x0;_0x10230e--)(_0x1e6afd=_0x57b31b[_0x10230e])&&(_0x3b1d91=_0x1e6afd(_0x3b1d91)||_0x3b1d91);return _0x3b1d91;},H=(_0x36ae02,_0x2f4ee0)=>(_0x470f34,_0xa42d54)=>_0x2f4ee0(_0x470f34,_0xa42d54,_0x36ae02);exports['BrowserCollaborationSocketService']=class extends u['CollaborationSocketService']{constructor(_0x5751c1,_0xb36abf,_0x9c119c,_0x496d1d,_0xf36e98){super(_0x5751c1,_0xb36abf,_0x9c119c,_0x496d1d,_0xf36e98);}async['createSocket'](_0x4edacd){const _0x23c16f=_0x4729ad,_0x102019=await this[_0x23c16f(0x29d)](),_0x5d2ed1=this[_0x23c16f(0x280)](_0x4edacd,_0x102019);return this['_doCreateSocket'](_0x5d2ed1);}['_createSocketURL'](_0x8b1624,_0x2fc0ad){const _0x3de8a=_0x4729ad,_0x269070=typeof window>'u'?new URL(_0x8b1624):new URL(_0x8b1624,window[_0x3de8a(0x7e)][_0x3de8a(0x2d6)]);_0x269070[_0x3de8a(0x142)][_0x3de8a(0x1a3)]('sessionTicket',_0x2fc0ad);const _0x34942a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3de8a(0x167)]);return _0x34942a[_0x3de8a(0x107)](_0x3de8a(0x195))&&_0x269070[_0x3de8a(0x142)][_0x3de8a(0x1a3)](_0x3de8a(0x195),_0x34942a[_0x3de8a(0x107)]('runId')),_0x269070[_0x3de8a(0x1f4)]();}async[_0x4729ad(0x29d)](){const _0x3d7155=_0x4729ad;var _0x1a1a4b,_0x409148,_0x48f306;const _0x49afc4=this[_0x3d7155(0x24f)][_0x3d7155(0x26e)](u[_0x3d7155(0x233)]),_0x5e3556=(_0x1a1a4b=_0x49afc4==null?void 0x0:_0x49afc4[_0x3d7155(0x9a)])!=null?_0x1a1a4b:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x48f306=(_0x409148=(await this['_httpService'][_0x3d7155(0x107)](_0x5e3556,{'headers':{'Content-Type':_0x3d7155(0x1ce)}}))[_0x3d7155(0x1a5)])==null?void 0x0:_0x409148[_0x3d7155(0x1b6)])!=null?_0x48f306:'';}},exports[_0x4729ad(0x79)]=ss([H(0x0,a[_0x4729ad(0xaf)](a[_0x4729ad(0x98)])),H(0x1,a['Inject'](K[_0x4729ad(0x183)])),H(0x2,a[_0x4729ad(0xa3)]),H(0x3,a[_0x4729ad(0x1c3)]),H(0x4,m[_0x4729ad(0x10e)])],exports[_0x4729ad(0x79)]);var Be=(_0x768ad5=>(_0x768ad5[_0x768ad5[_0x4729ad(0x245)]=0x0]=_0x4729ad(0x245),_0x768ad5[_0x768ad5['OK']=0x1]='OK',_0x768ad5[_0x768ad5[_0x4729ad(0xfd)]=0x2]=_0x4729ad(0xfd),_0x768ad5[_0x768ad5['PERMISSION_DENIED']=0x3]=_0x4729ad(0x108),_0x768ad5[_0x768ad5['NOT_FOUND']=0x4]=_0x4729ad(0x226),_0x768ad5[_0x768ad5[_0x4729ad(0x209)]=0x5]='UNAUTHENTICATED',_0x768ad5[_0x768ad5[_0x4729ad(0x1ff)]=0x6]=_0x4729ad(0x1ff),_0x768ad5[_0x768ad5[_0x4729ad(0x1e9)]=0x7]='INVALID_ARGUMENT',_0x768ad5[_0x768ad5[_0x4729ad(0xa5)]=0x8]=_0x4729ad(0xa5),_0x768ad5[_0x768ad5[_0x4729ad(0x293)]=0x9]=_0x4729ad(0x293),_0x768ad5[_0x768ad5[_0x4729ad(0x287)]=0xa]=_0x4729ad(0x287),_0x768ad5[_0x768ad5[_0x4729ad(0x14a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x768ad5[_0x768ad5[_0x4729ad(0x294)]=0xc]=_0x4729ad(0x294),_0x768ad5[_0x768ad5['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x768ad5[_0x768ad5[_0x4729ad(0x1cb)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x768ad5[_0x768ad5[_0x4729ad(0x11c)]=0x1389]=_0x4729ad(0x11c),_0x768ad5[_0x768ad5['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4729ad(0x103),_0x768ad5[_0x768ad5[_0x4729ad(0x10d)]=0x1772]=_0x4729ad(0x10d),_0x768ad5[_0x768ad5[_0x4729ad(0x26b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x768ad5[_0x768ad5[_0x4729ad(0xdb)]=0x1b59]='APPLY_REJECT',_0x768ad5[_0x768ad5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4729ad(0xcc),_0x768ad5[_0x768ad5[_0x4729ad(0x1e1)]=0x1b5b]=_0x4729ad(0x1e1),_0x768ad5[_0x768ad5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4729ad(0x27a),_0x768ad5[_0x768ad5[_0x4729ad(0x234)]=0x1b5d]=_0x4729ad(0x234),_0x768ad5[_0x768ad5[_0x4729ad(0x241)]=0x1f41]=_0x4729ad(0x241),_0x768ad5[_0x768ad5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x768ad5[_0x768ad5[_0x4729ad(0xbb)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x768ad5[_0x768ad5[_0x4729ad(0xbc)]=0x232b]=_0x4729ad(0xbc),_0x768ad5[_0x768ad5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4729ad(0x2a5),_0x768ad5[_0x768ad5[_0x4729ad(0x1fb)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x768ad5[_0x768ad5[_0x4729ad(0xe3)]=0x2711]=_0x4729ad(0xe3),_0x768ad5[_0x768ad5[_0x4729ad(0x187)]=0x2712]=_0x4729ad(0x187),_0x768ad5[_0x768ad5[_0x4729ad(0x2a1)]=0x2713]=_0x4729ad(0x2a1),_0x768ad5[_0x768ad5[_0x4729ad(0xd9)]=0x2714]=_0x4729ad(0xd9),_0x768ad5[_0x768ad5[_0x4729ad(0x275)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x768ad5[_0x768ad5['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4729ad(0x190),_0x768ad5[_0x768ad5[_0x4729ad(0x2d9)]=0x271c]=_0x4729ad(0x2d9),_0x768ad5[_0x768ad5[_0x4729ad(0x2d8)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x768ad5[_0x768ad5[_0x4729ad(0xf2)]=0x271e]=_0x4729ad(0xf2),_0x768ad5[_0x768ad5[_0x4729ad(0x2cc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x768ad5[_0x768ad5['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4729ad(0x26c),_0x768ad5[_0x768ad5[_0x4729ad(0x2cf)]=0x2af9]=_0x4729ad(0x2cf),_0x768ad5[_0x768ad5['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4729ad(0xcd),_0x768ad5[_0x768ad5[_0x4729ad(0x212)]=0x2ee2]=_0x4729ad(0x212),_0x768ad5[_0x768ad5['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4729ad(0x130),_0x768ad5[_0x768ad5[_0x4729ad(0x10a)]=0x2ee4]=_0x4729ad(0x10a),_0x768ad5[_0x768ad5[_0x4729ad(0x2b7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x768ad5[_0x768ad5['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x768ad5[_0x768ad5[_0x4729ad(0x102)]=0x32ca]=_0x4729ad(0x102),_0x768ad5[_0x768ad5[_0x4729ad(0x165)]=0x32cb]=_0x4729ad(0x165),_0x768ad5[_0x768ad5['UNRECOGNIZED']=-0x1]=_0x4729ad(0x191),_0x768ad5))(Be||{}),is=Object[_0x4729ad(0x2b4)],ns=(_0x1f25dc,_0x568f00,_0x5de778,_0x519b1a)=>{const _0x19ee69=_0x4729ad;for(var _0x5333b7=_0x519b1a>0x1?void 0x0:_0x519b1a?is(_0x568f00,_0x5de778):_0x568f00,_0x14fd6d=_0x1f25dc[_0x19ee69(0x116)]-0x1,_0x5503c8;_0x14fd6d>=0x0;_0x14fd6d--)(_0x5503c8=_0x1f25dc[_0x14fd6d])&&(_0x5333b7=_0x5503c8(_0x5333b7)||_0x5333b7);return _0x5333b7;},he=(_0x26515e,_0x92a35f)=>(_0xb63bb0,_0x4c53f3)=>_0x92a35f(_0xb63bb0,_0x4c53f3,_0x26515e);exports[_0x4729ad(0xda)]=class extends a[_0x4729ad(0x16e)]{constructor(_0x146acd,_0x48e03f,_0x4016bf){const _0x12b26a=_0x4729ad;super(),this[_0x12b26a(0x2dc)]=_0x146acd,this[_0x12b26a(0x28c)]=_0x48e03f,this['_configService']=_0x4016bf;}async[_0x4729ad(0x27d)](_0x16c68d,_0x20593f,_0x1d11cb,..._0x3543b7){const _0x131919=_0x4729ad;var _0x28631a,_0x12de7c,_0x11c408,_0x13622b;const _0x397c21=this[_0x131919(0x2dc)][_0x131919(0x1ad)]();if(!_0x397c21)throw new Error(_0x131919(0x76));const _0x202e4d=((_0x28631a=this[_0x131919(0x24f)][_0x131919(0x26e)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x28631a:u[_0x131919(0x20e)])+'/'+_0x16c68d+_0x131919(0x249)+_0x20593f,_0x3961e1=new URL(window[_0x131919(0x7e)]['href']),_0x3ff781={'scriptId':_0x16c68d,'runId':(_0x12de7c=_0x3961e1['searchParams'][_0x131919(0x107)]('runId'))!=null?_0x12de7c:'','function':_0x20593f,'unitId':_0x397c21[_0x131919(0x27b)](),'argsOfFunction':JSON[_0x131919(0x2b1)](_0x3543b7),'invokeId':(_0x11c408=_0x1d11cb[_0x131919(0x21c)])!=null?_0x11c408:'','executionId':(_0x13622b=_0x1d11cb['executionId'])!=null?_0x13622b:''};try{const _0x31f005=await this[_0x131919(0x28c)][_0x131919(0x13a)](_0x202e4d,{'body':_0x3ff781});return _0x31f005['body'][_0x131919(0x217)]&&_0x31f005[_0x131919(0x1a5)][_0x131919(0x217)][_0x131919(0x264)]!==Be['OK']?'Failed':_0x31f005['body'][_0x131919(0x20b)];}catch{return'Failed';}}},exports[_0x4729ad(0xda)]=ns([he(0x0,a[_0x4729ad(0x2bb)]),he(0x1,a[_0x4729ad(0xaf)](K[_0x4729ad(0x183)])),he(0x2,a['IConfigService'])],exports[_0x4729ad(0xda)]);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class rs extends a[_0x4729ad(0x16e)]{constructor(){const _0x247cfc=_0x4729ad;super(),h(this,'_id',a['generateRandomId']()),h(this,_0x247cfc(0x162),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x247cfc(0x1c9),null),h(this,_0x247cfc(0x2cb),new Map()),h(this,_0x247cfc(0x2c3),new Map()),this['_init']();}[_0x4729ad(0x2c6)](){const _0x23ed0f=_0x4729ad;super[_0x23ed0f(0x2c6)](),this[_0x23ed0f(0x2cb)]['forEach']((_0x2ac894,_0x256d22)=>this[_0x23ed0f(0x260)](_0x256d22)),this[_0x23ed0f(0x1c9)]&&window[_0x23ed0f(0x124)](this['_heartbeatTimer']);}[_0x4729ad(0x16a)](_0x45a71d){const _0x36ec5e=_0x4729ad;return this[_0x36ec5e(0x214)](_0x45a71d)[_0x36ec5e(0x138)](d[_0x36ec5e(0x292)]());}[_0x4729ad(0xe7)](_0x57e47b){const _0x54d452=_0x4729ad;this[_0x54d452(0x162)]['size']===0x0&&this[_0x54d452(0x139)](),this[_0x54d452(0x162)]['add'](_0x57e47b),this['_send']({'type':0x0,'memberID':this[_0x54d452(0x20d)],'unitIDs':[_0x57e47b],'isForwarded':!0x1});}[_0x4729ad(0x265)](_0x35a486){const _0x42f59d=_0x4729ad;this['_selfUnitIDs'][_0x42f59d(0x298)](_0x35a486),this['_selfUnitIDs']['size']===0x0&&this[_0x42f59d(0x1c9)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x5d4ce7=_0x4729ad;this['disposeWithMe'](a[_0x5d4ce7(0x23a)](d[_0x5d4ce7(0x19d)](window,_0x5d4ce7(0xef))[_0x5d4ce7(0x194)](_0x4b8e7f=>{const _0x734850=_0x5d4ce7;if(_0x4b8e7f[_0x734850(0x205)]!==Le||!_0x4b8e7f[_0x734850(0x230)])return;const _0xac939=JSON['parse'](_0x4b8e7f[_0x734850(0x230)]);this[_0x734850(0x277)](_0xac939);}))),window[_0x5d4ce7(0x289)]('unload',()=>this[_0x5d4ce7(0x1c5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d4ce7(0xf7)](this[_0x5d4ce7(0x162)])}));}[_0x4729ad(0x277)](_0x89ba12){const _0x403484=_0x4729ad;switch(_0x89ba12[_0x403484(0x1f6)]){case 0x0:this['_handleJoinEvent'](_0x89ba12);break;case 0x1:this[_0x403484(0xbf)](_0x89ba12);break;case 0x2:this['_handleHeartbeatEvent'](_0x89ba12);break;}}[_0x4729ad(0x1e6)](_0x1c1b80){const _0x507064=_0x4729ad,{unitIDs:_0xb46482,memberID:_0x536fbe,isForwarded:_0xf81cf7}=_0x1c1b80;_0xb46482[_0x507064(0x176)](_0x57719b=>{const _0x3ea276=_0x507064;if(!_0xf81cf7&&this[_0x3ea276(0x23f)][_0x3ea276(0x11d)](_0x57719b)&&this[_0x3ea276(0x214)](_0x57719b)['next'](u[_0x3ea276(0xce)][_0x3ea276(0x2b5)]),!this[_0x3ea276(0x23f)][_0x3ea276(0x11d)](_0x57719b)||!this[_0x3ea276(0x23f)]['get'](_0x57719b)[_0x3ea276(0x11d)](_0x536fbe)){const _0x1dc5a0=this[_0x3ea276(0x23f)][_0x3ea276(0x107)](_0x57719b)||new Set();_0x1dc5a0['add'](_0x536fbe),this[_0x3ea276(0x23f)][_0x3ea276(0x1a3)](_0x57719b,_0x1dc5a0),this[_0x3ea276(0xa6)](_0x536fbe);}}),_0xf81cf7||this[_0x507064(0x1c5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x507064(0x162)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3c3ff1){const _0x16e9f8=_0x4729ad;this[_0x16e9f8(0x260)](_0x3c3ff1);const _0x2db65a=window[_0x16e9f8(0x1b5)](()=>{const _0x3e36bd=_0x16e9f8;this[_0x3e36bd(0x23f)][_0x3e36bd(0x176)](_0x235277=>{const _0x5dcfbe=_0x3e36bd;_0x235277[_0x5dcfbe(0x298)](_0x3c3ff1);});},Me*0x2);this[_0x16e9f8(0x2cb)][_0x16e9f8(0x1a3)](_0x3c3ff1,_0x2db65a);}[_0x4729ad(0x260)](_0x44213e){const _0x23bd34=_0x4729ad;if(this[_0x23bd34(0x2cb)]['has'](_0x44213e)){const _0x4b66a9=this['_clearOtherTimers'][_0x23bd34(0x107)](_0x44213e);_0x4b66a9&&window[_0x23bd34(0x159)](_0x4b66a9),this[_0x23bd34(0x2cb)][_0x23bd34(0x1a3)](_0x44213e,null);}}[_0x4729ad(0xbf)](_0x43ee3e){const _0xd4a007=_0x4729ad,{memberID:_0x474516,unitIDs:_0x1c4986}=_0x43ee3e;_0x1c4986[_0xd4a007(0x176)](_0x560331=>{const _0x23d206=_0xd4a007;var _0x2a2cb3;const _0x383569=this['_unitOnClients'][_0x23d206(0x107)](_0x560331);_0x383569&&(_0x383569[_0x23d206(0x298)](_0x474516),(_0x2a2cb3=this[_0x23d206(0x214)](_0x560331))==null||_0x2a2cb3[_0x23d206(0x1fc)](_0x383569['size']===0x0?u[_0x23d206(0xce)][_0x23d206(0xd0)]:u[_0x23d206(0xce)]['OTHER_CLIENTS_EDITING']));}),this[_0xd4a007(0x260)](_0x474516);}[_0x4729ad(0x110)](_0x3ce421){const _0x27136f=_0x4729ad;this[_0x27136f(0xa6)](_0x3ce421['memberID']);}['_send'](_0x83883d){const _0x58d66b=_0x4729ad;localStorage[_0x58d66b(0x274)](Le,JSON[_0x58d66b(0x2b1)](_0x83883d));}[_0x4729ad(0x139)](){const _0x2d2844=_0x4729ad;this[_0x2d2844(0x1c9)]=window[_0x2d2844(0x284)](()=>{const _0x5240e2=_0x2d2844;this[_0x5240e2(0x1c5)]({'type':0x2,'memberID':this[_0x5240e2(0x20d)]});},Me);}[_0x4729ad(0x214)](_0xa68b05){const _0x2d12cc=_0x4729ad;return this[_0x2d12cc(0x2c3)][_0x2d12cc(0x11d)](_0xa68b05)||this[_0x2d12cc(0x2c3)]['set'](_0xa68b05,new d[(_0x2d12cc(0x2c9))](u[_0x2d12cc(0xce)][_0x2d12cc(0xd0)])),this['_unitStatus'][_0x2d12cc(0x107)](_0xa68b05);}}exports[_0x4729ad(0xc7)]=me,exports[_0x4729ad(0x1a0)]=$e,exports[_0x4729ad(0x2d5)]=rs,exports['WebURLService']=xe;
@@ -1 +1 @@
1
- 'use strict';const _0x417f30=_0x5bb6;(function(_0x345930,_0x4e13d3){const _0x395b4c=_0x5bb6,_0x532e60=_0x345930();while(!![]){try{const _0x21666e=parseInt(_0x395b4c(0xeb))/0x1*(parseInt(_0x395b4c(0xef))/0x2)+parseInt(_0x395b4c(0xf1))/0x3+-parseInt(_0x395b4c(0xf7))/0x4+-parseInt(_0x395b4c(0xec))/0x5+parseInt(_0x395b4c(0xea))/0x6*(-parseInt(_0x395b4c(0xf9))/0x7)+parseInt(_0x395b4c(0xe8))/0x8+parseInt(_0x395b4c(0xf8))/0x9;if(_0x21666e===_0x4e13d3)break;else _0x532e60['push'](_0x532e60['shift']());}catch(_0x2bdfbd){_0x532e60['push'](_0x532e60['shift']());}}}(_0x3762,0xc8a11));function _0x5bb6(_0x2c76b3,_0x280c81){const _0x37625b=_0x3762();return _0x5bb6=function(_0x5bb653,_0x4f4cb5){_0x5bb653=_0x5bb653-0xe8;let _0xa94bd3=_0x37625b[_0x5bb653];return _0xa94bd3;},_0x5bb6(_0x2c76b3,_0x280c81);}const e={'collab-client':{'tooltip':{'reconnect':_0x417f30(0xf0)}},'collabStatus':{'fetchMiss':_0x417f30(0xee),'conflict':'Edit\x20conflicts','notCollab':_0x417f30(0xf3),'synced':_0x417f30(0xfc),'syncing':_0x417f30(0xf4),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x417f30(0xf2),'will-retry':_0x417f30(0xf6),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x417f30(0xe9),'content':_0x417f30(0xed)},'permission':{'title':'Authentication\x20Error','content':_0x417f30(0xf5)},'collaboration':{'single-unit':{'warning':_0x417f30(0xfb)},'closeRoom':_0x417f30(0xfa)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module['exports']=o;function _0x3762(){const _0x309763=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1471100JjepbW','15306642KWzXRw','8302EjCpKn','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','2796712ifaTOo','Collaboration\x20Conflict','8238mdLqcT','65375PLbfoM','2351865VHMiMU','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.','Syncing\x20server\x20data...','6NsMEIY','Click\x20to\x20Reconnect','3125553BHQbkh','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','Syncing...'];_0x3762=function(){return _0x309763;};return _0x3762();}
1
+ 'use strict';const _0x5c118f=_0x19cb;(function(_0x4a69d1,_0x477eab){const _0x584b0c=_0x19cb,_0x37e963=_0x4a69d1();while(!![]){try{const _0x3a267d=-parseInt(_0x584b0c(0x130))/0x1+-parseInt(_0x584b0c(0x132))/0x2+parseInt(_0x584b0c(0x128))/0x3*(parseInt(_0x584b0c(0x12e))/0x4)+parseInt(_0x584b0c(0x11e))/0x5*(parseInt(_0x584b0c(0x11f))/0x6)+-parseInt(_0x584b0c(0x12b))/0x7*(parseInt(_0x584b0c(0x126))/0x8)+parseInt(_0x584b0c(0x12f))/0x9+parseInt(_0x584b0c(0x127))/0xa;if(_0x3a267d===_0x477eab)break;else _0x37e963['push'](_0x37e963['shift']());}catch(_0x52e559){_0x37e963['push'](_0x37e963['shift']());}}}(_0x1eba,0xefa0f));const e={'collab-client':{'tooltip':{'reconnect':_0x5c118f(0x11c)}},'collabStatus':{'fetchMiss':_0x5c118f(0x131),'conflict':_0x5c118f(0x121),'notCollab':_0x5c118f(0x11d),'synced':_0x5c118f(0x12c),'syncing':_0x5c118f(0x123),'offline':_0x5c118f(0x120)},'session':{'connection-failed':_0x5c118f(0x124),'will-retry':_0x5c118f(0x12a),'room-full':_0x5c118f(0x122),'collaboration-timeout':_0x5c118f(0x12d)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x5c118f(0x125)},'permission':{'title':'Authentication\x20Error','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':_0x5c118f(0x129)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x19cb(_0x212ef2,_0xce134d){const _0x1eba6c=_0x1eba();return _0x19cb=function(_0x19cb36,_0x55b1d1){_0x19cb36=_0x19cb36-0x11c;let _0x509136=_0x1eba6c[_0x19cb36];return _0x509136;},_0x19cb(_0x212ef2,_0xce134d);}function _0x1eba(){const _0x5c4bf8=['177845RSbcKk','246JoIwKH','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','80LBeXFI','21564120xOusjS','2497188TlMLEk','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','549962DEEueJ','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4SqIFgY','838413ITfaWw','1359213bTIMqa','Syncing\x20server\x20data...','2827804GPRGqk','Click\x20to\x20Reconnect','Local\x20file'];_0x1eba=function(){return _0x5c4bf8;};return _0x1eba();}module['exports']=o;