@univer-cli/content-inspection-command 1.0.1 → 1.0.2

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 _0x2b4780=_0x347f;(function(_0x161642,_0x444882){const _0x40e48e=_0x347f,_0x3e7f40=_0x161642();while(!![]){try{const _0x54c126=parseInt(_0x40e48e(0x25c))/0x1*(-parseInt(_0x40e48e(0x18a))/0x2)+-parseInt(_0x40e48e(0x1fd))/0x3+parseInt(_0x40e48e(0x220))/0x4+-parseInt(_0x40e48e(0x22e))/0x5*(parseInt(_0x40e48e(0x1de))/0x6)+-parseInt(_0x40e48e(0x17e))/0x7*(-parseInt(_0x40e48e(0x1ea))/0x8)+-parseInt(_0x40e48e(0x1a1))/0x9*(parseInt(_0x40e48e(0x242))/0xa)+parseInt(_0x40e48e(0x1fa))/0xb;if(_0x54c126===_0x444882)break;else _0x3e7f40['push'](_0x3e7f40['shift']());}catch(_0x419d53){_0x3e7f40['push'](_0x3e7f40['shift']());}}}(_0xa40e,0xdcd07));import{ContentInspectionError as _0x2d6708,inspectContent as _0x3d9553}from'@univer-cli/content-inspection';import{Argument as _0x436f3c,Command as _0x53bf79,Option as _0x4d3e81}from'commander';var a=class extends Error{};function o(_0x4a1b33,_0x43b452,_0x196656){const _0x298b9a=_0x347f;if(_0x4a1b33==='workbook'||_0x4a1b33===_0x298b9a(0x1b3)||_0x4a1b33===_0x298b9a(0x24b)||_0x4a1b33===_0x298b9a(0x1bd)||_0x4a1b33==='board')return m(_0x4a1b33,_0x43b452),h(_0x4a1b33,_0x196656['worksheet']),{'kind':_0x4a1b33};if(_0x4a1b33==='worksheet')return h(_0x4a1b33,_0x196656[_0x298b9a(0x17c)]),{'kind':_0x4a1b33,'worksheets':p(_0x43b452,c)};if(_0x4a1b33==='slide')return h(_0x4a1b33,_0x196656['worksheet']),{'kind':_0x4a1b33,'slides':p(_0x43b452,l)};if(_0x4a1b33===_0x298b9a(0x201))return h(_0x4a1b33,_0x196656[_0x298b9a(0x17c)]),{'kind':_0x4a1b33,'paragraphs':p(_0x43b452,u)};if(_0x4a1b33===_0x298b9a(0x169))return h(_0x4a1b33,_0x196656[_0x298b9a(0x17c)]),{'kind':_0x4a1b33,'elements':p(_0x43b452,s)};if(_0x196656[_0x298b9a(0x17c)]===void 0x0)throw new a(_0x298b9a(0x1d6));let _0x52937e=c(_0x196656[_0x298b9a(0x17c)]);return{'kind':_0x4a1b33,'ranges':p(_0x43b452,_0x995ddf=>{const _0x27593b=_0x298b9a;if(_0x995ddf['length']===0x0)throw new a(_0x27593b(0x1b8));return{'range':_0x995ddf,'worksheet':_0x52937e};})};}function s(_0x4bba71){const _0x473465=_0x347f;let _0x2b274e=d(_0x4bba71);if(_0x2b274e[_0x473465(0x203)]==='id')return{'id':_0x2b274e[_0x473465(0x22b)]};throw new a(_0x473465(0x20b)+_0x2b274e[_0x473465(0x203)]+_0x473465(0x20c));}function c(_0x1d055d){const _0x55839d=_0x347f;let _0x3ff1fb=d(_0x1d055d);if(_0x3ff1fb[_0x55839d(0x203)]==='id')return{'id':_0x3ff1fb[_0x55839d(0x22b)]};if(_0x3ff1fb['prefix']==='name')return{'name':_0x3ff1fb[_0x55839d(0x22b)]};if(_0x3ff1fb['prefix']===_0x55839d(0x1da))return{'index':f(_0x3ff1fb[_0x55839d(0x22b)])};throw new a('Unknown\x20worksheet\x20selector\x20prefix\x20\x22'+_0x3ff1fb[_0x55839d(0x203)]+_0x55839d(0x257));}function l(_0x5bb929){const _0x450292=_0x347f;let _0x4a0fe0=d(_0x5bb929);if(_0x4a0fe0['prefix']==='id')return{'id':_0x4a0fe0[_0x450292(0x22b)]};if(_0x4a0fe0['prefix']===_0x450292(0x1da))return{'index':f(_0x4a0fe0[_0x450292(0x22b)])};throw new a('Unknown\x20slide\x20selector\x20prefix\x20\x22'+_0x4a0fe0[_0x450292(0x203)]+_0x450292(0x241));}function _0xa40e(){const _0x5c0714=['content\x20target','335032qBimwc','slide\x20[',',\x20selectable=','\x20\x20labelText:\x20','site-','children','addOption','\x20·\x20','length','\x20(clipped\x20from\x20','stringify','speakerNotes','unresolved','Invalid\x20selector\x20\x22','worksheet\x20[','\x20\x20values:\x20','join','visible','data','waypoints','media',':lifeline@',':boundary(','9vXvusY','\x20\x20text:\x20','\x20\x20mediaType:\x20','\x20\x20shapeData:\x20','[selectors...]','text','valueUsedRanges','indexOf','\x20\x20state:\x20visible=','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','configureOutput','argument','shapeData','code','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','\x20\x20conditional\x20formatting:\x20','\x20\x20imageSourceType:\x20','document','\x20\x20originalType:\x20','chart','subtype','error','Range\x20cannot\x20be\x20empty','worksheets','json','description','entries','base','),\x20','size','height','choices','end','push','\x20\x20connection:\x20','crop','segmentT','\x20\x20tableId:\x20','Base\x20','release','Unit\x20to\x20inspect','action','connectionSiteId','routingMode','source','body','\x20\x20children:\x20','shapeBoundary','Unknown\x20paragraph\x20selector\x20prefix\x20\x22','sort','conflicts','replace','range\x20requires\x20--worksheet\x20<selector>','Inspect\x20structured\x20Univer\x20content','startElementId','addArgument','index','\x20\x20formulas:\x20','shapes','displayValues','6ZoAEDY','map','inspect\x20the\x20trunk',')\x20·\x20primary\x20','\x20->\x20','\x20\x20description:\x20','slice','rowCount','labels','prstGeom','writeOut','\x20—\x20','856AOLgRt','drawings','free','width','connection','fields','inspect.invalid-input','--trunk','\x20(charts\x20','orderIndex','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','\x20columns\x20omitted','\x20tables','\x20paragraphs,\x20','textPreview',',\x20…\x20','27796285jUFneJ','\x20elements','elements','1334043bRaCCH','\x09…\x20','adjustValues','views','paragraph','trunk','prefix','containerData','imageSourceType','string','clipped','test','poster','charts','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','\x22;\x20use\x20id:','acquireRuntime','byType','\x20\x20bounds:\x20','labelText','styleUsedRanges','\x20\x20laneId:\x20','\x20\x20style:\x20','style','layoutSlideCount','table','board','\x20elements\x20—\x20','dataStream','shape','\x20\x20tables:\x20','name','\x20\x20labelStyle:\x20','tableId','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','2558652NxYKJA','parentId',')\x20[','\x20\x20containerData:\x20','none','columnCount','kind','locked','shapeId','\x20\x20textStyle:\x20','\x20\x20transform:\x20','value','Invalid\x20index\x20\x22','labelStyle','7938630yNlMPM','trim',',\x20shapes\x20','\x20\x20views:\x20','\x20\x20labels:\x20','paragraph\x20[','\x20waypoints','range','placeholder','segmentIndex','endElementId','mergedRanges','\x20\x20poster:\x20','--worktree\x20<id>','slides','workbook','top','lifeline','textStyle','\x22;\x20use\x20id:\x20or\x20index:','12065090MOiYFY','resolvedRange','primaryFieldId','laneId','recordCount','routing','\x20fields\x20·\x20','unit','dataValidation','presentation','\x0atext\x20runs:\x20','worktree','\x20\x20data\x20validation:\x20','type','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','masterSlideCount','\x22;\x20index\x20must\x20be\x20an\x20integer','unitId','worksheet-range','connectionPosition','\x20\x20adjustValues:\x20','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','mediaType','board\x20','find','view','4xSDDqX','left','tables','board-element','\x20\x20[','title','worksheet\x20selector\x20for\x20range','total','--unit\x20<unit-id>','images','\x20\x20placeholder:\x20','workbook\x20','inspect.failed','count','isSafeInteger',',\x20locked=','diagram','bounds','selectable','paragraphs','paragraphCount','\x20\x20parentId:\x20','worksheet','inspect','107737uPYEwY','\x20\x20crop:\x20','elementCounts','\x20\x20source:\x20','--json','localeCompare','requiredOption','textContent','slide','\x20\x20merged:\x20','\x20rows\x20omitted'];_0xa40e=function(){return _0x5c0714;};return _0xa40e();}function u(_0x45e112){const _0x108230=_0x347f;let _0x2cbebf=d(_0x45e112);if(_0x2cbebf['prefix']==='id')return{'id':_0x2cbebf[_0x108230(0x22b)]};if(_0x2cbebf[_0x108230(0x203)]==='index')return{'index':f(_0x2cbebf['value'])};throw new a(_0x108230(0x1d2)+_0x2cbebf[_0x108230(0x203)]+_0x108230(0x241));}function d(_0x211fdd){const _0x230823=_0x347f;let _0x1f3001=_0x211fdd[_0x230823(0x1a8)](':');if(_0x1f3001<=0x0||_0x1f3001===_0x211fdd[_0x230823(0x192)]-0x1)throw new a(_0x230823(0x197)+_0x211fdd+'\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix');return{'prefix':_0x211fdd[_0x230823(0x1e4)](0x0,_0x1f3001),'value':_0x211fdd[_0x230823(0x1e4)](_0x1f3001+0x1)};}function f(_0x2f893b){const _0x1e289f=_0x347f;if(!/^\d+$/[_0x1e289f(0x208)](_0x2f893b))throw new a(_0x1e289f(0x22c)+_0x2f893b+_0x1e289f(0x252));let _0x1fdec2=Number(_0x2f893b);if(!Number[_0x1e289f(0x174)](_0x1fdec2)||_0x1fdec2<0x1)throw new a('Invalid\x20index\x20\x22'+_0x2f893b+'\x22;\x20CLI\x20indices\x20start\x20at\x201');return _0x1fdec2-0x1;}function p(_0x423176,_0xa08795){const _0x687f50=_0x347f;if(_0x423176[_0x687f50(0x192)]===0x0)throw new a(_0x687f50(0x1f4));let _0x422d3c=_0x423176[0x0];if(_0x422d3c===void 0x0)throw new a('Missing\x20selector');return[_0xa08795(_0x422d3c),..._0x423176[_0x687f50(0x1e4)](0x1)['map'](_0xa08795)];}function _0x347f(_0x4271a2,_0x2efbea){_0x4271a2=_0x4271a2-0x167;const _0xa40e33=_0xa40e();let _0x347fe8=_0xa40e33[_0x4271a2];return _0x347fe8;}function m(_0x5ee827,_0x3c5398){if(_0x3c5398['length']>0x0)throw new a(_0x5ee827+'\x20inspection\x20does\x20not\x20accept\x20selectors');}function h(_0x4cbe2f,_0x4fa5d8){const _0x593e83=_0x347f;if(_0x4fa5d8!==void 0x0)throw new a(_0x593e83(0x1af)+_0x4cbe2f);}var g=0xc,_=0x8,v=0xc;function y(_0x46fb69){const _0x7504f2=_0x347f;switch(_0x46fb69['kind']){case _0x7504f2(0x1bd):return[_0x7504f2(0x1c8)+_0x46fb69['name']+'\x20('+_0x46fb69[_0x7504f2(0x253)]+')',_0x46fb69[_0x7504f2(0x168)]['length']+_0x7504f2(0x1f6),'',..._0x46fb69[_0x7504f2(0x168)][_0x7504f2(0x1df)](k)][_0x7504f2(0x19a)]('\x0a');case _0x7504f2(0x23d):return[_0x7504f2(0x171)+_0x46fb69[_0x7504f2(0x21c)]+'\x20('+_0x46fb69[_0x7504f2(0x253)]+')',..._0x46fb69[_0x7504f2(0x1b9)][_0x7504f2(0x1df)](A)][_0x7504f2(0x19a)]('\x0a');case _0x7504f2(0x17c):return _0x46fb69[_0x7504f2(0x1b9)][_0x7504f2(0x1df)](A)[_0x7504f2(0x19a)]('\x0a');case _0x7504f2(0x254):return _0x46fb69['ranges'][_0x7504f2(0x1df)](_0x5c7c39=>_0x5c7c39[_0x7504f2(0x17c)][_0x7504f2(0x21c)]+'!'+_0x5c7c39[_0x7504f2(0x243)]+(_0x5c7c39[_0x7504f2(0x207)]?_0x7504f2(0x193)+_0x5c7c39['requestedRange']+')':'')+'\x0a'+j(_0x5c7c39[_0x7504f2(0x1dd)]))[_0x7504f2(0x19a)]('\x0a\x0a');case _0x7504f2(0x24b):return['presentation\x20'+_0x46fb69[_0x7504f2(0x21c)]+'\x20('+_0x46fb69['unitId']+')\x20'+_0x46fb69[_0x7504f2(0x1bf)][_0x7504f2(0x1ed)]+'x'+_0x46fb69[_0x7504f2(0x1bf)][_0x7504f2(0x1c0)],'masters:\x20'+_0x46fb69[_0x7504f2(0x251)]+',\x20layouts:\x20'+_0x46fb69[_0x7504f2(0x215)],..._0x46fb69[_0x7504f2(0x23c)]['map'](_0x6bdb74=>_0x7504f2(0x16a)+(_0x6bdb74[_0x7504f2(0x1da)]+0x1)+']\x20'+_0x6bdb74['id']+'\x20'+_0x6bdb74[_0x7504f2(0x21c)]+'\x20—\x20'+_0x6bdb74[_0x7504f2(0x180)][_0x7504f2(0x16d)]+_0x7504f2(0x1fb)+(_0x6bdb74[_0x7504f2(0x1f8)]===void 0x0?'':_0x7504f2(0x1e9)+_0x6bdb74[_0x7504f2(0x1f8)]))][_0x7504f2(0x19a)]('\x0a');case _0x7504f2(0x186):return _0x46fb69[_0x7504f2(0x23c)]['map'](_0x52062b=>[_0x7504f2(0x18b)+(_0x52062b['index']+0x1)+']\x20'+_0x52062b['id']+'\x20'+_0x52062b[_0x7504f2(0x21c)],..._0x52062b[_0x7504f2(0x1fc)][_0x7504f2(0x1df)](_0x30fb3b=>M(_0x30fb3b,'\x20\x20')),..._0x52062b[_0x7504f2(0x195)]===''?[]:['\x20\x20notes:\x20'+_0x52062b['speakerNotes']]][_0x7504f2(0x19a)]('\x0a'))[_0x7504f2(0x19a)]('\x0a\x0a');case _0x7504f2(0x1b3):return['document\x20'+_0x46fb69[_0x7504f2(0x16b)]+'\x20('+_0x46fb69[_0x7504f2(0x253)]+_0x7504f2(0x222)+_0x46fb69['mode']+']',_0x46fb69[_0x7504f2(0x17a)]+_0x7504f2(0x1f7)+_0x46fb69['characterCount']+'\x20characters',..._0x46fb69[_0x7504f2(0x179)][_0x7504f2(0x1df)](_0x2a2efe=>_0x7504f2(0x16a)+(_0x2a2efe[_0x7504f2(0x1da)]+0x1)+']\x20'+_0x2a2efe['id']+_0x7504f2(0x1e9)+_0x2a2efe[_0x7504f2(0x1f8)])][_0x7504f2(0x19a)]('\x0a');case _0x7504f2(0x201):return _0x46fb69[_0x7504f2(0x179)][_0x7504f2(0x1df)](_0x33e715=>_0x7504f2(0x233)+(_0x33e715['index']+0x1)+']\x20'+_0x33e715['id']+'\x0a'+_0x33e715[_0x7504f2(0x1a6)]+(_0x33e715['textRuns'][_0x7504f2(0x192)]===0x0?'':_0x7504f2(0x24c)+_0x33e715['textRuns']['length']))['join']('\x0a\x0a');case _0x7504f2(0x217):return[_0x7504f2(0x259)+_0x46fb69[_0x7504f2(0x21c)]+'\x20('+_0x46fb69[_0x7504f2(0x253)]+')',_0x46fb69[_0x7504f2(0x180)][_0x7504f2(0x16d)]+_0x7504f2(0x218)+C(_0x46fb69[_0x7504f2(0x180)][_0x7504f2(0x20e)]),..._0x46fb69['elements'][_0x7504f2(0x1df)](_0x18b820=>b(_0x18b820,'\x20\x20'))]['join']('\x0a');case _0x7504f2(0x169):return _0x46fb69[_0x7504f2(0x1fc)][_0x7504f2(0x1df)](x)[_0x7504f2(0x19a)]('\x0a\x0a');}}function b(_0x5cce59,_0x13abbe){const _0x4ce80c=_0x347f;let _0x5ccaa4=_0x5cce59[_0x4ce80c(0x1b6)]===void 0x0?'':':'+_0x5cce59['subtype'],_0x18853a=_0x5cce59[_0x4ce80c(0x21c)]===void 0x0||_0x5cce59[_0x4ce80c(0x21c)]===''?'':'\x20'+_0x5cce59['name'],_0x25127f=_0x5cce59[_0x4ce80c(0x1d8)]===void 0x0&&_0x5cce59[_0x4ce80c(0x238)]===void 0x0?'':'\x20'+(_0x5cce59[_0x4ce80c(0x1d8)]??'?')+_0x4ce80c(0x1e2)+(_0x5cce59[_0x4ce80c(0x238)]??'?'),_0x1148ea=_0x5cce59[_0x4ce80c(0x1a6)]===void 0x0||_0x5cce59[_0x4ce80c(0x1a6)]===''?'':_0x4ce80c(0x1e9)+D(_0x5cce59[_0x4ce80c(0x1a6)]);return _0x13abbe+'['+(_0x5cce59[_0x4ce80c(0x1f3)]+0x1)+']\x20'+_0x5cce59['type']+_0x5ccaa4+'\x20'+_0x5cce59['id']+_0x18853a+_0x25127f+_0x1148ea;}function x(_0x100a72){const _0x772393=_0x347f;let _0x2f6990=[_0x100a72[_0x772393(0x24f)]+'\x20'+_0x100a72['id']+'\x20['+(_0x100a72[_0x772393(0x1f3)]+0x1)+']'+(_0x100a72[_0x772393(0x21c)]===void 0x0||_0x100a72[_0x772393(0x21c)]===''?'':'\x20'+_0x100a72[_0x772393(0x21c)]),_0x772393(0x22a)+T(_0x100a72['transform']),_0x772393(0x20f)+(_0x100a72[_0x772393(0x177)]===null?_0x772393(0x196):T(_0x100a72[_0x772393(0x177)])),_0x772393(0x1a9)+_0x100a72[_0x772393(0x19b)]+_0x772393(0x18c)+_0x100a72[_0x772393(0x178)]+_0x772393(0x175)+_0x100a72[_0x772393(0x227)]];return _0x100a72[_0x772393(0x1bb)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1e3)+D(_0x100a72['description'])),_0x100a72[_0x772393(0x221)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x17b)+_0x100a72['parentId']),_0x100a72[_0x772393(0x245)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x212)+_0x100a72[_0x772393(0x245)]),_0x100a72[_0x772393(0x24f)]==='connector'?(_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1c4)+S(_0x100a72['connection']['start'])+_0x772393(0x1e2)+S(_0x100a72[_0x772393(0x1ee)][_0x772393(0x1c2)]),'\x20\x20routing:\x20'+_0x100a72[_0x772393(0x1ee)][_0x772393(0x247)]+'\x20('+_0x100a72['connection'][_0x772393(0x1cd)]+_0x772393(0x1be)+_0x100a72[_0x772393(0x1ee)][_0x772393(0x19d)][_0x772393(0x192)]+_0x772393(0x234),_0x772393(0x213)+T(_0x100a72['style']),_0x772393(0x232)+T(_0x100a72[_0x772393(0x1e6)]),_0x772393(0x18d)+w(_0x100a72[_0x772393(0x210)]),_0x772393(0x21d)+T(_0x100a72[_0x772393(0x22d)])),_0x2f6990[_0x772393(0x19a)]('\x0a')):(_0x100a72[_0x772393(0x24f)]===_0x772393(0x21a)?_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1a4)+T(_0x100a72[_0x772393(0x1ad)])):_0x100a72[_0x772393(0x24f)]===_0x772393(0x1a6)?_0x2f6990[_0x772393(0x1c3)]('\x20\x20textContent:\x20'+w(_0x100a72[_0x772393(0x185)]),_0x772393(0x229)+T(_0x100a72[_0x772393(0x240)])):_0x100a72[_0x772393(0x24f)]==='image'?(_0x2f6990['push']('\x20\x20source:\x20'+E(_0x100a72[_0x772393(0x1ce)])),_0x100a72[_0x772393(0x205)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1b2)+_0x100a72[_0x772393(0x205)]),_0x100a72[_0x772393(0x1c5)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x17f)+T(_0x100a72[_0x772393(0x1c5)])),_0x100a72['prstGeom']!==void 0x0&&_0x2f6990[_0x772393(0x1c3)]('\x20\x20prstGeom:\x20'+_0x100a72[_0x772393(0x1e7)]),_0x100a72[_0x772393(0x1ff)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x256)+T(_0x100a72[_0x772393(0x1ff)]))):_0x100a72['type']===_0x772393(0x1b5)?(_0x2f6990[_0x772393(0x1c3)]('\x20\x20chartId:\x20'+_0x100a72['chartId']),_0x100a72[_0x772393(0x236)]!==void 0x0&&_0x2f6990[_0x772393(0x1c3)]('\x20\x20placeholder:\x20'+T(_0x100a72[_0x772393(0x236)])),_0x100a72['stroke']!==void 0x0&&_0x2f6990[_0x772393(0x1c3)]('\x20\x20stroke:\x20'+T(_0x100a72['stroke']))):_0x100a72['type']==='container'?_0x2f6990['push'](_0x772393(0x223)+T(_0x100a72[_0x772393(0x204)])):_0x100a72[_0x772393(0x24f)]===_0x772393(0x176)?_0x2f6990[_0x772393(0x1c3)]('\x20\x20data:\x20'+T(_0x100a72[_0x772393(0x19c)])):_0x100a72['type']===_0x772393(0x216)?(_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1c7)+_0x100a72[_0x772393(0x21e)]),_0x100a72[_0x772393(0x236)]!==void 0x0&&_0x2f6990['push'](_0x772393(0x170)+T(_0x100a72[_0x772393(0x236)]))):_0x100a72['type']==='group'?_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1d0)+N(_0x100a72[_0x772393(0x18f)])):_0x100a72[_0x772393(0x24f)]===_0x772393(0x19e)?(_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1a3)+_0x100a72[_0x772393(0x258)],_0x772393(0x181)+E(_0x100a72['source'])),_0x100a72['poster']!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x23a)+E(_0x100a72[_0x772393(0x209)]))):_0x100a72['type']===_0x772393(0x236)?(_0x2f6990['push'](_0x772393(0x170)+T(_0x100a72['placeholder'])),_0x100a72[_0x772393(0x1a6)]!==void 0x0&&_0x2f6990['push'](_0x772393(0x1a2)+D(_0x100a72['text'])),_0x100a72['style']!==void 0x0&&_0x2f6990[_0x772393(0x1c3)](_0x772393(0x213)+T(_0x100a72[_0x772393(0x214)]))):_0x2f6990[_0x772393(0x1c3)](_0x772393(0x1b4)+_0x100a72['originalType'],'\x20\x20data:\x20'+T(_0x100a72[_0x772393(0x19c)])),_0x2f6990[_0x772393(0x19a)]('\x0a'));}function S(_0x2d4be5){const _0x5b404e=_0x347f;if(_0x2d4be5[_0x5b404e(0x226)]===_0x5b404e(0x1ec))return'free('+_0x2d4be5['x']+','+_0x2d4be5['y']+')';if(_0x2d4be5['kind']===_0x5b404e(0x23f))return _0x2d4be5['shapeId']+_0x5b404e(0x19f)+_0x2d4be5['offsetY'];if(_0x2d4be5[_0x5b404e(0x226)]===_0x5b404e(0x1d1))return _0x2d4be5[_0x5b404e(0x228)]+_0x5b404e(0x1a0)+_0x2d4be5['outlineIndex']+','+_0x2d4be5[_0x5b404e(0x237)]+','+_0x2d4be5[_0x5b404e(0x1c6)]+')';let _0x20e015=[_0x5b404e(0x23e),'right','bottom',_0x5b404e(0x167)][_0x2d4be5[_0x5b404e(0x1cc)]]??_0x5b404e(0x18e)+_0x2d4be5[_0x5b404e(0x1cc)];return _0x2d4be5[_0x5b404e(0x228)]+':'+_0x20e015+(_0x2d4be5['connectionPosition']===void 0x0?'':'@'+_0x2d4be5[_0x5b404e(0x255)]);}function C(_0x556d38){const _0x5b48f0=_0x347f;let _0x289445=Object[_0x5b48f0(0x1bc)](_0x556d38)[_0x5b48f0(0x1d3)](([_0x40c2ed],[_0x4a37c7])=>_0x40c2ed[_0x5b48f0(0x183)](_0x4a37c7));return _0x289445[_0x5b48f0(0x192)]===0x0?_0x5b48f0(0x224):_0x289445['map'](([_0x3b306c,_0x21b87d])=>_0x3b306c+'\x20'+_0x21b87d)['join'](',\x20');}function w(_0x21a529){const _0x6b9123=_0x347f;if(O(_0x21a529)){let _0x42dd3b=_0x21a529[_0x6b9123(0x1cf)];if(O(_0x42dd3b)&&typeof _0x42dd3b[_0x6b9123(0x219)]==_0x6b9123(0x206))return D(_0x42dd3b[_0x6b9123(0x219)][_0x6b9123(0x1d5)](/[\r\n]+$/u,''));}return T(_0x21a529);}function T(_0x3d61f9){const _0x802b30=_0x347f;return E(JSON[_0x802b30(0x194)](_0x3d61f9));}function E(_0x46592e){const _0x5e0e2c=_0x347f;return _0x46592e[_0x5e0e2c(0x192)]<=0xc8?_0x46592e:_0x46592e[_0x5e0e2c(0x1e4)](0x0,0xc5)+'…';}function D(_0x4c4bf6){const _0xdcd461=_0x347f;return E(_0x4c4bf6[_0xdcd461(0x1d5)](/\s+/gu,'\x20')['trim']());}function O(_0x324cfe){return typeof _0x324cfe=='object'&&!!_0x324cfe&&!Array['isArray'](_0x324cfe);}function k(_0x497396){const _0x330576=_0x347f;let _0x322ff7=_0x497396[_0x330576(0x1ef)][_0x330576(0x25a)](_0x3c630a=>_0x3c630a['id']===_0x497396['primaryFieldId']);return['['+_0x497396[_0x330576(0x1da)]+']\x20'+_0x497396[_0x330576(0x21c)]+'\x20('+_0x497396['id']+_0x330576(0x1e1)+(_0x322ff7?.['name']??_0x497396[_0x330576(0x244)])+_0x330576(0x191)+_0x497396[_0x330576(0x1ef)][_0x330576(0x192)]+_0x330576(0x248)+_0x497396[_0x330576(0x246)]+'\x20records\x20·\x20'+_0x497396[_0x330576(0x200)][_0x330576(0x192)]+'\x20'+(_0x497396[_0x330576(0x200)]['length']===0x1?_0x330576(0x25b):_0x330576(0x200)),'\x20\x20fields:\x20'+N(_0x497396[_0x330576(0x1ef)][_0x330576(0x1df)](_0xc9eccb=>_0xc9eccb[_0x330576(0x21c)]+':'+_0xc9eccb[_0x330576(0x24f)])),_0x330576(0x231)+N(_0x497396[_0x330576(0x200)][_0x330576(0x1df)](_0x55c13c=>_0x55c13c[_0x330576(0x21c)]+':'+_0x55c13c[_0x330576(0x24f)]))][_0x330576(0x19a)]('\x0a');}function A(_0x247469){const _0x1f3367=_0x347f;let _0x374933=[_0x1f3367(0x198)+(_0x247469[_0x1f3367(0x1da)]+0x1)+']\x20'+_0x247469['id']+'\x20'+_0x247469['name']+'\x20('+_0x247469[_0x1f3367(0x1e5)]+'x'+_0x247469[_0x1f3367(0x225)]+')',_0x1f3367(0x199)+N(_0x247469[_0x1f3367(0x1a7)]),_0x1f3367(0x1db)+N(_0x247469['formulaUsedRanges']),'\x20\x20styles:\x20'+N(_0x247469[_0x1f3367(0x211)]),_0x1f3367(0x187)+N(_0x247469[_0x1f3367(0x239)])];return _0x247469[_0x1f3367(0x168)][_0x1f3367(0x192)]>0x0&&_0x374933[_0x1f3367(0x1c3)](_0x1f3367(0x21b)+N(_0x247469[_0x1f3367(0x168)][_0x1f3367(0x1df)](_0x5862fd=>_0x5862fd[_0x1f3367(0x21c)]+'('+_0x5862fd[_0x1f3367(0x235)]+')'))),_0x374933[_0x1f3367(0x1c3)](_0x1f3367(0x1b1)+_0x247469['conditionalFormatting']['count'],_0x1f3367(0x24e)+_0x247469[_0x1f3367(0x24a)][_0x1f3367(0x173)],'\x20\x20drawings:\x20'+_0x247469['drawings'][_0x1f3367(0x16d)]+_0x1f3367(0x1f2)+_0x247469['drawings'][_0x1f3367(0x20a)]+',\x20images\x20'+_0x247469[_0x1f3367(0x1eb)][_0x1f3367(0x16f)]+_0x1f3367(0x230)+_0x247469[_0x1f3367(0x1eb)][_0x1f3367(0x1dc)]+')'),_0x374933[_0x1f3367(0x19a)]('\x0a');}function j(_0x23e737){const _0x35d9b1=_0x347f;let _0x3e680a=_0x23e737[_0x35d9b1(0x1e4)](0x0,g)[_0x35d9b1(0x1df)](_0x3bb5a9=>{const _0x230043=_0x35d9b1;let _0x10c8fa=_0x3bb5a9[_0x230043(0x1e4)](0x0,_),_0x217fcb=_0x3bb5a9[_0x230043(0x192)]-_0x10c8fa[_0x230043(0x192)];return''+_0x10c8fa[_0x230043(0x1df)](_0x567124=>JSON[_0x230043(0x194)](_0x567124))['join']('\x09')+(_0x217fcb>0x0?_0x230043(0x1fe)+_0x217fcb+_0x230043(0x1f5):'');}),_0xbf7b0c=_0x23e737[_0x35d9b1(0x192)]-_0x3e680a['length'];return _0xbf7b0c>0x0&&_0x3e680a['push']('…\x20'+_0xbf7b0c+_0x35d9b1(0x188)),_0x3e680a[_0x35d9b1(0x19a)]('\x0a');}function M(_0x11aacd,_0x46e9fb){const _0x5427a8=_0x347f;let _0x1b31e8=_0x11aacd[_0x5427a8(0x1a6)]?.[_0x5427a8(0x1a6)]['replace'](/\s+/g,'\x20')[_0x5427a8(0x22f)]();return[''+_0x46e9fb+_0x11aacd[_0x5427a8(0x24f)]+'\x20'+_0x11aacd['id']+(_0x11aacd[_0x5427a8(0x21c)]===''?'':'\x20'+_0x11aacd[_0x5427a8(0x21c)])+(_0x1b31e8===void 0x0||_0x1b31e8===''?'':_0x5427a8(0x1e9)+_0x1b31e8),...(_0x11aacd[_0x5427a8(0x18f)]??[])[_0x5427a8(0x1df)](_0x4fd483=>M(_0x4fd483,_0x46e9fb+'\x20\x20'))][_0x5427a8(0x19a)]('\x0a');}function N(_0x2f6447){const _0x513c10=_0x347f;if(_0x2f6447[_0x513c10(0x192)]===0x0)return _0x513c10(0x224);let _0x30ae7b=_0x2f6447[_0x513c10(0x1e4)](0x0,v),_0x2f486e=_0x2f6447['length']-_0x30ae7b['length'];return''+_0x30ae7b[_0x513c10(0x19a)](',\x20')+(_0x2f486e>0x0?_0x513c10(0x1f9)+_0x2f486e+'\x20omitted':'');}var P=[_0x2b4780(0x23d),_0x2b4780(0x17c),_0x2b4780(0x235),'document',_0x2b4780(0x201),_0x2b4780(0x24b),_0x2b4780(0x186),_0x2b4780(0x1bd),_0x2b4780(0x217),_0x2b4780(0x169)];function F(_0x3d1697){const _0x378c08=_0x2b4780;return L({'acquireRuntime':async _0x560f79=>await _0x3d1697[_0x378c08(0x20d)]({'unitId':_0x560f79}),'worktree':!0x1});}function I(_0x28e449){return L({'acquireRuntime':async(_0x3a2aa5,_0x4fdb15)=>{const _0xa7a02=_0x347f;if(_0x4fdb15[_0xa7a02(0x202)]===!0x0&&_0x4fdb15[_0xa7a02(0x24d)]!==void 0x0)throw new a(_0xa7a02(0x1b0));if(_0x4fdb15[_0xa7a02(0x202)]!==!0x0&&_0x4fdb15[_0xa7a02(0x24d)]===void 0x0)throw new a(_0xa7a02(0x250));return await _0x28e449[_0xa7a02(0x20d)]({'unitId':_0x3a2aa5,..._0x4fdb15[_0xa7a02(0x24d)]===void 0x0?{}:{'worktreeID':_0x4fdb15['worktree']}});},'worktree':!0x0});}function L(_0x50d6c1){const _0x24b2f5=_0x2b4780;let _0x65ee79=new _0x53bf79(_0x24b2f5(0x17d))[_0x24b2f5(0x1bb)](_0x24b2f5(0x1d7))[_0x24b2f5(0x1d9)](new _0x436f3c('<target>',_0x24b2f5(0x189))[_0x24b2f5(0x1c1)](P))[_0x24b2f5(0x1ac)](_0x24b2f5(0x1a5),_0x24b2f5(0x21f))[_0x24b2f5(0x184)](_0x24b2f5(0x16e),_0x24b2f5(0x1ca))['option']('--worksheet\x20<selector>',_0x24b2f5(0x16c))['option'](_0x24b2f5(0x182),_0x24b2f5(0x1aa));return _0x50d6c1['worktree']&&_0x65ee79['addOption'](new _0x4d3e81(_0x24b2f5(0x1f1),_0x24b2f5(0x1e0))[_0x24b2f5(0x1d4)](_0x24b2f5(0x24d)))[_0x24b2f5(0x190)](new _0x4d3e81(_0x24b2f5(0x23b),'inspect\x20a\x20worktree')[_0x24b2f5(0x1d4)](_0x24b2f5(0x202))),_0x65ee79[_0x24b2f5(0x1cb)](async(_0x1709e6,_0x2dd35e,_0x32cc61)=>{const _0x26230c=_0x24b2f5;let _0x4589b0=_0x1709e6===_0x26230c(0x235)?_0x26230c(0x254):_0x1709e6,_0x35fb1f;try{_0x35fb1f=o(_0x4589b0,_0x2dd35e,_0x32cc61);}catch(_0x273f2a){throw _0x273f2a instanceof a&&_0x65ee79['error'](_0x273f2a['message'],{'code':_0x26230c(0x1f0),'exitCode':0x1}),_0x273f2a;}let _0x14ee31,_0x4541cf;try{_0x14ee31=await _0x50d6c1['acquireRuntime'](_0x32cc61[_0x26230c(0x249)],_0x32cc61),_0x4541cf=await _0x3d9553(_0x14ee31,_0x35fb1f);}catch(_0x405c92){throw _0x14ee31!==void 0x0&&await R(_0x14ee31),(_0x405c92 instanceof _0x2d6708||z(_0x405c92))&&_0x65ee79[_0x26230c(0x1b7)](_0x405c92['code']+':\x20'+_0x405c92['message'],{'code':_0x26230c(0x172),'exitCode':0x1}),_0x405c92 instanceof a&&_0x65ee79[_0x26230c(0x1b7)](_0x405c92['message'],{'code':_0x26230c(0x1f0),'exitCode':0x1}),_0x405c92;}await _0x14ee31['release'](),_0x65ee79[_0x26230c(0x1ab)]()[_0x26230c(0x1e8)]?.((_0x32cc61[_0x26230c(0x1ba)]===!0x0?JSON[_0x26230c(0x194)](_0x4541cf,null,0x2):y(_0x4541cf))+'\x0a');}),_0x65ee79;}async function R(_0x16d00f){const _0xca53ca=_0x2b4780;await _0x16d00f[_0xca53ca(0x1c9)]();}function z(_0x5c4fe2){const _0x383142=_0x2b4780;return _0x5c4fe2 instanceof Error&&typeof _0x5c4fe2[_0x383142(0x1ae)]==_0x383142(0x206);}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.2",
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.2"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"