@univerjs-pro/edit-history-viewer 0.15.2-insiders.20260124-12fc7f0 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4ddf80=_0x551c;(function(_0x3a8330,_0x531ccc){const _0x5af995=_0x551c,_0x47d167=_0x3a8330();while(!![]){try{const _0xf2ed5b=parseInt(_0x5af995(0x1fe))/0x1*(-parseInt(_0x5af995(0x2b4))/0x2)+parseInt(_0x5af995(0x37a))/0x3*(parseInt(_0x5af995(0x302))/0x4)+-parseInt(_0x5af995(0x212))/0x5+-parseInt(_0x5af995(0x1b2))/0x6*(parseInt(_0x5af995(0x1c4))/0x7)+parseInt(_0x5af995(0x228))/0x8+-parseInt(_0x5af995(0x17b))/0x9*(-parseInt(_0x5af995(0x2fe))/0xa)+parseInt(_0x5af995(0x174))/0xb;if(_0xf2ed5b===_0x531ccc)break;else _0x47d167['push'](_0x47d167['shift']());}catch(_0x3d1c62){_0x47d167['push'](_0x47d167['shift']());}}}(_0x2e6f,0xa3698));var me=Object[_0x4ddf80(0x1b4)],pe=(_0x5e7f23,_0x1aa6bd,_0x2fe933)=>_0x1aa6bd in _0x5e7f23?me(_0x5e7f23,_0x1aa6bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fe933}):_0x5e7f23[_0x1aa6bd]=_0x2fe933,u=(_0x25eba2,_0x41982f,_0x5bc77d)=>pe(_0x25eba2,typeof _0x41982f!=_0x4ddf80(0x29e)?_0x41982f+'':_0x41982f,_0x5bc77d);Object[_0x4ddf80(0x1b4)](exports,Symbol[_0x4ddf80(0x1b5)],{'value':_0x4ddf80(0x214)});const R=require('@univerjs-pro/collaboration'),ne=require('@univerjs-pro/collaboration-client'),c=require('@univerjs/core'),Ne=require('@univerjs/drawing'),$=require('@univerjs/engine-render'),ce=require('@univerjs/network'),C=require('@univerjs/sheets-ui'),E=require('@univerjs/ui'),P=require('@univerjs/design'),h=require('@univerjs/sheets'),p=require('rxjs'),Oe=require('@univerjs-pro/sheets-chart'),Re=require('@univerjs-pro/sheets-sparkline'),Z=require('@univerjs/data-validation'),K=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),d=require('react/jsx-runtime'),O=require('react'),Me=require('@univerjs-pro/collaboration-client-ui'),J='edit-history-viewer.config',re={};var Te=Object[_0x4ddf80(0x364)],De=(_0x4d075b,_0x4028b5,_0x39ebd3,_0x58331a)=>{for(var _0xe35f6f=_0x58331a>0x1?void 0x0:_0x58331a?Te(_0x4028b5,_0x39ebd3):_0x4028b5,_0x5de380=_0x4d075b['length']-0x1,_0xc3f47f;_0x5de380>=0x0;_0x5de380--)(_0xc3f47f=_0x4d075b[_0x5de380])&&(_0xe35f6f=_0xc3f47f(_0xe35f6f)||_0xe35f6f);return _0xe35f6f;},be=(_0x25de13,_0x2cba6e)=>(_0x596458,_0x3d483d)=>_0x2cba6e(_0x596458,_0x3d483d,_0x25de13);let H=class extends c[_0x4ddf80(0x322)]{constructor(_0x42bac8){const _0x2a4dec=_0x4ddf80;super(),this[_0x2a4dec(0x1f3)]=_0x42bac8,this['_init']();}[_0x4ddf80(0x326)](){const _0x3c084e=_0x4ddf80;this[_0x3c084e(0x307)](this[_0x3c084e(0x1f3)][_0x3c084e(0x222)][_0x3c084e(0x1d0)](_0x4ec33a=>{const _0x5daa08=_0x3c084e;_0x4ec33a!=null&&_0x4ec33a['show']&&this[_0x5daa08(0x1f3)][_0x5daa08(0x270)]({'show':!0x1});}));}};H=De([be(0x0,C['ICellEditorManagerService'])],H);var V=(_0x1c3c31=>(_0x1c3c31[_0x1c3c31[_0x4ddf80(0x397)]=0x0]=_0x4ddf80(0x397),_0x1c3c31[_0x1c3c31['OK']=0x1]='OK',_0x1c3c31[_0x1c3c31['INTERNAL_ERROR']=0x2]=_0x4ddf80(0x210),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x21e)]=0x3]=_0x4ddf80(0x21e),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x30b)]=0x4]=_0x4ddf80(0x30b),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2bf)]=0x5]=_0x4ddf80(0x2bf),_0x1c3c31[_0x1c3c31['ALREADY_EXISTS']=0x6]=_0x4ddf80(0x319),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1b1)]=0x7]=_0x4ddf80(0x1b1),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2c1)]=0x8]=_0x4ddf80(0x2c1),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2df)]=0x9]=_0x4ddf80(0x2df),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x281)]=0xa]='LOGIN_FAILED',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x220)]=0xb]=_0x4ddf80(0x220),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x349)]=0xc]=_0x4ddf80(0x349),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x26e)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1f5)]=0xe]=_0x4ddf80(0x1f5),_0x1c3c31[_0x1c3c31['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x39a)]=0x10]=_0x4ddf80(0x39a),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1db)]=0x64]=_0x4ddf80(0x1db),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2b2)]=0x65]=_0x4ddf80(0x2b2),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1c5)]=0xc9]=_0x4ddf80(0x1c5),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2ee)]=0xca]=_0x4ddf80(0x2ee),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x344)]=0x1389]=_0x4ddf80(0x344),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x309)]=0x1771]=_0x4ddf80(0x309),_0x1c3c31[_0x1c3c31['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4ddf80(0x284),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x325)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x259)]=0x1b59]='APPLY_REJECT',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x337)]=0x1b5a]=_0x4ddf80(0x337),_0x1c3c31[_0x1c3c31['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ddf80(0x331),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1de)]=0x1b5c]=_0x4ddf80(0x1de),_0x1c3c31[_0x1c3c31['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x31f)]=0x1f41]=_0x4ddf80(0x31f),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x19a)]=0x2329]=_0x4ddf80(0x19a),_0x1c3c31[_0x1c3c31['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x173)]=0x232b]=_0x4ddf80(0x173),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x202)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2c0)]=0x232d]=_0x4ddf80(0x2c0),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x182)]=0x2711]=_0x4ddf80(0x182),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x245)]=0x2712]=_0x4ddf80(0x245),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2e1)]=0x2713]=_0x4ddf80(0x2e1),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x374)]=0x2714]=_0x4ddf80(0x374),_0x1c3c31[_0x1c3c31['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4ddf80(0x30e),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x37d)]=0x271b]=_0x4ddf80(0x37d),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1d5)]=0x271c]=_0x4ddf80(0x1d5),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2b7)]=0x271d]=_0x4ddf80(0x2b7),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x267)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1c3c31[_0x1c3c31['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ddf80(0x2cf),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1ff)]=0x2720]=_0x4ddf80(0x1ff),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x19d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2d1)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2bc)]=0x2ee2]=_0x4ddf80(0x2bc),_0x1c3c31[_0x1c3c31['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ddf80(0x366),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1a3)]=0x2ee4]=_0x4ddf80(0x1a3),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2de)]=0x2ee5]=_0x4ddf80(0x2de),_0x1c3c31[_0x1c3c31['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2be)]=0x32ca]=_0x4ddf80(0x2be),_0x1c3c31[_0x1c3c31['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4ddf80(0x2ec),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x22e)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x22b)]=0x36b2]=_0x4ddf80(0x22b),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x338)]=0x36b3]=_0x4ddf80(0x338),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2e8)]=0x36b4]=_0x4ddf80(0x2e8),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x277)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x1c3c31[_0x1c3c31['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x4ddf80(0x2c4),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x27b)]=0x36b7]=_0x4ddf80(0x27b),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2fd)]=0x36b8]=_0x4ddf80(0x2fd),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x275)]=0x3715]=_0x4ddf80(0x275),_0x1c3c31[_0x1c3c31['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x4ddf80(0x332),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x1c2)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x304)]=0x37dd]=_0x4ddf80(0x304),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2ff)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2d2)]=0x3a9a]=_0x4ddf80(0x2d2),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x298)]=0x3a9b]=_0x4ddf80(0x298),_0x1c3c31[_0x1c3c31['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x1c3c31[_0x1c3c31[_0x4ddf80(0x2e9)]=0x3a9d]=_0x4ddf80(0x2e9),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x38a)]=0x3a9e]=_0x4ddf80(0x38a),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x241)]=0x3a9f]=_0x4ddf80(0x241),_0x1c3c31[_0x1c3c31[_0x4ddf80(0x178)]=0x3e81]=_0x4ddf80(0x178),_0x1c3c31[_0x1c3c31['UNRECOGNIZED']=-0x1]=_0x4ddf80(0x247),_0x1c3c31))(V||{}),A=(_0x5cf764=>(_0x5cf764[_0x5cf764[_0x4ddf80(0x205)]=0x0]=_0x4ddf80(0x205),_0x5cf764[_0x5cf764[_0x4ddf80(0x26d)]=0x1]='UNIVER_DOC',_0x5cf764[_0x5cf764[_0x4ddf80(0x39e)]=0x2]='UNIVER_SHEET',_0x5cf764[_0x5cf764[_0x4ddf80(0x33a)]=0x3]=_0x4ddf80(0x33a),_0x5cf764[_0x5cf764[_0x4ddf80(0x310)]=0x4]=_0x4ddf80(0x310),_0x5cf764[_0x5cf764[_0x4ddf80(0x247)]=-0x1]=_0x4ddf80(0x247),_0x5cf764))(A||{}),b=(_0x16a470=>(_0x16a470[_0x16a470['View']=0x0]='View',_0x16a470[_0x16a470['Edit']=0x1]=_0x4ddf80(0x21d),_0x16a470[_0x16a470[_0x4ddf80(0x2e4)]=0x2]=_0x4ddf80(0x2e4),_0x16a470[_0x16a470['Print']=0x3]='Print',_0x16a470[_0x16a470[_0x4ddf80(0x2fb)]=0x4]=_0x4ddf80(0x2fb),_0x16a470[_0x16a470[_0x4ddf80(0x26f)]=0x5]=_0x4ddf80(0x26f),_0x16a470[_0x16a470[_0x4ddf80(0x2a3)]=0x6]=_0x4ddf80(0x2a3),_0x16a470[_0x16a470['Share']=0x7]=_0x4ddf80(0x35f),_0x16a470[_0x16a470[_0x4ddf80(0x2b3)]=0x8]=_0x4ddf80(0x2b3),_0x16a470[_0x16a470[_0x4ddf80(0x38b)]=0x9]='MoveWorksheet',_0x16a470[_0x16a470['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x16a470[_0x16a470[_0x4ddf80(0x251)]=0xb]=_0x4ddf80(0x251),_0x16a470[_0x16a470[_0x4ddf80(0x2c6)]=0xc]=_0x4ddf80(0x2c6),_0x16a470[_0x16a470[_0x4ddf80(0x18d)]=0xd]=_0x4ddf80(0x18d),_0x16a470[_0x16a470[_0x4ddf80(0x36e)]=0xe]=_0x4ddf80(0x36e),_0x16a470[_0x16a470[_0x4ddf80(0x2e0)]=0xf]=_0x4ddf80(0x2e0),_0x16a470[_0x16a470['InsertHyperlink']=0x10]='InsertHyperlink',_0x16a470[_0x16a470['Sort']=0x11]=_0x4ddf80(0x1aa),_0x16a470[_0x16a470[_0x4ddf80(0x2dd)]=0x12]=_0x4ddf80(0x2dd),_0x16a470[_0x16a470[_0x4ddf80(0x2c8)]=0x13]=_0x4ddf80(0x2c8),_0x16a470[_0x16a470['FloatImg']=0x14]=_0x4ddf80(0x1b3),_0x16a470[_0x16a470[_0x4ddf80(0x1fc)]=0x15]=_0x4ddf80(0x1fc),_0x16a470[_0x16a470[_0x4ddf80(0x394)]=0x16]='RwHgtClWdt',_0x16a470[_0x16a470['ViemRwHgtClWdt']=0x17]=_0x4ddf80(0x219),_0x16a470[_0x16a470[_0x4ddf80(0x1f0)]=0x18]=_0x4ddf80(0x1f0),_0x16a470[_0x16a470[_0x4ddf80(0x1e3)]=0x19]=_0x4ddf80(0x1e3),_0x16a470[_0x16a470[_0x4ddf80(0x289)]=0x1a]=_0x4ddf80(0x289),_0x16a470[_0x16a470[_0x4ddf80(0x343)]=0x1b]=_0x4ddf80(0x343),_0x16a470[_0x16a470[_0x4ddf80(0x1f7)]=0x1c]=_0x4ddf80(0x1f7),_0x16a470[_0x16a470[_0x4ddf80(0x3a8)]=0x1d]=_0x4ddf80(0x3a8),_0x16a470[_0x16a470['CreateSheet']=0x1e]=_0x4ddf80(0x1d1),_0x16a470[_0x16a470[_0x4ddf80(0x2cc)]=0x1f]=_0x4ddf80(0x2cc),_0x16a470[_0x16a470['SelectUnProtectedCells']=0x20]='SelectUnProtectedCells',_0x16a470[_0x16a470[_0x4ddf80(0x250)]=0x21]=_0x4ddf80(0x250),_0x16a470[_0x16a470[_0x4ddf80(0x34e)]=0x22]=_0x4ddf80(0x34e),_0x16a470[_0x16a470['SetRowStyle']=0x23]='SetRowStyle',_0x16a470[_0x16a470[_0x4ddf80(0x1a9)]=0x24]='SetColumnStyle',_0x16a470[_0x16a470[_0x4ddf80(0x192)]=0x25]=_0x4ddf80(0x192),_0x16a470[_0x16a470[_0x4ddf80(0x2fc)]=0x26]=_0x4ddf80(0x2fc),_0x16a470[_0x16a470[_0x4ddf80(0x1c6)]=0x27]='DeleteRow',_0x16a470[_0x16a470[_0x4ddf80(0x28f)]=0x28]=_0x4ddf80(0x28f),_0x16a470[_0x16a470[_0x4ddf80(0x27e)]=0x29]=_0x4ddf80(0x27e),_0x16a470[_0x16a470[_0x4ddf80(0x3a6)]=0x2a]=_0x4ddf80(0x3a6),_0x16a470[_0x16a470[_0x4ddf80(0x38d)]=0x2b]=_0x4ddf80(0x38d),_0x16a470[_0x16a470['ViewHistory']=0x2c]='ViewHistory',_0x16a470[_0x16a470[_0x4ddf80(0x301)]=0x2d]='CreatePermissionObject',_0x16a470[_0x16a470[_0x4ddf80(0x247)]=-0x1]=_0x4ddf80(0x247),_0x16a470))(b||{});function Pe(_0x36d154){const _0x206bae=_0x4ddf80;return!!(_0x36d154&&_0x36d154[_0x206bae(0x2ba)]&&_0x36d154['code']!==V['OK']&&_0x36d154['code']!=='OK');}const ee=(_0x2fa606,_0x316343)=>{const _0x2f0da3=_0x4ddf80;if(!_0x2fa606)return{'date':'','time':''};const _0x16d669=new Date(_0x2fa606),_0x4b8735=_0x16d669[_0x2f0da3(0x3a9)]()[_0x2f0da3(0x1d8)]('T')[0x0];return _0x316343===c[_0x2f0da3(0x23d)]['ZH_CN']?{'date':Q(_0x4b8735,_0x316343),'time':_0x16d669[_0x2f0da3(0x196)]()+':'+String(_0x16d669['getMinutes']())[_0x2f0da3(0x179)](0x2,'0')+':'+String(_0x16d669['getSeconds']())['padStart'](0x2,'0')}:{'date':Q(_0x4b8735,_0x316343),'time':_0x16d669[_0x2f0da3(0x196)]()+':'+_0x16d669[_0x2f0da3(0x329)]()+':'+_0x16d669[_0x2f0da3(0x1a2)]()};},ye=(_0x17cd25,_0x199e4b)=>{const _0x4791e8=_0x4ddf80,_0x2f3e5c=_0x17cd25[_0x4791e8(0x353)]||_0x199e4b['t'](_0x4791e8(0x221));if(_0x17cd25[_0x4791e8(0x378)][_0x4791e8(0x37e)](_0x12f6a0=>_0x12f6a0===R[_0x4791e8(0x1f6)]['id'])&&_0x17cd25['recoverTime']){const _0x5ecdca=ee(_0x17cd25[_0x4791e8(0x2ac)],_0x199e4b[_0x4791e8(0x39f)]()),_0x2ea193=_0x5ecdca[_0x4791e8(0x2d3)]+'\x20'+_0x5ecdca[_0x4791e8(0x35c)];return _0x2f3e5c+'\x20'+_0x199e4b['t'](_0x4791e8(0x2e5))+'\x20'+_0x2ea193+'\x20'+_0x199e4b['t'](_0x4791e8(0x264));}const _0x498939=Le(_0x17cd25),_0xe75ebe=_0x498939['length']===0x1?_0x199e4b['t'](_0x498939[0x0]):''+_0x199e4b['t'](_0x498939[0x0])+_0x199e4b['t'](_0x4791e8(0x3a2));return _0x2f3e5c+'\x20'+_0xe75ebe;};function Le(_0x27a646){const _0x2211d1=_0x4ddf80;if(_0x27a646[_0x2211d1(0x378)][_0x2211d1(0x348)]===0x0)return[''];const _0x342906='editHistory.action.',_0x45a201=_0x342906+'editSheet',_0x1bf444=[{'id':R['CreateUnitMutation']['id'],'action':_0x342906+_0x2211d1(0x261)},{'id':R[_0x2211d1(0x1f6)]['id'],'action':_0x342906+'revertSheet'},{'id':h[_0x2211d1(0x371)]['id'],'action':_0x342906+_0x2211d1(0x1e4)},{'id':h[_0x2211d1(0x1f2)]['id'],'action':_0x342906+'removeSheet'},{'id':h[_0x2211d1(0x305)]['id'],'action':_0x342906+'setFrozen'},{'id':le[_0x2211d1(0x224)]['id'],'action':_0x342906+_0x2211d1(0x34b)},{'id':Z[_0x2211d1(0x18f)]['id'],'action':_0x342906+_0x2211d1(0x3a0)},{'id':Z[_0x2211d1(0x2a4)]['id'],'action':_0x342906+'setDV'},{'id':K[_0x2211d1(0x297)]['id'],'action':_0x342906+'setCF'},{'id':K[_0x2211d1(0x361)]['id'],'action':_0x342906+_0x2211d1(0x1d6)},{'id':h[_0x2211d1(0x280)]['id'],'action':_0x342906+'addProtection'},{'id':h['AddRangeProtectionMutation']['id'],'action':_0x342906+'addProtection'},{'id':Re['AddSheetSparklineMutation']['id'],'action':_0x342906+_0x2211d1(0x2ab)},{'id':Oe[_0x2211d1(0x1a7)]['id'],'action':_0x342906+_0x2211d1(0x357)},{'id':h['DeleteRangeProtectionMutation']['id'],'action':_0x342906+_0x2211d1(0x382)},{'id':h[_0x2211d1(0x2d0)]['id'],'action':_0x342906+'deleteProtection'}][_0x2211d1(0x20d)](_0x149658=>_0x27a646['commands'][_0x2211d1(0x248)](_0x149658['id']));return _0x1bf444!=null&&_0x1bf444[_0x2211d1(0x348)]?_0x1bf444[_0x2211d1(0x327)](_0x2ef6f2=>_0x2ef6f2[_0x2211d1(0x1cd)]):[_0x45a201];}function Q(_0x3cc294,_0x392b1f){const _0x4c963a=_0x4ddf80,[_0x22d084,_0x48199a,_0x5200fe]=new Date()[_0x4c963a(0x3a9)]()[_0x4c963a(0x1d8)]('T')[0x0][_0x4c963a(0x1d8)]('-'),[_0x3946fa,_0x51081f,_0x5ea69d]=_0x3cc294[_0x4c963a(0x1d8)]('-'),_0x34429b=_0x22d084===_0x3946fa&&_0x48199a===_0x51081f&&_0x5200fe===_0x5ea69d;let _0x3445d3='',_0x578830='',_0x3107af='';return _0x392b1f===c[_0x4c963a(0x23d)][_0x4c963a(0x291)]?_0x34429b?'今天':(_0x3445d3=_0x22d084===_0x3946fa?'':_0x3946fa+'年',_0x578830=_0x51081f+'月',_0x3107af=_0x5ea69d+'日',''+_0x3445d3+_0x578830+_0x3107af):_0x34429b?_0x4c963a(0x237):(_0x3445d3=_0x22d084===_0x3946fa?'':_0x3946fa+'-',_0x578830=_0x51081f+'-',_0x3107af=''+_0x5ea69d,''+_0x3445d3+_0x578830+_0x3107af);}function Ce(_0x20c66e){const _0x1884dc=_0x4ddf80;return _0x20c66e?_0x20c66e[_0x1884dc(0x203)]((_0x58aa77,_0x574c27)=>{const _0x404149=_0x1884dc,_0x3c6817=new Date(_0x574c27[_0x404149(0x35c)])[_0x404149(0x3a9)]()[_0x404149(0x1d8)]('T')[0x0];return _0x58aa77[_0x404149(0x348)]>0x0&&_0x58aa77[_0x58aa77[_0x404149(0x348)]-0x1][_0x404149(0x216)]===_0x3c6817?_0x58aa77[_0x58aa77['length']-0x1][_0x404149(0x265)][_0x404149(0x1b8)](_0x574c27):_0x58aa77[_0x404149(0x1b8)]({'dateString':_0x3c6817,'versions':[_0x574c27]}),_0x58aa77;},[]):[];}var we=Object[_0x4ddf80(0x364)],Ue=(_0x3b94ac,_0x379889,_0x4f4b87,_0x132605)=>{const _0x4d6ec1=_0x4ddf80;for(var _0x5bbb08=_0x132605>0x1?void 0x0:_0x132605?we(_0x379889,_0x4f4b87):_0x379889,_0xc618bc=_0x3b94ac[_0x4d6ec1(0x348)]-0x1,_0x5ae5e6;_0xc618bc>=0x0;_0xc618bc--)(_0x5ae5e6=_0x3b94ac[_0xc618bc])&&(_0x5bbb08=_0x5ae5e6(_0x5bbb08)||_0x5bbb08);return _0x5bbb08;},D=(_0x44a831,_0x3778ad)=>(_0x38477e,_0x516370)=>_0x3778ad(_0x38477e,_0x516370,_0x44a831),_e=(_0x16f8d2=>(_0x16f8d2[_0x16f8d2[_0x4ddf80(0x312)]=0x0]='Unspecified',_0x16f8d2[_0x16f8d2[_0x4ddf80(0x398)]=0x1]=_0x4ddf80(0x398),_0x16f8d2[_0x16f8d2['Character']=0x2]=_0x4ddf80(0x2ae),_0x16f8d2))(_e||{});const $e='/universer-api/history';let j=class extends c[_0x4ddf80(0x322)]{constructor(_0x232a29,_0x23c85a,_0x34eea8,_0x270c8a,_0x4f75e4,_0x1c408e,_0x1b5282){const _0x5106ba=_0x4ddf80;super(),u(this,'_workbookDataCache',new Map()),(this[_0x5106ba(0x34f)]=_0x232a29,this[_0x5106ba(0x346)]=_0x23c85a,this['_commandService']=_0x34eea8,this['_configService']=_0x270c8a,this[_0x5106ba(0x238)]=_0x4f75e4,this[_0x5106ba(0x1e6)]=_0x1c408e,this[_0x5106ba(0x17d)]=_0x1b5282);}[_0x4ddf80(0x2e3)](){const _0x105a35=_0x4ddf80;this[_0x105a35(0x2a0)]['clear'](),super[_0x105a35(0x2e3)]();}async[_0x4ddf80(0x1df)](_0x4d803b){const _0x52fdb8=_0x4ddf80;try{const _0x217b76=(await this[_0x52fdb8(0x238)][_0x52fdb8(0x376)](this[_0x52fdb8(0x288)]()+'/'+_0x4d803b+_0x52fdb8(0x1b0)))['body'];if(_0x217b76&&_0x217b76[_0x52fdb8(0x345)]&&_0x217b76['error'][_0x52fdb8(0x2ba)]===V['OK'])return _0x217b76['creators'];}catch(_0x3a3a60){console['error'](_0x3a3a60);}return[];}async[_0x4ddf80(0x347)](_0x5272e5,_0x1e879a){const _0x551d65=_0x4ddf80,{userIds:_0x1c0862,lastLabel:_0x23b8d8,origin:_0x2e68b7}=_0x1e879a!=null?_0x1e879a:{},_0x156449=new URLSearchParams();_0x156449[_0x551d65(0x2f3)](_0x551d65(0x348),'20'),_0x23b8d8&&_0x156449[_0x551d65(0x2f3)](_0x551d65(0x1ed),_0x23b8d8),_0x1c0862==null||_0x1c0862['forEach'](_0x4f0ec3=>{const _0x2d50f4=_0x551d65;_0x156449[_0x2d50f4(0x2db)]('userIds',_0x4f0ec3);}),_0x2e68b7&&_0x156449[_0x551d65(0x2f3)](_0x551d65(0x39d),_0x2e68b7['toString']());const _0x125fc8=this[_0x551d65(0x288)]()+'/'+_0x5272e5+_0x551d65(0x218)+_0x156449['toString']();try{const _0x3645de=(await this[_0x551d65(0x238)]['get'](_0x125fc8))[_0x551d65(0x273)];if(_0x3645de&&_0x3645de[_0x551d65(0x345)]&&_0x3645de[_0x551d65(0x345)][_0x551d65(0x2ba)]===V['OK']){const {hasMore:_0x4d4196,lastLabel:_0x518a28}=_0x3645de,_0x415205=Ve(_0x3645de),_0x683e6a=_0x3645de['entities']['users'];return{'hasMore':_0x4d4196,'lastLabel':_0x518a28,'versions':_0x415205,'members':_0x683e6a};}}catch(_0x5ee5c8){console[_0x551d65(0x345)](_0x5ee5c8);}return null;}[_0x4ddf80(0x288)](){const _0x123227=_0x4ddf80;var _0x125f34;const _0x2426b3=this['_configService'][_0x123227(0x19e)](J);return(_0x125f34=_0x2426b3==null?void 0x0:_0x2426b3[_0x123227(0x368)])!=null?_0x125f34:$e;}async[_0x4ddf80(0x268)](_0x20c495,_0x383f8c,_0x633d){const _0x331819=_0x4ddf80;var _0x260cf4,_0x1729b4;_0x633d===void 0x0&&(_0x633d={}),this[_0x331819(0x2a0)][_0x331819(0x183)](_0x20c495)||this[_0x331819(0x2a0)][_0x331819(0x2f3)](_0x20c495,new Map());const {snapshot:_0x424f68,changesets:_0x2f86c2,error:_0x4f75aa}=await this[_0x331819(0x34f)][_0x331819(0x2c7)](_0x633d,{'unitID':_0x20c495,'type':A[_0x331819(0x39e)],'revision':_0x383f8c});if(Pe(_0x4f75aa)||!_0x424f68||!_0x424f68[_0x331819(0x279)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x485809=(_0x260cf4=_0x2f86c2==null?void 0x0:_0x2f86c2[_0x331819(0x348)])!=null?_0x260cf4:0x0;if(_0x383f8c!==0x0&&_0x424f68[_0x331819(0x1ba)]+_0x485809!==_0x383f8c)throw new Error(_0x331819(0x27f));const {workbook:_0x168216}=_0x424f68,_0x1f0d38=_0x168216[_0x331819(0x3a3)]?Object[_0x331819(0x2d7)](_0x168216[_0x331819(0x3a3)])[_0x331819(0x327)](([_0x5835b0,_0x477f79])=>{const _0x4b67f7=_0x331819;var _0x47c779,_0x275a49;return(_0x275a49=(_0x47c779=_0x477f79[_0x4b67f7(0x191)])==null?void 0x0:_0x47c779[_0x4b67f7(0x327)](_0x59c60a=>_0x59c60a))!=null?_0x275a49:[];})[_0x331819(0x314)]():[],_0x4057e1=(await Promise[_0x331819(0x2a2)](_0x1f0d38[_0x331819(0x327)](_0x32d400=>this['_snapshotServerService'][_0x331819(0x34c)](_0x633d,{'unitID':_0x20c495,'type':A['UNIVER_SHEET'],'blockID':_0x32d400})[_0x331819(0x1d2)](_0x3b2543=>_0x3b2543[_0x331819(0x2f6)]))))[_0x331819(0x20d)](_0x33bcb8=>!!_0x33bcb8),_0x29f909=await R[_0x331819(0x334)](_0x424f68,_0x4057e1,_0x633d);return(_0x1729b4=this[_0x331819(0x2a0)][_0x331819(0x376)](_0x20c495))==null||_0x1729b4[_0x331819(0x2f3)](_0x383f8c,{'workbook':_0x29f909}),new Promise(_0x2a9f9d=>{const _0x3696cd=_0x331819,_0x384c64=this[_0x3696cd(0x346)][_0x3696cd(0x24c)](c[_0x3696cd(0x36f)][_0x3696cd(0x39e)]);_0x384c64?(this[_0x3696cd(0x346)][_0x3696cd(0x25d)](_0x384c64[_0x3696cd(0x21f)]()),setTimeout(()=>{const _0x24c159=_0x3696cd;this['_createUnit'](_0x29f909,_0x2f86c2),this[_0x24c159(0x17d)]['refreshRangeProtectPermission'](),_0x2a9f9d(!0x0);},0x0)):(this[_0x3696cd(0x1ad)](_0x29f909,_0x2f86c2),_0x2a9f9d(!0x0));});}[_0x4ddf80(0x1ad)](_0x524a00,_0x480a6b){const _0x414449=_0x4ddf80,_0x58f926=this[_0x414449(0x346)][_0x414449(0x2c5)](c[_0x414449(0x36f)][_0x414449(0x39e)],_0x524a00);this[_0x414449(0x346)][_0x414449(0x39c)](_0x58f926[_0x414449(0x21f)]());const _0x2995b2=this['_compressMutationService'][_0x414449(0x1c7)][_0x414449(0x2f7)](this['_compressMutationService']['interceptor'][_0x414449(0x1c9)]()[_0x414449(0x1c1)]);return _0x480a6b==null||_0x480a6b[_0x414449(0x1ca)](_0x11a347=>{const _0x37aa75=_0x414449,_0x41e094=_0x11a347[_0x37aa75(0x2b5)]['map'](_0x1bdcfa=>({'id':_0x1bdcfa['id'],'params':JSON[_0x37aa75(0x3a7)](_0x1bdcfa[_0x37aa75(0x352)])}));({..._0x11a347,'mutations':_0x2995b2(_0x41e094,null)||_0x41e094}['mutations'][_0x37aa75(0x1ca)](_0x44e17e=>{const _0x43d89e=_0x37aa75;this['_commandService'][_0x43d89e(0x30d)](_0x44e17e['id'])&&this[_0x43d89e(0x186)]['syncExecuteCommand'](_0x44e17e['id'],_0x44e17e[_0x43d89e(0x385)]);}));}),_0x58f926;}};j=Ue([D(0x0,R['ISnapshotServerService']),D(0x1,c[_0x4ddf80(0x23e)]),D(0x2,c[_0x4ddf80(0x25c)]),D(0x3,c[_0x4ddf80(0x171)]),D(0x4,c['Inject'](ce[_0x4ddf80(0x32d)])),D(0x5,c['Inject'](R['CompressMutationService'])),D(0x6,c[_0x4ddf80(0x379)](h[_0x4ddf80(0x39b)]))],j);function Ve(_0x5367be){const _0x3b377b=_0x4ddf80;var _0x27f49f,_0x49e25f;const _0xd28d46=[],{entities:_0x4e10f4,historyIds:_0x282b57}=_0x5367be,{datas:_0x469ebd,users:_0x2a2994}=_0x4e10f4;for(const _0x101750 of _0x282b57){const _0x394ab5=_0x469ebd[_0x101750];if(_0x394ab5){const _0x4cdbf6=!!((_0x27f49f=_0x2a2994[_0x394ab5[_0x3b377b(0x1f8)]])!=null&&_0x27f49f[_0x3b377b(0x21b)]);_0xd28d46[_0x3b377b(0x1b8)]({'unitId':_0x394ab5['unitId'],'user':_0x4cdbf6?'':((_0x49e25f=_0x2a2994==null?void 0x0:_0x2a2994[_0x394ab5[_0x3b377b(0x1f8)]])==null?void 0x0:_0x49e25f['name'])||'','isAnonymous':_0x4cdbf6,'id':_0x101750,'time':_0x394ab5['createTime']?Number(_0x394ab5[_0x3b377b(0x381)]):void 0x0,'commands':_0x394ab5[_0x3b377b(0x230)],'startRev':Number(_0x394ab5['startRevision']),'endRev':Number(_0x394ab5[_0x3b377b(0x19c)]),'recoverTime':_0x394ab5[_0x3b377b(0x2ac)]?Number(_0x394ab5[_0x3b377b(0x2ac)]):void 0x0,'additionalFields':_0x394ab5[_0x3b377b(0x272)]});}}return _0xd28d46;}var xe=Object[_0x4ddf80(0x364)],ke=(_0x8a2ba2,_0x2ede00,_0x1f22d9,_0x55d79e)=>{const _0x2c3130=_0x4ddf80;for(var _0x42eede=_0x55d79e>0x1?void 0x0:_0x55d79e?xe(_0x2ede00,_0x1f22d9):_0x2ede00,_0x13e16c=_0x8a2ba2[_0x2c3130(0x348)]-0x1,_0x3054f0;_0x13e16c>=0x0;_0x13e16c--)(_0x3054f0=_0x8a2ba2[_0x13e16c])&&(_0x42eede=_0x3054f0(_0x42eede)||_0x42eede);return _0x42eede;},k=(_0x25e243,_0x15e45a)=>(_0x3fd051,_0x1380af)=>_0x15e45a(_0x3fd051,_0x1380af,_0x25e243),Y=(_0x2ac815=>(_0x2ac815[_0x4ddf80(0x339)]='entered',_0x2ac815[_0x4ddf80(0x360)]=_0x4ddf80(0x17f),_0x2ac815['Error']=_0x4ddf80(0x345),_0x2ac815))(Y||{}),w=(_0x3fc3a4=>(_0x3fc3a4[_0x4ddf80(0x2bd)]='init',_0x3fc3a4['Loading']='loading',_0x3fc3a4[_0x4ddf80(0x2c9)]='loaded',_0x3fc3a4))(w||{});const He=_0x4ddf80(0x176);exports[_0x4ddf80(0x330)]=class extends c[_0x4ddf80(0x322)]{constructor(_0x1483be,_0x4089cd,_0x25133a,_0x4e94e8){const _0x31c736=_0x4ddf80;super(),u(this,_0x31c736(0x363),new p[(_0x31c736(0x38e))]([])),u(this,_0x31c736(0x1eb),this[_0x31c736(0x363)][_0x31c736(0x328)]()),u(this,'_currentVersion$',new p['BehaviorSubject']('')),u(this,_0x31c736(0x33e),this[_0x31c736(0x2cb)][_0x31c736(0x328)]()),u(this,'_status$',new p[(_0x31c736(0x38e))](_0x31c736(0x369))),u(this,_0x31c736(0x2ef),this[_0x31c736(0x2b9)]['asObservable']()),u(this,'_revertRevision$',new p['BehaviorSubject'](0x0)),u(this,_0x31c736(0x373),this[_0x31c736(0x236)][_0x31c736(0x328)]()),u(this,_0x31c736(0x3aa),new p['BehaviorSubject']('')),u(this,_0x31c736(0x33f),this[_0x31c736(0x3aa)][_0x31c736(0x328)]()),u(this,_0x31c736(0x201),new p[(_0x31c736(0x38e))](!0x1)),u(this,_0x31c736(0x318),this['_fetching$'][_0x31c736(0x328)]()),u(this,'_creators$',new p[(_0x31c736(0x38e))]([])),u(this,_0x31c736(0x1af),this[_0x31c736(0x258)][_0x31c736(0x328)]()),u(this,'_loadingState$',new p[(_0x31c736(0x38e))](_0x31c736(0x333))),u(this,_0x31c736(0x1e0),this[_0x31c736(0x2ed)][_0x31c736(0x328)]()),u(this,_0x31c736(0x27c),null),u(this,_0x31c736(0x293),!0x0),u(this,'_members',new Map()),u(this,_0x31c736(0x31a)),u(this,_0x31c736(0x2e2)),u(this,_0x31c736(0x2f9)),u(this,_0x31c736(0x2ad),!0x1),u(this,_0x31c736(0x2f4),null),(this['_messageService']=_0x1483be,this['_confirmService']=_0x4089cd,this['_localeService']=_0x25133a,this['_historyFetchService']=_0x4e94e8);}[_0x4ddf80(0x290)](_0x2f522c){this['_fetching$']['next'](_0x2f522c);}get[_0x4ddf80(0x367)](){const _0x283bdc=_0x4ddf80;return this[_0x283bdc(0x201)]['value'];}async['triggerLoadVersions'](_0x1d0b6d,_0x4b17ed,_0xa46b15){const _0x166d5c=_0x4ddf80;this[_0x166d5c(0x31a)]=_0x4b17ed,this[_0x166d5c(0x2ad)]=_0xa46b15,await this['loadInitialVersions'](_0x1d0b6d);}async[_0x4ddf80(0x215)](_0x4b26b7,_0x406153){const _0x2cafe6=_0x4ddf80;this[_0x2cafe6(0x3aa)][_0x2cafe6(0x231)](_0x4b26b7),this['_loadParams']=_0x406153!=null?_0x406153:null,this[_0x2cafe6(0x290)](!0x0);const _0x3045aa=await this[_0x2cafe6(0x2bb)]['getVersions'](_0x4b26b7,_0x406153);if(this[_0x2cafe6(0x290)](!0x1),_0x3045aa){const {versions:_0x27afd0,lastLabel:_0xc4e4ed,hasMore:_0x3b5adc,members:_0x6b325b}=_0x3045aa;_0x27afd0[_0x2cafe6(0x348)]===0x0&&_0x27afd0[_0x2cafe6(0x1b8)]({'unitId':_0x4b26b7,'id':He,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x2cafe6(0x246)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x2cafe6(0x1fd)](_0x27afd0,_0x3b5adc,_0xc4e4ed,!0x1,_0x6b325b),this['_currentVersion$']['next'](_0x27afd0[0x0]['id']);}else this[_0x2cafe6(0x2b9)]['next'](_0x2cafe6(0x345));}async['loadMoreVersions'](){const _0x498e3b=_0x4ddf80;if(!this[_0x498e3b(0x27c)]||!this[_0x498e3b(0x293)]||this['fetching'])return!0x1;this['_setFetching'](!0x0);const _0x28de8e=await this[_0x498e3b(0x2bb)][_0x498e3b(0x347)](this[_0x498e3b(0x389)],{'lastLabel':this[_0x498e3b(0x27c)],...this[_0x498e3b(0x2f4)]});if(this[_0x498e3b(0x290)](!0x1),_0x28de8e){const {versions:_0x2d64ba,lastLabel:_0x3d42e6,hasMore:_0x555d10,members:_0x27cdf0}=_0x28de8e;this[_0x498e3b(0x1fd)](_0x2d64ba,_0x555d10,_0x3d42e6,!0x0,_0x27cdf0);}else this[_0x498e3b(0x20b)][_0x498e3b(0x22c)]({'content':this['_localeService']['t'](_0x498e3b(0x23a)),'type':P[_0x498e3b(0x390)]['Error'],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x231239=_0x4ddf80,{unitId:_0x10cc34}=this;if(!_0x10cc34)return;const _0x296721=await this[_0x231239(0x2bb)]['fetchCreatorList'](_0x10cc34);_0x296721&&this[_0x231239(0x258)][_0x231239(0x231)](_0x296721);}async[_0x4ddf80(0x38f)](_0x3acc40){const _0x340b8f=_0x4ddf80;var _0x2759ff;const _0x43b778=(_0x2759ff=this[_0x340b8f(0x363)][_0x340b8f(0x1ee)])==null?void 0x0:_0x2759ff[_0x340b8f(0x2f2)](_0x124666=>_0x124666['id']===_0x3acc40),{endRev:_0x502b5c}=_0x43b778||{};_0x502b5c||_0x502b5c===0x0?(this[_0x340b8f(0x2ed)][_0x340b8f(0x231)](_0x340b8f(0x30c)),await this[_0x340b8f(0x2bb)][_0x340b8f(0x268)](this['unitId'],_0x502b5c),this[_0x340b8f(0x2ed)]['next'](_0x340b8f(0x27a))):this[_0x340b8f(0x2b9)][_0x340b8f(0x231)]('error');}async[_0x4ddf80(0x341)](_0x196ee8){const _0x1e0833=_0x4ddf80,_0x5a7418=_0x196ee8?this[_0x1e0833(0x1d9)](_0x196ee8):this[_0x1e0833(0x342)]();if(!_0x5a7418)return;const _0x5337ce=_0x5a7418['endRev'],_0x297a57=ee(_0x5a7418['time'],this['_localeService']['getCurrentLocale']());await this[_0x1e0833(0x38c)][_0x1e0833(0x21c)]({'id':_0x1e0833(0x22a),'title':{'title':this[_0x1e0833(0x246)]['t'](_0x1e0833(0x28d))},'children':{'title':this[_0x1e0833(0x246)]['t'](_0x1e0833(0x1cc))+_0x1e0833(0x358)+_0x297a57['date']+'\x20'+_0x297a57[_0x1e0833(0x35c)]+')'},'cancelText':this[_0x1e0833(0x246)]['t'](_0x1e0833(0x356)),'confirmText':this[_0x1e0833(0x246)]['t'](_0x1e0833(0x37b))})&&this['_revertRevision$']['next'](_0x5337ce);}[_0x4ddf80(0x1fd)](_0x35da2c,_0x3720ea,_0x21e6b5,_0x59bfd1,_0x1918fc){const _0x248ec9=_0x4ddf80;this[_0x248ec9(0x355)](_0x59bfd1?this[_0x248ec9(0x363)]['value'][_0x248ec9(0x260)](_0x35da2c):_0x35da2c),this[_0x248ec9(0x293)]=_0x3720ea,this[_0x248ec9(0x27c)]=_0x21e6b5,_0x1918fc&&Object[_0x248ec9(0x320)](_0x1918fc)[_0x248ec9(0x1ca)](_0x188e58=>this['_members']['set'](_0x188e58,_0x1918fc[_0x188e58]));}['getCurrentVersion'](){const _0x56d9d8=_0x4ddf80;return this[_0x56d9d8(0x1d9)](this['_currentVersion$'][_0x56d9d8(0x1ee)]);}[_0x4ddf80(0x355)](_0x914050){const _0x1c5f40=_0x4ddf80;this[_0x1c5f40(0x363)]['next'](_0x914050);}['getVersion'](_0x242c88){const _0x10665c=_0x4ddf80;var _0x36d8cf;return(_0x36d8cf=this['_versions$'][_0x10665c(0x1ee)])==null?void 0x0:_0x36d8cf[_0x10665c(0x2f2)](_0x1cc334=>_0x1cc334['id']===_0x242c88);}[_0x4ddf80(0x20c)](_0x40238f){const _0x29dad4=_0x4ddf80;return this[_0x29dad4(0x1da)][_0x29dad4(0x376)](_0x40238f);}[_0x4ddf80(0x2b8)](){const _0x5e2d74=_0x4ddf80;this[_0x5e2d74(0x2f9)]=document[_0x5e2d74(0x269)]('div'),this[_0x5e2d74(0x2f9)][_0x5e2d74(0x324)]=_0x5e2d74(0x209),this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)][_0x5e2d74(0x256)]=_0x5e2d74(0x2c2),this['_maskElement']['style']['top']='0',this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)]['left']='0',this[_0x5e2d74(0x2f9)]['style'][_0x5e2d74(0x37c)]=_0x5e2d74(0x1a1),this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)][_0x5e2d74(0x359)]=_0x5e2d74(0x1a1),this[_0x5e2d74(0x2f9)]['style'][_0x5e2d74(0x34a)]='rgba(225,\x20225,\x20225,\x200.5)',this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)][_0x5e2d74(0x386)]=_0x5e2d74(0x1e7),this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)]['display']='flex',this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)][_0x5e2d74(0x187)]='center',this['_maskElement']['style'][_0x5e2d74(0x23b)]='1000',this[_0x5e2d74(0x2f9)][_0x5e2d74(0x292)]['display']=_0x5e2d74(0x286),this[_0x5e2d74(0x2e2)][_0x5e2d74(0x2db)](this['_maskElement']);}['_initMaskContainer'](){const _0x1c6939=_0x4ddf80;var _0x4292aa;const _0x210373=(_0x4292aa=document[_0x1c6939(0x266)](this[_0x1c6939(0x31a)]))==null?void 0x0:_0x4292aa[_0x1c6939(0x2d8)](_0x1c6939(0x25b));_0x210373&&(this[_0x1c6939(0x2e2)]=_0x210373,this[_0x1c6939(0x2b8)]());}[_0x4ddf80(0x24b)](){const _0x4a986e=_0x4ddf80;this[_0x4a986e(0x2e2)]||this[_0x4a986e(0x233)](),this[_0x4a986e(0x2f9)]&&(this[_0x4a986e(0x2f9)][_0x4a986e(0x292)]['display']=_0x4a986e(0x1cb));}[_0x4ddf80(0x395)](){const _0x42fdca=_0x4ddf80;this[_0x42fdca(0x2f9)]&&(this[_0x42fdca(0x2f9)][_0x42fdca(0x292)][_0x42fdca(0x25f)]='none');}set['status'](_0x48c56a){const _0x3f26c9=_0x4ddf80;this['_status$'][_0x3f26c9(0x231)](_0x48c56a);}set[_0x4ddf80(0x255)](_0x1d3f7f){const _0x86a0b7=_0x4ddf80;_0x1d3f7f!==this[_0x86a0b7(0x2cb)]['value']&&this[_0x86a0b7(0x2cb)][_0x86a0b7(0x231)](_0x1d3f7f);}get[_0x4ddf80(0x255)](){const _0x2726f1=_0x4ddf80;return this[_0x2726f1(0x2cb)]['value'];}set[_0x4ddf80(0x389)](_0x1c2998){const _0xf1d9a=_0x4ddf80;this['_unitId$'][_0xf1d9a(0x231)](_0x1c2998);}get[_0x4ddf80(0x389)](){const _0x571252=_0x4ddf80;return this[_0x571252(0x3aa)][_0x571252(0x1ee)];}get['canRevert'](){const _0x8c0b1=_0x4ddf80;return this[_0x8c0b1(0x2ad)];}get['loadingState'](){const _0x12904c=_0x4ddf80;return this[_0x12904c(0x2ed)][_0x12904c(0x1ee)];}},exports['HistoryManagerService']=ke([k(0x0,E[_0x4ddf80(0x1b9)]),k(0x1,c['IConfirmService']),k(0x2,c[_0x4ddf80(0x379)](c['LocaleService'])),k(0x3,c['Inject'](j))],exports[_0x4ddf80(0x330)]);function W({ref:_0x1a0503,..._0x3b0861}){const _0x553d29=_0x4ddf80,{icon:_0x29698e,id:_0x2b33ac,className:_0x31db59,extend:_0x3fe51e,..._0x49689d}=_0x3b0861,_0x1f4043=(_0x553d29(0x24f)+_0x2b33ac+'\x20'+(_0x31db59||''))[_0x553d29(0x180)](),_0x2847b2=O[_0x553d29(0x18e)]('_'+Fe());return ue(_0x29698e,''+_0x2b33ac,{'defIds':_0x29698e['defIds'],'idSuffix':_0x2847b2[_0x553d29(0x321)]},{'ref':_0x1a0503,'className':_0x1f4043,..._0x49689d},_0x3fe51e);}function ue(_0x454f83,_0x3c9c26,_0x421158,_0x34cd3d,_0x4157f9){const _0x505367=_0x4ddf80;return O[_0x505367(0x269)](_0x454f83[_0x505367(0x20a)],{'key':_0x3c9c26,...Ae(_0x454f83,_0x421158,_0x4157f9),..._0x34cd3d},(je(_0x454f83,_0x421158)[_0x505367(0x1ab)]||[])[_0x505367(0x327)]((_0x3e2576,_0x39f3d8)=>ue(_0x3e2576,_0x3c9c26+'-'+_0x454f83[_0x505367(0x20a)]+'-'+_0x39f3d8,_0x421158,void 0x0,_0x4157f9)));}function Ae(_0x835058,_0x2e604f,_0x42baf9){const _0x288bce=_0x4ddf80,_0x7fcf60={..._0x835058[_0x288bce(0x204)]};_0x42baf9!=null&&_0x42baf9[_0x288bce(0x295)]&&_0x7fcf60[_0x288bce(0x1bd)]===_0x288bce(0x295)&&(_0x7fcf60['fill']=_0x42baf9[_0x288bce(0x295)]),_0x835058[_0x288bce(0x20a)]===_0x288bce(0x335)&&_0x7fcf60['id']&&(_0x7fcf60['id']=_0x7fcf60['id']+_0x2e604f['idSuffix']),Object[_0x288bce(0x2d7)](_0x7fcf60)['forEach'](([_0x4a1109,_0x2430e8])=>{const _0x5d698e=_0x288bce;_0x4a1109===_0x5d698e(0x335)&&typeof _0x2430e8==_0x5d698e(0x177)&&(_0x7fcf60[_0x4a1109]=_0x2430e8['replace'](/url\(#(.*)\)/,_0x5d698e(0x303)+_0x2e604f[_0x5d698e(0x232)]+')'));});const {defIds:_0x216c11}=_0x2e604f;return!_0x216c11||_0x216c11[_0x288bce(0x348)]===0x0||(_0x835058['tag']===_0x288bce(0x17e)&&_0x7fcf60['xlink:href']&&(_0x7fcf60[_0x288bce(0x32c)]=_0x7fcf60[_0x288bce(0x32c)]+_0x2e604f[_0x288bce(0x232)]),Object[_0x288bce(0x2d7)](_0x7fcf60)[_0x288bce(0x1ca)](([_0x561958,_0x2827f1])=>{const _0xde2acc=_0x288bce;typeof _0x2827f1==_0xde2acc(0x177)&&(_0x7fcf60[_0x561958]=_0x2827f1['replace'](/url\(#(.*)\)/,_0xde2acc(0x303)+_0x2e604f[_0xde2acc(0x232)]+')'));})),_0x7fcf60;}function je(_0x14620f,_0x469729){const _0x2ad09f=_0x4ddf80;var _0x143123;const {defIds:_0x137915}=_0x469729;return!_0x137915||_0x137915[_0x2ad09f(0x348)]===0x0?_0x14620f:_0x14620f[_0x2ad09f(0x20a)]===_0x2ad09f(0x393)&&((_0x143123=_0x14620f['children'])!=null&&_0x143123['length'])?{..._0x14620f,'children':_0x14620f[_0x2ad09f(0x1ab)][_0x2ad09f(0x327)](_0x5d8a0f=>typeof _0x5d8a0f[_0x2ad09f(0x204)]['id']==_0x2ad09f(0x177)&&_0x137915&&_0x137915['includes'](_0x5d8a0f[_0x2ad09f(0x204)]['id'])?{..._0x5d8a0f,'attrs':{..._0x5d8a0f[_0x2ad09f(0x204)],'id':_0x5d8a0f[_0x2ad09f(0x204)]['id']+_0x469729[_0x2ad09f(0x232)]}}:_0x5d8a0f)}:_0x14620f;}function Fe(){const _0xc6bbc6=_0x4ddf80;return Math[_0xc6bbc6(0x30a)]()[_0xc6bbc6(0x199)](0x24)[_0xc6bbc6(0x28e)](0x2,0x8);}W[_0x4ddf80(0x225)]=_0x4ddf80(0x317);const Be={'tag':_0x4ddf80(0x387),'attrs':{'xmlns':_0x4ddf80(0x300),'fill':_0x4ddf80(0x286),'viewBox':_0x4ddf80(0x198),'width':'1em','height':_0x4ddf80(0x33c)},'children':[{'tag':_0x4ddf80(0x1dc),'attrs':{'fill':_0x4ddf80(0x29d),'d':_0x4ddf80(0x27d)}}]},he=O[_0x4ddf80(0x17a)](function(_0x541335,_0x3ba1d2){const _0x462759=_0x4ddf80;return O[_0x462759(0x269)](W,Object[_0x462759(0x2ce)]({},_0x541335,{'id':_0x462759(0x2f8),'ref':_0x3ba1d2,'icon':Be}));});he[_0x4ddf80(0x225)]=_0x4ddf80(0x2ca);const Ye={'tag':'svg','attrs':{'xmlns':_0x4ddf80(0x300),'fill':'none','viewBox':_0x4ddf80(0x240),'width':_0x4ddf80(0x33c),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x4ddf80(0x29d),'clipPath':_0x4ddf80(0x383)},'children':[{'tag':_0x4ddf80(0x1dc),'attrs':{'d':'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'}},{'tag':'path','attrs':{'d':_0x4ddf80(0x354),'fillRule':_0x4ddf80(0x1ce),'clipRule':_0x4ddf80(0x1ce)}}]},{'tag':_0x4ddf80(0x393),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4ddf80(0x229)},'children':[{'tag':_0x4ddf80(0x35d),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x4ddf80(0x1e7),'rx':0x4}}]}]}],'defIds':[_0x4ddf80(0x229)]},Ie=O[_0x4ddf80(0x17a)](function(_0x5d4bb5,_0xf74b6d){const _0x3819e8=_0x4ddf80;return O['createElement'](W,Object[_0x3819e8(0x2ce)]({},_0x5d4bb5,{'id':'restore-icon','ref':_0xf74b6d,'icon':Ye}));});Ie['displayName']=_0x4ddf80(0x22d);const We={'tag':'svg','attrs':{'xmlns':_0x4ddf80(0x300),'fill':'none','viewBox':_0x4ddf80(0x198),'width':_0x4ddf80(0x33c),'height':'1em'},'children':[{'tag':_0x4ddf80(0x1dc),'attrs':{'fill':_0x4ddf80(0x188),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x4ddf80(0x1ce),'clipRule':_0x4ddf80(0x1ce)}},{'tag':_0x4ddf80(0x1dc),'attrs':{'fill':'#0B9EFB','d':_0x4ddf80(0x2f0),'fillRule':_0x4ddf80(0x1ce),'clipRule':_0x4ddf80(0x1ce)}}]},te=O['forwardRef'](function(_0xd9596,_0x566446){const _0x126236=_0x4ddf80;return O['createElement'](W,Object[_0x126236(0x2ce)]({},_0xd9596,{'id':_0x126236(0x263),'ref':_0x566446,'icon':We}));});function _0x2e6f(){const _0xf6343d=['INVITE_CODE_ALREADY_BOUND','COMPLETION_FINISHED','EditWorksheetCell','YUUMI_RATE_OVER_LIMIT','_maskContainer','dispose','ManageCollaborator','editHistory.action.revertSheetPrefix','_currentVersionDiff$','subscribeEvent','PAYMENT_CHANNEL_NOT_SUPPORT','REDEMPTION_USER_NOT_ELIGIBLE','Vector2','range','EMAIL_HAS_BEEN_BOUND','_loadingState$','USER_IS_ANONYMOUS','status$','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','SHEET_VIEWPORT_KEY','find','set','_loadParams','getRelativeToViewportCoord','block','fetchThroughInterceptors','back-icon','_maskElement','univer-overflow-hidden','Duplicate','InsertColumn','ENTITLE_USE_COUPON_NOT_1ST_TRADE','222910cmfFZx','REDEMPTION_INVALID_CODE','http://www.w3.org/2000/svg','CreatePermissionObject','8bRJubd','url(#$1','ENTITLE_NEED_BILLING_ADDRESS','SetFrozenMutation','_configService','disposeWithMe','getViewport','SNAPSHOT_INVALID_SNAPSHOT','random','NOT_FOUND','loading','hasCommand','YUUMI_NO_CUBOID_FOR_QUESTION','function','UNIVER_PROJECT','_yieldToMain','Unspecified','Injector','flat','useCallback','_context','UniverIcon','fetching$','ALREADY_EXISTS','_historyContainerId','jsxs','Info','registerRenderModule','_sidebarService','CONNECTOR_DATA_TOO_LARGE','keys','current','Disposable','values','className','ENSURE_SNAPSHOT_EXECUTION','_init','map','asObservable','getMinutes','merge','startRow','xlink:href','HTTPService','_uiPartsService','_initRender','HistoryManagerService','APPLY_REVISION_CONFILICT','ENTITLE_REPORT_LIMIT_EXCEED','init','transformSnapshotToWorkbookData','mask','VIEW_MAIN','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_DUP_SUBSCRIPTION','Entered','UNIVER_SLIDE','jsx','1em','univer-flex\x20univer-items-center\x20univer-justify-center','currentVersion$','unitId$','_sheetSkeletonManagerService','triggerRevert','getCurrentVersion','HideSheet','CHANGESET_REVISION_CONFILICT','error','_univerInstanceService','getVersions','length','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','backgroundColor','setFilter','getDeserializedSheetBlock','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','SetCellValue','_snapshotServerService','bottom','WorkbookHideSheetPermission','data','user','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','_setVersions','editHistory.panel.cancel','insertChart',':\x20(','height','_config','ITransformService','time','rect','_permissionService','Share','Exited','AddConditionalRuleMutation','_transformMutationByOrder','_versions$','getOwnPropertyDescriptor','SheetCollabCursorShape','INVITE_CODE_REQUIRED','fetching','historyListServerUrl','entered','SetRangeProtectionMutation','subType','isTransformMutationsSuccess','SetRangeValuesMutation','SetWorksheetStyle','UniverInstanceType','ISidebarService','InsertSheetMutation','_diffRangesMap','revertRevision$','YUUMI_SUBSCRIPTION_NOT_FOUND','Tooltip','get','Fragment','commands','Inject','378561dLstVh','editHistory.panel.confirm','width','YUUMI_ASYNCIO_CANCELLED','some','_updateDiffMarks','editHistory.panel.title','createTime','deleteProtection','url(#restore-icon_clip0_1247_2)','add','params','color','svg','currentSkeleton$','unitId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MoveWorksheet','_confirmService','RecoverHistory','BehaviorSubject','triggerLoadSheet','MessageType','AddWorksheetMergeMutation','_sidebarDisposable','defs','RwHgtClWdt','hideMask','column','UNDEFINED','User','sheet','LOGIN_TOKEN_PROCESSING_FAILED','SheetPermissionInitController','focusUnit','origin','UNIVER_SHEET','getCurrentLocale','setDV','_injector','editHistory.action.etc','blockMeta','loadMoreVersions','executeCommand','Delete','parse','RenameSheet','toISOString','_unitId$','IConfigService','_getRangesByMutation','LICENSE_IMPORT_SIZE_EXCEEDED','21819853TNSIuf','debounceTime','VIRTUAL_VERSION_NOW','string','DATA_SOURCE_TOO_LARGE','padStart','forwardRef','45iQGtXF','SetNumfmtMutation','_sheetPermissionInitController','use','exited','trim','div','YUUMI_UNABLE_LOAD_URL','has','_getActiveSubUnitId','span','_commandService','justifyContent','#0B9EFB','updatePermissionPoint','startColumn','history-panel','connectInjector','CreateWorksheet','useRef','AddDataValidationMutation','_diffs','blocks','InsertRow','open','_renderManagerService','WorkbookMoveSheetPermission','getHours','combineLatest','0\x200\x2016\x2016','toString','LICENSE_MAX_UNITS_EXCEEDED','MoveColsMutation','endRevision','PY_RUNTIME_SCRIPT_ERROR','getConfig','_initPanel','LoadingMultiIcon','100%','getSeconds','USER_NOT_INVITED_CODE','getVpScrollXYInfoByPosToVp','onRendered','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertSheetsChartMutation','_transformService','SetColumnStyle','Sort','children','toDisposable','_createUnit','onStarting','creators$','/creators','INVALID_ARGUMENT','486ZKeLLp','FloatImg','defineProperty','toStringTag','ObjectMatrix','onPointerMove$','push','IMessageService','rev','BuiltInUIPart','closeAll','fill','_lastPointer','debounce','memberId','COMPRESS_MUTATION_APPLY','ENTITLE_INSUFFICIENT_QUOTA','setValue','12761DBMqje','USER_NOT_FOUND','DeleteRow','interceptor','cellValue','getInterceptPoints','forEach','flex','editHistory.panel.revertConfirmText','action','evenodd','rule','subscribe','CreateSheet','then','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','YUUMI_TABLE_NOT_FOUND_IN_UNIT','setCF','WorkbookEditablePermission','split','getVersion','_members','CURRENT_STATUS_CANNOT_OPERATE','path','_combineRanges','APPLY_PERMISSION_DENIED','fetchCreatorList','loadingState$','HistoryOrigin','InsertColMutation','MoveSheet','insertSheet','getSheetObject','_compressMutationService','white','currentVersionDiff$','LocaleService','close','versions$','UniverEditHistoryViewerPlugin','lastLabel','value','primary','ViewFilter','pluginName','RemoveSheetMutation','_cellEditorManagerService','IUIPartsService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RevertRevisionMutation','CopySheet','userId','SheetSkeletonManagerService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','switchMap','History','_updateVersions','1XzLQxm','YUUMI_CONNECTOR_URL_NOT_FOUND','RangeMergeUtil','_fetching$','LICENSE_EXPORT_SIZE_EXCEEDED','reduce','attrs','UNIVER_UNKNOWN','Plugin','SetWorksheetHideMutation','ComponentManager','history-mask','tag','_messageService','getMember','filter','_initActiveSwitch','Button','INTERNAL_ERROR','rules','2062980enSzkN','_extractRanges','Module','loadInitialVersions','dateString','editHistory.header.revert','/list?','ViemRwHgtClWdt','status','anonymous','confirm','Edit','PERMISSION_DENIED','getUnitId','MOBILE_VERIFY_CODE_MISMATCH','editHistory.panel.unknownUser','state$','InsertRowMutation','SetSheetsFilterRangeMutation','displayName','_dialogOptions$','m1Prime','492520LLeKwp','restore-icon_clip0_1247_2','confirm-revert-revision','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','show','RestoreIcon','ENTITLE_CAN_NOT_BUY_LOWER_OTP','row','command','next','idSuffix','_initMaskContainer','button','hidden','_revertRevision$','Today','_httpService','UniverNetworkPlugin','editHistory.panel.listFetchError','zIndex','AddRangeProtectionMutation','LocaleType','IUniverInstanceService','addObjects','0\x200\x2016\x2017','REDEMPTION_CODE_HAS_BEEN_CREATED','clsx','_historyManagerService','isArray','YUUMI_URL_COL_OUT_OF_RANGE','_localeService','UNRECOGNIZED','includes','_componentManager','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','showMask','getCurrentUnitForType','historyPanelComponentKey','stopPropagation','univerjs-icon\x20univerjs-icon-','SetCellStyle','HideWorksheet','HistoryModeStatus','top','MoveRangeMutation','currentVersion','position','getCoordByCell','_creators$','APPLY_REJECT','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','.univer-app-container-content','ICommandService','disposeUnit','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','display','concat','createSheet','WorkbookRenameSheetPermission','loading-multi-icon','editHistory.action.revertSheetSuffix','versions','getElementById','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','loadSheet','createElement','loadingState','univer-animate-spin','Loading','UNIVER_DOC','EMAIL_VERIFY_CODE_MISMATCH','Comment','setState','DependentOn','additionalFields','body','editHistory.panel.revertDesc','ENTITLE_CHAT_LIMIT_EXCEED','registerComponent','ENTITLE_INVALID_COUPON_CODE','editHistory.info.loading','workbook','loaded','ENTITLE_COUPON_USED_UP','_lastLabel','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','EditExtraObject','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','AddWorksheetProtectionMutation','LOGIN_FAILED','useDependency','endColumn','SNAPSHOT_HAS_BEEN_REMOVED','getDialogs$','none','_versionDiffService','_getAPIPrefix','DeleteSheet','makeDirty','FromArray','getCellPositionByOffset','editHistory.panel.revertConfirm','substring','DeleteColumn','_setFetching','ZH_CN','style','_hasMore','univer-text-gray-500','colorChannel1','rgba(58,\x2096,\x20247,\x200.20)','SetConditionalRuleMutation','REDEMPTION_CODE_FULLY_REDEEMED','SetWorksheetActiveOperation','_getSheetObject','canRevert','Subject','currentColor','symbol','IRenderManagerService','_workbookDataCache','pipe','all','Copy','UpdateDataValidationMutation','_removeDiffMarks','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getDataRange','active','univer-text-2xl\x20dark:!univer-text-white','subUnitId','addSparkline','recoverTime','_canRevert','Character','transformMutations','ranges','endRow','ERROR_AGAIN','Export','2358844NKMzBY','mutations','IPermissionService','YUUMI_ALL_TABLES_IS_INVALID','_createMask','_status$','code','_historyFetchService','INVALID_INVITE_CODE','Init','MOBILE_HAS_BEEN_BOUND','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','TOO_MANY_REQUESTS','absolute','MoveRowsMutation','ENTITLE_COUPON_EXPIRED','createUnit','RenameWorksheet','getUnitOnRev','PivotTable','Loaded','BackIcon','_currentVersion$','SelectProtectedCells','from','assign','YUUMI_AI_RUN_FAILED','DeleteWorksheetProtectionMutation','INVITE_CODE_HAS_BEEN_UES','REDEMPTION_CODE_INACTIVE','date','IImageIoService','IDialogService','_openPanel','entries','querySelector','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','useObservable','append','ensureVersion','Filter'];_0x2e6f=function(){return _0xf6343d;};return _0x2e6f();}te[_0x4ddf80(0x225)]=_0x4ddf80(0x1a0);function Xe(){const _0x9b7fbf=_0x4ddf80;var _0x4eb041;const _0x3eb3d5=E[_0x9b7fbf(0x282)](exports[_0x9b7fbf(0x330)]),_0x21536f=E[_0x9b7fbf(0x282)](c[_0x9b7fbf(0x1e9)]),_0x4ccc8a=O['useCallback'](()=>{const _0x2dce03=_0x9b7fbf;_0x3eb3d5[_0x2dce03(0x21a)]=Y['Exited'];},[_0x3eb3d5]),_0x3ddcfe=O[_0x9b7fbf(0x315)](()=>{const _0xd5b106=_0x9b7fbf;_0x3eb3d5[_0xd5b106(0x341)]();},[_0x3eb3d5]),_0x1ec1fd=E[_0x9b7fbf(0x2da)](_0x3eb3d5[_0x9b7fbf(0x33e)]),_0x182fab=E[_0x9b7fbf(0x2da)](_0x3eb3d5[_0x9b7fbf(0x1eb)]),_0x420a50=_0x1ec1fd===((_0x4eb041=_0x182fab==null?void 0x0:_0x182fab[0x0])==null?void 0x0:_0x4eb041['id']),_0x4cea6b=_0x1ec1fd!==''&&!_0x420a50&&_0x3eb3d5[_0x9b7fbf(0x29b)];return d[_0x9b7fbf(0x31b)](_0x9b7fbf(0x181),{'className':P[_0x9b7fbf(0x242)](_0x9b7fbf(0x25a),P['borderBottomClassName']),'children':[d[_0x9b7fbf(0x33b)]('a',{'className':_0x9b7fbf(0x1d4),'role':_0x9b7fbf(0x234),'onClick':_0x4ccc8a,'children':d['jsx'](he,{'className':_0x9b7fbf(0x2a9)})}),d['jsx'](_0x9b7fbf(0x181),{'className':_0x9b7fbf(0x1d3),'children':_0x4cea6b&&d['jsx'](P[_0x9b7fbf(0x20f)],{'variant':_0x9b7fbf(0x1ef),'onClick':_0x3ddcfe,'children':_0x21536f['t'](_0x9b7fbf(0x217))})})]});}var Ge=Object[_0x4ddf80(0x364)],qe=(_0x4fa511,_0xcf4b19,_0x2af250,_0x4f6de1)=>{for(var _0x57e45b=_0x4f6de1>0x1?void 0x0:_0x4f6de1?Ge(_0xcf4b19,_0x2af250):_0xcf4b19,_0x1451a3=_0x4fa511['length']-0x1,_0x3a7756;_0x1451a3>=0x0;_0x1451a3--)(_0x3a7756=_0x4fa511[_0x1451a3])&&(_0x57e45b=_0x3a7756(_0x57e45b)||_0x57e45b);return _0x57e45b;},y=(_0x3f6e19,_0x4d0e83)=>(_0x40eab3,_0x22f10d)=>_0x4d0e83(_0x40eab3,_0x22f10d,_0x3f6e19);let F=class extends c['Disposable']{constructor(_0x297497,_0x6a085b,_0x304ef5,_0x24ce22,_0xa9d12c,_0x3475db){const _0x3e609f=_0x4ddf80;super(),this['_permissionService']=_0x297497,this[_0x3e609f(0x32e)]=_0x6a085b,this[_0x3e609f(0x20b)]=_0x304ef5,this[_0x3e609f(0x246)]=_0x24ce22,this[_0x3e609f(0x243)]=_0xa9d12c,this[_0x3e609f(0x3a1)]=_0x3475db,this[_0x3e609f(0x326)]();}[_0x4ddf80(0x326)](){const _0x1a638b=_0x4ddf80;this[_0x1a638b(0x307)](this['_historyManagerService']['currentVersion$']['subscribe'](_0x36ade1=>{const _0x3f7fc5=_0x1a638b;_0x36ade1&&this['_historyManagerService'][_0x3f7fc5(0x38f)](_0x36ade1);})),this[_0x1a638b(0x307)](this[_0x1a638b(0x35e)]['permissionPointUpdate$'][_0x1a638b(0x1d0)](_0x1b4cc2=>{const _0x2c61f4=_0x1a638b,_0x94da3=this[_0x2c61f4(0x243)]['unitId'];_0x94da3&&(_0x1b4cc2['subType']===b[_0x2c61f4(0x21d)]&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this[_0x2c61f4(0x35e)]['updatePermissionPoint'](new h[(_0x2c61f4(0x1d7))](_0x94da3)['id'],!0x1),_0x1b4cc2[_0x2c61f4(0x36b)]===b[_0x2c61f4(0x3a8)]&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new h[(_0x2c61f4(0x262))](_0x94da3)['id'],!0x1),_0x1b4cc2['subType']===b[_0x2c61f4(0x1e3)]&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this['_permissionService'][_0x2c61f4(0x189)](new h[(_0x2c61f4(0x195))](_0x94da3)['id'],!0x1),_0x1b4cc2[_0x2c61f4(0x36b)]===b[_0x2c61f4(0x343)]&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this[_0x2c61f4(0x35e)][_0x2c61f4(0x189)](new h[(_0x2c61f4(0x351))](_0x94da3)['id'],!0x1),_0x1b4cc2[_0x2c61f4(0x36b)]===b['Comment']&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this[_0x2c61f4(0x35e)]['updatePermissionPoint'](new h[(_0x2c61f4(0x1d7))](_0x94da3)['id'],!0x1),_0x1b4cc2['subType']===b[_0x2c61f4(0x1b3)]&&_0x1b4cc2[_0x2c61f4(0x1ee)]===!0x0&&this[_0x2c61f4(0x35e)]['updatePermissionPoint'](new h['WorkbookEditablePermission'](_0x94da3)['id'],!0x1));})),this[_0x1a638b(0x307)](this['_uiPartsService'][_0x1a638b(0x276)](E[_0x1a638b(0x1bb)]['HEADER'],()=>E[_0x1a638b(0x18c)](Xe,this[_0x1a638b(0x3a1)])));let _0x49de17;this[_0x1a638b(0x307)](this['_historyManagerService'][_0x1a638b(0x1e0)]['subscribe'](_0x4ad98f=>{const _0x8ce2e3=_0x1a638b;_0x49de17==null||_0x49de17['dispose'](),_0x4ad98f===w['Loading']&&(this[_0x8ce2e3(0x243)]['showMask'](),_0x49de17=this['_messageService'][_0x8ce2e3(0x22c)]({'type':P[_0x8ce2e3(0x390)][_0x8ce2e3(0x31c)],'content':this['_localeService']['t'](_0x8ce2e3(0x278))})),_0x4ad98f===w[_0x8ce2e3(0x2c9)]&&this[_0x8ce2e3(0x243)][_0x8ce2e3(0x395)]();}));}};function _0x551c(_0x2892c4,_0x5248b6){_0x2892c4=_0x2892c4-0x171;const _0x2e6f0b=_0x2e6f();let _0x551cb7=_0x2e6f0b[_0x2892c4];return _0x551cb7;}F=qe([y(0x0,c[_0x4ddf80(0x2b6)]),y(0x1,E[_0x4ddf80(0x1f4)]),y(0x2,E[_0x4ddf80(0x1b9)]),y(0x3,c[_0x4ddf80(0x379)](c['LocaleService'])),y(0x4,c[_0x4ddf80(0x379)](exports[_0x4ddf80(0x330)])),y(0x5,c[_0x4ddf80(0x379)](c['Injector']))],F);var Ze=Object[_0x4ddf80(0x364)],Ke=(_0x268dc5,_0x25b2e0,_0x2df902,_0x5b2aef)=>{const _0x31ad2f=_0x4ddf80;for(var _0x4ff358=_0x5b2aef>0x1?void 0x0:_0x5b2aef?Ze(_0x25b2e0,_0x2df902):_0x25b2e0,_0x57595c=_0x268dc5[_0x31ad2f(0x348)]-0x1,_0x1e0499;_0x57595c>=0x0;_0x57595c--)(_0x1e0499=_0x268dc5[_0x57595c])&&(_0x4ff358=_0x1e0499(_0x4ff358)||_0x4ff358);return _0x4ff358;},G=(_0x20b629,_0x210cea)=>(_0x3ac0eb,_0x4568a2)=>_0x210cea(_0x3ac0eb,_0x4568a2,_0x20b629);let x=class extends c[_0x4ddf80(0x322)]{constructor(_0x4e222f,_0x3cfc9d,_0x57178a){const _0x5f1877=_0x4ddf80;super(),u(this,'_diffRangesMap',new Map()),u(this,_0x5f1877(0x2e6),new p[(_0x5f1877(0x38e))]({'ranges':new Map(),'active':null})),u(this,_0x5f1877(0x1e8),this['_currentVersionDiff$'][_0x5f1877(0x328)]()),(this['_historyManagerService']=_0x4e222f,this['_transformService']=_0x3cfc9d,this['_snapshotServerService']=_0x57178a,this[_0x5f1877(0x326)]());}['_init'](){const _0x2818b7=_0x4ddf80;this[_0x2818b7(0x372)]=new Map(),this[_0x2818b7(0x307)](this[_0x2818b7(0x243)]['unitId$'][_0x2818b7(0x1d0)](_0x297cb2=>{const _0x2859c9=_0x2818b7;_0x297cb2&&!this[_0x2859c9(0x372)][_0x2859c9(0x183)](_0x297cb2)&&this[_0x2859c9(0x372)]['set'](_0x297cb2,new Map());})),this[_0x2818b7(0x307)](this['_historyManagerService'][_0x2818b7(0x33e)]['subscribe'](async _0xa9236d=>{const _0x23ee05=_0x2818b7;var _0x138e56;_0xa9236d&&(await this[_0x23ee05(0x2dc)](_0xa9236d),this[_0x23ee05(0x2e6)][_0x23ee05(0x231)](((_0x138e56=this['_diffRangesMap'][_0x23ee05(0x376)](this[_0x23ee05(0x243)]['unitId']))==null?void 0x0:_0x138e56[_0x23ee05(0x376)](_0xa9236d))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x53c6b1){const _0x39c206=_0x4ddf80;var _0xa260eb,_0x1e15c7;const _0x38c464=this[_0x39c206(0x243)][_0x39c206(0x1d9)](_0x53c6b1),_0x87d10e=this['_historyManagerService'][_0x39c206(0x389)];if(!_0x38c464||!_0x87d10e)return;const _0x214e33=this[_0x39c206(0x372)][_0x39c206(0x376)](_0x87d10e);if(_0x214e33||this[_0x39c206(0x372)][_0x39c206(0x2f3)](_0x87d10e,new Map()),(_0xa260eb=this[_0x39c206(0x372)]['get'](_0x87d10e))!=null&&_0xa260eb[_0x39c206(0x183)](_0x38c464['id']))return;const {startRev:_0xdab92c,endRev:_0x238617}=_0x38c464;if(_0xdab92c===0x1){_0x214e33[_0x39c206(0x2f3)](_0x38c464['id'],{'ranges':new Map(),'active':null});return;}const _0x1ae892=_0xdab92c-0x1,_0x53548b=_0x238617,_0x15d934=await this[_0x39c206(0x34f)]['fetchMissingChangesets']({},{'unitID':_0x87d10e,'from':_0x1ae892,'to':_0x53548b,'type':A[_0x39c206(0x39e)]});if(((_0x1e15c7=_0x15d934[_0x39c206(0x345)])==null?void 0x0:_0x1e15c7[_0x39c206(0x2ba)])===V['OK']){const _0x46a6b8=_0x15d934['changesets'][_0x39c206(0x327)](_0x9df0a8=>((_0x9df0a8[_0x39c206(0x2b5)]===null||_0x9df0a8[_0x39c206(0x2b5)]===void 0x0)&&(_0x9df0a8['mutations']=[]),R['parseProtocolChangeset'](_0x9df0a8)))[_0x39c206(0x327)](_0x297688=>_0x297688['mutations'][_0x39c206(0x327)](_0x299b83=>({..._0x299b83,'params':{..._0x299b83['params'],'memberId':_0x297688['userID']}})))[_0x39c206(0x314)](),_0x2eeda6=await this[_0x39c206(0x362)](_0x46a6b8),_0x2afb4d=this[_0x39c206(0x184)](_0x46a6b8),_0x17a0f1=this[_0x39c206(0x213)](_0x2eeda6);_0x214e33[_0x39c206(0x2f3)](_0x38c464['id'],{'ranges':_0x17a0f1,'active':_0x2afb4d});}}async[_0x4ddf80(0x362)](_0x186a33){const _0x5df11e=_0x4ddf80;let _0x2ba533=[];for(let _0x20a3fc=0x0;_0x20a3fc<_0x186a33[_0x5df11e(0x348)];_0x20a3fc++){const _0x24cf9e=_0x186a33[_0x20a3fc];if(_0x2ba533['push'](_0x24cf9e),_0x20a3fc!==_0x186a33[_0x5df11e(0x348)]-0x1){const _0x521942=_0x186a33[_0x20a3fc+0x1],_0xe899fd=this[_0x5df11e(0x1a8)][_0x5df11e(0x2af)](_0x2ba533,[_0x521942]);R[_0x5df11e(0x36c)](_0xe899fd)?_0x2ba533=_0xe899fd[_0x5df11e(0x227)]:_0x2ba533=[];}_0x20a3fc%0xa===0x0&&_0x20a3fc>0x0&&await this[_0x5df11e(0x311)]();}return _0x2ba533;}['_yieldToMain'](){return new Promise(_0xa3b4b1=>{const _0x1c8960=_0x551c;typeof requestIdleCallback==_0x1c8960(0x30f)?requestIdleCallback(()=>_0xa3b4b1(),{'timeout':0x64}):setTimeout(_0xa3b4b1,0x0);});}['_getActiveSubUnitId'](_0x2e13f8){const _0x4321fe=_0x4ddf80;let _0x165a90=[];return _0x2e13f8[_0x4321fe(0x1ca)](_0x1e0f55=>{const _0x23dcc6=_0x4321fe;if(_0x1e0f55['id']===h[_0x23dcc6(0x371)]['id']){const _0x280869=_0x1e0f55[_0x23dcc6(0x385)];_0x165a90['push'](_0x280869[_0x23dcc6(0x399)]['id']);}else{if(_0x1e0f55['id']===h[_0x23dcc6(0x1f2)]['id']){const _0x23e8c2=_0x1e0f55[_0x23dcc6(0x385)];_0x165a90[_0x23dcc6(0x348)]>0x0&&(_0x165a90=_0x165a90[_0x23dcc6(0x20d)](_0x5520e8=>_0x5520e8!==_0x23e8c2[_0x23dcc6(0x2aa)]));}else{if(_0x1e0f55['id']===h[_0x23dcc6(0x207)]['id']){const _0x59d82d=_0x1e0f55[_0x23dcc6(0x385)];_0x59d82d[_0x23dcc6(0x235)]?_0x165a90=_0x165a90[_0x23dcc6(0x20d)](_0x3f76a6=>_0x3f76a6!==_0x59d82d[_0x23dcc6(0x2aa)]):_0x165a90[_0x23dcc6(0x1b8)](_0x59d82d[_0x23dcc6(0x2aa)]);}else{const _0x3ce443=_0x1e0f55[_0x23dcc6(0x385)];_0x3ce443[_0x23dcc6(0x2aa)]&&_0x165a90['push'](_0x3ce443[_0x23dcc6(0x2aa)]);}}}}),_0x165a90[_0x4321fe(0x348)]>0x0?_0x165a90[_0x165a90['length']-0x1]:null;}[_0x4ddf80(0x213)](_0x4cc164){const _0x3c4258=_0x4ddf80,_0x5ebcff=new Map();return _0x4cc164[_0x3c4258(0x1ca)](_0x16b0e7=>{const _0x5b1fff=_0x3c4258;var _0x413e3f,_0x491dff;const _0x4f0248=(_0x413e3f=_0x16b0e7[_0x5b1fff(0x385)])==null?void 0x0:_0x413e3f[_0x5b1fff(0x1c0)];if(_0x4f0248){_0x5ebcff[_0x5b1fff(0x183)](_0x4f0248)||_0x5ebcff[_0x5b1fff(0x2f3)](_0x4f0248,[]);const _0x12e613=this[_0x5b1fff(0x172)](_0x16b0e7);(_0x491dff=_0x5ebcff[_0x5b1fff(0x376)](_0x4f0248))==null||_0x491dff['push'](..._0x12e613);}}),_0x5ebcff[_0x3c4258(0x1ca)]((_0x33683d,_0x286d72)=>{const _0x46b47e=_0x3c4258;_0x5ebcff['set'](_0x286d72,this[_0x46b47e(0x1dd)](_0x33683d));}),_0x5ebcff;}[_0x4ddf80(0x172)](_0x3860fd){const _0x274ce2=_0x4ddf80;switch(_0x3860fd['id']){case h[_0x274ce2(0x23c)]['id']:{const _0x2cca75=_0x3860fd[_0x274ce2(0x385)];return _0x2cca75[_0x274ce2(0x211)][_0x274ce2(0x327)](_0x2ef256=>_0x2ef256['ranges'][_0x274ce2(0x327)](_0x125be0=>({'range':_0x125be0,'unitId':_0x2cca75[_0x274ce2(0x389)],'subUnitId':_0x2cca75['subUnitId']})))[_0x274ce2(0x314)]();}case h[_0x274ce2(0x391)]['id']:{const _0x2d7382=_0x3860fd[_0x274ce2(0x385)];return _0x2d7382[_0x274ce2(0x2b0)][_0x274ce2(0x327)](_0x2d43da=>({'range':_0x2d43da,'unitId':_0x2d7382[_0x274ce2(0x389)],'subUnitId':_0x2d7382['subUnitId']}));}case h[_0x274ce2(0x223)]['id']:{const _0xc3db1c=_0x3860fd[_0x274ce2(0x385)];return[{'range':_0xc3db1c[_0x274ce2(0x2eb)],'unitId':_0xc3db1c['unitId'],'subUnitId':_0xc3db1c[_0x274ce2(0x2aa)]}];}case h[_0x274ce2(0x1e2)]['id']:{const _0x12dede=_0x3860fd['params'];return[{'range':_0x12dede[_0x274ce2(0x2eb)],'unitId':_0x12dede[_0x274ce2(0x389)],'subUnitId':_0x12dede[_0x274ce2(0x2aa)]}];}case h[_0x274ce2(0x254)]['id']:{const _0x22a43c=_0x3860fd[_0x274ce2(0x385)],{from:_0x547487,to:_0x16e137,unitId:_0xe37b76}=_0x22a43c;return[{'range':ae(_0x547487['value']),'unitId':_0xe37b76,'subUnitId':_0x547487[_0x274ce2(0x2aa)]},{'range':ae(_0x16e137[_0x274ce2(0x1ee)]),'unitId':_0xe37b76,'subUnitId':_0x16e137[_0x274ce2(0x2aa)]}];}case h[_0x274ce2(0x2c3)]['id']:{const _0x594404=_0x3860fd[_0x274ce2(0x385)],{unitId:_0x58bec4,subUnitId:_0x5518b5,sourceRange:_0x7b992e,targetRange:_0xd1b80a}=_0x594404,_0x20b495=_0x7b992e['endRow']-_0x7b992e['startRow']+0x1;return[{'range':_0xd1b80a[_0x274ce2(0x32b)]<=_0x7b992e[_0x274ce2(0x32b)]?_0xd1b80a:{..._0xd1b80a,'startRow':_0xd1b80a[_0x274ce2(0x32b)]-_0x20b495,'endRow':_0xd1b80a[_0x274ce2(0x2b1)]-_0x20b495},'unitId':_0x58bec4,'subUnitId':_0x5518b5}];}case h[_0x274ce2(0x19b)]['id']:{const _0x6da233=_0x3860fd[_0x274ce2(0x385)],{unitId:_0x388ca8,subUnitId:_0xd9c0b0,sourceRange:_0x11d401,targetRange:_0x186776}=_0x6da233,_0x593804=_0x11d401[_0x274ce2(0x283)]-_0x11d401['startColumn']+0x1;return[{'range':_0x186776['startColumn']<=_0x11d401[_0x274ce2(0x18a)]?_0x186776:{..._0x186776,'startColumn':_0x186776[_0x274ce2(0x18a)]-_0x593804,'endColumn':_0x186776[_0x274ce2(0x283)]-_0x593804},'unitId':_0x388ca8,'subUnitId':_0xd9c0b0}];}case h[_0x274ce2(0x17c)]['id']:{const _0x2fc2d3=_0x3860fd[_0x274ce2(0x385)],{values:_0x2a8540,unitId:_0x96b602,subUnitId:_0x2c2bd9}=_0x2fc2d3;return Object[_0x274ce2(0x323)](_0x2a8540)[_0x274ce2(0x327)](_0x371f44=>_0x371f44['ranges'][_0x274ce2(0x327)](_0x494946=>({'range':_0x494946,'unitId':_0x96b602,'subUnitId':_0x2c2bd9})))[_0x274ce2(0x314)]();}case h['RemoveNumfmtMutation']['id']:{const _0x30efcf=_0x3860fd['params'],{ranges:_0x4af94a,unitId:_0xb2923,subUnitId:_0x54a807}=_0x30efcf;return _0x4af94a['map'](_0xc8dcd4=>({'range':_0xc8dcd4,'unitId':_0xb2923,'subUnitId':_0x54a807}));}case h['ReorderRangeMutation']['id']:{const _0x8652a2=_0x3860fd[_0x274ce2(0x385)],{unitId:_0x2f7964,subUnitId:_0x2ec0cf,range:_0xf96266}=_0x8652a2;return[{'range':_0xf96266,'unitId':_0x2f7964,'subUnitId':_0x2ec0cf}];}case h[_0x274ce2(0x36a)]['id']:{const _0x267da6=_0x3860fd[_0x274ce2(0x385)];return _0x267da6[_0x274ce2(0x1cf)][_0x274ce2(0x2b0)]['map'](_0x492050=>({'range':_0x492050,'unitId':_0x267da6[_0x274ce2(0x389)],'subUnitId':_0x267da6[_0x274ce2(0x2aa)]}));}case h[_0x274ce2(0x36d)]['id']:{const _0x216205=_0x3860fd[_0x274ce2(0x385)];return _0x216205[_0x274ce2(0x1c8)]?Qe(_0x216205[_0x274ce2(0x1c8)])[_0x274ce2(0x327)](_0x276e79=>({'range':_0x276e79,'unitId':_0x216205[_0x274ce2(0x389)],'subUnitId':_0x216205[_0x274ce2(0x2aa)]})):[];}case le['SetSheetsFilterRangeMutation']['id']:{const _0x5af6a9=_0x3860fd[_0x274ce2(0x385)];return[{'range':_0x5af6a9[_0x274ce2(0x2eb)],'unitId':_0x5af6a9[_0x274ce2(0x389)],'subUnitId':_0x5af6a9[_0x274ce2(0x2aa)]}];}case Z['AddDataValidationMutation']['id']:{const _0x414440=_0x3860fd['params'];return(Array[_0x274ce2(0x244)](_0x414440[_0x274ce2(0x1cf)])?_0x414440[_0x274ce2(0x1cf)]:[_0x414440['rule']])['map'](_0x11ebe5=>_0x11ebe5[_0x274ce2(0x2b0)][_0x274ce2(0x327)](_0x5412db=>({'range':_0x5412db,'unitId':_0x414440[_0x274ce2(0x389)],'subUnitId':_0x414440[_0x274ce2(0x2aa)]})))['flat']();}case K['SetConditionalRuleMutation']['id']:{const _0x5a8897=_0x3860fd['params'];return _0x5a8897['rule']['ranges'][_0x274ce2(0x327)](_0x130f1d=>({'range':_0x130f1d,'unitId':_0x5a8897[_0x274ce2(0x389)],'subUnitId':_0x5a8897[_0x274ce2(0x2aa)]}));}default:return[];}}[_0x4ddf80(0x1dd)](_0x17335c){const _0x13225a=_0x4ddf80;if(_0x17335c[_0x13225a(0x348)]<=0x1)return _0x17335c;const _0x13c26e=new Map();return _0x17335c[_0x13225a(0x1ca)](_0x2ca00c=>{const _0x12c7df=_0x13225a;var _0x572a06;const {unitId:_0x214d34,subUnitId:_0x27f8ef}=_0x2ca00c,_0x480ca7=_0x214d34+'-'+_0x27f8ef;_0x13c26e['has'](_0x480ca7)?(_0x572a06=_0x13c26e['get'](_0x480ca7))==null||_0x572a06[_0x12c7df(0x1b8)](_0x2ca00c):_0x13c26e[_0x12c7df(0x2f3)](_0x480ca7,[_0x2ca00c]);}),Array[_0x13225a(0x2cd)](_0x13c26e[_0x13225a(0x323)]())[_0x13225a(0x327)](_0x12b895=>new h[(_0x13225a(0x200))]()[_0x13225a(0x384)](..._0x12b895[_0x13225a(0x327)](_0x17d845=>_0x17d845['range']))[_0x13225a(0x32a)]()['map'](_0x51e064=>({'range':_0x51e064,'unitId':_0x12b895[0x0]['unitId'],'subUnitId':_0x12b895[0x0]['subUnitId']})))[_0x13225a(0x314)]();}};x=Ke([G(0x0,c['Inject'](exports[_0x4ddf80(0x330)])),G(0x1,R[_0x4ddf80(0x35b)]),G(0x2,R['ISnapshotServerService'])],x);function ae(_0x2a8706){const _0x1f18c1=_0x4ddf80;return new c['ObjectMatrix'](_0x2a8706)[_0x1f18c1(0x2a7)]();}function Qe(_0x666902){const _0x1a7897=_0x4ddf80,_0x387076=new c[(_0x1a7897(0x1b6))](_0x666902),_0x48f037=new c[(_0x1a7897(0x1b6))]();return _0x387076['forValue']((_0x3152ee,_0x9cb698)=>{const _0x2e9697=_0x1a7897;_0x48f037[_0x2e9697(0x1c3)](_0x3152ee,_0x9cb698,0x1);}),h['findAllRectangle'](_0x48f037);}var ze=Object['getOwnPropertyDescriptor'],Je=(_0x273eb9,_0x35ad8b,_0x8fe8aa,_0x10136a)=>{const _0x55d39d=_0x4ddf80;for(var _0x17ecb8=_0x10136a>0x1?void 0x0:_0x10136a?ze(_0x35ad8b,_0x8fe8aa):_0x35ad8b,_0x3269fc=_0x273eb9[_0x55d39d(0x348)]-0x1,_0x3c8dab;_0x3269fc>=0x0;_0x3269fc--)(_0x3c8dab=_0x273eb9[_0x3269fc])&&(_0x17ecb8=_0x3c8dab(_0x17ecb8)||_0x17ecb8);return _0x17ecb8;},L=(_0x2a834f,_0x10cb30)=>(_0x988e5,_0x165a46)=>_0x10cb30(_0x988e5,_0x165a46,_0x2a834f);let z=class extends c[_0x4ddf80(0x322)]{constructor(_0x3d3848,_0x21ff48,_0x4547ca,_0x3e0030,_0x38a0e9,_0x2b67f5,_0xc1392a){const _0x513b09=_0x4ddf80;super(),u(this,_0x513b09(0x190),new Set()),u(this,_0x513b09(0x1be),null),(this[_0x513b09(0x316)]=_0x3d3848,this[_0x513b09(0x243)]=_0x21ff48,this[_0x513b09(0x287)]=_0x4547ca,this[_0x513b09(0x346)]=_0x3e0030,this[_0x513b09(0x194)]=_0x38a0e9,this[_0x513b09(0x340)]=_0x2b67f5,this[_0x513b09(0x186)]=_0xc1392a,this[_0x513b09(0x326)]());}[_0x4ddf80(0x326)](){this['_initRender'](),this['_initActiveSwitch']();}[_0x4ddf80(0x32f)](){const _0x19964a=_0x4ddf80;this[_0x19964a(0x307)](p[_0x19964a(0x197)]([this['_historyManagerService'][_0x19964a(0x1e0)],this['_sheetSkeletonManagerService'][_0x19964a(0x388)]])[_0x19964a(0x2a1)](p[_0x19964a(0x1fb)](([_0x2ef631,_0x14bc72])=>{const _0x42d0ff=_0x19964a;if(_0x2ef631===w[_0x42d0ff(0x2c9)]&&_0x14bc72){const _0x288d20=_0x14bc72['sheetId'];return this[_0x42d0ff(0x287)]['currentVersionDiff$']['pipe'](p['map'](_0x4d097a=>{const _0x114b68=_0x42d0ff,_0x25eb44=new Map();return _0x4d097a[_0x114b68(0x2b0)][_0x114b68(0x1ca)]((_0x4d9448,_0x1471f9)=>{const _0x296463=_0x114b68,_0x55c4d2=_0x4d9448['filter'](_0x5426c1=>_0x5426c1['subUnitId']===_0x288d20);_0x25eb44[_0x296463(0x2f3)](_0x1471f9,_0x55c4d2);}),{'skeleton':_0x14bc72,'diffs':_0x25eb44};}));}return p['of']({'skeleton':null,'diffs':new Map()});}))[_0x19964a(0x1d0)](({skeleton:_0x4e5bfc,diffs:_0x1459fb})=>{const _0x4cc2bd=_0x19964a;this[_0x4cc2bd(0x2a5)](),_0x4e5bfc&&this[_0x4cc2bd(0x37f)](_0x4e5bfc,_0x1459fb);})),this['disposeWithMe'](this[_0x19964a(0x340)][_0x19964a(0x388)]['subscribe'](_0x569f67=>{const _0x3d7a4c=_0x19964a;if(_0x569f67==null)return;const {skeleton:_0x479e21}=_0x569f67,{scene:_0x32f8ad}=this['_context'];_0x32f8ad[_0x3d7a4c(0x1b7)][_0x3d7a4c(0x2e7)](c[_0x3d7a4c(0x1bf)](_0x38a5ea=>{const _0x103265=_0x3d7a4c;var _0x2a7154,_0x2813dc;const {offsetX:_0x4fd792,offsetY:_0x4d3c72}=_0x38a5ea,{x:_0x25bb16,y:_0x2ed348}=_0x32f8ad[_0x103265(0x2f5)]($[_0x103265(0x2ea)][_0x103265(0x28b)]([_0x4fd792,_0x4d3c72])),{scaleX:_0x3d636a,scaleY:_0x1ffecb}=_0x32f8ad['getAncestorScale'](),_0x3da20a=_0x32f8ad[_0x103265(0x308)]($[_0x103265(0x2f1)][_0x103265(0x336)]),_0x78d19a=_0x32f8ad[_0x103265(0x1a4)]($[_0x103265(0x2ea)][_0x103265(0x28b)]([_0x25bb16,_0x2ed348]),_0x3da20a),_0x6d8209=_0x479e21[_0x103265(0x28c)](_0x4fd792,_0x4d3c72,_0x3d636a,_0x1ffecb,_0x78d19a);((_0x2a7154=this['_lastPointer'])==null?void 0x0:_0x2a7154[_0x103265(0x396)])===_0x6d8209[_0x103265(0x396)]&&((_0x2813dc=this[_0x103265(0x1be)])==null?void 0x0:_0x2813dc[_0x103265(0x22f)])===_0x6d8209['row']||this[_0x103265(0x190)][_0x103265(0x1ca)](_0x55a0d3=>{_0x55a0d3['onMouseMove'](_0x6d8209);});},0x64));}));}[_0x4ddf80(0x20e)](){const _0x5bb2fc=_0x4ddf80;this[_0x5bb2fc(0x307)](this[_0x5bb2fc(0x243)][_0x5bb2fc(0x1e0)]['subscribe'](_0x3d523f=>{const _0x58627c=_0x5bb2fc,_0x4d8473=new c['DisposableCollection']();return _0x3d523f===w['Loaded']&&(_0x4d8473[_0x58627c(0x2e3)](),_0x4d8473[_0x58627c(0x384)](this[_0x58627c(0x287)][_0x58627c(0x1e8)]['subscribe'](_0x49e811=>{const _0xe8cdba=_0x58627c;_0x49e811[_0xe8cdba(0x2a8)]&&this[_0xe8cdba(0x186)][_0xe8cdba(0x3a5)](h[_0xe8cdba(0x299)]['id'],{'unitId':this['_context'][_0xe8cdba(0x389)],'subUnitId':_0x49e811[_0xe8cdba(0x2a8)]});}))),()=>_0x4d8473[_0x58627c(0x2e3)]();}));}[_0x4ddf80(0x37f)](_0xc90b4d,_0x1c6b06){const _0x3d19bc=_0x4ddf80;var _0x5f24ed;const _0x46e393=(_0x5f24ed=this[_0x3d19bc(0x340)]['getCurrent']())==null?void 0x0:_0x5f24ed['skeleton'];if(!_0x46e393)return;this['_diffs'][_0x3d19bc(0x1ca)](_0x214de4=>{const _0x2e867c=_0x3d19bc;_0x214de4[_0x2e867c(0x28a)]();});const {scene:_0x4e211e}=this[_0x3d19bc(0x316)],_0x1700bb=Array['from'](_0x1c6b06[_0x3d19bc(0x320)]())['map'](_0x2f1060=>_0x1c6b06[_0x3d19bc(0x376)](_0x2f1060)[_0x3d19bc(0x327)](_0x330ecc=>{const _0x4ad3de=_0x3d19bc;var _0x3ae758;const {range:_0xccadf1,subUnitId:_0x4bfa5a,unitId:_0x20a63d}=_0x330ecc,{startColumn:_0x350ee6,startRow:_0x2fe601,endColumn:_0x5ca81f,endRow:_0x5065b3}=_0xccadf1,_0x5357ea=C[_0x4ad3de(0x257)](_0x2fe601,_0x350ee6,_0x4e211e,_0x46e393),_0x5d856f=C[_0x4ad3de(0x257)](_0x5065b3,_0x5ca81f,_0x4e211e,_0x46e393),{columnHeaderHeightAndMarginTop:_0x36a48e}=_0x46e393,{startX:_0x39b24a,startY:_0x5dc87e}=_0x5357ea,{endX:_0x1bf6d3,endY:_0x3b0421}=_0x5d856f,_0xbfd0de=_0x1bf6d3-_0x39b24a,_0x511dc4=_0x3b0421-_0x5dc87e,_0x266ab3={'labelPosition':_0x5dc87e-_0x36a48e>=0x14?_0x4ad3de(0x253):_0x4ad3de(0x350),'sheetID':_0x4bfa5a,'range':_0xccadf1,'color':_0x4ad3de(0x296),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x4ad3de(0x296),'name':((_0x3ae758=this['_historyManagerService'][_0x4ad3de(0x20c)](_0x2f1060))==null?void 0x0:_0x3ae758['name'])||'','selection':_0x20a63d+'-'+_0x4bfa5a+'-'+_0xccadf1[_0x4ad3de(0x18a)]+'-'+_0xccadf1[_0x4ad3de(0x32b)]+'-'+_0xccadf1['endColumn']+'-'+_0xccadf1[_0x4ad3de(0x2b1)],'left':_0x39b24a,'top':_0x5dc87e,'width':_0xbfd0de,'height':_0x511dc4,'evented':!0x1,'zIndex':0x1};return new Me[(_0x4ad3de(0x365))]('',_0x266ab3);}))[_0x3d19bc(0x314)]();_0x4e211e[_0x3d19bc(0x23f)](_0x1700bb,0x1),this[_0x3d19bc(0x190)]=new Set(_0x1700bb);}[_0x4ddf80(0x2a5)](){const _0x3127ae=_0x4ddf80;var _0x1c8b0c;(_0x1c8b0c=this['_diffs'])==null||_0x1c8b0c[_0x3127ae(0x1ca)](_0x5a476f=>_0x5a476f[_0x3127ae(0x2e3)]());}[_0x4ddf80(0x29a)](){const _0x5395c6=_0x4ddf80;return C[_0x5395c6(0x1e5)](this['_univerInstanceService'],this[_0x5395c6(0x194)]);}};z=Je([L(0x1,c['Inject'](exports[_0x4ddf80(0x330)])),L(0x2,c[_0x4ddf80(0x379)](x)),L(0x3,c[_0x4ddf80(0x23e)]),L(0x4,$[_0x4ddf80(0x29f)]),L(0x5,c[_0x4ddf80(0x379)](C[_0x4ddf80(0x1f9)])),L(0x6,c[_0x4ddf80(0x25c)])],z);function et(){const _0x1783ce=_0x4ddf80,_0x4861b1=E[_0x1783ce(0x282)](exports[_0x1783ce(0x330)]),_0x3fe2b2=E['useObservable'](_0x4861b1['versions$']),[_0xae3df1,_0x4d5b69]=O['useState'](!0x1),_0x27f266=Ce(_0x3fe2b2);return _0x3fe2b2?d[_0x1783ce(0x33b)]('div',{'className':_0x1783ce(0x2fa),'children':d[_0x1783ce(0x31b)](_0x1783ce(0x181),{'className':_0x1783ce(0x24a),'children':[_0x27f266[_0x1783ce(0x327)]((_0x5b9c59,_0x4db8e1)=>d[_0x1783ce(0x31b)](O[_0x1783ce(0x377)],{'children':[d[_0x1783ce(0x33b)](it,{'date':_0x5b9c59[_0x1783ce(0x216)]}),_0x5b9c59[_0x1783ce(0x265)][_0x1783ce(0x327)]((_0x23aee6,_0x2cdd77)=>d[_0x1783ce(0x33b)](nt,{'index':[_0x4db8e1,_0x2cdd77],'item':_0x23aee6},_0x4db8e1+'-'+_0x2cdd77))]},_0x5b9c59[_0x1783ce(0x216)])),_0xae3df1&&d['jsx'](tt,{})]})}):d[_0x1783ce(0x33b)](st,{});}function tt(){const _0x593003=_0x4ddf80;return d['jsx'](_0x593003(0x181),{'className':_0x593003(0x1fa),'children':d[_0x593003(0x33b)](te,{'className':_0x593003(0x26b)})});}function st(){const _0x7bc1d4=_0x4ddf80;return d['jsx'](_0x7bc1d4(0x181),{'className':_0x7bc1d4(0x33d),'children':d['jsx']('span',{'className':_0x7bc1d4(0x294),'children':d[_0x7bc1d4(0x33b)](te,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function it(_0x549c2d){const _0x271eb4=_0x4ddf80,_0x16e37b=E['useDependency'](c['LocaleService']),{date:_0x5b43fa}=_0x549c2d;return d['jsx']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':Q(_0x5b43fa,_0x16e37b[_0x271eb4(0x39f)]())});}function nt(_0x54b0a3){const _0x158771=_0x4ddf80,{item:_0x339237,index:_0x3c1d2a}=_0x54b0a3,{time:_0x3d911f,user:_0x33ece7}=_0x339237,[_0x23e642,_0x1029f2]=_0x3c1d2a,_0xa755b2=E['useDependency'](exports['HistoryManagerService']),_0x4f3da7=E[_0x158771(0x2da)](_0xa755b2[_0x158771(0x33e)],'',!0x0)===_0x339237['id'],_0x540ec0=_0x23e642===0x0&&_0x1029f2===0x0,_0x519d94=!_0x540ec0&&_0xa755b2[_0x158771(0x29b)],_0x457569=E[_0x158771(0x282)](c[_0x158771(0x1e9)]),_0x6be276=_0x457569[_0x158771(0x39f)](),_0x1b2fdf=ee(_0x3d911f,_0x6be276),_0x3eefc3=_0x457569['t']('editHistory.panel.currentVersion'),_0x469e05=O[_0x158771(0x315)](_0x16daeb=>{const _0x6e8bdf=_0x158771;_0xa755b2[_0x6e8bdf(0x26a)]!==w[_0x6e8bdf(0x26c)]&&(_0xa755b2['currentVersion']=_0x16daeb);},[_0xa755b2]),_0x15f634=O[_0x158771(0x315)](_0x2c06a2=>{const _0x3e951b=_0x158771;_0xa755b2[_0x3e951b(0x341)](_0x2c06a2);},[_0xa755b2]);return d['jsxs'](_0x158771(0x181),{'className':P[_0x158771(0x242)](_0x158771(0x34d),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x4f3da7}),'onClick':()=>_0x469e05(_0x339237['id']),'children':[d['jsxs'](_0x158771(0x181),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[d[_0x158771(0x31b)](_0x158771(0x181),{'className':_0x158771(0x1a6),'children':[d[_0x158771(0x33b)](_0x158771(0x185),{'children':_0x1b2fdf[_0x158771(0x35c)]}),_0x540ec0&&d[_0x158771(0x33b)](_0x158771(0x185),{'className':_0x158771(0x2d9),'children':_0x3eefc3})]}),d[_0x158771(0x33b)]('div',{'children':_0x519d94&&d[_0x158771(0x33b)](P[_0x158771(0x375)],{'title':_0x457569['t'](_0x158771(0x274)),'children':d[_0x158771(0x33b)](_0x158771(0x181),{'onClick':_0x9cb466=>{const _0x5f4f42=_0x158771;_0x9cb466[_0x5f4f42(0x24e)](),_0x15f634(_0x339237['id']);},'className':_0x158771(0x25e),'children':d[_0x158771(0x33b)](Ie,{})})})})]}),d['jsx'](_0x158771(0x181),{'className':_0x158771(0x2a6),'children':ye(_0x339237,_0x457569)})]});}var rt=Object[_0x4ddf80(0x364)],at=(_0x26d0ee,_0x3353d4,_0x412e4b,_0x22e1c0)=>{const _0x390235=_0x4ddf80;for(var _0x376057=_0x22e1c0>0x1?void 0x0:_0x22e1c0?rt(_0x3353d4,_0x412e4b):_0x3353d4,_0x225c24=_0x26d0ee[_0x390235(0x348)]-0x1,_0x2cb153;_0x225c24>=0x0;_0x225c24--)(_0x2cb153=_0x26d0ee[_0x225c24])&&(_0x376057=_0x2cb153(_0x376057)||_0x376057);return _0x376057;},U=(_0x203e37,_0x262195)=>(_0x228435,_0x78cefc)=>_0x262195(_0x228435,_0x78cefc,_0x203e37);const oe=_0x4ddf80(0x18b);let B=class extends c[_0x4ddf80(0x322)]{constructor(_0x1692d9,_0x12f7cf,_0x21d1ca,_0x58989c,_0x353293){const _0xad7c94=_0x4ddf80;super(),u(this,_0xad7c94(0x392),null),(this[_0xad7c94(0x31e)]=_0x1692d9,this[_0xad7c94(0x249)]=_0x12f7cf,this['_localeService']=_0x21d1ca,this[_0xad7c94(0x243)]=_0x58989c,this[_0xad7c94(0x306)]=_0x353293,this[_0xad7c94(0x326)]());}[_0x4ddf80(0x326)](){const _0x42e560=_0x4ddf80;this['_initPanel'](),this[_0x42e560(0x2d6)]();}[_0x4ddf80(0x2d6)](){const _0x75061f=_0x4ddf80;var _0x1c4aa4;if(this['_sidebarDisposable'])return;const _0x506483=((_0x1c4aa4=this[_0x75061f(0x306)][_0x75061f(0x19e)](J))==null?void 0x0:_0x1c4aa4[_0x75061f(0x24d)])||oe,_0x2d29e6={'header':{'title':this[_0x75061f(0x246)]['t'](_0x75061f(0x380))},'children':{'label':_0x506483},'onClose':()=>{const _0x5de76e=_0x75061f;this[_0x5de76e(0x392)]=null,this[_0x5de76e(0x243)][_0x5de76e(0x21a)]=Y[_0x5de76e(0x360)];}};this[_0x75061f(0x392)]=this['_sidebarService']['open']({..._0x2d29e6});}[_0x4ddf80(0x19f)](){const _0x2ad96f=_0x4ddf80;this['disposeWithMe'](this['_componentManager']['register'](oe,et)),this[_0x2ad96f(0x307)](this[_0x2ad96f(0x31e)]['scrollEvent$'][_0x2ad96f(0x2a1)](p[_0x2ad96f(0x175)](0x64))[_0x2ad96f(0x1d0)](_0x442ef3=>{const _0x1b65e6=_0x2ad96f,{target:_0x22c513}=_0x442ef3||{};if(_0x22c513){const {scrollTop:_0x8d33db,scrollHeight:_0x39c5e7,clientHeight:_0x5debb6}=_0x22c513;_0x8d33db+_0x5debb6>=_0x39c5e7-0x5&&this[_0x1b65e6(0x243)][_0x1b65e6(0x3a4)]();}}));}};B=at([U(0x0,E[_0x4ddf80(0x370)]),U(0x1,c['Inject'](E[_0x4ddf80(0x208)])),U(0x2,c[_0x4ddf80(0x379)](c['LocaleService'])),U(0x3,c[_0x4ddf80(0x379)](exports['HistoryManagerService'])),U(0x4,c[_0x4ddf80(0x171)])],B);class ot extends c[_0x4ddf80(0x322)]{constructor(){const _0x10d795=_0x4ddf80;super(),u(this,_0x10d795(0x226),new p[(_0x10d795(0x29c))]());}[_0x4ddf80(0x193)](){const _0xd29da0=_0x4ddf80;return c[_0xd29da0(0x1ac)](()=>{});}[_0x4ddf80(0x1ea)](){}[_0x4ddf80(0x1bc)](_0x1d065e){}[_0x4ddf80(0x285)](){const _0x44d48b=_0x4ddf80;return this['_dialogOptions$'][_0x44d48b(0x328)]();}}var ct=Object[_0x4ddf80(0x1b4)],lt=Object[_0x4ddf80(0x364)],_t=(_0x356afe,_0x4cbfc9,_0x559a0e)=>_0x4cbfc9 in _0x356afe?ct(_0x356afe,_0x4cbfc9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x559a0e}):_0x356afe[_0x4cbfc9]=_0x559a0e,ut=(_0x41db9b,_0x31ee43,_0x4a9747,_0x2d5915)=>{const _0x295889=_0x4ddf80;for(var _0x5ba55a=_0x2d5915>0x1?void 0x0:_0x2d5915?lt(_0x31ee43,_0x4a9747):_0x31ee43,_0x35bdad=_0x41db9b[_0x295889(0x348)]-0x1,_0x1a3264;_0x35bdad>=0x0;_0x35bdad--)(_0x1a3264=_0x41db9b[_0x35bdad])&&(_0x5ba55a=_0x1a3264(_0x5ba55a)||_0x5ba55a);return _0x5ba55a;},q=(_0x309c98,_0x1d0e05)=>(_0x733103,_0x267f51)=>_0x1d0e05(_0x733103,_0x267f51,_0x309c98),ht=(_0x3b9d15,_0x328dd3,_0x5680b5)=>_t(_0x3b9d15,_0x328dd3+'',_0x5680b5);const It='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';exports[_0x4ddf80(0x1ec)]=class extends c[_0x4ddf80(0x206)]{constructor(_0x4fa4a0=re,_0x226435,_0x18f053,_0x12ee56){const _0x48af58=_0x4ddf80;super(),this[_0x48af58(0x35a)]=_0x4fa4a0,this[_0x48af58(0x3a1)]=_0x226435,this[_0x48af58(0x194)]=_0x18f053,this['_configService']=_0x12ee56;const {..._0x7b014c}=c[_0x48af58(0x32a)]({},re,this[_0x48af58(0x35a)]);this[_0x48af58(0x306)]['setConfig'](J,_0x7b014c);}[_0x4ddf80(0x1ae)](){const _0x5df152=_0x4ddf80;[[exports['HistoryManagerService']],[F],[x],[j],[B],[H],[R['ISnapshotServerService'],{'useClass':ne['SnapshotServerOverHTTPService']}],[E[_0x5df152(0x2d5)],{'useClass':ot}],[Ne[_0x5df152(0x2d4)],{'useClass':ne['CollaborationImageIoService']}]][_0x5df152(0x1ca)](_0x1ce75a=>this['_injector'][_0x5df152(0x384)](_0x1ce75a)),this['_injector'][_0x5df152(0x376)](F);}[_0x4ddf80(0x1a5)](){const _0x16e282=_0x4ddf80;[[z]]['forEach'](_0x372cc0=>{const _0x484696=_0x551c;this[_0x484696(0x307)](this['_renderManagerService'][_0x484696(0x31d)](c['UniverInstanceType'][_0x484696(0x39e)],_0x372cc0));}),this[_0x16e282(0x3a1)][_0x16e282(0x376)](H),this[_0x16e282(0x3a1)][_0x16e282(0x376)](B);}['onSteady'](){const _0x5c64c2=_0x4ddf80;this[_0x5c64c2(0x3a1)]['get'](x);}},ht(exports[_0x4ddf80(0x1ec)],_0x4ddf80(0x1f1),It),exports['UniverEditHistoryViewerPlugin']=ut([c[_0x4ddf80(0x271)](C['UniverSheetsUIPlugin'],ce[_0x4ddf80(0x239)]),q(0x1,c[_0x4ddf80(0x379)](c[_0x4ddf80(0x313)])),q(0x2,$[_0x4ddf80(0x29f)]),q(0x3,c[_0x4ddf80(0x171)])],exports[_0x4ddf80(0x1ec)]),exports[_0x4ddf80(0x252)]=Y,exports[_0x4ddf80(0x1e1)]=_e;
|
|
1
|
+
'use strict';const _0x36a310=_0x2224;(function(_0x308945,_0x3986c9){const _0x1d7343=_0x2224,_0x1157bd=_0x308945();while(!![]){try{const _0x2cf677=parseInt(_0x1d7343(0x21f))/0x1*(parseInt(_0x1d7343(0x1fb))/0x2)+-parseInt(_0x1d7343(0x270))/0x3+-parseInt(_0x1d7343(0x1de))/0x4*(parseInt(_0x1d7343(0x3c2))/0x5)+-parseInt(_0x1d7343(0x31a))/0x6+parseInt(_0x1d7343(0x1ee))/0x7+-parseInt(_0x1d7343(0x37e))/0x8*(parseInt(_0x1d7343(0x292))/0x9)+parseInt(_0x1d7343(0x27c))/0xa*(parseInt(_0x1d7343(0x2bb))/0xb);if(_0x2cf677===_0x3986c9)break;else _0x1157bd['push'](_0x1157bd['shift']());}catch(_0x373f3e){_0x1157bd['push'](_0x1157bd['shift']());}}}(_0x4b69,0x29775));var me=Object[_0x36a310(0x210)],pe=(_0x15b04d,_0x279c50,_0x2e4951)=>_0x279c50 in _0x15b04d?me(_0x15b04d,_0x279c50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e4951}):_0x15b04d[_0x279c50]=_0x2e4951,u=(_0x156975,_0x481949,_0x1aa8b0)=>pe(_0x156975,typeof _0x481949!='symbol'?_0x481949+'':_0x481949,_0x1aa8b0);Object[_0x36a310(0x210)](exports,Symbol['toStringTag'],{'value':_0x36a310(0x3ae)});const R=require('@univerjs-pro/collaboration'),ne=require('@univerjs-pro/collaboration-client'),c=require('@univerjs/core'),Ne=require('@univerjs/drawing'),$=require('@univerjs/engine-render'),ce=require('@univerjs/network'),C=require('@univerjs/sheets-ui'),E=require('@univerjs/ui'),P=require('@univerjs/design'),h=require('@univerjs/sheets'),p=require('rxjs'),Oe=require('@univerjs-pro/sheets-chart'),Re=require('@univerjs-pro/sheets-sparkline'),Z=require('@univerjs/data-validation'),K=require('@univerjs/sheets-conditional-formatting'),le=require('@univerjs/sheets-filter'),d=require('react/jsx-runtime'),O=require('react'),Me=require('@univerjs-pro/collaboration-client-ui'),J='edit-history-viewer.config',re={};var Te=Object[_0x36a310(0x21d)],De=(_0x183c21,_0x27b1e1,_0x199bd3,_0x543065)=>{const _0x599589=_0x36a310;for(var _0x4d683c=_0x543065>0x1?void 0x0:_0x543065?Te(_0x27b1e1,_0x199bd3):_0x27b1e1,_0x44f8a8=_0x183c21[_0x599589(0x334)]-0x1,_0x10e9f5;_0x44f8a8>=0x0;_0x44f8a8--)(_0x10e9f5=_0x183c21[_0x44f8a8])&&(_0x4d683c=_0x10e9f5(_0x4d683c)||_0x4d683c);return _0x4d683c;},be=(_0x5a787e,_0x44d77d)=>(_0x1c3c07,_0x2b270d)=>_0x44d77d(_0x1c3c07,_0x2b270d,_0x5a787e);let H=class extends c[_0x36a310(0x212)]{constructor(_0x1eeacf){const _0x14cb01=_0x36a310;super(),this[_0x14cb01(0x2a0)]=_0x1eeacf,this[_0x14cb01(0x295)]();}[_0x36a310(0x295)](){const _0xf2080d=_0x36a310;this[_0xf2080d(0x3a6)](this['_cellEditorManagerService']['state$'][_0xf2080d(0x3e6)](_0x5942a1=>{const _0x30f3e0=_0xf2080d;_0x5942a1!=null&&_0x5942a1[_0x30f3e0(0x26a)]&&this['_cellEditorManagerService'][_0x30f3e0(0x30e)]({'show':!0x1});}));}};H=De([be(0x0,C[_0x36a310(0x386)])],H);var V=(_0x13d9d6=>(_0x13d9d6[_0x13d9d6[_0x36a310(0x2c5)]=0x0]=_0x36a310(0x2c5),_0x13d9d6[_0x13d9d6['OK']=0x1]='OK',_0x13d9d6[_0x13d9d6[_0x36a310(0x284)]=0x2]='INTERNAL_ERROR',_0x13d9d6[_0x13d9d6[_0x36a310(0x252)]=0x3]='PERMISSION_DENIED',_0x13d9d6[_0x13d9d6[_0x36a310(0x2b5)]=0x4]=_0x36a310(0x2b5),_0x13d9d6[_0x13d9d6[_0x36a310(0x307)]=0x5]=_0x36a310(0x307),_0x13d9d6[_0x13d9d6[_0x36a310(0x385)]=0x6]=_0x36a310(0x385),_0x13d9d6[_0x13d9d6[_0x36a310(0x3bd)]=0x7]=_0x36a310(0x3bd),_0x13d9d6[_0x13d9d6['TOO_MANY_REQUESTS']=0x8]=_0x36a310(0x324),_0x13d9d6[_0x13d9d6[_0x36a310(0x220)]=0x9]=_0x36a310(0x220),_0x13d9d6[_0x13d9d6[_0x36a310(0x3c6)]=0xa]='LOGIN_FAILED',_0x13d9d6[_0x13d9d6[_0x36a310(0x371)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x13d9d6[_0x13d9d6[_0x36a310(0x2ae)]=0xc]=_0x36a310(0x2ae),_0x13d9d6[_0x13d9d6[_0x36a310(0x358)]=0xd]=_0x36a310(0x358),_0x13d9d6[_0x13d9d6[_0x36a310(0x1e5)]=0xe]=_0x36a310(0x1e5),_0x13d9d6[_0x13d9d6[_0x36a310(0x2bf)]=0xf]=_0x36a310(0x2bf),_0x13d9d6[_0x13d9d6[_0x36a310(0x303)]=0x10]=_0x36a310(0x303),_0x13d9d6[_0x13d9d6[_0x36a310(0x34a)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x13d9d6[_0x13d9d6[_0x36a310(0x32c)]=0x65]=_0x36a310(0x32c),_0x13d9d6[_0x13d9d6[_0x36a310(0x370)]=0xc9]='USER_NOT_FOUND',_0x13d9d6[_0x13d9d6['USER_IS_ANONYMOUS']=0xca]=_0x36a310(0x32a),_0x13d9d6[_0x13d9d6[_0x36a310(0x3b3)]=0x1389]=_0x36a310(0x3b3),_0x13d9d6[_0x13d9d6[_0x36a310(0x2b1)]=0x1771]=_0x36a310(0x2b1),_0x13d9d6[_0x13d9d6[_0x36a310(0x2f8)]=0x1772]=_0x36a310(0x2f8),_0x13d9d6[_0x13d9d6[_0x36a310(0x3e4)]=0x1773]=_0x36a310(0x3e4),_0x13d9d6[_0x13d9d6[_0x36a310(0x265)]=0x1b59]=_0x36a310(0x265),_0x13d9d6[_0x13d9d6[_0x36a310(0x2d8)]=0x1b5a]=_0x36a310(0x2d8),_0x13d9d6[_0x13d9d6['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x13d9d6[_0x13d9d6[_0x36a310(0x1ec)]=0x1b5c]=_0x36a310(0x1ec),_0x13d9d6[_0x13d9d6[_0x36a310(0x3ea)]=0x1b5d]=_0x36a310(0x3ea),_0x13d9d6[_0x13d9d6[_0x36a310(0x3d1)]=0x1f41]=_0x36a310(0x3d1),_0x13d9d6[_0x13d9d6[_0x36a310(0x22e)]=0x2329]=_0x36a310(0x22e),_0x13d9d6[_0x13d9d6[_0x36a310(0x274)]=0x232a]=_0x36a310(0x274),_0x13d9d6[_0x13d9d6[_0x36a310(0x34e)]=0x232b]=_0x36a310(0x34e),_0x13d9d6[_0x13d9d6[_0x36a310(0x1d7)]=0x232c]=_0x36a310(0x1d7),_0x13d9d6[_0x13d9d6[_0x36a310(0x28b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x13d9d6[_0x13d9d6[_0x36a310(0x26b)]=0x2711]=_0x36a310(0x26b),_0x13d9d6[_0x13d9d6[_0x36a310(0x348)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13d9d6[_0x13d9d6['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x13d9d6[_0x13d9d6[_0x36a310(0x2f3)]=0x2714]=_0x36a310(0x2f3),_0x13d9d6[_0x13d9d6[_0x36a310(0x1c6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x13d9d6[_0x13d9d6['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x36a310(0x3ac),_0x13d9d6[_0x13d9d6[_0x36a310(0x1dd)]=0x271c]=_0x36a310(0x1dd),_0x13d9d6[_0x13d9d6['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x13d9d6[_0x13d9d6[_0x36a310(0x329)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x13d9d6[_0x13d9d6[_0x36a310(0x392)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x13d9d6[_0x13d9d6[_0x36a310(0x34f)]=0x2720]=_0x36a310(0x34f),_0x13d9d6[_0x13d9d6[_0x36a310(0x327)]=0x2af9]=_0x36a310(0x327),_0x13d9d6[_0x13d9d6[_0x36a310(0x243)]=0x2ee1]=_0x36a310(0x243),_0x13d9d6[_0x13d9d6['INVALID_INVITE_CODE']=0x2ee2]=_0x36a310(0x25b),_0x13d9d6[_0x13d9d6[_0x36a310(0x1dc)]=0x2ee3]=_0x36a310(0x1dc),_0x13d9d6[_0x13d9d6[_0x36a310(0x247)]=0x2ee4]=_0x36a310(0x247),_0x13d9d6[_0x13d9d6[_0x36a310(0x1c5)]=0x2ee5]=_0x36a310(0x1c5),_0x13d9d6[_0x13d9d6[_0x36a310(0x1d2)]=0x32c9]=_0x36a310(0x1d2),_0x13d9d6[_0x13d9d6[_0x36a310(0x2a4)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x13d9d6[_0x13d9d6[_0x36a310(0x33c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x13d9d6[_0x13d9d6[_0x36a310(0x3e5)]=0x36b1]=_0x36a310(0x3e5),_0x13d9d6[_0x13d9d6[_0x36a310(0x1d0)]=0x36b2]=_0x36a310(0x1d0),_0x13d9d6[_0x13d9d6['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x13d9d6[_0x13d9d6[_0x36a310(0x259)]=0x36b4]=_0x36a310(0x259),_0x13d9d6[_0x13d9d6['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x36a310(0x26f),_0x13d9d6[_0x13d9d6[_0x36a310(0x323)]=0x36b6]=_0x36a310(0x323),_0x13d9d6[_0x13d9d6[_0x36a310(0x32f)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x13d9d6[_0x13d9d6[_0x36a310(0x29d)]=0x36b8]=_0x36a310(0x29d),_0x13d9d6[_0x13d9d6['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x36a310(0x29e),_0x13d9d6[_0x13d9d6[_0x36a310(0x3dc)]=0x3716]=_0x36a310(0x3dc),_0x13d9d6[_0x13d9d6[_0x36a310(0x23f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x13d9d6[_0x13d9d6[_0x36a310(0x304)]=0x37dd]=_0x36a310(0x304),_0x13d9d6[_0x13d9d6[_0x36a310(0x24e)]=0x3a99]=_0x36a310(0x24e),_0x13d9d6[_0x13d9d6[_0x36a310(0x383)]=0x3a9a]=_0x36a310(0x383),_0x13d9d6[_0x13d9d6[_0x36a310(0x297)]=0x3a9b]=_0x36a310(0x297),_0x13d9d6[_0x13d9d6['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x36a310(0x3d6),_0x13d9d6[_0x13d9d6[_0x36a310(0x263)]=0x3a9d]=_0x36a310(0x263),_0x13d9d6[_0x13d9d6[_0x36a310(0x39f)]=0x3a9e]=_0x36a310(0x39f),_0x13d9d6[_0x13d9d6['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x36a310(0x1ff),_0x13d9d6[_0x13d9d6['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x36a310(0x30a),_0x13d9d6[_0x13d9d6[_0x36a310(0x20d)]=-0x1]='UNRECOGNIZED',_0x13d9d6))(V||{}),A=(_0x1bdd5b=>(_0x1bdd5b[_0x1bdd5b[_0x36a310(0x2cb)]=0x0]='UNIVER_UNKNOWN',_0x1bdd5b[_0x1bdd5b[_0x36a310(0x35b)]=0x1]=_0x36a310(0x35b),_0x1bdd5b[_0x1bdd5b[_0x36a310(0x23b)]=0x2]='UNIVER_SHEET',_0x1bdd5b[_0x1bdd5b['UNIVER_SLIDE']=0x3]=_0x36a310(0x1ca),_0x1bdd5b[_0x1bdd5b['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1bdd5b[_0x1bdd5b[_0x36a310(0x20d)]=-0x1]=_0x36a310(0x20d),_0x1bdd5b))(A||{}),b=(_0xf8ae4b=>(_0xf8ae4b[_0xf8ae4b['View']=0x0]=_0x36a310(0x232),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x226)]=0x1]=_0x36a310(0x226),_0xf8ae4b[_0xf8ae4b['ManageCollaborator']=0x2]='ManageCollaborator',_0xf8ae4b[_0xf8ae4b['Print']=0x3]=_0x36a310(0x3ba),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x3c4)]=0x4]='Duplicate',_0xf8ae4b[_0xf8ae4b['Comment']=0x5]=_0x36a310(0x25d),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x331)]=0x6]='Copy',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2b4)]=0x7]=_0x36a310(0x2b4),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x390)]=0x8]='Export',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x282)]=0x9]=_0x36a310(0x282),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x316)]=0xa]=_0x36a310(0x316),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x3eb)]=0xb]='HideWorksheet',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x3aa)]=0xc]=_0x36a310(0x3aa),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2f2)]=0xd]=_0x36a310(0x2f2),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2ee)]=0xe]=_0x36a310(0x2ee),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x32d)]=0xf]=_0x36a310(0x32d),_0xf8ae4b[_0xf8ae4b['InsertHyperlink']=0x10]=_0x36a310(0x30b),_0xf8ae4b[_0xf8ae4b['Sort']=0x11]=_0x36a310(0x2a6),_0xf8ae4b[_0xf8ae4b['Filter']=0x12]=_0x36a310(0x36e),_0xf8ae4b[_0xf8ae4b['PivotTable']=0x13]='PivotTable',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x32e)]=0x14]='FloatImg',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x227)]=0x15]=_0x36a310(0x227),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x241)]=0x16]=_0x36a310(0x241),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x3a2)]=0x17]=_0x36a310(0x3a2),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x36d)]=0x18]=_0x36a310(0x36d),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x361)]=0x19]=_0x36a310(0x361),_0xf8ae4b[_0xf8ae4b['DeleteSheet']=0x1a]='DeleteSheet',_0xf8ae4b[_0xf8ae4b['HideSheet']=0x1b]=_0x36a310(0x1f7),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x275)]=0x1c]=_0x36a310(0x275),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x240)]=0x1d]='RenameSheet',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x347)]=0x1e]=_0x36a310(0x347),_0xf8ae4b[_0xf8ae4b['SelectProtectedCells']=0x1f]=_0x36a310(0x1c9),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2dc)]=0x20]=_0x36a310(0x2dc),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2c7)]=0x21]=_0x36a310(0x2c7),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x1c4)]=0x22]=_0x36a310(0x1c4),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x2b2)]=0x23]=_0x36a310(0x2b2),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x39e)]=0x24]=_0x36a310(0x39e),_0xf8ae4b[_0xf8ae4b['InsertRow']=0x25]=_0x36a310(0x3b7),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x38d)]=0x26]='InsertColumn',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x372)]=0x27]='DeleteRow',_0xf8ae4b[_0xf8ae4b[_0x36a310(0x289)]=0x28]=_0x36a310(0x289),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x30c)]=0x29]='EditExtraObject',_0xf8ae4b[_0xf8ae4b['Delete']=0x2a]=_0x36a310(0x313),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x27d)]=0x2b]=_0x36a310(0x27d),_0xf8ae4b[_0xf8ae4b['ViewHistory']=0x2c]=_0x36a310(0x3e1),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x388)]=0x2d]=_0x36a310(0x388),_0xf8ae4b[_0xf8ae4b[_0x36a310(0x20d)]=-0x1]='UNRECOGNIZED',_0xf8ae4b))(b||{});function Pe(_0x5446f3){const _0x3b5c4f=_0x36a310;return!!(_0x5446f3&&_0x5446f3['code']&&_0x5446f3[_0x3b5c4f(0x28f)]!==V['OK']&&_0x5446f3['code']!=='OK');}const ee=(_0x506e85,_0x22bdf4)=>{const _0x532892=_0x36a310;if(!_0x506e85)return{'date':'','time':''};const _0x557073=new Date(_0x506e85),_0x6806f0=_0x557073[_0x532892(0x2ea)]()[_0x532892(0x354)]('T')[0x0];return _0x22bdf4===c[_0x532892(0x203)][_0x532892(0x395)]?{'date':Q(_0x6806f0,_0x22bdf4),'time':_0x557073[_0x532892(0x291)]()+':'+String(_0x557073[_0x532892(0x2e1)]())[_0x532892(0x2a8)](0x2,'0')+':'+String(_0x557073[_0x532892(0x335)]())['padStart'](0x2,'0')}:{'date':Q(_0x6806f0,_0x22bdf4),'time':_0x557073[_0x532892(0x291)]()+':'+_0x557073[_0x532892(0x2e1)]()+':'+_0x557073[_0x532892(0x335)]()};},ye=(_0x4a5e22,_0x17b94b)=>{const _0x4995d6=_0x36a310,_0xe54c5f=_0x4a5e22[_0x4995d6(0x2c1)]||_0x17b94b['t'](_0x4995d6(0x23c));if(_0x4a5e22[_0x4995d6(0x309)][_0x4995d6(0x31c)](_0x1ad519=>_0x1ad519===R[_0x4995d6(0x1f8)]['id'])&&_0x4a5e22[_0x4995d6(0x2f6)]){const _0x490f48=ee(_0x4a5e22['recoverTime'],_0x17b94b['getCurrentLocale']()),_0x768002=_0x490f48[_0x4995d6(0x363)]+'\x20'+_0x490f48[_0x4995d6(0x2d0)];return _0xe54c5f+'\x20'+_0x17b94b['t'](_0x4995d6(0x251))+'\x20'+_0x768002+'\x20'+_0x17b94b['t'](_0x4995d6(0x255));}const _0x5e61ea=Le(_0x4a5e22),_0xad3947=_0x5e61ea[_0x4995d6(0x334)]===0x1?_0x17b94b['t'](_0x5e61ea[0x0]):''+_0x17b94b['t'](_0x5e61ea[0x0])+_0x17b94b['t'](_0x4995d6(0x248));return _0xe54c5f+'\x20'+_0xad3947;};function Le(_0x24c96f){const _0x1cd24c=_0x36a310;if(_0x24c96f['commands'][_0x1cd24c(0x334)]===0x0)return[''];const _0x2d14d3=_0x1cd24c(0x290),_0x2222ed=_0x2d14d3+'editSheet',_0x15b0e2=[{'id':R[_0x1cd24c(0x365)]['id'],'action':_0x2d14d3+_0x1cd24c(0x2e0)},{'id':R[_0x1cd24c(0x1f8)]['id'],'action':_0x2d14d3+_0x1cd24c(0x3e2)},{'id':h['InsertSheetMutation']['id'],'action':_0x2d14d3+_0x1cd24c(0x206)},{'id':h[_0x1cd24c(0x39b)]['id'],'action':_0x2d14d3+_0x1cd24c(0x253)},{'id':h[_0x1cd24c(0x2ec)]['id'],'action':_0x2d14d3+_0x1cd24c(0x362)},{'id':le[_0x1cd24c(0x339)]['id'],'action':_0x2d14d3+_0x1cd24c(0x2aa)},{'id':Z[_0x1cd24c(0x1ce)]['id'],'action':_0x2d14d3+_0x1cd24c(0x301)},{'id':Z['UpdateDataValidationMutation']['id'],'action':_0x2d14d3+_0x1cd24c(0x301)},{'id':K[_0x1cd24c(0x2ef)]['id'],'action':_0x2d14d3+_0x1cd24c(0x237)},{'id':K[_0x1cd24c(0x1e3)]['id'],'action':_0x2d14d3+_0x1cd24c(0x237)},{'id':h[_0x1cd24c(0x326)]['id'],'action':_0x2d14d3+_0x1cd24c(0x3e8)},{'id':h['AddRangeProtectionMutation']['id'],'action':_0x2d14d3+_0x1cd24c(0x3e8)},{'id':Re[_0x1cd24c(0x2d5)]['id'],'action':_0x2d14d3+_0x1cd24c(0x3c0)},{'id':Oe['InsertSheetsChartMutation']['id'],'action':_0x2d14d3+_0x1cd24c(0x1f3)},{'id':h[_0x1cd24c(0x1e6)]['id'],'action':_0x2d14d3+_0x1cd24c(0x2f5)},{'id':h['DeleteWorksheetProtectionMutation']['id'],'action':_0x2d14d3+_0x1cd24c(0x2f5)}][_0x1cd24c(0x28a)](_0x2d0fdb=>_0x24c96f[_0x1cd24c(0x309)][_0x1cd24c(0x25a)](_0x2d0fdb['id']));return _0x15b0e2!=null&&_0x15b0e2[_0x1cd24c(0x334)]?_0x15b0e2['map'](_0x13466f=>_0x13466f['action']):[_0x2222ed];}function Q(_0x1b0ad3,_0x2c70cb){const _0x1fd093=_0x36a310,[_0x2a28c6,_0x40bb7f,_0x402795]=new Date()[_0x1fd093(0x2ea)]()[_0x1fd093(0x354)]('T')[0x0]['split']('-'),[_0x59e504,_0x595aad,_0x5a63c9]=_0x1b0ad3[_0x1fd093(0x354)]('-'),_0x1f735f=_0x2a28c6===_0x59e504&&_0x40bb7f===_0x595aad&&_0x402795===_0x5a63c9;let _0x2828d2='',_0x4cd1be='',_0x3bb151='';return _0x2c70cb===c[_0x1fd093(0x203)][_0x1fd093(0x395)]?_0x1f735f?'今天':(_0x2828d2=_0x2a28c6===_0x59e504?'':_0x59e504+'年',_0x4cd1be=_0x595aad+'月',_0x3bb151=_0x5a63c9+'日',''+_0x2828d2+_0x4cd1be+_0x3bb151):_0x1f735f?'Today':(_0x2828d2=_0x2a28c6===_0x59e504?'':_0x59e504+'-',_0x4cd1be=_0x595aad+'-',_0x3bb151=''+_0x5a63c9,''+_0x2828d2+_0x4cd1be+_0x3bb151);}function Ce(_0x58ce90){const _0x587ca3=_0x36a310;return _0x58ce90?_0x58ce90[_0x587ca3(0x2b8)]((_0xda4e52,_0x2e9bcc)=>{const _0x55b6b8=_0x587ca3,_0x67adbc=new Date(_0x2e9bcc[_0x55b6b8(0x2d0)])['toISOString']()[_0x55b6b8(0x354)]('T')[0x0];return _0xda4e52[_0x55b6b8(0x334)]>0x0&&_0xda4e52[_0xda4e52['length']-0x1][_0x55b6b8(0x3d0)]===_0x67adbc?_0xda4e52[_0xda4e52[_0x55b6b8(0x334)]-0x1]['versions'][_0x55b6b8(0x3a0)](_0x2e9bcc):_0xda4e52[_0x55b6b8(0x3a0)]({'dateString':_0x67adbc,'versions':[_0x2e9bcc]}),_0xda4e52;},[]):[];}var we=Object['getOwnPropertyDescriptor'],Ue=(_0x537104,_0x4be949,_0x42644e,_0x24ae08)=>{const _0x482adb=_0x36a310;for(var _0x3ce104=_0x24ae08>0x1?void 0x0:_0x24ae08?we(_0x4be949,_0x42644e):_0x4be949,_0x4b7011=_0x537104[_0x482adb(0x334)]-0x1,_0x3870fd;_0x4b7011>=0x0;_0x4b7011--)(_0x3870fd=_0x537104[_0x4b7011])&&(_0x3ce104=_0x3870fd(_0x3ce104)||_0x3ce104);return _0x3ce104;},D=(_0x1e3027,_0x4a2ff5)=>(_0x110d52,_0x501b0f)=>_0x4a2ff5(_0x110d52,_0x501b0f,_0x1e3027),_e=(_0x1284e9=>(_0x1284e9[_0x1284e9[_0x36a310(0x314)]=0x0]='Unspecified',_0x1284e9[_0x1284e9[_0x36a310(0x380)]=0x1]=_0x36a310(0x380),_0x1284e9[_0x1284e9[_0x36a310(0x22b)]=0x2]=_0x36a310(0x22b),_0x1284e9))(_e||{});const $e=_0x36a310(0x31d);let j=class extends c[_0x36a310(0x212)]{constructor(_0x5a0c15,_0x33903b,_0x1158ae,_0x3deebb,_0x1ba362,_0x56f3eb,_0x1e6228){const _0x4f5537=_0x36a310;super(),u(this,_0x4f5537(0x39c),new Map()),(this['_snapshotServerService']=_0x5a0c15,this[_0x4f5537(0x338)]=_0x33903b,this[_0x4f5537(0x360)]=_0x1158ae,this[_0x4f5537(0x2e6)]=_0x3deebb,this[_0x4f5537(0x3cd)]=_0x1ba362,this[_0x4f5537(0x29b)]=_0x56f3eb,this['_sheetPermissionInitController']=_0x1e6228);}[_0x36a310(0x25f)](){const _0x63ee59=_0x36a310;this[_0x63ee59(0x39c)]['clear'](),super[_0x63ee59(0x25f)]();}async['fetchCreatorList'](_0x24aae3){const _0x5c34b1=_0x36a310;try{const _0x2be00f=(await this['_httpService'][_0x5c34b1(0x2d1)](this[_0x5c34b1(0x20f)]()+'/'+_0x24aae3+_0x5c34b1(0x23e)))[_0x5c34b1(0x349)];if(_0x2be00f&&_0x2be00f[_0x5c34b1(0x211)]&&_0x2be00f[_0x5c34b1(0x211)][_0x5c34b1(0x28f)]===V['OK'])return _0x2be00f[_0x5c34b1(0x352)];}catch(_0x52eaab){console[_0x5c34b1(0x211)](_0x52eaab);}return[];}async[_0x36a310(0x2da)](_0x3e15b8,_0x2b3c13){const _0x3eda80=_0x36a310,{userIds:_0x2e2297,lastLabel:_0x578ccd,origin:_0x5ec95a}=_0x2b3c13!=null?_0x2b3c13:{},_0x4725f3=new URLSearchParams();_0x4725f3[_0x3eda80(0x24f)]('length','20'),_0x578ccd&&_0x4725f3[_0x3eda80(0x24f)]('lastLabel',_0x578ccd),_0x2e2297==null||_0x2e2297[_0x3eda80(0x3ca)](_0x190a41=>{const _0x2734fe=_0x3eda80;_0x4725f3[_0x2734fe(0x3cf)]('userIds',_0x190a41);}),_0x5ec95a&&_0x4725f3['set'](_0x3eda80(0x30d),_0x5ec95a[_0x3eda80(0x3b0)]());const _0x20af69=this[_0x3eda80(0x20f)]()+'/'+_0x3e15b8+_0x3eda80(0x28d)+_0x4725f3[_0x3eda80(0x3b0)]();try{const _0x2e662c=(await this[_0x3eda80(0x3cd)][_0x3eda80(0x2d1)](_0x20af69))[_0x3eda80(0x349)];if(_0x2e662c&&_0x2e662c[_0x3eda80(0x211)]&&_0x2e662c[_0x3eda80(0x211)][_0x3eda80(0x28f)]===V['OK']){const {hasMore:_0x309a6c,lastLabel:_0x485809}=_0x2e662c,_0x6c0aeb=Ve(_0x2e662c),_0xc0a116=_0x2e662c['entities'][_0x3eda80(0x2c6)];return{'hasMore':_0x309a6c,'lastLabel':_0x485809,'versions':_0x6c0aeb,'members':_0xc0a116};}}catch(_0x492cbe){console['error'](_0x492cbe);}return null;}[_0x36a310(0x20f)](){const _0x27fba3=_0x36a310;var _0x59f808;const _0x2ad431=this[_0x27fba3(0x2e6)][_0x27fba3(0x38c)](J);return(_0x59f808=_0x2ad431==null?void 0x0:_0x2ad431[_0x27fba3(0x266)])!=null?_0x59f808:$e;}async['loadSheet'](_0x22bfd9,_0x614c2a,_0x216eed){const _0xa21830=_0x36a310;var _0x2e5c27,_0x33db0e;_0x216eed===void 0x0&&(_0x216eed={}),this['_workbookDataCache'][_0xa21830(0x27b)](_0x22bfd9)||this[_0xa21830(0x39c)][_0xa21830(0x24f)](_0x22bfd9,new Map());const {snapshot:_0x26cee1,changesets:_0x4ee1c5,error:_0x1f865d}=await this['_snapshotServerService'][_0xa21830(0x2ba)](_0x216eed,{'unitID':_0x22bfd9,'type':A[_0xa21830(0x23b)],'revision':_0x614c2a});if(Pe(_0x1f865d)||!_0x26cee1||!_0x26cee1[_0xa21830(0x387)])throw new Error(_0xa21830(0x3d8));const _0x1b9b0d=(_0x2e5c27=_0x4ee1c5==null?void 0x0:_0x4ee1c5[_0xa21830(0x334)])!=null?_0x2e5c27:0x0;if(_0x614c2a!==0x0&&_0x26cee1['rev']+_0x1b9b0d!==_0x614c2a)throw new Error(_0xa21830(0x2bc));const {workbook:_0x162585}=_0x26cee1,_0x21be3a=_0x162585[_0xa21830(0x35a)]?Object['entries'](_0x162585[_0xa21830(0x35a)])[_0xa21830(0x2f1)](([_0x2a6837,_0x518a87])=>{const _0xe594af=_0xa21830;var _0x56fb8a,_0x4768af;return(_0x4768af=(_0x56fb8a=_0x518a87[_0xe594af(0x2fb)])==null?void 0x0:_0x56fb8a[_0xe594af(0x2f1)](_0x496c84=>_0x496c84))!=null?_0x4768af:[];})[_0xa21830(0x1fa)]():[],_0x43aed9=(await Promise['all'](_0x21be3a[_0xa21830(0x2f1)](_0x42fdee=>this[_0xa21830(0x379)][_0xa21830(0x2fc)](_0x216eed,{'unitID':_0x22bfd9,'type':A['UNIVER_SHEET'],'blockID':_0x42fdee})[_0xa21830(0x340)](_0x1f6e17=>_0x1f6e17[_0xa21830(0x207)]))))['filter'](_0x24f108=>!!_0x24f108),_0x2171b6=await R['transformSnapshotToWorkbookData'](_0x26cee1,_0x43aed9,_0x216eed);return(_0x33db0e=this[_0xa21830(0x39c)][_0xa21830(0x2d1)](_0x22bfd9))==null||_0x33db0e[_0xa21830(0x24f)](_0x614c2a,{'workbook':_0x2171b6}),new Promise(_0x2b870c=>{const _0x30e3b8=_0xa21830,_0x2fd129=this[_0x30e3b8(0x338)][_0x30e3b8(0x3bc)](c[_0x30e3b8(0x2df)][_0x30e3b8(0x23b)]);_0x2fd129?(this[_0x30e3b8(0x338)]['disposeUnit'](_0x2fd129[_0x30e3b8(0x3a7)]()),setTimeout(()=>{const _0x567192=_0x30e3b8;this[_0x567192(0x236)](_0x2171b6,_0x4ee1c5),this[_0x567192(0x1ea)][_0x567192(0x3de)](),_0x2b870c(!0x0);},0x0)):(this[_0x30e3b8(0x236)](_0x2171b6,_0x4ee1c5),_0x2b870c(!0x0));});}['_createUnit'](_0xe92d39,_0x5c6b6b){const _0x3d8028=_0x36a310,_0x56d8c2=this['_univerInstanceService'][_0x3d8028(0x2a3)](c[_0x3d8028(0x2df)]['UNIVER_SHEET'],_0xe92d39);this[_0x3d8028(0x338)]['focusUnit'](_0x56d8c2[_0x3d8028(0x3a7)]());const _0x5761bf=this[_0x3d8028(0x29b)]['interceptor'][_0x3d8028(0x2b0)](this['_compressMutationService']['interceptor'][_0x3d8028(0x1d8)]()[_0x3d8028(0x25e)]);return _0x5c6b6b==null||_0x5c6b6b['forEach'](_0x428797=>{const _0x5afaa0=_0x3d8028,_0x1471a9=_0x428797[_0x5afaa0(0x333)][_0x5afaa0(0x2f1)](_0x48c7c1=>({'id':_0x48c7c1['id'],'params':JSON['parse'](_0x48c7c1['data'])}));({..._0x428797,'mutations':_0x5761bf(_0x1471a9,null)||_0x1471a9}['mutations'][_0x5afaa0(0x3ca)](_0x177b0c=>{const _0x294374=_0x5afaa0;this[_0x294374(0x360)][_0x294374(0x37b)](_0x177b0c['id'])&&this[_0x294374(0x360)][_0x294374(0x3a5)](_0x177b0c['id'],_0x177b0c[_0x294374(0x2f7)]);}));}),_0x56d8c2;}};j=Ue([D(0x0,R[_0x36a310(0x1c7)]),D(0x1,c[_0x36a310(0x36f)]),D(0x2,c['ICommandService']),D(0x3,c[_0x36a310(0x1cd)]),D(0x4,c[_0x36a310(0x37f)](ce['HTTPService'])),D(0x5,c[_0x36a310(0x37f)](R[_0x36a310(0x3a3)])),D(0x6,c[_0x36a310(0x37f)](h['SheetPermissionInitController']))],j);function Ve(_0x38c238){const _0x1fa7f1=_0x36a310;var _0x9d9d74,_0x972b51;const _0x25a82d=[],{entities:_0x5c7d8c,historyIds:_0xfc2371}=_0x38c238,{datas:_0x4862a9,users:_0x41b279}=_0x5c7d8c;for(const _0x119487 of _0xfc2371){const _0x33c159=_0x4862a9[_0x119487];if(_0x33c159){const _0x3c638e=!!((_0x9d9d74=_0x41b279[_0x33c159[_0x1fa7f1(0x213)]])!=null&&_0x9d9d74[_0x1fa7f1(0x245)]);_0x25a82d[_0x1fa7f1(0x3a0)]({'unitId':_0x33c159[_0x1fa7f1(0x328)],'user':_0x3c638e?'':((_0x972b51=_0x41b279==null?void 0x0:_0x41b279[_0x33c159['userId']])==null?void 0x0:_0x972b51['name'])||'','isAnonymous':_0x3c638e,'id':_0x119487,'time':_0x33c159[_0x1fa7f1(0x280)]?Number(_0x33c159[_0x1fa7f1(0x280)]):void 0x0,'commands':_0x33c159[_0x1fa7f1(0x268)],'startRev':Number(_0x33c159['startRevision']),'endRev':Number(_0x33c159['endRevision']),'recoverTime':_0x33c159[_0x1fa7f1(0x2f6)]?Number(_0x33c159[_0x1fa7f1(0x2f6)]):void 0x0,'additionalFields':_0x33c159[_0x1fa7f1(0x244)]});}}return _0x25a82d;}var xe=Object[_0x36a310(0x21d)],ke=(_0x476342,_0x2bbd34,_0x532e8f,_0x14bb51)=>{const _0x1fac1f=_0x36a310;for(var _0x42adfa=_0x14bb51>0x1?void 0x0:_0x14bb51?xe(_0x2bbd34,_0x532e8f):_0x2bbd34,_0x1b914c=_0x476342[_0x1fac1f(0x334)]-0x1,_0x2cf2b1;_0x1b914c>=0x0;_0x1b914c--)(_0x2cf2b1=_0x476342[_0x1b914c])&&(_0x42adfa=_0x2cf2b1(_0x42adfa)||_0x42adfa);return _0x42adfa;},k=(_0x135c57,_0x273d8a)=>(_0x18ecf3,_0x4075e6)=>_0x273d8a(_0x18ecf3,_0x4075e6,_0x135c57),Y=(_0xd35fe7=>(_0xd35fe7[_0x36a310(0x221)]=_0x36a310(0x34c),_0xd35fe7[_0x36a310(0x32b)]=_0x36a310(0x3c8),_0xd35fe7[_0x36a310(0x38a)]=_0x36a310(0x211),_0xd35fe7))(Y||{}),w=(_0x1d1910=>(_0x1d1910['Init']='init',_0x1d1910[_0x36a310(0x3a9)]=_0x36a310(0x311),_0x1d1910[_0x36a310(0x2ca)]=_0x36a310(0x1f5),_0x1d1910))(w||{});const He=_0x36a310(0x2db);exports[_0x36a310(0x325)]=class extends c['Disposable']{constructor(_0x457fcf,_0x1cc054,_0xab8088,_0x54e207){const _0x25ddef=_0x36a310;super(),u(this,_0x25ddef(0x3e9),new p[(_0x25ddef(0x393))]([])),u(this,_0x25ddef(0x276),this['_versions$'][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x2a2),new p[(_0x25ddef(0x393))]('')),u(this,_0x25ddef(0x356),this[_0x25ddef(0x2a2)][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x2d9),new p[(_0x25ddef(0x393))](_0x25ddef(0x34c))),u(this,_0x25ddef(0x3ed),this[_0x25ddef(0x2d9)]['asObservable']()),u(this,_0x25ddef(0x1ef),new p[(_0x25ddef(0x393))](0x0)),u(this,_0x25ddef(0x378),this[_0x25ddef(0x1ef)][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x1fd),new p['BehaviorSubject']('')),u(this,_0x25ddef(0x317),this[_0x25ddef(0x1fd)]['asObservable']()),u(this,_0x25ddef(0x2fa),new p[(_0x25ddef(0x393))](!0x1)),u(this,_0x25ddef(0x398),this['_fetching$'][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x27e),new p[(_0x25ddef(0x393))]([])),u(this,'creators$',this[_0x25ddef(0x27e)][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x298),new p[(_0x25ddef(0x393))](_0x25ddef(0x1e2))),u(this,_0x25ddef(0x21b),this['_loadingState$'][_0x25ddef(0x28e)]()),u(this,_0x25ddef(0x1cb),null),u(this,_0x25ddef(0x36a),!0x0),u(this,_0x25ddef(0x3b1),new Map()),u(this,_0x25ddef(0x369)),u(this,_0x25ddef(0x1fe)),u(this,_0x25ddef(0x35f)),u(this,_0x25ddef(0x1fc),!0x1),u(this,_0x25ddef(0x231),null),(this[_0x25ddef(0x1e0)]=_0x457fcf,this['_confirmService']=_0x1cc054,this[_0x25ddef(0x3ef)]=_0xab8088,this[_0x25ddef(0x235)]=_0x54e207);}['_setFetching'](_0x7f238a){const _0x1b62c3=_0x36a310;this[_0x1b62c3(0x2fa)][_0x1b62c3(0x35e)](_0x7f238a);}get[_0x36a310(0x3df)](){const _0xffb44e=_0x36a310;return this[_0xffb44e(0x2fa)][_0xffb44e(0x26c)];}async[_0x36a310(0x319)](_0x3c7b6e,_0x4200e2,_0x4e37fa){const _0x4d3cdf=_0x36a310;this[_0x4d3cdf(0x369)]=_0x4200e2,this[_0x4d3cdf(0x1fc)]=_0x4e37fa,await this[_0x4d3cdf(0x261)](_0x3c7b6e);}async[_0x36a310(0x261)](_0x43d5b4,_0x385057){const _0x5d3ee6=_0x36a310;this[_0x5d3ee6(0x1fd)][_0x5d3ee6(0x35e)](_0x43d5b4),this['_loadParams']=_0x385057!=null?_0x385057:null,this[_0x5d3ee6(0x277)](!0x0);const _0x2a0459=await this['_historyFetchService'][_0x5d3ee6(0x2da)](_0x43d5b4,_0x385057);if(this[_0x5d3ee6(0x277)](!0x1),_0x2a0459){const {versions:_0x14ba01,lastLabel:_0x3ffe2f,hasMore:_0xdd2cd2,members:_0x51d8a5}=_0x2a0459;_0x14ba01[_0x5d3ee6(0x334)]===0x0&&_0x14ba01[_0x5d3ee6(0x3a0)]({'unitId':_0x43d5b4,'id':He,'startRev':0x1,'endRev':0x0,'time':Date[_0x5d3ee6(0x34d)](),'user':this['_localeService']['t'](_0x5d3ee6(0x377)),'commands':[],'isAnonymous':!0x1}),this[_0x5d3ee6(0x24d)](_0x14ba01,_0xdd2cd2,_0x3ffe2f,!0x1,_0x51d8a5),this['_currentVersion$'][_0x5d3ee6(0x35e)](_0x14ba01[0x0]['id']);}else this[_0x5d3ee6(0x2d9)][_0x5d3ee6(0x35e)](_0x5d3ee6(0x211));}async[_0x36a310(0x2c3)](){const _0x291584=_0x36a310;if(!this['_lastLabel']||!this[_0x291584(0x36a)]||this['fetching'])return!0x1;this[_0x291584(0x277)](!0x0);const _0x482967=await this[_0x291584(0x235)][_0x291584(0x2da)](this[_0x291584(0x328)],{'lastLabel':this[_0x291584(0x1cb)],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x482967){const {versions:_0x1d10e4,lastLabel:_0x2f567a,hasMore:_0xa9a43c,members:_0x819147}=_0x482967;this[_0x291584(0x24d)](_0x1d10e4,_0xa9a43c,_0x2f567a,!0x0,_0x819147);}else this[_0x291584(0x1e0)][_0x291584(0x26a)]({'content':this[_0x291584(0x3ef)]['t'](_0x291584(0x2b3)),'type':P[_0x291584(0x2b7)]['Error'],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x143ab9=_0x36a310,{unitId:_0x1a6d64}=this;if(!_0x1a6d64)return;const _0x251dbb=await this[_0x143ab9(0x235)]['fetchCreatorList'](_0x1a6d64);_0x251dbb&&this[_0x143ab9(0x27e)]['next'](_0x251dbb);}async[_0x36a310(0x30f)](_0x3677b4){const _0x34ba8a=_0x36a310;var _0x25b39e;const _0x26e7b0=(_0x25b39e=this[_0x34ba8a(0x3e9)][_0x34ba8a(0x26c)])==null?void 0x0:_0x25b39e[_0x34ba8a(0x36c)](_0x189eea=>_0x189eea['id']===_0x3677b4),{endRev:_0x3ea12b}=_0x26e7b0||{};_0x3ea12b||_0x3ea12b===0x0?(this['_loadingState$'][_0x34ba8a(0x35e)](_0x34ba8a(0x311)),await this[_0x34ba8a(0x235)]['loadSheet'](this[_0x34ba8a(0x328)],_0x3ea12b),this[_0x34ba8a(0x298)]['next']('loaded')):this[_0x34ba8a(0x2d9)][_0x34ba8a(0x35e)](_0x34ba8a(0x211));}async[_0x36a310(0x366)](_0x18b0ff){const _0x247eeb=_0x36a310,_0x4315bd=_0x18b0ff?this[_0x247eeb(0x229)](_0x18b0ff):this[_0x247eeb(0x368)]();if(!_0x4315bd)return;const _0x4ffb25=_0x4315bd[_0x247eeb(0x2cf)],_0x4e1703=ee(_0x4315bd[_0x247eeb(0x2d0)],this[_0x247eeb(0x3ef)][_0x247eeb(0x1d5)]());await this[_0x247eeb(0x1d9)][_0x247eeb(0x23d)]({'id':_0x247eeb(0x2a9),'title':{'title':this[_0x247eeb(0x3ef)]['t'](_0x247eeb(0x39a))},'children':{'title':this[_0x247eeb(0x3ef)]['t'](_0x247eeb(0x1f4))+_0x247eeb(0x3c5)+_0x4e1703[_0x247eeb(0x363)]+'\x20'+_0x4e1703[_0x247eeb(0x2d0)]+')'},'cancelText':this[_0x247eeb(0x3ef)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x247eeb(0x3ef)]['t'](_0x247eeb(0x31b))})&&this[_0x247eeb(0x1ef)][_0x247eeb(0x35e)](_0x4ffb25);}[_0x36a310(0x24d)](_0x3314ba,_0x339019,_0x18f992,_0x4167f1,_0x2a471c){const _0x2a3639=_0x36a310;this[_0x2a3639(0x318)](_0x4167f1?this[_0x2a3639(0x3e9)][_0x2a3639(0x26c)]['concat'](_0x3314ba):_0x3314ba),this['_hasMore']=_0x339019,this[_0x2a3639(0x1cb)]=_0x18f992,_0x2a471c&&Object[_0x2a3639(0x381)](_0x2a471c)[_0x2a3639(0x3ca)](_0x4912eb=>this[_0x2a3639(0x3b1)][_0x2a3639(0x24f)](_0x4912eb,_0x2a471c[_0x4912eb]));}['getCurrentVersion'](){const _0x3603b0=_0x36a310;return this[_0x3603b0(0x229)](this[_0x3603b0(0x2a2)][_0x3603b0(0x26c)]);}[_0x36a310(0x318)](_0x850444){const _0x5525e1=_0x36a310;this[_0x5525e1(0x3e9)]['next'](_0x850444);}[_0x36a310(0x229)](_0x156779){const _0x186d31=_0x36a310;var _0x3d6daa;return(_0x3d6daa=this[_0x186d31(0x3e9)]['value'])==null?void 0x0:_0x3d6daa['find'](_0x56a6da=>_0x56a6da['id']===_0x156779);}[_0x36a310(0x302)](_0x648e4){return this['_members']['get'](_0x648e4);}[_0x36a310(0x3cb)](){const _0x85ca7=_0x36a310;this[_0x85ca7(0x35f)]=document[_0x85ca7(0x2e2)](_0x85ca7(0x1eb)),this['_maskElement'][_0x85ca7(0x2fd)]=_0x85ca7(0x3d5),this[_0x85ca7(0x35f)][_0x85ca7(0x376)]['position']='absolute',this[_0x85ca7(0x35f)][_0x85ca7(0x376)][_0x85ca7(0x384)]='0',this[_0x85ca7(0x35f)][_0x85ca7(0x376)][_0x85ca7(0x3c1)]='0',this[_0x85ca7(0x35f)][_0x85ca7(0x376)][_0x85ca7(0x2e5)]=_0x85ca7(0x238),this['_maskElement'][_0x85ca7(0x376)][_0x85ca7(0x201)]=_0x85ca7(0x238),this[_0x85ca7(0x35f)]['style']['backgroundColor']=_0x85ca7(0x3bb),this[_0x85ca7(0x35f)][_0x85ca7(0x376)]['color']=_0x85ca7(0x3ce),this[_0x85ca7(0x35f)]['style'][_0x85ca7(0x281)]=_0x85ca7(0x2ad),this[_0x85ca7(0x35f)][_0x85ca7(0x376)][_0x85ca7(0x239)]=_0x85ca7(0x394),this['_maskElement'][_0x85ca7(0x376)][_0x85ca7(0x35d)]=_0x85ca7(0x287),this['_maskElement'][_0x85ca7(0x376)][_0x85ca7(0x281)]=_0x85ca7(0x29a),this[_0x85ca7(0x1fe)][_0x85ca7(0x3cf)](this[_0x85ca7(0x35f)]);}['_initMaskContainer'](){const _0x5b4e71=_0x36a310;var _0x5c7f18;const _0x5888a0=(_0x5c7f18=document[_0x5b4e71(0x27a)](this[_0x5b4e71(0x369)]))==null?void 0x0:_0x5c7f18[_0x5b4e71(0x3be)]('.univer-app-container-content');_0x5888a0&&(this['_maskContainer']=_0x5888a0,this['_createMask']());}[_0x36a310(0x367)](){const _0x3ab265=_0x36a310;this[_0x3ab265(0x1fe)]||this['_initMaskContainer'](),this['_maskElement']&&(this[_0x3ab265(0x35f)][_0x3ab265(0x376)][_0x3ab265(0x281)]='flex');}[_0x36a310(0x20c)](){const _0x8f7912=_0x36a310;this[_0x8f7912(0x35f)]&&(this[_0x8f7912(0x35f)][_0x8f7912(0x376)][_0x8f7912(0x281)]='none');}set[_0x36a310(0x3e7)](_0x29c12e){const _0x4092aa=_0x36a310;this[_0x4092aa(0x2d9)][_0x4092aa(0x35e)](_0x29c12e);}set[_0x36a310(0x294)](_0x182d7b){const _0x50ee4c=_0x36a310;_0x182d7b!==this[_0x50ee4c(0x2a2)]['value']&&this[_0x50ee4c(0x2a2)]['next'](_0x182d7b);}get[_0x36a310(0x294)](){const _0x5340d9=_0x36a310;return this['_currentVersion$'][_0x5340d9(0x26c)];}set[_0x36a310(0x328)](_0x66e9e3){const _0x10cb7e=_0x36a310;this[_0x10cb7e(0x1fd)][_0x10cb7e(0x35e)](_0x66e9e3);}get[_0x36a310(0x328)](){const _0x49c0ac=_0x36a310;return this[_0x49c0ac(0x1fd)]['value'];}get[_0x36a310(0x2c0)](){const _0x52f8b9=_0x36a310;return this[_0x52f8b9(0x1fc)];}get['loadingState'](){const _0x26e534=_0x36a310;return this[_0x26e534(0x298)][_0x26e534(0x26c)];}},exports[_0x36a310(0x325)]=ke([k(0x0,E[_0x36a310(0x2c9)]),k(0x1,c[_0x36a310(0x359)]),k(0x2,c['Inject'](c[_0x36a310(0x1d3)])),k(0x3,c['Inject'](j))],exports[_0x36a310(0x325)]);function W({ref:_0x4f1c92,..._0x1c398e}){const _0x71a5f6=_0x36a310,{icon:_0x4a81ec,id:_0x4c67d8,className:_0x505ab9,extend:_0x3e554b,..._0x1a5d74}=_0x1c398e,_0x29f974=('univerjs-icon\x20univerjs-icon-'+_0x4c67d8+'\x20'+(_0x505ab9||''))[_0x71a5f6(0x234)](),_0x269b75=O[_0x71a5f6(0x3cc)]('_'+Fe());return ue(_0x4a81ec,''+_0x4c67d8,{'defIds':_0x4a81ec[_0x71a5f6(0x364)],'idSuffix':_0x269b75[_0x71a5f6(0x233)]},{'ref':_0x4f1c92,'className':_0x29f974,..._0x1a5d74},_0x3e554b);}function ue(_0x137abf,_0x5b212e,_0x25ea89,_0x5ba354,_0x1551eb){const _0x5dfd7f=_0x36a310;return O[_0x5dfd7f(0x2e2)](_0x137abf[_0x5dfd7f(0x242)],{'key':_0x5b212e,...Ae(_0x137abf,_0x25ea89,_0x1551eb),..._0x5ba354},(je(_0x137abf,_0x25ea89)[_0x5dfd7f(0x26d)]||[])[_0x5dfd7f(0x2f1)]((_0xf2c65b,_0x11d684)=>ue(_0xf2c65b,_0x5b212e+'-'+_0x137abf[_0x5dfd7f(0x242)]+'-'+_0x11d684,_0x25ea89,void 0x0,_0x1551eb)));}function _0x2224(_0x14c117,_0x535582){_0x14c117=_0x14c117-0x1c4;const _0x4b691d=_0x4b69();let _0x222440=_0x4b691d[_0x14c117];return _0x222440;}function Ae(_0x15f8b6,_0x3b4b24,_0x157cb2){const _0x31fa6b=_0x36a310,_0x127979={..._0x15f8b6[_0x31fa6b(0x24b)]};_0x157cb2!=null&&_0x157cb2[_0x31fa6b(0x2ab)]&&_0x127979['fill']===_0x31fa6b(0x2ab)&&(_0x127979[_0x31fa6b(0x3c9)]=_0x157cb2['colorChannel1']),_0x15f8b6['tag']===_0x31fa6b(0x260)&&_0x127979['id']&&(_0x127979['id']=_0x127979['id']+_0x3b4b24[_0x31fa6b(0x357)]),Object[_0x31fa6b(0x204)](_0x127979)[_0x31fa6b(0x3ca)](([_0x4acbe4,_0x4a1b59])=>{const _0x4f5e8c=_0x31fa6b;_0x4acbe4===_0x4f5e8c(0x260)&&typeof _0x4a1b59==_0x4f5e8c(0x2a5)&&(_0x127979[_0x4acbe4]=_0x4a1b59[_0x4f5e8c(0x20e)](/url\(#(.*)\)/,'url(#$1'+_0x3b4b24['idSuffix']+')'));});const {defIds:_0x2ee582}=_0x3b4b24;return!_0x2ee582||_0x2ee582['length']===0x0||(_0x15f8b6[_0x31fa6b(0x242)]===_0x31fa6b(0x1ed)&&_0x127979[_0x31fa6b(0x310)]&&(_0x127979['xlink:href']=_0x127979[_0x31fa6b(0x310)]+_0x3b4b24[_0x31fa6b(0x357)]),Object[_0x31fa6b(0x204)](_0x127979)[_0x31fa6b(0x3ca)](([_0x2b7a72,_0x246a08])=>{const _0x2861cf=_0x31fa6b;typeof _0x246a08==_0x2861cf(0x2a5)&&(_0x127979[_0x2b7a72]=_0x246a08[_0x2861cf(0x20e)](/url\(#(.*)\)/,_0x2861cf(0x205)+_0x3b4b24[_0x2861cf(0x357)]+')'));})),_0x127979;}function je(_0x207d38,_0x1902aa){const _0x119e10=_0x36a310;var _0x2da900;const {defIds:_0x371fae}=_0x1902aa;return!_0x371fae||_0x371fae[_0x119e10(0x334)]===0x0?_0x207d38:_0x207d38[_0x119e10(0x242)]===_0x119e10(0x23a)&&((_0x2da900=_0x207d38[_0x119e10(0x26d)])!=null&&_0x2da900['length'])?{..._0x207d38,'children':_0x207d38['children'][_0x119e10(0x2f1)](_0x796424=>typeof _0x796424[_0x119e10(0x24b)]['id']=='string'&&_0x371fae&&_0x371fae[_0x119e10(0x25a)](_0x796424[_0x119e10(0x24b)]['id'])?{..._0x796424,'attrs':{..._0x796424[_0x119e10(0x24b)],'id':_0x796424[_0x119e10(0x24b)]['id']+_0x1902aa[_0x119e10(0x357)]}}:_0x796424)}:_0x207d38;}function Fe(){const _0x20ae85=_0x36a310;return Math[_0x20ae85(0x225)]()[_0x20ae85(0x3b0)](0x24)[_0x20ae85(0x217)](0x2,0x8);}W['displayName']='UniverIcon';const Be={'tag':_0x36a310(0x293),'attrs':{'xmlns':_0x36a310(0x3b4),'fill':_0x36a310(0x29a),'viewBox':'0\x200\x2016\x2016','width':_0x36a310(0x2a1),'height':_0x36a310(0x2a1)},'children':[{'tag':'path','attrs':{'fill':_0x36a310(0x2de),'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=O[_0x36a310(0x214)](function(_0x3bb0f2,_0x25186c){const _0x488b60=_0x36a310;return O['createElement'](W,Object['assign']({},_0x3bb0f2,{'id':_0x488b60(0x2e3),'ref':_0x25186c,'icon':Be}));});he[_0x36a310(0x38f)]='BackIcon';const Ye={'tag':_0x36a310(0x293),'attrs':{'xmlns':_0x36a310(0x3b4),'fill':'none','viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x36a310(0x2a1)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x36a310(0x3b9),'attrs':{'d':'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'}},{'tag':_0x36a310(0x3b9),'attrs':{'d':_0x36a310(0x22d),'fillRule':_0x36a310(0x353),'clipRule':_0x36a310(0x353)}}]},{'tag':_0x36a310(0x23a),'attrs':{},'children':[{'tag':_0x36a310(0x31e),'attrs':{'id':_0x36a310(0x299)},'children':[{'tag':_0x36a310(0x267),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x36a310(0x3ce),'rx':0x4}}]}]}],'defIds':[_0x36a310(0x299)]},Ie=O['forwardRef'](function(_0x1992c9,_0x1b2fcf){const _0x503627=_0x36a310;return O['createElement'](W,Object['assign']({},_0x1992c9,{'id':_0x503627(0x3d3),'ref':_0x1b2fcf,'icon':Ye}));});Ie[_0x36a310(0x38f)]=_0x36a310(0x27f);const We={'tag':_0x36a310(0x293),'attrs':{'xmlns':_0x36a310(0x3b4),'fill':_0x36a310(0x29a),'viewBox':_0x36a310(0x350),'width':_0x36a310(0x2a1),'height':_0x36a310(0x2a1)},'children':[{'tag':'path','attrs':{'fill':_0x36a310(0x249),'d':_0x36a310(0x399),'fillOpacity':0.2,'fillRule':_0x36a310(0x353),'clipRule':_0x36a310(0x353)}},{'tag':_0x36a310(0x3b9),'attrs':{'fill':_0x36a310(0x249),'d':_0x36a310(0x24c),'fillRule':_0x36a310(0x353),'clipRule':_0x36a310(0x353)}}]},te=O[_0x36a310(0x214)](function(_0x1409ce,_0x534456){const _0x3ec035=_0x36a310;return O[_0x3ec035(0x2e2)](W,Object[_0x3ec035(0x279)]({},_0x1409ce,{'id':_0x3ec035(0x1c8),'ref':_0x534456,'icon':We}));});te[_0x36a310(0x38f)]=_0x36a310(0x1df);function Xe(){const _0xc8a425=_0x36a310;var _0x358cef;const _0x20da52=E[_0xc8a425(0x256)](exports[_0xc8a425(0x325)]),_0x13f1e0=E[_0xc8a425(0x256)](c[_0xc8a425(0x1d3)]),_0x484853=O[_0xc8a425(0x2fe)](()=>{const _0x2499b8=_0xc8a425;_0x20da52[_0x2499b8(0x3e7)]=Y[_0x2499b8(0x32b)];},[_0x20da52]),_0x1010e4=O[_0xc8a425(0x2fe)](()=>{const _0x3aafdd=_0xc8a425;_0x20da52[_0x3aafdd(0x366)]();},[_0x20da52]),_0x209897=E['useObservable'](_0x20da52['currentVersion$']),_0x532f79=E[_0xc8a425(0x2af)](_0x20da52['versions$']),_0x27e7bb=_0x209897===((_0x358cef=_0x532f79==null?void 0x0:_0x532f79[0x0])==null?void 0x0:_0x358cef['id']),_0x395e07=_0x209897!==''&&!_0x27e7bb&&_0x20da52['canRevert'];return d[_0xc8a425(0x246)](_0xc8a425(0x1eb),{'className':P[_0xc8a425(0x21a)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',P[_0xc8a425(0x228)]),'children':[d['jsx']('a',{'className':_0xc8a425(0x35c),'role':'button','onClick':_0x484853,'children':d[_0xc8a425(0x1da)](he,{'className':_0xc8a425(0x2f0)})}),d[_0xc8a425(0x1da)]('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x395e07&&d[_0xc8a425(0x1da)](P[_0xc8a425(0x3e0)],{'variant':'primary','onClick':_0x1010e4,'children':_0x13f1e0['t']('editHistory.header.revert')})})]});}var Ge=Object[_0x36a310(0x21d)],qe=(_0x550501,_0x1c9805,_0x23cc21,_0x24c34a)=>{for(var _0x4b4a65=_0x24c34a>0x1?void 0x0:_0x24c34a?Ge(_0x1c9805,_0x23cc21):_0x1c9805,_0x29ac61=_0x550501['length']-0x1,_0x4189f6;_0x29ac61>=0x0;_0x29ac61--)(_0x4189f6=_0x550501[_0x29ac61])&&(_0x4b4a65=_0x4189f6(_0x4b4a65)||_0x4b4a65);return _0x4b4a65;},y=(_0x2d9e91,_0x36f897)=>(_0x506637,_0x54ca4d)=>_0x36f897(_0x506637,_0x54ca4d,_0x2d9e91);let F=class extends c['Disposable']{constructor(_0x3a1fd1,_0x30cc1e,_0x5b83ff,_0x282a19,_0x4b3b25,_0x21ed5a){const _0x591899=_0x36a310;super(),this['_permissionService']=_0x3a1fd1,this[_0x591899(0x22f)]=_0x30cc1e,this[_0x591899(0x1e0)]=_0x5b83ff,this[_0x591899(0x3ef)]=_0x282a19,this['_historyManagerService']=_0x4b3b25,this[_0x591899(0x37c)]=_0x21ed5a,this['_init']();}[_0x36a310(0x295)](){const _0x2727de=_0x36a310;this[_0x2727de(0x3a6)](this[_0x2727de(0x1e8)]['currentVersion$'][_0x2727de(0x3e6)](_0x4190a0=>{const _0x417d3d=_0x2727de;_0x4190a0&&this[_0x417d3d(0x1e8)]['triggerLoadSheet'](_0x4190a0);})),this['disposeWithMe'](this[_0x2727de(0x31f)][_0x2727de(0x223)][_0x2727de(0x3e6)](_0x5c836e=>{const _0x3a2412=_0x2727de,_0x5b4732=this['_historyManagerService']['unitId'];_0x5b4732&&(_0x5c836e[_0x3a2412(0x296)]===b[_0x3a2412(0x226)]&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)][_0x3a2412(0x2e8)](new h[(_0x3a2412(0x3b2))](_0x5b4732)['id'],!0x1),_0x5c836e[_0x3a2412(0x296)]===b[_0x3a2412(0x240)]&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)][_0x3a2412(0x2e8)](new h['WorkbookRenameSheetPermission'](_0x5b4732)['id'],!0x1),_0x5c836e[_0x3a2412(0x296)]===b[_0x3a2412(0x361)]&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)][_0x3a2412(0x2e8)](new h[(_0x3a2412(0x1f2))](_0x5b4732)['id'],!0x1),_0x5c836e[_0x3a2412(0x296)]===b['HideSheet']&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)]['updatePermissionPoint'](new h['WorkbookHideSheetPermission'](_0x5b4732)['id'],!0x1),_0x5c836e['subType']===b[_0x3a2412(0x25d)]&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)][_0x3a2412(0x2e8)](new h[(_0x3a2412(0x3b2))](_0x5b4732)['id'],!0x1),_0x5c836e[_0x3a2412(0x296)]===b[_0x3a2412(0x32e)]&&_0x5c836e[_0x3a2412(0x26c)]===!0x0&&this[_0x3a2412(0x31f)][_0x3a2412(0x2e8)](new h['WorkbookEditablePermission'](_0x5b4732)['id'],!0x1));})),this[_0x2727de(0x3a6)](this[_0x2727de(0x22f)]['registerComponent'](E[_0x2727de(0x2dd)][_0x2727de(0x38b)],()=>E[_0x2727de(0x1db)](Xe,this[_0x2727de(0x37c)])));let _0x4cf34a;this[_0x2727de(0x3a6)](this['_historyManagerService']['loadingState$'][_0x2727de(0x3e6)](_0x269ec8=>{const _0x240732=_0x2727de;_0x4cf34a==null||_0x4cf34a[_0x240732(0x25f)](),_0x269ec8===w[_0x240732(0x3a9)]&&(this[_0x240732(0x1e8)][_0x240732(0x367)](),_0x4cf34a=this['_messageService']['show']({'type':P[_0x240732(0x2b7)][_0x240732(0x2ac)],'content':this[_0x240732(0x3ef)]['t'](_0x240732(0x1e9))})),_0x269ec8===w['Loaded']&&this['_historyManagerService'][_0x240732(0x20c)]();}));}};F=qe([y(0x0,c['IPermissionService']),y(0x1,E[_0x36a310(0x230)]),y(0x2,E[_0x36a310(0x2c9)]),y(0x3,c[_0x36a310(0x37f)](c[_0x36a310(0x1d3)])),y(0x4,c[_0x36a310(0x37f)](exports[_0x36a310(0x325)])),y(0x5,c[_0x36a310(0x37f)](c[_0x36a310(0x1d6)]))],F);var Ze=Object[_0x36a310(0x21d)],Ke=(_0x5574a7,_0x5a01b5,_0x147f56,_0x25e238)=>{for(var _0x32748e=_0x25e238>0x1?void 0x0:_0x25e238?Ze(_0x5a01b5,_0x147f56):_0x5a01b5,_0x2265ef=_0x5574a7['length']-0x1,_0x8cbbc9;_0x2265ef>=0x0;_0x2265ef--)(_0x8cbbc9=_0x5574a7[_0x2265ef])&&(_0x32748e=_0x8cbbc9(_0x32748e)||_0x32748e);return _0x32748e;},G=(_0x37eb33,_0x44252c)=>(_0xd3c1d8,_0x262dbe)=>_0x44252c(_0xd3c1d8,_0x262dbe,_0x37eb33);let x=class extends c[_0x36a310(0x212)]{constructor(_0x454574,_0x5dcc56,_0x554040){const _0x4ce966=_0x36a310;super(),u(this,_0x4ce966(0x346),new Map()),u(this,_0x4ce966(0x3ec),new p[(_0x4ce966(0x393))]({'ranges':new Map(),'active':null})),u(this,_0x4ce966(0x288),this[_0x4ce966(0x3ec)][_0x4ce966(0x28e)]()),(this['_historyManagerService']=_0x454574,this[_0x4ce966(0x3ab)]=_0x5dcc56,this[_0x4ce966(0x379)]=_0x554040,this[_0x4ce966(0x295)]());}[_0x36a310(0x295)](){const _0x485893=_0x36a310;this[_0x485893(0x346)]=new Map(),this[_0x485893(0x3a6)](this[_0x485893(0x1e8)]['unitId$'][_0x485893(0x3e6)](_0x520900=>{const _0x1bce0a=_0x485893;_0x520900&&!this[_0x1bce0a(0x346)][_0x1bce0a(0x27b)](_0x520900)&&this[_0x1bce0a(0x346)]['set'](_0x520900,new Map());})),this[_0x485893(0x3a6)](this[_0x485893(0x1e8)][_0x485893(0x356)][_0x485893(0x3e6)](async _0x5aa5ac=>{const _0x274414=_0x485893;var _0x3917e4;_0x5aa5ac&&(await this[_0x274414(0x2a7)](_0x5aa5ac),this[_0x274414(0x3ec)][_0x274414(0x35e)](((_0x3917e4=this[_0x274414(0x346)][_0x274414(0x2d1)](this['_historyManagerService'][_0x274414(0x328)]))==null?void 0x0:_0x3917e4[_0x274414(0x2d1)](_0x5aa5ac))||{'ranges':new Map(),'active':null}));}));}async[_0x36a310(0x2a7)](_0x5aed05){const _0x245866=_0x36a310;var _0x3c02ed,_0x5c1afc;const _0x3cc7d9=this['_historyManagerService'][_0x245866(0x229)](_0x5aed05),_0x3cef14=this['_historyManagerService'][_0x245866(0x328)];if(!_0x3cc7d9||!_0x3cef14)return;const _0x1197cc=this[_0x245866(0x346)][_0x245866(0x2d1)](_0x3cef14);if(_0x1197cc||this['_diffRangesMap'][_0x245866(0x24f)](_0x3cef14,new Map()),(_0x3c02ed=this[_0x245866(0x346)][_0x245866(0x2d1)](_0x3cef14))!=null&&_0x3c02ed[_0x245866(0x27b)](_0x3cc7d9['id']))return;const {startRev:_0x1d4450,endRev:_0x5d53f7}=_0x3cc7d9;if(_0x1d4450===0x1){_0x1197cc[_0x245866(0x24f)](_0x3cc7d9['id'],{'ranges':new Map(),'active':null});return;}const _0x484320=_0x1d4450-0x1,_0x46f21a=_0x5d53f7,_0x37b6d1=await this[_0x245866(0x379)][_0x245866(0x257)]({},{'unitID':_0x3cef14,'from':_0x484320,'to':_0x46f21a,'type':A[_0x245866(0x23b)]});if(((_0x5c1afc=_0x37b6d1[_0x245866(0x211)])==null?void 0x0:_0x5c1afc['code'])===V['OK']){const _0xdb0f74=_0x37b6d1[_0x245866(0x24a)][_0x245866(0x2f1)](_0x3633bf=>((_0x3633bf[_0x245866(0x333)]===null||_0x3633bf[_0x245866(0x333)]===void 0x0)&&(_0x3633bf[_0x245866(0x333)]=[]),R[_0x245866(0x3db)](_0x3633bf)))[_0x245866(0x2f1)](_0x5617ea=>_0x5617ea['mutations']['map'](_0x496318=>({..._0x496318,'params':{..._0x496318[_0x245866(0x2f7)],'memberId':_0x5617ea['userID']}})))['flat'](),_0x40433a=await this[_0x245866(0x308)](_0xdb0f74),_0x2e24ec=this[_0x245866(0x2cc)](_0xdb0f74),_0x5dc8bf=this[_0x245866(0x3dd)](_0x40433a);_0x1197cc['set'](_0x3cc7d9['id'],{'ranges':_0x5dc8bf,'active':_0x2e24ec});}}async[_0x36a310(0x308)](_0x21f6dd){const _0x3afcb5=_0x36a310;let _0x5da4bf=[];for(let _0x2a1ae8=0x0;_0x2a1ae8<_0x21f6dd[_0x3afcb5(0x334)];_0x2a1ae8++){const _0x490a36=_0x21f6dd[_0x2a1ae8];if(_0x5da4bf[_0x3afcb5(0x3a0)](_0x490a36),_0x2a1ae8!==_0x21f6dd['length']-0x1){const _0x1a2dac=_0x21f6dd[_0x2a1ae8+0x1],_0x5c4d01=this[_0x3afcb5(0x3ab)][_0x3afcb5(0x3a4)](_0x5da4bf,[_0x1a2dac]);R[_0x3afcb5(0x337)](_0x5c4d01)?_0x5da4bf=_0x5c4d01[_0x3afcb5(0x396)]:_0x5da4bf=[];}_0x2a1ae8%0xa===0x0&&_0x2a1ae8>0x0&&await this[_0x3afcb5(0x344)]();}return _0x5da4bf;}[_0x36a310(0x344)](){return new Promise(_0x3a773b=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x3a773b(),{'timeout':0x64}):setTimeout(_0x3a773b,0x0);});}[_0x36a310(0x2cc)](_0x1f7cf3){const _0x5a599a=_0x36a310;let _0x368990=[];return _0x1f7cf3[_0x5a599a(0x3ca)](_0x9a6a06=>{const _0x20fe87=_0x5a599a;if(_0x9a6a06['id']===h[_0x20fe87(0x3b8)]['id']){const _0x21142d=_0x9a6a06[_0x20fe87(0x2f7)];_0x368990[_0x20fe87(0x3a0)](_0x21142d[_0x20fe87(0x2e7)]['id']);}else{if(_0x9a6a06['id']===h['RemoveSheetMutation']['id']){const _0x35453e=_0x9a6a06[_0x20fe87(0x2f7)];_0x368990[_0x20fe87(0x334)]>0x0&&(_0x368990=_0x368990['filter'](_0x534cd1=>_0x534cd1!==_0x35453e['subUnitId']));}else{if(_0x9a6a06['id']===h['SetWorksheetHideMutation']['id']){const _0x397a7f=_0x9a6a06[_0x20fe87(0x2f7)];_0x397a7f[_0x20fe87(0x2c2)]?_0x368990=_0x368990[_0x20fe87(0x28a)](_0xd140ce=>_0xd140ce!==_0x397a7f['subUnitId']):_0x368990[_0x20fe87(0x3a0)](_0x397a7f[_0x20fe87(0x1e4)]);}else{const _0x2a37d7=_0x9a6a06[_0x20fe87(0x2f7)];_0x2a37d7['subUnitId']&&_0x368990[_0x20fe87(0x3a0)](_0x2a37d7[_0x20fe87(0x1e4)]);}}}}),_0x368990[_0x5a599a(0x334)]>0x0?_0x368990[_0x368990[_0x5a599a(0x334)]-0x1]:null;}[_0x36a310(0x3dd)](_0x2312c8){const _0x8ede4c=_0x36a310,_0x26ac1f=new Map();return _0x2312c8['forEach'](_0x39ca31=>{const _0x5eb2cd=_0x2224;var _0x301601,_0x3aee62;const _0x2c8aa4=(_0x301601=_0x39ca31['params'])==null?void 0x0:_0x301601[_0x5eb2cd(0x208)];if(_0x2c8aa4){_0x26ac1f[_0x5eb2cd(0x27b)](_0x2c8aa4)||_0x26ac1f[_0x5eb2cd(0x24f)](_0x2c8aa4,[]);const _0x5f0f23=this['_getRangesByMutation'](_0x39ca31);(_0x3aee62=_0x26ac1f[_0x5eb2cd(0x2d1)](_0x2c8aa4))==null||_0x3aee62[_0x5eb2cd(0x3a0)](..._0x5f0f23);}}),_0x26ac1f[_0x8ede4c(0x3ca)]((_0x4116f8,_0x2f8323)=>{const _0x147163=_0x8ede4c;_0x26ac1f[_0x147163(0x24f)](_0x2f8323,this['_combineRanges'](_0x4116f8));}),_0x26ac1f;}[_0x36a310(0x341)](_0x3c3295){const _0x35e60a=_0x36a310;switch(_0x3c3295['id']){case h['AddRangeProtectionMutation']['id']:{const _0x44ff4a=_0x3c3295[_0x35e60a(0x2f7)];return _0x44ff4a[_0x35e60a(0x200)]['map'](_0x436ebb=>_0x436ebb['ranges'][_0x35e60a(0x2f1)](_0x5b0843=>({'range':_0x5b0843,'unitId':_0x44ff4a['unitId'],'subUnitId':_0x44ff4a[_0x35e60a(0x1e4)]})))[_0x35e60a(0x1fa)]();}case h[_0x35e60a(0x322)]['id']:{const _0x3c5856=_0x3c3295['params'];return _0x3c5856[_0x35e60a(0x2d2)][_0x35e60a(0x2f1)](_0x1e9f7c=>({'range':_0x1e9f7c,'unitId':_0x3c5856[_0x35e60a(0x328)],'subUnitId':_0x3c5856['subUnitId']}));}case h['InsertRowMutation']['id']:{const _0x246255=_0x3c3295[_0x35e60a(0x2f7)];return[{'range':_0x246255[_0x35e60a(0x332)],'unitId':_0x246255['unitId'],'subUnitId':_0x246255[_0x35e60a(0x1e4)]}];}case h[_0x35e60a(0x1f0)]['id']:{const _0x4cb0d1=_0x3c3295[_0x35e60a(0x2f7)];return[{'range':_0x4cb0d1[_0x35e60a(0x332)],'unitId':_0x4cb0d1['unitId'],'subUnitId':_0x4cb0d1[_0x35e60a(0x1e4)]}];}case h[_0x35e60a(0x20a)]['id']:{const _0x2dda95=_0x3c3295[_0x35e60a(0x2f7)],{from:_0x278271,to:_0x3757c0,unitId:_0x570fd8}=_0x2dda95;return[{'range':ae(_0x278271[_0x35e60a(0x26c)]),'unitId':_0x570fd8,'subUnitId':_0x278271[_0x35e60a(0x1e4)]},{'range':ae(_0x3757c0[_0x35e60a(0x26c)]),'unitId':_0x570fd8,'subUnitId':_0x3757c0[_0x35e60a(0x1e4)]}];}case h[_0x35e60a(0x25c)]['id']:{const _0x24e4ea=_0x3c3295[_0x35e60a(0x2f7)],{unitId:_0x207b1b,subUnitId:_0x4701b2,sourceRange:_0x395c36,targetRange:_0x3a28ec}=_0x24e4ea,_0x223103=_0x395c36['endRow']-_0x395c36[_0x35e60a(0x2d7)]+0x1;return[{'range':_0x3a28ec[_0x35e60a(0x2d7)]<=_0x395c36[_0x35e60a(0x2d7)]?_0x3a28ec:{..._0x3a28ec,'startRow':_0x3a28ec[_0x35e60a(0x2d7)]-_0x223103,'endRow':_0x3a28ec[_0x35e60a(0x38e)]-_0x223103},'unitId':_0x207b1b,'subUnitId':_0x4701b2}];}case h['MoveColsMutation']['id']:{const _0x10f246=_0x3c3295[_0x35e60a(0x2f7)],{unitId:_0x5e1db8,subUnitId:_0x1a5976,sourceRange:_0x14c016,targetRange:_0x472e84}=_0x10f246,_0x107a8d=_0x14c016['endColumn']-_0x14c016['startColumn']+0x1;return[{'range':_0x472e84[_0x35e60a(0x22a)]<=_0x14c016[_0x35e60a(0x22a)]?_0x472e84:{..._0x472e84,'startColumn':_0x472e84[_0x35e60a(0x22a)]-_0x107a8d,'endColumn':_0x472e84[_0x35e60a(0x3d9)]-_0x107a8d},'unitId':_0x5e1db8,'subUnitId':_0x1a5976}];}case h[_0x35e60a(0x3c3)]['id']:{const _0x382a2c=_0x3c3295[_0x35e60a(0x2f7)],{values:_0x51ad90,unitId:_0x3d8c71,subUnitId:_0x1f5ee5}=_0x382a2c;return Object[_0x35e60a(0x306)](_0x51ad90)['map'](_0x4d13aa=>_0x4d13aa[_0x35e60a(0x2d2)][_0x35e60a(0x2f1)](_0x24fe6d=>({'range':_0x24fe6d,'unitId':_0x3d8c71,'subUnitId':_0x1f5ee5})))['flat']();}case h[_0x35e60a(0x216)]['id']:{const _0x432c6e=_0x3c3295[_0x35e60a(0x2f7)],{ranges:_0x12ed9e,unitId:_0x13d51d,subUnitId:_0x482943}=_0x432c6e;return _0x12ed9e[_0x35e60a(0x2f1)](_0x1f1959=>({'range':_0x1f1959,'unitId':_0x13d51d,'subUnitId':_0x482943}));}case h[_0x35e60a(0x37a)]['id']:{const _0x39a980=_0x3c3295[_0x35e60a(0x2f7)],{unitId:_0x3a942a,subUnitId:_0x20e1b3,range:_0x4300aa}=_0x39a980;return[{'range':_0x4300aa,'unitId':_0x3a942a,'subUnitId':_0x20e1b3}];}case h[_0x35e60a(0x36b)]['id']:{const _0x122ad3=_0x3c3295[_0x35e60a(0x2f7)];return _0x122ad3[_0x35e60a(0x3a1)][_0x35e60a(0x2d2)][_0x35e60a(0x2f1)](_0x5d5fe8=>({'range':_0x5d5fe8,'unitId':_0x122ad3['unitId'],'subUnitId':_0x122ad3[_0x35e60a(0x1e4)]}));}case h['SetRangeValuesMutation']['id']:{const _0x29e415=_0x3c3295[_0x35e60a(0x2f7)];return _0x29e415[_0x35e60a(0x1e1)]?Qe(_0x29e415[_0x35e60a(0x1e1)])[_0x35e60a(0x2f1)](_0x29efd6=>({'range':_0x29efd6,'unitId':_0x29e415[_0x35e60a(0x328)],'subUnitId':_0x29e415['subUnitId']})):[];}case le[_0x35e60a(0x339)]['id']:{const _0x51bb52=_0x3c3295[_0x35e60a(0x2f7)];return[{'range':_0x51bb52['range'],'unitId':_0x51bb52['unitId'],'subUnitId':_0x51bb52[_0x35e60a(0x1e4)]}];}case Z[_0x35e60a(0x1ce)]['id']:{const _0x3271a5=_0x3c3295[_0x35e60a(0x2f7)];return(Array[_0x35e60a(0x2c8)](_0x3271a5['rule'])?_0x3271a5[_0x35e60a(0x3a1)]:[_0x3271a5[_0x35e60a(0x3a1)]])['map'](_0x29dc9a=>_0x29dc9a[_0x35e60a(0x2d2)][_0x35e60a(0x2f1)](_0x31e1bd=>({'range':_0x31e1bd,'unitId':_0x3271a5['unitId'],'subUnitId':_0x3271a5[_0x35e60a(0x1e4)]})))['flat']();}case K[_0x35e60a(0x2ef)]['id']:{const _0x47c913=_0x3c3295[_0x35e60a(0x2f7)];return _0x47c913[_0x35e60a(0x3a1)][_0x35e60a(0x2d2)][_0x35e60a(0x2f1)](_0x3d8a95=>({'range':_0x3d8a95,'unitId':_0x47c913[_0x35e60a(0x328)],'subUnitId':_0x47c913[_0x35e60a(0x1e4)]}));}default:return[];}}[_0x36a310(0x209)](_0x4dbc14){const _0x643023=_0x36a310;if(_0x4dbc14[_0x643023(0x334)]<=0x1)return _0x4dbc14;const _0x1e0248=new Map();return _0x4dbc14[_0x643023(0x3ca)](_0x1f7a30=>{const _0x3a8cd6=_0x643023;var _0x231321;const {unitId:_0x18f8a0,subUnitId:_0x583a6d}=_0x1f7a30,_0x200ff3=_0x18f8a0+'-'+_0x583a6d;_0x1e0248[_0x3a8cd6(0x27b)](_0x200ff3)?(_0x231321=_0x1e0248[_0x3a8cd6(0x2d1)](_0x200ff3))==null||_0x231321['push'](_0x1f7a30):_0x1e0248[_0x3a8cd6(0x24f)](_0x200ff3,[_0x1f7a30]);}),Array[_0x643023(0x397)](_0x1e0248[_0x643023(0x306)]())[_0x643023(0x2f1)](_0x46099c=>new h[(_0x643023(0x2f9))]()[_0x643023(0x3da)](..._0x46099c[_0x643023(0x2f1)](_0x182e79=>_0x182e79[_0x643023(0x332)]))[_0x643023(0x2ce)]()[_0x643023(0x2f1)](_0x2cd271=>({'range':_0x2cd271,'unitId':_0x46099c[0x0]['unitId'],'subUnitId':_0x46099c[0x0][_0x643023(0x1e4)]})))['flat']();}};x=Ke([G(0x0,c[_0x36a310(0x37f)](exports['HistoryManagerService'])),G(0x1,R[_0x36a310(0x258)]),G(0x2,R[_0x36a310(0x1c7)])],x);function ae(_0x1b1373){const _0x34967f=_0x36a310;return new c[(_0x34967f(0x343))](_0x1b1373)['getDataRange']();}function Qe(_0x1c9f03){const _0x3d1ef1=_0x36a310,_0x607370=new c[(_0x3d1ef1(0x343))](_0x1c9f03),_0x419422=new c['ObjectMatrix']();return _0x607370['forValue']((_0x314d16,_0xf4658d)=>{const _0x24bc39=_0x3d1ef1;_0x419422[_0x24bc39(0x2eb)](_0x314d16,_0xf4658d,0x1);}),h['findAllRectangle'](_0x419422);}var ze=Object[_0x36a310(0x21d)],Je=(_0x3484d2,_0x4b5b7c,_0x4d425d,_0x175a43)=>{for(var _0x3d48da=_0x175a43>0x1?void 0x0:_0x175a43?ze(_0x4b5b7c,_0x4d425d):_0x4b5b7c,_0x65de5f=_0x3484d2['length']-0x1,_0xc31638;_0x65de5f>=0x0;_0x65de5f--)(_0xc31638=_0x3484d2[_0x65de5f])&&(_0x3d48da=_0xc31638(_0x3d48da)||_0x3d48da);return _0x3d48da;},L=(_0x2f9c4e,_0x1f727d)=>(_0x4276a4,_0x332d7c)=>_0x1f727d(_0x4276a4,_0x332d7c,_0x2f9c4e);function _0x4b69(){const _0x59073d=['getVersion','startColumn','Character','onPointerMove$','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','LICENSE_MAX_UNITS_EXCEEDED','_uiPartsService','IUIPartsService','_loadParams','View','current','trim','_historyFetchService','_createUnit','setCF','100%','justifyContent','defs','UNIVER_SHEET','editHistory.panel.unknownUser','confirm','/creators','ENTITLE_INSUFFICIENT_QUOTA','RenameSheet','RwHgtClWdt','tag','INVITE_CODE_HAS_BEEN_UES','additionalFields','anonymous','jsxs','USER_NOT_INVITED_CODE','editHistory.action.etc','#0B9EFB','changesets','attrs','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','_updateVersions','REDEMPTION_INVALID_CODE','set','SHEET_VIEWPORT_KEY','editHistory.action.revertSheetPrefix','PERMISSION_DENIED','removeSheet','editHistory.panel.title','editHistory.action.revertSheetSuffix','useDependency','fetchMissingChangesets','ITransformService','PAYMENT_CHANNEL_NOT_SUPPORT','includes','INVALID_INVITE_CODE','MoveRowsMutation','Comment','COMPRESS_MUTATION_APPLY','dispose','mask','loadInitialVersions','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','REDEMPTION_USER_NOT_ELIGIBLE','getDialogs$','APPLY_REJECT','historyListServerUrl','rect','command','debounce','show','YUUMI_UNABLE_LOAD_URL','value','children','currentSkeleton$','ENTITLE_INVALID_COUPON_CODE','560481RCOgMk','_renderManagerService','UniverEditHistoryViewerPlugin','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CopySheet','versions$','_setFetching','loadingState','assign','getElementById','has','310RvODDE','RecoverHistory','_creators$','RestoreIcon','createTime','display','MoveWorksheet','versions','INTERNAL_ERROR','getViewport','_initActiveSwitch','1000','currentVersionDiff$','DeleteColumn','filter','LICENSE_DISTRO_REJECTED','combineLatest','/list?','asObservable','code','editHistory.action.','getHours','468gftEzu','svg','currentVersion','_init','subType','REDEMPTION_CODE_FULLY_REDEEMED','_loadingState$','restore-icon_clip0_1247_2','none','_compressMutationService','_versionDiffService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ENTITLE_CHAT_LIMIT_EXCEED','SheetCollabCursorShape','_cellEditorManagerService','1em','_currentVersion$','createUnit','MOBILE_HAS_BEEN_BOUND','string','Sort','ensureVersion','padStart','confirm-revert-revision','setFilter','colorChannel1','Info','flex','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','useObservable','fetchThroughInterceptors','SNAPSHOT_INVALID_SNAPSHOT','SetRowStyle','editHistory.panel.listFetchError','Share','NOT_FOUND','name','MessageType','reduce','getSheetObject','getUnitOnRev','209121rNJIdK','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','bottom','AUTHORIZE_CODE_ILLEGAL','canRevert','user','hidden','loadMoreVersions','_lastPointer','UNDEFINED','users','SetCellStyle','isArray','IMessageService','Loaded','UNIVER_UNKNOWN','_getActiveSubUnitId','_diffs','merge','endRev','time','get','ranges','Subject','_componentManager','AddSheetSparklineMutation','pipe','startRow','APPLY_NON_SEQUENTIAL_REVISION','_status$','getVersions','VIRTUAL_VERSION_NOW','SelectUnProtectedCells','BuiltInUIPart','currentColor','UniverInstanceType','createSheet','getMinutes','createElement','back-icon','addObjects','width','_configService','sheet','updatePermissionPoint','UniverSheetsUIPlugin','toISOString','setValue','SetFrozenMutation','executeCommand','SetWorksheetStyle','SetConditionalRuleMutation','univer-text-2xl\x20dark:!univer-text-white','map','CreateWorksheet','YUUMI_SUBSCRIPTION_NOT_FOUND','scrollEvent$','deleteProtection','recoverTime','params','SNAPSHOT_HAS_BEEN_REMOVED','RangeMergeUtil','_fetching$','blocks','getDeserializedSheetBlock','className','useCallback','HistoryOrigin','debounceTime','setDV','getMember','LOGIN_TOKEN_PROCESSING_FAILED','ENTITLE_NEED_BILLING_ADDRESS','Fragment','values','UNAUTHENTICATED','_transformMutationByOrder','commands','DATA_SOURCE_TOO_LARGE','InsertHyperlink','EditExtraObject','origin','setState','triggerLoadSheet','xlink:href','loading','subscribeEvent','Delete','Unspecified','CollaborationImageIoService','DeleteWorksheet','unitId$','_setVersions','triggerLoadVersions','1696152jYbXDB','editHistory.panel.confirm','some','/universer-api/history','clipPath','_permissionService','toDisposable','skeleton','AddWorksheetMergeMutation','ENTITLE_COUPON_EXPIRED','TOO_MANY_REQUESTS','HistoryManagerService','AddWorksheetProtectionMutation','PY_RUNTIME_SCRIPT_ERROR','unitId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','USER_IS_ANONYMOUS','Exited','ERROR_AGAIN','EditWorksheetCell','FloatImg','ENTITLE_COUPON_USED_UP','sheetId','Copy','range','mutations','length','getSeconds','Vector2','isTransformMutationsSuccess','_univerInstanceService','SetSheetsFilterRangeMutation','_removeDiffMarks','SetWorksheetActiveOperation','EMAIL_HAS_BEEN_BOUND','_openPanel','onSteady','Tooltip','then','_getRangesByMutation','pluginName','ObjectMatrix','_yieldToMain','DisposableCollection','_diffRangesMap','CreateSheet','YUUMI_URL_COL_OUT_OF_RANGE','body','CURRENT_STATUS_CANNOT_OPERATE','_getSheetObject','entered','now','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_CONNECTOR_URL_NOT_FOUND','0\x200\x2016\x2016','_dialogOptions$','creators','evenodd','split','registerRenderModule','currentVersion$','idSuffix','EMAIL_VERIFY_CODE_MISMATCH','IConfirmService','blockMeta','UNIVER_DOC','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','zIndex','next','_maskElement','_commandService','MoveSheet','setFrozen','date','defIds','CreateUnitMutation','triggerRevert','showMask','getCurrentVersion','_historyContainerId','_hasMore','SetRangeProtectionMutation','find','ViewFilter','Filter','IUniverInstanceService','USER_NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','DeleteRow','makeDirty','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','style','editHistory.panel.currentUser','revertRevision$','_snapshotServerService','ReorderRangeMutation','hasCommand','_injector','stopPropagation','10424RmEBFA','Inject','User','keys','history-panel','REDEMPTION_CODE_INACTIVE','top','ALREADY_EXISTS','ICellEditorManagerService','workbook','CreatePermissionObject','VIEW_MAIN','Error','HEADER','getConfig','InsertColumn','endRow','displayName','Export','getAncestorScale','YUUMI_AI_RUN_FAILED','BehaviorSubject','center','ZH_CN','m1Prime','from','fetching$','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','editHistory.panel.revertConfirm','RemoveSheetMutation','_workbookDataCache','span','SetColumnStyle','REDEMPTION_USER_REDEEM_TIMES_EXCEED','push','rule','ViemRwHgtClWdt','CompressMutationService','transformMutations','syncExecuteCommand','disposeWithMe','getUnitId','row','Loading','RenameWorksheet','_transformService','YUUMI_ASYNCIO_CANCELLED','_updateDiffMarks','Module','closeAll','toString','_members','WorkbookEditablePermission','CHANGESET_REVISION_CONFILICT','http://www.w3.org/2000/svg','_config','setConfig','InsertRow','InsertSheetMutation','path','Print','rgba(225,\x20225,\x20225,\x200.5)','getCurrentUnitForType','INVALID_ARGUMENT','querySelector','editHistory.panel.currentVersion','addSparkline','left','95385RKRZTh','SetNumfmtMutation','Duplicate',':\x20(','LOGIN_FAILED','switchMap','exited','fill','forEach','_createMask','useRef','_httpService','white','append','dateString','CONNECTOR_DATA_TOO_LARGE','_sidebarDisposable','restore-icon','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','history-mask','REDEMPTION_CODE_NOT_STARTED','univer-overflow-hidden','[HistoryFetchService]:\x20request\x20snapshot\x20error!','endColumn','add','parseProtocolChangeset','ENTITLE_REPORT_LIMIT_EXCEED','_extractRanges','refreshRangeProtectPermission','fetching','Button','ViewHistory','revertSheet','IImageIoService','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subscribe','status','addProtection','_versions$','APPLY_DUPLICATED','HideWorksheet','_currentVersionDiff$','status$','univer-flex\x20univer-items-center\x20univer-justify-center','_localeService','SetCellValue','INVITE_CODE_ALREADY_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','ISnapshotServerService','loading-multi-icon','SelectProtectedCells','UNIVER_SLIDE','_lastLabel','_sidebarService','IConfigService','AddDataValidationMutation','_initPanel','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','open','WECHAT_HAS_BEEN_BOUND','LocaleService','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','getCurrentLocale','Injector','LICENSE_EXPORT_SIZE_EXCEEDED','getInterceptPoints','_confirmService','jsx','connectInjector','INVITE_CODE_REQUIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','44oHnlyH','LoadingMultiIcon','_messageService','cellValue','init','AddConditionalRuleMutation','subUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DeleteRangeProtectionMutation','FromArray','_historyManagerService','editHistory.info.loading','_sheetPermissionInitController','div','APPLY_PERMISSION_DENIED','use','632205yFpzvv','_revertRevision$','InsertColMutation','IRenderManagerService','WorkbookMoveSheetPermission','insertChart','editHistory.panel.revertConfirmText','loaded','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','HideSheet','RevertRevisionMutation','_context','flat','614RejYEz','_canRevert','_unitId$','_maskContainer','REDEMPTION_CODE_HAS_BEEN_CREATED','rules','height','Plugin','LocaleType','entries','url(#$1','insertSheet','block','memberId','_combineRanges','MoveRangeMutation','onMouseMove','hideMask','UNRECOGNIZED','replace','_getAPIPrefix','defineProperty','error','Disposable','userId','forwardRef','editHistory.panel.revertDesc','RemoveNumfmtMutation','substring','_sheetSkeletonManagerService','historyPanelComponentKey','clsx','loadingState$','register','getOwnPropertyDescriptor','univer-animate-spin','773bNHVfm','COMPLETION_FINISHED','Entered','column','permissionPointUpdate$','univer-m-auto\x20univer-animate-spin','random','Edit','History','borderBottomClassName'];_0x4b69=function(){return _0x59073d;};return _0x4b69();}let z=class extends c[_0x36a310(0x212)]{constructor(_0x4b5240,_0x3e84c3,_0x42efee,_0xb3abf5,_0x3dcbd3,_0x30a75c,_0x2b7aff){const _0x47cbc5=_0x36a310;super(),u(this,'_diffs',new Set()),u(this,'_lastPointer',null),(this[_0x47cbc5(0x1f9)]=_0x4b5240,this[_0x47cbc5(0x1e8)]=_0x3e84c3,this[_0x47cbc5(0x29c)]=_0x42efee,this['_univerInstanceService']=_0xb3abf5,this[_0x47cbc5(0x271)]=_0x3dcbd3,this[_0x47cbc5(0x218)]=_0x30a75c,this[_0x47cbc5(0x360)]=_0x2b7aff,this['_init']());}[_0x36a310(0x295)](){const _0x1bfebc=_0x36a310;this['_initRender'](),this[_0x1bfebc(0x286)]();}['_initRender'](){const _0x154a94=_0x36a310;this['disposeWithMe'](p[_0x154a94(0x28c)]([this[_0x154a94(0x1e8)][_0x154a94(0x21b)],this[_0x154a94(0x218)]['currentSkeleton$']])['pipe'](p[_0x154a94(0x3c7)](([_0x257f44,_0x57a45b])=>{const _0x37aac1=_0x154a94;if(_0x257f44===w['Loaded']&&_0x57a45b){const _0x2a2251=_0x57a45b[_0x37aac1(0x330)];return this['_versionDiffService'][_0x37aac1(0x288)]['pipe'](p[_0x37aac1(0x2f1)](_0x3a4ee8=>{const _0x8a2d81=_0x37aac1,_0x34dd2a=new Map();return _0x3a4ee8[_0x8a2d81(0x2d2)]['forEach']((_0x51fdc0,_0x16b8d3)=>{const _0x4144b6=_0x8a2d81,_0x50f785=_0x51fdc0[_0x4144b6(0x28a)](_0x104ee6=>_0x104ee6['subUnitId']===_0x2a2251);_0x34dd2a[_0x4144b6(0x24f)](_0x16b8d3,_0x50f785);}),{'skeleton':_0x57a45b,'diffs':_0x34dd2a};}));}return p['of']({'skeleton':null,'diffs':new Map()});}))[_0x154a94(0x3e6)](({skeleton:_0x2c52a8,diffs:_0x38528b})=>{const _0xeecaa4=_0x154a94;this[_0xeecaa4(0x33a)](),_0x2c52a8&&this[_0xeecaa4(0x3ad)](_0x2c52a8,_0x38528b);})),this[_0x154a94(0x3a6)](this[_0x154a94(0x218)][_0x154a94(0x26e)][_0x154a94(0x3e6)](_0x4cd6bc=>{const _0xb5470d=_0x154a94;if(_0x4cd6bc==null)return;const {skeleton:_0x51dc78}=_0x4cd6bc,{scene:_0x25c397}=this[_0xb5470d(0x1f9)];_0x25c397[_0xb5470d(0x22c)][_0xb5470d(0x312)](c[_0xb5470d(0x269)](_0x1b3fe3=>{const _0x57c06e=_0xb5470d;var _0x6cd213,_0x528a5a;const {offsetX:_0x5074e,offsetY:_0x234795}=_0x1b3fe3,{x:_0x7a86ba,y:_0x1e3a95}=_0x25c397['getRelativeToViewportCoord']($[_0x57c06e(0x336)][_0x57c06e(0x1e7)]([_0x5074e,_0x234795])),{scaleX:_0x3bb9bf,scaleY:_0x400fc4}=_0x25c397[_0x57c06e(0x391)](),_0xa1faa2=_0x25c397[_0x57c06e(0x285)]($[_0x57c06e(0x250)][_0x57c06e(0x389)]),_0x50f33c=_0x25c397[_0x57c06e(0x375)]($[_0x57c06e(0x336)][_0x57c06e(0x1e7)]([_0x7a86ba,_0x1e3a95]),_0xa1faa2),_0x46d636=_0x51dc78[_0x57c06e(0x374)](_0x5074e,_0x234795,_0x3bb9bf,_0x400fc4,_0x50f33c);((_0x6cd213=this[_0x57c06e(0x2c4)])==null?void 0x0:_0x6cd213['column'])===_0x46d636[_0x57c06e(0x222)]&&((_0x528a5a=this[_0x57c06e(0x2c4)])==null?void 0x0:_0x528a5a[_0x57c06e(0x3a8)])===_0x46d636[_0x57c06e(0x3a8)]||this[_0x57c06e(0x2cd)][_0x57c06e(0x3ca)](_0x228873=>{const _0x3273ce=_0x57c06e;_0x228873[_0x3273ce(0x20b)](_0x46d636);});},0x64));}));}['_initActiveSwitch'](){const _0x37356c=_0x36a310;this[_0x37356c(0x3a6)](this['_historyManagerService'][_0x37356c(0x21b)]['subscribe'](_0x46e849=>{const _0x48729c=_0x37356c,_0x55ae76=new c[(_0x48729c(0x345))]();return _0x46e849===w[_0x48729c(0x2ca)]&&(_0x55ae76['dispose'](),_0x55ae76[_0x48729c(0x3da)](this['_versionDiffService']['currentVersionDiff$'][_0x48729c(0x3e6)](_0x1a7779=>{const _0x4e22dd=_0x48729c;_0x1a7779['active']&&this[_0x4e22dd(0x360)][_0x4e22dd(0x2ed)](h[_0x4e22dd(0x33b)]['id'],{'unitId':this['_context'][_0x4e22dd(0x328)],'subUnitId':_0x1a7779['active']});}))),()=>_0x55ae76[_0x48729c(0x25f)]();}));}['_updateDiffMarks'](_0x21f579,_0x1f1d9c){const _0xd52a91=_0x36a310;var _0x4a01d4;const _0x369cfa=(_0x4a01d4=this[_0xd52a91(0x218)]['getCurrent']())==null?void 0x0:_0x4a01d4[_0xd52a91(0x321)];if(!_0x369cfa)return;this[_0xd52a91(0x2cd)]['forEach'](_0x1c67bc=>{const _0x43052c=_0xd52a91;_0x1c67bc[_0x43052c(0x373)]();});const {scene:_0x50383f}=this[_0xd52a91(0x1f9)],_0x28e6f7=Array[_0xd52a91(0x397)](_0x1f1d9c[_0xd52a91(0x381)]())[_0xd52a91(0x2f1)](_0x3930c3=>_0x1f1d9c[_0xd52a91(0x2d1)](_0x3930c3)[_0xd52a91(0x2f1)](_0x107dfd=>{const _0x241622=_0xd52a91;var _0x3b53ce;const {range:_0x2c01be,subUnitId:_0x329537,unitId:_0x3e9da4}=_0x107dfd,{startColumn:_0x389cb9,startRow:_0x550356,endColumn:_0x39d683,endRow:_0x4d5768}=_0x2c01be,_0x253672=C['getCoordByCell'](_0x550356,_0x389cb9,_0x50383f,_0x369cfa),_0x3dc79a=C['getCoordByCell'](_0x4d5768,_0x39d683,_0x50383f,_0x369cfa),{columnHeaderHeightAndMarginTop:_0x5d3770}=_0x369cfa,{startX:_0x32cdf9,startY:_0x48f401}=_0x253672,{endX:_0x1d22e2,endY:_0x5707cd}=_0x3dc79a,_0xd0f26a=_0x1d22e2-_0x32cdf9,_0x8a1402=_0x5707cd-_0x48f401,_0x812c5b={'labelPosition':_0x48f401-_0x5d3770>=0x14?'top':_0x241622(0x2be),'sheetID':_0x329537,'range':_0x2c01be,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x3b53ce=this[_0x241622(0x1e8)][_0x241622(0x302)](_0x3930c3))==null?void 0x0:_0x3b53ce[_0x241622(0x2b6)])||'','selection':_0x3e9da4+'-'+_0x329537+'-'+_0x2c01be[_0x241622(0x22a)]+'-'+_0x2c01be[_0x241622(0x2d7)]+'-'+_0x2c01be[_0x241622(0x3d9)]+'-'+_0x2c01be['endRow'],'left':_0x32cdf9,'top':_0x48f401,'width':_0xd0f26a,'height':_0x8a1402,'evented':!0x1,'zIndex':0x1};return new Me[(_0x241622(0x29f))]('',_0x812c5b);}))[_0xd52a91(0x1fa)]();_0x50383f[_0xd52a91(0x2e4)](_0x28e6f7,0x1),this['_diffs']=new Set(_0x28e6f7);}[_0x36a310(0x33a)](){const _0x51b01c=_0x36a310;var _0x2b7dda;(_0x2b7dda=this[_0x51b01c(0x2cd)])==null||_0x2b7dda[_0x51b01c(0x3ca)](_0x21be1b=>_0x21be1b[_0x51b01c(0x25f)]());}[_0x36a310(0x34b)](){const _0x209b8e=_0x36a310;return C[_0x209b8e(0x2b9)](this['_univerInstanceService'],this[_0x209b8e(0x271)]);}};z=Je([L(0x1,c[_0x36a310(0x37f)](exports[_0x36a310(0x325)])),L(0x2,c[_0x36a310(0x37f)](x)),L(0x3,c['IUniverInstanceService']),L(0x4,$[_0x36a310(0x1f1)]),L(0x5,c[_0x36a310(0x37f)](C['SheetSkeletonManagerService'])),L(0x6,c['ICommandService'])],z);function et(){const _0x4e9b7c=_0x36a310,_0x8350f=E['useDependency'](exports[_0x4e9b7c(0x325)]),_0x5cc047=E[_0x4e9b7c(0x2af)](_0x8350f['versions$']),[_0x409b52,_0x3955bd]=O['useState'](!0x1),_0x4755ca=Ce(_0x5cc047);return _0x5cc047?d[_0x4e9b7c(0x1da)](_0x4e9b7c(0x1eb),{'className':_0x4e9b7c(0x3d7),'children':d[_0x4e9b7c(0x246)](_0x4e9b7c(0x1eb),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x4755ca['map']((_0x3eb2dc,_0x1da71c)=>d[_0x4e9b7c(0x246)](O[_0x4e9b7c(0x305)],{'children':[d['jsx'](it,{'date':_0x3eb2dc[_0x4e9b7c(0x3d0)]}),_0x3eb2dc[_0x4e9b7c(0x283)][_0x4e9b7c(0x2f1)]((_0x41f7f9,_0xd8d70d)=>d[_0x4e9b7c(0x1da)](nt,{'index':[_0x1da71c,_0xd8d70d],'item':_0x41f7f9},_0x1da71c+'-'+_0xd8d70d))]},_0x3eb2dc[_0x4e9b7c(0x3d0)])),_0x409b52&&d['jsx'](tt,{})]})}):d[_0x4e9b7c(0x1da)](st,{});}function tt(){const _0x4f8533=_0x36a310;return d[_0x4f8533(0x1da)](_0x4f8533(0x1eb),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':d['jsx'](te,{'className':_0x4f8533(0x21e)})});}function st(){const _0x5eae76=_0x36a310;return d[_0x5eae76(0x1da)](_0x5eae76(0x1eb),{'className':_0x5eae76(0x3ee),'children':d[_0x5eae76(0x1da)](_0x5eae76(0x39d),{'className':'univer-text-gray-500','children':d['jsx'](te,{'className':_0x5eae76(0x224)})})});}function it(_0x538b94){const _0x3e66b6=_0x36a310,_0x196dc1=E[_0x3e66b6(0x256)](c['LocaleService']),{date:_0x2796ba}=_0x538b94;return d[_0x3e66b6(0x1da)](_0x3e66b6(0x1eb),{'className':_0x3e66b6(0x273),'children':Q(_0x2796ba,_0x196dc1[_0x3e66b6(0x1d5)]())});}function nt(_0x4c3a51){const _0x4d9ab9=_0x36a310,{item:_0x21d503,index:_0xd1c06d}=_0x4c3a51,{time:_0x40c3f3,user:_0x32a193}=_0x21d503,[_0x2c47cb,_0x5c15eb]=_0xd1c06d,_0x54abb3=E[_0x4d9ab9(0x256)](exports[_0x4d9ab9(0x325)]),_0xa33438=E[_0x4d9ab9(0x2af)](_0x54abb3[_0x4d9ab9(0x356)],'',!0x0)===_0x21d503['id'],_0x52e771=_0x2c47cb===0x0&&_0x5c15eb===0x0,_0x34c79d=!_0x52e771&&_0x54abb3[_0x4d9ab9(0x2c0)],_0xfbb848=E['useDependency'](c[_0x4d9ab9(0x1d3)]),_0x3c75d5=_0xfbb848['getCurrentLocale'](),_0x2e3812=ee(_0x40c3f3,_0x3c75d5),_0x51a060=_0xfbb848['t'](_0x4d9ab9(0x3bf)),_0x5937ee=O[_0x4d9ab9(0x2fe)](_0x27a29f=>{const _0x409b3e=_0x4d9ab9;_0x54abb3[_0x409b3e(0x278)]!==w[_0x409b3e(0x3a9)]&&(_0x54abb3['currentVersion']=_0x27a29f);},[_0x54abb3]),_0x56ee7b=O[_0x4d9ab9(0x2fe)](_0x51c752=>{const _0x1727df=_0x4d9ab9;_0x54abb3[_0x1727df(0x366)](_0x51c752);},[_0x54abb3]);return d[_0x4d9ab9(0x246)](_0x4d9ab9(0x1eb),{'className':P[_0x4d9ab9(0x21a)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0xa33438}),'onClick':()=>_0x5937ee(_0x21d503['id']),'children':[d[_0x4d9ab9(0x246)](_0x4d9ab9(0x1eb),{'className':_0x4d9ab9(0x2bd),'children':[d[_0x4d9ab9(0x246)](_0x4d9ab9(0x1eb),{'className':_0x4d9ab9(0x3d4),'children':[d[_0x4d9ab9(0x1da)](_0x4d9ab9(0x39d),{'children':_0x2e3812[_0x4d9ab9(0x2d0)]}),_0x52e771&&d[_0x4d9ab9(0x1da)]('span',{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x51a060})]}),d[_0x4d9ab9(0x1da)](_0x4d9ab9(0x1eb),{'children':_0x34c79d&&d[_0x4d9ab9(0x1da)](P[_0x4d9ab9(0x33f)],{'title':_0xfbb848['t'](_0x4d9ab9(0x215)),'children':d[_0x4d9ab9(0x1da)]('div',{'onClick':_0xcff9df=>{const _0x18718f=_0x4d9ab9;_0xcff9df[_0x18718f(0x37d)](),_0x56ee7b(_0x21d503['id']);},'className':_0x4d9ab9(0x1d4),'children':d[_0x4d9ab9(0x1da)](Ie,{})})})})]}),d[_0x4d9ab9(0x1da)]('div',{'className':_0x4d9ab9(0x1f6),'children':ye(_0x21d503,_0xfbb848)})]});}var rt=Object[_0x36a310(0x21d)],at=(_0x385b2b,_0x3d724e,_0x7f9310,_0x2c8759)=>{for(var _0x58207f=_0x2c8759>0x1?void 0x0:_0x2c8759?rt(_0x3d724e,_0x7f9310):_0x3d724e,_0xa6efd4=_0x385b2b['length']-0x1,_0x4a4a91;_0xa6efd4>=0x0;_0xa6efd4--)(_0x4a4a91=_0x385b2b[_0xa6efd4])&&(_0x58207f=_0x4a4a91(_0x58207f)||_0x58207f);return _0x58207f;},U=(_0xfd6029,_0x1ee5ad)=>(_0x5b65e4,_0x34dcc8)=>_0x1ee5ad(_0x5b65e4,_0x34dcc8,_0xfd6029);const oe=_0x36a310(0x382);let B=class extends c[_0x36a310(0x212)]{constructor(_0x3c94b8,_0x3b3e5d,_0x274a10,_0x373d4a,_0x3e5bbc){const _0x3fcf1f=_0x36a310;super(),u(this,_0x3fcf1f(0x3d2),null),(this[_0x3fcf1f(0x1cc)]=_0x3c94b8,this[_0x3fcf1f(0x2d4)]=_0x3b3e5d,this[_0x3fcf1f(0x3ef)]=_0x274a10,this['_historyManagerService']=_0x373d4a,this[_0x3fcf1f(0x2e6)]=_0x3e5bbc,this[_0x3fcf1f(0x295)]());}['_init'](){const _0x3e805d=_0x36a310;this['_initPanel'](),this[_0x3e805d(0x33d)]();}[_0x36a310(0x33d)](){const _0x64d135=_0x36a310;var _0x27de5f;if(this[_0x64d135(0x3d2)])return;const _0x4400f4=((_0x27de5f=this[_0x64d135(0x2e6)][_0x64d135(0x38c)](J))==null?void 0x0:_0x27de5f[_0x64d135(0x219)])||oe,_0x1134ae={'header':{'title':this['_localeService']['t'](_0x64d135(0x254))},'children':{'label':_0x4400f4},'onClose':()=>{const _0x196070=_0x64d135;this[_0x196070(0x3d2)]=null,this[_0x196070(0x1e8)][_0x196070(0x3e7)]=Y[_0x196070(0x32b)];}};this['_sidebarDisposable']=this[_0x64d135(0x1cc)][_0x64d135(0x1d1)]({..._0x1134ae});}[_0x36a310(0x1cf)](){const _0x4ceb38=_0x36a310;this[_0x4ceb38(0x3a6)](this[_0x4ceb38(0x2d4)][_0x4ceb38(0x21c)](oe,et)),this['disposeWithMe'](this[_0x4ceb38(0x1cc)][_0x4ceb38(0x2f4)][_0x4ceb38(0x2d6)](p[_0x4ceb38(0x300)](0x64))[_0x4ceb38(0x3e6)](_0x10d6ae=>{const _0x216d9a=_0x4ceb38,{target:_0x383414}=_0x10d6ae||{};if(_0x383414){const {scrollTop:_0x15d891,scrollHeight:_0x1e093f,clientHeight:_0x25c594}=_0x383414;_0x15d891+_0x25c594>=_0x1e093f-0x5&&this[_0x216d9a(0x1e8)][_0x216d9a(0x2c3)]();}}));}};B=at([U(0x0,E['ISidebarService']),U(0x1,c[_0x36a310(0x37f)](E['ComponentManager'])),U(0x2,c['Inject'](c[_0x36a310(0x1d3)])),U(0x3,c[_0x36a310(0x37f)](exports['HistoryManagerService'])),U(0x4,c[_0x36a310(0x1cd)])],B);class ot extends c[_0x36a310(0x212)]{constructor(){const _0x2dfa42=_0x36a310;super(),u(this,_0x2dfa42(0x351),new p[(_0x2dfa42(0x2d3))]());}['open'](){const _0x1fa9be=_0x36a310;return c[_0x1fa9be(0x320)](()=>{});}['close'](){}[_0x36a310(0x3af)](_0x24af95){}[_0x36a310(0x264)](){const _0x82af2d=_0x36a310;return this[_0x82af2d(0x351)][_0x82af2d(0x28e)]();}}var ct=Object[_0x36a310(0x210)],lt=Object[_0x36a310(0x21d)],_t=(_0x1e79af,_0x1450d1,_0x25f9e3)=>_0x1450d1 in _0x1e79af?ct(_0x1e79af,_0x1450d1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25f9e3}):_0x1e79af[_0x1450d1]=_0x25f9e3,ut=(_0x25faff,_0x20ca92,_0x213cad,_0x368f28)=>{const _0x3d69cc=_0x36a310;for(var _0x587887=_0x368f28>0x1?void 0x0:_0x368f28?lt(_0x20ca92,_0x213cad):_0x20ca92,_0x47af16=_0x25faff[_0x3d69cc(0x334)]-0x1,_0x43af34;_0x47af16>=0x0;_0x47af16--)(_0x43af34=_0x25faff[_0x47af16])&&(_0x587887=_0x43af34(_0x587887)||_0x587887);return _0x587887;},q=(_0x12029c,_0xd58de2)=>(_0x4fd565,_0x5d8473)=>_0xd58de2(_0x4fd565,_0x5d8473,_0x12029c),ht=(_0x12283f,_0x2a3235,_0x4a664d)=>_t(_0x12283f,_0x2a3235+'',_0x4a664d);const It=_0x36a310(0x262);exports['UniverEditHistoryViewerPlugin']=class extends c[_0x36a310(0x202)]{constructor(_0x236322=re,_0x3a8ac1,_0x3c0b9e,_0x52ef41){const _0x4519fe=_0x36a310;super(),this[_0x4519fe(0x3b5)]=_0x236322,this['_injector']=_0x3a8ac1,this[_0x4519fe(0x271)]=_0x3c0b9e,this[_0x4519fe(0x2e6)]=_0x52ef41;const {..._0x12d90e}=c[_0x4519fe(0x2ce)]({},re,this[_0x4519fe(0x3b5)]);this[_0x4519fe(0x2e6)][_0x4519fe(0x3b6)](J,_0x12d90e);}['onStarting'](){const _0x37e770=_0x36a310;[[exports['HistoryManagerService']],[F],[x],[j],[B],[H],[R[_0x37e770(0x1c7)],{'useClass':ne['SnapshotServerOverHTTPService']}],[E['IDialogService'],{'useClass':ot}],[Ne[_0x37e770(0x3e3)],{'useClass':ne[_0x37e770(0x315)]}]][_0x37e770(0x3ca)](_0x5a512f=>this[_0x37e770(0x37c)]['add'](_0x5a512f)),this['_injector']['get'](F);}['onRendered'](){const _0x213707=_0x36a310;[[z]]['forEach'](_0x2742bb=>{const _0x3d42a2=_0x2224;this[_0x3d42a2(0x3a6)](this[_0x3d42a2(0x271)][_0x3d42a2(0x355)](c[_0x3d42a2(0x2df)][_0x3d42a2(0x23b)],_0x2742bb));}),this[_0x213707(0x37c)][_0x213707(0x2d1)](H),this[_0x213707(0x37c)][_0x213707(0x2d1)](B);}[_0x36a310(0x33e)](){const _0x54510f=_0x36a310;this['_injector'][_0x54510f(0x2d1)](x);}},ht(exports[_0x36a310(0x272)],_0x36a310(0x342),It),exports[_0x36a310(0x272)]=ut([c['DependentOn'](C[_0x36a310(0x2e9)],ce['UniverNetworkPlugin']),q(0x1,c[_0x36a310(0x37f)](c[_0x36a310(0x1d6)])),q(0x2,$['IRenderManagerService']),q(0x3,c[_0x36a310(0x1cd)])],exports[_0x36a310(0x272)]),exports['HistoryModeStatus']=Y,exports[_0x36a310(0x2ff)]=_e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x5561d5=_0x11a8;(function(_0x26bce9,_0x1bff40){const _0x2240ee=_0x11a8,_0x31eeb7=_0x26bce9();while(!![]){try{const _0x3d2de8=parseInt(_0x2240ee(0x15b))/0x1+parseInt(_0x2240ee(0x140))/0x2+-parseInt(_0x2240ee(0x145))/0x3+parseInt(_0x2240ee(0x15a))/0x4*(-parseInt(_0x2240ee(0x144))/0x5)+parseInt(_0x2240ee(0x159))/0x6+-parseInt(_0x2240ee(0x143))/0x7*(-parseInt(_0x2240ee(0x150))/0x8)+parseInt(_0x2240ee(0x142))/0x9*(-parseInt(_0x2240ee(0x154))/0xa);if(_0x3d2de8===_0x1bff40)break;else _0x31eeb7['push'](_0x31eeb7['shift']());}catch(_0x534a74){_0x31eeb7['push'](_0x31eeb7['shift']());}}}(_0x322d,0xd2d64));function _0x322d(){const _0x1e7206=['153lEKlPN','4802FPnxWr','30ZdnhRr','1024173FJAiJV','delete\x20protection','set\x20filter','exports','Restore\x20this\x20version','Current\x20Version','inserted\x20worksheet','set\x20frozen','Current\x20User','Cancel','Failed\x20to\x20get\x20edit\x20history\x20list','13256oqsDpU','reverted\x20workbook','loading,\x20please\x20wait...','add\x20conditional\x20formatting','595710praEbt','created\x20workbook','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20data\x20validation','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','599292jaWUoy','241564MmwSDb','426871DipDRT','add\x20protection','set\x20conditional\x20formatting','inserted\x20chart','deleted\x20worksheet',',\x20etc.','Back','edited\x20worksheet','Restore\x20this\x20version?','1833154avqvMI','add\x20sparkline'];_0x322d=function(){return _0x1e7206;};return _0x322d();}const e={'editHistory':{'panel':{'title':'Edit\x20History','unknownUser':'Unknown\x20User','listFetchError':_0x5561d5(0x14f),'revertConfirm':_0x5561d5(0x13f),'revertConfirmText':_0x5561d5(0x158),'cancel':_0x5561d5(0x14e),'confirm':'Confirm','reverting':'Reverting,\x20please\x20wait...','revertFailed':_0x5561d5(0x156),'currentVersion':_0x5561d5(0x14a),'currentUser':_0x5561d5(0x14d),'revertDesc':_0x5561d5(0x149)},'info':{'loading':_0x5561d5(0x152)},'header':{'back':_0x5561d5(0x161),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':_0x5561d5(0x14b),'removeSheet':_0x5561d5(0x15f),'createSheet':_0x5561d5(0x155),'setFilter':_0x5561d5(0x147),'setFrozen':_0x5561d5(0x14c),'editSheet':_0x5561d5(0x162),'revertSheet':_0x5561d5(0x151),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':_0x5561d5(0x157),'setCF':_0x5561d5(0x15d),'addCF':_0x5561d5(0x153),'addProtection':_0x5561d5(0x15c),'addSparkline':_0x5561d5(0x141),'insertChart':_0x5561d5(0x15e),'deleteProtection':_0x5561d5(0x146),'etc':_0x5561d5(0x160)}}},t=e;function _0x11a8(_0x40207d,_0xb1e6c1){_0x40207d=_0x40207d-0x13f;const _0x322d12=_0x322d();let _0x11a833=_0x322d12[_0x40207d];return _0x11a833;}module[_0x5561d5(0x148)]=t;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1c9717=_0x1d3b;(function(_0x3cd0ec,_0x4d1c75){const _0x5c51b8=_0x1d3b,_0x230ece=_0x3cd0ec();while(!![]){try{const _0x3a9f0e=parseInt(_0x5c51b8(0x154))/0x1+parseInt(_0x5c51b8(0x145))/0x2+parseInt(_0x5c51b8(0x14d))/0x3*(parseInt(_0x5c51b8(0x144))/0x4)+parseInt(_0x5c51b8(0x139))/0x5+-parseInt(_0x5c51b8(0x138))/0x6+parseInt(_0x5c51b8(0x142))/0x7*(-parseInt(_0x5c51b8(0x14c))/0x8)+parseInt(_0x5c51b8(0x140))/0x9*(-parseInt(_0x5c51b8(0x13b))/0xa);if(_0x3a9f0e===_0x4d1c75)break;else _0x230ece['push'](_0x230ece['shift']());}catch(_0xd08948){_0x230ece['push'](_0x230ece['shift']());}}}(_0x41d5,0x6ae95));function _0x41d5(){const _0x57179e=['Unknown\x20User','955056SQOaEY','197620kzIzsj','set\x20data\x20validation','980RjNmOU','edited\x20worksheet','created\x20workbook','Back','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','36189jTKMJh','delete\x20protection','7BnRSDK',',\x20etc.','76NxGiJR','1314396aqGCgv','Current\x20User','Reverted\x20from','reverted\x20workbook','Edit\x20History','add\x20protection','add\x20sparkline','3351912NIHnTB','7509OFlWIP','Failed\x20to\x20get\x20edit\x20history\x20list','Reverting,\x20please\x20wait...','add\x20conditional\x20formatting','set\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','Restore\x20this\x20version','665853snxeVe','Restore\x20this\x20version?','set\x20filter'];_0x41d5=function(){return _0x57179e;};return _0x41d5();}function _0x1d3b(_0x2aea46,_0x596d8d){_0x2aea46=_0x2aea46-0x136;const _0x41d555=_0x41d5();let _0x1d3beb=_0x41d555[_0x2aea46];return _0x1d3beb;}const e={'editHistory':{'panel':{'title':_0x1c9717(0x149),'unknownUser':_0x1c9717(0x137),'listFetchError':_0x1c9717(0x14e),'revertConfirm':_0x1c9717(0x155),'revertConfirmText':_0x1c9717(0x13f),'cancel':'Cancel','confirm':'Confirm','reverting':_0x1c9717(0x14f),'revertFailed':_0x1c9717(0x152),'currentVersion':'Current\x20Version','currentUser':_0x1c9717(0x146),'revertDesc':'Restore\x20this\x20version'},'info':{'loading':'loading,\x20please\x20wait...'},'header':{'back':_0x1c9717(0x13e),'revert':_0x1c9717(0x153)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':'deleted\x20worksheet','createSheet':_0x1c9717(0x13d),'setFilter':_0x1c9717(0x136),'setFrozen':'set\x20frozen','editSheet':_0x1c9717(0x13c),'revertSheet':_0x1c9717(0x148),'revertSheetPrefix':_0x1c9717(0x147),'revertSheetSuffix':'','setDV':_0x1c9717(0x13a),'setCF':_0x1c9717(0x151),'addCF':_0x1c9717(0x150),'addProtection':_0x1c9717(0x14a),'addSparkline':_0x1c9717(0x14b),'insertChart':'inserted\x20chart','deleteProtection':_0x1c9717(0x141),'etc':_0x1c9717(0x143)}}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x45f4a4=_0x46a6;(function(_0x4fc43b,_0x40cf0a){const _0x2e3e57=_0x46a6,_0x2b7cc0=_0x4fc43b();while(!![]){try{const _0x3ed165=parseInt(_0x2e3e57(0x85))/0x1+-parseInt(_0x2e3e57(0x81))/0x2+-parseInt(_0x2e3e57(0x94))/0x3+parseInt(_0x2e3e57(0x9b))/0x4*(parseInt(_0x2e3e57(0x8b))/0x5)+parseInt(_0x2e3e57(0x97))/0x6*(parseInt(_0x2e3e57(0x8d))/0x7)+parseInt(_0x2e3e57(0x92))/0x8*(-parseInt(_0x2e3e57(0x9a))/0x9)+parseInt(_0x2e3e57(0x9f))/0xa;if(_0x3ed165===_0x40cf0a)break;else _0x2b7cc0['push'](_0x2b7cc0['shift']());}catch(_0xd4f1e4){_0x2b7cc0['push'](_0x2b7cc0['shift']());}}}(_0x1238,0xb8d86));const e={'editHistory':{'panel':{'title':_0x45f4a4(0x8e),'unknownUser':'Unknown\x20User','listFetchError':_0x45f4a4(0x93),'revertConfirm':_0x45f4a4(0x90),'revertConfirmText':_0x45f4a4(0x95),'cancel':_0x45f4a4(0x8a),'confirm':_0x45f4a4(0x80),'reverting':_0x45f4a4(0x83),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x45f4a4(0x96),'currentUser':_0x45f4a4(0x87),'revertDesc':_0x45f4a4(0x91)},'info':{'loading':_0x45f4a4(0x9c)},'header':{'back':_0x45f4a4(0x9d),'revert':_0x45f4a4(0x91)},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x45f4a4(0x99),'createSheet':_0x45f4a4(0x88),'setFilter':_0x45f4a4(0x84),'setFrozen':'set\x20frozen','editSheet':_0x45f4a4(0x82),'revertSheet':_0x45f4a4(0x8f),'revertSheetPrefix':_0x45f4a4(0x7f),'revertSheetSuffix':'','setDV':_0x45f4a4(0x8c),'setCF':'set\x20conditional\x20formatting','addCF':_0x45f4a4(0x9e),'addProtection':'add\x20protection','addSparkline':_0x45f4a4(0x89),'insertChart':'inserted\x20chart','deleteProtection':_0x45f4a4(0x98),'etc':',\x20etc.'}}},t=e;function _0x46a6(_0x1dd67b,_0xb74ff5){_0x1dd67b=_0x1dd67b-0x7f;const _0x123804=_0x1238();let _0x46a622=_0x123804[_0x1dd67b];return _0x46a622;}module[_0x45f4a4(0x86)]=t;function _0x1238(){const _0x453787=['Current\x20User','created\x20workbook','add\x20sparkline','Cancel','1769705xwXLrG','set\x20data\x20validation','647101MFlMhK','Edit\x20History','reverted\x20workbook','Restore\x20this\x20version?','Restore\x20this\x20version','80duNvXA','Failed\x20to\x20get\x20edit\x20history\x20list','1097991VBLXRc','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Current\x20Version','54hUksSd','delete\x20protection','deleted\x20worksheet','720063Ykppvz','8BbfDuG','loading,\x20please\x20wait...','Back','add\x20conditional\x20formatting','6382970AEDsJJ','Reverted\x20from','Confirm','1951750Hlvdlq','edited\x20worksheet','Reverting,\x20please\x20wait...','set\x20filter','720902kbhXdI','exports'];_0x1238=function(){return _0x453787;};return _0x1238();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x470c(_0x5dc027,_0x2dffae){_0x5dc027=_0x5dc027-0xdd;const _0x214377=_0x2143();let _0x470c0=_0x214377[_0x5dc027];return _0x470c0;}const _0x1926c6=_0x470c;(function(_0x4f5eb9,_0x2347bd){const _0x1d3578=_0x470c,_0x49c81f=_0x4f5eb9();while(!![]){try{const _0x5540c9=-parseInt(_0x1d3578(0xfb))/0x1+parseInt(_0x1d3578(0xff))/0x2*(-parseInt(_0x1d3578(0xe1))/0x3)+parseInt(_0x1d3578(0xe2))/0x4*(-parseInt(_0x1d3578(0xf7))/0x5)+parseInt(_0x1d3578(0xfa))/0x6+-parseInt(_0x1d3578(0xdf))/0x7+-parseInt(_0x1d3578(0xec))/0x8*(-parseInt(_0x1d3578(0xeb))/0x9)+parseInt(_0x1d3578(0xf0))/0xa*(parseInt(_0x1d3578(0xfc))/0xb);if(_0x5540c9===_0x2347bd)break;else _0x49c81f['push'](_0x49c81f['shift']());}catch(_0x343512){_0x49c81f['push'](_0x49c81f['shift']());}}}(_0x2143,0x81225));function _0x2143(){const _0x5795c2=['ورق\x20کاری\x20بازگردانی\x20شده','لغو','797489aVctsw','تنظیم\x20قالب\x20بندی\x20شرطی','3PqafpK','51848QzVRQZ','کاربر\x20ناشناخته','تاریخچه\x20ویرایش','تنظیم\x20فیلتر','این\x20سند\x20به\x20نسخه\x20انتخاب\x20شده\x20بازگردانده\x20خواهد\x20شد','حذف\x20حفاظت','کاربر\x20فعلی','تنظیم\x20منجمد','ورق\x20کاری\x20ویرایش\x20شده','27TSjSeS','1966232HiHcAI','این\x20نسخه\x20را\x20بازگردانی\x20کنید؟','افزودن\x20قالب\x20بندی\x20شرطی','خطای\x20ناشناخته،\x20لطفا\x20صفحه\x20را\x20بارگذاری\x20مجدد\x20کنید\x20تا\x20نتیجه\x20بازگردانی\x20را\x20مشاهده\x20کنید','50lTJNpl','ورق\x20کاری\x20ایجاد\x20شده','exports','نمودار\x20وارد\x20شده','نسخه\x20فعلی','بازگشت','افزودن\x20حفاظت','10PgzpdO','بازگردانی\x20این\x20نسخه','ورق\x20کاری\x20حذف\x20شده','501468frzNRH','543267CsFPjC','1456015pNtfar','در\x20حال\x20بارگذاری،\x20لطفا\x20صبر\x20کنید...','،\x20و\x20غیره','541378pMCOvg'];_0x2143=function(){return _0x5795c2;};return _0x2143();}const e={'editHistory':{'panel':{'title':_0x1926c6(0xe4),'unknownUser':_0x1926c6(0xe3),'listFetchError':'دریافت\x20لیست\x20تاریخچه\x20ویرایش\x20ناموفق\x20بود','revertConfirm':_0x1926c6(0xed),'revertConfirmText':_0x1926c6(0xe6),'cancel':_0x1926c6(0xde),'confirm':'تایید','reverting':'در\x20حال\x20بازگردانی،\x20لطفا\x20صبر\x20کنید...','revertFailed':_0x1926c6(0xef),'currentVersion':_0x1926c6(0xf4),'currentUser':_0x1926c6(0xe8),'revertDesc':'بازگردانی\x20این\x20نسخه'},'info':{'loading':_0x1926c6(0xfd)},'header':{'back':_0x1926c6(0xf5),'revert':_0x1926c6(0xf8)},'action':{'insertSheet':'ورق\x20کاری\x20اضافه\x20شده','removeSheet':_0x1926c6(0xf9),'createSheet':_0x1926c6(0xf1),'setFilter':_0x1926c6(0xe5),'setFrozen':_0x1926c6(0xe9),'editSheet':_0x1926c6(0xea),'revertSheet':_0x1926c6(0xdd),'revertSheetPrefix':'بازگردانی\x20از','revertSheetSuffix':'','setDV':'تنظیم\x20اعتبار\x20سنجی\x20داده','setCF':_0x1926c6(0xe0),'addCF':_0x1926c6(0xee),'addProtection':_0x1926c6(0xf6),'addSparkline':'افزودن\x20نمودار\x20کوچک','insertChart':_0x1926c6(0xf3),'deleteProtection':_0x1926c6(0xe7),'etc':_0x1926c6(0xfe)}}};module[_0x1926c6(0xf2)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x4725(_0x5a801e,_0x1fec36){_0x5a801e=_0x5a801e-0xaa;const _0x27291f=_0x2729();let _0x4725dd=_0x27291f[_0x5a801e];return _0x4725dd;}function _0x2729(){const _0x3c74ed=['set\x20filter','inserted\x20chart','deleted\x20worksheet','reverted\x20workbook','Failed\x20to\x20get\x20edit\x20history\x20list','Restore\x20this\x20version','4078081CDtfIf','Edit\x20History','12thYOBU','3198310nBYcnX','add\x20conditional\x20formatting','Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','set\x20conditional\x20formatting','Back','2822634jMCdbw','140136tixecr','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Cancel','Reverting,\x20please\x20wait...','1251Cwudrs','add\x20protection','2586615pgOmyA','3740900Izilwz','add\x20sparkline','set\x20frozen','loading,\x20please\x20wait...','Confirm','1269764EmLtPr','Unknown\x20User'];_0x2729=function(){return _0x3c74ed;};return _0x2729();}const _0x3e2bbd=_0x4725;(function(_0xbe94ab,_0x3de4ce){const _0x1f50de=_0x4725,_0x38b741=_0xbe94ab();while(!![]){try{const _0x1a2143=-parseInt(_0x1f50de(0xac))/0x1+parseInt(_0x1f50de(0xbc))/0x2+-parseInt(_0x1f50de(0xc3))/0x3+parseInt(_0x1f50de(0xc4))/0x4+-parseInt(_0x1f50de(0xb7))/0x5+parseInt(_0x1f50de(0xb6))/0x6*(-parseInt(_0x1f50de(0xb4))/0x7)+parseInt(_0x1f50de(0xbd))/0x8*(parseInt(_0x1f50de(0xc1))/0x9);if(_0x1a2143===_0x3de4ce)break;else _0x38b741['push'](_0x38b741['shift']());}catch(_0x7583cf){_0x38b741['push'](_0x38b741['shift']());}}}(_0x2729,0xce340));const e={'editHistory':{'panel':{'title':_0x3e2bbd(0xb5),'unknownUser':_0x3e2bbd(0xad),'listFetchError':_0x3e2bbd(0xb2),'revertConfirm':'Restore\x20this\x20version?','revertConfirmText':_0x3e2bbd(0xbe),'cancel':_0x3e2bbd(0xbf),'confirm':_0x3e2bbd(0xab),'reverting':_0x3e2bbd(0xc0),'revertFailed':_0x3e2bbd(0xb9),'currentVersion':'Current\x20Version','currentUser':'Current\x20User','revertDesc':_0x3e2bbd(0xb3)},'info':{'loading':_0x3e2bbd(0xaa)},'header':{'back':_0x3e2bbd(0xbb),'revert':'Restore\x20this\x20version'},'action':{'insertSheet':'inserted\x20worksheet','removeSheet':_0x3e2bbd(0xb0),'createSheet':'created\x20workbook','setFilter':_0x3e2bbd(0xae),'setFrozen':_0x3e2bbd(0xc6),'editSheet':'edited\x20worksheet','revertSheet':_0x3e2bbd(0xb1),'revertSheetPrefix':'Reverted\x20from','revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x3e2bbd(0xba),'addCF':_0x3e2bbd(0xb8),'addProtection':_0x3e2bbd(0xc2),'addSparkline':_0x3e2bbd(0xc5),'insertChart':_0x3e2bbd(0xaf),'deleteProtection':'delete\x20protection','etc':',\x20etc.'}}},t=e;module['exports']=t;
|