@univerjs-pro/collaboration-client-ui 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060614

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x56a0(_0x19588b,_0x190e3c){const _0x2ef308=_0x2ef3();return _0x56a0=function(_0x56a07c,_0x6e0841){_0x56a07c=_0x56a07c-0x187;let _0x340860=_0x2ef308[_0x56a07c];return _0x340860;},_0x56a0(_0x19588b,_0x190e3c);}const _0xe493d1=_0x56a0;(function(_0x1a7bab,_0x1d9029){const _0x1e7667=_0x56a0,_0x5d2fe8=_0x1a7bab();while(!![]){try{const _0x41ab55=-parseInt(_0x1e7667(0x18a))/0x1*(parseInt(_0x1e7667(0x193))/0x2)+parseInt(_0x1e7667(0x192))/0x3+-parseInt(_0x1e7667(0x196))/0x4*(-parseInt(_0x1e7667(0x197))/0x5)+-parseInt(_0x1e7667(0x194))/0x6*(parseInt(_0x1e7667(0x187))/0x7)+-parseInt(_0x1e7667(0x188))/0x8*(-parseInt(_0x1e7667(0x18f))/0x9)+parseInt(_0x1e7667(0x18e))/0xa*(parseInt(_0x1e7667(0x189))/0xb)+-parseInt(_0x1e7667(0x18b))/0xc*(-parseInt(_0x1e7667(0x195))/0xd);if(_0x41ab55===_0x1d9029)break;else _0x5d2fe8['push'](_0x5d2fe8['shift']());}catch(_0x25287e){_0x5d2fe8['push'](_0x5d2fe8['shift']());}}}(_0x2ef3,0x443d4));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e[_0xe493d1(0x18d)]{[_0xe493d1(0x190)](_0x18c867,_0x2d984a,..._0x56640f){const _0x5507a2=_0xe493d1;return this['_injector']['get'](t[_0x5507a2(0x18c)])['runOnServer'](_0x18c867,_0x2d984a,{},..._0x56640f);}}e[_0xe493d1(0x18d)][_0xe493d1(0x191)](c);function _0x2ef3(){const _0x343967=['484cSelNQ','361499WoyvHK','4105536weBLOX','RemoteUniscriptService','FUniver','33680yHzMyN','9EnPRiM','runOnServer','extend','328227mQonDW','2WkqEhU','126PwsfOq','13nWmqFS','114284hdxjzy','50vdtBcf','162029mpRiNU','1933240ssOgFU'];_0x2ef3=function(){return _0x343967;};return _0x2ef3();}
1
+ 'use strict';function _0xae5d(_0x47fcf6,_0x41cb53){const _0x4448bb=_0x4448();return _0xae5d=function(_0xae5d2,_0x404f1a){_0xae5d2=_0xae5d2-0x98;let _0x48bc28=_0x4448bb[_0xae5d2];return _0x48bc28;},_0xae5d(_0x47fcf6,_0x41cb53);}const _0x53fae0=_0xae5d;(function(_0x4de1ff,_0xed76a8){const _0x4c2676=_0xae5d,_0x3280d4=_0x4de1ff();while(!![]){try{const _0x39d3d2=parseInt(_0x4c2676(0xa5))/0x1*(parseInt(_0x4c2676(0x9e))/0x2)+-parseInt(_0x4c2676(0x99))/0x3*(-parseInt(_0x4c2676(0x98))/0x4)+-parseInt(_0x4c2676(0x9c))/0x5*(-parseInt(_0x4c2676(0x9b))/0x6)+-parseInt(_0x4c2676(0xa2))/0x7*(-parseInt(_0x4c2676(0xa1))/0x8)+-parseInt(_0x4c2676(0x9d))/0x9+parseInt(_0x4c2676(0xa0))/0xa+parseInt(_0x4c2676(0xa3))/0xb*(-parseInt(_0x4c2676(0xa7))/0xc);if(_0x39d3d2===_0xed76a8)break;else _0x3280d4['push'](_0x3280d4['shift']());}catch(_0x2ee12e){_0x3280d4['push'](_0x3280d4['shift']());}}}(_0x4448,0xed00b));function _0x4448(){const _0x5519de=['2545795PqjJUp','5179527ohlPfE','156yvsYwf','_injector','1891840ntVgom','9574616cpaIFn','7ZnuKLg','407OYjXSx','get','24423AZFhMY','runOnServer','1174728YdawWo','3436084EgKSPW','3PIqSbv','extend','12qsWDYK'];_0x4448=function(){return _0x5519de;};return _0x4448();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x53fae0(0xa6)](_0xd71328,_0x211075,..._0x370ef9){const _0x166abc=_0x53fae0;return this[_0x166abc(0x9f)][_0x166abc(0xa4)](t['RemoteUniscriptService'])[_0x166abc(0xa6)](_0xd71328,_0x211075,{},..._0x370ef9);}}e['FUniver'][_0x53fae0(0x9a)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x11b7f7=_0x5c06;(function(_0x1fc291,_0x37a5bd){const _0x1f81ef=_0x5c06,_0x165b32=_0x1fc291();while(!![]){try{const _0xa3e7f3=parseInt(_0x1f81ef(0x234))/0x1*(parseInt(_0x1f81ef(0x24f))/0x2)+-parseInt(_0x1f81ef(0x37f))/0x3+-parseInt(_0x1f81ef(0x1b0))/0x4*(-parseInt(_0x1f81ef(0x381))/0x5)+parseInt(_0x1f81ef(0x1c4))/0x6+-parseInt(_0x1f81ef(0x277))/0x7*(parseInt(_0x1f81ef(0x32a))/0x8)+-parseInt(_0x1f81ef(0x287))/0x9+-parseInt(_0x1f81ef(0x1c1))/0xa*(-parseInt(_0x1f81ef(0x2bd))/0xb);if(_0xa3e7f3===_0x37a5bd)break;else _0x165b32['push'](_0x165b32['shift']());}catch(_0x43190d){_0x165b32['push'](_0x165b32['shift']());}}}(_0x2ac0,0xe28fb));var We=Object[_0x11b7f7(0x2ae)],Ve=(_0x17c160,_0x34a25b,_0x21d6e8)=>_0x34a25b in _0x17c160?We(_0x17c160,_0x34a25b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21d6e8}):_0x17c160[_0x34a25b]=_0x21d6e8,h=(_0xbc5f5c,_0x5118f0,_0x12a0fc)=>Ve(_0xbc5f5c,typeof _0x5118f0!=_0x11b7f7(0x1e3)?_0x5118f0+'':_0x5118f0,_0x12a0fc);Object[_0x11b7f7(0x2ae)](exports,Symbol[_0x11b7f7(0x206)],{'value':_0x11b7f7(0x18e)});function _0x5c06(_0x3e2332,_0x3c567a){const _0x2ac049=_0x2ac0();return _0x5c06=function(_0x5c06d8,_0xc44877){_0x5c06d8=_0x5c06d8-0x154;let _0x8ab80a=_0x2ac049[_0x5c06d8];return _0x8ab80a;},_0x5c06(_0x3e2332,_0x3c567a);}const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x297fb6=_0x11b7f7;return b=Object[_0x297fb6(0x162)]||function(_0x5157a5){const _0x59ce16=_0x297fb6;for(var _0x4925a7,_0x4f20cc=0x1,_0x1ae848=arguments[_0x59ce16(0x1c9)];_0x4f20cc<_0x1ae848;_0x4f20cc++){_0x4925a7=arguments[_0x4f20cc];for(var _0x5ae72e in _0x4925a7)Object[_0x59ce16(0x39f)][_0x59ce16(0x356)][_0x59ce16(0x319)](_0x4925a7,_0x5ae72e)&&(_0x5157a5[_0x5ae72e]=_0x4925a7[_0x5ae72e]);}return _0x5157a5;},b['apply'](this,arguments);},Ke=function(_0x45a4db,_0x3ca760){const _0x45cdc1=_0x11b7f7;var _0x1dd20d={};for(var _0x3a6df5 in _0x45a4db)Object[_0x45cdc1(0x39f)]['hasOwnProperty'][_0x45cdc1(0x319)](_0x45a4db,_0x3a6df5)&&_0x3ca760[_0x45cdc1(0x3a2)](_0x3a6df5)<0x0&&(_0x1dd20d[_0x3a6df5]=_0x45a4db[_0x3a6df5]);if(_0x45a4db!=null&&typeof Object[_0x45cdc1(0x343)]==_0x45cdc1(0x1fc)){for(var _0x190c5f=0x0,_0x3a6df5=Object['getOwnPropertySymbols'](_0x45a4db);_0x190c5f<_0x3a6df5[_0x45cdc1(0x1c9)];_0x190c5f++)_0x3ca760[_0x45cdc1(0x3a2)](_0x3a6df5[_0x190c5f])<0x0&&Object[_0x45cdc1(0x39f)][_0x45cdc1(0x24d)][_0x45cdc1(0x319)](_0x45a4db,_0x3a6df5[_0x190c5f])&&(_0x1dd20d[_0x3a6df5[_0x190c5f]]=_0x45a4db[_0x3a6df5[_0x190c5f]]);}return _0x1dd20d;},ge=M[_0x11b7f7(0x170)](function(_0xac8216,_0xed548c){const _0x5c4903=_0x11b7f7;var _0x457119=_0xac8216[_0x5c4903(0x35d)],_0x5c931a=_0xac8216['id'],_0x230dd4=_0xac8216['className'],_0x689cf8=_0xac8216[_0x5c4903(0x29b)],_0x29e4ed=Ke(_0xac8216,[_0x5c4903(0x35d),'id',_0x5c4903(0x20c),_0x5c4903(0x29b)]),_0x1ba395='univerjs-icon\x20univerjs-icon-'['concat'](_0x5c931a,'\x20')[_0x5c4903(0x18d)](_0x230dd4||'')['trim'](),_0x28cde1=M[_0x5c4903(0x310)]('_'[_0x5c4903(0x18d)](Je()));return Pe(_0x457119,''[_0x5c4903(0x18d)](_0x5c931a),{'defIds':_0x457119['defIds'],'idSuffix':_0x28cde1['current']},b({'ref':_0xed548c,'className':_0x1ba395},_0x29e4ed),_0x689cf8);});function Pe(_0x2fdb4e,_0x28f570,_0x3401be,_0x4ff203,_0x1ffb12){const _0xe3a71b=_0x11b7f7;return M['createElement'](_0x2fdb4e['tag'],b(b({'key':_0x28f570},qe(_0x2fdb4e,_0x3401be,_0x1ffb12)),_0x4ff203),(ze(_0x2fdb4e,_0x3401be)['children']||[])[_0xe3a71b(0x1ee)](function(_0x348699,_0x1811a3){const _0x5b87f6=_0xe3a71b;return Pe(_0x348699,''[_0x5b87f6(0x18d)](_0x28f570,'-')[_0x5b87f6(0x18d)](_0x2fdb4e[_0x5b87f6(0x250)],'-')[_0x5b87f6(0x18d)](_0x1811a3),_0x3401be,void 0x0,_0x1ffb12);}));}function qe(_0x2a21b1,_0x5b4a02,_0x5ab443){const _0x38ac1b=_0x11b7f7;var _0xeb7829=b({},_0x2a21b1['attrs']);_0x5ab443!=null&&_0x5ab443['colorChannel1']&&_0xeb7829[_0x38ac1b(0x22b)]===_0x38ac1b(0x195)&&(_0xeb7829[_0x38ac1b(0x22b)]=_0x5ab443[_0x38ac1b(0x195)]),_0x2a21b1['tag']===_0x38ac1b(0x308)&&_0xeb7829['id']&&(_0xeb7829['id']=_0xeb7829['id']+_0x5b4a02[_0x38ac1b(0x1b2)]),Object[_0x38ac1b(0x2fd)](_0xeb7829)[_0x38ac1b(0x203)](function(_0x233506){const _0x51c8a8=_0x38ac1b;var _0x19e2b3=_0x233506[0x0],_0x5861cd=_0x233506[0x1];_0x19e2b3==='mask'&&typeof _0x5861cd==_0x51c8a8(0x365)&&(_0xeb7829[_0x19e2b3]=_0x5861cd['replace'](/url\(#(.*)\)/,'url(#$1'[_0x51c8a8(0x18d)](_0x5b4a02['idSuffix'],')')));});var _0x741170=_0x5b4a02[_0x38ac1b(0x28e)];return!_0x741170||_0x741170[_0x38ac1b(0x1c9)]===0x0||(_0x2a21b1[_0x38ac1b(0x250)]===_0x38ac1b(0x244)&&_0xeb7829[_0x38ac1b(0x280)]&&(_0xeb7829[_0x38ac1b(0x280)]=_0xeb7829[_0x38ac1b(0x280)]+_0x5b4a02[_0x38ac1b(0x1b2)]),Object[_0x38ac1b(0x2fd)](_0xeb7829)[_0x38ac1b(0x203)](function(_0x462774){const _0x5928e2=_0x38ac1b;var _0x57fb3b=_0x462774[0x0],_0x18d562=_0x462774[0x1];typeof _0x18d562=='string'&&(_0xeb7829[_0x57fb3b]=_0x18d562['replace'](/url\(#(.*)\)/,_0x5928e2(0x20f)[_0x5928e2(0x18d)](_0x5b4a02['idSuffix'],')')));})),_0xeb7829;}function ze(_0x3108f6,_0x4182f6){const _0x50abf9=_0x11b7f7;var _0x2f2772,_0x1ad21d=_0x4182f6[_0x50abf9(0x28e)];return!_0x1ad21d||_0x1ad21d['length']===0x0?_0x3108f6:_0x3108f6[_0x50abf9(0x250)]==='defs'&&(!((_0x2f2772=_0x3108f6[_0x50abf9(0x338)])===null||_0x2f2772===void 0x0)&&_0x2f2772[_0x50abf9(0x1c9)])?b(b({},_0x3108f6),{'children':_0x3108f6[_0x50abf9(0x338)][_0x50abf9(0x1ee)](function(_0x32ea72){const _0xf688b8=_0x50abf9;return typeof _0x32ea72[_0xf688b8(0x2a8)]['id']=='string'&&_0x1ad21d&&_0x1ad21d[_0xf688b8(0x209)](_0x32ea72[_0xf688b8(0x2a8)]['id'])?b(b({},_0x32ea72),{'attrs':b(b({},_0x32ea72[_0xf688b8(0x2a8)]),{'id':_0x32ea72[_0xf688b8(0x2a8)]['id']+_0x4182f6[_0xf688b8(0x1b2)]})}):_0x32ea72;})}):_0x3108f6;}function Je(){const _0x3ed848=_0x11b7f7;return Math['random']()['toString'](0x24)[_0x3ed848(0x15a)](0x2,0x8);}ge['displayName']='UniverIcon';var Ze={'tag':_0x11b7f7(0x1fb),'attrs':{'xmlns':_0x11b7f7(0x38e),'fill':_0x11b7f7(0x315),'viewBox':'0\x200\x2016\x2016','width':_0x11b7f7(0x23a),'height':_0x11b7f7(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x11b7f7(0x270),'attrs':{'stroke':_0x11b7f7(0x2b8),'d':_0x11b7f7(0x1d0),'strokeLinecap':_0x11b7f7(0x362),'strokeLinejoin':_0x11b7f7(0x362),'strokeWidth':1.2}}]},{'tag':_0x11b7f7(0x2fb),'attrs':{},'children':[{'tag':_0x11b7f7(0x25b),'attrs':{'id':_0x11b7f7(0x180)},'children':[{'tag':_0x11b7f7(0x270),'attrs':{'fill':_0x11b7f7(0x35c),'d':_0x11b7f7(0x21d)}}]}]}],'defIds':[_0x11b7f7(0x180)]},we=M[_0x11b7f7(0x170)](function(_0x2d3e5e,_0x368b6d){const _0x23324a=_0x11b7f7;return M[_0x23324a(0x18a)](ge,Object[_0x23324a(0x162)]({},_0x2d3e5e,{'id':_0x23324a(0x17d),'ref':_0x368b6d,'icon':Ze}));});we[_0x11b7f7(0x3c7)]=_0x11b7f7(0x345);var Qe={'tag':_0x11b7f7(0x1fb),'attrs':{'xmlns':_0x11b7f7(0x38e),'fill':_0x11b7f7(0x315),'viewBox':_0x11b7f7(0x2e0),'width':_0x11b7f7(0x23a),'height':_0x11b7f7(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x11b7f7(0x270),'attrs':{'stroke':_0x11b7f7(0x2b8),'d':_0x11b7f7(0x34b),'strokeLinecap':'round','strokeLinejoin':_0x11b7f7(0x362),'strokeWidth':1.2}}]},{'tag':_0x11b7f7(0x2fb),'attrs':{},'children':[{'tag':_0x11b7f7(0x25b),'attrs':{'id':_0x11b7f7(0x27b)},'children':[{'tag':_0x11b7f7(0x270),'attrs':{'fill':'white','d':_0x11b7f7(0x21d),'transform':_0x11b7f7(0x16f)}}]}]}],'defIds':[_0x11b7f7(0x27b)]},Ae=M[_0x11b7f7(0x170)](function(_0x374219,_0x486ee9){const _0x2cff38=_0x11b7f7;return M[_0x2cff38(0x18a)](ge,Object[_0x2cff38(0x162)]({},_0x374219,{'id':_0x2cff38(0x200),'ref':_0x486ee9,'icon':Qe}));});Ae[_0x11b7f7(0x3c7)]=_0x11b7f7(0x179);function et(_0x214bad){const _0xdb4055=_0x11b7f7;switch(_0x214bad){case u[_0xdb4055(0x2d8)][_0xdb4055(0x212)]:return _0xdb4055(0x2aa);case u[_0xdb4055(0x2d8)][_0xdb4055(0x324)]:return'collabStatus.conflict';case u[_0xdb4055(0x2d8)]['FETCH_MISS']:return _0xdb4055(0x358);case u[_0xdb4055(0x2d8)][_0xdb4055(0x33f)]:return _0xdb4055(0x1b8);case u['CollaborationStatus'][_0xdb4055(0x2f4)]:case u[_0xdb4055(0x2d8)][_0xdb4055(0x3c0)]:return'collabStatus.syncing';case u[_0xdb4055(0x2d8)][_0xdb4055(0x311)]:case u['CollaborationStatus'][_0xdb4055(0x26c)]:return'collabStatus.synced';}}function tt(_0x307065){const _0x4e406e=_0x11b7f7,{status$:_0x2a9ed0}=_0x307065,_0x2d1889=O[_0x4e406e(0x29d)](_0x2a9ed0,u[_0x4e406e(0x2d8)][_0x4e406e(0x33f)]),_0x220d15=O[_0x4e406e(0x266)](a['LocaleService']),_0x4c5282=O[_0x4e406e(0x266)](u[_0x4e406e(0x2cc)]),_0x4f3f9f=_0x2d1889!==u['CollaborationStatus'][_0x4e406e(0x212)],_0x355d01=_0x220d15['t'](et(_0x2d1889)),_0x1595e2=_0x4f3f9f?P['jsx'](Ae,{}):P['jsx'](we,{}),_0x48135a=M[_0x4e406e(0x1dd)](()=>{_0x4f3f9f||_0x4c5282['reconnect']();},[_0x4f3f9f,_0x4c5282]);function _0x3aed26(){const _0xe1c2d1=_0x4e406e;return P[_0xe1c2d1(0x1cb)](_0xe1c2d1(0x182),{'className':_0xe1c2d1(0x27f),'onClick':_0x48135a,'children':[P[_0xe1c2d1(0x1aa)]('div',{'className':D[_0xe1c2d1(0x2a9)](_0xe1c2d1(0x363),{'univer-text-green-500':_0x4f3f9f,'univer-text-red-500':!_0x4f3f9f}),'children':_0x1595e2}),P[_0xe1c2d1(0x1aa)](_0xe1c2d1(0x182),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x355d01})]});}return _0x4f3f9f?_0x3aed26():P[_0x4e406e(0x1aa)](D['Tooltip'],{'title':_0x220d15['t'](_0x4e406e(0x2d9)),'children':_0x3aed26()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x2c1711,_0x9b9a32,_0x93faee,_0x3632b0)=>{const _0x301628=_0x11b7f7;for(var _0x84ff5c=_0x3632b0>0x1?void 0x0:_0x3632b0?st(_0x9b9a32,_0x93faee):_0x9b9a32,_0xa53376=_0x2c1711[_0x301628(0x1c9)]-0x1,_0x4de868;_0xa53376>=0x0;_0xa53376--)(_0x4de868=_0x2c1711[_0xa53376])&&(_0x84ff5c=_0x4de868(_0x84ff5c)||_0x84ff5c);return _0x84ff5c;},V=(_0x2f008c,_0x307cc1)=>(_0x2c4a63,_0x2be7fd)=>_0x307cc1(_0x2c4a63,_0x2be7fd,_0x2f008c);exports[_0x11b7f7(0x38f)]=class extends a[_0x11b7f7(0x39b)]{constructor(_0xb53a93,_0x4c3ad2,_0x3763ea,_0x313de2){const _0x4ebf77=_0x11b7f7;super(),h(this,_0x4ebf77(0x2a5),new d[(_0x4ebf77(0x2ed))](u[_0x4ebf77(0x2d8)][_0x4ebf77(0x33f)])),(this[_0x4ebf77(0x1b6)]=_0xb53a93,this['_injector']=_0x4c3ad2,this[_0x4ebf77(0x166)]=_0x3763ea,this[_0x4ebf77(0x1db)]=_0x313de2,this['_initStatusComponent'](),this[_0x4ebf77(0x23d)]());}[_0x11b7f7(0x23d)](){const _0xfe2ca0=_0x11b7f7;this[_0xfe2ca0(0x21c)](this[_0xfe2ca0(0x1b6)]['focused$'][_0xfe2ca0(0x275)](d[_0xfe2ca0(0x1f4)](()=>{const _0x7efde0=_0xfe2ca0,_0xa7d41f=this[_0x7efde0(0x1b6)]['getFocusedUnit']();return _0xa7d41f?this[_0x7efde0(0x166)][_0x7efde0(0x390)](_0xa7d41f['getUnitId']()):d['of'](null);}),d['switchMap'](_0x1e2c12=>_0x1e2c12?_0x1e2c12[_0xfe2ca0(0x30b)]:d['of'](u[_0xfe2ca0(0x2d8)][_0xfe2ca0(0x33f)])))[_0xfe2ca0(0x367)](_0x2e88eb=>{const _0x11b308=_0xfe2ca0;this[_0x11b308(0x2a5)][_0x11b308(0x316)](_0x2e88eb);}));}['_initStatusComponent'](){const _0x5991de=_0x11b7f7;this[_0x5991de(0x21c)](this[_0x5991de(0x1db)][_0x5991de(0x3b7)](O[_0x5991de(0x361)]['HEADER_MENU'],()=>O[_0x5991de(0x230)](nt({'status$':this[_0x5991de(0x2a5)][_0x5991de(0x1e4)]()}),this[_0x5991de(0x29c)])));}},exports['DesktopCollaborationStatusDisplayController']=it([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3b8)])),V(0x2,a[_0x11b7f7(0x302)](u[_0x11b7f7(0x1b1)])),V(0x3,O[_0x11b7f7(0x2eb)])],exports[_0x11b7f7(0x38f)]);function nt(_0x2175f2){const {status$:_0x47fed0}=_0x2175f2;return function(){const _0x52eb90=_0x5c06;return P[_0x52eb90(0x1aa)](tt,{'status$':_0x47fed0});};}const me=a['createIdentifier'](_0x11b7f7(0x17b));var rt=Object['getOwnPropertyDescriptor'],ot=(_0x2e237f,_0x58c49d,_0x1a8a8a,_0x4418bd)=>{const _0x5c86f7=_0x11b7f7;for(var _0x2218eb=_0x4418bd>0x1?void 0x0:_0x4418bd?rt(_0x58c49d,_0x1a8a8a):_0x58c49d,_0x3394c6=_0x2e237f[_0x5c86f7(0x1c9)]-0x1,_0x2cb07a;_0x3394c6>=0x0;_0x3394c6--)(_0x2cb07a=_0x2e237f[_0x3394c6])&&(_0x2218eb=_0x2cb07a(_0x2218eb)||_0x2218eb);return _0x2218eb;},k=(_0x2334d1,_0x1a4671)=>(_0x5e843e,_0x1b97b3)=>_0x1a4671(_0x5e843e,_0x1b97b3,_0x2334d1);exports[_0x11b7f7(0x3a0)]=class extends a['RxDisposable']{constructor(_0x7f1d78,_0xaa833a,_0x273858,_0x34c857,_0x104dad){const _0x2525bc=_0x11b7f7;super(),this[_0x2525bc(0x366)]=_0x7f1d78,this[_0x2525bc(0x2ac)]=_0xaa833a,this['_commandService']=_0x273858,this[_0x2525bc(0x1c6)]=_0x34c857,_0x104dad?_0x104dad==null||_0x104dad[_0x2525bc(0x369)]()[_0x2525bc(0x3b9)](()=>this[_0x2525bc(0x20a)]()):(this[_0x2525bc(0x2ac)][_0x2525bc(0x334)](_0x2525bc(0x154),_0x2525bc(0x26d)),this[_0x2525bc(0x20a)]());}async['_init'](){const _0x56bc99=_0x11b7f7,_0x342b39=this[_0x56bc99(0x366)][_0x56bc99(0x2f6)]('unit'),_0x3a1021=this['_urlService'][_0x56bc99(0x2f6)](_0x56bc99(0x3b1)),_0x109f0e=this[_0x56bc99(0x366)][_0x56bc99(0x2f6)](_0x56bc99(0x303));if(!_0x342b39||!_0x3a1021){this[_0x56bc99(0x2ac)][_0x56bc99(0x334)](_0x56bc99(0x154),_0x56bc99(0x346));return;}const _0xda9c19=await this['_dataLoaderService'][_0x56bc99(0x222)](_0x342b39,Number(_0x3a1021),_0x109f0e);_0xda9c19&&_0xda9c19 instanceof a[_0x56bc99(0x3a1)]&&this[_0x56bc99(0x3ad)](_0xda9c19);}async['_setupSubUnitSync'](_0x36555c){const _0x1a7351=_0x11b7f7;await this[_0x1a7351(0x354)](_0x36555c),_0x36555c[_0x1a7351(0x31d)][_0x1a7351(0x275)](d[_0x1a7351(0x2fa)](this[_0x1a7351(0x36a)]))[_0x1a7351(0x367)](_0x49009c=>{_0x49009c&&this['_updateURLWithCurrentState'](_0x49009c);}),this[_0x1a7351(0x366)][_0x1a7351(0x39a)][_0x1a7351(0x275)](d[_0x1a7351(0x2fa)](this[_0x1a7351(0x36a)]))[_0x1a7351(0x367)](()=>this[_0x1a7351(0x354)](_0x36555c));}['_updateURLWithCurrentState'](_0xbc815e,_0x1431de=!0x1){const _0x2ca8ea=_0x11b7f7,_0x561995=this['_urlService'][_0x2ca8ea(0x2f6)](_0x2ca8ea(0x303));_0xbc815e[_0x2ca8ea(0x1f9)]()!==_0x561995&&this[_0x2ca8ea(0x366)][_0x2ca8ea(0x2c4)]('subunit',_0xbc815e[_0x2ca8ea(0x1f9)](),_0x1431de);}async[_0x11b7f7(0x354)](_0xa29cc3){const _0xf81a19=_0x11b7f7;var _0x4281bc;const _0x341c60=this[_0xf81a19(0x366)]['getParam']('subunit');if(!_0x341c60||!_0xa29cc3[_0xf81a19(0x2cd)](_0x341c60)){const _0xc577fa=_0xa29cc3[_0xf81a19(0x323)]()[0x0],_0x4db9a7=_0xa29cc3[_0xf81a19(0x2cd)](_0xc577fa);if(!_0x4db9a7)return;this[_0xf81a19(0x38a)](_0x4db9a7,!0x0),await this[_0xf81a19(0x30f)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0xa29cc3[_0xf81a19(0x15d)](),'subUnitId':_0xc577fa});return;}((_0x4281bc=_0xa29cc3[_0xf81a19(0x1ce)]())==null?void 0x0:_0x4281bc[_0xf81a19(0x1f9)]())!==_0x341c60&&await this[_0xf81a19(0x30f)]['executeCommand'](g[_0xf81a19(0x3c5)]['id'],{'unitId':_0xa29cc3[_0xf81a19(0x15d)](),'subUnitId':_0x341c60});}},exports['CollaborationDataLoaderController']=ot([k(0x0,me),k(0x1,a[_0x11b7f7(0x221)]),k(0x2,a[_0x11b7f7(0x33d)]),k(0x3,a['Inject'](u['DataLoaderService'])),k(0x4,a['Optional'](Xe[_0x11b7f7(0x216)]))],exports[_0x11b7f7(0x3a0)]);var at=Object[_0x11b7f7(0x269)],ct=(_0x4bb433,_0x111abf,_0x27f9cb,_0x2c11b7)=>{const _0x48b14f=_0x11b7f7;for(var _0x2933a9=_0x2c11b7>0x1?void 0x0:_0x2c11b7?at(_0x111abf,_0x27f9cb):_0x111abf,_0x51d119=_0x4bb433[_0x48b14f(0x1c9)]-0x1,_0xddc29c;_0x51d119>=0x0;_0x51d119--)(_0xddc29c=_0x4bb433[_0x51d119])&&(_0x2933a9=_0xddc29c(_0x2933a9)||_0x2933a9);return _0x2933a9;},be=(_0x1e0f4e,_0x7af9cc)=>(_0x93ec24,_0x256c70)=>_0x7af9cc(_0x93ec24,_0x256c70,_0x1e0f4e);let ue=class extends a[_0x11b7f7(0x291)]{constructor(_0x35aa67,_0xee50d7){const _0x41be61=_0x11b7f7;super(),this[_0x41be61(0x31f)]=_0x35aa67,this['_imageIoService']=_0xee50d7,this[_0x41be61(0x20a)]();}[_0x11b7f7(0x20a)](){const _0x10701f=_0x11b7f7,_0x1e9c7e=this;this[_0x10701f(0x21c)](this[_0x10701f(0x31f)][_0x10701f(0x2db)]({'onBeforePasteImage':async _0x23c0b5=>{const _0x2fcb76=_0x10701f,_0x2086da=await _0x1e9c7e[_0x2fcb76(0x2f0)]['saveImage'](_0x23c0b5);return _0x2086da?{'source':_0x2086da['source'],'imageSourceType':_0x2086da[_0x2fcb76(0x2ad)]}:null;}}));}};ue=ct([be(0x0,E[_0x11b7f7(0x225)]),be(0x1,Ge['IImageIoService'])],ue);const Oe=[_0x11b7f7(0x30e),_0x11b7f7(0x282),'green.600',_0x11b7f7(0x271),_0x11b7f7(0x2c6),'yellow.400'];class Ce extends a[_0x11b7f7(0x39b)]{constructor(){const _0x1af116=_0x11b7f7;super(...arguments),h(this,_0x1af116(0x385),new Map()),h(this,'_colorIndex',0x0);}[_0x11b7f7(0x380)](_0x3c9f50){const _0x492c04=_0x11b7f7;if(this[_0x492c04(0x385)][_0x492c04(0x1e8)](_0x3c9f50))return this['_assignedColors'][_0x492c04(0x20b)](_0x3c9f50);const _0x23d943=Oe[this[_0x492c04(0x3b0)]];return this[_0x492c04(0x3b0)]=(this['_colorIndex']+0x1)%Oe[_0x492c04(0x1c9)],this[_0x492c04(0x385)][_0x492c04(0x249)](_0x3c9f50,_0x23d943),_0x23d943;}}function ye(_0x41acff){const _0xd73928=_0x11b7f7;let _0xfd5bb3='';for(const _0xdcbf52 of _0x41acff){const {startOffset:_0x3fa779,endOffset:_0x25e50e,isActive:_0x51ab73,rangeType:_0x3a34a0,segmentId:_0x2cccfc,segmentPage:_0x5b0a7c}=_0xdcbf52;_0xfd5bb3[_0xd73928(0x1c9)]&&(_0xfd5bb3+=','),_0xfd5bb3+=_0x3fa779+':'+_0x25e50e+':'+(_0x51ab73?'1':'0')+':'+_0x3a34a0+':'+_0x2cccfc+':'+_0x5b0a7c;}return _0xfd5bb3;}function lt(_0x2d7602){const _0x122b7a=_0x11b7f7,_0x145feb=_0x2d7602[_0x122b7a(0x215)](','),_0x3bc410=[];for(const _0x44f3a1 of _0x145feb){const [_0x1b9f3f,_0xe371d5,_0xaee448,_0x36ec19,_0x5f2339,_0x17a713]=_0x44f3a1[_0x122b7a(0x215)](':');_0x3bc410['push']({'startOffset':Number(_0x1b9f3f),'endOffset':Number(_0xe371d5),'collapsed':_0x1b9f3f===_0xe371d5,'isActive':_0xaee448==='1','rangeType':_0x36ec19===a[_0x122b7a(0x25d)][_0x122b7a(0x3c2)]?a['DOC_RANGE_TYPE'][_0x122b7a(0x3c2)]:a[_0x122b7a(0x25d)][_0x122b7a(0x28d)],'segmentId':typeof _0x5f2339==_0x122b7a(0x365)?String(_0x5f2339):'','segmentPage':Number(_0x17a713!=null?_0x17a713:-0x1)});}return _0x3bc410[_0x122b7a(0x171)](_0x10cdb4=>_0x10cdb4[_0x122b7a(0x3a6)])||(_0x3bc410[0x0][_0x122b7a(0x3a6)]=!0x0),_0x3bc410;}class pe extends a[_0x11b7f7(0x291)]{constructor(){const _0x56dfad=_0x11b7f7;super(...arguments),h(this,_0x56dfad(0x377),new d[(_0x56dfad(0x2ed))](null)),h(this,_0x56dfad(0x397),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x2a47e2){const _0x55897d=_0x11b7f7,{unitID:_0x4bd8dd,memberID:_0x3e8b91,textRanges:_0x4412b9}=_0x2a47e2,_0x2abbd8=ye(_0x4412b9);if(_0x2abbd8==='')return;const _0x4b471e={'unitID':_0x4bd8dd,'memberID':_0x3e8b91,'selection':_0x2abbd8};this[_0x55897d(0x377)][_0x55897d(0x316)](_0x4b471e);}}var _t=Object['getOwnPropertyDescriptor'],ht=(_0x109551,_0x1d000c,_0x6dc53f,_0x8db1cd)=>{const _0x1efc43=_0x11b7f7;for(var _0x5475ca=_0x8db1cd>0x1?void 0x0:_0x8db1cd?_t(_0x1d000c,_0x6dc53f):_0x1d000c,_0x456931=_0x109551[_0x1efc43(0x1c9)]-0x1,_0x3b1f2d;_0x456931>=0x0;_0x456931--)(_0x3b1f2d=_0x109551[_0x456931])&&(_0x5475ca=_0x3b1f2d(_0x5475ca)||_0x5475ca);return _0x5475ca;},L=(_0xbeebd2,_0xf2966)=>(_0x26c315,_0x5185e8)=>_0xf2966(_0x26c315,_0x5185e8,_0xbeebd2);const ut=0x12c,dt=0x64;let de=class extends a[_0x11b7f7(0x291)]{constructor(_0x2b733d,_0x1d2681,_0x1a76fa,_0x332fc9,_0x16ac22,_0x2177fb,_0xd5df4e,_0x4a7814,_0x18e7f2){const _0x4ee0b3=_0x11b7f7;super(),h(this,'_online',!0x1),h(this,_0x4ee0b3(0x20a),!0x1),h(this,_0x4ee0b3(0x2d7),new d[(_0x4ee0b3(0x2ed))](new Map())),h(this,_0x4ee0b3(0x242),this['_cursorInfo$'][_0x4ee0b3(0x1e4)]()),h(this,_0x4ee0b3(0x15c),new d[(_0x4ee0b3(0x2ed))]([])),h(this,_0x4ee0b3(0x1eb),this['_roomMembers$'][_0x4ee0b3(0x275)](d['debounceTime'](ut))),h(this,_0x4ee0b3(0x1e2),a[_0x4ee0b3(0x26f)](_0x470acd=>{const _0x8d2ec2=_0x4ee0b3,_0x7f9475={'eventID':m[_0x8d2ec2(0x198)][_0x8d2ec2(0x261)],'data':{'unitID':this['unitID'],'memberID':this[_0x8d2ec2(0x1b9)]['getMemberID'](),'selection':ye(_0x470acd)}};this['_session']['send'](_0x7f9475,this[_0x8d2ec2(0x33e)]);},dt)),(this[_0x4ee0b3(0x33e)]=_0x2b733d,this[_0x4ee0b3(0x1b9)]=_0x1d2681,this[_0x4ee0b3(0x29c)]=_0x1a76fa,this[_0x4ee0b3(0x339)]=_0x332fc9,this[_0x4ee0b3(0x2b6)]=_0x16ac22,this[_0x4ee0b3(0x1f7)]=_0x2177fb,this['_transformService']=_0xd5df4e,this[_0x4ee0b3(0x1b6)]=_0x4a7814,this[_0x4ee0b3(0x30f)]=_0x18e7f2);}get[_0x11b7f7(0x199)](){const _0xe34428=_0x11b7f7;return this['_cursorInfo$'][_0xe34428(0x23e)]();}get[_0x11b7f7(0x35e)](){const _0x49bc7d=_0x11b7f7;return this[_0x49bc7d(0x15c)][_0x49bc7d(0x23e)]();}['dispose'](){const _0x49edd5=_0x11b7f7;super[_0x49edd5(0x368)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x49edd5(0x316)]([]),this['_roomMembers$'][_0x49edd5(0x16e)]();}[_0x11b7f7(0x1b7)](){const _0x2e05eb=_0x11b7f7;this[_0x2e05eb(0x20a)]||(this['_init']=!0x0,this['_session'][_0x2e05eb(0x187)][_0x2e05eb(0x275)](d[_0x2e05eb(0x2fa)](this[_0x2e05eb(0x36a)]))[_0x2e05eb(0x367)](_0x59a2ce=>{const _0x59d8b6=_0x2e05eb;_0x59a2ce===u['SessionStatus'][_0x59d8b6(0x196)]?this['_toggleOnline']():this[_0x59d8b6(0x284)]();}),this[_0x2e05eb(0x1b9)][_0x2e05eb(0x176)][_0x2e05eb(0x275)](d[_0x2e05eb(0x2fa)](this[_0x2e05eb(0x36a)]))[_0x2e05eb(0x367)](_0x3cc322=>{const _0x498f3f=_0x2e05eb,_0x33acb4=_0x3cc322['eventID'];_0x33acb4===m[_0x498f3f(0x198)][_0x498f3f(0x261)]&&this[_0x498f3f(0x2d3)](_0x3cc322),_0x33acb4===m[_0x498f3f(0x198)][_0x498f3f(0x31e)]&&this[_0x498f3f(0x274)](_0x3cc322);}),this[_0x2e05eb(0x21c)](this[_0x2e05eb(0x30f)][_0x2e05eb(0x20d)](_0x49f636=>{const _0x39a4a7=_0x2e05eb,_0x276018=_0x49f636[_0x39a4a7(0x2b3)];_0x276018!=null&&this[_0x39a4a7(0x2c1)]&&_0x49f636['id']===Y[_0x39a4a7(0x204)]['id']&&_0x276018[_0x39a4a7(0x1b3)]===this['unitID']&&_0x276018[_0x39a4a7(0x36d)]===!0x1&&_0x276018[_0x39a4a7(0x2fc)][_0x39a4a7(0x1c9)]>0x0&&this['_updateLocalCursor'](_0x276018[_0x39a4a7(0x2fc)]);})),this[_0x2e05eb(0x1f7)]['collabCursorState$'][_0x2e05eb(0x275)](d[_0x2e05eb(0x2fa)](this[_0x2e05eb(0x36a)]))['subscribe'](_0x3c6624=>{const _0x649b28=_0x2e05eb;if((_0x3c6624==null?void 0x0:_0x3c6624[_0x649b28(0x33e)])!==this[_0x649b28(0x33e)])return;const _0x3a69c9={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x3c6624};this['_onCursorUpdate'](_0x3a69c9);}),this[_0x2e05eb(0x21c)](this[_0x2e05eb(0x30f)]['onCommandExecuted'](_0x7b147e=>{const _0x488fb9=_0x2e05eb;if(_0x7b147e[_0x488fb9(0x2b3)]==null)return;const _0x61062f=_0x7b147e[_0x488fb9(0x2b3)];if(_0x7b147e['id']!==Y[_0x488fb9(0x33b)]['id']||_0x61062f[_0x488fb9(0x1b3)]!==this['unitID'])return;const _0xd9c78e={'id':'doc.mutation.rich-text-editing','params':_0x61062f},_0x376b4e=this['cursorInfo'];for(const [_0x72aa71,_0x1cba73]of _0x376b4e){const _0x1f4026={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x488fb9(0x33e)],'actions':null,'textRanges':_0x1cba73[_0x488fb9(0x2fc)]}},_0x454c9a=this[_0x488fb9(0x1e9)]['transformMutation'](_0xd9c78e,_0x1f4026,!0x1);if(m[_0x488fb9(0x386)](_0x454c9a))throw _0x454c9a[_0x488fb9(0x2ec)];_0x376b4e['set'](_0x72aa71,{..._0x1cba73,'ranges':_0x454c9a[_0x488fb9(0x31a)]['params'][_0x488fb9(0x2ab)]});}queueMicrotask(()=>{const _0x590de6=_0x488fb9;this['_cursorInfo$'][_0x590de6(0x316)](_0x376b4e);});})));}[_0x11b7f7(0x2d3)](_0x49b291){const _0x437a0d=_0x11b7f7;var _0x113653,_0x30c24f;const {memberID:_0x4bf94c,selection:_0xb28a9f}=_0x49b291['data'],_0x34b077=lt(_0xb28a9f),_0x43517d=(_0x30c24f=(_0x113653=this[_0x437a0d(0x2b6)][_0x437a0d(0x327)](this['unitID'],_0x4bf94c))==null?void 0x0:_0x113653[_0x437a0d(0x2da)])!=null?_0x30c24f:_0x437a0d(0x214),_0x35c9d3={'color':this[_0x437a0d(0x339)]['assignAColorForMemberID'](_0x4bf94c),'name':_0x43517d,'ranges':_0x34b077},_0x622f33=this[_0x437a0d(0x199)];_0x622f33[_0x437a0d(0x249)](_0x4bf94c,_0x35c9d3),this[_0x437a0d(0x2d7)][_0x437a0d(0x316)](_0x622f33);}['_onCursorDelete'](_0x30e510){const _0x5d04b3=_0x11b7f7,{memberID:_0x19ddb2}=_0x30e510[_0x5d04b3(0x307)],_0x23bc30=this[_0x5d04b3(0x199)];_0x23bc30[_0x5d04b3(0x28f)](_0x19ddb2),this[_0x5d04b3(0x2d7)]['next'](_0x23bc30);}[_0x11b7f7(0x3c1)](){const _0x4af285=_0x11b7f7;var _0x23b654;if(this[_0x4af285(0x2c1)]=!0x0,((_0x23b654=this[_0x4af285(0x1b6)][_0x4af285(0x1e6)]())==null?void 0x0:_0x23b654[_0x4af285(0x15d)]())!==this['unitID'])return;const _0x413ef0=this['_injector'][_0x4af285(0x20b)](Y[_0x4af285(0x1d3)])[_0x4af285(0x1d2)]();Array[_0x4af285(0x3c9)](_0x413ef0)&&_0x413ef0[_0x4af285(0x1c9)]>0x0&&this[_0x4af285(0x1e2)](_0x413ef0);}[_0x11b7f7(0x284)](){const _0x3ca59c=_0x11b7f7;this[_0x3ca59c(0x2c1)]=!0x1;}};de=ht([L(0x2,a[_0x11b7f7(0x302)](a['Injector'])),L(0x3,a['Inject'](Ce)),L(0x4,a[_0x11b7f7(0x302)](u[_0x11b7f7(0x259)])),L(0x5,a[_0x11b7f7(0x302)](pe)),L(0x6,m[_0x11b7f7(0x26b)]),L(0x7,a[_0x11b7f7(0x37d)]),L(0x8,a[_0x11b7f7(0x33d)])],de);var St=Object[_0x11b7f7(0x269)],ft=(_0x18c7cd,_0x3ed5c1,_0xfac403,_0x362624)=>{const _0x2a3f10=_0x11b7f7;for(var _0x1069a8=_0x362624>0x1?void 0x0:_0x362624?St(_0x3ed5c1,_0xfac403):_0x3ed5c1,_0x4b7105=_0x18c7cd[_0x2a3f10(0x1c9)]-0x1,_0x25b428;_0x4b7105>=0x0;_0x4b7105--)(_0x25b428=_0x18c7cd[_0x4b7105])&&(_0x1069a8=_0x25b428(_0x1069a8)||_0x1069a8);return _0x1069a8;},A=(_0x54115,_0x1adfbf)=>(_0x18966c,_0x2bac53)=>_0x1adfbf(_0x18966c,_0x2bac53,_0x54115);const It=0x12c,vt=0x64,gt=()=>{let _0x10ac76=[],_0x57f18a=!0x1;return _0x122d84=>{const _0x9ffb04=_0x5c06;_0x10ac76[_0x9ffb04(0x30a)](_0x122d84),_0x57f18a||(_0x57f18a=!0x0,setTimeout(()=>{_0x10ac76['forEach'](_0x1cd030=>_0x1cd030()),_0x10ac76=[],_0x57f18a=!0x1;}));};};let Se=class extends a[_0x11b7f7(0x291)]{constructor(_0x14c82c,_0x2d1a7c,_0x41768e,_0x5bd51c,_0x38e58e,_0x532552,_0x321fb4,_0x4118da){const _0x1d3efc=_0x11b7f7;super(),h(this,_0x1d3efc(0x2c1),!0x1),h(this,'_init',!0x1),h(this,_0x1d3efc(0x2d7),new d[(_0x1d3efc(0x2ed))](new Map())),h(this,_0x1d3efc(0x242),this[_0x1d3efc(0x2d7)][_0x1d3efc(0x1e4)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,'roomMembers$',this[_0x1d3efc(0x15c)]['pipe'](d[_0x1d3efc(0x36f)](It))),h(this,'_updateLocalCursor',a[_0x1d3efc(0x26f)]((_0x26f142,_0x1dfa7c)=>{const _0x2f6c80=_0x1d3efc,_0x388ff3={'eventID':m[_0x2f6c80(0x198)][_0x2f6c80(0x261)],'data':{'unitID':this[_0x2f6c80(0x33e)],'memberID':this[_0x2f6c80(0x1b9)][_0x2f6c80(0x28b)](),'selection':Ee['serializeRangeWithSheet'](_0x26f142,_0x1dfa7c[_0x2f6c80(0x159)])}};this[_0x2f6c80(0x1b9)][_0x2f6c80(0x25c)](_0x388ff3,this[_0x2f6c80(0x33e)]);},vt)),(this[_0x1d3efc(0x33e)]=_0x14c82c,this[_0x1d3efc(0x1b9)]=_0x2d1a7c,this[_0x1d3efc(0x29c)]=_0x41768e,this['_colorAssignService']=_0x5bd51c,this[_0x1d3efc(0x2b6)]=_0x38e58e,this['_univerInstanceService']=_0x532552,this[_0x1d3efc(0x30f)]=_0x321fb4,this[_0x1d3efc(0x252)]=_0x4118da);}get[_0x11b7f7(0x199)](){const _0x17bfac=_0x11b7f7;return this[_0x17bfac(0x2d7)][_0x17bfac(0x23e)]();}get[_0x11b7f7(0x35e)](){const _0x1e74eb=_0x11b7f7;return this[_0x1e74eb(0x15c)][_0x1e74eb(0x23e)]();}[_0x11b7f7(0x368)](){const _0x54b968=_0x11b7f7;super[_0x54b968(0x368)](),this[_0x54b968(0x2d7)]['next'](new Map()),this[_0x54b968(0x2d7)]['complete'](),this[_0x54b968(0x15c)][_0x54b968(0x316)]([]),this[_0x54b968(0x15c)][_0x54b968(0x16e)]();}[_0x11b7f7(0x1b7)](){const _0x4d42d0=_0x11b7f7;this[_0x4d42d0(0x20a)]||(this[_0x4d42d0(0x20a)]=!0x0,this['_session'][_0x4d42d0(0x187)][_0x4d42d0(0x275)](d[_0x4d42d0(0x2fa)](this[_0x4d42d0(0x36a)]))['subscribe'](_0x430d5c=>{const _0x4d17aa=_0x4d42d0;_0x430d5c===u[_0x4d17aa(0x19b)][_0x4d17aa(0x196)]?this[_0x4d17aa(0x3c1)]():this[_0x4d17aa(0x284)]();}),this[_0x4d42d0(0x1b9)]['event$']['pipe'](d[_0x4d42d0(0x2fa)](this[_0x4d42d0(0x36a)]))[_0x4d42d0(0x367)](_0x4b9eea=>{const _0x48074b=_0x4d42d0,_0x41b3f5=_0x4b9eea['eventID'];_0x41b3f5===m[_0x48074b(0x198)][_0x48074b(0x261)]&&this[_0x48074b(0x2d3)](_0x4b9eea),_0x41b3f5===m['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b9eea);}),this[_0x4d42d0(0x2e1)](),this[_0x4d42d0(0x21c)](this[_0x4d42d0(0x30f)][_0x4d42d0(0x20d)](_0x2ddade=>{const _0x5df94d=_0x4d42d0;if(this[_0x5df94d(0x2c1)]&&_0x2ddade['id']===g['SetSelectionsOperation']['id']&&_0x2ddade[_0x5df94d(0x2b3)][_0x5df94d(0x1b3)]===this[_0x5df94d(0x33e)]){const _0xb21fdf=_0x2ddade['params'];this[_0x5df94d(0x1e2)](_0xb21fdf[_0x5df94d(0x3a8)],_0xb21fdf['selections'][0x0]);}})));}['_onCursorUpdate'](_0xc96c5a){const _0x2478c7=_0x11b7f7;var _0x1e51b1,_0x3e3c4d;const {memberID:_0x289828,selection:_0x3c5847}=_0xc96c5a[_0x2478c7(0x307)],{sheetName:_0x14103a,range:_0x57aa43}=Ee[_0x2478c7(0x318)](_0x3c5847),_0x1b80dc={'name':(_0x3e3c4d=(_0x1e51b1=this[_0x2478c7(0x2b6)][_0x2478c7(0x327)](this[_0x2478c7(0x33e)],_0x289828))==null?void 0x0:_0x1e51b1[_0x2478c7(0x2da)])!=null?_0x3e3c4d:_0x2478c7(0x214),'range':this[_0x2478c7(0x3bb)](_0x14103a,_0x57aa43),'sheetID':_0x14103a,'color':this[_0x2478c7(0x339)]['assignAColorForMemberID'](_0x289828),'selection':_0x3c5847},_0x49abf1=this['cursorInfo'];_0x49abf1[_0x2478c7(0x249)](_0x289828,_0x1b80dc),this[_0x2478c7(0x2d7)][_0x2478c7(0x316)](_0x49abf1);}['_onCursorDelete'](_0x558fd8){const _0x2bb4f6=_0x11b7f7,{memberID:_0xe5b68a}=_0x558fd8[_0x2bb4f6(0x307)],_0x1dba91=this['cursorInfo'];_0x1dba91[_0x2bb4f6(0x28f)](_0xe5b68a),this['_cursorInfo$'][_0x2bb4f6(0x316)](_0x1dba91);}['_getMergeRange'](_0x2b82a1,_0x1a447e){const _0x31ead2=_0x11b7f7;var _0x15f631,_0x4c09e6;const _0x501fad=(_0x4c09e6=(_0x15f631=this['_univerInstanceService'][_0x31ead2(0x3d2)](this['unitID']))==null?void 0x0:_0x15f631[_0x31ead2(0x2cd)](_0x2b82a1))==null?void 0x0:_0x4c09e6[_0x31ead2(0x1bf)]();return(_0x501fad==null?void 0x0:_0x501fad[_0x31ead2(0x30d)](_0x2484ba=>a[_0x31ead2(0x299)][_0x31ead2(0x297)](_0x2484ba,_0x1a447e)))||_0x1a447e;}[_0x11b7f7(0x2e1)](){const _0x3cbc02=_0x11b7f7,_0x9990fa=new a['DisposableCollection'](),_0x5b0e01=gt(),_0x179136=()=>{const _0x3efaf8=_0x5c06;_0x9990fa[_0x3efaf8(0x368)]();const _0x223084=(_0x27670a,_0x3506dd,_0x1f4e8e,_0x5c9450)=>{const _0x45484b=_0x3efaf8;let _0x1385eb=[];switch(_0x27670a['id']){case g['EffectRefRangId'][_0x45484b(0x333)]:{_0x1385eb=g[_0x45484b(0x28a)](_0x27670a,_0x5c9450);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1385eb=g[_0x45484b(0x2b9)](_0x27670a,_0x5c9450);break;}case g['EffectRefRangId'][_0x45484b(0x189)]:{_0x1385eb=g[_0x45484b(0x374)](_0x27670a,_0x5c9450);break;}case g[_0x45484b(0x373)][_0x45484b(0x1c5)]:{_0x1385eb=g[_0x45484b(0x16d)](_0x27670a,_0x5c9450);break;}case g[_0x45484b(0x373)]['InsertRangeMoveRightCommandId']:{_0x1385eb=g[_0x45484b(0x17c)](_0x27670a,_0x5c9450);break;}case g['EffectRefRangId'][_0x45484b(0x1e7)]:{_0x1385eb=g[_0x45484b(0x185)](_0x27670a,_0x5c9450);break;}case g['EffectRefRangId'][_0x45484b(0x178)]:{_0x1385eb=g[_0x45484b(0x387)](_0x27670a,_0x5c9450);break;}case g[_0x45484b(0x373)]['RemoveColCommandId']:{_0x1385eb=g[_0x45484b(0x360)](_0x27670a,_0x5c9450);break;}case g[_0x45484b(0x373)][_0x45484b(0x1c0)]:{_0x1385eb=g[_0x45484b(0x1a6)](_0x27670a,_0x5c9450);break;}}const _0x287f2f=g[_0x45484b(0x256)](_0x1385eb,_0x5c9450),_0x14de50=this['cursorInfo']['get'](_0x3506dd);if(_0x14de50&&_0x287f2f){const _0x2eb29a={..._0x14de50,'range':_0x287f2f};this[_0x45484b(0x199)][_0x45484b(0x249)](_0x3506dd,_0x2eb29a),_0x5b0e01(()=>{const _0x3766dc=_0x45484b,_0x126fa1=this['_refRangeService'][_0x3766dc(0x29f)](_0x287f2f,_0x1f2c89=>(_0x126fa1[_0x3766dc(0x368)](),_0x223084(_0x1f2c89,_0x3506dd,_0x1f4e8e,_0x287f2f)));_0x9990fa[_0x3766dc(0x258)](_0x126fa1);});}return{'redos':[],'undos':[]};};this[_0x3efaf8(0x199)][_0x3efaf8(0x203)]((_0x5e4a69,_0x141523)=>{const _0x1f0a41=_0x3efaf8,{range:_0xfff137,sheetID:_0x3c0f1e}=_0x5e4a69,_0x1b8378=this[_0x1f0a41(0x252)][_0x1f0a41(0x29f)](_0xfff137,_0x1dc1ab=>(_0x1b8378['dispose'](),_0x223084(_0x1dc1ab,_0x141523,_0x3c0f1e,_0xfff137)));_0x9990fa[_0x1f0a41(0x258)](_0x1b8378);});};this[_0x3cbc02(0x21c)](a[_0x3cbc02(0x236)](this['_cursorInfo$']['subscribe'](()=>{_0x179136();})));}[_0x11b7f7(0x3c1)](){const _0x322d99=_0x11b7f7;var _0x226b13,_0x445365;if(this[_0x322d99(0x2c1)]=!0x0,((_0x226b13=this[_0x322d99(0x1b6)][_0x322d99(0x1e6)]())==null?void 0x0:_0x226b13['getUnitId']())!==this['unitID'])return;const _0x1abbe2=(_0x445365=this['_injector'][_0x322d99(0x20b)](g[_0x322d99(0x344)])[_0x322d99(0x246)]())==null?void 0x0:_0x445365[0x0],_0x20181e=this[_0x322d99(0x1b6)][_0x322d99(0x378)](a[_0x322d99(0x228)][_0x322d99(0x1a9)])['getActiveSheet']();_0x1abbe2&&_0x20181e&&this[_0x322d99(0x1e2)](_0x20181e[_0x322d99(0x1f9)](),_0x1abbe2);}[_0x11b7f7(0x284)](){const _0x58adb7=_0x11b7f7;this[_0x58adb7(0x2c1)]=!0x1;}};Se=ft([A(0x2,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3b8)])),A(0x3,a[_0x11b7f7(0x302)](Ce)),A(0x4,a[_0x11b7f7(0x302)](u['MemberService'])),A(0x5,a[_0x11b7f7(0x37d)]),A(0x6,a[_0x11b7f7(0x33d)]),A(0x7,a[_0x11b7f7(0x302)](g[_0x11b7f7(0x15e)]))],Se);var mt=Object[_0x11b7f7(0x269)],Ct=(_0xa11b02,_0x45f95c,_0x31a68c,_0x1bab64)=>{const _0x5a762d=_0x11b7f7;for(var _0xdca2a6=_0x1bab64>0x1?void 0x0:_0x1bab64?mt(_0x45f95c,_0x31a68c):_0x45f95c,_0x18b58c=_0xa11b02[_0x5a762d(0x1c9)]-0x1,_0x437911;_0x18b58c>=0x0;_0x18b58c--)(_0x437911=_0xa11b02[_0x18b58c])&&(_0xdca2a6=_0x437911(_0xdca2a6)||_0xdca2a6);return _0xdca2a6;},ie=(_0x298ca0,_0x24b7b0)=>(_0x5c116f,_0x3a6287)=>_0x24b7b0(_0x5c116f,_0x3a6287,_0x298ca0);let x=class extends a[_0x11b7f7(0x291)]{constructor(_0x50bb9e,_0x188dbc,_0x5cc4e4){const _0x4d4e17=_0x11b7f7;super(),h(this,_0x4d4e17(0x2e4),new Map()),h(this,'_entityInit$',new d[(_0x4d4e17(0x3a3))]()),(this['_univerInstanceService']=_0x50bb9e,this[_0x4d4e17(0x29c)]=_0x188dbc,this[_0x4d4e17(0x1ca)]=_0x5cc4e4,this[_0x4d4e17(0x20a)]());}[_0x11b7f7(0x368)](){const _0x2d59e3=_0x11b7f7;super[_0x2d59e3(0x368)](),this['_entityInit$'][_0x2d59e3(0x16e)](),this[_0x2d59e3(0x2e4)]['forEach'](_0x738127=>_0x738127['dispose']());}[_0x11b7f7(0x1a3)](_0x38cd73){const _0x434934=_0x11b7f7;return this['_entities'][_0x434934(0x1e8)](_0x38cd73)?this[_0x434934(0x2e4)][_0x434934(0x20b)](_0x38cd73)[_0x434934(0x242)]:this[_0x434934(0x1de)][_0x434934(0x275)](d[_0x434934(0x2c8)](_0x5edc0f=>_0x5edc0f[_0x434934(0x33e)]===_0x38cd73),d[_0x434934(0x1f4)](_0x5e3c82=>_0x5e3c82[_0x434934(0x242)]));}[_0x11b7f7(0x20a)](){const _0x2e1d6d=_0x11b7f7;this['_univerInstanceService'][_0x2e1d6d(0x25a)](a[_0x2e1d6d(0x228)]['UNIVER_SHEET'])[_0x2e1d6d(0x275)](d['takeUntil'](this['dispose$']))['subscribe'](async _0xd3d041=>{const _0x54229e=_0x2e1d6d,_0x4d08dc=_0xd3d041['getUnitId'](),_0x55af69=await this[_0x54229e(0x22c)](_0x4d08dc);this[_0x54229e(0x1de)]['next'](_0x55af69),this[_0x54229e(0x2e4)][_0x54229e(0x249)](_0x4d08dc,_0x55af69);}),this[_0x2e1d6d(0x1b6)][_0x2e1d6d(0x25a)](a['UniverInstanceType']['UNIVER_DOC'])[_0x2e1d6d(0x275)](d[_0x2e1d6d(0x2fa)](this[_0x2e1d6d(0x36a)]))[_0x2e1d6d(0x275)](d[_0x2e1d6d(0x2c8)](_0x477957=>!_0x477957[_0x2e1d6d(0x15d)]()[_0x2e1d6d(0x17e)]('__')))[_0x2e1d6d(0x367)](async _0xb4a81d=>{const _0x543af5=_0x2e1d6d,_0x36cec4=_0xb4a81d[_0x543af5(0x15d)](),_0x5eb64c=await this['_startDocCollabCursor'](_0x36cec4);this[_0x543af5(0x1de)][_0x543af5(0x316)](_0x5eb64c),this['_entities'][_0x543af5(0x249)](_0x36cec4,_0x5eb64c);}),d[_0x2e1d6d(0x376)](this[_0x2e1d6d(0x1b6)][_0x2e1d6d(0x163)](a[_0x2e1d6d(0x228)][_0x2e1d6d(0x2ce)]),this['_univerInstanceService'][_0x2e1d6d(0x163)](a[_0x2e1d6d(0x228)][_0x2e1d6d(0x1a9)]))[_0x2e1d6d(0x275)](d[_0x2e1d6d(0x2fa)](this[_0x2e1d6d(0x36a)]))['subscribe'](_0x399d48=>{const _0x57542a=_0x2e1d6d,_0xc5c25c=_0x399d48[_0x57542a(0x15d)](),_0xa30b56=this['_entities'][_0x57542a(0x20b)](_0xc5c25c);_0xa30b56&&(_0xa30b56[_0x57542a(0x368)](),this[_0x57542a(0x2e4)][_0x57542a(0x28f)](_0xc5c25c));});}async['_startSheetCollabCursor'](_0x107aa7){const _0x5a16e9=_0x11b7f7,_0x4ffa5a=await this[_0x5a16e9(0x1ca)][_0x5a16e9(0x227)](_0x107aa7),_0x3c777e=this[_0x5a16e9(0x29c)][_0x5a16e9(0x38d)](Se,_0x107aa7,_0x4ffa5a);return _0x3c777e[_0x5a16e9(0x1b7)](),_0x3c777e;}async[_0x11b7f7(0x3aa)](_0x50e9ba){const _0x3d89da=_0x11b7f7,_0x91e5d6=await this['_collabSessionService'][_0x3d89da(0x227)](_0x50e9ba),_0x516a33=this['_injector'][_0x3d89da(0x38d)](de,_0x50e9ba,_0x91e5d6);return _0x516a33[_0x3d89da(0x1b7)](),_0x516a33;}};x=Ct([ie(0x0,a[_0x11b7f7(0x37d)]),ie(0x1,a[_0x11b7f7(0x302)](a['Injector'])),ie(0x2,a[_0x11b7f7(0x302)](u[_0x11b7f7(0x2cc)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x1caeec,_0x179ecf){const _0x28c005=_0x11b7f7;let {radius:_0x406f06,width:_0x1eaccb,height:_0x58888b}=_0x179ecf;_0x406f06=_0x406f06!=null?_0x406f06:0x0,_0x1eaccb=_0x1eaccb!=null?_0x1eaccb:0x1e,_0x58888b=_0x58888b!=null?_0x58888b:0x1e;let _0xd9d50b=0x0,_0x40b108=0x0,_0x522f7a=0x0;_0xd9d50b=_0x40b108=_0x522f7a=Math[_0x28c005(0x174)](_0x406f06,_0x1eaccb/0x2,_0x58888b/0x2),_0x1caeec[_0x28c005(0x201)](),_0x1caeec[_0x28c005(0x2b7)](_0xd9d50b,0x0),_0x1caeec['lineTo'](_0x1eaccb-_0x40b108,0x0),_0x1caeec[_0x28c005(0x254)](_0x1eaccb-_0x40b108,_0x40b108,_0x40b108,Math['PI']*0x3/0x2,0x0,!0x1),_0x1caeec[_0x28c005(0x1a4)](_0x1eaccb,_0x58888b-_0x522f7a),_0x1caeec['arc'](_0x1eaccb-_0x522f7a,_0x58888b-_0x522f7a,_0x522f7a,0x0,Math['PI']/0x2,!0x1),_0x1caeec[_0x28c005(0x1a4)](0x0,_0x58888b),_0x1caeec[_0x28c005(0x1a4)](0x0,_0xd9d50b),_0x1caeec[_0x28c005(0x254)](_0xd9d50b,_0xd9d50b,_0xd9d50b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1caeec[_0x28c005(0x1af)](),_0x179ecf[_0x28c005(0x22b)]&&(_0x1caeec[_0x28c005(0x207)](),_0x1caeec[_0x28c005(0x232)]=_0x179ecf[_0x28c005(0x22b)],_0x179ecf[_0x28c005(0x1dc)]==='evenodd'?_0x1caeec[_0x28c005(0x22b)](_0x28c005(0x218)):_0x1caeec[_0x28c005(0x22b)](),_0x1caeec[_0x28c005(0x22d)]());}class ee extends p[_0x11b7f7(0x331)]{constructor(_0x16b6d3,_0x177fec){const _0x4b6b23=_0x11b7f7;super(_0x16b6d3,_0x177fec),h(this,_0x4b6b23(0x247)),h(this,'text'),(this['color']=_0x177fec==null?void 0x0:_0x177fec[_0x4b6b23(0x247)],this['text']=_0x177fec==null?void 0x0:_0x177fec[_0x4b6b23(0x1cd)]);}static[_0x11b7f7(0x2d6)](_0x39992a,_0x1c3589){const _0xf6f655=_0x11b7f7,{text:_0x5d8ec3,color:_0x2a8ac3}=_0x1c3589;_0x39992a[_0xf6f655(0x207)](),_0x39992a['font']=_0xf6f655(0x2cf);const _0x28d1c5=_0x39992a[_0xf6f655(0x248)](_0x5d8ec3)[_0xf6f655(0x16b)],_0x1e7746=Math[_0xf6f655(0x174)](_0x28d1c5+0x2*ne,Te);Et(_0x39992a,{'height':W,'radius':0x4,'width':_0x1e7746,'fill':_0x2a8ac3}),_0x39992a[_0xf6f655(0x232)]=_0xf6f655(0x351);const _0x2655a2=ne,_0xecb3eb=W-pt,_0x5d2956=Te-0x2*ne;if(_0x28d1c5>_0x5d2956){let _0x160b5d='',_0x5278bc=0x0;for(const _0x426c85 of _0x5d8ec3){const _0x4ac9c9=_0x39992a[_0xf6f655(0x248)](_0x426c85)[_0xf6f655(0x16b)];if(_0x5278bc+_0x4ac9c9<=_0x5d2956-_0x39992a['measureText'](_0xf6f655(0x18f))[_0xf6f655(0x16b)])_0x160b5d+=_0x426c85,_0x5278bc+=_0x4ac9c9;else{_0x160b5d+='...';break;}}_0x39992a[_0xf6f655(0x27e)](_0x160b5d,_0x2655a2,_0xecb3eb);}else _0x39992a[_0xf6f655(0x27e)](_0x5d8ec3,_0x2655a2,_0xecb3eb);_0x39992a[_0xf6f655(0x22d)]();}[_0x11b7f7(0x3bc)](_0x50457c){ee['drawWith'](_0x50457c,this);}}const re=_0x11b7f7(0x35b),bt='collab-text-range-',Ot=_0x11b7f7(0x288),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x11b7f7(0x286);class Re{constructor(_0xf05e50,_0x5ba2c6,_0x147138,_0x245130){const _0x1477c1=_0x11b7f7;h(this,'_shapes',[]),h(this,_0x1477c1(0x2de),null),h(this,'_textBubble',null),h(this,_0x1477c1(0x371),null),h(this,_0x1477c1(0x399),null),h(this,'_eventUnsubscribe',null),(this[_0x1477c1(0x1ea)]=_0xf05e50,this[_0x1477c1(0x2d2)]=_0x5ba2c6,this[_0x1477c1(0x1ec)]=_0x147138,this[_0x1477c1(0x3a4)]=_0x245130,this[_0x1477c1(0x16c)]());}set[_0x11b7f7(0x3ae)](_0x5249b1){const _0x4ec997=_0x11b7f7;_0x5249b1?(this['_anchorDot']&&this[_0x4ec997(0x371)][_0x4ec997(0x34a)](),this[_0x4ec997(0x1d1)]&&this[_0x4ec997(0x1d1)]['show']()):(this[_0x4ec997(0x371)]&&this[_0x4ec997(0x371)]['show'](),this[_0x4ec997(0x1d1)]&&this[_0x4ec997(0x1d1)][_0x4ec997(0x34a)]());}['dispose'](){const _0x42ff69=_0x11b7f7;for(const _0x50c4da of this[_0x42ff69(0x2ea)])_0x50c4da[_0x42ff69(0x368)]();this[_0x42ff69(0x1d1)]&&this[_0x42ff69(0x1d1)][_0x42ff69(0x368)](),this[_0x42ff69(0x371)]&&this[_0x42ff69(0x371)][_0x42ff69(0x368)](),this[_0x42ff69(0x2de)]&&this['_anchor'][_0x42ff69(0x368)](),this[_0x42ff69(0x342)]&&this[_0x42ff69(0x342)]();}['_render'](){const _0x31228e=_0x11b7f7;var _0x372d40;const {_docSkeleton:_0x557011,_document:_0x3b6783}=this,{color:_0x2fd73f,name:_0x118bed,ranges:_0x4e004d}=this['_cursor'],_0x245ba4=_0x3b6783['getOffsetConfig'](),{docsLeft:_0x48e16a,docsTop:_0x5ce3af}=_0x245ba4,_0xf05fa1=new E[(_0x31228e(0x2e2))](_0x245ba4,_0x557011);for(const {startOffset:_0x14abbd,endOffset:_0x228815,rangeType:_0x5c99c4,segmentId:_0x25ce6c,segmentPage:_0x7c6bf6,collapsed:_0x4d0126,isActive:_0x265ff3}of _0x4e004d){const _0x3d4799=_0x557011['findNodePositionByCharIndex'](_0x14abbd,!0x0,_0x25ce6c,_0x7c6bf6);let _0x59fc72=_0x557011[_0x31228e(0x350)](_0x228815,!0x0,_0x25ce6c,_0x7c6bf6);if(_0x59fc72==null&&(_0x59fc72=_0x557011[_0x31228e(0x350)](_0x228815-0x1,!0x1,_0x25ce6c,_0x7c6bf6)),_0x265ff3){const {contentBoxPointGroup:_0x406e32}=_0xf05fa1['getRangePointData'](_0x59fc72,_0x59fc72);if(_0x406e32[_0x31228e(0x1c9)]===0x0)continue;this['_drawAnchor'](_0x2fd73f,_0x406e32,_0x48e16a,_0x5ce3af,_0x118bed),this[_0x31228e(0x342)]=this['_handleHover']();}if(_0x3d4799&&_0x59fc72){if(_0x5c99c4===a['DOC_RANGE_TYPE'][_0x31228e(0x28d)]){const _0x260901=new E['NodePositionConvertToRectRange'](_0x245ba4,_0x557011),{pointGroup:_0x4d48ae}=(_0x372d40=_0x260901[_0x31228e(0x1d4)](_0x3d4799,_0x59fc72))!=null?_0x372d40:{};if(_0x4d48ae==null||_0x4d48ae[_0x31228e(0x1c9)]===0x0)continue;this[_0x31228e(0x37a)](_0x2fd73f,_0x4d48ae,_0x48e16a,_0x5ce3af);}else{if(!_0x4d0126){const {borderBoxPointGroup:_0x7db12e}=_0xf05fa1['getRangePointData'](_0x3d4799,_0x59fc72);if(_0x7db12e[_0x31228e(0x1c9)]===0x0)continue;this['_drawTextRange'](_0x2fd73f,_0x7db12e,_0x48e16a,_0x5ce3af);}}}}}[_0x11b7f7(0x304)](_0x4cc571,_0x28322d,_0x39ec4d,_0xce42bb,_0x574e07){const _0x234557=_0x11b7f7,_0x12451e=this[_0x234557(0x3cd)](_0x28322d),{left:_0xea496a,top:_0x1e4ba0,height:_0x274070}=_0x12451e,_0x1239b9=this['_getScale'](),_0x461061=Rt/_0x1239b9,_0x17a7b3=new p['Rect'](re+a['generateRandomId'](F),{'left':_0xea496a+_0x39ec4d-_0x461061,'top':_0x1e4ba0+_0xce42bb,'height':_0x274070,'width':Tt,'fill':_0x4cc571||p[_0x234557(0x2b4)](a[_0x234557(0x396)][_0x234557(0x39c)],0x0),'strokeWidth':_0x461061,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x17a7b3,this[_0x234557(0x2d2)]['addObject'](_0x17a7b3,E['TEXT_RANGE_LAYER_INDEX']);const _0x231445=new p[(_0x234557(0x3be))](re+a[_0x234557(0x24e)](F),{'left':_0xea496a+_0x39ec4d-_0x461061,'top':_0x1e4ba0+_0xce42bb-oe/0x2,'height':oe,'width':oe,'fill':_0x4cc571||p[_0x234557(0x2b4)](a[_0x234557(0x396)][_0x234557(0x39c)],0x0),'strokeWidth':0x0,'stroke':_0x4cc571||p[_0x234557(0x2b4)](a[_0x234557(0x396)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x231445,this[_0x234557(0x2d2)]['addObject'](_0x231445,E['TEXT_RANGE_LAYER_INDEX']);const _0x5cc2ec=new ee(re+a[_0x234557(0x24e)](F),{'left':_0xea496a+_0x39ec4d-_0x461061,'top':_0x1e4ba0+_0xce42bb-W,'text':_0x574e07,'color':_0x4cc571});this[_0x234557(0x1d1)]=_0x5cc2ec,this['_scene'][_0x234557(0x1df)](_0x5cc2ec,E['TEXT_RANGE_LAYER_INDEX']),this[_0x234557(0x3ae)]=!0x1;}[_0x11b7f7(0x2a4)](){const _0xf1b3b6=_0x11b7f7,_0x541f93=this[_0xf1b3b6(0x2de)][_0xf1b3b6(0x3cb)][_0xf1b3b6(0x1a5)](()=>{this['_hover']=!0x0;}),_0x20299f=this[_0xf1b3b6(0x2de)][_0xf1b3b6(0x349)][_0xf1b3b6(0x1a5)](()=>{const _0x78bad1=_0xf1b3b6;this[_0x78bad1(0x399)]&&clearTimeout(this[_0x78bad1(0x399)]),this[_0x78bad1(0x399)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x541f93['unsubscribe'](),_0x20299f['unsubscribe']();};}[_0x11b7f7(0x190)](_0x4244b2,_0x4ad512,_0x309339,_0x2874c0){const _0xe5f9e2=_0x11b7f7,_0x296c1c=new a['ColorKit'](_0x4244b2)[_0xe5f9e2(0x19f)](0.2)[_0xe5f9e2(0x335)](),_0x2af784=new p['RegularPolygon'](bt+a[_0xe5f9e2(0x24e)](F),{'pointsGroup':_0x4ad512,'fill':_0x296c1c||p[_0xe5f9e2(0x2b4)](a[_0xe5f9e2(0x396)]['black'],0.2),'left':_0x309339,'top':_0x2874c0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe5f9e2(0x2ea)][_0xe5f9e2(0x30a)](_0x2af784),this[_0xe5f9e2(0x2d2)][_0xe5f9e2(0x1df)](_0x2af784,E[_0xe5f9e2(0x347)]);}['_drawRectRange'](_0x22acc1,_0x2a57c5,_0x52b677,_0x621249){const _0x317959=_0x11b7f7,_0x5aac6b=new a[(_0x317959(0x389))](_0x22acc1)[_0x317959(0x19f)](0.2)[_0x317959(0x335)](),_0x5e95e3=new p['RegularPolygon'](Ot+a[_0x317959(0x24e)](F),{'pointsGroup':_0x2a57c5,'fill':_0x5aac6b||p['getColor'](a[_0x317959(0x396)][_0x317959(0x39c)],0.2),'left':_0x52b677,'top':_0x621249,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x317959(0x2ea)][_0x317959(0x30a)](_0x5e95e3),this[_0x317959(0x2d2)]['addObject'](_0x5e95e3,E[_0x317959(0x347)]);}[_0x11b7f7(0x3cd)](_0x46595b){const _0x24fcb9=_0x46595b[0x0],_0x18342c=_0x24fcb9[0x0],_0x393dab=_0x24fcb9[0x2],{x:_0x39a36b,y:_0x137db3}=_0x18342c,{x:_0x5dbb9f,y:_0x5d5f4e}=_0x393dab;return{'left':_0x39a36b,'top':_0x137db3,'width':_0x5dbb9f-_0x39a36b,'height':_0x5d5f4e-_0x137db3};}['_getScale'](){const _0x2031f5=_0x11b7f7,{scaleX:_0x2b6883,scaleY:_0x41d84d}=this[_0x2031f5(0x2d2)][_0x2031f5(0x2c7)]();return Math[_0x2031f5(0x29e)](_0x2b6883,_0x41d84d);}}var Ut=Object[_0x11b7f7(0x269)],Nt=(_0x4273e4,_0x1bae6e,_0x58a94d,_0x178b03)=>{const _0x5b3d61=_0x11b7f7;for(var _0x20c044=_0x178b03>0x1?void 0x0:_0x178b03?Ut(_0x1bae6e,_0x58a94d):_0x1bae6e,_0x4fbafc=_0x4273e4[_0x5b3d61(0x1c9)]-0x1,_0x98e20c;_0x4fbafc>=0x0;_0x4fbafc--)(_0x98e20c=_0x4273e4[_0x4fbafc])&&(_0x20c044=_0x98e20c(_0x20c044)||_0x20c044);return _0x20c044;},X=(_0x2eaba4,_0x343604)=>(_0x20d9d9,_0x4f08c3)=>_0x343604(_0x20d9d9,_0x4f08c3,_0x2eaba4);let fe=class extends a[_0x11b7f7(0x291)]{constructor(_0x279c97,_0xf75a0d,_0x2a5405,_0x420655,_0x37829c){const _0x1699c0=_0x11b7f7;super(),h(this,_0x1699c0(0x2c0),[]),h(this,_0x1699c0(0x168),[]),(this[_0x1699c0(0x2a6)]=_0x279c97,this[_0x1699c0(0x1f2)]=_0xf75a0d,this[_0x1699c0(0x348)]=_0x2a5405,this[_0x1699c0(0x30f)]=_0x420655,this[_0x1699c0(0x37c)]=_0x37829c,this[_0x1699c0(0x20a)]());}[_0x11b7f7(0x20a)](){const _0x439eb7=_0x11b7f7,_0x165131=this['_context'][_0x439eb7(0x1b3)],_0x3ef182=this[_0x439eb7(0x1f2)];this[_0x439eb7(0x21c)](d['combineLatest']([this[_0x439eb7(0x348)]['getCollabCursors$'](_0x165131),this[_0x439eb7(0x37c)][_0x439eb7(0x210)]])[_0x439eb7(0x275)]($[_0x439eb7(0x1ee)](([_0x4c42b1,_0x42d62a])=>({'skeleton':_0x3ef182[_0x439eb7(0x1ed)](),'cursors':[..._0x4c42b1[_0x439eb7(0x3b4)]()][_0x439eb7(0x260)](_0x30db9b=>({..._0x30db9b,'color':this[_0x439eb7(0x37c)][_0x439eb7(0x292)](_0x30db9b[_0x439eb7(0x247)])}))})))['subscribe'](_0x10edf7=>{const _0x6dc9e2=_0x439eb7;if(this[_0x6dc9e2(0x268)](),_0x10edf7){const {skeleton:_0x2c9d0c,cursors:_0x115cc9}=_0x10edf7;this[_0x6dc9e2(0x289)](_0x2c9d0c,_0x115cc9);}})),this[_0x439eb7(0x2b1)](),this[_0x439eb7(0x241)]();}[_0x11b7f7(0x289)](_0x4129af,_0x1f103f){const _0x37cfaf=_0x11b7f7,{scene:_0x4d26af,mainComponent:_0x5893ac}=this[_0x37cfaf(0x2a6)],_0x481d9b=_0x1f103f[_0x37cfaf(0x1ee)](_0x5e3356=>new Re(_0x5e3356,_0x4d26af,_0x4129af,_0x5893ac));this[_0x37cfaf(0x2c0)]=_0x481d9b,this[_0x37cfaf(0x168)]=_0x1f103f;}[_0x11b7f7(0x2e5)](){const _0x2f9d5d=_0x11b7f7;this['_removeCollabCursors']();const {scene:_0x4feeb3,mainComponent:_0x4937ee}=this[_0x2f9d5d(0x2a6)],_0x356590=this[_0x2f9d5d(0x1f2)][_0x2f9d5d(0x1ed)](),_0x3eb1f2=this['_cursors'][_0x2f9d5d(0x1ee)](_0x100b33=>new Re(_0x100b33,_0x4feeb3,_0x356590,_0x4937ee));this[_0x2f9d5d(0x2c0)]=_0x3eb1f2;}[_0x11b7f7(0x268)](){const _0x3e066d=_0x11b7f7;this['_cursorShapes']['forEach'](_0x5b543d=>_0x5b543d[_0x3e066d(0x368)]()),this[_0x3e066d(0x2c0)]=[];}[_0x11b7f7(0x241)](){const _0x35337f=_0x11b7f7,_0x4f7fed=[E[_0x35337f(0x2bf)]['id']];this['disposeWithMe'](this[_0x35337f(0x30f)]['onCommandExecuted'](_0x3ffd43=>{const _0x39aa28=_0x35337f;_0x4f7fed['includes'](_0x3ffd43['id'])&&_0x3ffd43['params'][_0x39aa28(0x1b3)]===this[_0x39aa28(0x2a6)][_0x39aa28(0x1b3)]&&this[_0x39aa28(0x2e5)]();}));}['_initResize'](){const _0x4ee89a=_0x11b7f7;this['disposeWithMe'](a['fromEventSubject'](this[_0x4ee89a(0x2a6)][_0x4ee89a(0x2d0)][_0x4ee89a(0x317)])[_0x4ee89a(0x275)]($['filter'](_0x3b9d7c=>_0x3b9d7c[_0x4ee89a(0x3b1)]===p[_0x4ee89a(0x321)][_0x4ee89a(0x15b)]),$[_0x4ee89a(0x3b2)](0x10))[_0x4ee89a(0x367)](()=>{const _0x1cd4c3=_0x4ee89a;this[_0x1cd4c3(0x2e5)]();}));}};fe=Nt([X(0x1,a[_0x11b7f7(0x302)](Y[_0x11b7f7(0x1bd)])),X(0x2,a[_0x11b7f7(0x302)](x)),X(0x3,a[_0x11b7f7(0x33d)]),X(0x4,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3c6)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x11b7f7(0x331)]{constructor(_0x361c37,_0x214f7f){const _0x55f78a=_0x11b7f7;super(_0x361c37,_0x214f7f),h(this,_0x55f78a(0x157)),h(this,_0x55f78a(0x167),!0x1),h(this,'_range'),h(this,'_name',''),h(this,'_labelPosition',_0x55f78a(0x2ef)),h(this,'_backgroundColor'),(_0x214f7f&&this[_0x55f78a(0x372)](_0x214f7f),this[_0x55f78a(0x3cb)][_0x55f78a(0x1a5)](()=>this[_0x55f78a(0x372)]({'hovered':!0x0})),this['onPointerLeave$'][_0x55f78a(0x1a5)](()=>this[_0x55f78a(0x372)]({'hovered':!0x1})));}[_0x11b7f7(0x372)](_0x2accb7){const _0x48e780=_0x11b7f7;var _0x55ecd9,_0x290746,_0x941f2b,_0x171810,_0xfb25bf,_0x1585b8;this[_0x48e780(0x157)]=(_0x55ecd9=_0x2accb7[_0x48e780(0x247)])!=null?_0x55ecd9:this[_0x48e780(0x157)],this[_0x48e780(0x167)]=(_0x290746=_0x2accb7['hovered'])!=null?_0x290746:this[_0x48e780(0x167)],this[_0x48e780(0x1f6)]=(_0x941f2b=_0x2accb7['range'])!=null?_0x941f2b:this[_0x48e780(0x1f6)],this[_0x48e780(0x194)]=(_0x171810=_0x2accb7[_0x48e780(0x2da)])!=null?_0x171810:this[_0x48e780(0x194)],this['_labelPosition']=(_0xfb25bf=_0x2accb7[_0x48e780(0x21b)])!=null?_0xfb25bf:this[_0x48e780(0x2fe)],this[_0x48e780(0x188)]=(_0x1585b8=_0x2accb7['backgroundColor'])!=null?_0x1585b8:this[_0x48e780(0x188)],this[_0x48e780(0x213)]({'width':_0x2accb7[_0x48e780(0x16b)],'height':_0x2accb7['height']});}['onMouseMove'](_0x4c5915){const _0x351b75=_0x11b7f7,{row:_0x46ef2c,column:_0x2a9ad8}=_0x4c5915;if(_0x46ef2c>=this[_0x351b75(0x1f6)][_0x351b75(0x2bc)]&&_0x46ef2c<=this[_0x351b75(0x1f6)][_0x351b75(0x36c)]&&_0x2a9ad8>=this[_0x351b75(0x1f6)][_0x351b75(0x2e3)]&&_0x2a9ad8<=this[_0x351b75(0x1f6)]['endColumn']){this[_0x351b75(0x372)]({'hovered':!0x0});return;}this[_0x351b75(0x372)]({'hovered':!0x1});}[_0x11b7f7(0x1da)](_0x2fff45){return!0x1;}[_0x11b7f7(0x3bc)](_0x5a4080){const _0x1c67a6=_0x11b7f7;p['Rect'][_0x1c67a6(0x2d6)](_0x5a4080,{'width':this['width'],'height':this[_0x1c67a6(0x1a8)],'strokeWidth':Lt,'stroke':this[_0x1c67a6(0x157)],'evented':!0x1,'fill':this[_0x1c67a6(0x188)]}),this['_hovered']&&(_0x5a4080['save'](),_0x5a4080['transform'](0x1,0x0,0x0,0x1,this[_0x1c67a6(0x16b)],this[_0x1c67a6(0x2fe)]==='bottom'?0x0:-W),ee[_0x1c67a6(0x2d6)](_0x5a4080,{'text':this[_0x1c67a6(0x194)],'color':this[_0x1c67a6(0x157)]}),_0x5a4080[_0x1c67a6(0x22d)]());}}var Pt=Object[_0x11b7f7(0x269)],wt=(_0x475d56,_0x21abcd,_0x36d9f7,_0x5c5e46)=>{for(var _0x5af296=_0x5c5e46>0x1?void 0x0:_0x5c5e46?Pt(_0x21abcd,_0x36d9f7):_0x21abcd,_0x396d71=_0x475d56['length']-0x1,_0x4898d9;_0x396d71>=0x0;_0x396d71--)(_0x4898d9=_0x475d56[_0x396d71])&&(_0x5af296=_0x4898d9(_0x5af296)||_0x5af296);return _0x5af296;},ae=(_0x3e57c2,_0xa49149)=>(_0x4bd82f,_0x59f850)=>_0xa49149(_0x4bd82f,_0x59f850,_0x3e57c2);const At=0x1389;function _0x2ac0(){const _0x3b0ec0=['UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ILogService','loadUnit','_scheduleHeartbeat','_scheduleClearOtherTimer','IDocClipboardService','IRenderManagerService','requireSession','UniverInstanceType','YUUMI_URL_COL_OUT_OF_RANGE','LOCAL_CACHE_INTERVAL','fill','_startSheetCollabCursor','restore','_docTransformStateCacheService','touchDependencies','connectInjector','APPLY_PERMISSION_DENIED','fillStyle','CONNECTOR_DATA_TOO_LARGE','273QjXGtw','_sheetSkeletonManagerService','toDisposable','size','APPLY_NON_SEQUENTIAL_REVISION','syncEditingCollabCursor','1em','_registerDependencies','getCellPositionByOffset','_initStatusListener','getValue','_collaborationUIEventService','replaceState','_initCommandExecutedListener','cursorInfo$','mapTo','use','SOCKET_FAILED_RETRY','getCurrentSelections','color','measureText','set','INVITE_CODE_REQUIRED','updateOfflineData','transformMutation','propertyIsEnumerable','generateRandomId','2710ggVvPG','tag','runId','_refRangeService','VIEW_MAIN','arc','getViewport','runRefRangeMutations','Error','add','MemberService','getTypeOfUnitAdded$','clipPath','send','DOC_RANGE_TYPE','SOCKET_FAILED','setTimeout','flatMap','UPDATE_CURSOR','getConfig','_beforeCloseService','transformStateCache','UniverCollaborationClientUIPlugin','useDependency','YUUMI_SUBSCRIPTION_NOT_FOUND','_removeCollabCursors','getOwnPropertyDescriptor','all','ITransformService','PENDING','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MessageType','debounce','path','red.300','_renderManagerService','setStateCache','_onCursorDelete','pipe','_id','1267igpwfc','location','setConfig','APPLY_DUPLICATED','on-line-icon_clip0_910_349','ISnapshotServerService','selection','fillText','univer-flex\x20univer-items-center','xlink:href','code','jiqing.500','column','_toggleOffline','createSocket','rgba(255,\x20255,\x20255,\x200.01)','334638yeGqrv','collab-rect-range-','_updateCollabCursors','handleDeleteRangeMoveLeft','getMemberID','m1Prime','RECT','defIds','delete','pluginName','RxDisposable','getColorFromTheme','YUUMI_NO_CUBOID_FOR_QUESTION','key','_initEntityListener','disposeUnit','contains','BrowserCollaborationSocketService','Rectangle','memberID','extend','_injector','useObservable','max','registerRefRange','INotificationService','override','IMessageService','transformRemoteChangeset','_handleHover','_status$','_context','YUUMI_TABLE_NOT_FOUND_IN_UNIT','attrs','clsx','collabStatus.offline','textRanges','_logService','imageSourceType','defineProperty','isTransformMutationsWithChangesetSuccess','SheetCollabCursorShape','_initResize','getVpScrollXYInfoByPosToVp','params','getColor','deepClone','_memberService','moveTo','currentColor','handleDeleteRangeMoveUp','mergeOverrideWithDependencies','executionId','startRow','1903341zgLRTn','LICENSE_EXPORT_SIZE_EXCEEDED','SetDocZoomRatioOperation','_cursorShapes','_online','_selfUnitIDs','fromEvent','setParam','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','blue.400','getAncestorScale','filter','MUTATION','addObjects','skeleton','CollaborationSessionService','getSheetBySheetId','UNIVER_DOC','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','engine','_localCacheService','_scene','_onCursorUpdate','origin','MOBILE_VERIFY_CODE_MISMATCH','drawWith','_cursorInfo$','CollaborationStatus','collab-client.tooltip.reconnect','name','addClipboardHook','_lastPointer','_createSocketURL','_anchor','undoState','0\x200\x2017\x2016','_onRefRangeChange','NodePositionConvertToCursor','startColumn','_entities','_refreshCollabCursors','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PERMISSION_DENIED','addHandlerCallback','transformMutationsWithChangeset','_shapes','IUIPartsService','error','BehaviorSubject','pushState','top','_imageIoService','NOT_FOUND','INVITE_CODE_ALREADY_BOUND','unit','AWAITING','OTHER_CLIENT_EDITING','getParam','CollaborationUIEventId','_docStateChangeManagerService','CollaborationSocketService','takeUntil','defs','ranges','entries','_labelPosition','ALREADY_EXISTS','getCoordByCell','_instanceService','Inject','subunit','_drawAnchor','_unitStatus','LICENSE_DISTRO_REJECTED','data','mask','LICENSE_IMPORT_SIZE_EXCEEDED','push','status$','shareReplay','find','purple.300','_commandService','useRef','SYNCED','_handleEvent','UNAUTHENTICATED','stringify','none','next','onTransformChange$','deserializeRangeWithSheet','call','m2Prime','currentSkeleton$','from','activeSheet$','USERS_LEAVE','_docClipboardService','DocStateChangeManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MOBILE_HAS_BEEN_BOUND','getUnhiddenWorksheets','CONFLICT','runOnServer','_docTransformSelectionsService','getMember','ENSURE_SNAPSHOT_EXECUTION','collaboration.closeRoom','76408rtCwKn','_docTransformIMECacheService','LocaleService','setItem','exhaustSavingTask','result','_registerRenderDependencies','Shape','row','DeleteRangeMoveLeftCommandId','debug','toRgbString','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getActiveRange','children','_colorAssignService','APPLY_REVISION_CONFILICT','RichTextEditingMutation','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ICommandService','unitID','NOT_COLLAB','SNAPSHOT_HAS_BEEN_REMOVED','_heartbeatTimer','_eventUnsubscribe','getOwnPropertySymbols','SheetsSelectionsService','OffLineIcon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TEXT_RANGE_LAYER_INDEX','_collabCursorController','onPointerLeave$','hide','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','_localeService','WebBrowserSingleActiveUnitService','_unitOnClients','mutations','findNodePositionByCharIndex','#FFF','YUUMI_CONNECTOR_URL_NOT_FOUND','_saveTaskMap','_updateSubUnitFromURLParams','unload','hasOwnProperty','_getSessionTicket','collabStatus.fetchMiss','collaboration-client-ui.config','_transformPreviousActiveRange','collab-text-anchor-','white','icon','roomMembers','newValue','handleIRemoveCol','BuiltInUIPart','round','univer-mr-2\x20univer-flex\x20univer-text-xl','NO_OTHER_CLIENTS_EDITING','string','_urlService','subscribe','dispose','whenReady','dispose$','_handleJoinEvent','endRow','isEditing','RevisionService','debounceTime','saveOfflineData','_anchorDot','setShapeProps','EffectRefRangId','handleInsertCol','getCurrentRevOfUnit','merge','_collabCursorState$','getCurrentUnitForType','addEventListener','_drawRectRange','getUndoRedoMutationParamsCache','_themeService','IUniverInstanceService','TOO_MANY_REQUESTS','1645284CZSatt','assignAColorForMemberID','335USDJQw','registerDependencies','Warning','collaboration-client.offline-data-not-saved','_assignedColors','isTransformMutationFailure','handleMoveRange','CollaborationUIEventService','ColorKit','_updateURLWithCurrentState','DocIMEInputManagerService','LOGIN_FAILED','createInstance','http://www.w3.org/2000/svg','DesktopCollaborationStatusDisplayController','getCollabEntity$','_send','YUUMI_UNABLE_LOAD_URL','DEFAULT_WS_SESSION_TICKET_URL','unshift','getSheetObject','COLORS','collabCursorState$','docStateChange$','_hideTimer','urlChange$','Disposable','black','makeDirty','_clearOtherTimers','prototype','CollaborationDataLoaderController','Workbook','indexOf','Subject','_document','YUUMI_ALL_TABLES_IS_INVALID','isActive','show','subUnitId','CommandType','_startDocCollabCursor','_saveCache','UNDEFINED','_setupSubUnitSync','_hover','_handleLeaveEvent','_colorIndex','type','throttleTime','actions','values','toString','SHEET_VIEWPORT_KEY','registerComponent','Injector','then','SNAPSHOT_INVALID_SNAPSHOT','_getMergeRange','_draw','enableLocalCache','Rect','permission.content','AWAITING_WITH_PENDING','_toggleOnline','TEXT','_handleHeartbeatEvent','YUUMI_RATE_OVER_LIMIT','SetWorksheetActivateCommand','ThemeService','displayName','registerRenderModule','isArray','RemoteUniscriptService','onPointerEnter$','sessionTicket','_getAnchorBounding','href','Vector2','getStateCache','_scheduleSaving','getUniverSheetInstance','[CollaborationDataLoaderController]','HTTPService','searchParams','_color','body','range','substring','resize','_roomMembers$','getUnitId','RefRangeService','EMAIL_VERIFY_CODE_MISMATCH','FromArray','ACTIVE_UNIT_EVENT_CHANNEL','assign','getTypeOfUnitDisposed$','parse','distinctUntilChanged','_collaborationController','_hovered','_cursors','_localStorageService','_cachedData','width','_render','handleInsertRangeMoveDown','complete','translate(.97)','forwardRef','some','_initDependencies','wsSessionTicketUrl','min','DependentOn','event$','WECHAT_HAS_BEEN_BOUND','MoveRangeCommandId','OnLineIcon','USER_NOT_INVITED_CODE','uni.network.url-service','handleInsertRangeMoveRight','off-line-icon','startsWith','_disabled','off-line-icon_clip0_910_343','session.will-retry','div','onLocalMutation','transformSelections','handleInsertRow','storage','sessionStatus$','_backgroundColor','InsertColCommandId','createElement','INTERNAL_ERROR','clearTimeout','concat','Module','...','_drawTextRange','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVITE_CODE_HAS_BEEN_UES','YUUMI_ASYNCIO_CANCELLED','_name','colorChannel1','ONLINE','_getSheetObject','CollaborationEvent','cursorInfo','Failed','SessionStatus','ILocalStorageService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','INVALID_INVITE_CODE','setAlpha','_configService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sheetId','getCollabCursors$','lineTo','subscribeEvent','handleIRemoveRow','PY_RUNTIME_SCRIPT_ERROR','height','UNIVER_SHEET','jsx','invokeId','_initEvent','getRenderById','_config','closePath','42076pJgwhH','CollaborationController','idSuffix','unitId','transformIMECache','_removeClearOtherTimer','_univerInstanceService','init','collabStatus.notCollab','_session','doc.mutation.rich-text-editing','IURLService','bottom','DocSkeletonManagerService','APPLY_REJECT','getMergeData','RemoveRowCommandId','80pGbPVB','saveTaskMap','session.collaboration-timeout','4700400xxOwec','InsertRangeMoveDownCommandId','_dataLoaderService','YUUMI_AI_RUN_FAILED','_messageService','length','_collabSessionService','jsxs','LICENSE_MAX_UNITS_EXCEEDED','text','getActiveSheet','EMAIL_HAS_BEEN_BOUND','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','_textBubble','getDocRanges','DocSelectionManagerService','getRangePointData','_ensureSubject','_revisionService','OTHER_CLIENTS_EDITING','IConfigService','disableLocalCache','triggerDblclick','_uiPartsService','fillRule','useCallback','_entityInit$','addObject','WebURLService','with','_updateLocalCursor','symbol','asObservable','Tools','getFocusedUnit','InsertRowCommandId','has','_transformService','_cursor','roomMembers$','_docSkeleton','getSkeleton','map','setUndoRedoMutationParamsCache','redoState','setInterval','_docSkeletonManagerService','clearInterval','switchMap','_transformUndoRedoStack','_range','_syncEditingCollabCursorService','_transformHistoryAndStateStack','getSheetId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','svg','function','CHANGESET_REVISION_CONFILICT','CLOSE_ROOM','_docSyncEditingCollabCursorService','on-line-icon','beginPath','UnitStatus','forEach','SetTextSelectionsOperation','_setupBeforeClosingHandler','toStringTag','save','_httpService','includes','_init','get','className','onCommandExecuted','getLocalCacheKey','url(#$1','currentTheme$','history','OFFLINE','transformByState','Unknown\x20user','split','IRemoteInstanceService','ILocalCacheService','evenodd','loadOfflineData','_notificationService','labelPosition','disposeWithMe','M0\x200H16V16H0z','sheetID','_getSaveTimeout'];_0x2ac0=function(){return _0x3b0ec0;};return _0x2ac0();}let Ie=class extends a[_0x11b7f7(0x291)]{constructor(_0x57c9c7,_0x345bdb,_0xa0d98,_0x2c5ee8){const _0x2e7170=_0x11b7f7;super(),h(this,_0x2e7170(0x168),new Set()),h(this,_0x2e7170(0x2dc),null),(this[_0x2e7170(0x2a6)]=_0x57c9c7,this[_0x2e7170(0x235)]=_0x345bdb,this[_0x2e7170(0x348)]=_0xa0d98,this[_0x2e7170(0x37c)]=_0x2c5ee8,this[_0x2e7170(0x20a)]());}[_0x11b7f7(0x20a)](){const _0x1309c3=_0x11b7f7;this[_0x1309c3(0x235)][_0x1309c3(0x31b)][_0x1309c3(0x275)]($['takeUntil'](this['dispose$']),$[_0x1309c3(0x1f4)](_0x4405a8=>{const _0x39f193=_0x1309c3;if(_0x4405a8){const _0x19d2d2=_0x4405a8[_0x39f193(0x1a2)];return d['combineLatest'](this[_0x39f193(0x348)]['getCollabCursors$'](this['_context'][_0x39f193(0x1b3)]),this[_0x39f193(0x37c)][_0x39f193(0x210)])[_0x39f193(0x275)]($[_0x39f193(0x1ee)](([_0x38dedf,_0x462ff9])=>{const _0x162de1=_0x39f193,_0x4a0390=new Map();return _0x38dedf[_0x162de1(0x203)]((_0x119792,_0x394b11)=>{const _0x48bee9=_0x162de1;if(_0x119792[_0x48bee9(0x21e)]===_0x19d2d2){const _0xddf018={..._0x119792};_0xddf018['color']=this[_0x48bee9(0x37c)][_0x48bee9(0x292)](_0x119792['color']),_0x4a0390['set'](_0x394b11,_0xddf018);}}),{'skeleton':_0x4405a8,'cursors':_0x4a0390};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3320d7,cursors:_0x1ec34b})=>{const _0x18b158=_0x1309c3;this[_0x18b158(0x268)](),_0x3320d7&&this[_0x18b158(0x289)](_0x3320d7,_0x1ec34b);}),this[_0x1309c3(0x235)]['currentSkeleton$']['subscribe'](_0x5874e6=>{const _0x305371=_0x1309c3;if(_0x5874e6==null)return;const {skeleton:_0x21496f}=_0x5874e6,{scene:_0x5b6115}=this[_0x305371(0x2a6)];_0x5b6115['onPointerMove$'][_0x305371(0x1a5)](a[_0x305371(0x26f)](_0x9f714d=>{const _0x3df5e7=_0x305371;var _0x5a1b5b,_0x2f2e43;const {offsetX:_0x399311,offsetY:_0x198b34}=_0x9f714d,{x:_0x54b0be,y:_0x292a57}=_0x5b6115['getRelativeToViewportCoord'](p[_0x3df5e7(0x3cf)][_0x3df5e7(0x160)]([_0x399311,_0x198b34])),{scaleX:_0x5b966f,scaleY:_0x1ff8d3}=_0x5b6115[_0x3df5e7(0x2c7)](),_0x3f18d2=_0x5b6115[_0x3df5e7(0x255)](p[_0x3df5e7(0x3b6)][_0x3df5e7(0x253)]),_0x490097=_0x5b6115[_0x3df5e7(0x2b2)](p[_0x3df5e7(0x3cf)][_0x3df5e7(0x160)]([_0x54b0be,_0x292a57]),_0x3f18d2),_0x4d8163=_0x21496f[_0x3df5e7(0x23c)](_0x399311,_0x198b34,_0x5b966f,_0x1ff8d3,_0x490097);((_0x5a1b5b=this[_0x3df5e7(0x2dc)])==null?void 0x0:_0x5a1b5b[_0x3df5e7(0x283)])===_0x4d8163[_0x3df5e7(0x283)]&&((_0x2f2e43=this[_0x3df5e7(0x2dc)])==null?void 0x0:_0x2f2e43[_0x3df5e7(0x332)])===_0x4d8163[_0x3df5e7(0x332)]||this[_0x3df5e7(0x168)][_0x3df5e7(0x203)](_0x5a38d1=>{_0x5a38d1['onMouseMove'](_0x4d8163);});},0x64));});}['_updateCollabCursors'](_0x18b7b5,_0x2c94c8){const _0x5dffdd=_0x11b7f7;var _0x22ca5e;const _0x2711cc=(_0x22ca5e=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x22ca5e[_0x5dffdd(0x2cb)];if(!_0x2711cc)return;const _0x1f1641=this[_0x5dffdd(0x197)]();if(!_0x1f1641)return;this['_cursors']['forEach'](_0x2996a3=>{const _0x343530=_0x5dffdd;_0x2996a3[_0x343530(0x39d)]();});const {scene:_0x15ca4b}=_0x1f1641,_0xd77990=yt(Array[_0x5dffdd(0x31c)](_0x2c94c8['values']()))[_0x5dffdd(0x1ee)](_0x22b90c=>{const _0x577d65=_0x5dffdd,{color:_0x5a1a4e,range:_0x423683,name:_0xf1df61,selection:_0xc6cf65,sheetID:_0x3d91ab}=_0x22b90c,{startColumn:_0xc91094,startRow:_0x402ed9,endColumn:_0xdd34a2,endRow:_0xb1b0b7}=_0x423683,_0x3cf167=G['getCoordByCell'](_0x402ed9,_0xc91094,_0x15ca4b,_0x2711cc),_0x3eb977=G[_0x577d65(0x300)](_0xb1b0b7,_0xdd34a2,_0x15ca4b,_0x2711cc),{columnHeaderHeightAndMarginTop:_0x53fbb8}=_0x2711cc,{startX:_0x6e5314,startY:_0x48095f}=_0x3cf167,{endX:_0x4752c9,endY:_0x43a310}=_0x3eb977,_0x519914=_0x4752c9-_0x6e5314,_0x292b0c=_0x43a310-_0x48095f,_0x5154b0={'labelPosition':_0x48095f-_0x53fbb8>=W?'top':_0x577d65(0x1bc),'sheetID':_0x3d91ab,'range':_0x423683,'color':_0x5a1a4e,'name':_0xf1df61,'selection':_0xc6cf65,'left':_0x6e5314,'top':_0x48095f,'width':_0x519914,'height':_0x292b0c,'evented':!0x1,'zIndex':At};return new $e(_0xf1df61,_0x5154b0);});_0x15ca4b[_0x5dffdd(0x2ca)](_0xd77990,Mt),this[_0x5dffdd(0x168)]=new Set(_0xd77990);}['_removeCollabCursors'](){const _0x2e78cf=_0x11b7f7;var _0x204227;(_0x204227=this[_0x2e78cf(0x168)])==null||_0x204227[_0x2e78cf(0x203)](_0x16e2e5=>_0x16e2e5['dispose']());}[_0x11b7f7(0x197)](){const _0xdcff35=_0x11b7f7;return G[_0xdcff35(0x395)](this['_context'][_0xdcff35(0x2f3)],this[_0xdcff35(0x2a6)]);}};Ie=wt([ae(0x1,a[_0x11b7f7(0x302)](G['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3c6)]))],Ie);function yt(_0xddafe0){const _0x4bd925=_0x11b7f7,_0x3394c7=new Map();return _0xddafe0[_0x4bd925(0x203)](_0x5408e5=>{const _0x59e287=_0x4bd925;if(_0x3394c7[_0x59e287(0x1e8)](_0x5408e5['selection'])){const _0x5ec0c4=_0x3394c7[_0x59e287(0x20b)](_0x5408e5[_0x59e287(0x27d)]);_0x5ec0c4['name']+=',\x20'+_0x5408e5[_0x59e287(0x2da)];}else _0x3394c7[_0x59e287(0x249)](_0x5408e5[_0x59e287(0x27d)],_0x5408e5);}),Array[_0x4bd925(0x31c)](_0x3394c7[_0x4bd925(0x3b4)]());}var $t=Object[_0x11b7f7(0x269)],xt=(_0x46f744,_0x3ed1da,_0x2cf243,_0x247030)=>{const _0xa4a372=_0x11b7f7;for(var _0x413c6c=_0x247030>0x1?void 0x0:_0x247030?$t(_0x3ed1da,_0x2cf243):_0x3ed1da,_0x273c76=_0x46f744[_0xa4a372(0x1c9)]-0x1,_0x579d25;_0x273c76>=0x0;_0x273c76--)(_0x579d25=_0x46f744[_0x273c76])&&(_0x413c6c=_0x579d25(_0x413c6c)||_0x413c6c);return _0x413c6c;},y=(_0x3b8bb7,_0x482e61)=>(_0x30ee7d,_0x167513)=>_0x482e61(_0x30ee7d,_0x167513,_0x3b8bb7);let q=class extends a[_0x11b7f7(0x39b)]{constructor(_0x16232a,_0x28243a,_0x48c036,_0x3fefda,_0x566bd2,_0x3d26bc){const _0x15c0b0=_0x11b7f7;super(),this['_beforeCloseService']=_0x16232a,this[_0x15c0b0(0x2d1)]=_0x28243a,this[_0x15c0b0(0x23f)]=_0x48c036,this[_0x15c0b0(0x1c8)]=_0x3fefda,this['_notificationService']=_0x566bd2,this[_0x15c0b0(0x34c)]=_0x3d26bc,this[_0x15c0b0(0x205)](),this[_0x15c0b0(0x1ac)]();}[_0x11b7f7(0x205)](){const _0x1b2ce7=_0x11b7f7;this[_0x1b2ce7(0x21c)](this[_0x1b2ce7(0x263)]['registerBeforeClose'](()=>{const _0x4e02ec=_0x1b2ce7;if(this[_0x4e02ec(0x2d1)][_0x4e02ec(0x1c2)][_0x4e02ec(0x237)])return this[_0x4e02ec(0x34c)]['t'](_0x4e02ec(0x384));}));}['_initEvent'](){const _0x3b4f1f=_0x11b7f7;this['disposeWithMe'](this[_0x3b4f1f(0x23f)][_0x3b4f1f(0x176)][_0x3b4f1f(0x367)](_0x7ed134=>{const _0x274604=_0x3b4f1f;_0x7ed134['id']===u['CollaborationUIEventId'][_0x274604(0x2f5)]&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D[_0x274604(0x26e)][_0x274604(0x383)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x7ed134['id']===u[_0x274604(0x2f7)][_0x274604(0x1fe)]&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D[_0x274604(0x26e)][_0x274604(0x383)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x7ed134['id']===u[_0x274604(0x2f7)][_0x274604(0x2e7)]&&this[_0x274604(0x21a)][_0x274604(0x3a7)]({'title':this[_0x274604(0x34c)]['t']('permission.title'),'content':this[_0x274604(0x34c)]['t'](_0x274604(0x3bf)),'type':_0x274604(0x2ec),'duration':0x0}),_0x7ed134['id']===u[_0x274604(0x2f7)][_0x274604(0x324)]&&this['_messageService'][_0x274604(0x3a7)]({'type':D[_0x274604(0x26e)][_0x274604(0x257)],'content':this[_0x274604(0x34c)]['t'](_0x274604(0x329))+'('+_0x7ed134[_0x274604(0x307)]+')'}),_0x7ed134['id']===u[_0x274604(0x2f7)]['JOIN_ROOM_FAILED']&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D['MessageType'][_0x274604(0x383)],'content':this['_localeService']['t'](_0x7ed134[_0x274604(0x307)]||'')}),_0x7ed134['id']===u[_0x274604(0x2f7)][_0x274604(0x245)]&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D['MessageType'][_0x274604(0x383)],'content':this[_0x274604(0x34c)]['t'](_0x274604(0x181))}),_0x7ed134['id']===u[_0x274604(0x2f7)][_0x274604(0x25e)]&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D['MessageType'][_0x274604(0x257)],'content':this[_0x274604(0x34c)]['t']('session.connection-failed')}),_0x7ed134['id']===u[_0x274604(0x2f7)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x274604(0x1c8)][_0x274604(0x3a7)]({'type':D[_0x274604(0x26e)][_0x274604(0x257)],'content':this[_0x274604(0x34c)]['t'](_0x274604(0x1c3))});}));}};q=xt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x11b7f7(0x217)]),y(0x2,a[_0x11b7f7(0x302)](u[_0x11b7f7(0x388)])),y(0x3,O[_0x11b7f7(0x2a2)]),y(0x4,O[_0x11b7f7(0x2a0)]),y(0x5,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x32c)]))],q);const Bt=_0x11b7f7(0x359),De={};var jt=Object['getOwnPropertyDescriptor'],kt=(_0x24b8b0,_0x30687b,_0x9d4ef7,_0x16c9c8)=>{const _0x394e42=_0x11b7f7;for(var _0x2d37c7=_0x16c9c8>0x1?void 0x0:_0x16c9c8?jt(_0x30687b,_0x9d4ef7):_0x30687b,_0x591a97=_0x24b8b0[_0x394e42(0x1c9)]-0x1,_0x3c73f4;_0x591a97>=0x0;_0x591a97--)(_0x3c73f4=_0x24b8b0[_0x591a97])&&(_0x2d37c7=_0x3c73f4(_0x2d37c7)||_0x2d37c7);return _0x2d37c7;},Ue=(_0x13d4db,_0x2e8a9d)=>(_0x34ffa8,_0x12a29d)=>_0x2e8a9d(_0x34ffa8,_0x12a29d,_0x13d4db);let z=class{constructor(_0x16adcc,_0x89a2e6){const _0x23167d=_0x11b7f7;this[_0x23167d(0x1e9)]=_0x16adcc,this[_0x23167d(0x272)]=_0x89a2e6;}[_0x11b7f7(0x1b4)](_0x3c0eb0){this['_transformUndoRedoStack'](_0x3c0eb0),this['_transformPreviousActiveRange'](_0x3c0eb0);}[_0x11b7f7(0x2a3)](_0x1f71c4){const _0x2b012c=_0x11b7f7,{unitID:_0x4f30c5}=_0x1f71c4,_0x1dbe32=this['_renderManagerService'][_0x2b012c(0x1ad)](_0x4f30c5)[_0x2b012c(0x1e1)](E['DocIMEInputManagerService']),{redoCache:_0x34e876}=_0x1dbe32[_0x2b012c(0x37b)]();if(_0x34e876[_0x2b012c(0x1c9)]===0x0)return _0x1f71c4;let _0xcc251=a[_0x2b012c(0x1e5)][_0x2b012c(0x2b5)](_0x1f71c4[_0x2b012c(0x34f)][0x0]);for(let _0xd0a71=0x0;_0xd0a71<_0x34e876[_0x2b012c(0x1c9)];_0xd0a71++){const _0x261fd8={'id':'doc.mutation.rich-text-editing','params':{..._0x34e876[_0xd0a71]}},_0x17fe42=this[_0x2b012c(0x1e9)][_0x2b012c(0x24c)](_0xcc251,_0x261fd8,!0x1);if(m[_0x2b012c(0x386)](_0x17fe42))throw _0x17fe42[_0x2b012c(0x2ec)];_0xcc251=_0x17fe42[_0x2b012c(0x28c)];}return{...a[_0x2b012c(0x1e5)]['deepClone'](_0x1f71c4),'mutations':[_0xcc251]};}[_0x11b7f7(0x1f5)](_0x1f3437){const _0x3b49be=_0x11b7f7,{unitID:_0x3511a3}=_0x1f3437,_0x386d9e=this[_0x3b49be(0x272)][_0x3b49be(0x1ad)](_0x3511a3)[_0x3b49be(0x1e1)](E['DocIMEInputManagerService']),{undoCache:_0x2f7748,redoCache:_0x154949}=_0x386d9e[_0x3b49be(0x37b)]();if(_0x2f7748[_0x3b49be(0x1c9)]===0x0||_0x154949[_0x3b49be(0x1c9)]===0x0)return;const _0xd65c17=[],_0x1aa348=[];let _0x187447=a['Tools']['deepClone'](_0x1f3437[_0x3b49be(0x34f)][0x0]),_0x3d9d21=a[_0x3b49be(0x1e5)][_0x3b49be(0x2b5)](_0x1f3437['mutations'][0x0]);for(let _0x2fbee3=_0x2f7748[_0x3b49be(0x1c9)]-0x1;_0x2fbee3>=0x0;_0x2fbee3--){const _0x10ef88={'id':_0x3b49be(0x1ba),'params':{..._0x2f7748[_0x2fbee3]}},_0x50fdb2={'id':_0x3b49be(0x1ba),'params':{..._0x154949[_0x2fbee3]}},_0x57c477=this[_0x3b49be(0x1e9)][_0x3b49be(0x24c)](_0x187447,_0x10ef88,!0x1),_0x579cf5=this['_transformService'][_0x3b49be(0x24c)](_0x3d9d21,_0x50fdb2,!0x1);if(m[_0x3b49be(0x386)](_0x57c477))throw _0x57c477[_0x3b49be(0x2ec)];if(m[_0x3b49be(0x386)](_0x579cf5))throw _0x579cf5['error'];_0xd65c17[_0x3b49be(0x394)](_0x57c477[_0x3b49be(0x31a)]['params']),_0x1aa348[_0x3b49be(0x394)](_0x579cf5[_0x3b49be(0x31a)]['params']),_0x187447=_0x57c477[_0x3b49be(0x28c)],_0x3d9d21=_0x579cf5[_0x3b49be(0x28c)];}_0x386d9e[_0x3b49be(0x1ef)]({'undoCache':_0xd65c17,'redoCache':_0x1aa348});}[_0x11b7f7(0x35a)](_0x38a4fc){const _0x12db78=_0x11b7f7,{unitID:_0x31b851}=_0x38a4fc,_0x3a6c15=this['_renderManagerService']['getRenderById'](_0x31b851)[_0x12db78(0x1e1)](E[_0x12db78(0x38b)]),_0x403a91=_0x3a6c15[_0x12db78(0x337)]();if(_0x403a91==null)return;const _0x1ef7e3=[{'id':_0x12db78(0x1ba),'params':{'unitId':_0x38a4fc[_0x12db78(0x33e)],'actions':null,'textRanges':[_0x403a91]}}],_0x5e4ed2=this[_0x12db78(0x1e9)][_0x12db78(0x2e9)](_0x38a4fc,_0x1ef7e3);if(!m[_0x12db78(0x2af)](_0x5e4ed2))throw _0x5e4ed2['error'];const _0x35c57e=_0x5e4ed2[_0x12db78(0x31a)][0x0][_0x12db78(0x2b3)][_0x12db78(0x2ab)];Array[_0x12db78(0x3c9)](_0x35c57e)&&_0x35c57e['length']&&_0x3a6c15['setActiveRange'](_0x35c57e[0x0]);}};z=kt([Ue(0x0,m[_0x11b7f7(0x26b)]),Ue(0x1,p['IRenderManagerService'])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x5689ea,_0x586c47,_0x4003d3,_0x5b58a6)=>{const _0x1562f5=_0x11b7f7;for(var _0x213150=_0x5b58a6>0x1?void 0x0:_0x5b58a6?Ft(_0x586c47,_0x4003d3):_0x586c47,_0x4c48d4=_0x5689ea[_0x1562f5(0x1c9)]-0x1,_0x374353;_0x4c48d4>=0x0;_0x4c48d4--)(_0x374353=_0x5689ea[_0x4c48d4])&&(_0x213150=_0x374353(_0x213150)||_0x213150);return _0x213150;},ce=(_0x5212e0,_0x2c492f)=>(_0xbcbb2d,_0x56bf06)=>_0x2c492f(_0xbcbb2d,_0x56bf06,_0x5212e0);let J=class{constructor(_0x29a01a,_0x13842c,_0x34ea84){const _0x279301=_0x11b7f7;this['_injector']=_0x29a01a,this[_0x279301(0x1e9)]=_0x13842c,this[_0x279301(0x2f8)]=_0x34ea84;}[_0x11b7f7(0x264)](_0x367b3e){this['_transformHistoryAndStateStack'](_0x367b3e);}[_0x11b7f7(0x2a3)](_0x31f999){const _0x56b49d=_0x11b7f7,{unitID:_0x224223}=_0x31f999,{collaboration:_0x4e38a3}=this['_docStateChangeManagerService'][_0x56b49d(0x3d0)](_0x224223);if(_0x4e38a3[_0x56b49d(0x1c9)]===0x0)return _0x31f999;let _0x4302a9=a['Tools']['deepClone'](_0x31f999[_0x56b49d(0x34f)][0x0]);for(let _0x4f351b=0x0;_0x4f351b<_0x4e38a3[_0x56b49d(0x1c9)];_0x4f351b++){const _0x18fdfa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e38a3[_0x4f351b][_0x56b49d(0x1b3)],..._0x4e38a3[_0x4f351b]['redoState']}},_0x18e94a=this[_0x56b49d(0x1e9)][_0x56b49d(0x24c)](_0x4302a9,_0x18fdfa,!0x1);if(m[_0x56b49d(0x386)](_0x18e94a))throw _0x18e94a[_0x56b49d(0x2ec)];_0x4302a9=_0x18e94a[_0x56b49d(0x28c)];}return{...a[_0x56b49d(0x1e5)][_0x56b49d(0x2b5)](_0x31f999),'mutations':[_0x4302a9]};}[_0x11b7f7(0x1f8)](_0x1c8130){const _0x5e81a1=_0x11b7f7,{unitID:_0x17d5fa}=_0x1c8130,{history:_0x1d97d2,collaboration:_0x31dad6}=this[_0x5e81a1(0x2f8)][_0x5e81a1(0x3d0)](_0x17d5fa);if(_0x1d97d2['length']===0x0&&_0x31dad6[_0x5e81a1(0x1c9)]===0x0)return;const _0x192a45=[],_0x4ac1a7=[];let _0x26a243=a[_0x5e81a1(0x1e5)][_0x5e81a1(0x2b5)](_0x1c8130[_0x5e81a1(0x34f)][0x0]),_0x5b1d5c=a[_0x5e81a1(0x1e5)]['deepClone'](_0x1c8130[_0x5e81a1(0x34f)][0x0]);for(let _0x3d9f2b=_0x1d97d2['length']-0x1;_0x3d9f2b>=0x0;_0x3d9f2b--){const _0x3c7424={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d97d2[_0x3d9f2b][_0x5e81a1(0x1b3)],..._0x1d97d2[_0x3d9f2b]['undoState']}},_0x32855a={'id':_0x5e81a1(0x1ba),'params':{'unitId':_0x1d97d2[_0x3d9f2b]['unitId'],..._0x1d97d2[_0x3d9f2b]['redoState']}},_0x583f05=this[_0x5e81a1(0x1e9)][_0x5e81a1(0x24c)](_0x26a243,_0x3c7424,!0x1),_0x5ad165=this[_0x5e81a1(0x1e9)][_0x5e81a1(0x24c)](_0x5b1d5c,_0x32855a,!0x1);if(m[_0x5e81a1(0x386)](_0x583f05))throw _0x583f05[_0x5e81a1(0x2ec)];if(m[_0x5e81a1(0x386)](_0x5ad165))throw _0x5ad165[_0x5e81a1(0x2ec)];_0x192a45[_0x5e81a1(0x394)]({..._0x1d97d2[_0x3d9f2b],'undoState':_0x583f05[_0x5e81a1(0x31a)][_0x5e81a1(0x2b3)],'redoState':_0x5ad165[_0x5e81a1(0x31a)]['params']}),_0x26a243=_0x583f05[_0x5e81a1(0x28c)],_0x5b1d5c=_0x5ad165[_0x5e81a1(0x28c)];}_0x26a243=a['Tools'][_0x5e81a1(0x2b5)](_0x1c8130[_0x5e81a1(0x34f)][0x0]),_0x5b1d5c=a[_0x5e81a1(0x1e5)][_0x5e81a1(0x2b5)](_0x1c8130[_0x5e81a1(0x34f)][0x0]);for(let _0x14738d=_0x31dad6['length']-0x1;_0x14738d>=0x0;_0x14738d--){const _0x340e93={'id':_0x5e81a1(0x1ba),'params':{'unitId':_0x31dad6[_0x14738d]['unitId'],..._0x31dad6[_0x14738d][_0x5e81a1(0x2df)]}},_0x1225d8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31dad6[_0x14738d][_0x5e81a1(0x1b3)],..._0x31dad6[_0x14738d][_0x5e81a1(0x1f0)]}},_0x186e0e=this['_transformService'][_0x5e81a1(0x24c)](_0x26a243,_0x340e93,!0x1),_0x249aa6=this[_0x5e81a1(0x1e9)][_0x5e81a1(0x24c)](_0x5b1d5c,_0x1225d8,!0x1);if(m['isTransformMutationFailure'](_0x186e0e))throw _0x186e0e[_0x5e81a1(0x2ec)];if(m[_0x5e81a1(0x386)](_0x249aa6))throw _0x249aa6[_0x5e81a1(0x2ec)];_0x4ac1a7['unshift']({..._0x31dad6[_0x14738d],'undoState':_0x186e0e[_0x5e81a1(0x31a)]['params'],'redoState':_0x249aa6[_0x5e81a1(0x31a)]['params']}),_0x26a243=_0x186e0e[_0x5e81a1(0x28c)],_0x5b1d5c=_0x249aa6['m1Prime'];}this[_0x5e81a1(0x2f8)][_0x5e81a1(0x273)](_0x17d5fa,{'history':_0x192a45,'collaboration':_0x4ac1a7});}};J=Ht([ce(0x0,a['Inject'](a[_0x11b7f7(0x3b8)])),ce(0x1,m[_0x11b7f7(0x26b)]),ce(0x2,a[_0x11b7f7(0x302)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x11b7f7(0x269)],Wt=(_0x5ba61c,_0x26a9be,_0x430bb7,_0x24fdeb)=>{for(var _0xf948fa=_0x24fdeb>0x1?void 0x0:_0x24fdeb?Yt(_0x26a9be,_0x430bb7):_0x26a9be,_0x27ad36=_0x5ba61c['length']-0x1,_0x138aae;_0x27ad36>=0x0;_0x27ad36--)(_0x138aae=_0x5ba61c[_0x27ad36])&&(_0xf948fa=_0x138aae(_0xf948fa)||_0xf948fa);return _0xf948fa;},Ne=(_0x5bd8cd,_0x3b0e56)=>(_0x5846d5,_0xd06cd2)=>_0x3b0e56(_0x5846d5,_0xd06cd2,_0x5bd8cd);let Z=class{constructor(_0x224369,_0x992a90){const _0x121887=_0x11b7f7;this[_0x121887(0x29c)]=_0x224369,this[_0x121887(0x1e9)]=_0x992a90;}['transformSelections'](_0x2792e5){const _0x71d511=_0x11b7f7;var _0x1b0ebd;const _0x30142b=this['_injector']['get'](Y[_0x71d511(0x1d3)]),_0x2f3749=(_0x1b0ebd=_0x30142b[_0x71d511(0x1d2)]())!=null?_0x1b0ebd:[];if(_0x2f3749[_0x71d511(0x1c9)]===0x0)return;const _0x4031f7=_0x2792e5['unitID'],_0x75fa15=[{'id':_0x71d511(0x1ba),'params':{'unitId':_0x4031f7,'actions':null,'textRanges':_0x2f3749}}],_0x2be92d=this['_transformService']['transformMutationsWithChangeset'](_0x2792e5,_0x75fa15);if(!m[_0x71d511(0x2af)](_0x2be92d))throw _0x2be92d['error'];const _0x3bcf1d=_0x2be92d[_0x71d511(0x31a)][0x0][_0x71d511(0x2b3)]['textRanges'];Array[_0x71d511(0x3c9)](_0x3bcf1d)&&_0x3bcf1d[_0x71d511(0x1c9)]&&_0x30142b['replaceDocRanges'](_0x3bcf1d,{'unitId':_0x4031f7,'subUnitId':_0x4031f7},!0x1);}};Z=Wt([Ne(0x0,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3b8)])),Ne(0x1,m[_0x11b7f7(0x26b)])],Z);var Vt=Object[_0x11b7f7(0x269)],Xt=(_0x47b47d,_0x41929f,_0x5758f5,_0x48039a)=>{const _0x20ac51=_0x11b7f7;for(var _0x41c2e6=_0x48039a>0x1?void 0x0:_0x48039a?Vt(_0x41929f,_0x5758f5):_0x41929f,_0x1b79c2=_0x47b47d[_0x20ac51(0x1c9)]-0x1,_0x2b5ac4;_0x1b79c2>=0x0;_0x1b79c2--)(_0x2b5ac4=_0x47b47d[_0x1b79c2])&&(_0x41c2e6=_0x2b5ac4(_0x41c2e6)||_0x41c2e6);return _0x41c2e6;},N=(_0x2f1f9d,_0x3c934a)=>(_0x588090,_0x444e23)=>_0x3c934a(_0x588090,_0x444e23,_0x2f1f9d);let Q=class extends a['Disposable']{constructor(_0x22bbeb,_0x532dab,_0x16db79,_0x49615e,_0x30c599,_0x14ce03,_0x1838c5,_0x434a63){const _0x1368d4=_0x11b7f7;super(),h(this,_0x1368d4(0x2a5),new d['BehaviorSubject'](u[_0x1368d4(0x2d8)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x22bbeb,this[_0x1368d4(0x166)]=_0x532dab,this['_docTransformIMECacheService']=_0x16db79,this['_docTransformStateCacheService']=_0x49615e,this[_0x1368d4(0x326)]=_0x30c599,this[_0x1368d4(0x1ff)]=_0x14ce03,this[_0x1368d4(0x1c8)]=_0x1838c5,this[_0x1368d4(0x34c)]=_0x434a63,this[_0x1368d4(0x295)]());}[_0x11b7f7(0x295)](){const _0x3ded94=_0x11b7f7;this[_0x3ded94(0x21c)](this[_0x3ded94(0x166)]['entityInit$'][_0x3ded94(0x367)](_0x27640d=>{const _0x2a226a=_0x3ded94,_0x4313f4=this[_0x2a226a(0x2f8)][_0x2a226a(0x398)][_0x2a226a(0x367)](_0x272ebc=>{const _0x5b292d=_0x2a226a;if(_0x272ebc==null)return;const {unitId:_0x19395d,redoState:_0x2a6db6,commandId:_0xa174bd}=_0x272ebc;if(_0x19395d!==_0x27640d[_0x5b292d(0x33e)])return;const _0x2739fd={'id':_0xa174bd,'type':a[_0x5b292d(0x3a9)][_0x5b292d(0x2c9)],'params':{'unitId':_0x19395d,'actions':_0x2a6db6[_0x5b292d(0x3b3)],'textRanges':null}};_0x27640d[_0x5b292d(0x183)](_0x2739fd);});if(_0x27640d[_0x2a226a(0x21c)](_0x4313f4),_0x27640d instanceof u['DocCollaborationEntity']){const _0x2944ca={'onTransformIME':_0x40b253=>this[_0x2a226a(0x32b)][_0x2a226a(0x1b4)](_0x40b253),'onTransformState':_0x296a74=>this['_docTransformStateCacheService']['transformStateCache'](_0x296a74),'onTransformSelections':_0x5ab684=>this['_docTransformSelectionsService'][_0x2a226a(0x184)](_0x5ab684),'onSyncEditingCollabCursor':_0x34df8b=>this[_0x2a226a(0x1ff)][_0x2a226a(0x239)](_0x34df8b),'onTransformRemoteChangesetByIMECache':_0x11b755=>this['_docTransformIMECacheService'][_0x2a226a(0x2a3)](_0x11b755),'onTransformRemoteChangesetByStateCache':_0x380a09=>this[_0x2a226a(0x22e)]['transformRemoteChangeset'](_0x380a09)};_0x27640d[_0x2a226a(0x2e8)](_0x2944ca);}}));}};Q=Xt([N(0x0,a[_0x11b7f7(0x302)](E[_0x11b7f7(0x320)])),N(0x1,a['Inject'](u[_0x11b7f7(0x1b1)])),N(0x2,a['Inject'](z)),N(0x3,a[_0x11b7f7(0x302)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x11b7f7(0x302)](pe)),N(0x6,O[_0x11b7f7(0x2a2)]),N(0x7,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x32c)]))],Q);var Gt=Object[_0x11b7f7(0x269)],Kt=(_0x139564,_0x5d7f86,_0x51e5d1,_0x2ae1c1)=>{const _0x5c75dc=_0x11b7f7;for(var _0x3ba6e9=_0x2ae1c1>0x1?void 0x0:_0x2ae1c1?Gt(_0x5d7f86,_0x51e5d1):_0x5d7f86,_0xca264b=_0x139564[_0x5c75dc(0x1c9)]-0x1,_0x3ccc23;_0xca264b>=0x0;_0xca264b--)(_0x3ccc23=_0x139564[_0xca264b])&&(_0x3ba6e9=_0x3ccc23(_0x3ba6e9)||_0x3ba6e9);return _0x3ba6e9;},le=(_0xf54ac9,_0x4cdde0)=>(_0x58f943,_0x10a3e6)=>_0x4cdde0(_0x58f943,_0x10a3e6,_0xf54ac9);let ve=class extends a[_0x11b7f7(0x39b)]{constructor(_0x4ce33f,_0x182f1f,_0x2bfcc7){const _0x4c1d65=_0x11b7f7;super(),h(this,'_cachedData',new Map()),h(this,_0x4c1d65(0x353),new Map()),h(this,_0x4c1d65(0x17f),!0x1),(this[_0x4c1d65(0x1a0)]=_0x4ce33f,this[_0x4c1d65(0x169)]=_0x182f1f,this[_0x4c1d65(0x1d6)]=_0x2bfcc7);}[_0x11b7f7(0x1d9)](){this['_disabled']=!0x0;}[_0x11b7f7(0x3bd)](){const _0x2c7293=_0x11b7f7;this[_0x2c7293(0x17f)]=!0x1;}get['saveTaskMap'](){const _0x3bfeb4=_0x11b7f7;return this[_0x3bfeb4(0x353)];}['dispose'](){const _0x370163=_0x11b7f7;this[_0x370163(0x32e)]()['then'](()=>super[_0x370163(0x368)]());}async[_0x11b7f7(0x219)](_0x1ba85f){const _0x549ebb=_0x11b7f7;return this[_0x549ebb(0x17f)]?null:this[_0x549ebb(0x169)]['getItem'](u['getLocalCacheKey'](_0x1ba85f));}async[_0x11b7f7(0x370)](_0xd81e03,_0xa64d60){const _0x2abac6=_0x11b7f7;return!!this['_localStorageService'][_0x2abac6(0x32d)](_0xd81e03,_0xa64d60);}[_0x11b7f7(0x24b)](_0x51bdbb,_0x4ee5f5,_0x27b6bc,_0x574bab){const _0x2daedd=_0x11b7f7,_0x3a12dd=this[_0x2daedd(0x1d6)][_0x2daedd(0x375)](_0x51bdbb);this['_cachedData'][_0x2daedd(0x249)](_0x51bdbb,{'unitID':_0x51bdbb,'type':_0x4ee5f5,'awaitingChangeset':_0x27b6bc,'mutations':_0x574bab,'rev':_0x3a12dd}),this[_0x2daedd(0x353)]['has'](_0x51bdbb)||this[_0x2daedd(0x3d1)](_0x51bdbb);}[_0x11b7f7(0x3d1)](_0xce796d){const _0x397b33=_0x11b7f7,_0x13b0fe=this[_0x397b33(0x21f)]();_0x13b0fe===0x0?this[_0x397b33(0x3ab)](_0xce796d):this[_0x397b33(0x353)][_0x397b33(0x249)](_0xce796d,setTimeout(()=>this[_0x397b33(0x3ab)](_0xce796d),_0x13b0fe));}[_0x11b7f7(0x21f)](){const _0x1dbd20=_0x11b7f7;var _0x36993a;return(_0x36993a=this['_configService'][_0x1dbd20(0x262)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x36993a:u[_0x1dbd20(0x22a)];}[_0x11b7f7(0x3ab)](_0x546943){const _0x61580b=_0x11b7f7,_0x3d226e=this['_saveTaskMap'][_0x61580b(0x20b)](_0x546943);return _0x3d226e!==void 0x0&&window['clearTimeout'](_0x3d226e),this[_0x61580b(0x169)][_0x61580b(0x32d)](u[_0x61580b(0x20e)](_0x546943),this[_0x61580b(0x16a)][_0x61580b(0x20b)](_0x546943))[_0x61580b(0x3b9)](()=>this[_0x61580b(0x353)][_0x61580b(0x28f)](_0x546943));}async['exhaustSavingTask'](){const _0x41c099=_0x11b7f7,_0x27759a=[];this[_0x41c099(0x353)]['forEach']((_0x116573,_0x203da9)=>{const _0x4fd723=_0x41c099;window['clearTimeout'](_0x116573),_0x27759a['push'](this[_0x4fd723(0x3ab)](_0x203da9)[_0x4fd723(0x3b9)](()=>{const _0x277cd1=_0x4fd723;this[_0x277cd1(0x353)][_0x277cd1(0x28f)](_0x203da9);}));}),await Promise[_0x41c099(0x26a)](_0x27759a);}};ve=Kt([le(0x0,a[_0x11b7f7(0x1d8)]),le(0x1,a[_0x11b7f7(0x19c)]),le(0x2,a['Inject'](m[_0x11b7f7(0x36e)]))],ve);class xe extends a['RxDisposable']{constructor(){const _0x4d47f9=_0x11b7f7;super(),h(this,'urlChange$'),this[_0x4d47f9(0x39a)]=d[_0x4d47f9(0x2c3)](window,'popstate')[_0x4d47f9(0x275)](d[_0x4d47f9(0x2fa)](this[_0x4d47f9(0x36a)]),d[_0x4d47f9(0x30c)](0x1),d[_0x4d47f9(0x243)](void 0x0));}[_0x11b7f7(0x2c4)](_0x8b28c0,_0x4e49ed,_0xc19740=!0x1){const _0x28d45f=_0x11b7f7,_0x2c7277=new URL(window[_0x28d45f(0x278)][_0x28d45f(0x3ce)]);_0x2c7277[_0x28d45f(0x156)][_0x28d45f(0x249)](_0x8b28c0,_0x4e49ed),_0xc19740?window[_0x28d45f(0x211)][_0x28d45f(0x240)]('','',_0x2c7277[_0x28d45f(0x3b5)]()):window[_0x28d45f(0x211)][_0x28d45f(0x2ee)]('','',_0x2c7277[_0x28d45f(0x3b5)]());}['removeParam'](_0x219546,_0x303169=!0x1){const _0x5c1a69=_0x11b7f7,_0x35d2d6=new URL(window[_0x5c1a69(0x278)][_0x5c1a69(0x3ce)]);_0x35d2d6[_0x5c1a69(0x156)]['delete'](_0x219546),_0x303169?window[_0x5c1a69(0x211)][_0x5c1a69(0x240)]('','',_0x35d2d6[_0x5c1a69(0x3b5)]()):window[_0x5c1a69(0x211)][_0x5c1a69(0x2ee)]('','',_0x35d2d6['toString']());}['getParam'](_0x489a6e){const _0x18ab5f=_0x11b7f7;var _0x2a8a51;return(_0x2a8a51=new URL(window[_0x18ab5f(0x278)]['href'])[_0x18ab5f(0x156)][_0x18ab5f(0x20b)](_0x489a6e))!=null?_0x2a8a51:void 0x0;}}var qt=Object[_0x11b7f7(0x2ae)],zt=Object['getOwnPropertyDescriptor'],Jt=(_0x4fc6ae,_0x485b79,_0x370e19)=>_0x485b79 in _0x4fc6ae?qt(_0x4fc6ae,_0x485b79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370e19}):_0x4fc6ae[_0x485b79]=_0x370e19,Zt=(_0x4d9fa0,_0x2fe3d1,_0x3faae9,_0x1cd79b)=>{const _0x456e82=_0x11b7f7;for(var _0x5ba6cf=_0x1cd79b>0x1?void 0x0:_0x1cd79b?zt(_0x2fe3d1,_0x3faae9):_0x2fe3d1,_0x2aec9e=_0x4d9fa0[_0x456e82(0x1c9)]-0x1,_0x2db9a6;_0x2aec9e>=0x0;_0x2aec9e--)(_0x2db9a6=_0x4d9fa0[_0x2aec9e])&&(_0x5ba6cf=_0x2db9a6(_0x5ba6cf)||_0x5ba6cf);return _0x5ba6cf;},_e=(_0xce728d,_0x52d7d3)=>(_0x37fc51,_0x14d23e)=>_0x52d7d3(_0x37fc51,_0x14d23e,_0xce728d),Qt=(_0x575430,_0x7538b,_0x41c08b)=>Jt(_0x575430,_0x7538b+'',_0x41c08b);const es=_0x11b7f7(0x220);exports[_0x11b7f7(0x265)]=class extends a['Plugin']{constructor(_0x59a46f=De,_0xa3e9fe,_0x3d56f3,_0x10d839){const _0x458f36=_0x11b7f7;super(),this[_0x458f36(0x1ae)]=_0x59a46f,this[_0x458f36(0x272)]=_0xa3e9fe,this[_0x458f36(0x29c)]=_0x3d56f3,this['_configService']=_0x10d839;const {..._0x5ede3b}=a[_0x458f36(0x376)]({},De,this[_0x458f36(0x1ae)]);this['_configService'][_0x458f36(0x279)](Bt,_0x5ede3b);}['onStarting'](){const _0x192988=_0x11b7f7;this[_0x192988(0x23b)](),this['_initDependencies']();}['onRendered'](){const _0x2f1c70=_0x11b7f7;this[_0x2f1c70(0x330)]();}[_0x11b7f7(0x23b)](){const _0x594c03=_0x11b7f7;var _0x43eda9;const _0x3640a0=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K['WebSocketService']}],[u['ILocalCacheService'],{'useClass':ve}],[exports[_0x594c03(0x38f)]],[Q],[q],[x],[ue],[exports[_0x594c03(0x3a0)]]];a[_0x594c03(0x382)](this[_0x594c03(0x29c)],a[_0x594c03(0x2ba)](_0x3640a0,(_0x43eda9=this[_0x594c03(0x1ae)])==null?void 0x0:_0x43eda9[_0x594c03(0x2a1)]));}[_0x11b7f7(0x330)](){const _0x300910=_0x11b7f7;this[_0x300910(0x21c)](this['_renderManagerService'][_0x300910(0x3c8)](a[_0x300910(0x228)][_0x300910(0x2ce)],[fe])),this[_0x300910(0x21c)](this[_0x300910(0x272)]['registerRenderModule'](a['UniverInstanceType'][_0x300910(0x1a9)],[Ie]));}[_0x11b7f7(0x172)](){const _0x39c613=_0x11b7f7;a[_0x39c613(0x22f)](this[_0x39c613(0x29c)],[[x],[exports[_0x39c613(0x38f)]],[Q],[q],[exports[_0x39c613(0x3a0)]]]);}},Qt(exports[_0x11b7f7(0x265)],_0x11b7f7(0x290),es),exports[_0x11b7f7(0x265)]=Zt([a[_0x11b7f7(0x175)](u['UniverCollaborationClientPlugin']),_e(0x1,p[_0x11b7f7(0x226)]),_e(0x2,a[_0x11b7f7(0x302)](a[_0x11b7f7(0x3b8)])),_e(0x3,a[_0x11b7f7(0x1d8)])],exports[_0x11b7f7(0x265)]);var ts=Object[_0x11b7f7(0x269)],ss=(_0x5cda52,_0x76c23e,_0x257868,_0x5d6801)=>{const _0x44dbbd=_0x11b7f7;for(var _0x4ed10b=_0x5d6801>0x1?void 0x0:_0x5d6801?ts(_0x76c23e,_0x257868):_0x76c23e,_0x1400e6=_0x5cda52[_0x44dbbd(0x1c9)]-0x1,_0x25d1f9;_0x1400e6>=0x0;_0x1400e6--)(_0x25d1f9=_0x5cda52[_0x1400e6])&&(_0x4ed10b=_0x25d1f9(_0x4ed10b)||_0x4ed10b);return _0x4ed10b;},H=(_0x20fc8f,_0x415ebf)=>(_0x59e8cf,_0x3f58ba)=>_0x415ebf(_0x59e8cf,_0x3f58ba,_0x20fc8f);exports['BrowserCollaborationSocketService']=class extends u[_0x11b7f7(0x2f9)]{constructor(_0x1020ec,_0x29793a,_0x544e4a,_0x45ef7a,_0x4ea3d8){super(_0x1020ec,_0x29793a,_0x544e4a,_0x45ef7a,_0x4ea3d8);}async[_0x11b7f7(0x285)](_0xa5b457){const _0x381e31=_0x11b7f7,_0x896494=await this[_0x381e31(0x357)](),_0x3ecc53=this['_createSocketURL'](_0xa5b457,_0x896494);return this['_doCreateSocket'](_0x3ecc53);}[_0x11b7f7(0x2dd)](_0x441540,_0x3e3be3){const _0x582a2e=_0x11b7f7,_0x906a42=typeof window>'u'?new URL(_0x441540):new URL(_0x441540,window['location'][_0x582a2e(0x2d4)]);_0x906a42[_0x582a2e(0x156)][_0x582a2e(0x249)](_0x582a2e(0x3cc),_0x3e3be3);const _0x1b3a16=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1b3a16[_0x582a2e(0x20b)](_0x582a2e(0x251))&&_0x906a42['searchParams'][_0x582a2e(0x249)](_0x582a2e(0x251),_0x1b3a16['get'](_0x582a2e(0x251))),_0x906a42[_0x582a2e(0x3b5)]();}async[_0x11b7f7(0x357)](){const _0x31096d=_0x11b7f7;var _0x1e2adf,_0x5cf4ac,_0x759120;const _0x591a36=this[_0x31096d(0x1a0)][_0x31096d(0x262)](u[_0x31096d(0x19d)]),_0x2ff8b2=(_0x1e2adf=_0x591a36==null?void 0x0:_0x591a36[_0x31096d(0x173)])!=null?_0x1e2adf:u[_0x31096d(0x393)];return(_0x759120=(_0x5cf4ac=(await this[_0x31096d(0x208)][_0x31096d(0x20b)](_0x2ff8b2,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5cf4ac['ticket'])!=null?_0x759120:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a['Inject'](a[_0x11b7f7(0x3b8)])),H(0x1,a[_0x11b7f7(0x302)](K[_0x11b7f7(0x155)])),H(0x2,a[_0x11b7f7(0x1d8)]),H(0x3,a[_0x11b7f7(0x221)]),H(0x4,m[_0x11b7f7(0x27c)])],exports[_0x11b7f7(0x298)]);var Be=(_0x333892=>(_0x333892[_0x333892[_0x11b7f7(0x3ac)]=0x0]=_0x11b7f7(0x3ac),_0x333892[_0x333892['OK']=0x1]='OK',_0x333892[_0x333892['INTERNAL_ERROR']=0x2]=_0x11b7f7(0x18b),_0x333892[_0x333892['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x333892[_0x333892[_0x11b7f7(0x2f1)]=0x4]=_0x11b7f7(0x2f1),_0x333892[_0x333892[_0x11b7f7(0x313)]=0x5]=_0x11b7f7(0x313),_0x333892[_0x333892[_0x11b7f7(0x2ff)]=0x6]=_0x11b7f7(0x2ff),_0x333892[_0x333892['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x333892[_0x333892[_0x11b7f7(0x37e)]=0x8]=_0x11b7f7(0x37e),_0x333892[_0x333892['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x333892[_0x333892['LOGIN_FAILED']=0xa]=_0x11b7f7(0x38c),_0x333892[_0x333892[_0x11b7f7(0x2d5)]=0xb]=_0x11b7f7(0x2d5),_0x333892[_0x333892[_0x11b7f7(0x191)]=0xc]=_0x11b7f7(0x191),_0x333892[_0x333892[_0x11b7f7(0x15f)]=0xd]=_0x11b7f7(0x15f),_0x333892[_0x333892[_0x11b7f7(0x2c5)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x333892[_0x333892[_0x11b7f7(0x1fd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x333892[_0x333892[_0x11b7f7(0x3ba)]=0x1771]=_0x11b7f7(0x3ba),_0x333892[_0x333892['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x11b7f7(0x340),_0x333892[_0x333892[_0x11b7f7(0x328)]=0x1773]=_0x11b7f7(0x328),_0x333892[_0x333892['APPLY_REJECT']=0x1b59]=_0x11b7f7(0x1be),_0x333892[_0x333892[_0x11b7f7(0x238)]=0x1b5a]=_0x11b7f7(0x238),_0x333892[_0x333892[_0x11b7f7(0x33a)]=0x1b5b]=_0x11b7f7(0x33a),_0x333892[_0x333892['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x11b7f7(0x231),_0x333892[_0x333892[_0x11b7f7(0x27a)]=0x1b5d]=_0x11b7f7(0x27a),_0x333892[_0x333892[_0x11b7f7(0x233)]=0x1f41]=_0x11b7f7(0x233),_0x333892[_0x333892[_0x11b7f7(0x1cc)]=0x2329]=_0x11b7f7(0x1cc),_0x333892[_0x333892[_0x11b7f7(0x336)]=0x232a]=_0x11b7f7(0x336),_0x333892[_0x333892[_0x11b7f7(0x309)]=0x232b]=_0x11b7f7(0x309),_0x333892[_0x333892[_0x11b7f7(0x2be)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x333892[_0x333892[_0x11b7f7(0x306)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x333892[_0x333892[_0x11b7f7(0x392)]=0x2711]=_0x11b7f7(0x392),_0x333892[_0x333892[_0x11b7f7(0x229)]=0x2712]=_0x11b7f7(0x229),_0x333892[_0x333892['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x11b7f7(0x3c4),_0x333892[_0x333892[_0x11b7f7(0x267)]=0x2714]=_0x11b7f7(0x267),_0x333892[_0x333892[_0x11b7f7(0x293)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x333892[_0x333892[_0x11b7f7(0x193)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x333892[_0x333892[_0x11b7f7(0x2a7)]=0x271c]=_0x11b7f7(0x2a7),_0x333892[_0x333892['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x11b7f7(0x3a5),_0x333892[_0x333892[_0x11b7f7(0x1a1)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x333892[_0x333892['YUUMI_AI_RUN_FAILED']=0x271f]=_0x11b7f7(0x1c7),_0x333892[_0x333892[_0x11b7f7(0x352)]=0x2720]=_0x11b7f7(0x352),_0x333892[_0x333892[_0x11b7f7(0x1a7)]=0x2af9]=_0x11b7f7(0x1a7),_0x333892[_0x333892[_0x11b7f7(0x192)]=0x2ee1]=_0x11b7f7(0x192),_0x333892[_0x333892['INVALID_INVITE_CODE']=0x2ee2]=_0x11b7f7(0x19e),_0x333892[_0x333892['INVITE_CODE_REQUIRED']=0x2ee3]=_0x11b7f7(0x24a),_0x333892[_0x333892[_0x11b7f7(0x17a)]=0x2ee4]=_0x11b7f7(0x17a),_0x333892[_0x333892[_0x11b7f7(0x2f2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x333892[_0x333892['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x11b7f7(0x177),_0x333892[_0x333892['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x11b7f7(0x322),_0x333892[_0x333892[_0x11b7f7(0x1cf)]=0x32cb]=_0x11b7f7(0x1cf),_0x333892[_0x333892['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x333892))(Be||{}),is=Object[_0x11b7f7(0x269)],ns=(_0x1db393,_0x1b1ffe,_0x3956ff,_0xbcd56b)=>{const _0xc544b9=_0x11b7f7;for(var _0x280251=_0xbcd56b>0x1?void 0x0:_0xbcd56b?is(_0x1b1ffe,_0x3956ff):_0x1b1ffe,_0x46a54a=_0x1db393[_0xc544b9(0x1c9)]-0x1,_0x504c50;_0x46a54a>=0x0;_0x46a54a--)(_0x504c50=_0x1db393[_0x46a54a])&&(_0x280251=_0x504c50(_0x280251)||_0x280251);return _0x280251;},he=(_0xb0c0c4,_0x87eab3)=>(_0x47fcca,_0x3e7f12)=>_0x87eab3(_0x47fcca,_0x3e7f12,_0xb0c0c4);exports[_0x11b7f7(0x3ca)]=class extends a['Disposable']{constructor(_0x877d19,_0x107e2c,_0x1f6819){const _0x5bbcee=_0x11b7f7;super(),this[_0x5bbcee(0x301)]=_0x877d19,this[_0x5bbcee(0x208)]=_0x107e2c,this[_0x5bbcee(0x1a0)]=_0x1f6819;}async[_0x11b7f7(0x325)](_0x14b926,_0x578245,_0xa20550,..._0x450b84){const _0x25806c=_0x11b7f7;var _0x2c2c92,_0x48ebad,_0x26eaa7,_0x1d07f2;const _0x2423fe=this[_0x25806c(0x301)][_0x25806c(0x1e6)]();if(!_0x2423fe)throw new Error(_0x25806c(0x33c));const _0x32af49=((_0x2c2c92=this[_0x25806c(0x1a0)][_0x25806c(0x262)](u[_0x25806c(0x2e6)]))!=null?_0x2c2c92:u[_0x25806c(0x1fa)])+'/'+_0x14b926+'/run/'+_0x578245,_0xfc108e=new URL(window[_0x25806c(0x278)][_0x25806c(0x3ce)]),_0x1610e3={'scriptId':_0x14b926,'runId':(_0x48ebad=_0xfc108e[_0x25806c(0x156)]['get'](_0x25806c(0x251)))!=null?_0x48ebad:'','function':_0x578245,'unitId':_0x2423fe[_0x25806c(0x15d)](),'argsOfFunction':JSON['stringify'](_0x450b84),'invokeId':(_0x26eaa7=_0xa20550[_0x25806c(0x1ab)])!=null?_0x26eaa7:'','executionId':(_0x1d07f2=_0xa20550[_0x25806c(0x2bb)])!=null?_0x1d07f2:''};try{const _0x514e30=await this['_httpService']['post'](_0x32af49,{'body':_0x1610e3});return _0x514e30['body'][_0x25806c(0x2ec)]&&_0x514e30[_0x25806c(0x158)][_0x25806c(0x2ec)][_0x25806c(0x281)]!==Be['OK']?_0x25806c(0x19a):_0x514e30[_0x25806c(0x158)][_0x25806c(0x32f)];}catch{return _0x25806c(0x19a);}}},exports[_0x11b7f7(0x3ca)]=ns([he(0x0,a['IUniverInstanceService']),he(0x1,a['Inject'](K[_0x11b7f7(0x155)])),he(0x2,a[_0x11b7f7(0x1d8)])],exports['RemoteUniscriptService']);const Me=0x7530,Le=_0x11b7f7(0x161);class rs extends a[_0x11b7f7(0x39b)]{constructor(){const _0x5f4a45=_0x11b7f7;super(),h(this,_0x5f4a45(0x276),a[_0x5f4a45(0x24e)]()),h(this,'_selfUnitIDs',new Set()),h(this,_0x5f4a45(0x34e),new Map()),h(this,_0x5f4a45(0x341),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x5f4a45(0x20a)]();}[_0x11b7f7(0x368)](){const _0x114b5d=_0x11b7f7;super[_0x114b5d(0x368)](),this['_clearOtherTimers'][_0x114b5d(0x203)]((_0x3c26f3,_0x210803)=>this[_0x114b5d(0x1b5)](_0x210803)),this[_0x114b5d(0x341)]&&window[_0x114b5d(0x1f3)](this[_0x114b5d(0x341)]);}['getUnitStatus$'](_0x38a643){const _0x4c92ad=_0x11b7f7;return this[_0x4c92ad(0x1d5)](_0x38a643)[_0x4c92ad(0x275)](d[_0x4c92ad(0x165)]());}['editingUnit'](_0x1ee97e){const _0xdfd445=_0x11b7f7;this['_selfUnitIDs'][_0xdfd445(0x237)]===0x0&&this[_0xdfd445(0x223)](),this[_0xdfd445(0x2c2)][_0xdfd445(0x258)](_0x1ee97e),this[_0xdfd445(0x391)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1ee97e],'isForwarded':!0x1});}[_0x11b7f7(0x296)](_0x330992){const _0x4d5670=_0x11b7f7;this[_0x4d5670(0x2c2)][_0x4d5670(0x28f)](_0x330992),this[_0x4d5670(0x2c2)][_0x4d5670(0x237)]===0x0&&this[_0x4d5670(0x341)]&&window[_0x4d5670(0x1f3)](this['_heartbeatTimer']);}['_init'](){const _0x892ad0=_0x11b7f7;this[_0x892ad0(0x21c)](a[_0x892ad0(0x236)](d[_0x892ad0(0x2c3)](window,_0x892ad0(0x186))[_0x892ad0(0x367)](_0x575242=>{const _0x4e604d=_0x892ad0;if(_0x575242[_0x4e604d(0x294)]!==Le||!_0x575242[_0x4e604d(0x35f)])return;const _0x518c52=JSON[_0x4e604d(0x164)](_0x575242[_0x4e604d(0x35f)]);this[_0x4e604d(0x312)](_0x518c52);}))),window[_0x892ad0(0x379)](_0x892ad0(0x355),()=>this['_send']({'type':0x1,'memberID':this[_0x892ad0(0x276)],'unitIDs':Array['from'](this[_0x892ad0(0x2c2)])}));}[_0x11b7f7(0x312)](_0x69bbdf){const _0x199c32=_0x11b7f7;switch(_0x69bbdf['type']){case 0x0:this[_0x199c32(0x36b)](_0x69bbdf);break;case 0x1:this[_0x199c32(0x3af)](_0x69bbdf);break;case 0x2:this['_handleHeartbeatEvent'](_0x69bbdf);break;}}['_handleJoinEvent'](_0x13bb8f){const _0xe9a513=_0x11b7f7,{unitIDs:_0x4a16c0,memberID:_0x115b9f,isForwarded:_0x111329}=_0x13bb8f;_0x4a16c0['forEach'](_0x472b94=>{const _0x4cb85=_0x5c06;if(!_0x111329&&this[_0x4cb85(0x34e)][_0x4cb85(0x1e8)](_0x472b94)&&this[_0x4cb85(0x1d5)](_0x472b94)[_0x4cb85(0x316)](u[_0x4cb85(0x202)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4cb85(0x1e8)](_0x472b94)||!this[_0x4cb85(0x34e)][_0x4cb85(0x20b)](_0x472b94)[_0x4cb85(0x1e8)](_0x115b9f)){const _0x5db0d2=this[_0x4cb85(0x34e)][_0x4cb85(0x20b)](_0x472b94)||new Set();_0x5db0d2['add'](_0x115b9f),this[_0x4cb85(0x34e)][_0x4cb85(0x249)](_0x472b94,_0x5db0d2),this['_scheduleClearOtherTimer'](_0x115b9f);}}),_0x111329||this[_0xe9a513(0x391)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xe9a513(0x2c2)]],'isForwarded':!0x0});}[_0x11b7f7(0x224)](_0x1f6452){const _0x1d0ead=_0x11b7f7;this[_0x1d0ead(0x1b5)](_0x1f6452);const _0x51cfb8=window[_0x1d0ead(0x25f)](()=>{const _0xe588d6=_0x1d0ead;this[_0xe588d6(0x34e)][_0xe588d6(0x203)](_0x3e150c=>{const _0x5e0494=_0xe588d6;_0x3e150c[_0x5e0494(0x28f)](_0x1f6452);});},Me*0x2);this[_0x1d0ead(0x39e)][_0x1d0ead(0x249)](_0x1f6452,_0x51cfb8);}[_0x11b7f7(0x1b5)](_0x23fb43){const _0x41020c=_0x11b7f7;if(this[_0x41020c(0x39e)][_0x41020c(0x1e8)](_0x23fb43)){const _0x3195dc=this['_clearOtherTimers'][_0x41020c(0x20b)](_0x23fb43);_0x3195dc&&window[_0x41020c(0x18c)](_0x3195dc),this['_clearOtherTimers'][_0x41020c(0x249)](_0x23fb43,null);}}[_0x11b7f7(0x3af)](_0x2a3412){const _0x58f1e9=_0x11b7f7,{memberID:_0x52c3f2,unitIDs:_0x1babd6}=_0x2a3412;_0x1babd6[_0x58f1e9(0x203)](_0x1f740b=>{const _0x527cf7=_0x58f1e9;var _0x1cc515;const _0x5cde61=this['_unitOnClients'][_0x527cf7(0x20b)](_0x1f740b);_0x5cde61&&(_0x5cde61[_0x527cf7(0x28f)](_0x52c3f2),(_0x1cc515=this[_0x527cf7(0x1d5)](_0x1f740b))==null||_0x1cc515[_0x527cf7(0x316)](_0x5cde61[_0x527cf7(0x237)]===0x0?u[_0x527cf7(0x202)][_0x527cf7(0x364)]:u['UnitStatus'][_0x527cf7(0x1d7)]));}),this[_0x58f1e9(0x1b5)](_0x52c3f2);}[_0x11b7f7(0x3c3)](_0x42d03a){const _0x3bfecb=_0x11b7f7;this[_0x3bfecb(0x224)](_0x42d03a[_0x3bfecb(0x29a)]);}['_send'](_0x3f71ec){const _0x4b3310=_0x11b7f7;localStorage[_0x4b3310(0x32d)](Le,JSON[_0x4b3310(0x314)](_0x3f71ec));}[_0x11b7f7(0x223)](){const _0x3fcb51=_0x11b7f7;this[_0x3fcb51(0x341)]=window[_0x3fcb51(0x1f1)](()=>{const _0x2aa6cc=_0x3fcb51;this[_0x2aa6cc(0x391)]({'type':0x2,'memberID':this[_0x2aa6cc(0x276)]});},Me);}['_ensureSubject'](_0x82a44){const _0x424a72=_0x11b7f7;return this[_0x424a72(0x305)][_0x424a72(0x1e8)](_0x82a44)||this[_0x424a72(0x305)][_0x424a72(0x249)](_0x82a44,new d['BehaviorSubject'](u['UnitStatus'][_0x424a72(0x364)])),this[_0x424a72(0x305)][_0x424a72(0x20b)](_0x82a44);}}exports[_0x11b7f7(0x1bb)]=me,exports[_0x11b7f7(0x2b0)]=$e,exports[_0x11b7f7(0x34d)]=rs,exports[_0x11b7f7(0x1e0)]=xe;
1
+ 'use strict';const _0x373e19=_0x2638;(function(_0x2ec726,_0x35bc80){const _0x163453=_0x2638,_0x182663=_0x2ec726();while(!![]){try{const _0x5d4cd7=-parseInt(_0x163453(0x2aa))/0x1*(-parseInt(_0x163453(0xba))/0x2)+-parseInt(_0x163453(0x2b3))/0x3+parseInt(_0x163453(0x1b3))/0x4+parseInt(_0x163453(0x2ed))/0x5*(parseInt(_0x163453(0xc7))/0x6)+parseInt(_0x163453(0x31a))/0x7+-parseInt(_0x163453(0xfb))/0x8*(-parseInt(_0x163453(0x1e9))/0x9)+-parseInt(_0x163453(0x1dd))/0xa;if(_0x5d4cd7===_0x35bc80)break;else _0x182663['push'](_0x182663['shift']());}catch(_0xb121ff){_0x182663['push'](_0x182663['shift']());}}}(_0x2c3a,0xce4c0));var We=Object[_0x373e19(0x1ac)],Ve=(_0xa87438,_0xbfe2de,_0x3698a3)=>_0xbfe2de in _0xa87438?We(_0xa87438,_0xbfe2de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3698a3}):_0xa87438[_0xbfe2de]=_0x3698a3,h=(_0x1dd692,_0x167b6f,_0x9a8a1a)=>Ve(_0x1dd692,typeof _0x167b6f!=_0x373e19(0x30e)?_0x167b6f+'':_0x167b6f,_0x9a8a1a);Object[_0x373e19(0x1ac)](exports,Symbol[_0x373e19(0x23e)],{'value':_0x373e19(0x172)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0xb71531=_0x373e19;return b=Object['assign']||function(_0x43e502){const _0x746ebc=_0x2638;for(var _0x5037a0,_0x2ff99f=0x1,_0x54b78e=arguments[_0x746ebc(0x1a4)];_0x2ff99f<_0x54b78e;_0x2ff99f++){_0x5037a0=arguments[_0x2ff99f];for(var _0x39f050 in _0x5037a0)Object['prototype'][_0x746ebc(0x15b)][_0x746ebc(0x1b5)](_0x5037a0,_0x39f050)&&(_0x43e502[_0x39f050]=_0x5037a0[_0x39f050]);}return _0x43e502;},b[_0xb71531(0x26b)](this,arguments);},Ke=function(_0x1744a3,_0x29e8cd){const _0x5c85df=_0x373e19;var _0x588b1a={};for(var _0x4d1109 in _0x1744a3)Object[_0x5c85df(0x28a)]['hasOwnProperty'][_0x5c85df(0x1b5)](_0x1744a3,_0x4d1109)&&_0x29e8cd['indexOf'](_0x4d1109)<0x0&&(_0x588b1a[_0x4d1109]=_0x1744a3[_0x4d1109]);if(_0x1744a3!=null&&typeof Object[_0x5c85df(0x203)]==_0x5c85df(0xb1)){for(var _0x2d3e3c=0x0,_0x4d1109=Object[_0x5c85df(0x203)](_0x1744a3);_0x2d3e3c<_0x4d1109[_0x5c85df(0x1a4)];_0x2d3e3c++)_0x29e8cd[_0x5c85df(0x2e9)](_0x4d1109[_0x2d3e3c])<0x0&&Object[_0x5c85df(0x28a)][_0x5c85df(0x18a)][_0x5c85df(0x1b5)](_0x1744a3,_0x4d1109[_0x2d3e3c])&&(_0x588b1a[_0x4d1109[_0x2d3e3c]]=_0x1744a3[_0x4d1109[_0x2d3e3c]]);}return _0x588b1a;},ge=M[_0x373e19(0x15d)](function(_0x1c08a1,_0x5d84d1){const _0x3a739a=_0x373e19;var _0xe97b90=_0x1c08a1[_0x3a739a(0x31e)],_0x124cc0=_0x1c08a1['id'],_0x1f9560=_0x1c08a1[_0x3a739a(0xdf)],_0x59f623=_0x1c08a1['extend'],_0x129cee=Ke(_0x1c08a1,['icon','id',_0x3a739a(0xdf),_0x3a739a(0x2b9)]),_0xc82c48=_0x3a739a(0x31f)['concat'](_0x124cc0,'\x20')[_0x3a739a(0x1f3)](_0x1f9560||'')[_0x3a739a(0x1db)](),_0x45c7cc=M[_0x3a739a(0xe7)]('_'[_0x3a739a(0x1f3)](Je()));return Pe(_0xe97b90,''[_0x3a739a(0x1f3)](_0x124cc0),{'defIds':_0xe97b90[_0x3a739a(0x242)],'idSuffix':_0x45c7cc[_0x3a739a(0x21c)]},b({'ref':_0x5d84d1,'className':_0xc82c48},_0x129cee),_0x59f623);});function Pe(_0x26621f,_0xb789a5,_0x362161,_0x514886,_0x1b4201){const _0x32cd2f=_0x373e19;return M[_0x32cd2f(0x2d1)](_0x26621f[_0x32cd2f(0xd7)],b(b({'key':_0xb789a5},qe(_0x26621f,_0x362161,_0x1b4201)),_0x514886),(ze(_0x26621f,_0x362161)[_0x32cd2f(0x260)]||[])[_0x32cd2f(0x1e4)](function(_0x53d432,_0x4782a1){const _0x458c4c=_0x32cd2f;return Pe(_0x53d432,''['concat'](_0xb789a5,'-')[_0x458c4c(0x1f3)](_0x26621f['tag'],'-')[_0x458c4c(0x1f3)](_0x4782a1),_0x362161,void 0x0,_0x1b4201);}));}function qe(_0x331a50,_0x628326,_0x280229){const _0x2627ab=_0x373e19;var _0x5ccb5f=b({},_0x331a50[_0x2627ab(0x13d)]);_0x280229!=null&&_0x280229[_0x2627ab(0x2a1)]&&_0x5ccb5f[_0x2627ab(0xec)]===_0x2627ab(0x2a1)&&(_0x5ccb5f[_0x2627ab(0xec)]=_0x280229['colorChannel1']),_0x331a50[_0x2627ab(0xd7)]===_0x2627ab(0x150)&&_0x5ccb5f['id']&&(_0x5ccb5f['id']=_0x5ccb5f['id']+_0x628326[_0x2627ab(0x21a)]),Object[_0x2627ab(0xf9)](_0x5ccb5f)[_0x2627ab(0x22a)](function(_0x40988f){const _0x671404=_0x2627ab;var _0x443c7f=_0x40988f[0x0],_0x222fec=_0x40988f[0x1];_0x443c7f===_0x671404(0x150)&&typeof _0x222fec==_0x671404(0x184)&&(_0x5ccb5f[_0x443c7f]=_0x222fec[_0x671404(0xc8)](/url\(#(.*)\)/,_0x671404(0xdb)[_0x671404(0x1f3)](_0x628326[_0x671404(0x21a)],')')));});var _0xcaa5f3=_0x628326[_0x2627ab(0x242)];return!_0xcaa5f3||_0xcaa5f3[_0x2627ab(0x1a4)]===0x0||(_0x331a50[_0x2627ab(0xd7)]===_0x2627ab(0x2dc)&&_0x5ccb5f[_0x2627ab(0x259)]&&(_0x5ccb5f[_0x2627ab(0x259)]=_0x5ccb5f[_0x2627ab(0x259)]+_0x628326[_0x2627ab(0x21a)]),Object[_0x2627ab(0xf9)](_0x5ccb5f)[_0x2627ab(0x22a)](function(_0x5502af){const _0x24fa0f=_0x2627ab;var _0x54b3c2=_0x5502af[0x0],_0x2f81d4=_0x5502af[0x1];typeof _0x2f81d4==_0x24fa0f(0x184)&&(_0x5ccb5f[_0x54b3c2]=_0x2f81d4['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x628326['idSuffix'],')')));})),_0x5ccb5f;}function ze(_0x4c6e70,_0x26c0d3){const _0x1b364f=_0x373e19;var _0x1d6731,_0x470dd2=_0x26c0d3[_0x1b364f(0x242)];return!_0x470dd2||_0x470dd2[_0x1b364f(0x1a4)]===0x0?_0x4c6e70:_0x4c6e70[_0x1b364f(0xd7)]===_0x1b364f(0x2f6)&&(!((_0x1d6731=_0x4c6e70[_0x1b364f(0x260)])===null||_0x1d6731===void 0x0)&&_0x1d6731[_0x1b364f(0x1a4)])?b(b({},_0x4c6e70),{'children':_0x4c6e70[_0x1b364f(0x260)][_0x1b364f(0x1e4)](function(_0x20d571){const _0x225383=_0x1b364f;return typeof _0x20d571[_0x225383(0x13d)]['id']==_0x225383(0x184)&&_0x470dd2&&_0x470dd2['includes'](_0x20d571['attrs']['id'])?b(b({},_0x20d571),{'attrs':b(b({},_0x20d571['attrs']),{'id':_0x20d571['attrs']['id']+_0x26c0d3[_0x225383(0x21a)]})}):_0x20d571;})}):_0x4c6e70;}function Je(){const _0x3653d4=_0x373e19;return Math[_0x3653d4(0x1c1)]()[_0x3653d4(0x314)](0x24)[_0x3653d4(0x236)](0x2,0x8);}ge[_0x373e19(0xe9)]=_0x373e19(0x12b);var Ze={'tag':_0x373e19(0x23b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x373e19(0x2f4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x373e19(0x2ad),'strokeLinecap':_0x373e19(0x2eb),'strokeLinejoin':_0x373e19(0x2eb),'strokeWidth':1.2}}]},{'tag':_0x373e19(0x2f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x373e19(0x2c0)]},we=M[_0x373e19(0x15d)](function(_0x3048cd,_0x1a7f11){const _0x46f382=_0x373e19;return M[_0x46f382(0x2d1)](ge,Object[_0x46f382(0x18c)]({},_0x3048cd,{'id':_0x46f382(0x29e),'ref':_0x1a7f11,'icon':Ze}));});function _0x2c3a(){const _0x2d5e83=['IUIPartsService','executionId','CollaborationSocketService','m2Prime','substring','_disabled','_renderManagerService','collaboration.closeRoom','WebURLService','svg','_docSkeleton','green.600','toStringTag','useDependency','INVITE_CODE_REQUIRED','UNRECOGNIZED','defIds','filter','on-line-icon','Error','sheetID','unsubscribe','_commandService','_clearOtherTimers','_updateCollabCursors','_id','max','_createSocketURL','_collaborationUIEventService','INVITE_CODE_ALREADY_BOUND','RegularPolygon','setInterval','asObservable','useCallback','purple.300','_initEvent','engine','activeSheet$','delete','xlink:href','registerRefRange','_startDocCollabCursor','selection','INTERNAL_ERROR','HTTPService','measureText','children','getUnitId','_unitOnClients','_updateLocalCursor','_backgroundColor','DependentOn','_httpService','_colorIndex','handleInsertRangeMoveDown','IConfigService','replaceDocRanges','apply','focused$','handleInsertRangeMoveRight','PERMISSION_DENIED','IRenderManagerService','_scheduleClearOtherTimer','LICENSE_EXPORT_SIZE_EXCEEDED','labelPosition','_textBubble','_setupBeforeClosingHandler','Rect','_send','replaceState','executeCommand','onPointerEnter$','YUUMI_ALL_TABLES_IS_INVALID','NodePositionConvertToCursor','0\x200\x2017\x2016','onCommandExecuted','deepClone','CommandType','docStateChange$','has','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','CLOSE_ROOM','toDisposable','mutations','roomMembers$','getDocRanges','setShapeProps','prototype','_session','ILogService','UPDATE_CURSOR','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_removeClearOtherTimer','_render','createInstance','_cursorShapes','shareReplay','_logService','_getSheetObject','with','isArray','_colorAssignService','mapTo','setTimeout','connectInjector','UniverCollaborationClientPlugin','Unknown\x20user','off-line-icon','Subject','subUnitId','colorChannel1','RemoveColCommandId','APPLY_REVISION_CONFILICT','none','mergeOverrideWithDependencies','search','onRendered','startsWith','set','3QKzmGK','transformByState','_configService','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','OnLineIcon','InsertRowCommandId','_selfUnitIDs','Failed','transform','4442130CSuahh','startRow','_getSaveTimeout','text','exhaustSavingTask','unload','extend','_entities','handleInsertRow','textRanges','_ensureSubject','getUniverSheetInstance','getAncestorScale','off-line-icon_clip0_910_343','CollaborationUIEventId','RefRangeService','_color','CollaborationStatus','Rectangle','_handleJoinEvent','ACTIVE_UNIT_EVENT_CHANNEL','InsertRangeMoveRightCommandId','_doCreateSocket','_status$','_imageIoService','LICENSE_MAX_UNITS_EXCEEDED','setParam','location','_localeService','_shapes','createElement','top','_updateURLWithCurrentState','_urlService','subscribeEvent','CollaborationSessionService','_memberService','body','loadUnit','getCollabEntity$','createSocket','use','origin','LOCAL_CACHE_INTERVAL_KEY','BuiltInUIPart','IMessageService','dispose$','getConfig','from','SNAPSHOT_INVALID_SNAPSHOT','next','debug','setStateCache','IImageIoService','indexOf','APPLY_NON_SEQUENTIAL_REVISION','round','Inject','268210aZyBBi','combineLatest','requireSession','EffectRefRangId','YUUMI_SUBSCRIPTION_NOT_FOUND','onStarting','memberID','url(#off-line-icon_clip0_910_343)','getCollabCursors$','defs','session.collaboration-timeout','runRefRangeMutations','ALREADY_EXISTS','Vector2','_instanceService','UniverInstanceType','url(#on-line-icon_clip0_910_349)','yellow.400','_initEntityListener','saveOfflineData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetsSelectionsService','_univerInstanceService','popstate','getOwnPropertyDescriptor','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','imageSourceType','setItem','#FFF','SetWorksheetActivateCommand','Warning','_syncEditingCollabCursorService','symbol','runId','cursorInfo$','_online','_docStateChangeManagerService','_notificationService','toString','registerDependencies','fromEventSubject','INotificationService','INVALID_INVITE_CODE','searchParams','6047685KQHvxm','OffLineIcon','LICENSE_DISTRO_REJECTED','_collabCursorController','icon','univerjs-icon\x20univerjs-icon-','m1Prime','href','getParam','MOBILE_VERIFY_CODE_MISMATCH','type','toRgbString','SheetCollabCursorShape','_cursors','unit','editingUnit','lineTo','getSheetId','getColor','makeDirty','1em','getCurrentSelections','_refreshCollabCursors','function','endColumn','getTypeOfUnitAdded$','YUUMI_RATE_OVER_LIMIT','OTHER_CLIENT_EDITING','application/json','complete','height','DocIMEInputManagerService','562642zyxoMM','_init','NO_OTHER_CLIENTS_EDITING','DOC_RANGE_TYPE','clearTimeout','blue.400','EMAIL_VERIFY_CODE_MISMATCH','doc.mutation.rich-text-editing','push','clearInterval','Injector','getMember','unshift','48HjviwP','replace','drawWith','collaboration-client.offline-data-not-saved','evenodd','switchMap','saveImage','FromArray','_range','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','some','_labelPosition','NodePositionConvertToRectRange','_removeCollabCursors','sessionTicket','_setupSubUnitSync','tag','RemoteUniscriptService','hide','DocCollaborationEntity','url(#$1','_registerDependencies','registerBeforeClose','_getSessionTicket','className','_collabCursorState$','onPointerLeave$','getCurrentRevOfUnit','history','_scheduleHeartbeat','init','debounceTime','useRef','CONNECTOR_DATA_TOO_LARGE','displayName','BrowserCollaborationSocketService','includes','fill','show','_collaborationController','transformSelections','RxDisposable','_handleHeartbeatEvent','invokeId','beginPath','entityInit$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_IMPORT_SIZE_EXCEEDED','unitId','UNIVER_DOC','entries','VIEW_MAIN','5308024JcYabj','COLORS','SetDocZoomRatioOperation','APPLY_DUPLICATED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','moveTo','ITransformService','transformMutation','currentColor','stringify','findNodePositionByCharIndex','getRenderById','syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','_updateSubUnitFromURLParams','DocSelectionManagerService','UNAUTHENTICATED','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','_drawRectRange','_docTransformStateCacheService','ranges','error','hovered','[CollaborationDataLoaderController]','DeleteRangeMoveUpCommandId','removeParam','_transformService','disposeUnit','getTypeOfUnitDisposed$','_roomMembers$','triggerDblclick','merge','HEADER_MENU','_localCacheService','serializeRangeWithSheet','IURLService','SheetSkeletonManagerService','collab-text-range-','endRow','on-line-icon_clip0_910_349','InsertRangeMoveDownCommandId','key','_docClipboardService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','row','Tooltip','handleDeleteRangeMoveLeft','UniverIcon','transformMutationsWithChangeset','UnitStatus','Plugin','DocStateChangeManagerService','MUTATION','_hideTimer','APPLY_PERMISSION_DENIED','values','restore','_scene','isActive','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','jiqing.500','DocSkeletonManagerService','pluginName','touchDependencies','disposeWithMe','attrs','MemberService','data','parse','whenReady','_beforeCloseService','arc','CHANGESET_REVISION_CONFILICT','subscribe','getMemberID','_cachedData','APPLY_REJECT','post','then','_entityInit$','_messageService','rgba(255,\x20255,\x20255,\x200.01)','fillText','_docTransformIMECacheService','mask','_initStatusListener','ONLINE','addObjects','permission.title','jsx','permission.content','IUniverInstanceService','_assignedColors','_anchorDot','_uiPartsService','hasOwnProperty','sheetId','forwardRef','override','ILocalCacheService','DEFAULT_WS_SESSION_TICKET_URL','NOT_COLLAB','_lastPointer','save','COMPLETION_FINISHED','transformRemoteChangeset','_revisionService','TEXT_RANGE_LAYER_INDEX','_cursor','_collabSessionService','_scheduleSaving','_getScale','ColorKit','_initCommandExecutedListener','collabStatus.notCollab','UniverCollaborationClientUIPlugin','_heartbeatTimer','distinctUntilChanged','Module','width','split','clipPath','USERS_LEAVE','get','AWAITING','ENSURE_SNAPSHOT_EXECUTION','CollaborationController','getActiveRange','generateRandomId','_name','getOffsetConfig','bottom','onMouseMove','all','params','onTransformChange$','string','_drawTextRange','_saveTaskMap','status$','path','pushState','propertyIsEnumerable','_sheetSkeletonManagerService','assign','TEXT','_docSyncEditingCollabCursorService','black','_onCursorUpdate','enableLocalCache','SHEET_VIEWPORT_KEY','_saveCache','_onCursorDelete','event$','jsxs','currentTheme$','_themeService','_localStorageService','isTransformMutationFailure','_toggleOffline','getItem','getFocusedUnit','LOCAL_CACHE_INTERVAL','_eventUnsubscribe','getCurrent','SYNCED','FETCH_MISS','add','length','_context','/run/','saveTaskMap','BehaviorSubject','getActiveSheet','Optional','_config','defineProperty','sessionStatus$','DesktopCollaborationStatusDisplayController','ICommandService','DeleteRangeMoveLeftCommandId','fillStyle','_hover','3369488KTsvQa','_docSkeletonManagerService','call','storage','SNAPSHOT_HAS_BEEN_REMOVED','urlChange$','takeUntil','handleDeleteRangeMoveUp','handleMoveRange','CollaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','YUUMI_UNABLE_LOAD_URL','CollaborationDataLoaderController','size','random','http://www.w3.org/2000/svg','deserializeRangeWithSheet','_transformUndoRedoStack','SUBMIT_CHANGESET_TIMEOUT','collab-client.tooltip.reconnect','RECT','_initResize','setAlpha','LOGIN_FAILED','undoState','_toggleOnline','CONFLICT','setConfig','_initDependencies','YUUMI_NO_CUBOID_FOR_QUESTION','_hovered','newValue','YUUMI_AI_RUN_FAILED','getStateCache','runOnServer','getMergeData','onPointerMove$','flatMap','getValue','collaboration-client-ui.config','trim','debounce','19807300mtfbKy','UNIVER_SHEET','YUUMI_URL_COL_OUT_OF_RANGE','ThemeService','eventID','Disposable','collabStatus.syncing','map','Shape','assignAColorForMemberID','_getAnchorBounding','getRangePointData','18QduPLO','color','SetSelectionsOperation','name','addObject','isTransformMutationsWithChangesetSuccess','unitID','_refRangeService','ticket','AWAITING_WITH_PENDING','concat','startColumn','throttleTime','CollaborationEvent','session.connection-failed','pipe','_onRefRangeChange','MessageType','YUUMI_CONNECTOR_URL_NOT_FOUND','code','wsSessionTicketUrl','getSheetBySheetId','min','_handleLeaveEvent','_anchor','_transformHistoryAndStateStack','getOwnPropertySymbols','collaboration.single-unit.warning','_initStatusComponent','cursorInfo','INVITE_CODE_HAS_BEEN_UES','_cursorInfo$','collabCursorState$','skeleton','_injector','collab-text-anchor-','getUndoRedoMutationParamsCache','createIdentifier','M0\x200H16V16H0z','getLocalCacheKey','actions','_dataLoaderService','backgroundColor','selections','div','getUnhiddenWorksheets','...','_registerRenderDependencies','getCoordByCell','idSuffix','currentSkeleton$','current','_handleEvent','NOT_FOUND','roomMembers','font','fromEvent','SOCKET_FAILED','send','column','range','dispose','registerComponent','InsertColCommandId','subunit','forEach','PENDING','_draw','USER_NOT_INVITED_CODE','redoState','_drawAnchor','LocaleService','_getMergeRange'];_0x2c3a=function(){return _0x2d5e83;};return _0x2c3a();}we[_0x373e19(0xe9)]=_0x373e19(0x31b);var Qe={'tag':'svg','attrs':{'xmlns':_0x373e19(0x1c2),'fill':_0x373e19(0x2a4),'viewBox':_0x373e19(0x27c),'width':_0x373e19(0x32e),'height':_0x373e19(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x373e19(0x2fd)},'children':[{'tag':_0x373e19(0x188),'attrs':{'stroke':_0x373e19(0x103),'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':_0x373e19(0x2eb),'strokeLinejoin':_0x373e19(0x2eb),'strokeWidth':1.2}}]},{'tag':_0x373e19(0x2f6),'attrs':{},'children':[{'tag':_0x373e19(0x175),'attrs':{'id':_0x373e19(0x123)},'children':[{'tag':_0x373e19(0x188),'attrs':{'fill':'white','d':_0x373e19(0x20f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x373e19(0x123)]},Ae=M[_0x373e19(0x15d)](function(_0x316a9b,_0x3ee623){const _0x55a048=_0x373e19;return M[_0x55a048(0x2d1)](ge,Object[_0x55a048(0x18c)]({},_0x316a9b,{'id':_0x55a048(0x244),'ref':_0x3ee623,'icon':Qe}));});Ae[_0x373e19(0xe9)]=_0x373e19(0x2ae);function et(_0x11b945){const _0x45ce40=_0x373e19;switch(_0x11b945){case u[_0x45ce40(0x2c4)]['OFFLINE']:return'collabStatus.offline';case u[_0x45ce40(0x2c4)]['CONFLICT']:return'collabStatus.conflict';case u['CollaborationStatus'][_0x45ce40(0x1a2)]:return'collabStatus.fetchMiss';case u[_0x45ce40(0x2c4)][_0x45ce40(0x161)]:return _0x45ce40(0x16e);case u['CollaborationStatus'][_0x45ce40(0x178)]:case u[_0x45ce40(0x2c4)][_0x45ce40(0x1f2)]:return _0x45ce40(0x1e3);case u[_0x45ce40(0x2c4)][_0x45ce40(0x1a1)]:case u[_0x45ce40(0x2c4)][_0x45ce40(0x22b)]:return'collabStatus.synced';}}function tt(_0x5a841f){const _0x30d828=_0x373e19,{status$:_0x2ca6b9}=_0x5a841f,_0x617fac=O['useObservable'](_0x2ca6b9,u[_0x30d828(0x2c4)][_0x30d828(0x161)]),_0x235dbc=O[_0x30d828(0x23f)](a[_0x30d828(0x230)]),_0x596623=O[_0x30d828(0x23f)](u[_0x30d828(0x2d6)]),_0x3e0782=_0x617fac!==u[_0x30d828(0x2c4)]['OFFLINE'],_0x21319d=_0x235dbc['t'](et(_0x617fac)),_0x1f5a3c=_0x3e0782?P['jsx'](Ae,{}):P[_0x30d828(0x155)](we,{}),_0x337396=M[_0x30d828(0x253)](()=>{_0x3e0782||_0x596623['reconnect']();},[_0x3e0782,_0x596623]);function _0xd2191b(){const _0xebba49=_0x30d828;return P[_0xebba49(0x196)](_0xebba49(0x215),{'className':'univer-flex\x20univer-items-center','onClick':_0x337396,'children':[P['jsx']('div',{'className':D['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3e0782,'univer-text-red-500':!_0x3e0782}),'children':_0x1f5a3c}),P['jsx'](_0xebba49(0x215),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21319d})]});}return _0x3e0782?_0xd2191b():P[_0x30d828(0x155)](D[_0x30d828(0x129)],{'title':_0x235dbc['t'](_0x30d828(0x1c6)),'children':_0xd2191b()});}var st=Object[_0x373e19(0x305)],it=(_0x516db6,_0x113d6d,_0x285fd6,_0x5d7371)=>{const _0x5d0368=_0x373e19;for(var _0x55e308=_0x5d7371>0x1?void 0x0:_0x5d7371?st(_0x113d6d,_0x285fd6):_0x113d6d,_0x2e2399=_0x516db6[_0x5d0368(0x1a4)]-0x1,_0xe74e41;_0x2e2399>=0x0;_0x2e2399--)(_0xe74e41=_0x516db6[_0x2e2399])&&(_0x55e308=_0xe74e41(_0x55e308)||_0x55e308);return _0x55e308;},V=(_0x18c885,_0x4ab0fd)=>(_0x40c096,_0x2a57a4)=>_0x4ab0fd(_0x40c096,_0x2a57a4,_0x18c885);exports[_0x373e19(0x1ae)]=class extends a[_0x373e19(0x1e2)]{constructor(_0x4f98ab,_0x3a52a6,_0x569623,_0x2caf90){const _0x4a9cde=_0x373e19;super(),h(this,_0x4a9cde(0x2ca),new d['BehaviorSubject'](u['CollaborationStatus'][_0x4a9cde(0x161)])),(this['_univerInstanceService']=_0x4f98ab,this['_injector']=_0x3a52a6,this[_0x4a9cde(0xee)]=_0x569623,this[_0x4a9cde(0x15a)]=_0x2caf90,this[_0x4a9cde(0x205)](),this[_0x4a9cde(0x151)]());}[_0x373e19(0x151)](){const _0xb594ec=_0x373e19;this[_0xb594ec(0x13c)](this['_univerInstanceService'][_0xb594ec(0x26c)]['pipe'](d[_0xb594ec(0xcc)](()=>{const _0x4fe033=_0xb594ec,_0x3d3701=this[_0x4fe033(0x303)][_0x4fe033(0x19d)]();return _0x3d3701?this[_0x4fe033(0xee)][_0x4fe033(0x2da)](_0x3d3701['getUnitId']()):d['of'](null);}),d[_0xb594ec(0xcc)](_0x252191=>_0x252191?_0x252191[_0xb594ec(0x187)]:d['of'](u['CollaborationStatus'][_0xb594ec(0x161)])))[_0xb594ec(0x145)](_0x45e2dc=>{const _0x2425aa=_0xb594ec;this['_status$'][_0x2425aa(0x2e5)](_0x45e2dc);}));}[_0x373e19(0x205)](){const _0x24f4fb=_0x373e19;this[_0x24f4fb(0x13c)](this['_uiPartsService'][_0x24f4fb(0x227)](O[_0x24f4fb(0x2df)][_0x24f4fb(0x11c)],()=>O[_0x24f4fb(0x29b)](nt({'status$':this[_0x24f4fb(0x2ca)][_0x24f4fb(0x252)]()}),this[_0x24f4fb(0x20b)])));}},exports[_0x373e19(0x1ae)]=it([V(0x0,a['IUniverInstanceService']),V(0x1,a['Inject'](a[_0x373e19(0xc4)])),V(0x2,a[_0x373e19(0x2ec)](u[_0x373e19(0x17a)])),V(0x3,O[_0x373e19(0x232)])],exports[_0x373e19(0x1ae)]);function nt(_0x31edb9){const {status$:_0x2b50a9}=_0x31edb9;return function(){const _0x4f8fec=_0x2638;return P[_0x4f8fec(0x155)](tt,{'status$':_0x2b50a9});};}const me=a[_0x373e19(0x20e)]('uni.network.url-service');var rt=Object[_0x373e19(0x305)],ot=(_0x466201,_0x3857e6,_0x44f42b,_0x4c34ee)=>{const _0x16eaa2=_0x373e19;for(var _0x94a59c=_0x4c34ee>0x1?void 0x0:_0x4c34ee?rt(_0x3857e6,_0x44f42b):_0x3857e6,_0x51e54c=_0x466201[_0x16eaa2(0x1a4)]-0x1,_0x30db5e;_0x51e54c>=0x0;_0x51e54c--)(_0x30db5e=_0x466201[_0x51e54c])&&(_0x94a59c=_0x30db5e(_0x94a59c)||_0x94a59c);return _0x94a59c;},k=(_0x192f63,_0x426d3c)=>(_0x4cfd90,_0x5d7591)=>_0x426d3c(_0x4cfd90,_0x5d7591,_0x192f63);exports[_0x373e19(0x1bf)]=class extends a[_0x373e19(0xf0)]{constructor(_0x1bac7b,_0x45a82d,_0x3e05d7,_0x2948f7,_0x3f6cfa){const _0x47a667=_0x373e19;super(),this[_0x47a667(0x2d4)]=_0x1bac7b,this[_0x47a667(0x294)]=_0x45a82d,this[_0x47a667(0x248)]=_0x3e05d7,this['_dataLoaderService']=_0x2948f7,_0x3f6cfa?_0x3f6cfa==null||_0x3f6cfa[_0x47a667(0x141)]()['then'](()=>this['_init']()):(this[_0x47a667(0x294)]['debug'](_0x47a667(0x113),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x47a667(0xbb)]());}async['_init'](){const _0x196f68=_0x373e19,_0x4ca8d6=this[_0x196f68(0x2d4)][_0x196f68(0x322)](_0x196f68(0x328)),_0x196f13=this['_urlService'][_0x196f68(0x322)](_0x196f68(0x324)),_0x125abd=this[_0x196f68(0x2d4)]['getParam'](_0x196f68(0x229));if(!_0x4ca8d6||!_0x196f13){this[_0x196f68(0x294)][_0x196f68(0x2e6)]('[CollaborationDataLoaderController]',_0x196f68(0x307));return;}const _0x3b88d2=await this[_0x196f68(0x212)][_0x196f68(0x2d9)](_0x4ca8d6,Number(_0x196f13),_0x125abd);_0x3b88d2&&_0x3b88d2 instanceof a['Workbook']&&this[_0x196f68(0xd6)](_0x3b88d2);}async['_setupSubUnitSync'](_0x1d7626){const _0x2baea2=_0x373e19;await this[_0x2baea2(0x109)](_0x1d7626),_0x1d7626[_0x2baea2(0x257)][_0x2baea2(0x1f8)](d[_0x2baea2(0x1b9)](this[_0x2baea2(0x2e1)]))['subscribe'](_0xb545b0=>{const _0x52487b=_0x2baea2;_0xb545b0&&this[_0x52487b(0x2d3)](_0xb545b0);}),this['_urlService'][_0x2baea2(0x1b8)][_0x2baea2(0x1f8)](d['takeUntil'](this[_0x2baea2(0x2e1)]))[_0x2baea2(0x145)](()=>this[_0x2baea2(0x109)](_0x1d7626));}['_updateURLWithCurrentState'](_0x3fdcd3,_0x1151f4=!0x1){const _0x4f7903=_0x373e19,_0x3edee7=this[_0x4f7903(0x2d4)][_0x4f7903(0x322)](_0x4f7903(0x229));_0x3fdcd3[_0x4f7903(0x32b)]()!==_0x3edee7&&this[_0x4f7903(0x2d4)][_0x4f7903(0x2cd)]('subunit',_0x3fdcd3[_0x4f7903(0x32b)](),_0x1151f4);}async['_updateSubUnitFromURLParams'](_0x4b32d9){const _0x5c6295=_0x373e19;var _0x5bf2f3;const _0x2965e8=this[_0x5c6295(0x2d4)][_0x5c6295(0x322)](_0x5c6295(0x229));if(!_0x2965e8||!_0x4b32d9[_0x5c6295(0x1fe)](_0x2965e8)){const _0x4ea8f9=_0x4b32d9[_0x5c6295(0x216)]()[0x0],_0x13b1f7=_0x4b32d9['getSheetBySheetId'](_0x4ea8f9);if(!_0x13b1f7)return;this['_updateURLWithCurrentState'](_0x13b1f7,!0x0),await this['_commandService'][_0x5c6295(0x278)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4b32d9[_0x5c6295(0x261)](),'subUnitId':_0x4ea8f9});return;}((_0x5bf2f3=_0x4b32d9[_0x5c6295(0x1a9)]())==null?void 0x0:_0x5bf2f3[_0x5c6295(0x32b)]())!==_0x2965e8&&await this[_0x5c6295(0x248)][_0x5c6295(0x278)](g[_0x5c6295(0x30b)]['id'],{'unitId':_0x4b32d9[_0x5c6295(0x261)](),'subUnitId':_0x2965e8});}},exports[_0x373e19(0x1bf)]=ot([k(0x0,me),k(0x1,a[_0x373e19(0x28c)]),k(0x2,a['ICommandService']),k(0x3,a[_0x373e19(0x2ec)](u['DataLoaderService'])),k(0x4,a[_0x373e19(0x1aa)](Xe['IRemoteInstanceService']))],exports[_0x373e19(0x1bf)]);var at=Object[_0x373e19(0x305)],ct=(_0x38af15,_0x1ce6aa,_0x521d1f,_0x5145a8)=>{for(var _0x4b6a91=_0x5145a8>0x1?void 0x0:_0x5145a8?at(_0x1ce6aa,_0x521d1f):_0x1ce6aa,_0x36b275=_0x38af15['length']-0x1,_0x585e38;_0x36b275>=0x0;_0x36b275--)(_0x585e38=_0x38af15[_0x36b275])&&(_0x4b6a91=_0x585e38(_0x4b6a91)||_0x4b6a91);return _0x4b6a91;},be=(_0x26647a,_0x1638b0)=>(_0x19e83e,_0x56618e)=>_0x1638b0(_0x19e83e,_0x56618e,_0x26647a);let ue=class extends a[_0x373e19(0xf0)]{constructor(_0x163ed0,_0x57347f){const _0x18d033=_0x373e19;super(),this[_0x18d033(0x126)]=_0x163ed0,this[_0x18d033(0x2cb)]=_0x57347f,this[_0x18d033(0xbb)]();}[_0x373e19(0xbb)](){const _0x294fc2=_0x373e19,_0x13e851=this;this[_0x294fc2(0x13c)](this[_0x294fc2(0x126)]['addClipboardHook']({'onBeforePasteImage':async _0x43e4d9=>{const _0x10f5e9=_0x294fc2,_0x38d86c=await _0x13e851['_imageIoService'][_0x10f5e9(0xcd)](_0x43e4d9);return _0x38d86c?{'source':_0x38d86c['source'],'imageSourceType':_0x38d86c[_0x10f5e9(0x308)]}:null;}}));}};ue=ct([be(0x0,E['IDocClipboardService']),be(0x1,Ge[_0x373e19(0x2e8)])],ue);const Oe=[_0x373e19(0x254),_0x373e19(0x138),_0x373e19(0x23d),'red.300',_0x373e19(0xbf),_0x373e19(0x2fe)];function _0x2638(_0x2d319f,_0x37e9a6){const _0x2c3a8b=_0x2c3a();return _0x2638=function(_0x26382f,_0x30001d){_0x26382f=_0x26382f-0xb0;let _0x2fb487=_0x2c3a8b[_0x26382f];return _0x2fb487;},_0x2638(_0x2d319f,_0x37e9a6);}class Ce extends a[_0x373e19(0x1e2)]{constructor(){const _0x405a9c=_0x373e19;super(...arguments),h(this,_0x405a9c(0x158),new Map()),h(this,_0x405a9c(0x267),0x0);}[_0x373e19(0x1e6)](_0x1d61e3){const _0x1356c3=_0x373e19;if(this[_0x1356c3(0x158)][_0x1356c3(0x281)](_0x1d61e3))return this['_assignedColors']['get'](_0x1d61e3);const _0x533443=Oe[this[_0x1356c3(0x267)]];return this[_0x1356c3(0x267)]=(this[_0x1356c3(0x267)]+0x1)%Oe[_0x1356c3(0x1a4)],this[_0x1356c3(0x158)][_0x1356c3(0x2a9)](_0x1d61e3,_0x533443),_0x533443;}}function ye(_0x2eaa0c){let _0x947bc0='';for(const _0x4920ac of _0x2eaa0c){const {startOffset:_0x3afd93,endOffset:_0x17c114,isActive:_0x17bd73,rangeType:_0x4e006b,segmentId:_0x531cb0,segmentPage:_0x22536c}=_0x4920ac;_0x947bc0['length']&&(_0x947bc0+=','),_0x947bc0+=_0x3afd93+':'+_0x17c114+':'+(_0x17bd73?'1':'0')+':'+_0x4e006b+':'+_0x531cb0+':'+_0x22536c;}return _0x947bc0;}function lt(_0x1e5d9b){const _0x5c17cc=_0x373e19,_0x2d8145=_0x1e5d9b[_0x5c17cc(0x174)](','),_0x4ba82b=[];for(const _0x483080 of _0x2d8145){const [_0x4d53b0,_0x4b52d0,_0x3c7ccd,_0x36801f,_0xe1ac6f,_0x2d6c69]=_0x483080['split'](':');_0x4ba82b[_0x5c17cc(0xc2)]({'startOffset':Number(_0x4d53b0),'endOffset':Number(_0x4b52d0),'collapsed':_0x4d53b0===_0x4b52d0,'isActive':_0x3c7ccd==='1','rangeType':_0x36801f===a[_0x5c17cc(0xbd)]['TEXT']?a[_0x5c17cc(0xbd)][_0x5c17cc(0x18d)]:a[_0x5c17cc(0xbd)][_0x5c17cc(0x1c7)],'segmentId':typeof _0xe1ac6f=='string'?String(_0xe1ac6f):'','segmentPage':Number(_0x2d6c69!=null?_0x2d6c69:-0x1)});}return _0x4ba82b[_0x5c17cc(0xd1)](_0x4d6ff7=>_0x4d6ff7[_0x5c17cc(0x136)])||(_0x4ba82b[0x0][_0x5c17cc(0x136)]=!0x0),_0x4ba82b;}class pe extends a['RxDisposable']{constructor(){const _0x107b51=_0x373e19;super(...arguments),h(this,'_collabCursorState$',new d[(_0x107b51(0x1a8))](null)),h(this,_0x107b51(0x209),this[_0x107b51(0xe0)][_0x107b51(0x252)]());}[_0x373e19(0x107)](_0x44e16c){const _0x3a8d05=_0x373e19,{unitID:_0x4bcdd2,memberID:_0x1eafce,textRanges:_0x3ae513}=_0x44e16c,_0x3f118b=ye(_0x3ae513);if(_0x3f118b==='')return;const _0xaba70b={'unitID':_0x4bcdd2,'memberID':_0x1eafce,'selection':_0x3f118b};this[_0x3a8d05(0xe0)][_0x3a8d05(0x2e5)](_0xaba70b);}}var _t=Object[_0x373e19(0x305)],ht=(_0x8597f,_0x1d0f6a,_0x46a393,_0x3e3dad)=>{const _0x44c2fd=_0x373e19;for(var _0x5c58e4=_0x3e3dad>0x1?void 0x0:_0x3e3dad?_t(_0x1d0f6a,_0x46a393):_0x1d0f6a,_0x200406=_0x8597f[_0x44c2fd(0x1a4)]-0x1,_0x271716;_0x200406>=0x0;_0x200406--)(_0x271716=_0x8597f[_0x200406])&&(_0x5c58e4=_0x271716(_0x5c58e4)||_0x5c58e4);return _0x5c58e4;},L=(_0x2336a6,_0x782344)=>(_0x249362,_0x17de32)=>_0x782344(_0x249362,_0x17de32,_0x2336a6);const ut=0x12c,dt=0x64;let de=class extends a[_0x373e19(0xf0)]{constructor(_0x113446,_0x243f79,_0x5b3c98,_0xc696d9,_0x281119,_0xf7dc22,_0x4c49b9,_0x162098,_0x48fb09){const _0x3b9591=_0x373e19;super(),h(this,_0x3b9591(0x311),!0x1),h(this,_0x3b9591(0xbb),!0x1),h(this,_0x3b9591(0x208),new d[(_0x3b9591(0x1a8))](new Map())),h(this,_0x3b9591(0x310),this[_0x3b9591(0x208)][_0x3b9591(0x252)]()),h(this,'_roomMembers$',new d[(_0x3b9591(0x1a8))]([])),h(this,_0x3b9591(0x287),this['_roomMembers$'][_0x3b9591(0x1f8)](d[_0x3b9591(0xe6)](ut))),h(this,_0x3b9591(0x263),a[_0x3b9591(0x1dc)](_0x497067=>{const _0x39a1f6=_0x3b9591,_0xebc488={'eventID':m[_0x39a1f6(0x1f6)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x39a1f6(0x28b)][_0x39a1f6(0x146)](),'selection':ye(_0x497067)}};this[_0x39a1f6(0x28b)][_0x39a1f6(0x223)](_0xebc488,this[_0x39a1f6(0x1ef)]);},dt)),(this[_0x3b9591(0x1ef)]=_0x113446,this[_0x3b9591(0x28b)]=_0x243f79,this[_0x3b9591(0x20b)]=_0x5b3c98,this[_0x3b9591(0x298)]=_0xc696d9,this[_0x3b9591(0x2d7)]=_0x281119,this[_0x3b9591(0x30d)]=_0xf7dc22,this[_0x3b9591(0x116)]=_0x4c49b9,this['_univerInstanceService']=_0x162098,this[_0x3b9591(0x248)]=_0x48fb09);}get[_0x373e19(0x206)](){const _0x44b34e=_0x373e19;return this['_cursorInfo$'][_0x44b34e(0x1d9)]();}get[_0x373e19(0x21f)](){const _0x494d82=_0x373e19;return this[_0x494d82(0x119)][_0x494d82(0x1d9)]();}[_0x373e19(0x226)](){const _0x172e7f=_0x373e19;super['dispose'](),this[_0x172e7f(0x208)][_0x172e7f(0x2e5)](new Map()),this[_0x172e7f(0x208)][_0x172e7f(0xb7)](),this[_0x172e7f(0x119)][_0x172e7f(0x2e5)]([]),this[_0x172e7f(0x119)]['complete']();}[_0x373e19(0xe5)](){const _0x4b9bcb=_0x373e19;this['_init']||(this['_init']=!0x0,this[_0x4b9bcb(0x28b)][_0x4b9bcb(0x1ad)][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0x17383f=>{const _0x3f7251=_0x4b9bcb;_0x17383f===u['SessionStatus'][_0x3f7251(0x152)]?this[_0x3f7251(0x1cc)]():this['_toggleOffline']();}),this[_0x4b9bcb(0x28b)][_0x4b9bcb(0x195)][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0xbc3703=>{const _0x5c706c=_0x4b9bcb,_0x2f56bc=_0xbc3703['eventID'];_0x2f56bc===m[_0x5c706c(0x1f6)][_0x5c706c(0x28d)]&&this[_0x5c706c(0x190)](_0xbc3703),_0x2f56bc===m['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0xbc3703);}),this[_0x4b9bcb(0x13c)](this['_commandService']['onCommandExecuted'](_0x5f1c1e=>{const _0x4cf252=_0x4b9bcb,_0x21e9e1=_0x5f1c1e[_0x4cf252(0x182)];_0x21e9e1!=null&&this[_0x4cf252(0x311)]&&_0x5f1c1e['id']===Y['SetTextSelectionsOperation']['id']&&_0x21e9e1[_0x4cf252(0xf7)]===this[_0x4cf252(0x1ef)]&&_0x21e9e1['isEditing']===!0x1&&_0x21e9e1[_0x4cf252(0x110)][_0x4cf252(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x21e9e1['ranges']);})),this[_0x4b9bcb(0x30d)]['collabCursorState$'][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0x26c011=>{const _0x15e1b8=_0x4b9bcb;if((_0x26c011==null?void 0x0:_0x26c011[_0x15e1b8(0x1ef)])!==this[_0x15e1b8(0x1ef)])return;const _0x17ba6f={'eventID':m['CollaborationEvent'][_0x15e1b8(0x28d)],'data':_0x26c011};this['_onCursorUpdate'](_0x17ba6f);}),this[_0x4b9bcb(0x13c)](this[_0x4b9bcb(0x248)][_0x4b9bcb(0x27d)](_0x3ab3f1=>{const _0x106bac=_0x4b9bcb;if(_0x3ab3f1[_0x106bac(0x182)]==null)return;const _0xe5e07=_0x3ab3f1[_0x106bac(0x182)];if(_0x3ab3f1['id']!==Y['RichTextEditingMutation']['id']||_0xe5e07[_0x106bac(0xf7)]!==this[_0x106bac(0x1ef)])return;const _0x441dcf={'id':'doc.mutation.rich-text-editing','params':_0xe5e07},_0x23b2ed=this[_0x106bac(0x206)];for(const [_0x185b29,_0x5ed0cf]of _0x23b2ed){const _0xe1572={'id':_0x106bac(0xc1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5ed0cf['ranges']}},_0x182151=this[_0x106bac(0x116)][_0x106bac(0x102)](_0x441dcf,_0xe1572,!0x1);if(m['isTransformMutationFailure'](_0x182151))throw _0x182151[_0x106bac(0x111)];_0x23b2ed[_0x106bac(0x2a9)](_0x185b29,{..._0x5ed0cf,'ranges':_0x182151[_0x106bac(0x235)][_0x106bac(0x182)][_0x106bac(0x2bc)]});}queueMicrotask(()=>{const _0x5e6120=_0x106bac;this[_0x5e6120(0x208)][_0x5e6120(0x2e5)](_0x23b2ed);});})));}[_0x373e19(0x190)](_0x389b56){const _0xa9bfdd=_0x373e19;var _0x519ee5,_0x22b673;const {memberID:_0x1ccd8e,selection:_0x4797f4}=_0x389b56[_0xa9bfdd(0x13f)],_0x4ec47b=lt(_0x4797f4),_0x39e9df=(_0x22b673=(_0x519ee5=this[_0xa9bfdd(0x2d7)][_0xa9bfdd(0xc5)](this[_0xa9bfdd(0x1ef)],_0x1ccd8e))==null?void 0x0:_0x519ee5[_0xa9bfdd(0x1ec)])!=null?_0x22b673:'Unknown\x20user',_0x216e67={'color':this[_0xa9bfdd(0x298)]['assignAColorForMemberID'](_0x1ccd8e),'name':_0x39e9df,'ranges':_0x4ec47b},_0x153d0a=this[_0xa9bfdd(0x206)];_0x153d0a[_0xa9bfdd(0x2a9)](_0x1ccd8e,_0x216e67),this[_0xa9bfdd(0x208)][_0xa9bfdd(0x2e5)](_0x153d0a);}[_0x373e19(0x194)](_0x3395bd){const _0x47feae=_0x373e19,{memberID:_0x4df97d}=_0x3395bd[_0x47feae(0x13f)],_0x5912dd=this['cursorInfo'];_0x5912dd[_0x47feae(0x258)](_0x4df97d),this[_0x47feae(0x208)][_0x47feae(0x2e5)](_0x5912dd);}[_0x373e19(0x1cc)](){const _0x5a7958=_0x373e19;var _0x345bdb;if(this[_0x5a7958(0x311)]=!0x0,((_0x345bdb=this[_0x5a7958(0x303)][_0x5a7958(0x19d)]())==null?void 0x0:_0x345bdb[_0x5a7958(0x261)]())!==this[_0x5a7958(0x1ef)])return;const _0x477313=this[_0x5a7958(0x20b)][_0x5a7958(0x177)](Y[_0x5a7958(0x10a)])[_0x5a7958(0x288)]();Array[_0x5a7958(0x297)](_0x477313)&&_0x477313['length']>0x0&&this[_0x5a7958(0x263)](_0x477313);}[_0x373e19(0x19b)](){this['_online']=!0x1;}};de=ht([L(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),L(0x3,a[_0x373e19(0x2ec)](Ce)),L(0x4,a['Inject'](u[_0x373e19(0x13e)])),L(0x5,a[_0x373e19(0x2ec)](pe)),L(0x6,m[_0x373e19(0x101)]),L(0x7,a[_0x373e19(0x157)]),L(0x8,a[_0x373e19(0x1af)])],de);var St=Object[_0x373e19(0x305)],ft=(_0x584050,_0x24aba9,_0x3c5376,_0x4a2923)=>{const _0x1b281c=_0x373e19;for(var _0xfea012=_0x4a2923>0x1?void 0x0:_0x4a2923?St(_0x24aba9,_0x3c5376):_0x24aba9,_0x3fda8a=_0x584050[_0x1b281c(0x1a4)]-0x1,_0x5ee1cc;_0x3fda8a>=0x0;_0x3fda8a--)(_0x5ee1cc=_0x584050[_0x3fda8a])&&(_0xfea012=_0x5ee1cc(_0xfea012)||_0xfea012);return _0xfea012;},A=(_0x3152ac,_0x5a9bcb)=>(_0x262af1,_0x323b44)=>_0x5a9bcb(_0x262af1,_0x323b44,_0x3152ac);const It=0x12c,vt=0x64,gt=()=>{let _0x3e2ed3=[],_0x91df12=!0x1;return _0x2b2b22=>{const _0x222a33=_0x2638;_0x3e2ed3[_0x222a33(0xc2)](_0x2b2b22),_0x91df12||(_0x91df12=!0x0,setTimeout(()=>{const _0x1b0c55=_0x222a33;_0x3e2ed3[_0x1b0c55(0x22a)](_0x2fff20=>_0x2fff20()),_0x3e2ed3=[],_0x91df12=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x364467,_0x22342c,_0x2e2501,_0x557b83,_0x110ece,_0x28855e,_0x414497,_0xe19115){const _0x56ca58=_0x373e19;super(),h(this,_0x56ca58(0x311),!0x1),h(this,'_init',!0x1),h(this,_0x56ca58(0x208),new d['BehaviorSubject'](new Map())),h(this,_0x56ca58(0x310),this[_0x56ca58(0x208)]['asObservable']()),h(this,_0x56ca58(0x119),new d[(_0x56ca58(0x1a8))]([])),h(this,_0x56ca58(0x287),this[_0x56ca58(0x119)][_0x56ca58(0x1f8)](d['debounceTime'](It))),h(this,_0x56ca58(0x263),a[_0x56ca58(0x1dc)]((_0x94fb5c,_0x27b09b)=>{const _0x1c58ba=_0x56ca58,_0x41a08d={'eventID':m[_0x1c58ba(0x1f6)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x1c58ba(0x28b)][_0x1c58ba(0x146)](),'selection':Ee[_0x1c58ba(0x11e)](_0x94fb5c,_0x27b09b[_0x1c58ba(0x225)])}};this[_0x1c58ba(0x28b)][_0x1c58ba(0x223)](_0x41a08d,this[_0x1c58ba(0x1ef)]);},vt)),(this[_0x56ca58(0x1ef)]=_0x364467,this[_0x56ca58(0x28b)]=_0x22342c,this[_0x56ca58(0x20b)]=_0x2e2501,this['_colorAssignService']=_0x557b83,this[_0x56ca58(0x2d7)]=_0x110ece,this[_0x56ca58(0x303)]=_0x28855e,this[_0x56ca58(0x248)]=_0x414497,this[_0x56ca58(0x1f0)]=_0xe19115);}get[_0x373e19(0x206)](){const _0x389f19=_0x373e19;return this[_0x389f19(0x208)][_0x389f19(0x1d9)]();}get[_0x373e19(0x21f)](){const _0x472915=_0x373e19;return this[_0x472915(0x119)][_0x472915(0x1d9)]();}['dispose'](){const _0x38242b=_0x373e19;super['dispose'](),this[_0x38242b(0x208)][_0x38242b(0x2e5)](new Map()),this[_0x38242b(0x208)]['complete'](),this[_0x38242b(0x119)][_0x38242b(0x2e5)]([]),this[_0x38242b(0x119)][_0x38242b(0xb7)]();}[_0x373e19(0xe5)](){const _0x1ac696=_0x373e19;this[_0x1ac696(0xbb)]||(this[_0x1ac696(0xbb)]=!0x0,this['_session']['sessionStatus$'][_0x1ac696(0x1f8)](d[_0x1ac696(0x1b9)](this['dispose$']))['subscribe'](_0x438435=>{const _0x446d71=_0x1ac696;_0x438435===u['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x446d71(0x19b)]();}),this[_0x1ac696(0x28b)]['event$'][_0x1ac696(0x1f8)](d['takeUntil'](this[_0x1ac696(0x2e1)]))[_0x1ac696(0x145)](_0x4c70d8=>{const _0x5af1b6=_0x1ac696,_0x132192=_0x4c70d8[_0x5af1b6(0x1e1)];_0x132192===m[_0x5af1b6(0x1f6)][_0x5af1b6(0x28d)]&&this[_0x5af1b6(0x190)](_0x4c70d8),_0x132192===m[_0x5af1b6(0x1f6)][_0x5af1b6(0x176)]&&this['_onCursorDelete'](_0x4c70d8);}),this[_0x1ac696(0x1f9)](),this[_0x1ac696(0x13c)](this[_0x1ac696(0x248)][_0x1ac696(0x27d)](_0x547885=>{const _0x205bbc=_0x1ac696;if(this[_0x205bbc(0x311)]&&_0x547885['id']===g[_0x205bbc(0x1eb)]['id']&&_0x547885[_0x205bbc(0x182)][_0x205bbc(0xf7)]===this[_0x205bbc(0x1ef)]){const _0x19f8b1=_0x547885['params'];this[_0x205bbc(0x263)](_0x19f8b1[_0x205bbc(0x2a0)],_0x19f8b1[_0x205bbc(0x214)][0x0]);}})));}['_onCursorUpdate'](_0x13e61a){const _0x3cd807=_0x373e19;var _0x3894eb,_0x5d3b98;const {memberID:_0x2fdace,selection:_0x1b15c8}=_0x13e61a[_0x3cd807(0x13f)],{sheetName:_0x58981e,range:_0x58d00d}=Ee[_0x3cd807(0x1c3)](_0x1b15c8),_0x3f62f5={'name':(_0x5d3b98=(_0x3894eb=this[_0x3cd807(0x2d7)][_0x3cd807(0xc5)](this[_0x3cd807(0x1ef)],_0x2fdace))==null?void 0x0:_0x3894eb['name'])!=null?_0x5d3b98:_0x3cd807(0x29d),'range':this[_0x3cd807(0x231)](_0x58981e,_0x58d00d),'sheetID':_0x58981e,'color':this[_0x3cd807(0x298)][_0x3cd807(0x1e6)](_0x2fdace),'selection':_0x1b15c8},_0x586812=this[_0x3cd807(0x206)];_0x586812[_0x3cd807(0x2a9)](_0x2fdace,_0x3f62f5),this[_0x3cd807(0x208)]['next'](_0x586812);}['_onCursorDelete'](_0x4a44e7){const _0x5ec480=_0x373e19,{memberID:_0x14a724}=_0x4a44e7['data'],_0x5e1c73=this[_0x5ec480(0x206)];_0x5e1c73[_0x5ec480(0x258)](_0x14a724),this[_0x5ec480(0x208)][_0x5ec480(0x2e5)](_0x5e1c73);}[_0x373e19(0x231)](_0x39c090,_0x41fae9){const _0x509b8b=_0x373e19;var _0x3f1faf,_0x34d765;const _0x5c40e5=(_0x34d765=(_0x3f1faf=this[_0x509b8b(0x303)][_0x509b8b(0x2be)](this[_0x509b8b(0x1ef)]))==null?void 0x0:_0x3f1faf[_0x509b8b(0x1fe)](_0x39c090))==null?void 0x0:_0x34d765[_0x509b8b(0x1d6)]();return(_0x5c40e5==null?void 0x0:_0x5c40e5['find'](_0x4db961=>a[_0x509b8b(0x2c5)]['contains'](_0x4db961,_0x41fae9)))||_0x41fae9;}['_onRefRangeChange'](){const _0x35721e=_0x373e19,_0xbe85f3=new a['DisposableCollection'](),_0x454b05=gt(),_0x5e7be6=()=>{const _0x4e2bb1=_0x2638;_0xbe85f3[_0x4e2bb1(0x226)]();const _0x381e85=(_0x5d8dfa,_0x251797,_0x37d6a9,_0x48f671)=>{const _0x325260=_0x4e2bb1;let _0xb7d3bc=[];switch(_0x5d8dfa['id']){case g[_0x325260(0x2f0)][_0x325260(0x1b0)]:{_0xb7d3bc=g[_0x325260(0x12a)](_0x5d8dfa,_0x48f671);break;}case g['EffectRefRangId'][_0x325260(0x114)]:{_0xb7d3bc=g[_0x325260(0x1ba)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x228)]:{_0xb7d3bc=g['handleInsertCol'](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x124)]:{_0xb7d3bc=g[_0x325260(0x268)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2c8)]:{_0xb7d3bc=g[_0x325260(0x26d)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2af)]:{_0xb7d3bc=g[_0x325260(0x2bb)](_0x5d8dfa,_0x48f671);break;}case g['EffectRefRangId']['MoveRangeCommandId']:{_0xb7d3bc=g[_0x325260(0x1bb)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2a2)]:{_0xb7d3bc=g['handleIRemoveCol'](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)]['RemoveRowCommandId']:{_0xb7d3bc=g['handleIRemoveRow'](_0x5d8dfa,_0x48f671);break;}}const _0x76e663=g[_0x325260(0x2f8)](_0xb7d3bc,_0x48f671),_0x1d6f2f=this[_0x325260(0x206)]['get'](_0x251797);if(_0x1d6f2f&&_0x76e663){const _0x425893={..._0x1d6f2f,'range':_0x76e663};this[_0x325260(0x206)]['set'](_0x251797,_0x425893),_0x454b05(()=>{const _0x173c38=_0x325260,_0xcd9a97=this[_0x173c38(0x1f0)][_0x173c38(0x25a)](_0x76e663,_0x5d07a3=>(_0xcd9a97[_0x173c38(0x226)](),_0x381e85(_0x5d07a3,_0x251797,_0x37d6a9,_0x76e663)));_0xbe85f3[_0x173c38(0x1a3)](_0xcd9a97);});}return{'redos':[],'undos':[]};};this[_0x4e2bb1(0x206)][_0x4e2bb1(0x22a)]((_0x471237,_0x1fea73)=>{const _0x34218e=_0x4e2bb1,{range:_0x153f75,sheetID:_0x21af3c}=_0x471237,_0xcc55e1=this['_refRangeService'][_0x34218e(0x25a)](_0x153f75,_0x24a05c=>(_0xcc55e1[_0x34218e(0x226)](),_0x381e85(_0x24a05c,_0x1fea73,_0x21af3c,_0x153f75)));_0xbe85f3['add'](_0xcc55e1);});};this[_0x35721e(0x13c)](a[_0x35721e(0x285)](this[_0x35721e(0x208)]['subscribe'](()=>{_0x5e7be6();})));}[_0x373e19(0x1cc)](){const _0x57614d=_0x373e19;var _0x1c5ad1,_0x38414b;if(this[_0x57614d(0x311)]=!0x0,((_0x1c5ad1=this[_0x57614d(0x303)][_0x57614d(0x19d)]())==null?void 0x0:_0x1c5ad1['getUnitId']())!==this['unitID'])return;const _0x4fe0b7=(_0x38414b=this['_injector']['get'](g[_0x57614d(0x302)])[_0x57614d(0x32f)]())==null?void 0x0:_0x38414b[0x0],_0x31ac87=this['_univerInstanceService']['getCurrentUnitForType'](a[_0x57614d(0x2fc)][_0x57614d(0x1de)])[_0x57614d(0x1a9)]();_0x4fe0b7&&_0x31ac87&&this['_updateLocalCursor'](_0x31ac87[_0x57614d(0x32b)](),_0x4fe0b7);}['_toggleOffline'](){this['_online']=!0x1;}};Se=ft([A(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),A(0x3,a[_0x373e19(0x2ec)](Ce)),A(0x4,a[_0x373e19(0x2ec)](u[_0x373e19(0x13e)])),A(0x5,a[_0x373e19(0x157)]),A(0x6,a[_0x373e19(0x1af)]),A(0x7,a['Inject'](g[_0x373e19(0x2c2)]))],Se);var mt=Object[_0x373e19(0x305)],Ct=(_0x260761,_0x247b39,_0x2e28b9,_0x639d9c)=>{const _0x5e7ac6=_0x373e19;for(var _0x1cfb14=_0x639d9c>0x1?void 0x0:_0x639d9c?mt(_0x247b39,_0x2e28b9):_0x247b39,_0x316f6e=_0x260761[_0x5e7ac6(0x1a4)]-0x1,_0x3f86e0;_0x316f6e>=0x0;_0x316f6e--)(_0x3f86e0=_0x260761[_0x316f6e])&&(_0x1cfb14=_0x3f86e0(_0x1cfb14)||_0x1cfb14);return _0x1cfb14;},ie=(_0x4c267b,_0x5f29b7)=>(_0x57c0ea,_0x506b10)=>_0x5f29b7(_0x57c0ea,_0x506b10,_0x4c267b);let x=class extends a[_0x373e19(0xf0)]{constructor(_0x147827,_0x53a5f9,_0x3cc56a){const _0x25a150=_0x373e19;super(),h(this,'_entities',new Map()),h(this,_0x25a150(0x14b),new d[(_0x25a150(0x29f))]()),(this[_0x25a150(0x303)]=_0x147827,this[_0x25a150(0x20b)]=_0x53a5f9,this['_collabSessionService']=_0x3cc56a,this[_0x25a150(0xbb)]());}[_0x373e19(0x226)](){const _0x4aef61=_0x373e19;super[_0x4aef61(0x226)](),this['_entityInit$'][_0x4aef61(0xb7)](),this[_0x4aef61(0x2ba)][_0x4aef61(0x22a)](_0x2d3182=>_0x2d3182['dispose']());}['getCollabCursors$'](_0x40e92f){const _0x3745fe=_0x373e19;return this['_entities'][_0x3745fe(0x281)](_0x40e92f)?this['_entities'][_0x3745fe(0x177)](_0x40e92f)[_0x3745fe(0x310)]:this['_entityInit$']['pipe'](d[_0x3745fe(0x243)](_0x3f804d=>_0x3f804d[_0x3745fe(0x1ef)]===_0x40e92f),d[_0x3745fe(0xcc)](_0x4992e5=>_0x4992e5[_0x3745fe(0x310)]));}[_0x373e19(0xbb)](){const _0x4b766f=_0x373e19;this['_univerInstanceService'][_0x4b766f(0xb3)](a['UniverInstanceType'][_0x4b766f(0x1de)])['pipe'](d[_0x4b766f(0x1b9)](this['dispose$']))[_0x4b766f(0x145)](async _0x2ea52f=>{const _0x4e6938=_0x4b766f,_0x3bade9=_0x2ea52f['getUnitId'](),_0x33d8f0=await this['_startSheetCollabCursor'](_0x3bade9);this[_0x4e6938(0x14b)][_0x4e6938(0x2e5)](_0x33d8f0),this[_0x4e6938(0x2ba)][_0x4e6938(0x2a9)](_0x3bade9,_0x33d8f0);}),this[_0x4b766f(0x303)][_0x4b766f(0xb3)](a[_0x4b766f(0x2fc)][_0x4b766f(0xf8)])[_0x4b766f(0x1f8)](d['takeUntil'](this[_0x4b766f(0x2e1)]))[_0x4b766f(0x1f8)](d[_0x4b766f(0x243)](_0xdac780=>!_0xdac780[_0x4b766f(0x261)]()[_0x4b766f(0x2a8)]('__')))[_0x4b766f(0x145)](async _0x174dd3=>{const _0x420a00=_0x4b766f,_0x381aac=_0x174dd3[_0x420a00(0x261)](),_0x51b990=await this[_0x420a00(0x25b)](_0x381aac);this['_entityInit$']['next'](_0x51b990),this[_0x420a00(0x2ba)][_0x420a00(0x2a9)](_0x381aac,_0x51b990);}),d[_0x4b766f(0x11b)](this[_0x4b766f(0x303)][_0x4b766f(0x118)](a['UniverInstanceType'][_0x4b766f(0xf8)]),this[_0x4b766f(0x303)][_0x4b766f(0x118)](a[_0x4b766f(0x2fc)]['UNIVER_SHEET']))[_0x4b766f(0x1f8)](d[_0x4b766f(0x1b9)](this[_0x4b766f(0x2e1)]))[_0x4b766f(0x145)](_0x91bb95=>{const _0x306a41=_0x4b766f,_0x31b6c2=_0x91bb95[_0x306a41(0x261)](),_0x21dc60=this['_entities'][_0x306a41(0x177)](_0x31b6c2);_0x21dc60&&(_0x21dc60[_0x306a41(0x226)](),this[_0x306a41(0x2ba)]['delete'](_0x31b6c2));});}async['_startSheetCollabCursor'](_0x2933e7){const _0x421b14=_0x373e19,_0xab92ed=await this[_0x421b14(0x169)][_0x421b14(0x2ef)](_0x2933e7),_0x151b0b=this[_0x421b14(0x20b)][_0x421b14(0x291)](Se,_0x2933e7,_0xab92ed);return _0x151b0b[_0x421b14(0xe5)](),_0x151b0b;}async[_0x373e19(0x25b)](_0x368b44){const _0x504f83=_0x373e19,_0x162224=await this[_0x504f83(0x169)][_0x504f83(0x2ef)](_0x368b44),_0x3de8b2=this[_0x504f83(0x20b)][_0x504f83(0x291)](de,_0x368b44,_0x162224);return _0x3de8b2[_0x504f83(0xe5)](),_0x3de8b2;}};x=Ct([ie(0x0,a[_0x373e19(0x157)]),ie(0x1,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),ie(0x2,a['Inject'](u[_0x373e19(0x2d6)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x5cc8ff,_0x13a38b){const _0x2bf8e5=_0x373e19;let {radius:_0x4f707f,width:_0x5a2f6d,height:_0x1048c0}=_0x13a38b;_0x4f707f=_0x4f707f!=null?_0x4f707f:0x0,_0x5a2f6d=_0x5a2f6d!=null?_0x5a2f6d:0x1e,_0x1048c0=_0x1048c0!=null?_0x1048c0:0x1e;let _0x382f8d=0x0,_0x4cecf1=0x0,_0x36023e=0x0;_0x382f8d=_0x4cecf1=_0x36023e=Math[_0x2bf8e5(0x1ff)](_0x4f707f,_0x5a2f6d/0x2,_0x1048c0/0x2),_0x5cc8ff[_0x2bf8e5(0xf3)](),_0x5cc8ff[_0x2bf8e5(0x100)](_0x382f8d,0x0),_0x5cc8ff[_0x2bf8e5(0x32a)](_0x5a2f6d-_0x4cecf1,0x0),_0x5cc8ff[_0x2bf8e5(0x143)](_0x5a2f6d-_0x4cecf1,_0x4cecf1,_0x4cecf1,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cc8ff[_0x2bf8e5(0x32a)](_0x5a2f6d,_0x1048c0-_0x36023e),_0x5cc8ff['arc'](_0x5a2f6d-_0x36023e,_0x1048c0-_0x36023e,_0x36023e,0x0,Math['PI']/0x2,!0x1),_0x5cc8ff['lineTo'](0x0,_0x1048c0),_0x5cc8ff[_0x2bf8e5(0x32a)](0x0,_0x382f8d),_0x5cc8ff[_0x2bf8e5(0x143)](_0x382f8d,_0x382f8d,_0x382f8d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cc8ff['closePath'](),_0x13a38b[_0x2bf8e5(0xec)]&&(_0x5cc8ff[_0x2bf8e5(0x163)](),_0x5cc8ff['fillStyle']=_0x13a38b[_0x2bf8e5(0xec)],_0x13a38b['fillRule']===_0x2bf8e5(0xcb)?_0x5cc8ff['fill'](_0x2bf8e5(0xcb)):_0x5cc8ff['fill'](),_0x5cc8ff[_0x2bf8e5(0x134)]());}class ee extends p[_0x373e19(0x1e5)]{constructor(_0x5de5bd,_0x32875b){const _0x71048b=_0x373e19;super(_0x5de5bd,_0x32875b),h(this,'color'),h(this,_0x71048b(0x2b6)),(this[_0x71048b(0x1ea)]=_0x32875b==null?void 0x0:_0x32875b[_0x71048b(0x1ea)],this['text']=_0x32875b==null?void 0x0:_0x32875b[_0x71048b(0x2b6)]);}static[_0x373e19(0xc9)](_0x522afc,_0x132d78){const _0x15081d=_0x373e19,{text:_0x47e421,color:_0x81d9ab}=_0x132d78;_0x522afc[_0x15081d(0x163)](),_0x522afc[_0x15081d(0x220)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x224323=_0x522afc[_0x15081d(0x25f)](_0x47e421)['width'],_0x426f88=Math[_0x15081d(0x1ff)](_0x224323+0x2*ne,Te);Et(_0x522afc,{'height':W,'radius':0x4,'width':_0x426f88,'fill':_0x81d9ab}),_0x522afc[_0x15081d(0x1b1)]=_0x15081d(0x30a);const _0x29b9af=ne,_0x5ae8bf=W-pt,_0x152fea=Te-0x2*ne;if(_0x224323>_0x152fea){let _0x578f33='',_0x40267c=0x0;for(const _0xf956ff of _0x47e421){const _0x2bd38c=_0x522afc[_0x15081d(0x25f)](_0xf956ff)[_0x15081d(0x173)];if(_0x40267c+_0x2bd38c<=_0x152fea-_0x522afc[_0x15081d(0x25f)](_0x15081d(0x217))['width'])_0x578f33+=_0xf956ff,_0x40267c+=_0x2bd38c;else{_0x578f33+=_0x15081d(0x217);break;}}_0x522afc[_0x15081d(0x14e)](_0x578f33,_0x29b9af,_0x5ae8bf);}else _0x522afc[_0x15081d(0x14e)](_0x47e421,_0x29b9af,_0x5ae8bf);_0x522afc[_0x15081d(0x134)]();}[_0x373e19(0x22c)](_0x24e2b1){ee['drawWith'](_0x24e2b1,this);}}const re=_0x373e19(0x20c),bt=_0x373e19(0x121),Ot='collab-rect-range-',F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x373e19(0x14d);class Re{constructor(_0x34749d,_0x5348ff,_0x32348a,_0x2c49c1){const _0x243e44=_0x373e19;h(this,_0x243e44(0x2d0),[]),h(this,_0x243e44(0x201),null),h(this,_0x243e44(0x273),null),h(this,_0x243e44(0x159),null),h(this,_0x243e44(0x131),null),h(this,_0x243e44(0x19f),null),(this[_0x243e44(0x168)]=_0x34749d,this[_0x243e44(0x135)]=_0x5348ff,this[_0x243e44(0x23c)]=_0x32348a,this['_document']=_0x2c49c1,this[_0x243e44(0x290)]());}set[_0x373e19(0x1b2)](_0x2a55a1){const _0x1dd21b=_0x373e19;_0x2a55a1?(this[_0x1dd21b(0x159)]&&this[_0x1dd21b(0x159)][_0x1dd21b(0xd9)](),this[_0x1dd21b(0x273)]&&this['_textBubble'][_0x1dd21b(0xed)]()):(this[_0x1dd21b(0x159)]&&this['_anchorDot']['show'](),this[_0x1dd21b(0x273)]&&this[_0x1dd21b(0x273)][_0x1dd21b(0xd9)]());}[_0x373e19(0x226)](){const _0x4dafdd=_0x373e19;for(const _0x3e35a0 of this[_0x4dafdd(0x2d0)])_0x3e35a0[_0x4dafdd(0x226)]();this[_0x4dafdd(0x273)]&&this['_textBubble'][_0x4dafdd(0x226)](),this[_0x4dafdd(0x159)]&&this['_anchorDot'][_0x4dafdd(0x226)](),this[_0x4dafdd(0x201)]&&this[_0x4dafdd(0x201)][_0x4dafdd(0x226)](),this[_0x4dafdd(0x19f)]&&this['_eventUnsubscribe']();}[_0x373e19(0x290)](){const _0x303768=_0x373e19;var _0x57d985;const {_docSkeleton:_0x3c9965,_document:_0x2dc762}=this,{color:_0xd0acc1,name:_0x39ece5,ranges:_0xf100ce}=this['_cursor'],_0x2710e0=_0x2dc762[_0x303768(0x17e)](),{docsLeft:_0x22a6c8,docsTop:_0xe34262}=_0x2710e0,_0x1e50aa=new E[(_0x303768(0x27b))](_0x2710e0,_0x3c9965);for(const {startOffset:_0x43da02,endOffset:_0x5e71e1,rangeType:_0xd3fe74,segmentId:_0x4ccd03,segmentPage:_0x155abf,collapsed:_0x5a8a7a,isActive:_0x40ea0b}of _0xf100ce){const _0xaf8f7a=_0x3c9965[_0x303768(0x105)](_0x43da02,!0x0,_0x4ccd03,_0x155abf);let _0x1efd9b=_0x3c9965[_0x303768(0x105)](_0x5e71e1,!0x0,_0x4ccd03,_0x155abf);if(_0x1efd9b==null&&(_0x1efd9b=_0x3c9965[_0x303768(0x105)](_0x5e71e1-0x1,!0x1,_0x4ccd03,_0x155abf)),_0x40ea0b){const {contentBoxPointGroup:_0x3f591c}=_0x1e50aa[_0x303768(0x1e8)](_0x1efd9b,_0x1efd9b);if(_0x3f591c[_0x303768(0x1a4)]===0x0)continue;this['_drawAnchor'](_0xd0acc1,_0x3f591c,_0x22a6c8,_0xe34262,_0x39ece5),this[_0x303768(0x19f)]=this['_handleHover']();}if(_0xaf8f7a&&_0x1efd9b){if(_0xd3fe74===a[_0x303768(0xbd)][_0x303768(0x1c7)]){const _0x4ea6d9=new E[(_0x303768(0xd3))](_0x2710e0,_0x3c9965),{pointGroup:_0x8dd74f}=(_0x57d985=_0x4ea6d9['getRangePointData'](_0xaf8f7a,_0x1efd9b))!=null?_0x57d985:{};if(_0x8dd74f==null||_0x8dd74f['length']===0x0)continue;this[_0x303768(0x10e)](_0xd0acc1,_0x8dd74f,_0x22a6c8,_0xe34262);}else{if(!_0x5a8a7a){const {borderBoxPointGroup:_0x2f3c48}=_0x1e50aa[_0x303768(0x1e8)](_0xaf8f7a,_0x1efd9b);if(_0x2f3c48[_0x303768(0x1a4)]===0x0)continue;this[_0x303768(0x185)](_0xd0acc1,_0x2f3c48,_0x22a6c8,_0xe34262);}}}}}[_0x373e19(0x22f)](_0x5703df,_0xcacd4e,_0x139ef7,_0x12fdc7,_0x34cc74){const _0x404398=_0x373e19,_0x116dd8=this['_getAnchorBounding'](_0xcacd4e),{left:_0x348f7f,top:_0x492311,height:_0x475295}=_0x116dd8,_0x4dc2bf=this[_0x404398(0x16b)](),_0x583bf1=Rt/_0x4dc2bf,_0x142046=new p[(_0x404398(0x275))](re+a[_0x404398(0x17c)](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7,'height':_0x475295,'width':Tt,'fill':_0x5703df||p[_0x404398(0x32c)](a['COLORS'][_0x404398(0x18f)],0x0),'strokeWidth':_0x583bf1,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x142046,this[_0x404398(0x135)][_0x404398(0x1ed)](_0x142046,E[_0x404398(0x167)]);const _0x34a7c1=new p[(_0x404398(0x275))](re+a['generateRandomId'](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7-oe/0x2,'height':oe,'width':oe,'fill':_0x5703df||p[_0x404398(0x32c)](a[_0x404398(0xfc)][_0x404398(0x18f)],0x0),'strokeWidth':0x0,'stroke':_0x5703df||p[_0x404398(0x32c)](a['COLORS'][_0x404398(0x18f)],0x0),'evented':!0x1});this[_0x404398(0x159)]=_0x34a7c1,this[_0x404398(0x135)]['addObject'](_0x34a7c1,E[_0x404398(0x167)]);const _0x4bbda8=new ee(re+a[_0x404398(0x17c)](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7-W,'text':_0x34cc74,'color':_0x5703df});this[_0x404398(0x273)]=_0x4bbda8,this[_0x404398(0x135)][_0x404398(0x1ed)](_0x4bbda8,E['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x39bbe9=_0x373e19,_0x5c0005=this[_0x39bbe9(0x201)]['onPointerEnter$'][_0x39bbe9(0x2d5)](()=>{const _0x26ac04=_0x39bbe9;this[_0x26ac04(0x1b2)]=!0x0;}),_0x296d19=this['_anchor'][_0x39bbe9(0xe1)][_0x39bbe9(0x2d5)](()=>{const _0x13eb6b=_0x39bbe9;this[_0x13eb6b(0x131)]&&clearTimeout(this['_hideTimer']),this[_0x13eb6b(0x131)]=setTimeout(()=>{const _0x2d9412=_0x13eb6b;this[_0x2d9412(0x1b2)]=!0x1;},0x7d0);});return()=>{const _0x5865cb=_0x39bbe9;_0x5c0005[_0x5865cb(0x247)](),_0x296d19[_0x5865cb(0x247)]();};}[_0x373e19(0x185)](_0x5e55a8,_0xcd9e43,_0x4ecd3d,_0x11e5c1){const _0x7ec8b2=_0x373e19,_0x25168a=new a[(_0x7ec8b2(0x16c))](_0x5e55a8)[_0x7ec8b2(0x1c9)](0.2)['toRgbString'](),_0x348b6c=new p[(_0x7ec8b2(0x250))](bt+a[_0x7ec8b2(0x17c)](F),{'pointsGroup':_0xcd9e43,'fill':_0x25168a||p[_0x7ec8b2(0x32c)](a[_0x7ec8b2(0xfc)][_0x7ec8b2(0x18f)],0.2),'left':_0x4ecd3d,'top':_0x11e5c1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7ec8b2(0x2d0)][_0x7ec8b2(0xc2)](_0x348b6c),this[_0x7ec8b2(0x135)][_0x7ec8b2(0x1ed)](_0x348b6c,E['TEXT_RANGE_LAYER_INDEX']);}[_0x373e19(0x10e)](_0x5f1275,_0x1ac988,_0x1d51d2,_0x944a85){const _0x18a08e=_0x373e19,_0x2a569c=new a[(_0x18a08e(0x16c))](_0x5f1275)['setAlpha'](0.2)[_0x18a08e(0x325)](),_0x830e5b=new p[(_0x18a08e(0x250))](Ot+a[_0x18a08e(0x17c)](F),{'pointsGroup':_0x1ac988,'fill':_0x2a569c||p[_0x18a08e(0x32c)](a[_0x18a08e(0xfc)][_0x18a08e(0x18f)],0.2),'left':_0x1d51d2,'top':_0x944a85,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x830e5b),this['_scene'][_0x18a08e(0x1ed)](_0x830e5b,E['TEXT_RANGE_LAYER_INDEX']);}[_0x373e19(0x1e7)](_0x1242ac){const _0x3cc1ef=_0x1242ac[0x0],_0x37bad8=_0x3cc1ef[0x0],_0x405d37=_0x3cc1ef[0x2],{x:_0x4143b9,y:_0x30d4d7}=_0x37bad8,{x:_0x3f936c,y:_0x49e498}=_0x405d37;return{'left':_0x4143b9,'top':_0x30d4d7,'width':_0x3f936c-_0x4143b9,'height':_0x49e498-_0x30d4d7};}[_0x373e19(0x16b)](){const _0x45a8a1=_0x373e19,{scaleX:_0x37ac21,scaleY:_0xd1434a}=this['_scene'][_0x45a8a1(0x2bf)]();return Math[_0x45a8a1(0x24c)](_0x37ac21,_0xd1434a);}}var Ut=Object[_0x373e19(0x305)],Nt=(_0x21b81a,_0x43a4e6,_0x1e801d,_0x1662ac)=>{for(var _0x5a473b=_0x1662ac>0x1?void 0x0:_0x1662ac?Ut(_0x43a4e6,_0x1e801d):_0x43a4e6,_0x154923=_0x21b81a['length']-0x1,_0x4181b6;_0x154923>=0x0;_0x154923--)(_0x4181b6=_0x21b81a[_0x154923])&&(_0x5a473b=_0x4181b6(_0x5a473b)||_0x5a473b);return _0x5a473b;},X=(_0x2466f6,_0x4eeb68)=>(_0x111f6a,_0x43bcda)=>_0x4eeb68(_0x111f6a,_0x43bcda,_0x2466f6);let fe=class extends a[_0x373e19(0xf0)]{constructor(_0x1c9382,_0x5e0dca,_0x257e75,_0xabb585,_0x3e2d99){const _0x21dc5b=_0x373e19;super(),h(this,_0x21dc5b(0x292),[]),h(this,_0x21dc5b(0x327),[]),(this['_context']=_0x1c9382,this['_docSkeletonManagerService']=_0x5e0dca,this['_collabCursorController']=_0x257e75,this[_0x21dc5b(0x248)]=_0xabb585,this['_themeService']=_0x3e2d99,this[_0x21dc5b(0xbb)]());}[_0x373e19(0xbb)](){const _0x16f4aa=_0x373e19,_0x1377b7=this[_0x16f4aa(0x1a5)][_0x16f4aa(0xf7)],_0x4ec356=this[_0x16f4aa(0x1b4)];this['disposeWithMe'](d[_0x16f4aa(0x2ee)]([this['_collabCursorController'][_0x16f4aa(0x2f5)](_0x1377b7),this[_0x16f4aa(0x198)][_0x16f4aa(0x197)]])['pipe']($[_0x16f4aa(0x1e4)](([_0x3fd98c,_0x6fdb05])=>({'skeleton':_0x4ec356['getSkeleton'](),'cursors':[..._0x3fd98c[_0x16f4aa(0x133)]()][_0x16f4aa(0x1d8)](_0x33d059=>({..._0x33d059,'color':this[_0x16f4aa(0x198)]['getColorFromTheme'](_0x33d059['color'])}))})))[_0x16f4aa(0x145)](_0x2a685a=>{const _0x4af710=_0x16f4aa;if(this[_0x4af710(0xd4)](),_0x2a685a){const {skeleton:_0x101221,cursors:_0x3d4ea7}=_0x2a685a;this['_updateCollabCursors'](_0x101221,_0x3d4ea7);}})),this[_0x16f4aa(0x1c8)](),this[_0x16f4aa(0x16d)]();}[_0x373e19(0x24a)](_0x24a791,_0x5e2588){const _0x50e2e2=_0x373e19,{scene:_0x291437,mainComponent:_0x532a97}=this[_0x50e2e2(0x1a5)],_0x383ea8=_0x5e2588[_0x50e2e2(0x1e4)](_0xf2e192=>new Re(_0xf2e192,_0x291437,_0x24a791,_0x532a97));this[_0x50e2e2(0x292)]=_0x383ea8,this[_0x50e2e2(0x327)]=_0x5e2588;}[_0x373e19(0xb0)](){const _0x1266b7=_0x373e19;this[_0x1266b7(0xd4)]();const {scene:_0x4597bc,mainComponent:_0x2ce76c}=this['_context'],_0x3564c8=this[_0x1266b7(0x1b4)]['getSkeleton'](),_0x1b54bc=this[_0x1266b7(0x327)][_0x1266b7(0x1e4)](_0x13fe1a=>new Re(_0x13fe1a,_0x4597bc,_0x3564c8,_0x2ce76c));this[_0x1266b7(0x292)]=_0x1b54bc;}[_0x373e19(0xd4)](){const _0x1ba6f7=_0x373e19;this[_0x1ba6f7(0x292)][_0x1ba6f7(0x22a)](_0x5864b7=>_0x5864b7[_0x1ba6f7(0x226)]()),this[_0x1ba6f7(0x292)]=[];}['_initCommandExecutedListener'](){const _0x4eb847=_0x373e19,_0x415942=[E[_0x4eb847(0xfd)]['id']];this[_0x4eb847(0x13c)](this['_commandService']['onCommandExecuted'](_0x12b315=>{const _0x5dfb07=_0x4eb847;_0x415942[_0x5dfb07(0xeb)](_0x12b315['id'])&&_0x12b315['params'][_0x5dfb07(0xf7)]===this['_context'][_0x5dfb07(0xf7)]&&this['_refreshCollabCursors']();}));}[_0x373e19(0x1c8)](){const _0xbba4fa=_0x373e19;this['disposeWithMe'](a[_0xbba4fa(0x316)](this[_0xbba4fa(0x1a5)][_0xbba4fa(0x256)][_0xbba4fa(0x183)])[_0xbba4fa(0x1f8)]($[_0xbba4fa(0x243)](_0x3092f1=>_0x3092f1[_0xbba4fa(0x324)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0xbba4fa(0x1f5)](0x10))[_0xbba4fa(0x145)](()=>{const _0x4b44cf=_0xbba4fa;this[_0x4b44cf(0xb0)]();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0x373e19(0x139)])),X(0x2,a[_0x373e19(0x2ec)](x)),X(0x3,a[_0x373e19(0x1af)]),X(0x4,a['Inject'](a[_0x373e19(0x1e0)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x373e19(0x1e5)]{constructor(_0x2c7f83,_0xaf6fa1){const _0x4915c7=_0x373e19;super(_0x2c7f83,_0xaf6fa1),h(this,_0x4915c7(0x2c3)),h(this,'_hovered',!0x1),h(this,_0x4915c7(0xcf)),h(this,_0x4915c7(0x17d),''),h(this,_0x4915c7(0xd2),'top'),h(this,_0x4915c7(0x264)),(_0xaf6fa1&&this[_0x4915c7(0x289)](_0xaf6fa1),this[_0x4915c7(0x279)][_0x4915c7(0x2d5)](()=>this[_0x4915c7(0x289)]({'hovered':!0x0})),this[_0x4915c7(0xe1)][_0x4915c7(0x2d5)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x373e19(0x289)](_0x463156){const _0x29dd27=_0x373e19;var _0x465679,_0x517a07,_0xdc2c7,_0x78915a,_0x1b5411,_0x536c0f;this[_0x29dd27(0x2c3)]=(_0x465679=_0x463156[_0x29dd27(0x1ea)])!=null?_0x465679:this[_0x29dd27(0x2c3)],this[_0x29dd27(0x1d1)]=(_0x517a07=_0x463156[_0x29dd27(0x112)])!=null?_0x517a07:this[_0x29dd27(0x1d1)],this[_0x29dd27(0xcf)]=(_0xdc2c7=_0x463156[_0x29dd27(0x225)])!=null?_0xdc2c7:this[_0x29dd27(0xcf)],this[_0x29dd27(0x17d)]=(_0x78915a=_0x463156[_0x29dd27(0x1ec)])!=null?_0x78915a:this['_name'],this[_0x29dd27(0xd2)]=(_0x1b5411=_0x463156[_0x29dd27(0x272)])!=null?_0x1b5411:this[_0x29dd27(0xd2)],this[_0x29dd27(0x264)]=(_0x536c0f=_0x463156[_0x29dd27(0x213)])!=null?_0x536c0f:this[_0x29dd27(0x264)],this[_0x29dd27(0x2ab)]({'width':_0x463156['width'],'height':_0x463156[_0x29dd27(0xb8)]});}[_0x373e19(0x180)](_0x2e047f){const _0x3e260d=_0x373e19,{row:_0x1b96de,column:_0x20ec24}=_0x2e047f;if(_0x1b96de>=this[_0x3e260d(0xcf)][_0x3e260d(0x2b4)]&&_0x1b96de<=this[_0x3e260d(0xcf)][_0x3e260d(0x122)]&&_0x20ec24>=this[_0x3e260d(0xcf)][_0x3e260d(0x1f4)]&&_0x20ec24<=this[_0x3e260d(0xcf)][_0x3e260d(0xb2)]){this[_0x3e260d(0x289)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x373e19(0x11a)](_0x2bb23b){return!0x1;}[_0x373e19(0x22c)](_0x5f0bfb){const _0x8bcab8=_0x373e19;p['Rect']['drawWith'](_0x5f0bfb,{'width':this[_0x8bcab8(0x173)],'height':this[_0x8bcab8(0xb8)],'strokeWidth':Lt,'stroke':this[_0x8bcab8(0x2c3)],'evented':!0x1,'fill':this[_0x8bcab8(0x264)]}),this[_0x8bcab8(0x1d1)]&&(_0x5f0bfb['save'](),_0x5f0bfb[_0x8bcab8(0x2b2)](0x1,0x0,0x0,0x1,this[_0x8bcab8(0x173)],this[_0x8bcab8(0xd2)]===_0x8bcab8(0x17f)?0x0:-W),ee['drawWith'](_0x5f0bfb,{'text':this[_0x8bcab8(0x17d)],'color':this[_0x8bcab8(0x2c3)]}),_0x5f0bfb['restore']());}}var Pt=Object[_0x373e19(0x305)],wt=(_0x53ecb8,_0x19d1ea,_0x7527ae,_0xd56cd)=>{const _0x570e9a=_0x373e19;for(var _0x549ac1=_0xd56cd>0x1?void 0x0:_0xd56cd?Pt(_0x19d1ea,_0x7527ae):_0x19d1ea,_0xc9faff=_0x53ecb8[_0x570e9a(0x1a4)]-0x1,_0x7faea5;_0xc9faff>=0x0;_0xc9faff--)(_0x7faea5=_0x53ecb8[_0xc9faff])&&(_0x549ac1=_0x7faea5(_0x549ac1)||_0x549ac1);return _0x549ac1;},ae=(_0x273ba0,_0x5e1d5e)=>(_0x5e3e6e,_0x58a411)=>_0x5e1d5e(_0x5e3e6e,_0x58a411,_0x273ba0);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x381696,_0x805519,_0x335fe6,_0x511795){const _0x3d2de8=_0x373e19;super(),h(this,_0x3d2de8(0x327),new Set()),h(this,_0x3d2de8(0x162),null),(this[_0x3d2de8(0x1a5)]=_0x381696,this[_0x3d2de8(0x18b)]=_0x805519,this[_0x3d2de8(0x31d)]=_0x335fe6,this[_0x3d2de8(0x198)]=_0x511795,this['_init']());}[_0x373e19(0xbb)](){const _0x1894e5=_0x373e19;this['_sheetSkeletonManagerService'][_0x1894e5(0x21b)]['pipe']($[_0x1894e5(0x1b9)](this[_0x1894e5(0x2e1)]),$[_0x1894e5(0xcc)](_0x366b60=>{const _0x404a1c=_0x1894e5;if(_0x366b60){const _0x3225d2=_0x366b60[_0x404a1c(0x15c)];return d[_0x404a1c(0x2ee)](this[_0x404a1c(0x31d)][_0x404a1c(0x2f5)](this['_context'][_0x404a1c(0xf7)]),this[_0x404a1c(0x198)][_0x404a1c(0x197)])[_0x404a1c(0x1f8)]($[_0x404a1c(0x1e4)](([_0x3ccb61,_0x504a9c])=>{const _0x36ffbe=_0x404a1c,_0x1bfc17=new Map();return _0x3ccb61[_0x36ffbe(0x22a)]((_0x1311e9,_0x39cf62)=>{const _0x383401=_0x36ffbe;if(_0x1311e9[_0x383401(0x246)]===_0x3225d2){const _0x51b070={..._0x1311e9};_0x51b070['color']=this[_0x383401(0x198)]['getColorFromTheme'](_0x1311e9[_0x383401(0x1ea)]),_0x1bfc17[_0x383401(0x2a9)](_0x39cf62,_0x51b070);}}),{'skeleton':_0x366b60,'cursors':_0x1bfc17};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1894e5(0x145)](({skeleton:_0x1a73cd,cursors:_0x528586})=>{const _0x2139cb=_0x1894e5;this[_0x2139cb(0xd4)](),_0x1a73cd&&this['_updateCollabCursors'](_0x1a73cd,_0x528586);}),this['_sheetSkeletonManagerService'][_0x1894e5(0x21b)][_0x1894e5(0x145)](_0x332295=>{const _0x48697f=_0x1894e5;if(_0x332295==null)return;const {skeleton:_0x9cce87}=_0x332295,{scene:_0x42fb42}=this[_0x48697f(0x1a5)];_0x42fb42[_0x48697f(0x1d7)][_0x48697f(0x2d5)](a[_0x48697f(0x1dc)](_0xff3d3a=>{const _0x42bfd1=_0x48697f;var _0x4679e9,_0x4732fe;const {offsetX:_0x4c71ce,offsetY:_0x339f8b}=_0xff3d3a,{x:_0x2e11d5,y:_0x586867}=_0x42fb42[_0x42bfd1(0x282)](p[_0x42bfd1(0x2fa)][_0x42bfd1(0xce)]([_0x4c71ce,_0x339f8b])),{scaleX:_0x2829c6,scaleY:_0x2850e1}=_0x42fb42[_0x42bfd1(0x2bf)](),_0x2cec99=_0x42fb42['getViewport'](p[_0x42bfd1(0x192)][_0x42bfd1(0xfa)]),_0x2d6c9b=_0x42fb42['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x42bfd1(0xce)]([_0x2e11d5,_0x586867]),_0x2cec99),_0x179926=_0x9cce87['getCellPositionByOffset'](_0x4c71ce,_0x339f8b,_0x2829c6,_0x2850e1,_0x2d6c9b);((_0x4679e9=this['_lastPointer'])==null?void 0x0:_0x4679e9[_0x42bfd1(0x224)])===_0x179926[_0x42bfd1(0x224)]&&((_0x4732fe=this[_0x42bfd1(0x162)])==null?void 0x0:_0x4732fe[_0x42bfd1(0x128)])===_0x179926[_0x42bfd1(0x128)]||this[_0x42bfd1(0x327)][_0x42bfd1(0x22a)](_0x1e1bda=>{const _0x2c83fb=_0x42bfd1;_0x1e1bda[_0x2c83fb(0x180)](_0x179926);});},0x64));});}[_0x373e19(0x24a)](_0x1182e2,_0x3a894b){const _0x596c52=_0x373e19;var _0x32419e;const _0x1438be=(_0x32419e=this[_0x596c52(0x18b)][_0x596c52(0x1a0)]())==null?void 0x0:_0x32419e[_0x596c52(0x20a)];if(!_0x1438be)return;const _0x38e8ff=this['_getSheetObject']();if(!_0x38e8ff)return;this['_cursors']['forEach'](_0x5ccd2a=>{const _0x57ba17=_0x596c52;_0x5ccd2a[_0x57ba17(0x32d)]();});const {scene:_0x31dffc}=_0x38e8ff,_0x4b0593=yt(Array[_0x596c52(0x2e3)](_0x3a894b[_0x596c52(0x133)]()))['map'](_0x72ca3f=>{const _0x35b718=_0x596c52,{color:_0x421eb0,range:_0x1f7538,name:_0x609e8b,selection:_0x41ba0c,sheetID:_0x182d99}=_0x72ca3f,{startColumn:_0x3e26e5,startRow:_0x5eafe8,endColumn:_0x2705e5,endRow:_0x2da02a}=_0x1f7538,_0x33cd37=G[_0x35b718(0x219)](_0x5eafe8,_0x3e26e5,_0x31dffc,_0x1438be),_0x4fcdfb=G['getCoordByCell'](_0x2da02a,_0x2705e5,_0x31dffc,_0x1438be),{columnHeaderHeightAndMarginTop:_0x2d05b5}=_0x1438be,{startX:_0xfe0058,startY:_0x4f8cf4}=_0x33cd37,{endX:_0x44aed3,endY:_0xcc5482}=_0x4fcdfb,_0x316e35=_0x44aed3-_0xfe0058,_0x696fb2=_0xcc5482-_0x4f8cf4,_0x1b6ecb={'labelPosition':_0x4f8cf4-_0x2d05b5>=W?_0x35b718(0x2d2):'bottom','sheetID':_0x182d99,'range':_0x1f7538,'color':_0x421eb0,'name':_0x609e8b,'selection':_0x41ba0c,'left':_0xfe0058,'top':_0x4f8cf4,'width':_0x316e35,'height':_0x696fb2,'evented':!0x1,'zIndex':At};return new $e(_0x609e8b,_0x1b6ecb);});_0x31dffc[_0x596c52(0x153)](_0x4b0593,Mt),this['_cursors']=new Set(_0x4b0593);}[_0x373e19(0xd4)](){const _0x22333f=_0x373e19;var _0x3a620a;(_0x3a620a=this[_0x22333f(0x327)])==null||_0x3a620a['forEach'](_0x3db9d0=>_0x3db9d0['dispose']());}[_0x373e19(0x295)](){const _0xd6b26d=_0x373e19;return G['getSheetObject'](this[_0xd6b26d(0x1a5)][_0xd6b26d(0x328)],this[_0xd6b26d(0x1a5)]);}};Ie=wt([ae(0x1,a[_0x373e19(0x2ec)](G[_0x373e19(0x120)])),ae(0x2,a['Inject'](x)),ae(0x3,a['Inject'](a[_0x373e19(0x1e0)]))],Ie);function yt(_0x7b6628){const _0xd361=_0x373e19,_0x1b8334=new Map();return _0x7b6628[_0xd361(0x22a)](_0x1ed6d6=>{const _0x32df9f=_0xd361;if(_0x1b8334['has'](_0x1ed6d6[_0x32df9f(0x25c)])){const _0x9196df=_0x1b8334[_0x32df9f(0x177)](_0x1ed6d6['selection']);_0x9196df['name']+=',\x20'+_0x1ed6d6[_0x32df9f(0x1ec)];}else _0x1b8334['set'](_0x1ed6d6['selection'],_0x1ed6d6);}),Array[_0xd361(0x2e3)](_0x1b8334[_0xd361(0x133)]());}var $t=Object[_0x373e19(0x305)],xt=(_0x904ed3,_0x4e4c71,_0x365bfe,_0x3a64d0)=>{for(var _0x182199=_0x3a64d0>0x1?void 0x0:_0x3a64d0?$t(_0x4e4c71,_0x365bfe):_0x4e4c71,_0x5c69a3=_0x904ed3['length']-0x1,_0x9dd832;_0x5c69a3>=0x0;_0x5c69a3--)(_0x9dd832=_0x904ed3[_0x5c69a3])&&(_0x182199=_0x9dd832(_0x182199)||_0x182199);return _0x182199;},y=(_0x2e3420,_0x1b504f)=>(_0x1c4269,_0x19f66e)=>_0x1b504f(_0x1c4269,_0x19f66e,_0x2e3420);let q=class extends a[_0x373e19(0x1e2)]{constructor(_0xba026c,_0x5408e8,_0x15afc5,_0xa14de,_0x17980c,_0x2abbd8){const _0x2eae8a=_0x373e19;super(),this[_0x2eae8a(0x142)]=_0xba026c,this[_0x2eae8a(0x11d)]=_0x5408e8,this[_0x2eae8a(0x24e)]=_0x15afc5,this[_0x2eae8a(0x14c)]=_0xa14de,this[_0x2eae8a(0x313)]=_0x17980c,this['_localeService']=_0x2abbd8,this[_0x2eae8a(0x274)](),this[_0x2eae8a(0x255)]();}['_setupBeforeClosingHandler'](){const _0x20db53=_0x373e19;this[_0x20db53(0x13c)](this[_0x20db53(0x142)][_0x20db53(0xdd)](()=>{const _0x5641f4=_0x20db53;if(this['_localCacheService']['saveTaskMap'][_0x5641f4(0x1c0)])return this[_0x5641f4(0x2cf)]['t'](_0x5641f4(0xca));}));}[_0x373e19(0x255)](){const _0x3114ed=_0x373e19;this[_0x3114ed(0x13c)](this[_0x3114ed(0x24e)][_0x3114ed(0x195)][_0x3114ed(0x145)](_0x361415=>{const _0x574998=_0x3114ed;_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0xb5)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType']['Warning'],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x204))}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x284)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x30c)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x26e)]&&this['_notificationService'][_0x574998(0xed)]({'title':this[_0x574998(0x2cf)]['t'](_0x574998(0x154)),'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x156)),'type':'error','duration':0x0}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x1cd)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x245)],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x239))+'('+_0x361415[_0x574998(0x13f)]+')'}),_0x361415['id']===u[_0x574998(0x2c1)]['JOIN_ROOM_FAILED']&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType'][_0x574998(0x30c)],'content':this[_0x574998(0x2cf)]['t'](_0x361415[_0x574998(0x13f)]||'')}),_0x361415['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)]['Warning'],'content':this[_0x574998(0x2cf)]['t']('session.will-retry')}),_0x361415['id']===u['CollaborationUIEventId'][_0x574998(0x222)]&&this['_messageService'][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x245)],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x1f7))}),_0x361415['id']===u['CollaborationUIEventId'][_0x574998(0x1c5)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType']['Error'],'content':this['_localeService']['t'](_0x574998(0x2f7))});}));}};q=xt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x373e19(0x15f)]),y(0x2,a[_0x373e19(0x2ec)](u[_0x373e19(0x1bc)])),y(0x3,O[_0x373e19(0x2e0)]),y(0x4,O[_0x373e19(0x317)]),y(0x5,a[_0x373e19(0x2ec)](a[_0x373e19(0x230)]))],q);const Bt=_0x373e19(0x1da),De={};var jt=Object[_0x373e19(0x305)],kt=(_0x43d030,_0x4aa180,_0x371fc6,_0x3a0192)=>{const _0x2e8c9a=_0x373e19;for(var _0x30472b=_0x3a0192>0x1?void 0x0:_0x3a0192?jt(_0x4aa180,_0x371fc6):_0x4aa180,_0x18ac64=_0x43d030[_0x2e8c9a(0x1a4)]-0x1,_0x5c957b;_0x18ac64>=0x0;_0x18ac64--)(_0x5c957b=_0x43d030[_0x18ac64])&&(_0x30472b=_0x5c957b(_0x30472b)||_0x30472b);return _0x30472b;},Ue=(_0x5606c1,_0x46afa2)=>(_0x134b9,_0x37cc5e)=>_0x46afa2(_0x134b9,_0x37cc5e,_0x5606c1);let z=class{constructor(_0x37f1f4,_0x364d1e){const _0x371d28=_0x373e19;this[_0x371d28(0x116)]=_0x37f1f4,this[_0x371d28(0x238)]=_0x364d1e;}['transformIMECache'](_0x36a27f){const _0x5a7c88=_0x373e19;this[_0x5a7c88(0x1c4)](_0x36a27f),this['_transformPreviousActiveRange'](_0x36a27f);}['transformRemoteChangeset'](_0x20d9a5){const _0x52cec8=_0x373e19,{unitID:_0x4cfcdb}=_0x20d9a5,_0x11aaba=this[_0x52cec8(0x238)][_0x52cec8(0x106)](_0x4cfcdb)[_0x52cec8(0x296)](E['DocIMEInputManagerService']),{redoCache:_0x5ce51d}=_0x11aaba[_0x52cec8(0x20d)]();if(_0x5ce51d[_0x52cec8(0x1a4)]===0x0)return _0x20d9a5;let _0x3d46c2=a[_0x52cec8(0x306)]['deepClone'](_0x20d9a5[_0x52cec8(0x286)][0x0]);for(let _0x5b6656=0x0;_0x5b6656<_0x5ce51d['length'];_0x5b6656++){const _0x5091e5={'id':_0x52cec8(0xc1),'params':{..._0x5ce51d[_0x5b6656]}},_0x543fa3=this[_0x52cec8(0x116)][_0x52cec8(0x102)](_0x3d46c2,_0x5091e5,!0x1);if(m[_0x52cec8(0x19a)](_0x543fa3))throw _0x543fa3[_0x52cec8(0x111)];_0x3d46c2=_0x543fa3[_0x52cec8(0x320)];}return{...a['Tools'][_0x52cec8(0x27e)](_0x20d9a5),'mutations':[_0x3d46c2]};}[_0x373e19(0x1c4)](_0x4e944e){const _0x44d54a=_0x373e19,{unitID:_0x518188}=_0x4e944e,_0x3f4329=this[_0x44d54a(0x238)][_0x44d54a(0x106)](_0x518188)[_0x44d54a(0x296)](E[_0x44d54a(0xb9)]),{undoCache:_0x40481d,redoCache:_0x8ccf92}=_0x3f4329[_0x44d54a(0x20d)]();if(_0x40481d['length']===0x0||_0x8ccf92[_0x44d54a(0x1a4)]===0x0)return;const _0x4fc562=[],_0x4b9e56=[];let _0x20f0a5=a[_0x44d54a(0x306)][_0x44d54a(0x27e)](_0x4e944e[_0x44d54a(0x286)][0x0]),_0x27e5e8=a[_0x44d54a(0x306)][_0x44d54a(0x27e)](_0x4e944e[_0x44d54a(0x286)][0x0]);for(let _0x406dab=_0x40481d['length']-0x1;_0x406dab>=0x0;_0x406dab--){const _0x3a10b6={'id':_0x44d54a(0xc1),'params':{..._0x40481d[_0x406dab]}},_0x3bd72e={'id':'doc.mutation.rich-text-editing','params':{..._0x8ccf92[_0x406dab]}},_0x2871cc=this['_transformService']['transformMutation'](_0x20f0a5,_0x3a10b6,!0x1),_0x11d8a7=this[_0x44d54a(0x116)][_0x44d54a(0x102)](_0x27e5e8,_0x3bd72e,!0x1);if(m[_0x44d54a(0x19a)](_0x2871cc))throw _0x2871cc[_0x44d54a(0x111)];if(m[_0x44d54a(0x19a)](_0x11d8a7))throw _0x11d8a7['error'];_0x4fc562['unshift'](_0x2871cc['m2Prime'][_0x44d54a(0x182)]),_0x4b9e56['unshift'](_0x11d8a7['m2Prime'][_0x44d54a(0x182)]),_0x20f0a5=_0x2871cc['m1Prime'],_0x27e5e8=_0x11d8a7[_0x44d54a(0x320)];}_0x3f4329['setUndoRedoMutationParamsCache']({'undoCache':_0x4fc562,'redoCache':_0x4b9e56});}['_transformPreviousActiveRange'](_0x39c464){const _0x30874a=_0x373e19,{unitID:_0x4c8e49}=_0x39c464,_0x1816b4=this[_0x30874a(0x238)]['getRenderById'](_0x4c8e49)[_0x30874a(0x296)](E[_0x30874a(0xb9)]),_0x2d5795=_0x1816b4[_0x30874a(0x17b)]();if(_0x2d5795==null)return;const _0x4200a7=[{'id':_0x30874a(0xc1),'params':{'unitId':_0x39c464[_0x30874a(0x1ef)],'actions':null,'textRanges':[_0x2d5795]}}],_0x5d428b=this[_0x30874a(0x116)]['transformMutationsWithChangeset'](_0x39c464,_0x4200a7);if(!m[_0x30874a(0x1ee)](_0x5d428b))throw _0x5d428b[_0x30874a(0x111)];const _0x435309=_0x5d428b[_0x30874a(0x235)][0x0][_0x30874a(0x182)][_0x30874a(0x2bc)];Array[_0x30874a(0x297)](_0x435309)&&_0x435309[_0x30874a(0x1a4)]&&_0x1816b4['setActiveRange'](_0x435309[0x0]);}};z=kt([Ue(0x0,m[_0x373e19(0x101)]),Ue(0x1,p['IRenderManagerService'])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x37846e,_0x13f111,_0x24bd02,_0x36a7df)=>{const _0x126efb=_0x373e19;for(var _0xf2def9=_0x36a7df>0x1?void 0x0:_0x36a7df?Ft(_0x13f111,_0x24bd02):_0x13f111,_0x513357=_0x37846e[_0x126efb(0x1a4)]-0x1,_0x175617;_0x513357>=0x0;_0x513357--)(_0x175617=_0x37846e[_0x513357])&&(_0xf2def9=_0x175617(_0xf2def9)||_0xf2def9);return _0xf2def9;},ce=(_0x23c08a,_0x53939a)=>(_0x4bf799,_0x2d1fa2)=>_0x53939a(_0x4bf799,_0x2d1fa2,_0x23c08a);let J=class{constructor(_0xa71a33,_0x2ba010,_0x4d43b6){const _0xca91b9=_0x373e19;this[_0xca91b9(0x20b)]=_0xa71a33,this[_0xca91b9(0x116)]=_0x2ba010,this[_0xca91b9(0x312)]=_0x4d43b6;}['transformStateCache'](_0x1bd3ac){const _0x5efb77=_0x373e19;this[_0x5efb77(0x202)](_0x1bd3ac);}[_0x373e19(0x165)](_0x3491ff){const _0x322f2d=_0x373e19,{unitID:_0x294e17}=_0x3491ff,{collaboration:_0x145f39}=this[_0x322f2d(0x312)]['getStateCache'](_0x294e17);if(_0x145f39['length']===0x0)return _0x3491ff;let _0x4b7534=a[_0x322f2d(0x306)][_0x322f2d(0x27e)](_0x3491ff[_0x322f2d(0x286)][0x0]);for(let _0x1ba169=0x0;_0x1ba169<_0x145f39['length'];_0x1ba169++){const _0x378257={'id':_0x322f2d(0xc1),'params':{'unitId':_0x145f39[_0x1ba169][_0x322f2d(0xf7)],..._0x145f39[_0x1ba169][_0x322f2d(0x22e)]}},_0x32a563=this['_transformService'][_0x322f2d(0x102)](_0x4b7534,_0x378257,!0x1);if(m[_0x322f2d(0x19a)](_0x32a563))throw _0x32a563[_0x322f2d(0x111)];_0x4b7534=_0x32a563[_0x322f2d(0x320)];}return{...a[_0x322f2d(0x306)][_0x322f2d(0x27e)](_0x3491ff),'mutations':[_0x4b7534]};}[_0x373e19(0x202)](_0x3dd5a1){const _0x23fca6=_0x373e19,{unitID:_0x44bcbe}=_0x3dd5a1,{history:_0x3dd6f8,collaboration:_0x2408d1}=this[_0x23fca6(0x312)][_0x23fca6(0x1d4)](_0x44bcbe);if(_0x3dd6f8['length']===0x0&&_0x2408d1[_0x23fca6(0x1a4)]===0x0)return;const _0x1e7bd2=[],_0x3dd1c9=[];let _0x499865=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1[_0x23fca6(0x286)][0x0]),_0x2f319d=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1['mutations'][0x0]);for(let _0x312379=_0x3dd6f8[_0x23fca6(0x1a4)]-0x1;_0x312379>=0x0;_0x312379--){const _0x1faee3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3dd6f8[_0x312379][_0x23fca6(0xf7)],..._0x3dd6f8[_0x312379]['undoState']}},_0x50f9dc={'id':_0x23fca6(0xc1),'params':{'unitId':_0x3dd6f8[_0x312379][_0x23fca6(0xf7)],..._0x3dd6f8[_0x312379][_0x23fca6(0x22e)]}},_0x395d05=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x499865,_0x1faee3,!0x1),_0x311071=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x2f319d,_0x50f9dc,!0x1);if(m[_0x23fca6(0x19a)](_0x395d05))throw _0x395d05['error'];if(m[_0x23fca6(0x19a)](_0x311071))throw _0x311071[_0x23fca6(0x111)];_0x1e7bd2[_0x23fca6(0xc6)]({..._0x3dd6f8[_0x312379],'undoState':_0x395d05[_0x23fca6(0x235)][_0x23fca6(0x182)],'redoState':_0x311071[_0x23fca6(0x235)]['params']}),_0x499865=_0x395d05[_0x23fca6(0x320)],_0x2f319d=_0x311071[_0x23fca6(0x320)];}_0x499865=a['Tools'][_0x23fca6(0x27e)](_0x3dd5a1[_0x23fca6(0x286)][0x0]),_0x2f319d=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1['mutations'][0x0]);for(let _0x22305d=_0x2408d1['length']-0x1;_0x22305d>=0x0;_0x22305d--){const _0x3dba9f={'id':_0x23fca6(0xc1),'params':{'unitId':_0x2408d1[_0x22305d][_0x23fca6(0xf7)],..._0x2408d1[_0x22305d][_0x23fca6(0x1cb)]}},_0x2a92eb={'id':_0x23fca6(0xc1),'params':{'unitId':_0x2408d1[_0x22305d][_0x23fca6(0xf7)],..._0x2408d1[_0x22305d][_0x23fca6(0x22e)]}},_0x1ccd95=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x499865,_0x3dba9f,!0x1),_0x478646=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x2f319d,_0x2a92eb,!0x1);if(m[_0x23fca6(0x19a)](_0x1ccd95))throw _0x1ccd95[_0x23fca6(0x111)];if(m[_0x23fca6(0x19a)](_0x478646))throw _0x478646[_0x23fca6(0x111)];_0x3dd1c9[_0x23fca6(0xc6)]({..._0x2408d1[_0x22305d],'undoState':_0x1ccd95[_0x23fca6(0x235)][_0x23fca6(0x182)],'redoState':_0x478646[_0x23fca6(0x235)][_0x23fca6(0x182)]}),_0x499865=_0x1ccd95[_0x23fca6(0x320)],_0x2f319d=_0x478646[_0x23fca6(0x320)];}this[_0x23fca6(0x312)][_0x23fca6(0x2e7)](_0x44bcbe,{'history':_0x1e7bd2,'collaboration':_0x3dd1c9});}};J=Ht([ce(0x0,a['Inject'](a[_0x373e19(0xc4)])),ce(0x1,m['ITransformService']),ce(0x2,a[_0x373e19(0x2ec)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x373e19(0x305)],Wt=(_0x16c3c9,_0x21406c,_0x52b7a4,_0x32afef)=>{const _0x51ef35=_0x373e19;for(var _0x14e042=_0x32afef>0x1?void 0x0:_0x32afef?Yt(_0x21406c,_0x52b7a4):_0x21406c,_0x3de70d=_0x16c3c9[_0x51ef35(0x1a4)]-0x1,_0x3b6512;_0x3de70d>=0x0;_0x3de70d--)(_0x3b6512=_0x16c3c9[_0x3de70d])&&(_0x14e042=_0x3b6512(_0x14e042)||_0x14e042);return _0x14e042;},Ne=(_0x5a4a5f,_0x2657d4)=>(_0x2b3e45,_0x581b33)=>_0x2657d4(_0x2b3e45,_0x581b33,_0x5a4a5f);let Z=class{constructor(_0x3a6985,_0x161551){const _0x1e2cfc=_0x373e19;this[_0x1e2cfc(0x20b)]=_0x3a6985,this[_0x1e2cfc(0x116)]=_0x161551;}[_0x373e19(0xef)](_0x11f4c9){const _0xb65bdf=_0x373e19;var _0x2334a8;const _0x3f0927=this[_0xb65bdf(0x20b)][_0xb65bdf(0x177)](Y['DocSelectionManagerService']),_0xba3d61=(_0x2334a8=_0x3f0927[_0xb65bdf(0x288)]())!=null?_0x2334a8:[];if(_0xba3d61[_0xb65bdf(0x1a4)]===0x0)return;const _0x10fb58=_0x11f4c9['unitID'],_0x5c110d=[{'id':_0xb65bdf(0xc1),'params':{'unitId':_0x10fb58,'actions':null,'textRanges':_0xba3d61}}],_0xa19f1f=this[_0xb65bdf(0x116)][_0xb65bdf(0x12c)](_0x11f4c9,_0x5c110d);if(!m[_0xb65bdf(0x1ee)](_0xa19f1f))throw _0xa19f1f[_0xb65bdf(0x111)];const _0x4f76e6=_0xa19f1f['m2Prime'][0x0][_0xb65bdf(0x182)][_0xb65bdf(0x2bc)];Array[_0xb65bdf(0x297)](_0x4f76e6)&&_0x4f76e6[_0xb65bdf(0x1a4)]&&_0x3f0927[_0xb65bdf(0x26a)](_0x4f76e6,{'unitId':_0x10fb58,'subUnitId':_0x10fb58},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0x373e19(0xc4)])),Ne(0x1,m[_0x373e19(0x101)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x5155d5,_0x20e920,_0x509a98,_0x4516cf)=>{const _0x44abad=_0x373e19;for(var _0x44131d=_0x4516cf>0x1?void 0x0:_0x4516cf?Vt(_0x20e920,_0x509a98):_0x20e920,_0x575dd8=_0x5155d5[_0x44abad(0x1a4)]-0x1,_0x42105e;_0x575dd8>=0x0;_0x575dd8--)(_0x42105e=_0x5155d5[_0x575dd8])&&(_0x44131d=_0x42105e(_0x44131d)||_0x44131d);return _0x44131d;},N=(_0x350864,_0x270f13)=>(_0x5abc58,_0x4fd808)=>_0x270f13(_0x5abc58,_0x4fd808,_0x350864);let Q=class extends a[_0x373e19(0x1e2)]{constructor(_0x5d7d27,_0x402e6f,_0x18a4e6,_0x1aae6e,_0x4de27e,_0x7cec61,_0x316c2f,_0x5b983b){const _0x428586=_0x373e19;super(),h(this,_0x428586(0x2ca),new d['BehaviorSubject'](u['CollaborationStatus'][_0x428586(0x161)])),(this[_0x428586(0x312)]=_0x5d7d27,this[_0x428586(0xee)]=_0x402e6f,this[_0x428586(0x14f)]=_0x18a4e6,this[_0x428586(0x10f)]=_0x1aae6e,this['_docTransformSelectionsService']=_0x4de27e,this[_0x428586(0x18e)]=_0x7cec61,this['_messageService']=_0x316c2f,this[_0x428586(0x2cf)]=_0x5b983b,this[_0x428586(0x2ff)]());}['_initEntityListener'](){const _0x323fbb=_0x373e19;this[_0x323fbb(0x13c)](this['_collaborationController'][_0x323fbb(0xf4)][_0x323fbb(0x145)](_0x44fe79=>{const _0x40caf4=_0x323fbb,_0x43b8ff=this[_0x40caf4(0x312)][_0x40caf4(0x280)][_0x40caf4(0x145)](_0x1b6436=>{const _0x42a212=_0x40caf4;if(_0x1b6436==null)return;const {unitId:_0x2b5830,redoState:_0x31e5fa,commandId:_0x11dd18}=_0x1b6436;if(_0x2b5830!==_0x44fe79[_0x42a212(0x1ef)])return;const _0x486069={'id':_0x11dd18,'type':a[_0x42a212(0x27f)][_0x42a212(0x130)],'params':{'unitId':_0x2b5830,'actions':_0x31e5fa[_0x42a212(0x211)],'textRanges':null}};_0x44fe79['onLocalMutation'](_0x486069);});if(_0x44fe79[_0x40caf4(0x13c)](_0x43b8ff),_0x44fe79 instanceof u[_0x40caf4(0xda)]){const _0x9964e3={'onTransformIME':_0x1e9231=>this[_0x40caf4(0x14f)]['transformIMECache'](_0x1e9231),'onTransformState':_0x5c948b=>this[_0x40caf4(0x10f)]['transformStateCache'](_0x5c948b),'onTransformSelections':_0x7aa8ea=>this['_docTransformSelectionsService'][_0x40caf4(0xef)](_0x7aa8ea),'onSyncEditingCollabCursor':_0x38b254=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x38b254),'onTransformRemoteChangesetByIMECache':_0x49fa6a=>this[_0x40caf4(0x14f)][_0x40caf4(0x165)](_0x49fa6a),'onTransformRemoteChangesetByStateCache':_0xce245d=>this['_docTransformStateCacheService'][_0x40caf4(0x165)](_0xce245d)};_0x44fe79['addHandlerCallback'](_0x9964e3);}}));}};Q=Xt([N(0x0,a[_0x373e19(0x2ec)](E[_0x373e19(0x12f)])),N(0x1,a['Inject'](u['CollaborationController'])),N(0x2,a[_0x373e19(0x2ec)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x373e19(0x2ec)](Z)),N(0x5,a[_0x373e19(0x2ec)](pe)),N(0x6,O[_0x373e19(0x2e0)]),N(0x7,a[_0x373e19(0x2ec)](a['LocaleService']))],Q);var Gt=Object[_0x373e19(0x305)],Kt=(_0x4dfa62,_0x49ca65,_0x43a720,_0x1e502b)=>{const _0x4225ff=_0x373e19;for(var _0x5207f2=_0x1e502b>0x1?void 0x0:_0x1e502b?Gt(_0x49ca65,_0x43a720):_0x49ca65,_0x60ae09=_0x4dfa62[_0x4225ff(0x1a4)]-0x1,_0x3f1b74;_0x60ae09>=0x0;_0x60ae09--)(_0x3f1b74=_0x4dfa62[_0x60ae09])&&(_0x5207f2=_0x3f1b74(_0x5207f2)||_0x5207f2);return _0x5207f2;},le=(_0x538248,_0x2f6e6b)=>(_0x456b94,_0x45adda)=>_0x2f6e6b(_0x456b94,_0x45adda,_0x538248);let ve=class extends a[_0x373e19(0x1e2)]{constructor(_0x26be06,_0x5d5563,_0x552e77){const _0xbf8b5f=_0x373e19;super(),h(this,_0xbf8b5f(0x147),new Map()),h(this,_0xbf8b5f(0x186),new Map()),h(this,_0xbf8b5f(0x237),!0x1),(this[_0xbf8b5f(0x2ac)]=_0x26be06,this[_0xbf8b5f(0x199)]=_0x5d5563,this[_0xbf8b5f(0x166)]=_0x552e77);}['disableLocalCache'](){const _0x422e81=_0x373e19;this[_0x422e81(0x237)]=!0x0;}[_0x373e19(0x191)](){const _0x217614=_0x373e19;this[_0x217614(0x237)]=!0x1;}get[_0x373e19(0x1a7)](){const _0x188a9f=_0x373e19;return this[_0x188a9f(0x186)];}['dispose'](){const _0x5d36f7=_0x373e19;this[_0x5d36f7(0x2b7)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x41f45a){const _0x1aa929=_0x373e19;return this['_disabled']?null:this[_0x1aa929(0x199)][_0x1aa929(0x19c)](u['getLocalCacheKey'](_0x41f45a));}async[_0x373e19(0x300)](_0x30ec2d,_0x4c0ddc){const _0x208040=_0x373e19;return!!this[_0x208040(0x199)]['setItem'](_0x30ec2d,_0x4c0ddc);}['updateOfflineData'](_0x148743,_0x5be38a,_0x5d9699,_0x395237){const _0x4c855c=_0x373e19,_0x701171=this[_0x4c855c(0x166)][_0x4c855c(0xe2)](_0x148743);this[_0x4c855c(0x147)][_0x4c855c(0x2a9)](_0x148743,{'unitID':_0x148743,'type':_0x5be38a,'awaitingChangeset':_0x5d9699,'mutations':_0x395237,'rev':_0x701171}),this[_0x4c855c(0x186)][_0x4c855c(0x281)](_0x148743)||this[_0x4c855c(0x16a)](_0x148743);}[_0x373e19(0x16a)](_0x5cf223){const _0x158b31=_0x373e19,_0x4ea165=this[_0x158b31(0x2b5)]();_0x4ea165===0x0?this[_0x158b31(0x193)](_0x5cf223):this['_saveTaskMap'][_0x158b31(0x2a9)](_0x5cf223,setTimeout(()=>this[_0x158b31(0x193)](_0x5cf223),_0x4ea165));}[_0x373e19(0x2b5)](){const _0xf342af=_0x373e19;var _0x2d7b5f;return(_0x2d7b5f=this[_0xf342af(0x2ac)][_0xf342af(0x2e2)](u[_0xf342af(0x2de)]))!=null?_0x2d7b5f:u[_0xf342af(0x19e)];}[_0x373e19(0x193)](_0x3a84f2){const _0x34185d=_0x373e19,_0x57bdbc=this[_0x34185d(0x186)]['get'](_0x3a84f2);return _0x57bdbc!==void 0x0&&window[_0x34185d(0xbe)](_0x57bdbc),this['_localStorageService']['setItem'](u[_0x34185d(0x210)](_0x3a84f2),this['_cachedData'][_0x34185d(0x177)](_0x3a84f2))['then'](()=>this[_0x34185d(0x186)]['delete'](_0x3a84f2));}async[_0x373e19(0x2b7)](){const _0x5559ad=_0x373e19,_0x52bd17=[];this['_saveTaskMap'][_0x5559ad(0x22a)]((_0x330ec2,_0x268d29)=>{const _0x9ea831=_0x5559ad;window[_0x9ea831(0xbe)](_0x330ec2),_0x52bd17[_0x9ea831(0xc2)](this[_0x9ea831(0x193)](_0x268d29)[_0x9ea831(0x14a)](()=>{const _0x57bc10=_0x9ea831;this[_0x57bc10(0x186)][_0x57bc10(0x258)](_0x268d29);}));}),await Promise[_0x5559ad(0x181)](_0x52bd17);}};ve=Kt([le(0x0,a[_0x373e19(0x269)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x373e19(0x2ec)](m['RevisionService']))],ve);class xe extends a['RxDisposable']{constructor(){const _0x3bea43=_0x373e19;super(),h(this,'urlChange$'),this['urlChange$']=d['fromEvent'](window,_0x3bea43(0x304))[_0x3bea43(0x1f8)](d[_0x3bea43(0x1b9)](this[_0x3bea43(0x2e1)]),d[_0x3bea43(0x293)](0x1),d[_0x3bea43(0x299)](void 0x0));}['setParam'](_0x5060ac,_0x33eb64,_0x477a49=!0x1){const _0x3b50be=_0x373e19,_0x3076f4=new URL(window[_0x3b50be(0x2ce)][_0x3b50be(0x321)]);_0x3076f4[_0x3b50be(0x319)][_0x3b50be(0x2a9)](_0x5060ac,_0x33eb64),_0x477a49?window[_0x3b50be(0xe3)][_0x3b50be(0x277)]('','',_0x3076f4[_0x3b50be(0x314)]()):window[_0x3b50be(0xe3)][_0x3b50be(0x189)]('','',_0x3076f4[_0x3b50be(0x314)]());}[_0x373e19(0x115)](_0x577347,_0x4bdda6=!0x1){const _0x232050=_0x373e19,_0x5b4736=new URL(window['location'][_0x232050(0x321)]);_0x5b4736[_0x232050(0x319)][_0x232050(0x258)](_0x577347),_0x4bdda6?window['history'][_0x232050(0x277)]('','',_0x5b4736['toString']()):window[_0x232050(0xe3)][_0x232050(0x189)]('','',_0x5b4736[_0x232050(0x314)]());}[_0x373e19(0x322)](_0x42c5bf){const _0x59c235=_0x373e19;var _0x108c45;return(_0x108c45=new URL(window[_0x59c235(0x2ce)][_0x59c235(0x321)])[_0x59c235(0x319)][_0x59c235(0x177)](_0x42c5bf))!=null?_0x108c45:void 0x0;}}var qt=Object[_0x373e19(0x1ac)],zt=Object[_0x373e19(0x305)],Jt=(_0x3ca152,_0x2188b6,_0x19c38b)=>_0x2188b6 in _0x3ca152?qt(_0x3ca152,_0x2188b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19c38b}):_0x3ca152[_0x2188b6]=_0x19c38b,Zt=(_0x59302f,_0x50c7dd,_0x2dc7a3,_0x1f4665)=>{const _0x34028e=_0x373e19;for(var _0x52348a=_0x1f4665>0x1?void 0x0:_0x1f4665?zt(_0x50c7dd,_0x2dc7a3):_0x50c7dd,_0x3da5cf=_0x59302f[_0x34028e(0x1a4)]-0x1,_0x59e212;_0x3da5cf>=0x0;_0x3da5cf--)(_0x59e212=_0x59302f[_0x3da5cf])&&(_0x52348a=_0x59e212(_0x52348a)||_0x52348a);return _0x52348a;},_e=(_0x19222d,_0x5abe25)=>(_0xc15a20,_0x44f308)=>_0x5abe25(_0xc15a20,_0x44f308,_0x19222d),Qt=(_0x177e30,_0x506c9d,_0x4cb039)=>Jt(_0x177e30,_0x506c9d+'',_0x4cb039);const es=_0x373e19(0xff);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x373e19(0x12e)]{constructor(_0x18a752=De,_0x5431ed,_0x179c0a,_0x3df464){const _0x2827e0=_0x373e19;super(),this[_0x2827e0(0x1ab)]=_0x18a752,this[_0x2827e0(0x238)]=_0x5431ed,this[_0x2827e0(0x20b)]=_0x179c0a,this[_0x2827e0(0x2ac)]=_0x3df464;const {..._0x5ba2cd}=a['merge']({},De,this[_0x2827e0(0x1ab)]);this[_0x2827e0(0x2ac)][_0x2827e0(0x1ce)](Bt,_0x5ba2cd);}[_0x373e19(0x2f2)](){const _0x1e28f1=_0x373e19;this[_0x1e28f1(0xdc)](),this['_initDependencies']();}[_0x373e19(0x2a7)](){const _0x55d3dd=_0x373e19;this[_0x55d3dd(0x218)]();}[_0x373e19(0xdc)](){const _0xb5799d=_0x373e19;var _0x5b7064;const _0x5e6c30=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K['WebSocketService']}],[u[_0xb5799d(0x15f)],{'useClass':ve}],[exports[_0xb5799d(0x1ae)]],[Q],[q],[x],[ue],[exports[_0xb5799d(0x1bf)]]];a[_0xb5799d(0x315)](this[_0xb5799d(0x20b)],a[_0xb5799d(0x2a5)](_0x5e6c30,(_0x5b7064=this[_0xb5799d(0x1ab)])==null?void 0x0:_0x5b7064[_0xb5799d(0x15e)]));}[_0x373e19(0x218)](){const _0x406ab0=_0x373e19;this[_0x406ab0(0x13c)](this['_renderManagerService']['registerRenderModule'](a['UniverInstanceType'][_0x406ab0(0xf8)],[fe])),this[_0x406ab0(0x13c)](this[_0x406ab0(0x238)]['registerRenderModule'](a[_0x406ab0(0x2fc)][_0x406ab0(0x1de)],[Ie]));}[_0x373e19(0x1cf)](){const _0x45e298=_0x373e19;a[_0x45e298(0x13b)](this[_0x45e298(0x20b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x45e298(0x1bf)]]]);}},Qt(exports[_0x373e19(0x16f)],_0x373e19(0x13a),es),exports[_0x373e19(0x16f)]=Zt([a[_0x373e19(0x265)](u[_0x373e19(0x29c)]),_e(0x1,p[_0x373e19(0x26f)]),_e(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),_e(0x3,a[_0x373e19(0x269)])],exports[_0x373e19(0x16f)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x4246c8,_0x5f5d31,_0x2cfac4,_0x1e0d47)=>{for(var _0x334637=_0x1e0d47>0x1?void 0x0:_0x1e0d47?ts(_0x5f5d31,_0x2cfac4):_0x5f5d31,_0x2348bf=_0x4246c8['length']-0x1,_0x2f7f92;_0x2348bf>=0x0;_0x2348bf--)(_0x2f7f92=_0x4246c8[_0x2348bf])&&(_0x334637=_0x2f7f92(_0x334637)||_0x334637);return _0x334637;},H=(_0x233125,_0x3585b5)=>(_0x2159ae,_0x4293cc)=>_0x3585b5(_0x2159ae,_0x4293cc,_0x233125);exports[_0x373e19(0xea)]=class extends u[_0x373e19(0x234)]{constructor(_0x2ac52f,_0x233df9,_0x4e1edc,_0x3bff51,_0x4be5f3){super(_0x2ac52f,_0x233df9,_0x4e1edc,_0x3bff51,_0x4be5f3);}async[_0x373e19(0x2db)](_0x58bec2){const _0x4548e2=_0x373e19,_0x2e67a0=await this[_0x4548e2(0xde)](),_0x42059f=this[_0x4548e2(0x24d)](_0x58bec2,_0x2e67a0);return this[_0x4548e2(0x2c9)](_0x42059f);}[_0x373e19(0x24d)](_0x3a126c,_0x58b283){const _0x20c26=_0x373e19,_0x17d792=typeof window>'u'?new URL(_0x3a126c):new URL(_0x3a126c,window[_0x20c26(0x2ce)][_0x20c26(0x2dd)]);_0x17d792[_0x20c26(0x319)][_0x20c26(0x2a9)](_0x20c26(0xd5),_0x58b283);const _0xc55598=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20c26(0x2ce)][_0x20c26(0x2a6)]);return _0xc55598['get']('runId')&&_0x17d792[_0x20c26(0x319)][_0x20c26(0x2a9)](_0x20c26(0x30f),_0xc55598[_0x20c26(0x177)](_0x20c26(0x30f))),_0x17d792[_0x20c26(0x314)]();}async[_0x373e19(0xde)](){const _0x36f327=_0x373e19;var _0x4c669e,_0x5e0163,_0x3d133a;const _0x23d16c=this[_0x36f327(0x2ac)][_0x36f327(0x2e2)](u[_0x36f327(0xd0)]),_0x15b5b1=(_0x4c669e=_0x23d16c==null?void 0x0:_0x23d16c[_0x36f327(0x1fd)])!=null?_0x4c669e:u[_0x36f327(0x160)];return(_0x3d133a=(_0x5e0163=(await this[_0x36f327(0x266)]['get'](_0x15b5b1,{'headers':{'Content-Type':_0x36f327(0xb6)}}))[_0x36f327(0x2d8)])==null?void 0x0:_0x5e0163[_0x36f327(0x1f1)])!=null?_0x3d133a:'';}},exports[_0x373e19(0xea)]=ss([H(0x0,a['Inject'](a[_0x373e19(0xc4)])),H(0x1,a[_0x373e19(0x2ec)](K[_0x373e19(0x25e)])),H(0x2,a[_0x373e19(0x269)]),H(0x3,a[_0x373e19(0x28c)]),H(0x4,m['ISnapshotServerService'])],exports[_0x373e19(0xea)]);var Be=(_0x814e7b=>(_0x814e7b[_0x814e7b['UNDEFINED']=0x0]='UNDEFINED',_0x814e7b[_0x814e7b['OK']=0x1]='OK',_0x814e7b[_0x814e7b[_0x373e19(0x25d)]=0x2]=_0x373e19(0x25d),_0x814e7b[_0x814e7b[_0x373e19(0x26e)]=0x3]=_0x373e19(0x26e),_0x814e7b[_0x814e7b[_0x373e19(0x21e)]=0x4]='NOT_FOUND',_0x814e7b[_0x814e7b['UNAUTHENTICATED']=0x5]=_0x373e19(0x10b),_0x814e7b[_0x814e7b[_0x373e19(0x2f9)]=0x6]=_0x373e19(0x2f9),_0x814e7b[_0x814e7b['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x814e7b[_0x814e7b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x814e7b[_0x814e7b[_0x373e19(0x164)]=0x9]=_0x373e19(0x164),_0x814e7b[_0x814e7b[_0x373e19(0x1ca)]=0xa]=_0x373e19(0x1ca),_0x814e7b[_0x814e7b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x373e19(0x323),_0x814e7b[_0x814e7b[_0x373e19(0x137)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x814e7b[_0x814e7b['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x373e19(0xc0),_0x814e7b[_0x814e7b[_0x373e19(0xf5)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x814e7b[_0x814e7b[_0x373e19(0x144)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x814e7b[_0x814e7b[_0x373e19(0x2e4)]=0x1771]=_0x373e19(0x2e4),_0x814e7b[_0x814e7b[_0x373e19(0x1b7)]=0x1772]=_0x373e19(0x1b7),_0x814e7b[_0x814e7b[_0x373e19(0x179)]=0x1773]=_0x373e19(0x179),_0x814e7b[_0x814e7b['APPLY_REJECT']=0x1b59]=_0x373e19(0x148),_0x814e7b[_0x814e7b[_0x373e19(0x2ea)]=0x1b5a]=_0x373e19(0x2ea),_0x814e7b[_0x814e7b[_0x373e19(0x2a3)]=0x1b5b]=_0x373e19(0x2a3),_0x814e7b[_0x814e7b[_0x373e19(0x132)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x814e7b[_0x814e7b[_0x373e19(0xfe)]=0x1b5d]=_0x373e19(0xfe),_0x814e7b[_0x814e7b[_0x373e19(0xe8)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x814e7b[_0x814e7b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x373e19(0x2cc),_0x814e7b[_0x814e7b[_0x373e19(0x301)]=0x232a]=_0x373e19(0x301),_0x814e7b[_0x814e7b[_0x373e19(0xf6)]=0x232b]=_0x373e19(0xf6),_0x814e7b[_0x814e7b[_0x373e19(0x271)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x814e7b[_0x814e7b[_0x373e19(0x31c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x814e7b[_0x814e7b[_0x373e19(0x1be)]=0x2711]=_0x373e19(0x1be),_0x814e7b[_0x814e7b[_0x373e19(0x1df)]=0x2712]=_0x373e19(0x1df),_0x814e7b[_0x814e7b[_0x373e19(0xb4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x814e7b[_0x814e7b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x373e19(0x2f1),_0x814e7b[_0x814e7b[_0x373e19(0x1d0)]=0x271a]=_0x373e19(0x1d0),_0x814e7b[_0x814e7b[_0x373e19(0x108)]=0x271b]=_0x373e19(0x108),_0x814e7b[_0x814e7b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x373e19(0x127),_0x814e7b[_0x814e7b[_0x373e19(0x27a)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x814e7b[_0x814e7b[_0x373e19(0x28e)]=0x271e]=_0x373e19(0x28e),_0x814e7b[_0x814e7b[_0x373e19(0x1d3)]=0x271f]=_0x373e19(0x1d3),_0x814e7b[_0x814e7b[_0x373e19(0x1fb)]=0x2720]=_0x373e19(0x1fb),_0x814e7b[_0x814e7b[_0x373e19(0x1bd)]=0x2af9]=_0x373e19(0x1bd),_0x814e7b[_0x814e7b[_0x373e19(0x207)]=0x2ee1]=_0x373e19(0x207),_0x814e7b[_0x814e7b['INVALID_INVITE_CODE']=0x2ee2]=_0x373e19(0x318),_0x814e7b[_0x814e7b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x373e19(0x240),_0x814e7b[_0x814e7b[_0x373e19(0x22d)]=0x2ee4]=_0x373e19(0x22d),_0x814e7b[_0x814e7b[_0x373e19(0x24f)]=0x2ee5]=_0x373e19(0x24f),_0x814e7b[_0x814e7b['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b[_0x373e19(0x10c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b[_0x373e19(0x241)]=-0x1]='UNRECOGNIZED',_0x814e7b))(Be||{}),is=Object[_0x373e19(0x305)],ns=(_0xc3ec51,_0x59553c,_0xbc3788,_0x4fe5e1)=>{const _0x35b133=_0x373e19;for(var _0x4203c0=_0x4fe5e1>0x1?void 0x0:_0x4fe5e1?is(_0x59553c,_0xbc3788):_0x59553c,_0x4548a2=_0xc3ec51[_0x35b133(0x1a4)]-0x1,_0x1d1dea;_0x4548a2>=0x0;_0x4548a2--)(_0x1d1dea=_0xc3ec51[_0x4548a2])&&(_0x4203c0=_0x1d1dea(_0x4203c0)||_0x4203c0);return _0x4203c0;},he=(_0x2121a1,_0x359666)=>(_0xfc118c,_0x2e24cd)=>_0x359666(_0xfc118c,_0x2e24cd,_0x2121a1);exports[_0x373e19(0xd8)]=class extends a[_0x373e19(0x1e2)]{constructor(_0x49b395,_0x34b92f,_0x45d327){const _0xf607be=_0x373e19;super(),this[_0xf607be(0x2fb)]=_0x49b395,this[_0xf607be(0x266)]=_0x34b92f,this['_configService']=_0x45d327;}async[_0x373e19(0x1d5)](_0x2d687e,_0x2bb743,_0x2c74a4,..._0x21c330){const _0x3e5bf2=_0x373e19;var _0x48998f,_0x212e42,_0x118681,_0x2a6fc2;const _0x3783c7=this[_0x3e5bf2(0x2fb)][_0x3e5bf2(0x19d)]();if(!_0x3783c7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3f44c2=((_0x48998f=this[_0x3e5bf2(0x2ac)][_0x3e5bf2(0x2e2)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x48998f:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d687e+_0x3e5bf2(0x1a6)+_0x2bb743,_0x43d808=new URL(window[_0x3e5bf2(0x2ce)][_0x3e5bf2(0x321)]),_0x44424a={'scriptId':_0x2d687e,'runId':(_0x212e42=_0x43d808[_0x3e5bf2(0x319)]['get'](_0x3e5bf2(0x30f)))!=null?_0x212e42:'','function':_0x2bb743,'unitId':_0x3783c7[_0x3e5bf2(0x261)](),'argsOfFunction':JSON[_0x3e5bf2(0x104)](_0x21c330),'invokeId':(_0x118681=_0x2c74a4[_0x3e5bf2(0xf2)])!=null?_0x118681:'','executionId':(_0x2a6fc2=_0x2c74a4[_0x3e5bf2(0x233)])!=null?_0x2a6fc2:''};try{const _0x12f66d=await this['_httpService'][_0x3e5bf2(0x149)](_0x3f44c2,{'body':_0x44424a});return _0x12f66d['body'][_0x3e5bf2(0x111)]&&_0x12f66d['body'][_0x3e5bf2(0x111)][_0x3e5bf2(0x1fc)]!==Be['OK']?'Failed':_0x12f66d[_0x3e5bf2(0x2d8)]['result'];}catch{return _0x3e5bf2(0x2b1);}}},exports[_0x373e19(0xd8)]=ns([he(0x0,a[_0x373e19(0x157)]),he(0x1,a[_0x373e19(0x2ec)](K['HTTPService'])),he(0x2,a[_0x373e19(0x269)])],exports[_0x373e19(0xd8)]);const Me=0x7530,Le=_0x373e19(0x2c7);class rs extends a[_0x373e19(0x1e2)]{constructor(){const _0x40b147=_0x373e19;super(),h(this,_0x40b147(0x24b),a[_0x40b147(0x17c)]()),h(this,_0x40b147(0x2b0),new Set()),h(this,_0x40b147(0x262),new Map()),h(this,_0x40b147(0x170),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x40b147(0xbb)]();}[_0x373e19(0x226)](){const _0x35dadc=_0x373e19;super[_0x35dadc(0x226)](),this[_0x35dadc(0x249)][_0x35dadc(0x22a)]((_0x25240f,_0x3c3179)=>this[_0x35dadc(0x28f)](_0x3c3179)),this['_heartbeatTimer']&&window[_0x35dadc(0xc3)](this['_heartbeatTimer']);}['getUnitStatus$'](_0xf6b1d2){const _0x3e3435=_0x373e19;return this[_0x3e3435(0x2bd)](_0xf6b1d2)[_0x3e3435(0x1f8)](d[_0x3e3435(0x171)]());}[_0x373e19(0x329)](_0x2071e8){const _0x30f435=_0x373e19;this[_0x30f435(0x2b0)][_0x30f435(0x1c0)]===0x0&&this[_0x30f435(0xe4)](),this[_0x30f435(0x2b0)][_0x30f435(0x1a3)](_0x2071e8),this['_send']({'type':0x0,'memberID':this[_0x30f435(0x24b)],'unitIDs':[_0x2071e8],'isForwarded':!0x1});}[_0x373e19(0x117)](_0x52d697){const _0x4cc2da=_0x373e19;this[_0x4cc2da(0x2b0)][_0x4cc2da(0x258)](_0x52d697),this[_0x4cc2da(0x2b0)][_0x4cc2da(0x1c0)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4cc2da(0x170)]);}[_0x373e19(0xbb)](){const _0x5a536c=_0x373e19;this[_0x5a536c(0x13c)](a['toDisposable'](d[_0x5a536c(0x221)](window,_0x5a536c(0x1b6))[_0x5a536c(0x145)](_0x564881=>{const _0x1f9f52=_0x5a536c;if(_0x564881[_0x1f9f52(0x125)]!==Le||!_0x564881[_0x1f9f52(0x1d2)])return;const _0x216b70=JSON[_0x1f9f52(0x140)](_0x564881['newValue']);this[_0x1f9f52(0x21d)](_0x216b70);}))),window['addEventListener'](_0x5a536c(0x2b8),()=>this[_0x5a536c(0x276)]({'type':0x1,'memberID':this[_0x5a536c(0x24b)],'unitIDs':Array['from'](this[_0x5a536c(0x2b0)])}));}[_0x373e19(0x21d)](_0x43708e){const _0xdaab89=_0x373e19;switch(_0x43708e[_0xdaab89(0x324)]){case 0x0:this[_0xdaab89(0x2c6)](_0x43708e);break;case 0x1:this[_0xdaab89(0x200)](_0x43708e);break;case 0x2:this[_0xdaab89(0xf1)](_0x43708e);break;}}[_0x373e19(0x2c6)](_0x4a5aec){const _0xa2fe1e=_0x373e19,{unitIDs:_0xbad220,memberID:_0x431e0d,isForwarded:_0x3f0167}=_0x4a5aec;_0xbad220[_0xa2fe1e(0x22a)](_0x1b9999=>{const _0x196fbc=_0xa2fe1e;if(!_0x3f0167&&this[_0x196fbc(0x262)][_0x196fbc(0x281)](_0x1b9999)&&this[_0x196fbc(0x2bd)](_0x1b9999)['next'](u['UnitStatus'][_0x196fbc(0x10d)]),!this[_0x196fbc(0x262)][_0x196fbc(0x281)](_0x1b9999)||!this['_unitOnClients'][_0x196fbc(0x177)](_0x1b9999)[_0x196fbc(0x281)](_0x431e0d)){const _0x1f079e=this[_0x196fbc(0x262)][_0x196fbc(0x177)](_0x1b9999)||new Set();_0x1f079e['add'](_0x431e0d),this[_0x196fbc(0x262)][_0x196fbc(0x2a9)](_0x1b9999,_0x1f079e),this[_0x196fbc(0x270)](_0x431e0d);}}),_0x3f0167||this[_0xa2fe1e(0x276)]({'type':0x0,'memberID':this[_0xa2fe1e(0x24b)],'unitIDs':[...this[_0xa2fe1e(0x2b0)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x17dc27){const _0x46481e=_0x373e19;this[_0x46481e(0x28f)](_0x17dc27);const _0x23db5a=window[_0x46481e(0x29a)](()=>{const _0x1d4756=_0x46481e;this[_0x1d4756(0x262)][_0x1d4756(0x22a)](_0x33f795=>{const _0x4875da=_0x1d4756;_0x33f795[_0x4875da(0x258)](_0x17dc27);});},Me*0x2);this['_clearOtherTimers'][_0x46481e(0x2a9)](_0x17dc27,_0x23db5a);}[_0x373e19(0x28f)](_0x1a795c){const _0x39cb54=_0x373e19;if(this[_0x39cb54(0x249)][_0x39cb54(0x281)](_0x1a795c)){const _0x17660d=this[_0x39cb54(0x249)][_0x39cb54(0x177)](_0x1a795c);_0x17660d&&window[_0x39cb54(0xbe)](_0x17660d),this['_clearOtherTimers'][_0x39cb54(0x2a9)](_0x1a795c,null);}}[_0x373e19(0x200)](_0x299a07){const _0x230259=_0x373e19,{memberID:_0x3170b3,unitIDs:_0x132a81}=_0x299a07;_0x132a81['forEach'](_0x49f16a=>{const _0x5467ad=_0x2638;var _0x398a3d;const _0x1f47f3=this[_0x5467ad(0x262)][_0x5467ad(0x177)](_0x49f16a);_0x1f47f3&&(_0x1f47f3[_0x5467ad(0x258)](_0x3170b3),(_0x398a3d=this[_0x5467ad(0x2bd)](_0x49f16a))==null||_0x398a3d[_0x5467ad(0x2e5)](_0x1f47f3[_0x5467ad(0x1c0)]===0x0?u[_0x5467ad(0x12d)][_0x5467ad(0xbc)]:u[_0x5467ad(0x12d)][_0x5467ad(0x10d)]));}),this[_0x230259(0x28f)](_0x3170b3);}['_handleHeartbeatEvent'](_0x5427f9){const _0x3fc517=_0x373e19;this[_0x3fc517(0x270)](_0x5427f9[_0x3fc517(0x2f3)]);}['_send'](_0x368c14){const _0x167df9=_0x373e19;localStorage[_0x167df9(0x309)](Le,JSON[_0x167df9(0x104)](_0x368c14));}[_0x373e19(0xe4)](){const _0x2deac4=_0x373e19;this['_heartbeatTimer']=window[_0x2deac4(0x251)](()=>{const _0xb37204=_0x2deac4;this[_0xb37204(0x276)]({'type':0x2,'memberID':this[_0xb37204(0x24b)]});},Me);}[_0x373e19(0x2bd)](_0x21da91){const _0x14942d=_0x373e19;return this['_unitStatus'][_0x14942d(0x281)](_0x21da91)||this['_unitStatus'][_0x14942d(0x2a9)](_0x21da91,new d[(_0x14942d(0x1a8))](u[_0x14942d(0x12d)][_0x14942d(0xbc)])),this['_unitStatus'][_0x14942d(0x177)](_0x21da91);}}exports[_0x373e19(0x11f)]=me,exports[_0x373e19(0x326)]=$e,exports[_0x373e19(0x283)]=rs,exports[_0x373e19(0x23a)]=xe;
@@ -1 +1 @@
1
- 'use strict';function _0x1965(_0x1f51f1,_0x19d758){const _0x5ee691=_0x5ee6();return _0x1965=function(_0x196581,_0x480155){_0x196581=_0x196581-0xe0;let _0xf08b40=_0x5ee691[_0x196581];return _0xf08b40;},_0x1965(_0x1f51f1,_0x19d758);}function _0x5ee6(){const _0x5dc836=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','11FROIWl','226EgesXt','4696908gZlbDp','3414HTAIlY','508hjBlFN','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','Edit\x20conflicts','9437000gpqytb','104qsUURi','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','749UyzsyQ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','33084yNmWMn','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.','1153164hddnVK','7985cTAuNk','48066MTLvQI','Syncing\x20server\x20data...','Synced','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\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...'];_0x5ee6=function(){return _0x5dc836;};return _0x5ee6();}const _0x44ceae=_0x1965;(function(_0x55b4e3,_0x343715){const _0xdf15ae=_0x1965,_0x26a920=_0x55b4e3();while(!![]){try{const _0x269ad1=-parseInt(_0xdf15ae(0xe8))/0x1*(parseInt(_0xdf15ae(0xea))/0x2)+-parseInt(_0xdf15ae(0xf8))/0x3+parseInt(_0xdf15ae(0xeb))/0x4*(-parseInt(_0xdf15ae(0xf9))/0x5)+parseInt(_0xdf15ae(0xfa))/0x6*(parseInt(_0xdf15ae(0xf4))/0x7)+parseInt(_0xdf15ae(0xf1))/0x8*(parseInt(_0xdf15ae(0xf6))/0x9)+parseInt(_0xdf15ae(0xf0))/0xa+parseInt(_0xdf15ae(0xe7))/0xb*(-parseInt(_0xdf15ae(0xe9))/0xc);if(_0x269ad1===_0x343715)break;else _0x26a920['push'](_0x26a920['shift']());}catch(_0x3fd095){_0x26a920['push'](_0x26a920['shift']());}}}(_0x5ee6,0x763ab));const e={'collab-client':{'tooltip':{'reconnect':_0x44ceae(0xe6)}},'collabStatus':{'fetchMiss':_0x44ceae(0xfb),'conflict':_0x44ceae(0xef),'notCollab':_0x44ceae(0xec),'synced':_0x44ceae(0xe0),'syncing':_0x44ceae(0xe4),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x44ceae(0xe3),'will-retry':_0x44ceae(0xf5),'room-full':_0x44ceae(0xe2),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x44ceae(0xf2),'content':_0x44ceae(0xf7)},'permission':{'title':_0x44ceae(0xee),'content':_0x44ceae(0xe1)},'collaboration':{'single-unit':{'warning':_0x44ceae(0xed)},'closeRoom':_0x44ceae(0xf3)},'auth':{'needGotoLoginAlert':_0x44ceae(0xe5)}},o=e;module['exports']=o;
1
+ 'use strict';function _0x1b01(_0x48a16c,_0x4b70ea){const _0xeb0f0a=_0xeb0f();return _0x1b01=function(_0x1b019d,_0x24857e){_0x1b019d=_0x1b019d-0x100;let _0xea9879=_0xeb0f0a[_0x1b019d];return _0xea9879;},_0x1b01(_0x48a16c,_0x4b70ea);}const _0x2cc274=_0x1b01;(function(_0x2d081d,_0x571808){const _0x4052e8=_0x1b01,_0x2f7d85=_0x2d081d();while(!![]){try{const _0x4c6de3=-parseInt(_0x4052e8(0x110))/0x1+-parseInt(_0x4052e8(0x105))/0x2*(parseInt(_0x4052e8(0x100))/0x3)+parseInt(_0x4052e8(0x102))/0x4*(parseInt(_0x4052e8(0x10a))/0x5)+-parseInt(_0x4052e8(0x109))/0x6*(-parseInt(_0x4052e8(0x107))/0x7)+parseInt(_0x4052e8(0x119))/0x8+parseInt(_0x4052e8(0x10e))/0x9*(-parseInt(_0x4052e8(0x115))/0xa)+parseInt(_0x4052e8(0x108))/0xb;if(_0x4c6de3===_0x571808)break;else _0x2f7d85['push'](_0x2f7d85['shift']());}catch(_0x3787ea){_0x2f7d85['push'](_0x2f7d85['shift']());}}}(_0xeb0f,0x247f3));function _0xeb0f(){const _0x273ca4=['2224448xAHOVu','3uefBvi','Authentication\x20Error','102052nizFqV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','1506ucnBMM','Edit\x20conflicts','35CqYYgI','1185481bTUxSz','99714BQmZtQ','5gFqVLb','Connection\x20failed,\x20please\x20check\x20your\x20network.','exports','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','234KzFavR','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','133565KfYvBM','Syncing\x20server\x20data...','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.','Local\x20file','81010dTQnMo','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0xeb0f=function(){return _0x273ca4;};return _0xeb0f();}const e={'collab-client':{'tooltip':{'reconnect':_0x2cc274(0x104)}},'collabStatus':{'fetchMiss':_0x2cc274(0x111),'conflict':_0x2cc274(0x106),'notCollab':_0x2cc274(0x114),'synced':_0x2cc274(0x116),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2cc274(0x10b),'will-retry':_0x2cc274(0x117),'room-full':_0x2cc274(0x10f),'collaboration-timeout':_0x2cc274(0x103)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2cc274(0x113)},'permission':{'title':_0x2cc274(0x101),'content':_0x2cc274(0x118)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2cc274(0x112)},'auth':{'needGotoLoginAlert':_0x2cc274(0x10d)}},o=e;module[_0x2cc274(0x10c)]=o;