@processandtools/rp-article-designer 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const a1_0x3c608e=a1_0x5acd;(function(_0x326388,_0x16e71b){const _0x1a40b6=a1_0x5acd,_0x4b47cf=_0x326388();while(!![]){try{const _0x27affa=-parseInt(_0x1a40b6(0x184))/0x1*(-parseInt(_0x1a40b6(0x1c2))/0x2)+-parseInt(_0x1a40b6(0xb1))/0x3+parseInt(_0x1a40b6(0x202))/0x4+-parseInt(_0x1a40b6(0x127))/0x5*(-parseInt(_0x1a40b6(0xcf))/0x6)+-parseInt(_0x1a40b6(0x23d))/0x7*(-parseInt(_0x1a40b6(0x17b))/0x8)+-parseInt(_0x1a40b6(0xfc))/0x9+-parseInt(_0x1a40b6(0x112))/0xa;if(_0x27affa===_0x16e71b)break;else _0x4b47cf['push'](_0x4b47cf['shift']());}catch(_0x15aff5){_0x4b47cf['push'](_0x4b47cf['shift']());}}}(a1_0x1224,0xd3085));var Be=Object['defineProperty'],He=(_0x3aa4eb,_0x3d47dc,_0x412474)=>_0x3d47dc in _0x3aa4eb?Be(_0x3aa4eb,_0x3d47dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x412474}):_0x3aa4eb[_0x3d47dc]=_0x412474,C=(_0x232ea6,_0x3cc7da,_0x399865)=>He(_0x232ea6,typeof _0x3cc7da!='symbol'?_0x3cc7da+'':_0x3cc7da,_0x399865);import{jsx as a1_0x404de2,jsxs as a1_0x396ee5,Fragment as a1_0x32a4ce}from'react/jsx-runtime';import{createContext as a1_0x32ef47,useState as a1_0x21cd9c,useCallback as a1_0x4f948e,useMemo as a1_0x3fa351,useEffect as a1_0x29def0,useContext as a1_0x409691,Fragment as a1_0x3d7b58}from'react';import{Edges as a1_0x1bbb2a,Text as a1_0x325b09}from'@react-three/drei';const F=a1_0x32ef47(void 0x0);function We({data:_0xf0a288,children:_0x423380,names:_0x19f3cd}){const _0x44ca00=a1_0x5acd,_0x5a1935=_0xf0a288,[_0x59958f,_0x1a498e]=a1_0x21cd9c(_0x5a1935),[_0x3c359c,_0x5c3eb0]=a1_0x21cd9c(null),[_0x53db48,_0xefefcb]=a1_0x21cd9c(null),_0x1b6752=a1_0x4f948e(_0x24e045=>({'anglElems':_0x59958f[_0x44ca00(0x1f6)]['filter'](_0x59614f=>_0x59614f[_0x44ca00(0xc3)]===_0x24e045),'anglZones':_0x59958f['anglzone']['filter'](_0x51b0b7=>_0x51b0b7[_0x44ca00(0xc3)]===_0x24e045),'anglPrims':_0x59958f[_0x44ca00(0xa3)]['filter'](_0x48f13b=>_0x48f13b[_0x44ca00(0xc3)]===_0x24e045),'anglClies':_0x59958f[_0x44ca00(0x1a9)][_0x44ca00(0x190)](_0x43e0cd=>_0x43e0cd['NAME']===_0x24e045),'anglGrtxs':_0x59958f[_0x44ca00(0x134)]['filter'](_0x4901f7=>_0x4901f7['NAME']===_0x24e045)}),[_0x59958f]),{anglElems:_0x5e86ee,anglZones:_0x82291d,anglPrims:_0xe48bbb,anglClies:_0x583984,anglGrtxs:_0x8b25a5}=a1_0x3fa351(()=>_0x19f3cd&&_0x19f3cd[_0x44ca00(0x13f)]>0x0?{'anglElems':_0x59958f[_0x44ca00(0x1f6)][_0x44ca00(0x190)](_0x406368=>_0x19f3cd[_0x44ca00(0x1a0)](_0x406368['NAME'])),'anglZones':_0x59958f['anglzone'][_0x44ca00(0x190)](_0x32555a=>_0x19f3cd[_0x44ca00(0x1a0)](_0x32555a[_0x44ca00(0xc3)])),'anglPrims':_0x59958f[_0x44ca00(0xa3)]['filter'](_0x550647=>_0x19f3cd[_0x44ca00(0x1a0)](_0x550647['NAME'])),'anglClies':_0x59958f[_0x44ca00(0x1a9)][_0x44ca00(0x190)](_0x3df692=>_0x19f3cd[_0x44ca00(0x1a0)](_0x3df692[_0x44ca00(0xc3)])),'anglGrtxs':_0x59958f[_0x44ca00(0x134)][_0x44ca00(0x190)](_0x23aded=>_0x19f3cd[_0x44ca00(0x1a0)](_0x23aded[_0x44ca00(0xc3)]))}:{'anglElems':_0x59958f[_0x44ca00(0x1f6)],'anglZones':_0x59958f[_0x44ca00(0x181)],'anglPrims':_0x59958f['anglprim'],'anglClies':_0x59958f[_0x44ca00(0x1a9)],'anglGrtxs':_0x59958f[_0x44ca00(0x134)]},[_0x59958f,_0x19f3cd]),_0x26c33a={'anglElems':_0x5e86ee,'anglZones':_0x82291d,'anglPrims':_0xe48bbb,'anglClies':_0x583984,'anglGrtxs':_0x8b25a5,'selectedElem':_0x3c359c,'setSelectedElem':_0x5c3eb0,'hoveredElem':_0x53db48,'setHoveredElem':_0xefefcb,'updateAnglPrim':(_0x246f0d,_0x1465d1,_0x5ea938)=>{const _0x21c1c8=_0x44ca00;_0x1a498e(_0x37bc14=>({..._0x37bc14,'anglprim':_0x37bc14['anglprim'][_0x21c1c8(0xf3)](_0x170413=>_0x170413[_0x21c1c8(0xc3)]===_0x246f0d?{..._0x170413,[_0x1465d1]:_0x5ea938}:_0x170413)}));},'updateAnglElem':(_0x1cab87,_0x3d1a06,_0x89db6,_0x221808)=>{const _0x6f42ed=_0x44ca00;_0x1a498e(_0x31d1f3=>({..._0x31d1f3,'anglelem':_0x31d1f3[_0x6f42ed(0x1f6)][_0x6f42ed(0xf3)](_0x319827=>_0x319827['TREEID']===_0x3d1a06&&_0x319827[_0x6f42ed(0xc3)]===_0x1cab87?{..._0x319827,[_0x89db6]:_0x221808}:_0x319827)}));},'updateAnglZone':(_0x52ce6b,_0x161fb1,_0x13044b,_0x2e673d)=>{const _0x55d8ae=_0x44ca00;_0x1a498e(_0x5a44d2=>({..._0x5a44d2,'anglzone':_0x5a44d2['anglzone'][_0x55d8ae(0xf3)](_0x2fd053=>_0x2fd053[_0x55d8ae(0xe8)]===_0x161fb1&&_0x2fd053[_0x55d8ae(0xc3)]===_0x52ce6b?{..._0x2fd053,[_0x13044b]:_0x2e673d}:_0x2fd053)}));},'updateAnglClie':(_0x390b53,_0x4b0485,_0x142a72,_0x541ea6,_0x183ed3)=>{const _0x4dc89f=_0x44ca00;_0x1a498e(_0x2aa959=>({..._0x2aa959,'anglclie':_0x2aa959[_0x4dc89f(0x1a9)][_0x4dc89f(0xf3)](_0x4b2738=>_0x4b2738[_0x4dc89f(0xe8)]===_0x4b0485&&_0x4b2738[_0x4dc89f(0xe3)]===_0x142a72&&_0x4b2738['DATATYPE']===_0x183ed3&&_0x4b2738[_0x4dc89f(0xc3)]===_0x390b53?{..._0x4b2738,'TAGVALUE':_0x541ea6,'DATE_LASTCHANGE':new Date()[_0x4dc89f(0xdd)]()}:_0x4b2738)}));},'updateAnglGrtx':(_0x42c2e7,_0xdabfa9,_0x419603,_0x4317c1)=>{const _0x5a6d26=_0x44ca00;_0x1a498e(_0x1aa816=>({..._0x1aa816,'anglgrtx':_0x1aa816[_0x5a6d26(0x134)]['map'](_0x270901=>_0x270901[_0x5a6d26(0xe8)]===_0xdabfa9&&_0x270901[_0x5a6d26(0xf1)]===_0x419603&&_0x270901['NAME']===_0x42c2e7?{..._0x270901,'TEXT':_0x4317c1,'DATE_LASTCHANGE':new Date()[_0x5a6d26(0xdd)]()}:_0x270901)}));},'getArticleData':_0x1b6752,'allData':_0x59958f};return a1_0x404de2(F['Provider'],{'value':_0x26c33a,'children':_0x423380});}const _e=a1_0x32ef47(null);function be({children:_0x1e8f97,articleName:_0x6ab12b,dimensionOverrides:_0x34d697}){const _0x563eb1={'articleName':_0x6ab12b,'dimensionOverrides':_0x34d697};return a1_0x404de2(_e['Provider'],{'value':_0x563eb1,'children':_0x1e8f97});}const ke=a1_0x32ef47(void 0x0);var P=(_0x2344b2=>(_0x2344b2[_0x2344b2[a1_0x3c608e(0xa0)]=0x3]=a1_0x3c608e(0xa0),_0x2344b2[_0x2344b2[a1_0x3c608e(0x229)]=0x4]='Material',_0x2344b2[_0x2344b2[a1_0x3c608e(0x19a)]=0x64]=a1_0x3c608e(0x19a),_0x2344b2[_0x2344b2[a1_0x3c608e(0x1c9)]=0x78]=a1_0x3c608e(0x1c9),_0x2344b2))(P||{});function me(_0x3ccf72){const _0x4772c3=a1_0x3c608e;return new Map(_0x3ccf72[_0x4772c3(0xf3)](_0x2a3f83=>[_0x2a3f83[_0x4772c3(0xc3)],_0x2a3f83]));}function ce(_0x224a91,_0x16f669,_0x47bb70=new Set()){const _0x58fe51=a1_0x3c608e,_0x50e774=_0x16f669[_0x58fe51(0xcc)](_0x224a91);if(!_0x50e774)return;if(_0x47bb70[_0x58fe51(0x228)](_0x224a91)){console[_0x58fe51(0x1bd)](_0x58fe51(0x1d9)+[..._0x47bb70,_0x224a91]['join']('\x20->\x20'));return;}const _0xbf1c05=_0x50e774[_0x58fe51(0x1d1)];if(_0xbf1c05[_0x58fe51(0x1cd)]('$')&&_0x50e774[_0x58fe51(0x152)]!=P[_0x58fe51(0x1c9)]){const _0x59a5dc=_0xbf1c05[_0x58fe51(0x1ec)](0x1);return _0x47bb70[_0x58fe51(0x20f)](_0x224a91),ce(_0x59a5dc,_0x16f669,_0x47bb70);}const _0x41a819=Number(_0xbf1c05);return isNaN(_0x41a819)?_0xbf1c05:_0x41a819;}function Ae(_0x4320ed,_0x1efdc1,_0x16df00){const _0xe786f5=a1_0x3c608e,_0x1b7db1=_0x16df00[_0xe786f5(0xcc)](_0x4320ed);if(!_0x1b7db1)return console[_0xe786f5(0x155)](_0xe786f5(0x204)+_0x4320ed+_0xe786f5(0x1ea)),_0x16df00;const _0x405e8b=new Map(_0x16df00);return _0x405e8b[_0xe786f5(0x1f7)](_0x4320ed,{..._0x1b7db1,'WERT':String(_0x1efdc1)}),_0x405e8b;}function de(_0xcd5c27,_0x35847f){const _0x51d3e0=a1_0x3c608e;return _0xcd5c27[_0x51d3e0(0x141)](/\$([A-Za-z_][A-Za-z0-9_]*)/g,(_0x32e987,_0x3a6718)=>{const _0x2c3da3=ce(_0x3a6718,_0x35847f);return _0x2c3da3!==void 0x0?String(_0x2c3da3):_0x32e987;});}function ge(_0x181904){return/\$[A-Za-z_][A-Za-z0-9_]*/g['test'](_0x181904);}function Xe(_0x5d6717){const _0x504f9c=a1_0x3c608e,_0x29f33c=_0x5d6717[_0x504f9c(0x21a)](/\$([A-Za-z_][A-Za-z0-9_]*)/g);return Array[_0x504f9c(0x18a)](_0x29f33c,_0x107323=>_0x107323[0x1]);}const nr=Object[a1_0x3c608e(0x236)](Object[a1_0x3c608e(0xe6)]({'__proto__':null,'createVariableTree':me,'extractVariableNames':Xe,'getValue':ce,'hasVariables':ge,'resolveString':de,'setValue':Ae},Symbol[a1_0x3c608e(0xfa)],{'value':'Module'}));function je({children:_0x444096,imosVariables:_0x86fca6}){const [_0xae2194,_0xcf73d4]=a1_0x21cd9c(()=>me(_0x86fca6));a1_0x29def0(()=>{_0xcf73d4(me(_0x86fca6));},[_0x86fca6]);const _0x258aec=a1_0x4f948e((_0x5650c3,_0x1a458f)=>{_0xcf73d4(_0x40a1de=>Ae(_0x5650c3,_0x1a458f,_0x40a1de));},[]),_0x4fe033={'tree':_0xae2194,'setValue':_0x258aec};return a1_0x404de2(ke['Provider'],{'value':_0x4fe033,'children':_0x444096});}const De=a1_0x32ef47(null),Ne=_0x30f7d5=>{const _0x3e828c=Number(_0x30f7d5);return isNaN(_0x3e828c)?null:_0x3e828c;},Y=_0xec857e=>_0xec857e==null?'':String(_0xec857e),z=(_0x579475,_0x159bf1,_0x2ab9e1)=>{const _0x22f641=Ne(_0x579475),_0x2c70b9=Ne(_0x159bf1);return _0x22f641===null||_0x2c70b9===null?!0x1:_0x2ab9e1(_0x22f641,_0x2c70b9);},K=(_0x2752f8,_0x12bc99,_0xeed16)=>_0x2752f8==null||_0x12bc99==null?!0x1:_0xeed16(Y(_0x2752f8),Y(_0x12bc99)),qe={'=':(_0x1a4198,_0x5aa55d)=>_0x1a4198==null||_0x5aa55d==null?_0x1a4198===_0x5aa55d:Y(_0x1a4198)[a1_0x3c608e(0xee)]()===Y(_0x5aa55d)[a1_0x3c608e(0xee)](),'!=':(_0x2b8f08,_0x22398c)=>_0x2b8f08==null||_0x22398c==null?_0x2b8f08!==_0x22398c:Y(_0x2b8f08)[a1_0x3c608e(0xee)]()!==Y(_0x22398c)[a1_0x3c608e(0xee)](),'>':(_0x5cc9fe,_0x4cc9c8)=>z(_0x5cc9fe,_0x4cc9c8,(_0x3b60f4,_0x3d1d45)=>_0x3b60f4>_0x3d1d45),'<':(_0x302eec,_0x374d9c)=>z(_0x302eec,_0x374d9c,(_0x560353,_0x301a44)=>_0x560353<_0x301a44),'>=':(_0x20a6f9,_0x2b03f3)=>z(_0x20a6f9,_0x2b03f3,(_0x3f9b5e,_0x33455e)=>_0x3f9b5e>=_0x33455e),'<=':(_0x1aefd9,_0x207755)=>z(_0x1aefd9,_0x207755,(_0x3e2800,_0x63ea10)=>_0x3e2800<=_0x63ea10),'&gt;':(_0x53e7aa,_0x307786)=>z(_0x53e7aa,_0x307786,(_0x4650ef,_0x7dbe93)=>_0x4650ef>_0x7dbe93),'&gt;=':(_0x3d01b4,_0x507a31)=>z(_0x3d01b4,_0x507a31,(_0x127997,_0x4a6e74)=>_0x127997>=_0x4a6e74),'&lt;':(_0x1a7472,_0x3b2b24)=>z(_0x1a7472,_0x3b2b24,(_0x4743d5,_0x4681f8)=>_0x4743d5<_0x4681f8),'&lt;=':(_0x40741e,_0x49eea7)=>z(_0x40741e,_0x49eea7,(_0x31b367,_0x4660de)=>_0x31b367<=_0x4660de),'B':(_0x23fabc,_0x2cf84e)=>K(_0x23fabc,_0x2cf84e,(_0x553c3e,_0x5cd714)=>_0x553c3e[a1_0x3c608e(0x1cd)](_0x5cd714)),'!B':(_0x5182f9,_0x48fd47)=>K(_0x5182f9,_0x48fd47,(_0x857aae,_0x5b5a28)=>!_0x857aae[a1_0x3c608e(0x1cd)](_0x5b5a28)),'E':(_0x4159c0,_0x880253)=>K(_0x4159c0,_0x880253,(_0x515aba,_0x13a36c)=>_0x515aba['endsWith'](_0x13a36c)),'!E':(_0xc28909,_0x15d6ae)=>K(_0xc28909,_0x15d6ae,(_0x18cb00,_0x2ecd20)=>!_0x18cb00['endsWith'](_0x2ecd20)),'C':(_0x110446,_0x106514)=>K(_0x110446,_0x106514,(_0xbe4496,_0x5a413f)=>_0xbe4496[a1_0x3c608e(0x1a0)](_0x5a413f)),'!C':(_0x43e848,_0x2dd74b)=>K(_0x43e848,_0x2dd74b,(_0xaaadf4,_0x590441)=>!_0xaaadf4[a1_0x3c608e(0x1a0)](_0x590441))},Je={'Zusatzfilter\x203':a1_0x3c608e(0x1f1),'Zusatzfilter\x204':a1_0x3c608e(0x22c)};function we(_0xc3fdfb,_0x4ab044={}){const _0x412fcc=a1_0x3c608e,{variableTree:_0x176aaa,dataType:_0x5e2e80,silent:_0x509d8e=!0x1,allowFunctions:_0x158123=!0x0}=_0x4ab044,_0x13d955=/^(.+?)\s*(mm|cm|m|in|ft|px|pt|%|deg|rad)$/i,_0x118853={'value':void 0x0,'original':_0xc3fdfb,'resolved':_0xc3fdfb,'hadVariables':!0x1,'wasEvaluated':!0x1};try{let _0x95a802=_0xc3fdfb['trim'](),_0x1d1c6e;if(_0x13d955[_0x412fcc(0x1e5)](_0x95a802)){const _0x5c3d2c=_0x95a802[_0x412fcc(0xe5)](_0x13d955);_0x5c3d2c&&(_0x95a802=_0x5c3d2c[0x1][_0x412fcc(0xee)](),_0x1d1c6e=_0x5c3d2c[0x2]);}_0x176aaa&&ge(_0x95a802)&&(_0x118853['hadVariables']=!0x0,_0x95a802=de(_0x95a802,_0x176aaa),_0x118853[_0x412fcc(0x1f4)]=_0x95a802),Ce(_0x95a802)?(_0x118853[_0x412fcc(0x1a7)]=!0x0,_0x118853['value']=Le(_0x95a802,_0x158123)):Ee(_0x95a802)?(_0x118853[_0x412fcc(0x1a7)]=!0x0,_0x118853['value']=Se(_0x95a802,_0x158123)):_0x118853[_0x412fcc(0x22a)]=et(_0x95a802,_0x5e2e80);}catch(_0x52eed4){_0x118853['error']=_0x52eed4 instanceof Error?_0x52eed4['message']:String(_0x52eed4),_0x509d8e||console[_0x412fcc(0x1bd)]('[ExpressionResolver]\x20Failed\x20to\x20resolve:\x20\x22'+_0xc3fdfb+'\x22',_0x52eed4),_0x118853[_0x412fcc(0x22a)]=_0xc3fdfb;}return _0x118853;}function se(_0x5a73e2,_0x1b8bcf={}){const _0x23e566=a1_0x3c608e;return we(_0x5a73e2,_0x1b8bcf)[_0x23e566(0x22a)];}function Ce(_0x4c09f7){const _0x3f6f27=a1_0x3c608e;return!_0x4c09f7||typeof _0x4c09f7!=_0x3f6f27(0x1f8)?!0x1:/^\s*IF\s*\(/i['test'](_0x4c09f7['trim']());}function Le(_0x59a697,_0x5e4cd9=!0x0){const _0x3c7648=a1_0x3c608e,_0x3828ee=_0x59a697[_0x3c7648(0xee)]()[_0x3c7648(0xe5)](/^IF\s*\((.*)\)\s*$/i);if(!_0x3828ee)throw new Error('Invalid\x20IF\x20statement:\x20'+_0x59a697);const _0x487fda=_0x3828ee[0x1],_0x2521db=Qe(_0x487fda);if(_0x2521db[_0x3c7648(0x13f)]!==0x3)throw new Error(_0x3c7648(0x1d0)+_0x2521db[_0x3c7648(0x13f)]+_0x3c7648(0x15b));const [_0x5a39fc,_0x1aa72a,_0x16948b]=_0x2521db,_0x2f3ea0=ie(_0x5a39fc[_0x3c7648(0xee)](),_0x5e4cd9)?_0x1aa72a[_0x3c7648(0xee)]():_0x16948b['trim']();if(Ce(_0x2f3ea0))return Le(_0x2f3ea0,_0x5e4cd9);if(Ee(_0x2f3ea0))return Se(_0x2f3ea0,_0x5e4cd9);{const _0x10a0cd=Number(_0x2f3ea0);return isNaN(_0x10a0cd)?_0x2f3ea0:_0x10a0cd;}}function Qe(_0x32068f){const _0x3d3e81=a1_0x3c608e,_0x1c0195=[];let _0x179810='',_0x35a984=0x0;for(let _0x264d0e=0x0;_0x264d0e<_0x32068f[_0x3d3e81(0x13f)];_0x264d0e++){const _0x8f30d6=_0x32068f[_0x264d0e];_0x8f30d6==='('?(_0x35a984++,_0x179810+=_0x8f30d6):_0x8f30d6===')'?(_0x35a984--,_0x179810+=_0x8f30d6):_0x8f30d6===','&&_0x35a984===0x0?(_0x1c0195[_0x3d3e81(0x17e)](_0x179810),_0x179810=''):_0x179810+=_0x8f30d6;}return _0x179810&&_0x1c0195[_0x3d3e81(0x17e)](_0x179810),_0x1c0195;}function ie(_0x211fb7,_0x5660a3){const _0x166035=a1_0x3c608e;if(/\bAND\b/i[_0x166035(0x1e5)](_0x211fb7))return _0x211fb7[_0x166035(0x1b9)](/\bAND\b/i)[_0x166035(0xf8)](_0x559873=>ie(_0x559873['trim'](),_0x5660a3));if(/\bOR\b/i[_0x166035(0x1e5)](_0x211fb7))return _0x211fb7[_0x166035(0x1b9)](/\bOR\b/i)[_0x166035(0x113)](_0x22f9c5=>ie(_0x22f9c5[_0x166035(0xee)](),_0x5660a3));if(/^\s*NOT\s+/i[_0x166035(0x1e5)](_0x211fb7)){const _0x1239cc=_0x211fb7['replace'](/^\s*NOT\s+/i,'')[_0x166035(0xee)]();return!ie(_0x1239cc,_0x5660a3);}const _0x5950e6=_0x211fb7[_0x166035(0xe5)](/(.+?)(<=|>=|!=|<>|=|<|>)(.+)/);if(!_0x5950e6)throw new Error(_0x166035(0x166)+_0x211fb7);const [,_0x2d5c71,_0x4a8685,_0x945fc9]=_0x5950e6,_0xcdc312=Te(_0x2d5c71[_0x166035(0xee)](),_0x5660a3),_0x80c11a=Te(_0x945fc9['trim'](),_0x5660a3);switch(_0x4a8685){case'=':return _0xcdc312===_0x80c11a;case'!=':case'<>':return _0xcdc312!==_0x80c11a;case'<':return _0xcdc312<_0x80c11a;case'>':return _0xcdc312>_0x80c11a;case'<=':return _0xcdc312<=_0x80c11a;case'>=':return _0xcdc312>=_0x80c11a;default:throw new Error(_0x166035(0x1e2)+_0x4a8685);}}function Te(_0x254ebf,_0x5e76c6){const _0x142555=a1_0x3c608e;if(_0x254ebf['startsWith']('\x22')&&_0x254ebf[_0x142555(0x1d4)]('\x22')||_0x254ebf['startsWith']('\x27')&&_0x254ebf[_0x142555(0x1d4)]('\x27'))return _0x254ebf[_0x142555(0x1ec)](0x1,-0x1);if(Ee(_0x254ebf))return Se(_0x254ebf,_0x5e76c6);const _0x1bd4b0=Number(_0x254ebf);return isNaN(_0x1bd4b0)?_0x254ebf:_0x1bd4b0;}function Ee(_0x1a3420){const _0x3f5b0c=a1_0x3c608e;if(!_0x1a3420||typeof _0x1a3420!=_0x3f5b0c(0x1f8))return!0x1;const _0xe8082f=_0x1a3420['trim']();return/[+\-*/()]/[_0x3f5b0c(0x1e5)](_0xe8082f)?/^[\d\s+\-*/().,a-z]+$/i['test'](_0xe8082f):!0x1;}const he=new Map();function Se(_0x49ffb3,_0x493854=!0x0){const _0x5d71bb=a1_0x3c608e,_0x49bbb5=_0x49ffb3[_0x5d71bb(0xee)](),_0x1185ce=_0x49bbb5+':'+_0x493854;if(he[_0x5d71bb(0x228)](_0x1185ce))return he[_0x5d71bb(0xcc)](_0x1185ce);let _0x5c6e4c=_0x49bbb5[_0x5d71bb(0x141)](/\s+/g,'');if(_0x493854&&(_0x5c6e4c=_0x5c6e4c['replace'](/round\(/g,'Math.round(')[_0x5d71bb(0x141)](/floor\(/g,_0x5d71bb(0x150))['replace'](/ceil\(/g,_0x5d71bb(0x214))['replace'](/abs\(/g,'Math.abs(')[_0x5d71bb(0x141)](/min\(/g,_0x5d71bb(0xa7))[_0x5d71bb(0x141)](/max\(/g,'Math.max(')[_0x5d71bb(0x141)](/pow\(/g,_0x5d71bb(0x17c))[_0x5d71bb(0x141)](/sqrt\(/g,_0x5d71bb(0x1cc))),!(_0x493854?/^[\d+\-*/().,a-zA-Z]+$/:/^[\d+\-*/().]+$/)[_0x5d71bb(0x1e5)](_0x5c6e4c))throw new Error('Expression\x20contains\x20invalid\x20characters:\x20'+_0x49ffb3);if(!_0x5c6e4c)throw new Error(_0x5d71bb(0xe1));try{const _0x53a57e=Function(_0x5d71bb(0x233)+_0x5c6e4c+')')();if(typeof _0x53a57e!='number'||isNaN(_0x53a57e))throw new Error('Expression\x20did\x20not\x20evaluate\x20to\x20a\x20number:\x20'+_0x49ffb3);return he[_0x5d71bb(0x1f7)](_0x1185ce,_0x53a57e),_0x53a57e;}catch(_0x301e7d){throw new Error(_0x5d71bb(0x9b)+_0x49ffb3+_0x5d71bb(0xe0)+_0x301e7d);}}function et(_0xe3b683,_0x473d02){const _0x367827=a1_0x3c608e;if(!_0x473d02){const _0x3ead7f=Number(_0xe3b683);return isNaN(_0x3ead7f)?_0xe3b683:_0x3ead7f;}switch(_0x473d02[_0x367827(0x1ed)]()){case'FL':return parseFloat(_0xe3b683);case'IN':return parseInt(_0xe3b683,0xa);case'CI':case'CS':case'ST':return _0xe3b683;case'DA':return new Date(_0xe3b683)[_0x367827(0xdd)]();default:const _0x1845eb=Number(_0xe3b683);return isNaN(_0x1845eb)?_0xe3b683:_0x1845eb;}}const tt=_0x54bf3f=>Je[_0x54bf3f]||_0x54bf3f,W=class W{};C(W,a1_0x3c608e(0x20b),(_0x36c5d,_0x3504a9,_0x3708e7)=>_0x36c5d?_0x36c5d['roots'][a1_0x3c608e(0xf8)](_0x4bcfe7=>W[a1_0x3c608e(0xe2)](_0x4bcfe7,_0x3504a9,_0x3708e7)):!0x1),C(W,'evaluateNode',(_0xe4ca9f,_0x515584,_0x5947ea)=>{const _0x41b3ec=a1_0x3c608e;if(!_0xe4ca9f)return!0x1;if(_0xe4ca9f[_0x41b3ec(0x237)]===_0x41b3ec(0x1fe)){let _0x25bbbb=_0xe4ca9f['data'][_0x41b3ec(0x1b1)];const _0x157ffe=tt(_0xe4ca9f[_0x41b3ec(0x15c)][_0x41b3ec(0x1b1)]);_0x515584[_0x157ffe]!==void 0x0?_0x25bbbb=_0x515584[_0x157ffe]:_0x25bbbb=se(_0xe4ca9f[_0x41b3ec(0x15c)][_0x41b3ec(0x1b1)],{'variableTree':_0x5947ea,'dataType':_0xe4ca9f[_0x41b3ec(0x15c)]['DATATYPE'],'silent':!0x0});const _0xfbf8d=se(_0xe4ca9f[_0x41b3ec(0x15c)][_0x41b3ec(0x135)],{'variableTree':_0x5947ea,'dataType':_0xe4ca9f['data']['DATATYPE'],'silent':!0x0});return qe[_0xe4ca9f[_0x41b3ec(0x15c)][_0x41b3ec(0x175)]](_0x25bbbb,_0xfbf8d);}if(_0xe4ca9f[_0x41b3ec(0x237)]==='operation'){const _0x1aba31=_0xe4ca9f['children']['map'](_0x46c1e4=>W[_0x41b3ec(0xe2)](_0x46c1e4,_0x515584,_0x5947ea));switch(_0xe4ca9f['data'][_0x41b3ec(0x115)]){case _0x41b3ec(0xc7):return _0x1aba31[_0x41b3ec(0xf8)](Boolean);case'OR':return _0x1aba31['some'](Boolean);case _0x41b3ec(0x1f2):return!_0x1aba31[_0x41b3ec(0xf8)](Boolean);case _0x41b3ec(0x143):return!_0x1aba31[_0x41b3ec(0x113)](Boolean);default:return!0x1;}}return!0x1;});let ae=W;class Me{static['evaluate'](_0x5e828b,_0x41fc04,_0x50e0e6){const _0x26db13=a1_0x3c608e,_0x18bbea=_0x5e828b[_0x26db13(0x13d)]['find'](_0x42f2a6=>_0x42f2a6[_0x26db13(0xad)]===0x0||_0x42f2a6[_0x26db13(0x22e)]===null);for(const _0x16934a of _0x5e828b[_0x26db13(0x13d)]){if(_0x16934a[_0x26db13(0xad)]===0x0||_0x16934a[_0x26db13(0x22e)]===null)continue;if(ae[_0x26db13(0x20b)](_0x16934a[_0x26db13(0x22e)],_0x41fc04,_0x50e0e6))return{'lindiv':_0x16934a['lindiv'],'nodeNum':_0x16934a['nodeNum'],'matched':!0x0,'isDefault':!0x1,'descriptorType':_0x5e828b[_0x26db13(0x95)]['DESC_TYPE']};}if(_0x18bbea)return{'lindiv':_0x18bbea[_0x26db13(0xa2)],'nodeNum':_0x18bbea[_0x26db13(0x144)],'matched':!0x1,'isDefault':!0x0,'descriptorType':_0x5e828b[_0x26db13(0x95)][_0x26db13(0x93)]};throw new Error('No\x20matching\x20node\x20found\x20and\x20no\x20default\x20node\x20exists');}static[a1_0x3c608e(0x146)](_0x43f245,_0x77028b,_0x663f60){const _0x34c5bf=a1_0x3c608e,_0x42290a=[];for(const _0x2be078 of _0x43f245[_0x34c5bf(0x13d)]){if(_0x2be078[_0x34c5bf(0xad)]===0x0||_0x2be078[_0x34c5bf(0x22e)]===null)continue;ae['evaluateTree'](_0x2be078[_0x34c5bf(0x22e)],_0x77028b,_0x663f60)&&_0x42290a[_0x34c5bf(0x17e)](_0x2be078);}return _0x42290a;}}class rt{constructor(_0x5d845d,_0x18d19e){const _0x45e69d=a1_0x3c608e;C(this,_0x45e69d(0x21b)),C(this,_0x45e69d(0xaf)),(this[_0x45e69d(0x21b)]=new Map(_0x5d845d[_0x45e69d(0xf3)](_0xf78453=>[_0xf78453[_0x45e69d(0x95)][_0x45e69d(0xc3)],_0xf78453])),this[_0x45e69d(0xaf)]=_0x18d19e);}['evaluate'](_0x4d1884,_0x87f396){const _0x32fd54=a1_0x3c608e,_0x247015=this[_0x32fd54(0x11a)](_0x4d1884);if(!_0x247015)throw new Error('Descriptor\x20not\x20found:\x20'+_0x4d1884);return Me['evaluate'](_0x247015,_0x87f396,this[_0x32fd54(0xaf)]);}['getDescriptor'](_0x58a0a2){const _0x2d2682=a1_0x3c608e;return this[_0x2d2682(0x21b)]['get'](_0x58a0a2);}[a1_0x3c608e(0x201)](_0x2ebfa8){const _0x594edf=a1_0x3c608e;return this[_0x594edf(0x21b)][_0x594edf(0x228)](_0x2ebfa8);}[a1_0x3c608e(0xf6)](){const _0x228155=a1_0x3c608e;return Array[_0x228155(0x18a)](this[_0x228155(0x21b)][_0x228155(0x1ae)]());}[a1_0x3c608e(0x130)](_0x47edd7){const _0xf068ca=a1_0x3c608e;return Array[_0xf068ca(0x18a)](this['descriptors']['values']())['filter'](_0x25da8d=>_0x25da8d[_0xf068ca(0x95)][_0xf068ca(0x93)]===_0x47edd7);}[a1_0x3c608e(0x99)](_0x24bb50,_0xab9105){const _0x520ba9=a1_0x3c608e,_0x3e0346=this['getDescriptor'](_0x24bb50);if(!_0x3e0346)throw new Error(_0x520ba9(0xc1)+_0x24bb50);return Me[_0x520ba9(0x146)](_0x3e0346,_0xab9105,this['variableTree']);}[a1_0x3c608e(0x1ac)](){const _0x15be1e=a1_0x3c608e,_0x3fcebe={};for(const _0x4b8df8 of this['descriptors'][_0x15be1e(0x200)]()){const _0x1ef997=_0x4b8df8[_0x15be1e(0x95)][_0x15be1e(0x93)];_0x3fcebe[_0x1ef997]=(_0x3fcebe[_0x1ef997]||0x0)+0x1;}return{'total':this[_0x15be1e(0x21b)][_0x15be1e(0xa9)],'byType':_0x3fcebe,'names':this['getDescriptorNames']()};}}function j(){const _0x392102=a1_0x3c608e,_0x4bbf28=a1_0x409691(ke);if(!_0x4bbf28)throw new Error(_0x392102(0xda));const {tree:_0x49bb2d,setValue:_0x1570c4}=_0x4bbf28,_0x1b3694=a1_0x3fa351(()=>_0x45bfa7=>ce(_0x45bfa7,_0x49bb2d),[_0x49bb2d]),_0x13500d=a1_0x3fa351(()=>_0x25401a=>de(_0x25401a,_0x49bb2d),[_0x49bb2d]),_0x41d722=a1_0x3fa351(()=>_0x58f40b=>ge(_0x58f40b),[]);return{'tree':_0x49bb2d,'getValue':_0x1b3694,'resolveString':_0x13500d,'hasVariables':_0x41d722,'setValue':_0x1570c4};}function it({children:_0x187777,descriptorData:_0x3855ec}){const _0x44b88a=a1_0x3c608e,_0x49bfa6=j(),_0x4b7563=a1_0x3fa351(()=>new rt(_0x3855ec,_0x49bfa6[_0x44b88a(0x97)]),[_0x3855ec,_0x49bfa6]);return a1_0x404de2(De['Provider'],{'value':_0x4b7563,'children':_0x187777});}var x=(_0x4375d9=>(_0x4375d9['_2D_TOP']=a1_0x3c608e(0x117),_0x4375d9[a1_0x3c608e(0x192)]=a1_0x3c608e(0x116),_0x4375d9[a1_0x3c608e(0x1d6)]='3D',_0x4375d9))(x||{});const fe=0x0,nt=0x1,Oe=_0x9f041c=>_0x9f041c+'.0',Pe=_0xfe528c=>_0xfe528c+'.1',Ve=_0x29d18f=>_0x29d18f+'.2',Re=_0x2467b0=>_0x2467b0+'.3',ve=_0x358ae4=>_0x358ae4[a1_0x3c608e(0xc0)](0x0,_0x358ae4[a1_0x3c608e(0x10c)]('.')),st=_0x295758=>{const _0x5ed5de=ve(_0x295758),_0x4988eb=($e(_0x295758)+0x3)%0x4;return _0x5ed5de+'.'+_0x4988eb;},at=_0x705ba5=>{const _0x2f7968=ve(_0x705ba5),_0x174994=($e(_0x705ba5)+0x1)%0x4;return _0x2f7968+'.'+_0x174994;},$e=_0x251a45=>parseInt(_0x251a45[a1_0x3c608e(0xc0)](_0x251a45[a1_0x3c608e(0x10c)]('.')+0x1)),X={'IAC_THICKNESS':a1_0x3c608e(0x222),'IAC_BOTTOMSHELFTHICKNESS':a1_0x3c608e(0x16b),'IAC_TOPSHELFTHICKNESS':'IAC_TOPSHELFTHICKNESS'},v=0x1;function Q(){const _0x451e53=a1_0x3c608e,_0x5d31e1=a1_0x409691(F);if(_0x5d31e1===void 0x0)throw new Error(_0x451e53(0x205));return _0x5d31e1;}function ee(){const _0x587a23=a1_0x409691(_e);if(!_0x587a23)throw new Error('useArticle\x20must\x20be\x20used\x20within\x20an\x20ArticleProvider');return _0x587a23;}function ne(_0x31ca4c,_0x558123,_0x2a1b42){const _0x4c7a7d=a1_0x3c608e,{getArticleData:_0x5e6b4d}=Q(),{articleName:_0x3c78e2}=ee(),{anglClies:_0x379b0e}=_0x5e6b4d(_0x3c78e2),_0x2391d3=_0x379b0e[_0x4c7a7d(0x1dd)](_0x360ba2=>_0x360ba2[_0x4c7a7d(0xe8)]===_0x31ca4c&&_0x360ba2[_0x4c7a7d(0x187)]===_0x2a1b42&&_0x360ba2['TAGNAME']===_0x558123);return _0x2391d3?{'thickness':Number(_0x2391d3[_0x4c7a7d(0x20a)])}:null;}function ot(_0x494628){const _0x4c585a=a1_0x3c608e,{getArticleData:_0x529b34}=Q(),{resolveString:_0x5dfcf3}=j(),{articleName:_0x585bee}=ee(),_0x17d7d8=_0x529b34(_0x585bee)[_0x4c585a(0x18c)];if(!_0x17d7d8)return null;const _0x23d3c5=_0x17d7d8[_0x4c585a(0x190)](_0x1ddaa4=>_0x1ddaa4[_0x4c585a(0xe8)]===_0x494628),_0x400e66=new Map();return _0x23d3c5['map'](_0x180a29=>_0x400e66[_0x4c585a(0x1f7)](_0x4c585a(0xce)+(_0x180a29['NUM']+0x1),_0x5dfcf3(_0x180a29[_0x4c585a(0x239)]))),{'zoneInfo':_0x400e66};}function ue(_0x43e614){const _0x36e364=a1_0x3c608e,{getArticleData:_0x3e8f7b}=Q(),{articleName:_0x53d381}=ee(),{anglZones:_0x493e21}=_0x3e8f7b(_0x53d381),_0x494362=_0x493e21[_0x36e364(0x1dd)](_0x3e8749=>_0x3e8749[_0x36e364(0xe8)]===_0x43e614),_0x2489c9=_0x493e21['filter'](_0x4fdae4=>_0x4fdae4['TREEID']['substring'](0x0,_0x4fdae4[_0x36e364(0xe8)][_0x36e364(0x10c)]('.'))===_0x43e614);return _0x2489c9[_0x36e364(0xb7)]((_0x3de95f,_0x5bca88)=>_0x3de95f[_0x36e364(0xe8)][_0x36e364(0x92)](_0x5bca88[_0x36e364(0xe8)],void 0x0,{'numeric':!0x0})),_0x494362?{'currentZone':_0x494362,'children':_0x2489c9,get 'topShelfCP'(){return _0x494362?.['TOPSHELF'];},get 'bottomShelfCP'(){const _0x262236=_0x36e364;return _0x494362?.[_0x262236(0x226)];},'zoneInfo'(){const _0x4d985e=_0x36e364;return ot(_0x43e614)?.[_0x4d985e(0x136)];},'getClieThk'(_0x2a1df8,_0x44d2da){const _0x86949a=_0x36e364;return this['topShelfCP']===''?0x0:ne(_0x2a1df8,_0x44d2da,nt)?.[_0x86949a(0x14a)]||0x0;},get 'topShelfThk'(){const _0x4f4710=_0x36e364;return this[_0x4f4710(0x234)](_0x43e614,X['IAC_TOPSHELFTHICKNESS']);},get 'bottomShelfThk'(){const _0x80631c=_0x36e364;return this[_0x80631c(0x234)](_0x43e614,X[_0x80631c(0x16b)]);},get 'dividerThk'(){const _0x338e9f=_0x36e364;return this[_0x338e9f(0x234)](_0x43e614,X[_0x338e9f(0x222)]);}}:null;}function te(_0xbba66d){const _0x77217=a1_0x3c608e,{getArticleData:_0x5cc279}=Q(),{articleName:_0x7ef5ce}=ee(),{resolveString:_0x4432cc}=j(),{anglElems:_0x155979}=_0x5cc279(_0x7ef5ce),_0x268b58=_0x155979[_0x77217(0x1dd)](_0x1fb720=>_0x1fb720[_0x77217(0xe8)]===_0xbba66d),_0x5052eb=ve(_0xbba66d),_0x42901b=ue(_0x5052eb);if(!_0x268b58)return null;const _0x5da585=_0x268b58[_0x77217(0x207)]===''?0x0:ne(_0xbba66d,X['IAC_THICKNESS'],fe)?.[_0x77217(0x14a)]||0x0,_0x3e921f=ne(at(_0xbba66d),X['IAC_THICKNESS'],fe)?.[_0x77217(0x14a)]||0x0,_0x39b453=ne(st(_0xbba66d),X['IAC_THICKNESS'],fe)?.[_0x77217(0x14a)]||0x0,_0x5a1873=_0x268b58[_0x77217(0x207)]===''?0x0:_0x268b58['INSETFOR']!==''?se(_0x4432cc(_0x268b58[_0x77217(0x1bc)])):Number(_0x268b58[_0x77217(0x230)]),_0x858848=(typeof _0x5a1873=='string'?0x0:_0x5a1873)||0x0,_0x22f185=_0x268b58[_0x77217(0x23a)]||_0x77217(0x13a),_0x4e9e36=_0x268b58[_0x77217(0x207)],_0x3a7b11=_0x42901b?.[_0x77217(0x20d)]||0x0,_0x19a455=_0x42901b?.[_0x77217(0x13b)]||0x0,_0x111535={'start':Number(_0x268b58['STARTOFFS'])||0x0,'end':Number(_0x268b58[_0x77217(0xf9)])||0x0,'top':Number(_0x268b58[_0x77217(0x19d)])||0x0,'bottom':Number(_0x268b58['BOTOFFS'])||0x0},_0x510a35={'start':_0x268b58[_0x77217(0x109)],'end':_0x268b58['ENDTRIM'],'top':_0x268b58['TOPTRIM'],'bottom':_0x268b58[_0x77217(0xbb)]},_0x3ad393={'top':_0x510a35[_0x77217(0x163)]==='S'?_0x3a7b11:0x0,'bottom':_0x510a35[_0x77217(0x198)]==='S'?_0x19a455:0x0};return{'TREEID':_0xbba66d,'thk':_0x5da585,'nxtThk':_0x3e921f,'prvThk':_0x39b453,'inset':_0x858848,'color':_0x22f185,'CPNAME':_0x4e9e36,'topThk':_0x3a7b11,'bottomThk':_0x19a455,'oversize':_0x111535,'trim':_0x510a35,'elmTrimThk':_0x3ad393};}var A=class extends Error{constructor(_0x4aecc6){const _0x5b817e=a1_0x3c608e;super(_0x5b817e(0x1bf)+_0x4aecc6),this[_0x5b817e(0x168)]=_0x5b817e(0x1c0);}},H,lt=(H=class{constructor(){const _0x590bea=a1_0x3c608e;C(this,_0x590bea(0x10a),new Map()),C(this,_0x590bea(0x10e),''),C(this,'tokens',[]),C(this,'start',0x0),C(this,_0x590bea(0xd9),0x0),C(this,_0x590bea(0x174),[]);}[a1_0x3c608e(0x209)](_0x1d8895){const _0x7a4977=a1_0x3c608e;this[_0x7a4977(0x174)][_0x7a4977(0x17e)](_0x1d8895);}[a1_0x3c608e(0x9e)](_0x3407e5){const _0x16836b=a1_0x3c608e;if(this[_0x16836b(0x10a)][_0x16836b(0x228)](_0x3407e5)){const _0x23d4eb=this['cache']['get'](_0x3407e5);return this[_0x16836b(0x10a)]['delete'](_0x3407e5),this[_0x16836b(0x10a)][_0x16836b(0x1f7)](_0x3407e5,_0x23d4eb),_0x23d4eb;}try{this[_0x16836b(0x10e)]=_0x3407e5;const _0x3819af=this['preformScan']();if(this[_0x16836b(0x10a)][_0x16836b(0x1f7)](this[_0x16836b(0x10e)],_0x3819af),this[_0x16836b(0x10a)][_0x16836b(0xa9)]>0x3){const _0x51567f=this[_0x16836b(0x10a)][_0x16836b(0x1ae)]()[_0x16836b(0x15d)]()[_0x16836b(0x22a)];this[_0x16836b(0x10a)][_0x16836b(0xb2)](_0x51567f);}return _0x3819af;}catch(_0xf7f8be){throw console['error'](_0xf7f8be),new Error(_0xf7f8be instanceof Error?_0xf7f8be['message']:String(_0xf7f8be));}}[a1_0x3c608e(0x21d)](){const _0x49a9c4=a1_0x3c608e;this['resetState']();try{if(this[_0x49a9c4(0x10e)][_0x49a9c4(0x1a0)]('<')||this[_0x49a9c4(0x10e)][_0x49a9c4(0x1a0)]('>'))throw new Error('Angle\x20brackets\x20are\x20not\x20allowed\x20in\x20the\x20input\x20string');if(this[_0x49a9c4(0x10e)][_0x49a9c4(0x13f)]===0x0)throw new Error(_0x49a9c4(0x167));for(this['start']=0x0,this[_0x49a9c4(0xd9)]=0x0,this['tokens']=[],this[_0x49a9c4(0x18e)]===0x0&&this[_0x49a9c4(0x178)](_0x49a9c4(0x235),'<');!this[_0x49a9c4(0xc5)]();){this['start']=this['current'];const _0x48fedd=this[_0x49a9c4(0x10f)]();switch(_0x48fedd){case':':this[_0x49a9c4(0x178)](_0x49a9c4(0x139),'>'),this['addToken'](_0x49a9c4(0x235),'<'),this[_0x49a9c4(0xbf)]();break;case'\x20':case'\x0d':case'\x09':case'\x0a':this[_0x49a9c4(0xbf)]();break;case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'.':this['scanNumber']();break;case'$':this['scanVariable']();break;case'+':case'-':case'*':case'/':this[_0x49a9c4(0x178)](_0x49a9c4(0xb3),_0x48fedd),this[_0x49a9c4(0xbf)]();break;case'(':this[_0x49a9c4(0x178)]('PAREN_OPEN','('),this['advance']();break;case')':this[_0x49a9c4(0x178)](_0x49a9c4(0x1ce),')'),this[_0x49a9c4(0xbf)]();break;case'{':this[_0x49a9c4(0xd9)]!=0x0&&this[_0x49a9c4(0x1a4)][this[_0x49a9c4(0x1a4)][_0x49a9c4(0x13f)]-0x1]['type']!=_0x49a9c4(0xb3)&&this['addToken'](_0x49a9c4(0xb3),'*'),this[_0x49a9c4(0x178)]('BRACE_OPEN','{'),this[_0x49a9c4(0x178)]('LEFT_ANGLE_BRACKET','<'),this[_0x49a9c4(0xbf)]();break;case'}':this[_0x49a9c4(0x178)](_0x49a9c4(0x139),'>'),this[_0x49a9c4(0x178)](_0x49a9c4(0x217),'}'),this['advance']();break;case'[':this[_0x49a9c4(0x178)]('OPERATOR','~'),this[_0x49a9c4(0x178)](_0x49a9c4(0x153),'['),this[_0x49a9c4(0xbf)]();break;case']':this[_0x49a9c4(0x178)]('BRACKET_CLOSE',']'),this[_0x49a9c4(0xbf)]();break;case'm':this[_0x49a9c4(0x9a)]()==='m'?this[_0x49a9c4(0x19b)]():this['scanIdentifierOrFunction']();break;default:this[_0x49a9c4(0xbd)](_0x48fedd)?this['scanIdentifierOrFunction']():this['reportError'](_0x49a9c4(0x125)+_0x48fedd+'\x20at\x20position:\x20'+this[_0x49a9c4(0xd9)]);}}if(this[_0x49a9c4(0x178)](_0x49a9c4(0x139),'>'),this['addToken'](_0x49a9c4(0x1fd),''),this[_0x49a9c4(0x174)][_0x49a9c4(0x13f)]>0x0)throw new Error(this['errors'][_0x49a9c4(0x1d8)](',\x0a'));return this[_0x49a9c4(0x1a4)];}catch(_0x5b905b){throw new Error(_0x5b905b instanceof Error?_0x5b905b[_0x49a9c4(0xe7)]:String(_0x5b905b));}}['isAtEnd'](){const _0x53a499=a1_0x3c608e;return this[_0x53a499(0xd9)]>=this[_0x53a499(0x10e)][_0x53a499(0x13f)];}[a1_0x3c608e(0xbf)](){const _0x38d56e=a1_0x3c608e;return this[_0x38d56e(0x10e)][_0x38d56e(0xf2)](this['current']++);}['peek'](){const _0x20416c=a1_0x3c608e;return this[_0x20416c(0xc5)]()?'\x00':this[_0x20416c(0x10e)]['charAt'](this[_0x20416c(0xd9)]);}[a1_0x3c608e(0x9a)](){const _0x4d8bbe=a1_0x3c608e;return this[_0x4d8bbe(0xd9)]+0x1>=this[_0x4d8bbe(0x10e)][_0x4d8bbe(0x13f)]?'\x00':this[_0x4d8bbe(0x10e)][_0x4d8bbe(0xf2)](this[_0x4d8bbe(0xd9)]+0x1);}[a1_0x3c608e(0x178)](_0x52b24e,_0x4575d2){const _0x3dfa5a=a1_0x3c608e;this[_0x3dfa5a(0x1a4)][_0x3dfa5a(0x17e)]({'type':_0x52b24e,'lexeme':_0x4575d2||(_0x52b24e?this['source']['substring'](this['start'],this[_0x3dfa5a(0xd9)]):''),'position':this[_0x3dfa5a(0x18e)]});}[a1_0x3c608e(0x21f)](_0x36d9d4){const _0x475f85=a1_0x3c608e;return/^[0-9]$/[_0x475f85(0x1e5)](_0x36d9d4);}[a1_0x3c608e(0xbd)](_0x44f387){const _0x3d368f=a1_0x3c608e;return/^[a-zA-Z]$/[_0x3d368f(0x1e5)](_0x44f387);}['scanNumber'](){const _0x2bf652=a1_0x3c608e;for(;this[_0x2bf652(0x21f)](this[_0x2bf652(0x10f)]());)this[_0x2bf652(0xbf)]();if(this[_0x2bf652(0x10f)]()==='.'){for(this[_0x2bf652(0xbf)](),this[_0x2bf652(0x21f)](this[_0x2bf652(0x10f)]())||this[_0x2bf652(0x209)](_0x2bf652(0xa4)+this[_0x2bf652(0xd9)]);this['isDigit'](this['peek']());)this['advance']();}this[_0x2bf652(0x178)](_0x2bf652(0xf4));}['scanVariable'](){const _0x1fdad5=a1_0x3c608e;for(this[_0x1fdad5(0xbf)]();/[a-zA-Z0-9_]/[_0x1fdad5(0x1e5)](this[_0x1fdad5(0x10f)]());)this[_0x1fdad5(0xbf)]();const _0x17519c=this[_0x1fdad5(0x10e)][_0x1fdad5(0xc0)](this[_0x1fdad5(0x18e)]+0x1,this[_0x1fdad5(0xd9)]);if(_0x17519c[_0x1fdad5(0x1d4)]('mm')){const _0x2acfe6=_0x17519c[_0x1fdad5(0xc0)](0x0,_0x17519c['length']-0x2);_0x2acfe6&&_0x2acfe6[_0x1fdad5(0x13f)]>0x0?(this[_0x1fdad5(0x178)]('VARIABLE',_0x2acfe6),this[_0x1fdad5(0x178)](_0x1fdad5(0x14d),'mm')):this[_0x1fdad5(0x209)](_0x1fdad5(0x16e));}else this[_0x1fdad5(0x178)](_0x1fdad5(0xba),_0x17519c);}[a1_0x3c608e(0x19b)](){const _0xc3d56c=a1_0x3c608e;this[_0xc3d56c(0xbf)](),this['advance'](),this[_0xc3d56c(0x178)]('UNIT','mm');}[a1_0x3c608e(0x11b)](){const _0x5578c5=a1_0x3c608e,_0x3b279c=['X','Y','n'];for(;this[_0x5578c5(0xbd)](this['peek']());)this['advance']();const _0xa62dc3=this[_0x5578c5(0x10e)]['substring'](this[_0x5578c5(0x18e)],this[_0x5578c5(0xd9)]),_0x554c40=H['MATHEMATICAL_FUNCTIONS'][_0xa62dc3[_0x5578c5(0x120)]()];_0x554c40!=null?this[_0x5578c5(0x178)](_0x554c40,_0xa62dc3):_0x3b279c['includes'](_0xa62dc3)?this[_0x5578c5(0x178)]('SPECIAL_VARIABLE',_0xa62dc3):this['reportError'](_0x5578c5(0xc6)+_0xa62dc3+_0x5578c5(0x104)+this['current']);}[a1_0x3c608e(0x114)](){const _0x47519c=a1_0x3c608e;this[_0x47519c(0x1a4)]=[],this['start']=0x0,this['current']=0x0,this['errors']=[];}},C(H,a1_0x3c608e(0x15f),{'abs':a1_0x3c608e(0x22d),'acos':a1_0x3c608e(0x22d),'asin':a1_0x3c608e(0x22d),'atan':a1_0x3c608e(0x22d),'bog2deg':a1_0x3c608e(0x22d),'cos':a1_0x3c608e(0x22d),'deg2bog':a1_0x3c608e(0x22d),'in2mm':a1_0x3c608e(0x22d),'ln':a1_0x3c608e(0x22d),'log':a1_0x3c608e(0x22d),'log10':'FUNCTION','max':a1_0x3c608e(0x22d),'maxunder':'FUNCTION','mm2in':a1_0x3c608e(0x22d),'nextto':'FUNCTION','pi':'FUNCTION','pow':a1_0x3c608e(0x22d),'round':a1_0x3c608e(0x22d),'sin':a1_0x3c608e(0x22d),'sqr':a1_0x3c608e(0x22d),'tab':a1_0x3c608e(0x22d),'tan':'FUNCTION'}),H),ct=class{constructor(){const _0x85e950=a1_0x3c608e;C(this,'cache',new Map()),C(this,_0x85e950(0x1a4),[]),C(this,'current',0x0),C(this,_0x85e950(0x19e),()=>{this['current']=0x0;});}[a1_0x3c608e(0x1c6)](_0x3bf397){const _0x3ada7f=a1_0x3c608e;if(this[_0x3ada7f(0x10a)][_0x3ada7f(0x228)](_0x3bf397)){const _0x39b902=this[_0x3ada7f(0x10a)][_0x3ada7f(0xcc)](_0x3bf397);return this[_0x3ada7f(0x10a)]['delete'](_0x3bf397),this['cache']['set'](_0x3bf397,_0x39b902),_0x39b902;}try{this[_0x3ada7f(0x1a4)]=_0x3bf397;const _0x5cf8e8=this['performParse'](_0x3bf397);if(this[_0x3ada7f(0x10a)][_0x3ada7f(0x1f7)](_0x3bf397,_0x5cf8e8),this[_0x3ada7f(0x10a)][_0x3ada7f(0xa9)]>0x3){const _0x18db77=this[_0x3ada7f(0x10a)][_0x3ada7f(0x1ae)]()[_0x3ada7f(0x15d)]()[_0x3ada7f(0x22a)];this[_0x3ada7f(0x10a)][_0x3ada7f(0xb2)](_0x18db77);}return _0x5cf8e8;}catch(_0x324839){throw new Error(_0x324839 instanceof Error?_0x324839['message']:String(_0x324839));}}['performParse'](_0x3ffca4){const _0x2c70ac=a1_0x3c608e;if(this[_0x2c70ac(0x19e)](),this[_0x2c70ac(0x1a4)][_0x2c70ac(0x13f)]===0x0)throw new Error(_0x2c70ac(0xb8));try{return this['expression']();}catch(_0x5bf1fb){throw new Error(_0x5bf1fb instanceof Error?_0x5bf1fb['message']:String(_0x5bf1fb));}}[a1_0x3c608e(0x1b0)](){const _0x2d127c=a1_0x3c608e;if(this[_0x2d127c(0xc5)]())return!0x1;const _0x298e6a=this[_0x2d127c(0x10f)]();return _0x298e6a[_0x2d127c(0x186)]===_0x2d127c(0x14d)&&_0x298e6a['lexeme']==='mm';}[a1_0x3c608e(0x1ff)](){const _0x472bbb=a1_0x3c608e;return this['checkMillimeterSuffix']()?(this[_0x472bbb(0xbf)](),!0x0):!0x1;}[a1_0x3c608e(0xeb)](){const _0x4ab25b=a1_0x3c608e,_0x8b683c=[];if(!this['check'](_0x4ab25b(0x235)))return this['expression']();for(;this['check'](_0x4ab25b(0x235));){this[_0x4ab25b(0xbf)]();let _0x5b3ca7=this[_0x4ab25b(0x195)]();this[_0x4ab25b(0x103)](_0x4ab25b(0x139),_0x4ab25b(0x1e3)),_0x8b683c['push']({'type':_0x4ab25b(0x142),'nodes':_0x5b3ca7,'hasMillimeterSuffix':this[_0x4ab25b(0x1ff)]()});}if(_0x8b683c[_0x4ab25b(0x13f)]===0x1){const _0x7944d7=_0x8b683c[0x0];return _0x7944d7[_0x4ab25b(0x186)]==='Section'&&_0x7944d7[_0x4ab25b(0x13d)]['type']===_0x4ab25b(0x142)?_0x7944d7[_0x4ab25b(0x13d)]:_0x7944d7;}return{'type':_0x4ab25b(0x1df),'sections':_0x8b683c};}[a1_0x3c608e(0x195)](){const _0x48c046=a1_0x3c608e;try{let _0x4fb682=this[_0x48c046(0x180)]();for(;!this[_0x48c046(0xc5)]()&&this[_0x48c046(0xd3)](_0x48c046(0xb3))&&['+','-']['includes'](this[_0x48c046(0x10f)]()[_0x48c046(0x224)]);){this[_0x48c046(0xbf)]();const _0x2f4a50=this[_0x48c046(0x1fa)]()[_0x48c046(0x224)],_0x1828e1=this['term']();_0x4fb682={'type':_0x48c046(0x140),'left':_0x4fb682,'operator':_0x2f4a50,'right':_0x1828e1};}return _0x4fb682;}catch(_0x3c2986){throw new Error(_0x48c046(0x208)+_0x3c2986[_0x48c046(0xe7)]);}}[a1_0x3c608e(0x180)](){const _0x1e5eb4=a1_0x3c608e;try{let _0x1eb09c=this[_0x1e5eb4(0x1af)]();for(;!this[_0x1e5eb4(0xc5)]()&&this['check']('OPERATOR')&&['*','/','~'][_0x1e5eb4(0x1a0)](this[_0x1e5eb4(0x10f)]()[_0x1e5eb4(0x224)]);){this[_0x1e5eb4(0xbf)]();const _0x2af7dc=this[_0x1e5eb4(0x1fa)]()[_0x1e5eb4(0x224)],_0x37730b=this[_0x1e5eb4(0x1af)]();if(_0x37730b['type']==='SpecialVariable'&&_0x37730b[_0x1e5eb4(0x168)]==='n')throw new Error(_0x1e5eb4(0x1b8));_0x1eb09c={'type':_0x1e5eb4(0x140),'left':_0x1eb09c,'operator':_0x2af7dc,'right':_0x37730b};}return _0x1eb09c;}catch(_0x2c2292){throw new Error(_0x1e5eb4(0xc2)+_0x2c2292[_0x1e5eb4(0xe7)]);}}['factor'](){const _0x4f8170=a1_0x3c608e;try{if(this[_0x4f8170(0xd3)](_0x4f8170(0xb3))&&['-','+'][_0x4f8170(0x1a0)](this[_0x4f8170(0x10f)]()['lexeme'])){this[_0x4f8170(0xbf)]();const _0x45b2e8=this['previous']()[_0x4f8170(0x224)],_0x21c935=this[_0x4f8170(0x1af)]();return{'type':'UnaryExpression','operator':_0x45b2e8,'right':_0x21c935};}return this[_0x4f8170(0x1d7)]();}catch(_0x37bdf2){throw new Error(_0x4f8170(0x122)+_0x37bdf2[_0x4f8170(0xe7)]);}}[a1_0x3c608e(0x1d7)](){const _0x441a7d=a1_0x3c608e;try{if(this[_0x441a7d(0xd3)](_0x441a7d(0xf4)))return this['advance'](),{'type':_0x441a7d(0x1e7),'value':parseFloat(this[_0x441a7d(0x1fa)]()[_0x441a7d(0x224)]),'hasMillimeterSuffix':this[_0x441a7d(0x1ff)]()};if(this['check'](_0x441a7d(0xba)))return this['advance'](),{'type':_0x441a7d(0x131),'name':this[_0x441a7d(0x1fa)]()[_0x441a7d(0x224)],'hasMillimeterSuffix':this['consumeMillimeterSuffix']()};if(this[_0x441a7d(0xd3)](_0x441a7d(0x212)))return this['advance'](),{'type':_0x441a7d(0xfe),'name':this[_0x441a7d(0x1fa)]()['lexeme'],'hasMillimeterSuffix':this[_0x441a7d(0x1fa)]()[_0x441a7d(0x224)]==='n'};if(this['check'](_0x441a7d(0x22d))){this[_0x441a7d(0xbf)]();const _0x34eb6d=this[_0x441a7d(0x1fa)]()[_0x441a7d(0x224)];this[_0x441a7d(0x103)]('PAREN_OPEN',_0x441a7d(0xcb)+_0x34eb6d+'\x27.');const _0xcb6316=this[_0x441a7d(0x195)]();return this[_0x441a7d(0x103)]('PAREN_CLOSE',_0x441a7d(0x106)),{'type':'FunctionCall','name':_0x34eb6d,'arg':_0xcb6316,'hasMillimeterSuffix':this[_0x441a7d(0x1ff)]()};}if(this[_0x441a7d(0xd3)](_0x441a7d(0x1a2))){this['advance']();const _0x49a2bf=this[_0x441a7d(0x195)]();if(!_0x49a2bf)throw new Error(_0x441a7d(0x18d));return this[_0x441a7d(0x103)]('PAREN_CLOSE','Expected\x20\x27)\x27\x20after\x20expression.'),{'type':_0x441a7d(0x188),'expression':_0x49a2bf,'hasMillimeterSuffix':this[_0x441a7d(0x1ff)]()};}if(this[_0x441a7d(0xd3)](_0x441a7d(0x1ce)))throw new Error('Unexpected\x20\x27)\x27\x20without\x20a\x20matching\x20\x27(\x27.');if(this[_0x441a7d(0xd3)](_0x441a7d(0xb0))){this[_0x441a7d(0xbf)]();let _0x44d383=this['sections']();return this['consume']('BRACE_CLOSE',_0x441a7d(0x185)),_0x44d383[_0x441a7d(0x186)]==='Section'&&_0x44d383['nodes']['type']==='Section'&&(_0x44d383=_0x44d383['nodes']),{'type':'Repeated','toRepeat':_0x44d383,'hasMillimeterSuffix':this[_0x441a7d(0x1ff)]()};}if(this[_0x441a7d(0xd3)](_0x441a7d(0x235)))return this[_0x441a7d(0xeb)]();throw new Error(_0x441a7d(0x176)+this[_0x441a7d(0x10f)]()[_0x441a7d(0x224)]);}catch(_0xf3504f){throw new Error(_0x441a7d(0x1ca)+_0xf3504f[_0x441a7d(0xe7)]);}}['check'](_0x2ad6f7){const _0x3e5ce8=a1_0x3c608e;return this[_0x3e5ce8(0xc5)]()?!0x1:this[_0x3e5ce8(0x10f)]()['type']===_0x2ad6f7;}[a1_0x3c608e(0xbf)](){const _0x55c9e5=a1_0x3c608e;return this[_0x55c9e5(0xc5)]()||this[_0x55c9e5(0xd9)]++,this[_0x55c9e5(0x1fa)]();}[a1_0x3c608e(0x103)](_0x32f08d,_0x4a4a57){const _0x4eb273=a1_0x3c608e;if(this['check'](_0x32f08d))return this[_0x4eb273(0xbf)]();throw new Error(_0x4a4a57);}[a1_0x3c608e(0xc5)](){const _0x318916=a1_0x3c608e;return this[_0x318916(0xd9)]>=this[_0x318916(0x1a4)][_0x318916(0x13f)];}[a1_0x3c608e(0x10f)](){const _0x3d34f5=a1_0x3c608e;return this[_0x3d34f5(0x1a4)][this[_0x3d34f5(0xd9)]];}[a1_0x3c608e(0x1fa)](){return this['tokens'][this['current']-0x1];}},xe=_0x57406a=>_0x57406a['type']===a1_0x3c608e(0xfe)&&_0x57406a[a1_0x3c608e(0x168)]==='n';function ut(_0x20af01,_0x515df8){const _0x24dc2b=a1_0x3c608e;if(_0x20af01['right'][_0x24dc2b(0x186)]===_0x24dc2b(0xfe)&&_0x20af01['right'][_0x24dc2b(0x168)]==='n')return new A('Cannot\x20have\x20n\x20in\x20the\x20right\x20side\x20of\x20an\x20expression');const _0x21afa5=xe(_0x20af01[_0x24dc2b(0x1c8)])?_0x20af01[_0x24dc2b(0x1c8)]:this[_0x24dc2b(0x179)](_0x20af01[_0x24dc2b(0x1c8)]),_0x35edda=xe(_0x20af01[_0x24dc2b(0x23c)])?_0x20af01[_0x24dc2b(0x23c)]:this[_0x24dc2b(0x179)](_0x20af01[_0x24dc2b(0x23c)]);if(_0x21afa5 instanceof A)return _0x21afa5;if(_0x35edda instanceof A)return _0x35edda;const _0x5b1429=_0x21afa5[_0x24dc2b(0x186)]==='NumberLiteral'&&_0x35edda[_0x24dc2b(0x186)]===_0x24dc2b(0x1e7),_0x30d9e0=_0x5b1429?_0x21afa5[_0x24dc2b(0xc4)]===_0x35edda[_0x24dc2b(0xc4)]:!0x1,_0x571424=_0x3e396b=>_0x3e396b[_0x24dc2b(0x186)]==='Repeated';switch(_0x20af01[_0x24dc2b(0x123)]){case'+':return _0x5b1429&&_0x30d9e0&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x1?{'type':_0x24dc2b(0x1e7),'value':_0x21afa5[_0x24dc2b(0x22a)]+_0x35edda[_0x24dc2b(0x22a)],'hasMillimeterSuffix':_0x21afa5[_0x24dc2b(0xc4)]===!0x0||_0x35edda[_0x24dc2b(0xc4)]===!0x0,'spreadMm':_0x21afa5[_0x24dc2b(0x147)]||_0x35edda[_0x24dc2b(0x147)]}:_0x5b1429&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x0?{'type':_0x24dc2b(0x1e7),'value':_0x21afa5[_0x24dc2b(0x22a)]+_0x35edda[_0x24dc2b(0x22a)],'spreadMm':_0x21afa5[_0x24dc2b(0xc4)]||_0x35edda['hasMillimeterSuffix']}:{'type':_0x24dc2b(0x140),'operator':'+','left':_0x21afa5,'right':_0x35edda};case'*':return _0x5b1429&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x0?{'type':_0x24dc2b(0x1e7),'value':_0x21afa5[_0x24dc2b(0x22a)]*_0x35edda[_0x24dc2b(0x22a)],'hasMillimeterSuffix':_0x21afa5['hasMillimeterSuffix']===!0x0||_0x35edda[_0x24dc2b(0xc4)]===!0x0,'spreadMm':_0x21afa5[_0x24dc2b(0x147)]||_0x35edda[_0x24dc2b(0x147)]}:_0x571424(_0x35edda)&&_0x21afa5['type']==='NumberLiteral'?{'type':_0x24dc2b(0x223),'toRepeat':_0x35edda[_0x24dc2b(0x197)],'times':Math['round'](_0x21afa5['value']),'hasMillimeterSuffix':_0x35edda['type']===_0x24dc2b(0x1e7)&&_0x35edda[_0x24dc2b(0xc4)]||!0x1}:_0x515df8?.[_0x24dc2b(0x17f)]==!0x1&&_0x21afa5[_0x24dc2b(0x186)]!==_0x24dc2b(0xfe)&&_0x21afa5[_0x24dc2b(0x168)]!=='n'?new A('cannot\x20have\x20*\x20outside\x20of\x20group'):_0x21afa5[_0x24dc2b(0x186)]===_0x24dc2b(0xfe)?{'type':'BinaryExpression','operator':'*','left':_0x21afa5,'right':{'type':_0x24dc2b(0x1e7),'value':_0x35edda[_0x24dc2b(0x22a)],'hasMillimeterSuffix':!0x0}}:{'type':_0x24dc2b(0x140),'operator':'*','left':_0x21afa5,'right':_0x35edda,'hasMillimeterSuffix':_0x21afa5[_0x24dc2b(0xc4)]||_0x35edda['hasMillimeterSuffix']};case'/':if(_0x5b1429&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x0)return{'type':_0x24dc2b(0x1e7),'value':_0x21afa5[_0x24dc2b(0x22a)]/_0x35edda[_0x24dc2b(0x22a)],'hasMillimeterSuffix':_0x21afa5[_0x24dc2b(0xc4)]===!0x0||_0x35edda[_0x24dc2b(0xc4)]===!0x0};if(_0x515df8?.[_0x24dc2b(0x17f)]==!0x1)return new A('cannot\x20have\x20\x20/\x20outside\x20of\x20group');case'-':return _0x5b1429&&_0x30d9e0&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x1?{'type':_0x24dc2b(0x1e7),'value':_0x21afa5['value']-_0x35edda[_0x24dc2b(0x22a)],'hasMillimeterSuffix':_0x21afa5[_0x24dc2b(0xc4)]===!0x0||_0x35edda[_0x24dc2b(0xc4)]===!0x0,'spreadMm':_0x21afa5[_0x24dc2b(0x147)]||_0x35edda[_0x24dc2b(0x147)]}:_0x5b1429&&_0x515df8?.[_0x24dc2b(0x17f)]==!0x0?{'type':_0x24dc2b(0x1e7),'value':_0x21afa5[_0x24dc2b(0x22a)]-_0x35edda[_0x24dc2b(0x22a)],'spreadMm':_0x21afa5[_0x24dc2b(0xc4)]||_0x35edda[_0x24dc2b(0xc4)]}:{'type':_0x24dc2b(0x140),'operator':'-','left':_0x21afa5,'right':_0x35edda};default:throw new A(_0x24dc2b(0xac));}}function ht(_0x559158,_0x4b6f52){const _0x1fc2a3=a1_0x3c608e,_0x28ff7e=this[_0x1fc2a3(0x179)](_0x559158['arg']);if(_0x28ff7e instanceof A)throw new A(_0x1fc2a3(0x1e0));switch(_0x559158['name'][_0x1fc2a3(0x19c)]()){case'abs':return{'type':_0x1fc2a3(0x1e7),'value':Math[_0x1fc2a3(0x14c)](_0x28ff7e['value']),'hasMillimeterSuffix':_0x28ff7e['hasMillimeterSuffix'],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case _0x1fc2a3(0x221):return{'type':_0x1fc2a3(0x1e7),'value':Math['acos'](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e['hasMillimeterSuffix'],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case _0x1fc2a3(0xf0):return{'type':'NumberLiteral','value':Math[_0x1fc2a3(0xf0)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case'atan':return{'type':'NumberLiteral','value':Math[_0x1fc2a3(0x165)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case _0x1fc2a3(0x133):return{'type':_0x1fc2a3(0x1e7),'value':Math['cos'](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.['isInsideGroup']===!0x1};case _0x1fc2a3(0xa8):return{'type':_0x1fc2a3(0x1e7),'value':Math[_0x1fc2a3(0xa8)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e['hasMillimeterSuffix'],'spreadMm':_0x4b6f52?.['isInsideGroup']===!0x1};case'tan':return{'type':_0x1fc2a3(0x1e7),'value':Math[_0x1fc2a3(0x1da)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case'round':return{'type':_0x1fc2a3(0x1e7),'value':Math[_0x1fc2a3(0x164)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case _0x1fc2a3(0xc9):return{'type':_0x1fc2a3(0x1e7),'value':_0x28ff7e[_0x1fc2a3(0x22a)]*(0xb4/Math['PI']),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.['isInsideGroup']===!0x1};case _0x1fc2a3(0x159):return{'type':_0x1fc2a3(0x1e7),'value':_0x28ff7e[_0x1fc2a3(0x22a)]*(Math['PI']/0xb4),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case'in2mm':return{'type':'NumberLiteral','value':_0x28ff7e['value']*25.4,'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case _0x1fc2a3(0x1b3):return{'type':_0x1fc2a3(0x1e7),'value':_0x28ff7e['value']/25.4,'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.[_0x1fc2a3(0x17f)]===!0x1};case'ln':return{'type':'NumberLiteral','value':Math[_0x1fc2a3(0x94)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.['isInsideGroup']===!0x1};case _0x1fc2a3(0x105):return{'type':_0x1fc2a3(0x1e7),'value':Math[_0x1fc2a3(0x105)](_0x28ff7e[_0x1fc2a3(0x22a)]),'hasMillimeterSuffix':_0x28ff7e[_0x1fc2a3(0xc4)],'spreadMm':_0x4b6f52?.['isInsideGroup']===!0x1};default:throw new A(_0x1fc2a3(0xb6));}}function ft(_0x41d0f8){const _0x40e5db=a1_0x3c608e;if(!this[_0x40e5db(0xf7)]||!(_0x41d0f8['name']in this[_0x40e5db(0xf7)]))throw new A(_0x40e5db(0x204)+_0x41d0f8[_0x40e5db(0x168)]+'\x20is\x20not\x20defined.');return{'type':'NumberLiteral','value':this[_0x40e5db(0xf7)][_0x41d0f8[_0x40e5db(0x168)]],'hasMillimeterSuffix':_0x41d0f8['hasMillimeterSuffix']};}var mt=class{constructor(){const _0x1242ba=a1_0x3c608e;C(this,_0x1242ba(0x145),0x0),C(this,_0x1242ba(0xf7),{}),C(this,_0x1242ba(0x1a3)),C(this,_0x1242ba(0x16f)),C(this,_0x1242ba(0x16a)),(this[_0x1242ba(0x1a3)]=ut['bind'](this),this[_0x1242ba(0x16f)]=ht[_0x1242ba(0xd7)](this),this[_0x1242ba(0x16a)]=ft[_0x1242ba(0xd7)](this));}[a1_0x3c608e(0x179)](_0x1ed4ae,_0x4dc525={'isInsideGroup':!0x1},_0x5c004e){const _0x3d8d1f=a1_0x3c608e;this[_0x3d8d1f(0x145)]++;try{if(_0x5c004e&&(this[_0x3d8d1f(0xf7)]=_0x5c004e),this[_0x3d8d1f(0xf5)](_0x1ed4ae))return this['evaluateSections'](_0x1ed4ae,_0x4dc525);if(this['isSection'](_0x1ed4ae)){const _0x233fe1=this[_0x3d8d1f(0x179)](_0x1ed4ae['nodes'],_0x4dc525);return _0x233fe1 instanceof A?new A('Error\x20in\x20section\x20'+JSON[_0x3d8d1f(0xfb)](_0x1ed4ae)):{..._0x1ed4ae,'nodes':_0x233fe1};}if(this['isNumberLiteral'](_0x1ed4ae)){if(_0x4dc525[_0x3d8d1f(0x17f)]){if(_0x1ed4ae[_0x3d8d1f(0xc4)])return{..._0x1ed4ae,'spreadMm':!0x0};}else return _0x1ed4ae;}if(this[_0x3d8d1f(0xef)](_0x1ed4ae)){_0x4dc525={..._0x4dc525,'isInsideGroup':!0x0};const _0x58c8a3=this[_0x3d8d1f(0x179)](_0x1ed4ae[_0x3d8d1f(0x195)],_0x4dc525);return _0x58c8a3 instanceof A?_0x58c8a3:{..._0x58c8a3,'hasMillimeterSuffix':_0x1ed4ae['hasMillimeterSuffix']};}if(this[_0x3d8d1f(0x129)](_0x1ed4ae)){const _0x1f8d18=this[_0x3d8d1f(0x179)](_0x1ed4ae[_0x3d8d1f(0x197)]);return _0x1f8d18 instanceof A?_0x1f8d18:{..._0x1ed4ae,'toRepeat':_0x1f8d18};}if(this[_0x3d8d1f(0x172)](_0x1ed4ae))return this[_0x3d8d1f(0x1a3)](_0x1ed4ae,_0x4dc525);if(this[_0x3d8d1f(0x1b5)](_0x1ed4ae))return{'type':_0x3d8d1f(0x1e7),'value':_0x1ed4ae['operator']==='-'?-0x1*_0x1ed4ae[_0x3d8d1f(0x23c)][_0x3d8d1f(0x22a)]:_0x1ed4ae[_0x3d8d1f(0x23c)][_0x3d8d1f(0x22a)],'hasMillimeterSuffix':_0x1ed4ae[_0x3d8d1f(0x23c)][_0x3d8d1f(0xc4)]};if(this[_0x3d8d1f(0xed)](_0x1ed4ae))return this[_0x3d8d1f(0x16f)](_0x1ed4ae,_0x4dc525);if(this['isVariable'](_0x1ed4ae)){if(this[_0x3d8d1f(0xf7)])return this[_0x3d8d1f(0x16a)](_0x1ed4ae);throw new A(_0x3d8d1f(0x20e));}throw new A(_0x3d8d1f(0x96)+_0x1ed4ae[_0x3d8d1f(0x186)]);}catch(_0x49d57b){throw new A(_0x49d57b[_0x3d8d1f(0xe7)]);}finally{this['nestingLevel']--;}}[a1_0x3c608e(0x1b5)](_0x144004){const _0x19059b=a1_0x3c608e;return _0x144004[_0x19059b(0x186)]==='UnaryExpression';}[a1_0x3c608e(0xec)](_0x3e3e34){const _0x25f1bb=a1_0x3c608e;return _0x3e3e34[_0x25f1bb(0x186)]==='NumberLiteral';}[a1_0x3c608e(0x213)](_0x12ebce){const _0x282cdc=a1_0x3c608e;return _0x12ebce[_0x282cdc(0x186)]===_0x282cdc(0x131)||_0x12ebce[_0x282cdc(0x186)]==='SpecialVariable';}[a1_0x3c608e(0x172)](_0x13c2a6){const _0x42817b=a1_0x3c608e;return _0x13c2a6[_0x42817b(0x186)]===_0x42817b(0x140);}[a1_0x3c608e(0xed)](_0x5cfa){const _0x1c2063=a1_0x3c608e;return _0x5cfa[_0x1c2063(0x186)]===_0x1c2063(0xde);}[a1_0x3c608e(0xef)](_0x2eec8f){const _0x20c29c=a1_0x3c608e;return _0x2eec8f[_0x20c29c(0x186)]==='Grouping';}[a1_0x3c608e(0x129)](_0x2156b){const _0x51a920=a1_0x3c608e;return _0x2156b[_0x51a920(0x186)]===_0x51a920(0x223);}[a1_0x3c608e(0xf5)](_0x1157c4){const _0x128d65=a1_0x3c608e;return _0x1157c4[_0x128d65(0x186)]===_0x128d65(0x1df);}[a1_0x3c608e(0x23b)](_0x3217ec){const _0x5f2cfe=a1_0x3c608e;return _0x3217ec[_0x5f2cfe(0x186)]==='Section';}[a1_0x3c608e(0x177)](_0x5aff4a,_0x5ee81a={'isInsideGroup':!0x1}){const _0x49459e=a1_0x3c608e;return{'type':_0x49459e(0x1df),'sections':_0x5aff4a[_0x49459e(0xeb)]['map'](_0x3ec438=>{const _0xd30882=_0x49459e,_0x1c1366=this[_0xd30882(0x179)](_0x3ec438[_0xd30882(0x13d)]);if(_0x1c1366 instanceof A)throw _0x1c1366;return{'type':_0xd30882(0x142),'nodes':_0x1c1366};})};}};function G(_0x22c79a,_0x1646cd){const _0x11405f=a1_0x3c608e;if(!_0x22c79a)throw new A(_0x11405f(0xd1)+JSON[_0x11405f(0xfb)](_0x22c79a));_0x1646cd(_0x22c79a),_0x22c79a['type']===_0x11405f(0x1df)&&Array['isArray'](_0x22c79a[_0x11405f(0xeb)])?_0x22c79a[_0x11405f(0xeb)][_0x11405f(0x12f)](_0x3fda3f=>G(_0x3fda3f,_0x1646cd)):_0x22c79a[_0x11405f(0x186)]===_0x11405f(0x142)&&_0x22c79a[_0x11405f(0x13d)]?G(_0x22c79a[_0x11405f(0x13d)],_0x1646cd):_0x22c79a[_0x11405f(0x186)];}var pt=class{[a1_0x3c608e(0x13e)](_0x1b57cc,_0x6f389f,_0x227b9d,_0x407e0f,_0x41e3fc,_0x36c6fe,_0x5a0370,_0x6d441a,_0x4da042){const _0x37e74b=a1_0x3c608e;let _0x514ef4=0x0;if(_0x5a0370==='M'){for(let _0x2c0412=0x1;_0x2c0412<_0x1b57cc[_0x37e74b(0xeb)]['length']-0x1;_0x2c0412++)_0x514ef4+=_0x407e0f;}if(_0x5a0370==='O'){for(let _0x1ec6d9=0x1;_0x1ec6d9<_0x1b57cc['sections'][_0x37e74b(0x13f)]-0x1;_0x1ec6d9++)_0x514ef4+=_0x407e0f*0x2;}return _0x41e3fc==='M'&&(_0x514ef4+=_0x6f389f/0x2),_0x41e3fc==='O'&&(_0x514ef4+=_0x6f389f),_0x36c6fe==='M'&&(_0x514ef4+=_0x6f389f/0x2),_0x36c6fe==='O'&&(_0x514ef4+=_0x6f389f),_0x4da042==='M'&&(_0x514ef4+=_0x227b9d/0x2),_0x4da042==='O'&&(_0x514ef4+=_0x227b9d),_0x6d441a==='M'&&(_0x514ef4+=_0x227b9d/0x2),_0x6d441a==='O'&&(_0x514ef4+=_0x227b9d),_0x514ef4;}},dt=class{['calculateSections'](_0x5eae67,_0x49de92=0x1f4,_0x271d3d=0x0,_0x28c808){const _0x59cf28=a1_0x3c608e;try{if(_0x5eae67 instanceof A)throw _0x5eae67;if(_0x5eae67[_0x59cf28(0x186)]!==_0x59cf28(0x1df)&&_0x5eae67[_0x59cf28(0x186)]!==_0x59cf28(0x142))throw new A(_0x59cf28(0x1fc)+JSON[_0x59cf28(0xfb)](_0x5eae67));let _0x39bff3={'type':_0x59cf28(0x1df),'sections':[]};if(_0x5eae67[_0x59cf28(0x186)]===_0x59cf28(0x1df)){for(const _0x669a38 of _0x5eae67[_0x59cf28(0xeb)])if(_0x669a38[_0x59cf28(0x13d)][_0x59cf28(0x186)]==='Repeated'&&_0x669a38[_0x59cf28(0x13d)]['times']){for(let _0x3d8b38=0x0;_0x3d8b38<(_0x669a38[_0x59cf28(0x13d)]?.[_0x59cf28(0x218)]??0x0);_0x3d8b38++)if(_0x669a38[_0x59cf28(0x13d)]['toRepeat'][_0x59cf28(0x186)]==='Section')_0x39bff3[_0x59cf28(0xeb)][_0x59cf28(0x17e)](_0x669a38['nodes']['toRepeat']);else{if(_0x669a38[_0x59cf28(0x13d)][_0x59cf28(0x197)]['type']===_0x59cf28(0x1df)){for(const _0x55c5f5 of _0x669a38[_0x59cf28(0x13d)]['toRepeat']['sections'])_0x39bff3['sections'][_0x59cf28(0x17e)](_0x55c5f5);}}}else _0x39bff3[_0x59cf28(0xeb)][_0x59cf28(0x17e)](_0x669a38);}else _0x5eae67[_0x59cf28(0x186)]===_0x59cf28(0x142)&&_0x39bff3[_0x59cf28(0xeb)]['push'](_0x5eae67);if(_0x28c808){const _0x50e33d=new pt()[_0x59cf28(0x13e)](_0x39bff3,_0x28c808[_0x59cf28(0x158)],_0x28c808[_0x59cf28(0x1c5)],_0x271d3d,_0x28c808[_0x59cf28(0x12d)],_0x28c808[_0x59cf28(0x1b6)],_0x28c808[_0x59cf28(0xea)],_0x28c808['sizerefedg2'],_0x28c808[_0x59cf28(0x191)]);}_0x39bff3[_0x59cf28(0xeb)][_0x59cf28(0x12f)](_0x597f28=>{let _0x25a2c9=!0x1;G(_0x597f28,_0x415ce2=>{const _0x2175d3=a1_0x5acd;_0x415ce2[_0x2175d3(0x186)]===_0x2175d3(0x1e7)?_0x415ce2?.[_0x2175d3(0x147)]===!0x0&&(_0x25a2c9=!0x0):_0x415ce2[_0x2175d3(0x186)]===_0x2175d3(0x140)&&_0x415ce2['left'][_0x2175d3(0x186)]===_0x2175d3(0x1e7)&&(_0x415ce2[_0x2175d3(0x1c8)]?.['spreadMm']===!0x0&&(_0x25a2c9=!0x0),_0x415ce2[_0x2175d3(0x23c)]?.['spreadMm']===!0x0&&(_0x25a2c9=!0x0));}),_0x25a2c9&&G(_0x597f28,_0x25037c=>{const _0x1eb76a=a1_0x5acd;_0x25037c[_0x1eb76a(0x186)]==='NumberLiteral'?_0x25037c[_0x1eb76a(0xc4)]=!0x0:_0x25037c[_0x1eb76a(0x186)]===_0x1eb76a(0x140)&&(_0x25037c[_0x1eb76a(0x1c8)][_0x1eb76a(0x186)]===_0x1eb76a(0x1e7)&&(_0x25037c[_0x1eb76a(0x1c8)][_0x1eb76a(0xc4)]=!0x0),_0x25037c['right']['type']===_0x1eb76a(0x1e7)&&(_0x25037c[_0x1eb76a(0x23c)][_0x1eb76a(0xc4)]=!0x0));});});let _0x2eb95c=0x0;const _0x4801a1=_0x1e6257=>{const _0x1ce8d2=_0x59cf28;if(_0x271d3d&&_0x1e6257[_0x1ce8d2(0x186)]===_0x1ce8d2(0x142)&&(_0x2eb95c+=_0x271d3d),_0x1e6257[_0x1ce8d2(0x186)]===_0x1ce8d2(0x1e7))_0x1e6257['hasMillimeterSuffix']===!0x0&&(_0x2eb95c+=_0x1e6257[_0x1ce8d2(0x22a)]);else{if(_0x1e6257['type']===_0x1ce8d2(0x140)){const _0x1c7950=_0x1e6257;_0x1c7950[_0x1ce8d2(0x1c8)][_0x1ce8d2(0x186)]===_0x1ce8d2(0x1e7)&&_0x1c7950[_0x1ce8d2(0x23c)][_0x1ce8d2(0x186)]===_0x1ce8d2(0x1e7)&&(_0x1c7950['left'][_0x1ce8d2(0xc4)]===!0x0&&(_0x2eb95c+=_0x1c7950[_0x1ce8d2(0x1c8)][_0x1ce8d2(0x22a)]),_0x1c7950[_0x1ce8d2(0x23c)]['hasMillimeterSuffix']===!0x0&&(_0x2eb95c+=_0x1c7950[_0x1ce8d2(0x23c)]['value']));}}};if(_0x39bff3['sections'][_0x59cf28(0x12f)](_0x43acfe=>G(_0x43acfe,_0x4801a1)),_0x2eb95c>_0x49de92)throw new A(_0x59cf28(0x15e));let _0xc41ea5=_0x49de92-_0x2eb95c+_0x271d3d,_0x2f2ead=0x0;const _0x5e89c9=_0x20c0ee=>{const _0x4be4a2=_0x59cf28;if(_0x20c0ee[_0x4be4a2(0x186)]===_0x4be4a2(0x140)){const _0x9eefc4=_0x20c0ee;if(_0x9eefc4[_0x4be4a2(0x23c)][_0x4be4a2(0x186)]===_0x4be4a2(0x1e7)&&_0x9eefc4[_0x4be4a2(0x1c8)][_0x4be4a2(0x186)]===_0x4be4a2(0xfe)&&_0x9eefc4['left'][_0x4be4a2(0x168)]==='n'&&_0x9eefc4[_0x4be4a2(0x123)]==='*'){_0x2f2ead=Math[_0x4be4a2(0x170)](_0xc41ea5/(_0x9eefc4[_0x4be4a2(0x23c)][_0x4be4a2(0x22a)]+_0x271d3d));const _0x16f0f7=(_0x2f2ead-0x1)*_0x271d3d,_0x156de3=_0x2f2ead*_0x9eefc4['right']['value'];_0xc41ea5+=-_0x16f0f7-_0x156de3;}}};_0x39bff3[_0x59cf28(0xeb)][_0x59cf28(0x12f)](_0x3f1365=>G(_0x3f1365,_0x5e89c9));let _0x15e569=0x0;const _0x1f9da3=_0x132a67=>{const _0x2a9ad4=_0x59cf28;_0x132a67[_0x2a9ad4(0x186)]===_0x2a9ad4(0x140)&&(_0x132a67[_0x2a9ad4(0x1c8)][_0x2a9ad4(0x186)]===_0x2a9ad4(0x1e7)&&_0x132a67['left'][_0x2a9ad4(0xc4)]===!0x1&&(_0x15e569+=_0x132a67['left']['value']),_0x132a67[_0x2a9ad4(0x23c)][_0x2a9ad4(0x186)]===_0x2a9ad4(0x1e7)&&_0x132a67[_0x2a9ad4(0x23c)][_0x2a9ad4(0xc4)]===!0x1&&(_0x15e569+=_0x132a67[_0x2a9ad4(0x23c)][_0x2a9ad4(0x22a)])),_0x132a67['type']===_0x2a9ad4(0x1e7)&&_0x132a67[_0x2a9ad4(0xc4)]===!0x1&&(_0x15e569+=_0x132a67[_0x2a9ad4(0x22a)]);};_0x39bff3[_0x59cf28(0xeb)][_0x59cf28(0x12f)](_0x4950e4=>{G(_0x4950e4,_0x1f9da3);});const _0x7badc9=_0xc41ea5/_0x15e569,_0x8d8353=[],_0x3b9b78=_0x49dd5b=>{const _0x40b4e3=_0x59cf28;let _0x4243f0=0x0,_0x38a65d=0x0;if(_0x49dd5b['type']===_0x40b4e3(0x1e7))_0x49dd5b[_0x40b4e3(0xc4)]===!0x1&&(_0x4243f0+=_0x49dd5b['value']*_0x7badc9),_0x49dd5b['hasMillimeterSuffix']===!0x0&&(_0x38a65d+=_0x49dd5b[_0x40b4e3(0x22a)]),_0x8d8353[_0x40b4e3(0x17e)](Number((_0x4243f0+_0x38a65d)[_0x40b4e3(0x18b)](0x2)));else{if(_0x49dd5b[_0x40b4e3(0x186)]===_0x40b4e3(0x140)&&(_0x49dd5b['left'][_0x40b4e3(0x186)]===_0x40b4e3(0x1e7)&&_0x49dd5b[_0x40b4e3(0x23c)][_0x40b4e3(0x186)]==='NumberLiteral'&&(_0x49dd5b[_0x40b4e3(0x1c8)][_0x40b4e3(0xc4)]===!0x1&&(_0x4243f0+=_0x49dd5b[_0x40b4e3(0x1c8)]['value']*_0x7badc9),_0x49dd5b[_0x40b4e3(0x1c8)][_0x40b4e3(0xc4)]===!0x0&&(_0x38a65d+=_0x49dd5b[_0x40b4e3(0x1c8)][_0x40b4e3(0x22a)]),_0x49dd5b[_0x40b4e3(0x23c)][_0x40b4e3(0xc4)]===!0x1&&(_0x4243f0+=_0x49dd5b[_0x40b4e3(0x23c)][_0x40b4e3(0x22a)]*_0x7badc9),_0x49dd5b[_0x40b4e3(0x23c)]['hasMillimeterSuffix']===!0x0&&(_0x38a65d+=_0x49dd5b[_0x40b4e3(0x23c)]['value']),_0x8d8353['push'](Number((_0x4243f0+_0x38a65d)[_0x40b4e3(0x18b)](0x2)))),_0x49dd5b[_0x40b4e3(0x1c8)][_0x40b4e3(0x186)]===_0x40b4e3(0xfe)&&_0x49dd5b['left'][_0x40b4e3(0x168)]==='n'&&_0x49dd5b[_0x40b4e3(0x23c)]['type']==='NumberLiteral')){_0x38a65d+=_0x49dd5b[_0x40b4e3(0x23c)][_0x40b4e3(0x22a)];for(let _0xdef50a=0x0;_0xdef50a<_0x2f2ead;_0xdef50a++)_0x49dd5b[_0x40b4e3(0x23c)][_0x40b4e3(0xc4)]===!0x0&&_0x8d8353['push'](Number(_0x38a65d[_0x40b4e3(0x18b)](0x2)));}}};return _0x39bff3['sections']['forEach'](_0x516e8a=>{G(_0x516e8a,_0x3b9b78);}),_0x8d8353;}catch{return new A(_0x59cf28(0x1f9));}}},gt=new lt(),Et=new ct(),St=new mt(),vt=(_0xec34bb,_0xfe5426,_0x54ce86,_0x298499)=>{const _0x4e2883=a1_0x3c608e;try{const _0x54a69b=gt[_0x4e2883(0x9e)](_0xec34bb),_0x44c0ce=Et[_0x4e2883(0x1c6)](_0x54a69b),_0xe0a8a6=St[_0x4e2883(0x179)](_0x44c0ce,{},_0x298499);if(_0xe0a8a6&&!(_0xe0a8a6 instanceof A)){const _0x54ad24=new dt()[_0x4e2883(0x102)](_0xe0a8a6,_0xfe5426,_0x54ce86);if(_0x54ad24&&_0x54ad24 instanceof A)throw new Error(_0x54ad24['message']);return _0x54ad24;}return _0xe0a8a6||new A(_0x4e2883(0x1ee));}catch(_0x1f6217){return new A(_0x1f6217[_0x4e2883(0xe7)]);}};function Nt(_0x355e57){const _0x1065d8=a1_0x3c608e,_0x20678b=/^(\d+)\*\{(\d+)\}$/,_0x3fe48b=_0x355e57['match'](_0x20678b);if(_0x3fe48b){const _0x29f470=parseInt(_0x3fe48b[0x1],0xa),_0x51dab4=_0x3fe48b[0x2];return _0x29f470>0x0?Array(_0x29f470)[_0x1065d8(0x1a8)](_0x51dab4)['join'](':'):'';}return _0x355e57;}function Tt(_0x2e8e64){const _0x5a8d55=a1_0x3c608e,_0x5d6d96=_0x2e8e64[_0x5a8d55(0xee)]()['match'](/^(\d+(?:\.\d+)?)\s*\*\s*\{.+\}$/);return _0x5d6d96?Number(_0x5d6d96[0x1]):_0x2e8e64;}function Mt(_0x3a3a45,_0x4ee33d,_0x353804){const _0x569824=a1_0x3c608e;let _0x1a3fa6=0x0;const {LINDIV1:_0xbcb926,DIVDIR:_0x49eacc,HORDEFTYPE:_0x1a8de3,DIVELEM1:_0x3d302c}=_0x3a3a45;let _0x217ce4='width';if(_0xbcb926==='')return{'divisionType':_0x217ce4,'zone_dimensions':[],'divided_length_list':[]};if(_0x49eacc==='H'){if(_0x1a8de3==='W')_0x1a3fa6=_0x4ee33d[_0x569824(0x111)],_0x217ce4='width';else{if(_0x1a8de3==='D')_0x1a3fa6=_0x4ee33d[_0x569824(0x1e4)],_0x217ce4=_0x569824(0x1e4);else{if(_0x1a8de3==='P'){if(_0x3d302c===0x0||_0x3d302c===0x2)_0x1a3fa6=_0x4ee33d[_0x569824(0x111)],_0x217ce4=_0x569824(0x111);else{if(_0x3d302c===0x1||_0x3d302c===0x3)_0x1a3fa6=_0x4ee33d[_0x569824(0x1e4)],_0x217ce4=_0x569824(0x1e4);else throw new Error(_0x569824(0xa6)+_0x3d302c);}}else throw new Error('Unhandled\x20case:\x20HORDEFTYPE\x20=\x20'+_0x1a8de3);}}}else{if(_0x49eacc==='V')_0x1a3fa6=_0x4ee33d[_0x569824(0xab)],_0x217ce4='height';else{if(_0x49eacc==='A')_0x1a3fa6=_0x4ee33d[_0x569824(0x111)],_0x217ce4='article';else{if(_0x49eacc==='I')_0x1a3fa6=_0x4ee33d[_0x569824(0x111)],_0x217ce4=_0x569824(0x1c7);else throw new Error(_0x569824(0x17a)+_0x49eacc);}}}let _0x468a00=[];const _0x3afed1=Nt(_0xbcb926);if(_0x217ce4===_0x569824(0x1c7)){const _0x5c359e=Tt(_0xbcb926);_0x468a00=Array(_0x5c359e)[_0x569824(0x1a8)](_0x1a3fa6);}else _0x217ce4===_0x569824(0x231)?_0x468a00=[_0x1a3fa6]:_0x468a00=vt(_0x3afed1,_0x1a3fa6,_0x353804);return Array[_0x569824(0x1e6)](_0x468a00)?(_0x1a8de3==='P'&&(_0x3d302c===0x2||_0x3d302c===0x3)&&(_0x468a00=[..._0x468a00][_0x569824(0x215)]()),{'zone_dimensions':_0x468a00[_0x569824(0xf3)](_0x4ddc18=>{const _0x1b5ff6=_0x569824;if(_0x217ce4===_0x1b5ff6(0x111))return{'width':_0x4ddc18,'height':_0x4ee33d['height'],'depth':_0x4ee33d[_0x1b5ff6(0x1e4)]};if(_0x217ce4==='depth')return{'width':_0x4ee33d[_0x1b5ff6(0x111)],'height':_0x4ee33d['height'],'depth':_0x4ddc18};if(_0x217ce4===_0x1b5ff6(0xab))return{'width':_0x4ee33d[_0x1b5ff6(0x111)],'height':_0x4ddc18,'depth':_0x4ee33d[_0x1b5ff6(0x1e4)]};if(_0x217ce4===_0x1b5ff6(0x231)||_0x217ce4===_0x1b5ff6(0x1c7))return{'width':_0x4ee33d['width'],'height':_0x4ee33d[_0x1b5ff6(0xab)],'depth':_0x4ee33d[_0x1b5ff6(0x1e4)]};throw new Error(_0x1b5ff6(0x17a)+_0x49eacc);}),'divisionType':_0x217ce4,'divided_length_list':_0x468a00}):{'divisionType':_0x217ce4,'zone_dimensions':[],'divided_length_list':[]};}function xt({divisionType:_0x471e96,parentDimensions:_0x48c4c5,lengthList:_0x107c79,childTREEIDs:_0x888745,dividerThk:_0x479c1e}){const _0x2e3d42=a1_0x3c608e,_0x2b1f84=-_0x48c4c5[_0x2e3d42(0x111)]/0x2,_0x528c15=-_0x48c4c5['depth']/0x2,_0x201e13=-_0x48c4c5['height']/0x2;return{'childPositions':_0x107c79[_0x2e3d42(0xdf)]((_0xf691a,_0x37a933,_0x4a6da4)=>{const _0x5a9db9=_0x2e3d42;let _0x18f7de=0x0,_0x24d93d=0x0,_0x360f96=0x0,_0x3af603;return _0x471e96===_0x5a9db9(0x111)?(_0x18f7de=_0x2b1f84+_0xf691a[_0x5a9db9(0xa5)]+_0x37a933/0x2,_0x24d93d=0x0,_0x360f96=0x0,_0x3af603={'width':_0x37a933,'height':_0x48c4c5[_0x5a9db9(0xab)],'depth':_0x48c4c5[_0x5a9db9(0x1e4)]},_0xf691a[_0x5a9db9(0xa5)]+=_0x37a933+_0x479c1e):_0x471e96===_0x5a9db9(0x1e4)?(_0x18f7de=0x0,_0x24d93d=_0x528c15+_0xf691a['cumulativeY']+_0x37a933/0x2,_0x360f96=0x0,_0x3af603={'width':_0x48c4c5['width'],'height':_0x48c4c5[_0x5a9db9(0xab)],'depth':_0x37a933},_0xf691a['cumulativeY']+=_0x37a933+_0x479c1e):_0x471e96===_0x5a9db9(0x1c7)||_0x471e96===_0x5a9db9(0x231)?(_0x18f7de=0x0,_0x24d93d=0x0,_0x360f96=0x0,_0x3af603={'width':_0x37a933,'height':_0x48c4c5[_0x5a9db9(0xab)],'depth':_0x48c4c5[_0x5a9db9(0x1e4)]}):(_0x18f7de=0x0,_0x24d93d=0x0,_0x360f96=_0x201e13+_0xf691a[_0x5a9db9(0x12e)]+_0x37a933/0x2,_0x3af603={'width':_0x48c4c5[_0x5a9db9(0x111)],'height':_0x37a933,'depth':_0x48c4c5['depth']},_0xf691a['cumulativeZ']+=_0x37a933+_0x479c1e),_0xf691a['positions'][_0x5a9db9(0x17e)]({'x':_0x18f7de,'y':_0x24d93d,'z':_0x360f96,'zone_dims':_0x3af603,'TREEID':_0x888745[_0x4a6da4]}),_0xf691a;},{'cumulativeX':0x0,'cumulativeY':0x0,'cumulativeZ':0x0,'positions':[]})[_0x2e3d42(0x119)],'dividerType':_0x471e96};}function yt(_0x3e5900){return{'front':te(Oe(_0x3e5900)),'left':te(Re(_0x3e5900)),'right':te(Pe(_0x3e5900)),'back':te(Ve(_0x3e5900))};}function It(_0x54fd17,_0x4037d8,_0xab2d25){const _0x3780e1=a1_0x3c608e;return{'front':_0x54fd17['front']?.[_0x3780e1(0x9f)]||0x0,'right':_0x54fd17[_0x3780e1(0x23c)]?.[_0x3780e1(0x9f)]||0x0,'back':_0x54fd17['back']?.[_0x3780e1(0x9f)]||0x0,'left':_0x54fd17[_0x3780e1(0x1c8)]?.['thk']||0x0,'top':_0x4037d8,'bottom':_0xab2d25};}function _t(_0x110840){const _0x2500e1=a1_0x3c608e;return{'front':_0x110840[_0x2500e1(0x11c)]?.['inset']||0x0,'right':_0x110840['right']?.[_0x2500e1(0x220)]||0x0,'back':_0x110840[_0x2500e1(0x225)]?.[_0x2500e1(0x220)]||0x0,'left':_0x110840['left']?.[_0x2500e1(0x220)]||0x0};}function bt(_0x28701f,_0x4d9abf){const _0x3f3b23=a1_0x3c608e;return{'dimensions':{'width':_0x28701f[_0x3f3b23(0x111)]-_0x4d9abf[_0x3f3b23(0x1c8)]-_0x4d9abf['right'],'height':_0x28701f[_0x3f3b23(0xab)],'depth':_0x28701f[_0x3f3b23(0x1e4)]-_0x4d9abf[_0x3f3b23(0x11c)]-_0x4d9abf[_0x3f3b23(0x225)]},'position':{'x':_0x4d9abf[_0x3f3b23(0x1c8)]/0x2-_0x4d9abf[_0x3f3b23(0x23c)]/0x2,'y':_0x4d9abf[_0x3f3b23(0x11c)]/0x2-_0x4d9abf[_0x3f3b23(0x225)]/0x2,'z':0x0}};}function kt(_0x2edc1b,_0x30429e){const _0x52763e=a1_0x3c608e;return{'dimensions':{'width':_0x2edc1b[_0x52763e(0x16d)]['width']-_0x30429e[_0x52763e(0x1c8)]-_0x30429e['right'],'height':_0x2edc1b[_0x52763e(0x16d)][_0x52763e(0xab)]-_0x30429e[_0x52763e(0x163)]-_0x30429e[_0x52763e(0x198)],'depth':_0x2edc1b['dimensions'][_0x52763e(0x1e4)]-_0x30429e[_0x52763e(0x11c)]-_0x30429e[_0x52763e(0x225)]},'position':{'x':_0x30429e[_0x52763e(0x1c8)]/0x2-_0x30429e[_0x52763e(0x23c)]/0x2,'y':_0x30429e[_0x52763e(0x11c)]/0x2-_0x30429e[_0x52763e(0x225)]/0x2,'z':_0x30429e['bottom']/0x2-_0x30429e[_0x52763e(0x163)]/0x2}};}function At(_0x367c06,_0xe59efa,_0x1a2024,_0x1b2ba2){const _0x33500f=a1_0x3c608e;return _0xe59efa[_0x33500f(0x1ba)]?xt({'divisionType':_0xe59efa[_0x33500f(0x1ba)],'parentDimensions':_0x367c06,'lengthList':_0xe59efa[_0x33500f(0x138)],'childTREEIDs':_0x1b2ba2,'dividerThk':Number(_0x1a2024)||0x0}):{'childPositions':[],'dividerType':_0x33500f(0xab)};}function Dt(_0x18d8d4,_0x5c0e3b,_0x4160ca,_0x404b46){const _0x20cdf0=a1_0x3c608e;if(!_0x4160ca)return{'childPositions':[],'dividerType':_0x20cdf0(0xab)};const _0x8cedde=Mt(_0x4160ca,_0x18d8d4[_0x20cdf0(0x16d)],_0x5c0e3b);return At(_0x18d8d4[_0x20cdf0(0x16d)],_0x8cedde,_0x5c0e3b,_0x404b46);}function U({length:_0x22df00,width:_0x7fc4e9,thk:_0x462943,material:_0xcbb9a5=a1_0x3c608e(0xe9),opacity:_0x3d9f55=0.2,isSelected:_0x56d862=!0x1,isHovered:_0x9aa5c9=!0x1,onClick:_0x122152,onPointerEnter:_0x5f4c69,onPointerLeave:_0xbdcfb7}){const _0x103a0a=a1_0x3c608e,_0x4fe4cf=_0x56d862?'#ff6b00':_0x9aa5c9?_0x103a0a(0x157):_0xcbb9a5,_0x1e92d5=_0x56d862?0.8:_0x9aa5c9?0.6:_0x3d9f55;return a1_0x404de2(_0x103a0a(0x12c),{'children':a1_0x396ee5(_0x103a0a(0x118),{'onClick':_0x122152,'onPointerEnter':_0x5f4c69,'onPointerLeave':_0xbdcfb7,'children':[a1_0x404de2(_0x103a0a(0x1d3),{'args':[_0x22df00/v,_0x7fc4e9/v,_0x462943/v]}),a1_0x404de2(_0x103a0a(0x232),{'color':_0x4fe4cf,'opacity':_0x1e92d5,'transparent':!0x0}),a1_0x404de2(a1_0x1bbb2a,{'color':_0x56d862?_0x103a0a(0xa1):_0x9aa5c9?'#0066ff':_0x103a0a(0x13a)})]})});}function wt(_0x3b5cc8,_0x83353e,_0x2526a1=0x0,_0x1a9977=0x0){const _0x4f75d7=a1_0x3c608e,_0x5ec50e=_0x3b5cc8/0x2,_0x569858=_0x83353e/0x2,_0x52eeab=_0x5ec50e,_0x2bef89=_0x569858;return(_0x4f75d7(0x21c)+_0x52eeab+','+-_0x2bef89+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+-_0x52eeab+','+-_0x2bef89+_0x4f75d7(0x21c)+(-_0x52eeab+_0x2526a1)+','+_0x2bef89+_0x4f75d7(0x21c)+(_0x52eeab-_0x1a9977)+','+_0x2bef89+_0x4f75d7(0x182))[_0x4f75d7(0xee)]()[_0x4f75d7(0x141)](/\s+/g,'\x20');}function Z({dim_x:_0x3288c2,dim_y:_0x4ff3db,fill:_0x14fde5=a1_0x3c608e(0x128),text:_0xbdac4a='',stroke_width:_0x49d6ae=0x2,rotate:_0x22d9d7=0x0,isSelected:_0x3e1be2=!0x1,isHovered:_0x5da78a=!0x1,onClick:_0x2caaf1,onMouseEnter:_0x290531,onMouseLeave:_0x14806a,startPanelThk:_0x62bf89=0x0,endPanelThk:_0x941f8a=0x0}){const _0x1923c0=a1_0x3c608e,_0x4cf838=wt(_0x3288c2,_0x4ff3db,_0x62bf89,_0x941f8a),_0x259ec4=_0x3e1be2?_0x1923c0(0xa1):_0x5da78a?'#0066ff':_0x1923c0(0x13a),_0x3ef0b8=_0x3e1be2?_0x49d6ae*0x2:_0x5da78a?_0x49d6ae*1.5:_0x49d6ae,_0x39464a=_0x3e1be2?0.8:_0x5da78a?0.7:0.5;return a1_0x396ee5('g',{'transform':_0x1923c0(0xbe)+_0x22d9d7+')','children':[a1_0x404de2(_0x1923c0(0x1e1),{'points':_0x4cf838,'stroke':_0x259ec4,'strokeWidth':_0x3ef0b8,'fill':_0x14fde5,'strokeLinejoin':_0x1923c0(0x1ab),'strokeMiterlimit':'1','opacity':_0x39464a,'onClick':_0x2caaf1,'onMouseEnter':_0x290531,'onMouseLeave':_0x14806a,'style':{'cursor':_0x2caaf1?'pointer':_0x1923c0(0x1c3)}}),a1_0x404de2(_0x1923c0(0xe4),{'transform':_0x1923c0(0x21e),'x':0x0,'y':0x0,'textAnchor':_0x1923c0(0x10b),'dominantBaseline':_0x1923c0(0x10b),'fontSize':0xe,'children':_0xbdac4a})]});}function Ct({TREEID:_0x30dfaa,dimension:_0x4f1241,view:_0xfc654d,helper:_0x380db5}){const _0x31fb28=a1_0x3c608e,_0x4807a=_0x380db5[_0x31fb28(0x11c)],_0x4d3028=a1_0x409691(F);if(!_0x4807a||!_0x4d3028)return;const {selectedElem:_0x488673,setSelectedElem:_0x34cd01,hoveredElem:_0x3684f9,setHoveredElem:_0x1493ab}=_0x4d3028,{CPNAME:_0x86741f}=_0x4807a;if(!_0x86741f)return null;const {elmTrimThk:_0x2b1fd4}=_0x4807a,_0x3af53d=_0x380db5[_0x31fb28(0x1c8)]?.[_0x31fb28(0x9f)],_0x3feb65=_0x380db5[_0x31fb28(0x23c)]?.[_0x31fb28(0x9f)],_0x3e8b4a=(_0x4807a[_0x31fb28(0xee)]['start']==='S'?_0x3af53d:0x0)??0x0,_0x391905=(_0x4807a[_0x31fb28(0xee)][_0x31fb28(0x149)]==='S'?_0x3feb65:0x0)??0x0,_0x319018=(_0x4807a[_0x31fb28(0xee)][_0x31fb28(0x18e)]==='M'?_0x3af53d:0x0)??0x0,_0x5702a2=(_0x4807a[_0x31fb28(0xee)]['end']==='M'?_0x3feb65:0x0)??0x0,_0x3f3f6a=_0x4f1241[_0x31fb28(0xab)]-_0x2b1fd4['top']-_0x2b1fd4['bottom']+_0x4807a[_0x31fb28(0x17d)][_0x31fb28(0x163)]+_0x4807a[_0x31fb28(0x17d)]['bottom'],_0x55aedd=_0x4f1241['width']-_0x3e8b4a-_0x391905+_0x4807a['oversize'][_0x31fb28(0x18e)]+_0x4807a['oversize'][_0x31fb28(0x149)],_0x53d644=_0x4807a[_0x31fb28(0x9f)],_0x3137ae=-(_0x4807a[_0x31fb28(0x17d)][_0x31fb28(0x18e)]/0x2-_0x4807a[_0x31fb28(0x17d)][_0x31fb28(0x149)]/0x2-_0x3e8b4a/0x2+_0x391905/0x2),_0x27a08c=_0x4807a['oversize']['bottom']/0x2-_0x4807a[_0x31fb28(0x17d)][_0x31fb28(0x163)]/0x2+_0x2b1fd4[_0x31fb28(0x198)]/0x2-_0x2b1fd4[_0x31fb28(0x163)]/0x2,_0x106c6e=-(_0x4f1241['depth']/0x2-_0x53d644/0x2),_0x2b590d=_0x488673===_0x30dfaa,_0x57c3af=_0x3684f9===_0x30dfaa,_0xbb3e41=()=>{const _0x47732c=_0x31fb28;console[_0x47732c(0x94)]('handleClick',_0x30dfaa),_0x34cd01(_0x2b590d?null:_0x30dfaa);},_0x3cd9e3=()=>{_0x1493ab(_0x30dfaa);},_0x5391ad=()=>{_0x1493ab(null);};return _0xfc654d===x[_0x31fb28(0x1d6)]?a1_0x404de2(_0x31fb28(0x12c),{'position':[_0x3137ae/v,_0x106c6e/v,_0x27a08c/v],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':a1_0x404de2(U,{'length':_0x3f3f6a,'width':_0x55aedd,'thk':_0x53d644,'treeId':_0x30dfaa,'isSelected':_0x2b590d,'isHovered':_0x57c3af,'onClick':_0xbb3e41,'onPointerEnter':_0x3cd9e3,'onPointerLeave':_0x5391ad})}):a1_0x404de2('g',{'transform':_0x31fb28(0x22f)+_0x3137ae+','+(_0xfc654d===x[_0x31fb28(0x1db)]?_0x106c6e:_0x27a08c)+_0x31fb28(0xb5),'children':a1_0x404de2(Z,{'dim_x':_0x55aedd,'dim_y':_0xfc654d===x[_0x31fb28(0x1db)]?_0x53d644:_0x3f3f6a,'text':'front\x20'+_0x3f3f6a+_0x31fb28(0x110)+_0x55aedd+_0x31fb28(0x110)+_0x53d644,'treeId':_0x30dfaa,'isSelected':_0x2b590d,'isHovered':_0x57c3af,'onClick':_0xbb3e41,'onMouseEnter':_0x3cd9e3,'onMouseLeave':_0x5391ad,'startPanelThk':_0xfc654d===x[_0x31fb28(0x1db)]?_0x319018:0x0,'endPanelThk':_0xfc654d===x[_0x31fb28(0x1db)]?_0x5702a2:0x0})});}const J=({view:_0x5f47ba=x[a1_0x3c608e(0x1d6)],position:_0x4b3008=[0x0,0x0,0x0],rotation:_0xd4422f=[0x0,0x0,0x0],children:_0x1ae335})=>{const _0x20f708=a1_0x3c608e;if(_0x5f47ba===x[_0x20f708(0x1d6)])return a1_0x404de2(_0x20f708(0x12c),{'position':[_0x4b3008[0x0]/v,_0x4b3008[0x1]/v,_0x4b3008[0x2]/v],'rotation':_0xd4422f,'children':_0x1ae335});const _0x1503b0=_0x4b3008[0x0],_0x12ccff=_0x5f47ba===x[_0x20f708(0x1db)]?_0x4b3008[0x1]:_0x4b3008[0x2],_0x1e5001=_0xd4422f[0x2]*(0xb4/Math['PI']);return a1_0x404de2('g',{'transform':_0x20f708(0x22f)+_0x1503b0+','+_0x12ccff+_0x20f708(0x1a6)+_0x1e5001+')','children':_0x1ae335});};function Lt({TREEID:_0x189c5f,dimension:_0x5280ab,view:_0x32df7e,helper:_0x16e612}){const _0x46277e=a1_0x3c608e,_0x24dc45=_0x16e612[_0x46277e(0x1c8)],_0x529d93=a1_0x409691(F);if(!_0x24dc45||!_0x529d93)return;const {selectedElem:_0x270ef4,setSelectedElem:_0x5a6c85,hoveredElem:_0x48dc7b,setHoveredElem:_0xfe985a}=_0x529d93,{CPNAME:_0x1b4dba}=_0x24dc45;if(!_0x1b4dba)return null;const {elmTrimThk:_0x57200e}=_0x24dc45,_0x4144d0=_0x16e612[_0x46277e(0x225)]?.[_0x46277e(0x9f)],_0x230685=_0x16e612[_0x46277e(0x11c)]?.[_0x46277e(0x9f)],_0x28bfcf=(_0x24dc45[_0x46277e(0xee)]['start']==='S'?_0x4144d0:0x0)??0x0,_0x35fe27=(_0x24dc45[_0x46277e(0xee)][_0x46277e(0x149)]==='S'?_0x230685:0x0)??0x0,_0x131a25=(_0x24dc45[_0x46277e(0xee)][_0x46277e(0x18e)]==='M'?_0x4144d0:0x0)??0x0,_0x4ce8d3=(_0x24dc45[_0x46277e(0xee)]['end']==='M'?_0x230685:0x0)??0x0,_0x511729=_0x5280ab[_0x46277e(0xab)]-_0x57200e[_0x46277e(0x163)]-_0x57200e[_0x46277e(0x198)]+_0x24dc45[_0x46277e(0x17d)][_0x46277e(0x163)]+_0x24dc45['oversize'][_0x46277e(0x198)],_0x515af8=_0x5280ab[_0x46277e(0x1e4)]-_0x28bfcf-_0x35fe27+_0x24dc45['oversize']['start']+_0x24dc45[_0x46277e(0x17d)][_0x46277e(0x149)],_0x1e429e=_0x24dc45[_0x46277e(0x9f)],_0x1f14ad=-(_0x5280ab[_0x46277e(0x111)]/0x2-_0x1e429e/0x2),_0x3263cb=_0x24dc45[_0x46277e(0x17d)][_0x46277e(0x18e)]/0x2-_0x24dc45[_0x46277e(0x17d)]['end']/0x2-_0x28bfcf/0x2+_0x35fe27/0x2,_0x2d2476=_0x24dc45[_0x46277e(0x17d)][_0x46277e(0x198)]/0x2-_0x24dc45['oversize'][_0x46277e(0x163)]/0x2+_0x57200e['bottom']/0x2-_0x57200e['top']/0x2,_0x28e441=_0x270ef4===_0x189c5f,_0x47dd2a=_0x48dc7b===_0x189c5f,_0x2186b6=()=>{_0x5a6c85(_0x28e441?null:_0x189c5f);},_0x4b2a0d=()=>{_0xfe985a(_0x189c5f);},_0x3ffba9=()=>{_0xfe985a(null);};return _0x32df7e===x[_0x46277e(0x1d6)]?a1_0x404de2('group',{'position':[_0x1f14ad/v,_0x3263cb/v,_0x2d2476/v],'rotation':[0x0,Math['PI']/0x2,0x0],'children':a1_0x404de2(U,{'length':_0x511729,'width':_0x515af8,'thk':_0x1e429e,'treeId':_0x189c5f,'isSelected':_0x28e441,'isHovered':_0x47dd2a,'onClick':_0x2186b6,'onPointerEnter':_0x4b2a0d,'onPointerLeave':_0x3ffba9})}):a1_0x404de2('g',{'transform':_0x46277e(0x22f)+_0x1f14ad+','+(_0x32df7e===x[_0x46277e(0x1db)]?_0x3263cb:_0x2d2476)+_0x46277e(0xb9),'children':a1_0x404de2(Z,{'dim_x':_0x32df7e===x[_0x46277e(0x1db)]?_0x515af8:_0x511729,'dim_y':_0x1e429e,'text':_0x46277e(0x107)+_0x511729+_0x46277e(0x110)+_0x515af8+_0x46277e(0x110)+_0x1e429e,'treeId':_0x189c5f,'rotate':0xb4,'isSelected':_0x28e441,'isHovered':_0x47dd2a,'onClick':_0x2186b6,'onMouseEnter':_0x4b2a0d,'onMouseLeave':_0x3ffba9,'startPanelThk':_0x32df7e===x[_0x46277e(0x1db)]?_0x131a25:0x0,'endPanelThk':_0x32df7e===x[_0x46277e(0x1db)]?_0x4ce8d3:0x0})});}function Ot({TREEID:_0x3995fb,dimension:_0x45ebc4,view:_0xb1c3c6,helper:_0x16d98e}){const _0x41a92a=a1_0x3c608e,_0x227178=_0x16d98e[_0x41a92a(0x225)],_0xe44857=a1_0x409691(F);if(!_0x227178||!_0xe44857)return;const {selectedElem:_0xc0df78,setSelectedElem:_0x3ada1f,hoveredElem:_0x20ba0a,setHoveredElem:_0x2b18e2}=_0xe44857,{CPNAME:_0x558174}=_0x227178;if(!_0x558174)return null;const {elmTrimThk:_0x5ec7d0}=_0x227178,_0x2ea69b=_0x16d98e['right']?.[_0x41a92a(0x9f)],_0x126d47=_0x16d98e[_0x41a92a(0x1c8)]?.[_0x41a92a(0x9f)],_0x422656=(_0x227178[_0x41a92a(0xee)][_0x41a92a(0x18e)]==='S'?_0x2ea69b:0x0)??0x0,_0x3d8186=(_0x227178[_0x41a92a(0xee)][_0x41a92a(0x149)]==='S'?_0x126d47:0x0)??0x0,_0x433a55=(_0x227178[_0x41a92a(0xee)][_0x41a92a(0x18e)]==='M'?_0x2ea69b:0x0)??0x0,_0x142828=(_0x227178['trim']['end']==='M'?_0x126d47:0x0)??0x0,_0x307c5c=_0x45ebc4[_0x41a92a(0xab)]-_0x5ec7d0[_0x41a92a(0x163)]-_0x5ec7d0[_0x41a92a(0x198)]+_0x227178[_0x41a92a(0x17d)]['top']+_0x227178[_0x41a92a(0x17d)][_0x41a92a(0x198)],_0x87c719=_0x45ebc4[_0x41a92a(0x111)]-_0x422656-_0x3d8186+_0x227178[_0x41a92a(0x17d)][_0x41a92a(0x18e)]+_0x227178['oversize'][_0x41a92a(0x149)],_0x142363=_0x227178[_0x41a92a(0x9f)],_0x269c16=_0x227178['oversize'][_0x41a92a(0x18e)]/0x2-_0x227178['oversize'][_0x41a92a(0x149)]/0x2-_0x422656/0x2+_0x3d8186/0x2,_0x10ad6d=_0x45ebc4['depth']/0x2-_0x142363/0x2,_0x26430a=_0x227178[_0x41a92a(0x17d)][_0x41a92a(0x198)]/0x2-_0x227178['oversize'][_0x41a92a(0x163)]/0x2+_0x5ec7d0[_0x41a92a(0x198)]/0x2-_0x5ec7d0[_0x41a92a(0x163)]/0x2,_0x3977ad=_0xc0df78===_0x3995fb,_0x213a77=_0x20ba0a===_0x3995fb,_0xd87d20=()=>{_0x3ada1f(_0x3977ad?null:_0x3995fb);},_0x594060=()=>{_0x2b18e2(_0x3995fb);},_0x19d4ff=()=>{_0x2b18e2(null);};return _0xb1c3c6===x[_0x41a92a(0x1d6)]?a1_0x396ee5('group',{'position':[_0x269c16/v,_0x10ad6d/v,_0x26430a/v],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':[a1_0x404de2(U,{'length':_0x307c5c,'width':_0x87c719,'thk':_0x142363,'treeId':_0x3995fb,'isSelected':_0x3977ad,'isHovered':_0x213a77,'onClick':_0xd87d20,'onPointerEnter':_0x594060,'onPointerLeave':_0x19d4ff}),a1_0x404de2(a1_0x325b09,{'position':[0x0,0x0,0x0],'color':_0x41a92a(0x156),'fontSize':0x14,'children':_0x3995fb})]}):a1_0x404de2('g',{'transform':_0x41a92a(0x22f)+_0x269c16+','+(_0xb1c3c6===x[_0x41a92a(0x1db)]?_0x10ad6d:_0x26430a)+_0x41a92a(0xb5),'children':a1_0x404de2(Z,{'dim_x':_0x87c719,'dim_y':_0xb1c3c6===x[_0x41a92a(0x1db)]?_0x142363:_0x307c5c,'text':_0x41a92a(0x15a)+_0x307c5c+_0x41a92a(0x110)+_0x87c719+'\x20x\x20'+_0x142363,'treeId':_0x3995fb,'isSelected':_0x3977ad,'rotate':0xb4,'isHovered':_0x213a77,'onClick':_0xd87d20,'onMouseEnter':_0x594060,'onMouseLeave':_0x19d4ff,'startPanelThk':_0xb1c3c6===x[_0x41a92a(0x1db)]?_0x433a55:0x0,'endPanelThk':_0xb1c3c6===x[_0x41a92a(0x1db)]?_0x142828:0x0})});}function Pt({TREEID:_0x1e8042,dimension:_0x5ec6ee,view:_0x35cc25,helper:_0x535fa7}){const _0x1dea0a=a1_0x3c608e,_0x846a3b=_0x535fa7[_0x1dea0a(0x23c)],_0x39a4a8=a1_0x409691(F);if(!_0x846a3b||!_0x39a4a8)return;const {selectedElem:_0x3ae918,setSelectedElem:_0x54af98,hoveredElem:_0x49ac8f,setHoveredElem:_0x4bd954}=_0x39a4a8,{CPNAME:_0x3cc7cf}=_0x846a3b;if(!_0x3cc7cf)return null;const {elmTrimThk:_0x4ab6ef}=_0x846a3b,_0x2e768e=_0x535fa7['front']?.[_0x1dea0a(0x9f)],_0x450ddf=_0x535fa7[_0x1dea0a(0x225)]?.[_0x1dea0a(0x9f)],_0x23f68b=(_0x846a3b[_0x1dea0a(0xee)][_0x1dea0a(0x18e)]==='S'?_0x2e768e:0x0)??0x0,_0x7fab35=(_0x846a3b[_0x1dea0a(0xee)][_0x1dea0a(0x149)]==='S'?_0x450ddf:0x0)??0x0,_0x196205=(_0x846a3b[_0x1dea0a(0xee)][_0x1dea0a(0x18e)]==='M'?_0x2e768e:0x0)??0x0,_0xf3c572=(_0x846a3b[_0x1dea0a(0xee)][_0x1dea0a(0x149)]==='M'?_0x450ddf:0x0)??0x0,_0x272431=_0x5ec6ee[_0x1dea0a(0xab)]-_0x4ab6ef['top']-_0x4ab6ef[_0x1dea0a(0x198)]+_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x163)]+_0x846a3b['oversize']['bottom'],_0x34da56=_0x5ec6ee[_0x1dea0a(0x1e4)]-_0x23f68b-_0x7fab35+_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x18e)]+_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x149)],_0x37a7a4=_0x846a3b['thk'],_0x384e93=_0x5ec6ee[_0x1dea0a(0x111)]/0x2-_0x37a7a4/0x2,_0x27b480=-(_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x18e)]/0x2-_0x846a3b['oversize']['end']/0x2-_0x23f68b/0x2+_0x7fab35/0x2),_0x2de560=_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x198)]/0x2+_0x846a3b[_0x1dea0a(0x17d)][_0x1dea0a(0x163)]/0x2+_0x4ab6ef[_0x1dea0a(0x198)]/0x2-_0x4ab6ef['top']/0x2,_0x138409=_0x3ae918===_0x1e8042,_0xa1a576=_0x49ac8f===_0x1e8042,_0x2a70ca=()=>{_0x54af98(_0x138409?null:_0x1e8042);},_0x3505a3=()=>{_0x4bd954(_0x1e8042);},_0x41c3d7=()=>{_0x4bd954(null);};return _0x35cc25===x[_0x1dea0a(0x1d6)]?a1_0x404de2(_0x1dea0a(0x12c),{'position':[_0x384e93/v,_0x27b480/v,_0x2de560/v],'rotation':[0x0,Math['PI']/0x2,0x0],'children':a1_0x404de2(U,{'length':_0x272431,'width':_0x34da56,'thk':_0x37a7a4,'treeId':_0x1e8042,'isSelected':_0x138409,'isHovered':_0xa1a576,'onClick':_0x2a70ca,'onPointerEnter':_0x3505a3,'onPointerLeave':_0x41c3d7})}):a1_0x404de2('g',{'transform':_0x1dea0a(0x22f)+_0x384e93+','+(_0x35cc25===x[_0x1dea0a(0x1db)]?_0x27b480:_0x2de560)+_0x1dea0a(0xb9),'children':a1_0x404de2(Z,{'dim_x':_0x35cc25===x[_0x1dea0a(0x1db)]?_0x34da56:_0x272431,'dim_y':_0x37a7a4,'text':'right\x20'+_0x272431+_0x1dea0a(0x110)+_0x34da56+_0x1dea0a(0x110)+_0x37a7a4,'treeId':_0x1e8042,'isSelected':_0x138409,'isHovered':_0xa1a576,'onClick':_0x2a70ca,'onMouseEnter':_0x3505a3,'onMouseLeave':_0x41c3d7,'startPanelThk':_0x35cc25===x[_0x1dea0a(0x1db)]?_0x196205:0x0,'endPanelThk':_0x35cc25===x['_2D_TOP']?_0xf3c572:0x0})});}function Vt({TREEID:_0x3b0880,dimension:_0x2c77cc,view:_0x2a2f83,helper:_0x23203b}){const _0x248ab3=a1_0x3c608e,_0xcce258=ue(_0x3b0880),_0x22a949=a1_0x409691(F);if(!_0xcce258||!_0x22a949)return;const {selectedElem:_0x2dcb68,setSelectedElem:_0xacae75,hoveredElem:_0x5d3d57,setHoveredElem:_0x45852c}=_0x22a949,{topShelfCP:_0x1ffe5d}=_0xcce258;if(!_0x1ffe5d)return;const _0x5052d6=(_0x23203b[_0x248ab3(0x11c)]?.['trim'][_0x248ab3(0x163)]!=='S'?_0x23203b[_0x248ab3(0x11c)]?.['thk']:0x0)??0x0,_0x1842e1=(_0x23203b['back']?.[_0x248ab3(0xee)][_0x248ab3(0x163)]!=='S'?_0x23203b[_0x248ab3(0x225)]?.[_0x248ab3(0x9f)]:0x0)??0x0,_0x4a9266=(_0x23203b[_0x248ab3(0x1c8)]?.[_0x248ab3(0xee)][_0x248ab3(0x163)]!=='S'?_0x23203b[_0x248ab3(0x1c8)]?.[_0x248ab3(0x9f)]:0x0)??0x0,_0x41d798=(_0x23203b[_0x248ab3(0x23c)]?.[_0x248ab3(0xee)][_0x248ab3(0x163)]!=='S'?_0x23203b[_0x248ab3(0x23c)]?.[_0x248ab3(0x9f)]:0x0)??0x0,_0x1dd98b=_0x2c77cc[_0x248ab3(0x111)]-_0x4a9266-_0x41d798,_0x4bb3ba=_0x2c77cc[_0x248ab3(0x1e4)]-_0x1842e1-_0x5052d6,_0xc24c0f=_0xcce258[_0x248ab3(0x20d)],_0xcd451=_0x4a9266/0x2-_0x41d798/0x2,_0x2518b8=-(_0x1842e1/0x2-_0x5052d6/0x2),_0x237d80=_0x2c77cc[_0x248ab3(0xab)]/0x2-_0xc24c0f/0x2,_0x1522ef=_0x2dcb68===_0x3b0880,_0x5db18c=_0x5d3d57===_0x3b0880,_0x3fa1e0=()=>{_0xacae75(_0x1522ef?null:_0x3b0880);},_0x4e839f=()=>{_0x45852c(_0x3b0880);},_0x75264=()=>{_0x45852c(null);};return _0x2a2f83===x[_0x248ab3(0x1d6)]?a1_0x404de2(_0x248ab3(0x12c),{'position':[_0xcd451/v,_0x2518b8/v,_0x237d80/v],'rotation':[0x0,0x0,0x0],'children':a1_0x404de2(U,{'length':_0x1dd98b,'width':_0x4bb3ba,'thk':_0xc24c0f,'opacity':0.8,'treeId':_0x3b0880,'isSelected':_0x1522ef,'isHovered':_0x5db18c,'onClick':_0x3fa1e0,'onPointerEnter':_0x4e839f,'onPointerLeave':_0x75264})}):a1_0x404de2('g',{'transform':'translate('+_0xcd451+','+(_0x2a2f83===x[_0x248ab3(0x1db)]?_0x2518b8:_0x237d80)+')','children':a1_0x404de2(Z,{'dim_x':_0x1dd98b,'dim_y':_0x2a2f83===x[_0x248ab3(0x1db)]?_0x4bb3ba:_0xc24c0f,'text':_0x248ab3(0x11d)+_0x3b0880+_0x248ab3(0x227)+_0x1dd98b+_0x248ab3(0x110)+_0x4bb3ba+_0x248ab3(0x110)+_0xc24c0f,'treeId':_0x3b0880,'isSelected':_0x1522ef,'isHovered':_0x5db18c,'onClick':_0x3fa1e0,'onMouseEnter':_0x4e839f,'onMouseLeave':_0x75264})});}function Rt({TREEID:_0x7dffde,dimension:_0x3f5b94,view:_0x4687b0,helper:_0x287e39}){const _0x351f83=a1_0x3c608e,_0x3b7e14=ue(_0x7dffde),_0x515098=a1_0x409691(F);if(!_0x3b7e14||!_0x515098)return;const {selectedElem:_0x537003,setSelectedElem:_0x11cf56,hoveredElem:_0x4a2ed7,setHoveredElem:_0xd39e55}=_0x515098,{bottomShelfCP:_0x47dff0}=_0x3b7e14;if(!_0x47dff0)return;const _0x482a3a=(_0x287e39[_0x351f83(0x11c)]?.['trim'][_0x351f83(0x198)]!=='S'?_0x287e39['front']?.[_0x351f83(0x9f)]:0x0)??0x0,_0x23944a=(_0x287e39[_0x351f83(0x225)]?.[_0x351f83(0xee)][_0x351f83(0x198)]!=='S'?_0x287e39[_0x351f83(0x225)]?.['thk']:0x0)??0x0,_0x51099c=(_0x287e39[_0x351f83(0x1c8)]?.[_0x351f83(0xee)][_0x351f83(0x198)]!=='S'?_0x287e39[_0x351f83(0x1c8)]?.[_0x351f83(0x9f)]:0x0)??0x0,_0x102a07=(_0x287e39[_0x351f83(0x23c)]?.[_0x351f83(0xee)]['bottom']!=='S'?_0x287e39[_0x351f83(0x23c)]?.[_0x351f83(0x9f)]:0x0)??0x0,_0x5b15e4=_0x3f5b94['width']-_0x51099c-_0x102a07,_0xcc0d45=_0x3f5b94['depth']-_0x23944a-_0x482a3a,_0x31d246=_0x3b7e14[_0x351f83(0x13b)],_0x3cbbcb=_0x51099c/0x2-_0x102a07/0x2,_0x2f6c33=-(_0x23944a/0x2-_0x482a3a/0x2),_0x740b11=-(_0x3f5b94[_0x351f83(0xab)]/0x2-_0x31d246/0x2),_0x33d4fd=_0x537003===_0x7dffde,_0x18bddc=_0x4a2ed7===_0x7dffde,_0x39e719=()=>{_0x11cf56(_0x33d4fd?null:_0x7dffde);},_0x1e4932=()=>{_0xd39e55(_0x7dffde);},_0x5dad02=()=>{_0xd39e55(null);};return _0x4687b0===x['_3D']?a1_0x404de2('group',{'position':[_0x3cbbcb/v,_0x2f6c33/v,_0x740b11/v],'rotation':[0x0,0x0,0x0],'children':a1_0x404de2(U,{'length':_0x5b15e4,'width':_0xcc0d45,'thk':_0x31d246,'opacity':0.8,'treeId':_0x7dffde,'isSelected':_0x33d4fd,'isHovered':_0x18bddc,'onClick':_0x39e719,'onPointerEnter':_0x1e4932,'onPointerLeave':_0x5dad02})}):a1_0x404de2('g',{'transform':_0x351f83(0x22f)+_0x3cbbcb+','+(_0x4687b0===x[_0x351f83(0x1db)]?_0x2f6c33:_0x740b11)+')','children':a1_0x404de2(Z,{'dim_x':_0x5b15e4,'dim_y':_0x4687b0===x['_2D_TOP']?_0xcc0d45:_0x31d246,'text':_0x351f83(0x161)+_0x5b15e4+'\x20x\x20'+_0xcc0d45+_0x351f83(0x110)+_0x31d246,'treeId':_0x7dffde,'isSelected':_0x33d4fd,'isHovered':_0x18bddc,'onClick':_0x39e719,'onMouseEnter':_0x1e4932,'onMouseLeave':_0x5dad02})});}function a1_0x5acd(_0x5e27ea,_0x19b701){_0x5e27ea=_0x5e27ea-0x92;const _0x12249b=a1_0x1224();let _0x5acd80=_0x12249b[_0x5e27ea];return _0x5acd80;}function $t(){const _0x4057e3=a1_0x3c608e,_0xcab6=a1_0x409691(De);if(!_0xcab6)throw new Error(_0x4057e3(0x193));return _0xcab6;}function Ft(_0x4c6283,_0x55ae49,_0x5bfd24,_0x18d502={}){const _0x5dc087=a1_0x3c608e,{throwOnError:_0x4d957f=!0x1}=_0x18d502;if(!_0x4c6283[_0x5dc087(0x201)](_0x55ae49))throw new Error(_0x5dc087(0x132)+_0x55ae49+_0x5dc087(0x1ea));return a1_0x3fa351(()=>{const _0x2a4e78=_0x5dc087;try{return{'result':_0x4c6283[_0x2a4e78(0x179)](_0x55ae49,_0x5bfd24),'error':null,'success':!0x0};}catch(_0x50f196){const _0x42a94b=_0x50f196 instanceof Error?_0x50f196[_0x2a4e78(0xe7)]:_0x2a4e78(0x194);if(_0x4d957f)throw _0x50f196;return{'result':null,'error':_0x42a94b,'success':!0x1};}},[_0x4c6283,_0x55ae49,_0x5bfd24,_0x4d957f]);}function sr(_0x4e2b22,_0xd725c8,_0x2490b2){return a1_0x3fa351(()=>{const _0x5ecfa6=a1_0x5acd;try{const _0x41c11a=_0x4e2b22['findAllMatches'](_0xd725c8,_0x2490b2);return{'matches':_0x41c11a,'error':null,'count':_0x41c11a[_0x5ecfa6(0x13f)]};}catch(_0x7fe6c6){const _0x49fde4=_0x7fe6c6 instanceof Error?_0x7fe6c6['message']:_0x5ecfa6(0x194);return{'matches':[],'error':_0x49fde4,'count':0x0};}},[_0x4e2b22,_0xd725c8,_0x2490b2]);}const R={'LINEAR_DIVISION':a1_0x3c608e(0x14b),'ARTICLE':a1_0x3c608e(0x231)},B={'STRING':a1_0x3c608e(0x1f8),'DESCRIPTOR':'descriptor'},ye={'linearDivision':_0x19a91f=>_0x19a91f[a1_0x3c608e(0x186)]===R[a1_0x3c608e(0x151)],'article':_0x1447de=>_0x1447de[a1_0x3c608e(0x186)]===R[a1_0x3c608e(0xd8)]},zt={'string':_0x33b3a3=>_0x33b3a3[a1_0x3c608e(0x186)]===R[a1_0x3c608e(0x151)]&&_0x33b3a3[a1_0x3c608e(0x1cb)]===B[a1_0x3c608e(0x1d5)],'descriptor':_0x444fd9=>_0x444fd9[a1_0x3c608e(0x186)]===R[a1_0x3c608e(0x151)]&&_0x444fd9['valueSource']===B[a1_0x3c608e(0x219)]},oe={'string':_0x59dd8d=>_0x59dd8d['type']===R[a1_0x3c608e(0xd8)]&&_0x59dd8d[a1_0x3c608e(0x1cb)]===B[a1_0x3c608e(0x1d5)],'descriptor':_0x43c0f4=>_0x43c0f4[a1_0x3c608e(0x186)]===R[a1_0x3c608e(0xd8)]&&_0x43c0f4['valueSource']===B[a1_0x3c608e(0x219)]},q={'linearDivisionString'(_0x36efd4,_0xe925b4,_0x5c39a2,_0x37b368,_0x5324e4,_0x442ba5,_0x296fcf,_0x1a2279){const _0x33f2ff=a1_0x3c608e;return{'TREEID':_0x36efd4,'type':R[_0x33f2ff(0x151)],'valueSource':B[_0x33f2ff(0x1d5)],'DIVDIR':_0xe925b4,'DIVTYPE':_0x5c39a2,'HORDEFTYPE':_0x37b368,'LINDIV1':_0x5324e4,'DIVELEM1':_0x442ba5,'DIVIDER':'','formula':_0x296fcf,'thickness':_0x1a2279};},'linearDivisionDescriptor'(_0x47a5de,_0x2f68de,_0x267f44,_0x3ad306,_0xf7d405,_0x1e1df4,_0x1a7b26,_0x479433){const _0x37698a=a1_0x3c608e;return{'TREEID':_0x47a5de,'type':R[_0x37698a(0x151)],'valueSource':B[_0x37698a(0x219)],'DIVDIR':_0x2f68de,'DIVTYPE':_0x267f44,'HORDEFTYPE':_0x3ad306,'LINDIV1':_0xf7d405,'DIVELEM1':_0x1e1df4,'DIVIDER':'','descriptorName':_0x1a7b26,'thickness':_0x479433};},'articleString'(_0xf04702,_0xa91597,_0x5094f8,_0x1052bb,_0x1458d7,_0xb97b,_0x432d82){const _0x36057e=a1_0x3c608e;return{'TREEID':_0xf04702,'type':R[_0x36057e(0xd8)],'valueSource':B[_0x36057e(0x1d5)],'DIVDIR':_0xa91597,'DIVTYPE':_0x5094f8,'HORDEFTYPE':_0x1052bb,'LINDIV1':_0x1458d7,'DIVELEM1':_0xb97b,'DIVIDER':_0x432d82,'articleName':_0x432d82};},'articleDescriptor'(_0x2a8939,_0x10726c,_0x36f46f,_0x399cce,_0x501877,_0x4d1e58,_0x4ae37b){const _0x3a08b4=a1_0x3c608e;return{'TREEID':_0x2a8939,'type':R[_0x3a08b4(0xd8)],'valueSource':B[_0x3a08b4(0x219)],'DIVDIR':_0x10726c,'DIVTYPE':_0x36f46f,'HORDEFTYPE':_0x399cce,'LINDIV1':_0x501877,'DIVELEM1':_0x4d1e58,'DIVIDER':_0x4ae37b,'descriptorName':_0x4ae37b};},'fromZoneData'(_0x5cc4f0,_0xadf423){const _0x31c3b1=a1_0x3c608e,_0x444310=_0x171620=>_0x171620[_0x31c3b1(0xee)]()[_0x31c3b1(0x1cd)]('#');if(_0x5cc4f0['DIVDIR']==='A'){if(_0x444310(_0x5cc4f0[_0x31c3b1(0x171)])){const _0x1d31d3=_0x5cc4f0['DIVIDER']['replace']('#','')['trim']();return q[_0x31c3b1(0x162)](_0x5cc4f0['TREEID'],_0x5cc4f0[_0x31c3b1(0x1cf)],_0x5cc4f0[_0x31c3b1(0x238)],_0x5cc4f0[_0x31c3b1(0x10d)],_0x5cc4f0[_0x31c3b1(0xfd)],_0x5cc4f0[_0x31c3b1(0x1de)],_0x1d31d3);}return q[_0x31c3b1(0x98)](_0x5cc4f0[_0x31c3b1(0xe8)],_0x5cc4f0[_0x31c3b1(0x1cf)],_0x5cc4f0[_0x31c3b1(0x238)],_0x5cc4f0[_0x31c3b1(0x10d)],_0x5cc4f0['LINDIV1'],_0x5cc4f0[_0x31c3b1(0x1de)],_0x5cc4f0['DIVIDER']);}if(_0x444310(_0x5cc4f0[_0x31c3b1(0xfd)])){const _0x522ce6=_0x5cc4f0['LINDIV1'][_0x31c3b1(0x141)]('#','')[_0x31c3b1(0xee)]();return q[_0x31c3b1(0xb4)](_0x5cc4f0[_0x31c3b1(0xe8)],_0x5cc4f0[_0x31c3b1(0x1cf)],_0x5cc4f0[_0x31c3b1(0x238)],_0x5cc4f0[_0x31c3b1(0x10d)],_0x5cc4f0[_0x31c3b1(0xfd)],_0x5cc4f0[_0x31c3b1(0x1de)],_0x522ce6,_0xadf423);}return q[_0x31c3b1(0xdc)](_0x5cc4f0[_0x31c3b1(0xe8)],_0x5cc4f0[_0x31c3b1(0x1cf)],_0x5cc4f0[_0x31c3b1(0x238)],_0x5cc4f0['HORDEFTYPE'],_0x5cc4f0[_0x31c3b1(0xfd)],_0x5cc4f0['DIVELEM1'],_0x5cc4f0['LINDIV1'],_0xadf423);}};function Gt(_0x2ef517){const _0x41f74d=a1_0x3c608e;if(!_0x2ef517)return _0x41f74d(0x111);const _0x301e23={0x0:_0x41f74d(0x111),0x1:_0x41f74d(0x1e4),0x2:_0x41f74d(0x111),0x3:'depth'};return _0x2ef517[_0x41f74d(0x1cf)]==='V'?_0x41f74d(0xab):_0x2ef517[_0x41f74d(0x10d)]==='W'?_0x41f74d(0x111):_0x2ef517[_0x41f74d(0x10d)]==='D'?'depth':_0x2ef517[_0x41f74d(0x10d)]==='P'?_0x301e23[_0x2ef517[_0x41f74d(0x1de)]]??_0x41f74d(0x111):_0x41f74d(0x111);}function a1_0x1224(){const _0x2df31f=['getDescriptorNames','variables','every','ENDOFFS','toStringTag','stringify','804735uPxYkK','LINDIV1','SpecialVariable','SIZEX','Surfaces','SIZEZ','calculateSections','consume','\x20at\x20position:\x20','log10','Expected\x20\x27)\x27\x20after\x20function\x20arguments.','left\x20','rotation','STARTTRIM','cache','middle','lastIndexOf','HORDEFTYPE','source','peek','\x20x\x20','width','16552380zuUAbK','some','resetState','OPSTRING','2D_FRONT','2D_TOP','mesh','positions','getDescriptor','scanIdentifierOrFunction','front','Top\x20','var-controller__var-name','var-controller__slider-container','toLocaleLowerCase','fromZoneData','Failed\x20to\x20parse\x20factor:\x20','operator','DIMCALCFY','Unexpected\x20character:\x20','entries','85HqYIrL','lightgray','isRepeated','start\x20dimensions\x20','updatedDivider','group','sizerefout1','cumulativeZ','forEach','getDescriptorsByType','Variable','Descriptor\x20','cos','anglgrtx','RIGHTVALUE','zoneInfo','var-controller__reference','divided_length_list','RIGHT_ANGLE_BRACKET','black','bottomShelfThk','articleName','nodes','accumulateIncorporatedThicknesses','length','BinaryExpression','replace','Section','NOT\x20OR','nodeNum','nestingLevel','findAllNonDefaultMatches','spreadMm','position','end','thickness','linear-division','abs','UNIT','\x20variables','simple','Math.floor(','LINEAR_DIVISION','TYP','BRACKET_OPEN','section','warn','blue','#0066ff','startPanelThk','deg2bog','Back\x20','\x20parts','data','next','Total\x20length\x20exceeded','MATHEMATICAL_FUNCTIONS','target','Bot\x20','articleDescriptor','top','round','atan','Invalid\x20condition:\x20','Empty\x20input\x20string','name','descriptorName','evaluateVariable','IAC_BOTTOMSHELFTHICKNESS','remaining\x20position\x20=>\x20','dimensions','Variable\x20name\x20cannot\x20be\x20empty\x20or\x20$mm','evaluateFunction','floor','DIVIDER','isBinaryExpression','input','errors','COMPARISONTYPE','Unexpected\x20token:\x20','evaluateSections','addToken','evaluate','Unhandled\x20case:\x20DIVDIR\x20=\x20','1053224ajtjiZ','Math.pow(','oversize','push','isInsideGroup','term','anglzone','\x0a\x20\x20\x20\x20','Variable\x20Controller','131777frJPrz','Expected\x20\x27}\x27\x20after\x20expression.','type','DATATYPE','Grouping','SIZEY','from','toFixed','anglGrtxs','Expected\x20expression\x20inside\x20parentheses.','start','topShelfCP','filter','sizerefout2','_2D_FRONT','useDescriptorManager\x20must\x20be\x20used\x20within\x20a\x20DescriptorProvider','Unknown\x20error','expression','Total\x20variables:\x20','toRepeat','bottom','AD\x20article\x20depth','Numeric','scanMm','toLowerCase','TOPOFFS','resetCurrent','AD\x20article\x20height','includes','var-controller__number-input','PAREN_OPEN','evaluateBinaryExpression','tokens','childPositions',')\x20rotate(','wasEvaluated','fill','anglclie','div','bevel','getStats','Quick\x20Stats','keys','factor','checkMillimeterSuffix','LEFTVALUE','25%','mm2in','linearDivision','isUnaryExpression','sizerefedg1','ratio:expr','Invalid\x20usage:\x20\x22n\x22\x20cannot\x20appear\x20on\x20the\x20right-hand\x20side\x20of\x20an\x20operator','split','divisionType','border\x20inset','INSETFOR','error','Variable\x20Name','Evaluation\x20Error:\x20','EvaluationError','zone_dims','4ATDjlA','default','var-controller__type-badge','endPanelThk','parse','independent','left','Text','Failed\x20to\x20parse\x20primary:\x20','valueSource','Math.sqrt(','startsWith','PAREN_CLOSE','DIVDIR','IF\x20statement\x20must\x20have\x20exactly\x203\x20parts:\x20IF(condition,\x20trueValue,\x20falseValue).\x20Got:\x20','WERT','Current\x20Value','boxGeometry','endsWith','STRING','_3D','primary','join','Circular\x20dependency:\x20','tan','_2D_TOP','var-controller__header','find','DIVELEM1','Sections','Error\x20in\x20function\x20arguments','polygon','Unknown\x20operator:\x20','Expected\x20\x27>\x27\x20after\x20section\x20expression.','depth','test','isArray','NumberLiteral','var-controller__section','get2DFront','\x20not\x20found','children','slice','toUpperCase','Unknown\x20error\x20during\x20evaluation.','reference','rawType','filter3','NOT','thead','resolved','tbody','anglelem','set','string','Error\x20calculating\x20sections','previous','remaining\x20dimensions\x20','Expected\x20Sections\x20or\x20Section,\x20got\x20','EOF','comparison','consumeMillimeterSuffix','values','hasDescriptor','4293548xLKVzy','Dimensions\x20(Numeric)','Variable\x20','useData\x20must\x20be\x20used\x20within\x20a\x20DataProvider','bottomShelfCP','CPNAME','Failed\x20to\x20parse\x20expression:\x20','reportError','TAGVALUE','evaluateTree','prim_dims','topShelfThk','No\x20variables\x20defined.','add','get2DTop','expr:ratio','SPECIAL_VARIABLE','isVariable','Math.ceil(','reverse','No\x20prims\x20found\x20for\x20article:\x20','BRACE_CLOSE','times','DESCRIPTOR','matchAll','descriptors','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','preformScan','scale(1,-1)','isDigit','inset','acos','IAC_THICKNESS','Repeated','lexeme','back','BOTSHELF','\x20\x20\x20--\x20\x20','has','Material','value','fromEntries','filter4','FUNCTION','conditionTree','translate(','INSET','article','meshStandardMaterial','\x27use\x20strict\x27;\x20return\x20(','getClieThk','LEFT_ANGLE_BRACKET','freeze','kind','DIVTYPE','TEXT','MANINFO','isSection','right','63lwbmjO','localeCompare','DESC_TYPE','log','descriptor','unsupported\x20node\x20type:\x20','tree','articleString','findAllMatches','peekNext','Failed\x20to\x20evaluate\x20expression:\x20','border\x20thk','expr*{ratio}','scan','thk','Surface','#ff6b00','lindiv','anglprim','Expected\x20digit\x20after\x20decimal\x20point\x20at\x20position:\x20','cumulativeX','Unhandled\x20case:\x20DIVELEM1\x20=\x20','Math.min(','sin','size','number','height','Invalid\x20Operator','conditionId','label','variableTree','BRACE_OPEN','205641gqMVho','delete','OPERATOR','linearDivisionDescriptor',')\x20rotate(0)','Function\x20not\x20implemented','sort','No\x20tokens\x20to\x20parse.',')\x20rotate(90)','VARIABLE','BOTTRIM','var-controller__table','isAlpha','rotate(','advance','substring','Descriptor\x20not\x20found:\x20','Failed\x20to\x20parse\x20term:\x20','NAME','hasMillimeterSuffix','isAtEnd','Unknown\x20identifier:\x20','AND','35%','bog2deg','center','Expected\x20\x27(\x27\x20after\x20function\x20name\x20\x27','get','var-controller','AD\x20zone\x20info0','54978lmpUiA','Reference','unsupported\x20node\x20type\x20to\x20traverse:\x20','toString','check','=====================================\x20Zone\x20Start\x20','Type','Materials','bind','ARTICLE','current','useVariables\x20must\x20be\x20used\x20within\x20a\x20VariableProvider','undefined','linearDivisionString','toISOString','FunctionCall','reduce','\x20-\x20','Empty\x20expression','evaluateNode','TAGNAME','text','match','defineProperty','message','TREEID','gray','sizerefmid','sections','isNumberLiteral','isFunctionCall','trim','isGrouping','asin','NUM','charAt','map','NUMBER','isSections'];a1_0x1224=function(){return _0x2df31f;};return a1_0x1224();}function Bt(_0x25f6b3,_0x3757a0){return _0x3757a0?_0x3757a0[_0x25f6b3]:0x0;}function Ht(_0x38802a,_0x501d01){const _0x24a7a0=a1_0x3c608e,_0x3cb4a4=_0x38802a;if(Kt(_0x38802a))return{'value':_0x38802a['startsWith']('#')?_0x38802a[_0x24a7a0(0x1ec)](0x1):_0x38802a,'original':_0x3cb4a4,'isReference':!0x0};if(/^\d+:\d+$/['test'](_0x38802a))return{'value':_0x38802a,'original':_0x3cb4a4,'isReference':!0x1};const {format:_0x39d920,expression:_0x2c2afd,suffix:_0x445eaa}=Zt(_0x38802a);let _0x251b41=_0x2c2afd;_0x251b41=_0x251b41[_0x24a7a0(0x141)](/^\((.+)\)$/,'$1');const _0x273a98=we(_0x251b41,{'variableTree':_0x501d01,'allowFunctions':!0x0,'dataType':'FL','silent':!0x0})[_0x24a7a0(0x22a)]??_0x2c2afd;let _0x79fdf7;switch(_0x39d920){case _0x24a7a0(0x211):_0x79fdf7=''+_0x273a98+_0x445eaa;break;case'ratio:expr':_0x79fdf7=''+_0x445eaa+_0x273a98;break;case'expr*{ratio}':_0x79fdf7=''+_0x273a98+_0x445eaa;break;case _0x24a7a0(0x14f):_0x79fdf7=String(_0x273a98);break;}return{'value':_0x79fdf7,'original':_0x3cb4a4,'isReference':!0x1};}function Ut(_0x458bf2,_0x9b6b84){const _0x4e83ef=a1_0x3c608e;return Ht(_0x458bf2,_0x9b6b84)[_0x4e83ef(0x22a)];}function Zt(_0x415f3e){const _0x33d6c9=a1_0x3c608e,_0x162f5f=_0x415f3e[_0x33d6c9(0xee)]()[_0x33d6c9(0x141)](/^\((.+)\)$/,'$1'),_0x16d934=_0x162f5f[_0x33d6c9(0xe5)](/^(\d+|n):(.+?)(mm|cm)?$/);if(_0x16d934){const [,_0x5614b4,_0x3bc14a,_0x181f0c]=_0x16d934;return{'format':_0x33d6c9(0x1b7),'expression':_0x3bc14a['trim'](),'suffix':_0x181f0c?_0x5614b4+':'+_0x181f0c:_0x5614b4+':'};}const _0x18deda=_0x162f5f[_0x33d6c9(0xe5)](/^(.+?)(mm|cm)?:(\d+)$/);if(_0x18deda){const [,_0x20f3bf,_0x385eee,_0x2c0b2e]=_0x18deda;return{'format':_0x33d6c9(0x211),'expression':_0x20f3bf[_0x33d6c9(0xee)](),'suffix':_0x385eee?_0x385eee+':'+_0x2c0b2e:':'+_0x2c0b2e};}const _0x1eb32c=_0x162f5f[_0x33d6c9(0xe5)](/^(.+?)(\*)?{(\d+)}$/);if(_0x1eb32c){const [,_0x87c328,_0x3ffafd,_0x5ed04b]=_0x1eb32c;return{'format':_0x33d6c9(0x9d),'expression':_0x87c328[_0x33d6c9(0xee)](),'suffix':_0x3ffafd?'*{'+_0x5ed04b+'}':'{'+_0x5ed04b+'}'};}return{'format':'simple','expression':_0x162f5f,'suffix':''};}function Kt(_0x4202fa){const _0x157d3c=a1_0x3c608e;return _0x4202fa[_0x157d3c(0x1cd)]('#')?!0x0:_0x4202fa[_0x157d3c(0x1a0)]('(')||/[+\-*/]/['test'](_0x4202fa)?!0x1:/^[A-Za-z0-9_-]+$/[_0x157d3c(0x1e5)](_0x4202fa)?!0x0:!/^\d+:\d+$/[_0x157d3c(0x1e5)](_0x4202fa);}function Yt({divider:_0x11129a,inputData:_0x1970b9}){const _0x23579f=a1_0x3c608e,_0xc5f9c7=$t(),{resolveString:_0xde6160}=j(),{result:_0x59634b,error:_0x3da341}=Ft(_0xc5f9c7,_0x11129a[_0x23579f(0x169)],_0x1970b9,{'throwOnError':!0x1}),_0xba10d=a1_0x3fa351(()=>_0x11129a?oe['string'](_0x11129a)?_0x11129a[_0x23579f(0x13c)]:oe[_0x23579f(0x95)](_0x11129a)&&_0x59634b?.['lindiv']?_0x59634b[_0x23579f(0xa2)]:'':'',[_0x11129a,_0x59634b]);return{'updatedDivider':a1_0x3fa351(()=>{const _0x40ce91=_0x23579f;if(_0x11129a)return _0x59634b?.[_0x40ce91(0xa2)]!=null?{..._0x11129a,'LINDIV1':Ut(_0xde6160(_0x59634b[_0x40ce91(0xa2)])),'articleName':_0xba10d}:{..._0x11129a,'LINDIV1':_0xde6160(_0x11129a[_0x40ce91(0xfd)])};},[_0x11129a,_0x59634b,_0xba10d,_0xde6160])};}const Wt={'width':{'rotation':[0x0,Math['PI']/0x2,0x0],'get3D':(_0x3b205d,_0xb26689)=>({'length':_0x3b205d['height'],'width':_0x3b205d[a1_0x3c608e(0x1e4)],'thk':_0xb26689}),'get2DTop':(_0x70f172,_0x5a37d)=>({'dim_x':_0x70f172[a1_0x3c608e(0x1e4)],'dim_y':_0x5a37d,'rotate':0x5a}),'get2DFront':(_0x13322c,_0x30b83d)=>({'dim_x':_0x13322c[a1_0x3c608e(0xab)],'dim_y':_0x30b83d,'rotate':0x5a})},'height':{'rotation':[0x0,0x0,0x0],'get3D':(_0x4a61fa,_0x27d241)=>({'length':_0x4a61fa[a1_0x3c608e(0x111)],'width':_0x4a61fa[a1_0x3c608e(0x1e4)],'thk':_0x27d241}),'get2DTop':_0x29bdbb=>({'dim_x':_0x29bdbb[a1_0x3c608e(0x111)],'dim_y':_0x29bdbb[a1_0x3c608e(0x1e4)]}),'get2DFront':(_0x553914,_0x5f1f1c)=>({'dim_x':_0x553914[a1_0x3c608e(0x111)],'dim_y':_0x5f1f1c})},'depth':{'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'get3D':(_0xc63feb,_0x3edb30)=>({'length':_0xc63feb[a1_0x3c608e(0xab)],'width':_0xc63feb[a1_0x3c608e(0x111)],'thk':_0x3edb30}),'get2DTop':(_0x16e22e,_0x5f2a26)=>({'dim_x':_0x16e22e[a1_0x3c608e(0x111)],'dim_y':_0x5f2a26}),'get2DFront':_0x1eb164=>({'dim_x':_0x1eb164[a1_0x3c608e(0x111)],'dim_y':_0x1eb164['height']})},'article':{'rotation':[0x0,0x0,0x0],'get3D':(_0x5a9b65,_0x78999a)=>({'length':_0x5a9b65[a1_0x3c608e(0x111)],'width':_0x5a9b65[a1_0x3c608e(0x1e4)],'thk':_0x78999a}),'get2DTop':_0x56883e=>({'dim_x':_0x56883e['width'],'dim_y':_0x56883e['depth']}),'get2DFront':(_0xd6b52b,_0x5506e1)=>({'dim_x':_0xd6b52b[a1_0x3c608e(0x111)],'dim_y':_0x5506e1})},'independent':{'rotation':[0x0,0x0,0x0],'get3D':(_0x185311,_0xe71faf)=>({'length':_0x185311['width'],'width':_0x185311[a1_0x3c608e(0x1e4)],'thk':_0xe71faf}),'get2DTop':_0x389a26=>({'dim_x':_0x389a26[a1_0x3c608e(0x111)],'dim_y':_0x389a26[a1_0x3c608e(0x1e4)]}),'get2DFront':(_0x39f080,_0xe6cedd)=>({'dim_x':_0x39f080[a1_0x3c608e(0x111)],'dim_y':_0xe6cedd})}},Xt=(_0x5d2bb5,_0x667d65,_0x243401)=>({'x':_0x5d2bb5===a1_0x3c608e(0x111)?_0x243401['width']/0x2+_0x667d65/0x2:0x0,'y':_0x5d2bb5===a1_0x3c608e(0x1e4)?_0x243401['depth']/0x2+_0x667d65/0x2:0x0,'z':_0x5d2bb5===a1_0x3c608e(0xab)?_0x243401[a1_0x3c608e(0xab)]/0x2+_0x667d65/0x2:0x0});function jt({divider:_0x1faca9,view:_0x30028e,childrenPositon:_0x426d3e,dividerThk:_0x4c6662}){const _0x3ae40a=a1_0x3c608e,_0x1843d0=a1_0x409691(F),_0x20d27f=_0x426d3e['dividerType'],_0x109f56=_0x426d3e[_0x3ae40a(0x1a5)],_0x1342d2=Wt[_0x20d27f];if(!_0x1843d0)return null;const {selectedElem:_0x39105c,setSelectedElem:_0x12057d,hoveredElem:_0x193fc1,setHoveredElem:_0xffbcfe}=_0x1843d0;return _0x109f56[_0x3ae40a(0xf3)]((_0x514aea,_0x4e8d8b)=>{const _0x11a532=_0x3ae40a,_0x461f56=!(_0x4e8d8b===_0x109f56[_0x11a532(0x13f)]-0x1)&&_0x4c6662!==0x0,_0xf5e0e4=Xt(_0x20d27f,_0x4c6662,_0x514aea[_0x11a532(0x1c1)]),_0x548e7a=_0x1342d2['get3D'](_0x514aea[_0x11a532(0x1c1)],_0x4c6662),_0x5c67d8=_0x30028e===x['_2D_TOP']?_0x1342d2[_0x11a532(0x210)](_0x514aea[_0x11a532(0x1c1)],_0x4c6662):_0x1342d2[_0x11a532(0x1e9)](_0x514aea[_0x11a532(0x1c1)],_0x4c6662),_0x5de6ff=_0x1faca9['TREEID']+'\x20divider',_0x4ff5e9=_0x39105c===_0x5de6ff,_0x47c5f2=_0x193fc1===_0x5de6ff;return a1_0x404de2(a1_0x3d7b58,{'children':a1_0x396ee5(J,{'view':_0x30028e,'position':[_0x514aea['x']/v,_0x514aea['y']/v,_0x514aea['z']/v],'children':[a1_0x404de2(J,{'view':_0x30028e,'position':[_0xf5e0e4['x']/v,_0xf5e0e4['y']/v,_0xf5e0e4['z']/v],'rotation':_0x1342d2[_0x11a532(0x108)],'children':_0x461f56&&a1_0x396ee5(a1_0x32a4ce,{'children':[a1_0x404de2(_0x11a532(0x12c),{'children':a1_0x396ee5(_0x11a532(0x118),{'children':[a1_0x404de2('boxGeometry',{'args':[_0x548e7a[_0x11a532(0x13f)],_0x548e7a['width'],_0x548e7a['thk']]}),a1_0x404de2(_0x11a532(0x232),{'color':'blue','transparent':!0x0,'opacity':0.3})]})}),_0x30028e===x['_3D']?a1_0x404de2(U,{..._0x548e7a,'opacity':0x1,'treeId':_0x5de6ff,'isSelected':_0x4ff5e9,'isHovered':_0x47c5f2,'onClick':()=>_0x12057d(_0x4ff5e9?null:_0x5de6ff),'onPointerEnter':()=>_0xffbcfe(_0x5de6ff),'onPointerLeave':()=>_0xffbcfe(null)}):a1_0x404de2(Z,{..._0x5c67d8,'text':_0x5de6ff,'treeId':_0x5de6ff,'isSelected':_0x4ff5e9,'isHovered':_0x47c5f2,'onClick':()=>_0x12057d(_0x4ff5e9?null:_0x5de6ff),'onMouseEnter':()=>_0xffbcfe(_0x5de6ff),'onMouseLeave':()=>_0xffbcfe(null)})]})}),a1_0x404de2(ze,{'TREEID':_0x514aea[_0x11a532(0xe8)],'dimension':_0x514aea[_0x11a532(0x1c1)],'view':_0x30028e})]})},_0x4e8d8b);});}function qt({view:_0x2fb4bb,remainingZone:_0x347528,articleName:_0x560a1b}){const _0x40e00d=a1_0x3c608e;return a1_0x404de2(be,{'articleName':_0x560a1b,'dimensionOverrides':{'width':_0x347528[_0x40e00d(0x16d)][_0x40e00d(0x111)],'height':_0x347528['dimensions'][_0x40e00d(0xab)],'depth':_0x347528[_0x40e00d(0x16d)][_0x40e00d(0x1e4)]},'children':a1_0x404de2(J,{'view':_0x2fb4bb,'position':[_0x347528[_0x40e00d(0x148)]['x']/v,_0x347528['position']['y']/v,_0x347528[_0x40e00d(0x148)]['z']/v],'children':a1_0x404de2(Ge,{'view':_0x2fb4bb})})});}function Jt({childrenPositon:_0x168bc9,dividerThk:_0x32b3c7,divider:_0x28f44f,view:_0x27a34b,remainingZone:_0x3d4a18}){const _0x3c03bc=a1_0x3c608e;if(ye[_0x3c03bc(0x1b4)](_0x28f44f))return _0x168bc9?a1_0x404de2(jt,{'view':_0x27a34b,'childrenPositon':_0x168bc9,'dividerThk':_0x32b3c7,'divider':_0x28f44f,'remainingZone':_0x3d4a18}):null;if(ye[_0x3c03bc(0x231)](_0x28f44f)){const _0x4ca57e=oe[_0x3c03bc(0x1f8)](_0x28f44f)?_0x28f44f['articleName']:_0x28f44f[_0x3c03bc(0xfd)];return!_0x3d4a18||_0x4ca57e===''?null:a1_0x404de2(qt,{'view':_0x27a34b,'articleName':_0x4ca57e,'remainingZone':_0x3d4a18});}return null;}function Fe(){const _0x209cd4=a1_0x3c608e,{getArticleData:_0x5b7b5f}=Q(),{articleName:_0x18acf9,dimensionOverrides:_0x435951}=ee(),{resolveString:_0x291695}=j(),{anglPrims:_0x15fedf}=_0x5b7b5f(_0x18acf9);if(_0x15fedf[_0x209cd4(0x13f)]===0x0)throw new Error(_0x209cd4(0x216)+_0x18acf9);const _0x5e1150=_0x15fedf[0x0],_0x4f2e9e=(_0x3c390b,_0x161d7e)=>{const _0x1e8b3c=typeof _0x3c390b=='string'&&_0x3c390b!==''?se(_0x291695(_0x3c390b)):_0x161d7e;return parseFloat(String(_0x1e8b3c))||0x0;},_0x224fe2={'width':_0x435951?.['width']??_0x4f2e9e(_0x5e1150['DIMCALCFX'],_0x5e1150[_0x209cd4(0xff)]),'height':_0x435951?.[_0x209cd4(0xab)]??_0x4f2e9e(_0x5e1150['DIMCALCFZ'],_0x5e1150[_0x209cd4(0x101)]),'depth':_0x435951?.[_0x209cd4(0x1e4)]??_0x4f2e9e(_0x5e1150[_0x209cd4(0x124)],_0x5e1150[_0x209cd4(0x189)])};return{'current_prim':_0x5e1150,'prim_dims':_0x224fe2};}function ze({TREEID:_0x4f432c,dimension:_0x13fe37,view:_0x39420e=x[a1_0x3c608e(0x1d6)]}){const _0x233be5=a1_0x3c608e;console[_0x233be5(0x94)](_0x233be5(0xd4)+_0x4f432c+'\x20=====================================');const _0xddcca9=ue(_0x4f432c),_0x33d3d2=_0xddcca9?.[_0x233be5(0x136)](),_0x27c144=_0xddcca9?.['dividerThk']||0x0,_0x12e829=Fe(),_0x4075e0=yt(_0x4f432c),_0x4f56f8=It(_0x4075e0,_0xddcca9?.[_0x233be5(0x20d)]||0x0,_0xddcca9?.[_0x233be5(0x13b)]||0x0),_0x637f88=_t(_0x4075e0),_0x2cfdba=bt(_0x13fe37,_0x637f88),_0x2c7fb0=kt(_0x2cfdba,_0x4f56f8),_0x5dde94=a1_0x3fa351(()=>{const _0x4a2933=_0x233be5;if(_0xddcca9)return q[_0x4a2933(0x121)](_0xddcca9['currentZone'],_0x27c144);},[_0xddcca9,_0x27c144]),_0xb995c4=_0x33d3d2?Object[_0x233be5(0x22b)](_0x33d3d2):{},_0x5c5940=Gt(_0x5dde94),_0x1acadc=Bt(_0x5c5940,_0x2c7fb0[_0x233be5(0x16d)]);_0xb995c4['AD\x20article\x20width']=_0x12e829?.[_0x233be5(0x20c)][_0x233be5(0x111)]['toString'](),_0xb995c4[_0x233be5(0x19f)]=_0x12e829?.[_0x233be5(0x20c)]['height'][_0x233be5(0xd2)](),_0xb995c4[_0x233be5(0x199)]=_0x12e829?.[_0x233be5(0x20c)]['depth'][_0x233be5(0xd2)](),_0xb995c4[0x0]='0',_0xb995c4['X']=_0x1acadc['toString']();const _0x3d7d1f=_0x5dde94?zt['descriptor'](_0x5dde94):!0x1,_0x469a5d=_0x5dde94?oe['descriptor'](_0x5dde94):!0x1,_0xfed262=_0x3d7d1f||_0x469a5d?Yt({'divider':_0x5dde94,'inputData':_0xb995c4})[_0x233be5(0x12b)]:_0x5dde94,_0x279a99=Dt(_0x2c7fb0,_0x27c144,_0xfed262,_0xddcca9?.[_0x233be5(0x1eb)][_0x233be5(0xf3)](_0x32f99c=>_0x32f99c['TREEID'])||[]);return(_0x4f432c==='0'||_0x4f432c==='0')&&(console[_0x233be5(0x94)](_0x233be5(0x12a),_0x13fe37),console[_0x233be5(0x94)](_0x233be5(0x1bb),_0x637f88),console[_0x233be5(0x94)](_0x233be5(0x9c),_0x4f56f8),console[_0x233be5(0x94)]('zone\x20dimensions\x20',_0x2cfdba['dimensions']),console[_0x233be5(0x94)]('position\x20=>\x20',_0x2cfdba['position']),console[_0x233be5(0x94)](_0x233be5(0x1fb),_0x2c7fb0[_0x233be5(0x16d)]),console['log'](_0x233be5(0x16c),_0x2c7fb0[_0x233be5(0x148)])),a1_0x404de2(a1_0x32a4ce,{'children':a1_0x396ee5(J,{'view':_0x39420e,'position':[_0x2cfdba[_0x233be5(0x148)]['x']/v,_0x2cfdba[_0x233be5(0x148)]['y']/v,_0x2cfdba[_0x233be5(0x148)]['z']/v],'children':[_0x4075e0[_0x233be5(0x11c)]?.['CPNAME']&&a1_0x404de2(Ct,{'view':_0x39420e,'TREEID':Oe(_0x4f432c),'dimension':_0x2cfdba[_0x233be5(0x16d)],'helper':_0x4075e0}),_0x4075e0['left']?.['CPNAME']&&a1_0x404de2(Lt,{'view':_0x39420e,'TREEID':Re(_0x4f432c),'dimension':_0x2cfdba[_0x233be5(0x16d)],'helper':_0x4075e0}),_0x4075e0[_0x233be5(0x225)]?.['CPNAME']&&a1_0x404de2(Ot,{'view':_0x39420e,'TREEID':Ve(_0x4f432c),'dimension':_0x2cfdba[_0x233be5(0x16d)],'helper':_0x4075e0}),_0x4075e0['right']?.[_0x233be5(0x207)]&&a1_0x404de2(Pt,{'view':_0x39420e,'TREEID':Pe(_0x4f432c),'dimension':_0x2cfdba[_0x233be5(0x16d)],'helper':_0x4075e0}),_0xddcca9?.[_0x233be5(0x18f)]&&a1_0x404de2(Vt,{'view':_0x39420e,'TREEID':_0x4f432c,'dimension':_0x2cfdba['dimensions'],'helper':_0x4075e0}),_0xddcca9?.[_0x233be5(0x206)]&&a1_0x404de2(Rt,{'view':_0x39420e,'TREEID':_0x4f432c,'dimension':_0x2cfdba[_0x233be5(0x16d)],'helper':_0x4075e0}),a1_0x404de2(J,{'view':_0x39420e,'position':[_0x2c7fb0[_0x233be5(0x148)]['x']/v,_0x2c7fb0[_0x233be5(0x148)]['y']/v,_0x2c7fb0[_0x233be5(0x148)]['z']/v],'children':_0xfed262&&a1_0x404de2(Jt,{'remainingZone':_0x2c7fb0,'divider':_0xfed262,'view':_0x39420e,'childrenPositon':_0x279a99,'dividerThk':_0x27c144})})]})});}const Qt=a1_0x3c608e(0x21e);function Ge({view:_0x2b80e1=x['_3D']}){const _0x207d00=a1_0x3c608e;console[_0x207d00(0x94)]('=========================================================\x20\x20Designer\x20\x20\x20===============================================================================================');const _0x473d89=Fe()[_0x207d00(0x20c)],_0x2b7eeb=a1_0x404de2(ze,{'TREEID':'0','view':_0x2b80e1,'dimension':_0x473d89}),_0x4c361f=_0x2b80e1===x[_0x207d00(0x1d6)]?_0x2b7eeb:a1_0x404de2('g',{'transform':Qt,'children':_0x2b7eeb});return console[_0x207d00(0x94)](_0x4c361f),_0x4c361f;}function ar({view:_0x2ca1cb,data:_0x3ef9d4,articleName:_0x15ba0c}){const _0x4bd1d3=a1_0x3c608e,_0x5011ae=_0x3ef9d4[_0x4bd1d3(0x21b)],_0x44f847=_0x3ef9d4['variables'],_0x545ac5=_0x3ef9d4[_0x4bd1d3(0xa3)][_0x4bd1d3(0xf3)](_0x433560=>_0x433560[_0x4bd1d3(0xc3)]);return a1_0x404de2(a1_0x32a4ce,{'children':a1_0x404de2(We,{'names':_0x545ac5,'data':_0x3ef9d4,'children':a1_0x404de2(be,{'articleName':_0x15ba0c,'children':a1_0x404de2(je,{'imosVariables':_0x44f847,'children':a1_0x404de2(it,{'descriptorData':_0x5011ae,'children':a1_0x404de2(Ge,{'view':_0x2ca1cb})})})})})});}function or(){const _0x272553=a1_0x3c608e,{tree:_0xa17b21,getValue:_0x53c238,setValue:_0x527b85}=j(),_0x1e7f42=(_0x522415,_0x5e492e)=>{const _0x5b81e5=Number(_0x5e492e);_0x527b85(_0x522415,isNaN(_0x5b81e5)?_0x5e492e:_0x5b81e5);},_0x485ef3=((()=>{const _0x3e896d=a1_0x5acd,_0x490750={[P[_0x3e896d(0x19a)]]:{'type':P[_0x3e896d(0x19a)],'label':_0x3e896d(0x203),'variables':[]},[P[_0x3e896d(0xa0)]]:{'type':P[_0x3e896d(0xa0)],'label':_0x3e896d(0x100),'variables':[]},[P[_0x3e896d(0x229)]]:{'type':P[_0x3e896d(0x229)],'label':_0x3e896d(0xd6),'variables':[]},[P[_0x3e896d(0x1c9)]]:{'type':P[_0x3e896d(0x1c9)],'label':_0x3e896d(0x1c9),'variables':[]}};return Array['from'](_0xa17b21[_0x3e896d(0x126)]())[_0x3e896d(0x12f)](([_0x75ac2b,_0x3a13e8])=>{const _0x269a93=_0x3e896d,_0x3a06a3=_0x53c238(_0x75ac2b),_0x3720f2=_0x3a13e8[_0x269a93(0x1d1)][_0x269a93(0x1cd)]('$');_0x490750[_0x3a13e8['TYP']]?.[_0x269a93(0xf7)]['push']({'name':_0x75ac2b,'value':_0x3a06a3??_0x269a93(0xdb),'reference':_0x3720f2?_0x3a13e8[_0x269a93(0x1d1)]:void 0x0,'rawType':_0x3a13e8[_0x269a93(0x152)]});}),Object[_0x3e896d(0x200)](_0x490750)['filter'](_0x4af70e=>_0x4af70e[_0x3e896d(0xf7)]['length']>0x0);})()),_0x176ba4=_0x51d39d=>{const _0x4a8dec=a1_0x5acd,_0x42e015=_0x51d39d[_0x4a8dec(0x1f0)]===P[_0x4a8dec(0x19a)],_0x13a87b=typeof _0x51d39d['value']==_0x4a8dec(0xaa)?_0x51d39d[_0x4a8dec(0x22a)]:Number(_0x51d39d[_0x4a8dec(0x22a)]);return _0x42e015&&!isNaN(_0x13a87b)?a1_0x396ee5('div',{'className':_0x4a8dec(0x11f),'children':[a1_0x404de2(_0x4a8dec(0x173),{'type':'range','min':0x0,'max':0x4e20,'value':_0x13a87b,'onChange':_0x1c1641=>_0x1e7f42(_0x51d39d[_0x4a8dec(0x168)],_0x1c1641['target'][_0x4a8dec(0x22a)]),'className':'var-controller__slider'}),a1_0x404de2(_0x4a8dec(0x173),{'type':_0x4a8dec(0xaa),'value':_0x13a87b,'onChange':_0x55b69d=>_0x1e7f42(_0x51d39d['name'],_0x55b69d[_0x4a8dec(0x160)][_0x4a8dec(0x22a)]),'onBlur':_0x33558e=>_0x1e7f42(_0x51d39d[_0x4a8dec(0x168)],_0x33558e[_0x4a8dec(0x160)][_0x4a8dec(0x22a)]),'className':_0x4a8dec(0x1a1),'min':0x0,'max':0x4e20})]}):a1_0x404de2('input',{'type':'text','value':_0x51d39d['value'],'onChange':_0x5e64b2=>_0x1e7f42(_0x51d39d[_0x4a8dec(0x168)],_0x5e64b2[_0x4a8dec(0x160)][_0x4a8dec(0x22a)]),'onBlur':_0x130c89=>_0x1e7f42(_0x51d39d[_0x4a8dec(0x168)],_0x130c89[_0x4a8dec(0x160)][_0x4a8dec(0x22a)]),'className':'var-controller__text-input'});};return a1_0x396ee5(_0x272553(0x1aa),{'className':_0x272553(0xcd),'children':[a1_0x404de2('h2',{'children':_0x272553(0x183)}),a1_0x396ee5('p',{'className':_0x272553(0x1dc),'children':[_0x272553(0x196),_0xa17b21[_0x272553(0xa9)]]}),_0x485ef3[_0x272553(0xf3)](_0x5a039f=>a1_0x396ee5(_0x272553(0x154),{'className':_0x272553(0x1e8),'children':[a1_0x396ee5('h3',{'className':'var-controller__section-title','children':[_0x5a039f['label'],'\x20(',_0x5a039f['variables'][_0x272553(0x13f)],')']}),a1_0x396ee5('table',{'className':_0x272553(0xbc),'children':[a1_0x404de2(_0x272553(0x1f3),{'children':a1_0x396ee5('tr',{'children':[a1_0x404de2('th',{'style':{'width':_0x272553(0x1b2)},'children':_0x272553(0x1be)}),a1_0x404de2('th',{'style':{'width':_0x272553(0xc8)},'children':_0x272553(0x1d2)}),a1_0x404de2('th',{'style':{'width':_0x272553(0x1b2)},'children':_0x272553(0xd0)}),a1_0x404de2('th',{'className':'center','style':{'width':'15%'},'children':_0x272553(0xd5)})]})}),a1_0x404de2(_0x272553(0x1f5),{'children':_0x5a039f[_0x272553(0xf7)][_0x272553(0xf3)](_0xc334c0=>a1_0x396ee5('tr',{'children':[a1_0x404de2('td',{'className':_0x272553(0x11e),'children':_0xc334c0['name']}),a1_0x404de2('td',{'children':_0x176ba4(_0xc334c0)}),a1_0x404de2('td',{'className':_0x272553(0x137),'children':_0xc334c0[_0x272553(0x1ef)]||'-'}),a1_0x404de2('td',{'style':{'textAlign':_0x272553(0xca)},'children':a1_0x404de2('span',{'className':_0x272553(0x1c4),'children':_0x5a039f['type']})})]},_0xc334c0['name']))})]})]},_0x5a039f[_0x272553(0x186)])),a1_0x396ee5('section',{'className':'var-controller__stats','children':[a1_0x404de2('h4',{'children':_0x272553(0x1ad)}),a1_0x404de2('ul',{'children':_0x485ef3[_0x272553(0xf3)](_0x3509e0=>a1_0x396ee5('li',{'children':[_0x3509e0[_0x272553(0xae)],':\x20',_0x3509e0[_0x272553(0xf7)]['length'],_0x272553(0x14e)]},_0x3509e0[_0x272553(0x186)]))})]})]});}const lr='1.0.0';export{_e as ArticleContext,ar as ArticleDesigner,be as ArticleProvider,F as DataContext,We as DataProvider,De as DescriptorContext,it as DescriptorProvider,Ge as Designer,lr as VERSION,x as VIEW,or as VarController,ke as VariableContext,je as VariableProvider,nr as VariableResolver,ze as Zone,Yt as ZoneDescriptor,ee as useArticle,Q as useData,Ft as useDescriptorEvaluation,$t as useDescriptorManager,sr as useDescriptorMatches,j as useVariables};
1
+ const a1_0x1683b7=a1_0x26a9;(function(_0x44f3e7,_0xa8f407){const _0x10892f=a1_0x26a9,_0x27bd5c=_0x44f3e7();while(!![]){try{const _0xcd5563=parseInt(_0x10892f(0x23f))/0x1+parseInt(_0x10892f(0x1b1))/0x2+parseInt(_0x10892f(0x1a7))/0x3+-parseInt(_0x10892f(0x2a1))/0x4*(parseInt(_0x10892f(0x2dd))/0x5)+parseInt(_0x10892f(0x231))/0x6*(-parseInt(_0x10892f(0x2d3))/0x7)+-parseInt(_0x10892f(0x23b))/0x8+parseInt(_0x10892f(0x31a))/0x9*(-parseInt(_0x10892f(0x1c2))/0xa);if(_0xcd5563===_0xa8f407)break;else _0x27bd5c['push'](_0x27bd5c['shift']());}catch(_0x461583){_0x27bd5c['push'](_0x27bd5c['shift']());}}}(a1_0x2237,0xacd5d));var Ue=Object['defineProperty'],Ze=(_0x2460c0,_0x3a830a,_0x542e4e)=>_0x3a830a in _0x2460c0?Ue(_0x2460c0,_0x3a830a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x542e4e}):_0x2460c0[_0x3a830a]=_0x542e4e,D=(_0x22e6e1,_0x2cc9ea,_0x5d025d)=>Ze(_0x22e6e1,typeof _0x2cc9ea!=a1_0x1683b7(0x1cd)?_0x2cc9ea+'':_0x2cc9ea,_0x5d025d);import{jsx as a1_0x43a753,jsxs as a1_0x5e2e91,Fragment as a1_0x4a4895}from'react/jsx-runtime';import{createContext as a1_0x4960eb,useState as a1_0x2c6b28,useCallback as a1_0x18da91,useMemo as a1_0x3e46c7,useEffect as a1_0x35face,useContext as a1_0x5c5dc0,Fragment as a1_0x18e5e3}from'react';import{Edges as a1_0x3a3a74,Text as a1_0x3c68ce}from'@react-three/drei';import{Shape as a1_0x3702a0,ExtrudeGeometry as a1_0xdc039f,BoxGeometry as a1_0x2fc4f1}from'three';function a1_0x2237(){const _0x46817e=['1.0.0','Surface','FunctionCall','OPERATOR','isInsideGroup','\x20is\x20not\x20defined.','No\x20variables\x20defined.','Circular\x20dependency:\x20','back','cache','9EUksNu','Invalid\x20condition:\x20','reduce','cumulativeY','useArticle\x20must\x20be\x20used\x20within\x20an\x20ArticleProvider','primary','STRING','table','isAlpha','isDigit','isSection','var-controller__number-input','undefined','Variable\x20name\x20cannot\x20be\x20empty\x20or\x20$mm','right\x20','inset','LINDIV1','NUMBER','every','Top\x20','blue','hasMillimeterSuffix','div','filter4','=========================================================\x20\x20Designer\x20\x20\x20===============================================================================================','Invalid\x20usage:\x20\x22n\x22\x20cannot\x20appear\x20on\x20the\x20right-hand\x20side\x20of\x20an\x20operator','toLowerCase','slice','toString','CPNAME','warn','TOPTRIM','SIZEX','filter','translate(','STARTTRIM','toLocaleLowerCase','map','Expected\x20\x27(\x27\x20after\x20function\x20name\x20\x27','evaluateBinaryExpression','rawType','text','fromZoneData','articleDescriptor','values','var-controller__var-name','Surfaces','Section','reverse','\x20variables','toRepeat','No\x20prims\x20found\x20for\x20article:\x20','anglgrtx','DIVTYPE','DIVIDER','15%','\x20x\x20','sort','evaluate','articleString','NumberLiteral','SIZEY','Variable\x20','fromEntries','PAREN_CLOSE','toStringTag','Invalid\x20IF\x20statement:\x20','Math.floor(','middle','isSections','localeCompare','3675282luXlvD','Unexpected\x20\x27)\x27\x20without\x20a\x20matching\x20\x27(\x27.','get2DTop',')\x20rotate(0)','Materials','valueSource','MATHEMATICAL_FUNCTIONS','left','LEFTVALUE','Expected\x20\x27>\x27\x20after\x20section\x20expression.','2591222jikZpn','preformScan','accumulateIncorporatedThicknesses','Math.sqrt(','bind','Descriptor\x20','isBinaryExpression','Total\x20variables:\x20','expr:ratio','section','descriptor','Text','BRACE_CLOSE','asin','anglelem','find','findAllMatches','17784510NrPCFm','mm2in','Failed\x20to\x20parse\x20primary:\x20','sizerefmid','Grouping','updatedDivider','current','log10','[ExpressionResolver]\x20Failed\x20to\x20resolve:\x20\x22','fill','test','symbol','\x20-\x20','EOF','Math.ceil(','Unhandled\x20case:\x20DIVELEM1\x20=\x20','term','wasEvaluated','UNIT','descriptors','ENDOFFS','2D_TOP','HORDEFTYPE','resetState','Total\x20length\x20exceeded','FUNCTION','sizerefout2','Dimensions\x20(Numeric)','times','Module','Function\x20not\x20implemented','var-controller__reference','freeze','DIVDIR','\x27use\x20strict\x27;\x20return\x20(','BRACE_OPEN','log','PAREN_OPEN','lastIndexOf','Error\x20in\x20function\x20arguments','add','front','_3D','dividerType','depth','Unexpected\x20character:\x20','DIMCALCFZ','gray','variables','replace','AND','sizerefout1','TYP','\x20not\x20found','divided_length_list','lindiv','linearDivisionDescriptor','sections','bottom','tbody','oversize','keys','BRACKET_OPEN','var-controller__text-input','\x20\x20\x20--\x20\x20','getClieThk','target','IAC_TOPSHELFTHICKNESS','evaluateNode','group','cos','tan','path','Expected\x20digit\x20after\x20decimal\x20point\x20at\x20position:\x20','getDescriptor','span','anglclie','2D_FRONT','bevel','35%','ARTICLE','errors','calculateSections','Failed\x20to\x20parse\x20term:\x20','var-controller__stats','variableTree','useDescriptorManager\x20must\x20be\x20used\x20within\x20a\x20DescriptorProvider','charAt','DESC_TYPE','checkMillimeterSuffix','tokens','pointer','reportError','meshStandardMaterial','\x20parts','top','arg','Empty\x20expression','BinaryExpression','articleName','Unknown\x20identifier:\x20','INSETFOR','isFunctionCall','COMPARISONTYPE','length','scale(1,-1)','WERT','Quick\x20Stats','center','get3D','hasDescriptor','29124ViMilf','Error\x20calculating\x20sections','Expected\x20\x27)\x27\x20after\x20expression.','TAGNAME','Math.min(','NOT\x20OR','unsupported\x20node\x20type:\x20','front\x20','conditionTree','thk','3955592wTuaod','Reference','article','from','1402475lMrZdV','isNumberLiteral','lightgray',')\x20rotate(90)','expr*{ratio}','black','bottomShelfCP','isUnaryExpression','var-controller__section','SPECIAL_VARIABLE','forEach','Evaluation\x20Error:\x20','independent','consume','var-controller__slider-container','LINEAR_DIVISION','toISOString','kind','scanVariable','some','linearDivisionString','cumulativeZ','get','match','anglzone','startsWith','Math.pow(','Variable\x20Name','Unhandled\x20case:\x20HORDEFTYPE\x20=\x20','parse','TOPOFFS','currentZone','MANINFO','25%','#0066ff','DIMCALCFX','type','source','spreadMm','NUM','Numeric','RIGHT_ANGLE_BRACKET','SpecialVariable','lexeme','matchAll','default','TOPSHELF','ratio:expr','factor','Error\x20in\x20section\x20','rotateY','AD\x20zone\x20info0','Repeated','bottomShelfThk','Variable','prim_dims','findAllNonDefaultMatches','moveTo','start','advance','Descriptor\x20not\x20found:\x20','Math.round(','IF\x20statement\x20must\x20have\x20exactly\x203\x20parts:\x20IF(condition,\x20trueValue,\x20falseValue).\x20Got:\x20','substring','width','scanIdentifierOrFunction','BOTOFFS','resetCurrent','comparison','cannot\x20have\x20*\x20outside\x20of\x20group','previous','height','push','BOTTRIM','floor','DATATYPE','isVariable','consumeMillimeterSuffix','\x20L\x20','scanMm','Cannot\x20have\x20n\x20in\x20the\x20right\x20side\x20of\x20an\x20expression','AD\x20article\x20height','ENDTRIM','thead','name','cumulativeX','delete','IAC_BOTTOMSHELFTHICKNESS','conditionId','Bot\x20','operator','var-controller__type-badge','endsWith','mesh','right','value','scanNumber','var-controller','4kvoaLe','Material','join','Type','sizerefedg2','scan','thickness','unsupported\x20node\x20type\x20to\x20traverse:\x20','DIMCALCFY','input','Unhandled\x20case:\x20DIVDIR\x20=\x20','position','evaluateSections','childPositions','message','zoneInfo','zone_dims','data',')\x20rotate(','sin','bog2deg','set','getStats','Unknown\x20error\x20during\x20evaluation.','STARTOFFS','evaluateVariable','trim','peek','acos','split','number','isRepeated','nodes','isAtEnd','check','descriptorName','var-controller__section-title','filter3','Math.abs(','NAME','abs','atan','Expression\x20contains\x20invalid\x20characters:\x20','Failed\x20to\x20parse\x20expression:\x20','getDescriptorsByType','Unknown\x20error','Empty\x20input\x20string','hadVariables','end','INSET','168crJwLf','AD\x20article\x20depth','includes','peekNext','\x20->\x20','anglprim','evaluateFunction','SIZEZ','roots','TREEID','4129255InLleK','isArray','error','topShelfThk','Expression\x20did\x20not\x20evaluate\x20to\x20a\x20number:\x20','Provider','size','toFixed','DESCRIPTOR','range','label','simple','evaluateTree','_2D_FRONT','divisionType','endPanelThk','Invalid\x20Operator','IAC_THICKNESS','isGrouping','nestingLevel','=====================================\x20Zone\x20Start\x20','reference','Expected\x20Sections\x20or\x20Section,\x20got\x20','round','Expected\x20\x27)\x27\x20after\x20function\x20arguments.','addToken','Sections','string','Back\x20','has','AD\x20article\x20width','TAGVALUE','useZoneSelection\x20must\x20be\x20used\x20within\x20DataProvider','DIVELEM1','isReversed','nodeNum','toUpperCase','No\x20matching\x20node\x20found\x20and\x20no\x20default\x20node\x20exists','_2D_TOP','dimensions','lineTo','OPSTRING','linearDivision','Unknown\x20operator:\x20','var-controller__table','expression','LEFT_ANGLE_BRACKET','#ff6b00','next','stringify','Current\x20Value'];a1_0x2237=function(){return _0x46817e;};return a1_0x2237();}const F=a1_0x4960eb(void 0x0);function Qe({data:_0x54db09,children:_0x1ac0bb,names:_0x1de015}){const _0x39561c=a1_0x1683b7,_0x18fde0=_0x54db09,[_0x4874e5,_0x5f466d]=a1_0x2c6b28(_0x18fde0),[_0x358811,_0x3575f2]=a1_0x2c6b28(null),[_0x531983,_0x210298]=a1_0x2c6b28(null),_0x1a4ea2=a1_0x18da91(_0x458afd=>({'anglElems':_0x4874e5[_0x39561c(0x1bf)]['filter'](_0x186271=>_0x186271[_0x39561c(0x2c8)]===_0x458afd),'anglZones':_0x4874e5['anglzone'][_0x39561c(0x181)](_0xb1f845=>_0xb1f845[_0x39561c(0x2c8)]===_0x458afd),'anglPrims':_0x4874e5[_0x39561c(0x2d8)][_0x39561c(0x181)](_0x1ffc47=>_0x1ffc47[_0x39561c(0x2c8)]===_0x458afd),'anglClies':_0x4874e5[_0x39561c(0x20e)][_0x39561c(0x181)](_0x2b1259=>_0x2b1259[_0x39561c(0x2c8)]===_0x458afd),'anglGrtxs':_0x4874e5[_0x39561c(0x194)][_0x39561c(0x181)](_0x4f5339=>_0x4f5339[_0x39561c(0x2c8)]===_0x458afd)}),[_0x4874e5]),{anglElems:_0x316fe8,anglZones:_0xb30ab6,anglPrims:_0x2b13e0,anglClies:_0x672187,anglGrtxs:_0x32f532}=a1_0x3e46c7(()=>_0x1de015&&_0x1de015[_0x39561c(0x22a)]>0x0?{'anglElems':_0x4874e5[_0x39561c(0x1bf)][_0x39561c(0x181)](_0xb9daf7=>_0x1de015[_0x39561c(0x2d5)](_0xb9daf7[_0x39561c(0x2c8)])),'anglZones':_0x4874e5[_0x39561c(0x257)][_0x39561c(0x181)](_0x45bf94=>_0x1de015['includes'](_0x45bf94[_0x39561c(0x2c8)])),'anglPrims':_0x4874e5[_0x39561c(0x2d8)]['filter'](_0x4272d4=>_0x1de015['includes'](_0x4272d4[_0x39561c(0x2c8)])),'anglClies':_0x4874e5[_0x39561c(0x20e)]['filter'](_0xbdcd1=>_0x1de015[_0x39561c(0x2d5)](_0xbdcd1[_0x39561c(0x2c8)])),'anglGrtxs':_0x4874e5['anglgrtx'][_0x39561c(0x181)](_0x52fb11=>_0x1de015[_0x39561c(0x2d5)](_0x52fb11[_0x39561c(0x2c8)]))}:{'anglElems':_0x4874e5[_0x39561c(0x1bf)],'anglZones':_0x4874e5[_0x39561c(0x257)],'anglPrims':_0x4874e5['anglprim'],'anglClies':_0x4874e5[_0x39561c(0x20e)],'anglGrtxs':_0x4874e5[_0x39561c(0x194)]},[_0x4874e5,_0x1de015]),_0x42baf0={'anglElems':_0x316fe8,'anglZones':_0xb30ab6,'anglPrims':_0x2b13e0,'anglClies':_0x672187,'anglGrtxs':_0x32f532,'selectedElem':_0x358811,'setSelectedElem':_0x3575f2,'hoveredElem':_0x531983,'setHoveredElem':_0x210298,'updateAnglPrim':(_0x353ad2,_0x27ea27,_0x192479)=>{const _0xc0a39d=_0x39561c;_0x5f466d(_0x437c42=>({..._0x437c42,'anglprim':_0x437c42[_0xc0a39d(0x2d8)][_0xc0a39d(0x185)](_0x32a5b5=>_0x32a5b5['NAME']===_0x353ad2?{..._0x32a5b5,[_0x27ea27]:_0x192479}:_0x32a5b5)}));},'updateAnglElem':(_0x5ca878,_0x1d01f4,_0x34f046,_0x217feb)=>{const _0x39524e=_0x39561c;_0x5f466d(_0x15a6c6=>({..._0x15a6c6,'anglelem':_0x15a6c6[_0x39524e(0x1bf)][_0x39524e(0x185)](_0x308820=>_0x308820[_0x39524e(0x2dc)]===_0x1d01f4&&_0x308820['NAME']===_0x5ca878?{..._0x308820,[_0x34f046]:_0x217feb}:_0x308820)}));},'updateAnglZone':(_0x4fbd59,_0x327dac,_0x3ea25e,_0x23dc98)=>{const _0x1ec058=_0x39561c;_0x5f466d(_0x1175c6=>({..._0x1175c6,'anglzone':_0x1175c6[_0x1ec058(0x257)][_0x1ec058(0x185)](_0x508748=>_0x508748['TREEID']===_0x327dac&&_0x508748['NAME']===_0x4fbd59?{..._0x508748,[_0x3ea25e]:_0x23dc98}:_0x508748)}));},'updateAnglClie':(_0x569c3a,_0x214e2a,_0x403f95,_0x58340c,_0x53a52d)=>{const _0x20eae6=_0x39561c;_0x5f466d(_0x5e1761=>({..._0x5e1761,'anglclie':_0x5e1761['anglclie'][_0x20eae6(0x185)](_0x40d9a1=>_0x40d9a1[_0x20eae6(0x2dc)]===_0x214e2a&&_0x40d9a1['TAGNAME']===_0x403f95&&_0x40d9a1['DATATYPE']===_0x53a52d&&_0x40d9a1['NAME']===_0x569c3a?{..._0x40d9a1,'TAGVALUE':_0x58340c,'DATE_LASTCHANGE':new Date()['toISOString']()}:_0x40d9a1)}));},'updateAnglGrtx':(_0xfe05d7,_0x67e6b0,_0x330f27,_0x3eddd8)=>{const _0x81fda=_0x39561c;_0x5f466d(_0x1c8817=>({..._0x1c8817,'anglgrtx':_0x1c8817[_0x81fda(0x194)][_0x81fda(0x185)](_0x5f2f94=>_0x5f2f94[_0x81fda(0x2dc)]===_0x67e6b0&&_0x5f2f94[_0x81fda(0x266)]===_0x330f27&&_0x5f2f94[_0x81fda(0x2c8)]===_0xfe05d7?{..._0x5f2f94,'TEXT':_0x3eddd8,'DATE_LASTCHANGE':new Date()['toISOString']()}:_0x5f2f94)}));},'getArticleData':_0x1a4ea2,'allData':_0x4874e5};return a1_0x43a753(F[_0x39561c(0x2e2)],{'value':_0x42baf0,'children':_0x1ac0bb});}const be=a1_0x4960eb(null);function ke({children:_0x548e85,articleName:_0x31dd46,dimensionOverrides:_0x1e81a9}){const _0xe12d4e=a1_0x1683b7,_0x9d5512={'articleName':_0x31dd46,'dimensionOverrides':_0x1e81a9};return a1_0x43a753(be[_0xe12d4e(0x2e2)],{'value':_0x9d5512,'children':_0x548e85});}const De=a1_0x4960eb(void 0x0);var O=(_0x132fe0=>(_0x132fe0[_0x132fe0['Surface']=0x3]=a1_0x1683b7(0x311),_0x132fe0[_0x132fe0[a1_0x1683b7(0x2a2)]=0x4]=a1_0x1683b7(0x2a2),_0x132fe0[_0x132fe0['Numeric']=0x64]=a1_0x1683b7(0x267),_0x132fe0[_0x132fe0[a1_0x1683b7(0x1bc)]=0x78]=a1_0x1683b7(0x1bc),_0x132fe0))(O||{});function me(_0x3454f5){const _0x1575be=a1_0x1683b7;return new Map(_0x3454f5['map'](_0x5c4eaf=>[_0x5c4eaf[_0x1575be(0x2c8)],_0x5c4eaf]));}function ue(_0x31357c,_0x232cb5,_0x5bb2c8=new Set()){const _0x4a4a8b=a1_0x1683b7,_0x2813a6=_0x232cb5[_0x4a4a8b(0x255)](_0x31357c);if(!_0x2813a6)return;if(_0x5bb2c8[_0x4a4a8b(0x2fa)](_0x31357c)){console['error'](_0x4a4a8b(0x317)+[..._0x5bb2c8,_0x31357c][_0x4a4a8b(0x2a3)](_0x4a4a8b(0x2d7)));return;}const _0xcb394=_0x2813a6[_0x4a4a8b(0x22c)];if(_0xcb394[_0x4a4a8b(0x258)]('$')&&_0x2813a6[_0x4a4a8b(0x1f6)]!=O['Text']){const _0x4cf02b=_0xcb394[_0x4a4a8b(0x17b)](0x1);return _0x5bb2c8[_0x4a4a8b(0x1ea)](_0x31357c),ue(_0x4cf02b,_0x232cb5,_0x5bb2c8);}const _0x9a7bd8=Number(_0xcb394);return isNaN(_0x9a7bd8)?_0xcb394:_0x9a7bd8;}function Ae(_0x2c560c,_0x3d0e53,_0x42967f){const _0x57ad5d=a1_0x1683b7,_0x57cce5=_0x42967f[_0x57ad5d(0x255)](_0x2c560c);if(!_0x57cce5)return console[_0x57ad5d(0x17e)](_0x57ad5d(0x19e)+_0x2c560c+_0x57ad5d(0x1f7)),_0x42967f;const _0x11854c=new Map(_0x42967f);return _0x11854c[_0x57ad5d(0x2b6)](_0x2c560c,{..._0x57cce5,'WERT':String(_0x3d0e53)}),_0x11854c;}function ge(_0x278ade,_0x5650b6){const _0x473145=a1_0x1683b7;return _0x278ade[_0x473145(0x1f3)](/\$([A-Za-z_][A-Za-z0-9_]*)/g,(_0x6553d,_0x10c45d)=>{const _0x4a5af5=ue(_0x10c45d,_0x5650b6);return _0x4a5af5!==void 0x0?String(_0x4a5af5):_0x6553d;});}function Ee(_0x2d1827){return/\$[A-Za-z_][A-Za-z0-9_]*/g['test'](_0x2d1827);}function et(_0xdb6fef){const _0x2f8815=a1_0x1683b7,_0x5dbf95=_0xdb6fef[_0x2f8815(0x26b)](/\$([A-Za-z_][A-Za-z0-9_]*)/g);return Array[_0x2f8815(0x23e)](_0x5dbf95,_0x2fc501=>_0x2fc501[0x1]);}function a1_0x26a9(_0x36b738,_0x7be049){_0x36b738=_0x36b738-0x178;const _0x2237a0=a1_0x2237();let _0x26a99b=_0x2237a0[_0x36b738];return _0x26a99b;}const cr=Object[a1_0x1683b7(0x1e2)](Object['defineProperty']({'__proto__':null,'createVariableTree':me,'extractVariableNames':et,'getValue':ue,'hasVariables':Ee,'resolveString':ge,'setValue':Ae},Symbol[a1_0x1683b7(0x1a1)],{'value':a1_0x1683b7(0x1df)}));function tt({children:_0x124f5a,imosVariables:_0x51ca2d}){const _0x39c522=a1_0x1683b7,[_0x18fae8,_0xc31f55]=a1_0x2c6b28(()=>me(_0x51ca2d));a1_0x35face(()=>{_0xc31f55(me(_0x51ca2d));},[_0x51ca2d]);const _0x457e9c=a1_0x18da91((_0x10aa48,_0x3b20f0)=>{_0xc31f55(_0x5f0886=>Ae(_0x10aa48,_0x3b20f0,_0x5f0886));},[]),_0x11a3e8={'tree':_0x18fae8,'setValue':_0x457e9c};return a1_0x43a753(De[_0x39c522(0x2e2)],{'value':_0x11a3e8,'children':_0x124f5a});}const we=a1_0x4960eb(null),Ne=_0x5c5fbc=>{const _0x44b115=Number(_0x5c5fbc);return isNaN(_0x44b115)?null:_0x44b115;},Y=_0x1e424e=>_0x1e424e==null?'':String(_0x1e424e),$=(_0x303c88,_0x44e98b,_0x2e268f)=>{const _0x291fa1=Ne(_0x303c88),_0x4ad909=Ne(_0x44e98b);return _0x291fa1===null||_0x4ad909===null?!0x1:_0x2e268f(_0x291fa1,_0x4ad909);},K=(_0x2f46d8,_0x391998,_0x1b7cd2)=>_0x2f46d8==null||_0x391998==null?!0x1:_0x1b7cd2(Y(_0x2f46d8),Y(_0x391998)),rt={'=':(_0x594750,_0x52c7b1)=>_0x594750==null||_0x52c7b1==null?_0x594750===_0x52c7b1:Y(_0x594750)[a1_0x1683b7(0x2bb)]()===Y(_0x52c7b1)[a1_0x1683b7(0x2bb)](),'!=':(_0x1ccf21,_0x100b63)=>_0x1ccf21==null||_0x100b63==null?_0x1ccf21!==_0x100b63:Y(_0x1ccf21)[a1_0x1683b7(0x2bb)]()!==Y(_0x100b63)[a1_0x1683b7(0x2bb)](),'>':(_0x19a86b,_0x4d83ee)=>$(_0x19a86b,_0x4d83ee,(_0x575d81,_0x52b289)=>_0x575d81>_0x52b289),'<':(_0x32613e,_0x2981ca)=>$(_0x32613e,_0x2981ca,(_0x3a1fec,_0x1ecce0)=>_0x3a1fec<_0x1ecce0),'>=':(_0x34d510,_0x31d497)=>$(_0x34d510,_0x31d497,(_0x1a1720,_0x28726a)=>_0x1a1720>=_0x28726a),'<=':(_0x98fdde,_0x2e3b40)=>$(_0x98fdde,_0x2e3b40,(_0x488fe2,_0x20abd1)=>_0x488fe2<=_0x20abd1),'&gt;':(_0x51896e,_0x42d525)=>$(_0x51896e,_0x42d525,(_0x39c364,_0x2c37a4)=>_0x39c364>_0x2c37a4),'&gt;=':(_0x21a3e4,_0x2d4a16)=>$(_0x21a3e4,_0x2d4a16,(_0x2a3a67,_0x321081)=>_0x2a3a67>=_0x321081),'&lt;':(_0xddde1b,_0x55a3de)=>$(_0xddde1b,_0x55a3de,(_0x2943c2,_0x1784b9)=>_0x2943c2<_0x1784b9),'&lt;=':(_0x2f3170,_0x293725)=>$(_0x2f3170,_0x293725,(_0x596051,_0x30597d)=>_0x596051<=_0x30597d),'B':(_0x6e884c,_0x27b5aa)=>K(_0x6e884c,_0x27b5aa,(_0x407cd4,_0x4a5797)=>_0x407cd4['startsWith'](_0x4a5797)),'!B':(_0x45f066,_0x6dfe10)=>K(_0x45f066,_0x6dfe10,(_0x39d1ac,_0x5517f8)=>!_0x39d1ac[a1_0x1683b7(0x258)](_0x5517f8)),'E':(_0x484db0,_0x2a4f06)=>K(_0x484db0,_0x2a4f06,(_0x12df29,_0x15e036)=>_0x12df29[a1_0x1683b7(0x29b)](_0x15e036)),'!E':(_0x16f69d,_0x3786bb)=>K(_0x16f69d,_0x3786bb,(_0x25b9fc,_0x1c2eb9)=>!_0x25b9fc[a1_0x1683b7(0x29b)](_0x1c2eb9)),'C':(_0x455dd6,_0x1c72c8)=>K(_0x455dd6,_0x1c72c8,(_0x2f3c7d,_0x35b255)=>_0x2f3c7d[a1_0x1683b7(0x2d5)](_0x35b255)),'!C':(_0x4c4712,_0x18c4c7)=>K(_0x4c4712,_0x18c4c7,(_0xb5e581,_0x3e212e)=>!_0xb5e581[a1_0x1683b7(0x2d5)](_0x3e212e))},it={'Zusatzfilter\x203':a1_0x1683b7(0x2c6),'Zusatzfilter\x204':a1_0x1683b7(0x331)};function Ce(_0x30d534,_0x322800={}){const _0x4b92e5=a1_0x1683b7,{variableTree:_0x107198,dataType:_0x5873f8,silent:_0x2bb1c4=!0x1,allowFunctions:_0x32569b=!0x0}=_0x322800,_0x55d0d0=/^(.+?)\s*(mm|cm|m|in|ft|px|pt|%|deg|rad)$/i,_0x28be57={'value':void 0x0,'original':_0x30d534,'resolved':_0x30d534,'hadVariables':!0x1,'wasEvaluated':!0x1};try{let _0x530e1a=_0x30d534[_0x4b92e5(0x2bb)](),_0xbbbad2;if(_0x55d0d0['test'](_0x530e1a)){const _0x5e9f00=_0x530e1a[_0x4b92e5(0x256)](_0x55d0d0);_0x5e9f00&&(_0x530e1a=_0x5e9f00[0x1][_0x4b92e5(0x2bb)](),_0xbbbad2=_0x5e9f00[0x2]);}_0x107198&&Ee(_0x530e1a)&&(_0x28be57[_0x4b92e5(0x2d0)]=!0x0,_0x530e1a=ge(_0x530e1a,_0x107198),_0x28be57['resolved']=_0x530e1a),Le(_0x530e1a)?(_0x28be57['wasEvaluated']=!0x0,_0x28be57[_0x4b92e5(0x29e)]=Oe(_0x530e1a,_0x32569b)):Se(_0x530e1a)?(_0x28be57[_0x4b92e5(0x1d3)]=!0x0,_0x28be57['value']=ve(_0x530e1a,_0x32569b)):_0x28be57[_0x4b92e5(0x29e)]=st(_0x530e1a,_0x5873f8);}catch(_0x1781c2){_0x28be57[_0x4b92e5(0x2df)]=_0x1781c2 instanceof Error?_0x1781c2[_0x4b92e5(0x2af)]:String(_0x1781c2),_0x2bb1c4||console[_0x4b92e5(0x2df)](_0x4b92e5(0x1ca)+_0x30d534+'\x22',_0x1781c2),_0x28be57[_0x4b92e5(0x29e)]=_0x30d534;}return _0x28be57;}function ae(_0x31fc5c,_0x557f67={}){const _0xc04196=a1_0x1683b7;return Ce(_0x31fc5c,_0x557f67)[_0xc04196(0x29e)];}function Le(_0x4cc1b4){const _0x570fcb=a1_0x1683b7;return!_0x4cc1b4||typeof _0x4cc1b4!=_0x570fcb(0x2f8)?!0x1:/^\s*IF\s*\(/i['test'](_0x4cc1b4[_0x570fcb(0x2bb)]());}function Oe(_0x155cc4,_0x978152=!0x0){const _0x204d61=a1_0x1683b7,_0x38adef=_0x155cc4[_0x204d61(0x2bb)]()['match'](/^IF\s*\((.*)\)\s*$/i);if(!_0x38adef)throw new Error(_0x204d61(0x1a2)+_0x155cc4);const _0x208c0e=_0x38adef[0x1],_0x5f096b=nt(_0x208c0e);if(_0x5f096b[_0x204d61(0x22a)]!==0x3)throw new Error(_0x204d61(0x27d)+_0x5f096b[_0x204d61(0x22a)]+_0x204d61(0x220));const [_0x1a18a9,_0x39adff,_0x507e11]=_0x5f096b,_0x1b217c=ne(_0x1a18a9[_0x204d61(0x2bb)](),_0x978152)?_0x39adff['trim']():_0x507e11[_0x204d61(0x2bb)]();if(Le(_0x1b217c))return Oe(_0x1b217c,_0x978152);if(Se(_0x1b217c))return ve(_0x1b217c,_0x978152);{const _0x4c90f0=Number(_0x1b217c);return isNaN(_0x4c90f0)?_0x1b217c:_0x4c90f0;}}function nt(_0x43d840){const _0x3bf0ee=a1_0x1683b7,_0x5eda60=[];let _0x2d8733='',_0x24ff48=0x0;for(let _0x256cbf=0x0;_0x256cbf<_0x43d840[_0x3bf0ee(0x22a)];_0x256cbf++){const _0x2b1bb6=_0x43d840[_0x256cbf];_0x2b1bb6==='('?(_0x24ff48++,_0x2d8733+=_0x2b1bb6):_0x2b1bb6===')'?(_0x24ff48--,_0x2d8733+=_0x2b1bb6):_0x2b1bb6===','&&_0x24ff48===0x0?(_0x5eda60[_0x3bf0ee(0x287)](_0x2d8733),_0x2d8733=''):_0x2d8733+=_0x2b1bb6;}return _0x2d8733&&_0x5eda60[_0x3bf0ee(0x287)](_0x2d8733),_0x5eda60;}function ne(_0x34edfb,_0x35e1d5){const _0x2e972b=a1_0x1683b7;if(/\bAND\b/i[_0x2e972b(0x1cc)](_0x34edfb))return _0x34edfb[_0x2e972b(0x2be)](/\bAND\b/i)[_0x2e972b(0x32c)](_0x39bdeb=>ne(_0x39bdeb['trim'](),_0x35e1d5));if(/\bOR\b/i[_0x2e972b(0x1cc)](_0x34edfb))return _0x34edfb[_0x2e972b(0x2be)](/\bOR\b/i)[_0x2e972b(0x252)](_0x10691b=>ne(_0x10691b[_0x2e972b(0x2bb)](),_0x35e1d5));if(/^\s*NOT\s+/i[_0x2e972b(0x1cc)](_0x34edfb)){const _0x26e577=_0x34edfb[_0x2e972b(0x1f3)](/^\s*NOT\s+/i,'')[_0x2e972b(0x2bb)]();return!ne(_0x26e577,_0x35e1d5);}const _0x34fc41=_0x34edfb[_0x2e972b(0x256)](/(.+?)(<=|>=|!=|<>|=|<|>)(.+)/);if(!_0x34fc41)throw new Error(_0x2e972b(0x31b)+_0x34edfb);const [,_0x4b68e9,_0x1d1dc2,_0xbe05bd]=_0x34fc41,_0x10bb5a=Me(_0x4b68e9[_0x2e972b(0x2bb)](),_0x35e1d5),_0x252432=Me(_0xbe05bd[_0x2e972b(0x2bb)](),_0x35e1d5);switch(_0x1d1dc2){case'=':return _0x10bb5a===_0x252432;case'!=':case'<>':return _0x10bb5a!==_0x252432;case'<':return _0x10bb5a<_0x252432;case'>':return _0x10bb5a>_0x252432;case'<=':return _0x10bb5a<=_0x252432;case'>=':return _0x10bb5a>=_0x252432;default:throw new Error(_0x2e972b(0x308)+_0x1d1dc2);}}function Me(_0xffa257,_0x5857d8){const _0x4f37e7=a1_0x1683b7;if(_0xffa257[_0x4f37e7(0x258)]('\x22')&&_0xffa257[_0x4f37e7(0x29b)]('\x22')||_0xffa257[_0x4f37e7(0x258)]('\x27')&&_0xffa257[_0x4f37e7(0x29b)]('\x27'))return _0xffa257[_0x4f37e7(0x17b)](0x1,-0x1);if(Se(_0xffa257))return ve(_0xffa257,_0x5857d8);const _0x517146=Number(_0xffa257);return isNaN(_0x517146)?_0xffa257:_0x517146;}function Se(_0x5dcd54){const _0x2edf6b=a1_0x1683b7;if(!_0x5dcd54||typeof _0x5dcd54!=_0x2edf6b(0x2f8))return!0x1;const _0x512345=_0x5dcd54[_0x2edf6b(0x2bb)]();return/[+\-*/()]/[_0x2edf6b(0x1cc)](_0x512345)?/^[\d\s+\-*/().,a-z]+$/i['test'](_0x512345):!0x1;}const fe=new Map();function ve(_0x2de886,_0x42a9f0=!0x0){const _0x1f1aaf=a1_0x1683b7,_0x3b6cb9=_0x2de886[_0x1f1aaf(0x2bb)](),_0xeffc5f=_0x3b6cb9+':'+_0x42a9f0;if(fe[_0x1f1aaf(0x2fa)](_0xeffc5f))return fe[_0x1f1aaf(0x255)](_0xeffc5f);let _0x2f074b=_0x3b6cb9['replace'](/\s+/g,'');if(_0x42a9f0&&(_0x2f074b=_0x2f074b['replace'](/round\(/g,_0x1f1aaf(0x27c))['replace'](/floor\(/g,_0x1f1aaf(0x1a3))['replace'](/ceil\(/g,_0x1f1aaf(0x1d0))[_0x1f1aaf(0x1f3)](/abs\(/g,_0x1f1aaf(0x2c7))[_0x1f1aaf(0x1f3)](/min\(/g,_0x1f1aaf(0x235))[_0x1f1aaf(0x1f3)](/max\(/g,'Math.max(')[_0x1f1aaf(0x1f3)](/pow\(/g,_0x1f1aaf(0x259))[_0x1f1aaf(0x1f3)](/sqrt\(/g,_0x1f1aaf(0x1b4))),!(_0x42a9f0?/^[\d+\-*/().,a-zA-Z]+$/:/^[\d+\-*/().]+$/)[_0x1f1aaf(0x1cc)](_0x2f074b))throw new Error(_0x1f1aaf(0x2cb)+_0x2de886);if(!_0x2f074b)throw new Error(_0x1f1aaf(0x223));try{const _0x141290=Function(_0x1f1aaf(0x1e4)+_0x2f074b+')')();if(typeof _0x141290!=_0x1f1aaf(0x2bf)||isNaN(_0x141290))throw new Error(_0x1f1aaf(0x2e1)+_0x2de886);return fe[_0x1f1aaf(0x2b6)](_0xeffc5f,_0x141290),_0x141290;}catch(_0x3622b7){throw new Error('Failed\x20to\x20evaluate\x20expression:\x20'+_0x2de886+_0x1f1aaf(0x1ce)+_0x3622b7);}}function st(_0x3835d4,_0x316744){const _0x43c44a=a1_0x1683b7;if(!_0x316744){const _0x2c52d0=Number(_0x3835d4);return isNaN(_0x2c52d0)?_0x3835d4:_0x2c52d0;}switch(_0x316744[_0x43c44a(0x301)]()){case'FL':return parseFloat(_0x3835d4);case'IN':return parseInt(_0x3835d4,0xa);case'CI':case'CS':case'ST':return _0x3835d4;case'DA':return new Date(_0x3835d4)[_0x43c44a(0x24f)]();default:const _0x242731=Number(_0x3835d4);return isNaN(_0x242731)?_0x3835d4:_0x242731;}}const at=_0x23e574=>it[_0x23e574]||_0x23e574,W=class W{};D(W,'evaluateTree',(_0x4503e4,_0xbfeaaf,_0x57d7cd)=>_0x4503e4?_0x4503e4[a1_0x1683b7(0x2db)][a1_0x1683b7(0x32c)](_0xc6cf4b=>W[a1_0x1683b7(0x206)](_0xc6cf4b,_0xbfeaaf,_0x57d7cd)):!0x1),D(W,a1_0x1683b7(0x206),(_0x498bc6,_0x1f38ac,_0x5e1968)=>{const _0x1bf21d=a1_0x1683b7;if(!_0x498bc6)return!0x1;if(_0x498bc6[_0x1bf21d(0x250)]===_0x1bf21d(0x283)){let _0x4c4f18=_0x498bc6[_0x1bf21d(0x2b2)]['LEFTVALUE'];const _0x595e8f=at(_0x498bc6[_0x1bf21d(0x2b2)][_0x1bf21d(0x1af)]);_0x1f38ac[_0x595e8f]!==void 0x0?_0x4c4f18=_0x1f38ac[_0x595e8f]:_0x4c4f18=ae(_0x498bc6[_0x1bf21d(0x2b2)][_0x1bf21d(0x1af)],{'variableTree':_0x5e1968,'dataType':_0x498bc6['data'][_0x1bf21d(0x28a)],'silent':!0x0});const _0x59367a=ae(_0x498bc6['data']['RIGHTVALUE'],{'variableTree':_0x5e1968,'dataType':_0x498bc6['data'][_0x1bf21d(0x28a)],'silent':!0x0});return rt[_0x498bc6[_0x1bf21d(0x2b2)][_0x1bf21d(0x229)]](_0x4c4f18,_0x59367a);}if(_0x498bc6[_0x1bf21d(0x250)]==='operation'){const _0x25ea70=_0x498bc6['children'][_0x1bf21d(0x185)](_0x3865cd=>W['evaluateNode'](_0x3865cd,_0x1f38ac,_0x5e1968));switch(_0x498bc6[_0x1bf21d(0x2b2)][_0x1bf21d(0x306)]){case _0x1bf21d(0x1f4):return _0x25ea70[_0x1bf21d(0x32c)](Boolean);case'OR':return _0x25ea70[_0x1bf21d(0x252)](Boolean);case'NOT':return!_0x25ea70[_0x1bf21d(0x32c)](Boolean);case _0x1bf21d(0x236):return!_0x25ea70[_0x1bf21d(0x252)](Boolean);default:return!0x1;}}return!0x1;});let oe=W;class xe{static[a1_0x1683b7(0x19a)](_0x14ad86,_0x2bc660,_0x53af13){const _0xff5c75=a1_0x1683b7,_0x1eeb5c=_0x14ad86[_0xff5c75(0x2c1)][_0xff5c75(0x1c0)](_0x59476a=>_0x59476a[_0xff5c75(0x297)]===0x0||_0x59476a[_0xff5c75(0x239)]===null);for(const _0x1eba99 of _0x14ad86[_0xff5c75(0x2c1)]){if(_0x1eba99[_0xff5c75(0x297)]===0x0||_0x1eba99[_0xff5c75(0x239)]===null)continue;if(oe['evaluateTree'](_0x1eba99['conditionTree'],_0x2bc660,_0x53af13))return{'lindiv':_0x1eba99[_0xff5c75(0x1f9)],'nodeNum':_0x1eba99[_0xff5c75(0x300)],'matched':!0x0,'isDefault':!0x1,'descriptorType':_0x14ad86[_0xff5c75(0x1bb)][_0xff5c75(0x21a)]};}if(_0x1eeb5c)return{'lindiv':_0x1eeb5c['lindiv'],'nodeNum':_0x1eeb5c[_0xff5c75(0x300)],'matched':!0x1,'isDefault':!0x0,'descriptorType':_0x14ad86[_0xff5c75(0x1bb)][_0xff5c75(0x21a)]};throw new Error(_0xff5c75(0x302));}static[a1_0x1683b7(0x277)](_0x1590ff,_0x58188a,_0x456636){const _0x46f0b6=a1_0x1683b7,_0x4705c9=[];for(const _0x3ec327 of _0x1590ff['nodes']){if(_0x3ec327[_0x46f0b6(0x297)]===0x0||_0x3ec327['conditionTree']===null)continue;oe[_0x46f0b6(0x2e9)](_0x3ec327[_0x46f0b6(0x239)],_0x58188a,_0x456636)&&_0x4705c9['push'](_0x3ec327);}return _0x4705c9;}}class ot{constructor(_0x26ac4a,_0x21cf9d){const _0x1e1b4c=a1_0x1683b7;D(this,_0x1e1b4c(0x1d5)),D(this,_0x1e1b4c(0x217)),(this[_0x1e1b4c(0x1d5)]=new Map(_0x26ac4a[_0x1e1b4c(0x185)](_0xbadef6=>[_0xbadef6['descriptor'][_0x1e1b4c(0x2c8)],_0xbadef6])),this[_0x1e1b4c(0x217)]=_0x21cf9d);}['evaluate'](_0x519989,_0x23a5dc){const _0x5259d1=a1_0x1683b7,_0x4f378a=this[_0x5259d1(0x20c)](_0x519989);if(!_0x4f378a)throw new Error('Descriptor\x20not\x20found:\x20'+_0x519989);return xe[_0x5259d1(0x19a)](_0x4f378a,_0x23a5dc,this['variableTree']);}['getDescriptor'](_0x3e7a48){const _0x5691d6=a1_0x1683b7;return this[_0x5691d6(0x1d5)][_0x5691d6(0x255)](_0x3e7a48);}[a1_0x1683b7(0x230)](_0x4ee6e8){const _0x13194e=a1_0x1683b7;return this[_0x13194e(0x1d5)]['has'](_0x4ee6e8);}['getDescriptorNames'](){const _0x547eca=a1_0x1683b7;return Array['from'](this[_0x547eca(0x1d5)]['keys']());}[a1_0x1683b7(0x2cd)](_0x2e02e3){const _0x179eac=a1_0x1683b7;return Array[_0x179eac(0x23e)](this[_0x179eac(0x1d5)][_0x179eac(0x18c)]())[_0x179eac(0x181)](_0x3cbf3d=>_0x3cbf3d['descriptor']['DESC_TYPE']===_0x2e02e3);}[a1_0x1683b7(0x1c1)](_0x573f79,_0x1f0fcd){const _0x413157=a1_0x1683b7,_0xbd761d=this[_0x413157(0x20c)](_0x573f79);if(!_0xbd761d)throw new Error(_0x413157(0x27b)+_0x573f79);return xe['findAllNonDefaultMatches'](_0xbd761d,_0x1f0fcd,this[_0x413157(0x217)]);}[a1_0x1683b7(0x2b7)](){const _0x2a2e9a=a1_0x1683b7,_0xda48c0={};for(const _0x180b9c of this[_0x2a2e9a(0x1d5)]['values']()){const _0x4f9cb5=_0x180b9c[_0x2a2e9a(0x1bb)][_0x2a2e9a(0x21a)];_0xda48c0[_0x4f9cb5]=(_0xda48c0[_0x4f9cb5]||0x0)+0x1;}return{'total':this[_0x2a2e9a(0x1d5)]['size'],'byType':_0xda48c0,'names':this['getDescriptorNames']()};}}function X(){const _0x56d0e4=a1_0x5c5dc0(De);if(!_0x56d0e4)throw new Error('useVariables\x20must\x20be\x20used\x20within\x20a\x20VariableProvider');const {tree:_0x562301,setValue:_0x2d5148}=_0x56d0e4,_0x78547=a1_0x3e46c7(()=>_0xb1ddb5=>ue(_0xb1ddb5,_0x562301),[_0x562301]),_0xab5033=a1_0x3e46c7(()=>_0x5a48b0=>ge(_0x5a48b0,_0x562301),[_0x562301]),_0x428da2=a1_0x3e46c7(()=>_0xe5aff7=>Ee(_0xe5aff7),[]);return{'tree':_0x562301,'getValue':_0x78547,'resolveString':_0xab5033,'hasVariables':_0x428da2,'setValue':_0x2d5148};}function lt({children:_0x491383,descriptorData:_0x53ae05}){const _0x58e8df=X(),_0x23dc0e=a1_0x3e46c7(()=>new ot(_0x53ae05,_0x58e8df['tree']),[_0x53ae05,_0x58e8df]);return a1_0x43a753(we['Provider'],{'value':_0x23dc0e,'children':_0x491383});}var M=(_0x30fed1=>(_0x30fed1['_2D_TOP']=a1_0x1683b7(0x1d7),_0x30fed1[a1_0x1683b7(0x2ea)]=a1_0x1683b7(0x20f),_0x30fed1[a1_0x1683b7(0x1ec)]='3D',_0x30fed1))(M||{});const pe=0x0,ct=0x1,Pe=_0xf9aa4=>_0xf9aa4+'.0',Re=_0x38406f=>_0x38406f+'.1',Ve=_0x4086ad=>_0x4086ad+'.2',Fe=_0x22ba59=>_0x22ba59+'.3',Te=_0x3ad1ed=>_0x3ad1ed[a1_0x1683b7(0x27e)](0x0,_0x3ad1ed[a1_0x1683b7(0x1e8)]('.')),ut=_0x5284a5=>{const _0xd6dee6=Te(_0x5284a5),_0x42f094=($e(_0x5284a5)+0x3)%0x4;return _0xd6dee6+'.'+_0x42f094;},ht=_0x107ee1=>{const _0x12d5e1=Te(_0x107ee1),_0xd2ab10=($e(_0x107ee1)+0x1)%0x4;return _0x12d5e1+'.'+_0xd2ab10;},$e=_0x410404=>parseInt(_0x410404[a1_0x1683b7(0x27e)](_0x410404[a1_0x1683b7(0x1e8)]('.')+0x1)),j={'IAC_THICKNESS':a1_0x1683b7(0x2ee),'IAC_BOTTOMSHELFTHICKNESS':'IAC_BOTTOMSHELFTHICKNESS','IAC_TOPSHELFTHICKNESS':a1_0x1683b7(0x205)},S=0x1;function ee(){const _0x39fa71=a1_0x5c5dc0(F);if(_0x39fa71===void 0x0)throw new Error('useData\x20must\x20be\x20used\x20within\x20a\x20DataProvider');return _0x39fa71;}function te(){const _0x296c6d=a1_0x1683b7,_0x4eec2e=a1_0x5c5dc0(be);if(!_0x4eec2e)throw new Error(_0x296c6d(0x31e));return _0x4eec2e;}function se(_0x5ed653,_0x10c0d2,_0x30369e){const _0x51b78c=a1_0x1683b7,{getArticleData:_0x39c60d}=ee(),{articleName:_0xe951e9}=te(),{anglClies:_0x4cf1db}=_0x39c60d(_0xe951e9),_0x483e30=_0x4cf1db['find'](_0x390151=>_0x390151[_0x51b78c(0x2dc)]===_0x5ed653&&_0x390151[_0x51b78c(0x28a)]===_0x30369e&&_0x390151[_0x51b78c(0x234)]===_0x10c0d2);return _0x483e30?{'thickness':Number(_0x483e30[_0x51b78c(0x2fc)])}:null;}function ft(_0x290db9){const _0x9bf6f2=a1_0x1683b7,{getArticleData:_0x5d3af9}=ee(),{resolveString:_0x16d108}=X(),{articleName:_0x2c018a}=te(),_0x3483f6=_0x5d3af9(_0x2c018a)['anglGrtxs'];if(!_0x3483f6)return null;const _0x16d118=_0x3483f6[_0x9bf6f2(0x181)](_0x1d308a=>_0x1d308a[_0x9bf6f2(0x2dc)]===_0x290db9),_0x101e59=new Map();return _0x16d118[_0x9bf6f2(0x185)](_0x597e11=>_0x101e59[_0x9bf6f2(0x2b6)](_0x9bf6f2(0x272)+(_0x597e11['NUM']+0x1),_0x16d108(_0x597e11['TEXT']))),{'zoneInfo':_0x101e59};}function he(_0x252d39){const _0x1e300e=a1_0x1683b7,{getArticleData:_0x35d7dc}=ee(),{articleName:_0x4b0f29}=te(),{anglZones:_0x5c043d}=_0x35d7dc(_0x4b0f29),_0x21949e=_0x5c043d[_0x1e300e(0x1c0)](_0x1ecac2=>_0x1ecac2[_0x1e300e(0x2dc)]===_0x252d39),_0xb1566e=_0x5c043d['filter'](_0x336756=>_0x336756[_0x1e300e(0x2dc)][_0x1e300e(0x27e)](0x0,_0x336756[_0x1e300e(0x2dc)]['lastIndexOf']('.'))===_0x252d39);return _0xb1566e[_0x1e300e(0x199)]((_0x153f56,_0x4ae5af)=>_0x153f56[_0x1e300e(0x2dc)][_0x1e300e(0x1a6)](_0x4ae5af[_0x1e300e(0x2dc)],void 0x0,{'numeric':!0x0})),_0x21949e?{'currentZone':_0x21949e,'children':_0xb1566e,get 'topShelfCP'(){const _0x10e702=_0x1e300e;return _0x21949e?.[_0x10e702(0x26d)];},get 'bottomShelfCP'(){return _0x21949e?.['BOTSHELF'];},'zoneInfo'(){const _0x53e64c=_0x1e300e;return ft(_0x252d39)?.[_0x53e64c(0x2b0)];},'getClieThk'(_0x47f697,_0x34dcf0){const _0x4e5a14=_0x1e300e;return this['topShelfCP']===''?0x0:se(_0x47f697,_0x34dcf0,ct)?.[_0x4e5a14(0x2a7)]||0x0;},get 'topShelfThk'(){const _0x5256d4=_0x1e300e;return this[_0x5256d4(0x203)](_0x252d39,j[_0x5256d4(0x205)]);},get 'bottomShelfThk'(){const _0x4f486d=_0x1e300e;return this[_0x4f486d(0x203)](_0x252d39,j[_0x4f486d(0x296)]);},get 'dividerThk'(){return this['getClieThk'](_0x252d39,j['IAC_THICKNESS']);}}:null;}function re(_0x31671f){const _0x23363c=a1_0x1683b7,{getArticleData:_0x994e8b}=ee(),{articleName:_0x462790}=te(),{resolveString:_0x3665f8}=X(),{anglElems:_0x348e43}=_0x994e8b(_0x462790),_0x57aa24=_0x348e43['find'](_0x2e42ba=>_0x2e42ba['TREEID']===_0x31671f),_0x43b72e=Te(_0x31671f),_0x3b9986=he(_0x43b72e);if(!_0x57aa24)return null;const _0x5061f5=_0x57aa24[_0x23363c(0x17d)]===''?0x0:se(_0x31671f,j['IAC_THICKNESS'],pe)?.[_0x23363c(0x2a7)]||0x0,_0x481eb0=se(ht(_0x31671f),j[_0x23363c(0x2ee)],pe)?.[_0x23363c(0x2a7)]||0x0,_0x410a08=se(ut(_0x31671f),j[_0x23363c(0x2ee)],pe)?.[_0x23363c(0x2a7)]||0x0,_0x2a1759=_0x57aa24[_0x23363c(0x17d)]===''?0x0:_0x57aa24[_0x23363c(0x227)]!==''?ae(_0x3665f8(_0x57aa24[_0x23363c(0x227)])):Number(_0x57aa24[_0x23363c(0x2d2)]),_0x4844a1=(typeof _0x2a1759==_0x23363c(0x2f8)?0x0:_0x2a1759)||0x0,_0xc1e18b=_0x57aa24[_0x23363c(0x25f)]||_0x23363c(0x244),_0x5ad414=_0x57aa24[_0x23363c(0x17d)],_0x557b07=_0x3b9986?.[_0x23363c(0x2e0)]||0x0,_0x3dfb63=_0x3b9986?.[_0x23363c(0x274)]||0x0,_0x3a07c0={'start':Number(_0x57aa24[_0x23363c(0x2b9)])||0x0,'end':Number(_0x57aa24[_0x23363c(0x1d6)])||0x0,'top':Number(_0x57aa24[_0x23363c(0x25d)])||0x0,'bottom':Number(_0x57aa24[_0x23363c(0x281)])||0x0},_0x8d4ca1={'start':_0x57aa24[_0x23363c(0x183)],'end':_0x57aa24[_0x23363c(0x291)],'top':_0x57aa24[_0x23363c(0x17f)],'bottom':_0x57aa24[_0x23363c(0x288)]},_0x17271e={'top':_0x8d4ca1[_0x23363c(0x221)]==='S'?_0x557b07:0x0,'bottom':_0x8d4ca1['bottom']==='S'?_0x3dfb63:0x0};return{'TREEID':_0x31671f,'thk':_0x5061f5,'nxtThk':_0x481eb0,'prvThk':_0x410a08,'inset':_0x4844a1,'color':_0xc1e18b,'CPNAME':_0x5ad414,'topThk':_0x557b07,'bottomThk':_0x3dfb63,'oversize':_0x3a07c0,'trim':_0x8d4ca1,'elmTrimThk':_0x17271e};}var b=class extends Error{constructor(_0x93aea0){const _0x1b705a=a1_0x1683b7;super(_0x1b705a(0x24a)+_0x93aea0),this[_0x1b705a(0x293)]='EvaluationError';}},B,pt=(B=class{constructor(){const _0x16c6b4=a1_0x1683b7;D(this,'cache',new Map()),D(this,_0x16c6b4(0x264),''),D(this,_0x16c6b4(0x21c),[]),D(this,_0x16c6b4(0x279),0x0),D(this,_0x16c6b4(0x1c8),0x0),D(this,'errors',[]);}[a1_0x1683b7(0x21e)](_0x137014){const _0x54f8d9=a1_0x1683b7;this[_0x54f8d9(0x213)][_0x54f8d9(0x287)](_0x137014);}[a1_0x1683b7(0x2a6)](_0x457d80){const _0x56f081=a1_0x1683b7;if(this[_0x56f081(0x319)][_0x56f081(0x2fa)](_0x457d80)){const _0xe32e27=this[_0x56f081(0x319)][_0x56f081(0x255)](_0x457d80);return this['cache'][_0x56f081(0x295)](_0x457d80),this[_0x56f081(0x319)]['set'](_0x457d80,_0xe32e27),_0xe32e27;}try{this[_0x56f081(0x264)]=_0x457d80;const _0x32e51f=this[_0x56f081(0x1b2)]();if(this[_0x56f081(0x319)][_0x56f081(0x2b6)](this[_0x56f081(0x264)],_0x32e51f),this[_0x56f081(0x319)]['size']>0x3){const _0x244ea9=this['cache'][_0x56f081(0x1ff)]()[_0x56f081(0x30d)]()[_0x56f081(0x29e)];this[_0x56f081(0x319)][_0x56f081(0x295)](_0x244ea9);}return _0x32e51f;}catch(_0x298fdf){throw console[_0x56f081(0x2df)](_0x298fdf),new Error(_0x298fdf instanceof Error?_0x298fdf['message']:String(_0x298fdf));}}[a1_0x1683b7(0x1b2)](){const _0x3c21f6=a1_0x1683b7;this[_0x3c21f6(0x1d9)]();try{if(this[_0x3c21f6(0x264)][_0x3c21f6(0x2d5)]('<')||this[_0x3c21f6(0x264)][_0x3c21f6(0x2d5)]('>'))throw new Error('Angle\x20brackets\x20are\x20not\x20allowed\x20in\x20the\x20input\x20string');if(this[_0x3c21f6(0x264)][_0x3c21f6(0x22a)]===0x0)throw new Error(_0x3c21f6(0x2cf));for(this['start']=0x0,this['current']=0x0,this[_0x3c21f6(0x21c)]=[],this[_0x3c21f6(0x279)]===0x0&&this['addToken'](_0x3c21f6(0x30b),'<');!this[_0x3c21f6(0x2c2)]();){this[_0x3c21f6(0x279)]=this[_0x3c21f6(0x1c8)];const _0x215e39=this[_0x3c21f6(0x2bc)]();switch(_0x215e39){case':':this[_0x3c21f6(0x2f6)]('RIGHT_ANGLE_BRACKET','>'),this[_0x3c21f6(0x2f6)](_0x3c21f6(0x30b),'<'),this[_0x3c21f6(0x27a)]();break;case'\x20':case'\x0d':case'\x09':case'\x0a':this[_0x3c21f6(0x27a)]();break;case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'.':this[_0x3c21f6(0x29f)]();break;case'$':this[_0x3c21f6(0x251)]();break;case'+':case'-':case'*':case'/':this[_0x3c21f6(0x2f6)]('OPERATOR',_0x215e39),this['advance']();break;case'(':this[_0x3c21f6(0x2f6)]('PAREN_OPEN','('),this[_0x3c21f6(0x27a)]();break;case')':this[_0x3c21f6(0x2f6)](_0x3c21f6(0x1a0),')'),this[_0x3c21f6(0x27a)]();break;case'{':this[_0x3c21f6(0x1c8)]!=0x0&&this['tokens'][this[_0x3c21f6(0x21c)]['length']-0x1][_0x3c21f6(0x263)]!=_0x3c21f6(0x313)&&this[_0x3c21f6(0x2f6)](_0x3c21f6(0x313),'*'),this[_0x3c21f6(0x2f6)](_0x3c21f6(0x1e5),'{'),this[_0x3c21f6(0x2f6)]('LEFT_ANGLE_BRACKET','<'),this['advance']();break;case'}':this[_0x3c21f6(0x2f6)](_0x3c21f6(0x268),'>'),this[_0x3c21f6(0x2f6)](_0x3c21f6(0x1bd),'}'),this['advance']();break;case'[':this[_0x3c21f6(0x2f6)](_0x3c21f6(0x313),'~'),this[_0x3c21f6(0x2f6)](_0x3c21f6(0x200),'['),this[_0x3c21f6(0x27a)]();break;case']':this['addToken']('BRACKET_CLOSE',']'),this['advance']();break;case'm':this[_0x3c21f6(0x2d6)]()==='m'?this['scanMm']():this[_0x3c21f6(0x280)]();break;default:this['isAlpha'](_0x215e39)?this[_0x3c21f6(0x280)]():this[_0x3c21f6(0x21e)](_0x3c21f6(0x1ef)+_0x215e39+'\x20at\x20position:\x20'+this[_0x3c21f6(0x1c8)]);}}if(this['addToken'](_0x3c21f6(0x268),'>'),this['addToken'](_0x3c21f6(0x1cf),''),this['errors'][_0x3c21f6(0x22a)]>0x0)throw new Error(this[_0x3c21f6(0x213)][_0x3c21f6(0x2a3)](',\x0a'));return this[_0x3c21f6(0x21c)];}catch(_0x9f7f60){throw new Error(_0x9f7f60 instanceof Error?_0x9f7f60[_0x3c21f6(0x2af)]:String(_0x9f7f60));}}[a1_0x1683b7(0x2c2)](){const _0x5e1367=a1_0x1683b7;return this[_0x5e1367(0x1c8)]>=this[_0x5e1367(0x264)][_0x5e1367(0x22a)];}['advance'](){const _0x2a109a=a1_0x1683b7;return this['source']['charAt'](this[_0x2a109a(0x1c8)]++);}['peek'](){const _0x3e2f7f=a1_0x1683b7;return this[_0x3e2f7f(0x2c2)]()?'\x00':this[_0x3e2f7f(0x264)][_0x3e2f7f(0x219)](this[_0x3e2f7f(0x1c8)]);}[a1_0x1683b7(0x2d6)](){const _0x39d6cc=a1_0x1683b7;return this[_0x39d6cc(0x1c8)]+0x1>=this['source'][_0x39d6cc(0x22a)]?'\x00':this[_0x39d6cc(0x264)][_0x39d6cc(0x219)](this[_0x39d6cc(0x1c8)]+0x1);}[a1_0x1683b7(0x2f6)](_0x4fc8d9,_0xb4347b){const _0x4e0134=a1_0x1683b7;this[_0x4e0134(0x21c)][_0x4e0134(0x287)]({'type':_0x4fc8d9,'lexeme':_0xb4347b||(_0x4fc8d9?this[_0x4e0134(0x264)][_0x4e0134(0x27e)](this[_0x4e0134(0x279)],this[_0x4e0134(0x1c8)]):''),'position':this[_0x4e0134(0x279)]});}['isDigit'](_0x56e65c){return/^[0-9]$/['test'](_0x56e65c);}[a1_0x1683b7(0x322)](_0x2e45d7){const _0x1a288a=a1_0x1683b7;return/^[a-zA-Z]$/[_0x1a288a(0x1cc)](_0x2e45d7);}['scanNumber'](){const _0x1d6e45=a1_0x1683b7;for(;this[_0x1d6e45(0x323)](this['peek']());)this['advance']();if(this[_0x1d6e45(0x2bc)]()==='.'){for(this[_0x1d6e45(0x27a)](),this[_0x1d6e45(0x323)](this[_0x1d6e45(0x2bc)]())||this[_0x1d6e45(0x21e)](_0x1d6e45(0x20b)+this[_0x1d6e45(0x1c8)]);this[_0x1d6e45(0x323)](this[_0x1d6e45(0x2bc)]());)this[_0x1d6e45(0x27a)]();}this[_0x1d6e45(0x2f6)]('NUMBER');}[a1_0x1683b7(0x251)](){const _0x36da1f=a1_0x1683b7;for(this['advance']();/[a-zA-Z0-9_]/['test'](this['peek']());)this[_0x36da1f(0x27a)]();const _0x29a440=this[_0x36da1f(0x264)][_0x36da1f(0x27e)](this['start']+0x1,this[_0x36da1f(0x1c8)]);if(_0x29a440[_0x36da1f(0x29b)]('mm')){const _0x57f2a2=_0x29a440[_0x36da1f(0x27e)](0x0,_0x29a440[_0x36da1f(0x22a)]-0x2);_0x57f2a2&&_0x57f2a2[_0x36da1f(0x22a)]>0x0?(this[_0x36da1f(0x2f6)]('VARIABLE',_0x57f2a2),this['addToken'](_0x36da1f(0x1d4),'mm')):this[_0x36da1f(0x21e)](_0x36da1f(0x327));}else this['addToken']('VARIABLE',_0x29a440);}[a1_0x1683b7(0x28e)](){const _0x4edc1d=a1_0x1683b7;this[_0x4edc1d(0x27a)](),this[_0x4edc1d(0x27a)](),this[_0x4edc1d(0x2f6)](_0x4edc1d(0x1d4),'mm');}[a1_0x1683b7(0x280)](){const _0x3dc2fd=a1_0x1683b7,_0x523613=['X','Y','n'];for(;this[_0x3dc2fd(0x322)](this[_0x3dc2fd(0x2bc)]());)this[_0x3dc2fd(0x27a)]();const _0x931deb=this[_0x3dc2fd(0x264)][_0x3dc2fd(0x27e)](this[_0x3dc2fd(0x279)],this['current']),_0x2acb9c=B['MATHEMATICAL_FUNCTIONS'][_0x931deb[_0x3dc2fd(0x184)]()];_0x2acb9c!=null?this[_0x3dc2fd(0x2f6)](_0x2acb9c,_0x931deb):_0x523613[_0x3dc2fd(0x2d5)](_0x931deb)?this[_0x3dc2fd(0x2f6)](_0x3dc2fd(0x248),_0x931deb):this['reportError'](_0x3dc2fd(0x226)+_0x931deb+'\x20at\x20position:\x20'+this[_0x3dc2fd(0x1c8)]);}[a1_0x1683b7(0x1d9)](){const _0x2f1942=a1_0x1683b7;this[_0x2f1942(0x21c)]=[],this[_0x2f1942(0x279)]=0x0,this[_0x2f1942(0x1c8)]=0x0,this[_0x2f1942(0x213)]=[];}},D(B,a1_0x1683b7(0x1ad),{'abs':a1_0x1683b7(0x1db),'acos':a1_0x1683b7(0x1db),'asin':'FUNCTION','atan':a1_0x1683b7(0x1db),'bog2deg':'FUNCTION','cos':a1_0x1683b7(0x1db),'deg2bog':a1_0x1683b7(0x1db),'in2mm':'FUNCTION','ln':a1_0x1683b7(0x1db),'log':a1_0x1683b7(0x1db),'log10':a1_0x1683b7(0x1db),'max':a1_0x1683b7(0x1db),'maxunder':a1_0x1683b7(0x1db),'mm2in':a1_0x1683b7(0x1db),'nextto':a1_0x1683b7(0x1db),'pi':a1_0x1683b7(0x1db),'pow':a1_0x1683b7(0x1db),'round':a1_0x1683b7(0x1db),'sin':'FUNCTION','sqr':a1_0x1683b7(0x1db),'tab':a1_0x1683b7(0x1db),'tan':a1_0x1683b7(0x1db)}),B),mt=class{constructor(){D(this,'cache',new Map()),D(this,'tokens',[]),D(this,'current',0x0),D(this,'resetCurrent',()=>{const _0x172ef0=a1_0x26a9;this[_0x172ef0(0x1c8)]=0x0;});}['parse'](_0x370d5a){const _0x11af8d=a1_0x1683b7;if(this[_0x11af8d(0x319)]['has'](_0x370d5a)){const _0x547a94=this[_0x11af8d(0x319)][_0x11af8d(0x255)](_0x370d5a);return this['cache'][_0x11af8d(0x295)](_0x370d5a),this[_0x11af8d(0x319)][_0x11af8d(0x2b6)](_0x370d5a,_0x547a94),_0x547a94;}try{this[_0x11af8d(0x21c)]=_0x370d5a;const _0x101220=this['performParse'](_0x370d5a);if(this[_0x11af8d(0x319)][_0x11af8d(0x2b6)](_0x370d5a,_0x101220),this[_0x11af8d(0x319)][_0x11af8d(0x2e3)]>0x3){const _0x2c1f59=this['cache'][_0x11af8d(0x1ff)]()['next']()['value'];this[_0x11af8d(0x319)]['delete'](_0x2c1f59);}return _0x101220;}catch(_0x4dbef6){throw new Error(_0x4dbef6 instanceof Error?_0x4dbef6['message']:String(_0x4dbef6));}}['performParse'](_0x153e79){const _0x24a9d8=a1_0x1683b7;if(this[_0x24a9d8(0x282)](),this[_0x24a9d8(0x21c)]['length']===0x0)throw new Error('No\x20tokens\x20to\x20parse.');try{return this['expression']();}catch(_0x5b621d){throw new Error(_0x5b621d instanceof Error?_0x5b621d[_0x24a9d8(0x2af)]:String(_0x5b621d));}}[a1_0x1683b7(0x21b)](){const _0x1e36a2=a1_0x1683b7;if(this['isAtEnd']())return!0x1;const _0xb937d0=this[_0x1e36a2(0x2bc)]();return _0xb937d0['type']===_0x1e36a2(0x1d4)&&_0xb937d0[_0x1e36a2(0x26a)]==='mm';}[a1_0x1683b7(0x28c)](){const _0x1a262c=a1_0x1683b7;return this['checkMillimeterSuffix']()?(this[_0x1a262c(0x27a)](),!0x0):!0x1;}[a1_0x1683b7(0x1fb)](){const _0x53656a=a1_0x1683b7,_0x46eb63=[];if(!this[_0x53656a(0x2c3)](_0x53656a(0x30b)))return this['expression']();for(;this[_0x53656a(0x2c3)](_0x53656a(0x30b));){this[_0x53656a(0x27a)]();let _0x489a66=this[_0x53656a(0x30a)]();this['consume'](_0x53656a(0x268),_0x53656a(0x1b0)),_0x46eb63['push']({'type':_0x53656a(0x18f),'nodes':_0x489a66,'hasMillimeterSuffix':this[_0x53656a(0x28c)]()});}if(_0x46eb63[_0x53656a(0x22a)]===0x1){const _0x2a268c=_0x46eb63[0x0];return _0x2a268c[_0x53656a(0x263)]===_0x53656a(0x18f)&&_0x2a268c[_0x53656a(0x2c1)]['type']===_0x53656a(0x18f)?_0x2a268c[_0x53656a(0x2c1)]:_0x2a268c;}return{'type':_0x53656a(0x2f7),'sections':_0x46eb63};}[a1_0x1683b7(0x30a)](){const _0x10ddd0=a1_0x1683b7;try{let _0x16cfcd=this['term']();for(;!this['isAtEnd']()&&this['check'](_0x10ddd0(0x313))&&['+','-'][_0x10ddd0(0x2d5)](this[_0x10ddd0(0x2bc)]()['lexeme']);){this['advance']();const _0xce12e3=this[_0x10ddd0(0x285)]()[_0x10ddd0(0x26a)],_0xc407fd=this['term']();_0x16cfcd={'type':_0x10ddd0(0x224),'left':_0x16cfcd,'operator':_0xce12e3,'right':_0xc407fd};}return _0x16cfcd;}catch(_0x237b7e){throw new Error(_0x10ddd0(0x2cc)+_0x237b7e[_0x10ddd0(0x2af)]);}}[a1_0x1683b7(0x1d2)](){const _0x26dd7d=a1_0x1683b7;try{let _0x16a48a=this['factor']();for(;!this['isAtEnd']()&&this[_0x26dd7d(0x2c3)](_0x26dd7d(0x313))&&['*','/','~']['includes'](this['peek']()['lexeme']);){this['advance']();const _0x1cee4b=this[_0x26dd7d(0x285)]()[_0x26dd7d(0x26a)],_0x592ea7=this[_0x26dd7d(0x26f)]();if(_0x592ea7[_0x26dd7d(0x263)]===_0x26dd7d(0x269)&&_0x592ea7[_0x26dd7d(0x293)]==='n')throw new Error(_0x26dd7d(0x179));_0x16a48a={'type':'BinaryExpression','left':_0x16a48a,'operator':_0x1cee4b,'right':_0x592ea7};}return _0x16a48a;}catch(_0xd13ad1){throw new Error(_0x26dd7d(0x215)+_0xd13ad1[_0x26dd7d(0x2af)]);}}['factor'](){const _0x35489e=a1_0x1683b7;try{if(this[_0x35489e(0x2c3)]('OPERATOR')&&['-','+'][_0x35489e(0x2d5)](this[_0x35489e(0x2bc)]()[_0x35489e(0x26a)])){this[_0x35489e(0x27a)]();const _0x2bc203=this['previous']()[_0x35489e(0x26a)],_0x4e9f5a=this[_0x35489e(0x26f)]();return{'type':'UnaryExpression','operator':_0x2bc203,'right':_0x4e9f5a};}return this[_0x35489e(0x31f)]();}catch(_0x2a94fb){throw new Error('Failed\x20to\x20parse\x20factor:\x20'+_0x2a94fb[_0x35489e(0x2af)]);}}['primary'](){const _0x1c7884=a1_0x1683b7;try{if(this['check'](_0x1c7884(0x32b)))return this[_0x1c7884(0x27a)](),{'type':_0x1c7884(0x19c),'value':parseFloat(this[_0x1c7884(0x285)]()[_0x1c7884(0x26a)]),'hasMillimeterSuffix':this['consumeMillimeterSuffix']()};if(this[_0x1c7884(0x2c3)]('VARIABLE'))return this[_0x1c7884(0x27a)](),{'type':_0x1c7884(0x275),'name':this[_0x1c7884(0x285)]()[_0x1c7884(0x26a)],'hasMillimeterSuffix':this[_0x1c7884(0x28c)]()};if(this[_0x1c7884(0x2c3)](_0x1c7884(0x248)))return this['advance'](),{'type':_0x1c7884(0x269),'name':this[_0x1c7884(0x285)]()[_0x1c7884(0x26a)],'hasMillimeterSuffix':this[_0x1c7884(0x285)]()[_0x1c7884(0x26a)]==='n'};if(this[_0x1c7884(0x2c3)](_0x1c7884(0x1db))){this[_0x1c7884(0x27a)]();const _0x35c59d=this[_0x1c7884(0x285)]()['lexeme'];this[_0x1c7884(0x24c)]('PAREN_OPEN',_0x1c7884(0x186)+_0x35c59d+'\x27.');const _0x540d9e=this[_0x1c7884(0x30a)]();return this[_0x1c7884(0x24c)](_0x1c7884(0x1a0),_0x1c7884(0x2f5)),{'type':_0x1c7884(0x312),'name':_0x35c59d,'arg':_0x540d9e,'hasMillimeterSuffix':this[_0x1c7884(0x28c)]()};}if(this[_0x1c7884(0x2c3)](_0x1c7884(0x1e7))){this['advance']();const _0x42ed91=this[_0x1c7884(0x30a)]();if(!_0x42ed91)throw new Error('Expected\x20expression\x20inside\x20parentheses.');return this[_0x1c7884(0x24c)]('PAREN_CLOSE',_0x1c7884(0x233)),{'type':_0x1c7884(0x1c6),'expression':_0x42ed91,'hasMillimeterSuffix':this[_0x1c7884(0x28c)]()};}if(this['check'](_0x1c7884(0x1a0)))throw new Error(_0x1c7884(0x1a8));if(this['check']('BRACE_OPEN')){this[_0x1c7884(0x27a)]();let _0x5a47c0=this[_0x1c7884(0x1fb)]();return this[_0x1c7884(0x24c)](_0x1c7884(0x1bd),'Expected\x20\x27}\x27\x20after\x20expression.'),_0x5a47c0[_0x1c7884(0x263)]==='Section'&&_0x5a47c0['nodes']['type']===_0x1c7884(0x18f)&&(_0x5a47c0=_0x5a47c0[_0x1c7884(0x2c1)]),{'type':_0x1c7884(0x273),'toRepeat':_0x5a47c0,'hasMillimeterSuffix':this[_0x1c7884(0x28c)]()};}if(this['check'](_0x1c7884(0x30b)))return this[_0x1c7884(0x1fb)]();throw new Error('Unexpected\x20token:\x20'+this[_0x1c7884(0x2bc)]()[_0x1c7884(0x26a)]);}catch(_0x473480){throw new Error(_0x1c7884(0x1c4)+_0x473480[_0x1c7884(0x2af)]);}}[a1_0x1683b7(0x2c3)](_0x4059e3){const _0x26fb0b=a1_0x1683b7;return this['isAtEnd']()?!0x1:this['peek']()[_0x26fb0b(0x263)]===_0x4059e3;}['advance'](){const _0x4de326=a1_0x1683b7;return this[_0x4de326(0x2c2)]()||this[_0x4de326(0x1c8)]++,this[_0x4de326(0x285)]();}[a1_0x1683b7(0x24c)](_0x4d6e8f,_0x4c81b2){const _0x33c92f=a1_0x1683b7;if(this['check'](_0x4d6e8f))return this[_0x33c92f(0x27a)]();throw new Error(_0x4c81b2);}[a1_0x1683b7(0x2c2)](){const _0x29372d=a1_0x1683b7;return this[_0x29372d(0x1c8)]>=this['tokens']['length'];}['peek'](){const _0x4b4f45=a1_0x1683b7;return this[_0x4b4f45(0x21c)][this[_0x4b4f45(0x1c8)]];}['previous'](){const _0x3ed3b3=a1_0x1683b7;return this[_0x3ed3b3(0x21c)][this['current']-0x1];}},ye=_0x1450f5=>_0x1450f5[a1_0x1683b7(0x263)]==='SpecialVariable'&&_0x1450f5[a1_0x1683b7(0x293)]==='n';function dt(_0x3740ab,_0x3142b4){const _0x455b1f=a1_0x1683b7;if(_0x3740ab[_0x455b1f(0x29d)]['type']===_0x455b1f(0x269)&&_0x3740ab[_0x455b1f(0x29d)]['name']==='n')return new b(_0x455b1f(0x28f));const _0xaf5719=ye(_0x3740ab[_0x455b1f(0x1ae)])?_0x3740ab[_0x455b1f(0x1ae)]:this[_0x455b1f(0x19a)](_0x3740ab[_0x455b1f(0x1ae)]),_0xdda4d9=ye(_0x3740ab[_0x455b1f(0x29d)])?_0x3740ab[_0x455b1f(0x29d)]:this['evaluate'](_0x3740ab[_0x455b1f(0x29d)]);if(_0xaf5719 instanceof b)return _0xaf5719;if(_0xdda4d9 instanceof b)return _0xdda4d9;const _0x45c92b=_0xaf5719['type']===_0x455b1f(0x19c)&&_0xdda4d9[_0x455b1f(0x263)]===_0x455b1f(0x19c),_0x350b95=_0x45c92b?_0xaf5719['hasMillimeterSuffix']===_0xdda4d9[_0x455b1f(0x32f)]:!0x1,_0xeb9158=_0x4ef7bc=>_0x4ef7bc[_0x455b1f(0x263)]===_0x455b1f(0x273);switch(_0x3740ab['operator']){case'+':return _0x45c92b&&_0x350b95&&_0x3142b4?.[_0x455b1f(0x314)]==!0x1?{'type':_0x455b1f(0x19c),'value':_0xaf5719['value']+_0xdda4d9[_0x455b1f(0x29e)],'hasMillimeterSuffix':_0xaf5719[_0x455b1f(0x32f)]===!0x0||_0xdda4d9[_0x455b1f(0x32f)]===!0x0,'spreadMm':_0xaf5719[_0x455b1f(0x265)]||_0xdda4d9[_0x455b1f(0x265)]}:_0x45c92b&&_0x3142b4?.[_0x455b1f(0x314)]==!0x0?{'type':_0x455b1f(0x19c),'value':_0xaf5719[_0x455b1f(0x29e)]+_0xdda4d9['value'],'spreadMm':_0xaf5719['hasMillimeterSuffix']||_0xdda4d9[_0x455b1f(0x32f)]}:{'type':_0x455b1f(0x224),'operator':'+','left':_0xaf5719,'right':_0xdda4d9};case'*':return _0x45c92b&&_0x3142b4?.[_0x455b1f(0x314)]==!0x0?{'type':_0x455b1f(0x19c),'value':_0xaf5719[_0x455b1f(0x29e)]*_0xdda4d9['value'],'hasMillimeterSuffix':_0xaf5719[_0x455b1f(0x32f)]===!0x0||_0xdda4d9[_0x455b1f(0x32f)]===!0x0,'spreadMm':_0xaf5719[_0x455b1f(0x265)]||_0xdda4d9[_0x455b1f(0x265)]}:_0xeb9158(_0xdda4d9)&&_0xaf5719[_0x455b1f(0x263)]===_0x455b1f(0x19c)?{'type':'Repeated','toRepeat':_0xdda4d9[_0x455b1f(0x192)],'times':Math['round'](_0xaf5719[_0x455b1f(0x29e)]),'hasMillimeterSuffix':_0xdda4d9[_0x455b1f(0x263)]===_0x455b1f(0x19c)&&_0xdda4d9[_0x455b1f(0x32f)]||!0x1}:_0x3142b4?.[_0x455b1f(0x314)]==!0x1&&_0xaf5719['type']!==_0x455b1f(0x269)&&_0xaf5719[_0x455b1f(0x293)]!=='n'?new b(_0x455b1f(0x284)):_0xaf5719[_0x455b1f(0x263)]===_0x455b1f(0x269)?{'type':_0x455b1f(0x224),'operator':'*','left':_0xaf5719,'right':{'type':_0x455b1f(0x19c),'value':_0xdda4d9[_0x455b1f(0x29e)],'hasMillimeterSuffix':!0x0}}:{'type':'BinaryExpression','operator':'*','left':_0xaf5719,'right':_0xdda4d9,'hasMillimeterSuffix':_0xaf5719[_0x455b1f(0x32f)]||_0xdda4d9[_0x455b1f(0x32f)]};case'/':if(_0x45c92b&&_0x3142b4?.['isInsideGroup']==!0x0)return{'type':_0x455b1f(0x19c),'value':_0xaf5719[_0x455b1f(0x29e)]/_0xdda4d9[_0x455b1f(0x29e)],'hasMillimeterSuffix':_0xaf5719[_0x455b1f(0x32f)]===!0x0||_0xdda4d9['hasMillimeterSuffix']===!0x0};if(_0x3142b4?.['isInsideGroup']==!0x1)return new b('cannot\x20have\x20\x20/\x20outside\x20of\x20group');case'-':return _0x45c92b&&_0x350b95&&_0x3142b4?.[_0x455b1f(0x314)]==!0x1?{'type':_0x455b1f(0x19c),'value':_0xaf5719['value']-_0xdda4d9[_0x455b1f(0x29e)],'hasMillimeterSuffix':_0xaf5719[_0x455b1f(0x32f)]===!0x0||_0xdda4d9[_0x455b1f(0x32f)]===!0x0,'spreadMm':_0xaf5719['spreadMm']||_0xdda4d9[_0x455b1f(0x265)]}:_0x45c92b&&_0x3142b4?.[_0x455b1f(0x314)]==!0x0?{'type':_0x455b1f(0x19c),'value':_0xaf5719[_0x455b1f(0x29e)]-_0xdda4d9['value'],'spreadMm':_0xaf5719[_0x455b1f(0x32f)]||_0xdda4d9[_0x455b1f(0x32f)]}:{'type':_0x455b1f(0x224),'operator':'-','left':_0xaf5719,'right':_0xdda4d9};default:throw new b(_0x455b1f(0x2ed));}}function gt(_0x44ceb8,_0x4f53ce){const _0x21c00c=a1_0x1683b7,_0x3771c7=this[_0x21c00c(0x19a)](_0x44ceb8[_0x21c00c(0x222)]);if(_0x3771c7 instanceof b)throw new b(_0x21c00c(0x1e9));switch(_0x44ceb8[_0x21c00c(0x293)][_0x21c00c(0x17a)]()){case _0x21c00c(0x2c9):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x2c9)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x2bd):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x2bd)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x1be):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x1be)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7['hasMillimeterSuffix'],'spreadMm':_0x4f53ce?.['isInsideGroup']===!0x1};case _0x21c00c(0x2ca):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x2ca)](_0x3771c7['value']),'hasMillimeterSuffix':_0x3771c7['hasMillimeterSuffix'],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x208):return{'type':'NumberLiteral','value':Math[_0x21c00c(0x208)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.['isInsideGroup']===!0x1};case _0x21c00c(0x2b4):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x2b4)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x209):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x209)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.['isInsideGroup']===!0x1};case _0x21c00c(0x2f4):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x2f4)](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x2b5):return{'type':_0x21c00c(0x19c),'value':_0x3771c7[_0x21c00c(0x29e)]*(0xb4/Math['PI']),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case'deg2bog':return{'type':_0x21c00c(0x19c),'value':_0x3771c7[_0x21c00c(0x29e)]*(Math['PI']/0xb4),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.['isInsideGroup']===!0x1};case'in2mm':return{'type':_0x21c00c(0x19c),'value':_0x3771c7['value']*25.4,'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x1c3):return{'type':_0x21c00c(0x19c),'value':_0x3771c7[_0x21c00c(0x29e)]/25.4,'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case'ln':return{'type':_0x21c00c(0x19c),'value':Math['log'](_0x3771c7[_0x21c00c(0x29e)]),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.[_0x21c00c(0x314)]===!0x1};case _0x21c00c(0x1c9):return{'type':_0x21c00c(0x19c),'value':Math[_0x21c00c(0x1c9)](_0x3771c7['value']),'hasMillimeterSuffix':_0x3771c7[_0x21c00c(0x32f)],'spreadMm':_0x4f53ce?.['isInsideGroup']===!0x1};default:throw new b(_0x21c00c(0x1e0));}}function Et(_0x22f6c4){const _0x1aef2f=a1_0x1683b7;if(!this['variables']||!(_0x22f6c4[_0x1aef2f(0x293)]in this[_0x1aef2f(0x1f2)]))throw new b(_0x1aef2f(0x19e)+_0x22f6c4[_0x1aef2f(0x293)]+_0x1aef2f(0x315));return{'type':_0x1aef2f(0x19c),'value':this[_0x1aef2f(0x1f2)][_0x22f6c4[_0x1aef2f(0x293)]],'hasMillimeterSuffix':_0x22f6c4[_0x1aef2f(0x32f)]};}var St=class{constructor(){const _0x136665=a1_0x1683b7;D(this,'nestingLevel',0x0),D(this,_0x136665(0x1f2),{}),D(this,'evaluateBinaryExpression'),D(this,_0x136665(0x2d9)),D(this,_0x136665(0x2ba)),(this['evaluateBinaryExpression']=dt['bind'](this),this['evaluateFunction']=gt[_0x136665(0x1b5)](this),this['evaluateVariable']=Et[_0x136665(0x1b5)](this));}['evaluate'](_0x1bcb15,_0x5af490={'isInsideGroup':!0x1},_0x4a5d9e){const _0x5036aa=a1_0x1683b7;this[_0x5036aa(0x2f0)]++;try{if(_0x4a5d9e&&(this[_0x5036aa(0x1f2)]=_0x4a5d9e),this[_0x5036aa(0x1a5)](_0x1bcb15))return this['evaluateSections'](_0x1bcb15,_0x5af490);if(this[_0x5036aa(0x324)](_0x1bcb15)){const _0x1ef3bb=this[_0x5036aa(0x19a)](_0x1bcb15[_0x5036aa(0x2c1)],_0x5af490);return _0x1ef3bb instanceof b?new b(_0x5036aa(0x270)+JSON[_0x5036aa(0x30e)](_0x1bcb15)):{..._0x1bcb15,'nodes':_0x1ef3bb};}if(this[_0x5036aa(0x240)](_0x1bcb15)){if(_0x5af490[_0x5036aa(0x314)]){if(_0x1bcb15[_0x5036aa(0x32f)])return{..._0x1bcb15,'spreadMm':!0x0};}else return _0x1bcb15;}if(this[_0x5036aa(0x2ef)](_0x1bcb15)){_0x5af490={..._0x5af490,'isInsideGroup':!0x0};const _0x89362e=this['evaluate'](_0x1bcb15[_0x5036aa(0x30a)],_0x5af490);return _0x89362e instanceof b?_0x89362e:{..._0x89362e,'hasMillimeterSuffix':_0x1bcb15['hasMillimeterSuffix']};}if(this[_0x5036aa(0x2c0)](_0x1bcb15)){const _0x2e7c2f=this[_0x5036aa(0x19a)](_0x1bcb15[_0x5036aa(0x192)]);return _0x2e7c2f instanceof b?_0x2e7c2f:{..._0x1bcb15,'toRepeat':_0x2e7c2f};}if(this[_0x5036aa(0x1b7)](_0x1bcb15))return this[_0x5036aa(0x187)](_0x1bcb15,_0x5af490);if(this[_0x5036aa(0x246)](_0x1bcb15))return{'type':_0x5036aa(0x19c),'value':_0x1bcb15[_0x5036aa(0x299)]==='-'?-0x1*_0x1bcb15[_0x5036aa(0x29d)]['value']:_0x1bcb15[_0x5036aa(0x29d)][_0x5036aa(0x29e)],'hasMillimeterSuffix':_0x1bcb15[_0x5036aa(0x29d)][_0x5036aa(0x32f)]};if(this[_0x5036aa(0x228)](_0x1bcb15))return this[_0x5036aa(0x2d9)](_0x1bcb15,_0x5af490);if(this['isVariable'](_0x1bcb15)){if(this[_0x5036aa(0x1f2)])return this['evaluateVariable'](_0x1bcb15);throw new b(_0x5036aa(0x316));}throw new b(_0x5036aa(0x237)+_0x1bcb15[_0x5036aa(0x263)]);}catch(_0xa0ba9){throw new b(_0xa0ba9[_0x5036aa(0x2af)]);}finally{this[_0x5036aa(0x2f0)]--;}}[a1_0x1683b7(0x246)](_0x1d1a12){const _0x5dfd1f=a1_0x1683b7;return _0x1d1a12[_0x5dfd1f(0x263)]==='UnaryExpression';}[a1_0x1683b7(0x240)](_0x5caebf){const _0x40d44c=a1_0x1683b7;return _0x5caebf[_0x40d44c(0x263)]==='NumberLiteral';}[a1_0x1683b7(0x28b)](_0x512e7d){const _0x570663=a1_0x1683b7;return _0x512e7d[_0x570663(0x263)]===_0x570663(0x275)||_0x512e7d[_0x570663(0x263)]===_0x570663(0x269);}['isBinaryExpression'](_0x41df37){const _0x10008c=a1_0x1683b7;return _0x41df37[_0x10008c(0x263)]===_0x10008c(0x224);}[a1_0x1683b7(0x228)](_0x2a1e93){const _0xc555ce=a1_0x1683b7;return _0x2a1e93[_0xc555ce(0x263)]===_0xc555ce(0x312);}[a1_0x1683b7(0x2ef)](_0x3e0047){const _0x4d389f=a1_0x1683b7;return _0x3e0047[_0x4d389f(0x263)]===_0x4d389f(0x1c6);}[a1_0x1683b7(0x2c0)](_0x5daea8){const _0x57dfeb=a1_0x1683b7;return _0x5daea8['type']===_0x57dfeb(0x273);}['isSections'](_0x400cd3){const _0x3448d8=a1_0x1683b7;return _0x400cd3['type']===_0x3448d8(0x2f7);}[a1_0x1683b7(0x324)](_0x5c206e){const _0x254a1b=a1_0x1683b7;return _0x5c206e[_0x254a1b(0x263)]==='Section';}[a1_0x1683b7(0x2ad)](_0x5eb4c0,_0x479016={'isInsideGroup':!0x1}){const _0x7cd91c=a1_0x1683b7;return{'type':_0x7cd91c(0x2f7),'sections':_0x5eb4c0[_0x7cd91c(0x1fb)]['map'](_0x4e89ad=>{const _0x361e77=_0x7cd91c,_0x50bea9=this[_0x361e77(0x19a)](_0x4e89ad[_0x361e77(0x2c1)]);if(_0x50bea9 instanceof b)throw _0x50bea9;return{'type':'Section','nodes':_0x50bea9};})};}};function z(_0x5a23d6,_0x2862bd){const _0x2bfce6=a1_0x1683b7;if(!_0x5a23d6)throw new b(_0x2bfce6(0x2a8)+JSON['stringify'](_0x5a23d6));_0x2862bd(_0x5a23d6),_0x5a23d6[_0x2bfce6(0x263)]===_0x2bfce6(0x2f7)&&Array[_0x2bfce6(0x2de)](_0x5a23d6['sections'])?_0x5a23d6['sections'][_0x2bfce6(0x249)](_0x42cb4b=>z(_0x42cb4b,_0x2862bd)):_0x5a23d6[_0x2bfce6(0x263)]===_0x2bfce6(0x18f)&&_0x5a23d6[_0x2bfce6(0x2c1)]?z(_0x5a23d6['nodes'],_0x2862bd):_0x5a23d6[_0x2bfce6(0x263)];}var vt=class{['accumulateIncorporatedThicknesses'](_0x36c30f,_0x4068aa,_0x4981be,_0x435c86,_0x26a26f,_0xf19150,_0x781077,_0x51b768,_0x3a5d7a){const _0x24c717=a1_0x1683b7;let _0x111213=0x0;if(_0x781077==='M'){for(let _0x58ed54=0x1;_0x58ed54<_0x36c30f[_0x24c717(0x1fb)][_0x24c717(0x22a)]-0x1;_0x58ed54++)_0x111213+=_0x435c86;}if(_0x781077==='O'){for(let _0x225f36=0x1;_0x225f36<_0x36c30f['sections'][_0x24c717(0x22a)]-0x1;_0x225f36++)_0x111213+=_0x435c86*0x2;}return _0x26a26f==='M'&&(_0x111213+=_0x4068aa/0x2),_0x26a26f==='O'&&(_0x111213+=_0x4068aa),_0xf19150==='M'&&(_0x111213+=_0x4068aa/0x2),_0xf19150==='O'&&(_0x111213+=_0x4068aa),_0x3a5d7a==='M'&&(_0x111213+=_0x4981be/0x2),_0x3a5d7a==='O'&&(_0x111213+=_0x4981be),_0x51b768==='M'&&(_0x111213+=_0x4981be/0x2),_0x51b768==='O'&&(_0x111213+=_0x4981be),_0x111213;}},Tt=class{[a1_0x1683b7(0x214)](_0x456098,_0x38383d=0x1f4,_0x33bbde=0x0,_0x185863){const _0x3879d6=a1_0x1683b7;try{if(_0x456098 instanceof b)throw _0x456098;if(_0x456098[_0x3879d6(0x263)]!==_0x3879d6(0x2f7)&&_0x456098[_0x3879d6(0x263)]!==_0x3879d6(0x18f))throw new b(_0x3879d6(0x2f3)+JSON['stringify'](_0x456098));let _0x3f1698={'type':_0x3879d6(0x2f7),'sections':[]};if(_0x456098[_0x3879d6(0x263)]===_0x3879d6(0x2f7)){for(const _0x3fe255 of _0x456098['sections'])if(_0x3fe255[_0x3879d6(0x2c1)][_0x3879d6(0x263)]===_0x3879d6(0x273)&&_0x3fe255['nodes'][_0x3879d6(0x1de)]){for(let _0x438c2f=0x0;_0x438c2f<(_0x3fe255[_0x3879d6(0x2c1)]?.['times']??0x0);_0x438c2f++)if(_0x3fe255['nodes']['toRepeat'][_0x3879d6(0x263)]==='Section')_0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x287)](_0x3fe255['nodes'][_0x3879d6(0x192)]);else{if(_0x3fe255[_0x3879d6(0x2c1)][_0x3879d6(0x192)][_0x3879d6(0x263)]===_0x3879d6(0x2f7)){for(const _0x35742b of _0x3fe255[_0x3879d6(0x2c1)][_0x3879d6(0x192)][_0x3879d6(0x1fb)])_0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x287)](_0x35742b);}}}else _0x3f1698[_0x3879d6(0x1fb)]['push'](_0x3fe255);}else _0x456098[_0x3879d6(0x263)]===_0x3879d6(0x18f)&&_0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x287)](_0x456098);if(_0x185863){const _0x256d04=new vt()[_0x3879d6(0x1b3)](_0x3f1698,_0x185863['startPanelThk'],_0x185863[_0x3879d6(0x2ec)],_0x33bbde,_0x185863[_0x3879d6(0x1f5)],_0x185863['sizerefedg1'],_0x185863[_0x3879d6(0x1c5)],_0x185863[_0x3879d6(0x2a5)],_0x185863[_0x3879d6(0x1dc)]);}_0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x249)](_0x5be84c=>{let _0x47fad9=!0x1;z(_0x5be84c,_0x425ffa=>{const _0x41588b=a1_0x26a9;_0x425ffa[_0x41588b(0x263)]===_0x41588b(0x19c)?_0x425ffa?.['spreadMm']===!0x0&&(_0x47fad9=!0x0):_0x425ffa[_0x41588b(0x263)]===_0x41588b(0x224)&&_0x425ffa[_0x41588b(0x1ae)]['type']===_0x41588b(0x19c)&&(_0x425ffa[_0x41588b(0x1ae)]?.[_0x41588b(0x265)]===!0x0&&(_0x47fad9=!0x0),_0x425ffa[_0x41588b(0x29d)]?.[_0x41588b(0x265)]===!0x0&&(_0x47fad9=!0x0));}),_0x47fad9&&z(_0x5be84c,_0x1d9dae=>{const _0x238f4a=a1_0x26a9;_0x1d9dae['type']===_0x238f4a(0x19c)?_0x1d9dae['hasMillimeterSuffix']=!0x0:_0x1d9dae['type']==='BinaryExpression'&&(_0x1d9dae[_0x238f4a(0x1ae)][_0x238f4a(0x263)]===_0x238f4a(0x19c)&&(_0x1d9dae[_0x238f4a(0x1ae)][_0x238f4a(0x32f)]=!0x0),_0x1d9dae[_0x238f4a(0x29d)][_0x238f4a(0x263)]===_0x238f4a(0x19c)&&(_0x1d9dae['right'][_0x238f4a(0x32f)]=!0x0));});});let _0x421964=0x0;const _0x500845=_0x5b970e=>{const _0x1ba39f=_0x3879d6;if(_0x33bbde&&_0x5b970e[_0x1ba39f(0x263)]==='Section'&&(_0x421964+=_0x33bbde),_0x5b970e[_0x1ba39f(0x263)]===_0x1ba39f(0x19c))_0x5b970e['hasMillimeterSuffix']===!0x0&&(_0x421964+=_0x5b970e[_0x1ba39f(0x29e)]);else{if(_0x5b970e[_0x1ba39f(0x263)]===_0x1ba39f(0x224)){const _0x4856b2=_0x5b970e;_0x4856b2[_0x1ba39f(0x1ae)][_0x1ba39f(0x263)]===_0x1ba39f(0x19c)&&_0x4856b2[_0x1ba39f(0x29d)][_0x1ba39f(0x263)]===_0x1ba39f(0x19c)&&(_0x4856b2[_0x1ba39f(0x1ae)][_0x1ba39f(0x32f)]===!0x0&&(_0x421964+=_0x4856b2[_0x1ba39f(0x1ae)][_0x1ba39f(0x29e)]),_0x4856b2[_0x1ba39f(0x29d)][_0x1ba39f(0x32f)]===!0x0&&(_0x421964+=_0x4856b2[_0x1ba39f(0x29d)][_0x1ba39f(0x29e)]));}}};if(_0x3f1698[_0x3879d6(0x1fb)]['forEach'](_0x2e4058=>z(_0x2e4058,_0x500845)),_0x421964>_0x38383d)throw new b(_0x3879d6(0x1da));let _0x4e2447=_0x38383d-_0x421964+_0x33bbde,_0x43ae57=0x0;const _0xb56a4b=_0x564bcf=>{const _0x561760=_0x3879d6;if(_0x564bcf[_0x561760(0x263)]===_0x561760(0x224)){const _0x1263ca=_0x564bcf;if(_0x1263ca[_0x561760(0x29d)][_0x561760(0x263)]==='NumberLiteral'&&_0x1263ca[_0x561760(0x1ae)]['type']==='SpecialVariable'&&_0x1263ca[_0x561760(0x1ae)][_0x561760(0x293)]==='n'&&_0x1263ca['operator']==='*'){_0x43ae57=Math[_0x561760(0x289)](_0x4e2447/(_0x1263ca[_0x561760(0x29d)]['value']+_0x33bbde));const _0x19df71=(_0x43ae57-0x1)*_0x33bbde,_0x342004=_0x43ae57*_0x1263ca[_0x561760(0x29d)][_0x561760(0x29e)];_0x4e2447+=-_0x19df71-_0x342004;}}};_0x3f1698['sections'][_0x3879d6(0x249)](_0x169faa=>z(_0x169faa,_0xb56a4b));let _0x3ed3f3=0x0;const _0x1ce459=_0x4c3976=>{const _0x21fb2d=_0x3879d6;_0x4c3976[_0x21fb2d(0x263)]===_0x21fb2d(0x224)&&(_0x4c3976[_0x21fb2d(0x1ae)][_0x21fb2d(0x263)]===_0x21fb2d(0x19c)&&_0x4c3976[_0x21fb2d(0x1ae)][_0x21fb2d(0x32f)]===!0x1&&(_0x3ed3f3+=_0x4c3976[_0x21fb2d(0x1ae)][_0x21fb2d(0x29e)]),_0x4c3976[_0x21fb2d(0x29d)][_0x21fb2d(0x263)]==='NumberLiteral'&&_0x4c3976['right']['hasMillimeterSuffix']===!0x1&&(_0x3ed3f3+=_0x4c3976[_0x21fb2d(0x29d)][_0x21fb2d(0x29e)])),_0x4c3976[_0x21fb2d(0x263)]===_0x21fb2d(0x19c)&&_0x4c3976[_0x21fb2d(0x32f)]===!0x1&&(_0x3ed3f3+=_0x4c3976[_0x21fb2d(0x29e)]);};_0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x249)](_0x385718=>{z(_0x385718,_0x1ce459);});const _0x553ffb=_0x4e2447/_0x3ed3f3,_0x293a88=[],_0x4f835a=_0x2544b3=>{const _0x43e317=_0x3879d6;let _0x1a6cf5=0x0,_0xca0fe3=0x0;if(_0x2544b3[_0x43e317(0x263)]===_0x43e317(0x19c))_0x2544b3[_0x43e317(0x32f)]===!0x1&&(_0x1a6cf5+=_0x2544b3[_0x43e317(0x29e)]*_0x553ffb),_0x2544b3['hasMillimeterSuffix']===!0x0&&(_0xca0fe3+=_0x2544b3[_0x43e317(0x29e)]),_0x293a88[_0x43e317(0x287)](Number((_0x1a6cf5+_0xca0fe3)[_0x43e317(0x2e4)](0x2)));else{if(_0x2544b3[_0x43e317(0x263)]===_0x43e317(0x224)&&(_0x2544b3['left']['type']===_0x43e317(0x19c)&&_0x2544b3['right']['type']==='NumberLiteral'&&(_0x2544b3[_0x43e317(0x1ae)]['hasMillimeterSuffix']===!0x1&&(_0x1a6cf5+=_0x2544b3['left'][_0x43e317(0x29e)]*_0x553ffb),_0x2544b3[_0x43e317(0x1ae)]['hasMillimeterSuffix']===!0x0&&(_0xca0fe3+=_0x2544b3[_0x43e317(0x1ae)][_0x43e317(0x29e)]),_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x32f)]===!0x1&&(_0x1a6cf5+=_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x29e)]*_0x553ffb),_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x32f)]===!0x0&&(_0xca0fe3+=_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x29e)]),_0x293a88[_0x43e317(0x287)](Number((_0x1a6cf5+_0xca0fe3)[_0x43e317(0x2e4)](0x2)))),_0x2544b3[_0x43e317(0x1ae)][_0x43e317(0x263)]===_0x43e317(0x269)&&_0x2544b3[_0x43e317(0x1ae)][_0x43e317(0x293)]==='n'&&_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x263)]===_0x43e317(0x19c))){_0xca0fe3+=_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x29e)];for(let _0x301bad=0x0;_0x301bad<_0x43ae57;_0x301bad++)_0x2544b3[_0x43e317(0x29d)][_0x43e317(0x32f)]===!0x0&&_0x293a88[_0x43e317(0x287)](Number(_0xca0fe3[_0x43e317(0x2e4)](0x2)));}}};return _0x3f1698[_0x3879d6(0x1fb)][_0x3879d6(0x249)](_0x297f48=>{z(_0x297f48,_0x4f835a);}),_0x293a88;}catch{return new b(_0x3879d6(0x232));}}},Nt=new pt(),Mt=new mt(),xt=new St(),yt=(_0x2dab5f,_0x5cead8,_0x3eca19,_0x36b6c6)=>{const _0x22801a=a1_0x1683b7;try{const _0x31ebd6=Nt[_0x22801a(0x2a6)](_0x2dab5f),_0x177c0d=Mt[_0x22801a(0x25c)](_0x31ebd6),_0x5dcb7d=xt[_0x22801a(0x19a)](_0x177c0d,{},_0x36b6c6);if(_0x5dcb7d&&!(_0x5dcb7d instanceof b)){const _0x1bc80f=new Tt()[_0x22801a(0x214)](_0x5dcb7d,_0x5cead8,_0x3eca19);if(_0x1bc80f&&_0x1bc80f instanceof b)throw new Error(_0x1bc80f[_0x22801a(0x2af)]);return _0x1bc80f;}return _0x5dcb7d||new b(_0x22801a(0x2b8));}catch(_0x2c28a9){return new b(_0x2c28a9[_0x22801a(0x2af)]);}};function It(_0x176d56){const _0x319c17=a1_0x1683b7,_0x4c9c0a=/^(\d+)\*\{(\d+)\}$/,_0x33d0e5=_0x176d56[_0x319c17(0x256)](_0x4c9c0a);if(_0x33d0e5){const _0x579e74=parseInt(_0x33d0e5[0x1],0xa),_0x862ac5=_0x33d0e5[0x2];return _0x579e74>0x0?Array(_0x579e74)['fill'](_0x862ac5)[_0x319c17(0x2a3)](':'):'';}return _0x176d56;}function _t(_0x2a2fa){const _0x3daac1=a1_0x1683b7,_0x4b23fc=_0x2a2fa[_0x3daac1(0x2bb)]()[_0x3daac1(0x256)](/^(\d+(?:\.\d+)?)\s*\*\s*\{.+\}$/);return _0x4b23fc?Number(_0x4b23fc[0x1]):_0x2a2fa;}function bt(_0x1a091a,_0x14d508,_0x2103fe){const _0x29b666=a1_0x1683b7;let _0x2f6e82=0x0;const {LINDIV1:_0x8474d1,DIVDIR:_0x5abb55,HORDEFTYPE:_0x4005fa,DIVELEM1:_0x3e7634}=_0x1a091a;let _0x1c8c85='width',_0x3c4fa2=!0x1;if(_0x8474d1==='')return{'divisionType':_0x1c8c85,'zone_dimensions':[],'divided_length_list':[]};if(_0x5abb55==='H'){if(_0x4005fa==='W')_0x2f6e82=_0x14d508[_0x29b666(0x27f)],_0x1c8c85='width';else{if(_0x4005fa==='D')_0x2f6e82=_0x14d508[_0x29b666(0x1ee)],_0x1c8c85=_0x29b666(0x1ee);else{if(_0x4005fa==='P'){if(_0x3e7634===0x0||_0x3e7634===0x2)_0x2f6e82=_0x14d508[_0x29b666(0x27f)],_0x1c8c85=_0x29b666(0x27f);else{if(_0x3e7634===0x1||_0x3e7634===0x3)_0x2f6e82=_0x14d508['depth'],_0x1c8c85=_0x29b666(0x1ee);else throw new Error(_0x29b666(0x1d1)+_0x3e7634);}}else throw new Error(_0x29b666(0x25b)+_0x4005fa);}}}else{if(_0x5abb55==='V')_0x2f6e82=_0x14d508[_0x29b666(0x286)],_0x1c8c85='height';else{if(_0x5abb55==='A')_0x2f6e82=_0x14d508[_0x29b666(0x27f)],_0x1c8c85=_0x29b666(0x23d);else{if(_0x5abb55==='I')_0x2f6e82=_0x14d508['width'],_0x1c8c85=_0x29b666(0x24b);else throw new Error(_0x29b666(0x2ab)+_0x5abb55);}}}let _0x30b8ce=[];const _0x2f3eab=It(_0x8474d1);if(_0x1c8c85===_0x29b666(0x24b)){const _0x3a609c=_t(_0x8474d1);_0x30b8ce=Array(_0x3a609c)[_0x29b666(0x1cb)](_0x2f6e82);}else _0x1c8c85===_0x29b666(0x23d)?_0x30b8ce=[_0x2f6e82]:_0x30b8ce=yt(_0x2f3eab,_0x2f6e82,_0x2103fe);if(!Array[_0x29b666(0x2de)](_0x30b8ce))return{'divisionType':_0x1c8c85,'zone_dimensions':[],'divided_length_list':[]};_0x4005fa==='P'&&(_0x3e7634===0x2||_0x3e7634===0x3)&&(_0x3c4fa2=!0x0,_0x30b8ce=[..._0x30b8ce][_0x29b666(0x190)]());const _0x195e43=_0x30b8ce['map'](_0x48eec1=>{const _0x96ad0c=_0x29b666;if(_0x1c8c85===_0x96ad0c(0x27f))return{'width':_0x48eec1,'height':_0x14d508[_0x96ad0c(0x286)],'depth':_0x14d508['depth']};if(_0x1c8c85===_0x96ad0c(0x1ee))return{'width':_0x14d508[_0x96ad0c(0x27f)],'height':_0x14d508[_0x96ad0c(0x286)],'depth':_0x48eec1};if(_0x1c8c85===_0x96ad0c(0x286))return{'width':_0x14d508['width'],'height':_0x48eec1,'depth':_0x14d508['depth']};if(_0x1c8c85==='article'||_0x1c8c85===_0x96ad0c(0x24b))return{'width':_0x14d508[_0x96ad0c(0x27f)],'height':_0x14d508[_0x96ad0c(0x286)],'depth':_0x14d508[_0x96ad0c(0x1ee)]};throw new Error(_0x96ad0c(0x2ab)+_0x5abb55);});return{'isReversed':_0x3c4fa2,'zone_dimensions':_0x195e43,'divisionType':_0x1c8c85,'divided_length_list':_0x30b8ce};}function kt({divisionType:_0x27efa7,parentDimensions:_0x162c41,lengthList:_0x4e65ec,childTREEIDs:_0x587c75,dividerThk:_0x313311}){const _0x4b58ef=a1_0x1683b7,_0x39b0f4=-_0x162c41[_0x4b58ef(0x27f)]/0x2,_0x3bf9c3=-_0x162c41[_0x4b58ef(0x1ee)]/0x2,_0x4c6fb4=-_0x162c41[_0x4b58ef(0x286)]/0x2;return{'childPositions':_0x4e65ec[_0x4b58ef(0x31c)]((_0x2231ae,_0x430ddc,_0x4ef9b3)=>{const _0x23664f=_0x4b58ef;let _0x3d6e1c=0x0,_0x3499fe=0x0,_0x1448d1=0x0,_0x130c2d;return _0x27efa7===_0x23664f(0x27f)?(_0x3d6e1c=_0x39b0f4+_0x2231ae['cumulativeX']+_0x430ddc/0x2,_0x3499fe=0x0,_0x1448d1=0x0,_0x130c2d={'width':_0x430ddc,'height':_0x162c41[_0x23664f(0x286)],'depth':_0x162c41[_0x23664f(0x1ee)]},_0x2231ae[_0x23664f(0x294)]+=_0x430ddc+_0x313311):_0x27efa7===_0x23664f(0x1ee)?(_0x3d6e1c=0x0,_0x3499fe=_0x3bf9c3+_0x2231ae[_0x23664f(0x31d)]+_0x430ddc/0x2,_0x1448d1=0x0,_0x130c2d={'width':_0x162c41[_0x23664f(0x27f)],'height':_0x162c41[_0x23664f(0x286)],'depth':_0x430ddc},_0x2231ae[_0x23664f(0x31d)]+=_0x430ddc+_0x313311):_0x27efa7===_0x23664f(0x24b)||_0x27efa7===_0x23664f(0x23d)?(_0x3d6e1c=0x0,_0x3499fe=0x0,_0x1448d1=0x0,_0x130c2d={'width':_0x430ddc,'height':_0x162c41[_0x23664f(0x286)],'depth':_0x162c41[_0x23664f(0x1ee)]}):(_0x3d6e1c=0x0,_0x3499fe=0x0,_0x1448d1=_0x4c6fb4+_0x2231ae[_0x23664f(0x254)]+_0x430ddc/0x2,_0x130c2d={'width':_0x162c41['width'],'height':_0x430ddc,'depth':_0x162c41[_0x23664f(0x1ee)]},_0x2231ae[_0x23664f(0x254)]+=_0x430ddc+_0x313311),_0x2231ae['positions'][_0x23664f(0x287)]({'x':_0x3d6e1c,'y':_0x3499fe,'z':_0x1448d1,'zone_dims':_0x130c2d,'TREEID':_0x587c75[_0x4ef9b3]}),_0x2231ae;},{'cumulativeX':0x0,'cumulativeY':0x0,'cumulativeZ':0x0,'positions':[]})['positions'],'dividerType':_0x27efa7};}function Dt(_0x5942d5){return{'front':re(Pe(_0x5942d5)),'left':re(Fe(_0x5942d5)),'right':re(Re(_0x5942d5)),'back':re(Ve(_0x5942d5))};}function At(_0x292c60,_0x578aeb,_0x151dec){const _0x4dea75=a1_0x1683b7;return{'front':_0x292c60[_0x4dea75(0x1eb)]?.['thk']||0x0,'right':_0x292c60['right']?.[_0x4dea75(0x23a)]||0x0,'back':_0x292c60[_0x4dea75(0x318)]?.['thk']||0x0,'left':_0x292c60[_0x4dea75(0x1ae)]?.[_0x4dea75(0x23a)]||0x0,'top':_0x578aeb,'bottom':_0x151dec};}function wt(_0x958d7d){const _0x45dade=a1_0x1683b7;return{'front':_0x958d7d[_0x45dade(0x1eb)]?.[_0x45dade(0x329)]||0x0,'right':_0x958d7d[_0x45dade(0x29d)]?.['inset']||0x0,'back':_0x958d7d['back']?.['inset']||0x0,'left':_0x958d7d['left']?.['inset']||0x0};}function Ct(_0x258ccd,_0x510466){const _0x27fd16=a1_0x1683b7;return{'dimensions':{'width':_0x258ccd[_0x27fd16(0x27f)]-_0x510466[_0x27fd16(0x1ae)]-_0x510466[_0x27fd16(0x29d)],'height':_0x258ccd[_0x27fd16(0x286)],'depth':_0x258ccd[_0x27fd16(0x1ee)]-_0x510466[_0x27fd16(0x1eb)]-_0x510466[_0x27fd16(0x318)]},'position':{'x':_0x510466[_0x27fd16(0x1ae)]/0x2-_0x510466['right']/0x2,'y':_0x510466[_0x27fd16(0x1eb)]/0x2-_0x510466[_0x27fd16(0x318)]/0x2,'z':0x0}};}function Lt(_0x3fffb4,_0x490d55){const _0x31a0bd=a1_0x1683b7;return{'dimensions':{'width':_0x3fffb4['dimensions'][_0x31a0bd(0x27f)]-_0x490d55[_0x31a0bd(0x1ae)]-_0x490d55[_0x31a0bd(0x29d)],'height':_0x3fffb4[_0x31a0bd(0x304)][_0x31a0bd(0x286)]-_0x490d55[_0x31a0bd(0x221)]-_0x490d55[_0x31a0bd(0x1fc)],'depth':_0x3fffb4['dimensions']['depth']-_0x490d55[_0x31a0bd(0x1eb)]-_0x490d55[_0x31a0bd(0x318)]},'position':{'x':_0x490d55[_0x31a0bd(0x1ae)]/0x2-_0x490d55['right']/0x2,'y':_0x490d55[_0x31a0bd(0x1eb)]/0x2-_0x490d55[_0x31a0bd(0x318)]/0x2,'z':_0x490d55['bottom']/0x2-_0x490d55[_0x31a0bd(0x221)]/0x2}};}function Ot(_0xd2951a,_0x347624,_0x16541d,_0x3dd62c){const _0x1e0561=a1_0x1683b7;return _0x347624[_0x1e0561(0x2eb)]?kt({'divisionType':_0x347624[_0x1e0561(0x2eb)],'parentDimensions':_0xd2951a,'lengthList':_0x347624[_0x1e0561(0x1f8)],'childTREEIDs':_0x3dd62c,'dividerThk':Number(_0x16541d)||0x0}):{'childPositions':[],'dividerType':'height'};}function Pt(_0x5adffe,_0x202e54,_0x59406b,_0x4eb81e){const _0x31892a=a1_0x1683b7;if(!_0x59406b)return{'childPositions':[],'dividerType':_0x31892a(0x286)};const _0x1e682e=bt(_0x59406b,_0x5adffe[_0x31892a(0x304)],_0x202e54);return _0x4eb81e=_0x1e682e[_0x31892a(0x2ff)]?_0x4eb81e[_0x31892a(0x190)]():_0x4eb81e,Ot(_0x5adffe[_0x31892a(0x304)],_0x1e682e,_0x202e54,_0x4eb81e);}function ze(_0x2f0893,_0x194d0c,_0x497196=0x0,_0x58c93a=0x0){const _0x23e150=_0x2f0893/0x2,_0x1719a9=_0x194d0c/0x2,_0x178d50=[{'x':_0x23e150,'y':-_0x1719a9},{'x':-_0x23e150,'y':-_0x1719a9},{'x':-_0x23e150+_0x497196,'y':_0x1719a9},{'x':_0x23e150-_0x58c93a,'y':_0x1719a9}];return{'points':_0x178d50,get 'svgPath'(){const _0x3f749d=a1_0x26a9;return'M\x20'+_0x178d50['map'](_0x2e9425=>_0x2e9425['x']+','+_0x2e9425['y'])[_0x3f749d(0x2a3)](_0x3f749d(0x28d))+'\x20Z';},get 'shape'(){const _0x59a1df=a1_0x26a9,_0x5b4b71=new a1_0x3702a0();return _0x178d50[_0x59a1df(0x249)]((_0x48231a,_0xc47c8f)=>_0xc47c8f===0x0?_0x5b4b71[_0x59a1df(0x278)](_0x48231a['x'],_0x48231a['y']):_0x5b4b71[_0x59a1df(0x305)](_0x48231a['x'],_0x48231a['y'])),_0x5b4b71;}};}function H({length:_0x56c61e,width:_0xc38363,thk:_0x4cfb38,material:_0x3047fe=a1_0x1683b7(0x1f1),opacity:_0x10b1d5=0.2,isSelected:_0x47f8fb=!0x1,isHovered:_0x1a2973=!0x1,onClick:_0x452b72,onPointerEnter:_0x4d6a81,onPointerLeave:_0x44e6e6,startPanelThk:_0x4b73e8=0x0,endPanelThk:_0x4d8e4b=0x0}){const _0x375164=a1_0x1683b7,_0xaf4ea2=_0x47f8fb?'#ff6b00':_0x1a2973?_0x375164(0x261):_0x3047fe,_0x471aa3=_0x47f8fb?0.8:_0x1a2973?0.6:_0x10b1d5,_0x31417d=a1_0x3e46c7(()=>{const _0x56c6ba=_0x375164;if(_0x4b73e8!==0x0||_0x4d8e4b!==0x0){const {shape:_0x331f19}=ze(_0xc38363,_0x4cfb38,_0x4b73e8,_0x4d8e4b),_0x5aa7bc=new a1_0xdc039f(_0x331f19,{'depth':_0x56c61e/S,'bevelEnabled':!0x1,'steps':0x1});return _0x5aa7bc[_0x56c6ba(0x22e)](),_0x5aa7bc['rotateZ'](-Math['PI']/0x2),_0x5aa7bc[_0x56c6ba(0x271)](Math['PI']/0x2),_0x5aa7bc;}else return new a1_0x2fc4f1(_0x56c61e/S,_0xc38363/S,_0x4cfb38/S);},[_0x56c61e,_0xc38363,_0x4cfb38,_0x4b73e8,_0x4d8e4b]);return a1_0x43a753(_0x375164(0x207),{'rotation':[0x0,0x0,0x0],'children':a1_0x5e2e91(_0x375164(0x29c),{'geometry':_0x31417d,'onClick':_0x452b72,'onPointerEnter':_0x4d6a81,'onPointerLeave':_0x44e6e6,'children':[a1_0x43a753(_0x375164(0x21f),{'color':_0xaf4ea2,'opacity':_0x471aa3,'transparent':!0x0}),a1_0x43a753(a1_0x3a3a74,{'color':_0x47f8fb?_0x375164(0x30c):_0x1a2973?'#0066ff':_0x375164(0x244)})]})});}function U({dim_x:_0x564703,dim_y:_0x58a40b,fill:_0x21b567=a1_0x1683b7(0x241),text:_0x58bbad='',stroke_width:_0x57e767=0x2,rotate:_0x59d14e=0x0,isSelected:_0x23ff34=!0x1,isHovered:_0x4a66b5=!0x1,onClick:_0x33dd32,onMouseEnter:_0x45bd6d,onMouseLeave:_0x3864eb,startPanelThk:_0x3330d2=0x0,endPanelThk:_0x1b4d66=0x0}){const _0x3d33b4=a1_0x1683b7,{svgPath:_0x42a1eb}=ze(_0x564703,_0x58a40b,_0x3330d2,_0x1b4d66),_0x4bf931=_0x23ff34?_0x3d33b4(0x30c):_0x4a66b5?_0x3d33b4(0x261):_0x3d33b4(0x244),_0x533d40=_0x23ff34?_0x57e767*0x2:_0x4a66b5?_0x57e767*1.5:_0x57e767,_0x9f0d9=_0x23ff34?0.8:_0x4a66b5?0.7:0.5;return a1_0x5e2e91('g',{'transform':'rotate('+_0x59d14e+')','children':[a1_0x43a753(_0x3d33b4(0x20a),{'d':_0x42a1eb,'stroke':_0x4bf931,'strokeWidth':_0x533d40,'fill':_0x21b567,'strokeLinejoin':_0x3d33b4(0x210),'strokeMiterlimit':'1','opacity':_0x9f0d9,'onClick':_0x33dd32,'onMouseEnter':_0x45bd6d,'onMouseLeave':_0x3864eb,'style':{'cursor':_0x33dd32?_0x3d33b4(0x21d):_0x3d33b4(0x26c)}}),a1_0x43a753(_0x3d33b4(0x189),{'transform':_0x3d33b4(0x22b),'x':0x0,'y':0x0,'textAnchor':_0x3d33b4(0x1a4),'dominantBaseline':_0x3d33b4(0x1a4),'fontSize':0xa,'children':_0x58bbad})]});}function q(_0x131922){const _0x9f7860=a1_0x1683b7,_0x1d4bac=a1_0x5c5dc0(F);if(!_0x1d4bac)throw new Error(_0x9f7860(0x2fd));const {selectedElem:_0xeb6832,setSelectedElem:_0x43ea7b,hoveredElem:_0x29910d,setHoveredElem:_0x2686fe}=_0x1d4bac,_0x4b2591=_0xeb6832===_0x131922;return{'isSelected':_0x4b2591,'isHovered':_0x29910d===_0x131922,'handleClick':()=>{_0x43ea7b(_0x4b2591?null:_0x131922);},'handleMouseEnter':()=>{_0x2686fe(_0x131922);},'handleMouseLeave':()=>{_0x2686fe(null);}};}function Rt({TREEID:_0x106951,dimension:_0x15bd03,view:_0x1a4876,helper:_0x171922}){const _0x152a83=a1_0x1683b7,_0x4ab504=_0x171922['front'],_0x2fbcef=a1_0x5c5dc0(F),{isSelected:_0x3520bd,isHovered:_0x6fdd57,handleClick:_0x5f4320,handleMouseEnter:_0xf05c80,handleMouseLeave:_0x1b463b}=q(_0x106951);if(!_0x4ab504||!_0x2fbcef)return;const {CPNAME:_0x4c4041}=_0x4ab504;if(!_0x4c4041)return null;const {elmTrimThk:_0x69f5f5}=_0x4ab504,_0x2d8f23=_0x171922[_0x152a83(0x1ae)]?.[_0x152a83(0x23a)],_0x3e252a=_0x171922['right']?.[_0x152a83(0x23a)],_0x440df0=(_0x4ab504['trim'][_0x152a83(0x279)]==='S'?_0x2d8f23:0x0)??0x0,_0x29a3fd=(_0x4ab504['trim'][_0x152a83(0x2d1)]==='S'?_0x3e252a:0x0)??0x0,_0x357b99=(_0x4ab504['trim'][_0x152a83(0x279)]==='M'?_0x2d8f23:0x0)??0x0,_0x3cdc9a=(_0x4ab504['trim'][_0x152a83(0x2d1)]==='M'?_0x3e252a:0x0)??0x0,_0x4bcc2b=_0x15bd03[_0x152a83(0x286)]-_0x69f5f5[_0x152a83(0x221)]-_0x69f5f5[_0x152a83(0x1fc)]+_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x221)]+_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x1fc)],_0x442232=_0x15bd03[_0x152a83(0x27f)]-_0x440df0-_0x29a3fd+_0x4ab504[_0x152a83(0x1fe)]['start']+_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x2d1)],_0x28786b=_0x4ab504['thk'],_0x219827=-(_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x279)]/0x2-_0x4ab504[_0x152a83(0x1fe)]['end']/0x2-_0x440df0/0x2+_0x29a3fd/0x2),_0x3e67e2=_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x1fc)]/0x2-_0x4ab504[_0x152a83(0x1fe)][_0x152a83(0x221)]/0x2+_0x69f5f5[_0x152a83(0x1fc)]/0x2-_0x69f5f5[_0x152a83(0x221)]/0x2,_0xef4868=-(_0x15bd03[_0x152a83(0x1ee)]/0x2-_0x28786b/0x2);return _0x1a4876===M[_0x152a83(0x1ec)]?a1_0x43a753('group',{'position':[_0x219827/S,_0xef4868/S,_0x3e67e2/S],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':a1_0x43a753(H,{'length':_0x4bcc2b,'width':_0x442232,'thk':_0x28786b,'treeId':_0x106951,'isSelected':_0x3520bd,'isHovered':_0x6fdd57,'onClick':_0x5f4320,'onPointerEnter':_0xf05c80,'onPointerLeave':_0x1b463b,'startPanelThk':_0x357b99,'endPanelThk':_0x3cdc9a})}):a1_0x43a753('g',{'transform':_0x152a83(0x182)+_0x219827+','+(_0x1a4876===M['_2D_TOP']?_0xef4868:_0x3e67e2)+')\x20rotate(0)','children':a1_0x43a753(U,{'dim_x':_0x442232,'dim_y':_0x1a4876===M[_0x152a83(0x303)]?_0x28786b:_0x4bcc2b,'text':_0x152a83(0x238)+_0x4bcc2b+_0x152a83(0x198)+_0x442232+_0x152a83(0x198)+_0x28786b,'treeId':_0x106951,'isSelected':_0x3520bd,'isHovered':_0x6fdd57,'onClick':_0x5f4320,'onMouseEnter':_0xf05c80,'onMouseLeave':_0x1b463b,'startPanelThk':_0x1a4876===M[_0x152a83(0x303)]?_0x357b99:0x0,'endPanelThk':_0x1a4876===M[_0x152a83(0x303)]?_0x3cdc9a:0x0})});}const Q=({view:_0xdd4fe1=M[a1_0x1683b7(0x1ec)],position:_0x48bedb=[0x0,0x0,0x0],rotation:_0x50c7f9=[0x0,0x0,0x0],children:_0x4ef35b})=>{const _0x49b683=a1_0x1683b7;if(_0xdd4fe1===M['_3D'])return a1_0x43a753(_0x49b683(0x207),{'position':[_0x48bedb[0x0]/S,_0x48bedb[0x1]/S,_0x48bedb[0x2]/S],'rotation':_0x50c7f9,'children':_0x4ef35b});const _0x5d4475=_0x48bedb[0x0],_0xb160cf=_0xdd4fe1===M[_0x49b683(0x303)]?_0x48bedb[0x1]:_0x48bedb[0x2],_0x479b53=_0x50c7f9[0x2]*(0xb4/Math['PI']);return a1_0x43a753('g',{'transform':_0x49b683(0x182)+_0x5d4475+','+_0xb160cf+_0x49b683(0x2b3)+_0x479b53+')','children':_0x4ef35b});};function Vt({TREEID:_0x3ef08c,dimension:_0x1cd476,view:_0x3f7a0f,helper:_0x1d4a60}){const _0x38eb67=a1_0x1683b7,_0x70c208=_0x1d4a60[_0x38eb67(0x1ae)],_0xd9b2a2=a1_0x5c5dc0(F),{isSelected:_0x196311,isHovered:_0x349a4c,handleClick:_0x1fbe97,handleMouseEnter:_0x1f5d5e,handleMouseLeave:_0x2a1190}=q(_0x3ef08c);if(!_0x70c208||!_0xd9b2a2)return;const {CPNAME:_0x523f7f}=_0x70c208;if(!_0x523f7f)return null;const {elmTrimThk:_0x4bd924}=_0x70c208,_0x504fd6=_0x1d4a60['back']?.['thk'],_0x2af11e=_0x1d4a60[_0x38eb67(0x1eb)]?.[_0x38eb67(0x23a)],_0x15e490=(_0x70c208[_0x38eb67(0x2bb)][_0x38eb67(0x279)]==='S'?_0x504fd6:0x0)??0x0,_0x556afe=(_0x70c208[_0x38eb67(0x2bb)][_0x38eb67(0x2d1)]==='S'?_0x2af11e:0x0)??0x0,_0x4ac493=(_0x70c208[_0x38eb67(0x2bb)][_0x38eb67(0x279)]==='M'?_0x504fd6:0x0)??0x0,_0x1502e6=(_0x70c208[_0x38eb67(0x2bb)]['end']==='M'?_0x2af11e:0x0)??0x0,_0x381afd=_0x1cd476[_0x38eb67(0x286)]-_0x4bd924['top']-_0x4bd924[_0x38eb67(0x1fc)]+_0x70c208[_0x38eb67(0x1fe)][_0x38eb67(0x221)]+_0x70c208[_0x38eb67(0x1fe)][_0x38eb67(0x1fc)],_0x244961=_0x1cd476[_0x38eb67(0x1ee)]-_0x15e490-_0x556afe+_0x70c208[_0x38eb67(0x1fe)][_0x38eb67(0x279)]+_0x70c208[_0x38eb67(0x1fe)]['end'],_0x2efa36=_0x70c208['thk'],_0x42620f=-(_0x1cd476['width']/0x2-_0x2efa36/0x2),_0x225898=_0x70c208['oversize']['start']/0x2-_0x70c208[_0x38eb67(0x1fe)][_0x38eb67(0x2d1)]/0x2-_0x15e490/0x2+_0x556afe/0x2,_0x4e9153=_0x70c208['oversize'][_0x38eb67(0x1fc)]/0x2-_0x70c208[_0x38eb67(0x1fe)][_0x38eb67(0x221)]/0x2+_0x4bd924[_0x38eb67(0x1fc)]/0x2-_0x4bd924[_0x38eb67(0x221)]/0x2;return _0x3f7a0f===M[_0x38eb67(0x1ec)]?a1_0x43a753(_0x38eb67(0x207),{'position':[_0x42620f/S,_0x225898/S,_0x4e9153/S],'rotation':[0x0,-Math['PI']/0x2,0x0],'children':a1_0x43a753(H,{'length':_0x381afd,'width':_0x244961,'thk':_0x2efa36,'treeId':_0x3ef08c,'isSelected':_0x196311,'isHovered':_0x349a4c,'onClick':_0x1fbe97,'onPointerEnter':_0x1f5d5e,'onPointerLeave':_0x2a1190,'startPanelThk':_0x4ac493,'endPanelThk':_0x1502e6})}):a1_0x43a753('g',{'transform':'translate('+_0x42620f+','+(_0x3f7a0f===M[_0x38eb67(0x303)]?_0x225898:_0x4e9153)+_0x38eb67(0x242),'children':a1_0x43a753(U,{'dim_x':_0x3f7a0f===M['_2D_TOP']?_0x244961:_0x381afd,'dim_y':_0x2efa36,'text':'left\x20'+_0x381afd+'\x20x\x20'+_0x244961+_0x38eb67(0x198)+_0x2efa36,'treeId':_0x3ef08c,'rotate':0xb4,'isSelected':_0x196311,'isHovered':_0x349a4c,'onClick':_0x1fbe97,'onMouseEnter':_0x1f5d5e,'onMouseLeave':_0x2a1190,'startPanelThk':_0x3f7a0f===M['_2D_TOP']?_0x4ac493:0x0,'endPanelThk':_0x3f7a0f===M[_0x38eb67(0x303)]?_0x1502e6:0x0})});}function Ft({TREEID:_0x4ebc5d,dimension:_0x12ed9b,view:_0x58c7e1,helper:_0x388d30}){const _0x59799d=a1_0x1683b7,_0x3cd204=_0x388d30['back'],_0x2a4db1=a1_0x5c5dc0(F),{isSelected:_0x4941cc,isHovered:_0x235d38,handleClick:_0x358980,handleMouseEnter:_0x5382b4,handleMouseLeave:_0x2b3bca}=q(_0x4ebc5d);if(!_0x3cd204||!_0x2a4db1)return;const {CPNAME:_0x2f2f67}=_0x3cd204;if(!_0x2f2f67)return null;const {elmTrimThk:_0x4e73e9}=_0x3cd204,_0x12c609=_0x388d30[_0x59799d(0x29d)]?.[_0x59799d(0x23a)],_0x20baeb=_0x388d30[_0x59799d(0x1ae)]?.[_0x59799d(0x23a)],_0x22dc48=(_0x3cd204[_0x59799d(0x2bb)]['start']==='S'?_0x12c609:0x0)??0x0,_0x40b3f7=(_0x3cd204[_0x59799d(0x2bb)]['end']==='S'?_0x20baeb:0x0)??0x0,_0x23cb43=(_0x3cd204[_0x59799d(0x2bb)][_0x59799d(0x279)]==='M'?_0x12c609:0x0)??0x0,_0x1f9229=(_0x3cd204[_0x59799d(0x2bb)][_0x59799d(0x2d1)]==='M'?_0x20baeb:0x0)??0x0,_0x1d71b7=_0x12ed9b[_0x59799d(0x286)]-_0x4e73e9['top']-_0x4e73e9[_0x59799d(0x1fc)]+_0x3cd204[_0x59799d(0x1fe)]['top']+_0x3cd204['oversize']['bottom'],_0x4205df=_0x12ed9b['width']-_0x22dc48-_0x40b3f7+_0x3cd204[_0x59799d(0x1fe)][_0x59799d(0x279)]+_0x3cd204[_0x59799d(0x1fe)]['end'],_0x3bea7=_0x3cd204[_0x59799d(0x23a)],_0x55f1b0=_0x3cd204[_0x59799d(0x1fe)][_0x59799d(0x279)]/0x2-_0x3cd204[_0x59799d(0x1fe)][_0x59799d(0x2d1)]/0x2-_0x22dc48/0x2+_0x40b3f7/0x2,_0x5f0fbe=_0x12ed9b[_0x59799d(0x1ee)]/0x2-_0x3bea7/0x2,_0xa807d3=_0x3cd204[_0x59799d(0x1fe)][_0x59799d(0x1fc)]/0x2-_0x3cd204[_0x59799d(0x1fe)]['top']/0x2+_0x4e73e9[_0x59799d(0x1fc)]/0x2-_0x4e73e9[_0x59799d(0x221)]/0x2;return _0x58c7e1===M[_0x59799d(0x1ec)]?a1_0x5e2e91(_0x59799d(0x207),{'position':[_0x55f1b0/S,_0x5f0fbe/S,_0xa807d3/S],'rotation':[Math['PI']/0x2,Math['PI'],Math['PI']/0x2],'children':[a1_0x43a753(H,{'length':_0x1d71b7,'width':_0x4205df,'thk':_0x3bea7,'treeId':_0x4ebc5d,'isSelected':_0x4941cc,'isHovered':_0x235d38,'onClick':_0x358980,'onPointerEnter':_0x5382b4,'onPointerLeave':_0x2b3bca,'startPanelThk':_0x23cb43,'endPanelThk':_0x1f9229}),a1_0x43a753(a1_0x3c68ce,{'position':[0x0,0x0,0x0],'color':_0x59799d(0x32e),'fontSize':0x14,'children':_0x4ebc5d})]}):a1_0x43a753('g',{'transform':_0x59799d(0x182)+_0x55f1b0+','+(_0x58c7e1===M[_0x59799d(0x303)]?_0x5f0fbe:_0xa807d3)+_0x59799d(0x1aa),'children':a1_0x43a753(U,{'dim_x':_0x4205df,'dim_y':_0x58c7e1===M[_0x59799d(0x303)]?_0x3bea7:_0x1d71b7,'text':_0x59799d(0x2f9)+_0x1d71b7+_0x59799d(0x198)+_0x4205df+'\x20x\x20'+_0x3bea7,'treeId':_0x4ebc5d,'isSelected':_0x4941cc,'rotate':0xb4,'isHovered':_0x235d38,'onClick':_0x358980,'onMouseEnter':_0x5382b4,'onMouseLeave':_0x2b3bca,'startPanelThk':_0x58c7e1===M[_0x59799d(0x303)]?_0x23cb43:0x0,'endPanelThk':_0x58c7e1===M[_0x59799d(0x303)]?_0x1f9229:0x0})});}function $t({TREEID:_0x3b380d,dimension:_0x23391a,view:_0x813a66,helper:_0x5f412a}){const _0x48d102=a1_0x1683b7,_0x25ec44=_0x5f412a[_0x48d102(0x29d)],_0x2bf2e6=a1_0x5c5dc0(F),{isSelected:_0x374a85,isHovered:_0xeaee8e,handleClick:_0x496a91,handleMouseEnter:_0x4e1762,handleMouseLeave:_0x39fc7f}=q(_0x3b380d);if(!_0x25ec44||!_0x2bf2e6)return;const {CPNAME:_0x209415}=_0x25ec44;if(!_0x209415)return null;const {elmTrimThk:_0x1e8d94}=_0x25ec44,_0x27820b=_0x5f412a['front']?.['thk'],_0x58aaca=_0x5f412a[_0x48d102(0x318)]?.[_0x48d102(0x23a)],_0x4ff5f8=(_0x25ec44[_0x48d102(0x2bb)][_0x48d102(0x279)]==='S'?_0x27820b:0x0)??0x0,_0x38f736=(_0x25ec44[_0x48d102(0x2bb)][_0x48d102(0x2d1)]==='S'?_0x58aaca:0x0)??0x0,_0x460366=(_0x25ec44[_0x48d102(0x2bb)][_0x48d102(0x279)]==='M'?_0x27820b:0x0)??0x0,_0x4e6b04=(_0x25ec44[_0x48d102(0x2bb)][_0x48d102(0x2d1)]==='M'?_0x58aaca:0x0)??0x0,_0x49c8d7=_0x23391a['height']-_0x1e8d94['top']-_0x1e8d94[_0x48d102(0x1fc)]+_0x25ec44[_0x48d102(0x1fe)][_0x48d102(0x221)]+_0x25ec44[_0x48d102(0x1fe)]['bottom'],_0x3945cd=_0x23391a[_0x48d102(0x1ee)]-_0x4ff5f8-_0x38f736+_0x25ec44[_0x48d102(0x1fe)][_0x48d102(0x279)]+_0x25ec44[_0x48d102(0x1fe)][_0x48d102(0x2d1)],_0x551bd9=_0x25ec44['thk'],_0x1df35b=_0x23391a['width']/0x2-_0x551bd9/0x2,_0xd72d6c=-(_0x25ec44['oversize'][_0x48d102(0x279)]/0x2-_0x25ec44['oversize'][_0x48d102(0x2d1)]/0x2-_0x4ff5f8/0x2+_0x38f736/0x2),_0x2c2cf7=_0x25ec44[_0x48d102(0x1fe)][_0x48d102(0x1fc)]/0x2+_0x25ec44[_0x48d102(0x1fe)][_0x48d102(0x221)]/0x2+_0x1e8d94[_0x48d102(0x1fc)]/0x2-_0x1e8d94[_0x48d102(0x221)]/0x2;return _0x813a66===M['_3D']?a1_0x43a753('group',{'position':[_0x1df35b/S,_0xd72d6c/S,_0x2c2cf7/S],'rotation':[0x0,Math['PI']/0x2,Math['PI']],'children':a1_0x43a753(H,{'length':_0x49c8d7,'width':_0x3945cd,'thk':_0x551bd9,'treeId':_0x3b380d,'isSelected':_0x374a85,'isHovered':_0xeaee8e,'onClick':_0x496a91,'onPointerEnter':_0x4e1762,'onPointerLeave':_0x39fc7f,'startPanelThk':_0x460366,'endPanelThk':_0x4e6b04})}):a1_0x43a753('g',{'transform':'translate('+_0x1df35b+','+(_0x813a66===M[_0x48d102(0x303)]?_0xd72d6c:_0x2c2cf7)+_0x48d102(0x242),'children':a1_0x43a753(U,{'dim_x':_0x813a66===M[_0x48d102(0x303)]?_0x3945cd:_0x49c8d7,'dim_y':_0x551bd9,'text':_0x48d102(0x328)+_0x49c8d7+'\x20x\x20'+_0x3945cd+_0x48d102(0x198)+_0x551bd9,'treeId':_0x3b380d,'isSelected':_0x374a85,'isHovered':_0xeaee8e,'onClick':_0x496a91,'onMouseEnter':_0x4e1762,'onMouseLeave':_0x39fc7f,'startPanelThk':_0x813a66===M[_0x48d102(0x303)]?_0x460366:0x0,'endPanelThk':_0x813a66===M[_0x48d102(0x303)]?_0x4e6b04:0x0})});}function zt({TREEID:_0xcd43e3,dimension:_0x1befb4,view:_0x4f6913,helper:_0x1e3021}){const _0x499d4f=a1_0x1683b7,_0x339523=he(_0xcd43e3),_0x8bb586=a1_0x5c5dc0(F),{isSelected:_0xb54472,isHovered:_0x559d27,handleClick:_0x8c44cb,handleMouseEnter:_0x1ae5f1,handleMouseLeave:_0x576cfe}=q(_0xcd43e3);if(!_0x339523||!_0x8bb586)return;const {topShelfCP:_0x2fadd1}=_0x339523;if(!_0x2fadd1)return;const _0x1936c7=(_0x1e3021[_0x499d4f(0x1eb)]?.['trim'][_0x499d4f(0x221)]!=='S'?_0x1e3021['front']?.[_0x499d4f(0x23a)]:0x0)??0x0,_0x53f7bc=(_0x1e3021[_0x499d4f(0x318)]?.['trim'][_0x499d4f(0x221)]!=='S'?_0x1e3021[_0x499d4f(0x318)]?.[_0x499d4f(0x23a)]:0x0)??0x0,_0x360181=(_0x1e3021[_0x499d4f(0x1ae)]?.[_0x499d4f(0x2bb)][_0x499d4f(0x221)]!=='S'?_0x1e3021['left']?.[_0x499d4f(0x23a)]:0x0)??0x0,_0x584305=(_0x1e3021['right']?.[_0x499d4f(0x2bb)][_0x499d4f(0x221)]!=='S'?_0x1e3021[_0x499d4f(0x29d)]?.[_0x499d4f(0x23a)]:0x0)??0x0,_0x57db20=_0x1befb4[_0x499d4f(0x27f)]-_0x360181-_0x584305,_0x3985ea=_0x1befb4[_0x499d4f(0x1ee)]-_0x53f7bc-_0x1936c7,_0x11ba5c=_0x339523['topShelfThk'],_0x8b967d=_0x360181/0x2-_0x584305/0x2,_0x2360c6=-(_0x53f7bc/0x2-_0x1936c7/0x2),_0x461380=_0x1befb4['height']/0x2-_0x11ba5c/0x2;return _0x4f6913===M[_0x499d4f(0x1ec)]?a1_0x43a753(_0x499d4f(0x207),{'position':[_0x8b967d/S,_0x2360c6/S,_0x461380/S],'rotation':[0x0,0x0,0x0],'children':a1_0x43a753(H,{'length':_0x57db20,'width':_0x3985ea,'thk':_0x11ba5c,'opacity':0.8,'treeId':_0xcd43e3,'isSelected':_0xb54472,'isHovered':_0x559d27,'onClick':_0x8c44cb,'onPointerEnter':_0x1ae5f1,'onPointerLeave':_0x576cfe})}):a1_0x43a753('g',{'transform':_0x499d4f(0x182)+_0x8b967d+','+(_0x4f6913===M[_0x499d4f(0x303)]?_0x2360c6:_0x461380)+')','children':a1_0x43a753(U,{'dim_x':_0x57db20,'dim_y':_0x4f6913===M[_0x499d4f(0x303)]?_0x3985ea:_0x11ba5c,'text':_0x499d4f(0x32d)+_0xcd43e3+_0x499d4f(0x202)+_0x57db20+_0x499d4f(0x198)+_0x3985ea+_0x499d4f(0x198)+_0x11ba5c,'treeId':_0xcd43e3,'isSelected':_0xb54472,'isHovered':_0x559d27,'onClick':_0x8c44cb,'onMouseEnter':_0x1ae5f1,'onMouseLeave':_0x576cfe})});}function Gt({TREEID:_0x2f73bf,dimension:_0x18edb6,view:_0x546752,helper:_0x35a689}){const _0x3ce21e=a1_0x1683b7,_0x3675e3=he(_0x2f73bf),_0x18ab19=a1_0x5c5dc0(F),{isSelected:_0x1c1256,isHovered:_0x3ed744,handleClick:_0x4baec9,handleMouseEnter:_0xc8ec53,handleMouseLeave:_0xf7fbf0}=q(_0x2f73bf);if(!_0x3675e3||!_0x18ab19)return;const {bottomShelfCP:_0x579b62}=_0x3675e3;if(!_0x579b62)return;const _0x214e64=(_0x35a689[_0x3ce21e(0x1eb)]?.[_0x3ce21e(0x2bb)]['bottom']!=='S'?_0x35a689[_0x3ce21e(0x1eb)]?.[_0x3ce21e(0x23a)]:0x0)??0x0,_0x19be4f=(_0x35a689[_0x3ce21e(0x318)]?.[_0x3ce21e(0x2bb)][_0x3ce21e(0x1fc)]!=='S'?_0x35a689[_0x3ce21e(0x318)]?.[_0x3ce21e(0x23a)]:0x0)??0x0,_0x2960bc=(_0x35a689[_0x3ce21e(0x1ae)]?.[_0x3ce21e(0x2bb)][_0x3ce21e(0x1fc)]!=='S'?_0x35a689['left']?.[_0x3ce21e(0x23a)]:0x0)??0x0,_0x5e55a7=(_0x35a689[_0x3ce21e(0x29d)]?.[_0x3ce21e(0x2bb)][_0x3ce21e(0x1fc)]!=='S'?_0x35a689[_0x3ce21e(0x29d)]?.[_0x3ce21e(0x23a)]:0x0)??0x0,_0x1fa5e3=_0x18edb6['width']-_0x2960bc-_0x5e55a7,_0x9a184b=_0x18edb6[_0x3ce21e(0x1ee)]-_0x19be4f-_0x214e64,_0x3f4478=_0x3675e3[_0x3ce21e(0x274)],_0x1bfe22=_0x2960bc/0x2-_0x5e55a7/0x2,_0x384a0b=-(_0x19be4f/0x2-_0x214e64/0x2),_0x3380de=-(_0x18edb6[_0x3ce21e(0x286)]/0x2-_0x3f4478/0x2);return _0x546752===M[_0x3ce21e(0x1ec)]?a1_0x43a753(_0x3ce21e(0x207),{'position':[_0x1bfe22/S,_0x384a0b/S,_0x3380de/S],'rotation':[0x0,0x0,0x0],'children':a1_0x43a753(H,{'length':_0x1fa5e3,'width':_0x9a184b,'thk':_0x3f4478,'opacity':0.8,'treeId':_0x2f73bf,'isSelected':_0x1c1256,'isHovered':_0x3ed744,'onClick':_0x4baec9,'onPointerEnter':_0xc8ec53,'onPointerLeave':_0xf7fbf0})}):a1_0x43a753('g',{'transform':_0x3ce21e(0x182)+_0x1bfe22+','+(_0x546752===M[_0x3ce21e(0x303)]?_0x384a0b:_0x3380de)+')','children':a1_0x43a753(U,{'dim_x':_0x1fa5e3,'dim_y':_0x546752===M['_2D_TOP']?_0x9a184b:_0x3f4478,'text':_0x3ce21e(0x298)+_0x1fa5e3+_0x3ce21e(0x198)+_0x9a184b+'\x20x\x20'+_0x3f4478,'treeId':_0x2f73bf,'isSelected':_0x1c1256,'isHovered':_0x3ed744,'onClick':_0x4baec9,'onMouseEnter':_0xc8ec53,'onMouseLeave':_0xf7fbf0})});}function Bt(){const _0x5c7bda=a1_0x1683b7,_0x34a007=a1_0x5c5dc0(we);if(!_0x34a007)throw new Error(_0x5c7bda(0x218));return _0x34a007;}function Ht(_0xa95d6,_0x58369a,_0x3db7cd,_0x1ab6e2={}){const _0x2c6cc1=a1_0x1683b7,{throwOnError:_0x57fadd=!0x1}=_0x1ab6e2;if(!_0xa95d6[_0x2c6cc1(0x230)](_0x58369a))throw new Error(_0x2c6cc1(0x1b6)+_0x58369a+_0x2c6cc1(0x1f7));return a1_0x3e46c7(()=>{const _0x1f75e5=_0x2c6cc1;try{return{'result':_0xa95d6['evaluate'](_0x58369a,_0x3db7cd),'error':null,'success':!0x0};}catch(_0x59c68d){const _0x5d037d=_0x59c68d instanceof Error?_0x59c68d[_0x1f75e5(0x2af)]:_0x1f75e5(0x2ce);if(_0x57fadd)throw _0x59c68d;return{'result':null,'error':_0x5d037d,'success':!0x1};}},[_0xa95d6,_0x58369a,_0x3db7cd,_0x57fadd]);}function ur(_0x34c066,_0x227879,_0x4d7e93){return a1_0x3e46c7(()=>{const _0x4a6406=a1_0x26a9;try{const _0x21002c=_0x34c066[_0x4a6406(0x1c1)](_0x227879,_0x4d7e93);return{'matches':_0x21002c,'error':null,'count':_0x21002c[_0x4a6406(0x22a)]};}catch(_0x10aaf2){const _0x1e2e7e=_0x10aaf2 instanceof Error?_0x10aaf2[_0x4a6406(0x2af)]:_0x4a6406(0x2ce);return{'matches':[],'error':_0x1e2e7e,'count':0x0};}},[_0x34c066,_0x227879,_0x4d7e93]);}const V={'LINEAR_DIVISION':'linear-division','ARTICLE':a1_0x1683b7(0x23d)},G={'STRING':a1_0x1683b7(0x2f8),'DESCRIPTOR':'descriptor'},Ie={'linearDivision':_0x304d12=>_0x304d12['type']===V[a1_0x1683b7(0x24e)],'article':_0x12bdde=>_0x12bdde[a1_0x1683b7(0x263)]===V[a1_0x1683b7(0x212)]},Ut={'string':_0x10c110=>_0x10c110[a1_0x1683b7(0x263)]===V[a1_0x1683b7(0x24e)]&&_0x10c110[a1_0x1683b7(0x1ac)]===G[a1_0x1683b7(0x320)],'descriptor':_0x4a0e07=>_0x4a0e07[a1_0x1683b7(0x263)]===V['LINEAR_DIVISION']&&_0x4a0e07['valueSource']===G['DESCRIPTOR']},le={'string':_0x20013b=>_0x20013b[a1_0x1683b7(0x263)]===V[a1_0x1683b7(0x212)]&&_0x20013b['valueSource']===G['STRING'],'descriptor':_0x3df39b=>_0x3df39b['type']===V[a1_0x1683b7(0x212)]&&_0x3df39b[a1_0x1683b7(0x1ac)]===G[a1_0x1683b7(0x2e5)]},J={'linearDivisionString'(_0x465d71,_0x59970b,_0x1f76eb,_0x595def,_0xaea164,_0x484a69,_0x4aab0a,_0x2c3599){const _0x3aa00d=a1_0x1683b7;return{'TREEID':_0x465d71,'type':V[_0x3aa00d(0x24e)],'valueSource':G['STRING'],'DIVDIR':_0x59970b,'DIVTYPE':_0x1f76eb,'HORDEFTYPE':_0x595def,'LINDIV1':_0xaea164,'DIVELEM1':_0x484a69,'DIVIDER':'','formula':_0x4aab0a,'thickness':_0x2c3599};},'linearDivisionDescriptor'(_0x2f3682,_0x35c358,_0x514950,_0x33037e,_0x175369,_0x106c7f,_0x2bccf0,_0x34f40e){const _0x466fc4=a1_0x1683b7;return{'TREEID':_0x2f3682,'type':V[_0x466fc4(0x24e)],'valueSource':G[_0x466fc4(0x2e5)],'DIVDIR':_0x35c358,'DIVTYPE':_0x514950,'HORDEFTYPE':_0x33037e,'LINDIV1':_0x175369,'DIVELEM1':_0x106c7f,'DIVIDER':'','descriptorName':_0x2bccf0,'thickness':_0x34f40e};},'articleString'(_0x2ef418,_0x57c23b,_0x22f349,_0x4a5e0d,_0x2ec5d7,_0x178257,_0x2aa08b){const _0x56c6e4=a1_0x1683b7;return{'TREEID':_0x2ef418,'type':V[_0x56c6e4(0x212)],'valueSource':G[_0x56c6e4(0x320)],'DIVDIR':_0x57c23b,'DIVTYPE':_0x22f349,'HORDEFTYPE':_0x4a5e0d,'LINDIV1':_0x2ec5d7,'DIVELEM1':_0x178257,'DIVIDER':_0x2aa08b,'articleName':_0x2aa08b};},'articleDescriptor'(_0x5681f8,_0x4c7433,_0x4be156,_0xcdac2b,_0x5907f6,_0x594099,_0x191333){const _0x55e67f=a1_0x1683b7;return{'TREEID':_0x5681f8,'type':V[_0x55e67f(0x212)],'valueSource':G[_0x55e67f(0x2e5)],'DIVDIR':_0x4c7433,'DIVTYPE':_0x4be156,'HORDEFTYPE':_0xcdac2b,'LINDIV1':_0x5907f6,'DIVELEM1':_0x594099,'DIVIDER':_0x191333,'descriptorName':_0x191333};},'fromZoneData'(_0x4fef16,_0x1ede16){const _0x45374b=a1_0x1683b7,_0x2ce40a=_0x2b555c=>_0x2b555c[_0x45374b(0x2bb)]()['startsWith']('#');if(_0x4fef16[_0x45374b(0x1e3)]==='A'){if(_0x2ce40a(_0x4fef16[_0x45374b(0x196)])){const _0x2626c5=_0x4fef16[_0x45374b(0x196)][_0x45374b(0x1f3)]('#','')[_0x45374b(0x2bb)]();return J[_0x45374b(0x18b)](_0x4fef16[_0x45374b(0x2dc)],_0x4fef16[_0x45374b(0x1e3)],_0x4fef16[_0x45374b(0x195)],_0x4fef16[_0x45374b(0x1d8)],_0x4fef16[_0x45374b(0x32a)],_0x4fef16[_0x45374b(0x2fe)],_0x2626c5);}return J[_0x45374b(0x19b)](_0x4fef16['TREEID'],_0x4fef16[_0x45374b(0x1e3)],_0x4fef16['DIVTYPE'],_0x4fef16[_0x45374b(0x1d8)],_0x4fef16['LINDIV1'],_0x4fef16[_0x45374b(0x2fe)],_0x4fef16[_0x45374b(0x196)]);}if(_0x2ce40a(_0x4fef16[_0x45374b(0x32a)])){const _0x56aa87=_0x4fef16[_0x45374b(0x32a)][_0x45374b(0x1f3)]('#','')['trim']();return J[_0x45374b(0x1fa)](_0x4fef16[_0x45374b(0x2dc)],_0x4fef16[_0x45374b(0x1e3)],_0x4fef16[_0x45374b(0x195)],_0x4fef16[_0x45374b(0x1d8)],_0x4fef16[_0x45374b(0x32a)],_0x4fef16[_0x45374b(0x2fe)],_0x56aa87,_0x1ede16);}return J[_0x45374b(0x253)](_0x4fef16[_0x45374b(0x2dc)],_0x4fef16['DIVDIR'],_0x4fef16[_0x45374b(0x195)],_0x4fef16[_0x45374b(0x1d8)],_0x4fef16['LINDIV1'],_0x4fef16[_0x45374b(0x2fe)],_0x4fef16[_0x45374b(0x32a)],_0x1ede16);}};function Zt(_0x1ce2f6){const _0x5c13cc=a1_0x1683b7;if(!_0x1ce2f6)return'width';const _0x55bf2d={0x0:_0x5c13cc(0x27f),0x1:'depth',0x2:_0x5c13cc(0x27f),0x3:_0x5c13cc(0x1ee)};return _0x1ce2f6[_0x5c13cc(0x1e3)]==='V'?'height':_0x1ce2f6['HORDEFTYPE']==='W'?_0x5c13cc(0x27f):_0x1ce2f6[_0x5c13cc(0x1d8)]==='D'?_0x5c13cc(0x1ee):_0x1ce2f6[_0x5c13cc(0x1d8)]==='P'?_0x55bf2d[_0x1ce2f6[_0x5c13cc(0x2fe)]]??_0x5c13cc(0x27f):'width';}function Kt(_0x266496,_0x211d18){return _0x211d18?_0x211d18[_0x266496]:0x0;}function Yt(_0x4c11ee,_0x19474f){const _0x3f624c=a1_0x1683b7,_0x2fbb84=_0x4c11ee;if(Xt(_0x4c11ee))return{'value':_0x4c11ee[_0x3f624c(0x258)]('#')?_0x4c11ee[_0x3f624c(0x17b)](0x1):_0x4c11ee,'original':_0x2fbb84,'isReference':!0x0};if(/^\d+:\d+$/['test'](_0x4c11ee))return{'value':_0x4c11ee,'original':_0x2fbb84,'isReference':!0x1};const {format:_0x6c608,expression:_0x5af4b0,suffix:_0x1bb64f}=jt(_0x4c11ee);let _0x2a1f10=_0x5af4b0;_0x2a1f10=_0x2a1f10[_0x3f624c(0x1f3)](/^\((.+)\)$/,'$1');const _0x3cb013=Ce(_0x2a1f10,{'variableTree':_0x19474f,'allowFunctions':!0x0,'dataType':'FL','silent':!0x0})['value']??_0x5af4b0;let _0x2b25c7;switch(_0x6c608){case _0x3f624c(0x1b9):_0x2b25c7=''+_0x3cb013+_0x1bb64f;break;case _0x3f624c(0x26e):_0x2b25c7=''+_0x1bb64f+_0x3cb013;break;case _0x3f624c(0x243):_0x2b25c7=''+_0x3cb013+_0x1bb64f;break;case _0x3f624c(0x2e8):_0x2b25c7=String(_0x3cb013);break;}return{'value':_0x2b25c7,'original':_0x2fbb84,'isReference':!0x1};}function Wt(_0x49945e,_0x5848e5){const _0x23bb08=a1_0x1683b7;return Yt(_0x49945e,_0x5848e5)[_0x23bb08(0x29e)];}function jt(_0x2b977d){const _0x5bcc65=a1_0x1683b7,_0x2f4189=_0x2b977d[_0x5bcc65(0x2bb)]()[_0x5bcc65(0x1f3)](/^\((.+)\)$/,'$1'),_0x2d85c8=_0x2f4189[_0x5bcc65(0x256)](/^(\d+|n):(.+?)(mm|cm)?$/);if(_0x2d85c8){const [,_0x23cb59,_0x53b2f0,_0x70674a]=_0x2d85c8;return{'format':'ratio:expr','expression':_0x53b2f0[_0x5bcc65(0x2bb)](),'suffix':_0x70674a?_0x23cb59+':'+_0x70674a:_0x23cb59+':'};}const _0x18a2fe=_0x2f4189[_0x5bcc65(0x256)](/^(.+?)(mm|cm)?:(\d+)$/);if(_0x18a2fe){const [,_0x2b5e15,_0x5e0525,_0x41e10d]=_0x18a2fe;return{'format':'expr:ratio','expression':_0x2b5e15[_0x5bcc65(0x2bb)](),'suffix':_0x5e0525?_0x5e0525+':'+_0x41e10d:':'+_0x41e10d};}const _0x370e27=_0x2f4189[_0x5bcc65(0x256)](/^(.+?)(\*)?{(\d+)}$/);if(_0x370e27){const [,_0x516c4a,_0x49eb0f,_0x536e83]=_0x370e27;return{'format':_0x5bcc65(0x243),'expression':_0x516c4a['trim'](),'suffix':_0x49eb0f?'*{'+_0x536e83+'}':'{'+_0x536e83+'}'};}return{'format':_0x5bcc65(0x2e8),'expression':_0x2f4189,'suffix':''};}function Xt(_0x4952b5){const _0x1e754c=a1_0x1683b7;return _0x4952b5[_0x1e754c(0x258)]('#')?!0x0:_0x4952b5[_0x1e754c(0x2d5)]('(')||/[+\-*/]/[_0x1e754c(0x1cc)](_0x4952b5)?!0x1:/^[A-Za-z0-9_-]+$/[_0x1e754c(0x1cc)](_0x4952b5)?!0x0:!/^\d+:\d+$/[_0x1e754c(0x1cc)](_0x4952b5);}function qt({divider:_0x2d1b29,inputData:_0x3c585d}){const _0x397c35=a1_0x1683b7,_0x26ec51=Bt(),{resolveString:_0x4c63ba}=X(),{result:_0x40b0fe,error:_0x4588e7}=Ht(_0x26ec51,_0x2d1b29[_0x397c35(0x2c4)],_0x3c585d,{'throwOnError':!0x1}),_0x3521cd=a1_0x3e46c7(()=>_0x2d1b29?le[_0x397c35(0x2f8)](_0x2d1b29)?_0x2d1b29[_0x397c35(0x225)]:le[_0x397c35(0x1bb)](_0x2d1b29)&&_0x40b0fe?.[_0x397c35(0x1f9)]?_0x40b0fe[_0x397c35(0x1f9)]:'':'',[_0x2d1b29,_0x40b0fe]);return{'updatedDivider':a1_0x3e46c7(()=>{const _0x6d4487=_0x397c35;if(_0x2d1b29)return _0x40b0fe?.['lindiv']!=null?{..._0x2d1b29,'LINDIV1':Wt(_0x4c63ba(_0x40b0fe[_0x6d4487(0x1f9)])),'articleName':_0x3521cd}:{..._0x2d1b29,'LINDIV1':_0x4c63ba(_0x2d1b29[_0x6d4487(0x32a)])};},[_0x2d1b29,_0x40b0fe,_0x3521cd,_0x4c63ba])};}const Jt={'width':{'rotation':[0x0,Math['PI']/0x2,0x0],'get3D':(_0x2bae84,_0x5a9396)=>({'length':_0x2bae84[a1_0x1683b7(0x286)],'width':_0x2bae84['depth'],'thk':_0x5a9396}),'get2DTop':(_0x1bd7b4,_0x43422e)=>({'dim_x':_0x1bd7b4[a1_0x1683b7(0x1ee)],'dim_y':_0x43422e,'rotate':0x5a}),'get2DFront':(_0x403586,_0x485c65)=>({'dim_x':_0x403586[a1_0x1683b7(0x286)],'dim_y':_0x485c65,'rotate':0x5a})},'height':{'rotation':[0x0,0x0,0x0],'get3D':(_0x29be64,_0x877663)=>({'length':_0x29be64[a1_0x1683b7(0x27f)],'width':_0x29be64[a1_0x1683b7(0x1ee)],'thk':_0x877663}),'get2DTop':_0x5437d6=>({'dim_x':_0x5437d6[a1_0x1683b7(0x27f)],'dim_y':_0x5437d6['depth']}),'get2DFront':(_0x26a664,_0x1e3dcb)=>({'dim_x':_0x26a664['width'],'dim_y':_0x1e3dcb})},'depth':{'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'get3D':(_0xc0ca37,_0x58fc60)=>({'length':_0xc0ca37['height'],'width':_0xc0ca37[a1_0x1683b7(0x27f)],'thk':_0x58fc60}),'get2DTop':(_0x484fad,_0x433d5f)=>({'dim_x':_0x484fad[a1_0x1683b7(0x27f)],'dim_y':_0x433d5f}),'get2DFront':_0x19a6be=>({'dim_x':_0x19a6be['width'],'dim_y':_0x19a6be[a1_0x1683b7(0x286)]})},'article':{'rotation':[0x0,0x0,0x0],'get3D':(_0x3830f3,_0x25096e)=>({'length':_0x3830f3[a1_0x1683b7(0x27f)],'width':_0x3830f3['depth'],'thk':_0x25096e}),'get2DTop':_0x9def12=>({'dim_x':_0x9def12[a1_0x1683b7(0x27f)],'dim_y':_0x9def12[a1_0x1683b7(0x1ee)]}),'get2DFront':(_0x405fad,_0x538064)=>({'dim_x':_0x405fad['width'],'dim_y':_0x538064})},'independent':{'rotation':[0x0,0x0,0x0],'get3D':(_0x373b15,_0x378bb1)=>({'length':_0x373b15[a1_0x1683b7(0x27f)],'width':_0x373b15[a1_0x1683b7(0x1ee)],'thk':_0x378bb1}),'get2DTop':_0x1010ea=>({'dim_x':_0x1010ea[a1_0x1683b7(0x27f)],'dim_y':_0x1010ea['depth']}),'get2DFront':(_0xa8fa3d,_0x33ef37)=>({'dim_x':_0xa8fa3d[a1_0x1683b7(0x27f)],'dim_y':_0x33ef37})}},Qt=(_0xcfdd3e,_0x3af3a0,_0x3aafae)=>({'x':_0xcfdd3e===a1_0x1683b7(0x27f)?_0x3aafae['width']/0x2+_0x3af3a0/0x2:0x0,'y':_0xcfdd3e==='depth'?_0x3aafae[a1_0x1683b7(0x1ee)]/0x2+_0x3af3a0/0x2:0x0,'z':_0xcfdd3e===a1_0x1683b7(0x286)?_0x3aafae[a1_0x1683b7(0x286)]/0x2+_0x3af3a0/0x2:0x0});function er({divider:_0x17dab1,view:_0x30af2b,childrenPositon:_0x442a55,dividerThk:_0x4e808f}){const _0xd52641=a1_0x1683b7,_0x5cd027=a1_0x5c5dc0(F),_0x10ecb2=_0x442a55[_0xd52641(0x1ed)],_0x3df508=_0x442a55[_0xd52641(0x2ae)],_0xdb0787=Jt[_0x10ecb2];if(!_0x5cd027)return null;const {selectedElem:_0x1ebf4a,setSelectedElem:_0x2a5a4f,hoveredElem:_0x1ca7e1,setHoveredElem:_0x35d9e0}=_0x5cd027;return _0x3df508[_0xd52641(0x185)]((_0x484836,_0x3374a0)=>{const _0x3a24aa=_0xd52641,_0x2664d0=!(_0x3374a0===_0x3df508[_0x3a24aa(0x22a)]-0x1)&&_0x4e808f!==0x0,_0x1083c1=Qt(_0x10ecb2,_0x4e808f,_0x484836[_0x3a24aa(0x2b1)]),_0x5d3881=_0xdb0787[_0x3a24aa(0x22f)](_0x484836[_0x3a24aa(0x2b1)],_0x4e808f),_0xa0acb9=_0x30af2b===M[_0x3a24aa(0x303)]?_0xdb0787[_0x3a24aa(0x1a9)](_0x484836['zone_dims'],_0x4e808f):_0xdb0787['get2DFront'](_0x484836[_0x3a24aa(0x2b1)],_0x4e808f),_0x31df44=_0x17dab1[_0x3a24aa(0x2dc)]+'\x20divider',_0x2cef34=_0x1ebf4a===_0x31df44,_0x233bdd=_0x1ca7e1===_0x31df44;return a1_0x43a753(a1_0x18e5e3,{'children':a1_0x5e2e91(Q,{'view':_0x30af2b,'position':[_0x484836['x']/S,_0x484836['y']/S,_0x484836['z']/S],'children':[a1_0x43a753(Q,{'view':_0x30af2b,'position':[_0x1083c1['x']/S,_0x1083c1['y']/S,_0x1083c1['z']/S],'rotation':_0xdb0787['rotation'],'children':_0x2664d0&&a1_0x5e2e91(a1_0x4a4895,{'children':[a1_0x43a753(_0x3a24aa(0x207),{'children':a1_0x5e2e91(_0x3a24aa(0x29c),{'children':[a1_0x43a753('boxGeometry',{'args':[_0x5d3881[_0x3a24aa(0x22a)],_0x5d3881['width'],_0x5d3881[_0x3a24aa(0x23a)]]}),a1_0x43a753(_0x3a24aa(0x21f),{'color':_0x3a24aa(0x32e),'transparent':!0x0,'opacity':0.3})]})}),_0x30af2b===M[_0x3a24aa(0x1ec)]?a1_0x43a753(H,{..._0x5d3881,'opacity':0x1,'treeId':_0x31df44,'isSelected':_0x2cef34,'isHovered':_0x233bdd,'onClick':()=>_0x2a5a4f(_0x2cef34?null:_0x31df44),'onPointerEnter':()=>_0x35d9e0(_0x31df44),'onPointerLeave':()=>_0x35d9e0(null)}):a1_0x43a753(U,{..._0xa0acb9,'text':_0x31df44,'treeId':_0x31df44,'isSelected':_0x2cef34,'isHovered':_0x233bdd,'onClick':()=>_0x2a5a4f(_0x2cef34?null:_0x31df44),'onMouseEnter':()=>_0x35d9e0(_0x31df44),'onMouseLeave':()=>_0x35d9e0(null)})]})}),a1_0x43a753(Be,{'TREEID':_0x484836[_0x3a24aa(0x2dc)],'dimension':_0x484836[_0x3a24aa(0x2b1)],'view':_0x30af2b})]})},_0x3374a0);});}function tr({view:_0x4ca6c4,remainingZone:_0x54cc54,articleName:_0xc35f74}){const _0x49b5b1=a1_0x1683b7;return a1_0x43a753(ke,{'articleName':_0xc35f74,'dimensionOverrides':{'width':_0x54cc54['dimensions'][_0x49b5b1(0x27f)],'height':_0x54cc54[_0x49b5b1(0x304)][_0x49b5b1(0x286)],'depth':_0x54cc54['dimensions'][_0x49b5b1(0x1ee)]},'children':a1_0x43a753(Q,{'view':_0x4ca6c4,'position':[_0x54cc54[_0x49b5b1(0x2ac)]['x']/S,_0x54cc54[_0x49b5b1(0x2ac)]['y']/S,_0x54cc54[_0x49b5b1(0x2ac)]['z']/S],'children':a1_0x43a753(He,{'view':_0x4ca6c4})})});}function rr({childrenPositon:_0x5371ec,dividerThk:_0x4eab34,divider:_0x5ab49b,view:_0x2a6f24,remainingZone:_0x174d3f}){const _0x5a86ac=a1_0x1683b7;if(Ie[_0x5a86ac(0x307)](_0x5ab49b))return _0x5371ec?a1_0x43a753(er,{'view':_0x2a6f24,'childrenPositon':_0x5371ec,'dividerThk':_0x4eab34,'divider':_0x5ab49b,'remainingZone':_0x174d3f}):null;if(Ie[_0x5a86ac(0x23d)](_0x5ab49b)){const _0x46ba25=le['string'](_0x5ab49b)?_0x5ab49b[_0x5a86ac(0x225)]:_0x5ab49b[_0x5a86ac(0x32a)];return!_0x174d3f||_0x46ba25===''?null:a1_0x43a753(tr,{'view':_0x2a6f24,'articleName':_0x46ba25,'remainingZone':_0x174d3f});}return null;}function Ge(){const _0x2039ba=a1_0x1683b7,{getArticleData:_0x1728df}=ee(),{articleName:_0x4a3c33,dimensionOverrides:_0x5ed2e8}=te(),{resolveString:_0x15f10e}=X(),{anglPrims:_0x4b0413}=_0x1728df(_0x4a3c33);if(_0x4b0413[_0x2039ba(0x22a)]===0x0)throw new Error(_0x2039ba(0x193)+_0x4a3c33);const _0x1213aa=_0x4b0413[0x0],_0x31c311=(_0x1311cf,_0x15252b)=>{const _0x465c09=_0x2039ba,_0x243c52=typeof _0x1311cf==_0x465c09(0x2f8)&&_0x1311cf!==''?ae(_0x15f10e(_0x1311cf)):_0x15252b;return parseFloat(String(_0x243c52))||0x0;},_0x2bcf1c={'width':_0x5ed2e8?.['width']??_0x31c311(_0x1213aa[_0x2039ba(0x262)],_0x1213aa[_0x2039ba(0x180)]),'height':_0x5ed2e8?.[_0x2039ba(0x286)]??_0x31c311(_0x1213aa[_0x2039ba(0x1f0)],_0x1213aa[_0x2039ba(0x2da)]),'depth':_0x5ed2e8?.[_0x2039ba(0x1ee)]??_0x31c311(_0x1213aa[_0x2039ba(0x2a9)],_0x1213aa[_0x2039ba(0x19d)])};return{'current_prim':_0x1213aa,'prim_dims':_0x2bcf1c};}function Be({TREEID:_0x2f620f,dimension:_0x10c535,view:_0x163de9=M['_3D']}){const _0x2a1745=a1_0x1683b7;console[_0x2a1745(0x1e6)](_0x2a1745(0x2f1)+_0x2f620f+'\x20=====================================');const _0x5bfff0=he(_0x2f620f),_0x4005ea=_0x5bfff0?.[_0x2a1745(0x2b0)](),_0x3379d8=_0x5bfff0?.['dividerThk']||0x0,_0x543a52=Ge(),_0x448ea3=Dt(_0x2f620f),_0x218456=At(_0x448ea3,_0x5bfff0?.[_0x2a1745(0x2e0)]||0x0,_0x5bfff0?.[_0x2a1745(0x274)]||0x0),_0x4b64fc=wt(_0x448ea3),_0x215b71=Ct(_0x10c535,_0x4b64fc),_0x4e5cf9=Lt(_0x215b71,_0x218456),_0xbad40e=a1_0x3e46c7(()=>{const _0x2b04f7=_0x2a1745;if(_0x5bfff0)return J[_0x2b04f7(0x18a)](_0x5bfff0[_0x2b04f7(0x25e)],_0x3379d8);},[_0x5bfff0,_0x3379d8]),_0x47cdb6=_0x4005ea?Object[_0x2a1745(0x19f)](_0x4005ea):{},_0x6bcff6=Zt(_0xbad40e),_0x4ac878=Kt(_0x6bcff6,_0x4e5cf9['dimensions']);_0x47cdb6[_0x2a1745(0x2fb)]=_0x543a52?.['prim_dims'][_0x2a1745(0x27f)][_0x2a1745(0x17c)](),_0x47cdb6[_0x2a1745(0x290)]=_0x543a52?.['prim_dims'][_0x2a1745(0x286)]['toString'](),_0x47cdb6[_0x2a1745(0x2d4)]=_0x543a52?.[_0x2a1745(0x276)][_0x2a1745(0x1ee)][_0x2a1745(0x17c)](),_0x47cdb6[0x0]='0',_0x47cdb6['X']=_0x4ac878[_0x2a1745(0x17c)]();const _0x42fbdf=_0xbad40e?Ut['descriptor'](_0xbad40e):!0x1,_0x7dafce=_0xbad40e?le['descriptor'](_0xbad40e):!0x1,_0x1c49cb=_0x42fbdf||_0x7dafce?qt({'divider':_0xbad40e,'inputData':_0x47cdb6})[_0x2a1745(0x1c7)]:_0xbad40e,_0x2ca3e1=Pt(_0x4e5cf9,_0x3379d8,_0x1c49cb,_0x5bfff0?.['children']['map'](_0x36ad21=>_0x36ad21[_0x2a1745(0x2dc)])||[]);return a1_0x43a753(a1_0x4a4895,{'children':a1_0x5e2e91(Q,{'view':_0x163de9,'position':[_0x215b71[_0x2a1745(0x2ac)]['x']/S,_0x215b71[_0x2a1745(0x2ac)]['y']/S,_0x215b71[_0x2a1745(0x2ac)]['z']/S],'children':[_0x448ea3[_0x2a1745(0x1eb)]?.[_0x2a1745(0x17d)]&&a1_0x43a753(Rt,{'view':_0x163de9,'TREEID':Pe(_0x2f620f),'dimension':_0x215b71[_0x2a1745(0x304)],'helper':_0x448ea3}),_0x448ea3[_0x2a1745(0x1ae)]?.[_0x2a1745(0x17d)]&&a1_0x43a753(Vt,{'view':_0x163de9,'TREEID':Fe(_0x2f620f),'dimension':_0x215b71[_0x2a1745(0x304)],'helper':_0x448ea3}),_0x448ea3[_0x2a1745(0x318)]?.[_0x2a1745(0x17d)]&&a1_0x43a753(Ft,{'view':_0x163de9,'TREEID':Ve(_0x2f620f),'dimension':_0x215b71['dimensions'],'helper':_0x448ea3}),_0x448ea3[_0x2a1745(0x29d)]?.[_0x2a1745(0x17d)]&&a1_0x43a753($t,{'view':_0x163de9,'TREEID':Re(_0x2f620f),'dimension':_0x215b71[_0x2a1745(0x304)],'helper':_0x448ea3}),_0x5bfff0?.['topShelfCP']&&a1_0x43a753(zt,{'view':_0x163de9,'TREEID':_0x2f620f,'dimension':_0x215b71[_0x2a1745(0x304)],'helper':_0x448ea3}),_0x5bfff0?.[_0x2a1745(0x245)]&&a1_0x43a753(Gt,{'view':_0x163de9,'TREEID':_0x2f620f,'dimension':_0x215b71[_0x2a1745(0x304)],'helper':_0x448ea3}),a1_0x43a753(Q,{'view':_0x163de9,'position':[_0x4e5cf9['position']['x']/S,_0x4e5cf9[_0x2a1745(0x2ac)]['y']/S,_0x4e5cf9['position']['z']/S],'children':_0x1c49cb&&a1_0x43a753(rr,{'remainingZone':_0x4e5cf9,'divider':_0x1c49cb,'view':_0x163de9,'childrenPositon':_0x2ca3e1,'dividerThk':_0x3379d8})})]})});}const ir=a1_0x1683b7(0x22b);function He({view:_0x2005dd=M['_3D']}){const _0x52f119=a1_0x1683b7;console[_0x52f119(0x1e6)](_0x52f119(0x178));const _0x58868e=Ge()[_0x52f119(0x276)],_0x40c842=a1_0x43a753(Be,{'TREEID':'0','view':_0x2005dd,'dimension':_0x58868e});return _0x2005dd===M[_0x52f119(0x1ec)]?_0x40c842:a1_0x43a753('g',{'transform':ir,'children':_0x40c842});}function hr({view:_0x564615,data:_0x173db3,articleName:_0xb459ad}){const _0x5187fc=a1_0x1683b7,_0x26690c=_0x173db3[_0x5187fc(0x1d5)],_0x1a8d7b=_0x173db3['variables'],_0x5f5c93=_0x173db3['anglprim'][_0x5187fc(0x185)](_0x233c04=>_0x233c04[_0x5187fc(0x2c8)]);return a1_0x43a753(a1_0x4a4895,{'children':a1_0x43a753(Qe,{'names':_0x5f5c93,'data':_0x173db3,'children':a1_0x43a753(ke,{'articleName':_0xb459ad,'children':a1_0x43a753(tt,{'imosVariables':_0x1a8d7b,'children':a1_0x43a753(lt,{'descriptorData':_0x26690c,'children':a1_0x43a753(He,{'view':_0x564615})})})})})});}function fr(){const _0x22fb0d=a1_0x1683b7,{tree:_0x409760,getValue:_0x5d0df8,setValue:_0x35bf64}=X(),_0x2430cc=(_0x537726,_0x48a35c)=>{const _0x426f9a=Number(_0x48a35c);_0x35bf64(_0x537726,isNaN(_0x426f9a)?_0x48a35c:_0x426f9a);},_0x5836e8=((()=>{const _0x15c39d=a1_0x26a9,_0x32e97d={[O[_0x15c39d(0x267)]]:{'type':O[_0x15c39d(0x267)],'label':_0x15c39d(0x1dd),'variables':[]},[O['Surface']]:{'type':O[_0x15c39d(0x311)],'label':_0x15c39d(0x18e),'variables':[]},[O[_0x15c39d(0x2a2)]]:{'type':O[_0x15c39d(0x2a2)],'label':_0x15c39d(0x1ab),'variables':[]},[O[_0x15c39d(0x1bc)]]:{'type':O[_0x15c39d(0x1bc)],'label':_0x15c39d(0x1bc),'variables':[]}};return Array['from'](_0x409760['entries']())[_0x15c39d(0x249)](([_0xce4131,_0x329078])=>{const _0x5d175c=_0x15c39d,_0x3ebad8=_0x5d0df8(_0xce4131),_0x1627a4=_0x329078[_0x5d175c(0x22c)][_0x5d175c(0x258)]('$');_0x32e97d[_0x329078['TYP']]?.['variables'][_0x5d175c(0x287)]({'name':_0xce4131,'value':_0x3ebad8??_0x5d175c(0x326),'reference':_0x1627a4?_0x329078['WERT']:void 0x0,'rawType':_0x329078[_0x5d175c(0x1f6)]});}),Object[_0x15c39d(0x18c)](_0x32e97d)[_0x15c39d(0x181)](_0x38433e=>_0x38433e[_0x15c39d(0x1f2)]['length']>0x0);})()),_0x646d1=_0x2f7ed5=>{const _0x2b05bc=a1_0x26a9,_0x5aa878=_0x2f7ed5[_0x2b05bc(0x188)]===O['Numeric'],_0x16e1b8=typeof _0x2f7ed5[_0x2b05bc(0x29e)]==_0x2b05bc(0x2bf)?_0x2f7ed5[_0x2b05bc(0x29e)]:Number(_0x2f7ed5[_0x2b05bc(0x29e)]);return _0x5aa878&&!isNaN(_0x16e1b8)?a1_0x5e2e91(_0x2b05bc(0x330),{'className':_0x2b05bc(0x24d),'children':[a1_0x43a753(_0x2b05bc(0x2aa),{'type':_0x2b05bc(0x2e6),'min':0x0,'max':0x4e20,'value':_0x16e1b8,'onChange':_0xa5547a=>_0x2430cc(_0x2f7ed5[_0x2b05bc(0x293)],_0xa5547a[_0x2b05bc(0x204)][_0x2b05bc(0x29e)]),'className':'var-controller__slider'}),a1_0x43a753(_0x2b05bc(0x2aa),{'type':_0x2b05bc(0x2bf),'value':_0x16e1b8,'onChange':_0x52515d=>_0x2430cc(_0x2f7ed5['name'],_0x52515d[_0x2b05bc(0x204)][_0x2b05bc(0x29e)]),'onBlur':_0x376fca=>_0x2430cc(_0x2f7ed5[_0x2b05bc(0x293)],_0x376fca[_0x2b05bc(0x204)][_0x2b05bc(0x29e)]),'className':_0x2b05bc(0x325),'min':0x0,'max':0x4e20})]}):a1_0x43a753('input',{'type':_0x2b05bc(0x189),'value':_0x2f7ed5['value'],'onChange':_0xd75803=>_0x2430cc(_0x2f7ed5['name'],_0xd75803[_0x2b05bc(0x204)][_0x2b05bc(0x29e)]),'onBlur':_0x3a17ef=>_0x2430cc(_0x2f7ed5[_0x2b05bc(0x293)],_0x3a17ef['target'][_0x2b05bc(0x29e)]),'className':_0x2b05bc(0x201)});};return a1_0x5e2e91('div',{'className':_0x22fb0d(0x2a0),'children':[a1_0x43a753('h2',{'children':'Variable\x20Controller'}),a1_0x5e2e91('p',{'className':'var-controller__header','children':[_0x22fb0d(0x1b8),_0x409760[_0x22fb0d(0x2e3)]]}),_0x5836e8[_0x22fb0d(0x185)](_0x2b2f1e=>a1_0x5e2e91(_0x22fb0d(0x1ba),{'className':_0x22fb0d(0x247),'children':[a1_0x5e2e91('h3',{'className':_0x22fb0d(0x2c5),'children':[_0x2b2f1e[_0x22fb0d(0x2e7)],'\x20(',_0x2b2f1e[_0x22fb0d(0x1f2)][_0x22fb0d(0x22a)],')']}),a1_0x5e2e91(_0x22fb0d(0x321),{'className':_0x22fb0d(0x309),'children':[a1_0x43a753(_0x22fb0d(0x292),{'children':a1_0x5e2e91('tr',{'children':[a1_0x43a753('th',{'style':{'width':_0x22fb0d(0x260)},'children':_0x22fb0d(0x25a)}),a1_0x43a753('th',{'style':{'width':_0x22fb0d(0x211)},'children':_0x22fb0d(0x30f)}),a1_0x43a753('th',{'style':{'width':_0x22fb0d(0x260)},'children':_0x22fb0d(0x23c)}),a1_0x43a753('th',{'className':_0x22fb0d(0x22e),'style':{'width':_0x22fb0d(0x197)},'children':_0x22fb0d(0x2a4)})]})}),a1_0x43a753(_0x22fb0d(0x1fd),{'children':_0x2b2f1e[_0x22fb0d(0x1f2)][_0x22fb0d(0x185)](_0x50ddd9=>a1_0x5e2e91('tr',{'children':[a1_0x43a753('td',{'className':_0x22fb0d(0x18d),'children':_0x50ddd9[_0x22fb0d(0x293)]}),a1_0x43a753('td',{'children':_0x646d1(_0x50ddd9)}),a1_0x43a753('td',{'className':_0x22fb0d(0x1e1),'children':_0x50ddd9[_0x22fb0d(0x2f2)]||'-'}),a1_0x43a753('td',{'style':{'textAlign':_0x22fb0d(0x22e)},'children':a1_0x43a753(_0x22fb0d(0x20d),{'className':_0x22fb0d(0x29a),'children':_0x2b2f1e[_0x22fb0d(0x263)]})})]},_0x50ddd9['name']))})]})]},_0x2b2f1e[_0x22fb0d(0x263)])),a1_0x5e2e91('section',{'className':_0x22fb0d(0x216),'children':[a1_0x43a753('h4',{'children':_0x22fb0d(0x22d)}),a1_0x43a753('ul',{'children':_0x5836e8[_0x22fb0d(0x185)](_0x42f826=>a1_0x5e2e91('li',{'children':[_0x42f826['label'],':\x20',_0x42f826[_0x22fb0d(0x1f2)][_0x22fb0d(0x22a)],_0x22fb0d(0x191)]},_0x42f826[_0x22fb0d(0x263)]))})]})]});}const pr=a1_0x1683b7(0x310);export{be as ArticleContext,hr as ArticleDesigner,ke as ArticleProvider,F as DataContext,Qe as DataProvider,we as DescriptorContext,lt as DescriptorProvider,He as Designer,pr as VERSION,M as VIEW,fr as VarController,De as VariableContext,tt as VariableProvider,cr as VariableResolver,Be as Zone,qt as ZoneDescriptor,te as useArticle,ee as useData,Ht as useDescriptorEvaluation,Bt as useDescriptorManager,ur as useDescriptorMatches,X as useVariables};