@univerjs-pro/collaboration-client-ui 0.10.1-nightly.202508020912 → 0.10.2

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 _0x4dda1c=_0x502a;function _0x502a(_0x4ee751,_0x35a496){const _0x44f468=_0x44f4();return _0x502a=function(_0x502ab2,_0x4be491){_0x502ab2=_0x502ab2-0x10e;let _0xd79b41=_0x44f468[_0x502ab2];return _0xd79b41;},_0x502a(_0x4ee751,_0x35a496);}(function(_0xa7b38b,_0x3a66a5){const _0x2cff26=_0x502a,_0x3821ea=_0xa7b38b();while(!![]){try{const _0x40b814=parseInt(_0x2cff26(0x117))/0x1+parseInt(_0x2cff26(0x111))/0x2*(-parseInt(_0x2cff26(0x118))/0x3)+parseInt(_0x2cff26(0x112))/0x4*(parseInt(_0x2cff26(0x114))/0x5)+parseInt(_0x2cff26(0x113))/0x6+parseInt(_0x2cff26(0x119))/0x7+-parseInt(_0x2cff26(0x11a))/0x8*(parseInt(_0x2cff26(0x11b))/0x9)+-parseInt(_0x2cff26(0x10e))/0xa;if(_0x40b814===_0x3a66a5)break;else _0x3821ea['push'](_0x3821ea['shift']());}catch(_0x236596){_0x3821ea['push'](_0x3821ea['shift']());}}}(_0x44f4,0xc1313));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0x4dda1c(0x116)]{[_0x4dda1c(0x11c)](_0x29c1db,_0x3fc945,..._0x1212f0){const _0x4e4391=_0x4dda1c;return this[_0x4e4391(0x115)][_0x4e4391(0x10f)](t[_0x4e4391(0x110)])['runOnServer'](_0x29c1db,_0x3fc945,{},..._0x1212f0);}}e['FUniver']['extend'](c);function _0x44f4(){const _0x5f234b=['515ieygms','_injector','FUniver','654484kKchcr','348rVFvsv','239932inWYNd','8pplmIA','1833057fKzzpX','runOnServer','18985920hrWrwo','get','RemoteUniscriptService','7292FJueZn','46784YyCgBU','8538408lZoVSa'];_0x44f4=function(){return _0x5f234b;};return _0x44f4();}
1
+ 'use strict';const _0x528530=_0x2bff;(function(_0x2c0a18,_0x2b02a4){const _0x548a0e=_0x2bff,_0x521ee0=_0x2c0a18();while(!![]){try{const _0x2aa34f=-parseInt(_0x548a0e(0x92))/0x1*(-parseInt(_0x548a0e(0x8e))/0x2)+-parseInt(_0x548a0e(0x90))/0x3*(parseInt(_0x548a0e(0x95))/0x4)+-parseInt(_0x548a0e(0x9a))/0x5+parseInt(_0x548a0e(0x96))/0x6*(parseInt(_0x548a0e(0x98))/0x7)+-parseInt(_0x548a0e(0x8f))/0x8*(-parseInt(_0x548a0e(0x94))/0x9)+-parseInt(_0x548a0e(0x93))/0xa+parseInt(_0x548a0e(0x91))/0xb;if(_0x2aa34f===_0x2b02a4)break;else _0x521ee0['push'](_0x521ee0['shift']());}catch(_0x133245){_0x521ee0['push'](_0x521ee0['shift']());}}}(_0x5097,0xed41a));function _0x2bff(_0x50a2c0,_0xe56d2e){const _0x50974f=_0x5097();return _0x2bff=function(_0x2bffdf,_0x309ed6){_0x2bffdf=_0x2bffdf-0x8c;let _0x3c7a04=_0x50974f[_0x2bffdf];return _0x3c7a04;},_0x2bff(_0x50a2c0,_0xe56d2e);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0x528530(0x8d)]{[_0x528530(0x8c)](_0x1c2aa6,_0x5e9442,..._0x54b3f1){const _0x1bf694=_0x528530;return this[_0x1bf694(0x9b)]['get'](t[_0x1bf694(0x97)])[_0x1bf694(0x8c)](_0x1c2aa6,_0x5e9442,{},..._0x54b3f1);}}function _0x5097(){const _0x513a3b=['8506062ApLUbY','RemoteUniscriptService','7MTANYY','extend','7351730jugEOO','_injector','runOnServer','FUniver','4iYSWbO','8PYcvak','85512rgyQEj','10652785Nhyyje','474028DvcFsK','4973910SuEbDG','7992459gLdkNM','180bYrLjQ'];_0x5097=function(){return _0x513a3b;};return _0x5097();}e[_0x528530(0x8d)][_0x528530(0x99)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e57a9=_0x52db;(function(_0x3a27a6,_0x33dfa9){const _0x3cf3c9=_0x52db,_0x24e4de=_0x3a27a6();while(!![]){try{const _0x21ddaf=-parseInt(_0x3cf3c9(0x321))/0x1*(parseInt(_0x3cf3c9(0x142))/0x2)+parseInt(_0x3cf3c9(0x202))/0x3*(-parseInt(_0x3cf3c9(0x2e0))/0x4)+-parseInt(_0x3cf3c9(0x2c3))/0x5*(-parseInt(_0x3cf3c9(0x1a1))/0x6)+parseInt(_0x3cf3c9(0x279))/0x7*(parseInt(_0x3cf3c9(0x165))/0x8)+-parseInt(_0x3cf3c9(0x1b2))/0x9+-parseInt(_0x3cf3c9(0x252))/0xa*(parseInt(_0x3cf3c9(0x32a))/0xb)+-parseInt(_0x3cf3c9(0x328))/0xc*(-parseInt(_0x3cf3c9(0x307))/0xd);if(_0x21ddaf===_0x33dfa9)break;else _0x24e4de['push'](_0x24e4de['shift']());}catch(_0x4bb80f){_0x24e4de['push'](_0x24e4de['shift']());}}}(_0x3a04,0x1e201));function _0x52db(_0x41d04b,_0x28b01e){const _0x3a04f5=_0x3a04();return _0x52db=function(_0x52db49,_0x730452){_0x52db49=_0x52db49-0xd3;let _0x32aa84=_0x3a04f5[_0x52db49];return _0x32aa84;},_0x52db(_0x41d04b,_0x28b01e);}var We=Object[_0x3e57a9(0x31a)],Ve=(_0x3b7bc6,_0x498a32,_0x515c91)=>_0x498a32 in _0x3b7bc6?We(_0x3b7bc6,_0x498a32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515c91}):_0x3b7bc6[_0x498a32]=_0x515c91,h=(_0x3e4ad8,_0x1a9dea,_0x2e5ce2)=>Ve(_0x3e4ad8,typeof _0x1a9dea!=_0x3e57a9(0x237)?_0x1a9dea+'':_0x1a9dea,_0x2e5ce2);Object[_0x3e57a9(0x31a)](exports,Symbol[_0x3e57a9(0x310)],{'value':_0x3e57a9(0x1c7)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Xe=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ge=require('@univerjs/rpc');var Ke=Object[_0x3e57a9(0x2df)],qe=(_0x31690f,_0x6e620c,_0x48a5a2,_0x3f2828)=>{const _0x30117f=_0x3e57a9;for(var _0x462244=_0x3f2828>0x1?void 0x0:_0x3f2828?Ke(_0x6e620c,_0x48a5a2):_0x6e620c,_0x200898=_0x31690f[_0x30117f(0x29b)]-0x1,_0x29d90f;_0x200898>=0x0;_0x200898--)(_0x29d90f=_0x31690f[_0x200898])&&(_0x462244=_0x29d90f(_0x462244)||_0x462244);return _0x462244;},be=(_0x38cc5e,_0x7d96ee)=>(_0x1c6c21,_0x893fc0)=>_0x7d96ee(_0x1c6c21,_0x893fc0,_0x38cc5e);let ue=class extends a[_0x3e57a9(0x28e)]{constructor(_0x41f6ce,_0x5f533f){const _0x3faf64=_0x3e57a9;super(),this[_0x3faf64(0x1ca)]=_0x41f6ce,this[_0x3faf64(0x2c4)]=_0x5f533f,this[_0x3faf64(0x1b9)]();}[_0x3e57a9(0x1b9)](){const _0x283695=_0x3e57a9,_0x9d0559=this;this[_0x283695(0x204)](this[_0x283695(0x1ca)][_0x283695(0xfa)]({'onBeforePasteImage':async _0x118b12=>{const _0x2f4322=_0x283695,_0x49db31=await _0x9d0559[_0x2f4322(0x2c4)][_0x2f4322(0x303)](_0x118b12);return _0x49db31?{'source':_0x49db31['source'],'imageSourceType':_0x49db31[_0x2f4322(0x192)]}:null;}}));}};ue=qe([be(0x0,E['IDocClipboardService']),be(0x1,Xe[_0x3e57a9(0x206)])],ue);const Oe=[_0x3e57a9(0x210),_0x3e57a9(0x2ef),'green.600',_0x3e57a9(0x2be),_0x3e57a9(0x330),_0x3e57a9(0x359)];class ge extends a['Disposable']{constructor(){const _0x27308c=_0x3e57a9;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x27308c(0x1b7),0x0);}[_0x3e57a9(0x245)](_0x3bac0d){const _0x199737=_0x3e57a9;if(this[_0x199737(0x104)][_0x199737(0x274)](_0x3bac0d))return this[_0x199737(0x104)][_0x199737(0x154)](_0x3bac0d);const _0x1fec27=Oe[this[_0x199737(0x1b7)]];return this[_0x199737(0x1b7)]=(this[_0x199737(0x1b7)]+0x1)%Oe[_0x199737(0x29b)],this[_0x199737(0x104)]['set'](_0x3bac0d,_0x1fec27),_0x1fec27;}}function Pe(_0x2e36e8){const _0x4a3281=_0x3e57a9;let _0x1de3a8='';for(const _0x4f21e0 of _0x2e36e8){const {startOffset:_0x215957,endOffset:_0x3a9541,isActive:_0x442815,rangeType:_0x3f9743,segmentId:_0x382b1f,segmentPage:_0x18a704}=_0x4f21e0;_0x1de3a8[_0x4a3281(0x29b)]&&(_0x1de3a8+=','),_0x1de3a8+=_0x215957+':'+_0x3a9541+':'+(_0x442815?'1':'0')+':'+_0x3f9743+':'+_0x382b1f+':'+_0x18a704;}return _0x1de3a8;}function ze(_0x1c3e90){const _0x15d914=_0x3e57a9,_0x16abaf=_0x1c3e90[_0x15d914(0xea)](','),_0x27a985=[];for(const _0x455eb5 of _0x16abaf){const [_0xe8cb0,_0x528c99,_0xdd1547,_0x1cfebe,_0x174896,_0x53e237]=_0x455eb5[_0x15d914(0xea)](':');_0x27a985[_0x15d914(0x27a)]({'startOffset':Number(_0xe8cb0),'endOffset':Number(_0x528c99),'collapsed':_0xe8cb0===_0x528c99,'isActive':_0xdd1547==='1','rangeType':_0x1cfebe===a[_0x15d914(0xfe)][_0x15d914(0x31b)]?a[_0x15d914(0xfe)][_0x15d914(0x31b)]:a[_0x15d914(0xfe)]['RECT'],'segmentId':typeof _0x174896==_0x15d914(0x26b)?String(_0x174896):'','segmentPage':Number(_0x53e237!=null?_0x53e237:-0x1)});}return _0x27a985[_0x15d914(0x28a)](_0x9a5236=>_0x9a5236[_0x15d914(0x143)])||(_0x27a985[0x0][_0x15d914(0x143)]=!0x0),_0x27a985;}class me extends a[_0x3e57a9(0x28e)]{constructor(){const _0x3aca2c=_0x3e57a9;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,_0x3aca2c(0x1c4),this[_0x3aca2c(0x34b)][_0x3aca2c(0x25b)]());}[_0x3e57a9(0x30a)](_0x40babc){const _0x12d651=_0x3e57a9,{unitID:_0x497321,memberID:_0x569a10,textRanges:_0x339e12}=_0x40babc,_0x721eb8=Pe(_0x339e12);if(_0x721eb8==='')return;const _0x5d35e9={'unitID':_0x497321,'memberID':_0x569a10,'selection':_0x721eb8};this[_0x12d651(0x34b)]['next'](_0x5d35e9);}}var Je=Object[_0x3e57a9(0x2df)],Ze=(_0x4bfdb6,_0x458e6e,_0xdde587,_0x410b31)=>{for(var _0x4c35b9=_0x410b31>0x1?void 0x0:_0x410b31?Je(_0x458e6e,_0xdde587):_0x458e6e,_0x49ce5f=_0x4bfdb6['length']-0x1,_0x133758;_0x49ce5f>=0x0;_0x49ce5f--)(_0x133758=_0x4bfdb6[_0x49ce5f])&&(_0x4c35b9=_0x133758(_0x4c35b9)||_0x4c35b9);return _0x4c35b9;},L=(_0x5a8d55,_0x3aea6a)=>(_0x4a5fac,_0x2923a3)=>_0x3aea6a(_0x4a5fac,_0x2923a3,_0x5a8d55);const Qe=0x12c,et=0x64;let de=class extends a[_0x3e57a9(0x28e)]{constructor(_0x4c0c94,_0x184eed,_0x4c4b64,_0x486c5f,_0x40d644,_0x490520,_0x436200,_0x1a453f,_0x2aab42){const _0xeb63a3=_0x3e57a9;super(),h(this,'_online',!0x1),h(this,_0xeb63a3(0x1b9),!0x1),h(this,_0xeb63a3(0x227),new d['BehaviorSubject'](new Map())),h(this,_0xeb63a3(0x1a7),this[_0xeb63a3(0x227)][_0xeb63a3(0x25b)]()),h(this,_0xeb63a3(0x2cb),new d[(_0xeb63a3(0x241))]([])),h(this,'roomMembers$',this['_roomMembers$'][_0xeb63a3(0x351)](d['debounceTime'](Qe))),h(this,_0xeb63a3(0x135),a[_0xeb63a3(0xf2)](_0x3ee810=>{const _0x267d0f=_0xeb63a3,_0x4217dd={'eventID':m[_0x267d0f(0x240)][_0x267d0f(0x1f7)],'data':{'unitID':this[_0x267d0f(0x324)],'memberID':this[_0x267d0f(0x34a)][_0x267d0f(0x125)](),'selection':Pe(_0x3ee810)}};this[_0x267d0f(0x34a)][_0x267d0f(0x18b)](_0x4217dd,this[_0x267d0f(0x324)]);},et)),(this['unitID']=_0x4c0c94,this['_session']=_0x184eed,this[_0xeb63a3(0x1d2)]=_0x4c4b64,this[_0xeb63a3(0x343)]=_0x486c5f,this[_0xeb63a3(0x23d)]=_0x40d644,this[_0xeb63a3(0x275)]=_0x490520,this[_0xeb63a3(0x273)]=_0x436200,this[_0xeb63a3(0x205)]=_0x1a453f,this['_commandService']=_0x2aab42);}get[_0x3e57a9(0x353)](){const _0x38f1e8=_0x3e57a9;return this['_cursorInfo$'][_0x38f1e8(0x276)]();}get[_0x3e57a9(0xef)](){const _0x428e2c=_0x3e57a9;return this[_0x428e2c(0x2cb)][_0x428e2c(0x276)]();}['dispose'](){const _0x4fa4be=_0x3e57a9;super['dispose'](),this['_cursorInfo$'][_0x4fa4be(0x156)](new Map()),this[_0x4fa4be(0x227)][_0x4fa4be(0xda)](),this[_0x4fa4be(0x2cb)][_0x4fa4be(0x156)]([]),this['_roomMembers$']['complete']();}[_0x3e57a9(0xf9)](){const _0x3c079e=_0x3e57a9;this[_0x3c079e(0x1b9)]||(this['_init']=!0x0,this[_0x3c079e(0x34a)][_0x3c079e(0x1a4)][_0x3c079e(0x351)](d['takeUntil'](this[_0x3c079e(0x149)]))['subscribe'](_0x1c7b2f=>{const _0x40d856=_0x3c079e;_0x1c7b2f===u[_0x40d856(0x25a)][_0x40d856(0x198)]?this[_0x40d856(0x11b)]():this[_0x40d856(0x217)]();}),this[_0x3c079e(0x34a)][_0x3c079e(0x188)][_0x3c079e(0x351)](d[_0x3c079e(0x1e9)](this[_0x3c079e(0x149)]))[_0x3c079e(0x16a)](_0x4aa4e6=>{const _0x512487=_0x3c079e,_0x2e6ed0=_0x4aa4e6[_0x512487(0xf0)];_0x2e6ed0===m[_0x512487(0x240)][_0x512487(0x1f7)]&&this[_0x512487(0x12a)](_0x4aa4e6),_0x2e6ed0===m['CollaborationEvent'][_0x512487(0x2f9)]&&this[_0x512487(0x2c9)](_0x4aa4e6);}),this[_0x3c079e(0x204)](this['_commandService'][_0x3c079e(0x120)](_0x37595=>{const _0x260947=_0x3c079e,_0x5a23ed=_0x37595[_0x260947(0xd7)];_0x5a23ed!=null&&this[_0x260947(0x14e)]&&_0x37595['id']===Y['SetTextSelectionsOperation']['id']&&_0x5a23ed[_0x260947(0x1ea)]===this['unitID']&&_0x5a23ed[_0x260947(0x2b3)]===!0x1&&_0x5a23ed[_0x260947(0x246)]['length']>0x0&&this['_updateLocalCursor'](_0x5a23ed[_0x260947(0x246)]);})),this[_0x3c079e(0x275)][_0x3c079e(0x1c4)]['pipe'](d[_0x3c079e(0x1e9)](this[_0x3c079e(0x149)]))[_0x3c079e(0x16a)](_0x27acad=>{const _0x1bdab4=_0x3c079e;if((_0x27acad==null?void 0x0:_0x27acad[_0x1bdab4(0x324)])!==this[_0x1bdab4(0x324)])return;const _0x572a63={'eventID':m[_0x1bdab4(0x240)]['UPDATE_CURSOR'],'data':_0x27acad};this[_0x1bdab4(0x12a)](_0x572a63);}),this[_0x3c079e(0x204)](this['_commandService'][_0x3c079e(0x120)](_0x5ed983=>{const _0x42c240=_0x3c079e;if(_0x5ed983[_0x42c240(0xd7)]==null)return;const _0x550e6e=_0x5ed983[_0x42c240(0xd7)];if(_0x5ed983['id']!==Y['RichTextEditingMutation']['id']||_0x550e6e[_0x42c240(0x1ea)]!==this[_0x42c240(0x324)])return;const _0x208e96={'id':_0x42c240(0x354),'params':_0x550e6e},_0x29b64a=this[_0x42c240(0x353)];for(const [_0x344f3a,_0x1435b9]of _0x29b64a){const _0x4d93d0={'id':_0x42c240(0x354),'params':{'unitId':this[_0x42c240(0x324)],'actions':null,'textRanges':_0x1435b9['ranges']}},_0x17f354=this[_0x42c240(0x273)][_0x42c240(0x175)](_0x208e96,_0x4d93d0,!0x1);if(m['isTransformMutationFailure'](_0x17f354))throw _0x17f354[_0x42c240(0x189)];_0x29b64a['set'](_0x344f3a,{..._0x1435b9,'ranges':_0x17f354['m2Prime'][_0x42c240(0xd7)][_0x42c240(0x1f8)]});}queueMicrotask(()=>{const _0x1be9c2=_0x42c240;this[_0x1be9c2(0x227)][_0x1be9c2(0x156)](_0x29b64a);});})));}['_onCursorUpdate'](_0x123587){const _0x5216c4=_0x3e57a9;var _0x2e7a15,_0x309603;const {memberID:_0x2de796,selection:_0x53448f}=_0x123587[_0x5216c4(0x160)],_0x2ba9ba=ze(_0x53448f),_0x2a1fdd=(_0x309603=(_0x2e7a15=this['_memberService'][_0x5216c4(0xee)](this[_0x5216c4(0x324)],_0x2de796))==null?void 0x0:_0x2e7a15[_0x5216c4(0x1e8)])!=null?_0x309603:'Unknown\x20user',_0x2e8048={'color':this[_0x5216c4(0x343)][_0x5216c4(0x245)](_0x2de796),'name':_0x2a1fdd,'ranges':_0x2ba9ba},_0x44fe09=this[_0x5216c4(0x353)];_0x44fe09[_0x5216c4(0x1f3)](_0x2de796,_0x2e8048),this[_0x5216c4(0x227)][_0x5216c4(0x156)](_0x44fe09);}[_0x3e57a9(0x2c9)](_0x496f76){const _0x2f4d03=_0x3e57a9,{memberID:_0x210663}=_0x496f76[_0x2f4d03(0x160)],_0x3efbb7=this[_0x2f4d03(0x353)];_0x3efbb7['delete'](_0x210663),this[_0x2f4d03(0x227)][_0x2f4d03(0x156)](_0x3efbb7);}[_0x3e57a9(0x11b)](){const _0x1aca71=_0x3e57a9;var _0x5448c1;if(this[_0x1aca71(0x14e)]=!0x0,((_0x5448c1=this[_0x1aca71(0x205)][_0x1aca71(0x235)]())==null?void 0x0:_0x5448c1[_0x1aca71(0x331)]())!==this[_0x1aca71(0x324)])return;const _0x3cd282=this[_0x1aca71(0x1d2)][_0x1aca71(0x154)](Y[_0x1aca71(0x184)])[_0x1aca71(0x2ea)]();Array['isArray'](_0x3cd282)&&_0x3cd282[_0x1aca71(0x29b)]>0x0&&this[_0x1aca71(0x135)](_0x3cd282);}[_0x3e57a9(0x217)](){this['_online']=!0x1;}};de=Ze([L(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),L(0x3,a['Inject'](ge)),L(0x4,a['Inject'](u[_0x3e57a9(0x173)])),L(0x5,a[_0x3e57a9(0x181)](me)),L(0x6,m[_0x3e57a9(0x1a3)]),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],de);var tt=Object['getOwnPropertyDescriptor'],st=(_0x5805fe,_0x4c424b,_0x290ee0,_0x5ad90f)=>{const _0x4759e0=_0x3e57a9;for(var _0x1c721d=_0x5ad90f>0x1?void 0x0:_0x5ad90f?tt(_0x4c424b,_0x290ee0):_0x4c424b,_0x5b893f=_0x5805fe[_0x4759e0(0x29b)]-0x1,_0x51903b;_0x5b893f>=0x0;_0x5b893f--)(_0x51903b=_0x5805fe[_0x5b893f])&&(_0x1c721d=_0x51903b(_0x1c721d)||_0x1c721d);return _0x1c721d;},A=(_0x4b3a31,_0x34f5f4)=>(_0xc7ef27,_0x13d63e)=>_0x34f5f4(_0xc7ef27,_0x13d63e,_0x4b3a31);const it=0x12c,nt=0x64,rt=()=>{let _0x795177=[],_0x419907=!0x1;return _0x1f9f72=>{const _0x48a888=_0x52db;_0x795177[_0x48a888(0x27a)](_0x1f9f72),_0x419907||(_0x419907=!0x0,setTimeout(()=>{const _0x44ab1a=_0x48a888;_0x795177[_0x44ab1a(0x191)](_0x4cc528=>_0x4cc528()),_0x795177=[],_0x419907=!0x1;}));};};let Se=class extends a[_0x3e57a9(0x28e)]{constructor(_0x5d38ac,_0x57e48a,_0x13f38b,_0xc639bb,_0x357fc2,_0x21ed67,_0x45cab7,_0xe598a7){const _0x3dd811=_0x3e57a9;super(),h(this,_0x3dd811(0x14e),!0x1),h(this,'_init',!0x1),h(this,_0x3dd811(0x227),new d[(_0x3dd811(0x241))](new Map())),h(this,_0x3dd811(0x1a7),this['_cursorInfo$'][_0x3dd811(0x25b)]()),h(this,_0x3dd811(0x2cb),new d[(_0x3dd811(0x241))]([])),h(this,_0x3dd811(0x1a6),this['_roomMembers$'][_0x3dd811(0x351)](d[_0x3dd811(0x215)](it))),h(this,'_updateLocalCursor',a['debounce']((_0x449050,_0x3fd81d)=>{const _0xc18863=_0x3dd811,_0x1af1e5={'eventID':m[_0xc18863(0x240)][_0xc18863(0x1f7)],'data':{'unitID':this['unitID'],'memberID':this[_0xc18863(0x34a)][_0xc18863(0x125)](),'selection':Ee['serializeRangeWithSheet'](_0x449050,_0x3fd81d[_0xc18863(0x13b)])}};this[_0xc18863(0x34a)][_0xc18863(0x18b)](_0x1af1e5,this[_0xc18863(0x324)]);},nt)),(this['unitID']=_0x5d38ac,this[_0x3dd811(0x34a)]=_0x57e48a,this[_0x3dd811(0x1d2)]=_0x13f38b,this['_colorAssignService']=_0xc639bb,this[_0x3dd811(0x23d)]=_0x357fc2,this['_univerInstanceService']=_0x21ed67,this[_0x3dd811(0x1b3)]=_0x45cab7,this[_0x3dd811(0x257)]=_0xe598a7);}get[_0x3e57a9(0x353)](){const _0x1a2967=_0x3e57a9;return this['_cursorInfo$'][_0x1a2967(0x276)]();}get[_0x3e57a9(0xef)](){const _0x38629b=_0x3e57a9;return this[_0x38629b(0x2cb)][_0x38629b(0x276)]();}[_0x3e57a9(0x294)](){const _0x20bf2b=_0x3e57a9;super[_0x20bf2b(0x294)](),this[_0x20bf2b(0x227)][_0x20bf2b(0x156)](new Map()),this[_0x20bf2b(0x227)]['complete'](),this[_0x20bf2b(0x2cb)][_0x20bf2b(0x156)]([]),this[_0x20bf2b(0x2cb)]['complete']();}[_0x3e57a9(0xf9)](){const _0x44999c=_0x3e57a9;this[_0x44999c(0x1b9)]||(this[_0x44999c(0x1b9)]=!0x0,this[_0x44999c(0x34a)][_0x44999c(0x1a4)][_0x44999c(0x351)](d[_0x44999c(0x1e9)](this[_0x44999c(0x149)]))[_0x44999c(0x16a)](_0x388ff5=>{const _0x2b10e8=_0x44999c;_0x388ff5===u[_0x2b10e8(0x25a)][_0x2b10e8(0x198)]?this[_0x2b10e8(0x11b)]():this[_0x2b10e8(0x217)]();}),this['_session'][_0x44999c(0x188)][_0x44999c(0x351)](d['takeUntil'](this[_0x44999c(0x149)]))[_0x44999c(0x16a)](_0x157e3a=>{const _0xcaf6fa=_0x44999c,_0x34d7f0=_0x157e3a[_0xcaf6fa(0xf0)];_0x34d7f0===m[_0xcaf6fa(0x240)][_0xcaf6fa(0x1f7)]&&this['_onCursorUpdate'](_0x157e3a),_0x34d7f0===m[_0xcaf6fa(0x240)][_0xcaf6fa(0x2f9)]&&this[_0xcaf6fa(0x2c9)](_0x157e3a);}),this[_0x44999c(0x136)](),this['disposeWithMe'](this['_commandService'][_0x44999c(0x120)](_0xf49f83=>{const _0x2e37d5=_0x44999c;if(this[_0x2e37d5(0x14e)]&&_0xf49f83['id']===g[_0x2e37d5(0x1de)]['id']&&_0xf49f83[_0x2e37d5(0xd7)]['unitId']===this[_0x2e37d5(0x324)]){const _0x5b5e98=_0xf49f83[_0x2e37d5(0xd7)];this[_0x2e37d5(0x135)](_0x5b5e98['subUnitId'],_0x5b5e98['selections'][0x0]);}})));}[_0x3e57a9(0x12a)](_0xb692a0){const _0x271b72=_0x3e57a9;var _0x2843cd,_0x4da36a;const {memberID:_0x1eb502,selection:_0x4ab2b1}=_0xb692a0[_0x271b72(0x160)],{sheetName:_0x4d9482,range:_0x4960a0}=Ee['deserializeRangeWithSheet'](_0x4ab2b1),_0x5a1bad={'name':(_0x4da36a=(_0x2843cd=this[_0x271b72(0x23d)]['getMember'](this[_0x271b72(0x324)],_0x1eb502))==null?void 0x0:_0x2843cd[_0x271b72(0x1e8)])!=null?_0x4da36a:_0x271b72(0x2e4),'range':this[_0x271b72(0x271)](_0x4d9482,_0x4960a0),'sheetID':_0x4d9482,'color':this[_0x271b72(0x343)][_0x271b72(0x245)](_0x1eb502),'selection':_0x4ab2b1},_0x24a45e=this[_0x271b72(0x353)];_0x24a45e[_0x271b72(0x1f3)](_0x1eb502,_0x5a1bad),this[_0x271b72(0x227)][_0x271b72(0x156)](_0x24a45e);}[_0x3e57a9(0x2c9)](_0x690d0f){const _0x26eb2a=_0x3e57a9,{memberID:_0x4e1a97}=_0x690d0f[_0x26eb2a(0x160)],_0x45c87d=this['cursorInfo'];_0x45c87d[_0x26eb2a(0x1ad)](_0x4e1a97),this['_cursorInfo$'][_0x26eb2a(0x156)](_0x45c87d);}[_0x3e57a9(0x271)](_0x46cf37,_0x565dda){const _0x517c86=_0x3e57a9;var _0x3a5783,_0x5da840;const _0x5586a5=(_0x5da840=(_0x3a5783=this[_0x517c86(0x205)]['getUniverSheetInstance'](this[_0x517c86(0x324)]))==null?void 0x0:_0x3a5783['getSheetBySheetId'](_0x46cf37))==null?void 0x0:_0x5da840[_0x517c86(0x29f)]();return(_0x5586a5==null?void 0x0:_0x5586a5[_0x517c86(0x284)](_0x39394d=>a[_0x517c86(0x182)][_0x517c86(0x12c)](_0x39394d,_0x565dda)))||_0x565dda;}[_0x3e57a9(0x136)](){const _0x3b1cd8=_0x3e57a9,_0x242aed=new a['DisposableCollection'](),_0x495dcb=rt(),_0x19ec48=()=>{const _0x225f30=_0x52db;_0x242aed[_0x225f30(0x294)]();const _0x3455c6=(_0x3702ea,_0x1224ce,_0x27e222,_0x2a3b2e)=>{const _0x5c98b8=_0x225f30;let _0x5c492d=[];switch(_0x3702ea['id']){case g['EffectRefRangId'][_0x5c98b8(0x190)]:{_0x5c492d=g[_0x5c98b8(0x239)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)]['DeleteRangeMoveUpCommandId']:{_0x5c492d=g[_0x5c98b8(0x1dd)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x207)]:{_0x5c492d=g[_0x5c98b8(0x247)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x2b5)]:{_0x5c492d=g[_0x5c98b8(0x304)](_0x3702ea,_0x2a3b2e);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5c492d=g[_0x5c98b8(0x18e)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x1da)]:{_0x5c492d=g[_0x5c98b8(0x2ce)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)]['MoveRangeCommandId']:{_0x5c492d=g[_0x5c98b8(0x1e1)](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x27c)]:{_0x5c492d=g['handleIRemoveCol'](_0x3702ea,_0x2a3b2e);break;}case g[_0x5c98b8(0x130)][_0x5c98b8(0x212)]:{_0x5c492d=g[_0x5c98b8(0x1a0)](_0x3702ea,_0x2a3b2e);break;}}const _0x3e9645=g[_0x5c98b8(0x170)](_0x5c492d,_0x2a3b2e),_0x137624=this['cursorInfo']['get'](_0x1224ce);if(_0x137624&&_0x3e9645){const _0x31369d={..._0x137624,'range':_0x3e9645};this[_0x5c98b8(0x353)][_0x5c98b8(0x1f3)](_0x1224ce,_0x31369d),_0x495dcb(()=>{const _0x53f808=_0x5c98b8,_0x22d416=this['_refRangeService'][_0x53f808(0x2ff)](_0x3e9645,_0x1b2953=>(_0x22d416[_0x53f808(0x294)](),_0x3455c6(_0x1b2953,_0x1224ce,_0x27e222,_0x3e9645)));_0x242aed[_0x53f808(0x1f1)](_0x22d416);});}return{'redos':[],'undos':[]};};this[_0x225f30(0x353)][_0x225f30(0x191)]((_0x174807,_0x48a712)=>{const _0x1a1e33=_0x225f30,{range:_0x109f12,sheetID:_0x2ad759}=_0x174807,_0x1546d9=this[_0x1a1e33(0x257)]['registerRefRange'](_0x109f12,_0x4781b4=>(_0x1546d9[_0x1a1e33(0x294)](),_0x3455c6(_0x4781b4,_0x48a712,_0x2ad759,_0x109f12)));_0x242aed['add'](_0x1546d9);});};this[_0x3b1cd8(0x204)](a['toDisposable'](this['_cursorInfo$'][_0x3b1cd8(0x16a)](()=>{_0x19ec48();})));}[_0x3e57a9(0x11b)](){const _0x23318c=_0x3e57a9;var _0x2a6c5c,_0x294589;if(this[_0x23318c(0x14e)]=!0x0,((_0x2a6c5c=this[_0x23318c(0x205)][_0x23318c(0x235)]())==null?void 0x0:_0x2a6c5c[_0x23318c(0x331)]())!==this[_0x23318c(0x324)])return;const _0x33b90e=(_0x294589=this[_0x23318c(0x1d2)][_0x23318c(0x154)](g[_0x23318c(0x282)])[_0x23318c(0x315)]())==null?void 0x0:_0x294589[0x0],_0x3f6e8d=this[_0x23318c(0x205)][_0x23318c(0x2aa)](a[_0x23318c(0x193)][_0x23318c(0x234)])[_0x23318c(0x1d3)]();_0x33b90e&&_0x3f6e8d&&this[_0x23318c(0x135)](_0x3f6e8d[_0x23318c(0x1aa)](),_0x33b90e);}[_0x3e57a9(0x217)](){const _0x15ed1a=_0x3e57a9;this[_0x15ed1a(0x14e)]=!0x1;}};Se=st([A(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),A(0x3,a[_0x3e57a9(0x181)](ge)),A(0x4,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x173)])),A(0x5,a[_0x3e57a9(0xf4)]),A(0x6,a[_0x3e57a9(0x1c2)]),A(0x7,a[_0x3e57a9(0x181)](g[_0x3e57a9(0x219)]))],Se);var ot=Object[_0x3e57a9(0x2df)],at=(_0x32f022,_0x3d3e05,_0x114700,_0x878192)=>{const _0x26af93=_0x3e57a9;for(var _0x96bb95=_0x878192>0x1?void 0x0:_0x878192?ot(_0x3d3e05,_0x114700):_0x3d3e05,_0x5e6dd0=_0x32f022[_0x26af93(0x29b)]-0x1,_0x2a8219;_0x5e6dd0>=0x0;_0x5e6dd0--)(_0x2a8219=_0x32f022[_0x5e6dd0])&&(_0x96bb95=_0x2a8219(_0x96bb95)||_0x96bb95);return _0x96bb95;},ie=(_0x10eec9,_0x1831b7)=>(_0xa70455,_0x4c99ae)=>_0x1831b7(_0xa70455,_0x4c99ae,_0x10eec9);let x=class extends a[_0x3e57a9(0x28e)]{constructor(_0x4e2b78,_0x19383a,_0x1c79f2){const _0x51968e=_0x3e57a9;super(),h(this,'_entities',new Map()),h(this,_0x51968e(0x139),new d['Subject']()),(this['_univerInstanceService']=_0x4e2b78,this[_0x51968e(0x1d2)]=_0x19383a,this['_collabSessionService']=_0x1c79f2,this[_0x51968e(0x1b9)]());}[_0x3e57a9(0x294)](){const _0x898ae1=_0x3e57a9;super[_0x898ae1(0x294)](),this[_0x898ae1(0x139)][_0x898ae1(0xda)](),this['_entities'][_0x898ae1(0x191)](_0xbb0e9b=>_0xbb0e9b['dispose']());}[_0x3e57a9(0x200)](_0x12f0df){const _0x30e6e3=_0x3e57a9;return this[_0x30e6e3(0x22f)][_0x30e6e3(0x274)](_0x12f0df)?this[_0x30e6e3(0x22f)][_0x30e6e3(0x154)](_0x12f0df)[_0x30e6e3(0x1a7)]:this[_0x30e6e3(0x139)]['pipe'](d['filter'](_0x32dfa6=>_0x32dfa6[_0x30e6e3(0x324)]===_0x12f0df),d[_0x30e6e3(0x10f)](_0x4236ae=>_0x4236ae[_0x30e6e3(0x1a7)]));}[_0x3e57a9(0x1b9)](){const _0x38ef73=_0x3e57a9;this[_0x38ef73(0x205)][_0x38ef73(0x283)](a[_0x38ef73(0x193)][_0x38ef73(0x234)])['pipe'](d[_0x38ef73(0x1e9)](this[_0x38ef73(0x149)]))[_0x38ef73(0x16a)](async _0x5c3285=>{const _0x410ba5=_0x38ef73,_0x2d80c3=_0x5c3285['getUnitId'](),_0x458709=await this['_startSheetCollabCursor'](_0x2d80c3);this[_0x410ba5(0x139)][_0x410ba5(0x156)](_0x458709),this[_0x410ba5(0x22f)][_0x410ba5(0x1f3)](_0x2d80c3,_0x458709);}),this[_0x38ef73(0x205)]['getTypeOfUnitAdded$'](a[_0x38ef73(0x193)][_0x38ef73(0x1e6)])[_0x38ef73(0x351)](d[_0x38ef73(0x1e9)](this[_0x38ef73(0x149)]))['pipe'](d[_0x38ef73(0x231)](_0x47a965=>!_0x47a965[_0x38ef73(0x331)]()['startsWith']('__')))[_0x38ef73(0x16a)](async _0x32813d=>{const _0x4e490d=_0x38ef73,_0x4912ec=_0x32813d['getUnitId'](),_0x16523e=await this['_startDocCollabCursor'](_0x4912ec);this['_entityInit$'][_0x4e490d(0x156)](_0x16523e),this[_0x4e490d(0x22f)]['set'](_0x4912ec,_0x16523e);}),d[_0x38ef73(0x1fd)](this[_0x38ef73(0x205)][_0x38ef73(0x223)](a['UniverInstanceType'][_0x38ef73(0x1e6)]),this[_0x38ef73(0x205)][_0x38ef73(0x223)](a[_0x38ef73(0x193)]['UNIVER_SHEET']))[_0x38ef73(0x351)](d['takeUntil'](this[_0x38ef73(0x149)]))[_0x38ef73(0x16a)](_0x78aad1=>{const _0xa94fe0=_0x38ef73,_0x16410f=_0x78aad1[_0xa94fe0(0x331)](),_0x4e5776=this[_0xa94fe0(0x22f)]['get'](_0x16410f);_0x4e5776&&(_0x4e5776[_0xa94fe0(0x294)](),this[_0xa94fe0(0x22f)][_0xa94fe0(0x1ad)](_0x16410f));});}async[_0x3e57a9(0x2a5)](_0x1e1621){const _0x20ac90=_0x3e57a9,_0x15f56d=await this[_0x20ac90(0x325)][_0x20ac90(0x123)](_0x1e1621),_0x4e2e51=this['_injector']['createInstance'](Se,_0x1e1621,_0x15f56d);return _0x4e2e51[_0x20ac90(0xf9)](),_0x4e2e51;}async['_startDocCollabCursor'](_0x3be6c2){const _0x53dd16=_0x3e57a9,_0xf57bb4=await this[_0x53dd16(0x325)]['requireSession'](_0x3be6c2),_0x387721=this[_0x53dd16(0x1d2)]['createInstance'](de,_0x3be6c2,_0xf57bb4);return _0x387721[_0x53dd16(0xf9)](),_0x387721;}};x=at([ie(0x0,a[_0x3e57a9(0xf4)]),ie(0x1,a['Inject'](a[_0x3e57a9(0x30e)])),ie(0x2,a['Inject'](u[_0x3e57a9(0xe5)]))],x);const W=0x14,Te=0xc8,ne=0x4,ct=0x5;function lt(_0x59c5b4,_0x4842f2){const _0x1db876=_0x3e57a9;let {radius:_0x1eeb79,width:_0x1f230b,height:_0x3c62b0}=_0x4842f2;_0x1eeb79=_0x1eeb79!=null?_0x1eeb79:0x0,_0x1f230b=_0x1f230b!=null?_0x1f230b:0x1e,_0x3c62b0=_0x3c62b0!=null?_0x3c62b0:0x1e;let _0x4afe00=0x0,_0x3c969b=0x0,_0x5d7c7d=0x0;_0x4afe00=_0x3c969b=_0x5d7c7d=Math[_0x1db876(0x1e4)](_0x1eeb79,_0x1f230b/0x2,_0x3c62b0/0x2),_0x59c5b4[_0x1db876(0x19d)](),_0x59c5b4[_0x1db876(0x2b6)](_0x4afe00,0x0),_0x59c5b4[_0x1db876(0x228)](_0x1f230b-_0x3c969b,0x0),_0x59c5b4[_0x1db876(0x144)](_0x1f230b-_0x3c969b,_0x3c969b,_0x3c969b,Math['PI']*0x3/0x2,0x0,!0x1),_0x59c5b4[_0x1db876(0x228)](_0x1f230b,_0x3c62b0-_0x5d7c7d),_0x59c5b4[_0x1db876(0x144)](_0x1f230b-_0x5d7c7d,_0x3c62b0-_0x5d7c7d,_0x5d7c7d,0x0,Math['PI']/0x2,!0x1),_0x59c5b4[_0x1db876(0x228)](0x0,_0x3c62b0),_0x59c5b4[_0x1db876(0x228)](0x0,_0x4afe00),_0x59c5b4[_0x1db876(0x144)](_0x4afe00,_0x4afe00,_0x4afe00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59c5b4['closePath'](),_0x4842f2['fill']&&(_0x59c5b4[_0x1db876(0x196)](),_0x59c5b4['fillStyle']=_0x4842f2[_0x1db876(0x16d)],_0x4842f2['fillRule']===_0x1db876(0x16e)?_0x59c5b4[_0x1db876(0x16d)](_0x1db876(0x16e)):_0x59c5b4[_0x1db876(0x16d)](),_0x59c5b4['restore']());}class ee extends p[_0x3e57a9(0x25c)]{constructor(_0x33cac1,_0x29eb08){const _0x468820=_0x3e57a9;super(_0x33cac1,_0x29eb08),h(this,_0x468820(0x1d1)),h(this,'text'),(this[_0x468820(0x1d1)]=_0x29eb08==null?void 0x0:_0x29eb08['color'],this[_0x468820(0x2af)]=_0x29eb08==null?void 0x0:_0x29eb08[_0x468820(0x2af)]);}static['drawWith'](_0x40f2cd,_0x4e6bdc){const _0x39c7e3=_0x3e57a9,{text:_0x42f5e2,color:_0x3f0fa1}=_0x4e6bdc;_0x40f2cd['save'](),_0x40f2cd[_0x39c7e3(0x292)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xc42b2e=_0x40f2cd[_0x39c7e3(0x2db)](_0x42f5e2)['width'],_0xe8dce3=Math[_0x39c7e3(0x1e4)](_0xc42b2e+0x2*ne,Te);lt(_0x40f2cd,{'height':W,'radius':0x4,'width':_0xe8dce3,'fill':_0x3f0fa1}),_0x40f2cd[_0x39c7e3(0x33b)]='#FFF';const _0x5f17a5=ne,_0x329eb9=W-ct,_0x3dd977=Te-0x2*ne;if(_0xc42b2e>_0x3dd977){let _0x34af8c='',_0x3cd0f1=0x0;for(const _0x55e2c7 of _0x42f5e2){const _0x34e9ca=_0x40f2cd[_0x39c7e3(0x2db)](_0x55e2c7)[_0x39c7e3(0x1e3)];if(_0x3cd0f1+_0x34e9ca<=_0x3dd977-_0x40f2cd[_0x39c7e3(0x2db)](_0x39c7e3(0x281))[_0x39c7e3(0x1e3)])_0x34af8c+=_0x55e2c7,_0x3cd0f1+=_0x34e9ca;else{_0x34af8c+='...';break;}}_0x40f2cd[_0x39c7e3(0x19b)](_0x34af8c,_0x5f17a5,_0x329eb9);}else _0x40f2cd[_0x39c7e3(0x19b)](_0x42f5e2,_0x5f17a5,_0x329eb9);_0x40f2cd[_0x39c7e3(0x295)]();}[_0x3e57a9(0x302)](_0x438550){const _0x317020=_0x3e57a9;ee[_0x317020(0x1c0)](_0x438550,this);}}const re=_0x3e57a9(0xeb),_t=_0x3e57a9(0x21c),ht=_0x3e57a9(0x102),k=0x6,ut=1.5,oe=0x4,dt=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class Re{constructor(_0xa37374,_0x406394,_0x519b2a,_0x45641f){const _0x46b4a6=_0x3e57a9;h(this,_0x46b4a6(0x11d),[]),h(this,_0x46b4a6(0x23e),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x46b4a6(0x14d),null),h(this,_0x46b4a6(0x31c),null),(this['_cursor']=_0xa37374,this[_0x46b4a6(0x180)]=_0x406394,this[_0x46b4a6(0x1a9)]=_0x519b2a,this[_0x46b4a6(0x2f3)]=_0x45641f,this['_render']());}set[_0x3e57a9(0x17f)](_0x31db08){const _0x21fdf2=_0x3e57a9;_0x31db08?(this[_0x21fdf2(0x179)]&&this[_0x21fdf2(0x179)][_0x21fdf2(0x1b5)](),this[_0x21fdf2(0x2dd)]&&this[_0x21fdf2(0x2dd)][_0x21fdf2(0x148)]()):(this['_anchorDot']&&this[_0x21fdf2(0x179)][_0x21fdf2(0x148)](),this[_0x21fdf2(0x2dd)]&&this[_0x21fdf2(0x2dd)][_0x21fdf2(0x1b5)]());}[_0x3e57a9(0x294)](){const _0x595278=_0x3e57a9;for(const _0x273c1a of this['_shapes'])_0x273c1a['dispose']();this['_textBubble']&&this[_0x595278(0x2dd)][_0x595278(0x294)](),this[_0x595278(0x179)]&&this[_0x595278(0x179)][_0x595278(0x294)](),this[_0x595278(0x23e)]&&this[_0x595278(0x23e)][_0x595278(0x294)](),this['_eventUnsubscribe']&&this[_0x595278(0x31c)]();}[_0x3e57a9(0x107)](){const _0x1482e3=_0x3e57a9;var _0x2dd343;const {_docSkeleton:_0xd8b323,_document:_0x1554ba}=this,{color:_0x5cae2b,name:_0x124661,ranges:_0x688e2f}=this[_0x1482e3(0x20f)],_0x305ec4=_0x1554ba[_0x1482e3(0x103)](),{docsLeft:_0x2984ac,docsTop:_0x46febc}=_0x305ec4,_0x3f0006=new E[(_0x1482e3(0xe9))](_0x305ec4,_0xd8b323);for(const {startOffset:_0x377c11,endOffset:_0x453f3a,rangeType:_0x2b5824,segmentId:_0x2e0315,segmentPage:_0x54e3a5,collapsed:_0x70f7e3,isActive:_0x7538d5}of _0x688e2f){const _0x41035f=_0xd8b323[_0x1482e3(0x18f)](_0x377c11,!0x0,_0x2e0315,_0x54e3a5);let _0x4d0080=_0xd8b323[_0x1482e3(0x18f)](_0x453f3a,!0x0,_0x2e0315,_0x54e3a5);if(_0x4d0080==null&&(_0x4d0080=_0xd8b323[_0x1482e3(0x18f)](_0x453f3a-0x1,!0x1,_0x2e0315,_0x54e3a5)),_0x7538d5){const {contentBoxPointGroup:_0x24d21b}=_0x3f0006[_0x1482e3(0x269)](_0x4d0080,_0x4d0080);if(_0x24d21b[_0x1482e3(0x29b)]===0x0)continue;this[_0x1482e3(0x199)](_0x5cae2b,_0x24d21b,_0x2984ac,_0x46febc,_0x124661),this[_0x1482e3(0x31c)]=this[_0x1482e3(0x151)]();}if(_0x41035f&&_0x4d0080){if(_0x2b5824===a[_0x1482e3(0xfe)][_0x1482e3(0x335)]){const _0x12c413=new E[(_0x1482e3(0x2a6))](_0x305ec4,_0xd8b323),{pointGroup:_0x4851d8}=(_0x2dd343=_0x12c413['getRangePointData'](_0x41035f,_0x4d0080))!=null?_0x2dd343:{};if(_0x4851d8==null||_0x4851d8['length']===0x0)continue;this['_drawRectRange'](_0x5cae2b,_0x4851d8,_0x2984ac,_0x46febc);}else{if(!_0x70f7e3){const {borderBoxPointGroup:_0x3cc34d}=_0x3f0006[_0x1482e3(0x269)](_0x41035f,_0x4d0080);if(_0x3cc34d[_0x1482e3(0x29b)]===0x0)continue;this['_drawTextRange'](_0x5cae2b,_0x3cc34d,_0x2984ac,_0x46febc);}}}}}[_0x3e57a9(0x199)](_0x2b1572,_0xa21189,_0x12e0a0,_0x20e267,_0x2f48c4){const _0x51b3ac=_0x3e57a9,_0x51d287=this[_0x51b3ac(0x1eb)](_0xa21189),{left:_0x27d08a,top:_0x3bdf95,height:_0x410e8e}=_0x51d287,_0x362c80=this[_0x51b3ac(0x254)](),_0x5bb4ea=dt/_0x362c80,_0x292b1e=new p[(_0x51b3ac(0x15a))](re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267,'height':_0x410e8e,'width':ut,'fill':_0x2b1572||p[_0x51b3ac(0x157)](a[_0x51b3ac(0x18c)]['black'],0x0),'strokeWidth':_0x5bb4ea,'stroke':St,'evented':!0x0});this['_anchor']=_0x292b1e,this[_0x51b3ac(0x180)]['addObject'](_0x292b1e,E[_0x51b3ac(0x214)]);const _0x1cf0d2=new p[(_0x51b3ac(0x15a))](re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267-oe/0x2,'height':oe,'width':oe,'fill':_0x2b1572||p[_0x51b3ac(0x157)](a['COLORS'][_0x51b3ac(0x2ab)],0x0),'strokeWidth':0x0,'stroke':_0x2b1572||p['getColor'](a['COLORS']['black'],0x0),'evented':!0x1});this[_0x51b3ac(0x179)]=_0x1cf0d2,this['_scene']['addObject'](_0x1cf0d2,E[_0x51b3ac(0x214)]);const _0x2d0217=new ee(re+a[_0x51b3ac(0x2bc)](k),{'left':_0x27d08a+_0x12e0a0-_0x5bb4ea,'top':_0x3bdf95+_0x20e267-W,'text':_0x2f48c4,'color':_0x2b1572});this['_textBubble']=_0x2d0217,this[_0x51b3ac(0x180)][_0x51b3ac(0x1cd)](_0x2d0217,E['TEXT_RANGE_LAYER_INDEX']),this[_0x51b3ac(0x17f)]=!0x1;}[_0x3e57a9(0x151)](){const _0x485a5d=_0x3e57a9,_0x3b3c23=this[_0x485a5d(0x23e)][_0x485a5d(0x100)][_0x485a5d(0x34e)](()=>{const _0x379a5b=_0x485a5d;this[_0x379a5b(0x17f)]=!0x0;}),_0x3293f1=this['_anchor'][_0x485a5d(0x23a)]['subscribeEvent'](()=>{const _0x1cc39c=_0x485a5d;this[_0x1cc39c(0x14d)]&&clearTimeout(this[_0x1cc39c(0x14d)]),this[_0x1cc39c(0x14d)]=setTimeout(()=>{const _0x32b889=_0x1cc39c;this[_0x32b889(0x17f)]=!0x1;},0x7d0);});return()=>{const _0x3b9eab=_0x485a5d;_0x3b3c23[_0x3b9eab(0x12b)](),_0x3293f1['unsubscribe']();};}['_drawTextRange'](_0x443a18,_0x25e284,_0x674a35,_0x35ca25){const _0x111459=_0x3e57a9,_0x5eb362=new a[(_0x111459(0x161))](_0x443a18)[_0x111459(0x21f)](0.2)[_0x111459(0x337)](),_0x32deeb=new p[(_0x111459(0x2e9))](_t+a[_0x111459(0x2bc)](k),{'pointsGroup':_0x25e284,'fill':_0x5eb362||p[_0x111459(0x157)](a[_0x111459(0x18c)]['black'],0.2),'left':_0x674a35,'top':_0x35ca25,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x111459(0x11d)][_0x111459(0x27a)](_0x32deeb),this['_scene']['addObject'](_0x32deeb,E[_0x111459(0x214)]);}[_0x3e57a9(0x311)](_0x563341,_0x49f16f,_0x52d44c,_0x484e78){const _0x58ffed=_0x3e57a9,_0x242776=new a[(_0x58ffed(0x161))](_0x563341)[_0x58ffed(0x21f)](0.2)[_0x58ffed(0x337)](),_0x566776=new p[(_0x58ffed(0x2e9))](ht+a[_0x58ffed(0x2bc)](k),{'pointsGroup':_0x49f16f,'fill':_0x242776||p[_0x58ffed(0x157)](a[_0x58ffed(0x18c)]['black'],0.2),'left':_0x52d44c,'top':_0x484e78,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x58ffed(0x27a)](_0x566776),this[_0x58ffed(0x180)][_0x58ffed(0x1cd)](_0x566776,E['TEXT_RANGE_LAYER_INDEX']);}[_0x3e57a9(0x1eb)](_0x446415){const _0x382570=_0x446415[0x0],_0x38b264=_0x382570[0x0],_0x4ad231=_0x382570[0x2],{x:_0xa528b2,y:_0x40c840}=_0x38b264,{x:_0x4ac2b1,y:_0x171710}=_0x4ad231;return{'left':_0xa528b2,'top':_0x40c840,'width':_0x4ac2b1-_0xa528b2,'height':_0x171710-_0x40c840};}[_0x3e57a9(0x254)](){const _0x2a14f8=_0x3e57a9,{scaleX:_0x15055e,scaleY:_0x3eadb5}=this[_0x2a14f8(0x180)][_0x2a14f8(0x2fd)]();return Math['max'](_0x15055e,_0x3eadb5);}}var ft=Object[_0x3e57a9(0x2df)],It=(_0x31ed71,_0xf96eaf,_0xa702c4,_0x3b4f22)=>{for(var _0x4d8117=_0x3b4f22>0x1?void 0x0:_0x3b4f22?ft(_0xf96eaf,_0xa702c4):_0xf96eaf,_0x2523d3=_0x31ed71['length']-0x1,_0xf5c818;_0x2523d3>=0x0;_0x2523d3--)(_0xf5c818=_0x31ed71[_0x2523d3])&&(_0x4d8117=_0xf5c818(_0x4d8117)||_0x4d8117);return _0x4d8117;},V=(_0x55a51a,_0x34c6af)=>(_0x4eefa3,_0xaf2f71)=>_0x34c6af(_0x4eefa3,_0xaf2f71,_0x55a51a);let fe=class extends a[_0x3e57a9(0x28e)]{constructor(_0x17bb9d,_0x5a8c8b,_0x5a2ec5,_0x13bbb6,_0x1590e1){const _0x31982f=_0x3e57a9;super(),h(this,'_cursorShapes',[]),h(this,_0x31982f(0x1fa),[]),(this[_0x31982f(0x109)]=_0x17bb9d,this[_0x31982f(0x261)]=_0x5a8c8b,this[_0x31982f(0x272)]=_0x5a2ec5,this['_commandService']=_0x13bbb6,this[_0x31982f(0x106)]=_0x1590e1,this[_0x31982f(0x1b9)]());}[_0x3e57a9(0x1b9)](){const _0x242eca=_0x3e57a9,_0x765ef2=this['_context'][_0x242eca(0x1ea)],_0x128247=this['_docSkeletonManagerService'];this['disposeWithMe'](d[_0x242eca(0x174)]([this[_0x242eca(0x272)][_0x242eca(0x200)](_0x765ef2),this['_themeService']['currentTheme$']])[_0x242eca(0x351)]($[_0x242eca(0x11a)](([_0x24d6fb,_0x113c23])=>({'skeleton':_0x128247['getSkeleton'](),'cursors':[..._0x24d6fb[_0x242eca(0x1e7)]()][_0x242eca(0x2eb)](_0x3703d2=>({..._0x3703d2,'color':this['_themeService'][_0x242eca(0x203)](_0x3703d2['color'])}))})))[_0x242eca(0x16a)](_0x2231ab=>{const _0x439a97=_0x242eca;if(this[_0x439a97(0x1a8)](),_0x2231ab){const {skeleton:_0x19311c,cursors:_0x471f1c}=_0x2231ab;this[_0x439a97(0x117)](_0x19311c,_0x471f1c);}})),this[_0x242eca(0x2d4)](),this[_0x242eca(0xd3)]();}[_0x3e57a9(0x117)](_0xb6e553,_0x66f8d3){const _0x316729=_0x3e57a9,{scene:_0x3831cd,mainComponent:_0x1ddc18}=this['_context'],_0x134c6c=_0x66f8d3['map'](_0x228578=>new Re(_0x228578,_0x3831cd,_0xb6e553,_0x1ddc18));this[_0x316729(0x1b0)]=_0x134c6c,this['_cursors']=_0x66f8d3;}[_0x3e57a9(0x186)](){const _0x1b8d5e=_0x3e57a9;this['_removeCollabCursors']();const {scene:_0x12892c,mainComponent:_0x3e85c8}=this[_0x1b8d5e(0x109)],_0x8b1d0c=this['_docSkeletonManagerService'][_0x1b8d5e(0x1c8)](),_0x343227=this['_cursors'][_0x1b8d5e(0x11a)](_0x14053e=>new Re(_0x14053e,_0x12892c,_0x8b1d0c,_0x3e85c8));this[_0x1b8d5e(0x1b0)]=_0x343227;}[_0x3e57a9(0x1a8)](){const _0x98f44f=_0x3e57a9;this[_0x98f44f(0x1b0)][_0x98f44f(0x191)](_0x16dc67=>_0x16dc67['dispose']()),this[_0x98f44f(0x1b0)]=[];}[_0x3e57a9(0xd3)](){const _0x1ca524=_0x3e57a9,_0x1361ae=[E[_0x1ca524(0x1bf)]['id']];this[_0x1ca524(0x204)](this[_0x1ca524(0x1b3)][_0x1ca524(0x120)](_0x3412c1=>{const _0x18f610=_0x1ca524;_0x1361ae['includes'](_0x3412c1['id'])&&_0x3412c1[_0x18f610(0xd7)][_0x18f610(0x1ea)]===this[_0x18f610(0x109)][_0x18f610(0x1ea)]&&this['_refreshCollabCursors']();}));}[_0x3e57a9(0x2d4)](){const _0x270ef6=_0x3e57a9;this[_0x270ef6(0x204)](a[_0x270ef6(0x2b9)](this[_0x270ef6(0x109)]['engine']['onTransformChange$'])[_0x270ef6(0x351)]($[_0x270ef6(0x231)](_0x58c50a=>_0x58c50a['type']===p[_0x270ef6(0x277)]['resize']),$[_0x270ef6(0xd5)](0x10))[_0x270ef6(0x16a)](()=>{const _0x5681f1=_0x270ef6;this[_0x5681f1(0x186)]();}));}};fe=It([V(0x1,a['Inject'](Y[_0x3e57a9(0x33c)])),V(0x2,a[_0x3e57a9(0x181)](x)),V(0x3,a[_0x3e57a9(0x1c2)]),V(0x4,a['Inject'](a[_0x3e57a9(0x127)]))],fe);const vt=0x1,gt=1.5;class we extends p['Shape']{constructor(_0x23edc6,_0x115163){const _0x5f33cb=_0x3e57a9;super(_0x23edc6,_0x115163),h(this,_0x5f33cb(0x1c5)),h(this,_0x5f33cb(0x2f1),!0x1),h(this,'_range'),h(this,_0x5f33cb(0x25e),''),h(this,_0x5f33cb(0x259),_0x5f33cb(0x356)),h(this,_0x5f33cb(0x2c7)),(_0x115163&&this[_0x5f33cb(0x108)](_0x115163),this['onPointerEnter$'][_0x5f33cb(0x34e)](()=>this[_0x5f33cb(0x108)]({'hovered':!0x0})),this[_0x5f33cb(0x23a)][_0x5f33cb(0x34e)](()=>this[_0x5f33cb(0x108)]({'hovered':!0x1})));}[_0x3e57a9(0x108)](_0x29d271){const _0x2c8e2d=_0x3e57a9;var _0x59345a,_0x4c52de,_0x9d6abd,_0x4ac7b4,_0xae5b6,_0x42f4da;this['_color']=(_0x59345a=_0x29d271['color'])!=null?_0x59345a:this['_color'],this[_0x2c8e2d(0x2f1)]=(_0x4c52de=_0x29d271[_0x2c8e2d(0x187)])!=null?_0x4c52de:this[_0x2c8e2d(0x2f1)],this[_0x2c8e2d(0x2dc)]=(_0x9d6abd=_0x29d271[_0x2c8e2d(0x13b)])!=null?_0x9d6abd:this['_range'],this[_0x2c8e2d(0x25e)]=(_0x4ac7b4=_0x29d271['name'])!=null?_0x4ac7b4:this[_0x2c8e2d(0x25e)],this[_0x2c8e2d(0x259)]=(_0xae5b6=_0x29d271['labelPosition'])!=null?_0xae5b6:this[_0x2c8e2d(0x259)],this['_backgroundColor']=(_0x42f4da=_0x29d271[_0x2c8e2d(0x20e)])!=null?_0x42f4da:this[_0x2c8e2d(0x2c7)],this[_0x2c8e2d(0x20d)]({'width':_0x29d271['width'],'height':_0x29d271[_0x2c8e2d(0x263)]});}['onMouseMove'](_0x58d40e){const _0x3eb7c1=_0x3e57a9,{row:_0x249d40,column:_0x806ce0}=_0x58d40e;if(_0x249d40>=this['_range'][_0x3eb7c1(0x24f)]&&_0x249d40<=this['_range'][_0x3eb7c1(0x1ec)]&&_0x806ce0>=this[_0x3eb7c1(0x2dc)][_0x3eb7c1(0x30f)]&&_0x806ce0<=this['_range']['endColumn']){this[_0x3eb7c1(0x108)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3e57a9(0x24a)](_0x333515){return!0x1;}[_0x3e57a9(0x302)](_0xc4bcfe){const _0x26c547=_0x3e57a9;p[_0x26c547(0x15a)][_0x26c547(0x1c0)](_0xc4bcfe,{'width':this[_0x26c547(0x1e3)],'height':this['height'],'strokeWidth':gt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x26c547(0x2f1)]&&(_0xc4bcfe[_0x26c547(0x196)](),_0xc4bcfe['transform'](0x1,0x0,0x0,0x1,this[_0x26c547(0x1e3)],this[_0x26c547(0x259)]===_0x26c547(0x1f2)?0x0:-W),ee[_0x26c547(0x1c0)](_0xc4bcfe,{'text':this[_0x26c547(0x25e)],'color':this['_color']}),_0xc4bcfe[_0x26c547(0x295)]());}}var mt=Object[_0x3e57a9(0x2df)],Ct=(_0x5349a5,_0xcd9d49,_0x25dc9d,_0x533fc5)=>{const _0x30eddd=_0x3e57a9;for(var _0x50d202=_0x533fc5>0x1?void 0x0:_0x533fc5?mt(_0xcd9d49,_0x25dc9d):_0xcd9d49,_0x457da8=_0x5349a5[_0x30eddd(0x29b)]-0x1,_0x3fdbda;_0x457da8>=0x0;_0x457da8--)(_0x3fdbda=_0x5349a5[_0x457da8])&&(_0x50d202=_0x3fdbda(_0x50d202)||_0x50d202);return _0x50d202;},ae=(_0x5303db,_0x5489a8)=>(_0x4757be,_0x4d1c1d)=>_0x5489a8(_0x4757be,_0x4d1c1d,_0x5303db);const pt=0x1389;let Ie=class extends a[_0x3e57a9(0x28e)]{constructor(_0x26c2b4,_0x2fc2d7,_0x24de6c,_0x24046e){const _0x396e8c=_0x3e57a9;super(),h(this,_0x396e8c(0x1fa),new Set()),h(this,_0x396e8c(0x2a4),null),(this['_context']=_0x26c2b4,this[_0x396e8c(0x2b2)]=_0x2fc2d7,this[_0x396e8c(0x272)]=_0x24de6c,this['_themeService']=_0x24046e,this[_0x396e8c(0x1b9)]());}[_0x3e57a9(0x1b9)](){const _0x432cd7=_0x3e57a9;this[_0x432cd7(0x2b2)][_0x432cd7(0x255)][_0x432cd7(0x351)]($[_0x432cd7(0x1e9)](this['dispose$']),$[_0x432cd7(0x10f)](_0x962158=>{const _0x427c8c=_0x432cd7;if(_0x962158){const _0x5d7e93=_0x962158[_0x427c8c(0x267)];return d['combineLatest'](this[_0x427c8c(0x272)]['getCollabCursors$'](this[_0x427c8c(0x109)][_0x427c8c(0x1ea)]),this[_0x427c8c(0x106)]['currentTheme$'])[_0x427c8c(0x351)]($[_0x427c8c(0x11a)](([_0x227071,_0x48a96a])=>{const _0x4592ef=_0x427c8c,_0x323052=new Map();return _0x227071[_0x4592ef(0x191)]((_0x205199,_0x3458f3)=>{const _0x1a57af=_0x4592ef;if(_0x205199[_0x1a57af(0x183)]===_0x5d7e93){const _0xf2c87c={..._0x205199};_0xf2c87c[_0x1a57af(0x1d1)]=this['_themeService'][_0x1a57af(0x203)](_0x205199[_0x1a57af(0x1d1)]),_0x323052['set'](_0x3458f3,_0xf2c87c);}}),{'skeleton':_0x962158,'cursors':_0x323052};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x432cd7(0x16a)](({skeleton:_0x4d248b,cursors:_0x36bb21})=>{const _0x411c00=_0x432cd7;this['_removeCollabCursors'](),_0x4d248b&&this[_0x411c00(0x117)](_0x4d248b,_0x36bb21);}),this['_sheetSkeletonManagerService'][_0x432cd7(0x255)][_0x432cd7(0x16a)](_0x254c6e=>{const _0x1362df=_0x432cd7;if(_0x254c6e==null)return;const {skeleton:_0x445947}=_0x254c6e,{scene:_0x2306c7}=this[_0x1362df(0x109)];_0x2306c7[_0x1362df(0x1ef)][_0x1362df(0x34e)](a[_0x1362df(0xf2)](_0x581841=>{const _0x566fdf=_0x1362df;var _0xccb59,_0x475334;const {offsetX:_0x4ce7b6,offsetY:_0x192f0e}=_0x581841,{x:_0x482f44,y:_0xe9e9dc}=_0x2306c7[_0x566fdf(0x119)](p['Vector2'][_0x566fdf(0x2e7)]([_0x4ce7b6,_0x192f0e])),{scaleX:_0xab5ce7,scaleY:_0x442749}=_0x2306c7[_0x566fdf(0x2fd)](),_0xc84d4f=_0x2306c7['getViewport'](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x54dace=_0x2306c7[_0x566fdf(0x2c8)](p[_0x566fdf(0x278)][_0x566fdf(0x2e7)]([_0x482f44,_0xe9e9dc]),_0xc84d4f),_0x1e7faf=_0x445947[_0x566fdf(0x172)](_0x4ce7b6,_0x192f0e,_0xab5ce7,_0x442749,_0x54dace);((_0xccb59=this[_0x566fdf(0x2a4)])==null?void 0x0:_0xccb59[_0x566fdf(0x1bb)])===_0x1e7faf['column']&&((_0x475334=this['_lastPointer'])==null?void 0x0:_0x475334[_0x566fdf(0x346)])===_0x1e7faf[_0x566fdf(0x346)]||this[_0x566fdf(0x1fa)]['forEach'](_0x147b7a=>{_0x147b7a['onMouseMove'](_0x1e7faf);});},0x64));});}[_0x3e57a9(0x117)](_0x7ba8a8,_0x1751bf){const _0x56dcda=_0x3e57a9;var _0x2018ea;const _0xe6bc0e=(_0x2018ea=this[_0x56dcda(0x2b2)]['getCurrent']())==null?void 0x0:_0x2018ea[_0x56dcda(0x13e)];if(!_0xe6bc0e)return;const _0x466a46=this[_0x56dcda(0x1ff)]();if(!_0x466a46)return;this[_0x56dcda(0x1fa)][_0x56dcda(0x191)](_0x59a5d8=>{const _0x4e5c60=_0x56dcda;_0x59a5d8[_0x4e5c60(0x2f7)]();});const {scene:_0x40a51f}=_0x466a46,_0x3a20fe=Et(Array[_0x56dcda(0x35a)](_0x1751bf[_0x56dcda(0x1e7)]()))[_0x56dcda(0x11a)](_0x393b8e=>{const _0x1b9c6c=_0x56dcda,{color:_0x38a34,range:_0x2f7881,name:_0x3a9775,selection:_0x223895,sheetID:_0x37b34a}=_0x393b8e,{startColumn:_0x5257ee,startRow:_0x4605f4,endColumn:_0x1aabb4,endRow:_0x11cddb}=_0x2f7881,_0x5b5a11=G[_0x1b9c6c(0x1b8)](_0x4605f4,_0x5257ee,_0x40a51f,_0xe6bc0e),_0x565c31=G[_0x1b9c6c(0x1b8)](_0x11cddb,_0x1aabb4,_0x40a51f,_0xe6bc0e),{columnHeaderHeightAndMarginTop:_0x49742b}=_0xe6bc0e,{startX:_0x4648b0,startY:_0x3bc03d}=_0x5b5a11,{endX:_0x40d91b,endY:_0x420e31}=_0x565c31,_0x50b3c9=_0x40d91b-_0x4648b0,_0xfb2841=_0x420e31-_0x3bc03d,_0x5be8be={'labelPosition':_0x3bc03d-_0x49742b>=W?_0x1b9c6c(0x356):'bottom','sheetID':_0x37b34a,'range':_0x2f7881,'color':_0x38a34,'name':_0x3a9775,'selection':_0x223895,'left':_0x4648b0,'top':_0x3bc03d,'width':_0x50b3c9,'height':_0xfb2841,'evented':!0x1,'zIndex':pt};return new we(_0x3a9775,_0x5be8be);});_0x40a51f[_0x56dcda(0x1f9)](_0x3a20fe,vt),this[_0x56dcda(0x1fa)]=new Set(_0x3a20fe);}['_removeCollabCursors'](){const _0x4e8c29=_0x3e57a9;var _0x469b01;(_0x469b01=this[_0x4e8c29(0x1fa)])==null||_0x469b01['forEach'](_0x515871=>_0x515871['dispose']());}['_getSheetObject'](){const _0x36a861=_0x3e57a9;return G[_0x36a861(0x209)](this['_context']['unit'],this[_0x36a861(0x109)]);}};Ie=Ct([ae(0x1,a[_0x3e57a9(0x181)](G[_0x3e57a9(0x158)])),ae(0x2,a[_0x3e57a9(0x181)](x)),ae(0x3,a[_0x3e57a9(0x181)](a['ThemeService']))],Ie);function Et(_0x280ccf){const _0x4ddad1=_0x3e57a9,_0x1e735b=new Map();return _0x280ccf[_0x4ddad1(0x191)](_0xe083b1=>{const _0xc22167=_0x4ddad1;if(_0x1e735b[_0xc22167(0x274)](_0xe083b1[_0xc22167(0x21a)])){const _0x5e60b0=_0x1e735b[_0xc22167(0x154)](_0xe083b1[_0xc22167(0x21a)]);_0x5e60b0['name']+=',\x20'+_0xe083b1[_0xc22167(0x1e8)];}else _0x1e735b[_0xc22167(0x1f3)](_0xe083b1[_0xc22167(0x21a)],_0xe083b1);}),Array[_0x4ddad1(0x35a)](_0x1e735b[_0x4ddad1(0x1e7)]());}var b=function(){const _0x287ac8=_0x3e57a9;return b=Object[_0x287ac8(0x11c)]||function(_0x2fc284){const _0x5ee624=_0x287ac8;for(var _0x4f736b,_0x30b04e=0x1,_0x4b8180=arguments[_0x5ee624(0x29b)];_0x30b04e<_0x4b8180;_0x30b04e++){_0x4f736b=arguments[_0x30b04e];for(var _0x40ba0d in _0x4f736b)Object[_0x5ee624(0x222)]['hasOwnProperty'][_0x5ee624(0x17b)](_0x4f736b,_0x40ba0d)&&(_0x2fc284[_0x40ba0d]=_0x4f736b[_0x40ba0d]);}return _0x2fc284;},b[_0x287ac8(0x1ce)](this,arguments);},bt=function(_0x3c2998,_0x5c78e6){const _0x3f1219=_0x3e57a9;var _0x1bc4d6={};for(var _0x674a24 in _0x3c2998)Object[_0x3f1219(0x222)]['hasOwnProperty']['call'](_0x3c2998,_0x674a24)&&_0x5c78e6[_0x3f1219(0x220)](_0x674a24)<0x0&&(_0x1bc4d6[_0x674a24]=_0x3c2998[_0x674a24]);if(_0x3c2998!=null&&typeof Object[_0x3f1219(0x178)]==_0x3f1219(0x345)){for(var _0xea4711=0x0,_0x674a24=Object[_0x3f1219(0x178)](_0x3c2998);_0xea4711<_0x674a24[_0x3f1219(0x29b)];_0xea4711++)_0x5c78e6[_0x3f1219(0x220)](_0x674a24[_0xea4711])<0x0&&Object[_0x3f1219(0x222)][_0x3f1219(0x17c)]['call'](_0x3c2998,_0x674a24[_0xea4711])&&(_0x1bc4d6[_0x674a24[_0xea4711]]=_0x3c2998[_0x674a24[_0xea4711]]);}return _0x1bc4d6;},Ce=M['forwardRef'](function(_0x367918,_0x4ef0b3){const _0x40b8ab=_0x3e57a9;var _0xef5970=_0x367918[_0x40b8ab(0x18a)],_0x46fd6f=_0x367918['id'],_0x249afc=_0x367918['className'],_0x1ba88f=_0x367918[_0x40b8ab(0xfc)],_0x7d0ccb=bt(_0x367918,[_0x40b8ab(0x18a),'id',_0x40b8ab(0x213),_0x40b8ab(0xfc)]),_0x4e10c1=_0x40b8ab(0x111)['concat'](_0x46fd6f,'\x20')[_0x40b8ab(0x34d)](_0x249afc||'')['trim'](),_0x13fbce=M[_0x40b8ab(0x126)]('_'[_0x40b8ab(0x34d)](Rt()));return Ae(_0xef5970,''[_0x40b8ab(0x34d)](_0x46fd6f),{'defIds':_0xef5970[_0x40b8ab(0x22d)],'idSuffix':_0x13fbce['current']},b({'ref':_0x4ef0b3,'className':_0x4e10c1},_0x7d0ccb),_0x1ba88f);});function Ae(_0x3f9ca6,_0x5080f2,_0x18e535,_0x5b18a5,_0x246eaf){const _0x3ee23b=_0x3e57a9;return M[_0x3ee23b(0xe1)](_0x3f9ca6['tag'],b(b({'key':_0x5080f2},Ot(_0x3f9ca6,_0x18e535,_0x246eaf)),_0x5b18a5),(Tt(_0x3f9ca6,_0x18e535)[_0x3ee23b(0x326)]||[])[_0x3ee23b(0x11a)](function(_0x534350,_0x15b85f){const _0x280498=_0x3ee23b;return Ae(_0x534350,''['concat'](_0x5080f2,'-')[_0x280498(0x34d)](_0x3f9ca6[_0x280498(0x2c1)],'-')[_0x280498(0x34d)](_0x15b85f),_0x18e535,void 0x0,_0x246eaf);}));}function Ot(_0x43c65d,_0x3b0f2b,_0xd4b83d){const _0x20d12c=_0x3e57a9;var _0x11ec31=b({},_0x43c65d['attrs']);_0xd4b83d!=null&&_0xd4b83d[_0x20d12c(0x133)]&&_0x11ec31['fill']===_0x20d12c(0x133)&&(_0x11ec31[_0x20d12c(0x16d)]=_0xd4b83d[_0x20d12c(0x133)]),_0x43c65d[_0x20d12c(0x2c1)]===_0x20d12c(0x2ed)&&_0x11ec31['id']&&(_0x11ec31['id']=_0x11ec31['id']+_0x3b0f2b['idSuffix']),Object['entries'](_0x11ec31)[_0x20d12c(0x191)](function(_0x323056){const _0xc3b5a9=_0x20d12c;var _0x4e0f62=_0x323056[0x0],_0x4aab26=_0x323056[0x1];_0x4e0f62===_0xc3b5a9(0x2ed)&&typeof _0x4aab26==_0xc3b5a9(0x26b)&&(_0x11ec31[_0x4e0f62]=_0x4aab26['replace'](/url\(#(.*)\)/,_0xc3b5a9(0x334)[_0xc3b5a9(0x34d)](_0x3b0f2b[_0xc3b5a9(0x17d)],')')));});var _0x4da9b2=_0x3b0f2b[_0x20d12c(0x22d)];return!_0x4da9b2||_0x4da9b2[_0x20d12c(0x29b)]===0x0||(_0x43c65d[_0x20d12c(0x2c1)]===_0x20d12c(0x176)&&_0x11ec31[_0x20d12c(0x24b)]&&(_0x11ec31['xlink:href']=_0x11ec31[_0x20d12c(0x24b)]+_0x3b0f2b[_0x20d12c(0x17d)]),Object[_0x20d12c(0x2c6)](_0x11ec31)[_0x20d12c(0x191)](function(_0x2eed97){const _0x1d369f=_0x20d12c;var _0x9503e3=_0x2eed97[0x0],_0x524c3a=_0x2eed97[0x1];typeof _0x524c3a==_0x1d369f(0x26b)&&(_0x11ec31[_0x9503e3]=_0x524c3a[_0x1d369f(0x1fe)](/url\(#(.*)\)/,_0x1d369f(0x334)['concat'](_0x3b0f2b[_0x1d369f(0x17d)],')')));})),_0x11ec31;}function _0x3a04(){const _0x4f5253=['APPLY_NON_SEQUENTIAL_REVISION','handleMoveRange','FETCH_MISS','width','min','BrowserCollaborationSocketService','UNIVER_DOC','values','name','takeUntil','unitId','_getAnchorBounding','endRow','1em','INVITE_CODE_ALREADY_BOUND','onPointerMove$','MessageType','add','bottom','set','LICENSE_EXPORT_SIZE_EXCEEDED','_initEntityListener','path','UPDATE_CURSOR','textRanges','addObjects','_cursors','YUUMI_AI_RUN_FAILED','UniverIcon','merge','replace','_getSheetObject','getCollabCursors$','_docTransformIMECacheService','43179wzgdNK','getColorFromTheme','disposeWithMe','_univerInstanceService','IImageIoService','InsertColCommandId','_dataLoaderService','getSheetObject','setActiveRange','UniverCollaborationClientPlugin','INotificationService','transformByState','backgroundColor','_cursor','purple.300','jsxs','RemoveRowCommandId','className','TEXT_RANGE_LAYER_INDEX','debounceTime','useCallback','_toggleOffline','0\x200\x2017\x2016','RefRangeService','selection','useObservable','collab-text-range-','_notificationService','setItem','setAlpha','indexOf','_registerRenderDependencies','prototype','getTypeOfUnitDisposed$','transformSelections','history','CollaborationUIEventService','_cursorInfo$','lineTo','PENDING','Error','_uiPartsService','saveOfflineData','defIds','_handleHeartbeatEvent','_entities','LOGIN_FAILED','filter','with','jsx','UNIVER_SHEET','getFocusedUnit','HEADER_MENU','symbol','permission.title','handleDeleteRangeMoveLeft','onPointerLeave$','_docTransformStateCacheService','COMPLETION_FINISHED','_memberService','_anchor','getUnhiddenWorksheets','CollaborationEvent','BehaviorSubject','_beforeCloseService','deepClone','svg','assignAColorForMemberID','ranges','handleInsertCol','_collaborationUIEventService','_localCacheService','triggerDblclick','xlink:href','override','YUUMI_URL_COL_OUT_OF_RANGE','Tools','startRow','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_handleJoinEvent','12110mgaehr','executionId','_getScale','currentSkeleton$','all','_refRangeService','INTERNAL_ERROR','_labelPosition','SessionStatus','asObservable','Shape','SUBMIT_CHANGESET_TIMEOUT','_name','memberID','defs','_docSkeletonManagerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','height','unit','_registerDependencies','OffLineIcon','sheetId','WebBrowserSingleActiveUnitService','getRangePointData','_saveTaskMap','string','_removeClearOtherTimer','SetWorksheetActivateCommand','_updateURLWithCurrentState','searchParams','key','_getMergeRange','_collabCursorController','_transformService','has','_syncEditingCollabCursorService','getValue','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Vector2','34069Pxjggi','push','Optional','RemoveColCommandId','_configService','_logService','toString','search','...','SheetsSelectionsService','getTypeOfUnitAdded$','find','onStarting','_revisionService','CollaborationSocketService','_transformHistoryAndStateStack','disposeUnit','some','collabStatus.notCollab','session.collaboration-timeout','_updateSubUnitFromURLParams','RxDisposable','post','getActiveRange','_scheduleSaving','font','useDependency','dispose','restore','on-line-icon_clip0_910_349','_clearOtherTimers','CHANGESET_REVISION_CONFILICT','ACTIVE_UNIT_EVENT_CHANNEL','debug','length','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSessionTicket','onRendered','getMergeData','pluginName','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setInterval','NOT_COLLAB','_lastPointer','_startSheetCollabCursor','NodePositionConvertToRectRange','Disposable','IRenderManagerService','onLocalMutation','getCurrentUnitForType','black','href','_disabled','SheetCollabCursorShape','text','IUIPartsService','Warning','_sheetSkeletonManagerService','isEditing','CollaborationController','InsertRangeMoveDownCommandId','moveTo','editingUnit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fromEventSubject','M0\x200H16V16H0z','_setupBeforeClosingHandler','generateRandomId','ILogService','red.300','setConfig','then','tag','_collaborationController','10WPVKHa','_imageIoService','YUUMI_UNABLE_LOAD_URL','entries','_backgroundColor','getVpScrollXYInfoByPosToVp','_onCursorDelete','YUUMI_ASYNCIO_CANCELLED','_roomMembers$','transformIMECache','YUUMI_RATE_OVER_LIMIT','handleInsertRow','undoState','addHandlerCallback','IBeforeCloseService','_transformUndoRedoStack','WebSocketService','_initResize','EMAIL_VERIFY_CODE_MISMATCH','SNAPSHOT_HAS_BEEN_REMOVED','INVALID_ARGUMENT','MUTATION','IMessageService','_messageService','measureText','_range','_textBubble','_renderManagerService','getOwnPropertyDescriptor','56OfUiIB','UNAUTHENTICATED','unload','_handleEvent','Unknown\x20user','_localeService','sessionTicket','FromArray','off-line-icon_clip0_910_343','RegularPolygon','getDocRanges','flatMap','code','mask','redoState','jiqing.500','/run/','_hovered','YUUMI_ALL_TABLES_IS_INVALID','_document','DocIMEInputManagerService','collabStatus.offline','off-line-icon','makeDirty','urlChange$','USERS_LEAVE','round','collab-client.tooltip.reconnect','runOnServer','getAncestorScale','UNDEFINED','registerRefRange','getRenderById','translate(.97)','_draw','saveImage','handleInsertRangeMoveDown','UniverCollaborationClientUIPlugin','_status$','49114PuJZna','forwardRef','APPLY_DUPLICATED','syncEditingCollabCursor','_send','displayName','collabStatus.conflict','Injector','startColumn','toStringTag','_drawRectRange','NO_OTHER_CLIENTS_EDITING','RemoteUniscriptService','getLocalCacheKey','getCurrentSelections','mapTo','connectInjector','OFFLINE','attrs','defineProperty','TEXT','_eventUnsubscribe','setUndoRedoMutationParamsCache','OTHER_CLIENT_EDITING','_config','ILocalCacheService','39854ocXpEe','type','collaboration-client.offline-data-not-saved','unitID','_collabSessionService','children','NOT_FOUND','996VqPuxv','_cachedData','1001euRVJd','getUnitStatus$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','whenReady','collabStatus.fetchMiss','pushState','blue.400','getUnitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','url(#$1','RECT','registerRenderModule','toRgbString','SOCKET_FAILED','collaboration-client-ui.config','getSheetBySheetId','fillStyle','DocSkeletonManagerService','_scheduleClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','INVALID_INVITE_CODE','popstate','collaboration.closeRoom','_colorAssignService','clsx','function','row','size','OTHER_CLIENTS_EDITING','_createSocketURL','_session','_collabCursorState$','_heartbeatTimer','concat','subscribeEvent','SOCKET_FAILED_RETRY','Tooltip','pipe','m1Prime','cursorInfo','doc.mutation.rich-text-editing','isTransformMutationsWithChangesetSuccess','top','CONFLICT','includes','yellow.400','from','UnitStatus','_initCommandExecutedListener','IURLService','throttleTime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','params','stringify','fromEvent','complete','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_HAS_BEEN_BOUND','body','result','Failed','createElement','EMAIL_HAS_BEEN_BOUND','currentColor','LICENSE_DISTRO_REJECTED','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','getCollabEntity$','registerDependencies','NodePositionConvertToCursor','split','collab-text-anchor-','setParam','DesktopCollaborationStatusDisplayController','getMember','roomMembers','eventID','CollaborationUIEventId','debounce','subunit','IUniverInstanceService','INVITE_CODE_HAS_BEEN_UES','SYNCED','APPLY_REJECT','_httpService','init','addClipboardHook','DocStateChangeManagerService','extend','executeCommand','DOC_RANGE_TYPE','_transformPreviousActiveRange','onPointerEnter$','LICENSE_IMPORT_SIZE_EXCEEDED','collab-rect-range-','getOffsetConfig','_assignedColors','exhaustSavingTask','_themeService','_render','setShapeProps','_context','[CollaborationDataLoaderController]','addEventListener','on-line-icon','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','switchMap','toDisposable','univerjs-icon\x20univerjs-icon-','DEFAULT_WS_SESSION_TICKET_URL','RevisionService','getItem','getUndoRedoMutationParamsCache','loadOfflineData','_updateCollabCursors','CLOSE_ROOM','getRelativeToViewportCoord','map','_toggleOnline','assign','_shapes','clipPath','touchDependencies','onCommandExecuted','PY_RUNTIME_SCRIPT_ERROR','loadUnit','requireSession','isArray','getMemberID','useRef','ThemeService','_docStateChangeManagerService','random','_onCursorUpdate','unsubscribe','contains','ALREADY_EXISTS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collabStatus.synced','EffectRefRangId','UNRECOGNIZED','CollaborationStatus','colorChannel1','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_updateLocalCursor','_onRefRangeChange','TOO_MANY_REQUESTS','ISocketService','_entityInit$','runId','range','getConfig','DataLoaderService','skeleton','wsSessionTicketUrl','ticket','_unitOnClients','8FPZbBL','isActive','arc','transformMutationsWithChangeset','_initDependencies','_selfUnitIDs','show','dispose$','CollaborationDataLoaderController','LOCAL_CACHE_INTERVAL_KEY','_unitStatus','_hideTimer','_online','enableLocalCache','_setupSubUnitSync','_handleHover','focused$','LocaleService','get','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','next','getColor','SheetSkeletonManagerService','_handleLeaveEvent','Rect','transformStateCache','activeSheet$','HTTPService','newValue','origin','data','ColorKit','_localStorageService','storage','clearInterval','248CivqjN','clearTimeout','docStateChange$','_saveCache','_initStatusComponent','subscribe','_initStatusListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','fill','evenodd','entityInit$','runRefRangeMutations','CommandType','getCellPositionByOffset','MemberService','combineLatest','transformMutation','use','unshift','getOwnPropertySymbols','_anchorDot','permission.content','call','propertyIsEnumerable','idSuffix','_ensureSubject','_hover','_scene','Inject','Rectangle','sheetID','DocSelectionManagerService','setTimeout','_refreshCollabCursors','hovered','event$','error','icon','send','COLORS','white','handleInsertRangeMoveRight','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','forEach','imageSourceType','UniverInstanceType','div','ISnapshotServerService','save','MOBILE_VERIFY_CODE_MISMATCH','ONLINE','_drawAnchor','getParam','fillText','_urlService','beginPath','AWAITING','INVITE_CODE_REQUIRED','handleIRemoveRow','449532IwvsTs','univer-flex\x20univer-items-center','ITransformService','sessionStatus$','_id','roomMembers$','cursorInfo$','_removeCollabCursors','_docSkeleton','getSheetId','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','delete','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','_cursorShapes','location','178047ciSkPy','_commandService','none','hide','_scheduleHeartbeat','_colorIndex','getCoordByCell','_init','_docSyncEditingCollabCursorService','column','YUUMI_CONNECTOR_URL_NOT_FOUND','createIdentifier','isTransformMutationFailure','SetDocZoomRatioOperation','drawWith','IConfigService','ICommandService','updateOfflineData','collabCursorState$','_color','PERMISSION_DENIED','Module','getSkeleton','saveTaskMap','_docClipboardService','session.connection-failed','url(#on-line-icon_clip0_910_349)','addObject','apply','substring','univer-mr-2\x20univer-flex\x20univer-text-xl','color','_injector','getActiveSheet','reconnect','0\x200\x2016\x2016','m2Prime','getStateCache','YUUMI_NO_CUBOID_FOR_QUESTION','disableLocalCache','InsertRowCommandId','_initEvent','replaceDocRanges','handleDeleteRangeMoveUp','SetSelectionsOperation','_docTransformSelectionsService'];_0x3a04=function(){return _0x4f5253;};return _0x3a04();}function Tt(_0x30a99e,_0x19b555){const _0x4576db=_0x3e57a9;var _0x24b81f,_0x17c056=_0x19b555[_0x4576db(0x22d)];return!_0x17c056||_0x17c056['length']===0x0?_0x30a99e:_0x30a99e[_0x4576db(0x2c1)]==='defs'&&(!((_0x24b81f=_0x30a99e['children'])===null||_0x24b81f===void 0x0)&&_0x24b81f[_0x4576db(0x29b)])?b(b({},_0x30a99e),{'children':_0x30a99e[_0x4576db(0x326)][_0x4576db(0x11a)](function(_0x280136){const _0x2ed68d=_0x4576db;return typeof _0x280136[_0x2ed68d(0x319)]['id']==_0x2ed68d(0x26b)&&_0x17c056&&_0x17c056[_0x2ed68d(0x358)](_0x280136[_0x2ed68d(0x319)]['id'])?b(b({},_0x280136),{'attrs':b(b({},_0x280136[_0x2ed68d(0x319)]),{'id':_0x280136['attrs']['id']+_0x19b555[_0x2ed68d(0x17d)]})}):_0x280136;})}):_0x30a99e;}function Rt(){const _0x4db060=_0x3e57a9;return Math[_0x4db060(0x129)]()['toString'](0x24)[_0x4db060(0x1cf)](0x2,0x8);}Ce[_0x3e57a9(0x30c)]=_0x3e57a9(0x1fc);var Dt={'tag':_0x3e57a9(0x244),'attrs':{'xmlns':_0x3e57a9(0xdb),'fill':_0x3e57a9(0x1b4),'viewBox':_0x3e57a9(0x1d5),'width':_0x3e57a9(0x1ed),'height':_0x3e57a9(0x1ed)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e57a9(0x1f6),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3e57a9(0x2fa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e57a9(0x260),'attrs':{},'children':[{'tag':_0x3e57a9(0x11e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3e57a9(0x1f6),'attrs':{'fill':_0x3e57a9(0x18d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3e57a9(0x2e8)]},ye=M[_0x3e57a9(0x308)](function(_0x490302,_0x3d1ba2){const _0x1fa581=_0x3e57a9;return M['createElement'](Ce,Object['assign']({},_0x490302,{'id':_0x1fa581(0x2f6),'ref':_0x3d1ba2,'icon':Dt}));});ye['displayName']=_0x3e57a9(0x266);var Ut={'tag':_0x3e57a9(0x244),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e57a9(0x1b4),'viewBox':_0x3e57a9(0x218),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3e57a9(0x1cc)},'children':[{'tag':'path','attrs':{'stroke':_0x3e57a9(0xe3),'d':_0x3e57a9(0x155),'strokeLinecap':_0x3e57a9(0x2fa),'strokeLinejoin':_0x3e57a9(0x2fa),'strokeWidth':1.2}}]},{'tag':_0x3e57a9(0x260),'attrs':{},'children':[{'tag':_0x3e57a9(0x11e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3e57a9(0x18d),'d':_0x3e57a9(0x2ba),'transform':_0x3e57a9(0x301)}}]}]}],'defIds':[_0x3e57a9(0x296)]},$e=M[_0x3e57a9(0x308)](function(_0xe3860,_0x46d285){const _0x2789e2=_0x3e57a9;return M[_0x2789e2(0xe1)](Ce,Object[_0x2789e2(0x11c)]({},_0xe3860,{'id':_0x2789e2(0x10c),'ref':_0x46d285,'icon':Ut}));});$e[_0x3e57a9(0x30c)]='OnLineIcon';function Nt(_0x1f1542){const _0x455ce3=_0x3e57a9;switch(_0x1f1542){case u[_0x455ce3(0x132)][_0x455ce3(0x318)]:return _0x455ce3(0x2f5);case u['CollaborationStatus'][_0x455ce3(0x357)]:return _0x455ce3(0x30d);case u[_0x455ce3(0x132)][_0x455ce3(0x1e2)]:return _0x455ce3(0x32e);case u[_0x455ce3(0x132)][_0x455ce3(0x2a3)]:return _0x455ce3(0x28b);case u[_0x455ce3(0x132)][_0x455ce3(0x19e)]:case u['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u['CollaborationStatus'][_0x455ce3(0xf6)]:case u[_0x455ce3(0x132)][_0x455ce3(0x229)]:return _0x455ce3(0x12f);}}function Mt(_0x1e67b1){const _0x12ae82=_0x3e57a9,{status$:_0x4c0603}=_0x1e67b1,_0x2254ae=O[_0x12ae82(0x21b)](_0x4c0603,u[_0x12ae82(0x132)][_0x12ae82(0x2a3)]),_0x15ca3c=O['useDependency'](a[_0x12ae82(0x153)]),_0x59d003=O[_0x12ae82(0x293)](u[_0x12ae82(0xe5)]),_0x3dd138=_0x2254ae!==u[_0x12ae82(0x132)][_0x12ae82(0x318)],_0x42c2a0=_0x15ca3c['t'](Nt(_0x2254ae)),_0x3d5db0=_0x3dd138?P[_0x12ae82(0x233)]($e,{}):P[_0x12ae82(0x233)](ye,{}),_0x5d3f51=M[_0x12ae82(0x216)](()=>{const _0x259cae=_0x12ae82;_0x3dd138||_0x59d003[_0x259cae(0x1d4)]();},[_0x3dd138,_0x59d003]);function _0x2f9f21(){const _0x4c3fe2=_0x12ae82;return P[_0x4c3fe2(0x211)](_0x4c3fe2(0x194),{'className':_0x4c3fe2(0x1a2),'onClick':_0x5d3f51,'children':[P[_0x4c3fe2(0x233)](_0x4c3fe2(0x194),{'className':D[_0x4c3fe2(0x344)](_0x4c3fe2(0x1d0),{'univer-text-green-500':_0x3dd138,'univer-text-red-500':!_0x3dd138}),'children':_0x3d5db0}),P[_0x4c3fe2(0x233)]('div',{'className':_0x4c3fe2(0x16c),'children':_0x42c2a0})]});}return _0x3dd138?_0x2f9f21():P[_0x12ae82(0x233)](D[_0x12ae82(0x350)],{'title':_0x15ca3c['t'](_0x12ae82(0x2fb)),'children':_0x2f9f21()});}var Lt=Object[_0x3e57a9(0x2df)],Pt=(_0x3a1016,_0x1a06ef,_0x549e86,_0x2fb80f)=>{const _0x3733b1=_0x3e57a9;for(var _0xb8f6b2=_0x2fb80f>0x1?void 0x0:_0x2fb80f?Lt(_0x1a06ef,_0x549e86):_0x1a06ef,_0x4da414=_0x3a1016[_0x3733b1(0x29b)]-0x1,_0x124c8f;_0x4da414>=0x0;_0x4da414--)(_0x124c8f=_0x3a1016[_0x4da414])&&(_0xb8f6b2=_0x124c8f(_0xb8f6b2)||_0xb8f6b2);return _0xb8f6b2;},X=(_0x19f28b,_0x162582)=>(_0xdaaa27,_0x4ae123)=>_0x162582(_0xdaaa27,_0x4ae123,_0x19f28b);exports[_0x3e57a9(0xed)]=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x4f2db2,_0x5d8951,_0x48475d,_0x1b39d2){const _0x6c43f3=_0x3e57a9;super(),h(this,_0x6c43f3(0x306),new d[(_0x6c43f3(0x241))](u[_0x6c43f3(0x132)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4f2db2,this[_0x6c43f3(0x1d2)]=_0x5d8951,this[_0x6c43f3(0x2c2)]=_0x48475d,this['_uiPartsService']=_0x1b39d2,this[_0x6c43f3(0x169)](),this['_initStatusListener']());}[_0x3e57a9(0x16b)](){const _0x25ae0f=_0x3e57a9;this[_0x25ae0f(0x204)](this[_0x25ae0f(0x205)][_0x25ae0f(0x152)][_0x25ae0f(0x351)](d[_0x25ae0f(0x10f)](()=>{const _0x3ab10d=_0x25ae0f,_0x2f8c47=this['_univerInstanceService'][_0x3ab10d(0x235)]();return _0x2f8c47?this['_collaborationController'][_0x3ab10d(0xe7)](_0x2f8c47['getUnitId']()):d['of'](null);}),d[_0x25ae0f(0x10f)](_0x44d463=>_0x44d463?_0x44d463['status$']:d['of'](u[_0x25ae0f(0x132)][_0x25ae0f(0x2a3)])))[_0x25ae0f(0x16a)](_0x2e5cf1=>{const _0x5b19e9=_0x25ae0f;this[_0x5b19e9(0x306)][_0x5b19e9(0x156)](_0x2e5cf1);}));}['_initStatusComponent'](){const _0x1b3c89=_0x3e57a9;this[_0x1b3c89(0x204)](this[_0x1b3c89(0x22b)]['registerComponent'](O['BuiltInUIPart'][_0x1b3c89(0x236)],()=>O[_0x1b3c89(0x317)](wt({'status$':this[_0x1b3c89(0x306)]['asObservable']()}),this[_0x1b3c89(0x1d2)])));}},exports[_0x3e57a9(0xed)]=Pt([X(0x0,a[_0x3e57a9(0xf4)]),X(0x1,a[_0x3e57a9(0x181)](a['Injector'])),X(0x2,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x2b4)])),X(0x3,O[_0x3e57a9(0x2b0)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x433452){const {status$:_0x14096f}=_0x433452;return function(){const _0x58addd=_0x52db;return P[_0x58addd(0x233)](Mt,{'status$':_0x14096f});};}var At=Object[_0x3e57a9(0x2df)],yt=(_0x27fc64,_0x1bdb07,_0x3f0c76,_0x5047f7)=>{const _0x1cbb02=_0x3e57a9;for(var _0x34b355=_0x5047f7>0x1?void 0x0:_0x5047f7?At(_0x1bdb07,_0x3f0c76):_0x1bdb07,_0x5ee61a=_0x27fc64[_0x1cbb02(0x29b)]-0x1,_0x4c705a;_0x5ee61a>=0x0;_0x5ee61a--)(_0x4c705a=_0x27fc64[_0x5ee61a])&&(_0x34b355=_0x4c705a(_0x34b355)||_0x34b355);return _0x34b355;},y=(_0x4d23df,_0x296738)=>(_0x3664f0,_0x973923)=>_0x296738(_0x3664f0,_0x973923,_0x4d23df);let q=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x57c945,_0x336ea1,_0x14cc52,_0x19280c,_0x5549c5,_0x4e6660){const _0x134267=_0x3e57a9;super(),this[_0x134267(0x242)]=_0x57c945,this['_localCacheService']=_0x336ea1,this['_collaborationUIEventService']=_0x14cc52,this[_0x134267(0x2da)]=_0x19280c,this[_0x134267(0x21d)]=_0x5549c5,this['_localeService']=_0x4e6660,this['_setupBeforeClosingHandler'](),this[_0x134267(0x1db)]();}[_0x3e57a9(0x2bb)](){const _0x5cacd5=_0x3e57a9;this[_0x5cacd5(0x204)](this[_0x5cacd5(0x242)]['registerBeforeClose'](()=>{const _0x10f36a=_0x5cacd5;if(this[_0x10f36a(0x249)][_0x10f36a(0x1c9)][_0x10f36a(0x347)])return this[_0x10f36a(0x2e5)]['t'](_0x10f36a(0x323));}));}[_0x3e57a9(0x1db)](){const _0x3cb20b=_0x3e57a9;this[_0x3cb20b(0x204)](this[_0x3cb20b(0x248)][_0x3cb20b(0x188)][_0x3cb20b(0x16a)](_0x45733e=>{const _0x54a630=_0x3cb20b;_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x31e)]&&this[_0x54a630(0x2da)]['show']({'type':D[_0x54a630(0x1f0)]['Warning'],'content':this[_0x54a630(0x2e5)]['t']('collaboration.single-unit.warning')}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x118)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)][_0x54a630(0x2b1)],'content':this['_localeService']['t'](_0x54a630(0x342))}),_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x1c6)]&&this['_notificationService'][_0x54a630(0x148)]({'title':this['_localeService']['t'](_0x54a630(0x238)),'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x17a)),'type':_0x54a630(0x189),'duration':0x0}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x357)]&&this[_0x54a630(0x2da)]['show']({'type':D[_0x54a630(0x1f0)]['Error'],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x342))+'('+_0x45733e[_0x54a630(0x160)]+')'}),_0x45733e['id']===u[_0x54a630(0xf1)]['JOIN_ROOM_FAILED']&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)]['Warning'],'content':this[_0x54a630(0x2e5)]['t'](_0x45733e[_0x54a630(0x160)]||'')}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x34f)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D['MessageType'][_0x54a630(0x2b1)],'content':this[_0x54a630(0x2e5)]['t']('session.will-retry')}),_0x45733e['id']===u['CollaborationUIEventId'][_0x54a630(0x338)]&&this[_0x54a630(0x2da)][_0x54a630(0x148)]({'type':D[_0x54a630(0x1f0)][_0x54a630(0x22a)],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x1cb))}),_0x45733e['id']===u[_0x54a630(0xf1)][_0x54a630(0x25d)]&&this['_messageService']['show']({'type':D[_0x54a630(0x1f0)][_0x54a630(0x22a)],'content':this[_0x54a630(0x2e5)]['t'](_0x54a630(0x28c))});}));}};q=yt([y(0x0,O[_0x3e57a9(0x2d1)]),y(0x1,u[_0x3e57a9(0x320)]),y(0x2,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x226)])),y(0x3,O[_0x3e57a9(0x2d9)]),y(0x4,O[_0x3e57a9(0x20c)]),y(0x5,a[_0x3e57a9(0x181)](a['LocaleService']))],q);const $t=_0x3e57a9(0x339),De={},pe=a[_0x3e57a9(0x1bd)]('uni.network.url-service');var xt=Object['getOwnPropertyDescriptor'],Bt=(_0x17c075,_0x123da1,_0x29c77a,_0x2e4c93)=>{const _0x2326fa=_0x3e57a9;for(var _0x606f48=_0x2e4c93>0x1?void 0x0:_0x2e4c93?xt(_0x123da1,_0x29c77a):_0x123da1,_0x11461b=_0x17c075[_0x2326fa(0x29b)]-0x1,_0x1aa1c0;_0x11461b>=0x0;_0x11461b--)(_0x1aa1c0=_0x17c075[_0x11461b])&&(_0x606f48=_0x1aa1c0(_0x606f48)||_0x606f48);return _0x606f48;},F=(_0x5e4d46,_0x47cb35)=>(_0x576ba8,_0x444a95)=>_0x47cb35(_0x576ba8,_0x444a95,_0x5e4d46);exports[_0x3e57a9(0x14a)]=class extends a[_0x3e57a9(0x28e)]{constructor(_0x46e158,_0x26ba06,_0xa57b96,_0x289b62,_0x2e1d49){const _0xe0b586=_0x3e57a9;super(),this[_0xe0b586(0x19c)]=_0x46e158,this['_logService']=_0x26ba06,this[_0xe0b586(0x1b3)]=_0xa57b96,this[_0xe0b586(0x208)]=_0x289b62,_0x2e1d49?_0x2e1d49==null||_0x2e1d49[_0xe0b586(0x32d)]()[_0xe0b586(0x2c0)](()=>this[_0xe0b586(0x1b9)]()):(this[_0xe0b586(0x27e)][_0xe0b586(0x29a)](_0xe0b586(0x10a),_0xe0b586(0x134)),this['_init']());}async[_0x3e57a9(0x1b9)](){const _0x226dac=_0x3e57a9,_0x170f84=this[_0x226dac(0x19c)][_0x226dac(0x19a)](_0x226dac(0x264)),_0x3cc77d=this[_0x226dac(0x19c)][_0x226dac(0x19a)]('type'),_0x47dc4e=this['_urlService'][_0x226dac(0x19a)](_0x226dac(0xf3));if(!_0x170f84||!_0x3cc77d){this[_0x226dac(0x27e)][_0x226dac(0x29a)](_0x226dac(0x10a),_0x226dac(0x2b8));return;}const _0x5e9ac5=await this[_0x226dac(0x208)][_0x226dac(0x122)](_0x170f84,Number(_0x3cc77d),_0x47dc4e);_0x5e9ac5&&_0x5e9ac5 instanceof a['Workbook']&&this[_0x226dac(0x150)](_0x5e9ac5);}async[_0x3e57a9(0x150)](_0x2dcbd6){const _0x57eac6=_0x3e57a9;await this[_0x57eac6(0x28d)](_0x2dcbd6),_0x2dcbd6[_0x57eac6(0x15c)][_0x57eac6(0x351)](d[_0x57eac6(0x1e9)](this[_0x57eac6(0x149)]))[_0x57eac6(0x16a)](_0x305e2e=>{const _0x5cc7de=_0x57eac6;_0x305e2e&&this[_0x5cc7de(0x26e)](_0x305e2e);}),this[_0x57eac6(0x19c)][_0x57eac6(0x2f8)][_0x57eac6(0x351)](d[_0x57eac6(0x1e9)](this[_0x57eac6(0x149)]))[_0x57eac6(0x16a)](()=>this[_0x57eac6(0x28d)](_0x2dcbd6));}[_0x3e57a9(0x26e)](_0x1775c8,_0xed3ddc=!0x1){const _0x34f089=_0x3e57a9,_0x18f6b5=this['_urlService'][_0x34f089(0x19a)](_0x34f089(0xf3));_0x1775c8[_0x34f089(0x1aa)]()!==_0x18f6b5&&this['_urlService'][_0x34f089(0xec)](_0x34f089(0xf3),_0x1775c8[_0x34f089(0x1aa)](),_0xed3ddc);}async[_0x3e57a9(0x28d)](_0x4dba96){const _0xbe4034=_0x3e57a9;var _0x3ce3be;const _0x5e4841=this[_0xbe4034(0x19c)][_0xbe4034(0x19a)](_0xbe4034(0xf3));if(!_0x5e4841||!_0x4dba96[_0xbe4034(0x33a)](_0x5e4841)){const _0x15677f=_0x4dba96[_0xbe4034(0x23f)]()[0x0],_0xaeadcc=_0x4dba96[_0xbe4034(0x33a)](_0x15677f);if(!_0xaeadcc)return;this['_updateURLWithCurrentState'](_0xaeadcc,!0x0),await this['_commandService'][_0xbe4034(0xfd)](g[_0xbe4034(0x26d)]['id'],{'unitId':_0x4dba96[_0xbe4034(0x331)](),'subUnitId':_0x15677f});return;}((_0x3ce3be=_0x4dba96[_0xbe4034(0x1d3)]())==null?void 0x0:_0x3ce3be[_0xbe4034(0x1aa)]())!==_0x5e4841&&await this['_commandService'][_0xbe4034(0xfd)](g[_0xbe4034(0x26d)]['id'],{'unitId':_0x4dba96[_0xbe4034(0x331)](),'subUnitId':_0x5e4841});}},exports[_0x3e57a9(0x14a)]=Bt([F(0x0,pe),F(0x1,a['ILogService']),F(0x2,a[_0x3e57a9(0x1c2)]),F(0x3,a[_0x3e57a9(0x181)](u[_0x3e57a9(0x13d)])),F(0x4,a[_0x3e57a9(0x27b)](Ge['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var jt=Object[_0x3e57a9(0x2df)],kt=(_0x15c619,_0xf97295,_0x500a3c,_0x28d549)=>{const _0x281072=_0x3e57a9;for(var _0x4b95b6=_0x28d549>0x1?void 0x0:_0x28d549?jt(_0xf97295,_0x500a3c):_0xf97295,_0x23e38a=_0x15c619[_0x281072(0x29b)]-0x1,_0x2251fb;_0x23e38a>=0x0;_0x23e38a--)(_0x2251fb=_0x15c619[_0x23e38a])&&(_0x4b95b6=_0x2251fb(_0x4b95b6)||_0x4b95b6);return _0x4b95b6;},Ue=(_0x5e81ff,_0x1d1703)=>(_0x316d93,_0x5f3918)=>_0x1d1703(_0x316d93,_0x5f3918,_0x5e81ff);let z=class{constructor(_0x4e423a,_0x189126){const _0x508190=_0x3e57a9;this['_transformService']=_0x4e423a,this[_0x508190(0x2de)]=_0x189126;}[_0x3e57a9(0x2cc)](_0x5e9c16){const _0x20ef51=_0x3e57a9;this[_0x20ef51(0x2d2)](_0x5e9c16),this['_transformPreviousActiveRange'](_0x5e9c16);}[_0x3e57a9(0x1ae)](_0x19f494){const _0x226af3=_0x3e57a9,{unitID:_0x3fdd69}=_0x19f494,_0x16871a=this[_0x226af3(0x2de)][_0x226af3(0x300)](_0x3fdd69)[_0x226af3(0x232)](E[_0x226af3(0x2f4)]),{redoCache:_0x3398f1}=_0x16871a[_0x226af3(0x115)]();if(_0x3398f1[_0x226af3(0x29b)]===0x0)return _0x19f494;let _0x41c015=a[_0x226af3(0x24e)]['deepClone'](_0x19f494[_0x226af3(0x333)][0x0]);for(let _0x377732=0x0;_0x377732<_0x3398f1[_0x226af3(0x29b)];_0x377732++){const _0x3358a3={'id':_0x226af3(0x354),'params':{..._0x3398f1[_0x377732]}},_0x2ecc0b=this['_transformService'][_0x226af3(0x175)](_0x41c015,_0x3358a3,!0x1);if(m['isTransformMutationFailure'](_0x2ecc0b))throw _0x2ecc0b[_0x226af3(0x189)];_0x41c015=_0x2ecc0b[_0x226af3(0x352)];}return{...a[_0x226af3(0x24e)]['deepClone'](_0x19f494),'mutations':[_0x41c015]};}['_transformUndoRedoStack'](_0x4d1454){const _0x560fff=_0x3e57a9,{unitID:_0x1321eb}=_0x4d1454,_0x3a9a64=this[_0x560fff(0x2de)][_0x560fff(0x300)](_0x1321eb)[_0x560fff(0x232)](E[_0x560fff(0x2f4)]),{undoCache:_0xaf6338,redoCache:_0x15ce1d}=_0x3a9a64[_0x560fff(0x115)]();if(_0xaf6338['length']===0x0||_0x15ce1d[_0x560fff(0x29b)]===0x0)return;const _0x954cf0=[],_0x12e35e=[];let _0x410284=a[_0x560fff(0x24e)][_0x560fff(0x243)](_0x4d1454['mutations'][0x0]),_0x38e7da=a[_0x560fff(0x24e)][_0x560fff(0x243)](_0x4d1454[_0x560fff(0x333)][0x0]);for(let _0x4fe2ce=_0xaf6338['length']-0x1;_0x4fe2ce>=0x0;_0x4fe2ce--){const _0xcbc943={'id':'doc.mutation.rich-text-editing','params':{..._0xaf6338[_0x4fe2ce]}},_0x10a3ab={'id':_0x560fff(0x354),'params':{..._0x15ce1d[_0x4fe2ce]}},_0x539051=this[_0x560fff(0x273)][_0x560fff(0x175)](_0x410284,_0xcbc943,!0x1),_0x466345=this[_0x560fff(0x273)][_0x560fff(0x175)](_0x38e7da,_0x10a3ab,!0x1);if(m[_0x560fff(0x1be)](_0x539051))throw _0x539051[_0x560fff(0x189)];if(m['isTransformMutationFailure'](_0x466345))throw _0x466345[_0x560fff(0x189)];_0x954cf0[_0x560fff(0x177)](_0x539051['m2Prime']['params']),_0x12e35e[_0x560fff(0x177)](_0x466345[_0x560fff(0x1d6)][_0x560fff(0xd7)]),_0x410284=_0x539051[_0x560fff(0x352)],_0x38e7da=_0x466345[_0x560fff(0x352)];}_0x3a9a64[_0x560fff(0x31d)]({'undoCache':_0x954cf0,'redoCache':_0x12e35e});}[_0x3e57a9(0xff)](_0x243b1f){const _0x102d18=_0x3e57a9,{unitID:_0x52494f}=_0x243b1f,_0x1b4359=this[_0x102d18(0x2de)][_0x102d18(0x300)](_0x52494f)[_0x102d18(0x232)](E['DocIMEInputManagerService']),_0x33e9fc=_0x1b4359[_0x102d18(0x290)]();if(_0x33e9fc==null)return;const _0x2eeefb=[{'id':_0x102d18(0x354),'params':{'unitId':_0x243b1f[_0x102d18(0x324)],'actions':null,'textRanges':[_0x33e9fc]}}],_0x49258e=this['_transformService']['transformMutationsWithChangeset'](_0x243b1f,_0x2eeefb);if(!m['isTransformMutationsWithChangesetSuccess'](_0x49258e))throw _0x49258e[_0x102d18(0x189)];const _0x30fd17=_0x49258e['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x30fd17)&&_0x30fd17[_0x102d18(0x29b)]&&_0x1b4359[_0x102d18(0x20a)](_0x30fd17[0x0]);}};z=kt([Ue(0x0,m[_0x3e57a9(0x1a3)]),Ue(0x1,p[_0x3e57a9(0x2a8)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x4866c9,_0x5374e8,_0x47e725,_0x38800c)=>{const _0x4943bf=_0x3e57a9;for(var _0x1ed96f=_0x38800c>0x1?void 0x0:_0x38800c?Ft(_0x5374e8,_0x47e725):_0x5374e8,_0x5ed735=_0x4866c9[_0x4943bf(0x29b)]-0x1,_0x510688;_0x5ed735>=0x0;_0x5ed735--)(_0x510688=_0x4866c9[_0x5ed735])&&(_0x1ed96f=_0x510688(_0x1ed96f)||_0x1ed96f);return _0x1ed96f;},ce=(_0x27395e,_0x25f6a4)=>(_0x19a053,_0x57b5c9)=>_0x25f6a4(_0x19a053,_0x57b5c9,_0x27395e);let J=class{constructor(_0x3d465b,_0x39a165,_0x59c1c3){const _0x2ad244=_0x3e57a9;this[_0x2ad244(0x1d2)]=_0x3d465b,this[_0x2ad244(0x273)]=_0x39a165,this[_0x2ad244(0x128)]=_0x59c1c3;}[_0x3e57a9(0x15b)](_0x2bf9b3){this['_transformHistoryAndStateStack'](_0x2bf9b3);}[_0x3e57a9(0x1ae)](_0x624421){const _0x1bc85d=_0x3e57a9,{unitID:_0x1e7a2d}=_0x624421,{collaboration:_0x585e80}=this[_0x1bc85d(0x128)][_0x1bc85d(0x1d7)](_0x1e7a2d);if(_0x585e80[_0x1bc85d(0x29b)]===0x0)return _0x624421;let _0x5041ac=a['Tools']['deepClone'](_0x624421['mutations'][0x0]);for(let _0x25f087=0x0;_0x25f087<_0x585e80['length'];_0x25f087++){const _0x5cb5fc={'id':_0x1bc85d(0x354),'params':{'unitId':_0x585e80[_0x25f087]['unitId'],..._0x585e80[_0x25f087][_0x1bc85d(0x2ee)]}},_0x57fa9b=this['_transformService']['transformMutation'](_0x5041ac,_0x5cb5fc,!0x1);if(m[_0x1bc85d(0x1be)](_0x57fa9b))throw _0x57fa9b[_0x1bc85d(0x189)];_0x5041ac=_0x57fa9b['m1Prime'];}return{...a[_0x1bc85d(0x24e)][_0x1bc85d(0x243)](_0x624421),'mutations':[_0x5041ac]};}[_0x3e57a9(0x288)](_0x365262){const _0x26a3e1=_0x3e57a9,{unitID:_0x1e91b5}=_0x365262,{history:_0xe2b97a,collaboration:_0x3fd319}=this[_0x26a3e1(0x128)]['getStateCache'](_0x1e91b5);if(_0xe2b97a['length']===0x0&&_0x3fd319['length']===0x0)return;const _0x8b8808=[],_0x58ccc5=[];let _0x23bcb1=a[_0x26a3e1(0x24e)]['deepClone'](_0x365262['mutations'][0x0]),_0x44001d=a[_0x26a3e1(0x24e)][_0x26a3e1(0x243)](_0x365262[_0x26a3e1(0x333)][0x0]);for(let _0x2b97f9=_0xe2b97a[_0x26a3e1(0x29b)]-0x1;_0x2b97f9>=0x0;_0x2b97f9--){const _0x352fcf={'id':_0x26a3e1(0x354),'params':{'unitId':_0xe2b97a[_0x2b97f9][_0x26a3e1(0x1ea)],..._0xe2b97a[_0x2b97f9]['undoState']}},_0x257001={'id':_0x26a3e1(0x354),'params':{'unitId':_0xe2b97a[_0x2b97f9][_0x26a3e1(0x1ea)],..._0xe2b97a[_0x2b97f9][_0x26a3e1(0x2ee)]}},_0x23a373=this[_0x26a3e1(0x273)][_0x26a3e1(0x175)](_0x23bcb1,_0x352fcf,!0x1),_0x28c9cc=this['_transformService'][_0x26a3e1(0x175)](_0x44001d,_0x257001,!0x1);if(m[_0x26a3e1(0x1be)](_0x23a373))throw _0x23a373['error'];if(m[_0x26a3e1(0x1be)](_0x28c9cc))throw _0x28c9cc[_0x26a3e1(0x189)];_0x8b8808[_0x26a3e1(0x177)]({..._0xe2b97a[_0x2b97f9],'undoState':_0x23a373[_0x26a3e1(0x1d6)][_0x26a3e1(0xd7)],'redoState':_0x28c9cc['m2Prime'][_0x26a3e1(0xd7)]}),_0x23bcb1=_0x23a373[_0x26a3e1(0x352)],_0x44001d=_0x28c9cc[_0x26a3e1(0x352)];}_0x23bcb1=a['Tools']['deepClone'](_0x365262[_0x26a3e1(0x333)][0x0]),_0x44001d=a[_0x26a3e1(0x24e)][_0x26a3e1(0x243)](_0x365262['mutations'][0x0]);for(let _0x1381b3=_0x3fd319[_0x26a3e1(0x29b)]-0x1;_0x1381b3>=0x0;_0x1381b3--){const _0x29717a={'id':_0x26a3e1(0x354),'params':{'unitId':_0x3fd319[_0x1381b3][_0x26a3e1(0x1ea)],..._0x3fd319[_0x1381b3][_0x26a3e1(0x2cf)]}},_0x58f555={'id':_0x26a3e1(0x354),'params':{'unitId':_0x3fd319[_0x1381b3][_0x26a3e1(0x1ea)],..._0x3fd319[_0x1381b3][_0x26a3e1(0x2ee)]}},_0xf81059=this[_0x26a3e1(0x273)]['transformMutation'](_0x23bcb1,_0x29717a,!0x1),_0x16882d=this[_0x26a3e1(0x273)][_0x26a3e1(0x175)](_0x44001d,_0x58f555,!0x1);if(m['isTransformMutationFailure'](_0xf81059))throw _0xf81059[_0x26a3e1(0x189)];if(m['isTransformMutationFailure'](_0x16882d))throw _0x16882d[_0x26a3e1(0x189)];_0x58ccc5['unshift']({..._0x3fd319[_0x1381b3],'undoState':_0xf81059[_0x26a3e1(0x1d6)]['params'],'redoState':_0x16882d[_0x26a3e1(0x1d6)][_0x26a3e1(0xd7)]}),_0x23bcb1=_0xf81059[_0x26a3e1(0x352)],_0x44001d=_0x16882d[_0x26a3e1(0x352)];}this['_docStateChangeManagerService']['setStateCache'](_0x1e91b5,{'history':_0x8b8808,'collaboration':_0x58ccc5});}};J=Ht([ce(0x0,a[_0x3e57a9(0x181)](a['Injector'])),ce(0x1,m[_0x3e57a9(0x1a3)]),ce(0x2,a['Inject'](E[_0x3e57a9(0xfb)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x1f7c11,_0x4c3935,_0x1a7643,_0x3789de)=>{const _0x599976=_0x3e57a9;for(var _0x1958d8=_0x3789de>0x1?void 0x0:_0x3789de?Yt(_0x4c3935,_0x1a7643):_0x4c3935,_0x45ac07=_0x1f7c11[_0x599976(0x29b)]-0x1,_0x1e9a71;_0x45ac07>=0x0;_0x45ac07--)(_0x1e9a71=_0x1f7c11[_0x45ac07])&&(_0x1958d8=_0x1e9a71(_0x1958d8)||_0x1958d8);return _0x1958d8;},Ne=(_0x3f717d,_0x21f47c)=>(_0x54de9d,_0x51943f)=>_0x21f47c(_0x54de9d,_0x51943f,_0x3f717d);let Z=class{constructor(_0x303199,_0x1822ff){const _0x17c14d=_0x3e57a9;this['_injector']=_0x303199,this[_0x17c14d(0x273)]=_0x1822ff;}[_0x3e57a9(0x224)](_0x1c5530){const _0x53cdf6=_0x3e57a9;var _0x343238;const _0x36f0a6=this[_0x53cdf6(0x1d2)]['get'](Y[_0x53cdf6(0x184)]),_0x3bbd7c=(_0x343238=_0x36f0a6['getDocRanges']())!=null?_0x343238:[];if(_0x3bbd7c['length']===0x0)return;const _0x2e561c=_0x1c5530['unitID'],_0x502a57=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e561c,'actions':null,'textRanges':_0x3bbd7c}}],_0x509592=this['_transformService'][_0x53cdf6(0x145)](_0x1c5530,_0x502a57);if(!m[_0x53cdf6(0x355)](_0x509592))throw _0x509592[_0x53cdf6(0x189)];const _0x1e14aa=_0x509592[_0x53cdf6(0x1d6)][0x0]['params']['textRanges'];Array[_0x53cdf6(0x124)](_0x1e14aa)&&_0x1e14aa[_0x53cdf6(0x29b)]&&_0x36f0a6[_0x53cdf6(0x1dc)](_0x1e14aa,{'unitId':_0x2e561c,'subUnitId':_0x2e561c},!0x1);}};Z=Wt([Ne(0x0,a[_0x3e57a9(0x181)](a['Injector'])),Ne(0x1,m[_0x3e57a9(0x1a3)])],Z);var Vt=Object[_0x3e57a9(0x2df)],Xt=(_0x32e11f,_0x11c0a4,_0x457a16,_0x5003ed)=>{const _0x10eaa8=_0x3e57a9;for(var _0x2760ae=_0x5003ed>0x1?void 0x0:_0x5003ed?Vt(_0x11c0a4,_0x457a16):_0x11c0a4,_0x2a4c0e=_0x32e11f[_0x10eaa8(0x29b)]-0x1,_0x154374;_0x2a4c0e>=0x0;_0x2a4c0e--)(_0x154374=_0x32e11f[_0x2a4c0e])&&(_0x2760ae=_0x154374(_0x2760ae)||_0x2760ae);return _0x2760ae;},N=(_0x2c8dc7,_0x36871b)=>(_0x929c3,_0x3e62f4)=>_0x36871b(_0x929c3,_0x3e62f4,_0x2c8dc7);let Q=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x4252b4,_0x498d1a,_0x1393a7,_0x39933f,_0x3abc5c,_0x376e78,_0x58defb,_0x358bb5){const _0x592865=_0x3e57a9;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x592865(0x132)]['NOT_COLLAB'])),(this[_0x592865(0x128)]=_0x4252b4,this[_0x592865(0x2c2)]=_0x498d1a,this[_0x592865(0x201)]=_0x1393a7,this['_docTransformStateCacheService']=_0x39933f,this[_0x592865(0x1df)]=_0x3abc5c,this[_0x592865(0x1ba)]=_0x376e78,this[_0x592865(0x2da)]=_0x58defb,this['_localeService']=_0x358bb5,this[_0x592865(0x1f5)]());}[_0x3e57a9(0x1f5)](){const _0x1e7769=_0x3e57a9;this[_0x1e7769(0x204)](this[_0x1e7769(0x2c2)][_0x1e7769(0x16f)][_0x1e7769(0x16a)](_0x2b1882=>{const _0x2261d6=_0x1e7769,_0x1b8022=this[_0x2261d6(0x128)][_0x2261d6(0x167)][_0x2261d6(0x16a)](_0x104483=>{const _0x4b2bc5=_0x2261d6;if(_0x104483==null)return;const {unitId:_0x5a43eb,redoState:_0x56c5c6,commandId:_0x54b71c}=_0x104483;if(_0x5a43eb!==_0x2b1882[_0x4b2bc5(0x324)])return;const _0x5d327d={'id':_0x54b71c,'type':a[_0x4b2bc5(0x171)][_0x4b2bc5(0x2d8)],'params':{'unitId':_0x5a43eb,'actions':_0x56c5c6['actions'],'textRanges':null}};_0x2b1882[_0x4b2bc5(0x2a9)](_0x5d327d);});if(_0x2b1882[_0x2261d6(0x204)](_0x1b8022),_0x2b1882 instanceof u['DocCollaborationEntity']){const _0x565199={'onTransformIME':_0x459f47=>this[_0x2261d6(0x201)][_0x2261d6(0x2cc)](_0x459f47),'onTransformState':_0x2ad827=>this[_0x2261d6(0x23b)][_0x2261d6(0x15b)](_0x2ad827),'onTransformSelections':_0x5babb1=>this['_docTransformSelectionsService']['transformSelections'](_0x5babb1),'onSyncEditingCollabCursor':_0x4541c1=>this[_0x2261d6(0x1ba)]['syncEditingCollabCursor'](_0x4541c1),'onTransformRemoteChangesetByIMECache':_0xc80ff7=>this[_0x2261d6(0x201)]['transformRemoteChangeset'](_0xc80ff7),'onTransformRemoteChangesetByStateCache':_0x18e5e8=>this[_0x2261d6(0x23b)]['transformRemoteChangeset'](_0x18e5e8)};_0x2b1882[_0x2261d6(0x2d0)](_0x565199);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x3e57a9(0xfb)])),N(0x1,a[_0x3e57a9(0x181)](u['CollaborationController'])),N(0x2,a[_0x3e57a9(0x181)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x3e57a9(0x181)](Z)),N(0x5,a[_0x3e57a9(0x181)](me)),N(0x6,O['IMessageService']),N(0x7,a[_0x3e57a9(0x181)](a['LocaleService']))],Q);var Gt=Object[_0x3e57a9(0x2df)],Kt=(_0x1b10d5,_0x212b2a,_0x4d5638,_0x463464)=>{const _0x139d69=_0x3e57a9;for(var _0x4208be=_0x463464>0x1?void 0x0:_0x463464?Gt(_0x212b2a,_0x4d5638):_0x212b2a,_0x356f2f=_0x1b10d5[_0x139d69(0x29b)]-0x1,_0x2843e0;_0x356f2f>=0x0;_0x356f2f--)(_0x2843e0=_0x1b10d5[_0x356f2f])&&(_0x4208be=_0x2843e0(_0x4208be)||_0x4208be);return _0x4208be;},le=(_0x40dff5,_0x25d976)=>(_0x2ab4ea,_0x2e3d73)=>_0x25d976(_0x2ab4ea,_0x2e3d73,_0x40dff5);let ve=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x674546,_0x5200a2,_0xa93d74){const _0x47e64c=_0x3e57a9;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,'_disabled',!0x1),(this[_0x47e64c(0x27d)]=_0x674546,this[_0x47e64c(0x162)]=_0x5200a2,this['_revisionService']=_0xa93d74);}[_0x3e57a9(0x1d9)](){this['_disabled']=!0x0;}[_0x3e57a9(0x14f)](){const _0x4d2581=_0x3e57a9;this[_0x4d2581(0x2ad)]=!0x1;}get[_0x3e57a9(0x1c9)](){return this['_saveTaskMap'];}[_0x3e57a9(0x294)](){const _0x563c9b=_0x3e57a9;this[_0x563c9b(0x105)]()[_0x563c9b(0x2c0)](()=>super['dispose']());}async[_0x3e57a9(0x116)](_0x439f61){const _0x4a6b15=_0x3e57a9;return this[_0x4a6b15(0x2ad)]?null:this[_0x4a6b15(0x162)][_0x4a6b15(0x114)](u[_0x4a6b15(0x314)](_0x439f61));}async[_0x3e57a9(0x22c)](_0x293b7a,_0xbf128b){const _0x25a6bc=_0x3e57a9;return!!this[_0x25a6bc(0x162)]['setItem'](_0x293b7a,_0xbf128b);}[_0x3e57a9(0x1c3)](_0x41b176,_0x609958,_0x345616,_0x1f41f2){const _0x3f829b=_0x3e57a9,_0x703a9a=this[_0x3f829b(0x286)]['getCurrentRevOfUnit'](_0x41b176);this[_0x3f829b(0x329)]['set'](_0x41b176,{'unitID':_0x41b176,'type':_0x609958,'awaitingChangeset':_0x345616,'mutations':_0x1f41f2,'rev':_0x703a9a}),this[_0x3f829b(0x26a)]['has'](_0x41b176)||this[_0x3f829b(0x291)](_0x41b176);}[_0x3e57a9(0x291)](_0x4d7ff3){const _0x588013=_0x3e57a9,_0x3be389=this['_getSaveTimeout']();_0x3be389===0x0?this[_0x588013(0x168)](_0x4d7ff3):this[_0x588013(0x26a)]['set'](_0x4d7ff3,setTimeout(()=>this[_0x588013(0x168)](_0x4d7ff3),_0x3be389));}['_getSaveTimeout'](){const _0x3aec9b=_0x3e57a9;var _0x1f377c;return(_0x1f377c=this[_0x3aec9b(0x27d)][_0x3aec9b(0x13c)](u[_0x3aec9b(0x14b)]))!=null?_0x1f377c:u['LOCAL_CACHE_INTERVAL'];}[_0x3e57a9(0x168)](_0x15ef6f){const _0x13d59d=_0x3e57a9,_0x27d469=this[_0x13d59d(0x26a)][_0x13d59d(0x154)](_0x15ef6f);return _0x27d469!==void 0x0&&window[_0x13d59d(0x166)](_0x27d469),this[_0x13d59d(0x162)][_0x13d59d(0x21e)](u[_0x13d59d(0x314)](_0x15ef6f),this[_0x13d59d(0x329)][_0x13d59d(0x154)](_0x15ef6f))['then'](()=>this[_0x13d59d(0x26a)][_0x13d59d(0x1ad)](_0x15ef6f));}async[_0x3e57a9(0x105)](){const _0x5a8ba6=_0x3e57a9,_0x154abe=[];this[_0x5a8ba6(0x26a)]['forEach']((_0x4ab650,_0x526dbe)=>{const _0x54cdd0=_0x5a8ba6;window[_0x54cdd0(0x166)](_0x4ab650),_0x154abe[_0x54cdd0(0x27a)](this[_0x54cdd0(0x168)](_0x526dbe)[_0x54cdd0(0x2c0)](()=>{const _0x1dd546=_0x54cdd0;this[_0x1dd546(0x26a)][_0x1dd546(0x1ad)](_0x526dbe);}));}),await Promise[_0x5a8ba6(0x256)](_0x154abe);}};ve=Kt([le(0x0,a[_0x3e57a9(0x1c1)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x3e57a9(0x181)](m[_0x3e57a9(0x113)]))],ve);class xe extends a[_0x3e57a9(0x28e)]{constructor(){const _0x5e91f0=_0x3e57a9;super(),h(this,_0x5e91f0(0x2f8)),this[_0x5e91f0(0x2f8)]=d[_0x5e91f0(0xd9)](window,_0x5e91f0(0x341))[_0x5e91f0(0x351)](d[_0x5e91f0(0x1e9)](this[_0x5e91f0(0x149)]),d['shareReplay'](0x1),d[_0x5e91f0(0x316)](void 0x0));}[_0x3e57a9(0xec)](_0x4ca272,_0x396dab,_0x5c793=!0x1){const _0x26b6c6=_0x3e57a9,_0x9e1d39=new URL(window['location'][_0x26b6c6(0x2ac)]);_0x9e1d39[_0x26b6c6(0x26f)][_0x26b6c6(0x1f3)](_0x4ca272,_0x396dab),_0x5c793?window[_0x26b6c6(0x225)]['replaceState']('','',_0x9e1d39['toString']()):window[_0x26b6c6(0x225)]['pushState']('','',_0x9e1d39[_0x26b6c6(0x27f)]());}['removeParam'](_0x20e750,_0x4ae281=!0x1){const _0x3a0ab2=_0x3e57a9,_0x10a7ed=new URL(window[_0x3a0ab2(0x1b1)][_0x3a0ab2(0x2ac)]);_0x10a7ed[_0x3a0ab2(0x26f)][_0x3a0ab2(0x1ad)](_0x20e750),_0x4ae281?window[_0x3a0ab2(0x225)]['replaceState']('','',_0x10a7ed[_0x3a0ab2(0x27f)]()):window['history'][_0x3a0ab2(0x32f)]('','',_0x10a7ed['toString']());}['getParam'](_0x2682ca){const _0x51858c=_0x3e57a9;var _0x19996e;return(_0x19996e=new URL(window[_0x51858c(0x1b1)][_0x51858c(0x2ac)])[_0x51858c(0x26f)][_0x51858c(0x154)](_0x2682ca))!=null?_0x19996e:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x3e57a9(0x2df)],Jt=(_0x5c25d5,_0x340318,_0xc094e4)=>_0x340318 in _0x5c25d5?qt(_0x5c25d5,_0x340318,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc094e4}):_0x5c25d5[_0x340318]=_0xc094e4,Zt=(_0x315cb8,_0x4d50d3,_0x3aca85,_0x104577)=>{for(var _0x4865d1=_0x104577>0x1?void 0x0:_0x104577?zt(_0x4d50d3,_0x3aca85):_0x4d50d3,_0x432f61=_0x315cb8['length']-0x1,_0x1c8221;_0x432f61>=0x0;_0x432f61--)(_0x1c8221=_0x315cb8[_0x432f61])&&(_0x4865d1=_0x1c8221(_0x4865d1)||_0x4865d1);return _0x4865d1;},_e=(_0x417d1e,_0x2dc49f)=>(_0x442000,_0xc0f36a)=>_0x2dc49f(_0x442000,_0xc0f36a,_0x417d1e),Qt=(_0x869b62,_0x48e9dd,_0x215b9b)=>Jt(_0x869b62,_0x48e9dd+'',_0x215b9b);const es=_0x3e57a9(0x262);exports[_0x3e57a9(0x305)]=class extends a['Plugin']{constructor(_0x122e5b=De,_0x5dc0cf,_0x1f94f6,_0x4ffc31){const _0x56155f=_0x3e57a9;super(),this[_0x56155f(0x31f)]=_0x122e5b,this[_0x56155f(0x2de)]=_0x5dc0cf,this[_0x56155f(0x1d2)]=_0x1f94f6,this[_0x56155f(0x27d)]=_0x4ffc31;const {..._0x45c4b4}=a['merge']({},De,this[_0x56155f(0x31f)]);this[_0x56155f(0x27d)][_0x56155f(0x2bf)]($t,_0x45c4b4);}[_0x3e57a9(0x285)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x3e57a9(0x29e)](){const _0x1cf11b=_0x3e57a9;this[_0x1cf11b(0x221)]();}[_0x3e57a9(0x265)](){const _0x1f6b5d=_0x3e57a9;var _0x1c7843;const _0x1b9962=[[ge],[Z],[z],[J],[me],[pe,{'useClass':xe}],[K[_0x1f6b5d(0x138)],{'useClass':K[_0x1f6b5d(0x2d3)]}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x1f6b5d(0xed)]],[Q],[q],[x],[ue],[exports[_0x1f6b5d(0x14a)]]];a[_0x1f6b5d(0xe8)](this['_injector'],a['mergeOverrideWithDependencies'](_0x1b9962,(_0x1c7843=this[_0x1f6b5d(0x31f)])==null?void 0x0:_0x1c7843[_0x1f6b5d(0x24c)]));}[_0x3e57a9(0x221)](){const _0x299417=_0x3e57a9;this['disposeWithMe'](this[_0x299417(0x2de)][_0x299417(0x336)](a[_0x299417(0x193)][_0x299417(0x1e6)],[fe])),this[_0x299417(0x204)](this[_0x299417(0x2de)][_0x299417(0x336)](a[_0x299417(0x193)][_0x299417(0x234)],[Ie]));}[_0x3e57a9(0x146)](){const _0x36a871=_0x3e57a9;a[_0x36a871(0x11f)](this[_0x36a871(0x1d2)],[[x],[exports[_0x36a871(0xed)]],[Q],[q],[exports[_0x36a871(0x14a)]]]);}},Qt(exports[_0x3e57a9(0x305)],_0x3e57a9(0x2a0),es),exports[_0x3e57a9(0x305)]=Zt([a['DependentOn'](u[_0x3e57a9(0x20b)]),_e(0x1,p[_0x3e57a9(0x2a8)]),_e(0x2,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),_e(0x3,a[_0x3e57a9(0x1c1)])],exports[_0x3e57a9(0x305)]);var ts=Object[_0x3e57a9(0x2df)],ss=(_0x537210,_0x5f2aae,_0x547966,_0x30bc2f)=>{const _0x431031=_0x3e57a9;for(var _0x4c5de3=_0x30bc2f>0x1?void 0x0:_0x30bc2f?ts(_0x5f2aae,_0x547966):_0x5f2aae,_0x2641ff=_0x537210[_0x431031(0x29b)]-0x1,_0x25ee2f;_0x2641ff>=0x0;_0x2641ff--)(_0x25ee2f=_0x537210[_0x2641ff])&&(_0x4c5de3=_0x25ee2f(_0x4c5de3)||_0x4c5de3);return _0x4c5de3;},H=(_0x1199ec,_0x47b433)=>(_0x2efba4,_0x3ab696)=>_0x47b433(_0x2efba4,_0x3ab696,_0x1199ec);exports[_0x3e57a9(0x1e5)]=class extends u[_0x3e57a9(0x287)]{constructor(_0x431883,_0x2454b2,_0x3dcf41,_0x3293ef,_0x41c3e2){super(_0x431883,_0x2454b2,_0x3dcf41,_0x3293ef,_0x41c3e2);}async['createSocket'](_0xca8168){const _0x2c2f6e=_0x3e57a9,_0x444048=await this[_0x2c2f6e(0x29d)](),_0x14b29d=this[_0x2c2f6e(0x349)](_0xca8168,_0x444048);return this['_doCreateSocket'](_0x14b29d);}[_0x3e57a9(0x349)](_0x54c459,_0x224951){const _0x2b31bc=_0x3e57a9,_0x2cb095=typeof window>'u'?new URL(_0x54c459):new URL(_0x54c459,window[_0x2b31bc(0x1b1)][_0x2b31bc(0x15f)]);_0x2cb095[_0x2b31bc(0x26f)][_0x2b31bc(0x1f3)](_0x2b31bc(0x2e6),_0x224951);const _0x34169f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2b31bc(0x1b1)][_0x2b31bc(0x280)]);return _0x34169f[_0x2b31bc(0x154)]('runId')&&_0x2cb095['searchParams']['set'](_0x2b31bc(0x13a),_0x34169f['get']('runId')),_0x2cb095[_0x2b31bc(0x27f)]();}async[_0x3e57a9(0x29d)](){const _0x15055f=_0x3e57a9;var _0x3f82ab,_0x59b6fc,_0x536b1c;const _0x1c9c9a=this[_0x15055f(0x27d)][_0x15055f(0x13c)](u[_0x15055f(0x250)]),_0x573e30=(_0x3f82ab=_0x1c9c9a==null?void 0x0:_0x1c9c9a[_0x15055f(0x13f)])!=null?_0x3f82ab:u[_0x15055f(0x112)];return(_0x536b1c=(_0x59b6fc=(await this[_0x15055f(0xf8)][_0x15055f(0x154)](_0x573e30,{'headers':{'Content-Type':'application/json'}}))[_0x15055f(0xde)])==null?void 0x0:_0x59b6fc[_0x15055f(0x140)])!=null?_0x536b1c:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0x3e57a9(0x181)](a[_0x3e57a9(0x30e)])),H(0x1,a[_0x3e57a9(0x181)](K[_0x3e57a9(0x15d)])),H(0x2,a[_0x3e57a9(0x1c1)]),H(0x3,a[_0x3e57a9(0x2bd)]),H(0x4,m[_0x3e57a9(0x195)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x3e57a9(0x299);class is extends a['Disposable']{constructor(){const _0x53e217=_0x3e57a9;super(),h(this,_0x53e217(0x1a5),a['generateRandomId']()),h(this,_0x53e217(0x147),new Set()),h(this,_0x53e217(0x141),new Map()),h(this,_0x53e217(0x34c),null),h(this,_0x53e217(0x297),new Map()),h(this,_0x53e217(0x14c),new Map()),this[_0x53e217(0x1b9)]();}[_0x3e57a9(0x294)](){const _0x4c8755=_0x3e57a9;super[_0x4c8755(0x294)](),this[_0x4c8755(0x297)][_0x4c8755(0x191)]((_0x51e1d5,_0x4e80af)=>this['_removeClearOtherTimer'](_0x4e80af)),this['_heartbeatTimer']&&window[_0x4c8755(0x164)](this[_0x4c8755(0x34c)]);}[_0x3e57a9(0x32b)](_0x5abaff){const _0x2414a8=_0x3e57a9;return this[_0x2414a8(0x17e)](_0x5abaff)['pipe'](d['distinctUntilChanged']());}[_0x3e57a9(0x2b7)](_0x1ffff3){const _0x2be01e=_0x3e57a9;this['_selfUnitIDs'][_0x2be01e(0x347)]===0x0&&this[_0x2be01e(0x1b6)](),this[_0x2be01e(0x147)]['add'](_0x1ffff3),this[_0x2be01e(0x30b)]({'type':0x0,'memberID':this[_0x2be01e(0x1a5)],'unitIDs':[_0x1ffff3],'isForwarded':!0x1});}[_0x3e57a9(0x289)](_0x30e24a){const _0x2992e4=_0x3e57a9;this[_0x2992e4(0x147)][_0x2992e4(0x1ad)](_0x30e24a),this[_0x2992e4(0x147)][_0x2992e4(0x347)]===0x0&&this[_0x2992e4(0x34c)]&&window['clearInterval'](this[_0x2992e4(0x34c)]);}[_0x3e57a9(0x1b9)](){const _0x4f2b72=_0x3e57a9;this['disposeWithMe'](a[_0x4f2b72(0x110)](d[_0x4f2b72(0xd9)](window,_0x4f2b72(0x163))[_0x4f2b72(0x16a)](_0x36be66=>{const _0x51a6fa=_0x4f2b72;if(_0x36be66[_0x51a6fa(0x270)]!==Le||!_0x36be66['newValue'])return;const _0x4963e8=JSON['parse'](_0x36be66[_0x51a6fa(0x15e)]);this[_0x51a6fa(0x2e3)](_0x4963e8);}))),window[_0x4f2b72(0x10b)](_0x4f2b72(0x2e2),()=>this[_0x4f2b72(0x30b)]({'type':0x1,'memberID':this[_0x4f2b72(0x1a5)],'unitIDs':Array[_0x4f2b72(0x35a)](this[_0x4f2b72(0x147)])}));}[_0x3e57a9(0x2e3)](_0x1a95ec){const _0x27045a=_0x3e57a9;switch(_0x1a95ec[_0x27045a(0x322)]){case 0x0:this[_0x27045a(0x251)](_0x1a95ec);break;case 0x1:this['_handleLeaveEvent'](_0x1a95ec);break;case 0x2:this['_handleHeartbeatEvent'](_0x1a95ec);break;}}['_handleJoinEvent'](_0x1c8875){const _0x4b0f66=_0x3e57a9,{unitIDs:_0x3e164f,memberID:_0x8e9d2b,isForwarded:_0x480171}=_0x1c8875;_0x3e164f[_0x4b0f66(0x191)](_0x385159=>{const _0x5eec02=_0x4b0f66;if(!_0x480171&&this[_0x5eec02(0x141)][_0x5eec02(0x274)](_0x385159)&&this[_0x5eec02(0x17e)](_0x385159)['next'](u[_0x5eec02(0x35b)]['OTHER_CLIENTS_EDITING']),!this[_0x5eec02(0x141)][_0x5eec02(0x274)](_0x385159)||!this['_unitOnClients']['get'](_0x385159)[_0x5eec02(0x274)](_0x8e9d2b)){const _0x947e86=this[_0x5eec02(0x141)][_0x5eec02(0x154)](_0x385159)||new Set();_0x947e86[_0x5eec02(0x1f1)](_0x8e9d2b),this[_0x5eec02(0x141)][_0x5eec02(0x1f3)](_0x385159,_0x947e86),this[_0x5eec02(0x33d)](_0x8e9d2b);}}),_0x480171||this[_0x4b0f66(0x30b)]({'type':0x0,'memberID':this[_0x4b0f66(0x1a5)],'unitIDs':[...this[_0x4b0f66(0x147)]],'isForwarded':!0x0});}[_0x3e57a9(0x33d)](_0x5b76ca){const _0x24c0db=_0x3e57a9;this[_0x24c0db(0x26c)](_0x5b76ca);const _0x436742=window[_0x24c0db(0x185)](()=>{const _0x4b6bf3=_0x24c0db;this[_0x4b6bf3(0x141)][_0x4b6bf3(0x191)](_0x448520=>{_0x448520['delete'](_0x5b76ca);});},Me*0x2);this['_clearOtherTimers']['set'](_0x5b76ca,_0x436742);}['_removeClearOtherTimer'](_0x477b9f){const _0x346a67=_0x3e57a9;if(this[_0x346a67(0x297)][_0x346a67(0x274)](_0x477b9f)){const _0x3a2584=this[_0x346a67(0x297)]['get'](_0x477b9f);_0x3a2584&&window[_0x346a67(0x166)](_0x3a2584),this[_0x346a67(0x297)][_0x346a67(0x1f3)](_0x477b9f,null);}}[_0x3e57a9(0x159)](_0x8c92ec){const _0x229820=_0x3e57a9,{memberID:_0x9eceb,unitIDs:_0x3c1181}=_0x8c92ec;_0x3c1181[_0x229820(0x191)](_0x104501=>{const _0x1154e8=_0x229820;var _0x3847e2;const _0x2fa01f=this[_0x1154e8(0x141)]['get'](_0x104501);_0x2fa01f&&(_0x2fa01f[_0x1154e8(0x1ad)](_0x9eceb),(_0x3847e2=this['_ensureSubject'](_0x104501))==null||_0x3847e2[_0x1154e8(0x156)](_0x2fa01f['size']===0x0?u['UnitStatus'][_0x1154e8(0x312)]:u[_0x1154e8(0x35b)][_0x1154e8(0x348)]));}),this[_0x229820(0x26c)](_0x9eceb);}[_0x3e57a9(0x22e)](_0x13236b){const _0x5a4871=_0x3e57a9;this[_0x5a4871(0x33d)](_0x13236b[_0x5a4871(0x25f)]);}['_send'](_0x2c9df8){const _0x526805=_0x3e57a9;localStorage[_0x526805(0x21e)](Le,JSON[_0x526805(0xd8)](_0x2c9df8));}['_scheduleHeartbeat'](){const _0x418799=_0x3e57a9;this['_heartbeatTimer']=window[_0x418799(0x2a2)](()=>{const _0x32825d=_0x418799;this[_0x32825d(0x30b)]({'type':0x2,'memberID':this[_0x32825d(0x1a5)]});},Me);}['_ensureSubject'](_0x3ae47e){const _0x323f33=_0x3e57a9;return this[_0x323f33(0x14c)][_0x323f33(0x274)](_0x3ae47e)||this[_0x323f33(0x14c)]['set'](_0x3ae47e,new d[(_0x323f33(0x241))](u['UnitStatus'][_0x323f33(0x312)])),this['_unitStatus'][_0x323f33(0x154)](_0x3ae47e);}}var Be=(_0x5b40f2=>(_0x5b40f2[_0x5b40f2['UNDEFINED']=0x0]=_0x3e57a9(0x2fe),_0x5b40f2[_0x5b40f2['OK']=0x1]='OK',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x258)]=0x2]=_0x3e57a9(0x258),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1c6)]=0x3]=_0x3e57a9(0x1c6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x327)]=0x4]=_0x3e57a9(0x327),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2e1)]=0x5]=_0x3e57a9(0x2e1),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x12d)]=0x6]='ALREADY_EXISTS',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d7)]=0x7]='INVALID_ARGUMENT',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x137)]=0x8]=_0x3e57a9(0x137),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x23c)]=0x9]=_0x3e57a9(0x23c),_0x5b40f2[_0x5b40f2['LOGIN_FAILED']=0xa]=_0x3e57a9(0x230),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x197)]=0xb]=_0x3e57a9(0x197),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x12e)]=0xc]=_0x3e57a9(0x12e),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d5)]=0xd]=_0x3e57a9(0x2d5),_0x5b40f2[_0x5b40f2['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5b40f2[_0x5b40f2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3e57a9(0x298),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1ac)]=0x1771]=_0x3e57a9(0x1ac),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2d6)]=0x1772]=_0x3e57a9(0x2d6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x10d)]=0x1773]=_0x3e57a9(0x10d),_0x5b40f2[_0x5b40f2['APPLY_REJECT']=0x1b59]=_0x3e57a9(0xf7),_0x5b40f2[_0x5b40f2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3e57a9(0x1e0),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x33f)]=0x1b5b]=_0x3e57a9(0x33f),_0x5b40f2[_0x5b40f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x309)]=0x1b5d]='APPLY_DUPLICATED',_0x5b40f2[_0x5b40f2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3e57a9(0x1af),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xdc)]=0x2329]=_0x3e57a9(0xdc),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x33e)]=0x232a]=_0x3e57a9(0x33e),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x101)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1f4)]=0x232c]=_0x3e57a9(0x1f4),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xe4)]=0x232d]=_0x3e57a9(0xe4),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2c5)]=0x2711]=_0x3e57a9(0x2c5),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x24d)]=0x2712]=_0x3e57a9(0x24d),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2cd)]=0x2713]=_0x3e57a9(0x2cd),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x29c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1d8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5b40f2[_0x5b40f2[_0x3e57a9(0x2ca)]=0x271b]=_0x3e57a9(0x2ca),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xd6)]=0x271c]=_0x3e57a9(0xd6),_0x5b40f2[_0x5b40f2['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3e57a9(0x2f2),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x332)]=0x271e]=_0x3e57a9(0x332),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1fb)]=0x271f]=_0x3e57a9(0x1fb),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x1bc)]=0x2720]=_0x3e57a9(0x1bc),_0x5b40f2[_0x5b40f2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3e57a9(0x121),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xf5)]=0x2ee1]=_0x3e57a9(0xf5),_0x5b40f2[_0x5b40f2['INVALID_INVITE_CODE']=0x2ee2]=_0x3e57a9(0x340),_0x5b40f2[_0x5b40f2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3e57a9(0x19f),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x10e)]=0x2ee4]=_0x3e57a9(0x10e),_0x5b40f2[_0x5b40f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3e57a9(0x1ee),_0x5b40f2[_0x5b40f2['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3e57a9(0xe6),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xdd)]=0x32ca]=_0x3e57a9(0xdd),_0x5b40f2[_0x5b40f2[_0x3e57a9(0xe2)]=0x32cb]=_0x3e57a9(0xe2),_0x5b40f2[_0x5b40f2[_0x3e57a9(0x131)]=-0x1]=_0x3e57a9(0x131),_0x5b40f2))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x1d68e8,_0x3dbc2c,_0x77d113,_0x106501)=>{const _0x3d8033=_0x3e57a9;for(var _0x2081ad=_0x106501>0x1?void 0x0:_0x106501?ns(_0x3dbc2c,_0x77d113):_0x3dbc2c,_0x1dc2c1=_0x1d68e8[_0x3d8033(0x29b)]-0x1,_0x405a36;_0x1dc2c1>=0x0;_0x1dc2c1--)(_0x405a36=_0x1d68e8[_0x1dc2c1])&&(_0x2081ad=_0x405a36(_0x2081ad)||_0x2081ad);return _0x2081ad;},he=(_0x4b451d,_0x56c337)=>(_0x52b6e8,_0x35b0ff)=>_0x56c337(_0x52b6e8,_0x35b0ff,_0x4b451d);exports[_0x3e57a9(0x313)]=class extends a[_0x3e57a9(0x2a7)]{constructor(_0x117bf3,_0xee4762,_0x196797){const _0x220cad=_0x3e57a9;super(),this[_0x220cad(0x1ab)]=_0x117bf3,this[_0x220cad(0xf8)]=_0xee4762,this[_0x220cad(0x27d)]=_0x196797;}async[_0x3e57a9(0x2fc)](_0x16d02f,_0x2f1154,_0x4b1ddd,..._0x3688ec){const _0x594c4a=_0x3e57a9;var _0x2e7cf7,_0x4ba71b,_0x1a2df2,_0x16017e;const _0x9ffd4=this['_instanceService'][_0x594c4a(0x235)]();if(!_0x9ffd4)throw new Error(_0x594c4a(0x32c));const _0xa63974=((_0x2e7cf7=this[_0x594c4a(0x27d)][_0x594c4a(0x13c)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2e7cf7:u[_0x594c4a(0x2a1)])+'/'+_0x16d02f+_0x594c4a(0x2f0)+_0x2f1154,_0x135cef=new URL(window[_0x594c4a(0x1b1)][_0x594c4a(0x2ac)]),_0x1ae848={'scriptId':_0x16d02f,'runId':(_0x4ba71b=_0x135cef[_0x594c4a(0x26f)][_0x594c4a(0x154)]('runId'))!=null?_0x4ba71b:'','function':_0x2f1154,'unitId':_0x9ffd4[_0x594c4a(0x331)](),'argsOfFunction':JSON[_0x594c4a(0xd8)](_0x3688ec),'invokeId':(_0x1a2df2=_0x4b1ddd['invokeId'])!=null?_0x1a2df2:'','executionId':(_0x16017e=_0x4b1ddd[_0x594c4a(0x253)])!=null?_0x16017e:''};try{const _0x45adce=await this[_0x594c4a(0xf8)][_0x594c4a(0x28f)](_0xa63974,{'body':_0x1ae848});return _0x45adce['body'][_0x594c4a(0x189)]&&_0x45adce[_0x594c4a(0xde)][_0x594c4a(0x189)][_0x594c4a(0x2ec)]!==Be['OK']?_0x594c4a(0xe0):_0x45adce[_0x594c4a(0xde)][_0x594c4a(0xdf)];}catch{return _0x594c4a(0xe0);}}},exports[_0x3e57a9(0x313)]=rs([he(0x0,a[_0x3e57a9(0xf4)]),he(0x1,a[_0x3e57a9(0x181)](K[_0x3e57a9(0x15d)])),he(0x2,a['IConfigService'])],exports[_0x3e57a9(0x313)]),exports[_0x3e57a9(0xd4)]=pe,exports[_0x3e57a9(0x2ae)]=we,exports[_0x3e57a9(0x268)]=is,exports['WebURLService']=xe;
1
+ 'use strict';const _0x598bd7=_0x1844;(function(_0x29c838,_0x343080){const _0x185982=_0x1844,_0x1e3c92=_0x29c838();while(!![]){try{const _0x1f1834=-parseInt(_0x185982(0x2b2))/0x1*(parseInt(_0x185982(0x2cf))/0x2)+-parseInt(_0x185982(0x1c9))/0x3*(parseInt(_0x185982(0x385))/0x4)+-parseInt(_0x185982(0x36d))/0x5*(-parseInt(_0x185982(0x36a))/0x6)+-parseInt(_0x185982(0x2d6))/0x7+-parseInt(_0x185982(0x3c1))/0x8*(parseInt(_0x185982(0x3ea))/0x9)+parseInt(_0x185982(0x1d7))/0xa*(parseInt(_0x185982(0x421))/0xb)+parseInt(_0x185982(0x3e4))/0xc;if(_0x1f1834===_0x343080)break;else _0x1e3c92['push'](_0x1e3c92['shift']());}catch(_0x2e184c){_0x1e3c92['push'](_0x1e3c92['shift']());}}}(_0x4be8,0xb66e6));var We=Object[_0x598bd7(0x2d2)],Ve=(_0x11f27d,_0x370c7f,_0x59eebb)=>_0x370c7f in _0x11f27d?We(_0x11f27d,_0x370c7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59eebb}):_0x11f27d[_0x370c7f]=_0x59eebb,h=(_0x17e83b,_0x13bfbf,_0x16974b)=>Ve(_0x17e83b,typeof _0x13bfbf!=_0x598bd7(0x314)?_0x13bfbf+'':_0x13bfbf,_0x16974b);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x598bd7(0x30e)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Xe=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ge=require('@univerjs/rpc');var Ke=Object['getOwnPropertyDescriptor'],qe=(_0x462363,_0x5a6c3b,_0xb1ae9c,_0xda2e52)=>{const _0x46579c=_0x598bd7;for(var _0x3bb2e4=_0xda2e52>0x1?void 0x0:_0xda2e52?Ke(_0x5a6c3b,_0xb1ae9c):_0x5a6c3b,_0x2fbc8a=_0x462363[_0x46579c(0x2a5)]-0x1,_0x4ac1ff;_0x2fbc8a>=0x0;_0x2fbc8a--)(_0x4ac1ff=_0x462363[_0x2fbc8a])&&(_0x3bb2e4=_0x4ac1ff(_0x3bb2e4)||_0x3bb2e4);return _0x3bb2e4;},be=(_0x30683e,_0x181aa3)=>(_0x1b6481,_0xa3c91b)=>_0x181aa3(_0x1b6481,_0xa3c91b,_0x30683e);let ue=class extends a[_0x598bd7(0x35b)]{constructor(_0x4175bc,_0x2de208){const _0x39a803=_0x598bd7;super(),this['_docClipboardService']=_0x4175bc,this[_0x39a803(0x261)]=_0x2de208,this[_0x39a803(0x2e3)]();}[_0x598bd7(0x2e3)](){const _0x24aa69=_0x598bd7,_0x424ef7=this;this[_0x24aa69(0x25e)](this['_docClipboardService'][_0x24aa69(0x34d)]({'onBeforePasteImage':async _0x33d2f3=>{const _0x159387=_0x24aa69,_0x51ad56=await _0x424ef7[_0x159387(0x261)][_0x159387(0x29f)](_0x33d2f3);return _0x51ad56?{'source':_0x51ad56['source'],'imageSourceType':_0x51ad56[_0x159387(0x3c0)]}:null;}}));}};ue=qe([be(0x0,E[_0x598bd7(0x2b0)]),be(0x1,Xe[_0x598bd7(0x2a0)])],ue);const Oe=[_0x598bd7(0x1f5),_0x598bd7(0x334),_0x598bd7(0x372),_0x598bd7(0x407),_0x598bd7(0x25c),_0x598bd7(0x347)];class ge extends a[_0x598bd7(0x3ef)]{constructor(){const _0x1e0666=_0x598bd7;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x1e0666(0x40b),0x0);}[_0x598bd7(0x1dd)](_0x30c1c4){const _0x35946e=_0x598bd7;if(this[_0x35946e(0x1ed)]['has'](_0x30c1c4))return this[_0x35946e(0x1ed)][_0x35946e(0x402)](_0x30c1c4);const _0x3356da=Oe[this[_0x35946e(0x40b)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe['length'],this[_0x35946e(0x1ed)][_0x35946e(0x2fa)](_0x30c1c4,_0x3356da),_0x3356da;}}function Pe(_0x4497bd){let _0x3b475a='';for(const _0x25f17f of _0x4497bd){const {startOffset:_0x536225,endOffset:_0x50f1e1,isActive:_0x555265,rangeType:_0x59ce4c,segmentId:_0x1d459d,segmentPage:_0x5cd880}=_0x25f17f;_0x3b475a['length']&&(_0x3b475a+=','),_0x3b475a+=_0x536225+':'+_0x50f1e1+':'+(_0x555265?'1':'0')+':'+_0x59ce4c+':'+_0x1d459d+':'+_0x5cd880;}return _0x3b475a;}function ze(_0x36c356){const _0x4735a6=_0x598bd7,_0x318995=_0x36c356[_0x4735a6(0x377)](','),_0x3c7d2c=[];for(const _0x2cb5f4 of _0x318995){const [_0x1c1998,_0x1650a7,_0x427039,_0x3960af,_0x2dd5d4,_0xfc786f]=_0x2cb5f4[_0x4735a6(0x377)](':');_0x3c7d2c['push']({'startOffset':Number(_0x1c1998),'endOffset':Number(_0x1650a7),'collapsed':_0x1c1998===_0x1650a7,'isActive':_0x427039==='1','rangeType':_0x3960af===a[_0x4735a6(0x38d)][_0x4735a6(0x224)]?a[_0x4735a6(0x38d)]['TEXT']:a[_0x4735a6(0x38d)][_0x4735a6(0x21c)],'segmentId':typeof _0x2dd5d4=='string'?String(_0x2dd5d4):'','segmentPage':Number(_0xfc786f!=null?_0xfc786f:-0x1)});}return _0x3c7d2c[_0x4735a6(0x331)](_0x40a6ec=>_0x40a6ec[_0x4735a6(0x3bb)])||(_0x3c7d2c[0x0][_0x4735a6(0x3bb)]=!0x0),_0x3c7d2c;}function _0x1844(_0x3bbb1b,_0x128117){const _0x4be8ba=_0x4be8();return _0x1844=function(_0x1844a5,_0x264ecd){_0x1844a5=_0x1844a5-0x1ad;let _0x5e596d=_0x4be8ba[_0x1844a5];return _0x5e596d;},_0x1844(_0x3bbb1b,_0x128117);}class me extends a[_0x598bd7(0x35b)]{constructor(){const _0x5d59a4=_0x598bd7;super(...arguments),h(this,_0x5d59a4(0x2d1),new d[(_0x5d59a4(0x2ee))](null)),h(this,_0x5d59a4(0x299),this[_0x5d59a4(0x2d1)]['asObservable']());}[_0x598bd7(0x313)](_0x383664){const _0x21bba5=_0x598bd7,{unitID:_0x57054a,memberID:_0x3bde9e,textRanges:_0x5f0b5a}=_0x383664,_0x212a26=Pe(_0x5f0b5a);if(_0x212a26==='')return;const _0x21568c={'unitID':_0x57054a,'memberID':_0x3bde9e,'selection':_0x212a26};this['_collabCursorState$'][_0x21bba5(0x2bd)](_0x21568c);}}var Je=Object[_0x598bd7(0x2e2)],Ze=(_0x2b26de,_0xb551d5,_0x19966d,_0x4e30bf)=>{const _0x12640f=_0x598bd7;for(var _0x3e421f=_0x4e30bf>0x1?void 0x0:_0x4e30bf?Je(_0xb551d5,_0x19966d):_0xb551d5,_0x561981=_0x2b26de[_0x12640f(0x2a5)]-0x1,_0x704867;_0x561981>=0x0;_0x561981--)(_0x704867=_0x2b26de[_0x561981])&&(_0x3e421f=_0x704867(_0x3e421f)||_0x3e421f);return _0x3e421f;},L=(_0x281de7,_0x33aaa9)=>(_0x179e05,_0x2359fb)=>_0x33aaa9(_0x179e05,_0x2359fb,_0x281de7);const Qe=0x12c,et=0x64;let de=class extends a['RxDisposable']{constructor(_0x441209,_0x264e21,_0x51d082,_0x23f100,_0xdc5352,_0x3ed72d,_0x4d6305,_0x536bb0,_0x5b7ad5){const _0xe47b29=_0x598bd7;super(),h(this,_0xe47b29(0x336),!0x1),h(this,'_init',!0x1),h(this,_0xe47b29(0x398),new d[(_0xe47b29(0x2ee))](new Map())),h(this,'cursorInfo$',this[_0xe47b29(0x398)][_0xe47b29(0x1cb)]()),h(this,_0xe47b29(0x1c2),new d[(_0xe47b29(0x2ee))]([])),h(this,_0xe47b29(0x265),this['_roomMembers$'][_0xe47b29(0x429)](d[_0xe47b29(0x20b)](Qe))),h(this,_0xe47b29(0x218),a[_0xe47b29(0x40f)](_0x136fe5=>{const _0xf467d7=_0xe47b29,_0x4d1c79={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xf467d7(0x3d7)](),'selection':Pe(_0x136fe5)}};this[_0xf467d7(0x3c5)][_0xf467d7(0x1f4)](_0x4d1c79,this['unitID']);},et)),(this['unitID']=_0x441209,this['_session']=_0x264e21,this[_0xe47b29(0x32b)]=_0x51d082,this[_0xe47b29(0x1d4)]=_0x23f100,this['_memberService']=_0xdc5352,this[_0xe47b29(0x24a)]=_0x3ed72d,this[_0xe47b29(0x412)]=_0x4d6305,this[_0xe47b29(0x2a2)]=_0x536bb0,this['_commandService']=_0x5b7ad5);}get[_0x598bd7(0x20c)](){const _0x4ab560=_0x598bd7;return this[_0x4ab560(0x398)]['getValue']();}get['roomMembers'](){const _0x29d54b=_0x598bd7;return this[_0x29d54b(0x1c2)][_0x29d54b(0x251)]();}[_0x598bd7(0x35a)](){const _0x3d5833=_0x598bd7;super['dispose'](),this[_0x3d5833(0x398)][_0x3d5833(0x2bd)](new Map()),this[_0x3d5833(0x398)][_0x3d5833(0x232)](),this[_0x3d5833(0x1c2)]['next']([]),this[_0x3d5833(0x1c2)]['complete']();}[_0x598bd7(0x2f9)](){const _0x472a91=_0x598bd7;this[_0x472a91(0x2e3)]||(this[_0x472a91(0x2e3)]=!0x0,this[_0x472a91(0x3c5)][_0x472a91(0x33b)][_0x472a91(0x429)](d[_0x472a91(0x2c6)](this['dispose$']))[_0x472a91(0x37c)](_0x5caad7=>{const _0x3e43b0=_0x472a91;_0x5caad7===u[_0x3e43b0(0x2ae)][_0x3e43b0(0x240)]?this[_0x3e43b0(0x416)]():this[_0x3e43b0(0x262)]();}),this[_0x472a91(0x3c5)][_0x472a91(0x24c)]['pipe'](d[_0x472a91(0x2c6)](this[_0x472a91(0x39c)]))[_0x472a91(0x37c)](_0x39192b=>{const _0x3dec20=_0x472a91,_0x440217=_0x39192b[_0x3dec20(0x295)];_0x440217===m[_0x3dec20(0x290)][_0x3dec20(0x30b)]&&this['_onCursorUpdate'](_0x39192b),_0x440217===m[_0x3dec20(0x290)]['USERS_LEAVE']&&this[_0x3dec20(0x380)](_0x39192b);}),this['disposeWithMe'](this['_commandService'][_0x472a91(0x33d)](_0xd81240=>{const _0x1d7d01=_0x472a91,_0x176370=_0xd81240['params'];_0x176370!=null&&this[_0x1d7d01(0x336)]&&_0xd81240['id']===Y[_0x1d7d01(0x3ee)]['id']&&_0x176370[_0x1d7d01(0x325)]===this[_0x1d7d01(0x270)]&&_0x176370[_0x1d7d01(0x427)]===!0x1&&_0x176370[_0x1d7d01(0x298)][_0x1d7d01(0x2a5)]>0x0&&this[_0x1d7d01(0x218)](_0x176370[_0x1d7d01(0x298)]);})),this['_syncEditingCollabCursorService'][_0x472a91(0x299)][_0x472a91(0x429)](d[_0x472a91(0x2c6)](this['dispose$']))[_0x472a91(0x37c)](_0x47941c=>{const _0x1776cd=_0x472a91;if((_0x47941c==null?void 0x0:_0x47941c['unitID'])!==this[_0x1776cd(0x270)])return;const _0x114b1a={'eventID':m[_0x1776cd(0x290)][_0x1776cd(0x30b)],'data':_0x47941c};this[_0x1776cd(0x22a)](_0x114b1a);}),this[_0x472a91(0x25e)](this[_0x472a91(0x3d0)][_0x472a91(0x33d)](_0x265696=>{const _0x375287=_0x472a91;if(_0x265696['params']==null)return;const _0x5e06ae=_0x265696['params'];if(_0x265696['id']!==Y[_0x375287(0x32a)]['id']||_0x5e06ae[_0x375287(0x325)]!==this[_0x375287(0x270)])return;const _0x3c8e29={'id':_0x375287(0x1c0),'params':_0x5e06ae},_0x123659=this[_0x375287(0x20c)];for(const [_0x4f0634,_0x27596c]of _0x123659){const _0x4f59b1={'id':_0x375287(0x1c0),'params':{'unitId':this[_0x375287(0x270)],'actions':null,'textRanges':_0x27596c[_0x375287(0x298)]}},_0x47a678=this[_0x375287(0x412)]['transformMutation'](_0x3c8e29,_0x4f59b1,!0x1);if(m[_0x375287(0x1ec)](_0x47a678))throw _0x47a678[_0x375287(0x1f9)];_0x123659[_0x375287(0x2fa)](_0x4f0634,{..._0x27596c,'ranges':_0x47a678['m2Prime'][_0x375287(0x2e0)]['textRanges']});}queueMicrotask(()=>{const _0xb633c6=_0x375287;this[_0xb633c6(0x398)][_0xb633c6(0x2bd)](_0x123659);});})));}[_0x598bd7(0x22a)](_0x24e464){const _0x21082f=_0x598bd7;var _0x9b60c1,_0x2ed676;const {memberID:_0x5ebcd7,selection:_0x504de4}=_0x24e464['data'],_0x34778c=ze(_0x504de4),_0x590745=(_0x2ed676=(_0x9b60c1=this[_0x21082f(0x28b)][_0x21082f(0x1be)](this['unitID'],_0x5ebcd7))==null?void 0x0:_0x9b60c1[_0x21082f(0x258)])!=null?_0x2ed676:_0x21082f(0x302),_0x3be6a1={'color':this[_0x21082f(0x1d4)][_0x21082f(0x1dd)](_0x5ebcd7),'name':_0x590745,'ranges':_0x34778c},_0x2098c6=this[_0x21082f(0x20c)];_0x2098c6[_0x21082f(0x2fa)](_0x5ebcd7,_0x3be6a1),this[_0x21082f(0x398)]['next'](_0x2098c6);}['_onCursorDelete'](_0x127f0f){const _0x2864a4=_0x598bd7,{memberID:_0x5042bf}=_0x127f0f[_0x2864a4(0x33c)],_0x443e66=this[_0x2864a4(0x20c)];_0x443e66['delete'](_0x5042bf),this[_0x2864a4(0x398)][_0x2864a4(0x2bd)](_0x443e66);}[_0x598bd7(0x416)](){const _0x2efec2=_0x598bd7;var _0x4f51c1;if(this[_0x2efec2(0x336)]=!0x0,((_0x4f51c1=this[_0x2efec2(0x2a2)][_0x2efec2(0x35f)]())==null?void 0x0:_0x4f51c1['getUnitId']())!==this[_0x2efec2(0x270)])return;const _0x3dae02=this[_0x2efec2(0x32b)][_0x2efec2(0x402)](Y[_0x2efec2(0x393)])['getDocRanges']();Array[_0x2efec2(0x1d9)](_0x3dae02)&&_0x3dae02[_0x2efec2(0x2a5)]>0x0&&this[_0x2efec2(0x218)](_0x3dae02);}[_0x598bd7(0x262)](){const _0x34af1f=_0x598bd7;this[_0x34af1f(0x336)]=!0x1;}};de=Ze([L(0x2,a['Inject'](a[_0x598bd7(0x3cd)])),L(0x3,a['Inject'](ge)),L(0x4,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x3be)])),L(0x5,a[_0x598bd7(0x2b5)](me)),L(0x6,m[_0x598bd7(0x272)]),L(0x7,a[_0x598bd7(0x306)]),L(0x8,a[_0x598bd7(0x370)])],de);var tt=Object['getOwnPropertyDescriptor'],st=(_0x5e4dcd,_0x9e2081,_0x4e01ef,_0x5ec1e3)=>{const _0x3ca8be=_0x598bd7;for(var _0x1529c4=_0x5ec1e3>0x1?void 0x0:_0x5ec1e3?tt(_0x9e2081,_0x4e01ef):_0x9e2081,_0x42e818=_0x5e4dcd[_0x3ca8be(0x2a5)]-0x1,_0x384673;_0x42e818>=0x0;_0x42e818--)(_0x384673=_0x5e4dcd[_0x42e818])&&(_0x1529c4=_0x384673(_0x1529c4)||_0x1529c4);return _0x1529c4;},A=(_0x3ab6ee,_0x1653aa)=>(_0x131d27,_0x4a816f)=>_0x1653aa(_0x131d27,_0x4a816f,_0x3ab6ee);const it=0x12c,nt=0x64,rt=()=>{let _0x4a3419=[],_0xe0e5fa=!0x1;return _0x3b6bc3=>{const _0x1a44db=_0x1844;_0x4a3419[_0x1a44db(0x2de)](_0x3b6bc3),_0xe0e5fa||(_0xe0e5fa=!0x0,setTimeout(()=>{const _0x412c92=_0x1a44db;_0x4a3419[_0x412c92(0x401)](_0x4854b3=>_0x4854b3()),_0x4a3419=[],_0xe0e5fa=!0x1;}));};};let Se=class extends a[_0x598bd7(0x35b)]{constructor(_0x3d9bae,_0x23db40,_0x483a6a,_0x36c75d,_0x538e87,_0x1a39ca,_0x16df28,_0x179863){const _0x1ae138=_0x598bd7;super(),h(this,'_online',!0x1),h(this,_0x1ae138(0x2e3),!0x1),h(this,_0x1ae138(0x398),new d[(_0x1ae138(0x2ee))](new Map())),h(this,_0x1ae138(0x281),this['_cursorInfo$'][_0x1ae138(0x1cb)]()),h(this,_0x1ae138(0x1c2),new d[(_0x1ae138(0x2ee))]([])),h(this,_0x1ae138(0x265),this[_0x1ae138(0x1c2)][_0x1ae138(0x429)](d[_0x1ae138(0x20b)](it))),h(this,'_updateLocalCursor',a[_0x1ae138(0x40f)]((_0x31b3f6,_0x340091)=>{const _0x6c0e18=_0x1ae138,_0xf7dcff={'eventID':m[_0x6c0e18(0x290)][_0x6c0e18(0x30b)],'data':{'unitID':this[_0x6c0e18(0x270)],'memberID':this[_0x6c0e18(0x3c5)][_0x6c0e18(0x3d7)](),'selection':Ee[_0x6c0e18(0x367)](_0x31b3f6,_0x340091['range'])}};this[_0x6c0e18(0x3c5)][_0x6c0e18(0x1f4)](_0xf7dcff,this[_0x6c0e18(0x270)]);},nt)),(this[_0x1ae138(0x270)]=_0x3d9bae,this[_0x1ae138(0x3c5)]=_0x23db40,this[_0x1ae138(0x32b)]=_0x483a6a,this['_colorAssignService']=_0x36c75d,this['_memberService']=_0x538e87,this[_0x1ae138(0x2a2)]=_0x1a39ca,this[_0x1ae138(0x3d0)]=_0x16df28,this[_0x1ae138(0x311)]=_0x179863);}get[_0x598bd7(0x20c)](){const _0x621a91=_0x598bd7;return this[_0x621a91(0x398)]['getValue']();}get['roomMembers'](){const _0x3e33e2=_0x598bd7;return this[_0x3e33e2(0x1c2)]['getValue']();}[_0x598bd7(0x35a)](){const _0x3b6a64=_0x598bd7;super['dispose'](),this[_0x3b6a64(0x398)][_0x3b6a64(0x2bd)](new Map()),this['_cursorInfo$'][_0x3b6a64(0x232)](),this[_0x3b6a64(0x1c2)][_0x3b6a64(0x2bd)]([]),this[_0x3b6a64(0x1c2)][_0x3b6a64(0x232)]();}[_0x598bd7(0x2f9)](){const _0x304fc8=_0x598bd7;this[_0x304fc8(0x2e3)]||(this[_0x304fc8(0x2e3)]=!0x0,this[_0x304fc8(0x3c5)][_0x304fc8(0x33b)][_0x304fc8(0x429)](d[_0x304fc8(0x2c6)](this[_0x304fc8(0x39c)]))[_0x304fc8(0x37c)](_0x45e0e7=>{const _0x2277fd=_0x304fc8;_0x45e0e7===u[_0x2277fd(0x2ae)][_0x2277fd(0x240)]?this[_0x2277fd(0x416)]():this[_0x2277fd(0x262)]();}),this[_0x304fc8(0x3c5)][_0x304fc8(0x24c)]['pipe'](d[_0x304fc8(0x2c6)](this[_0x304fc8(0x39c)]))[_0x304fc8(0x37c)](_0x746fa5=>{const _0x5bc192=_0x304fc8,_0x473410=_0x746fa5[_0x5bc192(0x295)];_0x473410===m[_0x5bc192(0x290)][_0x5bc192(0x30b)]&&this[_0x5bc192(0x22a)](_0x746fa5),_0x473410===m[_0x5bc192(0x290)][_0x5bc192(0x25d)]&&this[_0x5bc192(0x380)](_0x746fa5);}),this['_onRefRangeChange'](),this[_0x304fc8(0x25e)](this['_commandService'][_0x304fc8(0x33d)](_0x3d2187=>{const _0x151f65=_0x304fc8;if(this[_0x151f65(0x336)]&&_0x3d2187['id']===g[_0x151f65(0x247)]['id']&&_0x3d2187[_0x151f65(0x2e0)]['unitId']===this[_0x151f65(0x270)]){const _0x3d71d8=_0x3d2187[_0x151f65(0x2e0)];this['_updateLocalCursor'](_0x3d71d8[_0x151f65(0x29d)],_0x3d71d8[_0x151f65(0x1b1)][0x0]);}})));}['_onCursorUpdate'](_0x175e3d){const _0x2189af=_0x598bd7;var _0x5e4341,_0x22a42a;const {memberID:_0x4d0723,selection:_0x265515}=_0x175e3d[_0x2189af(0x33c)],{sheetName:_0x146cc8,range:_0xde72c5}=Ee[_0x2189af(0x3a3)](_0x265515),_0x58dcf6={'name':(_0x22a42a=(_0x5e4341=this[_0x2189af(0x28b)][_0x2189af(0x1be)](this[_0x2189af(0x270)],_0x4d0723))==null?void 0x0:_0x5e4341[_0x2189af(0x258)])!=null?_0x22a42a:'Unknown\x20user','range':this[_0x2189af(0x23d)](_0x146cc8,_0xde72c5),'sheetID':_0x146cc8,'color':this['_colorAssignService'][_0x2189af(0x1dd)](_0x4d0723),'selection':_0x265515},_0x1be616=this[_0x2189af(0x20c)];_0x1be616[_0x2189af(0x2fa)](_0x4d0723,_0x58dcf6),this[_0x2189af(0x398)][_0x2189af(0x2bd)](_0x1be616);}[_0x598bd7(0x380)](_0xe5d59c){const _0x11e33f=_0x598bd7,{memberID:_0x81344f}=_0xe5d59c[_0x11e33f(0x33c)],_0x2a069b=this[_0x11e33f(0x20c)];_0x2a069b['delete'](_0x81344f),this['_cursorInfo$']['next'](_0x2a069b);}[_0x598bd7(0x23d)](_0x4f28f5,_0x5e79da){const _0x490134=_0x598bd7;var _0x483aaf,_0x449e3b;const _0x5917df=(_0x449e3b=(_0x483aaf=this[_0x490134(0x2a2)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x483aaf[_0x490134(0x1d2)](_0x4f28f5))==null?void 0x0:_0x449e3b[_0x490134(0x23c)]();return(_0x5917df==null?void 0x0:_0x5917df[_0x490134(0x428)](_0x55fa6e=>a['Rectangle']['contains'](_0x55fa6e,_0x5e79da)))||_0x5e79da;}[_0x598bd7(0x209)](){const _0x5055af=_0x598bd7,_0x39c68b=new a['DisposableCollection'](),_0x56bcbd=rt(),_0x48019b=()=>{const _0x555359=_0x1844;_0x39c68b[_0x555359(0x35a)]();const _0x14704e=(_0x166a4f,_0x16c36d,_0x4ec213,_0x1847b5)=>{const _0x3db767=_0x555359;let _0xcf839b=[];switch(_0x166a4f['id']){case g['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0xcf839b=g[_0x3db767(0x1b0)](_0x166a4f,_0x1847b5);break;}case g[_0x3db767(0x264)][_0x3db767(0x3f3)]:{_0xcf839b=g[_0x3db767(0x1fd)](_0x166a4f,_0x1847b5);break;}case g[_0x3db767(0x264)][_0x3db767(0x32f)]:{_0xcf839b=g[_0x3db767(0x329)](_0x166a4f,_0x1847b5);break;}case g[_0x3db767(0x264)][_0x3db767(0x3d8)]:{_0xcf839b=g['handleInsertRangeMoveDown'](_0x166a4f,_0x1847b5);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0xcf839b=g['handleInsertRangeMoveRight'](_0x166a4f,_0x1847b5);break;}case g['EffectRefRangId']['InsertRowCommandId']:{_0xcf839b=g['handleInsertRow'](_0x166a4f,_0x1847b5);break;}case g[_0x3db767(0x264)][_0x3db767(0x422)]:{_0xcf839b=g[_0x3db767(0x394)](_0x166a4f,_0x1847b5);break;}case g['EffectRefRangId'][_0x3db767(0x287)]:{_0xcf839b=g[_0x3db767(0x273)](_0x166a4f,_0x1847b5);break;}case g[_0x3db767(0x264)][_0x3db767(0x283)]:{_0xcf839b=g[_0x3db767(0x217)](_0x166a4f,_0x1847b5);break;}}const _0xce6a08=g['runRefRangeMutations'](_0xcf839b,_0x1847b5),_0x54f313=this[_0x3db767(0x20c)][_0x3db767(0x402)](_0x16c36d);if(_0x54f313&&_0xce6a08){const _0xd4b713={..._0x54f313,'range':_0xce6a08};this[_0x3db767(0x20c)]['set'](_0x16c36d,_0xd4b713),_0x56bcbd(()=>{const _0x4c7b34=_0x3db767,_0x3082cc=this[_0x4c7b34(0x311)]['registerRefRange'](_0xce6a08,_0x3e821e=>(_0x3082cc[_0x4c7b34(0x35a)](),_0x14704e(_0x3e821e,_0x16c36d,_0x4ec213,_0xce6a08)));_0x39c68b['add'](_0x3082cc);});}return{'redos':[],'undos':[]};};this[_0x555359(0x20c)][_0x555359(0x401)]((_0x3d239c,_0x4f0fc5)=>{const _0x4ce92c=_0x555359,{range:_0x29f487,sheetID:_0x47be29}=_0x3d239c,_0x428bf9=this[_0x4ce92c(0x311)][_0x4ce92c(0x27a)](_0x29f487,_0x1e5e22=>(_0x428bf9[_0x4ce92c(0x35a)](),_0x14704e(_0x1e5e22,_0x4f0fc5,_0x47be29,_0x29f487)));_0x39c68b[_0x4ce92c(0x305)](_0x428bf9);});};this['disposeWithMe'](a[_0x5055af(0x364)](this[_0x5055af(0x398)][_0x5055af(0x37c)](()=>{_0x48019b();})));}['_toggleOnline'](){const _0x3fd644=_0x598bd7;var _0x4c7471,_0x30a732;if(this[_0x3fd644(0x336)]=!0x0,((_0x4c7471=this[_0x3fd644(0x2a2)][_0x3fd644(0x35f)]())==null?void 0x0:_0x4c7471[_0x3fd644(0x320)]())!==this[_0x3fd644(0x270)])return;const _0x3143b5=(_0x30a732=this[_0x3fd644(0x32b)]['get'](g[_0x3fd644(0x1e1)])[_0x3fd644(0x3bf)]())==null?void 0x0:_0x30a732[0x0],_0x17872a=this[_0x3fd644(0x2a2)][_0x3fd644(0x387)](a[_0x3fd644(0x30f)][_0x3fd644(0x27f)])[_0x3fd644(0x269)]();_0x3143b5&&_0x17872a&&this['_updateLocalCursor'](_0x17872a['getSheetId'](),_0x3143b5);}[_0x598bd7(0x262)](){const _0x28d984=_0x598bd7;this[_0x28d984(0x336)]=!0x1;}};Se=st([A(0x2,a['Inject'](a[_0x598bd7(0x3cd)])),A(0x3,a[_0x598bd7(0x2b5)](ge)),A(0x4,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x3be)])),A(0x5,a[_0x598bd7(0x306)]),A(0x6,a[_0x598bd7(0x370)]),A(0x7,a[_0x598bd7(0x2b5)](g[_0x598bd7(0x349)]))],Se);function _0x4be8(){const _0x55feda=['Unknown\x20user','_scheduleClearOtherTimer','_ensureSubject','add','IUniverInstanceService','drawWith','unsubscribe','CollaborationStatus','YUUMI_RATE_OVER_LIMIT','UPDATE_CURSOR','fillRule','ENSURE_SNAPSHOT_EXECUTION','Module','UniverInstanceType','_initResize','_refRangeService','NO_OTHER_CLIENTS_EDITING','syncEditingCollabCursor','symbol','color','Error','resize','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','with','_handleHeartbeatEvent','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','_saveCache','setAlpha','getUnitId','href','undoState','on-line-icon','svg','unitId','_registerDependencies','Optional','_getSessionTicket','handleInsertCol','RichTextEditingMutation','_injector','post','registerBeforeClose','transform','InsertColCommandId','whenReady','some','off-line-icon_clip0_910_343','_urlService','jiqing.500','useDependency','_online','_initEvent','INVITE_CODE_HAS_BEEN_UES','pushState','session.collaboration-timeout','sessionStatus$','data','onCommandExecuted','_labelPosition','_transformPreviousActiveRange','_handleEvent','attrs','WECHAT_HAS_BEEN_BOUND','none','merge','WebURLService','USER_NOT_INVITED_CODE','yellow.400','DocStateChangeManagerService','RefRangeService','getCurrent','touchDependencies','_scene','addClipboardHook','Rect','assign','LocaleService','addObject','ILocalCacheService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','hovered','transformByState','_scheduleHeartbeat','APPLY_REVISION_CONFILICT','RemoteUniscriptService','getSkeleton','dispose','RxDisposable','body','forwardRef','getCellPositionByOffset','getFocusedUnit','_range','MessageType','getUnitStatus$','Tooltip','toDisposable','transformStateCache','Vector2','serializeRangeWithSheet','CollaborationSocketService','LICENSE_EXPORT_SIZE_EXCEEDED','147966MYLwfB','IURLService','top','285fROqwl','replaceDocRanges','editingUnit','ICommandService','http://www.w3.org/2000/svg','green.600','HTTPService','_logService','Subject','_notificationService','split','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','stringify','_unitStatus','subscribe','_instanceService','_uiPartsService','_docSkeleton','_onCursorDelete','CONFLICT','history','_removeClearOtherTimer','_docTransformStateCacheService','28erflnh','call','getCurrentUnitForType','onRendered','createInstance','UNIVER_DOC','from','getRelativeToViewportCoord','DOC_RANGE_TYPE','setItem','INotificationService','_document','CollaborationController','getOwnPropertySymbols','DocSelectionManagerService','handleMoveRange','generateRandomId','getRangePointData','_shapes','_cursorInfo$','_render','permission.content','CLOSE_ROOM','dispose$','searchParams','_cursor','NodePositionConvertToRectRange','use','getCoordByCell','memberID','deserializeRangeWithSheet','JOIN_ROOM_FAILED','debug','_backgroundColor','moveTo','currentColor','values','collabStatus.fetchMiss','hide','transformRemoteChangeset','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','unshift','all','requireSession','_heartbeatTimer','ColorKit','jsx','search','concat','M0\x200H16V16H0z','skeleton','ThemeService','COLORS','isActive','_handleJoinEvent','url(#on-line-icon_clip0_910_349)','MemberService','getCurrentSelections','imageSourceType','96wWRDmn','width','collab-client.tooltip.reconnect','APPLY_DUPLICATED','_session','_lastPointer','mutations','DesktopCollaborationStatusDisplayController','endRow','_collabSessionService','collabStatus.notCollab','textRanges','Injector','fillStyle','_entities','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','translate(.97)','bottom','getActiveRange','arc','entityInit$','getMemberID','InsertRangeMoveDownCommandId','SHEET_VIEWPORT_KEY','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-text-range-','OffLineIcon','transformSelections','off-line-icon','m2Prime','exhaustSavingTask','_initEntityListener','WebBrowserSingleActiveUnitService','_refreshCollabCursors','7578744rPKrmb','getSheetObject','...','registerComponent','activeSheet$','disposeUnit','118017uWawhh','updateOfflineData','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetTextSelectionsOperation','Disposable','INVITE_CODE_ALREADY_BOUND','xlink:href','connectInjector','DeleteRangeMoveUpCommandId','univerjs-icon\x20univerjs-icon-','_transformUndoRedoStack','black','univer-mr-2\x20univer-flex\x20univer-text-xl','_updateURLWithCurrentState','getSheetId','current','INVALID_INVITE_CODE','PY_RUNTIME_SCRIPT_ERROR','TEXT_RANGE_LAYER_INDEX','getCollabCursors$','getConfig','_cursors','forEach','get','YUUMI_UNABLE_LOAD_URL','YUUMI_ASYNCIO_CANCELLED','LOCAL_CACHE_INTERVAL','url(#$1','red.300','evenodd','size','_setupBeforeClosingHandler','_colorIndex','urlChange$','min','createSocket','debounce','_disabled','ALREADY_EXISTS','_transformService','DocIMEInputManagerService','propertyIsEnumerable','_drawAnchor','_toggleOnline','setActiveRange','_handleHover','enableLocalCache','/run/','ACTIVE_UNIT_EVENT_CHANNEL','UnitStatus','CollaborationSessionService','createIdentifier','getUnhiddenWorksheets','_httpService','18381pPsCmD','MoveRangeCommandId','flatMap','univer-flex\x20univer-items-center','findNodePositionByCharIndex','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','find','pipe','_renderManagerService','_clearOtherTimers','_status$','IRenderManagerService','status$','_updateCollabCursors','popstate','_initStatusComponent','_draw','replaceState','toString','rgba(255,\x20255,\x20255,\x200.01)','handleDeleteRangeMoveLeft','selections','AWAITING','distinctUntilChanged','addEventListener','indexOf','m1Prime','[RemoteUniscriptService]:\x20no\x20focused\x20unit','tag','removeParam','getVpScrollXYInfoByPosToVp','DataLoaderService','UNRECOGNIZED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getMember','_docStateChangeManagerService','doc.mutation.rich-text-editing','YUUMI_SUBSCRIPTION_NOT_FOUND','_roomMembers$','startRow','triggerDblclick','DocCollaborationEntity','show','SYNCED','loadOfflineData','50829wYdOWK','UNAUTHENTICATED','asObservable','_hover','_localCacheService','fillText','getColor','mergeOverrideWithDependencies','restore','getSheetBySheetId','_collaborationUIEventService','_colorAssignService','prototype','OTHER_CLIENTS_EDITING','4150itlAgT','useObservable','isArray','INTERNAL_ERROR','NodePositionConvertToCursor','origin','assignAColorForMemberID','_startSheetCollabCursor','getLocalCacheKey','_getSheetObject','SheetsSelectionsService','setShapeProps','fromEvent','session.connection-failed','BrowserCollaborationSocketService','getColorFromTheme','type','YUUMI_NO_CUBOID_FOR_QUESTION','_createSocketURL','_docTransformSelectionsService','UniverCollaborationClientPlugin','isTransformMutationFailure','_assignedColors','height','transformMutationsWithChangeset','Failed','unit','_messageService','map','send','purple.300','parse','RegularPolygon','newValue','error','sessionTicket','_localStorageService','_sheetSkeletonManagerService','handleDeleteRangeMoveUp','save','fill','currentTheme$','getUndoRedoMutationParamsCache','getTypeOfUnitAdded$','shareReplay','children','setStateCache','_send','_transformHistoryAndStateStack','location','_onRefRangeChange','combineLatest','debounceTime','cursorInfo','OFFLINE','path','div','IUIPartsService','YUUMI_AI_RUN_FAILED','NOT_FOUND','_getAnchorBounding','disableLocalCache','_docSkeletonManagerService','pluginName','handleIRemoveRow','_updateLocalCursor','makeDirty','_revisionService','_saveTaskMap','RECT','_config','getParam','AWAITING_WITH_PENDING','IConfigService','session.will-retry','FETCH_MISS','_beforeCloseService','TEXT','DocSkeletonManagerService','1em','CollaborationUIEventId','getDocRanges','extend','_onCursorUpdate','endColumn','CollaborationDataLoaderController','_docSyncEditingCollabCursorService','subunit','_anchor','toRgbString','closePath','complete','_initDependencies','setConfig','_configService','ILocalStorageService','_setupSubUnitSync','FromArray','isTransformMutationsWithChangesetSuccess','LOCAL_CACHE_INTERVAL_KEY','CHANGESET_REVISION_CONFILICT','getMergeData','_getMergeRange','APPLY_NON_SEQUENTIAL_REVISION','PENDING','ONLINE','entries','LICENSE_MAX_UNITS_EXCEEDED','useRef','collaboration.closeRoom','_startDocCollabCursor','idSuffix','SetSelectionsOperation','_themeService','#FFF','_syncEditingCollabCursorService','onPointerEnter$','event$','has','SheetSkeletonManagerService','_collabCursorController','_textBubble','getValue','INVITE_CODE_REQUIRED','ILogService','round','selection','collab-text-anchor-','fromEventSubject','name','_initStatusListener','PERMISSION_DENIED','permission.title','blue.400','USERS_LEAVE','disposeWithMe','_hovered','UniverCollaborationClientUIPlugin','_imageIoService','_toggleOffline','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EffectRefRangId','roomMembers$','DependentOn','_color','defIds','getActiveSheet','font','_registerRenderDependencies','_initCommandExecutedListener','_docTransformIMECacheService','engine','throttleTime','unitID','APPLY_PERMISSION_DENIED','ITransformService','handleIRemoveCol','Warning','registerRenderModule','runOnServer','runId','clipPath','_drawTextRange','registerRefRange','collabStatus.syncing','INVALID_ARGUMENT','saveTaskMap','_cursorShapes','UNIVER_SHEET','onMouseMove','cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RemoveRowCommandId','displayName','_getSaveTimeout','white','RemoveColCommandId','deepClone','YUUMI_CONNECTOR_URL_NOT_FOUND','function','_memberService','Tools','_removeCollabCursors','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','max','CollaborationEvent','CONNECTOR_DATA_TOO_LARGE','text','string','getItem','eventID','getAncestorScale','addObjects','ranges','collabCursorState$','_getScale','_scheduleSaving','_collaborationController','subUnitId','column','saveImage','IImageIoService','MOBILE_VERIFY_CODE_MISMATCH','_univerInstanceService','VIEW_MAIN','LICENSE_DISTRO_REJECTED','length','IMessageService','getTypeOfUnitDisposed$','lineTo','startsWith','LOGIN_FAILED','collab-rect-range-','_selfUnitIDs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SessionStatus','mask','IDocClipboardService','ISnapshotServerService','366427yWDXHz','mapTo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Inject','getRenderById','TOO_MANY_REQUESTS','transformMutation','apply','result','measureText','switchMap','next','onPointerMove$','COMPLETION_FINISHED','_handleLeaveEvent','EMAIL_VERIFY_CODE_MISMATCH','onStarting','subscribeEvent','IRemoteInstanceService','filter','takeUntil','uni.network.url-service','currentSkeleton$','_drawRectRange','0\x200\x2017\x2016','WebSocketService','_eventUnsubscribe','_anchorDot','createElement','2cOKYvI','getStateCache','_collabCursorState$','defineProperty','ISocketService','APPLY_REJECT','CommandType','9387574twGIei','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.conflict','executeCommand','clearInterval','_hideTimer','_dataLoaderService','beginPath','push','useCallback','params','includes','getOwnPropertyDescriptor','_init','_entityInit$','override','className','_localeService','_updateSubUnitFromURLParams','_cachedData','NOT_COLLAB','setParam','startColumn','getOffsetConfig','BehaviorSubject','colorChannel1','clearTimeout','then','substring','_doCreateSocket','wsSessionTicketUrl','defs','SetDocZoomRatioOperation','redoState','delete','init','set','_name','onPointerLeave$','_context','icon','MOBILE_HAS_BEEN_BOUND','focused$','IBeforeCloseService'];_0x4be8=function(){return _0x55feda;};return _0x4be8();}var ot=Object[_0x598bd7(0x2e2)],at=(_0x388c1a,_0x23b940,_0x2d1ebe,_0x49ab21)=>{const _0x107671=_0x598bd7;for(var _0x417bba=_0x49ab21>0x1?void 0x0:_0x49ab21?ot(_0x23b940,_0x2d1ebe):_0x23b940,_0x47377f=_0x388c1a[_0x107671(0x2a5)]-0x1,_0x18d03e;_0x47377f>=0x0;_0x47377f--)(_0x18d03e=_0x388c1a[_0x47377f])&&(_0x417bba=_0x18d03e(_0x417bba)||_0x417bba);return _0x417bba;},ie=(_0x1e372e,_0x5bd815)=>(_0x2d33fd,_0x1b5ad6)=>_0x5bd815(_0x2d33fd,_0x1b5ad6,_0x1e372e);let x=class extends a[_0x598bd7(0x35b)]{constructor(_0x1a32d8,_0x25f07d,_0x3b6448){const _0x14e0f4=_0x598bd7;super(),h(this,_0x14e0f4(0x3cf),new Map()),h(this,_0x14e0f4(0x2e4),new d[(_0x14e0f4(0x375))]()),(this[_0x14e0f4(0x2a2)]=_0x1a32d8,this[_0x14e0f4(0x32b)]=_0x25f07d,this[_0x14e0f4(0x3ca)]=_0x3b6448,this[_0x14e0f4(0x2e3)]());}[_0x598bd7(0x35a)](){const _0x407ab6=_0x598bd7;super[_0x407ab6(0x35a)](),this[_0x407ab6(0x2e4)]['complete'](),this[_0x407ab6(0x3cf)][_0x407ab6(0x401)](_0x4d2642=>_0x4d2642['dispose']());}[_0x598bd7(0x3fe)](_0x517260){const _0xac97fb=_0x598bd7;return this[_0xac97fb(0x3cf)][_0xac97fb(0x24d)](_0x517260)?this['_entities'][_0xac97fb(0x402)](_0x517260)[_0xac97fb(0x281)]:this['_entityInit$'][_0xac97fb(0x429)](d[_0xac97fb(0x2c5)](_0x1ed1db=>_0x1ed1db[_0xac97fb(0x270)]===_0x517260),d[_0xac97fb(0x2bc)](_0x5cb5fb=>_0x5cb5fb[_0xac97fb(0x281)]));}[_0x598bd7(0x2e3)](){const _0x4451d0=_0x598bd7;this[_0x4451d0(0x2a2)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x4451d0(0x27f)])[_0x4451d0(0x429)](d['takeUntil'](this[_0x4451d0(0x39c)]))['subscribe'](async _0x3e17c8=>{const _0x5a72da=_0x4451d0,_0x312d06=_0x3e17c8['getUnitId'](),_0x462a10=await this['_startSheetCollabCursor'](_0x312d06);this['_entityInit$'][_0x5a72da(0x2bd)](_0x462a10),this[_0x5a72da(0x3cf)][_0x5a72da(0x2fa)](_0x312d06,_0x462a10);}),this['_univerInstanceService'][_0x4451d0(0x202)](a[_0x4451d0(0x30f)][_0x4451d0(0x38a)])['pipe'](d[_0x4451d0(0x2c6)](this['dispose$']))['pipe'](d['filter'](_0x4e866d=>!_0x4e866d['getUnitId']()[_0x4451d0(0x2a9)]('__')))['subscribe'](async _0x7f2eec=>{const _0x2e71d5=_0x4451d0,_0x48e8f4=_0x7f2eec[_0x2e71d5(0x320)](),_0x4b6bf1=await this['_startDocCollabCursor'](_0x48e8f4);this['_entityInit$'][_0x2e71d5(0x2bd)](_0x4b6bf1),this[_0x2e71d5(0x3cf)]['set'](_0x48e8f4,_0x4b6bf1);}),d[_0x4451d0(0x344)](this[_0x4451d0(0x2a2)][_0x4451d0(0x2a7)](a[_0x4451d0(0x30f)][_0x4451d0(0x38a)]),this[_0x4451d0(0x2a2)]['getTypeOfUnitDisposed$'](a[_0x4451d0(0x30f)][_0x4451d0(0x27f)]))['pipe'](d[_0x4451d0(0x2c6)](this[_0x4451d0(0x39c)]))['subscribe'](_0x354eab=>{const _0x1dc60d=_0x4451d0,_0x52ba3b=_0x354eab['getUnitId'](),_0x9b13fd=this[_0x1dc60d(0x3cf)][_0x1dc60d(0x402)](_0x52ba3b);_0x9b13fd&&(_0x9b13fd[_0x1dc60d(0x35a)](),this[_0x1dc60d(0x3cf)][_0x1dc60d(0x2f8)](_0x52ba3b));});}async[_0x598bd7(0x1de)](_0x10eca0){const _0x268eae=_0x598bd7,_0x40c15a=await this[_0x268eae(0x3ca)][_0x268eae(0x3b1)](_0x10eca0),_0x2e07b1=this[_0x268eae(0x32b)][_0x268eae(0x389)](Se,_0x10eca0,_0x40c15a);return _0x2e07b1[_0x268eae(0x2f9)](),_0x2e07b1;}async[_0x598bd7(0x245)](_0x59c31d){const _0x28c2a5=_0x598bd7,_0x23437f=await this[_0x28c2a5(0x3ca)][_0x28c2a5(0x3b1)](_0x59c31d),_0x385aea=this['_injector'][_0x28c2a5(0x389)](de,_0x59c31d,_0x23437f);return _0x385aea[_0x28c2a5(0x2f9)](),_0x385aea;}};x=at([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x598bd7(0x2b5)](a[_0x598bd7(0x3cd)])),ie(0x2,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x41d)]))],x);const W=0x14,Te=0xc8,ne=0x4,ct=0x5;function lt(_0x72e5ad,_0x24b676){const _0x423729=_0x598bd7;let {radius:_0x2a4916,width:_0x2a1e71,height:_0x5bc9d8}=_0x24b676;_0x2a4916=_0x2a4916!=null?_0x2a4916:0x0,_0x2a1e71=_0x2a1e71!=null?_0x2a1e71:0x1e,_0x5bc9d8=_0x5bc9d8!=null?_0x5bc9d8:0x1e;let _0x1d0a23=0x0,_0x304e28=0x0,_0x373453=0x0;_0x1d0a23=_0x304e28=_0x373453=Math[_0x423729(0x40d)](_0x2a4916,_0x2a1e71/0x2,_0x5bc9d8/0x2),_0x72e5ad[_0x423729(0x2dd)](),_0x72e5ad[_0x423729(0x3a7)](_0x1d0a23,0x0),_0x72e5ad[_0x423729(0x2a8)](_0x2a1e71-_0x304e28,0x0),_0x72e5ad[_0x423729(0x3d5)](_0x2a1e71-_0x304e28,_0x304e28,_0x304e28,Math['PI']*0x3/0x2,0x0,!0x1),_0x72e5ad[_0x423729(0x2a8)](_0x2a1e71,_0x5bc9d8-_0x373453),_0x72e5ad['arc'](_0x2a1e71-_0x373453,_0x5bc9d8-_0x373453,_0x373453,0x0,Math['PI']/0x2,!0x1),_0x72e5ad['lineTo'](0x0,_0x5bc9d8),_0x72e5ad[_0x423729(0x2a8)](0x0,_0x1d0a23),_0x72e5ad['arc'](_0x1d0a23,_0x1d0a23,_0x1d0a23,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x72e5ad[_0x423729(0x231)](),_0x24b676['fill']&&(_0x72e5ad[_0x423729(0x1fe)](),_0x72e5ad[_0x423729(0x3ce)]=_0x24b676[_0x423729(0x1ff)],_0x24b676[_0x423729(0x30c)]===_0x423729(0x408)?_0x72e5ad[_0x423729(0x1ff)]('evenodd'):_0x72e5ad[_0x423729(0x1ff)](),_0x72e5ad[_0x423729(0x1d1)]());}class ee extends p['Shape']{constructor(_0x10f965,_0x1d4f17){const _0x3322e9=_0x598bd7;super(_0x10f965,_0x1d4f17),h(this,_0x3322e9(0x315)),h(this,'text'),(this[_0x3322e9(0x315)]=_0x1d4f17==null?void 0x0:_0x1d4f17['color'],this[_0x3322e9(0x292)]=_0x1d4f17==null?void 0x0:_0x1d4f17[_0x3322e9(0x292)]);}static[_0x598bd7(0x307)](_0x27d2c9,_0x2e0f77){const _0x2b9691=_0x598bd7,{text:_0x95eb99,color:_0x2f09f9}=_0x2e0f77;_0x27d2c9[_0x2b9691(0x1fe)](),_0x27d2c9[_0x2b9691(0x26a)]=_0x2b9691(0x282);const _0x23709b=_0x27d2c9[_0x2b9691(0x2bb)](_0x95eb99)[_0x2b9691(0x3c2)],_0x517447=Math[_0x2b9691(0x40d)](_0x23709b+0x2*ne,Te);lt(_0x27d2c9,{'height':W,'radius':0x4,'width':_0x517447,'fill':_0x2f09f9}),_0x27d2c9[_0x2b9691(0x3ce)]=_0x2b9691(0x249);const _0x365da9=ne,_0x310dcb=W-ct,_0x2cc83f=Te-0x2*ne;if(_0x23709b>_0x2cc83f){let _0x1de117='',_0x30d609=0x0;for(const _0x129783 of _0x95eb99){const _0x293ec6=_0x27d2c9[_0x2b9691(0x2bb)](_0x129783)[_0x2b9691(0x3c2)];if(_0x30d609+_0x293ec6<=_0x2cc83f-_0x27d2c9[_0x2b9691(0x2bb)]('...')['width'])_0x1de117+=_0x129783,_0x30d609+=_0x293ec6;else{_0x1de117+=_0x2b9691(0x3e6);break;}}_0x27d2c9[_0x2b9691(0x1ce)](_0x1de117,_0x365da9,_0x310dcb);}else _0x27d2c9[_0x2b9691(0x1ce)](_0x95eb99,_0x365da9,_0x310dcb);_0x27d2c9[_0x2b9691(0x1d1)]();}[_0x598bd7(0x432)](_0xcfc31){const _0x3b7f71=_0x598bd7;ee[_0x3b7f71(0x307)](_0xcfc31,this);}}const re=_0x598bd7(0x256),_t=_0x598bd7(0x3db),ht=_0x598bd7(0x2ab),k=0x6,ut=1.5,oe=0x4,dt=1.5,St=_0x598bd7(0x1af);class Re{constructor(_0x1b904c,_0xcc3251,_0x2e9dc2,_0x5457b0){const _0x2d3e05=_0x598bd7;h(this,_0x2d3e05(0x397),[]),h(this,_0x2d3e05(0x22f),null),h(this,_0x2d3e05(0x250),null),h(this,_0x2d3e05(0x2cd),null),h(this,'_hideTimer',null),h(this,_0x2d3e05(0x2cc),null),(this[_0x2d3e05(0x39e)]=_0x1b904c,this[_0x2d3e05(0x34c)]=_0xcc3251,this[_0x2d3e05(0x37f)]=_0x2e9dc2,this[_0x2d3e05(0x390)]=_0x5457b0,this[_0x2d3e05(0x399)]());}set[_0x598bd7(0x1cc)](_0x9a353a){const _0x7cae28=_0x598bd7;_0x9a353a?(this['_anchorDot']&&this[_0x7cae28(0x2cd)][_0x7cae28(0x3ab)](),this[_0x7cae28(0x250)]&&this[_0x7cae28(0x250)][_0x7cae28(0x1c6)]()):(this[_0x7cae28(0x2cd)]&&this[_0x7cae28(0x2cd)][_0x7cae28(0x1c6)](),this[_0x7cae28(0x250)]&&this[_0x7cae28(0x250)][_0x7cae28(0x3ab)]());}['dispose'](){const _0x532e89=_0x598bd7;for(const _0x379451 of this['_shapes'])_0x379451[_0x532e89(0x35a)]();this[_0x532e89(0x250)]&&this[_0x532e89(0x250)][_0x532e89(0x35a)](),this[_0x532e89(0x2cd)]&&this['_anchorDot'][_0x532e89(0x35a)](),this[_0x532e89(0x22f)]&&this[_0x532e89(0x22f)]['dispose'](),this['_eventUnsubscribe']&&this[_0x532e89(0x2cc)]();}['_render'](){const _0x578d8b=_0x598bd7;var _0x1c0433;const {_docSkeleton:_0x469931,_document:_0x5a7074}=this,{color:_0x4a328a,name:_0x31ccea,ranges:_0x2778f4}=this[_0x578d8b(0x39e)],_0x31faa9=_0x5a7074[_0x578d8b(0x2ed)](),{docsLeft:_0x254a13,docsTop:_0x28e0ee}=_0x31faa9,_0x670ddc=new E[(_0x578d8b(0x1db))](_0x31faa9,_0x469931);for(const {startOffset:_0x1b71bd,endOffset:_0x4c9ea6,rangeType:_0x2fdab1,segmentId:_0x1a864d,segmentPage:_0x50192d,collapsed:_0x2f4f42,isActive:_0x49ee4a}of _0x2778f4){const _0x1bd4f9=_0x469931[_0x578d8b(0x425)](_0x1b71bd,!0x0,_0x1a864d,_0x50192d);let _0x34251a=_0x469931[_0x578d8b(0x425)](_0x4c9ea6,!0x0,_0x1a864d,_0x50192d);if(_0x34251a==null&&(_0x34251a=_0x469931[_0x578d8b(0x425)](_0x4c9ea6-0x1,!0x1,_0x1a864d,_0x50192d)),_0x49ee4a){const {contentBoxPointGroup:_0x1007c1}=_0x670ddc['getRangePointData'](_0x34251a,_0x34251a);if(_0x1007c1[_0x578d8b(0x2a5)]===0x0)continue;this['_drawAnchor'](_0x4a328a,_0x1007c1,_0x254a13,_0x28e0ee,_0x31ccea),this[_0x578d8b(0x2cc)]=this[_0x578d8b(0x418)]();}if(_0x1bd4f9&&_0x34251a){if(_0x2fdab1===a[_0x578d8b(0x38d)][_0x578d8b(0x21c)]){const _0x21ae0f=new E[(_0x578d8b(0x39f))](_0x31faa9,_0x469931),{pointGroup:_0x3942a8}=(_0x1c0433=_0x21ae0f[_0x578d8b(0x396)](_0x1bd4f9,_0x34251a))!=null?_0x1c0433:{};if(_0x3942a8==null||_0x3942a8['length']===0x0)continue;this['_drawRectRange'](_0x4a328a,_0x3942a8,_0x254a13,_0x28e0ee);}else{if(!_0x2f4f42){const {borderBoxPointGroup:_0x4ff461}=_0x670ddc[_0x578d8b(0x396)](_0x1bd4f9,_0x34251a);if(_0x4ff461[_0x578d8b(0x2a5)]===0x0)continue;this['_drawTextRange'](_0x4a328a,_0x4ff461,_0x254a13,_0x28e0ee);}}}}}[_0x598bd7(0x415)](_0x192755,_0x1968d3,_0x2d1051,_0x21d272,_0x2d0f04){const _0x54d154=_0x598bd7,_0x27d472=this[_0x54d154(0x213)](_0x1968d3),{left:_0x3f216e,top:_0xbbc60e,height:_0x5c13fa}=_0x27d472,_0x369505=this['_getScale'](),_0x1be6d7=dt/_0x369505,_0x31e0ea=new p['Rect'](re+a[_0x54d154(0x395)](k),{'left':_0x3f216e+_0x2d1051-_0x1be6d7,'top':_0xbbc60e+_0x21d272,'height':_0x5c13fa,'width':ut,'fill':_0x192755||p['getColor'](a[_0x54d154(0x3ba)][_0x54d154(0x3f6)],0x0),'strokeWidth':_0x1be6d7,'stroke':St,'evented':!0x0});this[_0x54d154(0x22f)]=_0x31e0ea,this[_0x54d154(0x34c)][_0x54d154(0x351)](_0x31e0ea,E[_0x54d154(0x3fd)]);const _0x2c3d2e=new p['Rect'](re+a[_0x54d154(0x395)](k),{'left':_0x3f216e+_0x2d1051-_0x1be6d7,'top':_0xbbc60e+_0x21d272-oe/0x2,'height':oe,'width':oe,'fill':_0x192755||p[_0x54d154(0x1cf)](a[_0x54d154(0x3ba)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x192755||p[_0x54d154(0x1cf)](a[_0x54d154(0x3ba)]['black'],0x0),'evented':!0x1});this[_0x54d154(0x2cd)]=_0x2c3d2e,this[_0x54d154(0x34c)]['addObject'](_0x2c3d2e,E[_0x54d154(0x3fd)]);const _0x5f19f4=new ee(re+a['generateRandomId'](k),{'left':_0x3f216e+_0x2d1051-_0x1be6d7,'top':_0xbbc60e+_0x21d272-W,'text':_0x2d0f04,'color':_0x192755});this[_0x54d154(0x250)]=_0x5f19f4,this[_0x54d154(0x34c)][_0x54d154(0x351)](_0x5f19f4,E['TEXT_RANGE_LAYER_INDEX']),this[_0x54d154(0x1cc)]=!0x1;}[_0x598bd7(0x418)](){const _0x130c64=_0x598bd7,_0x28f604=this[_0x130c64(0x22f)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x3670ba=_0x130c64;this[_0x3670ba(0x1cc)]=!0x0;}),_0x356462=this[_0x130c64(0x22f)][_0x130c64(0x2fc)][_0x130c64(0x2c3)](()=>{const _0x26a086=_0x130c64;this[_0x26a086(0x2db)]&&clearTimeout(this['_hideTimer']),this[_0x26a086(0x2db)]=setTimeout(()=>{const _0x480ce5=_0x26a086;this[_0x480ce5(0x1cc)]=!0x1;},0x7d0);});return()=>{const _0x4c1997=_0x130c64;_0x28f604[_0x4c1997(0x308)](),_0x356462[_0x4c1997(0x308)]();};}[_0x598bd7(0x279)](_0x997c87,_0x10f759,_0x48ead0,_0x1809b8){const _0x13e9ff=_0x598bd7,_0x4a06c8=new a[(_0x13e9ff(0x3b3))](_0x997c87)[_0x13e9ff(0x31f)](0.2)[_0x13e9ff(0x230)](),_0x37439e=new p[(_0x13e9ff(0x1f7))](_t+a[_0x13e9ff(0x395)](k),{'pointsGroup':_0x10f759,'fill':_0x4a06c8||p[_0x13e9ff(0x1cf)](a[_0x13e9ff(0x3ba)][_0x13e9ff(0x3f6)],0.2),'left':_0x48ead0,'top':_0x1809b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13e9ff(0x397)][_0x13e9ff(0x2de)](_0x37439e),this[_0x13e9ff(0x34c)][_0x13e9ff(0x351)](_0x37439e,E[_0x13e9ff(0x3fd)]);}[_0x598bd7(0x2c9)](_0x2256cf,_0x40cfd8,_0x56f19b,_0x3956a0){const _0x260790=_0x598bd7,_0x25d1d0=new a['ColorKit'](_0x2256cf)['setAlpha'](0.2)[_0x260790(0x230)](),_0x16c7cf=new p[(_0x260790(0x1f7))](ht+a['generateRandomId'](k),{'pointsGroup':_0x40cfd8,'fill':_0x25d1d0||p['getColor'](a[_0x260790(0x3ba)]['black'],0.2),'left':_0x56f19b,'top':_0x3956a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x260790(0x397)]['push'](_0x16c7cf),this['_scene'][_0x260790(0x351)](_0x16c7cf,E[_0x260790(0x3fd)]);}['_getAnchorBounding'](_0x80624e){const _0x1769f0=_0x80624e[0x0],_0x400a31=_0x1769f0[0x0],_0x156ffb=_0x1769f0[0x2],{x:_0x33535c,y:_0x4417cb}=_0x400a31,{x:_0x2f46dc,y:_0x50ded6}=_0x156ffb;return{'left':_0x33535c,'top':_0x4417cb,'width':_0x2f46dc-_0x33535c,'height':_0x50ded6-_0x4417cb};}[_0x598bd7(0x29a)](){const _0x42c631=_0x598bd7,{scaleX:_0x120d79,scaleY:_0x87b953}=this[_0x42c631(0x34c)][_0x42c631(0x296)]();return Math[_0x42c631(0x28f)](_0x120d79,_0x87b953);}}var ft=Object[_0x598bd7(0x2e2)],It=(_0xb75c2d,_0xb508a9,_0x15cc9f,_0xa2c1f9)=>{const _0x11b659=_0x598bd7;for(var _0x35e41a=_0xa2c1f9>0x1?void 0x0:_0xa2c1f9?ft(_0xb508a9,_0x15cc9f):_0xb508a9,_0x13fdae=_0xb75c2d[_0x11b659(0x2a5)]-0x1,_0x55a208;_0x13fdae>=0x0;_0x13fdae--)(_0x55a208=_0xb75c2d[_0x13fdae])&&(_0x35e41a=_0x55a208(_0x35e41a)||_0x35e41a);return _0x35e41a;},V=(_0x1b3bcd,_0x59801d)=>(_0x35a4ef,_0x160125)=>_0x59801d(_0x35a4ef,_0x160125,_0x1b3bcd);let fe=class extends a[_0x598bd7(0x35b)]{constructor(_0x37cae7,_0x14e424,_0x5c15b3,_0x24b16b,_0x2bb485){const _0x126bd4=_0x598bd7;super(),h(this,_0x126bd4(0x27e),[]),h(this,'_cursors',[]),(this[_0x126bd4(0x2fd)]=_0x37cae7,this[_0x126bd4(0x215)]=_0x14e424,this[_0x126bd4(0x24f)]=_0x5c15b3,this[_0x126bd4(0x3d0)]=_0x24b16b,this[_0x126bd4(0x248)]=_0x2bb485,this[_0x126bd4(0x2e3)]());}[_0x598bd7(0x2e3)](){const _0x2e7229=_0x598bd7,_0x517469=this['_context']['unitId'],_0x4d16b7=this[_0x2e7229(0x215)];this[_0x2e7229(0x25e)](d[_0x2e7229(0x20a)]([this[_0x2e7229(0x24f)][_0x2e7229(0x3fe)](_0x517469),this['_themeService'][_0x2e7229(0x200)]])['pipe']($[_0x2e7229(0x1f3)](([_0x14e2b2,_0x2cc8c9])=>({'skeleton':_0x4d16b7[_0x2e7229(0x359)](),'cursors':[..._0x14e2b2[_0x2e7229(0x3a9)]()][_0x2e7229(0x423)](_0xeeadee=>({..._0xeeadee,'color':this['_themeService'][_0x2e7229(0x1e6)](_0xeeadee[_0x2e7229(0x315)])}))})))[_0x2e7229(0x37c)](_0x49fe43=>{const _0x527e77=_0x2e7229;if(this[_0x527e77(0x28d)](),_0x49fe43){const {skeleton:_0x525696,cursors:_0x136a68}=_0x49fe43;this[_0x527e77(0x42f)](_0x525696,_0x136a68);}})),this[_0x2e7229(0x310)](),this[_0x2e7229(0x26c)]();}[_0x598bd7(0x42f)](_0x37caba,_0x515de0){const _0x21cf7f=_0x598bd7,{scene:_0x51d79c,mainComponent:_0x10d8a4}=this[_0x21cf7f(0x2fd)],_0x4152ca=_0x515de0[_0x21cf7f(0x1f3)](_0x50657d=>new Re(_0x50657d,_0x51d79c,_0x37caba,_0x10d8a4));this[_0x21cf7f(0x27e)]=_0x4152ca,this[_0x21cf7f(0x400)]=_0x515de0;}[_0x598bd7(0x3e3)](){const _0x271db3=_0x598bd7;this[_0x271db3(0x28d)]();const {scene:_0x3f9fee,mainComponent:_0x540f74}=this[_0x271db3(0x2fd)],_0x151568=this[_0x271db3(0x215)][_0x271db3(0x359)](),_0x2489e6=this['_cursors'][_0x271db3(0x1f3)](_0x4c4159=>new Re(_0x4c4159,_0x3f9fee,_0x151568,_0x540f74));this['_cursorShapes']=_0x2489e6;}['_removeCollabCursors'](){const _0x583412=_0x598bd7;this[_0x583412(0x27e)][_0x583412(0x401)](_0x2de75c=>_0x2de75c['dispose']()),this[_0x583412(0x27e)]=[];}['_initCommandExecutedListener'](){const _0x1a0ce9=_0x598bd7,_0x5049fa=[E[_0x1a0ce9(0x2f6)]['id']];this[_0x1a0ce9(0x25e)](this[_0x1a0ce9(0x3d0)]['onCommandExecuted'](_0x4da872=>{const _0x572cb8=_0x1a0ce9;_0x5049fa[_0x572cb8(0x2e1)](_0x4da872['id'])&&_0x4da872['params'][_0x572cb8(0x325)]===this['_context']['unitId']&&this[_0x572cb8(0x3e3)]();}));}[_0x598bd7(0x310)](){const _0x3d577b=_0x598bd7;this[_0x3d577b(0x25e)](a[_0x3d577b(0x257)](this[_0x3d577b(0x2fd)][_0x3d577b(0x26e)]['onTransformChange$'])[_0x3d577b(0x429)]($[_0x3d577b(0x2c5)](_0x315c23=>_0x315c23[_0x3d577b(0x1e7)]===p[_0x3d577b(0x3d1)][_0x3d577b(0x317)]),$[_0x3d577b(0x26f)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};fe=It([V(0x1,a[_0x598bd7(0x2b5)](Y[_0x598bd7(0x225)])),V(0x2,a[_0x598bd7(0x2b5)](x)),V(0x3,a['ICommandService']),V(0x4,a[_0x598bd7(0x2b5)](a[_0x598bd7(0x3b9)]))],fe);const vt=0x1,gt=1.5;class we extends p['Shape']{constructor(_0x49b15f,_0x47c1ca){const _0x2693cd=_0x598bd7;super(_0x49b15f,_0x47c1ca),h(this,_0x2693cd(0x267)),h(this,_0x2693cd(0x25f),!0x1),h(this,_0x2693cd(0x360)),h(this,_0x2693cd(0x2fb),''),h(this,_0x2693cd(0x33e),_0x2693cd(0x36c)),h(this,_0x2693cd(0x3a6)),(_0x47c1ca&&this['setShapeProps'](_0x47c1ca),this[_0x2693cd(0x24b)]['subscribeEvent'](()=>this[_0x2693cd(0x1e2)]({'hovered':!0x0})),this[_0x2693cd(0x2fc)][_0x2693cd(0x2c3)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x598bd7(0x1e2)](_0x2d7e59){const _0x525281=_0x598bd7;var _0x434ebb,_0x3cd4ef,_0x5b5cc6,_0x3f8ef9,_0x321e13,_0xabd816;this['_color']=(_0x434ebb=_0x2d7e59['color'])!=null?_0x434ebb:this['_color'],this[_0x525281(0x25f)]=(_0x3cd4ef=_0x2d7e59[_0x525281(0x354)])!=null?_0x3cd4ef:this[_0x525281(0x25f)],this[_0x525281(0x360)]=(_0x5b5cc6=_0x2d7e59['range'])!=null?_0x5b5cc6:this['_range'],this[_0x525281(0x2fb)]=(_0x3f8ef9=_0x2d7e59[_0x525281(0x258)])!=null?_0x3f8ef9:this[_0x525281(0x2fb)],this[_0x525281(0x33e)]=(_0x321e13=_0x2d7e59['labelPosition'])!=null?_0x321e13:this[_0x525281(0x33e)],this['_backgroundColor']=(_0xabd816=_0x2d7e59['backgroundColor'])!=null?_0xabd816:this[_0x525281(0x3a6)],this[_0x525281(0x355)]({'width':_0x2d7e59['width'],'height':_0x2d7e59[_0x525281(0x1ee)]});}[_0x598bd7(0x280)](_0x5ed09f){const _0x16abd3=_0x598bd7,{row:_0x353f24,column:_0x577bf7}=_0x5ed09f;if(_0x353f24>=this['_range'][_0x16abd3(0x1c3)]&&_0x353f24<=this['_range'][_0x16abd3(0x3c9)]&&_0x577bf7>=this['_range'][_0x16abd3(0x2ec)]&&_0x577bf7<=this[_0x16abd3(0x360)][_0x16abd3(0x22b)]){this[_0x16abd3(0x1e2)]({'hovered':!0x0});return;}this[_0x16abd3(0x1e2)]({'hovered':!0x1});}[_0x598bd7(0x1c4)](_0xd3793e){return!0x1;}[_0x598bd7(0x432)](_0x5e6a1c){const _0x1e2649=_0x598bd7;p[_0x1e2649(0x34e)][_0x1e2649(0x307)](_0x5e6a1c,{'width':this['width'],'height':this[_0x1e2649(0x1ee)],'strokeWidth':gt,'stroke':this[_0x1e2649(0x267)],'evented':!0x1,'fill':this[_0x1e2649(0x3a6)]}),this[_0x1e2649(0x25f)]&&(_0x5e6a1c[_0x1e2649(0x1fe)](),_0x5e6a1c[_0x1e2649(0x32e)](0x1,0x0,0x0,0x1,this[_0x1e2649(0x3c2)],this['_labelPosition']==='bottom'?0x0:-W),ee[_0x1e2649(0x307)](_0x5e6a1c,{'text':this['_name'],'color':this[_0x1e2649(0x267)]}),_0x5e6a1c[_0x1e2649(0x1d1)]());}}var mt=Object[_0x598bd7(0x2e2)],Ct=(_0x2c4b42,_0x23cbb9,_0x4469de,_0x3b2a77)=>{const _0x5c0966=_0x598bd7;for(var _0xb9a121=_0x3b2a77>0x1?void 0x0:_0x3b2a77?mt(_0x23cbb9,_0x4469de):_0x23cbb9,_0x105600=_0x2c4b42[_0x5c0966(0x2a5)]-0x1,_0x113b0f;_0x105600>=0x0;_0x105600--)(_0x113b0f=_0x2c4b42[_0x105600])&&(_0xb9a121=_0x113b0f(_0xb9a121)||_0xb9a121);return _0xb9a121;},ae=(_0x1d9de4,_0x3c84f1)=>(_0x3328c2,_0x42861f)=>_0x3c84f1(_0x3328c2,_0x42861f,_0x1d9de4);const pt=0x1389;let Ie=class extends a[_0x598bd7(0x35b)]{constructor(_0x307d5d,_0x35cc08,_0x3a90a7,_0x52df93){const _0x1e22fb=_0x598bd7;super(),h(this,_0x1e22fb(0x400),new Set()),h(this,'_lastPointer',null),(this[_0x1e22fb(0x2fd)]=_0x307d5d,this[_0x1e22fb(0x1fc)]=_0x35cc08,this['_collabCursorController']=_0x3a90a7,this['_themeService']=_0x52df93,this['_init']());}[_0x598bd7(0x2e3)](){const _0x518a22=_0x598bd7;this[_0x518a22(0x1fc)][_0x518a22(0x2c8)][_0x518a22(0x429)]($[_0x518a22(0x2c6)](this[_0x518a22(0x39c)]),$['switchMap'](_0x16b45f=>{const _0x177874=_0x518a22;if(_0x16b45f){const _0x1f4d7c=_0x16b45f['sheetId'];return d[_0x177874(0x20a)](this[_0x177874(0x24f)][_0x177874(0x3fe)](this[_0x177874(0x2fd)]['unitId']),this[_0x177874(0x248)][_0x177874(0x200)])[_0x177874(0x429)]($['map'](([_0x11dc46,_0xbc0995])=>{const _0x58b221=_0x177874,_0x44d6bb=new Map();return _0x11dc46[_0x58b221(0x401)]((_0xaac1ae,_0x24cf5d)=>{const _0x3ab9e8=_0x58b221;if(_0xaac1ae['sheetID']===_0x1f4d7c){const _0x1b92db={..._0xaac1ae};_0x1b92db[_0x3ab9e8(0x315)]=this[_0x3ab9e8(0x248)][_0x3ab9e8(0x1e6)](_0xaac1ae[_0x3ab9e8(0x315)]),_0x44d6bb[_0x3ab9e8(0x2fa)](_0x24cf5d,_0x1b92db);}}),{'skeleton':_0x16b45f,'cursors':_0x44d6bb};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x518a22(0x37c)](({skeleton:_0x3cdb9e,cursors:_0x7c5bf7})=>{const _0x50627e=_0x518a22;this[_0x50627e(0x28d)](),_0x3cdb9e&&this[_0x50627e(0x42f)](_0x3cdb9e,_0x7c5bf7);}),this[_0x518a22(0x1fc)]['currentSkeleton$'][_0x518a22(0x37c)](_0x33f874=>{const _0x1d0386=_0x518a22;if(_0x33f874==null)return;const {skeleton:_0x3ec89d}=_0x33f874,{scene:_0x8b429f}=this['_context'];_0x8b429f[_0x1d0386(0x2be)]['subscribeEvent'](a[_0x1d0386(0x40f)](_0x2a3a97=>{const _0xbfcfbc=_0x1d0386;var _0xf9af70,_0x54af5f;const {offsetX:_0x20fe65,offsetY:_0x30e2ad}=_0x2a3a97,{x:_0x255925,y:_0x215f8d}=_0x8b429f[_0xbfcfbc(0x38c)](p[_0xbfcfbc(0x366)][_0xbfcfbc(0x238)]([_0x20fe65,_0x30e2ad])),{scaleX:_0x4828fd,scaleY:_0x1c5d2a}=_0x8b429f[_0xbfcfbc(0x296)](),_0x29c832=_0x8b429f['getViewport'](p[_0xbfcfbc(0x3d9)][_0xbfcfbc(0x2a3)]),_0xe7301e=_0x8b429f[_0xbfcfbc(0x1ba)](p[_0xbfcfbc(0x366)][_0xbfcfbc(0x238)]([_0x255925,_0x215f8d]),_0x29c832),_0x47ccdb=_0x3ec89d[_0xbfcfbc(0x35e)](_0x20fe65,_0x30e2ad,_0x4828fd,_0x1c5d2a,_0xe7301e);((_0xf9af70=this[_0xbfcfbc(0x3c6)])==null?void 0x0:_0xf9af70[_0xbfcfbc(0x29e)])===_0x47ccdb[_0xbfcfbc(0x29e)]&&((_0x54af5f=this['_lastPointer'])==null?void 0x0:_0x54af5f['row'])===_0x47ccdb['row']||this[_0xbfcfbc(0x400)]['forEach'](_0x5670fa=>{const _0x1fb51c=_0xbfcfbc;_0x5670fa[_0x1fb51c(0x280)](_0x47ccdb);});},0x64));});}[_0x598bd7(0x42f)](_0x31c058,_0x39245c){const _0xdf5989=_0x598bd7;var _0x21de27;const _0x147e03=(_0x21de27=this['_sheetSkeletonManagerService'][_0xdf5989(0x34a)]())==null?void 0x0:_0x21de27[_0xdf5989(0x3b8)];if(!_0x147e03)return;const _0x45e5d9=this['_getSheetObject']();if(!_0x45e5d9)return;this['_cursors'][_0xdf5989(0x401)](_0x5d63bd=>{const _0xfe3b97=_0xdf5989;_0x5d63bd[_0xfe3b97(0x219)]();});const {scene:_0x3b7367}=_0x45e5d9,_0x435c8f=Et(Array[_0xdf5989(0x38b)](_0x39245c[_0xdf5989(0x3a9)]()))[_0xdf5989(0x1f3)](_0x47f226=>{const _0x5e4981=_0xdf5989,{color:_0x5ba474,range:_0x181b52,name:_0x3d86ac,selection:_0x331661,sheetID:_0x3054e}=_0x47f226,{startColumn:_0x4499ee,startRow:_0xbdc5ba,endColumn:_0x2d566d,endRow:_0x5f26c9}=_0x181b52,_0x52dde9=G[_0x5e4981(0x3a1)](_0xbdc5ba,_0x4499ee,_0x3b7367,_0x147e03),_0x1f48f0=G['getCoordByCell'](_0x5f26c9,_0x2d566d,_0x3b7367,_0x147e03),{columnHeaderHeightAndMarginTop:_0x3be16c}=_0x147e03,{startX:_0x262137,startY:_0x24c84c}=_0x52dde9,{endX:_0x3ba5a4,endY:_0x2eb344}=_0x1f48f0,_0x4fe62c=_0x3ba5a4-_0x262137,_0x4cbca6=_0x2eb344-_0x24c84c,_0x242b9c={'labelPosition':_0x24c84c-_0x3be16c>=W?_0x5e4981(0x36c):_0x5e4981(0x3d3),'sheetID':_0x3054e,'range':_0x181b52,'color':_0x5ba474,'name':_0x3d86ac,'selection':_0x331661,'left':_0x262137,'top':_0x24c84c,'width':_0x4fe62c,'height':_0x4cbca6,'evented':!0x1,'zIndex':pt};return new we(_0x3d86ac,_0x242b9c);});_0x3b7367[_0xdf5989(0x297)](_0x435c8f,vt),this[_0xdf5989(0x400)]=new Set(_0x435c8f);}[_0x598bd7(0x28d)](){const _0x574962=_0x598bd7;var _0x537503;(_0x537503=this[_0x574962(0x400)])==null||_0x537503[_0x574962(0x401)](_0x4f64da=>_0x4f64da[_0x574962(0x35a)]());}[_0x598bd7(0x1e0)](){const _0x52a46c=_0x598bd7;return G[_0x52a46c(0x3e5)](this['_context']['unit'],this[_0x52a46c(0x2fd)]);}};Ie=Ct([ae(0x1,a[_0x598bd7(0x2b5)](G[_0x598bd7(0x24e)])),ae(0x2,a[_0x598bd7(0x2b5)](x)),ae(0x3,a[_0x598bd7(0x2b5)](a[_0x598bd7(0x3b9)]))],Ie);function Et(_0x58abe6){const _0x1b5cdd=_0x598bd7,_0x3873c3=new Map();return _0x58abe6[_0x1b5cdd(0x401)](_0x1f0840=>{const _0x5c207c=_0x1b5cdd;if(_0x3873c3[_0x5c207c(0x24d)](_0x1f0840[_0x5c207c(0x255)])){const _0x49ac25=_0x3873c3[_0x5c207c(0x402)](_0x1f0840[_0x5c207c(0x255)]);_0x49ac25[_0x5c207c(0x258)]+=',\x20'+_0x1f0840[_0x5c207c(0x258)];}else _0x3873c3[_0x5c207c(0x2fa)](_0x1f0840[_0x5c207c(0x255)],_0x1f0840);}),Array[_0x1b5cdd(0x38b)](_0x3873c3[_0x1b5cdd(0x3a9)]());}var b=function(){const _0x36f755=_0x598bd7;return b=Object[_0x36f755(0x34f)]||function(_0x175849){const _0x288a92=_0x36f755;for(var _0x677264,_0xcef6b1=0x1,_0x52b64c=arguments[_0x288a92(0x2a5)];_0xcef6b1<_0x52b64c;_0xcef6b1++){_0x677264=arguments[_0xcef6b1];for(var _0x2af2ae in _0x677264)Object['prototype']['hasOwnProperty']['call'](_0x677264,_0x2af2ae)&&(_0x175849[_0x2af2ae]=_0x677264[_0x2af2ae]);}return _0x175849;},b[_0x36f755(0x2b9)](this,arguments);},bt=function(_0x43b7c8,_0x327c9c){const _0x238531=_0x598bd7;var _0xd5e9d7={};for(var _0x5e68d9 in _0x43b7c8)Object[_0x238531(0x1d5)]['hasOwnProperty'][_0x238531(0x386)](_0x43b7c8,_0x5e68d9)&&_0x327c9c[_0x238531(0x1b5)](_0x5e68d9)<0x0&&(_0xd5e9d7[_0x5e68d9]=_0x43b7c8[_0x5e68d9]);if(_0x43b7c8!=null&&typeof Object[_0x238531(0x392)]==_0x238531(0x28a)){for(var _0x3f76ad=0x0,_0x5e68d9=Object['getOwnPropertySymbols'](_0x43b7c8);_0x3f76ad<_0x5e68d9[_0x238531(0x2a5)];_0x3f76ad++)_0x327c9c[_0x238531(0x1b5)](_0x5e68d9[_0x3f76ad])<0x0&&Object[_0x238531(0x1d5)][_0x238531(0x414)][_0x238531(0x386)](_0x43b7c8,_0x5e68d9[_0x3f76ad])&&(_0xd5e9d7[_0x5e68d9[_0x3f76ad]]=_0x43b7c8[_0x5e68d9[_0x3f76ad]]);}return _0xd5e9d7;},Ce=M[_0x598bd7(0x35d)](function(_0x3f86a1,_0x23eac9){const _0x2a1af4=_0x598bd7;var _0x493491=_0x3f86a1[_0x2a1af4(0x2fe)],_0x325b97=_0x3f86a1['id'],_0xbfe422=_0x3f86a1[_0x2a1af4(0x2e6)],_0x459c48=_0x3f86a1[_0x2a1af4(0x229)],_0x1f53f8=bt(_0x3f86a1,[_0x2a1af4(0x2fe),'id','className','extend']),_0x5de6ca=_0x2a1af4(0x3f4)[_0x2a1af4(0x3b6)](_0x325b97,'\x20')['concat'](_0xbfe422||'')['trim'](),_0x4c8c49=M[_0x2a1af4(0x243)]('_'['concat'](Rt()));return Ae(_0x493491,''[_0x2a1af4(0x3b6)](_0x325b97),{'defIds':_0x493491[_0x2a1af4(0x268)],'idSuffix':_0x4c8c49[_0x2a1af4(0x3fa)]},b({'ref':_0x23eac9,'className':_0x5de6ca},_0x1f53f8),_0x459c48);});function Ae(_0x48d076,_0x3981bd,_0x40a2bd,_0x1b622b,_0x4987fc){const _0x4d3bb8=_0x598bd7;return M[_0x4d3bb8(0x2ce)](_0x48d076['tag'],b(b({'key':_0x3981bd},Ot(_0x48d076,_0x40a2bd,_0x4987fc)),_0x1b622b),(Tt(_0x48d076,_0x40a2bd)[_0x4d3bb8(0x204)]||[])[_0x4d3bb8(0x1f3)](function(_0x3fa8e5,_0x3b26fe){const _0x1f6e98=_0x4d3bb8;return Ae(_0x3fa8e5,''[_0x1f6e98(0x3b6)](_0x3981bd,'-')[_0x1f6e98(0x3b6)](_0x48d076[_0x1f6e98(0x1b8)],'-')[_0x1f6e98(0x3b6)](_0x3b26fe),_0x40a2bd,void 0x0,_0x4987fc);}));}function Ot(_0x1f24d7,_0x4a4828,_0x3934aa){const _0x24ca9f=_0x598bd7;var _0x4012fc=b({},_0x1f24d7['attrs']);_0x3934aa!=null&&_0x3934aa[_0x24ca9f(0x2ef)]&&_0x4012fc[_0x24ca9f(0x1ff)]===_0x24ca9f(0x2ef)&&(_0x4012fc[_0x24ca9f(0x1ff)]=_0x3934aa[_0x24ca9f(0x2ef)]),_0x1f24d7['tag']===_0x24ca9f(0x2af)&&_0x4012fc['id']&&(_0x4012fc['id']=_0x4012fc['id']+_0x4a4828[_0x24ca9f(0x246)]),Object[_0x24ca9f(0x241)](_0x4012fc)[_0x24ca9f(0x401)](function(_0x58a8e8){const _0x41d3c6=_0x24ca9f;var _0x38d2b0=_0x58a8e8[0x0],_0x74fb10=_0x58a8e8[0x1];_0x38d2b0==='mask'&&typeof _0x74fb10==_0x41d3c6(0x293)&&(_0x4012fc[_0x38d2b0]=_0x74fb10['replace'](/url\(#(.*)\)/,_0x41d3c6(0x406)['concat'](_0x4a4828[_0x41d3c6(0x246)],')')));});var _0x468495=_0x4a4828[_0x24ca9f(0x268)];return!_0x468495||_0x468495[_0x24ca9f(0x2a5)]===0x0||(_0x1f24d7['tag']===_0x24ca9f(0x3a0)&&_0x4012fc[_0x24ca9f(0x3f1)]&&(_0x4012fc[_0x24ca9f(0x3f1)]=_0x4012fc[_0x24ca9f(0x3f1)]+_0x4a4828[_0x24ca9f(0x246)]),Object[_0x24ca9f(0x241)](_0x4012fc)[_0x24ca9f(0x401)](function(_0x28b36e){const _0x96b7c1=_0x24ca9f;var _0x31547d=_0x28b36e[0x0],_0x19fef8=_0x28b36e[0x1];typeof _0x19fef8=='string'&&(_0x4012fc[_0x31547d]=_0x19fef8['replace'](/url\(#(.*)\)/,_0x96b7c1(0x406)['concat'](_0x4a4828[_0x96b7c1(0x246)],')')));})),_0x4012fc;}function Tt(_0x24b6b5,_0x150bb2){const _0xd6ff70=_0x598bd7;var _0x2f7c1b,_0x1f58f5=_0x150bb2[_0xd6ff70(0x268)];return!_0x1f58f5||_0x1f58f5[_0xd6ff70(0x2a5)]===0x0?_0x24b6b5:_0x24b6b5['tag']===_0xd6ff70(0x2f5)&&(!((_0x2f7c1b=_0x24b6b5['children'])===null||_0x2f7c1b===void 0x0)&&_0x2f7c1b[_0xd6ff70(0x2a5)])?b(b({},_0x24b6b5),{'children':_0x24b6b5[_0xd6ff70(0x204)][_0xd6ff70(0x1f3)](function(_0x2c94f3){const _0x176def=_0xd6ff70;return typeof _0x2c94f3['attrs']['id']==_0x176def(0x293)&&_0x1f58f5&&_0x1f58f5[_0x176def(0x2e1)](_0x2c94f3[_0x176def(0x341)]['id'])?b(b({},_0x2c94f3),{'attrs':b(b({},_0x2c94f3[_0x176def(0x341)]),{'id':_0x2c94f3[_0x176def(0x341)]['id']+_0x150bb2[_0x176def(0x246)]})}):_0x2c94f3;})}):_0x24b6b5;}function Rt(){const _0x46a7e9=_0x598bd7;return Math['random']()[_0x46a7e9(0x1ae)](0x24)[_0x46a7e9(0x2f2)](0x2,0x8);}Ce[_0x598bd7(0x284)]='UniverIcon';var Dt={'tag':_0x598bd7(0x324),'attrs':{'xmlns':_0x598bd7(0x371),'fill':_0x598bd7(0x343),'viewBox':'0\x200\x2016\x2016','width':_0x598bd7(0x226),'height':_0x598bd7(0x226)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x598bd7(0x20e),'attrs':{'stroke':_0x598bd7(0x3a8),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x598bd7(0x254),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x598bd7(0x2f5),'attrs':{},'children':[{'tag':_0x598bd7(0x278),'attrs':{'id':_0x598bd7(0x332)},'children':[{'tag':_0x598bd7(0x20e),'attrs':{'fill':_0x598bd7(0x286),'d':_0x598bd7(0x3b7)}}]}]}],'defIds':[_0x598bd7(0x332)]},ye=M[_0x598bd7(0x35d)](function(_0x2708c3,_0x49aaed){const _0x138522=_0x598bd7;return M['createElement'](Ce,Object[_0x138522(0x34f)]({},_0x2708c3,{'id':_0x138522(0x3de),'ref':_0x49aaed,'icon':Dt}));});ye[_0x598bd7(0x284)]=_0x598bd7(0x3dc);var Ut={'tag':_0x598bd7(0x324),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x598bd7(0x343),'viewBox':_0x598bd7(0x2ca),'width':_0x598bd7(0x226),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x598bd7(0x3bd)},'children':[{'tag':_0x598bd7(0x20e),'attrs':{'stroke':_0x598bd7(0x3a8),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x598bd7(0x254),'strokeLinejoin':_0x598bd7(0x254),'strokeWidth':1.2}}]},{'tag':_0x598bd7(0x2f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x598bd7(0x20e),'attrs':{'fill':_0x598bd7(0x286),'d':_0x598bd7(0x3b7),'transform':_0x598bd7(0x3d2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x598bd7(0x35d)](function(_0x33afa4,_0x4850d2){const _0x2afc11=_0x598bd7;return M[_0x2afc11(0x2ce)](Ce,Object[_0x2afc11(0x34f)]({},_0x33afa4,{'id':_0x2afc11(0x323),'ref':_0x4850d2,'icon':Ut}));});$e[_0x598bd7(0x284)]=_0x598bd7(0x319);function Nt(_0x1c4c6e){const _0x650190=_0x598bd7;switch(_0x1c4c6e){case u['CollaborationStatus'][_0x650190(0x20d)]:return'collabStatus.offline';case u['CollaborationStatus'][_0x650190(0x381)]:return _0x650190(0x2d8);case u[_0x650190(0x309)][_0x650190(0x222)]:return _0x650190(0x3aa);case u[_0x650190(0x309)][_0x650190(0x2ea)]:return _0x650190(0x3cb);case u[_0x650190(0x309)][_0x650190(0x1b2)]:case u[_0x650190(0x309)][_0x650190(0x21f)]:return _0x650190(0x27b);case u[_0x650190(0x309)][_0x650190(0x1c7)]:case u[_0x650190(0x309)][_0x650190(0x23f)]:return'collabStatus.synced';}}function Mt(_0x116d0e){const _0x286542=_0x598bd7,{status$:_0x53c7ce}=_0x116d0e,_0x2c8dca=O[_0x286542(0x1d8)](_0x53c7ce,u[_0x286542(0x309)][_0x286542(0x2ea)]),_0x5e6454=O[_0x286542(0x335)](a[_0x286542(0x350)]),_0x96bc14=O[_0x286542(0x335)](u[_0x286542(0x41d)]),_0x14d9a6=_0x2c8dca!==u['CollaborationStatus'][_0x286542(0x20d)],_0x27e296=_0x5e6454['t'](Nt(_0x2c8dca)),_0x131aa4=_0x14d9a6?P[_0x286542(0x3b4)]($e,{}):P[_0x286542(0x3b4)](ye,{}),_0x133336=M[_0x286542(0x2df)](()=>{_0x14d9a6||_0x96bc14['reconnect']();},[_0x14d9a6,_0x96bc14]);function _0xd45bd3(){const _0x4e1bc5=_0x286542;return P['jsxs'](_0x4e1bc5(0x20f),{'className':_0x4e1bc5(0x424),'onClick':_0x133336,'children':[P[_0x4e1bc5(0x3b4)](_0x4e1bc5(0x20f),{'className':D['clsx'](_0x4e1bc5(0x3f7),{'univer-text-green-500':_0x14d9a6,'univer-text-red-500':!_0x14d9a6}),'children':_0x131aa4}),P[_0x4e1bc5(0x3b4)](_0x4e1bc5(0x20f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x27e296})]});}return _0x14d9a6?_0xd45bd3():P['jsx'](D[_0x286542(0x363)],{'title':_0x5e6454['t'](_0x286542(0x3c3)),'children':_0xd45bd3()});}var Lt=Object[_0x598bd7(0x2e2)],Pt=(_0x2025e6,_0x591f2d,_0x28e63c,_0x6bf79)=>{for(var _0x12b7f0=_0x6bf79>0x1?void 0x0:_0x6bf79?Lt(_0x591f2d,_0x28e63c):_0x591f2d,_0x140542=_0x2025e6['length']-0x1,_0x17f8df;_0x140542>=0x0;_0x140542--)(_0x17f8df=_0x2025e6[_0x140542])&&(_0x12b7f0=_0x17f8df(_0x12b7f0)||_0x12b7f0);return _0x12b7f0;},X=(_0x5e6c23,_0x1e06bc)=>(_0x774e55,_0x36c404)=>_0x1e06bc(_0x774e55,_0x36c404,_0x5e6c23);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x598bd7(0x3ef)]{constructor(_0x138a67,_0x3495cf,_0xd10f90,_0x4777d1){const _0x270f3a=_0x598bd7;super(),h(this,'_status$',new d[(_0x270f3a(0x2ee))](u['CollaborationStatus']['NOT_COLLAB'])),(this[_0x270f3a(0x2a2)]=_0x138a67,this['_injector']=_0x3495cf,this[_0x270f3a(0x29c)]=_0xd10f90,this[_0x270f3a(0x37e)]=_0x4777d1,this[_0x270f3a(0x431)](),this['_initStatusListener']());}[_0x598bd7(0x259)](){const _0x199b11=_0x598bd7;this[_0x199b11(0x25e)](this['_univerInstanceService'][_0x199b11(0x300)][_0x199b11(0x429)](d[_0x199b11(0x2bc)](()=>{const _0x53f1bc=_0x199b11,_0x2663d5=this[_0x53f1bc(0x2a2)]['getFocusedUnit']();return _0x2663d5?this[_0x53f1bc(0x29c)]['getCollabEntity$'](_0x2663d5[_0x53f1bc(0x320)]()):d['of'](null);}),d[_0x199b11(0x2bc)](_0x505a23=>_0x505a23?_0x505a23[_0x199b11(0x42e)]:d['of'](u[_0x199b11(0x309)][_0x199b11(0x2ea)])))[_0x199b11(0x37c)](_0x1602e7=>{const _0x210a07=_0x199b11;this['_status$'][_0x210a07(0x2bd)](_0x1602e7);}));}[_0x598bd7(0x431)](){const _0x15ca50=_0x598bd7;this[_0x15ca50(0x25e)](this['_uiPartsService'][_0x15ca50(0x3e7)](O['BuiltInUIPart']['HEADER_MENU'],()=>O[_0x15ca50(0x3f2)](wt({'status$':this[_0x15ca50(0x42c)][_0x15ca50(0x1cb)]()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([X(0x0,a[_0x598bd7(0x306)]),X(0x1,a[_0x598bd7(0x2b5)](a[_0x598bd7(0x3cd)])),X(0x2,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x391)])),X(0x3,O[_0x598bd7(0x210)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x2e2fe9){const {status$:_0xadc630}=_0x2e2fe9;return function(){const _0x226394=_0x1844;return P[_0x226394(0x3b4)](Mt,{'status$':_0xadc630});};}var At=Object['getOwnPropertyDescriptor'],yt=(_0x33377c,_0x19b911,_0x6ba1f0,_0x3de0cf)=>{const _0x5e5e43=_0x598bd7;for(var _0x2b52e5=_0x3de0cf>0x1?void 0x0:_0x3de0cf?At(_0x19b911,_0x6ba1f0):_0x19b911,_0xfb2b87=_0x33377c[_0x5e5e43(0x2a5)]-0x1,_0x4eba35;_0xfb2b87>=0x0;_0xfb2b87--)(_0x4eba35=_0x33377c[_0xfb2b87])&&(_0x2b52e5=_0x4eba35(_0x2b52e5)||_0x2b52e5);return _0x2b52e5;},y=(_0x5d2017,_0x2b2a23)=>(_0x4488e3,_0xbe6489)=>_0x2b2a23(_0x4488e3,_0xbe6489,_0x5d2017);let q=class extends a[_0x598bd7(0x3ef)]{constructor(_0x5d358e,_0x4b2c89,_0x539dc6,_0x5a14cd,_0x14d1fd,_0x4dcd15){const _0x2dbff4=_0x598bd7;super(),this[_0x2dbff4(0x223)]=_0x5d358e,this[_0x2dbff4(0x1cd)]=_0x4b2c89,this[_0x2dbff4(0x1d3)]=_0x539dc6,this[_0x2dbff4(0x1f2)]=_0x5a14cd,this[_0x2dbff4(0x376)]=_0x14d1fd,this[_0x2dbff4(0x2e7)]=_0x4dcd15,this[_0x2dbff4(0x40a)](),this[_0x2dbff4(0x337)]();}['_setupBeforeClosingHandler'](){const _0x315ab3=_0x598bd7;this[_0x315ab3(0x25e)](this[_0x315ab3(0x223)][_0x315ab3(0x32d)](()=>{const _0x239535=_0x315ab3;if(this['_localCacheService'][_0x239535(0x27d)]['size'])return this[_0x239535(0x2e7)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x598bd7(0x337)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x4cd08a=>{const _0x425135=_0x1844;_0x4cd08a['id']===u[_0x425135(0x227)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x425135(0x1c6)]({'type':D[_0x425135(0x361)][_0x425135(0x274)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x4cd08a['id']===u[_0x425135(0x227)][_0x425135(0x39b)]&&this['_messageService'][_0x425135(0x1c6)]({'type':D[_0x425135(0x361)][_0x425135(0x274)],'content':this[_0x425135(0x2e7)]['t'](_0x425135(0x244))}),_0x4cd08a['id']===u['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x425135(0x376)][_0x425135(0x1c6)]({'title':this[_0x425135(0x2e7)]['t'](_0x425135(0x25b)),'content':this[_0x425135(0x2e7)]['t'](_0x425135(0x39a)),'type':_0x425135(0x1f9),'duration':0x0}),_0x4cd08a['id']===u['CollaborationUIEventId'][_0x425135(0x381)]&&this[_0x425135(0x1f2)][_0x425135(0x1c6)]({'type':D[_0x425135(0x361)]['Error'],'content':this[_0x425135(0x2e7)]['t'](_0x425135(0x244))+'('+_0x4cd08a['data']+')'}),_0x4cd08a['id']===u[_0x425135(0x227)][_0x425135(0x3a4)]&&this[_0x425135(0x1f2)][_0x425135(0x1c6)]({'type':D['MessageType'][_0x425135(0x274)],'content':this[_0x425135(0x2e7)]['t'](_0x4cd08a[_0x425135(0x33c)]||'')}),_0x4cd08a['id']===u[_0x425135(0x227)]['SOCKET_FAILED_RETRY']&&this[_0x425135(0x1f2)][_0x425135(0x1c6)]({'type':D['MessageType'][_0x425135(0x274)],'content':this[_0x425135(0x2e7)]['t'](_0x425135(0x221))}),_0x4cd08a['id']===u[_0x425135(0x227)]['SOCKET_FAILED']&&this[_0x425135(0x1f2)]['show']({'type':D[_0x425135(0x361)][_0x425135(0x316)],'content':this['_localeService']['t'](_0x425135(0x1e4))}),_0x4cd08a['id']===u[_0x425135(0x227)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x425135(0x1f2)][_0x425135(0x1c6)]({'type':D[_0x425135(0x361)]['Error'],'content':this[_0x425135(0x2e7)]['t'](_0x425135(0x33a))});}));}};q=yt([y(0x0,O[_0x598bd7(0x301)]),y(0x1,u[_0x598bd7(0x352)]),y(0x2,a[_0x598bd7(0x2b5)](u['CollaborationUIEventService'])),y(0x3,O[_0x598bd7(0x2a6)]),y(0x4,O[_0x598bd7(0x38f)]),y(0x5,a[_0x598bd7(0x2b5)](a['LocaleService']))],q);const $t='collaboration-client-ui.config',De={},pe=a[_0x598bd7(0x41e)](_0x598bd7(0x2c7));var xt=Object[_0x598bd7(0x2e2)],Bt=(_0x1de639,_0x216f72,_0xdfede6,_0xa50bee)=>{const _0x5449b4=_0x598bd7;for(var _0x2a4617=_0xa50bee>0x1?void 0x0:_0xa50bee?xt(_0x216f72,_0xdfede6):_0x216f72,_0x509564=_0x1de639[_0x5449b4(0x2a5)]-0x1,_0x141c64;_0x509564>=0x0;_0x509564--)(_0x141c64=_0x1de639[_0x509564])&&(_0x2a4617=_0x141c64(_0x2a4617)||_0x2a4617);return _0x2a4617;},F=(_0x4f02d0,_0x5d0045)=>(_0x266ce4,_0xac232c)=>_0x5d0045(_0x266ce4,_0xac232c,_0x4f02d0);exports[_0x598bd7(0x22c)]=class extends a[_0x598bd7(0x35b)]{constructor(_0x1a5474,_0x42a34d,_0x3f74b5,_0x449fea,_0x2bc303){const _0x332483=_0x598bd7;super(),this['_urlService']=_0x1a5474,this[_0x332483(0x374)]=_0x42a34d,this[_0x332483(0x3d0)]=_0x3f74b5,this[_0x332483(0x2dc)]=_0x449fea,_0x2bc303?_0x2bc303==null||_0x2bc303[_0x332483(0x330)]()[_0x332483(0x2f1)](()=>this[_0x332483(0x2e3)]()):(this['_logService'][_0x332483(0x3a5)]('[CollaborationDataLoaderController]',_0x332483(0x2ad)),this[_0x332483(0x2e3)]());}async['_init'](){const _0xd59a98=_0x598bd7,_0x17a69f=this[_0xd59a98(0x333)][_0xd59a98(0x21e)](_0xd59a98(0x1f1)),_0x44a26f=this[_0xd59a98(0x333)][_0xd59a98(0x21e)](_0xd59a98(0x1e7)),_0x3676c1=this[_0xd59a98(0x333)][_0xd59a98(0x21e)](_0xd59a98(0x22e));if(!_0x17a69f||!_0x44a26f){this['_logService'][_0xd59a98(0x3a5)]('[CollaborationDataLoaderController]',_0xd59a98(0x3da));return;}const _0x1eb60f=await this[_0xd59a98(0x2dc)]['loadUnit'](_0x17a69f,Number(_0x44a26f),_0x3676c1);_0x1eb60f&&_0x1eb60f instanceof a['Workbook']&&this[_0xd59a98(0x237)](_0x1eb60f);}async[_0x598bd7(0x237)](_0x4b4cee){const _0x8feb8=_0x598bd7;await this[_0x8feb8(0x2e8)](_0x4b4cee),_0x4b4cee[_0x8feb8(0x3e8)]['pipe'](d[_0x8feb8(0x2c6)](this[_0x8feb8(0x39c)]))[_0x8feb8(0x37c)](_0x3f6413=>{_0x3f6413&&this['_updateURLWithCurrentState'](_0x3f6413);}),this[_0x8feb8(0x333)]['urlChange$'][_0x8feb8(0x429)](d[_0x8feb8(0x2c6)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4b4cee));}[_0x598bd7(0x3f8)](_0x51d138,_0x547f55=!0x1){const _0x52ef57=_0x598bd7,_0x58f3d1=this[_0x52ef57(0x333)][_0x52ef57(0x21e)]('subunit');_0x51d138['getSheetId']()!==_0x58f3d1&&this[_0x52ef57(0x333)][_0x52ef57(0x2eb)](_0x52ef57(0x22e),_0x51d138[_0x52ef57(0x3f9)](),_0x547f55);}async[_0x598bd7(0x2e8)](_0x1fe899){const _0x2a9707=_0x598bd7;var _0x25a942;const _0x2a92cb=this[_0x2a9707(0x333)]['getParam'](_0x2a9707(0x22e));if(!_0x2a92cb||!_0x1fe899[_0x2a9707(0x1d2)](_0x2a92cb)){const _0x5090ee=_0x1fe899[_0x2a9707(0x41f)]()[0x0],_0x11a806=_0x1fe899[_0x2a9707(0x1d2)](_0x5090ee);if(!_0x11a806)return;this[_0x2a9707(0x3f8)](_0x11a806,!0x0),await this[_0x2a9707(0x3d0)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x1fe899['getUnitId'](),'subUnitId':_0x5090ee});return;}((_0x25a942=_0x1fe899['getActiveSheet']())==null?void 0x0:_0x25a942['getSheetId']())!==_0x2a92cb&&await this['_commandService'][_0x2a9707(0x2d9)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x1fe899['getUnitId'](),'subUnitId':_0x2a92cb});}},exports[_0x598bd7(0x22c)]=Bt([F(0x0,pe),F(0x1,a['ILogService']),F(0x2,a[_0x598bd7(0x370)]),F(0x3,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x1bb)])),F(0x4,a[_0x598bd7(0x327)](Ge[_0x598bd7(0x2c4)]))],exports[_0x598bd7(0x22c)]);var jt=Object[_0x598bd7(0x2e2)],kt=(_0x4f504c,_0x3d4693,_0x50bd55,_0x1e51df)=>{for(var _0x36589f=_0x1e51df>0x1?void 0x0:_0x1e51df?jt(_0x3d4693,_0x50bd55):_0x3d4693,_0x5c29cd=_0x4f504c['length']-0x1,_0x188df8;_0x5c29cd>=0x0;_0x5c29cd--)(_0x188df8=_0x4f504c[_0x5c29cd])&&(_0x36589f=_0x188df8(_0x36589f)||_0x36589f);return _0x36589f;},Ue=(_0x4b437b,_0x3f1dd0)=>(_0xb4a65,_0x2e6396)=>_0x3f1dd0(_0xb4a65,_0x2e6396,_0x4b437b);let z=class{constructor(_0x4b7a0b,_0x19e1d3){const _0x35f639=_0x598bd7;this['_transformService']=_0x4b7a0b,this[_0x35f639(0x42a)]=_0x19e1d3;}[_0x598bd7(0x31d)](_0x113ee8){const _0x42c557=_0x598bd7;this['_transformUndoRedoStack'](_0x113ee8),this[_0x42c557(0x33f)](_0x113ee8);}[_0x598bd7(0x3ac)](_0x2f97d9){const _0x54ad5f=_0x598bd7,{unitID:_0xa89343}=_0x2f97d9,_0xd48863=this[_0x54ad5f(0x42a)][_0x54ad5f(0x2b6)](_0xa89343)[_0x54ad5f(0x31a)](E[_0x54ad5f(0x413)]),{redoCache:_0x4deac0}=_0xd48863[_0x54ad5f(0x201)]();if(_0x4deac0['length']===0x0)return _0x2f97d9;let _0x5d609f=a['Tools']['deepClone'](_0x2f97d9[_0x54ad5f(0x3c7)][0x0]);for(let _0x338dfa=0x0;_0x338dfa<_0x4deac0[_0x54ad5f(0x2a5)];_0x338dfa++){const _0x550668={'id':_0x54ad5f(0x1c0),'params':{..._0x4deac0[_0x338dfa]}},_0x55581c=this[_0x54ad5f(0x412)][_0x54ad5f(0x2b8)](_0x5d609f,_0x550668,!0x1);if(m['isTransformMutationFailure'](_0x55581c))throw _0x55581c['error'];_0x5d609f=_0x55581c[_0x54ad5f(0x1b6)];}return{...a[_0x54ad5f(0x28c)][_0x54ad5f(0x288)](_0x2f97d9),'mutations':[_0x5d609f]};}[_0x598bd7(0x3f5)](_0x3f42f0){const _0x13aec5=_0x598bd7,{unitID:_0x24d204}=_0x3f42f0,_0x12497a=this['_renderManagerService'][_0x13aec5(0x2b6)](_0x24d204)[_0x13aec5(0x31a)](E[_0x13aec5(0x413)]),{undoCache:_0xd8f757,redoCache:_0x2c8c33}=_0x12497a['getUndoRedoMutationParamsCache']();if(_0xd8f757[_0x13aec5(0x2a5)]===0x0||_0x2c8c33[_0x13aec5(0x2a5)]===0x0)return;const _0xa085de=[],_0x5926c0=[];let _0x287ec3=a['Tools'][_0x13aec5(0x288)](_0x3f42f0['mutations'][0x0]),_0x48a7ff=a[_0x13aec5(0x28c)][_0x13aec5(0x288)](_0x3f42f0['mutations'][0x0]);for(let _0x152d3d=_0xd8f757[_0x13aec5(0x2a5)]-0x1;_0x152d3d>=0x0;_0x152d3d--){const _0x29fd55={'id':_0x13aec5(0x1c0),'params':{..._0xd8f757[_0x152d3d]}},_0x54b6fe={'id':_0x13aec5(0x1c0),'params':{..._0x2c8c33[_0x152d3d]}},_0x5e92e9=this['_transformService'][_0x13aec5(0x2b8)](_0x287ec3,_0x29fd55,!0x1),_0x166eed=this[_0x13aec5(0x412)]['transformMutation'](_0x48a7ff,_0x54b6fe,!0x1);if(m[_0x13aec5(0x1ec)](_0x5e92e9))throw _0x5e92e9[_0x13aec5(0x1f9)];if(m['isTransformMutationFailure'](_0x166eed))throw _0x166eed['error'];_0xa085de[_0x13aec5(0x3af)](_0x5e92e9[_0x13aec5(0x3df)]['params']),_0x5926c0[_0x13aec5(0x3af)](_0x166eed['m2Prime'][_0x13aec5(0x2e0)]),_0x287ec3=_0x5e92e9[_0x13aec5(0x1b6)],_0x48a7ff=_0x166eed[_0x13aec5(0x1b6)];}_0x12497a['setUndoRedoMutationParamsCache']({'undoCache':_0xa085de,'redoCache':_0x5926c0});}[_0x598bd7(0x33f)](_0x1b9a0b){const _0x4e5159=_0x598bd7,{unitID:_0x414d37}=_0x1b9a0b,_0x3f6b58=this['_renderManagerService'][_0x4e5159(0x2b6)](_0x414d37)['with'](E['DocIMEInputManagerService']),_0x2e19ba=_0x3f6b58[_0x4e5159(0x3d4)]();if(_0x2e19ba==null)return;const _0x16e8fd=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b9a0b['unitID'],'actions':null,'textRanges':[_0x2e19ba]}}],_0x49e4ed=this[_0x4e5159(0x412)][_0x4e5159(0x1ef)](_0x1b9a0b,_0x16e8fd);if(!m[_0x4e5159(0x239)](_0x49e4ed))throw _0x49e4ed[_0x4e5159(0x1f9)];const _0x1015be=_0x49e4ed[_0x4e5159(0x3df)][0x0][_0x4e5159(0x2e0)][_0x4e5159(0x3cc)];Array[_0x4e5159(0x1d9)](_0x1015be)&&_0x1015be[_0x4e5159(0x2a5)]&&_0x3f6b58[_0x4e5159(0x417)](_0x1015be[0x0]);}};z=kt([Ue(0x0,m['ITransformService']),Ue(0x1,p[_0x598bd7(0x42d)])],z);var Ft=Object[_0x598bd7(0x2e2)],Ht=(_0x45b6a9,_0x1f9f6c,_0x194ebe,_0x577750)=>{for(var _0x4c0afc=_0x577750>0x1?void 0x0:_0x577750?Ft(_0x1f9f6c,_0x194ebe):_0x1f9f6c,_0x221544=_0x45b6a9['length']-0x1,_0x5de06e;_0x221544>=0x0;_0x221544--)(_0x5de06e=_0x45b6a9[_0x221544])&&(_0x4c0afc=_0x5de06e(_0x4c0afc)||_0x4c0afc);return _0x4c0afc;},ce=(_0x5e2c5d,_0x1560a8)=>(_0x32ac9c,_0x4527c9)=>_0x1560a8(_0x32ac9c,_0x4527c9,_0x5e2c5d);let J=class{constructor(_0x1790dc,_0x33655e,_0x5735a5){const _0x139ec2=_0x598bd7;this[_0x139ec2(0x32b)]=_0x1790dc,this[_0x139ec2(0x412)]=_0x33655e,this[_0x139ec2(0x1bf)]=_0x5735a5;}[_0x598bd7(0x365)](_0x21fdf7){const _0x4645a1=_0x598bd7;this[_0x4645a1(0x207)](_0x21fdf7);}[_0x598bd7(0x3ac)](_0x1c76b7){const _0x578afc=_0x598bd7,{unitID:_0x14dec0}=_0x1c76b7,{collaboration:_0x935280}=this[_0x578afc(0x1bf)]['getStateCache'](_0x14dec0);if(_0x935280[_0x578afc(0x2a5)]===0x0)return _0x1c76b7;let _0x10cba1=a[_0x578afc(0x28c)]['deepClone'](_0x1c76b7[_0x578afc(0x3c7)][0x0]);for(let _0x32ba93=0x0;_0x32ba93<_0x935280['length'];_0x32ba93++){const _0x312fe7={'id':_0x578afc(0x1c0),'params':{'unitId':_0x935280[_0x32ba93][_0x578afc(0x325)],..._0x935280[_0x32ba93][_0x578afc(0x2f7)]}},_0x1eebea=this['_transformService'][_0x578afc(0x2b8)](_0x10cba1,_0x312fe7,!0x1);if(m[_0x578afc(0x1ec)](_0x1eebea))throw _0x1eebea[_0x578afc(0x1f9)];_0x10cba1=_0x1eebea['m1Prime'];}return{...a[_0x578afc(0x28c)][_0x578afc(0x288)](_0x1c76b7),'mutations':[_0x10cba1]};}['_transformHistoryAndStateStack'](_0x477136){const _0x41b522=_0x598bd7,{unitID:_0x3f44c5}=_0x477136,{history:_0x326cc2,collaboration:_0xe76139}=this[_0x41b522(0x1bf)][_0x41b522(0x2d0)](_0x3f44c5);if(_0x326cc2['length']===0x0&&_0xe76139[_0x41b522(0x2a5)]===0x0)return;const _0x41dd14=[],_0x44fc76=[];let _0x310763=a[_0x41b522(0x28c)][_0x41b522(0x288)](_0x477136[_0x41b522(0x3c7)][0x0]),_0x385d36=a[_0x41b522(0x28c)][_0x41b522(0x288)](_0x477136['mutations'][0x0]);for(let _0x44d740=_0x326cc2[_0x41b522(0x2a5)]-0x1;_0x44d740>=0x0;_0x44d740--){const _0x5310f4={'id':_0x41b522(0x1c0),'params':{'unitId':_0x326cc2[_0x44d740][_0x41b522(0x325)],..._0x326cc2[_0x44d740]['undoState']}},_0x5d66e2={'id':_0x41b522(0x1c0),'params':{'unitId':_0x326cc2[_0x44d740][_0x41b522(0x325)],..._0x326cc2[_0x44d740][_0x41b522(0x2f7)]}},_0x4ea03d=this['_transformService'][_0x41b522(0x2b8)](_0x310763,_0x5310f4,!0x1),_0x5e1617=this['_transformService'][_0x41b522(0x2b8)](_0x385d36,_0x5d66e2,!0x1);if(m[_0x41b522(0x1ec)](_0x4ea03d))throw _0x4ea03d['error'];if(m[_0x41b522(0x1ec)](_0x5e1617))throw _0x5e1617[_0x41b522(0x1f9)];_0x41dd14[_0x41b522(0x3af)]({..._0x326cc2[_0x44d740],'undoState':_0x4ea03d[_0x41b522(0x3df)][_0x41b522(0x2e0)],'redoState':_0x5e1617['m2Prime'][_0x41b522(0x2e0)]}),_0x310763=_0x4ea03d[_0x41b522(0x1b6)],_0x385d36=_0x5e1617[_0x41b522(0x1b6)];}_0x310763=a[_0x41b522(0x28c)]['deepClone'](_0x477136[_0x41b522(0x3c7)][0x0]),_0x385d36=a[_0x41b522(0x28c)][_0x41b522(0x288)](_0x477136['mutations'][0x0]);for(let _0x41e4c3=_0xe76139[_0x41b522(0x2a5)]-0x1;_0x41e4c3>=0x0;_0x41e4c3--){const _0x474562={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe76139[_0x41e4c3][_0x41b522(0x325)],..._0xe76139[_0x41e4c3][_0x41b522(0x322)]}},_0x4dd757={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe76139[_0x41e4c3]['unitId'],..._0xe76139[_0x41e4c3][_0x41b522(0x2f7)]}},_0x424636=this[_0x41b522(0x412)]['transformMutation'](_0x310763,_0x474562,!0x1),_0x56fe42=this[_0x41b522(0x412)][_0x41b522(0x2b8)](_0x385d36,_0x4dd757,!0x1);if(m[_0x41b522(0x1ec)](_0x424636))throw _0x424636[_0x41b522(0x1f9)];if(m['isTransformMutationFailure'](_0x56fe42))throw _0x56fe42[_0x41b522(0x1f9)];_0x44fc76[_0x41b522(0x3af)]({..._0xe76139[_0x41e4c3],'undoState':_0x424636['m2Prime'][_0x41b522(0x2e0)],'redoState':_0x56fe42['m2Prime'][_0x41b522(0x2e0)]}),_0x310763=_0x424636[_0x41b522(0x1b6)],_0x385d36=_0x56fe42[_0x41b522(0x1b6)];}this[_0x41b522(0x1bf)][_0x41b522(0x205)](_0x3f44c5,{'history':_0x41dd14,'collaboration':_0x44fc76});}};J=Ht([ce(0x0,a[_0x598bd7(0x2b5)](a['Injector'])),ce(0x1,m[_0x598bd7(0x272)]),ce(0x2,a[_0x598bd7(0x2b5)](E[_0x598bd7(0x348)]))],J);var Yt=Object[_0x598bd7(0x2e2)],Wt=(_0xc787cb,_0x2a26ba,_0xbc974f,_0x41aae7)=>{const _0x166b82=_0x598bd7;for(var _0x4e7a71=_0x41aae7>0x1?void 0x0:_0x41aae7?Yt(_0x2a26ba,_0xbc974f):_0x2a26ba,_0x3ebfc7=_0xc787cb[_0x166b82(0x2a5)]-0x1,_0x4bd0c2;_0x3ebfc7>=0x0;_0x3ebfc7--)(_0x4bd0c2=_0xc787cb[_0x3ebfc7])&&(_0x4e7a71=_0x4bd0c2(_0x4e7a71)||_0x4e7a71);return _0x4e7a71;},Ne=(_0x480670,_0x219eee)=>(_0x547c6c,_0x338018)=>_0x219eee(_0x547c6c,_0x338018,_0x480670);let Z=class{constructor(_0x18eabe,_0x230fa5){const _0x2537c5=_0x598bd7;this[_0x2537c5(0x32b)]=_0x18eabe,this[_0x2537c5(0x412)]=_0x230fa5;}[_0x598bd7(0x3dd)](_0x25899f){const _0x17364c=_0x598bd7;var _0x562135;const _0x59f150=this[_0x17364c(0x32b)][_0x17364c(0x402)](Y[_0x17364c(0x393)]),_0x5b15e5=(_0x562135=_0x59f150[_0x17364c(0x228)]())!=null?_0x562135:[];if(_0x5b15e5['length']===0x0)return;const _0x6702e4=_0x25899f[_0x17364c(0x270)],_0x5db671=[{'id':_0x17364c(0x1c0),'params':{'unitId':_0x6702e4,'actions':null,'textRanges':_0x5b15e5}}],_0x5b7a67=this['_transformService'][_0x17364c(0x1ef)](_0x25899f,_0x5db671);if(!m[_0x17364c(0x239)](_0x5b7a67))throw _0x5b7a67['error'];const _0x3a31f8=_0x5b7a67[_0x17364c(0x3df)][0x0][_0x17364c(0x2e0)][_0x17364c(0x3cc)];Array[_0x17364c(0x1d9)](_0x3a31f8)&&_0x3a31f8[_0x17364c(0x2a5)]&&_0x59f150[_0x17364c(0x36e)](_0x3a31f8,{'unitId':_0x6702e4,'subUnitId':_0x6702e4},!0x1);}};Z=Wt([Ne(0x0,a[_0x598bd7(0x2b5)](a[_0x598bd7(0x3cd)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x21a97a,_0x28ee27,_0x477f7e,_0x149297)=>{const _0x1cd168=_0x598bd7;for(var _0xe196ed=_0x149297>0x1?void 0x0:_0x149297?Vt(_0x28ee27,_0x477f7e):_0x28ee27,_0x24531c=_0x21a97a[_0x1cd168(0x2a5)]-0x1,_0x3eb5ef;_0x24531c>=0x0;_0x24531c--)(_0x3eb5ef=_0x21a97a[_0x24531c])&&(_0xe196ed=_0x3eb5ef(_0xe196ed)||_0xe196ed);return _0xe196ed;},N=(_0x46c593,_0x22e001)=>(_0x482026,_0x5c48fd)=>_0x22e001(_0x482026,_0x5c48fd,_0x46c593);let Q=class extends a[_0x598bd7(0x3ef)]{constructor(_0xbf57e1,_0x173da2,_0x4f400c,_0x28e61d,_0x5a762d,_0x3fe0a2,_0x39eb06,_0x3a028e){const _0x307fa6=_0x598bd7;super(),h(this,_0x307fa6(0x42c),new d[(_0x307fa6(0x2ee))](u[_0x307fa6(0x309)][_0x307fa6(0x2ea)])),(this['_docStateChangeManagerService']=_0xbf57e1,this[_0x307fa6(0x29c)]=_0x173da2,this[_0x307fa6(0x26d)]=_0x4f400c,this[_0x307fa6(0x384)]=_0x28e61d,this[_0x307fa6(0x1ea)]=_0x5a762d,this[_0x307fa6(0x22d)]=_0x3fe0a2,this[_0x307fa6(0x1f2)]=_0x39eb06,this[_0x307fa6(0x2e7)]=_0x3a028e,this[_0x307fa6(0x3e1)]());}[_0x598bd7(0x3e1)](){const _0x922c50=_0x598bd7;this[_0x922c50(0x25e)](this[_0x922c50(0x29c)][_0x922c50(0x3d6)]['subscribe'](_0x3c16d2=>{const _0x5cc473=_0x922c50,_0x5097e2=this[_0x5cc473(0x1bf)]['docStateChange$'][_0x5cc473(0x37c)](_0xd50290=>{const _0x387971=_0x5cc473;if(_0xd50290==null)return;const {unitId:_0x53f43a,redoState:_0x18e269,commandId:_0x487ade}=_0xd50290;if(_0x53f43a!==_0x3c16d2[_0x387971(0x270)])return;const _0x2a0441={'id':_0x487ade,'type':a[_0x387971(0x2d5)]['MUTATION'],'params':{'unitId':_0x53f43a,'actions':_0x18e269['actions'],'textRanges':null}};_0x3c16d2['onLocalMutation'](_0x2a0441);});if(_0x3c16d2[_0x5cc473(0x25e)](_0x5097e2),_0x3c16d2 instanceof u[_0x5cc473(0x1c5)]){const _0x5221d8={'onTransformIME':_0x1f96ff=>this[_0x5cc473(0x26d)][_0x5cc473(0x31d)](_0x1f96ff),'onTransformState':_0x25e9dd=>this[_0x5cc473(0x384)]['transformStateCache'](_0x25e9dd),'onTransformSelections':_0x7c678b=>this[_0x5cc473(0x1ea)]['transformSelections'](_0x7c678b),'onSyncEditingCollabCursor':_0x14b628=>this[_0x5cc473(0x22d)][_0x5cc473(0x313)](_0x14b628),'onTransformRemoteChangesetByIMECache':_0x4c4fc2=>this['_docTransformIMECacheService'][_0x5cc473(0x3ac)](_0x4c4fc2),'onTransformRemoteChangesetByStateCache':_0x448636=>this[_0x5cc473(0x384)]['transformRemoteChangeset'](_0x448636)};_0x3c16d2['addHandlerCallback'](_0x5221d8);}}));}};Q=Xt([N(0x0,a[_0x598bd7(0x2b5)](E['DocStateChangeManagerService'])),N(0x1,a[_0x598bd7(0x2b5)](u[_0x598bd7(0x391)])),N(0x2,a[_0x598bd7(0x2b5)](z)),N(0x3,a[_0x598bd7(0x2b5)](J)),N(0x4,a[_0x598bd7(0x2b5)](Z)),N(0x5,a[_0x598bd7(0x2b5)](me)),N(0x6,O[_0x598bd7(0x2a6)]),N(0x7,a[_0x598bd7(0x2b5)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x268ab8,_0x176c1e,_0x204c8f,_0x1850e5)=>{const _0x15093d=_0x598bd7;for(var _0x5e0d83=_0x1850e5>0x1?void 0x0:_0x1850e5?Gt(_0x176c1e,_0x204c8f):_0x176c1e,_0x5db846=_0x268ab8[_0x15093d(0x2a5)]-0x1,_0x1c40ca;_0x5db846>=0x0;_0x5db846--)(_0x1c40ca=_0x268ab8[_0x5db846])&&(_0x5e0d83=_0x1c40ca(_0x5e0d83)||_0x5e0d83);return _0x5e0d83;},le=(_0x44e231,_0x591617)=>(_0x3b971a,_0xaaf0e3)=>_0x591617(_0x3b971a,_0xaaf0e3,_0x44e231);let ve=class extends a[_0x598bd7(0x3ef)]{constructor(_0x34ba67,_0x2b5e44,_0x288ccf){const _0xe76299=_0x598bd7;super(),h(this,'_cachedData',new Map()),h(this,_0xe76299(0x21b),new Map()),h(this,'_disabled',!0x1),(this[_0xe76299(0x235)]=_0x34ba67,this[_0xe76299(0x1fb)]=_0x2b5e44,this['_revisionService']=_0x288ccf);}[_0x598bd7(0x214)](){const _0x284d03=_0x598bd7;this[_0x284d03(0x410)]=!0x0;}[_0x598bd7(0x419)](){const _0x38db79=_0x598bd7;this[_0x38db79(0x410)]=!0x1;}get['saveTaskMap'](){const _0xa402e8=_0x598bd7;return this[_0xa402e8(0x21b)];}[_0x598bd7(0x35a)](){const _0x58131f=_0x598bd7;this[_0x58131f(0x3e0)]()[_0x58131f(0x2f1)](()=>super[_0x58131f(0x35a)]());}async[_0x598bd7(0x1c8)](_0x304f03){const _0x283e12=_0x598bd7;return this[_0x283e12(0x410)]?null:this['_localStorageService'][_0x283e12(0x294)](u[_0x283e12(0x1df)](_0x304f03));}async['saveOfflineData'](_0x1c5bc1,_0xc37077){const _0x5bbf78=_0x598bd7;return!!this[_0x5bbf78(0x1fb)][_0x5bbf78(0x38e)](_0x1c5bc1,_0xc37077);}[_0x598bd7(0x3eb)](_0x15c7de,_0x112cef,_0x1b9e3f,_0x457ae3){const _0x146c6b=_0x598bd7,_0x18cc68=this[_0x146c6b(0x21a)]['getCurrentRevOfUnit'](_0x15c7de);this[_0x146c6b(0x2e9)][_0x146c6b(0x2fa)](_0x15c7de,{'unitID':_0x15c7de,'type':_0x112cef,'awaitingChangeset':_0x1b9e3f,'mutations':_0x457ae3,'rev':_0x18cc68}),this['_saveTaskMap'][_0x146c6b(0x24d)](_0x15c7de)||this[_0x146c6b(0x29b)](_0x15c7de);}[_0x598bd7(0x29b)](_0x17ee1d){const _0x38db48=_0x598bd7,_0x2bd92=this[_0x38db48(0x285)]();_0x2bd92===0x0?this[_0x38db48(0x31e)](_0x17ee1d):this[_0x38db48(0x21b)][_0x38db48(0x2fa)](_0x17ee1d,setTimeout(()=>this[_0x38db48(0x31e)](_0x17ee1d),_0x2bd92));}['_getSaveTimeout'](){const _0x54e80d=_0x598bd7;var _0x12e69a;return(_0x12e69a=this['_configService'][_0x54e80d(0x3ff)](u[_0x54e80d(0x23a)]))!=null?_0x12e69a:u[_0x54e80d(0x405)];}[_0x598bd7(0x31e)](_0x23c497){const _0x2c99e0=_0x598bd7,_0x14ba7d=this['_saveTaskMap'][_0x2c99e0(0x402)](_0x23c497);return _0x14ba7d!==void 0x0&&window['clearTimeout'](_0x14ba7d),this['_localStorageService'][_0x2c99e0(0x38e)](u['getLocalCacheKey'](_0x23c497),this['_cachedData']['get'](_0x23c497))[_0x2c99e0(0x2f1)](()=>this['_saveTaskMap'][_0x2c99e0(0x2f8)](_0x23c497));}async['exhaustSavingTask'](){const _0x182ed2=_0x598bd7,_0x5c35f5=[];this[_0x182ed2(0x21b)][_0x182ed2(0x401)]((_0x5141ae,_0x4e4b82)=>{const _0x50e291=_0x182ed2;window[_0x50e291(0x2f0)](_0x5141ae),_0x5c35f5[_0x50e291(0x2de)](this[_0x50e291(0x31e)](_0x4e4b82)[_0x50e291(0x2f1)](()=>{const _0x89420d=_0x50e291;this[_0x89420d(0x21b)]['delete'](_0x4e4b82);}));}),await Promise[_0x182ed2(0x3b0)](_0x5c35f5);}};ve=Kt([le(0x0,a['IConfigService']),le(0x1,a[_0x598bd7(0x236)]),le(0x2,a[_0x598bd7(0x2b5)](m['RevisionService']))],ve);class xe extends a['RxDisposable']{constructor(){const _0x206479=_0x598bd7;super(),h(this,'urlChange$'),this[_0x206479(0x40c)]=d[_0x206479(0x1e3)](window,_0x206479(0x430))[_0x206479(0x429)](d[_0x206479(0x2c6)](this['dispose$']),d[_0x206479(0x203)](0x1),d[_0x206479(0x2b3)](void 0x0));}[_0x598bd7(0x2eb)](_0x257c03,_0x3b2648,_0x10cda8=!0x1){const _0x212ce6=_0x598bd7,_0x4e745e=new URL(window['location'][_0x212ce6(0x321)]);_0x4e745e[_0x212ce6(0x39d)][_0x212ce6(0x2fa)](_0x257c03,_0x3b2648),_0x10cda8?window[_0x212ce6(0x382)][_0x212ce6(0x1ad)]('','',_0x4e745e[_0x212ce6(0x1ae)]()):window['history'][_0x212ce6(0x339)]('','',_0x4e745e['toString']());}[_0x598bd7(0x1b9)](_0x1221b0,_0x35f696=!0x1){const _0x2bb44b=_0x598bd7,_0xb99a28=new URL(window[_0x2bb44b(0x208)][_0x2bb44b(0x321)]);_0xb99a28[_0x2bb44b(0x39d)]['delete'](_0x1221b0),_0x35f696?window[_0x2bb44b(0x382)][_0x2bb44b(0x1ad)]('','',_0xb99a28[_0x2bb44b(0x1ae)]()):window[_0x2bb44b(0x382)][_0x2bb44b(0x339)]('','',_0xb99a28['toString']());}[_0x598bd7(0x21e)](_0x3ca353){const _0x5ce479=_0x598bd7;var _0x2983ed;return(_0x2983ed=new URL(window[_0x5ce479(0x208)]['href'])[_0x5ce479(0x39d)][_0x5ce479(0x402)](_0x3ca353))!=null?_0x2983ed:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x598bd7(0x2e2)],Jt=(_0x108de2,_0x34e0cd,_0x272853)=>_0x34e0cd in _0x108de2?qt(_0x108de2,_0x34e0cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x272853}):_0x108de2[_0x34e0cd]=_0x272853,Zt=(_0x2460ae,_0x1a13a3,_0x445974,_0x495308)=>{const _0x153728=_0x598bd7;for(var _0x4140a0=_0x495308>0x1?void 0x0:_0x495308?zt(_0x1a13a3,_0x445974):_0x1a13a3,_0x14df5c=_0x2460ae[_0x153728(0x2a5)]-0x1,_0x3e95b3;_0x14df5c>=0x0;_0x14df5c--)(_0x3e95b3=_0x2460ae[_0x14df5c])&&(_0x4140a0=_0x3e95b3(_0x4140a0)||_0x4140a0);return _0x4140a0;},_e=(_0x26b83c,_0x5f0f37)=>(_0x17cfe8,_0x168077)=>_0x5f0f37(_0x17cfe8,_0x168077,_0x26b83c),Qt=(_0x5ef36f,_0x165902,_0x43decb)=>Jt(_0x5ef36f,_0x165902+'',_0x43decb);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x598bd7(0x260)]=class extends a['Plugin']{constructor(_0x305cff=De,_0xc98301,_0x2f71e2,_0x25ec30){const _0x5d7b5a=_0x598bd7;super(),this[_0x5d7b5a(0x21d)]=_0x305cff,this[_0x5d7b5a(0x42a)]=_0xc98301,this[_0x5d7b5a(0x32b)]=_0x2f71e2,this[_0x5d7b5a(0x235)]=_0x25ec30;const {..._0x45786c}=a[_0x5d7b5a(0x344)]({},De,this['_config']);this['_configService'][_0x5d7b5a(0x234)]($t,_0x45786c);}[_0x598bd7(0x2c2)](){const _0x4c99df=_0x598bd7;this[_0x4c99df(0x326)](),this[_0x4c99df(0x233)]();}[_0x598bd7(0x388)](){const _0x255a60=_0x598bd7;this[_0x255a60(0x26b)]();}[_0x598bd7(0x326)](){const _0x372bdd=_0x598bd7;var _0x1d44a8;const _0x8e503=[[ge],[Z],[z],[J],[me],[pe,{'useClass':xe}],[K[_0x372bdd(0x2d3)],{'useClass':K[_0x372bdd(0x2cb)]}],[u[_0x372bdd(0x352)],{'useClass':ve}],[exports[_0x372bdd(0x3c8)]],[Q],[q],[x],[ue],[exports[_0x372bdd(0x22c)]]];a['registerDependencies'](this['_injector'],a[_0x372bdd(0x1d0)](_0x8e503,(_0x1d44a8=this[_0x372bdd(0x21d)])==null?void 0x0:_0x1d44a8[_0x372bdd(0x2e5)]));}[_0x598bd7(0x26b)](){const _0x46c3cd=_0x598bd7;this['disposeWithMe'](this['_renderManagerService'][_0x46c3cd(0x275)](a[_0x46c3cd(0x30f)][_0x46c3cd(0x38a)],[fe])),this[_0x46c3cd(0x25e)](this[_0x46c3cd(0x42a)][_0x46c3cd(0x275)](a[_0x46c3cd(0x30f)]['UNIVER_SHEET'],[Ie]));}[_0x598bd7(0x233)](){const _0x287264=_0x598bd7;a[_0x287264(0x34b)](this['_injector'],[[x],[exports[_0x287264(0x3c8)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports[_0x598bd7(0x260)],_0x598bd7(0x216),es),exports[_0x598bd7(0x260)]=Zt([a[_0x598bd7(0x266)](u[_0x598bd7(0x1eb)]),_e(0x1,p['IRenderManagerService']),_e(0x2,a[_0x598bd7(0x2b5)](a['Injector'])),_e(0x3,a[_0x598bd7(0x220)])],exports[_0x598bd7(0x260)]);var ts=Object[_0x598bd7(0x2e2)],ss=(_0x2e6ee9,_0x1629e2,_0x27899e,_0x37dd70)=>{const _0xc445a7=_0x598bd7;for(var _0x2a1900=_0x37dd70>0x1?void 0x0:_0x37dd70?ts(_0x1629e2,_0x27899e):_0x1629e2,_0x6f46b5=_0x2e6ee9[_0xc445a7(0x2a5)]-0x1,_0x33001c;_0x6f46b5>=0x0;_0x6f46b5--)(_0x33001c=_0x2e6ee9[_0x6f46b5])&&(_0x2a1900=_0x33001c(_0x2a1900)||_0x2a1900);return _0x2a1900;},H=(_0x5d6898,_0x348f7c)=>(_0x2e5944,_0x51d8ee)=>_0x348f7c(_0x2e5944,_0x51d8ee,_0x5d6898);exports['BrowserCollaborationSocketService']=class extends u[_0x598bd7(0x368)]{constructor(_0x47e632,_0x302f3a,_0x7d73c9,_0x447635,_0x7a7903){super(_0x47e632,_0x302f3a,_0x7d73c9,_0x447635,_0x7a7903);}async[_0x598bd7(0x40e)](_0x43a7ac){const _0x62cda2=_0x598bd7,_0x21bfc7=await this[_0x62cda2(0x328)](),_0x2ba9e1=this['_createSocketURL'](_0x43a7ac,_0x21bfc7);return this[_0x62cda2(0x2f3)](_0x2ba9e1);}[_0x598bd7(0x1e9)](_0x5215c3,_0xed6f54){const _0x9e3688=_0x598bd7,_0x55e203=typeof window>'u'?new URL(_0x5215c3):new URL(_0x5215c3,window[_0x9e3688(0x208)][_0x9e3688(0x1dc)]);_0x55e203[_0x9e3688(0x39d)][_0x9e3688(0x2fa)](_0x9e3688(0x1fa),_0xed6f54);const _0x56e618=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x9e3688(0x208)][_0x9e3688(0x3b5)]);return _0x56e618[_0x9e3688(0x402)](_0x9e3688(0x277))&&_0x55e203['searchParams'][_0x9e3688(0x2fa)]('runId',_0x56e618[_0x9e3688(0x402)]('runId')),_0x55e203['toString']();}async['_getSessionTicket'](){const _0x22bdd8=_0x598bd7;var _0x248e67,_0x13b3ca,_0x4c60c7;const _0x55f880=this['_configService']['getConfig'](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x102101=(_0x248e67=_0x55f880==null?void 0x0:_0x55f880[_0x22bdd8(0x2f4)])!=null?_0x248e67:u[_0x22bdd8(0x3ae)];return(_0x4c60c7=(_0x13b3ca=(await this[_0x22bdd8(0x420)][_0x22bdd8(0x402)](_0x102101,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x13b3ca['ticket'])!=null?_0x4c60c7:'';}},exports[_0x598bd7(0x1e5)]=ss([H(0x0,a[_0x598bd7(0x2b5)](a['Injector'])),H(0x1,a['Inject'](K[_0x598bd7(0x373)])),H(0x2,a['IConfigService']),H(0x3,a[_0x598bd7(0x253)]),H(0x4,m[_0x598bd7(0x2b1)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x598bd7(0x41b);class is extends a[_0x598bd7(0x3ef)]{constructor(){const _0x21f2ee=_0x598bd7;super(),h(this,'_id',a[_0x21f2ee(0x395)]()),h(this,_0x21f2ee(0x2ac),new Set()),h(this,_0x21f2ee(0x379),new Map()),h(this,_0x21f2ee(0x3b2),null),h(this,_0x21f2ee(0x42b),new Map()),h(this,_0x21f2ee(0x37b),new Map()),this[_0x21f2ee(0x2e3)]();}['dispose'](){const _0x348d21=_0x598bd7;super['dispose'](),this[_0x348d21(0x42b)][_0x348d21(0x401)]((_0x33f54a,_0x36a7cf)=>this[_0x348d21(0x383)](_0x36a7cf)),this[_0x348d21(0x3b2)]&&window['clearInterval'](this[_0x348d21(0x3b2)]);}[_0x598bd7(0x362)](_0xd41e24){const _0x3c7319=_0x598bd7;return this[_0x3c7319(0x304)](_0xd41e24)[_0x3c7319(0x429)](d[_0x3c7319(0x1b3)]());}[_0x598bd7(0x36f)](_0x57983e){const _0x1fa7e2=_0x598bd7;this[_0x1fa7e2(0x2ac)][_0x1fa7e2(0x409)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1fa7e2(0x2ac)][_0x1fa7e2(0x305)](_0x57983e),this['_send']({'type':0x0,'memberID':this[_0x1fa7e2(0x3ec)],'unitIDs':[_0x57983e],'isForwarded':!0x1});}[_0x598bd7(0x3e9)](_0x9c78e8){const _0x486298=_0x598bd7;this[_0x486298(0x2ac)][_0x486298(0x2f8)](_0x9c78e8),this[_0x486298(0x2ac)]['size']===0x0&&this[_0x486298(0x3b2)]&&window[_0x486298(0x2da)](this[_0x486298(0x3b2)]);}[_0x598bd7(0x2e3)](){const _0x52ddef=_0x598bd7;this[_0x52ddef(0x25e)](a[_0x52ddef(0x364)](d[_0x52ddef(0x1e3)](window,'storage')[_0x52ddef(0x37c)](_0x5a12a2=>{const _0x392481=_0x52ddef;if(_0x5a12a2['key']!==Le||!_0x5a12a2[_0x392481(0x1f8)])return;const _0x344801=JSON[_0x392481(0x1f6)](_0x5a12a2[_0x392481(0x1f8)]);this[_0x392481(0x340)](_0x344801);}))),window[_0x52ddef(0x1b4)]('unload',()=>this[_0x52ddef(0x206)]({'type':0x1,'memberID':this[_0x52ddef(0x3ec)],'unitIDs':Array[_0x52ddef(0x38b)](this[_0x52ddef(0x2ac)])}));}[_0x598bd7(0x340)](_0x4a047a){const _0x12a4ea=_0x598bd7;switch(_0x4a047a[_0x12a4ea(0x1e7)]){case 0x0:this[_0x12a4ea(0x3bc)](_0x4a047a);break;case 0x1:this[_0x12a4ea(0x2c0)](_0x4a047a);break;case 0x2:this[_0x12a4ea(0x31b)](_0x4a047a);break;}}['_handleJoinEvent'](_0x4a7de5){const _0xee4cf3=_0x598bd7,{unitIDs:_0x28b2ec,memberID:_0x4e3178,isForwarded:_0x135634}=_0x4a7de5;_0x28b2ec['forEach'](_0x5328f8=>{const _0x430dc4=_0x1844;if(!_0x135634&&this[_0x430dc4(0x379)][_0x430dc4(0x24d)](_0x5328f8)&&this[_0x430dc4(0x304)](_0x5328f8)[_0x430dc4(0x2bd)](u[_0x430dc4(0x41c)][_0x430dc4(0x1d6)]),!this[_0x430dc4(0x379)][_0x430dc4(0x24d)](_0x5328f8)||!this[_0x430dc4(0x379)][_0x430dc4(0x402)](_0x5328f8)[_0x430dc4(0x24d)](_0x4e3178)){const _0xcde9a5=this[_0x430dc4(0x379)][_0x430dc4(0x402)](_0x5328f8)||new Set();_0xcde9a5['add'](_0x4e3178),this['_unitOnClients'][_0x430dc4(0x2fa)](_0x5328f8,_0xcde9a5),this['_scheduleClearOtherTimer'](_0x4e3178);}}),_0x135634||this[_0xee4cf3(0x206)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xee4cf3(0x2ac)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x13972e){const _0x49a98b=_0x598bd7;this[_0x49a98b(0x383)](_0x13972e);const _0xe3e2ea=window['setTimeout'](()=>{const _0x4cfa11=_0x49a98b;this[_0x4cfa11(0x379)][_0x4cfa11(0x401)](_0x229651=>{_0x229651['delete'](_0x13972e);});},Me*0x2);this[_0x49a98b(0x42b)]['set'](_0x13972e,_0xe3e2ea);}[_0x598bd7(0x383)](_0x59eb7c){const _0x1bc1ab=_0x598bd7;if(this[_0x1bc1ab(0x42b)][_0x1bc1ab(0x24d)](_0x59eb7c)){const _0x4a9322=this['_clearOtherTimers'][_0x1bc1ab(0x402)](_0x59eb7c);_0x4a9322&&window['clearTimeout'](_0x4a9322),this[_0x1bc1ab(0x42b)][_0x1bc1ab(0x2fa)](_0x59eb7c,null);}}[_0x598bd7(0x2c0)](_0x193b29){const _0x4e1e94=_0x598bd7,{memberID:_0x40180a,unitIDs:_0x32ea73}=_0x193b29;_0x32ea73[_0x4e1e94(0x401)](_0x98ba8c=>{const _0x3174f4=_0x4e1e94;var _0x3c9751;const _0x34ea7b=this[_0x3174f4(0x379)][_0x3174f4(0x402)](_0x98ba8c);_0x34ea7b&&(_0x34ea7b[_0x3174f4(0x2f8)](_0x40180a),(_0x3c9751=this[_0x3174f4(0x304)](_0x98ba8c))==null||_0x3c9751['next'](_0x34ea7b['size']===0x0?u[_0x3174f4(0x41c)][_0x3174f4(0x312)]:u[_0x3174f4(0x41c)][_0x3174f4(0x1d6)]));}),this[_0x4e1e94(0x383)](_0x40180a);}[_0x598bd7(0x31b)](_0x139e77){const _0x7fe285=_0x598bd7;this[_0x7fe285(0x303)](_0x139e77[_0x7fe285(0x3a2)]);}['_send'](_0x3b8452){const _0x43cd57=_0x598bd7;localStorage[_0x43cd57(0x38e)](Le,JSON[_0x43cd57(0x37a)](_0x3b8452));}[_0x598bd7(0x356)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x6196e9=_0x1844;this[_0x6196e9(0x206)]({'type':0x2,'memberID':this[_0x6196e9(0x3ec)]});},Me);}['_ensureSubject'](_0x29ec24){const _0x52f819=_0x598bd7;return this[_0x52f819(0x37b)][_0x52f819(0x24d)](_0x29ec24)||this['_unitStatus'][_0x52f819(0x2fa)](_0x29ec24,new d['BehaviorSubject'](u[_0x52f819(0x41c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x52f819(0x37b)]['get'](_0x29ec24);}}var Be=(_0xef7d4c=>(_0xef7d4c[_0xef7d4c['UNDEFINED']=0x0]='UNDEFINED',_0xef7d4c[_0xef7d4c['OK']=0x1]='OK',_0xef7d4c[_0xef7d4c[_0x598bd7(0x1da)]=0x2]=_0x598bd7(0x1da),_0xef7d4c[_0xef7d4c[_0x598bd7(0x25a)]=0x3]='PERMISSION_DENIED',_0xef7d4c[_0xef7d4c[_0x598bd7(0x212)]=0x4]=_0x598bd7(0x212),_0xef7d4c[_0xef7d4c['UNAUTHENTICATED']=0x5]=_0x598bd7(0x1ca),_0xef7d4c[_0xef7d4c[_0x598bd7(0x411)]=0x6]=_0x598bd7(0x411),_0xef7d4c[_0xef7d4c[_0x598bd7(0x27c)]=0x7]='INVALID_ARGUMENT',_0xef7d4c[_0xef7d4c[_0x598bd7(0x2b7)]=0x8]=_0x598bd7(0x2b7),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2bf)]=0x9]='COMPLETION_FINISHED',_0xef7d4c[_0xef7d4c[_0x598bd7(0x2aa)]=0xa]=_0x598bd7(0x2aa),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2a1)]=0xb]=_0x598bd7(0x2a1),_0xef7d4c[_0xef7d4c[_0x598bd7(0x28e)]=0xc]=_0x598bd7(0x28e),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2c1)]=0xd]=_0x598bd7(0x2c1),_0xef7d4c[_0xef7d4c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x598bd7(0x1bd),_0xef7d4c[_0xef7d4c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x598bd7(0x23b),_0xef7d4c[_0xef7d4c[_0x598bd7(0x31c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xef7d4c[_0xef7d4c[_0x598bd7(0x426)]=0x1772]=_0x598bd7(0x426),_0xef7d4c[_0xef7d4c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x598bd7(0x30d),_0xef7d4c[_0xef7d4c['APPLY_REJECT']=0x1b59]=_0x598bd7(0x2d4),_0xef7d4c[_0xef7d4c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x598bd7(0x23e),_0xef7d4c[_0xef7d4c[_0x598bd7(0x357)]=0x1b5b]=_0x598bd7(0x357),_0xef7d4c[_0xef7d4c[_0x598bd7(0x271)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xef7d4c[_0xef7d4c[_0x598bd7(0x3c4)]=0x1b5d]=_0x598bd7(0x3c4),_0xef7d4c[_0xef7d4c[_0x598bd7(0x291)]=0x1f41]=_0x598bd7(0x291),_0xef7d4c[_0xef7d4c[_0x598bd7(0x242)]=0x2329]=_0x598bd7(0x242),_0xef7d4c[_0xef7d4c[_0x598bd7(0x3ed)]=0x232a]=_0x598bd7(0x3ed),_0xef7d4c[_0xef7d4c[_0x598bd7(0x378)]=0x232b]=_0x598bd7(0x378),_0xef7d4c[_0xef7d4c[_0x598bd7(0x369)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xef7d4c[_0xef7d4c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x598bd7(0x2a4),_0xef7d4c[_0xef7d4c[_0x598bd7(0x403)]=0x2711]=_0x598bd7(0x403),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2d7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xef7d4c[_0xef7d4c[_0x598bd7(0x30a)]=0x2713]=_0x598bd7(0x30a),_0xef7d4c[_0xef7d4c[_0x598bd7(0x1c1)]=0x2714]=_0x598bd7(0x1c1),_0xef7d4c[_0xef7d4c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x598bd7(0x1e8),_0xef7d4c[_0xef7d4c[_0x598bd7(0x404)]=0x271b]=_0x598bd7(0x404),_0xef7d4c[_0xef7d4c[_0x598bd7(0x353)]=0x271c]=_0x598bd7(0x353),_0xef7d4c[_0xef7d4c[_0x598bd7(0x318)]=0x271d]=_0x598bd7(0x318),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2b4)]=0x271e]=_0x598bd7(0x2b4),_0xef7d4c[_0xef7d4c['YUUMI_AI_RUN_FAILED']=0x271f]=_0x598bd7(0x211),_0xef7d4c[_0xef7d4c[_0x598bd7(0x289)]=0x2720]=_0x598bd7(0x289),_0xef7d4c[_0xef7d4c[_0x598bd7(0x3fc)]=0x2af9]=_0x598bd7(0x3fc),_0xef7d4c[_0xef7d4c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x598bd7(0x338),_0xef7d4c[_0xef7d4c['INVALID_INVITE_CODE']=0x2ee2]=_0x598bd7(0x3fb),_0xef7d4c[_0xef7d4c[_0x598bd7(0x252)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xef7d4c[_0xef7d4c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x598bd7(0x346),_0xef7d4c[_0xef7d4c[_0x598bd7(0x3f0)]=0x2ee5]=_0x598bd7(0x3f0),_0xef7d4c[_0xef7d4c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x598bd7(0x342),_0xef7d4c[_0xef7d4c[_0x598bd7(0x2ff)]=0x32ca]=_0x598bd7(0x2ff),_0xef7d4c[_0xef7d4c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x598bd7(0x3ad),_0xef7d4c[_0xef7d4c[_0x598bd7(0x1bc)]=-0x1]='UNRECOGNIZED',_0xef7d4c))(Be||{}),ns=Object[_0x598bd7(0x2e2)],rs=(_0x38a775,_0x27fd2b,_0x57c1a5,_0x5f45b6)=>{for(var _0x121dca=_0x5f45b6>0x1?void 0x0:_0x5f45b6?ns(_0x27fd2b,_0x57c1a5):_0x27fd2b,_0x4ba411=_0x38a775['length']-0x1,_0x280c62;_0x4ba411>=0x0;_0x4ba411--)(_0x280c62=_0x38a775[_0x4ba411])&&(_0x121dca=_0x280c62(_0x121dca)||_0x121dca);return _0x121dca;},he=(_0x2036b4,_0x3add3d)=>(_0x38a36e,_0x123035)=>_0x3add3d(_0x38a36e,_0x123035,_0x2036b4);exports[_0x598bd7(0x358)]=class extends a[_0x598bd7(0x3ef)]{constructor(_0x3abd3f,_0x2bc97b,_0x33320d){const _0x52c9cc=_0x598bd7;super(),this[_0x52c9cc(0x37d)]=_0x3abd3f,this[_0x52c9cc(0x420)]=_0x2bc97b,this[_0x52c9cc(0x235)]=_0x33320d;}async[_0x598bd7(0x276)](_0xd0a24f,_0x5132c1,_0x2bf31d,..._0x2e121c){const _0x4e38c2=_0x598bd7;var _0x5bdf79,_0x167b9b,_0x9665a8,_0x481d4a;const _0x19f71e=this[_0x4e38c2(0x37d)][_0x4e38c2(0x35f)]();if(!_0x19f71e)throw new Error(_0x4e38c2(0x1b7));const _0x211531=((_0x5bdf79=this[_0x4e38c2(0x235)][_0x4e38c2(0x3ff)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5bdf79:u[_0x4e38c2(0x263)])+'/'+_0xd0a24f+_0x4e38c2(0x41a)+_0x5132c1,_0x314fa4=new URL(window[_0x4e38c2(0x208)][_0x4e38c2(0x321)]),_0x1b78c7={'scriptId':_0xd0a24f,'runId':(_0x167b9b=_0x314fa4['searchParams']['get'](_0x4e38c2(0x277)))!=null?_0x167b9b:'','function':_0x5132c1,'unitId':_0x19f71e[_0x4e38c2(0x320)](),'argsOfFunction':JSON['stringify'](_0x2e121c),'invokeId':(_0x9665a8=_0x2bf31d['invokeId'])!=null?_0x9665a8:'','executionId':(_0x481d4a=_0x2bf31d['executionId'])!=null?_0x481d4a:''};try{const _0x13aab3=await this['_httpService'][_0x4e38c2(0x32c)](_0x211531,{'body':_0x1b78c7});return _0x13aab3['body'][_0x4e38c2(0x1f9)]&&_0x13aab3[_0x4e38c2(0x35c)]['error']['code']!==Be['OK']?_0x4e38c2(0x1f0):_0x13aab3[_0x4e38c2(0x35c)][_0x4e38c2(0x2ba)];}catch{return'Failed';}}},exports[_0x598bd7(0x358)]=rs([he(0x0,a[_0x598bd7(0x306)]),he(0x1,a[_0x598bd7(0x2b5)](K[_0x598bd7(0x373)])),he(0x2,a[_0x598bd7(0x220)])],exports['RemoteUniscriptService']),exports[_0x598bd7(0x36b)]=pe,exports['SheetCollabCursorShape']=we,exports[_0x598bd7(0x3e2)]=is,exports[_0x598bd7(0x345)]=xe;
@@ -1 +1 @@
1
- 'use strict';const _0x55baea=_0x233d;function _0x1bd3(){const _0x53ed8a=['4efGfcE','Connection\x20failed,\x20please\x20check\x20your\x20network.','85987stnKdQ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1173588eICAqF','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','52LLAHLR','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','Collaboration\x20Conflict','Click\x20to\x20Reconnect','exports','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','4794561DxoMIL','1072355qoishQ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1577766oodvVS','30StteYy','Local\x20file','1663unnEgF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','8vnFXpg','1834371vLeSDh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x1bd3=function(){return _0x53ed8a;};return _0x1bd3();}(function(_0x463821,_0x5a6ba5){const _0x328e8d=_0x233d,_0x2b0062=_0x463821();while(!![]){try{const _0x5cefb9=-parseInt(_0x328e8d(0xc7))/0x1*(parseInt(_0x328e8d(0xd2))/0x2)+-parseInt(_0x328e8d(0xc4))/0x3+-parseInt(_0x328e8d(0xcc))/0x4*(-parseInt(_0x328e8d(0xc2))/0x5)+-parseInt(_0x328e8d(0xd0))/0x6+-parseInt(_0x328e8d(0xca))/0x7*(-parseInt(_0x328e8d(0xc9))/0x8)+parseInt(_0x328e8d(0xc1))/0x9+-parseInt(_0x328e8d(0xc5))/0xa*(-parseInt(_0x328e8d(0xce))/0xb);if(_0x5cefb9===_0x5a6ba5)break;else _0x2b0062['push'](_0x2b0062['shift']());}catch(_0xe6c759){_0x2b0062['push'](_0x2b0062['shift']());}}}(_0x1bd3,0x416aa));function _0x233d(_0x34d6cf,_0x1d39e5){const _0x1bd3d0=_0x1bd3();return _0x233d=function(_0x233d69,_0x4285f4){_0x233d69=_0x233d69-0xbb;let _0x116899=_0x1bd3d0[_0x233d69];return _0x116899;},_0x233d(_0x34d6cf,_0x1d39e5);}const e={'collab-client':{'tooltip':{'reconnect':_0x55baea(0xbd)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x55baea(0xc6),'synced':'Synced','syncing':'Syncing...','offline':_0x55baea(0xc3)},'session':{'connection-failed':_0x55baea(0xcd),'will-retry':_0x55baea(0xc8),'room-full':_0x55baea(0xd3),'collaboration-timeout':_0x55baea(0xcf)},'conflict':{'title':_0x55baea(0xbc),'content':_0x55baea(0xc0)},'permission':{'title':_0x55baea(0xbb),'content':_0x55baea(0xbf)},'collaboration':{'single-unit':{'warning':_0x55baea(0xcb)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x55baea(0xd1)}},o=e;module[_0x55baea(0xbe)]=o;
1
+ 'use strict';const _0x4d77f7=_0x4450;(function(_0x922feb,_0x416cda){const _0x289ba0=_0x4450,_0x28103a=_0x922feb();while(!![]){try{const _0x4a9ca8=-parseInt(_0x289ba0(0x1b2))/0x1*(-parseInt(_0x289ba0(0x1bd))/0x2)+parseInt(_0x289ba0(0x1b3))/0x3*(-parseInt(_0x289ba0(0x1b9))/0x4)+parseInt(_0x289ba0(0x1b5))/0x5+-parseInt(_0x289ba0(0x1b8))/0x6+-parseInt(_0x289ba0(0x1b1))/0x7*(parseInt(_0x289ba0(0x1ba))/0x8)+-parseInt(_0x289ba0(0x1b7))/0x9+parseInt(_0x289ba0(0x1bf))/0xa;if(_0x4a9ca8===_0x416cda)break;else _0x28103a['push'](_0x28103a['shift']());}catch(_0x2ecc2d){_0x28103a['push'](_0x28103a['shift']());}}}(_0x1276,0x47bd9));function _0x4450(_0x282adb,_0x4b56e8){const _0x1276a6=_0x1276();return _0x4450=function(_0x44508c,_0x1dc76d){_0x44508c=_0x44508c-0x1ac;let _0xb18f03=_0x1276a6[_0x44508c];return _0xb18f03;},_0x4450(_0x282adb,_0x4b56e8);}function _0x1276(){const _0x4df6c4=['544407EuTKHd','exports','1388225OpClmW','Syncing...','2590371ctdLgE','1334070GNVBEY','4HESgkX','118448AdrxqN','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','25024FBjBCm','Local\x20file','6798970oZSgxO','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.','Edit\x20conflicts','Connection\x20failed,\x20please\x20check\x20your\x20network.','182QcRKDr','33tCGhgh'];_0x1276=function(){return _0x4df6c4;};return _0x1276();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4d77f7(0x1c0),'conflict':_0x4d77f7(0x1af),'notCollab':_0x4d77f7(0x1be),'synced':'Synced','syncing':_0x4d77f7(0x1b6),'offline':_0x4d77f7(0x1ac)},'session':{'connection-failed':_0x4d77f7(0x1b0),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4d77f7(0x1bc)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4d77f7(0x1ae)},'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':_0x4d77f7(0x1bb)},'closeRoom':_0x4d77f7(0x1ad)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x4d77f7(0x1b4)]=o;