@univer-cli/content-inspection-command 1.6.0 → 1.6.1

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 _0x3b11ac=_0x155b;(function(_0xa5361c,_0x184def){const _0x17d564=_0x155b,_0x20ada9=_0xa5361c();while(!![]){try{const _0xaba554=parseInt(_0x17d564(0x1c5))/0x1*(parseInt(_0x17d564(0x200))/0x2)+-parseInt(_0x17d564(0x163))/0x3*(-parseInt(_0x17d564(0x225))/0x4)+-parseInt(_0x17d564(0x141))/0x5+-parseInt(_0x17d564(0x19f))/0x6*(-parseInt(_0x17d564(0x15d))/0x7)+parseInt(_0x17d564(0x1b1))/0x8+parseInt(_0x17d564(0x1e7))/0x9*(-parseInt(_0x17d564(0x224))/0xa)+parseInt(_0x17d564(0x152))/0xb*(-parseInt(_0x17d564(0x234))/0xc);if(_0xaba554===_0x184def)break;else _0x20ada9['push'](_0x20ada9['shift']());}catch(_0x570b2e){_0x20ada9['push'](_0x20ada9['shift']());}}}(_0x4cfa,0xd2561));import{ContentInspectionError as _0x418757,inspectContent as _0x9b8fd5}from'@univer-cli/content-inspection';import{Argument as _0x3fdb39,Command as _0x116432,Option as _0x2fcc14}from'commander';function _0x4cfa(){const _0x369ffd=['orderIndex','base','containerData','placeholder','\x09…\x20','requestedRange',',\x20selectable=','connectionPosition','elements','\x20\x20labelText:\x20','worksheet-range','routingMode','\x20·\x20','trim','textRuns','isArray','bottom','recordCount','kind','slide\x20[','paragraph','\x20\x20mediaType:\x20','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','\x20\x20children:\x20','prstGeom','Unknown\x20slide\x20selector\x20prefix\x20\x22','adjustValues','3591XAHYid','\x20(clipped\x20from\x20','\x20paragraphs,\x20','object','sort','paragraph\x20[','tableId','\x20\x20drawings:\x20','shape','connector','\x20\x20routing:\x20','\x20\x20data\x20validation:\x20','end','\x20\x20labels:\x20','),\x20','textPreview','\x20\x20formulas:\x20','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','masters:\x20','labels','transform','text','none','--trunk','unitId','12416dYmNFl','laneId','Invalid\x20index\x20\x22','range\x20requires\x20--worksheet\x20<selector>','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','connection','\x20\x20textContent:\x20','index','Missing\x20selector','\x22;\x20index\x20must\x20be\x20an\x20integer','trunk','shapeId','slides','<target>','\x20(charts\x20','outlineIndex','total','inspect','worksheets','Unknown\x20worksheet\x20selector\x20prefix\x20\x22','Unknown\x20paragraph\x20selector\x20prefix\x20\x22','dataStream','segmentT','inspect.invalid-input','name','\x22;\x20use\x20id:','parentId','layoutSlideCount','rowCount','isSafeInteger',':lifeline@','\x20\x20data:\x20','\x20records\x20·\x20','originalType','Range\x20cannot\x20be\x20empty','code','31470yOqVWI','92JnaIKD','worksheet','\x20\x20parentId:\x20','image','source','entries','stroke','width','speakerNotes','slice','document\x20','writeOut','height','paragraphs',',\x20layouts:\x20','540PmkezL','2846930BZfyed','\x20\x20conditional\x20formatting:\x20','range','localeCompare','subtype','lifeline','slide','\x20\x20merged:\x20','views','acquireRuntime','shapeData','workbook','clipped','\x20\x20[','bounds','--json','images','415921GDDTKp','argument','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','\x22;\x20use\x20id:\x20or\x20index:','displayValues','view','resolvedRange','shapes','\x20->\x20','unit','error','23359mWPGMc','length','inspect\x20a\x20worktree','\x20\x20poster:\x20','tables','count','86313JMfYYA','diagram','\x22;\x20CLI\x20indices\x20start\x20at\x201','table','byType','children','free','\x20\x20description:\x20','presentation','content\x20target','selectable','ranges','locked','\x20fields\x20·\x20','\x20\x20crop:\x20','media','endElementId','\x20—\x20','\x20\x20connection:\x20','imageSourceType','right','columnCount','addOption','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','test','masterSlideCount','left','\x20\x20style:\x20','--worksheet\x20<selector>','\x20\x20placeholder:\x20','\x20\x20originalType:\x20','\x20\x20stroke:\x20','message','\x20\x20labelStyle:\x20','board-element','value','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','action','push','fields','paragraphCount','dataValidation','Invalid\x20selector\x20\x22','\x20\x20tables:\x20','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','unresolved','drawings','crop','styleUsedRanges','\x20inspection\x20does\x20not\x20accept\x20selectors','mergedRanges','\x20\x20textStyle:\x20','group','map','\x20tables','string',',\x20…\x20','body','connectionSiteId','document','2694PLTSIo','data','conflicts','inspect.failed','Inspect\x20structured\x20Univer\x20content','json','release','type','\x20\x20source:\x20','find','\x0atext\x20runs:\x20','textStyle','\x20rows\x20omitted','\x20\x20chartId:\x20','shapeBoundary','poster','\x20waypoints','\x20\x20prstGeom:\x20','9331656olSiXm','[selectors...]','\x20elements','charts','title','stringify','prefix','style','mode','\x20characters','\x20\x20state:\x20visible=','replace','start','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','\x20\x20transform:\x20','worktree','board','chart','join','textContent','171JZsIiE','description','\x20\x20text:\x20','elementCounts','\x20\x20imageSourceType:\x20','\x20\x20fields:\x20','primaryFieldId'];_0x4cfa=function(){return _0x369ffd;};return _0x4cfa();}function _0x155b(_0x3ca3fb,_0x4ab3a5){_0x3ca3fb=_0x3ca3fb-0x141;const _0x4cfa2d=_0x4cfa();let _0x155b72=_0x4cfa2d[_0x3ca3fb];return _0x155b72;}var a=class extends Error{};function o(_0x4d64cb,_0x13ea9d,_0x198049){const _0x33786d=_0x155b;if(_0x4d64cb===_0x33786d(0x14c)||_0x4d64cb===_0x33786d(0x19e)||_0x4d64cb===_0x33786d(0x16b)||_0x4d64cb===_0x33786d(0x1cd)||_0x4d64cb===_0x33786d(0x1c1))return m(_0x4d64cb,_0x13ea9d),h(_0x4d64cb,_0x198049[_0x33786d(0x226)]),{'kind':_0x4d64cb};if(_0x4d64cb===_0x33786d(0x226))return h(_0x4d64cb,_0x198049[_0x33786d(0x226)]),{'kind':_0x4d64cb,'worksheets':p(_0x13ea9d,c)};if(_0x4d64cb===_0x33786d(0x147))return h(_0x4d64cb,_0x198049[_0x33786d(0x226)]),{'kind':_0x4d64cb,'slides':p(_0x13ea9d,l)};if(_0x4d64cb===_0x33786d(0x1e0))return h(_0x4d64cb,_0x198049[_0x33786d(0x226)]),{'kind':_0x4d64cb,'paragraphs':p(_0x13ea9d,u)};if(_0x4d64cb===_0x33786d(0x185))return h(_0x4d64cb,_0x198049[_0x33786d(0x226)]),{'kind':_0x4d64cb,'elements':p(_0x13ea9d,s)};if(_0x198049[_0x33786d(0x226)]===void 0x0)throw new a(_0x33786d(0x203));let _0x3d5a6c=c(_0x198049[_0x33786d(0x226)]);return{'kind':_0x4d64cb,'ranges':p(_0x13ea9d,_0x100d22=>{const _0x104ceb=_0x33786d;if(_0x100d22[_0x104ceb(0x15e)]===0x0)throw new a(_0x104ceb(0x222));return{'range':_0x100d22,'worksheet':_0x3d5a6c};})};}function s(_0x4c3a53){const _0x4832fe=_0x155b;let _0x4d28e1=d(_0x4c3a53);if(_0x4d28e1[_0x4832fe(0x1b7)]==='id')return{'id':_0x4d28e1[_0x4832fe(0x186)]};throw new a(_0x4832fe(0x1be)+_0x4d28e1['prefix']+_0x4832fe(0x219));}function c(_0x13e230){const _0x540c5f=_0x155b;let _0xe67926=d(_0x13e230);if(_0xe67926[_0x540c5f(0x1b7)]==='id')return{'id':_0xe67926[_0x540c5f(0x186)]};if(_0xe67926[_0x540c5f(0x1b7)]==='name')return{'name':_0xe67926['value']};if(_0xe67926[_0x540c5f(0x1b7)]===_0x540c5f(0x207))return{'index':f(_0xe67926[_0x540c5f(0x186)])};throw new a(_0x540c5f(0x213)+_0xe67926[_0x540c5f(0x1b7)]+_0x540c5f(0x187));}function l(_0x3d5646){const _0x594d90=_0x155b;let _0x470091=d(_0x3d5646);if(_0x470091[_0x594d90(0x1b7)]==='id')return{'id':_0x470091[_0x594d90(0x186)]};if(_0x470091[_0x594d90(0x1b7)]===_0x594d90(0x207))return{'index':f(_0x470091[_0x594d90(0x186)])};throw new a(_0x594d90(0x1e5)+_0x470091[_0x594d90(0x1b7)]+'\x22;\x20use\x20id:\x20or\x20index:');}function u(_0x15a53e){const _0x21594e=_0x155b;let _0x4b15ac=d(_0x15a53e);if(_0x4b15ac[_0x21594e(0x1b7)]==='id')return{'id':_0x4b15ac[_0x21594e(0x186)]};if(_0x4b15ac[_0x21594e(0x1b7)]===_0x21594e(0x207))return{'index':f(_0x4b15ac[_0x21594e(0x186)])};throw new a(_0x21594e(0x214)+_0x4b15ac[_0x21594e(0x1b7)]+_0x21594e(0x155));}function d(_0x3cc65c){const _0x337d81=_0x155b;let _0x21fc60=_0x3cc65c['indexOf'](':');if(_0x21fc60<=0x0||_0x21fc60===_0x3cc65c[_0x337d81(0x15e)]-0x1)throw new a(_0x337d81(0x18d)+_0x3cc65c+_0x337d81(0x18f));return{'prefix':_0x3cc65c[_0x337d81(0x22e)](0x0,_0x21fc60),'value':_0x3cc65c[_0x337d81(0x22e)](_0x21fc60+0x1)};}function f(_0xb94bd1){const _0x378df6=_0x155b;if(!/^\d+$/[_0x378df6(0x17b)](_0xb94bd1))throw new a(_0x378df6(0x202)+_0xb94bd1+_0x378df6(0x209));let _0x392434=Number(_0xb94bd1);if(!Number[_0x378df6(0x21d)](_0x392434)||_0x392434<0x1)throw new a(_0x378df6(0x202)+_0xb94bd1+_0x378df6(0x165));return _0x392434-0x1;}function p(_0x21287a,_0x49a173){const _0x2a3164=_0x155b;if(_0x21287a[_0x2a3164(0x15e)]===0x0)throw new a(_0x2a3164(0x1e2));let _0x3ec7f3=_0x21287a[0x0];if(_0x3ec7f3===void 0x0)throw new a(_0x2a3164(0x208));return[_0x49a173(_0x3ec7f3),..._0x21287a[_0x2a3164(0x22e)](0x1)['map'](_0x49a173)];}function m(_0x235484,_0x4867d0){const _0x4ab947=_0x155b;if(_0x4867d0[_0x4ab947(0x15e)]>0x0)throw new a(_0x235484+_0x4ab947(0x194));}function h(_0x5117a9,_0x152b35){const _0x2900de=_0x155b;if(_0x152b35!==void 0x0)throw new a(_0x2900de(0x1f8)+_0x5117a9);}var g=0xc,_=0x8,v=0xc;function y(_0x5e530c){const _0x227040=_0x155b;switch(_0x5e530c['kind']){case _0x227040(0x1cd):return['Base\x20'+_0x5e530c[_0x227040(0x218)]+'\x20('+_0x5e530c['unitId']+')',_0x5e530c['tables'][_0x227040(0x15e)]+_0x227040(0x199),'',..._0x5e530c[_0x227040(0x161)][_0x227040(0x198)](k)][_0x227040(0x1c3)]('\x0a');case _0x227040(0x14c):return['workbook\x20'+_0x5e530c[_0x227040(0x218)]+'\x20('+_0x5e530c[_0x227040(0x1ff)]+')',..._0x5e530c[_0x227040(0x212)]['map'](A)]['join']('\x0a');case _0x227040(0x226):return _0x5e530c[_0x227040(0x212)]['map'](A)[_0x227040(0x1c3)]('\x0a');case _0x227040(0x1d6):return _0x5e530c[_0x227040(0x16e)][_0x227040(0x198)](_0x53eb8c=>_0x53eb8c[_0x227040(0x226)][_0x227040(0x218)]+'!'+_0x53eb8c[_0x227040(0x158)]+(_0x53eb8c[_0x227040(0x14d)]?_0x227040(0x1e8)+_0x53eb8c[_0x227040(0x1d1)]+')':'')+'\x0a'+j(_0x53eb8c[_0x227040(0x156)]))[_0x227040(0x1c3)]('\x0a\x0a');case'presentation':return['presentation\x20'+_0x5e530c[_0x227040(0x218)]+'\x20('+_0x5e530c[_0x227040(0x1ff)]+')\x20'+_0x5e530c['size'][_0x227040(0x22c)]+'x'+_0x5e530c['size'][_0x227040(0x231)],_0x227040(0x1f9)+_0x5e530c[_0x227040(0x17c)]+_0x227040(0x233)+_0x5e530c[_0x227040(0x21b)],..._0x5e530c[_0x227040(0x20c)][_0x227040(0x198)](_0xe753c=>'\x20\x20['+(_0xe753c[_0x227040(0x207)]+0x1)+']\x20'+_0xe753c['id']+'\x20'+_0xe753c[_0x227040(0x218)]+_0x227040(0x174)+_0xe753c[_0x227040(0x1c8)]['total']+_0x227040(0x1b3)+(_0xe753c['textPreview']===void 0x0?'':_0x227040(0x174)+_0xe753c[_0x227040(0x1f6)]))]['join']('\x0a');case _0x227040(0x147):return _0x5e530c[_0x227040(0x20c)]['map'](_0x5bfbf3=>[_0x227040(0x1df)+(_0x5bfbf3['index']+0x1)+']\x20'+_0x5bfbf3['id']+'\x20'+_0x5bfbf3[_0x227040(0x218)],..._0x5bfbf3['elements'][_0x227040(0x198)](_0x5dfe7f=>M(_0x5dfe7f,'\x20\x20')),..._0x5bfbf3[_0x227040(0x22d)]===''?[]:['\x20\x20notes:\x20'+_0x5bfbf3[_0x227040(0x22d)]]][_0x227040(0x1c3)]('\x0a'))[_0x227040(0x1c3)]('\x0a\x0a');case _0x227040(0x19e):return[_0x227040(0x22f)+_0x5e530c[_0x227040(0x1b5)]+'\x20('+_0x5e530c[_0x227040(0x1ff)]+')\x20['+_0x5e530c[_0x227040(0x1b9)]+']',_0x5e530c[_0x227040(0x18b)]+_0x227040(0x1e9)+_0x5e530c['characterCount']+_0x227040(0x1ba),..._0x5e530c[_0x227040(0x232)][_0x227040(0x198)](_0x2add28=>_0x227040(0x14e)+(_0x2add28['index']+0x1)+']\x20'+_0x2add28['id']+'\x20—\x20'+_0x2add28[_0x227040(0x1f6)])][_0x227040(0x1c3)]('\x0a');case _0x227040(0x1e0):return _0x5e530c['paragraphs'][_0x227040(0x198)](_0x1d3deb=>_0x227040(0x1ec)+(_0x1d3deb[_0x227040(0x207)]+0x1)+']\x20'+_0x1d3deb['id']+'\x0a'+_0x1d3deb['text']+(_0x1d3deb[_0x227040(0x1da)]['length']===0x0?'':_0x227040(0x1a9)+_0x1d3deb['textRuns']['length']))['join']('\x0a\x0a');case'board':return['board\x20'+_0x5e530c[_0x227040(0x218)]+'\x20('+_0x5e530c[_0x227040(0x1ff)]+')',_0x5e530c[_0x227040(0x1c8)]['total']+'\x20elements\x20—\x20'+C(_0x5e530c['elementCounts'][_0x227040(0x167)]),..._0x5e530c[_0x227040(0x1d4)]['map'](_0x54b064=>b(_0x54b064,'\x20\x20'))][_0x227040(0x1c3)]('\x0a');case _0x227040(0x185):return _0x5e530c['elements'][_0x227040(0x198)](x)[_0x227040(0x1c3)]('\x0a\x0a');}}function b(_0x3d01f1,_0x1bb015){const _0x3ae479=_0x155b;let _0x348689=_0x3d01f1['subtype']===void 0x0?'':':'+_0x3d01f1[_0x3ae479(0x145)],_0x57513e=_0x3d01f1['name']===void 0x0||_0x3d01f1[_0x3ae479(0x218)]===''?'':'\x20'+_0x3d01f1[_0x3ae479(0x218)],_0x51e005=_0x3d01f1['startElementId']===void 0x0&&_0x3d01f1[_0x3ae479(0x173)]===void 0x0?'':'\x20'+(_0x3d01f1['startElementId']??'?')+_0x3ae479(0x15a)+(_0x3d01f1[_0x3ae479(0x173)]??'?'),_0xfb3156=_0x3d01f1[_0x3ae479(0x1fc)]===void 0x0||_0x3d01f1[_0x3ae479(0x1fc)]===''?'':_0x3ae479(0x174)+D(_0x3d01f1[_0x3ae479(0x1fc)]);return _0x1bb015+'['+(_0x3d01f1[_0x3ae479(0x1cc)]+0x1)+']\x20'+_0x3d01f1[_0x3ae479(0x1a6)]+_0x348689+'\x20'+_0x3d01f1['id']+_0x57513e+_0x51e005+_0xfb3156;}function x(_0x717e93){const _0x1de74d=_0x155b;let _0x197a10=[_0x717e93[_0x1de74d(0x1a6)]+'\x20'+_0x717e93['id']+'\x20['+(_0x717e93[_0x1de74d(0x1cc)]+0x1)+']'+(_0x717e93[_0x1de74d(0x218)]===void 0x0||_0x717e93['name']===''?'':'\x20'+_0x717e93['name']),_0x1de74d(0x1bf)+T(_0x717e93[_0x1de74d(0x1fb)]),'\x20\x20bounds:\x20'+(_0x717e93[_0x1de74d(0x14f)]===null?_0x1de74d(0x190):T(_0x717e93['bounds'])),_0x1de74d(0x1bb)+_0x717e93['visible']+_0x1de74d(0x1d2)+_0x717e93[_0x1de74d(0x16d)]+',\x20locked='+_0x717e93[_0x1de74d(0x16f)]];return _0x717e93[_0x1de74d(0x1c6)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x16a)+D(_0x717e93['description'])),_0x717e93[_0x1de74d(0x21a)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x227)+_0x717e93[_0x1de74d(0x21a)]),_0x717e93[_0x1de74d(0x201)]!==void 0x0&&_0x197a10['push']('\x20\x20laneId:\x20'+_0x717e93[_0x1de74d(0x201)]),_0x717e93['type']===_0x1de74d(0x1f0)?(_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x175)+S(_0x717e93['connection'][_0x1de74d(0x1bd)])+_0x1de74d(0x15a)+S(_0x717e93[_0x1de74d(0x205)][_0x1de74d(0x1f3)]),_0x1de74d(0x1f1)+_0x717e93['connection']['routing']+'\x20('+_0x717e93['connection'][_0x1de74d(0x1d7)]+_0x1de74d(0x1f5)+_0x717e93[_0x1de74d(0x205)]['waypoints'][_0x1de74d(0x15e)]+_0x1de74d(0x1af),_0x1de74d(0x17e)+T(_0x717e93[_0x1de74d(0x1b8)]),_0x1de74d(0x1f4)+T(_0x717e93[_0x1de74d(0x1fa)]),_0x1de74d(0x1d5)+w(_0x717e93['labelText']),_0x1de74d(0x184)+T(_0x717e93['labelStyle'])),_0x197a10['join']('\x0a')):(_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x1ef)?_0x197a10[_0x1de74d(0x189)]('\x20\x20shapeData:\x20'+T(_0x717e93[_0x1de74d(0x14b)])):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x1fc)?_0x197a10['push'](_0x1de74d(0x206)+w(_0x717e93[_0x1de74d(0x1c4)]),_0x1de74d(0x196)+T(_0x717e93[_0x1de74d(0x1aa)])):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x228)?(_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1a7)+E(_0x717e93['source'])),_0x717e93[_0x1de74d(0x176)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1c9)+_0x717e93[_0x1de74d(0x176)]),_0x717e93[_0x1de74d(0x192)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x171)+T(_0x717e93[_0x1de74d(0x192)])),_0x717e93[_0x1de74d(0x1e4)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1b0)+_0x717e93[_0x1de74d(0x1e4)]),_0x717e93[_0x1de74d(0x1e6)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)]('\x20\x20adjustValues:\x20'+T(_0x717e93[_0x1de74d(0x1e6)]))):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x1c2)?(_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1ac)+_0x717e93['chartId']),_0x717e93[_0x1de74d(0x1cf)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x180)+T(_0x717e93[_0x1de74d(0x1cf)])),_0x717e93[_0x1de74d(0x22b)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x182)+T(_0x717e93['stroke']))):_0x717e93[_0x1de74d(0x1a6)]==='container'?_0x197a10[_0x1de74d(0x189)]('\x20\x20containerData:\x20'+T(_0x717e93[_0x1de74d(0x1ce)])):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x164)?_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x21f)+T(_0x717e93['data'])):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x166)?(_0x197a10[_0x1de74d(0x189)]('\x20\x20tableId:\x20'+_0x717e93[_0x1de74d(0x1ed)]),_0x717e93[_0x1de74d(0x1cf)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x180)+T(_0x717e93[_0x1de74d(0x1cf)]))):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x197)?_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1e3)+N(_0x717e93['children'])):_0x717e93[_0x1de74d(0x1a6)]===_0x1de74d(0x172)?(_0x197a10['push'](_0x1de74d(0x1e1)+_0x717e93['mediaType'],_0x1de74d(0x1a7)+E(_0x717e93[_0x1de74d(0x229)])),_0x717e93[_0x1de74d(0x1ae)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x160)+E(_0x717e93[_0x1de74d(0x1ae)]))):_0x717e93['type']===_0x1de74d(0x1cf)?(_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x180)+T(_0x717e93[_0x1de74d(0x1cf)])),_0x717e93[_0x1de74d(0x1fc)]!==void 0x0&&_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x1c7)+D(_0x717e93[_0x1de74d(0x1fc)])),_0x717e93['style']!==void 0x0&&_0x197a10['push'](_0x1de74d(0x17e)+T(_0x717e93[_0x1de74d(0x1b8)]))):_0x197a10[_0x1de74d(0x189)](_0x1de74d(0x181)+_0x717e93[_0x1de74d(0x221)],_0x1de74d(0x21f)+T(_0x717e93[_0x1de74d(0x1a0)])),_0x197a10['join']('\x0a'));}function S(_0x46efab){const _0x1f8155=_0x155b;if(_0x46efab[_0x1f8155(0x1de)]===_0x1f8155(0x169))return'free('+_0x46efab['x']+','+_0x46efab['y']+')';if(_0x46efab[_0x1f8155(0x1de)]===_0x1f8155(0x146))return _0x46efab[_0x1f8155(0x20b)]+_0x1f8155(0x21e)+_0x46efab['offsetY'];if(_0x46efab['kind']===_0x1f8155(0x1ad))return _0x46efab[_0x1f8155(0x20b)]+':boundary('+_0x46efab[_0x1f8155(0x20f)]+','+_0x46efab['segmentIndex']+','+_0x46efab[_0x1f8155(0x216)]+')';let _0x7ee284=['top',_0x1f8155(0x177),_0x1f8155(0x1dc),_0x1f8155(0x17d)][_0x46efab[_0x1f8155(0x19d)]]??'site-'+_0x46efab[_0x1f8155(0x19d)];return _0x46efab[_0x1f8155(0x20b)]+':'+_0x7ee284+(_0x46efab['connectionPosition']===void 0x0?'':'@'+_0x46efab[_0x1f8155(0x1d3)]);}function C(_0x59c33f){const _0x3bdccb=_0x155b;let _0x52d63c=Object[_0x3bdccb(0x22a)](_0x59c33f)[_0x3bdccb(0x1eb)](([_0x10924f],[_0x2bf61c])=>_0x10924f[_0x3bdccb(0x144)](_0x2bf61c));return _0x52d63c[_0x3bdccb(0x15e)]===0x0?_0x3bdccb(0x1fd):_0x52d63c[_0x3bdccb(0x198)](([_0x4a60d3,_0x1dce6f])=>_0x4a60d3+'\x20'+_0x1dce6f)[_0x3bdccb(0x1c3)](',\x20');}function w(_0x4fb728){const _0x781f4e=_0x155b;if(O(_0x4fb728)){let _0x362a4f=_0x4fb728[_0x781f4e(0x19c)];if(O(_0x362a4f)&&typeof _0x362a4f['dataStream']==_0x781f4e(0x19a))return D(_0x362a4f[_0x781f4e(0x215)][_0x781f4e(0x1bc)](/[\r\n]+$/u,''));}return T(_0x4fb728);}function T(_0x529f38){const _0x227fdd=_0x155b;return E(JSON[_0x227fdd(0x1b6)](_0x529f38));}function E(_0x3224c3){const _0x41e046=_0x155b;return _0x3224c3['length']<=0xc8?_0x3224c3:_0x3224c3[_0x41e046(0x22e)](0x0,0xc5)+'…';}function D(_0x46c00c){const _0x288d71=_0x155b;return E(_0x46c00c[_0x288d71(0x1bc)](/\s+/gu,'\x20')[_0x288d71(0x1d9)]());}function O(_0x195d83){const _0x4e2be7=_0x155b;return typeof _0x195d83==_0x4e2be7(0x1ea)&&!!_0x195d83&&!Array[_0x4e2be7(0x1db)](_0x195d83);}function k(_0x41bf88){const _0x499942=_0x155b;let _0x169716=_0x41bf88[_0x499942(0x18a)][_0x499942(0x1a8)](_0x3785bd=>_0x3785bd['id']===_0x41bf88['primaryFieldId']);return['['+_0x41bf88['index']+']\x20'+_0x41bf88[_0x499942(0x218)]+'\x20('+_0x41bf88['id']+')\x20·\x20primary\x20'+(_0x169716?.['name']??_0x41bf88[_0x499942(0x1cb)])+_0x499942(0x1d8)+_0x41bf88[_0x499942(0x18a)][_0x499942(0x15e)]+_0x499942(0x170)+_0x41bf88[_0x499942(0x1dd)]+_0x499942(0x220)+_0x41bf88[_0x499942(0x149)]['length']+'\x20'+(_0x41bf88['views'][_0x499942(0x15e)]===0x1?_0x499942(0x157):_0x499942(0x149)),_0x499942(0x1ca)+N(_0x41bf88['fields']['map'](_0x12a9db=>_0x12a9db[_0x499942(0x218)]+':'+_0x12a9db['type'])),'\x20\x20views:\x20'+N(_0x41bf88[_0x499942(0x149)][_0x499942(0x198)](_0x3d5320=>_0x3d5320[_0x499942(0x218)]+':'+_0x3d5320[_0x499942(0x1a6)]))][_0x499942(0x1c3)]('\x0a');}function A(_0xc36a19){const _0x19b4a4=_0x155b;let _0x4619d4=['worksheet\x20['+(_0xc36a19['index']+0x1)+']\x20'+_0xc36a19['id']+'\x20'+_0xc36a19['name']+'\x20('+_0xc36a19[_0x19b4a4(0x21c)]+'x'+_0xc36a19[_0x19b4a4(0x178)]+')','\x20\x20values:\x20'+N(_0xc36a19['valueUsedRanges']),_0x19b4a4(0x1f7)+N(_0xc36a19['formulaUsedRanges']),'\x20\x20styles:\x20'+N(_0xc36a19[_0x19b4a4(0x193)]),_0x19b4a4(0x148)+N(_0xc36a19[_0x19b4a4(0x195)])];return _0xc36a19['tables']['length']>0x0&&_0x4619d4[_0x19b4a4(0x189)](_0x19b4a4(0x18e)+N(_0xc36a19['tables'][_0x19b4a4(0x198)](_0xb36f0a=>_0xb36f0a['name']+'('+_0xb36f0a[_0x19b4a4(0x143)]+')'))),_0x4619d4[_0x19b4a4(0x189)](_0x19b4a4(0x142)+_0xc36a19['conditionalFormatting'][_0x19b4a4(0x162)],_0x19b4a4(0x1f2)+_0xc36a19[_0x19b4a4(0x18c)][_0x19b4a4(0x162)],_0x19b4a4(0x1ee)+_0xc36a19[_0x19b4a4(0x191)][_0x19b4a4(0x210)]+_0x19b4a4(0x20e)+_0xc36a19[_0x19b4a4(0x191)][_0x19b4a4(0x1b4)]+',\x20images\x20'+_0xc36a19[_0x19b4a4(0x191)][_0x19b4a4(0x151)]+',\x20shapes\x20'+_0xc36a19[_0x19b4a4(0x191)][_0x19b4a4(0x159)]+')'),_0x4619d4[_0x19b4a4(0x1c3)]('\x0a');}function j(_0x367608){const _0x3855ea=_0x155b;let _0x2be213=_0x367608[_0x3855ea(0x22e)](0x0,g)[_0x3855ea(0x198)](_0x2acc53=>{const _0x58ba5f=_0x3855ea;let _0x50355d=_0x2acc53[_0x58ba5f(0x22e)](0x0,_),_0x2c3009=_0x2acc53[_0x58ba5f(0x15e)]-_0x50355d['length'];return''+_0x50355d[_0x58ba5f(0x198)](_0x17e8f0=>JSON['stringify'](_0x17e8f0))[_0x58ba5f(0x1c3)]('\x09')+(_0x2c3009>0x0?_0x58ba5f(0x1d0)+_0x2c3009+'\x20columns\x20omitted':'');}),_0x237109=_0x367608[_0x3855ea(0x15e)]-_0x2be213[_0x3855ea(0x15e)];return _0x237109>0x0&&_0x2be213[_0x3855ea(0x189)]('…\x20'+_0x237109+_0x3855ea(0x1ab)),_0x2be213[_0x3855ea(0x1c3)]('\x0a');}function M(_0x26f7c5,_0x2f07fc){const _0x39d27a=_0x155b;let _0x585382=_0x26f7c5[_0x39d27a(0x1fc)]?.[_0x39d27a(0x1fc)][_0x39d27a(0x1bc)](/\s+/g,'\x20')['trim']();return[''+_0x2f07fc+_0x26f7c5[_0x39d27a(0x1a6)]+'\x20'+_0x26f7c5['id']+(_0x26f7c5[_0x39d27a(0x218)]===''?'':'\x20'+_0x26f7c5['name'])+(_0x585382===void 0x0||_0x585382===''?'':_0x39d27a(0x174)+_0x585382),...(_0x26f7c5[_0x39d27a(0x168)]??[])[_0x39d27a(0x198)](_0x34a8c4=>M(_0x34a8c4,_0x2f07fc+'\x20\x20'))][_0x39d27a(0x1c3)]('\x0a');}function N(_0x4931fb){const _0x1618dd=_0x155b;if(_0x4931fb[_0x1618dd(0x15e)]===0x0)return _0x1618dd(0x1fd);let _0x2e5b38=_0x4931fb[_0x1618dd(0x22e)](0x0,v),_0x3d89d4=_0x4931fb[_0x1618dd(0x15e)]-_0x2e5b38['length'];return''+_0x2e5b38[_0x1618dd(0x1c3)](',\x20')+(_0x3d89d4>0x0?_0x1618dd(0x19b)+_0x3d89d4+'\x20omitted':'');}var P=[_0x3b11ac(0x14c),_0x3b11ac(0x226),'range',_0x3b11ac(0x19e),'paragraph',_0x3b11ac(0x16b),_0x3b11ac(0x147),'base',_0x3b11ac(0x1c1),_0x3b11ac(0x185)];function F(_0x3191e7){const _0x165d8f=_0x3b11ac;return L({'acquireRuntime':async _0x42c65f=>await _0x3191e7[_0x165d8f(0x14a)]({'unitId':_0x42c65f}),'worktree':!0x1});}function I(_0x1bb4d8){return L({'acquireRuntime':async(_0x2299a4,_0x515a56)=>{const _0x98cd7f=_0x155b;if(_0x515a56[_0x98cd7f(0x20a)]===!0x0&&_0x515a56[_0x98cd7f(0x1c0)]!==void 0x0)throw new a(_0x98cd7f(0x17a));if(_0x515a56[_0x98cd7f(0x20a)]!==!0x0&&_0x515a56[_0x98cd7f(0x1c0)]===void 0x0)throw new a(_0x98cd7f(0x204));return await _0x1bb4d8[_0x98cd7f(0x14a)]({'unitId':_0x2299a4,..._0x515a56[_0x98cd7f(0x1c0)]===void 0x0?{}:{'worktreeID':_0x515a56['worktree']}});},'worktree':!0x0});}function L(_0x6f627a){const _0x1279fe=_0x3b11ac;let _0x509d16=new _0x116432(_0x1279fe(0x211))[_0x1279fe(0x1c6)](_0x1279fe(0x1a3))['addArgument'](new _0x3fdb39(_0x1279fe(0x20d),_0x1279fe(0x16c))['choices'](P))[_0x1279fe(0x153)](_0x1279fe(0x1b2),_0x1279fe(0x154))['requiredOption']('--unit\x20<unit-id>','Unit\x20to\x20inspect')['option'](_0x1279fe(0x17f),'worksheet\x20selector\x20for\x20range')['option'](_0x1279fe(0x150),'write\x20the\x20complete\x20structured\x20result\x20as\x20JSON');return _0x6f627a[_0x1279fe(0x1c0)]&&_0x509d16[_0x1279fe(0x179)](new _0x2fcc14(_0x1279fe(0x1fe),'inspect\x20the\x20trunk')[_0x1279fe(0x1a1)](_0x1279fe(0x1c0)))[_0x1279fe(0x179)](new _0x2fcc14('--worktree\x20<id>',_0x1279fe(0x15f))[_0x1279fe(0x1a1)](_0x1279fe(0x20a))),_0x509d16[_0x1279fe(0x188)](async(_0x244a8a,_0x53a6a5,_0x7ca756)=>{const _0x2081a7=_0x1279fe;let _0x12aa37=_0x244a8a===_0x2081a7(0x143)?_0x2081a7(0x1d6):_0x244a8a,_0x1aa8d2;try{_0x1aa8d2=o(_0x12aa37,_0x53a6a5,_0x7ca756);}catch(_0x3eacac){throw _0x3eacac instanceof a&&_0x509d16[_0x2081a7(0x15c)](_0x3eacac[_0x2081a7(0x183)],{'code':_0x2081a7(0x217),'exitCode':0x1}),_0x3eacac;}let _0x2a4e2e,_0x5c0c6c;try{_0x2a4e2e=await _0x6f627a[_0x2081a7(0x14a)](_0x7ca756[_0x2081a7(0x15b)],_0x7ca756),_0x5c0c6c=await _0x9b8fd5(_0x2a4e2e,_0x1aa8d2);}catch(_0x2a93c5){throw _0x2a4e2e!==void 0x0&&await R(_0x2a4e2e),(_0x2a93c5 instanceof _0x418757||z(_0x2a93c5))&&_0x509d16['error'](_0x2a93c5[_0x2081a7(0x223)]+':\x20'+_0x2a93c5['message'],{'code':_0x2081a7(0x1a2),'exitCode':0x1}),_0x2a93c5 instanceof a&&_0x509d16[_0x2081a7(0x15c)](_0x2a93c5[_0x2081a7(0x183)],{'code':_0x2081a7(0x217),'exitCode':0x1}),_0x2a93c5;}await _0x2a4e2e[_0x2081a7(0x1a5)](),_0x509d16['configureOutput']()[_0x2081a7(0x230)]?.((_0x7ca756[_0x2081a7(0x1a4)]===!0x0?JSON[_0x2081a7(0x1b6)](_0x5c0c6c,null,0x2):y(_0x5c0c6c))+'\x0a');}),_0x509d16;}async function R(_0x41dcab){const _0x453a3a=_0x3b11ac;await _0x41dcab[_0x453a3a(0x1a5)]();}function z(_0x512f92){const _0xb0f968=_0x3b11ac;return _0x512f92 instanceof Error&&typeof _0x512f92[_0xb0f968(0x223)]==_0xb0f968(0x19a);}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
1
+ function _0x2bd7(){const _0x18d31d=['isSafeInteger','views','worksheets','locked','board','\x20\x20transform:\x20','inspect\x20the\x20trunk','imageSourceType','paragraph','--json','\x22;\x20use\x20id:','left','--unit\x20<unit-id>','document','range\x20requires\x20--worksheet\x20<selector>','worksheet','\x20\x20routing:\x20','view','segmentIndex','chartId','\x20elements\x20—\x20','\x20rows\x20omitted','layoutSlideCount','stringify','\x20\x20data:\x20','workbook','join','\x20\x20mediaType:\x20','labels','201678AHxaCz','error','\x20\x20originalType:\x20',',\x20layouts:\x20','free','textPreview','unresolved','\x20\x20children:\x20','shapeId','textContent','\x20inspection\x20does\x20not\x20accept\x20selectors','none','group','image','3166696XjCnUm','conflicts','text','dataStream','trim','\x20\x20imageSourceType:\x20','\x20\x20adjustValues:\x20','\x20\x20style:\x20','container','characterCount','acquireRuntime','range','transform','fields','crop','\x20\x20chartId:\x20','elements','segmentT','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','total','slice','masterSlideCount','code','routing','subtype','\x20\x20stroke:\x20','),\x20','routingMode','primaryFieldId','labelStyle','inspect\x20a\x20worktree','\x20\x20placeholder:\x20','resolvedRange','index','tables','end','\x20\x20formulas:\x20','Invalid\x20index\x20\x22','\x20\x20tables:\x20','slides','\x20—\x20','\x20\x20values:\x20','conditionalFormatting','board\x20','visible','\x20->\x20','paragraph\x20[','data',')\x20·\x20primary\x20','inspect','273RpFMSf','argument','json','\x20\x20description:\x20','mode','\x20columns\x20omitted','mediaType','type','\x20\x20[','Unknown\x20slide\x20selector\x20prefix\x20\x22','9FDcOQZ','isArray','\x20\x20source:\x20','message','paragraphs','size','originalType','poster','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','<target>','length','\x20\x20bounds:\x20','slide','name','styleUsedRanges','\x20records\x20·\x20','entries','\x20\x20labelStyle:\x20','connection','--worksheet\x20<selector>','requiredOption','offsetY','width','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','requestedRange','height','\x20\x20connection:\x20','diagram','3010315Ejdsdh',',\x20images\x20','stroke','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','children','charts','selectable','replace','description','inspect.failed','\x20\x20parentId:\x20','containerData','\x20·\x20','connectionSiteId',',\x20locked=','13190010VrOgEG','kind','--worktree\x20<id>','\x20\x20text:\x20','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','\x20\x20laneId:\x20','byType','formulaUsedRanges','chart','localeCompare','adjustValues','clipped','displayValues','connector','workbook\x20','drawings','dataValidation','\x20\x20merged:\x20','322060fwahxx','\x20\x20containerData:\x20','\x20\x20textContent:\x20','value','Unit\x20to\x20inspect','\x0atext\x20runs:\x20','placeholder','push','shape','bounds','action','indexOf','slide\x20[','9XYFZYq','string','startElementId','\x20\x20state:\x20visible=','\x20\x20notes:\x20','\x20omitted','\x20\x20drawings:\x20','\x20\x20crop:\x20','content\x20target','trunk','worktree','\x22;\x20use\x20id:\x20or\x20index:','1271704tzGeMP','Invalid\x20selector\x20\x22','addOption','\x20characters','unitId','board-element','count',':boundary(','map','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','\x20\x20views:\x20','find','--trunk','connectionPosition','outlineIndex','paragraphCount','elementCounts','inspect.invalid-input','prstGeom','test','\x22;\x20CLI\x20indices\x20start\x20at\x201','masters:\x20','\x20elements','shapeBoundary',',\x20selectable=','unit','source','prefix','site-','\x20(charts\x20','right','worksheet-range','table','presentation\x20','media','option','endElementId','\x20\x20conditional\x20formatting:\x20','shapeData','textStyle','\x20tables','presentation','\x09…\x20','shapes','addArgument','ranges','\x20\x20prstGeom:\x20','start',',\x20…\x20','bottom','laneId','142252tjMeNm',')\x20[','Unknown\x20paragraph\x20selector\x20prefix\x20\x22','parentId','speakerNotes','base','worksheet\x20[','Inspect\x20structured\x20Univer\x20content','release',',\x20shapes\x20','\x20\x20poster:\x20','\x20\x20data\x20validation:\x20','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2'];_0x2bd7=function(){return _0x18d31d;};return _0x2bd7();}const _0x44d9b2=_0x40ae;(function(_0x1ddea3,_0x1df530){const _0x3aab7a=_0x40ae,_0x26f373=_0x1ddea3();while(!![]){try{const _0x4a096b=-parseInt(_0x3aab7a(0x1b4))/0x1+-parseInt(_0x3aab7a(0x103))/0x2+parseInt(_0x3aab7a(0x177))/0x3*(parseInt(_0x3aab7a(0x1cd))/0x4)+parseInt(_0x3aab7a(0x193))/0x5+parseInt(_0x3aab7a(0x12d))/0x6*(parseInt(_0x3aab7a(0x16d))/0x7)+-parseInt(_0x3aab7a(0x13b))/0x8+-parseInt(_0x3aab7a(0x1c1))/0x9*(parseInt(_0x3aab7a(0x1a2))/0xa);if(_0x4a096b===_0x1df530)break;else _0x26f373['push'](_0x26f373['shift']());}catch(_0x4dbae8){_0x26f373['push'](_0x26f373['shift']());}}}(_0x2bd7,0xb93c4));import{ContentInspectionError as _0x1205c7,inspectContent as _0x4f5d4e}from'@univer-cli/content-inspection';import{Argument as _0x62dcd8,Command as _0x568041,Option as _0x4fce74}from'commander';var a=class extends Error{};function o(_0x262934,_0x47d254,_0x2ad036){const _0x2c4871=_0x40ae;if(_0x262934==='workbook'||_0x262934===_0x2c4871(0x11d)||_0x262934===_0x2c4871(0xf9)||_0x262934==='base'||_0x262934===_0x2c4871(0x114))return m(_0x262934,_0x47d254),h(_0x262934,_0x2ad036[_0x2c4871(0x11f)]),{'kind':_0x262934};if(_0x262934===_0x2c4871(0x11f))return h(_0x262934,_0x2ad036[_0x2c4871(0x11f)]),{'kind':_0x262934,'worksheets':p(_0x47d254,c)};if(_0x262934==='slide')return h(_0x262934,_0x2ad036['worksheet']),{'kind':_0x262934,'slides':p(_0x47d254,l)};if(_0x262934===_0x2c4871(0x118))return h(_0x262934,_0x2ad036['worksheet']),{'kind':_0x262934,'paragraphs':p(_0x47d254,u)};if(_0x262934===_0x2c4871(0x1d2))return h(_0x262934,_0x2ad036[_0x2c4871(0x11f)]),{'kind':_0x262934,'elements':p(_0x47d254,s)};if(_0x2ad036[_0x2c4871(0x11f)]===void 0x0)throw new a(_0x2c4871(0x11e));let _0xaa462c=c(_0x2ad036[_0x2c4871(0x11f)]);return{'kind':_0x262934,'ranges':p(_0x47d254,_0x3294d1=>{const _0x42b75e=_0x2c4871;if(_0x3294d1[_0x42b75e(0x181)]===0x0)throw new a('Range\x20cannot\x20be\x20empty');return{'range':_0x3294d1,'worksheet':_0xaa462c};})};}function s(_0x70ad77){const _0x40632c=_0x40ae;let _0x760329=d(_0x70ad77);if(_0x760329[_0x40632c(0xeb)]==='id')return{'id':_0x760329[_0x40632c(0x1b7)]};throw new a(_0x40632c(0x1d6)+_0x760329[_0x40632c(0xeb)]+_0x40632c(0x11a));}function c(_0x3b513f){const _0x279bfd=_0x40ae;let _0x3082d1=d(_0x3b513f);if(_0x3082d1['prefix']==='id')return{'id':_0x3082d1[_0x279bfd(0x1b7)]};if(_0x3082d1[_0x279bfd(0xeb)]===_0x279bfd(0x184))return{'name':_0x3082d1['value']};if(_0x3082d1['prefix']===_0x279bfd(0x15c))return{'index':f(_0x3082d1[_0x279bfd(0x1b7)])};throw new a('Unknown\x20worksheet\x20selector\x20prefix\x20\x22'+_0x3082d1['prefix']+_0x279bfd(0x1a6));}function l(_0x1fee14){const _0x1abfcc=_0x40ae;let _0x1c29da=d(_0x1fee14);if(_0x1c29da[_0x1abfcc(0xeb)]==='id')return{'id':_0x1c29da[_0x1abfcc(0x1b7)]};if(_0x1c29da[_0x1abfcc(0xeb)]===_0x1abfcc(0x15c))return{'index':f(_0x1c29da[_0x1abfcc(0x1b7)])};throw new a(_0x1abfcc(0x176)+_0x1c29da[_0x1abfcc(0xeb)]+_0x1abfcc(0x1cc));}function u(_0x52a62f){const _0x257d78=_0x40ae;let _0x47f675=d(_0x52a62f);if(_0x47f675['prefix']==='id')return{'id':_0x47f675[_0x257d78(0x1b7)]};if(_0x47f675[_0x257d78(0xeb)]===_0x257d78(0x15c))return{'index':f(_0x47f675[_0x257d78(0x1b7)])};throw new a(_0x257d78(0x105)+_0x47f675[_0x257d78(0xeb)]+_0x257d78(0x1cc));}function d(_0x570cdf){const _0x1438df=_0x40ae;let _0x2e5073=_0x570cdf[_0x1438df(0x1bf)](':');if(_0x2e5073<=0x0||_0x2e5073===_0x570cdf['length']-0x1)throw new a(_0x1438df(0x1ce)+_0x570cdf+_0x1438df(0x196));return{'prefix':_0x570cdf[_0x1438df(0x14f)](0x0,_0x2e5073),'value':_0x570cdf[_0x1438df(0x14f)](_0x2e5073+0x1)};}function _0x40ae(_0xbd0181,_0x1a8efd){_0xbd0181=_0xbd0181-0xdc;const _0x2bd79c=_0x2bd7();let _0x40ae26=_0x2bd79c[_0xbd0181];return _0x40ae26;}function f(_0x70376b){const _0x413622=_0x40ae;if(!/^\d+$/[_0x413622(0xe3)](_0x70376b))throw new a(_0x413622(0x160)+_0x70376b+'\x22;\x20index\x20must\x20be\x20an\x20integer');let _0x5991cb=Number(_0x70376b);if(!Number[_0x413622(0x110)](_0x5991cb)||_0x5991cb<0x1)throw new a(_0x413622(0x160)+_0x70376b+_0x413622(0xe4));return _0x5991cb-0x1;}function p(_0x25d565,_0x5c6af1){const _0x358468=_0x40ae;if(_0x25d565['length']===0x0)throw new a('This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector');let _0x5e9655=_0x25d565[0x0];if(_0x5e9655===void 0x0)throw new a('Missing\x20selector');return[_0x5c6af1(_0x5e9655),..._0x25d565[_0x358468(0x14f)](0x1)[_0x358468(0x1d5)](_0x5c6af1)];}function m(_0x2da5bf,_0x205ee1){const _0x196451=_0x40ae;if(_0x205ee1[_0x196451(0x181)]>0x0)throw new a(_0x2da5bf+_0x196451(0x137));}function h(_0x49990f,_0x3dcf48){const _0x2f7651=_0x40ae;if(_0x3dcf48!==void 0x0)throw new a(_0x2f7651(0x18e)+_0x49990f);}var g=0xc,_=0x8,v=0xc;function y(_0x2f1350){const _0x4a7190=_0x40ae;switch(_0x2f1350[_0x4a7190(0x1a3)]){case _0x4a7190(0x108):return['Base\x20'+_0x2f1350['name']+'\x20('+_0x2f1350[_0x4a7190(0x1d1)]+')',_0x2f1350[_0x4a7190(0x15d)][_0x4a7190(0x181)]+_0x4a7190(0xf8),'',..._0x2f1350[_0x4a7190(0x15d)]['map'](k)]['join']('\x0a');case _0x4a7190(0x129):return[_0x4a7190(0x1b0)+_0x2f1350[_0x4a7190(0x184)]+'\x20('+_0x2f1350[_0x4a7190(0x1d1)]+')',..._0x2f1350[_0x4a7190(0x112)]['map'](A)][_0x4a7190(0x12a)]('\x0a');case _0x4a7190(0x11f):return _0x2f1350[_0x4a7190(0x112)][_0x4a7190(0x1d5)](A)[_0x4a7190(0x12a)]('\x0a');case _0x4a7190(0xef):return _0x2f1350[_0x4a7190(0xfd)]['map'](_0x1aa952=>_0x1aa952[_0x4a7190(0x11f)][_0x4a7190(0x184)]+'!'+_0x1aa952[_0x4a7190(0x15b)]+(_0x1aa952[_0x4a7190(0x1ad)]?'\x20(clipped\x20from\x20'+_0x1aa952[_0x4a7190(0x18f)]+')':'')+'\x0a'+j(_0x1aa952[_0x4a7190(0x1ae)]))[_0x4a7190(0x12a)]('\x0a\x0a');case _0x4a7190(0xf9):return[_0x4a7190(0xf1)+_0x2f1350[_0x4a7190(0x184)]+'\x20('+_0x2f1350[_0x4a7190(0x1d1)]+')\x20'+_0x2f1350[_0x4a7190(0x17c)][_0x4a7190(0x18d)]+'x'+_0x2f1350[_0x4a7190(0x17c)][_0x4a7190(0x190)],_0x4a7190(0xe5)+_0x2f1350[_0x4a7190(0x150)]+_0x4a7190(0x130)+_0x2f1350[_0x4a7190(0x126)],..._0x2f1350[_0x4a7190(0x162)]['map'](_0x49f72d=>'\x20\x20['+(_0x49f72d[_0x4a7190(0x15c)]+0x1)+']\x20'+_0x49f72d['id']+'\x20'+_0x49f72d['name']+'\x20—\x20'+_0x49f72d[_0x4a7190(0xe0)][_0x4a7190(0x14e)]+_0x4a7190(0xe6)+(_0x49f72d['textPreview']===void 0x0?'':'\x20—\x20'+_0x49f72d[_0x4a7190(0x132)]))][_0x4a7190(0x12a)]('\x0a');case _0x4a7190(0x183):return _0x2f1350[_0x4a7190(0x162)]['map'](_0x3d9aea=>[_0x4a7190(0x1c0)+(_0x3d9aea[_0x4a7190(0x15c)]+0x1)+']\x20'+_0x3d9aea['id']+'\x20'+_0x3d9aea['name'],..._0x3d9aea[_0x4a7190(0x14b)][_0x4a7190(0x1d5)](_0xc21d96=>M(_0xc21d96,'\x20\x20')),..._0x3d9aea[_0x4a7190(0x107)]===''?[]:[_0x4a7190(0x1c5)+_0x3d9aea[_0x4a7190(0x107)]]][_0x4a7190(0x12a)]('\x0a'))[_0x4a7190(0x12a)]('\x0a\x0a');case'document':return['document\x20'+_0x2f1350['title']+'\x20('+_0x2f1350[_0x4a7190(0x1d1)]+_0x4a7190(0x104)+_0x2f1350[_0x4a7190(0x171)]+']',_0x2f1350[_0x4a7190(0xdf)]+'\x20paragraphs,\x20'+_0x2f1350[_0x4a7190(0x144)]+_0x4a7190(0x1d0),..._0x2f1350[_0x4a7190(0x17b)][_0x4a7190(0x1d5)](_0x402a0c=>_0x4a7190(0x175)+(_0x402a0c[_0x4a7190(0x15c)]+0x1)+']\x20'+_0x402a0c['id']+_0x4a7190(0x163)+_0x402a0c[_0x4a7190(0x132)])][_0x4a7190(0x12a)]('\x0a');case'paragraph':return _0x2f1350[_0x4a7190(0x17b)][_0x4a7190(0x1d5)](_0x10e2a7=>_0x4a7190(0x169)+(_0x10e2a7['index']+0x1)+']\x20'+_0x10e2a7['id']+'\x0a'+_0x10e2a7['text']+(_0x10e2a7['textRuns'][_0x4a7190(0x181)]===0x0?'':_0x4a7190(0x1b9)+_0x10e2a7['textRuns']['length']))[_0x4a7190(0x12a)]('\x0a\x0a');case'board':return[_0x4a7190(0x166)+_0x2f1350['name']+'\x20('+_0x2f1350[_0x4a7190(0x1d1)]+')',_0x2f1350['elementCounts']['total']+_0x4a7190(0x124)+C(_0x2f1350['elementCounts'][_0x4a7190(0x1a8)]),..._0x2f1350['elements'][_0x4a7190(0x1d5)](_0x14304c=>b(_0x14304c,'\x20\x20'))][_0x4a7190(0x12a)]('\x0a');case _0x4a7190(0x1d2):return _0x2f1350[_0x4a7190(0x14b)][_0x4a7190(0x1d5)](x)[_0x4a7190(0x12a)]('\x0a\x0a');}}function b(_0x2e4315,_0x4653cd){const _0x57acbb=_0x40ae;let _0x1f574a=_0x2e4315[_0x57acbb(0x153)]===void 0x0?'':':'+_0x2e4315[_0x57acbb(0x153)],_0x247d34=_0x2e4315[_0x57acbb(0x184)]===void 0x0||_0x2e4315[_0x57acbb(0x184)]===''?'':'\x20'+_0x2e4315[_0x57acbb(0x184)],_0x561b33=_0x2e4315[_0x57acbb(0x1c3)]===void 0x0&&_0x2e4315['endElementId']===void 0x0?'':'\x20'+(_0x2e4315['startElementId']??'?')+_0x57acbb(0x168)+(_0x2e4315[_0x57acbb(0xf4)]??'?'),_0x148f7b=_0x2e4315[_0x57acbb(0x13d)]===void 0x0||_0x2e4315[_0x57acbb(0x13d)]===''?'':_0x57acbb(0x163)+D(_0x2e4315[_0x57acbb(0x13d)]);return _0x4653cd+'['+(_0x2e4315['orderIndex']+0x1)+']\x20'+_0x2e4315['type']+_0x1f574a+'\x20'+_0x2e4315['id']+_0x247d34+_0x561b33+_0x148f7b;}function x(_0x10047){const _0x1b6a44=_0x40ae;let _0x210a78=[_0x10047[_0x1b6a44(0x174)]+'\x20'+_0x10047['id']+'\x20['+(_0x10047['orderIndex']+0x1)+']'+(_0x10047[_0x1b6a44(0x184)]===void 0x0||_0x10047[_0x1b6a44(0x184)]===''?'':'\x20'+_0x10047['name']),_0x1b6a44(0x115)+T(_0x10047[_0x1b6a44(0x147)]),_0x1b6a44(0x182)+(_0x10047[_0x1b6a44(0x1bd)]===null?_0x1b6a44(0x133):T(_0x10047[_0x1b6a44(0x1bd)])),_0x1b6a44(0x1c4)+_0x10047[_0x1b6a44(0x167)]+_0x1b6a44(0xe8)+_0x10047[_0x1b6a44(0x199)]+_0x1b6a44(0x1a1)+_0x10047[_0x1b6a44(0x113)]];return _0x10047[_0x1b6a44(0x19b)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x170)+D(_0x10047[_0x1b6a44(0x19b)])),_0x10047[_0x1b6a44(0x106)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x19d)+_0x10047[_0x1b6a44(0x106)]),_0x10047[_0x1b6a44(0x102)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x1a7)+_0x10047[_0x1b6a44(0x102)]),_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x1af)?(_0x210a78['push'](_0x1b6a44(0x191)+S(_0x10047[_0x1b6a44(0x189)][_0x1b6a44(0xff)])+_0x1b6a44(0x168)+S(_0x10047['connection'][_0x1b6a44(0x15e)]),_0x1b6a44(0x120)+_0x10047[_0x1b6a44(0x189)][_0x1b6a44(0x152)]+'\x20('+_0x10047[_0x1b6a44(0x189)][_0x1b6a44(0x156)]+_0x1b6a44(0x155)+_0x10047[_0x1b6a44(0x189)]['waypoints']['length']+'\x20waypoints',_0x1b6a44(0x142)+T(_0x10047['style']),'\x20\x20labels:\x20'+T(_0x10047[_0x1b6a44(0x12c)]),'\x20\x20labelText:\x20'+w(_0x10047['labelText']),_0x1b6a44(0x188)+T(_0x10047[_0x1b6a44(0x158)])),_0x210a78[_0x1b6a44(0x12a)]('\x0a')):(_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x1bc)?_0x210a78[_0x1b6a44(0x1bb)]('\x20\x20shapeData:\x20'+T(_0x10047[_0x1b6a44(0xf6)])):_0x10047['type']===_0x1b6a44(0x13d)?_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x1b6)+w(_0x10047[_0x1b6a44(0x136)]),'\x20\x20textStyle:\x20'+T(_0x10047[_0x1b6a44(0xf7)])):_0x10047['type']===_0x1b6a44(0x13a)?(_0x210a78['push']('\x20\x20source:\x20'+E(_0x10047[_0x1b6a44(0xea)])),_0x10047[_0x1b6a44(0x117)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x140)+_0x10047['imageSourceType']),_0x10047[_0x1b6a44(0x149)]!==void 0x0&&_0x210a78['push'](_0x1b6a44(0x1c8)+T(_0x10047['crop'])),_0x10047[_0x1b6a44(0xe2)]!==void 0x0&&_0x210a78['push'](_0x1b6a44(0xfe)+_0x10047[_0x1b6a44(0xe2)]),_0x10047[_0x1b6a44(0x1ac)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x141)+T(_0x10047['adjustValues']))):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x1aa)?(_0x210a78['push'](_0x1b6a44(0x14a)+_0x10047[_0x1b6a44(0x123)]),_0x10047[_0x1b6a44(0x1ba)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x15a)+T(_0x10047[_0x1b6a44(0x1ba)])),_0x10047[_0x1b6a44(0x195)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x154)+T(_0x10047[_0x1b6a44(0x195)]))):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x143)?_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x1b5)+T(_0x10047[_0x1b6a44(0x19e)])):_0x10047['type']===_0x1b6a44(0x192)?_0x210a78['push']('\x20\x20data:\x20'+T(_0x10047[_0x1b6a44(0x16a)])):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0xf0)?(_0x210a78['push']('\x20\x20tableId:\x20'+_0x10047['tableId']),_0x10047[_0x1b6a44(0x1ba)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x15a)+T(_0x10047[_0x1b6a44(0x1ba)]))):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x139)?_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x134)+N(_0x10047[_0x1b6a44(0x197)])):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0xf2)?(_0x210a78['push'](_0x1b6a44(0x12b)+_0x10047[_0x1b6a44(0x173)],_0x1b6a44(0x179)+E(_0x10047[_0x1b6a44(0xea)])),_0x10047[_0x1b6a44(0x17e)]!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x10d)+E(_0x10047[_0x1b6a44(0x17e)]))):_0x10047[_0x1b6a44(0x174)]===_0x1b6a44(0x1ba)?(_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x15a)+T(_0x10047[_0x1b6a44(0x1ba)])),_0x10047[_0x1b6a44(0x13d)]!==void 0x0&&_0x210a78['push'](_0x1b6a44(0x1a5)+D(_0x10047[_0x1b6a44(0x13d)])),_0x10047['style']!==void 0x0&&_0x210a78[_0x1b6a44(0x1bb)]('\x20\x20style:\x20'+T(_0x10047['style']))):_0x210a78[_0x1b6a44(0x1bb)](_0x1b6a44(0x12f)+_0x10047[_0x1b6a44(0x17d)],_0x1b6a44(0x128)+T(_0x10047[_0x1b6a44(0x16a)])),_0x210a78[_0x1b6a44(0x12a)]('\x0a'));}function S(_0x1cf28b){const _0x1b95bb=_0x40ae;if(_0x1cf28b[_0x1b95bb(0x1a3)]===_0x1b95bb(0x131))return'free('+_0x1cf28b['x']+','+_0x1cf28b['y']+')';if(_0x1cf28b[_0x1b95bb(0x1a3)]==='lifeline')return _0x1cf28b[_0x1b95bb(0x135)]+':lifeline@'+_0x1cf28b[_0x1b95bb(0x18c)];if(_0x1cf28b[_0x1b95bb(0x1a3)]===_0x1b95bb(0xe7))return _0x1cf28b[_0x1b95bb(0x135)]+_0x1b95bb(0x1d4)+_0x1cf28b[_0x1b95bb(0xde)]+','+_0x1cf28b[_0x1b95bb(0x122)]+','+_0x1cf28b[_0x1b95bb(0x14c)]+')';let _0x1c83cc=['top',_0x1b95bb(0xee),_0x1b95bb(0x101),_0x1b95bb(0x11b)][_0x1cf28b[_0x1b95bb(0x1a0)]]??_0x1b95bb(0xec)+_0x1cf28b['connectionSiteId'];return _0x1cf28b['shapeId']+':'+_0x1c83cc+(_0x1cf28b[_0x1b95bb(0xdd)]===void 0x0?'':'@'+_0x1cf28b[_0x1b95bb(0xdd)]);}function C(_0x239d2c){const _0x561d3e=_0x40ae;let _0x34ca62=Object[_0x561d3e(0x187)](_0x239d2c)['sort'](([_0x530012],[_0x5d5f87])=>_0x530012[_0x561d3e(0x1ab)](_0x5d5f87));return _0x34ca62[_0x561d3e(0x181)]===0x0?_0x561d3e(0x138):_0x34ca62[_0x561d3e(0x1d5)](([_0x5c3bcc,_0x2f9caf])=>_0x5c3bcc+'\x20'+_0x2f9caf)[_0x561d3e(0x12a)](',\x20');}function w(_0xe3155a){const _0x48a4e8=_0x40ae;if(O(_0xe3155a)){let _0x43ba24=_0xe3155a['body'];if(O(_0x43ba24)&&typeof _0x43ba24[_0x48a4e8(0x13e)]=='string')return D(_0x43ba24[_0x48a4e8(0x13e)]['replace'](/[\r\n]+$/u,''));}return T(_0xe3155a);}function T(_0x4c2384){const _0x5c4d4d=_0x40ae;return E(JSON[_0x5c4d4d(0x127)](_0x4c2384));}function E(_0x155615){const _0x36ca48=_0x40ae;return _0x155615['length']<=0xc8?_0x155615:_0x155615[_0x36ca48(0x14f)](0x0,0xc5)+'…';}function D(_0x5edd28){const _0x1d215e=_0x40ae;return E(_0x5edd28[_0x1d215e(0x19a)](/\s+/gu,'\x20')[_0x1d215e(0x13f)]());}function O(_0xf96bf9){const _0x1b23d7=_0x40ae;return typeof _0xf96bf9=='object'&&!!_0xf96bf9&&!Array[_0x1b23d7(0x178)](_0xf96bf9);}function k(_0x3c481e){const _0x4e617d=_0x40ae;let _0x4d979f=_0x3c481e[_0x4e617d(0x148)][_0x4e617d(0x1d8)](_0xb39508=>_0xb39508['id']===_0x3c481e[_0x4e617d(0x157)]);return['['+_0x3c481e[_0x4e617d(0x15c)]+']\x20'+_0x3c481e[_0x4e617d(0x184)]+'\x20('+_0x3c481e['id']+_0x4e617d(0x16b)+(_0x4d979f?.[_0x4e617d(0x184)]??_0x3c481e[_0x4e617d(0x157)])+_0x4e617d(0x19f)+_0x3c481e['fields'][_0x4e617d(0x181)]+'\x20fields\x20·\x20'+_0x3c481e['recordCount']+_0x4e617d(0x186)+_0x3c481e[_0x4e617d(0x111)]['length']+'\x20'+(_0x3c481e[_0x4e617d(0x111)][_0x4e617d(0x181)]===0x1?_0x4e617d(0x121):_0x4e617d(0x111)),'\x20\x20fields:\x20'+N(_0x3c481e['fields'][_0x4e617d(0x1d5)](_0x58e28d=>_0x58e28d[_0x4e617d(0x184)]+':'+_0x58e28d[_0x4e617d(0x174)])),_0x4e617d(0x1d7)+N(_0x3c481e[_0x4e617d(0x111)][_0x4e617d(0x1d5)](_0xf4ff3e=>_0xf4ff3e['name']+':'+_0xf4ff3e['type']))][_0x4e617d(0x12a)]('\x0a');}function A(_0x4d22e9){const _0x3a7193=_0x40ae;let _0x4daf18=[_0x3a7193(0x109)+(_0x4d22e9[_0x3a7193(0x15c)]+0x1)+']\x20'+_0x4d22e9['id']+'\x20'+_0x4d22e9[_0x3a7193(0x184)]+'\x20('+_0x4d22e9['rowCount']+'x'+_0x4d22e9['columnCount']+')',_0x3a7193(0x164)+N(_0x4d22e9['valueUsedRanges']),_0x3a7193(0x15f)+N(_0x4d22e9[_0x3a7193(0x1a9)]),'\x20\x20styles:\x20'+N(_0x4d22e9[_0x3a7193(0x185)]),_0x3a7193(0x1b3)+N(_0x4d22e9['mergedRanges'])];return _0x4d22e9[_0x3a7193(0x15d)][_0x3a7193(0x181)]>0x0&&_0x4daf18[_0x3a7193(0x1bb)](_0x3a7193(0x161)+N(_0x4d22e9['tables']['map'](_0x24360d=>_0x24360d[_0x3a7193(0x184)]+'('+_0x24360d[_0x3a7193(0x146)]+')'))),_0x4daf18[_0x3a7193(0x1bb)](_0x3a7193(0xf5)+_0x4d22e9[_0x3a7193(0x165)][_0x3a7193(0x1d3)],_0x3a7193(0x10e)+_0x4d22e9[_0x3a7193(0x1b2)][_0x3a7193(0x1d3)],_0x3a7193(0x1c7)+_0x4d22e9['drawings']['total']+_0x3a7193(0xed)+_0x4d22e9['drawings'][_0x3a7193(0x198)]+_0x3a7193(0x194)+_0x4d22e9[_0x3a7193(0x1b1)]['images']+_0x3a7193(0x10c)+_0x4d22e9['drawings'][_0x3a7193(0xfb)]+')'),_0x4daf18[_0x3a7193(0x12a)]('\x0a');}function j(_0x43a450){const _0x526b5b=_0x40ae;let _0x57ab14=_0x43a450[_0x526b5b(0x14f)](0x0,g)['map'](_0x1aaeb7=>{const _0x96dd5e=_0x526b5b;let _0x49424d=_0x1aaeb7[_0x96dd5e(0x14f)](0x0,_),_0x35315a=_0x1aaeb7[_0x96dd5e(0x181)]-_0x49424d[_0x96dd5e(0x181)];return''+_0x49424d[_0x96dd5e(0x1d5)](_0x2fd7ec=>JSON[_0x96dd5e(0x127)](_0x2fd7ec))[_0x96dd5e(0x12a)]('\x09')+(_0x35315a>0x0?_0x96dd5e(0xfa)+_0x35315a+_0x96dd5e(0x172):'');}),_0x5a6748=_0x43a450[_0x526b5b(0x181)]-_0x57ab14[_0x526b5b(0x181)];return _0x5a6748>0x0&&_0x57ab14[_0x526b5b(0x1bb)]('…\x20'+_0x5a6748+_0x526b5b(0x125)),_0x57ab14[_0x526b5b(0x12a)]('\x0a');}function M(_0x5ca9a,_0x4ff315){const _0x58d52b=_0x40ae;let _0x2e29d7=_0x5ca9a[_0x58d52b(0x13d)]?.[_0x58d52b(0x13d)]['replace'](/\s+/g,'\x20')[_0x58d52b(0x13f)]();return[''+_0x4ff315+_0x5ca9a['type']+'\x20'+_0x5ca9a['id']+(_0x5ca9a[_0x58d52b(0x184)]===''?'':'\x20'+_0x5ca9a[_0x58d52b(0x184)])+(_0x2e29d7===void 0x0||_0x2e29d7===''?'':_0x58d52b(0x163)+_0x2e29d7),...(_0x5ca9a[_0x58d52b(0x197)]??[])['map'](_0x44a920=>M(_0x44a920,_0x4ff315+'\x20\x20'))][_0x58d52b(0x12a)]('\x0a');}function N(_0x1dbbd5){const _0x7702c1=_0x40ae;if(_0x1dbbd5[_0x7702c1(0x181)]===0x0)return _0x7702c1(0x138);let _0x30c747=_0x1dbbd5[_0x7702c1(0x14f)](0x0,v),_0x3a3b84=_0x1dbbd5[_0x7702c1(0x181)]-_0x30c747[_0x7702c1(0x181)];return''+_0x30c747[_0x7702c1(0x12a)](',\x20')+(_0x3a3b84>0x0?_0x7702c1(0x100)+_0x3a3b84+_0x7702c1(0x1c6):'');}var P=[_0x44d9b2(0x129),_0x44d9b2(0x11f),_0x44d9b2(0x146),_0x44d9b2(0x11d),_0x44d9b2(0x118),_0x44d9b2(0xf9),_0x44d9b2(0x183),'base',_0x44d9b2(0x114),_0x44d9b2(0x1d2)];function F(_0x1e3256){const _0x45539b=_0x44d9b2;return L({'acquireRuntime':async _0x274848=>await _0x1e3256[_0x45539b(0x145)]({'unitId':_0x274848}),'worktree':!0x1});}function I(_0x49c00a){return L({'acquireRuntime':async(_0x5834b8,_0x45ca95)=>{const _0x5db864=_0x40ae;if(_0x45ca95[_0x5db864(0x1ca)]===!0x0&&_0x45ca95[_0x5db864(0x1cb)]!==void 0x0)throw new a(_0x5db864(0x17f));if(_0x45ca95['trunk']!==!0x0&&_0x45ca95[_0x5db864(0x1cb)]===void 0x0)throw new a(_0x5db864(0x14d));return await _0x49c00a[_0x5db864(0x145)]({'unitId':_0x5834b8,..._0x45ca95[_0x5db864(0x1cb)]===void 0x0?{}:{'worktreeID':_0x45ca95['worktree']}});},'worktree':!0x0});}function L(_0x3dede7){const _0x3f64ef=_0x44d9b2;let _0x225128=new _0x568041(_0x3f64ef(0x16c))[_0x3f64ef(0x19b)](_0x3f64ef(0x10a))[_0x3f64ef(0xfc)](new _0x62dcd8(_0x3f64ef(0x180),_0x3f64ef(0x1c9))['choices'](P))[_0x3f64ef(0x16e)]('[selectors...]',_0x3f64ef(0x10f))[_0x3f64ef(0x18b)](_0x3f64ef(0x11c),_0x3f64ef(0x1b8))[_0x3f64ef(0xf3)](_0x3f64ef(0x18a),'worksheet\x20selector\x20for\x20range')[_0x3f64ef(0xf3)](_0x3f64ef(0x119),'write\x20the\x20complete\x20structured\x20result\x20as\x20JSON');return _0x3dede7[_0x3f64ef(0x1cb)]&&_0x225128[_0x3f64ef(0x1cf)](new _0x4fce74(_0x3f64ef(0xdc),_0x3f64ef(0x116))[_0x3f64ef(0x13c)](_0x3f64ef(0x1cb)))['addOption'](new _0x4fce74(_0x3f64ef(0x1a4),_0x3f64ef(0x159))[_0x3f64ef(0x13c)](_0x3f64ef(0x1ca))),_0x225128[_0x3f64ef(0x1be)](async(_0xbec705,_0x15430c,_0xebcf08)=>{const _0x34920e=_0x3f64ef;let _0x2e6d57=_0xbec705==='range'?_0x34920e(0xef):_0xbec705,_0x266df6;try{_0x266df6=o(_0x2e6d57,_0x15430c,_0xebcf08);}catch(_0x2627c0){throw _0x2627c0 instanceof a&&_0x225128[_0x34920e(0x12e)](_0x2627c0[_0x34920e(0x17a)],{'code':_0x34920e(0xe1),'exitCode':0x1}),_0x2627c0;}let _0x5135af,_0x49b2d7;try{_0x5135af=await _0x3dede7[_0x34920e(0x145)](_0xebcf08[_0x34920e(0xe9)],_0xebcf08),_0x49b2d7=await _0x4f5d4e(_0x5135af,_0x266df6);}catch(_0x4ae0a8){throw _0x5135af!==void 0x0&&await R(_0x5135af),(_0x4ae0a8 instanceof _0x1205c7||z(_0x4ae0a8))&&_0x225128[_0x34920e(0x12e)](_0x4ae0a8[_0x34920e(0x151)]+':\x20'+_0x4ae0a8['message'],{'code':_0x34920e(0x19c),'exitCode':0x1}),_0x4ae0a8 instanceof a&&_0x225128['error'](_0x4ae0a8[_0x34920e(0x17a)],{'code':_0x34920e(0xe1),'exitCode':0x1}),_0x4ae0a8;}await _0x5135af[_0x34920e(0x10b)](),_0x225128['configureOutput']()['writeOut']?.((_0xebcf08[_0x34920e(0x16f)]===!0x0?JSON['stringify'](_0x49b2d7,null,0x2):y(_0x49b2d7))+'\x0a');}),_0x225128;}async function R(_0x20b157){const _0x23cec0=_0x44d9b2;await _0x20b157[_0x23cec0(0x10b)]();}function z(_0x2a90d3){const _0xcd0a16=_0x44d9b2;return _0x2a90d3 instanceof Error&&typeof _0x2a90d3[_0xcd0a16(0x151)]==_0xcd0a16(0x1c2);}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.6.0",
4
+ "version": "1.6.1",
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.6.0"
21
+ "@univer-cli/content-inspection": "1.6.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"