@univerjs-pro/edit-history-viewer 0.12.4-experimental.20251210-d708bff → 0.12.4-experimental.20251211-e01e32a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/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/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +17 -17
@@ -1 +1 @@
1
- const _0x4351e1=_0x2a17;function _0x2a17(_0x142329,_0x3d5c49){_0x142329=_0x142329-0xc8;const _0x4c9104=_0x4c91();let _0x2a1790=_0x4c9104[_0x142329];return _0x2a1790;}(function(_0x18fd16,_0x8bc3f7){const _0x3382fa=_0x2a17,_0x3a69fd=_0x18fd16();while(!![]){try{const _0x1bca65=-parseInt(_0x3382fa(0xce))/0x1*(-parseInt(_0x3382fa(0xdb))/0x2)+-parseInt(_0x3382fa(0xe3))/0x3*(-parseInt(_0x3382fa(0xd0))/0x4)+parseInt(_0x3382fa(0xe0))/0x5*(-parseInt(_0x3382fa(0xcb))/0x6)+parseInt(_0x3382fa(0xe1))/0x7+parseInt(_0x3382fa(0xcf))/0x8*(-parseInt(_0x3382fa(0xd7))/0x9)+-parseInt(_0x3382fa(0xc8))/0xa*(-parseInt(_0x3382fa(0xca))/0xb)+parseInt(_0x3382fa(0xe4))/0xc;if(_0x1bca65===_0x8bc3f7)break;else _0x3a69fd['push'](_0x3a69fd['shift']());}catch(_0x2f172c){_0x3a69fd['push'](_0x3a69fd['shift']());}}}(_0x4c91,0x30559));function _0x4c91(){const _0xa0a947=['データの入力規則を設定','編集履歴','138EoWqAg','スパークラインを追加','現在のバージョン','保護を追加','条件付き書式を設定','20XgQiXv','1236739gVPVvG','フィルターを設定','471243XhtYyU','350844IRzWgt','ワークシートを挿入','条件付き書式を追加','10eGvUFf','復元中です。お待ちください...','614603yanSAN','251052woxjQK','ワークシートを編集','不明なエラーが発生しました。ページを更新して復元結果を確認してください','2561GMxfok','613952hYXGma','4xUgxRi','不明なユーザー','このバージョンを復元しますか?','このドキュメントは選択したバージョンに戻ります','保護を削除','このバージョンを復元','復元元:','27rrtWlt','ウィンドウ枠を固定'];_0x4c91=function(){return _0xa0a947;};return _0x4c91();}const e={'editHistory':{'panel':{'title':_0x4351e1(0xda),'unknownUser':_0x4351e1(0xd1),'listFetchError':'編集履歴リストの取得に失敗しました','revertConfirm':_0x4351e1(0xd2),'revertConfirmText':_0x4351e1(0xd3),'cancel':'キャンセル','confirm':'確認','reverting':_0x4351e1(0xc9),'revertFailed':_0x4351e1(0xcd),'currentVersion':_0x4351e1(0xdd),'currentUser':'現在のユーザー','revertDesc':_0x4351e1(0xd5)},'info':{'loading':'読み込み中です。お待ちください...'},'header':{'back':'戻る','revert':_0x4351e1(0xd5)},'action':{'insertSheet':_0x4351e1(0xe5),'removeSheet':'ワークシートを削除','createSheet':'ブックを作成','setFilter':_0x4351e1(0xe2),'setFrozen':_0x4351e1(0xd8),'editSheet':_0x4351e1(0xcc),'revertSheet':'ブックを復元','revertSheetPrefix':_0x4351e1(0xd6),'revertSheetSuffix':'','setDV':_0x4351e1(0xd9),'setCF':_0x4351e1(0xdf),'addCF':_0x4351e1(0xe6),'addProtection':_0x4351e1(0xde),'addSparkline':_0x4351e1(0xdc),'insertChart':'チャートを挿入','deleteProtection':_0x4351e1(0xd4),'etc':'など'}}};export{e as default};
1
+ const _0x4acf72=_0x41cf;function _0x41cf(_0x11232c,_0x1015ae){_0x11232c=_0x11232c-0x197;const _0x3c4109=_0x3c41();let _0x41cf5b=_0x3c4109[_0x11232c];return _0x41cf5b;}(function(_0x4eaf34,_0x51b689){const _0x14e6c4=_0x41cf,_0x193a29=_0x4eaf34();while(!![]){try{const _0x5e4439=parseInt(_0x14e6c4(0x1a1))/0x1*(-parseInt(_0x14e6c4(0x19c))/0x2)+parseInt(_0x14e6c4(0x19b))/0x3*(-parseInt(_0x14e6c4(0x1ab))/0x4)+-parseInt(_0x14e6c4(0x1af))/0x5*(parseInt(_0x14e6c4(0x1a0))/0x6)+parseInt(_0x14e6c4(0x1aa))/0x7+-parseInt(_0x14e6c4(0x1b4))/0x8+parseInt(_0x14e6c4(0x1b5))/0x9*(-parseInt(_0x14e6c4(0x1b3))/0xa)+parseInt(_0x14e6c4(0x19d))/0xb;if(_0x5e4439===_0x51b689)break;else _0x193a29['push'](_0x193a29['shift']());}catch(_0x5c1d52){_0x193a29['push'](_0x193a29['shift']());}}}(_0x3c41,0x1efde));function _0x3c41(){const _0x152935=['このバージョンを復元','チャートを挿入','1143OnExrt','286xLgKNx','9137744MlLObF','復元中です。お待ちください...','ワークシートを挿入','13566ElyEcp','1565VhGznq','キャンセル','ワークシートを削除','フィルターを設定','編集履歴','条件付き書式を設定','編集履歴リストの取得に失敗しました','復元元:','保護を追加','957334PnQIJG','2344aqsPFM','条件付き書式を追加','不明なユーザー','現在のバージョン','170BIdhbN','保護を削除','このバージョンを復元しますか?','このドキュメントは選択したバージョンに戻ります','1843090pKokAP','1058240CIsnlN','9YsYegx','データの入力規則を設定','不明なエラーが発生しました。ページを更新して復元結果を確認してください'];_0x3c41=function(){return _0x152935;};return _0x3c41();}const e={'editHistory':{'panel':{'title':_0x4acf72(0x1a5),'unknownUser':_0x4acf72(0x1ad),'listFetchError':_0x4acf72(0x1a7),'revertConfirm':_0x4acf72(0x1b1),'revertConfirmText':_0x4acf72(0x1b2),'cancel':_0x4acf72(0x1a2),'confirm':'確認','reverting':_0x4acf72(0x19e),'revertFailed':_0x4acf72(0x198),'currentVersion':_0x4acf72(0x1ae),'currentUser':'現在のユーザー','revertDesc':_0x4acf72(0x199)},'info':{'loading':'読み込み中です。お待ちください...'},'header':{'back':'戻る','revert':_0x4acf72(0x199)},'action':{'insertSheet':_0x4acf72(0x19f),'removeSheet':_0x4acf72(0x1a3),'createSheet':'ブックを作成','setFilter':_0x4acf72(0x1a4),'setFrozen':'ウィンドウ枠を固定','editSheet':'ワークシートを編集','revertSheet':'ブックを復元','revertSheetPrefix':_0x4acf72(0x1a8),'revertSheetSuffix':'','setDV':_0x4acf72(0x197),'setCF':_0x4acf72(0x1a6),'addCF':_0x4acf72(0x1ac),'addProtection':_0x4acf72(0x1a9),'addSparkline':'スパークラインを追加','insertChart':_0x4acf72(0x19a),'deleteProtection':_0x4acf72(0x1b0),'etc':'など'}}};export{e as default};
@@ -1 +1 @@
1
- function _0x494b(){const _0x21c484=['보호\x20삭제','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','워크시트\x20삽입','조건부\x20서식\x20설정','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','편집\x20기록','11851ZIgeaK','4681384lXrASd','3TEJFEl','워크시트\x20삭제','현재\x20버전','1741TZSqhU','이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','데이터\x20유효성\x20검사\x20설정','1708228ORNwFA','현재\x20사용자','스파크라인\x20추가','통합\x20문서\x20복원','통합\x20문서\x20만들기','차트\x20삽입','1217030mCdvsF','11002620yhZqrd','366FwKGsG','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','이\x20버전\x20복원','502FcyWTT','5135238xKUntg','복원\x20원본:','알\x20수\x20없는\x20사용자','워크시트\x20편집','이\x20버전을\x20복원하시겠습니까?','조건부\x20서식\x20추가','보호\x20추가'];_0x494b=function(){return _0x21c484;};return _0x494b();}const _0x4c9b69=_0x4116;(function(_0x363d79,_0x2c84df){const _0x50f6ae=_0x4116,_0x3dd53d=_0x363d79();while(!![]){try{const _0x3c5ce0=-parseInt(_0x50f6ae(0x1c7))/0x1*(parseInt(_0x50f6ae(0x1d5))/0x2)+parseInt(_0x50f6ae(0x1c4))/0x3*(-parseInt(_0x50f6ae(0x1ca))/0x4)+parseInt(_0x50f6ae(0x1d0))/0x5+parseInt(_0x50f6ae(0x1d2))/0x6*(-parseInt(_0x50f6ae(0x1c2))/0x7)+-parseInt(_0x50f6ae(0x1c3))/0x8+parseInt(_0x50f6ae(0x1d6))/0x9+parseInt(_0x50f6ae(0x1d1))/0xa;if(_0x3c5ce0===_0x2c84df)break;else _0x3dd53d['push'](_0x3dd53d['shift']());}catch(_0x239b42){_0x3dd53d['push'](_0x3dd53d['shift']());}}}(_0x494b,0x5851c));const e={'editHistory':{'panel':{'title':_0x4c9b69(0x1c1),'unknownUser':_0x4c9b69(0x1d8),'listFetchError':_0x4c9b69(0x1e1),'revertConfirm':_0x4c9b69(0x1da),'revertConfirmText':_0x4c9b69(0x1c8),'cancel':'취소','confirm':'확인','reverting':_0x4c9b69(0x1d3),'revertFailed':'알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','currentVersion':_0x4c9b69(0x1c6),'currentUser':_0x4c9b69(0x1cb),'revertDesc':_0x4c9b69(0x1d4)},'info':{'loading':_0x4c9b69(0x1de)},'header':{'back':'뒤로','revert':_0x4c9b69(0x1d4)},'action':{'insertSheet':_0x4c9b69(0x1df),'removeSheet':_0x4c9b69(0x1c5),'createSheet':_0x4c9b69(0x1ce),'setFilter':'필터\x20설정','setFrozen':'틀\x20고정\x20설정','editSheet':_0x4c9b69(0x1d9),'revertSheet':_0x4c9b69(0x1cd),'revertSheetPrefix':_0x4c9b69(0x1d7),'revertSheetSuffix':'','setDV':_0x4c9b69(0x1c9),'setCF':_0x4c9b69(0x1e0),'addCF':_0x4c9b69(0x1db),'addProtection':_0x4c9b69(0x1dc),'addSparkline':_0x4c9b69(0x1cc),'insertChart':_0x4c9b69(0x1cf),'deleteProtection':_0x4c9b69(0x1dd),'etc':'등'}}};function _0x4116(_0x46b78b,_0xfa0426){_0x46b78b=_0x46b78b-0x1c1;const _0x494bad=_0x494b();let _0x411620=_0x494bad[_0x46b78b];return _0x411620;}export{e as default};
1
+ const _0x572e98=_0x1520;function _0x1520(_0x4e600b,_0x2cfe58){_0x4e600b=_0x4e600b-0x120;const _0x50613a=_0x5061();let _0x15205f=_0x50613a[_0x4e600b];return _0x15205f;}(function(_0x563f9c,_0x3edaef){const _0x25e5e7=_0x1520,_0x1962ac=_0x563f9c();while(!![]){try{const _0x5c6f4a=parseInt(_0x25e5e7(0x12e))/0x1+-parseInt(_0x25e5e7(0x13f))/0x2+parseInt(_0x25e5e7(0x133))/0x3+parseInt(_0x25e5e7(0x123))/0x4*(parseInt(_0x25e5e7(0x139))/0x5)+parseInt(_0x25e5e7(0x125))/0x6*(-parseInt(_0x25e5e7(0x13a))/0x7)+-parseInt(_0x25e5e7(0x137))/0x8*(-parseInt(_0x25e5e7(0x12a))/0x9)+-parseInt(_0x25e5e7(0x12c))/0xa;if(_0x5c6f4a===_0x3edaef)break;else _0x1962ac['push'](_0x1962ac['shift']());}catch(_0x2dd642){_0x1962ac['push'](_0x1962ac['shift']());}}}(_0x5061,0x9e6c6));function _0x5061(){const _0xa5e6e6=['현재\x20사용자','통합\x20문서\x20만들기','이\x20버전\x20복원','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','1458270gDVCXA','워크시트\x20삽입','조건부\x20서식\x20설정','복원\x20원본:','16cIQMHF','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','6GuRvki','보호\x20추가','통합\x20문서\x20복원','필터\x20설정','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','5652BHlHYG','워크시트\x20편집','7317520qVqyEw','현재\x20버전','870899zalLbt','보호\x20삭제','스파크라인\x20추가','편집\x20기록','차트\x20삽입','1489491rokSUW','조건부\x20서식\x20추가','이\x20버전을\x20복원하시겠습니까?','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','4312FSMsfi','틀\x20고정\x20설정','507035dQgtjk','12089YwBCVY'];_0x5061=function(){return _0xa5e6e6;};return _0x5061();}const e={'editHistory':{'panel':{'title':_0x572e98(0x131),'unknownUser':'알\x20수\x20없는\x20사용자','listFetchError':_0x572e98(0x13e),'revertConfirm':_0x572e98(0x135),'revertConfirmText':'이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','cancel':'취소','confirm':'확인','reverting':_0x572e98(0x136),'revertFailed':_0x572e98(0x124),'currentVersion':_0x572e98(0x12d),'currentUser':_0x572e98(0x13b),'revertDesc':_0x572e98(0x13d)},'info':{'loading':_0x572e98(0x129)},'header':{'back':'뒤로','revert':_0x572e98(0x13d)},'action':{'insertSheet':_0x572e98(0x120),'removeSheet':'워크시트\x20삭제','createSheet':_0x572e98(0x13c),'setFilter':_0x572e98(0x128),'setFrozen':_0x572e98(0x138),'editSheet':_0x572e98(0x12b),'revertSheet':_0x572e98(0x127),'revertSheetPrefix':_0x572e98(0x122),'revertSheetSuffix':'','setDV':'데이터\x20유효성\x20검사\x20설정','setCF':_0x572e98(0x121),'addCF':_0x572e98(0x134),'addProtection':_0x572e98(0x126),'addSparkline':_0x572e98(0x130),'insertChart':_0x572e98(0x132),'deleteProtection':_0x572e98(0x12f),'etc':'등'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x1ee110=_0x4490;(function(_0x38607e,_0xefcdb){const _0x3c4455=_0x4490,_0x43aba8=_0x38607e();while(!![]){try{const _0x4b6889=parseInt(_0x3c4455(0xb9))/0x1+parseInt(_0x3c4455(0xae))/0x2+-parseInt(_0x3c4455(0xaa))/0x3+-parseInt(_0x3c4455(0xbd))/0x4+parseInt(_0x3c4455(0xb0))/0x5+parseInt(_0x3c4455(0xbf))/0x6+parseInt(_0x3c4455(0xb6))/0x7*(-parseInt(_0x3c4455(0xb3))/0x8);if(_0x4b6889===_0xefcdb)break;else _0x43aba8['push'](_0x43aba8['shift']());}catch(_0x1354b3){_0x43aba8['push'](_0x43aba8['shift']());}}}(_0x4cac,0x60741));function _0x4cac(){const _0x50d390=['inserted\x20worksheet','Back','6426mlkdjN','inserted\x20chart','set\x20frozen','695923fdwNMt','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20User','1095532qPFDQA','Reverted\x20from','1554636dZTyEM','set\x20conditional\x20formatting','delete\x20protection','Confirm','reverted\x20workbook','Restore\x20this\x20version?','add\x20protection','loading,\x20please\x20wait...','add\x20sparkline','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','created\x20workbook','2188083KniGvD','add\x20conditional\x20formatting','set\x20data\x20validation','Current\x20Version','1393706sEklPG','Edit\x20History','2574005xnbonT','deleted\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','6696XQgoOO'];_0x4cac=function(){return _0x50d390;};return _0x4cac();}const e={'editHistory':{'panel':{'title':_0x1ee110(0xaf),'unknownUser':'Unknown\x20User','listFetchError':_0x1ee110(0xb2),'revertConfirm':_0x1ee110(0xa4),'revertConfirmText':_0x1ee110(0xbb),'cancel':'Cancel','confirm':_0x1ee110(0xa2),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x1ee110(0xa8),'currentVersion':_0x1ee110(0xad),'currentUser':_0x1ee110(0xbc),'revertDesc':_0x1ee110(0xba)},'info':{'loading':_0x1ee110(0xa6)},'header':{'back':_0x1ee110(0xb5),'revert':_0x1ee110(0xba)},'action':{'insertSheet':_0x1ee110(0xb4),'removeSheet':_0x1ee110(0xb1),'createSheet':_0x1ee110(0xa9),'setFilter':'set\x20filter','setFrozen':_0x1ee110(0xb8),'editSheet':'edited\x20worksheet','revertSheet':_0x1ee110(0xa3),'revertSheetPrefix':_0x1ee110(0xbe),'revertSheetSuffix':'','setDV':_0x1ee110(0xac),'setCF':_0x1ee110(0xc0),'addCF':_0x1ee110(0xab),'addProtection':_0x1ee110(0xa5),'addSparkline':_0x1ee110(0xa7),'insertChart':_0x1ee110(0xb7),'deleteProtection':_0x1ee110(0xc1),'etc':',\x20etc.'}}},t=e;function _0x4490(_0x4af7b4,_0x33ce1f){_0x4af7b4=_0x4af7b4-0xa2;const _0x4cac0f=_0x4cac();let _0x4490b6=_0x4cac0f[_0x4af7b4];return _0x4490b6;}export{t as default};
1
+ const _0x4396fd=_0x4aa6;function _0x4aa6(_0x225635,_0x27ee7d){_0x225635=_0x225635-0x131;const _0x423a2=_0x423a();let _0x4aa63c=_0x423a2[_0x225635];return _0x4aa63c;}(function(_0x5b962e,_0xc5df6){const _0x499d19=_0x4aa6,_0x46e119=_0x5b962e();while(!![]){try{const _0x35e016=-parseInt(_0x499d19(0x140))/0x1+-parseInt(_0x499d19(0x145))/0x2*(-parseInt(_0x499d19(0x137))/0x3)+-parseInt(_0x499d19(0x134))/0x4*(parseInt(_0x499d19(0x151))/0x5)+parseInt(_0x499d19(0x146))/0x6*(-parseInt(_0x499d19(0x132))/0x7)+-parseInt(_0x499d19(0x13d))/0x8*(parseInt(_0x499d19(0x14b))/0x9)+parseInt(_0x499d19(0x141))/0xa*(-parseInt(_0x499d19(0x14c))/0xb)+parseInt(_0x499d19(0x152))/0xc*(parseInt(_0x499d19(0x14e))/0xd);if(_0x35e016===_0xc5df6)break;else _0x46e119['push'](_0x46e119['shift']());}catch(_0x436bbe){_0x46e119['push'](_0x46e119['shift']());}}}(_0x423a,0xcba45));const e={'editHistory':{'panel':{'title':_0x4396fd(0x138),'unknownUser':'Unknown\x20User','listFetchError':_0x4396fd(0x139),'revertConfirm':_0x4396fd(0x13e),'revertConfirmText':_0x4396fd(0x136),'cancel':'Cancel','confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x4396fd(0x135),'currentVersion':_0x4396fd(0x13b),'currentUser':_0x4396fd(0x149),'revertDesc':_0x4396fd(0x148)},'info':{'loading':_0x4396fd(0x14d)},'header':{'back':_0x4396fd(0x14a),'revert':_0x4396fd(0x148)},'action':{'insertSheet':_0x4396fd(0x142),'removeSheet':'deleted\x20worksheet','createSheet':_0x4396fd(0x133),'setFilter':_0x4396fd(0x14f),'setFrozen':_0x4396fd(0x13c),'editSheet':_0x4396fd(0x143),'revertSheet':_0x4396fd(0x13a),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x4396fd(0x131),'setCF':'set\x20conditional\x20formatting','addCF':_0x4396fd(0x144),'addProtection':_0x4396fd(0x147),'addSparkline':_0x4396fd(0x150),'insertChart':_0x4396fd(0x13f),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;export{t as default};function _0x423a(){const _0x476fbe=['940329UpXFLx','20nINKth','inserted\x20worksheet','edited\x20worksheet','add\x20conditional\x20formatting','1087508LIvuwn','246VapBuu','add\x20protection','Restore\x20this\x20version','Current\x20User','Back','3337785DdRCbQ','2176955QtgXSv','loading,\x20please\x20wait...','23608WxARou','set\x20filter','add\x20sparkline','5zJqyYP','22908YjLmuk','set\x20data\x20validation','26383CqmVIS','created\x20workbook','4467488KbgiFd','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','6gvARmn','Edit\x20History','Failed\x20to\x20get\x20edit\x20history\x20list','reverted\x20workbook','Current\x20Version','set\x20frozen','24xuayhA','Restore\x20this\x20version?','inserted\x20chart'];_0x423a=function(){return _0x476fbe;};return _0x423a();}
@@ -1 +1 @@
1
- function _0x4da1(){const _0xc83cd7=['Phiên\x20bản\x20hiện\x20tại','xóa\x20bảo\x20vệ','Quay\x20lại','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','thêm\x20bảo\x20vệ','Xác\x20nhận','Người\x20dùng\x20hiện\x20tại','7176906knOlNf','Hủy','59073WybtZv','230160wquvmP','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','1632rBZMYo','645306oZqcrP','Lịch\x20sử\x20chỉnh\x20sửa','đã\x20tạo\x20sổ\x20làm\x20việc','5kidXFY','26RuJmya','824OqNwUd','đã\x20xóa\x20trang\x20tính','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','3059076GYLMWO','Khôi\x20phục\x20phiên\x20bản\x20này','3fWRfPO','đã\x20chỉnh\x20sửa\x20trang\x20tính','58166VQVlep','đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','đã\x20chèn\x20biểu\x20đồ','đang\x20tải,\x20vui\x20lòng\x20đợi...','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','Đã\x20khôi\x20phục\x20từ','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','164494iiJORx','đã\x20chèn\x20trang\x20tính'];_0x4da1=function(){return _0xc83cd7;};return _0x4da1();}const _0x28630b=_0x743c;(function(_0x5cfaea,_0x54427e){const _0x93e246=_0x743c,_0x4044f1=_0x5cfaea();while(!![]){try{const _0x4e07dc=-parseInt(_0x93e246(0x180))/0x1*(parseInt(_0x93e246(0x166))/0x2)+-parseInt(_0x93e246(0x186))/0x3*(parseInt(_0x93e246(0x184))/0x4)+parseInt(_0x93e246(0x17f))/0x5*(parseInt(_0x93e246(0x17c))/0x6)+parseInt(_0x93e246(0x178))/0x7*(-parseInt(_0x93e246(0x181))/0x8)+parseInt(_0x93e246(0x176))/0x9+-parseInt(_0x93e246(0x179))/0xa+-parseInt(_0x93e246(0x16d))/0xb*(-parseInt(_0x93e246(0x17b))/0xc);if(_0x4e07dc===_0x54427e)break;else _0x4044f1['push'](_0x4044f1['shift']());}catch(_0xa3e158){_0x4044f1['push'](_0x4044f1['shift']());}}}(_0x4da1,0x80501));const n={'editHistory':{'panel':{'title':_0x28630b(0x17d),'unknownUser':'Người\x20dùng\x20không\x20xác\x20định','listFetchError':_0x28630b(0x172),'revertConfirm':'Khôi\x20phục\x20phiên\x20bản\x20này?','revertConfirmText':'Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','cancel':_0x28630b(0x177),'confirm':_0x28630b(0x174),'reverting':_0x28630b(0x16a),'revertFailed':_0x28630b(0x183),'currentVersion':_0x28630b(0x16f),'currentUser':_0x28630b(0x175),'revertDesc':'Khôi\x20phục\x20phiên\x20bản\x20này'},'info':{'loading':_0x28630b(0x169)},'header':{'back':_0x28630b(0x171),'revert':_0x28630b(0x185)},'action':{'insertSheet':_0x28630b(0x16e),'removeSheet':_0x28630b(0x182),'createSheet':_0x28630b(0x17e),'setFilter':'đã\x20đặt\x20bộ\x20lọc','setFrozen':'đã\x20đặt\x20cố\x20định','editSheet':_0x28630b(0x165),'revertSheet':_0x28630b(0x16c),'revertSheetPrefix':_0x28630b(0x16b),'revertSheetSuffix':'','setDV':_0x28630b(0x167),'setCF':_0x28630b(0x17a),'addCF':'thêm\x20định\x20dạng\x20có\x20điều\x20kiện','addProtection':_0x28630b(0x173),'addSparkline':'thêm\x20biểu\x20đồ\x20nhỏ','insertChart':_0x28630b(0x168),'deleteProtection':_0x28630b(0x170),'etc':',\x20v.v.'}}};function _0x743c(_0x18943b,_0x3f85f5){_0x18943b=_0x18943b-0x165;const _0x4da1e9=_0x4da1();let _0x743c5=_0x4da1e9[_0x18943b];return _0x743c5;}export{n as default};
1
+ const _0x1adbbb=_0x1edd;function _0x1edd(_0x207c58,_0x581e58){_0x207c58=_0x207c58-0x1b8;const _0x5a505c=_0x5a50();let _0x1eddb2=_0x5a505c[_0x207c58];return _0x1eddb2;}(function(_0x2a9b2b,_0x34abbf){const _0x595c6a=_0x1edd,_0x50e765=_0x2a9b2b();while(!![]){try{const _0x54ba9c=-parseInt(_0x595c6a(0x1c0))/0x1*(-parseInt(_0x595c6a(0x1d1))/0x2)+parseInt(_0x595c6a(0x1da))/0x3+-parseInt(_0x595c6a(0x1d9))/0x4*(-parseInt(_0x595c6a(0x1bc))/0x5)+-parseInt(_0x595c6a(0x1bf))/0x6*(parseInt(_0x595c6a(0x1c2))/0x7)+-parseInt(_0x595c6a(0x1b8))/0x8*(parseInt(_0x595c6a(0x1db))/0x9)+-parseInt(_0x595c6a(0x1d3))/0xa+parseInt(_0x595c6a(0x1c6))/0xb*(parseInt(_0x595c6a(0x1bd))/0xc);if(_0x54ba9c===_0x34abbf)break;else _0x50e765['push'](_0x50e765['shift']());}catch(_0x29287e){_0x50e765['push'](_0x50e765['shift']());}}}(_0x5a50,0x64ab3));const n={'editHistory':{'panel':{'title':_0x1adbbb(0x1ba),'unknownUser':_0x1adbbb(0x1be),'listFetchError':_0x1adbbb(0x1cf),'revertConfirm':'Khôi\x20phục\x20phiên\x20bản\x20này?','revertConfirmText':_0x1adbbb(0x1d8),'cancel':_0x1adbbb(0x1d6),'confirm':_0x1adbbb(0x1c7),'reverting':_0x1adbbb(0x1c8),'revertFailed':_0x1adbbb(0x1d7),'currentVersion':_0x1adbbb(0x1c3),'currentUser':_0x1adbbb(0x1c4),'revertDesc':_0x1adbbb(0x1cc)},'info':{'loading':_0x1adbbb(0x1c9)},'header':{'back':_0x1adbbb(0x1ce),'revert':_0x1adbbb(0x1cc)},'action':{'insertSheet':_0x1adbbb(0x1cd),'removeSheet':_0x1adbbb(0x1dc),'createSheet':_0x1adbbb(0x1c5),'setFilter':_0x1adbbb(0x1d4),'setFrozen':'đã\x20đặt\x20cố\x20định','editSheet':_0x1adbbb(0x1d5),'revertSheet':_0x1adbbb(0x1d2),'revertSheetPrefix':_0x1adbbb(0x1bb),'revertSheetSuffix':'','setDV':'đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','setCF':_0x1adbbb(0x1cb),'addCF':'thêm\x20định\x20dạng\x20có\x20điều\x20kiện','addProtection':_0x1adbbb(0x1d0),'addSparkline':_0x1adbbb(0x1b9),'insertChart':'đã\x20chèn\x20biểu\x20đồ','deleteProtection':_0x1adbbb(0x1c1),'etc':_0x1adbbb(0x1ca)}}};export{n as default};function _0x5a50(){const _0x27b01a=['xóa\x20bảo\x20vệ','175ELppaM','Phiên\x20bản\x20hiện\x20tại','Người\x20dùng\x20hiện\x20tại','đã\x20tạo\x20sổ\x20làm\x20việc','930490ERAlzT','Xác\x20nhận','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','đang\x20tải,\x20vui\x20lòng\x20đợi...',',\x20v.v.','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','Khôi\x20phục\x20phiên\x20bản\x20này','đã\x20chèn\x20trang\x20tính','Quay\x20lại','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','thêm\x20bảo\x20vệ','192VfdBDo','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','575870ZXhMqb','đã\x20đặt\x20bộ\x20lọc','đã\x20chỉnh\x20sửa\x20trang\x20tính','Hủy','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','10628lGzyLC','1027599ZafwkA','99tsyXfb','đã\x20xóa\x20trang\x20tính','222392FyYCaD','thêm\x20biểu\x20đồ\x20nhỏ','Lịch\x20sử\x20chỉnh\x20sửa','Đã\x20khôi\x20phục\x20từ','355gwWyuc','24zFxVYh','Người\x20dùng\x20không\x20xác\x20định','69582msxoFD','3805CuxdiP'];_0x5a50=function(){return _0x27b01a;};return _0x5a50();}
@@ -1 +1 @@
1
- const _0x23bafb=_0x4da7;(function(_0x10be94,_0x59b222){const _0x2ddc01=_0x4da7,_0x3b6088=_0x10be94();while(!![]){try{const _0x923f97=-parseInt(_0x2ddc01(0x193))/0x1+-parseInt(_0x2ddc01(0x186))/0x2*(parseInt(_0x2ddc01(0x19f))/0x3)+parseInt(_0x2ddc01(0x187))/0x4+parseInt(_0x2ddc01(0x194))/0x5*(-parseInt(_0x2ddc01(0x19c))/0x6)+parseInt(_0x2ddc01(0x19d))/0x7+-parseInt(_0x2ddc01(0x190))/0x8+parseInt(_0x2ddc01(0x18e))/0x9;if(_0x923f97===_0x59b222)break;else _0x3b6088['push'](_0x3b6088['shift']());}catch(_0x559fd7){_0x3b6088['push'](_0x3b6088['shift']());}}}(_0x1b5d,0xa6a6b));function _0x4da7(_0x2d1784,_0xbe3748){_0x2d1784=_0x2d1784-0x186;const _0x1b5d4b=_0x1b5d();let _0x4da720=_0x1b5d4b[_0x2d1784];return _0x4da720;}const e={'editHistory':{'panel':{'title':_0x23bafb(0x195),'unknownUser':_0x23bafb(0x188),'listFetchError':_0x23bafb(0x18d),'revertConfirm':_0x23bafb(0x19b),'revertConfirmText':_0x23bafb(0x1a0),'cancel':'取消','confirm':'确认','reverting':'正在还原,请稍等...','revertFailed':_0x23bafb(0x19e),'currentVersion':_0x23bafb(0x197),'currentUser':_0x23bafb(0x18b),'revertDesc':_0x23bafb(0x192)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x23bafb(0x192)},'action':{'insertSheet':_0x23bafb(0x18f),'removeSheet':_0x23bafb(0x18a),'createSheet':_0x23bafb(0x189),'setFilter':'设置了筛选','setFrozen':_0x23bafb(0x198),'editSheet':'编辑了工作表','revertSheet':_0x23bafb(0x196),'revertSheetPrefix':'还原了','revertSheetSuffix':_0x23bafb(0x191),'setDV':_0x23bafb(0x19a),'setCF':_0x23bafb(0x1a2),'addCF':_0x23bafb(0x18c),'addProtection':_0x23bafb(0x1a1),'addSparkline':_0x23bafb(0x199),'insertChart':'插入了图表','deleteProtection':'移除了保护范围','etc':',等'}}};export{e as default};function _0x1b5d(){const _0x303ed8=['1029GMloMC','该文档将会被还原到选中版本','添加了保护范围','设置了条件格式','2340xRPfvX','3306088IfaJqO','未知用户','创建了工作表','删除了工作表','当前用户','添加了条件格式','获取编辑历史记录列表失败','18204426jKKPHK','插入了工作表','6151392kHmPkN','的版本','还原到此版本','612782BwYwqg','46615jvlFCg','历史记录','还原了版本','当前版本','冻结了工作表','添加了迷你图','设置了数据验证','还原到此版本?','258DawsjM','120904TLdmor','未知错误,请刷新页面查看还原结果'];_0x1b5d=function(){return _0x303ed8;};return _0x1b5d();}
1
+ function _0x1e38(){const _0x2f7ea7=['3287992TESWkQ','196hFTWDw','添加了条件格式','1qCddLi','当前版本','编辑了工作表','43805gHGOqP','297451PjrQpp','225010QzYOWS','还原了版本','未知用户','1811982KhmQAZ','还原到此版本?','获取编辑历史记录列表失败','的版本','移除了保护范围','删除了工作表','插入了图表','未知错误,请刷新页面查看还原结果','1676739qubWXz','当前用户','添加了保护范围','历史记录','还原了','7eWytuW','设置了数据验证','290LUiQFk','还原到此版本','5193675KmhbqY','添加了迷你图'];_0x1e38=function(){return _0x2f7ea7;};return _0x1e38();}function _0x5659(_0x239a9b,_0x587bb0){_0x239a9b=_0x239a9b-0xbb;const _0x1e3834=_0x1e38();let _0x5659d2=_0x1e3834[_0x239a9b];return _0x5659d2;}const _0x1b0162=_0x5659;(function(_0x12381a,_0x4593c7){const _0x274701=_0x5659,_0x29ae7d=_0x12381a();while(!![]){try{const _0x5ab9d0=-parseInt(_0x274701(0xbb))/0x1*(-parseInt(_0x274701(0xc0))/0x2)+parseInt(_0x274701(0xcb))/0x3+-parseInt(_0x274701(0xd7))/0x4*(parseInt(_0x274701(0xbe))/0x5)+-parseInt(_0x274701(0xc3))/0x6*(-parseInt(_0x274701(0xd0))/0x7)+-parseInt(_0x274701(0xd6))/0x8+-parseInt(_0x274701(0xd4))/0x9+parseInt(_0x274701(0xd2))/0xa*(parseInt(_0x274701(0xbf))/0xb);if(_0x5ab9d0===_0x4593c7)break;else _0x29ae7d['push'](_0x29ae7d['shift']());}catch(_0x44d0b2){_0x29ae7d['push'](_0x29ae7d['shift']());}}}(_0x1e38,0x53111));const e={'editHistory':{'panel':{'title':_0x1b0162(0xce),'unknownUser':_0x1b0162(0xc2),'listFetchError':_0x1b0162(0xc5),'revertConfirm':_0x1b0162(0xc4),'revertConfirmText':'该文档将会被还原到选中版本','cancel':'取消','confirm':'确认','reverting':'正在还原,请稍等...','revertFailed':_0x1b0162(0xca),'currentVersion':_0x1b0162(0xbc),'currentUser':_0x1b0162(0xcc),'revertDesc':_0x1b0162(0xd3)},'info':{'loading':'加载中,请稍等...'},'header':{'back':'返回','revert':_0x1b0162(0xd3)},'action':{'insertSheet':'插入了工作表','removeSheet':_0x1b0162(0xc8),'createSheet':'创建了工作表','setFilter':'设置了筛选','setFrozen':'冻结了工作表','editSheet':_0x1b0162(0xbd),'revertSheet':_0x1b0162(0xc1),'revertSheetPrefix':_0x1b0162(0xcf),'revertSheetSuffix':_0x1b0162(0xc6),'setDV':_0x1b0162(0xd1),'setCF':'设置了条件格式','addCF':_0x1b0162(0xd8),'addProtection':_0x1b0162(0xcd),'addSparkline':_0x1b0162(0xd5),'insertChart':_0x1b0162(0xc9),'deleteProtection':_0x1b0162(0xc7),'etc':',等'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x35f8f1=_0x4327;function _0xe063(){const _0x1252d9=['9953083dbweXB','4966352qpDkDh','Edit\x20History','created\x20workbook','Confirm','Reverted\x20from','906GSnVEK','1859lEsAzF','delete\x20protection','5PxngDu','add\x20conditional\x20formatting','9012DaOGeT','26530AKrgEQ','add\x20protection',',\x20etc.','edited\x20worksheet','1114654vOLDUq','8785464jQZwke','reverted\x20workbook','inserted\x20worksheet','Failed\x20to\x20get\x20edit\x20history\x20list','6312048fPxzPf','9yvIYfq','Current\x20User','deleted\x20worksheet','Cancel','loading,\x20please\x20wait...','set\x20data\x20validation','add\x20sparkline','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result'];_0xe063=function(){return _0x1252d9;};return _0xe063();}function _0x4327(_0x5dfbec,_0x5ed31d){_0x5dfbec=_0x5dfbec-0xd9;const _0xe06315=_0xe063();let _0x432726=_0xe06315[_0x5dfbec];return _0x432726;}(function(_0x3f682b,_0x1a73d2){const _0x46b05d=_0x4327,_0x5835e0=_0x3f682b();while(!![]){try{const _0xe8ad87=parseInt(_0x46b05d(0xda))/0x1+parseInt(_0x46b05d(0xf3))/0x2*(-parseInt(_0x46b05d(0xee))/0x3)+parseInt(_0x46b05d(0xe9))/0x4*(parseInt(_0x46b05d(0xf1))/0x5)+-parseInt(_0x46b05d(0xdf))/0x6+parseInt(_0x46b05d(0xe8))/0x7+-parseInt(_0x46b05d(0xdb))/0x8*(parseInt(_0x46b05d(0xe0))/0x9)+-parseInt(_0x46b05d(0xf4))/0xa*(-parseInt(_0x46b05d(0xef))/0xb);if(_0xe8ad87===_0x1a73d2)break;else _0x5835e0['push'](_0x5835e0['shift']());}catch(_0x2da7fd){_0x5835e0['push'](_0x5835e0['shift']());}}}(_0xe063,0xaeac9));const e={'editHistory':{'panel':{'title':_0x35f8f1(0xea),'unknownUser':'Unknown\x20User','listFetchError':_0x35f8f1(0xde),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x35f8f1(0xe3),'confirm':_0x35f8f1(0xec),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x35f8f1(0xe7),'currentVersion':'Current\x20Version','currentUser':_0x35f8f1(0xe1),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x35f8f1(0xe4)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x35f8f1(0xdd),'removeSheet':_0x35f8f1(0xe2),'createSheet':_0x35f8f1(0xeb),'setFilter':'set\x20filter','setFrozen':'set\x20frozen','editSheet':_0x35f8f1(0xd9),'revertSheet':_0x35f8f1(0xdc),'revertSheetPrefix':_0x35f8f1(0xed),'revertSheetSuffix':'','setDV':_0x35f8f1(0xe5),'setCF':'set\x20conditional\x20formatting','addCF':_0x35f8f1(0xf2),'addProtection':_0x35f8f1(0xf5),'addSparkline':_0x35f8f1(0xe6),'insertChart':'inserted\x20chart','deleteProtection':_0x35f8f1(0xf0),'etc':_0x35f8f1(0xf6)}}},t=e;export{t as default};
1
+ function _0x30e8(_0x4d805a,_0x6db9d5){_0x4d805a=_0x4d805a-0xc1;const _0x31d6d4=_0x31d6();let _0x30e824=_0x31d6d4[_0x4d805a];return _0x30e824;}const _0x439052=_0x30e8;function _0x31d6(){const _0x3c298d=['Reverting,\x20please\x20wait...','260981jugjRj','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Back','Edit\x20History','Current\x20User','Confirm','set\x20frozen','inserted\x20chart','Cancel','set\x20conditional\x20formatting','368hrkPyJ','7828780RZcuNx','1251267XPKMIb','272683npvhnL','4jxrYww','add\x20sparkline','reverted\x20workbook','loading,\x20please\x20wait...','19811439EBSSEy','add\x20protection','created\x20workbook','5646108QHqgLZ','add\x20conditional\x20formatting','Current\x20Version','Reverted\x20from','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','492762FHFarJ','Unknown\x20User','Restore\x20this\x20version'];_0x31d6=function(){return _0x3c298d;};return _0x31d6();}(function(_0x36385e,_0x3476cf){const _0x2e9646=_0x30e8,_0x5b14ba=_0x36385e();while(!![]){try{const _0x14303c=-parseInt(_0x2e9646(0xcd))/0x1*(parseInt(_0x2e9646(0xce))/0x2)+parseInt(_0x2e9646(0xcc))/0x3+-parseInt(_0x2e9646(0xd5))/0x4+-parseInt(_0x2e9646(0xcb))/0x5+parseInt(_0x2e9646(0xda))/0x6+-parseInt(_0x2e9646(0xde))/0x7*(-parseInt(_0x2e9646(0xca))/0x8)+parseInt(_0x2e9646(0xd2))/0x9;if(_0x14303c===_0x3476cf)break;else _0x5b14ba['push'](_0x5b14ba['shift']());}catch(_0x559d13){_0x5b14ba['push'](_0x5b14ba['shift']());}}}(_0x31d6,0xd9fb8));const e={'editHistory':{'panel':{'title':_0x439052(0xc3),'unknownUser':_0x439052(0xdb),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x439052(0xd9),'cancel':_0x439052(0xc8),'confirm':_0x439052(0xc5),'reverting':_0x439052(0xdd),'revertFailed':_0x439052(0xc1),'currentVersion':_0x439052(0xd7),'currentUser':_0x439052(0xc4),'revertDesc':_0x439052(0xdc)},'info':{'loading':_0x439052(0xd1)},'header':{'back':_0x439052(0xc2),'revert':_0x439052(0xdc)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0x439052(0xd4),'setFilter':'set\x20filter','setFrozen':_0x439052(0xc6),'editSheet':'edited\x20worksheet','revertSheet':_0x439052(0xd0),'revertSheetPrefix':_0x439052(0xd8),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x439052(0xc9),'addCF':_0x439052(0xd6),'addProtection':_0x439052(0xd3),'addSparkline':_0x439052(0xcf),'insertChart':_0x439052(0xc7),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;export{t as default};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x31a13e=_0x13f0;(function(_0x56a963,_0x1b6b5e){const _0x59df26=_0x13f0,_0x225a34=_0x56a963();while(!![]){try{const _0x45c309=parseInt(_0x59df26(0x132))/0x1*(parseInt(_0x59df26(0x1f4))/0x2)+parseInt(_0x59df26(0x1d1))/0x3+parseInt(_0x59df26(0x27e))/0x4+-parseInt(_0x59df26(0x10a))/0x5+-parseInt(_0x59df26(0x139))/0x6*(parseInt(_0x59df26(0x295))/0x7)+parseInt(_0x59df26(0x1f3))/0x8+-parseInt(_0x59df26(0x1c0))/0x9*(parseInt(_0x59df26(0x1d4))/0xa);if(_0x45c309===_0x1b6b5e)break;else _0x225a34['push'](_0x225a34['shift']());}catch(_0x30542c){_0x225a34['push'](_0x225a34['shift']());}}}(_0x3853,0xcc6af));var Ae=Object['defineProperty'],He=(_0x17714c,_0x299cb0,_0x4f2efd)=>_0x299cb0 in _0x17714c?Ae(_0x17714c,_0x299cb0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f2efd}):_0x17714c[_0x299cb0]=_0x4f2efd,l=(_0x4a2526,_0x92fc97,_0x3882e5)=>He(_0x4a2526,typeof _0x92fc97!=_0x31a13e(0x2a5)?_0x92fc97+'':_0x92fc97,_0x3882e5);import{RevertRevisionMutation as _0x2aa9dc,CreateUnitMutation as _0x2e6bc0,ISnapshotServerService as _0x5613db,CompressMutationService as _0x3159f,transformSnapshotToWorkbookData as _0xf6288c,ITransformService as _0x35e073,parseProtocolChangeset as _0x523a71,isTransformMutationsSuccess as _0x3bf6cd}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x933df9,CollaborationImageIoService as _0x1838c8}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4e8d1f,LocaleType as _0x90a17d,IUniverInstanceService as _0x15f5eb,ICommandService as _0x36f773,IConfigService as _0x41d9d0,Inject as _0x5bccd7,UniverInstanceType as _0x5dc655,LocaleService as _0x450253,IPermissionService as _0x2e64b9,Injector as _0x276bb8,ObjectMatrix as _0x267de2,debounce as _0x450d09,DisposableCollection as _0x3f03a9,toDisposable as _0xb30ce5,DependentOn as _0x17b420,Plugin as _0x29c10f,merge as _0x4b671f}from'@univerjs/core';import{IImageIoService as _0x32d58c}from'@univerjs/drawing';import{IRenderManagerService as _0x17fada,Vector2 as _0x309330,SHEET_VIEWPORT_KEY as _0x2fcbcf}from'@univerjs/engine-render';import{HTTPService as _0x1d91e0,UniverNetworkPlugin as _0x5f5ae9}from'@univerjs/network';import{ICellEditorManagerService as _0x3e40e3,SheetSkeletonManagerService as _0x3635b0,getCoordByCell as _0x25f0fd,getSheetObject as _0x37cd02,UniverSheetsUIPlugin as _0x523e81}from'@univerjs/sheets-ui';import{IMessageService as _0x2f6470,IConfirmService as _0xce1d20,useDependency as _0x379e3d,useObservable as _0x5dadc3,IUIPartsService as _0x1784d6,BuiltInUIPart as _0x2b00e3,connectInjector as _0xe28e5b,ISidebarService as _0x34f1a4,ComponentManager as _0x3e56bb,IDialogService as _0x81bab5}from'@univerjs/ui';import{MessageType as _0x327ca8,clsx as _0x5b3091,Button as _0x43bda6,borderBottomClassName as _0x1cf05c,Tooltip as _0x55a3ba}from'@univerjs/design';import{InsertSheetMutation as _0x54c69c,RemoveSheetMutation as _0x52c717,SetFrozenMutation as _0x3f0dd8,AddWorksheetProtectionMutation as _0x5dfa4c,AddRangeProtectionMutation as _0x5b9d37,DeleteRangeProtectionMutation as _0x3c84c5,DeleteWorksheetProtectionMutation as _0xa5c1f8,SheetPermissionInitController as _0x55f363,WorkbookEditablePermission as _0x46d328,WorkbookRenameSheetPermission as _0x351d3f,WorkbookMoveSheetPermission as _0x507041,WorkbookHideSheetPermission as _0x1a5476,SetWorksheetHideMutation as _0x135d57,SetRangeValuesMutation as _0x3b773c,SetRangeProtectionMutation as _0x2530ea,ReorderRangeMutation as _0x285f18,RemoveNumfmtMutation as _0x526ccf,SetNumfmtMutation as _0xddb119,MoveColsMutation as _0x4a99bd,MoveRowsMutation as _0x358627,MoveRangeMutation as _0x4ea41c,InsertColMutation as _0x4b5ebb,InsertRowMutation as _0x24d3e5,AddWorksheetMergeMutation as _0x46e80e,RangeMergeUtil as _0x10290a,findAllRectangle as _0x2e9a61,SetWorksheetActiveOperation as _0x31d458}from'@univerjs/sheets';import{BehaviorSubject as _0x1b0511,combineLatest as _0x24154c,switchMap as _0x3da124,map as _0x28487,of as _0x22af10,debounceTime as _0xf44472,Subject as _0x49eaa2}from'rxjs';import{InsertSheetsChartMutation as _0x5f1543}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0x4f8ea5}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0xc6f545,UpdateDataValidationMutation as _0x84f127}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x1ab4e7,AddConditionalRuleMutation as _0x3e2b4c}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x50fdcd}from'@univerjs/sheets-filter';import{jsxs as _0xfa81a5,jsx as _0x43a5d9}from'react/jsx-runtime';import{useRef as _0x3089a6,createElement as _0x2fd148,forwardRef as _0xe3f0f,useCallback as _0x3a5cc6,useState as _0x443c3b,Fragment as _0x1b8417}from'react';import{SheetCollabCursorShape as _0x15f1b2}from'@univerjs-pro/collaboration-client-ui';const ne='edit-history-viewer.config',he={};var is=Object[_0x31a13e(0x12b)],ns=(_0x548b4c,_0x182696,_0x307f08,_0x3c02a6)=>{const _0x4d4820=_0x31a13e;for(var _0xbae407=_0x3c02a6>0x1?void 0x0:_0x3c02a6?is(_0x182696,_0x307f08):_0x182696,_0x304d9c=_0x548b4c[_0x4d4820(0x2bd)]-0x1,_0x100d5e;_0x304d9c>=0x0;_0x304d9c--)(_0x100d5e=_0x548b4c[_0x304d9c])&&(_0xbae407=_0x100d5e(_0xbae407)||_0xbae407);return _0xbae407;},rs=(_0x4a2a27,_0x5b7ba)=>(_0x7c18e0,_0x1872c1)=>_0x5b7ba(_0x7c18e0,_0x1872c1,_0x4a2a27);let A=class extends _0x4e8d1f{constructor(_0x5333a8){const _0x4749d6=_0x31a13e;super(),this[_0x4749d6(0x187)]=_0x5333a8,this[_0x4749d6(0x265)]();}[_0x31a13e(0x265)](){const _0x2ea483=_0x31a13e;this[_0x2ea483(0x272)](this[_0x2ea483(0x187)][_0x2ea483(0x17e)][_0x2ea483(0x20b)](_0x14cdc7=>{const _0x4c0ad1=_0x2ea483;_0x14cdc7!=null&&_0x14cdc7[_0x4c0ad1(0xfd)]&&this[_0x4c0ad1(0x187)][_0x4c0ad1(0x18d)]({'show':!0x1});}));}};A=ns([rs(0x0,_0x3e40e3)],A);var U=(_0x32247d=>(_0x32247d[_0x32247d[_0x31a13e(0x234)]=0x0]='UNDEFINED',_0x32247d[_0x32247d['OK']=0x1]='OK',_0x32247d[_0x32247d[_0x31a13e(0x191)]=0x2]='INTERNAL_ERROR',_0x32247d[_0x32247d[_0x31a13e(0x2b0)]=0x3]=_0x31a13e(0x2b0),_0x32247d[_0x32247d[_0x31a13e(0x152)]=0x4]='NOT_FOUND',_0x32247d[_0x32247d[_0x31a13e(0x28f)]=0x5]=_0x31a13e(0x28f),_0x32247d[_0x32247d[_0x31a13e(0x21f)]=0x6]=_0x31a13e(0x21f),_0x32247d[_0x32247d[_0x31a13e(0xf0)]=0x7]=_0x31a13e(0xf0),_0x32247d[_0x32247d[_0x31a13e(0x112)]=0x8]=_0x31a13e(0x112),_0x32247d[_0x32247d[_0x31a13e(0x15a)]=0x9]=_0x31a13e(0x15a),_0x32247d[_0x32247d[_0x31a13e(0x108)]=0xa]=_0x31a13e(0x108),_0x32247d[_0x32247d[_0x31a13e(0x147)]=0xb]=_0x31a13e(0x147),_0x32247d[_0x32247d[_0x31a13e(0x16e)]=0xc]=_0x31a13e(0x16e),_0x32247d[_0x32247d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x31a13e(0x15f),_0x32247d[_0x32247d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x32247d[_0x32247d['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x31a13e(0x116),_0x32247d[_0x32247d[_0x31a13e(0x1ef)]=0x10]=_0x31a13e(0x1ef),_0x32247d[_0x32247d[_0x31a13e(0x1cf)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x32247d[_0x32247d[_0x31a13e(0x2b7)]=0x65]=_0x31a13e(0x2b7),_0x32247d[_0x32247d[_0x31a13e(0x29a)]=0xc9]='USER_NOT_FOUND',_0x32247d[_0x32247d[_0x31a13e(0x167)]=0xca]=_0x31a13e(0x167),_0x32247d[_0x32247d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x31a13e(0x174),_0x32247d[_0x32247d[_0x31a13e(0x218)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x32247d[_0x32247d[_0x31a13e(0x197)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x32247d[_0x32247d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x32247d[_0x32247d[_0x31a13e(0x102)]=0x1b59]='APPLY_REJECT',_0x32247d[_0x32247d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x31a13e(0x138),_0x32247d[_0x32247d[_0x31a13e(0x162)]=0x1b5b]=_0x31a13e(0x162),_0x32247d[_0x32247d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x31a13e(0x11a),_0x32247d[_0x32247d['APPLY_DUPLICATED']=0x1b5d]=_0x31a13e(0x264),_0x32247d[_0x32247d[_0x31a13e(0x232)]=0x1f41]=_0x31a13e(0x232),_0x32247d[_0x32247d[_0x31a13e(0x21c)]=0x2329]=_0x31a13e(0x21c),_0x32247d[_0x32247d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x31a13e(0x131),_0x32247d[_0x32247d[_0x31a13e(0x123)]=0x232b]=_0x31a13e(0x123),_0x32247d[_0x32247d[_0x31a13e(0x1ea)]=0x232c]=_0x31a13e(0x1ea),_0x32247d[_0x32247d[_0x31a13e(0x29c)]=0x232d]=_0x31a13e(0x29c),_0x32247d[_0x32247d[_0x31a13e(0x244)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x32247d[_0x32247d[_0x31a13e(0x16a)]=0x2712]=_0x31a13e(0x16a),_0x32247d[_0x32247d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x31a13e(0x2aa),_0x32247d[_0x32247d[_0x31a13e(0x126)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x32247d[_0x32247d[_0x31a13e(0x1d9)]=0x271a]=_0x31a13e(0x1d9),_0x32247d[_0x32247d[_0x31a13e(0x1a2)]=0x271b]=_0x31a13e(0x1a2),_0x32247d[_0x32247d[_0x31a13e(0x118)]=0x271c]=_0x31a13e(0x118),_0x32247d[_0x32247d[_0x31a13e(0x142)]=0x271d]=_0x31a13e(0x142),_0x32247d[_0x32247d['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x31a13e(0x1bb),_0x32247d[_0x32247d[_0x31a13e(0x2ab)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x32247d[_0x32247d[_0x31a13e(0x115)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x32247d[_0x32247d[_0x31a13e(0x149)]=0x2af9]=_0x31a13e(0x149),_0x32247d[_0x32247d[_0x31a13e(0x124)]=0x2ee1]=_0x31a13e(0x124),_0x32247d[_0x32247d[_0x31a13e(0x166)]=0x2ee2]=_0x31a13e(0x166),_0x32247d[_0x32247d[_0x31a13e(0x25c)]=0x2ee3]=_0x31a13e(0x25c),_0x32247d[_0x32247d['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x32247d[_0x32247d[_0x31a13e(0x1f8)]=0x2ee5]=_0x31a13e(0x1f8),_0x32247d[_0x32247d[_0x31a13e(0x134)]=0x32c9]=_0x31a13e(0x134),_0x32247d[_0x32247d['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x32247d[_0x32247d[_0x31a13e(0x28d)]=0x32cb]=_0x31a13e(0x28d),_0x32247d[_0x32247d[_0x31a13e(0x16b)]=0x36b1]=_0x31a13e(0x16b),_0x32247d[_0x32247d[_0x31a13e(0xef)]=0x36b2]=_0x31a13e(0xef),_0x32247d[_0x32247d[_0x31a13e(0x1ce)]=0x36b3]=_0x31a13e(0x1ce),_0x32247d[_0x32247d[_0x31a13e(0x184)]=0x36b4]=_0x31a13e(0x184),_0x32247d[_0x32247d[_0x31a13e(0x20e)]=0x36b5]=_0x31a13e(0x20e),_0x32247d[_0x32247d['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x31a13e(0x1da),_0x32247d[_0x32247d[_0x31a13e(0x283)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x32247d[_0x32247d['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x32247d[_0x32247d[_0x31a13e(0x1aa)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x32247d[_0x32247d['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x31a13e(0x106),_0x32247d[_0x32247d[_0x31a13e(0x26d)]=0x3717]=_0x31a13e(0x26d),_0x32247d[_0x32247d[_0x31a13e(0x215)]=0x37dd]=_0x31a13e(0x215),_0x32247d[_0x32247d[_0x31a13e(0x202)]=0x3a99]=_0x31a13e(0x202),_0x32247d[_0x32247d[_0x31a13e(0x29e)]=0x3a9a]=_0x31a13e(0x29e),_0x32247d[_0x32247d[_0x31a13e(0x266)]=0x3a9b]=_0x31a13e(0x266),_0x32247d[_0x32247d['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x31a13e(0x192),_0x32247d[_0x32247d[_0x31a13e(0x20d)]=0x3a9d]=_0x31a13e(0x20d),_0x32247d[_0x32247d[_0x31a13e(0x1cb)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x32247d[_0x32247d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x32247d[_0x32247d[_0x31a13e(0x2a6)]=0x3e81]=_0x31a13e(0x2a6),_0x32247d[_0x32247d[_0x31a13e(0x1a6)]=-0x1]='UNRECOGNIZED',_0x32247d))(U||{}),H=(_0x2c7717=>(_0x2c7717[_0x2c7717[_0x31a13e(0x213)]=0x0]='UNIVER_UNKNOWN',_0x2c7717[_0x2c7717[_0x31a13e(0x22e)]=0x1]=_0x31a13e(0x22e),_0x2c7717[_0x2c7717[_0x31a13e(0x195)]=0x2]=_0x31a13e(0x195),_0x2c7717[_0x2c7717['UNIVER_SLIDE']=0x3]=_0x31a13e(0x10b),_0x2c7717[_0x2c7717[_0x31a13e(0x10f)]=0x4]=_0x31a13e(0x10f),_0x2c7717[_0x2c7717['UNRECOGNIZED']=-0x1]=_0x31a13e(0x1a6),_0x2c7717))(H||{}),D=(_0x1df2f1=>(_0x1df2f1[_0x1df2f1[_0x31a13e(0x19f)]=0x0]='View',_0x1df2f1[_0x1df2f1['Edit']=0x1]=_0x31a13e(0x28e),_0x1df2f1[_0x1df2f1[_0x31a13e(0x1bd)]=0x2]=_0x31a13e(0x1bd),_0x1df2f1[_0x1df2f1['Print']=0x3]='Print',_0x1df2f1[_0x1df2f1['Duplicate']=0x4]=_0x31a13e(0x262),_0x1df2f1[_0x1df2f1[_0x31a13e(0xf8)]=0x5]=_0x31a13e(0xf8),_0x1df2f1[_0x1df2f1['Copy']=0x6]=_0x31a13e(0x121),_0x1df2f1[_0x1df2f1['Share']=0x7]=_0x31a13e(0x1ee),_0x1df2f1[_0x1df2f1[_0x31a13e(0x24e)]=0x8]='Export',_0x1df2f1[_0x1df2f1[_0x31a13e(0x225)]=0x9]=_0x31a13e(0x225),_0x1df2f1[_0x1df2f1['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x1df2f1[_0x1df2f1['HideWorksheet']=0xb]=_0x31a13e(0x154),_0x1df2f1[_0x1df2f1[_0x31a13e(0x193)]=0xc]=_0x31a13e(0x193),_0x1df2f1[_0x1df2f1[_0x31a13e(0x22c)]=0xd]='CreateWorksheet',_0x1df2f1[_0x1df2f1[_0x31a13e(0x12c)]=0xe]=_0x31a13e(0x12c),_0x1df2f1[_0x1df2f1['EditWorksheetCell']=0xf]=_0x31a13e(0x13b),_0x1df2f1[_0x1df2f1['InsertHyperlink']=0x10]=_0x31a13e(0x2a2),_0x1df2f1[_0x1df2f1[_0x31a13e(0x151)]=0x11]=_0x31a13e(0x151),_0x1df2f1[_0x1df2f1[_0x31a13e(0x239)]=0x12]=_0x31a13e(0x239),_0x1df2f1[_0x1df2f1['PivotTable']=0x13]='PivotTable',_0x1df2f1[_0x1df2f1[_0x31a13e(0x27a)]=0x14]=_0x31a13e(0x27a),_0x1df2f1[_0x1df2f1[_0x31a13e(0x17a)]=0x15]='History',_0x1df2f1[_0x1df2f1[_0x31a13e(0xf6)]=0x16]='RwHgtClWdt',_0x1df2f1[_0x1df2f1[_0x31a13e(0x105)]=0x17]=_0x31a13e(0x105),_0x1df2f1[_0x1df2f1[_0x31a13e(0x294)]=0x18]=_0x31a13e(0x294),_0x1df2f1[_0x1df2f1[_0x31a13e(0x1df)]=0x19]='MoveSheet',_0x1df2f1[_0x1df2f1[_0x31a13e(0x227)]=0x1a]=_0x31a13e(0x227),_0x1df2f1[_0x1df2f1['HideSheet']=0x1b]='HideSheet',_0x1df2f1[_0x1df2f1['CopySheet']=0x1c]=_0x31a13e(0x1dc),_0x1df2f1[_0x1df2f1[_0x31a13e(0x144)]=0x1d]='RenameSheet',_0x1df2f1[_0x1df2f1['CreateSheet']=0x1e]='CreateSheet',_0x1df2f1[_0x1df2f1[_0x31a13e(0x298)]=0x1f]='SelectProtectedCells',_0x1df2f1[_0x1df2f1[_0x31a13e(0x1d8)]=0x20]=_0x31a13e(0x1d8),_0x1df2f1[_0x1df2f1[_0x31a13e(0x1cc)]=0x21]=_0x31a13e(0x1cc),_0x1df2f1[_0x1df2f1[_0x31a13e(0x196)]=0x22]=_0x31a13e(0x196),_0x1df2f1[_0x1df2f1[_0x31a13e(0xf4)]=0x23]=_0x31a13e(0xf4),_0x1df2f1[_0x1df2f1[_0x31a13e(0x1d3)]=0x24]=_0x31a13e(0x1d3),_0x1df2f1[_0x1df2f1[_0x31a13e(0x23b)]=0x25]=_0x31a13e(0x23b),_0x1df2f1[_0x1df2f1[_0x31a13e(0x2a1)]=0x26]=_0x31a13e(0x2a1),_0x1df2f1[_0x1df2f1[_0x31a13e(0x189)]=0x27]=_0x31a13e(0x189),_0x1df2f1[_0x1df2f1['DeleteColumn']=0x28]='DeleteColumn',_0x1df2f1[_0x1df2f1['EditExtraObject']=0x29]=_0x31a13e(0x12f),_0x1df2f1[_0x1df2f1[_0x31a13e(0x1e3)]=0x2a]=_0x31a13e(0x1e3),_0x1df2f1[_0x1df2f1[_0x31a13e(0x26b)]=0x2b]=_0x31a13e(0x26b),_0x1df2f1[_0x1df2f1[_0x31a13e(0x185)]=0x2c]='ViewHistory',_0x1df2f1[_0x1df2f1[_0x31a13e(0x169)]=0x2d]='CreatePermissionObject',_0x1df2f1[_0x1df2f1[_0x31a13e(0x1a6)]=-0x1]=_0x31a13e(0x1a6),_0x1df2f1))(D||{});function as(_0x4f23d3){const _0x381547=_0x31a13e;return!!(_0x4f23d3&&_0x4f23d3[_0x381547(0xfc)]&&_0x4f23d3[_0x381547(0xfc)]!==U['OK']&&_0x4f23d3['code']!=='OK');}const re=(_0x5926c6,_0x1996fe)=>{const _0x149935=_0x31a13e;if(!_0x5926c6)return{'date':'','time':''};const _0x5de8dc=new Date(_0x5926c6),_0x1931b1=_0x5de8dc[_0x149935(0x1ab)]()[_0x149935(0x16c)]('T')[0x0];switch(_0x1996fe){case _0x90a17d[_0x149935(0x292)]:return{'date':J(_0x1931b1,_0x1996fe),'time':_0x5de8dc[_0x149935(0x2ba)]()+':'+String(_0x5de8dc['getMinutes']())['padStart'](0x2,'0')+':'+String(_0x5de8dc[_0x149935(0x293)]())[_0x149935(0x194)](0x2,'0')};default:return{'date':J(_0x1931b1,_0x1996fe),'time':_0x5de8dc['getHours']()+':'+_0x5de8dc['getMinutes']()+':'+_0x5de8dc[_0x149935(0x293)]()};}},os=(_0x478449,_0x5c5bef)=>{const _0x556d41=_0x31a13e,_0x1f5138=_0x478449[_0x556d41(0x178)]||_0x5c5bef['t']('editHistory.panel.unknownUser');if(_0x478449['commands'][_0x556d41(0x25e)](_0x31a1ff=>_0x31a1ff===_0x2aa9dc['id'])&&_0x478449[_0x556d41(0x1e1)]){const _0x259e36=re(_0x478449[_0x556d41(0x1e1)],_0x5c5bef['getCurrentLocale']()),_0x3279f1=_0x259e36[_0x556d41(0x226)]+'\x20'+_0x259e36['time'];return _0x1f5138+'\x20'+_0x5c5bef['t'](_0x556d41(0x1fb))+'\x20'+_0x3279f1+'\x20'+_0x5c5bef['t'](_0x556d41(0x1e4));}const _0x2cd12a=cs(_0x478449),_0x565354=_0x2cd12a['length']===0x1?_0x5c5bef['t'](_0x2cd12a[0x0]):''+_0x5c5bef['t'](_0x2cd12a[0x0])+_0x5c5bef['t'](_0x556d41(0x183));return _0x1f5138+'\x20'+_0x565354;};function cs(_0x42f508){const _0x223139=_0x31a13e;if(_0x42f508[_0x223139(0x1d0)]['length']===0x0)return[''];const _0x53b712='editHistory.action.',_0x59870b=_0x53b712+'editSheet',_0x467d8e=[{'id':_0x2e6bc0['id'],'action':_0x53b712+_0x223139(0x12e)},{'id':_0x2aa9dc['id'],'action':_0x53b712+_0x223139(0x267)},{'id':_0x54c69c['id'],'action':_0x53b712+'insertSheet'},{'id':_0x52c717['id'],'action':_0x53b712+_0x223139(0x1a5)},{'id':_0x3f0dd8['id'],'action':_0x53b712+'setFrozen'},{'id':_0x50fdcd['id'],'action':_0x53b712+_0x223139(0x17f)},{'id':_0xc6f545['id'],'action':_0x53b712+_0x223139(0x10e)},{'id':_0x84f127['id'],'action':_0x53b712+_0x223139(0x10e)},{'id':_0x1ab4e7['id'],'action':_0x53b712+'setCF'},{'id':_0x3e2b4c['id'],'action':_0x53b712+_0x223139(0x23e)},{'id':_0x5dfa4c['id'],'action':_0x53b712+'addProtection'},{'id':_0x5b9d37['id'],'action':_0x53b712+_0x223139(0x1eb)},{'id':_0x4f8ea5['id'],'action':_0x53b712+_0x223139(0xff)},{'id':_0x5f1543['id'],'action':_0x53b712+_0x223139(0x19d)},{'id':_0x3c84c5['id'],'action':_0x53b712+_0x223139(0x2a4)},{'id':_0xa5c1f8['id'],'action':_0x53b712+_0x223139(0x2a4)}][_0x223139(0x25f)](_0x172de7=>_0x42f508['commands'][_0x223139(0x177)](_0x172de7['id']));return _0x467d8e!=null&&_0x467d8e[_0x223139(0x2bd)]?_0x467d8e[_0x223139(0x247)](_0x440a12=>_0x440a12[_0x223139(0x1c8)]):[_0x59870b];}function J(_0x466a37,_0x50f198){const _0x93b48d=_0x31a13e,[_0x466c98,_0x65ca8,_0x35d76d]=new Date()['toISOString']()['split']('T')[0x0][_0x93b48d(0x16c)]('-'),[_0x1d5c40,_0xe69b8e,_0x4d84b5]=_0x466a37[_0x93b48d(0x16c)]('-'),_0x4857c9=_0x466c98===_0x1d5c40&&_0x65ca8===_0xe69b8e&&_0x35d76d===_0x4d84b5;let _0x29931c='',_0x2f1b4c='',_0x274a1b='';switch(_0x50f198){case _0x90a17d[_0x93b48d(0x292)]:return _0x4857c9?'今天':(_0x29931c=_0x466c98===_0x1d5c40?'':_0x1d5c40+'年',_0x2f1b4c=_0xe69b8e+'月',_0x274a1b=_0x4d84b5+'日',''+_0x29931c+_0x2f1b4c+_0x274a1b);default:return _0x4857c9?_0x93b48d(0x17c):(_0x29931c=_0x466c98===_0x1d5c40?'':_0x1d5c40+'-',_0x2f1b4c=_0xe69b8e+'-',_0x274a1b=''+_0x4d84b5,''+_0x29931c+_0x2f1b4c+_0x274a1b);}}function _s(_0x3bb06b){const _0x30d101=_0x31a13e;return _0x3bb06b?_0x3bb06b[_0x30d101(0x240)]((_0x4abc83,_0x393a72)=>{const _0x199950=_0x30d101,_0x29462a=new Date(_0x393a72['time'])[_0x199950(0x1ab)]()[_0x199950(0x16c)]('T')[0x0];return _0x4abc83[_0x199950(0x2bd)]>0x0&&_0x4abc83[_0x4abc83[_0x199950(0x2bd)]-0x1][_0x199950(0x104)]===_0x29462a?_0x4abc83[_0x4abc83['length']-0x1][_0x199950(0x222)][_0x199950(0x299)](_0x393a72):_0x4abc83['push']({'dateString':_0x29462a,'versions':[_0x393a72]}),_0x4abc83;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x33bfea,_0x3e6779,_0x402644,_0x43b903)=>{const _0xbad887=_0x31a13e;for(var _0x529a47=_0x43b903>0x1?void 0x0:_0x43b903?ls(_0x3e6779,_0x402644):_0x3e6779,_0x1619de=_0x33bfea[_0xbad887(0x2bd)]-0x1,_0x190f6f;_0x1619de>=0x0;_0x1619de--)(_0x190f6f=_0x33bfea[_0x1619de])&&(_0x529a47=_0x190f6f(_0x529a47)||_0x529a47);return _0x529a47;},T=(_0x56cccc,_0x5aaa1c)=>(_0x12fefe,_0x1c6518)=>_0x5aaa1c(_0x12fefe,_0x1c6518,_0x56cccc),hs=(_0xfbf7d0=>(_0xfbf7d0[_0xfbf7d0['Unspecified']=0x0]='Unspecified',_0xfbf7d0[_0xfbf7d0['User']=0x1]='User',_0xfbf7d0[_0xfbf7d0[_0x31a13e(0x145)]=0x2]='Character',_0xfbf7d0))(hs||{});const Is=_0x31a13e(0x271);let F=class extends _0x4e8d1f{constructor(_0x3c3759,_0x377f3a,_0x3e6c82,_0x1ac1cc,_0x51aaae,_0x4db50e,_0x24163c){const _0x17b882=_0x31a13e;super(),l(this,_0x17b882(0x1a3),new Map()),(this[_0x17b882(0x252)]=_0x3c3759,this[_0x17b882(0x258)]=_0x377f3a,this['_commandService']=_0x3e6c82,this['_configService']=_0x1ac1cc,this[_0x17b882(0xec)]=_0x51aaae,this['_compressMutationService']=_0x4db50e,this['_sheetPermissionInitController']=_0x24163c);}['dispose'](){const _0x254d7d=_0x31a13e;this['_workbookDataCache'][_0x254d7d(0x276)](),super['dispose']();}async[_0x31a13e(0x274)](_0x4f28c4){const _0x41fe9e=_0x31a13e;try{const _0x3eda08=(await this[_0x41fe9e(0xec)][_0x41fe9e(0x268)](this['_getAPIPrefix']()+'/'+_0x4f28c4+_0x41fe9e(0x161)))[_0x41fe9e(0x259)];if(_0x3eda08&&_0x3eda08[_0x41fe9e(0x15d)]&&_0x3eda08[_0x41fe9e(0x15d)][_0x41fe9e(0xfc)]===U['OK'])return _0x3eda08[_0x41fe9e(0x14c)];}catch(_0x269db4){console[_0x41fe9e(0x15d)](_0x269db4);}return[];}async[_0x31a13e(0x281)](_0x34e336,_0x16e670){const _0xffb9a0=_0x31a13e,{userIds:_0x5bdf73,lastLabel:_0x4007b6,origin:_0x59d548}=_0x16e670!=null?_0x16e670:{},_0x503280=new URLSearchParams();_0x503280[_0xffb9a0(0x16f)](_0xffb9a0(0x2bd),'20'),_0x4007b6&&_0x503280[_0xffb9a0(0x16f)]('lastLabel',_0x4007b6),_0x5bdf73==null||_0x5bdf73['forEach'](_0x2544a4=>{const _0x596688=_0xffb9a0;_0x503280['append'](_0x596688(0x1de),_0x2544a4);}),_0x59d548&&_0x503280[_0xffb9a0(0x16f)](_0xffb9a0(0x1e2),_0x59d548['toString']());const _0x176c71=this[_0xffb9a0(0x136)]()+'/'+_0x34e336+'/list?'+_0x503280[_0xffb9a0(0x15e)]();try{const _0x1e4cbe=(await this[_0xffb9a0(0xec)][_0xffb9a0(0x268)](_0x176c71))[_0xffb9a0(0x259)];if(_0x1e4cbe&&_0x1e4cbe['error']&&_0x1e4cbe[_0xffb9a0(0x15d)][_0xffb9a0(0xfc)]===U['OK']){const {hasMore:_0x77bed8,lastLabel:_0x4300e1}=_0x1e4cbe,_0x142311=ds(_0x1e4cbe),_0x309af4=_0x1e4cbe['entities'][_0xffb9a0(0x261)];return{'hasMore':_0x77bed8,'lastLabel':_0x4300e1,'versions':_0x142311,'members':_0x309af4};}}catch(_0x23530c){console[_0xffb9a0(0x15d)](_0x23530c);}return null;}['_getAPIPrefix'](){const _0x25a791=_0x31a13e;var _0x39803d;const _0x36c3c2=this[_0x25a791(0x1a4)][_0x25a791(0x1f2)](ne);return(_0x39803d=_0x36c3c2==null?void 0x0:_0x36c3c2[_0x25a791(0xf5)])!=null?_0x39803d:Is;}async[_0x31a13e(0x27f)](_0x326066,_0x9741c7,_0xc0ab27){const _0x57e07b=_0x31a13e;var _0xb4d00b,_0xd6ea3e;_0xc0ab27===void 0x0&&(_0xc0ab27={}),this[_0x57e07b(0x1a3)][_0x57e07b(0x1d2)](_0x326066)||this[_0x57e07b(0x1a3)][_0x57e07b(0x16f)](_0x326066,new Map());const {snapshot:_0xab203a,changesets:_0x3a6f6a,error:_0xa413a7}=await this['_snapshotServerService'][_0x57e07b(0x287)](_0xc0ab27,{'unitID':_0x326066,'type':H['UNIVER_SHEET'],'revision':_0x9741c7});if(as(_0xa413a7)||!_0xab203a||!_0xab203a[_0x57e07b(0x158)])throw new Error(_0x57e07b(0x2ac));const _0xdd2c53=(_0xb4d00b=_0x3a6f6a==null?void 0x0:_0x3a6f6a[_0x57e07b(0x2bd)])!=null?_0xb4d00b:0x0;if(_0x9741c7!==0x0&&_0xab203a['rev']+_0xdd2c53!==_0x9741c7)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x4e8ab7}=_0xab203a,_0x931243=_0x4e8ab7[_0x57e07b(0x219)]?Object[_0x57e07b(0x15b)](_0x4e8ab7[_0x57e07b(0x219)])['map'](([_0x222909,_0x12cd8c])=>{const _0x5ef954=_0x57e07b;var _0xdab2d2,_0x801c01;return(_0x801c01=(_0xdab2d2=_0x12cd8c[_0x5ef954(0xfa)])==null?void 0x0:_0xdab2d2['map'](_0x18eda5=>_0x18eda5))!=null?_0x801c01:[];})[_0x57e07b(0x17b)]():[],_0x1d42a6=(await Promise['all'](_0x931243['map'](_0xb00cc4=>this[_0x57e07b(0x252)][_0x57e07b(0x2af)](_0xc0ab27,{'unitID':_0x326066,'type':H[_0x57e07b(0x195)],'blockID':_0xb00cc4})['then'](_0x440650=>_0x440650[_0x57e07b(0x1c9)]))))[_0x57e07b(0x25f)](_0x5344af=>!!_0x5344af),_0xac7183=await _0xf6288c(_0xab203a,_0x1d42a6,_0xc0ab27);return(_0xd6ea3e=this[_0x57e07b(0x1a3)][_0x57e07b(0x268)](_0x326066))==null||_0xd6ea3e[_0x57e07b(0x16f)](_0x9741c7,{'workbook':_0xac7183}),new Promise(_0x1c7825=>{const _0x125990=_0x57e07b,_0x2f80e6=this['_univerInstanceService'][_0x125990(0x21b)](_0x5dc655[_0x125990(0x195)]);_0x2f80e6?(this[_0x125990(0x258)]['disposeUnit'](_0x2f80e6['getUnitId']()),setTimeout(()=>{const _0xba28bc=_0x125990;this[_0xba28bc(0x14f)](_0xac7183,_0x3a6f6a),this['_sheetPermissionInitController']['refreshRangeProtectPermission'](),_0x1c7825(!0x0);},0x0)):(this['_createUnit'](_0xac7183,_0x3a6f6a),_0x1c7825(!0x0));});}[_0x31a13e(0x14f)](_0xaf4be9,_0x227d8e){const _0x35ed94=_0x31a13e,_0x33ebea=this[_0x35ed94(0x258)]['createUnit'](_0x5dc655[_0x35ed94(0x195)],_0xaf4be9);this['_univerInstanceService'][_0x35ed94(0x217)](_0x33ebea['getUnitId']());const _0x2d7394=this['_compressMutationService'][_0x35ed94(0x141)][_0x35ed94(0x21a)](this[_0x35ed94(0x1f9)][_0x35ed94(0x141)][_0x35ed94(0x199)]()['COMPRESS_MUTATION_APPLY']);return _0x227d8e==null||_0x227d8e['forEach'](_0x408d4f=>{const _0x5ea129=_0x35ed94,_0x4d200b=_0x408d4f[_0x5ea129(0x1b0)][_0x5ea129(0x247)](_0x4303ce=>({'id':_0x4303ce['id'],'params':JSON[_0x5ea129(0x24a)](_0x4303ce['data'])}));({..._0x408d4f,'mutations':_0x2d7394(_0x4d200b,null)||_0x4d200b}[_0x5ea129(0x1b0)][_0x5ea129(0x175)](_0x52a8b9=>{const _0x50ce42=_0x5ea129;this[_0x50ce42(0x148)][_0x50ce42(0x156)](_0x52a8b9['id'])&&this[_0x50ce42(0x148)][_0x50ce42(0x253)](_0x52a8b9['id'],_0x52a8b9[_0x50ce42(0x280)]);}));}),_0x33ebea;}};F=us([T(0x0,_0x5613db),T(0x1,_0x15f5eb),T(0x2,_0x36f773),T(0x3,_0x41d9d0),T(0x4,_0x5bccd7(_0x1d91e0)),T(0x5,_0x5bccd7(_0x3159f)),T(0x6,_0x5bccd7(_0x55f363))],F);function ds(_0x57d4e8){const _0x1306d3=_0x31a13e;var _0x46a2dd,_0x33eb34;const _0x188fb6=[],{entities:_0x27ebd4,historyIds:_0x40ba73}=_0x57d4e8,{datas:_0x5f2060,users:_0x595463}=_0x27ebd4;for(const _0x353ed4 of _0x40ba73){const _0x3dba30=_0x5f2060[_0x353ed4];if(_0x3dba30){const _0x35703b=!!((_0x46a2dd=_0x595463[_0x3dba30[_0x1306d3(0x29f)]])!=null&&_0x46a2dd[_0x1306d3(0x279)]);_0x188fb6[_0x1306d3(0x299)]({'unitId':_0x3dba30['unitId'],'user':_0x35703b?'':((_0x33eb34=_0x595463==null?void 0x0:_0x595463[_0x3dba30['userId']])==null?void 0x0:_0x33eb34[_0x1306d3(0x1c5)])||'','isAnonymous':_0x35703b,'id':_0x353ed4,'time':_0x3dba30['createTime']?Number(_0x3dba30[_0x1306d3(0x263)]):void 0x0,'commands':_0x3dba30[_0x1306d3(0x284)],'startRev':Number(_0x3dba30[_0x1306d3(0xed)]),'endRev':Number(_0x3dba30[_0x1306d3(0x1f1)]),'recoverTime':_0x3dba30['recoverTime']?Number(_0x3dba30[_0x1306d3(0x1e1)]):void 0x0,'additionalFields':_0x3dba30[_0x1306d3(0x25a)]});}}return _0x188fb6;}var vs=Object[_0x31a13e(0x12b)],Es=(_0x499929,_0x16f6a6,_0x17dc6e,_0x45af4f)=>{const _0x5a9cd5=_0x31a13e;for(var _0x571e5b=_0x45af4f>0x1?void 0x0:_0x45af4f?vs(_0x16f6a6,_0x17dc6e):_0x16f6a6,_0x4a73db=_0x499929[_0x5a9cd5(0x2bd)]-0x1,_0x755cde;_0x4a73db>=0x0;_0x4a73db--)(_0x755cde=_0x499929[_0x4a73db])&&(_0x571e5b=_0x755cde(_0x571e5b)||_0x571e5b);return _0x571e5b;},V=(_0x1e45be,_0x1f10b6)=>(_0x187872,_0x24ea2d)=>_0x1f10b6(_0x187872,_0x24ea2d,_0x1e45be),ae=(_0x5e4776=>(_0x5e4776['Entered']=_0x31a13e(0x11b),_0x5e4776[_0x31a13e(0x1fe)]=_0x31a13e(0x133),_0x5e4776[_0x31a13e(0x211)]=_0x31a13e(0x15d),_0x5e4776))(ae||{}),C=(_0xa1ac1=>(_0xa1ac1['Init']=_0x31a13e(0x27b),_0xa1ac1[_0x31a13e(0x297)]=_0x31a13e(0x220),_0xa1ac1[_0x31a13e(0x28a)]=_0x31a13e(0x289),_0xa1ac1))(C||{});const Ss=_0x31a13e(0x231);let g=class extends _0x4e8d1f{constructor(_0x20b337,_0x201a78,_0x2c5162,_0x11bf29){const _0x2cc472=_0x31a13e;super(),l(this,_0x2cc472(0x269),new _0x1b0511([])),l(this,_0x2cc472(0x2a0),this[_0x2cc472(0x269)]['asObservable']()),l(this,'_currentVersion$',new _0x1b0511('')),l(this,_0x2cc472(0x164),this[_0x2cc472(0x1f0)]['asObservable']()),l(this,_0x2cc472(0x13a),new _0x1b0511(_0x2cc472(0x11b))),l(this,_0x2cc472(0x230),this[_0x2cc472(0x13a)][_0x2cc472(0x235)]()),l(this,'_revertRevision$',new _0x1b0511(0x0)),l(this,_0x2cc472(0x14a),this[_0x2cc472(0x1c2)][_0x2cc472(0x235)]()),l(this,_0x2cc472(0x285),new _0x1b0511('')),l(this,_0x2cc472(0x130),this['_unitId$'][_0x2cc472(0x235)]()),l(this,_0x2cc472(0x1f6),new _0x1b0511(!0x1)),l(this,_0x2cc472(0x101),this['_fetching$'][_0x2cc472(0x235)]()),l(this,_0x2cc472(0x214),new _0x1b0511([])),l(this,'creators$',this['_creators$']['asObservable']()),l(this,_0x2cc472(0x246),new _0x1b0511(_0x2cc472(0x27b))),l(this,_0x2cc472(0x140),this[_0x2cc472(0x246)][_0x2cc472(0x235)]()),l(this,_0x2cc472(0x200),null),l(this,_0x2cc472(0x2b3),!0x0),l(this,_0x2cc472(0x21e),new Map()),l(this,'_historyContainerId'),l(this,'_maskContainer'),l(this,'_maskElement'),l(this,_0x2cc472(0x125),!0x1),l(this,_0x2cc472(0x1be),null),(this[_0x2cc472(0x251)]=_0x20b337,this[_0x2cc472(0x122)]=_0x201a78,this['_localeService']=_0x2c5162,this[_0x2cc472(0x256)]=_0x11bf29);}['_setFetching'](_0x41503a){this['_fetching$']['next'](_0x41503a);}get['fetching'](){const _0x7ecc68=_0x31a13e;return this[_0x7ecc68(0x1f6)]['value'];}async[_0x31a13e(0x208)](_0x428858,_0x497c7c,_0x202ec9){const _0x557b49=_0x31a13e;this[_0x557b49(0x111)]=_0x497c7c,this[_0x557b49(0x125)]=_0x202ec9,await this[_0x557b49(0x1e8)](_0x428858);}async[_0x31a13e(0x1e8)](_0x584951,_0x498830){const _0x157610=_0x31a13e;this[_0x157610(0x285)]['next'](_0x584951),this['_loadParams']=_0x498830!=null?_0x498830:null,this[_0x157610(0xfe)](!0x0);const _0x2066c2=await this[_0x157610(0x256)][_0x157610(0x281)](_0x584951,_0x498830);if(this['_setFetching'](!0x1),_0x2066c2){const {versions:_0x115b9b,lastLabel:_0x24c0af,hasMore:_0x281500,members:_0x4ee757}=_0x2066c2;_0x115b9b['length']===0x0&&_0x115b9b[_0x157610(0x299)]({'unitId':_0x584951,'id':Ss,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x157610(0xee)),'commands':[],'isAnonymous':!0x1}),this[_0x157610(0x27d)](_0x115b9b,_0x281500,_0x24c0af,!0x1,_0x4ee757),this[_0x157610(0x1f0)][_0x157610(0x1d6)](_0x115b9b[0x0]['id']);}else this[_0x157610(0x13a)]['next'](_0x157610(0x15d));}async[_0x31a13e(0x2bc)](){const _0x556005=_0x31a13e;if(!this[_0x556005(0x200)]||!this['_hasMore']||this[_0x556005(0x1cd)])return!0x1;this[_0x556005(0xfe)](!0x0);const _0x45ebe7=await this['_historyFetchService'][_0x556005(0x281)](this['unitId'],{'lastLabel':this[_0x556005(0x200)],...this['_loadParams']});if(this[_0x556005(0xfe)](!0x1),_0x45ebe7){const {versions:_0x22ffe2,lastLabel:_0x55b738,hasMore:_0x20105f,members:_0x2af45f}=_0x45ebe7;this['_updateVersions'](_0x22ffe2,_0x20105f,_0x55b738,!0x0,_0x2af45f);}else this[_0x556005(0x251)][_0x556005(0xfd)]({'content':this[_0x556005(0x127)]['t'](_0x556005(0x2b1)),'type':_0x327ca8[_0x556005(0x211)],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x5a5fbc=_0x31a13e,{unitId:_0x2d8e0}=this;if(!_0x2d8e0)return;const _0x5e45bb=await this[_0x5a5fbc(0x256)][_0x5a5fbc(0x274)](_0x2d8e0);_0x5e45bb&&this[_0x5a5fbc(0x214)][_0x5a5fbc(0x1d6)](_0x5e45bb);}async['triggerLoadSheet'](_0xa9d489){const _0x2d58ed=_0x31a13e;var _0x83fd6a;const _0x16d9e2=(_0x83fd6a=this[_0x2d58ed(0x269)]['value'])==null?void 0x0:_0x83fd6a[_0x2d58ed(0x171)](_0x42f214=>_0x42f214['id']===_0xa9d489),{endRev:_0x29122d}=_0x16d9e2||{};_0x29122d||_0x29122d===0x0?(this[_0x2d58ed(0x246)][_0x2d58ed(0x1d6)](_0x2d58ed(0x220)),await this[_0x2d58ed(0x256)][_0x2d58ed(0x27f)](this['unitId'],_0x29122d),this[_0x2d58ed(0x246)]['next']('loaded')):this['_status$'][_0x2d58ed(0x1d6)](_0x2d58ed(0x15d));}async['triggerRevert'](_0x23ac8b){const _0x713382=_0x31a13e,_0x39a914=_0x23ac8b?this[_0x713382(0x1ec)](_0x23ac8b):this[_0x713382(0x103)]();if(!_0x39a914)return;const _0xc5a8fe=_0x39a914[_0x713382(0x180)],_0x523678=re(_0x39a914[_0x713382(0x13c)],this['_localeService'][_0x713382(0x1ba)]());await this['_confirmService'][_0x713382(0x1b4)]({'id':'confirm-revert-revision','title':{'title':this[_0x713382(0x127)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x713382(0x127)]['t'](_0x713382(0x228))+_0x713382(0x278)+_0x523678[_0x713382(0x226)]+'\x20'+_0x523678[_0x713382(0x13c)]+')'},'cancelText':this[_0x713382(0x127)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x713382(0x127)]['t'](_0x713382(0x229))})&&this['_revertRevision$'][_0x713382(0x1d6)](_0xc5a8fe);}[_0x31a13e(0x27d)](_0x587dac,_0x163777,_0x5765c3,_0x20e21e,_0x287732){const _0x17c8b2=_0x31a13e;this[_0x17c8b2(0x242)](_0x20e21e?this[_0x17c8b2(0x269)][_0x17c8b2(0x288)]['concat'](_0x587dac):_0x587dac),this[_0x17c8b2(0x2b3)]=_0x163777,this[_0x17c8b2(0x200)]=_0x5765c3,_0x287732&&Object[_0x17c8b2(0x223)](_0x287732)[_0x17c8b2(0x175)](_0x1f72dd=>this[_0x17c8b2(0x21e)][_0x17c8b2(0x16f)](_0x1f72dd,_0x287732[_0x1f72dd]));}['getCurrentVersion'](){const _0x4b3f47=_0x31a13e;return this[_0x4b3f47(0x1ec)](this[_0x4b3f47(0x1f0)][_0x4b3f47(0x288)]);}[_0x31a13e(0x242)](_0x51cdd9){const _0x55de36=_0x31a13e;this[_0x55de36(0x269)][_0x55de36(0x1d6)](_0x51cdd9);}[_0x31a13e(0x1ec)](_0x15ca2){const _0xf1076e=_0x31a13e;var _0x4f03c3;return(_0x4f03c3=this['_versions$'][_0xf1076e(0x288)])==null?void 0x0:_0x4f03c3[_0xf1076e(0x171)](_0x59a405=>_0x59a405['id']===_0x15ca2);}['getMember'](_0x5ca685){const _0x45159b=_0x31a13e;return this[_0x45159b(0x21e)][_0x45159b(0x268)](_0x5ca685);}['_createMask'](){const _0x5d70e9=_0x31a13e;this['_maskElement']=document['createElement']('div'),this[_0x5d70e9(0x1dd)]['className']=_0x5d70e9(0x1b7),this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)][_0x5d70e9(0x18f)]=_0x5d70e9(0x128),this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)][_0x5d70e9(0x1e5)]='0',this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)][_0x5d70e9(0x1a8)]='0',this['_maskElement'][_0x5d70e9(0x146)][_0x5d70e9(0x2b8)]=_0x5d70e9(0x14e),this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)][_0x5d70e9(0x1b2)]='100%',this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)][_0x5d70e9(0x163)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x5d70e9(0x1dd)]['style']['color']=_0x5d70e9(0xf9),this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)]['display']=_0x5d70e9(0x155),this[_0x5d70e9(0x1dd)][_0x5d70e9(0x146)]['justifyContent']=_0x5d70e9(0x1a9),this['_maskElement'][_0x5d70e9(0x146)][_0x5d70e9(0x11f)]=_0x5d70e9(0x20c),this[_0x5d70e9(0x1dd)]['style']['display']=_0x5d70e9(0x26f),this[_0x5d70e9(0x188)][_0x5d70e9(0x1a0)](this[_0x5d70e9(0x1dd)]);}[_0x31a13e(0x1b1)](){const _0x13f1ad=_0x31a13e;var _0x5844fe;const _0x3901b7=(_0x5844fe=document[_0x13f1ad(0x290)](this[_0x13f1ad(0x111)]))==null?void 0x0:_0x5844fe[_0x13f1ad(0x23a)]('.univer-app-container-content');_0x3901b7&&(this['_maskContainer']=_0x3901b7,this[_0x13f1ad(0x1b9)]());}[_0x31a13e(0x1b8)](){const _0x371f9b=_0x31a13e;this['_maskContainer']||this['_initMaskContainer'](),this[_0x371f9b(0x1dd)]&&(this[_0x371f9b(0x1dd)]['style'][_0x371f9b(0x250)]=_0x371f9b(0x155));}[_0x31a13e(0x21d)](){const _0xbd8d1c=_0x31a13e;this[_0xbd8d1c(0x1dd)]&&(this['_maskElement']['style']['display']=_0xbd8d1c(0x26f));}set[_0x31a13e(0x1c1)](_0xe52e93){this['_status$']['next'](_0xe52e93);}set[_0x31a13e(0x1fd)](_0x359f2d){const _0x19dca0=_0x31a13e;_0x359f2d!==this[_0x19dca0(0x1f0)][_0x19dca0(0x288)]&&this[_0x19dca0(0x1f0)][_0x19dca0(0x1d6)](_0x359f2d);}get[_0x31a13e(0x1fd)](){return this['_currentVersion$']['value'];}set[_0x31a13e(0x1c7)](_0x13f87b){const _0x133e16=_0x31a13e;this[_0x133e16(0x285)][_0x133e16(0x1d6)](_0x13f87b);}get[_0x31a13e(0x1c7)](){const _0x4c30d5=_0x31a13e;return this[_0x4c30d5(0x285)][_0x4c30d5(0x288)];}get[_0x31a13e(0x18c)](){const _0x271f63=_0x31a13e;return this[_0x271f63(0x125)];}get[_0x31a13e(0x224)](){const _0x334e12=_0x31a13e;return this[_0x334e12(0x246)][_0x334e12(0x288)];}};g=Es([V(0x0,_0x2f6470),V(0x1,_0xce1d20),V(0x2,_0x5bccd7(_0x450253)),V(0x3,_0x5bccd7(F))],g);function j({ref:_0x1a756b,..._0xd57593}){const _0x251360=_0x31a13e,{icon:_0x1b1196,id:_0x48784c,className:_0x3facf4,extend:_0x603db2,..._0x5999b2}=_0xd57593,_0x284b19=(_0x251360(0x1e6)+_0x48784c+'\x20'+(_0x3facf4||''))[_0x251360(0x1ff)](),_0x438093=_0x3089a6('_'+gs());return Le(_0x1b1196,''+_0x48784c,{'defIds':_0x1b1196['defIds'],'idSuffix':_0x438093[_0x251360(0x275)]},{'ref':_0x1a756b,'className':_0x284b19,..._0x5999b2},_0x603db2);}function Le(_0x597564,_0xd65771,_0xcaba39,_0x2ac44d,_0x250ce2){const _0x10c953=_0x31a13e;return _0x2fd148(_0x597564[_0x10c953(0x1d7)],{'key':_0xd65771,...ms(_0x597564,_0xcaba39,_0x250ce2),..._0x2ac44d},(fs(_0x597564,_0xcaba39)[_0x10c953(0x22b)]||[])[_0x10c953(0x247)]((_0x410346,_0x51fc86)=>Le(_0x410346,_0xd65771+'-'+_0x597564[_0x10c953(0x1d7)]+'-'+_0x51fc86,_0xcaba39,void 0x0,_0x250ce2)));}function ms(_0x37c6ce,_0x16f9b0,_0x557742){const _0x3809ed=_0x31a13e,_0x4b5cc3={..._0x37c6ce[_0x3809ed(0x13f)]};_0x557742!=null&&_0x557742[_0x3809ed(0x1c4)]&&_0x4b5cc3[_0x3809ed(0x19c)]===_0x3809ed(0x1c4)&&(_0x4b5cc3[_0x3809ed(0x19c)]=_0x557742[_0x3809ed(0x1c4)]),_0x37c6ce['tag']===_0x3809ed(0x28c)&&_0x4b5cc3['id']&&(_0x4b5cc3['id']=_0x4b5cc3['id']+_0x16f9b0[_0x3809ed(0x15c)]),Object['entries'](_0x4b5cc3)[_0x3809ed(0x175)](([_0x3ee12d,_0x3dd92b])=>{const _0x90af9=_0x3809ed;_0x3ee12d===_0x90af9(0x28c)&&typeof _0x3dd92b==_0x90af9(0x13d)&&(_0x4b5cc3[_0x3ee12d]=_0x3dd92b[_0x90af9(0x1c3)](/url\(#(.*)\)/,_0x90af9(0x2be)+_0x16f9b0[_0x90af9(0x15c)]+')'));});const {defIds:_0x536254}=_0x16f9b0;return!_0x536254||_0x536254[_0x3809ed(0x2bd)]===0x0||(_0x37c6ce[_0x3809ed(0x1d7)]===_0x3809ed(0x20a)&&_0x4b5cc3[_0x3809ed(0x2b6)]&&(_0x4b5cc3[_0x3809ed(0x2b6)]=_0x4b5cc3[_0x3809ed(0x2b6)]+_0x16f9b0[_0x3809ed(0x15c)]),Object['entries'](_0x4b5cc3)[_0x3809ed(0x175)](([_0x4752a7,_0x860bac])=>{const _0x336b7a=_0x3809ed;typeof _0x860bac==_0x336b7a(0x13d)&&(_0x4b5cc3[_0x4752a7]=_0x860bac[_0x336b7a(0x1c3)](/url\(#(.*)\)/,_0x336b7a(0x2be)+_0x16f9b0['idSuffix']+')'));})),_0x4b5cc3;}function fs(_0x4fdd95,_0x18fed8){const _0x2da898=_0x31a13e;var _0x5532d9;const {defIds:_0x36402d}=_0x18fed8;return!_0x36402d||_0x36402d['length']===0x0?_0x4fdd95:_0x4fdd95[_0x2da898(0x1d7)]==='defs'&&((_0x5532d9=_0x4fdd95[_0x2da898(0x22b)])!=null&&_0x5532d9[_0x2da898(0x2bd)])?{..._0x4fdd95,'children':_0x4fdd95[_0x2da898(0x22b)]['map'](_0x37bc98=>typeof _0x37bc98[_0x2da898(0x13f)]['id']==_0x2da898(0x13d)&&_0x36402d&&_0x36402d[_0x2da898(0x177)](_0x37bc98['attrs']['id'])?{..._0x37bc98,'attrs':{..._0x37bc98[_0x2da898(0x13f)],'id':_0x37bc98[_0x2da898(0x13f)]['id']+_0x18fed8['idSuffix']}}:_0x37bc98)}:_0x4fdd95;}function gs(){const _0xcc4d99=_0x31a13e;return Math['random']()[_0xcc4d99(0x15e)](0x24)[_0xcc4d99(0x176)](0x2,0x8);}j['displayName']=_0x31a13e(0x157);const ps={'tag':_0x31a13e(0x26c),'attrs':{'xmlns':_0x31a13e(0x198),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x31a13e(0x260),'height':_0x31a13e(0x260)},'children':[{'tag':_0x31a13e(0x1d5),'attrs':{'fill':'currentColor','d':_0x31a13e(0x100)}}]},Ce=_0xe3f0f(function(_0x264cf2,_0x5148e1){const _0x3c21c7=_0x31a13e;return _0x2fd148(j,Object[_0x3c21c7(0x19a)]({},_0x264cf2,{'id':_0x3c21c7(0x254),'ref':_0x5148e1,'icon':ps}));});Ce[_0x31a13e(0x18b)]=_0x31a13e(0x2b2);function _0x13f0(_0x3c845d,_0x503bdf){_0x3c845d=_0x3c845d-0xec;const _0x3853cb=_0x3853();let _0x13f0fe=_0x3853cb[_0x3c845d];return _0x13f0fe;}const Ns={'tag':_0x31a13e(0x26c),'attrs':{'xmlns':_0x31a13e(0x198),'fill':_0x31a13e(0x26f),'viewBox':_0x31a13e(0x172),'width':_0x31a13e(0x260),'height':_0x31a13e(0x260)},'children':[{'tag':'g','attrs':{'fill':_0x31a13e(0x10c),'clipPath':_0x31a13e(0x1ac)},'children':[{'tag':'path','attrs':{'d':_0x31a13e(0x119)}},{'tag':_0x31a13e(0x1d5),'attrs':{'d':_0x31a13e(0x1fc),'fillRule':_0x31a13e(0x168),'clipRule':_0x31a13e(0x168)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x31a13e(0x17d)},'children':[{'tag':_0x31a13e(0x1b5),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x31a13e(0xf9),'rx':0x4}}]}]}],'defIds':[_0x31a13e(0x17d)]},ye=_0xe3f0f(function(_0x14b7e5,_0x5b9dc1){const _0xe3b6fc=_0x31a13e;return _0x2fd148(j,Object[_0xe3b6fc(0x19a)]({},_0x14b7e5,{'id':_0xe3b6fc(0x209),'ref':_0x5b9dc1,'icon':Ns}));});ye['displayName']=_0x31a13e(0x216);const Os={'tag':_0x31a13e(0x26c),'attrs':{'xmlns':_0x31a13e(0x198),'fill':_0x31a13e(0x26f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x31a13e(0x1d5),'attrs':{'fill':_0x31a13e(0x24d),'d':'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','fillOpacity':0.2,'fillRule':_0x31a13e(0x168),'clipRule':_0x31a13e(0x168)}},{'tag':_0x31a13e(0x1d5),'attrs':{'fill':_0x31a13e(0x24d),'d':_0x31a13e(0x29d),'fillRule':_0x31a13e(0x168),'clipRule':_0x31a13e(0x168)}}]},oe=_0xe3f0f(function(_0x14e108,_0x326a2c){const _0x5a4b3b=_0x31a13e;return _0x2fd148(j,Object[_0x5a4b3b(0x19a)]({},_0x14e108,{'id':_0x5a4b3b(0x20f),'ref':_0x326a2c,'icon':Os}));});oe[_0x31a13e(0x18b)]=_0x31a13e(0x206);function Rs(){const _0x202589=_0x31a13e;var _0x57d7aa;const _0x2ef205=_0x379e3d(g),_0x327c49=_0x379e3d(_0x450253),_0x496113=_0x3a5cc6(()=>{const _0x3ef8ec=_0x13f0;_0x2ef205[_0x3ef8ec(0x1c1)]=ae[_0x3ef8ec(0x1fe)];},[_0x2ef205]),_0x44bc61=_0x3a5cc6(()=>{const _0x4c771d=_0x13f0;_0x2ef205[_0x4c771d(0x143)]();},[_0x2ef205]),_0x5e0dd2=_0x5dadc3(_0x2ef205[_0x202589(0x164)]),_0x2f70a9=_0x5dadc3(_0x2ef205['versions$']),_0x3d0145=_0x5e0dd2===((_0x57d7aa=_0x2f70a9==null?void 0x0:_0x2f70a9[0x0])==null?void 0x0:_0x57d7aa['id']),_0x5b9e89=_0x5e0dd2!==''&&!_0x3d0145&&_0x2ef205[_0x202589(0x18c)];return _0xfa81a5(_0x202589(0x14d),{'className':_0x5b3091(_0x202589(0x179),_0x1cf05c),'children':[_0x43a5d9('a',{'className':_0x202589(0x190),'role':_0x202589(0x2b4),'onClick':_0x496113,'children':_0x43a5d9(Ce,{'className':_0x202589(0x107)})}),_0x43a5d9('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x5b9e89&&_0x43a5d9(_0x43bda6,{'variant':_0x202589(0x237),'onClick':_0x44bc61,'children':_0x327c49['t'](_0x202589(0x135))})})]});}var Ts=Object[_0x31a13e(0x12b)],Ds=(_0xed31fe,_0x3f6522,_0x111505,_0x2dc643)=>{const _0x4ac417=_0x31a13e;for(var _0x1628a0=_0x2dc643>0x1?void 0x0:_0x2dc643?Ts(_0x3f6522,_0x111505):_0x3f6522,_0x18fe80=_0xed31fe[_0x4ac417(0x2bd)]-0x1,_0x51cfe9;_0x18fe80>=0x0;_0x18fe80--)(_0x51cfe9=_0xed31fe[_0x18fe80])&&(_0x1628a0=_0x51cfe9(_0x1628a0)||_0x1628a0);return _0x1628a0;},M=(_0x1859ba,_0x20ccce)=>(_0x4ace4e,_0x2ae022)=>_0x20ccce(_0x4ace4e,_0x2ae022,_0x1859ba);let Y=class extends _0x4e8d1f{constructor(_0x4d27bd,_0x3e5e95,_0x2a856c,_0x3b3624,_0x51ca3e,_0x1966d9){const _0x563026=_0x31a13e;super(),this[_0x563026(0x1b6)]=_0x4d27bd,this[_0x563026(0x1bf)]=_0x3e5e95,this['_messageService']=_0x2a856c,this['_localeService']=_0x3b3624,this['_historyManagerService']=_0x51ca3e,this[_0x563026(0x248)]=_0x1966d9,this[_0x563026(0x265)]();}[_0x31a13e(0x265)](){const _0x159694=_0x31a13e;this['disposeWithMe'](this['_historyManagerService'][_0x159694(0x164)][_0x159694(0x20b)](_0x2a4f89=>{const _0x5bbd9e=_0x159694;_0x2a4f89&&this[_0x5bbd9e(0x22a)]['triggerLoadSheet'](_0x2a4f89);})),this['disposeWithMe'](this[_0x159694(0x1b6)][_0x159694(0x1f5)][_0x159694(0x20b)](_0x45005d=>{const _0x244a6e=_0x159694,_0x40b2db=this[_0x244a6e(0x22a)][_0x244a6e(0x1c7)];_0x40b2db&&(_0x45005d['subType']===D[_0x244a6e(0x28e)]&&_0x45005d['value']===!0x0&&this[_0x244a6e(0x1b6)]['updatePermissionPoint'](new _0x46d328(_0x40b2db)['id'],!0x1),_0x45005d['subType']===D['RenameSheet']&&_0x45005d[_0x244a6e(0x288)]===!0x0&&this[_0x244a6e(0x1b6)][_0x244a6e(0x2a7)](new _0x351d3f(_0x40b2db)['id'],!0x1),_0x45005d['subType']===D[_0x244a6e(0x1df)]&&_0x45005d['value']===!0x0&&this[_0x244a6e(0x1b6)][_0x244a6e(0x2a7)](new _0x507041(_0x40b2db)['id'],!0x1),_0x45005d['subType']===D[_0x244a6e(0xf1)]&&_0x45005d['value']===!0x0&&this['_permissionService'][_0x244a6e(0x2a7)](new _0x1a5476(_0x40b2db)['id'],!0x1),_0x45005d[_0x244a6e(0x1db)]===D[_0x244a6e(0xf8)]&&_0x45005d[_0x244a6e(0x288)]===!0x0&&this[_0x244a6e(0x1b6)][_0x244a6e(0x2a7)](new _0x46d328(_0x40b2db)['id'],!0x1),_0x45005d[_0x244a6e(0x1db)]===D['FloatImg']&&_0x45005d['value']===!0x0&&this['_permissionService'][_0x244a6e(0x2a7)](new _0x46d328(_0x40b2db)['id'],!0x1));})),this['disposeWithMe'](this[_0x159694(0x1bf)][_0x159694(0x153)](_0x2b00e3['HEADER'],()=>_0xe28e5b(Rs,this[_0x159694(0x248)])));let _0x375779;this['disposeWithMe'](this[_0x159694(0x22a)][_0x159694(0x140)][_0x159694(0x20b)](_0x16e84d=>{const _0x47e3a1=_0x159694;_0x375779==null||_0x375779[_0x47e3a1(0x23f)](),_0x16e84d===C['Loading']&&(this[_0x47e3a1(0x22a)]['showMask'](),_0x375779=this[_0x47e3a1(0x251)]['show']({'type':_0x327ca8[_0x47e3a1(0x273)],'content':this['_localeService']['t'](_0x47e3a1(0x11e))})),_0x16e84d===C[_0x47e3a1(0x28a)]&&this[_0x47e3a1(0x22a)][_0x47e3a1(0x21d)]();}));}};Y=Ds([M(0x0,_0x2e64b9),M(0x1,_0x1784d6),M(0x2,_0x2f6470),M(0x3,_0x5bccd7(_0x450253)),M(0x4,_0x5bccd7(g)),M(0x5,_0x5bccd7(_0x276bb8))],Y);var Ms=Object[_0x31a13e(0x12b)],Ps=(_0x5cd2f4,_0x5e7ef0,_0x38f56e,_0x452e59)=>{const _0x499d65=_0x31a13e;for(var _0x2803b1=_0x452e59>0x1?void 0x0:_0x452e59?Ms(_0x5e7ef0,_0x38f56e):_0x5e7ef0,_0x25cedd=_0x5cd2f4[_0x499d65(0x2bd)]-0x1,_0x461e08;_0x25cedd>=0x0;_0x25cedd--)(_0x461e08=_0x5cd2f4[_0x25cedd])&&(_0x2803b1=_0x461e08(_0x2803b1)||_0x2803b1);return _0x2803b1;},Z=(_0x3f42fc,_0x2fdc94)=>(_0x5616a6,_0x901f93)=>_0x2fdc94(_0x5616a6,_0x901f93,_0x3f42fc);let $=class extends _0x4e8d1f{constructor(_0x445023,_0xf89091,_0x260e1b){const _0x443968=_0x31a13e;super(),l(this,_0x443968(0x117),new Map()),l(this,'_currentVersionDiff$',new _0x1b0511({'ranges':new Map(),'active':null})),l(this,'currentVersionDiff$',this[_0x443968(0x1a7)][_0x443968(0x235)]()),(this[_0x443968(0x22a)]=_0x445023,this[_0x443968(0x2a8)]=_0xf89091,this[_0x443968(0x252)]=_0x260e1b,this[_0x443968(0x265)]());}[_0x31a13e(0x265)](){const _0xe6ceb3=_0x31a13e;this[_0xe6ceb3(0x117)]=new Map(),this[_0xe6ceb3(0x272)](this[_0xe6ceb3(0x22a)]['unitId$'][_0xe6ceb3(0x20b)](_0x6a7290=>{const _0xf4dc6d=_0xe6ceb3;_0x6a7290&&!this['_diffRangesMap']['has'](_0x6a7290)&&this[_0xf4dc6d(0x117)][_0xf4dc6d(0x16f)](_0x6a7290,new Map());})),this[_0xe6ceb3(0x272)](this['_historyManagerService'][_0xe6ceb3(0x164)][_0xe6ceb3(0x20b)](async _0x38ba9d=>{const _0x29cc10=_0xe6ceb3;var _0xf08978;_0x38ba9d&&(await this[_0x29cc10(0x1b3)](_0x38ba9d),this[_0x29cc10(0x1a7)]['next'](((_0xf08978=this['_diffRangesMap'][_0x29cc10(0x268)](this[_0x29cc10(0x22a)]['unitId']))==null?void 0x0:_0xf08978[_0x29cc10(0x268)](_0x38ba9d))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x5e2089){const _0x1b80c9=_0x31a13e;var _0xf22a6a,_0x20908b;const _0x59cc00=this[_0x1b80c9(0x22a)][_0x1b80c9(0x1ec)](_0x5e2089),_0x1d4a99=this[_0x1b80c9(0x22a)][_0x1b80c9(0x1c7)];if(!_0x59cc00||!_0x1d4a99)return;const _0x1ea2dd=this[_0x1b80c9(0x117)][_0x1b80c9(0x268)](_0x1d4a99);if(_0x1ea2dd||this[_0x1b80c9(0x117)][_0x1b80c9(0x16f)](_0x1d4a99,new Map()),(_0xf22a6a=this[_0x1b80c9(0x117)]['get'](_0x1d4a99))!=null&&_0xf22a6a[_0x1b80c9(0x1d2)](_0x59cc00['id']))return;const {startRev:_0x2e63c9,endRev:_0x37fd97}=_0x59cc00;if(_0x2e63c9===0x1){_0x1ea2dd[_0x1b80c9(0x16f)](_0x59cc00['id'],{'ranges':new Map(),'active':null});return;}const _0x205416=_0x2e63c9-0x1,_0x1c7e9b=_0x37fd97,_0x4cf235=await this[_0x1b80c9(0x252)][_0x1b80c9(0x120)]({},{'unitID':_0x1d4a99,'from':_0x205416,'to':_0x1c7e9b,'type':H[_0x1b80c9(0x195)]});if(((_0x20908b=_0x4cf235[_0x1b80c9(0x15d)])==null?void 0x0:_0x20908b[_0x1b80c9(0xfc)])===U['OK']){const _0x20e1ca=_0x4cf235[_0x1b80c9(0x14b)]['map'](_0x1d29ba=>((_0x1d29ba[_0x1b80c9(0x1b0)]===null||_0x1d29ba['mutations']===void 0x0)&&(_0x1d29ba['mutations']=[]),_0x523a71(_0x1d29ba)))[_0x1b80c9(0x247)](_0x42eea1=>_0x42eea1[_0x1b80c9(0x1b0)][_0x1b80c9(0x247)](_0x3ee28d=>({..._0x3ee28d,'params':{..._0x3ee28d['params'],'memberId':_0x42eea1['userID']}})))[_0x1b80c9(0x17b)](),_0xbd4ade=this[_0x1b80c9(0x26a)](_0x20e1ca),_0x4be174=this[_0x1b80c9(0x1e0)](_0x20e1ca),_0x6fae40=this[_0x1b80c9(0x286)](_0xbd4ade);_0x1ea2dd['set'](_0x59cc00['id'],{'ranges':_0x6fae40,'active':_0x4be174});}}[_0x31a13e(0x26a)](_0x3f7002){const _0x389af6=_0x31a13e;let _0xcf1949=[];for(let _0x44e53f=0x0;_0x44e53f<_0x3f7002[_0x389af6(0x2bd)];_0x44e53f++){const _0x12a4a3=_0x3f7002[_0x44e53f];if(_0xcf1949[_0x389af6(0x299)](_0x12a4a3),_0x44e53f!==_0x3f7002[_0x389af6(0x2bd)]-0x1){const _0x1fdee8=_0x3f7002[_0x44e53f+0x1],_0x463361=this['_transformService'][_0x389af6(0x181)](_0xcf1949,[_0x1fdee8]);_0x3bf6cd(_0x463361)?_0xcf1949=_0x463361[_0x389af6(0x210)]:_0xcf1949=[];}}return _0xcf1949;}['_getActiveSubUnitId'](_0x19ef81){const _0x23426d=_0x31a13e;let _0x918147=[];return _0x19ef81[_0x23426d(0x175)](_0x534c97=>{const _0x28fff2=_0x23426d;if(_0x534c97['id']===_0x54c69c['id']){const _0x2e2921=_0x534c97[_0x28fff2(0x280)];_0x918147[_0x28fff2(0x299)](_0x2e2921['sheet']['id']);}else{if(_0x534c97['id']===_0x52c717['id']){const _0x1f5dec=_0x534c97[_0x28fff2(0x280)];_0x918147['length']>0x0&&(_0x918147=_0x918147[_0x28fff2(0x25f)](_0x5d29e2=>_0x5d29e2!==_0x1f5dec['subUnitId']));}else{if(_0x534c97['id']===_0x135d57['id']){const _0x31773b=_0x534c97[_0x28fff2(0x280)];_0x31773b[_0x28fff2(0x2a9)]?_0x918147=_0x918147['filter'](_0x37a8df=>_0x37a8df!==_0x31773b[_0x28fff2(0x18e)]):_0x918147['push'](_0x31773b['subUnitId']);}else{const _0x351972=_0x534c97[_0x28fff2(0x280)];_0x351972['subUnitId']&&_0x918147['push'](_0x351972[_0x28fff2(0x18e)]);}}}}),_0x918147[_0x23426d(0x2bd)]>0x0?_0x918147[_0x918147['length']-0x1]:null;}['_extractRanges'](_0x355cfe){const _0xe154e0=_0x31a13e,_0x178b4e=new Map();return _0x355cfe['forEach'](_0x1e7048=>{const _0x473fce=_0x13f0;var _0x2d291b,_0x1e901b;const _0x463ea4=(_0x2d291b=_0x1e7048[_0x473fce(0x280)])==null?void 0x0:_0x2d291b[_0x473fce(0x137)];if(_0x463ea4){_0x178b4e[_0x473fce(0x1d2)](_0x463ea4)||_0x178b4e[_0x473fce(0x16f)](_0x463ea4,[]);const _0x50132a=this[_0x473fce(0xfb)](_0x1e7048);(_0x1e901b=_0x178b4e[_0x473fce(0x268)](_0x463ea4))==null||_0x1e901b[_0x473fce(0x299)](..._0x50132a);}}),_0x178b4e[_0xe154e0(0x175)]((_0x52b8f6,_0x5a98bb)=>{const _0x218dbe=_0xe154e0;_0x178b4e[_0x218dbe(0x16f)](_0x5a98bb,this[_0x218dbe(0x19b)](_0x52b8f6));}),_0x178b4e;}['_getRangesByMutation'](_0x2f2c47){const _0xad21e5=_0x31a13e;switch(_0x2f2c47['id']){case _0x5b9d37['id']:{const _0x278ba0=_0x2f2c47[_0xad21e5(0x280)];return _0x278ba0['rules'][_0xad21e5(0x247)](_0xc44c54=>_0xc44c54[_0xad21e5(0x2b5)][_0xad21e5(0x247)](_0x54903b=>({'range':_0x54903b,'unitId':_0x278ba0['unitId'],'subUnitId':_0x278ba0[_0xad21e5(0x18e)]})))[_0xad21e5(0x17b)]();}case _0x46e80e['id']:{const _0x596566=_0x2f2c47[_0xad21e5(0x280)];return _0x596566[_0xad21e5(0x2b5)][_0xad21e5(0x247)](_0x144366=>({'range':_0x144366,'unitId':_0x596566[_0xad21e5(0x1c7)],'subUnitId':_0x596566[_0xad21e5(0x18e)]}));}case _0x24d3e5['id']:{const _0x4e516c=_0x2f2c47[_0xad21e5(0x280)];return[{'range':_0x4e516c[_0xad21e5(0x10d)],'unitId':_0x4e516c[_0xad21e5(0x1c7)],'subUnitId':_0x4e516c['subUnitId']}];}case _0x4b5ebb['id']:{const _0x3bec58=_0x2f2c47[_0xad21e5(0x280)];return[{'range':_0x3bec58[_0xad21e5(0x10d)],'unitId':_0x3bec58[_0xad21e5(0x1c7)],'subUnitId':_0x3bec58[_0xad21e5(0x18e)]}];}case _0x4ea41c['id']:{const _0x4482ce=_0x2f2c47['params'],{from:_0x300f46,to:_0x1715fa,unitId:_0xbe568d}=_0x4482ce;return[{'range':Ie(_0x300f46['value']),'unitId':_0xbe568d,'subUnitId':_0x300f46[_0xad21e5(0x18e)]},{'range':Ie(_0x1715fa[_0xad21e5(0x288)]),'unitId':_0xbe568d,'subUnitId':_0x1715fa[_0xad21e5(0x18e)]}];}case _0x358627['id']:{const _0x1f2d6e=_0x2f2c47[_0xad21e5(0x280)],{unitId:_0x32ec0f,subUnitId:_0x35878a,sourceRange:_0x4bc29b,targetRange:_0x4fe373}=_0x1f2d6e,_0x3f17c3=_0x4bc29b[_0xad21e5(0x1c6)]-_0x4bc29b[_0xad21e5(0x255)]+0x1;return[{'range':_0x4fe373[_0xad21e5(0x255)]<=_0x4bc29b[_0xad21e5(0x255)]?_0x4fe373:{..._0x4fe373,'startRow':_0x4fe373['startRow']-_0x3f17c3,'endRow':_0x4fe373['endRow']-_0x3f17c3},'unitId':_0x32ec0f,'subUnitId':_0x35878a}];}case _0x4a99bd['id']:{const _0x161786=_0x2f2c47[_0xad21e5(0x280)],{unitId:_0x18e1eb,subUnitId:_0x121d51,sourceRange:_0x5efbde,targetRange:_0xdcc2d}=_0x161786,_0x30f3df=_0x5efbde[_0xad21e5(0x11d)]-_0x5efbde['startColumn']+0x1;return[{'range':_0xdcc2d[_0xad21e5(0x28b)]<=_0x5efbde[_0xad21e5(0x28b)]?_0xdcc2d:{..._0xdcc2d,'startColumn':_0xdcc2d[_0xad21e5(0x28b)]-_0x30f3df,'endColumn':_0xdcc2d[_0xad21e5(0x11d)]-_0x30f3df},'unitId':_0x18e1eb,'subUnitId':_0x121d51}];}case _0xddb119['id']:{const _0x23b4cd=_0x2f2c47[_0xad21e5(0x280)],{values:_0x3e57a5,unitId:_0x453919,subUnitId:_0x57838c}=_0x23b4cd;return Object['values'](_0x3e57a5)[_0xad21e5(0x247)](_0x4319b5=>_0x4319b5[_0xad21e5(0x2b5)][_0xad21e5(0x247)](_0x185dad=>({'range':_0x185dad,'unitId':_0x453919,'subUnitId':_0x57838c})))[_0xad21e5(0x17b)]();}case _0x526ccf['id']:{const _0x19b61a=_0x2f2c47[_0xad21e5(0x280)],{ranges:_0xa6fbeb,unitId:_0xd0e0f,subUnitId:_0x128aa6}=_0x19b61a;return _0xa6fbeb[_0xad21e5(0x247)](_0xc76ead=>({'range':_0xc76ead,'unitId':_0xd0e0f,'subUnitId':_0x128aa6}));}case _0x285f18['id']:{const _0x4cf75b=_0x2f2c47[_0xad21e5(0x280)],{unitId:_0x4855b7,subUnitId:_0x3228ea,range:_0xed930e}=_0x4cf75b;return[{'range':_0xed930e,'unitId':_0x4855b7,'subUnitId':_0x3228ea}];}case _0x2530ea['id']:{const _0x41a363=_0x2f2c47[_0xad21e5(0x280)];return _0x41a363['rule'][_0xad21e5(0x2b5)][_0xad21e5(0x247)](_0x386118=>({'range':_0x386118,'unitId':_0x41a363['unitId'],'subUnitId':_0x41a363[_0xad21e5(0x18e)]}));}case _0x3b773c['id']:{const _0x4c5411=_0x2f2c47[_0xad21e5(0x280)];return _0x4c5411['cellValue']?bs(_0x4c5411[_0xad21e5(0x12d)])['map'](_0x2d8bec=>({'range':_0x2d8bec,'unitId':_0x4c5411['unitId'],'subUnitId':_0x4c5411[_0xad21e5(0x18e)]})):[];}case _0x50fdcd['id']:{const _0x3c85b7=_0x2f2c47[_0xad21e5(0x280)];return[{'range':_0x3c85b7['range'],'unitId':_0x3c85b7[_0xad21e5(0x1c7)],'subUnitId':_0x3c85b7[_0xad21e5(0x18e)]}];}case _0xc6f545['id']:{const _0x7e4935=_0x2f2c47['params'];return(Array[_0xad21e5(0x24f)](_0x7e4935[_0xad21e5(0x233)])?_0x7e4935[_0xad21e5(0x233)]:[_0x7e4935['rule']])['map'](_0x173dbc=>_0x173dbc[_0xad21e5(0x2b5)][_0xad21e5(0x247)](_0x55444a=>({'range':_0x55444a,'unitId':_0x7e4935['unitId'],'subUnitId':_0x7e4935['subUnitId']})))[_0xad21e5(0x17b)]();}case _0x1ab4e7['id']:{const _0x276334=_0x2f2c47['params'];return _0x276334[_0xad21e5(0x233)]['ranges'][_0xad21e5(0x247)](_0x4bab33=>({'range':_0x4bab33,'unitId':_0x276334['unitId'],'subUnitId':_0x276334['subUnitId']}));}default:return[];}}['_combineRanges'](_0x213f03){const _0x355628=_0x31a13e;if(_0x213f03[_0x355628(0x2bd)]<=0x1)return _0x213f03;const _0x3c0838=new Map();return _0x213f03[_0x355628(0x175)](_0x383c63=>{const _0x1468ee=_0x355628;var _0x93565c;const {unitId:_0x2ace25,subUnitId:_0x14c1a9}=_0x383c63,_0x4b57af=_0x2ace25+'-'+_0x14c1a9;_0x3c0838[_0x1468ee(0x1d2)](_0x4b57af)?(_0x93565c=_0x3c0838[_0x1468ee(0x268)](_0x4b57af))==null||_0x93565c['push'](_0x383c63):_0x3c0838[_0x1468ee(0x16f)](_0x4b57af,[_0x383c63]);}),Array[_0x355628(0x160)](_0x3c0838['values']())['map'](_0x216900=>new _0x10290a()['add'](..._0x216900[_0x355628(0x247)](_0x40c6a9=>_0x40c6a9[_0x355628(0x10d)]))[_0x355628(0x245)]()['map'](_0x5768b3=>({'range':_0x5768b3,'unitId':_0x216900[0x0]['unitId'],'subUnitId':_0x216900[0x0][_0x355628(0x18e)]})))[_0x355628(0x17b)]();}};$=Ps([Z(0x0,_0x5bccd7(g)),Z(0x1,_0x35e073),Z(0x2,_0x5613db)],$);function Ie(_0x27c9bc){const _0x449db6=_0x31a13e;return new _0x267de2(_0x27c9bc)[_0x449db6(0x113)]();}function bs(_0x3a5d5f){const _0x52b521=_0x31a13e,_0x43dd99=new _0x267de2(_0x3a5d5f),_0x33f722=new _0x267de2();return _0x43dd99[_0x52b521(0x165)]((_0x380640,_0x18b0d5)=>{const _0x596e16=_0x52b521;_0x33f722[_0x596e16(0x110)](_0x380640,_0x18b0d5,0x1);}),_0x2e9a61(_0x33f722);}var Ls=Object['getOwnPropertyDescriptor'],Cs=(_0x5f4f96,_0x3ad87a,_0x43043e,_0x1c3677)=>{const _0x5229f5=_0x31a13e;for(var _0x50f517=_0x1c3677>0x1?void 0x0:_0x1c3677?Ls(_0x3ad87a,_0x43043e):_0x3ad87a,_0x19a7e8=_0x5f4f96[_0x5229f5(0x2bd)]-0x1,_0x29aa36;_0x19a7e8>=0x0;_0x19a7e8--)(_0x29aa36=_0x5f4f96[_0x19a7e8])&&(_0x50f517=_0x29aa36(_0x50f517)||_0x50f517);return _0x50f517;},P=(_0x1257eb,_0x45d065)=>(_0x55438d,_0x48f600)=>_0x45d065(_0x55438d,_0x48f600,_0x1257eb);let q=class extends _0x4e8d1f{constructor(_0x38f327,_0x3b1ef4,_0x1ada8f,_0x1cc729,_0x235040,_0x5cc0a5,_0x211fa9){const _0x5eda98=_0x31a13e;super(),l(this,_0x5eda98(0x1f7),new Set()),l(this,_0x5eda98(0x2ae),null),(this[_0x5eda98(0x236)]=_0x38f327,this['_historyManagerService']=_0x3b1ef4,this[_0x5eda98(0x18a)]=_0x1ada8f,this['_univerInstanceService']=_0x1cc729,this[_0x5eda98(0x12a)]=_0x235040,this[_0x5eda98(0x19e)]=_0x5cc0a5,this[_0x5eda98(0x148)]=_0x211fa9,this[_0x5eda98(0x265)]());}[_0x31a13e(0x265)](){const _0xe4921f=_0x31a13e;this[_0xe4921f(0x1ae)](),this[_0xe4921f(0x109)]();}[_0x31a13e(0x1ae)](){const _0x4b94f8=_0x31a13e;this[_0x4b94f8(0x272)](_0x24154c([this['_historyManagerService'][_0x4b94f8(0x140)],this['_sheetSkeletonManagerService'][_0x4b94f8(0x29b)]])[_0x4b94f8(0x201)](_0x3da124(([_0x20e876,_0x35ee23])=>{const _0x5e6247=_0x4b94f8;if(_0x20e876===C[_0x5e6247(0x28a)]&&_0x35ee23){const _0x405a07=_0x35ee23['sheetId'];return this[_0x5e6247(0x18a)][_0x5e6247(0x11c)][_0x5e6247(0x201)](_0x28487(_0x3168ff=>{const _0xa7bc45=_0x5e6247,_0x374564=new Map();return _0x3168ff[_0xa7bc45(0x2b5)][_0xa7bc45(0x175)]((_0x46accd,_0x24c98c)=>{const _0x5a4a93=_0xa7bc45,_0x587f1e=_0x46accd['filter'](_0xc15014=>_0xc15014[_0x5a4a93(0x18e)]===_0x405a07);_0x374564[_0x5a4a93(0x16f)](_0x24c98c,_0x587f1e);}),{'skeleton':_0x35ee23,'diffs':_0x374564};}));}return _0x22af10({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x5e1b01,diffs:_0x5d9cb1})=>{const _0x29895f=_0x4b94f8;this[_0x29895f(0x221)](),_0x5e1b01&&this[_0x29895f(0x2ad)](_0x5e1b01,_0x5d9cb1);})),this[_0x4b94f8(0x272)](this[_0x4b94f8(0x19e)]['currentSkeleton$'][_0x4b94f8(0x20b)](_0x48cfa5=>{const _0x439b2c=_0x4b94f8;if(_0x48cfa5==null)return;const {skeleton:_0xe4a1cc}=_0x48cfa5,{scene:_0x1740f6}=this[_0x439b2c(0x236)];_0x1740f6['onPointerMove$'][_0x439b2c(0x212)](_0x450d09(_0x596d48=>{const _0x40723f=_0x439b2c;var _0x989e97,_0x43747c;const {offsetX:_0xbd8968,offsetY:_0x3f1733}=_0x596d48,{x:_0xafdbc2,y:_0x4986b0}=_0x1740f6[_0x40723f(0xf3)](_0x309330[_0x40723f(0x27c)]([_0xbd8968,_0x3f1733])),{scaleX:_0x46b6ed,scaleY:_0x522feb}=_0x1740f6['getAncestorScale'](),_0x13638e=_0x1740f6['getViewport'](_0x2fcbcf[_0x40723f(0x204)]),_0x2d26e5=_0x1740f6[_0x40723f(0x186)](_0x309330[_0x40723f(0x27c)]([_0xafdbc2,_0x4986b0]),_0x13638e),_0x4d5e57=_0xe4a1cc['getCellPositionByOffset'](_0xbd8968,_0x3f1733,_0x46b6ed,_0x522feb,_0x2d26e5);((_0x989e97=this[_0x40723f(0x2ae)])==null?void 0x0:_0x989e97['column'])===_0x4d5e57['column']&&((_0x43747c=this['_lastPointer'])==null?void 0x0:_0x43747c[_0x40723f(0x2bb)])===_0x4d5e57[_0x40723f(0x2bb)]||this[_0x40723f(0x1f7)][_0x40723f(0x175)](_0x12bf5b=>{const _0xb47308=_0x40723f;_0x12bf5b[_0xb47308(0x25b)](_0x4d5e57);});},0x64));}));}[_0x31a13e(0x109)](){const _0xed72dc=_0x31a13e;this[_0xed72dc(0x272)](this[_0xed72dc(0x22a)][_0xed72dc(0x140)][_0xed72dc(0x20b)](_0x27b348=>{const _0x13bbfa=_0xed72dc,_0x4b3587=new _0x3f03a9();return _0x27b348===C['Loaded']&&(_0x4b3587[_0x13bbfa(0x23f)](),_0x4b3587[_0x13bbfa(0x150)](this['_versionDiffService']['currentVersionDiff$'][_0x13bbfa(0x20b)](_0x583718=>{const _0x417c6d=_0x13bbfa;_0x583718[_0x417c6d(0x129)]&&this[_0x417c6d(0x148)][_0x417c6d(0x2b9)](_0x31d458['id'],{'unitId':this[_0x417c6d(0x236)][_0x417c6d(0x1c7)],'subUnitId':_0x583718[_0x417c6d(0x129)]});}))),()=>_0x4b3587[_0x13bbfa(0x23f)]();}));}[_0x31a13e(0x2ad)](_0x56b68f,_0x4c46d9){const _0x480967=_0x31a13e;var _0x4cb2d2;const _0x2c7d05=(_0x4cb2d2=this[_0x480967(0x19e)]['getCurrent']())==null?void 0x0:_0x4cb2d2[_0x480967(0x1ed)];if(!_0x2c7d05)return;this['_diffs'][_0x480967(0x175)](_0x3cbd7e=>{const _0x3fb9f1=_0x480967;_0x3cbd7e[_0x3fb9f1(0x1ad)]();});const {scene:_0x38c0fd}=this[_0x480967(0x236)],_0x10b014=Array[_0x480967(0x160)](_0x4c46d9['keys']())[_0x480967(0x247)](_0xc65e0c=>_0x4c46d9['get'](_0xc65e0c)[_0x480967(0x247)](_0x1244dc=>{const _0xb68b1a=_0x480967;var _0x2b6765;const {range:_0xb4b8f1,subUnitId:_0x969c99,unitId:_0x116d91}=_0x1244dc,{startColumn:_0x5ee4be,startRow:_0x7c4350,endColumn:_0x1ac5e2,endRow:_0x3d6511}=_0xb4b8f1,_0x2a8cd5=_0x25f0fd(_0x7c4350,_0x5ee4be,_0x38c0fd,_0x2c7d05),_0xceba76=_0x25f0fd(_0x3d6511,_0x1ac5e2,_0x38c0fd,_0x2c7d05),{columnHeaderHeightAndMarginTop:_0x2120aa}=_0x2c7d05,{startX:_0x15a76e,startY:_0x39e349}=_0x2a8cd5,{endX:_0x57f3d6,endY:_0x510c18}=_0xceba76,_0x5cbfc3=_0x57f3d6-_0x15a76e,_0x51e7ce=_0x510c18-_0x39e349,_0x34dd80={'labelPosition':_0x39e349-_0x2120aa>=0x14?_0xb68b1a(0x1e5):'bottom','sheetID':_0x969c99,'range':_0xb4b8f1,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0xb68b1a(0x16d),'name':((_0x2b6765=this[_0xb68b1a(0x22a)][_0xb68b1a(0x296)](_0xc65e0c))==null?void 0x0:_0x2b6765[_0xb68b1a(0x1c5)])||'','selection':_0x116d91+'-'+_0x969c99+'-'+_0xb4b8f1[_0xb68b1a(0x28b)]+'-'+_0xb4b8f1[_0xb68b1a(0x255)]+'-'+_0xb4b8f1[_0xb68b1a(0x11d)]+'-'+_0xb4b8f1[_0xb68b1a(0x1c6)],'left':_0x15a76e,'top':_0x39e349,'width':_0x5cbfc3,'height':_0x51e7ce,'evented':!0x1,'zIndex':0x1};return new _0x15f1b2('',_0x34dd80);}))[_0x480967(0x17b)]();_0x38c0fd[_0x480967(0x1e9)](_0x10b014,0x1),this[_0x480967(0x1f7)]=new Set(_0x10b014);}[_0x31a13e(0x221)](){const _0x1ed6bf=_0x31a13e;var _0x5612a0;(_0x5612a0=this[_0x1ed6bf(0x1f7)])==null||_0x5612a0['forEach'](_0x47b7f7=>_0x47b7f7[_0x1ed6bf(0x23f)]());}[_0x31a13e(0x24b)](){const _0x390ec2=_0x31a13e;return _0x37cd02(this[_0x390ec2(0x258)],this['_renderManagerService']);}};q=Cs([P(0x1,_0x5bccd7(g)),P(0x2,_0x5bccd7($)),P(0x3,_0x15f5eb),P(0x4,_0x17fada),P(0x5,_0x5bccd7(_0x3635b0)),P(0x6,_0x36f773)],q);function ys(){const _0x313174=_0x31a13e,_0x49e589=_0x379e3d(g),_0x231838=_0x5dadc3(_0x49e589[_0x313174(0x2a0)]),[_0x398ae0,_0x2a89e8]=_0x443c3b(!0x1),_0x529828=_s(_0x231838);return _0x231838?_0x43a5d9(_0x313174(0x14d),{'className':'univer-overflow-hidden','children':_0xfa81a5(_0x313174(0x14d),{'className':_0x313174(0x23c),'children':[_0x529828[_0x313174(0x247)]((_0x45a5bc,_0x234112)=>_0xfa81a5(_0x1b8417,{'children':[_0x43a5d9($s,{'date':_0x45a5bc[_0x313174(0x104)]}),_0x45a5bc['versions'][_0x313174(0x247)]((_0x21e688,_0x34acc1)=>_0x43a5d9(Vs,{'index':[_0x234112,_0x34acc1],'item':_0x21e688},_0x234112+'-'+_0x34acc1))]},_0x45a5bc[_0x313174(0x104)])),_0x398ae0&&_0x43a5d9(ws,{})]})}):_0x43a5d9(Us,{});}function ws(){const _0x636341=_0x31a13e;return _0x43a5d9('div',{'className':_0x636341(0x205),'children':_0x43a5d9(oe,{'className':'univer-animate-spin'})});}function _0x3853(){const _0x47b237=['scrollEvent$','_univerInstanceService','body','additionalFields','onMouseMove','INVITE_CODE_REQUIRED','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','some','filter','1em','users','Duplicate','createTime','APPLY_DUPLICATED','_init','REDEMPTION_CODE_FULLY_REDEEMED','revertSheet','get','_versions$','_transformMutationByOrder','RecoverHistory','svg','ENTITLE_INSUFFICIENT_QUOTA','historyPanelComponentKey','none','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','/universer-api/history','disposeWithMe','Info','fetchCreatorList','current','clear','registerRenderModule',':\x20(','anonymous','FloatImg','init','FromArray','_updateVersions','442776bXkVnM','loadSheet','params','getVersions','history-panel','ENTITLE_COUPON_USED_UP','command','_unitId$','_extractRanges','getUnitOnRev','value','loaded','Loaded','startColumn','mask','EMAIL_HAS_BEEN_BOUND','Edit','UNAUTHENTICATED','getElementById','pluginName','ZH_CN','getSeconds','ViewFilter','7378287AxyUmr','getMember','Loading','SelectProtectedCells','push','USER_NOT_FOUND','currentSkeleton$','LICENSE_DISTRO_REJECTED','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','REDEMPTION_CODE_INACTIVE','userId','versions$','InsertColumn','InsertHyperlink','stopPropagation','deleteProtection','symbol','DATA_SOURCE_TOO_LARGE','updatePermissionPoint','_transformService','hidden','YUUMI_RATE_OVER_LIMIT','YUUMI_AI_RUN_FAILED','[HistoryFetchService]:\x20request\x20snapshot\x20error!','_updateDiffMarks','_lastPointer','getDeserializedSheetBlock','PERMISSION_DENIED','editHistory.panel.listFetchError','BackIcon','_hasMore','button','ranges','xlink:href','ERROR_AGAIN','width','executeCommand','getHours','row','loadMoreVersions','length','url(#$1','_httpService','startRevision','editHistory.panel.currentUser','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','INVALID_ARGUMENT','HideSheet','_initPanel','getRelativeToViewportCoord','SetRowStyle','historyListServerUrl','RwHgtClWdt','close','Comment','white','blocks','_getRangesByMutation','code','show','_setFetching','addSparkline','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','fetching$','APPLY_REJECT','getCurrentVersion','dateString','ViemRwHgtClWdt','ENTITLE_REPORT_LIMIT_EXCEED','univer-text-2xl\x20dark:!univer-text-white','LOGIN_FAILED','_initActiveSwitch','2776500StWjop','UNIVER_SLIDE','currentColor','range','setDV','UNIVER_PROJECT','setValue','_historyContainerId','TOO_MANY_REQUESTS','getDataRange','defineProperty','YUUMI_CONNECTOR_URL_NOT_FOUND','AUTHORIZE_CODE_ILLEGAL','_diffRangesMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','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','APPLY_PERMISSION_DENIED','entered','currentVersionDiff$','endColumn','editHistory.info.loading','zIndex','fetchMissingChangesets','Copy','_confirmService','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','_canRevert','YUUMI_SUBSCRIPTION_NOT_FOUND','_localeService','absolute','active','_renderManagerService','getOwnPropertyDescriptor','SetWorksheetStyle','cellValue','createSheet','EditExtraObject','unitId$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','3262yXjGGr','exited','WECHAT_HAS_BEEN_BOUND','editHistory.header.revert','_getAPIPrefix','memberId','APPLY_NON_SEQUENTIAL_REVISION','6BDcSBZ','_status$','EditWorksheetCell','time','string','_openPanel','attrs','loadingState$','interceptor','YUUMI_ALL_TABLES_IS_INVALID','triggerRevert','RenameSheet','Character','style','MOBILE_VERIFY_CODE_MISMATCH','_commandService','PY_RUNTIME_SCRIPT_ERROR','revertRevision$','changesets','creators','div','100%','_createUnit','add','Sort','NOT_FOUND','registerComponent','HideWorksheet','flex','hasCommand','UniverIcon','workbook','open','COMPLETION_FINISHED','entries','idSuffix','error','toString','EMAIL_VERIFY_CODE_MISMATCH','from','/creators','APPLY_REVISION_CONFILICT','backgroundColor','currentVersion$','forValue','INVALID_INVITE_CODE','USER_IS_ANONYMOUS','evenodd','CreatePermissionObject','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','split','rgba(58,\x2096,\x20247,\x200.20)','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','set','_componentManager','find','0\x200\x2016\x2017','onRendered','CHANGESET_REVISION_CONFILICT','forEach','substring','includes','user','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','History','flat','Today','restore-icon_clip0_1247_2','state$','setFilter','endRev','transformMutations','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','editHistory.action.etc','PAYMENT_CHANNEL_NOT_SUPPORT','ViewHistory','getVpScrollXYInfoByPosToVp','_cellEditorManagerService','_maskContainer','DeleteRow','_versionDiffService','displayName','canRevert','setState','subUnitId','position','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','INTERNAL_ERROR','REDEMPTION_CODE_NOT_STARTED','RenameWorksheet','padStart','UNIVER_SHEET','SetCellValue','SNAPSHOT_HAS_BEEN_REMOVED','http://www.w3.org/2000/svg','getInterceptPoints','assign','_combineRanges','fill','insertChart','_sheetSkeletonManagerService','View','append','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','YUUMI_ASYNCIO_CANCELLED','_workbookDataCache','_configService','removeSheet','UNRECOGNIZED','_currentVersionDiff$','left','center','ENTITLE_CHAT_LIMIT_EXCEED','toISOString','url(#restore-icon_clip0_1247_2)','makeDirty','_initRender','univer-text-gray-500','mutations','_initMaskContainer','height','ensureVersion','confirm','rect','_permissionService','history-mask','showMask','_createMask','getCurrentLocale','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_config','ManageCollaborator','_loadParams','_uiPartsService','7142445yVIIUP','status','_revertRevision$','replace','colorChannel1','name','endRow','unitId','action','block','register','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SetCellStyle','fetching','ENTITLE_DUP_SUBSCRIPTION','CURRENT_STATUS_CANNOT_OPERATE','commands','4696278vbPART','has','SetColumnStyle','10tDvdvg','path','next','tag','SelectUnProtectedCells','YUUMI_NO_CUBOID_FOR_QUESTION','ENTITLE_COUPON_EXPIRED','subType','CopySheet','_maskElement','userIds','MoveSheet','_getActiveSubUnitId','recoverTime','origin','Delete','editHistory.action.revertSheetSuffix','top','univerjs-icon\x20univerjs-icon-','span','loadInitialVersions','addObjects','LICENSE_EXPORT_SIZE_EXCEEDED','addProtection','getVersion','skeleton','Share','LOGIN_TOKEN_PROCESSING_FAILED','_currentVersion$','endRevision','getConfig','7502536SPwBCD','384TRLKmD','permissionPointUpdate$','_fetching$','_diffs','INVITE_CODE_ALREADY_BOUND','_compressMutationService','_sidebarService','editHistory.action.revertSheetPrefix','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','currentVersion','Exited','trim','_lastLabel','pipe','REDEMPTION_INVALID_CODE','_dialogOptions$','VIEW_MAIN','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','LoadingMultiIcon','_sidebarDisposable','triggerLoadVersions','restore-icon','use','subscribe','1000','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_INVALID_COUPON_CODE','loading-multi-icon','m1Prime','Error','subscribeEvent','UNIVER_UNKNOWN','_creators$','ENTITLE_NEED_BILLING_ADDRESS','RestoreIcon','focusUnit','SNAPSHOT_INVALID_SNAPSHOT','blockMeta','fetchThroughInterceptors','getCurrentUnitForType','LICENSE_MAX_UNITS_EXCEEDED','hideMask','_members','ALREADY_EXISTS','loading','_removeDiffMarks','versions','keys','loadingState','MoveWorksheet','date','DeleteSheet','editHistory.panel.revertConfirmText','editHistory.panel.confirm','_historyManagerService','children','CreateWorksheet','onSteady','UNIVER_DOC','setConfig','status$','VIRTUAL_VERSION_NOW','CONNECTOR_DATA_TOO_LARGE','rule','UNDEFINED','asObservable','_context','primary','editHistory.panel.currentVersion','Filter','querySelector','InsertRow','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','editHistory.panel.revertDesc','setCF','dispose','reduce','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','_setVersions','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_UNABLE_LOAD_URL','merge','_loadingState$','map','_injector','univer-flex\x20univer-items-center\x20univer-justify-center','parse','_getSheetObject','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','#0B9EFB','Export','isArray','display','_messageService','_snapshotServerService','syncExecuteCommand','back-icon','startRow','_historyFetchService'];_0x3853=function(){return _0x47b237;};return _0x3853();}function Us(){const _0x1ed237=_0x31a13e;return _0x43a5d9(_0x1ed237(0x14d),{'className':_0x1ed237(0x249),'children':_0x43a5d9(_0x1ed237(0x1e7),{'className':_0x1ed237(0x1af),'children':_0x43a5d9(oe,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function $s(_0x451182){const _0xfba4cf=_0x31a13e,_0x49cf26=_0x379e3d(_0x450253),{date:_0x6939a0}=_0x451182;return _0x43a5d9(_0xfba4cf(0x14d),{'className':_0xfba4cf(0x182),'children':J(_0x6939a0,_0x49cf26[_0xfba4cf(0x1ba)]())});}function Vs(_0x2bc9ee){const _0x3e70a5=_0x31a13e,{item:_0x22e3fe,index:_0x473c2f}=_0x2bc9ee,{time:_0x31414f,user:_0x30d75b}=_0x22e3fe,[_0x8b2483,_0x45673a]=_0x473c2f,_0x1b548d=_0x379e3d(g),_0x635437=_0x5dadc3(_0x1b548d[_0x3e70a5(0x164)],'',!0x0)===_0x22e3fe['id'],_0x137657=_0x8b2483===0x0&&_0x45673a===0x0,_0x1371ca=!_0x137657&&_0x1b548d[_0x3e70a5(0x18c)],_0xbdf6a3=_0x379e3d(_0x450253),_0x5454fe=_0xbdf6a3[_0x3e70a5(0x1ba)](),_0x2e5dcf=re(_0x31414f,_0x5454fe),_0x48fbdf=_0xbdf6a3['t'](_0x3e70a5(0x238)),_0x1eb953=_0x3a5cc6(_0x3441e4=>{const _0x3b587b=_0x3e70a5;_0x1b548d[_0x3b587b(0x224)]!==C[_0x3b587b(0x297)]&&(_0x1b548d['currentVersion']=_0x3441e4);},[_0x1b548d]),_0x43c1b5=_0x3a5cc6(_0x1d9dc1=>{const _0x5f5e08=_0x3e70a5;_0x1b548d[_0x5f5e08(0x143)](_0x1d9dc1);},[_0x1b548d]);return _0xfa81a5(_0x3e70a5(0x14d),{'className':_0x5b3091(_0x3e70a5(0x1a1),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x635437}),'onClick':()=>_0x1eb953(_0x22e3fe['id']),'children':[_0xfa81a5(_0x3e70a5(0x14d),{'className':_0x3e70a5(0x24c),'children':[_0xfa81a5(_0x3e70a5(0x14d),{'className':_0x3e70a5(0x243),'children':[_0x43a5d9(_0x3e70a5(0x1e7),{'children':_0x2e5dcf[_0x3e70a5(0x13c)]}),_0x137657&&_0x43a5d9(_0x3e70a5(0x1e7),{'className':_0x3e70a5(0x270),'children':_0x48fbdf})]}),_0x43a5d9('div',{'children':_0x1371ca&&_0x43a5d9(_0x55a3ba,{'title':_0xbdf6a3['t'](_0x3e70a5(0x23d)),'children':_0x43a5d9(_0x3e70a5(0x14d),{'onClick':_0x121952=>{const _0x53a1d7=_0x3e70a5;_0x121952[_0x53a1d7(0x2a3)](),_0x43c1b5(_0x22e3fe['id']);},'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':_0x43a5d9(ye,{})})})})]}),_0x43a5d9(_0x3e70a5(0x14d),{'className':_0x3e70a5(0x25d),'children':os(_0x22e3fe,_0xbdf6a3)})]});}var ks=Object['getOwnPropertyDescriptor'],xs=(_0x18a334,_0x1fdbc4,_0x27c6b8,_0x33c282)=>{for(var _0x42e3bf=_0x33c282>0x1?void 0x0:_0x33c282?ks(_0x1fdbc4,_0x27c6b8):_0x1fdbc4,_0x10e475=_0x18a334['length']-0x1,_0x44ddc9;_0x10e475>=0x0;_0x10e475--)(_0x44ddc9=_0x18a334[_0x10e475])&&(_0x42e3bf=_0x44ddc9(_0x42e3bf)||_0x42e3bf);return _0x42e3bf;},w=(_0x3fe3cb,_0x2ef919)=>(_0x50b124,_0x54e0b0)=>_0x2ef919(_0x50b124,_0x54e0b0,_0x3fe3cb);const de=_0x31a13e(0x282);let B=class extends _0x4e8d1f{constructor(_0x44b59b,_0x4aed09,_0x1bae56,_0x255eb7,_0x215417){const _0x3a482d=_0x31a13e;super(),l(this,'_sidebarDisposable',null),(this[_0x3a482d(0x1fa)]=_0x44b59b,this[_0x3a482d(0x170)]=_0x4aed09,this[_0x3a482d(0x127)]=_0x1bae56,this[_0x3a482d(0x22a)]=_0x255eb7,this[_0x3a482d(0x1a4)]=_0x215417,this[_0x3a482d(0x265)]());}[_0x31a13e(0x265)](){const _0x8e6962=_0x31a13e;this[_0x8e6962(0xf2)](),this[_0x8e6962(0x13e)]();}['_openPanel'](){const _0x388b00=_0x31a13e;var _0x414a91;if(this[_0x388b00(0x207)])return;const _0x257e8e=((_0x414a91=this['_configService'][_0x388b00(0x1f2)](ne))==null?void 0x0:_0x414a91[_0x388b00(0x26e)])||de,_0x3c87e4={'header':{'title':this[_0x388b00(0x127)]['t']('editHistory.panel.title')},'children':{'label':_0x257e8e},'onClose':()=>{const _0x3786c5=_0x388b00;this[_0x3786c5(0x207)]=null,this['_historyManagerService'][_0x3786c5(0x1c1)]=ae['Exited'];}};this['_sidebarDisposable']=this[_0x388b00(0x1fa)][_0x388b00(0x159)]({..._0x3c87e4});}[_0x31a13e(0xf2)](){const _0x121371=_0x31a13e;this[_0x121371(0x272)](this[_0x121371(0x170)][_0x121371(0x1ca)](de,ys)),this[_0x121371(0x272)](this[_0x121371(0x1fa)][_0x121371(0x257)][_0x121371(0x201)](_0xf44472(0x64))[_0x121371(0x20b)](_0x19ce01=>{const _0x4fd5fe=_0x121371,{target:_0x3982f7}=_0x19ce01||{};if(_0x3982f7){const {scrollTop:_0xbc0f06,scrollHeight:_0x4830ab,clientHeight:_0x18edaf}=_0x3982f7;_0xbc0f06+_0x18edaf>=_0x4830ab-0x5&&this[_0x4fd5fe(0x22a)]['loadMoreVersions']();}}));}};B=xs([w(0x0,_0x34f1a4),w(0x1,_0x5bccd7(_0x3e56bb)),w(0x2,_0x5bccd7(_0x450253)),w(0x3,_0x5bccd7(g)),w(0x4,_0x41d9d0)],B);class As extends _0x4e8d1f{constructor(){super(),l(this,'_dialogOptions$',new _0x49eaa2());}[_0x31a13e(0x159)](){return _0xb30ce5(()=>{});}[_0x31a13e(0xf7)](){}['closeAll'](_0x50b644){}['getDialogs$'](){const _0x23f53c=_0x31a13e;return this[_0x23f53c(0x203)][_0x23f53c(0x235)]();}}var Hs=Object[_0x31a13e(0x114)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x49119a,_0x59d6c9,_0x5d2e0d)=>_0x59d6c9 in _0x49119a?Hs(_0x49119a,_0x59d6c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d2e0d}):_0x49119a[_0x59d6c9]=_0x5d2e0d,Bs=(_0x23824c,_0x510725,_0x1a7aa9,_0x2aafb8)=>{const _0x1be1bf=_0x31a13e;for(var _0x4b9965=_0x2aafb8>0x1?void 0x0:_0x2aafb8?Fs(_0x510725,_0x1a7aa9):_0x510725,_0x327b14=_0x23824c[_0x1be1bf(0x2bd)]-0x1,_0x289b8c;_0x327b14>=0x0;_0x327b14--)(_0x289b8c=_0x23824c[_0x327b14])&&(_0x4b9965=_0x289b8c(_0x4b9965)||_0x4b9965);return _0x4b9965;},K=(_0xa785e9,_0x185d35)=>(_0xfb939a,_0x517c09)=>_0x185d35(_0xfb939a,_0x517c09,_0xa785e9),Ws=(_0xcf6815,_0x4374d0,_0xd2ba4b)=>Ys(_0xcf6815,_0x4374d0+'',_0xd2ba4b);const js=_0x31a13e(0x241);let ee=class extends _0x29c10f{constructor(_0x4e50e8=he,_0x3a1461,_0x392bf1,_0x4a88ae){const _0x30ded9=_0x31a13e;super(),this['_config']=_0x4e50e8,this[_0x30ded9(0x248)]=_0x3a1461,this[_0x30ded9(0x12a)]=_0x392bf1,this[_0x30ded9(0x1a4)]=_0x4a88ae;const {..._0xf8bc0e}=_0x4b671f({},he,this[_0x30ded9(0x1bc)]);this[_0x30ded9(0x1a4)][_0x30ded9(0x22f)](ne,_0xf8bc0e);}['onStarting'](){const _0x68f19=_0x31a13e;[[g],[Y],[$],[F],[B],[A],[_0x5613db,{'useClass':_0x933df9}],[_0x81bab5,{'useClass':As}],[_0x32d58c,{'useClass':_0x1838c8}]]['forEach'](_0x6ec78c=>this[_0x68f19(0x248)][_0x68f19(0x150)](_0x6ec78c)),this[_0x68f19(0x248)]['get'](Y);}[_0x31a13e(0x173)](){const _0x3971e9=_0x31a13e;[[q]][_0x3971e9(0x175)](_0x35fc7c=>{const _0x2e16e2=_0x3971e9;this[_0x2e16e2(0x272)](this[_0x2e16e2(0x12a)][_0x2e16e2(0x277)](_0x5dc655[_0x2e16e2(0x195)],_0x35fc7c));}),this[_0x3971e9(0x248)][_0x3971e9(0x268)](A),this['_injector']['get'](B);}[_0x31a13e(0x22d)](){const _0x4cd7e2=_0x31a13e;this[_0x4cd7e2(0x248)][_0x4cd7e2(0x268)]($);}};Ws(ee,_0x31a13e(0x291),js),ee=Bs([_0x17b420(_0x523e81,_0x5f5ae9),K(0x1,_0x5bccd7(_0x276bb8)),K(0x2,_0x17fada),K(0x3,_0x41d9d0)],ee);export{g as HistoryManagerService,ae as HistoryModeStatus,hs as HistoryOrigin,ee as UniverEditHistoryViewerPlugin};
1
+ const _0x984091=_0x4a91;(function(_0x49b8a6,_0x3174d2){const _0x5699fd=_0x4a91,_0x76712b=_0x49b8a6();while(!![]){try{const _0x5ad30e=parseInt(_0x5699fd(0x1a0))/0x1*(parseInt(_0x5699fd(0xe3))/0x2)+-parseInt(_0x5699fd(0x1cb))/0x3+-parseInt(_0x5699fd(0x250))/0x4*(parseInt(_0x5699fd(0x18e))/0x5)+-parseInt(_0x5699fd(0x20b))/0x6*(-parseInt(_0x5699fd(0x18c))/0x7)+parseInt(_0x5699fd(0x182))/0x8*(parseInt(_0x5699fd(0x265))/0x9)+parseInt(_0x5699fd(0x140))/0xa*(parseInt(_0x5699fd(0xef))/0xb)+parseInt(_0x5699fd(0x15f))/0xc;if(_0x5ad30e===_0x3174d2)break;else _0x76712b['push'](_0x76712b['shift']());}catch(_0x581824){_0x76712b['push'](_0x76712b['shift']());}}}(_0x1674,0x644a9));var Ae=Object[_0x984091(0x1f0)],He=(_0x1b6e1f,_0x3039e0,_0x1efc5a)=>_0x3039e0 in _0x1b6e1f?Ae(_0x1b6e1f,_0x3039e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1efc5a}):_0x1b6e1f[_0x3039e0]=_0x1efc5a,l=(_0x5a1263,_0x542a93,_0xc4dbaa)=>He(_0x5a1263,typeof _0x542a93!=_0x984091(0x16f)?_0x542a93+'':_0x542a93,_0xc4dbaa);import{RevertRevisionMutation as _0x301f35,CreateUnitMutation as _0x313504,ISnapshotServerService as _0x214809,CompressMutationService as _0x5ceea2,transformSnapshotToWorkbookData as _0x55bf27,ITransformService as _0x1a17c4,parseProtocolChangeset as _0xf45245,isTransformMutationsSuccess as _0x3ed5dd}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x2418a4,CollaborationImageIoService as _0x472de0}from'@univerjs-pro/collaboration-client';import{Disposable as _0x866ab8,LocaleType as _0x3f4285,IUniverInstanceService as _0x3b6e00,ICommandService as _0x590770,IConfigService as _0x3e44e8,Inject as _0x2bf91e,UniverInstanceType as _0x168ac5,LocaleService as _0xd98ed4,IPermissionService as _0x422212,Injector as _0x45370b,ObjectMatrix as _0x1e1fe5,debounce as _0x33ba54,DisposableCollection as _0x17e47a,toDisposable as _0x216267,DependentOn as _0x200981,Plugin as _0x5969c5,merge as _0xd16e61}from'@univerjs/core';import{IImageIoService as _0x33b33a}from'@univerjs/drawing';import{IRenderManagerService as _0x18493f,Vector2 as _0x3ac805,SHEET_VIEWPORT_KEY as _0x51728d}from'@univerjs/engine-render';import{HTTPService as _0x10ab42,UniverNetworkPlugin as _0x1447c9}from'@univerjs/network';import{ICellEditorManagerService as _0x132d8c,SheetSkeletonManagerService as _0x312ec0,getCoordByCell as _0x5b0a50,getSheetObject as _0x1fdee3,UniverSheetsUIPlugin as _0x2e4e8a}from'@univerjs/sheets-ui';import{IMessageService as _0x772753,IConfirmService as _0x3054e7,useDependency as _0x227fbe,useObservable as _0x3034cd,IUIPartsService as _0x3c5126,BuiltInUIPart as _0x4b2a81,connectInjector as _0x114037,ISidebarService as _0x953851,ComponentManager as _0x5bf20e,IDialogService as _0x23b5b3}from'@univerjs/ui';function _0x1674(){const _0x20cd28=['xlink:href','setState','Loaded','PY_RUNTIME_SCRIPT_ERROR','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isArray','UNDEFINED','scrollEvent$','toString','mask','active','DeleteColumn','confirm','ZH_CN','historyPanelComponentKey','children','_sidebarService','action','_configService','tag','ViewHistory','APPLY_REVISION_CONFILICT','12FPoCHo','loadHistoryCreatorList','ENTITLE_NEED_BILLING_ADDRESS','RestoreIcon','_setFetching','triggerRevert','url(#$1','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_removeDiffMarks','dateString','restore-icon_clip0_1247_2','createUnit','_creators$','current','Info','editHistory.panel.title','loadMoreVersions','_commandService','endRow','subscribeEvent','filter','146637XxpZaB','mutations','_workbookDataCache','row','editHistory.info.loading','YUUMI_ASYNCIO_CANCELLED','View','SetColumnStyle','set','bottom','CreateSheet','rev','#0B9EFB','push','currentVersionDiff$','triggerLoadSheet','endRevision','InsertHyperlink','pipe','onSteady','userID','ensureVersion','InsertRow','creators','_config','Today','parse','ALREADY_EXISTS','string','unitId','button','_maskElement','setFilter','loaded','editHistory.panel.cancel','entities','_fetching$','white','addObjects','Character','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','clear','setCF','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','startColumn','dispose','currentSkeleton$','insertSheet','getVersion','editHistory.panel.currentUser','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','EditExtraObject','_createUnit','Init','DeleteRow','UNIVER_DOC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_canRevert','.univer-app-container-content','edit-history-viewer.config','_createMask','INVITE_CODE_REQUIRED','substring','random','color','ViewFilter','getAncestorScale','getUnitId','_versions$','triggerLoadVersions','USER_NOT_INVITED_CODE','displayName','name','InsertColumn','RenameSheet','_transformService','from','LICENSE_DISTRO_REJECTED','Edit','svg','registerComponent','init','univer-text-gray-500','style','INVALID_INVITE_CODE','subUnitId','toISOString','evenodd','fetchCreatorList','LoadingMultiIcon','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','disposeWithMe','Sort','editHistory.panel.confirm','http://www.w3.org/2000/svg','loadInitialVersions','_sheetPermissionInitController','canRevert','REDEMPTION_CODE_FULLY_REDEEMED','getOwnPropertyDescriptor','workbook','additionalFields','getCurrentLocale','editHistory.panel.revertDesc','806xrtyif','subType','INTERNAL_ERROR','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','SetCellValue','_diffs','defIds','_injector','getMinutes','concat','REDEMPTION_INVALID_CODE','INVITE_CODE_HAS_BEEN_UES','11xjTIZK','currentVersion','_currentVersion$','user','setValue','primary','SNAPSHOT_INVALID_SNAPSHOT','all','editHistory.header.revert','_hasMore','SetCellStyle','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','getCurrent','_members','value','_currentVersionDiff$','REDEMPTION_CODE_NOT_STARTED','has','params','_openPanel','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','insertChart','MoveSheet','_permissionService','_historyFetchService','APPLY_DUPLICATED','colorChannel1','WECHAT_HAS_BEEN_BOUND','split','LICENSE_IMPORT_SIZE_EXCEEDED','commands','_init','univer-overflow-hidden','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','historyListServerUrl','hideMask','body','_initPanel','1em','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','refreshRangeProtectPermission','YUUMI_RATE_OVER_LIMIT','createElement','Unspecified','currentColor','COMPLETION_FINISHED','_transformMutationByOrder','DATA_SOURCE_TOO_LARGE','command','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','HideSheet','editHistory.action.revertSheetSuffix','EMAIL_VERIFY_CODE_MISMATCH','_renderManagerService','editHistory.panel.unknownUser','Duplicate','editHistory.panel.currentVersion','userIds','getInterceptPoints','APPLY_REJECT','editHistory.action.','asObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_lastPointer','hidden','HEADER','none','FromArray','FloatImg','_univerInstanceService','className','_loadParams','state$','time','url(#restore-icon_clip0_1247_2)','back-icon','getDeserializedSheetBlock','defs','restore-icon','RenameWorksheet','2759480CoSoDU','onStarting','getHours','length','_historyContainerId','RecoverHistory','addSparkline','INVITE_CODE_ALREADY_BOUND','status$','now','_sidebarDisposable','YUUMI_AI_RUN_FAILED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','CreatePermissionObject','REDEMPTION_CODE_INACTIVE','Comment','ManageCollaborator','forEach','editHistory.panel.revertConfirmText','RwHgtClWdt','register','values','open','_status$','UNRECOGNIZED','querySelector','permissionPointUpdate$','_uiPartsService','get','YUUMI_CONNECTOR_URL_NOT_FOUND','CopySheet','5090112RXEnmf','LOGIN_TOKEN_PROCESSING_FAILED','Share','0\x200\x2016\x2017','fetching$','rgba(225,\x20225,\x20225,\x200.5)','entries','ENTITLE_CHAT_LIMIT_EXCEED','currentVersion$','UNIVER_UNKNOWN','rect','updatePermissionPoint','_context','getConfig','rgba(58,\x2096,\x20247,\x200.20)','sheet','symbol','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','makeDirty','syncExecuteCommand','UNIVER_SLIDE','getSeconds','padStart','_setVersions','USER_NOT_FOUND','/universer-api/history','ranges','history-panel','PivotTable','recoverTime','replace','next','getRelativeToViewportCoord','CONNECTOR_DATA_TOO_LARGE','CHANGESET_REVISION_CONFILICT','24VQwIlq','range','Loading','keys','_maskContainer','show','skeleton','_getActiveSubUnitId','TOO_MANY_REQUESTS','startRevision','35cJyFbQ','ENTITLE_DUP_SUBSCRIPTION','425875tKpgzf','anonymous','_historyManagerService','VIRTUAL_VERSION_NOW','date','UNIVER_SHEET','removeSheet','versions$','error','ENTITLE_COUPON_USED_UP','setConfig','left','entered','map','transformMutations','endColumn','lastLabel','Export','1544ZxxvXV','setDV','SelectProtectedCells','univer-flex\x20univer-items-center\x20univer-justify-center','_messageService','forValue','interceptor','history-mask','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','Filter','univer-m-auto\x20univer-animate-spin','USER_IS_ANONYMOUS','YUUMI_SUBSCRIPTION_NOT_FOUND','_initActiveSwitch','YUUMI_ALL_TABLES_IS_INVALID','cellValue','_unitId$','justifyContent','editHistory.action.etc','/creators','_loadingState$','endRev','UniverIcon','MOBILE_VERIFY_CODE_MISMATCH','code','_combineRanges','CreateWorksheet','_versionDiffService','closeAll','close','_updateDiffMarks','_localeService','loadingState','subscribe','getUnitOnRev','REDEMPTION_USER_NOT_ELIGIBLE','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','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','assign','unitId$','LICENSE_EXPORT_SIZE_EXCEEDED','ERROR_AGAIN','2351616nasfQg','loading','_getAPIPrefix','_snapshotServerService','HideWorksheet','getVersions','ENTITLE_REPORT_LIMIT_EXCEED','_getRangesByMutation','APPLY_PERMISSION_DENIED','_sheetSkeletonManagerService','getElementById','div','100%','APPLY_NON_SEQUENTIAL_REVISION','then','_extractRanges','rules','MoveWorksheet','EditWorksheetCell','startRow','backgroundColor','LOGIN_FAILED','idSuffix','block','_getSheetObject','_lastLabel','fill','onMouseMove','DeleteWorksheet','History','AUTHORIZE_CODE_ILLEGAL','createTime','UNAUTHENTICATED','editHistory.action.revertSheetPrefix','path','top','hasCommand','defineProperty','onRendered','display','VIEW_MAIN','loadingState$','changesets','span','Print','disposeUnit','flat','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentUnitForType','ENTITLE_COUPON_EXPIRED','executeCommand','Error','Exited','COMPRESS_MUTATION_APPLY','CURRENT_STATUS_CANNOT_OPERATE','_cellEditorManagerService','merge','createSheet','YUUMI_TABLE_NOT_FOUND_IN_UNIT','m1Prime','status','MOBILE_HAS_BEEN_BOUND','loadSheet','YUUMI_UNABLE_LOAD_URL','94746HJbIPs','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','includes','creators$','_diffRangesMap','height','rule','ENTITLE_INSUFFICIENT_QUOTA','REDEMPTION_CODE_HAS_BEEN_CREATED','SetRowStyle','getCellPositionByOffset',':\x20(','_revertRevision$','add','univerjs-icon\x20univerjs-icon-','getMember','getDialogs$','userId','attrs','ENSURE_SNAPSHOT_EXECUTION','absolute','getDataRange','flex','some','setFrozen','versions','_componentManager','center','deleteProtection','ViemRwHgtClWdt','_updateVersions','User','find','getViewport','use','onPointerMove$','registerRenderModule','PAYMENT_CHANNEL_NOT_SUPPORT','reduce','EMAIL_HAS_BEEN_BOUND','_compressMutationService','_httpService','_dialogOptions$','PERMISSION_DENIED','[HistoryFetchService]:\x20request\x20snapshot\x20error!','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'];_0x1674=function(){return _0x20cd28;};return _0x1674();}import{MessageType as _0x516d63,clsx as _0x14a984,Button as _0x2c6da4,borderBottomClassName as _0x5929e3,Tooltip as _0x4e501a}from'@univerjs/design';import{InsertSheetMutation as _0x4f0b97,RemoveSheetMutation as _0x67a2d3,SetFrozenMutation as _0x7a642a,AddWorksheetProtectionMutation as _0x23d47f,AddRangeProtectionMutation as _0x41a873,DeleteRangeProtectionMutation as _0x365cb1,DeleteWorksheetProtectionMutation as _0x84203d,SheetPermissionInitController as _0x143df3,WorkbookEditablePermission as _0x12f330,WorkbookRenameSheetPermission as _0x1683da,WorkbookMoveSheetPermission as _0x6c225,WorkbookHideSheetPermission as _0x825947,SetWorksheetHideMutation as _0xd3ab95,SetRangeValuesMutation as _0x5245fe,SetRangeProtectionMutation as _0x4aa438,ReorderRangeMutation as _0x55ca8a,RemoveNumfmtMutation as _0x1ce3eb,SetNumfmtMutation as _0xeaa6f2,MoveColsMutation as _0x39db67,MoveRowsMutation as _0x1367ac,MoveRangeMutation as _0x32e811,InsertColMutation as _0x1b834d,InsertRowMutation as _0x1bd54d,AddWorksheetMergeMutation as _0x170777,RangeMergeUtil as _0x204759,findAllRectangle as _0x4c89f0,SetWorksheetActiveOperation as _0x1fc37f}from'@univerjs/sheets';import{BehaviorSubject as _0x111258,combineLatest as _0x54f528,switchMap as _0x5a0c85,map as _0x5648d5,of as _0x75fb42,debounceTime as _0x5024e7,Subject as _0x4dccb1}from'rxjs';import{InsertSheetsChartMutation as _0xa85dbe}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0x7923be}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x3963cd,UpdateDataValidationMutation as _0x5d20fe}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x5592e,AddConditionalRuleMutation as _0x2fddcf}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x1becce}from'@univerjs/sheets-filter';import{jsxs as _0x25878c,jsx as _0x57a298}from'react/jsx-runtime';import{useRef as _0x16f2d6,createElement as _0x7a7dd4,forwardRef as _0x57d6d3,useCallback as _0x22a744,useState as _0x431c73,Fragment as _0x481046}from'react';import{SheetCollabCursorShape as _0x546122}from'@univerjs-pro/collaboration-client-ui';const ne=_0x984091(0x2a0),he={};var is=Object[_0x984091(0xde)],ns=(_0x39cd8d,_0x54a5e8,_0x3de135,_0x514dbf)=>{const _0xf12f09=_0x984091;for(var _0x7569ff=_0x514dbf>0x1?void 0x0:_0x514dbf?is(_0x54a5e8,_0x3de135):_0x54a5e8,_0x344f96=_0x39cd8d[_0xf12f09(0x143)]-0x1,_0x520869;_0x344f96>=0x0;_0x344f96--)(_0x520869=_0x39cd8d[_0x344f96])&&(_0x7569ff=_0x520869(_0x7569ff)||_0x7569ff);return _0x7569ff;},rs=(_0x4fd495,_0x16ba55)=>(_0x547f59,_0x116aac)=>_0x16ba55(_0x547f59,_0x116aac,_0x4fd495);let A=class extends _0x866ab8{constructor(_0x4111c9){const _0x12c938=_0x984091;super(),this[_0x12c938(0x202)]=_0x4111c9,this[_0x12c938(0x10e)]();}['_init'](){const _0x17d95f=_0x984091;this[_0x17d95f(0xd6)](this[_0x17d95f(0x202)][_0x17d95f(0x138)][_0x17d95f(0x1c1)](_0x3fc779=>{const _0x14c284=_0x17d95f;_0x3fc779!=null&&_0x3fc779[_0x14c284(0x187)]&&this[_0x14c284(0x202)][_0x14c284(0x23a)]({'show':!0x1});}));}};A=ns([rs(0x0,_0x132d8c)],A);var U=(_0x297f26=>(_0x297f26[_0x297f26[_0x984091(0x240)]=0x0]=_0x984091(0x240),_0x297f26[_0x297f26['OK']=0x1]='OK',_0x297f26[_0x297f26[_0x984091(0xe5)]=0x2]=_0x984091(0xe5),_0x297f26[_0x297f26['PERMISSION_DENIED']=0x3]=_0x984091(0x236),_0x297f26[_0x297f26['NOT_FOUND']=0x4]='NOT_FOUND',_0x297f26[_0x297f26[_0x984091(0x1eb)]=0x5]='UNAUTHENTICATED',_0x297f26[_0x297f26['ALREADY_EXISTS']=0x6]=_0x984091(0x280),_0x297f26[_0x297f26['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x297f26[_0x297f26['TOO_MANY_REQUESTS']=0x8]=_0x984091(0x18a),_0x297f26[_0x297f26[_0x984091(0x11d)]=0x9]=_0x984091(0x11d),_0x297f26[_0x297f26[_0x984091(0x1e0)]=0xa]='LOGIN_FAILED',_0x297f26[_0x297f26[_0x984091(0x1b7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x297f26[_0x297f26[_0x984091(0x1c5)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x297f26[_0x297f26[_0x984091(0x124)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x297f26[_0x297f26['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x297f26[_0x297f26[_0x984091(0x1e9)]=0xf]=_0x984091(0x1e9),_0x297f26[_0x297f26[_0x984091(0x160)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x297f26[_0x297f26[_0x984091(0x201)]=0x64]=_0x984091(0x201),_0x297f26[_0x297f26['ERROR_AGAIN']=0x65]=_0x984091(0x1ca),_0x297f26[_0x297f26[_0x984091(0x177)]=0xc9]='USER_NOT_FOUND',_0x297f26[_0x297f26[_0x984091(0x1ab)]=0xca]='USER_IS_ANONYMOUS',_0x297f26[_0x297f26[_0x984091(0x181)]=0x1389]=_0x984091(0x181),_0x297f26[_0x297f26[_0x984091(0xf5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x297f26[_0x297f26[_0x984091(0x1fa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x297f26[_0x297f26[_0x984091(0x21e)]=0x1773]=_0x984091(0x21e),_0x297f26[_0x297f26[_0x984091(0x12b)]=0x1b59]='APPLY_REJECT',_0x297f26[_0x297f26[_0x984091(0x1d8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x297f26[_0x297f26[_0x984091(0x24f)]=0x1b5b]=_0x984091(0x24f),_0x297f26[_0x297f26[_0x984091(0x1d3)]=0x1b5c]=_0x984091(0x1d3),_0x297f26[_0x297f26['APPLY_DUPLICATED']=0x1b5d]=_0x984091(0x108),_0x297f26[_0x297f26[_0x984091(0x180)]=0x1f41]=_0x984091(0x180),_0x297f26[_0x297f26['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x297f26[_0x297f26[_0x984091(0x29d)]=0x232a]=_0x984091(0x29d),_0x297f26[_0x297f26[_0x984091(0x10c)]=0x232b]=_0x984091(0x10c),_0x297f26[_0x297f26[_0x984091(0x1c9)]=0x232c]=_0x984091(0x1c9),_0x297f26[_0x297f26[_0x984091(0xc8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x297f26[_0x297f26[_0x984091(0x20a)]=0x2711]=_0x984091(0x20a),_0x297f26[_0x297f26['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x297f26[_0x297f26[_0x984091(0x119)]=0x2713]=_0x984091(0x119),_0x297f26[_0x297f26[_0x984091(0x1ac)]=0x2714]=_0x984091(0x1ac),_0x297f26[_0x297f26[_0x984091(0x116)]=0x271a]=_0x984091(0x116),_0x297f26[_0x297f26[_0x984091(0x26a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x297f26[_0x297f26[_0x984091(0x205)]=0x271c]=_0x984091(0x205),_0x297f26[_0x297f26[_0x984091(0x1ae)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x297f26[_0x297f26[_0x984091(0x23e)]=0x271e]=_0x984091(0x23e),_0x297f26[_0x297f26[_0x984091(0x14b)]=0x271f]=_0x984091(0x14b),_0x297f26[_0x297f26[_0x984091(0x15d)]=0x2720]=_0x984091(0x15d),_0x297f26[_0x297f26['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x984091(0x23c),_0x297f26[_0x297f26[_0x984091(0xee)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x297f26[_0x297f26[_0x984091(0xcf)]=0x2ee2]='INVALID_INVITE_CODE',_0x297f26[_0x297f26[_0x984091(0xb8)]=0x2ee3]=_0x984091(0xb8),_0x297f26[_0x297f26[_0x984091(0xc1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x297f26[_0x297f26[_0x984091(0x147)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x297f26[_0x297f26[_0x984091(0x10a)]=0x32c9]=_0x984091(0x10a),_0x297f26[_0x297f26[_0x984091(0x208)]=0x32ca]=_0x984091(0x208),_0x297f26[_0x297f26[_0x984091(0x232)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x297f26[_0x297f26['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x984091(0x257),_0x297f26[_0x297f26[_0x984091(0x170)]=0x36b2]=_0x984091(0x170),_0x297f26[_0x297f26[_0x984091(0x18d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x297f26[_0x297f26[_0x984091(0x230)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x297f26[_0x297f26['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x297f26[_0x297f26[_0x984091(0x1fc)]=0x36b6]=_0x984091(0x1fc),_0x297f26[_0x297f26[_0x984091(0x197)]=0x36b7]=_0x984091(0x197),_0x297f26[_0x297f26[_0x984091(0x14c)]=0x36b8]=_0x984091(0x14c),_0x297f26[_0x297f26[_0x984091(0x166)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x297f26[_0x297f26[_0x984091(0x1d1)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x297f26[_0x297f26[_0x984091(0x212)]=0x3717]=_0x984091(0x212),_0x297f26[_0x297f26[_0x984091(0x252)]=0x37dd]=_0x984091(0x252),_0x297f26[_0x297f26[_0x984091(0xed)]=0x3a99]=_0x984091(0xed),_0x297f26[_0x297f26[_0x984091(0x14e)]=0x3a9a]=_0x984091(0x14e),_0x297f26[_0x297f26[_0x984091(0xdd)]=0x3a9b]=_0x984091(0xdd),_0x297f26[_0x297f26[_0x984091(0xff)]=0x3a9c]=_0x984091(0xff),_0x297f26[_0x297f26[_0x984091(0x1c3)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x297f26[_0x297f26[_0x984091(0x12e)]=0x3a9e]=_0x984091(0x12e),_0x297f26[_0x297f26[_0x984091(0x213)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x297f26[_0x297f26['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x984091(0x11f),_0x297f26[_0x297f26['UNRECOGNIZED']=-0x1]=_0x984091(0x158),_0x297f26))(U||{}),H=(_0x5b730a=>(_0x5b730a[_0x5b730a[_0x984091(0x168)]=0x0]=_0x984091(0x168),_0x5b730a[_0x5b730a[_0x984091(0x29c)]=0x1]=_0x984091(0x29c),_0x5b730a[_0x5b730a[_0x984091(0x193)]=0x2]=_0x984091(0x193),_0x5b730a[_0x5b730a[_0x984091(0x173)]=0x3]=_0x984091(0x173),_0x5b730a[_0x5b730a['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5b730a[_0x5b730a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5b730a))(H||{}),D=(_0x4a4082=>(_0x4a4082[_0x4a4082[_0x984091(0x26b)]=0x0]='View',_0x4a4082[_0x4a4082[_0x984091(0xc9)]=0x1]=_0x984091(0xc9),_0x4a4082[_0x4a4082[_0x984091(0x150)]=0x2]=_0x984091(0x150),_0x4a4082[_0x4a4082['Print']=0x3]=_0x984091(0x1f7),_0x4a4082[_0x4a4082[_0x984091(0x127)]=0x4]=_0x984091(0x127),_0x4a4082[_0x4a4082[_0x984091(0x14f)]=0x5]=_0x984091(0x14f),_0x4a4082[_0x4a4082['Copy']=0x6]='Copy',_0x4a4082[_0x4a4082[_0x984091(0x161)]=0x7]=_0x984091(0x161),_0x4a4082[_0x4a4082[_0x984091(0x19f)]=0x8]='Export',_0x4a4082[_0x4a4082[_0x984091(0x1dc)]=0x9]=_0x984091(0x1dc),_0x4a4082[_0x4a4082[_0x984091(0x1e7)]=0xa]=_0x984091(0x1e7),_0x4a4082[_0x4a4082[_0x984091(0x1cf)]=0xb]=_0x984091(0x1cf),_0x4a4082[_0x4a4082[_0x984091(0x13f)]=0xc]=_0x984091(0x13f),_0x4a4082[_0x4a4082[_0x984091(0x1ba)]=0xd]='CreateWorksheet',_0x4a4082[_0x4a4082['SetWorksheetStyle']=0xe]='SetWorksheetStyle',_0x4a4082[_0x4a4082[_0x984091(0x1dd)]=0xf]=_0x984091(0x1dd),_0x4a4082[_0x4a4082[_0x984091(0x276)]=0x10]=_0x984091(0x276),_0x4a4082[_0x4a4082[_0x984091(0xd7)]=0x11]=_0x984091(0xd7),_0x4a4082[_0x4a4082[_0x984091(0x1a9)]=0x12]=_0x984091(0x1a9),_0x4a4082[_0x4a4082[_0x984091(0x17b)]=0x13]=_0x984091(0x17b),_0x4a4082[_0x4a4082[_0x984091(0x134)]=0x14]=_0x984091(0x134),_0x4a4082[_0x4a4082[_0x984091(0x1e8)]=0x15]=_0x984091(0x1e8),_0x4a4082[_0x4a4082[_0x984091(0x153)]=0x16]=_0x984091(0x153),_0x4a4082[_0x4a4082['ViemRwHgtClWdt']=0x17]=_0x984091(0x228),_0x4a4082[_0x4a4082[_0x984091(0xbc)]=0x18]=_0x984091(0xbc),_0x4a4082[_0x4a4082[_0x984091(0x105)]=0x19]=_0x984091(0x105),_0x4a4082[_0x4a4082['DeleteSheet']=0x1a]='DeleteSheet',_0x4a4082[_0x4a4082[_0x984091(0x122)]=0x1b]=_0x984091(0x122),_0x4a4082[_0x4a4082[_0x984091(0x15e)]=0x1c]=_0x984091(0x15e),_0x4a4082[_0x4a4082[_0x984091(0xc5)]=0x1d]='RenameSheet',_0x4a4082[_0x4a4082[_0x984091(0x26f)]=0x1e]=_0x984091(0x26f),_0x4a4082[_0x4a4082['SelectProtectedCells']=0x1f]=_0x984091(0x1a2),_0x4a4082[_0x4a4082['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x4a4082[_0x4a4082[_0x984091(0xf9)]=0x21]='SetCellStyle',_0x4a4082[_0x4a4082[_0x984091(0xe7)]=0x22]=_0x984091(0xe7),_0x4a4082[_0x4a4082['SetRowStyle']=0x23]=_0x984091(0x214),_0x4a4082[_0x4a4082[_0x984091(0x26c)]=0x24]='SetColumnStyle',_0x4a4082[_0x4a4082[_0x984091(0x27b)]=0x25]='InsertRow',_0x4a4082[_0x4a4082[_0x984091(0xc4)]=0x26]=_0x984091(0xc4),_0x4a4082[_0x4a4082[_0x984091(0x29b)]=0x27]='DeleteRow',_0x4a4082[_0x4a4082['DeleteColumn']=0x28]=_0x984091(0x245),_0x4a4082[_0x4a4082[_0x984091(0x298)]=0x29]=_0x984091(0x298),_0x4a4082[_0x4a4082['Delete']=0x2a]='Delete',_0x4a4082[_0x4a4082[_0x984091(0x145)]=0x2b]='RecoverHistory',_0x4a4082[_0x4a4082[_0x984091(0x24e)]=0x2c]=_0x984091(0x24e),_0x4a4082[_0x4a4082[_0x984091(0x14d)]=0x2d]=_0x984091(0x14d),_0x4a4082[_0x4a4082['UNRECOGNIZED']=-0x1]=_0x984091(0x158),_0x4a4082))(D||{});function as(_0xd88950){const _0x25eeaf=_0x984091;return!!(_0xd88950&&_0xd88950['code']&&_0xd88950[_0x25eeaf(0x1b8)]!==U['OK']&&_0xd88950['code']!=='OK');}const re=(_0x137619,_0x58918f)=>{const _0x4751aa=_0x984091;if(!_0x137619)return{'date':'','time':''};const _0x3fac59=new Date(_0x137619),_0x7b7f90=_0x3fac59['toISOString']()[_0x4751aa(0x10b)]('T')[0x0];switch(_0x58918f){case _0x3f4285[_0x4751aa(0x247)]:return{'date':J(_0x7b7f90,_0x58918f),'time':_0x3fac59[_0x4751aa(0x142)]()+':'+String(_0x3fac59['getMinutes']())[_0x4751aa(0x175)](0x2,'0')+':'+String(_0x3fac59['getSeconds']())[_0x4751aa(0x175)](0x2,'0')};default:return{'date':J(_0x7b7f90,_0x58918f),'time':_0x3fac59[_0x4751aa(0x142)]()+':'+_0x3fac59[_0x4751aa(0xeb)]()+':'+_0x3fac59[_0x4751aa(0x174)]()};}},os=(_0x21b57d,_0x2410b1)=>{const _0x361172=_0x984091,_0x267f63=_0x21b57d[_0x361172(0xf2)]||_0x2410b1['t'](_0x361172(0x126));if(_0x21b57d['commands'][_0x361172(0x222)](_0x1957fd=>_0x1957fd===_0x301f35['id'])&&_0x21b57d['recoverTime']){const _0x470e4f=re(_0x21b57d[_0x361172(0x17c)],_0x2410b1[_0x361172(0xe1)]()),_0xb708c6=_0x470e4f['date']+'\x20'+_0x470e4f[_0x361172(0x139)];return _0x267f63+'\x20'+_0x2410b1['t'](_0x361172(0x1ec))+'\x20'+_0xb708c6+'\x20'+_0x2410b1['t'](_0x361172(0x123));}const _0xe324d5=cs(_0x21b57d),_0x417a5c=_0xe324d5[_0x361172(0x143)]===0x1?_0x2410b1['t'](_0xe324d5[0x0]):''+_0x2410b1['t'](_0xe324d5[0x0])+_0x2410b1['t'](_0x361172(0x1b2));return _0x267f63+'\x20'+_0x417a5c;};function cs(_0x223269){const _0x225f5a=_0x984091;if(_0x223269[_0x225f5a(0x10d)][_0x225f5a(0x143)]===0x0)return[''];const _0x35874f=_0x225f5a(0x12c),_0x500365=_0x35874f+'editSheet',_0x181f0c=[{'id':_0x313504['id'],'action':_0x35874f+_0x225f5a(0x204)},{'id':_0x301f35['id'],'action':_0x35874f+'revertSheet'},{'id':_0x4f0b97['id'],'action':_0x35874f+_0x225f5a(0x294)},{'id':_0x67a2d3['id'],'action':_0x35874f+_0x225f5a(0x194)},{'id':_0x7a642a['id'],'action':_0x35874f+_0x225f5a(0x223)},{'id':_0x1becce['id'],'action':_0x35874f+_0x225f5a(0x285)},{'id':_0x3963cd['id'],'action':_0x35874f+_0x225f5a(0x1a1)},{'id':_0x5d20fe['id'],'action':_0x35874f+_0x225f5a(0x1a1)},{'id':_0x5592e['id'],'action':_0x35874f+_0x225f5a(0x28f)},{'id':_0x2fddcf['id'],'action':_0x35874f+'setCF'},{'id':_0x23d47f['id'],'action':_0x35874f+'addProtection'},{'id':_0x41a873['id'],'action':_0x35874f+'addProtection'},{'id':_0x7923be['id'],'action':_0x35874f+_0x225f5a(0x146)},{'id':_0xa85dbe['id'],'action':_0x35874f+_0x225f5a(0x104)},{'id':_0x365cb1['id'],'action':_0x35874f+'deleteProtection'},{'id':_0x84203d['id'],'action':_0x35874f+_0x225f5a(0x227)}][_0x225f5a(0x264)](_0x483e7a=>_0x223269[_0x225f5a(0x10d)][_0x225f5a(0x20d)](_0x483e7a['id']));return _0x181f0c!=null&&_0x181f0c[_0x225f5a(0x143)]?_0x181f0c['map'](_0x534136=>_0x534136[_0x225f5a(0x24b)]):[_0x500365];}function J(_0xca44de,_0x1a417d){const _0x56efaa=_0x984091,[_0x417f9e,_0x3788c3,_0x370ecb]=new Date()[_0x56efaa(0xd1)]()[_0x56efaa(0x10b)]('T')[0x0]['split']('-'),[_0x2e25d0,_0x46a920,_0x5b1521]=_0xca44de[_0x56efaa(0x10b)]('-'),_0x1dac48=_0x417f9e===_0x2e25d0&&_0x3788c3===_0x46a920&&_0x370ecb===_0x5b1521;let _0x26b5fd='',_0x3a9efa='',_0x1eef32='';switch(_0x1a417d){case _0x3f4285['ZH_CN']:return _0x1dac48?'今天':(_0x26b5fd=_0x417f9e===_0x2e25d0?'':_0x2e25d0+'年',_0x3a9efa=_0x46a920+'月',_0x1eef32=_0x5b1521+'日',''+_0x26b5fd+_0x3a9efa+_0x1eef32);default:return _0x1dac48?_0x56efaa(0x27e):(_0x26b5fd=_0x417f9e===_0x2e25d0?'':_0x2e25d0+'-',_0x3a9efa=_0x46a920+'-',_0x1eef32=''+_0x5b1521,''+_0x26b5fd+_0x3a9efa+_0x1eef32);}}function _s(_0x397055){const _0x4a5cf=_0x984091;return _0x397055?_0x397055[_0x4a5cf(0x231)]((_0x4fce42,_0xc3fa60)=>{const _0xc5a7b9=_0x4a5cf,_0x3338a8=new Date(_0xc3fa60[_0xc5a7b9(0x139)])['toISOString']()[_0xc5a7b9(0x10b)]('T')[0x0];return _0x4fce42[_0xc5a7b9(0x143)]>0x0&&_0x4fce42[_0x4fce42[_0xc5a7b9(0x143)]-0x1][_0xc5a7b9(0x259)]===_0x3338a8?_0x4fce42[_0x4fce42['length']-0x1][_0xc5a7b9(0x224)]['push'](_0xc3fa60):_0x4fce42['push']({'dateString':_0x3338a8,'versions':[_0xc3fa60]}),_0x4fce42;},[]):[];}var ls=Object[_0x984091(0xde)],us=(_0x1269d5,_0x5fdca4,_0xa446fc,_0x349400)=>{for(var _0x27a419=_0x349400>0x1?void 0x0:_0x349400?ls(_0x5fdca4,_0xa446fc):_0x5fdca4,_0x3c4016=_0x1269d5['length']-0x1,_0x2a1733;_0x3c4016>=0x0;_0x3c4016--)(_0x2a1733=_0x1269d5[_0x3c4016])&&(_0x27a419=_0x2a1733(_0x27a419)||_0x27a419);return _0x27a419;},T=(_0x45de8d,_0xb78a4e)=>(_0x5ea306,_0x6030eb)=>_0xb78a4e(_0x5ea306,_0x6030eb,_0x45de8d),hs=(_0x507b2d=>(_0x507b2d[_0x507b2d['Unspecified']=0x0]=_0x984091(0x11b),_0x507b2d[_0x507b2d['User']=0x1]=_0x984091(0x22a),_0x507b2d[_0x507b2d[_0x984091(0x28c)]=0x2]='Character',_0x507b2d))(hs||{});const Is=_0x984091(0x178);let F=class extends _0x866ab8{constructor(_0x15cf80,_0x83642b,_0x45ac74,_0x106831,_0x12ce21,_0xc10010,_0x3794eb){const _0x5e5f82=_0x984091;super(),l(this,_0x5e5f82(0x267),new Map()),(this['_snapshotServerService']=_0x15cf80,this[_0x5e5f82(0x135)]=_0x83642b,this['_commandService']=_0x45ac74,this[_0x5e5f82(0x24c)]=_0x106831,this['_httpService']=_0x12ce21,this[_0x5e5f82(0x233)]=_0xc10010,this[_0x5e5f82(0xdb)]=_0x3794eb);}['dispose'](){const _0x455c29=_0x984091;this[_0x455c29(0x267)][_0x455c29(0x28e)](),super[_0x455c29(0x292)]();}async[_0x984091(0xd3)](_0xd15990){const _0x436850=_0x984091;try{const _0x1aa776=(await this[_0x436850(0x234)]['get'](this[_0x436850(0x1cd)]()+'/'+_0xd15990+_0x436850(0x1b3)))[_0x436850(0x113)];if(_0x1aa776&&_0x1aa776[_0x436850(0x196)]&&_0x1aa776[_0x436850(0x196)]['code']===U['OK'])return _0x1aa776[_0x436850(0x27c)];}catch(_0xcab9a7){console[_0x436850(0x196)](_0xcab9a7);}return[];}async[_0x984091(0x1d0)](_0x5e21cf,_0x347baf){const _0x566a20=_0x984091,{userIds:_0x2acd25,lastLabel:_0x14e6fd,origin:_0x4454d6}=_0x347baf!=null?_0x347baf:{},_0x5514d5=new URLSearchParams();_0x5514d5[_0x566a20(0x26d)](_0x566a20(0x143),'20'),_0x14e6fd&&_0x5514d5[_0x566a20(0x26d)](_0x566a20(0x19e),_0x14e6fd),_0x2acd25==null||_0x2acd25[_0x566a20(0x151)](_0x502bf5=>{const _0x36a00a=_0x566a20;_0x5514d5['append'](_0x36a00a(0x129),_0x502bf5);}),_0x4454d6&&_0x5514d5[_0x566a20(0x26d)]('origin',_0x4454d6[_0x566a20(0x242)]());const _0x460a7b=this[_0x566a20(0x1cd)]()+'/'+_0x5e21cf+'/list?'+_0x5514d5['toString']();try{const _0x2148fb=(await this[_0x566a20(0x234)][_0x566a20(0x15c)](_0x460a7b))[_0x566a20(0x113)];if(_0x2148fb&&_0x2148fb['error']&&_0x2148fb[_0x566a20(0x196)][_0x566a20(0x1b8)]===U['OK']){const {hasMore:_0x4fab56,lastLabel:_0x4c4c09}=_0x2148fb,_0x347b39=ds(_0x2148fb),_0x2ad199=_0x2148fb[_0x566a20(0x288)]['users'];return{'hasMore':_0x4fab56,'lastLabel':_0x4c4c09,'versions':_0x347b39,'members':_0x2ad199};}}catch(_0x2f3604){console['error'](_0x2f3604);}return null;}[_0x984091(0x1cd)](){const _0x3881f2=_0x984091;var _0x1e57f1;const _0xd10ff2=this[_0x3881f2(0x24c)][_0x3881f2(0x16c)](ne);return(_0x1e57f1=_0xd10ff2==null?void 0x0:_0xd10ff2[_0x3881f2(0x111)])!=null?_0x1e57f1:Is;}async[_0x984091(0x209)](_0x49765a,_0x17c4fe,_0x14fd12){const _0x16371b=_0x984091;var _0x4dae5d,_0x1309e6;_0x14fd12===void 0x0&&(_0x14fd12={}),this[_0x16371b(0x267)]['has'](_0x49765a)||this['_workbookDataCache']['set'](_0x49765a,new Map());const {snapshot:_0x201874,changesets:_0x2f9e39,error:_0x3e5ec8}=await this[_0x16371b(0x1ce)][_0x16371b(0x1c2)](_0x14fd12,{'unitID':_0x49765a,'type':H[_0x16371b(0x193)],'revision':_0x17c4fe});if(as(_0x3e5ec8)||!_0x201874||!_0x201874[_0x16371b(0xdf)])throw new Error(_0x16371b(0x237));const _0xa15663=(_0x4dae5d=_0x2f9e39==null?void 0x0:_0x2f9e39['length'])!=null?_0x4dae5d:0x0;if(_0x17c4fe!==0x0&&_0x201874[_0x16371b(0x270)]+_0xa15663!==_0x17c4fe)throw new Error(_0x16371b(0x28d));const {workbook:_0x2389bb}=_0x201874,_0x4f5d9b=_0x2389bb['blockMeta']?Object[_0x16371b(0x165)](_0x2389bb['blockMeta'])[_0x16371b(0x19b)](([_0x59326f,_0x2b0e86])=>{const _0xfd440a=_0x16371b;var _0x114159,_0x2eefda;return(_0x2eefda=(_0x114159=_0x2b0e86['blocks'])==null?void 0x0:_0x114159[_0xfd440a(0x19b)](_0x67fd78=>_0x67fd78))!=null?_0x2eefda:[];})['flat']():[],_0x3e7ef1=(await Promise[_0x16371b(0xf6)](_0x4f5d9b['map'](_0x38780f=>this[_0x16371b(0x1ce)][_0x16371b(0x13c)](_0x14fd12,{'unitID':_0x49765a,'type':H['UNIVER_SHEET'],'blockID':_0x38780f})[_0x16371b(0x1d9)](_0x1368ff=>_0x1368ff[_0x16371b(0x1e2)]))))[_0x16371b(0x264)](_0x5696d0=>!!_0x5696d0),_0x3a75a7=await _0x55bf27(_0x201874,_0x3e7ef1,_0x14fd12);return(_0x1309e6=this['_workbookDataCache'][_0x16371b(0x15c)](_0x49765a))==null||_0x1309e6['set'](_0x17c4fe,{'workbook':_0x3a75a7}),new Promise(_0x38aaf9=>{const _0x332d2e=_0x16371b,_0x522a88=this['_univerInstanceService'][_0x332d2e(0x1fb)](_0x168ac5[_0x332d2e(0x193)]);_0x522a88?(this['_univerInstanceService'][_0x332d2e(0x1f8)](_0x522a88[_0x332d2e(0xbe)]()),setTimeout(()=>{const _0x387a38=_0x332d2e;this[_0x387a38(0x299)](_0x3a75a7,_0x2f9e39),this[_0x387a38(0xdb)][_0x387a38(0x118)](),_0x38aaf9(!0x0);},0x0)):(this[_0x332d2e(0x299)](_0x3a75a7,_0x2f9e39),_0x38aaf9(!0x0));});}[_0x984091(0x299)](_0x49c696,_0x1dda67){const _0x47b7f2=_0x984091,_0x41d4ff=this['_univerInstanceService'][_0x47b7f2(0x25b)](_0x168ac5[_0x47b7f2(0x193)],_0x49c696);this[_0x47b7f2(0x135)]['focusUnit'](_0x41d4ff[_0x47b7f2(0xbe)]());const _0x5875e7=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x47b7f2(0x233)][_0x47b7f2(0x1a6)][_0x47b7f2(0x12a)]()[_0x47b7f2(0x200)]);return _0x1dda67==null||_0x1dda67['forEach'](_0x11db9d=>{const _0xdd8802=_0x47b7f2,_0x1861e6=_0x11db9d['mutations'][_0xdd8802(0x19b)](_0x45ed1e=>({'id':_0x45ed1e['id'],'params':JSON[_0xdd8802(0x27f)](_0x45ed1e['data'])}));({..._0x11db9d,'mutations':_0x5875e7(_0x1861e6,null)||_0x1861e6}[_0xdd8802(0x266)][_0xdd8802(0x151)](_0x1a7c36=>{const _0x12a3f0=_0xdd8802;this['_commandService'][_0x12a3f0(0x1ef)](_0x1a7c36['id'])&&this[_0x12a3f0(0x261)][_0x12a3f0(0x172)](_0x1a7c36['id'],_0x1a7c36[_0x12a3f0(0x101)]);}));}),_0x41d4ff;}};F=us([T(0x0,_0x214809),T(0x1,_0x3b6e00),T(0x2,_0x590770),T(0x3,_0x3e44e8),T(0x4,_0x2bf91e(_0x10ab42)),T(0x5,_0x2bf91e(_0x5ceea2)),T(0x6,_0x2bf91e(_0x143df3))],F);function ds(_0x2ff162){const _0x5023b8=_0x984091;var _0x1e8971,_0x298ff3;const _0x10e32=[],{entities:_0x5331f8,historyIds:_0x31bd33}=_0x2ff162,{datas:_0x328f54,users:_0x118595}=_0x5331f8;for(const _0x36311e of _0x31bd33){const _0x5ed08a=_0x328f54[_0x36311e];if(_0x5ed08a){const _0x6d5413=!!((_0x1e8971=_0x118595[_0x5ed08a[_0x5023b8(0x21c)]])!=null&&_0x1e8971[_0x5023b8(0x18f)]);_0x10e32[_0x5023b8(0x272)]({'unitId':_0x5ed08a['unitId'],'user':_0x6d5413?'':((_0x298ff3=_0x118595==null?void 0x0:_0x118595[_0x5ed08a[_0x5023b8(0x21c)]])==null?void 0x0:_0x298ff3[_0x5023b8(0xc3)])||'','isAnonymous':_0x6d5413,'id':_0x36311e,'time':_0x5ed08a[_0x5023b8(0x1ea)]?Number(_0x5ed08a[_0x5023b8(0x1ea)]):void 0x0,'commands':_0x5ed08a[_0x5023b8(0x120)],'startRev':Number(_0x5ed08a[_0x5023b8(0x18b)]),'endRev':Number(_0x5ed08a[_0x5023b8(0x275)]),'recoverTime':_0x5ed08a['recoverTime']?Number(_0x5ed08a[_0x5023b8(0x17c)]):void 0x0,'additionalFields':_0x5ed08a[_0x5023b8(0xe0)]});}}return _0x10e32;}var vs=Object[_0x984091(0xde)],Es=(_0xb8cb48,_0x1f1a72,_0xeb396f,_0xf8eb6c)=>{const _0x513cf7=_0x984091;for(var _0x2e415c=_0xf8eb6c>0x1?void 0x0:_0xf8eb6c?vs(_0x1f1a72,_0xeb396f):_0x1f1a72,_0xf4c1e4=_0xb8cb48[_0x513cf7(0x143)]-0x1,_0x2e3d7f;_0xf4c1e4>=0x0;_0xf4c1e4--)(_0x2e3d7f=_0xb8cb48[_0xf4c1e4])&&(_0x2e415c=_0x2e3d7f(_0x2e415c)||_0x2e415c);return _0x2e415c;},V=(_0x3b8809,_0x46844d)=>(_0x53f9cb,_0x2934ab)=>_0x46844d(_0x53f9cb,_0x2934ab,_0x3b8809),ae=(_0x1b9fec=>(_0x1b9fec['Entered']=_0x984091(0x19a),_0x1b9fec[_0x984091(0x1ff)]='exited',_0x1b9fec['Error']=_0x984091(0x196),_0x1b9fec))(ae||{}),C=(_0x132f5b=>(_0x132f5b[_0x984091(0x29a)]=_0x984091(0xcc),_0x132f5b[_0x984091(0x184)]=_0x984091(0x1cc),_0x132f5b[_0x984091(0x23b)]=_0x984091(0x286),_0x132f5b))(C||{});const Ss=_0x984091(0x191);let g=class extends _0x866ab8{constructor(_0xc2c10c,_0xe59201,_0x1bf440,_0xe74d13){const _0x3dfc5b=_0x984091;super(),l(this,_0x3dfc5b(0xbf),new _0x111258([])),l(this,_0x3dfc5b(0x195),this[_0x3dfc5b(0xbf)][_0x3dfc5b(0x12d)]()),l(this,'_currentVersion$',new _0x111258('')),l(this,'currentVersion$',this['_currentVersion$']['asObservable']()),l(this,'_status$',new _0x111258(_0x3dfc5b(0x19a))),l(this,_0x3dfc5b(0x148),this['_status$']['asObservable']()),l(this,_0x3dfc5b(0x217),new _0x111258(0x0)),l(this,'revertRevision$',this[_0x3dfc5b(0x217)][_0x3dfc5b(0x12d)]()),l(this,'_unitId$',new _0x111258('')),l(this,_0x3dfc5b(0x1c8),this['_unitId$'][_0x3dfc5b(0x12d)]()),l(this,_0x3dfc5b(0x289),new _0x111258(!0x1)),l(this,_0x3dfc5b(0x163),this[_0x3dfc5b(0x289)][_0x3dfc5b(0x12d)]()),l(this,_0x3dfc5b(0x25c),new _0x111258([])),l(this,_0x3dfc5b(0x20e),this['_creators$'][_0x3dfc5b(0x12d)]()),l(this,_0x3dfc5b(0x1b4),new _0x111258(_0x3dfc5b(0xcc))),l(this,_0x3dfc5b(0x1f4),this[_0x3dfc5b(0x1b4)][_0x3dfc5b(0x12d)]()),l(this,'_lastLabel',null),l(this,_0x3dfc5b(0xf8),!0x0),l(this,_0x3dfc5b(0xfc),new Map()),l(this,_0x3dfc5b(0x144)),l(this,_0x3dfc5b(0x186)),l(this,_0x3dfc5b(0x284)),l(this,'_canRevert',!0x1),l(this,_0x3dfc5b(0x137),null),(this[_0x3dfc5b(0x1a4)]=_0xc2c10c,this['_confirmService']=_0xe59201,this[_0x3dfc5b(0x1bf)]=_0x1bf440,this[_0x3dfc5b(0x107)]=_0xe74d13);}['_setFetching'](_0x1cd1dd){const _0x22f76f=_0x984091;this['_fetching$'][_0x22f76f(0x17e)](_0x1cd1dd);}get['fetching'](){const _0x23edef=_0x984091;return this[_0x23edef(0x289)][_0x23edef(0xfd)];}async[_0x984091(0xc0)](_0x564644,_0x1674aa,_0x5e58fa){const _0xee8cd9=_0x984091;this['_historyContainerId']=_0x1674aa,this[_0xee8cd9(0x29e)]=_0x5e58fa,await this[_0xee8cd9(0xda)](_0x564644);}async[_0x984091(0xda)](_0x1b920b,_0x221c1e){const _0x14af37=_0x984091;this['_unitId$'][_0x14af37(0x17e)](_0x1b920b),this[_0x14af37(0x137)]=_0x221c1e!=null?_0x221c1e:null,this[_0x14af37(0x254)](!0x0);const _0x1b910f=await this[_0x14af37(0x107)][_0x14af37(0x1d0)](_0x1b920b,_0x221c1e);if(this['_setFetching'](!0x1),_0x1b910f){const {versions:_0x4d5a01,lastLabel:_0x536a14,hasMore:_0x13bc1e,members:_0x594dc2}=_0x1b910f;_0x4d5a01[_0x14af37(0x143)]===0x0&&_0x4d5a01[_0x14af37(0x272)]({'unitId':_0x1b920b,'id':Ss,'startRev':0x1,'endRev':0x0,'time':Date[_0x14af37(0x149)](),'user':this[_0x14af37(0x1bf)]['t'](_0x14af37(0x296)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x4d5a01,_0x13bc1e,_0x536a14,!0x1,_0x594dc2),this[_0x14af37(0xf1)][_0x14af37(0x17e)](_0x4d5a01[0x0]['id']);}else this['_status$'][_0x14af37(0x17e)]('error');}async[_0x984091(0x260)](){const _0x50300a=_0x984091;if(!this[_0x50300a(0x1e4)]||!this[_0x50300a(0xf8)]||this['fetching'])return!0x1;this[_0x50300a(0x254)](!0x0);const _0x1fe2ec=await this[_0x50300a(0x107)][_0x50300a(0x1d0)](this[_0x50300a(0x282)],{'lastLabel':this[_0x50300a(0x1e4)],...this[_0x50300a(0x137)]});if(this[_0x50300a(0x254)](!0x1),_0x1fe2ec){const {versions:_0x514461,lastLabel:_0x3fb06f,hasMore:_0xeed5cd,members:_0x35db56}=_0x1fe2ec;this[_0x50300a(0x229)](_0x514461,_0xeed5cd,_0x3fb06f,!0x0,_0x35db56);}else this[_0x50300a(0x1a4)]['show']({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x516d63[_0x50300a(0x1fe)],'duration':0xbb8});return!0x0;}async[_0x984091(0x251)](){const _0x1848c2=_0x984091,{unitId:_0x3eee60}=this;if(!_0x3eee60)return;const _0x3d3002=await this['_historyFetchService'][_0x1848c2(0xd3)](_0x3eee60);_0x3d3002&&this[_0x1848c2(0x25c)][_0x1848c2(0x17e)](_0x3d3002);}async['triggerLoadSheet'](_0x207272){const _0x32c0cc=_0x984091;var _0x2a0d91;const _0x4954a1=(_0x2a0d91=this[_0x32c0cc(0xbf)]['value'])==null?void 0x0:_0x2a0d91['find'](_0x90dcc2=>_0x90dcc2['id']===_0x207272),{endRev:_0x5b3414}=_0x4954a1||{};_0x5b3414||_0x5b3414===0x0?(this[_0x32c0cc(0x1b4)][_0x32c0cc(0x17e)](_0x32c0cc(0x1cc)),await this[_0x32c0cc(0x107)][_0x32c0cc(0x209)](this['unitId'],_0x5b3414),this[_0x32c0cc(0x1b4)][_0x32c0cc(0x17e)]('loaded')):this[_0x32c0cc(0x157)][_0x32c0cc(0x17e)](_0x32c0cc(0x196));}async['triggerRevert'](_0x3824f3){const _0x251709=_0x984091,_0x9d1a19=_0x3824f3?this[_0x251709(0x295)](_0x3824f3):this['getCurrentVersion']();if(!_0x9d1a19)return;const _0x29e6b5=_0x9d1a19[_0x251709(0x1b5)],_0x55a948=re(_0x9d1a19[_0x251709(0x139)],this['_localeService'][_0x251709(0xe1)]());await this['_confirmService'][_0x251709(0x246)]({'id':'confirm-revert-revision','title':{'title':this[_0x251709(0x1bf)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x251709(0x1bf)]['t'](_0x251709(0x152))+_0x251709(0x216)+_0x55a948[_0x251709(0x192)]+'\x20'+_0x55a948['time']+')'},'cancelText':this[_0x251709(0x1bf)]['t'](_0x251709(0x287)),'confirmText':this[_0x251709(0x1bf)]['t'](_0x251709(0xd8))})&&this['_revertRevision$'][_0x251709(0x17e)](_0x29e6b5);}[_0x984091(0x229)](_0x4484bf,_0x34a6ef,_0x4c5b5e,_0x15111f,_0x9bf750){const _0x7e7ab4=_0x984091;this[_0x7e7ab4(0x176)](_0x15111f?this[_0x7e7ab4(0xbf)][_0x7e7ab4(0xfd)][_0x7e7ab4(0xec)](_0x4484bf):_0x4484bf),this[_0x7e7ab4(0xf8)]=_0x34a6ef,this[_0x7e7ab4(0x1e4)]=_0x4c5b5e,_0x9bf750&&Object[_0x7e7ab4(0x185)](_0x9bf750)[_0x7e7ab4(0x151)](_0x589f6d=>this['_members'][_0x7e7ab4(0x26d)](_0x589f6d,_0x9bf750[_0x589f6d]));}['getCurrentVersion'](){const _0x161175=_0x984091;return this[_0x161175(0x295)](this[_0x161175(0xf1)]['value']);}[_0x984091(0x176)](_0xa6be9f){const _0x3bd1f6=_0x984091;this[_0x3bd1f6(0xbf)][_0x3bd1f6(0x17e)](_0xa6be9f);}['getVersion'](_0x17e7ad){const _0x4a9cb6=_0x984091;var _0x517974;return(_0x517974=this[_0x4a9cb6(0xbf)][_0x4a9cb6(0xfd)])==null?void 0x0:_0x517974[_0x4a9cb6(0x22b)](_0x378ec6=>_0x378ec6['id']===_0x17e7ad);}[_0x984091(0x21a)](_0x14e5b9){const _0x2107ac=_0x984091;return this['_members'][_0x2107ac(0x15c)](_0x14e5b9);}['_createMask'](){const _0xf7bc85=_0x984091;this[_0xf7bc85(0x284)]=document[_0xf7bc85(0x11a)](_0xf7bc85(0x1d6)),this['_maskElement'][_0xf7bc85(0x136)]=_0xf7bc85(0x1a7),this[_0xf7bc85(0x284)]['style']['position']=_0xf7bc85(0x21f),this[_0xf7bc85(0x284)][_0xf7bc85(0xce)]['top']='0',this[_0xf7bc85(0x284)][_0xf7bc85(0xce)][_0xf7bc85(0x199)]='0',this[_0xf7bc85(0x284)][_0xf7bc85(0xce)]['width']=_0xf7bc85(0x1d7),this['_maskElement'][_0xf7bc85(0xce)][_0xf7bc85(0x210)]='100%',this[_0xf7bc85(0x284)][_0xf7bc85(0xce)][_0xf7bc85(0x1df)]=_0xf7bc85(0x164),this[_0xf7bc85(0x284)][_0xf7bc85(0xce)][_0xf7bc85(0xbb)]=_0xf7bc85(0x28a),this[_0xf7bc85(0x284)]['style'][_0xf7bc85(0x1f2)]=_0xf7bc85(0x221),this[_0xf7bc85(0x284)][_0xf7bc85(0xce)][_0xf7bc85(0x1b1)]=_0xf7bc85(0x226),this[_0xf7bc85(0x284)]['style']['zIndex']='1000',this['_maskElement']['style']['display']='none',this['_maskContainer']['append'](this['_maskElement']);}['_initMaskContainer'](){const _0x1ab276=_0x984091;var _0x5043de;const _0x2b2fd2=(_0x5043de=document[_0x1ab276(0x1d5)](this['_historyContainerId']))==null?void 0x0:_0x5043de[_0x1ab276(0x159)](_0x1ab276(0x29f));_0x2b2fd2&&(this[_0x1ab276(0x186)]=_0x2b2fd2,this[_0x1ab276(0xb7)]());}['showMask'](){const _0x58ec00=_0x984091;this[_0x58ec00(0x186)]||this['_initMaskContainer'](),this[_0x58ec00(0x284)]&&(this[_0x58ec00(0x284)]['style'][_0x58ec00(0x1f2)]=_0x58ec00(0x221));}['hideMask'](){const _0x26c4bb=_0x984091;this['_maskElement']&&(this[_0x26c4bb(0x284)][_0x26c4bb(0xce)][_0x26c4bb(0x1f2)]='none');}set[_0x984091(0x207)](_0x19592d){const _0x43f870=_0x984091;this[_0x43f870(0x157)][_0x43f870(0x17e)](_0x19592d);}set['currentVersion'](_0x2ba94d){const _0x179e89=_0x984091;_0x2ba94d!==this[_0x179e89(0xf1)][_0x179e89(0xfd)]&&this['_currentVersion$']['next'](_0x2ba94d);}get[_0x984091(0xf0)](){const _0x4cb5eb=_0x984091;return this[_0x4cb5eb(0xf1)][_0x4cb5eb(0xfd)];}set['unitId'](_0x1db938){const _0x42a7b8=_0x984091;this[_0x42a7b8(0x1b0)][_0x42a7b8(0x17e)](_0x1db938);}get[_0x984091(0x282)](){const _0x2715bc=_0x984091;return this[_0x2715bc(0x1b0)][_0x2715bc(0xfd)];}get[_0x984091(0xdc)](){const _0x5346af=_0x984091;return this[_0x5346af(0x29e)];}get[_0x984091(0x1c0)](){const _0x12e25b=_0x984091;return this['_loadingState$'][_0x12e25b(0xfd)];}};g=Es([V(0x0,_0x772753),V(0x1,_0x3054e7),V(0x2,_0x2bf91e(_0xd98ed4)),V(0x3,_0x2bf91e(F))],g);function j({ref:_0x2f2797,..._0x268a49}){const _0x3265a1=_0x984091,{icon:_0x552aa4,id:_0xd5fcac,className:_0x2a0c99,extend:_0x55c4bd,..._0x50c8a5}=_0x268a49,_0x1d4c8c=(_0x3265a1(0x219)+_0xd5fcac+'\x20'+(_0x2a0c99||''))['trim'](),_0x49aff7=_0x16f2d6('_'+gs());return Le(_0x552aa4,''+_0xd5fcac,{'defIds':_0x552aa4[_0x3265a1(0xe9)],'idSuffix':_0x49aff7[_0x3265a1(0x25d)]},{'ref':_0x2f2797,'className':_0x1d4c8c,..._0x50c8a5},_0x55c4bd);}function Le(_0x16c70d,_0x2e428d,_0xc52eeb,_0x346dd1,_0x4be2a2){const _0xe6630a=_0x984091;return _0x7a7dd4(_0x16c70d[_0xe6630a(0x24d)],{'key':_0x2e428d,...ms(_0x16c70d,_0xc52eeb,_0x4be2a2),..._0x346dd1},(fs(_0x16c70d,_0xc52eeb)[_0xe6630a(0x249)]||[])['map']((_0x5aebd1,_0x15b6c7)=>Le(_0x5aebd1,_0x2e428d+'-'+_0x16c70d[_0xe6630a(0x24d)]+'-'+_0x15b6c7,_0xc52eeb,void 0x0,_0x4be2a2)));}function ms(_0x36420d,_0x294710,_0x34f032){const _0x456e5f=_0x984091,_0x2a09a9={..._0x36420d[_0x456e5f(0x21d)]};_0x34f032!=null&&_0x34f032[_0x456e5f(0x109)]&&_0x2a09a9[_0x456e5f(0x1e5)]==='colorChannel1'&&(_0x2a09a9['fill']=_0x34f032['colorChannel1']),_0x36420d[_0x456e5f(0x24d)]===_0x456e5f(0x243)&&_0x2a09a9['id']&&(_0x2a09a9['id']=_0x2a09a9['id']+_0x294710['idSuffix']),Object[_0x456e5f(0x165)](_0x2a09a9)[_0x456e5f(0x151)](([_0xc1e736,_0x53267c])=>{const _0x4be187=_0x456e5f;_0xc1e736==='mask'&&typeof _0x53267c==_0x4be187(0x281)&&(_0x2a09a9[_0xc1e736]=_0x53267c['replace'](/url\(#(.*)\)/,_0x4be187(0x256)+_0x294710[_0x4be187(0x1e1)]+')'));});const {defIds:_0x514de9}=_0x294710;return!_0x514de9||_0x514de9[_0x456e5f(0x143)]===0x0||(_0x36420d[_0x456e5f(0x24d)]===_0x456e5f(0x22d)&&_0x2a09a9[_0x456e5f(0x239)]&&(_0x2a09a9['xlink:href']=_0x2a09a9['xlink:href']+_0x294710[_0x456e5f(0x1e1)]),Object[_0x456e5f(0x165)](_0x2a09a9)[_0x456e5f(0x151)](([_0x1f53a1,_0xe55ab])=>{const _0x470e7b=_0x456e5f;typeof _0xe55ab==_0x470e7b(0x281)&&(_0x2a09a9[_0x1f53a1]=_0xe55ab[_0x470e7b(0x17d)](/url\(#(.*)\)/,_0x470e7b(0x256)+_0x294710[_0x470e7b(0x1e1)]+')'));})),_0x2a09a9;}function fs(_0x3275c6,_0x234710){const _0x2cc97f=_0x984091;var _0x15d886;const {defIds:_0x13f109}=_0x234710;return!_0x13f109||_0x13f109[_0x2cc97f(0x143)]===0x0?_0x3275c6:_0x3275c6['tag']===_0x2cc97f(0x13d)&&((_0x15d886=_0x3275c6[_0x2cc97f(0x249)])!=null&&_0x15d886[_0x2cc97f(0x143)])?{..._0x3275c6,'children':_0x3275c6[_0x2cc97f(0x249)][_0x2cc97f(0x19b)](_0x26b418=>typeof _0x26b418[_0x2cc97f(0x21d)]['id']=='string'&&_0x13f109&&_0x13f109[_0x2cc97f(0x20d)](_0x26b418[_0x2cc97f(0x21d)]['id'])?{..._0x26b418,'attrs':{..._0x26b418[_0x2cc97f(0x21d)],'id':_0x26b418['attrs']['id']+_0x234710[_0x2cc97f(0x1e1)]}}:_0x26b418)}:_0x3275c6;}function gs(){const _0x52d6e6=_0x984091;return Math[_0x52d6e6(0xba)]()['toString'](0x24)[_0x52d6e6(0xb9)](0x2,0x8);}j['displayName']=_0x984091(0x1b6);const ps={'tag':_0x984091(0xca),'attrs':{'xmlns':_0x984091(0xd9),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x984091(0x115),'height':_0x984091(0x115)},'children':[{'tag':_0x984091(0x1ed),'attrs':{'fill':_0x984091(0x11c),'d':'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'}}]},Ce=_0x57d6d3(function(_0x2e333e,_0x557e8d){const _0x3f00e1=_0x984091;return _0x7a7dd4(j,Object[_0x3f00e1(0x1c7)]({},_0x2e333e,{'id':_0x3f00e1(0x13b),'ref':_0x557e8d,'icon':ps}));});Ce[_0x984091(0xc2)]='BackIcon';const Ns={'tag':'svg','attrs':{'xmlns':_0x984091(0xd9),'fill':_0x984091(0x132),'viewBox':_0x984091(0x162),'width':_0x984091(0x115),'height':_0x984091(0x115)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x984091(0x13a)},'children':[{'tag':_0x984091(0x1ed),'attrs':{'d':_0x984091(0x20c)}},{'tag':_0x984091(0x1ed),'attrs':{'d':_0x984091(0xd5),'fillRule':_0x984091(0xd2),'clipRule':_0x984091(0xd2)}}]},{'tag':_0x984091(0x13d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x984091(0x25a)},'children':[{'tag':_0x984091(0x169),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x984091(0x28a),'rx':0x4}}]}]}],'defIds':[_0x984091(0x25a)]},ye=_0x57d6d3(function(_0x408ba3,_0x45b1b3){const _0x53fdcb=_0x984091;return _0x7a7dd4(j,Object[_0x53fdcb(0x1c7)]({},_0x408ba3,{'id':_0x53fdcb(0x13e),'ref':_0x45b1b3,'icon':Ns}));});ye[_0x984091(0xc2)]=_0x984091(0x253);const Os={'tag':_0x984091(0xca),'attrs':{'xmlns':_0x984091(0xd9),'fill':'none','viewBox':_0x984091(0x117),'width':'1em','height':_0x984091(0x115)},'children':[{'tag':_0x984091(0x1ed),'attrs':{'fill':_0x984091(0x271),'d':_0x984091(0x297),'fillOpacity':0.2,'fillRule':_0x984091(0xd2),'clipRule':'evenodd'}},{'tag':_0x984091(0x1ed),'attrs':{'fill':_0x984091(0x271),'d':_0x984091(0x1c6),'fillRule':'evenodd','clipRule':_0x984091(0xd2)}}]},oe=_0x57d6d3(function(_0x8b8ab6,_0xf096bc){return _0x7a7dd4(j,Object['assign']({},_0x8b8ab6,{'id':'loading-multi-icon','ref':_0xf096bc,'icon':Os}));});oe[_0x984091(0xc2)]=_0x984091(0xd4);function Rs(){const _0xf6a5e0=_0x984091;var _0x4259fb;const _0x245dbd=_0x227fbe(g),_0x3fec36=_0x227fbe(_0xd98ed4),_0x3aa7d2=_0x22a744(()=>{const _0x329471=_0x4a91;_0x245dbd[_0x329471(0x207)]=ae[_0x329471(0x1ff)];},[_0x245dbd]),_0x5d8e77=_0x22a744(()=>{const _0x3befb2=_0x4a91;_0x245dbd[_0x3befb2(0x255)]();},[_0x245dbd]),_0x3afa50=_0x3034cd(_0x245dbd[_0xf6a5e0(0x167)]),_0x4b0efb=_0x3034cd(_0x245dbd[_0xf6a5e0(0x195)]),_0x3638d2=_0x3afa50===((_0x4259fb=_0x4b0efb==null?void 0x0:_0x4b0efb[0x0])==null?void 0x0:_0x4259fb['id']),_0x18461c=_0x3afa50!==''&&!_0x3638d2&&_0x245dbd[_0xf6a5e0(0xdc)];return _0x25878c('div',{'className':_0x14a984(_0xf6a5e0(0x1c4),_0x5929e3),'children':[_0x57a298('a',{'className':_0xf6a5e0(0xfa),'role':_0xf6a5e0(0x283),'onClick':_0x3aa7d2,'children':_0x57a298(Ce,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x57a298(_0xf6a5e0(0x1d6),{'className':_0xf6a5e0(0x110),'children':_0x18461c&&_0x57a298(_0x2c6da4,{'variant':_0xf6a5e0(0xf4),'onClick':_0x5d8e77,'children':_0x3fec36['t'](_0xf6a5e0(0xf7))})})]});}var Ts=Object[_0x984091(0xde)],Ds=(_0x256b53,_0x22776f,_0x2f18a0,_0x2d7522)=>{const _0x1f0f21=_0x984091;for(var _0x102a9f=_0x2d7522>0x1?void 0x0:_0x2d7522?Ts(_0x22776f,_0x2f18a0):_0x22776f,_0x3c364f=_0x256b53[_0x1f0f21(0x143)]-0x1,_0x447c5c;_0x3c364f>=0x0;_0x3c364f--)(_0x447c5c=_0x256b53[_0x3c364f])&&(_0x102a9f=_0x447c5c(_0x102a9f)||_0x102a9f);return _0x102a9f;},M=(_0xf82145,_0x56f6fd)=>(_0x495806,_0x27f137)=>_0x56f6fd(_0x495806,_0x27f137,_0xf82145);let Y=class extends _0x866ab8{constructor(_0x33c6ae,_0x3ee062,_0x25f5e3,_0x5916ff,_0x4fa8a6,_0x568f1f){const _0x223b0f=_0x984091;super(),this[_0x223b0f(0x106)]=_0x33c6ae,this[_0x223b0f(0x15b)]=_0x3ee062,this[_0x223b0f(0x1a4)]=_0x25f5e3,this[_0x223b0f(0x1bf)]=_0x5916ff,this[_0x223b0f(0x190)]=_0x4fa8a6,this['_injector']=_0x568f1f,this[_0x223b0f(0x10e)]();}['_init'](){const _0x326c29=_0x984091;this[_0x326c29(0xd6)](this[_0x326c29(0x190)]['currentVersion$'][_0x326c29(0x1c1)](_0x190f46=>{const _0x17ee25=_0x326c29;_0x190f46&&this[_0x17ee25(0x190)][_0x17ee25(0x274)](_0x190f46);})),this[_0x326c29(0xd6)](this['_permissionService'][_0x326c29(0x15a)][_0x326c29(0x1c1)](_0x3221de=>{const _0x268794=_0x326c29,_0x2f5ca0=this[_0x268794(0x190)][_0x268794(0x282)];_0x2f5ca0&&(_0x3221de[_0x268794(0xe4)]===D[_0x268794(0xc9)]&&_0x3221de[_0x268794(0xfd)]===!0x0&&this[_0x268794(0x106)][_0x268794(0x16a)](new _0x12f330(_0x2f5ca0)['id'],!0x1),_0x3221de[_0x268794(0xe4)]===D[_0x268794(0xc5)]&&_0x3221de[_0x268794(0xfd)]===!0x0&&this[_0x268794(0x106)][_0x268794(0x16a)](new _0x1683da(_0x2f5ca0)['id'],!0x1),_0x3221de[_0x268794(0xe4)]===D[_0x268794(0x105)]&&_0x3221de[_0x268794(0xfd)]===!0x0&&this[_0x268794(0x106)][_0x268794(0x16a)](new _0x6c225(_0x2f5ca0)['id'],!0x1),_0x3221de[_0x268794(0xe4)]===D[_0x268794(0x122)]&&_0x3221de['value']===!0x0&&this[_0x268794(0x106)]['updatePermissionPoint'](new _0x825947(_0x2f5ca0)['id'],!0x1),_0x3221de[_0x268794(0xe4)]===D[_0x268794(0x14f)]&&_0x3221de['value']===!0x0&&this['_permissionService'][_0x268794(0x16a)](new _0x12f330(_0x2f5ca0)['id'],!0x1),_0x3221de[_0x268794(0xe4)]===D[_0x268794(0x134)]&&_0x3221de[_0x268794(0xfd)]===!0x0&&this[_0x268794(0x106)][_0x268794(0x16a)](new _0x12f330(_0x2f5ca0)['id'],!0x1));})),this['disposeWithMe'](this[_0x326c29(0x15b)][_0x326c29(0xcb)](_0x4b2a81[_0x326c29(0x131)],()=>_0x114037(Rs,this['_injector'])));let _0x543744;this[_0x326c29(0xd6)](this[_0x326c29(0x190)][_0x326c29(0x1f4)]['subscribe'](_0x578429=>{const _0x4ff815=_0x326c29;_0x543744==null||_0x543744['dispose'](),_0x578429===C[_0x4ff815(0x184)]&&(this[_0x4ff815(0x190)]['showMask'](),_0x543744=this[_0x4ff815(0x1a4)]['show']({'type':_0x516d63[_0x4ff815(0x25e)],'content':this[_0x4ff815(0x1bf)]['t'](_0x4ff815(0x269))})),_0x578429===C[_0x4ff815(0x23b)]&&this['_historyManagerService'][_0x4ff815(0x112)]();}));}};Y=Ds([M(0x0,_0x422212),M(0x1,_0x3c5126),M(0x2,_0x772753),M(0x3,_0x2bf91e(_0xd98ed4)),M(0x4,_0x2bf91e(g)),M(0x5,_0x2bf91e(_0x45370b))],Y);var Ms=Object[_0x984091(0xde)],Ps=(_0xec94a9,_0x28f4a9,_0x303991,_0x3ec932)=>{const _0x3faa75=_0x984091;for(var _0x4a2849=_0x3ec932>0x1?void 0x0:_0x3ec932?Ms(_0x28f4a9,_0x303991):_0x28f4a9,_0x469571=_0xec94a9[_0x3faa75(0x143)]-0x1,_0x2c1241;_0x469571>=0x0;_0x469571--)(_0x2c1241=_0xec94a9[_0x469571])&&(_0x4a2849=_0x2c1241(_0x4a2849)||_0x4a2849);return _0x4a2849;},Z=(_0x46e247,_0x20ff39)=>(_0x12d45b,_0x18a050)=>_0x20ff39(_0x12d45b,_0x18a050,_0x46e247);let $=class extends _0x866ab8{constructor(_0x111f5a,_0x5dd186,_0x740f33){const _0x2ec84c=_0x984091;super(),l(this,_0x2ec84c(0x20f),new Map()),l(this,_0x2ec84c(0xfe),new _0x111258({'ranges':new Map(),'active':null})),l(this,_0x2ec84c(0x273),this['_currentVersionDiff$'][_0x2ec84c(0x12d)]()),(this[_0x2ec84c(0x190)]=_0x111f5a,this[_0x2ec84c(0xc6)]=_0x5dd186,this[_0x2ec84c(0x1ce)]=_0x740f33,this['_init']());}['_init'](){const _0x3ad31a=_0x984091;this[_0x3ad31a(0x20f)]=new Map(),this[_0x3ad31a(0xd6)](this['_historyManagerService']['unitId$'][_0x3ad31a(0x1c1)](_0xe0e298=>{const _0x2b4fb6=_0x3ad31a;_0xe0e298&&!this[_0x2b4fb6(0x20f)]['has'](_0xe0e298)&&this[_0x2b4fb6(0x20f)][_0x2b4fb6(0x26d)](_0xe0e298,new Map());})),this[_0x3ad31a(0xd6)](this[_0x3ad31a(0x190)][_0x3ad31a(0x167)][_0x3ad31a(0x1c1)](async _0x5a3ea6=>{const _0x57eb40=_0x3ad31a;var _0x42bbb3;_0x5a3ea6&&(await this[_0x57eb40(0x27a)](_0x5a3ea6),this[_0x57eb40(0xfe)][_0x57eb40(0x17e)](((_0x42bbb3=this['_diffRangesMap'][_0x57eb40(0x15c)](this[_0x57eb40(0x190)][_0x57eb40(0x282)]))==null?void 0x0:_0x42bbb3[_0x57eb40(0x15c)](_0x5a3ea6))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x5187ff){const _0x1ac88e=_0x984091;var _0x551465,_0x55db64;const _0x4c89ca=this[_0x1ac88e(0x190)][_0x1ac88e(0x295)](_0x5187ff),_0x42a259=this[_0x1ac88e(0x190)]['unitId'];if(!_0x4c89ca||!_0x42a259)return;const _0x525a20=this[_0x1ac88e(0x20f)][_0x1ac88e(0x15c)](_0x42a259);if(_0x525a20||this[_0x1ac88e(0x20f)][_0x1ac88e(0x26d)](_0x42a259,new Map()),(_0x551465=this[_0x1ac88e(0x20f)]['get'](_0x42a259))!=null&&_0x551465[_0x1ac88e(0x100)](_0x4c89ca['id']))return;const {startRev:_0x526068,endRev:_0x1520b4}=_0x4c89ca;if(_0x526068===0x1){_0x525a20[_0x1ac88e(0x26d)](_0x4c89ca['id'],{'ranges':new Map(),'active':null});return;}const _0x10da38=_0x526068-0x1,_0x5eca79=_0x1520b4,_0xa9dddb=await this['_snapshotServerService']['fetchMissingChangesets']({},{'unitID':_0x42a259,'from':_0x10da38,'to':_0x5eca79,'type':H['UNIVER_SHEET']});if(((_0x55db64=_0xa9dddb[_0x1ac88e(0x196)])==null?void 0x0:_0x55db64[_0x1ac88e(0x1b8)])===U['OK']){const _0x18eb53=_0xa9dddb[_0x1ac88e(0x1f5)][_0x1ac88e(0x19b)](_0x240f61=>((_0x240f61['mutations']===null||_0x240f61['mutations']===void 0x0)&&(_0x240f61[_0x1ac88e(0x266)]=[]),_0xf45245(_0x240f61)))['map'](_0x2dd8d2=>_0x2dd8d2['mutations']['map'](_0x236921=>({..._0x236921,'params':{..._0x236921[_0x1ac88e(0x101)],'memberId':_0x2dd8d2[_0x1ac88e(0x279)]}})))[_0x1ac88e(0x1f9)](),_0x342ab6=this[_0x1ac88e(0x11e)](_0x18eb53),_0x117741=this[_0x1ac88e(0x189)](_0x18eb53),_0x478b9a=this[_0x1ac88e(0x1da)](_0x342ab6);_0x525a20['set'](_0x4c89ca['id'],{'ranges':_0x478b9a,'active':_0x117741});}}[_0x984091(0x11e)](_0x5532cb){const _0x376afb=_0x984091;let _0x1ff16c=[];for(let _0xd4c0e6=0x0;_0xd4c0e6<_0x5532cb[_0x376afb(0x143)];_0xd4c0e6++){const _0x257c3f=_0x5532cb[_0xd4c0e6];if(_0x1ff16c['push'](_0x257c3f),_0xd4c0e6!==_0x5532cb[_0x376afb(0x143)]-0x1){const _0x589dbb=_0x5532cb[_0xd4c0e6+0x1],_0x3b3867=this[_0x376afb(0xc6)][_0x376afb(0x19c)](_0x1ff16c,[_0x589dbb]);_0x3ed5dd(_0x3b3867)?_0x1ff16c=_0x3b3867[_0x376afb(0x206)]:_0x1ff16c=[];}}return _0x1ff16c;}[_0x984091(0x189)](_0x333ae6){const _0x3f2376=_0x984091;let _0x700e0c=[];return _0x333ae6[_0x3f2376(0x151)](_0x3cc389=>{const _0x28ed6f=_0x3f2376;if(_0x3cc389['id']===_0x4f0b97['id']){const _0x2e9fb9=_0x3cc389[_0x28ed6f(0x101)];_0x700e0c[_0x28ed6f(0x272)](_0x2e9fb9[_0x28ed6f(0x16e)]['id']);}else{if(_0x3cc389['id']===_0x67a2d3['id']){const _0x9612fe=_0x3cc389[_0x28ed6f(0x101)];_0x700e0c[_0x28ed6f(0x143)]>0x0&&(_0x700e0c=_0x700e0c[_0x28ed6f(0x264)](_0x4df7ec=>_0x4df7ec!==_0x9612fe['subUnitId']));}else{if(_0x3cc389['id']===_0xd3ab95['id']){const _0x394c17=_0x3cc389[_0x28ed6f(0x101)];_0x394c17[_0x28ed6f(0x130)]?_0x700e0c=_0x700e0c[_0x28ed6f(0x264)](_0x45350b=>_0x45350b!==_0x394c17[_0x28ed6f(0xd0)]):_0x700e0c[_0x28ed6f(0x272)](_0x394c17[_0x28ed6f(0xd0)]);}else{const _0x25c135=_0x3cc389[_0x28ed6f(0x101)];_0x25c135['subUnitId']&&_0x700e0c['push'](_0x25c135['subUnitId']);}}}}),_0x700e0c['length']>0x0?_0x700e0c[_0x700e0c[_0x3f2376(0x143)]-0x1]:null;}[_0x984091(0x1da)](_0x1551ee){const _0xa836e7=_0x984091,_0x512763=new Map();return _0x1551ee[_0xa836e7(0x151)](_0x4d2f64=>{const _0x348fb9=_0xa836e7;var _0x2b42c0,_0x8ace82;const _0x42d176=(_0x2b42c0=_0x4d2f64[_0x348fb9(0x101)])==null?void 0x0:_0x2b42c0['memberId'];if(_0x42d176){_0x512763[_0x348fb9(0x100)](_0x42d176)||_0x512763[_0x348fb9(0x26d)](_0x42d176,[]);const _0x326bfc=this['_getRangesByMutation'](_0x4d2f64);(_0x8ace82=_0x512763[_0x348fb9(0x15c)](_0x42d176))==null||_0x8ace82[_0x348fb9(0x272)](..._0x326bfc);}}),_0x512763[_0xa836e7(0x151)]((_0x9068ea,_0xb37fc1)=>{const _0xb13b6f=_0xa836e7;_0x512763[_0xb13b6f(0x26d)](_0xb37fc1,this[_0xb13b6f(0x1b9)](_0x9068ea));}),_0x512763;}[_0x984091(0x1d2)](_0x2ffd77){const _0x19cf8a=_0x984091;switch(_0x2ffd77['id']){case _0x41a873['id']:{const _0x5aa502=_0x2ffd77[_0x19cf8a(0x101)];return _0x5aa502[_0x19cf8a(0x1db)][_0x19cf8a(0x19b)](_0x51ff51=>_0x51ff51[_0x19cf8a(0x179)][_0x19cf8a(0x19b)](_0x3ef8ea=>({'range':_0x3ef8ea,'unitId':_0x5aa502[_0x19cf8a(0x282)],'subUnitId':_0x5aa502[_0x19cf8a(0xd0)]})))[_0x19cf8a(0x1f9)]();}case _0x170777['id']:{const _0xe148fd=_0x2ffd77[_0x19cf8a(0x101)];return _0xe148fd['ranges'][_0x19cf8a(0x19b)](_0x4460be=>({'range':_0x4460be,'unitId':_0xe148fd[_0x19cf8a(0x282)],'subUnitId':_0xe148fd[_0x19cf8a(0xd0)]}));}case _0x1bd54d['id']:{const _0x2516f5=_0x2ffd77[_0x19cf8a(0x101)];return[{'range':_0x2516f5[_0x19cf8a(0x183)],'unitId':_0x2516f5['unitId'],'subUnitId':_0x2516f5[_0x19cf8a(0xd0)]}];}case _0x1b834d['id']:{const _0x439b10=_0x2ffd77[_0x19cf8a(0x101)];return[{'range':_0x439b10[_0x19cf8a(0x183)],'unitId':_0x439b10[_0x19cf8a(0x282)],'subUnitId':_0x439b10['subUnitId']}];}case _0x32e811['id']:{const _0x2c818e=_0x2ffd77[_0x19cf8a(0x101)],{from:_0x3cd71c,to:_0x40a9ed,unitId:_0xde9241}=_0x2c818e;return[{'range':Ie(_0x3cd71c[_0x19cf8a(0xfd)]),'unitId':_0xde9241,'subUnitId':_0x3cd71c['subUnitId']},{'range':Ie(_0x40a9ed[_0x19cf8a(0xfd)]),'unitId':_0xde9241,'subUnitId':_0x40a9ed['subUnitId']}];}case _0x1367ac['id']:{const _0x392a2f=_0x2ffd77[_0x19cf8a(0x101)],{unitId:_0x301654,subUnitId:_0x431412,sourceRange:_0x4e80a1,targetRange:_0x306604}=_0x392a2f,_0x17c66b=_0x4e80a1[_0x19cf8a(0x262)]-_0x4e80a1[_0x19cf8a(0x1de)]+0x1;return[{'range':_0x306604[_0x19cf8a(0x1de)]<=_0x4e80a1[_0x19cf8a(0x1de)]?_0x306604:{..._0x306604,'startRow':_0x306604[_0x19cf8a(0x1de)]-_0x17c66b,'endRow':_0x306604[_0x19cf8a(0x262)]-_0x17c66b},'unitId':_0x301654,'subUnitId':_0x431412}];}case _0x39db67['id']:{const _0x3cf799=_0x2ffd77[_0x19cf8a(0x101)],{unitId:_0x2bdc3d,subUnitId:_0x3db662,sourceRange:_0x36e0b2,targetRange:_0x3317d3}=_0x3cf799,_0x2fc65c=_0x36e0b2['endColumn']-_0x36e0b2[_0x19cf8a(0x291)]+0x1;return[{'range':_0x3317d3[_0x19cf8a(0x291)]<=_0x36e0b2[_0x19cf8a(0x291)]?_0x3317d3:{..._0x3317d3,'startColumn':_0x3317d3[_0x19cf8a(0x291)]-_0x2fc65c,'endColumn':_0x3317d3[_0x19cf8a(0x19d)]-_0x2fc65c},'unitId':_0x2bdc3d,'subUnitId':_0x3db662}];}case _0xeaa6f2['id']:{const _0x3c110d=_0x2ffd77[_0x19cf8a(0x101)],{values:_0x604fb7,unitId:_0x25cf63,subUnitId:_0x1bc6da}=_0x3c110d;return Object[_0x19cf8a(0x155)](_0x604fb7)[_0x19cf8a(0x19b)](_0x197c4c=>_0x197c4c[_0x19cf8a(0x179)]['map'](_0xc983d8=>({'range':_0xc983d8,'unitId':_0x25cf63,'subUnitId':_0x1bc6da})))[_0x19cf8a(0x1f9)]();}case _0x1ce3eb['id']:{const _0x442717=_0x2ffd77[_0x19cf8a(0x101)],{ranges:_0x542101,unitId:_0x189fb7,subUnitId:_0x5a64c1}=_0x442717;return _0x542101[_0x19cf8a(0x19b)](_0x5f1f73=>({'range':_0x5f1f73,'unitId':_0x189fb7,'subUnitId':_0x5a64c1}));}case _0x55ca8a['id']:{const _0x3a2278=_0x2ffd77[_0x19cf8a(0x101)],{unitId:_0x522045,subUnitId:_0x3fd21f,range:_0x3c592a}=_0x3a2278;return[{'range':_0x3c592a,'unitId':_0x522045,'subUnitId':_0x3fd21f}];}case _0x4aa438['id']:{const _0x1716cd=_0x2ffd77['params'];return _0x1716cd[_0x19cf8a(0x211)][_0x19cf8a(0x179)]['map'](_0x143c45=>({'range':_0x143c45,'unitId':_0x1716cd[_0x19cf8a(0x282)],'subUnitId':_0x1716cd[_0x19cf8a(0xd0)]}));}case _0x5245fe['id']:{const _0x5ebe26=_0x2ffd77['params'];return _0x5ebe26[_0x19cf8a(0x1af)]?bs(_0x5ebe26['cellValue'])['map'](_0x1bc4f0=>({'range':_0x1bc4f0,'unitId':_0x5ebe26[_0x19cf8a(0x282)],'subUnitId':_0x5ebe26[_0x19cf8a(0xd0)]})):[];}case _0x1becce['id']:{const _0x19d3bc=_0x2ffd77[_0x19cf8a(0x101)];return[{'range':_0x19d3bc['range'],'unitId':_0x19d3bc['unitId'],'subUnitId':_0x19d3bc[_0x19cf8a(0xd0)]}];}case _0x3963cd['id']:{const _0x5d0508=_0x2ffd77[_0x19cf8a(0x101)];return(Array[_0x19cf8a(0x23f)](_0x5d0508['rule'])?_0x5d0508[_0x19cf8a(0x211)]:[_0x5d0508[_0x19cf8a(0x211)]])['map'](_0x33d336=>_0x33d336[_0x19cf8a(0x179)]['map'](_0x5286ec=>({'range':_0x5286ec,'unitId':_0x5d0508['unitId'],'subUnitId':_0x5d0508[_0x19cf8a(0xd0)]})))[_0x19cf8a(0x1f9)]();}case _0x5592e['id']:{const _0x436f37=_0x2ffd77[_0x19cf8a(0x101)];return _0x436f37[_0x19cf8a(0x211)][_0x19cf8a(0x179)][_0x19cf8a(0x19b)](_0xdbd04=>({'range':_0xdbd04,'unitId':_0x436f37[_0x19cf8a(0x282)],'subUnitId':_0x436f37[_0x19cf8a(0xd0)]}));}default:return[];}}[_0x984091(0x1b9)](_0x4c4de8){const _0x312bcb=_0x984091;if(_0x4c4de8[_0x312bcb(0x143)]<=0x1)return _0x4c4de8;const _0x2446c2=new Map();return _0x4c4de8[_0x312bcb(0x151)](_0x825a19=>{const _0x2511c5=_0x312bcb;var _0x4958ca;const {unitId:_0x24c377,subUnitId:_0x50737a}=_0x825a19,_0x272f7f=_0x24c377+'-'+_0x50737a;_0x2446c2[_0x2511c5(0x100)](_0x272f7f)?(_0x4958ca=_0x2446c2['get'](_0x272f7f))==null||_0x4958ca['push'](_0x825a19):_0x2446c2[_0x2511c5(0x26d)](_0x272f7f,[_0x825a19]);}),Array[_0x312bcb(0xc7)](_0x2446c2[_0x312bcb(0x155)]())[_0x312bcb(0x19b)](_0x17671d=>new _0x204759()[_0x312bcb(0x218)](..._0x17671d[_0x312bcb(0x19b)](_0x19e07c=>_0x19e07c[_0x312bcb(0x183)]))[_0x312bcb(0x203)]()['map'](_0x5abd27=>({'range':_0x5abd27,'unitId':_0x17671d[0x0][_0x312bcb(0x282)],'subUnitId':_0x17671d[0x0][_0x312bcb(0xd0)]})))[_0x312bcb(0x1f9)]();}};$=Ps([Z(0x0,_0x2bf91e(g)),Z(0x1,_0x1a17c4),Z(0x2,_0x214809)],$);function Ie(_0x4043f1){const _0x3d5b36=_0x984091;return new _0x1e1fe5(_0x4043f1)[_0x3d5b36(0x220)]();}function bs(_0x21aca7){const _0x2769b4=_0x984091,_0x1eb973=new _0x1e1fe5(_0x21aca7),_0x39f8a8=new _0x1e1fe5();return _0x1eb973[_0x2769b4(0x1a5)]((_0x3c7746,_0x5a1c21)=>{const _0x3e5a32=_0x2769b4;_0x39f8a8[_0x3e5a32(0xf3)](_0x3c7746,_0x5a1c21,0x1);}),_0x4c89f0(_0x39f8a8);}var Ls=Object[_0x984091(0xde)],Cs=(_0xa50fb0,_0x2b9327,_0x508d77,_0x11c780)=>{const _0xd614e2=_0x984091;for(var _0x251f40=_0x11c780>0x1?void 0x0:_0x11c780?Ls(_0x2b9327,_0x508d77):_0x2b9327,_0xc67c36=_0xa50fb0[_0xd614e2(0x143)]-0x1,_0x2fdffe;_0xc67c36>=0x0;_0xc67c36--)(_0x2fdffe=_0xa50fb0[_0xc67c36])&&(_0x251f40=_0x2fdffe(_0x251f40)||_0x251f40);return _0x251f40;},P=(_0x112db2,_0x3b7e0f)=>(_0x27eff0,_0x3fbdfa)=>_0x3b7e0f(_0x27eff0,_0x3fbdfa,_0x112db2);let q=class extends _0x866ab8{constructor(_0x19be98,_0x96581a,_0x53383d,_0x26d01b,_0xb775ed,_0x38253c,_0x4c0378){const _0x4ba06d=_0x984091;super(),l(this,_0x4ba06d(0xe8),new Set()),l(this,_0x4ba06d(0x12f),null),(this[_0x4ba06d(0x16b)]=_0x19be98,this[_0x4ba06d(0x190)]=_0x96581a,this[_0x4ba06d(0x1bb)]=_0x53383d,this[_0x4ba06d(0x135)]=_0x26d01b,this[_0x4ba06d(0x125)]=_0xb775ed,this[_0x4ba06d(0x1d4)]=_0x38253c,this[_0x4ba06d(0x261)]=_0x4c0378,this[_0x4ba06d(0x10e)]());}[_0x984091(0x10e)](){const _0x435c08=_0x984091;this['_initRender'](),this[_0x435c08(0x1ad)]();}['_initRender'](){const _0x5eed99=_0x984091;this[_0x5eed99(0xd6)](_0x54f528([this['_historyManagerService'][_0x5eed99(0x1f4)],this[_0x5eed99(0x1d4)][_0x5eed99(0x293)]])[_0x5eed99(0x277)](_0x5a0c85(([_0x52b023,_0x3f6fce])=>{const _0x1af8c6=_0x5eed99;if(_0x52b023===C['Loaded']&&_0x3f6fce){const _0x5274a7=_0x3f6fce['sheetId'];return this[_0x1af8c6(0x1bb)][_0x1af8c6(0x273)][_0x1af8c6(0x277)](_0x5648d5(_0x55f9a4=>{const _0x13b024=_0x1af8c6,_0x1dfb90=new Map();return _0x55f9a4[_0x13b024(0x179)][_0x13b024(0x151)]((_0x5167a8,_0x4e463e)=>{const _0x12ce9d=_0x13b024,_0x245255=_0x5167a8[_0x12ce9d(0x264)](_0x1a25b4=>_0x1a25b4[_0x12ce9d(0xd0)]===_0x5274a7);_0x1dfb90[_0x12ce9d(0x26d)](_0x4e463e,_0x245255);}),{'skeleton':_0x3f6fce,'diffs':_0x1dfb90};}));}return _0x75fb42({'skeleton':null,'diffs':new Map()});}))[_0x5eed99(0x1c1)](({skeleton:_0x27c330,diffs:_0x22c9a0})=>{const _0x85407a=_0x5eed99;this['_removeDiffMarks'](),_0x27c330&&this[_0x85407a(0x1be)](_0x27c330,_0x22c9a0);})),this[_0x5eed99(0xd6)](this[_0x5eed99(0x1d4)][_0x5eed99(0x293)]['subscribe'](_0x67635d=>{const _0x37a831=_0x5eed99;if(_0x67635d==null)return;const {skeleton:_0x4237e0}=_0x67635d,{scene:_0x5b305a}=this[_0x37a831(0x16b)];_0x5b305a[_0x37a831(0x22e)][_0x37a831(0x263)](_0x33ba54(_0x577b5e=>{const _0x138fc8=_0x37a831;var _0x4a5ff1,_0x315254;const {offsetX:_0x4414c1,offsetY:_0x5c1ea8}=_0x577b5e,{x:_0x32906d,y:_0x53affc}=_0x5b305a[_0x138fc8(0x17f)](_0x3ac805[_0x138fc8(0x133)]([_0x4414c1,_0x5c1ea8])),{scaleX:_0x2adf27,scaleY:_0x4f0ceb}=_0x5b305a[_0x138fc8(0xbd)](),_0x249299=_0x5b305a[_0x138fc8(0x22c)](_0x51728d[_0x138fc8(0x1f3)]),_0xe135ed=_0x5b305a['getVpScrollXYInfoByPosToVp'](_0x3ac805[_0x138fc8(0x133)]([_0x32906d,_0x53affc]),_0x249299),_0x29e169=_0x4237e0[_0x138fc8(0x215)](_0x4414c1,_0x5c1ea8,_0x2adf27,_0x4f0ceb,_0xe135ed);((_0x4a5ff1=this['_lastPointer'])==null?void 0x0:_0x4a5ff1['column'])===_0x29e169['column']&&((_0x315254=this[_0x138fc8(0x12f)])==null?void 0x0:_0x315254[_0x138fc8(0x268)])===_0x29e169[_0x138fc8(0x268)]||this[_0x138fc8(0xe8)][_0x138fc8(0x151)](_0x33dde4=>{const _0x1b3330=_0x138fc8;_0x33dde4[_0x1b3330(0x1e6)](_0x29e169);});},0x64));}));}[_0x984091(0x1ad)](){const _0x200f0d=_0x984091;this[_0x200f0d(0xd6)](this[_0x200f0d(0x190)][_0x200f0d(0x1f4)][_0x200f0d(0x1c1)](_0xcb73ff=>{const _0x440cd6=_0x200f0d,_0x13375a=new _0x17e47a();return _0xcb73ff===C[_0x440cd6(0x23b)]&&(_0x13375a[_0x440cd6(0x292)](),_0x13375a[_0x440cd6(0x218)](this[_0x440cd6(0x1bb)][_0x440cd6(0x273)][_0x440cd6(0x1c1)](_0x901510=>{const _0x5538f9=_0x440cd6;_0x901510[_0x5538f9(0x244)]&&this['_commandService'][_0x5538f9(0x1fd)](_0x1fc37f['id'],{'unitId':this[_0x5538f9(0x16b)][_0x5538f9(0x282)],'subUnitId':_0x901510[_0x5538f9(0x244)]});}))),()=>_0x13375a['dispose']();}));}[_0x984091(0x1be)](_0x39caad,_0x163fd3){const _0xcffcd6=_0x984091;var _0x2ea829;const _0x5e0176=(_0x2ea829=this[_0xcffcd6(0x1d4)][_0xcffcd6(0xfb)]())==null?void 0x0:_0x2ea829[_0xcffcd6(0x188)];if(!_0x5e0176)return;this['_diffs'][_0xcffcd6(0x151)](_0x3a0a02=>{const _0x27efa6=_0xcffcd6;_0x3a0a02[_0x27efa6(0x171)]();});const {scene:_0x573c97}=this[_0xcffcd6(0x16b)],_0x22536d=Array[_0xcffcd6(0xc7)](_0x163fd3['keys']())[_0xcffcd6(0x19b)](_0x14ef2b=>_0x163fd3['get'](_0x14ef2b)[_0xcffcd6(0x19b)](_0x40895d=>{const _0x58954d=_0xcffcd6;var _0x5a0936;const {range:_0x3e5fb8,subUnitId:_0x43d15e,unitId:_0x4760f3}=_0x40895d,{startColumn:_0x3cf3a4,startRow:_0x4b9d53,endColumn:_0x39069b,endRow:_0x12fb88}=_0x3e5fb8,_0x479acc=_0x5b0a50(_0x4b9d53,_0x3cf3a4,_0x573c97,_0x5e0176),_0x5ad0fd=_0x5b0a50(_0x12fb88,_0x39069b,_0x573c97,_0x5e0176),{columnHeaderHeightAndMarginTop:_0x1fbe9b}=_0x5e0176,{startX:_0x33d63a,startY:_0x2a8499}=_0x479acc,{endX:_0x231901,endY:_0x547658}=_0x5ad0fd,_0x579dcb=_0x231901-_0x33d63a,_0x2ffce4=_0x547658-_0x2a8499,_0x478d75={'labelPosition':_0x2a8499-_0x1fbe9b>=0x14?_0x58954d(0x1ee):_0x58954d(0x26e),'sheetID':_0x43d15e,'range':_0x3e5fb8,'color':_0x58954d(0x16d),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x58954d(0x16d),'name':((_0x5a0936=this[_0x58954d(0x190)][_0x58954d(0x21a)](_0x14ef2b))==null?void 0x0:_0x5a0936['name'])||'','selection':_0x4760f3+'-'+_0x43d15e+'-'+_0x3e5fb8[_0x58954d(0x291)]+'-'+_0x3e5fb8[_0x58954d(0x1de)]+'-'+_0x3e5fb8[_0x58954d(0x19d)]+'-'+_0x3e5fb8[_0x58954d(0x262)],'left':_0x33d63a,'top':_0x2a8499,'width':_0x579dcb,'height':_0x2ffce4,'evented':!0x1,'zIndex':0x1};return new _0x546122('',_0x478d75);}))[_0xcffcd6(0x1f9)]();_0x573c97[_0xcffcd6(0x28b)](_0x22536d,0x1),this[_0xcffcd6(0xe8)]=new Set(_0x22536d);}[_0x984091(0x258)](){const _0x4da8e0=_0x984091;var _0x5104d8;(_0x5104d8=this[_0x4da8e0(0xe8)])==null||_0x5104d8[_0x4da8e0(0x151)](_0x56d6fa=>_0x56d6fa[_0x4da8e0(0x292)]());}[_0x984091(0x1e3)](){const _0x4018e6=_0x984091;return _0x1fdee3(this[_0x4018e6(0x135)],this['_renderManagerService']);}};q=Cs([P(0x1,_0x2bf91e(g)),P(0x2,_0x2bf91e($)),P(0x3,_0x3b6e00),P(0x4,_0x18493f),P(0x5,_0x2bf91e(_0x312ec0)),P(0x6,_0x590770)],q);function ys(){const _0x2fd70e=_0x984091,_0x3c2a3a=_0x227fbe(g),_0x438887=_0x3034cd(_0x3c2a3a[_0x2fd70e(0x195)]),[_0x207af2,_0x5a3ca8]=_0x431c73(!0x1),_0x5800da=_s(_0x438887);return _0x438887?_0x57a298(_0x2fd70e(0x1d6),{'className':_0x2fd70e(0x10f),'children':_0x25878c(_0x2fd70e(0x1d6),{'className':_0x2fd70e(0x121),'children':[_0x5800da[_0x2fd70e(0x19b)]((_0x467da4,_0x5b7465)=>_0x25878c(_0x481046,{'children':[_0x57a298($s,{'date':_0x467da4[_0x2fd70e(0x259)]}),_0x467da4[_0x2fd70e(0x224)][_0x2fd70e(0x19b)]((_0x3cf438,_0x208ebd)=>_0x57a298(Vs,{'index':[_0x5b7465,_0x208ebd],'item':_0x3cf438},_0x5b7465+'-'+_0x208ebd))]},_0x467da4[_0x2fd70e(0x259)])),_0x207af2&&_0x57a298(ws,{})]})}):_0x57a298(Us,{});}function ws(){const _0x4bc407=_0x984091;return _0x57a298(_0x4bc407(0x1d6),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x57a298(oe,{'className':'univer-animate-spin'})});}function Us(){const _0x44f357=_0x984091;return _0x57a298(_0x44f357(0x1d6),{'className':_0x44f357(0x1a3),'children':_0x57a298(_0x44f357(0x1f6),{'className':_0x44f357(0xcd),'children':_0x57a298(oe,{'className':_0x44f357(0x1aa)})})});}function $s(_0x34f499){const _0x470c21=_0x984091,_0x5d23e9=_0x227fbe(_0xd98ed4),{date:_0x11d8fb}=_0x34f499;return _0x57a298('div',{'className':_0x470c21(0x290),'children':J(_0x11d8fb,_0x5d23e9[_0x470c21(0xe1)]())});}function Vs(_0xe98a65){const _0x2bb824=_0x984091,{item:_0x25b246,index:_0x4a181e}=_0xe98a65,{time:_0x352322,user:_0x526a45}=_0x25b246,[_0x3a863b,_0x1da012]=_0x4a181e,_0x5cdb31=_0x227fbe(g),_0x13897c=_0x3034cd(_0x5cdb31[_0x2bb824(0x167)],'',!0x0)===_0x25b246['id'],_0x141cf5=_0x3a863b===0x0&&_0x1da012===0x0,_0xa2c20b=!_0x141cf5&&_0x5cdb31[_0x2bb824(0xdc)],_0x305426=_0x227fbe(_0xd98ed4),_0x5a0b01=_0x305426[_0x2bb824(0xe1)](),_0x4b89a7=re(_0x352322,_0x5a0b01),_0x5860f3=_0x305426['t'](_0x2bb824(0x128)),_0x48653e=_0x22a744(_0x1d8696=>{const _0x3dd056=_0x2bb824;_0x5cdb31[_0x3dd056(0x1c0)]!==C[_0x3dd056(0x184)]&&(_0x5cdb31['currentVersion']=_0x1d8696);},[_0x5cdb31]),_0x5dc486=_0x22a744(_0x5ec262=>{const _0x430372=_0x2bb824;_0x5cdb31[_0x430372(0x255)](_0x5ec262);},[_0x5cdb31]);return _0x25878c(_0x2bb824(0x1d6),{'className':_0x14a984(_0x2bb824(0x238),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x13897c}),'onClick':()=>_0x48653e(_0x25b246['id']),'children':[_0x25878c('div',{'className':_0x2bb824(0x103),'children':[_0x25878c('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x57a298('span',{'children':_0x4b89a7[_0x2bb824(0x139)]}),_0x141cf5&&_0x57a298(_0x2bb824(0x1f6),{'className':_0x2bb824(0x1a8),'children':_0x5860f3})]}),_0x57a298('div',{'children':_0xa2c20b&&_0x57a298(_0x4e501a,{'title':_0x305426['t'](_0x2bb824(0xe2)),'children':_0x57a298(_0x2bb824(0x1d6),{'onClick':_0x372a59=>{_0x372a59['stopPropagation'](),_0x5dc486(_0x25b246['id']);},'className':_0x2bb824(0x23d),'children':_0x57a298(ye,{})})})})]}),_0x57a298(_0x2bb824(0x1d6),{'className':_0x2bb824(0xe6),'children':os(_0x25b246,_0x305426)})]});}var ks=Object[_0x984091(0xde)],xs=(_0x26697d,_0x435a5c,_0x13e792,_0x3e4592)=>{const _0x188912=_0x984091;for(var _0x4bebff=_0x3e4592>0x1?void 0x0:_0x3e4592?ks(_0x435a5c,_0x13e792):_0x435a5c,_0x2aea8d=_0x26697d[_0x188912(0x143)]-0x1,_0x99988d;_0x2aea8d>=0x0;_0x2aea8d--)(_0x99988d=_0x26697d[_0x2aea8d])&&(_0x4bebff=_0x99988d(_0x4bebff)||_0x4bebff);return _0x4bebff;},w=(_0x55c0ee,_0x5bd15e)=>(_0x433a18,_0x330bfe)=>_0x5bd15e(_0x433a18,_0x330bfe,_0x55c0ee);const de=_0x984091(0x17a);let B=class extends _0x866ab8{constructor(_0x58cf6d,_0x41874a,_0x5e8213,_0x5b3d85,_0x4016f2){const _0x237eae=_0x984091;super(),l(this,_0x237eae(0x14a),null),(this['_sidebarService']=_0x58cf6d,this['_componentManager']=_0x41874a,this[_0x237eae(0x1bf)]=_0x5e8213,this[_0x237eae(0x190)]=_0x5b3d85,this[_0x237eae(0x24c)]=_0x4016f2,this['_init']());}[_0x984091(0x10e)](){const _0x2d63ac=_0x984091;this[_0x2d63ac(0x114)](),this['_openPanel']();}[_0x984091(0x102)](){const _0x2ac1a7=_0x984091;var _0x4969b3;if(this['_sidebarDisposable'])return;const _0x29c81f=((_0x4969b3=this['_configService']['getConfig'](ne))==null?void 0x0:_0x4969b3[_0x2ac1a7(0x248)])||de,_0x24fb91={'header':{'title':this[_0x2ac1a7(0x1bf)]['t'](_0x2ac1a7(0x25f))},'children':{'label':_0x29c81f},'onClose':()=>{const _0x3d3049=_0x2ac1a7;this['_sidebarDisposable']=null,this['_historyManagerService']['status']=ae[_0x3d3049(0x1ff)];}};this[_0x2ac1a7(0x14a)]=this[_0x2ac1a7(0x24a)][_0x2ac1a7(0x156)]({..._0x24fb91});}['_initPanel'](){const _0x9d93cc=_0x984091;this[_0x9d93cc(0xd6)](this[_0x9d93cc(0x225)][_0x9d93cc(0x154)](de,ys)),this[_0x9d93cc(0xd6)](this[_0x9d93cc(0x24a)][_0x9d93cc(0x241)][_0x9d93cc(0x277)](_0x5024e7(0x64))['subscribe'](_0xde94e9=>{const _0x350171=_0x9d93cc,{target:_0x50741a}=_0xde94e9||{};if(_0x50741a){const {scrollTop:_0x431d9c,scrollHeight:_0x18a565,clientHeight:_0x1c7664}=_0x50741a;_0x431d9c+_0x1c7664>=_0x18a565-0x5&&this[_0x350171(0x190)]['loadMoreVersions']();}}));}};B=xs([w(0x0,_0x953851),w(0x1,_0x2bf91e(_0x5bf20e)),w(0x2,_0x2bf91e(_0xd98ed4)),w(0x3,_0x2bf91e(g)),w(0x4,_0x3e44e8)],B);class As extends _0x866ab8{constructor(){const _0x5d1a16=_0x984091;super(),l(this,_0x5d1a16(0x235),new _0x4dccb1());}['open'](){return _0x216267(()=>{});}[_0x984091(0x1bd)](){}[_0x984091(0x1bc)](_0x535243){}[_0x984091(0x21b)](){const _0x3e272a=_0x984091;return this['_dialogOptions$'][_0x3e272a(0x12d)]();}}var Hs=Object[_0x984091(0x1f0)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x4e356,_0x1e8ec7,_0x3f4cf0)=>_0x1e8ec7 in _0x4e356?Hs(_0x4e356,_0x1e8ec7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f4cf0}):_0x4e356[_0x1e8ec7]=_0x3f4cf0,Bs=(_0x39f82b,_0x1359fb,_0x48ff8a,_0xfbce03)=>{const _0x3c5b6f=_0x984091;for(var _0x24861e=_0xfbce03>0x1?void 0x0:_0xfbce03?Fs(_0x1359fb,_0x48ff8a):_0x1359fb,_0x230931=_0x39f82b[_0x3c5b6f(0x143)]-0x1,_0x59a63e;_0x230931>=0x0;_0x230931--)(_0x59a63e=_0x39f82b[_0x230931])&&(_0x24861e=_0x59a63e(_0x24861e)||_0x24861e);return _0x24861e;},K=(_0x1a3d3e,_0x549960)=>(_0x58c341,_0x1fed7f)=>_0x549960(_0x58c341,_0x1fed7f,_0x1a3d3e),Ws=(_0x192444,_0x594bab,_0x7c25b7)=>Ys(_0x192444,_0x594bab+'',_0x7c25b7);const js='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';function _0x4a91(_0x4026ff,_0x289d1e){_0x4026ff=_0x4026ff-0xb7;const _0x167465=_0x1674();let _0x4a910f=_0x167465[_0x4026ff];return _0x4a910f;}let ee=class extends _0x5969c5{constructor(_0x3af10b=he,_0x1a0e80,_0x1b3279,_0x107f23){const _0x415da8=_0x984091;super(),this[_0x415da8(0x27d)]=_0x3af10b,this[_0x415da8(0xea)]=_0x1a0e80,this[_0x415da8(0x125)]=_0x1b3279,this[_0x415da8(0x24c)]=_0x107f23;const {..._0x2da1a3}=_0xd16e61({},he,this['_config']);this[_0x415da8(0x24c)][_0x415da8(0x198)](ne,_0x2da1a3);}[_0x984091(0x141)](){const _0x21cacb=_0x984091;[[g],[Y],[$],[F],[B],[A],[_0x214809,{'useClass':_0x2418a4}],[_0x23b5b3,{'useClass':As}],[_0x33b33a,{'useClass':_0x472de0}]][_0x21cacb(0x151)](_0x463c40=>this[_0x21cacb(0xea)][_0x21cacb(0x218)](_0x463c40)),this[_0x21cacb(0xea)]['get'](Y);}[_0x984091(0x1f1)](){const _0x5c68f8=_0x984091;[[q]][_0x5c68f8(0x151)](_0x4beec0=>{const _0x1d75d0=_0x5c68f8;this[_0x1d75d0(0xd6)](this['_renderManagerService'][_0x1d75d0(0x22f)](_0x168ac5['UNIVER_SHEET'],_0x4beec0));}),this[_0x5c68f8(0xea)][_0x5c68f8(0x15c)](A),this['_injector'][_0x5c68f8(0x15c)](B);}[_0x984091(0x278)](){const _0xac57b=_0x984091;this[_0xac57b(0xea)]['get']($);}};Ws(ee,'pluginName',js),ee=Bs([_0x200981(_0x2e4e8a,_0x1447c9),K(0x1,_0x2bf91e(_0x45370b)),K(0x2,_0x18493f),K(0x3,_0x3e44e8)],ee);export{g as HistoryManagerService,ae as HistoryModeStatus,hs as HistoryOrigin,ee as UniverEditHistoryViewerPlugin};