@univerjs-pro/edit-history-viewer 0.9.2-nightly.202507151607 → 0.9.2-nightly.202507161608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x375115=_0x30cb;(function(_0xb289e3,_0x260aef){const _0x61327c=_0x30cb,_0x2e751a=_0xb289e3();while(!![]){try{const _0x28abf5=parseInt(_0x61327c(0x28b))/0x1+-parseInt(_0x61327c(0x1ce))/0x2+-parseInt(_0x61327c(0x281))/0x3+-parseInt(_0x61327c(0x13a))/0x4*(parseInt(_0x61327c(0x1a8))/0x5)+parseInt(_0x61327c(0x1fe))/0x6*(-parseInt(_0x61327c(0xd8))/0x7)+-parseInt(_0x61327c(0x166))/0x8*(parseInt(_0x61327c(0xda))/0x9)+parseInt(_0x61327c(0x1e2))/0xa;if(_0x28abf5===_0x260aef)break;else _0x2e751a['push'](_0x2e751a['shift']());}catch(_0x7ba461){_0x2e751a['push'](_0x2e751a['shift']());}}}(_0x2520,0x613a1));var pe=Object[_0x375115(0x233)],Ee=(_0x3818bf,_0x23bf66,_0x50e1d5)=>_0x23bf66 in _0x3818bf?pe(_0x3818bf,_0x23bf66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50e1d5}):_0x3818bf[_0x23bf66]=_0x50e1d5,_=(_0x4e1d43,_0x8e2b68,_0x4db72d)=>Ee(_0x4e1d43,typeof _0x8e2b68!='symbol'?_0x8e2b68+'':_0x8e2b68,_0x4db72d);Object[_0x375115(0x233)](exports,Symbol[_0x375115(0x116)],{'value':_0x375115(0x237)});const b=require('@univerjs-pro/collaboration'),re=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core'),Me=require('@univerjs/drawing'),x=require('@univerjs/engine-render'),ce=require('@univerjs/network'),L=require('@univerjs/sheets-ui'),I=require('@univerjs/ui'),C=require('@univerjs/design'),u=require('@univerjs/sheets'),E=require('rxjs'),Re=require('@univerjs-pro/sheets-sparkline'),K=require('@univerjs/data-validation'),Q=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),h=require('react/jsx-runtime'),m=require('react'),Oe=require('@univerjs-pro/collaboration-client-ui'),ue=_0x375115(0x12d),ne={};var be=Object['getOwnPropertyDescriptor'],Ne=(_0x443cc4,_0x4ad88e,_0x116c1b,_0x5ef297)=>{for(var _0x3e1b77=_0x5ef297>0x1?void 0x0:_0x5ef297?be(_0x4ad88e,_0x116c1b):_0x4ad88e,_0x335365=_0x443cc4['length']-0x1,_0x177282;_0x335365>=0x0;_0x335365--)(_0x177282=_0x443cc4[_0x335365])&&(_0x3e1b77=_0x177282(_0x3e1b77)||_0x3e1b77);return _0x3e1b77;},De=(_0x4e2972,_0x595fad)=>(_0xf07195,_0x48a5e2)=>_0x595fad(_0xf07195,_0x48a5e2,_0x4e2972);let H=class extends l[_0x375115(0x197)]{constructor(_0xd363d8){const _0x2abd55=_0x375115;super(),this[_0x2abd55(0xa5)]=_0xd363d8,this[_0x2abd55(0x1b0)]();}[_0x375115(0x1b0)](){const _0x439cf8=_0x375115;this['disposeWithMe'](this[_0x439cf8(0xa5)][_0x439cf8(0x1ed)][_0x439cf8(0x12b)](_0x20cf74=>{const _0x45279f=_0x439cf8;_0x20cf74!=null&&_0x20cf74['show']&&this[_0x45279f(0xa5)][_0x45279f(0x1de)]({'show':!0x1});}));}};H=Ne([De(0x0,L['ICellEditorManagerService'])],H);var A=(_0x88835f=>(_0x88835f[_0x88835f['UNDEFINED']=0x0]='UNDEFINED',_0x88835f[_0x88835f['OK']=0x1]='OK',_0x88835f[_0x88835f[_0x375115(0x102)]=0x2]=_0x375115(0x102),_0x88835f[_0x88835f['PERMISSION_DENIED']=0x3]=_0x375115(0x23c),_0x88835f[_0x88835f[_0x375115(0x16d)]=0x4]=_0x375115(0x16d),_0x88835f[_0x88835f[_0x375115(0x231)]=0x5]='UNAUTHENTICATED',_0x88835f[_0x88835f[_0x375115(0x1f1)]=0x6]='ALREADY_EXISTS',_0x88835f[_0x88835f[_0x375115(0x22f)]=0x7]=_0x375115(0x22f),_0x88835f[_0x88835f[_0x375115(0x1e4)]=0x8]=_0x375115(0x1e4),_0x88835f[_0x88835f[_0x375115(0x12c)]=0x9]=_0x375115(0x12c),_0x88835f[_0x88835f[_0x375115(0x14c)]=0xa]=_0x375115(0x14c),_0x88835f[_0x88835f[_0x375115(0x15a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x88835f[_0x88835f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x375115(0x9f),_0x88835f[_0x88835f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x375115(0xb9),_0x88835f[_0x88835f[_0x375115(0xd3)]=0xe]=_0x375115(0xd3),_0x88835f[_0x88835f['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x88835f[_0x88835f[_0x375115(0xf6)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x88835f[_0x88835f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x88835f[_0x88835f[_0x375115(0x278)]=0x1773]=_0x375115(0x278),_0x88835f[_0x88835f['APPLY_REJECT']=0x1b59]=_0x375115(0x1e9),_0x88835f[_0x88835f[_0x375115(0x199)]=0x1b5a]=_0x375115(0x199),_0x88835f[_0x88835f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x375115(0x279),_0x88835f[_0x88835f[_0x375115(0x17b)]=0x1b5c]=_0x375115(0x17b),_0x88835f[_0x88835f[_0x375115(0x256)]=0x1b5d]='APPLY_DUPLICATED',_0x88835f[_0x88835f[_0x375115(0x249)]=0x1f41]=_0x375115(0x249),_0x88835f[_0x88835f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x375115(0x225),_0x88835f[_0x88835f[_0x375115(0x238)]=0x232a]=_0x375115(0x238),_0x88835f[_0x88835f[_0x375115(0x13b)]=0x232b]=_0x375115(0x13b),_0x88835f[_0x88835f[_0x375115(0xeb)]=0x232c]=_0x375115(0xeb),_0x88835f[_0x88835f[_0x375115(0x1be)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x88835f[_0x88835f[_0x375115(0xab)]=0x2711]=_0x375115(0xab),_0x88835f[_0x88835f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x375115(0x1f8),_0x88835f[_0x88835f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x375115(0x276),_0x88835f[_0x88835f[_0x375115(0x25f)]=0x2714]=_0x375115(0x25f),_0x88835f[_0x88835f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x375115(0x1aa),_0x88835f[_0x88835f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x375115(0xcb),_0x88835f[_0x88835f[_0x375115(0xa8)]=0x271c]=_0x375115(0xa8),_0x88835f[_0x88835f[_0x375115(0x184)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x88835f[_0x88835f[_0x375115(0x8e)]=0x271e]=_0x375115(0x8e),_0x88835f[_0x88835f[_0x375115(0x8d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x88835f[_0x88835f[_0x375115(0x258)]=0x2720]=_0x375115(0x258),_0x88835f[_0x88835f[_0x375115(0x257)]=0x2af9]=_0x375115(0x257),_0x88835f[_0x88835f[_0x375115(0x239)]=0x2ee1]=_0x375115(0x239),_0x88835f[_0x88835f[_0x375115(0x273)]=0x2ee2]=_0x375115(0x273),_0x88835f[_0x88835f[_0x375115(0x1b4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x88835f[_0x88835f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x375115(0x1b1),_0x88835f[_0x88835f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x375115(0x1f3),_0x88835f[_0x88835f[_0x375115(0x156)]=0x32c9]=_0x375115(0x156),_0x88835f[_0x88835f[_0x375115(0x109)]=0x32ca]=_0x375115(0x109),_0x88835f[_0x88835f[_0x375115(0x287)]=0x32cb]=_0x375115(0x287),_0x88835f[_0x88835f[_0x375115(0x91)]=-0x1]='UNRECOGNIZED',_0x88835f))(A||{}),j=(_0x1d29f6=>(_0x1d29f6[_0x1d29f6[_0x375115(0x183)]=0x0]=_0x375115(0x183),_0x1d29f6[_0x1d29f6[_0x375115(0x15d)]=0x1]='UNIVER_DOC',_0x1d29f6[_0x1d29f6[_0x375115(0x170)]=0x2]=_0x375115(0x170),_0x1d29f6[_0x1d29f6[_0x375115(0x1f2)]=0x3]=_0x375115(0x1f2),_0x1d29f6[_0x1d29f6[_0x375115(0x23a)]=0x4]='UNIVER_PROJECT',_0x1d29f6[_0x1d29f6[_0x375115(0x91)]=-0x1]=_0x375115(0x91),_0x1d29f6))(j||{}),y=(_0x23441d=>(_0x23441d[_0x23441d[_0x375115(0x251)]=0x0]=_0x375115(0x251),_0x23441d[_0x23441d[_0x375115(0x23d)]=0x1]=_0x375115(0x23d),_0x23441d[_0x23441d[_0x375115(0xac)]=0x2]=_0x375115(0xac),_0x23441d[_0x23441d['Print']=0x3]='Print',_0x23441d[_0x23441d[_0x375115(0x206)]=0x4]='Duplicate',_0x23441d[_0x23441d[_0x375115(0x245)]=0x5]=_0x375115(0x245),_0x23441d[_0x23441d[_0x375115(0x114)]=0x6]=_0x375115(0x114),_0x23441d[_0x23441d[_0x375115(0x189)]=0x7]='Share',_0x23441d[_0x23441d['Export']=0x8]=_0x375115(0x1d7),_0x23441d[_0x23441d[_0x375115(0x1df)]=0x9]=_0x375115(0x1df),_0x23441d[_0x23441d['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x23441d[_0x23441d[_0x375115(0x90)]=0xb]='HideWorksheet',_0x23441d[_0x23441d[_0x375115(0x172)]=0xc]=_0x375115(0x172),_0x23441d[_0x23441d['CreateWorksheet']=0xd]=_0x375115(0x1b3),_0x23441d[_0x23441d[_0x375115(0x17a)]=0xe]=_0x375115(0x17a),_0x23441d[_0x23441d[_0x375115(0x179)]=0xf]=_0x375115(0x179),_0x23441d[_0x23441d[_0x375115(0x1bf)]=0x10]='InsertHyperlink',_0x23441d[_0x23441d[_0x375115(0xb6)]=0x11]=_0x375115(0xb6),_0x23441d[_0x23441d[_0x375115(0x224)]=0x12]=_0x375115(0x224),_0x23441d[_0x23441d['PivotTable']=0x13]='PivotTable',_0x23441d[_0x23441d['FloatImg']=0x14]=_0x375115(0xf4),_0x23441d[_0x23441d['History']=0x15]=_0x375115(0x1d4),_0x23441d[_0x23441d[_0x375115(0x1d0)]=0x16]=_0x375115(0x1d0),_0x23441d[_0x23441d[_0x375115(0xfa)]=0x17]='ViemRwHgtClWdt',_0x23441d[_0x23441d['ViewFilter']=0x18]='ViewFilter',_0x23441d[_0x23441d['MoveSheet']=0x19]=_0x375115(0x147),_0x23441d[_0x23441d[_0x375115(0x142)]=0x1a]=_0x375115(0x142),_0x23441d[_0x23441d[_0x375115(0x232)]=0x1b]='HideSheet',_0x23441d[_0x23441d[_0x375115(0x26e)]=0x1c]=_0x375115(0x26e),_0x23441d[_0x23441d[_0x375115(0x129)]=0x1d]=_0x375115(0x129),_0x23441d[_0x23441d[_0x375115(0x1a0)]=0x1e]=_0x375115(0x1a0),_0x23441d[_0x23441d['SelectProtectedCells']=0x1f]=_0x375115(0x1ae),_0x23441d[_0x23441d[_0x375115(0x26a)]=0x20]='SelectUnProtectedCells',_0x23441d[_0x23441d['SetCellStyle']=0x21]=_0x375115(0xe3),_0x23441d[_0x23441d[_0x375115(0x1c4)]=0x22]='SetCellValue',_0x23441d[_0x23441d['SetRowStyle']=0x23]=_0x375115(0x104),_0x23441d[_0x23441d[_0x375115(0x182)]=0x24]=_0x375115(0x182),_0x23441d[_0x23441d['InsertRow']=0x25]='InsertRow',_0x23441d[_0x23441d[_0x375115(0x28f)]=0x26]=_0x375115(0x28f),_0x23441d[_0x23441d['DeleteRow']=0x27]=_0x375115(0x154),_0x23441d[_0x23441d[_0x375115(0x18f)]=0x28]=_0x375115(0x18f),_0x23441d[_0x23441d[_0x375115(0xe5)]=0x29]=_0x375115(0xe5),_0x23441d[_0x23441d[_0x375115(0xf7)]=0x2a]='Delete',_0x23441d[_0x23441d['RecoverHistory']=0x2b]=_0x375115(0x282),_0x23441d[_0x23441d[_0x375115(0x1c3)]=0x2c]=_0x375115(0x1c3),_0x23441d[_0x23441d[_0x375115(0x1d2)]=0x2d]='CreatePermissionObject',_0x23441d[_0x23441d[_0x375115(0x91)]=-0x1]=_0x375115(0x91),_0x23441d))(y||{});function ye(_0x540603){const _0x10c69b=_0x375115;return!!(_0x540603&&_0x540603[_0x10c69b(0x21e)]&&_0x540603[_0x10c69b(0x21e)]!==A['OK']&&_0x540603['code']!=='OK');}const ee=(_0x14feee,_0x146d60)=>{const _0x49692e=_0x375115;if(!_0x14feee)return{'date':'','time':''};const _0x4aa2b2=new Date(_0x14feee),_0x4b1827=_0x4aa2b2[_0x49692e(0xc0)]()[_0x49692e(0x195)]('T')[0x0];switch(_0x146d60){case l[_0x49692e(0x152)][_0x49692e(0x105)]:return{'date':J(_0x4b1827,_0x146d60),'time':_0x4aa2b2[_0x49692e(0xad)]()+':'+String(_0x4aa2b2[_0x49692e(0x1f9)]())[_0x49692e(0x26f)](0x2,'0')};default:return{'date':J(_0x4b1827,_0x146d60),'time':_0x4aa2b2['getHours']()+':'+_0x4aa2b2[_0x49692e(0x1f9)]()};}},Ce=(_0x45ae7a,_0x54771b)=>{const _0x20448c=_0x375115,_0x43599e=_0x45ae7a[_0x20448c(0x144)]||_0x54771b['t'](_0x20448c(0x1fd));if(_0x45ae7a[_0x20448c(0xfb)]['some'](_0x250832=>_0x250832===b[_0x20448c(0xfd)]['id'])&&_0x45ae7a[_0x20448c(0x9b)]){const _0x2d2790=ee(_0x45ae7a[_0x20448c(0x9b)],_0x54771b['getCurrentLocale']()),_0xb7ffa5=_0x2d2790[_0x20448c(0x191)]+'\x20'+_0x2d2790['time'];return _0x43599e+'\x20'+_0x54771b['t']('editHistory.action.revertSheetPrefix')+'\x20'+_0xb7ffa5+'\x20'+_0x54771b['t'](_0x20448c(0x1ec));}const _0x4a894c=we(_0x45ae7a),_0x3c9fac=_0x4a894c[_0x20448c(0x1d6)]===0x1?_0x54771b['t'](_0x4a894c[0x0]):''+_0x54771b['t'](_0x4a894c[0x0])+_0x54771b['t']('editHistory.action.etc');return _0x43599e+'\x20'+_0x3c9fac;};function we(_0x48782f){const _0x31d85b=_0x375115;if(_0x48782f[_0x31d85b(0xfb)][_0x31d85b(0x1d6)]===0x0)return[''];const _0x59a64f=_0x31d85b(0xb0),_0x17d845=_0x59a64f+'editSheet',_0x1a7ed0=[{'id':b[_0x31d85b(0x150)]['id'],'action':_0x59a64f+'createSheet'},{'id':b[_0x31d85b(0xfd)]['id'],'action':_0x59a64f+_0x31d85b(0x10a)},{'id':u[_0x31d85b(0xec)]['id'],'action':_0x59a64f+_0x31d85b(0x1b5)},{'id':u[_0x31d85b(0x9a)]['id'],'action':_0x59a64f+_0x31d85b(0x27b)},{'id':u[_0x31d85b(0x283)]['id'],'action':_0x59a64f+'setFrozen'},{'id':le[_0x31d85b(0x269)]['id'],'action':_0x59a64f+'setFilter'},{'id':K[_0x31d85b(0x205)]['id'],'action':_0x59a64f+_0x31d85b(0x19a)},{'id':K['UpdateDataValidationMutation']['id'],'action':_0x59a64f+_0x31d85b(0x19a)},{'id':Q[_0x31d85b(0xf8)]['id'],'action':_0x59a64f+_0x31d85b(0x1c5)},{'id':Q[_0x31d85b(0x22d)]['id'],'action':_0x59a64f+_0x31d85b(0x1c5)},{'id':u['AddWorksheetProtectionMutation']['id'],'action':_0x59a64f+'addProtection'},{'id':u[_0x31d85b(0x174)]['id'],'action':_0x59a64f+'addProtection'},{'id':Re[_0x31d85b(0x219)]['id'],'action':_0x59a64f+_0x31d85b(0x18a)},{'id':u[_0x31d85b(0x261)]['id'],'action':_0x59a64f+_0x31d85b(0x266)},{'id':u[_0x31d85b(0xe8)]['id'],'action':_0x59a64f+_0x31d85b(0x266)}][_0x31d85b(0x27c)](_0x2240e7=>_0x48782f[_0x31d85b(0xfb)][_0x31d85b(0xe9)](_0x2240e7['id']));return _0x1a7ed0!=null&&_0x1a7ed0[_0x31d85b(0x1d6)]?_0x1a7ed0[_0x31d85b(0x207)](_0x1125db=>_0x1125db[_0x31d85b(0x164)]):[_0x17d845];}function J(_0x2a0928,_0x5d62b6){const _0x6e749=_0x375115,[_0x2e3189,_0x1c6040,_0x3225fc]=new Date()[_0x6e749(0xc0)]()[_0x6e749(0x195)]('T')[0x0]['split']('-'),[_0x442683,_0x1834ad,_0x362832]=_0x2a0928[_0x6e749(0x195)]('-'),_0x19e83d=_0x2e3189===_0x442683&&_0x1c6040===_0x1834ad&&_0x3225fc===_0x362832;let _0x139132='',_0x5d7fa7='',_0x38b02e='';switch(_0x5d62b6){case l['LocaleType'][_0x6e749(0x105)]:return _0x19e83d?'今天':(_0x139132=_0x2e3189===_0x442683?'':_0x442683+'年',_0x5d7fa7=_0x1834ad+'月',_0x38b02e=_0x362832+'日',''+_0x139132+_0x5d7fa7+_0x38b02e);default:return _0x19e83d?_0x6e749(0x8b):(_0x139132=_0x2e3189===_0x442683?'':_0x442683+'-',_0x5d7fa7=_0x1834ad+'-',_0x38b02e=''+_0x362832,''+_0x139132+_0x5d7fa7+_0x38b02e);}}function _0x30cb(_0x4734e5,_0x336b6c){const _0x2520af=_0x2520();return _0x30cb=function(_0x30cb98,_0x2d410a){_0x30cb98=_0x30cb98-0x88;let _0x4d2da2=_0x2520af[_0x30cb98];return _0x4d2da2;},_0x30cb(_0x4734e5,_0x336b6c);}function Pe(_0x9d36c7){const _0x175172=_0x375115;return _0x9d36c7?_0x9d36c7[_0x175172(0x10f)]((_0x304601,_0x5cb552)=>{const _0x10e03e=_0x175172,_0x1607f4=new Date(_0x5cb552[_0x10e03e(0x28e)])[_0x10e03e(0xc0)]()[_0x10e03e(0x195)]('T')[0x0];return _0x304601['length']>0x0&&_0x304601[_0x304601[_0x10e03e(0x1d6)]-0x1][_0x10e03e(0x177)]===_0x1607f4?_0x304601[_0x304601[_0x10e03e(0x1d6)]-0x1]['versions'][_0x10e03e(0xde)](_0x5cb552):_0x304601[_0x10e03e(0xde)]({'dateString':_0x1607f4,'versions':[_0x5cb552]}),_0x304601;},[]):[];}var Te=Object['getOwnPropertyDescriptor'],Le=(_0x447047,_0x52fff0,_0x470db0,_0x20988c)=>{const _0x3e2d22=_0x375115;for(var _0x33def9=_0x20988c>0x1?void 0x0:_0x20988c?Te(_0x52fff0,_0x470db0):_0x52fff0,_0x4cd41b=_0x447047[_0x3e2d22(0x1d6)]-0x1,_0x5ec898;_0x4cd41b>=0x0;_0x4cd41b--)(_0x5ec898=_0x447047[_0x4cd41b])&&(_0x33def9=_0x5ec898(_0x33def9)||_0x33def9);return _0x33def9;},w=(_0x585ee6,_0x2ee7bf)=>(_0x43e638,_0x58228a)=>_0x2ee7bf(_0x43e638,_0x58228a,_0x585ee6);const Ve=_0x375115(0x20a);let F=class extends l[_0x375115(0x197)]{constructor(_0x30752e,_0x169bd9,_0x912fd6,_0x16b135,_0x3ac48d,_0x17605f){const _0x38355e=_0x375115;super(),_(this,_0x38355e(0xc2),new Map()),(this[_0x38355e(0x28c)]=_0x30752e,this['_univerInstanceService']=_0x169bd9,this['_commandService']=_0x912fd6,this['_configService']=_0x16b135,this[_0x38355e(0xee)]=_0x3ac48d,this[_0x38355e(0xe1)]=_0x17605f);}[_0x375115(0x171)](){const _0x214498=_0x375115;this[_0x214498(0xc2)]['clear'](),super[_0x214498(0x171)]();}async['getVersions'](_0x472b25,_0x94b577){const _0x46ef31=_0x375115,_0x2f0199=this['_getAPIPrefix']()+'/'+_0x472b25+_0x46ef31(0x192)+(_0x94b577?_0x46ef31(0x8f)+_0x94b577:'');try{const _0x4e3d15=(await this[_0x46ef31(0xee)][_0x46ef31(0x1c2)](_0x2f0199))[_0x46ef31(0x216)];if(_0x4e3d15&&_0x4e3d15[_0x46ef31(0x18b)]&&_0x4e3d15[_0x46ef31(0x18b)][_0x46ef31(0x21e)]===A['OK']){const {hasMore:_0x1a95ad,lastLabel:_0x79a4c0}=_0x4e3d15,_0x1aa9d2=xe(_0x4e3d15),_0x2a7f70=_0x4e3d15[_0x46ef31(0x1a3)][_0x46ef31(0x12f)];return{'hasMore':_0x1a95ad,'lastLabel':_0x79a4c0,'versions':_0x1aa9d2,'members':_0x2a7f70};}}catch(_0x53dfbd){console[_0x46ef31(0x18b)](_0x53dfbd);}return null;}[_0x375115(0x140)](){const _0x584db6=_0x375115;var _0x1f3de5;const _0x3a3207=this['_configService']['getConfig'](ue);return(_0x1f3de5=_0x3a3207==null?void 0x0:_0x3a3207[_0x584db6(0x12e)])!=null?_0x1f3de5:Ve;}async[_0x375115(0x155)](_0x1bc88c,_0x167a98,_0x3ff446){const _0x357b87=_0x375115;var _0x4ce435,_0x87d7ba;_0x3ff446===void 0x0&&(_0x3ff446={}),this[_0x357b87(0xc2)][_0x357b87(0x10e)](_0x1bc88c)||this[_0x357b87(0xc2)][_0x357b87(0x1d3)](_0x1bc88c,new Map());const {snapshot:_0x39abfe,changesets:_0x14060b,error:_0x3c7792}=await this[_0x357b87(0x28c)][_0x357b87(0x138)](_0x3ff446,{'unitID':_0x1bc88c,'type':j['UNIVER_SHEET'],'revision':_0x167a98});if(ye(_0x3c7792)||!_0x39abfe||!_0x39abfe[_0x357b87(0x210)])throw new Error(_0x357b87(0x187));const _0x164a41=(_0x4ce435=_0x14060b==null?void 0x0:_0x14060b[_0x357b87(0x1d6)])!=null?_0x4ce435:0x0;if(_0x167a98!==0x0&&_0x39abfe[_0x357b87(0x1a5)]+_0x164a41!==_0x167a98)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x18b9bf}=_0x39abfe,_0x41fac3=_0x18b9bf[_0x357b87(0xc4)]?Object[_0x357b87(0x1a6)](_0x18b9bf[_0x357b87(0xc4)])['map'](([_0x1ebfa8,_0x485270])=>{const _0x5a3839=_0x357b87;var _0x18b41f,_0x4d2a3c;return(_0x4d2a3c=(_0x18b41f=_0x485270[_0x5a3839(0x25d)])==null?void 0x0:_0x18b41f[_0x5a3839(0x207)](_0x369297=>_0x369297))!=null?_0x4d2a3c:[];})[_0x357b87(0x11c)]():[],_0x2282e3=(await Promise['all'](_0x41fac3[_0x357b87(0x207)](_0x5d7921=>this['_snapshotServerService'][_0x357b87(0x20f)](_0x3ff446,{'unitID':_0x1bc88c,'type':j['UNIVER_SHEET'],'blockID':_0x5d7921})[_0x357b87(0x21b)](_0x2aac6c=>_0x2aac6c[_0x357b87(0x27e)]))))[_0x357b87(0x27c)](_0x289c4e=>!!_0x289c4e),_0x43e4f6=b[_0x357b87(0x8a)](_0x39abfe,_0x2282e3,_0x3ff446);return(_0x87d7ba=this[_0x357b87(0xc2)]['get'](_0x1bc88c))==null||_0x87d7ba[_0x357b87(0x1d3)](_0x167a98,{'workbook':_0x43e4f6}),new Promise(_0x3d4951=>{const _0x5d24c0=_0x357b87,_0x1f892d=this[_0x5d24c0(0x15c)]['getCurrentUnitForType'](l[_0x5d24c0(0xdd)][_0x5d24c0(0x170)]);_0x1f892d?(this['_univerInstanceService'][_0x5d24c0(0x24f)](_0x1f892d[_0x5d24c0(0x198)]()),setTimeout(()=>{this['_createUnit'](_0x43e4f6,_0x14060b),_0x3d4951(!0x0);},0x0)):(this[_0x5d24c0(0xd9)](_0x43e4f6,_0x14060b),_0x3d4951(!0x0));});}[_0x375115(0xd9)](_0x1021d2,_0x477885){const _0x334691=_0x375115,_0x4e6b98=this[_0x334691(0x15c)][_0x334691(0x23b)](l[_0x334691(0xdd)]['UNIVER_SHEET'],_0x1021d2);this[_0x334691(0x15c)]['focusUnit'](_0x4e6b98[_0x334691(0x198)]());const _0x267642=this[_0x334691(0xe1)][_0x334691(0xd6)][_0x334691(0x288)](this[_0x334691(0xe1)][_0x334691(0xd6)]['getInterceptPoints']()[_0x334691(0xcf)]);return _0x477885==null||_0x477885[_0x334691(0x137)](_0x5679be=>{const _0x252da7=_0x334691,_0x2ff0f1=_0x5679be['mutations'][_0x252da7(0x207)](_0x86738a=>({'id':_0x86738a['id'],'params':JSON[_0x252da7(0x248)](_0x86738a[_0x252da7(0xed)])}));({..._0x5679be,'mutations':_0x267642(_0x2ff0f1,null)||_0x2ff0f1}['mutations'][_0x252da7(0x137)](_0x3df8c0=>{const _0x580c93=_0x252da7;this[_0x580c93(0xb3)][_0x580c93(0xcc)](_0x3df8c0['id'])&&this[_0x580c93(0xb3)][_0x580c93(0x1ba)](_0x3df8c0['id'],_0x3df8c0['params']);}));}),_0x4e6b98;}};F=Le([w(0x0,b['ISnapshotServerService']),w(0x1,l['IUniverInstanceService']),w(0x2,l['ICommandService']),w(0x3,l[_0x375115(0x158)]),w(0x4,l['Inject'](ce[_0x375115(0x121)])),w(0x5,l[_0x375115(0xdb)](b[_0x375115(0xf0)]))],F);function xe(_0x176c4c){const _0x27bd49=_0x375115;var _0x5ec4f0,_0x52ebd8;const _0x789f6a=[],{entities:_0x204942,historyIds:_0x44a65b}=_0x176c4c,{datas:_0x321e28,users:_0x4be7eb}=_0x204942;for(const _0x5b2af0 of _0x44a65b)if(_0x321e28[_0x5b2af0]){const _0x2ccb2c=!!((_0x5ec4f0=_0x4be7eb[_0x321e28[_0x5b2af0][_0x27bd49(0x272)]])!=null&&_0x5ec4f0[_0x27bd49(0x1e0)]);_0x789f6a[_0x27bd49(0xde)]({'unitId':_0x321e28[_0x5b2af0][_0x27bd49(0x247)],'user':_0x2ccb2c?'':((_0x52ebd8=_0x4be7eb==null?void 0x0:_0x4be7eb[_0x321e28[_0x5b2af0]['userId']])==null?void 0x0:_0x52ebd8['name'])||'','isAnonymous':_0x2ccb2c,'id':_0x5b2af0,'time':_0x321e28[_0x5b2af0][_0x27bd49(0x24e)]?Number(_0x321e28[_0x5b2af0]['createTime']):void 0x0,'commands':_0x321e28[_0x5b2af0][_0x27bd49(0x11a)],'startRev':Number(_0x321e28[_0x5b2af0][_0x27bd49(0x277)]),'endRev':Number(_0x321e28[_0x5b2af0][_0x27bd49(0x243)]),'recoverTime':_0x321e28[_0x5b2af0]['recoverTime']?Number(_0x321e28[_0x5b2af0][_0x27bd49(0x9b)]):void 0x0});}return _0x789f6a;}var $e=Object[_0x375115(0x23e)],ke=(_0x27aec1,_0x4c14cf,_0x2c32f5,_0x1466cf)=>{const _0xd93484=_0x375115;for(var _0x50782c=_0x1466cf>0x1?void 0x0:_0x1466cf?$e(_0x4c14cf,_0x2c32f5):_0x4c14cf,_0x229008=_0x27aec1[_0xd93484(0x1d6)]-0x1,_0x46c9f7;_0x229008>=0x0;_0x229008--)(_0x46c9f7=_0x27aec1[_0x229008])&&(_0x50782c=_0x46c9f7(_0x50782c)||_0x50782c);return _0x50782c;},k=(_0x43584a,_0x1a1867)=>(_0x336cb0,_0x27f6e6)=>_0x1a1867(_0x336cb0,_0x27f6e6,_0x43584a),W=(_0x11456f=>(_0x11456f[_0x375115(0xe7)]=_0x375115(0x1e5),_0x11456f[_0x375115(0x173)]='exited',_0x11456f[_0x375115(0x11d)]='error',_0x11456f))(W||{}),V=(_0x52baca=>(_0x52baca[_0x375115(0x127)]=_0x375115(0x122),_0x52baca[_0x375115(0x14f)]=_0x375115(0x1ab),_0x52baca[_0x375115(0x1db)]='loaded',_0x52baca))(V||{});const Ue=_0x375115(0x106);exports[_0x375115(0x9d)]=class extends l['Disposable']{constructor(_0x2b4e5a,_0x26ed5a,_0x381250,_0x1cc9f8){const _0x6e914b=_0x375115;super(),_(this,_0x6e914b(0x16e),new E[(_0x6e914b(0x215))]([])),_(this,'versions$',this['_versions$']['asObservable']()),_(this,_0x6e914b(0x96),new E[(_0x6e914b(0x215))]('')),_(this,_0x6e914b(0x128),this[_0x6e914b(0x96)][_0x6e914b(0x1dc)]()),_(this,_0x6e914b(0x180),new E[(_0x6e914b(0x215))]('entered')),_(this,'status$',this[_0x6e914b(0x180)]['asObservable']()),_(this,'_revertRevision$',new E['BehaviorSubject'](0x0)),_(this,'revertRevision$',this[_0x6e914b(0x28a)][_0x6e914b(0x1dc)]()),_(this,_0x6e914b(0x13e),new E[(_0x6e914b(0x215))]('')),_(this,_0x6e914b(0xbf),this[_0x6e914b(0x13e)][_0x6e914b(0x1dc)]()),_(this,_0x6e914b(0xaa),!0x1),_(this,_0x6e914b(0x118),new E[(_0x6e914b(0x215))](_0x6e914b(0x122))),_(this,'loadingState$',this[_0x6e914b(0x118)]['asObservable']()),_(this,'_lastLabel',null),_(this,_0x6e914b(0x252),!0x0),_(this,_0x6e914b(0xc7),new Map()),_(this,'_historyContainerId'),_(this,_0x6e914b(0xc1)),_(this,'_maskElement'),_(this,_0x6e914b(0x20b),!0x1),(this[_0x6e914b(0xdc)]=_0x2b4e5a,this[_0x6e914b(0x235)]=_0x26ed5a,this['_localeService']=_0x381250,this[_0x6e914b(0x1cb)]=_0x1cc9f8);}async['triggerLoadVersions'](_0x204514,_0xb747c5,_0x1dd12a){const _0x5ac197=_0x375115;this['_historyContainerId']=_0xb747c5,this['_canRevert']=_0x1dd12a,this[_0x5ac197(0x13e)][_0x5ac197(0x88)](_0x204514),this['_fetching']=!0x0;const _0x2f9c24=await this[_0x5ac197(0x1cb)]['getVersions'](_0x204514);if(this['_fetching']=!0x1,_0x2f9c24){const {versions:_0x52034d,lastLabel:_0x36166f,hasMore:_0x5d0f12,members:_0x2468f9}=_0x2f9c24;_0x52034d[_0x5ac197(0x1d6)]===0x0&&_0x52034d['push']({'unitId':_0x204514,'id':Ue,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this['_localeService']['t'](_0x5ac197(0x190)),'commands':[],'isAnonymous':!0x1}),this[_0x5ac197(0x242)](_0x52034d,_0x5d0f12,_0x36166f,_0x2468f9),this['_currentVersion$']['next'](_0x52034d[0x0]['id']);}else this['_status$'][_0x5ac197(0x88)]('error');}async['loadMoreVersions'](){const _0xf4f6ea=_0x375115;if(!this[_0xf4f6ea(0x285)]||!this['_hasMore']||this[_0xf4f6ea(0xaa)])return!0x1;this['_fetching']=!0x0;const _0x2ff807=await this['_historyFetchService'][_0xf4f6ea(0x1ac)](this[_0xf4f6ea(0x247)],this[_0xf4f6ea(0x285)]);if(this[_0xf4f6ea(0xaa)]=!0x1,_0x2ff807){const {versions:_0x5d0e3f,lastLabel:_0x2d7635,hasMore:_0x48d668,members:_0x6cdac2}=_0x2ff807;this[_0xf4f6ea(0x242)](_0x5d0e3f,_0x48d668,_0x2d7635,_0x6cdac2);}else this[_0xf4f6ea(0xdc)][_0xf4f6ea(0x27a)]({'content':this['_localeService']['t'](_0xf4f6ea(0x126)),'type':C[_0xf4f6ea(0x255)][_0xf4f6ea(0x11d)],'duration':0xbb8});return!0x0;}async[_0x375115(0x130)](_0x18148a){const _0x591cfb=_0x375115;var _0x2059d6;const _0x3c2518=(_0x2059d6=this[_0x591cfb(0x16e)][_0x591cfb(0xa9)])==null?void 0x0:_0x2059d6[_0x591cfb(0xae)](_0x31dd6a=>_0x31dd6a['id']===_0x18148a),{endRev:_0x3a513a}=_0x3c2518||{};_0x3a513a||_0x3a513a===0x0?(this[_0x591cfb(0x118)][_0x591cfb(0x88)](_0x591cfb(0x1ab)),await this['_historyFetchService'][_0x591cfb(0x155)](this['unitId'],_0x3a513a),this[_0x591cfb(0x118)]['next'](_0x591cfb(0x246))):this[_0x591cfb(0x180)][_0x591cfb(0x88)]('error');}async[_0x375115(0x115)](_0x346456){const _0x5c8bc4=_0x375115,_0x538c9c=_0x346456?this[_0x5c8bc4(0x1e7)](_0x346456):this[_0x5c8bc4(0x188)]();if(!_0x538c9c)return;const _0x159496=_0x538c9c[_0x5c8bc4(0x212)],_0x4e4efe=ee(_0x538c9c[_0x5c8bc4(0x28e)],this[_0x5c8bc4(0x22c)][_0x5c8bc4(0x17d)]());await this[_0x5c8bc4(0x235)][_0x5c8bc4(0x160)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x5c8bc4(0x1e8))},'children':{'title':this[_0x5c8bc4(0x22c)]['t'](_0x5c8bc4(0x1d5))+':\x20('+_0x4e4efe[_0x5c8bc4(0x191)]+'\x20'+_0x4e4efe[_0x5c8bc4(0x28e)]+')'},'cancelText':this[_0x5c8bc4(0x22c)]['t'](_0x5c8bc4(0x103)),'confirmText':this[_0x5c8bc4(0x22c)]['t'](_0x5c8bc4(0xdf))})&&this['_revertRevision$'][_0x5c8bc4(0x88)](_0x159496);}['_updateVersions'](_0x12847c,_0x507f68,_0x18b0a5,_0x491db7){const _0x2573a2=_0x375115;this[_0x2573a2(0x16e)][_0x2573a2(0x88)](this['_versions$'][_0x2573a2(0xa9)]['concat'](_0x12847c)),this['_hasMore']=_0x507f68,this['_lastLabel']=_0x18b0a5,_0x491db7&&Object[_0x2573a2(0x145)](_0x491db7)[_0x2573a2(0x137)](_0x49fc2c=>this[_0x2573a2(0xc7)][_0x2573a2(0x1d3)](_0x49fc2c,_0x491db7[_0x49fc2c]));}['getCurrentVersion'](){const _0x4ffa2e=_0x375115;return this[_0x4ffa2e(0x1e7)](this[_0x4ffa2e(0x96)][_0x4ffa2e(0xa9)]);}[_0x375115(0x1e7)](_0x19bb89){const _0x48db49=_0x375115;var _0x36c5a3;return(_0x36c5a3=this[_0x48db49(0x16e)][_0x48db49(0xa9)])==null?void 0x0:_0x36c5a3[_0x48db49(0xae)](_0x4d4e37=>_0x4d4e37['id']===_0x19bb89);}[_0x375115(0x108)](_0x223ec9){const _0x788304=_0x375115;return this['_members'][_0x788304(0x1c2)](_0x223ec9);}[_0x375115(0x208)](){const _0x39f6d8=_0x375115;this[_0x39f6d8(0x236)]=document[_0x39f6d8(0x21a)](_0x39f6d8(0x8c)),this['_maskElement'][_0x39f6d8(0x1c1)]='history-mask',this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)]['position']=_0x39f6d8(0x146),this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)][_0x39f6d8(0x250)]='0',this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)][_0x39f6d8(0x11e)]='0',this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)]['width']=_0x39f6d8(0xe6),this['_maskElement']['style'][_0x39f6d8(0x19e)]=_0x39f6d8(0xe6),this['_maskElement'][_0x39f6d8(0x1c6)][_0x39f6d8(0x1ca)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)][_0x39f6d8(0xb7)]=_0x39f6d8(0x20d),this['_maskElement'][_0x39f6d8(0x1c6)]['display']='flex',this[_0x39f6d8(0x236)]['style'][_0x39f6d8(0x22b)]='center',this[_0x39f6d8(0x236)]['style'][_0x39f6d8(0x1a1)]=_0x39f6d8(0xef),this[_0x39f6d8(0x236)][_0x39f6d8(0x1c6)][_0x39f6d8(0x1a9)]=_0x39f6d8(0x139),this['_maskContainer'][_0x39f6d8(0x223)](this['_maskElement']);}['_initMaskContainer'](){const _0x81f47f=_0x375115;var _0x161ffe;const _0x48dbbe=(_0x161ffe=document[_0x81f47f(0x13f)](this[_0x81f47f(0x15f)]))==null?void 0x0:_0x161ffe['querySelector']('.univer-app-container-content');_0x48dbbe&&(this[_0x81f47f(0xc1)]=_0x48dbbe,this[_0x81f47f(0x208)]());}[_0x375115(0xc6)](){const _0x30d924=_0x375115;this[_0x30d924(0xc1)]||this[_0x30d924(0xa0)](),this['_maskElement']&&(this[_0x30d924(0x236)][_0x30d924(0x1c6)][_0x30d924(0x1a9)]=_0x30d924(0xe4));}[_0x375115(0x25b)](){const _0x34adb6=_0x375115;this[_0x34adb6(0x236)]&&(this['_maskElement']['style'][_0x34adb6(0x1a9)]=_0x34adb6(0x139));}set[_0x375115(0x1c7)](_0x1309bb){const _0x2e8224=_0x375115;this[_0x2e8224(0x180)][_0x2e8224(0x88)](_0x1309bb);}set[_0x375115(0x18d)](_0x54abf6){const _0x355e02=_0x375115;_0x54abf6!==this['_currentVersion$'][_0x355e02(0xa9)]&&this[_0x355e02(0x96)]['next'](_0x54abf6);}get[_0x375115(0x18d)](){const _0xbcfb68=_0x375115;return this['_currentVersion$'][_0xbcfb68(0xa9)];}set[_0x375115(0x247)](_0x17f772){this['_unitId$']['next'](_0x17f772);}get[_0x375115(0x247)](){const _0xac8546=_0x375115;return this[_0xac8546(0x13e)][_0xac8546(0xa9)];}get[_0x375115(0x274)](){const _0x3f7d0b=_0x375115;return this[_0x3f7d0b(0x20b)];}get['loadingState'](){const _0x29edcb=_0x375115;return this[_0x29edcb(0x118)][_0x29edcb(0xa9)];}},exports['HistoryManagerService']=ke([k(0x0,I['IMessageService']),k(0x1,I[_0x375115(0x275)]),k(0x2,l[_0x375115(0xdb)](l[_0x375115(0x17f)])),k(0x3,l[_0x375115(0xdb)](F))],exports['HistoryManagerService']);var R=function(){return R=Object['assign']||function(_0x41a6d6){const _0x301703=_0x30cb;for(var _0x40018f,_0x515fb5=0x1,_0x433977=arguments[_0x301703(0x1d6)];_0x515fb5<_0x433977;_0x515fb5++){_0x40018f=arguments[_0x515fb5];for(var _0x41fe9e in _0x40018f)Object[_0x301703(0x202)][_0x301703(0x194)]['call'](_0x40018f,_0x41fe9e)&&(_0x41a6d6[_0x41fe9e]=_0x40018f[_0x41fe9e]);}return _0x41a6d6;},R['apply'](this,arguments);},He=function(_0x186e31,_0x1e99dd){const _0x2a10ce=_0x375115;var _0x1f4b13={};for(var _0x10bd31 in _0x186e31)Object['prototype'][_0x2a10ce(0x194)][_0x2a10ce(0x226)](_0x186e31,_0x10bd31)&&_0x1e99dd[_0x2a10ce(0x25c)](_0x10bd31)<0x0&&(_0x1f4b13[_0x10bd31]=_0x186e31[_0x10bd31]);if(_0x186e31!=null&&typeof Object[_0x2a10ce(0x21d)]=='function'){for(var _0x122b4c=0x0,_0x10bd31=Object[_0x2a10ce(0x21d)](_0x186e31);_0x122b4c<_0x10bd31[_0x2a10ce(0x1d6)];_0x122b4c++)_0x1e99dd[_0x2a10ce(0x25c)](_0x10bd31[_0x122b4c])<0x0&&Object[_0x2a10ce(0x202)]['propertyIsEnumerable']['call'](_0x186e31,_0x10bd31[_0x122b4c])&&(_0x1f4b13[_0x10bd31[_0x122b4c]]=_0x186e31[_0x10bd31[_0x122b4c]]);}return _0x1f4b13;},X=m[_0x375115(0x18c)](function(_0x3a213f,_0x4f98c3){const _0x275d1c=_0x375115;var _0x256086=_0x3a213f[_0x275d1c(0x23f)],_0x17b8c0=_0x3a213f['id'],_0x863905=_0x3a213f['className'],_0x2cebf9=_0x3a213f[_0x275d1c(0x169)],_0x23149f=He(_0x3a213f,[_0x275d1c(0x23f),'id','className',_0x275d1c(0x169)]),_0x5776a6='univerjs-icon\x20univerjs-icon-'[_0x275d1c(0xd1)](_0x17b8c0,'\x20')[_0x275d1c(0xd1)](_0x863905||'')[_0x275d1c(0x264)](),_0xc8c524=m['useRef']('_'[_0x275d1c(0xd1)](Be()));return _e(_0x256086,''[_0x275d1c(0xd1)](_0x17b8c0),{'defIds':_0x256086[_0x275d1c(0x16a)],'idSuffix':_0xc8c524['current']},R({'ref':_0x4f98c3,'className':_0x5776a6},_0x23149f),_0x2cebf9);});function _e(_0x326461,_0x49ace1,_0x3cba31,_0x419640,_0x5de787){const _0x192686=_0x375115;return m[_0x192686(0x21a)](_0x326461[_0x192686(0x1c0)],R(R({'key':_0x49ace1},je(_0x326461,_0x3cba31,_0x5de787)),_0x419640),(Fe(_0x326461,_0x3cba31)[_0x192686(0x141)]||[])[_0x192686(0x207)](function(_0x4261f4,_0x476fad){const _0x1e31a9=_0x192686;return _e(_0x4261f4,''[_0x1e31a9(0xd1)](_0x49ace1,'-')[_0x1e31a9(0xd1)](_0x326461['tag'],'-')[_0x1e31a9(0xd1)](_0x476fad),_0x3cba31,void 0x0,_0x5de787);}));}function je(_0x58d123,_0x285b52,_0xcc11c1){const _0x320b96=_0x375115;var _0xe22b1f=R({},_0x58d123[_0x320b96(0x89)]);_0xcc11c1!=null&&_0xcc11c1[_0x320b96(0xca)]&&_0xe22b1f[_0x320b96(0x161)]===_0x320b96(0xca)&&(_0xe22b1f[_0x320b96(0x161)]=_0xcc11c1[_0x320b96(0xca)]),_0x58d123['tag']===_0x320b96(0x9e)&&_0xe22b1f['id']&&(_0xe22b1f['id']=_0xe22b1f['id']+_0x285b52['idSuffix']),Object[_0x320b96(0x1a6)](_0xe22b1f)[_0x320b96(0x137)](function(_0x5269ee){const _0x45a8e5=_0x320b96;var _0x2f26dc=_0x5269ee[0x0],_0x46e468=_0x5269ee[0x1];_0x2f26dc===_0x45a8e5(0x9e)&&typeof _0x46e468==_0x45a8e5(0x209)&&(_0xe22b1f[_0x2f26dc]=_0x46e468[_0x45a8e5(0xb1)](/url\(#(.*)\)/,_0x45a8e5(0x203)[_0x45a8e5(0xd1)](_0x285b52['idSuffix'],')')));});var _0x1d5cbf=_0x285b52[_0x320b96(0x16a)];return!_0x1d5cbf||_0x1d5cbf[_0x320b96(0x1d6)]===0x0||(_0x58d123[_0x320b96(0x1c0)]==='use'&&_0xe22b1f['xlink:href']&&(_0xe22b1f[_0x320b96(0xa3)]=_0xe22b1f[_0x320b96(0xa3)]+_0x285b52[_0x320b96(0x12a)]),Object['entries'](_0xe22b1f)[_0x320b96(0x137)](function(_0x1c1a94){const _0x41b65d=_0x320b96;var _0x56f948=_0x1c1a94[0x0],_0x5bcc11=_0x1c1a94[0x1];typeof _0x5bcc11==_0x41b65d(0x209)&&(_0xe22b1f[_0x56f948]=_0x5bcc11[_0x41b65d(0xb1)](/url\(#(.*)\)/,_0x41b65d(0x203)[_0x41b65d(0xd1)](_0x285b52[_0x41b65d(0x12a)],')')));})),_0xe22b1f;}function Fe(_0x5f5bea,_0x3e5a2a){const _0x46b3db=_0x375115;var _0x1a4800,_0x1b14cf=_0x3e5a2a[_0x46b3db(0x16a)];return!_0x1b14cf||_0x1b14cf[_0x46b3db(0x1d6)]===0x0?_0x5f5bea:_0x5f5bea[_0x46b3db(0x1c0)]===_0x46b3db(0x178)&&(!((_0x1a4800=_0x5f5bea[_0x46b3db(0x141)])===null||_0x1a4800===void 0x0)&&_0x1a4800[_0x46b3db(0x1d6)])?R(R({},_0x5f5bea),{'children':_0x5f5bea[_0x46b3db(0x141)][_0x46b3db(0x207)](function(_0x2ac9f8){const _0x3c1c05=_0x46b3db;return typeof _0x2ac9f8[_0x3c1c05(0x89)]['id']==_0x3c1c05(0x209)&&_0x1b14cf&&_0x1b14cf[_0x3c1c05(0xe9)](_0x2ac9f8['attrs']['id'])?R(R({},_0x2ac9f8),{'attrs':R(R({},_0x2ac9f8['attrs']),{'id':_0x2ac9f8[_0x3c1c05(0x89)]['id']+_0x3e5a2a['idSuffix']})}):_0x2ac9f8;})}):_0x5f5bea;}function Be(){const _0x2a8967=_0x375115;return Math[_0x2a8967(0x280)]()[_0x2a8967(0xbe)](0x24)[_0x2a8967(0x94)](0x2,0x8);}X['displayName']=_0x375115(0x227);var Ye={'tag':_0x375115(0x22e),'attrs':{'xmlns':_0x375115(0x1cf),'fill':_0x375115(0x139),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x375115(0x22a)},'children':[{'tag':_0x375115(0x134),'attrs':{'fill':_0x375115(0xf1),'d':_0x375115(0x143)}}]},he=m[_0x375115(0x18c)](function(_0x5d4b17,_0x2e5398){const _0x47dc15=_0x375115;return m[_0x47dc15(0x21a)](X,Object[_0x47dc15(0x97)]({},_0x5d4b17,{'id':_0x47dc15(0xaf),'ref':_0x2e5398,'icon':Ye}));});he[_0x375115(0x132)]=_0x375115(0x107);var Ae={'tag':_0x375115(0x22e),'attrs':{'xmlns':_0x375115(0x1cf),'fill':_0x375115(0x139),'viewBox':_0x375115(0x167),'width':'1em','height':_0x375115(0x22a)},'children':[{'tag':_0x375115(0x134),'attrs':{'fill':_0x375115(0x10d),'d':_0x375115(0x1bc),'fillOpacity':0.2,'fillRule':_0x375115(0xe2),'clipRule':_0x375115(0xe2)}},{'tag':_0x375115(0x134),'attrs':{'fill':_0x375115(0x10d),'d':_0x375115(0xf9),'fillRule':_0x375115(0xe2),'clipRule':_0x375115(0xe2)}}]},te=m[_0x375115(0x18c)](function(_0x2ce961,_0x287973){const _0x5891bb=_0x375115;return m[_0x5891bb(0x21a)](X,Object[_0x5891bb(0x97)]({},_0x2ce961,{'id':_0x5891bb(0x1d1),'ref':_0x287973,'icon':Ae}));});te['displayName']=_0x375115(0xa1);var We={'tag':'svg','attrs':{'xmlns':_0x375115(0x1cf),'fill':_0x375115(0x139),'viewBox':_0x375115(0xf2),'width':'1em','height':_0x375115(0x22a)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x375115(0x134),'attrs':{'d':_0x375115(0x13d)}},{'tag':_0x375115(0x134),'attrs':{'d':_0x375115(0xcd),'fillRule':_0x375115(0xe2),'clipRule':_0x375115(0xe2)}}]},{'tag':_0x375115(0x178),'attrs':{},'children':[{'tag':_0x375115(0x15e),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x375115(0x20d),'rx':0x4}}]}]}],'defIds':[_0x375115(0x136)]},de=m[_0x375115(0x18c)](function(_0x2d264f,_0x281a51){const _0x19cf0c=_0x375115;return m[_0x19cf0c(0x21a)](X,Object[_0x19cf0c(0x97)]({},_0x2d264f,{'id':_0x19cf0c(0xfe),'ref':_0x281a51,'icon':We}));});de[_0x375115(0x132)]=_0x375115(0x244);function Xe(){const _0x3cb611=_0x375115;var _0x44a446;const _0x5938bf=I[_0x3cb611(0x1b7)](exports[_0x3cb611(0x9d)]),_0x553ee5=I[_0x3cb611(0x1b7)](l[_0x3cb611(0x17f)]),_0x58ab8d=m['useCallback'](()=>{const _0x3db19b=_0x3cb611;_0x5938bf[_0x3db19b(0x1c7)]=W['Exited'];},[_0x5938bf]),_0x9c6669=m['useCallback'](()=>{_0x5938bf['triggerRevert']();},[_0x5938bf]),_0x1c9c4f=I[_0x3cb611(0x1cd)](_0x5938bf[_0x3cb611(0x128)]),_0x30eecb=I[_0x3cb611(0x1cd)](_0x5938bf['versions$']),_0x204ca2=_0x1c9c4f===((_0x44a446=_0x30eecb==null?void 0x0:_0x30eecb[0x0])==null?void 0x0:_0x44a446['id']),_0x50b4d1=_0x1c9c4f!==''&&!_0x204ca2&&_0x5938bf[_0x3cb611(0x274)];return h[_0x3cb611(0x240)](_0x3cb611(0x8c),{'className':C[_0x3cb611(0x1fc)](_0x3cb611(0x176),C['borderBottomClassName']),'children':[h[_0x3cb611(0x16f)](_0x3cb611(0x8c),{'onClick':_0x58ab8d,'className':_0x3cb611(0x24b),'children':h['jsx'](he,{'className':_0x3cb611(0x14a)})}),h[_0x3cb611(0x16f)](_0x3cb611(0x8c),{'className':_0x3cb611(0x19d),'children':_0x50b4d1&&h[_0x3cb611(0x16f)](C['Button'],{'variant':_0x3cb611(0x290),'onClick':_0x9c6669,'children':_0x553ee5['t']('editHistory.header.revert')})})]});}var Ge=Object[_0x375115(0x23e)],qe=(_0x179e55,_0x44c24d,_0x41f468,_0x222eaa)=>{for(var _0x363bf4=_0x222eaa>0x1?void 0x0:_0x222eaa?Ge(_0x44c24d,_0x41f468):_0x44c24d,_0x5bbe6d=_0x179e55['length']-0x1,_0x118092;_0x5bbe6d>=0x0;_0x5bbe6d--)(_0x118092=_0x179e55[_0x5bbe6d])&&(_0x363bf4=_0x118092(_0x363bf4)||_0x363bf4);return _0x363bf4;},P=(_0x57940d,_0x5bdca1)=>(_0x4f6054,_0x213c5e)=>_0x5bdca1(_0x4f6054,_0x213c5e,_0x57940d);let B=class extends l[_0x375115(0x197)]{constructor(_0x560745,_0x377ec0,_0x1031f4,_0x9a1ceb,_0x33789e,_0x5c28f7){const _0x2c7710=_0x375115;super(),this[_0x2c7710(0x10c)]=_0x560745,this['_uiPartsService']=_0x377ec0,this[_0x2c7710(0xdc)]=_0x1031f4,this[_0x2c7710(0x22c)]=_0x9a1ceb,this['_historyManagerService']=_0x33789e,this['_injector']=_0x5c28f7,this[_0x2c7710(0x1b0)]();}['_init'](){const _0x32c42d=_0x375115;this[_0x32c42d(0x1f7)](this[_0x32c42d(0x19f)][_0x32c42d(0x128)][_0x32c42d(0x12b)](_0x348792=>{const _0x271330=_0x32c42d;_0x348792&&this[_0x271330(0x19f)][_0x271330(0x130)](_0x348792);})),this[_0x32c42d(0x1f7)](this[_0x32c42d(0x10c)]['permissionPointUpdate$']['subscribe'](_0x2b0575=>{const _0xdebd88=_0x32c42d,_0x46126f=this['_historyManagerService'][_0xdebd88(0x247)];_0x46126f&&(_0x2b0575[_0xdebd88(0x27d)]===y[_0xdebd88(0x23d)]&&_0x2b0575[_0xdebd88(0xa9)]===!0x0&&this[_0xdebd88(0x10c)][_0xdebd88(0x1a2)](new u[(_0xdebd88(0x284))](_0x46126f)['id'],!0x1),_0x2b0575[_0xdebd88(0x27d)]===y[_0xdebd88(0x129)]&&_0x2b0575[_0xdebd88(0xa9)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new u[(_0xdebd88(0x271))](_0x46126f)['id'],!0x1),_0x2b0575['subType']===y['MoveSheet']&&_0x2b0575[_0xdebd88(0xa9)]===!0x0&&this[_0xdebd88(0x10c)][_0xdebd88(0x1a2)](new u[(_0xdebd88(0x24a))](_0x46126f)['id'],!0x1),_0x2b0575[_0xdebd88(0x27d)]===y[_0xdebd88(0x232)]&&_0x2b0575[_0xdebd88(0xa9)]===!0x0&&this[_0xdebd88(0x10c)][_0xdebd88(0x1a2)](new u[(_0xdebd88(0x159))](_0x46126f)['id'],!0x1),_0x2b0575[_0xdebd88(0x27d)]===y[_0xdebd88(0x245)]&&_0x2b0575['value']===!0x0&&this[_0xdebd88(0x10c)][_0xdebd88(0x1a2)](new u[(_0xdebd88(0x284))](_0x46126f)['id'],!0x1),_0x2b0575['subType']===y[_0xdebd88(0xf4)]&&_0x2b0575['value']===!0x0&&this[_0xdebd88(0x10c)]['updatePermissionPoint'](new u[(_0xdebd88(0x284))](_0x46126f)['id'],!0x1));})),this[_0x32c42d(0x1f7)](this[_0x32c42d(0x92)][_0x32c42d(0x131)](I[_0x32c42d(0x221)][_0x32c42d(0x27f)],()=>I['connectInjector'](Xe,this[_0x32c42d(0x20e)]))),this['disposeWithMe'](this[_0x32c42d(0x19f)][_0x32c42d(0x234)]['subscribe'](_0x30e3e9=>{const _0x3d8bd3=_0x32c42d;_0x30e3e9===V['Loading']&&(this[_0x3d8bd3(0x19f)][_0x3d8bd3(0xc6)](),this[_0x3d8bd3(0xdc)][_0x3d8bd3(0x27a)]({'type':C[_0x3d8bd3(0x255)]['Info'],'content':this['_localeService']['t'](_0x3d8bd3(0x25e))})),_0x30e3e9===V[_0x3d8bd3(0x1db)]&&this[_0x3d8bd3(0x19f)][_0x3d8bd3(0x25b)]();}));}};B=qe([P(0x0,l['IPermissionService']),P(0x1,I[_0x375115(0x163)]),P(0x2,I[_0x375115(0xbd)]),P(0x3,l[_0x375115(0xdb)](l['LocaleService'])),P(0x4,l[_0x375115(0xdb)](exports[_0x375115(0x9d)])),P(0x5,l[_0x375115(0xdb)](l[_0x375115(0x1eb)]))],B);var Ze=Object['getOwnPropertyDescriptor'],Ke=(_0x47ee6b,_0x3ba6e8,_0x52d50c,_0x50ba00)=>{for(var _0x34b652=_0x50ba00>0x1?void 0x0:_0x50ba00?Ze(_0x3ba6e8,_0x52d50c):_0x3ba6e8,_0x371e58=_0x47ee6b['length']-0x1,_0x1b83be;_0x371e58>=0x0;_0x371e58--)(_0x1b83be=_0x47ee6b[_0x371e58])&&(_0x34b652=_0x1b83be(_0x34b652)||_0x34b652);return _0x34b652;},q=(_0x4bac5c,_0x13a251)=>(_0x41af5f,_0xea0a44)=>_0x13a251(_0x41af5f,_0xea0a44,_0x4bac5c);let $=class extends l[_0x375115(0x197)]{constructor(_0x434d58,_0x59b1f6,_0x451557){const _0x10e538=_0x375115;super(),_(this,_0x10e538(0x213),new Map()),_(this,_0x10e538(0x24d),new E['BehaviorSubject']({'ranges':new Map(),'active':null})),_(this,_0x10e538(0x1e1),this[_0x10e538(0x24d)]['asObservable']()),(this[_0x10e538(0x19f)]=_0x434d58,this[_0x10e538(0xc5)]=_0x59b1f6,this[_0x10e538(0x28c)]=_0x451557,this['_init']());}['_init'](){const _0x576888=_0x375115;this[_0x576888(0x213)]=new Map(),this[_0x576888(0x1f7)](this[_0x576888(0x19f)]['unitId$'][_0x576888(0x12b)](_0x324c27=>{const _0x103e12=_0x576888;_0x324c27&&!this[_0x103e12(0x213)][_0x103e12(0x10e)](_0x324c27)&&this['_diffRangesMap'][_0x103e12(0x1d3)](_0x324c27,new Map());})),this[_0x576888(0x1f7)](this[_0x576888(0x19f)][_0x576888(0x128)][_0x576888(0x12b)](async _0x5efcc9=>{const _0x295563=_0x576888;var _0x4bed49;_0x5efcc9&&(await this[_0x295563(0xb5)](_0x5efcc9),this[_0x295563(0x24d)][_0x295563(0x88)](((_0x4bed49=this[_0x295563(0x213)][_0x295563(0x1c2)](this[_0x295563(0x19f)][_0x295563(0x247)]))==null?void 0x0:_0x4bed49[_0x295563(0x1c2)](_0x5efcc9))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x439e85){const _0x53da30=_0x375115;var _0x267476,_0x5124c2;const _0x58642b=this[_0x53da30(0x19f)][_0x53da30(0x1e7)](_0x439e85),_0xc492ac=this['_historyManagerService'][_0x53da30(0x247)];if(!_0x58642b||!_0xc492ac)return;const _0x5ad1c3=this[_0x53da30(0x213)]['get'](_0xc492ac);if(_0x5ad1c3||this[_0x53da30(0x213)][_0x53da30(0x1d3)](_0xc492ac,new Map()),(_0x267476=this[_0x53da30(0x213)]['get'](_0xc492ac))!=null&&_0x267476[_0x53da30(0x10e)](_0x58642b['id']))return;const {startRev:_0x470a54,endRev:_0x1b3e31}=_0x58642b;if(_0x470a54===0x1){_0x5ad1c3[_0x53da30(0x1d3)](_0x58642b['id'],{'ranges':new Map(),'active':null});return;}const _0x69462d=_0x470a54-0x1,_0x2bd67=_0x1b3e31,_0x4f25f3=await this[_0x53da30(0x28c)][_0x53da30(0x14e)]({},{'unitID':_0xc492ac,'from':_0x69462d,'to':_0x2bd67,'type':j[_0x53da30(0x170)]});if(((_0x5124c2=_0x4f25f3['error'])==null?void 0x0:_0x5124c2[_0x53da30(0x21e)])===A['OK']){const _0x1c5623=_0x4f25f3[_0x53da30(0x119)][_0x53da30(0x207)](b[_0x53da30(0x18e)])[_0x53da30(0x207)](_0x4416c1=>_0x4416c1[_0x53da30(0x230)][_0x53da30(0x207)](_0x4ccc4f=>({..._0x4ccc4f,'params':{..._0x4ccc4f[_0x53da30(0x217)],'memberId':_0x4416c1[_0x53da30(0xbb)]}})))['flat'](),_0x2b5a74=this[_0x53da30(0x98)](_0x1c5623),_0x39ccf6=this[_0x53da30(0x185)](_0x1c5623),_0x23224d=this[_0x53da30(0x1f4)](_0x2b5a74);_0x5ad1c3[_0x53da30(0x1d3)](_0x58642b['id'],{'ranges':_0x23224d,'active':_0x39ccf6});}}[_0x375115(0x98)](_0x5961f9){const _0x399cd4=_0x375115;let _0x56e29c=[];for(let _0x4aab4e=0x0;_0x4aab4e<_0x5961f9[_0x399cd4(0x1d6)];_0x4aab4e++){const _0x10483f=_0x5961f9[_0x4aab4e];if(_0x56e29c[_0x399cd4(0xde)](_0x10483f),_0x4aab4e!==_0x5961f9['length']-0x1){const _0xd6ac04=_0x5961f9[_0x4aab4e+0x1],_0x32a6e9=this[_0x399cd4(0xc5)][_0x399cd4(0x218)](_0x56e29c,[_0xd6ac04]);b[_0x399cd4(0x268)](_0x32a6e9)?_0x56e29c=_0x32a6e9['m1Prime']:_0x56e29c=[];}}return _0x56e29c;}[_0x375115(0x185)](_0x1e8605){const _0x319e69=_0x375115;let _0x29e9e2=[];return _0x1e8605['forEach'](_0xe13900=>{const _0x25bffa=_0x30cb;if(_0xe13900['id']===u[_0x25bffa(0xec)]['id']){const _0x59e48f=_0xe13900['params'];_0x29e9e2[_0x25bffa(0xde)](_0x59e48f['sheet']['id']);}else{if(_0xe13900['id']===u['RemoveSheetMutation']['id']){const _0x119c37=_0xe13900[_0x25bffa(0x217)];_0x29e9e2[_0x25bffa(0x1d6)]>0x0&&(_0x29e9e2=_0x29e9e2[_0x25bffa(0x27c)](_0x27ada3=>_0x27ada3!==_0x119c37[_0x25bffa(0x253)]));}else{if(_0xe13900['id']===u['SetWorksheetHideMutation']['id']){const _0x4ca201=_0xe13900[_0x25bffa(0x217)];_0x4ca201[_0x25bffa(0x16b)]?_0x29e9e2=_0x29e9e2[_0x25bffa(0x27c)](_0x583816=>_0x583816!==_0x4ca201['subUnitId']):_0x29e9e2[_0x25bffa(0xde)](_0x4ca201[_0x25bffa(0x253)]);}else{const _0x56e0d5=_0xe13900[_0x25bffa(0x217)];_0x56e0d5[_0x25bffa(0x253)]&&_0x29e9e2['push'](_0x56e0d5[_0x25bffa(0x253)]);}}}}),_0x29e9e2['length']>0x0?_0x29e9e2[_0x29e9e2[_0x319e69(0x1d6)]-0x1]:null;}[_0x375115(0x1f4)](_0x7219a3){const _0x130172=_0x375115,_0x302663=new Map();return _0x7219a3['forEach'](_0x12d8eb=>{const _0x628226=_0x30cb;var _0x41a79e,_0x12a5e9;const _0x1a7907=(_0x41a79e=_0x12d8eb[_0x628226(0x217)])==null?void 0x0:_0x41a79e[_0x628226(0x186)];if(_0x1a7907){_0x302663[_0x628226(0x10e)](_0x1a7907)||_0x302663['set'](_0x1a7907,[]);const _0xc37231=this[_0x628226(0xb2)](_0x12d8eb);(_0x12a5e9=_0x302663[_0x628226(0x1c2)](_0x1a7907))==null||_0x12a5e9[_0x628226(0xde)](..._0xc37231);}}),_0x302663[_0x130172(0x137)]((_0x136c9b,_0x153240)=>{const _0x378005=_0x130172;_0x302663[_0x378005(0x1d3)](_0x153240,this['_combineRanges'](_0x136c9b));}),_0x302663;}['_getRangesByMutation'](_0x23fe36){const _0x1e66b3=_0x375115;switch(_0x23fe36['id']){case u['AddRangeProtectionMutation']['id']:{const _0x4efd00=_0x23fe36[_0x1e66b3(0x217)];return _0x4efd00[_0x1e66b3(0xd2)][_0x1e66b3(0x207)](_0x3ed376=>_0x3ed376[_0x1e66b3(0x26b)][_0x1e66b3(0x207)](_0x3e7aa8=>({'range':_0x3e7aa8,'unitId':_0x4efd00[_0x1e66b3(0x247)],'subUnitId':_0x4efd00[_0x1e66b3(0x253)]})))[_0x1e66b3(0x11c)]();}case u['AddWorksheetMergeMutation']['id']:{const _0x1b8fdb=_0x23fe36[_0x1e66b3(0x217)];return _0x1b8fdb[_0x1e66b3(0x26b)][_0x1e66b3(0x207)](_0x3fbf84=>({'range':_0x3fbf84,'unitId':_0x1b8fdb[_0x1e66b3(0x247)],'subUnitId':_0x1b8fdb['subUnitId']}));}case u['InsertRowMutation']['id']:{const _0x2d5f17=_0x23fe36[_0x1e66b3(0x217)];return[{'range':_0x2d5f17['range'],'unitId':_0x2d5f17[_0x1e66b3(0x247)],'subUnitId':_0x2d5f17[_0x1e66b3(0x253)]}];}case u[_0x1e66b3(0xa2)]['id']:{const _0x35e82d=_0x23fe36[_0x1e66b3(0x217)];return[{'range':_0x35e82d['range'],'unitId':_0x35e82d[_0x1e66b3(0x247)],'subUnitId':_0x35e82d[_0x1e66b3(0x253)]}];}case u[_0x1e66b3(0x1fb)]['id']:{const _0x32c617=_0x23fe36[_0x1e66b3(0x217)],{from:_0x2b805e,to:_0x265437,unitId:_0x33ee42}=_0x32c617;return[{'range':ae(_0x2b805e['value']),'unitId':_0x33ee42,'subUnitId':_0x2b805e[_0x1e66b3(0x253)]},{'range':ae(_0x265437['value']),'unitId':_0x33ee42,'subUnitId':_0x265437[_0x1e66b3(0x253)]}];}case u[_0x1e66b3(0x135)]['id']:{const _0x1650a7=_0x23fe36[_0x1e66b3(0x217)],{unitId:_0x48a6bd,subUnitId:_0x4d69fc,sourceRange:_0x530392,targetRange:_0x58c6f}=_0x1650a7,_0x326235=_0x530392['endRow']-_0x530392[_0x1e66b3(0x228)]+0x1;return[{'range':_0x58c6f[_0x1e66b3(0x228)]<=_0x530392['startRow']?_0x58c6f:{..._0x58c6f,'startRow':_0x58c6f[_0x1e66b3(0x228)]-_0x326235,'endRow':_0x58c6f[_0x1e66b3(0xe0)]-_0x326235},'unitId':_0x48a6bd,'subUnitId':_0x4d69fc}];}case u[_0x1e66b3(0x168)]['id']:{const _0xdb7180=_0x23fe36['params'],{unitId:_0x1ef434,subUnitId:_0x551e59,sourceRange:_0x1f18b3,targetRange:_0x2e86fa}=_0xdb7180,_0x2885a0=_0x1f18b3[_0x1e66b3(0x289)]-_0x1f18b3['startColumn']+0x1;return[{'range':_0x2e86fa['startColumn']<=_0x1f18b3[_0x1e66b3(0x125)]?_0x2e86fa:{..._0x2e86fa,'startColumn':_0x2e86fa['startColumn']-_0x2885a0,'endColumn':_0x2e86fa['endColumn']-_0x2885a0},'unitId':_0x1ef434,'subUnitId':_0x551e59}];}case u[_0x1e66b3(0x1af)]['id']:{const _0x324f07=_0x23fe36[_0x1e66b3(0x217)],{values:_0x4707ed,unitId:_0x128ac7,subUnitId:_0x4db645}=_0x324f07;return Object[_0x1e66b3(0x26d)](_0x4707ed)[_0x1e66b3(0x207)](_0x312824=>_0x312824['ranges']['map'](_0x72fd8f=>({'range':_0x72fd8f,'unitId':_0x128ac7,'subUnitId':_0x4db645})))[_0x1e66b3(0x11c)]();}case u[_0x1e66b3(0x1b9)]['id']:{const _0x579c83=_0x23fe36[_0x1e66b3(0x217)],{ranges:_0xce4ef8,unitId:_0x232987,subUnitId:_0x5c1c20}=_0x579c83;return _0xce4ef8['map'](_0x2f589f=>({'range':_0x2f589f,'unitId':_0x232987,'subUnitId':_0x5c1c20}));}case u[_0x1e66b3(0x211)]['id']:{const _0x17e2d8=_0x23fe36['params'],{unitId:_0x5f1e6c,subUnitId:_0x490290,range:_0xb0e3f2}=_0x17e2d8;return[{'range':_0xb0e3f2,'unitId':_0x5f1e6c,'subUnitId':_0x490290}];}case u[_0x1e66b3(0x1f6)]['id']:{const _0xf4d731=_0x23fe36[_0x1e66b3(0x217)];return _0xf4d731[_0x1e66b3(0x93)][_0x1e66b3(0x26b)][_0x1e66b3(0x207)](_0x4547ff=>({'range':_0x4547ff,'unitId':_0xf4d731[_0x1e66b3(0x247)],'subUnitId':_0xf4d731[_0x1e66b3(0x253)]}));}case u[_0x1e66b3(0x1ff)]['id']:{const _0xee77e2=_0x23fe36[_0x1e66b3(0x217)];return _0xee77e2['cellValue']?Qe(_0xee77e2[_0x1e66b3(0x20c)])['map'](_0x2d6c1a=>({'range':_0x2d6c1a,'unitId':_0xee77e2['unitId'],'subUnitId':_0xee77e2['subUnitId']})):[];}case le[_0x1e66b3(0x269)]['id']:{const _0x302b9b=_0x23fe36[_0x1e66b3(0x217)];return[{'range':_0x302b9b[_0x1e66b3(0x1bd)],'unitId':_0x302b9b[_0x1e66b3(0x247)],'subUnitId':_0x302b9b[_0x1e66b3(0x253)]}];}case K['AddDataValidationMutation']['id']:{const _0x48df21=_0x23fe36[_0x1e66b3(0x217)];return(Array[_0x1e66b3(0xa4)](_0x48df21[_0x1e66b3(0x93)])?_0x48df21['rule']:[_0x48df21[_0x1e66b3(0x93)]])[_0x1e66b3(0x207)](_0x50c9ef=>_0x50c9ef[_0x1e66b3(0x26b)]['map'](_0x5bf74c=>({'range':_0x5bf74c,'unitId':_0x48df21[_0x1e66b3(0x247)],'subUnitId':_0x48df21[_0x1e66b3(0x253)]})))[_0x1e66b3(0x11c)]();}case Q['SetConditionalRuleMutation']['id']:{const _0x1c4368=_0x23fe36[_0x1e66b3(0x217)];return _0x1c4368['rule'][_0x1e66b3(0x26b)][_0x1e66b3(0x207)](_0x4746fa=>({'range':_0x4746fa,'unitId':_0x1c4368[_0x1e66b3(0x247)],'subUnitId':_0x1c4368[_0x1e66b3(0x253)]}));}default:return[];}}[_0x375115(0x1c8)](_0x28479f){const _0x5697a4=_0x375115;if(_0x28479f['length']<=0x1)return _0x28479f;const _0x4f3b3e=new Map();return _0x28479f[_0x5697a4(0x137)](_0x5a3c23=>{const _0xd4bde7=_0x5697a4;var _0x2bbe45;const {unitId:_0x46fe34,subUnitId:_0x9a5ca7}=_0x5a3c23,_0x127a7d=_0x46fe34+'-'+_0x9a5ca7;_0x4f3b3e[_0xd4bde7(0x10e)](_0x127a7d)?(_0x2bbe45=_0x4f3b3e[_0xd4bde7(0x1c2)](_0x127a7d))==null||_0x2bbe45[_0xd4bde7(0xde)](_0x5a3c23):_0x4f3b3e[_0xd4bde7(0x1d3)](_0x127a7d,[_0x5a3c23]);}),Array[_0x5697a4(0x9c)](_0x4f3b3e[_0x5697a4(0x26d)]())[_0x5697a4(0x207)](_0x11b8bf=>new u[(_0x5697a4(0x95))]()[_0x5697a4(0xc9)](..._0x11b8bf[_0x5697a4(0x207)](_0x599882=>_0x599882[_0x5697a4(0x1bd)]))[_0x5697a4(0x17c)]()['map'](_0x4c23e1=>({'range':_0x4c23e1,'unitId':_0x11b8bf[0x0][_0x5697a4(0x247)],'subUnitId':_0x11b8bf[0x0][_0x5697a4(0x253)]})))[_0x5697a4(0x11c)]();}};$=Ke([q(0x0,l[_0x375115(0xdb)](exports[_0x375115(0x9d)])),q(0x1,b[_0x375115(0x1d8)]),q(0x2,b[_0x375115(0x117)])],$);function ae(_0x2c5570){const _0x4a276f=_0x375115;return new l[(_0x4a276f(0x100))](_0x2c5570)[_0x4a276f(0x1e3)]();}function Qe(_0x460cb6){const _0x306e07=_0x375115,_0xb7f77c=new l['ObjectMatrix'](_0x460cb6),_0x6af64f=new l[(_0x306e07(0x100))]();return _0xb7f77c[_0x306e07(0x201)]((_0x46c627,_0x3ff1a4)=>{_0x6af64f['setValue'](_0x46c627,_0x3ff1a4,0x1);}),u[_0x306e07(0x1fa)](_0x6af64f);}var Je=Object[_0x375115(0x23e)],ze=(_0x3be4aa,_0x518a0e,_0x399734,_0x44462e)=>{const _0x1210c2=_0x375115;for(var _0x6941e1=_0x44462e>0x1?void 0x0:_0x44462e?Je(_0x518a0e,_0x399734):_0x518a0e,_0x4abdcb=_0x3be4aa[_0x1210c2(0x1d6)]-0x1,_0x24904d;_0x4abdcb>=0x0;_0x4abdcb--)(_0x24904d=_0x3be4aa[_0x4abdcb])&&(_0x6941e1=_0x24904d(_0x6941e1)||_0x6941e1);return _0x6941e1;},T=(_0x4bdcb4,_0x398055)=>(_0x188ec1,_0x111429)=>_0x398055(_0x188ec1,_0x111429,_0x4bdcb4);let z=class extends l['Disposable']{constructor(_0x5a78c1,_0x4281d6,_0x9cbab4,_0x869eb3,_0x42d385,_0x548301,_0x20295d){const _0x31738b=_0x375115;super(),_(this,_0x31738b(0x263),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x5a78c1,this[_0x31738b(0x19f)]=_0x4281d6,this['_versionDiffService']=_0x9cbab4,this[_0x31738b(0x15c)]=_0x869eb3,this['_renderManagerService']=_0x42d385,this[_0x31738b(0xc3)]=_0x548301,this[_0x31738b(0xb3)]=_0x20295d,this[_0x31738b(0x1b0)]());}[_0x375115(0x1b0)](){const _0x5d5027=_0x375115;this[_0x5d5027(0x286)](),this[_0x5d5027(0x162)]();}[_0x375115(0x286)](){const _0x42ee42=_0x375115;this[_0x42ee42(0x1f7)](E[_0x42ee42(0x1f0)]([this[_0x42ee42(0x19f)]['loadingState$'],this[_0x42ee42(0xc3)]['currentSkeleton$']])['pipe'](E['switchMap'](([_0x880df7,_0x5ef681])=>{const _0x41952d=_0x42ee42;if(_0x880df7===V[_0x41952d(0x1db)]&&_0x5ef681){const _0x596879=_0x5ef681['sheetId'];return this[_0x41952d(0x175)][_0x41952d(0x1e1)]['pipe'](E['map'](_0x31d7cf=>{const _0x12ac51=_0x41952d,_0x3c5d7a=new Map();return _0x31d7cf[_0x12ac51(0x26b)][_0x12ac51(0x137)]((_0x5bcfb4,_0x2966b0)=>{const _0x2010df=_0x12ac51,_0x56fab9=_0x5bcfb4[_0x2010df(0x27c)](_0x2e798b=>_0x2e798b['subUnitId']===_0x596879);_0x3c5d7a[_0x2010df(0x1d3)](_0x2966b0,_0x56fab9);}),{'skeleton':_0x5ef681,'diffs':_0x3c5d7a};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))[_0x42ee42(0x12b)](({skeleton:_0x20eaec,diffs:_0x20e4b9})=>{const _0x2498df=_0x42ee42;this['_removeDiffMarks'](),_0x20eaec&&this[_0x2498df(0xb8)](_0x20eaec,_0x20e4b9);})),this[_0x42ee42(0x1f7)](this[_0x42ee42(0xc3)][_0x42ee42(0x204)][_0x42ee42(0x12b)](_0x452f45=>{const _0x1c42a5=_0x42ee42;if(_0x452f45==null)return;const {skeleton:_0x5c8014}=_0x452f45,{scene:_0x3e4445}=this[_0x1c42a5(0x25a)];_0x3e4445[_0x1c42a5(0x200)]['subscribeEvent'](l['debounce'](_0xe025e5=>{const _0x1605d3=_0x1c42a5;var _0x441357,_0x346125;const {offsetX:_0x4a416c,offsetY:_0x34207d}=_0xe025e5,{x:_0x1f02be,y:_0x51fe48}=_0x3e4445[_0x1605d3(0x265)](x[_0x1605d3(0x1a7)][_0x1605d3(0x99)]([_0x4a416c,_0x34207d])),{scaleX:_0x467367,scaleY:_0x5c8f2f}=_0x3e4445[_0x1605d3(0x1ee)](),_0x201244=_0x3e4445['getViewport'](x[_0x1605d3(0x123)][_0x1605d3(0x151)]),_0x9b86e9=_0x3e4445[_0x1605d3(0x26c)](x[_0x1605d3(0x1a7)][_0x1605d3(0x99)]([_0x1f02be,_0x51fe48]),_0x201244),_0x51f3af=_0x5c8014[_0x1605d3(0x259)](_0x4a416c,_0x34207d,_0x467367,_0x5c8f2f,_0x9b86e9);((_0x441357=this[_0x1605d3(0x24c)])==null?void 0x0:_0x441357[_0x1605d3(0xd7)])===_0x51f3af[_0x1605d3(0xd7)]&&((_0x346125=this[_0x1605d3(0x24c)])==null?void 0x0:_0x346125[_0x1605d3(0x1d9)])===_0x51f3af[_0x1605d3(0x1d9)]||this['_diffs']['forEach'](_0x1566b8=>{_0x1566b8['onMouseMove'](_0x51f3af);});},0x64));}));}['_initActiveSwitch'](){const _0x499eaf=_0x375115;this[_0x499eaf(0x1f7)](this[_0x499eaf(0x19f)][_0x499eaf(0x234)][_0x499eaf(0x12b)](_0x411056=>{const _0x3bf048=_0x499eaf,_0x59948e=new l['DisposableCollection']();return _0x411056===V['Loaded']&&(_0x59948e[_0x3bf048(0x171)](),_0x59948e[_0x3bf048(0xc9)](this[_0x3bf048(0x175)]['currentVersionDiff$'][_0x3bf048(0x12b)](_0xe34bc1=>{const _0x2f26f6=_0x3bf048;_0xe34bc1['active']&&this[_0x2f26f6(0xb3)][_0x2f26f6(0x1f5)](u[_0x2f26f6(0x14b)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0xe34bc1[_0x2f26f6(0xf3)]});}))),()=>_0x59948e[_0x3bf048(0x171)]();}));}[_0x375115(0xb8)](_0x1d1107,_0xf204f9){const _0x5897d5=_0x375115;var _0x5a9374;const _0x1f9ee8=(_0x5a9374=this[_0x5897d5(0xc3)][_0x5897d5(0xba)]())==null?void 0x0:_0x5a9374['skeleton'];if(!_0x1f9ee8)return;this[_0x5897d5(0x263)][_0x5897d5(0x137)](_0x2b0844=>{const _0x13fc3f=_0x5897d5;_0x2b0844[_0x13fc3f(0x262)]();});const {scene:_0x5e933a}=this['_context'],_0x177b68=Array[_0x5897d5(0x9c)](_0xf204f9[_0x5897d5(0x145)]())['map'](_0x51a2f2=>_0xf204f9[_0x5897d5(0x1c2)](_0x51a2f2)[_0x5897d5(0x207)](_0x3c4861=>{const _0x5101f3=_0x5897d5;var _0x82a26e;const {range:_0xd5fb03,subUnitId:_0x325759,unitId:_0x1239a9}=_0x3c4861,{startColumn:_0x50b19,startRow:_0x407a92,endColumn:_0x4d06a6,endRow:_0x532b50}=_0xd5fb03,_0x2af2bd=L[_0x5101f3(0x113)](_0x407a92,_0x50b19,_0x5e933a,_0x1f9ee8),_0xef208d=L[_0x5101f3(0x113)](_0x532b50,_0x4d06a6,_0x5e933a,_0x1f9ee8),{columnHeaderHeightAndMarginTop:_0x1273d5}=_0x1f9ee8,{startX:_0x155715,startY:_0x1971cf}=_0x2af2bd,{endX:_0x11c9d7,endY:_0x39f143}=_0xef208d,_0x596014=_0x11c9d7-_0x155715,_0x18dce8=_0x39f143-_0x1971cf,_0x39897d={'labelPosition':_0x1971cf-_0x1273d5>=0x14?_0x5101f3(0x250):_0x5101f3(0x10b),'sheetID':_0x325759,'range':_0xd5fb03,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x82a26e=this[_0x5101f3(0x19f)]['getMember'](_0x51a2f2))==null?void 0x0:_0x82a26e[_0x5101f3(0x153)])||'','selection':_0x1239a9+'-'+_0x325759+'-'+_0xd5fb03[_0x5101f3(0x125)]+'-'+_0xd5fb03['startRow']+'-'+_0xd5fb03[_0x5101f3(0x289)]+'-'+_0xd5fb03[_0x5101f3(0xe0)],'left':_0x155715,'top':_0x1971cf,'width':_0x596014,'height':_0x18dce8,'evented':!0x1,'zIndex':0x1};return new Oe[(_0x5101f3(0x124))]('',_0x39897d);}))['flat']();_0x5e933a[_0x5897d5(0x1ea)](_0x177b68,0x1),this['_diffs']=new Set(_0x177b68);}[_0x375115(0x11f)](){const _0x567cdf=_0x375115;var _0x40aede;(_0x40aede=this[_0x567cdf(0x263)])==null||_0x40aede['forEach'](_0x20d3e6=>_0x20d3e6[_0x567cdf(0x171)]());}[_0x375115(0x120)](){const _0x3b3e0d=_0x375115;return L[_0x3b3e0d(0xea)](this[_0x3b3e0d(0x15c)],this[_0x3b3e0d(0x1c9)]);}};z=ze([T(0x1,l['Inject'](exports['HistoryManagerService'])),T(0x2,l[_0x375115(0xdb)]($)),T(0x3,l[_0x375115(0x110)]),T(0x4,x[_0x375115(0x1dd)]),T(0x5,l[_0x375115(0xdb)](L[_0x375115(0x1b2)])),T(0x6,l[_0x375115(0x1bb)])],z);function et(){const _0x19e7f6=_0x375115,_0x53f91e=I['useDependency'](exports[_0x19e7f6(0x9d)]),_0x5b6f4a=I['useObservable'](_0x53f91e[_0x19e7f6(0x112)]),[_0xd49b66,_0x5cea49]=m[_0x19e7f6(0xf5)](!0x1),_0x28e0c2=Pe(_0x5b6f4a);return _0x5b6f4a?h['jsx'](_0x19e7f6(0x8c),{'className':_0x19e7f6(0x1ef),'children':h[_0x19e7f6(0x240)]('div',{'className':_0x19e7f6(0x1e6),'children':[_0x28e0c2[_0x19e7f6(0x207)]((_0x2f0f48,_0x3a7792)=>h[_0x19e7f6(0x240)](m[_0x19e7f6(0xc8)],{'children':[h['jsx'](it,{'date':_0x2f0f48[_0x19e7f6(0x177)]}),_0x2f0f48['versions'][_0x19e7f6(0x207)]((_0x1cc7a5,_0x1d252b)=>h['jsx'](rt,{'index':[_0x3a7792,_0x1d252b],'item':_0x1cc7a5},_0x3a7792+'-'+_0x1d252b))]},_0x2f0f48[_0x19e7f6(0x177)])),_0xd49b66&&h[_0x19e7f6(0x16f)](tt,{})]})}):h[_0x19e7f6(0x16f)](st,{});}function tt(){const _0x215e4a=_0x375115;return h[_0x215e4a(0x16f)](_0x215e4a(0x8c),{'className':_0x215e4a(0x28d),'children':h['jsx'](te,{'className':_0x215e4a(0x19b)})});}function st(){const _0x1ebd16=_0x375115;return h[_0x1ebd16(0x16f)]('div',{'className':_0x1ebd16(0x241),'children':h['jsx'](_0x1ebd16(0x222),{'className':_0x1ebd16(0x1b8),'children':h[_0x1ebd16(0x16f)](te,{'className':_0x1ebd16(0x111)})})});}function it(_0x448a88){const _0x3bb859=_0x375115,_0xb055b3=I[_0x3bb859(0x1b7)](l[_0x3bb859(0x17f)]),{date:_0x572b4f}=_0x448a88;return h[_0x3bb859(0x16f)]('div',{'className':_0x3bb859(0x17e),'children':J(_0x572b4f,_0xb055b3[_0x3bb859(0x17d)]())});}function rt(_0x309464){const _0x2e9f19=_0x375115,{item:_0x596c73,index:_0x2916fa}=_0x309464,{time:_0x3e96c4,user:_0x49abd1}=_0x596c73,[_0x5e0159,_0x2d28de]=_0x2916fa,_0x3527ab=I['useDependency'](exports['HistoryManagerService']),_0x517a2e=I[_0x2e9f19(0x1cd)](_0x3527ab[_0x2e9f19(0x128)],'',!0x0)===_0x596c73['id'],_0x356ebd=_0x5e0159===0x0&&_0x2d28de===0x0,_0x1eb904=!_0x356ebd&&_0x3527ab[_0x2e9f19(0x274)],_0x385153=I[_0x2e9f19(0x1b7)](l[_0x2e9f19(0x17f)]),_0x4e583b=_0x385153[_0x2e9f19(0x17d)](),_0x36157a=ee(_0x3e96c4,_0x4e583b),_0x25b460=_0x385153['t']('editHistory.panel.currentVersion'),_0x1905e0=m[_0x2e9f19(0x270)](_0x4d1ca4=>{const _0x532dbc=_0x2e9f19;_0x3527ab['loadingState']!==V[_0x532dbc(0x14f)]&&(_0x3527ab[_0x532dbc(0x18d)]=_0x4d1ca4);},[_0x3527ab]),_0xd198d2=m[_0x2e9f19(0x270)](_0x4e06a7=>{const _0x32cd8b=_0x2e9f19;_0x3527ab[_0x32cd8b(0x115)](_0x4e06a7);},[_0x3527ab]);return h[_0x2e9f19(0x240)]('div',{'className':C[_0x2e9f19(0x1fc)](_0x2e9f19(0x14d),{'univer-bg-gray-50':_0x517a2e}),'onClick':()=>_0x1905e0(_0x596c73['id']),'children':[h[_0x2e9f19(0x240)](_0x2e9f19(0x8c),{'className':_0x2e9f19(0x133),'children':[h[_0x2e9f19(0x16f)](_0x2e9f19(0x8c),{'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400'}),h[_0x2e9f19(0x240)](_0x2e9f19(0x8c),{'className':_0x2e9f19(0x21c),'children':[h[_0x2e9f19(0x16f)](_0x2e9f19(0x222),{'children':_0x36157a[_0x2e9f19(0x28e)]}),_0x356ebd&&h[_0x2e9f19(0x16f)](_0x2e9f19(0x222),{'className':_0x2e9f19(0x220),'children':_0x25b460})]}),h[_0x2e9f19(0x16f)]('div',{'children':_0x1eb904&&h['jsx'](C[_0x2e9f19(0xa6)],{'title':_0x385153['t'](_0x2e9f19(0x254)),'children':h[_0x2e9f19(0x16f)](_0x2e9f19(0x8c),{'onClick':_0x48725b=>{const _0x661eee=_0x2e9f19;_0x48725b[_0x661eee(0xb4)](),_0xd198d2(_0x596c73['id']);},'className':'univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','children':h[_0x2e9f19(0x16f)](de,{})})})})]}),h[_0x2e9f19(0x16f)](_0x2e9f19(0x8c),{'className':_0x2e9f19(0x11b),'children':Ce(_0x596c73,_0x385153)})]});}var nt=Object['getOwnPropertyDescriptor'],at=(_0x4adcea,_0x56f50e,_0x5d2d6,_0x403fe7)=>{const _0x387286=_0x375115;for(var _0x100232=_0x403fe7>0x1?void 0x0:_0x403fe7?nt(_0x56f50e,_0x5d2d6):_0x56f50e,_0x3820e8=_0x4adcea[_0x387286(0x1d6)]-0x1,_0x85c80a;_0x3820e8>=0x0;_0x3820e8--)(_0x85c80a=_0x4adcea[_0x3820e8])&&(_0x100232=_0x85c80a(_0x100232)||_0x100232);return _0x100232;},U=(_0x49ea33,_0x552c30)=>(_0x1d8c08,_0x2ccb4d)=>_0x552c30(_0x1d8c08,_0x2ccb4d,_0x49ea33);const oe=_0x375115(0xd5);let Y=class extends l[_0x375115(0x197)]{constructor(_0x4f2d49,_0x4b95b9,_0x731c56,_0x554bfd){const _0x5b90da=_0x375115;super(),_(this,_0x5b90da(0xd4),null),(this[_0x5b90da(0xff)]=_0x4f2d49,this[_0x5b90da(0x1ad)]=_0x4b95b9,this['_localeService']=_0x731c56,this[_0x5b90da(0x19f)]=_0x554bfd,this[_0x5b90da(0x1b0)]());}[_0x375115(0x1b0)](){const _0x5d8e7b=_0x375115;this['_initPanel'](),this[_0x5d8e7b(0x181)]();}[_0x375115(0x181)](){const _0x115a18=_0x375115;if(this['_sidebarDisposable'])return;const _0x454537={'header':{'title':this[_0x115a18(0x22c)]['t']('editHistory.panel.title')},'children':{'label':oe},'onClose':()=>{const _0x9f83d1=_0x115a18;this['_sidebarDisposable']=null,this[_0x9f83d1(0x19f)]['status']=W[_0x9f83d1(0x173)];}};this[_0x115a18(0xd4)]=this[_0x115a18(0xff)]['open']({..._0x454537});}[_0x375115(0x15b)](){const _0x533e1f=_0x375115;this[_0x533e1f(0x1f7)](this[_0x533e1f(0x1ad)]['register'](oe,et)),this['disposeWithMe'](this[_0x533e1f(0xff)][_0x533e1f(0xd0)][_0x533e1f(0x196)](E[_0x533e1f(0x13c)](0x64))[_0x533e1f(0x12b)](_0x51c70d=>{const _0x812569=_0x533e1f,{target:_0x2a7ba0}=_0x51c70d||{};if(_0x2a7ba0){const {scrollTop:_0x10a0a3,scrollHeight:_0x51dffe,clientHeight:_0x3a4dab}=_0x2a7ba0;_0x10a0a3+_0x3a4dab>=_0x51dffe-0x5&&this[_0x812569(0x19f)]['loadMoreVersions']();}}));}};Y=at([U(0x0,I['ISidebarService']),U(0x1,l[_0x375115(0xdb)](I[_0x375115(0x1b6)])),U(0x2,l[_0x375115(0xdb)](l[_0x375115(0x17f)])),U(0x3,l[_0x375115(0xdb)](exports[_0x375115(0x9d)]))],Y);class ot extends l['Disposable']{constructor(){const _0x23e4a2=_0x375115;super(),_(this,_0x23e4a2(0x1da),new E[(_0x23e4a2(0x1cc))]());}[_0x375115(0x193)](){const _0x5861b9=_0x375115;return l[_0x5861b9(0x21f)](()=>{});}[_0x375115(0x165)](){}['closeAll'](_0x4995c4){}[_0x375115(0x260)](){const _0x3e2a5b=_0x375115;return this[_0x3e2a5b(0x1da)][_0x3e2a5b(0x1dc)]();}}function _0x2520(){const _0x4b5a64=['executeCommand','SetRangeProtectionMutation','disposeWithMe','YUUMI_URL_COL_OUT_OF_RANGE','getMinutes','findAllRectangle','MoveRangeMutation','clsx','editHistory.panel.unknownUser','4404UienWP','SetRangeValuesMutation','onPointerMove$','forValue','prototype','url(#$1','currentSkeleton$','AddDataValidationMutation','Duplicate','map','_createMask','string','/universer-api/history','_canRevert','cellValue','white','_injector','getDeserializedSheetBlock','workbook','ReorderRangeMutation','endRev','_diffRangesMap','UniverEditHistoryViewerPlugin','BehaviorSubject','body','params','transformMutations','AddSheetSparklineMutation','createElement','then','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getOwnPropertySymbols','code','toDisposable','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','BuiltInUIPart','span','append','Filter','LICENSE_MAX_UNITS_EXCEEDED','call','UniverIcon','startRow','HistoryModeStatus','1em','justifyContent','_localeService','AddConditionalRuleMutation','svg','INVALID_ARGUMENT','mutations','UNAUTHENTICATED','HideSheet','defineProperty','loadingState$','_confirmService','_maskElement','Module','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVITE_CODE_HAS_BEEN_UES','UNIVER_PROJECT','createUnit','PERMISSION_DENIED','Edit','getOwnPropertyDescriptor','icon','jsxs','univer-flex\x20univer-items-center\x20univer-justify-center','_updateVersions','endRevision','RestoreIcon','Comment','loaded','unitId','parse','CONNECTOR_DATA_TOO_LARGE','WorkbookMoveSheetPermission','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','_lastPointer','_currentVersionDiff$','createTime','disposeUnit','top','View','_hasMore','subUnitId','editHistory.panel.revertDesc','MessageType','APPLY_DUPLICATED','PY_RUNTIME_SCRIPT_ERROR','YUUMI_CONNECTOR_URL_NOT_FOUND','getCellPositionByOffset','_context','hideMask','indexOf','blocks','editHistory.info.loading','YUUMI_SUBSCRIPTION_NOT_FOUND','getDialogs$','DeleteRangeProtectionMutation','makeDirty','_diffs','trim','getRelativeToViewportCoord','deleteProtection','onRendered','isTransformMutationsSuccess','SetSheetsFilterRangeMutation','SelectUnProtectedCells','ranges','getVpScrollXYInfoByPosToVp','values','CopySheet','padStart','useCallback','WorkbookRenameSheetPermission','userId','INVALID_INVITE_CODE','canRevert','IConfirmService','YUUMI_RATE_OVER_LIMIT','startRevision','ENSURE_SNAPSHOT_EXECUTION','APPLY_REVISION_CONFILICT','show','removeSheet','filter','subType','block','HEADER','random','1965819QDoZlY','RecoverHistory','SetFrozenMutation','WorkbookEditablePermission','_lastLabel','_initRender','EMAIL_HAS_BEEN_BOUND','fetchThroughInterceptors','endColumn','_revertRevision$','328313loxJwU','_snapshotServerService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','time','InsertColumn','primary','next','attrs','transformSnapshotToWorkbookData','Today','div','YUUMI_AI_RUN_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','&lastLabel=','HideWorksheet','UNRECOGNIZED','_uiPartsService','rule','substring','RangeMergeUtil','_currentVersion$','assign','_transformMutationByOrder','FromArray','RemoveSheetMutation','recoverTime','from','HistoryManagerService','mask','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initMaskContainer','LoadingMultiIcon','InsertColMutation','xlink:href','isArray','_cellEditorManagerService','Tooltip','UniverSheetsUIPlugin','YUUMI_TABLE_NOT_FOUND_IN_UNIT','value','_fetching','YUUMI_UNABLE_LOAD_URL','ManageCollaborator','getHours','find','back-icon','editHistory.action.','replace','_getRangesByMutation','_commandService','stopPropagation','ensureVersion','Sort','color','_updateDiffMarks','EMAIL_VERIFY_CODE_MISMATCH','getCurrent','userID','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','IMessageService','toString','unitId$','toISOString','_maskContainer','_workbookDataCache','_sheetSkeletonManagerService','blockMeta','_transformService','showMask','_members','Fragment','add','colorChannel1','YUUMI_ASYNCIO_CANCELLED','hasCommand','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','IDialogService','COMPRESS_MUTATION_APPLY','scrollEvent$','concat','rules','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sidebarDisposable','history-panel','interceptor','column','5894WsBbTj','_createUnit','9arEvWW','Inject','_messageService','UniverInstanceType','push','editHistory.panel.confirm','endRow','_compressMutationService','evenodd','SetCellStyle','flex','EditExtraObject','100%','Entered','DeleteWorksheetProtectionMutation','includes','getSheetObject','LICENSE_EXPORT_SIZE_EXCEEDED','InsertSheetMutation','data','_httpService','1000','CompressMutationService','currentColor','0\x200\x2016\x2017','active','FloatImg','useState','SNAPSHOT_INVALID_SNAPSHOT','Delete','SetConditionalRuleMutation','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','ViemRwHgtClWdt','commands','SnapshotServerOverHTTPService','RevertRevisionMutation','restore-icon','_sidebarService','ObjectMatrix','IImageIoService','INTERNAL_ERROR','editHistory.panel.cancel','SetRowStyle','ZH_CN','VIRTUAL_VERSION_NOW','BackIcon','getMember','MOBILE_HAS_BEEN_BOUND','revertSheet','bottom','_permissionService','#0B9EFB','has','reduce','IUniverInstanceService','univer-m-auto\x20univer-animate-spin','versions$','getCoordByCell','Copy','triggerRevert','toStringTag','ISnapshotServerService','_loadingState$','changesets','command','univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','flat','Error','left','_removeDiffMarks','_getSheetObject','HTTPService','init','SHEET_VIEWPORT_KEY','SheetCollabCursorShape','startColumn','editHistory.panel.listFetchError','Init','currentVersion$','RenameSheet','idSuffix','subscribe','COMPLETION_FINISHED','edit-history-viewer.config','historyListServerUrl','users','triggerLoadSheet','registerComponent','displayName','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','path','MoveRowsMutation','restore-icon_clip0_1247_2','forEach','getUnitOnRev','none','260648kpfMnb','LICENSE_IMPORT_SIZE_EXCEEDED','debounceTime','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','_unitId$','getElementById','_getAPIPrefix','children','DeleteSheet','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','user','keys','absolute','MoveSheet','onSteady','onStarting','univer-text-2xl','SetWorksheetActiveOperation','LOGIN_FAILED','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','fetchMissingChangesets','Loading','CreateUnitMutation','VIEW_MAIN','LocaleType','name','DeleteRow','loadSheet','WECHAT_HAS_BEEN_BOUND','UniverNetworkPlugin','IConfigService','WorkbookHideSheetPermission','MOBILE_VERIFY_CODE_MISMATCH','_initPanel','_univerInstanceService','UNIVER_DOC','clipPath','_historyContainerId','confirm','fill','_initActiveSwitch','IUIPartsService','action','close','2616872FZttPb','0\x200\x2016\x2016','MoveColsMutation','extend','defIds','hidden','DependentOn','NOT_FOUND','_versions$','jsx','UNIVER_SHEET','dispose','RenameWorksheet','Exited','AddRangeProtectionMutation','_versionDiffService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','dateString','defs','EditWorksheetCell','SetWorksheetStyle','APPLY_PERMISSION_DENIED','merge','getCurrentLocale','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','LocaleService','_status$','_openPanel','SetColumnStyle','UNIVER_UNKNOWN','YUUMI_ALL_TABLES_IS_INVALID','_getActiveSubUnitId','memberId','[HistoryFetchService]:\x20request\x20snapshot\x20error!','getCurrentVersion','Share','addSparkline','error','forwardRef','currentVersion','parseProtocolChangeset','DeleteColumn','editHistory.panel.currentUser','date','/list?length=20','open','hasOwnProperty','split','pipe','Disposable','getUnitId','APPLY_NON_SEQUENTIAL_REVISION','setDV','univer-animate-spin','pluginName','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','height','_historyManagerService','CreateSheet','zIndex','updatePermissionPoint','entities','Plugin','rev','entries','Vector2','20dGDNTb','display','YUUMI_NO_CUBOID_FOR_QUESTION','loading','getVersions','_componentManager','SelectProtectedCells','SetNumfmtMutation','_init','USER_NOT_INVITED_CODE','SheetSkeletonManagerService','CreateWorksheet','INVITE_CODE_REQUIRED','insertSheet','ComponentManager','useDependency','univer-text-gray-500','RemoveNumfmtMutation','syncExecuteCommand','ICommandService','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','range','LICENSE_DISTRO_REJECTED','InsertHyperlink','tag','className','get','ViewHistory','SetCellValue','setCF','style','status','_combineRanges','_renderManagerService','backgroundColor','_historyFetchService','Subject','useObservable','15470hJeEfi','http://www.w3.org/2000/svg','RwHgtClWdt','loading-multi-icon','CreatePermissionObject','set','History','editHistory.panel.revertConfirmText','length','Export','ITransformService','row','_dialogOptions$','Loaded','asObservable','IRenderManagerService','setState','MoveWorksheet','anonymous','currentVersionDiff$','19387210behNKC','getDataRange','TOO_MANY_REQUESTS','entered','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','getVersion','editHistory.panel.revertConfirm','APPLY_REJECT','addObjects','Injector','editHistory.action.revertSheetSuffix','state$','getAncestorScale','univer-mx-[-20px]\x20univer-overflow-hidden','combineLatest','ALREADY_EXISTS','UNIVER_SLIDE','INVITE_CODE_ALREADY_BOUND','_extractRanges'];_0x2520=function(){return _0x4b5a64;};return _0x2520();}var ct=Object[_0x375115(0x233)],lt=Object['getOwnPropertyDescriptor'],ut=(_0x59310b,_0x488308,_0x3cdef9)=>_0x488308 in _0x59310b?ct(_0x59310b,_0x488308,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cdef9}):_0x59310b[_0x488308]=_0x3cdef9,_t=(_0x3d0509,_0xb2212d,_0x40f711,_0x51ed9f)=>{const _0x28b16d=_0x375115;for(var _0x122f04=_0x51ed9f>0x1?void 0x0:_0x51ed9f?lt(_0xb2212d,_0x40f711):_0xb2212d,_0x50b83c=_0x3d0509[_0x28b16d(0x1d6)]-0x1,_0x20d589;_0x50b83c>=0x0;_0x50b83c--)(_0x20d589=_0x3d0509[_0x50b83c])&&(_0x122f04=_0x20d589(_0x122f04)||_0x122f04);return _0x122f04;},Z=(_0x3b1c76,_0x2d4422)=>(_0x3d6c59,_0x5ab415)=>_0x2d4422(_0x3d6c59,_0x5ab415,_0x3b1c76),ht=(_0x339709,_0x12c872,_0x111723)=>ut(_0x339709,_0x12c872+'',_0x111723);const dt=_0x375115(0xbc);exports[_0x375115(0x214)]=class extends l[_0x375115(0x1a4)]{constructor(_0x5deed5=ne,_0x2e3986,_0x10b601,_0x692593){const _0x5144bf=_0x375115;super(),this['_config']=_0x5deed5,this[_0x5144bf(0x20e)]=_0x2e3986,this[_0x5144bf(0x1c9)]=_0x10b601,this['_configService']=_0x692593;const {..._0x4924e6}=l['merge']({},ne,this['_config']);this['_configService']['setConfig'](ue,_0x4924e6);}[_0x375115(0x149)](){const _0x3f5c6f=_0x375115;[[exports['HistoryManagerService']],[B],[$],[F],[Y],[H],[b[_0x3f5c6f(0x117)],{'useClass':re[_0x3f5c6f(0xfc)]}],[I[_0x3f5c6f(0xce)],{'useClass':ot}],[Me[_0x3f5c6f(0x101)],{'useClass':re['CollaborationImageIoService']}]][_0x3f5c6f(0x137)](_0x19608d=>this[_0x3f5c6f(0x20e)][_0x3f5c6f(0xc9)](_0x19608d)),this[_0x3f5c6f(0x20e)][_0x3f5c6f(0x1c2)](B);}[_0x375115(0x267)](){const _0x1a6cb2=_0x375115;[[z]][_0x1a6cb2(0x137)](_0x5e8329=>{const _0x17fb00=_0x1a6cb2;this[_0x17fb00(0x1f7)](this[_0x17fb00(0x1c9)]['registerRenderModule'](l[_0x17fb00(0xdd)][_0x17fb00(0x170)],_0x5e8329));}),this[_0x1a6cb2(0x20e)][_0x1a6cb2(0x1c2)](H),this[_0x1a6cb2(0x20e)]['get'](Y);}[_0x375115(0x148)](){const _0x360b02=_0x375115;this[_0x360b02(0x20e)]['get']($);}},ht(exports[_0x375115(0x214)],_0x375115(0x19c),dt),exports[_0x375115(0x214)]=_t([l[_0x375115(0x16c)](L[_0x375115(0xa7)],ce[_0x375115(0x157)]),Z(0x1,l[_0x375115(0xdb)](l[_0x375115(0x1eb)])),Z(0x2,x['IRenderManagerService']),Z(0x3,l['IConfigService'])],exports[_0x375115(0x214)]),exports[_0x375115(0x229)]=W;
|
|
1
|
+
'use strict';const _0x431d70=_0x1ea3;(function(_0x3eed3f,_0x1014a9){const _0x230ecd=_0x1ea3,_0x2c8662=_0x3eed3f();while(!![]){try{const _0x201034=-parseInt(_0x230ecd(0x12b))/0x1+-parseInt(_0x230ecd(0x1c2))/0x2+parseInt(_0x230ecd(0x11a))/0x3*(parseInt(_0x230ecd(0x111))/0x4)+-parseInt(_0x230ecd(0x179))/0x5*(parseInt(_0x230ecd(0x10f))/0x6)+parseInt(_0x230ecd(0x1fb))/0x7+parseInt(_0x230ecd(0x25a))/0x8*(-parseInt(_0x230ecd(0x84))/0x9)+parseInt(_0x230ecd(0x1e6))/0xa;if(_0x201034===_0x1014a9)break;else _0x2c8662['push'](_0x2c8662['shift']());}catch(_0x46712b){_0x2c8662['push'](_0x2c8662['shift']());}}}(_0x1848,0xf3da3));var pe=Object[_0x431d70(0x1d0)],Ee=(_0x3f18e0,_0x586f4e,_0x250662)=>_0x586f4e in _0x3f18e0?pe(_0x3f18e0,_0x586f4e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x250662}):_0x3f18e0[_0x586f4e]=_0x250662,_=(_0x3994f7,_0x47af6e,_0x1ebb6c)=>Ee(_0x3994f7,typeof _0x47af6e!='symbol'?_0x47af6e+'':_0x47af6e,_0x1ebb6c);Object[_0x431d70(0x1d0)](exports,Symbol[_0x431d70(0x6a)],{'value':'Module'});const b=require('@univerjs-pro/collaboration'),re=require('@univerjs-pro/collaboration-client'),l=require('@univerjs/core'),Me=require('@univerjs/drawing'),x=require('@univerjs/engine-render'),ce=require('@univerjs/network'),L=require('@univerjs/sheets-ui'),I=require('@univerjs/ui'),C=require('@univerjs/design'),u=require('@univerjs/sheets'),E=require('rxjs'),Re=require('@univerjs-pro/sheets-sparkline'),K=require('@univerjs/data-validation'),Q=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),h=require('react/jsx-runtime'),m=require('react'),Oe=require('@univerjs-pro/collaboration-client-ui'),ue='edit-history-viewer.config',ne={};var be=Object[_0x431d70(0xf3)],Ne=(_0x58b359,_0x14840f,_0x400bb0,_0x24bda1)=>{const _0x51bf5e=_0x431d70;for(var _0x8a53b3=_0x24bda1>0x1?void 0x0:_0x24bda1?be(_0x14840f,_0x400bb0):_0x14840f,_0x2e899f=_0x58b359[_0x51bf5e(0x228)]-0x1,_0x1ed826;_0x2e899f>=0x0;_0x2e899f--)(_0x1ed826=_0x58b359[_0x2e899f])&&(_0x8a53b3=_0x1ed826(_0x8a53b3)||_0x8a53b3);return _0x8a53b3;},De=(_0x5f2695,_0x446f7f)=>(_0x262fd1,_0xf2d5eb)=>_0x446f7f(_0x262fd1,_0xf2d5eb,_0x5f2695);let H=class extends l[_0x431d70(0x1a5)]{constructor(_0x2bdba5){const _0x312ee2=_0x431d70;super(),this['_cellEditorManagerService']=_0x2bdba5,this[_0x312ee2(0x93)]();}['_init'](){const _0x5b1755=_0x431d70;this['disposeWithMe'](this['_cellEditorManagerService']['state$'][_0x5b1755(0x173)](_0x14e3b5=>{const _0x527be9=_0x5b1755;_0x14e3b5!=null&&_0x14e3b5['show']&&this[_0x527be9(0x182)][_0x527be9(0x13c)]({'show':!0x1});}));}};H=Ne([De(0x0,L[_0x431d70(0x124)])],H);var A=(_0x333acb=>(_0x333acb[_0x333acb[_0x431d70(0x1af)]=0x0]=_0x431d70(0x1af),_0x333acb[_0x333acb['OK']=0x1]='OK',_0x333acb[_0x333acb[_0x431d70(0xc3)]=0x2]=_0x431d70(0xc3),_0x333acb[_0x333acb[_0x431d70(0x1c5)]=0x3]='PERMISSION_DENIED',_0x333acb[_0x333acb[_0x431d70(0x1a2)]=0x4]=_0x431d70(0x1a2),_0x333acb[_0x333acb[_0x431d70(0xfb)]=0x5]=_0x431d70(0xfb),_0x333acb[_0x333acb['ALREADY_EXISTS']=0x6]=_0x431d70(0x227),_0x333acb[_0x333acb[_0x431d70(0x121)]=0x7]=_0x431d70(0x121),_0x333acb[_0x333acb['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x333acb[_0x333acb[_0x431d70(0x1b3)]=0x9]=_0x431d70(0x1b3),_0x333acb[_0x333acb[_0x431d70(0xeb)]=0xa]=_0x431d70(0xeb),_0x333acb[_0x333acb[_0x431d70(0x24c)]=0xb]=_0x431d70(0x24c),_0x333acb[_0x333acb[_0x431d70(0x246)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x333acb[_0x333acb[_0x431d70(0xea)]=0xd]=_0x431d70(0xea),_0x333acb[_0x333acb[_0x431d70(0x7b)]=0xe]=_0x431d70(0x7b),_0x333acb[_0x333acb[_0x431d70(0x242)]=0x1389]=_0x431d70(0x242),_0x333acb[_0x333acb[_0x431d70(0x23f)]=0x1771]=_0x431d70(0x23f),_0x333acb[_0x333acb[_0x431d70(0xcd)]=0x1772]=_0x431d70(0xcd),_0x333acb[_0x333acb[_0x431d70(0x23b)]=0x1773]=_0x431d70(0x23b),_0x333acb[_0x333acb[_0x431d70(0xc8)]=0x1b59]=_0x431d70(0xc8),_0x333acb[_0x333acb[_0x431d70(0x12e)]=0x1b5a]=_0x431d70(0x12e),_0x333acb[_0x333acb[_0x431d70(0xa1)]=0x1b5b]=_0x431d70(0xa1),_0x333acb[_0x333acb[_0x431d70(0x18b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x333acb[_0x333acb[_0x431d70(0xba)]=0x1b5d]=_0x431d70(0xba),_0x333acb[_0x333acb[_0x431d70(0x23d)]=0x1f41]=_0x431d70(0x23d),_0x333acb[_0x333acb[_0x431d70(0xda)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x333acb[_0x333acb[_0x431d70(0x17b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x333acb[_0x333acb[_0x431d70(0x151)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x333acb[_0x333acb[_0x431d70(0x21f)]=0x232c]=_0x431d70(0x21f),_0x333acb[_0x333acb[_0x431d70(0x189)]=0x232d]=_0x431d70(0x189),_0x333acb[_0x333acb['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x431d70(0x1f8),_0x333acb[_0x333acb[_0x431d70(0x235)]=0x2712]=_0x431d70(0x235),_0x333acb[_0x333acb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x431d70(0x79),_0x333acb[_0x333acb['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x431d70(0xb9),_0x333acb[_0x333acb[_0x431d70(0x202)]=0x271a]=_0x431d70(0x202),_0x333acb[_0x333acb[_0x431d70(0x1f2)]=0x271b]=_0x431d70(0x1f2),_0x333acb[_0x333acb[_0x431d70(0xb1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x333acb[_0x333acb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x431d70(0x245),_0x333acb[_0x333acb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x431d70(0x148),_0x333acb[_0x333acb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x431d70(0x172),_0x333acb[_0x333acb[_0x431d70(0x26d)]=0x2720]=_0x431d70(0x26d),_0x333acb[_0x333acb[_0x431d70(0x139)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x333acb[_0x333acb[_0x431d70(0x8c)]=0x2ee1]=_0x431d70(0x8c),_0x333acb[_0x333acb[_0x431d70(0x185)]=0x2ee2]=_0x431d70(0x185),_0x333acb[_0x333acb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x431d70(0x12c),_0x333acb[_0x333acb['USER_NOT_INVITED_CODE']=0x2ee4]=_0x431d70(0x147),_0x333acb[_0x333acb[_0x431d70(0x22f)]=0x2ee5]=_0x431d70(0x22f),_0x333acb[_0x333acb[_0x431d70(0x109)]=0x32c9]=_0x431d70(0x109),_0x333acb[_0x333acb[_0x431d70(0x181)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x333acb[_0x333acb[_0x431d70(0x1b0)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x333acb[_0x333acb[_0x431d70(0x19f)]=-0x1]='UNRECOGNIZED',_0x333acb))(A||{}),j=(_0x29e047=>(_0x29e047[_0x29e047['UNIVER_UNKNOWN']=0x0]=_0x431d70(0x1ba),_0x29e047[_0x29e047[_0x431d70(0xc7)]=0x1]='UNIVER_DOC',_0x29e047[_0x29e047[_0x431d70(0x253)]=0x2]=_0x431d70(0x253),_0x29e047[_0x29e047[_0x431d70(0x1ee)]=0x3]=_0x431d70(0x1ee),_0x29e047[_0x29e047[_0x431d70(0x1dd)]=0x4]=_0x431d70(0x1dd),_0x29e047[_0x29e047[_0x431d70(0x19f)]=-0x1]=_0x431d70(0x19f),_0x29e047))(j||{}),y=(_0x4fd015=>(_0x4fd015[_0x4fd015[_0x431d70(0x21c)]=0x0]=_0x431d70(0x21c),_0x4fd015[_0x4fd015[_0x431d70(0xa4)]=0x1]=_0x431d70(0xa4),_0x4fd015[_0x4fd015['ManageCollaborator']=0x2]=_0x431d70(0x198),_0x4fd015[_0x4fd015[_0x431d70(0x1ef)]=0x3]=_0x431d70(0x1ef),_0x4fd015[_0x4fd015[_0x431d70(0xcc)]=0x4]=_0x431d70(0xcc),_0x4fd015[_0x4fd015['Comment']=0x5]=_0x431d70(0x95),_0x4fd015[_0x4fd015[_0x431d70(0x12f)]=0x6]='Copy',_0x4fd015[_0x4fd015[_0x431d70(0x215)]=0x7]='Share',_0x4fd015[_0x4fd015[_0x431d70(0x249)]=0x8]=_0x431d70(0x249),_0x4fd015[_0x4fd015[_0x431d70(0x149)]=0x9]=_0x431d70(0x149),_0x4fd015[_0x4fd015[_0x431d70(0x9e)]=0xa]=_0x431d70(0x9e),_0x4fd015[_0x4fd015[_0x431d70(0x8e)]=0xb]='HideWorksheet',_0x4fd015[_0x4fd015[_0x431d70(0xd1)]=0xc]='RenameWorksheet',_0x4fd015[_0x4fd015['CreateWorksheet']=0xd]=_0x431d70(0x20b),_0x4fd015[_0x4fd015[_0x431d70(0x81)]=0xe]=_0x431d70(0x81),_0x4fd015[_0x4fd015[_0x431d70(0x155)]=0xf]=_0x431d70(0x155),_0x4fd015[_0x4fd015[_0x431d70(0x266)]=0x10]=_0x431d70(0x266),_0x4fd015[_0x4fd015[_0x431d70(0x108)]=0x11]='Sort',_0x4fd015[_0x4fd015[_0x431d70(0x15d)]=0x12]=_0x431d70(0x15d),_0x4fd015[_0x4fd015[_0x431d70(0x1bf)]=0x13]='PivotTable',_0x4fd015[_0x4fd015[_0x431d70(0x1d5)]=0x14]='FloatImg',_0x4fd015[_0x4fd015[_0x431d70(0x10d)]=0x15]='History',_0x4fd015[_0x4fd015[_0x431d70(0xfa)]=0x16]=_0x431d70(0xfa),_0x4fd015[_0x4fd015[_0x431d70(0x78)]=0x17]=_0x431d70(0x78),_0x4fd015[_0x4fd015[_0x431d70(0x250)]=0x18]=_0x431d70(0x250),_0x4fd015[_0x4fd015[_0x431d70(0x18a)]=0x19]=_0x431d70(0x18a),_0x4fd015[_0x4fd015[_0x431d70(0x209)]=0x1a]=_0x431d70(0x209),_0x4fd015[_0x4fd015[_0x431d70(0x1a0)]=0x1b]='HideSheet',_0x4fd015[_0x4fd015[_0x431d70(0x223)]=0x1c]=_0x431d70(0x223),_0x4fd015[_0x4fd015[_0x431d70(0x18f)]=0x1d]=_0x431d70(0x18f),_0x4fd015[_0x4fd015[_0x431d70(0x187)]=0x1e]=_0x431d70(0x187),_0x4fd015[_0x4fd015[_0x431d70(0xb5)]=0x1f]='SelectProtectedCells',_0x4fd015[_0x4fd015[_0x431d70(0x1e5)]=0x20]=_0x431d70(0x1e5),_0x4fd015[_0x4fd015[_0x431d70(0xab)]=0x21]=_0x431d70(0xab),_0x4fd015[_0x4fd015['SetCellValue']=0x22]=_0x431d70(0xaf),_0x4fd015[_0x4fd015[_0x431d70(0x208)]=0x23]=_0x431d70(0x208),_0x4fd015[_0x4fd015[_0x431d70(0x17f)]=0x24]=_0x431d70(0x17f),_0x4fd015[_0x4fd015[_0x431d70(0x1d1)]=0x25]=_0x431d70(0x1d1),_0x4fd015[_0x4fd015[_0x431d70(0x1e1)]=0x26]=_0x431d70(0x1e1),_0x4fd015[_0x4fd015[_0x431d70(0x152)]=0x27]='DeleteRow',_0x4fd015[_0x4fd015[_0x431d70(0xdd)]=0x28]=_0x431d70(0xdd),_0x4fd015[_0x4fd015[_0x431d70(0xc6)]=0x29]='EditExtraObject',_0x4fd015[_0x4fd015['Delete']=0x2a]=_0x431d70(0x9a),_0x4fd015[_0x4fd015['RecoverHistory']=0x2b]=_0x431d70(0x132),_0x4fd015[_0x4fd015['ViewHistory']=0x2c]='ViewHistory',_0x4fd015[_0x4fd015[_0x431d70(0x1f5)]=0x2d]=_0x431d70(0x1f5),_0x4fd015[_0x4fd015['UNRECOGNIZED']=-0x1]=_0x431d70(0x19f),_0x4fd015))(y||{});function _0x1ea3(_0x1a9313,_0x51dad9){const _0x18481f=_0x1848();return _0x1ea3=function(_0x1ea3ef,_0x351868){_0x1ea3ef=_0x1ea3ef-0x69;let _0x1747e2=_0x18481f[_0x1ea3ef];return _0x1747e2;},_0x1ea3(_0x1a9313,_0x51dad9);}function ye(_0x82ef8a){const _0x9f4a5a=_0x431d70;return!!(_0x82ef8a&&_0x82ef8a['code']&&_0x82ef8a[_0x9f4a5a(0x20e)]!==A['OK']&&_0x82ef8a['code']!=='OK');}const ee=(_0x599ff6,_0x4283d4)=>{const _0xa643c0=_0x431d70;if(!_0x599ff6)return{'date':'','time':''};const _0x5d3acc=new Date(_0x599ff6),_0x2a365b=_0x5d3acc[_0xa643c0(0x1c1)]()[_0xa643c0(0x1fe)]('T')[0x0];switch(_0x4283d4){case l[_0xa643c0(0x106)][_0xa643c0(0x260)]:return{'date':J(_0x2a365b,_0x4283d4),'time':_0x5d3acc['getHours']()+':'+String(_0x5d3acc[_0xa643c0(0x1bd)]())[_0xa643c0(0x1cf)](0x2,'0')};default:return{'date':J(_0x2a365b,_0x4283d4),'time':_0x5d3acc[_0xa643c0(0xa8)]()+':'+_0x5d3acc[_0xa643c0(0x1bd)]()};}},Ce=(_0x3a4701,_0x4668bc)=>{const _0x52c810=_0x431d70,_0x48dabb=_0x3a4701[_0x52c810(0x25f)]||_0x4668bc['t'](_0x52c810(0x264));if(_0x3a4701[_0x52c810(0x12a)][_0x52c810(0x19d)](_0x4c430b=>_0x4c430b===b[_0x52c810(0x26c)]['id'])&&_0x3a4701['recoverTime']){const _0x3856af=ee(_0x3a4701['recoverTime'],_0x4668bc['getCurrentLocale']()),_0x1fe88a=_0x3856af[_0x52c810(0x19b)]+'\x20'+_0x3856af[_0x52c810(0xb4)];return _0x48dabb+'\x20'+_0x4668bc['t'](_0x52c810(0x1c8))+'\x20'+_0x1fe88a+'\x20'+_0x4668bc['t'](_0x52c810(0x75));}const _0x1a6057=we(_0x3a4701),_0x22e360=_0x1a6057[_0x52c810(0x228)]===0x1?_0x4668bc['t'](_0x1a6057[0x0]):''+_0x4668bc['t'](_0x1a6057[0x0])+_0x4668bc['t'](_0x52c810(0x252));return _0x48dabb+'\x20'+_0x22e360;};function we(_0x2ecae7){const _0x3fb0c3=_0x431d70;if(_0x2ecae7[_0x3fb0c3(0x12a)][_0x3fb0c3(0x228)]===0x0)return[''];const _0x1d18f9=_0x3fb0c3(0x1a4),_0x1b1fd1=_0x1d18f9+_0x3fb0c3(0x164),_0x2e9622=[{'id':b['CreateUnitMutation']['id'],'action':_0x1d18f9+_0x3fb0c3(0x230)},{'id':b[_0x3fb0c3(0x26c)]['id'],'action':_0x1d18f9+'revertSheet'},{'id':u[_0x3fb0c3(0xbd)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x9d)},{'id':u[_0x3fb0c3(0xd6)]['id'],'action':_0x1d18f9+'removeSheet'},{'id':u[_0x3fb0c3(0x136)]['id'],'action':_0x1d18f9+'setFrozen'},{'id':le['SetSheetsFilterRangeMutation']['id'],'action':_0x1d18f9+_0x3fb0c3(0x116)},{'id':K[_0x3fb0c3(0xe2)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x117)},{'id':K[_0x3fb0c3(0x1b1)]['id'],'action':_0x1d18f9+'setDV'},{'id':Q['SetConditionalRuleMutation']['id'],'action':_0x1d18f9+_0x3fb0c3(0x153)},{'id':Q[_0x3fb0c3(0x70)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x153)},{'id':u[_0x3fb0c3(0x15a)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x1ae)},{'id':u[_0x3fb0c3(0xd5)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x1ae)},{'id':Re['AddSheetSparklineMutation']['id'],'action':_0x1d18f9+'addSparkline'},{'id':u[_0x3fb0c3(0x71)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x10c)},{'id':u[_0x3fb0c3(0x128)]['id'],'action':_0x1d18f9+_0x3fb0c3(0x10c)}][_0x3fb0c3(0xf7)](_0x3c8464=>_0x2ecae7[_0x3fb0c3(0x12a)][_0x3fb0c3(0x1aa)](_0x3c8464['id']));return _0x2e9622!=null&&_0x2e9622[_0x3fb0c3(0x228)]?_0x2e9622['map'](_0x5d97cd=>_0x5d97cd['action']):[_0x1b1fd1];}function J(_0x47858f,_0x50d854){const _0x121674=_0x431d70,[_0x346d51,_0x4cfad1,_0x5ef464]=new Date()[_0x121674(0x1c1)]()['split']('T')[0x0][_0x121674(0x1fe)]('-'),[_0x51d2d3,_0x944c08,_0x6805b6]=_0x47858f[_0x121674(0x1fe)]('-'),_0x2a0675=_0x346d51===_0x51d2d3&&_0x4cfad1===_0x944c08&&_0x5ef464===_0x6805b6;let _0x4f4bda='',_0x4e0e75='',_0x5ce206='';switch(_0x50d854){case l[_0x121674(0x106)]['ZH_CN']:return _0x2a0675?'今天':(_0x4f4bda=_0x346d51===_0x51d2d3?'':_0x51d2d3+'年',_0x4e0e75=_0x944c08+'月',_0x5ce206=_0x6805b6+'日',''+_0x4f4bda+_0x4e0e75+_0x5ce206);default:return _0x2a0675?_0x121674(0x26e):(_0x4f4bda=_0x346d51===_0x51d2d3?'':_0x51d2d3+'-',_0x4e0e75=_0x944c08+'-',_0x5ce206=''+_0x6805b6,''+_0x4f4bda+_0x4e0e75+_0x5ce206);}}function Pe(_0x100e1b){const _0x4f7511=_0x431d70;return _0x100e1b?_0x100e1b[_0x4f7511(0x193)]((_0x39ef7a,_0x382b22)=>{const _0x57a77c=_0x4f7511,_0x10b8a1=new Date(_0x382b22[_0x57a77c(0xb4)])[_0x57a77c(0x1c1)]()[_0x57a77c(0x1fe)]('T')[0x0];return _0x39ef7a[_0x57a77c(0x228)]>0x0&&_0x39ef7a[_0x39ef7a[_0x57a77c(0x228)]-0x1][_0x57a77c(0x1cd)]===_0x10b8a1?_0x39ef7a[_0x39ef7a[_0x57a77c(0x228)]-0x1][_0x57a77c(0x1c0)][_0x57a77c(0x186)](_0x382b22):_0x39ef7a['push']({'dateString':_0x10b8a1,'versions':[_0x382b22]}),_0x39ef7a;},[]):[];}var Te=Object['getOwnPropertyDescriptor'],Le=(_0x1cfd9c,_0xef7859,_0x54cfdb,_0x27a504)=>{const _0x1358d6=_0x431d70;for(var _0x4c4a9d=_0x27a504>0x1?void 0x0:_0x27a504?Te(_0xef7859,_0x54cfdb):_0xef7859,_0x3530f4=_0x1cfd9c[_0x1358d6(0x228)]-0x1,_0x41a2cc;_0x3530f4>=0x0;_0x3530f4--)(_0x41a2cc=_0x1cfd9c[_0x3530f4])&&(_0x4c4a9d=_0x41a2cc(_0x4c4a9d)||_0x4c4a9d);return _0x4c4a9d;},w=(_0x24317f,_0x25dfd1)=>(_0x3f1be2,_0x414602)=>_0x25dfd1(_0x3f1be2,_0x414602,_0x24317f);const Ve='/universer-api/history';function _0x1848(){const _0xc7579a=['PY_RUNTIME_SCRIPT_ERROR','displayName','block','setState','skeleton','loadSheet','name','left','_maskElement','editHistory.panel.revertConfirmText','editHistory.panel.currentUser','status','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','connectInjector','USER_NOT_INVITED_CODE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MoveWorksheet','_removeDiffMarks','_extractRanges','hideMask','sheet','startRevision','editHistory.panel.listFetchError','register','LICENSE_IMPORT_SIZE_EXCEEDED','DeleteRow','setCF','Loaded','EditWorksheetCell','_versionDiffService','_messageService','exited','_getRangesByMutation','AddWorksheetProtectionMutation','http://www.w3.org/2000/svg','Init','Filter','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformMutations','restore-icon_clip0_1247_2','Subject','updatePermissionPoint','loadingState$','editSheet','_transformService','onRendered','fetchMissingChangesets','_initRender','RestoreIcon','SetSheetsFilterRangeMutation','.univer-app-container-content','interceptor','registerRenderModule','univer-text-2xl','flat','absolute','Button','YUUMI_AI_RUN_FAILED','subscribe','_sheetSkeletonManagerService','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','SetRangeValuesMutation','tag','startRow','5XRWZUC','column','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','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','children','toDisposable','SetColumnStyle','IPermissionService','MOBILE_HAS_BEEN_BOUND','_cellEditorManagerService','getMember','fill','INVALID_INVITE_CODE','push','CreateSheet','_snapshotServerService','LICENSE_DISTRO_REJECTED','MoveSheet','APPLY_PERMISSION_DENIED','univer-ml-2.5\x20univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20hover:univer-bg-[rgba(30,34,43,0.06)]','back-icon','_canRevert','RenameSheet','LocaleService','error','url(#$1','reduce','attrs','getElementById','executeCommand','setValue','ManageCollaborator','getVpScrollXYInfoByPosToVp','values','date','ComponentManager','some','hasOwnProperty','UNRECOGNIZED','HideSheet','map','NOT_FOUND','transformSnapshotToWorkbookData','editHistory.action.','Disposable','getDeserializedSheetBlock','userID','userId','forwardRef','includes','FromArray','idSuffix','UniverNetworkPlugin','addProtection','UNDEFINED','EMAIL_HAS_BEEN_BOUND','UpdateDataValidationMutation','_localeService','COMPLETION_FINISHED','users','unitId','_workbookDataCache','restore-icon','white','focusUnit','UNIVER_UNKNOWN','clsx','_currentVersion$','getMinutes','command','PivotTable','versions','toISOString','2553550uhVLXz','memberId','then','PERMISSION_DENIED','ITransformService','editHistory.header.revert','editHistory.action.revertSheetPrefix','xlink:href','_componentManager','loadingState','showMask','dateString','blocks','padStart','defineProperty','InsertRow','set','_renderManagerService','show','FloatImg','path','univer-flex\x20univer-h-[60px]\x20univer-cursor-default\x20univer-flex-col\x20univer-justify-center\x20univer-px-4\x20univer-py-1.5','&lastLabel=','WorkbookEditablePermission','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','endColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-pl-5\x20univer-text-sm\x20univer-font-medium\x20univer-text-[#1e222b]','UNIVER_PROJECT','addObjects','/list?length=20','MoveRangeMutation','InsertColumn','_dialogOptions$','parseProtocolChangeset','now','SelectUnProtectedCells','35147360ierKdq','_getActiveSubUnitId','endRev','0\x200\x2016\x2016','subType','_context','_historyFetchService','revertRevision$','UNIVER_SLIDE','Print','_lastLabel','querySelector','YUUMI_ASYNCIO_CANCELLED','m1Prime','append','CreatePermissionObject','Error','makeDirty','YUUMI_UNABLE_LOAD_URL','UniverEditHistoryViewerPlugin','onPointerMove$','1519168yZzuGn','switchMap','confirm','split','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','Info','IMessageService','YUUMI_NO_CUBOID_FOR_QUESTION','disposeUnit','endRevision','top','_initMaskContainer','canRevert','SetRowStyle','DeleteSheet','createElement','CreateWorksheet','IUniverInstanceService','triggerLoadSheet','code','status$','AddWorksheetMergeMutation','CollaborationImageIoService','#0B9EFB','loaded','subUnitId','Share','SetRangeProtectionMutation','useObservable','prototype','add','InsertRowMutation','_historyContainerId','View','BehaviorSubject','cellValue','LICENSE_EXPORT_SIZE_EXCEEDED','MoveColsMutation','_unitId$','_httpService','CopySheet','init','IImageIoService','forValue','ALREADY_EXISTS','length','InsertColMutation','asObservable','_updateVersions','_diffRangesMap','range','UniverInstanceType','INVITE_CODE_ALREADY_BOUND','createSheet','_updateDiffMarks','editHistory.panel.currentVersion','center','ICommandService','YUUMI_URL_COL_OUT_OF_RANGE','_initActiveSwitch','function','row','SHEET_VIEWPORT_KEY','ISnapshotServerService','ENSURE_SNAPSHOT_EXECUTION','_revertRevision$','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','SNAPSHOT_INVALID_SNAPSHOT','_combineRanges','_sidebarDisposable','CHANGESET_REVISION_CONFILICT','Exited','zIndex','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','get','apply','Export','propertyIsEnumerable','history-panel','MOBILE_VERIFY_CODE_MISMATCH','pluginName','defIds','assign','ViewFilter','display','editHistory.action.etc','UNIVER_SHEET','getCurrentVersion','mask','url(#restore-icon_clip0_1247_2)','concat','setConfig','_initPanel','14729872DkaYLE','createUnit','_getSheetObject','useDependency','loadMoreVersions','user','ZH_CN','_diffs','workbook','_fetching','editHistory.panel.unknownUser','Tooltip','InsertHyperlink','_loadingState$','getOwnPropertySymbols','value','_getAPIPrefix','rule','RevertRevisionMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','Today','has','univer-animate-spin','combineLatest','_hasMore','ObjectMatrix','getCoordByCell','1em','onMouseMove','loading-multi-icon','div','getViewport','random','editHistory.info.loading','toStringTag','data','Entered','getUnitId','pipe','_compressMutationService','AddConditionalRuleMutation','DeleteRangeProtectionMutation','_versions$','string','IConfigService','editHistory.action.revertSheetSuffix','_transformMutationByOrder','SheetCollabCursorShape','ViemRwHgtClWdt','YUUMI_RATE_OVER_LIMIT','ReorderRangeMutation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BackIcon','jsxs','useRef','WorkbookMoveSheetPermission','merge','SetWorksheetStyle','SetNumfmtMutation','Inject','9AuLcgs','_historyManagerService','HistoryManagerService','currentColor','_univerInstanceService','_sidebarService','_confirmService','call','INVITE_CODE_HAS_BEEN_UES','parse','HideWorksheet','history-mask','flex','use','changesets','_init','hidden','Comment','defs','MessageType','_injector','span','Delete','currentSkeleton$','_configService','insertSheet','DeleteWorksheet','Fragment','colorChannel1','APPLY_REVISION_CONFILICT','getConfig','extend','Edit','CompressMutationService','LoadingMultiIcon','_maskContainer','getHours','getVersion','jsx','SetCellStyle','hasCommand','evenodd','entries','SetCellValue','useState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Injector','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','time','SelectProtectedCells','clear','sheetId','HistoryModeStatus','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_DUPLICATED','getDialogs$','from','InsertSheetMutation','keys','rgba(225,\x20225,\x20225,\x200.5)','_createMask','closeAll',':\x20(','INTERNAL_ERROR','UniverIcon','bottom','EditExtraObject','UNIVER_DOC','APPLY_REJECT','Loading','isTransformMutationsSuccess','currentVersionDiff$','Duplicate','SNAPSHOT_HAS_BEEN_REMOVED','indexOf','RemoveNumfmtMutation','VIEW_MAIN','RenameWorksheet','blockMeta','WorkbookRenameSheetPermission','_createUnit','AddRangeProtectionMutation','RemoveSheetMutation','isArray','IConfirmService','createTime','LICENSE_MAX_UNITS_EXCEEDED','style','HTTPService','DeleteColumn','MoveRowsMutation','COMPRESS_MUTATION_APPLY','color','svg','AddDataValidationMutation','rect','stopPropagation','_status$','params','next','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','[HistoryFetchService]:\x20request\x20snapshot\x20error!','EMAIL_VERIFY_CODE_MISMATCH','LOGIN_FAILED','Vector2','_uiPartsService','endRow','getCurrentLocale','disposeWithMe','_permissionService','ranges','getOwnPropertyDescriptor','mutations','univer-h-full\x20univer-overflow-auto\x20univer-border-t\x20univer-border-gray-200','_lastPointer','filter','recoverTime','IUIPartsService','RwHgtClWdt','UNAUTHENTICATED','triggerRevert','rules','onSteady','univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-400','find','editHistory.panel.revertConfirm','univerjs-icon\x20univerjs-icon-','SheetSkeletonManagerService','ensureVersion','_commandService','LocaleType','current','Sort','WECHAT_HAS_BEEN_BOUND','getCellPositionByOffset','none','deleteProtection','History','UniverSheetsUIPlugin','915870JIOkts','className','16OKaXiz','justifyContent','_openPanel','_currentVersionDiff$','all','setFilter','setDV','SetConditionalRuleMutation','IDialogService','1364094RDDyFT','_members','clipPath','substring','subscribeEvent','editHistory.panel.confirm','ISidebarService','INVALID_ARGUMENT','dispose','_config','ICellEditorManagerService','toString','getVersions','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','DeleteWorksheetProtectionMutation','versions$','commands','1281079oRNdTP','INVITE_CODE_REQUIRED','startColumn','APPLY_NON_SEQUENTIAL_REVISION','Copy','open','currentVersion$','RecoverHistory','forEach','historyListServerUrl','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','SetFrozenMutation','useCallback','permissionPointUpdate$'];_0x1848=function(){return _0xc7579a;};return _0x1848();}let F=class extends l['Disposable']{constructor(_0x4de828,_0x2c2b02,_0x56345c,_0x2b5775,_0x44c82e,_0x546331){const _0x3aa8df=_0x431d70;super(),_(this,_0x3aa8df(0x1b6),new Map()),(this['_snapshotServerService']=_0x4de828,this[_0x3aa8df(0x88)]=_0x2c2b02,this['_commandService']=_0x56345c,this['_configService']=_0x2b5775,this[_0x3aa8df(0x222)]=_0x44c82e,this[_0x3aa8df(0x6f)]=_0x546331);}[_0x431d70(0x122)](){const _0x26bb3d=_0x431d70;this[_0x26bb3d(0x1b6)][_0x26bb3d(0xb6)](),super[_0x26bb3d(0x122)]();}async[_0x431d70(0x126)](_0x56dd5f,_0x1f4a53){const _0x4daeca=_0x431d70,_0x5131da=this['_getAPIPrefix']()+'/'+_0x56dd5f+_0x4daeca(0x1df)+(_0x1f4a53?_0x4daeca(0x1d8)+_0x1f4a53:'');try{const _0x55f30d=(await this['_httpService']['get'](_0x5131da))['body'];if(_0x55f30d&&_0x55f30d[_0x4daeca(0x191)]&&_0x55f30d[_0x4daeca(0x191)][_0x4daeca(0x20e)]===A['OK']){const {hasMore:_0x302bd0,lastLabel:_0x600fbc}=_0x55f30d,_0xa0c7e3=xe(_0x55f30d),_0x2fc4c6=_0x55f30d['entities'][_0x4daeca(0x1b4)];return{'hasMore':_0x302bd0,'lastLabel':_0x600fbc,'versions':_0xa0c7e3,'members':_0x2fc4c6};}}catch(_0x4079af){console[_0x4daeca(0x191)](_0x4079af);}return null;}[_0x431d70(0x26a)](){const _0x34b5b6=_0x431d70;var _0x977a44;const _0x5c8f3c=this['_configService'][_0x34b5b6(0xa2)](ue);return(_0x977a44=_0x5c8f3c==null?void 0x0:_0x5c8f3c[_0x34b5b6(0x134)])!=null?_0x977a44:Ve;}async[_0x431d70(0x13e)](_0x40941f,_0x1e2f85,_0x319e2e){const _0x35531d=_0x431d70;var _0x48f7b3,_0x3cee33;_0x319e2e===void 0x0&&(_0x319e2e={}),this[_0x35531d(0x1b6)]['has'](_0x40941f)||this[_0x35531d(0x1b6)]['set'](_0x40941f,new Map());const {snapshot:_0x30d055,changesets:_0x3f7829,error:_0x289371}=await this['_snapshotServerService']['getUnitOnRev'](_0x319e2e,{'unitID':_0x40941f,'type':j[_0x35531d(0x253)],'revision':_0x1e2f85});if(ye(_0x289371)||!_0x30d055||!_0x30d055[_0x35531d(0x262)])throw new Error(_0x35531d(0xe9));const _0x5e4ee5=(_0x48f7b3=_0x3f7829==null?void 0x0:_0x3f7829['length'])!=null?_0x48f7b3:0x0;if(_0x1e2f85!==0x0&&_0x30d055['rev']+_0x5e4ee5!==_0x1e2f85)throw new Error(_0x35531d(0x127));const {workbook:_0x2ad46e}=_0x30d055,_0x2b8f7c=_0x2ad46e[_0x35531d(0xd2)]?Object[_0x35531d(0xae)](_0x2ad46e[_0x35531d(0xd2)])[_0x35531d(0x1a1)](([_0x38e3a8,_0x3a795e])=>{const _0x4288d1=_0x35531d;var _0x32b4f6,_0x55c3bb;return(_0x55c3bb=(_0x32b4f6=_0x3a795e[_0x4288d1(0x1ce)])==null?void 0x0:_0x32b4f6[_0x4288d1(0x1a1)](_0x1690ce=>_0x1690ce))!=null?_0x55c3bb:[];})[_0x35531d(0x16f)]():[],_0x50d2f5=(await Promise[_0x35531d(0x115)](_0x2b8f7c[_0x35531d(0x1a1)](_0x55a972=>this['_snapshotServerService'][_0x35531d(0x1a6)](_0x319e2e,{'unitID':_0x40941f,'type':j[_0x35531d(0x253)],'blockID':_0x55a972})[_0x35531d(0x1c4)](_0x1bcfa1=>_0x1bcfa1[_0x35531d(0x13b)]))))[_0x35531d(0xf7)](_0x399612=>!!_0x399612),_0x2cbc71=b[_0x35531d(0x1a3)](_0x30d055,_0x50d2f5,_0x319e2e);return(_0x3cee33=this[_0x35531d(0x1b6)][_0x35531d(0x247)](_0x40941f))==null||_0x3cee33['set'](_0x1e2f85,{'workbook':_0x2cbc71}),new Promise(_0x4bc3ac=>{const _0x4b8757=_0x35531d,_0x59f18a=this[_0x4b8757(0x88)]['getCurrentUnitForType'](l[_0x4b8757(0x22e)]['UNIVER_SHEET']);_0x59f18a?(this[_0x4b8757(0x88)][_0x4b8757(0x203)](_0x59f18a[_0x4b8757(0x6d)]()),setTimeout(()=>{const _0x14c71a=_0x4b8757;this[_0x14c71a(0xd4)](_0x2cbc71,_0x3f7829),_0x4bc3ac(!0x0);},0x0)):(this[_0x4b8757(0xd4)](_0x2cbc71,_0x3f7829),_0x4bc3ac(!0x0));});}[_0x431d70(0xd4)](_0x25a2f6,_0xf4b0c5){const _0x435971=_0x431d70,_0x256649=this[_0x435971(0x88)][_0x435971(0x25b)](l['UniverInstanceType'][_0x435971(0x253)],_0x25a2f6);this[_0x435971(0x88)][_0x435971(0x1b9)](_0x256649[_0x435971(0x6d)]());const _0x5891d7=this['_compressMutationService'][_0x435971(0x16c)]['fetchThroughInterceptors'](this[_0x435971(0x6f)][_0x435971(0x16c)]['getInterceptPoints']()[_0x435971(0xdf)]);return _0xf4b0c5==null||_0xf4b0c5[_0x435971(0x133)](_0x409ca7=>{const _0x5e9bd1=_0x435971,_0x5076bb=_0x409ca7[_0x5e9bd1(0xf4)][_0x5e9bd1(0x1a1)](_0x4f8c2d=>({'id':_0x4f8c2d['id'],'params':JSON[_0x5e9bd1(0x8d)](_0x4f8c2d[_0x5e9bd1(0x6b)])}));({..._0x409ca7,'mutations':_0x5891d7(_0x5076bb,null)||_0x5076bb}[_0x5e9bd1(0xf4)]['forEach'](_0x598c72=>{const _0x351bae=_0x5e9bd1;this[_0x351bae(0x105)][_0x351bae(0xac)](_0x598c72['id'])&&this[_0x351bae(0x105)]['syncExecuteCommand'](_0x598c72['id'],_0x598c72[_0x351bae(0xe6)]);}));}),_0x256649;}};F=Le([w(0x0,b['ISnapshotServerService']),w(0x1,l[_0x431d70(0x20c)]),w(0x2,l[_0x431d70(0x234)]),w(0x3,l[_0x431d70(0x74)]),w(0x4,l[_0x431d70(0x83)](ce[_0x431d70(0xdc)])),w(0x5,l[_0x431d70(0x83)](b[_0x431d70(0xa5)]))],F);function xe(_0x54f043){const _0x19821a=_0x431d70;var _0x2670b3,_0x3b3d44;const _0x2f2788=[],{entities:_0x771591,historyIds:_0x5334b2}=_0x54f043,{datas:_0xdcffc,users:_0x31b770}=_0x771591;for(const _0x550e97 of _0x5334b2)if(_0xdcffc[_0x550e97]){const _0x28051d=!!((_0x2670b3=_0x31b770[_0xdcffc[_0x550e97][_0x19821a(0x1a8)]])!=null&&_0x2670b3['anonymous']);_0x2f2788[_0x19821a(0x186)]({'unitId':_0xdcffc[_0x550e97][_0x19821a(0x1b5)],'user':_0x28051d?'':((_0x3b3d44=_0x31b770==null?void 0x0:_0x31b770[_0xdcffc[_0x550e97]['userId']])==null?void 0x0:_0x3b3d44['name'])||'','isAnonymous':_0x28051d,'id':_0x550e97,'time':_0xdcffc[_0x550e97][_0x19821a(0xd9)]?Number(_0xdcffc[_0x550e97][_0x19821a(0xd9)]):void 0x0,'commands':_0xdcffc[_0x550e97][_0x19821a(0x1be)],'startRev':Number(_0xdcffc[_0x550e97][_0x19821a(0x14e)]),'endRev':Number(_0xdcffc[_0x550e97][_0x19821a(0x204)]),'recoverTime':_0xdcffc[_0x550e97]['recoverTime']?Number(_0xdcffc[_0x550e97][_0x19821a(0xf8)]):void 0x0});}return _0x2f2788;}var $e=Object[_0x431d70(0xf3)],ke=(_0x4050df,_0x485158,_0x58e942,_0x303a9d)=>{const _0x4c08a5=_0x431d70;for(var _0x130b68=_0x303a9d>0x1?void 0x0:_0x303a9d?$e(_0x485158,_0x58e942):_0x485158,_0x5b3118=_0x4050df[_0x4c08a5(0x228)]-0x1,_0x35d899;_0x5b3118>=0x0;_0x5b3118--)(_0x35d899=_0x4050df[_0x5b3118])&&(_0x130b68=_0x35d899(_0x130b68)||_0x130b68);return _0x130b68;},k=(_0x2cc930,_0x1f6755)=>(_0x414658,_0x2f8b61)=>_0x1f6755(_0x414658,_0x2f8b61,_0x2cc930),W=(_0x2adbbb=>(_0x2adbbb[_0x431d70(0x6c)]='entered',_0x2adbbb['Exited']=_0x431d70(0x158),_0x2adbbb['Error']=_0x431d70(0x191),_0x2adbbb))(W||{}),V=(_0x3836d0=>(_0x3836d0[_0x431d70(0x15c)]=_0x431d70(0x224),_0x3836d0[_0x431d70(0xc9)]='loading',_0x3836d0[_0x431d70(0x154)]=_0x431d70(0x213),_0x3836d0))(V||{});const Ue='VIRTUAL_VERSION_NOW';exports[_0x431d70(0x86)]=class extends l[_0x431d70(0x1a5)]{constructor(_0x274746,_0x4230ee,_0x5490e1,_0x36620c){const _0x54317e=_0x431d70;super(),_(this,_0x54317e(0x72),new E[(_0x54317e(0x21d))]([])),_(this,_0x54317e(0x129),this[_0x54317e(0x72)][_0x54317e(0x22a)]()),_(this,'_currentVersion$',new E['BehaviorSubject']('')),_(this,_0x54317e(0x131),this['_currentVersion$']['asObservable']()),_(this,_0x54317e(0xe5),new E['BehaviorSubject']('entered')),_(this,_0x54317e(0x20f),this[_0x54317e(0xe5)]['asObservable']()),_(this,'_revertRevision$',new E[(_0x54317e(0x21d))](0x0)),_(this,_0x54317e(0x1ed),this['_revertRevision$'][_0x54317e(0x22a)]()),_(this,_0x54317e(0x221),new E['BehaviorSubject']('')),_(this,'unitId$',this[_0x54317e(0x221)][_0x54317e(0x22a)]()),_(this,_0x54317e(0x263),!0x1),_(this,'_loadingState$',new E[(_0x54317e(0x21d))](_0x54317e(0x224))),_(this,_0x54317e(0x163),this['_loadingState$']['asObservable']()),_(this,_0x54317e(0x1f0),null),_(this,_0x54317e(0x272),!0x0),_(this,'_members',new Map()),_(this,'_historyContainerId'),_(this,_0x54317e(0xa7)),_(this,'_maskElement'),_(this,'_canRevert',!0x1),(this[_0x54317e(0x157)]=_0x274746,this['_confirmService']=_0x4230ee,this['_localeService']=_0x5490e1,this[_0x54317e(0x1ec)]=_0x36620c);}async['triggerLoadVersions'](_0x57f97c,_0x245c9a,_0x3eb18f){const _0x27030d=_0x431d70;this['_historyContainerId']=_0x245c9a,this[_0x27030d(0x18e)]=_0x3eb18f,this[_0x27030d(0x221)]['next'](_0x57f97c),this[_0x27030d(0x263)]=!0x0;const _0xb5c1b8=await this[_0x27030d(0x1ec)][_0x27030d(0x126)](_0x57f97c);if(this['_fetching']=!0x1,_0xb5c1b8){const {versions:_0x5bc9f8,lastLabel:_0xd71355,hasMore:_0xa72107,members:_0x35acdc}=_0xb5c1b8;_0x5bc9f8[_0x27030d(0x228)]===0x0&&_0x5bc9f8[_0x27030d(0x186)]({'unitId':_0x57f97c,'id':Ue,'startRev':0x1,'endRev':0x0,'time':Date[_0x27030d(0x1e4)](),'user':this[_0x27030d(0x1b2)]['t'](_0x27030d(0x143)),'commands':[],'isAnonymous':!0x1}),this[_0x27030d(0x22b)](_0x5bc9f8,_0xa72107,_0xd71355,_0x35acdc),this[_0x27030d(0x1bc)][_0x27030d(0xe7)](_0x5bc9f8[0x0]['id']);}else this['_status$'][_0x27030d(0xe7)](_0x27030d(0x191));}async[_0x431d70(0x25e)](){const _0x12468f=_0x431d70;if(!this[_0x12468f(0x1f0)]||!this[_0x12468f(0x272)]||this[_0x12468f(0x263)])return!0x1;this[_0x12468f(0x263)]=!0x0;const _0x4905d7=await this[_0x12468f(0x1ec)][_0x12468f(0x126)](this[_0x12468f(0x1b5)],this['_lastLabel']);if(this['_fetching']=!0x1,_0x4905d7){const {versions:_0x41b235,lastLabel:_0x29d307,hasMore:_0x32f074,members:_0x39ca9d}=_0x4905d7;this[_0x12468f(0x22b)](_0x41b235,_0x32f074,_0x29d307,_0x39ca9d);}else this['_messageService'][_0x12468f(0x1d4)]({'content':this[_0x12468f(0x1b2)]['t'](_0x12468f(0x14f)),'type':C[_0x12468f(0x97)][_0x12468f(0x1f6)],'duration':0xbb8});return!0x0;}async[_0x431d70(0x20d)](_0x216976){const _0x2eb323=_0x431d70;var _0x42e018;const _0x2796c1=(_0x42e018=this[_0x2eb323(0x72)][_0x2eb323(0x269)])==null?void 0x0:_0x42e018[_0x2eb323(0x100)](_0x1d71a8=>_0x1d71a8['id']===_0x216976),{endRev:_0x875786}=_0x2796c1||{};_0x875786||_0x875786===0x0?(this[_0x2eb323(0x267)][_0x2eb323(0xe7)]('loading'),await this['_historyFetchService'][_0x2eb323(0x13e)](this[_0x2eb323(0x1b5)],_0x875786),this[_0x2eb323(0x267)]['next'](_0x2eb323(0x213))):this[_0x2eb323(0xe5)][_0x2eb323(0xe7)]('error');}async[_0x431d70(0xfc)](_0x291216){const _0x3f0db2=_0x431d70,_0x14d0d6=_0x291216?this['getVersion'](_0x291216):this[_0x3f0db2(0x254)]();if(!_0x14d0d6)return;const _0x560b88=_0x14d0d6[_0x3f0db2(0x1e8)],_0x1cc44e=ee(_0x14d0d6['time'],this['_localeService'][_0x3f0db2(0xef)]());await this[_0x3f0db2(0x8a)][_0x3f0db2(0x1fd)]({'id':'confirm-revert-revision','title':{'title':this['_localeService']['t'](_0x3f0db2(0x101))},'children':{'title':this['_localeService']['t'](_0x3f0db2(0x142))+_0x3f0db2(0xc2)+_0x1cc44e[_0x3f0db2(0x19b)]+'\x20'+_0x1cc44e[_0x3f0db2(0xb4)]+')'},'cancelText':this[_0x3f0db2(0x1b2)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x3f0db2(0x1b2)]['t'](_0x3f0db2(0x11f))})&&this[_0x3f0db2(0x23c)][_0x3f0db2(0xe7)](_0x560b88);}[_0x431d70(0x22b)](_0x292af7,_0x10b4f2,_0x45995f,_0x1f2b56){const _0x2fd40f=_0x431d70;this[_0x2fd40f(0x72)][_0x2fd40f(0xe7)](this[_0x2fd40f(0x72)][_0x2fd40f(0x269)][_0x2fd40f(0x257)](_0x292af7)),this[_0x2fd40f(0x272)]=_0x10b4f2,this[_0x2fd40f(0x1f0)]=_0x45995f,_0x1f2b56&&Object[_0x2fd40f(0xbe)](_0x1f2b56)['forEach'](_0xcf78b6=>this[_0x2fd40f(0x11b)][_0x2fd40f(0x1d2)](_0xcf78b6,_0x1f2b56[_0xcf78b6]));}['getCurrentVersion'](){const _0x5a5fee=_0x431d70;return this[_0x5a5fee(0xa9)](this['_currentVersion$'][_0x5a5fee(0x269)]);}[_0x431d70(0xa9)](_0x20c4bc){const _0x4c0a48=_0x431d70;var _0x3f8a8f;return(_0x3f8a8f=this['_versions$'][_0x4c0a48(0x269)])==null?void 0x0:_0x3f8a8f[_0x4c0a48(0x100)](_0x5b92f8=>_0x5b92f8['id']===_0x20c4bc);}['getMember'](_0x5a6fb7){const _0x1800a4=_0x431d70;return this[_0x1800a4(0x11b)]['get'](_0x5a6fb7);}[_0x431d70(0xc0)](){const _0x4875f2=_0x431d70;this['_maskElement']=document[_0x4875f2(0x20a)](_0x4875f2(0x278)),this[_0x4875f2(0x141)][_0x4875f2(0x110)]=_0x4875f2(0x8f),this[_0x4875f2(0x141)][_0x4875f2(0xdb)]['position']=_0x4875f2(0x170),this[_0x4875f2(0x141)][_0x4875f2(0xdb)][_0x4875f2(0x205)]='0',this[_0x4875f2(0x141)]['style'][_0x4875f2(0x140)]='0',this[_0x4875f2(0x141)][_0x4875f2(0xdb)]['width']='100%',this[_0x4875f2(0x141)][_0x4875f2(0xdb)]['height']='100%',this['_maskElement']['style']['backgroundColor']=_0x4875f2(0xbf),this[_0x4875f2(0x141)][_0x4875f2(0xdb)][_0x4875f2(0xe0)]=_0x4875f2(0x1b8),this['_maskElement'][_0x4875f2(0xdb)][_0x4875f2(0x251)]=_0x4875f2(0x90),this[_0x4875f2(0x141)][_0x4875f2(0xdb)][_0x4875f2(0x112)]=_0x4875f2(0x233),this[_0x4875f2(0x141)][_0x4875f2(0xdb)][_0x4875f2(0x244)]='1000',this['_maskElement'][_0x4875f2(0xdb)][_0x4875f2(0x251)]=_0x4875f2(0x10b),this['_maskContainer'][_0x4875f2(0x1f4)](this[_0x4875f2(0x141)]);}[_0x431d70(0x206)](){const _0x6d0293=_0x431d70;var _0x22329a;const _0x3be32b=(_0x22329a=document[_0x6d0293(0x195)](this[_0x6d0293(0x21b)]))==null?void 0x0:_0x22329a[_0x6d0293(0x1f1)](_0x6d0293(0x16b));_0x3be32b&&(this[_0x6d0293(0xa7)]=_0x3be32b,this[_0x6d0293(0xc0)]());}['showMask'](){const _0x5e56a2=_0x431d70;this[_0x5e56a2(0xa7)]||this[_0x5e56a2(0x206)](),this[_0x5e56a2(0x141)]&&(this['_maskElement'][_0x5e56a2(0xdb)][_0x5e56a2(0x251)]=_0x5e56a2(0x90));}[_0x431d70(0x14c)](){const _0x1d9c63=_0x431d70;this['_maskElement']&&(this[_0x1d9c63(0x141)]['style'][_0x1d9c63(0x251)]=_0x1d9c63(0x10b));}set[_0x431d70(0x144)](_0x1a1826){const _0x101a6f=_0x431d70;this[_0x101a6f(0xe5)][_0x101a6f(0xe7)](_0x1a1826);}set['currentVersion'](_0x4e9133){const _0x3ec908=_0x431d70;_0x4e9133!==this[_0x3ec908(0x1bc)]['value']&&this[_0x3ec908(0x1bc)][_0x3ec908(0xe7)](_0x4e9133);}get['currentVersion'](){const _0x53ea53=_0x431d70;return this[_0x53ea53(0x1bc)][_0x53ea53(0x269)];}set[_0x431d70(0x1b5)](_0x1a33a5){const _0xf2b5cc=_0x431d70;this[_0xf2b5cc(0x221)]['next'](_0x1a33a5);}get['unitId'](){const _0xa8b827=_0x431d70;return this[_0xa8b827(0x221)][_0xa8b827(0x269)];}get['canRevert'](){return this['_canRevert'];}get['loadingState'](){const _0x2998ba=_0x431d70;return this[_0x2998ba(0x267)]['value'];}},exports['HistoryManagerService']=ke([k(0x0,I[_0x431d70(0x201)]),k(0x1,I[_0x431d70(0xd8)]),k(0x2,l[_0x431d70(0x83)](l[_0x431d70(0x190)])),k(0x3,l[_0x431d70(0x83)](F))],exports[_0x431d70(0x86)]);var R=function(){const _0x5867b7=_0x431d70;return R=Object['assign']||function(_0x156afa){const _0x2e8a5d=_0x1ea3;for(var _0x1c7e43,_0x44738e=0x1,_0x2cc4da=arguments[_0x2e8a5d(0x228)];_0x44738e<_0x2cc4da;_0x44738e++){_0x1c7e43=arguments[_0x44738e];for(var _0x593362 in _0x1c7e43)Object['prototype'][_0x2e8a5d(0x19e)]['call'](_0x1c7e43,_0x593362)&&(_0x156afa[_0x593362]=_0x1c7e43[_0x593362]);}return _0x156afa;},R[_0x5867b7(0x248)](this,arguments);},He=function(_0x331851,_0x2a8d13){const _0x1e8e92=_0x431d70;var _0x1ac645={};for(var _0x1e5d60 in _0x331851)Object[_0x1e8e92(0x218)][_0x1e8e92(0x19e)][_0x1e8e92(0x8b)](_0x331851,_0x1e5d60)&&_0x2a8d13[_0x1e8e92(0xce)](_0x1e5d60)<0x0&&(_0x1ac645[_0x1e5d60]=_0x331851[_0x1e5d60]);if(_0x331851!=null&&typeof Object[_0x1e8e92(0x268)]==_0x1e8e92(0x237)){for(var _0x17cf2b=0x0,_0x1e5d60=Object[_0x1e8e92(0x268)](_0x331851);_0x17cf2b<_0x1e5d60[_0x1e8e92(0x228)];_0x17cf2b++)_0x2a8d13[_0x1e8e92(0xce)](_0x1e5d60[_0x17cf2b])<0x0&&Object[_0x1e8e92(0x218)][_0x1e8e92(0x24a)][_0x1e8e92(0x8b)](_0x331851,_0x1e5d60[_0x17cf2b])&&(_0x1ac645[_0x1e5d60[_0x17cf2b]]=_0x331851[_0x1e5d60[_0x17cf2b]]);}return _0x1ac645;},X=m['forwardRef'](function(_0x32b9fb,_0x3084bd){const _0x34d7d4=_0x431d70;var _0x18e956=_0x32b9fb['icon'],_0x512e38=_0x32b9fb['id'],_0x4eaedf=_0x32b9fb[_0x34d7d4(0x110)],_0x55e241=_0x32b9fb[_0x34d7d4(0xa3)],_0x138106=He(_0x32b9fb,['icon','id',_0x34d7d4(0x110),_0x34d7d4(0xa3)]),_0x15a00e=_0x34d7d4(0x102)[_0x34d7d4(0x257)](_0x512e38,'\x20')['concat'](_0x4eaedf||'')['trim'](),_0x3f9dc9=m[_0x34d7d4(0x7e)]('_'[_0x34d7d4(0x257)](Be()));return _e(_0x18e956,''['concat'](_0x512e38),{'defIds':_0x18e956['defIds'],'idSuffix':_0x3f9dc9[_0x34d7d4(0x107)]},R({'ref':_0x3084bd,'className':_0x15a00e},_0x138106),_0x55e241);});function _e(_0x3ffe5b,_0x31bad4,_0x157428,_0x1df193,_0x27a3e7){const _0x1c3634=_0x431d70;return m[_0x1c3634(0x20a)](_0x3ffe5b[_0x1c3634(0x177)],R(R({'key':_0x31bad4},je(_0x3ffe5b,_0x157428,_0x27a3e7)),_0x1df193),(Fe(_0x3ffe5b,_0x157428)[_0x1c3634(0x17d)]||[])['map'](function(_0x23ea7d,_0x17f13a){const _0x293bd8=_0x1c3634;return _e(_0x23ea7d,''[_0x293bd8(0x257)](_0x31bad4,'-')['concat'](_0x3ffe5b[_0x293bd8(0x177)],'-')[_0x293bd8(0x257)](_0x17f13a),_0x157428,void 0x0,_0x27a3e7);}));}function je(_0x15c3ee,_0x4dd27c,_0x36afec){const _0x4f474e=_0x431d70;var _0x388858=R({},_0x15c3ee[_0x4f474e(0x194)]);_0x36afec!=null&&_0x36afec[_0x4f474e(0xa0)]&&_0x388858[_0x4f474e(0x184)]===_0x4f474e(0xa0)&&(_0x388858[_0x4f474e(0x184)]=_0x36afec[_0x4f474e(0xa0)]),_0x15c3ee[_0x4f474e(0x177)]===_0x4f474e(0x255)&&_0x388858['id']&&(_0x388858['id']=_0x388858['id']+_0x4dd27c['idSuffix']),Object[_0x4f474e(0xae)](_0x388858)['forEach'](function(_0x3ee743){const _0x2a931d=_0x4f474e;var _0x3164c5=_0x3ee743[0x0],_0x5a6c0f=_0x3ee743[0x1];_0x3164c5===_0x2a931d(0x255)&&typeof _0x5a6c0f=='string'&&(_0x388858[_0x3164c5]=_0x5a6c0f['replace'](/url\(#(.*)\)/,_0x2a931d(0x192)[_0x2a931d(0x257)](_0x4dd27c['idSuffix'],')')));});var _0xc349e9=_0x4dd27c[_0x4f474e(0x24e)];return!_0xc349e9||_0xc349e9[_0x4f474e(0x228)]===0x0||(_0x15c3ee[_0x4f474e(0x177)]===_0x4f474e(0x91)&&_0x388858[_0x4f474e(0x1c9)]&&(_0x388858['xlink:href']=_0x388858[_0x4f474e(0x1c9)]+_0x4dd27c['idSuffix']),Object['entries'](_0x388858)[_0x4f474e(0x133)](function(_0x8ab708){const _0xb4ddae=_0x4f474e;var _0x2532fa=_0x8ab708[0x0],_0x4fbb62=_0x8ab708[0x1];typeof _0x4fbb62==_0xb4ddae(0x73)&&(_0x388858[_0x2532fa]=_0x4fbb62['replace'](/url\(#(.*)\)/,_0xb4ddae(0x192)[_0xb4ddae(0x257)](_0x4dd27c[_0xb4ddae(0x1ac)],')')));})),_0x388858;}function Fe(_0x2e8f59,_0x3aa554){const _0x234c42=_0x431d70;var _0x2ee75c,_0x1a24b6=_0x3aa554[_0x234c42(0x24e)];return!_0x1a24b6||_0x1a24b6['length']===0x0?_0x2e8f59:_0x2e8f59[_0x234c42(0x177)]==='defs'&&(!((_0x2ee75c=_0x2e8f59[_0x234c42(0x17d)])===null||_0x2ee75c===void 0x0)&&_0x2ee75c[_0x234c42(0x228)])?R(R({},_0x2e8f59),{'children':_0x2e8f59[_0x234c42(0x17d)][_0x234c42(0x1a1)](function(_0x5164a6){const _0xfd4844=_0x234c42;return typeof _0x5164a6[_0xfd4844(0x194)]['id']==_0xfd4844(0x73)&&_0x1a24b6&&_0x1a24b6[_0xfd4844(0x1aa)](_0x5164a6[_0xfd4844(0x194)]['id'])?R(R({},_0x5164a6),{'attrs':R(R({},_0x5164a6[_0xfd4844(0x194)]),{'id':_0x5164a6[_0xfd4844(0x194)]['id']+_0x3aa554[_0xfd4844(0x1ac)]})}):_0x5164a6;})}):_0x2e8f59;}function Be(){const _0x4cf12e=_0x431d70;return Math[_0x4cf12e(0x27a)]()[_0x4cf12e(0x125)](0x24)[_0x4cf12e(0x11d)](0x2,0x8);}X[_0x431d70(0x13a)]=_0x431d70(0xc4);var Ye={'tag':_0x431d70(0xe1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x431d70(0x10b),'viewBox':_0x431d70(0x1e9),'width':_0x431d70(0x275),'height':'1em'},'children':[{'tag':_0x431d70(0x1d6),'attrs':{'fill':_0x431d70(0x87),'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[_0x431d70(0x1a9)](function(_0x3cfa3e,_0xe74a38){const _0xe8f1=_0x431d70;return m[_0xe8f1(0x20a)](X,Object[_0xe8f1(0x24f)]({},_0x3cfa3e,{'id':_0xe8f1(0x18d),'ref':_0xe74a38,'icon':Ye}));});he[_0x431d70(0x13a)]=_0x431d70(0x7c);var Ae={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x431d70(0x1e9),'width':'1em','height':_0x431d70(0x275)},'children':[{'tag':_0x431d70(0x1d6),'attrs':{'fill':_0x431d70(0x212),'d':_0x431d70(0x1ff),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x431d70(0xad)}},{'tag':_0x431d70(0x1d6),'attrs':{'fill':_0x431d70(0x212),'d':_0x431d70(0x17c),'fillRule':_0x431d70(0xad),'clipRule':_0x431d70(0xad)}}]},te=m[_0x431d70(0x1a9)](function(_0x3dd773,_0x11fea6){const _0x24edd1=_0x431d70;return m['createElement'](X,Object[_0x24edd1(0x24f)]({},_0x3dd773,{'id':_0x24edd1(0x277),'ref':_0x11fea6,'icon':Ae}));});te['displayName']=_0x431d70(0xa6);var We={'tag':_0x431d70(0xe1),'attrs':{'xmlns':_0x431d70(0x15b),'fill':_0x431d70(0x10b),'viewBox':'0\x200\x2016\x2017','width':_0x431d70(0x275),'height':_0x431d70(0x275)},'children':[{'tag':'g','attrs':{'fill':_0x431d70(0x87),'clipPath':_0x431d70(0x256)},'children':[{'tag':'path','attrs':{'d':_0x431d70(0x135)}},{'tag':'path','attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x431d70(0xad),'clipRule':_0x431d70(0xad)}}]},{'tag':_0x431d70(0x96),'attrs':{},'children':[{'tag':_0x431d70(0x11c),'attrs':{'id':_0x431d70(0x160)},'children':[{'tag':_0x431d70(0xe3),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x431d70(0x1b8),'rx':0x4}}]}]}],'defIds':[_0x431d70(0x160)]},de=m[_0x431d70(0x1a9)](function(_0x21dfb0,_0x38c238){const _0x32b731=_0x431d70;return m[_0x32b731(0x20a)](X,Object[_0x32b731(0x24f)]({},_0x21dfb0,{'id':_0x32b731(0x1b7),'ref':_0x38c238,'icon':We}));});de[_0x431d70(0x13a)]=_0x431d70(0x169);function Xe(){const _0x3aa74f=_0x431d70;var _0x1d293c;const _0x39c2ec=I[_0x3aa74f(0x25d)](exports[_0x3aa74f(0x86)]),_0x5bbe94=I[_0x3aa74f(0x25d)](l['LocaleService']),_0x2f0d5d=m[_0x3aa74f(0x137)](()=>{const _0x3a4518=_0x3aa74f;_0x39c2ec[_0x3a4518(0x144)]=W['Exited'];},[_0x39c2ec]),_0x5a3542=m[_0x3aa74f(0x137)](()=>{const _0x1a6798=_0x3aa74f;_0x39c2ec[_0x1a6798(0xfc)]();},[_0x39c2ec]),_0x39de12=I[_0x3aa74f(0x217)](_0x39c2ec[_0x3aa74f(0x131)]),_0x32157d=I[_0x3aa74f(0x217)](_0x39c2ec['versions$']),_0x24d3e7=_0x39de12===((_0x1d293c=_0x32157d==null?void 0x0:_0x32157d[0x0])==null?void 0x0:_0x1d293c['id']),_0x445b57=_0x39de12!==''&&!_0x24d3e7&&_0x39c2ec[_0x3aa74f(0x207)];return h[_0x3aa74f(0x7d)](_0x3aa74f(0x278),{'className':C[_0x3aa74f(0x1bb)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',C['borderBottomClassName']),'children':[h['jsx'](_0x3aa74f(0x278),{'onClick':_0x2f0d5d,'className':_0x3aa74f(0x18c),'children':h[_0x3aa74f(0xaa)](he,{'className':_0x3aa74f(0x16e)})}),h[_0x3aa74f(0xaa)](_0x3aa74f(0x278),{'className':_0x3aa74f(0xe8),'children':_0x445b57&&h[_0x3aa74f(0xaa)](C[_0x3aa74f(0x171)],{'variant':'primary','onClick':_0x5a3542,'children':_0x5bbe94['t'](_0x3aa74f(0x1c7))})})]});}var Ge=Object[_0x431d70(0xf3)],qe=(_0x3496b1,_0x4b2aff,_0x52319e,_0x3b0ef0)=>{const _0x31ada9=_0x431d70;for(var _0x32267b=_0x3b0ef0>0x1?void 0x0:_0x3b0ef0?Ge(_0x4b2aff,_0x52319e):_0x4b2aff,_0x4c5f50=_0x3496b1[_0x31ada9(0x228)]-0x1,_0x195ce9;_0x4c5f50>=0x0;_0x4c5f50--)(_0x195ce9=_0x3496b1[_0x4c5f50])&&(_0x32267b=_0x195ce9(_0x32267b)||_0x32267b);return _0x32267b;},P=(_0x301103,_0x421eb7)=>(_0x4c234f,_0x3277bd)=>_0x421eb7(_0x4c234f,_0x3277bd,_0x301103);let B=class extends l[_0x431d70(0x1a5)]{constructor(_0x16f7ca,_0x1fe6aa,_0x161b78,_0x5188d0,_0xe76fc4,_0x443f96){const _0x2b220c=_0x431d70;super(),this['_permissionService']=_0x16f7ca,this['_uiPartsService']=_0x1fe6aa,this[_0x2b220c(0x157)]=_0x161b78,this[_0x2b220c(0x1b2)]=_0x5188d0,this[_0x2b220c(0x85)]=_0xe76fc4,this[_0x2b220c(0x98)]=_0x443f96,this['_init']();}[_0x431d70(0x93)](){const _0x3d5e3f=_0x431d70;this[_0x3d5e3f(0xf0)](this[_0x3d5e3f(0x85)]['currentVersion$'][_0x3d5e3f(0x173)](_0x2e270a=>{const _0x2f82c4=_0x3d5e3f;_0x2e270a&&this['_historyManagerService'][_0x2f82c4(0x20d)](_0x2e270a);})),this[_0x3d5e3f(0xf0)](this[_0x3d5e3f(0xf1)][_0x3d5e3f(0x138)]['subscribe'](_0x49cc0a=>{const _0x39c5ff=_0x3d5e3f,_0x53d6bb=this[_0x39c5ff(0x85)][_0x39c5ff(0x1b5)];_0x53d6bb&&(_0x49cc0a['subType']===y[_0x39c5ff(0xa4)]&&_0x49cc0a[_0x39c5ff(0x269)]===!0x0&&this[_0x39c5ff(0xf1)]['updatePermissionPoint'](new u[(_0x39c5ff(0x1d9))](_0x53d6bb)['id'],!0x1),_0x49cc0a[_0x39c5ff(0x1ea)]===y['RenameSheet']&&_0x49cc0a[_0x39c5ff(0x269)]===!0x0&&this[_0x39c5ff(0xf1)][_0x39c5ff(0x162)](new u[(_0x39c5ff(0xd3))](_0x53d6bb)['id'],!0x1),_0x49cc0a[_0x39c5ff(0x1ea)]===y[_0x39c5ff(0x18a)]&&_0x49cc0a[_0x39c5ff(0x269)]===!0x0&&this[_0x39c5ff(0xf1)]['updatePermissionPoint'](new u[(_0x39c5ff(0x7f))](_0x53d6bb)['id'],!0x1),_0x49cc0a[_0x39c5ff(0x1ea)]===y[_0x39c5ff(0x1a0)]&&_0x49cc0a[_0x39c5ff(0x269)]===!0x0&&this[_0x39c5ff(0xf1)][_0x39c5ff(0x162)](new u['WorkbookHideSheetPermission'](_0x53d6bb)['id'],!0x1),_0x49cc0a[_0x39c5ff(0x1ea)]===y[_0x39c5ff(0x95)]&&_0x49cc0a[_0x39c5ff(0x269)]===!0x0&&this[_0x39c5ff(0xf1)][_0x39c5ff(0x162)](new u[(_0x39c5ff(0x1d9))](_0x53d6bb)['id'],!0x1),_0x49cc0a[_0x39c5ff(0x1ea)]===y['FloatImg']&&_0x49cc0a['value']===!0x0&&this['_permissionService']['updatePermissionPoint'](new u[(_0x39c5ff(0x1d9))](_0x53d6bb)['id'],!0x1));})),this['disposeWithMe'](this[_0x3d5e3f(0xed)]['registerComponent'](I['BuiltInUIPart']['HEADER'],()=>I[_0x3d5e3f(0x146)](Xe,this['_injector']))),this['disposeWithMe'](this['_historyManagerService'][_0x3d5e3f(0x163)]['subscribe'](_0x4129f7=>{const _0x7811be=_0x3d5e3f;_0x4129f7===V[_0x7811be(0xc9)]&&(this[_0x7811be(0x85)][_0x7811be(0x1cc)](),this['_messageService'][_0x7811be(0x1d4)]({'type':C['MessageType'][_0x7811be(0x200)],'content':this[_0x7811be(0x1b2)]['t'](_0x7811be(0x69))})),_0x4129f7===V[_0x7811be(0x154)]&&this[_0x7811be(0x85)][_0x7811be(0x14c)]();}));}};B=qe([P(0x0,l[_0x431d70(0x180)]),P(0x1,I[_0x431d70(0xf9)]),P(0x2,I[_0x431d70(0x201)]),P(0x3,l[_0x431d70(0x83)](l[_0x431d70(0x190)])),P(0x4,l[_0x431d70(0x83)](exports['HistoryManagerService'])),P(0x5,l[_0x431d70(0x83)](l[_0x431d70(0xb2)]))],B);var Ze=Object[_0x431d70(0xf3)],Ke=(_0x1a9f42,_0x2fea28,_0x4766b8,_0xc140dd)=>{for(var _0x5644b3=_0xc140dd>0x1?void 0x0:_0xc140dd?Ze(_0x2fea28,_0x4766b8):_0x2fea28,_0x144cd4=_0x1a9f42['length']-0x1,_0x1748a8;_0x144cd4>=0x0;_0x144cd4--)(_0x1748a8=_0x1a9f42[_0x144cd4])&&(_0x5644b3=_0x1748a8(_0x5644b3)||_0x5644b3);return _0x5644b3;},q=(_0x448c9e,_0x1092e8)=>(_0x558d29,_0x2fa4d6)=>_0x1092e8(_0x558d29,_0x2fa4d6,_0x448c9e);let $=class extends l[_0x431d70(0x1a5)]{constructor(_0x1a9127,_0x4971c0,_0x468053){const _0x4c8324=_0x431d70;super(),_(this,_0x4c8324(0x22c),new Map()),_(this,_0x4c8324(0x114),new E[(_0x4c8324(0x21d))]({'ranges':new Map(),'active':null})),_(this,'currentVersionDiff$',this['_currentVersionDiff$'][_0x4c8324(0x22a)]()),(this[_0x4c8324(0x85)]=_0x1a9127,this[_0x4c8324(0x165)]=_0x4971c0,this[_0x4c8324(0x188)]=_0x468053,this[_0x4c8324(0x93)]());}[_0x431d70(0x93)](){const _0xe0988a=_0x431d70;this[_0xe0988a(0x22c)]=new Map(),this[_0xe0988a(0xf0)](this[_0xe0988a(0x85)]['unitId$'][_0xe0988a(0x173)](_0x3cedd5=>{const _0x4b19a3=_0xe0988a;_0x3cedd5&&!this[_0x4b19a3(0x22c)][_0x4b19a3(0x26f)](_0x3cedd5)&&this[_0x4b19a3(0x22c)]['set'](_0x3cedd5,new Map());})),this[_0xe0988a(0xf0)](this[_0xe0988a(0x85)][_0xe0988a(0x131)][_0xe0988a(0x173)](async _0x25aa47=>{const _0x20d7da=_0xe0988a;var _0x247d27;_0x25aa47&&(await this[_0x20d7da(0x104)](_0x25aa47),this['_currentVersionDiff$']['next'](((_0x247d27=this['_diffRangesMap'][_0x20d7da(0x247)](this[_0x20d7da(0x85)][_0x20d7da(0x1b5)]))==null?void 0x0:_0x247d27[_0x20d7da(0x247)](_0x25aa47))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x1ce7c7){const _0x4d5c40=_0x431d70;var _0x41616a,_0x2e4e73;const _0x584ef4=this[_0x4d5c40(0x85)]['getVersion'](_0x1ce7c7),_0x3216aa=this[_0x4d5c40(0x85)][_0x4d5c40(0x1b5)];if(!_0x584ef4||!_0x3216aa)return;const _0x3147e6=this['_diffRangesMap'][_0x4d5c40(0x247)](_0x3216aa);if(_0x3147e6||this[_0x4d5c40(0x22c)]['set'](_0x3216aa,new Map()),(_0x41616a=this[_0x4d5c40(0x22c)]['get'](_0x3216aa))!=null&&_0x41616a[_0x4d5c40(0x26f)](_0x584ef4['id']))return;const {startRev:_0x3f22b7,endRev:_0x16ccbb}=_0x584ef4;if(_0x3f22b7===0x1){_0x3147e6['set'](_0x584ef4['id'],{'ranges':new Map(),'active':null});return;}const _0x100028=_0x3f22b7-0x1,_0x5cc93f=_0x16ccbb,_0x24926a=await this[_0x4d5c40(0x188)][_0x4d5c40(0x167)]({},{'unitID':_0x3216aa,'from':_0x100028,'to':_0x5cc93f,'type':j[_0x4d5c40(0x253)]});if(((_0x2e4e73=_0x24926a[_0x4d5c40(0x191)])==null?void 0x0:_0x2e4e73['code'])===A['OK']){const _0x147758=_0x24926a[_0x4d5c40(0x92)]['map'](b[_0x4d5c40(0x1e3)])['map'](_0x5a8be2=>_0x5a8be2[_0x4d5c40(0xf4)][_0x4d5c40(0x1a1)](_0x482336=>({..._0x482336,'params':{..._0x482336[_0x4d5c40(0xe6)],'memberId':_0x5a8be2[_0x4d5c40(0x1a7)]}})))[_0x4d5c40(0x16f)](),_0x7a74a5=this[_0x4d5c40(0x76)](_0x147758),_0x25b5ec=this[_0x4d5c40(0x1e7)](_0x147758),_0xd0772d=this['_extractRanges'](_0x7a74a5);_0x3147e6['set'](_0x584ef4['id'],{'ranges':_0xd0772d,'active':_0x25b5ec});}}['_transformMutationByOrder'](_0x45b687){const _0x1a26ca=_0x431d70;let _0x55626d=[];for(let _0x3c293a=0x0;_0x3c293a<_0x45b687[_0x1a26ca(0x228)];_0x3c293a++){const _0x1578aa=_0x45b687[_0x3c293a];if(_0x55626d[_0x1a26ca(0x186)](_0x1578aa),_0x3c293a!==_0x45b687[_0x1a26ca(0x228)]-0x1){const _0x2f7d99=_0x45b687[_0x3c293a+0x1],_0x1408fa=this[_0x1a26ca(0x165)][_0x1a26ca(0x15f)](_0x55626d,[_0x2f7d99]);b[_0x1a26ca(0xca)](_0x1408fa)?_0x55626d=_0x1408fa[_0x1a26ca(0x1f3)]:_0x55626d=[];}}return _0x55626d;}[_0x431d70(0x1e7)](_0x15b928){const _0x150dc1=_0x431d70;let _0x4d9ff3=[];return _0x15b928[_0x150dc1(0x133)](_0x11e3c4=>{const _0x1c7e89=_0x150dc1;if(_0x11e3c4['id']===u[_0x1c7e89(0xbd)]['id']){const _0x28bf73=_0x11e3c4[_0x1c7e89(0xe6)];_0x4d9ff3['push'](_0x28bf73[_0x1c7e89(0x14d)]['id']);}else{if(_0x11e3c4['id']===u[_0x1c7e89(0xd6)]['id']){const _0x511cab=_0x11e3c4['params'];_0x4d9ff3[_0x1c7e89(0x228)]>0x0&&(_0x4d9ff3=_0x4d9ff3[_0x1c7e89(0xf7)](_0x2f469f=>_0x2f469f!==_0x511cab[_0x1c7e89(0x214)]));}else{if(_0x11e3c4['id']===u['SetWorksheetHideMutation']['id']){const _0x53e91e=_0x11e3c4[_0x1c7e89(0xe6)];_0x53e91e[_0x1c7e89(0x94)]?_0x4d9ff3=_0x4d9ff3['filter'](_0x2c25d2=>_0x2c25d2!==_0x53e91e['subUnitId']):_0x4d9ff3[_0x1c7e89(0x186)](_0x53e91e[_0x1c7e89(0x214)]);}else{const _0x1918ea=_0x11e3c4[_0x1c7e89(0xe6)];_0x1918ea[_0x1c7e89(0x214)]&&_0x4d9ff3['push'](_0x1918ea[_0x1c7e89(0x214)]);}}}}),_0x4d9ff3['length']>0x0?_0x4d9ff3[_0x4d9ff3['length']-0x1]:null;}[_0x431d70(0x14b)](_0x2682f5){const _0x47c6d6=_0x431d70,_0x4ef84a=new Map();return _0x2682f5[_0x47c6d6(0x133)](_0x22c27d=>{const _0x37dbbd=_0x47c6d6;var _0x2eb4f9,_0x2f986b;const _0x5861ea=(_0x2eb4f9=_0x22c27d[_0x37dbbd(0xe6)])==null?void 0x0:_0x2eb4f9[_0x37dbbd(0x1c3)];if(_0x5861ea){_0x4ef84a['has'](_0x5861ea)||_0x4ef84a[_0x37dbbd(0x1d2)](_0x5861ea,[]);const _0x15fc20=this[_0x37dbbd(0x159)](_0x22c27d);(_0x2f986b=_0x4ef84a[_0x37dbbd(0x247)](_0x5861ea))==null||_0x2f986b[_0x37dbbd(0x186)](..._0x15fc20);}}),_0x4ef84a[_0x47c6d6(0x133)]((_0x2f04af,_0x5246b9)=>{const _0x4a2788=_0x47c6d6;_0x4ef84a[_0x4a2788(0x1d2)](_0x5246b9,this[_0x4a2788(0x240)](_0x2f04af));}),_0x4ef84a;}['_getRangesByMutation'](_0x2963ff){const _0x32cb55=_0x431d70;switch(_0x2963ff['id']){case u[_0x32cb55(0xd5)]['id']:{const _0x37df70=_0x2963ff[_0x32cb55(0xe6)];return _0x37df70[_0x32cb55(0xfd)]['map'](_0x20cea8=>_0x20cea8[_0x32cb55(0xf2)][_0x32cb55(0x1a1)](_0x3daee7=>({'range':_0x3daee7,'unitId':_0x37df70[_0x32cb55(0x1b5)],'subUnitId':_0x37df70[_0x32cb55(0x214)]})))['flat']();}case u[_0x32cb55(0x210)]['id']:{const _0x1a4f08=_0x2963ff[_0x32cb55(0xe6)];return _0x1a4f08[_0x32cb55(0xf2)][_0x32cb55(0x1a1)](_0xd5d892=>({'range':_0xd5d892,'unitId':_0x1a4f08['unitId'],'subUnitId':_0x1a4f08[_0x32cb55(0x214)]}));}case u[_0x32cb55(0x21a)]['id']:{const _0x29580c=_0x2963ff[_0x32cb55(0xe6)];return[{'range':_0x29580c[_0x32cb55(0x22d)],'unitId':_0x29580c[_0x32cb55(0x1b5)],'subUnitId':_0x29580c[_0x32cb55(0x214)]}];}case u[_0x32cb55(0x229)]['id']:{const _0x35f46a=_0x2963ff[_0x32cb55(0xe6)];return[{'range':_0x35f46a[_0x32cb55(0x22d)],'unitId':_0x35f46a['unitId'],'subUnitId':_0x35f46a[_0x32cb55(0x214)]}];}case u[_0x32cb55(0x1e0)]['id']:{const _0x4d4956=_0x2963ff[_0x32cb55(0xe6)],{from:_0x4934b2,to:_0x18b2db,unitId:_0x55c6d7}=_0x4d4956;return[{'range':ae(_0x4934b2[_0x32cb55(0x269)]),'unitId':_0x55c6d7,'subUnitId':_0x4934b2[_0x32cb55(0x214)]},{'range':ae(_0x18b2db[_0x32cb55(0x269)]),'unitId':_0x55c6d7,'subUnitId':_0x18b2db[_0x32cb55(0x214)]}];}case u[_0x32cb55(0xde)]['id']:{const _0x22f5e5=_0x2963ff[_0x32cb55(0xe6)],{unitId:_0x27c881,subUnitId:_0xbaf8d5,sourceRange:_0x3d7653,targetRange:_0x380189}=_0x22f5e5,_0x2565fd=_0x3d7653[_0x32cb55(0xee)]-_0x3d7653[_0x32cb55(0x178)]+0x1;return[{'range':_0x380189[_0x32cb55(0x178)]<=_0x3d7653['startRow']?_0x380189:{..._0x380189,'startRow':_0x380189[_0x32cb55(0x178)]-_0x2565fd,'endRow':_0x380189['endRow']-_0x2565fd},'unitId':_0x27c881,'subUnitId':_0xbaf8d5}];}case u[_0x32cb55(0x220)]['id']:{const _0x47aaa9=_0x2963ff[_0x32cb55(0xe6)],{unitId:_0x261a04,subUnitId:_0x3c2758,sourceRange:_0x36272a,targetRange:_0x29f1e4}=_0x47aaa9,_0x540302=_0x36272a[_0x32cb55(0x1db)]-_0x36272a['startColumn']+0x1;return[{'range':_0x29f1e4[_0x32cb55(0x12d)]<=_0x36272a['startColumn']?_0x29f1e4:{..._0x29f1e4,'startColumn':_0x29f1e4[_0x32cb55(0x12d)]-_0x540302,'endColumn':_0x29f1e4[_0x32cb55(0x1db)]-_0x540302},'unitId':_0x261a04,'subUnitId':_0x3c2758}];}case u[_0x32cb55(0x82)]['id']:{const _0x32c0e0=_0x2963ff[_0x32cb55(0xe6)],{values:_0x117235,unitId:_0x11c420,subUnitId:_0x110f82}=_0x32c0e0;return Object[_0x32cb55(0x19a)](_0x117235)[_0x32cb55(0x1a1)](_0x4f42b3=>_0x4f42b3[_0x32cb55(0xf2)]['map'](_0x121d19=>({'range':_0x121d19,'unitId':_0x11c420,'subUnitId':_0x110f82})))[_0x32cb55(0x16f)]();}case u[_0x32cb55(0xcf)]['id']:{const _0x37d179=_0x2963ff[_0x32cb55(0xe6)],{ranges:_0x260810,unitId:_0x4220f4,subUnitId:_0x1c23b9}=_0x37d179;return _0x260810['map'](_0x4f8ff8=>({'range':_0x4f8ff8,'unitId':_0x4220f4,'subUnitId':_0x1c23b9}));}case u[_0x32cb55(0x7a)]['id']:{const _0x236445=_0x2963ff[_0x32cb55(0xe6)],{unitId:_0x40d28e,subUnitId:_0x28db27,range:_0x1f3aa7}=_0x236445;return[{'range':_0x1f3aa7,'unitId':_0x40d28e,'subUnitId':_0x28db27}];}case u[_0x32cb55(0x216)]['id']:{const _0x4efa68=_0x2963ff[_0x32cb55(0xe6)];return _0x4efa68[_0x32cb55(0x26b)][_0x32cb55(0xf2)][_0x32cb55(0x1a1)](_0x106c7a=>({'range':_0x106c7a,'unitId':_0x4efa68[_0x32cb55(0x1b5)],'subUnitId':_0x4efa68[_0x32cb55(0x214)]}));}case u[_0x32cb55(0x176)]['id']:{const _0x431d81=_0x2963ff['params'];return _0x431d81[_0x32cb55(0x21e)]?Qe(_0x431d81[_0x32cb55(0x21e)])[_0x32cb55(0x1a1)](_0x32a8c9=>({'range':_0x32a8c9,'unitId':_0x431d81['unitId'],'subUnitId':_0x431d81[_0x32cb55(0x214)]})):[];}case le[_0x32cb55(0x16a)]['id']:{const _0x26fce7=_0x2963ff[_0x32cb55(0xe6)];return[{'range':_0x26fce7[_0x32cb55(0x22d)],'unitId':_0x26fce7[_0x32cb55(0x1b5)],'subUnitId':_0x26fce7[_0x32cb55(0x214)]}];}case K[_0x32cb55(0xe2)]['id']:{const _0x16cf04=_0x2963ff[_0x32cb55(0xe6)];return(Array[_0x32cb55(0xd7)](_0x16cf04[_0x32cb55(0x26b)])?_0x16cf04[_0x32cb55(0x26b)]:[_0x16cf04[_0x32cb55(0x26b)]])[_0x32cb55(0x1a1)](_0x23069c=>_0x23069c['ranges'][_0x32cb55(0x1a1)](_0x1d9603=>({'range':_0x1d9603,'unitId':_0x16cf04[_0x32cb55(0x1b5)],'subUnitId':_0x16cf04['subUnitId']})))[_0x32cb55(0x16f)]();}case Q[_0x32cb55(0x118)]['id']:{const _0x300c96=_0x2963ff['params'];return _0x300c96['rule'][_0x32cb55(0xf2)][_0x32cb55(0x1a1)](_0x4a29e9=>({'range':_0x4a29e9,'unitId':_0x300c96[_0x32cb55(0x1b5)],'subUnitId':_0x300c96[_0x32cb55(0x214)]}));}default:return[];}}[_0x431d70(0x240)](_0x4c2bd4){const _0x33791b=_0x431d70;if(_0x4c2bd4[_0x33791b(0x228)]<=0x1)return _0x4c2bd4;const _0x511026=new Map();return _0x4c2bd4[_0x33791b(0x133)](_0x2b5837=>{const _0x56db93=_0x33791b;var _0x410c01;const {unitId:_0x88bae,subUnitId:_0x1a5f63}=_0x2b5837,_0x5d2bb3=_0x88bae+'-'+_0x1a5f63;_0x511026[_0x56db93(0x26f)](_0x5d2bb3)?(_0x410c01=_0x511026[_0x56db93(0x247)](_0x5d2bb3))==null||_0x410c01['push'](_0x2b5837):_0x511026['set'](_0x5d2bb3,[_0x2b5837]);}),Array[_0x33791b(0xbc)](_0x511026['values']())['map'](_0x410e3f=>new u['RangeMergeUtil']()[_0x33791b(0x219)](..._0x410e3f[_0x33791b(0x1a1)](_0x452bd1=>_0x452bd1[_0x33791b(0x22d)]))[_0x33791b(0x80)]()['map'](_0xcb0504=>({'range':_0xcb0504,'unitId':_0x410e3f[0x0][_0x33791b(0x1b5)],'subUnitId':_0x410e3f[0x0][_0x33791b(0x214)]})))[_0x33791b(0x16f)]();}};$=Ke([q(0x0,l[_0x431d70(0x83)](exports[_0x431d70(0x86)])),q(0x1,b[_0x431d70(0x1c6)]),q(0x2,b[_0x431d70(0x23a)])],$);function ae(_0x181834){const _0x1af628=_0x431d70;return new l[(_0x1af628(0x273))](_0x181834)['getDataRange']();}function Qe(_0x5c7366){const _0x28093c=_0x431d70,_0x42ed2a=new l['ObjectMatrix'](_0x5c7366),_0x43e39c=new l[(_0x28093c(0x273))]();return _0x42ed2a[_0x28093c(0x226)]((_0x4a3584,_0x1f83be)=>{const _0xa8eacd=_0x28093c;_0x43e39c[_0xa8eacd(0x197)](_0x4a3584,_0x1f83be,0x1);}),u['findAllRectangle'](_0x43e39c);}var Je=Object['getOwnPropertyDescriptor'],ze=(_0x1cbcbb,_0x18752e,_0x4265be,_0x1c3114)=>{const _0x33309e=_0x431d70;for(var _0x5c1cc4=_0x1c3114>0x1?void 0x0:_0x1c3114?Je(_0x18752e,_0x4265be):_0x18752e,_0x4df80a=_0x1cbcbb[_0x33309e(0x228)]-0x1,_0x5d14dd;_0x4df80a>=0x0;_0x4df80a--)(_0x5d14dd=_0x1cbcbb[_0x4df80a])&&(_0x5c1cc4=_0x5d14dd(_0x5c1cc4)||_0x5c1cc4);return _0x5c1cc4;},T=(_0x4a83a5,_0x1a7e82)=>(_0x513089,_0x1a9685)=>_0x1a7e82(_0x513089,_0x1a9685,_0x4a83a5);let z=class extends l['Disposable']{constructor(_0x2e5fba,_0x1ad00c,_0x86375,_0x3ce8cc,_0x524e86,_0x2d834d,_0x106e8b){const _0x45dddf=_0x431d70;super(),_(this,_0x45dddf(0x261),new Set()),_(this,_0x45dddf(0xf6),null),(this[_0x45dddf(0x1eb)]=_0x2e5fba,this[_0x45dddf(0x85)]=_0x1ad00c,this['_versionDiffService']=_0x86375,this[_0x45dddf(0x88)]=_0x3ce8cc,this[_0x45dddf(0x1d3)]=_0x524e86,this[_0x45dddf(0x174)]=_0x2d834d,this[_0x45dddf(0x105)]=_0x106e8b,this['_init']());}[_0x431d70(0x93)](){const _0x53811d=_0x431d70;this[_0x53811d(0x168)](),this[_0x53811d(0x236)]();}[_0x431d70(0x168)](){const _0x1d3008=_0x431d70;this[_0x1d3008(0xf0)](E[_0x1d3008(0x271)]([this['_historyManagerService']['loadingState$'],this[_0x1d3008(0x174)][_0x1d3008(0x9b)]])[_0x1d3008(0x6e)](E[_0x1d3008(0x1fc)](([_0x3fca6d,_0x290389])=>{const _0x159804=_0x1d3008;if(_0x3fca6d===V['Loaded']&&_0x290389){const _0x197f00=_0x290389[_0x159804(0xb7)];return this[_0x159804(0x156)][_0x159804(0xcb)][_0x159804(0x6e)](E[_0x159804(0x1a1)](_0x477f93=>{const _0x4de6d6=new Map();return _0x477f93['ranges']['forEach']((_0x13b0f0,_0x5a9824)=>{const _0xbe0108=_0x1ea3,_0x54e284=_0x13b0f0[_0xbe0108(0xf7)](_0x542e50=>_0x542e50[_0xbe0108(0x214)]===_0x197f00);_0x4de6d6[_0xbe0108(0x1d2)](_0x5a9824,_0x54e284);}),{'skeleton':_0x290389,'diffs':_0x4de6d6};}));}return E['of']({'skeleton':null,'diffs':new Map()});}))[_0x1d3008(0x173)](({skeleton:_0x12a7ab,diffs:_0x2d9c9a})=>{const _0x5d92c2=_0x1d3008;this[_0x5d92c2(0x14a)](),_0x12a7ab&&this[_0x5d92c2(0x231)](_0x12a7ab,_0x2d9c9a);})),this['disposeWithMe'](this[_0x1d3008(0x174)][_0x1d3008(0x9b)][_0x1d3008(0x173)](_0x37f343=>{const _0x485559=_0x1d3008;if(_0x37f343==null)return;const {skeleton:_0x2643c9}=_0x37f343,{scene:_0x509be7}=this[_0x485559(0x1eb)];_0x509be7[_0x485559(0x1fa)][_0x485559(0x11e)](l['debounce'](_0x33eba8=>{const _0x5eac21=_0x485559;var _0x563ca5,_0x2ffc51;const {offsetX:_0x32e98d,offsetY:_0x1bb708}=_0x33eba8,{x:_0x456808,y:_0x4399fa}=_0x509be7['getRelativeToViewportCoord'](x[_0x5eac21(0xec)][_0x5eac21(0x1ab)]([_0x32e98d,_0x1bb708])),{scaleX:_0x713f73,scaleY:_0x5997fd}=_0x509be7['getAncestorScale'](),_0x34ebd4=_0x509be7[_0x5eac21(0x279)](x[_0x5eac21(0x239)][_0x5eac21(0xd0)]),_0x43adcd=_0x509be7[_0x5eac21(0x199)](x[_0x5eac21(0xec)][_0x5eac21(0x1ab)]([_0x456808,_0x4399fa]),_0x34ebd4),_0x556856=_0x2643c9[_0x5eac21(0x10a)](_0x32e98d,_0x1bb708,_0x713f73,_0x5997fd,_0x43adcd);((_0x563ca5=this[_0x5eac21(0xf6)])==null?void 0x0:_0x563ca5[_0x5eac21(0x17a)])===_0x556856['column']&&((_0x2ffc51=this[_0x5eac21(0xf6)])==null?void 0x0:_0x2ffc51[_0x5eac21(0x238)])===_0x556856[_0x5eac21(0x238)]||this[_0x5eac21(0x261)]['forEach'](_0x55651c=>{const _0x72e52f=_0x5eac21;_0x55651c[_0x72e52f(0x276)](_0x556856);});},0x64));}));}[_0x431d70(0x236)](){const _0x34c271=_0x431d70;this['disposeWithMe'](this[_0x34c271(0x85)][_0x34c271(0x163)][_0x34c271(0x173)](_0x1e9498=>{const _0x239625=_0x34c271,_0x13b6e7=new l['DisposableCollection']();return _0x1e9498===V[_0x239625(0x154)]&&(_0x13b6e7[_0x239625(0x122)](),_0x13b6e7['add'](this[_0x239625(0x156)]['currentVersionDiff$'][_0x239625(0x173)](_0x22f27e=>{const _0x4d55f3=_0x239625;_0x22f27e['active']&&this[_0x4d55f3(0x105)][_0x4d55f3(0x196)](u['SetWorksheetActiveOperation']['id'],{'unitId':this[_0x4d55f3(0x1eb)][_0x4d55f3(0x1b5)],'subUnitId':_0x22f27e['active']});}))),()=>_0x13b6e7[_0x239625(0x122)]();}));}[_0x431d70(0x231)](_0x97a2b,_0x28dd46){const _0x22d88f=_0x431d70;var _0xc44b25;const _0x44f79b=(_0xc44b25=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0xc44b25[_0x22d88f(0x13d)];if(!_0x44f79b)return;this['_diffs'][_0x22d88f(0x133)](_0x18fb6d=>{const _0x403e31=_0x22d88f;_0x18fb6d[_0x403e31(0x1f7)]();});const {scene:_0x15bc91}=this[_0x22d88f(0x1eb)],_0x18d976=Array[_0x22d88f(0xbc)](_0x28dd46[_0x22d88f(0xbe)]())[_0x22d88f(0x1a1)](_0x4d039f=>_0x28dd46['get'](_0x4d039f)[_0x22d88f(0x1a1)](_0x1d2b84=>{const _0x23c10c=_0x22d88f;var _0xb5e016;const {range:_0x5be3e9,subUnitId:_0x30370c,unitId:_0x1c5b93}=_0x1d2b84,{startColumn:_0x1219ad,startRow:_0x24167b,endColumn:_0x1a1aa9,endRow:_0x477132}=_0x5be3e9,_0x5c2e3c=L['getCoordByCell'](_0x24167b,_0x1219ad,_0x15bc91,_0x44f79b),_0x672bba=L[_0x23c10c(0x274)](_0x477132,_0x1a1aa9,_0x15bc91,_0x44f79b),{columnHeaderHeightAndMarginTop:_0x1bd17c}=_0x44f79b,{startX:_0x25c365,startY:_0xcb2a7}=_0x5c2e3c,{endX:_0x2d4530,endY:_0x10eb86}=_0x672bba,_0x5a9728=_0x2d4530-_0x25c365,_0x9b674a=_0x10eb86-_0xcb2a7,_0x535296={'labelPosition':_0xcb2a7-_0x1bd17c>=0x14?_0x23c10c(0x205):_0x23c10c(0xc5),'sheetID':_0x30370c,'range':_0x5be3e9,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0xb5e016=this[_0x23c10c(0x85)][_0x23c10c(0x183)](_0x4d039f))==null?void 0x0:_0xb5e016[_0x23c10c(0x13f)])||'','selection':_0x1c5b93+'-'+_0x30370c+'-'+_0x5be3e9[_0x23c10c(0x12d)]+'-'+_0x5be3e9[_0x23c10c(0x178)]+'-'+_0x5be3e9[_0x23c10c(0x1db)]+'-'+_0x5be3e9[_0x23c10c(0xee)],'left':_0x25c365,'top':_0xcb2a7,'width':_0x5a9728,'height':_0x9b674a,'evented':!0x1,'zIndex':0x1};return new Oe[(_0x23c10c(0x77))]('',_0x535296);}))[_0x22d88f(0x16f)]();_0x15bc91[_0x22d88f(0x1de)](_0x18d976,0x1),this[_0x22d88f(0x261)]=new Set(_0x18d976);}[_0x431d70(0x14a)](){const _0x4dcf88=_0x431d70;var _0x5d8e31;(_0x5d8e31=this[_0x4dcf88(0x261)])==null||_0x5d8e31[_0x4dcf88(0x133)](_0x2d0442=>_0x2d0442[_0x4dcf88(0x122)]());}[_0x431d70(0x25c)](){const _0x5c2043=_0x431d70;return L['getSheetObject'](this[_0x5c2043(0x88)],this[_0x5c2043(0x1d3)]);}};z=ze([T(0x1,l[_0x431d70(0x83)](exports[_0x431d70(0x86)])),T(0x2,l['Inject']($)),T(0x3,l['IUniverInstanceService']),T(0x4,x[_0x431d70(0x23e)]),T(0x5,l[_0x431d70(0x83)](L[_0x431d70(0x103)])),T(0x6,l[_0x431d70(0x234)])],z);function et(){const _0x3ac605=_0x431d70,_0x489b7c=I[_0x3ac605(0x25d)](exports[_0x3ac605(0x86)]),_0x183cce=I[_0x3ac605(0x217)](_0x489b7c[_0x3ac605(0x129)]),[_0x2ed3ed,_0x6ba5d4]=m[_0x3ac605(0xb0)](!0x1),_0x3a06e6=Pe(_0x183cce);return _0x183cce?h[_0x3ac605(0xaa)]('div',{'className':'univer-mx-[-20px]\x20univer-overflow-hidden','children':h[_0x3ac605(0x7d)](_0x3ac605(0x278),{'className':_0x3ac605(0xf5),'children':[_0x3a06e6[_0x3ac605(0x1a1)]((_0x3f1f09,_0xc9a3e1)=>h[_0x3ac605(0x7d)](m[_0x3ac605(0x9f)],{'children':[h['jsx'](it,{'date':_0x3f1f09['dateString']}),_0x3f1f09['versions'][_0x3ac605(0x1a1)]((_0x20570c,_0x31b1ee)=>h[_0x3ac605(0xaa)](rt,{'index':[_0xc9a3e1,_0x31b1ee],'item':_0x20570c},_0xc9a3e1+'-'+_0x31b1ee))]},_0x3f1f09['dateString'])),_0x2ed3ed&&h[_0x3ac605(0xaa)](tt,{})]})}):h['jsx'](st,{});}function tt(){const _0x7ce71a=_0x431d70;return h['jsx'](_0x7ce71a(0x278),{'className':_0x7ce71a(0x1da),'children':h[_0x7ce71a(0xaa)](te,{'className':_0x7ce71a(0x270)})});}function st(){const _0x131060=_0x431d70;return h[_0x131060(0xaa)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':h[_0x131060(0xaa)]('span',{'className':'univer-text-gray-500','children':h[_0x131060(0xaa)](te,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function it(_0xaa357c){const _0x3ede34=_0x431d70,_0x242818=I[_0x3ede34(0x25d)](l[_0x3ede34(0x190)]),{date:_0x2fd951}=_0xaa357c;return h[_0x3ede34(0xaa)](_0x3ede34(0x278),{'className':_0x3ede34(0x1dc),'children':J(_0x2fd951,_0x242818[_0x3ede34(0xef)]())});}function rt(_0x385c7c){const _0x443a96=_0x431d70,{item:_0x35bebf,index:_0x39c999}=_0x385c7c,{time:_0x1ae22e,user:_0xc3ea34}=_0x35bebf,[_0x2175b2,_0x390374]=_0x39c999,_0xa9e81d=I['useDependency'](exports[_0x443a96(0x86)]),_0x3232e0=I[_0x443a96(0x217)](_0xa9e81d[_0x443a96(0x131)],'',!0x0)===_0x35bebf['id'],_0xbd6a60=_0x2175b2===0x0&&_0x390374===0x0,_0x5f48dd=!_0xbd6a60&&_0xa9e81d[_0x443a96(0x207)],_0x2481fe=I[_0x443a96(0x25d)](l[_0x443a96(0x190)]),_0x19d821=_0x2481fe[_0x443a96(0xef)](),_0x5ce43a=ee(_0x1ae22e,_0x19d821),_0x2461ee=_0x2481fe['t'](_0x443a96(0x232)),_0x3f6863=m[_0x443a96(0x137)](_0x809211=>{const _0x297982=_0x443a96;_0xa9e81d[_0x297982(0x1cb)]!==V[_0x297982(0xc9)]&&(_0xa9e81d['currentVersion']=_0x809211);},[_0xa9e81d]),_0x1a48da=m['useCallback'](_0x515755=>{const _0x16f6e1=_0x443a96;_0xa9e81d[_0x16f6e1(0xfc)](_0x515755);},[_0xa9e81d]);return h[_0x443a96(0x7d)](_0x443a96(0x278),{'className':C[_0x443a96(0x1bb)](_0x443a96(0x1d7),{'univer-bg-gray-50':_0x3232e0}),'onClick':()=>_0x3f6863(_0x35bebf['id']),'children':[h[_0x443a96(0x7d)](_0x443a96(0x278),{'className':_0x443a96(0xb3),'children':[h[_0x443a96(0xaa)]('div',{'className':_0x443a96(0xff)}),h[_0x443a96(0x7d)]('div',{'className':_0x443a96(0x15e),'children':[h[_0x443a96(0xaa)](_0x443a96(0x99),{'children':_0x5ce43a['time']}),_0xbd6a60&&h[_0x443a96(0xaa)](_0x443a96(0x99),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x2461ee})]}),h[_0x443a96(0xaa)](_0x443a96(0x278),{'children':_0x5f48dd&&h[_0x443a96(0xaa)](C[_0x443a96(0x265)],{'title':_0x2481fe['t']('editHistory.panel.revertDesc'),'children':h['jsx'](_0x443a96(0x278),{'onClick':_0x3cbca6=>{const _0x44c601=_0x443a96;_0x3cbca6[_0x44c601(0xe4)](),_0x1a48da(_0x35bebf['id']);},'className':_0x443a96(0x145),'children':h['jsx'](de,{})})})})]}),h['jsx']('div',{'className':'univer-pl-[26px]\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':Ce(_0x35bebf,_0x2481fe)})]});}var nt=Object[_0x431d70(0xf3)],at=(_0x4daf22,_0x3e1241,_0x594d56,_0x48cd61)=>{for(var _0x34a346=_0x48cd61>0x1?void 0x0:_0x48cd61?nt(_0x3e1241,_0x594d56):_0x3e1241,_0x27d9e8=_0x4daf22['length']-0x1,_0x590b2c;_0x27d9e8>=0x0;_0x27d9e8--)(_0x590b2c=_0x4daf22[_0x27d9e8])&&(_0x34a346=_0x590b2c(_0x34a346)||_0x34a346);return _0x34a346;},U=(_0x18692b,_0x2cda51)=>(_0x38ac75,_0x1ad6ab)=>_0x2cda51(_0x38ac75,_0x1ad6ab,_0x18692b);const oe=_0x431d70(0x24b);let Y=class extends l['Disposable']{constructor(_0x254e72,_0x268969,_0x5ea94f,_0x5499b7){const _0x2f8800=_0x431d70;super(),_(this,_0x2f8800(0x241),null),(this[_0x2f8800(0x89)]=_0x254e72,this[_0x2f8800(0x1ca)]=_0x268969,this[_0x2f8800(0x1b2)]=_0x5ea94f,this[_0x2f8800(0x85)]=_0x5499b7,this[_0x2f8800(0x93)]());}['_init'](){const _0x3029a7=_0x431d70;this['_initPanel'](),this[_0x3029a7(0x113)]();}['_openPanel'](){const _0x4d3709=_0x431d70;if(this[_0x4d3709(0x241)])return;const _0x2580d0={'header':{'title':this[_0x4d3709(0x1b2)]['t']('editHistory.panel.title')},'children':{'label':oe},'onClose':()=>{const _0x580a75=_0x4d3709;this[_0x580a75(0x241)]=null,this[_0x580a75(0x85)][_0x580a75(0x144)]=W[_0x580a75(0x243)];}};this[_0x4d3709(0x241)]=this[_0x4d3709(0x89)][_0x4d3709(0x130)]({..._0x2580d0});}[_0x431d70(0x259)](){const _0x3be86c=_0x431d70;this[_0x3be86c(0xf0)](this['_componentManager'][_0x3be86c(0x150)](oe,et)),this[_0x3be86c(0xf0)](this[_0x3be86c(0x89)]['scrollEvent$']['pipe'](E['debounceTime'](0x64))['subscribe'](_0x48d84e=>{const _0x152b18=_0x3be86c,{target:_0x1e8992}=_0x48d84e||{};if(_0x1e8992){const {scrollTop:_0x135c56,scrollHeight:_0x3de50d,clientHeight:_0x5e923b}=_0x1e8992;_0x135c56+_0x5e923b>=_0x3de50d-0x5&&this['_historyManagerService'][_0x152b18(0x25e)]();}}));}};Y=at([U(0x0,I[_0x431d70(0x120)]),U(0x1,l[_0x431d70(0x83)](I[_0x431d70(0x19c)])),U(0x2,l[_0x431d70(0x83)](l[_0x431d70(0x190)])),U(0x3,l[_0x431d70(0x83)](exports['HistoryManagerService']))],Y);class ot extends l['Disposable']{constructor(){const _0x2271c3=_0x431d70;super(),_(this,'_dialogOptions$',new E[(_0x2271c3(0x161))]());}[_0x431d70(0x130)](){const _0x26ae74=_0x431d70;return l[_0x26ae74(0x17e)](()=>{});}['close'](){}[_0x431d70(0xc1)](_0x42d970){}[_0x431d70(0xbb)](){const _0x4ae92a=_0x431d70;return this[_0x4ae92a(0x1e2)]['asObservable']();}}var ct=Object['defineProperty'],lt=Object[_0x431d70(0xf3)],ut=(_0x554e7f,_0x23264c,_0x576c8d)=>_0x23264c in _0x554e7f?ct(_0x554e7f,_0x23264c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x576c8d}):_0x554e7f[_0x23264c]=_0x576c8d,_t=(_0x8f4dfa,_0x270693,_0x5ee5f5,_0x1d8a02)=>{for(var _0x4ae58f=_0x1d8a02>0x1?void 0x0:_0x1d8a02?lt(_0x270693,_0x5ee5f5):_0x270693,_0x517ccb=_0x8f4dfa['length']-0x1,_0x853282;_0x517ccb>=0x0;_0x517ccb--)(_0x853282=_0x8f4dfa[_0x517ccb])&&(_0x4ae58f=_0x853282(_0x4ae58f)||_0x4ae58f);return _0x4ae58f;},Z=(_0x34f4a8,_0x2ff662)=>(_0x494826,_0x16c2d4)=>_0x2ff662(_0x494826,_0x16c2d4,_0x34f4a8),ht=(_0xbc7138,_0x3e7bc3,_0x2e4120)=>ut(_0xbc7138,_0x3e7bc3+'',_0x2e4120);const dt=_0x431d70(0x175);exports['UniverEditHistoryViewerPlugin']=class extends l['Plugin']{constructor(_0x57ea26=ne,_0x1bf662,_0x2f06f6,_0x31eb86){const _0x5714f9=_0x431d70;super(),this[_0x5714f9(0x123)]=_0x57ea26,this[_0x5714f9(0x98)]=_0x1bf662,this[_0x5714f9(0x1d3)]=_0x2f06f6,this[_0x5714f9(0x9c)]=_0x31eb86;const {..._0x3082f7}=l['merge']({},ne,this[_0x5714f9(0x123)]);this['_configService'][_0x5714f9(0x258)](ue,_0x3082f7);}['onStarting'](){const _0x31b0de=_0x431d70;[[exports[_0x31b0de(0x86)]],[B],[$],[F],[Y],[H],[b[_0x31b0de(0x23a)],{'useClass':re['SnapshotServerOverHTTPService']}],[I[_0x31b0de(0x119)],{'useClass':ot}],[Me[_0x31b0de(0x225)],{'useClass':re[_0x31b0de(0x211)]}]][_0x31b0de(0x133)](_0x424dbe=>this[_0x31b0de(0x98)]['add'](_0x424dbe)),this[_0x31b0de(0x98)][_0x31b0de(0x247)](B);}[_0x431d70(0x166)](){const _0x4d4548=_0x431d70;[[z]]['forEach'](_0x27e370=>{const _0x2d550c=_0x1ea3;this[_0x2d550c(0xf0)](this[_0x2d550c(0x1d3)][_0x2d550c(0x16d)](l[_0x2d550c(0x22e)][_0x2d550c(0x253)],_0x27e370));}),this[_0x4d4548(0x98)]['get'](H),this[_0x4d4548(0x98)][_0x4d4548(0x247)](Y);}[_0x431d70(0xfe)](){const _0x5bd5e2=_0x431d70;this[_0x5bd5e2(0x98)]['get']($);}},ht(exports[_0x431d70(0x1f9)],_0x431d70(0x24d),dt),exports[_0x431d70(0x1f9)]=_t([l['DependentOn'](L[_0x431d70(0x10e)],ce[_0x431d70(0x1ad)]),Z(0x1,l[_0x431d70(0x83)](l[_0x431d70(0xb2)])),Z(0x2,x[_0x431d70(0x23e)]),Z(0x3,l[_0x431d70(0x74)])],exports[_0x431d70(0x1f9)]),exports[_0x431d70(0xb8)]=W;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x4127(){const _0x431825=['Current\x20Version','Reverted\x20from','3qXaHae','delete\x20protection','Reverting,\x20please\x20wait...','Failed\x20to\x20get\x20edit\x20history\x20list','260uwjrNq','exports',',\x20etc.','Cancel','add\x20conditional\x20formatting','Restore\x20this\x20version','781592nMEHFJ','inserted\x20worksheet','476228nRJkdw','230890VXqGVy','set\x20filter','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','1613196DKWcVl','Back','created\x20workbook','110336LOwvJm','loading,\x20please\x20wait...','add\x20sparkline','deleted\x20worksheet','add\x20protection','Edit\x20History','621243LtqfUO','Unknown\x20User','set\x20conditional\x20formatting','21288LEGxfO'];_0x4127=function(){return _0x431825;};return _0x4127();}const _0x3b7c93=_0x186d;(function(_0x56a047,_0x5d4ac6){const _0x4629be=_0x186d,_0x36ce85=_0x56a047();while(!![]){try{const _0x3d7cb9=-parseInt(_0x4629be(0x190))/0x1+parseInt(_0x4629be(0x18a))/0x2+parseInt(_0x4629be(0x19c))/0x3*(parseInt(_0x4629be(0x189))/0x4)+-parseInt(_0x4629be(0x181))/0x5*(parseInt(_0x4629be(0x199))/0x6)+-parseInt(_0x4629be(0x196))/0x7+parseInt(_0x4629be(0x187))/0x8+parseInt(_0x4629be(0x18d))/0x9;if(_0x3d7cb9===_0x5d4ac6)break;else _0x36ce85['push'](_0x36ce85['shift']());}catch(_0x51b2aa){_0x36ce85['push'](_0x36ce85['shift']());}}}(_0x4127,0x1f378));function _0x186d(_0x1ea488,_0x41ffed){const _0x412757=_0x4127();return _0x186d=function(_0x186d4e,_0x13717b){_0x186d4e=_0x186d4e-0x17f;let _0x5318db=_0x412757[_0x186d4e];return _0x5318db;},_0x186d(_0x1ea488,_0x41ffed);}const e={'editHistory':{'panel':{'title':_0x3b7c93(0x195),'unknownUser':_0x3b7c93(0x197),'listFetchError':_0x3b7c93(0x180),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x3b7c93(0x18c),'cancel':_0x3b7c93(0x184),'confirm':'Confirm','reverting':_0x3b7c93(0x17f),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x3b7c93(0x19a),'currentUser':'Current\x20User','revertDesc':'Restore\x20this\x20version'},'info':{'loading':_0x3b7c93(0x191)},'header':{'back':_0x3b7c93(0x18e),'revert':_0x3b7c93(0x186)},'action':{'insertSheet':_0x3b7c93(0x188),'removeSheet':_0x3b7c93(0x193),'createSheet':_0x3b7c93(0x18f),'setFilter':_0x3b7c93(0x18b),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':_0x3b7c93(0x19b),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x3b7c93(0x198),'addCF':_0x3b7c93(0x185),'addProtection':_0x3b7c93(0x194),'addSparkline':_0x3b7c93(0x192),'deleteProtection':_0x3b7c93(0x19d),'etc':_0x3b7c93(0x183)}}},t=e;module[_0x3b7c93(0x182)]=t;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x39c3d1=_0x2d87;(function(_0x2afcb9,_0x42c2){const _0xcfcf29=_0x2d87,_0x2f682c=_0x2afcb9();while(!![]){try{const _0x233b11=-parseInt(_0xcfcf29(0xaa))/0x1*(parseInt(_0xcfcf29(0x9b))/0x2)+parseInt(_0xcfcf29(0xab))/0x3+-parseInt(_0xcfcf29(0x96))/0x4+parseInt(_0xcfcf29(0xa4))/0x5+parseInt(_0xcfcf29(0xb0))/0x6*(parseInt(_0xcfcf29(0xa7))/0x7)+-parseInt(_0xcfcf29(0xb4))/0x8+-parseInt(_0xcfcf29(0xa6))/0x9*(-parseInt(_0xcfcf29(0xad))/0xa);if(_0x233b11===_0x42c2)break;else _0x2f682c['push'](_0x2f682c['shift']());}catch(_0x5d92e3){_0x2f682c['push'](_0x2f682c['shift']());}}}(_0x5a6e,0xedee5));function _0x2d87(_0x4f2726,_0x59c782){const _0x5a6edc=_0x5a6e();return _0x2d87=function(_0x2d8754,_0x2c4d11){_0x2d8754=_0x2d8754-0x94;let _0x1b4fe0=_0x5a6edc[_0x2d8754];return _0x1b4fe0;},_0x2d87(_0x4f2726,_0x59c782);}function _0x5a6e(){const _0x3ec1ba=['delete\x20protection',',\x20etc.','8271110gjePah','Current\x20Version','720mFVmMt','1263087QFavuf','reverted\x20workbook','created\x20workbook','1ZUUAnm','5818251nAYtLg','Current\x20User','47140KplHZx','Reverted\x20from','Restore\x20this\x20version?','54EcfEgL','Failed\x20to\x20get\x20edit\x20history\x20list','set\x20conditional\x20formatting','deleted\x20worksheet','13964752yGgSYk','add\x20conditional\x20formatting','add\x20sparkline','7574596Mokyfc','loading,\x20please\x20wait...','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','exports','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','1961840YulRnJ','Cancel','set\x20data\x20validation','edited\x20worksheet','Restore\x20this\x20version','set\x20filter','Back'];_0x5a6e=function(){return _0x3ec1ba;};return _0x5a6e();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x39c3d1(0xb1),'revertConfirm':_0x39c3d1(0xaf),'revertConfirmText':_0x39c3d1(0x98),'cancel':_0x39c3d1(0x9c),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x39c3d1(0x9a),'currentVersion':_0x39c3d1(0xa5),'currentUser':_0x39c3d1(0xac),'revertDesc':_0x39c3d1(0x9f)},'info':{'loading':_0x39c3d1(0x97)},'header':{'back':_0x39c3d1(0xa1),'revert':_0x39c3d1(0x9f)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x39c3d1(0xb3),'createSheet':_0x39c3d1(0xa9),'setFilter':_0x39c3d1(0xa0),'setFrozen':'set\x20frozen','editSheet':_0x39c3d1(0x9e),'revertSheet':_0x39c3d1(0xa8),'revertSheetPrefix':_0x39c3d1(0xae),'revertSheetSuffix':'','setDV':_0x39c3d1(0x9d),'setCF':_0x39c3d1(0xb2),'addCF':_0x39c3d1(0x94),'addProtection':'add\x20protection','addSparkline':_0x39c3d1(0x95),'deleteProtection':_0x39c3d1(0xa2),'etc':_0x39c3d1(0xa3)}}};module[_0x39c3d1(0x99)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x4cc2(){const _0x318d91=['18605cSvMnm','delete\x20protection','3574TssxHY','Confirm','add\x20conditional\x20formatting','inserted\x20worksheet','created\x20workbook','709852YqalZV',',\x20etc.','add\x20sparkline','3787110EKqChm','add\x20protection','edited\x20worksheet','4880130EgfDNn','Current\x20User','Current\x20Version','5416mFZoBY','Reverting,\x20please\x20wait...','Back','Unknown\x20User','366DfxrhW','set\x20conditional\x20formatting','deleted\x20worksheet','Restore\x20this\x20version?','632PnxCOg','exports','264VnsdAA','set\x20frozen','Restore\x20this\x20version','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','959AZUUHG'];_0x4cc2=function(){return _0x318d91;};return _0x4cc2();}const _0x19a1f9=_0x38da;(function(_0x1bb667,_0x3672e6){const _0x310fde=_0x38da,_0x514119=_0x1bb667();while(!![]){try{const _0x1382e4=-parseInt(_0x310fde(0xdf))/0x1+-parseInt(_0x310fde(0xe4))/0x2+parseInt(_0x310fde(0xd8))/0x3*(-parseInt(_0x310fde(0xd6))/0x4)+-parseInt(_0x310fde(0xdd))/0x5*(parseInt(_0x310fde(0xd2))/0x6)+-parseInt(_0x310fde(0xdc))/0x7*(parseInt(_0x310fde(0xce))/0x8)+parseInt(_0x310fde(0xc8))/0x9+parseInt(_0x310fde(0xcb))/0xa;if(_0x1382e4===_0x3672e6)break;else _0x514119['push'](_0x514119['shift']());}catch(_0x197f57){_0x514119['push'](_0x514119['shift']());}}}(_0x4cc2,0x34e5d));const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':_0x19a1f9(0xd1),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x19a1f9(0xd5),'revertConfirmText':_0x19a1f9(0xdb),'cancel':'Cancel','confirm':_0x19a1f9(0xe0),'reverting':_0x19a1f9(0xcf),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x19a1f9(0xcd),'currentUser':_0x19a1f9(0xcc),'revertDesc':_0x19a1f9(0xda)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x19a1f9(0xd0),'revert':_0x19a1f9(0xda)},'action':{'insertSheet':_0x19a1f9(0xe2),'removeSheet':_0x19a1f9(0xd4),'createSheet':_0x19a1f9(0xe3),'setFilter':'set\x20filter','setFrozen':_0x19a1f9(0xd9),'editSheet':_0x19a1f9(0xca),'revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x19a1f9(0xd3),'addCF':_0x19a1f9(0xe1),'addProtection':_0x19a1f9(0xc9),'addSparkline':_0x19a1f9(0xe6),'deleteProtection':_0x19a1f9(0xde),'etc':_0x19a1f9(0xe5)}}},t=e;function _0x38da(_0x378aa5,_0x589510){const _0x4cc2c1=_0x4cc2();return _0x38da=function(_0x38da4d,_0x499e8c){_0x38da4d=_0x38da4d-0xc8;let _0x960bb=_0x4cc2c1[_0x38da4d];return _0x960bb;},_0x38da(_0x378aa5,_0x589510);}module[_0x19a1f9(0xd7)]=t;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x33448a=_0x164b;function _0x164b(_0x22fb74,_0x53afcd){const _0x93b47a=_0x93b4();return _0x164b=function(_0x164bd0,_0x1d3cdb){_0x164bd0=_0x164bd0-0x1ab;let _0x31f976=_0x93b47a[_0x164bd0];return _0x31f976;},_0x164b(_0x22fb74,_0x53afcd);}function _0x93b4(){const _0x597bf3=['188AqEtYD','افزودن\x20حفاظت','افزودن\x20قالب\x20بندی\x20شرطی','تنظیم\x20قالب\x20بندی\x20شرطی','حذف\x20حفاظت','6GYFxKk','15096zjotad','بازگردانی\x20این\x20نسخه','301414tQdRav','ورق\x20کاری\x20بازگردانی\x20شده','بازگشت','696605qCyahK','2fyDIxj','تنظیم\x20اعتبار\x20سنجی\x20داده','افزودن\x20نمودار\x20کوچک','تایید','exports','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','بازگردانی\x20از','،\x20و\x20غیره','کاربر\x20فعلی','دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','نسخه\x20فعلی','تنظیم\x20منجمد','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','20328880sVNFag','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','2556710NZbhfO','در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','4643142DKsvOa','لغو','8967fbgaQf','3942JacIZQ','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','ورق\x20کاری\x20ایجاد\x20شده'];_0x93b4=function(){return _0x597bf3;};return _0x93b4();}(function(_0x355593,_0x3fca87){const _0x3f3ee7=_0x164b,_0x559d20=_0x355593();while(!![]){try{const _0x208ff4=parseInt(_0x3f3ee7(0x1cd))/0x1*(-parseInt(_0x3f3ee7(0x1c9))/0x2)+parseInt(_0x3f3ee7(0x1bd))/0x3*(parseInt(_0x3f3ee7(0x1c1))/0x4)+parseInt(_0x3f3ee7(0x1cc))/0x5+parseInt(_0x3f3ee7(0x1c6))/0x6*(-parseInt(_0x3f3ee7(0x1bb))/0x7)+parseInt(_0x3f3ee7(0x1c7))/0x8*(-parseInt(_0x3f3ee7(0x1be))/0x9)+parseInt(_0x3f3ee7(0x1b9))/0xa+parseInt(_0x3f3ee7(0x1b7))/0xb;if(_0x208ff4===_0x3fca87)break;else _0x559d20['push'](_0x559d20['shift']());}catch(_0x4d0637){_0x559d20['push'](_0x559d20['shift']());}}}(_0x93b4,0x909c9));const e={'editHistory':{'panel':{'title':'تاریخچه\x20ویرایش','unknownUser':'کاربر\x20ناشناخته','listFetchError':_0x33448a(0x1b3),'revertConfirm':_0x33448a(0x1bf),'revertConfirmText':_0x33448a(0x1b8),'cancel':_0x33448a(0x1bc),'confirm':_0x33448a(0x1ad),'reverting':_0x33448a(0x1ba),'revertFailed':_0x33448a(0x1b6),'currentVersion':_0x33448a(0x1b4),'currentUser':_0x33448a(0x1b2),'revertDesc':'بازگردانی\x20این\x20نسخه'},'info':{'loading':_0x33448a(0x1af)},'header':{'back':_0x33448a(0x1cb),'revert':_0x33448a(0x1c8)},'action':{'insertSheet':'ورق\x20کاری\x20اضافه\x20شده','removeSheet':'ورق\x20کاری\x20حذف\x20شده','createSheet':_0x33448a(0x1c0),'setFilter':'تنظیم\x20فیلتر','setFrozen':_0x33448a(0x1b5),'editSheet':'ورق\x20کاری\x20ویرایش\x20شده','revertSheet':_0x33448a(0x1ca),'revertSheetPrefix':_0x33448a(0x1b0),'revertSheetSuffix':'','setDV':_0x33448a(0x1ab),'setCF':_0x33448a(0x1c4),'addCF':_0x33448a(0x1c3),'addProtection':_0x33448a(0x1c2),'addSparkline':_0x33448a(0x1ac),'deleteProtection':_0x33448a(0x1c5),'etc':_0x33448a(0x1b1)}}};module[_0x33448a(0x1ae)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0xc59e(){const _0x49f65d=['410366ercjQY','created\x20workbook','set\x20conditional\x20formatting','7677rXwnuE','968742rPNPqb','3KhORfi','3350HrmpdF','delete\x20protection','3255550CsUJbU','Failed\x20to\x20get\x20edit\x20history\x20list','Current\x20Version','add\x20protection','exports','2680HKOAko','1115226hzofzS','37345ZeIZzm','Restore\x20this\x20version','Unknown\x20User','Confirm','Edit\x20History','add\x20conditional\x20formatting','deleted\x20worksheet','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20filter','Reverting,\x20please\x20wait...','Cancel','2302744CGRMwy','3xCwuKh',',\x20etc.','add\x20sparkline','Back'];_0xc59e=function(){return _0x49f65d;};return _0xc59e();}const _0x3113b8=_0x288e;function _0x288e(_0x3ef8b7,_0x8adee9){const _0xc59eea=_0xc59e();return _0x288e=function(_0x288e7e,_0x412780){_0x288e7e=_0x288e7e-0xf5;let _0x48271c=_0xc59eea[_0x288e7e];return _0x48271c;},_0x288e(_0x3ef8b7,_0x8adee9);}(function(_0x78b28c,_0x19ff99){const _0x3e6499=_0x288e,_0x3fe6b7=_0x78b28c();while(!![]){try{const _0x30b968=parseInt(_0x3e6499(0xf6))/0x1*(parseInt(_0x3e6499(0xfa))/0x2)+-parseInt(_0x3e6499(0xff))/0x3*(parseInt(_0x3e6499(0xf5))/0x4)+-parseInt(_0x3e6499(0x102))/0x5+parseInt(_0x3e6499(0xfe))/0x6+-parseInt(_0x3e6499(0x108))/0x7+parseInt(_0x3e6499(0x107))/0x8*(parseInt(_0x3e6499(0xfd))/0x9)+-parseInt(_0x3e6499(0x100))/0xa*(-parseInt(_0x3e6499(0x109))/0xb);if(_0x30b968===_0x19ff99)break;else _0x3fe6b7['push'](_0x3fe6b7['shift']());}catch(_0x39ac0d){_0x3fe6b7['push'](_0x3fe6b7['shift']());}}}(_0xc59e,0xc6b94));const e={'editHistory':{'panel':{'title':_0x3113b8(0x10d),'unknownUser':_0x3113b8(0x10b),'listFetchError':_0x3113b8(0x103),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':'This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','cancel':_0x3113b8(0x113),'confirm':_0x3113b8(0x10c),'reverting':_0x3113b8(0x112),'revertFailed':_0x3113b8(0x110),'currentVersion':_0x3113b8(0x104),'currentUser':'Current\x20User','revertDesc':_0x3113b8(0x10a)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x3113b8(0xf9),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x3113b8(0x10f),'createSheet':_0x3113b8(0xfb),'setFilter':_0x3113b8(0x111),'setFrozen':'set\x20frozen','editSheet':'edited\x20worksheet','revertSheet':'reverted\x20workbook','revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x3113b8(0xfc),'addCF':_0x3113b8(0x10e),'addProtection':_0x3113b8(0x105),'addSparkline':_0x3113b8(0xf8),'deleteProtection':_0x3113b8(0x101),'etc':_0x3113b8(0xf7)}}},t=e;module[_0x3113b8(0x106)]=t;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2e8603=_0x4ec8;function _0x4ec8(_0x19d550,_0x59f17c){const _0xfe517e=_0xfe51();return _0x4ec8=function(_0x4ec805,_0x1c644b){_0x4ec805=_0x4ec805-0xa0;let _0xd311c8=_0xfe517e[_0x4ec805];return _0xd311c8;},_0x4ec8(_0x19d550,_0x59f17c);}(function(_0x326f16,_0x805dd1){const _0x1e68cf=_0x4ec8,_0x5359c5=_0x326f16();while(!![]){try{const _0x10d1c4=parseInt(_0x1e68cf(0xaa))/0x1+parseInt(_0x1e68cf(0xac))/0x2*(-parseInt(_0x1e68cf(0xc1))/0x3)+-parseInt(_0x1e68cf(0xa4))/0x4*(-parseInt(_0x1e68cf(0xa8))/0x5)+parseInt(_0x1e68cf(0xbb))/0x6*(-parseInt(_0x1e68cf(0xa1))/0x7)+parseInt(_0x1e68cf(0xb9))/0x8*(-parseInt(_0x1e68cf(0xba))/0x9)+parseInt(_0x1e68cf(0xab))/0xa*(parseInt(_0x1e68cf(0xa0))/0xb)+-parseInt(_0x1e68cf(0xad))/0xc;if(_0x10d1c4===_0x805dd1)break;else _0x5359c5['push'](_0x5359c5['shift']());}catch(_0x4adf0b){_0x5359c5['push'](_0x5359c5['shift']());}}}(_0xfe51,0x47de1));const e={'editHistory':{'panel':{'title':_0x2e8603(0xb8),'unknownUser':_0x2e8603(0xc0),'listFetchError':_0x2e8603(0xae),'revertConfirm':_0x2e8603(0xb1),'revertConfirmText':_0x2e8603(0xb7),'cancel':_0x2e8603(0xb3),'confirm':_0x2e8603(0xb2),'reverting':_0x2e8603(0xa3),'revertFailed':_0x2e8603(0xc2),'currentVersion':_0x2e8603(0xbe),'currentUser':'Current\x20User','revertDesc':_0x2e8603(0xbc)},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':'Back','revert':_0x2e8603(0xbc)},'action':{'insertSheet':_0x2e8603(0xa2),'removeSheet':'deleted\x20worksheet','createSheet':_0x2e8603(0xbf),'setFilter':_0x2e8603(0xb4),'setFrozen':'set\x20frozen','editSheet':_0x2e8603(0xb5),'revertSheet':_0x2e8603(0xaf),'revertSheetPrefix':_0x2e8603(0xb6),'revertSheetSuffix':'','setDV':_0x2e8603(0xb0),'setCF':'set\x20conditional\x20formatting','addCF':'add\x20conditional\x20formatting','addProtection':_0x2e8603(0xa9),'addSparkline':_0x2e8603(0xa7),'deleteProtection':_0x2e8603(0xa5),'etc':_0x2e8603(0xbd)}}},t=e;module[_0x2e8603(0xa6)]=t;function _0xfe51(){const _0x2dd2f8=['562466RdsGoU','152680CqeFMh','2stWGFW','1125312WVTbWq','Failed\x20to\x20get\x20edit\x20history\x20list','reverted\x20workbook','set\x20data\x20validation','Restore\x20this\x20version?','Confirm','Cancel','set\x20filter','edited\x20worksheet','Reverted\x20from','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Edit\x20History','16uTDjJQ','172917idhvhz','18096GIrXeF','Restore\x20this\x20version',',\x20etc.','Current\x20Version','created\x20workbook','Unknown\x20User','1086vAkmie','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','11BLTrPY','945YjWBge','inserted\x20worksheet','Reverting,\x20please\x20wait...','12jwCSwf','delete\x20protection','exports','add\x20sparkline','427265IgNrFe','add\x20protection'];_0xfe51=function(){return _0x2dd2f8;};return _0xfe51();}
|