@univerjs-pro/edit-history-viewer 0.8.0-nightly.202506051607 → 0.8.0
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 +17 -17
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x447489=_0x3393;(function(_0x446a1e,_0x130964){const _0x385104=_0x3393,_0x35d3b3=_0x446a1e();while(!![]){try{const _0x36eda3=parseInt(_0x385104(0x297))/0x1+-parseInt(_0x385104(0x152))/0x2+parseInt(_0x385104(0x171))/0x3+-parseInt(_0x385104(0x29a))/0x4*(-parseInt(_0x385104(0x2ab))/0x5)+parseInt(_0x385104(0x2ce))/0x6*(parseInt(_0x385104(0x192))/0x7)+-parseInt(_0x385104(0x26b))/0x8+parseInt(_0x385104(0x232))/0x9*(parseInt(_0x385104(0x2a4))/0xa);if(_0x36eda3===_0x130964)break;else _0x35d3b3['push'](_0x35d3b3['shift']());}catch(_0x33f414){_0x35d3b3['push'](_0x35d3b3['shift']());}}}(_0x3c12,0x9bed5));var pe=Object['defineProperty'],Ee=(_0x55a0ee,_0x23ba8e,_0x3727a1)=>_0x23ba8e in _0x55a0ee?pe(_0x55a0ee,_0x23ba8e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3727a1}):_0x55a0ee[_0x23ba8e]=_0x3727a1,_=(_0x24f14f,_0x2d63de,_0x4fcf6d)=>Ee(_0x24f14f,typeof _0x2d63de!=_0x447489(0x1ff)?_0x2d63de+'':_0x2d63de,_0x4fcf6d);Object['defineProperty'](exports,Symbol[_0x447489(0x2f9)],{'value':_0x447489(0x1e4)});const N=require('@univerjs-pro/collaboration'),re=require(_0x447489(0x117)),l=require(_0x447489(0x16d)),Me=require(_0x447489(0x307)),$=require(_0x447489(0x1eb)),ce=require(_0x447489(0x1ee)),T=require(_0x447489(0x140)),S=require(_0x447489(0x137)),L=require('@univerjs/design'),u=require(_0x447489(0x25b)),E=require(_0x447489(0x148)),K=require(_0x447489(0x29e)),Q=require(_0x447489(0x285)),le=require(_0x447489(0x31e)),be=require(_0x447489(0x2a1)),h=require(_0x447489(0x23e)),m=require(_0x447489(0x2a0)),Re=require(_0x447489(0x2db)),ue=_0x447489(0x29f),ne={};var Ne=Object[_0x447489(0x242)],Oe=(_0x528865,_0x50e0a4,_0x138f0e,_0x57aad3)=>{const _0x4950d9=_0x447489;for(var _0x34992b=_0x57aad3>0x1?void 0x0:_0x57aad3?Ne(_0x50e0a4,_0x138f0e):_0x50e0a4,_0x4f708a=_0x528865[_0x4950d9(0x30b)]-0x1,_0x1c0ff9;_0x4f708a>=0x0;_0x4f708a--)(_0x1c0ff9=_0x528865[_0x4f708a])&&(_0x34992b=_0x1c0ff9(_0x34992b)||_0x34992b);return _0x34992b;},ye=(_0x3559f5,_0x1991e3)=>(_0x32f68b,_0x31d6d0)=>_0x1991e3(_0x32f68b,_0x31d6d0,_0x3559f5);let U=class extends l[_0x447489(0x22e)]{constructor(_0x44fba6){const _0xa052b8=_0x447489;super(),this[_0xa052b8(0x133)]=_0x44fba6,this[_0xa052b8(0x2f1)]();}[_0x447489(0x2f1)](){const _0x59118a=_0x447489;this[_0x59118a(0x2cd)](this[_0x59118a(0x133)][_0x59118a(0x209)][_0x59118a(0x177)](_0x2d870=>{const _0xfecf8f=_0x59118a;_0x2d870!=null&&_0x2d870['show']&&this[_0xfecf8f(0x133)][_0xfecf8f(0x290)]({'show':!0x1});}));}};U=Oe([ye(0x0,T[_0x447489(0x24e)])],U);var W=(_0x40b63e=>(_0x40b63e[_0x40b63e[_0x447489(0x27e)]=0x0]='UNDEFINED',_0x40b63e[_0x40b63e['OK']=0x1]='OK',_0x40b63e[_0x40b63e[_0x447489(0x234)]=0x2]='INTERNAL_ERROR',_0x40b63e[_0x40b63e['PERMISSION_DENIED']=0x3]=_0x447489(0x1f9),_0x40b63e[_0x40b63e[_0x447489(0x18b)]=0x4]='NOT_FOUND',_0x40b63e[_0x40b63e[_0x447489(0x2da)]=0x5]=_0x447489(0x2da),_0x40b63e[_0x40b63e[_0x447489(0x255)]=0x6]='ALREADY_EXISTS',_0x40b63e[_0x40b63e[_0x447489(0x121)]=0x7]=_0x447489(0x121),_0x40b63e[_0x40b63e[_0x447489(0x1b3)]=0x8]=_0x447489(0x1b3),_0x40b63e[_0x40b63e[_0x447489(0x27f)]=0x9]='COMPLETION_FINISHED',_0x40b63e[_0x40b63e[_0x447489(0x15e)]=0xa]=_0x447489(0x15e),_0x40b63e[_0x40b63e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x447489(0x260),_0x40b63e[_0x40b63e[_0x447489(0x270)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40b63e[_0x40b63e[_0x447489(0x1d9)]=0x1772]=_0x447489(0x1d9),_0x40b63e[_0x40b63e[_0x447489(0x1b4)]=0x1773]=_0x447489(0x1b4),_0x40b63e[_0x40b63e[_0x447489(0x1fc)]=0x1b59]=_0x447489(0x1fc),_0x40b63e[_0x40b63e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40b63e[_0x40b63e[_0x447489(0x322)]=0x1b5b]=_0x447489(0x322),_0x40b63e[_0x40b63e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x447489(0x169),_0x40b63e[_0x40b63e[_0x447489(0x21f)]=0x1b5d]=_0x447489(0x21f),_0x40b63e[_0x40b63e[_0x447489(0x250)]=0x1f41]=_0x447489(0x250),_0x40b63e[_0x40b63e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x40b63e[_0x40b63e[_0x447489(0x329)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x40b63e[_0x40b63e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40b63e[_0x40b63e[_0x447489(0x2f8)]=0x232c]=_0x447489(0x2f8),_0x40b63e[_0x40b63e['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x40b63e[_0x40b63e[_0x447489(0x22d)]=0x2711]=_0x447489(0x22d),_0x40b63e[_0x40b63e[_0x447489(0x19e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x40b63e[_0x40b63e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x447489(0x207),_0x40b63e[_0x40b63e[_0x447489(0x19b)]=0x2714]=_0x447489(0x19b),_0x40b63e[_0x40b63e[_0x447489(0x2fc)]=0x271a]=_0x447489(0x2fc),_0x40b63e[_0x40b63e[_0x447489(0x1a9)]=0x271b]=_0x447489(0x1a9),_0x40b63e[_0x40b63e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x447489(0x138),_0x40b63e[_0x40b63e[_0x447489(0x247)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x40b63e[_0x40b63e[_0x447489(0x188)]=0x271e]=_0x447489(0x188),_0x40b63e[_0x40b63e[_0x447489(0x204)]=0x271f]=_0x447489(0x204),_0x40b63e[_0x40b63e[_0x447489(0x24d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x40b63e[_0x40b63e[_0x447489(0x160)]=0x2ee1]=_0x447489(0x160),_0x40b63e[_0x40b63e[_0x447489(0x11e)]=0x2ee2]=_0x447489(0x11e),_0x40b63e[_0x40b63e[_0x447489(0x21e)]=0x2ee3]=_0x447489(0x21e),_0x40b63e[_0x40b63e[_0x447489(0x2b1)]=0x2ee4]=_0x447489(0x2b1),_0x40b63e[_0x40b63e[_0x447489(0x201)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40b63e[_0x40b63e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x447489(0x212),_0x40b63e[_0x40b63e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x447489(0x2f0),_0x40b63e[_0x40b63e[_0x447489(0x1ec)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x40b63e[_0x40b63e['UNRECOGNIZED']=-0x1]=_0x447489(0x189),_0x40b63e))(W||{}),j=(_0x493f03=>(_0x493f03[_0x493f03[_0x447489(0x2e1)]=0x0]=_0x447489(0x2e1),_0x493f03[_0x493f03['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x493f03[_0x493f03[_0x447489(0x11f)]=0x2]='UNIVER_SHEET',_0x493f03[_0x493f03[_0x447489(0x268)]=0x3]=_0x447489(0x268),_0x493f03[_0x493f03[_0x447489(0x1fe)]=0x4]=_0x447489(0x1fe),_0x493f03[_0x493f03[_0x447489(0x189)]=-0x1]=_0x447489(0x189),_0x493f03))(j||{}),D=(_0x317cef=>(_0x317cef[_0x317cef[_0x447489(0x319)]=0x0]=_0x447489(0x319),_0x317cef[_0x317cef[_0x447489(0x2ad)]=0x1]=_0x447489(0x2ad),_0x317cef[_0x317cef['ManageCollaborator']=0x2]=_0x447489(0x23f),_0x317cef[_0x317cef[_0x447489(0x245)]=0x3]=_0x447489(0x245),_0x317cef[_0x317cef['Duplicate']=0x4]='Duplicate',_0x317cef[_0x317cef[_0x447489(0x279)]=0x5]=_0x447489(0x279),_0x317cef[_0x317cef[_0x447489(0x1e1)]=0x6]='Copy',_0x317cef[_0x317cef['Share']=0x7]='Share',_0x317cef[_0x317cef[_0x447489(0x144)]=0x8]=_0x447489(0x144),_0x317cef[_0x317cef['MoveWorksheet']=0x9]=_0x447489(0x1c5),_0x317cef[_0x317cef['DeleteWorksheet']=0xa]=_0x447489(0x1ab),_0x317cef[_0x317cef[_0x447489(0x2bc)]=0xb]='HideWorksheet',_0x317cef[_0x317cef['RenameWorksheet']=0xc]=_0x447489(0x301),_0x317cef[_0x317cef[_0x447489(0x259)]=0xd]='CreateWorksheet',_0x317cef[_0x317cef[_0x447489(0x32c)]=0xe]='SetWorksheetStyle',_0x317cef[_0x317cef[_0x447489(0x141)]=0xf]='EditWorksheetCell',_0x317cef[_0x317cef['InsertHyperlink']=0x10]=_0x447489(0x1da),_0x317cef[_0x317cef[_0x447489(0x32b)]=0x11]=_0x447489(0x32b),_0x317cef[_0x317cef[_0x447489(0x261)]=0x12]=_0x447489(0x261),_0x317cef[_0x317cef[_0x447489(0x1a2)]=0x13]='PivotTable',_0x317cef[_0x317cef[_0x447489(0x1dd)]=0x14]=_0x447489(0x1dd),_0x317cef[_0x317cef[_0x447489(0x13e)]=0x15]=_0x447489(0x13e),_0x317cef[_0x317cef[_0x447489(0x1b6)]=0x16]=_0x447489(0x1b6),_0x317cef[_0x317cef['ViemRwHgtClWdt']=0x17]=_0x447489(0x299),_0x317cef[_0x317cef['ViewFilter']=0x18]=_0x447489(0x31f),_0x317cef[_0x317cef[_0x447489(0x203)]=0x19]=_0x447489(0x203),_0x317cef[_0x317cef[_0x447489(0x161)]=0x1a]='DeleteSheet',_0x317cef[_0x317cef['HideSheet']=0x1b]=_0x447489(0x1ed),_0x317cef[_0x317cef[_0x447489(0x277)]=0x1c]=_0x447489(0x277),_0x317cef[_0x317cef[_0x447489(0x11c)]=0x1d]=_0x447489(0x11c),_0x317cef[_0x317cef['CreateSheet']=0x1e]=_0x447489(0x20f),_0x317cef[_0x317cef[_0x447489(0x2c6)]=0x1f]=_0x447489(0x2c6),_0x317cef[_0x317cef['SelectUnProtectedCells']=0x20]=_0x447489(0x2d7),_0x317cef[_0x317cef[_0x447489(0x149)]=0x21]=_0x447489(0x149),_0x317cef[_0x317cef[_0x447489(0x1db)]=0x22]=_0x447489(0x1db),_0x317cef[_0x317cef['SetRowStyle']=0x23]='SetRowStyle',_0x317cef[_0x317cef[_0x447489(0x215)]=0x24]=_0x447489(0x215),_0x317cef[_0x317cef[_0x447489(0x135)]=0x25]=_0x447489(0x135),_0x317cef[_0x317cef[_0x447489(0x278)]=0x26]=_0x447489(0x278),_0x317cef[_0x317cef[_0x447489(0x28c)]=0x27]=_0x447489(0x28c),_0x317cef[_0x317cef['DeleteColumn']=0x28]=_0x447489(0x28b),_0x317cef[_0x317cef[_0x447489(0x323)]=0x29]=_0x447489(0x323),_0x317cef[_0x317cef[_0x447489(0x326)]=0x2a]=_0x447489(0x326),_0x317cef[_0x317cef['RecoverHistory']=0x2b]=_0x447489(0x243),_0x317cef[_0x317cef[_0x447489(0x320)]=0x2c]='ViewHistory',_0x317cef[_0x317cef[_0x447489(0x191)]=0x2d]='CreatePermissionObject',_0x317cef[_0x317cef[_0x447489(0x189)]=-0x1]=_0x447489(0x189),_0x317cef))(D||{});function De(_0x3d2e4a){const _0xe68798=_0x447489;return!!(_0x3d2e4a&&_0x3d2e4a[_0xe68798(0x163)]&&_0x3d2e4a[_0xe68798(0x163)]!==W['OK']&&_0x3d2e4a[_0xe68798(0x163)]!=='OK');}function _0x3393(_0x38d0cf,_0x1ecf37){const _0x3c1251=_0x3c12();return _0x3393=function(_0x33933a,_0x2d7e3f){_0x33933a=_0x33933a-0x115;let _0xcdbd60=_0x3c1251[_0x33933a];return _0xcdbd60;},_0x3393(_0x38d0cf,_0x1ecf37);}const ee=(_0x3bd867,_0x4f385b)=>{const _0x398d3c=_0x447489;if(!_0x3bd867)return{'date':'','time':''};const _0x27d06d=new Date(_0x3bd867),_0x35ce7a=_0x27d06d[_0x398d3c(0x1b8)]()[_0x398d3c(0x2c2)]('T')[0x0];switch(_0x4f385b){case l[_0x398d3c(0x14e)][_0x398d3c(0x28a)]:return{'date':J(_0x35ce7a,_0x4f385b),'time':_0x27d06d['getHours']()+':'+String(_0x27d06d['getMinutes']())[_0x398d3c(0x1c6)](0x2,'0')};default:return{'date':J(_0x35ce7a,_0x4f385b),'time':_0x27d06d[_0x398d3c(0x15d)]()+':'+_0x27d06d['getMinutes']()};}},Ce=(_0x53e4bf,_0x65b684)=>{const _0x170ec6=_0x447489,_0x4c88f3=_0x53e4bf[_0x170ec6(0x2a2)]||_0x65b684['t'](_0x170ec6(0x13f));if(_0x53e4bf[_0x170ec6(0x303)][_0x170ec6(0x196)](_0x480da1=>_0x480da1===N[_0x170ec6(0x2d3)]['id'])&&_0x53e4bf[_0x170ec6(0x31b)]){const _0x3f7614=ee(_0x53e4bf[_0x170ec6(0x31b)],_0x65b684[_0x170ec6(0x2e8)]()),_0xc3c786=_0x3f7614['date']+'\x20'+_0x3f7614['time'];return _0x4c88f3+'\x20'+_0x65b684['t'](_0x170ec6(0x2ac))+'\x20'+_0xc3c786+'\x20'+_0x65b684['t'](_0x170ec6(0x2b4));}const _0x1b73f4=we(_0x53e4bf),_0x46806a=_0x1b73f4['length']===0x1?_0x65b684['t'](_0x1b73f4[0x0]):''+_0x65b684['t'](_0x1b73f4[0x0])+_0x65b684['t'](_0x170ec6(0x15c));return _0x4c88f3+'\x20'+_0x46806a;};function we(_0x2f5f44){const _0x4f9e6a=_0x447489;if(_0x2f5f44[_0x4f9e6a(0x303)][_0x4f9e6a(0x30b)]===0x0)return[''];const _0x1e3ce7='editHistory.action.',_0x513f16=_0x1e3ce7+_0x4f9e6a(0x306),_0x3f96a9=[{'id':N[_0x4f9e6a(0x300)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x211)},{'id':N[_0x4f9e6a(0x2d3)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x1b0)},{'id':u['InsertSheetMutation']['id'],'action':_0x1e3ce7+'insertSheet'},{'id':u[_0x4f9e6a(0x2f4)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x1af)},{'id':u['SetFrozenMutation']['id'],'action':_0x1e3ce7+_0x4f9e6a(0x1bc)},{'id':le[_0x4f9e6a(0x1f1)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x1bf)},{'id':K[_0x4f9e6a(0x129)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x258)},{'id':K[_0x4f9e6a(0x1e6)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x258)},{'id':Q['SetConditionalRuleMutation']['id'],'action':_0x1e3ce7+'setCF'},{'id':Q[_0x4f9e6a(0x233)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x15a)},{'id':u['AddWorksheetProtectionMutation']['id'],'action':_0x1e3ce7+_0x4f9e6a(0x27d)},{'id':u[_0x4f9e6a(0x17a)]['id'],'action':_0x1e3ce7+'addProtection'},{'id':be[_0x4f9e6a(0x264)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x20b)},{'id':u[_0x4f9e6a(0x1a6)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x2b9)},{'id':u[_0x4f9e6a(0x167)]['id'],'action':_0x1e3ce7+_0x4f9e6a(0x2b9)}][_0x4f9e6a(0x328)](_0x291869=>_0x2f5f44[_0x4f9e6a(0x303)][_0x4f9e6a(0x14d)](_0x291869['id']));return _0x3f96a9!=null&&_0x3f96a9[_0x4f9e6a(0x30b)]?_0x3f96a9[_0x4f9e6a(0x2f5)](_0x91ae16=>_0x91ae16[_0x4f9e6a(0x236)]):[_0x513f16];}function J(_0x2b73cd,_0x485849){const _0x2ab7c2=_0x447489,[_0x4cf256,_0x3b1039,_0x4bb160]=new Date()['toISOString']()[_0x2ab7c2(0x2c2)]('T')[0x0][_0x2ab7c2(0x2c2)]('-'),[_0x458925,_0x433067,_0x10275a]=_0x2b73cd[_0x2ab7c2(0x2c2)]('-'),_0x1cfa1f=_0x4cf256===_0x458925&&_0x3b1039===_0x433067&&_0x4bb160===_0x10275a;let _0x43db49='',_0x574f68='',_0x2bc4a0='';switch(_0x485849){case l[_0x2ab7c2(0x14e)][_0x2ab7c2(0x28a)]:return _0x1cfa1f?'今天':(_0x43db49=_0x4cf256===_0x458925?'':_0x458925+'年',_0x574f68=_0x433067+'月',_0x2bc4a0=_0x10275a+'日',''+_0x43db49+_0x574f68+_0x2bc4a0);default:return _0x1cfa1f?'Today':(_0x43db49=_0x4cf256===_0x458925?'':_0x458925+'-',_0x574f68=_0x433067+'-',_0x2bc4a0=''+_0x10275a,''+_0x43db49+_0x574f68+_0x2bc4a0);}}function Pe(_0x53685b){const _0x27ec4d=_0x447489;return _0x53685b?_0x53685b[_0x27ec4d(0x184)]((_0x8759fd,_0x233422)=>{const _0x229235=_0x27ec4d,_0xa39102=new Date(_0x233422[_0x229235(0x237)])[_0x229235(0x1b8)]()[_0x229235(0x2c2)]('T')[0x0];return _0x8759fd[_0x229235(0x30b)]>0x0&&_0x8759fd[_0x8759fd['length']-0x1][_0x229235(0x1aa)]===_0xa39102?_0x8759fd[_0x8759fd['length']-0x1][_0x229235(0x176)]['push'](_0x233422):_0x8759fd[_0x229235(0x20d)]({'dateString':_0xa39102,'versions':[_0x233422]}),_0x8759fd;},[]):[];}var Te=Object[_0x447489(0x242)],xe=(_0x5b2c2d,_0x31c5b4,_0x347e45,_0xdf0c30)=>{const _0x124c9d=_0x447489;for(var _0x2503be=_0xdf0c30>0x1?void 0x0:_0xdf0c30?Te(_0x31c5b4,_0x347e45):_0x31c5b4,_0x4770c4=_0x5b2c2d[_0x124c9d(0x30b)]-0x1,_0x3fc9b1;_0x4770c4>=0x0;_0x4770c4--)(_0x3fc9b1=_0x5b2c2d[_0x4770c4])&&(_0x2503be=_0x3fc9b1(_0x2503be)||_0x2503be);return _0x2503be;},C=(_0x4fe4b2,_0x419a0a)=>(_0x154762,_0x106e8f)=>_0x419a0a(_0x154762,_0x106e8f,_0x4fe4b2);const $e=_0x447489(0x2a5);let B=class extends l['Disposable']{constructor(_0x5e3ec1,_0x23d1e6,_0x4daa0b,_0x4455c2,_0x361210,_0x36fa20){const _0x22bb10=_0x447489;super(),_(this,_0x22bb10(0x1b7),new Map()),(this[_0x22bb10(0x218)]=_0x5e3ec1,this[_0x22bb10(0x2c5)]=_0x23d1e6,this[_0x22bb10(0x221)]=_0x4daa0b,this['_configService']=_0x4455c2,this[_0x22bb10(0x2c1)]=_0x361210,this[_0x22bb10(0x120)]=_0x36fa20);}['dispose'](){const _0x24e539=_0x447489;this[_0x24e539(0x1b7)][_0x24e539(0x2c9)](),super[_0x24e539(0x15f)]();}async[_0x447489(0x27c)](_0x20aaa4,_0x12452e){const _0x188cc4=_0x447489,_0x26cc1a=this[_0x188cc4(0x1dc)]()+'/'+_0x20aaa4+_0x188cc4(0x2d5)+(_0x12452e?_0x188cc4(0x2fb)+_0x12452e:'');try{const _0x20cdb0=(await this[_0x188cc4(0x2c1)][_0x188cc4(0x20e)](_0x26cc1a))[_0x188cc4(0x30d)];if(_0x20cdb0&&_0x20cdb0[_0x188cc4(0x2f3)]&&_0x20cdb0['error']['code']===W['OK']){const {hasMore:_0x351683,lastLabel:_0x41e5b8}=_0x20cdb0,_0x211b72=Le(_0x20cdb0),_0x3fc2f4=_0x20cdb0['entities'][_0x188cc4(0x2ba)];return{'hasMore':_0x351683,'lastLabel':_0x41e5b8,'versions':_0x211b72,'members':_0x3fc2f4};}}catch(_0x5c2473){console[_0x188cc4(0x2f3)](_0x5c2473);}return null;}['_getAPIPrefix'](){const _0x8310cf=_0x447489;var _0x4e9923;const _0x94ad12=this[_0x8310cf(0x199)][_0x8310cf(0x327)](ue);return(_0x4e9923=_0x94ad12==null?void 0x0:_0x94ad12[_0x8310cf(0x224)])!=null?_0x4e9923:$e;}async[_0x447489(0x286)](_0x3a4197,_0xe8f0de,_0x3c6511){const _0xa05f67=_0x447489;var _0x15f052,_0xcd09d0;_0x3c6511===void 0x0&&(_0x3c6511={}),this[_0xa05f67(0x1b7)][_0xa05f67(0x30f)](_0x3a4197)||this[_0xa05f67(0x1b7)][_0xa05f67(0x1e9)](_0x3a4197,new Map());const {snapshot:_0x4f62d3,changesets:_0x3933b6,error:_0x488d28}=await this['_snapshotServerService']['getUnitOnRev'](_0x3c6511,{'unitID':_0x3a4197,'type':j[_0xa05f67(0x11f)],'revision':_0xe8f0de});if(De(_0x488d28)||!_0x4f62d3||!_0x4f62d3[_0xa05f67(0x186)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x587e2b=(_0x15f052=_0x3933b6==null?void 0x0:_0x3933b6[_0xa05f67(0x30b)])!=null?_0x15f052:0x0;if(_0xe8f0de!==0x0&&_0x4f62d3[_0xa05f67(0x1ba)]+_0x587e2b!==_0xe8f0de)throw new Error(_0xa05f67(0x2c8));const {workbook:_0x5eee9e}=_0x4f62d3,_0x6d324d=_0x5eee9e[_0xa05f67(0x13b)]?Object[_0xa05f67(0x29b)](_0x5eee9e[_0xa05f67(0x13b)])[_0xa05f67(0x2f5)](([_0x26da5e,_0x10ae1d])=>{const _0x13945a=_0xa05f67;var _0x41136a,_0x4bfbaa;return(_0x4bfbaa=(_0x41136a=_0x10ae1d['blocks'])==null?void 0x0:_0x41136a[_0x13945a(0x2f5)](_0x3c76a1=>_0x3c76a1))!=null?_0x4bfbaa:[];})['flat']():[],_0x4e9ef2=(await Promise[_0xa05f67(0x1a4)](_0x6d324d[_0xa05f67(0x2f5)](_0x21740f=>this['_snapshotServerService'][_0xa05f67(0x1e0)](_0x3c6511,{'unitID':_0x3a4197,'type':j[_0xa05f67(0x11f)],'blockID':_0x21740f})[_0xa05f67(0x24a)](_0x587066=>_0x587066['block']))))[_0xa05f67(0x328)](_0x4b7235=>!!_0x4b7235),_0x2ee238=N[_0xa05f67(0x313)](_0x4f62d3,_0x4e9ef2,_0x3c6511);return(_0xcd09d0=this[_0xa05f67(0x1b7)]['get'](_0x3a4197))==null||_0xcd09d0['set'](_0xe8f0de,{'workbook':_0x2ee238}),new Promise(_0x187f68=>{const _0x464157=_0xa05f67,_0x88b2be=this[_0x464157(0x2c5)][_0x464157(0x1d3)](l[_0x464157(0x298)]['UNIVER_SHEET']);_0x88b2be?(this[_0x464157(0x2c5)][_0x464157(0x25c)](_0x88b2be[_0x464157(0x136)]()),setTimeout(()=>{const _0x3993e9=_0x464157;this[_0x3993e9(0x2fa)](_0x2ee238,_0x3933b6),_0x187f68(!0x0);},0x0)):(this[_0x464157(0x2fa)](_0x2ee238,_0x3933b6),_0x187f68(!0x0));});}[_0x447489(0x2fa)](_0x548238,_0x366f68){const _0x37c3df=_0x447489,_0x5c274b=this[_0x37c3df(0x2c5)][_0x37c3df(0x13c)](l[_0x37c3df(0x298)][_0x37c3df(0x11f)],_0x548238);this[_0x37c3df(0x2c5)][_0x37c3df(0x2d0)](_0x5c274b[_0x37c3df(0x136)]());const _0xbae3d2=this[_0x37c3df(0x120)][_0x37c3df(0x1fb)][_0x37c3df(0x132)](this[_0x37c3df(0x120)][_0x37c3df(0x1fb)]['getInterceptPoints']()[_0x37c3df(0x1a5)]);return _0x366f68==null||_0x366f68['forEach'](_0x28a650=>{const _0x328953=_0x37c3df,_0x1a5804=_0x28a650['mutations']['map'](_0x3875cc=>({'id':_0x3875cc['id'],'params':JSON[_0x328953(0x1c3)](_0x3875cc['data'])}));({..._0x28a650,'mutations':_0xbae3d2(_0x1a5804,null)||_0x1a5804}[_0x328953(0x2ed)]['forEach'](_0x62582f=>{const _0x520986=_0x328953;this[_0x520986(0x221)]['hasCommand'](_0x62582f['id'])&&this['_commandService'][_0x520986(0x30c)](_0x62582f['id'],_0x62582f[_0x520986(0x139)]);}));}),_0x5c274b;}};B=xe([C(0x0,N[_0x447489(0x2f6)]),C(0x1,l[_0x447489(0x1ad)]),C(0x2,l[_0x447489(0x2f2)]),C(0x3,l['IConfigService']),C(0x4,l[_0x447489(0x1a3)](ce[_0x447489(0x16e)])),C(0x5,l[_0x447489(0x1a3)](N[_0x447489(0x265)]))],B);function Le(_0x4c562b){const _0x4173af=_0x447489;var _0x2f1ca4,_0x395a23;const _0x1a38e1=[],{entities:_0x200372,historyIds:_0x2e295c}=_0x4c562b,{datas:_0x752100,users:_0x1ba40f}=_0x200372;for(const _0x5369c6 of _0x2e295c)if(_0x752100[_0x5369c6]){const _0x5344d8=!!((_0x2f1ca4=_0x1ba40f[_0x752100[_0x5369c6]['userId']])!=null&&_0x2f1ca4['anonymous']);_0x1a38e1[_0x4173af(0x20d)]({'unitId':_0x752100[_0x5369c6][_0x4173af(0x2de)],'user':_0x5344d8?'':((_0x395a23=_0x1ba40f==null?void 0x0:_0x1ba40f[_0x752100[_0x5369c6][_0x4173af(0x312)]])==null?void 0x0:_0x395a23[_0x4173af(0x1a1)])||'','isAnonymous':_0x5344d8,'id':_0x5369c6,'time':_0x752100[_0x5369c6][_0x4173af(0x195)]?Number(_0x752100[_0x5369c6][_0x4173af(0x195)]):void 0x0,'commands':_0x752100[_0x5369c6][_0x4173af(0x31a)],'startRev':Number(_0x752100[_0x5369c6][_0x4173af(0x12e)]),'endRev':Number(_0x752100[_0x5369c6]['endRevision']),'recoverTime':_0x752100[_0x5369c6][_0x4173af(0x31b)]?Number(_0x752100[_0x5369c6][_0x4173af(0x31b)]):void 0x0});}return _0x1a38e1;}var Ve=Object[_0x447489(0x242)],ke=(_0x4a17c9,_0x4c6432,_0x499284,_0x33d769)=>{const _0x44edf6=_0x447489;for(var _0x2992a9=_0x33d769>0x1?void 0x0:_0x33d769?Ve(_0x4c6432,_0x499284):_0x4c6432,_0x222588=_0x4a17c9[_0x44edf6(0x30b)]-0x1,_0x12dc80;_0x222588>=0x0;_0x222588--)(_0x12dc80=_0x4a17c9[_0x222588])&&(_0x2992a9=_0x12dc80(_0x2992a9)||_0x2992a9);return _0x2992a9;},k=(_0x2201df,_0x3b58c0)=>(_0x503f64,_0x41d183)=>_0x3b58c0(_0x503f64,_0x41d183,_0x2201df),A=(_0x8fd3b6=>(_0x8fd3b6['Entered']=_0x447489(0x181),_0x8fd3b6[_0x447489(0x178)]='exited',_0x8fd3b6[_0x447489(0x1c0)]=_0x447489(0x2f3),_0x8fd3b6))(A||{}),x=(_0x3a2318=>(_0x3a2318[_0x447489(0x2b3)]=_0x447489(0x2be),_0x3a2318['Loading']='loading',_0x3a2318['Loaded']=_0x447489(0x2c4),_0x3a2318))(x||{});const He=_0x447489(0x24b);exports['HistoryManagerService']=class extends l[_0x447489(0x22e)]{constructor(_0x9a8194,_0x2c4d53,_0x9e7322,_0x2aec41){const _0x3aa7f4=_0x447489;super(),_(this,'_versions$',new E[(_0x3aa7f4(0x18d))]([])),_(this,_0x3aa7f4(0x1cc),this['_versions$'][_0x3aa7f4(0x32a)]()),_(this,_0x3aa7f4(0x1d4),new E[(_0x3aa7f4(0x18d))]('')),_(this,_0x3aa7f4(0x143),this[_0x3aa7f4(0x1d4)]['asObservable']()),_(this,_0x3aa7f4(0x206),new E[(_0x3aa7f4(0x18d))]('entered')),_(this,_0x3aa7f4(0x295),this[_0x3aa7f4(0x206)]['asObservable']()),_(this,_0x3aa7f4(0x16a),new E[(_0x3aa7f4(0x18d))](0x0)),_(this,_0x3aa7f4(0x2ec),this[_0x3aa7f4(0x16a)][_0x3aa7f4(0x32a)]()),_(this,_0x3aa7f4(0x252),new E['BehaviorSubject']('')),_(this,_0x3aa7f4(0x1cb),this[_0x3aa7f4(0x252)][_0x3aa7f4(0x32a)]()),_(this,_0x3aa7f4(0x1be),!0x1),_(this,_0x3aa7f4(0x157),new E[(_0x3aa7f4(0x18d))](_0x3aa7f4(0x2be))),_(this,_0x3aa7f4(0x198),this[_0x3aa7f4(0x157)][_0x3aa7f4(0x32a)]()),_(this,_0x3aa7f4(0x168),null),_(this,_0x3aa7f4(0x280),!0x0),_(this,_0x3aa7f4(0x147),new Map()),_(this,_0x3aa7f4(0x13a)),_(this,'_maskContainer'),_(this,_0x3aa7f4(0x1e2)),_(this,_0x3aa7f4(0x174),!0x1),(this['_messageService']=_0x9a8194,this[_0x3aa7f4(0x281)]=_0x2c4d53,this[_0x3aa7f4(0x128)]=_0x9e7322,this[_0x3aa7f4(0x12b)]=_0x2aec41);}async[_0x447489(0x1df)](_0x425787,_0x4972f3,_0x23e6cf){const _0x1f5389=_0x447489;this['_historyContainerId']=_0x4972f3,this['_canRevert']=_0x23e6cf,this[_0x1f5389(0x252)][_0x1f5389(0x1ce)](_0x425787),this[_0x1f5389(0x1be)]=!0x0;const _0x5156d0=await this[_0x1f5389(0x12b)][_0x1f5389(0x27c)](_0x425787);if(this[_0x1f5389(0x1be)]=!0x1,_0x5156d0){const {versions:_0x32d84e,lastLabel:_0x17d484,hasMore:_0x24592e,members:_0x5d7348}=_0x5156d0;_0x32d84e[_0x1f5389(0x30b)]===0x0&&_0x32d84e[_0x1f5389(0x20d)]({'unitId':_0x425787,'id':He,'startRev':0x1,'endRev':0x0,'time':Date[_0x1f5389(0x2d8)](),'user':this[_0x1f5389(0x128)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x1f5389(0x256)](_0x32d84e,_0x24592e,_0x17d484,_0x5d7348),this[_0x1f5389(0x1d4)]['next'](_0x32d84e[0x0]['id']);}else this['_status$'][_0x1f5389(0x1ce)](_0x1f5389(0x2f3));}async[_0x447489(0x2df)](){const _0x2f6ade=_0x447489;if(!this['_lastLabel']||!this[_0x2f6ade(0x280)]||this[_0x2f6ade(0x1be)])return!0x1;this[_0x2f6ade(0x1be)]=!0x0;const _0x134c8c=await this['_historyFetchService'][_0x2f6ade(0x27c)](this[_0x2f6ade(0x2de)],this[_0x2f6ade(0x168)]);if(this[_0x2f6ade(0x1be)]=!0x1,_0x134c8c){const {versions:_0x3c13b8,lastLabel:_0x1fe88d,hasMore:_0x1605ca,members:_0x572429}=_0x134c8c;this[_0x2f6ade(0x256)](_0x3c13b8,_0x1605ca,_0x1fe88d,_0x572429);}else this['_messageService'][_0x2f6ade(0x220)]({'content':this[_0x2f6ade(0x128)]['t'](_0x2f6ade(0x325)),'type':L[_0x2f6ade(0x26f)][_0x2f6ade(0x1c0)],'duration':0xbb8});return!0x0;}async['triggerLoadSheet'](_0x221f31){const _0x3c405f=_0x447489;var _0x34d32e;const _0xa99252=(_0x34d32e=this[_0x3c405f(0x2e0)][_0x3c405f(0x18e)])==null?void 0x0:_0x34d32e[_0x3c405f(0x17e)](_0x223ce5=>_0x223ce5['id']===_0x221f31),{endRev:_0x353f1d}=_0xa99252||{};_0x353f1d||_0x353f1d===0x0?(this[_0x3c405f(0x157)]['next'](_0x3c405f(0x1e8)),await this[_0x3c405f(0x12b)][_0x3c405f(0x286)](this[_0x3c405f(0x2de)],_0x353f1d),this[_0x3c405f(0x157)][_0x3c405f(0x1ce)]('loaded')):this['_status$']['next'](_0x3c405f(0x2f3));}async[_0x447489(0x22a)](_0x4ce7e6){const _0x97167=_0x447489,_0x3a5615=_0x4ce7e6?this[_0x97167(0x31c)](_0x4ce7e6):this[_0x97167(0x115)]();if(!_0x3a5615)return;const _0x36e82d=_0x3a5615[_0x97167(0x316)],_0xb82cdb=ee(_0x3a5615[_0x97167(0x237)],this['_localeService'][_0x97167(0x2e8)]());await this[_0x97167(0x281)][_0x97167(0x2dc)]({'id':_0x97167(0x165),'title':{'title':this[_0x97167(0x128)]['t'](_0x97167(0x2e7))},'children':{'title':this[_0x97167(0x128)]['t']('editHistory.panel.revertConfirmText')+':\x20('+_0xb82cdb[_0x97167(0x26e)]+'\x20'+_0xb82cdb[_0x97167(0x237)]+')'},'cancelText':this['_localeService']['t'](_0x97167(0x25a)),'confirmText':this[_0x97167(0x128)]['t'](_0x97167(0x2d6))})&&this[_0x97167(0x16a)][_0x97167(0x1ce)](_0x36e82d);}[_0x447489(0x256)](_0x52be4a,_0x4f2e16,_0x10d0a9,_0x2025c8){const _0x224ad9=_0x447489;this[_0x224ad9(0x2e0)]['next'](this[_0x224ad9(0x2e0)][_0x224ad9(0x18e)][_0x224ad9(0x1f4)](_0x52be4a)),this[_0x224ad9(0x280)]=_0x4f2e16,this['_lastLabel']=_0x10d0a9,_0x2025c8&&Object[_0x224ad9(0x183)](_0x2025c8)[_0x224ad9(0x1c1)](_0x5e0a8f=>this[_0x224ad9(0x147)]['set'](_0x5e0a8f,_0x2025c8[_0x5e0a8f]));}['getCurrentVersion'](){const _0x46e69d=_0x447489;return this['getVersion'](this[_0x46e69d(0x1d4)][_0x46e69d(0x18e)]);}[_0x447489(0x31c)](_0x1b0be7){const _0x27776c=_0x447489;var _0x1eabc7;return(_0x1eabc7=this[_0x27776c(0x2e0)][_0x27776c(0x18e)])==null?void 0x0:_0x1eabc7[_0x27776c(0x17e)](_0x4ab771=>_0x4ab771['id']===_0x1b0be7);}['getMember'](_0x432ac7){const _0xf0c0d0=_0x447489;return this['_members'][_0xf0c0d0(0x20e)](_0x432ac7);}[_0x447489(0x19c)](){const _0x52fede=_0x447489;this[_0x52fede(0x1e2)]=document[_0x52fede(0x2e4)](_0x52fede(0x17f)),this['_maskElement'][_0x52fede(0x1ca)]=_0x52fede(0x30e),this[_0x52fede(0x1e2)]['style'][_0x52fede(0x2b8)]=_0x52fede(0x1f0),this[_0x52fede(0x1e2)][_0x52fede(0x22b)][_0x52fede(0x2d2)]='0',this[_0x52fede(0x1e2)][_0x52fede(0x22b)]['left']='0',this[_0x52fede(0x1e2)][_0x52fede(0x22b)][_0x52fede(0x219)]='100%',this[_0x52fede(0x1e2)][_0x52fede(0x22b)]['height']='100%',this['_maskElement'][_0x52fede(0x22b)][_0x52fede(0x226)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x52fede(0x1e2)]['style'][_0x52fede(0x2c0)]='white',this[_0x52fede(0x1e2)][_0x52fede(0x22b)][_0x52fede(0x310)]=_0x52fede(0x25e),this['_maskElement'][_0x52fede(0x22b)][_0x52fede(0x291)]=_0x52fede(0x213),this[_0x52fede(0x1e2)][_0x52fede(0x22b)][_0x52fede(0x16f)]=_0x52fede(0x1d1),this[_0x52fede(0x1e2)][_0x52fede(0x22b)][_0x52fede(0x310)]=_0x52fede(0x321),this[_0x52fede(0x272)][_0x52fede(0x2ee)](this[_0x52fede(0x1e2)]);}['_initMaskContainer'](){const _0x5a8172=_0x447489;var _0x38aeac;const _0x5130b9=(_0x38aeac=document[_0x5a8172(0x23d)](this['_historyContainerId']))==null?void 0x0:_0x38aeac[_0x5a8172(0x130)](_0x5a8172(0x21c));_0x5130b9&&(this['_maskContainer']=_0x5130b9,this[_0x5a8172(0x19c)]());}['showMask'](){const _0x4a7611=_0x447489;this[_0x4a7611(0x272)]||this['_initMaskContainer'](),this[_0x4a7611(0x1e2)]&&(this[_0x4a7611(0x1e2)]['style'][_0x4a7611(0x310)]=_0x4a7611(0x25e));}['hideMask'](){const _0x3594aa=_0x447489;this['_maskElement']&&(this['_maskElement']['style'][_0x3594aa(0x310)]=_0x3594aa(0x321));}set[_0x447489(0x175)](_0x70110){const _0x1443c4=_0x447489;this[_0x1443c4(0x206)][_0x1443c4(0x1ce)](_0x70110);}set[_0x447489(0x179)](_0xce3eca){const _0x4d6303=_0x447489;_0xce3eca!==this['_currentVersion$'][_0x4d6303(0x18e)]&&this[_0x4d6303(0x1d4)]['next'](_0xce3eca);}get[_0x447489(0x179)](){const _0x171d6e=_0x447489;return this[_0x171d6e(0x1d4)][_0x171d6e(0x18e)];}set[_0x447489(0x2de)](_0x18f19e){const _0x546a61=_0x447489;this['_unitId$'][_0x546a61(0x1ce)](_0x18f19e);}get['unitId'](){return this['_unitId$']['value'];}get[_0x447489(0x14f)](){return this['_canRevert'];}get['loadingState'](){const _0x171f2b=_0x447489;return this[_0x171f2b(0x157)][_0x171f2b(0x18e)];}},exports['HistoryManagerService']=ke([k(0x0,S['IMessageService']),k(0x1,S[_0x447489(0x2e5)]),k(0x2,l[_0x447489(0x1a3)](l['LocaleService'])),k(0x3,l[_0x447489(0x1a3)](B))],exports[_0x447489(0x2ea)]);var b=function(){const _0x39007d=_0x447489;return b=Object[_0x39007d(0x17d)]||function(_0x37f962){const _0x6b19a3=_0x39007d;for(var _0x180e14,_0x586645=0x1,_0x1820ac=arguments[_0x6b19a3(0x30b)];_0x586645<_0x1820ac;_0x586645++){_0x180e14=arguments[_0x586645];for(var _0x5b29da in _0x180e14)Object[_0x6b19a3(0x180)]['hasOwnProperty'][_0x6b19a3(0x1c9)](_0x180e14,_0x5b29da)&&(_0x37f962[_0x5b29da]=_0x180e14[_0x5b29da]);}return _0x37f962;},b['apply'](this,arguments);},Ue=function(_0x359874,_0x5e752a){const _0x37e62c=_0x447489;var _0x5e54e4={};for(var _0x28ae88 in _0x359874)Object[_0x37e62c(0x180)][_0x37e62c(0x293)][_0x37e62c(0x1c9)](_0x359874,_0x28ae88)&&_0x5e752a[_0x37e62c(0x1fa)](_0x28ae88)<0x0&&(_0x5e54e4[_0x28ae88]=_0x359874[_0x28ae88]);if(_0x359874!=null&&typeof Object[_0x37e62c(0x2a3)]=='function'){for(var _0x1ed80f=0x0,_0x28ae88=Object[_0x37e62c(0x2a3)](_0x359874);_0x1ed80f<_0x28ae88[_0x37e62c(0x30b)];_0x1ed80f++)_0x5e752a[_0x37e62c(0x1fa)](_0x28ae88[_0x1ed80f])<0x0&&Object[_0x37e62c(0x180)][_0x37e62c(0x225)][_0x37e62c(0x1c9)](_0x359874,_0x28ae88[_0x1ed80f])&&(_0x5e54e4[_0x28ae88[_0x1ed80f]]=_0x359874[_0x28ae88[_0x1ed80f]]);}return _0x5e54e4;},X=m[_0x447489(0x17b)](function(_0x1141a6,_0x4b35a7){const _0x3fe485=_0x447489;var _0x3df134=_0x1141a6['icon'],_0x45464c=_0x1141a6['id'],_0x5596e7=_0x1141a6[_0x3fe485(0x1ca)],_0x4c0fa7=_0x1141a6['extend'],_0x47252e=Ue(_0x1141a6,[_0x3fe485(0x216),'id',_0x3fe485(0x1ca),'extend']),_0x50ca2a=_0x3fe485(0x24f)[_0x3fe485(0x1f4)](_0x45464c,'\x20')[_0x3fe485(0x1f4)](_0x5596e7||'')['trim'](),_0x17333f=m[_0x3fe485(0x1ac)]('_'['concat'](Ye()));return _e(_0x3df134,''[_0x3fe485(0x1f4)](_0x45464c),{'defIds':_0x3df134['defIds'],'idSuffix':_0x17333f[_0x3fe485(0x1d0)]},b({'ref':_0x4b35a7,'className':_0x50ca2a},_0x47252e),_0x4c0fa7);});function _e(_0x58cab6,_0x2f1ac5,_0x536c73,_0x2e2c64,_0x2f94c7){const _0x570ad6=_0x447489;return m[_0x570ad6(0x2e4)](_0x58cab6[_0x570ad6(0x251)],b(b({'key':_0x2f1ac5},je(_0x58cab6,_0x536c73,_0x2f94c7)),_0x2e2c64),(Be(_0x58cab6,_0x536c73)['children']||[])[_0x570ad6(0x2f5)](function(_0x373f33,_0x456396){const _0x57d193=_0x570ad6;return _e(_0x373f33,''['concat'](_0x2f1ac5,'-')[_0x57d193(0x1f4)](_0x58cab6[_0x57d193(0x251)],'-')[_0x57d193(0x1f4)](_0x456396),_0x536c73,void 0x0,_0x2f94c7);}));}function je(_0x27f9e8,_0x546de5,_0x332871){const _0x20cc61=_0x447489;var _0xb0884e=b({},_0x27f9e8[_0x20cc61(0x262)]);_0x332871!=null&&_0x332871[_0x20cc61(0x185)]&&_0xb0884e[_0x20cc61(0x305)]==='colorChannel1'&&(_0xb0884e['fill']=_0x332871[_0x20cc61(0x185)]),_0x27f9e8['tag']===_0x20cc61(0x2e9)&&_0xb0884e['id']&&(_0xb0884e['id']=_0xb0884e['id']+_0x546de5[_0x20cc61(0x2af)]),Object[_0x20cc61(0x29b)](_0xb0884e)[_0x20cc61(0x1c1)](function(_0x4127ef){const _0x10a534=_0x20cc61;var _0x35b1a8=_0x4127ef[0x0],_0x57acda=_0x4127ef[0x1];_0x35b1a8===_0x10a534(0x2e9)&&typeof _0x57acda==_0x10a534(0x294)&&(_0xb0884e[_0x35b1a8]=_0x57acda[_0x10a534(0x28e)](/url\(#(.*)\)/,_0x10a534(0x2fe)[_0x10a534(0x1f4)](_0x546de5[_0x10a534(0x2af)],')')));});var _0x108fb8=_0x546de5[_0x20cc61(0x118)];return!_0x108fb8||_0x108fb8[_0x20cc61(0x30b)]===0x0||(_0x27f9e8['tag']===_0x20cc61(0x217)&&_0xb0884e['xlink:href']&&(_0xb0884e[_0x20cc61(0x2c7)]=_0xb0884e['xlink:href']+_0x546de5[_0x20cc61(0x2af)]),Object['entries'](_0xb0884e)[_0x20cc61(0x1c1)](function(_0x3e5978){const _0x1deed8=_0x20cc61;var _0x398ba8=_0x3e5978[0x0],_0x1d3301=_0x3e5978[0x1];typeof _0x1d3301==_0x1deed8(0x294)&&(_0xb0884e[_0x398ba8]=_0x1d3301[_0x1deed8(0x28e)](/url\(#(.*)\)/,'url(#$1'[_0x1deed8(0x1f4)](_0x546de5[_0x1deed8(0x2af)],')')));})),_0xb0884e;}function Be(_0x55ea92,_0x5939c9){const _0x39a0d2=_0x447489;var _0xbe14b0,_0x188a99=_0x5939c9[_0x39a0d2(0x118)];return!_0x188a99||_0x188a99[_0x39a0d2(0x30b)]===0x0?_0x55ea92:_0x55ea92[_0x39a0d2(0x251)]===_0x39a0d2(0x1f8)&&(!((_0xbe14b0=_0x55ea92[_0x39a0d2(0x14a)])===null||_0xbe14b0===void 0x0)&&_0xbe14b0[_0x39a0d2(0x30b)])?b(b({},_0x55ea92),{'children':_0x55ea92[_0x39a0d2(0x14a)]['map'](function(_0x19f40e){const _0x19b5b5=_0x39a0d2;return typeof _0x19f40e['attrs']['id']=='string'&&_0x188a99&&_0x188a99[_0x19b5b5(0x14d)](_0x19f40e[_0x19b5b5(0x262)]['id'])?b(b({},_0x19f40e),{'attrs':b(b({},_0x19f40e['attrs']),{'id':_0x19f40e['attrs']['id']+_0x5939c9['idSuffix']})}):_0x19f40e;})}):_0x55ea92;}function Ye(){const _0xcb39a2=_0x447489;return Math[_0xcb39a2(0x1a7)]()[_0xcb39a2(0x230)](0x24)[_0xcb39a2(0x248)](0x2,0x8);}X[_0x447489(0x288)]=_0x447489(0x20a);var Fe={'tag':_0x447489(0x1bb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x447489(0x321),'viewBox':_0x447489(0x26a),'width':'1em','height':_0x447489(0x2cc)},'children':[{'tag':_0x447489(0x20c),'attrs':{'fill':_0x447489(0x2b6),'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'}}]},he=m['forwardRef'](function(_0xaa29ce,_0x133b32){const _0x3155e8=_0x447489;return m[_0x3155e8(0x2e4)](X,Object['assign']({},_0xaa29ce,{'id':_0x3155e8(0x238),'ref':_0x133b32,'icon':Fe}));});he[_0x447489(0x288)]=_0x447489(0x119);var We={'tag':_0x447489(0x1bb),'attrs':{'xmlns':_0x447489(0x2e3),'fill':'none','viewBox':_0x447489(0x26a),'width':_0x447489(0x2cc),'height':_0x447489(0x2cc)},'children':[{'tag':_0x447489(0x20c),'attrs':{'fill':_0x447489(0x2b2),'d':_0x447489(0x208),'fillOpacity':0.2,'fillRule':_0x447489(0x21a),'clipRule':_0x447489(0x21a)}},{'tag':'path','attrs':{'fill':_0x447489(0x2b2),'d':'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','fillRule':_0x447489(0x21a),'clipRule':_0x447489(0x21a)}}]},te=m[_0x447489(0x17b)](function(_0x115702,_0x140600){const _0x47abbb=_0x447489;return m[_0x47abbb(0x2e4)](X,Object['assign']({},_0x115702,{'id':'loading-multi-icon','ref':_0x140600,'icon':We}));});te[_0x447489(0x288)]=_0x447489(0x228);var Ae={'tag':_0x447489(0x1bb),'attrs':{'xmlns':_0x447489(0x2e3),'fill':_0x447489(0x321),'viewBox':_0x447489(0x187),'width':_0x447489(0x2cc),'height':_0x447489(0x2cc)},'children':[{'tag':'g','attrs':{'fill':_0x447489(0x2b6),'clipPath':_0x447489(0x222)},'children':[{'tag':_0x447489(0x20c),'attrs':{'d':_0x447489(0x2fd)}},{'tag':_0x447489(0x20c),'attrs':{'d':_0x447489(0x292),'fillRule':_0x447489(0x21a),'clipRule':_0x447489(0x21a)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x447489(0x116),'attrs':{'id':_0x447489(0x124)},'children':[{'tag':_0x447489(0x12c),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x447489(0x273),'rx':0x4}}]}]}],'defIds':[_0x447489(0x124)]},de=m[_0x447489(0x17b)](function(_0x3d5a34,_0x5ea530){const _0x3c8cef=_0x447489;return m[_0x3c8cef(0x2e4)](X,Object[_0x3c8cef(0x17d)]({},_0x3d5a34,{'id':'restore-icon','ref':_0x5ea530,'icon':Ae}));});de[_0x447489(0x288)]=_0x447489(0x12a);function Xe(){const _0x258260=_0x447489;var _0x4db070;const _0x30694b=S[_0x258260(0x246)](exports[_0x258260(0x2ea)]),_0x19cb6a=S[_0x258260(0x246)](l[_0x258260(0x304)]),_0x536909=m[_0x258260(0x2e2)](()=>{const _0x53cab1=_0x258260;_0x30694b['status']=A[_0x53cab1(0x178)];},[_0x30694b]),_0x1860a6=m['useCallback'](()=>{const _0x1b3a97=_0x258260;_0x30694b[_0x1b3a97(0x22a)]();},[_0x30694b]),_0x3f89a9=S[_0x258260(0x2bd)](_0x30694b[_0x258260(0x143)]),_0xc91d3e=S['useObservable'](_0x30694b['versions$']),_0x4558b4=_0x3f89a9===((_0x4db070=_0xc91d3e==null?void 0x0:_0xc91d3e[0x0])==null?void 0x0:_0x4db070['id']),_0x46b4ea=_0x3f89a9!==''&&!_0x4558b4&&_0x30694b[_0x258260(0x14f)];return h[_0x258260(0x1d5)](_0x258260(0x17f),{'className':_0x258260(0x2f7),'children':[h[_0x258260(0x158)]('div',{'onClick':_0x536909,'className':_0x258260(0x24c),'children':h['jsx'](he,{'className':_0x258260(0x173)})}),h['jsx'](_0x258260(0x17f),{'className':_0x258260(0x162),'children':_0x46b4ea&&h[_0x258260(0x158)](L[_0x258260(0x13d)],{'variant':_0x258260(0x253),'onClick':_0x1860a6,'children':_0x19cb6a['t'](_0x258260(0x1fd))})})]});}var Ge=Object[_0x447489(0x242)],qe=(_0x50485a,_0x5a5efe,_0x33c868,_0x1d4fc6)=>{const _0xfb5fe2=_0x447489;for(var _0x1d1340=_0x1d4fc6>0x1?void 0x0:_0x1d4fc6?Ge(_0x5a5efe,_0x33c868):_0x5a5efe,_0x3f704f=_0x50485a[_0xfb5fe2(0x30b)]-0x1,_0xde5750;_0x3f704f>=0x0;_0x3f704f--)(_0xde5750=_0x50485a[_0x3f704f])&&(_0x1d1340=_0xde5750(_0x1d1340)||_0x1d1340);return _0x1d1340;},w=(_0x40c922,_0x1219d6)=>(_0xd563aa,_0x110c2f)=>_0x1219d6(_0xd563aa,_0x110c2f,_0x40c922);let Y=class extends l[_0x447489(0x22e)]{constructor(_0x4dc2f4,_0xb7e06a,_0x50f4d7,_0x24aa6a,_0x2f1f79,_0x5df29b){const _0x207b7a=_0x447489;super(),this['_permissionService']=_0x4dc2f4,this[_0x207b7a(0x18f)]=_0xb7e06a,this['_messageService']=_0x50f4d7,this[_0x207b7a(0x128)]=_0x24aa6a,this[_0x207b7a(0x1c7)]=_0x2f1f79,this[_0x207b7a(0x31d)]=_0x5df29b,this[_0x207b7a(0x2f1)]();}['_init'](){const _0x52d3e1=_0x447489;this[_0x52d3e1(0x2cd)](this[_0x52d3e1(0x1c7)][_0x52d3e1(0x143)]['subscribe'](_0x43764d=>{const _0x34a240=_0x52d3e1;_0x43764d&&this[_0x34a240(0x1c7)][_0x34a240(0x23b)](_0x43764d);})),this[_0x52d3e1(0x2cd)](this[_0x52d3e1(0x227)]['permissionPointUpdate$'][_0x52d3e1(0x177)](_0x5bd740=>{const _0x3cb49f=_0x52d3e1,_0x1974f5=this[_0x3cb49f(0x1c7)]['unitId'];_0x1974f5&&(_0x5bd740[_0x3cb49f(0x1b1)]===D[_0x3cb49f(0x2ad)]&&_0x5bd740[_0x3cb49f(0x18e)]===!0x0&&this[_0x3cb49f(0x227)][_0x3cb49f(0x190)](new u[(_0x3cb49f(0x309))](_0x1974f5)['id'],!0x1),_0x5bd740[_0x3cb49f(0x1b1)]===D[_0x3cb49f(0x11c)]&&_0x5bd740[_0x3cb49f(0x18e)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new u[(_0x3cb49f(0x249))](_0x1974f5)['id'],!0x1),_0x5bd740[_0x3cb49f(0x1b1)]===D['MoveSheet']&&_0x5bd740[_0x3cb49f(0x18e)]===!0x0&&this['_permissionService'][_0x3cb49f(0x190)](new u[(_0x3cb49f(0x164))](_0x1974f5)['id'],!0x1),_0x5bd740[_0x3cb49f(0x1b1)]===D[_0x3cb49f(0x1ed)]&&_0x5bd740[_0x3cb49f(0x18e)]===!0x0&&this[_0x3cb49f(0x227)][_0x3cb49f(0x190)](new u[(_0x3cb49f(0x283))](_0x1974f5)['id'],!0x1),_0x5bd740['subType']===D['Comment']&&_0x5bd740['value']===!0x0&&this[_0x3cb49f(0x227)][_0x3cb49f(0x190)](new u[(_0x3cb49f(0x309))](_0x1974f5)['id'],!0x1),_0x5bd740[_0x3cb49f(0x1b1)]===D['FloatImg']&&_0x5bd740[_0x3cb49f(0x18e)]===!0x0&&this[_0x3cb49f(0x227)][_0x3cb49f(0x190)](new u[(_0x3cb49f(0x309))](_0x1974f5)['id'],!0x1));})),this[_0x52d3e1(0x2cd)](this[_0x52d3e1(0x18f)][_0x52d3e1(0x1c8)](S[_0x52d3e1(0x2ef)][_0x52d3e1(0x324)],()=>S[_0x52d3e1(0x240)](Xe,this['_injector']))),this[_0x52d3e1(0x2cd)](this[_0x52d3e1(0x1c7)]['loadingState$'][_0x52d3e1(0x177)](_0x32b7c2=>{const _0x1e14a6=_0x52d3e1;_0x32b7c2===x[_0x1e14a6(0x26d)]&&(this[_0x1e14a6(0x1c7)][_0x1e14a6(0x1c4)](),this[_0x1e14a6(0x27b)][_0x1e14a6(0x220)]({'type':L[_0x1e14a6(0x26f)][_0x1e14a6(0x267)],'content':this[_0x1e14a6(0x128)]['t'](_0x1e14a6(0x205))})),_0x32b7c2===x['Loaded']&&this[_0x1e14a6(0x1c7)][_0x1e14a6(0x125)]();}));}};function _0x3c12(){const _0x5c9461=['UniverIcon','addSparkline','path','push','get','CreateSheet','_sheetSkeletonManagerService','createSheet','WECHAT_HAS_BEEN_BOUND','center','SetWorksheetHideMutation','SetColumnStyle','icon','use','_snapshotServerService','width','evenodd','getVpScrollXYInfoByPosToVp','.univer-app-container-content','pipe','INVITE_CODE_REQUIRED','APPLY_DUPLICATED','show','_commandService','url(#restore-icon_clip0_1247_2)','MoveRangeMutation','historyListServerUrl','propertyIsEnumerable','backgroundColor','_permissionService','LoadingMultiIcon','getCoordByCell','triggerRevert','style','getMember','YUUMI_UNABLE_LOAD_URL','Disposable','combineLatest','toString','getCellPositionByOffset','2521755XZUnnA','AddConditionalRuleMutation','INTERNAL_ERROR','_transformService','action','time','back-icon','getDialogs$','univer-h-[60px]\x20univer-flex\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5\x20univer-cursor-default','triggerLoadSheet','_initActiveSwitch','getElementById','react/jsx-runtime','ManageCollaborator','connectInjector','SetWorksheetActiveOperation','getOwnPropertyDescriptor','RecoverHistory','fetchMissingChangesets','Print','useDependency','YUUMI_ALL_TABLES_IS_INVALID','substring','WorkbookRenameSheetPermission','then','VIRTUAL_VERSION_NOW','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-w-8\x20univer-h-8\x20univer-ml-2.5\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','PY_RUNTIME_SCRIPT_ERROR','ICellEditorManagerService','univerjs-icon\x20univerjs-icon-','CONNECTOR_DATA_TOO_LARGE','tag','_unitId$','primary','switchMap','ALREADY_EXISTS','_updateVersions','univer-pl-[26px]\x20univer-text-gray-600\x20univer-text-sm\x20univer-leading-5\x20dark:!univer-text-gray-200','setDV','CreateWorksheet','editHistory.panel.cancel','@univerjs/sheets','disposeUnit','pluginName','flex','row','CHANGESET_REVISION_CONFILICT','Filter','attrs','Fragment','AddSheetSparklineMutation','CompressMutationService','registerRenderModule','Info','UNIVER_SLIDE','merge','0\x200\x2016\x2016','9114520WBFJnX','close','Loading','date','MessageType','SNAPSHOT_INVALID_SNAPSHOT','open','_maskContainer','white','add','_componentManager','SetRangeValuesMutation','CopySheet','InsertColumn','Comment','UniverNetworkPlugin','_messageService','getVersions','addProtection','UNDEFINED','COMPLETION_FINISHED','_hasMore','_confirmService','InsertSheetMutation','WorkbookHideSheetPermission','FromArray','@univerjs/sheets-conditional-formatting','loadSheet','span','displayName','UniverEditHistoryViewerPlugin','ZH_CN','DeleteColumn','DeleteRow','editHistory.panel.currentVersion','replace','_diffs','setState','justifyContent','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','hasOwnProperty','string','status$','from','419861vkITlH','UniverInstanceType','ViemRwHgtClWdt','20dOPyGD','entries','_dialogOptions$','SetRangeProtectionMutation','@univerjs/data-validation','edit-history-viewer.config','react','@univerjs-pro/sheets-sparkline','user','getOwnPropertySymbols','30eXfAEe','/universer-api/history','_getRangesByMutation','stopPropagation','onMouseMove','_initRender','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','1051525eLgdSX','editHistory.action.revertSheetPrefix','Edit','_combineRanges','idSuffix','hidden','USER_NOT_INVITED_CODE','#0B9EFB','Init','editHistory.action.revertSheetSuffix','ITransformService','currentColor','_versionDiffService','position','deleteProtection','users','onPointerMove$','HideWorksheet','useObservable','init','register','color','_httpService','split','getDataRange','loaded','_univerInstanceService','SelectProtectedCells','xlink:href','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','clear','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-[#1e222b]\x20univer-text-sm\x20univer-font-medium','IConfigService','1em','disposeWithMe','6VkVFAu','rgba(58,\x2096,\x20247,\x200.20)','focusUnit','IImageIoService','top','RevertRevisionMutation','univer-w-6\x20univer-h-6\x20univer-text-gray-400\x20univer-flex\x20univer-items-center\x20univer-justify-center','/list?length=20','editHistory.panel.confirm','SelectUnProtectedCells','now','univer-animate-spin','UNAUTHENTICATED','@univerjs-pro/collaboration-client-ui','confirm','scrollEvent$','unitId','loadMoreVersions','_versions$','UNIVER_UNKNOWN','useCallback','http://www.w3.org/2000/svg','createElement','IConfirmService','univer-h-6\x20univer-flex\x20univer-justify-between\x20univer-w-full','editHistory.panel.revertConfirm','getCurrentLocale','mask','HistoryManagerService','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','revertRevision$','mutations','append','BuiltInUIPart','MOBILE_HAS_BEEN_BOUND','_init','ICommandService','error','RemoveSheetMutation','map','ISnapshotServerService','univer-h-[50px]\x20univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-[#e5e5e5]\x20univer-cursor-default','LICENSE_EXPORT_SIZE_EXCEEDED','toStringTag','_createUnit','&lastLabel=','YUUMI_NO_CUBOID_FOR_QUESTION','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','url(#$1','UniverSheetsUIPlugin','CreateUnitMutation','RenameWorksheet','onRendered','commands','LocaleService','fill','editSheet','@univerjs/drawing','_currentVersionDiff$','WorkbookEditablePermission','Tooltip','length','syncExecuteCommand','body','history-mask','has','display','DependentOn','userId','transformSnapshotToWorkbookData','currentSkeleton$','SetNumfmtMutation','endRev','ensureVersion','ranges','View','command','recoverTime','getVersion','_injector','@univerjs/sheets-filter','ViewFilter','ViewHistory','none','APPLY_REVISION_CONFILICT','EditExtraObject','HEADER','editHistory.panel.listFetchError','Delete','getConfig','filter','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','asObservable','Sort','SetWorksheetStyle','_diffRangesMap','getCurrentVersion','clipPath','@univerjs-pro/collaboration-client','defIds','BackIcon','skeleton','memberId','RenameSheet','ReorderRangeMutation','INVALID_INVITE_CODE','UNIVER_SHEET','_compressMutationService','INVALID_ARGUMENT','univer-m-auto\x20univer-animate-spin','rule','restore-icon_clip0_1247_2','hideMask','flat','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-text-gray-600\x20univer-text-sm\x20dark:!univer-text-gray-200','_localeService','AddDataValidationMutation','RestoreIcon','_historyFetchService','rect','RemoveNumfmtMutation','startRevision','Vector2','querySelector','cellValue','fetchThroughInterceptors','_cellEditorManagerService','univer-ml-2\x20univer-px-1.5\x20univer-h-5\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-primary-600\x20univer-text-xs\x20univer-border\x20univer-border-primary-600\x20univer-rounded\x20univer-bg-primary-50','InsertRow','getUnitId','@univerjs/ui','YUUMI_TABLE_NOT_FOUND_IN_UNIT','params','_historyContainerId','blockMeta','createUnit','Button','History','editHistory.panel.unknownUser','@univerjs/sheets-ui','EditWorksheetCell','column','currentVersion$','Export','range','ComponentManager','_members','rxjs','SetCellStyle','children','Loaded','_config','includes','LocaleType','canRevert','rules','startColumn','1504578WicoBQ','bottom','active','SnapshotServerOverHTTPService','findAllRectangle','_loadingState$','jsx','forValue','setCF','isTransformMutationsSuccess','editHistory.action.etc','getHours','LOGIN_FAILED','dispose','INVITE_CODE_HAS_BEEN_UES','DeleteSheet','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-justify-center','code','WorkbookMoveSheetPermission','confirm-revert-revision','_context','DeleteWorksheetProtectionMutation','_lastLabel','APPLY_PERMISSION_DENIED','_revertRevision$','values','_updateDiffMarks','@univerjs/core','HTTPService','zIndex','startRow','516849vtgqjM','currentVersionDiff$','univer-text-2xl','_canRevert','status','versions','subscribe','Exited','currentVersion','AddRangeProtectionMutation','forwardRef','univer-mx-[-20px]\x20univer-overflow-hidden','assign','find','div','prototype','entered','_sidebarService','keys','reduce','colorChannel1','workbook','0\x200\x2016\x2017','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNRECOGNIZED','parseProtocolChangeset','NOT_FOUND','MoveColsMutation','BehaviorSubject','value','_uiPartsService','updatePermissionPoint','CreatePermissionObject','322189xKyMQJ','_removeDiffMarks','closeAll','createTime','some','IRenderManagerService','loadingState$','_configService','Injector','YUUMI_SUBSCRIPTION_NOT_FOUND','_createMask','_openPanel','YUUMI_URL_COL_OUT_OF_RANGE','Subject','isArray','name','PivotTable','Inject','all','COMPRESS_MUTATION_APPLY','DeleteRangeProtectionMutation','random','sheetId','YUUMI_ASYNCIO_CANCELLED','dateString','DeleteWorksheet','useRef','IUniverInstanceService','endColumn','removeSheet','revertSheet','subType','IPermissionService','TOO_MANY_REQUESTS','ENSURE_SNAPSHOT_EXECUTION','_initPanel','RwHgtClWdt','_workbookDataCache','toISOString','_sidebarDisposable','rev','svg','setFrozen','endRow','_fetching','setFilter','Error','forEach','_transformMutationByOrder','parse','showMask','MoveWorksheet','padStart','_historyManagerService','registerComponent','call','className','unitId$','versions$','SheetCollabCursorShape','next','_getSheetObject','current','1000','SHEET_VIEWPORT_KEY','getCurrentUnitForType','_currentVersion$','jsxs','_lastPointer','getAncestorScale','univer-w-6\x20univer-h-6\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400\x20univer-rounded\x20dark:hover:!univer-bg-gray-700\x20hover:univer-bg-gray-100','SNAPSHOT_HAS_BEEN_REMOVED','InsertHyperlink','SetCellValue','_getAPIPrefix','FloatImg','SetConditionalRuleMutation','triggerLoadVersions','getDeserializedSheetBlock','Copy','_maskElement','setValue','Module','history-panel','UpdateDataValidationMutation','toDisposable','loading','set','sheet','@univerjs/engine-render','EMAIL_HAS_BEEN_BOUND','HideSheet','@univerjs/network','useState','absolute','SetSheetsFilterRangeMutation','changesets','subUnitId','concat','transformMutations','onSteady','_extractRanges','defs','PERMISSION_DENIED','indexOf','interceptor','APPLY_REJECT','editHistory.header.revert','UNIVER_PROJECT','symbol','_renderManagerService','INVITE_CODE_ALREADY_BOUND','RangeMergeUtil','MoveSheet','YUUMI_AI_RUN_FAILED','editHistory.info.loading','_status$','YUUMI_RATE_OVER_LIMIT','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','state$'];_0x3c12=function(){return _0x5c9461;};return _0x3c12();}Y=qe([w(0x0,l[_0x447489(0x1b2)]),w(0x1,S['IUIPartsService']),w(0x2,S['IMessageService']),w(0x3,l['Inject'](l['LocaleService'])),w(0x4,l['Inject'](exports[_0x447489(0x2ea)])),w(0x5,l[_0x447489(0x1a3)](l[_0x447489(0x19a)]))],Y);var Ze=Object[_0x447489(0x242)],Ke=(_0x4be5e9,_0xd2a44c,_0x5dfd9d,_0x5e13af)=>{const _0x2c3ce9=_0x447489;for(var _0x44937f=_0x5e13af>0x1?void 0x0:_0x5e13af?Ze(_0xd2a44c,_0x5dfd9d):_0xd2a44c,_0x8169a6=_0x4be5e9[_0x2c3ce9(0x30b)]-0x1,_0x362280;_0x8169a6>=0x0;_0x8169a6--)(_0x362280=_0x4be5e9[_0x8169a6])&&(_0x44937f=_0x362280(_0x44937f)||_0x44937f);return _0x44937f;},q=(_0x3c98c3,_0x375ea5)=>(_0x14810a,_0x1046b6)=>_0x375ea5(_0x14810a,_0x1046b6,_0x3c98c3);let V=class extends l[_0x447489(0x22e)]{constructor(_0x36e604,_0x4624e3,_0x35b45d){const _0x485050=_0x447489;super(),_(this,_0x485050(0x32d),new Map()),_(this,_0x485050(0x308),new E[(_0x485050(0x18d))]({'ranges':new Map(),'active':null})),_(this,'currentVersionDiff$',this['_currentVersionDiff$'][_0x485050(0x32a)]()),(this[_0x485050(0x1c7)]=_0x36e604,this[_0x485050(0x235)]=_0x4624e3,this[_0x485050(0x218)]=_0x35b45d,this[_0x485050(0x2f1)]());}[_0x447489(0x2f1)](){const _0x4d871d=_0x447489;this[_0x4d871d(0x32d)]=new Map(),this[_0x4d871d(0x2cd)](this[_0x4d871d(0x1c7)][_0x4d871d(0x1cb)][_0x4d871d(0x177)](_0x217b9f=>{const _0x73d286=_0x4d871d;_0x217b9f&&!this[_0x73d286(0x32d)][_0x73d286(0x30f)](_0x217b9f)&&this[_0x73d286(0x32d)][_0x73d286(0x1e9)](_0x217b9f,new Map());})),this['disposeWithMe'](this[_0x4d871d(0x1c7)][_0x4d871d(0x143)][_0x4d871d(0x177)](async _0x501d2a=>{const _0x52d749=_0x4d871d;var _0xcf155;_0x501d2a&&(await this[_0x52d749(0x317)](_0x501d2a),this[_0x52d749(0x308)][_0x52d749(0x1ce)](((_0xcf155=this[_0x52d749(0x32d)][_0x52d749(0x20e)](this[_0x52d749(0x1c7)][_0x52d749(0x2de)]))==null?void 0x0:_0xcf155[_0x52d749(0x20e)](_0x501d2a))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x157b93){const _0xac256a=_0x447489;var _0x4ffb73,_0x49acb7;const _0x1f7a1f=this[_0xac256a(0x1c7)]['getVersion'](_0x157b93),_0x36c2d1=this[_0xac256a(0x1c7)][_0xac256a(0x2de)];if(!_0x1f7a1f||!_0x36c2d1)return;const _0x4053a3=this['_diffRangesMap'][_0xac256a(0x20e)](_0x36c2d1);if(_0x4053a3||this['_diffRangesMap'][_0xac256a(0x1e9)](_0x36c2d1,new Map()),(_0x4ffb73=this[_0xac256a(0x32d)]['get'](_0x36c2d1))!=null&&_0x4ffb73['has'](_0x1f7a1f['id']))return;const {startRev:_0x401a45,endRev:_0x77a246}=_0x1f7a1f;if(_0x401a45===0x1){_0x4053a3['set'](_0x1f7a1f['id'],{'ranges':new Map(),'active':null});return;}const _0x8fa356=_0x401a45-0x1,_0x50ecaa=_0x77a246,_0x407edf=await this[_0xac256a(0x218)][_0xac256a(0x244)]({},{'unitID':_0x36c2d1,'from':_0x8fa356,'to':_0x50ecaa,'type':j[_0xac256a(0x11f)]});if(((_0x49acb7=_0x407edf['error'])==null?void 0x0:_0x49acb7[_0xac256a(0x163)])===W['OK']){const _0x1334b4=_0x407edf[_0xac256a(0x1f2)]['map'](N[_0xac256a(0x18a)])[_0xac256a(0x2f5)](_0x584f87=>_0x584f87[_0xac256a(0x2ed)][_0xac256a(0x2f5)](_0x5a260e=>({..._0x5a260e,'params':{..._0x5a260e[_0xac256a(0x139)],'memberId':_0x584f87['userID']}})))['flat'](),_0x391178=this[_0xac256a(0x1c2)](_0x1334b4),_0x200696=this['_getActiveSubUnitId'](_0x1334b4),_0x5abe1f=this[_0xac256a(0x1f7)](_0x391178);_0x4053a3[_0xac256a(0x1e9)](_0x1f7a1f['id'],{'ranges':_0x5abe1f,'active':_0x200696});}}[_0x447489(0x1c2)](_0x39a9a7){const _0x1881ff=_0x447489;let _0x4a4615=[];for(let _0x3a6412=0x0;_0x3a6412<_0x39a9a7[_0x1881ff(0x30b)];_0x3a6412++){const _0x53c39b=_0x39a9a7[_0x3a6412];if(_0x4a4615['push'](_0x53c39b),_0x3a6412!==_0x39a9a7[_0x1881ff(0x30b)]-0x1){const _0x2be5fc=_0x39a9a7[_0x3a6412+0x1],_0x34dd7b=this[_0x1881ff(0x235)][_0x1881ff(0x1f5)](_0x4a4615,[_0x2be5fc]);N[_0x1881ff(0x15b)](_0x34dd7b)?_0x4a4615=_0x34dd7b['m1Prime']:_0x4a4615=[];}}return _0x4a4615;}['_getActiveSubUnitId'](_0x5f06e3){const _0x2fb97f=_0x447489;let _0x21476f=[];return _0x5f06e3[_0x2fb97f(0x1c1)](_0x208184=>{const _0x11d35e=_0x2fb97f;if(_0x208184['id']===u[_0x11d35e(0x282)]['id']){const _0x160c8c=_0x208184['params'];_0x21476f[_0x11d35e(0x20d)](_0x160c8c[_0x11d35e(0x1ea)]['id']);}else{if(_0x208184['id']===u[_0x11d35e(0x2f4)]['id']){const _0x573e22=_0x208184['params'];_0x21476f['length']>0x0&&(_0x21476f=_0x21476f['filter'](_0x1415b4=>_0x1415b4!==_0x573e22['subUnitId']));}else{if(_0x208184['id']===u[_0x11d35e(0x214)]['id']){const _0x254784=_0x208184[_0x11d35e(0x139)];_0x254784[_0x11d35e(0x2b0)]?_0x21476f=_0x21476f[_0x11d35e(0x328)](_0x29b3b1=>_0x29b3b1!==_0x254784['subUnitId']):_0x21476f[_0x11d35e(0x20d)](_0x254784[_0x11d35e(0x1f3)]);}else{const _0x5210af=_0x208184['params'];_0x5210af[_0x11d35e(0x1f3)]&&_0x21476f[_0x11d35e(0x20d)](_0x5210af[_0x11d35e(0x1f3)]);}}}}),_0x21476f['length']>0x0?_0x21476f[_0x21476f['length']-0x1]:null;}[_0x447489(0x1f7)](_0x339a74){const _0x2815d1=_0x447489,_0x3337c5=new Map();return _0x339a74[_0x2815d1(0x1c1)](_0x50c8f6=>{const _0x55d0ac=_0x2815d1;var _0x4c23cb,_0x32fe5c;const _0x19e3fc=(_0x4c23cb=_0x50c8f6[_0x55d0ac(0x139)])==null?void 0x0:_0x4c23cb[_0x55d0ac(0x11b)];if(_0x19e3fc){_0x3337c5['has'](_0x19e3fc)||_0x3337c5[_0x55d0ac(0x1e9)](_0x19e3fc,[]);const _0x434c48=this[_0x55d0ac(0x2a6)](_0x50c8f6);(_0x32fe5c=_0x3337c5['get'](_0x19e3fc))==null||_0x32fe5c[_0x55d0ac(0x20d)](..._0x434c48);}}),_0x3337c5[_0x2815d1(0x1c1)]((_0x493b75,_0x4efb2b)=>{const _0x369dde=_0x2815d1;_0x3337c5[_0x369dde(0x1e9)](_0x4efb2b,this[_0x369dde(0x2ae)](_0x493b75));}),_0x3337c5;}[_0x447489(0x2a6)](_0x267b9f){const _0x52e4be=_0x447489;switch(_0x267b9f['id']){case u[_0x52e4be(0x17a)]['id']:{const _0x49c536=_0x267b9f[_0x52e4be(0x139)];return _0x49c536[_0x52e4be(0x150)][_0x52e4be(0x2f5)](_0x58aa92=>_0x58aa92[_0x52e4be(0x318)]['map'](_0x47a5f6=>({'range':_0x47a5f6,'unitId':_0x49c536[_0x52e4be(0x2de)],'subUnitId':_0x49c536[_0x52e4be(0x1f3)]})))['flat']();}case u['AddWorksheetMergeMutation']['id']:{const _0x58234e=_0x267b9f[_0x52e4be(0x139)];return _0x58234e[_0x52e4be(0x318)][_0x52e4be(0x2f5)](_0x7584ff=>({'range':_0x7584ff,'unitId':_0x58234e[_0x52e4be(0x2de)],'subUnitId':_0x58234e['subUnitId']}));}case u['InsertRowMutation']['id']:{const _0x9e00e9=_0x267b9f['params'];return[{'range':_0x9e00e9['range'],'unitId':_0x9e00e9[_0x52e4be(0x2de)],'subUnitId':_0x9e00e9[_0x52e4be(0x1f3)]}];}case u['InsertColMutation']['id']:{const _0xe5feaf=_0x267b9f[_0x52e4be(0x139)];return[{'range':_0xe5feaf['range'],'unitId':_0xe5feaf['unitId'],'subUnitId':_0xe5feaf['subUnitId']}];}case u[_0x52e4be(0x223)]['id']:{const _0x164fb7=_0x267b9f[_0x52e4be(0x139)],{from:_0x563fa2,to:_0x3495b4,unitId:_0x5b7e45}=_0x164fb7;return[{'range':ae(_0x563fa2['value']),'unitId':_0x5b7e45,'subUnitId':_0x563fa2[_0x52e4be(0x1f3)]},{'range':ae(_0x3495b4[_0x52e4be(0x18e)]),'unitId':_0x5b7e45,'subUnitId':_0x3495b4[_0x52e4be(0x1f3)]}];}case u['MoveRowsMutation']['id']:{const _0x255681=_0x267b9f['params'],{unitId:_0x3d5430,subUnitId:_0x23fe58,sourceRange:_0x58396b,targetRange:_0x278af9}=_0x255681,_0x4e4f52=_0x58396b[_0x52e4be(0x1bd)]-_0x58396b[_0x52e4be(0x170)]+0x1;return[{'range':_0x278af9['startRow']<=_0x58396b[_0x52e4be(0x170)]?_0x278af9:{..._0x278af9,'startRow':_0x278af9[_0x52e4be(0x170)]-_0x4e4f52,'endRow':_0x278af9[_0x52e4be(0x1bd)]-_0x4e4f52},'unitId':_0x3d5430,'subUnitId':_0x23fe58}];}case u[_0x52e4be(0x18c)]['id']:{const _0xe208e8=_0x267b9f[_0x52e4be(0x139)],{unitId:_0x589047,subUnitId:_0x569230,sourceRange:_0x4a16ae,targetRange:_0xc299a5}=_0xe208e8,_0x22a68b=_0x4a16ae['endColumn']-_0x4a16ae[_0x52e4be(0x151)]+0x1;return[{'range':_0xc299a5[_0x52e4be(0x151)]<=_0x4a16ae[_0x52e4be(0x151)]?_0xc299a5:{..._0xc299a5,'startColumn':_0xc299a5[_0x52e4be(0x151)]-_0x22a68b,'endColumn':_0xc299a5[_0x52e4be(0x1ae)]-_0x22a68b},'unitId':_0x589047,'subUnitId':_0x569230}];}case u[_0x52e4be(0x315)]['id']:{const _0x119b4c=_0x267b9f[_0x52e4be(0x139)],{values:_0x36ad8f,unitId:_0x6899f6,subUnitId:_0x281ba3}=_0x119b4c;return Object[_0x52e4be(0x16b)](_0x36ad8f)[_0x52e4be(0x2f5)](_0xa8f717=>_0xa8f717[_0x52e4be(0x318)][_0x52e4be(0x2f5)](_0x862706=>({'range':_0x862706,'unitId':_0x6899f6,'subUnitId':_0x281ba3})))[_0x52e4be(0x126)]();}case u[_0x52e4be(0x12d)]['id']:{const _0x1bf68d=_0x267b9f[_0x52e4be(0x139)],{ranges:_0x5de9f5,unitId:_0x354bab,subUnitId:_0x57ae4a}=_0x1bf68d;return _0x5de9f5[_0x52e4be(0x2f5)](_0x28b142=>({'range':_0x28b142,'unitId':_0x354bab,'subUnitId':_0x57ae4a}));}case u[_0x52e4be(0x11d)]['id']:{const _0x715711=_0x267b9f[_0x52e4be(0x139)],{unitId:_0x32f6e5,subUnitId:_0x2dc557,range:_0x5eb70a}=_0x715711;return[{'range':_0x5eb70a,'unitId':_0x32f6e5,'subUnitId':_0x2dc557}];}case u[_0x52e4be(0x29d)]['id']:{const _0x3f8c9b=_0x267b9f[_0x52e4be(0x139)];return _0x3f8c9b[_0x52e4be(0x123)][_0x52e4be(0x318)][_0x52e4be(0x2f5)](_0x5b2e5b=>({'range':_0x5b2e5b,'unitId':_0x3f8c9b[_0x52e4be(0x2de)],'subUnitId':_0x3f8c9b[_0x52e4be(0x1f3)]}));}case u[_0x52e4be(0x276)]['id']:{const _0x4c4d04=_0x267b9f[_0x52e4be(0x139)];return _0x4c4d04['cellValue']?Qe(_0x4c4d04[_0x52e4be(0x131)])['map'](_0x4d3271=>({'range':_0x4d3271,'unitId':_0x4c4d04[_0x52e4be(0x2de)],'subUnitId':_0x4c4d04[_0x52e4be(0x1f3)]})):[];}case le[_0x52e4be(0x1f1)]['id']:{const _0x65edec=_0x267b9f[_0x52e4be(0x139)];return[{'range':_0x65edec[_0x52e4be(0x145)],'unitId':_0x65edec[_0x52e4be(0x2de)],'subUnitId':_0x65edec[_0x52e4be(0x1f3)]}];}case K[_0x52e4be(0x129)]['id']:{const _0x12d7a8=_0x267b9f[_0x52e4be(0x139)];return(Array[_0x52e4be(0x1a0)](_0x12d7a8[_0x52e4be(0x123)])?_0x12d7a8['rule']:[_0x12d7a8[_0x52e4be(0x123)]])[_0x52e4be(0x2f5)](_0x4ece37=>_0x4ece37[_0x52e4be(0x318)]['map'](_0x22d116=>({'range':_0x22d116,'unitId':_0x12d7a8[_0x52e4be(0x2de)],'subUnitId':_0x12d7a8[_0x52e4be(0x1f3)]})))[_0x52e4be(0x126)]();}case Q[_0x52e4be(0x1de)]['id']:{const _0x3308eb=_0x267b9f['params'];return _0x3308eb[_0x52e4be(0x123)][_0x52e4be(0x318)][_0x52e4be(0x2f5)](_0x53b464=>({'range':_0x53b464,'unitId':_0x3308eb[_0x52e4be(0x2de)],'subUnitId':_0x3308eb[_0x52e4be(0x1f3)]}));}default:return[];}}[_0x447489(0x2ae)](_0x46c3e0){const _0x5c514b=_0x447489;if(_0x46c3e0['length']<=0x1)return _0x46c3e0;const _0x191e82=new Map();return _0x46c3e0[_0x5c514b(0x1c1)](_0x5f5a74=>{const _0xfb803a=_0x5c514b;var _0x246d6a;const {unitId:_0x2904ed,subUnitId:_0x44588e}=_0x5f5a74,_0x4f2ba1=_0x2904ed+'-'+_0x44588e;_0x191e82['has'](_0x4f2ba1)?(_0x246d6a=_0x191e82[_0xfb803a(0x20e)](_0x4f2ba1))==null||_0x246d6a[_0xfb803a(0x20d)](_0x5f5a74):_0x191e82[_0xfb803a(0x1e9)](_0x4f2ba1,[_0x5f5a74]);}),Array[_0x5c514b(0x296)](_0x191e82[_0x5c514b(0x16b)]())['map'](_0xc7b9d6=>new u[(_0x5c514b(0x202))]()[_0x5c514b(0x274)](..._0xc7b9d6[_0x5c514b(0x2f5)](_0x543e88=>_0x543e88[_0x5c514b(0x145)]))[_0x5c514b(0x269)]()[_0x5c514b(0x2f5)](_0x5913c2=>({'range':_0x5913c2,'unitId':_0xc7b9d6[0x0][_0x5c514b(0x2de)],'subUnitId':_0xc7b9d6[0x0][_0x5c514b(0x1f3)]})))[_0x5c514b(0x126)]();}};V=Ke([q(0x0,l[_0x447489(0x1a3)](exports[_0x447489(0x2ea)])),q(0x1,N[_0x447489(0x2b5)]),q(0x2,N[_0x447489(0x2f6)])],V);function ae(_0x5aaad5){const _0x338cd7=_0x447489;return new l['ObjectMatrix'](_0x5aaad5)[_0x338cd7(0x2c3)]();}function Qe(_0xbdc82f){const _0x5a49da=_0x447489,_0x48316d=new l['ObjectMatrix'](_0xbdc82f),_0x5622fb=new l['ObjectMatrix']();return _0x48316d[_0x5a49da(0x159)]((_0x12c29f,_0x45266c)=>{const _0x5252ca=_0x5a49da;_0x5622fb[_0x5252ca(0x1e3)](_0x12c29f,_0x45266c,0x1);}),u[_0x5a49da(0x156)](_0x5622fb);}var Je=Object[_0x447489(0x242)],ze=(_0x829b45,_0x53c63f,_0x5c1ecb,_0x494baf)=>{const _0x120aad=_0x447489;for(var _0x162cec=_0x494baf>0x1?void 0x0:_0x494baf?Je(_0x53c63f,_0x5c1ecb):_0x53c63f,_0x1bfcb3=_0x829b45[_0x120aad(0x30b)]-0x1,_0x45a424;_0x1bfcb3>=0x0;_0x1bfcb3--)(_0x45a424=_0x829b45[_0x1bfcb3])&&(_0x162cec=_0x45a424(_0x162cec)||_0x162cec);return _0x162cec;},P=(_0x87d7cb,_0x46522b)=>(_0xdb0964,_0x3cbce3)=>_0x46522b(_0xdb0964,_0x3cbce3,_0x87d7cb);let z=class extends l['Disposable']{constructor(_0x948759,_0xa305de,_0x42ce00,_0x4ef8b2,_0x3d72d4,_0x114a38,_0x5b0ebd){const _0x53e4fd=_0x447489;super(),_(this,_0x53e4fd(0x28f),new Set()),_(this,_0x53e4fd(0x1d6),null),(this['_context']=_0x948759,this[_0x53e4fd(0x1c7)]=_0xa305de,this[_0x53e4fd(0x2b7)]=_0x42ce00,this['_univerInstanceService']=_0x4ef8b2,this['_renderManagerService']=_0x3d72d4,this[_0x53e4fd(0x210)]=_0x114a38,this[_0x53e4fd(0x221)]=_0x5b0ebd,this[_0x53e4fd(0x2f1)]());}[_0x447489(0x2f1)](){const _0x1c2c46=_0x447489;this[_0x1c2c46(0x2a9)](),this[_0x1c2c46(0x23c)]();}[_0x447489(0x2a9)](){const _0xa25fd=_0x447489;this[_0xa25fd(0x2cd)](E[_0xa25fd(0x22f)]([this[_0xa25fd(0x1c7)]['loadingState$'],this[_0xa25fd(0x210)][_0xa25fd(0x314)]])[_0xa25fd(0x21d)](E[_0xa25fd(0x254)](([_0x1441c4,_0x596834])=>{const _0x1cbd95=_0xa25fd;if(_0x1441c4===x[_0x1cbd95(0x14b)]&&_0x596834){const _0x289ec9=_0x596834[_0x1cbd95(0x1a8)];return this[_0x1cbd95(0x2b7)][_0x1cbd95(0x172)][_0x1cbd95(0x21d)](E[_0x1cbd95(0x2f5)](_0x3ab267=>{const _0xd083b2=_0x1cbd95,_0xb6c68c=new Map();return _0x3ab267[_0xd083b2(0x318)]['forEach']((_0x231fa9,_0x237f73)=>{const _0x366499=_0xd083b2,_0x2f3e97=_0x231fa9[_0x366499(0x328)](_0x31dcbe=>_0x31dcbe[_0x366499(0x1f3)]===_0x289ec9);_0xb6c68c[_0x366499(0x1e9)](_0x237f73,_0x2f3e97);}),{'skeleton':_0x596834,'diffs':_0xb6c68c};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))[_0xa25fd(0x177)](({skeleton:_0x216647,diffs:_0x4affa5})=>{const _0x1b52fa=_0xa25fd;this[_0x1b52fa(0x193)](),_0x216647&&this['_updateDiffMarks'](_0x216647,_0x4affa5);})),this['disposeWithMe'](this[_0xa25fd(0x210)][_0xa25fd(0x314)][_0xa25fd(0x177)](_0x4e2323=>{const _0x4ca7f7=_0xa25fd;if(_0x4e2323==null)return;const {skeleton:_0x2bb18f}=_0x4e2323,{scene:_0x56a197}=this[_0x4ca7f7(0x166)];_0x56a197[_0x4ca7f7(0x2bb)]['subscribeEvent'](l['debounce'](_0xdce303=>{const _0xbfaa16=_0x4ca7f7;var _0xc5e788,_0x4d4a03;const {offsetX:_0x5891a7,offsetY:_0x3c9f0f}=_0xdce303,{x:_0x3d64ed,y:_0x2b898b}=_0x56a197['getRelativeToViewportCoord']($['Vector2'][_0xbfaa16(0x284)]([_0x5891a7,_0x3c9f0f])),{scaleX:_0x15eadb,scaleY:_0x3bfe2}=_0x56a197[_0xbfaa16(0x1d7)](),_0x295ec2=_0x56a197['getViewport']($[_0xbfaa16(0x1d2)]['VIEW_MAIN']),_0x420751=_0x56a197[_0xbfaa16(0x21b)]($[_0xbfaa16(0x12f)][_0xbfaa16(0x284)]([_0x3d64ed,_0x2b898b]),_0x295ec2),_0x2a7dea=_0x2bb18f[_0xbfaa16(0x231)](_0x5891a7,_0x3c9f0f,_0x15eadb,_0x3bfe2,_0x420751);((_0xc5e788=this[_0xbfaa16(0x1d6)])==null?void 0x0:_0xc5e788[_0xbfaa16(0x142)])===_0x2a7dea[_0xbfaa16(0x142)]&&((_0x4d4a03=this['_lastPointer'])==null?void 0x0:_0x4d4a03[_0xbfaa16(0x25f)])===_0x2a7dea[_0xbfaa16(0x25f)]||this['_diffs'][_0xbfaa16(0x1c1)](_0x5a32bb=>{const _0x316029=_0xbfaa16;_0x5a32bb[_0x316029(0x2a8)](_0x2a7dea);});},0x64));}));}['_initActiveSwitch'](){const _0x2c65b9=_0x447489;this[_0x2c65b9(0x2cd)](this[_0x2c65b9(0x1c7)]['loadingState$']['subscribe'](_0x3c6556=>{const _0xf783a4=_0x2c65b9,_0x221188=new l['DisposableCollection']();return _0x3c6556===x[_0xf783a4(0x14b)]&&(_0x221188[_0xf783a4(0x15f)](),_0x221188[_0xf783a4(0x274)](this['_versionDiffService'][_0xf783a4(0x172)][_0xf783a4(0x177)](_0x36a2d6=>{const _0x2ac1e5=_0xf783a4;_0x36a2d6[_0x2ac1e5(0x154)]&&this[_0x2ac1e5(0x221)]['executeCommand'](u[_0x2ac1e5(0x241)]['id'],{'unitId':this[_0x2ac1e5(0x166)][_0x2ac1e5(0x2de)],'subUnitId':_0x36a2d6[_0x2ac1e5(0x154)]});}))),()=>_0x221188[_0xf783a4(0x15f)]();}));}[_0x447489(0x16c)](_0xe0a04d,_0x2eac79){const _0x569bca=_0x447489;var _0x446460;const _0x5ca27c=(_0x446460=this[_0x569bca(0x210)]['getCurrent']())==null?void 0x0:_0x446460[_0x569bca(0x11a)];if(!_0x5ca27c)return;this[_0x569bca(0x28f)][_0x569bca(0x1c1)](_0x597a5d=>{_0x597a5d['makeDirty']();});const {scene:_0x35022d}=this[_0x569bca(0x166)],_0x4a75d5=Array[_0x569bca(0x296)](_0x2eac79[_0x569bca(0x183)]())['map'](_0x3c5c21=>_0x2eac79[_0x569bca(0x20e)](_0x3c5c21)['map'](_0x3ef723=>{const _0x5bccfd=_0x569bca;var _0x1de274;const {range:_0x4aa54d,subUnitId:_0x5dd592,unitId:_0x256de4}=_0x3ef723,{startColumn:_0x1f0e1b,startRow:_0x579a8c,endColumn:_0x59f602,endRow:_0x25f586}=_0x4aa54d,_0x5ccf2f=T['getCoordByCell'](_0x579a8c,_0x1f0e1b,_0x35022d,_0x5ca27c),_0x2396f7=T[_0x5bccfd(0x229)](_0x25f586,_0x59f602,_0x35022d,_0x5ca27c),{columnHeaderHeightAndMarginTop:_0x85b0c9}=_0x5ca27c,{startX:_0x12f6dc,startY:_0x3b42c2}=_0x5ccf2f,{endX:_0x57e224,endY:_0x373b1a}=_0x2396f7,_0x4315b6=_0x57e224-_0x12f6dc,_0x1c98fd=_0x373b1a-_0x3b42c2,_0x3f6818={'labelPosition':_0x3b42c2-_0x85b0c9>=0x14?_0x5bccfd(0x2d2):_0x5bccfd(0x153),'sheetID':_0x5dd592,'range':_0x4aa54d,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x5bccfd(0x2cf),'name':((_0x1de274=this[_0x5bccfd(0x1c7)][_0x5bccfd(0x22c)](_0x3c5c21))==null?void 0x0:_0x1de274[_0x5bccfd(0x1a1)])||'','selection':_0x256de4+'-'+_0x5dd592+'-'+_0x4aa54d[_0x5bccfd(0x151)]+'-'+_0x4aa54d[_0x5bccfd(0x170)]+'-'+_0x4aa54d['endColumn']+'-'+_0x4aa54d[_0x5bccfd(0x1bd)],'left':_0x12f6dc,'top':_0x3b42c2,'width':_0x4315b6,'height':_0x1c98fd,'evented':!0x1,'zIndex':0x1};return new Re[(_0x5bccfd(0x1cd))]('',_0x3f6818);}))['flat']();_0x35022d['addObjects'](_0x4a75d5,0x1),this['_diffs']=new Set(_0x4a75d5);}[_0x447489(0x193)](){const _0x2e7f97=_0x447489;var _0x14aee4;(_0x14aee4=this[_0x2e7f97(0x28f)])==null||_0x14aee4['forEach'](_0x270e65=>_0x270e65[_0x2e7f97(0x15f)]());}[_0x447489(0x1cf)](){const _0x5d0a1d=_0x447489;return T['getSheetObject'](this[_0x5d0a1d(0x2c5)],this['_renderManagerService']);}};z=ze([P(0x1,l[_0x447489(0x1a3)](exports[_0x447489(0x2ea)])),P(0x2,l[_0x447489(0x1a3)](V)),P(0x3,l['IUniverInstanceService']),P(0x4,$['IRenderManagerService']),P(0x5,l[_0x447489(0x1a3)](T['SheetSkeletonManagerService'])),P(0x6,l['ICommandService'])],z);function et(){const _0x20ae88=_0x447489,_0x5961bc=S[_0x20ae88(0x246)](exports[_0x20ae88(0x2ea)]),_0x38d457=S[_0x20ae88(0x2bd)](_0x5961bc['versions$']),[_0x3ea3df,_0x1280d9]=m[_0x20ae88(0x1ef)](!0x1),_0x584a29=Pe(_0x38d457);return _0x38d457?h['jsx']('div',{'className':_0x20ae88(0x17c),'children':h[_0x20ae88(0x1d5)]('div',{'className':_0x20ae88(0x2eb),'children':[_0x584a29['map']((_0x28cf2a,_0x2056ef)=>h[_0x20ae88(0x1d5)](m[_0x20ae88(0x263)],{'children':[h[_0x20ae88(0x158)](it,{'date':_0x28cf2a[_0x20ae88(0x1aa)]}),_0x28cf2a[_0x20ae88(0x176)][_0x20ae88(0x2f5)]((_0x766976,_0x24918e)=>h[_0x20ae88(0x158)](rt,{'index':[_0x2056ef,_0x24918e],'item':_0x766976},_0x2056ef+'-'+_0x24918e))]},_0x28cf2a['dateString'])),_0x3ea3df&&h[_0x20ae88(0x158)](tt,{})]})}):h['jsx'](st,{});}function tt(){const _0x5c23e2=_0x447489;return h[_0x5c23e2(0x158)](_0x5c23e2(0x17f),{'className':'univer-w-full\x20univer-h-[30px]\x20univer-flex\x20univer-items-center\x20univer-justify-center','children':h[_0x5c23e2(0x158)](te,{'className':_0x5c23e2(0x2d9)})});}function st(){const _0x4192b2=_0x447489;return h[_0x4192b2(0x158)](_0x4192b2(0x17f),{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':h['jsx'](_0x4192b2(0x287),{'className':'univer-text-gray-500','children':h[_0x4192b2(0x158)](te,{'className':_0x4192b2(0x122)})})});}function it(_0x25fb32){const _0x1c962c=_0x447489,_0x2adc73=S[_0x1c962c(0x246)](l[_0x1c962c(0x304)]),{date:_0x2a0e85}=_0x25fb32;return h[_0x1c962c(0x158)]('div',{'className':_0x1c962c(0x2ca),'children':J(_0x2a0e85,_0x2adc73[_0x1c962c(0x2e8)]())});}function rt(_0x309c0b){const _0x2bde2f=_0x447489,{item:_0x94bb39,index:_0x4a6621}=_0x309c0b,{time:_0x324d56,user:_0xdf6e5b}=_0x94bb39,[_0x46499e,_0x383314]=_0x4a6621,_0x75c1d2=S['useDependency'](exports[_0x2bde2f(0x2ea)]),_0x3e3e0b=S[_0x2bde2f(0x2bd)](_0x75c1d2[_0x2bde2f(0x143)],'',!0x0)===_0x94bb39['id'],_0x228c74=_0x46499e===0x0&&_0x383314===0x0,_0xba8223=!_0x228c74&&_0x75c1d2[_0x2bde2f(0x14f)],_0x2dd59c=S[_0x2bde2f(0x246)](l[_0x2bde2f(0x304)]),_0x2949f3=_0x2dd59c[_0x2bde2f(0x2e8)](),_0x1800e7=ee(_0x324d56,_0x2949f3),_0x255340=_0x2dd59c['t'](_0x2bde2f(0x28d)),_0x77a5d5=m[_0x2bde2f(0x2e2)](_0x3ecb69=>{const _0x408907=_0x2bde2f;_0x75c1d2['loadingState']!==x[_0x408907(0x26d)]&&(_0x75c1d2['currentVersion']=_0x3ecb69);},[_0x75c1d2]),_0x3208d1=m['useCallback'](_0x870a95=>{const _0x401e2b=_0x2bde2f;_0x75c1d2[_0x401e2b(0x22a)](_0x870a95);},[_0x75c1d2]);return h[_0x2bde2f(0x1d5)](_0x2bde2f(0x17f),{'className':L['clsx'](_0x2bde2f(0x23a),{'univer-bg-gray-50':_0x3e3e0b}),'onClick':()=>_0x77a5d5(_0x94bb39['id']),'children':[h[_0x2bde2f(0x1d5)](_0x2bde2f(0x17f),{'className':_0x2bde2f(0x2e6),'children':[h[_0x2bde2f(0x158)](_0x2bde2f(0x17f),{'className':_0x2bde2f(0x2d4)}),h[_0x2bde2f(0x1d5)](_0x2bde2f(0x17f),{'className':_0x2bde2f(0x127),'children':[h[_0x2bde2f(0x158)](_0x2bde2f(0x287),{'children':_0x1800e7[_0x2bde2f(0x237)]}),_0x228c74&&h[_0x2bde2f(0x158)](_0x2bde2f(0x287),{'className':_0x2bde2f(0x134),'children':_0x255340})]}),h[_0x2bde2f(0x158)](_0x2bde2f(0x17f),{'children':_0xba8223&&h[_0x2bde2f(0x158)](L[_0x2bde2f(0x30a)],{'title':_0x2dd59c['t']('editHistory.panel.revertDesc'),'children':h[_0x2bde2f(0x158)](_0x2bde2f(0x17f),{'onClick':_0x234e6e=>{const _0x2246af=_0x2bde2f;_0x234e6e[_0x2246af(0x2a7)](),_0x3208d1(_0x94bb39['id']);},'className':_0x2bde2f(0x1d8),'children':h[_0x2bde2f(0x158)](de,{})})})})]}),h['jsx'](_0x2bde2f(0x17f),{'className':_0x2bde2f(0x257),'children':Ce(_0x94bb39,_0x2dd59c)})]});}var nt=Object['getOwnPropertyDescriptor'],at=(_0x3b5bc8,_0x495703,_0x570dd2,_0x6a2722)=>{const _0x133a3b=_0x447489;for(var _0x1966af=_0x6a2722>0x1?void 0x0:_0x6a2722?nt(_0x495703,_0x570dd2):_0x495703,_0x28898e=_0x3b5bc8[_0x133a3b(0x30b)]-0x1,_0x153c73;_0x28898e>=0x0;_0x28898e--)(_0x153c73=_0x3b5bc8[_0x28898e])&&(_0x1966af=_0x153c73(_0x1966af)||_0x1966af);return _0x1966af;},H=(_0xb52b43,_0x4cdcbb)=>(_0x4bc448,_0x28f839)=>_0x4cdcbb(_0x4bc448,_0x28f839,_0xb52b43);const oe=_0x447489(0x1e5);let F=class extends l[_0x447489(0x22e)]{constructor(_0x1fe83a,_0x30a4fd,_0x5defbb,_0x27262c){const _0xafeaed=_0x447489;super(),_(this,_0xafeaed(0x1b9),null),(this[_0xafeaed(0x182)]=_0x1fe83a,this[_0xafeaed(0x275)]=_0x30a4fd,this[_0xafeaed(0x128)]=_0x5defbb,this[_0xafeaed(0x1c7)]=_0x27262c,this[_0xafeaed(0x2f1)]());}['_init'](){const _0xc67b6c=_0x447489;this[_0xc67b6c(0x1b5)](),this[_0xc67b6c(0x19d)]();}['_openPanel'](){const _0x520221=_0x447489;if(this[_0x520221(0x1b9)])return;const _0x329364={'header':{'title':this[_0x520221(0x128)]['t']('editHistory.panel.title')},'children':{'label':oe},'onClose':()=>{const _0x20c135=_0x520221;this['_sidebarDisposable']=null,this[_0x20c135(0x1c7)][_0x20c135(0x175)]=A[_0x20c135(0x178)];}};this[_0x520221(0x1b9)]=this[_0x520221(0x182)][_0x520221(0x271)]({..._0x329364});}[_0x447489(0x1b5)](){const _0x5161d4=_0x447489;this['disposeWithMe'](this[_0x5161d4(0x275)][_0x5161d4(0x2bf)](oe,et)),this['disposeWithMe'](this['_sidebarService'][_0x5161d4(0x2dd)]['pipe'](E['debounceTime'](0x64))[_0x5161d4(0x177)](_0x27d4da=>{const _0x1f0827=_0x5161d4,{target:_0x3d405e}=_0x27d4da||{};if(_0x3d405e){const {scrollTop:_0x3beae8,scrollHeight:_0x3db45e,clientHeight:_0x1edf28}=_0x3d405e;_0x3beae8+_0x1edf28>=_0x3db45e-0x5&&this[_0x1f0827(0x1c7)][_0x1f0827(0x2df)]();}}));}};F=at([H(0x0,S['ISidebarService']),H(0x1,l[_0x447489(0x1a3)](S[_0x447489(0x146)])),H(0x2,l[_0x447489(0x1a3)](l[_0x447489(0x304)])),H(0x3,l[_0x447489(0x1a3)](exports[_0x447489(0x2ea)]))],F);class ot extends l[_0x447489(0x22e)]{constructor(){const _0x15c930=_0x447489;super(),_(this,_0x15c930(0x29c),new E[(_0x15c930(0x19f))]());}[_0x447489(0x271)](){const _0x4309f7=_0x447489;return l[_0x4309f7(0x1e7)](()=>{});}[_0x447489(0x26c)](){}[_0x447489(0x194)](_0x57914f){}[_0x447489(0x239)](){const _0x23865e=_0x447489;return this[_0x23865e(0x29c)]['asObservable']();}}var ct=Object['defineProperty'],lt=Object['getOwnPropertyDescriptor'],ut=(_0x4f1c7a,_0x29ef36,_0x2982e3)=>_0x29ef36 in _0x4f1c7a?ct(_0x4f1c7a,_0x29ef36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2982e3}):_0x4f1c7a[_0x29ef36]=_0x2982e3,_t=(_0x55e040,_0x359df3,_0x844ae7,_0x2ee999)=>{for(var _0x1475d5=_0x2ee999>0x1?void 0x0:_0x2ee999?lt(_0x359df3,_0x844ae7):_0x359df3,_0x251a89=_0x55e040['length']-0x1,_0x275260;_0x251a89>=0x0;_0x251a89--)(_0x275260=_0x55e040[_0x251a89])&&(_0x1475d5=_0x275260(_0x1475d5)||_0x1475d5);return _0x1475d5;},Z=(_0x36d839,_0xb3aeca)=>(_0x26f15a,_0x3da485)=>_0xb3aeca(_0x26f15a,_0x3da485,_0x36d839),ht=(_0x29a20a,_0x1b033b,_0xd8c744)=>ut(_0x29a20a,_0x1b033b+'',_0xd8c744);const dt=_0x447489(0x2aa);exports[_0x447489(0x289)]=class extends l['Plugin']{constructor(_0x20369a=ne,_0x111f4b,_0x10ca1f,_0x87e89f){const _0xdd76c3=_0x447489;super(),this[_0xdd76c3(0x14c)]=_0x20369a,this['_injector']=_0x111f4b,this[_0xdd76c3(0x200)]=_0x10ca1f,this[_0xdd76c3(0x199)]=_0x87e89f;const {..._0x36cab6}=l[_0xdd76c3(0x269)]({},ne,this[_0xdd76c3(0x14c)]);this[_0xdd76c3(0x199)]['setConfig'](ue,_0x36cab6);}['onStarting'](){const _0x208824=_0x447489;[[exports['HistoryManagerService']],[Y],[V],[B],[F],[U],[N['ISnapshotServerService'],{'useClass':re[_0x208824(0x155)]}],[S['IDialogService'],{'useClass':ot}],[Me[_0x208824(0x2d1)],{'useClass':re['CollaborationImageIoService']}]][_0x208824(0x1c1)](_0x16d22f=>this[_0x208824(0x31d)][_0x208824(0x274)](_0x16d22f)),this['_injector'][_0x208824(0x20e)](Y);}[_0x447489(0x302)](){const _0x25d51b=_0x447489;[[z]]['forEach'](_0x46ac93=>{const _0x11f2a7=_0x3393;this[_0x11f2a7(0x2cd)](this['_renderManagerService'][_0x11f2a7(0x266)](l[_0x11f2a7(0x298)][_0x11f2a7(0x11f)],_0x46ac93));}),this[_0x25d51b(0x31d)][_0x25d51b(0x20e)](U),this['_injector'][_0x25d51b(0x20e)](F);}[_0x447489(0x1f6)](){const _0x51e54f=_0x447489;this[_0x51e54f(0x31d)]['get'](V);}},ht(exports['UniverEditHistoryViewerPlugin'],_0x447489(0x25d),dt),exports['UniverEditHistoryViewerPlugin']=_t([l[_0x447489(0x311)](T[_0x447489(0x2ff)],ce[_0x447489(0x27a)]),Z(0x1,l['Inject'](l[_0x447489(0x19a)])),Z(0x2,$[_0x447489(0x197)]),Z(0x3,l[_0x447489(0x2cb)])],exports[_0x447489(0x289)]),exports['HistoryModeStatus']=A;
|
|
1
|
+
'use strict';const _0x5c3ae5=_0x4f61;(function(_0x59a5e2,_0x6db268){const _0x3bf310=_0x4f61,_0x40e94f=_0x59a5e2();while(!![]){try{const _0x107e23=parseInt(_0x3bf310(0x21f))/0x1+parseInt(_0x3bf310(0xfe))/0x2+-parseInt(_0x3bf310(0x208))/0x3+parseInt(_0x3bf310(0x186))/0x4*(parseInt(_0x3bf310(0x169))/0x5)+parseInt(_0x3bf310(0x228))/0x6*(parseInt(_0x3bf310(0x241))/0x7)+-parseInt(_0x3bf310(0x2d9))/0x8+parseInt(_0x3bf310(0x109))/0x9*(-parseInt(_0x3bf310(0xd2))/0xa);if(_0x107e23===_0x6db268)break;else _0x40e94f['push'](_0x40e94f['shift']());}catch(_0x5aa00c){_0x40e94f['push'](_0x40e94f['shift']());}}}(_0x5c25,0xa1c40));var pe=Object[_0x5c3ae5(0x233)],Ee=(_0xbec48f,_0x3d812d,_0x42f50b)=>_0x3d812d in _0xbec48f?pe(_0xbec48f,_0x3d812d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42f50b}):_0xbec48f[_0x3d812d]=_0x42f50b,_=(_0x3be6ad,_0x5cae15,_0x2d5326)=>Ee(_0x3be6ad,typeof _0x5cae15!=_0x5c3ae5(0x10e)?_0x5cae15+'':_0x5cae15,_0x2d5326);Object[_0x5c3ae5(0x233)](exports,Symbol[_0x5c3ae5(0x15f)],{'value':'Module'});const N=require(_0x5c3ae5(0x23c)),re=require(_0x5c3ae5(0xe9)),l=require('@univerjs/core'),Me=require(_0x5c3ae5(0x2e1)),$=require(_0x5c3ae5(0x12b)),ce=require('@univerjs/network'),T=require(_0x5c3ae5(0x26b)),S=require(_0x5c3ae5(0x187)),L=require(_0x5c3ae5(0x22a)),u=require('@univerjs/sheets'),E=require(_0x5c3ae5(0x182)),K=require(_0x5c3ae5(0x1d3)),Q=require('@univerjs/sheets-conditional-formatting'),le=require(_0x5c3ae5(0xe6)),be=require('@univerjs-pro/sheets-sparkline'),h=require(_0x5c3ae5(0x18f)),m=require(_0x5c3ae5(0x11a)),Re=require(_0x5c3ae5(0x1a1)),ue=_0x5c3ae5(0x124),ne={};var Ne=Object['getOwnPropertyDescriptor'],Oe=(_0x3572a8,_0x428942,_0x3803f2,_0x30d942)=>{const _0xa9970b=_0x5c3ae5;for(var _0x17f290=_0x30d942>0x1?void 0x0:_0x30d942?Ne(_0x428942,_0x3803f2):_0x428942,_0x5bc550=_0x3572a8[_0xa9970b(0x221)]-0x1,_0x305e9e;_0x5bc550>=0x0;_0x5bc550--)(_0x305e9e=_0x3572a8[_0x5bc550])&&(_0x17f290=_0x305e9e(_0x17f290)||_0x17f290);return _0x17f290;},ye=(_0x2d21fe,_0x4d9b73)=>(_0x2fd89c,_0x2f460a)=>_0x4d9b73(_0x2fd89c,_0x2f460a,_0x2d21fe);let U=class extends l[_0x5c3ae5(0x297)]{constructor(_0x42f479){const _0x4171df=_0x5c3ae5;super(),this['_cellEditorManagerService']=_0x42f479,this[_0x4171df(0xf4)]();}[_0x5c3ae5(0xf4)](){const _0x386800=_0x5c3ae5;this[_0x386800(0x13a)](this[_0x386800(0x272)][_0x386800(0xe0)]['subscribe'](_0xa345de=>{const _0x5237f5=_0x386800;_0xa345de!=null&&_0xa345de[_0x5237f5(0x19d)]&&this['_cellEditorManagerService']['setState']({'show':!0x1});}));}};U=Oe([ye(0x0,T[_0x5c3ae5(0x1ff)])],U);var W=(_0x3636db=>(_0x3636db[_0x3636db[_0x5c3ae5(0xf1)]=0x0]='UNDEFINED',_0x3636db[_0x3636db['OK']=0x1]='OK',_0x3636db[_0x3636db['INTERNAL_ERROR']=0x2]=_0x5c3ae5(0x2c3),_0x3636db[_0x3636db[_0x5c3ae5(0xe4)]=0x3]=_0x5c3ae5(0xe4),_0x3636db[_0x3636db[_0x5c3ae5(0x196)]=0x4]='NOT_FOUND',_0x3636db[_0x3636db['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3636db[_0x3636db['ALREADY_EXISTS']=0x6]=_0x5c3ae5(0x292),_0x3636db[_0x3636db[_0x5c3ae5(0x24a)]=0x7]=_0x5c3ae5(0x24a),_0x3636db[_0x3636db[_0x5c3ae5(0xfd)]=0x8]=_0x5c3ae5(0xfd),_0x3636db[_0x3636db[_0x5c3ae5(0x224)]=0x9]=_0x5c3ae5(0x224),_0x3636db[_0x3636db['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3636db[_0x3636db['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5c3ae5(0x225),_0x3636db[_0x3636db[_0x5c3ae5(0xf3)]=0x1771]=_0x5c3ae5(0xf3),_0x3636db[_0x3636db['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5c3ae5(0x245),_0x3636db[_0x3636db[_0x5c3ae5(0x103)]=0x1773]=_0x5c3ae5(0x103),_0x3636db[_0x3636db[_0x5c3ae5(0x15b)]=0x1b59]=_0x5c3ae5(0x15b),_0x3636db[_0x3636db['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5c3ae5(0x134),_0x3636db[_0x3636db[_0x5c3ae5(0x248)]=0x1b5b]=_0x5c3ae5(0x248),_0x3636db[_0x3636db[_0x5c3ae5(0x215)]=0x1b5c]=_0x5c3ae5(0x215),_0x3636db[_0x3636db[_0x5c3ae5(0x2d6)]=0x1b5d]='APPLY_DUPLICATED',_0x3636db[_0x3636db[_0x5c3ae5(0x2b6)]=0x1f41]=_0x5c3ae5(0x2b6),_0x3636db[_0x3636db[_0x5c3ae5(0x2db)]=0x2329]=_0x5c3ae5(0x2db),_0x3636db[_0x3636db[_0x5c3ae5(0x179)]=0x232a]=_0x5c3ae5(0x179),_0x3636db[_0x3636db[_0x5c3ae5(0x222)]=0x232b]=_0x5c3ae5(0x222),_0x3636db[_0x3636db[_0x5c3ae5(0x1d4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3636db[_0x3636db[_0x5c3ae5(0x27d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3636db[_0x3636db[_0x5c3ae5(0x1c0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3636db[_0x3636db[_0x5c3ae5(0x1ca)]=0x2712]=_0x5c3ae5(0x1ca),_0x3636db[_0x3636db['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5c3ae5(0x17d),_0x3636db[_0x3636db[_0x5c3ae5(0xfc)]=0x2714]=_0x5c3ae5(0xfc),_0x3636db[_0x3636db[_0x5c3ae5(0x175)]=0x271a]=_0x5c3ae5(0x175),_0x3636db[_0x3636db[_0x5c3ae5(0x1e8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3636db[_0x3636db[_0x5c3ae5(0x2a1)]=0x271c]=_0x5c3ae5(0x2a1),_0x3636db[_0x3636db[_0x5c3ae5(0x262)]=0x271d]=_0x5c3ae5(0x262),_0x3636db[_0x3636db[_0x5c3ae5(0x18b)]=0x271e]=_0x5c3ae5(0x18b),_0x3636db[_0x3636db[_0x5c3ae5(0x1e9)]=0x271f]=_0x5c3ae5(0x1e9),_0x3636db[_0x3636db[_0x5c3ae5(0x1c7)]=0x2af9]=_0x5c3ae5(0x1c7),_0x3636db[_0x3636db['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5c3ae5(0x1a3),_0x3636db[_0x3636db[_0x5c3ae5(0x1d5)]=0x2ee2]=_0x5c3ae5(0x1d5),_0x3636db[_0x3636db[_0x5c3ae5(0x177)]=0x2ee3]=_0x5c3ae5(0x177),_0x3636db[_0x3636db[_0x5c3ae5(0x133)]=0x2ee4]=_0x5c3ae5(0x133),_0x3636db[_0x3636db[_0x5c3ae5(0x125)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3636db[_0x3636db[_0x5c3ae5(0xe5)]=0x32c9]=_0x5c3ae5(0xe5),_0x3636db[_0x3636db[_0x5c3ae5(0x26e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3636db[_0x3636db[_0x5c3ae5(0xee)]=0x32cb]=_0x5c3ae5(0xee),_0x3636db[_0x3636db[_0x5c3ae5(0x24b)]=-0x1]=_0x5c3ae5(0x24b),_0x3636db))(W||{}),j=(_0x22b671=>(_0x22b671[_0x22b671[_0x5c3ae5(0xf0)]=0x0]=_0x5c3ae5(0xf0),_0x22b671[_0x22b671[_0x5c3ae5(0x25a)]=0x1]=_0x5c3ae5(0x25a),_0x22b671[_0x22b671[_0x5c3ae5(0x1fd)]=0x2]=_0x5c3ae5(0x1fd),_0x22b671[_0x22b671['UNIVER_SLIDE']=0x3]=_0x5c3ae5(0x1b1),_0x22b671[_0x22b671[_0x5c3ae5(0x258)]=0x4]=_0x5c3ae5(0x258),_0x22b671[_0x22b671[_0x5c3ae5(0x24b)]=-0x1]=_0x5c3ae5(0x24b),_0x22b671))(j||{}),D=(_0x2f653b=>(_0x2f653b[_0x2f653b[_0x5c3ae5(0x158)]=0x0]='View',_0x2f653b[_0x2f653b[_0x5c3ae5(0x277)]=0x1]='Edit',_0x2f653b[_0x2f653b[_0x5c3ae5(0x244)]=0x2]=_0x5c3ae5(0x244),_0x2f653b[_0x2f653b[_0x5c3ae5(0x148)]=0x3]=_0x5c3ae5(0x148),_0x2f653b[_0x2f653b[_0x5c3ae5(0xe8)]=0x4]='Duplicate',_0x2f653b[_0x2f653b['Comment']=0x5]=_0x5c3ae5(0x1aa),_0x2f653b[_0x2f653b[_0x5c3ae5(0x13b)]=0x6]=_0x5c3ae5(0x13b),_0x2f653b[_0x2f653b[_0x5c3ae5(0x10d)]=0x7]=_0x5c3ae5(0x10d),_0x2f653b[_0x2f653b[_0x5c3ae5(0x102)]=0x8]='Export',_0x2f653b[_0x2f653b[_0x5c3ae5(0x234)]=0x9]=_0x5c3ae5(0x234),_0x2f653b[_0x2f653b[_0x5c3ae5(0x135)]=0xa]=_0x5c3ae5(0x135),_0x2f653b[_0x2f653b[_0x5c3ae5(0x140)]=0xb]=_0x5c3ae5(0x140),_0x2f653b[_0x2f653b[_0x5c3ae5(0x117)]=0xc]=_0x5c3ae5(0x117),_0x2f653b[_0x2f653b[_0x5c3ae5(0x193)]=0xd]='CreateWorksheet',_0x2f653b[_0x2f653b[_0x5c3ae5(0x203)]=0xe]=_0x5c3ae5(0x203),_0x2f653b[_0x2f653b['EditWorksheetCell']=0xf]=_0x5c3ae5(0x14e),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1ae)]=0x10]=_0x5c3ae5(0x1ae),_0x2f653b[_0x2f653b[_0x5c3ae5(0x268)]=0x11]='Sort',_0x2f653b[_0x2f653b[_0x5c3ae5(0x184)]=0x12]=_0x5c3ae5(0x184),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1ea)]=0x13]=_0x5c3ae5(0x1ea),_0x2f653b[_0x2f653b['FloatImg']=0x14]=_0x5c3ae5(0x1cd),_0x2f653b[_0x2f653b[_0x5c3ae5(0x137)]=0x15]=_0x5c3ae5(0x137),_0x2f653b[_0x2f653b['RwHgtClWdt']=0x16]='RwHgtClWdt',_0x2f653b[_0x2f653b[_0x5c3ae5(0x147)]=0x17]=_0x5c3ae5(0x147),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1a8)]=0x18]='ViewFilter',_0x2f653b[_0x2f653b[_0x5c3ae5(0x2de)]=0x19]='MoveSheet',_0x2f653b[_0x2f653b[_0x5c3ae5(0x1a0)]=0x1a]=_0x5c3ae5(0x1a0),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1a5)]=0x1b]=_0x5c3ae5(0x1a5),_0x2f653b[_0x2f653b[_0x5c3ae5(0xeb)]=0x1c]=_0x5c3ae5(0xeb),_0x2f653b[_0x2f653b['RenameSheet']=0x1d]=_0x5c3ae5(0x2ae),_0x2f653b[_0x2f653b['CreateSheet']=0x1e]=_0x5c3ae5(0x29b),_0x2f653b[_0x2f653b[_0x5c3ae5(0x26d)]=0x1f]=_0x5c3ae5(0x26d),_0x2f653b[_0x2f653b['SelectUnProtectedCells']=0x20]=_0x5c3ae5(0x1f8),_0x2f653b[_0x2f653b[_0x5c3ae5(0x246)]=0x21]=_0x5c3ae5(0x246),_0x2f653b[_0x2f653b[_0x5c3ae5(0x2dc)]=0x22]=_0x5c3ae5(0x2dc),_0x2f653b[_0x2f653b['SetRowStyle']=0x23]='SetRowStyle',_0x2f653b[_0x2f653b['SetColumnStyle']=0x24]=_0x5c3ae5(0x1e0),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1f2)]=0x25]='InsertRow',_0x2f653b[_0x2f653b[_0x5c3ae5(0x214)]=0x26]=_0x5c3ae5(0x214),_0x2f653b[_0x2f653b[_0x5c3ae5(0x2bc)]=0x27]='DeleteRow',_0x2f653b[_0x2f653b[_0x5c3ae5(0x139)]=0x28]=_0x5c3ae5(0x139),_0x2f653b[_0x2f653b[_0x5c3ae5(0x16b)]=0x29]=_0x5c3ae5(0x16b),_0x2f653b[_0x2f653b[_0x5c3ae5(0x1b8)]=0x2a]=_0x5c3ae5(0x1b8),_0x2f653b[_0x2f653b['RecoverHistory']=0x2b]=_0x5c3ae5(0x1f9),_0x2f653b[_0x2f653b[_0x5c3ae5(0x2a4)]=0x2c]=_0x5c3ae5(0x2a4),_0x2f653b[_0x2f653b['CreatePermissionObject']=0x2d]=_0x5c3ae5(0x200),_0x2f653b[_0x2f653b[_0x5c3ae5(0x24b)]=-0x1]='UNRECOGNIZED',_0x2f653b))(D||{});function De(_0x1e77a0){const _0x45d9e7=_0x5c3ae5;return!!(_0x1e77a0&&_0x1e77a0[_0x45d9e7(0x17b)]&&_0x1e77a0[_0x45d9e7(0x17b)]!==W['OK']&&_0x1e77a0[_0x45d9e7(0x17b)]!=='OK');}const ee=(_0x462daa,_0x26b898)=>{const _0x32baab=_0x5c3ae5;if(!_0x462daa)return{'date':'','time':''};const _0x43bd4d=new Date(_0x462daa),_0x3d61be=_0x43bd4d[_0x32baab(0x1b4)]()[_0x32baab(0x1ec)]('T')[0x0];switch(_0x26b898){case l['LocaleType']['ZH_CN']:return{'date':J(_0x3d61be,_0x26b898),'time':_0x43bd4d['getHours']()+':'+String(_0x43bd4d[_0x32baab(0x22c)]())['padStart'](0x2,'0')};default:return{'date':J(_0x3d61be,_0x26b898),'time':_0x43bd4d[_0x32baab(0x275)]()+':'+_0x43bd4d[_0x32baab(0x22c)]()};}},Ce=(_0x273c5b,_0x15637b)=>{const _0x338377=_0x5c3ae5,_0x4319cd=_0x273c5b[_0x338377(0x25c)]||_0x15637b['t'](_0x338377(0x287));if(_0x273c5b[_0x338377(0x1a6)][_0x338377(0x1be)](_0x396be0=>_0x396be0===N[_0x338377(0x2ba)]['id'])&&_0x273c5b[_0x338377(0x255)]){const _0x451859=ee(_0x273c5b[_0x338377(0x255)],_0x15637b['getCurrentLocale']()),_0x4a3114=_0x451859[_0x338377(0xce)]+'\x20'+_0x451859[_0x338377(0xed)];return _0x4319cd+'\x20'+_0x15637b['t'](_0x338377(0x250))+'\x20'+_0x4a3114+'\x20'+_0x15637b['t']('editHistory.action.revertSheetSuffix');}const _0xe517f0=we(_0x273c5b),_0x229af1=_0xe517f0[_0x338377(0x221)]===0x1?_0x15637b['t'](_0xe517f0[0x0]):''+_0x15637b['t'](_0xe517f0[0x0])+_0x15637b['t']('editHistory.action.etc');return _0x4319cd+'\x20'+_0x229af1;};function we(_0x6bb609){const _0x2417cf=_0x5c3ae5;if(_0x6bb609[_0x2417cf(0x1a6)]['length']===0x0)return[''];const _0x327543=_0x2417cf(0x118),_0x9b4728=_0x327543+_0x2417cf(0x1f0),_0x7825a9=[{'id':N[_0x2417cf(0x229)]['id'],'action':_0x327543+_0x2417cf(0x13f)},{'id':N[_0x2417cf(0x2ba)]['id'],'action':_0x327543+'revertSheet'},{'id':u['InsertSheetMutation']['id'],'action':_0x327543+'insertSheet'},{'id':u['RemoveSheetMutation']['id'],'action':_0x327543+_0x2417cf(0x145)},{'id':u[_0x2417cf(0x1ee)]['id'],'action':_0x327543+'setFrozen'},{'id':le['SetSheetsFilterRangeMutation']['id'],'action':_0x327543+_0x2417cf(0x201)},{'id':K[_0x2417cf(0x1b3)]['id'],'action':_0x327543+_0x2417cf(0x1e6)},{'id':K[_0x2417cf(0x10c)]['id'],'action':_0x327543+_0x2417cf(0x1e6)},{'id':Q[_0x2417cf(0x100)]['id'],'action':_0x327543+'setCF'},{'id':Q[_0x2417cf(0x105)]['id'],'action':_0x327543+_0x2417cf(0x276)},{'id':u[_0x2417cf(0x291)]['id'],'action':_0x327543+_0x2417cf(0x294)},{'id':u[_0x2417cf(0x24f)]['id'],'action':_0x327543+_0x2417cf(0x294)},{'id':be[_0x2417cf(0xda)]['id'],'action':_0x327543+_0x2417cf(0x2c5)},{'id':u[_0x2417cf(0x22e)]['id'],'action':_0x327543+_0x2417cf(0x130)},{'id':u[_0x2417cf(0x11c)]['id'],'action':_0x327543+_0x2417cf(0x130)}][_0x2417cf(0x20d)](_0x2acb7b=>_0x6bb609[_0x2417cf(0x1a6)]['includes'](_0x2acb7b['id']));return _0x7825a9!=null&&_0x7825a9[_0x2417cf(0x221)]?_0x7825a9[_0x2417cf(0x25f)](_0x18a0ca=>_0x18a0ca[_0x2417cf(0x176)]):[_0x9b4728];}function J(_0x4791b0,_0x4c821a){const _0x165fb9=_0x5c3ae5,[_0x461329,_0x51722d,_0x3c196c]=new Date()['toISOString']()['split']('T')[0x0][_0x165fb9(0x1ec)]('-'),[_0x497150,_0xb71ec2,_0xd4058a]=_0x4791b0['split']('-'),_0x328f16=_0x461329===_0x497150&&_0x51722d===_0xb71ec2&&_0x3c196c===_0xd4058a;let _0x164b76='',_0x78f8f5='',_0x1926e6='';switch(_0x4c821a){case l[_0x165fb9(0x126)]['ZH_CN']:return _0x328f16?'今天':(_0x164b76=_0x461329===_0x497150?'':_0x497150+'年',_0x78f8f5=_0xb71ec2+'月',_0x1926e6=_0xd4058a+'日',''+_0x164b76+_0x78f8f5+_0x1926e6);default:return _0x328f16?'Today':(_0x164b76=_0x461329===_0x497150?'':_0x497150+'-',_0x78f8f5=_0xb71ec2+'-',_0x1926e6=''+_0xd4058a,''+_0x164b76+_0x78f8f5+_0x1926e6);}}function Pe(_0x2aed60){const _0x4d43a2=_0x5c3ae5;return _0x2aed60?_0x2aed60[_0x4d43a2(0x252)]((_0x2e3e1f,_0x5775b4)=>{const _0xe2aeb4=_0x4d43a2,_0x2e3817=new Date(_0x5775b4[_0xe2aeb4(0xed)])[_0xe2aeb4(0x1b4)]()['split']('T')[0x0];return _0x2e3e1f['length']>0x0&&_0x2e3e1f[_0x2e3e1f[_0xe2aeb4(0x221)]-0x1][_0xe2aeb4(0x11d)]===_0x2e3817?_0x2e3e1f[_0x2e3e1f['length']-0x1]['versions'][_0xe2aeb4(0x27c)](_0x5775b4):_0x2e3e1f[_0xe2aeb4(0x27c)]({'dateString':_0x2e3817,'versions':[_0x5775b4]}),_0x2e3e1f;},[]):[];}var Te=Object[_0x5c3ae5(0xf7)],xe=(_0x2d1dfa,_0x181d0d,_0x2dd01c,_0x716896)=>{const _0x398d3d=_0x5c3ae5;for(var _0x26d916=_0x716896>0x1?void 0x0:_0x716896?Te(_0x181d0d,_0x2dd01c):_0x181d0d,_0x460845=_0x2d1dfa[_0x398d3d(0x221)]-0x1,_0x265b92;_0x460845>=0x0;_0x460845--)(_0x265b92=_0x2d1dfa[_0x460845])&&(_0x26d916=_0x265b92(_0x26d916)||_0x26d916);return _0x26d916;},C=(_0x16736a,_0x30d91f)=>(_0x55dcb7,_0x26f602)=>_0x30d91f(_0x55dcb7,_0x26f602,_0x16736a);const $e=_0x5c3ae5(0x1d0);let B=class extends l[_0x5c3ae5(0x297)]{constructor(_0x2ea1bf,_0x5b8922,_0x5b3ae0,_0x26ecd5,_0x30cbe2,_0x5bdedb){const _0x3cc0f5=_0x5c3ae5;super(),_(this,_0x3cc0f5(0x153),new Map()),(this[_0x3cc0f5(0x165)]=_0x2ea1bf,this[_0x3cc0f5(0x1e7)]=_0x5b8922,this[_0x3cc0f5(0x220)]=_0x5b3ae0,this['_configService']=_0x26ecd5,this['_httpService']=_0x30cbe2,this[_0x3cc0f5(0xec)]=_0x5bdedb);}[_0x5c3ae5(0x26c)](){const _0x3601d3=_0x5c3ae5;this[_0x3601d3(0x153)][_0x3601d3(0x273)](),super[_0x3601d3(0x26c)]();}async[_0x5c3ae5(0x157)](_0x55ddcf,_0x5507b){const _0x56dbb7=_0x5c3ae5,_0x4e1a5e=this['_getAPIPrefix']()+'/'+_0x55ddcf+_0x56dbb7(0x1ad)+(_0x5507b?_0x56dbb7(0x2e2)+_0x5507b:'');try{const _0x4bb894=(await this['_httpService'][_0x56dbb7(0x1c3)](_0x4e1a5e))[_0x56dbb7(0x2e0)];if(_0x4bb894&&_0x4bb894[_0x56dbb7(0x12e)]&&_0x4bb894[_0x56dbb7(0x12e)][_0x56dbb7(0x17b)]===W['OK']){const {hasMore:_0x19dfa8,lastLabel:_0x4bb113}=_0x4bb894,_0x4ab29c=Le(_0x4bb894),_0x536e2e=_0x4bb894[_0x56dbb7(0x2b2)][_0x56dbb7(0x2cc)];return{'hasMore':_0x19dfa8,'lastLabel':_0x4bb113,'versions':_0x4ab29c,'members':_0x536e2e};}}catch(_0x10744a){console[_0x56dbb7(0x12e)](_0x10744a);}return null;}[_0x5c3ae5(0x1dc)](){const _0x244c85=_0x5c3ae5;var _0x5662c9;const _0x246a30=this['_configService'][_0x244c85(0x257)](ue);return(_0x5662c9=_0x246a30==null?void 0x0:_0x246a30[_0x244c85(0x104)])!=null?_0x5662c9:$e;}async[_0x5c3ae5(0x1f1)](_0x1eae6f,_0x1548c9,_0x246bfa){const _0x14069e=_0x5c3ae5;var _0x3b78ac,_0x40e9e0;_0x246bfa===void 0x0&&(_0x246bfa={}),this['_workbookDataCache'][_0x14069e(0x239)](_0x1eae6f)||this[_0x14069e(0x153)][_0x14069e(0x166)](_0x1eae6f,new Map());const {snapshot:_0x52c280,changesets:_0x107780,error:_0x278779}=await this['_snapshotServerService']['getUnitOnRev'](_0x246bfa,{'unitID':_0x1eae6f,'type':j[_0x14069e(0x1fd)],'revision':_0x1548c9});if(De(_0x278779)||!_0x52c280||!_0x52c280[_0x14069e(0x1f6)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x41d609=(_0x3b78ac=_0x107780==null?void 0x0:_0x107780[_0x14069e(0x221)])!=null?_0x3b78ac:0x0;if(_0x1548c9!==0x0&&_0x52c280[_0x14069e(0x264)]+_0x41d609!==_0x1548c9)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0xbeca72}=_0x52c280,_0x35a8d1=_0xbeca72['blockMeta']?Object[_0x14069e(0x10b)](_0xbeca72[_0x14069e(0x2df)])[_0x14069e(0x25f)](([_0x4ee040,_0x5dc118])=>{const _0x5376ca=_0x14069e;var _0x17df7d,_0x1f5465;return(_0x1f5465=(_0x17df7d=_0x5dc118[_0x5376ca(0x28c)])==null?void 0x0:_0x17df7d[_0x5376ca(0x25f)](_0x45a931=>_0x45a931))!=null?_0x1f5465:[];})[_0x14069e(0x2a7)]():[],_0x526c63=(await Promise[_0x14069e(0x230)](_0x35a8d1['map'](_0x456a38=>this['_snapshotServerService']['getDeserializedSheetBlock'](_0x246bfa,{'unitID':_0x1eae6f,'type':j[_0x14069e(0x1fd)],'blockID':_0x456a38})[_0x14069e(0x1b2)](_0x3693e2=>_0x3693e2['block']))))[_0x14069e(0x20d)](_0x1942b3=>!!_0x1942b3),_0x10cef2=N[_0x14069e(0x1c5)](_0x52c280,_0x526c63,_0x246bfa);return(_0x40e9e0=this['_workbookDataCache'][_0x14069e(0x1c3)](_0x1eae6f))==null||_0x40e9e0[_0x14069e(0x166)](_0x1548c9,{'workbook':_0x10cef2}),new Promise(_0x2605b4=>{const _0x38ba7f=_0x14069e,_0x229748=this[_0x38ba7f(0x1e7)][_0x38ba7f(0x269)](l['UniverInstanceType'][_0x38ba7f(0x1fd)]);_0x229748?(this[_0x38ba7f(0x1e7)]['disposeUnit'](_0x229748[_0x38ba7f(0x174)]()),setTimeout(()=>{this['_createUnit'](_0x10cef2,_0x107780),_0x2605b4(!0x0);},0x0)):(this[_0x38ba7f(0x28e)](_0x10cef2,_0x107780),_0x2605b4(!0x0));});}[_0x5c3ae5(0x28e)](_0x59e5c0,_0x3ca6cf){const _0x5a142d=_0x5c3ae5,_0x48b7cf=this[_0x5a142d(0x1e7)][_0x5a142d(0x110)](l['UniverInstanceType']['UNIVER_SHEET'],_0x59e5c0);this['_univerInstanceService'][_0x5a142d(0x16d)](_0x48b7cf[_0x5a142d(0x174)]());const _0x4254c6=this[_0x5a142d(0xec)]['interceptor'][_0x5a142d(0x1eb)](this[_0x5a142d(0xec)][_0x5a142d(0x16e)][_0x5a142d(0x12d)]()[_0x5a142d(0x1a2)]);return _0x3ca6cf==null||_0x3ca6cf['forEach'](_0x36e494=>{const _0x1c2a6b=_0x5a142d,_0x3d592b=_0x36e494[_0x1c2a6b(0x192)][_0x1c2a6b(0x25f)](_0x547a83=>({'id':_0x547a83['id'],'params':JSON[_0x1c2a6b(0x2b9)](_0x547a83[_0x1c2a6b(0x2c7)])}));({..._0x36e494,'mutations':_0x4254c6(_0x3d592b,null)||_0x3d592b}[_0x1c2a6b(0x192)]['forEach'](_0x47b0a2=>{const _0x28cac9=_0x1c2a6b;this[_0x28cac9(0x220)][_0x28cac9(0xf8)](_0x47b0a2['id'])&&this[_0x28cac9(0x220)][_0x28cac9(0x107)](_0x47b0a2['id'],_0x47b0a2[_0x28cac9(0x295)]);}));}),_0x48b7cf;}};B=xe([C(0x0,N[_0x5c3ae5(0x116)]),C(0x1,l['IUniverInstanceService']),C(0x2,l['ICommandService']),C(0x3,l['IConfigService']),C(0x4,l[_0x5c3ae5(0xe2)](ce['HTTPService'])),C(0x5,l[_0x5c3ae5(0xe2)](N[_0x5c3ae5(0x299)]))],B);function Le(_0x13b77b){const _0x10fe01=_0x5c3ae5;var _0x2e3475,_0x41b949;const _0x53ee82=[],{entities:_0x2fa732,historyIds:_0x2b5223}=_0x13b77b,{datas:_0x2a7e6c,users:_0x4cbc77}=_0x2fa732;for(const _0xffd1eb of _0x2b5223)if(_0x2a7e6c[_0xffd1eb]){const _0x587863=!!((_0x2e3475=_0x4cbc77[_0x2a7e6c[_0xffd1eb]['userId']])!=null&&_0x2e3475[_0x10fe01(0x20e)]);_0x53ee82[_0x10fe01(0x27c)]({'unitId':_0x2a7e6c[_0xffd1eb][_0x10fe01(0x237)],'user':_0x587863?'':((_0x41b949=_0x4cbc77==null?void 0x0:_0x4cbc77[_0x2a7e6c[_0xffd1eb][_0x10fe01(0x2aa)]])==null?void 0x0:_0x41b949[_0x10fe01(0x28a)])||'','isAnonymous':_0x587863,'id':_0xffd1eb,'time':_0x2a7e6c[_0xffd1eb][_0x10fe01(0x223)]?Number(_0x2a7e6c[_0xffd1eb][_0x10fe01(0x223)]):void 0x0,'commands':_0x2a7e6c[_0xffd1eb][_0x10fe01(0xdc)],'startRev':Number(_0x2a7e6c[_0xffd1eb][_0x10fe01(0x23a)]),'endRev':Number(_0x2a7e6c[_0xffd1eb][_0x10fe01(0x26a)]),'recoverTime':_0x2a7e6c[_0xffd1eb][_0x10fe01(0x255)]?Number(_0x2a7e6c[_0xffd1eb][_0x10fe01(0x255)]):void 0x0});}return _0x53ee82;}var Ve=Object[_0x5c3ae5(0xf7)],ke=(_0x2dc38c,_0x2fde8e,_0x19f985,_0x94b2ab)=>{const _0x1b2d57=_0x5c3ae5;for(var _0x4ca426=_0x94b2ab>0x1?void 0x0:_0x94b2ab?Ve(_0x2fde8e,_0x19f985):_0x2fde8e,_0x53dc82=_0x2dc38c[_0x1b2d57(0x221)]-0x1,_0xe5bfef;_0x53dc82>=0x0;_0x53dc82--)(_0xe5bfef=_0x2dc38c[_0x53dc82])&&(_0x4ca426=_0xe5bfef(_0x4ca426)||_0x4ca426);return _0x4ca426;},k=(_0x30bc17,_0x4f3079)=>(_0x54d080,_0x912feb)=>_0x4f3079(_0x54d080,_0x912feb,_0x30bc17),A=(_0x16ae63=>(_0x16ae63[_0x5c3ae5(0x191)]=_0x5c3ae5(0xe7),_0x16ae63[_0x5c3ae5(0x152)]=_0x5c3ae5(0x1c6),_0x16ae63['Error']=_0x5c3ae5(0x12e),_0x16ae63))(A||{}),x=(_0x65338d=>(_0x65338d[_0x5c3ae5(0x251)]='init',_0x65338d[_0x5c3ae5(0x10a)]='loading',_0x65338d[_0x5c3ae5(0xd4)]='loaded',_0x65338d))(x||{});const He=_0x5c3ae5(0x1e2);exports['HistoryManagerService']=class extends l[_0x5c3ae5(0x297)]{constructor(_0x2e2540,_0x523535,_0x43c0f2,_0x55a888){const _0x3efa96=_0x5c3ae5;super(),_(this,_0x3efa96(0x1e5),new E[(_0x3efa96(0x2c0))]([])),_(this,_0x3efa96(0xd1),this['_versions$'][_0x3efa96(0x19a)]()),_(this,_0x3efa96(0x253),new E[(_0x3efa96(0x2c0))]('')),_(this,_0x3efa96(0x204),this['_currentVersion$']['asObservable']()),_(this,'_status$',new E[(_0x3efa96(0x2c0))](_0x3efa96(0xe7))),_(this,_0x3efa96(0x128),this[_0x3efa96(0x1c2)][_0x3efa96(0x19a)]()),_(this,_0x3efa96(0x1b7),new E['BehaviorSubject'](0x0)),_(this,_0x3efa96(0x2c2),this['_revertRevision$'][_0x3efa96(0x19a)]()),_(this,'_unitId$',new E[(_0x3efa96(0x2c0))]('')),_(this,'unitId$',this[_0x3efa96(0x16f)][_0x3efa96(0x19a)]()),_(this,_0x3efa96(0x1d9),!0x1),_(this,'_loadingState$',new E[(_0x3efa96(0x2c0))]('init')),_(this,_0x3efa96(0x2ad),this[_0x3efa96(0x26f)][_0x3efa96(0x19a)]()),_(this,'_lastLabel',null),_(this,_0x3efa96(0x285),!0x0),_(this,'_members',new Map()),_(this,_0x3efa96(0x161)),_(this,'_maskContainer'),_(this,_0x3efa96(0x28d)),_(this,_0x3efa96(0x2e3),!0x1),(this[_0x3efa96(0x114)]=_0x2e2540,this[_0x3efa96(0xe1)]=_0x523535,this[_0x3efa96(0x2a3)]=_0x43c0f2,this[_0x3efa96(0x2d5)]=_0x55a888);}async['triggerLoadVersions'](_0x2d8458,_0x1cd4c2,_0x35007c){const _0x64381b=_0x5c3ae5;this['_historyContainerId']=_0x1cd4c2,this['_canRevert']=_0x35007c,this[_0x64381b(0x16f)][_0x64381b(0x20a)](_0x2d8458),this[_0x64381b(0x1d9)]=!0x0;const _0x3766c3=await this[_0x64381b(0x2d5)][_0x64381b(0x157)](_0x2d8458);if(this[_0x64381b(0x1d9)]=!0x1,_0x3766c3){const {versions:_0x5296b7,lastLabel:_0x139698,hasMore:_0x3deb96,members:_0x19e736}=_0x3766c3;_0x5296b7[_0x64381b(0x221)]===0x0&&_0x5296b7[_0x64381b(0x27c)]({'unitId':_0x2d8458,'id':He,'startRev':0x1,'endRev':0x0,'time':Date[_0x64381b(0xcf)](),'user':this[_0x64381b(0x2a3)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x5296b7,_0x3deb96,_0x139698,_0x19e736),this[_0x64381b(0x253)][_0x64381b(0x20a)](_0x5296b7[0x0]['id']);}else this[_0x64381b(0x1c2)][_0x64381b(0x20a)]('error');}async[_0x5c3ae5(0x19f)](){const _0x55ea19=_0x5c3ae5;if(!this[_0x55ea19(0x271)]||!this['_hasMore']||this['_fetching'])return!0x1;this[_0x55ea19(0x1d9)]=!0x0;const _0x529992=await this[_0x55ea19(0x2d5)][_0x55ea19(0x157)](this[_0x55ea19(0x237)],this[_0x55ea19(0x271)]);if(this['_fetching']=!0x1,_0x529992){const {versions:_0x23d610,lastLabel:_0x12cab1,hasMore:_0x541735,members:_0x3c47a7}=_0x529992;this[_0x55ea19(0x20c)](_0x23d610,_0x541735,_0x12cab1,_0x3c47a7);}else this[_0x55ea19(0x114)][_0x55ea19(0x19d)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':L[_0x55ea19(0x211)]['Error'],'duration':0xbb8});return!0x0;}async[_0x5c3ae5(0x16c)](_0x43c6bf){const _0x2e85e0=_0x5c3ae5;var _0x2d106f;const _0x52ad41=(_0x2d106f=this[_0x2e85e0(0x1e5)][_0x2e85e0(0x1cb)])==null?void 0x0:_0x2d106f[_0x2e85e0(0x2af)](_0x832ace=>_0x832ace['id']===_0x43c6bf),{endRev:_0x182a42}=_0x52ad41||{};_0x182a42||_0x182a42===0x0?(this[_0x2e85e0(0x26f)]['next'](_0x2e85e0(0x20f)),await this[_0x2e85e0(0x2d5)][_0x2e85e0(0x1f1)](this['unitId'],_0x182a42),this['_loadingState$'][_0x2e85e0(0x20a)](_0x2e85e0(0x216))):this[_0x2e85e0(0x1c2)][_0x2e85e0(0x20a)](_0x2e85e0(0x12e));}async[_0x5c3ae5(0x209)](_0x23e043){const _0x4467dc=_0x5c3ae5,_0xbabb73=_0x23e043?this[_0x4467dc(0x15a)](_0x23e043):this[_0x4467dc(0xd8)]();if(!_0xbabb73)return;const _0x4c79d9=_0xbabb73[_0x4467dc(0x1f3)],_0x41aef5=ee(_0xbabb73[_0x4467dc(0xed)],this[_0x4467dc(0x2a3)]['getCurrentLocale']());await this[_0x4467dc(0xe1)][_0x4467dc(0xd5)]({'id':_0x4467dc(0x1cc),'title':{'title':this[_0x4467dc(0x2a3)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x4467dc(0x2a3)]['t'](_0x4467dc(0x1b9))+_0x4467dc(0x17f)+_0x41aef5[_0x4467dc(0xce)]+'\x20'+_0x41aef5[_0x4467dc(0xed)]+')'},'cancelText':this[_0x4467dc(0x2a3)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x4467dc(0x2a3)]['t'](_0x4467dc(0x1ab))})&&this[_0x4467dc(0x1b7)][_0x4467dc(0x20a)](_0x4c79d9);}[_0x5c3ae5(0x20c)](_0x357a32,_0x1a6cc6,_0x2de24e,_0x36b851){const _0x553fab=_0x5c3ae5;this[_0x553fab(0x1e5)][_0x553fab(0x20a)](this[_0x553fab(0x1e5)]['value'][_0x553fab(0x178)](_0x357a32)),this[_0x553fab(0x285)]=_0x1a6cc6,this['_lastLabel']=_0x2de24e,_0x36b851&&Object[_0x553fab(0x280)](_0x36b851)[_0x553fab(0x2dd)](_0x4f4add=>this['_members']['set'](_0x4f4add,_0x36b851[_0x4f4add]));}[_0x5c3ae5(0xd8)](){return this['getVersion'](this['_currentVersion$']['value']);}[_0x5c3ae5(0x15a)](_0x6cacbe){const _0x445f32=_0x5c3ae5;var _0x50637d;return(_0x50637d=this['_versions$']['value'])==null?void 0x0:_0x50637d[_0x445f32(0x2af)](_0x58cea5=>_0x58cea5['id']===_0x6cacbe);}[_0x5c3ae5(0x129)](_0x5e188f){const _0x29b424=_0x5c3ae5;return this[_0x29b424(0x2a0)][_0x29b424(0x1c3)](_0x5e188f);}['_createMask'](){const _0x206a79=_0x5c3ae5;this[_0x206a79(0x28d)]=document[_0x206a79(0x290)](_0x206a79(0x14b)),this['_maskElement'][_0x206a79(0x1bb)]='history-mask',this[_0x206a79(0x28d)][_0x206a79(0x197)][_0x206a79(0x1bc)]=_0x206a79(0x21a),this[_0x206a79(0x28d)][_0x206a79(0x197)][_0x206a79(0xcc)]='0',this['_maskElement'][_0x206a79(0x197)][_0x206a79(0x170)]='0',this['_maskElement']['style'][_0x206a79(0x206)]=_0x206a79(0x144),this['_maskElement']['style'][_0x206a79(0x29e)]='100%',this['_maskElement'][_0x206a79(0x197)]['backgroundColor']=_0x206a79(0x164),this['_maskElement'][_0x206a79(0x197)]['color']=_0x206a79(0x283),this['_maskElement'][_0x206a79(0x197)]['display']=_0x206a79(0x256),this['_maskElement']['style'][_0x206a79(0x1c8)]=_0x206a79(0x171),this[_0x206a79(0x28d)][_0x206a79(0x197)]['zIndex']='1000',this[_0x206a79(0x28d)][_0x206a79(0x197)][_0x206a79(0x17c)]=_0x206a79(0x1db),this[_0x206a79(0x2c9)]['append'](this[_0x206a79(0x28d)]);}[_0x5c3ae5(0x185)](){const _0x259527=_0x5c3ae5;var _0xe04e53;const _0x959f7c=(_0xe04e53=document['getElementById'](this[_0x259527(0x161)]))==null?void 0x0:_0xe04e53[_0x259527(0x13e)](_0x259527(0x296));_0x959f7c&&(this[_0x259527(0x2c9)]=_0x959f7c,this[_0x259527(0x1c9)]());}[_0x5c3ae5(0x2a8)](){const _0x177980=_0x5c3ae5;this['_maskContainer']||this[_0x177980(0x185)](),this[_0x177980(0x28d)]&&(this[_0x177980(0x28d)]['style'][_0x177980(0x17c)]=_0x177980(0x256));}[_0x5c3ae5(0x247)](){const _0x1f3cc4=_0x5c3ae5;this[_0x1f3cc4(0x28d)]&&(this[_0x1f3cc4(0x28d)][_0x1f3cc4(0x197)]['display']=_0x1f3cc4(0x1db));}set['status'](_0xab438d){const _0x4d3f5a=_0x5c3ae5;this[_0x4d3f5a(0x1c2)][_0x4d3f5a(0x20a)](_0xab438d);}set[_0x5c3ae5(0x205)](_0x4f80ed){const _0x278b73=_0x5c3ae5;_0x4f80ed!==this['_currentVersion$'][_0x278b73(0x1cb)]&&this[_0x278b73(0x253)]['next'](_0x4f80ed);}get[_0x5c3ae5(0x205)](){const _0x100cae=_0x5c3ae5;return this['_currentVersion$'][_0x100cae(0x1cb)];}set[_0x5c3ae5(0x237)](_0x2bcc8f){const _0x2428dc=_0x5c3ae5;this[_0x2428dc(0x16f)][_0x2428dc(0x20a)](_0x2bcc8f);}get['unitId'](){const _0x5a92d7=_0x5c3ae5;return this[_0x5a92d7(0x16f)][_0x5a92d7(0x1cb)];}get['canRevert'](){const _0x40420f=_0x5c3ae5;return this[_0x40420f(0x2e3)];}get[_0x5c3ae5(0x190)](){const _0x1494e2=_0x5c3ae5;return this[_0x1494e2(0x26f)][_0x1494e2(0x1cb)];}},exports[_0x5c3ae5(0x2c6)]=ke([k(0x0,S['IMessageService']),k(0x1,S[_0x5c3ae5(0x236)]),k(0x2,l[_0x5c3ae5(0xe2)](l[_0x5c3ae5(0x2c8)])),k(0x3,l['Inject'](B))],exports[_0x5c3ae5(0x2c6)]);var b=function(){const _0x4bb319=_0x5c3ae5;return b=Object[_0x4bb319(0x1b6)]||function(_0x3eaca7){const _0x27bb04=_0x4bb319;for(var _0x610d3d,_0x25784b=0x1,_0x580f3a=arguments[_0x27bb04(0x221)];_0x25784b<_0x580f3a;_0x25784b++){_0x610d3d=arguments[_0x25784b];for(var _0x3dff2a in _0x610d3d)Object['prototype']['hasOwnProperty'][_0x27bb04(0x1cf)](_0x610d3d,_0x3dff2a)&&(_0x3eaca7[_0x3dff2a]=_0x610d3d[_0x3dff2a]);}return _0x3eaca7;},b[_0x4bb319(0xd3)](this,arguments);},Ue=function(_0x185009,_0x400ec3){const _0x141721=_0x5c3ae5;var _0x288dc8={};for(var _0x563953 in _0x185009)Object[_0x141721(0x261)][_0x141721(0x218)][_0x141721(0x1cf)](_0x185009,_0x563953)&&_0x400ec3[_0x141721(0x19e)](_0x563953)<0x0&&(_0x288dc8[_0x563953]=_0x185009[_0x563953]);if(_0x185009!=null&&typeof Object[_0x141721(0x24e)]==_0x141721(0x23f)){for(var _0x240ced=0x0,_0x563953=Object[_0x141721(0x24e)](_0x185009);_0x240ced<_0x563953[_0x141721(0x221)];_0x240ced++)_0x400ec3[_0x141721(0x19e)](_0x563953[_0x240ced])<0x0&&Object[_0x141721(0x261)][_0x141721(0x254)][_0x141721(0x1cf)](_0x185009,_0x563953[_0x240ced])&&(_0x288dc8[_0x563953[_0x240ced]]=_0x185009[_0x563953[_0x240ced]]);}return _0x288dc8;},X=m[_0x5c3ae5(0x282)](function(_0x17a18b,_0x110659){const _0x328335=_0x5c3ae5;var _0x434a82=_0x17a18b[_0x328335(0x2bf)],_0x3b2eab=_0x17a18b['id'],_0x34eede=_0x17a18b[_0x328335(0x1bb)],_0xa3ffc=_0x17a18b[_0x328335(0x1d1)],_0x38fb98=Ue(_0x17a18b,[_0x328335(0x2bf),'id',_0x328335(0x1bb),_0x328335(0x1d1)]),_0x58ec4a='univerjs-icon\x20univerjs-icon-'[_0x328335(0x178)](_0x3b2eab,'\x20')[_0x328335(0x178)](_0x34eede||'')[_0x328335(0x29f)](),_0xaeec2b=m['useRef']('_'[_0x328335(0x178)](Ye()));return _e(_0x434a82,''['concat'](_0x3b2eab),{'defIds':_0x434a82['defIds'],'idSuffix':_0xaeec2b[_0x328335(0x146)]},b({'ref':_0x110659,'className':_0x58ec4a},_0x38fb98),_0xa3ffc);});function _e(_0xe36740,_0x7e0fcc,_0x1b79c0,_0x2288e8,_0x3eb19e){const _0xdf2fee=_0x5c3ae5;return m['createElement'](_0xe36740[_0xdf2fee(0x263)],b(b({'key':_0x7e0fcc},je(_0xe36740,_0x1b79c0,_0x3eb19e)),_0x2288e8),(Be(_0xe36740,_0x1b79c0)[_0xdf2fee(0x1d2)]||[])[_0xdf2fee(0x25f)](function(_0x9a58fe,_0x553e23){const _0x1cf7ca=_0xdf2fee;return _e(_0x9a58fe,''[_0x1cf7ca(0x178)](_0x7e0fcc,'-')['concat'](_0xe36740[_0x1cf7ca(0x263)],'-')[_0x1cf7ca(0x178)](_0x553e23),_0x1b79c0,void 0x0,_0x3eb19e);}));}function je(_0x454080,_0x698080,_0x21b0f7){const _0x172ffd=_0x5c3ae5;var _0x3a0880=b({},_0x454080[_0x172ffd(0x274)]);_0x21b0f7!=null&&_0x21b0f7[_0x172ffd(0x1df)]&&_0x3a0880['fill']===_0x172ffd(0x1df)&&(_0x3a0880[_0x172ffd(0x27f)]=_0x21b0f7[_0x172ffd(0x1df)]),_0x454080[_0x172ffd(0x263)]===_0x172ffd(0x14c)&&_0x3a0880['id']&&(_0x3a0880['id']=_0x3a0880['id']+_0x698080['idSuffix']),Object[_0x172ffd(0x10b)](_0x3a0880)['forEach'](function(_0x2bb857){const _0x28c42e=_0x172ffd;var _0x2658bc=_0x2bb857[0x0],_0x4c6e2b=_0x2bb857[0x1];_0x2658bc===_0x28c42e(0x14c)&&typeof _0x4c6e2b=='string'&&(_0x3a0880[_0x2658bc]=_0x4c6e2b['replace'](/url\(#(.*)\)/,_0x28c42e(0x151)[_0x28c42e(0x178)](_0x698080['idSuffix'],')')));});var _0x3f1305=_0x698080[_0x172ffd(0x2cf)];return!_0x3f1305||_0x3f1305[_0x172ffd(0x221)]===0x0||(_0x454080[_0x172ffd(0x263)]===_0x172ffd(0x29d)&&_0x3a0880[_0x172ffd(0x2d3)]&&(_0x3a0880[_0x172ffd(0x2d3)]=_0x3a0880[_0x172ffd(0x2d3)]+_0x698080['idSuffix']),Object[_0x172ffd(0x10b)](_0x3a0880)[_0x172ffd(0x2dd)](function(_0x3e0d0e){const _0x4fedd0=_0x172ffd;var _0x2b6a0a=_0x3e0d0e[0x0],_0x194ffc=_0x3e0d0e[0x1];typeof _0x194ffc==_0x4fedd0(0x207)&&(_0x3a0880[_0x2b6a0a]=_0x194ffc['replace'](/url\(#(.*)\)/,_0x4fedd0(0x151)[_0x4fedd0(0x178)](_0x698080['idSuffix'],')')));})),_0x3a0880;}function Be(_0x44369e,_0xbaa86e){const _0x46a04d=_0x5c3ae5;var _0x207a79,_0x27330c=_0xbaa86e[_0x46a04d(0x2cf)];return!_0x27330c||_0x27330c['length']===0x0?_0x44369e:_0x44369e[_0x46a04d(0x263)]==='defs'&&(!((_0x207a79=_0x44369e['children'])===null||_0x207a79===void 0x0)&&_0x207a79[_0x46a04d(0x221)])?b(b({},_0x44369e),{'children':_0x44369e['children'][_0x46a04d(0x25f)](function(_0x527ffb){const _0x4b5db7=_0x46a04d;return typeof _0x527ffb['attrs']['id']=='string'&&_0x27330c&&_0x27330c[_0x4b5db7(0x2cb)](_0x527ffb['attrs']['id'])?b(b({},_0x527ffb),{'attrs':b(b({},_0x527ffb[_0x4b5db7(0x274)]),{'id':_0x527ffb[_0x4b5db7(0x274)]['id']+_0xbaa86e[_0x4b5db7(0x243)]})}):_0x527ffb;})}):_0x44369e;}function _0x4f61(_0xae1e7b,_0x52f5e4){const _0x5c257f=_0x5c25();return _0x4f61=function(_0x4f61fe,_0x25395e){_0x4f61fe=_0x4f61fe-0xcc;let _0x34a98c=_0x5c257f[_0x4f61fe];return _0x34a98c;},_0x4f61(_0xae1e7b,_0x52f5e4);}function Ye(){const _0xd38a1c=_0x5c3ae5;return Math[_0xd38a1c(0x298)]()[_0xd38a1c(0x136)](0x24)[_0xd38a1c(0x15d)](0x2,0x8);}X[_0x5c3ae5(0x1bf)]=_0x5c3ae5(0xd7);var Fe={'tag':_0x5c3ae5(0x1fa),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5c3ae5(0x18c),'height':'1em'},'children':[{'tag':_0x5c3ae5(0x2ce),'attrs':{'fill':_0x5c3ae5(0x119),'d':_0x5c3ae5(0x172)}}]},he=m[_0x5c3ae5(0x282)](function(_0x3940e6,_0x15e783){const _0x2ceb71=_0x5c3ae5;return m[_0x2ceb71(0x290)](X,Object[_0x2ceb71(0x1b6)]({},_0x3940e6,{'id':'back-icon','ref':_0x15e783,'icon':Fe}));});he[_0x5c3ae5(0x1bf)]=_0x5c3ae5(0x131);var We={'tag':_0x5c3ae5(0x1fa),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5c3ae5(0x1db),'viewBox':'0\x200\x2016\x2016','width':_0x5c3ae5(0x18c),'height':'1em'},'children':[{'tag':_0x5c3ae5(0x2ce),'attrs':{'fill':_0x5c3ae5(0x2ab),'d':_0x5c3ae5(0x2b4),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x5c3ae5(0x13c)}},{'tag':_0x5c3ae5(0x2ce),'attrs':{'fill':_0x5c3ae5(0x2ab),'d':'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','fillRule':_0x5c3ae5(0x13c),'clipRule':_0x5c3ae5(0x13c)}}]},te=m[_0x5c3ae5(0x282)](function(_0x5a0bce,_0x4cfa47){const _0x198e72=_0x5c3ae5;return m[_0x198e72(0x290)](X,Object['assign']({},_0x5a0bce,{'id':_0x198e72(0xfa),'ref':_0x4cfa47,'icon':We}));});te[_0x5c3ae5(0x1bf)]=_0x5c3ae5(0x18a);var Ae={'tag':_0x5c3ae5(0x1fa),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5c3ae5(0x235),'width':'1em','height':_0x5c3ae5(0x18c)},'children':[{'tag':'g','attrs':{'fill':_0x5c3ae5(0x119),'clipPath':_0x5c3ae5(0x1af)},'children':[{'tag':_0x5c3ae5(0x2ce),'attrs':{'d':_0x5c3ae5(0x199)}},{'tag':'path','attrs':{'d':_0x5c3ae5(0x149),'fillRule':_0x5c3ae5(0x13c),'clipRule':_0x5c3ae5(0x13c)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5c3ae5(0x2d0),'attrs':{'id':_0x5c3ae5(0x2c4)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x5c3ae5(0x283),'rx':0x4}}]}]}],'defIds':[_0x5c3ae5(0x2c4)]},de=m[_0x5c3ae5(0x282)](function(_0x45c3a0,_0x58ac0f){const _0x378e94=_0x5c3ae5;return m['createElement'](X,Object[_0x378e94(0x1b6)]({},_0x45c3a0,{'id':_0x378e94(0x21d),'ref':_0x58ac0f,'icon':Ae}));});de[_0x5c3ae5(0x1bf)]=_0x5c3ae5(0x1ce);function Xe(){const _0x10da8d=_0x5c3ae5;var _0xf0ae21;const _0x40e1f8=S[_0x10da8d(0x240)](exports['HistoryManagerService']),_0x370903=S[_0x10da8d(0x240)](l[_0x10da8d(0x2c8)]),_0x2447fa=m[_0x10da8d(0x113)](()=>{const _0x27e8df=_0x10da8d;_0x40e1f8[_0x27e8df(0x2a9)]=A['Exited'];},[_0x40e1f8]),_0x215975=m[_0x10da8d(0x113)](()=>{_0x40e1f8['triggerRevert']();},[_0x40e1f8]),_0x18d931=S[_0x10da8d(0x1da)](_0x40e1f8[_0x10da8d(0x204)]),_0x4c8f52=S[_0x10da8d(0x1da)](_0x40e1f8['versions$']),_0x4cadcc=_0x18d931===((_0xf0ae21=_0x4c8f52==null?void 0x0:_0x4c8f52[0x0])==null?void 0x0:_0xf0ae21['id']),_0x2324cd=_0x18d931!==''&&!_0x4cadcc&&_0x40e1f8['canRevert'];return h[_0x10da8d(0x183)](_0x10da8d(0x14b),{'className':_0x10da8d(0xea),'children':[h['jsx']('div',{'onClick':_0x2447fa,'className':_0x10da8d(0x122),'children':h[_0x10da8d(0x132)](he,{'className':_0x10da8d(0x2ac)})}),h[_0x10da8d(0x132)]('div',{'className':'univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x2324cd&&h[_0x10da8d(0x132)](L[_0x10da8d(0x22b)],{'variant':_0x10da8d(0x2e4),'onClick':_0x215975,'children':_0x370903['t'](_0x10da8d(0x11b))})})]});}var Ge=Object[_0x5c3ae5(0xf7)],qe=(_0x37f991,_0x304f1f,_0x56db0f,_0x5a6f48)=>{const _0x23d1ab=_0x5c3ae5;for(var _0x309ef9=_0x5a6f48>0x1?void 0x0:_0x5a6f48?Ge(_0x304f1f,_0x56db0f):_0x304f1f,_0x53c141=_0x37f991[_0x23d1ab(0x221)]-0x1,_0x5a0382;_0x53c141>=0x0;_0x53c141--)(_0x5a0382=_0x37f991[_0x53c141])&&(_0x309ef9=_0x5a0382(_0x309ef9)||_0x309ef9);return _0x309ef9;},w=(_0x3137fa,_0x35062b)=>(_0xab75f1,_0x34f3f0)=>_0x35062b(_0xab75f1,_0x34f3f0,_0x3137fa);let Y=class extends l[_0x5c3ae5(0x297)]{constructor(_0x52f8c1,_0x234b42,_0x4c5861,_0x14796e,_0x578c0b,_0x3eebd2){const _0x101e4e=_0x5c3ae5;super(),this['_permissionService']=_0x52f8c1,this[_0x101e4e(0x198)]=_0x234b42,this[_0x101e4e(0x114)]=_0x4c5861,this[_0x101e4e(0x2a3)]=_0x14796e,this[_0x101e4e(0x2a2)]=_0x578c0b,this[_0x101e4e(0x1fc)]=_0x3eebd2,this[_0x101e4e(0xf4)]();}[_0x5c3ae5(0xf4)](){const _0x43830e=_0x5c3ae5;this[_0x43830e(0x13a)](this['_historyManagerService']['currentVersion$']['subscribe'](_0x3a8a61=>{const _0x3cbb31=_0x43830e;_0x3a8a61&&this[_0x3cbb31(0x2a2)][_0x3cbb31(0x16c)](_0x3a8a61);})),this[_0x43830e(0x13a)](this[_0x43830e(0x2d4)]['permissionPointUpdate$']['subscribe'](_0x4b1ae3=>{const _0x1cace0=_0x43830e,_0x3af657=this[_0x1cace0(0x2a2)][_0x1cace0(0x237)];_0x3af657&&(_0x4b1ae3['subType']===D['Edit']&&_0x4b1ae3['value']===!0x0&&this[_0x1cace0(0x2d4)]['updatePermissionPoint'](new u[(_0x1cace0(0x1e3))](_0x3af657)['id'],!0x1),_0x4b1ae3[_0x1cace0(0x210)]===D[_0x1cace0(0x2ae)]&&_0x4b1ae3[_0x1cace0(0x1cb)]===!0x0&&this[_0x1cace0(0x2d4)][_0x1cace0(0x1fb)](new u[(_0x1cace0(0x281))](_0x3af657)['id'],!0x1),_0x4b1ae3[_0x1cace0(0x210)]===D[_0x1cace0(0x2de)]&&_0x4b1ae3[_0x1cace0(0x1cb)]===!0x0&&this[_0x1cace0(0x2d4)][_0x1cace0(0x1fb)](new u[(_0x1cace0(0x2b7))](_0x3af657)['id'],!0x1),_0x4b1ae3[_0x1cace0(0x210)]===D['HideSheet']&&_0x4b1ae3[_0x1cace0(0x1cb)]===!0x0&&this['_permissionService'][_0x1cace0(0x1fb)](new u[(_0x1cace0(0x1e4))](_0x3af657)['id'],!0x1),_0x4b1ae3[_0x1cace0(0x210)]===D[_0x1cace0(0x1aa)]&&_0x4b1ae3[_0x1cace0(0x1cb)]===!0x0&&this[_0x1cace0(0x2d4)][_0x1cace0(0x1fb)](new u[(_0x1cace0(0x1e3))](_0x3af657)['id'],!0x1),_0x4b1ae3[_0x1cace0(0x210)]===D[_0x1cace0(0x1cd)]&&_0x4b1ae3['value']===!0x0&&this[_0x1cace0(0x2d4)][_0x1cace0(0x1fb)](new u['WorkbookEditablePermission'](_0x3af657)['id'],!0x1));})),this[_0x43830e(0x13a)](this[_0x43830e(0x198)][_0x43830e(0x27a)](S[_0x43830e(0x121)][_0x43830e(0x1ed)],()=>S[_0x43830e(0x226)](Xe,this[_0x43830e(0x1fc)]))),this[_0x43830e(0x13a)](this[_0x43830e(0x2a2)]['loadingState$']['subscribe'](_0x19ef63=>{const _0x3177c5=_0x43830e;_0x19ef63===x[_0x3177c5(0x10a)]&&(this['_historyManagerService'][_0x3177c5(0x2a8)](),this[_0x3177c5(0x114)][_0x3177c5(0x19d)]({'type':L['MessageType'][_0x3177c5(0xef)],'content':this[_0x3177c5(0x2a3)]['t'](_0x3177c5(0xd9))})),_0x19ef63===x[_0x3177c5(0xd4)]&&this[_0x3177c5(0x2a2)][_0x3177c5(0x247)]();}));}};Y=qe([w(0x0,l[_0x5c3ae5(0x156)]),w(0x1,S[_0x5c3ae5(0x27b)]),w(0x2,S[_0x5c3ae5(0x2b1)]),w(0x3,l[_0x5c3ae5(0xe2)](l[_0x5c3ae5(0x2c8)])),w(0x4,l[_0x5c3ae5(0xe2)](exports['HistoryManagerService'])),w(0x5,l[_0x5c3ae5(0xe2)](l[_0x5c3ae5(0x20b)]))],Y);var Ze=Object[_0x5c3ae5(0xf7)],Ke=(_0x5dc03f,_0x6bcfd9,_0x137b2e,_0x5564f1)=>{const _0x4ebe62=_0x5c3ae5;for(var _0x476b66=_0x5564f1>0x1?void 0x0:_0x5564f1?Ze(_0x6bcfd9,_0x137b2e):_0x6bcfd9,_0x395940=_0x5dc03f[_0x4ebe62(0x221)]-0x1,_0x4debe2;_0x395940>=0x0;_0x395940--)(_0x4debe2=_0x5dc03f[_0x395940])&&(_0x476b66=_0x4debe2(_0x476b66)||_0x476b66);return _0x476b66;},q=(_0xb3301d,_0x463c79)=>(_0x4d10c7,_0x5af471)=>_0x463c79(_0x4d10c7,_0x5af471,_0xb3301d);let V=class extends l[_0x5c3ae5(0x297)]{constructor(_0x3b1d70,_0x574e61,_0xd3b57a){const _0x2c689f=_0x5c3ae5;super(),_(this,_0x2c689f(0x25d),new Map()),_(this,'_currentVersionDiff$',new E[(_0x2c689f(0x2c0))]({'ranges':new Map(),'active':null})),_(this,'currentVersionDiff$',this[_0x2c689f(0x23b)][_0x2c689f(0x19a)]()),(this[_0x2c689f(0x2a2)]=_0x3b1d70,this[_0x2c689f(0x232)]=_0x574e61,this[_0x2c689f(0x165)]=_0xd3b57a,this[_0x2c689f(0xf4)]());}[_0x5c3ae5(0xf4)](){const _0x236557=_0x5c3ae5;this[_0x236557(0x25d)]=new Map(),this['disposeWithMe'](this[_0x236557(0x2a2)][_0x236557(0x27e)][_0x236557(0x189)](_0x55bb63=>{const _0x1ac206=_0x236557;_0x55bb63&&!this[_0x1ac206(0x25d)]['has'](_0x55bb63)&&this['_diffRangesMap'][_0x1ac206(0x166)](_0x55bb63,new Map());})),this[_0x236557(0x13a)](this['_historyManagerService']['currentVersion$'][_0x236557(0x189)](async _0x152305=>{const _0x24cc89=_0x236557;var _0x3e1853;_0x152305&&(await this['ensureVersion'](_0x152305),this[_0x24cc89(0x23b)]['next'](((_0x3e1853=this[_0x24cc89(0x25d)][_0x24cc89(0x1c3)](this['_historyManagerService'][_0x24cc89(0x237)]))==null?void 0x0:_0x3e1853['get'](_0x152305))||{'ranges':new Map(),'active':null}));}));}async[_0x5c3ae5(0xdb)](_0x9dbd9d){const _0x48001f=_0x5c3ae5;var _0x49e406,_0x1d0a39;const _0xc09b45=this[_0x48001f(0x2a2)][_0x48001f(0x15a)](_0x9dbd9d),_0x19b6c6=this[_0x48001f(0x2a2)][_0x48001f(0x237)];if(!_0xc09b45||!_0x19b6c6)return;const _0x56abfb=this['_diffRangesMap'][_0x48001f(0x1c3)](_0x19b6c6);if(_0x56abfb||this[_0x48001f(0x25d)][_0x48001f(0x166)](_0x19b6c6,new Map()),(_0x49e406=this[_0x48001f(0x25d)][_0x48001f(0x1c3)](_0x19b6c6))!=null&&_0x49e406[_0x48001f(0x239)](_0xc09b45['id']))return;const {startRev:_0x4f8715,endRev:_0xf742d9}=_0xc09b45;if(_0x4f8715===0x1){_0x56abfb['set'](_0xc09b45['id'],{'ranges':new Map(),'active':null});return;}const _0x9a4740=_0x4f8715-0x1,_0x27ff47=_0xf742d9,_0x48b140=await this[_0x48001f(0x165)][_0x48001f(0x2b5)]({},{'unitID':_0x19b6c6,'from':_0x9a4740,'to':_0x27ff47,'type':j[_0x48001f(0x1fd)]});if(((_0x1d0a39=_0x48b140[_0x48001f(0x12e)])==null?void 0x0:_0x1d0a39[_0x48001f(0x17b)])===W['OK']){const _0x191dca=_0x48b140['changesets']['map'](N[_0x48001f(0x286)])[_0x48001f(0x25f)](_0x162d3a=>_0x162d3a[_0x48001f(0x192)][_0x48001f(0x25f)](_0x512cc8=>({..._0x512cc8,'params':{..._0x512cc8[_0x48001f(0x295)],'memberId':_0x162d3a['userID']}})))['flat'](),_0x4a3738=this[_0x48001f(0x284)](_0x191dca),_0x510502=this[_0x48001f(0x2d2)](_0x191dca),_0x15111b=this[_0x48001f(0x227)](_0x4a3738);_0x56abfb[_0x48001f(0x166)](_0xc09b45['id'],{'ranges':_0x15111b,'active':_0x510502});}}[_0x5c3ae5(0x284)](_0x454ccf){const _0x5f28ed=_0x5c3ae5;let _0x3b3bf7=[];for(let _0x26796b=0x0;_0x26796b<_0x454ccf['length'];_0x26796b++){const _0x4bc86b=_0x454ccf[_0x26796b];if(_0x3b3bf7[_0x5f28ed(0x27c)](_0x4bc86b),_0x26796b!==_0x454ccf[_0x5f28ed(0x221)]-0x1){const _0x5079dc=_0x454ccf[_0x26796b+0x1],_0x40e803=this['_transformService'][_0x5f28ed(0x28b)](_0x3b3bf7,[_0x5079dc]);N[_0x5f28ed(0x1dd)](_0x40e803)?_0x3b3bf7=_0x40e803[_0x5f28ed(0x242)]:_0x3b3bf7=[];}}return _0x3b3bf7;}[_0x5c3ae5(0x2d2)](_0x303b94){const _0x554307=_0x5c3ae5;let _0x6df7d0=[];return _0x303b94[_0x554307(0x2dd)](_0x1506c0=>{const _0x57899a=_0x554307;if(_0x1506c0['id']===u[_0x57899a(0x2be)]['id']){const _0x44a831=_0x1506c0[_0x57899a(0x295)];_0x6df7d0[_0x57899a(0x27c)](_0x44a831[_0x57899a(0x2ca)]['id']);}else{if(_0x1506c0['id']===u[_0x57899a(0x2a6)]['id']){const _0x43bc09=_0x1506c0[_0x57899a(0x295)];_0x6df7d0[_0x57899a(0x221)]>0x0&&(_0x6df7d0=_0x6df7d0[_0x57899a(0x20d)](_0x2d029f=>_0x2d029f!==_0x43bc09[_0x57899a(0x1a4)]));}else{if(_0x1506c0['id']===u['SetWorksheetHideMutation']['id']){const _0x4263cc=_0x1506c0[_0x57899a(0x295)];_0x4263cc[_0x57899a(0x278)]?_0x6df7d0=_0x6df7d0['filter'](_0x136663=>_0x136663!==_0x4263cc['subUnitId']):_0x6df7d0['push'](_0x4263cc['subUnitId']);}else{const _0x255319=_0x1506c0[_0x57899a(0x295)];_0x255319['subUnitId']&&_0x6df7d0[_0x57899a(0x27c)](_0x255319[_0x57899a(0x1a4)]);}}}}),_0x6df7d0[_0x554307(0x221)]>0x0?_0x6df7d0[_0x6df7d0[_0x554307(0x221)]-0x1]:null;}[_0x5c3ae5(0x227)](_0x1d5ecc){const _0x1f8eb8=_0x5c3ae5,_0x1e8882=new Map();return _0x1d5ecc[_0x1f8eb8(0x2dd)](_0x183775=>{const _0x5c1b85=_0x1f8eb8;var _0x378a8d,_0x4dda4d;const _0x22a5a5=(_0x378a8d=_0x183775[_0x5c1b85(0x295)])==null?void 0x0:_0x378a8d['memberId'];if(_0x22a5a5){_0x1e8882[_0x5c1b85(0x239)](_0x22a5a5)||_0x1e8882[_0x5c1b85(0x166)](_0x22a5a5,[]);const _0x325849=this[_0x5c1b85(0x2c1)](_0x183775);(_0x4dda4d=_0x1e8882[_0x5c1b85(0x1c3)](_0x22a5a5))==null||_0x4dda4d[_0x5c1b85(0x27c)](..._0x325849);}}),_0x1e8882[_0x1f8eb8(0x2dd)]((_0x91682a,_0x540193)=>{const _0x189c85=_0x1f8eb8;_0x1e8882[_0x189c85(0x166)](_0x540193,this['_combineRanges'](_0x91682a));}),_0x1e8882;}[_0x5c3ae5(0x2c1)](_0x9e80b4){const _0x5274c2=_0x5c3ae5;switch(_0x9e80b4['id']){case u[_0x5274c2(0x24f)]['id']:{const _0x481d44=_0x9e80b4[_0x5274c2(0x295)];return _0x481d44[_0x5274c2(0x288)][_0x5274c2(0x25f)](_0x555ae3=>_0x555ae3[_0x5274c2(0xcd)][_0x5274c2(0x25f)](_0x577962=>({'range':_0x577962,'unitId':_0x481d44[_0x5274c2(0x237)],'subUnitId':_0x481d44['subUnitId']})))[_0x5274c2(0x2a7)]();}case u[_0x5274c2(0x111)]['id']:{const _0x56adce=_0x9e80b4[_0x5274c2(0x295)];return _0x56adce[_0x5274c2(0xcd)][_0x5274c2(0x25f)](_0x545f7=>({'range':_0x545f7,'unitId':_0x56adce[_0x5274c2(0x237)],'subUnitId':_0x56adce[_0x5274c2(0x1a4)]}));}case u[_0x5274c2(0x108)]['id']:{const _0xc67a2c=_0x9e80b4[_0x5274c2(0x295)];return[{'range':_0xc67a2c[_0x5274c2(0x1f5)],'unitId':_0xc67a2c[_0x5274c2(0x237)],'subUnitId':_0xc67a2c[_0x5274c2(0x1a4)]}];}case u[_0x5274c2(0x21c)]['id']:{const _0x96a8a4=_0x9e80b4[_0x5274c2(0x295)];return[{'range':_0x96a8a4['range'],'unitId':_0x96a8a4['unitId'],'subUnitId':_0x96a8a4[_0x5274c2(0x1a4)]}];}case u[_0x5274c2(0x293)]['id']:{const _0x12fa05=_0x9e80b4[_0x5274c2(0x295)],{from:_0x48af0c,to:_0x1031dc,unitId:_0x28fba0}=_0x12fa05;return[{'range':ae(_0x48af0c['value']),'unitId':_0x28fba0,'subUnitId':_0x48af0c[_0x5274c2(0x1a4)]},{'range':ae(_0x1031dc[_0x5274c2(0x1cb)]),'unitId':_0x28fba0,'subUnitId':_0x1031dc['subUnitId']}];}case u[_0x5274c2(0x266)]['id']:{const _0x561c78=_0x9e80b4[_0x5274c2(0x295)],{unitId:_0x4c966d,subUnitId:_0x529322,sourceRange:_0x4212b8,targetRange:_0x1eca14}=_0x561c78,_0x2e040e=_0x4212b8['endRow']-_0x4212b8['startRow']+0x1;return[{'range':_0x1eca14['startRow']<=_0x4212b8['startRow']?_0x1eca14:{..._0x1eca14,'startRow':_0x1eca14[_0x5274c2(0x19b)]-_0x2e040e,'endRow':_0x1eca14[_0x5274c2(0xfb)]-_0x2e040e},'unitId':_0x4c966d,'subUnitId':_0x529322}];}case u[_0x5274c2(0x1f4)]['id']:{const _0x1c8eef=_0x9e80b4[_0x5274c2(0x295)],{unitId:_0x2e094f,subUnitId:_0x2c457a,sourceRange:_0x4f7e96,targetRange:_0x1e5bd7}=_0x1c8eef,_0x49fed6=_0x4f7e96[_0x5274c2(0xf5)]-_0x4f7e96[_0x5274c2(0x213)]+0x1;return[{'range':_0x1e5bd7[_0x5274c2(0x213)]<=_0x4f7e96[_0x5274c2(0x213)]?_0x1e5bd7:{..._0x1e5bd7,'startColumn':_0x1e5bd7['startColumn']-_0x49fed6,'endColumn':_0x1e5bd7['endColumn']-_0x49fed6},'unitId':_0x2e094f,'subUnitId':_0x2c457a}];}case u['SetNumfmtMutation']['id']:{const _0x1947e3=_0x9e80b4['params'],{values:_0x5b9f76,unitId:_0x2a5bcd,subUnitId:_0x185434}=_0x1947e3;return Object[_0x5274c2(0x168)](_0x5b9f76)[_0x5274c2(0x25f)](_0x1742d3=>_0x1742d3[_0x5274c2(0xcd)][_0x5274c2(0x25f)](_0x5b4c1f=>({'range':_0x5b4c1f,'unitId':_0x2a5bcd,'subUnitId':_0x185434})))[_0x5274c2(0x2a7)]();}case u[_0x5274c2(0xdf)]['id']:{const _0x1cc492=_0x9e80b4['params'],{ranges:_0x11c5e0,unitId:_0x54741a,subUnitId:_0x291874}=_0x1cc492;return _0x11c5e0['map'](_0x2e846d=>({'range':_0x2e846d,'unitId':_0x54741a,'subUnitId':_0x291874}));}case u[_0x5274c2(0x25b)]['id']:{const _0x41ce7d=_0x9e80b4['params'],{unitId:_0x1b0de7,subUnitId:_0x47d5be,range:_0x188a4f}=_0x41ce7d;return[{'range':_0x188a4f,'unitId':_0x1b0de7,'subUnitId':_0x47d5be}];}case u['SetRangeProtectionMutation']['id']:{const _0x476b39=_0x9e80b4[_0x5274c2(0x295)];return _0x476b39[_0x5274c2(0x15e)][_0x5274c2(0xcd)]['map'](_0x270ca2=>({'range':_0x270ca2,'unitId':_0x476b39[_0x5274c2(0x237)],'subUnitId':_0x476b39['subUnitId']}));}case u[_0x5274c2(0x21b)]['id']:{const _0x44311c=_0x9e80b4['params'];return _0x44311c[_0x5274c2(0x289)]?Qe(_0x44311c['cellValue'])['map'](_0x15e120=>({'range':_0x15e120,'unitId':_0x44311c['unitId'],'subUnitId':_0x44311c[_0x5274c2(0x1a4)]})):[];}case le[_0x5274c2(0x238)]['id']:{const _0x16ba15=_0x9e80b4[_0x5274c2(0x295)];return[{'range':_0x16ba15['range'],'unitId':_0x16ba15[_0x5274c2(0x237)],'subUnitId':_0x16ba15[_0x5274c2(0x1a4)]}];}case K[_0x5274c2(0x1b3)]['id']:{const _0x3a0a6b=_0x9e80b4[_0x5274c2(0x295)];return(Array[_0x5274c2(0x181)](_0x3a0a6b[_0x5274c2(0x15e)])?_0x3a0a6b[_0x5274c2(0x15e)]:[_0x3a0a6b['rule']])['map'](_0x523c81=>_0x523c81[_0x5274c2(0xcd)][_0x5274c2(0x25f)](_0x37d544=>({'range':_0x37d544,'unitId':_0x3a0a6b[_0x5274c2(0x237)],'subUnitId':_0x3a0a6b['subUnitId']})))[_0x5274c2(0x2a7)]();}case Q[_0x5274c2(0x100)]['id']:{const _0x3ec3b3=_0x9e80b4[_0x5274c2(0x295)];return _0x3ec3b3[_0x5274c2(0x15e)][_0x5274c2(0xcd)][_0x5274c2(0x25f)](_0x1bb279=>({'range':_0x1bb279,'unitId':_0x3ec3b3[_0x5274c2(0x237)],'subUnitId':_0x3ec3b3[_0x5274c2(0x1a4)]}));}default:return[];}}['_combineRanges'](_0x46f274){const _0x331162=_0x5c3ae5;if(_0x46f274[_0x331162(0x221)]<=0x1)return _0x46f274;const _0x52e46d=new Map();return _0x46f274[_0x331162(0x2dd)](_0x59dac2=>{const _0x4977de=_0x331162;var _0xd4ffa9;const {unitId:_0x5d97aa,subUnitId:_0xc36f98}=_0x59dac2,_0x5ce9cd=_0x5d97aa+'-'+_0xc36f98;_0x52e46d[_0x4977de(0x239)](_0x5ce9cd)?(_0xd4ffa9=_0x52e46d[_0x4977de(0x1c3)](_0x5ce9cd))==null||_0xd4ffa9[_0x4977de(0x27c)](_0x59dac2):_0x52e46d[_0x4977de(0x166)](_0x5ce9cd,[_0x59dac2]);}),Array[_0x331162(0x1d8)](_0x52e46d[_0x331162(0x168)]())[_0x331162(0x25f)](_0x1b1126=>new u[(_0x331162(0x1d7))]()['add'](..._0x1b1126[_0x331162(0x25f)](_0x2382ec=>_0x2382ec['range']))['merge']()[_0x331162(0x25f)](_0x9661c9=>({'range':_0x9661c9,'unitId':_0x1b1126[0x0][_0x331162(0x237)],'subUnitId':_0x1b1126[0x0][_0x331162(0x1a4)]})))[_0x331162(0x2a7)]();}};V=Ke([q(0x0,l[_0x5c3ae5(0xe2)](exports['HistoryManagerService'])),q(0x1,N[_0x5c3ae5(0x2b8)]),q(0x2,N['ISnapshotServerService'])],V);function ae(_0x8a62ec){const _0x4cc1db=_0x5c3ae5;return new l[(_0x4cc1db(0x23d))](_0x8a62ec)[_0x4cc1db(0x279)]();}function Qe(_0x56e806){const _0x599468=_0x5c3ae5,_0x110a83=new l[(_0x599468(0x23d))](_0x56e806),_0x392862=new l[(_0x599468(0x23d))]();return _0x110a83['forValue']((_0x29f1a1,_0xbfe157)=>{_0x392862['setValue'](_0x29f1a1,_0xbfe157,0x1);}),u[_0x599468(0x1ba)](_0x392862);}var Je=Object[_0x5c3ae5(0xf7)],ze=(_0x30970,_0x505ab6,_0x431b6d,_0x541de0)=>{const _0xdf18cf=_0x5c3ae5;for(var _0x34924f=_0x541de0>0x1?void 0x0:_0x541de0?Je(_0x505ab6,_0x431b6d):_0x505ab6,_0xf468b5=_0x30970[_0xdf18cf(0x221)]-0x1,_0x5005ce;_0xf468b5>=0x0;_0xf468b5--)(_0x5005ce=_0x30970[_0xf468b5])&&(_0x34924f=_0x5005ce(_0x34924f)||_0x34924f);return _0x34924f;},P=(_0x5542bc,_0x47342e)=>(_0x3791ac,_0x2c6154)=>_0x47342e(_0x3791ac,_0x2c6154,_0x5542bc);function _0x5c25(){const _0x3818e6=['_currentVersionDiff$','@univerjs-pro/collaboration','ObjectMatrix','univer-animate-spin','function','useDependency','6300IRfAAL','m1Prime','idSuffix','ManageCollaborator','SNAPSHOT_HAS_BEEN_REMOVED','SetCellStyle','hideMask','APPLY_REVISION_CONFILICT','toDisposable','INVALID_ARGUMENT','UNRECOGNIZED','_sidebarDisposable','univer-mx-[-20px]\x20univer-overflow-hidden','getOwnPropertySymbols','AddRangeProtectionMutation','editHistory.action.revertSheetPrefix','Init','reduce','_currentVersion$','propertyIsEnumerable','recoverTime','flex','getConfig','UNIVER_PROJECT','univer-w-6\x20univer-h-6\x20univer-text-gray-400\x20univer-flex\x20univer-items-center\x20univer-justify-center','UNIVER_DOC','ReorderRangeMutation','user','_diffRangesMap','IRenderManagerService','map','span','prototype','YUUMI_ALL_TABLES_IS_INVALID','tag','rev','_dialogOptions$','MoveRowsMutation','getRelativeToViewportCoord','Sort','getCurrentUnitForType','endRevision','@univerjs/sheets-ui','dispose','SelectProtectedCells','MOBILE_HAS_BEEN_BOUND','_loadingState$','onRendered','_lastLabel','_cellEditorManagerService','clear','attrs','getHours','setCF','Edit','hidden','getDataRange','registerComponent','IUIPartsService','push','LICENSE_DISTRO_REJECTED','unitId$','fill','keys','WorkbookRenameSheetPermission','forwardRef','white','_transformMutationByOrder','_hasMore','parseProtocolChangeset','editHistory.panel.unknownUser','rules','cellValue','name','transformMutations','blocks','_maskElement','_createUnit','_sheetSkeletonManagerService','createElement','AddWorksheetProtectionMutation','ALREADY_EXISTS','MoveRangeMutation','addProtection','params','.univer-app-container-content','Disposable','random','CompressMutationService','_context','CreateSheet','onMouseMove','use','height','trim','_members','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_historyManagerService','_localeService','ViewHistory','CollaborationImageIoService','RemoveSheetMutation','flat','showMask','status','userId','#0B9EFB','univer-text-2xl','loadingState$','RenameSheet','find','executeCommand','IMessageService','entities','IImageIoService','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','fetchMissingChangesets','CONNECTOR_DATA_TOO_LARGE','WorkbookMoveSheetPermission','ITransformService','parse','RevertRevisionMutation','getCoordByCell','DeleteRow','add','InsertSheetMutation','icon','BehaviorSubject','_getRangesByMutation','revertRevision$','INTERNAL_ERROR','restore-icon_clip0_1247_2','addSparkline','HistoryManagerService','data','LocaleService','_maskContainer','sheet','includes','users','_versionDiffService','path','defIds','clipPath','versions','_getActiveSubUnitId','xlink:href','_permissionService','_historyFetchService','APPLY_DUPLICATED','getVpScrollXYInfoByPosToVp','rgba(58,\x2096,\x20247,\x200.20)','10548160ExVhDm','onStarting','LICENSE_MAX_UNITS_EXCEEDED','SetCellValue','forEach','MoveSheet','blockMeta','body','@univerjs/drawing','&lastLabel=','_canRevert','primary','top','ranges','date','now','_getSheetObject','versions$','7330TJZKIR','apply','Loaded','confirm','DependentOn','UniverIcon','getCurrentVersion','editHistory.info.loading','AddSheetSparklineMutation','ensureVersion','command','SHEET_VIEWPORT_KEY','scrollEvent$','RemoveNumfmtMutation','state$','_confirmService','Inject','_configService','PERMISSION_DENIED','WECHAT_HAS_BEEN_BOUND','@univerjs/sheets-filter','entered','Duplicate','@univerjs-pro/collaboration-client','univer-h-[50px]\x20univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-[#e5e5e5]\x20univer-cursor-default','CopySheet','_compressMutationService','time','EMAIL_HAS_BEEN_BOUND','Info','UNIVER_UNKNOWN','UNDEFINED','UniverInstanceType','SNAPSHOT_INVALID_SNAPSHOT','_init','endColumn','useState','getOwnPropertyDescriptor','hasCommand','Fragment','loading-multi-icon','endRow','YUUMI_SUBSCRIPTION_NOT_FOUND','TOO_MANY_REQUESTS','2298132yABrWz','UniverEditHistoryViewerPlugin','SetConditionalRuleMutation','skeleton','Export','ENSURE_SNAPSHOT_EXECUTION','historyListServerUrl','AddConditionalRuleMutation','getCurrent','syncExecuteCommand','InsertRowMutation','1638DndWMY','Loading','entries','UpdateDataValidationMutation','Share','symbol','getCurrentLocale','createUnit','AddWorksheetMergeMutation','_openPanel','useCallback','_messageService','_initActiveSwitch','ISnapshotServerService','RenameWorksheet','editHistory.action.','currentColor','react','editHistory.header.revert','DeleteWorksheetProtectionMutation','dateString','Tooltip','makeDirty','univer-text-gray-500','BuiltInUIPart','univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-w-8\x20univer-h-8\x20univer-ml-2.5\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','pipe','edit-history-viewer.config','INVITE_CODE_ALREADY_BOUND','LocaleType','close','status$','getMember','univer-h-6\x20univer-flex\x20univer-justify-between\x20univer-w-full','@univerjs/engine-render','Subject','getInterceptPoints','error','getDialogs$','deleteProtection','BackIcon','jsx','USER_NOT_INVITED_CODE','APPLY_NON_SEQUENTIAL_REVISION','DeleteWorksheet','toString','History','clsx','DeleteColumn','disposeWithMe','Copy','evenodd','IUniverInstanceService','querySelector','createSheet','HideWorksheet','univer-w-6\x20univer-h-6\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400\x20univer-rounded\x20dark:hover:!univer-bg-gray-700\x20hover:univer-bg-gray-100','SheetSkeletonManagerService','univer-flex\x20univer-items-center\x20univer-justify-center','100%','removeSheet','current','ViemRwHgtClWdt','Print','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','active','div','mask','row','EditWorksheetCell','_initRender','HistoryModeStatus','url(#$1','Exited','_workbookDataCache','combineLatest','_sidebarService','IPermissionService','getVersions','View','univer-m-auto\x20univer-animate-spin','getVersion','APPLY_REJECT','FromArray','substring','rule','toStringTag','_removeDiffMarks','_historyContainerId','getSheetObject','_renderManagerService','rgba(225,\x20225,\x20225,\x200.5)','_snapshotServerService','set','currentSkeleton$','values','5bmzCBi','getCellPositionByOffset','EditExtraObject','triggerLoadSheet','focusUnit','interceptor','_unitId$','left','center','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','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','getUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','action','INVITE_CODE_REQUIRED','concat','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SnapshotServerOverHTTPService','code','display','YUUMI_RATE_OVER_LIMIT','_diffs',':\x20(','IDialogService','isArray','rxjs','jsxs','Filter','_initMaskContainer','804404AOIXmj','@univerjs/ui','subscribeEvent','subscribe','LoadingMultiIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','1em','open','editHistory.panel.title','react/jsx-runtime','loadingState','Entered','mutations','CreateWorksheet','sheetId','merge','NOT_FOUND','style','_uiPartsService','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','asObservable','startRow','editHistory.panel.currentVersion','show','indexOf','loadMoreVersions','DeleteSheet','@univerjs-pro/collaboration-client-ui','COMPRESS_MUTATION_APPLY','INVITE_CODE_HAS_BEEN_UES','subUnitId','HideSheet','commands','Plugin','ViewFilter','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-[#1e222b]\x20univer-text-sm\x20univer-font-medium','Comment','editHistory.panel.confirm','canRevert','/list?length=20','InsertHyperlink','url(#restore-icon_clip0_1247_2)','closeAll','UNIVER_SLIDE','then','AddDataValidationMutation','toISOString','history-panel','assign','_revertRevision$','Delete','editHistory.panel.revertConfirmText','findAllRectangle','className','position','column','some','displayName','YUUMI_UNABLE_LOAD_URL','SheetCollabCursorShape','_status$','get','_updateDiffMarks','transformSnapshotToWorkbookData','exited','PY_RUNTIME_SCRIPT_ERROR','justifyContent','_createMask','YUUMI_URL_COL_OUT_OF_RANGE','value','confirm-revert-revision','FloatImg','RestoreIcon','call','/universer-api/history','extend','children','@univerjs/data-validation','LICENSE_EXPORT_SIZE_EXCEEDED','INVALID_INVITE_CODE','univer-w-full\x20univer-h-[30px]\x20univer-flex\x20univer-items-center\x20univer-justify-center','RangeMergeUtil','from','_fetching','useObservable','none','_getAPIPrefix','isTransformMutationsSuccess','_initPanel','colorChannel1','SetColumnStyle','onSteady','VIRTUAL_VERSION_NOW','WorkbookEditablePermission','WorkbookHideSheetPermission','_versions$','setDV','_univerInstanceService','YUUMI_ASYNCIO_CANCELLED','YUUMI_AI_RUN_FAILED','PivotTable','fetchThroughInterceptors','split','HEADER','SetFrozenMutation','switchMap','editSheet','loadSheet','InsertRow','endRev','MoveColsMutation','range','workbook','currentVersionDiff$','SelectUnProtectedCells','RecoverHistory','svg','updatePermissionPoint','_injector','UNIVER_SHEET','DisposableCollection','ICellEditorManagerService','CreatePermissionObject','setFilter','_lastPointer','SetWorksheetStyle','currentVersion$','currentVersion','width','string','1423590ezAkkf','triggerRevert','next','Injector','_updateVersions','filter','anonymous','loading','subType','MessageType','IConfigService','startColumn','InsertColumn','APPLY_PERMISSION_DENIED','loaded','univer-flex-1\x20univer-flex\x20univer-items-center\x20univer-text-gray-600\x20univer-text-sm\x20dark:!univer-text-gray-200','hasOwnProperty','_componentManager','absolute','SetRangeValuesMutation','InsertColMutation','restore-icon','UniverNetworkPlugin','496381ojsbwS','_commandService','length','LICENSE_IMPORT_SIZE_EXCEEDED','createTime','COMPLETION_FINISHED','CHANGESET_REVISION_CONFILICT','connectInjector','_extractRanges','4950EfbxLb','CreateUnitMutation','@univerjs/design','Button','getMinutes','addObjects','DeleteRangeProtectionMutation','debounce','all','univer-h-[60px]\x20univer-flex\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5\x20univer-cursor-default','_transformService','defineProperty','MoveWorksheet','0\x200\x2016\x2017','IConfirmService','unitId','SetSheetsFilterRangeMutation','has','startRevision'];_0x5c25=function(){return _0x3818e6;};return _0x5c25();}let z=class extends l[_0x5c3ae5(0x297)]{constructor(_0xbed093,_0x4f0794,_0x49e75d,_0x2ca577,_0x3342a8,_0x574838,_0x38e5e5){const _0x877585=_0x5c3ae5;super(),_(this,_0x877585(0x17e),new Set()),_(this,'_lastPointer',null),(this[_0x877585(0x29a)]=_0xbed093,this[_0x877585(0x2a2)]=_0x4f0794,this['_versionDiffService']=_0x49e75d,this[_0x877585(0x1e7)]=_0x2ca577,this[_0x877585(0x163)]=_0x3342a8,this['_sheetSkeletonManagerService']=_0x574838,this['_commandService']=_0x38e5e5,this[_0x877585(0xf4)]());}[_0x5c3ae5(0xf4)](){const _0x3ca75e=_0x5c3ae5;this[_0x3ca75e(0x14f)](),this[_0x3ca75e(0x115)]();}[_0x5c3ae5(0x14f)](){const _0x2d24bb=_0x5c3ae5;this['disposeWithMe'](E[_0x2d24bb(0x154)]([this[_0x2d24bb(0x2a2)][_0x2d24bb(0x2ad)],this[_0x2d24bb(0x28f)][_0x2d24bb(0x167)]])['pipe'](E[_0x2d24bb(0x1ef)](([_0x1d271f,_0x49c39b])=>{const _0x4725d5=_0x2d24bb;if(_0x1d271f===x[_0x4725d5(0xd4)]&&_0x49c39b){const _0x50fd05=_0x49c39b[_0x4725d5(0x194)];return this[_0x4725d5(0x2cd)]['currentVersionDiff$'][_0x4725d5(0x123)](E[_0x4725d5(0x25f)](_0x53a158=>{const _0x540e87=_0x4725d5,_0x2160e7=new Map();return _0x53a158[_0x540e87(0xcd)][_0x540e87(0x2dd)]((_0x4b914e,_0x2f2b7d)=>{const _0x5a7783=_0x540e87,_0x225084=_0x4b914e[_0x5a7783(0x20d)](_0x397f33=>_0x397f33[_0x5a7783(0x1a4)]===_0x50fd05);_0x2160e7[_0x5a7783(0x166)](_0x2f2b7d,_0x225084);}),{'skeleton':_0x49c39b,'diffs':_0x2160e7};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))[_0x2d24bb(0x189)](({skeleton:_0x55487c,diffs:_0x4a7c7f})=>{const _0x4736c6=_0x2d24bb;this[_0x4736c6(0x160)](),_0x55487c&&this[_0x4736c6(0x1c4)](_0x55487c,_0x4a7c7f);})),this['disposeWithMe'](this[_0x2d24bb(0x28f)][_0x2d24bb(0x167)][_0x2d24bb(0x189)](_0x3a8c61=>{const _0x203041=_0x2d24bb;if(_0x3a8c61==null)return;const {skeleton:_0x5dd400}=_0x3a8c61,{scene:_0x309f54}=this['_context'];_0x309f54['onPointerMove$'][_0x203041(0x188)](l[_0x203041(0x22f)](_0x193b4e=>{const _0x293610=_0x203041;var _0x40c8e6,_0x430f55;const {offsetX:_0x29fead,offsetY:_0x205206}=_0x193b4e,{x:_0xd43fd3,y:_0x20a57b}=_0x309f54[_0x293610(0x267)]($['Vector2'][_0x293610(0x15c)]([_0x29fead,_0x205206])),{scaleX:_0x39f819,scaleY:_0xf3317c}=_0x309f54['getAncestorScale'](),_0x20ebfa=_0x309f54['getViewport']($[_0x293610(0xdd)]['VIEW_MAIN']),_0x309f5e=_0x309f54[_0x293610(0x2d7)]($['Vector2']['FromArray']([_0xd43fd3,_0x20a57b]),_0x20ebfa),_0x3e54f9=_0x5dd400[_0x293610(0x16a)](_0x29fead,_0x205206,_0x39f819,_0xf3317c,_0x309f5e);((_0x40c8e6=this[_0x293610(0x202)])==null?void 0x0:_0x40c8e6[_0x293610(0x1bd)])===_0x3e54f9[_0x293610(0x1bd)]&&((_0x430f55=this['_lastPointer'])==null?void 0x0:_0x430f55[_0x293610(0x14d)])===_0x3e54f9[_0x293610(0x14d)]||this[_0x293610(0x17e)]['forEach'](_0x604e5d=>{const _0x44b6d4=_0x293610;_0x604e5d[_0x44b6d4(0x29c)](_0x3e54f9);});},0x64));}));}[_0x5c3ae5(0x115)](){const _0x2e3bd1=_0x5c3ae5;this['disposeWithMe'](this[_0x2e3bd1(0x2a2)]['loadingState$'][_0x2e3bd1(0x189)](_0x1cb92c=>{const _0x592533=_0x2e3bd1,_0x2c67a4=new l[(_0x592533(0x1fe))]();return _0x1cb92c===x['Loaded']&&(_0x2c67a4['dispose'](),_0x2c67a4[_0x592533(0x2bd)](this['_versionDiffService'][_0x592533(0x1f7)]['subscribe'](_0x1a54da=>{const _0x222158=_0x592533;_0x1a54da[_0x222158(0x14a)]&&this[_0x222158(0x220)][_0x222158(0x2b0)](u['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x222158(0x29a)]['unitId'],'subUnitId':_0x1a54da[_0x222158(0x14a)]});}))),()=>_0x2c67a4[_0x592533(0x26c)]();}));}[_0x5c3ae5(0x1c4)](_0x4a4f23,_0x1c2c5b){const _0x35cc4d=_0x5c3ae5;var _0x54a0c9;const _0xfea4f3=(_0x54a0c9=this['_sheetSkeletonManagerService'][_0x35cc4d(0x106)]())==null?void 0x0:_0x54a0c9[_0x35cc4d(0x101)];if(!_0xfea4f3)return;this[_0x35cc4d(0x17e)][_0x35cc4d(0x2dd)](_0x2b48e3=>{const _0x49291d=_0x35cc4d;_0x2b48e3[_0x49291d(0x11f)]();});const {scene:_0x431c9b}=this[_0x35cc4d(0x29a)],_0xa20852=Array[_0x35cc4d(0x1d8)](_0x1c2c5b[_0x35cc4d(0x280)]())[_0x35cc4d(0x25f)](_0xc6c20a=>_0x1c2c5b['get'](_0xc6c20a)[_0x35cc4d(0x25f)](_0x11fb8b=>{const _0x13926f=_0x35cc4d;var _0x5948d1;const {range:_0x151f06,subUnitId:_0x22aa6e,unitId:_0x24687f}=_0x11fb8b,{startColumn:_0x3b2a1e,startRow:_0x571cd3,endColumn:_0x2e17ef,endRow:_0x43ba36}=_0x151f06,_0x574373=T['getCoordByCell'](_0x571cd3,_0x3b2a1e,_0x431c9b,_0xfea4f3),_0xa4582c=T[_0x13926f(0x2bb)](_0x43ba36,_0x2e17ef,_0x431c9b,_0xfea4f3),{columnHeaderHeightAndMarginTop:_0xa79c5a}=_0xfea4f3,{startX:_0x1ec6c8,startY:_0x19f67a}=_0x574373,{endX:_0x51ffcd,endY:_0x25f28f}=_0xa4582c,_0x82c624=_0x51ffcd-_0x1ec6c8,_0x1e7de0=_0x25f28f-_0x19f67a,_0x4b9d9b={'labelPosition':_0x19f67a-_0xa79c5a>=0x14?_0x13926f(0xcc):'bottom','sheetID':_0x22aa6e,'range':_0x151f06,'color':_0x13926f(0x2d8),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x13926f(0x2d8),'name':((_0x5948d1=this[_0x13926f(0x2a2)]['getMember'](_0xc6c20a))==null?void 0x0:_0x5948d1[_0x13926f(0x28a)])||'','selection':_0x24687f+'-'+_0x22aa6e+'-'+_0x151f06[_0x13926f(0x213)]+'-'+_0x151f06['startRow']+'-'+_0x151f06[_0x13926f(0xf5)]+'-'+_0x151f06[_0x13926f(0xfb)],'left':_0x1ec6c8,'top':_0x19f67a,'width':_0x82c624,'height':_0x1e7de0,'evented':!0x1,'zIndex':0x1};return new Re[(_0x13926f(0x1c1))]('',_0x4b9d9b);}))['flat']();_0x431c9b[_0x35cc4d(0x22d)](_0xa20852,0x1),this['_diffs']=new Set(_0xa20852);}[_0x5c3ae5(0x160)](){const _0x4b3279=_0x5c3ae5;var _0x17e3ac;(_0x17e3ac=this['_diffs'])==null||_0x17e3ac[_0x4b3279(0x2dd)](_0x1c9249=>_0x1c9249[_0x4b3279(0x26c)]());}[_0x5c3ae5(0xd0)](){const _0x4e32d8=_0x5c3ae5;return T[_0x4e32d8(0x162)](this[_0x4e32d8(0x1e7)],this[_0x4e32d8(0x163)]);}};z=ze([P(0x1,l['Inject'](exports[_0x5c3ae5(0x2c6)])),P(0x2,l[_0x5c3ae5(0xe2)](V)),P(0x3,l[_0x5c3ae5(0x13d)]),P(0x4,$['IRenderManagerService']),P(0x5,l[_0x5c3ae5(0xe2)](T[_0x5c3ae5(0x142)])),P(0x6,l['ICommandService'])],z);function et(){const _0x312ec4=_0x5c3ae5,_0xf83c=S[_0x312ec4(0x240)](exports[_0x312ec4(0x2c6)]),_0x370b87=S[_0x312ec4(0x1da)](_0xf83c['versions$']),[_0x51f298,_0x3229b9]=m[_0x312ec4(0xf6)](!0x1),_0x312e4d=Pe(_0x370b87);return _0x370b87?h[_0x312ec4(0x132)](_0x312ec4(0x14b),{'className':_0x312ec4(0x24d),'children':h['jsxs']('div',{'className':'univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','children':[_0x312e4d[_0x312ec4(0x25f)]((_0x189017,_0x5ab6b1)=>h[_0x312ec4(0x183)](m[_0x312ec4(0xf9)],{'children':[h[_0x312ec4(0x132)](it,{'date':_0x189017[_0x312ec4(0x11d)]}),_0x189017[_0x312ec4(0x2d1)][_0x312ec4(0x25f)]((_0x3b3301,_0x1f0719)=>h[_0x312ec4(0x132)](rt,{'index':[_0x5ab6b1,_0x1f0719],'item':_0x3b3301},_0x5ab6b1+'-'+_0x1f0719))]},_0x189017[_0x312ec4(0x11d)])),_0x51f298&&h[_0x312ec4(0x132)](tt,{})]})}):h['jsx'](st,{});}function tt(){const _0x3a5f61=_0x5c3ae5;return h[_0x3a5f61(0x132)]('div',{'className':_0x3a5f61(0x1d6),'children':h[_0x3a5f61(0x132)](te,{'className':_0x3a5f61(0x23e)})});}function st(){const _0x7f96a2=_0x5c3ae5;return h[_0x7f96a2(0x132)]('div',{'className':_0x7f96a2(0x143),'children':h[_0x7f96a2(0x132)]('span',{'className':_0x7f96a2(0x120),'children':h[_0x7f96a2(0x132)](te,{'className':_0x7f96a2(0x159)})})});}function it(_0x3f8272){const _0x138dde=_0x5c3ae5,_0x17098b=S['useDependency'](l['LocaleService']),{date:_0x30f9b1}=_0x3f8272;return h['jsx'](_0x138dde(0x14b),{'className':_0x138dde(0x1a9),'children':J(_0x30f9b1,_0x17098b[_0x138dde(0x10f)]())});}function rt(_0x54838b){const _0x2ff07c=_0x5c3ae5,{item:_0xc47f68,index:_0x52d66e}=_0x54838b,{time:_0x5d9e35,user:_0x368138}=_0xc47f68,[_0x9ede6e,_0x404ff1]=_0x52d66e,_0x5dd709=S[_0x2ff07c(0x240)](exports[_0x2ff07c(0x2c6)]),_0x55064d=S['useObservable'](_0x5dd709[_0x2ff07c(0x204)],'',!0x0)===_0xc47f68['id'],_0x25de6c=_0x9ede6e===0x0&&_0x404ff1===0x0,_0x100b49=!_0x25de6c&&_0x5dd709[_0x2ff07c(0x1ac)],_0x4bfa8c=S['useDependency'](l['LocaleService']),_0x2ecc9a=_0x4bfa8c[_0x2ff07c(0x10f)](),_0x3adbb0=ee(_0x5d9e35,_0x2ecc9a),_0x424845=_0x4bfa8c['t'](_0x2ff07c(0x19c)),_0x363f07=m[_0x2ff07c(0x113)](_0x4f9c97=>{const _0x57fea2=_0x2ff07c;_0x5dd709['loadingState']!==x[_0x57fea2(0x10a)]&&(_0x5dd709[_0x57fea2(0x205)]=_0x4f9c97);},[_0x5dd709]),_0x1b60d1=m[_0x2ff07c(0x113)](_0x4c4c51=>{const _0x157d70=_0x2ff07c;_0x5dd709[_0x157d70(0x209)](_0x4c4c51);},[_0x5dd709]);return h['jsxs'](_0x2ff07c(0x14b),{'className':L[_0x2ff07c(0x138)](_0x2ff07c(0x231),{'univer-bg-gray-50':_0x55064d}),'onClick':()=>_0x363f07(_0xc47f68['id']),'children':[h[_0x2ff07c(0x183)](_0x2ff07c(0x14b),{'className':_0x2ff07c(0x12a),'children':[h['jsx']('div',{'className':_0x2ff07c(0x259)}),h[_0x2ff07c(0x183)]('div',{'className':_0x2ff07c(0x217),'children':[h[_0x2ff07c(0x132)](_0x2ff07c(0x260),{'children':_0x3adbb0['time']}),_0x25de6c&&h['jsx'](_0x2ff07c(0x260),{'className':'univer-ml-2\x20univer-px-1.5\x20univer-h-5\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-text-primary-600\x20univer-text-xs\x20univer-border\x20univer-border-primary-600\x20univer-rounded\x20univer-bg-primary-50','children':_0x424845})]}),h[_0x2ff07c(0x132)](_0x2ff07c(0x14b),{'children':_0x100b49&&h['jsx'](L[_0x2ff07c(0x11e)],{'title':_0x4bfa8c['t']('editHistory.panel.revertDesc'),'children':h[_0x2ff07c(0x132)](_0x2ff07c(0x14b),{'onClick':_0x61fcbe=>{_0x61fcbe['stopPropagation'](),_0x1b60d1(_0xc47f68['id']);},'className':_0x2ff07c(0x141),'children':h['jsx'](de,{})})})})]}),h['jsx'](_0x2ff07c(0x14b),{'className':'univer-pl-[26px]\x20univer-text-gray-600\x20univer-text-sm\x20univer-leading-5\x20dark:!univer-text-gray-200','children':Ce(_0xc47f68,_0x4bfa8c)})]});}var nt=Object[_0x5c3ae5(0xf7)],at=(_0x2809ee,_0x19c3e6,_0x4bb861,_0x808418)=>{for(var _0x452435=_0x808418>0x1?void 0x0:_0x808418?nt(_0x19c3e6,_0x4bb861):_0x19c3e6,_0x2a47f5=_0x2809ee['length']-0x1,_0x237c9d;_0x2a47f5>=0x0;_0x2a47f5--)(_0x237c9d=_0x2809ee[_0x2a47f5])&&(_0x452435=_0x237c9d(_0x452435)||_0x452435);return _0x452435;},H=(_0x3d9b44,_0x366cd1)=>(_0xfe8ed8,_0x5aaf38)=>_0x366cd1(_0xfe8ed8,_0x5aaf38,_0x3d9b44);const oe=_0x5c3ae5(0x1b5);let F=class extends l[_0x5c3ae5(0x297)]{constructor(_0x32b427,_0x4dce2d,_0x4a61c2,_0x2bb64a){const _0xd95932=_0x5c3ae5;super(),_(this,_0xd95932(0x24c),null),(this[_0xd95932(0x155)]=_0x32b427,this['_componentManager']=_0x4dce2d,this[_0xd95932(0x2a3)]=_0x4a61c2,this['_historyManagerService']=_0x2bb64a,this[_0xd95932(0xf4)]());}[_0x5c3ae5(0xf4)](){const _0x38c0d5=_0x5c3ae5;this[_0x38c0d5(0x1de)](),this[_0x38c0d5(0x112)]();}[_0x5c3ae5(0x112)](){const _0x409b97=_0x5c3ae5;if(this[_0x409b97(0x24c)])return;const _0x35be8b={'header':{'title':this[_0x409b97(0x2a3)]['t'](_0x409b97(0x18e))},'children':{'label':oe},'onClose':()=>{const _0x388b9c=_0x409b97;this['_sidebarDisposable']=null,this[_0x388b9c(0x2a2)][_0x388b9c(0x2a9)]=A[_0x388b9c(0x152)];}};this['_sidebarDisposable']=this[_0x409b97(0x155)][_0x409b97(0x18d)]({..._0x35be8b});}[_0x5c3ae5(0x1de)](){const _0x54ad3b=_0x5c3ae5;this[_0x54ad3b(0x13a)](this[_0x54ad3b(0x219)]['register'](oe,et)),this[_0x54ad3b(0x13a)](this[_0x54ad3b(0x155)][_0x54ad3b(0xde)]['pipe'](E['debounceTime'](0x64))[_0x54ad3b(0x189)](_0x5e6e05=>{const _0x14b69a=_0x54ad3b,{target:_0x36fd8e}=_0x5e6e05||{};if(_0x36fd8e){const {scrollTop:_0x5bb5fd,scrollHeight:_0x2e5639,clientHeight:_0x53b8ee}=_0x36fd8e;_0x5bb5fd+_0x53b8ee>=_0x2e5639-0x5&&this['_historyManagerService'][_0x14b69a(0x19f)]();}}));}};F=at([H(0x0,S['ISidebarService']),H(0x1,l[_0x5c3ae5(0xe2)](S['ComponentManager'])),H(0x2,l[_0x5c3ae5(0xe2)](l[_0x5c3ae5(0x2c8)])),H(0x3,l[_0x5c3ae5(0xe2)](exports[_0x5c3ae5(0x2c6)]))],F);class ot extends l[_0x5c3ae5(0x297)]{constructor(){const _0x5fc928=_0x5c3ae5;super(),_(this,'_dialogOptions$',new E[(_0x5fc928(0x12c))]());}[_0x5c3ae5(0x18d)](){const _0x56e216=_0x5c3ae5;return l[_0x56e216(0x249)](()=>{});}[_0x5c3ae5(0x127)](){}[_0x5c3ae5(0x1b0)](_0xe8bfc4){}[_0x5c3ae5(0x12f)](){const _0x478ea5=_0x5c3ae5;return this[_0x478ea5(0x265)][_0x478ea5(0x19a)]();}}var ct=Object['defineProperty'],lt=Object['getOwnPropertyDescriptor'],ut=(_0x2696e2,_0x2731f4,_0x13f24b)=>_0x2731f4 in _0x2696e2?ct(_0x2696e2,_0x2731f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13f24b}):_0x2696e2[_0x2731f4]=_0x13f24b,_t=(_0x4cff70,_0xc547ef,_0x5b6a9b,_0xa27a7c)=>{const _0x221faf=_0x5c3ae5;for(var _0x301082=_0xa27a7c>0x1?void 0x0:_0xa27a7c?lt(_0xc547ef,_0x5b6a9b):_0xc547ef,_0x17154d=_0x4cff70[_0x221faf(0x221)]-0x1,_0x4d465c;_0x17154d>=0x0;_0x17154d--)(_0x4d465c=_0x4cff70[_0x17154d])&&(_0x301082=_0x4d465c(_0x301082)||_0x301082);return _0x301082;},Z=(_0x25fdfe,_0x5f0193)=>(_0x4730b7,_0x38ecda)=>_0x5f0193(_0x4730b7,_0x38ecda,_0x25fdfe),ht=(_0x4eda1f,_0x261899,_0x2f88ed)=>ut(_0x4eda1f,_0x261899+'',_0x2f88ed);const dt=_0x5c3ae5(0x173);exports[_0x5c3ae5(0xff)]=class extends l[_0x5c3ae5(0x1a7)]{constructor(_0x1ed829=ne,_0x93a141,_0x4ee55b,_0x1e9aec){const _0x15a19f=_0x5c3ae5;super(),this['_config']=_0x1ed829,this['_injector']=_0x93a141,this[_0x15a19f(0x163)]=_0x4ee55b,this['_configService']=_0x1e9aec;const {..._0x5e2a94}=l[_0x15a19f(0x195)]({},ne,this['_config']);this[_0x15a19f(0xe3)]['setConfig'](ue,_0x5e2a94);}[_0x5c3ae5(0x2da)](){const _0x4d38d5=_0x5c3ae5;[[exports['HistoryManagerService']],[Y],[V],[B],[F],[U],[N['ISnapshotServerService'],{'useClass':re[_0x4d38d5(0x17a)]}],[S[_0x4d38d5(0x180)],{'useClass':ot}],[Me[_0x4d38d5(0x2b3)],{'useClass':re[_0x4d38d5(0x2a5)]}]][_0x4d38d5(0x2dd)](_0x1c714b=>this[_0x4d38d5(0x1fc)][_0x4d38d5(0x2bd)](_0x1c714b)),this['_injector'][_0x4d38d5(0x1c3)](Y);}[_0x5c3ae5(0x270)](){const _0x1b2495=_0x5c3ae5;[[z]]['forEach'](_0x37d5df=>{const _0x10a722=_0x4f61;this[_0x10a722(0x13a)](this[_0x10a722(0x163)]['registerRenderModule'](l[_0x10a722(0xf2)][_0x10a722(0x1fd)],_0x37d5df));}),this[_0x1b2495(0x1fc)][_0x1b2495(0x1c3)](U),this[_0x1b2495(0x1fc)]['get'](F);}[_0x5c3ae5(0x1e1)](){const _0x248787=_0x5c3ae5;this[_0x248787(0x1fc)][_0x248787(0x1c3)](V);}},ht(exports[_0x5c3ae5(0xff)],'pluginName',dt),exports[_0x5c3ae5(0xff)]=_t([l[_0x5c3ae5(0xd6)](T['UniverSheetsUIPlugin'],ce[_0x5c3ae5(0x21e)]),Z(0x1,l['Inject'](l['Injector'])),Z(0x2,$[_0x5c3ae5(0x25e)]),Z(0x3,l[_0x5c3ae5(0x212)])],exports[_0x5c3ae5(0xff)]),exports[_0x5c3ae5(0x150)]=A;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x53b48=_0x4b3a;(function(_0xc5ac21,_0x1e13b9){const _0x38a380=_0x4b3a,_0x382c97=_0xc5ac21();while(!![]){try{const _0x18c1c4=-parseInt(_0x38a380(0x17a))/0x1+parseInt(_0x38a380(0x160))/0x2*(-parseInt(_0x38a380(0x167))/0x3)+-parseInt(_0x38a380(0x165))/0x4*(parseInt(_0x38a380(0x164))/0x5)+parseInt(_0x38a380(0x16a))/0x6*(-parseInt(_0x38a380(0x175))/0x7)+parseInt(_0x38a380(0x16b))/0x8+parseInt(_0x38a380(0x17b))/0x9*(-parseInt(_0x38a380(0x16e))/0xa)+parseInt(_0x38a380(0x178))/0xb;if(_0x18c1c4===_0x1e13b9)break;else _0x382c97['push'](_0x382c97['shift']());}catch(_0x24162c){_0x382c97['push'](_0x382c97['shift']());}}}(_0x4aa4,0x3d5a3));function _0x4b3a(_0x5d8c1d,_0x4a826c){const _0x4aa406=_0x4aa4();return _0x4b3a=function(_0x4b3a70,_0xff10ee){_0x4b3a70=_0x4b3a70-0x159;let _0x3cbc6a=_0x4aa406[_0x4b3a70];return _0x3cbc6a;},_0x4b3a(_0x5d8c1d,_0x4a826c);}const e={'editHistory':{'panel':{'title':_0x53b48(0x15d),'unknownUser':_0x53b48(0x15a),'listFetchError':_0x53b48(0x159),'revertConfirm':_0x53b48(0x16c),'revertConfirmText':_0x53b48(0x15c),'cancel':'Cancel','confirm':_0x53b48(0x171),'reverting':_0x53b48(0x179),'revertFailed':_0x53b48(0x15b),'currentVersion':_0x53b48(0x15e),'currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x53b48(0x177)},'header':{'back':_0x53b48(0x16d),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x53b48(0x174),'removeSheet':_0x53b48(0x168),'createSheet':_0x53b48(0x176),'setFilter':_0x53b48(0x169),'setFrozen':_0x53b48(0x15f),'editSheet':_0x53b48(0x16f),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x53b48(0x173),'setCF':_0x53b48(0x162),'addCF':_0x53b48(0x163),'addProtection':_0x53b48(0x161),'addSparkline':_0x53b48(0x166),'deleteProtection':_0x53b48(0x170),'etc':',\x20etc.'}}};module[_0x53b48(0x172)]=e;function _0x4aa4(){const _0x18ac91=['inserted\x20worksheet','245BYnAii','created\x20workbook','loading,\x20please\x20wait...','17515927KcqFEj','Reverting,\x20please\x20wait...','170089BGdwpo','3339828nRDqLh','Failed\x20to\x20get\x20edit\x20history\x20list','Unknown\x20User','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Edit\x20History','Current\x20Version','set\x20frozen','22umgTsU','add\x20protection','set\x20conditional\x20formatting','add\x20conditional\x20formatting','59290vJVHqT','84eihNuJ','add\x20sparkline','98214CQvTDT','deleted\x20worksheet','set\x20filter','71178vDBviq','1795712DQTDvj','Restore\x20this\x20version?','Back','10yXGeWB','edited\x20worksheet','delete\x20protection','Confirm','exports','set\x20data\x20validation'];_0x4aa4=function(){return _0x18ac91;};return _0x4aa4();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5c632e=_0x566a;(function(_0x4e2531,_0x357e3c){const _0x297cfa=_0x566a,_0x8243cc=_0x4e2531();while(!![]){try{const _0x14639=parseInt(_0x297cfa(0xdb))/0x1+parseInt(_0x297cfa(0xe9))/0x2+-parseInt(_0x297cfa(0xec))/0x3*(-parseInt(_0x297cfa(0xe4))/0x4)+parseInt(_0x297cfa(0xf5))/0x5*(parseInt(_0x297cfa(0xda))/0x6)+parseInt(_0x297cfa(0xf6))/0x7*(parseInt(_0x297cfa(0xd8))/0x8)+-parseInt(_0x297cfa(0xe2))/0x9*(parseInt(_0x297cfa(0xd9))/0xa)+parseInt(_0x297cfa(0xea))/0xb*(-parseInt(_0x297cfa(0xf3))/0xc);if(_0x14639===_0x357e3c)break;else _0x8243cc['push'](_0x8243cc['shift']());}catch(_0x212c7a){_0x8243cc['push'](_0x8243cc['shift']());}}}(_0x4015,0x8e4b7));function _0x4015(){const _0x2e793f=['8NKgbvF','تنظیم\x20قالب\x20بندی\x20شرطی','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','ورق\x20کاری\x20اضافه\x20شده','ورق\x20کاری\x20ویرایش\x20شده','521168jqoYgB','24498518HXtCIS','کاربر\x20فعلی','645495axcjcJ','تنظیم\x20اعتبار\x20سنجی\x20داده','افزودن\x20قالب\x20بندی\x20شرطی','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','exports','تایید','ورق\x20کاری\x20ایجاد\x20شده','12lFFaQw','تنظیم\x20منجمد','4632265cwEPMc','1253PlEZrO','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','46912yxVzIu','90mgjYyN','6finwvk','812860vFNlsg','ورق\x20کاری\x20بازگردانی\x20شده','تاریخچه\x20ویرایش','حذف\x20حفاظت','بازگردانی\x20این\x20نسخه','،\x20و\x20غیره','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','669906PhWTdL','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...'];_0x4015=function(){return _0x2e793f;};return _0x4015();}function _0x566a(_0x7bb17b,_0x566896){const _0x401579=_0x4015();return _0x566a=function(_0x566a31,_0x836e8f){_0x566a31=_0x566a31-0xd7;let _0x4dc07b=_0x401579[_0x566a31];return _0x4dc07b;},_0x566a(_0x7bb17b,_0x566896);}const e={'editHistory':{'panel':{'title':_0x5c632e(0xdd),'unknownUser':'کاربر\x20ناشناخته','listFetchError':'دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','revertConfirm':_0x5c632e(0xef),'revertConfirmText':_0x5c632e(0xe1),'cancel':'لغو','confirm':_0x5c632e(0xf1),'reverting':_0x5c632e(0xe6),'revertFailed':_0x5c632e(0xd7),'currentVersion':'نسخه\x20فعلی','currentUser':_0x5c632e(0xeb),'revertDesc':_0x5c632e(0xdf)},'info':{'loading':_0x5c632e(0xe3)},'header':{'back':'بازگشت','revert':'بازگردانی\x20این\x20نسخه'},'action':{'insertSheet':_0x5c632e(0xe7),'removeSheet':'ورق\x20کاری\x20حذف\x20شده','createSheet':_0x5c632e(0xf2),'setFilter':'تنظیم\x20فیلتر','setFrozen':_0x5c632e(0xf4),'editSheet':_0x5c632e(0xe8),'revertSheet':_0x5c632e(0xdc),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':_0x5c632e(0xed),'setCF':_0x5c632e(0xe5),'addCF':_0x5c632e(0xee),'addProtection':'افزودن\x20حفاظت','addSparkline':'افزودن\x20نمودار\x20کوچک','deleteProtection':_0x5c632e(0xde),'etc':_0x5c632e(0xe0)}}};module[_0x5c632e(0xf0)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3a76(_0x56ffc5,_0x441c87){const _0x27d433=_0x27d4();return _0x3a76=function(_0x3a7684,_0x2f891f){_0x3a7684=_0x3a7684-0x82;let _0x5657a9=_0x27d433[_0x3a7684];return _0x5657a9;},_0x3a76(_0x56ffc5,_0x441c87);}const _0x432cd2=_0x3a76;(function(_0x4f9097,_0x2aa48d){const _0x25b871=_0x3a76,_0x3df446=_0x4f9097();while(!![]){try{const _0x48474b=parseInt(_0x25b871(0x9f))/0x1*(-parseInt(_0x25b871(0x8e))/0x2)+-parseInt(_0x25b871(0x99))/0x3*(-parseInt(_0x25b871(0x98))/0x4)+-parseInt(_0x25b871(0x88))/0x5+-parseInt(_0x25b871(0x9a))/0x6*(-parseInt(_0x25b871(0x82))/0x7)+-parseInt(_0x25b871(0x93))/0x8+-parseInt(_0x25b871(0x85))/0x9*(-parseInt(_0x25b871(0x83))/0xa)+parseInt(_0x25b871(0x8a))/0xb*(parseInt(_0x25b871(0x96))/0xc);if(_0x48474b===_0x2aa48d)break;else _0x3df446['push'](_0x3df446['shift']());}catch(_0x39a86e){_0x3df446['push'](_0x3df446['shift']());}}}(_0x27d4,0xb3f9e));function _0x27d4(){const _0x2e224d=['902364dVztUT','Reverted\x20from','Current\x20User','reverted\x20workbook','add\x20sparkline','151lTYtst','Cancel','Restore\x20this\x20version','21sOVMdn','328290AcXCVj','Unknown\x20User','324Aievkl','Restore\x20this\x20version?','Reverting,\x20please\x20wait...','6573960dxzWJr','set\x20conditional\x20formatting','11gOUugN','set\x20filter','deleted\x20worksheet','exports','8594cnvKOo','inserted\x20worksheet','created\x20workbook','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','edited\x20worksheet','593680sUEsHn','Confirm','set\x20data\x20validation','2447916cFPDrr','add\x20protection','1208DUSAmW','9318ECVZiu'];_0x27d4=function(){return _0x2e224d;};return _0x27d4();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x432cd2(0x84),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x432cd2(0x86),'revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x432cd2(0xa0),'confirm':_0x432cd2(0x94),'reverting':_0x432cd2(0x87),'revertFailed':_0x432cd2(0x91),'currentVersion':'Current\x20Version','currentUser':_0x432cd2(0x9c),'revertDesc':_0x432cd2(0xa1)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x432cd2(0xa1)},'action':{'insertSheet':_0x432cd2(0x8f),'removeSheet':_0x432cd2(0x8c),'createSheet':_0x432cd2(0x90),'setFilter':_0x432cd2(0x8b),'setFrozen':'set\x20frozen','editSheet':_0x432cd2(0x92),'revertSheet':_0x432cd2(0x9d),'revertSheetPrefix':_0x432cd2(0x9b),'revertSheetSuffix':'','setDV':_0x432cd2(0x95),'setCF':_0x432cd2(0x89),'addCF':'add\x20conditional\x20formatting','addProtection':_0x432cd2(0x97),'addSparkline':_0x432cd2(0x9e),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;module[_0x432cd2(0x8d)]=t;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x146af1=_0x259c;function _0x9a4e(){const _0x293de4=['290LNXNiE','Failed\x20to\x20get\x20edit\x20history\x20list','148824ytHJmP','set\x20filter','4880Eeyhye','Confirm','set\x20frozen','329Tskalm','deleted\x20worksheet','Edit\x20History','exports','add\x20conditional\x20formatting','loading,\x20please\x20wait...','Back','290yxJZbD','inserted\x20worksheet','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Restore\x20this\x20version?','Restore\x20this\x20version','10719ouNhcD','delete\x20protection','10vTMHGw','Reverted\x20from','Unknown\x20User','53744892KaxpnN','Current\x20Version','add\x20protection',',\x20etc.','3465063sflNDZ','102392sQWQsP','Reverting,\x20please\x20wait...','set\x20conditional\x20formatting','add\x20sparkline','3377HLUPdy','165463znvrde'];_0x9a4e=function(){return _0x293de4;};return _0x9a4e();}(function(_0x74d8bf,_0x24f8cf){const _0x2ab609=_0x259c,_0x3545bf=_0x74d8bf();while(!![]){try{const _0x1d5f9d=parseInt(_0x2ab609(0xb8))/0x1*(parseInt(_0x2ab609(0xab))/0x2)+-parseInt(_0x2ab609(0xb2))/0x3+-parseInt(_0x2ab609(0xb3))/0x4*(parseInt(_0x2ab609(0x96))/0x5)+parseInt(_0x2ab609(0x98))/0x6*(-parseInt(_0x2ab609(0x9d))/0x7)+parseInt(_0x2ab609(0x9a))/0x8*(-parseInt(_0x2ab609(0xa9))/0x9)+-parseInt(_0x2ab609(0xa4))/0xa*(parseInt(_0x2ab609(0xb7))/0xb)+parseInt(_0x2ab609(0xae))/0xc;if(_0x1d5f9d===_0x24f8cf)break;else _0x3545bf['push'](_0x3545bf['shift']());}catch(_0x24c594){_0x3545bf['push'](_0x3545bf['shift']());}}}(_0x9a4e,0xbacde));function _0x259c(_0x2a5e6f,_0x56e1fa){const _0x9a4e81=_0x9a4e();return _0x259c=function(_0x259c14,_0x2ee1d0){_0x259c14=_0x259c14-0x96;let _0x1baf82=_0x9a4e81[_0x259c14];return _0x1baf82;},_0x259c(_0x2a5e6f,_0x56e1fa);}const e={'editHistory':{'panel':{'title':_0x146af1(0x9f),'unknownUser':_0x146af1(0xad),'listFetchError':_0x146af1(0x97),'revertConfirm':_0x146af1(0xa7),'revertConfirmText':_0x146af1(0xa6),'cancel':'Cancel','confirm':_0x146af1(0x9b),'reverting':_0x146af1(0xb4),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x146af1(0xaf),'currentUser':'Current\x20User','revertDesc':_0x146af1(0xa8)},'info':{'loading':_0x146af1(0xa2)},'header':{'back':_0x146af1(0xa3),'revert':_0x146af1(0xa8)},'action':{'insertSheet':_0x146af1(0xa5),'removeSheet':_0x146af1(0x9e),'createSheet':'created\x20workbook','setFilter':_0x146af1(0x99),'setFrozen':_0x146af1(0x9c),'editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x146af1(0xac),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x146af1(0xb5),'addCF':_0x146af1(0xa1),'addProtection':_0x146af1(0xb0),'addSparkline':_0x146af1(0xb6),'deleteProtection':_0x146af1(0xaa),'etc':_0x146af1(0xb1)}}};module[_0x146af1(0xa0)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x53f285=_0x5ec1;(function(_0xfba070,_0x4bf5e3){const _0x2cfce6=_0x5ec1,_0x1aaee2=_0xfba070();while(!![]){try{const _0x15825b=-parseInt(_0x2cfce6(0xaf))/0x1*(-parseInt(_0x2cfce6(0xb1))/0x2)+parseInt(_0x2cfce6(0xb5))/0x3+-parseInt(_0x2cfce6(0xad))/0x4*(-parseInt(_0x2cfce6(0x9e))/0x5)+-parseInt(_0x2cfce6(0xae))/0x6+-parseInt(_0x2cfce6(0xaa))/0x7*(parseInt(_0x2cfce6(0xa9))/0x8)+parseInt(_0x2cfce6(0xa5))/0x9*(parseInt(_0x2cfce6(0xba))/0xa)+-parseInt(_0x2cfce6(0x9c))/0xb;if(_0x15825b===_0x4bf5e3)break;else _0x1aaee2['push'](_0x1aaee2['shift']());}catch(_0x580061){_0x1aaee2['push'](_0x1aaee2['shift']());}}}(_0x113b,0xbeef4));function _0x113b(){const _0x34b692=['add\x20sparkline','Current\x20Version','delete\x20protection','2877561nsLBFV','Restore\x20this\x20version','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','8bCPdlV','729421NVYCuV','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20User','404MYGPQB','4474758IEDrVq','110613nyqBlU','Confirm','2RHSydP','Cancel','set\x20data\x20validation','set\x20frozen','3392085SbdPJh','Unknown\x20User','edited\x20worksheet','inserted\x20worksheet','set\x20conditional\x20formatting','10nEFAIs','11862994ObquiX','Reverted\x20from','56905wUdWPG','set\x20filter','loading,\x20please\x20wait...','reverted\x20workbook'];_0x113b=function(){return _0x34b692;};return _0x113b();}function _0x5ec1(_0x2857d4,_0x5ac15d){const _0x113b1d=_0x113b();return _0x5ec1=function(_0x5ec118,_0x562fbb){_0x5ec118=_0x5ec118-0x9c;let _0x41901b=_0x113b1d[_0x5ec118];return _0x41901b;},_0x5ec1(_0x2857d4,_0x5ac15d);}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x53f285(0xb6),'listFetchError':_0x53f285(0xab),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x53f285(0xa8),'cancel':_0x53f285(0xb2),'confirm':_0x53f285(0xb0),'reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x53f285(0xa7),'currentVersion':_0x53f285(0xa3),'currentUser':_0x53f285(0xac),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x53f285(0xa0)},'header':{'back':'Back','revert':_0x53f285(0xa6)},'action':{'insertSheet':_0x53f285(0xb8),'removeSheet':'deleted\x20worksheet','createSheet':'created\x20workbook','setFilter':_0x53f285(0x9f),'setFrozen':_0x53f285(0xb4),'editSheet':_0x53f285(0xb7),'revertSheet':_0x53f285(0xa1),'revertSheetPrefix':_0x53f285(0x9d),'revertSheetSuffix':'','setDV':_0x53f285(0xb3),'setCF':_0x53f285(0xb9),'addCF':'add\x20conditional\x20formatting','addProtection':'add\x20protection','addSparkline':_0x53f285(0xa2),'deleteProtection':_0x53f285(0xa4),'etc':',\x20etc.'}}},t=e;module['exports']=t;
|