@univer-cli/content-inspection-command 1.0.0-rc.0 → 1.0.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.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xfcd7a9=_0x4c96;(function(_0x425a65,_0x1941e9){const _0x3fa3ba=_0x4c96,_0x5358e4=_0x425a65();while(!![]){try{const _0x191ad1=-parseInt(_0x3fa3ba(0x1e1))/0x1*(parseInt(_0x3fa3ba(0x169))/0x2)+-parseInt(_0x3fa3ba(0x22c))/0x3+parseInt(_0x3fa3ba(0x159))/0x4*(parseInt(_0x3fa3ba(0x1a0))/0x5)+-parseInt(_0x3fa3ba(0x1ab))/0x6+parseInt(_0x3fa3ba(0x19d))/0x7*(parseInt(_0x3fa3ba(0x19e))/0x8)+-parseInt(_0x3fa3ba(0x18a))/0x9+parseInt(_0x3fa3ba(0x248))/0xa;if(_0x191ad1===_0x1941e9)break;else _0x5358e4['push'](_0x5358e4['shift']());}catch(_0x165a99){_0x5358e4['push'](_0x5358e4['shift']());}}}(_0x3549,0x362c5));import{ContentInspectionError as _0x33baa1,inspectContent as _0x28e077}from'@univer-cli/content-inspection';import{Argument as _0x5c5a72,Command as _0x2cf9fa,Option as _0x114988}from'commander';var a=class extends Error{};function o(_0x1876fb,_0x4fa249,_0x12d2af){const _0x2bbd11=_0x4c96;if(_0x1876fb==='workbook'||_0x1876fb===_0x2bbd11(0x162)||_0x1876fb===_0x2bbd11(0x19a)||_0x1876fb===_0x2bbd11(0x157)||_0x1876fb===_0x2bbd11(0x237))return m(_0x1876fb,_0x4fa249),h(_0x1876fb,_0x12d2af[_0x2bbd11(0x1d4)]),{'kind':_0x1876fb};if(_0x1876fb===_0x2bbd11(0x1d4))return h(_0x1876fb,_0x12d2af[_0x2bbd11(0x1d4)]),{'kind':_0x1876fb,'worksheets':p(_0x4fa249,c)};if(_0x1876fb==='slide')return h(_0x1876fb,_0x12d2af[_0x2bbd11(0x1d4)]),{'kind':_0x1876fb,'slides':p(_0x4fa249,l)};if(_0x1876fb===_0x2bbd11(0x1a3))return h(_0x1876fb,_0x12d2af[_0x2bbd11(0x1d4)]),{'kind':_0x1876fb,'paragraphs':p(_0x4fa249,u)};if(_0x1876fb==='board-element')return h(_0x1876fb,_0x12d2af[_0x2bbd11(0x1d4)]),{'kind':_0x1876fb,'elements':p(_0x4fa249,s)};if(_0x12d2af['worksheet']===void 0x0)throw new a('range\x20requires\x20--worksheet\x20<selector>');let _0x29ccd7=c(_0x12d2af[_0x2bbd11(0x1d4)]);return{'kind':_0x1876fb,'ranges':p(_0x4fa249,_0x41b7e7=>{const _0x5ae4fe=_0x2bbd11;if(_0x41b7e7[_0x5ae4fe(0x1f3)]===0x0)throw new a(_0x5ae4fe(0x18e));return{'range':_0x41b7e7,'worksheet':_0x29ccd7};})};}function s(_0x1bb26f){const _0x2be43c=_0x4c96;let _0x1a2175=d(_0x1bb26f);if(_0x1a2175[_0x2be43c(0x1cf)]==='id')return{'id':_0x1a2175[_0x2be43c(0x155)]};throw new a(_0x2be43c(0x18f)+_0x1a2175[_0x2be43c(0x1cf)]+_0x2be43c(0x20a));}function c(_0x5e3cd8){const _0x1b92a0=_0x4c96;let _0x12dfea=d(_0x5e3cd8);if(_0x12dfea[_0x1b92a0(0x1cf)]==='id')return{'id':_0x12dfea['value']};if(_0x12dfea[_0x1b92a0(0x1cf)]===_0x1b92a0(0x1b7))return{'name':_0x12dfea[_0x1b92a0(0x155)]};if(_0x12dfea[_0x1b92a0(0x1cf)]==='index')return{'index':f(_0x12dfea['value'])};throw new a('Unknown\x20worksheet\x20selector\x20prefix\x20\x22'+_0x12dfea['prefix']+'\x22;\x20use\x20id:,\x20name:,\x20or\x20index:');}function l(_0x2008a1){const _0x35962d=_0x4c96;let _0x10858f=d(_0x2008a1);if(_0x10858f[_0x35962d(0x1cf)]==='id')return{'id':_0x10858f[_0x35962d(0x155)]};if(_0x10858f[_0x35962d(0x1cf)]==='index')return{'index':f(_0x10858f['value'])};throw new a(_0x35962d(0x1f1)+_0x10858f['prefix']+_0x35962d(0x1ec));}function _0x3549(){const _0x2865e6=['displayValues','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','elementCounts','containerData','\x20\x20textContent:\x20','masterSlideCount','\x20\x20tables:\x20','document','\x20records\x20·\x20','\x20\x20[','masters:\x20','top','acquireRuntime','board-element','136xGKnzw','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','requiredOption','\x20\x20mediaType:\x20','sort','code','\x20\x20connection:\x20','segmentIndex','\x20\x20transform:\x20','option','\x20\x20labels:\x20','\x20rows\x20omitted','text','stroke','labelText','\x20\x20fields:\x20','height','table','prstGeom','board\x20','connector','--json','end','Base\x20','transform','\x20\x20text:\x20',',\x20selectable=','textContent','content\x20target','push','workbook','\x20\x20data\x20validation:\x20','subtype','1062324osMsCx','\x20\x20laneId:\x20','replace','document\x20','Range\x20cannot\x20be\x20empty','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','primaryFieldId','isSafeInteger','waypoints','\x20->\x20','\x20\x20views:\x20','\x20\x20placeholder:\x20','rowCount','--trunk','argument','fields','presentation','\x20\x20labelText:\x20','\x20\x20merged:\x20','16933vKuhPJ','72UObtAc','recordCount','40grPjTs','tableId','\x20\x20children:\x20','paragraph','unresolved','stringify','title','conflicts','poster','bounds','\x20\x20source:\x20','45978oLqiCY','\x20\x20notes:\x20','\x20columns\x20omitted','object','\x20(charts\x20','formulaUsedRanges','\x20\x20stroke:\x20','choices','imageSourceType','orderIndex','description','shape','name','conditionalFormatting','\x22;\x20index\x20must\x20be\x20an\x20integer','labels','index','inspect\x20the\x20trunk','slice','image','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','routing','\x20\x20bounds:\x20','find','join','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','media','Unit\x20to\x20inspect','chart','placeholder','kind','Inspect\x20structured\x20Univer\x20content','shapeId','\x20elements','json','inspect.failed','prefix','textRuns','crop','start','\x20\x20originalType:\x20','worksheet','connectionPosition','dataValidation','inspect.invalid-input','body','\x20—\x20','map','parentId','speakerNotes','textPreview','--worksheet\x20<selector>','worksheets','[selectors...]','5381lFhRNA',',\x20locked=','left','\x20omitted',')\x20·\x20primary\x20',',\x20…\x20','workbook\x20','),\x20','unit','\x20\x20crop:\x20','addOption','\x22;\x20use\x20id:\x20or\x20index:','tables','\x20\x20routing:\x20','slides',',\x20layouts:\x20','Unknown\x20slide\x20selector\x20prefix\x20\x22','\x20elements\x20—\x20','length','worksheet-range','slide','columnCount','presentation\x20','\x20\x20formulas:\x20','resolvedRange','size','\x09…\x20','views','requestedRange','total','Invalid\x20index\x20\x22','message','Invalid\x20selector\x20\x22','\x20\x20prstGeom:\x20','worktree','source','laneId','data','charts','site-',',\x20shapes\x20','\x22;\x20use\x20id:','worksheet\x20selector\x20for\x20range','\x0atext\x20runs:\x20','\x20\x20chartId:\x20','textStyle','originalType','string','writeOut','action','trunk','\x20\x20drawings:\x20','segmentT','container','none','\x20\x20poster:\x20','\x20tables','\x20\x20values:\x20','inspect\x20a\x20worktree','--unit\x20<unit-id>','error','characterCount','\x20\x20description:\x20','selectable','\x20\x20state:\x20visible=','connection','addArgument','range','labelStyle','\x20\x20imageSourceType:\x20','\x20\x20parentId:\x20','\x20\x20data:\x20','diagram','style','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','608829UFijrr','entries','valueUsedRanges','\x20·\x20','dataStream','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','elements','inspect','test','release','\x20\x20style:\x20','board','paragraph\x20[','count','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','endElementId','paragraphs','\x20waypoints','adjustValues','startElementId','layoutSlideCount','clipped','trim','drawings','type','unitId','shapeBoundary','connectionSiteId','4773440GDOVVn','\x20paragraphs,\x20','\x20inspection\x20does\x20not\x20accept\x20selectors','children','value','\x20\x20adjustValues:\x20','base','indexOf','208664FpZbzt','Unknown\x20paragraph\x20selector\x20prefix\x20\x22'];_0x3549=function(){return _0x2865e6;};return _0x3549();}function u(_0x3d4913){const _0x4fb50d=_0x4c96;let _0x25a638=d(_0x3d4913);if(_0x25a638['prefix']==='id')return{'id':_0x25a638[_0x4fb50d(0x155)]};if(_0x25a638['prefix']===_0x4fb50d(0x1bb))return{'index':f(_0x25a638[_0x4fb50d(0x155)])};throw new a(_0x4fb50d(0x15a)+_0x25a638[_0x4fb50d(0x1cf)]+'\x22;\x20use\x20id:\x20or\x20index:');}function d(_0x1b0a40){const _0x5278e2=_0x4c96;let _0x3eb13d=_0x1b0a40[_0x5278e2(0x158)](':');if(_0x3eb13d<=0x0||_0x3eb13d===_0x1b0a40[_0x5278e2(0x1f3)]-0x1)throw new a(_0x5278e2(0x201)+_0x1b0a40+_0x5278e2(0x15c));return{'prefix':_0x1b0a40['slice'](0x0,_0x3eb13d),'value':_0x1b0a40[_0x5278e2(0x1bd)](_0x3eb13d+0x1)};}function f(_0x1eb357){const _0x388e3b=_0x4c96;if(!/^\d+$/[_0x388e3b(0x234)](_0x1eb357))throw new a(_0x388e3b(0x1ff)+_0x1eb357+_0x388e3b(0x1b9));let _0x6f8122=Number(_0x1eb357);if(!Number[_0x388e3b(0x191)](_0x6f8122)||_0x6f8122<0x1)throw new a('Invalid\x20index\x20\x22'+_0x1eb357+'\x22;\x20CLI\x20indices\x20start\x20at\x201');return _0x6f8122-0x1;}function p(_0x3f040f,_0x3d6456){const _0x90f6f4=_0x4c96;if(_0x3f040f[_0x90f6f4(0x1f3)]===0x0)throw new a(_0x90f6f4(0x16a));let _0x2e213b=_0x3f040f[0x0];if(_0x2e213b===void 0x0)throw new a('Missing\x20selector');return[_0x3d6456(_0x2e213b),..._0x3f040f[_0x90f6f4(0x1bd)](0x1)['map'](_0x3d6456)];}function m(_0x1e8245,_0x773193){const _0x56690c=_0x4c96;if(_0x773193[_0x56690c(0x1f3)]>0x0)throw new a(_0x1e8245+_0x56690c(0x24a));}function h(_0x59813e,_0x331267){const _0x43da64=_0x4c96;if(_0x331267!==void 0x0)throw new a(_0x43da64(0x23a)+_0x59813e);}var g=0xc,_=0x8,v=0xc;function y(_0x2957fc){const _0x22318b=_0x4c96;switch(_0x2957fc[_0x22318b(0x1c9)]){case'base':return[_0x22318b(0x180)+_0x2957fc[_0x22318b(0x1b7)]+'\x20('+_0x2957fc['unitId']+')',_0x2957fc['tables'][_0x22318b(0x1f3)]+_0x22318b(0x219),'',..._0x2957fc[_0x22318b(0x1ed)][_0x22318b(0x1da)](k)][_0x22318b(0x1c3)]('\x0a');case _0x22318b(0x187):return[_0x22318b(0x1e7)+_0x2957fc[_0x22318b(0x1b7)]+'\x20('+_0x2957fc[_0x22318b(0x245)]+')',..._0x2957fc['worksheets'][_0x22318b(0x1da)](A)][_0x22318b(0x1c3)]('\x0a');case _0x22318b(0x1d4):return _0x2957fc[_0x22318b(0x1df)][_0x22318b(0x1da)](A)[_0x22318b(0x1c3)]('\x0a');case _0x22318b(0x1f4):return _0x2957fc['ranges'][_0x22318b(0x1da)](_0x1acda2=>_0x1acda2[_0x22318b(0x1d4)][_0x22318b(0x1b7)]+'!'+_0x1acda2[_0x22318b(0x1f9)]+(_0x1acda2[_0x22318b(0x241)]?'\x20(clipped\x20from\x20'+_0x1acda2[_0x22318b(0x1fd)]+')':'')+'\x0a'+j(_0x1acda2[_0x22318b(0x15b)]))['join']('\x0a\x0a');case _0x22318b(0x19a):return[_0x22318b(0x1f7)+_0x2957fc[_0x22318b(0x1b7)]+'\x20('+_0x2957fc[_0x22318b(0x245)]+')\x20'+_0x2957fc[_0x22318b(0x1fa)]['width']+'x'+_0x2957fc[_0x22318b(0x1fa)][_0x22318b(0x179)],_0x22318b(0x165)+_0x2957fc[_0x22318b(0x160)]+_0x22318b(0x1f0)+_0x2957fc[_0x22318b(0x240)],..._0x2957fc['slides'][_0x22318b(0x1da)](_0x4487bb=>_0x22318b(0x164)+(_0x4487bb['index']+0x1)+']\x20'+_0x4487bb['id']+'\x20'+_0x4487bb['name']+_0x22318b(0x1d9)+_0x4487bb[_0x22318b(0x15d)][_0x22318b(0x1fe)]+_0x22318b(0x1cc)+(_0x4487bb[_0x22318b(0x1dd)]===void 0x0?'':_0x22318b(0x1d9)+_0x4487bb[_0x22318b(0x1dd)]))][_0x22318b(0x1c3)]('\x0a');case _0x22318b(0x1f5):return _0x2957fc[_0x22318b(0x1ef)][_0x22318b(0x1da)](_0x240edd=>['slide\x20['+(_0x240edd[_0x22318b(0x1bb)]+0x1)+']\x20'+_0x240edd['id']+'\x20'+_0x240edd[_0x22318b(0x1b7)],..._0x240edd['elements'][_0x22318b(0x1da)](_0x1a6138=>M(_0x1a6138,'\x20\x20')),..._0x240edd[_0x22318b(0x1dc)]===''?[]:[_0x22318b(0x1ac)+_0x240edd[_0x22318b(0x1dc)]]]['join']('\x0a'))[_0x22318b(0x1c3)]('\x0a\x0a');case'document':return[_0x22318b(0x18d)+_0x2957fc[_0x22318b(0x1a6)]+'\x20('+_0x2957fc[_0x22318b(0x245)]+')\x20['+_0x2957fc['mode']+']',_0x2957fc['paragraphCount']+_0x22318b(0x249)+_0x2957fc[_0x22318b(0x21e)]+'\x20characters',..._0x2957fc[_0x22318b(0x23c)]['map'](_0x34ad30=>'\x20\x20['+(_0x34ad30[_0x22318b(0x1bb)]+0x1)+']\x20'+_0x34ad30['id']+'\x20—\x20'+_0x34ad30[_0x22318b(0x1dd)])][_0x22318b(0x1c3)]('\x0a');case'paragraph':return _0x2957fc[_0x22318b(0x23c)][_0x22318b(0x1da)](_0x3a8571=>_0x22318b(0x238)+(_0x3a8571[_0x22318b(0x1bb)]+0x1)+']\x20'+_0x3a8571['id']+'\x0a'+_0x3a8571[_0x22318b(0x175)]+(_0x3a8571['textRuns'][_0x22318b(0x1f3)]===0x0?'':_0x22318b(0x20c)+_0x3a8571[_0x22318b(0x1d0)][_0x22318b(0x1f3)]))[_0x22318b(0x1c3)]('\x0a\x0a');case'board':return[_0x22318b(0x17c)+_0x2957fc[_0x22318b(0x1b7)]+'\x20('+_0x2957fc[_0x22318b(0x245)]+')',_0x2957fc[_0x22318b(0x15d)][_0x22318b(0x1fe)]+_0x22318b(0x1f2)+C(_0x2957fc[_0x22318b(0x15d)]['byType']),..._0x2957fc[_0x22318b(0x232)][_0x22318b(0x1da)](_0x23fb67=>b(_0x23fb67,'\x20\x20'))][_0x22318b(0x1c3)]('\x0a');case _0x22318b(0x168):return _0x2957fc['elements'][_0x22318b(0x1da)](x)[_0x22318b(0x1c3)]('\x0a\x0a');}}function b(_0x310d10,_0x597523){const _0x360047=_0x4c96;let _0x478a6f=_0x310d10[_0x360047(0x189)]===void 0x0?'':':'+_0x310d10[_0x360047(0x189)],_0x45b378=_0x310d10[_0x360047(0x1b7)]===void 0x0||_0x310d10[_0x360047(0x1b7)]===''?'':'\x20'+_0x310d10['name'],_0x39f4ca=_0x310d10[_0x360047(0x23f)]===void 0x0&&_0x310d10['endElementId']===void 0x0?'':'\x20'+(_0x310d10[_0x360047(0x23f)]??'?')+_0x360047(0x193)+(_0x310d10[_0x360047(0x23b)]??'?'),_0x1e2c3e=_0x310d10['text']===void 0x0||_0x310d10[_0x360047(0x175)]===''?'':_0x360047(0x1d9)+D(_0x310d10[_0x360047(0x175)]);return _0x597523+'['+(_0x310d10[_0x360047(0x1b4)]+0x1)+']\x20'+_0x310d10[_0x360047(0x244)]+_0x478a6f+'\x20'+_0x310d10['id']+_0x45b378+_0x39f4ca+_0x1e2c3e;}function x(_0x338828){const _0x29266c=_0x4c96;let _0x103039=[_0x338828[_0x29266c(0x244)]+'\x20'+_0x338828['id']+'\x20['+(_0x338828[_0x29266c(0x1b4)]+0x1)+']'+(_0x338828[_0x29266c(0x1b7)]===void 0x0||_0x338828['name']===''?'':'\x20'+_0x338828[_0x29266c(0x1b7)]),_0x29266c(0x171)+T(_0x338828[_0x29266c(0x181)]),_0x29266c(0x1c1)+(_0x338828[_0x29266c(0x1a9)]===null?_0x29266c(0x1a4):T(_0x338828['bounds'])),_0x29266c(0x221)+_0x338828['visible']+_0x29266c(0x183)+_0x338828[_0x29266c(0x220)]+_0x29266c(0x1e2)+_0x338828['locked']];return _0x338828['description']!==void 0x0&&_0x103039['push'](_0x29266c(0x21f)+D(_0x338828[_0x29266c(0x1b5)])),_0x338828[_0x29266c(0x1db)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x227)+_0x338828[_0x29266c(0x1db)]),_0x338828[_0x29266c(0x205)]!==void 0x0&&_0x103039['push'](_0x29266c(0x18b)+_0x338828[_0x29266c(0x205)]),_0x338828[_0x29266c(0x244)]===_0x29266c(0x17d)?(_0x103039[_0x29266c(0x186)](_0x29266c(0x16f)+S(_0x338828[_0x29266c(0x222)][_0x29266c(0x1d2)])+_0x29266c(0x193)+S(_0x338828[_0x29266c(0x222)][_0x29266c(0x17f)]),_0x29266c(0x1ee)+_0x338828[_0x29266c(0x222)][_0x29266c(0x1c0)]+'\x20('+_0x338828[_0x29266c(0x222)]['routingMode']+_0x29266c(0x1e8)+_0x338828[_0x29266c(0x222)][_0x29266c(0x192)][_0x29266c(0x1f3)]+_0x29266c(0x23d),_0x29266c(0x236)+T(_0x338828['style']),_0x29266c(0x173)+T(_0x338828[_0x29266c(0x1ba)]),_0x29266c(0x19b)+w(_0x338828[_0x29266c(0x177)]),'\x20\x20labelStyle:\x20'+T(_0x338828[_0x29266c(0x225)])),_0x103039[_0x29266c(0x1c3)]('\x0a')):(_0x338828['type']===_0x29266c(0x1b6)?_0x103039[_0x29266c(0x186)]('\x20\x20shapeData:\x20'+T(_0x338828['shapeData'])):_0x338828[_0x29266c(0x244)]===_0x29266c(0x175)?_0x103039[_0x29266c(0x186)](_0x29266c(0x15f)+w(_0x338828[_0x29266c(0x184)]),'\x20\x20textStyle:\x20'+T(_0x338828[_0x29266c(0x20e)])):_0x338828['type']===_0x29266c(0x1be)?(_0x103039['push']('\x20\x20source:\x20'+E(_0x338828['source'])),_0x338828[_0x29266c(0x1b3)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x226)+_0x338828[_0x29266c(0x1b3)]),_0x338828[_0x29266c(0x1d1)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x1ea)+T(_0x338828[_0x29266c(0x1d1)])),_0x338828[_0x29266c(0x17b)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x202)+_0x338828['prstGeom']),_0x338828[_0x29266c(0x23e)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x156)+T(_0x338828[_0x29266c(0x23e)]))):_0x338828[_0x29266c(0x244)]===_0x29266c(0x1c7)?(_0x103039['push'](_0x29266c(0x20d)+_0x338828['chartId']),_0x338828['placeholder']!==void 0x0&&_0x103039['push']('\x20\x20placeholder:\x20'+T(_0x338828['placeholder'])),_0x338828[_0x29266c(0x176)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x1b1)+T(_0x338828[_0x29266c(0x176)]))):_0x338828[_0x29266c(0x244)]===_0x29266c(0x216)?_0x103039[_0x29266c(0x186)]('\x20\x20containerData:\x20'+T(_0x338828[_0x29266c(0x15e)])):_0x338828[_0x29266c(0x244)]===_0x29266c(0x229)?_0x103039[_0x29266c(0x186)](_0x29266c(0x228)+T(_0x338828['data'])):_0x338828[_0x29266c(0x244)]===_0x29266c(0x17a)?(_0x103039[_0x29266c(0x186)]('\x20\x20tableId:\x20'+_0x338828[_0x29266c(0x1a1)]),_0x338828[_0x29266c(0x1c8)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x195)+T(_0x338828[_0x29266c(0x1c8)]))):_0x338828[_0x29266c(0x244)]==='group'?_0x103039[_0x29266c(0x186)](_0x29266c(0x1a2)+N(_0x338828[_0x29266c(0x154)])):_0x338828[_0x29266c(0x244)]===_0x29266c(0x1c5)?(_0x103039[_0x29266c(0x186)](_0x29266c(0x16c)+_0x338828['mediaType'],_0x29266c(0x1aa)+E(_0x338828[_0x29266c(0x204)])),_0x338828['poster']!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x218)+E(_0x338828[_0x29266c(0x1a8)]))):_0x338828[_0x29266c(0x244)]==='placeholder'?(_0x103039['push'](_0x29266c(0x195)+T(_0x338828[_0x29266c(0x1c8)])),_0x338828[_0x29266c(0x175)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x182)+D(_0x338828[_0x29266c(0x175)])),_0x338828[_0x29266c(0x22a)]!==void 0x0&&_0x103039[_0x29266c(0x186)](_0x29266c(0x236)+T(_0x338828['style']))):_0x103039[_0x29266c(0x186)](_0x29266c(0x1d3)+_0x338828[_0x29266c(0x20f)],_0x29266c(0x228)+T(_0x338828[_0x29266c(0x206)])),_0x103039['join']('\x0a'));}function S(_0x2397c0){const _0x234763=_0x4c96;if(_0x2397c0[_0x234763(0x1c9)]==='free')return'free('+_0x2397c0['x']+','+_0x2397c0['y']+')';if(_0x2397c0['kind']==='lifeline')return _0x2397c0[_0x234763(0x1cb)]+':lifeline@'+_0x2397c0['offsetY'];if(_0x2397c0[_0x234763(0x1c9)]===_0x234763(0x246))return _0x2397c0[_0x234763(0x1cb)]+':boundary('+_0x2397c0['outlineIndex']+','+_0x2397c0[_0x234763(0x170)]+','+_0x2397c0[_0x234763(0x215)]+')';let _0x399e8d=[_0x234763(0x166),'right','bottom',_0x234763(0x1e3)][_0x2397c0['connectionSiteId']]??_0x234763(0x208)+_0x2397c0[_0x234763(0x247)];return _0x2397c0['shapeId']+':'+_0x399e8d+(_0x2397c0[_0x234763(0x1d5)]===void 0x0?'':'@'+_0x2397c0[_0x234763(0x1d5)]);}function C(_0x2a2e7b){const _0x2d893a=_0x4c96;let _0x178549=Object[_0x2d893a(0x22d)](_0x2a2e7b)[_0x2d893a(0x16d)](([_0x36301f],[_0x17a1f8])=>_0x36301f['localeCompare'](_0x17a1f8));return _0x178549[_0x2d893a(0x1f3)]===0x0?_0x2d893a(0x217):_0x178549[_0x2d893a(0x1da)](([_0x1f5790,_0x537274])=>_0x1f5790+'\x20'+_0x537274)[_0x2d893a(0x1c3)](',\x20');}function w(_0x1eb79f){const _0x5b0576=_0x4c96;if(O(_0x1eb79f)){let _0x444a47=_0x1eb79f[_0x5b0576(0x1d8)];if(O(_0x444a47)&&typeof _0x444a47[_0x5b0576(0x230)]==_0x5b0576(0x210))return D(_0x444a47['dataStream'][_0x5b0576(0x18c)](/[\r\n]+$/u,''));}return T(_0x1eb79f);}function T(_0x2c4f5d){const _0x15aa99=_0x4c96;return E(JSON[_0x15aa99(0x1a5)](_0x2c4f5d));}function E(_0x5e18b7){const _0x106583=_0x4c96;return _0x5e18b7[_0x106583(0x1f3)]<=0xc8?_0x5e18b7:_0x5e18b7[_0x106583(0x1bd)](0x0,0xc5)+'…';}function D(_0x36427c){const _0x585280=_0x4c96;return E(_0x36427c[_0x585280(0x18c)](/\s+/gu,'\x20')[_0x585280(0x242)]());}function O(_0x4fdd4b){const _0x3724e0=_0x4c96;return typeof _0x4fdd4b==_0x3724e0(0x1ae)&&!!_0x4fdd4b&&!Array['isArray'](_0x4fdd4b);}function k(_0x158555){const _0x1e4944=_0x4c96;let _0x57b275=_0x158555[_0x1e4944(0x199)][_0x1e4944(0x1c2)](_0x4ef641=>_0x4ef641['id']===_0x158555[_0x1e4944(0x190)]);return['['+_0x158555[_0x1e4944(0x1bb)]+']\x20'+_0x158555[_0x1e4944(0x1b7)]+'\x20('+_0x158555['id']+_0x1e4944(0x1e5)+(_0x57b275?.['name']??_0x158555[_0x1e4944(0x190)])+_0x1e4944(0x22f)+_0x158555['fields']['length']+'\x20fields\x20·\x20'+_0x158555[_0x1e4944(0x19f)]+_0x1e4944(0x163)+_0x158555[_0x1e4944(0x1fc)][_0x1e4944(0x1f3)]+'\x20'+(_0x158555[_0x1e4944(0x1fc)][_0x1e4944(0x1f3)]===0x1?'view':_0x1e4944(0x1fc)),_0x1e4944(0x178)+N(_0x158555['fields'][_0x1e4944(0x1da)](_0x5b5eec=>_0x5b5eec[_0x1e4944(0x1b7)]+':'+_0x5b5eec[_0x1e4944(0x244)])),_0x1e4944(0x194)+N(_0x158555[_0x1e4944(0x1fc)][_0x1e4944(0x1da)](_0x75f00e=>_0x75f00e[_0x1e4944(0x1b7)]+':'+_0x75f00e[_0x1e4944(0x244)]))][_0x1e4944(0x1c3)]('\x0a');}function A(_0x2fddfb){const _0x3ba424=_0x4c96;let _0xaded20=['worksheet\x20['+(_0x2fddfb[_0x3ba424(0x1bb)]+0x1)+']\x20'+_0x2fddfb['id']+'\x20'+_0x2fddfb[_0x3ba424(0x1b7)]+'\x20('+_0x2fddfb[_0x3ba424(0x196)]+'x'+_0x2fddfb[_0x3ba424(0x1f6)]+')',_0x3ba424(0x21a)+N(_0x2fddfb[_0x3ba424(0x22e)]),_0x3ba424(0x1f8)+N(_0x2fddfb[_0x3ba424(0x1b0)]),'\x20\x20styles:\x20'+N(_0x2fddfb['styleUsedRanges']),_0x3ba424(0x19c)+N(_0x2fddfb['mergedRanges'])];return _0x2fddfb['tables']['length']>0x0&&_0xaded20['push'](_0x3ba424(0x161)+N(_0x2fddfb[_0x3ba424(0x1ed)][_0x3ba424(0x1da)](_0x3a178f=>_0x3a178f['name']+'('+_0x3a178f['range']+')'))),_0xaded20[_0x3ba424(0x186)]('\x20\x20conditional\x20formatting:\x20'+_0x2fddfb[_0x3ba424(0x1b8)][_0x3ba424(0x239)],_0x3ba424(0x188)+_0x2fddfb[_0x3ba424(0x1d6)]['count'],_0x3ba424(0x214)+_0x2fddfb[_0x3ba424(0x243)][_0x3ba424(0x1fe)]+_0x3ba424(0x1af)+_0x2fddfb[_0x3ba424(0x243)][_0x3ba424(0x207)]+',\x20images\x20'+_0x2fddfb[_0x3ba424(0x243)]['images']+_0x3ba424(0x209)+_0x2fddfb['drawings']['shapes']+')'),_0xaded20[_0x3ba424(0x1c3)]('\x0a');}function _0x4c96(_0x1b68da,_0x65b3b8){_0x1b68da=_0x1b68da-0x154;const _0x3549e2=_0x3549();let _0x4c96d1=_0x3549e2[_0x1b68da];return _0x4c96d1;}function j(_0x3fd004){const _0x1a4209=_0x4c96;let _0x4abfe9=_0x3fd004[_0x1a4209(0x1bd)](0x0,g)[_0x1a4209(0x1da)](_0x1c4fac=>{const _0x33e9e2=_0x1a4209;let _0x46a933=_0x1c4fac[_0x33e9e2(0x1bd)](0x0,_),_0x5f1ed7=_0x1c4fac[_0x33e9e2(0x1f3)]-_0x46a933[_0x33e9e2(0x1f3)];return''+_0x46a933[_0x33e9e2(0x1da)](_0x2861e4=>JSON[_0x33e9e2(0x1a5)](_0x2861e4))[_0x33e9e2(0x1c3)]('\x09')+(_0x5f1ed7>0x0?_0x33e9e2(0x1fb)+_0x5f1ed7+_0x33e9e2(0x1ad):'');}),_0xe6163e=_0x3fd004[_0x1a4209(0x1f3)]-_0x4abfe9[_0x1a4209(0x1f3)];return _0xe6163e>0x0&&_0x4abfe9[_0x1a4209(0x186)]('…\x20'+_0xe6163e+_0x1a4209(0x174)),_0x4abfe9[_0x1a4209(0x1c3)]('\x0a');}function M(_0x30cd14,_0x5c1049){const _0x58554f=_0x4c96;let _0x15229e=_0x30cd14[_0x58554f(0x175)]?.[_0x58554f(0x175)][_0x58554f(0x18c)](/\s+/g,'\x20')[_0x58554f(0x242)]();return[''+_0x5c1049+_0x30cd14[_0x58554f(0x244)]+'\x20'+_0x30cd14['id']+(_0x30cd14[_0x58554f(0x1b7)]===''?'':'\x20'+_0x30cd14[_0x58554f(0x1b7)])+(_0x15229e===void 0x0||_0x15229e===''?'':_0x58554f(0x1d9)+_0x15229e),...(_0x30cd14[_0x58554f(0x154)]??[])[_0x58554f(0x1da)](_0x599eae=>M(_0x599eae,_0x5c1049+'\x20\x20'))]['join']('\x0a');}function N(_0x481768){const _0x4f385e=_0x4c96;if(_0x481768[_0x4f385e(0x1f3)]===0x0)return'none';let _0x19cf8d=_0x481768['slice'](0x0,v),_0x857103=_0x481768[_0x4f385e(0x1f3)]-_0x19cf8d[_0x4f385e(0x1f3)];return''+_0x19cf8d[_0x4f385e(0x1c3)](',\x20')+(_0x857103>0x0?_0x4f385e(0x1e6)+_0x857103+_0x4f385e(0x1e4):'');}var P=['workbook',_0xfcd7a9(0x1d4),_0xfcd7a9(0x224),_0xfcd7a9(0x162),_0xfcd7a9(0x1a3),'presentation','slide',_0xfcd7a9(0x157),_0xfcd7a9(0x237),_0xfcd7a9(0x168)];function F(_0x2b0e39){const _0x211309=_0xfcd7a9;return L({'acquireRuntime':async _0x2154ec=>await _0x2b0e39[_0x211309(0x167)]({'unitId':_0x2154ec}),'worktree':!0x1});}function I(_0xe51e5f){return L({'acquireRuntime':async(_0x43c7cd,_0x3ab9ad)=>{const _0x3fe590=_0x4c96;if(_0x3ab9ad[_0x3fe590(0x213)]===!0x0&&_0x3ab9ad[_0x3fe590(0x203)]!==void 0x0)throw new a(_0x3fe590(0x1bf));if(_0x3ab9ad[_0x3fe590(0x213)]!==!0x0&&_0x3ab9ad[_0x3fe590(0x203)]===void 0x0)throw new a(_0x3fe590(0x231));return await _0xe51e5f[_0x3fe590(0x167)]({'unitId':_0x43c7cd,..._0x3ab9ad[_0x3fe590(0x203)]===void 0x0?{}:{'worktreeID':_0x3ab9ad['worktree']}});},'worktree':!0x0});}function L(_0x278480){const _0x38b6f9=_0xfcd7a9;let _0x32ac47=new _0x2cf9fa(_0x38b6f9(0x233))[_0x38b6f9(0x1b5)](_0x38b6f9(0x1ca))[_0x38b6f9(0x223)](new _0x5c5a72('<target>',_0x38b6f9(0x185))[_0x38b6f9(0x1b2)](P))[_0x38b6f9(0x198)](_0x38b6f9(0x1e0),_0x38b6f9(0x22b))[_0x38b6f9(0x16b)](_0x38b6f9(0x21c),_0x38b6f9(0x1c6))[_0x38b6f9(0x172)](_0x38b6f9(0x1de),_0x38b6f9(0x20b))[_0x38b6f9(0x172)](_0x38b6f9(0x17e),_0x38b6f9(0x1c4));return _0x278480[_0x38b6f9(0x203)]&&_0x32ac47[_0x38b6f9(0x1eb)](new _0x114988(_0x38b6f9(0x197),_0x38b6f9(0x1bc))[_0x38b6f9(0x1a7)]('worktree'))['addOption'](new _0x114988('--worktree\x20<id>',_0x38b6f9(0x21b))[_0x38b6f9(0x1a7)]('trunk')),_0x32ac47[_0x38b6f9(0x212)](async(_0x441b73,_0xf54754,_0x1942c4)=>{const _0x567a61=_0x38b6f9;let _0x4535bc=_0x441b73===_0x567a61(0x224)?_0x567a61(0x1f4):_0x441b73,_0x3db8ab;try{_0x3db8ab=o(_0x4535bc,_0xf54754,_0x1942c4);}catch(_0x844b4c){throw _0x844b4c instanceof a&&_0x32ac47[_0x567a61(0x21d)](_0x844b4c['message'],{'code':_0x567a61(0x1d7),'exitCode':0x1}),_0x844b4c;}let _0x5635d8,_0x4e36d9;try{_0x5635d8=await _0x278480[_0x567a61(0x167)](_0x1942c4[_0x567a61(0x1e9)],_0x1942c4),_0x4e36d9=await _0x28e077(_0x5635d8,_0x3db8ab);}catch(_0x1e9369){throw _0x5635d8!==void 0x0&&await R(_0x5635d8),(_0x1e9369 instanceof _0x33baa1||z(_0x1e9369))&&_0x32ac47[_0x567a61(0x21d)](_0x1e9369[_0x567a61(0x16e)]+':\x20'+_0x1e9369[_0x567a61(0x200)],{'code':_0x567a61(0x1ce),'exitCode':0x1}),_0x1e9369 instanceof a&&_0x32ac47[_0x567a61(0x21d)](_0x1e9369[_0x567a61(0x200)],{'code':_0x567a61(0x1d7),'exitCode':0x1}),_0x1e9369;}await _0x5635d8['release'](),_0x32ac47['configureOutput']()[_0x567a61(0x211)]?.((_0x1942c4[_0x567a61(0x1cd)]===!0x0?JSON[_0x567a61(0x1a5)](_0x4e36d9,null,0x2):y(_0x4e36d9))+'\x0a');}),_0x32ac47;}async function R(_0x3c7c6f){const _0x97cbdc=_0xfcd7a9;await _0x3c7c6f[_0x97cbdc(0x235)]();}function z(_0x4269ac){return _0x4269ac instanceof Error&&typeof _0x4269ac['code']=='string';}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
|
|
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};
|
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.
|
|
4
|
+
"version": "1.0.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.0.
|
|
21
|
+
"@univer-cli/content-inspection": "1.0.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"commander": "^15.0.0"
|