@univerjs-pro/edit-history-viewer 0.10.0 → 0.10.1-nightly.202508020912

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 (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +17 -17
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xf48603=_0x4bf2;(function(_0x4b0ffa,_0x136bb5){const _0x4bee97=_0x4bf2,_0x8b0f0a=_0x4b0ffa();while(!![]){try{const _0x1e86d7=-parseInt(_0x4bee97(0x264))/0x1+-parseInt(_0x4bee97(0x1d3))/0x2+parseInt(_0x4bee97(0x317))/0x3+parseInt(_0x4bee97(0x2ec))/0x4+-parseInt(_0x4bee97(0x1a6))/0x5+parseInt(_0x4bee97(0x346))/0x6*(parseInt(_0x4bee97(0x381))/0x7)+-parseInt(_0x4bee97(0x28a))/0x8*(-parseInt(_0x4bee97(0x1d8))/0x9);if(_0x1e86d7===_0x136bb5)break;else _0x8b0f0a['push'](_0x8b0f0a['shift']());}catch(_0x37ae45){_0x8b0f0a['push'](_0x8b0f0a['shift']());}}}(_0x3187,0x6eb95));var pe=Object[_0xf48603(0x23b)],Ee=(_0x171ee9,_0x5ef44e,_0x17054f)=>_0x5ef44e in _0x171ee9?pe(_0x171ee9,_0x5ef44e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17054f}):_0x171ee9[_0x5ef44e]=_0x17054f,_=(_0x4f351c,_0x2f3803,_0x2f925c)=>Ee(_0x4f351c,typeof _0x2f3803!='symbol'?_0x2f3803+'':_0x2f3803,_0x2f925c);Object[_0xf48603(0x23b)](exports,Symbol['toStringTag'],{'value':_0xf48603(0x24e)});const b=require('@univerjs-pro/collaboration'),re=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core'),Me=require('@univerjs/drawing'),$=require('@univerjs/engine-render'),ce=require('@univerjs/network'),L=require('@univerjs/sheets-ui'),I=require('@univerjs/ui'),C=require('@univerjs/design'),u=require('@univerjs/sheets'),E=require('rxjs'),Re=require('@univerjs-pro/sheets-sparkline'),K=require('@univerjs/data-validation'),Q=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),h=require('react/jsx-runtime'),m=require('react'),Oe=require('@univerjs-pro/collaboration-client-ui'),ue=_0xf48603(0x398),ne={};var be=Object[_0xf48603(0x314)],Ne=(_0x556851,_0x41cb0e,_0x2bf43a,_0x46c93e)=>{const _0x16c285=_0xf48603;for(var _0x11c9a0=_0x46c93e>0x1?void 0x0:_0x46c93e?be(_0x41cb0e,_0x2bf43a):_0x41cb0e,_0x129e35=_0x556851[_0x16c285(0x2fd)]-0x1,_0x5ab8fc;_0x129e35>=0x0;_0x129e35--)(_0x5ab8fc=_0x556851[_0x129e35])&&(_0x11c9a0=_0x5ab8fc(_0x11c9a0)||_0x11c9a0);return _0x11c9a0;},De=(_0x2340ab,_0x486619)=>(_0x3e534e,_0x2b1318)=>_0x486619(_0x3e534e,_0x2b1318,_0x2340ab);let H=class extends l['Disposable']{constructor(_0x456a0f){const _0x53c0b1=_0xf48603;super(),this[_0x53c0b1(0x32c)]=_0x456a0f,this[_0x53c0b1(0x2d0)]();}['_init'](){const _0x4c66f0=_0xf48603;this['disposeWithMe'](this[_0x4c66f0(0x32c)][_0x4c66f0(0x355)][_0x4c66f0(0x20b)](_0x38f275=>{const _0x129763=_0x4c66f0;_0x38f275!=null&&_0x38f275[_0x129763(0x1cb)]&&this[_0x129763(0x32c)][_0x129763(0x2ea)]({'show':!0x1});}));}};H=Ne([De(0x0,L[_0xf48603(0x30a)])],H);var A=(_0x37dc4d=>(_0x37dc4d[_0x37dc4d[_0xf48603(0x2df)]=0x0]=_0xf48603(0x2df),_0x37dc4d[_0x37dc4d['OK']=0x1]='OK',_0x37dc4d[_0x37dc4d[_0xf48603(0x211)]=0x2]=_0xf48603(0x211),_0x37dc4d[_0x37dc4d[_0xf48603(0x376)]=0x3]=_0xf48603(0x376),_0x37dc4d[_0x37dc4d[_0xf48603(0x1c4)]=0x4]=_0xf48603(0x1c4),_0x37dc4d[_0x37dc4d[_0xf48603(0x27f)]=0x5]=_0xf48603(0x27f),_0x37dc4d[_0x37dc4d[_0xf48603(0x1dc)]=0x6]=_0xf48603(0x1dc),_0x37dc4d[_0x37dc4d[_0xf48603(0x32a)]=0x7]=_0xf48603(0x32a),_0x37dc4d[_0x37dc4d[_0xf48603(0x303)]=0x8]=_0xf48603(0x303),_0x37dc4d[_0x37dc4d[_0xf48603(0x219)]=0x9]=_0xf48603(0x219),_0x37dc4d[_0x37dc4d[_0xf48603(0x2b0)]=0xa]=_0xf48603(0x2b0),_0x37dc4d[_0x37dc4d[_0xf48603(0x1a0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x37dc4d[_0x37dc4d[_0xf48603(0x271)]=0xc]=_0xf48603(0x271),_0x37dc4d[_0x37dc4d[_0xf48603(0x34a)]=0xd]=_0xf48603(0x34a),_0x37dc4d[_0x37dc4d[_0xf48603(0x259)]=0xe]=_0xf48603(0x259),_0x37dc4d[_0x37dc4d[_0xf48603(0x373)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x37dc4d[_0x37dc4d[_0xf48603(0x287)]=0x1771]=_0xf48603(0x287),_0x37dc4d[_0x37dc4d[_0xf48603(0x25b)]=0x1772]=_0xf48603(0x25b),_0x37dc4d[_0x37dc4d[_0xf48603(0x32e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x37dc4d[_0x37dc4d['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x37dc4d[_0x37dc4d[_0xf48603(0x2c7)]=0x1b5a]=_0xf48603(0x2c7),_0x37dc4d[_0x37dc4d[_0xf48603(0x333)]=0x1b5b]=_0xf48603(0x333),_0x37dc4d[_0x37dc4d[_0xf48603(0x1ba)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x37dc4d[_0x37dc4d[_0xf48603(0x2d2)]=0x1b5d]=_0xf48603(0x2d2),_0x37dc4d[_0x37dc4d[_0xf48603(0x32d)]=0x1f41]=_0xf48603(0x32d),_0x37dc4d[_0x37dc4d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xf48603(0x216),_0x37dc4d[_0x37dc4d[_0xf48603(0x1a2)]=0x232a]=_0xf48603(0x1a2),_0x37dc4d[_0x37dc4d[_0xf48603(0x2e4)]=0x232b]=_0xf48603(0x2e4),_0x37dc4d[_0x37dc4d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xf48603(0x1e3),_0x37dc4d[_0x37dc4d['LICENSE_DISTRO_REJECTED']=0x232d]=_0xf48603(0x3a1),_0x37dc4d[_0x37dc4d[_0xf48603(0x26e)]=0x2711]=_0xf48603(0x26e),_0x37dc4d[_0x37dc4d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf48603(0x1e2),_0x37dc4d[_0x37dc4d[_0xf48603(0x1e7)]=0x2713]=_0xf48603(0x1e7),_0x37dc4d[_0x37dc4d[_0xf48603(0x37a)]=0x2714]=_0xf48603(0x37a),_0x37dc4d[_0x37dc4d[_0xf48603(0x283)]=0x271a]=_0xf48603(0x283),_0x37dc4d[_0x37dc4d[_0xf48603(0x2e9)]=0x271b]=_0xf48603(0x2e9),_0x37dc4d[_0x37dc4d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x37dc4d[_0x37dc4d[_0xf48603(0x2a0)]=0x271d]=_0xf48603(0x2a0),_0x37dc4d[_0x37dc4d[_0xf48603(0x2da)]=0x271e]=_0xf48603(0x2da),_0x37dc4d[_0x37dc4d[_0xf48603(0x38d)]=0x271f]=_0xf48603(0x38d),_0x37dc4d[_0x37dc4d[_0xf48603(0x208)]=0x2720]=_0xf48603(0x208),_0x37dc4d[_0x37dc4d[_0xf48603(0x1e6)]=0x2af9]=_0xf48603(0x1e6),_0x37dc4d[_0x37dc4d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x37dc4d[_0x37dc4d[_0xf48603(0x1bf)]=0x2ee2]=_0xf48603(0x1bf),_0x37dc4d[_0x37dc4d[_0xf48603(0x2ba)]=0x2ee3]=_0xf48603(0x2ba),_0x37dc4d[_0x37dc4d['USER_NOT_INVITED_CODE']=0x2ee4]=_0xf48603(0x2ac),_0x37dc4d[_0x37dc4d[_0xf48603(0x2e8)]=0x2ee5]=_0xf48603(0x2e8),_0x37dc4d[_0x37dc4d['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x37dc4d[_0x37dc4d[_0xf48603(0x1ee)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x37dc4d[_0x37dc4d[_0xf48603(0x34d)]=0x32cb]=_0xf48603(0x34d),_0x37dc4d[_0x37dc4d['UNRECOGNIZED']=-0x1]=_0xf48603(0x378),_0x37dc4d))(A||{}),j=(_0x4fd1db=>(_0x4fd1db[_0x4fd1db[_0xf48603(0x2c5)]=0x0]=_0xf48603(0x2c5),_0x4fd1db[_0x4fd1db[_0xf48603(0x1fc)]=0x1]=_0xf48603(0x1fc),_0x4fd1db[_0x4fd1db[_0xf48603(0x209)]=0x2]='UNIVER_SHEET',_0x4fd1db[_0x4fd1db[_0xf48603(0x2b5)]=0x3]=_0xf48603(0x2b5),_0x4fd1db[_0x4fd1db[_0xf48603(0x28b)]=0x4]='UNIVER_PROJECT',_0x4fd1db[_0x4fd1db[_0xf48603(0x378)]=-0x1]=_0xf48603(0x378),_0x4fd1db))(j||{}),y=(_0x1cd235=>(_0x1cd235[_0x1cd235[_0xf48603(0x251)]=0x0]=_0xf48603(0x251),_0x1cd235[_0x1cd235[_0xf48603(0x38b)]=0x1]=_0xf48603(0x38b),_0x1cd235[_0x1cd235['ManageCollaborator']=0x2]=_0xf48603(0x397),_0x1cd235[_0x1cd235['Print']=0x3]=_0xf48603(0x301),_0x1cd235[_0x1cd235[_0xf48603(0x2a4)]=0x4]=_0xf48603(0x2a4),_0x1cd235[_0x1cd235[_0xf48603(0x3ac)]=0x5]='Comment',_0x1cd235[_0x1cd235[_0xf48603(0x288)]=0x6]=_0xf48603(0x288),_0x1cd235[_0x1cd235[_0xf48603(0x1be)]=0x7]='Share',_0x1cd235[_0x1cd235[_0xf48603(0x282)]=0x8]=_0xf48603(0x282),_0x1cd235[_0x1cd235[_0xf48603(0x36b)]=0x9]=_0xf48603(0x36b),_0x1cd235[_0x1cd235['DeleteWorksheet']=0xa]=_0xf48603(0x32f),_0x1cd235[_0x1cd235[_0xf48603(0x2c1)]=0xb]='HideWorksheet',_0x1cd235[_0x1cd235['RenameWorksheet']=0xc]=_0xf48603(0x30f),_0x1cd235[_0x1cd235['CreateWorksheet']=0xd]=_0xf48603(0x30e),_0x1cd235[_0x1cd235[_0xf48603(0x1b2)]=0xe]=_0xf48603(0x1b2),_0x1cd235[_0x1cd235[_0xf48603(0x1fa)]=0xf]=_0xf48603(0x1fa),_0x1cd235[_0x1cd235[_0xf48603(0x35f)]=0x10]=_0xf48603(0x35f),_0x1cd235[_0x1cd235[_0xf48603(0x390)]=0x11]=_0xf48603(0x390),_0x1cd235[_0x1cd235[_0xf48603(0x293)]=0x12]='Filter',_0x1cd235[_0x1cd235[_0xf48603(0x235)]=0x13]='PivotTable',_0x1cd235[_0x1cd235[_0xf48603(0x341)]=0x14]=_0xf48603(0x341),_0x1cd235[_0x1cd235['History']=0x15]='History',_0x1cd235[_0x1cd235['RwHgtClWdt']=0x16]=_0xf48603(0x297),_0x1cd235[_0x1cd235['ViemRwHgtClWdt']=0x17]='ViemRwHgtClWdt',_0x1cd235[_0x1cd235[_0xf48603(0x393)]=0x18]='ViewFilter',_0x1cd235[_0x1cd235[_0xf48603(0x2d4)]=0x19]='MoveSheet',_0x1cd235[_0x1cd235['DeleteSheet']=0x1a]=_0xf48603(0x1c5),_0x1cd235[_0x1cd235[_0xf48603(0x34e)]=0x1b]=_0xf48603(0x34e),_0x1cd235[_0x1cd235[_0xf48603(0x38f)]=0x1c]=_0xf48603(0x38f),_0x1cd235[_0x1cd235['RenameSheet']=0x1d]=_0xf48603(0x38a),_0x1cd235[_0x1cd235[_0xf48603(0x1d4)]=0x1e]=_0xf48603(0x1d4),_0x1cd235[_0x1cd235[_0xf48603(0x27e)]=0x1f]=_0xf48603(0x27e),_0x1cd235[_0x1cd235[_0xf48603(0x387)]=0x20]='SelectUnProtectedCells',_0x1cd235[_0x1cd235[_0xf48603(0x2cf)]=0x21]=_0xf48603(0x2cf),_0x1cd235[_0x1cd235[_0xf48603(0x1f9)]=0x22]=_0xf48603(0x1f9),_0x1cd235[_0x1cd235[_0xf48603(0x3ae)]=0x23]=_0xf48603(0x3ae),_0x1cd235[_0x1cd235[_0xf48603(0x21c)]=0x24]=_0xf48603(0x21c),_0x1cd235[_0x1cd235[_0xf48603(0x28f)]=0x25]='InsertRow',_0x1cd235[_0x1cd235[_0xf48603(0x1d1)]=0x26]=_0xf48603(0x1d1),_0x1cd235[_0x1cd235[_0xf48603(0x1dd)]=0x27]=_0xf48603(0x1dd),_0x1cd235[_0x1cd235[_0xf48603(0x29f)]=0x28]=_0xf48603(0x29f),_0x1cd235[_0x1cd235[_0xf48603(0x1fe)]=0x29]=_0xf48603(0x1fe),_0x1cd235[_0x1cd235[_0xf48603(0x1d0)]=0x2a]=_0xf48603(0x1d0),_0x1cd235[_0x1cd235[_0xf48603(0x270)]=0x2b]=_0xf48603(0x270),_0x1cd235[_0x1cd235['ViewHistory']=0x2c]=_0xf48603(0x1b0),_0x1cd235[_0x1cd235[_0xf48603(0x254)]=0x2d]=_0xf48603(0x254),_0x1cd235[_0x1cd235[_0xf48603(0x378)]=-0x1]=_0xf48603(0x378),_0x1cd235))(y||{});function ye(_0x350ec7){const _0x537552=_0xf48603;return!!(_0x350ec7&&_0x350ec7[_0x537552(0x19d)]&&_0x350ec7[_0x537552(0x19d)]!==A['OK']&&_0x350ec7[_0x537552(0x19d)]!=='OK');}const ee=(_0x570790,_0x258366)=>{const _0x541096=_0xf48603;if(!_0x570790)return{'date':'','time':''};const _0xb8a590=new Date(_0x570790),_0x709542=_0xb8a590[_0x541096(0x2ed)]()[_0x541096(0x249)]('T')[0x0];switch(_0x258366){case l['LocaleType'][_0x541096(0x1de)]:return{'date':J(_0x709542,_0x258366),'time':_0xb8a590[_0x541096(0x35d)]()+':'+String(_0xb8a590['getMinutes']())[_0x541096(0x1b3)](0x2,'0')};default:return{'date':J(_0x709542,_0x258366),'time':_0xb8a590[_0x541096(0x35d)]()+':'+_0xb8a590[_0x541096(0x23f)]()};}},Ce=(_0xfb9952,_0x34c3ef)=>{const _0x20d069=_0xf48603,_0x4e9c83=_0xfb9952[_0x20d069(0x238)]||_0x34c3ef['t'](_0x20d069(0x371));if(_0xfb9952[_0x20d069(0x1a5)][_0x20d069(0x2fb)](_0x5e12e3=>_0x5e12e3===b[_0x20d069(0x2e2)]['id'])&&_0xfb9952['recoverTime']){const _0x263060=ee(_0xfb9952['recoverTime'],_0x34c3ef[_0x20d069(0x252)]()),_0x24ea02=_0x263060['date']+'\x20'+_0x263060[_0x20d069(0x307)];return _0x4e9c83+'\x20'+_0x34c3ef['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0x24ea02+'\x20'+_0x34c3ef['t'](_0x20d069(0x26f));}const _0x65d093=we(_0xfb9952),_0x5f4b7f=_0x65d093[_0x20d069(0x2fd)]===0x1?_0x34c3ef['t'](_0x65d093[0x0]):''+_0x34c3ef['t'](_0x65d093[0x0])+_0x34c3ef['t']('editHistory.action.etc');return _0x4e9c83+'\x20'+_0x5f4b7f;};function we(_0x326c08){const _0x272e58=_0xf48603;if(_0x326c08[_0x272e58(0x1a5)][_0x272e58(0x2fd)]===0x0)return[''];const _0x4fcd4e=_0x272e58(0x2fe),_0x1a0614=_0x4fcd4e+_0x272e58(0x3aa),_0x35f4f7=[{'id':b['CreateUnitMutation']['id'],'action':_0x4fcd4e+_0x272e58(0x33d)},{'id':b[_0x272e58(0x2e2)]['id'],'action':_0x4fcd4e+_0x272e58(0x279)},{'id':u[_0x272e58(0x383)]['id'],'action':_0x4fcd4e+_0x272e58(0x1f4)},{'id':u[_0x272e58(0x322)]['id'],'action':_0x4fcd4e+_0x272e58(0x1a4)},{'id':u[_0x272e58(0x28e)]['id'],'action':_0x4fcd4e+_0x272e58(0x36f)},{'id':le[_0x272e58(0x22e)]['id'],'action':_0x4fcd4e+_0x272e58(0x1ab)},{'id':K[_0x272e58(0x391)]['id'],'action':_0x4fcd4e+_0x272e58(0x2d6)},{'id':K[_0x272e58(0x2c8)]['id'],'action':_0x4fcd4e+_0x272e58(0x2d6)},{'id':Q[_0x272e58(0x224)]['id'],'action':_0x4fcd4e+_0x272e58(0x26d)},{'id':Q[_0x272e58(0x27b)]['id'],'action':_0x4fcd4e+_0x272e58(0x26d)},{'id':u[_0x272e58(0x2c6)]['id'],'action':_0x4fcd4e+_0x272e58(0x2a5)},{'id':u['AddRangeProtectionMutation']['id'],'action':_0x4fcd4e+_0x272e58(0x2a5)},{'id':Re['AddSheetSparklineMutation']['id'],'action':_0x4fcd4e+_0x272e58(0x31b)},{'id':u[_0x272e58(0x263)]['id'],'action':_0x4fcd4e+_0x272e58(0x262)},{'id':u[_0x272e58(0x21e)]['id'],'action':_0x4fcd4e+_0x272e58(0x262)}][_0x272e58(0x1bd)](_0x35dc89=>_0x326c08[_0x272e58(0x1a5)][_0x272e58(0x311)](_0x35dc89['id']));return _0x35f4f7!=null&&_0x35f4f7[_0x272e58(0x2fd)]?_0x35f4f7['map'](_0xc6012f=>_0xc6012f[_0x272e58(0x321)]):[_0x1a0614];}function J(_0x4d9ac6,_0x15bb5b){const _0xbd9fc=_0xf48603,[_0x1f212a,_0x4260cf,_0x559db0]=new Date()['toISOString']()[_0xbd9fc(0x249)]('T')[0x0]['split']('-'),[_0x503d58,_0x3fa660,_0x5d4e7c]=_0x4d9ac6[_0xbd9fc(0x249)]('-'),_0x76357d=_0x1f212a===_0x503d58&&_0x4260cf===_0x3fa660&&_0x559db0===_0x5d4e7c;let _0x1c47a8='',_0x5c79c7='',_0xa73354='';switch(_0x15bb5b){case l[_0xbd9fc(0x296)]['ZH_CN']:return _0x76357d?'今天':(_0x1c47a8=_0x1f212a===_0x503d58?'':_0x503d58+'年',_0x5c79c7=_0x3fa660+'月',_0xa73354=_0x5d4e7c+'日',''+_0x1c47a8+_0x5c79c7+_0xa73354);default:return _0x76357d?_0xbd9fc(0x2c9):(_0x1c47a8=_0x1f212a===_0x503d58?'':_0x503d58+'-',_0x5c79c7=_0x3fa660+'-',_0xa73354=''+_0x5d4e7c,''+_0x1c47a8+_0x5c79c7+_0xa73354);}}function Pe(_0x58e352){return _0x58e352?_0x58e352['reduce']((_0x5aa8e7,_0x4e47d6)=>{const _0x12e4c3=_0x4bf2,_0x5c8319=new Date(_0x4e47d6[_0x12e4c3(0x307)])[_0x12e4c3(0x2ed)]()[_0x12e4c3(0x249)]('T')[0x0];return _0x5aa8e7[_0x12e4c3(0x2fd)]>0x0&&_0x5aa8e7[_0x5aa8e7['length']-0x1]['dateString']===_0x5c8319?_0x5aa8e7[_0x5aa8e7[_0x12e4c3(0x2fd)]-0x1]['versions'][_0x12e4c3(0x2af)](_0x4e47d6):_0x5aa8e7['push']({'dateString':_0x5c8319,'versions':[_0x4e47d6]}),_0x5aa8e7;},[]):[];}var Te=Object[_0xf48603(0x314)],Le=(_0x385e79,_0x5baea0,_0x214bd8,_0x523ff6)=>{const _0x3f1f31=_0xf48603;for(var _0x5eaa39=_0x523ff6>0x1?void 0x0:_0x523ff6?Te(_0x5baea0,_0x214bd8):_0x5baea0,_0xab6c23=_0x385e79[_0x3f1f31(0x2fd)]-0x1,_0x23b409;_0xab6c23>=0x0;_0xab6c23--)(_0x23b409=_0x385e79[_0xab6c23])&&(_0x5eaa39=_0x23b409(_0x5eaa39)||_0x5eaa39);return _0x5eaa39;},w=(_0x59448b,_0x262a30)=>(_0x4cc429,_0x37c63d)=>_0x262a30(_0x4cc429,_0x37c63d,_0x59448b);const Ve=_0xf48603(0x207);function _0x3187(){const _0x4ca6d6=['UniverEditHistoryViewerPlugin','_diffs','.univer-app-container-content','parseProtocolChangeset','absolute','/universer-api/history','YUUMI_CONNECTOR_URL_NOT_FOUND','UNIVER_SHEET','showMask','subscribe','univer-text-2xl\x20dark:univer-text-white','append','_localeService','_getSheetObject','SetWorksheetActiveOperation','INTERNAL_ERROR','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','Disposable','ISnapshotServerService','ReorderRangeMutation','LICENSE_MAX_UNITS_EXCEEDED','getVersions','_updateDiffMarks','COMPLETION_FINISHED','Button','rect','SetColumnStyle','_initRender','DeleteWorksheetProtectionMutation','startRow','confirm','disposeWithMe','createUnit','entered','SetConditionalRuleMutation','onPointerMove$','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','_transformService','sheet','blockMeta','registerComponent','WorkbookRenameSheetPermission','data','color','SetSheetsFilterRangeMutation','getDeserializedSheetBlock','Error','DependentOn','currentVersion$','_updateVersions','_sidebarService','PivotTable','indexOf','RemoveNumfmtMutation','user','call','/list?length=20','defineProperty','position','1000','xlink:href','getMinutes','command','hideMask','subscribeEvent','none','&lastLabel=','pipe','history-mask','IPermissionService','_historyFetchService','split','entries','_compressMutationService','register','getUnitId','Module','MessageType','editHistory.panel.title','View','getCurrentLocale','blocks','CreatePermissionObject','display','#0B9EFB','exited','userId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','random','SNAPSHOT_HAS_BEEN_REMOVED','versions$','getMember','fill','_unitId$','SheetCollabCursorShape','propertyIsEnumerable','deleteProtection','DeleteRangeProtectionMutation','510853KtHaWz','Exited','_commandService','name','HTTPService','_versions$','row','getOwnPropertySymbols','subUnitId','setCF','YUUMI_UNABLE_LOAD_URL','editHistory.action.revertSheetSuffix','RecoverHistory','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentVersion','svg','column','SHEET_VIEWPORT_KEY','LoadingMultiIcon','_componentManager','startColumn','revertSheet','confirm-revert-revision','AddConditionalRuleMutation','0\x200\x2016\x2016','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','SelectProtectedCells','UNAUTHENTICATED','_loadingState$','getElementById','Export','YUUMI_NO_CUBOID_FOR_QUESTION','HistoryManagerService','active','WorkbookHideSheetPermission','SNAPSHOT_INVALID_SNAPSHOT','Copy','editHistory.panel.revertConfirm','628232MqkDfD','UNIVER_PROJECT','useObservable','center','SetFrozenMutation','InsertRow','clipPath','_maskElement','SetWorksheetHideMutation','Filter','borderBottomClassName','anonymous','LocaleType','RwHgtClWdt','triggerLoadVersions','dateString','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','userID','interceptor','currentVersionDiff$','clsx','DeleteColumn','YUUMI_ALL_TABLES_IS_INVALID','UniverSheetsUIPlugin','mutations','disposeUnit','Duplicate','addProtection','unitId$','top','loadSheet','COMPRESS_MUTATION_APPLY','createTime','_getActiveSubUnitId','USER_NOT_INVITED_CODE','setValue','colorChannel1','push','LOGIN_FAILED','BuiltInUIPart','getUnitOnRev','canRevert','SheetSkeletonManagerService','UNIVER_SLIDE','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','workbook','univer-animate-spin','restore-icon_clip0_1247_2','INVITE_CODE_REQUIRED','cellValue','_extractRanges','IConfigService','_initPanel','function','_hasMore','HideWorksheet','focusUnit','height','className','UNIVER_UNKNOWN','AddWorksheetProtectionMutation','APPLY_NON_SEQUENTIAL_REVISION','UpdateDataValidationMutation','Today','loadMoreVersions','UniverIcon','_removeDiffMarks','now','_getRangesByMutation','SetCellStyle','_init','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','APPLY_DUPLICATED','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','MoveSheet','style','setDV','has','InsertColMutation','_historyContainerId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','m1Prime','IConfirmService',':\x20(','editHistory.panel.currentVersion','UNDEFINED','defs','_combineRanges','RevertRevisionMutation','editHistory.panel.listFetchError','LICENSE_IMPORT_SIZE_EXCEEDED','history-panel','params','univer-flex\x20univer-items-center\x20univer-justify-center','INVITE_CODE_ALREADY_BOUND','YUUMI_ASYNCIO_CANCELLED','setState','getCurrentVersion','3477652YidBvs','toISOString','DisposableCollection','1em','editHistory.info.loading','MoveColsMutation','left','Loading','IImageIoService','versions','useDependency','_uiPartsService','from','forValue','pluginName','some','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','length','editHistory.action.','div','ObjectMatrix','Print','unitId','TOO_MANY_REQUESTS','attrs','useState','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','time','HistoryModeStatus','white','ICellEditorManagerService','displayName','http://www.w3.org/2000/svg','setConfig','CreateWorksheet','RenameWorksheet','set','includes','entities','jsx','getOwnPropertyDescriptor','block','_fetching','152007IslFSx','_renderManagerService','Info','rgba(58,\x2096,\x20247,\x200.20)','addSparkline','getDialogs$','CollaborationImageIoService','_messageService','isArray','_currentVersion$','action','RemoveSheetMutation','100%','endRevision','assign','evenodd','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','dispose','_openPanel','INVALID_ARGUMENT','width','_cellEditorManagerService','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','DeleteWorksheet','idSuffix','univerjs-icon\x20univerjs-icon-','BackIcon','APPLY_REVISION_CONFILICT','editHistory.panel.revertDesc','WorkbookMoveSheetPermission','loadingState','_sidebarDisposable','children','debounce','triggerLoadSheet','historyListServerUrl','mask','createSheet','UniverInstanceType','parse','BehaviorSubject','FloatImg','value','ICommandService','ComponentManager','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','12falGag','flex','span','_transformMutationByOrder','EMAIL_VERIFY_CODE_MISMATCH','_initActiveSwitch','Loaded','EMAIL_HAS_BEEN_BOUND','HideSheet','_createMask','all','Injector','prototype','univer-text-gray-500','SetNumfmtMutation','state$','currentSkeleton$','onRendered','defIds','findAllRectangle','zIndex','primary','LocaleService','getHours','error','InsertHyperlink','_revertRevision$','loadingState$','_maskContainer','IUniverInstanceService','permissionPointUpdate$','add','jsxs','Fragment','icon','Plugin','VIEW_MAIN','MoveWorksheet','justifyContent','Tooltip','FromArray','setFrozen','status','editHistory.panel.unknownUser','syncExecuteCommand','CHANGESET_REVISION_CONFILICT','rule','debounceTime','PERMISSION_DENIED','scrollEvent$','UNRECOGNIZED','ensureVersion','YUUMI_SUBSCRIPTION_NOT_FOUND','MoveRowsMutation','isTransformMutationsSuccess','endColumn','triggerRevert','Vector2','stopPropagation','2009308pDlGLR','editHistory.panel.revertConfirmText','InsertSheetMutation','InsertRowMutation','executeCommand','getAncestorScale','SelectUnProtectedCells','transformMutations','_httpService','RenameSheet','Edit','substring','YUUMI_AI_RUN_FAILED','_canRevert','CopySheet','Sort','AddDataValidationMutation','currentColor','ViewFilter','_diffRangesMap','_currentVersionDiff$','revertRevision$','ManageCollaborator','edit-history-viewer.config','_univerInstanceService','use','_lastLabel','ITransformService','init','concat','makeDirty','recoverTime','LICENSE_DISTRO_REJECTED','rgba(225,\x20225,\x20225,\x200.5)','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','_dialogOptions$','_snapshotServerService','IDialogService','IRenderManagerService','range','hasOwnProperty','editSheet','CompressMutationService','Comment','IMessageService','SetRowStyle','createElement','editHistory.header.revert','connectInjector','map','SnapshotServerOverHTTPService','code','loaded','_createUnit','MOBILE_VERIFY_CODE_MISMATCH','_lastPointer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasCommand','removeSheet','commands','2572610GkVejk','string','getConfig','_confirmService','fetchMissingChangesets','setFilter','getSheetObject','_sheetSkeletonManagerService','forEach','addObjects','ViewHistory','getCellPositionByOffset','SetWorksheetStyle','padStart','fetchThroughInterceptors','_members','RestoreIcon','_initMaskContainer','values','_workbookDataCache','APPLY_PERMISSION_DENIED','rev','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','filter','Share','INVALID_INVITE_CODE','extend','_configService','ISidebarService','updatePermissionPoint','NOT_FOUND','DeleteSheet','_injector','_status$','_permissionService','keys','_getAPIPrefix','show','onMouseMove','_context','endRev','rules','Delete','InsertColumn','get','501714vMRMfk','CreateSheet','merge','useRef','_versionDiffService','27teNYqg','path','startRevision','querySelector','ALREADY_EXISTS','DeleteRow','ZH_CN','flat','onStarting','forwardRef','YUUMI_URL_COL_OUT_OF_RANGE','LICENSE_EXPORT_SIZE_EXCEEDED','tag','combineLatest','PY_RUNTIME_SCRIPT_ERROR','YUUMI_RATE_OVER_LIMIT','_config','loading','getCoordByCell','ranges','getVersion','restore-icon','MOBILE_HAS_BEEN_BOUND','next','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','Init','clear','url(#$1','insertSheet','Entered','useCallback','_historyManagerService','SetRangeValuesMutation','SetCellValue','EditWorksheetCell','Inject','UNIVER_DOC','endRow','EditExtraObject','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','subType','asObservable'];_0x3187=function(){return _0x4ca6d6;};return _0x3187();}let F=class extends l[_0xf48603(0x213)]{constructor(_0x5ac1ea,_0x1005c5,_0xf2c821,_0x50c612,_0x205a20,_0x109cde){const _0x4d8d5e=_0xf48603;super(),_(this,_0x4d8d5e(0x1b9),new Map()),(this[_0x4d8d5e(0x3a5)]=_0x5ac1ea,this[_0x4d8d5e(0x399)]=_0x1005c5,this['_commandService']=_0xf2c821,this[_0x4d8d5e(0x1c1)]=_0x50c612,this['_httpService']=_0x205a20,this[_0x4d8d5e(0x24b)]=_0x109cde);}[_0xf48603(0x328)](){const _0x4ab507=_0xf48603;this['_workbookDataCache'][_0x4ab507(0x1f2)](),super[_0x4ab507(0x328)]();}async[_0xf48603(0x217)](_0x4226fa,_0xcd7017){const _0x8cc8fe=_0xf48603,_0x265d81=this[_0x8cc8fe(0x1ca)]()+'/'+_0x4226fa+_0x8cc8fe(0x23a)+(_0xcd7017?_0x8cc8fe(0x244)+_0xcd7017:'');try{const _0x11b331=(await this[_0x8cc8fe(0x389)][_0x8cc8fe(0x1d2)](_0x265d81))['body'];if(_0x11b331&&_0x11b331[_0x8cc8fe(0x35e)]&&_0x11b331[_0x8cc8fe(0x35e)][_0x8cc8fe(0x19d)]===A['OK']){const {hasMore:_0x10d015,lastLabel:_0x128b09}=_0x11b331,_0xc4ed34=$e(_0x11b331),_0x605aa3=_0x11b331[_0x8cc8fe(0x312)]['users'];return{'hasMore':_0x10d015,'lastLabel':_0x128b09,'versions':_0xc4ed34,'members':_0x605aa3};}}catch(_0x39b478){console[_0x8cc8fe(0x35e)](_0x39b478);}return null;}[_0xf48603(0x1ca)](){const _0x9590=_0xf48603;var _0x15d7b4;const _0x32ef60=this[_0x9590(0x1c1)][_0x9590(0x1a8)](ue);return(_0x15d7b4=_0x32ef60==null?void 0x0:_0x32ef60[_0x9590(0x33b)])!=null?_0x15d7b4:Ve;}async[_0xf48603(0x2a8)](_0x5834f2,_0x1bc975,_0x1523e0){const _0x31baa3=_0xf48603;var _0x4a4f63,_0xbf8c46;_0x1523e0===void 0x0&&(_0x1523e0={}),this[_0x31baa3(0x1b9)][_0x31baa3(0x2d7)](_0x5834f2)||this[_0x31baa3(0x1b9)][_0x31baa3(0x310)](_0x5834f2,new Map());const {snapshot:_0x5ce046,changesets:_0x5908c4,error:_0x2f39b4}=await this[_0x31baa3(0x3a5)][_0x31baa3(0x2b2)](_0x1523e0,{'unitID':_0x5834f2,'type':j[_0x31baa3(0x209)],'revision':_0x1bc975});if(ye(_0x2f39b4)||!_0x5ce046||!_0x5ce046[_0x31baa3(0x2b7)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x2cab59=(_0x4a4f63=_0x5908c4==null?void 0x0:_0x5908c4['length'])!=null?_0x4a4f63:0x0;if(_0x1bc975!==0x0&&_0x5ce046[_0x31baa3(0x1bb)]+_0x2cab59!==_0x1bc975)throw new Error(_0x31baa3(0x2d3));const {workbook:_0x550e95}=_0x5ce046,_0x8b96fd=_0x550e95[_0x31baa3(0x229)]?Object[_0x31baa3(0x24a)](_0x550e95['blockMeta'])[_0x31baa3(0x19b)](([_0xdaec84,_0x140e07])=>{const _0x2cc30e=_0x31baa3;var _0xa5f8cb,_0x3986fe;return(_0x3986fe=(_0xa5f8cb=_0x140e07[_0x2cc30e(0x253)])==null?void 0x0:_0xa5f8cb[_0x2cc30e(0x19b)](_0x49f50a=>_0x49f50a))!=null?_0x3986fe:[];})['flat']():[],_0x72c3ff=(await Promise[_0x31baa3(0x350)](_0x8b96fd['map'](_0x37be06=>this[_0x31baa3(0x3a5)][_0x31baa3(0x22f)](_0x1523e0,{'unitID':_0x5834f2,'type':j[_0x31baa3(0x209)],'blockID':_0x37be06})['then'](_0x22fff4=>_0x22fff4[_0x31baa3(0x315)]))))[_0x31baa3(0x1bd)](_0x41190c=>!!_0x41190c),_0x3927af=b['transformSnapshotToWorkbookData'](_0x5ce046,_0x72c3ff,_0x1523e0);return(_0xbf8c46=this[_0x31baa3(0x1b9)][_0x31baa3(0x1d2)](_0x5834f2))==null||_0xbf8c46[_0x31baa3(0x310)](_0x1bc975,{'workbook':_0x3927af}),new Promise(_0x1e9a65=>{const _0x240870=_0x31baa3,_0x162bc7=this[_0x240870(0x399)]['getCurrentUnitForType'](l[_0x240870(0x33e)]['UNIVER_SHEET']);_0x162bc7?(this[_0x240870(0x399)][_0x240870(0x2a3)](_0x162bc7[_0x240870(0x24d)]()),setTimeout(()=>{const _0x163bea=_0x240870;this[_0x163bea(0x19f)](_0x3927af,_0x5908c4),_0x1e9a65(!0x0);},0x0)):(this[_0x240870(0x19f)](_0x3927af,_0x5908c4),_0x1e9a65(!0x0));});}[_0xf48603(0x19f)](_0x25dd4d,_0x28f668){const _0x222f52=_0xf48603,_0x3e702f=this[_0x222f52(0x399)][_0x222f52(0x222)](l[_0x222f52(0x33e)][_0x222f52(0x209)],_0x25dd4d);this[_0x222f52(0x399)][_0x222f52(0x2c2)](_0x3e702f[_0x222f52(0x24d)]());const _0x729420=this[_0x222f52(0x24b)][_0x222f52(0x29c)][_0x222f52(0x1b4)](this[_0x222f52(0x24b)][_0x222f52(0x29c)]['getInterceptPoints']()[_0x222f52(0x2a9)]);return _0x28f668==null||_0x28f668[_0x222f52(0x1ae)](_0x1defd7=>{const _0x3ec744=_0x222f52,_0x5c0f17=_0x1defd7[_0x3ec744(0x2a2)][_0x3ec744(0x19b)](_0x2629e6=>({'id':_0x2629e6['id'],'params':JSON[_0x3ec744(0x33f)](_0x2629e6[_0x3ec744(0x22c)])}));({..._0x1defd7,'mutations':_0x729420(_0x5c0f17,null)||_0x5c0f17}['mutations'][_0x3ec744(0x1ae)](_0x360650=>{const _0x19adbd=_0x3ec744;this[_0x19adbd(0x266)][_0x19adbd(0x1a3)](_0x360650['id'])&&this[_0x19adbd(0x266)][_0x19adbd(0x372)](_0x360650['id'],_0x360650['params']);}));}),_0x3e702f;}};F=Le([w(0x0,b[_0xf48603(0x214)]),w(0x1,l[_0xf48603(0x363)]),w(0x2,l[_0xf48603(0x343)]),w(0x3,l[_0xf48603(0x2bd)]),w(0x4,l[_0xf48603(0x1fb)](ce[_0xf48603(0x268)])),w(0x5,l['Inject'](b[_0xf48603(0x3ab)]))],F);function $e(_0x3ff355){const _0x3abd4e=_0xf48603;var _0x4ec63d,_0x2861a4;const _0x363ed8=[],{entities:_0x1b39aa,historyIds:_0x2dcfbf}=_0x3ff355,{datas:_0x562a22,users:_0x454649}=_0x1b39aa;for(const _0x55db89 of _0x2dcfbf)if(_0x562a22[_0x55db89]){const _0x48140b=!!((_0x4ec63d=_0x454649[_0x562a22[_0x55db89][_0x3abd4e(0x258)]])!=null&&_0x4ec63d[_0x3abd4e(0x295)]);_0x363ed8[_0x3abd4e(0x2af)]({'unitId':_0x562a22[_0x55db89][_0x3abd4e(0x302)],'user':_0x48140b?'':((_0x2861a4=_0x454649==null?void 0x0:_0x454649[_0x562a22[_0x55db89][_0x3abd4e(0x258)]])==null?void 0x0:_0x2861a4[_0x3abd4e(0x267)])||'','isAnonymous':_0x48140b,'id':_0x55db89,'time':_0x562a22[_0x55db89][_0x3abd4e(0x2aa)]?Number(_0x562a22[_0x55db89][_0x3abd4e(0x2aa)]):void 0x0,'commands':_0x562a22[_0x55db89][_0x3abd4e(0x240)],'startRev':Number(_0x562a22[_0x55db89][_0x3abd4e(0x1da)]),'endRev':Number(_0x562a22[_0x55db89][_0x3abd4e(0x324)]),'recoverTime':_0x562a22[_0x55db89]['recoverTime']?Number(_0x562a22[_0x55db89][_0x3abd4e(0x3a0)]):void 0x0});}return _0x363ed8;}var xe=Object['getOwnPropertyDescriptor'],ke=(_0x385d93,_0x2800e3,_0x448328,_0x472ab8)=>{const _0x3beda6=_0xf48603;for(var _0x2ad8e5=_0x472ab8>0x1?void 0x0:_0x472ab8?xe(_0x2800e3,_0x448328):_0x2800e3,_0xfbd3fd=_0x385d93[_0x3beda6(0x2fd)]-0x1,_0xb2ffa5;_0xfbd3fd>=0x0;_0xfbd3fd--)(_0xb2ffa5=_0x385d93[_0xfbd3fd])&&(_0x2ad8e5=_0xb2ffa5(_0x2ad8e5)||_0x2ad8e5);return _0x2ad8e5;},k=(_0x34cb3d,_0x1ac047)=>(_0xe9fd57,_0x689dc9)=>_0x1ac047(_0xe9fd57,_0x689dc9,_0x34cb3d),W=(_0x2c9e27=>(_0x2c9e27[_0xf48603(0x1f5)]=_0xf48603(0x223),_0x2c9e27[_0xf48603(0x265)]=_0xf48603(0x257),_0x2c9e27[_0xf48603(0x230)]=_0xf48603(0x35e),_0x2c9e27))(W||{}),V=(_0x375a4a=>(_0x375a4a[_0xf48603(0x1f1)]=_0xf48603(0x39d),_0x375a4a['Loading']=_0xf48603(0x1e9),_0x375a4a[_0xf48603(0x34c)]=_0xf48603(0x19e),_0x375a4a))(V||{});const Ue='VIRTUAL_VERSION_NOW';exports[_0xf48603(0x284)]=class extends l[_0xf48603(0x213)]{constructor(_0x5acc1a,_0x324c9f,_0x2f6965,_0x3460e2){const _0x2a87a0=_0xf48603;super(),_(this,_0x2a87a0(0x269),new E[(_0x2a87a0(0x340))]([])),_(this,_0x2a87a0(0x25c),this[_0x2a87a0(0x269)][_0x2a87a0(0x201)]()),_(this,'_currentVersion$',new E[(_0x2a87a0(0x340))]('')),_(this,_0x2a87a0(0x232),this['_currentVersion$'][_0x2a87a0(0x201)]()),_(this,_0x2a87a0(0x1c7),new E[(_0x2a87a0(0x340))](_0x2a87a0(0x223))),_(this,'status$',this[_0x2a87a0(0x1c7)][_0x2a87a0(0x201)]()),_(this,_0x2a87a0(0x360),new E[(_0x2a87a0(0x340))](0x0)),_(this,_0x2a87a0(0x396),this[_0x2a87a0(0x360)]['asObservable']()),_(this,_0x2a87a0(0x25f),new E[(_0x2a87a0(0x340))]('')),_(this,_0x2a87a0(0x2a6),this[_0x2a87a0(0x25f)][_0x2a87a0(0x201)]()),_(this,_0x2a87a0(0x316),!0x1),_(this,_0x2a87a0(0x280),new E['BehaviorSubject']('init')),_(this,_0x2a87a0(0x361),this[_0x2a87a0(0x280)]['asObservable']()),_(this,_0x2a87a0(0x39b),null),_(this,_0x2a87a0(0x2c0),!0x0),_(this,_0x2a87a0(0x1b5),new Map()),_(this,_0x2a87a0(0x2d9)),_(this,_0x2a87a0(0x362)),_(this,_0x2a87a0(0x291)),_(this,'_canRevert',!0x1),(this[_0x2a87a0(0x31e)]=_0x5acc1a,this[_0x2a87a0(0x1a9)]=_0x324c9f,this[_0x2a87a0(0x20e)]=_0x2f6965,this[_0x2a87a0(0x248)]=_0x3460e2);}async[_0xf48603(0x298)](_0x110f41,_0x42717a,_0x4787d5){const _0x163586=_0xf48603;this[_0x163586(0x2d9)]=_0x42717a,this[_0x163586(0x38e)]=_0x4787d5,this[_0x163586(0x25f)][_0x163586(0x1ef)](_0x110f41),this['_fetching']=!0x0;const _0x2bf3c0=await this[_0x163586(0x248)][_0x163586(0x217)](_0x110f41);if(this['_fetching']=!0x1,_0x2bf3c0){const {versions:_0x2b4b32,lastLabel:_0x3e763e,hasMore:_0x1e6a80,members:_0x4d1836}=_0x2bf3c0;_0x2b4b32[_0x163586(0x2fd)]===0x0&&_0x2b4b32[_0x163586(0x2af)]({'unitId':_0x110f41,'id':Ue,'startRev':0x1,'endRev':0x0,'time':Date[_0x163586(0x2cd)](),'user':this[_0x163586(0x20e)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x2b4b32,_0x1e6a80,_0x3e763e,_0x4d1836),this[_0x163586(0x320)][_0x163586(0x1ef)](_0x2b4b32[0x0]['id']);}else this['_status$'][_0x163586(0x1ef)](_0x163586(0x35e));}async[_0xf48603(0x2ca)](){const _0x16f619=_0xf48603;if(!this[_0x16f619(0x39b)]||!this['_hasMore']||this[_0x16f619(0x316)])return!0x1;this['_fetching']=!0x0;const _0x5d598f=await this['_historyFetchService'][_0x16f619(0x217)](this['unitId'],this[_0x16f619(0x39b)]);if(this[_0x16f619(0x316)]=!0x1,_0x5d598f){const {versions:_0x42f01f,lastLabel:_0x31f611,hasMore:_0x389c46,members:_0x24fce3}=_0x5d598f;this[_0x16f619(0x233)](_0x42f01f,_0x389c46,_0x31f611,_0x24fce3);}else this[_0x16f619(0x31e)][_0x16f619(0x1cb)]({'content':this['_localeService']['t'](_0x16f619(0x2e3)),'type':C['MessageType'][_0x16f619(0x230)],'duration':0xbb8});return!0x0;}async[_0xf48603(0x33a)](_0x418eb8){const _0x32a652=_0xf48603;var _0x395816;const _0x107714=(_0x395816=this[_0x32a652(0x269)]['value'])==null?void 0x0:_0x395816['find'](_0x2db747=>_0x2db747['id']===_0x418eb8),{endRev:_0x3bc560}=_0x107714||{};_0x3bc560||_0x3bc560===0x0?(this['_loadingState$'][_0x32a652(0x1ef)](_0x32a652(0x1e9)),await this[_0x32a652(0x248)][_0x32a652(0x2a8)](this['unitId'],_0x3bc560),this[_0x32a652(0x280)][_0x32a652(0x1ef)](_0x32a652(0x19e))):this[_0x32a652(0x1c7)][_0x32a652(0x1ef)](_0x32a652(0x35e));}async[_0xf48603(0x37e)](_0x4aef36){const _0x484dc2=_0xf48603,_0x55579f=_0x4aef36?this[_0x484dc2(0x1ec)](_0x4aef36):this[_0x484dc2(0x2eb)]();if(!_0x55579f)return;const _0x515674=_0x55579f[_0x484dc2(0x1ce)],_0x36dafe=ee(_0x55579f[_0x484dc2(0x307)],this['_localeService'][_0x484dc2(0x252)]());await this[_0x484dc2(0x1a9)][_0x484dc2(0x220)]({'id':_0x484dc2(0x27a),'title':{'title':this[_0x484dc2(0x20e)]['t'](_0x484dc2(0x289))},'children':{'title':this[_0x484dc2(0x20e)]['t'](_0x484dc2(0x382))+_0x484dc2(0x2dd)+_0x36dafe['date']+'\x20'+_0x36dafe[_0x484dc2(0x307)]+')'},'cancelText':this[_0x484dc2(0x20e)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x484dc2(0x20e)]['t']('editHistory.panel.confirm')})&&this[_0x484dc2(0x360)][_0x484dc2(0x1ef)](_0x515674);}['_updateVersions'](_0x1226ba,_0x2b86fb,_0xdd8e09,_0x5cddb1){const _0x860464=_0xf48603;this[_0x860464(0x269)][_0x860464(0x1ef)](this[_0x860464(0x269)][_0x860464(0x342)][_0x860464(0x39e)](_0x1226ba)),this[_0x860464(0x2c0)]=_0x2b86fb,this[_0x860464(0x39b)]=_0xdd8e09,_0x5cddb1&&Object[_0x860464(0x1c9)](_0x5cddb1)[_0x860464(0x1ae)](_0xaed5ce=>this[_0x860464(0x1b5)][_0x860464(0x310)](_0xaed5ce,_0x5cddb1[_0xaed5ce]));}[_0xf48603(0x2eb)](){const _0x352b63=_0xf48603;return this[_0x352b63(0x1ec)](this[_0x352b63(0x320)]['value']);}[_0xf48603(0x1ec)](_0x563ea8){const _0x16a8f7=_0xf48603;var _0x5ac904;return(_0x5ac904=this[_0x16a8f7(0x269)][_0x16a8f7(0x342)])==null?void 0x0:_0x5ac904['find'](_0x34aebd=>_0x34aebd['id']===_0x563ea8);}['getMember'](_0x28d47b){const _0x20231f=_0xf48603;return this[_0x20231f(0x1b5)]['get'](_0x28d47b);}[_0xf48603(0x34f)](){const _0x18ceaf=_0xf48603;this[_0x18ceaf(0x291)]=document[_0x18ceaf(0x198)](_0x18ceaf(0x2ff)),this[_0x18ceaf(0x291)]['className']=_0x18ceaf(0x246),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x23c)]=_0x18ceaf(0x206),this[_0x18ceaf(0x291)]['style'][_0x18ceaf(0x2a7)]='0',this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x2f2)]='0',this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x32b)]=_0x18ceaf(0x323),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x2c3)]=_0x18ceaf(0x323),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)]['backgroundColor']=_0x18ceaf(0x3a2),this[_0x18ceaf(0x291)]['style'][_0x18ceaf(0x22d)]=_0x18ceaf(0x309),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)]['display']=_0x18ceaf(0x347),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x36c)]=_0x18ceaf(0x28d),this[_0x18ceaf(0x291)][_0x18ceaf(0x2d5)][_0x18ceaf(0x35a)]=_0x18ceaf(0x23d),this[_0x18ceaf(0x291)]['style'][_0x18ceaf(0x255)]=_0x18ceaf(0x243),this['_maskContainer'][_0x18ceaf(0x20d)](this[_0x18ceaf(0x291)]);}[_0xf48603(0x1b7)](){const _0x3ac3f9=_0xf48603;var _0x58aba3;const _0x299dc8=(_0x58aba3=document[_0x3ac3f9(0x281)](this['_historyContainerId']))==null?void 0x0:_0x58aba3[_0x3ac3f9(0x1db)](_0x3ac3f9(0x204));_0x299dc8&&(this['_maskContainer']=_0x299dc8,this[_0x3ac3f9(0x34f)]());}['showMask'](){const _0x3d549f=_0xf48603;this[_0x3d549f(0x362)]||this[_0x3d549f(0x1b7)](),this[_0x3d549f(0x291)]&&(this['_maskElement'][_0x3d549f(0x2d5)][_0x3d549f(0x255)]=_0x3d549f(0x347));}['hideMask'](){const _0x11634c=_0xf48603;this[_0x11634c(0x291)]&&(this[_0x11634c(0x291)][_0x11634c(0x2d5)][_0x11634c(0x255)]=_0x11634c(0x243));}set[_0xf48603(0x370)](_0x4f8c66){this['_status$']['next'](_0x4f8c66);}set[_0xf48603(0x272)](_0x27107c){const _0x338ce4=_0xf48603;_0x27107c!==this['_currentVersion$']['value']&&this[_0x338ce4(0x320)][_0x338ce4(0x1ef)](_0x27107c);}get['currentVersion'](){const _0xa7334f=_0xf48603;return this[_0xa7334f(0x320)]['value'];}set[_0xf48603(0x302)](_0x9507ad){const _0x3d7447=_0xf48603;this[_0x3d7447(0x25f)][_0x3d7447(0x1ef)](_0x9507ad);}get['unitId'](){const _0x38f272=_0xf48603;return this[_0x38f272(0x25f)]['value'];}get[_0xf48603(0x2b3)](){return this['_canRevert'];}get['loadingState'](){const _0x39f5f5=_0xf48603;return this[_0x39f5f5(0x280)][_0x39f5f5(0x342)];}},exports[_0xf48603(0x284)]=ke([k(0x0,I['IMessageService']),k(0x1,I[_0xf48603(0x2dc)]),k(0x2,l[_0xf48603(0x1fb)](l[_0xf48603(0x35c)])),k(0x3,l['Inject'](F))],exports[_0xf48603(0x284)]);var R=function(){const _0x11ef16=_0xf48603;return R=Object[_0x11ef16(0x325)]||function(_0x371cd0){const _0x1b8914=_0x11ef16;for(var _0x486357,_0x2c13d9=0x1,_0x156389=arguments[_0x1b8914(0x2fd)];_0x2c13d9<_0x156389;_0x2c13d9++){_0x486357=arguments[_0x2c13d9];for(var _0x4e0a3c in _0x486357)Object[_0x1b8914(0x352)][_0x1b8914(0x3a9)][_0x1b8914(0x239)](_0x486357,_0x4e0a3c)&&(_0x371cd0[_0x4e0a3c]=_0x486357[_0x4e0a3c]);}return _0x371cd0;},R['apply'](this,arguments);},He=function(_0xa2b991,_0x5ee547){const _0x12e79a=_0xf48603;var _0x2fa4d6={};for(var _0x5b6313 in _0xa2b991)Object[_0x12e79a(0x352)][_0x12e79a(0x3a9)][_0x12e79a(0x239)](_0xa2b991,_0x5b6313)&&_0x5ee547[_0x12e79a(0x236)](_0x5b6313)<0x0&&(_0x2fa4d6[_0x5b6313]=_0xa2b991[_0x5b6313]);if(_0xa2b991!=null&&typeof Object[_0x12e79a(0x26b)]==_0x12e79a(0x2bf)){for(var _0x1cfea9=0x0,_0x5b6313=Object['getOwnPropertySymbols'](_0xa2b991);_0x1cfea9<_0x5b6313[_0x12e79a(0x2fd)];_0x1cfea9++)_0x5ee547['indexOf'](_0x5b6313[_0x1cfea9])<0x0&&Object[_0x12e79a(0x352)][_0x12e79a(0x261)][_0x12e79a(0x239)](_0xa2b991,_0x5b6313[_0x1cfea9])&&(_0x2fa4d6[_0x5b6313[_0x1cfea9]]=_0xa2b991[_0x5b6313[_0x1cfea9]]);}return _0x2fa4d6;},X=m['forwardRef'](function(_0x3ea97c,_0x41ce6f){const _0x553381=_0xf48603;var _0x1010bd=_0x3ea97c[_0x553381(0x368)],_0x15d290=_0x3ea97c['id'],_0x3acd26=_0x3ea97c[_0x553381(0x2c4)],_0x5e3a8d=_0x3ea97c[_0x553381(0x1c0)],_0x106f1e=He(_0x3ea97c,[_0x553381(0x368),'id','className',_0x553381(0x1c0)]),_0x1f83bb=_0x553381(0x331)[_0x553381(0x39e)](_0x15d290,'\x20')[_0x553381(0x39e)](_0x3acd26||'')['trim'](),_0x179fa3=m[_0x553381(0x1d6)]('_'[_0x553381(0x39e)](Be()));return _e(_0x1010bd,''[_0x553381(0x39e)](_0x15d290),{'defIds':_0x1010bd['defIds'],'idSuffix':_0x179fa3['current']},R({'ref':_0x41ce6f,'className':_0x1f83bb},_0x106f1e),_0x5e3a8d);});function _e(_0xf4c9f8,_0x1a6348,_0x27b31b,_0x391563,_0x49c48d){const _0x143122=_0xf48603;return m[_0x143122(0x198)](_0xf4c9f8['tag'],R(R({'key':_0x1a6348},je(_0xf4c9f8,_0x27b31b,_0x49c48d)),_0x391563),(Fe(_0xf4c9f8,_0x27b31b)['children']||[])[_0x143122(0x19b)](function(_0x1cfd51,_0x2dacb5){const _0x52ebbb=_0x143122;return _e(_0x1cfd51,''[_0x52ebbb(0x39e)](_0x1a6348,'-')[_0x52ebbb(0x39e)](_0xf4c9f8[_0x52ebbb(0x1e4)],'-')['concat'](_0x2dacb5),_0x27b31b,void 0x0,_0x49c48d);}));}function je(_0x36bc65,_0x2073b9,_0x396dd2){const _0x2ed45a=_0xf48603;var _0x282723=R({},_0x36bc65['attrs']);_0x396dd2!=null&&_0x396dd2['colorChannel1']&&_0x282723[_0x2ed45a(0x25e)]===_0x2ed45a(0x2ae)&&(_0x282723[_0x2ed45a(0x25e)]=_0x396dd2[_0x2ed45a(0x2ae)]),_0x36bc65[_0x2ed45a(0x1e4)]==='mask'&&_0x282723['id']&&(_0x282723['id']=_0x282723['id']+_0x2073b9['idSuffix']),Object['entries'](_0x282723)[_0x2ed45a(0x1ae)](function(_0x234658){const _0x1606e7=_0x2ed45a;var _0x4e3218=_0x234658[0x0],_0x482b92=_0x234658[0x1];_0x4e3218===_0x1606e7(0x33c)&&typeof _0x482b92==_0x1606e7(0x1a7)&&(_0x282723[_0x4e3218]=_0x482b92['replace'](/url\(#(.*)\)/,_0x1606e7(0x1f3)[_0x1606e7(0x39e)](_0x2073b9[_0x1606e7(0x330)],')')));});var _0x27d6af=_0x2073b9['defIds'];return!_0x27d6af||_0x27d6af[_0x2ed45a(0x2fd)]===0x0||(_0x36bc65[_0x2ed45a(0x1e4)]===_0x2ed45a(0x39a)&&_0x282723[_0x2ed45a(0x23e)]&&(_0x282723[_0x2ed45a(0x23e)]=_0x282723[_0x2ed45a(0x23e)]+_0x2073b9[_0x2ed45a(0x330)]),Object[_0x2ed45a(0x24a)](_0x282723)['forEach'](function(_0x32dde8){const _0x4999c6=_0x2ed45a;var _0x23e1e3=_0x32dde8[0x0],_0xe26732=_0x32dde8[0x1];typeof _0xe26732=='string'&&(_0x282723[_0x23e1e3]=_0xe26732['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4999c6(0x39e)](_0x2073b9[_0x4999c6(0x330)],')')));})),_0x282723;}function _0x4bf2(_0x59f27d,_0x10dd48){const _0x3187ca=_0x3187();return _0x4bf2=function(_0x4bf237,_0x24f4b0){_0x4bf237=_0x4bf237-0x198;let _0x3cfb97=_0x3187ca[_0x4bf237];return _0x3cfb97;},_0x4bf2(_0x59f27d,_0x10dd48);}function Fe(_0x517d9a,_0x5d2e59){const _0xe731e4=_0xf48603;var _0x35a806,_0x2135c5=_0x5d2e59[_0xe731e4(0x358)];return!_0x2135c5||_0x2135c5[_0xe731e4(0x2fd)]===0x0?_0x517d9a:_0x517d9a[_0xe731e4(0x1e4)]===_0xe731e4(0x2e0)&&(!((_0x35a806=_0x517d9a['children'])===null||_0x35a806===void 0x0)&&_0x35a806[_0xe731e4(0x2fd)])?R(R({},_0x517d9a),{'children':_0x517d9a[_0xe731e4(0x338)]['map'](function(_0x3d887b){const _0x38c6de=_0xe731e4;return typeof _0x3d887b[_0x38c6de(0x304)]['id']==_0x38c6de(0x1a7)&&_0x2135c5&&_0x2135c5[_0x38c6de(0x311)](_0x3d887b['attrs']['id'])?R(R({},_0x3d887b),{'attrs':R(R({},_0x3d887b[_0x38c6de(0x304)]),{'id':_0x3d887b[_0x38c6de(0x304)]['id']+_0x5d2e59['idSuffix']})}):_0x3d887b;})}):_0x517d9a;}function Be(){const _0x2ced91=_0xf48603;return Math[_0x2ced91(0x25a)]()['toString'](0x24)[_0x2ced91(0x38c)](0x2,0x8);}X[_0xf48603(0x30b)]=_0xf48603(0x2cb);var Ye={'tag':_0xf48603(0x273),'attrs':{'xmlns':_0xf48603(0x30c),'fill':_0xf48603(0x243),'viewBox':_0xf48603(0x27c),'width':_0xf48603(0x2ef),'height':_0xf48603(0x2ef)},'children':[{'tag':'path','attrs':{'fill':_0xf48603(0x392),'d':_0xf48603(0x1ff)}}]},he=m['forwardRef'](function(_0x23fff7,_0x422437){const _0x3c47de=_0xf48603;return m[_0x3c47de(0x198)](X,Object[_0x3c47de(0x325)]({},_0x23fff7,{'id':'back-icon','ref':_0x422437,'icon':Ye}));});he[_0xf48603(0x30b)]=_0xf48603(0x332);var Ae={'tag':_0xf48603(0x273),'attrs':{'xmlns':_0xf48603(0x30c),'fill':'none','viewBox':_0xf48603(0x27c),'width':'1em','height':'1em'},'children':[{'tag':_0xf48603(0x1d9),'attrs':{'fill':_0xf48603(0x256),'d':_0xf48603(0x1f0),'fillOpacity':0.2,'fillRule':_0xf48603(0x326),'clipRule':'evenodd'}},{'tag':_0xf48603(0x1d9),'attrs':{'fill':_0xf48603(0x256),'d':_0xf48603(0x2fc),'fillRule':_0xf48603(0x326),'clipRule':'evenodd'}}]},te=m[_0xf48603(0x1e1)](function(_0x5a4a05,_0x2383a4){const _0xcc4ce6=_0xf48603;return m[_0xcc4ce6(0x198)](X,Object['assign']({},_0x5a4a05,{'id':'loading-multi-icon','ref':_0x2383a4,'icon':Ae}));});te[_0xf48603(0x30b)]=_0xf48603(0x276);var We={'tag':_0xf48603(0x273),'attrs':{'xmlns':_0xf48603(0x30c),'fill':_0xf48603(0x243),'viewBox':'0\x200\x2016\x2017','width':_0xf48603(0x2ef),'height':_0xf48603(0x2ef)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0xf48603(0x1d9),'attrs':{'d':_0xf48603(0x212)}},{'tag':_0xf48603(0x1d9),'attrs':{'d':_0xf48603(0x29a),'fillRule':_0xf48603(0x326),'clipRule':_0xf48603(0x326)}}]},{'tag':_0xf48603(0x2e0),'attrs':{},'children':[{'tag':_0xf48603(0x290),'attrs':{'id':_0xf48603(0x2b9)},'children':[{'tag':_0xf48603(0x21b),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0xf48603(0x2b9)]},de=m[_0xf48603(0x1e1)](function(_0x586831,_0xdd5a97){const _0x27d564=_0xf48603;return m['createElement'](X,Object[_0x27d564(0x325)]({},_0x586831,{'id':_0x27d564(0x1ed),'ref':_0xdd5a97,'icon':We}));});de[_0xf48603(0x30b)]=_0xf48603(0x1b6);function Xe(){const _0x3474a5=_0xf48603;var _0x1ef0ba;const _0x41e147=I[_0x3474a5(0x2f6)](exports['HistoryManagerService']),_0x11c8fc=I[_0x3474a5(0x2f6)](l['LocaleService']),_0x5edfdf=m[_0x3474a5(0x1f6)](()=>{const _0x165e91=_0x3474a5;_0x41e147['status']=W[_0x165e91(0x265)];},[_0x41e147]),_0x58ab4f=m[_0x3474a5(0x1f6)](()=>{const _0x4531e3=_0x3474a5;_0x41e147[_0x4531e3(0x37e)]();},[_0x41e147]),_0x4a42b9=I[_0x3474a5(0x28c)](_0x41e147[_0x3474a5(0x232)]),_0x1b939a=I['useObservable'](_0x41e147[_0x3474a5(0x25c)]),_0x40a444=_0x4a42b9===((_0x1ef0ba=_0x1b939a==null?void 0x0:_0x1b939a[0x0])==null?void 0x0:_0x1ef0ba['id']),_0x5c8045=_0x4a42b9!==''&&!_0x40a444&&_0x41e147['canRevert'];return h['jsxs'](_0x3474a5(0x2ff),{'className':C[_0x3474a5(0x29e)](_0x3474a5(0x1bc),C[_0x3474a5(0x294)]),'children':[h[_0x3474a5(0x313)]('a',{'className':_0x3474a5(0x226),'onClick':_0x5edfdf,'children':h[_0x3474a5(0x313)](he,{'className':_0x3474a5(0x20c)})}),h[_0x3474a5(0x313)]('div',{'className':_0x3474a5(0x2b6),'children':_0x5c8045&&h[_0x3474a5(0x313)](C[_0x3474a5(0x21a)],{'variant':_0x3474a5(0x35b),'onClick':_0x58ab4f,'children':_0x11c8fc['t'](_0x3474a5(0x199))})})]});}var Ge=Object[_0xf48603(0x314)],qe=(_0x1e4e5c,_0x173a09,_0x545b3c,_0x597bea)=>{for(var _0x329803=_0x597bea>0x1?void 0x0:_0x597bea?Ge(_0x173a09,_0x545b3c):_0x173a09,_0x55c57e=_0x1e4e5c['length']-0x1,_0x81a220;_0x55c57e>=0x0;_0x55c57e--)(_0x81a220=_0x1e4e5c[_0x55c57e])&&(_0x329803=_0x81a220(_0x329803)||_0x329803);return _0x329803;},P=(_0x27bf93,_0x39ae1d)=>(_0x2cb4d0,_0x4cb045)=>_0x39ae1d(_0x2cb4d0,_0x4cb045,_0x27bf93);let B=class extends l[_0xf48603(0x213)]{constructor(_0xfe1d28,_0x5e033e,_0xa8add3,_0x52f0ed,_0x2d0f60,_0x5db925){const _0x544fdd=_0xf48603;super(),this[_0x544fdd(0x1c8)]=_0xfe1d28,this[_0x544fdd(0x2f7)]=_0x5e033e,this['_messageService']=_0xa8add3,this[_0x544fdd(0x20e)]=_0x52f0ed,this['_historyManagerService']=_0x2d0f60,this[_0x544fdd(0x1c6)]=_0x5db925,this[_0x544fdd(0x2d0)]();}['_init'](){const _0x277872=_0xf48603;this['disposeWithMe'](this[_0x277872(0x1f7)][_0x277872(0x232)][_0x277872(0x20b)](_0x3aad4d=>{const _0x180d41=_0x277872;_0x3aad4d&&this['_historyManagerService'][_0x180d41(0x33a)](_0x3aad4d);})),this['disposeWithMe'](this['_permissionService'][_0x277872(0x364)][_0x277872(0x20b)](_0x44d722=>{const _0x2f28a7=_0x277872,_0x178d8a=this[_0x2f28a7(0x1f7)][_0x2f28a7(0x302)];_0x178d8a&&(_0x44d722[_0x2f28a7(0x200)]===y[_0x2f28a7(0x38b)]&&_0x44d722[_0x2f28a7(0x342)]===!0x0&&this[_0x2f28a7(0x1c8)][_0x2f28a7(0x1c3)](new u['WorkbookEditablePermission'](_0x178d8a)['id'],!0x1),_0x44d722['subType']===y[_0x2f28a7(0x38a)]&&_0x44d722['value']===!0x0&&this[_0x2f28a7(0x1c8)]['updatePermissionPoint'](new u[(_0x2f28a7(0x22b))](_0x178d8a)['id'],!0x1),_0x44d722['subType']===y['MoveSheet']&&_0x44d722['value']===!0x0&&this[_0x2f28a7(0x1c8)]['updatePermissionPoint'](new u[(_0x2f28a7(0x335))](_0x178d8a)['id'],!0x1),_0x44d722['subType']===y[_0x2f28a7(0x34e)]&&_0x44d722[_0x2f28a7(0x342)]===!0x0&&this[_0x2f28a7(0x1c8)][_0x2f28a7(0x1c3)](new u[(_0x2f28a7(0x286))](_0x178d8a)['id'],!0x1),_0x44d722[_0x2f28a7(0x200)]===y[_0x2f28a7(0x3ac)]&&_0x44d722[_0x2f28a7(0x342)]===!0x0&&this[_0x2f28a7(0x1c8)]['updatePermissionPoint'](new u['WorkbookEditablePermission'](_0x178d8a)['id'],!0x1),_0x44d722['subType']===y[_0x2f28a7(0x341)]&&_0x44d722[_0x2f28a7(0x342)]===!0x0&&this[_0x2f28a7(0x1c8)][_0x2f28a7(0x1c3)](new u['WorkbookEditablePermission'](_0x178d8a)['id'],!0x1));})),this[_0x277872(0x221)](this[_0x277872(0x2f7)][_0x277872(0x22a)](I[_0x277872(0x2b1)]['HEADER'],()=>I[_0x277872(0x19a)](Xe,this[_0x277872(0x1c6)]))),this[_0x277872(0x221)](this[_0x277872(0x1f7)][_0x277872(0x361)][_0x277872(0x20b)](_0x30ba2a=>{const _0x11338e=_0x277872;_0x30ba2a===V[_0x11338e(0x2f3)]&&(this[_0x11338e(0x1f7)][_0x11338e(0x20a)](),this['_messageService'][_0x11338e(0x1cb)]({'type':C[_0x11338e(0x24f)][_0x11338e(0x319)],'content':this[_0x11338e(0x20e)]['t'](_0x11338e(0x2f0))})),_0x30ba2a===V[_0x11338e(0x34c)]&&this['_historyManagerService'][_0x11338e(0x241)]();}));}};B=qe([P(0x0,l[_0xf48603(0x247)]),P(0x1,I['IUIPartsService']),P(0x2,I[_0xf48603(0x3ad)]),P(0x3,l[_0xf48603(0x1fb)](l['LocaleService'])),P(0x4,l[_0xf48603(0x1fb)](exports['HistoryManagerService'])),P(0x5,l['Inject'](l[_0xf48603(0x351)]))],B);var Ze=Object[_0xf48603(0x314)],Ke=(_0x570f60,_0x82c9fe,_0x291436,_0x319d63)=>{const _0x17ad89=_0xf48603;for(var _0x45785b=_0x319d63>0x1?void 0x0:_0x319d63?Ze(_0x82c9fe,_0x291436):_0x82c9fe,_0x4c271c=_0x570f60[_0x17ad89(0x2fd)]-0x1,_0x3a07c6;_0x4c271c>=0x0;_0x4c271c--)(_0x3a07c6=_0x570f60[_0x4c271c])&&(_0x45785b=_0x3a07c6(_0x45785b)||_0x45785b);return _0x45785b;},q=(_0x3afba6,_0x4f473d)=>(_0x2e5b86,_0x5f398e)=>_0x4f473d(_0x2e5b86,_0x5f398e,_0x3afba6);let x=class extends l[_0xf48603(0x213)]{constructor(_0x1fdb89,_0x2ba7c8,_0x525f70){const _0x4f3ac5=_0xf48603;super(),_(this,_0x4f3ac5(0x394),new Map()),_(this,_0x4f3ac5(0x395),new E[(_0x4f3ac5(0x340))]({'ranges':new Map(),'active':null})),_(this,_0x4f3ac5(0x29d),this[_0x4f3ac5(0x395)][_0x4f3ac5(0x201)]()),(this[_0x4f3ac5(0x1f7)]=_0x1fdb89,this[_0x4f3ac5(0x227)]=_0x2ba7c8,this['_snapshotServerService']=_0x525f70,this[_0x4f3ac5(0x2d0)]());}[_0xf48603(0x2d0)](){const _0x57fc02=_0xf48603;this[_0x57fc02(0x394)]=new Map(),this[_0x57fc02(0x221)](this[_0x57fc02(0x1f7)][_0x57fc02(0x2a6)]['subscribe'](_0x28cf78=>{const _0x4681ca=_0x57fc02;_0x28cf78&&!this[_0x4681ca(0x394)][_0x4681ca(0x2d7)](_0x28cf78)&&this[_0x4681ca(0x394)]['set'](_0x28cf78,new Map());})),this['disposeWithMe'](this[_0x57fc02(0x1f7)]['currentVersion$']['subscribe'](async _0x42bc13=>{const _0x398492=_0x57fc02;var _0x224ecd;_0x42bc13&&(await this[_0x398492(0x379)](_0x42bc13),this[_0x398492(0x395)][_0x398492(0x1ef)](((_0x224ecd=this[_0x398492(0x394)][_0x398492(0x1d2)](this[_0x398492(0x1f7)][_0x398492(0x302)]))==null?void 0x0:_0x224ecd[_0x398492(0x1d2)](_0x42bc13))||{'ranges':new Map(),'active':null}));}));}async[_0xf48603(0x379)](_0x29b1a5){const _0x1f458e=_0xf48603;var _0x1b115f,_0x47292a;const _0x116b3b=this[_0x1f458e(0x1f7)][_0x1f458e(0x1ec)](_0x29b1a5),_0x1d0963=this[_0x1f458e(0x1f7)][_0x1f458e(0x302)];if(!_0x116b3b||!_0x1d0963)return;const _0x35a161=this[_0x1f458e(0x394)][_0x1f458e(0x1d2)](_0x1d0963);if(_0x35a161||this['_diffRangesMap']['set'](_0x1d0963,new Map()),(_0x1b115f=this[_0x1f458e(0x394)][_0x1f458e(0x1d2)](_0x1d0963))!=null&&_0x1b115f['has'](_0x116b3b['id']))return;const {startRev:_0x4c3acc,endRev:_0x1903c9}=_0x116b3b;if(_0x4c3acc===0x1){_0x35a161[_0x1f458e(0x310)](_0x116b3b['id'],{'ranges':new Map(),'active':null});return;}const _0x9dd4df=_0x4c3acc-0x1,_0x512c62=_0x1903c9,_0xd38317=await this['_snapshotServerService'][_0x1f458e(0x1aa)]({},{'unitID':_0x1d0963,'from':_0x9dd4df,'to':_0x512c62,'type':j['UNIVER_SHEET']});if(((_0x47292a=_0xd38317[_0x1f458e(0x35e)])==null?void 0x0:_0x47292a['code'])===A['OK']){const _0xe93ba0=_0xd38317['changesets'][_0x1f458e(0x19b)](b[_0x1f458e(0x205)])['map'](_0x135261=>_0x135261['mutations'][_0x1f458e(0x19b)](_0x4474bc=>({..._0x4474bc,'params':{..._0x4474bc[_0x1f458e(0x2e6)],'memberId':_0x135261[_0x1f458e(0x29b)]}})))[_0x1f458e(0x1df)](),_0xd8833d=this[_0x1f458e(0x349)](_0xe93ba0),_0x55f0e6=this['_getActiveSubUnitId'](_0xe93ba0),_0x2be69b=this[_0x1f458e(0x2bc)](_0xd8833d);_0x35a161['set'](_0x116b3b['id'],{'ranges':_0x2be69b,'active':_0x55f0e6});}}[_0xf48603(0x349)](_0x5bbfb2){const _0x41fa2f=_0xf48603;let _0x5c2b9c=[];for(let _0x545e5e=0x0;_0x545e5e<_0x5bbfb2[_0x41fa2f(0x2fd)];_0x545e5e++){const _0x404114=_0x5bbfb2[_0x545e5e];if(_0x5c2b9c[_0x41fa2f(0x2af)](_0x404114),_0x545e5e!==_0x5bbfb2['length']-0x1){const _0x482059=_0x5bbfb2[_0x545e5e+0x1],_0x21c86b=this['_transformService'][_0x41fa2f(0x388)](_0x5c2b9c,[_0x482059]);b[_0x41fa2f(0x37c)](_0x21c86b)?_0x5c2b9c=_0x21c86b[_0x41fa2f(0x2db)]:_0x5c2b9c=[];}}return _0x5c2b9c;}[_0xf48603(0x2ab)](_0x2d3e29){const _0x784f8=_0xf48603;let _0x998a13=[];return _0x2d3e29['forEach'](_0x5f35ab=>{const _0x34d4cb=_0x4bf2;if(_0x5f35ab['id']===u[_0x34d4cb(0x383)]['id']){const _0x4a7871=_0x5f35ab[_0x34d4cb(0x2e6)];_0x998a13[_0x34d4cb(0x2af)](_0x4a7871[_0x34d4cb(0x228)]['id']);}else{if(_0x5f35ab['id']===u['RemoveSheetMutation']['id']){const _0x253393=_0x5f35ab['params'];_0x998a13['length']>0x0&&(_0x998a13=_0x998a13[_0x34d4cb(0x1bd)](_0x503cdc=>_0x503cdc!==_0x253393[_0x34d4cb(0x26c)]));}else{if(_0x5f35ab['id']===u[_0x34d4cb(0x292)]['id']){const _0x548419=_0x5f35ab[_0x34d4cb(0x2e6)];_0x548419['hidden']?_0x998a13=_0x998a13[_0x34d4cb(0x1bd)](_0x287263=>_0x287263!==_0x548419[_0x34d4cb(0x26c)]):_0x998a13[_0x34d4cb(0x2af)](_0x548419[_0x34d4cb(0x26c)]);}else{const _0x3325e2=_0x5f35ab[_0x34d4cb(0x2e6)];_0x3325e2[_0x34d4cb(0x26c)]&&_0x998a13[_0x34d4cb(0x2af)](_0x3325e2[_0x34d4cb(0x26c)]);}}}}),_0x998a13[_0x784f8(0x2fd)]>0x0?_0x998a13[_0x998a13[_0x784f8(0x2fd)]-0x1]:null;}[_0xf48603(0x2bc)](_0x20f27a){const _0x22b5a3=_0xf48603,_0x4003d1=new Map();return _0x20f27a[_0x22b5a3(0x1ae)](_0x36eba8=>{const _0x1a890d=_0x22b5a3;var _0x2457f6,_0x2965e9;const _0x5b1b61=(_0x2457f6=_0x36eba8[_0x1a890d(0x2e6)])==null?void 0x0:_0x2457f6['memberId'];if(_0x5b1b61){_0x4003d1[_0x1a890d(0x2d7)](_0x5b1b61)||_0x4003d1['set'](_0x5b1b61,[]);const _0x4f84e0=this[_0x1a890d(0x2ce)](_0x36eba8);(_0x2965e9=_0x4003d1[_0x1a890d(0x1d2)](_0x5b1b61))==null||_0x2965e9[_0x1a890d(0x2af)](..._0x4f84e0);}}),_0x4003d1[_0x22b5a3(0x1ae)]((_0x1d2ef1,_0x5c7fb8)=>{const _0x449fb0=_0x22b5a3;_0x4003d1[_0x449fb0(0x310)](_0x5c7fb8,this[_0x449fb0(0x2e1)](_0x1d2ef1));}),_0x4003d1;}[_0xf48603(0x2ce)](_0x2e64e0){const _0x3b34da=_0xf48603;switch(_0x2e64e0['id']){case u['AddRangeProtectionMutation']['id']:{const _0x2f355c=_0x2e64e0[_0x3b34da(0x2e6)];return _0x2f355c[_0x3b34da(0x1cf)][_0x3b34da(0x19b)](_0x5246d7=>_0x5246d7[_0x3b34da(0x1eb)]['map'](_0x2f3293=>({'range':_0x2f3293,'unitId':_0x2f355c[_0x3b34da(0x302)],'subUnitId':_0x2f355c[_0x3b34da(0x26c)]})))[_0x3b34da(0x1df)]();}case u['AddWorksheetMergeMutation']['id']:{const _0xaa2e47=_0x2e64e0[_0x3b34da(0x2e6)];return _0xaa2e47[_0x3b34da(0x1eb)][_0x3b34da(0x19b)](_0x311aba=>({'range':_0x311aba,'unitId':_0xaa2e47[_0x3b34da(0x302)],'subUnitId':_0xaa2e47[_0x3b34da(0x26c)]}));}case u[_0x3b34da(0x384)]['id']:{const _0x52ab35=_0x2e64e0['params'];return[{'range':_0x52ab35[_0x3b34da(0x3a8)],'unitId':_0x52ab35[_0x3b34da(0x302)],'subUnitId':_0x52ab35[_0x3b34da(0x26c)]}];}case u[_0x3b34da(0x2d8)]['id']:{const _0x3cf166=_0x2e64e0[_0x3b34da(0x2e6)];return[{'range':_0x3cf166[_0x3b34da(0x3a8)],'unitId':_0x3cf166[_0x3b34da(0x302)],'subUnitId':_0x3cf166[_0x3b34da(0x26c)]}];}case u['MoveRangeMutation']['id']:{const _0x4e952f=_0x2e64e0['params'],{from:_0x2eb74b,to:_0x32c1ca,unitId:_0x572c23}=_0x4e952f;return[{'range':ae(_0x2eb74b[_0x3b34da(0x342)]),'unitId':_0x572c23,'subUnitId':_0x2eb74b[_0x3b34da(0x26c)]},{'range':ae(_0x32c1ca[_0x3b34da(0x342)]),'unitId':_0x572c23,'subUnitId':_0x32c1ca[_0x3b34da(0x26c)]}];}case u[_0x3b34da(0x37b)]['id']:{const _0x3c7398=_0x2e64e0[_0x3b34da(0x2e6)],{unitId:_0x5cb7d9,subUnitId:_0x5a7c4e,sourceRange:_0x2189ae,targetRange:_0x33c9eb}=_0x3c7398,_0x462c33=_0x2189ae[_0x3b34da(0x1fd)]-_0x2189ae[_0x3b34da(0x21f)]+0x1;return[{'range':_0x33c9eb[_0x3b34da(0x21f)]<=_0x2189ae['startRow']?_0x33c9eb:{..._0x33c9eb,'startRow':_0x33c9eb[_0x3b34da(0x21f)]-_0x462c33,'endRow':_0x33c9eb[_0x3b34da(0x1fd)]-_0x462c33},'unitId':_0x5cb7d9,'subUnitId':_0x5a7c4e}];}case u[_0x3b34da(0x2f1)]['id']:{const _0x403f9c=_0x2e64e0[_0x3b34da(0x2e6)],{unitId:_0x5a8fc2,subUnitId:_0x5b16e3,sourceRange:_0x4a9c7f,targetRange:_0x10b2c0}=_0x403f9c,_0x5a07e9=_0x4a9c7f[_0x3b34da(0x37d)]-_0x4a9c7f[_0x3b34da(0x278)]+0x1;return[{'range':_0x10b2c0[_0x3b34da(0x278)]<=_0x4a9c7f[_0x3b34da(0x278)]?_0x10b2c0:{..._0x10b2c0,'startColumn':_0x10b2c0[_0x3b34da(0x278)]-_0x5a07e9,'endColumn':_0x10b2c0[_0x3b34da(0x37d)]-_0x5a07e9},'unitId':_0x5a8fc2,'subUnitId':_0x5b16e3}];}case u[_0x3b34da(0x354)]['id']:{const _0x1bdbcc=_0x2e64e0[_0x3b34da(0x2e6)],{values:_0x1c4314,unitId:_0x50c219,subUnitId:_0x1c4015}=_0x1bdbcc;return Object[_0x3b34da(0x1b8)](_0x1c4314)[_0x3b34da(0x19b)](_0x27b72d=>_0x27b72d[_0x3b34da(0x1eb)][_0x3b34da(0x19b)](_0x24ba64=>({'range':_0x24ba64,'unitId':_0x50c219,'subUnitId':_0x1c4015})))[_0x3b34da(0x1df)]();}case u[_0x3b34da(0x237)]['id']:{const _0x291719=_0x2e64e0[_0x3b34da(0x2e6)],{ranges:_0x5ae891,unitId:_0x5cda76,subUnitId:_0x186f14}=_0x291719;return _0x5ae891[_0x3b34da(0x19b)](_0x49efb5=>({'range':_0x49efb5,'unitId':_0x5cda76,'subUnitId':_0x186f14}));}case u[_0x3b34da(0x215)]['id']:{const _0x3b5717=_0x2e64e0['params'],{unitId:_0x236b8b,subUnitId:_0xf02b62,range:_0x3c4a01}=_0x3b5717;return[{'range':_0x3c4a01,'unitId':_0x236b8b,'subUnitId':_0xf02b62}];}case u['SetRangeProtectionMutation']['id']:{const _0x2e23f1=_0x2e64e0[_0x3b34da(0x2e6)];return _0x2e23f1[_0x3b34da(0x374)][_0x3b34da(0x1eb)][_0x3b34da(0x19b)](_0x3e1941=>({'range':_0x3e1941,'unitId':_0x2e23f1[_0x3b34da(0x302)],'subUnitId':_0x2e23f1[_0x3b34da(0x26c)]}));}case u[_0x3b34da(0x1f8)]['id']:{const _0x25f028=_0x2e64e0[_0x3b34da(0x2e6)];return _0x25f028[_0x3b34da(0x2bb)]?Qe(_0x25f028['cellValue'])[_0x3b34da(0x19b)](_0x1add71=>({'range':_0x1add71,'unitId':_0x25f028[_0x3b34da(0x302)],'subUnitId':_0x25f028[_0x3b34da(0x26c)]})):[];}case le[_0x3b34da(0x22e)]['id']:{const _0x2be30e=_0x2e64e0[_0x3b34da(0x2e6)];return[{'range':_0x2be30e['range'],'unitId':_0x2be30e[_0x3b34da(0x302)],'subUnitId':_0x2be30e['subUnitId']}];}case K[_0x3b34da(0x391)]['id']:{const _0x261070=_0x2e64e0[_0x3b34da(0x2e6)];return(Array[_0x3b34da(0x31f)](_0x261070[_0x3b34da(0x374)])?_0x261070['rule']:[_0x261070['rule']])[_0x3b34da(0x19b)](_0x34c524=>_0x34c524['ranges'][_0x3b34da(0x19b)](_0x1a41c5=>({'range':_0x1a41c5,'unitId':_0x261070[_0x3b34da(0x302)],'subUnitId':_0x261070[_0x3b34da(0x26c)]})))['flat']();}case Q[_0x3b34da(0x224)]['id']:{const _0x488162=_0x2e64e0[_0x3b34da(0x2e6)];return _0x488162['rule'][_0x3b34da(0x1eb)][_0x3b34da(0x19b)](_0x107ee7=>({'range':_0x107ee7,'unitId':_0x488162[_0x3b34da(0x302)],'subUnitId':_0x488162[_0x3b34da(0x26c)]}));}default:return[];}}[_0xf48603(0x2e1)](_0x489e0b){const _0x3fae58=_0xf48603;if(_0x489e0b['length']<=0x1)return _0x489e0b;const _0xc0cbb8=new Map();return _0x489e0b[_0x3fae58(0x1ae)](_0x14769f=>{const _0x5b2525=_0x3fae58;var _0x45f4ce;const {unitId:_0x223489,subUnitId:_0x67ef13}=_0x14769f,_0x210a37=_0x223489+'-'+_0x67ef13;_0xc0cbb8[_0x5b2525(0x2d7)](_0x210a37)?(_0x45f4ce=_0xc0cbb8['get'](_0x210a37))==null||_0x45f4ce['push'](_0x14769f):_0xc0cbb8[_0x5b2525(0x310)](_0x210a37,[_0x14769f]);}),Array[_0x3fae58(0x2f8)](_0xc0cbb8['values']())[_0x3fae58(0x19b)](_0x3a6ffd=>new u['RangeMergeUtil']()['add'](..._0x3a6ffd[_0x3fae58(0x19b)](_0xd7f025=>_0xd7f025['range']))[_0x3fae58(0x1d5)]()[_0x3fae58(0x19b)](_0x36c00b=>({'range':_0x36c00b,'unitId':_0x3a6ffd[0x0][_0x3fae58(0x302)],'subUnitId':_0x3a6ffd[0x0][_0x3fae58(0x26c)]})))[_0x3fae58(0x1df)]();}};x=Ke([q(0x0,l[_0xf48603(0x1fb)](exports[_0xf48603(0x284)])),q(0x1,b[_0xf48603(0x39c)]),q(0x2,b['ISnapshotServerService'])],x);function ae(_0x5ad95f){const _0x448fff=_0xf48603;return new l[(_0x448fff(0x300))](_0x5ad95f)['getDataRange']();}function Qe(_0x2e2f54){const _0x1ad3eb=_0xf48603,_0x20b1b7=new l[(_0x1ad3eb(0x300))](_0x2e2f54),_0x143205=new l[(_0x1ad3eb(0x300))]();return _0x20b1b7[_0x1ad3eb(0x2f9)]((_0x370e1f,_0x30adeb)=>{const _0x4ae967=_0x1ad3eb;_0x143205[_0x4ae967(0x2ad)](_0x370e1f,_0x30adeb,0x1);}),u[_0x1ad3eb(0x359)](_0x143205);}var Je=Object['getOwnPropertyDescriptor'],ze=(_0x5de380,_0xe900cb,_0x404b43,_0x166beb)=>{const _0x1e64b4=_0xf48603;for(var _0x5214a9=_0x166beb>0x1?void 0x0:_0x166beb?Je(_0xe900cb,_0x404b43):_0xe900cb,_0x3bcced=_0x5de380[_0x1e64b4(0x2fd)]-0x1,_0x1bfd9f;_0x3bcced>=0x0;_0x3bcced--)(_0x1bfd9f=_0x5de380[_0x3bcced])&&(_0x5214a9=_0x1bfd9f(_0x5214a9)||_0x5214a9);return _0x5214a9;},T=(_0x2d37a4,_0x13a443)=>(_0x2d2fdf,_0x161d1e)=>_0x13a443(_0x2d2fdf,_0x161d1e,_0x2d37a4);let z=class extends l[_0xf48603(0x213)]{constructor(_0x5adba5,_0x4e754d,_0x29e7b5,_0x42dd64,_0x302270,_0x5f29d8,_0x3fadb5){const _0x5c96e8=_0xf48603;super(),_(this,_0x5c96e8(0x203),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x5adba5,this[_0x5c96e8(0x1f7)]=_0x4e754d,this[_0x5c96e8(0x1d7)]=_0x29e7b5,this[_0x5c96e8(0x399)]=_0x42dd64,this[_0x5c96e8(0x318)]=_0x302270,this[_0x5c96e8(0x1ad)]=_0x5f29d8,this[_0x5c96e8(0x266)]=_0x3fadb5,this['_init']());}[_0xf48603(0x2d0)](){const _0xafe6fc=_0xf48603;this[_0xafe6fc(0x21d)](),this[_0xafe6fc(0x34b)]();}[_0xf48603(0x21d)](){const _0x3e2e06=_0xf48603;this[_0x3e2e06(0x221)](E[_0x3e2e06(0x1e5)]([this['_historyManagerService']['loadingState$'],this[_0x3e2e06(0x1ad)]['currentSkeleton$']])['pipe'](E['switchMap'](([_0x2de202,_0x220561])=>{const _0x5dea6b=_0x3e2e06;if(_0x2de202===V[_0x5dea6b(0x34c)]&&_0x220561){const _0x43f8ce=_0x220561['sheetId'];return this[_0x5dea6b(0x1d7)][_0x5dea6b(0x29d)][_0x5dea6b(0x245)](E[_0x5dea6b(0x19b)](_0x463fc5=>{const _0x3c90bb=_0x5dea6b,_0x2d241d=new Map();return _0x463fc5[_0x3c90bb(0x1eb)][_0x3c90bb(0x1ae)]((_0x3005a7,_0x56610d)=>{const _0x52a71f=_0x3c90bb,_0x506c0c=_0x3005a7[_0x52a71f(0x1bd)](_0x2a047a=>_0x2a047a[_0x52a71f(0x26c)]===_0x43f8ce);_0x2d241d['set'](_0x56610d,_0x506c0c);}),{'skeleton':_0x220561,'diffs':_0x2d241d};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))[_0x3e2e06(0x20b)](({skeleton:_0x28f6d0,diffs:_0x23e21b})=>{const _0x70da2=_0x3e2e06;this['_removeDiffMarks'](),_0x28f6d0&&this[_0x70da2(0x218)](_0x28f6d0,_0x23e21b);})),this[_0x3e2e06(0x221)](this[_0x3e2e06(0x1ad)][_0x3e2e06(0x356)][_0x3e2e06(0x20b)](_0x3941c9=>{const _0x362ded=_0x3e2e06;if(_0x3941c9==null)return;const {skeleton:_0x468832}=_0x3941c9,{scene:_0x5096ff}=this[_0x362ded(0x1cd)];_0x5096ff[_0x362ded(0x225)][_0x362ded(0x242)](l[_0x362ded(0x339)](_0x20b0f4=>{const _0xe8eaef=_0x362ded;var _0x53cb11,_0x14d558;const {offsetX:_0x1f8514,offsetY:_0x47a6fb}=_0x20b0f4,{x:_0x2c6029,y:_0x469682}=_0x5096ff['getRelativeToViewportCoord']($['Vector2']['FromArray']([_0x1f8514,_0x47a6fb])),{scaleX:_0x122f04,scaleY:_0x49d0bd}=_0x5096ff[_0xe8eaef(0x386)](),_0x45a8c1=_0x5096ff['getViewport']($[_0xe8eaef(0x275)][_0xe8eaef(0x36a)]),_0x4b2054=_0x5096ff['getVpScrollXYInfoByPosToVp']($[_0xe8eaef(0x37f)][_0xe8eaef(0x36e)]([_0x2c6029,_0x469682]),_0x45a8c1),_0x31c395=_0x468832[_0xe8eaef(0x1b1)](_0x1f8514,_0x47a6fb,_0x122f04,_0x49d0bd,_0x4b2054);((_0x53cb11=this[_0xe8eaef(0x1a1)])==null?void 0x0:_0x53cb11[_0xe8eaef(0x274)])===_0x31c395[_0xe8eaef(0x274)]&&((_0x14d558=this[_0xe8eaef(0x1a1)])==null?void 0x0:_0x14d558[_0xe8eaef(0x26a)])===_0x31c395[_0xe8eaef(0x26a)]||this['_diffs'][_0xe8eaef(0x1ae)](_0x50f377=>{const _0x1e2603=_0xe8eaef;_0x50f377[_0x1e2603(0x1cc)](_0x31c395);});},0x64));}));}[_0xf48603(0x34b)](){const _0x16a79b=_0xf48603;this[_0x16a79b(0x221)](this[_0x16a79b(0x1f7)][_0x16a79b(0x361)][_0x16a79b(0x20b)](_0x5cca93=>{const _0x104a21=_0x16a79b,_0x3d360e=new l[(_0x104a21(0x2ee))]();return _0x5cca93===V[_0x104a21(0x34c)]&&(_0x3d360e['dispose'](),_0x3d360e[_0x104a21(0x365)](this[_0x104a21(0x1d7)][_0x104a21(0x29d)][_0x104a21(0x20b)](_0x5d18c8=>{const _0x1eb7a8=_0x104a21;_0x5d18c8[_0x1eb7a8(0x285)]&&this[_0x1eb7a8(0x266)][_0x1eb7a8(0x385)](u[_0x1eb7a8(0x210)]['id'],{'unitId':this[_0x1eb7a8(0x1cd)]['unitId'],'subUnitId':_0x5d18c8['active']});}))),()=>_0x3d360e['dispose']();}));}[_0xf48603(0x218)](_0x2bf91b,_0x46a2db){const _0x3607df=_0xf48603;var _0x5b04e5;const _0x4d5642=(_0x5b04e5=this[_0x3607df(0x1ad)]['getCurrent']())==null?void 0x0:_0x5b04e5['skeleton'];if(!_0x4d5642)return;this[_0x3607df(0x203)][_0x3607df(0x1ae)](_0x20ddb1=>{const _0x22e416=_0x3607df;_0x20ddb1[_0x22e416(0x39f)]();});const {scene:_0x240c65}=this['_context'],_0x4c7f1d=Array['from'](_0x46a2db[_0x3607df(0x1c9)]())[_0x3607df(0x19b)](_0xe409d=>_0x46a2db[_0x3607df(0x1d2)](_0xe409d)[_0x3607df(0x19b)](_0x35260a=>{const _0x398785=_0x3607df;var _0x1de662;const {range:_0x18c037,subUnitId:_0xfe7290,unitId:_0x3b1d0e}=_0x35260a,{startColumn:_0x7cd58b,startRow:_0x21142e,endColumn:_0x5833a4,endRow:_0x5604a5}=_0x18c037,_0xb1a095=L['getCoordByCell'](_0x21142e,_0x7cd58b,_0x240c65,_0x4d5642),_0x2c53a3=L[_0x398785(0x1ea)](_0x5604a5,_0x5833a4,_0x240c65,_0x4d5642),{columnHeaderHeightAndMarginTop:_0x5200e5}=_0x4d5642,{startX:_0x19c9b6,startY:_0x679b02}=_0xb1a095,{endX:_0x596dc8,endY:_0x4ae498}=_0x2c53a3,_0x52056a=_0x596dc8-_0x19c9b6,_0x530471=_0x4ae498-_0x679b02,_0x165df2={'labelPosition':_0x679b02-_0x5200e5>=0x14?'top':'bottom','sheetID':_0xfe7290,'range':_0x18c037,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x398785(0x31a),'name':((_0x1de662=this[_0x398785(0x1f7)][_0x398785(0x25d)](_0xe409d))==null?void 0x0:_0x1de662[_0x398785(0x267)])||'','selection':_0x3b1d0e+'-'+_0xfe7290+'-'+_0x18c037[_0x398785(0x278)]+'-'+_0x18c037[_0x398785(0x21f)]+'-'+_0x18c037['endColumn']+'-'+_0x18c037['endRow'],'left':_0x19c9b6,'top':_0x679b02,'width':_0x52056a,'height':_0x530471,'evented':!0x1,'zIndex':0x1};return new Oe[(_0x398785(0x260))]('',_0x165df2);}))[_0x3607df(0x1df)]();_0x240c65[_0x3607df(0x1af)](_0x4c7f1d,0x1),this[_0x3607df(0x203)]=new Set(_0x4c7f1d);}[_0xf48603(0x2cc)](){const _0x4f3469=_0xf48603;var _0x5bc6b6;(_0x5bc6b6=this[_0x4f3469(0x203)])==null||_0x5bc6b6[_0x4f3469(0x1ae)](_0x34cbac=>_0x34cbac[_0x4f3469(0x328)]());}[_0xf48603(0x20f)](){const _0x1f3595=_0xf48603;return L[_0x1f3595(0x1ac)](this[_0x1f3595(0x399)],this[_0x1f3595(0x318)]);}};z=ze([T(0x1,l[_0xf48603(0x1fb)](exports['HistoryManagerService'])),T(0x2,l[_0xf48603(0x1fb)](x)),T(0x3,l[_0xf48603(0x363)]),T(0x4,$[_0xf48603(0x3a7)]),T(0x5,l['Inject'](L[_0xf48603(0x2b4)])),T(0x6,l[_0xf48603(0x343)])],z);function et(){const _0x5a52cf=_0xf48603,_0x2fa3f3=I[_0x5a52cf(0x2f6)](exports[_0x5a52cf(0x284)]),_0x1f1985=I[_0x5a52cf(0x28c)](_0x2fa3f3[_0x5a52cf(0x25c)]),[_0x1166af,_0xfefcbe]=m[_0x5a52cf(0x305)](!0x1),_0x1c4c4c=Pe(_0x1f1985);return _0x1f1985?h[_0x5a52cf(0x313)](_0x5a52cf(0x2ff),{'className':'univer-overflow-hidden','children':h[_0x5a52cf(0x366)]('div',{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x1c4c4c[_0x5a52cf(0x19b)]((_0x54ddbf,_0x4effac)=>h[_0x5a52cf(0x366)](m[_0x5a52cf(0x367)],{'children':[h[_0x5a52cf(0x313)](it,{'date':_0x54ddbf[_0x5a52cf(0x299)]}),_0x54ddbf[_0x5a52cf(0x2f5)][_0x5a52cf(0x19b)]((_0x2d3ea2,_0x3eab72)=>h[_0x5a52cf(0x313)](rt,{'index':[_0x4effac,_0x3eab72],'item':_0x2d3ea2},_0x4effac+'-'+_0x3eab72))]},_0x54ddbf['dateString'])),_0x1166af&&h[_0x5a52cf(0x313)](tt,{})]})}):h['jsx'](st,{});}function tt(){const _0x1dcce2=_0xf48603;return h[_0x1dcce2(0x313)](_0x1dcce2(0x2ff),{'className':_0x1dcce2(0x306),'children':h[_0x1dcce2(0x313)](te,{'className':_0x1dcce2(0x2b8)})});}function st(){const _0x3a6c8e=_0xf48603;return h[_0x3a6c8e(0x313)](_0x3a6c8e(0x2ff),{'className':_0x3a6c8e(0x2e7),'children':h['jsx'](_0x3a6c8e(0x348),{'className':_0x3a6c8e(0x353),'children':h['jsx'](te,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function it(_0xadc63d){const _0x434cb0=_0xf48603,_0x495f1f=I['useDependency'](l[_0x434cb0(0x35c)]),{date:_0x662da1}=_0xadc63d;return h[_0x434cb0(0x313)]('div',{'className':_0x434cb0(0x27d),'children':J(_0x662da1,_0x495f1f[_0x434cb0(0x252)]())});}function rt(_0x8e2723){const _0x454e92=_0xf48603,{item:_0x17c33c,index:_0x49ce4a}=_0x8e2723,{time:_0x42483,user:_0x250ca5}=_0x17c33c,[_0x2135ae,_0x19d113]=_0x49ce4a,_0x5d7911=I[_0x454e92(0x2f6)](exports[_0x454e92(0x284)]),_0x5dabd2=I['useObservable'](_0x5d7911[_0x454e92(0x232)],'',!0x0)===_0x17c33c['id'],_0x10591d=_0x2135ae===0x0&&_0x19d113===0x0,_0xb7312b=!_0x10591d&&_0x5d7911[_0x454e92(0x2b3)],_0x182cd9=I[_0x454e92(0x2f6)](l[_0x454e92(0x35c)]),_0x54d068=_0x182cd9['getCurrentLocale'](),_0x9b3975=ee(_0x42483,_0x54d068),_0x12edf6=_0x182cd9['t'](_0x454e92(0x2de)),_0x1e28d2=m[_0x454e92(0x1f6)](_0x4db5f1=>{const _0xd8ee1e=_0x454e92;_0x5d7911[_0xd8ee1e(0x336)]!==V['Loading']&&(_0x5d7911[_0xd8ee1e(0x272)]=_0x4db5f1);},[_0x5d7911]),_0x4da272=m['useCallback'](_0x5ccccb=>{_0x5d7911['triggerRevert'](_0x5ccccb);},[_0x5d7911]);return h[_0x454e92(0x366)](_0x454e92(0x2ff),{'className':C[_0x454e92(0x29e)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x5dabd2}),'onClick':()=>_0x1e28d2(_0x17c33c['id']),'children':[h[_0x454e92(0x366)]('div',{'className':_0x454e92(0x3a3),'children':[h[_0x454e92(0x366)](_0x454e92(0x2ff),{'className':_0x454e92(0x327),'children':[h[_0x454e92(0x313)](_0x454e92(0x348),{'children':_0x9b3975['time']}),_0x10591d&&h[_0x454e92(0x313)](_0x454e92(0x348),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x12edf6})]}),h[_0x454e92(0x313)](_0x454e92(0x2ff),{'children':_0xb7312b&&h[_0x454e92(0x313)](C[_0x454e92(0x36d)],{'title':_0x182cd9['t'](_0x454e92(0x334)),'children':h['jsx'](_0x454e92(0x2ff),{'onClick':_0x497e16=>{const _0x5a7b4f=_0x454e92;_0x497e16[_0x5a7b4f(0x380)](),_0x4da272(_0x17c33c['id']);},'className':_0x454e92(0x2d1),'children':h['jsx'](de,{})})})})]}),h['jsx'](_0x454e92(0x2ff),{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':Ce(_0x17c33c,_0x182cd9)})]});}var nt=Object[_0xf48603(0x314)],at=(_0x110465,_0x27d836,_0x2f7296,_0x731072)=>{for(var _0x23825d=_0x731072>0x1?void 0x0:_0x731072?nt(_0x27d836,_0x2f7296):_0x27d836,_0x2b0f03=_0x110465['length']-0x1,_0x2830a4;_0x2b0f03>=0x0;_0x2b0f03--)(_0x2830a4=_0x110465[_0x2b0f03])&&(_0x23825d=_0x2830a4(_0x23825d)||_0x23825d);return _0x23825d;},U=(_0x39f1a5,_0x81b706)=>(_0x4a0d94,_0x5ba480)=>_0x81b706(_0x4a0d94,_0x5ba480,_0x39f1a5);const oe=_0xf48603(0x2e5);let Y=class extends l[_0xf48603(0x213)]{constructor(_0x2d57dd,_0x15f87e,_0x389c8e,_0x21c53a){const _0x3f1ebc=_0xf48603;super(),_(this,_0x3f1ebc(0x337),null),(this['_sidebarService']=_0x2d57dd,this['_componentManager']=_0x15f87e,this[_0x3f1ebc(0x20e)]=_0x389c8e,this[_0x3f1ebc(0x1f7)]=_0x21c53a,this['_init']());}[_0xf48603(0x2d0)](){const _0x386bad=_0xf48603;this[_0x386bad(0x2be)](),this[_0x386bad(0x329)]();}['_openPanel'](){const _0x1f906c=_0xf48603;if(this['_sidebarDisposable'])return;const _0xb8a2b3={'header':{'title':this[_0x1f906c(0x20e)]['t'](_0x1f906c(0x250))},'children':{'label':oe},'onClose':()=>{const _0x3c45a1=_0x1f906c;this[_0x3c45a1(0x337)]=null,this[_0x3c45a1(0x1f7)]['status']=W[_0x3c45a1(0x265)];}};this[_0x1f906c(0x337)]=this[_0x1f906c(0x234)]['open']({..._0xb8a2b3});}['_initPanel'](){const _0x16220d=_0xf48603;this['disposeWithMe'](this[_0x16220d(0x277)][_0x16220d(0x24c)](oe,et)),this[_0x16220d(0x221)](this[_0x16220d(0x234)][_0x16220d(0x377)][_0x16220d(0x245)](E[_0x16220d(0x375)](0x64))[_0x16220d(0x20b)](_0x169db2=>{const {target:_0x53736f}=_0x169db2||{};if(_0x53736f){const {scrollTop:_0x37e65a,scrollHeight:_0x36ab50,clientHeight:_0x4a8ef6}=_0x53736f;_0x37e65a+_0x4a8ef6>=_0x36ab50-0x5&&this['_historyManagerService']['loadMoreVersions']();}}));}};Y=at([U(0x0,I[_0xf48603(0x1c2)]),U(0x1,l['Inject'](I[_0xf48603(0x344)])),U(0x2,l[_0xf48603(0x1fb)](l[_0xf48603(0x35c)])),U(0x3,l[_0xf48603(0x1fb)](exports[_0xf48603(0x284)]))],Y);class ot extends l[_0xf48603(0x213)]{constructor(){const _0x201553=_0xf48603;super(),_(this,_0x201553(0x3a4),new E['Subject']());}['open'](){return l['toDisposable'](()=>{});}['close'](){}['closeAll'](_0x189a8a){}[_0xf48603(0x31c)](){const _0x4315e9=_0xf48603;return this[_0x4315e9(0x3a4)][_0x4315e9(0x201)]();}}var ct=Object[_0xf48603(0x23b)],lt=Object[_0xf48603(0x314)],ut=(_0x266428,_0x48d5d2,_0x3e0e0e)=>_0x48d5d2 in _0x266428?ct(_0x266428,_0x48d5d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e0e0e}):_0x266428[_0x48d5d2]=_0x3e0e0e,_t=(_0xb53f39,_0x5c624d,_0x2e1113,_0x5eea8a)=>{for(var _0x545c57=_0x5eea8a>0x1?void 0x0:_0x5eea8a?lt(_0x5c624d,_0x2e1113):_0x5c624d,_0xed6831=_0xb53f39['length']-0x1,_0x20d0e9;_0xed6831>=0x0;_0xed6831--)(_0x20d0e9=_0xb53f39[_0xed6831])&&(_0x545c57=_0x20d0e9(_0x545c57)||_0x545c57);return _0x545c57;},Z=(_0x1dafd9,_0xfe5225)=>(_0x174c18,_0x21e503)=>_0xfe5225(_0x174c18,_0x21e503,_0x1dafd9),ht=(_0x40eeed,_0x3c958a,_0x3c60df)=>ut(_0x40eeed,_0x3c958a+'',_0x3c60df);const dt=_0xf48603(0x345);exports['UniverEditHistoryViewerPlugin']=class extends l[_0xf48603(0x369)]{constructor(_0x495d70=ne,_0x3fe2fe,_0x1848a8,_0x25c7d6){const _0x2e2a4d=_0xf48603;super(),this[_0x2e2a4d(0x1e8)]=_0x495d70,this[_0x2e2a4d(0x1c6)]=_0x3fe2fe,this[_0x2e2a4d(0x318)]=_0x1848a8,this[_0x2e2a4d(0x1c1)]=_0x25c7d6;const {..._0x47c8a5}=l['merge']({},ne,this[_0x2e2a4d(0x1e8)]);this[_0x2e2a4d(0x1c1)][_0x2e2a4d(0x30d)](ue,_0x47c8a5);}[_0xf48603(0x1e0)](){const _0x41d659=_0xf48603;[[exports[_0x41d659(0x284)]],[B],[x],[F],[Y],[H],[b[_0x41d659(0x214)],{'useClass':re[_0x41d659(0x19c)]}],[I[_0x41d659(0x3a6)],{'useClass':ot}],[Me[_0x41d659(0x2f4)],{'useClass':re[_0x41d659(0x31d)]}]][_0x41d659(0x1ae)](_0x17aeed=>this[_0x41d659(0x1c6)][_0x41d659(0x365)](_0x17aeed)),this['_injector']['get'](B);}[_0xf48603(0x357)](){const _0x58ba98=_0xf48603;[[z]]['forEach'](_0x269f46=>{const _0x4ad310=_0x4bf2;this[_0x4ad310(0x221)](this[_0x4ad310(0x318)]['registerRenderModule'](l[_0x4ad310(0x33e)]['UNIVER_SHEET'],_0x269f46));}),this[_0x58ba98(0x1c6)][_0x58ba98(0x1d2)](H),this[_0x58ba98(0x1c6)][_0x58ba98(0x1d2)](Y);}['onSteady'](){this['_injector']['get'](x);}},ht(exports['UniverEditHistoryViewerPlugin'],_0xf48603(0x2fa),dt),exports[_0xf48603(0x202)]=_t([l[_0xf48603(0x231)](L[_0xf48603(0x2a1)],ce['UniverNetworkPlugin']),Z(0x1,l[_0xf48603(0x1fb)](l[_0xf48603(0x351)])),Z(0x2,$['IRenderManagerService']),Z(0x3,l['IConfigService'])],exports[_0xf48603(0x202)]),exports[_0xf48603(0x308)]=W;
1
+ 'use strict';const _0x5ff1a3=_0xb1f8;(function(_0x1d1578,_0x1a0eea){const _0x20fccc=_0xb1f8,_0x408de7=_0x1d1578();while(!![]){try{const _0x5866ca=parseInt(_0x20fccc(0x229))/0x1*(parseInt(_0x20fccc(0xf8))/0x2)+parseInt(_0x20fccc(0x182))/0x3+parseInt(_0x20fccc(0x195))/0x4+-parseInt(_0x20fccc(0x209))/0x5*(parseInt(_0x20fccc(0x102))/0x6)+-parseInt(_0x20fccc(0x114))/0x7+-parseInt(_0x20fccc(0x163))/0x8*(-parseInt(_0x20fccc(0x147))/0x9)+-parseInt(_0x20fccc(0xfb))/0xa;if(_0x5866ca===_0x1a0eea)break;else _0x408de7['push'](_0x408de7['shift']());}catch(_0x1cea06){_0x408de7['push'](_0x408de7['shift']());}}}(_0x20c1,0xd6818));var pe=Object[_0x5ff1a3(0x169)],Ee=(_0x111de7,_0x24fd7e,_0x1cc6a3)=>_0x24fd7e in _0x111de7?pe(_0x111de7,_0x24fd7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc6a3}):_0x111de7[_0x24fd7e]=_0x1cc6a3,_=(_0x2c3525,_0x44226b,_0xddfbc6)=>Ee(_0x2c3525,typeof _0x44226b!=_0x5ff1a3(0x118)?_0x44226b+'':_0x44226b,_0xddfbc6);Object['defineProperty'](exports,Symbol[_0x5ff1a3(0x1f6)],{'value':_0x5ff1a3(0x192)});const b=require('@univerjs-pro/collaboration'),re=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core'),Me=require('@univerjs/drawing'),$=require('@univerjs/engine-render'),ce=require('@univerjs/network'),L=require('@univerjs/sheets-ui'),I=require('@univerjs/ui'),C=require('@univerjs/design'),u=require('@univerjs/sheets'),E=require('rxjs'),Re=require('@univerjs-pro/sheets-sparkline'),K=require('@univerjs/data-validation'),Q=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),h=require('react/jsx-runtime'),m=require('react'),Oe=require('@univerjs-pro/collaboration-client-ui'),ue=_0x5ff1a3(0x26b),ne={};var be=Object['getOwnPropertyDescriptor'],Ne=(_0x1b8eca,_0x447118,_0x295b14,_0x479c13)=>{const _0x2c2031=_0x5ff1a3;for(var _0x463488=_0x479c13>0x1?void 0x0:_0x479c13?be(_0x447118,_0x295b14):_0x447118,_0x4f92c1=_0x1b8eca[_0x2c2031(0x21b)]-0x1,_0x283d3c;_0x4f92c1>=0x0;_0x4f92c1--)(_0x283d3c=_0x1b8eca[_0x4f92c1])&&(_0x463488=_0x283d3c(_0x463488)||_0x463488);return _0x463488;},De=(_0x452875,_0x1518bd)=>(_0x3cd438,_0x1ecb2d)=>_0x1518bd(_0x3cd438,_0x1ecb2d,_0x452875);let H=class extends l['Disposable']{constructor(_0xdbaea8){const _0x16a058=_0x5ff1a3;super(),this[_0x16a058(0x245)]=_0xdbaea8,this['_init']();}[_0x5ff1a3(0x2bf)](){const _0x7948f4=_0x5ff1a3;this['disposeWithMe'](this[_0x7948f4(0x245)][_0x7948f4(0xff)]['subscribe'](_0x20e7d6=>{const _0xa9e9d9=_0x7948f4;_0x20e7d6!=null&&_0x20e7d6[_0xa9e9d9(0xe9)]&&this[_0xa9e9d9(0x245)][_0xa9e9d9(0x16c)]({'show':!0x1});}));}};H=Ne([De(0x0,L[_0x5ff1a3(0x15e)])],H);var A=(_0x572116=>(_0x572116[_0x572116['UNDEFINED']=0x0]=_0x5ff1a3(0x23d),_0x572116[_0x572116['OK']=0x1]='OK',_0x572116[_0x572116['INTERNAL_ERROR']=0x2]=_0x5ff1a3(0x2d2),_0x572116[_0x572116[_0x5ff1a3(0x252)]=0x3]=_0x5ff1a3(0x252),_0x572116[_0x572116['NOT_FOUND']=0x4]='NOT_FOUND',_0x572116[_0x572116[_0x5ff1a3(0x28d)]=0x5]=_0x5ff1a3(0x28d),_0x572116[_0x572116['ALREADY_EXISTS']=0x6]=_0x5ff1a3(0x206),_0x572116[_0x572116[_0x5ff1a3(0x17f)]=0x7]=_0x5ff1a3(0x17f),_0x572116[_0x572116[_0x5ff1a3(0x274)]=0x8]=_0x5ff1a3(0x274),_0x572116[_0x572116[_0x5ff1a3(0x299)]=0x9]=_0x5ff1a3(0x299),_0x572116[_0x572116['LOGIN_FAILED']=0xa]=_0x5ff1a3(0x254),_0x572116[_0x572116[_0x5ff1a3(0x10e)]=0xb]=_0x5ff1a3(0x10e),_0x572116[_0x572116[_0x5ff1a3(0x1e9)]=0xc]=_0x5ff1a3(0x1e9),_0x572116[_0x572116['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5ff1a3(0xf1),_0x572116[_0x572116['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5ff1a3(0x27a),_0x572116[_0x572116['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5ff1a3(0x22e),_0x572116[_0x572116[_0x5ff1a3(0x139)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x572116[_0x572116[_0x5ff1a3(0x282)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x572116[_0x572116[_0x5ff1a3(0x194)]=0x1773]=_0x5ff1a3(0x194),_0x572116[_0x572116[_0x5ff1a3(0x21e)]=0x1b59]='APPLY_REJECT',_0x572116[_0x572116[_0x5ff1a3(0x184)]=0x1b5a]=_0x5ff1a3(0x184),_0x572116[_0x572116['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5ff1a3(0x14a),_0x572116[_0x572116['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5ff1a3(0x24e),_0x572116[_0x572116[_0x5ff1a3(0x1e8)]=0x1b5d]=_0x5ff1a3(0x1e8),_0x572116[_0x572116['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5ff1a3(0x158),_0x572116[_0x572116['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x572116[_0x572116[_0x5ff1a3(0x21a)]=0x232a]=_0x5ff1a3(0x21a),_0x572116[_0x572116[_0x5ff1a3(0x1d9)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x572116[_0x572116[_0x5ff1a3(0x29e)]=0x232c]=_0x5ff1a3(0x29e),_0x572116[_0x572116[_0x5ff1a3(0x202)]=0x232d]=_0x5ff1a3(0x202),_0x572116[_0x572116['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5ff1a3(0x220),_0x572116[_0x572116[_0x5ff1a3(0x240)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x572116[_0x572116['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5ff1a3(0x12a),_0x572116[_0x572116[_0x5ff1a3(0x1df)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x572116[_0x572116[_0x5ff1a3(0x2b4)]=0x271a]=_0x5ff1a3(0x2b4),_0x572116[_0x572116[_0x5ff1a3(0x189)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x572116[_0x572116[_0x5ff1a3(0x1bc)]=0x271c]=_0x5ff1a3(0x1bc),_0x572116[_0x572116['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5ff1a3(0x154),_0x572116[_0x572116[_0x5ff1a3(0x24f)]=0x271e]=_0x5ff1a3(0x24f),_0x572116[_0x572116[_0x5ff1a3(0xbc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x572116[_0x572116['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5ff1a3(0x247),_0x572116[_0x572116['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5ff1a3(0x181),_0x572116[_0x572116[_0x5ff1a3(0xd2)]=0x2ee1]=_0x5ff1a3(0xd2),_0x572116[_0x572116[_0x5ff1a3(0x27c)]=0x2ee2]='INVALID_INVITE_CODE',_0x572116[_0x572116[_0x5ff1a3(0x249)]=0x2ee3]=_0x5ff1a3(0x249),_0x572116[_0x572116[_0x5ff1a3(0x2c2)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x572116[_0x572116[_0x5ff1a3(0x18e)]=0x2ee5]=_0x5ff1a3(0x18e),_0x572116[_0x572116['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5ff1a3(0x2b8),_0x572116[_0x572116['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5ff1a3(0x149),_0x572116[_0x572116[_0x5ff1a3(0x185)]=0x32cb]=_0x5ff1a3(0x185),_0x572116[_0x572116[_0x5ff1a3(0x2c4)]=-0x1]=_0x5ff1a3(0x2c4),_0x572116))(A||{}),j=(_0x5d44ac=>(_0x5d44ac[_0x5d44ac[_0x5ff1a3(0x2a0)]=0x0]=_0x5ff1a3(0x2a0),_0x5d44ac[_0x5d44ac[_0x5ff1a3(0x131)]=0x1]=_0x5ff1a3(0x131),_0x5d44ac[_0x5d44ac['UNIVER_SHEET']=0x2]=_0x5ff1a3(0x16a),_0x5d44ac[_0x5d44ac[_0x5ff1a3(0x208)]=0x3]='UNIVER_SLIDE',_0x5d44ac[_0x5d44ac[_0x5ff1a3(0x24b)]=0x4]=_0x5ff1a3(0x24b),_0x5d44ac[_0x5d44ac['UNRECOGNIZED']=-0x1]=_0x5ff1a3(0x2c4),_0x5d44ac))(j||{}),y=(_0x5ac7a5=>(_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0xd6)]=0x0]=_0x5ff1a3(0xd6),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x20e)]=0x1]=_0x5ff1a3(0x20e),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x25c)]=0x2]='ManageCollaborator',_0x5ac7a5[_0x5ac7a5['Print']=0x3]=_0x5ff1a3(0x20c),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x2a7)]=0x4]=_0x5ff1a3(0x2a7),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x148)]=0x5]=_0x5ff1a3(0x148),_0x5ac7a5[_0x5ac7a5['Copy']=0x6]=_0x5ff1a3(0xd0),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x2b2)]=0x7]=_0x5ff1a3(0x2b2),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x25b)]=0x8]=_0x5ff1a3(0x25b),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1d4)]=0x9]=_0x5ff1a3(0x1d4),_0x5ac7a5[_0x5ac7a5['DeleteWorksheet']=0xa]=_0x5ff1a3(0x1b3),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x153)]=0xb]=_0x5ff1a3(0x153),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1ef)]=0xc]=_0x5ff1a3(0x1ef),_0x5ac7a5[_0x5ac7a5['CreateWorksheet']=0xd]='CreateWorksheet',_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1b9)]=0xe]=_0x5ff1a3(0x1b9),_0x5ac7a5[_0x5ac7a5['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x5ac7a5[_0x5ac7a5['InsertHyperlink']=0x10]=_0x5ff1a3(0x22b),_0x5ac7a5[_0x5ac7a5['Sort']=0x11]=_0x5ff1a3(0xe1),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x14c)]=0x12]=_0x5ff1a3(0x14c),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x23e)]=0x13]=_0x5ff1a3(0x23e),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x12c)]=0x14]=_0x5ff1a3(0x12c),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x128)]=0x15]='History',_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x171)]=0x16]='RwHgtClWdt',_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x11d)]=0x17]=_0x5ff1a3(0x11d),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x262)]=0x18]=_0x5ff1a3(0x262),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x15c)]=0x19]=_0x5ff1a3(0x15c),_0x5ac7a5[_0x5ac7a5['DeleteSheet']=0x1a]=_0x5ff1a3(0x145),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x25e)]=0x1b]=_0x5ff1a3(0x25e),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1d7)]=0x1c]=_0x5ff1a3(0x1d7),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x140)]=0x1d]=_0x5ff1a3(0x140),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x190)]=0x1e]=_0x5ff1a3(0x190),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x22d)]=0x1f]=_0x5ff1a3(0x22d),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0xea)]=0x20]=_0x5ff1a3(0xea),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x134)]=0x21]=_0x5ff1a3(0x134),_0x5ac7a5[_0x5ac7a5['SetCellValue']=0x22]=_0x5ff1a3(0xc8),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1cd)]=0x23]=_0x5ff1a3(0x1cd),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x292)]=0x24]=_0x5ff1a3(0x292),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0xe6)]=0x25]=_0x5ff1a3(0xe6),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x21d)]=0x26]=_0x5ff1a3(0x21d),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x1e3)]=0x27]=_0x5ff1a3(0x1e3),_0x5ac7a5[_0x5ac7a5['DeleteColumn']=0x28]='DeleteColumn',_0x5ac7a5[_0x5ac7a5['EditExtraObject']=0x29]=_0x5ff1a3(0x25f),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x2c7)]=0x2a]='Delete',_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x15a)]=0x2b]=_0x5ff1a3(0x15a),_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0xe0)]=0x2c]=_0x5ff1a3(0xe0),_0x5ac7a5[_0x5ac7a5['CreatePermissionObject']=0x2d]='CreatePermissionObject',_0x5ac7a5[_0x5ac7a5[_0x5ff1a3(0x2c4)]=-0x1]=_0x5ff1a3(0x2c4),_0x5ac7a5))(y||{});function ye(_0x2b10ea){const _0x253a43=_0x5ff1a3;return!!(_0x2b10ea&&_0x2b10ea[_0x253a43(0x1ab)]&&_0x2b10ea[_0x253a43(0x1ab)]!==A['OK']&&_0x2b10ea[_0x253a43(0x1ab)]!=='OK');}const ee=(_0x35a73c,_0x134a6f)=>{const _0x9192c=_0x5ff1a3;if(!_0x35a73c)return{'date':'','time':''};const _0x749a24=new Date(_0x35a73c),_0x11eaca=_0x749a24['toISOString']()[_0x9192c(0x19d)]('T')[0x0];switch(_0x134a6f){case l[_0x9192c(0x179)][_0x9192c(0x120)]:return{'date':J(_0x11eaca,_0x134a6f),'time':_0x749a24[_0x9192c(0x19f)]()+':'+String(_0x749a24[_0x9192c(0x260)]())[_0x9192c(0x1b2)](0x2,'0')};default:return{'date':J(_0x11eaca,_0x134a6f),'time':_0x749a24[_0x9192c(0x19f)]()+':'+_0x749a24[_0x9192c(0x260)]()};}},Ce=(_0x3fddc2,_0x11c609)=>{const _0x5d7e1e=_0x5ff1a3,_0x57b4b1=_0x3fddc2['user']||_0x11c609['t'](_0x5d7e1e(0x2c3));if(_0x3fddc2['commands'][_0x5d7e1e(0x293)](_0x39c736=>_0x39c736===b['RevertRevisionMutation']['id'])&&_0x3fddc2[_0x5d7e1e(0x132)]){const _0x193864=ee(_0x3fddc2[_0x5d7e1e(0x132)],_0x11c609[_0x5d7e1e(0x24c)]()),_0x366222=_0x193864[_0x5d7e1e(0x212)]+'\x20'+_0x193864[_0x5d7e1e(0x1ac)];return _0x57b4b1+'\x20'+_0x11c609['t'](_0x5d7e1e(0x17d))+'\x20'+_0x366222+'\x20'+_0x11c609['t'](_0x5d7e1e(0x228));}const _0xa03cce=we(_0x3fddc2),_0x33dbe1=_0xa03cce[_0x5d7e1e(0x21b)]===0x1?_0x11c609['t'](_0xa03cce[0x0]):''+_0x11c609['t'](_0xa03cce[0x0])+_0x11c609['t'](_0x5d7e1e(0x1ec));return _0x57b4b1+'\x20'+_0x33dbe1;};function we(_0x1b839f){const _0x41cbb3=_0x5ff1a3;if(_0x1b839f[_0x41cbb3(0x144)]['length']===0x0)return[''];const _0x35d171=_0x41cbb3(0x151),_0x1b9f70=_0x35d171+_0x41cbb3(0x16e),_0x49f50e=[{'id':b['CreateUnitMutation']['id'],'action':_0x35d171+'createSheet'},{'id':b[_0x41cbb3(0x26e)]['id'],'action':_0x35d171+'revertSheet'},{'id':u[_0x41cbb3(0xc1)]['id'],'action':_0x35d171+_0x41cbb3(0xc0)},{'id':u[_0x41cbb3(0x165)]['id'],'action':_0x35d171+_0x41cbb3(0xdf)},{'id':u[_0x41cbb3(0xc3)]['id'],'action':_0x35d171+'setFrozen'},{'id':le[_0x41cbb3(0x18d)]['id'],'action':_0x35d171+_0x41cbb3(0x2d0)},{'id':K[_0x41cbb3(0x100)]['id'],'action':_0x35d171+_0x41cbb3(0x2ce)},{'id':K[_0x41cbb3(0x2bd)]['id'],'action':_0x35d171+'setDV'},{'id':Q[_0x41cbb3(0x196)]['id'],'action':_0x35d171+_0x41cbb3(0x14e)},{'id':Q[_0x41cbb3(0x152)]['id'],'action':_0x35d171+_0x41cbb3(0x14e)},{'id':u[_0x41cbb3(0x1f4)]['id'],'action':_0x35d171+_0x41cbb3(0x110)},{'id':u[_0x41cbb3(0x111)]['id'],'action':_0x35d171+_0x41cbb3(0x110)},{'id':Re[_0x41cbb3(0x23c)]['id'],'action':_0x35d171+_0x41cbb3(0x28b)},{'id':u[_0x41cbb3(0x1d3)]['id'],'action':_0x35d171+_0x41cbb3(0x213)},{'id':u[_0x41cbb3(0x1a6)]['id'],'action':_0x35d171+_0x41cbb3(0x213)}][_0x41cbb3(0x266)](_0xe1d5d9=>_0x1b839f['commands'][_0x41cbb3(0x20d)](_0xe1d5d9['id']));return _0x49f50e!=null&&_0x49f50e[_0x41cbb3(0x21b)]?_0x49f50e[_0x41cbb3(0x18b)](_0x1e3447=>_0x1e3447[_0x41cbb3(0x137)]):[_0x1b9f70];}function J(_0x243fcb,_0x5cec12){const _0x37e139=_0x5ff1a3,[_0x235679,_0x26faa3,_0x247e87]=new Date()[_0x37e139(0x246)]()['split']('T')[0x0][_0x37e139(0x19d)]('-'),[_0x1859c4,_0x9e01ad,_0xa3d17e]=_0x243fcb[_0x37e139(0x19d)]('-'),_0x1d81ca=_0x235679===_0x1859c4&&_0x26faa3===_0x9e01ad&&_0x247e87===_0xa3d17e;let _0x3ff188='',_0x103357='',_0x230d6f='';switch(_0x5cec12){case l[_0x37e139(0x179)][_0x37e139(0x120)]:return _0x1d81ca?'今天':(_0x3ff188=_0x235679===_0x1859c4?'':_0x1859c4+'年',_0x103357=_0x9e01ad+'月',_0x230d6f=_0xa3d17e+'日',''+_0x3ff188+_0x103357+_0x230d6f);default:return _0x1d81ca?_0x37e139(0x173):(_0x3ff188=_0x235679===_0x1859c4?'':_0x1859c4+'-',_0x103357=_0x9e01ad+'-',_0x230d6f=''+_0xa3d17e,''+_0x3ff188+_0x103357+_0x230d6f);}}function Pe(_0xc18750){const _0x1fc9ba=_0x5ff1a3;return _0xc18750?_0xc18750[_0x1fc9ba(0x250)]((_0x45eacc,_0x4b5ca9)=>{const _0x4a0988=_0x1fc9ba,_0x144419=new Date(_0x4b5ca9[_0x4a0988(0x1ac)])[_0x4a0988(0x246)]()[_0x4a0988(0x19d)]('T')[0x0];return _0x45eacc['length']>0x0&&_0x45eacc[_0x45eacc[_0x4a0988(0x21b)]-0x1][_0x4a0988(0x15f)]===_0x144419?_0x45eacc[_0x45eacc[_0x4a0988(0x21b)]-0x1][_0x4a0988(0xf3)][_0x4a0988(0x18f)](_0x4b5ca9):_0x45eacc[_0x4a0988(0x18f)]({'dateString':_0x144419,'versions':[_0x4b5ca9]}),_0x45eacc;},[]):[];}var Te=Object['getOwnPropertyDescriptor'],Le=(_0x26b0bf,_0x23501c,_0x3a4994,_0x301db6)=>{const _0x44275f=_0x5ff1a3;for(var _0x1128e0=_0x301db6>0x1?void 0x0:_0x301db6?Te(_0x23501c,_0x3a4994):_0x23501c,_0x101254=_0x26b0bf[_0x44275f(0x21b)]-0x1,_0x552a40;_0x101254>=0x0;_0x101254--)(_0x552a40=_0x26b0bf[_0x101254])&&(_0x1128e0=_0x552a40(_0x1128e0)||_0x1128e0);return _0x1128e0;},w=(_0x4b8b85,_0x3375d2)=>(_0x57597a,_0x3d2ab6)=>_0x3375d2(_0x57597a,_0x3d2ab6,_0x4b8b85);const Ve=_0x5ff1a3(0x1e4);let F=class extends l['Disposable']{constructor(_0x93b15c,_0x40c819,_0x2f9d6f,_0x219a99,_0x3fc942,_0x2ecd99){const _0x5abad7=_0x5ff1a3;super(),_(this,_0x5abad7(0xdc),new Map()),(this['_snapshotServerService']=_0x93b15c,this[_0x5abad7(0x1ed)]=_0x40c819,this['_commandService']=_0x2f9d6f,this[_0x5abad7(0x124)]=_0x219a99,this[_0x5abad7(0xce)]=_0x3fc942,this[_0x5abad7(0x14f)]=_0x2ecd99);}[_0x5ff1a3(0x233)](){const _0x3306a5=_0x5ff1a3;this[_0x3306a5(0xdc)][_0x3306a5(0xca)](),super['dispose']();}async[_0x5ff1a3(0x1b7)](_0x3d18a0,_0x3b41f7){const _0x12246f=_0x5ff1a3,_0x221fc4=this[_0x12246f(0x130)]()+'/'+_0x3d18a0+_0x12246f(0x27b)+(_0x3b41f7?'&lastLabel='+_0x3b41f7:'');try{const _0x8074d8=(await this[_0x12246f(0xce)]['get'](_0x221fc4))[_0x12246f(0x281)];if(_0x8074d8&&_0x8074d8[_0x12246f(0xd3)]&&_0x8074d8['error']['code']===A['OK']){const {hasMore:_0x119027,lastLabel:_0x56e284}=_0x8074d8,_0x1949bf=$e(_0x8074d8),_0xde73c9=_0x8074d8[_0x12246f(0x1b1)][_0x12246f(0x14b)];return{'hasMore':_0x119027,'lastLabel':_0x56e284,'versions':_0x1949bf,'members':_0xde73c9};}}catch(_0x1c36f4){console[_0x12246f(0xd3)](_0x1c36f4);}return null;}['_getAPIPrefix'](){const _0x20806e=_0x5ff1a3;var _0x181781;const _0x53382f=this['_configService'][_0x20806e(0xdd)](ue);return(_0x181781=_0x53382f==null?void 0x0:_0x53382f['historyListServerUrl'])!=null?_0x181781:Ve;}async[_0x5ff1a3(0x2a2)](_0x551dd5,_0x75ad76,_0x1c016c){const _0x5397b6=_0x5ff1a3;var _0x472333,_0x55201e;_0x1c016c===void 0x0&&(_0x1c016c={}),this[_0x5397b6(0xdc)][_0x5397b6(0x2c6)](_0x551dd5)||this[_0x5397b6(0xdc)][_0x5397b6(0x251)](_0x551dd5,new Map());const {snapshot:_0x46d730,changesets:_0x1316ff,error:_0x2aea98}=await this[_0x5397b6(0x17e)][_0x5397b6(0x289)](_0x1c016c,{'unitID':_0x551dd5,'type':j[_0x5397b6(0x16a)],'revision':_0x75ad76});if(ye(_0x2aea98)||!_0x46d730||!_0x46d730[_0x5397b6(0x234)])throw new Error(_0x5397b6(0x1cc));const _0x4f7b80=(_0x472333=_0x1316ff==null?void 0x0:_0x1316ff[_0x5397b6(0x21b)])!=null?_0x472333:0x0;if(_0x75ad76!==0x0&&_0x46d730[_0x5397b6(0x129)]+_0x4f7b80!==_0x75ad76)throw new Error(_0x5397b6(0x297));const {workbook:_0x33a22e}=_0x46d730,_0x591e96=_0x33a22e[_0x5397b6(0x1de)]?Object[_0x5397b6(0x28e)](_0x33a22e[_0x5397b6(0x1de)])[_0x5397b6(0x18b)](([_0x9e0622,_0x6de7b1])=>{var _0x194ad6,_0x2c6b32;return(_0x2c6b32=(_0x194ad6=_0x6de7b1['blocks'])==null?void 0x0:_0x194ad6['map'](_0xe6e672=>_0xe6e672))!=null?_0x2c6b32:[];})[_0x5397b6(0x13f)]():[],_0x50d182=(await Promise[_0x5397b6(0x1a0)](_0x591e96[_0x5397b6(0x18b)](_0x1ea559=>this['_snapshotServerService'][_0x5397b6(0x238)](_0x1c016c,{'unitID':_0x551dd5,'type':j[_0x5397b6(0x16a)],'blockID':_0x1ea559})[_0x5397b6(0x1b6)](_0x3707bc=>_0x3707bc[_0x5397b6(0x1fb)]))))[_0x5397b6(0x266)](_0x41aa13=>!!_0x41aa13),_0x246c53=b[_0x5397b6(0xe5)](_0x46d730,_0x50d182,_0x1c016c);return(_0x55201e=this[_0x5397b6(0xdc)][_0x5397b6(0x123)](_0x551dd5))==null||_0x55201e[_0x5397b6(0x251)](_0x75ad76,{'workbook':_0x246c53}),new Promise(_0x2e9e91=>{const _0x120645=_0x5397b6,_0x626c1a=this[_0x120645(0x1ed)]['getCurrentUnitForType'](l[_0x120645(0x2af)][_0x120645(0x16a)]);_0x626c1a?(this[_0x120645(0x1ed)][_0x120645(0xda)](_0x626c1a[_0x120645(0x28f)]()),setTimeout(()=>{const _0x8068ab=_0x120645;this[_0x8068ab(0xd7)](_0x246c53,_0x1316ff),_0x2e9e91(!0x0);},0x0)):(this[_0x120645(0xd7)](_0x246c53,_0x1316ff),_0x2e9e91(!0x0));});}[_0x5ff1a3(0xd7)](_0x34a849,_0x3e77a5){const _0xc1d633=_0x5ff1a3,_0x34f653=this[_0xc1d633(0x1ed)][_0xc1d633(0x2cd)](l[_0xc1d633(0x2af)][_0xc1d633(0x16a)],_0x34a849);this[_0xc1d633(0x1ed)][_0xc1d633(0xe8)](_0x34f653[_0xc1d633(0x28f)]());const _0x1865bc=this[_0xc1d633(0x14f)]['interceptor'][_0xc1d633(0xee)](this[_0xc1d633(0x14f)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);return _0x3e77a5==null||_0x3e77a5['forEach'](_0xdcd935=>{const _0x1f84ac=_0xc1d633,_0x3c328a=_0xdcd935[_0x1f84ac(0x1eb)][_0x1f84ac(0x18b)](_0x1c1c4a=>({'id':_0x1c1c4a['id'],'params':JSON[_0x1f84ac(0x1fe)](_0x1c1c4a[_0x1f84ac(0x29d)])}));({..._0xdcd935,'mutations':_0x1865bc(_0x3c328a,null)||_0x3c328a}[_0x1f84ac(0x1eb)][_0x1f84ac(0x188)](_0x5ac855=>{const _0x3c8124=_0x1f84ac;this['_commandService']['hasCommand'](_0x5ac855['id'])&&this[_0x3c8124(0x1d0)]['syncExecuteCommand'](_0x5ac855['id'],_0x5ac855[_0x3c8124(0x225)]);}));}),_0x34f653;}};F=Le([w(0x0,b['ISnapshotServerService']),w(0x1,l[_0x5ff1a3(0x157)]),w(0x2,l[_0x5ff1a3(0x2ab)]),w(0x3,l[_0x5ff1a3(0x204)]),w(0x4,l[_0x5ff1a3(0x2a9)](ce[_0x5ff1a3(0x2a5)])),w(0x5,l['Inject'](b['CompressMutationService']))],F);function $e(_0x29b8a7){const _0x211a6c=_0x5ff1a3;var _0x52f8db,_0x4b22c7;const _0x3cc3fb=[],{entities:_0x522399,historyIds:_0x4d76a2}=_0x29b8a7,{datas:_0x4afe1c,users:_0x432197}=_0x522399;for(const _0x298624 of _0x4d76a2)if(_0x4afe1c[_0x298624]){const _0x5b736d=!!((_0x52f8db=_0x432197[_0x4afe1c[_0x298624]['userId']])!=null&&_0x52f8db['anonymous']);_0x3cc3fb[_0x211a6c(0x18f)]({'unitId':_0x4afe1c[_0x298624][_0x211a6c(0x16d)],'user':_0x5b736d?'':((_0x4b22c7=_0x432197==null?void 0x0:_0x432197[_0x4afe1c[_0x298624]['userId']])==null?void 0x0:_0x4b22c7[_0x211a6c(0x2a8)])||'','isAnonymous':_0x5b736d,'id':_0x298624,'time':_0x4afe1c[_0x298624][_0x211a6c(0x2b7)]?Number(_0x4afe1c[_0x298624][_0x211a6c(0x2b7)]):void 0x0,'commands':_0x4afe1c[_0x298624]['command'],'startRev':Number(_0x4afe1c[_0x298624][_0x211a6c(0x18c)]),'endRev':Number(_0x4afe1c[_0x298624]['endRevision']),'recoverTime':_0x4afe1c[_0x298624][_0x211a6c(0x132)]?Number(_0x4afe1c[_0x298624][_0x211a6c(0x132)]):void 0x0});}return _0x3cc3fb;}var xe=Object[_0x5ff1a3(0x223)],ke=(_0x2b7a5e,_0x6efa59,_0x3a9328,_0x340a06)=>{for(var _0x30576b=_0x340a06>0x1?void 0x0:_0x340a06?xe(_0x6efa59,_0x3a9328):_0x6efa59,_0x3121d3=_0x2b7a5e['length']-0x1,_0x2e5b33;_0x3121d3>=0x0;_0x3121d3--)(_0x2e5b33=_0x2b7a5e[_0x3121d3])&&(_0x30576b=_0x2e5b33(_0x30576b)||_0x30576b);return _0x30576b;},k=(_0x449f33,_0x73c66e)=>(_0x2ed3fe,_0x504f0d)=>_0x73c66e(_0x2ed3fe,_0x504f0d,_0x449f33),W=(_0x239a0c=>(_0x239a0c[_0x5ff1a3(0x298)]='entered',_0x239a0c['Exited']=_0x5ff1a3(0xd8),_0x239a0c['Error']='error',_0x239a0c))(W||{}),V=(_0x2513ef=>(_0x2513ef['Init']=_0x5ff1a3(0x136),_0x2513ef[_0x5ff1a3(0x26f)]=_0x5ff1a3(0x2bb),_0x2513ef[_0x5ff1a3(0x278)]=_0x5ff1a3(0x16f),_0x2513ef))(V||{});const Ue=_0x5ff1a3(0xc2);exports['HistoryManagerService']=class extends l[_0x5ff1a3(0x1bb)]{constructor(_0x36407b,_0x251d18,_0x4b88ef,_0x3bbbf7){const _0x222a0d=_0x5ff1a3;super(),_(this,_0x222a0d(0x2c5),new E[(_0x222a0d(0xcd))]([])),_(this,_0x222a0d(0x11b),this['_versions$'][_0x222a0d(0x283)]()),_(this,_0x222a0d(0x103),new E['BehaviorSubject']('')),_(this,_0x222a0d(0x20f),this[_0x222a0d(0x103)][_0x222a0d(0x283)]()),_(this,'_status$',new E[(_0x222a0d(0xcd))](_0x222a0d(0x210))),_(this,'status$',this[_0x222a0d(0x1fa)]['asObservable']()),_(this,_0x222a0d(0xc4),new E[(_0x222a0d(0xcd))](0x0)),_(this,_0x222a0d(0xf7),this[_0x222a0d(0xc4)][_0x222a0d(0x283)]()),_(this,_0x222a0d(0x23b),new E['BehaviorSubject']('')),_(this,_0x222a0d(0x10c),this[_0x222a0d(0x23b)][_0x222a0d(0x283)]()),_(this,_0x222a0d(0x242),!0x1),_(this,_0x222a0d(0x237),new E['BehaviorSubject'](_0x222a0d(0x136))),_(this,_0x222a0d(0x168),this['_loadingState$']['asObservable']()),_(this,_0x222a0d(0x17b),null),_(this,_0x222a0d(0x2ad),!0x0),_(this,_0x222a0d(0xe2),new Map()),_(this,_0x222a0d(0xd1)),_(this,_0x222a0d(0x187)),_(this,_0x222a0d(0xfd)),_(this,_0x222a0d(0x275),!0x1),(this[_0x222a0d(0x10b)]=_0x36407b,this['_confirmService']=_0x251d18,this[_0x222a0d(0x1cf)]=_0x4b88ef,this[_0x222a0d(0xbe)]=_0x3bbbf7);}async[_0x5ff1a3(0x2a3)](_0x5ee5e6,_0x1f072a,_0x423a28){const _0x43748c=_0x5ff1a3;this[_0x43748c(0xd1)]=_0x1f072a,this[_0x43748c(0x275)]=_0x423a28,this[_0x43748c(0x23b)][_0x43748c(0x280)](_0x5ee5e6),this['_fetching']=!0x0;const _0xd6cffa=await this[_0x43748c(0xbe)][_0x43748c(0x1b7)](_0x5ee5e6);if(this[_0x43748c(0x242)]=!0x1,_0xd6cffa){const {versions:_0xdf2d2d,lastLabel:_0x1e7e6b,hasMore:_0x3d993d,members:_0x2c0f84}=_0xd6cffa;_0xdf2d2d[_0x43748c(0x21b)]===0x0&&_0xdf2d2d[_0x43748c(0x18f)]({'unitId':_0x5ee5e6,'id':Ue,'startRev':0x1,'endRev':0x0,'time':Date[_0x43748c(0x1ff)](),'user':this['_localeService']['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x43748c(0x20b)](_0xdf2d2d,_0x3d993d,_0x1e7e6b,_0x2c0f84),this[_0x43748c(0x103)][_0x43748c(0x280)](_0xdf2d2d[0x0]['id']);}else this[_0x43748c(0x1fa)][_0x43748c(0x280)](_0x43748c(0xd3));}async[_0x5ff1a3(0x11a)](){const _0x7e643e=_0x5ff1a3;if(!this['_lastLabel']||!this[_0x7e643e(0x2ad)]||this[_0x7e643e(0x242)])return!0x1;this[_0x7e643e(0x242)]=!0x0;const _0x4d939b=await this[_0x7e643e(0xbe)][_0x7e643e(0x1b7)](this[_0x7e643e(0x16d)],this[_0x7e643e(0x17b)]);if(this[_0x7e643e(0x242)]=!0x1,_0x4d939b){const {versions:_0x500362,lastLabel:_0x2e037a,hasMore:_0x17e677,members:_0x3d0cf5}=_0x4d939b;this[_0x7e643e(0x20b)](_0x500362,_0x17e677,_0x2e037a,_0x3d0cf5);}else this[_0x7e643e(0x10b)][_0x7e643e(0xe9)]({'content':this[_0x7e643e(0x1cf)]['t']('editHistory.panel.listFetchError'),'type':C[_0x7e643e(0x2ae)]['Error'],'duration':0xbb8});return!0x0;}async[_0x5ff1a3(0x20a)](_0x154cdd){const _0x4f771c=_0x5ff1a3;var _0x335bf0;const _0x8982b8=(_0x335bf0=this[_0x4f771c(0x2c5)][_0x4f771c(0xdb)])==null?void 0x0:_0x335bf0[_0x4f771c(0xf2)](_0x43a161=>_0x43a161['id']===_0x154cdd),{endRev:_0x26ed01}=_0x8982b8||{};_0x26ed01||_0x26ed01===0x0?(this[_0x4f771c(0x237)]['next'](_0x4f771c(0x2bb)),await this[_0x4f771c(0xbe)]['loadSheet'](this[_0x4f771c(0x16d)],_0x26ed01),this['_loadingState$'][_0x4f771c(0x280)](_0x4f771c(0x16f))):this[_0x4f771c(0x1fa)][_0x4f771c(0x280)](_0x4f771c(0xd3));}async[_0x5ff1a3(0xe4)](_0x38da29){const _0x15f8d6=_0x5ff1a3,_0xc664f4=_0x38da29?this[_0x15f8d6(0x215)](_0x38da29):this[_0x15f8d6(0x22a)]();if(!_0xc664f4)return;const _0x3c6e48=_0xc664f4[_0x15f8d6(0x172)],_0x21822f=ee(_0xc664f4[_0x15f8d6(0x1ac)],this[_0x15f8d6(0x1cf)][_0x15f8d6(0x24c)]());await this[_0x15f8d6(0x2b5)][_0x15f8d6(0x271)]({'id':_0x15f8d6(0x180),'title':{'title':this[_0x15f8d6(0x1cf)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this['_localeService']['t'](_0x15f8d6(0x232))+':\x20('+_0x21822f[_0x15f8d6(0x212)]+'\x20'+_0x21822f[_0x15f8d6(0x1ac)]+')'},'cancelText':this[_0x15f8d6(0x1cf)]['t'](_0x15f8d6(0xcf)),'confirmText':this['_localeService']['t'](_0x15f8d6(0x150))})&&this[_0x15f8d6(0xc4)]['next'](_0x3c6e48);}['_updateVersions'](_0x16b403,_0x48414a,_0x535ec1,_0xd8f773){const _0x1a6495=_0x5ff1a3;this[_0x1a6495(0x2c5)][_0x1a6495(0x280)](this[_0x1a6495(0x2c5)]['value'][_0x1a6495(0x1d2)](_0x16b403)),this[_0x1a6495(0x2ad)]=_0x48414a,this[_0x1a6495(0x17b)]=_0x535ec1,_0xd8f773&&Object[_0x1a6495(0x272)](_0xd8f773)[_0x1a6495(0x188)](_0x2dbe2b=>this['_members'][_0x1a6495(0x251)](_0x2dbe2b,_0xd8f773[_0x2dbe2b]));}[_0x5ff1a3(0x22a)](){const _0x42ad33=_0x5ff1a3;return this['getVersion'](this[_0x42ad33(0x103)]['value']);}[_0x5ff1a3(0x215)](_0x2bf04c){const _0x20652c=_0x5ff1a3;var _0x406a8c;return(_0x406a8c=this['_versions$']['value'])==null?void 0x0:_0x406a8c[_0x20652c(0xf2)](_0x296e7a=>_0x296e7a['id']===_0x2bf04c);}[_0x5ff1a3(0x115)](_0x5834e7){const _0x110dae=_0x5ff1a3;return this[_0x110dae(0xe2)][_0x110dae(0x123)](_0x5834e7);}[_0x5ff1a3(0x1d6)](){const _0x3cd94f=_0x5ff1a3;this['_maskElement']=document[_0x3cd94f(0x259)](_0x3cd94f(0x156)),this['_maskElement'][_0x3cd94f(0x2be)]=_0x3cd94f(0xcb),this[_0x3cd94f(0xfd)]['style'][_0x3cd94f(0x2d1)]=_0x3cd94f(0x1da),this['_maskElement'][_0x3cd94f(0x18a)]['top']='0',this[_0x3cd94f(0xfd)]['style'][_0x3cd94f(0x167)]='0',this['_maskElement']['style'][_0x3cd94f(0x214)]=_0x3cd94f(0x138),this[_0x3cd94f(0xfd)]['style'][_0x3cd94f(0x24d)]=_0x3cd94f(0x138),this[_0x3cd94f(0xfd)]['style'][_0x3cd94f(0x113)]=_0x3cd94f(0x2c1),this['_maskElement'][_0x3cd94f(0x18a)][_0x3cd94f(0x135)]=_0x3cd94f(0x294),this[_0x3cd94f(0xfd)][_0x3cd94f(0x18a)][_0x3cd94f(0x1a3)]=_0x3cd94f(0x29b),this[_0x3cd94f(0xfd)]['style'][_0x3cd94f(0x1f3)]='center',this['_maskElement']['style']['zIndex']='1000',this['_maskElement']['style']['display']=_0x3cd94f(0x19c),this[_0x3cd94f(0x187)][_0x3cd94f(0x2b6)](this['_maskElement']);}[_0x5ff1a3(0x176)](){const _0x2df380=_0x5ff1a3;var _0x53354b;const _0x5697ec=(_0x53354b=document[_0x2df380(0x1ae)](this['_historyContainerId']))==null?void 0x0:_0x53354b[_0x2df380(0x13d)](_0x2df380(0x222));_0x5697ec&&(this[_0x2df380(0x187)]=_0x5697ec,this['_createMask']());}['showMask'](){const _0xca6f3a=_0x5ff1a3;this[_0xca6f3a(0x187)]||this[_0xca6f3a(0x176)](),this[_0xca6f3a(0xfd)]&&(this[_0xca6f3a(0xfd)][_0xca6f3a(0x18a)][_0xca6f3a(0x1a3)]=_0xca6f3a(0x29b));}[_0x5ff1a3(0xe7)](){const _0x5b1f00=_0x5ff1a3;this['_maskElement']&&(this[_0x5b1f00(0xfd)]['style'][_0x5b1f00(0x1a3)]=_0x5b1f00(0x19c));}set[_0x5ff1a3(0x21f)](_0x4ece83){const _0x9d058f=_0x5ff1a3;this[_0x9d058f(0x1fa)][_0x9d058f(0x280)](_0x4ece83);}set[_0x5ff1a3(0xd4)](_0x495cbd){const _0xe91b57=_0x5ff1a3;_0x495cbd!==this['_currentVersion$'][_0xe91b57(0xdb)]&&this[_0xe91b57(0x103)]['next'](_0x495cbd);}get[_0x5ff1a3(0xd4)](){const _0x4836f8=_0x5ff1a3;return this[_0x4836f8(0x103)][_0x4836f8(0xdb)];}set[_0x5ff1a3(0x16d)](_0x2bf26c){const _0x3300a9=_0x5ff1a3;this[_0x3300a9(0x23b)][_0x3300a9(0x280)](_0x2bf26c);}get['unitId'](){const _0x6cb46b=_0x5ff1a3;return this['_unitId$'][_0x6cb46b(0xdb)];}get[_0x5ff1a3(0x29f)](){return this['_canRevert'];}get[_0x5ff1a3(0x2ca)](){const _0x3a4d26=_0x5ff1a3;return this[_0x3a4d26(0x237)][_0x3a4d26(0xdb)];}},exports[_0x5ff1a3(0x19e)]=ke([k(0x0,I[_0x5ff1a3(0x175)]),k(0x1,I[_0x5ff1a3(0x161)]),k(0x2,l[_0x5ff1a3(0x2a9)](l[_0x5ff1a3(0x1e1)])),k(0x3,l[_0x5ff1a3(0x2a9)](F))],exports['HistoryManagerService']);var R=function(){const _0x24b529=_0x5ff1a3;return R=Object['assign']||function(_0x11b8d5){const _0xc7a8d2=_0xb1f8;for(var _0x2ac764,_0x31c836=0x1,_0x557d95=arguments[_0xc7a8d2(0x21b)];_0x31c836<_0x557d95;_0x31c836++){_0x2ac764=arguments[_0x31c836];for(var _0x2bc090 in _0x2ac764)Object[_0xc7a8d2(0x1c4)]['hasOwnProperty'][_0xc7a8d2(0x277)](_0x2ac764,_0x2bc090)&&(_0x11b8d5[_0x2bc090]=_0x2ac764[_0x2bc090]);}return _0x11b8d5;},R[_0x24b529(0x177)](this,arguments);},He=function(_0x19b25f,_0x219cc7){const _0x49400b=_0x5ff1a3;var _0x88062d={};for(var _0x467d1d in _0x19b25f)Object['prototype'][_0x49400b(0x264)][_0x49400b(0x277)](_0x19b25f,_0x467d1d)&&_0x219cc7[_0x49400b(0x2ba)](_0x467d1d)<0x0&&(_0x88062d[_0x467d1d]=_0x19b25f[_0x467d1d]);if(_0x19b25f!=null&&typeof Object[_0x49400b(0x27e)]=='function'){for(var _0x57043b=0x0,_0x467d1d=Object[_0x49400b(0x27e)](_0x19b25f);_0x57043b<_0x467d1d[_0x49400b(0x21b)];_0x57043b++)_0x219cc7['indexOf'](_0x467d1d[_0x57043b])<0x0&&Object[_0x49400b(0x1c4)][_0x49400b(0x15d)][_0x49400b(0x277)](_0x19b25f,_0x467d1d[_0x57043b])&&(_0x88062d[_0x467d1d[_0x57043b]]=_0x19b25f[_0x467d1d[_0x57043b]]);}return _0x88062d;},X=m[_0x5ff1a3(0x285)](function(_0x2be88e,_0x25d8c2){const _0x34b46f=_0x5ff1a3;var _0x5daed6=_0x2be88e['icon'],_0x2c59d4=_0x2be88e['id'],_0x3572b8=_0x2be88e['className'],_0xabde75=_0x2be88e[_0x34b46f(0x29a)],_0x1714d3=He(_0x2be88e,[_0x34b46f(0x1e2),'id',_0x34b46f(0x2be),_0x34b46f(0x29a)]),_0x5a7178='univerjs-icon\x20univerjs-icon-'['concat'](_0x2c59d4,'\x20')[_0x34b46f(0x1d2)](_0x3572b8||'')[_0x34b46f(0x28a)](),_0xd2c623=m[_0x34b46f(0x239)]('_'[_0x34b46f(0x1d2)](Be()));return _e(_0x5daed6,''['concat'](_0x2c59d4),{'defIds':_0x5daed6[_0x34b46f(0x14d)],'idSuffix':_0xd2c623[_0x34b46f(0x117)]},R({'ref':_0x25d8c2,'className':_0x5a7178},_0x1714d3),_0xabde75);});function _e(_0x5aa296,_0xc738eb,_0x55aae3,_0x2089f0,_0x52d1dc){const _0x477542=_0x5ff1a3;return m['createElement'](_0x5aa296[_0x477542(0x243)],R(R({'key':_0xc738eb},je(_0x5aa296,_0x55aae3,_0x52d1dc)),_0x2089f0),(Fe(_0x5aa296,_0x55aae3)[_0x477542(0x253)]||[])[_0x477542(0x18b)](function(_0x42fb9d,_0x5985cc){const _0x4f7279=_0x477542;return _e(_0x42fb9d,''[_0x4f7279(0x1d2)](_0xc738eb,'-')[_0x4f7279(0x1d2)](_0x5aa296[_0x4f7279(0x243)],'-')[_0x4f7279(0x1d2)](_0x5985cc),_0x55aae3,void 0x0,_0x52d1dc);}));}function je(_0x43144b,_0x387339,_0x3c0823){const _0x5e5b6f=_0x5ff1a3;var _0x1fc8ab=R({},_0x43144b[_0x5e5b6f(0x26a)]);_0x3c0823!=null&&_0x3c0823[_0x5e5b6f(0x1db)]&&_0x1fc8ab[_0x5e5b6f(0x1ca)]===_0x5e5b6f(0x1db)&&(_0x1fc8ab[_0x5e5b6f(0x1ca)]=_0x3c0823[_0x5e5b6f(0x1db)]),_0x43144b[_0x5e5b6f(0x243)]===_0x5e5b6f(0x199)&&_0x1fc8ab['id']&&(_0x1fc8ab['id']=_0x1fc8ab['id']+_0x387339[_0x5e5b6f(0x1f9)]),Object['entries'](_0x1fc8ab)[_0x5e5b6f(0x188)](function(_0x371ac1){const _0x24fad2=_0x5e5b6f;var _0x18f052=_0x371ac1[0x0],_0x14dcd7=_0x371ac1[0x1];_0x18f052===_0x24fad2(0x199)&&typeof _0x14dcd7=='string'&&(_0x1fc8ab[_0x18f052]=_0x14dcd7[_0x24fad2(0x1bf)](/url\(#(.*)\)/,_0x24fad2(0x126)[_0x24fad2(0x1d2)](_0x387339[_0x24fad2(0x1f9)],')')));});var _0x395374=_0x387339[_0x5e5b6f(0x14d)];return!_0x395374||_0x395374['length']===0x0||(_0x43144b[_0x5e5b6f(0x243)]==='use'&&_0x1fc8ab[_0x5e5b6f(0x286)]&&(_0x1fc8ab['xlink:href']=_0x1fc8ab['xlink:href']+_0x387339['idSuffix']),Object[_0x5e5b6f(0x28e)](_0x1fc8ab)[_0x5e5b6f(0x188)](function(_0x20f2e4){const _0x190bb5=_0x5e5b6f;var _0x17820d=_0x20f2e4[0x0],_0x2f57e8=_0x20f2e4[0x1];typeof _0x2f57e8=='string'&&(_0x1fc8ab[_0x17820d]=_0x2f57e8[_0x190bb5(0x1bf)](/url\(#(.*)\)/,_0x190bb5(0x126)[_0x190bb5(0x1d2)](_0x387339[_0x190bb5(0x1f9)],')')));})),_0x1fc8ab;}function Fe(_0x2561cc,_0x3364ef){const _0x4b17fd=_0x5ff1a3;var _0x5f3165,_0x55b07f=_0x3364ef['defIds'];return!_0x55b07f||_0x55b07f[_0x4b17fd(0x21b)]===0x0?_0x2561cc:_0x2561cc[_0x4b17fd(0x243)]===_0x4b17fd(0x1ba)&&(!((_0x5f3165=_0x2561cc['children'])===null||_0x5f3165===void 0x0)&&_0x5f3165[_0x4b17fd(0x21b)])?R(R({},_0x2561cc),{'children':_0x2561cc['children'][_0x4b17fd(0x18b)](function(_0x475bf8){const _0x480b3d=_0x4b17fd;return typeof _0x475bf8[_0x480b3d(0x26a)]['id']==_0x480b3d(0x255)&&_0x55b07f&&_0x55b07f[_0x480b3d(0x20d)](_0x475bf8['attrs']['id'])?R(R({},_0x475bf8),{'attrs':R(R({},_0x475bf8[_0x480b3d(0x26a)]),{'id':_0x475bf8[_0x480b3d(0x26a)]['id']+_0x3364ef[_0x480b3d(0x1f9)]})}):_0x475bf8;})}):_0x2561cc;}function Be(){const _0x280859=_0x5ff1a3;return Math['random']()[_0x280859(0x27d)](0x24)[_0x280859(0x1fd)](0x2,0x8);}X[_0x5ff1a3(0x166)]=_0x5ff1a3(0x295);var Ye={'tag':_0x5ff1a3(0xfe),'attrs':{'xmlns':_0x5ff1a3(0x2b0),'fill':'none','viewBox':_0x5ff1a3(0x201),'width':_0x5ff1a3(0xd9),'height':_0x5ff1a3(0xd9)},'children':[{'tag':_0x5ff1a3(0x174),'attrs':{'fill':'currentColor','d':_0x5ff1a3(0x19a)}}]},he=m[_0x5ff1a3(0x285)](function(_0x510630,_0x1d3c50){const _0x410547=_0x5ff1a3;return m[_0x410547(0x259)](X,Object[_0x410547(0xfc)]({},_0x510630,{'id':_0x410547(0x1d1),'ref':_0x1d3c50,'icon':Ye}));});he[_0x5ff1a3(0x166)]=_0x5ff1a3(0x12d);function _0xb1f8(_0x1aaacb,_0x6ef13a){const _0x20c10b=_0x20c1();return _0xb1f8=function(_0xb1f86b,_0x426fdc){_0xb1f86b=_0xb1f86b-0xbc;let _0x2a66e8=_0x20c10b[_0xb1f86b];return _0x2a66e8;},_0xb1f8(_0x1aaacb,_0x6ef13a);}var Ae={'tag':_0x5ff1a3(0xfe),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ff1a3(0x19c),'viewBox':'0\x200\x2016\x2016','width':_0x5ff1a3(0xd9),'height':'1em'},'children':[{'tag':_0x5ff1a3(0x174),'attrs':{'fill':_0x5ff1a3(0x1b5),'d':_0x5ff1a3(0x13b),'fillOpacity':0.2,'fillRule':_0x5ff1a3(0x2b9),'clipRule':_0x5ff1a3(0x2b9)}},{'tag':_0x5ff1a3(0x174),'attrs':{'fill':_0x5ff1a3(0x1b5),'d':_0x5ff1a3(0x1c5),'fillRule':'evenodd','clipRule':_0x5ff1a3(0x2b9)}}]},te=m[_0x5ff1a3(0x285)](function(_0x4dcda4,_0x7587e){const _0x3b9b33=_0x5ff1a3;return m[_0x3b9b33(0x259)](X,Object[_0x3b9b33(0xfc)]({},_0x4dcda4,{'id':_0x3b9b33(0xf4),'ref':_0x7587e,'icon':Ae}));});te[_0x5ff1a3(0x166)]=_0x5ff1a3(0x1a2);var We={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ff1a3(0x19c),'viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x5ff1a3(0xd9)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x5ff1a3(0x235)},'children':[{'tag':_0x5ff1a3(0x174),'attrs':{'d':_0x5ff1a3(0x101)}},{'tag':_0x5ff1a3(0x174),'attrs':{'d':_0x5ff1a3(0x2aa),'fillRule':_0x5ff1a3(0x2b9),'clipRule':_0x5ff1a3(0x2b9)}}]},{'tag':_0x5ff1a3(0x1ba),'attrs':{},'children':[{'tag':_0x5ff1a3(0x104),'attrs':{'id':_0x5ff1a3(0x244)},'children':[{'tag':_0x5ff1a3(0x1b0),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x5ff1a3(0x294),'rx':0x4}}]}]}],'defIds':[_0x5ff1a3(0x244)]},de=m['forwardRef'](function(_0x243449,_0x4de345){const _0x38a331=_0x5ff1a3;return m[_0x38a331(0x259)](X,Object[_0x38a331(0xfc)]({},_0x243449,{'id':'restore-icon','ref':_0x4de345,'icon':We}));});de[_0x5ff1a3(0x166)]=_0x5ff1a3(0x256);function Xe(){const _0x5a2a81=_0x5ff1a3;var _0x46b5ec;const _0x5ae66a=I[_0x5a2a81(0x1b4)](exports['HistoryManagerService']),_0x25d0e6=I['useDependency'](l[_0x5a2a81(0x1e1)]),_0x2f62e0=m[_0x5a2a81(0x1dd)](()=>{const _0x55089e=_0x5a2a81;_0x5ae66a[_0x55089e(0x21f)]=W['Exited'];},[_0x5ae66a]),_0x5ac221=m[_0x5a2a81(0x1dd)](()=>{const _0x308bdc=_0x5a2a81;_0x5ae66a[_0x308bdc(0xe4)]();},[_0x5ae66a]),_0x4265ff=I[_0x5a2a81(0x17a)](_0x5ae66a['currentVersion$']),_0x4d242a=I['useObservable'](_0x5ae66a['versions$']),_0x1f656b=_0x4265ff===((_0x46b5ec=_0x4d242a==null?void 0x0:_0x4d242a[0x0])==null?void 0x0:_0x46b5ec['id']),_0x8d680=_0x4265ff!==''&&!_0x1f656b&&_0x5ae66a[_0x5a2a81(0x29f)];return h['jsxs'](_0x5a2a81(0x156),{'className':C['clsx'](_0x5a2a81(0x142),C[_0x5a2a81(0x258)]),'children':[h[_0x5a2a81(0x164)]('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','onClick':_0x2f62e0,'children':h[_0x5a2a81(0x164)](he,{'className':_0x5a2a81(0x198)})}),h[_0x5a2a81(0x164)](_0x5a2a81(0x156),{'className':_0x5a2a81(0x2c0),'children':_0x8d680&&h[_0x5a2a81(0x164)](C[_0x5a2a81(0x1e0)],{'variant':_0x5a2a81(0xeb),'onClick':_0x5ac221,'children':_0x25d0e6['t'](_0x5a2a81(0x267))})})]});}var Ge=Object[_0x5ff1a3(0x223)],qe=(_0x3a1a31,_0x5f0be3,_0x490d44,_0x393490)=>{const _0x217ec6=_0x5ff1a3;for(var _0x4c3bf9=_0x393490>0x1?void 0x0:_0x393490?Ge(_0x5f0be3,_0x490d44):_0x5f0be3,_0x277691=_0x3a1a31[_0x217ec6(0x21b)]-0x1,_0x51c6d9;_0x277691>=0x0;_0x277691--)(_0x51c6d9=_0x3a1a31[_0x277691])&&(_0x4c3bf9=_0x51c6d9(_0x4c3bf9)||_0x4c3bf9);return _0x4c3bf9;},P=(_0x16b8aa,_0x5703e7)=>(_0x39fee3,_0x417c8e)=>_0x5703e7(_0x39fee3,_0x417c8e,_0x16b8aa);let B=class extends l[_0x5ff1a3(0x1bb)]{constructor(_0x93b746,_0x50749d,_0x2365a8,_0x51bef7,_0x464536,_0x5d31e4){const _0x1c5b99=_0x5ff1a3;super(),this[_0x1c5b99(0x106)]=_0x93b746,this[_0x1c5b99(0x1a7)]=_0x50749d,this[_0x1c5b99(0x10b)]=_0x2365a8,this[_0x1c5b99(0x1cf)]=_0x51bef7,this[_0x1c5b99(0x217)]=_0x464536,this[_0x1c5b99(0x105)]=_0x5d31e4,this[_0x1c5b99(0x2bf)]();}[_0x5ff1a3(0x2bf)](){const _0x138a78=_0x5ff1a3;this[_0x138a78(0x10d)](this[_0x138a78(0x217)][_0x138a78(0x20f)][_0x138a78(0x24a)](_0x2963e6=>{const _0x5407df=_0x138a78;_0x2963e6&&this[_0x5407df(0x217)][_0x5407df(0x20a)](_0x2963e6);})),this[_0x138a78(0x10d)](this['_permissionService'][_0x138a78(0x170)][_0x138a78(0x24a)](_0x4e4a0a=>{const _0x10760e=_0x138a78,_0x41300b=this['_historyManagerService'][_0x10760e(0x16d)];_0x41300b&&(_0x4e4a0a[_0x10760e(0x287)]===y[_0x10760e(0x20e)]&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this[_0x10760e(0x106)][_0x10760e(0x1bd)](new u[(_0x10760e(0x1f8))](_0x41300b)['id'],!0x1),_0x4e4a0a['subType']===y[_0x10760e(0x140)]&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this['_permissionService'][_0x10760e(0x1bd)](new u[(_0x10760e(0x265))](_0x41300b)['id'],!0x1),_0x4e4a0a[_0x10760e(0x287)]===y[_0x10760e(0x15c)]&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this[_0x10760e(0x106)][_0x10760e(0x1bd)](new u[(_0x10760e(0x211))](_0x41300b)['id'],!0x1),_0x4e4a0a['subType']===y['HideSheet']&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this['_permissionService'][_0x10760e(0x1bd)](new u['WorkbookHideSheetPermission'](_0x41300b)['id'],!0x1),_0x4e4a0a['subType']===y['Comment']&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this[_0x10760e(0x106)][_0x10760e(0x1bd)](new u[(_0x10760e(0x1f8))](_0x41300b)['id'],!0x1),_0x4e4a0a['subType']===y[_0x10760e(0x12c)]&&_0x4e4a0a[_0x10760e(0xdb)]===!0x0&&this[_0x10760e(0x106)][_0x10760e(0x1bd)](new u['WorkbookEditablePermission'](_0x41300b)['id'],!0x1));})),this[_0x138a78(0x10d)](this['_uiPartsService'][_0x138a78(0x23a)](I[_0x138a78(0x112)][_0x138a78(0x257)],()=>I['connectInjector'](Xe,this['_injector']))),this['disposeWithMe'](this['_historyManagerService'][_0x138a78(0x168)]['subscribe'](_0x39e383=>{const _0x234d5e=_0x138a78;_0x39e383===V[_0x234d5e(0x26f)]&&(this[_0x234d5e(0x217)][_0x234d5e(0xe3)](),this[_0x234d5e(0x10b)][_0x234d5e(0xe9)]({'type':C[_0x234d5e(0x2ae)][_0x234d5e(0xf5)],'content':this['_localeService']['t'](_0x234d5e(0xec))})),_0x39e383===V[_0x234d5e(0x278)]&&this[_0x234d5e(0x217)][_0x234d5e(0xe7)]();}));}};B=qe([P(0x0,l[_0x5ff1a3(0x1f0)]),P(0x1,I[_0x5ff1a3(0xf0)]),P(0x2,I[_0x5ff1a3(0x175)]),P(0x3,l[_0x5ff1a3(0x2a9)](l[_0x5ff1a3(0x1e1)])),P(0x4,l['Inject'](exports[_0x5ff1a3(0x19e)])),P(0x5,l['Inject'](l['Injector']))],B);var Ze=Object[_0x5ff1a3(0x223)],Ke=(_0x59402c,_0x5d5040,_0x3ee9ec,_0x34fedf)=>{for(var _0x473ddc=_0x34fedf>0x1?void 0x0:_0x34fedf?Ze(_0x5d5040,_0x3ee9ec):_0x5d5040,_0x4781ea=_0x59402c['length']-0x1,_0x49e661;_0x4781ea>=0x0;_0x4781ea--)(_0x49e661=_0x59402c[_0x4781ea])&&(_0x473ddc=_0x49e661(_0x473ddc)||_0x473ddc);return _0x473ddc;},q=(_0x42c86b,_0x2111cc)=>(_0x2cadbf,_0x9b3a4f)=>_0x2111cc(_0x2cadbf,_0x9b3a4f,_0x42c86b);let x=class extends l[_0x5ff1a3(0x1bb)]{constructor(_0x237c38,_0x40dcc6,_0x127450){const _0x4031ce=_0x5ff1a3;super(),_(this,_0x4031ce(0x1b8),new Map()),_(this,_0x4031ce(0x109),new E[(_0x4031ce(0xcd))]({'ranges':new Map(),'active':null})),_(this,'currentVersionDiff$',this[_0x4031ce(0x109)][_0x4031ce(0x283)]()),(this[_0x4031ce(0x217)]=_0x237c38,this[_0x4031ce(0x29c)]=_0x40dcc6,this[_0x4031ce(0x17e)]=_0x127450,this['_init']());}[_0x5ff1a3(0x2bf)](){const _0x4be035=_0x5ff1a3;this[_0x4be035(0x1b8)]=new Map(),this['disposeWithMe'](this['_historyManagerService']['unitId$']['subscribe'](_0x2c2b5b=>{const _0x31c559=_0x4be035;_0x2c2b5b&&!this['_diffRangesMap'][_0x31c559(0x2c6)](_0x2c2b5b)&&this[_0x31c559(0x1b8)][_0x31c559(0x251)](_0x2c2b5b,new Map());})),this[_0x4be035(0x10d)](this['_historyManagerService'][_0x4be035(0x20f)][_0x4be035(0x24a)](async _0x4b45d=>{const _0x2f9505=_0x4be035;var _0x39b49d;_0x4b45d&&(await this['ensureVersion'](_0x4b45d),this['_currentVersionDiff$'][_0x2f9505(0x280)](((_0x39b49d=this[_0x2f9505(0x1b8)][_0x2f9505(0x123)](this['_historyManagerService'][_0x2f9505(0x16d)]))==null?void 0x0:_0x39b49d[_0x2f9505(0x123)](_0x4b45d))||{'ranges':new Map(),'active':null}));}));}async[_0x5ff1a3(0x1d5)](_0x4381d8){const _0x34f2cb=_0x5ff1a3;var _0x48078e,_0x279d99;const _0xecf292=this['_historyManagerService']['getVersion'](_0x4381d8),_0xdd5d68=this['_historyManagerService'][_0x34f2cb(0x16d)];if(!_0xecf292||!_0xdd5d68)return;const _0x2f4964=this[_0x34f2cb(0x1b8)][_0x34f2cb(0x123)](_0xdd5d68);if(_0x2f4964||this[_0x34f2cb(0x1b8)][_0x34f2cb(0x251)](_0xdd5d68,new Map()),(_0x48078e=this[_0x34f2cb(0x1b8)][_0x34f2cb(0x123)](_0xdd5d68))!=null&&_0x48078e[_0x34f2cb(0x2c6)](_0xecf292['id']))return;const {startRev:_0x5b9872,endRev:_0x366ef2}=_0xecf292;if(_0x5b9872===0x1){_0x2f4964[_0x34f2cb(0x251)](_0xecf292['id'],{'ranges':new Map(),'active':null});return;}const _0x2c61c0=_0x5b9872-0x1,_0x20a64a=_0x366ef2,_0x23c946=await this['_snapshotServerService'][_0x34f2cb(0xc7)]({},{'unitID':_0xdd5d68,'from':_0x2c61c0,'to':_0x20a64a,'type':j[_0x34f2cb(0x16a)]});if(((_0x279d99=_0x23c946[_0x34f2cb(0xd3)])==null?void 0x0:_0x279d99[_0x34f2cb(0x1ab)])===A['OK']){const _0x146b78=_0x23c946[_0x34f2cb(0xd5)]['map'](b[_0x34f2cb(0x12b)])['map'](_0x30bf28=>_0x30bf28[_0x34f2cb(0x1eb)][_0x34f2cb(0x18b)](_0x295728=>({..._0x295728,'params':{..._0x295728[_0x34f2cb(0x225)],'memberId':_0x30bf28['userID']}})))['flat'](),_0x4a5df3=this['_transformMutationByOrder'](_0x146b78),_0x196035=this[_0x34f2cb(0x1c7)](_0x146b78),_0x3c77ba=this[_0x34f2cb(0x26c)](_0x4a5df3);_0x2f4964[_0x34f2cb(0x251)](_0xecf292['id'],{'ranges':_0x3c77ba,'active':_0x196035});}}[_0x5ff1a3(0x2a1)](_0x13de4a){const _0x4245b3=_0x5ff1a3;let _0x41e338=[];for(let _0x5f3258=0x0;_0x5f3258<_0x13de4a[_0x4245b3(0x21b)];_0x5f3258++){const _0x5c9e1e=_0x13de4a[_0x5f3258];if(_0x41e338['push'](_0x5c9e1e),_0x5f3258!==_0x13de4a[_0x4245b3(0x21b)]-0x1){const _0x262dcc=_0x13de4a[_0x5f3258+0x1],_0x2ed13a=this[_0x4245b3(0x29c)][_0x4245b3(0x1c8)](_0x41e338,[_0x262dcc]);b[_0x4245b3(0x1ad)](_0x2ed13a)?_0x41e338=_0x2ed13a['m1Prime']:_0x41e338=[];}}return _0x41e338;}[_0x5ff1a3(0x1c7)](_0x2be37b){const _0x17a984=_0x5ff1a3;let _0x27cab8=[];return _0x2be37b[_0x17a984(0x188)](_0x23039a=>{const _0x4f7898=_0x17a984;if(_0x23039a['id']===u['InsertSheetMutation']['id']){const _0x4334f6=_0x23039a[_0x4f7898(0x225)];_0x27cab8[_0x4f7898(0x18f)](_0x4334f6[_0x4f7898(0x21c)]['id']);}else{if(_0x23039a['id']===u['RemoveSheetMutation']['id']){const _0x1150db=_0x23039a[_0x4f7898(0x225)];_0x27cab8['length']>0x0&&(_0x27cab8=_0x27cab8['filter'](_0x16afe2=>_0x16afe2!==_0x1150db[_0x4f7898(0x230)]));}else{if(_0x23039a['id']===u[_0x4f7898(0x159)]['id']){const _0x605e09=_0x23039a[_0x4f7898(0x225)];_0x605e09[_0x4f7898(0x125)]?_0x27cab8=_0x27cab8[_0x4f7898(0x266)](_0x39f763=>_0x39f763!==_0x605e09['subUnitId']):_0x27cab8[_0x4f7898(0x18f)](_0x605e09[_0x4f7898(0x230)]);}else{const _0xbaec73=_0x23039a[_0x4f7898(0x225)];_0xbaec73['subUnitId']&&_0x27cab8[_0x4f7898(0x18f)](_0xbaec73[_0x4f7898(0x230)]);}}}}),_0x27cab8['length']>0x0?_0x27cab8[_0x27cab8[_0x17a984(0x21b)]-0x1]:null;}['_extractRanges'](_0x48d702){const _0x1556c5=_0x5ff1a3,_0x53c7ca=new Map();return _0x48d702[_0x1556c5(0x188)](_0x1b453f=>{const _0x4d8fa9=_0x1556c5;var _0x21a9a4,_0x35e400;const _0xbbf18c=(_0x21a9a4=_0x1b453f['params'])==null?void 0x0:_0x21a9a4['memberId'];if(_0xbbf18c){_0x53c7ca[_0x4d8fa9(0x2c6)](_0xbbf18c)||_0x53c7ca[_0x4d8fa9(0x251)](_0xbbf18c,[]);const _0x5467be=this[_0x4d8fa9(0x231)](_0x1b453f);(_0x35e400=_0x53c7ca[_0x4d8fa9(0x123)](_0xbbf18c))==null||_0x35e400['push'](..._0x5467be);}}),_0x53c7ca[_0x1556c5(0x188)]((_0x30eb9d,_0xd8b166)=>{const _0x7ff726=_0x1556c5;_0x53c7ca[_0x7ff726(0x251)](_0xd8b166,this[_0x7ff726(0x1d8)](_0x30eb9d));}),_0x53c7ca;}[_0x5ff1a3(0x231)](_0x3c3240){const _0x297234=_0x5ff1a3;switch(_0x3c3240['id']){case u[_0x297234(0x111)]['id']:{const _0x13a37d=_0x3c3240[_0x297234(0x225)];return _0x13a37d[_0x297234(0x279)][_0x297234(0x18b)](_0x56d75a=>_0x56d75a[_0x297234(0x2a6)][_0x297234(0x18b)](_0x3a673a=>({'range':_0x3a673a,'unitId':_0x13a37d['unitId'],'subUnitId':_0x13a37d[_0x297234(0x230)]})))['flat']();}case u['AddWorksheetMergeMutation']['id']:{const _0x33a3e9=_0x3c3240['params'];return _0x33a3e9[_0x297234(0x2a6)]['map'](_0x4627e6=>({'range':_0x4627e6,'unitId':_0x33a3e9['unitId'],'subUnitId':_0x33a3e9[_0x297234(0x230)]}));}case u[_0x297234(0x133)]['id']:{const _0x3c6046=_0x3c3240[_0x297234(0x225)];return[{'range':_0x3c6046[_0x297234(0x13c)],'unitId':_0x3c6046['unitId'],'subUnitId':_0x3c6046[_0x297234(0x230)]}];}case u[_0x297234(0x146)]['id']:{const _0x50a3d7=_0x3c3240[_0x297234(0x225)];return[{'range':_0x50a3d7[_0x297234(0x13c)],'unitId':_0x50a3d7[_0x297234(0x16d)],'subUnitId':_0x50a3d7[_0x297234(0x230)]}];}case u['MoveRangeMutation']['id']:{const _0x28b74f=_0x3c3240[_0x297234(0x225)],{from:_0x435c4f,to:_0x20ea01,unitId:_0x23a5c9}=_0x28b74f;return[{'range':ae(_0x435c4f[_0x297234(0xdb)]),'unitId':_0x23a5c9,'subUnitId':_0x435c4f[_0x297234(0x230)]},{'range':ae(_0x20ea01['value']),'unitId':_0x23a5c9,'subUnitId':_0x20ea01[_0x297234(0x230)]}];}case u[_0x297234(0x1f5)]['id']:{const _0x7ebb1e=_0x3c3240[_0x297234(0x225)],{unitId:_0x1a1b28,subUnitId:_0x4418a1,sourceRange:_0x2c2ba3,targetRange:_0x5d94de}=_0x7ebb1e,_0x5d045d=_0x2c2ba3[_0x297234(0x221)]-_0x2c2ba3[_0x297234(0x1a4)]+0x1;return[{'range':_0x5d94de[_0x297234(0x1a4)]<=_0x2c2ba3['startRow']?_0x5d94de:{..._0x5d94de,'startRow':_0x5d94de[_0x297234(0x1a4)]-_0x5d045d,'endRow':_0x5d94de[_0x297234(0x221)]-_0x5d045d},'unitId':_0x1a1b28,'subUnitId':_0x4418a1}];}case u['MoveColsMutation']['id']:{const _0x21ad67=_0x3c3240[_0x297234(0x225)],{unitId:_0x5a3df4,subUnitId:_0x456792,sourceRange:_0x2d6050,targetRange:_0x236f18}=_0x21ad67,_0x21b05b=_0x2d6050[_0x297234(0xed)]-_0x2d6050[_0x297234(0x178)]+0x1;return[{'range':_0x236f18[_0x297234(0x178)]<=_0x2d6050['startColumn']?_0x236f18:{..._0x236f18,'startColumn':_0x236f18[_0x297234(0x178)]-_0x21b05b,'endColumn':_0x236f18[_0x297234(0xed)]-_0x21b05b},'unitId':_0x5a3df4,'subUnitId':_0x456792}];}case u[_0x297234(0x1f2)]['id']:{const _0xec1a57=_0x3c3240[_0x297234(0x225)],{values:_0x925ae8,unitId:_0x152322,subUnitId:_0x483324}=_0xec1a57;return Object[_0x297234(0x1c2)](_0x925ae8)[_0x297234(0x18b)](_0x3127c8=>_0x3127c8[_0x297234(0x2a6)][_0x297234(0x18b)](_0x57ccba=>({'range':_0x57ccba,'unitId':_0x152322,'subUnitId':_0x483324})))[_0x297234(0x13f)]();}case u['RemoveNumfmtMutation']['id']:{const _0x3f03da=_0x3c3240[_0x297234(0x225)],{ranges:_0x183fbd,unitId:_0x450743,subUnitId:_0x1306b0}=_0x3f03da;return _0x183fbd[_0x297234(0x18b)](_0xda892f=>({'range':_0xda892f,'unitId':_0x450743,'subUnitId':_0x1306b0}));}case u[_0x297234(0x261)]['id']:{const _0xc7e575=_0x3c3240[_0x297234(0x225)],{unitId:_0x37b2d4,subUnitId:_0x209ca9,range:_0x2e92d5}=_0xc7e575;return[{'range':_0x2e92d5,'unitId':_0x37b2d4,'subUnitId':_0x209ca9}];}case u[_0x297234(0x1dc)]['id']:{const _0x30175a=_0x3c3240[_0x297234(0x225)];return _0x30175a[_0x297234(0x1f1)][_0x297234(0x2a6)][_0x297234(0x18b)](_0x239bed=>({'range':_0x239bed,'unitId':_0x30175a[_0x297234(0x16d)],'subUnitId':_0x30175a[_0x297234(0x230)]}));}case u[_0x297234(0x193)]['id']:{const _0x347839=_0x3c3240[_0x297234(0x225)];return _0x347839[_0x297234(0x116)]?Qe(_0x347839[_0x297234(0x116)])[_0x297234(0x18b)](_0x42eb38=>({'range':_0x42eb38,'unitId':_0x347839[_0x297234(0x16d)],'subUnitId':_0x347839[_0x297234(0x230)]})):[];}case le[_0x297234(0x18d)]['id']:{const _0x179301=_0x3c3240[_0x297234(0x225)];return[{'range':_0x179301[_0x297234(0x13c)],'unitId':_0x179301['unitId'],'subUnitId':_0x179301[_0x297234(0x230)]}];}case K[_0x297234(0x100)]['id']:{const _0x4216c8=_0x3c3240[_0x297234(0x225)];return(Array[_0x297234(0x1aa)](_0x4216c8[_0x297234(0x1f1)])?_0x4216c8[_0x297234(0x1f1)]:[_0x4216c8[_0x297234(0x1f1)]])[_0x297234(0x18b)](_0x14734=>_0x14734[_0x297234(0x2a6)][_0x297234(0x18b)](_0x348624=>({'range':_0x348624,'unitId':_0x4216c8[_0x297234(0x16d)],'subUnitId':_0x4216c8[_0x297234(0x230)]})))[_0x297234(0x13f)]();}case Q[_0x297234(0x196)]['id']:{const _0x235c5a=_0x3c3240['params'];return _0x235c5a[_0x297234(0x1f1)][_0x297234(0x2a6)][_0x297234(0x18b)](_0x5e946c=>({'range':_0x5e946c,'unitId':_0x235c5a[_0x297234(0x16d)],'subUnitId':_0x235c5a[_0x297234(0x230)]}));}default:return[];}}['_combineRanges'](_0xb3f52f){const _0x13d1fe=_0x5ff1a3;if(_0xb3f52f[_0x13d1fe(0x21b)]<=0x1)return _0xb3f52f;const _0x51b858=new Map();return _0xb3f52f['forEach'](_0x46572b=>{const _0x14f58b=_0x13d1fe;var _0x4e21af;const {unitId:_0x5211b2,subUnitId:_0x477567}=_0x46572b,_0x46b80f=_0x5211b2+'-'+_0x477567;_0x51b858[_0x14f58b(0x2c6)](_0x46b80f)?(_0x4e21af=_0x51b858[_0x14f58b(0x123)](_0x46b80f))==null||_0x4e21af[_0x14f58b(0x18f)](_0x46572b):_0x51b858[_0x14f58b(0x251)](_0x46b80f,[_0x46572b]);}),Array[_0x13d1fe(0x1a9)](_0x51b858[_0x13d1fe(0x1c2)]())[_0x13d1fe(0x18b)](_0xf28f39=>new u[(_0x13d1fe(0x10a))]()[_0x13d1fe(0x25d)](..._0xf28f39[_0x13d1fe(0x18b)](_0x5b9b3f=>_0x5b9b3f['range']))[_0x13d1fe(0x218)]()['map'](_0x1adcc1=>({'range':_0x1adcc1,'unitId':_0xf28f39[0x0][_0x13d1fe(0x16d)],'subUnitId':_0xf28f39[0x0][_0x13d1fe(0x230)]})))[_0x13d1fe(0x13f)]();}};x=Ke([q(0x0,l[_0x5ff1a3(0x2a9)](exports[_0x5ff1a3(0x19e)])),q(0x1,b[_0x5ff1a3(0x10f)]),q(0x2,b['ISnapshotServerService'])],x);function ae(_0x38aecd){const _0x3e0d37=_0x5ff1a3;return new l['ObjectMatrix'](_0x38aecd)[_0x3e0d37(0x203)]();}function Qe(_0x49f2ee){const _0xab89df=_0x5ff1a3,_0x113300=new l[(_0xab89df(0x2a4))](_0x49f2ee),_0x282e34=new l[(_0xab89df(0x2a4))]();return _0x113300['forValue']((_0x381282,_0x319cf3)=>{const _0x325e06=_0xab89df;_0x282e34[_0x325e06(0x268)](_0x381282,_0x319cf3,0x1);}),u[_0xab89df(0x191)](_0x282e34);}var Je=Object[_0x5ff1a3(0x223)],ze=(_0x1f2aaf,_0x44dd26,_0x404371,_0x3760c9)=>{const _0x58d1c7=_0x5ff1a3;for(var _0x52d005=_0x3760c9>0x1?void 0x0:_0x3760c9?Je(_0x44dd26,_0x404371):_0x44dd26,_0xaa0fec=_0x1f2aaf[_0x58d1c7(0x21b)]-0x1,_0x30be46;_0xaa0fec>=0x0;_0xaa0fec--)(_0x30be46=_0x1f2aaf[_0xaa0fec])&&(_0x52d005=_0x30be46(_0x52d005)||_0x52d005);return _0x52d005;},T=(_0x36a300,_0x21a624)=>(_0x45bb5c,_0x4a8795)=>_0x21a624(_0x45bb5c,_0x4a8795,_0x36a300);let z=class extends l['Disposable']{constructor(_0x1336e9,_0xf1f992,_0x286075,_0x303432,_0x580bf1,_0x4afc56,_0x4e2909){const _0xaafe31=_0x5ff1a3;super(),_(this,_0xaafe31(0xef),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x1336e9,this[_0xaafe31(0x217)]=_0xf1f992,this[_0xaafe31(0xfa)]=_0x286075,this[_0xaafe31(0x1ed)]=_0x303432,this['_renderManagerService']=_0x580bf1,this[_0xaafe31(0x143)]=_0x4afc56,this[_0xaafe31(0x1d0)]=_0x4e2909,this[_0xaafe31(0x2bf)]());}[_0x5ff1a3(0x2bf)](){const _0x36e8ad=_0x5ff1a3;this['_initRender'](),this[_0x36e8ad(0x25a)]();}['_initRender'](){const _0x234ddd=_0x5ff1a3;this[_0x234ddd(0x10d)](E['combineLatest']([this['_historyManagerService']['loadingState$'],this['_sheetSkeletonManagerService'][_0x234ddd(0x197)]])[_0x234ddd(0x2cb)](E[_0x234ddd(0x1af)](([_0x484006,_0x567f08])=>{const _0x2e0d74=_0x234ddd;if(_0x484006===V['Loaded']&&_0x567f08){const _0x10b15c=_0x567f08['sheetId'];return this['_versionDiffService'][_0x2e0d74(0x219)][_0x2e0d74(0x2cb)](E[_0x2e0d74(0x18b)](_0x59c7b1=>{const _0x4b8418=_0x2e0d74,_0x467e3e=new Map();return _0x59c7b1['ranges'][_0x4b8418(0x188)]((_0x4d2315,_0x513761)=>{const _0x5aad30=_0x4b8418,_0x36ea03=_0x4d2315[_0x5aad30(0x266)](_0x53698d=>_0x53698d['subUnitId']===_0x10b15c);_0x467e3e[_0x5aad30(0x251)](_0x513761,_0x36ea03);}),{'skeleton':_0x567f08,'diffs':_0x467e3e};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x332bd4,diffs:_0x5cbf28})=>{const _0x3d4027=_0x234ddd;this[_0x3d4027(0x2ac)](),_0x332bd4&&this['_updateDiffMarks'](_0x332bd4,_0x5cbf28);})),this['disposeWithMe'](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x234ddd(0x24a)](_0x221d9f=>{const _0x3b348c=_0x234ddd;if(_0x221d9f==null)return;const {skeleton:_0x30c0ed}=_0x221d9f,{scene:_0x58bc9c}=this[_0x3b348c(0x183)];_0x58bc9c[_0x3b348c(0x1e5)][_0x3b348c(0x263)](l[_0x3b348c(0x205)](_0x1f5de9=>{const _0x3d5964=_0x3b348c;var _0x2fae24,_0x362696;const {offsetX:_0x4870ce,offsetY:_0x28f361}=_0x1f5de9,{x:_0x2a4452,y:_0x5b53b3}=_0x58bc9c['getRelativeToViewportCoord']($['Vector2'][_0x3d5964(0x1ce)]([_0x4870ce,_0x28f361])),{scaleX:_0x42f238,scaleY:_0x312367}=_0x58bc9c[_0x3d5964(0x2b1)](),_0x20bf81=_0x58bc9c[_0x3d5964(0x11e)]($[_0x3d5964(0x276)][_0x3d5964(0x1f7)]),_0x13d0d9=_0x58bc9c[_0x3d5964(0x122)]($[_0x3d5964(0x22c)][_0x3d5964(0x1ce)]([_0x2a4452,_0x5b53b3]),_0x20bf81),_0x2daf0c=_0x30c0ed[_0x3d5964(0x216)](_0x4870ce,_0x28f361,_0x42f238,_0x312367,_0x13d0d9);((_0x2fae24=this[_0x3d5964(0x1fc)])==null?void 0x0:_0x2fae24[_0x3d5964(0x155)])===_0x2daf0c[_0x3d5964(0x155)]&&((_0x362696=this[_0x3d5964(0x1fc)])==null?void 0x0:_0x362696[_0x3d5964(0x186)])===_0x2daf0c[_0x3d5964(0x186)]||this[_0x3d5964(0xef)]['forEach'](_0x144fb6=>{const _0x35f18b=_0x3d5964;_0x144fb6[_0x35f18b(0x11f)](_0x2daf0c);});},0x64));}));}[_0x5ff1a3(0x25a)](){const _0x112adf=_0x5ff1a3;this['disposeWithMe'](this['_historyManagerService'][_0x112adf(0x168)][_0x112adf(0x24a)](_0x2cdac9=>{const _0x21e674=_0x112adf,_0x375042=new l[(_0x21e674(0xf6))]();return _0x2cdac9===V[_0x21e674(0x278)]&&(_0x375042[_0x21e674(0x233)](),_0x375042[_0x21e674(0x25d)](this[_0x21e674(0xfa)]['currentVersionDiff$'][_0x21e674(0x24a)](_0x35e201=>{const _0x5eec8f=_0x21e674;_0x35e201['active']&&this[_0x5eec8f(0x1d0)][_0x5eec8f(0x1e6)](u[_0x5eec8f(0x1c1)]['id'],{'unitId':this[_0x5eec8f(0x183)][_0x5eec8f(0x16d)],'subUnitId':_0x35e201[_0x5eec8f(0x291)]});}))),()=>_0x375042['dispose']();}));}[_0x5ff1a3(0x121)](_0x975f5f,_0x2fd641){const _0x2b9087=_0x5ff1a3;var _0x4bd569;const _0x290148=(_0x4bd569=this[_0x2b9087(0x143)]['getCurrent']())==null?void 0x0:_0x4bd569[_0x2b9087(0x2bc)];if(!_0x290148)return;this[_0x2b9087(0xef)][_0x2b9087(0x188)](_0x575601=>{const _0x1d31ff=_0x2b9087;_0x575601[_0x1d31ff(0x226)]();});const {scene:_0x2a80fb}=this[_0x2b9087(0x183)],_0x4ab0bb=Array['from'](_0x2fd641[_0x2b9087(0x272)]())['map'](_0x4612dd=>_0x2fd641[_0x2b9087(0x123)](_0x4612dd)[_0x2b9087(0x18b)](_0x4b2fb7=>{const _0x27b661=_0x2b9087;var _0x4226ef;const {range:_0x55bf53,subUnitId:_0x333ca1,unitId:_0x5faa6d}=_0x4b2fb7,{startColumn:_0x310173,startRow:_0x43860f,endColumn:_0x17e542,endRow:_0x3cdc1b}=_0x55bf53,_0x4e4a16=L[_0x27b661(0x288)](_0x43860f,_0x310173,_0x2a80fb,_0x290148),_0x52164f=L['getCoordByCell'](_0x3cdc1b,_0x17e542,_0x2a80fb,_0x290148),{columnHeaderHeightAndMarginTop:_0x3a81c1}=_0x290148,{startX:_0x181428,startY:_0x46fd0a}=_0x4e4a16,{endX:_0x37d8b3,endY:_0x4eab3d}=_0x52164f,_0x418fe9=_0x37d8b3-_0x181428,_0x29a0ae=_0x4eab3d-_0x46fd0a,_0x341747={'labelPosition':_0x46fd0a-_0x3a81c1>=0x14?_0x27b661(0x26d):_0x27b661(0x1a1),'sheetID':_0x333ca1,'range':_0x55bf53,'color':_0x27b661(0x1c0),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x27b661(0x1c0),'name':((_0x4226ef=this['_historyManagerService']['getMember'](_0x4612dd))==null?void 0x0:_0x4226ef[_0x27b661(0x2a8)])||'','selection':_0x5faa6d+'-'+_0x333ca1+'-'+_0x55bf53[_0x27b661(0x178)]+'-'+_0x55bf53[_0x27b661(0x1a4)]+'-'+_0x55bf53[_0x27b661(0xed)]+'-'+_0x55bf53['endRow'],'left':_0x181428,'top':_0x46fd0a,'width':_0x418fe9,'height':_0x29a0ae,'evented':!0x1,'zIndex':0x1};return new Oe['SheetCollabCursorShape']('',_0x341747);}))[_0x2b9087(0x13f)]();_0x2a80fb[_0x2b9087(0x12f)](_0x4ab0bb,0x1),this[_0x2b9087(0xef)]=new Set(_0x4ab0bb);}[_0x5ff1a3(0x2ac)](){const _0x2b742c=_0x5ff1a3;var _0x2123c6;(_0x2123c6=this[_0x2b742c(0xef)])==null||_0x2123c6['forEach'](_0x4b55ac=>_0x4b55ac[_0x2b742c(0x233)]());}['_getSheetObject'](){const _0x3a182d=_0x5ff1a3;return L[_0x3a182d(0x1c9)](this[_0x3a182d(0x1ed)],this[_0x3a182d(0x284)]);}};z=ze([T(0x1,l[_0x5ff1a3(0x2a9)](exports[_0x5ff1a3(0x19e)])),T(0x2,l['Inject'](x)),T(0x3,l['IUniverInstanceService']),T(0x4,$[_0x5ff1a3(0x119)]),T(0x5,l[_0x5ff1a3(0x2a9)](L['SheetSkeletonManagerService'])),T(0x6,l[_0x5ff1a3(0x2ab)])],z);function _0x20c1(){const _0x369ad5=['_sheetSkeletonManagerService','commands','DeleteSheet','InsertColMutation','18TSSsoE','Comment','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','users','Filter','defIds','setCF','_compressMutationService','editHistory.panel.confirm','editHistory.action.','AddConditionalRuleMutation','HideWorksheet','YUUMI_ALL_TABLES_IS_INVALID','column','div','IUniverInstanceService','CONNECTOR_DATA_TOO_LARGE','SetWorksheetHideMutation','RecoverHistory','_openPanel','MoveSheet','propertyIsEnumerable','ICellEditorManagerService','dateString','editHistory.panel.revertDesc','IConfirmService','UniverSheetsUIPlugin','2693784XWsFTt','jsx','RemoveSheetMutation','displayName','left','loadingState$','defineProperty','UNIVER_SHEET','IImageIoService','setState','unitId','editSheet','loaded','permissionPointUpdate$','RwHgtClWdt','endRev','Today','path','IMessageService','_initMaskContainer','apply','startColumn','LocaleType','useObservable','_lastLabel','toDisposable','editHistory.action.revertSheetPrefix','_snapshotServerService','INVALID_ARGUMENT','confirm-revert-revision','PY_RUNTIME_SCRIPT_ERROR','3632853fmDVrz','_context','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_HAS_BEEN_BOUND','row','_maskContainer','forEach','YUUMI_ASYNCIO_CANCELLED','style','map','startRevision','SetSheetsFilterRangeMutation','INVITE_CODE_ALREADY_BOUND','push','CreateSheet','findAllRectangle','Module','SetRangeValuesMutation','ENSURE_SNAPSHOT_EXECUTION','6721728TUpVGS','SetConditionalRuleMutation','currentSkeleton$','univer-text-2xl\x20dark:univer-text-white','mask','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','CollaborationImageIoService','none','split','HistoryManagerService','getHours','all','bottom','LoadingMultiIcon','display','startRow','Injector','DeleteWorksheetProtectionMutation','_uiPartsService','onSteady','from','isArray','code','time','isTransformMutationsSuccess','getElementById','switchMap','rect','entities','padStart','DeleteWorksheet','useDependency','#0B9EFB','then','getVersions','_diffRangesMap','SetWorksheetStyle','defs','Disposable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','updatePermissionPoint','Subject','replace','rgba(58,\x2096,\x20247,\x200.20)','SetWorksheetActiveOperation','values','DependentOn','prototype','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','stopPropagation','_getActiveSubUnitId','transformMutations','getSheetObject','fill','SnapshotServerOverHTTPService','[HistoryFetchService]:\x20request\x20snapshot\x20error!','SetRowStyle','FromArray','_localeService','_commandService','back-icon','concat','DeleteRangeProtectionMutation','MoveWorksheet','ensureVersion','_createMask','CopySheet','_combineRanges','LICENSE_IMPORT_SIZE_EXCEEDED','absolute','colorChannel1','SetRangeProtectionMutation','useCallback','blockMeta','YUUMI_SUBSCRIPTION_NOT_FOUND','Button','LocaleService','icon','DeleteRow','/universer-api/history','onPointerMove$','executeCommand','debounceTime','APPLY_DUPLICATED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onStarting','mutations','editHistory.action.etc','_univerInstanceService','_config','RenameWorksheet','IPermissionService','rule','SetNumfmtMutation','justifyContent','AddWorksheetProtectionMutation','MoveRowsMutation','toStringTag','VIEW_MAIN','WorkbookEditablePermission','idSuffix','_status$','block','_lastPointer','substring','parse','now','univer-text-gray-500','0\x200\x2016\x2016','LICENSE_DISTRO_REJECTED','getDataRange','IConfigService','debounce','ALREADY_EXISTS','span','UNIVER_SLIDE','6765vyVHWs','triggerLoadSheet','_updateVersions','Print','includes','Edit','currentVersion$','entered','WorkbookMoveSheetPermission','date','deleteProtection','width','getVersion','getCellPositionByOffset','_historyManagerService','merge','currentVersionDiff$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','length','sheet','InsertColumn','APPLY_REJECT','status','YUUMI_UNABLE_LOAD_URL','endRow','.univer-app-container-content','getOwnPropertyDescriptor','_sidebarDisposable','params','makeDirty','IDialogService','editHistory.action.revertSheetSuffix','165701YyDgfJ','getCurrentVersion','InsertHyperlink','Vector2','SelectProtectedCells','CHANGESET_REVISION_CONFILICT','pluginName','subUnitId','_getRangesByMutation','editHistory.panel.revertConfirmText','dispose','workbook','url(#restore-icon_clip0_1247_2)','Fragment','_loadingState$','getDeserializedSheetBlock','useRef','registerComponent','_unitId$','AddSheetSparklineMutation','UNDEFINED','PivotTable','_dialogOptions$','YUUMI_URL_COL_OUT_OF_RANGE','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','_fetching','tag','restore-icon_clip0_1247_2','_cellEditorManagerService','toISOString','YUUMI_CONNECTOR_URL_NOT_FOUND','editHistory.panel.title','INVITE_CODE_REQUIRED','subscribe','UNIVER_PROJECT','getCurrentLocale','height','APPLY_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','reduce','set','PERMISSION_DENIED','children','LOGIN_FAILED','string','RestoreIcon','HEADER','borderBottomClassName','createElement','_initActiveSwitch','Export','ManageCollaborator','add','HideSheet','EditExtraObject','getMinutes','ReorderRangeMutation','ViewFilter','subscribeEvent','hasOwnProperty','WorkbookRenameSheetPermission','filter','editHistory.header.revert','setValue','useState','attrs','edit-history-viewer.config','_extractRanges','top','RevertRevisionMutation','Loading','history-panel','confirm','keys','ISnapshotServerService','TOO_MANY_REQUESTS','_canRevert','SHEET_VIEWPORT_KEY','call','Loaded','rules','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/list?length=20','INVALID_INVITE_CODE','toString','getOwnPropertySymbols','ComponentManager','next','body','SNAPSHOT_HAS_BEEN_REMOVED','asObservable','_renderManagerService','forwardRef','xlink:href','subType','getCoordByCell','getUnitOnRev','trim','addSparkline','HistoryModeStatus','UNAUTHENTICATED','entries','getUnitId','_sidebarService','active','SetColumnStyle','some','white','UniverIcon','univer-overflow-hidden','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','Entered','COMPLETION_FINISHED','extend','flex','_transformService','data','LICENSE_EXPORT_SIZE_EXCEEDED','canRevert','UNIVER_UNKNOWN','_transformMutationByOrder','loadSheet','triggerLoadVersions','ObjectMatrix','HTTPService','ranges','Duplicate','name','Inject','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','ICommandService','_removeDiffMarks','_hasMore','MessageType','UniverInstanceType','http://www.w3.org/2000/svg','getAncestorScale','Share','_initPanel','YUUMI_NO_CUBOID_FOR_QUESTION','_confirmService','append','createTime','WECHAT_HAS_BEEN_BOUND','evenodd','indexOf','loading','skeleton','UpdateDataValidationMutation','className','_init','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','rgba(225,\x20225,\x20225,\x200.5)','USER_NOT_INVITED_CODE','editHistory.panel.unknownUser','UNRECOGNIZED','_versions$','has','Delete','jsxs','registerRenderModule','loadingState','pipe','clsx','createUnit','setDV','ISidebarService','setFilter','position','INTERNAL_ERROR','YUUMI_AI_RUN_FAILED','getDialogs$','_historyFetchService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','insertSheet','InsertSheetMutation','VIRTUAL_VERSION_NOW','SetFrozenMutation','_revertRevision$','setConfig','closeAll','fetchMissingChangesets','SetCellValue','editHistory.panel.currentVersion','clear','history-mask','UniverNetworkPlugin','BehaviorSubject','_httpService','editHistory.panel.cancel','Copy','_historyContainerId','INVITE_CODE_HAS_BEEN_UES','error','currentVersion','changesets','View','_createUnit','exited','1em','disposeUnit','value','_workbookDataCache','getConfig','univer-m-auto\x20univer-animate-spin','removeSheet','ViewHistory','Sort','_members','showMask','triggerRevert','transformSnapshotToWorkbookData','InsertRow','hideMask','focusUnit','show','SelectUnProtectedCells','primary','editHistory.info.loading','endColumn','fetchThroughInterceptors','_diffs','IUIPartsService','EMAIL_VERIFY_CODE_MISMATCH','find','versions','loading-multi-icon','Info','DisposableCollection','revertRevision$','2UhRpYO','Tooltip','_versionDiffService','5569480YreHBf','assign','_maskElement','svg','state$','AddDataValidationMutation','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','7266pCruqt','_currentVersion$','clipPath','_injector','_permissionService','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','_currentVersionDiff$','RangeMergeUtil','_messageService','unitId$','disposeWithMe','MOBILE_VERIFY_CODE_MISMATCH','ITransformService','addProtection','AddRangeProtectionMutation','BuiltInUIPart','backgroundColor','4595381MHFUnH','getMember','cellValue','current','symbol','IRenderManagerService','loadMoreVersions','versions$','_componentManager','ViemRwHgtClWdt','getViewport','onMouseMove','ZH_CN','_updateDiffMarks','getVpScrollXYInfoByPosToVp','get','_configService','hidden','url(#$1','open','History','rev','YUUMI_RATE_OVER_LIMIT','parseProtocolChangeset','FloatImg','BackIcon','UniverEditHistoryViewerPlugin','addObjects','_getAPIPrefix','UNIVER_DOC','recoverTime','InsertRowMutation','SetCellStyle','color','init','action','100%','SNAPSHOT_INVALID_SNAPSHOT','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','range','querySelector','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','flat','RenameSheet','scrollEvent$','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center'];_0x20c1=function(){return _0x369ad5;};return _0x20c1();}function et(){const _0x4fcc40=_0x5ff1a3,_0x425e95=I['useDependency'](exports[_0x4fcc40(0x19e)]),_0x5949e5=I[_0x4fcc40(0x17a)](_0x425e95['versions$']),[_0x37942b,_0x402903]=m[_0x4fcc40(0x269)](!0x1),_0x446a08=Pe(_0x5949e5);return _0x5949e5?h[_0x4fcc40(0x164)]('div',{'className':_0x4fcc40(0x296),'children':h['jsxs'](_0x4fcc40(0x156),{'className':_0x4fcc40(0x108),'children':[_0x446a08[_0x4fcc40(0x18b)]((_0x58363f,_0x4692ac)=>h[_0x4fcc40(0x2c8)](m[_0x4fcc40(0x236)],{'children':[h[_0x4fcc40(0x164)](it,{'date':_0x58363f[_0x4fcc40(0x15f)]}),_0x58363f[_0x4fcc40(0xf3)][_0x4fcc40(0x18b)]((_0x4ea5b4,_0x14b974)=>h[_0x4fcc40(0x164)](rt,{'index':[_0x4692ac,_0x14b974],'item':_0x4ea5b4},_0x4692ac+'-'+_0x14b974))]},_0x58363f[_0x4fcc40(0x15f)])),_0x37942b&&h[_0x4fcc40(0x164)](tt,{})]})}):h['jsx'](st,{});}function tt(){const _0x9db746=_0x5ff1a3;return h[_0x9db746(0x164)](_0x9db746(0x156),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':h[_0x9db746(0x164)](te,{'className':'univer-animate-spin'})});}function st(){const _0x247f46=_0x5ff1a3;return h[_0x247f46(0x164)](_0x247f46(0x156),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':h['jsx'](_0x247f46(0x207),{'className':_0x247f46(0x200),'children':h[_0x247f46(0x164)](te,{'className':_0x247f46(0xde)})})});}function it(_0x364ff3){const _0x2a6266=_0x5ff1a3,_0x3e37c5=I[_0x2a6266(0x1b4)](l['LocaleService']),{date:_0x40fd7e}=_0x364ff3;return h[_0x2a6266(0x164)](_0x2a6266(0x156),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':J(_0x40fd7e,_0x3e37c5[_0x2a6266(0x24c)]())});}function rt(_0x3d9360){const _0x419e18=_0x5ff1a3,{item:_0x53da60,index:_0xf4e9a5}=_0x3d9360,{time:_0x25d248,user:_0x334ee9}=_0x53da60,[_0x2d4716,_0xfc9c00]=_0xf4e9a5,_0x2fed20=I[_0x419e18(0x1b4)](exports[_0x419e18(0x19e)]),_0x49bd95=I['useObservable'](_0x2fed20['currentVersion$'],'',!0x0)===_0x53da60['id'],_0x5d61b4=_0x2d4716===0x0&&_0xfc9c00===0x0,_0x5aab9f=!_0x5d61b4&&_0x2fed20[_0x419e18(0x29f)],_0x14e6d7=I[_0x419e18(0x1b4)](l[_0x419e18(0x1e1)]),_0x58ff46=_0x14e6d7[_0x419e18(0x24c)](),_0x4eea08=ee(_0x25d248,_0x58ff46),_0x187540=_0x14e6d7['t'](_0x419e18(0xc9)),_0x551412=m['useCallback'](_0x7599f1=>{const _0x2f3bcb=_0x419e18;_0x2fed20['loadingState']!==V['Loading']&&(_0x2fed20[_0x2f3bcb(0xd4)]=_0x7599f1);},[_0x2fed20]),_0x32a648=m[_0x419e18(0x1dd)](_0x241466=>{const _0x379eb9=_0x419e18;_0x2fed20[_0x379eb9(0xe4)](_0x241466);},[_0x2fed20]);return h['jsxs']('div',{'className':C[_0x419e18(0x2cc)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x49bd95}),'onClick':()=>_0x551412(_0x53da60['id']),'children':[h[_0x419e18(0x2c8)](_0x419e18(0x156),{'className':_0x419e18(0xbf),'children':[h[_0x419e18(0x2c8)]('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[h[_0x419e18(0x164)](_0x419e18(0x207),{'children':_0x4eea08[_0x419e18(0x1ac)]}),_0x5d61b4&&h[_0x419e18(0x164)](_0x419e18(0x207),{'className':_0x419e18(0x107),'children':_0x187540})]}),h[_0x419e18(0x164)](_0x419e18(0x156),{'children':_0x5aab9f&&h[_0x419e18(0x164)](C[_0x419e18(0xf9)],{'title':_0x14e6d7['t'](_0x419e18(0x160)),'children':h[_0x419e18(0x164)](_0x419e18(0x156),{'onClick':_0x50e908=>{const _0x36631a=_0x419e18;_0x50e908[_0x36631a(0x1c6)](),_0x32a648(_0x53da60['id']);},'className':_0x419e18(0x13a),'children':h[_0x419e18(0x164)](de,{})})})})]}),h[_0x419e18(0x164)](_0x419e18(0x156),{'className':_0x419e18(0x241),'children':Ce(_0x53da60,_0x14e6d7)})]});}var nt=Object[_0x5ff1a3(0x223)],at=(_0x33133c,_0x3a3b87,_0x2633cd,_0x1212e2)=>{const _0x2930d4=_0x5ff1a3;for(var _0x19c1c7=_0x1212e2>0x1?void 0x0:_0x1212e2?nt(_0x3a3b87,_0x2633cd):_0x3a3b87,_0x44b521=_0x33133c[_0x2930d4(0x21b)]-0x1,_0x32473a;_0x44b521>=0x0;_0x44b521--)(_0x32473a=_0x33133c[_0x44b521])&&(_0x19c1c7=_0x32473a(_0x19c1c7)||_0x19c1c7);return _0x19c1c7;},U=(_0x3aae60,_0x369b7a)=>(_0x107afc,_0x1f3e3d)=>_0x369b7a(_0x107afc,_0x1f3e3d,_0x3aae60);const oe=_0x5ff1a3(0x270);let Y=class extends l[_0x5ff1a3(0x1bb)]{constructor(_0x2eed88,_0x308c9e,_0x85ce90,_0xf8dd03){const _0x53094e=_0x5ff1a3;super(),_(this,_0x53094e(0x224),null),(this[_0x53094e(0x290)]=_0x2eed88,this[_0x53094e(0x11c)]=_0x308c9e,this[_0x53094e(0x1cf)]=_0x85ce90,this['_historyManagerService']=_0xf8dd03,this[_0x53094e(0x2bf)]());}[_0x5ff1a3(0x2bf)](){this['_initPanel'](),this['_openPanel']();}[_0x5ff1a3(0x15b)](){const _0x564b15=_0x5ff1a3;if(this[_0x564b15(0x224)])return;const _0x8aec9={'header':{'title':this[_0x564b15(0x1cf)]['t'](_0x564b15(0x248))},'children':{'label':oe},'onClose':()=>{const _0x33ac41=_0x564b15;this[_0x33ac41(0x224)]=null,this[_0x33ac41(0x217)][_0x33ac41(0x21f)]=W['Exited'];}};this[_0x564b15(0x224)]=this[_0x564b15(0x290)][_0x564b15(0x127)]({..._0x8aec9});}[_0x5ff1a3(0x2b3)](){const _0x31f4fd=_0x5ff1a3;this['disposeWithMe'](this[_0x31f4fd(0x11c)]['register'](oe,et)),this[_0x31f4fd(0x10d)](this[_0x31f4fd(0x290)][_0x31f4fd(0x141)][_0x31f4fd(0x2cb)](E[_0x31f4fd(0x1e7)](0x64))[_0x31f4fd(0x24a)](_0x5c2e7e=>{const _0x3b3789=_0x31f4fd,{target:_0x1758c3}=_0x5c2e7e||{};if(_0x1758c3){const {scrollTop:_0x14e2bb,scrollHeight:_0x33944c,clientHeight:_0x5515f8}=_0x1758c3;_0x14e2bb+_0x5515f8>=_0x33944c-0x5&&this[_0x3b3789(0x217)][_0x3b3789(0x11a)]();}}));}};Y=at([U(0x0,I[_0x5ff1a3(0x2cf)]),U(0x1,l[_0x5ff1a3(0x2a9)](I[_0x5ff1a3(0x27f)])),U(0x2,l[_0x5ff1a3(0x2a9)](l[_0x5ff1a3(0x1e1)])),U(0x3,l['Inject'](exports[_0x5ff1a3(0x19e)]))],Y);class ot extends l[_0x5ff1a3(0x1bb)]{constructor(){const _0x2da243=_0x5ff1a3;super(),_(this,'_dialogOptions$',new E[(_0x2da243(0x1be))]());}[_0x5ff1a3(0x127)](){const _0x266924=_0x5ff1a3;return l[_0x266924(0x17c)](()=>{});}['close'](){}[_0x5ff1a3(0xc6)](_0x346406){}[_0x5ff1a3(0xbd)](){const _0x55d4be=_0x5ff1a3;return this[_0x55d4be(0x23f)][_0x55d4be(0x283)]();}}var ct=Object[_0x5ff1a3(0x169)],lt=Object[_0x5ff1a3(0x223)],ut=(_0x2f510e,_0x33d26e,_0xcf10e7)=>_0x33d26e in _0x2f510e?ct(_0x2f510e,_0x33d26e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcf10e7}):_0x2f510e[_0x33d26e]=_0xcf10e7,_t=(_0x3bc002,_0x7de84,_0x29a6bc,_0x3ec7de)=>{const _0x4a7787=_0x5ff1a3;for(var _0x100e28=_0x3ec7de>0x1?void 0x0:_0x3ec7de?lt(_0x7de84,_0x29a6bc):_0x7de84,_0x369c41=_0x3bc002[_0x4a7787(0x21b)]-0x1,_0x1dd873;_0x369c41>=0x0;_0x369c41--)(_0x1dd873=_0x3bc002[_0x369c41])&&(_0x100e28=_0x1dd873(_0x100e28)||_0x100e28);return _0x100e28;},Z=(_0x55c90f,_0x43150a)=>(_0x4bcde2,_0xb0c674)=>_0x43150a(_0x4bcde2,_0xb0c674,_0x55c90f),ht=(_0x331e76,_0x4d448b,_0x15676a)=>ut(_0x331e76,_0x4d448b+'',_0x15676a);const dt=_0x5ff1a3(0x13e);exports[_0x5ff1a3(0x12e)]=class extends l['Plugin']{constructor(_0x3cee41=ne,_0x5d69aa,_0x33e398,_0x48d134){const _0xdffbd5=_0x5ff1a3;super(),this[_0xdffbd5(0x1ee)]=_0x3cee41,this[_0xdffbd5(0x105)]=_0x5d69aa,this[_0xdffbd5(0x284)]=_0x33e398,this[_0xdffbd5(0x124)]=_0x48d134;const {..._0x3bb750}=l[_0xdffbd5(0x218)]({},ne,this[_0xdffbd5(0x1ee)]);this[_0xdffbd5(0x124)][_0xdffbd5(0xc5)](ue,_0x3bb750);}[_0x5ff1a3(0x1ea)](){const _0x86413b=_0x5ff1a3;[[exports['HistoryManagerService']],[B],[x],[F],[Y],[H],[b[_0x86413b(0x273)],{'useClass':re[_0x86413b(0x1cb)]}],[I[_0x86413b(0x227)],{'useClass':ot}],[Me[_0x86413b(0x16b)],{'useClass':re[_0x86413b(0x19b)]}]]['forEach'](_0x440b70=>this[_0x86413b(0x105)][_0x86413b(0x25d)](_0x440b70)),this[_0x86413b(0x105)][_0x86413b(0x123)](B);}['onRendered'](){const _0x21e111=_0x5ff1a3;[[z]][_0x21e111(0x188)](_0x44104b=>{const _0xeffc1=_0x21e111;this[_0xeffc1(0x10d)](this['_renderManagerService'][_0xeffc1(0x2c9)](l[_0xeffc1(0x2af)][_0xeffc1(0x16a)],_0x44104b));}),this['_injector'][_0x21e111(0x123)](H),this[_0x21e111(0x105)][_0x21e111(0x123)](Y);}[_0x5ff1a3(0x1a8)](){const _0x5c9a89=_0x5ff1a3;this[_0x5c9a89(0x105)][_0x5c9a89(0x123)](x);}},ht(exports['UniverEditHistoryViewerPlugin'],_0x5ff1a3(0x22f),dt),exports[_0x5ff1a3(0x12e)]=_t([l[_0x5ff1a3(0x1c3)](L[_0x5ff1a3(0x162)],ce[_0x5ff1a3(0xcc)]),Z(0x1,l[_0x5ff1a3(0x2a9)](l[_0x5ff1a3(0x1a5)])),Z(0x2,$[_0x5ff1a3(0x119)]),Z(0x3,l['IConfigService'])],exports[_0x5ff1a3(0x12e)]),exports[_0x5ff1a3(0x28c)]=W;
@@ -1 +1 @@
1
- 'use strict';const _0x3a43c3=_0x191b;function _0x191b(_0x26191d,_0x5d3323){const _0x452839=_0x4528();return _0x191b=function(_0x191bd0,_0x5d1c3b){_0x191bd0=_0x191bd0-0x1e0;let _0x37118c=_0x452839[_0x191bd0];return _0x37118c;},_0x191b(_0x26191d,_0x5d3323);}function _0x4528(){const _0x1dc705=['edited\x20worksheet','add\x20sparkline','Unknown\x20User','7879668UEAnrd','Current\x20User','Restore\x20this\x20version?','created\x20workbook','add\x20conditional\x20formatting','set\x20filter','exports','Back','Cancel','4453473aAejhj','4yOYURH','210130gPmPdM','1370965hEjPzM','29230DuRHme','Reverting,\x20please\x20wait...','inserted\x20worksheet','Restore\x20this\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','loading,\x20please\x20wait...','1384MIHhGe','set\x20frozen',',\x20etc.','8239IwpDte','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','23220kdCxNB','11lzRidU','4758355zlUgtQ','Failed\x20to\x20get\x20edit\x20history\x20list','Reverted\x20from','delete\x20protection'];_0x4528=function(){return _0x1dc705;};return _0x4528();}(function(_0x37d8c0,_0xd1160c){const _0x1192de=_0x191b,_0x29701a=_0x37d8c0();while(!![]){try{const _0x201987=parseInt(_0x1192de(0x1ec))/0x1*(-parseInt(_0x1192de(0x1ff))/0x2)+parseInt(_0x1192de(0x1fd))/0x3*(-parseInt(_0x1192de(0x1fe))/0x4)+-parseInt(_0x1192de(0x200))/0x5+parseInt(_0x1192de(0x1f4))/0x6+parseInt(_0x1192de(0x1ed))/0x7+parseInt(_0x1192de(0x1e6))/0x8*(-parseInt(_0x1192de(0x1eb))/0x9)+parseInt(_0x1192de(0x201))/0xa*(parseInt(_0x1192de(0x1e9))/0xb);if(_0x201987===_0xd1160c)break;else _0x29701a['push'](_0x29701a['shift']());}catch(_0x2b1cf3){_0x29701a['push'](_0x29701a['shift']());}}}(_0x4528,0xc897f));const e={'editHistory':{'panel':{'title':_0x3a43c3(0x1e4),'unknownUser':_0x3a43c3(0x1f3),'listFetchError':_0x3a43c3(0x1ee),'revertConfirm':_0x3a43c3(0x1f6),'revertConfirmText':_0x3a43c3(0x1ea),'cancel':_0x3a43c3(0x1fc),'confirm':'Confirm','reverting':_0x3a43c3(0x1e0),'revertFailed':_0x3a43c3(0x1e3),'currentVersion':'Current\x20Version','currentUser':_0x3a43c3(0x1f5),'revertDesc':_0x3a43c3(0x1e2)},'info':{'loading':_0x3a43c3(0x1e5)},'header':{'back':_0x3a43c3(0x1fb),'revert':_0x3a43c3(0x1e2)},'action':{'insertSheet':_0x3a43c3(0x1e1),'removeSheet':'deleted\x20worksheet','createSheet':_0x3a43c3(0x1f7),'setFilter':_0x3a43c3(0x1f9),'setFrozen':_0x3a43c3(0x1e7),'editSheet':_0x3a43c3(0x1f1),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x3a43c3(0x1ef),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':'set\x20conditional\x20formatting','addCF':_0x3a43c3(0x1f8),'addProtection':'add\x20protection','addSparkline':_0x3a43c3(0x1f2),'deleteProtection':_0x3a43c3(0x1f0),'etc':_0x3a43c3(0x1e8)}}},t=e;module[_0x3a43c3(0x1fa)]=t;
1
+ 'use strict';const _0x556f02=_0x51f0;(function(_0x46c230,_0x252de1){const _0x486198=_0x51f0,_0x20cda8=_0x46c230();while(!![]){try{const _0xa5d7ed=-parseInt(_0x486198(0x1ca))/0x1+parseInt(_0x486198(0x1b5))/0x2+-parseInt(_0x486198(0x1bf))/0x3*(-parseInt(_0x486198(0x1ae))/0x4)+parseInt(_0x486198(0x1b4))/0x5*(-parseInt(_0x486198(0x1c2))/0x6)+-parseInt(_0x486198(0x1c1))/0x7*(-parseInt(_0x486198(0x1bc))/0x8)+parseInt(_0x486198(0x1be))/0x9*(parseInt(_0x486198(0x1c8))/0xa)+-parseInt(_0x486198(0x1b8))/0xb*(-parseInt(_0x486198(0x1af))/0xc);if(_0xa5d7ed===_0x252de1)break;else _0x20cda8['push'](_0x20cda8['shift']());}catch(_0x2c6f93){_0x20cda8['push'](_0x20cda8['shift']());}}}(_0x1530,0x63a3b));function _0x1530(){const _0x290ac5=['set\x20filter','Cancel','16mLZBZP','set\x20data\x20validation','9yGgHwG','2208LbgBno','reverted\x20workbook','824887ohTMJI','6ohuWud','Reverted\x20from','Reverting,\x20please\x20wait...',',\x20etc.','delete\x20protection','set\x20frozen','3211930zYBRIb','Confirm','787247cELkLW','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','inserted\x20worksheet','Restore\x20this\x20version','3192GNeAFp','8100564iUqIMC','Unknown\x20User','Restore\x20this\x20version?','Current\x20Version','exports','3698825RizFqY','231770BlDkTX','add\x20sparkline','created\x20workbook','11kwfxzt','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version'];_0x1530=function(){return _0x290ac5;};return _0x1530();}function _0x51f0(_0x557307,_0x1ea956){const _0x1530be=_0x1530();return _0x51f0=function(_0x51f015,_0x41474f){_0x51f015=_0x51f015-0x1ae;let _0xb5f75b=_0x1530be[_0x51f015];return _0xb5f75b;},_0x51f0(_0x557307,_0x1ea956);}const e={'editHistory':{'panel':{'title':_0x556f02(0x1cc),'unknownUser':_0x556f02(0x1b0),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x556f02(0x1b1),'revertConfirmText':_0x556f02(0x1b9),'cancel':_0x556f02(0x1bb),'confirm':_0x556f02(0x1c9),'reverting':_0x556f02(0x1c4),'revertFailed':_0x556f02(0x1cb),'currentVersion':_0x556f02(0x1b2),'currentUser':'Current\x20User','revertDesc':_0x556f02(0x1ce)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x556f02(0x1ce)},'action':{'insertSheet':_0x556f02(0x1cd),'removeSheet':'deleted\x20worksheet','createSheet':_0x556f02(0x1b7),'setFilter':_0x556f02(0x1ba),'setFrozen':_0x556f02(0x1c7),'editSheet':'edited\x20worksheet','revertSheet':_0x556f02(0x1c0),'revertSheetPrefix':_0x556f02(0x1c3),'revertSheetSuffix':'','setDV':_0x556f02(0x1bd),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x556f02(0x1b6),'deleteProtection':_0x556f02(0x1c6),'etc':_0x556f02(0x1c5)}}},t=e;module[_0x556f02(0x1b3)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x196ebb=_0x3e91;function _0x3e91(_0x1d8e92,_0x17165c){const _0x4e1192=_0x4e11();return _0x3e91=function(_0x3e91b9,_0x9fd5d4){_0x3e91b9=_0x3e91b9-0x1d3;let _0x97823=_0x4e1192[_0x3e91b9];return _0x97823;},_0x3e91(_0x1d8e92,_0x17165c);}(function(_0x4912f9,_0xa20430){const _0x3bebb6=_0x3e91,_0xe57eb9=_0x4912f9();while(!![]){try{const _0x3e1938=-parseInt(_0x3bebb6(0x1e0))/0x1+-parseInt(_0x3bebb6(0x1ef))/0x2*(-parseInt(_0x3bebb6(0x1ec))/0x3)+parseInt(_0x3bebb6(0x1de))/0x4*(parseInt(_0x3bebb6(0x1e5))/0x5)+-parseInt(_0x3bebb6(0x1dc))/0x6*(parseInt(_0x3bebb6(0x1e2))/0x7)+-parseInt(_0x3bebb6(0x1ed))/0x8+parseInt(_0x3bebb6(0x1eb))/0x9*(-parseInt(_0x3bebb6(0x1d5))/0xa)+parseInt(_0x3bebb6(0x1e1))/0xb*(parseInt(_0x3bebb6(0x1e8))/0xc);if(_0x3e1938===_0xa20430)break;else _0xe57eb9['push'](_0xe57eb9['shift']());}catch(_0x529484){_0xe57eb9['push'](_0xe57eb9['shift']());}}}(_0x4e11,0x56ad5));function _0x4e11(){const _0x3a384b=['set\x20conditional\x20formatting','124061ZOgyOg','8041WvVeNa','427LNEXRU','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','loading,\x20please\x20wait...','1451535yNhIeO','Failed\x20to\x20get\x20edit\x20history\x20list','inserted\x20worksheet','11652eGneJF','set\x20frozen','delete\x20protection','900324CBnLXj','159XWUNxO','1800208YROqEI','exports','12878wGiAdS','Confirm','Back','20ijOPSn','Edit\x20History','set\x20filter',',\x20etc.','add\x20protection','Current\x20User','set\x20data\x20validation','43002jKVzgJ','edited\x20worksheet','4OSjKaW'];_0x4e11=function(){return _0x3a384b;};return _0x4e11();}const e={'editHistory':{'panel':{'title':_0x196ebb(0x1d6),'unknownUser':'Unknown\x20User','listFetchError':_0x196ebb(0x1e6),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':'Cancel','confirm':_0x196ebb(0x1d3),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x196ebb(0x1e3),'currentVersion':'Current\x20Version','currentUser':_0x196ebb(0x1da),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x196ebb(0x1e4)},'header':{'back':_0x196ebb(0x1d4),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x196ebb(0x1e7),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x196ebb(0x1d7),'setFrozen':_0x196ebb(0x1e9),'editSheet':_0x196ebb(0x1dd),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x196ebb(0x1db),'setCF':_0x196ebb(0x1df),'addCF':'add\x20conditional\x20formatting','addProtection':_0x196ebb(0x1d9),'addSparkline':'add\x20sparkline','deleteProtection':_0x196ebb(0x1ea),'etc':_0x196ebb(0x1d8)}}};module[_0x196ebb(0x1ee)]=e;
1
+ 'use strict';function _0x31f2(_0x5e7a81,_0x4d5116){const _0x2ca868=_0x2ca8();return _0x31f2=function(_0x31f287,_0x20f1bf){_0x31f287=_0x31f287-0x147;let _0x4c915e=_0x2ca868[_0x31f287];return _0x4c915e;},_0x31f2(_0x5e7a81,_0x4d5116);}function _0x2ca8(){const _0xbb115=['deleted\x20worksheet','Unknown\x20User','edited\x20worksheet','set\x20frozen','32YuhupX','delete\x20protection','Restore\x20this\x20version?','Confirm','1315036xluFlm','reverted\x20workbook','Reverted\x20from','1813170peeenG','Restore\x20this\x20version','loading,\x20please\x20wait...','10jsDvnw','86283IsJRBZ','exports','2OBfjON','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result',',\x20etc.','set\x20data\x20validation','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Failed\x20to\x20get\x20edit\x20history\x20list','add\x20sparkline','set\x20filter','created\x20workbook','Current\x20User','342529hkLIvq','632221rFUgZW','Reverting,\x20please\x20wait...','inserted\x20worksheet','596799WWrsOC','232589zaQiqT','Edit\x20History','36XGvviv'];_0x2ca8=function(){return _0xbb115;};return _0x2ca8();}const _0x25c081=_0x31f2;(function(_0x44e77a,_0x11d27b){const _0x28933e=_0x31f2,_0x40e438=_0x44e77a();while(!![]){try{const _0x2c65cb=parseInt(_0x28933e(0x15f))/0x1+parseInt(_0x28933e(0x154))/0x2*(parseInt(_0x28933e(0x152))/0x3)+-parseInt(_0x28933e(0x14b))/0x4+parseInt(_0x28933e(0x14e))/0x5+parseInt(_0x28933e(0x165))/0x6*(parseInt(_0x28933e(0x163))/0x7)+parseInt(_0x28933e(0x147))/0x8*(-parseInt(_0x28933e(0x162))/0x9)+-parseInt(_0x28933e(0x151))/0xa*(parseInt(_0x28933e(0x15e))/0xb);if(_0x2c65cb===_0x11d27b)break;else _0x40e438['push'](_0x40e438['shift']());}catch(_0x47758d){_0x40e438['push'](_0x40e438['shift']());}}}(_0x2ca8,0x91f4c));const e={'editHistory':{'panel':{'title':_0x25c081(0x164),'unknownUser':_0x25c081(0x167),'listFetchError':_0x25c081(0x159),'revertConfirm':_0x25c081(0x149),'revertConfirmText':_0x25c081(0x158),'cancel':'Cancel','confirm':_0x25c081(0x14a),'reverting':_0x25c081(0x160),'revertFailed':_0x25c081(0x155),'currentVersion':'Current\x20Version','currentUser':_0x25c081(0x15d),'revertDesc':_0x25c081(0x14f)},'info':{'loading':_0x25c081(0x150)},'header':{'back':'Back','revert':_0x25c081(0x14f)},'action':{'insertSheet':_0x25c081(0x161),'removeSheet':_0x25c081(0x166),'createSheet':_0x25c081(0x15c),'setFilter':_0x25c081(0x15b),'setFrozen':_0x25c081(0x169),'editSheet':_0x25c081(0x168),'revertSheet':_0x25c081(0x14c),'revertSheetPrefix':_0x25c081(0x14d),'revertSheetSuffix':'','setDV':_0x25c081(0x157),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x25c081(0x15a),'deleteProtection':_0x25c081(0x148),'etc':_0x25c081(0x156)}}};module[_0x25c081(0x153)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x3f7f35=_0x2917;function _0x3901(){const _0xb613f6=['Confirm','23748DFIoGU','12188KIuhMc','delete\x20protection','reverted\x20workbook',',\x20etc.','965OSldyn','9799842nCbbAw','deleted\x20worksheet','add\x20protection','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Edit\x20History','1568211eitfIY','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Restore\x20this\x20version','set\x20frozen','9820ilGOff','692298OcUcmZ','Reverting,\x20please\x20wait...','Reverted\x20from','set\x20data\x20validation','Back','176jcUyjc','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20filter','249277ndDhYG','Current\x20User','Cancel','created\x20workbook','1439145zssDmQ','2xVXhny','exports'];_0x3901=function(){return _0xb613f6;};return _0x3901();}(function(_0x117b16,_0x5e6faa){const _0x3f5026=_0x2917,_0x1ab02a=_0x117b16();while(!![]){try{const _0x33509a=-parseInt(_0x3f5026(0x121))/0x1*(parseInt(_0x3f5026(0x12e))/0x2)+-parseInt(_0x3f5026(0x11c))/0x3+-parseInt(_0x3f5026(0x131))/0x4*(parseInt(_0x3f5026(0x116))/0x5)+parseInt(_0x3f5026(0x117))/0x6+-parseInt(_0x3f5026(0x129))/0x7*(-parseInt(_0x3f5026(0x126))/0x8)+-parseInt(_0x3f5026(0x12d))/0x9+-parseInt(_0x3f5026(0x120))/0xa*(-parseInt(_0x3f5026(0x112))/0xb);if(_0x33509a===_0x5e6faa)break;else _0x1ab02a['push'](_0x1ab02a['shift']());}catch(_0x8aa0d2){_0x1ab02a['push'](_0x1ab02a['shift']());}}}(_0x3901,0xf03d8));const e={'editHistory':{'panel':{'title':_0x3f7f35(0x11b),'unknownUser':'Unknown\x20User','listFetchError':_0x3f7f35(0x127),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x3f7f35(0x11d),'cancel':_0x3f7f35(0x12b),'confirm':_0x3f7f35(0x130),'reverting':_0x3f7f35(0x122),'revertFailed':_0x3f7f35(0x11a),'currentVersion':'Current\x20Version','currentUser':_0x3f7f35(0x12a),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x3f7f35(0x125),'revert':_0x3f7f35(0x11e)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x3f7f35(0x118),'createSheet':_0x3f7f35(0x12c),'setFilter':_0x3f7f35(0x128),'setFrozen':_0x3f7f35(0x11f),'editSheet':'edited\x20worksheet','revertSheet':_0x3f7f35(0x114),'revertSheetPrefix':_0x3f7f35(0x123),'revertSheetSuffix':'','setDV':_0x3f7f35(0x124),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x3f7f35(0x119),'addSparkline':'add\x20sparkline','deleteProtection':_0x3f7f35(0x113),'etc':_0x3f7f35(0x115)}}},t=e;function _0x2917(_0x7fe014,_0x265fc7){const _0x390131=_0x3901();return _0x2917=function(_0x291725,_0x2bbfbf){_0x291725=_0x291725-0x112;let _0x34a9a1=_0x390131[_0x291725];return _0x34a9a1;},_0x2917(_0x7fe014,_0x265fc7);}module[_0x3f7f35(0x12f)]=t;
1
+ 'use strict';const _0xfe77bb=_0x1719;function _0x1719(_0x1622cb,_0x3290dd){const _0x4f1cc4=_0x4f1c();return _0x1719=function(_0x1719c7,_0x54c41e){_0x1719c7=_0x1719c7-0xbc;let _0x5b8fc4=_0x4f1cc4[_0x1719c7];return _0x5b8fc4;},_0x1719(_0x1622cb,_0x3290dd);}function _0x4f1c(){const _0x265a79=['136plteHt','Reverting,\x20please\x20wait...','set\x20data\x20validation','4633825yAbkoU','773067ppibCk','2498452EMUCxj','loading,\x20please\x20wait...','Cancel','12909hDMVgR','Failed\x20to\x20get\x20edit\x20history\x20list','deleted\x20worksheet','2970567yFWLQz','10WpZqRF','Restore\x20this\x20version?','Current\x20User','10eVcVBv','delete\x20protection','Back','2567888FswCEB','add\x20protection','8696046NZmRet','Restore\x20this\x20version','set\x20conditional\x20formatting','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20frozen','inserted\x20worksheet','Confirm','Reverted\x20from','add\x20sparkline','set\x20filter','Edit\x20History','exports','reverted\x20workbook'];_0x4f1c=function(){return _0x265a79;};return _0x4f1c();}(function(_0xcb0f8d,_0x5cb995){const _0x56ba7b=_0x1719,_0x1fa534=_0xcb0f8d();while(!![]){try{const _0x125304=parseInt(_0x56ba7b(0xda))/0x1*(-parseInt(_0x56ba7b(0xd2))/0x2)+parseInt(_0x56ba7b(0xd6))/0x3+-parseInt(_0x56ba7b(0xd7))/0x4*(-parseInt(_0x56ba7b(0xbd))/0x5)+parseInt(_0x56ba7b(0xc5))/0x6+-parseInt(_0x56ba7b(0xd5))/0x7+-parseInt(_0x56ba7b(0xc3))/0x8+parseInt(_0x56ba7b(0xbc))/0x9*(-parseInt(_0x56ba7b(0xc0))/0xa);if(_0x125304===_0x5cb995)break;else _0x1fa534['push'](_0x1fa534['shift']());}catch(_0x11dd3a){_0x1fa534['push'](_0x1fa534['shift']());}}}(_0x4f1c,0xbadec));const e={'editHistory':{'panel':{'title':_0xfe77bb(0xcf),'unknownUser':'Unknown\x20User','listFetchError':_0xfe77bb(0xdb),'revertConfirm':_0xfe77bb(0xbe),'revertConfirmText':_0xfe77bb(0xc8),'cancel':_0xfe77bb(0xd9),'confirm':_0xfe77bb(0xcb),'reverting':_0xfe77bb(0xd3),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0xfe77bb(0xbf),'revertDesc':_0xfe77bb(0xc6)},'info':{'loading':_0xfe77bb(0xd8)},'header':{'back':_0xfe77bb(0xc2),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0xfe77bb(0xca),'removeSheet':_0xfe77bb(0xdc),'createSheet':'created\x20workbook','setFilter':_0xfe77bb(0xce),'setFrozen':_0xfe77bb(0xc9),'editSheet':'edited\x20worksheet','revertSheet':_0xfe77bb(0xd1),'revertSheetPrefix':_0xfe77bb(0xcc),'revertSheetSuffix':'','setDV':_0xfe77bb(0xd4),'setCF':_0xfe77bb(0xc7),'addCF':'add\x20conditional\x20formatting','addProtection':_0xfe77bb(0xc4),'addSparkline':_0xfe77bb(0xcd),'deleteProtection':_0xfe77bb(0xc1),'etc':',\x20etc.'}}},t=e;module[_0xfe77bb(0xd0)]=t;
@@ -1 +1 @@
1
- 'use strict';const _0x7d1bc5=_0x8ac4;function _0x8ac4(_0x4a6e66,_0x51c4f9){const _0x129be6=_0x129b();return _0x8ac4=function(_0x8ac466,_0x33acbe){_0x8ac466=_0x8ac466-0x1cb;let _0x1e5f93=_0x129be6[_0x8ac466];return _0x1e5f93;},_0x8ac4(_0x4a6e66,_0x51c4f9);}(function(_0x4d2068,_0x4d348e){const _0x375b41=_0x8ac4,_0x1c2377=_0x4d2068();while(!![]){try{const _0x3f4411=parseInt(_0x375b41(0x1de))/0x1*(-parseInt(_0x375b41(0x1cd))/0x2)+-parseInt(_0x375b41(0x1cc))/0x3+-parseInt(_0x375b41(0x1e3))/0x4+-parseInt(_0x375b41(0x1e0))/0x5+parseInt(_0x375b41(0x1d9))/0x6*(-parseInt(_0x375b41(0x1e5))/0x7)+parseInt(_0x375b41(0x1d1))/0x8+parseInt(_0x375b41(0x1e8))/0x9;if(_0x3f4411===_0x4d348e)break;else _0x1c2377['push'](_0x1c2377['shift']());}catch(_0x366dd2){_0x1c2377['push'](_0x1c2377['shift']());}}}(_0x129b,0xe161e));function _0x129b(){const _0x26d99d=['بازگشت','126ggPeKz','بازگردانی\x20این\x20نسخه','ورق\x20کاری\x20بازگردانی\x20شده','32737302eGTmyZ','تنظیم\x20اعتبار\x20سنجی\x20داده','5350473CCheVF','2082922oeEKdd','کاربر\x20ناشناخته','افزودن\x20حفاظت','exports','9916392JRYcBl','افزودن\x20نمودار\x20کوچک','نسخه\x20فعلی','بازگردانی\x20از','ورق\x20کاری\x20اضافه\x20شده','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','تنظیم\x20قالب\x20بندی\x20شرطی','66834tdtQWf','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','تنظیم\x20فیلتر','کاربر\x20فعلی','تنظیم\x20منجمد','1WGAwoF','ورق\x20کاری\x20ویرایش\x20شده','2038190mZhmTx','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','2083076PAfmCo'];_0x129b=function(){return _0x26d99d;};return _0x129b();}const e={'editHistory':{'panel':{'title':'تاریخچه\x20ویرایش','unknownUser':_0x7d1bc5(0x1ce),'listFetchError':'دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','revertConfirm':_0x7d1bc5(0x1e2),'revertConfirmText':_0x7d1bc5(0x1e1),'cancel':'لغو','confirm':'تایید','reverting':_0x7d1bc5(0x1da),'revertFailed':_0x7d1bc5(0x1d7),'currentVersion':_0x7d1bc5(0x1d3),'currentUser':_0x7d1bc5(0x1dc),'revertDesc':_0x7d1bc5(0x1e6)},'info':{'loading':_0x7d1bc5(0x1d6)},'header':{'back':_0x7d1bc5(0x1e4),'revert':_0x7d1bc5(0x1e6)},'action':{'insertSheet':_0x7d1bc5(0x1d5),'removeSheet':'ورق\x20کاری\x20حذف\x20شده','createSheet':'ورق\x20کاری\x20ایجاد\x20شده','setFilter':_0x7d1bc5(0x1db),'setFrozen':_0x7d1bc5(0x1dd),'editSheet':_0x7d1bc5(0x1df),'revertSheet':_0x7d1bc5(0x1e7),'revertSheetPrefix':_0x7d1bc5(0x1d4),'revertSheetSuffix':'','setDV':_0x7d1bc5(0x1cb),'setCF':_0x7d1bc5(0x1d8),'addCF':'افزودن\x20قالب\x20بندی\x20شرطی','addProtection':_0x7d1bc5(0x1cf),'addSparkline':_0x7d1bc5(0x1d2),'deleteProtection':'حذف\x20حفاظت','etc':'،\x20و\x20غیره'}}};module[_0x7d1bc5(0x1d0)]=e;
1
+ 'use strict';const _0x39baeb=_0x5d98;(function(_0x321a0a,_0x10eee6){const _0x50e880=_0x5d98,_0x1ac5a8=_0x321a0a();while(!![]){try{const _0x27de10=parseInt(_0x50e880(0xa5))/0x1+-parseInt(_0x50e880(0x9d))/0x2*(parseInt(_0x50e880(0xb8))/0x3)+parseInt(_0x50e880(0xa6))/0x4*(parseInt(_0x50e880(0xac))/0x5)+-parseInt(_0x50e880(0xa1))/0x6+parseInt(_0x50e880(0xb9))/0x7*(parseInt(_0x50e880(0xaa))/0x8)+parseInt(_0x50e880(0xa4))/0x9+parseInt(_0x50e880(0xb4))/0xa*(-parseInt(_0x50e880(0xb3))/0xb);if(_0x27de10===_0x10eee6)break;else _0x1ac5a8['push'](_0x1ac5a8['shift']());}catch(_0x49269e){_0x1ac5a8['push'](_0x1ac5a8['shift']());}}}(_0x4022,0x3b6e7));function _0x5d98(_0xf69f65,_0x43df0e){const _0x40229e=_0x4022();return _0x5d98=function(_0x5d98a0,_0x1a16b8){_0x5d98a0=_0x5d98a0-0x9d;let _0xf0cddd=_0x40229e[_0x5d98a0];return _0xf0cddd;},_0x5d98(_0xf69f65,_0x43df0e);}const e={'editHistory':{'panel':{'title':'تاریخچه\x20ویرایش','unknownUser':'کاربر\x20ناشناخته','listFetchError':'دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','revertConfirm':'این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','revertConfirmText':'این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','cancel':_0x39baeb(0xb2),'confirm':_0x39baeb(0xae),'reverting':_0x39baeb(0xab),'revertFailed':_0x39baeb(0xa8),'currentVersion':_0x39baeb(0xb5),'currentUser':'کاربر\x20فعلی','revertDesc':_0x39baeb(0xad)},'info':{'loading':'در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'},'header':{'back':_0x39baeb(0x9f),'revert':'بازگردانی\x20این\x20نسخه'},'action':{'insertSheet':'ورق\x20کاری\x20اضافه\x20شده','removeSheet':_0x39baeb(0xa9),'createSheet':'ورق\x20کاری\x20ایجاد\x20شده','setFilter':'تنظیم\x20فیلتر','setFrozen':_0x39baeb(0xb6),'editSheet':_0x39baeb(0xa0),'revertSheet':_0x39baeb(0xa3),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':_0x39baeb(0xb0),'setCF':_0x39baeb(0xb1),'addCF':_0x39baeb(0x9e),'addProtection':_0x39baeb(0xa2),'addSparkline':_0x39baeb(0xa7),'deleteProtection':_0x39baeb(0xaf),'etc':_0x39baeb(0xb7)}}};function _0x4022(){const _0x2ba017=['نسخه\x20فعلی','تنظیم\x20منجمد','،\x20و\x20غیره','6zVexdh','861WcucfU','105628gupEYg','افزودن\x20قالب\x20بندی\x20شرطی','بازگشت','ورق\x20کاری\x20ویرایش\x20شده','179940OPmNXX','افزودن\x20حفاظت','ورق\x20کاری\x20بازگردانی\x20شده','1680210qEuxBG','166429ZrOIGC','6884JNGZyG','افزودن\x20نمودار\x20کوچک','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','ورق\x20کاری\x20حذف\x20شده','7672ECidfL','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','1145xgwePv','بازگردانی\x20این\x20نسخه','تایید','حذف\x20حفاظت','تنظیم\x20اعتبار\x20سنجی\x20داده','تنظیم\x20قالب\x20بندی\x20شرطی','لغو','190982wFofiC','280gLEIfE'];_0x4022=function(){return _0x2ba017;};return _0x4022();}module['exports']=e;
@@ -1 +1 @@
1
- 'use strict';const _0x363b0e=_0x2751;(function(_0x25b617,_0x59c352){const _0x455576=_0x2751,_0x143446=_0x25b617();while(!![]){try{const _0x454561=-parseInt(_0x455576(0x1a3))/0x1*(-parseInt(_0x455576(0x1b5))/0x2)+-parseInt(_0x455576(0x1ad))/0x3*(parseInt(_0x455576(0x1a9))/0x4)+-parseInt(_0x455576(0x1af))/0x5*(-parseInt(_0x455576(0x1a2))/0x6)+parseInt(_0x455576(0x1ac))/0x7+parseInt(_0x455576(0x196))/0x8+parseInt(_0x455576(0x1b7))/0x9*(-parseInt(_0x455576(0x1ab))/0xa)+-parseInt(_0x455576(0x19e))/0xb;if(_0x454561===_0x59c352)break;else _0x143446['push'](_0x143446['shift']());}catch(_0x78d609){_0x143446['push'](_0x143446['shift']());}}}(_0x29a6,0xa8daa));function _0x29a6(){const _0x361509=['Restore\x20this\x20version','delete\x20protection','Reverted\x20from','867718jYaOPn','deleted\x20worksheet','18873zfGZpp','inserted\x20worksheet','set\x20conditional\x20formatting','10671744hWJCTP','Cancel','add\x20conditional\x20formatting','Current\x20User','set\x20frozen','Current\x20Version','set\x20data\x20validation','created\x20workbook','32809348rPPtgO','add\x20protection','Confirm','Edit\x20History','7914KJOaaw','2UUGOTH','add\x20sparkline','set\x20filter','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Reverting,\x20please\x20wait...','loading,\x20please\x20wait...','1320520aovaAo','Restore\x20this\x20version?','430GiCdAu','6390244InOnRJ','3NCjUvp','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','3715smaUAR','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20User'];_0x29a6=function(){return _0x361509;};return _0x29a6();}function _0x2751(_0x2d67ca,_0x1378d4){const _0x29a618=_0x29a6();return _0x2751=function(_0x27517f,_0x3a1c21){_0x27517f=_0x27517f-0x196;let _0x1e65cd=_0x29a618[_0x27517f];return _0x1e65cd;},_0x2751(_0x2d67ca,_0x1378d4);}const e={'editHistory':{'panel':{'title':_0x363b0e(0x1a1),'unknownUser':_0x363b0e(0x1b1),'listFetchError':_0x363b0e(0x1b0),'revertConfirm':_0x363b0e(0x1aa),'revertConfirmText':_0x363b0e(0x1a6),'cancel':_0x363b0e(0x197),'confirm':_0x363b0e(0x1a0),'reverting':_0x363b0e(0x1a7),'revertFailed':_0x363b0e(0x1ae),'currentVersion':_0x363b0e(0x19b),'currentUser':_0x363b0e(0x199),'revertDesc':_0x363b0e(0x1b2)},'info':{'loading':_0x363b0e(0x1a8)},'header':{'back':'Back','revert':_0x363b0e(0x1b2)},'action':{'insertSheet':_0x363b0e(0x1b8),'removeSheet':_0x363b0e(0x1b6),'createSheet':_0x363b0e(0x19d),'setFilter':_0x363b0e(0x1a5),'setFrozen':_0x363b0e(0x19a),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x363b0e(0x1b4),'revertSheetSuffix':'','setDV':_0x363b0e(0x19c),'setCF':_0x363b0e(0x1b9),'addCF':_0x363b0e(0x198),'addProtection':_0x363b0e(0x19f),'addSparkline':_0x363b0e(0x1a4),'deleteProtection':_0x363b0e(0x1b3),'etc':',\x20etc.'}}},t=e;module['exports']=t;
1
+ 'use strict';function _0x28ac(_0x1ee15c,_0x4bec06){const _0xb5555e=_0xb555();return _0x28ac=function(_0x28acd0,_0x30416b){_0x28acd0=_0x28acd0-0x162;let _0x3ca729=_0xb5555e[_0x28acd0];return _0x3ca729;},_0x28ac(_0x1ee15c,_0x4bec06);}const _0x2b45d3=_0x28ac;function _0xb555(){const _0xcbeeb1=['Restore\x20this\x20version','10GLALNU','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20Version','Confirm','36428szzDkd','deleted\x20worksheet',',\x20etc.','Unknown\x20User','loading,\x20please\x20wait...','267tUhDWf','8vcRSdr','delete\x20protection','7546917QnxxnD','set\x20frozen','2224126MjAWaE','edited\x20worksheet','Restore\x20this\x20version?','6045545UcmKBa','add\x20sparkline','reverted\x20workbook','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Cancel','inserted\x20worksheet','set\x20data\x20validation','1291992aoDYul','820758pKoKcp','set\x20filter','Reverting,\x20please\x20wait...','exports','created\x20workbook','Current\x20User','Reverted\x20from','7747713ZVlGUv'];_0xb555=function(){return _0xcbeeb1;};return _0xb555();}(function(_0x1540f8,_0x1f66e2){const _0x84c8a0=_0x28ac,_0x25ff25=_0x1540f8();while(!![]){try{const _0xb87239=-parseInt(_0x84c8a0(0x171))/0x1+parseInt(_0x84c8a0(0x166))/0x2+-parseInt(_0x84c8a0(0x183))/0x3*(parseInt(_0x84c8a0(0x17e))/0x4)+parseInt(_0x84c8a0(0x169))/0x5+-parseInt(_0x84c8a0(0x170))/0x6+-parseInt(_0x84c8a0(0x164))/0x7*(-parseInt(_0x84c8a0(0x162))/0x8)+parseInt(_0x84c8a0(0x178))/0x9*(-parseInt(_0x84c8a0(0x17a))/0xa);if(_0xb87239===_0x1f66e2)break;else _0x25ff25['push'](_0x25ff25['shift']());}catch(_0x287238){_0x25ff25['push'](_0x25ff25['shift']());}}}(_0xb555,0xa8e79));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x2b45d3(0x181),'listFetchError':_0x2b45d3(0x17b),'revertConfirm':_0x2b45d3(0x168),'revertConfirmText':_0x2b45d3(0x16c),'cancel':_0x2b45d3(0x16d),'confirm':_0x2b45d3(0x17d),'reverting':_0x2b45d3(0x173),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x2b45d3(0x17c),'currentUser':_0x2b45d3(0x176),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x2b45d3(0x182)},'header':{'back':'Back','revert':_0x2b45d3(0x179)},'action':{'insertSheet':_0x2b45d3(0x16e),'removeSheet':_0x2b45d3(0x17f),'createSheet':_0x2b45d3(0x175),'setFilter':_0x2b45d3(0x172),'setFrozen':_0x2b45d3(0x165),'editSheet':_0x2b45d3(0x167),'revertSheet':_0x2b45d3(0x16b),'revertSheetPrefix':_0x2b45d3(0x177),'revertSheetSuffix':'','setDV':_0x2b45d3(0x16f),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x2b45d3(0x16a),'deleteProtection':_0x2b45d3(0x163),'etc':_0x2b45d3(0x180)}}},t=e;module[_0x2b45d3(0x174)]=t;