@univer-cli/unit-layout-lint 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.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2b8321=_0xc35f;(function(_0x160c50,_0x444ec7){const _0x276d8d=_0xc35f,_0x123c5a=_0x160c50();while(!![]){try{const _0x9cb689=-parseInt(_0x276d8d(0x1d8))/0x1*(-parseInt(_0x276d8d(0x212))/0x2)+parseInt(_0x276d8d(0x241))/0x3+parseInt(_0x276d8d(0x1d0))/0x4*(-parseInt(_0x276d8d(0x1e3))/0x5)+-parseInt(_0x276d8d(0x22b))/0x6+parseInt(_0x276d8d(0x225))/0x7+parseInt(_0x276d8d(0x1a3))/0x8+-parseInt(_0x276d8d(0x1f0))/0x9;if(_0x9cb689===_0x444ec7)break;else _0x123c5a['push'](_0x123c5a['shift']());}catch(_0x46dbc2){_0x123c5a['push'](_0x123c5a['shift']());}}}(_0x2172,0x63291));import{createHash as _0x4a671c}from'node:crypto';var t=class extends Error{[_0x2b8321(0x1db)];constructor(_0xf0793d,_0x101577,_0x4bab0c){const _0x1ab87b=_0x2b8321;super(_0x101577,_0x4bab0c),this[_0x1ab87b(0x1a9)]=_0x1ab87b(0x1eb),this[_0x1ab87b(0x1db)]=_0xf0793d;}};function n(_0x42329b){return _0x42329b instanceof t;}async function r(_0x214ad8,_0x1ff34c){const _0x4b37fb=_0x2b8321;if(typeof _0x214ad8['unitData']['id']!=_0x4b37fb(0x199)||_0x214ad8[_0x4b37fb(0x18e)]['id'][_0x4b37fb(0x232)]()==='')throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x177));let _0x739521=_0x214ad8[_0x4b37fb(0x1ed)]??_0x4b37fb(0x1ec);if(_0x739521!==_0x4b37fb(0x231)&&_0x739521!=='rendered'&&_0x739521!==_0x4b37fb(0x1ec))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x191));if(_0x214ad8[_0x4b37fb(0x19d)]!==void 0x0&&(_0x739521===_0x4b37fb(0x231)||_0x214ad8['includeLabelPlan']||_0x214ad8[_0x4b37fb(0x1da)]||_0x214ad8[_0x4b37fb(0x19f)]!==void 0x0))throw new t(_0x4b37fb(0x22a),'A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request');if(_0x214ad8['includeLabelPlan']===!0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x21e));if(_0x214ad8['includePortPlan']===!0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x206));if(_0x214ad8['textPlanElementIds']!==void 0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),'Text\x20plans\x20require\x20rendered\x20Board\x20analysis');let _0x879d6c=_0x214ad8[_0x4b37fb(0x239)];if(_0x879d6c!==void 0x0&&!l(_0x879d6c))throw new t('INVALID_INPUT',_0x4b37fb(0x1de));if(_0x879d6c!==void 0x0&&_0x739521===_0x4b37fb(0x231))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x19b));let _0x2f3239=_0x214ad8[_0x4b37fb(0x18e)][_0x4b37fb(0x1ae)];if(!Array['isArray'](_0x2f3239)||_0x2f3239[_0x4b37fb(0x1b4)]===0x0||new Set(_0x2f3239)[_0x4b37fb(0x1d7)]!==_0x2f3239[_0x4b37fb(0x1b4)])throw new t('INVALID_INPUT',_0x4b37fb(0x1c5));if(_0x214ad8[_0x4b37fb(0x185)]?.[_0x4b37fb(0x1b4)]===0x0)throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x1f1));let _0x56872=[...new Set((_0x214ad8[_0x4b37fb(0x185)]??_0x2f3239)[_0x4b37fb(0x1ef)](_0x29e124=>{const _0x302830=_0x4b37fb;let _0x1c6f0d=typeof _0x29e124==_0x302830(0x1d4)?_0x29e124-0x1:_0x2f3239[_0x302830(0x1bb)](_0x29e124),_0x4af8d5=_0x2f3239[_0x1c6f0d];if(!Number[_0x302830(0x21d)](_0x1c6f0d)||_0x1c6f0d<0x0||_0x4af8d5===void 0x0||!_0x214ad8[_0x302830(0x18e)]['pages'][_0x4af8d5])throw new t(_0x302830(0x22a),_0x302830(0x1fe)+String(_0x29e124));return _0x4af8d5;}))][_0x4b37fb(0x1ef)](_0x5699fe=>({'page':_0x2f3239[_0x4b37fb(0x1bb)](_0x5699fe)+0x1,'pageId':_0x5699fe})),_0x2e2d8a=_0x214ad8['textPlanElementIds'];if(_0x2e2d8a!==void 0x0&&(!Array[_0x4b37fb(0x233)](_0x2e2d8a)||_0x2e2d8a[_0x4b37fb(0x1ca)](_0x409ff8=>typeof _0x409ff8!='string'||_0x409ff8['trim']()==='')||new Set(_0x2e2d8a)[_0x4b37fb(0x1d7)]!==_0x2e2d8a[_0x4b37fb(0x1b4)]||_0x2e2d8a['some'](_0x515203=>!_0x56872[_0x4b37fb(0x1ca)](({pageId:_0x491c30})=>_0x214ad8['unitData']['pages'][_0x491c30]?.[_0x4b37fb(0x1e0)][_0x515203]?.[_0x4b37fb(0x182)]===_0x4b37fb(0x1e9)))))throw new t('INVALID_INPUT',_0x4b37fb(0x1c7));let _0x24b588=_0x214ad8[_0x4b37fb(0x17b)];if(_0x24b588!==void 0x0&&(!Number[_0x4b37fb(0x1c8)](_0x24b588)||_0x24b588<0x1||_0x24b588>0x2||!_0x2e2d8a?.[_0x4b37fb(0x1b4)]))throw new t(_0x4b37fb(0x22a),_0x4b37fb(0x1cd));let _0x46cd5a=structuredClone({'unitType':_0x214ad8[_0x4b37fb(0x1c9)],'unitData':_0x214ad8[_0x4b37fb(0x18e)],..._0x214ad8[_0x4b37fb(0x1f8)]===void 0x0?{}:{'formulaReferenceUnits':_0x214ad8[_0x4b37fb(0x1f8)]},..._0x214ad8[_0x4b37fb(0x23d)]===void 0x0?{}:{'embeddedUnits':_0x214ad8[_0x4b37fb(0x23d)]},'pages':_0x56872[_0x4b37fb(0x1ef)](({pageId:_0x5152b9})=>_0x5152b9),'focusPadding':0x30,..._0x879d6c===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x879d6c},..._0x214ad8['layoutPlan']===void 0x0?{}:{'layoutPlan':_0x214ad8['layoutPlan']},..._0x214ad8[_0x4b37fb(0x187)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x214ad8[_0x4b37fb(0x1da)]===!0x0?{'includePortPlan':!0x0}:{},..._0x2e2d8a===void 0x0?{}:{'textPlanElementIds':_0x2e2d8a},..._0x24b588===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x24b588}}),_0x57a11b=_0x4a671c(_0x4b37fb(0x1a2))['update'](JSON[_0x4b37fb(0x1b7)](_0x46cd5a))[_0x4b37fb(0x18f)]('hex'),_0x1a2ea6=_0x739521==='both'?[_0x4b37fb(0x231),_0x4b37fb(0x245)]:[_0x739521],_0x4eca75=[],_0x1315a5=_0x56872[_0x4b37fb(0x1ef)](_0x3a789c=>({..._0x3a789c})),_0x550edc=[];for(let _0x2d3883 of _0x1a2ea6){_0x214ad8['signal']?.[_0x4b37fb(0x1f2)]();let _0x5d7f23=_0x2d3883==='model'?_0x1ff34c['modelRuntime']?.[_0x4b37fb(0x1c2)][_0x4b37fb(0x201)](_0x1ff34c['modelRuntime']):_0x1ff34c[_0x4b37fb(0x1b2)]!==void 0x0&&_0x4b37fb(0x1b1)in _0x1ff34c['runtime']?_0x1ff34c[_0x4b37fb(0x1b2)][_0x4b37fb(0x1b1)][_0x4b37fb(0x201)](_0x1ff34c[_0x4b37fb(0x1b2)]):void 0x0;if(_0x5d7f23===void 0x0){for(let {pageId:_0x15fcce}of _0x56872)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x15fcce,'source':_0x2d3883,'reason':_0x4b37fb(0x250)});continue;}let _0x4879cc=structuredClone(_0x46cd5a);_0x2d3883==='model'&&(delete _0x4879cc[_0x4b37fb(0x1da)],delete _0x4879cc[_0x4b37fb(0x19d)],delete _0x4879cc[_0x4b37fb(0x239)],delete _0x4879cc['textPlanElementIds'],delete _0x4879cc[_0x4b37fb(0x17b)]);let _0x41e67d=await _0x5d7f23({..._0x4879cc,..._0x214ad8['signal']===void 0x0?{}:{'signal':_0x214ad8[_0x4b37fb(0x216)]}});_0x214ad8['signal']?.[_0x4b37fb(0x1f2)](),i(_0x41e67d,_0x56872[_0x4b37fb(0x1ef)](({pageId:_0x5c5f65})=>_0x5c5f65),_0x2d3883);for(let _0x289e0a of _0x1315a5){let _0x2d6da2=_0x41e67d['pages'][_0x4b37fb(0x222)](({pageId:_0x503717})=>_0x503717===_0x289e0a['pageId']),_0x50a2a3=_0x2d6da2?.[_0x4b37fb(0x224)];if(_0x50a2a3===void 0x0){_0x4eca75['push']({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x190)});continue;}if(_0x289e0a[_0x2d3883]=_0x50a2a3,_0x2d3883===_0x4b37fb(0x245)&&_0x879d6c!==void 0x0&&!d(_0x50a2a3,_0x879d6c,_0x46cd5a[_0x4b37fb(0x18e)]['pages'][_0x289e0a[_0x4b37fb(0x1ac)]]['elements'])&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x20e)}),_0x2d3883===_0x4b37fb(0x245)&&_0x46cd5a[_0x4b37fb(0x19d)]!==void 0x0){let _0x49a3c=_0x2d6da2?.[_0x4b37fb(0x24b)];if(_0x49a3c===void 0x0)_0x4eca75['push']({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x1f7)});else{if(!a(_0x49a3c)||_0x49a3c[_0x4b37fb(0x20b)]!==_0x214ad8[_0x4b37fb(0x18e)]['id']||_0x49a3c[_0x4b37fb(0x1ac)]!==_0x289e0a[_0x4b37fb(0x1ac)]||_0x49a3c[_0x4b37fb(0x223)]!==_0x4b37fb(0x1e5)&&_0x49a3c[_0x4b37fb(0x223)]!==_0x4b37fb(0x215)||!Array[_0x4b37fb(0x233)](_0x49a3c[_0x4b37fb(0x1d5)])||!Array[_0x4b37fb(0x233)](_0x49a3c['patches'])||!Array[_0x4b37fb(0x233)](_0x49a3c['diagnostics']))throw new t('INVALID_RENDER_RESULT',_0x4b37fb(0x1fa));_0x289e0a['plan']=_0x49a3c,_0x49a3c[_0x4b37fb(0x223)]==='incomplete'&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x1fc)});}}if(_0x2d3883===_0x4b37fb(0x245)&&_0x214ad8[_0x4b37fb(0x187)]===!0x0){if(_0x2d6da2?.[_0x4b37fb(0x1bd)]===void 0x0)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':'label-plan-unavailable'});else{if(_0x2d6da2[_0x4b37fb(0x1bd)]['unitId']!==_0x214ad8[_0x4b37fb(0x18e)]['id']||_0x2d6da2[_0x4b37fb(0x1bd)][_0x4b37fb(0x1ac)]!==_0x289e0a[_0x4b37fb(0x1ac)])throw new t(_0x4b37fb(0x208),_0x4b37fb(0x1c1));_0x289e0a[_0x4b37fb(0x1bd)]=_0x2d6da2[_0x4b37fb(0x1bd)];}}if(_0x2d3883===_0x4b37fb(0x245)&&_0x214ad8[_0x4b37fb(0x1da)]===!0x0){if(_0x2d6da2?.[_0x4b37fb(0x209)]===void 0x0)_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':'port-plan-unavailable'});else{if(_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x20b)]!==_0x214ad8['unitData']['id']||_0x2d6da2['portPlan'][_0x4b37fb(0x1ac)]!==_0x289e0a['pageId']||_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x223)]!==_0x4b37fb(0x1e5)&&_0x2d6da2[_0x4b37fb(0x209)][_0x4b37fb(0x223)]!=='incomplete')throw new t(_0x4b37fb(0x208),_0x4b37fb(0x230));_0x289e0a[_0x4b37fb(0x209)]=_0x2d6da2[_0x4b37fb(0x209)],_0x2d6da2[_0x4b37fb(0x209)]['status']===_0x4b37fb(0x215)&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x18a)});}}_0x2d3883===_0x4b37fb(0x245)&&_0x46cd5a[_0x4b37fb(0x19f)]!==void 0x0&&(_0x2d6da2?.[_0x4b37fb(0x1fb)]===void 0x0?_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a[_0x4b37fb(0x1ac)],'source':_0x2d3883,'reason':_0x4b37fb(0x200)}):(f(_0x2d6da2['textPlan'],_0x214ad8[_0x4b37fb(0x18e)]['id'],_0x289e0a[_0x4b37fb(0x1ac)],_0x46cd5a['textPlanElementIds'],_0x46cd5a[_0x4b37fb(0x18e)][_0x4b37fb(0x185)][_0x289e0a[_0x4b37fb(0x1ac)]][_0x4b37fb(0x1e0)],_0x46cd5a[_0x4b37fb(0x17b)]),_0x289e0a[_0x4b37fb(0x1fb)]=_0x2d6da2[_0x4b37fb(0x1fb)],_0x2d6da2[_0x4b37fb(0x1fb)][_0x4b37fb(0x223)]===_0x4b37fb(0x215)&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'reason':_0x4b37fb(0x1f6)})));for(let _0x2366c7 of _0x50a2a3[_0x4b37fb(0x243)])_0x550edc[_0x4b37fb(0x1e8)]({..._0x2366c7,'page':_0x289e0a[_0x4b37fb(0x220)],'pageId':_0x289e0a['pageId'],'source':_0x2d3883,'fingerprint':_0x2d3883+':'+_0x289e0a[_0x4b37fb(0x1ac)]+':'+_0x2366c7[_0x4b37fb(0x251)]+':'+_0x2366c7['id']});}}for(let _0x5b1759 of _0x1315a5){let _0x5ca324=_0x739521===_0x4b37fb(0x231)?_0x4b37fb(0x231):_0x4b37fb(0x245),_0x25b461=_0x5b1759[_0x5ca324];(_0x25b461?.[_0x4b37fb(0x202)][_0x4b37fb(0x18c)]||_0x25b461?.[_0x4b37fb(0x17f)][_0x4b37fb(0x1ca)](_0x1fb215=>!_0x1fb215[_0x4b37fb(0x178)]))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759[_0x4b37fb(0x1ac)],'source':_0x5ca324,'reason':_0x4b37fb(0x246)}),(_0x25b461?.[_0x4b37fb(0x243)][_0x4b37fb(0x1ca)](_0x4eead2=>_0x4eead2[_0x4b37fb(0x251)]===_0x4b37fb(0x247))||Object[_0x4b37fb(0x1d9)](_0x25b461?.[_0x4b37fb(0x23c)]??{})['some'](_0x20b817=>Object['values'](_0x20b817)[_0x4b37fb(0x1ca)](_0x2ed0d0=>_0x2ed0d0[_0x4b37fb(0x223)]===_0x4b37fb(0x17e))))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759[_0x4b37fb(0x1ac)],'source':_0x5ca324,'reason':'unresolved-label'}),_0x25b461?.[_0x4b37fb(0x243)][_0x4b37fb(0x1ca)](_0x95611d=>_0x95611d[_0x4b37fb(0x251)]===_0x4b37fb(0x19e))&&_0x4eca75[_0x4b37fb(0x1e8)]({'pageId':_0x5b1759['pageId'],'source':_0x5ca324,'reason':'unresolved-element-text'});}return{'kind':_0x4b37fb(0x210),'unitId':_0x214ad8[_0x4b37fb(0x18e)]['id'],'unitType':_0x4b37fb(0x21b),'mode':_0x739521,'snapshotHash':_0x57a11b,'status':_0x4eca75['length']>0x0?_0x4b37fb(0x215):_0x550edc[_0x4b37fb(0x1b4)]>0x0?'findings':_0x4b37fb(0x1ad),'coverage':{'pages':_0x56872,'sources':_0x1a2ea6,'complete':_0x4eca75['length']===0x0,'incomplete':_0x4eca75,'limitations':_0x739521===_0x4b37fb(0x231)?['Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.']:_0x879d6c===void 0x0?[]:[_0x4b37fb(0x249)]},'analyses':_0x1315a5,'findings':_0x550edc};}function i(_0x558821,_0x439b22,_0x45db5f){const _0x307fc3=_0x2b8321;let _0x5edb85=new Set();for(let _0x862930 of _0x558821[_0x307fc3(0x185)]){if(!_0x439b22['includes'](_0x862930[_0x307fc3(0x1ac)])||_0x5edb85[_0x307fc3(0x203)](_0x862930[_0x307fc3(0x1ac)])||_0x862930[_0x307fc3(0x224)][_0x307fc3(0x1be)]!==_0x45db5f)throw new t(_0x307fc3(0x208),'Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source');_0x5edb85[_0x307fc3(0x17a)](_0x862930[_0x307fc3(0x1ac)]);let {errorCount:_0x3b944d,warningCount:_0x2065d8,unresolvedConnectorCount:_0x84871d}=_0x862930[_0x307fc3(0x224)][_0x307fc3(0x202)];if([_0x3b944d,_0x2065d8,_0x84871d][_0x307fc3(0x1ca)](_0x29bf54=>!Number[_0x307fc3(0x205)](_0x29bf54)||_0x29bf54<0x0))throw new t(_0x307fc3(0x208),_0x307fc3(0x1bf));if(_0x3b944d!==_0x862930[_0x307fc3(0x224)][_0x307fc3(0x243)][_0x307fc3(0x20c)](({severity:_0x28dc48})=>_0x28dc48==='error')['length']||_0x2065d8!==_0x862930['analysis'][_0x307fc3(0x243)][_0x307fc3(0x20c)](({severity:_0x17f9ed})=>_0x17f9ed===_0x307fc3(0x217))[_0x307fc3(0x1b4)])throw new t(_0x307fc3(0x208),'Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary');if(_0x862930[_0x307fc3(0x224)][_0x307fc3(0x23c)]!==void 0x0&&!s(_0x862930['analysis'][_0x307fc3(0x23c)]))throw new t(_0x307fc3(0x208),_0x307fc3(0x1b3));if(_0x862930[_0x307fc3(0x224)]['labelDistanceInspection']!==void 0x0&&(!a(_0x862930[_0x307fc3(0x224)][_0x307fc3(0x21f)])||!l(_0x862930['analysis'][_0x307fc3(0x21f)][_0x307fc3(0x239)])||_0x862930[_0x307fc3(0x224)][_0x307fc3(0x21f)][_0x307fc3(0x207)]!=='rendered-stroke-polyline-v1'))throw new t(_0x307fc3(0x208),_0x307fc3(0x1a0));for(let _0x218395 of _0x862930[_0x307fc3(0x224)][_0x307fc3(0x243)]){if(_0x218395[_0x307fc3(0x1a8)]!==void 0x0&&(!a(_0x218395['labelDistance'])||!l(_0x218395[_0x307fc3(0x1a8)][_0x307fc3(0x235)])||!l(_0x218395['labelDistance'][_0x307fc3(0x1d1)])))throw new t(_0x307fc3(0x208),_0x307fc3(0x22e));if(_0x218395[_0x307fc3(0x1d3)]!==void 0x0){let _0x378780=_0x218395[_0x307fc3(0x1d3)];if(!_0x378780||![_0x378780[_0x307fc3(0x196)],_0x378780['endRow'],_0x378780[_0x307fc3(0x1b8)],_0x378780['endColumn']][_0x307fc3(0x1df)](_0x23d43c=>Number[_0x307fc3(0x21d)](_0x23d43c)&&_0x23d43c>=0x0)||_0x378780[_0x307fc3(0x196)]>_0x378780['endRow']||_0x378780[_0x307fc3(0x1b8)]>_0x378780[_0x307fc3(0x1b0)])throw new t(_0x307fc3(0x208),_0x307fc3(0x197));}if(_0x218395[_0x307fc3(0x1d2)]!==void 0x0&&(!c(_0x218395[_0x307fc3(0x1d2)]?.['availableSize'],!0x1)||!c(_0x218395['textLayout']?.['contentSize'],!0x0)))throw new t(_0x307fc3(0x208),'Board\x20capture\x20contains\x20invalid\x20text\x20measurements');}}}function a(_0x4335b2){const _0x2ee8da=_0x2b8321;if(!_0x4335b2||typeof _0x4335b2!=_0x2ee8da(0x1b5)||Array['isArray'](_0x4335b2))return!0x1;let _0x17b16f=Object[_0x2ee8da(0x22c)](_0x4335b2);return _0x17b16f===Object['prototype']||_0x17b16f===null;}function o(_0x36e04a){const _0x35db48=_0x2b8321;return a(_0x36e04a)&&c(_0x36e04a,!0x0)&&[_0x36e04a['left'],_0x36e04a[_0x35db48(0x1cb)]][_0x35db48(0x1df)](_0x15ad02=>typeof _0x15ad02==_0x35db48(0x1d4)&&Number['isFinite'](_0x15ad02));}function s(_0x3466c9){const _0xc1941d=_0x2b8321;if(!a(_0x3466c9))return!0x1;for(let [_0x178b78,_0x4175cb]of Object[_0xc1941d(0x1e7)](_0x3466c9)){if(_0x178b78[_0xc1941d(0x232)]()===''||!a(_0x4175cb))return!0x1;for(let [_0x7f0e15,_0xe40acc]of Object[_0xc1941d(0x1e7)](_0x4175cb)){if(_0x7f0e15[_0xc1941d(0x232)]()===''||!a(_0xe40acc))return!0x1;if(_0xe40acc[_0xc1941d(0x223)]==='unresolved'){if(Reflect[_0xc1941d(0x21a)](_0xe40acc)[_0xc1941d(0x1b4)]!==0x1||!Object[_0xc1941d(0x1f9)][_0xc1941d(0x20f)][_0xc1941d(0x1fd)](_0xe40acc,_0xc1941d(0x223)))return!0x1;continue;}if(_0xe40acc['status']!==_0xc1941d(0x1e5)||_0xe40acc[_0xc1941d(0x218)]!==void 0x0&&!u(_0xe40acc['automaticLabelDistance'])||!o(_0xe40acc[_0xc1941d(0x252)])||!o(_0xe40acc[_0xc1941d(0x244)])||typeof _0xe40acc[_0xc1941d(0x1ea)]!=_0xc1941d(0x1d4)||!Number[_0xc1941d(0x1c8)](_0xe40acc[_0xc1941d(0x1ea)])||!a(_0xe40acc[_0xc1941d(0x19c)])||!c(_0xe40acc[_0xc1941d(0x19c)],!0x0)||!a(_0xe40acc[_0xc1941d(0x1a1)])||!c(_0xe40acc[_0xc1941d(0x1a1)],!0x0)||![_0xe40acc[_0xc1941d(0x19a)],_0xe40acc[_0xc1941d(0x1f3)],_0xe40acc[_0xc1941d(0x1c0)]][_0xc1941d(0x1df)](_0x4e7220=>typeof _0x4e7220=='boolean'))return!0x1;}}return!0x0;}function c(_0x92ec8c,_0x26b4b5){const _0x13bbf2=_0x2b8321;if(!_0x92ec8c||typeof _0x92ec8c!=_0x13bbf2(0x1b5))return!0x1;let _0xb6d8bf=_0x92ec8c;return[_0xb6d8bf['width'],_0xb6d8bf[_0x13bbf2(0x221)]][_0x13bbf2(0x1df)](_0x546817=>typeof _0x546817==_0x13bbf2(0x1d4)&&Number[_0x13bbf2(0x1c8)](_0x546817)&&(_0x26b4b5?_0x546817>=0x0:_0x546817>0x0));}function l(_0x5e4c81){const _0x24cbf2=_0x2b8321;return typeof _0x5e4c81=='number'&&Number[_0x24cbf2(0x1c8)](_0x5e4c81)&&_0x5e4c81>=0x0;}function u(_0x1f20b5){const _0x2f7fee=_0x2b8321;return a(_0x1f20b5)?_0x1f20b5['status']===_0x2f7fee(0x1e5)?l(_0x1f20b5[_0x2f7fee(0x254)]):_0x1f20b5[_0x2f7fee(0x223)]==='excluded'?typeof _0x1f20b5[_0x2f7fee(0x1cf)]==_0x2f7fee(0x199)&&[_0x2f7fee(0x19a),_0x2f7fee(0x24a),_0x2f7fee(0x1c6)]['includes'](_0x1f20b5[_0x2f7fee(0x1cf)]):_0x1f20b5[_0x2f7fee(0x223)]==='unresolved'&&Reflect[_0x2f7fee(0x21a)](_0x1f20b5)[_0x2f7fee(0x1b4)]===0x1:!0x1;}function d(_0x1f91d8,_0x3545d5,_0x5dde7a){const _0x3cadf6=_0x2b8321;let _0x52173c=_0x1f91d8[_0x3cadf6(0x21f)];if(_0x52173c===void 0x0)return!0x1;if(_0x52173c[_0x3cadf6(0x239)]!==_0x3545d5)throw new t(_0x3cadf6(0x208),_0x3cadf6(0x1dd));let _0x36a172=_0x1f91d8[_0x3cadf6(0x23c)];if(_0x36a172===void 0x0)return!0x1;let _0x144f40=!0x0;for(let _0x2708f0 of _0x1f91d8[_0x3cadf6(0x17f)]){let _0x2f75a7=_0x5dde7a[_0x2708f0[_0x3cadf6(0x1ba)]];if(!(!_0x2f75a7||!('connectorData'in _0x2f75a7))){for(let _0x476feb of _0x2f75a7[_0x3cadf6(0x1cc)]['labels']??[])Object[_0x3cadf6(0x227)](_0x36a172[_0x2708f0[_0x3cadf6(0x1ba)]]??{},_0x476feb['id'])||(_0x144f40=!0x1);}}for(let [_0x2ea052,_0x4fe7d5]of Object[_0x3cadf6(0x1e7)](_0x36a172))for(let [_0x39eaee,_0x2e1db4]of Object[_0x3cadf6(0x1e7)](_0x4fe7d5)){if(_0x2e1db4[_0x3cadf6(0x223)]===_0x3cadf6(0x17e)||_0x2e1db4[_0x3cadf6(0x218)]===void 0x0){_0x144f40=!0x1;continue;}let _0x1883ab=_0x2e1db4[_0x3cadf6(0x218)];if(_0x1883ab[_0x3cadf6(0x223)]==='unresolved'&&(_0x144f40=!0x1),_0x1883ab['status']===_0x3cadf6(0x204)&&_0x1883ab[_0x3cadf6(0x1cf)]===_0x3cadf6(0x19a)!==_0x2e1db4['empty']||_0x1883ab[_0x3cadf6(0x223)]==='ready'&&_0x2e1db4[_0x3cadf6(0x19a)])throw new t(_0x3cadf6(0x208),_0x3cadf6(0x1af));if(_0x1883ab['status']===_0x3cadf6(0x1e5)&&_0x1883ab['distance']>_0x3545d5+0.001&&!_0x1f91d8[_0x3cadf6(0x243)][_0x3cadf6(0x1ca)](_0x5b15fa=>_0x5b15fa[_0x3cadf6(0x251)]===_0x3cadf6(0x17c)&&_0x5b15fa[_0x3cadf6(0x1b6)][_0x3cadf6(0x184)](_0x2ea052)&&_0x5b15fa[_0x3cadf6(0x211)]?.[_0x3cadf6(0x184)](_0x39eaee)))throw new t('INVALID_RENDER_RESULT','Missing\x20native\x20label-distance\x20finding');}for(let _0x250c32 of _0x1f91d8[_0x3cadf6(0x243)]){if(_0x250c32['rule']!==_0x3cadf6(0x17c)&&_0x250c32['rule']!==_0x3cadf6(0x189))continue;let _0x1ffabf=_0x250c32[_0x3cadf6(0x1b6)][0x0],_0x4bd863=_0x250c32[_0x3cadf6(0x211)]?.[0x0],_0xdbd6bc=_0x1ffabf&&_0x4bd863?_0x36a172[_0x1ffabf]?.[_0x4bd863]:void 0x0,_0x2ccb5d=_0xdbd6bc?.[_0x3cadf6(0x223)]==='ready'?_0xdbd6bc[_0x3cadf6(0x218)]:void 0x0,_0x4be535=_0x250c32[_0x3cadf6(0x251)]===_0x3cadf6(0x17c)?_0x2ccb5d?.['status']===_0x3cadf6(0x1e5)&&_0x2ccb5d[_0x3cadf6(0x254)]>_0x3545d5+0.001&&_0x250c32[_0x3cadf6(0x23e)]==='error'&&_0x250c32['labelDistance']?.[_0x3cadf6(0x235)]===_0x2ccb5d[_0x3cadf6(0x254)]&&_0x250c32[_0x3cadf6(0x1a8)]?.[_0x3cadf6(0x1d1)]===_0x3545d5:_0x2ccb5d?.[_0x3cadf6(0x223)]===_0x3cadf6(0x17e)&&_0x250c32[_0x3cadf6(0x23e)]===_0x3cadf6(0x217)&&_0x250c32[_0x3cadf6(0x1a8)]===void 0x0;if(_0x250c32[_0x3cadf6(0x1b6)][_0x3cadf6(0x1b4)]!==0x1||_0x250c32[_0x3cadf6(0x211)]?.[_0x3cadf6(0x1b4)]!==0x1||!_0x4be535)throw new t('INVALID_RENDER_RESULT',_0x3cadf6(0x240));}return _0x144f40;}function f(_0x48a6c7,_0x25bb36,_0x972f8c,_0x29a403,_0x32e268,_0x381330){const _0x5d4f7e=_0x2b8321;let _0x4e6c56=()=>{const _0x359718=_0xc35f;throw new t(_0x359718(0x208),_0x359718(0x1f5));};(!a(_0x48a6c7)||_0x48a6c7['unitId']!==_0x25bb36||_0x48a6c7[_0x5d4f7e(0x1ac)]!==_0x972f8c||_0x48a6c7[_0x5d4f7e(0x223)]!==_0x5d4f7e(0x1e5)&&_0x48a6c7[_0x5d4f7e(0x223)]!==_0x5d4f7e(0x215)||!Array[_0x5d4f7e(0x233)](_0x48a6c7[_0x5d4f7e(0x183)])||!Array[_0x5d4f7e(0x233)](_0x48a6c7['preconditions']))&&_0x4e6c56();let _0x567a01=new Set(_0x29a403),_0xea2e63=new Set();for(let _0x155bc8 of _0x48a6c7['patches']){(!a(_0x155bc8)||typeof _0x155bc8['elementId']!='string'||!_0x567a01[_0x5d4f7e(0x203)](_0x155bc8['elementId'])||_0xea2e63[_0x5d4f7e(0x203)](_0x155bc8[_0x5d4f7e(0x181)])||_0x32e268[_0x155bc8[_0x5d4f7e(0x181)]]?.['type']!==_0x5d4f7e(0x1e9)||Object[_0x5d4f7e(0x1e2)](_0x155bc8)[_0x5d4f7e(0x1ca)](_0x4dc446=>_0x4dc446!==_0x5d4f7e(0x181)&&_0x4dc446!==_0x5d4f7e(0x22f))||!a(_0x155bc8[_0x5d4f7e(0x22f)]))&&_0x4e6c56();let _0x8ef450=_0x155bc8[_0x5d4f7e(0x22f)],_0x24c401=_0x32e268[_0x155bc8[_0x5d4f7e(0x181)]][_0x5d4f7e(0x22f)];(Object['keys'](_0x8ef450)['some'](_0x322468=>_0x322468!=='width'&&_0x322468!==_0x5d4f7e(0x221))||typeof _0x8ef450[_0x5d4f7e(0x214)]!=_0x5d4f7e(0x1d4)||!Number[_0x5d4f7e(0x1c8)](_0x8ef450[_0x5d4f7e(0x214)])||_0x8ef450[_0x5d4f7e(0x214)]<=0x0||_0x8ef450['width']<(_0x24c401[_0x5d4f7e(0x214)]??0x0)||_0x381330!==void 0x0&&_0x8ef450['width']>(_0x24c401[_0x5d4f7e(0x214)]??0x0)*_0x381330||typeof _0x8ef450[_0x5d4f7e(0x221)]!=_0x5d4f7e(0x1d4)||!Number['isFinite'](_0x8ef450['height'])||_0x8ef450[_0x5d4f7e(0x221)]<=0x0||_0x8ef450[_0x5d4f7e(0x221)]<(_0x24c401[_0x5d4f7e(0x221)]??0x0))&&_0x4e6c56(),_0xea2e63[_0x5d4f7e(0x17a)](_0x155bc8['elementId']);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set([_0x2b8321(0x252),_0x2b8321(0x226)]),y=[_0x2b8321(0x1dc),_0x2b8321(0x24e),_0x2b8321(0x1e6)];function _0x2172(){const _0xeff354=['textPlanElementIds','Invalid\x20label-distance\x20receipt','requiredSize','sha256','3258520TxzlIN','\x20by\x20','slice','round','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','labelDistance','name','text','box','pageId','clean','pageOrder','Contradictory\x20empty-label\x20distance','endColumn','captureBoardLayout','runtime','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements','length','object','connectorIds','stringify','startColumn','right\x20','connectorId','indexOf','zIndex','labelPlan','source','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','endpointConstrained','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page','captureBoardModelLayout','Render\x20result\x20contains\x20unrequested\x20Slide\x20pages','\x20=\x20','Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs','endpoint-role','textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','isFinite','unitType','some','top','connectorData','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202','pageWidth','reason','216wTBuVD','maximum','textLayout','tableRange','number','preconditions','top\x20','size','220526wxqDvm','values','includePortPlan','code','text-off-page','Label-distance\x20threshold\x20was\x20not\x20echoed','maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number','every','elements','\x20overlaps\x20\x22','keys','37150JLkZSF','layout:','ready','text-overlaps-text','entries','push','shape','angleRadians','UnitLayoutLintError','both','mode','pageHeight','map','10000998AwbIwi','pages\x20must\x20not\x20be\x20empty','throwIfAborted','overflow','ink','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection','text-plan-incomplete','layout-plan-unavailable','formulaReferenceUnits','prototype','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload','textPlan','layout-plan-incomplete','call','Board\x20page\x20selector\x20is\x20invalid:\x20','element','text-plan-unavailable','bind','summary','has','excluded','isSafeInteger','Port\x20plans\x20require\x20rendered\x20Board\x20analysis','metric','INVALID_RENDER_RESULT','portPlan','fill','unitId','filter','area','automatic-label-distance-unavailable','hasOwnProperty','unit-layout-lint','labelIds','4cEWxnC','captureSlideLayout','width','incomplete','signal','warning','automaticLabelDistance','slideOrder','ownKeys','board','fingerprint','isInteger','Label\x20plans\x20require\x20rendered\x20Board\x20analysis','labelDistanceInspection','page','height','find','status','analysis','4813991MfxiJA','roundRect','hasOwn','Slide\x20page\x20selector\x20is\x20invalid:\x20','startsWith','INVALID_INPUT','1803234YzQLIH','getPrototypeOf','text\x20\x22','Invalid\x20label-distance\x20evidence','transform','Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status','model','trim','isArray','right','measured',');\x20ink\x20','slide','shapeType','maximumAutomaticLabelDistance','\x20\x20opacity\x20','max','connectorLabelLayouts','embeddedUnits','severity','get','Contradictory\x20native\x20label-distance\x20finding','2049186uBTnET','opacity','issues','bounds','rendered','unresolved-route','connector-label-layout-unresolved','bottom','Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.','authored-placement','plan','Slide\x20layout\x20runtime\x20is\x20required','elementType','text-escapes-container','localeCompare','runtime-unavailable','rule','rect',',\x20page\x20','distance','Board\x20unitData.id\x20is\x20required','resolved','\x22\x20runs\x20off\x20the\x20page\x20(','add','textPlanMaximumWidthGrowth','connector-label-distance-exceeded','content','unresolved','routes','left','elementId','type','patches','includes','pages','none','includeLabelPlan','findIndex','connector-label-distance-unresolved','port-plan-incomplete','left\x20','unresolvedConnectorCount','replace','unitData','digest','analysis-missing','Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both','min','%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20','Slide\x20unitData.id\x20is\x20required','color','startRow','Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range','sort','string','empty','Label\x20distance\x20requires\x20rendered\x20Board\x20analysis','outerSize','layoutPlan','element-text-layout-unresolved'];_0x2172=function(){return _0xeff354;};return _0x2172();}function b(_0x21ddbb){return{async 'lint'(_0x4d5432){const _0x2692a7=_0xc35f;if(_0x4d5432[_0x2692a7(0x1c9)]===_0x2692a7(0x21b))return await r(_0x4d5432,_0x21ddbb);if(_0x4d5432[_0x2692a7(0x1c9)]!==_0x2692a7(0x237))throw new t(_0x2692a7(0x22a),_0x2692a7(0x1a7));if(_0x2692a7(0x239)in _0x4d5432&&_0x4d5432[_0x2692a7(0x239)]!==void 0x0)throw new t('INVALID_INPUT','Label\x20distance\x20is\x20only\x20supported\x20for\x20Board');let _0x4d0ed9=z(_0x4d5432[_0x2692a7(0x18e)]['id']),_0x1095ec=x(_0x4d5432[_0x2692a7(0x18e)][_0x2692a7(0x219)]??[],_0x4d5432[_0x2692a7(0x185)]);if(_0x21ddbb[_0x2692a7(0x1b2)]===void 0x0||!(_0x2692a7(0x213)in _0x21ddbb['runtime']))throw new t('INVALID_INPUT',_0x2692a7(0x24c));let _0x41f865=await _0x21ddbb[_0x2692a7(0x1b2)][_0x2692a7(0x213)]({'unitType':_0x2692a7(0x237),'unitData':_0x4d5432['unitData'],..._0x4d5432[_0x2692a7(0x1f8)]===void 0x0?{}:{'formulaReferenceUnits':_0x4d5432[_0x2692a7(0x1f8)]},'pages':_0x1095ec['map'](({page:_0x42152d})=>_0x42152d),..._0x4d5432[_0x2692a7(0x216)]===void 0x0?{}:{'signal':_0x4d5432[_0x2692a7(0x216)]}});return S(_0x41f865,_0x1095ec),{'kind':_0x2692a7(0x210),'unitId':_0x4d0ed9,'unitType':_0x2692a7(0x237),'coverage':{'pages':_0x1095ec,'rules':y},'findings':C(_0x41f865)};}};}function x(_0x3d6a25,_0xd26d90){const _0x470db7=_0x2b8321;if(_0x3d6a25[_0x470db7(0x1b4)]===0x0)throw new t(_0x470db7(0x22a),'Slide\x20has\x20no\x20pages\x20to\x20lint');if(_0xd26d90!==void 0x0&&_0xd26d90[_0x470db7(0x1b4)]===0x0)throw new t('INVALID_INPUT',_0x470db7(0x1f1));let _0x181fb9=_0xd26d90??_0x3d6a25[_0x470db7(0x1ef)]((_0x4e2b2f,_0x3168a6)=>_0x3168a6+0x1),_0x786110=new Set(),_0x5466b6=[];for(let _0x15647a of _0x181fb9){let _0x228483=typeof _0x15647a==_0x470db7(0x1d4)?_0x15647a:_0x3d6a25[_0x470db7(0x188)](_0xeee160=>_0xeee160===_0x15647a)+0x1;if(!Number[_0x470db7(0x21d)](_0x228483)||_0x228483<0x1||_0x228483>_0x3d6a25[_0x470db7(0x1b4)])throw new t(_0x470db7(0x22a),_0x470db7(0x228)+String(_0x15647a));let _0x29dd48=_0x3d6a25[_0x228483-0x1];_0x786110[_0x470db7(0x203)](_0x29dd48)||(_0x786110[_0x470db7(0x17a)](_0x29dd48),_0x5466b6[_0x470db7(0x1e8)]({'page':_0x228483,'pageId':_0x29dd48}));}return _0x5466b6;}function S(_0x2d278c,_0x3f1ba0){const _0x1b80e0=_0x2b8321;let _0x2c6656=new Map();for(let _0x20ca11 of _0x2d278c[_0x1b80e0(0x185)]){let _0x1f11b4=_0x2c6656[_0x1b80e0(0x23f)](_0x20ca11[_0x1b80e0(0x1ac)])??[];_0x1f11b4[_0x1b80e0(0x1e8)](_0x20ca11),_0x2c6656['set'](_0x20ca11[_0x1b80e0(0x1ac)],_0x1f11b4);}for(let _0x3c0b39 of _0x3f1ba0){let _0x23f878=_0x2c6656[_0x1b80e0(0x23f)](_0x3c0b39['pageId'])??[];if(_0x23f878[_0x1b80e0(0x1b4)]!==0x1||_0x23f878[0x0]?.['page']!==_0x3c0b39[_0x1b80e0(0x220)])throw new t(_0x1b80e0(0x208),'Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20'+_0x3c0b39[_0x1b80e0(0x1ac)]);let _0x382040=_0x23f878[0x0]['elements']['map'](({elementId:_0x2aead6})=>_0x2aead6);if(new Set(_0x382040)[_0x1b80e0(0x1d7)]!==_0x382040[_0x1b80e0(0x1b4)])throw new t('INVALID_RENDER_RESULT','Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20'+_0x3c0b39['pageId']);}if(_0x2d278c[_0x1b80e0(0x185)][_0x1b80e0(0x1b4)]!==_0x3f1ba0[_0x1b80e0(0x1b4)])throw new t(_0x1b80e0(0x208),_0x1b80e0(0x1c3));}function C(_0x3ac437){const _0x4d5d4a=_0x2b8321;let _0x5efdfc=[];for(let _0x4cf8b9 of _0x3ac437[_0x4d5d4a(0x185)]){let _0x59a7ac=_0x4cf8b9[_0x4d5d4a(0x1e0)][_0x4d5d4a(0x20c)](_0x36770e=>!_0x36770e['elementId'][_0x4d5d4a(0x229)](_0x4d5d4a(0x1e4))),_0x3006b8=_0x59a7ac[_0x4d5d4a(0x20c)](_0x53393d=>_0x53393d[_0x4d5d4a(0x1aa)]!==void 0x0&&_0x53393d[_0x4d5d4a(0x1aa)][_0x4d5d4a(0x17d)][_0x4d5d4a(0x232)]()!=='');for(let _0x52d55b of _0x3006b8){let _0x39d8fe=T(_0x52d55b[_0x4d5d4a(0x1aa)]['ink']),_0x1246e0={..._0x39d8fe[_0x4d5d4a(0x180)]<-0x2?{'left':O(-_0x39d8fe[_0x4d5d4a(0x180)])}:{},..._0x39d8fe[_0x4d5d4a(0x1cb)]<-0x2?{'top':O(-_0x39d8fe['top'])}:{},..._0x39d8fe[_0x4d5d4a(0x234)]>_0x4cf8b9['pageWidth']+p?{'right':O(_0x39d8fe[_0x4d5d4a(0x234)]-_0x4cf8b9['pageWidth'])}:{},..._0x39d8fe[_0x4d5d4a(0x248)]>_0x4cf8b9[_0x4d5d4a(0x1ee)]+p?{'bottom':O(_0x39d8fe['bottom']-_0x4cf8b9[_0x4d5d4a(0x1ee)])}:{}},_0x32c96f=R(_0x1246e0);if(_0x32c96f!=='-'){let _0x58471f=j(_0x52d55b),_0x51b2e6=A({'left':0x0,'top':0x0,'width':_0x4cf8b9[_0x4d5d4a(0x1ce)],'height':_0x4cf8b9[_0x4d5d4a(0x1ee)]});_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9[_0x4d5d4a(0x220)],'pageId':_0x4cf8b9[_0x4d5d4a(0x1ac)],'rule':_0x4d5d4a(0x1dc),'id':_0x52d55b[_0x4d5d4a(0x181)],'text':_0x58471f,'pageBox':_0x51b2e6,'overflow':_0x1246e0,'detail':_0x4d5d4a(0x22d)+k(_0x58471f[_0x4d5d4a(0x17d)])+_0x4d5d4a(0x179)+_0x32c96f+_0x4d5d4a(0x236)+F(_0x58471f[_0x4d5d4a(0x1f4)])+_0x4d5d4a(0x253)+F(_0x51b2e6)}));}}for(let _0x5cf749 of _0x3006b8){let _0x4506f6=L(_0x5cf749,_0x59a7ac,_0x4cf8b9);if(_0x4506f6===void 0x0)continue;let _0x589ccf=T(_0x5cf749['text'][_0x4d5d4a(0x1f4)]),_0x3c164d=T(_0x4506f6['declared']),_0x5c0893=Math[_0x4d5d4a(0x23b)](m,h*(_0x3c164d[_0x4d5d4a(0x234)]-_0x3c164d[_0x4d5d4a(0x180)])),_0x3eb3f4={..._0x3c164d[_0x4d5d4a(0x180)]-_0x589ccf[_0x4d5d4a(0x180)]>_0x5c0893?{'left':O(_0x3c164d['left']-_0x589ccf['left'])}:{},..._0x589ccf['right']-_0x3c164d[_0x4d5d4a(0x234)]>_0x5c0893?{'right':O(_0x589ccf[_0x4d5d4a(0x234)]-_0x3c164d[_0x4d5d4a(0x234)])}:{},..._0x589ccf['bottom']-_0x3c164d[_0x4d5d4a(0x248)]>_0x5c0893?{'bottom':O(_0x589ccf['bottom']-_0x3c164d[_0x4d5d4a(0x248)])}:{}},_0x278c87=R(_0x3eb3f4);if(_0x278c87!=='-'){let _0x446da7=j(_0x5cf749),_0x3c4003=N(_0x4506f6);_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9['page'],'pageId':_0x4cf8b9['pageId'],'rule':_0x4d5d4a(0x24e),'id':_0x5cf749['elementId'],'related':_0x4506f6[_0x4d5d4a(0x181)],'text':_0x446da7,'container':_0x3c4003,'overflow':_0x3eb3f4,'detail':_0x4d5d4a(0x22d)+k(_0x446da7['content'])+'\x22\x20escapes\x20'+_0x3c4003['id']+'\x20('+_0x278c87+_0x4d5d4a(0x236)+F(_0x446da7[_0x4d5d4a(0x1f4)])+',\x20'+_0x3c4003['id']+_0x4d5d4a(0x1c4)+_0x3c4003[_0x4d5d4a(0x182)]+'\x20'+P(_0x3c4003['fill'])+'\x20'+F(_0x3c4003[_0x4d5d4a(0x1ab)])}));}}for(let _0x5c31d4=0x0;_0x5c31d4<_0x3006b8[_0x4d5d4a(0x1b4)];_0x5c31d4+=0x1)for(let _0x4106cd=_0x5c31d4+0x1;_0x4106cd<_0x3006b8[_0x4d5d4a(0x1b4)];_0x4106cd+=0x1){let _0xc019f4=_0x3006b8[_0x5c31d4],_0x520fe3=_0x3006b8[_0x4106cd],_0x58880a=T(_0xc019f4[_0x4d5d4a(0x1aa)]['ink']),_0x3336af=T(_0x520fe3[_0x4d5d4a(0x1aa)][_0x4d5d4a(0x1f4)]),_0xdd8a35=E(D(_0x58880a,_0x3336af));if(_0xdd8a35<=0x1)continue;let _0x2b2194=_0xdd8a35/Math[_0x4d5d4a(0x23b)](0x1,Math[_0x4d5d4a(0x192)](E(_0x58880a),E(_0x3336af)));if(_0x2b2194<=g)continue;let _0x3d7929=j(_0xc019f4),_0x2da3e2=j(_0x520fe3);_0x5efdfc[_0x4d5d4a(0x1e8)](w({'page':_0x4cf8b9[_0x4d5d4a(0x220)],'pageId':_0x4cf8b9[_0x4d5d4a(0x1ac)],'rule':'text-overlaps-text','id':_0xc019f4[_0x4d5d4a(0x181)],'related':_0x520fe3[_0x4d5d4a(0x181)],'text':_0x3d7929,'other':_0x2da3e2,'overlapRatio':Math[_0x4d5d4a(0x1a6)](_0x2b2194*0x64)/0x64,'detail':_0x4d5d4a(0x22d)+k(_0x3d7929['content'])+'\x22'+M(_0x3d7929)+_0x4d5d4a(0x1e1)+k(_0x2da3e2[_0x4d5d4a(0x17d)])+'\x22'+M(_0x2da3e2)+_0x4d5d4a(0x1a4)+Math[_0x4d5d4a(0x1a6)](_0x2b2194*0x64)+_0x4d5d4a(0x193)+F(_0x3d7929[_0x4d5d4a(0x1f4)])+',\x20'+F(_0x2da3e2[_0x4d5d4a(0x1f4)])}));}}return _0x5efdfc[_0x4d5d4a(0x198)]((_0xda3c3b,_0x381980)=>_0xda3c3b[_0x4d5d4a(0x21c)][_0x4d5d4a(0x24f)](_0x381980[_0x4d5d4a(0x21c)]));}function w(_0x3b86c8){const _0x205599=_0x2b8321;return{..._0x3b86c8,'fingerprint':[_0x3b86c8[_0x205599(0x251)],_0x3b86c8[_0x205599(0x1ac)],_0x3b86c8['id'],_0x3b86c8['related']??'']['join'](':'),'severity':_0x205599(0x217)};}function T(_0x5a8994){const _0x50e3ab=_0x2b8321;return{'left':_0x5a8994[_0x50e3ab(0x180)],'top':_0x5a8994[_0x50e3ab(0x1cb)],'right':_0x5a8994[_0x50e3ab(0x180)]+_0x5a8994[_0x50e3ab(0x214)],'bottom':_0x5a8994[_0x50e3ab(0x1cb)]+_0x5a8994[_0x50e3ab(0x221)]};}function E(_0x3d6b4b){const _0x24062c=_0x2b8321;return Math['max'](0x0,_0x3d6b4b[_0x24062c(0x234)]-_0x3d6b4b[_0x24062c(0x180)])*Math[_0x24062c(0x23b)](0x0,_0x3d6b4b[_0x24062c(0x248)]-_0x3d6b4b[_0x24062c(0x1cb)]);}function D(_0x316f4a,_0x508f64){const _0x1f819b=_0x2b8321;return{'left':Math[_0x1f819b(0x23b)](_0x316f4a[_0x1f819b(0x180)],_0x508f64['left']),'top':Math['max'](_0x316f4a['top'],_0x508f64[_0x1f819b(0x1cb)]),'right':Math[_0x1f819b(0x192)](_0x316f4a[_0x1f819b(0x234)],_0x508f64[_0x1f819b(0x234)]),'bottom':Math[_0x1f819b(0x192)](_0x316f4a[_0x1f819b(0x248)],_0x508f64['bottom'])};}function O(_0x487604){const _0x30563d=_0x2b8321;return Math[_0x30563d(0x1a6)](_0x487604);}function k(_0x403258){const _0x37180d=_0x2b8321;let _0x440986=_0x403258[_0x37180d(0x18d)](/\s+/gu,'\x20')['trim']();return _0x440986[_0x37180d(0x1b4)]<=0x10?_0x440986:_0x440986[_0x37180d(0x1a5)](0x0,0x10)+'…';}function A(_0x506e73){const _0x163ef1=_0x2b8321;return{'left':O(_0x506e73[_0x163ef1(0x180)]),'top':O(_0x506e73['top']),'width':O(_0x506e73[_0x163ef1(0x214)]),'height':O(_0x506e73[_0x163ef1(0x221)])};}function j(_0x3df76a){const _0x2a04f1=_0x2b8321;let _0x5a9029=_0x3df76a[_0x2a04f1(0x1aa)];return{'id':_0x3df76a[_0x2a04f1(0x181)],'content':_0x5a9029[_0x2a04f1(0x17d)],'ink':A(_0x5a9029[_0x2a04f1(0x1f4)]),..._0x5a9029[_0x2a04f1(0x195)]===void 0x0?{}:{'color':_0x5a9029[_0x2a04f1(0x195)]},..._0x5a9029[_0x2a04f1(0x242)]===void 0x0?{}:{'opacity':_0x5a9029[_0x2a04f1(0x242)]}};}function M(_0x3a5246){const _0x445b3f=_0x2b8321;return _0x3a5246[_0x445b3f(0x195)]===void 0x0&&_0x3a5246[_0x445b3f(0x242)]===void 0x0?'':''+(_0x3a5246[_0x445b3f(0x195)]===void 0x0?'':'\x20\x20'+_0x3a5246[_0x445b3f(0x195)])+(_0x3a5246[_0x445b3f(0x242)]===void 0x0?'':_0x445b3f(0x23a)+_0x3a5246[_0x445b3f(0x242)]);}function N(_0x415313){const _0x4c9f85=_0x2b8321;return{'id':_0x415313['elementId'],'type':_0x415313['shapeType']===void 0x0?_0x415313[_0x4c9f85(0x24d)]:_0x415313['elementType']+':'+_0x415313[_0x4c9f85(0x238)],..._0x415313[_0x4c9f85(0x20a)]===void 0x0?{}:{'fill':_0x415313[_0x4c9f85(0x20a)]},'box':A(_0x415313['declared'])};}function P(_0x37f075){const _0x10846e=_0x2b8321;if(_0x37f075===void 0x0)return'no\x20fill';let _0x164897=_0x37f075['opacity']===void 0x0||_0x37f075[_0x10846e(0x242)]===0x1?'':'\x20@'+_0x37f075['opacity'];return((_0x37f075['type']??'?')+'\x20'+(_0x37f075[_0x10846e(0x195)]??'')+_0x164897)[_0x10846e(0x232)]();}function F(_0x33f7a7){const _0x1a1a9d=_0x2b8321;return'('+_0x33f7a7['left']+','+_0x33f7a7[_0x1a1a9d(0x1cb)]+'\x20'+_0x33f7a7[_0x1a1a9d(0x214)]+'×'+_0x33f7a7[_0x1a1a9d(0x221)]+')';}function I(_0x51be74){const _0x177daa=_0x2b8321;let _0x4f520e=_0x51be74[_0x177daa(0x20a)];return!(_0x4f520e===void 0x0||_0x4f520e[_0x177daa(0x182)]===_0x177daa(0x186)||_0x4f520e[_0x177daa(0x242)]!==void 0x0&&_0x4f520e[_0x177daa(0x242)]<_||_0x51be74[_0x177daa(0x238)]===void 0x0||!v[_0x177daa(0x203)](_0x51be74[_0x177daa(0x238)])||_0x51be74['visible']===!0x1);}function L(_0x2c45ea,_0x10468c,_0x31a3a7){const _0x18a7f4=_0x2b8321;let _0x280a34=T(_0x2c45ea[_0x18a7f4(0x1aa)][_0x18a7f4(0x1f4)]),_0x5bb9fa;for(let _0xfd3eaf of _0x10468c){if(_0xfd3eaf['zIndex']>=_0x2c45ea[_0x18a7f4(0x1bc)]||!I(_0xfd3eaf))continue;let _0x4496c9=T(_0xfd3eaf['declared']),_0x5916d8=E(_0x4496c9);if(_0x5916d8>=0.5*_0x31a3a7[_0x18a7f4(0x1ce)]*_0x31a3a7[_0x18a7f4(0x1ee)])continue;let _0x582c3f=_0x280a34[_0x18a7f4(0x1cb)]>=_0x4496c9[_0x18a7f4(0x1cb)]-p&&_0x280a34['bottom']<=_0x4496c9['bottom']+p,_0x5f1292=_0x280a34['left']>=_0x4496c9[_0x18a7f4(0x180)]-p&&_0x280a34['left']<=_0x4496c9[_0x18a7f4(0x234)]+p&&_0x280a34[_0x18a7f4(0x1cb)]>=_0x4496c9['top']-p,_0x58f939=E(D(_0x280a34,_0x4496c9))/Math[_0x18a7f4(0x23b)](E(_0x280a34),0x1);!_0x582c3f||!_0x5f1292||_0x58f939<0.35||(_0x5bb9fa===void 0x0||_0x5916d8<_0x5bb9fa[_0x18a7f4(0x20d)])&&(_0x5bb9fa={'element':_0xfd3eaf,'area':_0x5916d8});}return _0x5bb9fa?.[_0x18a7f4(0x1ff)];}function R(_0x25d0cb){const _0x35d395=_0x2b8321;let _0x3c355f=[_0x25d0cb[_0x35d395(0x180)]===void 0x0?'':_0x35d395(0x18b)+_0x25d0cb[_0x35d395(0x180)]+'px',_0x25d0cb['top']===void 0x0?'':_0x35d395(0x1d6)+_0x25d0cb[_0x35d395(0x1cb)]+'px',_0x25d0cb[_0x35d395(0x234)]===void 0x0?'':_0x35d395(0x1b9)+_0x25d0cb[_0x35d395(0x234)]+'px',_0x25d0cb[_0x35d395(0x248)]===void 0x0?'':'bottom\x20'+_0x25d0cb[_0x35d395(0x248)]+'px'][_0x35d395(0x20c)](_0x23aeb3=>_0x23aeb3!=='');return _0x3c355f['length']===0x0?'-':_0x3c355f['join'](',\x20');}function z(_0x4c8c75){const _0xc947d4=_0x2b8321;if(typeof _0x4c8c75!=_0xc947d4(0x199)||_0x4c8c75[_0xc947d4(0x232)]()==='')throw new t(_0xc947d4(0x22a),_0xc947d4(0x194));return _0x4c8c75;}function _0xc35f(_0x280c09,_0x1d48e1){_0x280c09=_0x280c09-0x177;const _0x217274=_0x2172();let _0xc35fec=_0x217274[_0x280c09];return _0xc35fec;}export{t as UnitLayoutLintError,b as createUnitLayoutLint,n as isUnitLayoutLintError};
|
|
1
|
+
const _0x1377f6=_0x6a96;(function(_0x38a8f1,_0x3844d3){const _0x2d30dd=_0x6a96,_0x982d2c=_0x38a8f1();while(!![]){try{const _0xda3d0e=-parseInt(_0x2d30dd(0x111))/0x1+parseInt(_0x2d30dd(0xb1))/0x2+-parseInt(_0x2d30dd(0xa1))/0x3+-parseInt(_0x2d30dd(0xfc))/0x4+parseInt(_0x2d30dd(0x75))/0x5+parseInt(_0x2d30dd(0x78))/0x6*(-parseInt(_0x2d30dd(0xc4))/0x7)+parseInt(_0x2d30dd(0x13b))/0x8;if(_0xda3d0e===_0x3844d3)break;else _0x982d2c['push'](_0x982d2c['shift']());}catch(_0x3e7b44){_0x982d2c['push'](_0x982d2c['shift']());}}}(_0xb18b,0xb7fe7));import{createHash as _0x1e7581}from'node:crypto';var t=class extends Error{[_0x1377f6(0x115)];constructor(_0x2e2d27,_0x2bcba6,_0x3afd73){const _0x4884c7=_0x1377f6;super(_0x2bcba6,_0x3afd73),this[_0x4884c7(0x125)]='UnitLayoutLintError',this['code']=_0x2e2d27;}};function n(_0xa41f31){return _0xa41f31 instanceof t;}async function r(_0x39c66e,_0x4e96d6){const _0x5577e4=_0x1377f6;if(typeof _0x39c66e['unitData']['id']!='string'||_0x39c66e['unitData']['id']['trim']()==='')throw new t('INVALID_INPUT',_0x5577e4(0xab));let _0x5a71d7=_0x39c66e['mode']??'both';if(_0x5a71d7!=='model'&&_0x5a71d7!==_0x5577e4(0x14a)&&_0x5a71d7!=='both')throw new t('INVALID_INPUT',_0x5577e4(0x84));if(_0x39c66e['layoutPlan']!==void 0x0&&(_0x5a71d7==='model'||_0x39c66e['includeLabelPlan']||_0x39c66e[_0x5577e4(0x8b)]||_0x39c66e[_0x5577e4(0x14d)]!==void 0x0))throw new t('INVALID_INPUT',_0x5577e4(0x124));if(_0x39c66e[_0x5577e4(0xe6)]===!0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t('INVALID_INPUT',_0x5577e4(0xd7));if(_0x39c66e[_0x5577e4(0x8b)]===!0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t('INVALID_INPUT','Port\x20plans\x20require\x20rendered\x20Board\x20analysis');if(_0x39c66e['textPlanElementIds']!==void 0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t(_0x5577e4(0x140),_0x5577e4(0x104));let _0x3d10c2=_0x39c66e[_0x5577e4(0x12e)];if(_0x3d10c2!==void 0x0&&!l(_0x3d10c2))throw new t(_0x5577e4(0x140),'maximumAutomaticLabelDistance\x20must\x20be\x20a\x20finite\x20non-negative\x20number');if(_0x3d10c2!==void 0x0&&_0x5a71d7===_0x5577e4(0x7c))throw new t(_0x5577e4(0x140),_0x5577e4(0x7b));let _0x5a2f36=_0x39c66e['unitData'][_0x5577e4(0xcc)];if(!Array[_0x5577e4(0x8e)](_0x5a2f36)||_0x5a2f36['length']===0x0||new Set(_0x5a2f36)[_0x5577e4(0x139)]!==_0x5a2f36['length'])throw new t(_0x5577e4(0x140),'Board\x20pageOrder\x20must\x20contain\x20unique\x20page\x20IDs');if(_0x39c66e[_0x5577e4(0x129)]?.['length']===0x0)throw new t(_0x5577e4(0x140),'pages\x20must\x20not\x20be\x20empty');let _0x93dbb=[...new Set((_0x39c66e[_0x5577e4(0x129)]??_0x5a2f36)[_0x5577e4(0xdb)](_0x3daf36=>{const _0x76c9c1=_0x5577e4;let _0x259db0=typeof _0x3daf36==_0x76c9c1(0xe4)?_0x3daf36-0x1:_0x5a2f36['indexOf'](_0x3daf36),_0x1b406e=_0x5a2f36[_0x259db0];if(!Number['isInteger'](_0x259db0)||_0x259db0<0x0||_0x1b406e===void 0x0||!_0x39c66e[_0x76c9c1(0x11d)]['pages'][_0x1b406e])throw new t('INVALID_INPUT','Board\x20page\x20selector\x20is\x20invalid:\x20'+String(_0x3daf36));return _0x1b406e;}))][_0x5577e4(0xdb)](_0x5433ed=>({'page':_0x5a2f36[_0x5577e4(0xac)](_0x5433ed)+0x1,'pageId':_0x5433ed})),_0x5981ac=_0x39c66e[_0x5577e4(0x14d)];if(_0x5981ac!==void 0x0&&(!Array[_0x5577e4(0x8e)](_0x5981ac)||_0x5981ac[_0x5577e4(0xe5)](_0x2c64bd=>typeof _0x2c64bd!=_0x5577e4(0x9e)||_0x2c64bd[_0x5577e4(0x8a)]()==='')||new Set(_0x5981ac)[_0x5577e4(0x139)]!==_0x5981ac[_0x5577e4(0x11b)]||_0x5981ac[_0x5577e4(0xe5)](_0xdc98c8=>!_0x93dbb[_0x5577e4(0xe5)](({pageId:_0x32bb3e})=>_0x39c66e['unitData'][_0x5577e4(0x129)][_0x32bb3e]?.[_0x5577e4(0x138)][_0xdc98c8]?.[_0x5577e4(0x13e)]==='shape'))))throw new t(_0x5577e4(0x140),_0x5577e4(0xfb));let _0x500e72=_0x39c66e[_0x5577e4(0x107)];if(_0x500e72!==void 0x0&&(!Number[_0x5577e4(0x141)](_0x500e72)||_0x500e72<0x1||_0x500e72>0x2||!_0x5981ac?.['length']))throw new t(_0x5577e4(0x140),_0x5577e4(0xb9));let _0x2c2f17=structuredClone({'unitType':_0x39c66e['unitType'],'unitData':_0x39c66e['unitData'],..._0x39c66e[_0x5577e4(0x10c)]===void 0x0?{}:{'formulaReferenceUnits':_0x39c66e['formulaReferenceUnits']},..._0x39c66e['embeddedUnits']===void 0x0?{}:{'embeddedUnits':_0x39c66e[_0x5577e4(0xb6)]},'pages':_0x93dbb[_0x5577e4(0xdb)](({pageId:_0x4b9fcd})=>_0x4b9fcd),'focusPadding':0x30,..._0x3d10c2===void 0x0?{}:{'maximumAutomaticLabelDistance':_0x3d10c2},..._0x39c66e[_0x5577e4(0xc1)]===void 0x0?{}:{'layoutPlan':_0x39c66e[_0x5577e4(0xc1)]},..._0x39c66e[_0x5577e4(0xe6)]===!0x0?{'includeLabelPlan':!0x0}:{},..._0x39c66e['includePortPlan']===!0x0?{'includePortPlan':!0x0}:{},..._0x5981ac===void 0x0?{}:{'textPlanElementIds':_0x5981ac},..._0x500e72===void 0x0?{}:{'textPlanMaximumWidthGrowth':_0x500e72}}),_0x28f85=_0x1e7581('sha256')[_0x5577e4(0xe1)](JSON[_0x5577e4(0x93)](_0x2c2f17))[_0x5577e4(0x95)](_0x5577e4(0x113)),_0x178f02=_0x5a71d7===_0x5577e4(0xd8)?[_0x5577e4(0x7c),_0x5577e4(0x14a)]:[_0x5a71d7],_0x3d8dfc=[],_0x491afc=_0x93dbb[_0x5577e4(0xdb)](_0x4ce458=>({..._0x4ce458})),_0x173dcd=[];for(let _0x650421 of _0x178f02){_0x39c66e[_0x5577e4(0x86)]?.[_0x5577e4(0x145)]();let _0x493ce1=_0x650421==='model'?_0x4e96d6[_0x5577e4(0xfe)]?.['captureBoardModelLayout']['bind'](_0x4e96d6[_0x5577e4(0xfe)]):_0x4e96d6['runtime']!==void 0x0&&_0x5577e4(0x128)in _0x4e96d6[_0x5577e4(0x7a)]?_0x4e96d6['runtime'][_0x5577e4(0x128)]['bind'](_0x4e96d6[_0x5577e4(0x7a)]):void 0x0;if(_0x493ce1===void 0x0){for(let {pageId:_0x193c48}of _0x93dbb)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x193c48,'source':_0x650421,'reason':_0x5577e4(0x76)});continue;}let _0x3273f9=structuredClone(_0x2c2f17);_0x650421===_0x5577e4(0x7c)&&(delete _0x3273f9[_0x5577e4(0x8b)],delete _0x3273f9[_0x5577e4(0xc1)],delete _0x3273f9[_0x5577e4(0x12e)],delete _0x3273f9[_0x5577e4(0x14d)],delete _0x3273f9[_0x5577e4(0x107)]);let _0x2ff151=await _0x493ce1({..._0x3273f9,..._0x39c66e[_0x5577e4(0x86)]===void 0x0?{}:{'signal':_0x39c66e[_0x5577e4(0x86)]}});_0x39c66e[_0x5577e4(0x86)]?.[_0x5577e4(0x145)](),i(_0x2ff151,_0x93dbb[_0x5577e4(0xdb)](({pageId:_0x3e3586})=>_0x3e3586),_0x650421);for(let _0x544506 of _0x491afc){let _0xc59d27=_0x2ff151[_0x5577e4(0x129)][_0x5577e4(0xff)](({pageId:_0x22bd16})=>_0x22bd16===_0x544506[_0x5577e4(0xd0)]),_0x240de3=_0xc59d27?.[_0x5577e4(0x14b)];if(_0x240de3===void 0x0){_0x3d8dfc['push']({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':_0x5577e4(0x74)});continue;}if(_0x544506[_0x650421]=_0x240de3,_0x650421===_0x5577e4(0x14a)&&_0x3d10c2!==void 0x0&&!d(_0x240de3,_0x3d10c2,_0x2c2f17['unitData'][_0x5577e4(0x129)][_0x544506[_0x5577e4(0xd0)]][_0x5577e4(0x138)])&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':_0x5577e4(0xc2)}),_0x650421==='rendered'&&_0x2c2f17[_0x5577e4(0xc1)]!==void 0x0){let _0x2123db=_0xc59d27?.['plan'];if(_0x2123db===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0xba)});else{if(!a(_0x2123db)||_0x2123db[_0x5577e4(0x109)]!==_0x39c66e[_0x5577e4(0x11d)]['id']||_0x2123db[_0x5577e4(0xd0)]!==_0x544506[_0x5577e4(0xd0)]||_0x2123db[_0x5577e4(0x130)]!==_0x5577e4(0x119)&&_0x2123db[_0x5577e4(0x130)]!==_0x5577e4(0xda)||!Array[_0x5577e4(0x8e)](_0x2123db['preconditions'])||!Array[_0x5577e4(0x8e)](_0x2123db['patches'])||!Array[_0x5577e4(0x8e)](_0x2123db[_0x5577e4(0x127)]))throw new t('INVALID_RENDER_RESULT',_0x5577e4(0x82));_0x544506['plan']=_0x2123db,_0x2123db[_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0x103)});}}if(_0x650421==='rendered'&&_0x39c66e[_0x5577e4(0xe6)]===!0x0){if(_0xc59d27?.['labelPlan']===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0x100)});else{if(_0xc59d27['labelPlan'][_0x5577e4(0x109)]!==_0x39c66e[_0x5577e4(0x11d)]['id']||_0xc59d27[_0x5577e4(0x9c)][_0x5577e4(0xd0)]!==_0x544506[_0x5577e4(0xd0)])throw new t('INVALID_RENDER_RESULT','Label\x20plan\x20targets\x20an\x20unexpected\x20Unit\x20or\x20page');_0x544506['labelPlan']=_0xc59d27[_0x5577e4(0x9c)];}}if(_0x650421===_0x5577e4(0x14a)&&_0x39c66e['includePortPlan']===!0x0){if(_0xc59d27?.['portPlan']===void 0x0)_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':'port-plan-unavailable'});else{if(_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x109)]!==_0x39c66e['unitData']['id']||_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0xd0)]!==_0x544506['pageId']||_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]!==_0x5577e4(0x119)&&_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]!=='incomplete')throw new t(_0x5577e4(0x133),_0x5577e4(0xeb));_0x544506[_0x5577e4(0x10f)]=_0xc59d27['portPlan'],_0xc59d27[_0x5577e4(0x10f)][_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506['pageId'],'source':_0x650421,'reason':'port-plan-incomplete'});}}_0x650421===_0x5577e4(0x14a)&&_0x2c2f17[_0x5577e4(0x14d)]!==void 0x0&&(_0xc59d27?.['textPlan']===void 0x0?_0x3d8dfc['push']({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':_0x5577e4(0xe7)}):(f(_0xc59d27[_0x5577e4(0xe8)],_0x39c66e[_0x5577e4(0x11d)]['id'],_0x544506[_0x5577e4(0xd0)],_0x2c2f17[_0x5577e4(0x14d)],_0x2c2f17[_0x5577e4(0x11d)]['pages'][_0x544506[_0x5577e4(0xd0)]][_0x5577e4(0x138)],_0x2c2f17[_0x5577e4(0x107)]),_0x544506[_0x5577e4(0xe8)]=_0xc59d27[_0x5577e4(0xe8)],_0xc59d27[_0x5577e4(0xe8)][_0x5577e4(0x130)]===_0x5577e4(0xda)&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'reason':'text-plan-incomplete'})));for(let _0x394192 of _0x240de3[_0x5577e4(0xf5)])_0x173dcd[_0x5577e4(0xaa)]({..._0x394192,'page':_0x544506[_0x5577e4(0xa4)],'pageId':_0x544506[_0x5577e4(0xd0)],'source':_0x650421,'fingerprint':_0x650421+':'+_0x544506['pageId']+':'+_0x394192[_0x5577e4(0x118)]+':'+_0x394192['id']});}}for(let _0x11309e of _0x491afc){let _0xb50cb6=_0x5a71d7===_0x5577e4(0x7c)?_0x5577e4(0x7c):_0x5577e4(0x14a),_0x412d1d=_0x11309e[_0xb50cb6];(_0x412d1d?.[_0x5577e4(0xe0)][_0x5577e4(0xea)]||_0x412d1d?.['routes'][_0x5577e4(0xe5)](_0x42e6c3=>!_0x42e6c3[_0x5577e4(0x150)]))&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0xf7)}),(_0x412d1d?.[_0x5577e4(0xf5)][_0x5577e4(0xe5)](_0x47782e=>_0x47782e[_0x5577e4(0x118)]===_0x5577e4(0xdc))||Object[_0x5577e4(0x148)](_0x412d1d?.[_0x5577e4(0xe9)]??{})[_0x5577e4(0xe5)](_0x3661b9=>Object['values'](_0x3661b9)[_0x5577e4(0xe5)](_0x4a7541=>_0x4a7541[_0x5577e4(0x130)]===_0x5577e4(0x12b))))&&_0x3d8dfc[_0x5577e4(0xaa)]({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0x11a)}),_0x412d1d?.[_0x5577e4(0xf5)][_0x5577e4(0xe5)](_0x1bac21=>_0x1bac21['rule']===_0x5577e4(0xc7))&&_0x3d8dfc['push']({'pageId':_0x11309e[_0x5577e4(0xd0)],'source':_0xb50cb6,'reason':_0x5577e4(0x97)});}return{'kind':_0x5577e4(0xfd),'unitId':_0x39c66e[_0x5577e4(0x11d)]['id'],'unitType':_0x5577e4(0xf8),'mode':_0x5a71d7,'snapshotHash':_0x28f85,'status':_0x3d8dfc[_0x5577e4(0x11b)]>0x0?_0x5577e4(0xda):_0x173dcd[_0x5577e4(0x11b)]>0x0?_0x5577e4(0xbf):'clean','coverage':{'pages':_0x93dbb,'sources':_0x178f02,'complete':_0x3d8dfc[_0x5577e4(0x11b)]===0x0,'incomplete':_0x3d8dfc,'limitations':_0x5a71d7===_0x5577e4(0x7c)?[_0x5577e4(0x96)]:_0x3d10c2===void 0x0?[]:[_0x5577e4(0x12f)]},'analyses':_0x491afc,'findings':_0x173dcd};}function _0x6a96(_0x2cc1e8,_0x31eabf){_0x2cc1e8=_0x2cc1e8-0x74;const _0xb18b75=_0xb18b();let _0x6a96d9=_0xb18b75[_0x2cc1e8];return _0x6a96d9;}function i(_0x5ccb56,_0x1d6a22,_0x4bfd94){const _0x11360a=_0x1377f6;let _0x40d067=new Set();for(let _0x3b1b0a of _0x5ccb56[_0x11360a(0x129)]){if(!_0x1d6a22[_0x11360a(0xc0)](_0x3b1b0a[_0x11360a(0xd0)])||_0x40d067[_0x11360a(0x146)](_0x3b1b0a[_0x11360a(0xd0)])||_0x3b1b0a[_0x11360a(0x14b)]['source']!==_0x4bfd94)throw new t(_0x11360a(0x133),_0x11360a(0x136));_0x40d067[_0x11360a(0x8f)](_0x3b1b0a['pageId']);let {errorCount:_0x3407c9,warningCount:_0x4d46e3,unresolvedConnectorCount:_0x4c6e89}=_0x3b1b0a[_0x11360a(0x14b)]['summary'];if([_0x3407c9,_0x4d46e3,_0x4c6e89][_0x11360a(0xe5)](_0x50b795=>!Number[_0x11360a(0xa2)](_0x50b795)||_0x50b795<0x0))throw new t(_0x11360a(0x133),_0x11360a(0x11f));if(_0x3407c9!==_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0xf5)][_0x11360a(0x12c)](({severity:_0x150c80})=>_0x150c80===_0x11360a(0x8c))['length']||_0x4d46e3!==_0x3b1b0a[_0x11360a(0x14b)]['issues'][_0x11360a(0x12c)](({severity:_0x12db96})=>_0x12db96===_0x11360a(0xa5))[_0x11360a(0x11b)])throw new t(_0x11360a(0x133),_0x11360a(0x13a));if(_0x3b1b0a[_0x11360a(0x14b)]['connectorLabelLayouts']!==void 0x0&&!s(_0x3b1b0a[_0x11360a(0x14b)]['connectorLabelLayouts']))throw new t(_0x11360a(0x133),_0x11360a(0xe3));if(_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0x98)]!==void 0x0&&(!a(_0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0x98)])||!l(_0x3b1b0a[_0x11360a(0x14b)]['labelDistanceInspection'][_0x11360a(0x12e)])||_0x3b1b0a['analysis']['labelDistanceInspection']['metric']!==_0x11360a(0x132)))throw new t('INVALID_RENDER_RESULT',_0x11360a(0xde));for(let _0x299c7c of _0x3b1b0a[_0x11360a(0x14b)][_0x11360a(0xf5)]){if(_0x299c7c[_0x11360a(0x143)]!==void 0x0&&(!a(_0x299c7c[_0x11360a(0x143)])||!l(_0x299c7c['labelDistance']['measured'])||!l(_0x299c7c[_0x11360a(0x143)][_0x11360a(0xfa)])))throw new t('INVALID_RENDER_RESULT','Invalid\x20label-distance\x20evidence');if(_0x299c7c[_0x11360a(0x9d)]!==void 0x0){let _0x1b792f=_0x299c7c['tableRange'];if(!_0x1b792f||![_0x1b792f[_0x11360a(0x91)],_0x1b792f['endRow'],_0x1b792f[_0x11360a(0x110)],_0x1b792f[_0x11360a(0xb0)]][_0x11360a(0xa8)](_0x1e066f=>Number[_0x11360a(0x9f)](_0x1e066f)&&_0x1e066f>=0x0)||_0x1b792f['startRow']>_0x1b792f[_0x11360a(0xcf)]||_0x1b792f[_0x11360a(0x110)]>_0x1b792f[_0x11360a(0xb0)])throw new t('INVALID_RENDER_RESULT',_0x11360a(0x80));}if(_0x299c7c[_0x11360a(0x92)]!==void 0x0&&(!c(_0x299c7c[_0x11360a(0x92)]?.[_0x11360a(0x94)],!0x1)||!c(_0x299c7c[_0x11360a(0x92)]?.[_0x11360a(0xd9)],!0x0)))throw new t(_0x11360a(0x133),_0x11360a(0x10a));}}}function a(_0x6014b1){const _0x7a19f8=_0x1377f6;if(!_0x6014b1||typeof _0x6014b1!=_0x7a19f8(0xa6)||Array['isArray'](_0x6014b1))return!0x1;let _0x272fce=Object[_0x7a19f8(0xef)](_0x6014b1);return _0x272fce===Object['prototype']||_0x272fce===null;}function _0xb18b(){const _0x4a77fe=['push','Board\x20unitData.id\x20is\x20required','indexOf','ink','Slide\x20unitData.id\x20is\x20required','Unit\x20layout\x20lint\x20supports\x20Slide\x20and\x20Board\x20only','endColumn','497794pMVyoh','shapeType','labels','pages\x20must\x20not\x20be\x20empty','fingerprint','embeddedUnits','Render\x20result\x20contains\x20duplicate\x20element\x20identities\x20on\x20page\x20','bottom','textPlanMaximumWidthGrowth\x20requires\x20selected\x20shape\x20IDs\x20and\x20a\x20finite\x20number\x20from\x201\x20to\x202','layout-plan-unavailable','fill','overflow','\x20\x20opacity\x20','width','findings','includes','layoutPlan','automatic-label-distance-unavailable','angleRadians','10913XKiRQq','connectorId','join','element-text-layout-unresolved','hasOwn','\x20=\x20','right','measured','pageOrder','hasOwnProperty','Contradictory\x20native\x20label-distance\x20finding','endRow','pageId','Slide\x20page\x20selector\x20is\x20invalid:\x20','text','Slide\x20layout\x20runtime\x20is\x20required','connectorData','max',');\x20ink\x20','Label\x20plans\x20require\x20rendered\x20Board\x20analysis','both','contentSize','incomplete','map','connector-label-layout-unresolved','Render\x20result\x20does\x20not\x20contain\x20exactly\x20one\x20matching\x20page\x20','Invalid\x20label-distance\x20receipt','top\x20','summary','update','outerSize','Board\x20capture\x20contains\x20invalid\x20connector\x20label\x20measurements','number','some','includeLabelPlan','text-plan-unavailable','textPlan','connectorLabelLayouts','unresolvedConnectorCount','Port\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page\x20or\x20status','left','requiredSize','connectorIds','getPrototypeOf','rect','text-off-page','elementId','none',',\x20page\x20','issues','left\x20','unresolved-route','board','top','maximum','textPlanElementIds\x20must\x20select\x20unique\x20non-empty\x20shape\x20IDs\x20on\x20the\x20requested\x20pages','2916876lerLpI','unit-layout-lint','modelRuntime','find','label-plan-unavailable','captureSlideLayout','unitType','layout-plan-incomplete','Text\x20plans\x20require\x20rendered\x20Board\x20analysis','boolean','Label\x20distance\x20is\x20only\x20supported\x20for\x20Board','textPlanMaximumWidthGrowth','entries','unitId','Board\x20capture\x20contains\x20invalid\x20text\x20measurements','patches','formulaReferenceUnits','call','replace','portPlan','startColumn','803246RFVjda','elementType','hex','pageHeight','code','shape','findIndex','rule','ready','unresolved-label','length','declared','unitData','slice','Board\x20capture\x20contains\x20invalid\x20summary\x20counts','get','\x22\x20escapes\x20','reason','empty','A\x20layout\x20plan\x20requires\x20rendered\x20Board\x20analysis\x20and\x20one\x20planning\x20request','name','height','diagnostics','captureBoardLayout','pages','labelIds','unresolved','filter','automaticLabelDistance','maximumAutomaticLabelDistance','Automatic\x20label\x20distance\x20uses\x20the\x20native\x20sampled,\x20marker-trimmed\x20stroke\x20centerline\x20before\x20dash\x20gaps\x20and\x20label\x20clipping;\x20it\x20is\x20not\x20raster-ink\x20distance.','status','severity','rendered-stroke-polyline-v1','INVALID_RENDER_RESULT','ownKeys','opacity','Board\x20capture\x20contains\x20an\x20unexpected\x20page,\x20duplicate\x20page,\x20or\x20source','text\x20\x22','elements','size','Board\x20capture\x20issue\x20counts\x20do\x20not\x20match\x20its\x20summary','25007288kXSNNY','slide','area','type','text-escapes-container','INVALID_INPUT','isFinite','roundRect','labelDistance','\x20by\x20','throwIfAborted','has','\x22\x20runs\x20off\x20the\x20page\x20(','values','visible','rendered','analysis','pageWidth','textPlanElementIds','set','bounds','resolved','analysis-missing','89035tBDKmn','runtime-unavailable','color','1038bHEqou','connector-label-distance-exceeded','runtime','Label\x20distance\x20requires\x20rendered\x20Board\x20analysis','model','Render\x20result\x20contains\x20unrequested\x20Slide\x20pages','min','connector-label-distance-unresolved','Board\x20capture\x20contains\x20an\x20invalid\x20table\x20cell\x20range','round','Layout\x20plan\x20has\x20an\x20unexpected\x20Unit,\x20page,\x20status\x20or\x20payload','distance','Board\x20mode\x20must\x20be\x20model,\x20rendered,\x20or\x20both','Missing\x20native\x20label-distance\x20finding','signal','%\x20of\x20the\x20smaller\x20glyph\x20band;\x20ink\x20','layout:','prototype','trim','includePortPlan','error','transform','isArray','add','content','startRow','textLayout','stringify','availableSize','digest','Model\x20analysis\x20does\x20not\x20establish\x20final\x20font\x20metrics\x20or\x20automatic\x20rendered\x20routes.','unresolved-element-text','labelDistanceInspection','zIndex','\x20overlaps\x20\x22','Contradictory\x20empty-label\x20distance','labelPlan','tableRange','string','isInteger','Slide\x20has\x20no\x20pages\x20to\x20lint','2510412sglFAU','isSafeInteger','text-overlaps-text','page','warning','object','authored-placement','every','excluded'];_0xb18b=function(){return _0x4a77fe;};return _0xb18b();}function o(_0x531ccf){const _0x20f545=_0x1377f6;return a(_0x531ccf)&&c(_0x531ccf,!0x0)&&[_0x531ccf[_0x20f545(0xec)],_0x531ccf[_0x20f545(0xf9)]][_0x20f545(0xa8)](_0x4c985e=>typeof _0x4c985e==_0x20f545(0xe4)&&Number[_0x20f545(0x141)](_0x4c985e));}function s(_0x5838e6){const _0x5d2d55=_0x1377f6;if(!a(_0x5838e6))return!0x1;for(let [_0x2202e2,_0x254c95]of Object[_0x5d2d55(0x108)](_0x5838e6)){if(_0x2202e2[_0x5d2d55(0x8a)]()===''||!a(_0x254c95))return!0x1;for(let [_0x374a34,_0x36caec]of Object[_0x5d2d55(0x108)](_0x254c95)){if(_0x374a34[_0x5d2d55(0x8a)]()===''||!a(_0x36caec))return!0x1;if(_0x36caec['status']==='unresolved'){if(Reflect[_0x5d2d55(0x134)](_0x36caec)[_0x5d2d55(0x11b)]!==0x1||!Object[_0x5d2d55(0x89)][_0x5d2d55(0xcd)][_0x5d2d55(0x10d)](_0x36caec,_0x5d2d55(0x130)))return!0x1;continue;}if(_0x36caec[_0x5d2d55(0x130)]!=='ready'||_0x36caec[_0x5d2d55(0x12d)]!==void 0x0&&!u(_0x36caec['automaticLabelDistance'])||!o(_0x36caec[_0x5d2d55(0xf0)])||!o(_0x36caec[_0x5d2d55(0x14f)])||typeof _0x36caec[_0x5d2d55(0xc3)]!='number'||!Number[_0x5d2d55(0x141)](_0x36caec['angleRadians'])||!a(_0x36caec[_0x5d2d55(0xe2)])||!c(_0x36caec[_0x5d2d55(0xe2)],!0x0)||!a(_0x36caec[_0x5d2d55(0xed)])||!c(_0x36caec[_0x5d2d55(0xed)],!0x0)||![_0x36caec['empty'],_0x36caec[_0x5d2d55(0xbc)],_0x36caec['endpointConstrained']][_0x5d2d55(0xa8)](_0x5dde9b=>typeof _0x5dde9b==_0x5d2d55(0x105)))return!0x1;}}return!0x0;}function c(_0x2e779e,_0x2c6b70){const _0x4fcc1b=_0x1377f6;if(!_0x2e779e||typeof _0x2e779e!=_0x4fcc1b(0xa6))return!0x1;let _0x3cd746=_0x2e779e;return[_0x3cd746[_0x4fcc1b(0xbe)],_0x3cd746['height']][_0x4fcc1b(0xa8)](_0x2f622a=>typeof _0x2f622a==_0x4fcc1b(0xe4)&&Number[_0x4fcc1b(0x141)](_0x2f622a)&&(_0x2c6b70?_0x2f622a>=0x0:_0x2f622a>0x0));}function l(_0x53b374){const _0x596e1e=_0x1377f6;return typeof _0x53b374==_0x596e1e(0xe4)&&Number[_0x596e1e(0x141)](_0x53b374)&&_0x53b374>=0x0;}function u(_0x5a5661){const _0x1ed429=_0x1377f6;return a(_0x5a5661)?_0x5a5661[_0x1ed429(0x130)]===_0x1ed429(0x119)?l(_0x5a5661[_0x1ed429(0x83)]):_0x5a5661['status']===_0x1ed429(0xa9)?typeof _0x5a5661[_0x1ed429(0x122)]==_0x1ed429(0x9e)&&[_0x1ed429(0x123),_0x1ed429(0xa7),'endpoint-role']['includes'](_0x5a5661[_0x1ed429(0x122)]):_0x5a5661[_0x1ed429(0x130)]===_0x1ed429(0x12b)&&Reflect[_0x1ed429(0x134)](_0x5a5661)[_0x1ed429(0x11b)]===0x1:!0x1;}function d(_0x4a5cf0,_0x4ed552,_0x28dc62){const _0x492cf4=_0x1377f6;let _0x472e8a=_0x4a5cf0[_0x492cf4(0x98)];if(_0x472e8a===void 0x0)return!0x1;if(_0x472e8a[_0x492cf4(0x12e)]!==_0x4ed552)throw new t(_0x492cf4(0x133),'Label-distance\x20threshold\x20was\x20not\x20echoed');let _0x551281=_0x4a5cf0[_0x492cf4(0xe9)];if(_0x551281===void 0x0)return!0x1;let _0xf8fd54=!0x0;for(let _0x4e83d0 of _0x4a5cf0['routes']){let _0x4a0de7=_0x28dc62[_0x4e83d0[_0x492cf4(0xc5)]];if(!(!_0x4a0de7||!(_0x492cf4(0xd4)in _0x4a0de7))){for(let _0x51b3cd of _0x4a0de7[_0x492cf4(0xd4)][_0x492cf4(0xb3)]??[])Object[_0x492cf4(0xc8)](_0x551281[_0x4e83d0['connectorId']]??{},_0x51b3cd['id'])||(_0xf8fd54=!0x1);}}for(let [_0x2bdaff,_0x1c5b58]of Object['entries'](_0x551281))for(let [_0x20200c,_0x354f59]of Object[_0x492cf4(0x108)](_0x1c5b58)){if(_0x354f59[_0x492cf4(0x130)]==='unresolved'||_0x354f59['automaticLabelDistance']===void 0x0){_0xf8fd54=!0x1;continue;}let _0x4b06e8=_0x354f59['automaticLabelDistance'];if(_0x4b06e8['status']===_0x492cf4(0x12b)&&(_0xf8fd54=!0x1),_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0xa9)&&_0x4b06e8['reason']==='empty'!==_0x354f59[_0x492cf4(0x123)]||_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0x119)&&_0x354f59[_0x492cf4(0x123)])throw new t(_0x492cf4(0x133),_0x492cf4(0x9b));if(_0x4b06e8[_0x492cf4(0x130)]===_0x492cf4(0x119)&&_0x4b06e8[_0x492cf4(0x83)]>_0x4ed552+0.001&&!_0x4a5cf0[_0x492cf4(0xf5)][_0x492cf4(0xe5)](_0x2d98a6=>_0x2d98a6[_0x492cf4(0x118)]===_0x492cf4(0x79)&&_0x2d98a6[_0x492cf4(0xee)][_0x492cf4(0xc0)](_0x2bdaff)&&_0x2d98a6[_0x492cf4(0x12a)]?.['includes'](_0x20200c)))throw new t(_0x492cf4(0x133),_0x492cf4(0x85));}for(let _0x4a1fd1 of _0x4a5cf0['issues']){if(_0x4a1fd1[_0x492cf4(0x118)]!==_0x492cf4(0x79)&&_0x4a1fd1[_0x492cf4(0x118)]!==_0x492cf4(0x7f))continue;let _0x4949ea=_0x4a1fd1[_0x492cf4(0xee)][0x0],_0x36e827=_0x4a1fd1['labelIds']?.[0x0],_0x4ed7fb=_0x4949ea&&_0x36e827?_0x551281[_0x4949ea]?.[_0x36e827]:void 0x0,_0x4f8f41=_0x4ed7fb?.[_0x492cf4(0x130)]==='ready'?_0x4ed7fb[_0x492cf4(0x12d)]:void 0x0,_0x549641=_0x4a1fd1[_0x492cf4(0x118)]===_0x492cf4(0x79)?_0x4f8f41?.['status']==='ready'&&_0x4f8f41['distance']>_0x4ed552+0.001&&_0x4a1fd1['severity']===_0x492cf4(0x8c)&&_0x4a1fd1['labelDistance']?.[_0x492cf4(0xcb)]===_0x4f8f41[_0x492cf4(0x83)]&&_0x4a1fd1['labelDistance']?.[_0x492cf4(0xfa)]===_0x4ed552:_0x4f8f41?.[_0x492cf4(0x130)]===_0x492cf4(0x12b)&&_0x4a1fd1[_0x492cf4(0x131)]==='warning'&&_0x4a1fd1[_0x492cf4(0x143)]===void 0x0;if(_0x4a1fd1[_0x492cf4(0xee)][_0x492cf4(0x11b)]!==0x1||_0x4a1fd1[_0x492cf4(0x12a)]?.[_0x492cf4(0x11b)]!==0x1||!_0x549641)throw new t(_0x492cf4(0x133),_0x492cf4(0xce));}return _0xf8fd54;}function f(_0x25f647,_0x202a8e,_0x1d3661,_0x12dc74,_0x27b894,_0x4500c4){const _0x57a105=_0x1377f6;let _0x24212c=()=>{throw new t('INVALID_RENDER_RESULT','Text\x20plan\x20does\x20not\x20match\x20its\x20requested\x20Unit,\x20page\x20or\x20shape-size\x20selection');};(!a(_0x25f647)||_0x25f647[_0x57a105(0x109)]!==_0x202a8e||_0x25f647[_0x57a105(0xd0)]!==_0x1d3661||_0x25f647[_0x57a105(0x130)]!==_0x57a105(0x119)&&_0x25f647[_0x57a105(0x130)]!==_0x57a105(0xda)||!Array[_0x57a105(0x8e)](_0x25f647[_0x57a105(0x10b)])||!Array[_0x57a105(0x8e)](_0x25f647['preconditions']))&&_0x24212c();let _0x44b9a6=new Set(_0x12dc74),_0x140249=new Set();for(let _0x55db1d of _0x25f647[_0x57a105(0x10b)]){(!a(_0x55db1d)||typeof _0x55db1d[_0x57a105(0xf2)]!=_0x57a105(0x9e)||!_0x44b9a6[_0x57a105(0x146)](_0x55db1d[_0x57a105(0xf2)])||_0x140249[_0x57a105(0x146)](_0x55db1d[_0x57a105(0xf2)])||_0x27b894[_0x55db1d[_0x57a105(0xf2)]]?.[_0x57a105(0x13e)]!==_0x57a105(0x116)||Object['keys'](_0x55db1d)[_0x57a105(0xe5)](_0x380f8c=>_0x380f8c!==_0x57a105(0xf2)&&_0x380f8c!==_0x57a105(0x8d))||!a(_0x55db1d[_0x57a105(0x8d)]))&&_0x24212c();let _0x1a613c=_0x55db1d[_0x57a105(0x8d)],_0x358782=_0x27b894[_0x55db1d['elementId']][_0x57a105(0x8d)];(Object['keys'](_0x1a613c)['some'](_0x3a3d1f=>_0x3a3d1f!==_0x57a105(0xbe)&&_0x3a3d1f!==_0x57a105(0x126))||typeof _0x1a613c[_0x57a105(0xbe)]!=_0x57a105(0xe4)||!Number[_0x57a105(0x141)](_0x1a613c[_0x57a105(0xbe)])||_0x1a613c[_0x57a105(0xbe)]<=0x0||_0x1a613c[_0x57a105(0xbe)]<(_0x358782['width']??0x0)||_0x4500c4!==void 0x0&&_0x1a613c[_0x57a105(0xbe)]>(_0x358782[_0x57a105(0xbe)]??0x0)*_0x4500c4||typeof _0x1a613c[_0x57a105(0x126)]!=_0x57a105(0xe4)||!Number[_0x57a105(0x141)](_0x1a613c[_0x57a105(0x126)])||_0x1a613c[_0x57a105(0x126)]<=0x0||_0x1a613c[_0x57a105(0x126)]<(_0x358782[_0x57a105(0x126)]??0x0))&&_0x24212c(),_0x140249['add'](_0x55db1d[_0x57a105(0xf2)]);}}var p=0x2,m=0x6,h=0.02,g=0.15,_=0.5,v=new Set(['rect',_0x1377f6(0x142)]),y=[_0x1377f6(0xf1),_0x1377f6(0x13f),_0x1377f6(0xa3)];function b(_0x42e8f5){return{async 'lint'(_0x4ed4ae){const _0x5dd3f5=_0x6a96;if(_0x4ed4ae[_0x5dd3f5(0x102)]===_0x5dd3f5(0xf8))return await r(_0x4ed4ae,_0x42e8f5);if(_0x4ed4ae['unitType']!==_0x5dd3f5(0x13c))throw new t(_0x5dd3f5(0x140),_0x5dd3f5(0xaf));if(_0x5dd3f5(0x12e)in _0x4ed4ae&&_0x4ed4ae[_0x5dd3f5(0x12e)]!==void 0x0)throw new t(_0x5dd3f5(0x140),_0x5dd3f5(0x106));let _0x2c4a19=z(_0x4ed4ae[_0x5dd3f5(0x11d)]['id']),_0x4982ce=x(_0x4ed4ae[_0x5dd3f5(0x11d)]['slideOrder']??[],_0x4ed4ae['pages']);if(_0x42e8f5[_0x5dd3f5(0x7a)]===void 0x0||!('captureSlideLayout'in _0x42e8f5[_0x5dd3f5(0x7a)]))throw new t('INVALID_INPUT',_0x5dd3f5(0xd3));let _0x4050da=await _0x42e8f5['runtime'][_0x5dd3f5(0x101)]({'unitType':_0x5dd3f5(0x13c),'unitData':_0x4ed4ae['unitData'],..._0x4ed4ae[_0x5dd3f5(0x10c)]===void 0x0?{}:{'formulaReferenceUnits':_0x4ed4ae[_0x5dd3f5(0x10c)]},'pages':_0x4982ce['map'](({page:_0x108236})=>_0x108236),..._0x4ed4ae['signal']===void 0x0?{}:{'signal':_0x4ed4ae[_0x5dd3f5(0x86)]}});return S(_0x4050da,_0x4982ce),{'kind':'unit-layout-lint','unitId':_0x2c4a19,'unitType':_0x5dd3f5(0x13c),'coverage':{'pages':_0x4982ce,'rules':y},'findings':C(_0x4050da)};}};}function x(_0x5a102d,_0x1074f7){const _0x1cf776=_0x1377f6;if(_0x5a102d['length']===0x0)throw new t('INVALID_INPUT',_0x1cf776(0xa0));if(_0x1074f7!==void 0x0&&_0x1074f7[_0x1cf776(0x11b)]===0x0)throw new t(_0x1cf776(0x140),_0x1cf776(0xb4));let _0x4c7d42=_0x1074f7??_0x5a102d['map']((_0x11e6c6,_0x315cbc)=>_0x315cbc+0x1),_0x5e2a89=new Set(),_0x2e0807=[];for(let _0x57515a of _0x4c7d42){let _0x20680c=typeof _0x57515a==_0x1cf776(0xe4)?_0x57515a:_0x5a102d[_0x1cf776(0x117)](_0x2c5e16=>_0x2c5e16===_0x57515a)+0x1;if(!Number[_0x1cf776(0x9f)](_0x20680c)||_0x20680c<0x1||_0x20680c>_0x5a102d[_0x1cf776(0x11b)])throw new t(_0x1cf776(0x140),_0x1cf776(0xd1)+String(_0x57515a));let _0x178374=_0x5a102d[_0x20680c-0x1];_0x5e2a89[_0x1cf776(0x146)](_0x178374)||(_0x5e2a89[_0x1cf776(0x8f)](_0x178374),_0x2e0807['push']({'page':_0x20680c,'pageId':_0x178374}));}return _0x2e0807;}function S(_0x23baab,_0x11a70c){const _0x74bec0=_0x1377f6;let _0x1e7d99=new Map();for(let _0x3bdbc6 of _0x23baab[_0x74bec0(0x129)]){let _0x4bcf5b=_0x1e7d99[_0x74bec0(0x120)](_0x3bdbc6['pageId'])??[];_0x4bcf5b['push'](_0x3bdbc6),_0x1e7d99[_0x74bec0(0x14e)](_0x3bdbc6[_0x74bec0(0xd0)],_0x4bcf5b);}for(let _0x52a18f of _0x11a70c){let _0xd037dd=_0x1e7d99[_0x74bec0(0x120)](_0x52a18f[_0x74bec0(0xd0)])??[];if(_0xd037dd[_0x74bec0(0x11b)]!==0x1||_0xd037dd[0x0]?.['page']!==_0x52a18f['page'])throw new t(_0x74bec0(0x133),_0x74bec0(0xdd)+_0x52a18f['pageId']);let _0x17bfa1=_0xd037dd[0x0][_0x74bec0(0x138)]['map'](({elementId:_0x4b3e85})=>_0x4b3e85);if(new Set(_0x17bfa1)[_0x74bec0(0x139)]!==_0x17bfa1[_0x74bec0(0x11b)])throw new t(_0x74bec0(0x133),_0x74bec0(0xb7)+_0x52a18f[_0x74bec0(0xd0)]);}if(_0x23baab[_0x74bec0(0x129)]['length']!==_0x11a70c[_0x74bec0(0x11b)])throw new t(_0x74bec0(0x133),_0x74bec0(0x7d));}function C(_0x14552d){const _0x1974c4=_0x1377f6;let _0x46cf9c=[];for(let _0x33ddfe of _0x14552d[_0x1974c4(0x129)]){let _0xfe34a1=_0x33ddfe[_0x1974c4(0x138)]['filter'](_0x6e859b=>!_0x6e859b['elementId']['startsWith'](_0x1974c4(0x88))),_0x4a645f=_0xfe34a1[_0x1974c4(0x12c)](_0x3a8063=>_0x3a8063[_0x1974c4(0xd2)]!==void 0x0&&_0x3a8063['text'][_0x1974c4(0x90)][_0x1974c4(0x8a)]()!=='');for(let _0x2a0d9d of _0x4a645f){let _0x34f112=T(_0x2a0d9d[_0x1974c4(0xd2)][_0x1974c4(0xad)]),_0x113339={..._0x34f112['left']<-0x2?{'left':O(-_0x34f112[_0x1974c4(0xec)])}:{},..._0x34f112[_0x1974c4(0xf9)]<-0x2?{'top':O(-_0x34f112['top'])}:{},..._0x34f112['right']>_0x33ddfe[_0x1974c4(0x14c)]+p?{'right':O(_0x34f112[_0x1974c4(0xca)]-_0x33ddfe[_0x1974c4(0x14c)])}:{},..._0x34f112[_0x1974c4(0xb8)]>_0x33ddfe[_0x1974c4(0x114)]+p?{'bottom':O(_0x34f112[_0x1974c4(0xb8)]-_0x33ddfe[_0x1974c4(0x114)])}:{}},_0xe1baf=R(_0x113339);if(_0xe1baf!=='-'){let _0x3ea8f6=j(_0x2a0d9d),_0x17848c=A({'left':0x0,'top':0x0,'width':_0x33ddfe[_0x1974c4(0x14c)],'height':_0x33ddfe[_0x1974c4(0x114)]});_0x46cf9c[_0x1974c4(0xaa)](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':_0x1974c4(0xf1),'id':_0x2a0d9d[_0x1974c4(0xf2)],'text':_0x3ea8f6,'pageBox':_0x17848c,'overflow':_0x113339,'detail':_0x1974c4(0x137)+k(_0x3ea8f6[_0x1974c4(0x90)])+_0x1974c4(0x147)+_0xe1baf+_0x1974c4(0xd6)+F(_0x3ea8f6[_0x1974c4(0xad)])+_0x1974c4(0xf4)+F(_0x17848c)}));}}for(let _0x4189fb of _0x4a645f){let _0x50822d=L(_0x4189fb,_0xfe34a1,_0x33ddfe);if(_0x50822d===void 0x0)continue;let _0x577920=T(_0x4189fb[_0x1974c4(0xd2)]['ink']),_0x410a5a=T(_0x50822d[_0x1974c4(0x11c)]),_0x20d26c=Math[_0x1974c4(0xd5)](m,h*(_0x410a5a['right']-_0x410a5a[_0x1974c4(0xec)])),_0x4f2b46={..._0x410a5a[_0x1974c4(0xec)]-_0x577920['left']>_0x20d26c?{'left':O(_0x410a5a[_0x1974c4(0xec)]-_0x577920[_0x1974c4(0xec)])}:{},..._0x577920['right']-_0x410a5a['right']>_0x20d26c?{'right':O(_0x577920[_0x1974c4(0xca)]-_0x410a5a[_0x1974c4(0xca)])}:{},..._0x577920[_0x1974c4(0xb8)]-_0x410a5a[_0x1974c4(0xb8)]>_0x20d26c?{'bottom':O(_0x577920[_0x1974c4(0xb8)]-_0x410a5a[_0x1974c4(0xb8)])}:{}},_0x158661=R(_0x4f2b46);if(_0x158661!=='-'){let _0x3166ef=j(_0x4189fb),_0x4bb7cc=N(_0x50822d);_0x46cf9c['push'](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':'text-escapes-container','id':_0x4189fb[_0x1974c4(0xf2)],'related':_0x50822d[_0x1974c4(0xf2)],'text':_0x3166ef,'container':_0x4bb7cc,'overflow':_0x4f2b46,'detail':_0x1974c4(0x137)+k(_0x3166ef[_0x1974c4(0x90)])+_0x1974c4(0x121)+_0x4bb7cc['id']+'\x20('+_0x158661+');\x20ink\x20'+F(_0x3166ef[_0x1974c4(0xad)])+',\x20'+_0x4bb7cc['id']+_0x1974c4(0xc9)+_0x4bb7cc[_0x1974c4(0x13e)]+'\x20'+P(_0x4bb7cc[_0x1974c4(0xbb)])+'\x20'+F(_0x4bb7cc['box'])}));}}for(let _0xe1e387=0x0;_0xe1e387<_0x4a645f[_0x1974c4(0x11b)];_0xe1e387+=0x1)for(let _0x2e6853=_0xe1e387+0x1;_0x2e6853<_0x4a645f['length'];_0x2e6853+=0x1){let _0x3061da=_0x4a645f[_0xe1e387],_0x35e1e3=_0x4a645f[_0x2e6853],_0x58e47c=T(_0x3061da[_0x1974c4(0xd2)]['ink']),_0x207474=T(_0x35e1e3[_0x1974c4(0xd2)][_0x1974c4(0xad)]),_0x24a68d=E(D(_0x58e47c,_0x207474));if(_0x24a68d<=0x1)continue;let _0x542778=_0x24a68d/Math['max'](0x1,Math[_0x1974c4(0x7e)](E(_0x58e47c),E(_0x207474)));if(_0x542778<=g)continue;let _0x4b2cb1=j(_0x3061da),_0x51256b=j(_0x35e1e3);_0x46cf9c['push'](w({'page':_0x33ddfe[_0x1974c4(0xa4)],'pageId':_0x33ddfe[_0x1974c4(0xd0)],'rule':_0x1974c4(0xa3),'id':_0x3061da[_0x1974c4(0xf2)],'related':_0x35e1e3[_0x1974c4(0xf2)],'text':_0x4b2cb1,'other':_0x51256b,'overlapRatio':Math['round'](_0x542778*0x64)/0x64,'detail':_0x1974c4(0x137)+k(_0x4b2cb1['content'])+'\x22'+M(_0x4b2cb1)+_0x1974c4(0x9a)+k(_0x51256b[_0x1974c4(0x90)])+'\x22'+M(_0x51256b)+_0x1974c4(0x144)+Math[_0x1974c4(0x81)](_0x542778*0x64)+_0x1974c4(0x87)+F(_0x4b2cb1[_0x1974c4(0xad)])+',\x20'+F(_0x51256b[_0x1974c4(0xad)])}));}}return _0x46cf9c['sort']((_0x22ae0e,_0xf32c5b)=>_0x22ae0e[_0x1974c4(0xb5)]['localeCompare'](_0xf32c5b['fingerprint']));}function w(_0x2c2c74){const _0x44f368=_0x1377f6;return{..._0x2c2c74,'fingerprint':[_0x2c2c74[_0x44f368(0x118)],_0x2c2c74[_0x44f368(0xd0)],_0x2c2c74['id'],_0x2c2c74['related']??''][_0x44f368(0xc6)](':'),'severity':_0x44f368(0xa5)};}function T(_0x1a581c){const _0x5cae19=_0x1377f6;return{'left':_0x1a581c[_0x5cae19(0xec)],'top':_0x1a581c['top'],'right':_0x1a581c[_0x5cae19(0xec)]+_0x1a581c[_0x5cae19(0xbe)],'bottom':_0x1a581c[_0x5cae19(0xf9)]+_0x1a581c['height']};}function E(_0x805721){const _0x52b457=_0x1377f6;return Math[_0x52b457(0xd5)](0x0,_0x805721['right']-_0x805721['left'])*Math[_0x52b457(0xd5)](0x0,_0x805721[_0x52b457(0xb8)]-_0x805721[_0x52b457(0xf9)]);}function D(_0x2464be,_0x28a9cb){const _0x33578c=_0x1377f6;return{'left':Math['max'](_0x2464be[_0x33578c(0xec)],_0x28a9cb[_0x33578c(0xec)]),'top':Math[_0x33578c(0xd5)](_0x2464be[_0x33578c(0xf9)],_0x28a9cb[_0x33578c(0xf9)]),'right':Math[_0x33578c(0x7e)](_0x2464be['right'],_0x28a9cb['right']),'bottom':Math[_0x33578c(0x7e)](_0x2464be[_0x33578c(0xb8)],_0x28a9cb[_0x33578c(0xb8)])};}function O(_0xf58aa){return Math['round'](_0xf58aa);}function k(_0x5a9fec){const _0x124982=_0x1377f6;let _0x5b49b6=_0x5a9fec[_0x124982(0x10e)](/\s+/gu,'\x20')[_0x124982(0x8a)]();return _0x5b49b6[_0x124982(0x11b)]<=0x10?_0x5b49b6:_0x5b49b6[_0x124982(0x11e)](0x0,0x10)+'…';}function A(_0x424a81){const _0x294078=_0x1377f6;return{'left':O(_0x424a81['left']),'top':O(_0x424a81[_0x294078(0xf9)]),'width':O(_0x424a81[_0x294078(0xbe)]),'height':O(_0x424a81[_0x294078(0x126)])};}function j(_0x422a7c){const _0x3d6b1d=_0x1377f6;let _0x124d92=_0x422a7c[_0x3d6b1d(0xd2)];return{'id':_0x422a7c[_0x3d6b1d(0xf2)],'content':_0x124d92[_0x3d6b1d(0x90)],'ink':A(_0x124d92[_0x3d6b1d(0xad)]),..._0x124d92[_0x3d6b1d(0x77)]===void 0x0?{}:{'color':_0x124d92['color']},..._0x124d92[_0x3d6b1d(0x135)]===void 0x0?{}:{'opacity':_0x124d92[_0x3d6b1d(0x135)]}};}function M(_0x5b98b0){const _0xd94282=_0x1377f6;return _0x5b98b0['color']===void 0x0&&_0x5b98b0[_0xd94282(0x135)]===void 0x0?'':''+(_0x5b98b0[_0xd94282(0x77)]===void 0x0?'':'\x20\x20'+_0x5b98b0[_0xd94282(0x77)])+(_0x5b98b0[_0xd94282(0x135)]===void 0x0?'':_0xd94282(0xbd)+_0x5b98b0[_0xd94282(0x135)]);}function N(_0xf3e812){const _0x65935b=_0x1377f6;return{'id':_0xf3e812['elementId'],'type':_0xf3e812[_0x65935b(0xb2)]===void 0x0?_0xf3e812[_0x65935b(0x112)]:_0xf3e812['elementType']+':'+_0xf3e812[_0x65935b(0xb2)],..._0xf3e812['fill']===void 0x0?{}:{'fill':_0xf3e812[_0x65935b(0xbb)]},'box':A(_0xf3e812[_0x65935b(0x11c)])};}function P(_0xfbac36){const _0x4e0b7f=_0x1377f6;if(_0xfbac36===void 0x0)return'no\x20fill';let _0x245106=_0xfbac36['opacity']===void 0x0||_0xfbac36[_0x4e0b7f(0x135)]===0x1?'':'\x20@'+_0xfbac36['opacity'];return((_0xfbac36[_0x4e0b7f(0x13e)]??'?')+'\x20'+(_0xfbac36['color']??'')+_0x245106)['trim']();}function F(_0x517a2c){const _0x494d79=_0x1377f6;return'('+_0x517a2c[_0x494d79(0xec)]+','+_0x517a2c[_0x494d79(0xf9)]+'\x20'+_0x517a2c[_0x494d79(0xbe)]+'×'+_0x517a2c[_0x494d79(0x126)]+')';}function I(_0x148dd3){const _0x4e35b0=_0x1377f6;let _0x534c2=_0x148dd3[_0x4e35b0(0xbb)];return!(_0x534c2===void 0x0||_0x534c2[_0x4e35b0(0x13e)]===_0x4e35b0(0xf3)||_0x534c2[_0x4e35b0(0x135)]!==void 0x0&&_0x534c2[_0x4e35b0(0x135)]<_||_0x148dd3['shapeType']===void 0x0||!v['has'](_0x148dd3[_0x4e35b0(0xb2)])||_0x148dd3[_0x4e35b0(0x149)]===!0x1);}function L(_0x149851,_0x2654d0,_0x2387f9){const _0x118ff7=_0x1377f6;let _0x37eb53=T(_0x149851[_0x118ff7(0xd2)][_0x118ff7(0xad)]),_0x128269;for(let _0x4eea08 of _0x2654d0){if(_0x4eea08[_0x118ff7(0x99)]>=_0x149851[_0x118ff7(0x99)]||!I(_0x4eea08))continue;let _0x11f10b=T(_0x4eea08[_0x118ff7(0x11c)]),_0x377cad=E(_0x11f10b);if(_0x377cad>=0.5*_0x2387f9[_0x118ff7(0x14c)]*_0x2387f9[_0x118ff7(0x114)])continue;let _0x336bd0=_0x37eb53['top']>=_0x11f10b[_0x118ff7(0xf9)]-p&&_0x37eb53['bottom']<=_0x11f10b['bottom']+p,_0x14194a=_0x37eb53[_0x118ff7(0xec)]>=_0x11f10b[_0x118ff7(0xec)]-p&&_0x37eb53[_0x118ff7(0xec)]<=_0x11f10b[_0x118ff7(0xca)]+p&&_0x37eb53[_0x118ff7(0xf9)]>=_0x11f10b['top']-p,_0x2de6ef=E(D(_0x37eb53,_0x11f10b))/Math['max'](E(_0x37eb53),0x1);!_0x336bd0||!_0x14194a||_0x2de6ef<0.35||(_0x128269===void 0x0||_0x377cad<_0x128269[_0x118ff7(0x13d)])&&(_0x128269={'element':_0x4eea08,'area':_0x377cad});}return _0x128269?.['element'];}function R(_0x35bc1b){const _0x303b0d=_0x1377f6;let _0x4a257d=[_0x35bc1b[_0x303b0d(0xec)]===void 0x0?'':_0x303b0d(0xf6)+_0x35bc1b[_0x303b0d(0xec)]+'px',_0x35bc1b['top']===void 0x0?'':_0x303b0d(0xdf)+_0x35bc1b[_0x303b0d(0xf9)]+'px',_0x35bc1b[_0x303b0d(0xca)]===void 0x0?'':'right\x20'+_0x35bc1b[_0x303b0d(0xca)]+'px',_0x35bc1b[_0x303b0d(0xb8)]===void 0x0?'':'bottom\x20'+_0x35bc1b[_0x303b0d(0xb8)]+'px'][_0x303b0d(0x12c)](_0xdf614c=>_0xdf614c!=='');return _0x4a257d[_0x303b0d(0x11b)]===0x0?'-':_0x4a257d[_0x303b0d(0xc6)](',\x20');}function z(_0x3a7774){const _0x1b8f71=_0x1377f6;if(typeof _0x3a7774!=_0x1b8f71(0x9e)||_0x3a7774['trim']()==='')throw new t('INVALID_INPUT',_0x1b8f71(0xae));return _0x3a7774;}export{t as UnitLayoutLintError,b as createUnitLayoutLint,n as isUnitLayoutLintError};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univer-cli/unit-layout-lint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.6.
|
|
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,6 +18,6 @@
|
|
|
18
18
|
"README.zh-CN.md"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@univer-cli/univer-render-runtime": "1.6.
|
|
21
|
+
"@univer-cli/univer-render-runtime": "1.6.1"
|
|
22
22
|
}
|
|
23
23
|
}
|