@univerjs-pro/edit-history-viewer 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -19
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x588085=_0x158b;function _0xdb7b(){const _0x145ca6=['フィルターを設定','756958oWRuGJ','このドキュメントは選択したバージョンに戻ります','3MGixuA','チャートを挿入','1411582FqtMtT','編集履歴リストの取得に失敗しました','ウィンドウ枠を固定','5230181PlKfdu','現在のユーザー','ワークシートを編集','不明なエラーが発生しました。ページを更新して復元結果を確認してください','605100SFseMw','条件付き書式を設定','このバージョンを復元','152ScResE','ワークシートを挿入','復元元:','復元中です。お待ちください...','88atkMJE','exports','保護を削除','52759duAAoC','69005YTaPJd','このバージョンを復元しますか?','1040742jZCOss','キャンセル','保護を追加','ワークシートを削除','読み込み中です。お待ちください...','10UaKohn','スパークラインを追加'];_0xdb7b=function(){return _0x145ca6;};return _0xdb7b();}(function(_0x1afd08,_0x14d4c1){const _0x18fea4=_0x158b,_0x26b7c2=_0x1afd08();while(!![]){try{const _0x2b8b9d=parseInt(_0x18fea4(0x9b))/0x1+-parseInt(_0x18fea4(0x9f))/0x2*(parseInt(_0x18fea4(0x9d))/0x3)+parseInt(_0x18fea4(0xa9))/0x4*(parseInt(_0x18fea4(0xb1))/0x5)+parseInt(_0x18fea4(0xa6))/0x6+parseInt(_0x18fea4(0xb0))/0x7*(parseInt(_0x18fea4(0xad))/0x8)+parseInt(_0x18fea4(0xb3))/0x9+-parseInt(_0x18fea4(0xb8))/0xa*(parseInt(_0x18fea4(0xa2))/0xb);if(_0x2b8b9d===_0x14d4c1)break;else _0x26b7c2['push'](_0x26b7c2['shift']());}catch(_0x2e34ce){_0x26b7c2['push'](_0x26b7c2['shift']());}}}(_0xdb7b,0x618a9));function _0x158b(_0x3fe346,_0x1faae3){_0x3fe346=_0x3fe346-0x99;const _0xdb7b44=_0xdb7b();let _0x158b7e=_0xdb7b44[_0x3fe346];return _0x158b7e;}const e={'editHistory':{'panel':{'title':'編集履歴','unknownUser':'不明なユーザー','listFetchError':_0x588085(0xa0),'revertConfirm':_0x588085(0xb2),'revertConfirmText':_0x588085(0x9c),'cancel':_0x588085(0xb4),'confirm':'確認','reverting':_0x588085(0xac),'revertFailed':_0x588085(0xa5),'currentVersion':'現在のバージョン','currentUser':_0x588085(0xa3),'revertDesc':'このバージョンを復元'},'info':{'loading':_0x588085(0xb7)},'header':{'back':'戻る','revert':_0x588085(0xa8)},'action':{'insertSheet':_0x588085(0xaa),'removeSheet':_0x588085(0xb6),'createSheet':'ブックを作成','setFilter':_0x588085(0x9a),'setFrozen':_0x588085(0xa1),'editSheet':_0x588085(0xa4),'revertSheet':'ブックを復元','revertSheetPrefix':_0x588085(0xab),'revertSheetSuffix':'','setDV':'データの入力規則を設定','setCF':_0x588085(0xa7),'addCF':'条件付き書式を追加','addProtection':_0x588085(0xb5),'addSparkline':_0x588085(0x99),'insertChart':_0x588085(0x9e),'deleteProtection':_0x588085(0xaf),'etc':'など'}}};module[_0x588085(0xae)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2883d7=_0x4b82;function _0x1f77(){const _0x38e01a=['18AvQkWJ','워크시트\x20편집','22hwFbon','9igNocu','99228cScJCe','현재\x20버전','스파크라인\x20추가','조건부\x20서식\x20설정','틀\x20고정\x20설정','2825916goAQEx','편집\x20기록','95790rZqjmS','워크시트\x20삽입','통합\x20문서\x20복원','차트\x20삽입','333834meGrkt','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','통합\x20문서\x20만들기','567YspHZH','7360575ZPifgu','알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','이\x20버전을\x20복원하시겠습니까?','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','4NpridZ','필터\x20설정','보호\x20삭제','알\x20수\x20없는\x20사용자','이\x20버전\x20복원','데이터\x20유효성\x20검사\x20설정','워크시트\x20삭제','3692056kEbRNL','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','2539060KYeXle','exports'];_0x1f77=function(){return _0x38e01a;};return _0x1f77();}function _0x4b82(_0x4bd1bb,_0x28c0bd){_0x4bd1bb=_0x4bd1bb-0x1ba;const _0x1f7799=_0x1f77();let _0x4b823b=_0x1f7799[_0x4bd1bb];return _0x4b823b;}(function(_0x420349,_0x2a5e02){const _0x53f464=_0x4b82,_0x5aecef=_0x420349();while(!![]){try{const _0x35d326=parseInt(_0x53f464(0x1c9))/0x1*(-parseInt(_0x53f464(0x1d1))/0x2)+parseInt(_0x53f464(0x1ba))/0x3*(-parseInt(_0x53f464(0x1be))/0x4)+parseInt(_0x53f464(0x1cd))/0x5+-parseInt(_0x53f464(0x1c5))/0x6*(-parseInt(_0x53f464(0x1cc))/0x7)+-parseInt(_0x53f464(0x1d8))/0x8*(parseInt(_0x53f464(0x1bd))/0x9)+-parseInt(_0x53f464(0x1da))/0xa+-parseInt(_0x53f464(0x1bc))/0xb*(parseInt(_0x53f464(0x1c3))/0xc);if(_0x35d326===_0x2a5e02)break;else _0x5aecef['push'](_0x5aecef['shift']());}catch(_0x3a5ab3){_0x5aecef['push'](_0x5aecef['shift']());}}}(_0x1f77,0xba203));const e={'editHistory':{'panel':{'title':_0x2883d7(0x1c4),'unknownUser':_0x2883d7(0x1d4),'listFetchError':_0x2883d7(0x1d0),'revertConfirm':_0x2883d7(0x1cf),'revertConfirmText':'이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','cancel':'취소','confirm':'확인','reverting':_0x2883d7(0x1ca),'revertFailed':_0x2883d7(0x1ce),'currentVersion':_0x2883d7(0x1bf),'currentUser':'현재\x20사용자','revertDesc':_0x2883d7(0x1d5)},'info':{'loading':_0x2883d7(0x1d9)},'header':{'back':'뒤로','revert':_0x2883d7(0x1d5)},'action':{'insertSheet':_0x2883d7(0x1c6),'removeSheet':_0x2883d7(0x1d7),'createSheet':_0x2883d7(0x1cb),'setFilter':_0x2883d7(0x1d2),'setFrozen':_0x2883d7(0x1c2),'editSheet':_0x2883d7(0x1bb),'revertSheet':_0x2883d7(0x1c7),'revertSheetPrefix':'복원\x20원본:','revertSheetSuffix':'','setDV':_0x2883d7(0x1d6),'setCF':_0x2883d7(0x1c1),'addCF':'조건부\x20서식\x20추가','addProtection':'보호\x20추가','addSparkline':_0x2883d7(0x1c0),'insertChart':_0x2883d7(0x1c8),'deleteProtection':_0x2883d7(0x1d3),'etc':'등'}}};module[_0x2883d7(0x1db)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x40a6(_0x317e49,_0x39dd2d){_0x317e49=_0x317e49-0x17b;const _0x369ab5=_0x369a();let _0x40a681=_0x369ab5[_0x317e49];return _0x40a681;}const _0x2d568e=_0x40a6;(function(_0x12d0fb,_0x5f2879){const _0x53102c=_0x40a6,_0x2a4a98=_0x12d0fb();while(!![]){try{const _0xa220cd=parseInt(_0x53102c(0x19b))/0x1*(-parseInt(_0x53102c(0x182))/0x2)+-parseInt(_0x53102c(0x190))/0x3*(-parseInt(_0x53102c(0x197))/0x4)+-parseInt(_0x53102c(0x199))/0x5*(-parseInt(_0x53102c(0x18d))/0x6)+-parseInt(_0x53102c(0x185))/0x7+parseInt(_0x53102c(0x198))/0x8+-parseInt(_0x53102c(0x191))/0x9*(parseInt(_0x53102c(0x18a))/0xa)+-parseInt(_0x53102c(0x181))/0xb*(-parseInt(_0x53102c(0x188))/0xc);if(_0xa220cd===_0x5f2879)break;else _0x2a4a98['push'](_0x2a4a98['shift']());}catch(_0xb4312d){_0x2a4a98['push'](_0x2a4a98['shift']());}}}(_0x369a,0xe227f));const e={'editHistory':{'panel':{'title':_0x2d568e(0x18e),'unknownUser':_0x2d568e(0x18c),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x2d568e(0x184),'revertConfirmText':_0x2d568e(0x17f),'cancel':_0x2d568e(0x19a),'confirm':_0x2d568e(0x186),'reverting':_0x2d568e(0x183),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x2d568e(0x196),'currentUser':_0x2d568e(0x17c),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x2d568e(0x189)},'header':{'back':_0x2d568e(0x18b),'revert':_0x2d568e(0x17e)},'action':{'insertSheet':_0x2d568e(0x17b),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x2d568e(0x194),'setFrozen':_0x2d568e(0x180),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x2d568e(0x17d),'revertSheetSuffix':'','setDV':_0x2d568e(0x187),'setCF':'set\x20conditional\x20formatting','addCF':_0x2d568e(0x19c),'addProtection':_0x2d568e(0x192),'addSparkline':_0x2d568e(0x193),'insertChart':'inserted\x20chart','deleteProtection':'delete\x20protection','etc':_0x2d568e(0x195)}}},t=e;module[_0x2d568e(0x18f)]=t;function _0x369a(){const _0x5b087f=['7780970BgLDNU','Back','Unknown\x20User','558LLkfoc','Edit\x20History','exports','12057fJxvqL','9YDTakS','add\x20protection','add\x20sparkline','set\x20filter',',\x20etc.','Current\x20Version','212PHfOrx','12928312dtbmTP','78790oGNkhE','Cancel','31433BfNbfd','add\x20conditional\x20formatting','inserted\x20worksheet','Current\x20User','Reverted\x20from','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20frozen','565554ZvNZtn','24nMyTku','Reverting,\x20please\x20wait...','Restore\x20this\x20version?','12809160ZFlBeE','Confirm','set\x20data\x20validation','144FIjQks','loading,\x20please\x20wait...'];_0x369a=function(){return _0x5b087f;};return _0x369a();}
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x2b09be=_0x141c;(function(_0xab83b1,_0x3e533c){const _0x29d22c=_0x141c,_0x4bc351=_0xab83b1();while(!![]){try{const _0x48476d=parseInt(_0x29d22c(0xcc))/0x1+-parseInt(_0x29d22c(0xc5))/0x2+parseInt(_0x29d22c(0xdb))/0x3*(parseInt(_0x29d22c(0xdd))/0x4)+parseInt(_0x29d22c(0xc3))/0x5*(parseInt(_0x29d22c(0xc4))/0x6)+parseInt(_0x29d22c(0xd7))/0x7+-parseInt(_0x29d22c(0xcf))/0x8+-parseInt(_0x29d22c(0xd3))/0x9*(-parseInt(_0x29d22c(0xbc))/0xa);if(_0x48476d===_0x3e533c)break;else _0x4bc351['push'](_0x4bc351['shift']());}catch(_0x81ef0e){_0x4bc351['push'](_0x4bc351['shift']());}}}(_0x54bb,0xccac6));function _0x54bb(){const _0x246a09=['92qEMsOV','Khôi\x20phục\x20phiên\x20bản\x20này?','Phiên\x20bản\x20hiện\x20tại','19090wHEBHD','Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','thêm\x20bảo\x20vệ','Xác\x20nhận','Khôi\x20phục\x20phiên\x20bản\x20này','exports','đã\x20đặt\x20cố\x20định','1082360cwwWOD','12kGENfu','2709166TAuRWO','đã\x20chèn\x20trang\x20tính','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','đang\x20tải,\x20vui\x20lòng\x20đợi...','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','Hủy','đã\x20chỉnh\x20sửa\x20trang\x20tính','908374OdkdQb','xóa\x20bảo\x20vệ','Lịch\x20sử\x20chỉnh\x20sửa','6575816YqeCpW','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','thêm\x20định\x20dạng\x20có\x20điều\x20kiện','Người\x20dùng\x20hiện\x20tại','117pjZkcE','Quay\x20lại','đã\x20chèn\x20biểu\x20đồ','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','7754327VRYYNz','thêm\x20biểu\x20đồ\x20nhỏ','đã\x20tạo\x20sổ\x20làm\x20việc','Đã\x20khôi\x20phục\x20từ','70566xzXCvy',',\x20v.v.'];_0x54bb=function(){return _0x246a09;};return _0x54bb();}const n={'editHistory':{'panel':{'title':_0x2b09be(0xce),'unknownUser':'Người\x20dùng\x20không\x20xác\x20định','listFetchError':_0x2b09be(0xc7),'revertConfirm':_0x2b09be(0xde),'revertConfirmText':_0x2b09be(0xbd),'cancel':_0x2b09be(0xca),'confirm':_0x2b09be(0xbf),'reverting':_0x2b09be(0xc9),'revertFailed':'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','currentVersion':_0x2b09be(0xbb),'currentUser':_0x2b09be(0xd2),'revertDesc':'Khôi\x20phục\x20phiên\x20bản\x20này'},'info':{'loading':_0x2b09be(0xc8)},'header':{'back':_0x2b09be(0xd4),'revert':_0x2b09be(0xc0)},'action':{'insertSheet':_0x2b09be(0xc6),'removeSheet':'đã\x20xóa\x20trang\x20tính','createSheet':_0x2b09be(0xd9),'setFilter':'đã\x20đặt\x20bộ\x20lọc','setFrozen':_0x2b09be(0xc2),'editSheet':_0x2b09be(0xcb),'revertSheet':_0x2b09be(0xd6),'revertSheetPrefix':_0x2b09be(0xda),'revertSheetSuffix':'','setDV':'đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','setCF':_0x2b09be(0xd0),'addCF':_0x2b09be(0xd1),'addProtection':_0x2b09be(0xbe),'addSparkline':_0x2b09be(0xd8),'insertChart':_0x2b09be(0xd5),'deleteProtection':_0x2b09be(0xcd),'etc':_0x2b09be(0xdc)}}};function _0x141c(_0x52f867,_0x1de657){_0x52f867=_0x52f867-0xbb;const _0x54bb51=_0x54bb();let _0x141c91=_0x54bb51[_0x52f867];return _0x141c91;}module[_0x2b09be(0xc1)]=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x5e35(_0x4f72e0,_0x3902e5){_0x4f72e0=_0x4f72e0-0x96;const _0x37210f=_0x3721();let _0x5e35fc=_0x37210f[_0x4f72e0];return _0x5e35fc;}const _0x509bbb=_0x5e35;(function(_0x2a43a2,_0x36dce1){const _0xb623a0=_0x5e35,_0xad6844=_0x2a43a2();while(!![]){try{const _0x5157be=-parseInt(_0xb623a0(0xab))/0x1+-parseInt(_0xb623a0(0xa2))/0x2*(parseInt(_0xb623a0(0x97))/0x3)+parseInt(_0xb623a0(0x9d))/0x4+-parseInt(_0xb623a0(0xaa))/0x5*(-parseInt(_0xb623a0(0xae))/0x6)+-parseInt(_0xb623a0(0xa9))/0x7*(-parseInt(_0xb623a0(0xb1))/0x8)+-parseInt(_0xb623a0(0xa6))/0x9*(-parseInt(_0xb623a0(0x9c))/0xa)+parseInt(_0xb623a0(0xa1))/0xb;if(_0x5157be===_0x36dce1)break;else _0xad6844['push'](_0xad6844['shift']());}catch(_0x3e36c2){_0xad6844['push'](_0xad6844['shift']());}}}(_0x3721,0xdc495));function _0x3721(){const _0x4cc26e=['加载中,请稍等...','8Gvhqew','当前用户','设置了条件格式','还原到此版本','正在还原,请稍等...','的版本','该文档将会被还原到选中版本','添加了迷你图','150369PcRIjG','设置了筛选','设置了数据验证','还原到此版本?','移除了保护范围','18490jkzPOb','137084ajeaVn','插入了图表','添加了保护范围','还原了','14532661tTBuSd','14TVxCHa','获取编辑历史记录列表失败','删除了工作表','还原了版本','1017EBGvUC','当前版本','插入了工作表','4568137yfhvSL','25Slekal','1769961vqZjVB','冻结了工作表','未知用户','967398YdQxHz','创建了工作表'];_0x3721=function(){return _0x4cc26e;};return _0x3721();}const e={'editHistory':{'panel':{'title':'历史记录','unknownUser':_0x509bbb(0xad),'listFetchError':_0x509bbb(0xa3),'revertConfirm':_0x509bbb(0x9a),'revertConfirmText':_0x509bbb(0xb7),'cancel':'取消','confirm':'确认','reverting':_0x509bbb(0xb5),'revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x509bbb(0xa7),'currentUser':_0x509bbb(0xb2),'revertDesc':_0x509bbb(0xb4)},'info':{'loading':_0x509bbb(0xb0)},'header':{'back':'返回','revert':_0x509bbb(0xb4)},'action':{'insertSheet':_0x509bbb(0xa8),'removeSheet':_0x509bbb(0xa4),'createSheet':_0x509bbb(0xaf),'setFilter':_0x509bbb(0x98),'setFrozen':_0x509bbb(0xac),'editSheet':'编辑了工作表','revertSheet':_0x509bbb(0xa5),'revertSheetPrefix':_0x509bbb(0xa0),'revertSheetSuffix':_0x509bbb(0xb6),'setDV':_0x509bbb(0x99),'setCF':_0x509bbb(0xb3),'addCF':'添加了条件格式','addProtection':_0x509bbb(0x9f),'addSparkline':_0x509bbb(0x96),'insertChart':_0x509bbb(0x9e),'deleteProtection':_0x509bbb(0x9b),'etc':',等'}}};module['exports']=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x5757(_0x49aca3,_0x575efb){_0x49aca3=_0x49aca3-0x102;const _0x572bc7=_0x572b();let _0x5757cc=_0x572bc7[_0x49aca3];return _0x5757cc;}const _0x255d55=_0x5757;(function(_0xb30a1d,_0x10dd9c){const _0x5187d3=_0x5757,_0x4323b6=_0xb30a1d();while(!![]){try{const _0x39e67c=parseInt(_0x5187d3(0x115))/0x1*(parseInt(_0x5187d3(0x117))/0x2)+parseInt(_0x5187d3(0x11a))/0x3*(-parseInt(_0x5187d3(0x107))/0x4)+parseInt(_0x5187d3(0x114))/0x5*(parseInt(_0x5187d3(0x109))/0x6)+parseInt(_0x5187d3(0x113))/0x7*(parseInt(_0x5187d3(0x11b))/0x8)+-parseInt(_0x5187d3(0x108))/0x9*(parseInt(_0x5187d3(0x111))/0xa)+-parseInt(_0x5187d3(0x103))/0xb*(-parseInt(_0x5187d3(0x11d))/0xc)+parseInt(_0x5187d3(0x122))/0xd;if(_0x39e67c===_0x10dd9c)break;else _0x4323b6['push'](_0x4323b6['shift']());}catch(_0x42b518){_0x4323b6['push'](_0x4323b6['shift']());}}}(_0x572b,0xb1e55));function _0x572b(){const _0x122265=['Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','inserted\x20chart','10566017duQjxw','Unknown\x20User','Confirm','Current\x20User','4068OhEynt','18PLOuJR','24XYwiDQ','Edit\x20History','Reverted\x20from','edited\x20worksheet','loading,\x20please\x20wait...','exports','Restore\x20this\x20version?','set\x20frozen','6695800IFtHwI',',\x20etc.','3395CQsEly','788875YHQWBb','1SOJLKx','Cancel','687598EYjYsh','set\x20conditional\x20formatting','Current\x20Version','2103qjhgmD','4128vRxiSu','created\x20workbook','12AmhLpx','add\x20sparkline','add\x20conditional\x20formatting','add\x20protection','delete\x20protection','7735416yrlfhS','set\x20filter'];_0x572b=function(){return _0x122265;};return _0x572b();}const e={'editHistory':{'panel':{'title':_0x255d55(0x10a),'unknownUser':_0x255d55(0x104),'listFetchError':_0x255d55(0x124),'revertConfirm':_0x255d55(0x10f),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x255d55(0x116),'confirm':_0x255d55(0x105),'reverting':'Reverting,\x20please\x20wait...','revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x255d55(0x119),'currentUser':_0x255d55(0x106),'revertDesc':_0x255d55(0x125)},'info':{'loading':_0x255d55(0x10d)},'header':{'back':'Back','revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0x255d55(0x11c),'setFilter':_0x255d55(0x123),'setFrozen':_0x255d55(0x110),'editSheet':_0x255d55(0x10c),'revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x255d55(0x10b),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x255d55(0x118),'addCF':_0x255d55(0x11f),'addProtection':_0x255d55(0x120),'addSparkline':_0x255d55(0x11e),'insertChart':_0x255d55(0x102),'deleteProtection':_0x255d55(0x121),'etc':_0x255d55(0x112)}}},t=e;module[_0x255d55(0x10e)]=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x404af9=_0x44d0;(function(_0x3ff3d8,_0x473cf2){const _0x5b8128=_0x44d0,_0x44ce89=_0x3ff3d8();while(!![]){try{const _0x79a94f=-parseInt(_0x5b8128(0x1f3))/0x1+parseInt(_0x5b8128(0x1b6))/0x2+-parseInt(_0x5b8128(0x177))/0x3+-parseInt(_0x5b8128(0x16f))/0x4*(-parseInt(_0x5b8128(0x1f9))/0x5)+parseInt(_0x5b8128(0x190))/0x6+-parseInt(_0x5b8128(0x1f6))/0x7*(-parseInt(_0x5b8128(0x19d))/0x8)+-parseInt(_0x5b8128(0x28e))/0x9*(parseInt(_0x5b8128(0x2c8))/0xa);if(_0x79a94f===_0x473cf2)break;else _0x44ce89['push'](_0x44ce89['shift']());}catch(_0x4b5c18){_0x44ce89['push'](_0x44ce89['shift']());}}}(_0x4bc1,0xdebba));function _0x4bc1(){const _0x98a887=['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','from','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','0\x200\x2016\x2017','INTERNAL_ERROR','univer-m-auto\x20univer-animate-spin','_initActiveSwitch','#0B9EFB','NOT_FOUND','url(#restore-icon_clip0_1247_2)','APPLY_REJECT','loadingState$','_combineRanges','onRendered','editHistory.panel.revertConfirm','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','WECHAT_HAS_BEEN_BOUND','_historyManagerService','136pldmeV','Info','&lastLabel=','SelectUnProtectedCells','subscribeEvent','YUUMI_ALL_TABLES_IS_INVALID','.univer-app-container-content','editHistory.action.etc','2701752WLimwk','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_DOC','_permissionService','loadingState','updatePermissionPoint','length','get','ranges','_initRender','startRow','endRevision','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','_localeService','univer-flex\x20univer-items-center\x20univer-justify-center','getDataRange','status','LOGIN_TOKEN_PROCESSING_FAILED','_createUnit','univer-text-gray-500','createTime','univerjs-icon\x20univerjs-icon-','YUUMI_RATE_OVER_LIMIT','rect','InsertHyperlink','8971074cknUAQ','edit-history-viewer.config','registerRenderModule','setFrozen','white','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','concat','split','padStart','position','values','top','deleteProtection','8bgeuOy','_status$','skeleton','HideWorksheet','triggerLoadSheet','_canRevert','getCurrent','ERROR_AGAIN','getConfig','pipe','executeCommand','_compressMutationService','REDEMPTION_USER_NOT_ELIGIBLE','_getRangesByMutation','span','_uiPartsService','data','unitId','ENTITLE_CHAT_LIMIT_EXCEED','currentVersion$','100%','filter','hasCommand','div','FloatImg','996340QxykgS','url(#$1','entered','LoadingMultiIcon','anonymous','_versions$','Loaded','isArray','_unitId$','createElement','USER_NOT_FOUND','error','toString','_cellEditorManagerService','some','http://www.w3.org/2000/svg','CURRENT_STATUS_CANNOT_OPERATE','getUnitOnRev','RwHgtClWdt','getMinutes','editHistory.info.loading','addProtection','YUUMI_URL_COL_OUT_OF_RANGE','open','_initMaskContainer','none','rev','_config','APPLY_REVISION_CONFILICT','userID','_versionDiffService','editHistory.panel.revertDesc','LICENSE_DISTRO_REJECTED','idSuffix','UNRECOGNIZED','_historyContainerId','univer-overflow-hidden','getVersion','fetchThroughInterceptors','INVALID_ARGUMENT','editHistory.panel.currentVersion','add','style','removeSheet','SetWorksheetStyle','Today','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_NEED_BILLING_ADDRESS','colorChannel1','interceptor','YUUMI_ASYNCIO_CANCELLED','setCF','Copy','scrollEvent$','value','MoveSheet','CopySheet','COMPLETION_FINISHED','forEach','triggerRevert','getViewport','10974WIAntk','RestoreIcon','1em','7726621Fhzgya','REDEMPTION_INVALID_CODE','InsertRow','105845AUzQgg','next','createSheet','_renderManagerService','ViemRwHgtClWdt','center','_context','INVITE_CODE_HAS_BEEN_UES','subType','getCellPositionByOffset','_revertRevision$','PY_RUNTIME_SCRIPT_ERROR','YUUMI_AI_RUN_FAILED','refreshRangeProtectPermission','REDEMPTION_USER_REDEEM_TIMES_EXCEED','DeleteColumn','hideMask','_removeDiffMarks','editHistory.panel.confirm','MoveWorksheet','editHistory.panel.unknownUser','_diffRangesMap','_univerInstanceService','hidden','_openPanel','ViewHistory','tag','show','CHANGESET_REVISION_CONFILICT','_maskElement','revertRevision$','currentColor','workbook','SNAPSHOT_INVALID_SNAPSHOT','string','versions','Exited','loadSheet','rgba(58,\x2096,\x20247,\x200.20)','_init','PERMISSION_DENIED','_updateVersions','getMember','command','VIRTUAL_VERSION_NOW','startRevision','insertSheet','editHistory.action.','startColumn','body','push','evenodd','transformMutations','View','_confirmService','_extractRanges','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','exited','loading','zIndex','getCurrentLocale','MOBILE_HAS_BEEN_BOUND','currentVersionDiff$','row','UNIVER_SHEET','_getAPIPrefix','SetCellStyle','close','_httpService','editHistory.panel.title','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','ENTITLE_CAN_NOT_BUY_LOWER_OTP','attrs','History','loaded','loadMoreVersions','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','ALREADY_EXISTS','getUnitId','currentSkeleton$','includes','USER_IS_ANONYMOUS','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','DATA_SOURCE_TOO_LARGE','symbol','REDEMPTION_CODE_NOT_STARTED','triggerLoadVersions','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','setFilter','YUUMI_CONNECTOR_URL_NOT_FOUND','_lastPointer','xlink:href','forValue','onStarting','LOGIN_FAILED','registerComponent','editHistory.panel.currentUser','pluginName','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','InsertColumn','ensureVersion','Filter','primary','restore-icon_clip0_1247_2','editHistory.panel.listFetchError','Duplicate','ENTITLE_REPORT_LIMIT_EXCEED','setDV','Share','register','_members','_injector','getVersions','UniverIcon','onPointerMove$','APPLY_PERMISSION_DENIED','Edit','displayName','_configService','CONNECTOR_DATA_TOO_LARGE','defineProperty','userId','addObjects','EditExtraObject','bottom','Loading','querySelector','blocks','keys','AUTHORIZE_CODE_ILLEGAL','confirm','getHours','COMPRESS_MUTATION_APPLY','asObservable','onSteady','REDEMPTION_CODE_HAS_BEEN_CREATED','Init','getCurrentVersion','justifyContent','CreateWorksheet','0\x200\x2016\x2016','replace','loading-multi-icon','_transformMutationByOrder','flex','_createMask','_commandService','rules','2562462SkaeQQ','flat','/universer-api/history','disposeWithMe','HEADER','rule','then','m1Prime','_sidebarDisposable','sheet','SetColumnStyle','ENTITLE_INSUFFICIENT_QUOTA','status$','REDEMPTION_CODE_FULLY_REDEEMED','subUnitId','endRow','history-mask','editHistory.panel.cancel','state$','RenameSheet','endColumn','1000','Entered','_hasMore','HideSheet','editSheet','YUUMI_UNABLE_LOAD_URL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','time','MOBILE_VERIFY_CODE_MISMATCH','back-icon','_dialogOptions$','getOwnPropertyDescriptor','CreateSheet','UNAUTHENTICATED','ViewFilter','SetRowStyle','children','_workbookDataCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','univer-text-2xl\x20dark:!univer-text-white','button','_getSheetObject','permissionPointUpdate$','_sheetSkeletonManagerService','TOO_MANY_REQUESTS','_getActiveSubUnitId','revertSheet','current','_transformService','UNDEFINED','getVpScrollXYInfoByPosToVp','PivotTable','trim','fetchMissingChangesets','getInterceptPoints','color','70arysri','_componentManager','display','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_sidebarService','getDeserializedSheetBlock','_currentVersionDiff$','UNIVER_PROJECT','_updateDiffMarks','path','UNIVER_UNKNOWN','DeleteRow','INVITE_CODE_REQUIRED','defs','params','action','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribe','substring','setValue','find','Error','Sort','_snapshotServerService','DeleteWorksheet','column','ManageCollaborator','_messageService','LICENSE_MAX_UNITS_EXCEEDED','dateString','_lastLabel','svg','INVITE_CODE_ALREADY_BOUND','_historyFetchService','stopPropagation','versions$','toISOString','currentVersion','restore-icon','Comment','entities','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','syncExecuteCommand','fill','editHistory.action.revertSheetSuffix','blockMeta','mask','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','has','set','cellValue','EMAIL_VERIFY_CODE_MISMATCH','_currentVersion$','/list?length=20','_fetching','_initPanel','range','editHistory.action.revertSheetPrefix','use','ENTITLE_DUP_SUBSCRIPTION','commands','dispose','assign','ZH_CN','unitId$','mutations','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','className','recoverTime','code','_maskContainer','APPLY_DUPLICATED','active','DeleteSheet','now','_diffs','entries','showMask','rgba(225,\x20225,\x20225,\x200.5)','width',':\x20(','init','map','_loadingState$','block','SelectProtectedCells','RecoverHistory','Delete','RenameWorksheet','SNAPSHOT_HAS_BEEN_REMOVED','makeDirty','canRevert','Print'];_0x4bc1=function(){return _0x98a887;};return _0x4bc1();}var xe=Object[_0x404af9(0x272)],Ae=(_0xb436f3,_0x3244cb,_0x13c7b7)=>_0x3244cb in _0xb436f3?xe(_0xb436f3,_0x3244cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c7b7}):_0xb436f3[_0x3244cb]=_0x13c7b7,_=(_0x470940,_0x1e72e0,_0x3f8e17)=>Ae(_0x470940,typeof _0x1e72e0!=_0x404af9(0x24e)?_0x1e72e0+'':_0x1e72e0,_0x3f8e17);import{RevertRevisionMutation as _0x57cf90,CreateUnitMutation as _0x2154a0,ISnapshotServerService as _0x43fa94,CompressMutationService as _0x58ee99,transformSnapshotToWorkbookData as _0xd6ba67,ITransformService as _0x2868db,parseProtocolChangeset as _0x556da7,isTransformMutationsSuccess as _0x2443f4}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x66c693,CollaborationImageIoService as _0xddd865}from'@univerjs-pro/collaboration-client';import{Disposable as _0x36218d,LocaleType as _0x530f2a,IUniverInstanceService as _0x2e76e0,ICommandService as _0x5eb178,IConfigService as _0x183e8e,Inject as _0x5b46f5,UniverInstanceType as _0x5243d4,LocaleService as _0x29131e,IPermissionService as _0x1c38e5,Injector as _0x560760,ObjectMatrix as _0x183244,debounce as _0x57d71e,DisposableCollection as _0x4e0a1f,toDisposable as _0x37e368,DependentOn as _0x33e689,Plugin as _0x20ed36,merge as _0x4411cf}from'@univerjs/core';import{IImageIoService as _0x16cf14}from'@univerjs/drawing';import{IRenderManagerService as _0x1f61bc,Vector2 as _0x35440c,SHEET_VIEWPORT_KEY as _0x177ccd}from'@univerjs/engine-render';import{HTTPService as _0x3c54ff,UniverNetworkPlugin as _0x56e334}from'@univerjs/network';import{ICellEditorManagerService as _0x5d5db9,SheetSkeletonManagerService as _0x10795b,getCoordByCell as _0x1fdd80,getSheetObject as _0x1463cb,UniverSheetsUIPlugin as _0x2abb60}from'@univerjs/sheets-ui';import{IMessageService as _0x2ab0fe,IConfirmService as _0x528aff,useDependency as _0x15c3e2,useObservable as _0x4915b3,IUIPartsService as _0x1feca7,BuiltInUIPart as _0x4cc0e2,connectInjector as _0x24788c,ISidebarService as _0x20fa5e,ComponentManager as _0x154fd9,IDialogService as _0x3bd24e}from'@univerjs/ui';import{MessageType as _0x58377d,clsx as _0x26ecde,Button as _0xbfd12c,borderBottomClassName as _0x4990a2,Tooltip as _0x3d7272}from'@univerjs/design';import{InsertSheetMutation as _0x1bb918,RemoveSheetMutation as _0x3e6cd6,SetFrozenMutation as _0x891927,AddWorksheetProtectionMutation as _0x67553c,AddRangeProtectionMutation as _0x5290e6,DeleteRangeProtectionMutation as _0x58b610,DeleteWorksheetProtectionMutation as _0x429d21,SheetPermissionInitController as _0xed1c45,WorkbookEditablePermission as _0x112c69,WorkbookRenameSheetPermission as _0x19ce75,WorkbookMoveSheetPermission as _0x3dadcb,WorkbookHideSheetPermission as _0x4b8645,SetWorksheetHideMutation as _0x216c39,SetRangeValuesMutation as _0x5381c7,SetRangeProtectionMutation as _0x480fa6,ReorderRangeMutation as _0x44007b,RemoveNumfmtMutation as _0x2ffdc3,SetNumfmtMutation as _0x1c753e,MoveColsMutation as _0x1ff6aa,MoveRowsMutation as _0xe339b2,MoveRangeMutation as _0x30ac24,InsertColMutation as _0x5ae370,InsertRowMutation as _0x1c8a0f,AddWorksheetMergeMutation as _0x4fba80,RangeMergeUtil as _0x2f7c40,findAllRectangle as _0x235cca,SetWorksheetActiveOperation as _0x5cc330}from'@univerjs/sheets';import{BehaviorSubject as _0xb5c9d9,combineLatest as _0x339d12,switchMap as _0x3a1e7c,map as _0x1ce898,of as _0x3b9a29,debounceTime as _0x48ae85,Subject as _0x39379a}from'rxjs';import{AddSheetSparklineMutation as _0x5af411}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x45623b,UpdateDataValidationMutation as _0x15df1e}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x42e12a,AddConditionalRuleMutation as _0x141933}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x5ddd08}from'@univerjs/sheets-filter';import{jsxs as _0x305f6a,jsx as _0x5bf032}from'react/jsx-runtime';import{useRef as _0x406644,createElement as _0x2b3259,forwardRef as _0x5d5949,useCallback as _0x2e0bd5,useState as _0x6b35a1,Fragment as _0x351adb}from'react';import{SheetCollabCursorShape as _0x2cf8da}from'@univerjs-pro/collaboration-client-ui';const Pe=_0x404af9(0x191),le={};var ss=Object['getOwnPropertyDescriptor'],is=(_0x27fcfe,_0x477b55,_0x205814,_0x50377f)=>{const _0x4ba91c=_0x404af9;for(var _0x21faeb=_0x50377f>0x1?void 0x0:_0x50377f?ss(_0x477b55,_0x205814):_0x477b55,_0x2e4c01=_0x27fcfe[_0x4ba91c(0x17d)]-0x1,_0x2228ae;_0x2e4c01>=0x0;_0x2e4c01--)(_0x2228ae=_0x27fcfe[_0x2e4c01])&&(_0x21faeb=_0x2228ae(_0x21faeb)||_0x21faeb);return _0x21faeb;},ns=(_0x3ea51c,_0x31b141)=>(_0x361a8e,_0x458354)=>_0x31b141(_0x361a8e,_0x458354,_0x3ea51c);let H=class extends _0x36218d{constructor(_0x4ac706){const _0x1bf26f=_0x404af9;super(),this['_cellEditorManagerService']=_0x4ac706,this[_0x1bf26f(0x220)]();}['_init'](){const _0x4dcd48=_0x404af9;this[_0x4dcd48(0x291)](this[_0x4dcd48(0x1c3)][_0x4dcd48(0x2a0)][_0x4dcd48(0x2d9)](_0x42b520=>{const _0x400676=_0x4dcd48;_0x42b520!=null&&_0x42b520[_0x400676(0x214)]&&this[_0x400676(0x1c3)]['setState']({'show':!0x1});}));}};H=is([ns(0x0,_0x5d5db9)],H);var W=(_0x10b5f1=>(_0x10b5f1[_0x10b5f1['UNDEFINED']=0x0]=_0x404af9(0x2c1),_0x10b5f1[_0x10b5f1['OK']=0x1]='OK',_0x10b5f1[_0x10b5f1[_0x404af9(0x161)]=0x2]=_0x404af9(0x161),_0x10b5f1[_0x10b5f1[_0x404af9(0x221)]=0x3]=_0x404af9(0x221),_0x10b5f1[_0x10b5f1[_0x404af9(0x165)]=0x4]=_0x404af9(0x165),_0x10b5f1[_0x10b5f1[_0x404af9(0x2b0)]=0x5]=_0x404af9(0x2b0),_0x10b5f1[_0x10b5f1[_0x404af9(0x246)]=0x6]=_0x404af9(0x246),_0x10b5f1[_0x10b5f1[_0x404af9(0x1dd)]=0x7]='INVALID_ARGUMENT',_0x10b5f1[_0x10b5f1[_0x404af9(0x2bc)]=0x8]=_0x404af9(0x2bc),_0x10b5f1[_0x10b5f1[_0x404af9(0x1ef)]=0x9]='COMPLETION_FINISHED',_0x10b5f1[_0x10b5f1[_0x404af9(0x258)]=0xa]=_0x404af9(0x258),_0x10b5f1[_0x10b5f1[_0x404af9(0x2ab)]=0xb]=_0x404af9(0x2ab),_0x10b5f1[_0x10b5f1[_0x404af9(0x2d8)]=0xc]=_0x404af9(0x2d8),_0x10b5f1[_0x10b5f1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x404af9(0x2fb),_0x10b5f1[_0x10b5f1[_0x404af9(0x178)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10b5f1[_0x10b5f1[_0x404af9(0x27b)]=0xf]=_0x404af9(0x27b),_0x10b5f1[_0x10b5f1[_0x404af9(0x188)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x10b5f1[_0x10b5f1[_0x404af9(0x1c6)]=0x64]=_0x404af9(0x1c6),_0x10b5f1[_0x10b5f1[_0x404af9(0x1a4)]=0x65]=_0x404af9(0x1a4),_0x10b5f1[_0x10b5f1[_0x404af9(0x1c0)]=0xc9]='USER_NOT_FOUND',_0x10b5f1[_0x10b5f1[_0x404af9(0x24a)]=0xca]=_0x404af9(0x24a),_0x10b5f1[_0x10b5f1[_0x404af9(0x215)]=0x1389]=_0x404af9(0x215),_0x10b5f1[_0x10b5f1[_0x404af9(0x21a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x10b5f1[_0x10b5f1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x404af9(0x159),_0x10b5f1[_0x10b5f1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x10b5f1[_0x10b5f1[_0x404af9(0x167)]=0x1b59]=_0x404af9(0x167),_0x10b5f1[_0x10b5f1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x10b5f1[_0x10b5f1[_0x404af9(0x1d2)]=0x1b5b]=_0x404af9(0x1d2),_0x10b5f1[_0x10b5f1[_0x404af9(0x26d)]=0x1b5c]=_0x404af9(0x26d),_0x10b5f1[_0x10b5f1[_0x404af9(0x30f)]=0x1b5d]=_0x404af9(0x30f),_0x10b5f1[_0x10b5f1[_0x404af9(0x271)]=0x1f41]=_0x404af9(0x271),_0x10b5f1[_0x10b5f1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x404af9(0x2e4),_0x10b5f1[_0x10b5f1[_0x404af9(0x2f7)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x10b5f1[_0x10b5f1[_0x404af9(0x24b)]=0x232b]=_0x404af9(0x24b),_0x10b5f1[_0x10b5f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x10b5f1[_0x10b5f1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x404af9(0x1d6),_0x10b5f1[_0x10b5f1[_0x404af9(0x2a8)]=0x2711]=_0x404af9(0x2a8),_0x10b5f1[_0x10b5f1[_0x404af9(0x1cc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10b5f1[_0x10b5f1[_0x404af9(0x18d)]=0x2713]=_0x404af9(0x18d),_0x10b5f1[_0x10b5f1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x10b5f1[_0x10b5f1[_0x404af9(0x24c)]=0x271a]=_0x404af9(0x24c),_0x10b5f1[_0x10b5f1[_0x404af9(0x1e8)]=0x271b]=_0x404af9(0x1e8),_0x10b5f1[_0x10b5f1[_0x404af9(0x2b5)]=0x271c]=_0x404af9(0x2b5),_0x10b5f1[_0x10b5f1[_0x404af9(0x174)]=0x271d]=_0x404af9(0x174),_0x10b5f1[_0x10b5f1[_0x404af9(0x2a9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x10b5f1[_0x10b5f1[_0x404af9(0x205)]=0x271f]=_0x404af9(0x205),_0x10b5f1[_0x10b5f1[_0x404af9(0x253)]=0x2720]=_0x404af9(0x253),_0x10b5f1[_0x10b5f1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x404af9(0x204),_0x10b5f1[_0x10b5f1[_0x404af9(0x200)]=0x2ee1]=_0x404af9(0x200),_0x10b5f1[_0x10b5f1['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x10b5f1[_0x10b5f1[_0x404af9(0x2d4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x10b5f1[_0x10b5f1['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x10b5f1[_0x10b5f1[_0x404af9(0x2e8)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x10b5f1[_0x10b5f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x404af9(0x16d),_0x10b5f1[_0x10b5f1[_0x404af9(0x236)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x10b5f1[_0x10b5f1['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x10b5f1[_0x10b5f1[_0x404af9(0x240)]=0x36b1]=_0x404af9(0x240),_0x10b5f1[_0x10b5f1[_0x404af9(0x2cb)]=0x36b2]=_0x404af9(0x2cb),_0x10b5f1[_0x10b5f1[_0x404af9(0x303)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x10b5f1[_0x10b5f1['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x404af9(0x1e4),_0x10b5f1[_0x10b5f1[_0x404af9(0x1af)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x10b5f1[_0x10b5f1[_0x404af9(0x264)]=0x3716]=_0x404af9(0x264),_0x10b5f1[_0x10b5f1[_0x404af9(0x299)]=0x3717]=_0x404af9(0x299),_0x10b5f1[_0x10b5f1['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x404af9(0x1e5),_0x10b5f1[_0x10b5f1[_0x404af9(0x1f7)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x10b5f1[_0x10b5f1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x10b5f1[_0x10b5f1[_0x404af9(0x29b)]=0x3a9b]=_0x404af9(0x29b),_0x10b5f1[_0x10b5f1[_0x404af9(0x24f)]=0x3a9c]=_0x404af9(0x24f),_0x10b5f1[_0x10b5f1[_0x404af9(0x1a9)]=0x3a9d]=_0x404af9(0x1a9),_0x10b5f1[_0x10b5f1[_0x404af9(0x207)]=0x3a9e]=_0x404af9(0x207),_0x10b5f1[_0x10b5f1[_0x404af9(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x10b5f1[_0x10b5f1[_0x404af9(0x24d)]=0x3e81]=_0x404af9(0x24d),_0x10b5f1[_0x10b5f1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x10b5f1))(W||{}),x=(_0x5e8a4f=>(_0x5e8a4f[_0x5e8a4f[_0x404af9(0x2d2)]=0x0]=_0x404af9(0x2d2),_0x5e8a4f[_0x5e8a4f['UNIVER_DOC']=0x1]=_0x404af9(0x179),_0x5e8a4f[_0x5e8a4f[_0x404af9(0x239)]=0x2]=_0x404af9(0x239),_0x5e8a4f[_0x5e8a4f['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5e8a4f[_0x5e8a4f[_0x404af9(0x2cf)]=0x4]='UNIVER_PROJECT',_0x5e8a4f[_0x5e8a4f[_0x404af9(0x1d8)]=-0x1]=_0x404af9(0x1d8),_0x5e8a4f))(x||{}),D=(_0x29f544=>(_0x29f544[_0x29f544[_0x404af9(0x22e)]=0x0]='View',_0x29f544[_0x29f544[_0x404af9(0x26e)]=0x1]=_0x404af9(0x26e),_0x29f544[_0x29f544[_0x404af9(0x2e2)]=0x2]=_0x404af9(0x2e2),_0x29f544[_0x29f544[_0x404af9(0x15c)]=0x3]=_0x404af9(0x15c),_0x29f544[_0x29f544[_0x404af9(0x263)]=0x4]=_0x404af9(0x263),_0x29f544[_0x29f544['Comment']=0x5]=_0x404af9(0x2ef),_0x29f544[_0x29f544[_0x404af9(0x1ea)]=0x6]=_0x404af9(0x1ea),_0x29f544[_0x29f544['Share']=0x7]=_0x404af9(0x266),_0x29f544[_0x29f544['Export']=0x8]='Export',_0x29f544[_0x29f544[_0x404af9(0x20c)]=0x9]='MoveWorksheet',_0x29f544[_0x29f544[_0x404af9(0x2e0)]=0xa]=_0x404af9(0x2e0),_0x29f544[_0x29f544[_0x404af9(0x1a0)]=0xb]=_0x404af9(0x1a0),_0x29f544[_0x29f544[_0x404af9(0x158)]=0xc]=_0x404af9(0x158),_0x29f544[_0x29f544[_0x404af9(0x285)]=0xd]=_0x404af9(0x285),_0x29f544[_0x29f544[_0x404af9(0x1e2)]=0xe]=_0x404af9(0x1e2),_0x29f544[_0x29f544['EditWorksheetCell']=0xf]='EditWorksheetCell',_0x29f544[_0x29f544[_0x404af9(0x18f)]=0x10]=_0x404af9(0x18f),_0x29f544[_0x29f544[_0x404af9(0x2de)]=0x11]=_0x404af9(0x2de),_0x29f544[_0x29f544['Filter']=0x12]=_0x404af9(0x25f),_0x29f544[_0x29f544[_0x404af9(0x2c3)]=0x13]=_0x404af9(0x2c3),_0x29f544[_0x29f544['FloatImg']=0x14]=_0x404af9(0x1b5),_0x29f544[_0x29f544[_0x404af9(0x242)]=0x15]=_0x404af9(0x242),_0x29f544[_0x29f544[_0x404af9(0x1c8)]=0x16]=_0x404af9(0x1c8),_0x29f544[_0x29f544[_0x404af9(0x1fd)]=0x17]=_0x404af9(0x1fd),_0x29f544[_0x29f544[_0x404af9(0x2b1)]=0x18]=_0x404af9(0x2b1),_0x29f544[_0x29f544['MoveSheet']=0x19]=_0x404af9(0x1ed),_0x29f544[_0x29f544['DeleteSheet']=0x1a]=_0x404af9(0x311),_0x29f544[_0x29f544[_0x404af9(0x2a6)]=0x1b]=_0x404af9(0x2a6),_0x29f544[_0x29f544[_0x404af9(0x1ee)]=0x1c]=_0x404af9(0x1ee),_0x29f544[_0x29f544[_0x404af9(0x2a1)]=0x1d]=_0x404af9(0x2a1),_0x29f544[_0x29f544[_0x404af9(0x2af)]=0x1e]=_0x404af9(0x2af),_0x29f544[_0x29f544[_0x404af9(0x155)]=0x1f]=_0x404af9(0x155),_0x29f544[_0x29f544[_0x404af9(0x172)]=0x20]='SelectUnProtectedCells',_0x29f544[_0x29f544[_0x404af9(0x23b)]=0x21]=_0x404af9(0x23b),_0x29f544[_0x29f544['SetCellValue']=0x22]='SetCellValue',_0x29f544[_0x29f544[_0x404af9(0x2b2)]=0x23]=_0x404af9(0x2b2),_0x29f544[_0x29f544[_0x404af9(0x298)]=0x24]=_0x404af9(0x298),_0x29f544[_0x29f544['InsertRow']=0x25]=_0x404af9(0x1f8),_0x29f544[_0x29f544['InsertColumn']=0x26]=_0x404af9(0x25d),_0x29f544[_0x29f544[_0x404af9(0x2d3)]=0x27]=_0x404af9(0x2d3),_0x29f544[_0x29f544[_0x404af9(0x208)]=0x28]=_0x404af9(0x208),_0x29f544[_0x29f544['EditExtraObject']=0x29]=_0x404af9(0x275),_0x29f544[_0x29f544[_0x404af9(0x157)]=0x2a]=_0x404af9(0x157),_0x29f544[_0x29f544['RecoverHistory']=0x2b]=_0x404af9(0x156),_0x29f544[_0x29f544[_0x404af9(0x212)]=0x2c]=_0x404af9(0x212),_0x29f544[_0x29f544['CreatePermissionObject']=0x2d]='CreatePermissionObject',_0x29f544[_0x29f544[_0x404af9(0x1d8)]=-0x1]=_0x404af9(0x1d8),_0x29f544))(D||{});function rs(_0x102a07){const _0x5743f3=_0x404af9;return!!(_0x102a07&&_0x102a07[_0x5743f3(0x30d)]&&_0x102a07[_0x5743f3(0x30d)]!==W['OK']&&_0x102a07[_0x5743f3(0x30d)]!=='OK');}const ie=(_0x3c7f28,_0x470020)=>{const _0x45f5fa=_0x404af9;if(!_0x3c7f28)return{'date':'','time':''};const _0x487b59=new Date(_0x3c7f28),_0x46fa7f=_0x487b59['toISOString']()[_0x45f5fa(0x197)]('T')[0x0];switch(_0x470020){case _0x530f2a[_0x45f5fa(0x307)]:return{'date':J(_0x46fa7f,_0x470020),'time':_0x487b59[_0x45f5fa(0x27d)]()+':'+String(_0x487b59['getMinutes']())[_0x45f5fa(0x198)](0x2,'0')};default:return{'date':J(_0x46fa7f,_0x470020),'time':_0x487b59[_0x45f5fa(0x27d)]()+':'+_0x487b59[_0x45f5fa(0x1c9)]()};}},as=(_0x423fc4,_0x1f514a)=>{const _0x4decfc=_0x404af9,_0x4ecd82=_0x423fc4['user']||_0x1f514a['t'](_0x4decfc(0x20d));if(_0x423fc4[_0x4decfc(0x304)][_0x4decfc(0x1c4)](_0x4ce787=>_0x4ce787===_0x57cf90['id'])&&_0x423fc4[_0x4decfc(0x30c)]){const _0x3073a2=ie(_0x423fc4[_0x4decfc(0x30c)],_0x1f514a[_0x4decfc(0x235)]()),_0x49d7fc=_0x3073a2['date']+'\x20'+_0x3073a2[_0x4decfc(0x2aa)];return _0x4ecd82+'\x20'+_0x1f514a['t'](_0x4decfc(0x301))+'\x20'+_0x49d7fc+'\x20'+_0x1f514a['t'](_0x4decfc(0x2f4));}const _0x16717a=os(_0x423fc4),_0x4203a5=_0x16717a[_0x4decfc(0x17d)]===0x1?_0x1f514a['t'](_0x16717a[0x0]):''+_0x1f514a['t'](_0x16717a[0x0])+_0x1f514a['t'](_0x4decfc(0x176));return _0x4ecd82+'\x20'+_0x4203a5;};function os(_0x1a1159){const _0x25c42a=_0x404af9;if(_0x1a1159[_0x25c42a(0x304)]['length']===0x0)return[''];const _0x918093=_0x25c42a(0x228),_0x2567de=_0x918093+_0x25c42a(0x2a7),_0xd0d56b=[{'id':_0x2154a0['id'],'action':_0x918093+_0x25c42a(0x1fb)},{'id':_0x57cf90['id'],'action':_0x918093+_0x25c42a(0x2be)},{'id':_0x1bb918['id'],'action':_0x918093+_0x25c42a(0x227)},{'id':_0x3e6cd6['id'],'action':_0x918093+_0x25c42a(0x1e1)},{'id':_0x891927['id'],'action':_0x918093+_0x25c42a(0x193)},{'id':_0x5ddd08['id'],'action':_0x918093+_0x25c42a(0x252)},{'id':_0x45623b['id'],'action':_0x918093+_0x25c42a(0x265)},{'id':_0x15df1e['id'],'action':_0x918093+_0x25c42a(0x265)},{'id':_0x42e12a['id'],'action':_0x918093+'setCF'},{'id':_0x141933['id'],'action':_0x918093+_0x25c42a(0x1e9)},{'id':_0x67553c['id'],'action':_0x918093+'addProtection'},{'id':_0x5290e6['id'],'action':_0x918093+_0x25c42a(0x1cb)},{'id':_0x5af411['id'],'action':_0x918093+'addSparkline'},{'id':_0x58b610['id'],'action':_0x918093+'deleteProtection'},{'id':_0x429d21['id'],'action':_0x918093+_0x25c42a(0x19c)}]['filter'](_0xbd4935=>_0x1a1159['commands'][_0x25c42a(0x249)](_0xbd4935['id']));return _0xd0d56b!=null&&_0xd0d56b[_0x25c42a(0x17d)]?_0xd0d56b[_0x25c42a(0x152)](_0x5bb331=>_0x5bb331[_0x25c42a(0x2d7)]):[_0x2567de];}function J(_0x4af7cb,_0x2db23b){const _0x1331fc=_0x404af9,[_0x388ade,_0x1e4690,_0x27790e]=new Date()[_0x1331fc(0x2ec)]()[_0x1331fc(0x197)]('T')[0x0][_0x1331fc(0x197)]('-'),[_0x5b8e61,_0x784eca,_0x25d84e]=_0x4af7cb[_0x1331fc(0x197)]('-'),_0x37a2ef=_0x388ade===_0x5b8e61&&_0x1e4690===_0x784eca&&_0x27790e===_0x25d84e;let _0x2a211f='',_0x212f56='',_0x53e454='';switch(_0x2db23b){case _0x530f2a['ZH_CN']:return _0x37a2ef?'今天':(_0x2a211f=_0x388ade===_0x5b8e61?'':_0x5b8e61+'年',_0x212f56=_0x784eca+'月',_0x53e454=_0x25d84e+'日',''+_0x2a211f+_0x212f56+_0x53e454);default:return _0x37a2ef?_0x1331fc(0x1e3):(_0x2a211f=_0x388ade===_0x5b8e61?'':_0x5b8e61+'-',_0x212f56=_0x784eca+'-',_0x53e454=''+_0x25d84e,''+_0x2a211f+_0x212f56+_0x53e454);}}function cs(_0x929fa){return _0x929fa?_0x929fa['reduce']((_0xc4ad9e,_0x9860c6)=>{const _0x4023a1=_0x44d0,_0x2763ab=new Date(_0x9860c6[_0x4023a1(0x2aa)])[_0x4023a1(0x2ec)]()[_0x4023a1(0x197)]('T')[0x0];return _0xc4ad9e[_0x4023a1(0x17d)]>0x0&&_0xc4ad9e[_0xc4ad9e[_0x4023a1(0x17d)]-0x1]['dateString']===_0x2763ab?_0xc4ad9e[_0xc4ad9e[_0x4023a1(0x17d)]-0x1][_0x4023a1(0x21c)][_0x4023a1(0x22b)](_0x9860c6):_0xc4ad9e[_0x4023a1(0x22b)]({'dateString':_0x2763ab,'versions':[_0x9860c6]}),_0xc4ad9e;},[]):[];}var _s=Object['getOwnPropertyDescriptor'],ls=(_0x5da1a1,_0x35b9d8,_0xabb549,_0xacb318)=>{for(var _0x5ae4ca=_0xacb318>0x1?void 0x0:_0xacb318?_s(_0x35b9d8,_0xabb549):_0x35b9d8,_0x2e675e=_0x5da1a1['length']-0x1,_0xf89727;_0x2e675e>=0x0;_0x2e675e--)(_0xf89727=_0x5da1a1[_0x2e675e])&&(_0x5ae4ca=_0xf89727(_0x5ae4ca)||_0x5ae4ca);return _0x5ae4ca;},O=(_0x33dddd,_0x190667)=>(_0x1f40b4,_0x43666e)=>_0x190667(_0x1f40b4,_0x43666e,_0x33dddd);const us=_0x404af9(0x290);let A=class extends _0x36218d{constructor(_0x5e5fec,_0x4f1dd2,_0x16f75c,_0x5599a4,_0x3a2d65,_0x494eea,_0x75895e){const _0x21c183=_0x404af9;super(),_(this,'_workbookDataCache',new Map()),(this['_snapshotServerService']=_0x5e5fec,this[_0x21c183(0x20f)]=_0x4f1dd2,this['_commandService']=_0x16f75c,this[_0x21c183(0x270)]=_0x5599a4,this[_0x21c183(0x23d)]=_0x3a2d65,this[_0x21c183(0x1a8)]=_0x494eea,this['_sheetPermissionInitController']=_0x75895e);}[_0x404af9(0x305)](){const _0x54eb12=_0x404af9;this[_0x54eb12(0x2b4)]['clear'](),super['dispose']();}async[_0x404af9(0x26a)](_0x19171e,_0x550643){const _0x9d07a=_0x404af9,_0x1fced4=this['_getAPIPrefix']()+'/'+_0x19171e+_0x9d07a(0x2fd)+(_0x550643?_0x9d07a(0x171)+_0x550643:'');try{const _0x24248f=(await this[_0x9d07a(0x23d)]['get'](_0x1fced4))[_0x9d07a(0x22a)];if(_0x24248f&&_0x24248f[_0x9d07a(0x1c1)]&&_0x24248f[_0x9d07a(0x1c1)]['code']===W['OK']){const {hasMore:_0x12007d,lastLabel:_0x332945}=_0x24248f,_0x53d8a3=hs(_0x24248f),_0x587a31=_0x24248f[_0x9d07a(0x2f0)]['users'];return{'hasMore':_0x12007d,'lastLabel':_0x332945,'versions':_0x53d8a3,'members':_0x587a31};}}catch(_0x328399){console[_0x9d07a(0x1c1)](_0x328399);}return null;}[_0x404af9(0x23a)](){const _0x17e54d=_0x404af9;var _0x288bfe;const _0x14236e=this[_0x17e54d(0x270)][_0x17e54d(0x1a5)](Pe);return(_0x288bfe=_0x14236e==null?void 0x0:_0x14236e['historyListServerUrl'])!=null?_0x288bfe:us;}async[_0x404af9(0x21e)](_0x536c8d,_0x55a142,_0xd6c84c){const _0x471f3f=_0x404af9;var _0x4a7a10,_0x32ee35;_0xd6c84c===void 0x0&&(_0xd6c84c={}),this['_workbookDataCache'][_0x471f3f(0x2f8)](_0x536c8d)||this[_0x471f3f(0x2b4)][_0x471f3f(0x2f9)](_0x536c8d,new Map());const {snapshot:_0x38a738,changesets:_0x5806fe,error:_0x126dd5}=await this[_0x471f3f(0x2df)][_0x471f3f(0x1c7)](_0xd6c84c,{'unitID':_0x536c8d,'type':x['UNIVER_SHEET'],'revision':_0x55a142});if(rs(_0x126dd5)||!_0x38a738||!_0x38a738[_0x471f3f(0x219)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0xc1ca37=(_0x4a7a10=_0x5806fe==null?void 0x0:_0x5806fe[_0x471f3f(0x17d)])!=null?_0x4a7a10:0x0;if(_0x55a142!==0x0&&_0x38a738[_0x471f3f(0x1d0)]+_0xc1ca37!==_0x55a142)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x239ae1}=_0x38a738,_0x5e58b3=_0x239ae1[_0x471f3f(0x2f5)]?Object['entries'](_0x239ae1[_0x471f3f(0x2f5)])[_0x471f3f(0x152)](([_0x5a66e9,_0x188671])=>{const _0x3235d2=_0x471f3f;var _0x3a2c16,_0x5aaca0;return(_0x5aaca0=(_0x3a2c16=_0x188671[_0x3235d2(0x279)])==null?void 0x0:_0x3a2c16['map'](_0x64b03a=>_0x64b03a))!=null?_0x5aaca0:[];})[_0x471f3f(0x28f)]():[],_0x7c0dfe=(await Promise['all'](_0x5e58b3[_0x471f3f(0x152)](_0x5ba70b=>this[_0x471f3f(0x2df)][_0x471f3f(0x2cd)](_0xd6c84c,{'unitID':_0x536c8d,'type':x[_0x471f3f(0x239)],'blockID':_0x5ba70b})[_0x471f3f(0x294)](_0x12edec=>_0x12edec[_0x471f3f(0x154)]))))['filter'](_0x4ff81d=>!!_0x4ff81d),_0x498011=_0xd6ba67(_0x38a738,_0x7c0dfe,_0xd6c84c);return(_0x32ee35=this[_0x471f3f(0x2b4)][_0x471f3f(0x17e)](_0x536c8d))==null||_0x32ee35[_0x471f3f(0x2f9)](_0x55a142,{'workbook':_0x498011}),new Promise(_0x5651f8=>{const _0x4947e5=_0x471f3f,_0x11ad9f=this[_0x4947e5(0x20f)]['getCurrentUnitForType'](_0x5243d4[_0x4947e5(0x239)]);_0x11ad9f?(this[_0x4947e5(0x20f)]['disposeUnit'](_0x11ad9f[_0x4947e5(0x247)]()),setTimeout(()=>{const _0x5a9f36=_0x4947e5;this['_createUnit'](_0x498011,_0x5806fe),this['_sheetPermissionInitController'][_0x5a9f36(0x206)](),_0x5651f8(!0x0);},0x0)):(this[_0x4947e5(0x189)](_0x498011,_0x5806fe),_0x5651f8(!0x0));});}['_createUnit'](_0x3160b4,_0xb95eb4){const _0x5538c0=_0x404af9,_0x65a942=this['_univerInstanceService']['createUnit'](_0x5243d4['UNIVER_SHEET'],_0x3160b4);this[_0x5538c0(0x20f)]['focusUnit'](_0x65a942[_0x5538c0(0x247)]());const _0x2bf120=this['_compressMutationService']['interceptor'][_0x5538c0(0x1dc)](this[_0x5538c0(0x1a8)][_0x5538c0(0x1e7)][_0x5538c0(0x2c6)]()[_0x5538c0(0x27e)]);return _0xb95eb4==null||_0xb95eb4['forEach'](_0x141e94=>{const _0x5c89f5=_0x5538c0,_0x289ec7=_0x141e94[_0x5c89f5(0x309)][_0x5c89f5(0x152)](_0x3a69da=>({'id':_0x3a69da['id'],'params':JSON['parse'](_0x3a69da[_0x5c89f5(0x1ad)])}));({..._0x141e94,'mutations':_0x2bf120(_0x289ec7,null)||_0x289ec7}['mutations'][_0x5c89f5(0x1f0)](_0x39afc4=>{const _0x573f5c=_0x5c89f5;this[_0x573f5c(0x28c)][_0x573f5c(0x1b3)](_0x39afc4['id'])&&this[_0x573f5c(0x28c)][_0x573f5c(0x2f2)](_0x39afc4['id'],_0x39afc4['params']);}));}),_0x65a942;}};A=ls([O(0x0,_0x43fa94),O(0x1,_0x2e76e0),O(0x2,_0x5eb178),O(0x3,_0x183e8e),O(0x4,_0x5b46f5(_0x3c54ff)),O(0x5,_0x5b46f5(_0x58ee99)),O(0x6,_0x5b46f5(_0xed1c45))],A);function hs(_0x1d3ed3){const _0x48d9dd=_0x404af9;var _0x4121f3,_0x452560;const _0x9f7cf5=[],{entities:_0x155b76,historyIds:_0x20a291}=_0x1d3ed3,{datas:_0x1f1f5e,users:_0x3f99a6}=_0x155b76;for(const _0x5c20ce of _0x20a291)if(_0x1f1f5e[_0x5c20ce]){const _0x2d0d5d=!!((_0x4121f3=_0x3f99a6[_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x273)]])!=null&&_0x4121f3[_0x48d9dd(0x1ba)]);_0x9f7cf5[_0x48d9dd(0x22b)]({'unitId':_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x1ae)],'user':_0x2d0d5d?'':((_0x452560=_0x3f99a6==null?void 0x0:_0x3f99a6[_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x273)]])==null?void 0x0:_0x452560['name'])||'','isAnonymous':_0x2d0d5d,'id':_0x5c20ce,'time':_0x1f1f5e[_0x5c20ce]['createTime']?Number(_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x18b)]):void 0x0,'commands':_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x224)],'startRev':Number(_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x226)]),'endRev':Number(_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x182)]),'recoverTime':_0x1f1f5e[_0x5c20ce]['recoverTime']?Number(_0x1f1f5e[_0x5c20ce][_0x48d9dd(0x30c)]):void 0x0});}return _0x9f7cf5;}var Is=Object['getOwnPropertyDescriptor'],ds=(_0x1ac17a,_0x2eeddd,_0x18a204,_0x11b4ec)=>{const _0x3f3960=_0x404af9;for(var _0x245cd4=_0x11b4ec>0x1?void 0x0:_0x11b4ec?Is(_0x2eeddd,_0x18a204):_0x2eeddd,_0x115fbc=_0x1ac17a[_0x3f3960(0x17d)]-0x1,_0x39d126;_0x115fbc>=0x0;_0x115fbc--)(_0x39d126=_0x1ac17a[_0x115fbc])&&(_0x245cd4=_0x39d126(_0x245cd4)||_0x245cd4);return _0x245cd4;},$=(_0x4d25aa,_0x471506)=>(_0x10dc76,_0x58cdab)=>_0x471506(_0x10dc76,_0x58cdab,_0x4d25aa),ne=(_0x1e3ac1=>(_0x1e3ac1[_0x404af9(0x2a4)]=_0x404af9(0x1b8),_0x1e3ac1[_0x404af9(0x21d)]=_0x404af9(0x232),_0x1e3ac1[_0x404af9(0x2dd)]='error',_0x1e3ac1))(ne||{}),y=(_0x5b23f0=>(_0x5b23f0[_0x404af9(0x282)]=_0x404af9(0x151),_0x5b23f0['Loading']=_0x404af9(0x233),_0x5b23f0['Loaded']=_0x404af9(0x243),_0x5b23f0))(y||{});const vs=_0x404af9(0x225);let g=class extends _0x36218d{constructor(_0x44d13e,_0x36d093,_0x13a68e,_0x5c9f95){const _0x57b63e=_0x404af9;super(),_(this,_0x57b63e(0x1bb),new _0xb5c9d9([])),_(this,'versions$',this[_0x57b63e(0x1bb)][_0x57b63e(0x27f)]()),_(this,_0x57b63e(0x2fc),new _0xb5c9d9('')),_(this,_0x57b63e(0x1b0),this[_0x57b63e(0x2fc)][_0x57b63e(0x27f)]()),_(this,'_status$',new _0xb5c9d9('entered')),_(this,_0x57b63e(0x29a),this['_status$']['asObservable']()),_(this,_0x57b63e(0x203),new _0xb5c9d9(0x0)),_(this,_0x57b63e(0x217),this[_0x57b63e(0x203)][_0x57b63e(0x27f)]()),_(this,'_unitId$',new _0xb5c9d9('')),_(this,_0x57b63e(0x308),this['_unitId$'][_0x57b63e(0x27f)]()),_(this,'_fetching',!0x1),_(this,_0x57b63e(0x153),new _0xb5c9d9('init')),_(this,_0x57b63e(0x168),this[_0x57b63e(0x153)][_0x57b63e(0x27f)]()),_(this,_0x57b63e(0x2e6),null),_(this,_0x57b63e(0x2a5),!0x0),_(this,_0x57b63e(0x268),new Map()),_(this,_0x57b63e(0x1d9)),_(this,_0x57b63e(0x30e)),_(this,_0x57b63e(0x216)),_(this,_0x57b63e(0x1a2),!0x1),(this[_0x57b63e(0x2e3)]=_0x44d13e,this['_confirmService']=_0x36d093,this['_localeService']=_0x13a68e,this[_0x57b63e(0x2e9)]=_0x5c9f95);}async[_0x404af9(0x250)](_0x2e2c1f,_0x217d4d,_0x1f4a44){const _0x3b05ea=_0x404af9;this[_0x3b05ea(0x1d9)]=_0x217d4d,this[_0x3b05ea(0x1a2)]=_0x1f4a44,this['_unitId$'][_0x3b05ea(0x1fa)](_0x2e2c1f),this[_0x3b05ea(0x2fe)]=!0x0;const _0x1fc435=await this[_0x3b05ea(0x2e9)][_0x3b05ea(0x26a)](_0x2e2c1f);if(this[_0x3b05ea(0x2fe)]=!0x1,_0x1fc435){const {versions:_0x1a15b8,lastLabel:_0x416c4d,hasMore:_0x26b25b,members:_0x1ecc87}=_0x1fc435;_0x1a15b8[_0x3b05ea(0x17d)]===0x0&&_0x1a15b8[_0x3b05ea(0x22b)]({'unitId':_0x2e2c1f,'id':vs,'startRev':0x1,'endRev':0x0,'time':Date[_0x3b05ea(0x312)](),'user':this[_0x3b05ea(0x184)]['t'](_0x3b05ea(0x25a)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x1a15b8,_0x26b25b,_0x416c4d,_0x1ecc87),this[_0x3b05ea(0x2fc)]['next'](_0x1a15b8[0x0]['id']);}else this[_0x3b05ea(0x19e)][_0x3b05ea(0x1fa)](_0x3b05ea(0x1c1));}async[_0x404af9(0x244)](){const _0x3c63e9=_0x404af9;if(!this['_lastLabel']||!this['_hasMore']||this[_0x3c63e9(0x2fe)])return!0x1;this[_0x3c63e9(0x2fe)]=!0x0;const _0x42d4f7=await this['_historyFetchService'][_0x3c63e9(0x26a)](this['unitId'],this[_0x3c63e9(0x2e6)]);if(this[_0x3c63e9(0x2fe)]=!0x1,_0x42d4f7){const {versions:_0x52a50a,lastLabel:_0x58132b,hasMore:_0xaf5d9b,members:_0x21567f}=_0x42d4f7;this[_0x3c63e9(0x222)](_0x52a50a,_0xaf5d9b,_0x58132b,_0x21567f);}else this[_0x3c63e9(0x2e3)][_0x3c63e9(0x214)]({'content':this[_0x3c63e9(0x184)]['t'](_0x3c63e9(0x262)),'type':_0x58377d[_0x3c63e9(0x2dd)],'duration':0xbb8});return!0x0;}async[_0x404af9(0x1a1)](_0x579ead){const _0x42cdc8=_0x404af9;var _0x344b49;const _0x481142=(_0x344b49=this[_0x42cdc8(0x1bb)][_0x42cdc8(0x1ec)])==null?void 0x0:_0x344b49[_0x42cdc8(0x2dc)](_0x9123ab=>_0x9123ab['id']===_0x579ead),{endRev:_0x276918}=_0x481142||{};_0x276918||_0x276918===0x0?(this['_loadingState$'][_0x42cdc8(0x1fa)]('loading'),await this['_historyFetchService'][_0x42cdc8(0x21e)](this['unitId'],_0x276918),this[_0x42cdc8(0x153)][_0x42cdc8(0x1fa)](_0x42cdc8(0x243))):this[_0x42cdc8(0x19e)]['next'](_0x42cdc8(0x1c1));}async['triggerRevert'](_0x515402){const _0x3bc8c4=_0x404af9,_0x5844e1=_0x515402?this[_0x3bc8c4(0x1db)](_0x515402):this['getCurrentVersion']();if(!_0x5844e1)return;const _0x380114=_0x5844e1['endRev'],_0x5d5ca7=ie(_0x5844e1[_0x3bc8c4(0x2aa)],this[_0x3bc8c4(0x184)][_0x3bc8c4(0x235)]());await this[_0x3bc8c4(0x22f)][_0x3bc8c4(0x27c)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x3bc8c4(0x16b))},'children':{'title':this[_0x3bc8c4(0x184)]['t']('editHistory.panel.revertConfirmText')+_0x3bc8c4(0x150)+_0x5d5ca7['date']+'\x20'+_0x5d5ca7[_0x3bc8c4(0x2aa)]+')'},'cancelText':this[_0x3bc8c4(0x184)]['t'](_0x3bc8c4(0x29f)),'confirmText':this[_0x3bc8c4(0x184)]['t'](_0x3bc8c4(0x20b))})&&this[_0x3bc8c4(0x203)][_0x3bc8c4(0x1fa)](_0x380114);}[_0x404af9(0x222)](_0x523e0b,_0x3ff3a7,_0x548e9f,_0x8af370){const _0x18647c=_0x404af9;this[_0x18647c(0x1bb)][_0x18647c(0x1fa)](this[_0x18647c(0x1bb)][_0x18647c(0x1ec)][_0x18647c(0x196)](_0x523e0b)),this[_0x18647c(0x2a5)]=_0x3ff3a7,this['_lastLabel']=_0x548e9f,_0x8af370&&Object[_0x18647c(0x27a)](_0x8af370)[_0x18647c(0x1f0)](_0xc762f9=>this[_0x18647c(0x268)][_0x18647c(0x2f9)](_0xc762f9,_0x8af370[_0xc762f9]));}[_0x404af9(0x283)](){const _0x4780f0=_0x404af9;return this[_0x4780f0(0x1db)](this[_0x4780f0(0x2fc)]['value']);}[_0x404af9(0x1db)](_0x30763e){const _0x59d511=_0x404af9;var _0x2ac4cd;return(_0x2ac4cd=this[_0x59d511(0x1bb)][_0x59d511(0x1ec)])==null?void 0x0:_0x2ac4cd[_0x59d511(0x2dc)](_0x43bd6e=>_0x43bd6e['id']===_0x30763e);}[_0x404af9(0x223)](_0x5e673c){const _0x127967=_0x404af9;return this[_0x127967(0x268)][_0x127967(0x17e)](_0x5e673c);}[_0x404af9(0x28b)](){const _0x491dab=_0x404af9;this[_0x491dab(0x216)]=document[_0x491dab(0x1bf)]('div'),this[_0x491dab(0x216)][_0x491dab(0x30b)]=_0x491dab(0x29e),this[_0x491dab(0x216)][_0x491dab(0x1e0)][_0x491dab(0x199)]='absolute',this[_0x491dab(0x216)][_0x491dab(0x1e0)][_0x491dab(0x19b)]='0',this[_0x491dab(0x216)][_0x491dab(0x1e0)]['left']='0',this[_0x491dab(0x216)][_0x491dab(0x1e0)][_0x491dab(0x14f)]=_0x491dab(0x1b1),this[_0x491dab(0x216)]['style']['height']='100%',this['_maskElement']['style']['backgroundColor']=_0x491dab(0x14e),this[_0x491dab(0x216)][_0x491dab(0x1e0)][_0x491dab(0x2c7)]=_0x491dab(0x194),this[_0x491dab(0x216)]['style'][_0x491dab(0x2ca)]=_0x491dab(0x28a),this['_maskElement']['style'][_0x491dab(0x284)]=_0x491dab(0x1fe),this['_maskElement']['style'][_0x491dab(0x234)]=_0x491dab(0x2a3),this[_0x491dab(0x216)][_0x491dab(0x1e0)][_0x491dab(0x2ca)]=_0x491dab(0x1cf),this[_0x491dab(0x30e)]['append'](this[_0x491dab(0x216)]);}[_0x404af9(0x1ce)](){const _0x23356d=_0x404af9;var _0xedf9e5;const _0x4141fe=(_0xedf9e5=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0xedf9e5[_0x23356d(0x278)](_0x23356d(0x175));_0x4141fe&&(this[_0x23356d(0x30e)]=_0x4141fe,this[_0x23356d(0x28b)]());}[_0x404af9(0x315)](){const _0x358a58=_0x404af9;this[_0x358a58(0x30e)]||this[_0x358a58(0x1ce)](),this[_0x358a58(0x216)]&&(this[_0x358a58(0x216)][_0x358a58(0x1e0)][_0x358a58(0x2ca)]=_0x358a58(0x28a));}['hideMask'](){const _0x4cce3d=_0x404af9;this['_maskElement']&&(this['_maskElement'][_0x4cce3d(0x1e0)][_0x4cce3d(0x2ca)]='none');}set[_0x404af9(0x187)](_0x1de4d8){const _0x1ac553=_0x404af9;this[_0x1ac553(0x19e)]['next'](_0x1de4d8);}set['currentVersion'](_0x2554d7){const _0x311c38=_0x404af9;_0x2554d7!==this[_0x311c38(0x2fc)][_0x311c38(0x1ec)]&&this[_0x311c38(0x2fc)]['next'](_0x2554d7);}get['currentVersion'](){const _0x465db9=_0x404af9;return this[_0x465db9(0x2fc)]['value'];}set[_0x404af9(0x1ae)](_0x161a02){const _0x499f71=_0x404af9;this[_0x499f71(0x1be)][_0x499f71(0x1fa)](_0x161a02);}get[_0x404af9(0x1ae)](){const _0x247056=_0x404af9;return this[_0x247056(0x1be)][_0x247056(0x1ec)];}get['canRevert'](){const _0x1a8309=_0x404af9;return this[_0x1a8309(0x1a2)];}get['loadingState'](){const _0x36d5aa=_0x404af9;return this[_0x36d5aa(0x153)][_0x36d5aa(0x1ec)];}};g=ds([$(0x0,_0x2ab0fe),$(0x1,_0x528aff),$(0x2,_0x5b46f5(_0x29131e)),$(0x3,_0x5b46f5(A))],g);function j({ref:_0x1f06e2,..._0xcdbcae}){const _0x2b2830=_0x404af9,{icon:_0x3d0a91,id:_0x3bfb63,className:_0x7a6ed6,extend:_0x3b6adc,..._0x1ae35f}=_0xcdbcae,_0x50f05d=(_0x2b2830(0x18c)+_0x3bfb63+'\x20'+(_0x7a6ed6||''))[_0x2b2830(0x2c4)](),_0x2e6366=_0x406644('_'+ms());return Le(_0x3d0a91,''+_0x3bfb63,{'defIds':_0x3d0a91['defIds'],'idSuffix':_0x2e6366[_0x2b2830(0x2bf)]},{'ref':_0x1f06e2,'className':_0x50f05d,..._0x1ae35f},_0x3b6adc);}function Le(_0x415a4f,_0x50aae4,_0xb9c5b8,_0xbfeafe,_0x5e0214){const _0x7f4af8=_0x404af9;return _0x2b3259(_0x415a4f['tag'],{'key':_0x50aae4,...Es(_0x415a4f,_0xb9c5b8,_0x5e0214),..._0xbfeafe},(Ss(_0x415a4f,_0xb9c5b8)[_0x7f4af8(0x2b3)]||[])[_0x7f4af8(0x152)]((_0x2465ef,_0xa59259)=>Le(_0x2465ef,_0x50aae4+'-'+_0x415a4f[_0x7f4af8(0x213)]+'-'+_0xa59259,_0xb9c5b8,void 0x0,_0x5e0214)));}function Es(_0x10c756,_0x41b900,_0x494cf5){const _0x3e6e40=_0x404af9,_0x328753={..._0x10c756['attrs']};_0x494cf5!=null&&_0x494cf5['colorChannel1']&&_0x328753[_0x3e6e40(0x2f3)]===_0x3e6e40(0x1e6)&&(_0x328753[_0x3e6e40(0x2f3)]=_0x494cf5['colorChannel1']),_0x10c756['tag']===_0x3e6e40(0x2f6)&&_0x328753['id']&&(_0x328753['id']=_0x328753['id']+_0x41b900['idSuffix']),Object[_0x3e6e40(0x314)](_0x328753)[_0x3e6e40(0x1f0)](([_0x2140a2,_0x5722be])=>{const _0x29b24b=_0x3e6e40;_0x2140a2===_0x29b24b(0x2f6)&&typeof _0x5722be==_0x29b24b(0x21b)&&(_0x328753[_0x2140a2]=_0x5722be['replace'](/url\(#(.*)\)/,_0x29b24b(0x1b7)+_0x41b900[_0x29b24b(0x1d7)]+')'));});const {defIds:_0x81eea}=_0x41b900;return!_0x81eea||_0x81eea[_0x3e6e40(0x17d)]===0x0||(_0x10c756[_0x3e6e40(0x213)]===_0x3e6e40(0x302)&&_0x328753[_0x3e6e40(0x255)]&&(_0x328753['xlink:href']=_0x328753[_0x3e6e40(0x255)]+_0x41b900[_0x3e6e40(0x1d7)]),Object[_0x3e6e40(0x314)](_0x328753)[_0x3e6e40(0x1f0)](([_0x3f00db,_0x419da0])=>{const _0x1a4c1f=_0x3e6e40;typeof _0x419da0=='string'&&(_0x328753[_0x3f00db]=_0x419da0[_0x1a4c1f(0x287)](/url\(#(.*)\)/,_0x1a4c1f(0x1b7)+_0x41b900[_0x1a4c1f(0x1d7)]+')'));})),_0x328753;}function Ss(_0xa00ff7,_0x5d7fc7){const _0x46fada=_0x404af9;var _0x8a85b;const {defIds:_0x217d34}=_0x5d7fc7;return!_0x217d34||_0x217d34[_0x46fada(0x17d)]===0x0?_0xa00ff7:_0xa00ff7[_0x46fada(0x213)]===_0x46fada(0x2d5)&&((_0x8a85b=_0xa00ff7['children'])!=null&&_0x8a85b[_0x46fada(0x17d)])?{..._0xa00ff7,'children':_0xa00ff7['children'][_0x46fada(0x152)](_0x5e8a3b=>typeof _0x5e8a3b[_0x46fada(0x241)]['id']==_0x46fada(0x21b)&&_0x217d34&&_0x217d34[_0x46fada(0x249)](_0x5e8a3b[_0x46fada(0x241)]['id'])?{..._0x5e8a3b,'attrs':{..._0x5e8a3b['attrs'],'id':_0x5e8a3b[_0x46fada(0x241)]['id']+_0x5d7fc7[_0x46fada(0x1d7)]}}:_0x5e8a3b)}:_0xa00ff7;}function ms(){const _0x4df5c7=_0x404af9;return Math['random']()[_0x4df5c7(0x1c2)](0x24)[_0x4df5c7(0x2da)](0x2,0x8);}function _0x44d0(_0x195e5f,_0x1b3d88){const _0x4bc1f5=_0x4bc1();return _0x44d0=function(_0x44d0dd,_0x161b0e){_0x44d0dd=_0x44d0dd-0x14e;let _0x134d1c=_0x4bc1f5[_0x44d0dd];return _0x134d1c;},_0x44d0(_0x195e5f,_0x1b3d88);}j[_0x404af9(0x26f)]=_0x404af9(0x26b);const fs={'tag':_0x404af9(0x2e7),'attrs':{'xmlns':_0x404af9(0x1c5),'fill':'none','viewBox':_0x404af9(0x286),'width':_0x404af9(0x1f5),'height':'1em'},'children':[{'tag':_0x404af9(0x2d1),'attrs':{'fill':_0x404af9(0x218),'d':_0x404af9(0x25c)}}]},ye=_0x5d5949(function(_0x263a16,_0x321812){const _0x1a95ea=_0x404af9;return _0x2b3259(j,Object['assign']({},_0x263a16,{'id':_0x1a95ea(0x2ac),'ref':_0x321812,'icon':fs}));});ye[_0x404af9(0x26f)]='BackIcon';const gs={'tag':_0x404af9(0x2e7),'attrs':{'xmlns':_0x404af9(0x1c5),'fill':_0x404af9(0x1cf),'viewBox':_0x404af9(0x160),'width':_0x404af9(0x1f5),'height':_0x404af9(0x1f5)},'children':[{'tag':'g','attrs':{'fill':_0x404af9(0x218),'clipPath':_0x404af9(0x166)},'children':[{'tag':_0x404af9(0x2d1),'attrs':{'d':_0x404af9(0x15d)}},{'tag':_0x404af9(0x2d1),'attrs':{'d':'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','fillRule':_0x404af9(0x22c),'clipRule':_0x404af9(0x22c)}}]},{'tag':_0x404af9(0x2d5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x404af9(0x261)},'children':[{'tag':_0x404af9(0x18e),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x404af9(0x194),'rx':0x4}}]}]}],'defIds':[_0x404af9(0x261)]},Ce=_0x5d5949(function(_0x277605,_0x5a49e0){const _0x3beaf4=_0x404af9;return _0x2b3259(j,Object['assign']({},_0x277605,{'id':_0x3beaf4(0x2ee),'ref':_0x5a49e0,'icon':gs}));});Ce[_0x404af9(0x26f)]=_0x404af9(0x1f4);const ps={'tag':_0x404af9(0x2e7),'attrs':{'xmlns':_0x404af9(0x1c5),'fill':'none','viewBox':_0x404af9(0x286),'width':_0x404af9(0x1f5),'height':_0x404af9(0x1f5)},'children':[{'tag':_0x404af9(0x2d1),'attrs':{'fill':_0x404af9(0x164),'d':_0x404af9(0x195),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x404af9(0x22c)}},{'tag':_0x404af9(0x2d1),'attrs':{'fill':'#0B9EFB','d':_0x404af9(0x231),'fillRule':'evenodd','clipRule':_0x404af9(0x22c)}}]},re=_0x5d5949(function(_0x3d569b,_0x3ce1e5){const _0x2d69de=_0x404af9;return _0x2b3259(j,Object[_0x2d69de(0x306)]({},_0x3d569b,{'id':_0x2d69de(0x288),'ref':_0x3ce1e5,'icon':ps}));});re[_0x404af9(0x26f)]=_0x404af9(0x1b9);function Ns(){const _0x2f78a8=_0x404af9;var _0x1d40e7;const _0x51c1bf=_0x15c3e2(g),_0x58c4f5=_0x15c3e2(_0x29131e),_0x146760=_0x2e0bd5(()=>{const _0x6e85c4=_0x44d0;_0x51c1bf[_0x6e85c4(0x187)]=ne['Exited'];},[_0x51c1bf]),_0x321672=_0x2e0bd5(()=>{const _0x1164cb=_0x44d0;_0x51c1bf[_0x1164cb(0x1f1)]();},[_0x51c1bf]),_0xd1d62f=_0x4915b3(_0x51c1bf[_0x2f78a8(0x1b0)]),_0x471ab2=_0x4915b3(_0x51c1bf[_0x2f78a8(0x2eb)]),_0x441efe=_0xd1d62f===((_0x1d40e7=_0x471ab2==null?void 0x0:_0x471ab2[0x0])==null?void 0x0:_0x1d40e7['id']),_0x106e40=_0xd1d62f!==''&&!_0x441efe&&_0x51c1bf[_0x2f78a8(0x15b)];return _0x305f6a(_0x2f78a8(0x1b4),{'className':_0x26ecde('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x4990a2),'children':[_0x5bf032('a',{'className':_0x2f78a8(0x251),'role':_0x2f78a8(0x2b8),'onClick':_0x146760,'children':_0x5bf032(ye,{'className':_0x2f78a8(0x2b7)})}),_0x5bf032(_0x2f78a8(0x1b4),{'className':_0x2f78a8(0x15f),'children':_0x106e40&&_0x5bf032(_0xbfd12c,{'variant':_0x2f78a8(0x260),'onClick':_0x321672,'children':_0x58c4f5['t']('editHistory.header.revert')})})]});}var Rs=Object[_0x404af9(0x2ae)],Os=(_0x3e2b17,_0x445283,_0x18ebf0,_0xf38a44)=>{const _0x54b2cc=_0x404af9;for(var _0x1ea27f=_0xf38a44>0x1?void 0x0:_0xf38a44?Rs(_0x445283,_0x18ebf0):_0x445283,_0x3da3e5=_0x3e2b17[_0x54b2cc(0x17d)]-0x1,_0x44067c;_0x3da3e5>=0x0;_0x3da3e5--)(_0x44067c=_0x3e2b17[_0x3da3e5])&&(_0x1ea27f=_0x44067c(_0x1ea27f)||_0x1ea27f);return _0x1ea27f;},T=(_0x16157a,_0x38c9ad)=>(_0x3dd2a4,_0x77ac92)=>_0x38c9ad(_0x3dd2a4,_0x77ac92,_0x16157a);let F=class extends _0x36218d{constructor(_0x3b97e5,_0x54d81d,_0x2a6fbe,_0x980aef,_0x5618fe,_0x3739c3){const _0x371c95=_0x404af9;super(),this[_0x371c95(0x17a)]=_0x3b97e5,this['_uiPartsService']=_0x54d81d,this['_messageService']=_0x2a6fbe,this['_localeService']=_0x980aef,this[_0x371c95(0x16e)]=_0x5618fe,this[_0x371c95(0x269)]=_0x3739c3,this[_0x371c95(0x220)]();}[_0x404af9(0x220)](){const _0x158eec=_0x404af9;this[_0x158eec(0x291)](this[_0x158eec(0x16e)][_0x158eec(0x1b0)][_0x158eec(0x2d9)](_0x56c79e=>{const _0x5f0403=_0x158eec;_0x56c79e&&this[_0x5f0403(0x16e)][_0x5f0403(0x1a1)](_0x56c79e);})),this[_0x158eec(0x291)](this[_0x158eec(0x17a)][_0x158eec(0x2ba)][_0x158eec(0x2d9)](_0x47db04=>{const _0x3e1330=_0x158eec,_0x219159=this[_0x3e1330(0x16e)]['unitId'];_0x219159&&(_0x47db04[_0x3e1330(0x201)]===D[_0x3e1330(0x26e)]&&_0x47db04[_0x3e1330(0x1ec)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x112c69(_0x219159)['id'],!0x1),_0x47db04[_0x3e1330(0x201)]===D['RenameSheet']&&_0x47db04['value']===!0x0&&this[_0x3e1330(0x17a)][_0x3e1330(0x17c)](new _0x19ce75(_0x219159)['id'],!0x1),_0x47db04['subType']===D['MoveSheet']&&_0x47db04[_0x3e1330(0x1ec)]===!0x0&&this[_0x3e1330(0x17a)][_0x3e1330(0x17c)](new _0x3dadcb(_0x219159)['id'],!0x1),_0x47db04['subType']===D[_0x3e1330(0x2a6)]&&_0x47db04['value']===!0x0&&this[_0x3e1330(0x17a)][_0x3e1330(0x17c)](new _0x4b8645(_0x219159)['id'],!0x1),_0x47db04[_0x3e1330(0x201)]===D[_0x3e1330(0x2ef)]&&_0x47db04[_0x3e1330(0x1ec)]===!0x0&&this['_permissionService'][_0x3e1330(0x17c)](new _0x112c69(_0x219159)['id'],!0x1),_0x47db04['subType']===D[_0x3e1330(0x1b5)]&&_0x47db04[_0x3e1330(0x1ec)]===!0x0&&this[_0x3e1330(0x17a)][_0x3e1330(0x17c)](new _0x112c69(_0x219159)['id'],!0x1));})),this[_0x158eec(0x291)](this[_0x158eec(0x1ac)][_0x158eec(0x259)](_0x4cc0e2[_0x158eec(0x292)],()=>_0x24788c(Ns,this[_0x158eec(0x269)]))),this['disposeWithMe'](this[_0x158eec(0x16e)][_0x158eec(0x168)]['subscribe'](_0x7b7af0=>{const _0x2949b7=_0x158eec;_0x7b7af0===y[_0x2949b7(0x277)]&&(this[_0x2949b7(0x16e)][_0x2949b7(0x315)](),this[_0x2949b7(0x2e3)]['show']({'type':_0x58377d[_0x2949b7(0x170)],'content':this[_0x2949b7(0x184)]['t'](_0x2949b7(0x1ca))})),_0x7b7af0===y[_0x2949b7(0x1bc)]&&this['_historyManagerService'][_0x2949b7(0x209)]();}));}};F=Os([T(0x0,_0x1c38e5),T(0x1,_0x1feca7),T(0x2,_0x2ab0fe),T(0x3,_0x5b46f5(_0x29131e)),T(0x4,_0x5b46f5(g)),T(0x5,_0x5b46f5(_0x560760))],F);var Ms=Object[_0x404af9(0x2ae)],Ds=(_0x5d0733,_0x26f715,_0x2b9a58,_0x61845d)=>{const _0x284f33=_0x404af9;for(var _0x2ed0f0=_0x61845d>0x1?void 0x0:_0x61845d?Ms(_0x26f715,_0x2b9a58):_0x26f715,_0x1d4eba=_0x5d0733[_0x284f33(0x17d)]-0x1,_0x4b3b5f;_0x1d4eba>=0x0;_0x1d4eba--)(_0x4b3b5f=_0x5d0733[_0x1d4eba])&&(_0x2ed0f0=_0x4b3b5f(_0x2ed0f0)||_0x2ed0f0);return _0x2ed0f0;},Z=(_0x1b6381,_0x15b613)=>(_0x4c38af,_0x38a60c)=>_0x15b613(_0x4c38af,_0x38a60c,_0x1b6381);let w=class extends _0x36218d{constructor(_0x4fe93a,_0x4358b9,_0x30327b){const _0x516141=_0x404af9;super(),_(this,'_diffRangesMap',new Map()),_(this,_0x516141(0x2ce),new _0xb5c9d9({'ranges':new Map(),'active':null})),_(this,_0x516141(0x237),this[_0x516141(0x2ce)][_0x516141(0x27f)]()),(this[_0x516141(0x16e)]=_0x4fe93a,this[_0x516141(0x2c0)]=_0x4358b9,this['_snapshotServerService']=_0x30327b,this[_0x516141(0x220)]());}[_0x404af9(0x220)](){const _0x47a0b6=_0x404af9;this[_0x47a0b6(0x20e)]=new Map(),this['disposeWithMe'](this[_0x47a0b6(0x16e)]['unitId$'][_0x47a0b6(0x2d9)](_0x3298db=>{const _0x3c4584=_0x47a0b6;_0x3298db&&!this['_diffRangesMap'][_0x3c4584(0x2f8)](_0x3298db)&&this[_0x3c4584(0x20e)][_0x3c4584(0x2f9)](_0x3298db,new Map());})),this[_0x47a0b6(0x291)](this['_historyManagerService'][_0x47a0b6(0x1b0)][_0x47a0b6(0x2d9)](async _0x509e80=>{const _0x21300b=_0x47a0b6;var _0x415318;_0x509e80&&(await this['ensureVersion'](_0x509e80),this[_0x21300b(0x2ce)][_0x21300b(0x1fa)](((_0x415318=this[_0x21300b(0x20e)][_0x21300b(0x17e)](this[_0x21300b(0x16e)][_0x21300b(0x1ae)]))==null?void 0x0:_0x415318[_0x21300b(0x17e)](_0x509e80))||{'ranges':new Map(),'active':null}));}));}async[_0x404af9(0x25e)](_0x1d4a95){const _0x1f0b46=_0x404af9;var _0x2b7e0a,_0xf740f3;const _0x4cb7e2=this[_0x1f0b46(0x16e)]['getVersion'](_0x1d4a95),_0x1496a9=this[_0x1f0b46(0x16e)][_0x1f0b46(0x1ae)];if(!_0x4cb7e2||!_0x1496a9)return;const _0x5d61b6=this[_0x1f0b46(0x20e)]['get'](_0x1496a9);if(_0x5d61b6||this[_0x1f0b46(0x20e)][_0x1f0b46(0x2f9)](_0x1496a9,new Map()),(_0x2b7e0a=this[_0x1f0b46(0x20e)][_0x1f0b46(0x17e)](_0x1496a9))!=null&&_0x2b7e0a[_0x1f0b46(0x2f8)](_0x4cb7e2['id']))return;const {startRev:_0xc9f994,endRev:_0x5a38bc}=_0x4cb7e2;if(_0xc9f994===0x1){_0x5d61b6['set'](_0x4cb7e2['id'],{'ranges':new Map(),'active':null});return;}const _0x5018e7=_0xc9f994-0x1,_0x440bda=_0x5a38bc,_0x378789=await this[_0x1f0b46(0x2df)][_0x1f0b46(0x2c5)]({},{'unitID':_0x1496a9,'from':_0x5018e7,'to':_0x440bda,'type':x['UNIVER_SHEET']});if(((_0xf740f3=_0x378789[_0x1f0b46(0x1c1)])==null?void 0x0:_0xf740f3[_0x1f0b46(0x30d)])===W['OK']){const _0x40c9ea=_0x378789['changesets'][_0x1f0b46(0x152)](_0x208599=>((_0x208599[_0x1f0b46(0x309)]===null||_0x208599[_0x1f0b46(0x309)]===void 0x0)&&(_0x208599[_0x1f0b46(0x309)]=[]),_0x556da7(_0x208599)))['map'](_0x2b2d1b=>_0x2b2d1b[_0x1f0b46(0x309)]['map'](_0x1e7890=>({..._0x1e7890,'params':{..._0x1e7890[_0x1f0b46(0x2d6)],'memberId':_0x2b2d1b[_0x1f0b46(0x1d3)]}})))[_0x1f0b46(0x28f)](),_0x4c37ae=this['_transformMutationByOrder'](_0x40c9ea),_0x4584ec=this[_0x1f0b46(0x2bd)](_0x40c9ea),_0x2206fb=this[_0x1f0b46(0x230)](_0x4c37ae);_0x5d61b6[_0x1f0b46(0x2f9)](_0x4cb7e2['id'],{'ranges':_0x2206fb,'active':_0x4584ec});}}[_0x404af9(0x289)](_0x11923a){const _0x2915a7=_0x404af9;let _0xff9ad9=[];for(let _0x3983f7=0x0;_0x3983f7<_0x11923a[_0x2915a7(0x17d)];_0x3983f7++){const _0x3c7864=_0x11923a[_0x3983f7];if(_0xff9ad9['push'](_0x3c7864),_0x3983f7!==_0x11923a[_0x2915a7(0x17d)]-0x1){const _0xe5dc3b=_0x11923a[_0x3983f7+0x1],_0x16c80d=this[_0x2915a7(0x2c0)][_0x2915a7(0x22d)](_0xff9ad9,[_0xe5dc3b]);_0x2443f4(_0x16c80d)?_0xff9ad9=_0x16c80d[_0x2915a7(0x295)]:_0xff9ad9=[];}}return _0xff9ad9;}['_getActiveSubUnitId'](_0x137e19){const _0x7c6238=_0x404af9;let _0x2048bf=[];return _0x137e19[_0x7c6238(0x1f0)](_0x7166e9=>{const _0x3df760=_0x7c6238;if(_0x7166e9['id']===_0x1bb918['id']){const _0x51bd2a=_0x7166e9[_0x3df760(0x2d6)];_0x2048bf[_0x3df760(0x22b)](_0x51bd2a[_0x3df760(0x297)]['id']);}else{if(_0x7166e9['id']===_0x3e6cd6['id']){const _0x4154f8=_0x7166e9['params'];_0x2048bf['length']>0x0&&(_0x2048bf=_0x2048bf[_0x3df760(0x1b2)](_0x50127a=>_0x50127a!==_0x4154f8['subUnitId']));}else{if(_0x7166e9['id']===_0x216c39['id']){const _0x5660ce=_0x7166e9['params'];_0x5660ce[_0x3df760(0x210)]?_0x2048bf=_0x2048bf[_0x3df760(0x1b2)](_0x454ddc=>_0x454ddc!==_0x5660ce['subUnitId']):_0x2048bf[_0x3df760(0x22b)](_0x5660ce[_0x3df760(0x29c)]);}else{const _0x35b47c=_0x7166e9[_0x3df760(0x2d6)];_0x35b47c[_0x3df760(0x29c)]&&_0x2048bf[_0x3df760(0x22b)](_0x35b47c[_0x3df760(0x29c)]);}}}}),_0x2048bf[_0x7c6238(0x17d)]>0x0?_0x2048bf[_0x2048bf[_0x7c6238(0x17d)]-0x1]:null;}['_extractRanges'](_0x46ca79){const _0x405bce=_0x404af9,_0x62e040=new Map();return _0x46ca79['forEach'](_0x3a00f8=>{const _0x3f987c=_0x44d0;var _0x3a69de,_0x47dad1;const _0x2bdc9f=(_0x3a69de=_0x3a00f8[_0x3f987c(0x2d6)])==null?void 0x0:_0x3a69de['memberId'];if(_0x2bdc9f){_0x62e040[_0x3f987c(0x2f8)](_0x2bdc9f)||_0x62e040['set'](_0x2bdc9f,[]);const _0x4c934c=this[_0x3f987c(0x1aa)](_0x3a00f8);(_0x47dad1=_0x62e040['get'](_0x2bdc9f))==null||_0x47dad1['push'](..._0x4c934c);}}),_0x62e040[_0x405bce(0x1f0)]((_0x13d094,_0x562720)=>{const _0x54b8c4=_0x405bce;_0x62e040[_0x54b8c4(0x2f9)](_0x562720,this[_0x54b8c4(0x169)](_0x13d094));}),_0x62e040;}[_0x404af9(0x1aa)](_0x49aa08){const _0x215046=_0x404af9;switch(_0x49aa08['id']){case _0x5290e6['id']:{const _0xb76516=_0x49aa08[_0x215046(0x2d6)];return _0xb76516[_0x215046(0x28d)][_0x215046(0x152)](_0x132e81=>_0x132e81[_0x215046(0x17f)][_0x215046(0x152)](_0x433af9=>({'range':_0x433af9,'unitId':_0xb76516['unitId'],'subUnitId':_0xb76516[_0x215046(0x29c)]})))[_0x215046(0x28f)]();}case _0x4fba80['id']:{const _0x54f1fd=_0x49aa08['params'];return _0x54f1fd[_0x215046(0x17f)]['map'](_0x1fc43e=>({'range':_0x1fc43e,'unitId':_0x54f1fd['unitId'],'subUnitId':_0x54f1fd[_0x215046(0x29c)]}));}case _0x1c8a0f['id']:{const _0x1e0077=_0x49aa08['params'];return[{'range':_0x1e0077[_0x215046(0x300)],'unitId':_0x1e0077[_0x215046(0x1ae)],'subUnitId':_0x1e0077[_0x215046(0x29c)]}];}case _0x5ae370['id']:{const _0x30360f=_0x49aa08[_0x215046(0x2d6)];return[{'range':_0x30360f['range'],'unitId':_0x30360f[_0x215046(0x1ae)],'subUnitId':_0x30360f['subUnitId']}];}case _0x30ac24['id']:{const _0x1bcf8b=_0x49aa08[_0x215046(0x2d6)],{from:_0x1c7080,to:_0x12586b,unitId:_0x4efc2c}=_0x1bcf8b;return[{'range':ue(_0x1c7080[_0x215046(0x1ec)]),'unitId':_0x4efc2c,'subUnitId':_0x1c7080['subUnitId']},{'range':ue(_0x12586b[_0x215046(0x1ec)]),'unitId':_0x4efc2c,'subUnitId':_0x12586b[_0x215046(0x29c)]}];}case _0xe339b2['id']:{const _0x30272e=_0x49aa08['params'],{unitId:_0x960038,subUnitId:_0x246457,sourceRange:_0x23ead3,targetRange:_0x28f370}=_0x30272e,_0x244f0b=_0x23ead3[_0x215046(0x29d)]-_0x23ead3[_0x215046(0x181)]+0x1;return[{'range':_0x28f370[_0x215046(0x181)]<=_0x23ead3[_0x215046(0x181)]?_0x28f370:{..._0x28f370,'startRow':_0x28f370['startRow']-_0x244f0b,'endRow':_0x28f370[_0x215046(0x29d)]-_0x244f0b},'unitId':_0x960038,'subUnitId':_0x246457}];}case _0x1ff6aa['id']:{const _0x420c39=_0x49aa08[_0x215046(0x2d6)],{unitId:_0x17d836,subUnitId:_0x298f5c,sourceRange:_0x2e21d0,targetRange:_0xacd6a9}=_0x420c39,_0x3683ac=_0x2e21d0[_0x215046(0x2a2)]-_0x2e21d0[_0x215046(0x229)]+0x1;return[{'range':_0xacd6a9['startColumn']<=_0x2e21d0[_0x215046(0x229)]?_0xacd6a9:{..._0xacd6a9,'startColumn':_0xacd6a9[_0x215046(0x229)]-_0x3683ac,'endColumn':_0xacd6a9[_0x215046(0x2a2)]-_0x3683ac},'unitId':_0x17d836,'subUnitId':_0x298f5c}];}case _0x1c753e['id']:{const _0x2dd271=_0x49aa08[_0x215046(0x2d6)],{values:_0x286f93,unitId:_0x42ee36,subUnitId:_0x81e892}=_0x2dd271;return Object['values'](_0x286f93)[_0x215046(0x152)](_0x3ec2d8=>_0x3ec2d8['ranges']['map'](_0xc7d0e3=>({'range':_0xc7d0e3,'unitId':_0x42ee36,'subUnitId':_0x81e892})))['flat']();}case _0x2ffdc3['id']:{const _0x5e8e23=_0x49aa08[_0x215046(0x2d6)],{ranges:_0x322d0b,unitId:_0x332cf1,subUnitId:_0x3d5c31}=_0x5e8e23;return _0x322d0b['map'](_0x129195=>({'range':_0x129195,'unitId':_0x332cf1,'subUnitId':_0x3d5c31}));}case _0x44007b['id']:{const _0x2fa4c9=_0x49aa08['params'],{unitId:_0x556f93,subUnitId:_0x2667eb,range:_0x4ee8ad}=_0x2fa4c9;return[{'range':_0x4ee8ad,'unitId':_0x556f93,'subUnitId':_0x2667eb}];}case _0x480fa6['id']:{const _0x3bbf2d=_0x49aa08[_0x215046(0x2d6)];return _0x3bbf2d['rule'][_0x215046(0x17f)][_0x215046(0x152)](_0x370691=>({'range':_0x370691,'unitId':_0x3bbf2d[_0x215046(0x1ae)],'subUnitId':_0x3bbf2d[_0x215046(0x29c)]}));}case _0x5381c7['id']:{const _0x28ca1b=_0x49aa08[_0x215046(0x2d6)];return _0x28ca1b[_0x215046(0x2fa)]?Ts(_0x28ca1b[_0x215046(0x2fa)])[_0x215046(0x152)](_0x102928=>({'range':_0x102928,'unitId':_0x28ca1b[_0x215046(0x1ae)],'subUnitId':_0x28ca1b[_0x215046(0x29c)]})):[];}case _0x5ddd08['id']:{const _0x36125a=_0x49aa08['params'];return[{'range':_0x36125a[_0x215046(0x300)],'unitId':_0x36125a['unitId'],'subUnitId':_0x36125a[_0x215046(0x29c)]}];}case _0x45623b['id']:{const _0x30a347=_0x49aa08['params'];return(Array[_0x215046(0x1bd)](_0x30a347[_0x215046(0x293)])?_0x30a347[_0x215046(0x293)]:[_0x30a347['rule']])[_0x215046(0x152)](_0x4a90ad=>_0x4a90ad['ranges']['map'](_0x468adb=>({'range':_0x468adb,'unitId':_0x30a347['unitId'],'subUnitId':_0x30a347['subUnitId']})))[_0x215046(0x28f)]();}case _0x42e12a['id']:{const _0x248eec=_0x49aa08[_0x215046(0x2d6)];return _0x248eec['rule']['ranges'][_0x215046(0x152)](_0x3c6683=>({'range':_0x3c6683,'unitId':_0x248eec[_0x215046(0x1ae)],'subUnitId':_0x248eec[_0x215046(0x29c)]}));}default:return[];}}[_0x404af9(0x169)](_0x5df8f9){const _0x177631=_0x404af9;if(_0x5df8f9['length']<=0x1)return _0x5df8f9;const _0x5bf0ec=new Map();return _0x5df8f9[_0x177631(0x1f0)](_0x3deafe=>{const _0x10646e=_0x177631;var _0x5c3040;const {unitId:_0x37f35b,subUnitId:_0x17755a}=_0x3deafe,_0x4a4ce8=_0x37f35b+'-'+_0x17755a;_0x5bf0ec['has'](_0x4a4ce8)?(_0x5c3040=_0x5bf0ec[_0x10646e(0x17e)](_0x4a4ce8))==null||_0x5c3040[_0x10646e(0x22b)](_0x3deafe):_0x5bf0ec[_0x10646e(0x2f9)](_0x4a4ce8,[_0x3deafe]);}),Array['from'](_0x5bf0ec[_0x177631(0x19a)]())[_0x177631(0x152)](_0x2b8686=>new _0x2f7c40()[_0x177631(0x1df)](..._0x2b8686[_0x177631(0x152)](_0x2b5f5f=>_0x2b5f5f['range']))['merge']()[_0x177631(0x152)](_0x49d726=>({'range':_0x49d726,'unitId':_0x2b8686[0x0][_0x177631(0x1ae)],'subUnitId':_0x2b8686[0x0][_0x177631(0x29c)]})))[_0x177631(0x28f)]();}};w=Ds([Z(0x0,_0x5b46f5(g)),Z(0x1,_0x2868db),Z(0x2,_0x43fa94)],w);function ue(_0x2e363e){const _0x23c596=_0x404af9;return new _0x183244(_0x2e363e)[_0x23c596(0x186)]();}function Ts(_0x443734){const _0x14acad=_0x404af9,_0x2bd1c2=new _0x183244(_0x443734),_0x53f981=new _0x183244();return _0x2bd1c2[_0x14acad(0x256)]((_0x306831,_0x1176e4)=>{const _0xbf0b17=_0x14acad;_0x53f981[_0xbf0b17(0x2db)](_0x306831,_0x1176e4,0x1);}),_0x235cca(_0x53f981);}var bs=Object['getOwnPropertyDescriptor'],Ps=(_0x3ea214,_0x5a0f4c,_0x167eac,_0x554dc1)=>{const _0x42bb71=_0x404af9;for(var _0x4cb52c=_0x554dc1>0x1?void 0x0:_0x554dc1?bs(_0x5a0f4c,_0x167eac):_0x5a0f4c,_0x143f5d=_0x3ea214[_0x42bb71(0x17d)]-0x1,_0xc7a2ff;_0x143f5d>=0x0;_0x143f5d--)(_0xc7a2ff=_0x3ea214[_0x143f5d])&&(_0x4cb52c=_0xc7a2ff(_0x4cb52c)||_0x4cb52c);return _0x4cb52c;},b=(_0x4c479f,_0x33c2e8)=>(_0x1dd671,_0x5e49ad)=>_0x33c2e8(_0x1dd671,_0x5e49ad,_0x4c479f);let q=class extends _0x36218d{constructor(_0x5a01df,_0x4cfeb8,_0x328dd6,_0x10e82f,_0x14a335,_0x4399f6,_0x3c3944){const _0x25c481=_0x404af9;super(),_(this,'_diffs',new Set()),_(this,_0x25c481(0x254),null),(this['_context']=_0x5a01df,this[_0x25c481(0x16e)]=_0x4cfeb8,this['_versionDiffService']=_0x328dd6,this[_0x25c481(0x20f)]=_0x10e82f,this[_0x25c481(0x1fc)]=_0x14a335,this[_0x25c481(0x2bb)]=_0x4399f6,this[_0x25c481(0x28c)]=_0x3c3944,this[_0x25c481(0x220)]());}[_0x404af9(0x220)](){const _0x51c31e=_0x404af9;this[_0x51c31e(0x180)](),this[_0x51c31e(0x163)]();}[_0x404af9(0x180)](){const _0x1cfd28=_0x404af9;this[_0x1cfd28(0x291)](_0x339d12([this[_0x1cfd28(0x16e)][_0x1cfd28(0x168)],this[_0x1cfd28(0x2bb)][_0x1cfd28(0x248)]])[_0x1cfd28(0x1a6)](_0x3a1e7c(([_0x4d6d6e,_0x1ccbc9])=>{const _0x478296=_0x1cfd28;if(_0x4d6d6e===y[_0x478296(0x1bc)]&&_0x1ccbc9){const _0x375eef=_0x1ccbc9['sheetId'];return this[_0x478296(0x1d4)][_0x478296(0x237)]['pipe'](_0x1ce898(_0x445e7c=>{const _0x332af6=_0x478296,_0x13de8c=new Map();return _0x445e7c[_0x332af6(0x17f)]['forEach']((_0x3159d0,_0x5a8673)=>{const _0x159334=_0x332af6,_0x52de35=_0x3159d0[_0x159334(0x1b2)](_0x57fbbd=>_0x57fbbd[_0x159334(0x29c)]===_0x375eef);_0x13de8c[_0x159334(0x2f9)](_0x5a8673,_0x52de35);}),{'skeleton':_0x1ccbc9,'diffs':_0x13de8c};}));}return _0x3b9a29({'skeleton':null,'diffs':new Map()});}))[_0x1cfd28(0x2d9)](({skeleton:_0x34d198,diffs:_0x2657d7})=>{const _0x1d82e7=_0x1cfd28;this[_0x1d82e7(0x20a)](),_0x34d198&&this[_0x1d82e7(0x2d0)](_0x34d198,_0x2657d7);})),this['disposeWithMe'](this['_sheetSkeletonManagerService'][_0x1cfd28(0x248)][_0x1cfd28(0x2d9)](_0x338a46=>{const _0x17535f=_0x1cfd28;if(_0x338a46==null)return;const {skeleton:_0x2a807f}=_0x338a46,{scene:_0x4d3c98}=this['_context'];_0x4d3c98[_0x17535f(0x26c)][_0x17535f(0x173)](_0x57d71e(_0x15175a=>{const _0x31c6e6=_0x17535f;var _0x4119c8,_0x37fad9;const {offsetX:_0x46f022,offsetY:_0x14ac63}=_0x15175a,{x:_0x256bc8,y:_0x3bcedb}=_0x4d3c98['getRelativeToViewportCoord'](_0x35440c['FromArray']([_0x46f022,_0x14ac63])),{scaleX:_0x5574de,scaleY:_0x2abe66}=_0x4d3c98['getAncestorScale'](),_0x26d762=_0x4d3c98[_0x31c6e6(0x1f2)](_0x177ccd['VIEW_MAIN']),_0x41759a=_0x4d3c98[_0x31c6e6(0x2c2)](_0x35440c['FromArray']([_0x256bc8,_0x3bcedb]),_0x26d762),_0x3847a4=_0x2a807f[_0x31c6e6(0x202)](_0x46f022,_0x14ac63,_0x5574de,_0x2abe66,_0x41759a);((_0x4119c8=this['_lastPointer'])==null?void 0x0:_0x4119c8[_0x31c6e6(0x2e1)])===_0x3847a4[_0x31c6e6(0x2e1)]&&((_0x37fad9=this['_lastPointer'])==null?void 0x0:_0x37fad9[_0x31c6e6(0x238)])===_0x3847a4[_0x31c6e6(0x238)]||this[_0x31c6e6(0x313)][_0x31c6e6(0x1f0)](_0x2527c4=>{_0x2527c4['onMouseMove'](_0x3847a4);});},0x64));}));}[_0x404af9(0x163)](){const _0x42c4f7=_0x404af9;this[_0x42c4f7(0x291)](this['_historyManagerService'][_0x42c4f7(0x168)]['subscribe'](_0x4d3548=>{const _0x3ff1fd=_0x42c4f7,_0x33d745=new _0x4e0a1f();return _0x4d3548===y[_0x3ff1fd(0x1bc)]&&(_0x33d745[_0x3ff1fd(0x305)](),_0x33d745[_0x3ff1fd(0x1df)](this[_0x3ff1fd(0x1d4)]['currentVersionDiff$'][_0x3ff1fd(0x2d9)](_0x257d42=>{const _0x277a75=_0x3ff1fd;_0x257d42['active']&&this['_commandService'][_0x277a75(0x1a7)](_0x5cc330['id'],{'unitId':this['_context'][_0x277a75(0x1ae)],'subUnitId':_0x257d42[_0x277a75(0x310)]});}))),()=>_0x33d745['dispose']();}));}[_0x404af9(0x2d0)](_0x11054f,_0x36ed9f){const _0x33bb5b=_0x404af9;var _0x23b324;const _0x4433e0=(_0x23b324=this['_sheetSkeletonManagerService'][_0x33bb5b(0x1a3)]())==null?void 0x0:_0x23b324[_0x33bb5b(0x19f)];if(!_0x4433e0)return;this[_0x33bb5b(0x313)]['forEach'](_0x351ec6=>{const _0x1fed63=_0x33bb5b;_0x351ec6[_0x1fed63(0x15a)]();});const {scene:_0x16803b}=this[_0x33bb5b(0x1ff)],_0x54fae1=Array[_0x33bb5b(0x15e)](_0x36ed9f[_0x33bb5b(0x27a)]())['map'](_0x2bcf93=>_0x36ed9f[_0x33bb5b(0x17e)](_0x2bcf93)[_0x33bb5b(0x152)](_0x5045f6=>{const _0x3fb76e=_0x33bb5b;var _0x2d17d6;const {range:_0x36a108,subUnitId:_0xb0f9af,unitId:_0x45a8b0}=_0x5045f6,{startColumn:_0x3f6e47,startRow:_0x5c19d5,endColumn:_0x464eca,endRow:_0x57e681}=_0x36a108,_0x323eee=_0x1fdd80(_0x5c19d5,_0x3f6e47,_0x16803b,_0x4433e0),_0x40025a=_0x1fdd80(_0x57e681,_0x464eca,_0x16803b,_0x4433e0),{columnHeaderHeightAndMarginTop:_0x3b9330}=_0x4433e0,{startX:_0x4787a4,startY:_0x2b28b0}=_0x323eee,{endX:_0x49d580,endY:_0x2d1c41}=_0x40025a,_0x40d44f=_0x49d580-_0x4787a4,_0x59dc68=_0x2d1c41-_0x2b28b0,_0x465f25={'labelPosition':_0x2b28b0-_0x3b9330>=0x14?'top':_0x3fb76e(0x276),'sheetID':_0xb0f9af,'range':_0x36a108,'color':_0x3fb76e(0x21f),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x3fb76e(0x21f),'name':((_0x2d17d6=this[_0x3fb76e(0x16e)][_0x3fb76e(0x223)](_0x2bcf93))==null?void 0x0:_0x2d17d6['name'])||'','selection':_0x45a8b0+'-'+_0xb0f9af+'-'+_0x36a108[_0x3fb76e(0x229)]+'-'+_0x36a108[_0x3fb76e(0x181)]+'-'+_0x36a108[_0x3fb76e(0x2a2)]+'-'+_0x36a108[_0x3fb76e(0x29d)],'left':_0x4787a4,'top':_0x2b28b0,'width':_0x40d44f,'height':_0x59dc68,'evented':!0x1,'zIndex':0x1};return new _0x2cf8da('',_0x465f25);}))['flat']();_0x16803b[_0x33bb5b(0x274)](_0x54fae1,0x1),this[_0x33bb5b(0x313)]=new Set(_0x54fae1);}[_0x404af9(0x20a)](){const _0x1cddb2=_0x404af9;var _0x183ca1;(_0x183ca1=this['_diffs'])==null||_0x183ca1[_0x1cddb2(0x1f0)](_0x157007=>_0x157007[_0x1cddb2(0x305)]());}[_0x404af9(0x2b9)](){const _0x5772ea=_0x404af9;return _0x1463cb(this[_0x5772ea(0x20f)],this[_0x5772ea(0x1fc)]);}};q=Ps([b(0x1,_0x5b46f5(g)),b(0x2,_0x5b46f5(w)),b(0x3,_0x2e76e0),b(0x4,_0x1f61bc),b(0x5,_0x5b46f5(_0x10795b)),b(0x6,_0x5eb178)],q);function Ls(){const _0x419b8c=_0x404af9,_0x643260=_0x15c3e2(g),_0x307d8d=_0x4915b3(_0x643260[_0x419b8c(0x2eb)]),[_0xc02e5b,_0xc5ca25]=_0x6b35a1(!0x1),_0x2bc0e5=cs(_0x307d8d);return _0x307d8d?_0x5bf032(_0x419b8c(0x1b4),{'className':_0x419b8c(0x1da),'children':_0x305f6a('div',{'className':_0x419b8c(0x245),'children':[_0x2bc0e5[_0x419b8c(0x152)]((_0x51161b,_0x8ea49d)=>_0x305f6a(_0x351adb,{'children':[_0x5bf032(ws,{'date':_0x51161b['dateString']}),_0x51161b[_0x419b8c(0x21c)]['map']((_0x5a1e09,_0x226627)=>_0x5bf032($s,{'index':[_0x8ea49d,_0x226627],'item':_0x5a1e09},_0x8ea49d+'-'+_0x226627))]},_0x51161b[_0x419b8c(0x2e5)])),_0xc02e5b&&_0x5bf032(ys,{})]})}):_0x5bf032(Cs,{});}function ys(){const _0x443389=_0x404af9;return _0x5bf032(_0x443389(0x1b4),{'className':_0x443389(0x183),'children':_0x5bf032(re,{'className':'univer-animate-spin'})});}function Cs(){const _0x1e6de0=_0x404af9;return _0x5bf032(_0x1e6de0(0x1b4),{'className':_0x1e6de0(0x185),'children':_0x5bf032('span',{'className':_0x1e6de0(0x18a),'children':_0x5bf032(re,{'className':_0x1e6de0(0x162)})})});}function ws(_0x4201df){const _0x58538c=_0x404af9,_0x4f4079=_0x15c3e2(_0x29131e),{date:_0x5acb15}=_0x4201df;return _0x5bf032(_0x58538c(0x1b4),{'className':_0x58538c(0x16c),'children':J(_0x5acb15,_0x4f4079[_0x58538c(0x235)]())});}function $s(_0x169750){const _0x3a90d5=_0x404af9,{item:_0x4c7457,index:_0x575423}=_0x169750,{time:_0x5ae340,user:_0x3a81d1}=_0x4c7457,[_0x5710c5,_0x545aa7]=_0x575423,_0x104272=_0x15c3e2(g),_0x15def1=_0x4915b3(_0x104272['currentVersion$'],'',!0x0)===_0x4c7457['id'],_0x201b5e=_0x5710c5===0x0&&_0x545aa7===0x0,_0x406763=!_0x201b5e&&_0x104272[_0x3a90d5(0x15b)],_0x5a0f94=_0x15c3e2(_0x29131e),_0x31efb1=_0x5a0f94[_0x3a90d5(0x235)](),_0x5dea9e=ie(_0x5ae340,_0x31efb1),_0x24272a=_0x5a0f94['t'](_0x3a90d5(0x1de)),_0x18cb16=_0x2e0bd5(_0x35d962=>{const _0x41a8ff=_0x3a90d5;_0x104272[_0x41a8ff(0x17b)]!==y['Loading']&&(_0x104272[_0x41a8ff(0x2ed)]=_0x35d962);},[_0x104272]),_0x424b14=_0x2e0bd5(_0x5285d6=>{const _0x400d92=_0x3a90d5;_0x104272[_0x400d92(0x1f1)](_0x5285d6);},[_0x104272]);return _0x305f6a(_0x3a90d5(0x1b4),{'className':_0x26ecde(_0x3a90d5(0x30a),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x15def1}),'onClick':()=>_0x18cb16(_0x4c7457['id']),'children':[_0x305f6a(_0x3a90d5(0x1b4),{'className':_0x3a90d5(0x2b6),'children':[_0x305f6a(_0x3a90d5(0x1b4),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x5bf032(_0x3a90d5(0x1ab),{'children':_0x5dea9e[_0x3a90d5(0x2aa)]}),_0x201b5e&&_0x5bf032('span',{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x24272a})]}),_0x5bf032(_0x3a90d5(0x1b4),{'children':_0x406763&&_0x5bf032(_0x3d7272,{'title':_0x5a0f94['t'](_0x3a90d5(0x1d5)),'children':_0x5bf032('div',{'onClick':_0x25b344=>{const _0x2e194e=_0x3a90d5;_0x25b344[_0x2e194e(0x2ea)](),_0x424b14(_0x4c7457['id']);},'className':_0x3a90d5(0x23f),'children':_0x5bf032(Ce,{})})})})]}),_0x5bf032('div',{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':as(_0x4c7457,_0x5a0f94)})]});}var Us=Object[_0x404af9(0x2ae)],Vs=(_0x58133a,_0x2584e9,_0x2b7283,_0x1bfbea)=>{const _0x52c1a5=_0x404af9;for(var _0x36ace8=_0x1bfbea>0x1?void 0x0:_0x1bfbea?Us(_0x2584e9,_0x2b7283):_0x2584e9,_0xa700bc=_0x58133a[_0x52c1a5(0x17d)]-0x1,_0x259468;_0xa700bc>=0x0;_0xa700bc--)(_0x259468=_0x58133a[_0xa700bc])&&(_0x36ace8=_0x259468(_0x36ace8)||_0x36ace8);return _0x36ace8;},U=(_0xea1757,_0xfe8623)=>(_0x375373,_0x551014)=>_0xfe8623(_0x375373,_0x551014,_0xea1757);const he='history-panel';let Y=class extends _0x36218d{constructor(_0x50b851,_0x11adc5,_0x1e5005,_0x289f18){const _0x2b7ae3=_0x404af9;super(),_(this,'_sidebarDisposable',null),(this[_0x2b7ae3(0x2cc)]=_0x50b851,this[_0x2b7ae3(0x2c9)]=_0x11adc5,this[_0x2b7ae3(0x184)]=_0x1e5005,this[_0x2b7ae3(0x16e)]=_0x289f18,this['_init']());}[_0x404af9(0x220)](){const _0x44e182=_0x404af9;this[_0x44e182(0x2ff)](),this[_0x44e182(0x211)]();}[_0x404af9(0x211)](){const _0x2f2a13=_0x404af9;if(this[_0x2f2a13(0x296)])return;const _0x50571e={'header':{'title':this[_0x2f2a13(0x184)]['t'](_0x2f2a13(0x23e))},'children':{'label':he},'onClose':()=>{const _0xa45522=_0x2f2a13;this[_0xa45522(0x296)]=null,this[_0xa45522(0x16e)][_0xa45522(0x187)]=ne['Exited'];}};this[_0x2f2a13(0x296)]=this['_sidebarService'][_0x2f2a13(0x1cd)]({..._0x50571e});}[_0x404af9(0x2ff)](){const _0x4a23f5=_0x404af9;this[_0x4a23f5(0x291)](this[_0x4a23f5(0x2c9)][_0x4a23f5(0x267)](he,Ls)),this['disposeWithMe'](this[_0x4a23f5(0x2cc)][_0x4a23f5(0x1eb)][_0x4a23f5(0x1a6)](_0x48ae85(0x64))[_0x4a23f5(0x2d9)](_0x107568=>{const _0xf27c24=_0x4a23f5,{target:_0x45468d}=_0x107568||{};if(_0x45468d){const {scrollTop:_0x1fea3f,scrollHeight:_0x3e3e70,clientHeight:_0x190506}=_0x45468d;_0x1fea3f+_0x190506>=_0x3e3e70-0x5&&this[_0xf27c24(0x16e)][_0xf27c24(0x244)]();}}));}};Y=Vs([U(0x0,_0x20fa5e),U(0x1,_0x5b46f5(_0x154fd9)),U(0x2,_0x5b46f5(_0x29131e)),U(0x3,_0x5b46f5(g))],Y);class ks extends _0x36218d{constructor(){const _0x5d5f32=_0x404af9;super(),_(this,_0x5d5f32(0x2ad),new _0x39379a());}[_0x404af9(0x1cd)](){return _0x37e368(()=>{});}[_0x404af9(0x23c)](){}['closeAll'](_0x9fab0f){}['getDialogs$'](){const _0x593c17=_0x404af9;return this['_dialogOptions$'][_0x593c17(0x27f)]();}}var Hs=Object[_0x404af9(0x272)],xs=Object[_0x404af9(0x2ae)],As=(_0x4cac6f,_0x11fa5f,_0x1f6dc9)=>_0x11fa5f in _0x4cac6f?Hs(_0x4cac6f,_0x11fa5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f6dc9}):_0x4cac6f[_0x11fa5f]=_0x1f6dc9,Fs=(_0x38af53,_0x366688,_0x310d07,_0x26b68a)=>{const _0x1a9f49=_0x404af9;for(var _0xa1f2bf=_0x26b68a>0x1?void 0x0:_0x26b68a?xs(_0x366688,_0x310d07):_0x366688,_0x5ed2bf=_0x38af53[_0x1a9f49(0x17d)]-0x1,_0x1027a7;_0x5ed2bf>=0x0;_0x5ed2bf--)(_0x1027a7=_0x38af53[_0x5ed2bf])&&(_0xa1f2bf=_0x1027a7(_0xa1f2bf)||_0xa1f2bf);return _0xa1f2bf;},K=(_0x2c124c,_0x3b7f35)=>(_0xc70109,_0x3d52fe)=>_0x3b7f35(_0xc70109,_0x3d52fe,_0x2c124c),Ys=(_0xa6f85c,_0x1b0eb7,_0x5cbea7)=>As(_0xa6f85c,_0x1b0eb7+'',_0x5cbea7);const Bs=_0x404af9(0x2f1);let ee=class extends _0x20ed36{constructor(_0x5ed1fc=le,_0x5587a2,_0x43ef22,_0x370b00){const _0x4a25db=_0x404af9;super(),this[_0x4a25db(0x1d1)]=_0x5ed1fc,this[_0x4a25db(0x269)]=_0x5587a2,this[_0x4a25db(0x1fc)]=_0x43ef22,this[_0x4a25db(0x270)]=_0x370b00;const {..._0x8b8907}=_0x4411cf({},le,this[_0x4a25db(0x1d1)]);this[_0x4a25db(0x270)]['setConfig'](Pe,_0x8b8907);}[_0x404af9(0x257)](){const _0x434f45=_0x404af9;[[g],[F],[w],[A],[Y],[H],[_0x43fa94,{'useClass':_0x66c693}],[_0x3bd24e,{'useClass':ks}],[_0x16cf14,{'useClass':_0xddd865}]][_0x434f45(0x1f0)](_0x5243b6=>this[_0x434f45(0x269)][_0x434f45(0x1df)](_0x5243b6)),this['_injector']['get'](F);}[_0x404af9(0x16a)](){const _0xee998a=_0x404af9;[[q]][_0xee998a(0x1f0)](_0x33937b=>{const _0x341f17=_0xee998a;this[_0x341f17(0x291)](this[_0x341f17(0x1fc)][_0x341f17(0x192)](_0x5243d4[_0x341f17(0x239)],_0x33937b));}),this[_0xee998a(0x269)][_0xee998a(0x17e)](H),this[_0xee998a(0x269)]['get'](Y);}[_0x404af9(0x280)](){this['_injector']['get'](w);}};Ys(ee,_0x404af9(0x25b),Bs),ee=Fs([_0x33e689(_0x2abb60,_0x56e334),K(0x1,_0x5b46f5(_0x560760)),K(0x2,_0x1f61bc),K(0x3,_0x183e8e)],ee);export{g as HistoryManagerService,ne as HistoryModeStatus,ee as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x2cb6e4=_0x50cb;(function(_0x286bd4,_0x59be5a){const _0x27095e=_0x50cb,_0xa49db=_0x286bd4();while(!![]){try{const _0x11a32e=parseInt(_0x27095e(0x2f0))/0x1*(-parseInt(_0x27095e(0x356))/0x2)+-parseInt(_0x27095e(0x24b))/0x3+-parseInt(_0x27095e(0x2b5))/0x4+-parseInt(_0x27095e(0x2bc))/0x5+-parseInt(_0x27095e(0x2b9))/0x6*(parseInt(_0x27095e(0x307))/0x7)+parseInt(_0x27095e(0x26b))/0x8+parseInt(_0x27095e(0x31e))/0x9;if(_0x11a32e===_0x59be5a)break;else _0xa49db['push'](_0xa49db['shift']());}catch(_0x15cc60){_0xa49db['push'](_0xa49db['shift']());}}}(_0x148d,0x8934a));var xe=Object[_0x2cb6e4(0x23e)],Ae=(_0x1c9a8d,_0x1f5bbe,_0x2db5cd)=>_0x1f5bbe in _0x1c9a8d?xe(_0x1c9a8d,_0x1f5bbe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2db5cd}):_0x1c9a8d[_0x1f5bbe]=_0x2db5cd,c=(_0x1e7d87,_0xf19347,_0x5711c4)=>Ae(_0x1e7d87,typeof _0xf19347!=_0x2cb6e4(0x29f)?_0xf19347+'':_0xf19347,_0x5711c4);import{RevertRevisionMutation as _0x552bee,CreateUnitMutation as _0x48e5ca,ISnapshotServerService as _0x19371c,CompressMutationService as _0x4ada37,transformSnapshotToWorkbookData as _0x1efcef,ITransformService as _0x404d3b,parseProtocolChangeset as _0x557b83,isTransformMutationsSuccess as _0x582c81}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x31e1df,CollaborationImageIoService as _0x2a01f1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x555e29,LocaleType as _0x5d1aa2,IUniverInstanceService as _0x381737,ICommandService as _0x241833,IConfigService as _0x32a9c2,Inject as _0x4aaff5,UniverInstanceType as _0x113232,LocaleService as _0x2d2eaf,IPermissionService as _0xbdfc78,Injector as _0x14f2b5,ObjectMatrix as _0x4abeaf,debounce as _0x5c6339,DisposableCollection as _0x15ce3c,toDisposable as _0x1fcd3d,DependentOn as _0x165f15,Plugin as _0x1587be,merge as _0x4eb917}from'@univerjs/core';import{IImageIoService as _0x5e004c}from'@univerjs/drawing';import{IRenderManagerService as _0x28ff8b,Vector2 as _0x394574,SHEET_VIEWPORT_KEY as _0x2bf945}from'@univerjs/engine-render';import{HTTPService as _0x391ae6,UniverNetworkPlugin as _0x4d145b}from'@univerjs/network';import{ICellEditorManagerService as _0x378ff3,SheetSkeletonManagerService as _0xf71e45,getCoordByCell as _0x4b40a2,getSheetObject as _0x1ec31a,UniverSheetsUIPlugin as _0x39b93f}from'@univerjs/sheets-ui';import{IMessageService as _0x964c74,IConfirmService as _0x2d9c9d,useDependency as _0x30b5c3,useObservable as _0xe37064,IUIPartsService as _0xfa5a57,BuiltInUIPart as _0x4c12ab,connectInjector as _0x3bdc12,ISidebarService as _0x52d5f4,ComponentManager as _0x2ccfa8,IDialogService as _0xdf2df3}from'@univerjs/ui';import{MessageType as _0x1a2dc5,clsx as _0x15693a,Button as _0x47226d,borderBottomClassName as _0x181437,Tooltip as _0x3fbb81}from'@univerjs/design';function _0x148d(){const _0x1a1578=['getUnitId','memberId','LOGIN_FAILED','YUUMI_UNABLE_LOAD_URL','concat','getUnitOnRev','LICENSE_IMPORT_SIZE_EXCEEDED','forValue','MOBILE_VERIFY_CODE_MISMATCH','loading-multi-icon','_status$','history-panel','currentVersion$','startColumn','_initRender','_init','getSeconds','Filter','_workbookDataCache','subType','value','loadSheet','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_INACTIVE','TOO_MANY_REQUESTS','triggerRevert','unitId$','left','_getAPIPrefix','SetWorksheetStyle','flex','YUUMI_NO_CUBOID_FOR_QUESTION','assign','_combineRanges','_unitId$','fetchMissingChangesets','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','getHours','APPLY_NON_SEQUENTIAL_REVISION','&lastLabel=','skeleton','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','some','_revertRevision$','versions','FloatImg','_localeService','revertRevision$','_createUnit','none','UNIVER_SLIDE','BackIcon','_openPanel','replace','code','ENTITLE_COUPON_USED_UP','_maskContainer','cellValue','width','center','univer-text-2xl\x20dark:!univer-text-white','rules','MoveSheet','triggerLoadVersions','MoveWorksheet','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','split','COMPLETION_FINISHED','defineProperty','ranges','Loaded','name','absolute','_config','onStarting','reduce','canRevert','ENTITLE_CHAT_LIMIT_EXCEED','_getRangesByMutation','RecoverHistory','editHistory.panel.cancel','2863377MVlRRn','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getDataRange','disposeWithMe','attrs','updatePermissionPoint','_injector','InsertHyperlink','getInterceptPoints','editHistory.panel.currentUser','DeleteColumn','univer-text-gray-500','UNIVER_SHEET','scrollEvent$','entered','REDEMPTION_INVALID_CODE','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','button','bottom','sheetId','ENTITLE_DUP_SUBSCRIPTION','currentVersionDiff$','CreateSheet','all','getDialogs$','fetchThroughInterceptors','Share','open','Exited','endColumn','YUUMI_ALL_TABLES_IS_INVALID','CONNECTOR_DATA_TOO_LARGE','2698960fDIKaN','UNDEFINED','restore-icon','_historyContainerId','span','InsertColumn','_removeDiffMarks','onRendered','loaded','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','xlink:href','History','row','blockMeta','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','versions$','commands','APPLY_DUPLICATED','flat','View','params','init','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_currentVersion$','display','_messageService','style','UNIVER_UNKNOWN','INVITE_CODE_ALREADY_BOUND','ViewHistory','_updateVersions','asObservable','current','Duplicate','position','APPLY_REJECT','registerComponent','_historyManagerService','editHistory.panel.revertDesc','_compressMutationService','userID','_permissionService','dateString','LICENSE_MAX_UNITS_EXCEEDED','editHistory.panel.revertConfirmText','YUUMI_URL_COL_OUT_OF_RANGE','rgba(58,\x2096,\x20247,\x200.20)','currentColor','getVersion','_fetching','rule','children','symbol','USER_IS_ANONYMOUS','UNIVER_PROJECT','Comment','pluginName','mask','editHistory.panel.listFetchError','subscribe','Error','_initPanel','path','REDEMPTION_USER_REDEEM_TIMES_EXCEED','historyListServerUrl','loadingState','PivotTable','user','date','RenameSheet','edit-history-viewer.config','YUUMI_SUBSCRIPTION_NOT_FOUND','EMAIL_HAS_BEEN_BOUND','next','3743852jVpEtA','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','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','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','378678AcPUqV','EditExtraObject','_createMask','5087830MLwfSu','time','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','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','editHistory.info.loading','/universer-api/history','INVALID_INVITE_CODE','ViemRwHgtClWdt','evenodd','SelectProtectedCells','DeleteWorksheet','editHistory.action.revertSheetSuffix','CreatePermissionObject','_cellEditorManagerService','PY_RUNTIME_SCRIPT_ERROR','editHistory.panel.title','action','_transformService','padStart','CHANGESET_REVISION_CONFILICT','_univerInstanceService','getVpScrollXYInfoByPosToVp','getOwnPropertyDescriptor','YUUMI_ASYNCIO_CANCELLED','command','ManageCollaborator','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Copy','/list?length=20','_currentVersionDiff$','getMember','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','AUTHORIZE_CODE_ILLEGAL','find','editHistory.panel.confirm','editHistory.header.revert','_uiPartsService','ERROR_AGAIN','CreateWorksheet','m1Prime','values','_extractRanges','clear','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENSURE_SNAPSHOT_EXECUTION','InsertRow','_sidebarDisposable','zIndex','now','executeCommand','url(#$1','createTime','1mHdjYv','onSteady','INVITE_CODE_REQUIRED','set','DeleteSheet','loading','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','getConfig','_dialogOptions$','editHistory.panel.unknownUser','PAYMENT_CHANNEL_NOT_SUPPORT','endRevision','editSheet','back-icon','INVITE_CODE_HAS_BEEN_UES','MOBILE_HAS_BEEN_BOUND','push','http://www.w3.org/2000/svg','editHistory.action.etc','subUnitId','_members','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','restore-icon_clip0_1247_2','84KfkAqo','data','div','#0B9EFB','toString','range','DeleteRow','confirm','univer-m-auto\x20univer-animate-spin','CopySheet','addProtection','REDEMPTION_CODE_NOT_STARTED','defIds','append','substring','mutations','_getActiveSubUnitId','showMask','_versions$','show','_lastLabel','setDV','SetRowStyle','39529665YTHUeJ','length','register','entities','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_configService','_sheetSkeletonManagerService','_initActiveSwitch','CURRENT_STATUS_CANNOT_OPERATE','_sheetPermissionInitController','SetCellStyle','REDEMPTION_CODE_FULLY_REDEEMED','workbook','_historyFetchService','parse','DATA_SOURCE_TOO_LARGE','_componentManager','insertSheet','hideMask','Init','YUUMI_TABLE_NOT_FOUND_IN_UNIT','history-mask','INTERNAL_ERROR','Loading','dispose','UNAUTHENTICATED','endRow','has','HideSheet','interceptor','.univer-app-container-content','_versionDiffService','_loadingState$','ENTITLE_INVALID_COUPON_CODE','getAncestorScale','tag','editHistory.action.revertSheetPrefix','endRev','editHistory.panel.revertConfirm','LoadingMultiIcon','getCurrentVersion','_updateDiffMarks','ENTITLE_NEED_BILLING_ADDRESS','_commandService','Sort','idSuffix','WECHAT_HAS_BEEN_BOUND','colorChannel1','SetColumnStyle','backgroundColor','top','loadMoreVersions','justifyContent','setFrozen','_diffRangesMap','addObjects','1004434wIULfc','VIRTUAL_VERSION_NOW','startRow','getCellPositionByOffset','defs','sheet','ENTITLE_COUPON_EXPIRED','_snapshotServerService','Info','0\x200\x2016\x2016','url(#restore-icon_clip0_1247_2)','_getSheetObject','get','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_DISTRO_REJECTED','LOGIN_TOKEN_PROCESSING_FAILED','add','fill','filter','NOT_FOUND','_maskElement','getCurrentLocale','ENTITLE_INSUFFICIENT_QUOTA','registerRenderModule','ENTITLE_REPORT_LIMIT_EXCEED','_canRevert','Edit',':\x20(','_initMaskContainer','univerjs-icon\x20univerjs-icon-','status','map','trim','_diffs','includes','ALREADY_EXISTS','hasCommand','Export','_transformMutationByOrder','_context','svg','then','rect','ZH_CN','deleteProtection','disposeUnit','HideWorksheet','SNAPSHOT_HAS_BEEN_REMOVED','RenameWorksheet','EMAIL_VERIFY_CODE_MISMATCH','REDEMPTION_USER_NOT_ELIGIBLE','loadingState$','FromArray','column','ensureVersion','toISOString','permissionPointUpdate$','users','error','string','use','anonymous','displayName','getRelativeToViewportCoord','_renderManagerService','1em','focusUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getElementById','setValue','close','setFilter','height','_httpService','PERMISSION_DENIED','currentVersion','UNRECOGNIZED','YUUMI_AI_RUN_FAILED','ViewFilter','_hasMore','active','APPLY_PERMISSION_DENIED','recoverTime','HEADER','setCF','INVALID_ARGUMENT','EditWorksheetCell','_lastPointer','Today','pipe','onMouseMove','SetCellValue','getVersions','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','blocks','isArray','block','getMinutes','forEach','unitId','entries','SNAPSHOT_INVALID_SNAPSHOT','userId','refreshRangeProtectPermission','YUUMI_RATE_OVER_LIMIT','Print','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','exited','transformMutations','REDEMPTION_CODE_HAS_BEEN_CREATED'];_0x148d=function(){return _0x1a1578;};return _0x148d();}import{InsertSheetMutation as _0x314f47,RemoveSheetMutation as _0x2a8524,SetFrozenMutation as _0x4265c6,AddWorksheetProtectionMutation as _0x501852,AddRangeProtectionMutation as _0x156471,DeleteRangeProtectionMutation as _0x140c01,DeleteWorksheetProtectionMutation as _0x295ca5,SheetPermissionInitController as _0x43210a,WorkbookEditablePermission as _0x27b647,WorkbookRenameSheetPermission as _0x248c0b,WorkbookMoveSheetPermission as _0x26339d,WorkbookHideSheetPermission as _0x12bf61,SetWorksheetHideMutation as _0x475e4e,SetRangeValuesMutation as _0x31d683,SetRangeProtectionMutation as _0x55ea74,ReorderRangeMutation as _0x393e31,RemoveNumfmtMutation as _0x29833f,SetNumfmtMutation as _0x4b3887,MoveColsMutation as _0x3743c6,MoveRowsMutation as _0x388f9b,MoveRangeMutation as _0x36eed8,InsertColMutation as _0xe46a58,InsertRowMutation as _0x179536,AddWorksheetMergeMutation as _0x42495d,RangeMergeUtil as _0x56d55d,findAllRectangle as _0x398609,SetWorksheetActiveOperation as _0x58ed03}from'@univerjs/sheets';import{BehaviorSubject as _0x2c8b5b,combineLatest as _0x1dc938,switchMap as _0x5553c3,map as _0x32acdf,of as _0x20a5f7,debounceTime as _0x1d2b6d,Subject as _0x19ef2a}from'rxjs';import{InsertSheetsChartMutation as _0x154edf}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0xce0579}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x5abfc9,UpdateDataValidationMutation as _0x36440a}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x8be438,AddConditionalRuleMutation as _0x399d6e}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x1073da}from'@univerjs/sheets-filter';import{jsxs as _0x4f314f,jsx as _0x30c25d}from'react/jsx-runtime';import{useRef as _0x1f51c9,createElement as _0x33de19,forwardRef as _0x21d9e4,useCallback as _0x511d34,useState as _0x25215d,Fragment as _0x41b79c}from'react';import{SheetCollabCursorShape as _0x447436}from'@univerjs-pro/collaboration-client-ui';const be=_0x2cb6e4(0x2b1),le={};var is=Object[_0x2cb6e4(0x2d2)],ns=(_0x5abf86,_0x4b57d1,_0x1d4f63,_0x20fd9e)=>{const _0x473685=_0x2cb6e4;for(var _0x133de6=_0x20fd9e>0x1?void 0x0:_0x20fd9e?is(_0x4b57d1,_0x1d4f63):_0x4b57d1,_0x16374f=_0x5abf86[_0x473685(0x31f)]-0x1,_0x279ae2;_0x16374f>=0x0;_0x16374f--)(_0x279ae2=_0x5abf86[_0x16374f])&&(_0x133de6=_0x279ae2(_0x133de6)||_0x133de6);return _0x133de6;},rs=(_0x586229,_0x3dff5e)=>(_0x5ceff3,_0x526549)=>_0x3dff5e(_0x5ceff3,_0x526549,_0x586229);let H=class extends _0x555e29{constructor(_0x134592){const _0x1a8f28=_0x2cb6e4;super(),this['_cellEditorManagerService']=_0x134592,this[_0x1a8f28(0x209)]();}['_init'](){const _0x2af054=_0x2cb6e4;this[_0x2af054(0x24e)](this['_cellEditorManagerService']['state$'][_0x2af054(0x2a6)](_0xd40cf5=>{const _0x4c4d11=_0x2af054;_0xd40cf5!=null&&_0xd40cf5[_0x4c4d11(0x31a)]&&this[_0x4c4d11(0x2c9)]['setState']({'show':!0x1});}));}};H=ns([rs(0x0,_0x378ff3)],H);var W=(_0x93d74b=>(_0x93d74b[_0x93d74b[_0x2cb6e4(0x26c)]=0x0]=_0x2cb6e4(0x26c),_0x93d74b[_0x93d74b['OK']=0x1]='OK',_0x93d74b[_0x93d74b[_0x2cb6e4(0x334)]=0x2]=_0x2cb6e4(0x334),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d6)]=0x3]=_0x2cb6e4(0x1d6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x19f)]=0x4]=_0x2cb6e4(0x19f),_0x93d74b[_0x93d74b[_0x2cb6e4(0x337)]=0x5]=_0x2cb6e4(0x337),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1af)]=0x6]=_0x2cb6e4(0x1af),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1e1)]=0x7]=_0x2cb6e4(0x1e1),_0x93d74b[_0x93d74b[_0x2cb6e4(0x212)]=0x8]='TOO_MANY_REQUESTS',_0x93d74b[_0x93d74b['COMPLETION_FINISHED']=0x9]=_0x2cb6e4(0x23d),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1fc)]=0xa]='LOGIN_FAILED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x202)]=0xb]=_0x2cb6e4(0x202),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2e7)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1bd)]=0xd]=_0x2cb6e4(0x1bd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x322)]=0xe]=_0x2cb6e4(0x322),_0x93d74b[_0x93d74b['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2cb6e4(0x2dc),_0x93d74b[_0x93d74b[_0x2cb6e4(0x19b)]=0x10]=_0x2cb6e4(0x19b),_0x93d74b[_0x93d74b[_0x2cb6e4(0x326)]=0x64]=_0x2cb6e4(0x326),_0x93d74b[_0x93d74b['ERROR_AGAIN']=0x65]=_0x2cb6e4(0x2e1),_0x93d74b[_0x93d74b['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x2a0)]=0xca]=_0x2cb6e4(0x2a0),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2cf)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f1)]=0x1771]=_0x2cb6e4(0x1f1),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1bb)]=0x1772]=_0x2cb6e4(0x1bb),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2e8)]=0x1773]=_0x2cb6e4(0x2e8),_0x93d74b[_0x93d74b[_0x2cb6e4(0x28e)]=0x1b59]='APPLY_REJECT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x220)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x93d74b[_0x93d74b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1dd)]=0x1b5c]=_0x2cb6e4(0x1dd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x27c)]=0x1b5d]=_0x2cb6e4(0x27c),_0x93d74b[_0x93d74b[_0x2cb6e4(0x26a)]=0x1f41]=_0x2cb6e4(0x26a),_0x93d74b[_0x93d74b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2cb6e4(0x296),_0x93d74b[_0x93d74b[_0x2cb6e4(0x274)]=0x232a]=_0x2cb6e4(0x274),_0x93d74b[_0x93d74b[_0x2cb6e4(0x200)]=0x232b]=_0x2cb6e4(0x200),_0x93d74b[_0x93d74b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2cb6e4(0x210),_0x93d74b[_0x93d74b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2cb6e4(0x19a),_0x93d74b[_0x93d74b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2cb6e4(0x1fd),_0x93d74b[_0x93d74b[_0x2cb6e4(0x298)]=0x2712]=_0x2cb6e4(0x298),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f4)]=0x2713]=_0x2cb6e4(0x1f4),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2b2)]=0x2714]=_0x2cb6e4(0x2b2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x219)]=0x271a]=_0x2cb6e4(0x219),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2d3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x93d74b[_0x93d74b[_0x2cb6e4(0x332)]=0x271c]=_0x2cb6e4(0x332),_0x93d74b[_0x93d74b[_0x2cb6e4(0x269)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1f6)]=0x271e]=_0x2cb6e4(0x1f6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d9)]=0x271f]=_0x2cb6e4(0x1d9),_0x93d74b[_0x93d74b[_0x2cb6e4(0x199)]=0x2720]=_0x2cb6e4(0x199),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2ca)]=0x2af9]=_0x2cb6e4(0x2ca),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2fe)]=0x2ee1]=_0x2cb6e4(0x2fe),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2c2)]=0x2ee2]=_0x2cb6e4(0x2c2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2f2)]=0x2ee3]=_0x2cb6e4(0x2f2),_0x93d74b[_0x93d74b['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x93d74b[_0x93d74b[_0x2cb6e4(0x287)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x34c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x93d74b[_0x93d74b[_0x2cb6e4(0x2ff)]=0x32ca]=_0x2cb6e4(0x2ff),_0x93d74b[_0x93d74b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2cb6e4(0x2b3),_0x93d74b[_0x93d74b[_0x2cb6e4(0x281)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x93d74b[_0x93d74b[_0x2cb6e4(0x1cf)]=0x36b2]=_0x2cb6e4(0x1cf),_0x93d74b[_0x93d74b['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x2cb6e4(0x25f),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2fa)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x93d74b[_0x93d74b['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2cb6e4(0x33f),_0x93d74b[_0x93d74b['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2cb6e4(0x35c),_0x93d74b[_0x93d74b[_0x2cb6e4(0x231)]=0x36b7]=_0x2cb6e4(0x231),_0x93d74b[_0x93d74b['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x2cb6e4(0x2d6),_0x93d74b[_0x93d74b[_0x2cb6e4(0x247)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x93d74b[_0x93d74b['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x2cb6e4(0x1a4),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1a2)]=0x3717]=_0x2cb6e4(0x1a2),_0x93d74b[_0x93d74b[_0x2cb6e4(0x348)]=0x37dd]=_0x2cb6e4(0x348),_0x93d74b[_0x93d74b[_0x2cb6e4(0x25a)]=0x3a99]=_0x2cb6e4(0x25a),_0x93d74b[_0x93d74b['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2cb6e4(0x211),_0x93d74b[_0x93d74b[_0x2cb6e4(0x329)]=0x3a9b]=_0x2cb6e4(0x329),_0x93d74b[_0x93d74b[_0x2cb6e4(0x312)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x93d74b[_0x93d74b['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2cb6e4(0x1be),_0x93d74b[_0x93d74b[_0x2cb6e4(0x2aa)]=0x3a9e]=_0x2cb6e4(0x2aa),_0x93d74b[_0x93d74b['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2cb6e4(0x1f9),_0x93d74b[_0x93d74b['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2cb6e4(0x32d),_0x93d74b[_0x93d74b[_0x2cb6e4(0x1d8)]=-0x1]='UNRECOGNIZED',_0x93d74b))(W||{}),x=(_0x558f80=>(_0x558f80[_0x558f80['UNIVER_UNKNOWN']=0x0]=_0x2cb6e4(0x286),_0x558f80[_0x558f80['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x558f80[_0x558f80[_0x2cb6e4(0x257)]=0x2]=_0x2cb6e4(0x257),_0x558f80[_0x558f80[_0x2cb6e4(0x22c)]=0x3]='UNIVER_SLIDE',_0x558f80[_0x558f80[_0x2cb6e4(0x2a1)]=0x4]=_0x2cb6e4(0x2a1),_0x558f80[_0x558f80[_0x2cb6e4(0x1d8)]=-0x1]=_0x2cb6e4(0x1d8),_0x558f80))(x||{}),D=(_0x51e234=>(_0x51e234[_0x51e234[_0x2cb6e4(0x27e)]=0x0]=_0x2cb6e4(0x27e),_0x51e234[_0x51e234[_0x2cb6e4(0x1a6)]=0x1]=_0x2cb6e4(0x1a6),_0x51e234[_0x51e234[_0x2cb6e4(0x2d5)]=0x2]='ManageCollaborator',_0x51e234[_0x51e234[_0x2cb6e4(0x1f5)]=0x3]='Print',_0x51e234[_0x51e234[_0x2cb6e4(0x28c)]=0x4]='Duplicate',_0x51e234[_0x51e234[_0x2cb6e4(0x2a2)]=0x5]=_0x2cb6e4(0x2a2),_0x51e234[_0x51e234[_0x2cb6e4(0x2d7)]=0x6]='Copy',_0x51e234[_0x51e234[_0x2cb6e4(0x265)]=0x7]=_0x2cb6e4(0x265),_0x51e234[_0x51e234[_0x2cb6e4(0x1b1)]=0x8]=_0x2cb6e4(0x1b1),_0x51e234[_0x51e234['MoveWorksheet']=0x9]=_0x2cb6e4(0x23a),_0x51e234[_0x51e234[_0x2cb6e4(0x2c6)]=0xa]=_0x2cb6e4(0x2c6),_0x51e234[_0x51e234['HideWorksheet']=0xb]=_0x2cb6e4(0x1ba),_0x51e234[_0x51e234['RenameWorksheet']=0xc]=_0x2cb6e4(0x1bc),_0x51e234[_0x51e234[_0x2cb6e4(0x2e2)]=0xd]=_0x2cb6e4(0x2e2),_0x51e234[_0x51e234[_0x2cb6e4(0x217)]=0xe]=_0x2cb6e4(0x217),_0x51e234[_0x51e234[_0x2cb6e4(0x1e2)]=0xf]='EditWorksheetCell',_0x51e234[_0x51e234[_0x2cb6e4(0x252)]=0x10]=_0x2cb6e4(0x252),_0x51e234[_0x51e234[_0x2cb6e4(0x34a)]=0x11]=_0x2cb6e4(0x34a),_0x51e234[_0x51e234[_0x2cb6e4(0x20b)]=0x12]=_0x2cb6e4(0x20b),_0x51e234[_0x51e234['PivotTable']=0x13]=_0x2cb6e4(0x2ad),_0x51e234[_0x51e234[_0x2cb6e4(0x227)]=0x14]=_0x2cb6e4(0x227),_0x51e234[_0x51e234['History']=0x15]=_0x2cb6e4(0x276),_0x51e234[_0x51e234['RwHgtClWdt']=0x16]='RwHgtClWdt',_0x51e234[_0x51e234[_0x2cb6e4(0x2c3)]=0x17]='ViemRwHgtClWdt',_0x51e234[_0x51e234[_0x2cb6e4(0x1da)]=0x18]='ViewFilter',_0x51e234[_0x51e234[_0x2cb6e4(0x238)]=0x19]=_0x2cb6e4(0x238),_0x51e234[_0x51e234['DeleteSheet']=0x1a]=_0x2cb6e4(0x2f4),_0x51e234[_0x51e234[_0x2cb6e4(0x33a)]=0x1b]=_0x2cb6e4(0x33a),_0x51e234[_0x51e234[_0x2cb6e4(0x310)]=0x1c]=_0x2cb6e4(0x310),_0x51e234[_0x51e234[_0x2cb6e4(0x2b0)]=0x1d]=_0x2cb6e4(0x2b0),_0x51e234[_0x51e234[_0x2cb6e4(0x261)]=0x1e]=_0x2cb6e4(0x261),_0x51e234[_0x51e234[_0x2cb6e4(0x2c5)]=0x1f]='SelectProtectedCells',_0x51e234[_0x51e234['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x51e234[_0x51e234[_0x2cb6e4(0x328)]=0x21]=_0x2cb6e4(0x328),_0x51e234[_0x51e234[_0x2cb6e4(0x1e7)]=0x22]=_0x2cb6e4(0x1e7),_0x51e234[_0x51e234[_0x2cb6e4(0x31d)]=0x23]='SetRowStyle',_0x51e234[_0x51e234['SetColumnStyle']=0x24]=_0x2cb6e4(0x34e),_0x51e234[_0x51e234[_0x2cb6e4(0x2e9)]=0x25]=_0x2cb6e4(0x2e9),_0x51e234[_0x51e234[_0x2cb6e4(0x270)]=0x26]='InsertColumn',_0x51e234[_0x51e234[_0x2cb6e4(0x30d)]=0x27]=_0x2cb6e4(0x30d),_0x51e234[_0x51e234[_0x2cb6e4(0x255)]=0x28]='DeleteColumn',_0x51e234[_0x51e234[_0x2cb6e4(0x2ba)]=0x29]='EditExtraObject',_0x51e234[_0x51e234['Delete']=0x2a]='Delete',_0x51e234[_0x51e234[_0x2cb6e4(0x249)]=0x2b]=_0x2cb6e4(0x249),_0x51e234[_0x51e234[_0x2cb6e4(0x288)]=0x2c]=_0x2cb6e4(0x288),_0x51e234[_0x51e234[_0x2cb6e4(0x2c8)]=0x2d]=_0x2cb6e4(0x2c8),_0x51e234[_0x51e234[_0x2cb6e4(0x1d8)]=-0x1]=_0x2cb6e4(0x1d8),_0x51e234))(D||{});function _0x50cb(_0xedf58e,_0xe747ef){_0xedf58e=_0xedf58e-0x193;const _0x148d25=_0x148d();let _0x50cb45=_0x148d25[_0xedf58e];return _0x50cb45;}function as(_0x59c6ba){const _0x6937d2=_0x2cb6e4;return!!(_0x59c6ba&&_0x59c6ba[_0x6937d2(0x230)]&&_0x59c6ba[_0x6937d2(0x230)]!==W['OK']&&_0x59c6ba[_0x6937d2(0x230)]!=='OK');}const ie=(_0x22314b,_0x57adac)=>{const _0x3de710=_0x2cb6e4;if(!_0x22314b)return{'date':'','time':''};const _0x57febc=new Date(_0x22314b),_0x372440=_0x57febc[_0x3de710(0x1c3)]()['split']('T')[0x0];switch(_0x57adac){case _0x5d1aa2[_0x3de710(0x1b7)]:return{'date':J(_0x372440,_0x57adac),'time':_0x57febc[_0x3de710(0x21f)]()+':'+String(_0x57febc[_0x3de710(0x1ed)]())[_0x3de710(0x2ce)](0x2,'0')+':'+String(_0x57febc[_0x3de710(0x20a)]())['padStart'](0x2,'0')};default:return{'date':J(_0x372440,_0x57adac),'time':_0x57febc['getHours']()+':'+_0x57febc['getMinutes']()+':'+_0x57febc[_0x3de710(0x20a)]()};}},os=(_0x59bf95,_0xcd9081)=>{const _0x2b8a1e=_0x2cb6e4,_0x576352=_0x59bf95[_0x2b8a1e(0x2ae)]||_0xcd9081['t'](_0x2b8a1e(0x2f9));if(_0x59bf95['commands'][_0x2b8a1e(0x224)](_0x540539=>_0x540539===_0x552bee['id'])&&_0x59bf95[_0x2b8a1e(0x1de)]){const _0x9c7d8d=ie(_0x59bf95[_0x2b8a1e(0x1de)],_0xcd9081[_0x2b8a1e(0x1a1)]()),_0x39daa0=_0x9c7d8d['date']+'\x20'+_0x9c7d8d[_0x2b8a1e(0x2bd)];return _0x576352+'\x20'+_0xcd9081['t'](_0x2b8a1e(0x342))+'\x20'+_0x39daa0+'\x20'+_0xcd9081['t'](_0x2b8a1e(0x2c7));}const _0x4585d5=_s(_0x59bf95),_0x371d6c=_0x4585d5['length']===0x1?_0xcd9081['t'](_0x4585d5[0x0]):''+_0xcd9081['t'](_0x4585d5[0x0])+_0xcd9081['t'](_0x2b8a1e(0x302));return _0x576352+'\x20'+_0x371d6c;};function _s(_0x2408c5){const _0x418bb5=_0x2cb6e4;if(_0x2408c5[_0x418bb5(0x27b)][_0x418bb5(0x31f)]===0x0)return[''];const _0x39c82a='editHistory.action.',_0x174c99=_0x39c82a+_0x418bb5(0x2fc),_0x2f44f0=[{'id':_0x48e5ca['id'],'action':_0x39c82a+'createSheet'},{'id':_0x552bee['id'],'action':_0x39c82a+'revertSheet'},{'id':_0x314f47['id'],'action':_0x39c82a+_0x418bb5(0x32f)},{'id':_0x2a8524['id'],'action':_0x39c82a+'removeSheet'},{'id':_0x4265c6['id'],'action':_0x39c82a+_0x418bb5(0x353)},{'id':_0x1073da['id'],'action':_0x39c82a+_0x418bb5(0x1d3)},{'id':_0x5abfc9['id'],'action':_0x39c82a+'setDV'},{'id':_0x36440a['id'],'action':_0x39c82a+_0x418bb5(0x31c)},{'id':_0x8be438['id'],'action':_0x39c82a+_0x418bb5(0x1e0)},{'id':_0x399d6e['id'],'action':_0x39c82a+_0x418bb5(0x1e0)},{'id':_0x501852['id'],'action':_0x39c82a+_0x418bb5(0x311)},{'id':_0x156471['id'],'action':_0x39c82a+'addProtection'},{'id':_0xce0579['id'],'action':_0x39c82a+'addSparkline'},{'id':_0x154edf['id'],'action':_0x39c82a+'insertChart'},{'id':_0x140c01['id'],'action':_0x39c82a+_0x418bb5(0x1b8)},{'id':_0x295ca5['id'],'action':_0x39c82a+_0x418bb5(0x1b8)}][_0x418bb5(0x19e)](_0x503c29=>_0x2408c5[_0x418bb5(0x27b)][_0x418bb5(0x1ae)](_0x503c29['id']));return _0x2f44f0!=null&&_0x2f44f0[_0x418bb5(0x31f)]?_0x2f44f0['map'](_0x8321b2=>_0x8321b2[_0x418bb5(0x2cc)]):[_0x174c99];}function J(_0x2d0e13,_0x1834bb){const _0x6961b3=_0x2cb6e4,[_0x35730e,_0x280bd6,_0x1ed049]=new Date()[_0x6961b3(0x1c3)]()['split']('T')[0x0][_0x6961b3(0x23c)]('-'),[_0xe1f42b,_0x3b05cc,_0x2cee5e]=_0x2d0e13[_0x6961b3(0x23c)]('-'),_0x6a6aa4=_0x35730e===_0xe1f42b&&_0x280bd6===_0x3b05cc&&_0x1ed049===_0x2cee5e;let _0x4314c8='',_0x51b381='',_0x31a7e7='';switch(_0x1834bb){case _0x5d1aa2[_0x6961b3(0x1b7)]:return _0x6a6aa4?'今天':(_0x4314c8=_0x35730e===_0xe1f42b?'':_0xe1f42b+'年',_0x51b381=_0x3b05cc+'月',_0x31a7e7=_0x2cee5e+'日',''+_0x4314c8+_0x51b381+_0x31a7e7);default:return _0x6a6aa4?_0x6961b3(0x1e4):(_0x4314c8=_0x35730e===_0xe1f42b?'':_0xe1f42b+'-',_0x51b381=_0x3b05cc+'-',_0x31a7e7=''+_0x2cee5e,''+_0x4314c8+_0x51b381+_0x31a7e7);}}function cs(_0x97e502){const _0xc1d988=_0x2cb6e4;return _0x97e502?_0x97e502[_0xc1d988(0x245)]((_0x430010,_0x35e740)=>{const _0x345564=_0xc1d988,_0x1d50fc=new Date(_0x35e740[_0x345564(0x2bd)])[_0x345564(0x1c3)]()[_0x345564(0x23c)]('T')[0x0];return _0x430010['length']>0x0&&_0x430010[_0x430010[_0x345564(0x31f)]-0x1][_0x345564(0x295)]===_0x1d50fc?_0x430010[_0x430010[_0x345564(0x31f)]-0x1][_0x345564(0x226)][_0x345564(0x300)](_0x35e740):_0x430010[_0x345564(0x300)]({'dateString':_0x1d50fc,'versions':[_0x35e740]}),_0x430010;},[]):[];}var ls=Object['getOwnPropertyDescriptor'],us=(_0x3de2b2,_0x5d2fb6,_0x2fbb19,_0x26b3af)=>{const _0x191b6c=_0x2cb6e4;for(var _0x3014c2=_0x26b3af>0x1?void 0x0:_0x26b3af?ls(_0x5d2fb6,_0x2fbb19):_0x5d2fb6,_0x283ad0=_0x3de2b2[_0x191b6c(0x31f)]-0x1,_0x31e730;_0x283ad0>=0x0;_0x283ad0--)(_0x31e730=_0x3de2b2[_0x283ad0])&&(_0x3014c2=_0x31e730(_0x3014c2)||_0x3014c2);return _0x3014c2;},R=(_0x29951d,_0x581687)=>(_0x383fea,_0x10107b)=>_0x581687(_0x383fea,_0x10107b,_0x29951d);const hs=_0x2cb6e4(0x2c1);let A=class extends _0x555e29{constructor(_0x43b9e5,_0x1ab710,_0x2dbf81,_0x5c9a8c,_0x176db2,_0x494145,_0x1ce79e){const _0x32613e=_0x2cb6e4;super(),c(this,_0x32613e(0x20c),new Map()),(this[_0x32613e(0x193)]=_0x43b9e5,this['_univerInstanceService']=_0x1ab710,this[_0x32613e(0x349)]=_0x2dbf81,this[_0x32613e(0x323)]=_0x5c9a8c,this[_0x32613e(0x1d5)]=_0x176db2,this[_0x32613e(0x292)]=_0x494145,this[_0x32613e(0x327)]=_0x1ce79e);}['dispose'](){const _0x4236e4=_0x2cb6e4;this['_workbookDataCache'][_0x4236e4(0x2e6)](),super['dispose']();}async[_0x2cb6e4(0x1e8)](_0x47df6c,_0x11088c){const _0x5ea28b=_0x2cb6e4,_0x1c5107=this[_0x5ea28b(0x216)]()+'/'+_0x47df6c+_0x5ea28b(0x2d8)+(_0x11088c?_0x5ea28b(0x221)+_0x11088c:'');try{const _0x1cc02c=(await this[_0x5ea28b(0x1d5)]['get'](_0x1c5107))['body'];if(_0x1cc02c&&_0x1cc02c[_0x5ea28b(0x1c6)]&&_0x1cc02c[_0x5ea28b(0x1c6)][_0x5ea28b(0x230)]===W['OK']){const {hasMore:_0x1ee022,lastLabel:_0x196a01}=_0x1cc02c,_0x10e58b=Is(_0x1cc02c),_0x434a55=_0x1cc02c[_0x5ea28b(0x321)][_0x5ea28b(0x1c5)];return{'hasMore':_0x1ee022,'lastLabel':_0x196a01,'versions':_0x10e58b,'members':_0x434a55};}}catch(_0x2daf5f){console[_0x5ea28b(0x1c6)](_0x2daf5f);}return null;}[_0x2cb6e4(0x216)](){const _0x206f47=_0x2cb6e4;var _0x1fda72;const _0x3f7333=this[_0x206f47(0x323)][_0x206f47(0x2f7)](be);return(_0x1fda72=_0x3f7333==null?void 0x0:_0x3f7333[_0x206f47(0x2ab)])!=null?_0x1fda72:hs;}async[_0x2cb6e4(0x20f)](_0x3f0891,_0xaf0833,_0x654e37){const _0x4fe727=_0x2cb6e4;var _0xe0f308,_0x5b5ba3;_0x654e37===void 0x0&&(_0x654e37={}),this[_0x4fe727(0x20c)][_0x4fe727(0x339)](_0x3f0891)||this[_0x4fe727(0x20c)][_0x4fe727(0x2f3)](_0x3f0891,new Map());const {snapshot:_0x47a2e6,changesets:_0x5ec0bc,error:_0xe153d8}=await this[_0x4fe727(0x193)][_0x4fe727(0x1ff)](_0x654e37,{'unitID':_0x3f0891,'type':x[_0x4fe727(0x257)],'revision':_0xaf0833});if(as(_0xe153d8)||!_0x47a2e6||!_0x47a2e6[_0x4fe727(0x32a)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x3b52bb=(_0xe0f308=_0x5ec0bc==null?void 0x0:_0x5ec0bc[_0x4fe727(0x31f)])!=null?_0xe0f308:0x0;if(_0xaf0833!==0x0&&_0x47a2e6['rev']+_0x3b52bb!==_0xaf0833)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x1bd416}=_0x47a2e6,_0x2a9ef4=_0x1bd416[_0x4fe727(0x278)]?Object['entries'](_0x1bd416[_0x4fe727(0x278)])[_0x4fe727(0x1ab)](([_0xe9f019,_0x4074d1])=>{const _0x13e968=_0x4fe727;var _0xbd0a6f,_0x10721b;return(_0x10721b=(_0xbd0a6f=_0x4074d1[_0x13e968(0x1ea)])==null?void 0x0:_0xbd0a6f[_0x13e968(0x1ab)](_0x262c1e=>_0x262c1e))!=null?_0x10721b:[];})[_0x4fe727(0x27d)]():[],_0x482d1c=(await Promise[_0x4fe727(0x262)](_0x2a9ef4[_0x4fe727(0x1ab)](_0x2c1b1f=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x654e37,{'unitID':_0x3f0891,'type':x[_0x4fe727(0x257)],'blockID':_0x2c1b1f})[_0x4fe727(0x1b5)](_0x16afce=>_0x16afce[_0x4fe727(0x1ec)]))))['filter'](_0x430e51=>!!_0x430e51),_0xbe0ad1=_0x1efcef(_0x47a2e6,_0x482d1c,_0x654e37);return(_0x5b5ba3=this[_0x4fe727(0x20c)]['get'](_0x3f0891))==null||_0x5b5ba3[_0x4fe727(0x2f3)](_0xaf0833,{'workbook':_0xbe0ad1}),new Promise(_0x89a27b=>{const _0x2dc5c0=_0x4fe727,_0x549745=this[_0x2dc5c0(0x2d0)]['getCurrentUnitForType'](_0x113232[_0x2dc5c0(0x257)]);_0x549745?(this[_0x2dc5c0(0x2d0)][_0x2dc5c0(0x1b9)](_0x549745['getUnitId']()),setTimeout(()=>{const _0x4396c7=_0x2dc5c0;this[_0x4396c7(0x22a)](_0xbe0ad1,_0x5ec0bc),this[_0x4396c7(0x327)][_0x4396c7(0x1f3)](),_0x89a27b(!0x0);},0x0)):(this[_0x2dc5c0(0x22a)](_0xbe0ad1,_0x5ec0bc),_0x89a27b(!0x0));});}['_createUnit'](_0x202bb1,_0x2c6191){const _0x160eef=_0x2cb6e4,_0x10724f=this[_0x160eef(0x2d0)]['createUnit'](_0x113232['UNIVER_SHEET'],_0x202bb1);this['_univerInstanceService'][_0x160eef(0x1ce)](_0x10724f[_0x160eef(0x1fa)]());const _0x188f09=this[_0x160eef(0x292)][_0x160eef(0x33b)][_0x160eef(0x264)](this['_compressMutationService']['interceptor'][_0x160eef(0x253)]()['COMPRESS_MUTATION_APPLY']);return _0x2c6191==null||_0x2c6191[_0x160eef(0x1ee)](_0x38e99a=>{const _0x48c2e4=_0x160eef,_0x55efb9=_0x38e99a[_0x48c2e4(0x316)][_0x48c2e4(0x1ab)](_0x4e6c7d=>({'id':_0x4e6c7d['id'],'params':JSON[_0x48c2e4(0x32c)](_0x4e6c7d[_0x48c2e4(0x308)])}));({..._0x38e99a,'mutations':_0x188f09(_0x55efb9,null)||_0x55efb9}[_0x48c2e4(0x316)][_0x48c2e4(0x1ee)](_0x3c3cfd=>{const _0x17eca4=_0x48c2e4;this['_commandService'][_0x17eca4(0x1b0)](_0x3c3cfd['id'])&&this[_0x17eca4(0x349)]['syncExecuteCommand'](_0x3c3cfd['id'],_0x3c3cfd[_0x17eca4(0x27f)]);}));}),_0x10724f;}};A=us([R(0x0,_0x19371c),R(0x1,_0x381737),R(0x2,_0x241833),R(0x3,_0x32a9c2),R(0x4,_0x4aaff5(_0x391ae6)),R(0x5,_0x4aaff5(_0x4ada37)),R(0x6,_0x4aaff5(_0x43210a))],A);function Is(_0x8fc9b9){const _0x4600dd=_0x2cb6e4;var _0x549334,_0x5eca27;const _0x366ddb=[],{entities:_0x3abccb,historyIds:_0xa497c5}=_0x8fc9b9,{datas:_0x2ffffe,users:_0x1fcf58}=_0x3abccb;for(const _0xbe45d9 of _0xa497c5)if(_0x2ffffe[_0xbe45d9]){const _0x165c4f=!!((_0x549334=_0x1fcf58[_0x2ffffe[_0xbe45d9][_0x4600dd(0x1f2)]])!=null&&_0x549334[_0x4600dd(0x1c9)]);_0x366ddb[_0x4600dd(0x300)]({'unitId':_0x2ffffe[_0xbe45d9][_0x4600dd(0x1ef)],'user':_0x165c4f?'':((_0x5eca27=_0x1fcf58==null?void 0x0:_0x1fcf58[_0x2ffffe[_0xbe45d9][_0x4600dd(0x1f2)]])==null?void 0x0:_0x5eca27[_0x4600dd(0x241)])||'','isAnonymous':_0x165c4f,'id':_0xbe45d9,'time':_0x2ffffe[_0xbe45d9][_0x4600dd(0x2ef)]?Number(_0x2ffffe[_0xbe45d9]['createTime']):void 0x0,'commands':_0x2ffffe[_0xbe45d9][_0x4600dd(0x2d4)],'startRev':Number(_0x2ffffe[_0xbe45d9]['startRevision']),'endRev':Number(_0x2ffffe[_0xbe45d9][_0x4600dd(0x2fb)]),'recoverTime':_0x2ffffe[_0xbe45d9][_0x4600dd(0x1de)]?Number(_0x2ffffe[_0xbe45d9][_0x4600dd(0x1de)]):void 0x0});}return _0x366ddb;}var ds=Object[_0x2cb6e4(0x2d2)],vs=(_0x39338d,_0x56d539,_0x388420,_0x1df1c5)=>{const _0x1bf8c8=_0x2cb6e4;for(var _0x1af921=_0x1df1c5>0x1?void 0x0:_0x1df1c5?ds(_0x56d539,_0x388420):_0x56d539,_0x5d4f8e=_0x39338d[_0x1bf8c8(0x31f)]-0x1,_0x282caa;_0x5d4f8e>=0x0;_0x5d4f8e--)(_0x282caa=_0x39338d[_0x5d4f8e])&&(_0x1af921=_0x282caa(_0x1af921)||_0x1af921);return _0x1af921;},U=(_0x478528,_0x27f5e4)=>(_0x20cf9d,_0xce2ab3)=>_0x27f5e4(_0x20cf9d,_0xce2ab3,_0x478528),ne=(_0x2c4f1a=>(_0x2c4f1a['Entered']=_0x2cb6e4(0x259),_0x2c4f1a[_0x2cb6e4(0x267)]=_0x2cb6e4(0x1f7),_0x2c4f1a[_0x2cb6e4(0x2a7)]=_0x2cb6e4(0x1c6),_0x2c4f1a))(ne||{}),C=(_0x323aec=>(_0x323aec[_0x2cb6e4(0x331)]='init',_0x323aec[_0x2cb6e4(0x335)]='loading',_0x323aec[_0x2cb6e4(0x240)]='loaded',_0x323aec))(C||{});const Es=_0x2cb6e4(0x357);let g=class extends _0x555e29{constructor(_0x3ecb11,_0x2a5698,_0x1845ff,_0x4eb5e3){const _0xa52591=_0x2cb6e4;super(),c(this,_0xa52591(0x319),new _0x2c8b5b([])),c(this,_0xa52591(0x27a),this['_versions$']['asObservable']()),c(this,'_currentVersion$',new _0x2c8b5b('')),c(this,_0xa52591(0x206),this[_0xa52591(0x282)][_0xa52591(0x28a)]()),c(this,_0xa52591(0x204),new _0x2c8b5b(_0xa52591(0x259))),c(this,'status$',this[_0xa52591(0x204)][_0xa52591(0x28a)]()),c(this,_0xa52591(0x225),new _0x2c8b5b(0x0)),c(this,_0xa52591(0x229),this[_0xa52591(0x225)]['asObservable']()),c(this,_0xa52591(0x21c),new _0x2c8b5b('')),c(this,_0xa52591(0x214),this[_0xa52591(0x21c)][_0xa52591(0x28a)]()),c(this,'_fetching',!0x1),c(this,_0xa52591(0x33e),new _0x2c8b5b(_0xa52591(0x280))),c(this,'loadingState$',this[_0xa52591(0x33e)]['asObservable']()),c(this,_0xa52591(0x31b),null),c(this,_0xa52591(0x1db),!0x0),c(this,_0xa52591(0x304),new Map()),c(this,'_historyContainerId'),c(this,_0xa52591(0x232)),c(this,_0xa52591(0x1a0)),c(this,'_canRevert',!0x1),(this[_0xa52591(0x284)]=_0x3ecb11,this['_confirmService']=_0x2a5698,this[_0xa52591(0x228)]=_0x1845ff,this[_0xa52591(0x32b)]=_0x4eb5e3);}async[_0x2cb6e4(0x239)](_0x25d30b,_0x3b7be8,_0x61972){const _0x5b8797=_0x2cb6e4;this[_0x5b8797(0x26e)]=_0x3b7be8,this[_0x5b8797(0x1a5)]=_0x61972,this['_unitId$']['next'](_0x25d30b),this['_fetching']=!0x0;const _0x20e616=await this[_0x5b8797(0x32b)][_0x5b8797(0x1e8)](_0x25d30b);if(this['_fetching']=!0x1,_0x20e616){const {versions:_0x2e4c69,lastLabel:_0x429a9e,hasMore:_0x2e1a03,members:_0x302f78}=_0x20e616;_0x2e4c69[_0x5b8797(0x31f)]===0x0&&_0x2e4c69[_0x5b8797(0x300)]({'unitId':_0x25d30b,'id':Es,'startRev':0x1,'endRev':0x0,'time':Date[_0x5b8797(0x2ec)](),'user':this[_0x5b8797(0x228)]['t'](_0x5b8797(0x254)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x2e4c69,_0x2e1a03,_0x429a9e,_0x302f78),this[_0x5b8797(0x282)]['next'](_0x2e4c69[0x0]['id']);}else this[_0x5b8797(0x204)][_0x5b8797(0x2b4)]('error');}async[_0x2cb6e4(0x351)](){const _0x1fc1b4=_0x2cb6e4;if(!this[_0x1fc1b4(0x31b)]||!this['_hasMore']||this[_0x1fc1b4(0x29c)])return!0x1;this[_0x1fc1b4(0x29c)]=!0x0;const _0x30038b=await this[_0x1fc1b4(0x32b)][_0x1fc1b4(0x1e8)](this[_0x1fc1b4(0x1ef)],this[_0x1fc1b4(0x31b)]);if(this[_0x1fc1b4(0x29c)]=!0x1,_0x30038b){const {versions:_0x1c2c32,lastLabel:_0x54f81d,hasMore:_0x43e01d,members:_0x1ca361}=_0x30038b;this['_updateVersions'](_0x1c2c32,_0x43e01d,_0x54f81d,_0x1ca361);}else this['_messageService'][_0x1fc1b4(0x31a)]({'content':this[_0x1fc1b4(0x228)]['t'](_0x1fc1b4(0x2a5)),'type':_0x1a2dc5[_0x1fc1b4(0x2a7)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x54fb42){const _0x13f49e=_0x2cb6e4;var _0x39d5ff;const _0x474c48=(_0x39d5ff=this['_versions$']['value'])==null?void 0x0:_0x39d5ff[_0x13f49e(0x2dd)](_0x1fbb42=>_0x1fbb42['id']===_0x54fb42),{endRev:_0x196160}=_0x474c48||{};_0x196160||_0x196160===0x0?(this[_0x13f49e(0x33e)][_0x13f49e(0x2b4)](_0x13f49e(0x2f5)),await this['_historyFetchService'][_0x13f49e(0x20f)](this[_0x13f49e(0x1ef)],_0x196160),this['_loadingState$'][_0x13f49e(0x2b4)](_0x13f49e(0x273))):this[_0x13f49e(0x204)][_0x13f49e(0x2b4)](_0x13f49e(0x1c6));}async['triggerRevert'](_0x3c41c7){const _0x315f47=_0x2cb6e4,_0x41a2c3=_0x3c41c7?this[_0x315f47(0x29b)](_0x3c41c7):this[_0x315f47(0x346)]();if(!_0x41a2c3)return;const _0x2bdcf6=_0x41a2c3[_0x315f47(0x343)],_0x19e598=ie(_0x41a2c3[_0x315f47(0x2bd)],this[_0x315f47(0x228)]['getCurrentLocale']());await this['_confirmService'][_0x315f47(0x30e)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x315f47(0x344))},'children':{'title':this['_localeService']['t'](_0x315f47(0x297))+_0x315f47(0x1a7)+_0x19e598[_0x315f47(0x2af)]+'\x20'+_0x19e598[_0x315f47(0x2bd)]+')'},'cancelText':this[_0x315f47(0x228)]['t'](_0x315f47(0x24a)),'confirmText':this[_0x315f47(0x228)]['t'](_0x315f47(0x2de))})&&this['_revertRevision$'][_0x315f47(0x2b4)](_0x2bdcf6);}[_0x2cb6e4(0x289)](_0x283fd9,_0x3b64c2,_0x3a882d,_0x40fbd6){const _0x578356=_0x2cb6e4;this[_0x578356(0x319)]['next'](this[_0x578356(0x319)][_0x578356(0x20e)][_0x578356(0x1fe)](_0x283fd9)),this[_0x578356(0x1db)]=_0x3b64c2,this[_0x578356(0x31b)]=_0x3a882d,_0x40fbd6&&Object['keys'](_0x40fbd6)[_0x578356(0x1ee)](_0x44a3c6=>this[_0x578356(0x304)][_0x578356(0x2f3)](_0x44a3c6,_0x40fbd6[_0x44a3c6]));}['getCurrentVersion'](){const _0x28ab16=_0x2cb6e4;return this[_0x28ab16(0x29b)](this[_0x28ab16(0x282)]['value']);}[_0x2cb6e4(0x29b)](_0x55e678){const _0xa50ae0=_0x2cb6e4;var _0x4de08e;return(_0x4de08e=this[_0xa50ae0(0x319)][_0xa50ae0(0x20e)])==null?void 0x0:_0x4de08e[_0xa50ae0(0x2dd)](_0x5efe3e=>_0x5efe3e['id']===_0x55e678);}[_0x2cb6e4(0x2da)](_0x534b95){const _0x3df7f5=_0x2cb6e4;return this[_0x3df7f5(0x304)][_0x3df7f5(0x198)](_0x534b95);}[_0x2cb6e4(0x2bb)](){const _0x4e2014=_0x2cb6e4;this[_0x4e2014(0x1a0)]=document['createElement'](_0x4e2014(0x309)),this[_0x4e2014(0x1a0)]['className']=_0x4e2014(0x333),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x28d)]=_0x4e2014(0x242),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x350)]='0',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x215)]='0',this[_0x4e2014(0x1a0)]['style'][_0x4e2014(0x234)]='100%',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x1d4)]='100%',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x34f)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x4e2014(0x285)]['color']='white',this[_0x4e2014(0x1a0)][_0x4e2014(0x285)][_0x4e2014(0x283)]=_0x4e2014(0x218),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x352)]=_0x4e2014(0x235),this['_maskElement'][_0x4e2014(0x285)][_0x4e2014(0x2eb)]='1000',this['_maskElement']['style']['display']=_0x4e2014(0x22b),this[_0x4e2014(0x232)][_0x4e2014(0x314)](this[_0x4e2014(0x1a0)]);}[_0x2cb6e4(0x1a8)](){const _0x2805d8=_0x2cb6e4;var _0x44b164;const _0x2259f3=(_0x44b164=document[_0x2805d8(0x1d0)](this[_0x2805d8(0x26e)]))==null?void 0x0:_0x44b164['querySelector'](_0x2805d8(0x33c));_0x2259f3&&(this[_0x2805d8(0x232)]=_0x2259f3,this[_0x2805d8(0x2bb)]());}['showMask'](){const _0x509f10=_0x2cb6e4;this[_0x509f10(0x232)]||this[_0x509f10(0x1a8)](),this[_0x509f10(0x1a0)]&&(this[_0x509f10(0x1a0)][_0x509f10(0x285)][_0x509f10(0x283)]='flex');}[_0x2cb6e4(0x330)](){const _0x50b4d0=_0x2cb6e4;this[_0x50b4d0(0x1a0)]&&(this[_0x50b4d0(0x1a0)][_0x50b4d0(0x285)][_0x50b4d0(0x283)]='none');}set[_0x2cb6e4(0x1aa)](_0x29e53a){const _0x458ec8=_0x2cb6e4;this[_0x458ec8(0x204)][_0x458ec8(0x2b4)](_0x29e53a);}set['currentVersion'](_0x119cb0){const _0x4ffa9f=_0x2cb6e4;_0x119cb0!==this[_0x4ffa9f(0x282)][_0x4ffa9f(0x20e)]&&this[_0x4ffa9f(0x282)][_0x4ffa9f(0x2b4)](_0x119cb0);}get[_0x2cb6e4(0x1d7)](){const _0x1a7ee6=_0x2cb6e4;return this[_0x1a7ee6(0x282)][_0x1a7ee6(0x20e)];}set[_0x2cb6e4(0x1ef)](_0x51b523){const _0x5ceaa8=_0x2cb6e4;this[_0x5ceaa8(0x21c)][_0x5ceaa8(0x2b4)](_0x51b523);}get[_0x2cb6e4(0x1ef)](){const _0xcb756c=_0x2cb6e4;return this[_0xcb756c(0x21c)][_0xcb756c(0x20e)];}get[_0x2cb6e4(0x246)](){const _0xe63a24=_0x2cb6e4;return this[_0xe63a24(0x1a5)];}get[_0x2cb6e4(0x2ac)](){const _0x3f2622=_0x2cb6e4;return this[_0x3f2622(0x33e)][_0x3f2622(0x20e)];}};g=vs([U(0x0,_0x964c74),U(0x1,_0x2d9c9d),U(0x2,_0x4aaff5(_0x2d2eaf)),U(0x3,_0x4aaff5(A))],g);function j({ref:_0x57ca5a,..._0x49c90a}){const _0x32f8b9=_0x2cb6e4,{icon:_0xb67fc5,id:_0x260074,className:_0x2eb131,extend:_0x576bdb,..._0xa82959}=_0x49c90a,_0x510a17=(_0x32f8b9(0x1a9)+_0x260074+'\x20'+(_0x2eb131||''))[_0x32f8b9(0x1ac)](),_0x5312c7=_0x1f51c9('_'+fs());return Le(_0xb67fc5,''+_0x260074,{'defIds':_0xb67fc5[_0x32f8b9(0x313)],'idSuffix':_0x5312c7[_0x32f8b9(0x28b)]},{'ref':_0x57ca5a,'className':_0x510a17,..._0xa82959},_0x576bdb);}function Le(_0x16718a,_0xd1b087,_0x31a72d,_0x4eec81,_0x9a52fe){const _0x53ed26=_0x2cb6e4;return _0x33de19(_0x16718a[_0x53ed26(0x341)],{'key':_0xd1b087,...Ss(_0x16718a,_0x31a72d,_0x9a52fe),..._0x4eec81},(ms(_0x16718a,_0x31a72d)['children']||[])[_0x53ed26(0x1ab)]((_0x2f5aa3,_0x214028)=>Le(_0x2f5aa3,_0xd1b087+'-'+_0x16718a[_0x53ed26(0x341)]+'-'+_0x214028,_0x31a72d,void 0x0,_0x9a52fe)));}function Ss(_0x295914,_0x2326e9,_0x1ccec0){const _0x83a378=_0x2cb6e4,_0x51301a={..._0x295914[_0x83a378(0x24f)]};_0x1ccec0!=null&&_0x1ccec0[_0x83a378(0x34d)]&&_0x51301a['fill']==='colorChannel1'&&(_0x51301a[_0x83a378(0x19d)]=_0x1ccec0['colorChannel1']),_0x295914[_0x83a378(0x341)]===_0x83a378(0x2a4)&&_0x51301a['id']&&(_0x51301a['id']=_0x51301a['id']+_0x2326e9['idSuffix']),Object[_0x83a378(0x1f0)](_0x51301a)[_0x83a378(0x1ee)](([_0x5d7003,_0x5ef89f])=>{const _0x2dda0f=_0x83a378;_0x5d7003===_0x2dda0f(0x2a4)&&typeof _0x5ef89f=='string'&&(_0x51301a[_0x5d7003]=_0x5ef89f[_0x2dda0f(0x22f)](/url\(#(.*)\)/,_0x2dda0f(0x2ee)+_0x2326e9[_0x2dda0f(0x34b)]+')'));});const {defIds:_0x2592ba}=_0x2326e9;return!_0x2592ba||_0x2592ba['length']===0x0||(_0x295914[_0x83a378(0x341)]===_0x83a378(0x1c8)&&_0x51301a[_0x83a378(0x275)]&&(_0x51301a['xlink:href']=_0x51301a['xlink:href']+_0x2326e9[_0x83a378(0x34b)]),Object['entries'](_0x51301a)['forEach'](([_0xac7bbb,_0xa04fb6])=>{const _0x4b062f=_0x83a378;typeof _0xa04fb6==_0x4b062f(0x1c7)&&(_0x51301a[_0xac7bbb]=_0xa04fb6[_0x4b062f(0x22f)](/url\(#(.*)\)/,_0x4b062f(0x2ee)+_0x2326e9['idSuffix']+')'));})),_0x51301a;}function ms(_0x344922,_0x2e601a){const _0x302b3b=_0x2cb6e4;var _0x1d08ec;const {defIds:_0x4b474f}=_0x2e601a;return!_0x4b474f||_0x4b474f['length']===0x0?_0x344922:_0x344922[_0x302b3b(0x341)]===_0x302b3b(0x35a)&&((_0x1d08ec=_0x344922['children'])!=null&&_0x1d08ec[_0x302b3b(0x31f)])?{..._0x344922,'children':_0x344922[_0x302b3b(0x29e)][_0x302b3b(0x1ab)](_0x383ff0=>typeof _0x383ff0['attrs']['id']==_0x302b3b(0x1c7)&&_0x4b474f&&_0x4b474f['includes'](_0x383ff0[_0x302b3b(0x24f)]['id'])?{..._0x383ff0,'attrs':{..._0x383ff0[_0x302b3b(0x24f)],'id':_0x383ff0[_0x302b3b(0x24f)]['id']+_0x2e601a[_0x302b3b(0x34b)]}}:_0x383ff0)}:_0x344922;}function fs(){const _0x3da9de=_0x2cb6e4;return Math['random']()[_0x3da9de(0x30b)](0x24)[_0x3da9de(0x315)](0x2,0x8);}j['displayName']='UniverIcon';const gs={'tag':'svg','attrs':{'xmlns':_0x2cb6e4(0x301),'fill':'none','viewBox':_0x2cb6e4(0x195),'width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x29a),'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=_0x21d9e4(function(_0x46d3c1,_0x196a65){const _0x53b5ec=_0x2cb6e4;return _0x33de19(j,Object['assign']({},_0x46d3c1,{'id':_0x53b5ec(0x2fd),'ref':_0x196a65,'icon':gs}));});Ce[_0x2cb6e4(0x1ca)]=_0x2cb6e4(0x22d);const ps={'tag':_0x2cb6e4(0x1b4),'attrs':{'xmlns':_0x2cb6e4(0x301),'fill':_0x2cb6e4(0x22b),'viewBox':'0\x200\x2016\x2017','width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':'g','attrs':{'fill':_0x2cb6e4(0x29a),'clipPath':_0x2cb6e4(0x196)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'d':_0x2cb6e4(0x2db)}},{'tag':_0x2cb6e4(0x2a9),'attrs':{'d':_0x2cb6e4(0x2b6),'fillRule':_0x2cb6e4(0x2c4),'clipRule':'evenodd'}}]},{'tag':_0x2cb6e4(0x35a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2cb6e4(0x306)},'children':[{'tag':_0x2cb6e4(0x1b6),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x2cb6e4(0x306)]},ye=_0x21d9e4(function(_0xc646f1,_0x1f6c4a){const _0x306871=_0x2cb6e4;return _0x33de19(j,Object[_0x306871(0x21a)]({},_0xc646f1,{'id':_0x306871(0x26d),'ref':_0x1f6c4a,'icon':ps}));});ye[_0x2cb6e4(0x1ca)]='RestoreIcon';const Ns={'tag':_0x2cb6e4(0x1b4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2cb6e4(0x22b),'viewBox':_0x2cb6e4(0x195),'width':_0x2cb6e4(0x1cd),'height':_0x2cb6e4(0x1cd)},'children':[{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x30a),'d':_0x2cb6e4(0x2be),'fillOpacity':0.2,'fillRule':_0x2cb6e4(0x2c4),'clipRule':_0x2cb6e4(0x2c4)}},{'tag':_0x2cb6e4(0x2a9),'attrs':{'fill':_0x2cb6e4(0x30a),'d':_0x2cb6e4(0x2bf),'fillRule':_0x2cb6e4(0x2c4),'clipRule':_0x2cb6e4(0x2c4)}}]},re=_0x21d9e4(function(_0x5622c7,_0x27727e){const _0x559295=_0x2cb6e4;return _0x33de19(j,Object[_0x559295(0x21a)]({},_0x5622c7,{'id':_0x559295(0x203),'ref':_0x27727e,'icon':Ns}));});re[_0x2cb6e4(0x1ca)]=_0x2cb6e4(0x345);function Os(){const _0xf35341=_0x2cb6e4;var _0x808a94;const _0x12dd50=_0x30b5c3(g),_0x549ce7=_0x30b5c3(_0x2d2eaf),_0x13cd58=_0x511d34(()=>{const _0x2ddc75=_0x50cb;_0x12dd50['status']=ne[_0x2ddc75(0x267)];},[_0x12dd50]),_0x46843c=_0x511d34(()=>{_0x12dd50['triggerRevert']();},[_0x12dd50]),_0xb26f09=_0xe37064(_0x12dd50['currentVersion$']),_0x426eb2=_0xe37064(_0x12dd50['versions$']),_0x513c5c=_0xb26f09===((_0x808a94=_0x426eb2==null?void 0x0:_0x426eb2[0x0])==null?void 0x0:_0x808a94['id']),_0x322015=_0xb26f09!==''&&!_0x513c5c&&_0x12dd50[_0xf35341(0x246)];return _0x4f314f(_0xf35341(0x309),{'className':_0x15693a(_0xf35341(0x21e),_0x181437),'children':[_0x30c25d('a',{'className':_0xf35341(0x223),'role':_0xf35341(0x25c),'onClick':_0x13cd58,'children':_0x30c25d(Ce,{'className':_0xf35341(0x236)})}),_0x30c25d(_0xf35341(0x309),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x322015&&_0x30c25d(_0x47226d,{'variant':'primary','onClick':_0x46843c,'children':_0x549ce7['t'](_0xf35341(0x2df))})})]});}var Rs=Object[_0x2cb6e4(0x2d2)],Ts=(_0x15c157,_0x3eab25,_0xf46904,_0x35bcb0)=>{for(var _0x17b9a7=_0x35bcb0>0x1?void 0x0:_0x35bcb0?Rs(_0x3eab25,_0xf46904):_0x3eab25,_0x2e92c4=_0x15c157['length']-0x1,_0x588ee7;_0x2e92c4>=0x0;_0x2e92c4--)(_0x588ee7=_0x15c157[_0x2e92c4])&&(_0x17b9a7=_0x588ee7(_0x17b9a7)||_0x17b9a7);return _0x17b9a7;},M=(_0x114d39,_0x466c8e)=>(_0x456f84,_0x350fef)=>_0x466c8e(_0x456f84,_0x350fef,_0x114d39);let F=class extends _0x555e29{constructor(_0x3343ee,_0x430747,_0x19d9b9,_0x22cd3a,_0x4f0af6,_0x1c2406){const _0x1f626f=_0x2cb6e4;super(),this[_0x1f626f(0x294)]=_0x3343ee,this[_0x1f626f(0x2e0)]=_0x430747,this[_0x1f626f(0x284)]=_0x19d9b9,this[_0x1f626f(0x228)]=_0x22cd3a,this[_0x1f626f(0x290)]=_0x4f0af6,this['_injector']=_0x1c2406,this[_0x1f626f(0x209)]();}[_0x2cb6e4(0x209)](){const _0x3a33cc=_0x2cb6e4;this['disposeWithMe'](this[_0x3a33cc(0x290)][_0x3a33cc(0x206)]['subscribe'](_0x365662=>{_0x365662&&this['_historyManagerService']['triggerLoadSheet'](_0x365662);})),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x294)][_0x3a33cc(0x1c4)][_0x3a33cc(0x2a6)](_0x2e05e9=>{const _0x3bc5b5=_0x3a33cc,_0x24cf8a=this[_0x3bc5b5(0x290)]['unitId'];_0x24cf8a&&(_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x1a6)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1),_0x2e05e9['subType']===D['RenameSheet']&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x248c0b(_0x24cf8a)['id'],!0x1),_0x2e05e9['subType']===D[_0x3bc5b5(0x238)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x26339d(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x33a)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this['_permissionService'][_0x3bc5b5(0x250)](new _0x12bf61(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x2a2)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1),_0x2e05e9[_0x3bc5b5(0x20d)]===D[_0x3bc5b5(0x227)]&&_0x2e05e9[_0x3bc5b5(0x20e)]===!0x0&&this[_0x3bc5b5(0x294)][_0x3bc5b5(0x250)](new _0x27b647(_0x24cf8a)['id'],!0x1));})),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x2e0)][_0x3a33cc(0x28f)](_0x4c12ab[_0x3a33cc(0x1df)],()=>_0x3bdc12(Os,this[_0x3a33cc(0x251)]))),this[_0x3a33cc(0x24e)](this[_0x3a33cc(0x290)][_0x3a33cc(0x1bf)][_0x3a33cc(0x2a6)](_0x1f4350=>{const _0x572f10=_0x3a33cc;_0x1f4350===C[_0x572f10(0x335)]&&(this['_historyManagerService'][_0x572f10(0x318)](),this[_0x572f10(0x284)]['show']({'type':_0x1a2dc5[_0x572f10(0x194)],'content':this[_0x572f10(0x228)]['t'](_0x572f10(0x2c0))})),_0x1f4350===C[_0x572f10(0x240)]&&this[_0x572f10(0x290)]['hideMask']();}));}};F=Ts([M(0x0,_0xbdfc78),M(0x1,_0xfa5a57),M(0x2,_0x964c74),M(0x3,_0x4aaff5(_0x2d2eaf)),M(0x4,_0x4aaff5(g)),M(0x5,_0x4aaff5(_0x14f2b5))],F);var Ds=Object[_0x2cb6e4(0x2d2)],Ms=(_0x35c941,_0x264487,_0x3c8357,_0x3e740c)=>{const _0x5822c2=_0x2cb6e4;for(var _0x2b1d1=_0x3e740c>0x1?void 0x0:_0x3e740c?Ds(_0x264487,_0x3c8357):_0x264487,_0x2c8dc4=_0x35c941[_0x5822c2(0x31f)]-0x1,_0xa9c725;_0x2c8dc4>=0x0;_0x2c8dc4--)(_0xa9c725=_0x35c941[_0x2c8dc4])&&(_0x2b1d1=_0xa9c725(_0x2b1d1)||_0x2b1d1);return _0x2b1d1;},Z=(_0x4d76b6,_0x517b13)=>(_0x4e332e,_0x2799d5)=>_0x517b13(_0x4e332e,_0x2799d5,_0x4d76b6);let w=class extends _0x555e29{constructor(_0x22a0d2,_0x3223d4,_0x1cd484){const _0x436a2f=_0x2cb6e4;super(),c(this,'_diffRangesMap',new Map()),c(this,_0x436a2f(0x2d9),new _0x2c8b5b({'ranges':new Map(),'active':null})),c(this,_0x436a2f(0x260),this[_0x436a2f(0x2d9)][_0x436a2f(0x28a)]()),(this[_0x436a2f(0x290)]=_0x22a0d2,this[_0x436a2f(0x2cd)]=_0x3223d4,this['_snapshotServerService']=_0x1cd484,this[_0x436a2f(0x209)]());}[_0x2cb6e4(0x209)](){const _0xee0739=_0x2cb6e4;this[_0xee0739(0x354)]=new Map(),this[_0xee0739(0x24e)](this[_0xee0739(0x290)][_0xee0739(0x214)]['subscribe'](_0x39ae88=>{const _0x49a065=_0xee0739;_0x39ae88&&!this['_diffRangesMap']['has'](_0x39ae88)&&this[_0x49a065(0x354)]['set'](_0x39ae88,new Map());})),this['disposeWithMe'](this[_0xee0739(0x290)]['currentVersion$']['subscribe'](async _0x3a945c=>{const _0x158492=_0xee0739;var _0x475776;_0x3a945c&&(await this[_0x158492(0x1c2)](_0x3a945c),this[_0x158492(0x2d9)][_0x158492(0x2b4)](((_0x475776=this[_0x158492(0x354)][_0x158492(0x198)](this[_0x158492(0x290)]['unitId']))==null?void 0x0:_0x475776[_0x158492(0x198)](_0x3a945c))||{'ranges':new Map(),'active':null}));}));}async[_0x2cb6e4(0x1c2)](_0x1d83c9){const _0xeb8b89=_0x2cb6e4;var _0x34cc66,_0x1153d0;const _0x2fd01e=this['_historyManagerService'][_0xeb8b89(0x29b)](_0x1d83c9),_0x12f485=this[_0xeb8b89(0x290)][_0xeb8b89(0x1ef)];if(!_0x2fd01e||!_0x12f485)return;const _0x50a667=this[_0xeb8b89(0x354)][_0xeb8b89(0x198)](_0x12f485);if(_0x50a667||this[_0xeb8b89(0x354)]['set'](_0x12f485,new Map()),(_0x34cc66=this['_diffRangesMap']['get'](_0x12f485))!=null&&_0x34cc66[_0xeb8b89(0x339)](_0x2fd01e['id']))return;const {startRev:_0x316166,endRev:_0x48f899}=_0x2fd01e;if(_0x316166===0x1){_0x50a667['set'](_0x2fd01e['id'],{'ranges':new Map(),'active':null});return;}const _0x581f0e=_0x316166-0x1,_0x5120d6=_0x48f899,_0xf87703=await this['_snapshotServerService'][_0xeb8b89(0x21d)]({},{'unitID':_0x12f485,'from':_0x581f0e,'to':_0x5120d6,'type':x[_0xeb8b89(0x257)]});if(((_0x1153d0=_0xf87703[_0xeb8b89(0x1c6)])==null?void 0x0:_0x1153d0[_0xeb8b89(0x230)])===W['OK']){const _0x484f8a=_0xf87703['changesets'][_0xeb8b89(0x1ab)](_0xaabf62=>((_0xaabf62['mutations']===null||_0xaabf62[_0xeb8b89(0x316)]===void 0x0)&&(_0xaabf62['mutations']=[]),_0x557b83(_0xaabf62)))[_0xeb8b89(0x1ab)](_0x3500c6=>_0x3500c6[_0xeb8b89(0x316)]['map'](_0x364ffe=>({..._0x364ffe,'params':{..._0x364ffe[_0xeb8b89(0x27f)],'memberId':_0x3500c6[_0xeb8b89(0x293)]}})))[_0xeb8b89(0x27d)](),_0x54477f=this[_0xeb8b89(0x1b2)](_0x484f8a),_0x486216=this[_0xeb8b89(0x317)](_0x484f8a),_0x396646=this[_0xeb8b89(0x2e5)](_0x54477f);_0x50a667['set'](_0x2fd01e['id'],{'ranges':_0x396646,'active':_0x486216});}}['_transformMutationByOrder'](_0x13d701){const _0x1bdfda=_0x2cb6e4;let _0x1dc5ac=[];for(let _0x5de09c=0x0;_0x5de09c<_0x13d701[_0x1bdfda(0x31f)];_0x5de09c++){const _0x2cfb41=_0x13d701[_0x5de09c];if(_0x1dc5ac[_0x1bdfda(0x300)](_0x2cfb41),_0x5de09c!==_0x13d701[_0x1bdfda(0x31f)]-0x1){const _0x5e85e5=_0x13d701[_0x5de09c+0x1],_0x2784e3=this[_0x1bdfda(0x2cd)][_0x1bdfda(0x1f8)](_0x1dc5ac,[_0x5e85e5]);_0x582c81(_0x2784e3)?_0x1dc5ac=_0x2784e3[_0x1bdfda(0x2e3)]:_0x1dc5ac=[];}}return _0x1dc5ac;}[_0x2cb6e4(0x317)](_0x4a7617){const _0x3ce105=_0x2cb6e4;let _0x149c3f=[];return _0x4a7617[_0x3ce105(0x1ee)](_0x251106=>{const _0x53371c=_0x3ce105;if(_0x251106['id']===_0x314f47['id']){const _0x1a3ea5=_0x251106[_0x53371c(0x27f)];_0x149c3f['push'](_0x1a3ea5[_0x53371c(0x35b)]['id']);}else{if(_0x251106['id']===_0x2a8524['id']){const _0x33e93d=_0x251106[_0x53371c(0x27f)];_0x149c3f[_0x53371c(0x31f)]>0x0&&(_0x149c3f=_0x149c3f['filter'](_0x104a5d=>_0x104a5d!==_0x33e93d[_0x53371c(0x303)]));}else{if(_0x251106['id']===_0x475e4e['id']){const _0x15ff1c=_0x251106[_0x53371c(0x27f)];_0x15ff1c['hidden']?_0x149c3f=_0x149c3f[_0x53371c(0x19e)](_0x17efd7=>_0x17efd7!==_0x15ff1c[_0x53371c(0x303)]):_0x149c3f['push'](_0x15ff1c[_0x53371c(0x303)]);}else{const _0x34b030=_0x251106[_0x53371c(0x27f)];_0x34b030[_0x53371c(0x303)]&&_0x149c3f[_0x53371c(0x300)](_0x34b030['subUnitId']);}}}}),_0x149c3f[_0x3ce105(0x31f)]>0x0?_0x149c3f[_0x149c3f[_0x3ce105(0x31f)]-0x1]:null;}['_extractRanges'](_0xab4c80){const _0x3589f1=_0x2cb6e4,_0x9389e0=new Map();return _0xab4c80[_0x3589f1(0x1ee)](_0x206985=>{const _0x57db97=_0x3589f1;var _0x2c5232,_0x47d6be;const _0xcda171=(_0x2c5232=_0x206985[_0x57db97(0x27f)])==null?void 0x0:_0x2c5232[_0x57db97(0x1fb)];if(_0xcda171){_0x9389e0['has'](_0xcda171)||_0x9389e0['set'](_0xcda171,[]);const _0x446a30=this[_0x57db97(0x248)](_0x206985);(_0x47d6be=_0x9389e0[_0x57db97(0x198)](_0xcda171))==null||_0x47d6be[_0x57db97(0x300)](..._0x446a30);}}),_0x9389e0[_0x3589f1(0x1ee)]((_0x325aa6,_0x36aeeb)=>{_0x9389e0['set'](_0x36aeeb,this['_combineRanges'](_0x325aa6));}),_0x9389e0;}[_0x2cb6e4(0x248)](_0x14bab9){const _0x3f2e3c=_0x2cb6e4;switch(_0x14bab9['id']){case _0x156471['id']:{const _0x58d6db=_0x14bab9[_0x3f2e3c(0x27f)];return _0x58d6db[_0x3f2e3c(0x237)][_0x3f2e3c(0x1ab)](_0x4ac851=>_0x4ac851[_0x3f2e3c(0x23f)]['map'](_0x5ef410=>({'range':_0x5ef410,'unitId':_0x58d6db[_0x3f2e3c(0x1ef)],'subUnitId':_0x58d6db[_0x3f2e3c(0x303)]})))[_0x3f2e3c(0x27d)]();}case _0x42495d['id']:{const _0x53af77=_0x14bab9[_0x3f2e3c(0x27f)];return _0x53af77[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x3b01b5=>({'range':_0x3b01b5,'unitId':_0x53af77[_0x3f2e3c(0x1ef)],'subUnitId':_0x53af77[_0x3f2e3c(0x303)]}));}case _0x179536['id']:{const _0x40917b=_0x14bab9['params'];return[{'range':_0x40917b[_0x3f2e3c(0x30c)],'unitId':_0x40917b['unitId'],'subUnitId':_0x40917b[_0x3f2e3c(0x303)]}];}case _0xe46a58['id']:{const _0x5b6a24=_0x14bab9[_0x3f2e3c(0x27f)];return[{'range':_0x5b6a24[_0x3f2e3c(0x30c)],'unitId':_0x5b6a24[_0x3f2e3c(0x1ef)],'subUnitId':_0x5b6a24[_0x3f2e3c(0x303)]}];}case _0x36eed8['id']:{const _0x795ca1=_0x14bab9[_0x3f2e3c(0x27f)],{from:_0x4731c6,to:_0x1e8e1a,unitId:_0x5f3ba9}=_0x795ca1;return[{'range':ue(_0x4731c6[_0x3f2e3c(0x20e)]),'unitId':_0x5f3ba9,'subUnitId':_0x4731c6['subUnitId']},{'range':ue(_0x1e8e1a[_0x3f2e3c(0x20e)]),'unitId':_0x5f3ba9,'subUnitId':_0x1e8e1a[_0x3f2e3c(0x303)]}];}case _0x388f9b['id']:{const _0x5a142a=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x45caf0,subUnitId:_0x77c3fb,sourceRange:_0x4c47e8,targetRange:_0x2b12b4}=_0x5a142a,_0x3e581e=_0x4c47e8['endRow']-_0x4c47e8['startRow']+0x1;return[{'range':_0x2b12b4[_0x3f2e3c(0x358)]<=_0x4c47e8['startRow']?_0x2b12b4:{..._0x2b12b4,'startRow':_0x2b12b4[_0x3f2e3c(0x358)]-_0x3e581e,'endRow':_0x2b12b4[_0x3f2e3c(0x338)]-_0x3e581e},'unitId':_0x45caf0,'subUnitId':_0x77c3fb}];}case _0x3743c6['id']:{const _0x539e0f=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x24a58a,subUnitId:_0x1ebc3e,sourceRange:_0x1421f8,targetRange:_0x40302c}=_0x539e0f,_0x12efd6=_0x1421f8[_0x3f2e3c(0x268)]-_0x1421f8[_0x3f2e3c(0x207)]+0x1;return[{'range':_0x40302c['startColumn']<=_0x1421f8['startColumn']?_0x40302c:{..._0x40302c,'startColumn':_0x40302c[_0x3f2e3c(0x207)]-_0x12efd6,'endColumn':_0x40302c[_0x3f2e3c(0x268)]-_0x12efd6},'unitId':_0x24a58a,'subUnitId':_0x1ebc3e}];}case _0x4b3887['id']:{const _0x41c8c5=_0x14bab9[_0x3f2e3c(0x27f)],{values:_0x1ca0f1,unitId:_0x80a1a,subUnitId:_0x582796}=_0x41c8c5;return Object[_0x3f2e3c(0x2e4)](_0x1ca0f1)['map'](_0x14e430=>_0x14e430[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0xbfd605=>({'range':_0xbfd605,'unitId':_0x80a1a,'subUnitId':_0x582796})))[_0x3f2e3c(0x27d)]();}case _0x29833f['id']:{const _0x19b8ce=_0x14bab9[_0x3f2e3c(0x27f)],{ranges:_0x1aa7bc,unitId:_0x1b54f2,subUnitId:_0x3b610c}=_0x19b8ce;return _0x1aa7bc['map'](_0x4ac080=>({'range':_0x4ac080,'unitId':_0x1b54f2,'subUnitId':_0x3b610c}));}case _0x393e31['id']:{const _0x3ce6de=_0x14bab9[_0x3f2e3c(0x27f)],{unitId:_0x8b9430,subUnitId:_0x3fa866,range:_0x2c00e7}=_0x3ce6de;return[{'range':_0x2c00e7,'unitId':_0x8b9430,'subUnitId':_0x3fa866}];}case _0x55ea74['id']:{const _0x48dad=_0x14bab9[_0x3f2e3c(0x27f)];return _0x48dad[_0x3f2e3c(0x29d)][_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x3a4bc0=>({'range':_0x3a4bc0,'unitId':_0x48dad[_0x3f2e3c(0x1ef)],'subUnitId':_0x48dad['subUnitId']}));}case _0x31d683['id']:{const _0x49f36a=_0x14bab9[_0x3f2e3c(0x27f)];return _0x49f36a[_0x3f2e3c(0x233)]?Ps(_0x49f36a[_0x3f2e3c(0x233)])[_0x3f2e3c(0x1ab)](_0xc158e9=>({'range':_0xc158e9,'unitId':_0x49f36a[_0x3f2e3c(0x1ef)],'subUnitId':_0x49f36a[_0x3f2e3c(0x303)]})):[];}case _0x1073da['id']:{const _0x6147c8=_0x14bab9[_0x3f2e3c(0x27f)];return[{'range':_0x6147c8[_0x3f2e3c(0x30c)],'unitId':_0x6147c8['unitId'],'subUnitId':_0x6147c8[_0x3f2e3c(0x303)]}];}case _0x5abfc9['id']:{const _0x30cb05=_0x14bab9[_0x3f2e3c(0x27f)];return(Array[_0x3f2e3c(0x1eb)](_0x30cb05[_0x3f2e3c(0x29d)])?_0x30cb05[_0x3f2e3c(0x29d)]:[_0x30cb05[_0x3f2e3c(0x29d)]])[_0x3f2e3c(0x1ab)](_0x325896=>_0x325896[_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x5e25d3=>({'range':_0x5e25d3,'unitId':_0x30cb05[_0x3f2e3c(0x1ef)],'subUnitId':_0x30cb05[_0x3f2e3c(0x303)]})))[_0x3f2e3c(0x27d)]();}case _0x8be438['id']:{const _0x328bd1=_0x14bab9[_0x3f2e3c(0x27f)];return _0x328bd1['rule'][_0x3f2e3c(0x23f)][_0x3f2e3c(0x1ab)](_0x1c23af=>({'range':_0x1c23af,'unitId':_0x328bd1[_0x3f2e3c(0x1ef)],'subUnitId':_0x328bd1[_0x3f2e3c(0x303)]}));}default:return[];}}[_0x2cb6e4(0x21b)](_0x5d8401){const _0x51d7b5=_0x2cb6e4;if(_0x5d8401[_0x51d7b5(0x31f)]<=0x1)return _0x5d8401;const _0x4510d1=new Map();return _0x5d8401[_0x51d7b5(0x1ee)](_0x3fb72a=>{const _0x263e27=_0x51d7b5;var _0x4ce7f8;const {unitId:_0xf1b382,subUnitId:_0x134eb9}=_0x3fb72a,_0x3fa8b0=_0xf1b382+'-'+_0x134eb9;_0x4510d1[_0x263e27(0x339)](_0x3fa8b0)?(_0x4ce7f8=_0x4510d1[_0x263e27(0x198)](_0x3fa8b0))==null||_0x4ce7f8[_0x263e27(0x300)](_0x3fb72a):_0x4510d1[_0x263e27(0x2f3)](_0x3fa8b0,[_0x3fb72a]);}),Array['from'](_0x4510d1[_0x51d7b5(0x2e4)]())[_0x51d7b5(0x1ab)](_0x3cce09=>new _0x56d55d()[_0x51d7b5(0x19c)](..._0x3cce09['map'](_0x293a88=>_0x293a88['range']))['merge']()[_0x51d7b5(0x1ab)](_0xbe490f=>({'range':_0xbe490f,'unitId':_0x3cce09[0x0][_0x51d7b5(0x1ef)],'subUnitId':_0x3cce09[0x0]['subUnitId']})))[_0x51d7b5(0x27d)]();}};w=Ms([Z(0x0,_0x4aaff5(g)),Z(0x1,_0x404d3b),Z(0x2,_0x19371c)],w);function ue(_0x4f166e){const _0xadc124=_0x2cb6e4;return new _0x4abeaf(_0x4f166e)[_0xadc124(0x24d)]();}function Ps(_0x10a485){const _0x1056d5=_0x2cb6e4,_0x5e6796=new _0x4abeaf(_0x10a485),_0xbf70d7=new _0x4abeaf();return _0x5e6796[_0x1056d5(0x201)]((_0x12c03b,_0x53114c)=>{const _0x14e3d2=_0x1056d5;_0xbf70d7[_0x14e3d2(0x1d1)](_0x12c03b,_0x53114c,0x1);}),_0x398609(_0xbf70d7);}var bs=Object[_0x2cb6e4(0x2d2)],Ls=(_0x1a9a17,_0x105481,_0x1948c8,_0xc1868f)=>{const _0x3f8c32=_0x2cb6e4;for(var _0x1f5424=_0xc1868f>0x1?void 0x0:_0xc1868f?bs(_0x105481,_0x1948c8):_0x105481,_0x26a7af=_0x1a9a17[_0x3f8c32(0x31f)]-0x1,_0x14be9f;_0x26a7af>=0x0;_0x26a7af--)(_0x14be9f=_0x1a9a17[_0x26a7af])&&(_0x1f5424=_0x14be9f(_0x1f5424)||_0x1f5424);return _0x1f5424;},P=(_0x1e53b2,_0x25f255)=>(_0x469cd8,_0x5db6af)=>_0x25f255(_0x469cd8,_0x5db6af,_0x1e53b2);let q=class extends _0x555e29{constructor(_0x3eb02f,_0x3bf600,_0x19087e,_0x52cbee,_0x3b9553,_0x1c0fb2,_0x39affa){const _0x36bf0e=_0x2cb6e4;super(),c(this,'_diffs',new Set()),c(this,_0x36bf0e(0x1e3),null),(this[_0x36bf0e(0x1b3)]=_0x3eb02f,this['_historyManagerService']=_0x3bf600,this[_0x36bf0e(0x33d)]=_0x19087e,this[_0x36bf0e(0x2d0)]=_0x52cbee,this[_0x36bf0e(0x1cc)]=_0x3b9553,this['_sheetSkeletonManagerService']=_0x1c0fb2,this[_0x36bf0e(0x349)]=_0x39affa,this[_0x36bf0e(0x209)]());}[_0x2cb6e4(0x209)](){const _0x38649a=_0x2cb6e4;this['_initRender'](),this[_0x38649a(0x325)]();}[_0x2cb6e4(0x208)](){const _0x1073a3=_0x2cb6e4;this[_0x1073a3(0x24e)](_0x1dc938([this[_0x1073a3(0x290)]['loadingState$'],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x1073a3(0x1e5)](_0x5553c3(([_0x7a5fd7,_0xeb08f4])=>{const _0x40b29e=_0x1073a3;if(_0x7a5fd7===C[_0x40b29e(0x240)]&&_0xeb08f4){const _0x581d04=_0xeb08f4[_0x40b29e(0x25e)];return this[_0x40b29e(0x33d)][_0x40b29e(0x260)]['pipe'](_0x32acdf(_0x464ac3=>{const _0x4e2efc=_0x40b29e,_0x2cca10=new Map();return _0x464ac3[_0x4e2efc(0x23f)][_0x4e2efc(0x1ee)]((_0x502da8,_0xe7d46a)=>{const _0x55d81e=_0x4e2efc,_0x3019bf=_0x502da8[_0x55d81e(0x19e)](_0x187391=>_0x187391[_0x55d81e(0x303)]===_0x581d04);_0x2cca10[_0x55d81e(0x2f3)](_0xe7d46a,_0x3019bf);}),{'skeleton':_0xeb08f4,'diffs':_0x2cca10};}));}return _0x20a5f7({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x37ede0,diffs:_0x4904ec})=>{const _0x3850b8=_0x1073a3;this[_0x3850b8(0x271)](),_0x37ede0&&this['_updateDiffMarks'](_0x37ede0,_0x4904ec);})),this[_0x1073a3(0x24e)](this[_0x1073a3(0x324)]['currentSkeleton$'][_0x1073a3(0x2a6)](_0x223b28=>{const _0x258545=_0x1073a3;if(_0x223b28==null)return;const {skeleton:_0x31eb82}=_0x223b28,{scene:_0x55c6fe}=this[_0x258545(0x1b3)];_0x55c6fe['onPointerMove$']['subscribeEvent'](_0x5c6339(_0x228f6c=>{const _0x476738=_0x258545;var _0x5213da,_0x20a02b;const {offsetX:_0x5dfc14,offsetY:_0x51055c}=_0x228f6c,{x:_0x54d7de,y:_0x4bc9fa}=_0x55c6fe[_0x476738(0x1cb)](_0x394574['FromArray']([_0x5dfc14,_0x51055c])),{scaleX:_0x39cf93,scaleY:_0x88e0db}=_0x55c6fe[_0x476738(0x340)](),_0x2063d7=_0x55c6fe['getViewport'](_0x2bf945['VIEW_MAIN']),_0x5b2782=_0x55c6fe[_0x476738(0x2d1)](_0x394574[_0x476738(0x1c0)]([_0x54d7de,_0x4bc9fa]),_0x2063d7),_0x4bc430=_0x31eb82[_0x476738(0x359)](_0x5dfc14,_0x51055c,_0x39cf93,_0x88e0db,_0x5b2782);((_0x5213da=this[_0x476738(0x1e3)])==null?void 0x0:_0x5213da[_0x476738(0x1c1)])===_0x4bc430[_0x476738(0x1c1)]&&((_0x20a02b=this[_0x476738(0x1e3)])==null?void 0x0:_0x20a02b[_0x476738(0x277)])===_0x4bc430['row']||this[_0x476738(0x1ad)][_0x476738(0x1ee)](_0x59b413=>{const _0x3ae8ed=_0x476738;_0x59b413[_0x3ae8ed(0x1e6)](_0x4bc430);});},0x64));}));}[_0x2cb6e4(0x325)](){const _0x5f1bf0=_0x2cb6e4;this['disposeWithMe'](this[_0x5f1bf0(0x290)]['loadingState$']['subscribe'](_0x3a87a9=>{const _0x5d9c82=_0x5f1bf0,_0x2e4523=new _0x15ce3c();return _0x3a87a9===C[_0x5d9c82(0x240)]&&(_0x2e4523[_0x5d9c82(0x336)](),_0x2e4523[_0x5d9c82(0x19c)](this[_0x5d9c82(0x33d)][_0x5d9c82(0x260)]['subscribe'](_0x5e09b2=>{const _0x55c80e=_0x5d9c82;_0x5e09b2[_0x55c80e(0x1dc)]&&this[_0x55c80e(0x349)][_0x55c80e(0x2ed)](_0x58ed03['id'],{'unitId':this[_0x55c80e(0x1b3)][_0x55c80e(0x1ef)],'subUnitId':_0x5e09b2[_0x55c80e(0x1dc)]});}))),()=>_0x2e4523[_0x5d9c82(0x336)]();}));}[_0x2cb6e4(0x347)](_0x4c68f7,_0x53cf1c){const _0x4f701b=_0x2cb6e4;var _0x39d8f5;const _0x12557d=(_0x39d8f5=this[_0x4f701b(0x324)]['getCurrent']())==null?void 0x0:_0x39d8f5[_0x4f701b(0x222)];if(!_0x12557d)return;this['_diffs'][_0x4f701b(0x1ee)](_0x9a38d0=>{_0x9a38d0['makeDirty']();});const {scene:_0x4976b3}=this[_0x4f701b(0x1b3)],_0x25f1c7=Array['from'](_0x53cf1c['keys']())[_0x4f701b(0x1ab)](_0x245dda=>_0x53cf1c[_0x4f701b(0x198)](_0x245dda)['map'](_0x2c7d36=>{const _0xf41665=_0x4f701b;var _0x5856b5;const {range:_0x4670e1,subUnitId:_0x4e7d79,unitId:_0x85a127}=_0x2c7d36,{startColumn:_0x4930c3,startRow:_0x1e7221,endColumn:_0x59fdb1,endRow:_0x28c474}=_0x4670e1,_0x37de38=_0x4b40a2(_0x1e7221,_0x4930c3,_0x4976b3,_0x12557d),_0x4aebfd=_0x4b40a2(_0x28c474,_0x59fdb1,_0x4976b3,_0x12557d),{columnHeaderHeightAndMarginTop:_0xa739e6}=_0x12557d,{startX:_0x2bba89,startY:_0x420535}=_0x37de38,{endX:_0x4fd960,endY:_0xb98ae8}=_0x4aebfd,_0x35cac1=_0x4fd960-_0x2bba89,_0x28b391=_0xb98ae8-_0x420535,_0x5d154c={'labelPosition':_0x420535-_0xa739e6>=0x14?'top':_0xf41665(0x25d),'sheetID':_0x4e7d79,'range':_0x4670e1,'color':_0xf41665(0x299),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0xf41665(0x299),'name':((_0x5856b5=this[_0xf41665(0x290)][_0xf41665(0x2da)](_0x245dda))==null?void 0x0:_0x5856b5[_0xf41665(0x241)])||'','selection':_0x85a127+'-'+_0x4e7d79+'-'+_0x4670e1[_0xf41665(0x207)]+'-'+_0x4670e1[_0xf41665(0x358)]+'-'+_0x4670e1[_0xf41665(0x268)]+'-'+_0x4670e1['endRow'],'left':_0x2bba89,'top':_0x420535,'width':_0x35cac1,'height':_0x28b391,'evented':!0x1,'zIndex':0x1};return new _0x447436('',_0x5d154c);}))[_0x4f701b(0x27d)]();_0x4976b3[_0x4f701b(0x355)](_0x25f1c7,0x1),this[_0x4f701b(0x1ad)]=new Set(_0x25f1c7);}['_removeDiffMarks'](){const _0x377079=_0x2cb6e4;var _0x4c86b3;(_0x4c86b3=this['_diffs'])==null||_0x4c86b3[_0x377079(0x1ee)](_0x518627=>_0x518627[_0x377079(0x336)]());}[_0x2cb6e4(0x197)](){const _0x2da711=_0x2cb6e4;return _0x1ec31a(this['_univerInstanceService'],this[_0x2da711(0x1cc)]);}};q=Ls([P(0x1,_0x4aaff5(g)),P(0x2,_0x4aaff5(w)),P(0x3,_0x381737),P(0x4,_0x28ff8b),P(0x5,_0x4aaff5(_0xf71e45)),P(0x6,_0x241833)],q);function Cs(){const _0x5da8d7=_0x2cb6e4,_0x1b526e=_0x30b5c3(g),_0x5de8eb=_0xe37064(_0x1b526e[_0x5da8d7(0x27a)]),[_0x320cab,_0x36820c]=_0x25215d(!0x1),_0x5257ea=cs(_0x5de8eb);return _0x5de8eb?_0x30c25d(_0x5da8d7(0x309),{'className':'univer-overflow-hidden','children':_0x4f314f(_0x5da8d7(0x309),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x5257ea[_0x5da8d7(0x1ab)]((_0x219ac1,_0x11d984)=>_0x4f314f(_0x41b79c,{'children':[_0x30c25d(Us,{'date':_0x219ac1[_0x5da8d7(0x295)]}),_0x219ac1[_0x5da8d7(0x226)][_0x5da8d7(0x1ab)]((_0x3cadf0,_0x2f0fb8)=>_0x30c25d($s,{'index':[_0x11d984,_0x2f0fb8],'item':_0x3cadf0},_0x11d984+'-'+_0x2f0fb8))]},_0x219ac1[_0x5da8d7(0x295)])),_0x320cab&&_0x30c25d(ys,{})]})}):_0x30c25d(ws,{});}function ys(){const _0xccbcd4=_0x2cb6e4;return _0x30c25d(_0xccbcd4(0x309),{'className':_0xccbcd4(0x2f6),'children':_0x30c25d(re,{'className':'univer-animate-spin'})});}function ws(){const _0x2d29e4=_0x2cb6e4;return _0x30c25d(_0x2d29e4(0x309),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x30c25d(_0x2d29e4(0x26f),{'className':_0x2d29e4(0x256),'children':_0x30c25d(re,{'className':_0x2d29e4(0x30f)})})});}function Us(_0x40c36e){const _0x503c36=_0x2cb6e4,_0x3d3fe9=_0x30b5c3(_0x2d2eaf),{date:_0x1b50e0}=_0x40c36e;return _0x30c25d('div',{'className':_0x503c36(0x279),'children':J(_0x1b50e0,_0x3d3fe9[_0x503c36(0x1a1)]())});}function $s(_0xf43d59){const _0x270a64=_0x2cb6e4,{item:_0x52a4ee,index:_0x4ed006}=_0xf43d59,{time:_0x18d0f0,user:_0x46808d}=_0x52a4ee,[_0x56146a,_0xea1345]=_0x4ed006,_0x2255c2=_0x30b5c3(g),_0x3f6560=_0xe37064(_0x2255c2[_0x270a64(0x206)],'',!0x0)===_0x52a4ee['id'],_0x37dab7=_0x56146a===0x0&&_0xea1345===0x0,_0x56f4c0=!_0x37dab7&&_0x2255c2[_0x270a64(0x246)],_0x280ed9=_0x30b5c3(_0x2d2eaf),_0x3aafad=_0x280ed9['getCurrentLocale'](),_0x25fe66=ie(_0x18d0f0,_0x3aafad),_0x11a82c=_0x280ed9['t']('editHistory.panel.currentVersion'),_0x365054=_0x511d34(_0x55a6af=>{const _0x1a4a31=_0x270a64;_0x2255c2[_0x1a4a31(0x2ac)]!==C['Loading']&&(_0x2255c2['currentVersion']=_0x55a6af);},[_0x2255c2]),_0x4df526=_0x511d34(_0x373c98=>{const _0xf651df=_0x270a64;_0x2255c2[_0xf651df(0x213)](_0x373c98);},[_0x2255c2]);return _0x4f314f(_0x270a64(0x309),{'className':_0x15693a(_0x270a64(0x2b8),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x3f6560}),'onClick':()=>_0x365054(_0x52a4ee['id']),'children':[_0x4f314f(_0x270a64(0x309),{'className':_0x270a64(0x1e9),'children':[_0x4f314f(_0x270a64(0x309),{'className':_0x270a64(0x23b),'children':[_0x30c25d(_0x270a64(0x26f),{'children':_0x25fe66[_0x270a64(0x2bd)]}),_0x37dab7&&_0x30c25d(_0x270a64(0x26f),{'className':_0x270a64(0x305),'children':_0x11a82c})]}),_0x30c25d(_0x270a64(0x309),{'children':_0x56f4c0&&_0x30c25d(_0x3fbb81,{'title':_0x280ed9['t'](_0x270a64(0x291)),'children':_0x30c25d(_0x270a64(0x309),{'onClick':_0xafe2a3=>{_0xafe2a3['stopPropagation'](),_0x4df526(_0x52a4ee['id']);},'className':_0x270a64(0x2b7),'children':_0x30c25d(ye,{})})})})]}),_0x30c25d(_0x270a64(0x309),{'className':_0x270a64(0x24c),'children':os(_0x52a4ee,_0x280ed9)})]});}var Vs=Object['getOwnPropertyDescriptor'],ks=(_0x59855d,_0x138bc1,_0xd04ba8,_0x533e63)=>{const _0x375230=_0x2cb6e4;for(var _0x2b9be9=_0x533e63>0x1?void 0x0:_0x533e63?Vs(_0x138bc1,_0xd04ba8):_0x138bc1,_0x4ee0e5=_0x59855d[_0x375230(0x31f)]-0x1,_0x505edd;_0x4ee0e5>=0x0;_0x4ee0e5--)(_0x505edd=_0x59855d[_0x4ee0e5])&&(_0x2b9be9=_0x505edd(_0x2b9be9)||_0x2b9be9);return _0x2b9be9;},$=(_0xf7a3aa,_0x8a14ad)=>(_0x45af2b,_0x17df1f)=>_0x8a14ad(_0x45af2b,_0x17df1f,_0xf7a3aa);const he=_0x2cb6e4(0x205);let Y=class extends _0x555e29{constructor(_0x14bef3,_0x473c5e,_0x2ba5f8,_0x38b475){const _0x1757ee=_0x2cb6e4;super(),c(this,'_sidebarDisposable',null),(this['_sidebarService']=_0x14bef3,this[_0x1757ee(0x32e)]=_0x473c5e,this[_0x1757ee(0x228)]=_0x2ba5f8,this[_0x1757ee(0x290)]=_0x38b475,this[_0x1757ee(0x209)]());}['_init'](){const _0x49dcda=_0x2cb6e4;this['_initPanel'](),this[_0x49dcda(0x22e)]();}['_openPanel'](){const _0xa8f842=_0x2cb6e4;if(this[_0xa8f842(0x2ea)])return;const _0x561a7a={'header':{'title':this[_0xa8f842(0x228)]['t'](_0xa8f842(0x2cb))},'children':{'label':he},'onClose':()=>{const _0x3fceca=_0xa8f842;this[_0x3fceca(0x2ea)]=null,this[_0x3fceca(0x290)]['status']=ne['Exited'];}};this[_0xa8f842(0x2ea)]=this['_sidebarService']['open']({..._0x561a7a});}[_0x2cb6e4(0x2a8)](){const _0x501cf0=_0x2cb6e4;this[_0x501cf0(0x24e)](this['_componentManager'][_0x501cf0(0x320)](he,Cs)),this['disposeWithMe'](this['_sidebarService'][_0x501cf0(0x258)]['pipe'](_0x1d2b6d(0x64))['subscribe'](_0x57b9e1=>{const _0x190eb3=_0x501cf0,{target:_0x2c05c5}=_0x57b9e1||{};if(_0x2c05c5){const {scrollTop:_0x3f410c,scrollHeight:_0x39beee,clientHeight:_0xbacb48}=_0x2c05c5;_0x3f410c+_0xbacb48>=_0x39beee-0x5&&this[_0x190eb3(0x290)][_0x190eb3(0x351)]();}}));}};Y=ks([$(0x0,_0x52d5f4),$(0x1,_0x4aaff5(_0x2ccfa8)),$(0x2,_0x4aaff5(_0x2d2eaf)),$(0x3,_0x4aaff5(g))],Y);class Hs extends _0x555e29{constructor(){const _0x334771=_0x2cb6e4;super(),c(this,_0x334771(0x2f8),new _0x19ef2a());}[_0x2cb6e4(0x266)](){return _0x1fcd3d(()=>{});}[_0x2cb6e4(0x1d2)](){}['closeAll'](_0x4cb33d){}[_0x2cb6e4(0x263)](){const _0x253c89=_0x2cb6e4;return this[_0x253c89(0x2f8)]['asObservable']();}}var xs=Object['defineProperty'],As=Object[_0x2cb6e4(0x2d2)],Fs=(_0x281391,_0x2c7e4c,_0x110fe6)=>_0x2c7e4c in _0x281391?xs(_0x281391,_0x2c7e4c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x110fe6}):_0x281391[_0x2c7e4c]=_0x110fe6,Ys=(_0x1ebce6,_0x6d3336,_0x386977,_0x3c9830)=>{const _0x23af40=_0x2cb6e4;for(var _0x39b06c=_0x3c9830>0x1?void 0x0:_0x3c9830?As(_0x6d3336,_0x386977):_0x6d3336,_0x1c4daa=_0x1ebce6[_0x23af40(0x31f)]-0x1,_0x364793;_0x1c4daa>=0x0;_0x1c4daa--)(_0x364793=_0x1ebce6[_0x1c4daa])&&(_0x39b06c=_0x364793(_0x39b06c)||_0x39b06c);return _0x39b06c;},K=(_0x5798b3,_0x2b0692)=>(_0x26d84c,_0x5e7d5e)=>_0x2b0692(_0x26d84c,_0x5e7d5e,_0x5798b3),Bs=(_0x314457,_0x3336df,_0x4f74ef)=>Fs(_0x314457,_0x3336df+'',_0x4f74ef);const Ws=_0x2cb6e4(0x25b);let ee=class extends _0x1587be{constructor(_0x3ac152=le,_0x4ea3ce,_0x209ec5,_0x749210){const _0x163b36=_0x2cb6e4;super(),this['_config']=_0x3ac152,this[_0x163b36(0x251)]=_0x4ea3ce,this['_renderManagerService']=_0x209ec5,this[_0x163b36(0x323)]=_0x749210;const {..._0x3e4e7a}=_0x4eb917({},le,this[_0x163b36(0x243)]);this[_0x163b36(0x323)]['setConfig'](be,_0x3e4e7a);}[_0x2cb6e4(0x244)](){const _0x420830=_0x2cb6e4;[[g],[F],[w],[A],[Y],[H],[_0x19371c,{'useClass':_0x31e1df}],[_0xdf2df3,{'useClass':Hs}],[_0x5e004c,{'useClass':_0x2a01f1}]][_0x420830(0x1ee)](_0x506dc9=>this[_0x420830(0x251)]['add'](_0x506dc9)),this['_injector'][_0x420830(0x198)](F);}[_0x2cb6e4(0x272)](){const _0x52ac4b=_0x2cb6e4;[[q]][_0x52ac4b(0x1ee)](_0x44079f=>{const _0x42f87d=_0x52ac4b;this[_0x42f87d(0x24e)](this['_renderManagerService'][_0x42f87d(0x1a3)](_0x113232[_0x42f87d(0x257)],_0x44079f));}),this['_injector'][_0x52ac4b(0x198)](H),this[_0x52ac4b(0x251)][_0x52ac4b(0x198)](Y);}[_0x2cb6e4(0x2f1)](){const _0x4e7bbd=_0x2cb6e4;this['_injector'][_0x4e7bbd(0x198)](w);}};Bs(ee,_0x2cb6e4(0x2a3),Ws),ee=Ys([_0x165f15(_0x39b93f,_0x4d145b),K(0x1,_0x4aaff5(_0x14f2b5)),K(0x2,_0x28ff8b),K(0x3,_0x32a9c2)],ee);export{g as HistoryManagerService,ne as HistoryModeStatus,ee as UniverEditHistoryViewerPlugin};
|