@univer-cli/content-inspection-command 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x409475=_0x1069;(function(_0x15cff3,_0x24888c){const _0x11ca80=_0x1069,_0x6abb25=_0x15cff3();while(!![]){try{const _0x451845=-parseInt(_0x11ca80(0x183))/0x1+parseInt(_0x11ca80(0x17f))/0x2*(-parseInt(_0x11ca80(0xca))/0x3)+parseInt(_0x11ca80(0x15a))/0x4+-parseInt(_0x11ca80(0xc4))/0x5+parseInt(_0x11ca80(0xcb))/0x6*(parseInt(_0x11ca80(0x159))/0x7)+-parseInt(_0x11ca80(0x16c))/0x8*(-parseInt(_0x11ca80(0x144))/0x9)+parseInt(_0x11ca80(0x18c))/0xa*(-parseInt(_0x11ca80(0x118))/0xb);if(_0x451845===_0x24888c)break;else _0x6abb25['push'](_0x6abb25['shift']());}catch(_0x237847){_0x6abb25['push'](_0x6abb25['shift']());}}}(_0x1232,0xb6085));import{ContentInspectionError as _0x14f828,inspectContent as _0x3f1b7e}from'@univer-cli/content-inspection';import{Argument as _0x4e20bc,Command as _0x74adce,Option as _0x248933}from'commander';var a=class extends Error{};function o(_0x2573bf,_0x5eaf85,_0x54e889){const _0x3b2386=_0x1069;if(_0x2573bf===_0x3b2386(0x132)||_0x2573bf===_0x3b2386(0x14d)||_0x2573bf===_0x3b2386(0xb3)||_0x2573bf===_0x3b2386(0xb2)||_0x2573bf===_0x3b2386(0xed))return m(_0x2573bf,_0x5eaf85),h(_0x2573bf,_0x54e889[_0x3b2386(0x115)]),{'kind':_0x2573bf};if(_0x2573bf===_0x3b2386(0x115))return h(_0x2573bf,_0x54e889['worksheet']),{'kind':_0x2573bf,'worksheets':p(_0x5eaf85,c)};if(_0x2573bf===_0x3b2386(0xa3))return h(_0x2573bf,_0x54e889[_0x3b2386(0x115)]),{'kind':_0x2573bf,'slides':p(_0x5eaf85,l)};if(_0x2573bf===_0x3b2386(0x194))return h(_0x2573bf,_0x54e889[_0x3b2386(0x115)]),{'kind':_0x2573bf,'paragraphs':p(_0x5eaf85,u)};if(_0x2573bf===_0x3b2386(0xf0))return h(_0x2573bf,_0x54e889[_0x3b2386(0x115)]),{'kind':_0x2573bf,'elements':p(_0x5eaf85,s)};if(_0x54e889[_0x3b2386(0x115)]===void 0x0)throw new a(_0x3b2386(0x189));let _0x50fc7c=c(_0x54e889[_0x3b2386(0x115)]);return{'kind':_0x2573bf,'ranges':p(_0x5eaf85,_0x160365=>{const _0x4851d6=_0x3b2386;if(_0x160365[_0x4851d6(0x15d)]===0x0)throw new a('Range\x20cannot\x20be\x20empty');return{'range':_0x160365,'worksheet':_0x50fc7c};})};}function s(_0x3453f4){const _0x34c003=_0x1069;let _0x5694e4=d(_0x3453f4);if(_0x5694e4[_0x34c003(0x13e)]==='id')return{'id':_0x5694e4['value']};throw new a(_0x34c003(0xa0)+_0x5694e4[_0x34c003(0x13e)]+_0x34c003(0x138));}function c(_0x4f493b){const _0x33cbdf=_0x1069;let _0x5d3f51=d(_0x4f493b);if(_0x5d3f51[_0x33cbdf(0x13e)]==='id')return{'id':_0x5d3f51[_0x33cbdf(0x104)]};if(_0x5d3f51[_0x33cbdf(0x13e)]===_0x33cbdf(0x182))return{'name':_0x5d3f51[_0x33cbdf(0x104)]};if(_0x5d3f51[_0x33cbdf(0x13e)]===_0x33cbdf(0x157))return{'index':f(_0x5d3f51['value'])};throw new a('Unknown\x20worksheet\x20selector\x20prefix\x20\x22'+_0x5d3f51[_0x33cbdf(0x13e)]+_0x33cbdf(0xf2));}function l(_0x19aa53){const _0x34ba7e=_0x1069;let _0x486f91=d(_0x19aa53);if(_0x486f91[_0x34ba7e(0x13e)]==='id')return{'id':_0x486f91[_0x34ba7e(0x104)]};if(_0x486f91[_0x34ba7e(0x13e)]===_0x34ba7e(0x157))return{'index':f(_0x486f91[_0x34ba7e(0x104)])};throw new a(_0x34ba7e(0x146)+_0x486f91[_0x34ba7e(0x13e)]+_0x34ba7e(0x126));}function u(_0x4c4366){const _0x160f8f=_0x1069;let _0xbff7fd=d(_0x4c4366);if(_0xbff7fd[_0x160f8f(0x13e)]==='id')return{'id':_0xbff7fd[_0x160f8f(0x104)]};if(_0xbff7fd[_0x160f8f(0x13e)]===_0x160f8f(0x157))return{'index':f(_0xbff7fd['value'])};throw new a(_0x160f8f(0xfa)+_0xbff7fd[_0x160f8f(0x13e)]+_0x160f8f(0x126));}function d(_0x1b5fb2){const _0x26fdab=_0x1069;let _0x25823e=_0x1b5fb2[_0x26fdab(0x116)](':');if(_0x25823e<=0x0||_0x25823e===_0x1b5fb2[_0x26fdab(0x15d)]-0x1)throw new a(_0x26fdab(0x102)+_0x1b5fb2+_0x26fdab(0xb4));return{'prefix':_0x1b5fb2[_0x26fdab(0xbb)](0x0,_0x25823e),'value':_0x1b5fb2['slice'](_0x25823e+0x1)};}function f(_0x4d18e8){const _0x1f9889=_0x1069;if(!/^\d+$/[_0x1f9889(0xfb)](_0x4d18e8))throw new a(_0x1f9889(0x190)+_0x4d18e8+'\x22;\x20index\x20must\x20be\x20an\x20integer');let _0x7d49cd=Number(_0x4d18e8);if(!Number[_0x1f9889(0x163)](_0x7d49cd)||_0x7d49cd<0x1)throw new a(_0x1f9889(0x190)+_0x4d18e8+_0x1f9889(0xda));return _0x7d49cd-0x1;}function p(_0x3cc97d,_0x1b422b){const _0x4b6ce8=_0x1069;if(_0x3cc97d[_0x4b6ce8(0x15d)]===0x0)throw new a(_0x4b6ce8(0x148));let _0x123951=_0x3cc97d[0x0];if(_0x123951===void 0x0)throw new a(_0x4b6ce8(0x158));return[_0x1b422b(_0x123951),..._0x3cc97d[_0x4b6ce8(0xbb)](0x1)[_0x4b6ce8(0x181)](_0x1b422b)];}function m(_0x3c6fb2,_0x1e61e4){const _0x425cfc=_0x1069;if(_0x1e61e4[_0x425cfc(0x15d)]>0x0)throw new a(_0x3c6fb2+_0x425cfc(0x11c));}function h(_0x5aeef8,_0x16c267){const _0x1e267e=_0x1069;if(_0x16c267!==void 0x0)throw new a(_0x1e267e(0x169)+_0x5aeef8);}var g=0xc,_=0x8,v=0xc;function y(_0x130c43){const _0x1428f4=_0x1069;switch(_0x130c43['kind']){case _0x1428f4(0xb2):return[_0x1428f4(0xc6)+_0x130c43[_0x1428f4(0x182)]+'\x20('+_0x130c43[_0x1428f4(0xa6)]+')',_0x130c43[_0x1428f4(0xa9)][_0x1428f4(0x15d)]+'\x20tables','',..._0x130c43['tables'][_0x1428f4(0x181)](k)][_0x1428f4(0xff)]('\x0a');case _0x1428f4(0x132):return[_0x1428f4(0xb9)+_0x130c43[_0x1428f4(0x182)]+'\x20('+_0x130c43[_0x1428f4(0xa6)]+')',..._0x130c43[_0x1428f4(0xd2)][_0x1428f4(0x181)](A)][_0x1428f4(0xff)]('\x0a');case _0x1428f4(0x115):return _0x130c43[_0x1428f4(0xd2)][_0x1428f4(0x181)](A)[_0x1428f4(0xff)]('\x0a');case _0x1428f4(0x191):return _0x130c43[_0x1428f4(0xaf)][_0x1428f4(0x181)](_0x3d34ef=>_0x3d34ef[_0x1428f4(0x115)][_0x1428f4(0x182)]+'!'+_0x3d34ef[_0x1428f4(0xf5)]+(_0x3d34ef[_0x1428f4(0x11b)]?_0x1428f4(0x11a)+_0x3d34ef['requestedRange']+')':'')+'\x0a'+j(_0x3d34ef[_0x1428f4(0xc3)]))['join']('\x0a\x0a');case _0x1428f4(0xb3):return[_0x1428f4(0x15c)+_0x130c43[_0x1428f4(0x182)]+'\x20('+_0x130c43[_0x1428f4(0xa6)]+')\x20'+_0x130c43['size'][_0x1428f4(0xc9)]+'x'+_0x130c43[_0x1428f4(0xde)][_0x1428f4(0xbe)],_0x1428f4(0xaa)+_0x130c43[_0x1428f4(0x10e)]+',\x20layouts:\x20'+_0x130c43[_0x1428f4(0x10f)],..._0x130c43['slides'][_0x1428f4(0x181)](_0x13b0db=>_0x1428f4(0x13f)+(_0x13b0db['index']+0x1)+']\x20'+_0x13b0db['id']+'\x20'+_0x13b0db[_0x1428f4(0x182)]+_0x1428f4(0x15b)+_0x13b0db[_0x1428f4(0x14e)]['total']+_0x1428f4(0xe2)+(_0x13b0db[_0x1428f4(0x166)]===void 0x0?'':'\x20—\x20'+_0x13b0db[_0x1428f4(0x166)]))][_0x1428f4(0xff)]('\x0a');case _0x1428f4(0xa3):return _0x130c43[_0x1428f4(0x16d)][_0x1428f4(0x181)](_0x8fcb96=>[_0x1428f4(0x188)+(_0x8fcb96[_0x1428f4(0x157)]+0x1)+']\x20'+_0x8fcb96['id']+'\x20'+_0x8fcb96[_0x1428f4(0x182)],..._0x8fcb96[_0x1428f4(0x180)][_0x1428f4(0x181)](_0x7efac4=>M(_0x7efac4,'\x20\x20')),..._0x8fcb96[_0x1428f4(0x16b)]===''?[]:['\x20\x20notes:\x20'+_0x8fcb96[_0x1428f4(0x16b)]]][_0x1428f4(0xff)]('\x0a'))[_0x1428f4(0xff)]('\x0a\x0a');case _0x1428f4(0x14d):return[_0x1428f4(0xdd)+_0x130c43[_0x1428f4(0x12d)]+'\x20('+_0x130c43[_0x1428f4(0xa6)]+')\x20['+_0x130c43[_0x1428f4(0x196)]+']',_0x130c43['paragraphCount']+_0x1428f4(0x106)+_0x130c43[_0x1428f4(0x125)]+_0x1428f4(0x121),..._0x130c43[_0x1428f4(0xe0)][_0x1428f4(0x181)](_0x1d20f7=>_0x1428f4(0x13f)+(_0x1d20f7[_0x1428f4(0x157)]+0x1)+']\x20'+_0x1d20f7['id']+_0x1428f4(0x15b)+_0x1d20f7[_0x1428f4(0x166)])][_0x1428f4(0xff)]('\x0a');case'paragraph':return _0x130c43[_0x1428f4(0xe0)]['map'](_0x5f2d7e=>_0x1428f4(0x141)+(_0x5f2d7e[_0x1428f4(0x157)]+0x1)+']\x20'+_0x5f2d7e['id']+'\x0a'+_0x5f2d7e[_0x1428f4(0x175)]+(_0x5f2d7e[_0x1428f4(0xa5)][_0x1428f4(0x15d)]===0x0?'':_0x1428f4(0xea)+_0x5f2d7e[_0x1428f4(0xa5)]['length']))[_0x1428f4(0xff)]('\x0a\x0a');case _0x1428f4(0xed):return[_0x1428f4(0x18d)+_0x130c43[_0x1428f4(0x182)]+'\x20('+_0x130c43['unitId']+')',_0x130c43[_0x1428f4(0x14e)][_0x1428f4(0xc8)]+_0x1428f4(0x120)+C(_0x130c43['elementCounts']['byType']),..._0x130c43[_0x1428f4(0x180)][_0x1428f4(0x181)](_0x4305ff=>b(_0x4305ff,'\x20\x20'))]['join']('\x0a');case _0x1428f4(0xf0):return _0x130c43[_0x1428f4(0x180)][_0x1428f4(0x181)](x)['join']('\x0a\x0a');}}function b(_0x1c16b2,_0x55bf75){const _0x2d214e=_0x1069;let _0x12f107=_0x1c16b2[_0x2d214e(0x162)]===void 0x0?'':':'+_0x1c16b2[_0x2d214e(0x162)],_0x2cca3b=_0x1c16b2[_0x2d214e(0x182)]===void 0x0||_0x1c16b2[_0x2d214e(0x182)]===''?'':'\x20'+_0x1c16b2[_0x2d214e(0x182)],_0x5ea864=_0x1c16b2[_0x2d214e(0x131)]===void 0x0&&_0x1c16b2[_0x2d214e(0x142)]===void 0x0?'':'\x20'+(_0x1c16b2[_0x2d214e(0x131)]??'?')+_0x2d214e(0x110)+(_0x1c16b2[_0x2d214e(0x142)]??'?'),_0x45e90d=_0x1c16b2[_0x2d214e(0x175)]===void 0x0||_0x1c16b2[_0x2d214e(0x175)]===''?'':_0x2d214e(0x15b)+D(_0x1c16b2['text']);return _0x55bf75+'['+(_0x1c16b2['orderIndex']+0x1)+']\x20'+_0x1c16b2['type']+_0x12f107+'\x20'+_0x1c16b2['id']+_0x2cca3b+_0x5ea864+_0x45e90d;}function x(_0x282c12){const _0x37f780=_0x1069;let _0x2b9b00=[_0x282c12[_0x37f780(0x100)]+'\x20'+_0x282c12['id']+'\x20['+(_0x282c12[_0x37f780(0x108)]+0x1)+']'+(_0x282c12[_0x37f780(0x182)]===void 0x0||_0x282c12[_0x37f780(0x182)]===''?'':'\x20'+_0x282c12[_0x37f780(0x182)]),'\x20\x20transform:\x20'+T(_0x282c12[_0x37f780(0x103)]),_0x37f780(0xad)+(_0x282c12['bounds']===null?_0x37f780(0x135):T(_0x282c12[_0x37f780(0x195)])),_0x37f780(0xec)+_0x282c12['visible']+_0x37f780(0x10d)+_0x282c12['selectable']+_0x37f780(0x17c)+_0x282c12[_0x37f780(0x133)]];return _0x282c12[_0x37f780(0xd3)]!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x164)+D(_0x282c12[_0x37f780(0xd3)])),_0x282c12[_0x37f780(0x153)]!==void 0x0&&_0x2b9b00['push']('\x20\x20parentId:\x20'+_0x282c12[_0x37f780(0x153)]),_0x282c12['laneId']!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x143)+_0x282c12[_0x37f780(0x176)]),_0x282c12['type']===_0x37f780(0x134)?(_0x2b9b00['push'](_0x37f780(0x15f)+S(_0x282c12[_0x37f780(0xa1)][_0x37f780(0x109)])+_0x37f780(0x110)+S(_0x282c12[_0x37f780(0xa1)]['end']),_0x37f780(0xe5)+_0x282c12[_0x37f780(0xa1)][_0x37f780(0xf3)]+'\x20('+_0x282c12['connection'][_0x37f780(0xf6)]+_0x37f780(0x9c)+_0x282c12[_0x37f780(0xa1)][_0x37f780(0x140)][_0x37f780(0x15d)]+'\x20waypoints','\x20\x20style:\x20'+T(_0x282c12[_0x37f780(0xdc)]),_0x37f780(0xdb)+T(_0x282c12['labels']),_0x37f780(0x14c)+w(_0x282c12[_0x37f780(0xc5)]),_0x37f780(0x151)+T(_0x282c12[_0x37f780(0x179)])),_0x2b9b00[_0x37f780(0xff)]('\x0a')):(_0x282c12[_0x37f780(0x100)]==='shape'?_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xd4)+T(_0x282c12[_0x37f780(0xe8)])):_0x282c12[_0x37f780(0x100)]===_0x37f780(0x175)?_0x2b9b00['push'](_0x37f780(0xee)+w(_0x282c12[_0x37f780(0xd8)]),_0x37f780(0x171)+T(_0x282c12['textStyle'])):_0x282c12['type']===_0x37f780(0x9d)?(_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x18f)+E(_0x282c12['source'])),_0x282c12[_0x37f780(0x123)]!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x149)+_0x282c12[_0x37f780(0x123)]),_0x282c12[_0x37f780(0xeb)]!==void 0x0&&_0x2b9b00['push'](_0x37f780(0xb6)+T(_0x282c12[_0x37f780(0xeb)])),_0x282c12['prstGeom']!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xd9)+_0x282c12['prstGeom']),_0x282c12['adjustValues']!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xfd)+T(_0x282c12['adjustValues']))):_0x282c12[_0x37f780(0x100)]===_0x37f780(0x185)?(_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x170)+_0x282c12[_0x37f780(0xdf)]),_0x282c12['placeholder']!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xf9)+T(_0x282c12[_0x37f780(0x147)])),_0x282c12['stroke']!==void 0x0&&_0x2b9b00['push']('\x20\x20stroke:\x20'+T(_0x282c12[_0x37f780(0xc2)]))):_0x282c12[_0x37f780(0x100)]===_0x37f780(0x127)?_0x2b9b00['push'](_0x37f780(0xf8)+T(_0x282c12['containerData'])):_0x282c12[_0x37f780(0x100)]===_0x37f780(0xc0)?_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x18a)+T(_0x282c12['data'])):_0x282c12[_0x37f780(0x100)]===_0x37f780(0x193)?(_0x2b9b00['push']('\x20\x20tableId:\x20'+_0x282c12[_0x37f780(0x137)]),_0x282c12[_0x37f780(0x147)]!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xf9)+T(_0x282c12[_0x37f780(0x147)]))):_0x282c12['type']===_0x37f780(0x9f)?_0x2b9b00['push'](_0x37f780(0xae)+N(_0x282c12['children'])):_0x282c12[_0x37f780(0x100)]==='media'?(_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xcf)+_0x282c12[_0x37f780(0x17e)],'\x20\x20source:\x20'+E(_0x282c12[_0x37f780(0xe6)])),_0x282c12[_0x37f780(0xb7)]!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xa7)+E(_0x282c12['poster']))):_0x282c12['type']===_0x37f780(0x147)?(_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0xf9)+T(_0x282c12[_0x37f780(0x147)])),_0x282c12[_0x37f780(0x175)]!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)](_0x37f780(0x10c)+D(_0x282c12[_0x37f780(0x175)])),_0x282c12['style']!==void 0x0&&_0x2b9b00[_0x37f780(0xa4)]('\x20\x20style:\x20'+T(_0x282c12['style']))):_0x2b9b00['push'](_0x37f780(0x145)+_0x282c12[_0x37f780(0xd7)],_0x37f780(0x18a)+T(_0x282c12[_0x37f780(0xbd)])),_0x2b9b00[_0x37f780(0xff)]('\x0a'));}function S(_0x393291){const _0x110cab=_0x1069;if(_0x393291[_0x110cab(0x136)]===_0x110cab(0xe7))return'free('+_0x393291['x']+','+_0x393291['y']+')';if(_0x393291['kind']===_0x110cab(0x11f))return _0x393291[_0x110cab(0xc7)]+':lifeline@'+_0x393291[_0x110cab(0x101)];if(_0x393291[_0x110cab(0x136)]===_0x110cab(0xf1))return _0x393291[_0x110cab(0xc7)]+_0x110cab(0x105)+_0x393291[_0x110cab(0x174)]+','+_0x393291[_0x110cab(0x124)]+','+_0x393291[_0x110cab(0x165)]+')';let _0x310b89=['top',_0x110cab(0x12b),_0x110cab(0xbf),_0x110cab(0x14b)][_0x393291['connectionSiteId']]??'site-'+_0x393291[_0x110cab(0x117)];return _0x393291[_0x110cab(0xc7)]+':'+_0x310b89+(_0x393291[_0x110cab(0x17a)]===void 0x0?'':'@'+_0x393291[_0x110cab(0x17a)]);}function C(_0x4fbf13){const _0x9dd15a=_0x1069;let _0x3981b3=Object[_0x9dd15a(0xe4)](_0x4fbf13)[_0x9dd15a(0x12c)](([_0x4f1a75],[_0x170d23])=>_0x4f1a75[_0x9dd15a(0x13b)](_0x170d23));return _0x3981b3['length']===0x0?'none':_0x3981b3[_0x9dd15a(0x181)](([_0x161460,_0x329f38])=>_0x161460+'\x20'+_0x329f38)['join'](',\x20');}function w(_0x59fb6c){const _0x270305=_0x1069;if(O(_0x59fb6c)){let _0x2a9657=_0x59fb6c[_0x270305(0x107)];if(O(_0x2a9657)&&typeof _0x2a9657[_0x270305(0xe1)]==_0x270305(0xf7))return D(_0x2a9657[_0x270305(0xe1)]['replace'](/[\r\n]+$/u,''));}return T(_0x59fb6c);}function _0x1069(_0x5e8ea6,_0x5d4ca5){_0x5e8ea6=_0x5e8ea6-0x9c;const _0x1232da=_0x1232();let _0x1069ff=_0x1232da[_0x5e8ea6];return _0x1069ff;}function _0x1232(){const _0x48fea6=['worksheet','indexOf','connectionSiteId','44jYuLBU','drawings','\x20(clipped\x20from\x20','clipped','\x20inspection\x20does\x20not\x20accept\x20selectors','\x20\x20conditional\x20formatting:\x20','addOption','lifeline','\x20elements\x20—\x20','\x20characters','worksheet\x20[','imageSourceType','segmentIndex','characterCount','\x22;\x20use\x20id:\x20or\x20index:','container','\x20·\x20','release','writeOut','right','sort','title','inspect.invalid-input',',\x20shapes\x20','acquireRuntime','startElementId','workbook','locked','connector','unresolved','kind','tableId','\x22;\x20use\x20id:','formulaUsedRanges','inspect\x20the\x20trunk','localeCompare','configureOutput','charts','prefix','\x20\x20[','waypoints','paragraph\x20[','endElementId','\x20\x20laneId:\x20','5107230BEYsDu','\x20\x20originalType:\x20','Unknown\x20slide\x20selector\x20prefix\x20\x22','placeholder','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','\x20\x20imageSourceType:\x20','\x09…\x20','left','\x20\x20labelText:\x20','document','elementCounts','valueUsedRanges','json','\x20\x20labelStyle:\x20','mergedRanges','parentId','\x20omitted','code','object','index','Missing\x20selector','3976FBzUHi','3393292RqQSbR','\x20—\x20','presentation\x20','length','\x20records\x20·\x20','\x20\x20connection:\x20','\x20\x20views:\x20','\x20\x20merged:\x20','subtype','isSafeInteger','\x20\x20description:\x20','segmentT','textPreview','--trunk','addArgument','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','isArray','speakerNotes','8FpUiXV','slides','range',',\x20…\x20','\x20\x20chartId:\x20','\x20\x20textStyle:\x20','conditionalFormatting','\x20\x20fields:\x20','outlineIndex','text','laneId',')\x20·\x20primary\x20','children','labelStyle','connectionPosition','primaryFieldId',',\x20locked=','inspect\x20a\x20worktree','mediaType','4spShSP','elements','map','name','223837yiWbkN','\x20\x20styles:\x20','chart','stringify','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','slide\x20[','range\x20requires\x20--worksheet\x20<selector>','\x20\x20data:\x20','replace','51600HomvdT','board\x20','--unit\x20<unit-id>','\x20\x20source:\x20','Invalid\x20index\x20\x22','worksheet-range','unit','table','paragraph','bounds','mode','),\x20','image','error','group','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','connection','\x20\x20values:\x20','slide','push','textRuns','unitId','\x20\x20poster:\x20','--worksheet\x20<selector>','tables','masters:\x20','trim',',\x20images\x20','\x20\x20bounds:\x20','\x20\x20children:\x20','ranges','count','--json','base','presentation','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','dataValidation','\x20\x20crop:\x20','poster','views','workbook\x20','<target>','slice','conflicts','data','height','bottom','diagram','message','stroke','displayValues','5431445NyWpxt','labelText','Base\x20','shapeId','total','width','241977RvzwNc','8682DvbSOc','content\x20target','fields','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','\x20\x20mediaType:\x20','none','\x20\x20data\x20validation:\x20','worksheets','description','\x20\x20shapeData:\x20','trunk','shapes','originalType','textContent','\x20\x20prstGeom:\x20','\x22;\x20CLI\x20indices\x20start\x20at\x201','\x20\x20labels:\x20','style','document\x20','size','chartId','paragraphs','dataStream','\x20elements','find','entries','\x20\x20routing:\x20','source','free','shapeData','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','\x0atext\x20runs:\x20','crop','\x20\x20state:\x20visible=','board','\x20\x20textContent:\x20','worksheet\x20selector\x20for\x20range','board-element','shapeBoundary','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','routing','\x20(charts\x20','resolvedRange','routingMode','string','\x20\x20containerData:\x20','\x20\x20placeholder:\x20','Unknown\x20paragraph\x20selector\x20prefix\x20\x22','test','rowCount','\x20\x20adjustValues:\x20','option','join','type','offsetY','Invalid\x20selector\x20\x22','transform','value',':boundary(','\x20paragraphs,\x20','body','orderIndex','start','\x20columns\x20omitted','view','\x20\x20text:\x20',',\x20selectable=','masterSlideCount','layoutSlideCount','\x20->\x20','worktree','inspect.failed','columnCount','\x20rows\x20omitted'];_0x1232=function(){return _0x48fea6;};return _0x1232();}function T(_0x4d748a){const _0x4fca3a=_0x1069;return E(JSON[_0x4fca3a(0x186)](_0x4d748a));}function E(_0x14fcf3){const _0x195b40=_0x1069;return _0x14fcf3[_0x195b40(0x15d)]<=0xc8?_0x14fcf3:_0x14fcf3[_0x195b40(0xbb)](0x0,0xc5)+'…';}function D(_0x2d2905){const _0x3ced18=_0x1069;return E(_0x2d2905[_0x3ced18(0x18b)](/\s+/gu,'\x20')[_0x3ced18(0xab)]());}function O(_0xd16b6f){const _0x266683=_0x1069;return typeof _0xd16b6f==_0x266683(0x156)&&!!_0xd16b6f&&!Array[_0x266683(0x16a)](_0xd16b6f);}function k(_0x1877ca){const _0x14130f=_0x1069;let _0x2a2656=_0x1877ca[_0x14130f(0xcd)][_0x14130f(0xe3)](_0x351ece=>_0x351ece['id']===_0x1877ca[_0x14130f(0x17b)]);return['['+_0x1877ca[_0x14130f(0x157)]+']\x20'+_0x1877ca['name']+'\x20('+_0x1877ca['id']+_0x14130f(0x177)+(_0x2a2656?.[_0x14130f(0x182)]??_0x1877ca['primaryFieldId'])+_0x14130f(0x128)+_0x1877ca[_0x14130f(0xcd)][_0x14130f(0x15d)]+'\x20fields\x20·\x20'+_0x1877ca['recordCount']+_0x14130f(0x15e)+_0x1877ca[_0x14130f(0xb8)]['length']+'\x20'+(_0x1877ca[_0x14130f(0xb8)][_0x14130f(0x15d)]===0x1?_0x14130f(0x10b):_0x14130f(0xb8)),_0x14130f(0x173)+N(_0x1877ca[_0x14130f(0xcd)][_0x14130f(0x181)](_0x105d19=>_0x105d19['name']+':'+_0x105d19[_0x14130f(0x100)])),_0x14130f(0x160)+N(_0x1877ca['views']['map'](_0x5db6f6=>_0x5db6f6[_0x14130f(0x182)]+':'+_0x5db6f6[_0x14130f(0x100)]))][_0x14130f(0xff)]('\x0a');}function A(_0x2738b3){const _0x23f19b=_0x1069;let _0x568021=[_0x23f19b(0x122)+(_0x2738b3['index']+0x1)+']\x20'+_0x2738b3['id']+'\x20'+_0x2738b3[_0x23f19b(0x182)]+'\x20('+_0x2738b3[_0x23f19b(0xfc)]+'x'+_0x2738b3[_0x23f19b(0x113)]+')',_0x23f19b(0xa2)+N(_0x2738b3[_0x23f19b(0x14f)]),'\x20\x20formulas:\x20'+N(_0x2738b3[_0x23f19b(0x139)]),_0x23f19b(0x184)+N(_0x2738b3['styleUsedRanges']),_0x23f19b(0x161)+N(_0x2738b3[_0x23f19b(0x152)])];return _0x2738b3[_0x23f19b(0xa9)][_0x23f19b(0x15d)]>0x0&&_0x568021[_0x23f19b(0xa4)]('\x20\x20tables:\x20'+N(_0x2738b3['tables'][_0x23f19b(0x181)](_0x5eac7c=>_0x5eac7c[_0x23f19b(0x182)]+'('+_0x5eac7c['range']+')'))),_0x568021['push'](_0x23f19b(0x11d)+_0x2738b3[_0x23f19b(0x172)][_0x23f19b(0xb0)],_0x23f19b(0xd1)+_0x2738b3[_0x23f19b(0xb5)][_0x23f19b(0xb0)],'\x20\x20drawings:\x20'+_0x2738b3['drawings'][_0x23f19b(0xc8)]+_0x23f19b(0xf4)+_0x2738b3['drawings'][_0x23f19b(0x13d)]+_0x23f19b(0xac)+_0x2738b3['drawings']['images']+_0x23f19b(0x12f)+_0x2738b3[_0x23f19b(0x119)][_0x23f19b(0xd6)]+')'),_0x568021[_0x23f19b(0xff)]('\x0a');}function j(_0x501d9f){const _0x1de4c2=_0x1069;let _0x26458c=_0x501d9f['slice'](0x0,g)[_0x1de4c2(0x181)](_0x4bb1ec=>{const _0x3bae0b=_0x1de4c2;let _0x10af54=_0x4bb1ec[_0x3bae0b(0xbb)](0x0,_),_0xe11459=_0x4bb1ec[_0x3bae0b(0x15d)]-_0x10af54[_0x3bae0b(0x15d)];return''+_0x10af54[_0x3bae0b(0x181)](_0x1002e3=>JSON[_0x3bae0b(0x186)](_0x1002e3))[_0x3bae0b(0xff)]('\x09')+(_0xe11459>0x0?_0x3bae0b(0x14a)+_0xe11459+_0x3bae0b(0x10a):'');}),_0x2fb11c=_0x501d9f['length']-_0x26458c[_0x1de4c2(0x15d)];return _0x2fb11c>0x0&&_0x26458c[_0x1de4c2(0xa4)]('…\x20'+_0x2fb11c+_0x1de4c2(0x114)),_0x26458c[_0x1de4c2(0xff)]('\x0a');}function M(_0x25dc97,_0x1c65ac){const _0x170faa=_0x1069;let _0x32b30c=_0x25dc97[_0x170faa(0x175)]?.[_0x170faa(0x175)][_0x170faa(0x18b)](/\s+/g,'\x20')[_0x170faa(0xab)]();return[''+_0x1c65ac+_0x25dc97[_0x170faa(0x100)]+'\x20'+_0x25dc97['id']+(_0x25dc97['name']===''?'':'\x20'+_0x25dc97[_0x170faa(0x182)])+(_0x32b30c===void 0x0||_0x32b30c===''?'':_0x170faa(0x15b)+_0x32b30c),...(_0x25dc97[_0x170faa(0x178)]??[])['map'](_0x5b4c56=>M(_0x5b4c56,_0x1c65ac+'\x20\x20'))][_0x170faa(0xff)]('\x0a');}function N(_0x1b90c6){const _0x3ad52e=_0x1069;if(_0x1b90c6[_0x3ad52e(0x15d)]===0x0)return _0x3ad52e(0xd0);let _0x1c1f5f=_0x1b90c6[_0x3ad52e(0xbb)](0x0,v),_0x2caf3e=_0x1b90c6[_0x3ad52e(0x15d)]-_0x1c1f5f[_0x3ad52e(0x15d)];return''+_0x1c1f5f[_0x3ad52e(0xff)](',\x20')+(_0x2caf3e>0x0?_0x3ad52e(0x16f)+_0x2caf3e+_0x3ad52e(0x154):'');}var P=['workbook',_0x409475(0x115),_0x409475(0x16e),_0x409475(0x14d),'paragraph',_0x409475(0xb3),_0x409475(0xa3),_0x409475(0xb2),_0x409475(0xed),_0x409475(0xf0)];function F(_0x447dd5){const _0x569c49=_0x409475;return L({'acquireRuntime':async _0x26430a=>await _0x447dd5[_0x569c49(0x130)]({'unitId':_0x26430a}),'worktree':!0x1});}function I(_0x11bc98){return L({'acquireRuntime':async(_0x31b84d,_0x6eff4c)=>{const _0x31f6db=_0x1069;if(_0x6eff4c[_0x31f6db(0xd5)]===!0x0&&_0x6eff4c[_0x31f6db(0x111)]!==void 0x0)throw new a(_0x31f6db(0x187));if(_0x6eff4c[_0x31f6db(0xd5)]!==!0x0&&_0x6eff4c[_0x31f6db(0x111)]===void 0x0)throw new a(_0x31f6db(0xe9));return await _0x11bc98[_0x31f6db(0x130)]({'unitId':_0x31b84d,..._0x6eff4c[_0x31f6db(0x111)]===void 0x0?{}:{'worktreeID':_0x6eff4c[_0x31f6db(0x111)]}});},'worktree':!0x0});}function L(_0x23e244){const _0x9dab5d=_0x409475;let _0x41965a=new _0x74adce('inspect')['description']('Inspect\x20structured\x20Univer\x20content')[_0x9dab5d(0x168)](new _0x4e20bc(_0x9dab5d(0xba),_0x9dab5d(0xcc))['choices'](P))['argument']('[selectors...]','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2')['requiredOption'](_0x9dab5d(0x18e),'Unit\x20to\x20inspect')['option'](_0x9dab5d(0xa8),_0x9dab5d(0xef))[_0x9dab5d(0xfe)](_0x9dab5d(0xb1),_0x9dab5d(0xce));return _0x23e244[_0x9dab5d(0x111)]&&_0x41965a[_0x9dab5d(0x11e)](new _0x248933(_0x9dab5d(0x167),_0x9dab5d(0x13a))[_0x9dab5d(0xbc)](_0x9dab5d(0x111)))[_0x9dab5d(0x11e)](new _0x248933('--worktree\x20<id>',_0x9dab5d(0x17d))[_0x9dab5d(0xbc)](_0x9dab5d(0xd5))),_0x41965a['action'](async(_0x38973e,_0x1a66aa,_0x54e056)=>{const _0x23737c=_0x9dab5d;let _0x1e81ed=_0x38973e==='range'?_0x23737c(0x191):_0x38973e,_0xe82ff2;try{_0xe82ff2=o(_0x1e81ed,_0x1a66aa,_0x54e056);}catch(_0xee8e3c){throw _0xee8e3c instanceof a&&_0x41965a[_0x23737c(0x9e)](_0xee8e3c[_0x23737c(0xc1)],{'code':'inspect.invalid-input','exitCode':0x1}),_0xee8e3c;}let _0x256123,_0x3f7921;try{_0x256123=await _0x23e244[_0x23737c(0x130)](_0x54e056[_0x23737c(0x192)],_0x54e056),_0x3f7921=await _0x3f1b7e(_0x256123,_0xe82ff2);}catch(_0x157bf3){throw _0x256123!==void 0x0&&await R(_0x256123),(_0x157bf3 instanceof _0x14f828||z(_0x157bf3))&&_0x41965a['error'](_0x157bf3[_0x23737c(0x155)]+':\x20'+_0x157bf3[_0x23737c(0xc1)],{'code':_0x23737c(0x112),'exitCode':0x1}),_0x157bf3 instanceof a&&_0x41965a[_0x23737c(0x9e)](_0x157bf3[_0x23737c(0xc1)],{'code':_0x23737c(0x12e),'exitCode':0x1}),_0x157bf3;}await _0x256123[_0x23737c(0x129)](),_0x41965a[_0x23737c(0x13c)]()[_0x23737c(0x12a)]?.((_0x54e056[_0x23737c(0x150)]===!0x0?JSON[_0x23737c(0x186)](_0x3f7921,null,0x2):y(_0x3f7921))+'\x0a');}),_0x41965a;}async function R(_0x4c703b){const _0x59d439=_0x409475;await _0x4c703b[_0x59d439(0x129)]();}function z(_0x4951e1){return _0x4951e1 instanceof Error&&typeof _0x4951e1['code']=='string';}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
1
+ const _0x250d7e=_0x5a54;(function(_0x269b08,_0x2557d8){const _0x2e7a2c=_0x5a54,_0x32cd24=_0x269b08();while(!![]){try{const _0x4d4252=-parseInt(_0x2e7a2c(0x10b))/0x1*(-parseInt(_0x2e7a2c(0xaa))/0x2)+parseInt(_0x2e7a2c(0xf7))/0x3*(-parseInt(_0x2e7a2c(0x13b))/0x4)+-parseInt(_0x2e7a2c(0xdb))/0x5+parseInt(_0x2e7a2c(0xe6))/0x6+-parseInt(_0x2e7a2c(0x140))/0x7*(parseInt(_0x2e7a2c(0x9c))/0x8)+parseInt(_0x2e7a2c(0x124))/0x9+parseInt(_0x2e7a2c(0x82))/0xa*(parseInt(_0x2e7a2c(0x13e))/0xb);if(_0x4d4252===_0x2557d8)break;else _0x32cd24['push'](_0x32cd24['shift']());}catch(_0x57d98b){_0x32cd24['push'](_0x32cd24['shift']());}}}(_0xdb9a,0x8f44c));import{ContentInspectionError as _0x36cb74,inspectContent as _0x32894a}from'@univer-cli/content-inspection';import{Argument as _0x2980d4,Command as _0x3c055d,Option as _0x5ec66b}from'commander';var a=class extends Error{};function o(_0x3a3a8f,_0x5e91b3,_0x254ffe){const _0x530e23=_0x5a54;if(_0x3a3a8f===_0x530e23(0xbf)||_0x3a3a8f==='document'||_0x3a3a8f===_0x530e23(0x10d)||_0x3a3a8f===_0x530e23(0xcc)||_0x3a3a8f===_0x530e23(0x90))return m(_0x3a3a8f,_0x5e91b3),h(_0x3a3a8f,_0x254ffe[_0x530e23(0x7b)]),{'kind':_0x3a3a8f};if(_0x3a3a8f===_0x530e23(0x7b))return h(_0x3a3a8f,_0x254ffe[_0x530e23(0x7b)]),{'kind':_0x3a3a8f,'worksheets':p(_0x5e91b3,c)};if(_0x3a3a8f===_0x530e23(0x10f))return h(_0x3a3a8f,_0x254ffe[_0x530e23(0x7b)]),{'kind':_0x3a3a8f,'slides':p(_0x5e91b3,l)};if(_0x3a3a8f==='paragraph')return h(_0x3a3a8f,_0x254ffe['worksheet']),{'kind':_0x3a3a8f,'paragraphs':p(_0x5e91b3,u)};if(_0x3a3a8f===_0x530e23(0x14d))return h(_0x3a3a8f,_0x254ffe[_0x530e23(0x7b)]),{'kind':_0x3a3a8f,'elements':p(_0x5e91b3,s)};if(_0x254ffe[_0x530e23(0x7b)]===void 0x0)throw new a(_0x530e23(0x11d));let _0x4b4560=c(_0x254ffe['worksheet']);return{'kind':_0x3a3a8f,'ranges':p(_0x5e91b3,_0x4e3076=>{const _0x3d9469=_0x530e23;if(_0x4e3076[_0x3d9469(0x75)]===0x0)throw new a(_0x3d9469(0x74));return{'range':_0x4e3076,'worksheet':_0x4b4560};})};}function s(_0x40ae77){const _0x12706e=_0x5a54;let _0x386c1c=d(_0x40ae77);if(_0x386c1c[_0x12706e(0xbc)]==='id')return{'id':_0x386c1c[_0x12706e(0xcf)]};throw new a(_0x12706e(0x142)+_0x386c1c[_0x12706e(0xbc)]+_0x12706e(0x116));}function c(_0x49075b){const _0x320926=_0x5a54;let _0x120fa8=d(_0x49075b);if(_0x120fa8[_0x320926(0xbc)]==='id')return{'id':_0x120fa8[_0x320926(0xcf)]};if(_0x120fa8[_0x320926(0xbc)]===_0x320926(0x145))return{'name':_0x120fa8[_0x320926(0xcf)]};if(_0x120fa8[_0x320926(0xbc)]===_0x320926(0xb6))return{'index':f(_0x120fa8[_0x320926(0xcf)])};throw new a(_0x320926(0x129)+_0x120fa8[_0x320926(0xbc)]+_0x320926(0x102));}function l(_0x4bd3b9){const _0x58e7b6=_0x5a54;let _0x252612=d(_0x4bd3b9);if(_0x252612[_0x58e7b6(0xbc)]==='id')return{'id':_0x252612[_0x58e7b6(0xcf)]};if(_0x252612[_0x58e7b6(0xbc)]===_0x58e7b6(0xb6))return{'index':f(_0x252612[_0x58e7b6(0xcf)])};throw new a(_0x58e7b6(0x93)+_0x252612[_0x58e7b6(0xbc)]+_0x58e7b6(0x113));}function u(_0x4df84d){const _0x15f710=_0x5a54;let _0x1a6de5=d(_0x4df84d);if(_0x1a6de5[_0x15f710(0xbc)]==='id')return{'id':_0x1a6de5[_0x15f710(0xcf)]};if(_0x1a6de5['prefix']===_0x15f710(0xb6))return{'index':f(_0x1a6de5[_0x15f710(0xcf)])};throw new a('Unknown\x20paragraph\x20selector\x20prefix\x20\x22'+_0x1a6de5[_0x15f710(0xbc)]+_0x15f710(0x113));}function d(_0x3e38f8){const _0x4920d9=_0x5a54;let _0x22b628=_0x3e38f8['indexOf'](':');if(_0x22b628<=0x0||_0x22b628===_0x3e38f8[_0x4920d9(0x75)]-0x1)throw new a(_0x4920d9(0x6a)+_0x3e38f8+_0x4920d9(0x7d));return{'prefix':_0x3e38f8[_0x4920d9(0xfc)](0x0,_0x22b628),'value':_0x3e38f8[_0x4920d9(0xfc)](_0x22b628+0x1)};}function f(_0x4b4372){const _0x2524e9=_0x5a54;if(!/^\d+$/[_0x2524e9(0xad)](_0x4b4372))throw new a(_0x2524e9(0x9d)+_0x4b4372+_0x2524e9(0xb4));let _0x4836d0=Number(_0x4b4372);if(!Number[_0x2524e9(0x85)](_0x4836d0)||_0x4836d0<0x1)throw new a(_0x2524e9(0x9d)+_0x4b4372+_0x2524e9(0x92));return _0x4836d0-0x1;}function _0x5a54(_0x3a7ccf,_0x1e64c5){_0x3a7ccf=_0x3a7ccf-0x64;const _0xdb9a67=_0xdb9a();let _0x5a54bc=_0xdb9a67[_0x3a7ccf];return _0x5a54bc;}function p(_0x5be9d8,_0x504333){const _0x43d0f6=_0x5a54;if(_0x5be9d8[_0x43d0f6(0x75)]===0x0)throw new a(_0x43d0f6(0xe5));let _0x4016d1=_0x5be9d8[0x0];if(_0x4016d1===void 0x0)throw new a(_0x43d0f6(0xc8));return[_0x504333(_0x4016d1),..._0x5be9d8[_0x43d0f6(0xfc)](0x1)[_0x43d0f6(0x69)](_0x504333)];}function m(_0x58eb13,_0xe0a90){const _0x190077=_0x5a54;if(_0xe0a90[_0x190077(0x75)]>0x0)throw new a(_0x58eb13+_0x190077(0x149));}function h(_0x3ee764,_0x118752){if(_0x118752!==void 0x0)throw new a('--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20'+_0x3ee764);}var g=0xc,_=0x8,v=0xc;function y(_0x2b70e7){const _0x591c40=_0x5a54;switch(_0x2b70e7[_0x591c40(0x137)]){case _0x591c40(0xcc):return['Base\x20'+_0x2b70e7[_0x591c40(0x145)]+'\x20('+_0x2b70e7['unitId']+')',_0x2b70e7[_0x591c40(0x71)][_0x591c40(0x75)]+_0x591c40(0xfb),'',..._0x2b70e7[_0x591c40(0x71)][_0x591c40(0x69)](k)]['join']('\x0a');case'workbook':return[_0x591c40(0x91)+_0x2b70e7['name']+'\x20('+_0x2b70e7[_0x591c40(0xcb)]+')',..._0x2b70e7['worksheets'][_0x591c40(0x69)](A)][_0x591c40(0x105)]('\x0a');case _0x591c40(0x7b):return _0x2b70e7[_0x591c40(0xf4)][_0x591c40(0x69)](A)[_0x591c40(0x105)]('\x0a');case _0x591c40(0x120):return _0x2b70e7[_0x591c40(0xde)][_0x591c40(0x69)](_0xdbc87e=>_0xdbc87e[_0x591c40(0x7b)]['name']+'!'+_0xdbc87e[_0x591c40(0x10c)]+(_0xdbc87e['clipped']?_0x591c40(0x14c)+_0xdbc87e['requestedRange']+')':'')+'\x0a'+j(_0xdbc87e['displayValues']))[_0x591c40(0x105)]('\x0a\x0a');case _0x591c40(0x10d):return['presentation\x20'+_0x2b70e7[_0x591c40(0x145)]+'\x20('+_0x2b70e7[_0x591c40(0xcb)]+')\x20'+_0x2b70e7[_0x591c40(0x81)][_0x591c40(0x87)]+'x'+_0x2b70e7[_0x591c40(0x81)][_0x591c40(0x13c)],_0x591c40(0x118)+_0x2b70e7[_0x591c40(0x141)]+_0x591c40(0x11e)+_0x2b70e7['layoutSlideCount'],..._0x2b70e7[_0x591c40(0x84)][_0x591c40(0x69)](_0x422737=>'\x20\x20['+(_0x422737[_0x591c40(0xb6)]+0x1)+']\x20'+_0x422737['id']+'\x20'+_0x422737[_0x591c40(0x145)]+'\x20—\x20'+_0x422737[_0x591c40(0xe9)][_0x591c40(0x8c)]+_0x591c40(0xb2)+(_0x422737[_0x591c40(0x121)]===void 0x0?'':_0x591c40(0x117)+_0x422737['textPreview']))][_0x591c40(0x105)]('\x0a');case _0x591c40(0x10f):return _0x2b70e7[_0x591c40(0x84)][_0x591c40(0x69)](_0x8373f3=>[_0x591c40(0x94)+(_0x8373f3[_0x591c40(0xb6)]+0x1)+']\x20'+_0x8373f3['id']+'\x20'+_0x8373f3[_0x591c40(0x145)],..._0x8373f3[_0x591c40(0xac)]['map'](_0x59fd1c=>M(_0x59fd1c,'\x20\x20')),..._0x8373f3[_0x591c40(0xc4)]===''?[]:[_0x591c40(0x127)+_0x8373f3['speakerNotes']]][_0x591c40(0x105)]('\x0a'))[_0x591c40(0x105)]('\x0a\x0a');case _0x591c40(0xea):return['document\x20'+_0x2b70e7[_0x591c40(0xa6)]+'\x20('+_0x2b70e7[_0x591c40(0xcb)]+_0x591c40(0x7f)+_0x2b70e7['mode']+']',_0x2b70e7['paragraphCount']+'\x20paragraphs,\x20'+_0x2b70e7[_0x591c40(0x134)]+_0x591c40(0x130),..._0x2b70e7[_0x591c40(0xd0)][_0x591c40(0x69)](_0x334bf0=>_0x591c40(0xa9)+(_0x334bf0['index']+0x1)+']\x20'+_0x334bf0['id']+_0x591c40(0x117)+_0x334bf0['textPreview'])][_0x591c40(0x105)]('\x0a');case _0x591c40(0x77):return _0x2b70e7['paragraphs']['map'](_0x12207a=>_0x591c40(0x86)+(_0x12207a[_0x591c40(0xb6)]+0x1)+']\x20'+_0x12207a['id']+'\x0a'+_0x12207a[_0x591c40(0x123)]+(_0x12207a[_0x591c40(0x146)][_0x591c40(0x75)]===0x0?'':'\x0atext\x20runs:\x20'+_0x12207a[_0x591c40(0x146)]['length']))[_0x591c40(0x105)]('\x0a\x0a');case _0x591c40(0x90):return[_0x591c40(0x14b)+_0x2b70e7['name']+'\x20('+_0x2b70e7[_0x591c40(0xcb)]+')',_0x2b70e7[_0x591c40(0xe9)][_0x591c40(0x8c)]+'\x20elements\x20—\x20'+C(_0x2b70e7[_0x591c40(0xe9)]['byType']),..._0x2b70e7['elements'][_0x591c40(0x69)](_0x4b05ea=>b(_0x4b05ea,'\x20\x20'))][_0x591c40(0x105)]('\x0a');case'board-element':return _0x2b70e7[_0x591c40(0xac)]['map'](x)[_0x591c40(0x105)]('\x0a\x0a');}}function b(_0x2d0d38,_0x43bdf8){const _0xe4fa1=_0x5a54;let _0x2b7807=_0x2d0d38[_0xe4fa1(0x110)]===void 0x0?'':':'+_0x2d0d38[_0xe4fa1(0x110)],_0x1306de=_0x2d0d38[_0xe4fa1(0x145)]===void 0x0||_0x2d0d38['name']===''?'':'\x20'+_0x2d0d38[_0xe4fa1(0x145)],_0x490c98=_0x2d0d38[_0xe4fa1(0x12d)]===void 0x0&&_0x2d0d38['endElementId']===void 0x0?'':'\x20'+(_0x2d0d38[_0xe4fa1(0x12d)]??'?')+_0xe4fa1(0x111)+(_0x2d0d38[_0xe4fa1(0x106)]??'?'),_0x1e0254=_0x2d0d38['text']===void 0x0||_0x2d0d38[_0xe4fa1(0x123)]===''?'':_0xe4fa1(0x117)+D(_0x2d0d38[_0xe4fa1(0x123)]);return _0x43bdf8+'['+(_0x2d0d38[_0xe4fa1(0x9a)]+0x1)+']\x20'+_0x2d0d38['type']+_0x2b7807+'\x20'+_0x2d0d38['id']+_0x1306de+_0x490c98+_0x1e0254;}function _0xdb9a(){const _0x4cb9cf=['range\x20requires\x20--worksheet\x20<selector>',',\x20layouts:\x20','--worksheet\x20<selector>','worksheet-range','textPreview','view','text','528462gASUSX','choices','container','\x20\x20notes:\x20','\x20\x20formulas:\x20','Unknown\x20worksheet\x20selector\x20prefix\x20\x22','\x20rows\x20omitted','prstGeom','images','startElementId','\x20\x20style:\x20','left','\x20characters','Inspect\x20structured\x20Univer\x20content','\x20\x20crop:\x20','adjustValues','characterCount','\x20(charts\x20','shapeBoundary','kind','worksheet\x20[','\x20\x20poster:\x20','fields','244yMvibV','height','localeCompare','23716IDPJKO','lifeline','301399aWYDoV','masterSlideCount','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','end','<target>','name','textRuns','containerData','acquireRuntime','\x20inspection\x20does\x20not\x20accept\x20selectors','\x20\x20source:\x20','board\x20','\x20(clipped\x20from\x20','board-element','object','requiredOption','\x20\x20placeholder:\x20','\x20\x20drawings:\x20','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','stringify','source','selectable','\x20·\x20','shapeData','map','Invalid\x20selector\x20\x22','[selectors...]','drawings','top','release','\x20\x20originalType:\x20','connection','tables','formulaUsedRanges','primaryFieldId','Range\x20cannot\x20be\x20empty','length','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','paragraph','\x20\x20parentId:\x20','inspect\x20a\x20worktree','valueUsedRanges','worksheet','\x20omitted','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','\x20\x20stroke:\x20',')\x20[','routingMode','size','300Juksto','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','slides','isSafeInteger','paragraph\x20[','width','worktree','push',',\x20selectable=','none','total','body','dataStream',':boundary(','board','workbook\x20','\x22;\x20CLI\x20indices\x20start\x20at\x201','Unknown\x20slide\x20selector\x20prefix\x20\x22','slide\x20[','bottom','\x20\x20laneId:\x20','visible','\x20\x20imageSourceType:\x20','\x09…\x20','orderIndex','offsetY','8YHpiRP','Invalid\x20index\x20\x22','message','mergedRanges','isArray','segmentIndex','\x20records\x20·\x20','--json','mediaType','json','title','\x20\x20tables:\x20','shape','\x20\x20[','7234uvXMNX','content\x20target','elements','test','views','shapeId','media','\x20\x20children:\x20','\x20elements','option','\x22;\x20index\x20must\x20be\x20an\x20integer','range','index','laneId','\x20\x20labels:\x20','site-','\x20\x20styles:\x20','\x20\x20labelText:\x20','prefix','count','tableId','workbook','\x20\x20shapeData:\x20','group','\x20\x20merged:\x20','parentId','speakerNotes','\x20\x20description:\x20','addOption','free(','Missing\x20selector','bounds','connectionPosition','unitId','base','locked','dataValidation','value','paragraphs','\x20\x20connection:\x20','error','waypoints','labelStyle','worksheet\x20selector\x20for\x20range','rowCount','style','inspect.failed','stroke','unresolved','1587320zbbEly','children','recordCount','ranges','Unit\x20to\x20inspect','replace','labels','action','right','\x20\x20values:\x20','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','4560726FNbnCy','diagram','trunk','elementCounts','document','placeholder',',\x20shapes\x20','string','transform','type','code','description','free',',\x20images\x20','worksheets','\x20\x20text:\x20','imageSourceType','26034DFjWvD','segmentT','\x20\x20views:\x20','addArgument','\x20tables','slice','crop','\x20\x20fields:\x20','styleUsedRanges','\x20\x20mediaType:\x20','\x20\x20data\x20validation:\x20','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','conflicts','inspect','join','endElementId','unit','\x20\x20containerData:\x20','routing','columnCount','164mYaPwN','resolvedRange','presentation','\x20\x20labelStyle:\x20','slide','subtype','\x20->\x20','\x20\x20transform:\x20','\x22;\x20use\x20id:\x20or\x20index:','connector','\x20\x20tableId:\x20','\x22;\x20use\x20id:','\x20—\x20','masters:\x20','table','argument','--worktree\x20<id>','\x20\x20data:\x20'];_0xdb9a=function(){return _0x4cb9cf;};return _0xdb9a();}function x(_0x32596f){const _0x2a6b0e=_0x5a54;let _0xa17651=[_0x32596f[_0x2a6b0e(0xef)]+'\x20'+_0x32596f['id']+'\x20['+(_0x32596f['orderIndex']+0x1)+']'+(_0x32596f[_0x2a6b0e(0x145)]===void 0x0||_0x32596f[_0x2a6b0e(0x145)]===''?'':'\x20'+_0x32596f['name']),_0x2a6b0e(0x112)+T(_0x32596f[_0x2a6b0e(0xee)]),'\x20\x20bounds:\x20'+(_0x32596f[_0x2a6b0e(0xc9)]===null?_0x2a6b0e(0xda):T(_0x32596f['bounds'])),'\x20\x20state:\x20visible='+_0x32596f[_0x2a6b0e(0x97)]+_0x2a6b0e(0x8a)+_0x32596f[_0x2a6b0e(0x66)]+',\x20locked='+_0x32596f[_0x2a6b0e(0xcd)]];return _0x32596f['description']!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0xc5)+D(_0x32596f[_0x2a6b0e(0xf1)])),_0x32596f['parentId']!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x78)+_0x32596f[_0x2a6b0e(0xc3)]),_0x32596f[_0x2a6b0e(0xb7)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x96)+_0x32596f[_0x2a6b0e(0xb7)]),_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0x114)?(_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0xd1)+S(_0x32596f[_0x2a6b0e(0x70)]['start'])+_0x2a6b0e(0x111)+S(_0x32596f['connection'][_0x2a6b0e(0x143)]),'\x20\x20routing:\x20'+_0x32596f[_0x2a6b0e(0x70)][_0x2a6b0e(0x109)]+'\x20('+_0x32596f[_0x2a6b0e(0x70)][_0x2a6b0e(0x80)]+'),\x20'+_0x32596f[_0x2a6b0e(0x70)][_0x2a6b0e(0xd3)][_0x2a6b0e(0x75)]+'\x20waypoints','\x20\x20style:\x20'+T(_0x32596f[_0x2a6b0e(0xd7)]),_0x2a6b0e(0xb8)+T(_0x32596f[_0x2a6b0e(0xe1)]),_0x2a6b0e(0xbb)+w(_0x32596f['labelText']),_0x2a6b0e(0x10e)+T(_0x32596f[_0x2a6b0e(0xd4)])),_0xa17651['join']('\x0a')):(_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0xa8)?_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0xc0)+T(_0x32596f[_0x2a6b0e(0x68)])):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0x123)?_0xa17651[_0x2a6b0e(0x89)]('\x20\x20textContent:\x20'+w(_0x32596f['textContent']),'\x20\x20textStyle:\x20'+T(_0x32596f['textStyle'])):_0x32596f[_0x2a6b0e(0xef)]==='image'?(_0xa17651['push'](_0x2a6b0e(0x14a)+E(_0x32596f['source'])),_0x32596f[_0x2a6b0e(0xf6)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x98)+_0x32596f['imageSourceType']),_0x32596f[_0x2a6b0e(0xfd)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x132)+T(_0x32596f[_0x2a6b0e(0xfd)])),_0x32596f[_0x2a6b0e(0x12b)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)]('\x20\x20prstGeom:\x20'+_0x32596f[_0x2a6b0e(0x12b)]),_0x32596f[_0x2a6b0e(0x133)]!==void 0x0&&_0xa17651['push']('\x20\x20adjustValues:\x20'+T(_0x32596f[_0x2a6b0e(0x133)]))):_0x32596f[_0x2a6b0e(0xef)]==='chart'?(_0xa17651[_0x2a6b0e(0x89)]('\x20\x20chartId:\x20'+_0x32596f['chartId']),_0x32596f[_0x2a6b0e(0xeb)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x150)+T(_0x32596f[_0x2a6b0e(0xeb)])),_0x32596f[_0x2a6b0e(0xd9)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x7e)+T(_0x32596f[_0x2a6b0e(0xd9)]))):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0x126)?_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x108)+T(_0x32596f[_0x2a6b0e(0x147)])):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0xe7)?_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x11c)+T(_0x32596f['data'])):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0x119)?(_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x115)+_0x32596f[_0x2a6b0e(0xbe)]),_0x32596f[_0x2a6b0e(0xeb)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x150)+T(_0x32596f['placeholder']))):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0xc1)?_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0xb1)+N(_0x32596f[_0x2a6b0e(0xdc)])):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0xb0)?(_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x100)+_0x32596f[_0x2a6b0e(0xa4)],_0x2a6b0e(0x14a)+E(_0x32596f[_0x2a6b0e(0x65)])),_0x32596f['poster']!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x139)+E(_0x32596f['poster']))):_0x32596f[_0x2a6b0e(0xef)]===_0x2a6b0e(0xeb)?(_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x150)+T(_0x32596f[_0x2a6b0e(0xeb)])),_0x32596f[_0x2a6b0e(0x123)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0xf5)+D(_0x32596f[_0x2a6b0e(0x123)])),_0x32596f[_0x2a6b0e(0xd7)]!==void 0x0&&_0xa17651[_0x2a6b0e(0x89)](_0x2a6b0e(0x12e)+T(_0x32596f[_0x2a6b0e(0xd7)]))):_0xa17651['push'](_0x2a6b0e(0x6f)+_0x32596f['originalType'],_0x2a6b0e(0x11c)+T(_0x32596f['data'])),_0xa17651[_0x2a6b0e(0x105)]('\x0a'));}function S(_0x1e0947){const _0x9695e6=_0x5a54;if(_0x1e0947[_0x9695e6(0x137)]===_0x9695e6(0xf2))return _0x9695e6(0xc7)+_0x1e0947['x']+','+_0x1e0947['y']+')';if(_0x1e0947[_0x9695e6(0x137)]===_0x9695e6(0x13f))return _0x1e0947[_0x9695e6(0xaf)]+':lifeline@'+_0x1e0947[_0x9695e6(0x9b)];if(_0x1e0947[_0x9695e6(0x137)]===_0x9695e6(0x136))return _0x1e0947['shapeId']+_0x9695e6(0x8f)+_0x1e0947['outlineIndex']+','+_0x1e0947[_0x9695e6(0xa1)]+','+_0x1e0947[_0x9695e6(0xf8)]+')';let _0x96a77a=[_0x9695e6(0x6d),_0x9695e6(0xe3),_0x9695e6(0x95),_0x9695e6(0x12f)][_0x1e0947['connectionSiteId']]??_0x9695e6(0xb9)+_0x1e0947['connectionSiteId'];return _0x1e0947[_0x9695e6(0xaf)]+':'+_0x96a77a+(_0x1e0947[_0x9695e6(0xca)]===void 0x0?'':'@'+_0x1e0947[_0x9695e6(0xca)]);}function C(_0x5de2fd){const _0x2a04d5=_0x5a54;let _0x12dca3=Object['entries'](_0x5de2fd)['sort'](([_0x5a902b],[_0x4ff7a8])=>_0x5a902b[_0x2a04d5(0x13d)](_0x4ff7a8));return _0x12dca3['length']===0x0?_0x2a04d5(0x8b):_0x12dca3[_0x2a04d5(0x69)](([_0x2d0a5e,_0x57cd0b])=>_0x2d0a5e+'\x20'+_0x57cd0b)[_0x2a04d5(0x105)](',\x20');}function w(_0x68e480){const _0x10045a=_0x5a54;if(O(_0x68e480)){let _0x6665b9=_0x68e480[_0x10045a(0x8d)];if(O(_0x6665b9)&&typeof _0x6665b9['dataStream']==_0x10045a(0xed))return D(_0x6665b9[_0x10045a(0x8e)][_0x10045a(0xe0)](/[\r\n]+$/u,''));}return T(_0x68e480);}function T(_0x101fb0){return E(JSON['stringify'](_0x101fb0));}function E(_0x5a0f02){const _0x381035=_0x5a54;return _0x5a0f02[_0x381035(0x75)]<=0xc8?_0x5a0f02:_0x5a0f02[_0x381035(0xfc)](0x0,0xc5)+'…';}function D(_0x41f7bf){const _0x5c2e91=_0x5a54;return E(_0x41f7bf[_0x5c2e91(0xe0)](/\s+/gu,'\x20')['trim']());}function O(_0x5636d4){const _0x10426a=_0x5a54;return typeof _0x5636d4==_0x10426a(0x14e)&&!!_0x5636d4&&!Array[_0x10426a(0xa0)](_0x5636d4);}function k(_0x13f463){const _0x263c10=_0x5a54;let _0x3a9277=_0x13f463[_0x263c10(0x13a)]['find'](_0x2a22b7=>_0x2a22b7['id']===_0x13f463[_0x263c10(0x73)]);return['['+_0x13f463[_0x263c10(0xb6)]+']\x20'+_0x13f463[_0x263c10(0x145)]+'\x20('+_0x13f463['id']+')\x20·\x20primary\x20'+(_0x3a9277?.['name']??_0x13f463[_0x263c10(0x73)])+_0x263c10(0x67)+_0x13f463['fields'][_0x263c10(0x75)]+'\x20fields\x20·\x20'+_0x13f463[_0x263c10(0xdd)]+_0x263c10(0xa2)+_0x13f463[_0x263c10(0xae)][_0x263c10(0x75)]+'\x20'+(_0x13f463[_0x263c10(0xae)][_0x263c10(0x75)]===0x1?_0x263c10(0x122):_0x263c10(0xae)),_0x263c10(0xfe)+N(_0x13f463[_0x263c10(0x13a)]['map'](_0x539ef7=>_0x539ef7['name']+':'+_0x539ef7[_0x263c10(0xef)])),_0x263c10(0xf9)+N(_0x13f463[_0x263c10(0xae)]['map'](_0x2a7c91=>_0x2a7c91[_0x263c10(0x145)]+':'+_0x2a7c91['type']))]['join']('\x0a');}function A(_0x46a762){const _0x26775e=_0x5a54;let _0xa117c2=[_0x26775e(0x138)+(_0x46a762[_0x26775e(0xb6)]+0x1)+']\x20'+_0x46a762['id']+'\x20'+_0x46a762['name']+'\x20('+_0x46a762[_0x26775e(0xd6)]+'x'+_0x46a762[_0x26775e(0x10a)]+')',_0x26775e(0xe4)+N(_0x46a762[_0x26775e(0x7a)]),_0x26775e(0x128)+N(_0x46a762[_0x26775e(0x72)]),_0x26775e(0xba)+N(_0x46a762[_0x26775e(0xff)]),_0x26775e(0xc2)+N(_0x46a762[_0x26775e(0x9f)])];return _0x46a762['tables'][_0x26775e(0x75)]>0x0&&_0xa117c2['push'](_0x26775e(0xa7)+N(_0x46a762[_0x26775e(0x71)][_0x26775e(0x69)](_0x144166=>_0x144166[_0x26775e(0x145)]+'('+_0x144166[_0x26775e(0xb5)]+')'))),_0xa117c2[_0x26775e(0x89)]('\x20\x20conditional\x20formatting:\x20'+_0x46a762['conditionalFormatting'][_0x26775e(0xbd)],_0x26775e(0x101)+_0x46a762[_0x26775e(0xce)][_0x26775e(0xbd)],_0x26775e(0x151)+_0x46a762[_0x26775e(0x6c)][_0x26775e(0x8c)]+_0x26775e(0x135)+_0x46a762[_0x26775e(0x6c)]['charts']+_0x26775e(0xf3)+_0x46a762[_0x26775e(0x6c)][_0x26775e(0x12c)]+_0x26775e(0xec)+_0x46a762['drawings']['shapes']+')'),_0xa117c2['join']('\x0a');}function j(_0x5afd49){const _0x560fe3=_0x5a54;let _0x4641ed=_0x5afd49[_0x560fe3(0xfc)](0x0,g)[_0x560fe3(0x69)](_0xe0cf66=>{const _0x1aeb49=_0x560fe3;let _0x30f40d=_0xe0cf66[_0x1aeb49(0xfc)](0x0,_),_0x4fa0d2=_0xe0cf66[_0x1aeb49(0x75)]-_0x30f40d[_0x1aeb49(0x75)];return''+_0x30f40d[_0x1aeb49(0x69)](_0x21e732=>JSON[_0x1aeb49(0x64)](_0x21e732))[_0x1aeb49(0x105)]('\x09')+(_0x4fa0d2>0x0?_0x1aeb49(0x99)+_0x4fa0d2+'\x20columns\x20omitted':'');}),_0x2e49ec=_0x5afd49['length']-_0x4641ed['length'];return _0x2e49ec>0x0&&_0x4641ed[_0x560fe3(0x89)]('…\x20'+_0x2e49ec+_0x560fe3(0x12a)),_0x4641ed[_0x560fe3(0x105)]('\x0a');}function M(_0x5147a8,_0x5e4e9c){const _0x4e3a32=_0x5a54;let _0x5cce42=_0x5147a8['text']?.[_0x4e3a32(0x123)]['replace'](/\s+/g,'\x20')['trim']();return[''+_0x5e4e9c+_0x5147a8[_0x4e3a32(0xef)]+'\x20'+_0x5147a8['id']+(_0x5147a8[_0x4e3a32(0x145)]===''?'':'\x20'+_0x5147a8[_0x4e3a32(0x145)])+(_0x5cce42===void 0x0||_0x5cce42===''?'':_0x4e3a32(0x117)+_0x5cce42),...(_0x5147a8[_0x4e3a32(0xdc)]??[])['map'](_0x3be457=>M(_0x3be457,_0x5e4e9c+'\x20\x20'))][_0x4e3a32(0x105)]('\x0a');}function N(_0x2b4436){const _0x10f6bb=_0x5a54;if(_0x2b4436[_0x10f6bb(0x75)]===0x0)return _0x10f6bb(0x8b);let _0x5593d6=_0x2b4436[_0x10f6bb(0xfc)](0x0,v),_0x4fdf8a=_0x2b4436['length']-_0x5593d6[_0x10f6bb(0x75)];return''+_0x5593d6[_0x10f6bb(0x105)](',\x20')+(_0x4fdf8a>0x0?',\x20…\x20'+_0x4fdf8a+_0x10f6bb(0x7c):'');}var P=['workbook','worksheet',_0x250d7e(0xb5),'document',_0x250d7e(0x77),'presentation',_0x250d7e(0x10f),_0x250d7e(0xcc),'board',_0x250d7e(0x14d)];function F(_0x18ea66){return L({'acquireRuntime':async _0x30e5a3=>await _0x18ea66['acquireRuntime']({'unitId':_0x30e5a3}),'worktree':!0x1});}function I(_0x42436d){return L({'acquireRuntime':async(_0x2abe99,_0x1ebb28)=>{const _0x48e029=_0x5a54;if(_0x1ebb28[_0x48e029(0xe8)]===!0x0&&_0x1ebb28[_0x48e029(0x88)]!==void 0x0)throw new a('--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together');if(_0x1ebb28[_0x48e029(0xe8)]!==!0x0&&_0x1ebb28['worktree']===void 0x0)throw new a(_0x48e029(0x83));return await _0x42436d[_0x48e029(0x148)]({'unitId':_0x2abe99,..._0x1ebb28[_0x48e029(0x88)]===void 0x0?{}:{'worktreeID':_0x1ebb28['worktree']}});},'worktree':!0x0});}function L(_0x15efe9){const _0x1ffc59=_0x250d7e;let _0x2084f8=new _0x3c055d(_0x1ffc59(0x104))[_0x1ffc59(0xf1)](_0x1ffc59(0x131))[_0x1ffc59(0xfa)](new _0x2980d4(_0x1ffc59(0x144),_0x1ffc59(0xab))[_0x1ffc59(0x125)](P))[_0x1ffc59(0x11a)](_0x1ffc59(0x6b),_0x1ffc59(0x152))[_0x1ffc59(0x14f)]('--unit\x20<unit-id>',_0x1ffc59(0xdf))[_0x1ffc59(0xb3)](_0x1ffc59(0x11f),_0x1ffc59(0xd5))['option'](_0x1ffc59(0xa3),_0x1ffc59(0x76));return _0x15efe9[_0x1ffc59(0x88)]&&_0x2084f8[_0x1ffc59(0xc6)](new _0x5ec66b('--trunk','inspect\x20the\x20trunk')[_0x1ffc59(0x103)](_0x1ffc59(0x88)))['addOption'](new _0x5ec66b(_0x1ffc59(0x11b),_0x1ffc59(0x79))[_0x1ffc59(0x103)](_0x1ffc59(0xe8))),_0x2084f8[_0x1ffc59(0xe2)](async(_0x5362ee,_0x40175c,_0x15de27)=>{const _0x1f38f2=_0x1ffc59;let _0x2a9f7a=_0x5362ee==='range'?'worksheet-range':_0x5362ee,_0x165cc5;try{_0x165cc5=o(_0x2a9f7a,_0x40175c,_0x15de27);}catch(_0x414c3f){throw _0x414c3f instanceof a&&_0x2084f8['error'](_0x414c3f['message'],{'code':'inspect.invalid-input','exitCode':0x1}),_0x414c3f;}let _0x24862d,_0x1c8535;try{_0x24862d=await _0x15efe9[_0x1f38f2(0x148)](_0x15de27[_0x1f38f2(0x107)],_0x15de27),_0x1c8535=await _0x32894a(_0x24862d,_0x165cc5);}catch(_0x2041c1){throw _0x24862d!==void 0x0&&await R(_0x24862d),(_0x2041c1 instanceof _0x36cb74||z(_0x2041c1))&&_0x2084f8[_0x1f38f2(0xd2)](_0x2041c1[_0x1f38f2(0xf0)]+':\x20'+_0x2041c1['message'],{'code':_0x1f38f2(0xd8),'exitCode':0x1}),_0x2041c1 instanceof a&&_0x2084f8[_0x1f38f2(0xd2)](_0x2041c1[_0x1f38f2(0x9e)],{'code':'inspect.invalid-input','exitCode':0x1}),_0x2041c1;}await _0x24862d[_0x1f38f2(0x6e)](),_0x2084f8['configureOutput']()['writeOut']?.((_0x15de27[_0x1f38f2(0xa5)]===!0x0?JSON['stringify'](_0x1c8535,null,0x2):y(_0x1c8535))+'\x0a');}),_0x2084f8;}async function R(_0xba7aec){const _0x10d6cb=_0x250d7e;await _0xba7aec[_0x10d6cb(0x6e)]();}function z(_0x116f7c){const _0x1df84d=_0x250d7e;return _0x116f7c instanceof Error&&typeof _0x116f7c[_0x1df84d(0xf0)]==_0x1df84d(0xed);}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univer-cli/content-inspection-command",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "README.zh-CN.md"
19
19
  ],
20
20
  "dependencies": {
21
- "@univer-cli/content-inspection": "1.0.1"
21
+ "@univer-cli/content-inspection": "1.0.3"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"