@processandtools/rp-article-designer 1.0.3 → 1.0.4

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.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x5acb87=a0_0x9d0a;(function(_0x4f4a4f,_0x319cd7){const _0x2c5d97=a0_0x9d0a,_0x46c92c=_0x4f4a4f();while(!![]){try{const _0x55dfc3=-parseInt(_0x2c5d97(0x1c1))/0x1+parseInt(_0x2c5d97(0x1fd))/0x2+-parseInt(_0x2c5d97(0x159))/0x3*(-parseInt(_0x2c5d97(0x1ee))/0x4)+-parseInt(_0x2c5d97(0x2b4))/0x5+-parseInt(_0x2c5d97(0x1e7))/0x6*(-parseInt(_0x2c5d97(0x16e))/0x7)+-parseInt(_0x2c5d97(0x267))/0x8*(-parseInt(_0x2c5d97(0x174))/0x9)+-parseInt(_0x2c5d97(0x293))/0xa*(parseInt(_0x2c5d97(0x1f9))/0xb);if(_0x55dfc3===_0x319cd7)break;else _0x46c92c['push'](_0x46c92c['shift']());}catch(_0xd1bf72){_0x46c92c['push'](_0x46c92c['shift']());}}}(a0_0x45ad,0x97c92));var Ze=Object[a0_0x5acb87(0x256)],Ke=(_0x5b1bf6,_0x1e78b0,_0x1a6b45)=>_0x1e78b0 in _0x5b1bf6?Ze(_0x5b1bf6,_0x1e78b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a6b45}):_0x5b1bf6[_0x1e78b0]=_0x1a6b45,A=(_0x225063,_0x590bce,_0x5562cd)=>Ke(_0x225063,typeof _0x590bce!=a0_0x5acb87(0x12e)?_0x590bce+'':_0x590bce,_0x5562cd);Object[a0_0x5acb87(0x256)](exports,Symbol[a0_0x5acb87(0x283)],{'value':a0_0x5acb87(0x280)});const c=require('react/jsx-runtime'),M=require(a0_0x5acb87(0x259)),De=require(a0_0x5acb87(0x204)),ue=require(a0_0x5acb87(0x1cb)),O=M['createContext'](void 0x0);function ke({data:_0x21ea38,children:_0x203359,names:_0x4069c0}){const _0xba9a8b=a0_0x5acb87,_0x3277cf=_0x21ea38,[_0x4a8be8,_0x1e15c6]=M[_0xba9a8b(0x10b)](_0x3277cf),[_0x435ac0,_0x44d3b2]=M[_0xba9a8b(0x10b)](null),[_0x5b2a04,_0x45b57a]=M[_0xba9a8b(0x10b)](null),_0x39fd94=M[_0xba9a8b(0x113)](_0x15a24a=>({'anglElems':_0x4a8be8[_0xba9a8b(0x2bc)]['filter'](_0x4418d6=>_0x4418d6[_0xba9a8b(0x1b5)]===_0x15a24a),'anglZones':_0x4a8be8[_0xba9a8b(0x218)][_0xba9a8b(0x257)](_0x3aa002=>_0x3aa002[_0xba9a8b(0x1b5)]===_0x15a24a),'anglPrims':_0x4a8be8['anglprim'][_0xba9a8b(0x257)](_0x20fb4b=>_0x20fb4b['NAME']===_0x15a24a),'anglClies':_0x4a8be8[_0xba9a8b(0x1d3)][_0xba9a8b(0x257)](_0x341fd5=>_0x341fd5[_0xba9a8b(0x1b5)]===_0x15a24a),'anglGrtxs':_0x4a8be8['anglgrtx'][_0xba9a8b(0x257)](_0x3686dd=>_0x3686dd[_0xba9a8b(0x1b5)]===_0x15a24a)}),[_0x4a8be8]),{anglElems:_0x1cc80d,anglZones:_0xf742e2,anglPrims:_0x3cba80,anglClies:_0x246917,anglGrtxs:_0x470134}=M['useMemo'](()=>_0x4069c0&&_0x4069c0[_0xba9a8b(0x29d)]>0x0?{'anglElems':_0x4a8be8[_0xba9a8b(0x2bc)]['filter'](_0x560d2f=>_0x4069c0[_0xba9a8b(0x11b)](_0x560d2f[_0xba9a8b(0x1b5)])),'anglZones':_0x4a8be8[_0xba9a8b(0x218)][_0xba9a8b(0x257)](_0x4c39cb=>_0x4069c0[_0xba9a8b(0x11b)](_0x4c39cb[_0xba9a8b(0x1b5)])),'anglPrims':_0x4a8be8[_0xba9a8b(0x207)][_0xba9a8b(0x257)](_0x295c64=>_0x4069c0[_0xba9a8b(0x11b)](_0x295c64[_0xba9a8b(0x1b5)])),'anglClies':_0x4a8be8['anglclie'][_0xba9a8b(0x257)](_0x437d1b=>_0x4069c0[_0xba9a8b(0x11b)](_0x437d1b['NAME'])),'anglGrtxs':_0x4a8be8[_0xba9a8b(0x2ab)]['filter'](_0x40e78d=>_0x4069c0[_0xba9a8b(0x11b)](_0x40e78d[_0xba9a8b(0x1b5)]))}:{'anglElems':_0x4a8be8[_0xba9a8b(0x2bc)],'anglZones':_0x4a8be8[_0xba9a8b(0x218)],'anglPrims':_0x4a8be8[_0xba9a8b(0x207)],'anglClies':_0x4a8be8[_0xba9a8b(0x1d3)],'anglGrtxs':_0x4a8be8[_0xba9a8b(0x2ab)]},[_0x4a8be8,_0x4069c0]),_0xcbd5a5={'anglElems':_0x1cc80d,'anglZones':_0xf742e2,'anglPrims':_0x3cba80,'anglClies':_0x246917,'anglGrtxs':_0x470134,'selectedElem':_0x435ac0,'setSelectedElem':_0x44d3b2,'hoveredElem':_0x5b2a04,'setHoveredElem':_0x45b57a,'updateAnglPrim':(_0x2d7883,_0x494e87,_0x4d39b6)=>{const _0x40cfb2=_0xba9a8b;_0x1e15c6(_0x3c44d9=>({..._0x3c44d9,'anglprim':_0x3c44d9[_0x40cfb2(0x207)]['map'](_0x6b8e2f=>_0x6b8e2f['NAME']===_0x2d7883?{..._0x6b8e2f,[_0x494e87]:_0x4d39b6}:_0x6b8e2f)}));},'updateAnglElem':(_0x4c9dc6,_0x1a4540,_0x5429f0,_0x4b7284)=>{const _0x7f647b=_0xba9a8b;_0x1e15c6(_0x16d87d=>({..._0x16d87d,'anglelem':_0x16d87d[_0x7f647b(0x2bc)][_0x7f647b(0x1ce)](_0x2c000d=>_0x2c000d[_0x7f647b(0x164)]===_0x1a4540&&_0x2c000d['NAME']===_0x4c9dc6?{..._0x2c000d,[_0x5429f0]:_0x4b7284}:_0x2c000d)}));},'updateAnglZone':(_0xa76bda,_0x50d15c,_0xfb2d80,_0x5de070)=>{const _0x42dc99=_0xba9a8b;_0x1e15c6(_0x500ab7=>({..._0x500ab7,'anglzone':_0x500ab7[_0x42dc99(0x218)]['map'](_0x142c34=>_0x142c34['TREEID']===_0x50d15c&&_0x142c34[_0x42dc99(0x1b5)]===_0xa76bda?{..._0x142c34,[_0xfb2d80]:_0x5de070}:_0x142c34)}));},'updateAnglClie':(_0x155ac4,_0x43b577,_0x3fab73,_0x39a65e,_0x451935)=>{const _0x170f5a=_0xba9a8b;_0x1e15c6(_0x3ccdc9=>({..._0x3ccdc9,'anglclie':_0x3ccdc9[_0x170f5a(0x1d3)][_0x170f5a(0x1ce)](_0x555446=>_0x555446[_0x170f5a(0x164)]===_0x43b577&&_0x555446['TAGNAME']===_0x3fab73&&_0x555446[_0x170f5a(0x1fb)]===_0x451935&&_0x555446[_0x170f5a(0x1b5)]===_0x155ac4?{..._0x555446,'TAGVALUE':_0x39a65e,'DATE_LASTCHANGE':new Date()[_0x170f5a(0x25d)]()}:_0x555446)}));},'updateAnglGrtx':(_0x2ac290,_0x5021eb,_0x39edec,_0x4ace3b)=>{const _0x446129=_0xba9a8b;_0x1e15c6(_0x14d8b1=>({..._0x14d8b1,'anglgrtx':_0x14d8b1['anglgrtx'][_0x446129(0x1ce)](_0x58983d=>_0x58983d['TREEID']===_0x5021eb&&_0x58983d['NUM']===_0x39edec&&_0x58983d['NAME']===_0x2ac290?{..._0x58983d,'TEXT':_0x4ace3b,'DATE_LASTCHANGE':new Date()['toISOString']()}:_0x58983d)}));},'getArticleData':_0x39fd94,'allData':_0x4a8be8};return c['jsx'](O[_0xba9a8b(0x111)],{'value':_0xcbd5a5,'children':_0x203359});}const fe=M[a0_0x5acb87(0x22c)](null);function me({children:_0x332b01,articleName:_0x31c40a,dimensionOverrides:_0x19e8a1}){const _0x545472=a0_0x5acb87,_0x1e79ff={'articleName':_0x31c40a,'dimensionOverrides':_0x19e8a1};return c['jsx'](fe[_0x545472(0x111)],{'value':_0x1e79ff,'children':_0x332b01});}const pe=M['createContext'](void 0x0);var L=(_0x52ab5f=>(_0x52ab5f[_0x52ab5f[a0_0x5acb87(0x14a)]=0x3]=a0_0x5acb87(0x14a),_0x52ab5f[_0x52ab5f[a0_0x5acb87(0x132)]=0x4]=a0_0x5acb87(0x132),_0x52ab5f[_0x52ab5f[a0_0x5acb87(0x20a)]=0x64]=a0_0x5acb87(0x20a),_0x52ab5f[_0x52ab5f[a0_0x5acb87(0x1f3)]=0x78]=a0_0x5acb87(0x1f3),_0x52ab5f))(L||{});function he(_0x257227){return new Map(_0x257227['map'](_0x138283=>[_0x138283['NAME'],_0x138283]));}function ae(_0x4d0ca3,_0x1f6d4f,_0x536276=new Set()){const _0x2125bb=a0_0x5acb87,_0xb9179e=_0x1f6d4f[_0x2125bb(0x213)](_0x4d0ca3);if(!_0xb9179e)return;if(_0x536276[_0x2125bb(0x119)](_0x4d0ca3)){console[_0x2125bb(0x120)](_0x2125bb(0x156)+[..._0x536276,_0x4d0ca3][_0x2125bb(0x1bb)]('\x20->\x20'));return;}const _0x2f1066=_0xb9179e[_0x2125bb(0x19b)];if(_0x2f1066[_0x2125bb(0x175)]('$')&&_0xb9179e[_0x2125bb(0x194)]!=L[_0x2125bb(0x1f3)]){const _0x64dc51=_0x2f1066['slice'](0x1);return _0x536276['add'](_0x4d0ca3),ae(_0x64dc51,_0x1f6d4f,_0x536276);}const _0xf9a17c=Number(_0x2f1066);return isNaN(_0xf9a17c)?_0x2f1066:_0xf9a17c;}function Ae(_0x25bdc8,_0x219605,_0x5a2fe5){const _0x27f4ff=a0_0x5acb87,_0x5db69=_0x5a2fe5['get'](_0x25bdc8);if(!_0x5db69)return console['warn'](_0x27f4ff(0x19a)+_0x25bdc8+_0x27f4ff(0x1f4)),_0x5a2fe5;const _0x40e708=new Map(_0x5a2fe5);return _0x40e708[_0x27f4ff(0x28c)](_0x25bdc8,{..._0x5db69,'WERT':String(_0x219605)}),_0x40e708;}function de(_0x18071d,_0x25c69c){const _0x34902d=a0_0x5acb87;return _0x18071d[_0x34902d(0x212)](/\$([A-Za-z_][A-Za-z0-9_]*)/g,(_0x3afd46,_0x975ec1)=>{const _0x531edf=ae(_0x975ec1,_0x25c69c);return _0x531edf!==void 0x0?String(_0x531edf):_0x3afd46;});}function ge(_0x46cfe7){const _0xe1010=a0_0x5acb87;return/\$[A-Za-z_][A-Za-z0-9_]*/g[_0xe1010(0x22f)](_0x46cfe7);}function Ye(_0x431c39){const _0x27f6d7=_0x431c39['matchAll'](/\$([A-Za-z_][A-Za-z0-9_]*)/g);return Array['from'](_0x27f6d7,_0x5550d8=>_0x5550d8[0x1]);}const We=Object[a0_0x5acb87(0x15f)](Object['defineProperty']({'__proto__':null,'createVariableTree':he,'extractVariableNames':Ye,'getValue':ae,'hasVariables':ge,'resolveString':de,'setValue':Ae},Symbol[a0_0x5acb87(0x283)],{'value':a0_0x5acb87(0x280)}));function Ce({children:_0x642904,imosVariables:_0x5f1de7}){const _0xe3ac76=a0_0x5acb87,[_0x2fcc95,_0x22c302]=M[_0xe3ac76(0x10b)](()=>he(_0x5f1de7));M[_0xe3ac76(0x244)](()=>{_0x22c302(he(_0x5f1de7));},[_0x5f1de7]);const _0x5987b6=M[_0xe3ac76(0x113)]((_0x44e657,_0x482725)=>{_0x22c302(_0x2507a5=>Ae(_0x44e657,_0x482725,_0x2507a5));},[]),_0x4c4ad0={'tree':_0x2fcc95,'setValue':_0x5987b6};return c[_0xe3ac76(0x17e)](pe[_0xe3ac76(0x111)],{'value':_0x4c4ad0,'children':_0x642904});}const xe=M['createContext'](null),Me=_0x5c0008=>{const _0x1702e8=Number(_0x5c0008);return isNaN(_0x1702e8)?null:_0x1702e8;},Z=_0x21ce1d=>_0x21ce1d==null?'':String(_0x21ce1d),V=(_0x1644e3,_0x1dc64c,_0x470a66)=>{const _0x43eb21=Me(_0x1644e3),_0x44cb9b=Me(_0x1dc64c);return _0x43eb21===null||_0x44cb9b===null?!0x1:_0x470a66(_0x43eb21,_0x44cb9b);},U=(_0x5a7d95,_0x54f650,_0x16abc9)=>_0x5a7d95==null||_0x54f650==null?!0x1:_0x16abc9(Z(_0x5a7d95),Z(_0x54f650)),Xe={'=':(_0x98e9e0,_0x14995c)=>_0x98e9e0==null||_0x14995c==null?_0x98e9e0===_0x14995c:Z(_0x98e9e0)[a0_0x5acb87(0x13f)]()===Z(_0x14995c)['trim'](),'!=':(_0x1ecff9,_0x4857b2)=>_0x1ecff9==null||_0x4857b2==null?_0x1ecff9!==_0x4857b2:Z(_0x1ecff9)['trim']()!==Z(_0x4857b2)[a0_0x5acb87(0x13f)](),'>':(_0x1f051a,_0x44adeb)=>V(_0x1f051a,_0x44adeb,(_0x209b50,_0x8c8240)=>_0x209b50>_0x8c8240),'<':(_0x181a5a,_0x360e1f)=>V(_0x181a5a,_0x360e1f,(_0x416d06,_0x1c8b9f)=>_0x416d06<_0x1c8b9f),'>=':(_0x49da13,_0x51d4c7)=>V(_0x49da13,_0x51d4c7,(_0x4b40c1,_0x4553a8)=>_0x4b40c1>=_0x4553a8),'<=':(_0x4cc78f,_0x1ed37b)=>V(_0x4cc78f,_0x1ed37b,(_0x251f30,_0x2500a2)=>_0x251f30<=_0x2500a2),'&gt;':(_0x45d992,_0xc6c2fa)=>V(_0x45d992,_0xc6c2fa,(_0x4ae6a3,_0x3abb4e)=>_0x4ae6a3>_0x3abb4e),'&gt;=':(_0x5c5aa8,_0x517e9f)=>V(_0x5c5aa8,_0x517e9f,(_0x3ebf2e,_0x17caaf)=>_0x3ebf2e>=_0x17caaf),'&lt;':(_0x19039a,_0x52e6ce)=>V(_0x19039a,_0x52e6ce,(_0x159714,_0x3acb74)=>_0x159714<_0x3acb74),'&lt;=':(_0x520c03,_0x4c84a5)=>V(_0x520c03,_0x4c84a5,(_0xbb4114,_0x4c1d3e)=>_0xbb4114<=_0x4c1d3e),'B':(_0x1f6190,_0x295b39)=>U(_0x1f6190,_0x295b39,(_0x21c579,_0x316b5b)=>_0x21c579[a0_0x5acb87(0x175)](_0x316b5b)),'!B':(_0x56669b,_0x37e895)=>U(_0x56669b,_0x37e895,(_0x234d5f,_0x4c2b28)=>!_0x234d5f[a0_0x5acb87(0x175)](_0x4c2b28)),'E':(_0x4e5e50,_0x4c28b4)=>U(_0x4e5e50,_0x4c28b4,(_0x55dc67,_0x50fa39)=>_0x55dc67[a0_0x5acb87(0x116)](_0x50fa39)),'!E':(_0x37c769,_0x5641d7)=>U(_0x37c769,_0x5641d7,(_0x183dce,_0x4282a4)=>!_0x183dce[a0_0x5acb87(0x116)](_0x4282a4)),'C':(_0xd9a2a1,_0x429b1d)=>U(_0xd9a2a1,_0x429b1d,(_0x5c0f54,_0x65698b)=>_0x5c0f54[a0_0x5acb87(0x11b)](_0x65698b)),'!C':(_0x42f781,_0x4d9c57)=>U(_0x42f781,_0x4d9c57,(_0x2e1913,_0xf3c0c1)=>!_0x2e1913[a0_0x5acb87(0x11b)](_0xf3c0c1))},qe={'Zusatzfilter\x203':'filter3','Zusatzfilter\x204':a0_0x5acb87(0x27b)};function we(_0x345ea5,_0x1dedc6={}){const _0x188d5f=a0_0x5acb87,{variableTree:_0x2dfffc,dataType:_0x5d59bf,silent:_0x46478a=!0x1,allowFunctions:_0x501fb0=!0x0}=_0x1dedc6,_0x5ed123=/^(.+?)\s*(mm|cm|m|in|ft|px|pt|%|deg|rad)$/i,_0x128737={'value':void 0x0,'original':_0x345ea5,'resolved':_0x345ea5,'hadVariables':!0x1,'wasEvaluated':!0x1};try{let _0x18b174=_0x345ea5[_0x188d5f(0x13f)](),_0x2e1929;if(_0x5ed123[_0x188d5f(0x22f)](_0x18b174)){const _0x46e588=_0x18b174[_0x188d5f(0x29e)](_0x5ed123);_0x46e588&&(_0x18b174=_0x46e588[0x1][_0x188d5f(0x13f)](),_0x2e1929=_0x46e588[0x2]);}_0x2dfffc&&ge(_0x18b174)&&(_0x128737['hadVariables']=!0x0,_0x18b174=de(_0x18b174,_0x2dfffc),_0x128737[_0x188d5f(0x27f)]=_0x18b174),Le(_0x18b174)?(_0x128737[_0x188d5f(0x243)]=!0x0,_0x128737[_0x188d5f(0x2b0)]=Oe(_0x18b174,_0x501fb0)):Ee(_0x18b174)?(_0x128737[_0x188d5f(0x243)]=!0x0,_0x128737[_0x188d5f(0x2b0)]=Se(_0x18b174,_0x501fb0)):_0x128737['value']=Qe(_0x18b174,_0x5d59bf);}catch(_0x302d98){_0x128737[_0x188d5f(0x120)]=_0x302d98 instanceof Error?_0x302d98['message']:String(_0x302d98),_0x46478a||console[_0x188d5f(0x120)](_0x188d5f(0x14e)+_0x345ea5+'\x22',_0x302d98),_0x128737[_0x188d5f(0x2b0)]=_0x345ea5;}return _0x128737;}function ie(_0x5826dc,_0x11e6b2={}){const _0x34236a=a0_0x5acb87;return we(_0x5826dc,_0x11e6b2)[_0x34236a(0x2b0)];}function Le(_0xcc1da7){const _0x26fd4d=a0_0x5acb87;return!_0xcc1da7||typeof _0xcc1da7!=_0x26fd4d(0x277)?!0x1:/^\s*IF\s*\(/i['test'](_0xcc1da7[_0x26fd4d(0x13f)]());}function Oe(_0x1b5018,_0x4ae59e=!0x0){const _0x51b8f6=a0_0x5acb87,_0x1c4713=_0x1b5018[_0x51b8f6(0x13f)]()['match'](/^IF\s*\((.*)\)\s*$/i);if(!_0x1c4713)throw new Error(_0x51b8f6(0x206)+_0x1b5018);const _0x50bdd7=_0x1c4713[0x1],_0x29818b=Je(_0x50bdd7);if(_0x29818b[_0x51b8f6(0x29d)]!==0x3)throw new Error(_0x51b8f6(0x148)+_0x29818b['length']+_0x51b8f6(0x192));const [_0x34289b,_0x45cd2b,_0x546900]=_0x29818b,_0x306304=te(_0x34289b[_0x51b8f6(0x13f)](),_0x4ae59e)?_0x45cd2b[_0x51b8f6(0x13f)]():_0x546900[_0x51b8f6(0x13f)]();if(Le(_0x306304))return Oe(_0x306304,_0x4ae59e);if(Ee(_0x306304))return Se(_0x306304,_0x4ae59e);{const _0x5e87b5=Number(_0x306304);return isNaN(_0x5e87b5)?_0x306304:_0x5e87b5;}}function Je(_0x1412f0){const _0x7c9c70=a0_0x5acb87,_0x22d10b=[];let _0x55d5e1='',_0x19c753=0x0;for(let _0x2326d5=0x0;_0x2326d5<_0x1412f0[_0x7c9c70(0x29d)];_0x2326d5++){const _0x32c5d6=_0x1412f0[_0x2326d5];_0x32c5d6==='('?(_0x19c753++,_0x55d5e1+=_0x32c5d6):_0x32c5d6===')'?(_0x19c753--,_0x55d5e1+=_0x32c5d6):_0x32c5d6===','&&_0x19c753===0x0?(_0x22d10b[_0x7c9c70(0x224)](_0x55d5e1),_0x55d5e1=''):_0x55d5e1+=_0x32c5d6;}return _0x55d5e1&&_0x22d10b['push'](_0x55d5e1),_0x22d10b;}function te(_0x129f0e,_0x25f3d6){const _0xd9bbd7=a0_0x5acb87;if(/\bAND\b/i[_0xd9bbd7(0x22f)](_0x129f0e))return _0x129f0e[_0xd9bbd7(0x17b)](/\bAND\b/i)['every'](_0x4a556e=>te(_0x4a556e['trim'](),_0x25f3d6));if(/\bOR\b/i['test'](_0x129f0e))return _0x129f0e['split'](/\bOR\b/i)[_0xd9bbd7(0x13b)](_0x2648dc=>te(_0x2648dc[_0xd9bbd7(0x13f)](),_0x25f3d6));if(/^\s*NOT\s+/i[_0xd9bbd7(0x22f)](_0x129f0e)){const _0x22e571=_0x129f0e[_0xd9bbd7(0x212)](/^\s*NOT\s+/i,'')[_0xd9bbd7(0x13f)]();return!te(_0x22e571,_0x25f3d6);}const _0x59a055=_0x129f0e[_0xd9bbd7(0x29e)](/(.+?)(<=|>=|!=|<>|=|<|>)(.+)/);if(!_0x59a055)throw new Error(_0xd9bbd7(0x2a2)+_0x129f0e);const [,_0x5dfad3,_0x56bba2,_0x511266]=_0x59a055,_0x3ac8b6=ye(_0x5dfad3[_0xd9bbd7(0x13f)](),_0x25f3d6),_0x1caaf6=ye(_0x511266['trim'](),_0x25f3d6);switch(_0x56bba2){case'=':return _0x3ac8b6===_0x1caaf6;case'!=':case'<>':return _0x3ac8b6!==_0x1caaf6;case'<':return _0x3ac8b6<_0x1caaf6;case'>':return _0x3ac8b6>_0x1caaf6;case'<=':return _0x3ac8b6<=_0x1caaf6;case'>=':return _0x3ac8b6>=_0x1caaf6;default:throw new Error('Unknown\x20operator:\x20'+_0x56bba2);}}function ye(_0x126683,_0x47456a){const _0x80db53=a0_0x5acb87;if(_0x126683['startsWith']('\x22')&&_0x126683['endsWith']('\x22')||_0x126683[_0x80db53(0x175)]('\x27')&&_0x126683[_0x80db53(0x116)]('\x27'))return _0x126683['slice'](0x1,-0x1);if(Ee(_0x126683))return Se(_0x126683,_0x47456a);const _0x461737=Number(_0x126683);return isNaN(_0x461737)?_0x126683:_0x461737;}function Ee(_0x1c19cd){const _0x5a4187=a0_0x5acb87;if(!_0x1c19cd||typeof _0x1c19cd!=_0x5a4187(0x277))return!0x1;const _0x3ddd2b=_0x1c19cd[_0x5a4187(0x13f)]();return/[+\-*/()]/['test'](_0x3ddd2b)?/^[\d\s+\-*/().,a-z]+$/i[_0x5a4187(0x22f)](_0x3ddd2b):!0x1;}const le=new Map();function Se(_0x300cb8,_0x16acb8=!0x0){const _0x9ef6c0=a0_0x5acb87,_0x4a8ad2=_0x300cb8[_0x9ef6c0(0x13f)](),_0x46cb2b=_0x4a8ad2+':'+_0x16acb8;if(le['has'](_0x46cb2b))return le[_0x9ef6c0(0x213)](_0x46cb2b);let _0x3217f6=_0x4a8ad2[_0x9ef6c0(0x212)](/\s+/g,'');if(_0x16acb8&&(_0x3217f6=_0x3217f6[_0x9ef6c0(0x212)](/round\(/g,'Math.round(')[_0x9ef6c0(0x212)](/floor\(/g,_0x9ef6c0(0x262))[_0x9ef6c0(0x212)](/ceil\(/g,_0x9ef6c0(0x1e3))[_0x9ef6c0(0x212)](/abs\(/g,'Math.abs(')[_0x9ef6c0(0x212)](/min\(/g,_0x9ef6c0(0x134))[_0x9ef6c0(0x212)](/max\(/g,_0x9ef6c0(0x154))[_0x9ef6c0(0x212)](/pow\(/g,_0x9ef6c0(0x276))[_0x9ef6c0(0x212)](/sqrt\(/g,_0x9ef6c0(0x1f6))),!(_0x16acb8?/^[\d+\-*/().,a-zA-Z]+$/:/^[\d+\-*/().]+$/)[_0x9ef6c0(0x22f)](_0x3217f6))throw new Error(_0x9ef6c0(0x1e0)+_0x300cb8);if(!_0x3217f6)throw new Error('Empty\x20expression');try{const _0x3bc808=Function('\x27use\x20strict\x27;\x20return\x20('+_0x3217f6+')')();if(typeof _0x3bc808!='number'||isNaN(_0x3bc808))throw new Error('Expression\x20did\x20not\x20evaluate\x20to\x20a\x20number:\x20'+_0x300cb8);return le[_0x9ef6c0(0x28c)](_0x46cb2b,_0x3bc808),_0x3bc808;}catch(_0x4a5623){throw new Error(_0x9ef6c0(0x157)+_0x300cb8+_0x9ef6c0(0x20f)+_0x4a5623);}}function Qe(_0x2041e4,_0x344313){const _0x590e4b=a0_0x5acb87;if(!_0x344313){const _0x5f0c40=Number(_0x2041e4);return isNaN(_0x5f0c40)?_0x2041e4:_0x5f0c40;}switch(_0x344313[_0x590e4b(0x1ff)]()){case'FL':return parseFloat(_0x2041e4);case'IN':return parseInt(_0x2041e4,0xa);case'CI':case'CS':case'ST':return _0x2041e4;case'DA':return new Date(_0x2041e4)['toISOString']();default:const _0x48a290=Number(_0x2041e4);return isNaN(_0x48a290)?_0x2041e4:_0x48a290;}}const et=_0x5a4600=>qe[_0x5a4600]||_0x5a4600,K=class K{};A(K,a0_0x5acb87(0x1d1),(_0x38b748,_0x46ead4,_0x2c81ad)=>_0x38b748?_0x38b748[a0_0x5acb87(0x26f)][a0_0x5acb87(0x167)](_0x1326c2=>K['evaluateNode'](_0x1326c2,_0x46ead4,_0x2c81ad)):!0x1),A(K,'evaluateNode',(_0x3b5cdc,_0x51547b,_0x20f758)=>{const _0x31b3db=a0_0x5acb87;if(!_0x3b5cdc)return!0x1;if(_0x3b5cdc[_0x31b3db(0x179)]===_0x31b3db(0x1b4)){let _0x4c0737=_0x3b5cdc[_0x31b3db(0x143)]['LEFTVALUE'];const _0x3061c7=et(_0x3b5cdc[_0x31b3db(0x143)][_0x31b3db(0x275)]);_0x51547b[_0x3061c7]!==void 0x0?_0x4c0737=_0x51547b[_0x3061c7]:_0x4c0737=ie(_0x3b5cdc[_0x31b3db(0x143)]['LEFTVALUE'],{'variableTree':_0x20f758,'dataType':_0x3b5cdc[_0x31b3db(0x143)][_0x31b3db(0x1fb)],'silent':!0x0});const _0x4f9d71=ie(_0x3b5cdc[_0x31b3db(0x143)][_0x31b3db(0x260)],{'variableTree':_0x20f758,'dataType':_0x3b5cdc[_0x31b3db(0x143)][_0x31b3db(0x1fb)],'silent':!0x0});return Xe[_0x3b5cdc['data'][_0x31b3db(0x272)]](_0x4c0737,_0x4f9d71);}if(_0x3b5cdc[_0x31b3db(0x179)]===_0x31b3db(0x1a0)){const _0x4571e8=_0x3b5cdc[_0x31b3db(0x1ba)][_0x31b3db(0x1ce)](_0x3c5361=>K['evaluateNode'](_0x3c5361,_0x51547b,_0x20f758));switch(_0x3b5cdc[_0x31b3db(0x143)]['OPSTRING']){case _0x31b3db(0x185):return _0x4571e8[_0x31b3db(0x167)](Boolean);case'OR':return _0x4571e8[_0x31b3db(0x13b)](Boolean);case _0x31b3db(0x26b):return!_0x4571e8[_0x31b3db(0x167)](Boolean);case _0x31b3db(0x1c9):return!_0x4571e8[_0x31b3db(0x13b)](Boolean);default:return!0x1;}}return!0x1;});let se=K;class Ie{static[a0_0x5acb87(0x221)](_0x5e243d,_0x5642f5,_0x5f02fb){const _0x2c1fa0=a0_0x5acb87,_0x3d27eb=_0x5e243d[_0x2c1fa0(0x26e)][_0x2c1fa0(0x190)](_0x2bed18=>_0x2bed18[_0x2c1fa0(0x266)]===0x0||_0x2bed18[_0x2c1fa0(0x1b8)]===null);for(const _0x2ff0f0 of _0x5e243d[_0x2c1fa0(0x26e)]){if(_0x2ff0f0[_0x2c1fa0(0x266)]===0x0||_0x2ff0f0[_0x2c1fa0(0x1b8)]===null)continue;if(se[_0x2c1fa0(0x1d1)](_0x2ff0f0['conditionTree'],_0x5642f5,_0x5f02fb))return{'lindiv':_0x2ff0f0[_0x2c1fa0(0x227)],'nodeNum':_0x2ff0f0[_0x2c1fa0(0x118)],'matched':!0x0,'isDefault':!0x1,'descriptorType':_0x5e243d['descriptor'][_0x2c1fa0(0x1c5)]};}if(_0x3d27eb)return{'lindiv':_0x3d27eb['lindiv'],'nodeNum':_0x3d27eb[_0x2c1fa0(0x118)],'matched':!0x1,'isDefault':!0x0,'descriptorType':_0x5e243d[_0x2c1fa0(0x16b)][_0x2c1fa0(0x1c5)]};throw new Error('No\x20matching\x20node\x20found\x20and\x20no\x20default\x20node\x20exists');}static[a0_0x5acb87(0x240)](_0x3da428,_0x4537cf,_0x31cdaa){const _0x2d1f5a=a0_0x5acb87,_0x5bc89e=[];for(const _0x2a59c0 of _0x3da428[_0x2d1f5a(0x26e)]){if(_0x2a59c0['conditionId']===0x0||_0x2a59c0[_0x2d1f5a(0x1b8)]===null)continue;se[_0x2d1f5a(0x1d1)](_0x2a59c0['conditionTree'],_0x4537cf,_0x31cdaa)&&_0x5bc89e[_0x2d1f5a(0x224)](_0x2a59c0);}return _0x5bc89e;}}class tt{constructor(_0x1e9bc1,_0x2321a5){const _0x18bea6=a0_0x5acb87;A(this,'descriptors'),A(this,_0x18bea6(0x292)),(this[_0x18bea6(0x225)]=new Map(_0x1e9bc1[_0x18bea6(0x1ce)](_0xf82221=>[_0xf82221[_0x18bea6(0x16b)][_0x18bea6(0x1b5)],_0xf82221])),this[_0x18bea6(0x292)]=_0x2321a5);}['evaluate'](_0x235af4,_0x42ee86){const _0x416e1e=a0_0x5acb87,_0x1cc3d5=this[_0x416e1e(0x1ab)](_0x235af4);if(!_0x1cc3d5)throw new Error(_0x416e1e(0x1e6)+_0x235af4);return Ie[_0x416e1e(0x221)](_0x1cc3d5,_0x42ee86,this[_0x416e1e(0x292)]);}[a0_0x5acb87(0x1ab)](_0x5e2ae5){const _0x347c68=a0_0x5acb87;return this['descriptors'][_0x347c68(0x213)](_0x5e2ae5);}[a0_0x5acb87(0x1bf)](_0x38e379){const _0x1751b9=a0_0x5acb87;return this['descriptors'][_0x1751b9(0x119)](_0x38e379);}['getDescriptorNames'](){const _0x1c02e0=a0_0x5acb87;return Array[_0x1c02e0(0x288)](this['descriptors']['keys']());}[a0_0x5acb87(0x126)](_0x59b36d){const _0x178d6e=a0_0x5acb87;return Array[_0x178d6e(0x288)](this['descriptors']['values']())[_0x178d6e(0x257)](_0x2d9a68=>_0x2d9a68[_0x178d6e(0x16b)][_0x178d6e(0x1c5)]===_0x59b36d);}[a0_0x5acb87(0x1eb)](_0x33d2d5,_0x3511a1){const _0x46f17e=a0_0x5acb87,_0x1a1e5d=this['getDescriptor'](_0x33d2d5);if(!_0x1a1e5d)throw new Error(_0x46f17e(0x1e6)+_0x33d2d5);return Ie[_0x46f17e(0x240)](_0x1a1e5d,_0x3511a1,this[_0x46f17e(0x292)]);}[a0_0x5acb87(0x140)](){const _0x1393af=a0_0x5acb87,_0x363ed7={};for(const _0x599ec8 of this[_0x1393af(0x225)]['values']()){const _0x160f51=_0x599ec8['descriptor'][_0x1393af(0x1c5)];_0x363ed7[_0x160f51]=(_0x363ed7[_0x160f51]||0x0)+0x1;}return{'total':this[_0x1393af(0x225)][_0x1393af(0x223)],'byType':_0x363ed7,'names':this[_0x1393af(0x15e)]()};}}function z(){const _0x4af728=a0_0x5acb87,_0x22935d=M[_0x4af728(0x1de)](pe);if(!_0x22935d)throw new Error(_0x4af728(0x1a1));const {tree:_0x24836c,setValue:_0x588995}=_0x22935d,_0x27d0d6=M['useMemo'](()=>_0x15e0f2=>ae(_0x15e0f2,_0x24836c),[_0x24836c]),_0x407d24=M[_0x4af728(0x26a)](()=>_0xd8af1b=>de(_0xd8af1b,_0x24836c),[_0x24836c]),_0x14fa68=M[_0x4af728(0x26a)](()=>_0x20cb43=>ge(_0x20cb43),[]);return{'tree':_0x24836c,'getValue':_0x27d0d6,'resolveString':_0x407d24,'hasVariables':_0x14fa68,'setValue':_0x588995};}function Pe({children:_0x269b64,descriptorData:_0x557476}){const _0x190d83=a0_0x5acb87,_0x772578=z(),_0x3eeab8=M[_0x190d83(0x26a)](()=>new tt(_0x557476,_0x772578[_0x190d83(0x287)]),[_0x557476,_0x772578]);return c[_0x190d83(0x17e)](xe[_0x190d83(0x111)],{'value':_0x3eeab8,'children':_0x269b64});}var N=(_0x48f607=>(_0x48f607[a0_0x5acb87(0x152)]=a0_0x5acb87(0x12b),_0x48f607[a0_0x5acb87(0x1d0)]=a0_0x5acb87(0x235),_0x48f607[a0_0x5acb87(0x236)]='3D',_0x48f607))(N||{});const ce=0x0,rt=0x1,Re=_0x52907e=>_0x52907e+'.0',Ve=_0x59582e=>_0x59582e+'.1',je=_0x496bfd=>_0x496bfd+'.2',Fe=_0x5cd1cb=>_0x5cd1cb+'.3',ve=_0x93598a=>_0x93598a[a0_0x5acb87(0x28b)](0x0,_0x93598a[a0_0x5acb87(0x125)]('.')),it=_0x3fa6c8=>{const _0x17c3a9=ve(_0x3fa6c8),_0xd14336=($e(_0x3fa6c8)+0x3)%0x4;return _0x17c3a9+'.'+_0xd14336;},st=_0x2495d2=>{const _0x112a64=ve(_0x2495d2),_0x5cbb05=($e(_0x2495d2)+0x1)%0x4;return _0x112a64+'.'+_0x5cbb05;},$e=_0xa2ddfe=>parseInt(_0xa2ddfe[a0_0x5acb87(0x28b)](_0xa2ddfe['lastIndexOf']('.')+0x1)),Y={'IAC_THICKNESS':a0_0x5acb87(0x2b9),'IAC_BOTTOMSHELFTHICKNESS':a0_0x5acb87(0x176),'IAC_TOPSHELFTHICKNESS':a0_0x5acb87(0x11c)},E=0x1;function W(){const _0x1a8468=a0_0x5acb87,_0x992abe=M[_0x1a8468(0x1de)](O);if(_0x992abe===void 0x0)throw new Error(_0x1a8468(0x202));return _0x992abe;}function X(){const _0xc8382e=a0_0x5acb87,_0x5d457c=M[_0xc8382e(0x1de)](fe);if(!_0x5d457c)throw new Error(_0xc8382e(0x2a0));return _0x5d457c;}function re(_0xa67c77,_0x22188e,_0x3fd288){const _0x1317d4=a0_0x5acb87,{getArticleData:_0x28281b}=W(),{articleName:_0x25127e}=X(),{anglClies:_0x26dcc1}=_0x28281b(_0x25127e),_0x247f8a=_0x26dcc1[_0x1317d4(0x190)](_0x94c917=>_0x94c917[_0x1317d4(0x164)]===_0xa67c77&&_0x94c917[_0x1317d4(0x1fb)]===_0x3fd288&&_0x94c917[_0x1317d4(0x228)]===_0x22188e);return _0x247f8a?{'thickness':Number(_0x247f8a[_0x1317d4(0x22e)])}:null;}function nt(_0x1a0e2c){const _0x2018b0=a0_0x5acb87,{getArticleData:_0x3b7bbf}=W(),{resolveString:_0x5b5c68}=z(),{articleName:_0x28d333}=X(),_0x1c3b6d=_0x3b7bbf(_0x28d333)[_0x2018b0(0x165)];if(!_0x1c3b6d)return null;const _0x456ed4=_0x1c3b6d[_0x2018b0(0x257)](_0x20312f=>_0x20312f['TREEID']===_0x1a0e2c),_0x55adf4=new Map();return _0x456ed4['map'](_0x52087f=>_0x55adf4['set']('AD\x20zone\x20info0'+(_0x52087f['NUM']+0x1),_0x5b5c68(_0x52087f[_0x2018b0(0x133)]))),{'zoneInfo':_0x55adf4};}function oe(_0x196916){const _0x23066b=a0_0x5acb87,{getArticleData:_0x342e45}=W(),{articleName:_0x3acee9}=X(),{anglZones:_0x1bd632}=_0x342e45(_0x3acee9),_0xc93e36=_0x1bd632[_0x23066b(0x190)](_0x4103d0=>_0x4103d0[_0x23066b(0x164)]===_0x196916),_0x22bb6b=_0x1bd632[_0x23066b(0x257)](_0x5693fb=>_0x5693fb[_0x23066b(0x164)]['substring'](0x0,_0x5693fb[_0x23066b(0x164)]['lastIndexOf']('.'))===_0x196916);return _0x22bb6b[_0x23066b(0x1c7)]((_0x2f2ab0,_0x216c2f)=>_0x2f2ab0[_0x23066b(0x164)]['localeCompare'](_0x216c2f[_0x23066b(0x164)],void 0x0,{'numeric':!0x0})),_0xc93e36?{'currentZone':_0xc93e36,'children':_0x22bb6b,get 'topShelfCP'(){const _0x5f5d7a=_0x23066b;return _0xc93e36?.[_0x5f5d7a(0x18b)];},get 'bottomShelfCP'(){return _0xc93e36?.['BOTSHELF'];},'zoneInfo'(){const _0x38cb6f=_0x23066b;return nt(_0x196916)?.[_0x38cb6f(0x25c)];},'getClieThk'(_0x16f2f5,_0x41269c){const _0x854e01=_0x23066b;return this[_0x854e01(0x237)]===''?0x0:re(_0x16f2f5,_0x41269c,rt)?.[_0x854e01(0x16d)]||0x0;},get 'topShelfThk'(){const _0x5644cd=_0x23066b;return this[_0x5644cd(0x250)](_0x196916,Y[_0x5644cd(0x11c)]);},get 'bottomShelfThk'(){const _0x21dc0f=_0x23066b;return this[_0x21dc0f(0x250)](_0x196916,Y['IAC_BOTTOMSHELFTHICKNESS']);},get 'dividerThk'(){const _0x367835=_0x23066b;return this[_0x367835(0x250)](_0x196916,Y[_0x367835(0x2b9)]);}}:null;}function ee(_0x132b11){const _0x256fe9=a0_0x5acb87,{getArticleData:_0xb6f250}=W(),{articleName:_0x35c28a}=X(),{resolveString:_0x171d47}=z(),{anglElems:_0x292376}=_0xb6f250(_0x35c28a),_0x11d4ce=_0x292376[_0x256fe9(0x190)](_0x24d6a9=>_0x24d6a9[_0x256fe9(0x164)]===_0x132b11),_0x276c6a=ve(_0x132b11),_0x4c571f=oe(_0x276c6a);if(!_0x11d4ce)return null;const _0x4e3af7=_0x11d4ce[_0x256fe9(0x220)]===''?0x0:re(_0x132b11,Y[_0x256fe9(0x2b9)],ce)?.[_0x256fe9(0x16d)]||0x0,_0xc42403=re(st(_0x132b11),Y['IAC_THICKNESS'],ce)?.[_0x256fe9(0x16d)]||0x0,_0x8e9ade=re(it(_0x132b11),Y['IAC_THICKNESS'],ce)?.[_0x256fe9(0x16d)]||0x0,_0x15f597=_0x11d4ce[_0x256fe9(0x220)]===''?0x0:_0x11d4ce[_0x256fe9(0x238)]!==''?ie(_0x171d47(_0x11d4ce[_0x256fe9(0x238)])):Number(_0x11d4ce[_0x256fe9(0x295)]),_0x327240=(typeof _0x15f597==_0x256fe9(0x277)?0x0:_0x15f597)||0x0,_0x5bae55=_0x11d4ce['MANINFO']||_0x256fe9(0x245),_0x2f2518=_0x11d4ce[_0x256fe9(0x220)],_0x37daa2=_0x4c571f?.[_0x256fe9(0x183)]||0x0,_0x2ff2ec=_0x4c571f?.[_0x256fe9(0x22a)]||0x0,_0x3c8dec={'start':Number(_0x11d4ce[_0x256fe9(0x1f1)])||0x0,'end':Number(_0x11d4ce[_0x256fe9(0x2b7)])||0x0,'top':Number(_0x11d4ce['TOPOFFS'])||0x0,'bottom':Number(_0x11d4ce[_0x256fe9(0x298)])||0x0},_0x33b279={'start':_0x11d4ce[_0x256fe9(0x15d)],'end':_0x11d4ce[_0x256fe9(0x28d)],'top':_0x11d4ce[_0x256fe9(0x231)],'bottom':_0x11d4ce['BOTTRIM']},_0xf2f336={'top':_0x33b279[_0x256fe9(0x1e9)]==='S'?_0x37daa2:0x0,'bottom':_0x33b279[_0x256fe9(0x2af)]==='S'?_0x2ff2ec:0x0};return{'TREEID':_0x132b11,'thk':_0x4e3af7,'nxtThk':_0xc42403,'prvThk':_0x8e9ade,'inset':_0x327240,'color':_0x5bae55,'CPNAME':_0x2f2518,'topThk':_0x37daa2,'bottomThk':_0x2ff2ec,'oversize':_0x3c8dec,'trim':_0x33b279,'elmTrimThk':_0xf2f336};}var D=class extends Error{constructor(_0x3112e4){const _0x613d9d=a0_0x5acb87;super(_0x613d9d(0x22b)+_0x3112e4),this[_0x613d9d(0x19e)]=_0x613d9d(0x1a5);}},$,at=($=class{constructor(){const _0x56907d=a0_0x5acb87;A(this,_0x56907d(0x2a6),new Map()),A(this,_0x56907d(0x289),''),A(this,_0x56907d(0x29c),[]),A(this,_0x56907d(0x158),0x0),A(this,'current',0x0),A(this,'errors',[]);}[a0_0x5acb87(0x15c)](_0x3ece24){const _0x43b4ff=a0_0x5acb87;this['errors'][_0x43b4ff(0x224)](_0x3ece24);}['scan'](_0x75d4e0){const _0x583514=a0_0x5acb87;if(this[_0x583514(0x2a6)][_0x583514(0x119)](_0x75d4e0)){const _0x33ac54=this[_0x583514(0x2a6)][_0x583514(0x213)](_0x75d4e0);return this[_0x583514(0x2a6)]['delete'](_0x75d4e0),this['cache'][_0x583514(0x28c)](_0x75d4e0,_0x33ac54),_0x33ac54;}try{this['source']=_0x75d4e0;const _0x4076ef=this[_0x583514(0x11d)]();if(this['cache'][_0x583514(0x28c)](this[_0x583514(0x289)],_0x4076ef),this[_0x583514(0x2a6)][_0x583514(0x223)]>0x3){const _0x223f27=this['cache'][_0x583514(0x13a)]()['next']()[_0x583514(0x2b0)];this['cache'][_0x583514(0x1a8)](_0x223f27);}return _0x4076ef;}catch(_0x25b2d7){throw console[_0x583514(0x120)](_0x25b2d7),new Error(_0x25b2d7 instanceof Error?_0x25b2d7[_0x583514(0x145)]:String(_0x25b2d7));}}[a0_0x5acb87(0x11d)](){const _0x44ab6a=a0_0x5acb87;this[_0x44ab6a(0x2cd)]();try{if(this[_0x44ab6a(0x289)]['includes']('<')||this[_0x44ab6a(0x289)][_0x44ab6a(0x11b)]('>'))throw new Error(_0x44ab6a(0x1bd));if(this[_0x44ab6a(0x289)][_0x44ab6a(0x29d)]===0x0)throw new Error(_0x44ab6a(0x198));for(this[_0x44ab6a(0x158)]=0x0,this[_0x44ab6a(0x25e)]=0x0,this[_0x44ab6a(0x29c)]=[],this[_0x44ab6a(0x158)]===0x0&&this['addToken'](_0x44ab6a(0x1e2),'<');!this['isAtEnd']();){this[_0x44ab6a(0x158)]=this['current'];const _0x2011fe=this['peek']();switch(_0x2011fe){case':':this['addToken'](_0x44ab6a(0x2c6),'>'),this[_0x44ab6a(0x21c)](_0x44ab6a(0x1e2),'<'),this[_0x44ab6a(0x20c)]();break;case'\x20':case'\x0d':case'\x09':case'\x0a':this[_0x44ab6a(0x20c)]();break;case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'.':this[_0x44ab6a(0x249)]();break;case'$':this[_0x44ab6a(0x201)]();break;case'+':case'-':case'*':case'/':this['addToken'](_0x44ab6a(0x1c6),_0x2011fe),this[_0x44ab6a(0x20c)]();break;case'(':this[_0x44ab6a(0x21c)]('PAREN_OPEN','('),this['advance']();break;case')':this[_0x44ab6a(0x21c)](_0x44ab6a(0x294),')'),this[_0x44ab6a(0x20c)]();break;case'{':this[_0x44ab6a(0x25e)]!=0x0&&this['tokens'][this['tokens'][_0x44ab6a(0x29d)]-0x1][_0x44ab6a(0x13e)]!=_0x44ab6a(0x1c6)&&this[_0x44ab6a(0x21c)](_0x44ab6a(0x1c6),'*'),this[_0x44ab6a(0x21c)](_0x44ab6a(0x1cd),'{'),this['addToken'](_0x44ab6a(0x1e2),'<'),this['advance']();break;case'}':this[_0x44ab6a(0x21c)](_0x44ab6a(0x2c6),'>'),this[_0x44ab6a(0x21c)](_0x44ab6a(0x27d),'}'),this[_0x44ab6a(0x20c)]();break;case'[':this[_0x44ab6a(0x21c)](_0x44ab6a(0x1c6),'~'),this[_0x44ab6a(0x21c)](_0x44ab6a(0x2c7),'['),this[_0x44ab6a(0x20c)]();break;case']':this[_0x44ab6a(0x21c)](_0x44ab6a(0x137),']'),this[_0x44ab6a(0x20c)]();break;case'm':this[_0x44ab6a(0x191)]()==='m'?this['scanMm']():this[_0x44ab6a(0x2c0)]();break;default:this[_0x44ab6a(0x1a4)](_0x2011fe)?this['scanIdentifierOrFunction']():this[_0x44ab6a(0x15c)](_0x44ab6a(0x1c0)+_0x2011fe+_0x44ab6a(0x1a6)+this['current']);}}if(this[_0x44ab6a(0x21c)](_0x44ab6a(0x2c6),'>'),this['addToken'](_0x44ab6a(0x186),''),this[_0x44ab6a(0x23a)]['length']>0x0)throw new Error(this[_0x44ab6a(0x23a)][_0x44ab6a(0x1bb)](',\x0a'));return this['tokens'];}catch(_0x5c1890){throw new Error(_0x5c1890 instanceof Error?_0x5c1890[_0x44ab6a(0x145)]:String(_0x5c1890));}}[a0_0x5acb87(0x2cb)](){const _0x27e478=a0_0x5acb87;return this[_0x27e478(0x25e)]>=this[_0x27e478(0x289)][_0x27e478(0x29d)];}[a0_0x5acb87(0x20c)](){const _0x265639=a0_0x5acb87;return this[_0x265639(0x289)]['charAt'](this[_0x265639(0x25e)]++);}[a0_0x5acb87(0x149)](){const _0x1967bf=a0_0x5acb87;return this[_0x1967bf(0x2cb)]()?'\x00':this['source']['charAt'](this[_0x1967bf(0x25e)]);}[a0_0x5acb87(0x191)](){const _0x5e0c46=a0_0x5acb87;return this[_0x5e0c46(0x25e)]+0x1>=this[_0x5e0c46(0x289)][_0x5e0c46(0x29d)]?'\x00':this[_0x5e0c46(0x289)][_0x5e0c46(0x1ac)](this[_0x5e0c46(0x25e)]+0x1);}[a0_0x5acb87(0x21c)](_0x166568,_0x1d20cb){const _0x385e38=a0_0x5acb87;this[_0x385e38(0x29c)]['push']({'type':_0x166568,'lexeme':_0x1d20cb||(_0x166568?this[_0x385e38(0x289)][_0x385e38(0x28b)](this[_0x385e38(0x158)],this[_0x385e38(0x25e)]):''),'position':this[_0x385e38(0x158)]});}[a0_0x5acb87(0x135)](_0x5d6c09){const _0x317513=a0_0x5acb87;return/^[0-9]$/[_0x317513(0x22f)](_0x5d6c09);}['isAlpha'](_0x54bdc0){const _0x466df8=a0_0x5acb87;return/^[a-zA-Z]$/[_0x466df8(0x22f)](_0x54bdc0);}[a0_0x5acb87(0x249)](){const _0xf78775=a0_0x5acb87;for(;this[_0xf78775(0x135)](this[_0xf78775(0x149)]());)this['advance']();if(this[_0xf78775(0x149)]()==='.'){for(this[_0xf78775(0x20c)](),this[_0xf78775(0x135)](this[_0xf78775(0x149)]())||this[_0xf78775(0x15c)](_0xf78775(0x2b3)+this[_0xf78775(0x25e)]);this[_0xf78775(0x135)](this[_0xf78775(0x149)]());)this[_0xf78775(0x20c)]();}this['addToken'](_0xf78775(0x195));}['scanVariable'](){const _0x206ded=a0_0x5acb87;for(this[_0x206ded(0x20c)]();/[a-zA-Z0-9_]/[_0x206ded(0x22f)](this[_0x206ded(0x149)]());)this[_0x206ded(0x20c)]();const _0x7ee7f0=this[_0x206ded(0x289)][_0x206ded(0x28b)](this[_0x206ded(0x158)]+0x1,this['current']);if(_0x7ee7f0['endsWith']('mm')){const _0x3461f3=_0x7ee7f0[_0x206ded(0x28b)](0x0,_0x7ee7f0[_0x206ded(0x29d)]-0x2);_0x3461f3&&_0x3461f3['length']>0x0?(this[_0x206ded(0x21c)](_0x206ded(0x203),_0x3461f3),this[_0x206ded(0x21c)](_0x206ded(0x1cc),'mm')):this[_0x206ded(0x15c)](_0x206ded(0x161));}else this[_0x206ded(0x21c)](_0x206ded(0x203),_0x7ee7f0);}[a0_0x5acb87(0x16f)](){const _0x4d631d=a0_0x5acb87;this[_0x4d631d(0x20c)](),this[_0x4d631d(0x20c)](),this[_0x4d631d(0x21c)]('UNIT','mm');}['scanIdentifierOrFunction'](){const _0x3c82e0=a0_0x5acb87,_0x1af906=['X','Y','n'];for(;this[_0x3c82e0(0x1a4)](this[_0x3c82e0(0x149)]());)this[_0x3c82e0(0x20c)]();const _0x39c7cb=this['source'][_0x3c82e0(0x28b)](this[_0x3c82e0(0x158)],this[_0x3c82e0(0x25e)]),_0x400f37=$[_0x3c82e0(0x1fe)][_0x39c7cb[_0x3c82e0(0x136)]()];_0x400f37!=null?this['addToken'](_0x400f37,_0x39c7cb):_0x1af906[_0x3c82e0(0x11b)](_0x39c7cb)?this['addToken']('SPECIAL_VARIABLE',_0x39c7cb):this[_0x3c82e0(0x15c)](_0x3c82e0(0x115)+_0x39c7cb+_0x3c82e0(0x1a6)+this[_0x3c82e0(0x25e)]);}[a0_0x5acb87(0x2cd)](){const _0x164b2d=a0_0x5acb87;this[_0x164b2d(0x29c)]=[],this[_0x164b2d(0x158)]=0x0,this[_0x164b2d(0x25e)]=0x0,this[_0x164b2d(0x23a)]=[];}},A($,'MATHEMATICAL_FUNCTIONS',{'abs':a0_0x5acb87(0x274),'acos':a0_0x5acb87(0x274),'asin':a0_0x5acb87(0x274),'atan':a0_0x5acb87(0x274),'bog2deg':a0_0x5acb87(0x274),'cos':'FUNCTION','deg2bog':'FUNCTION','in2mm':a0_0x5acb87(0x274),'ln':a0_0x5acb87(0x274),'log':a0_0x5acb87(0x274),'log10':a0_0x5acb87(0x274),'max':a0_0x5acb87(0x274),'maxunder':a0_0x5acb87(0x274),'mm2in':a0_0x5acb87(0x274),'nextto':a0_0x5acb87(0x274),'pi':a0_0x5acb87(0x274),'pow':a0_0x5acb87(0x274),'round':a0_0x5acb87(0x274),'sin':a0_0x5acb87(0x274),'sqr':a0_0x5acb87(0x274),'tab':a0_0x5acb87(0x274),'tan':'FUNCTION'}),$),ot=class{constructor(){const _0x2cd29d=a0_0x5acb87;A(this,_0x2cd29d(0x2a6),new Map()),A(this,_0x2cd29d(0x29c),[]),A(this,_0x2cd29d(0x25e),0x0),A(this,_0x2cd29d(0x169),()=>{const _0x427075=_0x2cd29d;this[_0x427075(0x25e)]=0x0;});}[a0_0x5acb87(0x229)](_0x309adb){const _0x5d5064=a0_0x5acb87;if(this['cache'][_0x5d5064(0x119)](_0x309adb)){const _0x2484d7=this[_0x5d5064(0x2a6)]['get'](_0x309adb);return this[_0x5d5064(0x2a6)][_0x5d5064(0x1a8)](_0x309adb),this[_0x5d5064(0x2a6)]['set'](_0x309adb,_0x2484d7),_0x2484d7;}try{this[_0x5d5064(0x29c)]=_0x309adb;const _0x20512f=this['performParse'](_0x309adb);if(this[_0x5d5064(0x2a6)][_0x5d5064(0x28c)](_0x309adb,_0x20512f),this[_0x5d5064(0x2a6)]['size']>0x3){const _0x25e230=this[_0x5d5064(0x2a6)][_0x5d5064(0x13a)]()[_0x5d5064(0x20d)]()[_0x5d5064(0x2b0)];this[_0x5d5064(0x2a6)]['delete'](_0x25e230);}return _0x20512f;}catch(_0x1a7ea6){throw new Error(_0x1a7ea6 instanceof Error?_0x1a7ea6['message']:String(_0x1a7ea6));}}[a0_0x5acb87(0x1df)](_0x5852df){const _0x39a875=a0_0x5acb87;if(this[_0x39a875(0x169)](),this['tokens']['length']===0x0)throw new Error(_0x39a875(0x208));try{return this['expression']();}catch(_0x4cefa8){throw new Error(_0x4cefa8 instanceof Error?_0x4cefa8[_0x39a875(0x145)]:String(_0x4cefa8));}}[a0_0x5acb87(0x1e1)](){const _0x519648=a0_0x5acb87;if(this[_0x519648(0x2cb)]())return!0x1;const _0x4e0e8d=this['peek']();return _0x4e0e8d[_0x519648(0x13e)]==='UNIT'&&_0x4e0e8d[_0x519648(0x1c4)]==='mm';}[a0_0x5acb87(0x28e)](){const _0x32f79a=a0_0x5acb87;return this[_0x32f79a(0x1e1)]()?(this[_0x32f79a(0x20c)](),!0x0):!0x1;}['sections'](){const _0x2a2743=a0_0x5acb87,_0x2e5e30=[];if(!this[_0x2a2743(0x253)](_0x2a2743(0x1e2)))return this[_0x2a2743(0x278)]();for(;this[_0x2a2743(0x253)](_0x2a2743(0x1e2));){this[_0x2a2743(0x20c)]();let _0xc891cb=this[_0x2a2743(0x278)]();this[_0x2a2743(0x188)](_0x2a2743(0x2c6),_0x2a2743(0x181)),_0x2e5e30[_0x2a2743(0x224)]({'type':_0x2a2743(0x1c2),'nodes':_0xc891cb,'hasMillimeterSuffix':this[_0x2a2743(0x28e)]()});}if(_0x2e5e30[_0x2a2743(0x29d)]===0x1){const _0x1e588a=_0x2e5e30[0x0];return _0x1e588a[_0x2a2743(0x13e)]===_0x2a2743(0x1c2)&&_0x1e588a['nodes'][_0x2a2743(0x13e)]===_0x2a2743(0x1c2)?_0x1e588a['nodes']:_0x1e588a;}return{'type':_0x2a2743(0x17c),'sections':_0x2e5e30};}[a0_0x5acb87(0x278)](){const _0x13ee02=a0_0x5acb87;try{let _0x227425=this[_0x13ee02(0x163)]();for(;!this[_0x13ee02(0x2cb)]()&&this['check'](_0x13ee02(0x1c6))&&['+','-']['includes'](this[_0x13ee02(0x149)]()['lexeme']);){this[_0x13ee02(0x20c)]();const _0x495003=this[_0x13ee02(0x189)]()[_0x13ee02(0x1c4)],_0x5e2d85=this[_0x13ee02(0x163)]();_0x227425={'type':_0x13ee02(0x296),'left':_0x227425,'operator':_0x495003,'right':_0x5e2d85};}return _0x227425;}catch(_0x4497c2){throw new Error(_0x13ee02(0x27e)+_0x4497c2[_0x13ee02(0x145)]);}}[a0_0x5acb87(0x163)](){const _0x5ea255=a0_0x5acb87;try{let _0x135957=this[_0x5ea255(0x1d2)]();for(;!this[_0x5ea255(0x2cb)]()&&this[_0x5ea255(0x253)](_0x5ea255(0x1c6))&&['*','/','~']['includes'](this[_0x5ea255(0x149)]()[_0x5ea255(0x1c4)]);){this[_0x5ea255(0x20c)]();const _0x28d3fa=this['previous']()[_0x5ea255(0x1c4)],_0x584be1=this['factor']();if(_0x584be1[_0x5ea255(0x13e)]===_0x5ea255(0x1f5)&&_0x584be1['name']==='n')throw new Error('Invalid\x20usage:\x20\x22n\x22\x20cannot\x20appear\x20on\x20the\x20right-hand\x20side\x20of\x20an\x20operator');_0x135957={'type':'BinaryExpression','left':_0x135957,'operator':_0x28d3fa,'right':_0x584be1};}return _0x135957;}catch(_0x4318c2){throw new Error(_0x5ea255(0x248)+_0x4318c2[_0x5ea255(0x145)]);}}[a0_0x5acb87(0x1d2)](){const _0x3cae1d=a0_0x5acb87;try{if(this[_0x3cae1d(0x253)]('OPERATOR')&&['-','+'][_0x3cae1d(0x11b)](this[_0x3cae1d(0x149)]()['lexeme'])){this[_0x3cae1d(0x20c)]();const _0x405049=this[_0x3cae1d(0x189)]()[_0x3cae1d(0x1c4)],_0x3cc55f=this[_0x3cae1d(0x1d2)]();return{'type':_0x3cae1d(0x184),'operator':_0x405049,'right':_0x3cc55f};}return this[_0x3cae1d(0x25f)]();}catch(_0x299bda){throw new Error(_0x3cae1d(0x232)+_0x299bda[_0x3cae1d(0x145)]);}}[a0_0x5acb87(0x25f)](){const _0x5b071e=a0_0x5acb87;try{if(this[_0x5b071e(0x253)](_0x5b071e(0x195)))return this[_0x5b071e(0x20c)](),{'type':'NumberLiteral','value':parseFloat(this[_0x5b071e(0x189)]()[_0x5b071e(0x1c4)]),'hasMillimeterSuffix':this['consumeMillimeterSuffix']()};if(this[_0x5b071e(0x253)](_0x5b071e(0x203)))return this[_0x5b071e(0x20c)](),{'type':'Variable','name':this['previous']()[_0x5b071e(0x1c4)],'hasMillimeterSuffix':this['consumeMillimeterSuffix']()};if(this[_0x5b071e(0x253)](_0x5b071e(0x25a)))return this['advance'](),{'type':_0x5b071e(0x1f5),'name':this[_0x5b071e(0x189)]()[_0x5b071e(0x1c4)],'hasMillimeterSuffix':this[_0x5b071e(0x189)]()[_0x5b071e(0x1c4)]==='n'};if(this['check'](_0x5b071e(0x274))){this[_0x5b071e(0x20c)]();const _0x3ea6de=this['previous']()[_0x5b071e(0x1c4)];this['consume'](_0x5b071e(0x284),_0x5b071e(0x162)+_0x3ea6de+'\x27.');const _0x2ffc24=this[_0x5b071e(0x278)]();return this[_0x5b071e(0x188)](_0x5b071e(0x294),_0x5b071e(0x17f)),{'type':_0x5b071e(0x254),'name':_0x3ea6de,'arg':_0x2ffc24,'hasMillimeterSuffix':this[_0x5b071e(0x28e)]()};}if(this[_0x5b071e(0x253)](_0x5b071e(0x284))){this[_0x5b071e(0x20c)]();const _0x42154c=this[_0x5b071e(0x278)]();if(!_0x42154c)throw new Error('Expected\x20expression\x20inside\x20parentheses.');return this[_0x5b071e(0x188)](_0x5b071e(0x294),'Expected\x20\x27)\x27\x20after\x20expression.'),{'type':_0x5b071e(0x24f),'expression':_0x42154c,'hasMillimeterSuffix':this[_0x5b071e(0x28e)]()};}if(this[_0x5b071e(0x253)](_0x5b071e(0x294)))throw new Error(_0x5b071e(0x187));if(this[_0x5b071e(0x253)](_0x5b071e(0x1cd))){this[_0x5b071e(0x20c)]();let _0x504d79=this[_0x5b071e(0x144)]();return this['consume'](_0x5b071e(0x27d),'Expected\x20\x27}\x27\x20after\x20expression.'),_0x504d79[_0x5b071e(0x13e)]==='Section'&&_0x504d79[_0x5b071e(0x26e)][_0x5b071e(0x13e)]===_0x5b071e(0x1c2)&&(_0x504d79=_0x504d79[_0x5b071e(0x26e)]),{'type':_0x5b071e(0x28a),'toRepeat':_0x504d79,'hasMillimeterSuffix':this[_0x5b071e(0x28e)]()};}if(this[_0x5b071e(0x253)]('LEFT_ANGLE_BRACKET'))return this[_0x5b071e(0x144)]();throw new Error(_0x5b071e(0x2ae)+this['peek']()[_0x5b071e(0x1c4)]);}catch(_0xbd54cd){throw new Error(_0x5b071e(0x2bf)+_0xbd54cd[_0x5b071e(0x145)]);}}[a0_0x5acb87(0x253)](_0x541935){const _0x9e4032=a0_0x5acb87;return this[_0x9e4032(0x2cb)]()?!0x1:this[_0x9e4032(0x149)]()[_0x9e4032(0x13e)]===_0x541935;}['advance'](){const _0x32303a=a0_0x5acb87;return this[_0x32303a(0x2cb)]()||this[_0x32303a(0x25e)]++,this[_0x32303a(0x189)]();}[a0_0x5acb87(0x188)](_0xff8340,_0x84b373){const _0x3920f4=a0_0x5acb87;if(this[_0x3920f4(0x253)](_0xff8340))return this[_0x3920f4(0x20c)]();throw new Error(_0x84b373);}[a0_0x5acb87(0x2cb)](){const _0x487c31=a0_0x5acb87;return this[_0x487c31(0x25e)]>=this[_0x487c31(0x29c)][_0x487c31(0x29d)];}[a0_0x5acb87(0x149)](){const _0x35d191=a0_0x5acb87;return this[_0x35d191(0x29c)][this[_0x35d191(0x25e)]];}[a0_0x5acb87(0x189)](){const _0x5a6ad2=a0_0x5acb87;return this[_0x5a6ad2(0x29c)][this[_0x5a6ad2(0x25e)]-0x1];}},be=_0x3d4b79=>_0x3d4b79[a0_0x5acb87(0x13e)]===a0_0x5acb87(0x1f5)&&_0x3d4b79[a0_0x5acb87(0x19e)]==='n';function lt(_0x4a08d6,_0x1fc804){const _0x4a7d9f=a0_0x5acb87;if(_0x4a08d6[_0x4a7d9f(0x2ba)][_0x4a7d9f(0x13e)]===_0x4a7d9f(0x1f5)&&_0x4a08d6[_0x4a7d9f(0x2ba)]['name']==='n')return new D('Cannot\x20have\x20n\x20in\x20the\x20right\x20side\x20of\x20an\x20expression');const _0x3dc9dc=be(_0x4a08d6['left'])?_0x4a08d6[_0x4a7d9f(0x2bb)]:this[_0x4a7d9f(0x221)](_0x4a08d6[_0x4a7d9f(0x2bb)]),_0x37d621=be(_0x4a08d6[_0x4a7d9f(0x2ba)])?_0x4a08d6[_0x4a7d9f(0x2ba)]:this[_0x4a7d9f(0x221)](_0x4a08d6[_0x4a7d9f(0x2ba)]);if(_0x3dc9dc instanceof D)return _0x3dc9dc;if(_0x37d621 instanceof D)return _0x37d621;const _0x547e41=_0x3dc9dc[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x155)&&_0x37d621[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x155),_0x416d6b=_0x547e41?_0x3dc9dc[_0x4a7d9f(0x14f)]===_0x37d621[_0x4a7d9f(0x14f)]:!0x1,_0x447ae7=_0x1cbbc2=>_0x1cbbc2[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x28a);switch(_0x4a08d6['operator']){case'+':return _0x547e41&&_0x416d6b&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x1?{'type':'NumberLiteral','value':_0x3dc9dc[_0x4a7d9f(0x2b0)]+_0x37d621[_0x4a7d9f(0x2b0)],'hasMillimeterSuffix':_0x3dc9dc[_0x4a7d9f(0x14f)]===!0x0||_0x37d621[_0x4a7d9f(0x14f)]===!0x0,'spreadMm':_0x3dc9dc[_0x4a7d9f(0x1a7)]||_0x37d621[_0x4a7d9f(0x1a7)]}:_0x547e41&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x0?{'type':_0x4a7d9f(0x155),'value':_0x3dc9dc['value']+_0x37d621[_0x4a7d9f(0x2b0)],'spreadMm':_0x3dc9dc[_0x4a7d9f(0x14f)]||_0x37d621[_0x4a7d9f(0x14f)]}:{'type':_0x4a7d9f(0x296),'operator':'+','left':_0x3dc9dc,'right':_0x37d621};case'*':return _0x547e41&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x0?{'type':'NumberLiteral','value':_0x3dc9dc[_0x4a7d9f(0x2b0)]*_0x37d621[_0x4a7d9f(0x2b0)],'hasMillimeterSuffix':_0x3dc9dc[_0x4a7d9f(0x14f)]===!0x0||_0x37d621[_0x4a7d9f(0x14f)]===!0x0,'spreadMm':_0x3dc9dc['spreadMm']||_0x37d621[_0x4a7d9f(0x1a7)]}:_0x447ae7(_0x37d621)&&_0x3dc9dc[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x155)?{'type':'Repeated','toRepeat':_0x37d621[_0x4a7d9f(0x19d)],'times':Math[_0x4a7d9f(0x234)](_0x3dc9dc[_0x4a7d9f(0x2b0)]),'hasMillimeterSuffix':_0x37d621[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x155)&&_0x37d621[_0x4a7d9f(0x14f)]||!0x1}:_0x1fc804?.[_0x4a7d9f(0x241)]==!0x1&&_0x3dc9dc[_0x4a7d9f(0x13e)]!=='SpecialVariable'&&_0x3dc9dc[_0x4a7d9f(0x19e)]!=='n'?new D(_0x4a7d9f(0x2c2)):_0x3dc9dc[_0x4a7d9f(0x13e)]===_0x4a7d9f(0x1f5)?{'type':_0x4a7d9f(0x296),'operator':'*','left':_0x3dc9dc,'right':{'type':'NumberLiteral','value':_0x37d621[_0x4a7d9f(0x2b0)],'hasMillimeterSuffix':!0x0}}:{'type':_0x4a7d9f(0x296),'operator':'*','left':_0x3dc9dc,'right':_0x37d621,'hasMillimeterSuffix':_0x3dc9dc[_0x4a7d9f(0x14f)]||_0x37d621[_0x4a7d9f(0x14f)]};case'/':if(_0x547e41&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x0)return{'type':_0x4a7d9f(0x155),'value':_0x3dc9dc[_0x4a7d9f(0x2b0)]/_0x37d621[_0x4a7d9f(0x2b0)],'hasMillimeterSuffix':_0x3dc9dc[_0x4a7d9f(0x14f)]===!0x0||_0x37d621[_0x4a7d9f(0x14f)]===!0x0};if(_0x1fc804?.['isInsideGroup']==!0x1)return new D(_0x4a7d9f(0x11a));case'-':return _0x547e41&&_0x416d6b&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x1?{'type':_0x4a7d9f(0x155),'value':_0x3dc9dc[_0x4a7d9f(0x2b0)]-_0x37d621['value'],'hasMillimeterSuffix':_0x3dc9dc['hasMillimeterSuffix']===!0x0||_0x37d621['hasMillimeterSuffix']===!0x0,'spreadMm':_0x3dc9dc['spreadMm']||_0x37d621[_0x4a7d9f(0x1a7)]}:_0x547e41&&_0x1fc804?.[_0x4a7d9f(0x241)]==!0x0?{'type':_0x4a7d9f(0x155),'value':_0x3dc9dc['value']-_0x37d621[_0x4a7d9f(0x2b0)],'spreadMm':_0x3dc9dc[_0x4a7d9f(0x14f)]||_0x37d621['hasMillimeterSuffix']}:{'type':_0x4a7d9f(0x296),'operator':'-','left':_0x3dc9dc,'right':_0x37d621};default:throw new D(_0x4a7d9f(0x127));}}function ct(_0x460845,_0x4448c2){const _0xaafd72=a0_0x5acb87,_0x20361d=this[_0xaafd72(0x221)](_0x460845['arg']);if(_0x20361d instanceof D)throw new D(_0xaafd72(0x18a));switch(_0x460845[_0xaafd72(0x19e)][_0xaafd72(0x1b0)]()){case _0xaafd72(0x27a):return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x27a)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.['isInsideGroup']===!0x1};case _0xaafd72(0x124):return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x124)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x171):return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x171)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d['hasMillimeterSuffix'],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x129):return{'type':_0xaafd72(0x155),'value':Math['atan'](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.['isInsideGroup']===!0x1};case'cos':return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x2c9)](_0x20361d['value']),'hasMillimeterSuffix':_0x20361d['hasMillimeterSuffix'],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x1d9):return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x1d9)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.['isInsideGroup']===!0x1};case _0xaafd72(0x2c8):return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x2c8)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x234):return{'type':'NumberLiteral','value':Math[_0xaafd72(0x234)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.['isInsideGroup']===!0x1};case _0xaafd72(0x12f):return{'type':_0xaafd72(0x155),'value':_0x20361d[_0xaafd72(0x2b0)]*(0xb4/Math['PI']),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x146):return{'type':_0xaafd72(0x155),'value':_0x20361d[_0xaafd72(0x2b0)]*(Math['PI']/0xb4),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case'in2mm':return{'type':_0xaafd72(0x155),'value':_0x20361d['value']*25.4,'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case _0xaafd72(0x29a):return{'type':'NumberLiteral','value':_0x20361d[_0xaafd72(0x2b0)]/25.4,'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case'ln':return{'type':_0xaafd72(0x155),'value':Math[_0xaafd72(0x199)](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};case'log10':return{'type':'NumberLiteral','value':Math['log10'](_0x20361d[_0xaafd72(0x2b0)]),'hasMillimeterSuffix':_0x20361d[_0xaafd72(0x14f)],'spreadMm':_0x4448c2?.[_0xaafd72(0x241)]===!0x1};default:throw new D('Function\x20not\x20implemented');}}function ut(_0x417fc1){const _0x5d9e3b=a0_0x5acb87;if(!this[_0x5d9e3b(0x2b8)]||!(_0x417fc1['name']in this[_0x5d9e3b(0x2b8)]))throw new D(_0x5d9e3b(0x19a)+_0x417fc1['name']+_0x5d9e3b(0x19f));return{'type':'NumberLiteral','value':this['variables'][_0x417fc1[_0x5d9e3b(0x19e)]],'hasMillimeterSuffix':_0x417fc1[_0x5d9e3b(0x14f)]};}var ht=class{constructor(){const _0x4adb0d=a0_0x5acb87;A(this,_0x4adb0d(0x2b2),0x0),A(this,'variables',{}),A(this,_0x4adb0d(0x23f)),A(this,_0x4adb0d(0x24b)),A(this,_0x4adb0d(0x2ad)),(this[_0x4adb0d(0x23f)]=lt['bind'](this),this[_0x4adb0d(0x24b)]=ct[_0x4adb0d(0x16c)](this),this[_0x4adb0d(0x2ad)]=ut[_0x4adb0d(0x16c)](this));}[a0_0x5acb87(0x221)](_0x11dcc6,_0x31651a={'isInsideGroup':!0x1},_0x329f47){const _0x467bc0=a0_0x5acb87;this[_0x467bc0(0x2b2)]++;try{if(_0x329f47&&(this[_0x467bc0(0x2b8)]=_0x329f47),this[_0x467bc0(0x123)](_0x11dcc6))return this[_0x467bc0(0x261)](_0x11dcc6,_0x31651a);if(this[_0x467bc0(0x180)](_0x11dcc6)){const _0x15e36c=this[_0x467bc0(0x221)](_0x11dcc6[_0x467bc0(0x26e)],_0x31651a);return _0x15e36c instanceof D?new D(_0x467bc0(0x2a1)+JSON[_0x467bc0(0x2cc)](_0x11dcc6)):{..._0x11dcc6,'nodes':_0x15e36c};}if(this[_0x467bc0(0x18d)](_0x11dcc6)){if(_0x31651a[_0x467bc0(0x241)]){if(_0x11dcc6['hasMillimeterSuffix'])return{..._0x11dcc6,'spreadMm':!0x0};}else return _0x11dcc6;}if(this[_0x467bc0(0x219)](_0x11dcc6)){_0x31651a={..._0x31651a,'isInsideGroup':!0x0};const _0x1beaa8=this['evaluate'](_0x11dcc6['expression'],_0x31651a);return _0x1beaa8 instanceof D?_0x1beaa8:{..._0x1beaa8,'hasMillimeterSuffix':_0x11dcc6[_0x467bc0(0x14f)]};}if(this['isRepeated'](_0x11dcc6)){const _0x4e6471=this[_0x467bc0(0x221)](_0x11dcc6[_0x467bc0(0x19d)]);return _0x4e6471 instanceof D?_0x4e6471:{..._0x11dcc6,'toRepeat':_0x4e6471};}if(this[_0x467bc0(0x1a9)](_0x11dcc6))return this[_0x467bc0(0x23f)](_0x11dcc6,_0x31651a);if(this[_0x467bc0(0x24d)](_0x11dcc6))return{'type':'NumberLiteral','value':_0x11dcc6[_0x467bc0(0x17a)]==='-'?-0x1*_0x11dcc6['right'][_0x467bc0(0x2b0)]:_0x11dcc6['right'][_0x467bc0(0x2b0)],'hasMillimeterSuffix':_0x11dcc6[_0x467bc0(0x2ba)][_0x467bc0(0x14f)]};if(this['isFunctionCall'](_0x11dcc6))return this[_0x467bc0(0x24b)](_0x11dcc6,_0x31651a);if(this['isVariable'](_0x11dcc6)){if(this['variables'])return this[_0x467bc0(0x2ad)](_0x11dcc6);throw new D(_0x467bc0(0x1ec));}throw new D(_0x467bc0(0x270)+_0x11dcc6[_0x467bc0(0x13e)]);}catch(_0xa5e05e){throw new D(_0xa5e05e[_0x467bc0(0x145)]);}finally{this[_0x467bc0(0x2b2)]--;}}['isUnaryExpression'](_0x1134d6){const _0x2fdf36=a0_0x5acb87;return _0x1134d6['type']===_0x2fdf36(0x184);}[a0_0x5acb87(0x18d)](_0x1084a2){const _0x137ed7=a0_0x5acb87;return _0x1084a2[_0x137ed7(0x13e)]===_0x137ed7(0x155);}[a0_0x5acb87(0x109)](_0xf3b5a0){const _0x2dc18a=a0_0x5acb87;return _0xf3b5a0['type']===_0x2dc18a(0x20b)||_0xf3b5a0['type']===_0x2dc18a(0x1f5);}[a0_0x5acb87(0x1a9)](_0x345813){const _0x44d248=a0_0x5acb87;return _0x345813[_0x44d248(0x13e)]===_0x44d248(0x296);}['isFunctionCall'](_0x3be908){const _0x2303ea=a0_0x5acb87;return _0x3be908[_0x2303ea(0x13e)]==='FunctionCall';}[a0_0x5acb87(0x219)](_0x1cb99a){const _0x24c813=a0_0x5acb87;return _0x1cb99a[_0x24c813(0x13e)]===_0x24c813(0x24f);}['isRepeated'](_0x552656){const _0x35484c=a0_0x5acb87;return _0x552656[_0x35484c(0x13e)]===_0x35484c(0x28a);}[a0_0x5acb87(0x123)](_0x42dc63){const _0x41e7b2=a0_0x5acb87;return _0x42dc63[_0x41e7b2(0x13e)]==='Sections';}[a0_0x5acb87(0x180)](_0x517429){const _0x26539f=a0_0x5acb87;return _0x517429[_0x26539f(0x13e)]==='Section';}[a0_0x5acb87(0x261)](_0x3ecac9,_0x352069={'isInsideGroup':!0x1}){const _0x214c59=a0_0x5acb87;return{'type':'Sections','sections':_0x3ecac9[_0x214c59(0x144)]['map'](_0x415a58=>{const _0x382e46=_0x214c59,_0x4ef472=this[_0x382e46(0x221)](_0x415a58['nodes']);if(_0x4ef472 instanceof D)throw _0x4ef472;return{'type':_0x382e46(0x1c2),'nodes':_0x4ef472};})};}};function j(_0x49533b,_0xa5ca9d){const _0x2fe1e8=a0_0x5acb87;if(!_0x49533b)throw new D(_0x2fe1e8(0x242)+JSON['stringify'](_0x49533b));_0xa5ca9d(_0x49533b),_0x49533b[_0x2fe1e8(0x13e)]===_0x2fe1e8(0x17c)&&Array[_0x2fe1e8(0x18e)](_0x49533b[_0x2fe1e8(0x144)])?_0x49533b[_0x2fe1e8(0x144)][_0x2fe1e8(0x1b3)](_0x57daa3=>j(_0x57daa3,_0xa5ca9d)):_0x49533b[_0x2fe1e8(0x13e)]==='Section'&&_0x49533b[_0x2fe1e8(0x26e)]?j(_0x49533b[_0x2fe1e8(0x26e)],_0xa5ca9d):_0x49533b[_0x2fe1e8(0x13e)];}var ft=class{[a0_0x5acb87(0x13c)](_0x59bf4c,_0x47e757,_0x4e1f2f,_0x3060f1,_0x4e99ff,_0xc09e42,_0x910ee0,_0x14d2cf,_0x3af06a){const _0x45edd7=a0_0x5acb87;let _0xc6391c=0x0;if(_0x910ee0==='M'){for(let _0x1a74f9=0x1;_0x1a74f9<_0x59bf4c[_0x45edd7(0x144)][_0x45edd7(0x29d)]-0x1;_0x1a74f9++)_0xc6391c+=_0x3060f1;}if(_0x910ee0==='O'){for(let _0x26b826=0x1;_0x26b826<_0x59bf4c[_0x45edd7(0x144)][_0x45edd7(0x29d)]-0x1;_0x26b826++)_0xc6391c+=_0x3060f1*0x2;}return _0x4e99ff==='M'&&(_0xc6391c+=_0x47e757/0x2),_0x4e99ff==='O'&&(_0xc6391c+=_0x47e757),_0xc09e42==='M'&&(_0xc6391c+=_0x47e757/0x2),_0xc09e42==='O'&&(_0xc6391c+=_0x47e757),_0x3af06a==='M'&&(_0xc6391c+=_0x4e1f2f/0x2),_0x3af06a==='O'&&(_0xc6391c+=_0x4e1f2f),_0x14d2cf==='M'&&(_0xc6391c+=_0x4e1f2f/0x2),_0x14d2cf==='O'&&(_0xc6391c+=_0x4e1f2f),_0xc6391c;}},mt=class{[a0_0x5acb87(0x27c)](_0x1f3b26,_0x37819d=0x1f4,_0x3c565b=0x0,_0x4249e2){const _0x4be2e4=a0_0x5acb87;try{if(_0x1f3b26 instanceof D)throw _0x1f3b26;if(_0x1f3b26[_0x4be2e4(0x13e)]!=='Sections'&&_0x1f3b26[_0x4be2e4(0x13e)]!==_0x4be2e4(0x1c2))throw new D(_0x4be2e4(0x130)+JSON['stringify'](_0x1f3b26));let _0x3a2310={'type':_0x4be2e4(0x17c),'sections':[]};if(_0x1f3b26[_0x4be2e4(0x13e)]===_0x4be2e4(0x17c)){for(const _0x53698c of _0x1f3b26[_0x4be2e4(0x144)])if(_0x53698c[_0x4be2e4(0x26e)]['type']==='Repeated'&&_0x53698c[_0x4be2e4(0x26e)][_0x4be2e4(0x2ca)]){for(let _0x5899c5=0x0;_0x5899c5<(_0x53698c[_0x4be2e4(0x26e)]?.['times']??0x0);_0x5899c5++)if(_0x53698c['nodes']['toRepeat'][_0x4be2e4(0x13e)]===_0x4be2e4(0x1c2))_0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x224)](_0x53698c[_0x4be2e4(0x26e)][_0x4be2e4(0x19d)]);else{if(_0x53698c[_0x4be2e4(0x26e)][_0x4be2e4(0x19d)][_0x4be2e4(0x13e)]===_0x4be2e4(0x17c)){for(const _0x3dbe48 of _0x53698c['nodes'][_0x4be2e4(0x19d)]['sections'])_0x3a2310['sections'][_0x4be2e4(0x224)](_0x3dbe48);}}}else _0x3a2310[_0x4be2e4(0x144)]['push'](_0x53698c);}else _0x1f3b26[_0x4be2e4(0x13e)]===_0x4be2e4(0x1c2)&&_0x3a2310['sections'][_0x4be2e4(0x224)](_0x1f3b26);if(_0x4249e2){const _0x411014=new ft()[_0x4be2e4(0x13c)](_0x3a2310,_0x4249e2[_0x4be2e4(0x2c1)],_0x4249e2[_0x4be2e4(0x29b)],_0x3c565b,_0x4249e2['sizerefout1'],_0x4249e2[_0x4be2e4(0x1be)],_0x4249e2[_0x4be2e4(0x23e)],_0x4249e2[_0x4be2e4(0x1d4)],_0x4249e2['sizerefout2']);}_0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x1b3)](_0x4da749=>{let _0x28c72c=!0x1;j(_0x4da749,_0x583bec=>{const _0x1229f4=a0_0x9d0a;_0x583bec['type']==='NumberLiteral'?_0x583bec?.[_0x1229f4(0x1a7)]===!0x0&&(_0x28c72c=!0x0):_0x583bec['type']===_0x1229f4(0x296)&&_0x583bec[_0x1229f4(0x2bb)]['type']===_0x1229f4(0x155)&&(_0x583bec[_0x1229f4(0x2bb)]?.['spreadMm']===!0x0&&(_0x28c72c=!0x0),_0x583bec[_0x1229f4(0x2ba)]?.['spreadMm']===!0x0&&(_0x28c72c=!0x0));}),_0x28c72c&&j(_0x4da749,_0x36ce6b=>{const _0x5ed509=a0_0x9d0a;_0x36ce6b['type']===_0x5ed509(0x155)?_0x36ce6b[_0x5ed509(0x14f)]=!0x0:_0x36ce6b['type']===_0x5ed509(0x296)&&(_0x36ce6b[_0x5ed509(0x2bb)][_0x5ed509(0x13e)]===_0x5ed509(0x155)&&(_0x36ce6b[_0x5ed509(0x2bb)][_0x5ed509(0x14f)]=!0x0),_0x36ce6b[_0x5ed509(0x2ba)][_0x5ed509(0x13e)]==='NumberLiteral'&&(_0x36ce6b[_0x5ed509(0x2ba)]['hasMillimeterSuffix']=!0x0));});});let _0x1e26ff=0x0;const _0x401460=_0x43e731=>{const _0x3abd1d=_0x4be2e4;if(_0x3c565b&&_0x43e731['type']===_0x3abd1d(0x1c2)&&(_0x1e26ff+=_0x3c565b),_0x43e731[_0x3abd1d(0x13e)]==='NumberLiteral')_0x43e731[_0x3abd1d(0x14f)]===!0x0&&(_0x1e26ff+=_0x43e731['value']);else{if(_0x43e731[_0x3abd1d(0x13e)]==='BinaryExpression'){const _0x578e23=_0x43e731;_0x578e23['left'][_0x3abd1d(0x13e)]===_0x3abd1d(0x155)&&_0x578e23['right'][_0x3abd1d(0x13e)]===_0x3abd1d(0x155)&&(_0x578e23['left']['hasMillimeterSuffix']===!0x0&&(_0x1e26ff+=_0x578e23[_0x3abd1d(0x2bb)][_0x3abd1d(0x2b0)]),_0x578e23['right'][_0x3abd1d(0x14f)]===!0x0&&(_0x1e26ff+=_0x578e23[_0x3abd1d(0x2ba)][_0x3abd1d(0x2b0)]));}}};if(_0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x1b3)](_0x1f053e=>j(_0x1f053e,_0x401460)),_0x1e26ff>_0x37819d)throw new D(_0x4be2e4(0x141));let _0x4bd898=_0x37819d-_0x1e26ff+_0x3c565b,_0x999a4c=0x0;const _0x5f5db8=_0x484d6f=>{const _0x27d753=_0x4be2e4;if(_0x484d6f[_0x27d753(0x13e)]===_0x27d753(0x296)){const _0x7e9484=_0x484d6f;if(_0x7e9484[_0x27d753(0x2ba)][_0x27d753(0x13e)]===_0x27d753(0x155)&&_0x7e9484[_0x27d753(0x2bb)][_0x27d753(0x13e)]==='SpecialVariable'&&_0x7e9484[_0x27d753(0x2bb)][_0x27d753(0x19e)]==='n'&&_0x7e9484[_0x27d753(0x17a)]==='*'){_0x999a4c=Math[_0x27d753(0x24a)](_0x4bd898/(_0x7e9484[_0x27d753(0x2ba)][_0x27d753(0x2b0)]+_0x3c565b));const _0x21c2a3=(_0x999a4c-0x1)*_0x3c565b,_0x3e4090=_0x999a4c*_0x7e9484[_0x27d753(0x2ba)][_0x27d753(0x2b0)];_0x4bd898+=-_0x21c2a3-_0x3e4090;}}};_0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x1b3)](_0x51a576=>j(_0x51a576,_0x5f5db8));let _0x4bcff6=0x0;const _0x4387ef=_0x5acd64=>{const _0x2799a6=_0x4be2e4;_0x5acd64['type']==='BinaryExpression'&&(_0x5acd64[_0x2799a6(0x2bb)]['type']==='NumberLiteral'&&_0x5acd64[_0x2799a6(0x2bb)]['hasMillimeterSuffix']===!0x1&&(_0x4bcff6+=_0x5acd64[_0x2799a6(0x2bb)][_0x2799a6(0x2b0)]),_0x5acd64['right'][_0x2799a6(0x13e)]==='NumberLiteral'&&_0x5acd64[_0x2799a6(0x2ba)]['hasMillimeterSuffix']===!0x1&&(_0x4bcff6+=_0x5acd64[_0x2799a6(0x2ba)][_0x2799a6(0x2b0)])),_0x5acd64[_0x2799a6(0x13e)]===_0x2799a6(0x155)&&_0x5acd64[_0x2799a6(0x14f)]===!0x1&&(_0x4bcff6+=_0x5acd64[_0x2799a6(0x2b0)]);};_0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x1b3)](_0x3554cb=>{j(_0x3554cb,_0x4387ef);});const _0x39c5b9=_0x4bd898/_0x4bcff6,_0x5cd062=[],_0x323887=_0x3f0293=>{const _0x6a9e14=_0x4be2e4;let _0x1bd225=0x0,_0x5cde50=0x0;if(_0x3f0293['type']==='NumberLiteral')_0x3f0293[_0x6a9e14(0x14f)]===!0x1&&(_0x1bd225+=_0x3f0293[_0x6a9e14(0x2b0)]*_0x39c5b9),_0x3f0293[_0x6a9e14(0x14f)]===!0x0&&(_0x5cde50+=_0x3f0293['value']),_0x5cd062[_0x6a9e14(0x224)](Number((_0x1bd225+_0x5cde50)[_0x6a9e14(0x226)](0x2)));else{if(_0x3f0293['type']===_0x6a9e14(0x296)&&(_0x3f0293[_0x6a9e14(0x2bb)][_0x6a9e14(0x13e)]===_0x6a9e14(0x155)&&_0x3f0293['right'][_0x6a9e14(0x13e)]==='NumberLiteral'&&(_0x3f0293[_0x6a9e14(0x2bb)][_0x6a9e14(0x14f)]===!0x1&&(_0x1bd225+=_0x3f0293['left'][_0x6a9e14(0x2b0)]*_0x39c5b9),_0x3f0293[_0x6a9e14(0x2bb)][_0x6a9e14(0x14f)]===!0x0&&(_0x5cde50+=_0x3f0293[_0x6a9e14(0x2bb)][_0x6a9e14(0x2b0)]),_0x3f0293[_0x6a9e14(0x2ba)][_0x6a9e14(0x14f)]===!0x1&&(_0x1bd225+=_0x3f0293[_0x6a9e14(0x2ba)][_0x6a9e14(0x2b0)]*_0x39c5b9),_0x3f0293[_0x6a9e14(0x2ba)]['hasMillimeterSuffix']===!0x0&&(_0x5cde50+=_0x3f0293[_0x6a9e14(0x2ba)][_0x6a9e14(0x2b0)]),_0x5cd062[_0x6a9e14(0x224)](Number((_0x1bd225+_0x5cde50)[_0x6a9e14(0x226)](0x2)))),_0x3f0293[_0x6a9e14(0x2bb)]['type']===_0x6a9e14(0x1f5)&&_0x3f0293[_0x6a9e14(0x2bb)]['name']==='n'&&_0x3f0293['right']['type']===_0x6a9e14(0x155))){_0x5cde50+=_0x3f0293['right'][_0x6a9e14(0x2b0)];for(let _0x2cbee5=0x0;_0x2cbee5<_0x999a4c;_0x2cbee5++)_0x3f0293[_0x6a9e14(0x2ba)]['hasMillimeterSuffix']===!0x0&&_0x5cd062[_0x6a9e14(0x224)](Number(_0x5cde50[_0x6a9e14(0x226)](0x2)));}}};return _0x3a2310[_0x4be2e4(0x144)][_0x4be2e4(0x1b3)](_0x58dfff=>{j(_0x58dfff,_0x323887);}),_0x5cd062;}catch{return new D('Error\x20calculating\x20sections');}}},pt=new at(),dt=new ot(),gt=new ht(),xt=(_0x461fc5,_0x4665c8,_0x289d2e,_0x3ac57f)=>{const _0xeef79=a0_0x5acb87;try{const _0x26a78e=pt[_0xeef79(0x1af)](_0x461fc5),_0x2a6251=dt[_0xeef79(0x229)](_0x26a78e),_0x32ec0b=gt[_0xeef79(0x221)](_0x2a6251,{},_0x3ac57f);if(_0x32ec0b&&!(_0x32ec0b instanceof D)){const _0x27b8db=new mt()[_0xeef79(0x27c)](_0x32ec0b,_0x4665c8,_0x289d2e);if(_0x27b8db&&_0x27b8db instanceof D)throw new Error(_0x27b8db[_0xeef79(0x145)]);return _0x27b8db;}return _0x32ec0b||new D(_0xeef79(0x2a8));}catch(_0x2af854){return new D(_0x2af854['message']);}};function Et(_0x220b51){const _0x489e6f=a0_0x5acb87,_0x588daa=/^(\d+)\*\{(\d+)\}$/,_0xe10770=_0x220b51[_0x489e6f(0x29e)](_0x588daa);if(_0xe10770){const _0x24adc5=parseInt(_0xe10770[0x1],0xa),_0x46f3bc=_0xe10770[0x2];return _0x24adc5>0x0?Array(_0x24adc5)['fill'](_0x46f3bc)['join'](':'):'';}return _0x220b51;}function St(_0x498b77){const _0x230b0a=a0_0x5acb87,_0x4bcb85=_0x498b77[_0x230b0a(0x13f)]()[_0x230b0a(0x29e)](/^(\d+(?:\.\d+)?)\s*\*\s*\{.+\}$/);return _0x4bcb85?Number(_0x4bcb85[0x1]):_0x498b77;}function vt(_0x420645,_0x511ba0,_0x494f44){const _0x898d45=a0_0x5acb87;let _0x42ebe9=0x0;const {LINDIV1:_0x29301b,DIVDIR:_0x4c7365,HORDEFTYPE:_0x27c3c4,DIVELEM1:_0x2eb989}=_0x420645;let _0x4a6b29=_0x898d45(0x16a),_0x5da330=!0x1;if(_0x29301b==='')return{'divisionType':_0x4a6b29,'zone_dimensions':[],'divided_length_list':[]};if(_0x4c7365==='H'){if(_0x27c3c4==='W')_0x42ebe9=_0x511ba0[_0x898d45(0x16a)],_0x4a6b29=_0x898d45(0x16a);else{if(_0x27c3c4==='D')_0x42ebe9=_0x511ba0[_0x898d45(0x1b9)],_0x4a6b29='depth';else{if(_0x27c3c4==='P'){if(_0x2eb989===0x0||_0x2eb989===0x2)_0x42ebe9=_0x511ba0[_0x898d45(0x16a)],_0x4a6b29=_0x898d45(0x16a);else{if(_0x2eb989===0x1||_0x2eb989===0x3)_0x42ebe9=_0x511ba0[_0x898d45(0x1b9)],_0x4a6b29=_0x898d45(0x1b9);else throw new Error(_0x898d45(0x281)+_0x2eb989);}}else throw new Error('Unhandled\x20case:\x20HORDEFTYPE\x20=\x20'+_0x27c3c4);}}}else{if(_0x4c7365==='V')_0x42ebe9=_0x511ba0[_0x898d45(0x1e4)],_0x4a6b29=_0x898d45(0x1e4);else{if(_0x4c7365==='A')_0x42ebe9=_0x511ba0[_0x898d45(0x16a)],_0x4a6b29='article';else{if(_0x4c7365==='I')_0x42ebe9=_0x511ba0['width'],_0x4a6b29=_0x898d45(0x172);else throw new Error(_0x898d45(0x1d8)+_0x4c7365);}}}let _0x4f47d0=[];const _0x51d817=Et(_0x29301b);if(_0x4a6b29===_0x898d45(0x172)){const _0x232dd3=St(_0x29301b);_0x4f47d0=Array(_0x232dd3)[_0x898d45(0x153)](_0x42ebe9);}else _0x4a6b29==='article'?_0x4f47d0=[_0x42ebe9]:_0x4f47d0=xt(_0x51d817,_0x42ebe9,_0x494f44);if(!Array[_0x898d45(0x18e)](_0x4f47d0))return{'divisionType':_0x4a6b29,'zone_dimensions':[],'divided_length_list':[]};_0x27c3c4==='P'&&(_0x2eb989===0x2||_0x2eb989===0x3)&&(_0x5da330=!0x0,_0x4f47d0=[..._0x4f47d0][_0x898d45(0x1c8)]());const _0x4d4b4a=_0x4f47d0[_0x898d45(0x1ce)](_0xedb79c=>{const _0xda65af=_0x898d45;if(_0x4a6b29==='width')return{'width':_0xedb79c,'height':_0x511ba0[_0xda65af(0x1e4)],'depth':_0x511ba0['depth']};if(_0x4a6b29==='depth')return{'width':_0x511ba0['width'],'height':_0x511ba0['height'],'depth':_0xedb79c};if(_0x4a6b29===_0xda65af(0x1e4))return{'width':_0x511ba0[_0xda65af(0x16a)],'height':_0xedb79c,'depth':_0x511ba0['depth']};if(_0x4a6b29===_0xda65af(0x1ca)||_0x4a6b29===_0xda65af(0x172))return{'width':_0x511ba0[_0xda65af(0x16a)],'height':_0x511ba0[_0xda65af(0x1e4)],'depth':_0x511ba0['depth']};throw new Error(_0xda65af(0x1d8)+_0x4c7365);});return{'isReversed':_0x5da330,'zone_dimensions':_0x4d4b4a,'divisionType':_0x4a6b29,'divided_length_list':_0x4f47d0};}function Tt({divisionType:_0xc0abb7,parentDimensions:_0x3f0fb8,lengthList:_0x3798e4,childTREEIDs:_0x516c5e,dividerThk:_0x4057d8}){const _0x266412=a0_0x5acb87,_0x4a9fa3=-_0x3f0fb8[_0x266412(0x16a)]/0x2,_0xd7b820=-_0x3f0fb8[_0x266412(0x1b9)]/0x2,_0xc3eca2=-_0x3f0fb8[_0x266412(0x1e4)]/0x2;return{'childPositions':_0x3798e4[_0x266412(0x1a2)]((_0x4f2f37,_0x3c7a2c,_0x532564)=>{const _0x54240a=_0x266412;let _0x51a86c=0x0,_0x5d32ee=0x0,_0x18235b=0x0,_0x1f2344;return _0xc0abb7===_0x54240a(0x16a)?(_0x51a86c=_0x4a9fa3+_0x4f2f37['cumulativeX']+_0x3c7a2c/0x2,_0x5d32ee=0x0,_0x18235b=0x0,_0x1f2344={'width':_0x3c7a2c,'height':_0x3f0fb8[_0x54240a(0x1e4)],'depth':_0x3f0fb8[_0x54240a(0x1b9)]},_0x4f2f37[_0x54240a(0x1db)]+=_0x3c7a2c+_0x4057d8):_0xc0abb7===_0x54240a(0x1b9)?(_0x51a86c=0x0,_0x5d32ee=_0xd7b820+_0x4f2f37[_0x54240a(0x21b)]+_0x3c7a2c/0x2,_0x18235b=0x0,_0x1f2344={'width':_0x3f0fb8['width'],'height':_0x3f0fb8[_0x54240a(0x1e4)],'depth':_0x3c7a2c},_0x4f2f37['cumulativeY']+=_0x3c7a2c+_0x4057d8):_0xc0abb7===_0x54240a(0x172)||_0xc0abb7==='article'?(_0x51a86c=0x0,_0x5d32ee=0x0,_0x18235b=0x0,_0x1f2344={'width':_0x3c7a2c,'height':_0x3f0fb8['height'],'depth':_0x3f0fb8['depth']}):(_0x51a86c=0x0,_0x5d32ee=0x0,_0x18235b=_0xc3eca2+_0x4f2f37[_0x54240a(0x251)]+_0x3c7a2c/0x2,_0x1f2344={'width':_0x3f0fb8['width'],'height':_0x3c7a2c,'depth':_0x3f0fb8[_0x54240a(0x1b9)]},_0x4f2f37[_0x54240a(0x251)]+=_0x3c7a2c+_0x4057d8),_0x4f2f37['positions'][_0x54240a(0x224)]({'x':_0x51a86c,'y':_0x5d32ee,'z':_0x18235b,'zone_dims':_0x1f2344,'TREEID':_0x516c5e[_0x532564]}),_0x4f2f37;},{'cumulativeX':0x0,'cumulativeY':0x0,'cumulativeZ':0x0,'positions':[]})[_0x266412(0x177)],'dividerType':_0xc0abb7};}function Nt(_0x1c4410){return{'front':ee(Re(_0x1c4410)),'left':ee(Fe(_0x1c4410)),'right':ee(Ve(_0x1c4410)),'back':ee(je(_0x1c4410))};}function Mt(_0x51611b,_0x52d0cb,_0x312cc9){const _0x2a0a56=a0_0x5acb87;return{'front':_0x51611b[_0x2a0a56(0x1cf)]?.[_0x2a0a56(0x2be)]||0x0,'right':_0x51611b[_0x2a0a56(0x2ba)]?.[_0x2a0a56(0x2be)]||0x0,'back':_0x51611b[_0x2a0a56(0x2aa)]?.[_0x2a0a56(0x2be)]||0x0,'left':_0x51611b['left']?.[_0x2a0a56(0x2be)]||0x0,'top':_0x52d0cb,'bottom':_0x312cc9};}function yt(_0xfad39){const _0x5cf664=a0_0x5acb87;return{'front':_0xfad39[_0x5cf664(0x1cf)]?.[_0x5cf664(0x168)]||0x0,'right':_0xfad39[_0x5cf664(0x2ba)]?.[_0x5cf664(0x168)]||0x0,'back':_0xfad39[_0x5cf664(0x2aa)]?.[_0x5cf664(0x168)]||0x0,'left':_0xfad39[_0x5cf664(0x2bb)]?.[_0x5cf664(0x168)]||0x0};}function a0_0x45ad(){const _0x3ba033=['thead','cumulativeY','addToken','useDescriptorEvaluation','LINEAR_DIVISION','SIZEY','CPNAME','evaluate','jsxs','size','push','descriptors','toFixed','lindiv','TAGNAME','parse','bottomShelfThk','Evaluation\x20Error:\x20','createContext','number','TAGVALUE','test','values','TOPTRIM','Failed\x20to\x20parse\x20factor:\x20','Materials','round','2D_FRONT','_3D','topShelfCP','INSETFOR','ArticleProvider','errors','front\x20','get3D','rawType','sizerefmid','evaluateBinaryExpression','findAllNonDefaultMatches','isInsideGroup','unsupported\x20node\x20type\x20to\x20traverse:\x20','wasEvaluated','useEffect','black','right\x20','expr:ratio','Failed\x20to\x20parse\x20term:\x20','scanNumber','floor','evaluateFunction','middle','isUnaryExpression','meshStandardMaterial','Grouping','getClieThk','cumulativeZ','translate(','check','FunctionCall','left\x20','defineProperty','filter','Variable\x20Controller','react','SPECIAL_VARIABLE','useDescriptorManager','zoneInfo','toISOString','current','primary','RIGHTVALUE','evaluateSections','Math.floor(','prim_dims','ARTICLE','path','conditionId','5192SpqSms','position','var-controller__header','useMemo','NOT','linearDivisionDescriptor','label','nodes','roots','unsupported\x20node\x20type:\x20','reference','COMPARISONTYPE','ratio:expr','FUNCTION','LEFTVALUE','Math.pow(','string','expression','var-controller__stats','abs','filter4','calculateSections','BRACE_CLOSE','Failed\x20to\x20parse\x20expression:\x20','resolved','Module','Unhandled\x20case:\x20DIVELEM1\x20=\x20','toString','toStringTag','PAREN_OPEN','linearDivision','valueSource','tree','from','source','Repeated','substring','set','ENDTRIM','consumeMillimeterSuffix','Top\x20','No\x20prims\x20found\x20for\x20article:\x20','updatedDivider','variableTree','10nhqimG','PAREN_CLOSE','INSET','BinaryExpression','section','BOTOFFS','useZoneSelection\x20must\x20be\x20used\x20within\x20DataProvider','mm2in','endPanelThk','tokens','length','match','mesh','useArticle\x20must\x20be\x20used\x20within\x20an\x20ArticleProvider','Error\x20in\x20section\x20','Invalid\x20condition:\x20','currentZone','end','VariableResolver','cache','DescriptorContext','Unknown\x20error\x20during\x20evaluation.','AD\x20article\x20width','back','anglgrtx','zone_dims','evaluateVariable','Unexpected\x20token:\x20','bottom','value','SIZEX','nestingLevel','Expected\x20digit\x20after\x20decimal\x20point\x20at\x20position:\x20','3590480UJUFim','Variable\x20Name','DIVDIR','ENDOFFS','variables','IAC_THICKNESS','right','left','anglelem','undefined','thk','Failed\x20to\x20parse\x20primary:\x20','scanIdentifierOrFunction','startPanelThk','cannot\x20have\x20*\x20outside\x20of\x20group','VERSION','oversize','DataProvider','RIGHT_ANGLE_BRACKET','BRACKET_OPEN','tan','cos','times','isAtEnd','stringify','resetState','isVariable','DIMCALCFY','useState','divisionType','=========================================================\x20\x20Designer\x20\x20\x20===============================================================================================','#ff6b00','var-controller__type-badge','useDescriptorManager\x20must\x20be\x20used\x20within\x20a\x20DescriptorProvider','Provider','1.0.0','useCallback','blue','Unknown\x20identifier:\x20','endsWith','25%','nodeNum','has','cannot\x20have\x20\x20/\x20outside\x20of\x20group','includes','IAC_TOPSHELFTHICKNESS','preformScan','Descriptor\x20','HORDEFTYPE','error','Designer','DIMCALCFZ','isSections','acos','lastIndexOf','getDescriptorsByType','Invalid\x20Operator',')\x20rotate(90)','atan','Back\x20','2D_TOP','childPositions','dimensions','symbol','bog2deg','Expected\x20Sections\x20or\x20Section,\x20got\x20','ExtrudeGeometry','Material','TEXT','Math.min(','isDigit','toLocaleLowerCase','BRACKET_CLOSE','moveTo','DIMCALCFX','keys','some','accumulateIncorporatedThicknesses','Bot\x20','type','trim','getStats','Total\x20length\x20exceeded','Shape','data','sections','message','deg2bog','Unknown\x20error','IF\x20statement\x20must\x20have\x20exactly\x203\x20parts:\x20IF(condition,\x20trueValue,\x20falseValue).\x20Got:\x20','peek','Surface','Quick\x20Stats','var-controller__slider-container','AD\x20article\x20depth','[ExpressionResolver]\x20Failed\x20to\x20resolve:\x20\x22','hasMillimeterSuffix','var-controller__section-title','default','_2D_TOP','fill','Math.max(','NumberLiteral','Circular\x20dependency:\x20','Failed\x20to\x20evaluate\x20expression:\x20','start','3YxZdRs','15%','Total\x20variables:\x20','reportError','STARTTRIM','getDescriptorNames','freeze','Type','Variable\x20name\x20cannot\x20be\x20empty\x20or\x20$mm','Expected\x20\x27(\x27\x20after\x20function\x20name\x20\x27','term','TREEID','anglGrtxs','pointer','every','inset','resetCurrent','width','descriptor','bind','thickness','35ChkHYu','scanMm','#0066ff','asin','independent','var-controller__table','7893PRbjqu','startsWith','IAC_BOTTOMSHELFTHICKNESS','positions','DataContext','kind','operator','split','Sections','scale(1,-1)','jsx','Expected\x20\x27)\x27\x20after\x20function\x20arguments.','isSection','Expected\x20\x27>\x27\x20after\x20section\x20expression.','DIVELEM1','topShelfThk','UnaryExpression','AND','EOF','Unexpected\x20\x27)\x27\x20without\x20a\x20matching\x20\x27(\x27.','consume','previous','Error\x20in\x20function\x20arguments','TOPSHELF','dividerThk','isNumberLiteral','isArray','Reference','find','peekNext','\x20parts','Fragment','TYP','NUMBER','span','VIEW','Empty\x20input\x20string','log','Variable\x20','WERT','Surfaces','toRepeat','name','\x20is\x20not\x20defined.','operation','useVariables\x20must\x20be\x20used\x20within\x20a\x20VariableProvider','reduce','35%','isAlpha','EvaluationError','\x20at\x20position:\x20','spreadMm','delete','isBinaryExpression','dividerType','getDescriptor','charAt','target','DIVIDER','scan','toLowerCase','rotate(','isReversed','forEach','comparison','NAME','rotateZ','SIZEZ','conditionTree','depth','children','join','\x20x\x20','Angle\x20brackets\x20are\x20not\x20allowed\x20in\x20the\x20input\x20string','sizerefedg1','hasDescriptor','Unexpected\x20character:\x20','807271mxyWec','Section','Current\x20Value','lexeme','DESC_TYPE','OPERATOR','sort','reverse','NOT\x20OR','article','three','UNIT','BRACE_OPEN','map','front','_2D_FRONT','evaluateTree','factor','anglclie','sizerefedg2','table','useData','linearDivisionString','Unhandled\x20case:\x20DIVDIR\x20=\x20','sin','useVariables','cumulativeX','VarController','simple','useContext','performParse','Expression\x20contains\x20invalid\x20characters:\x20','checkMillimeterSuffix','LEFT_ANGLE_BRACKET','Math.ceil(','height','articleString','Descriptor\x20not\x20found:\x20','760440BWnwEo','var-controller__slider','top','DESCRIPTOR','findAllMatches','No\x20variables\x20defined.','VariableContext','2671732AxmjGG','lineTo','useDescriptorMatches','STARTOFFS','center','Text','\x20not\x20found','SpecialVariable','Math.sqrt(','LINDIV1','\x20L\x20','10227074dsaSwy','=====================================\x20Zone\x20Start\x20','DATATYPE','useArticle','2412018uRIqGa','MATHEMATICAL_FUNCTIONS','toUpperCase','STRING','scanVariable','useData\x20must\x20be\x20used\x20within\x20a\x20DataProvider','VARIABLE','@react-three/drei','group','Invalid\x20IF\x20statement:\x20','anglprim','No\x20tokens\x20to\x20parse.','Dimensions\x20(Numeric)','Numeric','Variable','advance','next',')\x20rotate(0)','\x20-\x20','divided_length_list','linear-division','replace','get','div','fromEntries','Edges','text','anglzone','isGrouping'];a0_0x45ad=function(){return _0x3ba033;};return a0_0x45ad();}function It(_0x2a3f91,_0x6e0708){const _0x5c2aea=a0_0x5acb87;return{'dimensions':{'width':_0x2a3f91['width']-_0x6e0708[_0x5c2aea(0x2bb)]-_0x6e0708[_0x5c2aea(0x2ba)],'height':_0x2a3f91[_0x5c2aea(0x1e4)],'depth':_0x2a3f91[_0x5c2aea(0x1b9)]-_0x6e0708['front']-_0x6e0708['back']},'position':{'x':_0x6e0708[_0x5c2aea(0x2bb)]/0x2-_0x6e0708['right']/0x2,'y':_0x6e0708[_0x5c2aea(0x1cf)]/0x2-_0x6e0708[_0x5c2aea(0x2aa)]/0x2,'z':0x0}};}function bt(_0x1033ec,_0x539c43){const _0xc25cae=a0_0x5acb87;return{'dimensions':{'width':_0x1033ec[_0xc25cae(0x12d)][_0xc25cae(0x16a)]-_0x539c43['left']-_0x539c43[_0xc25cae(0x2ba)],'height':_0x1033ec['dimensions'][_0xc25cae(0x1e4)]-_0x539c43[_0xc25cae(0x1e9)]-_0x539c43[_0xc25cae(0x2af)],'depth':_0x1033ec[_0xc25cae(0x12d)][_0xc25cae(0x1b9)]-_0x539c43[_0xc25cae(0x1cf)]-_0x539c43[_0xc25cae(0x2aa)]},'position':{'x':_0x539c43['left']/0x2-_0x539c43['right']/0x2,'y':_0x539c43[_0xc25cae(0x1cf)]/0x2-_0x539c43[_0xc25cae(0x2aa)]/0x2,'z':_0x539c43[_0xc25cae(0x2af)]/0x2-_0x539c43[_0xc25cae(0x1e9)]/0x2}};}function _t(_0x443e72,_0x4c45f8,_0x54f52e,_0x4f523a){const _0x34a48c=a0_0x5acb87;return _0x4c45f8[_0x34a48c(0x10c)]?Tt({'divisionType':_0x4c45f8[_0x34a48c(0x10c)],'parentDimensions':_0x443e72,'lengthList':_0x4c45f8[_0x34a48c(0x210)],'childTREEIDs':_0x4f523a,'dividerThk':Number(_0x54f52e)||0x0}):{'childPositions':[],'dividerType':_0x34a48c(0x1e4)};}function Dt(_0x45951e,_0x1716ba,_0x71294c,_0x49d343){const _0x3393c3=a0_0x5acb87;if(!_0x71294c)return{'childPositions':[],'dividerType':'height'};const _0x32e922=vt(_0x71294c,_0x45951e[_0x3393c3(0x12d)],_0x1716ba);return _0x49d343=_0x32e922[_0x3393c3(0x1b2)]?_0x49d343['reverse']():_0x49d343,_t(_0x45951e[_0x3393c3(0x12d)],_0x32e922,_0x1716ba,_0x49d343);}function ze(_0x7d386d,_0x518038,_0x5303a3=0x0,_0x2670dc=0x0){const _0x437784=_0x7d386d/0x2,_0x54d88a=_0x518038/0x2,_0xb44b09=[{'x':_0x437784,'y':-_0x54d88a},{'x':-_0x437784,'y':-_0x54d88a},{'x':-_0x437784+_0x5303a3,'y':_0x54d88a},{'x':_0x437784-_0x2670dc,'y':_0x54d88a}];return{'points':_0xb44b09,get 'svgPath'(){const _0x4bf44f=a0_0x9d0a;return'M\x20'+_0xb44b09['map'](_0x206048=>_0x206048['x']+','+_0x206048['y'])[_0x4bf44f(0x1bb)](_0x4bf44f(0x1f8))+'\x20Z';},get 'shape'(){const _0x12e849=a0_0x9d0a,_0x44c101=new ue[(_0x12e849(0x142))]();return _0xb44b09[_0x12e849(0x1b3)]((_0x387f1d,_0x5d54d6)=>_0x5d54d6===0x0?_0x44c101[_0x12e849(0x138)](_0x387f1d['x'],_0x387f1d['y']):_0x44c101[_0x12e849(0x1ef)](_0x387f1d['x'],_0x387f1d['y'])),_0x44c101;}};}function G({length:_0x41970a,width:_0x45bc92,thk:_0x213138,material:_0x3fb086='gray',opacity:_0x58ca62=0.2,isSelected:_0x2091f4=!0x1,isHovered:_0x55f3bb=!0x1,onClick:_0x5d3879,onPointerEnter:_0x486468,onPointerLeave:_0x4093fe,startPanelThk:_0x5781b8=0x0,endPanelThk:_0x166287=0x0}){const _0x421613=a0_0x5acb87,_0x4001b3=_0x2091f4?'#ff6b00':_0x55f3bb?_0x421613(0x170):_0x3fb086,_0x5b1635=_0x2091f4?0.8:_0x55f3bb?0.6:_0x58ca62,_0xa20d85=M['useMemo'](()=>{const _0x49d483=_0x421613;if(_0x5781b8!==0x0||_0x166287!==0x0){const {shape:_0x25023a}=ze(_0x45bc92,_0x213138,_0x5781b8,_0x166287),_0x4fd5a0=new ue[(_0x49d483(0x131))](_0x25023a,{'depth':_0x41970a/E,'bevelEnabled':!0x1,'steps':0x1});return _0x4fd5a0[_0x49d483(0x1f2)](),_0x4fd5a0[_0x49d483(0x1b6)](-Math['PI']/0x2),_0x4fd5a0['rotateY'](Math['PI']/0x2),_0x4fd5a0;}else return new ue['BoxGeometry'](_0x41970a/E,_0x45bc92/E,_0x213138/E);},[_0x41970a,_0x45bc92,_0x213138,_0x5781b8,_0x166287]);return c[_0x421613(0x17e)](_0x421613(0x205),{'rotation':[0x0,0x0,0x0],'children':c['jsxs'](_0x421613(0x29f),{'geometry':_0xa20d85,'onClick':_0x5d3879,'onPointerEnter':_0x486468,'onPointerLeave':_0x4093fe,'children':[c[_0x421613(0x17e)](_0x421613(0x24e),{'color':_0x4001b3,'opacity':_0x5b1635,'transparent':!0x0}),c[_0x421613(0x17e)](De[_0x421613(0x216)],{'color':_0x2091f4?_0x421613(0x10e):_0x55f3bb?'#0066ff':_0x421613(0x245)})]})});}function B({dim_x:_0x390504,dim_y:_0x2639b7,fill:_0x122544='lightgray',text:_0x531c8a='',stroke_width:_0x21b539=0x2,rotate:_0x1b1d41=0x0,isSelected:_0x60ed84=!0x1,isHovered:_0x445c6d=!0x1,onClick:_0x42fb73,onMouseEnter:_0x341a65,onMouseLeave:_0x52901f,startPanelThk:_0x4009f6=0x0,endPanelThk:_0x3a620d=0x0}){const _0x38296f=a0_0x5acb87,{svgPath:_0x377ab3}=ze(_0x390504,_0x2639b7,_0x4009f6,_0x3a620d),_0x1a005b=_0x60ed84?_0x38296f(0x10e):_0x445c6d?_0x38296f(0x170):_0x38296f(0x245),_0x44aec3=_0x60ed84?_0x21b539*0x2:_0x445c6d?_0x21b539*1.5:_0x21b539,_0x1a116c=_0x60ed84?0.8:_0x445c6d?0.7:0.5;return c[_0x38296f(0x222)]('g',{'transform':_0x38296f(0x1b1)+_0x1b1d41+')','children':[c[_0x38296f(0x17e)](_0x38296f(0x265),{'d':_0x377ab3,'stroke':_0x1a005b,'strokeWidth':_0x44aec3,'fill':_0x122544,'strokeLinejoin':'bevel','strokeMiterlimit':'1','opacity':_0x1a116c,'onClick':_0x42fb73,'onMouseEnter':_0x341a65,'onMouseLeave':_0x52901f,'style':{'cursor':_0x42fb73?_0x38296f(0x166):_0x38296f(0x151)}}),c['jsx'](_0x38296f(0x217),{'transform':_0x38296f(0x17d),'x':0x0,'y':0x0,'textAnchor':_0x38296f(0x24c),'dominantBaseline':'middle','fontSize':0xa,'children':_0x531c8a})]});}function q(_0x353541){const _0xe5457b=a0_0x5acb87,_0x1f9d8e=M[_0xe5457b(0x1de)](O);if(!_0x1f9d8e)throw new Error(_0xe5457b(0x299));const {selectedElem:_0x5dc670,setSelectedElem:_0x4fd095,hoveredElem:_0x5678a9,setHoveredElem:_0x119b3d}=_0x1f9d8e,_0x22a8c3=_0x5dc670===_0x353541;return{'isSelected':_0x22a8c3,'isHovered':_0x5678a9===_0x353541,'handleClick':()=>{_0x4fd095(_0x22a8c3?null:_0x353541);},'handleMouseEnter':()=>{_0x119b3d(_0x353541);},'handleMouseLeave':()=>{_0x119b3d(null);}};}function kt({TREEID:_0x1f90bf,dimension:_0x59cf0d,view:_0x543316,helper:_0x3facf2}){const _0x5aa6fb=a0_0x5acb87,_0x2c7be4=_0x3facf2['front'],_0xcfeac8=M[_0x5aa6fb(0x1de)](O),{isSelected:_0x1f3387,isHovered:_0x48b721,handleClick:_0x52b017,handleMouseEnter:_0x194546,handleMouseLeave:_0x59936f}=q(_0x1f90bf);if(!_0x2c7be4||!_0xcfeac8)return;const {CPNAME:_0x83614c}=_0x2c7be4;if(!_0x83614c)return null;const {elmTrimThk:_0x2509dc}=_0x2c7be4,_0x114c12=_0x3facf2['left']?.[_0x5aa6fb(0x2be)],_0x2859bc=_0x3facf2['right']?.[_0x5aa6fb(0x2be)],_0x5d43a6=(_0x2c7be4[_0x5aa6fb(0x13f)][_0x5aa6fb(0x158)]==='S'?_0x114c12:0x0)??0x0,_0x42492f=(_0x2c7be4['trim'][_0x5aa6fb(0x2a4)]==='S'?_0x2859bc:0x0)??0x0,_0x39b257=(_0x2c7be4[_0x5aa6fb(0x13f)][_0x5aa6fb(0x158)]==='M'?_0x114c12:0x0)??0x0,_0x3c9904=(_0x2c7be4['trim'][_0x5aa6fb(0x2a4)]==='M'?_0x2859bc:0x0)??0x0,_0x2a8316=_0x59cf0d['height']-_0x2509dc['top']-_0x2509dc[_0x5aa6fb(0x2af)]+_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x1e9)]+_0x2c7be4['oversize'][_0x5aa6fb(0x2af)],_0x3a0865=_0x59cf0d['width']-_0x5d43a6-_0x42492f+_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x158)]+_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x2a4)],_0x5396e0=_0x2c7be4[_0x5aa6fb(0x2be)],_0x2079e7=-(_0x2c7be4[_0x5aa6fb(0x2c4)]['start']/0x2-_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x2a4)]/0x2-_0x5d43a6/0x2+_0x42492f/0x2),_0x2b18cc=_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x2af)]/0x2-_0x2c7be4[_0x5aa6fb(0x2c4)][_0x5aa6fb(0x1e9)]/0x2+_0x2509dc[_0x5aa6fb(0x2af)]/0x2-_0x2509dc[_0x5aa6fb(0x1e9)]/0x2,_0x384b43=-(_0x59cf0d[_0x5aa6fb(0x1b9)]/0x2-_0x5396e0/0x2);return _0x543316===N[_0x5aa6fb(0x236)]?c['jsx'](_0x5aa6fb(0x205),{'position':[_0x2079e7/E,_0x384b43/E,_0x2b18cc/E],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':c[_0x5aa6fb(0x17e)](G,{'length':_0x2a8316,'width':_0x3a0865,'thk':_0x5396e0,'treeId':_0x1f90bf,'isSelected':_0x1f3387,'isHovered':_0x48b721,'onClick':_0x52b017,'onPointerEnter':_0x194546,'onPointerLeave':_0x59936f,'startPanelThk':_0x39b257,'endPanelThk':_0x3c9904})}):c[_0x5aa6fb(0x17e)]('g',{'transform':_0x5aa6fb(0x252)+_0x2079e7+','+(_0x543316===N['_2D_TOP']?_0x384b43:_0x2b18cc)+_0x5aa6fb(0x20e),'children':c[_0x5aa6fb(0x17e)](B,{'dim_x':_0x3a0865,'dim_y':_0x543316===N[_0x5aa6fb(0x152)]?_0x5396e0:_0x2a8316,'text':_0x5aa6fb(0x23b)+_0x2a8316+'\x20x\x20'+_0x3a0865+_0x5aa6fb(0x1bc)+_0x5396e0,'treeId':_0x1f90bf,'isSelected':_0x1f3387,'isHovered':_0x48b721,'onClick':_0x52b017,'onMouseEnter':_0x194546,'onMouseLeave':_0x59936f,'startPanelThk':_0x543316===N[_0x5aa6fb(0x152)]?_0x39b257:0x0,'endPanelThk':_0x543316===N[_0x5aa6fb(0x152)]?_0x3c9904:0x0})});}const Q=({view:_0x3522b2=N[a0_0x5acb87(0x236)],position:_0x3621fd=[0x0,0x0,0x0],rotation:_0x5eba99=[0x0,0x0,0x0],children:_0x382fac})=>{const _0x52254a=a0_0x5acb87;if(_0x3522b2===N['_3D'])return c[_0x52254a(0x17e)](_0x52254a(0x205),{'position':[_0x3621fd[0x0]/E,_0x3621fd[0x1]/E,_0x3621fd[0x2]/E],'rotation':_0x5eba99,'children':_0x382fac});const _0x495c4d=_0x3621fd[0x0],_0x1548f8=_0x3522b2===N['_2D_TOP']?_0x3621fd[0x1]:_0x3621fd[0x2],_0x1a6f46=_0x5eba99[0x2]*(0xb4/Math['PI']);return c['jsx']('g',{'transform':_0x52254a(0x252)+_0x495c4d+','+_0x1548f8+')\x20rotate('+_0x1a6f46+')','children':_0x382fac});};function At({TREEID:_0x23ae79,dimension:_0x73b3b5,view:_0x3eb1a5,helper:_0x51f45f}){const _0x35d5a6=a0_0x5acb87,_0x4c5dff=_0x51f45f[_0x35d5a6(0x2bb)],_0x19387f=M[_0x35d5a6(0x1de)](O),{isSelected:_0x260e84,isHovered:_0x3415cb,handleClick:_0x1649be,handleMouseEnter:_0x464150,handleMouseLeave:_0x2a0f08}=q(_0x23ae79);if(!_0x4c5dff||!_0x19387f)return;const {CPNAME:_0x260b71}=_0x4c5dff;if(!_0x260b71)return null;const {elmTrimThk:_0x538ac0}=_0x4c5dff,_0x5b4af4=_0x51f45f[_0x35d5a6(0x2aa)]?.[_0x35d5a6(0x2be)],_0x2158b=_0x51f45f['front']?.[_0x35d5a6(0x2be)],_0x7f97bc=(_0x4c5dff[_0x35d5a6(0x13f)][_0x35d5a6(0x158)]==='S'?_0x5b4af4:0x0)??0x0,_0x46e81d=(_0x4c5dff['trim'][_0x35d5a6(0x2a4)]==='S'?_0x2158b:0x0)??0x0,_0x4e5d7a=(_0x4c5dff[_0x35d5a6(0x13f)][_0x35d5a6(0x158)]==='M'?_0x5b4af4:0x0)??0x0,_0xaf42c9=(_0x4c5dff[_0x35d5a6(0x13f)]['end']==='M'?_0x2158b:0x0)??0x0,_0x626bb0=_0x73b3b5[_0x35d5a6(0x1e4)]-_0x538ac0['top']-_0x538ac0[_0x35d5a6(0x2af)]+_0x4c5dff['oversize'][_0x35d5a6(0x1e9)]+_0x4c5dff[_0x35d5a6(0x2c4)][_0x35d5a6(0x2af)],_0x56abc4=_0x73b3b5[_0x35d5a6(0x1b9)]-_0x7f97bc-_0x46e81d+_0x4c5dff[_0x35d5a6(0x2c4)][_0x35d5a6(0x158)]+_0x4c5dff[_0x35d5a6(0x2c4)]['end'],_0x19060c=_0x4c5dff['thk'],_0x137faf=-(_0x73b3b5[_0x35d5a6(0x16a)]/0x2-_0x19060c/0x2),_0x31ad03=_0x4c5dff[_0x35d5a6(0x2c4)][_0x35d5a6(0x158)]/0x2-_0x4c5dff['oversize'][_0x35d5a6(0x2a4)]/0x2-_0x7f97bc/0x2+_0x46e81d/0x2,_0x1aafcb=_0x4c5dff[_0x35d5a6(0x2c4)][_0x35d5a6(0x2af)]/0x2-_0x4c5dff[_0x35d5a6(0x2c4)]['top']/0x2+_0x538ac0[_0x35d5a6(0x2af)]/0x2-_0x538ac0[_0x35d5a6(0x1e9)]/0x2;return _0x3eb1a5===N[_0x35d5a6(0x236)]?c[_0x35d5a6(0x17e)]('group',{'position':[_0x137faf/E,_0x31ad03/E,_0x1aafcb/E],'rotation':[0x0,-Math['PI']/0x2,0x0],'children':c[_0x35d5a6(0x17e)](G,{'length':_0x626bb0,'width':_0x56abc4,'thk':_0x19060c,'treeId':_0x23ae79,'isSelected':_0x260e84,'isHovered':_0x3415cb,'onClick':_0x1649be,'onPointerEnter':_0x464150,'onPointerLeave':_0x2a0f08,'startPanelThk':_0x4e5d7a,'endPanelThk':_0xaf42c9})}):c[_0x35d5a6(0x17e)]('g',{'transform':_0x35d5a6(0x252)+_0x137faf+','+(_0x3eb1a5===N[_0x35d5a6(0x152)]?_0x31ad03:_0x1aafcb)+_0x35d5a6(0x128),'children':c['jsx'](B,{'dim_x':_0x3eb1a5===N[_0x35d5a6(0x152)]?_0x56abc4:_0x626bb0,'dim_y':_0x19060c,'text':_0x35d5a6(0x255)+_0x626bb0+_0x35d5a6(0x1bc)+_0x56abc4+_0x35d5a6(0x1bc)+_0x19060c,'treeId':_0x23ae79,'rotate':0xb4,'isSelected':_0x260e84,'isHovered':_0x3415cb,'onClick':_0x1649be,'onMouseEnter':_0x464150,'onMouseLeave':_0x2a0f08,'startPanelThk':_0x3eb1a5===N[_0x35d5a6(0x152)]?_0x4e5d7a:0x0,'endPanelThk':_0x3eb1a5===N[_0x35d5a6(0x152)]?_0xaf42c9:0x0})});}function Ct({TREEID:_0x6f535,dimension:_0x151a81,view:_0x5ec628,helper:_0x5c6599}){const _0x4a69c1=a0_0x5acb87,_0x344546=_0x5c6599[_0x4a69c1(0x2aa)],_0x4ab541=M[_0x4a69c1(0x1de)](O),{isSelected:_0x46306f,isHovered:_0x508cdf,handleClick:_0x3becb8,handleMouseEnter:_0x1d8be8,handleMouseLeave:_0x209a2a}=q(_0x6f535);if(!_0x344546||!_0x4ab541)return;const {CPNAME:_0x581bed}=_0x344546;if(!_0x581bed)return null;const {elmTrimThk:_0x562221}=_0x344546,_0x325fd1=_0x5c6599[_0x4a69c1(0x2ba)]?.[_0x4a69c1(0x2be)],_0x3e20c3=_0x5c6599[_0x4a69c1(0x2bb)]?.[_0x4a69c1(0x2be)],_0x34007b=(_0x344546[_0x4a69c1(0x13f)][_0x4a69c1(0x158)]==='S'?_0x325fd1:0x0)??0x0,_0x5d2fda=(_0x344546[_0x4a69c1(0x13f)]['end']==='S'?_0x3e20c3:0x0)??0x0,_0x3d423f=(_0x344546['trim'][_0x4a69c1(0x158)]==='M'?_0x325fd1:0x0)??0x0,_0x41c3ec=(_0x344546[_0x4a69c1(0x13f)][_0x4a69c1(0x2a4)]==='M'?_0x3e20c3:0x0)??0x0,_0x46814b=_0x151a81['height']-_0x562221[_0x4a69c1(0x1e9)]-_0x562221[_0x4a69c1(0x2af)]+_0x344546[_0x4a69c1(0x2c4)][_0x4a69c1(0x1e9)]+_0x344546['oversize'][_0x4a69c1(0x2af)],_0x358050=_0x151a81['width']-_0x34007b-_0x5d2fda+_0x344546[_0x4a69c1(0x2c4)][_0x4a69c1(0x158)]+_0x344546[_0x4a69c1(0x2c4)][_0x4a69c1(0x2a4)],_0x234ec1=_0x344546[_0x4a69c1(0x2be)],_0x422fcb=_0x344546['oversize'][_0x4a69c1(0x158)]/0x2-_0x344546[_0x4a69c1(0x2c4)][_0x4a69c1(0x2a4)]/0x2-_0x34007b/0x2+_0x5d2fda/0x2,_0x5e59c8=_0x151a81[_0x4a69c1(0x1b9)]/0x2-_0x234ec1/0x2,_0x8bc1cf=_0x344546[_0x4a69c1(0x2c4)][_0x4a69c1(0x2af)]/0x2-_0x344546['oversize']['top']/0x2+_0x562221[_0x4a69c1(0x2af)]/0x2-_0x562221[_0x4a69c1(0x1e9)]/0x2;return _0x5ec628===N[_0x4a69c1(0x236)]?c[_0x4a69c1(0x222)](_0x4a69c1(0x205),{'position':[_0x422fcb/E,_0x5e59c8/E,_0x8bc1cf/E],'rotation':[Math['PI']/0x2,Math['PI'],Math['PI']/0x2],'children':[c[_0x4a69c1(0x17e)](G,{'length':_0x46814b,'width':_0x358050,'thk':_0x234ec1,'treeId':_0x6f535,'isSelected':_0x46306f,'isHovered':_0x508cdf,'onClick':_0x3becb8,'onPointerEnter':_0x1d8be8,'onPointerLeave':_0x209a2a,'startPanelThk':_0x3d423f,'endPanelThk':_0x41c3ec}),c[_0x4a69c1(0x17e)](De[_0x4a69c1(0x1f3)],{'position':[0x0,0x0,0x0],'color':_0x4a69c1(0x114),'fontSize':0x14,'children':_0x6f535})]}):c[_0x4a69c1(0x17e)]('g',{'transform':_0x4a69c1(0x252)+_0x422fcb+','+(_0x5ec628===N['_2D_TOP']?_0x5e59c8:_0x8bc1cf)+_0x4a69c1(0x20e),'children':c[_0x4a69c1(0x17e)](B,{'dim_x':_0x358050,'dim_y':_0x5ec628===N[_0x4a69c1(0x152)]?_0x234ec1:_0x46814b,'text':_0x4a69c1(0x12a)+_0x46814b+'\x20x\x20'+_0x358050+_0x4a69c1(0x1bc)+_0x234ec1,'treeId':_0x6f535,'isSelected':_0x46306f,'rotate':0xb4,'isHovered':_0x508cdf,'onClick':_0x3becb8,'onMouseEnter':_0x1d8be8,'onMouseLeave':_0x209a2a,'startPanelThk':_0x5ec628===N[_0x4a69c1(0x152)]?_0x3d423f:0x0,'endPanelThk':_0x5ec628===N[_0x4a69c1(0x152)]?_0x41c3ec:0x0})});}function wt({TREEID:_0x2b3109,dimension:_0x146a3f,view:_0x3b7b38,helper:_0x5b9f7b}){const _0x47e106=a0_0x5acb87,_0x4cb424=_0x5b9f7b[_0x47e106(0x2ba)],_0x116230=M[_0x47e106(0x1de)](O),{isSelected:_0x47ce4c,isHovered:_0x51e5cb,handleClick:_0x5158e9,handleMouseEnter:_0x5c474b,handleMouseLeave:_0x27e1ac}=q(_0x2b3109);if(!_0x4cb424||!_0x116230)return;const {CPNAME:_0x107f17}=_0x4cb424;if(!_0x107f17)return null;const {elmTrimThk:_0x553894}=_0x4cb424,_0x7bf9a0=_0x5b9f7b[_0x47e106(0x1cf)]?.[_0x47e106(0x2be)],_0x5a426a=_0x5b9f7b[_0x47e106(0x2aa)]?.[_0x47e106(0x2be)],_0x3b14aa=(_0x4cb424['trim']['start']==='S'?_0x7bf9a0:0x0)??0x0,_0x334297=(_0x4cb424[_0x47e106(0x13f)][_0x47e106(0x2a4)]==='S'?_0x5a426a:0x0)??0x0,_0x46336d=(_0x4cb424[_0x47e106(0x13f)][_0x47e106(0x158)]==='M'?_0x7bf9a0:0x0)??0x0,_0x328fca=(_0x4cb424[_0x47e106(0x13f)][_0x47e106(0x2a4)]==='M'?_0x5a426a:0x0)??0x0,_0x3b6a64=_0x146a3f[_0x47e106(0x1e4)]-_0x553894[_0x47e106(0x1e9)]-_0x553894[_0x47e106(0x2af)]+_0x4cb424[_0x47e106(0x2c4)]['top']+_0x4cb424['oversize'][_0x47e106(0x2af)],_0x1a7c87=_0x146a3f[_0x47e106(0x1b9)]-_0x3b14aa-_0x334297+_0x4cb424['oversize'][_0x47e106(0x158)]+_0x4cb424[_0x47e106(0x2c4)][_0x47e106(0x2a4)],_0x11c316=_0x4cb424[_0x47e106(0x2be)],_0x44bba9=_0x146a3f[_0x47e106(0x16a)]/0x2-_0x11c316/0x2,_0x527def=-(_0x4cb424[_0x47e106(0x2c4)][_0x47e106(0x158)]/0x2-_0x4cb424[_0x47e106(0x2c4)][_0x47e106(0x2a4)]/0x2-_0x3b14aa/0x2+_0x334297/0x2),_0x5edb49=_0x4cb424[_0x47e106(0x2c4)]['bottom']/0x2+_0x4cb424[_0x47e106(0x2c4)][_0x47e106(0x1e9)]/0x2+_0x553894[_0x47e106(0x2af)]/0x2-_0x553894[_0x47e106(0x1e9)]/0x2;return _0x3b7b38===N['_3D']?c[_0x47e106(0x17e)](_0x47e106(0x205),{'position':[_0x44bba9/E,_0x527def/E,_0x5edb49/E],'rotation':[0x0,Math['PI']/0x2,Math['PI']],'children':c[_0x47e106(0x17e)](G,{'length':_0x3b6a64,'width':_0x1a7c87,'thk':_0x11c316,'treeId':_0x2b3109,'isSelected':_0x47ce4c,'isHovered':_0x51e5cb,'onClick':_0x5158e9,'onPointerEnter':_0x5c474b,'onPointerLeave':_0x27e1ac,'startPanelThk':_0x46336d,'endPanelThk':_0x328fca})}):c[_0x47e106(0x17e)]('g',{'transform':_0x47e106(0x252)+_0x44bba9+','+(_0x3b7b38===N[_0x47e106(0x152)]?_0x527def:_0x5edb49)+_0x47e106(0x128),'children':c[_0x47e106(0x17e)](B,{'dim_x':_0x3b7b38===N['_2D_TOP']?_0x1a7c87:_0x3b6a64,'dim_y':_0x11c316,'text':_0x47e106(0x246)+_0x3b6a64+'\x20x\x20'+_0x1a7c87+_0x47e106(0x1bc)+_0x11c316,'treeId':_0x2b3109,'isSelected':_0x47ce4c,'isHovered':_0x51e5cb,'onClick':_0x5158e9,'onMouseEnter':_0x5c474b,'onMouseLeave':_0x27e1ac,'startPanelThk':_0x3b7b38===N[_0x47e106(0x152)]?_0x46336d:0x0,'endPanelThk':_0x3b7b38===N['_2D_TOP']?_0x328fca:0x0})});}function Lt({TREEID:_0x995e77,dimension:_0x3bdc66,view:_0x4d0ee0,helper:_0xde936f}){const _0x446f88=a0_0x5acb87,_0x27f449=oe(_0x995e77),_0x1e2919=M['useContext'](O),{isSelected:_0x4aefbb,isHovered:_0x5e0e9a,handleClick:_0x26b755,handleMouseEnter:_0x23ec6b,handleMouseLeave:_0x4e25ab}=q(_0x995e77);if(!_0x27f449||!_0x1e2919)return;const {topShelfCP:_0x11f160}=_0x27f449;if(!_0x11f160)return;const _0x2d8e8f=(_0xde936f[_0x446f88(0x1cf)]?.[_0x446f88(0x13f)][_0x446f88(0x1e9)]!=='S'?_0xde936f[_0x446f88(0x1cf)]?.[_0x446f88(0x2be)]:0x0)??0x0,_0x575058=(_0xde936f[_0x446f88(0x2aa)]?.[_0x446f88(0x13f)][_0x446f88(0x1e9)]!=='S'?_0xde936f[_0x446f88(0x2aa)]?.[_0x446f88(0x2be)]:0x0)??0x0,_0x5de22b=(_0xde936f['left']?.[_0x446f88(0x13f)]['top']!=='S'?_0xde936f[_0x446f88(0x2bb)]?.['thk']:0x0)??0x0,_0x4e2e7c=(_0xde936f[_0x446f88(0x2ba)]?.[_0x446f88(0x13f)][_0x446f88(0x1e9)]!=='S'?_0xde936f[_0x446f88(0x2ba)]?.[_0x446f88(0x2be)]:0x0)??0x0,_0x3f8bab=_0x3bdc66[_0x446f88(0x16a)]-_0x5de22b-_0x4e2e7c,_0x47e433=_0x3bdc66[_0x446f88(0x1b9)]-_0x575058-_0x2d8e8f,_0x351bff=_0x27f449[_0x446f88(0x183)],_0x3053f7=_0x5de22b/0x2-_0x4e2e7c/0x2,_0x89f05f=-(_0x575058/0x2-_0x2d8e8f/0x2),_0x3bc4a4=_0x3bdc66[_0x446f88(0x1e4)]/0x2-_0x351bff/0x2;return _0x4d0ee0===N['_3D']?c[_0x446f88(0x17e)](_0x446f88(0x205),{'position':[_0x3053f7/E,_0x89f05f/E,_0x3bc4a4/E],'rotation':[0x0,0x0,0x0],'children':c['jsx'](G,{'length':_0x3f8bab,'width':_0x47e433,'thk':_0x351bff,'opacity':0.8,'treeId':_0x995e77,'isSelected':_0x4aefbb,'isHovered':_0x5e0e9a,'onClick':_0x26b755,'onPointerEnter':_0x23ec6b,'onPointerLeave':_0x4e25ab})}):c[_0x446f88(0x17e)]('g',{'transform':_0x446f88(0x252)+_0x3053f7+','+(_0x4d0ee0===N[_0x446f88(0x152)]?_0x89f05f:_0x3bc4a4)+')','children':c[_0x446f88(0x17e)](B,{'dim_x':_0x3f8bab,'dim_y':_0x4d0ee0===N[_0x446f88(0x152)]?_0x47e433:_0x351bff,'text':_0x446f88(0x28f)+_0x995e77+'\x20\x20\x20--\x20\x20'+_0x3f8bab+_0x446f88(0x1bc)+_0x47e433+_0x446f88(0x1bc)+_0x351bff,'treeId':_0x995e77,'isSelected':_0x4aefbb,'isHovered':_0x5e0e9a,'onClick':_0x26b755,'onMouseEnter':_0x23ec6b,'onMouseLeave':_0x4e25ab})});}function a0_0x9d0a(_0x570569,_0x450c42){_0x570569=_0x570569-0x109;const _0x45ade6=a0_0x45ad();let _0x9d0a57=_0x45ade6[_0x570569];return _0x9d0a57;}function Ot({TREEID:_0x966c8d,dimension:_0x1be0a6,view:_0x43343b,helper:_0x4e491c}){const _0x5ef1ab=a0_0x5acb87,_0x54088b=oe(_0x966c8d),_0x2f99c0=M[_0x5ef1ab(0x1de)](O),{isSelected:_0x50c2e1,isHovered:_0x1ebd01,handleClick:_0x4787d8,handleMouseEnter:_0x4f838c,handleMouseLeave:_0x5eb620}=q(_0x966c8d);if(!_0x54088b||!_0x2f99c0)return;const {bottomShelfCP:_0x48f671}=_0x54088b;if(!_0x48f671)return;const _0x40a084=(_0x4e491c['front']?.[_0x5ef1ab(0x13f)][_0x5ef1ab(0x2af)]!=='S'?_0x4e491c[_0x5ef1ab(0x1cf)]?.['thk']:0x0)??0x0,_0x5d8a87=(_0x4e491c[_0x5ef1ab(0x2aa)]?.[_0x5ef1ab(0x13f)]['bottom']!=='S'?_0x4e491c[_0x5ef1ab(0x2aa)]?.[_0x5ef1ab(0x2be)]:0x0)??0x0,_0x5f4eb0=(_0x4e491c[_0x5ef1ab(0x2bb)]?.[_0x5ef1ab(0x13f)][_0x5ef1ab(0x2af)]!=='S'?_0x4e491c['left']?.['thk']:0x0)??0x0,_0x38295b=(_0x4e491c['right']?.[_0x5ef1ab(0x13f)][_0x5ef1ab(0x2af)]!=='S'?_0x4e491c['right']?.['thk']:0x0)??0x0,_0x568b42=_0x1be0a6[_0x5ef1ab(0x16a)]-_0x5f4eb0-_0x38295b,_0x52d274=_0x1be0a6[_0x5ef1ab(0x1b9)]-_0x5d8a87-_0x40a084,_0x566c63=_0x54088b['bottomShelfThk'],_0x52d27b=_0x5f4eb0/0x2-_0x38295b/0x2,_0x4d4e83=-(_0x5d8a87/0x2-_0x40a084/0x2),_0x461400=-(_0x1be0a6['height']/0x2-_0x566c63/0x2);return _0x43343b===N[_0x5ef1ab(0x236)]?c[_0x5ef1ab(0x17e)](_0x5ef1ab(0x205),{'position':[_0x52d27b/E,_0x4d4e83/E,_0x461400/E],'rotation':[0x0,0x0,0x0],'children':c[_0x5ef1ab(0x17e)](G,{'length':_0x568b42,'width':_0x52d274,'thk':_0x566c63,'opacity':0.8,'treeId':_0x966c8d,'isSelected':_0x50c2e1,'isHovered':_0x1ebd01,'onClick':_0x4787d8,'onPointerEnter':_0x4f838c,'onPointerLeave':_0x5eb620})}):c[_0x5ef1ab(0x17e)]('g',{'transform':_0x5ef1ab(0x252)+_0x52d27b+','+(_0x43343b===N[_0x5ef1ab(0x152)]?_0x4d4e83:_0x461400)+')','children':c[_0x5ef1ab(0x17e)](B,{'dim_x':_0x568b42,'dim_y':_0x43343b===N['_2D_TOP']?_0x52d274:_0x566c63,'text':_0x5ef1ab(0x13d)+_0x568b42+'\x20x\x20'+_0x52d274+_0x5ef1ab(0x1bc)+_0x566c63,'treeId':_0x966c8d,'isSelected':_0x50c2e1,'isHovered':_0x1ebd01,'onClick':_0x4787d8,'onMouseEnter':_0x4f838c,'onMouseLeave':_0x5eb620})});}function Ge(){const _0x38f616=a0_0x5acb87,_0x1f11b6=M[_0x38f616(0x1de)](xe);if(!_0x1f11b6)throw new Error(_0x38f616(0x110));return _0x1f11b6;}function Be(_0x3b6ded,_0x6ed8ad,_0x521222,_0x563628={}){const _0x3992aa=a0_0x5acb87,{throwOnError:_0x2517a3=!0x1}=_0x563628;if(!_0x3b6ded['hasDescriptor'](_0x6ed8ad))throw new Error(_0x3992aa(0x11e)+_0x6ed8ad+_0x3992aa(0x1f4));return M['useMemo'](()=>{const _0x21a454=_0x3992aa;try{return{'result':_0x3b6ded[_0x21a454(0x221)](_0x6ed8ad,_0x521222),'error':null,'success':!0x0};}catch(_0x20d59e){const _0x1fffc4=_0x20d59e instanceof Error?_0x20d59e['message']:'Unknown\x20error';if(_0x2517a3)throw _0x20d59e;return{'result':null,'error':_0x1fffc4,'success':!0x1};}},[_0x3b6ded,_0x6ed8ad,_0x521222,_0x2517a3]);}function Pt(_0x3558d9,_0x1b2cc8,_0x46aa93){const _0x523830=a0_0x5acb87;return M[_0x523830(0x26a)](()=>{const _0x21eff5=_0x523830;try{const _0x425c02=_0x3558d9['findAllMatches'](_0x1b2cc8,_0x46aa93);return{'matches':_0x425c02,'error':null,'count':_0x425c02[_0x21eff5(0x29d)]};}catch(_0x26f939){const _0x317365=_0x26f939 instanceof Error?_0x26f939[_0x21eff5(0x145)]:_0x21eff5(0x147);return{'matches':[],'error':_0x317365,'count':0x0};}},[_0x3558d9,_0x1b2cc8,_0x46aa93]);}const R={'LINEAR_DIVISION':a0_0x5acb87(0x211),'ARTICLE':'article'},F={'STRING':'string','DESCRIPTOR':a0_0x5acb87(0x16b)},_e={'linearDivision':_0x34f99a=>_0x34f99a[a0_0x5acb87(0x13e)]===R[a0_0x5acb87(0x21e)],'article':_0x35141d=>_0x35141d['type']===R[a0_0x5acb87(0x264)]},Rt={'string':_0x57a746=>_0x57a746[a0_0x5acb87(0x13e)]===R[a0_0x5acb87(0x21e)]&&_0x57a746[a0_0x5acb87(0x286)]===F['STRING'],'descriptor':_0x540d73=>_0x540d73[a0_0x5acb87(0x13e)]===R[a0_0x5acb87(0x21e)]&&_0x540d73[a0_0x5acb87(0x286)]===F[a0_0x5acb87(0x1ea)]},ne={'string':_0x3f73e6=>_0x3f73e6[a0_0x5acb87(0x13e)]===R['ARTICLE']&&_0x3f73e6[a0_0x5acb87(0x286)]===F['STRING'],'descriptor':_0x9e3df0=>_0x9e3df0[a0_0x5acb87(0x13e)]===R[a0_0x5acb87(0x264)]&&_0x9e3df0['valueSource']===F[a0_0x5acb87(0x1ea)]},J={'linearDivisionString'(_0x5bc959,_0xfc359d,_0x4d8985,_0x2ca4f2,_0x2a59f6,_0x42b941,_0x206d10,_0x451a2d){const _0x26f6e4=a0_0x5acb87;return{'TREEID':_0x5bc959,'type':R[_0x26f6e4(0x21e)],'valueSource':F[_0x26f6e4(0x200)],'DIVDIR':_0xfc359d,'DIVTYPE':_0x4d8985,'HORDEFTYPE':_0x2ca4f2,'LINDIV1':_0x2a59f6,'DIVELEM1':_0x42b941,'DIVIDER':'','formula':_0x206d10,'thickness':_0x451a2d};},'linearDivisionDescriptor'(_0xde01f4,_0x47aa18,_0x37aa45,_0x502c68,_0xb3f6bf,_0x295e8f,_0x2aefe7,_0x1d6b9b){const _0x355a76=a0_0x5acb87;return{'TREEID':_0xde01f4,'type':R[_0x355a76(0x21e)],'valueSource':F[_0x355a76(0x1ea)],'DIVDIR':_0x47aa18,'DIVTYPE':_0x37aa45,'HORDEFTYPE':_0x502c68,'LINDIV1':_0xb3f6bf,'DIVELEM1':_0x295e8f,'DIVIDER':'','descriptorName':_0x2aefe7,'thickness':_0x1d6b9b};},'articleString'(_0x38cc50,_0x8033b1,_0x887274,_0x4ed01f,_0xf1ac67,_0x12c513,_0x4d9ec6){const _0x26f68e=a0_0x5acb87;return{'TREEID':_0x38cc50,'type':R[_0x26f68e(0x264)],'valueSource':F[_0x26f68e(0x200)],'DIVDIR':_0x8033b1,'DIVTYPE':_0x887274,'HORDEFTYPE':_0x4ed01f,'LINDIV1':_0xf1ac67,'DIVELEM1':_0x12c513,'DIVIDER':_0x4d9ec6,'articleName':_0x4d9ec6};},'articleDescriptor'(_0x4fb374,_0x235d5f,_0x580289,_0x2181cd,_0x1f0ea8,_0x4274a6,_0x2fe00a){const _0x41976e=a0_0x5acb87;return{'TREEID':_0x4fb374,'type':R[_0x41976e(0x264)],'valueSource':F['DESCRIPTOR'],'DIVDIR':_0x235d5f,'DIVTYPE':_0x580289,'HORDEFTYPE':_0x2181cd,'LINDIV1':_0x1f0ea8,'DIVELEM1':_0x4274a6,'DIVIDER':_0x2fe00a,'descriptorName':_0x2fe00a};},'fromZoneData'(_0x13dd70,_0x1a96de){const _0x58a876=a0_0x5acb87,_0x46a585=_0x4e5b6a=>_0x4e5b6a[_0x58a876(0x13f)]()[_0x58a876(0x175)]('#');if(_0x13dd70[_0x58a876(0x2b6)]==='A'){if(_0x46a585(_0x13dd70[_0x58a876(0x1ae)])){const _0x8fd483=_0x13dd70['DIVIDER']['replace']('#','')['trim']();return J['articleDescriptor'](_0x13dd70[_0x58a876(0x164)],_0x13dd70[_0x58a876(0x2b6)],_0x13dd70['DIVTYPE'],_0x13dd70[_0x58a876(0x11f)],_0x13dd70[_0x58a876(0x1f7)],_0x13dd70[_0x58a876(0x182)],_0x8fd483);}return J[_0x58a876(0x1e5)](_0x13dd70[_0x58a876(0x164)],_0x13dd70[_0x58a876(0x2b6)],_0x13dd70['DIVTYPE'],_0x13dd70['HORDEFTYPE'],_0x13dd70[_0x58a876(0x1f7)],_0x13dd70[_0x58a876(0x182)],_0x13dd70['DIVIDER']);}if(_0x46a585(_0x13dd70[_0x58a876(0x1f7)])){const _0x54f092=_0x13dd70[_0x58a876(0x1f7)][_0x58a876(0x212)]('#','')[_0x58a876(0x13f)]();return J[_0x58a876(0x26c)](_0x13dd70[_0x58a876(0x164)],_0x13dd70['DIVDIR'],_0x13dd70['DIVTYPE'],_0x13dd70['HORDEFTYPE'],_0x13dd70['LINDIV1'],_0x13dd70[_0x58a876(0x182)],_0x54f092,_0x1a96de);}return J[_0x58a876(0x1d7)](_0x13dd70[_0x58a876(0x164)],_0x13dd70[_0x58a876(0x2b6)],_0x13dd70['DIVTYPE'],_0x13dd70[_0x58a876(0x11f)],_0x13dd70[_0x58a876(0x1f7)],_0x13dd70[_0x58a876(0x182)],_0x13dd70[_0x58a876(0x1f7)],_0x1a96de);}};function Vt(_0x398d43){const _0x5b6b31=a0_0x5acb87;if(!_0x398d43)return _0x5b6b31(0x16a);const _0x335138={0x0:_0x5b6b31(0x16a),0x1:_0x5b6b31(0x1b9),0x2:_0x5b6b31(0x16a),0x3:'depth'};return _0x398d43['DIVDIR']==='V'?'height':_0x398d43['HORDEFTYPE']==='W'?_0x5b6b31(0x16a):_0x398d43['HORDEFTYPE']==='D'?'depth':_0x398d43['HORDEFTYPE']==='P'?_0x335138[_0x398d43[_0x5b6b31(0x182)]]??_0x5b6b31(0x16a):'width';}function jt(_0x3a7f5a,_0x43e415){return _0x43e415?_0x43e415[_0x3a7f5a]:0x0;}function Ft(_0x5a98ca,_0x169a18){const _0x36388e=a0_0x5acb87,_0x25c71f=_0x5a98ca;if(Gt(_0x5a98ca))return{'value':_0x5a98ca[_0x36388e(0x175)]('#')?_0x5a98ca['slice'](0x1):_0x5a98ca,'original':_0x25c71f,'isReference':!0x0};if(/^\d+:\d+$/[_0x36388e(0x22f)](_0x5a98ca))return{'value':_0x5a98ca,'original':_0x25c71f,'isReference':!0x1};const {format:_0x492c2b,expression:_0x3e4ed7,suffix:_0x5a3c10}=zt(_0x5a98ca);let _0x3b3680=_0x3e4ed7;_0x3b3680=_0x3b3680['replace'](/^\((.+)\)$/,'$1');const _0xbdced9=we(_0x3b3680,{'variableTree':_0x169a18,'allowFunctions':!0x0,'dataType':'FL','silent':!0x0})[_0x36388e(0x2b0)]??_0x3e4ed7;let _0x60431c;switch(_0x492c2b){case _0x36388e(0x247):_0x60431c=''+_0xbdced9+_0x5a3c10;break;case'ratio:expr':_0x60431c=''+_0x5a3c10+_0xbdced9;break;case'expr*{ratio}':_0x60431c=''+_0xbdced9+_0x5a3c10;break;case _0x36388e(0x1dd):_0x60431c=String(_0xbdced9);break;}return{'value':_0x60431c,'original':_0x25c71f,'isReference':!0x1};}function $t(_0x396239,_0xad1902){return Ft(_0x396239,_0xad1902)['value'];}function zt(_0x4c0219){const _0x1abe38=a0_0x5acb87,_0x3cd5d7=_0x4c0219[_0x1abe38(0x13f)]()['replace'](/^\((.+)\)$/,'$1'),_0x270cdc=_0x3cd5d7[_0x1abe38(0x29e)](/^(\d+|n):(.+?)(mm|cm)?$/);if(_0x270cdc){const [,_0x2d57ce,_0xdcbf23,_0x43bc89]=_0x270cdc;return{'format':_0x1abe38(0x273),'expression':_0xdcbf23['trim'](),'suffix':_0x43bc89?_0x2d57ce+':'+_0x43bc89:_0x2d57ce+':'};}const _0x12df88=_0x3cd5d7[_0x1abe38(0x29e)](/^(.+?)(mm|cm)?:(\d+)$/);if(_0x12df88){const [,_0xfcf022,_0x57c364,_0x267a22]=_0x12df88;return{'format':'expr:ratio','expression':_0xfcf022[_0x1abe38(0x13f)](),'suffix':_0x57c364?_0x57c364+':'+_0x267a22:':'+_0x267a22};}const _0x1376b5=_0x3cd5d7[_0x1abe38(0x29e)](/^(.+?)(\*)?{(\d+)}$/);if(_0x1376b5){const [,_0x5e45e1,_0x3b556d,_0x439165]=_0x1376b5;return{'format':'expr*{ratio}','expression':_0x5e45e1[_0x1abe38(0x13f)](),'suffix':_0x3b556d?'*{'+_0x439165+'}':'{'+_0x439165+'}'};}return{'format':'simple','expression':_0x3cd5d7,'suffix':''};}function Gt(_0x275848){const _0x13a7e4=a0_0x5acb87;return _0x275848[_0x13a7e4(0x175)]('#')?!0x0:_0x275848[_0x13a7e4(0x11b)]('(')||/[+\-*/]/['test'](_0x275848)?!0x1:/^[A-Za-z0-9_-]+$/['test'](_0x275848)?!0x0:!/^\d+:\d+$/[_0x13a7e4(0x22f)](_0x275848);}function He({divider:_0x479c18,inputData:_0x752836}){const _0x595ade=a0_0x5acb87,_0x541c1b=Ge(),{resolveString:_0xeb254c}=z(),{result:_0x2f5135,error:_0x4f3d61}=Be(_0x541c1b,_0x479c18['descriptorName'],_0x752836,{'throwOnError':!0x1}),_0x39bc7e=M[_0x595ade(0x26a)](()=>_0x479c18?ne['string'](_0x479c18)?_0x479c18['articleName']:ne['descriptor'](_0x479c18)&&_0x2f5135?.['lindiv']?_0x2f5135[_0x595ade(0x227)]:'':'',[_0x479c18,_0x2f5135]);return{'updatedDivider':M[_0x595ade(0x26a)](()=>{const _0x3cbad5=_0x595ade;if(_0x479c18)return _0x2f5135?.['lindiv']!=null?{..._0x479c18,'LINDIV1':$t(_0xeb254c(_0x2f5135[_0x3cbad5(0x227)])),'articleName':_0x39bc7e}:{..._0x479c18,'LINDIV1':_0xeb254c(_0x479c18[_0x3cbad5(0x1f7)])};},[_0x479c18,_0x2f5135,_0x39bc7e,_0xeb254c])};}const Bt={'width':{'rotation':[0x0,Math['PI']/0x2,0x0],'get3D':(_0x5ad2f1,_0x58cffc)=>({'length':_0x5ad2f1[a0_0x5acb87(0x1e4)],'width':_0x5ad2f1[a0_0x5acb87(0x1b9)],'thk':_0x58cffc}),'get2DTop':(_0x2fdb2c,_0x402201)=>({'dim_x':_0x2fdb2c[a0_0x5acb87(0x1b9)],'dim_y':_0x402201,'rotate':0x5a}),'get2DFront':(_0x236f45,_0x35ded2)=>({'dim_x':_0x236f45['height'],'dim_y':_0x35ded2,'rotate':0x5a})},'height':{'rotation':[0x0,0x0,0x0],'get3D':(_0x145b9c,_0x12cad7)=>({'length':_0x145b9c['width'],'width':_0x145b9c[a0_0x5acb87(0x1b9)],'thk':_0x12cad7}),'get2DTop':_0x231bc6=>({'dim_x':_0x231bc6[a0_0x5acb87(0x16a)],'dim_y':_0x231bc6[a0_0x5acb87(0x1b9)]}),'get2DFront':(_0x183d2d,_0x33db9a)=>({'dim_x':_0x183d2d[a0_0x5acb87(0x16a)],'dim_y':_0x33db9a})},'depth':{'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'get3D':(_0x3af5c5,_0x3fdc61)=>({'length':_0x3af5c5['height'],'width':_0x3af5c5[a0_0x5acb87(0x16a)],'thk':_0x3fdc61}),'get2DTop':(_0x49f183,_0x504801)=>({'dim_x':_0x49f183[a0_0x5acb87(0x16a)],'dim_y':_0x504801}),'get2DFront':_0x34caf0=>({'dim_x':_0x34caf0[a0_0x5acb87(0x16a)],'dim_y':_0x34caf0[a0_0x5acb87(0x1e4)]})},'article':{'rotation':[0x0,0x0,0x0],'get3D':(_0x42326b,_0x5c40f0)=>({'length':_0x42326b[a0_0x5acb87(0x16a)],'width':_0x42326b[a0_0x5acb87(0x1b9)],'thk':_0x5c40f0}),'get2DTop':_0x23a2ac=>({'dim_x':_0x23a2ac[a0_0x5acb87(0x16a)],'dim_y':_0x23a2ac[a0_0x5acb87(0x1b9)]}),'get2DFront':(_0x5d7475,_0x1a1b10)=>({'dim_x':_0x5d7475[a0_0x5acb87(0x16a)],'dim_y':_0x1a1b10})},'independent':{'rotation':[0x0,0x0,0x0],'get3D':(_0x5bbaa3,_0x171855)=>({'length':_0x5bbaa3['width'],'width':_0x5bbaa3[a0_0x5acb87(0x1b9)],'thk':_0x171855}),'get2DTop':_0x39353a=>({'dim_x':_0x39353a['width'],'dim_y':_0x39353a[a0_0x5acb87(0x1b9)]}),'get2DFront':(_0x3d5aea,_0x2555c6)=>({'dim_x':_0x3d5aea[a0_0x5acb87(0x16a)],'dim_y':_0x2555c6})}},Ht=(_0x50405e,_0x45ed12,_0x291157)=>({'x':_0x50405e===a0_0x5acb87(0x16a)?_0x291157[a0_0x5acb87(0x16a)]/0x2+_0x45ed12/0x2:0x0,'y':_0x50405e===a0_0x5acb87(0x1b9)?_0x291157[a0_0x5acb87(0x1b9)]/0x2+_0x45ed12/0x2:0x0,'z':_0x50405e===a0_0x5acb87(0x1e4)?_0x291157[a0_0x5acb87(0x1e4)]/0x2+_0x45ed12/0x2:0x0});function Ut({divider:_0xbeb287,view:_0x121819,childrenPositon:_0x483c00,dividerThk:_0x350eb2}){const _0x201460=a0_0x5acb87,_0x2b329c=M[_0x201460(0x1de)](O),_0x46fc98=_0x483c00[_0x201460(0x1aa)],_0x218403=_0x483c00[_0x201460(0x12c)],_0x179b0b=Bt[_0x46fc98];if(!_0x2b329c)return null;const {selectedElem:_0x423f90,setSelectedElem:_0x2ba202,hoveredElem:_0x270aa9,setHoveredElem:_0x2b866d}=_0x2b329c;return _0x218403[_0x201460(0x1ce)]((_0x53ae64,_0x23ba6d)=>{const _0x558521=_0x201460,_0x4553e6=!(_0x23ba6d===_0x218403[_0x558521(0x29d)]-0x1)&&_0x350eb2!==0x0,_0x4d5937=Ht(_0x46fc98,_0x350eb2,_0x53ae64[_0x558521(0x2ac)]),_0x51129d=_0x179b0b[_0x558521(0x23c)](_0x53ae64[_0x558521(0x2ac)],_0x350eb2),_0x48f41e=_0x121819===N['_2D_TOP']?_0x179b0b['get2DTop'](_0x53ae64['zone_dims'],_0x350eb2):_0x179b0b['get2DFront'](_0x53ae64[_0x558521(0x2ac)],_0x350eb2),_0x5576d6=_0xbeb287['TREEID']+'\x20divider',_0x119f08=_0x423f90===_0x5576d6,_0x15287a=_0x270aa9===_0x5576d6;return c['jsx'](M[_0x558521(0x193)],{'children':c[_0x558521(0x222)](Q,{'view':_0x121819,'position':[_0x53ae64['x']/E,_0x53ae64['y']/E,_0x53ae64['z']/E],'children':[c[_0x558521(0x17e)](Q,{'view':_0x121819,'position':[_0x4d5937['x']/E,_0x4d5937['y']/E,_0x4d5937['z']/E],'rotation':_0x179b0b['rotation'],'children':_0x4553e6&&c[_0x558521(0x222)](c[_0x558521(0x193)],{'children':[c[_0x558521(0x17e)](_0x558521(0x205),{'children':c[_0x558521(0x222)](_0x558521(0x29f),{'children':[c['jsx']('boxGeometry',{'args':[_0x51129d['length'],_0x51129d['width'],_0x51129d['thk']]}),c['jsx'](_0x558521(0x24e),{'color':'blue','transparent':!0x0,'opacity':0.3})]})}),_0x121819===N[_0x558521(0x236)]?c[_0x558521(0x17e)](G,{..._0x51129d,'opacity':0x1,'treeId':_0x5576d6,'isSelected':_0x119f08,'isHovered':_0x15287a,'onClick':()=>_0x2ba202(_0x119f08?null:_0x5576d6),'onPointerEnter':()=>_0x2b866d(_0x5576d6),'onPointerLeave':()=>_0x2b866d(null)}):c['jsx'](B,{..._0x48f41e,'text':_0x5576d6,'treeId':_0x5576d6,'isSelected':_0x119f08,'isHovered':_0x15287a,'onClick':()=>_0x2ba202(_0x119f08?null:_0x5576d6),'onMouseEnter':()=>_0x2b866d(_0x5576d6),'onMouseLeave':()=>_0x2b866d(null)})]})}),c[_0x558521(0x17e)](Te,{'TREEID':_0x53ae64[_0x558521(0x164)],'dimension':_0x53ae64[_0x558521(0x2ac)],'view':_0x121819})]})},_0x23ba6d);});}function Zt({view:_0x2489d6,remainingZone:_0x5a82ab,articleName:_0x2b2a04}){const _0x436e42=a0_0x5acb87;return c[_0x436e42(0x17e)](me,{'articleName':_0x2b2a04,'dimensionOverrides':{'width':_0x5a82ab[_0x436e42(0x12d)][_0x436e42(0x16a)],'height':_0x5a82ab[_0x436e42(0x12d)][_0x436e42(0x1e4)],'depth':_0x5a82ab[_0x436e42(0x12d)]['depth']},'children':c[_0x436e42(0x17e)](Q,{'view':_0x2489d6,'position':[_0x5a82ab[_0x436e42(0x268)]['x']/E,_0x5a82ab[_0x436e42(0x268)]['y']/E,_0x5a82ab[_0x436e42(0x268)]['z']/E],'children':c[_0x436e42(0x17e)](Ne,{'view':_0x2489d6})})});}function Kt({childrenPositon:_0x7525e,dividerThk:_0xf0f18e,divider:_0x113a69,view:_0x5ad97c,remainingZone:_0x447892}){const _0x45659b=a0_0x5acb87;if(_e[_0x45659b(0x285)](_0x113a69))return _0x7525e?c[_0x45659b(0x17e)](Ut,{'view':_0x5ad97c,'childrenPositon':_0x7525e,'dividerThk':_0xf0f18e,'divider':_0x113a69,'remainingZone':_0x447892}):null;if(_e['article'](_0x113a69)){const _0x48f594=ne[_0x45659b(0x277)](_0x113a69)?_0x113a69['articleName']:_0x113a69['LINDIV1'];return!_0x447892||_0x48f594===''?null:c['jsx'](Zt,{'view':_0x5ad97c,'articleName':_0x48f594,'remainingZone':_0x447892});}return null;}function Ue(){const _0x524825=a0_0x5acb87,{getArticleData:_0x4af800}=W(),{articleName:_0xf1f36,dimensionOverrides:_0x210327}=X(),{resolveString:_0x5a5129}=z(),{anglPrims:_0x3a6e2a}=_0x4af800(_0xf1f36);if(_0x3a6e2a[_0x524825(0x29d)]===0x0)throw new Error(_0x524825(0x290)+_0xf1f36);const _0x130c9f=_0x3a6e2a[0x0],_0x2a411c=(_0x146430,_0x380460)=>{const _0x1e584c=_0x524825,_0x5b71da=typeof _0x146430==_0x1e584c(0x277)&&_0x146430!==''?ie(_0x5a5129(_0x146430)):_0x380460;return parseFloat(String(_0x5b71da))||0x0;},_0x45c817={'width':_0x210327?.[_0x524825(0x16a)]??_0x2a411c(_0x130c9f[_0x524825(0x139)],_0x130c9f[_0x524825(0x2b1)]),'height':_0x210327?.[_0x524825(0x1e4)]??_0x2a411c(_0x130c9f[_0x524825(0x122)],_0x130c9f[_0x524825(0x1b7)]),'depth':_0x210327?.[_0x524825(0x1b9)]??_0x2a411c(_0x130c9f[_0x524825(0x10a)],_0x130c9f[_0x524825(0x21f)])};return{'current_prim':_0x130c9f,'prim_dims':_0x45c817};}function Te({TREEID:_0x34223a,dimension:_0x53b82d,view:_0x222cc7=N[a0_0x5acb87(0x236)]}){const _0x1e9d43=a0_0x5acb87;console[_0x1e9d43(0x199)](_0x1e9d43(0x1fa)+_0x34223a+'\x20=====================================');const _0x5ad881=oe(_0x34223a),_0x11211d=_0x5ad881?.['zoneInfo'](),_0x55a756=_0x5ad881?.[_0x1e9d43(0x18c)]||0x0,_0x337a6a=Ue(),_0x1aa1c0=Nt(_0x34223a),_0x2a5848=Mt(_0x1aa1c0,_0x5ad881?.[_0x1e9d43(0x183)]||0x0,_0x5ad881?.[_0x1e9d43(0x22a)]||0x0),_0x2c4d24=yt(_0x1aa1c0),_0x1a49b1=It(_0x53b82d,_0x2c4d24),_0x4ff62c=bt(_0x1a49b1,_0x2a5848),_0x421a48=M[_0x1e9d43(0x26a)](()=>{const _0x3035d0=_0x1e9d43;if(_0x5ad881)return J['fromZoneData'](_0x5ad881[_0x3035d0(0x2a3)],_0x55a756);},[_0x5ad881,_0x55a756]),_0x1be48f=_0x11211d?Object[_0x1e9d43(0x215)](_0x11211d):{},_0x5e4d0a=Vt(_0x421a48),_0x5b572e=jt(_0x5e4d0a,_0x4ff62c[_0x1e9d43(0x12d)]);_0x1be48f[_0x1e9d43(0x2a9)]=_0x337a6a?.[_0x1e9d43(0x263)]['width'][_0x1e9d43(0x282)](),_0x1be48f['AD\x20article\x20height']=_0x337a6a?.[_0x1e9d43(0x263)][_0x1e9d43(0x1e4)][_0x1e9d43(0x282)](),_0x1be48f[_0x1e9d43(0x14d)]=_0x337a6a?.[_0x1e9d43(0x263)][_0x1e9d43(0x1b9)][_0x1e9d43(0x282)](),_0x1be48f[0x0]='0',_0x1be48f['X']=_0x5b572e[_0x1e9d43(0x282)]();const _0x11a995=_0x421a48?Rt[_0x1e9d43(0x16b)](_0x421a48):!0x1,_0x5a6262=_0x421a48?ne['descriptor'](_0x421a48):!0x1,_0x22e17b=_0x11a995||_0x5a6262?He({'divider':_0x421a48,'inputData':_0x1be48f})[_0x1e9d43(0x291)]:_0x421a48,_0x3d6454=Dt(_0x4ff62c,_0x55a756,_0x22e17b,_0x5ad881?.[_0x1e9d43(0x1ba)][_0x1e9d43(0x1ce)](_0x203065=>_0x203065['TREEID'])||[]);return c['jsx'](c[_0x1e9d43(0x193)],{'children':c[_0x1e9d43(0x222)](Q,{'view':_0x222cc7,'position':[_0x1a49b1['position']['x']/E,_0x1a49b1[_0x1e9d43(0x268)]['y']/E,_0x1a49b1[_0x1e9d43(0x268)]['z']/E],'children':[_0x1aa1c0[_0x1e9d43(0x1cf)]?.['CPNAME']&&c['jsx'](kt,{'view':_0x222cc7,'TREEID':Re(_0x34223a),'dimension':_0x1a49b1[_0x1e9d43(0x12d)],'helper':_0x1aa1c0}),_0x1aa1c0['left']?.[_0x1e9d43(0x220)]&&c[_0x1e9d43(0x17e)](At,{'view':_0x222cc7,'TREEID':Fe(_0x34223a),'dimension':_0x1a49b1['dimensions'],'helper':_0x1aa1c0}),_0x1aa1c0['back']?.[_0x1e9d43(0x220)]&&c[_0x1e9d43(0x17e)](Ct,{'view':_0x222cc7,'TREEID':je(_0x34223a),'dimension':_0x1a49b1[_0x1e9d43(0x12d)],'helper':_0x1aa1c0}),_0x1aa1c0[_0x1e9d43(0x2ba)]?.[_0x1e9d43(0x220)]&&c[_0x1e9d43(0x17e)](wt,{'view':_0x222cc7,'TREEID':Ve(_0x34223a),'dimension':_0x1a49b1[_0x1e9d43(0x12d)],'helper':_0x1aa1c0}),_0x5ad881?.[_0x1e9d43(0x237)]&&c[_0x1e9d43(0x17e)](Lt,{'view':_0x222cc7,'TREEID':_0x34223a,'dimension':_0x1a49b1[_0x1e9d43(0x12d)],'helper':_0x1aa1c0}),_0x5ad881?.['bottomShelfCP']&&c[_0x1e9d43(0x17e)](Ot,{'view':_0x222cc7,'TREEID':_0x34223a,'dimension':_0x1a49b1[_0x1e9d43(0x12d)],'helper':_0x1aa1c0}),c['jsx'](Q,{'view':_0x222cc7,'position':[_0x4ff62c[_0x1e9d43(0x268)]['x']/E,_0x4ff62c[_0x1e9d43(0x268)]['y']/E,_0x4ff62c[_0x1e9d43(0x268)]['z']/E],'children':_0x22e17b&&c[_0x1e9d43(0x17e)](Kt,{'remainingZone':_0x4ff62c,'divider':_0x22e17b,'view':_0x222cc7,'childrenPositon':_0x3d6454,'dividerThk':_0x55a756})})]})});}const Yt=a0_0x5acb87(0x17d);function Ne({view:_0x13ea75=N['_3D']}){const _0x9ea8ef=a0_0x5acb87;console[_0x9ea8ef(0x199)](_0x9ea8ef(0x10d));const _0x311195=Ue()[_0x9ea8ef(0x263)],_0x1abae1=c['jsx'](Te,{'TREEID':'0','view':_0x13ea75,'dimension':_0x311195});return _0x13ea75===N[_0x9ea8ef(0x236)]?_0x1abae1:c['jsx']('g',{'transform':Yt,'children':_0x1abae1});}function Wt({view:_0x335c04,data:_0x15c538,articleName:_0x127fef}){const _0xed0af5=a0_0x5acb87,_0x5e1a52=_0x15c538[_0xed0af5(0x225)],_0x144aab=_0x15c538[_0xed0af5(0x2b8)],_0x196fcf=_0x15c538[_0xed0af5(0x207)][_0xed0af5(0x1ce)](_0x4669a7=>_0x4669a7[_0xed0af5(0x1b5)]);return c[_0xed0af5(0x17e)](c['Fragment'],{'children':c['jsx'](ke,{'names':_0x196fcf,'data':_0x15c538,'children':c[_0xed0af5(0x17e)](me,{'articleName':_0x127fef,'children':c[_0xed0af5(0x17e)](Ce,{'imosVariables':_0x144aab,'children':c[_0xed0af5(0x17e)](Pe,{'descriptorData':_0x5e1a52,'children':c[_0xed0af5(0x17e)](Ne,{'view':_0x335c04})})})})})});}function Xt(){const _0x2c3b3e=a0_0x5acb87,{tree:_0x5b5d80,getValue:_0x3c6df2,setValue:_0x296600}=z(),_0x82d4f6=(_0x493880,_0x3290b6)=>{const _0x350711=Number(_0x3290b6);_0x296600(_0x493880,isNaN(_0x350711)?_0x3290b6:_0x350711);},_0x29be7a=((()=>{const _0x12572d=a0_0x9d0a,_0x25825={[L[_0x12572d(0x20a)]]:{'type':L['Numeric'],'label':_0x12572d(0x209),'variables':[]},[L[_0x12572d(0x14a)]]:{'type':L[_0x12572d(0x14a)],'label':_0x12572d(0x19c),'variables':[]},[L[_0x12572d(0x132)]]:{'type':L[_0x12572d(0x132)],'label':_0x12572d(0x233),'variables':[]},[L[_0x12572d(0x1f3)]]:{'type':L[_0x12572d(0x1f3)],'label':'Text','variables':[]}};return Array['from'](_0x5b5d80['entries']())[_0x12572d(0x1b3)](([_0x40e3c4,_0x49521e])=>{const _0x2b8b14=_0x12572d,_0x637ed7=_0x3c6df2(_0x40e3c4),_0x7f5f37=_0x49521e[_0x2b8b14(0x19b)]['startsWith']('$');_0x25825[_0x49521e[_0x2b8b14(0x194)]]?.[_0x2b8b14(0x2b8)][_0x2b8b14(0x224)]({'name':_0x40e3c4,'value':_0x637ed7??_0x2b8b14(0x2bd),'reference':_0x7f5f37?_0x49521e['WERT']:void 0x0,'rawType':_0x49521e[_0x2b8b14(0x194)]});}),Object[_0x12572d(0x230)](_0x25825)['filter'](_0x5d44a4=>_0x5d44a4['variables'][_0x12572d(0x29d)]>0x0);})()),_0x474bd6=_0x2d17db=>{const _0x3b4754=a0_0x9d0a,_0x1c8a1c=_0x2d17db[_0x3b4754(0x23d)]===L[_0x3b4754(0x20a)],_0x4719ea=typeof _0x2d17db['value']==_0x3b4754(0x22d)?_0x2d17db['value']:Number(_0x2d17db[_0x3b4754(0x2b0)]);return _0x1c8a1c&&!isNaN(_0x4719ea)?c['jsxs'](_0x3b4754(0x214),{'className':_0x3b4754(0x14c),'children':[c[_0x3b4754(0x17e)]('input',{'type':'range','min':0x0,'max':0x4e20,'value':_0x4719ea,'onChange':_0x3a452d=>_0x82d4f6(_0x2d17db[_0x3b4754(0x19e)],_0x3a452d[_0x3b4754(0x1ad)][_0x3b4754(0x2b0)]),'className':_0x3b4754(0x1e8)}),c[_0x3b4754(0x17e)]('input',{'type':_0x3b4754(0x22d),'value':_0x4719ea,'onChange':_0xdd6ff3=>_0x82d4f6(_0x2d17db[_0x3b4754(0x19e)],_0xdd6ff3[_0x3b4754(0x1ad)][_0x3b4754(0x2b0)]),'onBlur':_0x357e91=>_0x82d4f6(_0x2d17db[_0x3b4754(0x19e)],_0x357e91['target'][_0x3b4754(0x2b0)]),'className':'var-controller__number-input','min':0x0,'max':0x4e20})]}):c['jsx']('input',{'type':_0x3b4754(0x217),'value':_0x2d17db['value'],'onChange':_0xa6ed0c=>_0x82d4f6(_0x2d17db[_0x3b4754(0x19e)],_0xa6ed0c['target']['value']),'onBlur':_0x4baf85=>_0x82d4f6(_0x2d17db[_0x3b4754(0x19e)],_0x4baf85[_0x3b4754(0x1ad)][_0x3b4754(0x2b0)]),'className':'var-controller__text-input'});};return c[_0x2c3b3e(0x222)](_0x2c3b3e(0x214),{'className':'var-controller','children':[c[_0x2c3b3e(0x17e)]('h2',{'children':_0x2c3b3e(0x258)}),c[_0x2c3b3e(0x222)]('p',{'className':_0x2c3b3e(0x269),'children':[_0x2c3b3e(0x15b),_0x5b5d80[_0x2c3b3e(0x223)]]}),_0x29be7a[_0x2c3b3e(0x1ce)](_0x2a34fb=>c[_0x2c3b3e(0x222)]('section',{'className':'var-controller__section','children':[c[_0x2c3b3e(0x222)]('h3',{'className':_0x2c3b3e(0x150),'children':[_0x2a34fb[_0x2c3b3e(0x26d)],'\x20(',_0x2a34fb[_0x2c3b3e(0x2b8)][_0x2c3b3e(0x29d)],')']}),c[_0x2c3b3e(0x222)](_0x2c3b3e(0x1d5),{'className':_0x2c3b3e(0x173),'children':[c[_0x2c3b3e(0x17e)](_0x2c3b3e(0x21a),{'children':c['jsxs']('tr',{'children':[c['jsx']('th',{'style':{'width':'25%'},'children':_0x2c3b3e(0x2b5)}),c[_0x2c3b3e(0x17e)]('th',{'style':{'width':_0x2c3b3e(0x1a3)},'children':_0x2c3b3e(0x1c3)}),c[_0x2c3b3e(0x17e)]('th',{'style':{'width':_0x2c3b3e(0x117)},'children':_0x2c3b3e(0x18f)}),c[_0x2c3b3e(0x17e)]('th',{'className':_0x2c3b3e(0x1f2),'style':{'width':_0x2c3b3e(0x15a)},'children':_0x2c3b3e(0x160)})]})}),c['jsx']('tbody',{'children':_0x2a34fb[_0x2c3b3e(0x2b8)][_0x2c3b3e(0x1ce)](_0x1ffa55=>c[_0x2c3b3e(0x222)]('tr',{'children':[c[_0x2c3b3e(0x17e)]('td',{'className':'var-controller__var-name','children':_0x1ffa55[_0x2c3b3e(0x19e)]}),c[_0x2c3b3e(0x17e)]('td',{'children':_0x474bd6(_0x1ffa55)}),c[_0x2c3b3e(0x17e)]('td',{'className':'var-controller__reference','children':_0x1ffa55[_0x2c3b3e(0x271)]||'-'}),c[_0x2c3b3e(0x17e)]('td',{'style':{'textAlign':_0x2c3b3e(0x1f2)},'children':c[_0x2c3b3e(0x17e)](_0x2c3b3e(0x196),{'className':_0x2c3b3e(0x10f),'children':_0x2a34fb[_0x2c3b3e(0x13e)]})})]},_0x1ffa55[_0x2c3b3e(0x19e)]))})]})]},_0x2a34fb[_0x2c3b3e(0x13e)])),c[_0x2c3b3e(0x222)](_0x2c3b3e(0x297),{'className':_0x2c3b3e(0x279),'children':[c[_0x2c3b3e(0x17e)]('h4',{'children':_0x2c3b3e(0x14b)}),c[_0x2c3b3e(0x17e)]('ul',{'children':_0x29be7a['map'](_0x50d004=>c['jsxs']('li',{'children':[_0x50d004['label'],':\x20',_0x50d004[_0x2c3b3e(0x2b8)][_0x2c3b3e(0x29d)],'\x20variables']},_0x50d004[_0x2c3b3e(0x13e)]))})]})]});}const qt=a0_0x5acb87(0x112);exports['ArticleContext']=fe,exports['ArticleDesigner']=Wt,exports[a0_0x5acb87(0x239)]=me,exports[a0_0x5acb87(0x178)]=O,exports[a0_0x5acb87(0x2c5)]=ke,exports[a0_0x5acb87(0x2a7)]=xe,exports['DescriptorProvider']=Pe,exports[a0_0x5acb87(0x121)]=Ne,exports[a0_0x5acb87(0x2c3)]=qt,exports[a0_0x5acb87(0x197)]=N,exports[a0_0x5acb87(0x1dc)]=Xt,exports[a0_0x5acb87(0x1ed)]=pe,exports['VariableProvider']=Ce,exports[a0_0x5acb87(0x2a5)]=We,exports['Zone']=Te,exports['ZoneDescriptor']=He,exports[a0_0x5acb87(0x1fc)]=X,exports[a0_0x5acb87(0x1d6)]=W,exports[a0_0x5acb87(0x21d)]=Be,exports[a0_0x5acb87(0x25b)]=Ge,exports[a0_0x5acb87(0x1f0)]=Pt,exports[a0_0x5acb87(0x1da)]=z;
1
+ 'use strict';const a0_0x299c60=a0_0x5d71;(function(_0x478ac2,_0x29f7d8){const _0x470a29=a0_0x5d71,_0xb86e6f=_0x478ac2();while(!![]){try{const _0x41036e=-parseInt(_0x470a29(0x1da))/0x1*(parseInt(_0x470a29(0x138))/0x2)+parseInt(_0x470a29(0x11f))/0x3+-parseInt(_0x470a29(0x22b))/0x4+parseInt(_0x470a29(0x1a4))/0x5+-parseInt(_0x470a29(0x135))/0x6+parseInt(_0x470a29(0x160))/0x7*(parseInt(_0x470a29(0x1b3))/0x8)+parseInt(_0x470a29(0x278))/0x9*(parseInt(_0x470a29(0x23b))/0xa);if(_0x41036e===_0x29f7d8)break;else _0xb86e6f['push'](_0xb86e6f['shift']());}catch(_0x3db85e){_0xb86e6f['push'](_0xb86e6f['shift']());}}}(a0_0x55d3,0x7bb72));var Ue=Object[a0_0x299c60(0x16d)],Ze=(_0x307a5d,_0x60c83,_0x21f8c3)=>_0x60c83 in _0x307a5d?Ue(_0x307a5d,_0x60c83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21f8c3}):_0x307a5d[_0x60c83]=_0x21f8c3,A=(_0x55664a,_0x20c1b7,_0x501b49)=>Ze(_0x55664a,typeof _0x20c1b7!=a0_0x299c60(0x287)?_0x20c1b7+'':_0x20c1b7,_0x501b49);Object[a0_0x299c60(0x16d)](exports,Symbol['toStringTag'],{'value':a0_0x299c60(0x27a)});const h=require(a0_0x299c60(0x18d)),M=require(a0_0x299c60(0x1a7)),Ke=require(a0_0x299c60(0x131)),ue=require(a0_0x299c60(0x1af)),O=M['createContext'](void 0x0);function De({data:_0x27ecca,children:_0x2f04bc,names:_0x439e43}){const _0x39e71f=a0_0x299c60,_0xfc2c14=_0x27ecca,[_0x4c9397,_0x406cac]=M[_0x39e71f(0x1a6)](_0xfc2c14),[_0x3975f1,_0x538334]=M[_0x39e71f(0x1a6)](null),[_0x261be9,_0x55fc2b]=M[_0x39e71f(0x1a6)](null),_0x22805c=M[_0x39e71f(0x220)](_0x3b1134=>({'anglElems':_0x4c9397[_0x39e71f(0x20f)][_0x39e71f(0x1d1)](_0x380d3d=>_0x380d3d[_0x39e71f(0x150)]===_0x3b1134),'anglZones':_0x4c9397['anglzone'][_0x39e71f(0x1d1)](_0x1d99ab=>_0x1d99ab[_0x39e71f(0x150)]===_0x3b1134),'anglPrims':_0x4c9397[_0x39e71f(0x267)][_0x39e71f(0x1d1)](_0x43bfeb=>_0x43bfeb[_0x39e71f(0x150)]===_0x3b1134),'anglClies':_0x4c9397['anglclie'][_0x39e71f(0x1d1)](_0x4ebcc7=>_0x4ebcc7[_0x39e71f(0x150)]===_0x3b1134),'anglGrtxs':_0x4c9397[_0x39e71f(0x183)][_0x39e71f(0x1d1)](_0x15ab6b=>_0x15ab6b[_0x39e71f(0x150)]===_0x3b1134)}),[_0x4c9397]),{anglElems:_0x3273f8,anglZones:_0x56b9de,anglPrims:_0x112740,anglClies:_0x4fe37f,anglGrtxs:_0x5aed9d}=M[_0x39e71f(0xe2)](()=>_0x439e43&&_0x439e43[_0x39e71f(0x259)]>0x0?{'anglElems':_0x4c9397[_0x39e71f(0x20f)]['filter'](_0x80fcad=>_0x439e43[_0x39e71f(0x1b1)](_0x80fcad[_0x39e71f(0x150)])),'anglZones':_0x4c9397['anglzone']['filter'](_0x1d3581=>_0x439e43[_0x39e71f(0x1b1)](_0x1d3581[_0x39e71f(0x150)])),'anglPrims':_0x4c9397[_0x39e71f(0x267)][_0x39e71f(0x1d1)](_0x558077=>_0x439e43[_0x39e71f(0x1b1)](_0x558077[_0x39e71f(0x150)])),'anglClies':_0x4c9397[_0x39e71f(0x11a)][_0x39e71f(0x1d1)](_0x122e3b=>_0x439e43['includes'](_0x122e3b[_0x39e71f(0x150)])),'anglGrtxs':_0x4c9397['anglgrtx']['filter'](_0x1a23d0=>_0x439e43['includes'](_0x1a23d0['NAME']))}:{'anglElems':_0x4c9397[_0x39e71f(0x20f)],'anglZones':_0x4c9397['anglzone'],'anglPrims':_0x4c9397[_0x39e71f(0x267)],'anglClies':_0x4c9397[_0x39e71f(0x11a)],'anglGrtxs':_0x4c9397[_0x39e71f(0x183)]},[_0x4c9397,_0x439e43]),_0x1ffce9={'anglElems':_0x3273f8,'anglZones':_0x56b9de,'anglPrims':_0x112740,'anglClies':_0x4fe37f,'anglGrtxs':_0x5aed9d,'selectedElem':_0x3975f1,'setSelectedElem':_0x538334,'hoveredElem':_0x261be9,'setHoveredElem':_0x55fc2b,'updateAnglPrim':(_0x3dd859,_0x17ed38,_0x22f561)=>{const _0x4d6c1b=_0x39e71f;_0x406cac(_0x10e300=>({..._0x10e300,'anglprim':_0x10e300[_0x4d6c1b(0x267)][_0x4d6c1b(0x16e)](_0x55299b=>_0x55299b[_0x4d6c1b(0x150)]===_0x3dd859?{..._0x55299b,[_0x17ed38]:_0x22f561}:_0x55299b)}));},'updateAnglElem':(_0x19818c,_0x1a3ac7,_0x3b4283,_0xf7d53)=>{const _0x327245=_0x39e71f;_0x406cac(_0x2fdc93=>({..._0x2fdc93,'anglelem':_0x2fdc93[_0x327245(0x20f)][_0x327245(0x16e)](_0x387bc8=>_0x387bc8['TREEID']===_0x1a3ac7&&_0x387bc8['NAME']===_0x19818c?{..._0x387bc8,[_0x3b4283]:_0xf7d53}:_0x387bc8)}));},'updateAnglZone':(_0x3ba77a,_0x21ccc9,_0x3743a3,_0x20b275)=>{const _0x34a9f3=_0x39e71f;_0x406cac(_0x2abc0c=>({..._0x2abc0c,'anglzone':_0x2abc0c[_0x34a9f3(0xe1)][_0x34a9f3(0x16e)](_0x119c84=>_0x119c84['TREEID']===_0x21ccc9&&_0x119c84[_0x34a9f3(0x150)]===_0x3ba77a?{..._0x119c84,[_0x3743a3]:_0x20b275}:_0x119c84)}));},'updateAnglClie':(_0x43a6f6,_0xdece67,_0xd733c8,_0x391119,_0x39c700)=>{const _0x147585=_0x39e71f;_0x406cac(_0x308980=>({..._0x308980,'anglclie':_0x308980[_0x147585(0x11a)][_0x147585(0x16e)](_0x50ea6f=>_0x50ea6f[_0x147585(0x10e)]===_0xdece67&&_0x50ea6f[_0x147585(0x14e)]===_0xd733c8&&_0x50ea6f['DATATYPE']===_0x39c700&&_0x50ea6f[_0x147585(0x150)]===_0x43a6f6?{..._0x50ea6f,'TAGVALUE':_0x391119,'DATE_LASTCHANGE':new Date()[_0x147585(0x254)]()}:_0x50ea6f)}));},'updateAnglGrtx':(_0x858792,_0x1a36f3,_0x342884,_0xc0fad1)=>{const _0x2d8a58=_0x39e71f;_0x406cac(_0x25406b=>({..._0x25406b,'anglgrtx':_0x25406b[_0x2d8a58(0x183)][_0x2d8a58(0x16e)](_0x233b7a=>_0x233b7a[_0x2d8a58(0x10e)]===_0x1a36f3&&_0x233b7a[_0x2d8a58(0x1f1)]===_0x342884&&_0x233b7a[_0x2d8a58(0x150)]===_0x858792?{..._0x233b7a,'TEXT':_0xc0fad1,'DATE_LASTCHANGE':new Date()['toISOString']()}:_0x233b7a)}));},'getArticleData':_0x22805c,'allData':_0x4c9397};return h[_0x39e71f(0x17c)](O['Provider'],{'value':_0x1ffce9,'children':_0x2f04bc});}const fe=M[a0_0x299c60(0x192)](null);function me({children:_0xa3f241,articleName:_0x154e91,dimensionOverrides:_0x3a4965}){const _0x61df48=a0_0x299c60,_0x78b896={'articleName':_0x154e91,'dimensionOverrides':_0x3a4965};return h[_0x61df48(0x17c)](fe[_0x61df48(0x22d)],{'value':_0x78b896,'children':_0xa3f241});}const pe=M['createContext'](void 0x0);var L=(_0x2b0c7c=>(_0x2b0c7c[_0x2b0c7c[a0_0x299c60(0x29b)]=0x3]=a0_0x299c60(0x29b),_0x2b0c7c[_0x2b0c7c[a0_0x299c60(0x284)]=0x4]=a0_0x299c60(0x284),_0x2b0c7c[_0x2b0c7c['Numeric']=0x64]=a0_0x299c60(0x157),_0x2b0c7c[_0x2b0c7c[a0_0x299c60(0x1d3)]=0x78]=a0_0x299c60(0x1d3),_0x2b0c7c))(L||{});function he(_0x450d2f){const _0x230ca1=a0_0x299c60;return new Map(_0x450d2f['map'](_0x1fccf9=>[_0x1fccf9[_0x230ca1(0x150)],_0x1fccf9]));}function ae(_0x573089,_0x1ecab1,_0x1cc640=new Set()){const _0x3cd53c=a0_0x299c60,_0x396c35=_0x1ecab1[_0x3cd53c(0x134)](_0x573089);if(!_0x396c35)return;if(_0x1cc640['has'](_0x573089)){console[_0x3cd53c(0x227)](_0x3cd53c(0x282)+[..._0x1cc640,_0x573089][_0x3cd53c(0x1e5)](_0x3cd53c(0x13b)));return;}const _0x40506d=_0x396c35[_0x3cd53c(0x119)];if(_0x40506d[_0x3cd53c(0x159)]('$')&&_0x396c35[_0x3cd53c(0x1f2)]!=L['Text']){const _0x109c92=_0x40506d['slice'](0x1);return _0x1cc640[_0x3cd53c(0x182)](_0x573089),ae(_0x109c92,_0x1ecab1,_0x1cc640);}const _0x34bdea=Number(_0x40506d);return isNaN(_0x34bdea)?_0x40506d:_0x34bdea;}function ke(_0x2ec637,_0x4dc35a,_0x451c6e){const _0x29712a=a0_0x299c60,_0x12b3a5=_0x451c6e['get'](_0x2ec637);if(!_0x12b3a5)return console[_0x29712a(0x1f8)](_0x29712a(0x208)+_0x2ec637+_0x29712a(0x1dd)),_0x451c6e;const _0x4f5662=new Map(_0x451c6e);return _0x4f5662[_0x29712a(0x256)](_0x2ec637,{..._0x12b3a5,'WERT':String(_0x4dc35a)}),_0x4f5662;}function de(_0x55a90d,_0xe62cb6){const _0x2bedab=a0_0x299c60;return _0x55a90d[_0x2bedab(0x1bd)](/\$([A-Za-z_][A-Za-z0-9_]*)/g,(_0x2e8e00,_0x529416)=>{const _0x445ae0=ae(_0x529416,_0xe62cb6);return _0x445ae0!==void 0x0?String(_0x445ae0):_0x2e8e00;});}function ge(_0x55c93a){const _0x192341=a0_0x299c60;return/\$[A-Za-z_][A-Za-z0-9_]*/g[_0x192341(0x118)](_0x55c93a);}function Ye(_0x241c9c){const _0x8a792=a0_0x299c60,_0x41d308=_0x241c9c[_0x8a792(0x23e)](/\$([A-Za-z_][A-Za-z0-9_]*)/g);return Array[_0x8a792(0x29c)](_0x41d308,_0x5387b7=>_0x5387b7[0x1]);}const We=Object[a0_0x299c60(0x1a1)](Object[a0_0x299c60(0x16d)]({'__proto__':null,'createVariableTree':he,'extractVariableNames':Ye,'getValue':ae,'hasVariables':ge,'resolveString':de,'setValue':ke},Symbol['toStringTag'],{'value':a0_0x299c60(0x27a)}));function Ae({children:_0x5b87e8,imosVariables:_0x4c3579}){const _0x1cb255=a0_0x299c60,[_0x3d2588,_0x4517c0]=M[_0x1cb255(0x1a6)](()=>he(_0x4c3579));M[_0x1cb255(0x18a)](()=>{_0x4517c0(he(_0x4c3579));},[_0x4c3579]);const _0x127ef0=M[_0x1cb255(0x220)]((_0x55ef7e,_0x230fb6)=>{_0x4517c0(_0x296b91=>ke(_0x55ef7e,_0x230fb6,_0x296b91));},[]),_0x5b6b2b={'tree':_0x3d2588,'setValue':_0x127ef0};return h[_0x1cb255(0x17c)](pe[_0x1cb255(0x22d)],{'value':_0x5b6b2b,'children':_0x5b87e8});}const xe=M[a0_0x299c60(0x192)](null),Me=_0x524eed=>{const _0x440751=Number(_0x524eed);return isNaN(_0x440751)?null:_0x440751;},Z=_0x25a55e=>_0x25a55e==null?'':String(_0x25a55e),V=(_0x398716,_0x49817b,_0x1f692d)=>{const _0x54017d=Me(_0x398716),_0x19cfb1=Me(_0x49817b);return _0x54017d===null||_0x19cfb1===null?!0x1:_0x1f692d(_0x54017d,_0x19cfb1);},U=(_0x2b0eee,_0x5d1214,_0x58514c)=>_0x2b0eee==null||_0x5d1214==null?!0x1:_0x58514c(Z(_0x2b0eee),Z(_0x5d1214)),Xe={'=':(_0x53987d,_0x26c534)=>_0x53987d==null||_0x26c534==null?_0x53987d===_0x26c534:Z(_0x53987d)[a0_0x299c60(0x272)]()===Z(_0x26c534)['trim'](),'!=':(_0x5382e6,_0x5c06bf)=>_0x5382e6==null||_0x5c06bf==null?_0x5382e6!==_0x5c06bf:Z(_0x5382e6)['trim']()!==Z(_0x5c06bf)[a0_0x299c60(0x272)](),'>':(_0x3e5ab9,_0xaddc8e)=>V(_0x3e5ab9,_0xaddc8e,(_0x3e9756,_0xc4201f)=>_0x3e9756>_0xc4201f),'<':(_0x52dac7,_0x5e326d)=>V(_0x52dac7,_0x5e326d,(_0xe9a20a,_0x41bb2f)=>_0xe9a20a<_0x41bb2f),'>=':(_0x5e9d5e,_0x4e74f4)=>V(_0x5e9d5e,_0x4e74f4,(_0x5534e9,_0x54cf2b)=>_0x5534e9>=_0x54cf2b),'<=':(_0x2b0b37,_0x5ab2cc)=>V(_0x2b0b37,_0x5ab2cc,(_0x33d65a,_0x2d4721)=>_0x33d65a<=_0x2d4721),'&gt;':(_0x2533bb,_0x1d1ebf)=>V(_0x2533bb,_0x1d1ebf,(_0x1a5aa8,_0x4d79ae)=>_0x1a5aa8>_0x4d79ae),'&gt;=':(_0x4fd605,_0x152df6)=>V(_0x4fd605,_0x152df6,(_0x1852c2,_0x2c9f91)=>_0x1852c2>=_0x2c9f91),'&lt;':(_0x198880,_0x50316a)=>V(_0x198880,_0x50316a,(_0x5472c9,_0x2348bb)=>_0x5472c9<_0x2348bb),'&lt;=':(_0xd54b88,_0x4ad73e)=>V(_0xd54b88,_0x4ad73e,(_0x2cf53e,_0x204eb9)=>_0x2cf53e<=_0x204eb9),'B':(_0x3f41d7,_0x18be2b)=>U(_0x3f41d7,_0x18be2b,(_0x1c8b31,_0x47b3a0)=>_0x1c8b31['startsWith'](_0x47b3a0)),'!B':(_0xc3000d,_0x3127e8)=>U(_0xc3000d,_0x3127e8,(_0x486330,_0x38a704)=>!_0x486330[a0_0x299c60(0x159)](_0x38a704)),'E':(_0x258a90,_0x1779dd)=>U(_0x258a90,_0x1779dd,(_0x15c164,_0x35ad10)=>_0x15c164[a0_0x299c60(0x120)](_0x35ad10)),'!E':(_0x2c425a,_0x126818)=>U(_0x2c425a,_0x126818,(_0x4baf9b,_0x974306)=>!_0x4baf9b[a0_0x299c60(0x120)](_0x974306)),'C':(_0x220e73,_0x5c52be)=>U(_0x220e73,_0x5c52be,(_0x146e33,_0xe46eab)=>_0x146e33['includes'](_0xe46eab)),'!C':(_0x501e5a,_0x5095bc)=>U(_0x501e5a,_0x5095bc,(_0x1301a9,_0x561660)=>!_0x1301a9[a0_0x299c60(0x1b1)](_0x561660))},qe={'Zusatzfilter\x203':a0_0x299c60(0x125),'Zusatzfilter\x204':'filter4'};function Ce(_0x45b666,_0x28baa2={}){const _0x33748d=a0_0x299c60,{variableTree:_0x5c22ed,dataType:_0x34978f,silent:_0x42b71b=!0x1,allowFunctions:_0x4764e2=!0x0}=_0x28baa2,_0x4a59db=/^(.+?)\s*(mm|cm|m|in|ft|px|pt|%|deg|rad)$/i,_0x380499={'value':void 0x0,'original':_0x45b666,'resolved':_0x45b666,'hadVariables':!0x1,'wasEvaluated':!0x1};try{let _0xbea4b=_0x45b666['trim'](),_0x15a960;if(_0x4a59db[_0x33748d(0x118)](_0xbea4b)){const _0x489a69=_0xbea4b[_0x33748d(0x1c5)](_0x4a59db);_0x489a69&&(_0xbea4b=_0x489a69[0x1][_0x33748d(0x272)](),_0x15a960=_0x489a69[0x2]);}_0x5c22ed&&ge(_0xbea4b)&&(_0x380499[_0x33748d(0x161)]=!0x0,_0xbea4b=de(_0xbea4b,_0x5c22ed),_0x380499[_0x33748d(0x14d)]=_0xbea4b),we(_0xbea4b)?(_0x380499[_0x33748d(0x177)]=!0x0,_0x380499[_0x33748d(0x20b)]=Le(_0xbea4b,_0x4764e2)):Ee(_0xbea4b)?(_0x380499[_0x33748d(0x177)]=!0x0,_0x380499[_0x33748d(0x20b)]=Se(_0xbea4b,_0x4764e2)):_0x380499[_0x33748d(0x20b)]=Qe(_0xbea4b,_0x34978f);}catch(_0x5ad8d0){_0x380499[_0x33748d(0x227)]=_0x5ad8d0 instanceof Error?_0x5ad8d0['message']:String(_0x5ad8d0),_0x42b71b||console[_0x33748d(0x227)]('[ExpressionResolver]\x20Failed\x20to\x20resolve:\x20\x22'+_0x45b666+'\x22',_0x5ad8d0),_0x380499[_0x33748d(0x20b)]=_0x45b666;}return _0x380499;}function ie(_0x182ed6,_0x463b1d={}){const _0x18f6f=a0_0x299c60;return Ce(_0x182ed6,_0x463b1d)[_0x18f6f(0x20b)];}function we(_0x3293c7){const _0xe49618=a0_0x299c60;return!_0x3293c7||typeof _0x3293c7!=_0xe49618(0x114)?!0x1:/^\s*IF\s*\(/i[_0xe49618(0x118)](_0x3293c7[_0xe49618(0x272)]());}function Le(_0x4a5874,_0xd57496=!0x0){const _0x5796f1=a0_0x299c60,_0x472ec7=_0x4a5874[_0x5796f1(0x272)]()[_0x5796f1(0x1c5)](/^IF\s*\((.*)\)\s*$/i);if(!_0x472ec7)throw new Error(_0x5796f1(0x1de)+_0x4a5874);const _0x3dcd2e=_0x472ec7[0x1],_0x9d5894=Je(_0x3dcd2e);if(_0x9d5894[_0x5796f1(0x259)]!==0x3)throw new Error('IF\x20statement\x20must\x20have\x20exactly\x203\x20parts:\x20IF(condition,\x20trueValue,\x20falseValue).\x20Got:\x20'+_0x9d5894['length']+'\x20parts');const [_0x2d43fe,_0x284f9f,_0x28d991]=_0x9d5894,_0x4d5187=te(_0x2d43fe['trim'](),_0xd57496)?_0x284f9f[_0x5796f1(0x272)]():_0x28d991[_0x5796f1(0x272)]();if(we(_0x4d5187))return Le(_0x4d5187,_0xd57496);if(Ee(_0x4d5187))return Se(_0x4d5187,_0xd57496);{const _0x29d47d=Number(_0x4d5187);return isNaN(_0x29d47d)?_0x4d5187:_0x29d47d;}}function Je(_0x51b947){const _0x650a75=a0_0x299c60,_0x29de6c=[];let _0x11dac7='',_0x468a66=0x0;for(let _0x50b353=0x0;_0x50b353<_0x51b947['length'];_0x50b353++){const _0xb9fb5a=_0x51b947[_0x50b353];_0xb9fb5a==='('?(_0x468a66++,_0x11dac7+=_0xb9fb5a):_0xb9fb5a===')'?(_0x468a66--,_0x11dac7+=_0xb9fb5a):_0xb9fb5a===','&&_0x468a66===0x0?(_0x29de6c[_0x650a75(0x25f)](_0x11dac7),_0x11dac7=''):_0x11dac7+=_0xb9fb5a;}return _0x11dac7&&_0x29de6c[_0x650a75(0x25f)](_0x11dac7),_0x29de6c;}function te(_0x1af308,_0x2f304d){const _0xf9f3db=a0_0x299c60;if(/\bAND\b/i['test'](_0x1af308))return _0x1af308['split'](/\bAND\b/i)['every'](_0x3cdffd=>te(_0x3cdffd[_0xf9f3db(0x272)](),_0x2f304d));if(/\bOR\b/i[_0xf9f3db(0x118)](_0x1af308))return _0x1af308[_0xf9f3db(0x288)](/\bOR\b/i)[_0xf9f3db(0x17f)](_0xfc8b00=>te(_0xfc8b00[_0xf9f3db(0x272)](),_0x2f304d));if(/^\s*NOT\s+/i['test'](_0x1af308)){const _0x262329=_0x1af308[_0xf9f3db(0x1bd)](/^\s*NOT\s+/i,'')[_0xf9f3db(0x272)]();return!te(_0x262329,_0x2f304d);}const _0x243a75=_0x1af308['match'](/(.+?)(<=|>=|!=|<>|=|<|>)(.+)/);if(!_0x243a75)throw new Error('Invalid\x20condition:\x20'+_0x1af308);const [,_0x49202c,_0x3c91d4,_0x42ad10]=_0x243a75,_0x4b996f=ye(_0x49202c[_0xf9f3db(0x272)](),_0x2f304d),_0x2548e1=ye(_0x42ad10[_0xf9f3db(0x272)](),_0x2f304d);switch(_0x3c91d4){case'=':return _0x4b996f===_0x2548e1;case'!=':case'<>':return _0x4b996f!==_0x2548e1;case'<':return _0x4b996f<_0x2548e1;case'>':return _0x4b996f>_0x2548e1;case'<=':return _0x4b996f<=_0x2548e1;case'>=':return _0x4b996f>=_0x2548e1;default:throw new Error(_0xf9f3db(0x1fc)+_0x3c91d4);}}function ye(_0x14d5c0,_0x5e9a38){const _0x42f3c2=a0_0x299c60;if(_0x14d5c0['startsWith']('\x22')&&_0x14d5c0['endsWith']('\x22')||_0x14d5c0['startsWith']('\x27')&&_0x14d5c0[_0x42f3c2(0x120)]('\x27'))return _0x14d5c0[_0x42f3c2(0x10f)](0x1,-0x1);if(Ee(_0x14d5c0))return Se(_0x14d5c0,_0x5e9a38);const _0xbffdaf=Number(_0x14d5c0);return isNaN(_0xbffdaf)?_0x14d5c0:_0xbffdaf;}function Ee(_0x94e6a2){const _0x1891cf=a0_0x299c60;if(!_0x94e6a2||typeof _0x94e6a2!=_0x1891cf(0x114))return!0x1;const _0x5ca398=_0x94e6a2['trim']();return/[+\-*/()]/[_0x1891cf(0x118)](_0x5ca398)?/^[\d\s+\-*/().,a-z]+$/i['test'](_0x5ca398):!0x1;}const le=new Map();function Se(_0x319c2f,_0x527264=!0x0){const _0x5eb923=a0_0x299c60,_0x23f259=_0x319c2f[_0x5eb923(0x272)](),_0x47d6b8=_0x23f259+':'+_0x527264;if(le['has'](_0x47d6b8))return le['get'](_0x47d6b8);let _0x22b3a6=_0x23f259['replace'](/\s+/g,'');if(_0x527264&&(_0x22b3a6=_0x22b3a6[_0x5eb923(0x1bd)](/round\(/g,_0x5eb923(0x19b))[_0x5eb923(0x1bd)](/floor\(/g,_0x5eb923(0x1ee))[_0x5eb923(0x1bd)](/ceil\(/g,'Math.ceil(')[_0x5eb923(0x1bd)](/abs\(/g,'Math.abs(')[_0x5eb923(0x1bd)](/min\(/g,_0x5eb923(0x26f))['replace'](/max\(/g,_0x5eb923(0x16a))[_0x5eb923(0x1bd)](/pow\(/g,'Math.pow(')[_0x5eb923(0x1bd)](/sqrt\(/g,_0x5eb923(0xfa))),!(_0x527264?/^[\d+\-*/().,a-zA-Z]+$/:/^[\d+\-*/().]+$/)[_0x5eb923(0x118)](_0x22b3a6))throw new Error(_0x5eb923(0x245)+_0x319c2f);if(!_0x22b3a6)throw new Error('Empty\x20expression');try{const _0x4f87bf=Function(_0x5eb923(0xe0)+_0x22b3a6+')')();if(typeof _0x4f87bf!='number'||isNaN(_0x4f87bf))throw new Error(_0x5eb923(0x248)+_0x319c2f);return le[_0x5eb923(0x256)](_0x47d6b8,_0x4f87bf),_0x4f87bf;}catch(_0x22479e){throw new Error(_0x5eb923(0xdd)+_0x319c2f+'\x20-\x20'+_0x22479e);}}function Qe(_0x5c718d,_0x5de32f){const _0x20e286=a0_0x299c60;if(!_0x5de32f){const _0x2412cd=Number(_0x5c718d);return isNaN(_0x2412cd)?_0x5c718d:_0x2412cd;}switch(_0x5de32f[_0x20e286(0x1cb)]()){case'FL':return parseFloat(_0x5c718d);case'IN':return parseInt(_0x5c718d,0xa);case'CI':case'CS':case'ST':return _0x5c718d;case'DA':return new Date(_0x5c718d)[_0x20e286(0x254)]();default:const _0x1c1d8b=Number(_0x5c718d);return isNaN(_0x1c1d8b)?_0x5c718d:_0x1c1d8b;}}const et=_0x9761b6=>qe[_0x9761b6]||_0x9761b6,K=class K{};A(K,a0_0x299c60(0xe4),(_0x17f881,_0x37de36,_0xbf629d)=>_0x17f881?_0x17f881[a0_0x299c60(0x152)][a0_0x299c60(0x233)](_0x5f1b6e=>K[a0_0x299c60(0x239)](_0x5f1b6e,_0x37de36,_0xbf629d)):!0x1),A(K,'evaluateNode',(_0x3db5eb,_0xcf7744,_0xfc201c)=>{const _0x3555fd=a0_0x299c60;if(!_0x3db5eb)return!0x1;if(_0x3db5eb[_0x3555fd(0x1b2)]===_0x3555fd(0x28c)){let _0xc6bc56=_0x3db5eb[_0x3555fd(0x153)][_0x3555fd(0x1a5)];const _0x57f2d7=et(_0x3db5eb[_0x3555fd(0x153)]['LEFTVALUE']);_0xcf7744[_0x57f2d7]!==void 0x0?_0xc6bc56=_0xcf7744[_0x57f2d7]:_0xc6bc56=ie(_0x3db5eb[_0x3555fd(0x153)][_0x3555fd(0x1a5)],{'variableTree':_0xfc201c,'dataType':_0x3db5eb['data'][_0x3555fd(0x148)],'silent':!0x0});const _0x4ae723=ie(_0x3db5eb['data']['RIGHTVALUE'],{'variableTree':_0xfc201c,'dataType':_0x3db5eb[_0x3555fd(0x153)][_0x3555fd(0x148)],'silent':!0x0});return Xe[_0x3db5eb[_0x3555fd(0x153)][_0x3555fd(0x27d)]](_0xc6bc56,_0x4ae723);}if(_0x3db5eb[_0x3555fd(0x1b2)]===_0x3555fd(0x1ba)){const _0x5ba3e0=_0x3db5eb[_0x3555fd(0xf5)][_0x3555fd(0x16e)](_0x39c8da=>K['evaluateNode'](_0x39c8da,_0xcf7744,_0xfc201c));switch(_0x3db5eb[_0x3555fd(0x153)][_0x3555fd(0x1d5)]){case'AND':return _0x5ba3e0['every'](Boolean);case'OR':return _0x5ba3e0[_0x3555fd(0x17f)](Boolean);case _0x3555fd(0x137):return!_0x5ba3e0[_0x3555fd(0x233)](Boolean);case _0x3555fd(0x17e):return!_0x5ba3e0[_0x3555fd(0x17f)](Boolean);default:return!0x1;}}return!0x1;});let se=K;class Ie{static[a0_0x299c60(0x23f)](_0x58f05f,_0x39192b,_0x887c46){const _0x140e18=a0_0x299c60,_0x59c86f=_0x58f05f[_0x140e18(0x15b)][_0x140e18(0x205)](_0xd2cdda=>_0xd2cdda[_0x140e18(0x291)]===0x0||_0xd2cdda[_0x140e18(0x251)]===null);for(const _0x554a50 of _0x58f05f[_0x140e18(0x15b)]){if(_0x554a50['conditionId']===0x0||_0x554a50[_0x140e18(0x251)]===null)continue;if(se[_0x140e18(0xe4)](_0x554a50[_0x140e18(0x251)],_0x39192b,_0x887c46))return{'lindiv':_0x554a50[_0x140e18(0x277)],'nodeNum':_0x554a50[_0x140e18(0xf7)],'matched':!0x0,'isDefault':!0x1,'descriptorType':_0x58f05f[_0x140e18(0x18e)]['DESC_TYPE']};}if(_0x59c86f)return{'lindiv':_0x59c86f[_0x140e18(0x277)],'nodeNum':_0x59c86f['nodeNum'],'matched':!0x1,'isDefault':!0x0,'descriptorType':_0x58f05f['descriptor']['DESC_TYPE']};throw new Error(_0x140e18(0x11b));}static[a0_0x299c60(0x166)](_0x1fc0e2,_0x537748,_0x416985){const _0x59493b=a0_0x299c60,_0x3625c9=[];for(const _0x42a8e9 of _0x1fc0e2[_0x59493b(0x15b)]){if(_0x42a8e9[_0x59493b(0x291)]===0x0||_0x42a8e9[_0x59493b(0x251)]===null)continue;se[_0x59493b(0xe4)](_0x42a8e9['conditionTree'],_0x537748,_0x416985)&&_0x3625c9[_0x59493b(0x25f)](_0x42a8e9);}return _0x3625c9;}}class tt{constructor(_0x1563af,_0x472548){const _0xc92d26=a0_0x299c60;A(this,'descriptors'),A(this,_0xc92d26(0x129)),(this[_0xc92d26(0x25d)]=new Map(_0x1563af[_0xc92d26(0x16e)](_0x1f9352=>[_0x1f9352[_0xc92d26(0x18e)][_0xc92d26(0x150)],_0x1f9352])),this[_0xc92d26(0x129)]=_0x472548);}[a0_0x299c60(0x23f)](_0x22d1b4,_0x424cc7){const _0xcc668f=a0_0x299c60,_0x57db65=this[_0xcc668f(0x201)](_0x22d1b4);if(!_0x57db65)throw new Error('Descriptor\x20not\x20found:\x20'+_0x22d1b4);return Ie[_0xcc668f(0x23f)](_0x57db65,_0x424cc7,this['variableTree']);}['getDescriptor'](_0x49c58a){const _0xc1fda=a0_0x299c60;return this['descriptors'][_0xc1fda(0x134)](_0x49c58a);}[a0_0x299c60(0x200)](_0x3e8bdc){const _0x34fa64=a0_0x299c60;return this[_0x34fa64(0x25d)][_0x34fa64(0x11e)](_0x3e8bdc);}[a0_0x299c60(0xdb)](){const _0x5ae553=a0_0x299c60;return Array['from'](this['descriptors'][_0x5ae553(0x21d)]());}['getDescriptorsByType'](_0x3e9b01){const _0x19c996=a0_0x299c60;return Array[_0x19c996(0x29c)](this[_0x19c996(0x25d)][_0x19c996(0x237)]())['filter'](_0xb13440=>_0xb13440[_0x19c996(0x18e)]['DESC_TYPE']===_0x3e9b01);}[a0_0x299c60(0x1ac)](_0x10ed85,_0x5b5f87){const _0x1b8193=a0_0x299c60,_0x563867=this[_0x1b8193(0x201)](_0x10ed85);if(!_0x563867)throw new Error(_0x1b8193(0x1bf)+_0x10ed85);return Ie['findAllNonDefaultMatches'](_0x563867,_0x5b5f87,this[_0x1b8193(0x129)]);}['getStats'](){const _0x2ed16a=a0_0x299c60,_0x57621e={};for(const _0x451d47 of this[_0x2ed16a(0x25d)][_0x2ed16a(0x237)]()){const _0x4abe94=_0x451d47[_0x2ed16a(0x18e)][_0x2ed16a(0xd7)];_0x57621e[_0x4abe94]=(_0x57621e[_0x4abe94]||0x0)+0x1;}return{'total':this[_0x2ed16a(0x25d)][_0x2ed16a(0x211)],'byType':_0x57621e,'names':this[_0x2ed16a(0xdb)]()};}}function z(){const _0x552688=a0_0x299c60,_0x275589=M[_0x552688(0x12b)](pe);if(!_0x275589)throw new Error('useVariables\x20must\x20be\x20used\x20within\x20a\x20VariableProvider');const {tree:_0x5f01fb,setValue:_0x2476f4}=_0x275589,_0x5912d1=M[_0x552688(0xe2)](()=>_0x2306b3=>ae(_0x2306b3,_0x5f01fb),[_0x5f01fb]),_0x5a232f=M[_0x552688(0xe2)](()=>_0x342709=>de(_0x342709,_0x5f01fb),[_0x5f01fb]),_0x468dee=M[_0x552688(0xe2)](()=>_0x36d00e=>ge(_0x36d00e),[]);return{'tree':_0x5f01fb,'getValue':_0x5912d1,'resolveString':_0x5a232f,'hasVariables':_0x468dee,'setValue':_0x2476f4};}function Oe({children:_0x34d926,descriptorData:_0x4de4f1}){const _0x56e5b6=a0_0x299c60,_0xb506d8=z(),_0x7e90b8=M['useMemo'](()=>new tt(_0x4de4f1,_0xb506d8[_0x56e5b6(0xff)]),[_0x4de4f1,_0xb506d8]);return h[_0x56e5b6(0x17c)](xe['Provider'],{'value':_0x7e90b8,'children':_0x34d926});}var N=(_0x322373=>(_0x322373['_2D_TOP']=a0_0x299c60(0x170),_0x322373[a0_0x299c60(0x1d0)]=a0_0x299c60(0x299),_0x322373[a0_0x299c60(0x28e)]='3D',_0x322373))(N||{});const ce=0x0,rt=0x1,Pe=_0x281a46=>_0x281a46+'.0',Re=_0x5bf254=>_0x5bf254+'.1',Ve=_0x228db1=>_0x228db1+'.2',Fe=_0x2ed0c7=>_0x2ed0c7+'.3',ve=_0x1dfe3d=>_0x1dfe3d[a0_0x299c60(0x15a)](0x0,_0x1dfe3d[a0_0x299c60(0xef)]('.')),it=_0x1ebebd=>{const _0x2f165f=ve(_0x1ebebd),_0x23afd9=(je(_0x1ebebd)+0x3)%0x4;return _0x2f165f+'.'+_0x23afd9;},st=_0x102b5a=>{const _0x1a7e87=ve(_0x102b5a),_0x1c4fe5=(je(_0x102b5a)+0x1)%0x4;return _0x1a7e87+'.'+_0x1c4fe5;},je=_0xdfa1d5=>parseInt(_0xdfa1d5[a0_0x299c60(0x15a)](_0xdfa1d5[a0_0x299c60(0xef)]('.')+0x1)),Y={'IAC_THICKNESS':a0_0x299c60(0xfe),'IAC_BOTTOMSHELFTHICKNESS':'IAC_BOTTOMSHELFTHICKNESS','IAC_TOPSHELFTHICKNESS':a0_0x299c60(0x21e)},x=0x3e8;function a0_0x55d3(){const _0x4bc621=['Total\x20variables:\x20','Designer','\x20L\x20','find','consumeMillimeterSuffix','ZoneDescriptor','Variable\x20','toLocaleLowerCase','Repeated','value','left','Expected\x20expression\x20inside\x20parentheses.','Invalid\x20usage:\x20\x22n\x22\x20cannot\x20appear\x20on\x20the\x20right-hand\x20side\x20of\x20an\x20operator','anglelem','primary','size','isSection','path','No\x20variables\x20defined.','VariableResolver','tokens','No\x20tokens\x20to\x20parse.','topShelfCP','previous','sizerefout1','linearDivision','linear-division','keys','IAC_TOPSHELFTHICKNESS','DataProvider','useCallback','height','Quick\x20Stats','front','delete','var-controller__slider-container','TOPOFFS','error','errors','bog2deg','ENDOFFS','3506840fZRPvV','arg','Provider','BinaryExpression','isBinaryExpression','updatedDivider','DescriptorContext','endPanelThk','every','AD\x20article\x20depth','MATHEMATICAL_FUNCTIONS','cumulativeX','values','valueSource','evaluateNode','\x20x\x20','960hEgXAb','Fragment','operator','matchAll','evaluate','MANINFO','1.0.0','VERSION','Error\x20in\x20function\x20arguments','Unexpected\x20token:\x20','Expression\x20contains\x20invalid\x20characters:\x20','DIMCALCFY','Variable','Expression\x20did\x20not\x20evaluate\x20to\x20a\x20number:\x20','round','Surfaces','evaluateBinaryExpression','var-controller__type-badge','unsupported\x20node\x20type:\x20','toFixed','scanVariable','IAC_BOTTOMSHELFTHICKNESS','conditionTree','AD\x20article\x20height','expr:ratio','toISOString','var-controller__var-name','set','sizerefedg1','isInsideGroup','length','group','Sections','rotateY','descriptors','table','push','isNumberLiteral','DIVTYPE','BOTOFFS','NumberLiteral','range','isFunctionCall','useVariables','anglprim','front\x20','accumulateIncorporatedThicknesses','Invalid\x20Operator','LINDIV1','childPositions','useData\x20must\x20be\x20used\x20within\x20a\x20DataProvider','UnaryExpression','Math.min(','thk','INSETFOR','trim','jsxs','prim_dims','useArticle\x20must\x20be\x20used\x20within\x20an\x20ArticleProvider','addToken','lindiv','29826DCcwDN','\x20divider','Module','Zone','linearDivisionString','COMPARISONTYPE','black','scanIdentifierOrFunction','Failed\x20to\x20parse\x20factor:\x20','ExtrudeGeometry','Circular\x20dependency:\x20','Unexpected\x20\x27)\x27\x20without\x20a\x20matching\x20\x27(\x27.','Material','isVariable','Section','symbol','split','cache','stringify','_2D_TOP','comparison','oversize','_3D','variables','Unhandled\x20case:\x20HORDEFTYPE\x20=\x20','conditionId','var-controller__stats','var-controller__number-input','end','DIVIDER','thickness','VARIABLE','useDescriptorManager','2D_FRONT','performParse','Surface','from','DESC_TYPE','rotateZ','zone_dims','cos','getDescriptorNames','cannot\x20have\x20\x20/\x20outside\x20of\x20group','Failed\x20to\x20evaluate\x20expression:\x20','Expected\x20\x27}\x27\x20after\x20expression.','Back\x20','\x27use\x20strict\x27;\x20return\x20(','anglzone','useMemo',')\x20rotate(90)','evaluateTree','anglGrtxs','var-controller__section-title','message','Unexpected\x20character:\x20','SPECIAL_VARIABLE','isDigit','isArray','VarController','articleString','in2mm','lastIndexOf','hasMillimeterSuffix','log10','lexeme','middle','tbody','children','BRACKET_OPEN','nodeNum','isGrouping','isAlpha','Math.sqrt(','25%','ENDTRIM','center','IAC_THICKNESS','tree','term','sin','DESCRIPTOR','evaluateVariable','evaluateFunction','right','localeCompare','factor','Total\x20length\x20exceeded','DIVDIR','Error\x20calculating\x20sections','UNIT','DataContext','cumulativeZ','TREEID','slice','rawType','useDescriptorEvaluation','width','BOTSHELF','string','SIZEY','gray','label','test','WERT','anglclie','No\x20matching\x20node\x20found\x20and\x20no\x20default\x20node\x20exists','left\x20','Expected\x20\x27>\x27\x20after\x20section\x20expression.','has','2854248jyzmFx','endsWith','zoneInfo','bottomShelfThk','thead','preformScan','filter3','Cannot\x20have\x20n\x20in\x20the\x20right\x20side\x20of\x20an\x20expression','expression','isRepeated','variableTree','consume','useContext','div','RIGHT_ANGLE_BRACKET','target','Angle\x20brackets\x20are\x20not\x20allowed\x20in\x20the\x20input\x20string','Descriptor\x20','@react-three/drei','ARTICLE','acos','get','408102bZZqEU','Shape','NOT','690362jgHSri','next','evaluateSections','\x20->\x20','var-controller__slider','ArticleProvider','#0066ff','\x20is\x20not\x20defined.','undefined','Grouping','LEFT_ANGLE_BRACKET','divisionType','Evaluation\x20Error:\x20','resetState','AD\x20article\x20width','name','DATATYPE','spreadMm','PAREN_CLOSE','toString','topShelfThk','resolved','TAGNAME','Unknown\x20identifier:\x20','NAME','abs','roots','data','bottomShelfCP','log','articleName','Numeric','useDescriptorManager\x20must\x20be\x20used\x20within\x20a\x20DescriptorProvider','startsWith','substring','nodes','floor','\x20variables','Unknown\x20error','DIMCALCFZ','14TXXtrc','hadVariables','article','scale(1,-1)','STRING','Expected\x20\x27(\x27\x20after\x20function\x20name\x20\x27','findAllNonDefaultMatches','useDescriptorMatches','BRACE_OPEN','deg2bog','Math.max(','scan','HORDEFTYPE','defineProperty','map','reportError','2D_TOP','position','asin','mm2in','DIVELEM1','nestingLevel','bevel','wasEvaluated','fromEntries','parse','tan','startPanelThk','jsx','INSET','NOT\x20OR','some','VariableProvider','depth','add','anglgrtx','DescriptorProvider','entries','charAt','inset','text','Variable\x20Name','useEffect','sizerefmid','Failed\x20to\x20parse\x20primary:\x20','react/jsx-runtime','descriptor','sections','descriptorName','var-controller__section','createContext','SIZEX','CPNAME','Unhandled\x20case:\x20DIVDIR\x20=\x20','get2DTop','Unhandled\x20case:\x20DIVELEM1\x20=\x20','getClieThk','Top\x20','\x20at\x20position:\x20','Math.round(','source','BRACE_CLOSE','EOF','calculateSections','isSections','freeze','PAREN_OPEN','Variable\x20name\x20cannot\x20be\x20empty\x20or\x20$mm','345515MBlBBE','LEFTVALUE','useState','react','OPERATOR','TEXT','bottom','EvaluationError','findAllMatches','35%','Variable\x20Controller','three','FUNCTION','includes','kind','3212656jRczmp','var-controller__table','sizerefedg2','top','toRepeat','BRACKET_CLOSE',')\x20rotate(0)','operation','get3D','independent','replace','start','Descriptor\x20not\x20found:\x20','AD\x20zone\x20info0','SpecialVariable','dividerThk','input','positions','match','reduce','Current\x20Value','useArticle','number','scanMm','toUpperCase','current','checkMillimeterSuffix','FunctionCall','advance','_2D_FRONT','filter','fill','Text','TOPSHELF','OPSTRING','peekNext','Error\x20in\x20section\x20','scanNumber','peek','2RLCZHK','No\x20prims\x20found\x20for\x20article:\x20','ratio:expr','\x20not\x20found','Invalid\x20IF\x20statement:\x20','#ff6b00','dimensions','var-controller__text-input','check','isAtEnd','get2DFront','join','section','\x20\x20\x20--\x20\x20','times','LINEAR_DIVISION','isUnaryExpression','NUMBER','type','resetCurrent','Math.floor(','Failed\x20to\x20parse\x20term:\x20','isReversed','NUM','TYP','ArticleContext','translate(','default','bind','forEach','warn','unsupported\x20node\x20type\x20to\x20traverse:\x20','reference','toLowerCase','Unknown\x20operator:\x20','TAGVALUE','back','cumulativeY','hasDescriptor','getDescriptor'];a0_0x55d3=function(){return _0x4bc621;};return a0_0x55d3();}function W(){const _0x48763c=a0_0x299c60,_0x18d7e1=M[_0x48763c(0x12b)](O);if(_0x18d7e1===void 0x0)throw new Error(_0x48763c(0x26d));return _0x18d7e1;}function X(){const _0x3c4256=a0_0x299c60,_0x280ae9=M[_0x3c4256(0x12b)](fe);if(!_0x280ae9)throw new Error(_0x3c4256(0x275));return _0x280ae9;}function re(_0x56893b,_0x5ee5bd,_0x2769f9){const _0x104d1a=a0_0x299c60,{getArticleData:_0x58200e}=W(),{articleName:_0x499c9b}=X(),{anglClies:_0x138b90}=_0x58200e(_0x499c9b),_0x3a8883=_0x138b90['find'](_0x2378f6=>_0x2378f6[_0x104d1a(0x10e)]===_0x56893b&&_0x2378f6[_0x104d1a(0x148)]===_0x2769f9&&_0x2378f6[_0x104d1a(0x14e)]===_0x5ee5bd);return _0x3a8883?{'thickness':Number(_0x3a8883[_0x104d1a(0x1fd)])}:null;}function nt(_0x4f0669){const _0x307eb4=a0_0x299c60,{getArticleData:_0x95f07b}=W(),{resolveString:_0x307b10}=z(),{articleName:_0x4ab9fa}=X(),_0x394886=_0x95f07b(_0x4ab9fa)[_0x307eb4(0xe5)];if(!_0x394886)return null;const _0x26c212=_0x394886[_0x307eb4(0x1d1)](_0x272f44=>_0x272f44['TREEID']===_0x4f0669),_0x5199a3=new Map();return _0x26c212[_0x307eb4(0x16e)](_0x1b0424=>_0x5199a3['set'](_0x307eb4(0x1c0)+(_0x1b0424[_0x307eb4(0x1f1)]+0x1),_0x307b10(_0x1b0424[_0x307eb4(0x1a9)]))),{'zoneInfo':_0x5199a3};}function oe(_0x811d5f){const _0x436b09=a0_0x299c60,{getArticleData:_0x47eff6}=W(),{articleName:_0x3d4e3c}=X(),{anglZones:_0x1e6124}=_0x47eff6(_0x3d4e3c),_0x5f5716=_0x1e6124[_0x436b09(0x205)](_0x4792ac=>_0x4792ac[_0x436b09(0x10e)]===_0x811d5f),_0x57815e=_0x1e6124[_0x436b09(0x1d1)](_0x59d1cc=>_0x59d1cc[_0x436b09(0x10e)][_0x436b09(0x15a)](0x0,_0x59d1cc[_0x436b09(0x10e)][_0x436b09(0xef)]('.'))===_0x811d5f);return _0x57815e['sort']((_0x57ff31,_0x414c0b)=>_0x57ff31[_0x436b09(0x10e)][_0x436b09(0x106)](_0x414c0b[_0x436b09(0x10e)],void 0x0,{'numeric':!0x0})),_0x5f5716?{'currentZone':_0x5f5716,'children':_0x57815e,get 'topShelfCP'(){const _0x287214=_0x436b09;return _0x5f5716?.[_0x287214(0x1d4)];},get 'bottomShelfCP'(){const _0x56c21e=_0x436b09;return _0x5f5716?.[_0x56c21e(0x113)];},'zoneInfo'(){const _0x436010=_0x436b09;return nt(_0x811d5f)?.[_0x436010(0x121)];},'getClieThk'(_0x2e696c,_0x2882d5){const _0x331fe8=_0x436b09;return this[_0x331fe8(0x218)]===''?0x0:re(_0x2e696c,_0x2882d5,rt)?.[_0x331fe8(0x296)]||0x0;},get 'topShelfThk'(){const _0x226c60=_0x436b09;return this[_0x226c60(0x198)](_0x811d5f,Y[_0x226c60(0x21e)]);},get 'bottomShelfThk'(){const _0x5a6ee1=_0x436b09;return this[_0x5a6ee1(0x198)](_0x811d5f,Y[_0x5a6ee1(0x250)]);},get 'dividerThk'(){return this['getClieThk'](_0x811d5f,Y['IAC_THICKNESS']);}}:null;}function ee(_0x4c495a){const _0x18392f=a0_0x299c60,{getArticleData:_0x4b71ad}=W(),{articleName:_0x529d9a}=X(),{resolveString:_0x43f6a6}=z(),{anglElems:_0x48f746}=_0x4b71ad(_0x529d9a),_0x2590c8=_0x48f746[_0x18392f(0x205)](_0x3bbe76=>_0x3bbe76[_0x18392f(0x10e)]===_0x4c495a),_0x27664e=ve(_0x4c495a),_0x3a14f8=oe(_0x27664e);if(!_0x2590c8)return null;const _0x3563c5=_0x2590c8['CPNAME']===''?0x0:re(_0x4c495a,Y['IAC_THICKNESS'],ce)?.[_0x18392f(0x296)]||0x0,_0x2aee82=re(st(_0x4c495a),Y[_0x18392f(0xfe)],ce)?.[_0x18392f(0x296)]||0x0,_0x221f02=re(it(_0x4c495a),Y[_0x18392f(0xfe)],ce)?.[_0x18392f(0x296)]||0x0,_0x4da9d5=_0x2590c8[_0x18392f(0x194)]===''?0x0:_0x2590c8[_0x18392f(0x271)]!==''?ie(_0x43f6a6(_0x2590c8[_0x18392f(0x271)])):Number(_0x2590c8[_0x18392f(0x17d)]),_0x3fb735=(typeof _0x4da9d5==_0x18392f(0x114)?0x0:_0x4da9d5)||0x0,_0x3f1bb0=_0x2590c8[_0x18392f(0x240)]||_0x18392f(0x27e),_0x3f41bc=_0x2590c8[_0x18392f(0x194)],_0x319f07=_0x3a14f8?.[_0x18392f(0x14c)]||0x0,_0x50cfcd=_0x3a14f8?.['bottomShelfThk']||0x0,_0x4cd13a={'start':Number(_0x2590c8['STARTOFFS'])||0x0,'end':Number(_0x2590c8[_0x18392f(0x22a)])||0x0,'top':Number(_0x2590c8[_0x18392f(0x226)])||0x0,'bottom':Number(_0x2590c8[_0x18392f(0x262)])||0x0},_0x560333={'start':_0x2590c8['STARTTRIM'],'end':_0x2590c8[_0x18392f(0xfc)],'top':_0x2590c8['TOPTRIM'],'bottom':_0x2590c8['BOTTRIM']},_0x5a13d5={'top':_0x560333[_0x18392f(0x1b6)]==='S'?_0x319f07:0x0,'bottom':_0x560333['bottom']==='S'?_0x50cfcd:0x0};return{'TREEID':_0x4c495a,'thk':_0x3563c5,'nxtThk':_0x2aee82,'prvThk':_0x221f02,'inset':_0x3fb735,'color':_0x3f1bb0,'CPNAME':_0x3f41bc,'topThk':_0x319f07,'bottomThk':_0x50cfcd,'oversize':_0x4cd13a,'trim':_0x560333,'elmTrimThk':_0x5a13d5};}var D=class extends Error{constructor(_0x4d5da8){const _0x22dd86=a0_0x299c60;super(_0x22dd86(0x144)+_0x4d5da8),this['name']=_0x22dd86(0x1ab);}},$,at=($=class{constructor(){const _0x1e5437=a0_0x299c60;A(this,_0x1e5437(0x289),new Map()),A(this,'source',''),A(this,_0x1e5437(0x216),[]),A(this,'start',0x0),A(this,'current',0x0),A(this,_0x1e5437(0x228),[]);}['reportError'](_0x5e7698){const _0x119285=a0_0x299c60;this['errors'][_0x119285(0x25f)](_0x5e7698);}[a0_0x299c60(0x16b)](_0x55e634){const _0x21e323=a0_0x299c60;if(this[_0x21e323(0x289)][_0x21e323(0x11e)](_0x55e634)){const _0x30f98f=this[_0x21e323(0x289)][_0x21e323(0x134)](_0x55e634);return this[_0x21e323(0x289)][_0x21e323(0x224)](_0x55e634),this[_0x21e323(0x289)][_0x21e323(0x256)](_0x55e634,_0x30f98f),_0x30f98f;}try{this[_0x21e323(0x19c)]=_0x55e634;const _0x2fef09=this[_0x21e323(0x124)]();if(this[_0x21e323(0x289)]['set'](this[_0x21e323(0x19c)],_0x2fef09),this[_0x21e323(0x289)]['size']>0x3){const _0x2721f8=this[_0x21e323(0x289)][_0x21e323(0x21d)]()[_0x21e323(0x139)]()[_0x21e323(0x20b)];this[_0x21e323(0x289)][_0x21e323(0x224)](_0x2721f8);}return _0x2fef09;}catch(_0x385384){throw console['error'](_0x385384),new Error(_0x385384 instanceof Error?_0x385384['message']:String(_0x385384));}}[a0_0x299c60(0x124)](){const _0x447cf6=a0_0x299c60;this[_0x447cf6(0x145)]();try{if(this[_0x447cf6(0x19c)]['includes']('<')||this[_0x447cf6(0x19c)]['includes']('>'))throw new Error(_0x447cf6(0x12f));if(this[_0x447cf6(0x19c)][_0x447cf6(0x259)]===0x0)throw new Error('Empty\x20input\x20string');for(this[_0x447cf6(0x1be)]=0x0,this[_0x447cf6(0x1cc)]=0x0,this[_0x447cf6(0x216)]=[],this[_0x447cf6(0x1be)]===0x0&&this['addToken'](_0x447cf6(0x142),'<');!this[_0x447cf6(0x1e3)]();){this['start']=this[_0x447cf6(0x1cc)];const _0x25ae98=this[_0x447cf6(0x1d9)]();switch(_0x25ae98){case':':this[_0x447cf6(0x276)](_0x447cf6(0x12d),'>'),this[_0x447cf6(0x276)]('LEFT_ANGLE_BRACKET','<'),this[_0x447cf6(0x1cf)]();break;case'\x20':case'\x0d':case'\x09':case'\x0a':this[_0x447cf6(0x1cf)]();break;case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'.':this[_0x447cf6(0x1d8)]();break;case'$':this[_0x447cf6(0x24f)]();break;case'+':case'-':case'*':case'/':this['addToken'](_0x447cf6(0x1a8),_0x25ae98),this[_0x447cf6(0x1cf)]();break;case'(':this[_0x447cf6(0x276)](_0x447cf6(0x1a2),'('),this['advance']();break;case')':this['addToken']('PAREN_CLOSE',')'),this[_0x447cf6(0x1cf)]();break;case'{':this[_0x447cf6(0x1cc)]!=0x0&&this[_0x447cf6(0x216)][this[_0x447cf6(0x216)][_0x447cf6(0x259)]-0x1]['type']!=_0x447cf6(0x1a8)&&this['addToken'](_0x447cf6(0x1a8),'*'),this['addToken'](_0x447cf6(0x168),'{'),this[_0x447cf6(0x276)](_0x447cf6(0x142),'<'),this[_0x447cf6(0x1cf)]();break;case'}':this[_0x447cf6(0x276)]('RIGHT_ANGLE_BRACKET','>'),this[_0x447cf6(0x276)](_0x447cf6(0x19d),'}'),this['advance']();break;case'[':this[_0x447cf6(0x276)](_0x447cf6(0x1a8),'~'),this[_0x447cf6(0x276)](_0x447cf6(0xf6),'['),this[_0x447cf6(0x1cf)]();break;case']':this[_0x447cf6(0x276)](_0x447cf6(0x1b8),']'),this['advance']();break;case'm':this[_0x447cf6(0x1d6)]()==='m'?this[_0x447cf6(0x1ca)]():this['scanIdentifierOrFunction']();break;default:this[_0x447cf6(0xf9)](_0x25ae98)?this[_0x447cf6(0x27f)]():this[_0x447cf6(0x16f)](_0x447cf6(0xe8)+_0x25ae98+_0x447cf6(0x19a)+this[_0x447cf6(0x1cc)]);}}if(this[_0x447cf6(0x276)](_0x447cf6(0x12d),'>'),this['addToken'](_0x447cf6(0x19e),''),this['errors'][_0x447cf6(0x259)]>0x0)throw new Error(this[_0x447cf6(0x228)]['join'](',\x0a'));return this[_0x447cf6(0x216)];}catch(_0x13b924){throw new Error(_0x13b924 instanceof Error?_0x13b924[_0x447cf6(0xe7)]:String(_0x13b924));}}[a0_0x299c60(0x1e3)](){const _0xd6ba3b=a0_0x299c60;return this['current']>=this[_0xd6ba3b(0x19c)][_0xd6ba3b(0x259)];}['advance'](){const _0x12d6f1=a0_0x299c60;return this['source'][_0x12d6f1(0x186)](this[_0x12d6f1(0x1cc)]++);}[a0_0x299c60(0x1d9)](){const _0xa56f45=a0_0x299c60;return this[_0xa56f45(0x1e3)]()?'\x00':this[_0xa56f45(0x19c)][_0xa56f45(0x186)](this[_0xa56f45(0x1cc)]);}[a0_0x299c60(0x1d6)](){const _0x1bd127=a0_0x299c60;return this[_0x1bd127(0x1cc)]+0x1>=this[_0x1bd127(0x19c)][_0x1bd127(0x259)]?'\x00':this[_0x1bd127(0x19c)][_0x1bd127(0x186)](this[_0x1bd127(0x1cc)]+0x1);}['addToken'](_0x444f36,_0x391f49){const _0x5bc052=a0_0x299c60;this[_0x5bc052(0x216)][_0x5bc052(0x25f)]({'type':_0x444f36,'lexeme':_0x391f49||(_0x444f36?this[_0x5bc052(0x19c)]['substring'](this[_0x5bc052(0x1be)],this[_0x5bc052(0x1cc)]):''),'position':this[_0x5bc052(0x1be)]});}[a0_0x299c60(0xea)](_0x52bd9){const _0x3f9a7b=a0_0x299c60;return/^[0-9]$/[_0x3f9a7b(0x118)](_0x52bd9);}[a0_0x299c60(0xf9)](_0x2a4cf0){const _0xb196c1=a0_0x299c60;return/^[a-zA-Z]$/[_0xb196c1(0x118)](_0x2a4cf0);}[a0_0x299c60(0x1d8)](){const _0x1def68=a0_0x299c60;for(;this['isDigit'](this[_0x1def68(0x1d9)]());)this[_0x1def68(0x1cf)]();if(this[_0x1def68(0x1d9)]()==='.'){for(this['advance'](),this['isDigit'](this[_0x1def68(0x1d9)]())||this[_0x1def68(0x16f)]('Expected\x20digit\x20after\x20decimal\x20point\x20at\x20position:\x20'+this[_0x1def68(0x1cc)]);this['isDigit'](this[_0x1def68(0x1d9)]());)this[_0x1def68(0x1cf)]();}this[_0x1def68(0x276)](_0x1def68(0x1eb));}[a0_0x299c60(0x24f)](){const _0x253537=a0_0x299c60;for(this['advance']();/[a-zA-Z0-9_]/[_0x253537(0x118)](this[_0x253537(0x1d9)]());)this[_0x253537(0x1cf)]();const _0x2b60e8=this[_0x253537(0x19c)][_0x253537(0x15a)](this[_0x253537(0x1be)]+0x1,this['current']);if(_0x2b60e8[_0x253537(0x120)]('mm')){const _0x33911d=_0x2b60e8[_0x253537(0x15a)](0x0,_0x2b60e8[_0x253537(0x259)]-0x2);_0x33911d&&_0x33911d[_0x253537(0x259)]>0x0?(this[_0x253537(0x276)](_0x253537(0x297),_0x33911d),this[_0x253537(0x276)](_0x253537(0x10b),'mm')):this[_0x253537(0x16f)](_0x253537(0x1a3));}else this[_0x253537(0x276)](_0x253537(0x297),_0x2b60e8);}[a0_0x299c60(0x1ca)](){const _0x3c6831=a0_0x299c60;this[_0x3c6831(0x1cf)](),this['advance'](),this[_0x3c6831(0x276)](_0x3c6831(0x10b),'mm');}[a0_0x299c60(0x27f)](){const _0x1cef3e=a0_0x299c60,_0x50e4df=['X','Y','n'];for(;this[_0x1cef3e(0xf9)](this[_0x1cef3e(0x1d9)]());)this[_0x1cef3e(0x1cf)]();const _0x1db6ed=this[_0x1cef3e(0x19c)]['substring'](this['start'],this[_0x1cef3e(0x1cc)]),_0x44abb7=$[_0x1cef3e(0x235)][_0x1db6ed[_0x1cef3e(0x209)]()];_0x44abb7!=null?this[_0x1cef3e(0x276)](_0x44abb7,_0x1db6ed):_0x50e4df[_0x1cef3e(0x1b1)](_0x1db6ed)?this[_0x1cef3e(0x276)](_0x1cef3e(0xe9),_0x1db6ed):this['reportError'](_0x1cef3e(0x14f)+_0x1db6ed+_0x1cef3e(0x19a)+this[_0x1cef3e(0x1cc)]);}[a0_0x299c60(0x145)](){const _0x15808e=a0_0x299c60;this[_0x15808e(0x216)]=[],this[_0x15808e(0x1be)]=0x0,this[_0x15808e(0x1cc)]=0x0,this[_0x15808e(0x228)]=[];}},A($,a0_0x299c60(0x235),{'abs':a0_0x299c60(0x1b0),'acos':a0_0x299c60(0x1b0),'asin':a0_0x299c60(0x1b0),'atan':'FUNCTION','bog2deg':a0_0x299c60(0x1b0),'cos':a0_0x299c60(0x1b0),'deg2bog':a0_0x299c60(0x1b0),'in2mm':a0_0x299c60(0x1b0),'ln':a0_0x299c60(0x1b0),'log':a0_0x299c60(0x1b0),'log10':a0_0x299c60(0x1b0),'max':'FUNCTION','maxunder':'FUNCTION','mm2in':a0_0x299c60(0x1b0),'nextto':a0_0x299c60(0x1b0),'pi':a0_0x299c60(0x1b0),'pow':a0_0x299c60(0x1b0),'round':'FUNCTION','sin':a0_0x299c60(0x1b0),'sqr':'FUNCTION','tab':'FUNCTION','tan':'FUNCTION'}),$),ot=class{constructor(){const _0x409154=a0_0x299c60;A(this,'cache',new Map()),A(this,_0x409154(0x216),[]),A(this,'current',0x0),A(this,_0x409154(0x1ed),()=>{const _0x26954b=_0x409154;this[_0x26954b(0x1cc)]=0x0;});}[a0_0x299c60(0x179)](_0x3eeb7f){const _0x4d4d48=a0_0x299c60;if(this[_0x4d4d48(0x289)][_0x4d4d48(0x11e)](_0x3eeb7f)){const _0x5d9178=this['cache']['get'](_0x3eeb7f);return this['cache']['delete'](_0x3eeb7f),this['cache']['set'](_0x3eeb7f,_0x5d9178),_0x5d9178;}try{this[_0x4d4d48(0x216)]=_0x3eeb7f;const _0x4c211d=this['performParse'](_0x3eeb7f);if(this['cache'][_0x4d4d48(0x256)](_0x3eeb7f,_0x4c211d),this['cache'][_0x4d4d48(0x211)]>0x3){const _0x3b0345=this[_0x4d4d48(0x289)][_0x4d4d48(0x21d)]()[_0x4d4d48(0x139)]()['value'];this['cache'][_0x4d4d48(0x224)](_0x3b0345);}return _0x4c211d;}catch(_0x339001){throw new Error(_0x339001 instanceof Error?_0x339001[_0x4d4d48(0xe7)]:String(_0x339001));}}[a0_0x299c60(0x29a)](_0x11a96f){const _0x18ffd7=a0_0x299c60;if(this[_0x18ffd7(0x1ed)](),this[_0x18ffd7(0x216)]['length']===0x0)throw new Error(_0x18ffd7(0x217));try{return this[_0x18ffd7(0x127)]();}catch(_0x151b22){throw new Error(_0x151b22 instanceof Error?_0x151b22[_0x18ffd7(0xe7)]:String(_0x151b22));}}['checkMillimeterSuffix'](){const _0x564491=a0_0x299c60;if(this[_0x564491(0x1e3)]())return!0x1;const _0x3e7351=this['peek']();return _0x3e7351['type']===_0x564491(0x10b)&&_0x3e7351['lexeme']==='mm';}[a0_0x299c60(0x206)](){const _0x380866=a0_0x299c60;return this[_0x380866(0x1cd)]()?(this['advance'](),!0x0):!0x1;}[a0_0x299c60(0x18f)](){const _0x313db6=a0_0x299c60,_0x32fca9=[];if(!this[_0x313db6(0x1e2)](_0x313db6(0x142)))return this['expression']();for(;this[_0x313db6(0x1e2)]('LEFT_ANGLE_BRACKET');){this[_0x313db6(0x1cf)]();let _0x5097c6=this[_0x313db6(0x127)]();this['consume'](_0x313db6(0x12d),_0x313db6(0x11d)),_0x32fca9[_0x313db6(0x25f)]({'type':_0x313db6(0x286),'nodes':_0x5097c6,'hasMillimeterSuffix':this[_0x313db6(0x206)]()});}if(_0x32fca9[_0x313db6(0x259)]===0x1){const _0x1ef7af=_0x32fca9[0x0];return _0x1ef7af[_0x313db6(0x1ec)]===_0x313db6(0x286)&&_0x1ef7af['nodes'][_0x313db6(0x1ec)]==='Section'?_0x1ef7af['nodes']:_0x1ef7af;}return{'type':_0x313db6(0x25b),'sections':_0x32fca9};}['expression'](){const _0x3b097c=a0_0x299c60;try{let _0xc74dad=this[_0x3b097c(0x100)]();for(;!this[_0x3b097c(0x1e3)]()&&this[_0x3b097c(0x1e2)]('OPERATOR')&&['+','-'][_0x3b097c(0x1b1)](this[_0x3b097c(0x1d9)]()[_0x3b097c(0xf2)]);){this[_0x3b097c(0x1cf)]();const _0x19f6a3=this[_0x3b097c(0x219)]()['lexeme'],_0x25c8cd=this['term']();_0xc74dad={'type':_0x3b097c(0x22e),'left':_0xc74dad,'operator':_0x19f6a3,'right':_0x25c8cd};}return _0xc74dad;}catch(_0x812485){throw new Error('Failed\x20to\x20parse\x20expression:\x20'+_0x812485[_0x3b097c(0xe7)]);}}[a0_0x299c60(0x100)](){const _0x6b5ccd=a0_0x299c60;try{let _0x212f42=this[_0x6b5ccd(0x107)]();for(;!this[_0x6b5ccd(0x1e3)]()&&this[_0x6b5ccd(0x1e2)](_0x6b5ccd(0x1a8))&&['*','/','~'][_0x6b5ccd(0x1b1)](this[_0x6b5ccd(0x1d9)]()[_0x6b5ccd(0xf2)]);){this[_0x6b5ccd(0x1cf)]();const _0x35d0e7=this[_0x6b5ccd(0x219)]()[_0x6b5ccd(0xf2)],_0x4d1f2f=this[_0x6b5ccd(0x107)]();if(_0x4d1f2f[_0x6b5ccd(0x1ec)]==='SpecialVariable'&&_0x4d1f2f['name']==='n')throw new Error(_0x6b5ccd(0x20e));_0x212f42={'type':'BinaryExpression','left':_0x212f42,'operator':_0x35d0e7,'right':_0x4d1f2f};}return _0x212f42;}catch(_0x33af63){throw new Error(_0x6b5ccd(0x1ef)+_0x33af63[_0x6b5ccd(0xe7)]);}}[a0_0x299c60(0x107)](){const _0x172280=a0_0x299c60;try{if(this[_0x172280(0x1e2)](_0x172280(0x1a8))&&['-','+'][_0x172280(0x1b1)](this[_0x172280(0x1d9)]()[_0x172280(0xf2)])){this[_0x172280(0x1cf)]();const _0x4cb8d5=this[_0x172280(0x219)]()[_0x172280(0xf2)],_0x2916eb=this['factor']();return{'type':'UnaryExpression','operator':_0x4cb8d5,'right':_0x2916eb};}return this[_0x172280(0x210)]();}catch(_0x50bf9a){throw new Error(_0x172280(0x280)+_0x50bf9a['message']);}}['primary'](){const _0x316cd6=a0_0x299c60;try{if(this[_0x316cd6(0x1e2)]('NUMBER'))return this['advance'](),{'type':_0x316cd6(0x263),'value':parseFloat(this[_0x316cd6(0x219)]()['lexeme']),'hasMillimeterSuffix':this[_0x316cd6(0x206)]()};if(this[_0x316cd6(0x1e2)](_0x316cd6(0x297)))return this[_0x316cd6(0x1cf)](),{'type':_0x316cd6(0x247),'name':this[_0x316cd6(0x219)]()['lexeme'],'hasMillimeterSuffix':this[_0x316cd6(0x206)]()};if(this['check'](_0x316cd6(0xe9)))return this[_0x316cd6(0x1cf)](),{'type':'SpecialVariable','name':this[_0x316cd6(0x219)]()['lexeme'],'hasMillimeterSuffix':this[_0x316cd6(0x219)]()[_0x316cd6(0xf2)]==='n'};if(this['check'](_0x316cd6(0x1b0))){this[_0x316cd6(0x1cf)]();const _0x4b81d2=this[_0x316cd6(0x219)]()['lexeme'];this['consume'](_0x316cd6(0x1a2),_0x316cd6(0x165)+_0x4b81d2+'\x27.');const _0x163d9a=this[_0x316cd6(0x127)]();return this[_0x316cd6(0x12a)]('PAREN_CLOSE','Expected\x20\x27)\x27\x20after\x20function\x20arguments.'),{'type':_0x316cd6(0x1ce),'name':_0x4b81d2,'arg':_0x163d9a,'hasMillimeterSuffix':this[_0x316cd6(0x206)]()};}if(this['check'](_0x316cd6(0x1a2))){this[_0x316cd6(0x1cf)]();const _0x3f9036=this[_0x316cd6(0x127)]();if(!_0x3f9036)throw new Error(_0x316cd6(0x20d));return this[_0x316cd6(0x12a)](_0x316cd6(0x14a),'Expected\x20\x27)\x27\x20after\x20expression.'),{'type':_0x316cd6(0x141),'expression':_0x3f9036,'hasMillimeterSuffix':this['consumeMillimeterSuffix']()};}if(this[_0x316cd6(0x1e2)](_0x316cd6(0x14a)))throw new Error(_0x316cd6(0x283));if(this['check']('BRACE_OPEN')){this['advance']();let _0x1cb623=this[_0x316cd6(0x18f)]();return this[_0x316cd6(0x12a)](_0x316cd6(0x19d),_0x316cd6(0xde)),_0x1cb623[_0x316cd6(0x1ec)]===_0x316cd6(0x286)&&_0x1cb623[_0x316cd6(0x15b)][_0x316cd6(0x1ec)]==='Section'&&(_0x1cb623=_0x1cb623[_0x316cd6(0x15b)]),{'type':'Repeated','toRepeat':_0x1cb623,'hasMillimeterSuffix':this[_0x316cd6(0x206)]()};}if(this[_0x316cd6(0x1e2)]('LEFT_ANGLE_BRACKET'))return this[_0x316cd6(0x18f)]();throw new Error(_0x316cd6(0x244)+this['peek']()[_0x316cd6(0xf2)]);}catch(_0x549e01){throw new Error(_0x316cd6(0x18c)+_0x549e01['message']);}}[a0_0x299c60(0x1e2)](_0x57ab2b){const _0x3fbb45=a0_0x299c60;return this[_0x3fbb45(0x1e3)]()?!0x1:this['peek']()[_0x3fbb45(0x1ec)]===_0x57ab2b;}[a0_0x299c60(0x1cf)](){const _0x14e0f7=a0_0x299c60;return this[_0x14e0f7(0x1e3)]()||this[_0x14e0f7(0x1cc)]++,this[_0x14e0f7(0x219)]();}[a0_0x299c60(0x12a)](_0x51034c,_0x2eecdc){const _0x552257=a0_0x299c60;if(this[_0x552257(0x1e2)](_0x51034c))return this['advance']();throw new Error(_0x2eecdc);}[a0_0x299c60(0x1e3)](){const _0x15fc5d=a0_0x299c60;return this[_0x15fc5d(0x1cc)]>=this[_0x15fc5d(0x216)][_0x15fc5d(0x259)];}[a0_0x299c60(0x1d9)](){const _0x28234c=a0_0x299c60;return this['tokens'][this[_0x28234c(0x1cc)]];}[a0_0x299c60(0x219)](){const _0x4c05ed=a0_0x299c60;return this[_0x4c05ed(0x216)][this[_0x4c05ed(0x1cc)]-0x1];}},_e=_0x483851=>_0x483851['type']===a0_0x299c60(0x1c1)&&_0x483851[a0_0x299c60(0x147)]==='n';function lt(_0x4a898b,_0x1eecfc){const _0x30da59=a0_0x299c60;if(_0x4a898b[_0x30da59(0x105)][_0x30da59(0x1ec)]===_0x30da59(0x1c1)&&_0x4a898b[_0x30da59(0x105)][_0x30da59(0x147)]==='n')return new D(_0x30da59(0x126));const _0x3d90ed=_e(_0x4a898b[_0x30da59(0x20c)])?_0x4a898b[_0x30da59(0x20c)]:this[_0x30da59(0x23f)](_0x4a898b[_0x30da59(0x20c)]),_0x3c4944=_e(_0x4a898b[_0x30da59(0x105)])?_0x4a898b[_0x30da59(0x105)]:this['evaluate'](_0x4a898b[_0x30da59(0x105)]);if(_0x3d90ed instanceof D)return _0x3d90ed;if(_0x3c4944 instanceof D)return _0x3c4944;const _0x11b7b5=_0x3d90ed[_0x30da59(0x1ec)]===_0x30da59(0x263)&&_0x3c4944[_0x30da59(0x1ec)]===_0x30da59(0x263),_0x38a7a9=_0x11b7b5?_0x3d90ed[_0x30da59(0xf0)]===_0x3c4944[_0x30da59(0xf0)]:!0x1,_0x2ed952=_0x183598=>_0x183598[_0x30da59(0x1ec)]===_0x30da59(0x20a);switch(_0x4a898b[_0x30da59(0x23d)]){case'+':return _0x11b7b5&&_0x38a7a9&&_0x1eecfc?.[_0x30da59(0x258)]==!0x1?{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]+_0x3c4944[_0x30da59(0x20b)],'hasMillimeterSuffix':_0x3d90ed[_0x30da59(0xf0)]===!0x0||_0x3c4944[_0x30da59(0xf0)]===!0x0,'spreadMm':_0x3d90ed[_0x30da59(0x149)]||_0x3c4944['spreadMm']}:_0x11b7b5&&_0x1eecfc?.[_0x30da59(0x258)]==!0x0?{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]+_0x3c4944[_0x30da59(0x20b)],'spreadMm':_0x3d90ed[_0x30da59(0xf0)]||_0x3c4944[_0x30da59(0xf0)]}:{'type':_0x30da59(0x22e),'operator':'+','left':_0x3d90ed,'right':_0x3c4944};case'*':return _0x11b7b5&&_0x1eecfc?.[_0x30da59(0x258)]==!0x0?{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]*_0x3c4944[_0x30da59(0x20b)],'hasMillimeterSuffix':_0x3d90ed['hasMillimeterSuffix']===!0x0||_0x3c4944[_0x30da59(0xf0)]===!0x0,'spreadMm':_0x3d90ed[_0x30da59(0x149)]||_0x3c4944['spreadMm']}:_0x2ed952(_0x3c4944)&&_0x3d90ed[_0x30da59(0x1ec)]===_0x30da59(0x263)?{'type':_0x30da59(0x20a),'toRepeat':_0x3c4944['toRepeat'],'times':Math[_0x30da59(0x249)](_0x3d90ed[_0x30da59(0x20b)]),'hasMillimeterSuffix':_0x3c4944[_0x30da59(0x1ec)]===_0x30da59(0x263)&&_0x3c4944[_0x30da59(0xf0)]||!0x1}:_0x1eecfc?.[_0x30da59(0x258)]==!0x1&&_0x3d90ed[_0x30da59(0x1ec)]!==_0x30da59(0x1c1)&&_0x3d90ed[_0x30da59(0x147)]!=='n'?new D('cannot\x20have\x20*\x20outside\x20of\x20group'):_0x3d90ed[_0x30da59(0x1ec)]===_0x30da59(0x1c1)?{'type':_0x30da59(0x22e),'operator':'*','left':_0x3d90ed,'right':{'type':'NumberLiteral','value':_0x3c4944[_0x30da59(0x20b)],'hasMillimeterSuffix':!0x0}}:{'type':_0x30da59(0x22e),'operator':'*','left':_0x3d90ed,'right':_0x3c4944,'hasMillimeterSuffix':_0x3d90ed[_0x30da59(0xf0)]||_0x3c4944[_0x30da59(0xf0)]};case'/':if(_0x11b7b5&&_0x1eecfc?.['isInsideGroup']==!0x0)return{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]/_0x3c4944[_0x30da59(0x20b)],'hasMillimeterSuffix':_0x3d90ed[_0x30da59(0xf0)]===!0x0||_0x3c4944['hasMillimeterSuffix']===!0x0};if(_0x1eecfc?.[_0x30da59(0x258)]==!0x1)return new D(_0x30da59(0xdc));case'-':return _0x11b7b5&&_0x38a7a9&&_0x1eecfc?.[_0x30da59(0x258)]==!0x1?{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]-_0x3c4944[_0x30da59(0x20b)],'hasMillimeterSuffix':_0x3d90ed['hasMillimeterSuffix']===!0x0||_0x3c4944['hasMillimeterSuffix']===!0x0,'spreadMm':_0x3d90ed[_0x30da59(0x149)]||_0x3c4944['spreadMm']}:_0x11b7b5&&_0x1eecfc?.[_0x30da59(0x258)]==!0x0?{'type':_0x30da59(0x263),'value':_0x3d90ed[_0x30da59(0x20b)]-_0x3c4944[_0x30da59(0x20b)],'spreadMm':_0x3d90ed[_0x30da59(0xf0)]||_0x3c4944[_0x30da59(0xf0)]}:{'type':_0x30da59(0x22e),'operator':'-','left':_0x3d90ed,'right':_0x3c4944};default:throw new D(_0x30da59(0x26a));}}function ct(_0x4306de,_0x18448f){const _0x11b1c3=a0_0x299c60,_0x55df00=this[_0x11b1c3(0x23f)](_0x4306de[_0x11b1c3(0x22c)]);if(_0x55df00 instanceof D)throw new D(_0x11b1c3(0x243));switch(_0x4306de[_0x11b1c3(0x147)][_0x11b1c3(0x1fb)]()){case _0x11b1c3(0x151):return{'type':_0x11b1c3(0x263),'value':Math['abs'](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.['isInsideGroup']===!0x1};case _0x11b1c3(0x133):return{'type':_0x11b1c3(0x263),'value':Math[_0x11b1c3(0x133)](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x172):return{'type':_0x11b1c3(0x263),'value':Math[_0x11b1c3(0x172)](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00['hasMillimeterSuffix'],'spreadMm':_0x18448f?.['isInsideGroup']===!0x1};case'atan':return{'type':'NumberLiteral','value':Math['atan'](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00['hasMillimeterSuffix'],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0xda):return{'type':_0x11b1c3(0x263),'value':Math['cos'](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x101):return{'type':_0x11b1c3(0x263),'value':Math['sin'](_0x55df00['value']),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x17a):return{'type':'NumberLiteral','value':Math[_0x11b1c3(0x17a)](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x249):return{'type':_0x11b1c3(0x263),'value':Math['round'](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x229):return{'type':_0x11b1c3(0x263),'value':_0x55df00[_0x11b1c3(0x20b)]*(0xb4/Math['PI']),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x169):return{'type':_0x11b1c3(0x263),'value':_0x55df00['value']*(Math['PI']/0xb4),'hasMillimeterSuffix':_0x55df00['hasMillimeterSuffix'],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0xee):return{'type':_0x11b1c3(0x263),'value':_0x55df00[_0x11b1c3(0x20b)]*25.4,'hasMillimeterSuffix':_0x55df00['hasMillimeterSuffix'],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0x173):return{'type':_0x11b1c3(0x263),'value':_0x55df00['value']/25.4,'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.['isInsideGroup']===!0x1};case'ln':return{'type':_0x11b1c3(0x263),'value':Math[_0x11b1c3(0x155)](_0x55df00['value']),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};case _0x11b1c3(0xf1):return{'type':_0x11b1c3(0x263),'value':Math[_0x11b1c3(0xf1)](_0x55df00[_0x11b1c3(0x20b)]),'hasMillimeterSuffix':_0x55df00[_0x11b1c3(0xf0)],'spreadMm':_0x18448f?.[_0x11b1c3(0x258)]===!0x1};default:throw new D('Function\x20not\x20implemented');}}function ut(_0x3f24ed){const _0xe9d9e0=a0_0x299c60;if(!this[_0xe9d9e0(0x28f)]||!(_0x3f24ed[_0xe9d9e0(0x147)]in this[_0xe9d9e0(0x28f)]))throw new D('Variable\x20'+_0x3f24ed['name']+_0xe9d9e0(0x13f));return{'type':_0xe9d9e0(0x263),'value':this['variables'][_0x3f24ed[_0xe9d9e0(0x147)]],'hasMillimeterSuffix':_0x3f24ed[_0xe9d9e0(0xf0)]};}var ht=class{constructor(){const _0xb21cba=a0_0x299c60;A(this,_0xb21cba(0x175),0x0),A(this,_0xb21cba(0x28f),{}),A(this,'evaluateBinaryExpression'),A(this,_0xb21cba(0x104)),A(this,'evaluateVariable'),(this[_0xb21cba(0x24b)]=lt['bind'](this),this['evaluateFunction']=ct[_0xb21cba(0x1f6)](this),this[_0xb21cba(0x103)]=ut[_0xb21cba(0x1f6)](this));}[a0_0x299c60(0x23f)](_0x4d28f6,_0x5698f3={'isInsideGroup':!0x1},_0x1696d4){const _0x3de900=a0_0x299c60;this[_0x3de900(0x175)]++;try{if(_0x1696d4&&(this[_0x3de900(0x28f)]=_0x1696d4),this[_0x3de900(0x1a0)](_0x4d28f6))return this[_0x3de900(0x13a)](_0x4d28f6,_0x5698f3);if(this[_0x3de900(0x212)](_0x4d28f6)){const _0x282d5c=this[_0x3de900(0x23f)](_0x4d28f6[_0x3de900(0x15b)],_0x5698f3);return _0x282d5c instanceof D?new D(_0x3de900(0x1d7)+JSON['stringify'](_0x4d28f6)):{..._0x4d28f6,'nodes':_0x282d5c};}if(this[_0x3de900(0x260)](_0x4d28f6)){if(_0x5698f3['isInsideGroup']){if(_0x4d28f6[_0x3de900(0xf0)])return{..._0x4d28f6,'spreadMm':!0x0};}else return _0x4d28f6;}if(this[_0x3de900(0xf8)](_0x4d28f6)){_0x5698f3={..._0x5698f3,'isInsideGroup':!0x0};const _0x3e9040=this['evaluate'](_0x4d28f6['expression'],_0x5698f3);return _0x3e9040 instanceof D?_0x3e9040:{..._0x3e9040,'hasMillimeterSuffix':_0x4d28f6[_0x3de900(0xf0)]};}if(this[_0x3de900(0x128)](_0x4d28f6)){const _0xdb2eb=this['evaluate'](_0x4d28f6['toRepeat']);return _0xdb2eb instanceof D?_0xdb2eb:{..._0x4d28f6,'toRepeat':_0xdb2eb};}if(this[_0x3de900(0x22f)](_0x4d28f6))return this[_0x3de900(0x24b)](_0x4d28f6,_0x5698f3);if(this[_0x3de900(0x1ea)](_0x4d28f6))return{'type':_0x3de900(0x263),'value':_0x4d28f6[_0x3de900(0x23d)]==='-'?-0x1*_0x4d28f6[_0x3de900(0x105)][_0x3de900(0x20b)]:_0x4d28f6[_0x3de900(0x105)]['value'],'hasMillimeterSuffix':_0x4d28f6[_0x3de900(0x105)][_0x3de900(0xf0)]};if(this[_0x3de900(0x265)](_0x4d28f6))return this[_0x3de900(0x104)](_0x4d28f6,_0x5698f3);if(this[_0x3de900(0x285)](_0x4d28f6)){if(this[_0x3de900(0x28f)])return this[_0x3de900(0x103)](_0x4d28f6);throw new D(_0x3de900(0x214));}throw new D(_0x3de900(0x24d)+_0x4d28f6[_0x3de900(0x1ec)]);}catch(_0x425aee){throw new D(_0x425aee['message']);}finally{this[_0x3de900(0x175)]--;}}[a0_0x299c60(0x1ea)](_0x437f67){const _0xcf2acc=a0_0x299c60;return _0x437f67[_0xcf2acc(0x1ec)]===_0xcf2acc(0x26e);}[a0_0x299c60(0x260)](_0x424d3c){const _0x1a52ea=a0_0x299c60;return _0x424d3c[_0x1a52ea(0x1ec)]==='NumberLiteral';}[a0_0x299c60(0x285)](_0x93054d){const _0x3920bf=a0_0x299c60;return _0x93054d[_0x3920bf(0x1ec)]===_0x3920bf(0x247)||_0x93054d['type']==='SpecialVariable';}[a0_0x299c60(0x22f)](_0xe3f7ca){return _0xe3f7ca['type']==='BinaryExpression';}[a0_0x299c60(0x265)](_0x156e64){const _0x1fff1d=a0_0x299c60;return _0x156e64[_0x1fff1d(0x1ec)]===_0x1fff1d(0x1ce);}[a0_0x299c60(0xf8)](_0x2c6a1a){return _0x2c6a1a['type']==='Grouping';}[a0_0x299c60(0x128)](_0x531798){const _0xa9954a=a0_0x299c60;return _0x531798[_0xa9954a(0x1ec)]===_0xa9954a(0x20a);}[a0_0x299c60(0x1a0)](_0x47ac4c){const _0xce2979=a0_0x299c60;return _0x47ac4c[_0xce2979(0x1ec)]==='Sections';}['isSection'](_0x7b180d){const _0xa101f9=a0_0x299c60;return _0x7b180d['type']===_0xa101f9(0x286);}[a0_0x299c60(0x13a)](_0x2c910c,_0x51845b={'isInsideGroup':!0x1}){const _0x5e84c6=a0_0x299c60;return{'type':'Sections','sections':_0x2c910c[_0x5e84c6(0x18f)]['map'](_0x3e70d1=>{const _0x4b1756=_0x5e84c6,_0x50ce0c=this[_0x4b1756(0x23f)](_0x3e70d1[_0x4b1756(0x15b)]);if(_0x50ce0c instanceof D)throw _0x50ce0c;return{'type':_0x4b1756(0x286),'nodes':_0x50ce0c};})};}};function F(_0x1586be,_0x3bfda6){const _0x9a6a44=a0_0x299c60;if(!_0x1586be)throw new D(_0x9a6a44(0x1f9)+JSON['stringify'](_0x1586be));_0x3bfda6(_0x1586be),_0x1586be[_0x9a6a44(0x1ec)]==='Sections'&&Array[_0x9a6a44(0xeb)](_0x1586be[_0x9a6a44(0x18f)])?_0x1586be['sections']['forEach'](_0xe98a81=>F(_0xe98a81,_0x3bfda6)):_0x1586be[_0x9a6a44(0x1ec)]===_0x9a6a44(0x286)&&_0x1586be[_0x9a6a44(0x15b)]?F(_0x1586be[_0x9a6a44(0x15b)],_0x3bfda6):_0x1586be[_0x9a6a44(0x1ec)];}var ft=class{[a0_0x299c60(0x269)](_0x3a58e2,_0x590c45,_0x345ecd,_0x326bc9,_0x914ebd,_0x2439fa,_0x1818e2,_0x21a532,_0x24eb3d){const _0x4a4e7b=a0_0x299c60;let _0xd22f7d=0x0;if(_0x1818e2==='M'){for(let _0x14ff5a=0x1;_0x14ff5a<_0x3a58e2[_0x4a4e7b(0x18f)]['length']-0x1;_0x14ff5a++)_0xd22f7d+=_0x326bc9;}if(_0x1818e2==='O'){for(let _0x14a9cd=0x1;_0x14a9cd<_0x3a58e2['sections'][_0x4a4e7b(0x259)]-0x1;_0x14a9cd++)_0xd22f7d+=_0x326bc9*0x2;}return _0x914ebd==='M'&&(_0xd22f7d+=_0x590c45/0x2),_0x914ebd==='O'&&(_0xd22f7d+=_0x590c45),_0x2439fa==='M'&&(_0xd22f7d+=_0x590c45/0x2),_0x2439fa==='O'&&(_0xd22f7d+=_0x590c45),_0x24eb3d==='M'&&(_0xd22f7d+=_0x345ecd/0x2),_0x24eb3d==='O'&&(_0xd22f7d+=_0x345ecd),_0x21a532==='M'&&(_0xd22f7d+=_0x345ecd/0x2),_0x21a532==='O'&&(_0xd22f7d+=_0x345ecd),_0xd22f7d;}},mt=class{[a0_0x299c60(0x19f)](_0x148ff1,_0x519684=0x1f4,_0x199990=0x0,_0x510a65){const _0x44cb1f=a0_0x299c60;try{if(_0x148ff1 instanceof D)throw _0x148ff1;if(_0x148ff1[_0x44cb1f(0x1ec)]!==_0x44cb1f(0x25b)&&_0x148ff1[_0x44cb1f(0x1ec)]!==_0x44cb1f(0x286))throw new D('Expected\x20Sections\x20or\x20Section,\x20got\x20'+JSON[_0x44cb1f(0x28a)](_0x148ff1));let _0x558154={'type':_0x44cb1f(0x25b),'sections':[]};if(_0x148ff1[_0x44cb1f(0x1ec)]===_0x44cb1f(0x25b)){for(const _0x194cd7 of _0x148ff1[_0x44cb1f(0x18f)])if(_0x194cd7[_0x44cb1f(0x15b)]['type']===_0x44cb1f(0x20a)&&_0x194cd7[_0x44cb1f(0x15b)][_0x44cb1f(0x1e8)]){for(let _0x4658cb=0x0;_0x4658cb<(_0x194cd7[_0x44cb1f(0x15b)]?.[_0x44cb1f(0x1e8)]??0x0);_0x4658cb++)if(_0x194cd7[_0x44cb1f(0x15b)][_0x44cb1f(0x1b7)][_0x44cb1f(0x1ec)]===_0x44cb1f(0x286))_0x558154['sections']['push'](_0x194cd7[_0x44cb1f(0x15b)][_0x44cb1f(0x1b7)]);else{if(_0x194cd7[_0x44cb1f(0x15b)][_0x44cb1f(0x1b7)][_0x44cb1f(0x1ec)]===_0x44cb1f(0x25b)){for(const _0xa01fdc of _0x194cd7[_0x44cb1f(0x15b)][_0x44cb1f(0x1b7)][_0x44cb1f(0x18f)])_0x558154[_0x44cb1f(0x18f)]['push'](_0xa01fdc);}}}else _0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x25f)](_0x194cd7);}else _0x148ff1[_0x44cb1f(0x1ec)]===_0x44cb1f(0x286)&&_0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x25f)](_0x148ff1);if(_0x510a65){const _0x4568c1=new ft()['accumulateIncorporatedThicknesses'](_0x558154,_0x510a65[_0x44cb1f(0x17b)],_0x510a65[_0x44cb1f(0x232)],_0x199990,_0x510a65[_0x44cb1f(0x21a)],_0x510a65[_0x44cb1f(0x257)],_0x510a65[_0x44cb1f(0x18b)],_0x510a65[_0x44cb1f(0x1b5)],_0x510a65['sizerefout2']);}_0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x1f7)](_0x5d24e7=>{let _0x8df48e=!0x1;F(_0x5d24e7,_0x435e08=>{const _0x3cfd3d=a0_0x5d71;_0x435e08['type']==='NumberLiteral'?_0x435e08?.[_0x3cfd3d(0x149)]===!0x0&&(_0x8df48e=!0x0):_0x435e08['type']===_0x3cfd3d(0x22e)&&_0x435e08[_0x3cfd3d(0x20c)]['type']===_0x3cfd3d(0x263)&&(_0x435e08[_0x3cfd3d(0x20c)]?.[_0x3cfd3d(0x149)]===!0x0&&(_0x8df48e=!0x0),_0x435e08[_0x3cfd3d(0x105)]?.[_0x3cfd3d(0x149)]===!0x0&&(_0x8df48e=!0x0));}),_0x8df48e&&F(_0x5d24e7,_0xc8cd3a=>{const _0x2f0618=a0_0x5d71;_0xc8cd3a[_0x2f0618(0x1ec)]===_0x2f0618(0x263)?_0xc8cd3a[_0x2f0618(0xf0)]=!0x0:_0xc8cd3a['type']===_0x2f0618(0x22e)&&(_0xc8cd3a[_0x2f0618(0x20c)][_0x2f0618(0x1ec)]===_0x2f0618(0x263)&&(_0xc8cd3a[_0x2f0618(0x20c)][_0x2f0618(0xf0)]=!0x0),_0xc8cd3a['right']['type']===_0x2f0618(0x263)&&(_0xc8cd3a[_0x2f0618(0x105)][_0x2f0618(0xf0)]=!0x0));});});let _0x470e99=0x0;const _0x1afc50=_0x4b3afb=>{const _0x5e43b8=_0x44cb1f;if(_0x199990&&_0x4b3afb[_0x5e43b8(0x1ec)]===_0x5e43b8(0x286)&&(_0x470e99+=_0x199990),_0x4b3afb[_0x5e43b8(0x1ec)]==='NumberLiteral')_0x4b3afb[_0x5e43b8(0xf0)]===!0x0&&(_0x470e99+=_0x4b3afb[_0x5e43b8(0x20b)]);else{if(_0x4b3afb[_0x5e43b8(0x1ec)]===_0x5e43b8(0x22e)){const _0x49d2c7=_0x4b3afb;_0x49d2c7[_0x5e43b8(0x20c)][_0x5e43b8(0x1ec)]===_0x5e43b8(0x263)&&_0x49d2c7[_0x5e43b8(0x105)][_0x5e43b8(0x1ec)]==='NumberLiteral'&&(_0x49d2c7[_0x5e43b8(0x20c)]['hasMillimeterSuffix']===!0x0&&(_0x470e99+=_0x49d2c7['left'][_0x5e43b8(0x20b)]),_0x49d2c7[_0x5e43b8(0x105)][_0x5e43b8(0xf0)]===!0x0&&(_0x470e99+=_0x49d2c7[_0x5e43b8(0x105)][_0x5e43b8(0x20b)]));}}};if(_0x558154[_0x44cb1f(0x18f)]['forEach'](_0x3bce83=>F(_0x3bce83,_0x1afc50)),_0x470e99>_0x519684)throw new D(_0x44cb1f(0x108));let _0x2f5c1e=_0x519684-_0x470e99+_0x199990,_0x166860=0x0;const _0x53b4df=_0x53995d=>{const _0x1d8f9b=_0x44cb1f;if(_0x53995d[_0x1d8f9b(0x1ec)]==='BinaryExpression'){const _0x43b34a=_0x53995d;if(_0x43b34a['right'][_0x1d8f9b(0x1ec)]===_0x1d8f9b(0x263)&&_0x43b34a[_0x1d8f9b(0x20c)]['type']===_0x1d8f9b(0x1c1)&&_0x43b34a['left'][_0x1d8f9b(0x147)]==='n'&&_0x43b34a[_0x1d8f9b(0x23d)]==='*'){_0x166860=Math[_0x1d8f9b(0x15c)](_0x2f5c1e/(_0x43b34a['right'][_0x1d8f9b(0x20b)]+_0x199990));const _0x3090d2=(_0x166860-0x1)*_0x199990,_0xa0174a=_0x166860*_0x43b34a['right'][_0x1d8f9b(0x20b)];_0x2f5c1e+=-_0x3090d2-_0xa0174a;}}};_0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x1f7)](_0x3c98f7=>F(_0x3c98f7,_0x53b4df));let _0x2d1d64=0x0;const _0x39d6cb=_0x10d366=>{const _0x10d73c=_0x44cb1f;_0x10d366['type']==='BinaryExpression'&&(_0x10d366['left'][_0x10d73c(0x1ec)]===_0x10d73c(0x263)&&_0x10d366['left'][_0x10d73c(0xf0)]===!0x1&&(_0x2d1d64+=_0x10d366[_0x10d73c(0x20c)][_0x10d73c(0x20b)]),_0x10d366[_0x10d73c(0x105)]['type']===_0x10d73c(0x263)&&_0x10d366[_0x10d73c(0x105)]['hasMillimeterSuffix']===!0x1&&(_0x2d1d64+=_0x10d366[_0x10d73c(0x105)][_0x10d73c(0x20b)])),_0x10d366['type']==='NumberLiteral'&&_0x10d366[_0x10d73c(0xf0)]===!0x1&&(_0x2d1d64+=_0x10d366[_0x10d73c(0x20b)]);};_0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x1f7)](_0xf89ea6=>{F(_0xf89ea6,_0x39d6cb);});const _0x1dfaea=_0x2f5c1e/_0x2d1d64,_0x55b07e=[],_0x143724=_0x16457a=>{const _0x3fe1f0=_0x44cb1f;let _0x492ab0=0x0,_0x4efaf5=0x0;if(_0x16457a['type']===_0x3fe1f0(0x263))_0x16457a[_0x3fe1f0(0xf0)]===!0x1&&(_0x492ab0+=_0x16457a[_0x3fe1f0(0x20b)]*_0x1dfaea),_0x16457a['hasMillimeterSuffix']===!0x0&&(_0x4efaf5+=_0x16457a[_0x3fe1f0(0x20b)]),_0x55b07e[_0x3fe1f0(0x25f)](Number((_0x492ab0+_0x4efaf5)[_0x3fe1f0(0x24e)](0x2)));else{if(_0x16457a[_0x3fe1f0(0x1ec)]===_0x3fe1f0(0x22e)&&(_0x16457a[_0x3fe1f0(0x20c)][_0x3fe1f0(0x1ec)]===_0x3fe1f0(0x263)&&_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0x1ec)]===_0x3fe1f0(0x263)&&(_0x16457a[_0x3fe1f0(0x20c)][_0x3fe1f0(0xf0)]===!0x1&&(_0x492ab0+=_0x16457a['left'][_0x3fe1f0(0x20b)]*_0x1dfaea),_0x16457a[_0x3fe1f0(0x20c)][_0x3fe1f0(0xf0)]===!0x0&&(_0x4efaf5+=_0x16457a[_0x3fe1f0(0x20c)][_0x3fe1f0(0x20b)]),_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0xf0)]===!0x1&&(_0x492ab0+=_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0x20b)]*_0x1dfaea),_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0xf0)]===!0x0&&(_0x4efaf5+=_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0x20b)]),_0x55b07e[_0x3fe1f0(0x25f)](Number((_0x492ab0+_0x4efaf5)[_0x3fe1f0(0x24e)](0x2)))),_0x16457a[_0x3fe1f0(0x20c)]['type']===_0x3fe1f0(0x1c1)&&_0x16457a[_0x3fe1f0(0x20c)][_0x3fe1f0(0x147)]==='n'&&_0x16457a['right'][_0x3fe1f0(0x1ec)]===_0x3fe1f0(0x263))){_0x4efaf5+=_0x16457a['right'][_0x3fe1f0(0x20b)];for(let _0xc91209=0x0;_0xc91209<_0x166860;_0xc91209++)_0x16457a[_0x3fe1f0(0x105)][_0x3fe1f0(0xf0)]===!0x0&&_0x55b07e['push'](Number(_0x4efaf5[_0x3fe1f0(0x24e)](0x2)));}}};return _0x558154[_0x44cb1f(0x18f)][_0x44cb1f(0x1f7)](_0x4d49e9=>{F(_0x4d49e9,_0x143724);}),_0x55b07e;}catch{return new D(_0x44cb1f(0x10a));}}},pt=new at(),dt=new ot(),gt=new ht(),xt=(_0x552e03,_0x19a06a,_0x482430,_0x115348)=>{const _0x3e7375=a0_0x299c60;try{const _0x26fc26=pt[_0x3e7375(0x16b)](_0x552e03),_0x485148=dt[_0x3e7375(0x179)](_0x26fc26),_0x5845db=gt['evaluate'](_0x485148,{},_0x115348);if(_0x5845db&&!(_0x5845db instanceof D)){const _0x1d469d=new mt()['calculateSections'](_0x5845db,_0x19a06a,_0x482430);if(_0x1d469d&&_0x1d469d instanceof D)throw new Error(_0x1d469d[_0x3e7375(0xe7)]);return _0x1d469d;}return _0x5845db||new D('Unknown\x20error\x20during\x20evaluation.');}catch(_0x21e25f){return new D(_0x21e25f[_0x3e7375(0xe7)]);}};function Et(_0x19580e){const _0x344318=a0_0x299c60,_0x53f2e4=/^(\d+)\*\{(\d+)\}$/,_0x1c163a=_0x19580e['match'](_0x53f2e4);if(_0x1c163a){const _0x11b887=parseInt(_0x1c163a[0x1],0xa),_0x5d3c2c=_0x1c163a[0x2];return _0x11b887>0x0?Array(_0x11b887)['fill'](_0x5d3c2c)[_0x344318(0x1e5)](':'):'';}return _0x19580e;}function a0_0x5d71(_0x4e3808,_0x40af6a){_0x4e3808=_0x4e3808-0xd7;const _0x55d3e7=a0_0x55d3();let _0x5d71ec=_0x55d3e7[_0x4e3808];return _0x5d71ec;}function St(_0x2a5640){const _0x43fcc8=a0_0x299c60,_0x4089aa=_0x2a5640[_0x43fcc8(0x272)]()[_0x43fcc8(0x1c5)](/^(\d+(?:\.\d+)?)\s*\*\s*\{.+\}$/);return _0x4089aa?Number(_0x4089aa[0x1]):_0x2a5640;}function vt(_0x3b760f,_0x4b0238,_0x3892be){const _0x3c3b0d=a0_0x299c60;let _0x37ef6f=0x0;const {LINDIV1:_0x13a4a3,DIVDIR:_0x2d0bb8,HORDEFTYPE:_0x5d0247,DIVELEM1:_0x557d49}=_0x3b760f;let _0x44387a=_0x3c3b0d(0x112),_0x3f19d2=!0x1;if(_0x13a4a3==='')return{'divisionType':_0x44387a,'zone_dimensions':[],'divided_length_list':[]};if(_0x2d0bb8==='H'){if(_0x5d0247==='W')_0x37ef6f=_0x4b0238[_0x3c3b0d(0x112)],_0x44387a=_0x3c3b0d(0x112);else{if(_0x5d0247==='D')_0x37ef6f=_0x4b0238[_0x3c3b0d(0x181)],_0x44387a=_0x3c3b0d(0x181);else{if(_0x5d0247==='P'){if(_0x557d49===0x0||_0x557d49===0x2)_0x37ef6f=_0x4b0238[_0x3c3b0d(0x112)],_0x44387a=_0x3c3b0d(0x112);else{if(_0x557d49===0x1||_0x557d49===0x3)_0x37ef6f=_0x4b0238[_0x3c3b0d(0x181)],_0x44387a='depth';else throw new Error(_0x3c3b0d(0x197)+_0x557d49);}}else throw new Error(_0x3c3b0d(0x290)+_0x5d0247);}}}else{if(_0x2d0bb8==='V')_0x37ef6f=_0x4b0238[_0x3c3b0d(0x221)],_0x44387a=_0x3c3b0d(0x221);else{if(_0x2d0bb8==='A')_0x37ef6f=_0x4b0238[_0x3c3b0d(0x112)],_0x44387a=_0x3c3b0d(0x162);else{if(_0x2d0bb8==='I')_0x37ef6f=_0x4b0238['width'],_0x44387a='independent';else throw new Error(_0x3c3b0d(0x195)+_0x2d0bb8);}}}let _0x227417=[];const _0x4bb4d5=Et(_0x13a4a3);if(_0x44387a===_0x3c3b0d(0x1bc)){const _0x1a84db=St(_0x13a4a3);_0x227417=Array(_0x1a84db)[_0x3c3b0d(0x1d2)](_0x37ef6f);}else _0x44387a===_0x3c3b0d(0x162)?_0x227417=[_0x37ef6f]:_0x227417=xt(_0x4bb4d5,_0x37ef6f,_0x3892be);if(!Array['isArray'](_0x227417))return{'divisionType':_0x44387a,'zone_dimensions':[],'divided_length_list':[]};_0x5d0247==='P'&&(_0x557d49===0x2||_0x557d49===0x3)&&(_0x3f19d2=!0x0,_0x227417=[..._0x227417]['reverse']());const _0xa0bb05=_0x227417[_0x3c3b0d(0x16e)](_0x3e016f=>{const _0x4b2c21=_0x3c3b0d;if(_0x44387a===_0x4b2c21(0x112))return{'width':_0x3e016f,'height':_0x4b0238['height'],'depth':_0x4b0238[_0x4b2c21(0x181)]};if(_0x44387a==='depth')return{'width':_0x4b0238['width'],'height':_0x4b0238[_0x4b2c21(0x221)],'depth':_0x3e016f};if(_0x44387a===_0x4b2c21(0x221))return{'width':_0x4b0238[_0x4b2c21(0x112)],'height':_0x3e016f,'depth':_0x4b0238[_0x4b2c21(0x181)]};if(_0x44387a===_0x4b2c21(0x162)||_0x44387a===_0x4b2c21(0x1bc))return{'width':_0x4b0238['width'],'height':_0x4b0238[_0x4b2c21(0x221)],'depth':_0x4b0238['depth']};throw new Error(_0x4b2c21(0x195)+_0x2d0bb8);});return{'isReversed':_0x3f19d2,'zone_dimensions':_0xa0bb05,'divisionType':_0x44387a,'divided_length_list':_0x227417};}function Tt({divisionType:_0x1f97fb,parentDimensions:_0x382044,lengthList:_0x5dc4d0,childTREEIDs:_0x33dbc6,dividerThk:_0xb61f6a}){const _0x37398c=a0_0x299c60,_0x33a396=-_0x382044[_0x37398c(0x112)]/0x2,_0x3ff046=-_0x382044[_0x37398c(0x181)]/0x2,_0x1cc6a2=-_0x382044[_0x37398c(0x221)]/0x2;return{'childPositions':_0x5dc4d0[_0x37398c(0x1c6)]((_0x1f9c48,_0x5f2005,_0x5a5850)=>{const _0xbe32b=_0x37398c;let _0x58cc68=0x0,_0x4100e6=0x0,_0x256bc7=0x0,_0xf5cd96;return _0x1f97fb==='width'?(_0x58cc68=_0x33a396+_0x1f9c48[_0xbe32b(0x236)]+_0x5f2005/0x2,_0x4100e6=0x0,_0x256bc7=0x0,_0xf5cd96={'width':_0x5f2005,'height':_0x382044[_0xbe32b(0x221)],'depth':_0x382044['depth']},_0x1f9c48[_0xbe32b(0x236)]+=_0x5f2005+_0xb61f6a):_0x1f97fb===_0xbe32b(0x181)?(_0x58cc68=0x0,_0x4100e6=_0x3ff046+_0x1f9c48[_0xbe32b(0x1ff)]+_0x5f2005/0x2,_0x256bc7=0x0,_0xf5cd96={'width':_0x382044['width'],'height':_0x382044[_0xbe32b(0x221)],'depth':_0x5f2005},_0x1f9c48[_0xbe32b(0x1ff)]+=_0x5f2005+_0xb61f6a):_0x1f97fb===_0xbe32b(0x1bc)||_0x1f97fb===_0xbe32b(0x162)?(_0x58cc68=0x0,_0x4100e6=0x0,_0x256bc7=0x0,_0xf5cd96={'width':_0x5f2005,'height':_0x382044[_0xbe32b(0x221)],'depth':_0x382044[_0xbe32b(0x181)]}):(_0x58cc68=0x0,_0x4100e6=0x0,_0x256bc7=_0x1cc6a2+_0x1f9c48[_0xbe32b(0x10d)]+_0x5f2005/0x2,_0xf5cd96={'width':_0x382044[_0xbe32b(0x112)],'height':_0x5f2005,'depth':_0x382044['depth']},_0x1f9c48[_0xbe32b(0x10d)]+=_0x5f2005+_0xb61f6a),_0x1f9c48['positions'][_0xbe32b(0x25f)]({'x':_0x58cc68,'y':_0x4100e6,'z':_0x256bc7,'zone_dims':_0xf5cd96,'TREEID':_0x33dbc6[_0x5a5850]}),_0x1f9c48;},{'cumulativeX':0x0,'cumulativeY':0x0,'cumulativeZ':0x0,'positions':[]})[_0x37398c(0x1c4)],'dividerType':_0x1f97fb};}function Nt(_0x4d5af3){return{'front':ee(Pe(_0x4d5af3)),'left':ee(Fe(_0x4d5af3)),'right':ee(Re(_0x4d5af3)),'back':ee(Ve(_0x4d5af3))};}function Mt(_0x7fabec,_0x286ab1,_0x4dfd3f){const _0x6d64e7=a0_0x299c60;return{'front':_0x7fabec[_0x6d64e7(0x223)]?.['thk']||0x0,'right':_0x7fabec['right']?.[_0x6d64e7(0x270)]||0x0,'back':_0x7fabec[_0x6d64e7(0x1fe)]?.[_0x6d64e7(0x270)]||0x0,'left':_0x7fabec[_0x6d64e7(0x20c)]?.[_0x6d64e7(0x270)]||0x0,'top':_0x286ab1,'bottom':_0x4dfd3f};}function yt(_0x2d62c7){const _0xc1d4bd=a0_0x299c60;return{'front':_0x2d62c7[_0xc1d4bd(0x223)]?.[_0xc1d4bd(0x187)]||0x0,'right':_0x2d62c7[_0xc1d4bd(0x105)]?.[_0xc1d4bd(0x187)]||0x0,'back':_0x2d62c7['back']?.[_0xc1d4bd(0x187)]||0x0,'left':_0x2d62c7[_0xc1d4bd(0x20c)]?.[_0xc1d4bd(0x187)]||0x0};}function It(_0x53f903,_0x47916f){const _0x1b06ed=a0_0x299c60;return{'dimensions':{'width':_0x53f903[_0x1b06ed(0x112)]-_0x47916f[_0x1b06ed(0x20c)]-_0x47916f['right'],'height':_0x53f903[_0x1b06ed(0x221)],'depth':_0x53f903[_0x1b06ed(0x181)]-_0x47916f[_0x1b06ed(0x223)]-_0x47916f['back']},'position':{'x':_0x47916f['left']/0x2-_0x47916f[_0x1b06ed(0x105)]/0x2,'y':_0x47916f[_0x1b06ed(0x223)]/0x2-_0x47916f[_0x1b06ed(0x1fe)]/0x2,'z':0x0}};}function _t(_0x1bfe7c,_0x273067){const _0x284170=a0_0x299c60;return{'dimensions':{'width':_0x1bfe7c[_0x284170(0x1e0)][_0x284170(0x112)]-_0x273067[_0x284170(0x20c)]-_0x273067[_0x284170(0x105)],'height':_0x1bfe7c[_0x284170(0x1e0)][_0x284170(0x221)]-_0x273067[_0x284170(0x1b6)]-_0x273067[_0x284170(0x1aa)],'depth':_0x1bfe7c[_0x284170(0x1e0)][_0x284170(0x181)]-_0x273067[_0x284170(0x223)]-_0x273067[_0x284170(0x1fe)]},'position':{'x':_0x273067[_0x284170(0x20c)]/0x2-_0x273067[_0x284170(0x105)]/0x2,'y':_0x273067['front']/0x2-_0x273067['back']/0x2,'z':_0x273067[_0x284170(0x1aa)]/0x2-_0x273067[_0x284170(0x1b6)]/0x2}};}function bt(_0x25a29f,_0x3c2a34,_0x28e1fa,_0x3d66a0){const _0x955172=a0_0x299c60;return _0x3c2a34[_0x955172(0x143)]?Tt({'divisionType':_0x3c2a34[_0x955172(0x143)],'parentDimensions':_0x25a29f,'lengthList':_0x3c2a34['divided_length_list'],'childTREEIDs':_0x3d66a0,'dividerThk':Number(_0x28e1fa)||0x0}):{'childPositions':[],'dividerType':'height'};}function Dt(_0xa7d974,_0x3032a8,_0x1d3d7d,_0x35ad97){const _0x3abbf8=a0_0x299c60;if(!_0x1d3d7d)return{'childPositions':[],'dividerType':_0x3abbf8(0x221)};const _0x30937b=vt(_0x1d3d7d,_0xa7d974[_0x3abbf8(0x1e0)],_0x3032a8);return _0x35ad97=_0x30937b[_0x3abbf8(0x1f0)]?_0x35ad97['reverse']():_0x35ad97,bt(_0xa7d974['dimensions'],_0x30937b,_0x3032a8,_0x35ad97);}function $e(_0x98fc0a,_0x147898,_0x17884d=0x0,_0x45bf43=0x0){const _0x463de6=_0x98fc0a/0x2,_0x37d201=_0x147898/0x2,_0x308275=[{'x':_0x463de6,'y':-_0x37d201},{'x':-_0x463de6,'y':-_0x37d201},{'x':-_0x463de6+_0x17884d,'y':_0x37d201},{'x':_0x463de6-_0x45bf43,'y':_0x37d201}];return{'points':_0x308275,get 'svgPath'(){const _0x1d50df=a0_0x5d71;return'M\x20'+_0x308275[_0x1d50df(0x16e)](_0x4d841f=>_0x4d841f['x']+','+_0x4d841f['y'])['join'](_0x1d50df(0x204))+'\x20Z';},get 'shape'(){const _0x3e8632=a0_0x5d71,_0x196b3d=new ue[(_0x3e8632(0x136))]();return _0x308275[_0x3e8632(0x1f7)]((_0x243357,_0x1b105d)=>_0x1b105d===0x0?_0x196b3d['moveTo'](_0x243357['x'],_0x243357['y']):_0x196b3d['lineTo'](_0x243357['x'],_0x243357['y'])),_0x196b3d;}};}function G({length:_0x18f14b,width:_0x5c5b00,thk:_0x1d1e3c,material:_0x5d2bdd=a0_0x299c60(0x116),opacity:_0x1d8f7b=0.2,isSelected:_0x466d2e=!0x1,isHovered:_0x546b55=!0x1,onClick:_0x13d422,onPointerEnter:_0x1ee922,onPointerLeave:_0x5b2d86,startPanelThk:_0x54d9a2=0x0,endPanelThk:_0x49b2bc=0x0}){const _0xd125cf=a0_0x299c60,_0x1cb0e2=_0x466d2e?'#ff6b00':_0x546b55?'#0066ff':_0x5d2bdd,_0x5b65b4=_0x466d2e?0.8:_0x546b55?0.6:_0x1d8f7b,_0xfc680f=M[_0xd125cf(0xe2)](()=>{const _0x3416e2=_0xd125cf;if(_0x54d9a2!==0x0||_0x49b2bc!==0x0){const {shape:_0x5719c2}=$e(_0x5c5b00,_0x1d1e3c,_0x54d9a2,_0x49b2bc),_0x1aed4d=new ue[(_0x3416e2(0x281))](_0x5719c2,{'depth':_0x18f14b,'bevelEnabled':!0x1,'steps':0x1});return _0x1aed4d['center'](),_0x1aed4d[_0x3416e2(0xd8)](-Math['PI']/0x2),_0x1aed4d[_0x3416e2(0x25c)](Math['PI']/0x2),_0x1aed4d;}else return new ue['BoxGeometry'](_0x18f14b,_0x5c5b00,_0x1d1e3c);},[_0x18f14b,_0x5c5b00,_0x1d1e3c,_0x54d9a2,_0x49b2bc]);return h[_0xd125cf(0x17c)](_0xd125cf(0x25a),{'rotation':[0x0,0x0,0x0],'children':h['jsxs']('mesh',{'geometry':_0xfc680f,'onClick':_0x13d422,'onPointerEnter':_0x1ee922,'onPointerLeave':_0x5b2d86,'children':[h[_0xd125cf(0x17c)]('meshStandardMaterial',{'color':_0x1cb0e2,'opacity':_0x5b65b4,'transparent':!0x0}),h[_0xd125cf(0x17c)](Ke['Edges'],{'color':_0x466d2e?_0xd125cf(0x1df):_0x546b55?_0xd125cf(0x13e):'black'})]})});}function B({dim_x:_0x7fd448,dim_y:_0x584a5c,fill:_0x46a2f7='lightgray',text:_0x4a4d81='',stroke_width:_0x314783=0x2,rotate:_0x1f7222=0x0,isSelected:_0x224417=!0x1,isHovered:_0x229f8b=!0x1,onClick:_0x1caa1e,onMouseEnter:_0x28eeab,onMouseLeave:_0x292a6b,startPanelThk:_0x347941=0x0,endPanelThk:_0x56ab3f=0x0}){const _0x3a1c6c=a0_0x299c60,{svgPath:_0x457164}=$e(_0x7fd448,_0x584a5c,_0x347941,_0x56ab3f),_0x55ebc5=_0x224417?_0x3a1c6c(0x1df):_0x229f8b?'#0066ff':'black',_0xc2fb96=_0x224417?_0x314783*0x2:_0x229f8b?_0x314783*1.5:_0x314783,_0x2903d9=_0x224417?0.8:_0x229f8b?0.7:0.5;return h[_0x3a1c6c(0x273)]('g',{'transform':'rotate('+_0x1f7222+')','children':[h[_0x3a1c6c(0x17c)](_0x3a1c6c(0x213),{'d':_0x457164,'stroke':_0x55ebc5,'strokeWidth':_0xc2fb96,'fill':_0x46a2f7,'strokeLinejoin':_0x3a1c6c(0x176),'strokeMiterlimit':'1','opacity':_0x2903d9,'onClick':_0x1caa1e,'onMouseEnter':_0x28eeab,'onMouseLeave':_0x292a6b,'style':{'cursor':_0x1caa1e?'pointer':_0x3a1c6c(0x1f5)}}),h[_0x3a1c6c(0x17c)]('text',{'transform':_0x3a1c6c(0x163),'x':0x0,'y':0x0,'textAnchor':_0x3a1c6c(0xf3),'dominantBaseline':_0x3a1c6c(0xf3),'fontSize':0xa,'children':_0x4a4d81})]});}function q(_0x42d20e){const _0x5888b1=a0_0x299c60,_0x450bc2=M[_0x5888b1(0x12b)](O);if(!_0x450bc2)throw new Error('useZoneSelection\x20must\x20be\x20used\x20within\x20DataProvider');const {selectedElem:_0x1442a8,setSelectedElem:_0x1a066b,hoveredElem:_0x2e5c2c,setHoveredElem:_0xddae77}=_0x450bc2,_0x49b4f7=_0x1442a8===_0x42d20e;return{'isSelected':_0x49b4f7,'isHovered':_0x2e5c2c===_0x42d20e,'handleClick':()=>{_0x1a066b(_0x49b4f7?null:_0x42d20e);},'handleMouseEnter':()=>{_0xddae77(_0x42d20e);},'handleMouseLeave':()=>{_0xddae77(null);}};}function kt({TREEID:_0x427d6f,dimension:_0x234d28,view:_0x267363,helper:_0x444e70}){const _0x5d9f3e=a0_0x299c60,_0x592e55=_0x444e70[_0x5d9f3e(0x223)],_0xb7bb90=M[_0x5d9f3e(0x12b)](O),{isSelected:_0x349298,isHovered:_0x51ad25,handleClick:_0x153072,handleMouseEnter:_0x4e2927,handleMouseLeave:_0x15585e}=q(_0x427d6f);if(!_0x592e55||!_0xb7bb90)return;const {CPNAME:_0xc781db}=_0x592e55;if(!_0xc781db)return null;const {elmTrimThk:_0x1050ae}=_0x592e55,_0x110cee=_0x444e70[_0x5d9f3e(0x20c)]?.[_0x5d9f3e(0x270)],_0x20baae=_0x444e70[_0x5d9f3e(0x105)]?.[_0x5d9f3e(0x270)],_0x481bf0=(_0x592e55[_0x5d9f3e(0x272)]['start']==='S'?_0x110cee:0x0)??0x0,_0x45d8a5=(_0x592e55[_0x5d9f3e(0x272)][_0x5d9f3e(0x294)]==='S'?_0x20baae:0x0)??0x0,_0x4798ad=(_0x592e55['trim']['start']==='M'?_0x110cee:0x0)??0x0,_0x248fa1=(_0x592e55[_0x5d9f3e(0x272)]['end']==='M'?_0x20baae:0x0)??0x0,_0x28283e=_0x234d28['height']-_0x1050ae['top']-_0x1050ae[_0x5d9f3e(0x1aa)]+_0x592e55[_0x5d9f3e(0x28d)][_0x5d9f3e(0x1b6)]+_0x592e55[_0x5d9f3e(0x28d)][_0x5d9f3e(0x1aa)],_0x3bc721=_0x234d28[_0x5d9f3e(0x112)]-_0x481bf0-_0x45d8a5+_0x592e55[_0x5d9f3e(0x28d)][_0x5d9f3e(0x1be)]+_0x592e55['oversize'][_0x5d9f3e(0x294)],_0x69e4a7=_0x592e55[_0x5d9f3e(0x270)],_0x41f4f2=-(_0x592e55[_0x5d9f3e(0x28d)][_0x5d9f3e(0x1be)]/0x2-_0x592e55['oversize'][_0x5d9f3e(0x294)]/0x2-_0x481bf0/0x2+_0x45d8a5/0x2),_0x5f3772=_0x592e55[_0x5d9f3e(0x28d)]['bottom']/0x2-_0x592e55['oversize'][_0x5d9f3e(0x1b6)]/0x2+_0x1050ae[_0x5d9f3e(0x1aa)]/0x2-_0x1050ae[_0x5d9f3e(0x1b6)]/0x2,_0x19e1e5=-(_0x234d28['depth']/0x2-_0x69e4a7/0x2);return _0x267363===N[_0x5d9f3e(0x28e)]?h[_0x5d9f3e(0x17c)](_0x5d9f3e(0x25a),{'position':[_0x41f4f2/x,_0x19e1e5/x,_0x5f3772/x],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':h['jsx'](G,{'length':_0x28283e/x,'width':_0x3bc721/x,'thk':_0x69e4a7/x,'treeId':_0x427d6f,'isSelected':_0x349298,'isHovered':_0x51ad25,'onClick':_0x153072,'onPointerEnter':_0x4e2927,'onPointerLeave':_0x15585e,'startPanelThk':_0x4798ad,'endPanelThk':_0x248fa1})}):h[_0x5d9f3e(0x17c)]('g',{'transform':'translate('+_0x41f4f2+','+(_0x267363===N[_0x5d9f3e(0x28b)]?_0x19e1e5:_0x5f3772)+_0x5d9f3e(0x1b9),'children':h[_0x5d9f3e(0x17c)](B,{'dim_x':_0x3bc721,'dim_y':_0x267363===N[_0x5d9f3e(0x28b)]?_0x69e4a7:_0x28283e,'text':_0x5d9f3e(0x268)+_0x28283e+_0x5d9f3e(0x23a)+_0x3bc721+_0x5d9f3e(0x23a)+_0x69e4a7,'treeId':_0x427d6f,'isSelected':_0x349298,'isHovered':_0x51ad25,'onClick':_0x153072,'onMouseEnter':_0x4e2927,'onMouseLeave':_0x15585e,'startPanelThk':_0x267363===N[_0x5d9f3e(0x28b)]?_0x4798ad:0x0,'endPanelThk':_0x267363===N[_0x5d9f3e(0x28b)]?_0x248fa1:0x0})});}const Q=({view:_0x35d503=N['_3D'],position:_0x28716c=[0x0,0x0,0x0],rotation:_0x1d8a61=[0x0,0x0,0x0],children:_0x3c0e0a})=>{const _0x25ecbc=a0_0x299c60;if(_0x35d503===N[_0x25ecbc(0x28e)])return h[_0x25ecbc(0x17c)](_0x25ecbc(0x25a),{'position':[_0x28716c[0x0],_0x28716c[0x1],_0x28716c[0x2]],'rotation':_0x1d8a61,'children':_0x3c0e0a});const _0x307a26=_0x28716c[0x0],_0x2bbab6=_0x35d503===N['_2D_TOP']?_0x28716c[0x1]:_0x28716c[0x2],_0x306d31=_0x1d8a61[0x2]*(0xb4/Math['PI']);return h[_0x25ecbc(0x17c)]('g',{'transform':'translate('+_0x307a26+','+_0x2bbab6+')\x20rotate('+_0x306d31+')','children':_0x3c0e0a});};function At({TREEID:_0x100c98,dimension:_0x39ea02,view:_0x56b2ce,helper:_0x39161c}){const _0x4590b7=a0_0x299c60,_0x1b6842=_0x39161c[_0x4590b7(0x20c)],_0x21aab2=M[_0x4590b7(0x12b)](O),{isSelected:_0xf603f3,isHovered:_0x41927d,handleClick:_0x10bd0a,handleMouseEnter:_0x173aeb,handleMouseLeave:_0x138ade}=q(_0x100c98);if(!_0x1b6842||!_0x21aab2)return;const {CPNAME:_0x56b965}=_0x1b6842;if(!_0x56b965)return null;const {elmTrimThk:_0x1f3608}=_0x1b6842,_0x2af296=_0x39161c[_0x4590b7(0x1fe)]?.[_0x4590b7(0x270)],_0x3ac8b4=_0x39161c[_0x4590b7(0x223)]?.['thk'],_0xcbea9f=(_0x1b6842['trim'][_0x4590b7(0x1be)]==='S'?_0x2af296:0x0)??0x0,_0x4bebda=(_0x1b6842['trim'][_0x4590b7(0x294)]==='S'?_0x3ac8b4:0x0)??0x0,_0x2f1ed2=(_0x1b6842[_0x4590b7(0x272)][_0x4590b7(0x1be)]==='M'?_0x2af296:0x0)??0x0,_0x326c32=(_0x1b6842[_0x4590b7(0x272)][_0x4590b7(0x294)]==='M'?_0x3ac8b4:0x0)??0x0,_0x5849c0=_0x39ea02['height']-_0x1f3608[_0x4590b7(0x1b6)]-_0x1f3608[_0x4590b7(0x1aa)]+_0x1b6842[_0x4590b7(0x28d)][_0x4590b7(0x1b6)]+_0x1b6842[_0x4590b7(0x28d)]['bottom'],_0x4f3fa6=_0x39ea02[_0x4590b7(0x181)]-_0xcbea9f-_0x4bebda+_0x1b6842[_0x4590b7(0x28d)][_0x4590b7(0x1be)]+_0x1b6842[_0x4590b7(0x28d)][_0x4590b7(0x294)],_0x4d57bb=_0x1b6842[_0x4590b7(0x270)],_0x3d26ce=-(_0x39ea02['width']/0x2-_0x4d57bb/0x2),_0x87dbdc=_0x1b6842[_0x4590b7(0x28d)]['start']/0x2-_0x1b6842[_0x4590b7(0x28d)][_0x4590b7(0x294)]/0x2-_0xcbea9f/0x2+_0x4bebda/0x2,_0x222c49=_0x1b6842[_0x4590b7(0x28d)][_0x4590b7(0x1aa)]/0x2-_0x1b6842[_0x4590b7(0x28d)]['top']/0x2+_0x1f3608[_0x4590b7(0x1aa)]/0x2-_0x1f3608[_0x4590b7(0x1b6)]/0x2;return _0x56b2ce===N[_0x4590b7(0x28e)]?h[_0x4590b7(0x17c)](_0x4590b7(0x25a),{'position':[_0x3d26ce/x,_0x87dbdc/x,_0x222c49/x],'rotation':[0x0,-Math['PI']/0x2,0x0],'children':h[_0x4590b7(0x17c)](G,{'length':_0x5849c0/x,'width':_0x4f3fa6/x,'thk':_0x4d57bb/x,'treeId':_0x100c98,'isSelected':_0xf603f3,'isHovered':_0x41927d,'onClick':_0x10bd0a,'onPointerEnter':_0x173aeb,'onPointerLeave':_0x138ade,'startPanelThk':_0x2f1ed2,'endPanelThk':_0x326c32})}):h[_0x4590b7(0x17c)]('g',{'transform':_0x4590b7(0x1f4)+_0x3d26ce+','+(_0x56b2ce===N[_0x4590b7(0x28b)]?_0x87dbdc:_0x222c49)+_0x4590b7(0xe3),'children':h[_0x4590b7(0x17c)](B,{'dim_x':_0x56b2ce===N['_2D_TOP']?_0x4f3fa6:_0x5849c0,'dim_y':_0x4d57bb,'text':_0x4590b7(0x11c)+_0x5849c0+_0x4590b7(0x23a)+_0x4f3fa6+_0x4590b7(0x23a)+_0x4d57bb,'treeId':_0x100c98,'rotate':0xb4,'isSelected':_0xf603f3,'isHovered':_0x41927d,'onClick':_0x10bd0a,'onMouseEnter':_0x173aeb,'onMouseLeave':_0x138ade,'startPanelThk':_0x56b2ce===N[_0x4590b7(0x28b)]?_0x2f1ed2:0x0,'endPanelThk':_0x56b2ce===N[_0x4590b7(0x28b)]?_0x326c32:0x0})});}function Ct({TREEID:_0x54ff70,dimension:_0x79d38,view:_0x3503a3,helper:_0x1c6a1c}){const _0x2d2b3e=a0_0x299c60,_0x2b9950=_0x1c6a1c[_0x2d2b3e(0x1fe)],_0x2bd8cd=M[_0x2d2b3e(0x12b)](O),{isSelected:_0x35b99b,isHovered:_0x29d32c,handleClick:_0x38df80,handleMouseEnter:_0x3edfdd,handleMouseLeave:_0x1fc75d}=q(_0x54ff70);if(!_0x2b9950||!_0x2bd8cd)return;const {CPNAME:_0x3e1530}=_0x2b9950;if(!_0x3e1530)return null;const {elmTrimThk:_0x4d24f9}=_0x2b9950,_0x579656=_0x1c6a1c[_0x2d2b3e(0x105)]?.[_0x2d2b3e(0x270)],_0x25365d=_0x1c6a1c[_0x2d2b3e(0x20c)]?.[_0x2d2b3e(0x270)],_0x5613de=(_0x2b9950[_0x2d2b3e(0x272)][_0x2d2b3e(0x1be)]==='S'?_0x579656:0x0)??0x0,_0x1f6533=(_0x2b9950[_0x2d2b3e(0x272)][_0x2d2b3e(0x294)]==='S'?_0x25365d:0x0)??0x0,_0x5aab99=(_0x2b9950['trim'][_0x2d2b3e(0x1be)]==='M'?_0x579656:0x0)??0x0,_0x40092=(_0x2b9950[_0x2d2b3e(0x272)]['end']==='M'?_0x25365d:0x0)??0x0,_0x37fcd3=_0x79d38[_0x2d2b3e(0x221)]-_0x4d24f9[_0x2d2b3e(0x1b6)]-_0x4d24f9[_0x2d2b3e(0x1aa)]+_0x2b9950['oversize'][_0x2d2b3e(0x1b6)]+_0x2b9950[_0x2d2b3e(0x28d)][_0x2d2b3e(0x1aa)],_0x3c9711=_0x79d38[_0x2d2b3e(0x112)]-_0x5613de-_0x1f6533+_0x2b9950[_0x2d2b3e(0x28d)][_0x2d2b3e(0x1be)]+_0x2b9950['oversize']['end'],_0x25a7aa=_0x2b9950['thk'],_0xa660d8=_0x2b9950[_0x2d2b3e(0x28d)][_0x2d2b3e(0x1be)]/0x2-_0x2b9950[_0x2d2b3e(0x28d)][_0x2d2b3e(0x294)]/0x2-_0x5613de/0x2+_0x1f6533/0x2,_0x432f12=_0x79d38[_0x2d2b3e(0x181)]/0x2-_0x25a7aa/0x2,_0x9f0f50=_0x2b9950[_0x2d2b3e(0x28d)][_0x2d2b3e(0x1aa)]/0x2-_0x2b9950[_0x2d2b3e(0x28d)]['top']/0x2+_0x4d24f9[_0x2d2b3e(0x1aa)]/0x2-_0x4d24f9[_0x2d2b3e(0x1b6)]/0x2;return _0x3503a3===N['_3D']?h[_0x2d2b3e(0x17c)](_0x2d2b3e(0x25a),{'position':[_0xa660d8/x,_0x432f12/x,_0x9f0f50/x],'rotation':[Math['PI']/0x2,Math['PI'],Math['PI']/0x2],'children':h[_0x2d2b3e(0x17c)](G,{'length':_0x37fcd3/x,'width':_0x3c9711/x,'thk':_0x25a7aa/x,'treeId':_0x54ff70,'isSelected':_0x35b99b,'isHovered':_0x29d32c,'onClick':_0x38df80,'onPointerEnter':_0x3edfdd,'onPointerLeave':_0x1fc75d,'startPanelThk':_0x5aab99,'endPanelThk':_0x40092})}):h[_0x2d2b3e(0x17c)]('g',{'transform':_0x2d2b3e(0x1f4)+_0xa660d8+','+(_0x3503a3===N[_0x2d2b3e(0x28b)]?_0x432f12:_0x9f0f50)+_0x2d2b3e(0x1b9),'children':h[_0x2d2b3e(0x17c)](B,{'dim_x':_0x3c9711,'dim_y':_0x3503a3===N[_0x2d2b3e(0x28b)]?_0x25a7aa:_0x37fcd3,'text':_0x2d2b3e(0xdf)+_0x37fcd3+_0x2d2b3e(0x23a)+_0x3c9711+_0x2d2b3e(0x23a)+_0x25a7aa,'treeId':_0x54ff70,'isSelected':_0x35b99b,'rotate':0xb4,'isHovered':_0x29d32c,'onClick':_0x38df80,'onMouseEnter':_0x3edfdd,'onMouseLeave':_0x1fc75d,'startPanelThk':_0x3503a3===N[_0x2d2b3e(0x28b)]?_0x5aab99:0x0,'endPanelThk':_0x3503a3===N[_0x2d2b3e(0x28b)]?_0x40092:0x0})});}function wt({TREEID:_0x29e9c7,dimension:_0x559e67,view:_0x29fe44,helper:_0x19536a}){const _0x578050=a0_0x299c60,_0x5ba615=_0x19536a[_0x578050(0x105)],_0x32ba8f=M[_0x578050(0x12b)](O),{isSelected:_0x3ab828,isHovered:_0x519095,handleClick:_0x5c87cc,handleMouseEnter:_0x51d12d,handleMouseLeave:_0x52e6a0}=q(_0x29e9c7);if(!_0x5ba615||!_0x32ba8f)return;const {CPNAME:_0x5ef233}=_0x5ba615;if(!_0x5ef233)return null;const {elmTrimThk:_0x50d31a}=_0x5ba615,_0x14155f=_0x19536a['front']?.[_0x578050(0x270)],_0x37a3f0=_0x19536a['back']?.[_0x578050(0x270)],_0x34fc03=(_0x5ba615[_0x578050(0x272)][_0x578050(0x1be)]==='S'?_0x14155f:0x0)??0x0,_0x532211=(_0x5ba615[_0x578050(0x272)]['end']==='S'?_0x37a3f0:0x0)??0x0,_0x234808=(_0x5ba615['trim'][_0x578050(0x1be)]==='M'?_0x14155f:0x0)??0x0,_0x241a2f=(_0x5ba615['trim'][_0x578050(0x294)]==='M'?_0x37a3f0:0x0)??0x0,_0x47b429=_0x559e67[_0x578050(0x221)]-_0x50d31a[_0x578050(0x1b6)]-_0x50d31a[_0x578050(0x1aa)]+_0x5ba615['oversize']['top']+_0x5ba615[_0x578050(0x28d)][_0x578050(0x1aa)],_0x5bc23b=_0x559e67['depth']-_0x34fc03-_0x532211+_0x5ba615[_0x578050(0x28d)][_0x578050(0x1be)]+_0x5ba615['oversize'][_0x578050(0x294)],_0x331641=_0x5ba615[_0x578050(0x270)],_0x260d8d=_0x559e67[_0x578050(0x112)]/0x2-_0x331641/0x2,_0x1428d2=-(_0x5ba615[_0x578050(0x28d)][_0x578050(0x1be)]/0x2-_0x5ba615['oversize'][_0x578050(0x294)]/0x2-_0x34fc03/0x2+_0x532211/0x2),_0x4611ac=_0x5ba615['oversize'][_0x578050(0x1aa)]/0x2+_0x5ba615[_0x578050(0x28d)][_0x578050(0x1b6)]/0x2+_0x50d31a['bottom']/0x2-_0x50d31a[_0x578050(0x1b6)]/0x2;return _0x29fe44===N[_0x578050(0x28e)]?h[_0x578050(0x17c)](_0x578050(0x25a),{'position':[_0x260d8d/x,_0x1428d2/x,_0x4611ac/x],'rotation':[0x0,Math['PI']/0x2,Math['PI']],'children':h['jsx'](G,{'length':_0x47b429/x,'width':_0x5bc23b/x,'thk':_0x331641/x,'treeId':_0x29e9c7,'isSelected':_0x3ab828,'isHovered':_0x519095,'onClick':_0x5c87cc,'onPointerEnter':_0x51d12d,'onPointerLeave':_0x52e6a0,'startPanelThk':_0x234808,'endPanelThk':_0x241a2f})}):h['jsx']('g',{'transform':'translate('+_0x260d8d+','+(_0x29fe44===N['_2D_TOP']?_0x1428d2:_0x4611ac)+_0x578050(0xe3),'children':h[_0x578050(0x17c)](B,{'dim_x':_0x29fe44===N[_0x578050(0x28b)]?_0x5bc23b:_0x47b429,'dim_y':_0x331641,'text':'right\x20'+_0x47b429+_0x578050(0x23a)+_0x5bc23b+'\x20x\x20'+_0x331641,'treeId':_0x29e9c7,'isSelected':_0x3ab828,'isHovered':_0x519095,'onClick':_0x5c87cc,'onMouseEnter':_0x51d12d,'onMouseLeave':_0x52e6a0,'startPanelThk':_0x29fe44===N['_2D_TOP']?_0x234808:0x0,'endPanelThk':_0x29fe44===N[_0x578050(0x28b)]?_0x241a2f:0x0})});}function Lt({TREEID:_0x166f6a,dimension:_0x227df1,view:_0xe451f3,helper:_0x2e7ecc}){const _0x2fa67f=a0_0x299c60,_0x5eb83e=oe(_0x166f6a),_0x45f2c1=M[_0x2fa67f(0x12b)](O),{isSelected:_0x1389b4,isHovered:_0x25679c,handleClick:_0x395c35,handleMouseEnter:_0x5285be,handleMouseLeave:_0x3fe95a}=q(_0x166f6a);if(!_0x5eb83e||!_0x45f2c1)return;const {topShelfCP:_0x535844}=_0x5eb83e;if(!_0x535844)return;const _0x5306b0=(_0x2e7ecc[_0x2fa67f(0x223)]?.[_0x2fa67f(0x272)][_0x2fa67f(0x1b6)]!=='S'?_0x2e7ecc[_0x2fa67f(0x223)]?.['thk']:0x0)??0x0,_0x85c465=(_0x2e7ecc['back']?.[_0x2fa67f(0x272)]['top']!=='S'?_0x2e7ecc[_0x2fa67f(0x1fe)]?.[_0x2fa67f(0x270)]:0x0)??0x0,_0x2c852f=(_0x2e7ecc['left']?.[_0x2fa67f(0x272)][_0x2fa67f(0x1b6)]!=='S'?_0x2e7ecc[_0x2fa67f(0x20c)]?.['thk']:0x0)??0x0,_0x4a2ba1=(_0x2e7ecc[_0x2fa67f(0x105)]?.[_0x2fa67f(0x272)][_0x2fa67f(0x1b6)]!=='S'?_0x2e7ecc['right']?.[_0x2fa67f(0x270)]:0x0)??0x0,_0x423b32=_0x227df1[_0x2fa67f(0x112)]-_0x2c852f-_0x4a2ba1,_0x254ed5=_0x227df1[_0x2fa67f(0x181)]-_0x85c465-_0x5306b0,_0x286bc2=_0x5eb83e['topShelfThk'],_0x26291d=_0x2c852f/0x2-_0x4a2ba1/0x2,_0x45df84=-(_0x85c465/0x2-_0x5306b0/0x2),_0x410487=_0x227df1[_0x2fa67f(0x221)]/0x2-_0x286bc2/0x2;return _0xe451f3===N['_3D']?h['jsx'](_0x2fa67f(0x25a),{'position':[_0x26291d/x,_0x45df84/x,_0x410487/x],'rotation':[0x0,0x0,0x0],'children':h[_0x2fa67f(0x17c)](G,{'length':_0x423b32/x,'width':_0x254ed5/x,'thk':_0x286bc2/x,'opacity':0.8,'treeId':_0x166f6a,'isSelected':_0x1389b4,'isHovered':_0x25679c,'onClick':_0x395c35,'onPointerEnter':_0x5285be,'onPointerLeave':_0x3fe95a})}):h[_0x2fa67f(0x17c)]('g',{'transform':_0x2fa67f(0x1f4)+_0x26291d+','+(_0xe451f3===N[_0x2fa67f(0x28b)]?_0x45df84:_0x410487)+')','children':h[_0x2fa67f(0x17c)](B,{'dim_x':_0x423b32,'dim_y':_0xe451f3===N[_0x2fa67f(0x28b)]?_0x254ed5:_0x286bc2,'text':_0x2fa67f(0x199)+_0x166f6a+_0x2fa67f(0x1e7)+_0x423b32+_0x2fa67f(0x23a)+_0x254ed5+_0x2fa67f(0x23a)+_0x286bc2,'treeId':_0x166f6a,'isSelected':_0x1389b4,'isHovered':_0x25679c,'onClick':_0x395c35,'onMouseEnter':_0x5285be,'onMouseLeave':_0x3fe95a})});}function Ot({TREEID:_0xe3a8fc,dimension:_0x14fe28,view:_0x4a52c9,helper:_0x1fcd46}){const _0x57363f=a0_0x299c60,_0x3436d1=oe(_0xe3a8fc),_0x34bd16=M['useContext'](O),{isSelected:_0x28c013,isHovered:_0xea223a,handleClick:_0x23c517,handleMouseEnter:_0x61608a,handleMouseLeave:_0x51080e}=q(_0xe3a8fc);if(!_0x3436d1||!_0x34bd16)return;const {bottomShelfCP:_0xfea637}=_0x3436d1;if(!_0xfea637)return;const _0x3ea999=(_0x1fcd46[_0x57363f(0x223)]?.[_0x57363f(0x272)]['bottom']!=='S'?_0x1fcd46[_0x57363f(0x223)]?.[_0x57363f(0x270)]:0x0)??0x0,_0x5c3d1e=(_0x1fcd46[_0x57363f(0x1fe)]?.[_0x57363f(0x272)]['bottom']!=='S'?_0x1fcd46[_0x57363f(0x1fe)]?.[_0x57363f(0x270)]:0x0)??0x0,_0x18c3ed=(_0x1fcd46[_0x57363f(0x20c)]?.[_0x57363f(0x272)][_0x57363f(0x1aa)]!=='S'?_0x1fcd46[_0x57363f(0x20c)]?.['thk']:0x0)??0x0,_0x1dfd68=(_0x1fcd46[_0x57363f(0x105)]?.['trim'][_0x57363f(0x1aa)]!=='S'?_0x1fcd46[_0x57363f(0x105)]?.['thk']:0x0)??0x0,_0x4b11ca=_0x14fe28['width']-_0x18c3ed-_0x1dfd68,_0x4d4440=_0x14fe28[_0x57363f(0x181)]-_0x5c3d1e-_0x3ea999,_0x2850e1=_0x3436d1[_0x57363f(0x122)],_0x4eb90a=_0x18c3ed/0x2-_0x1dfd68/0x2,_0xbcfffc=-(_0x5c3d1e/0x2-_0x3ea999/0x2),_0x132dc3=-(_0x14fe28[_0x57363f(0x221)]/0x2-_0x2850e1/0x2);return _0x4a52c9===N[_0x57363f(0x28e)]?h[_0x57363f(0x17c)](_0x57363f(0x25a),{'position':[_0x4eb90a/x,_0xbcfffc/x,_0x132dc3/x],'rotation':[0x0,0x0,0x0],'children':h[_0x57363f(0x17c)](G,{'length':_0x4b11ca/x,'width':_0x4d4440/x,'thk':_0x2850e1/x,'opacity':0.8,'treeId':_0xe3a8fc,'isSelected':_0x28c013,'isHovered':_0xea223a,'onClick':_0x23c517,'onPointerEnter':_0x61608a,'onPointerLeave':_0x51080e})}):h[_0x57363f(0x17c)]('g',{'transform':_0x57363f(0x1f4)+_0x4eb90a+','+(_0x4a52c9===N[_0x57363f(0x28b)]?_0xbcfffc:_0x132dc3)+')','children':h[_0x57363f(0x17c)](B,{'dim_x':_0x4b11ca,'dim_y':_0x4a52c9===N[_0x57363f(0x28b)]?_0x4d4440:_0x2850e1,'text':'Bot\x20'+_0x4b11ca+_0x57363f(0x23a)+_0x4d4440+_0x57363f(0x23a)+_0x2850e1,'treeId':_0xe3a8fc,'isSelected':_0x28c013,'isHovered':_0xea223a,'onClick':_0x23c517,'onMouseEnter':_0x61608a,'onMouseLeave':_0x51080e})});}function ze(){const _0x4d72c2=a0_0x299c60,_0x3b232a=M[_0x4d72c2(0x12b)](xe);if(!_0x3b232a)throw new Error(_0x4d72c2(0x158));return _0x3b232a;}function Ge(_0x3dbc9c,_0x263ad8,_0x39ed37,_0x79da27={}){const _0x184a8d=a0_0x299c60,{throwOnError:_0x27596e=!0x1}=_0x79da27;if(!_0x3dbc9c[_0x184a8d(0x200)](_0x263ad8))throw new Error(_0x184a8d(0x130)+_0x263ad8+_0x184a8d(0x1dd));return M[_0x184a8d(0xe2)](()=>{const _0x3b7c94=_0x184a8d;try{return{'result':_0x3dbc9c[_0x3b7c94(0x23f)](_0x263ad8,_0x39ed37),'error':null,'success':!0x0};}catch(_0x536343){const _0x3e1f0b=_0x536343 instanceof Error?_0x536343['message']:_0x3b7c94(0x15e);if(_0x27596e)throw _0x536343;return{'result':null,'error':_0x3e1f0b,'success':!0x1};}},[_0x3dbc9c,_0x263ad8,_0x39ed37,_0x27596e]);}function Pt(_0x5f4ee3,_0x5c8932,_0x4e078f){const _0x4ec3ce=a0_0x299c60;return M[_0x4ec3ce(0xe2)](()=>{const _0x1b9273=_0x4ec3ce;try{const _0x3f6509=_0x5f4ee3[_0x1b9273(0x1ac)](_0x5c8932,_0x4e078f);return{'matches':_0x3f6509,'error':null,'count':_0x3f6509[_0x1b9273(0x259)]};}catch(_0x1dd0a5){const _0x3e3add=_0x1dd0a5 instanceof Error?_0x1dd0a5['message']:'Unknown\x20error';return{'matches':[],'error':_0x3e3add,'count':0x0};}},[_0x5f4ee3,_0x5c8932,_0x4e078f]);}const R={'LINEAR_DIVISION':a0_0x299c60(0x21c),'ARTICLE':'article'},j={'STRING':a0_0x299c60(0x114),'DESCRIPTOR':'descriptor'},be={'linearDivision':_0x2978bf=>_0x2978bf['type']===R[a0_0x299c60(0x1e9)],'article':_0x5b78c3=>_0x5b78c3[a0_0x299c60(0x1ec)]===R[a0_0x299c60(0x132)]},Rt={'string':_0xc3ca9e=>_0xc3ca9e[a0_0x299c60(0x1ec)]===R['LINEAR_DIVISION']&&_0xc3ca9e[a0_0x299c60(0x238)]===j[a0_0x299c60(0x164)],'descriptor':_0x1ef250=>_0x1ef250[a0_0x299c60(0x1ec)]===R[a0_0x299c60(0x1e9)]&&_0x1ef250['valueSource']===j[a0_0x299c60(0x102)]},ne={'string':_0x148e2c=>_0x148e2c[a0_0x299c60(0x1ec)]===R['ARTICLE']&&_0x148e2c['valueSource']===j[a0_0x299c60(0x164)],'descriptor':_0x1a7a79=>_0x1a7a79[a0_0x299c60(0x1ec)]===R[a0_0x299c60(0x132)]&&_0x1a7a79['valueSource']===j['DESCRIPTOR']},J={'linearDivisionString'(_0x1e513f,_0x5f4287,_0x8035db,_0x559ab6,_0x10131c,_0x149d32,_0x310d93,_0x4cba98){const _0xe35f55=a0_0x299c60;return{'TREEID':_0x1e513f,'type':R[_0xe35f55(0x1e9)],'valueSource':j[_0xe35f55(0x164)],'DIVDIR':_0x5f4287,'DIVTYPE':_0x8035db,'HORDEFTYPE':_0x559ab6,'LINDIV1':_0x10131c,'DIVELEM1':_0x149d32,'DIVIDER':'','formula':_0x310d93,'thickness':_0x4cba98};},'linearDivisionDescriptor'(_0x4d3f36,_0x4d1073,_0x416543,_0x1a966a,_0x2e6048,_0x3c628e,_0x1e59dc,_0x2c6ac8){const _0x142013=a0_0x299c60;return{'TREEID':_0x4d3f36,'type':R['LINEAR_DIVISION'],'valueSource':j[_0x142013(0x102)],'DIVDIR':_0x4d1073,'DIVTYPE':_0x416543,'HORDEFTYPE':_0x1a966a,'LINDIV1':_0x2e6048,'DIVELEM1':_0x3c628e,'DIVIDER':'','descriptorName':_0x1e59dc,'thickness':_0x2c6ac8};},'articleString'(_0x3aa05a,_0x3990ec,_0x45b1f2,_0x4e197b,_0x578f50,_0x257589,_0x109f72){const _0x44029d=a0_0x299c60;return{'TREEID':_0x3aa05a,'type':R[_0x44029d(0x132)],'valueSource':j[_0x44029d(0x164)],'DIVDIR':_0x3990ec,'DIVTYPE':_0x45b1f2,'HORDEFTYPE':_0x4e197b,'LINDIV1':_0x578f50,'DIVELEM1':_0x257589,'DIVIDER':_0x109f72,'articleName':_0x109f72};},'articleDescriptor'(_0x22b3aa,_0x157434,_0x880a59,_0x860d57,_0x4f3462,_0x4d2a1f,_0x3aee8b){const _0x18815d=a0_0x299c60;return{'TREEID':_0x22b3aa,'type':R[_0x18815d(0x132)],'valueSource':j[_0x18815d(0x102)],'DIVDIR':_0x157434,'DIVTYPE':_0x880a59,'HORDEFTYPE':_0x860d57,'LINDIV1':_0x4f3462,'DIVELEM1':_0x4d2a1f,'DIVIDER':_0x3aee8b,'descriptorName':_0x3aee8b};},'fromZoneData'(_0x544f5c,_0x36dd35){const _0x3ffa60=a0_0x299c60,_0x22ee24=_0x2b78f5=>_0x2b78f5['trim']()['startsWith']('#');if(_0x544f5c['DIVDIR']==='A'){if(_0x22ee24(_0x544f5c[_0x3ffa60(0x295)])){const _0x30c5ca=_0x544f5c[_0x3ffa60(0x295)]['replace']('#','')[_0x3ffa60(0x272)]();return J['articleDescriptor'](_0x544f5c['TREEID'],_0x544f5c[_0x3ffa60(0x109)],_0x544f5c[_0x3ffa60(0x261)],_0x544f5c[_0x3ffa60(0x16c)],_0x544f5c[_0x3ffa60(0x26b)],_0x544f5c[_0x3ffa60(0x174)],_0x30c5ca);}return J[_0x3ffa60(0xed)](_0x544f5c[_0x3ffa60(0x10e)],_0x544f5c[_0x3ffa60(0x109)],_0x544f5c['DIVTYPE'],_0x544f5c[_0x3ffa60(0x16c)],_0x544f5c[_0x3ffa60(0x26b)],_0x544f5c['DIVELEM1'],_0x544f5c['DIVIDER']);}if(_0x22ee24(_0x544f5c[_0x3ffa60(0x26b)])){const _0x356da5=_0x544f5c[_0x3ffa60(0x26b)][_0x3ffa60(0x1bd)]('#','')[_0x3ffa60(0x272)]();return J['linearDivisionDescriptor'](_0x544f5c['TREEID'],_0x544f5c['DIVDIR'],_0x544f5c['DIVTYPE'],_0x544f5c[_0x3ffa60(0x16c)],_0x544f5c[_0x3ffa60(0x26b)],_0x544f5c[_0x3ffa60(0x174)],_0x356da5,_0x36dd35);}return J[_0x3ffa60(0x27c)](_0x544f5c[_0x3ffa60(0x10e)],_0x544f5c[_0x3ffa60(0x109)],_0x544f5c[_0x3ffa60(0x261)],_0x544f5c['HORDEFTYPE'],_0x544f5c[_0x3ffa60(0x26b)],_0x544f5c['DIVELEM1'],_0x544f5c[_0x3ffa60(0x26b)],_0x36dd35);}};function Vt(_0x556243){const _0x1378c9=a0_0x299c60;if(!_0x556243)return _0x1378c9(0x112);const _0x133d27={0x0:_0x1378c9(0x112),0x1:_0x1378c9(0x181),0x2:_0x1378c9(0x112),0x3:_0x1378c9(0x181)};return _0x556243[_0x1378c9(0x109)]==='V'?'height':_0x556243[_0x1378c9(0x16c)]==='W'?'width':_0x556243['HORDEFTYPE']==='D'?_0x1378c9(0x181):_0x556243['HORDEFTYPE']==='P'?_0x133d27[_0x556243['DIVELEM1']]??_0x1378c9(0x112):_0x1378c9(0x112);}function Ft(_0x51a9f7,_0x35572c){return _0x35572c?_0x35572c[_0x51a9f7]:0x0;}function jt(_0x334e2a,_0x570422){const _0x369c4a=a0_0x299c60,_0x181e93=_0x334e2a;if(Gt(_0x334e2a))return{'value':_0x334e2a[_0x369c4a(0x159)]('#')?_0x334e2a[_0x369c4a(0x10f)](0x1):_0x334e2a,'original':_0x181e93,'isReference':!0x0};if(/^\d+:\d+$/[_0x369c4a(0x118)](_0x334e2a))return{'value':_0x334e2a,'original':_0x181e93,'isReference':!0x1};const {format:_0xec3b60,expression:_0x53d0f5,suffix:_0x56d21a}=zt(_0x334e2a);let _0x3c2246=_0x53d0f5;_0x3c2246=_0x3c2246['replace'](/^\((.+)\)$/,'$1');const _0x2be0c1=Ce(_0x3c2246,{'variableTree':_0x570422,'allowFunctions':!0x0,'dataType':'FL','silent':!0x0})[_0x369c4a(0x20b)]??_0x53d0f5;let _0x5f3627;switch(_0xec3b60){case _0x369c4a(0x253):_0x5f3627=''+_0x2be0c1+_0x56d21a;break;case'ratio:expr':_0x5f3627=''+_0x56d21a+_0x2be0c1;break;case'expr*{ratio}':_0x5f3627=''+_0x2be0c1+_0x56d21a;break;case'simple':_0x5f3627=String(_0x2be0c1);break;}return{'value':_0x5f3627,'original':_0x181e93,'isReference':!0x1};}function $t(_0x3a0137,_0x389209){const _0x1a0375=a0_0x299c60;return jt(_0x3a0137,_0x389209)[_0x1a0375(0x20b)];}function zt(_0x2a11a8){const _0x237144=a0_0x299c60,_0x247179=_0x2a11a8[_0x237144(0x272)]()['replace'](/^\((.+)\)$/,'$1'),_0x4105ca=_0x247179[_0x237144(0x1c5)](/^(\d+|n):(.+?)(mm|cm)?$/);if(_0x4105ca){const [,_0x36ee7a,_0x10dc7e,_0x35737a]=_0x4105ca;return{'format':_0x237144(0x1dc),'expression':_0x10dc7e[_0x237144(0x272)](),'suffix':_0x35737a?_0x36ee7a+':'+_0x35737a:_0x36ee7a+':'};}const _0xe0dd26=_0x247179[_0x237144(0x1c5)](/^(.+?)(mm|cm)?:(\d+)$/);if(_0xe0dd26){const [,_0x1efb4f,_0x1c5664,_0x438782]=_0xe0dd26;return{'format':_0x237144(0x253),'expression':_0x1efb4f[_0x237144(0x272)](),'suffix':_0x1c5664?_0x1c5664+':'+_0x438782:':'+_0x438782};}const _0x145320=_0x247179[_0x237144(0x1c5)](/^(.+?)(\*)?{(\d+)}$/);if(_0x145320){const [,_0x60e58,_0x3f3fe1,_0x1b168f]=_0x145320;return{'format':'expr*{ratio}','expression':_0x60e58[_0x237144(0x272)](),'suffix':_0x3f3fe1?'*{'+_0x1b168f+'}':'{'+_0x1b168f+'}'};}return{'format':'simple','expression':_0x247179,'suffix':''};}function Gt(_0x2b030a){const _0x27a3ed=a0_0x299c60;return _0x2b030a[_0x27a3ed(0x159)]('#')?!0x0:_0x2b030a[_0x27a3ed(0x1b1)]('(')||/[+\-*/]/[_0x27a3ed(0x118)](_0x2b030a)?!0x1:/^[A-Za-z0-9_-]+$/[_0x27a3ed(0x118)](_0x2b030a)?!0x0:!/^\d+:\d+$/[_0x27a3ed(0x118)](_0x2b030a);}function Be({divider:_0x24a0eb,inputData:_0x25d9a7}){const _0x5cb7c4=a0_0x299c60,_0x1e3d22=ze(),{resolveString:_0x161f5d}=z(),{result:_0x43cf5f,error:_0x92bf63}=Ge(_0x1e3d22,_0x24a0eb[_0x5cb7c4(0x190)],_0x25d9a7,{'throwOnError':!0x1});_0x92bf63&&console['error']('error\x20:\x20from\x20useDescriptorEvaluation',_0x92bf63);const _0x85a82b=M[_0x5cb7c4(0xe2)](()=>_0x24a0eb?ne[_0x5cb7c4(0x114)](_0x24a0eb)?_0x24a0eb[_0x5cb7c4(0x156)]:ne[_0x5cb7c4(0x18e)](_0x24a0eb)&&_0x43cf5f?.['lindiv']?_0x43cf5f[_0x5cb7c4(0x277)]:'':'',[_0x24a0eb,_0x43cf5f]);return{'updatedDivider':M['useMemo'](()=>{const _0x160260=_0x5cb7c4;if(_0x24a0eb)return _0x43cf5f?.[_0x160260(0x277)]!=null?{..._0x24a0eb,'LINDIV1':$t(_0x161f5d(_0x43cf5f['lindiv'])),'articleName':_0x85a82b}:{..._0x24a0eb,'LINDIV1':_0x161f5d(_0x24a0eb[_0x160260(0x26b)])};},[_0x24a0eb,_0x43cf5f,_0x85a82b,_0x161f5d])};}const Bt={'width':{'rotation':[0x0,Math['PI']/0x2,0x0],'get3D':(_0x268a99,_0x5f30f3)=>({'length':_0x268a99[a0_0x299c60(0x221)],'width':_0x268a99[a0_0x299c60(0x181)],'thk':_0x5f30f3}),'get2DTop':(_0x254efe,_0x2392b0)=>({'dim_x':_0x254efe[a0_0x299c60(0x181)],'dim_y':_0x2392b0,'rotate':0x5a}),'get2DFront':(_0x40182b,_0xf24bbc)=>({'dim_x':_0x40182b[a0_0x299c60(0x221)],'dim_y':_0xf24bbc,'rotate':0x5a})},'height':{'rotation':[0x0,0x0,0x0],'get3D':(_0x3cdf4f,_0x530488)=>({'length':_0x3cdf4f['width'],'width':_0x3cdf4f[a0_0x299c60(0x181)],'thk':_0x530488}),'get2DTop':_0x3931e6=>({'dim_x':_0x3931e6['width'],'dim_y':_0x3931e6[a0_0x299c60(0x181)]}),'get2DFront':(_0xd446ec,_0x815639)=>({'dim_x':_0xd446ec['width'],'dim_y':_0x815639})},'depth':{'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'get3D':(_0x111703,_0x2eff19)=>({'length':_0x111703[a0_0x299c60(0x221)],'width':_0x111703[a0_0x299c60(0x112)],'thk':_0x2eff19}),'get2DTop':(_0x372176,_0x4bb000)=>({'dim_x':_0x372176[a0_0x299c60(0x112)],'dim_y':_0x4bb000}),'get2DFront':_0x2aa839=>({'dim_x':_0x2aa839['width'],'dim_y':_0x2aa839[a0_0x299c60(0x221)]})},'article':{'rotation':[0x0,0x0,0x0],'get3D':(_0x17501f,_0xb89b8c)=>({'length':_0x17501f[a0_0x299c60(0x112)],'width':_0x17501f['depth'],'thk':_0xb89b8c}),'get2DTop':_0x183cc8=>({'dim_x':_0x183cc8[a0_0x299c60(0x112)],'dim_y':_0x183cc8[a0_0x299c60(0x181)]}),'get2DFront':(_0x5a1f60,_0x4097da)=>({'dim_x':_0x5a1f60[a0_0x299c60(0x112)],'dim_y':_0x4097da})},'independent':{'rotation':[0x0,0x0,0x0],'get3D':(_0x896cac,_0x188be4)=>({'length':_0x896cac[a0_0x299c60(0x112)],'width':_0x896cac[a0_0x299c60(0x181)],'thk':_0x188be4}),'get2DTop':_0x4ad0aa=>({'dim_x':_0x4ad0aa[a0_0x299c60(0x112)],'dim_y':_0x4ad0aa[a0_0x299c60(0x181)]}),'get2DFront':(_0x51ddb1,_0x3baf31)=>({'dim_x':_0x51ddb1[a0_0x299c60(0x112)],'dim_y':_0x3baf31})}},Ht=(_0x2a73a5,_0xb69ebf,_0x13d26a)=>({'x':_0x2a73a5===a0_0x299c60(0x112)?_0x13d26a[a0_0x299c60(0x112)]/0x2+_0xb69ebf/0x2:0x0,'y':_0x2a73a5===a0_0x299c60(0x181)?_0x13d26a[a0_0x299c60(0x181)]/0x2+_0xb69ebf/0x2:0x0,'z':_0x2a73a5==='height'?_0x13d26a[a0_0x299c60(0x221)]/0x2+_0xb69ebf/0x2:0x0});function Ut({divider:_0x45a715,view:_0x695821,childrenPositon:_0xae9244,dividerThk:_0x45116f}){const _0xbedf5=a0_0x299c60,_0x367adf=M[_0xbedf5(0x12b)](O),_0x1ae4eb=_0xae9244['dividerType'],_0x399af4=_0xae9244[_0xbedf5(0x26c)],_0x4575de=Bt[_0x1ae4eb];if(!_0x367adf)return null;const {selectedElem:_0x4ada1d,setSelectedElem:_0xb710e6,hoveredElem:_0x28a316,setHoveredElem:_0x486f59}=_0x367adf;return _0x399af4['map']((_0xe0027c,_0x1a7a4d)=>{const _0x197745=_0xbedf5,_0x570e7b=!(_0x1a7a4d===_0x399af4[_0x197745(0x259)]-0x1)&&_0x45116f!==0x0,_0x190bf0=Ht(_0x1ae4eb,_0x45116f,_0xe0027c[_0x197745(0xd9)]),_0xb31fab=_0x4575de[_0x197745(0x1bb)](_0xe0027c['zone_dims'],_0x45116f),_0x8378ac=_0x695821===N[_0x197745(0x28b)]?_0x4575de[_0x197745(0x196)](_0xe0027c['zone_dims'],_0x45116f):_0x4575de[_0x197745(0x1e4)](_0xe0027c[_0x197745(0xd9)],_0x45116f),_0x1d6e98=_0x45a715[_0x197745(0x10e)]+_0x197745(0x279),_0x5f273b=_0x4ada1d===_0x1d6e98,_0xa9e0b=_0x28a316===_0x1d6e98;return h[_0x197745(0x17c)](M[_0x197745(0x23c)],{'children':h['jsxs'](Q,{'view':_0x695821,'position':[_0xe0027c['x']/x,_0xe0027c['y']/x,_0xe0027c['z']/x],'children':[h[_0x197745(0x17c)](Q,{'view':_0x695821,'position':[_0x190bf0['x']/x,_0x190bf0['y']/x,_0x190bf0['z']/x],'rotation':_0x4575de['rotation'],'children':_0x570e7b&&h['jsx'](h[_0x197745(0x23c)],{'children':_0x695821===N['_3D']?h['jsx'](G,{'length':_0xb31fab['length']/x,'width':_0xb31fab['width']/x,'thk':_0xb31fab[_0x197745(0x270)]/x,'opacity':0x1,'treeId':_0x1d6e98,'isSelected':_0x5f273b,'isHovered':_0xa9e0b,'onClick':()=>_0xb710e6(_0x5f273b?null:_0x1d6e98),'onPointerEnter':()=>_0x486f59(_0x1d6e98),'onPointerLeave':()=>_0x486f59(null)}):h[_0x197745(0x17c)](B,{..._0x8378ac,'text':_0x1d6e98,'treeId':_0x1d6e98,'isSelected':_0x5f273b,'isHovered':_0xa9e0b,'onClick':()=>_0xb710e6(_0x5f273b?null:_0x1d6e98),'onMouseEnter':()=>_0x486f59(_0x1d6e98),'onMouseLeave':()=>_0x486f59(null)})})}),h[_0x197745(0x17c)](Te,{'TREEID':_0xe0027c[_0x197745(0x10e)],'dimension':_0xe0027c[_0x197745(0xd9)],'view':_0x695821})]})},_0x1a7a4d);});}function Zt({view:_0x559f01,remainingZone:_0x58ccc9,articleName:_0x47f560}){const _0x3f963e=a0_0x299c60;return h[_0x3f963e(0x17c)](me,{'articleName':_0x47f560,'dimensionOverrides':{'width':_0x58ccc9[_0x3f963e(0x1e0)][_0x3f963e(0x112)],'height':_0x58ccc9[_0x3f963e(0x1e0)][_0x3f963e(0x221)],'depth':_0x58ccc9[_0x3f963e(0x1e0)][_0x3f963e(0x181)]},'children':h[_0x3f963e(0x17c)](Q,{'view':_0x559f01,'position':[_0x58ccc9[_0x3f963e(0x171)]['x'],_0x58ccc9[_0x3f963e(0x171)]['y'],_0x58ccc9[_0x3f963e(0x171)]['z']],'children':h['jsx'](Ne,{'view':_0x559f01})})});}function Kt({childrenPositon:_0x2ec420,dividerThk:_0x5a3cf5,divider:_0x5b2387,view:_0x39702b,remainingZone:_0x126267}){const _0x2c6fa4=a0_0x299c60;if(be[_0x2c6fa4(0x21b)](_0x5b2387))return _0x2ec420?h['jsx'](Ut,{'view':_0x39702b,'childrenPositon':_0x2ec420,'dividerThk':_0x5a3cf5,'divider':_0x5b2387,'remainingZone':_0x126267}):null;if(be[_0x2c6fa4(0x162)](_0x5b2387)){const _0xf2f127=ne[_0x2c6fa4(0x114)](_0x5b2387)?_0x5b2387['articleName']:_0x5b2387[_0x2c6fa4(0x26b)];return!_0x126267||_0xf2f127===''?null:h[_0x2c6fa4(0x17c)](Zt,{'view':_0x39702b,'articleName':_0xf2f127,'remainingZone':_0x126267});}return null;}function He(){const _0x4be2d1=a0_0x299c60,{getArticleData:_0x130e7e}=W(),{articleName:_0x209ef8,dimensionOverrides:_0x3e4b35}=X(),{resolveString:_0x1ac9ff}=z(),{anglPrims:_0x1a3257}=_0x130e7e(_0x209ef8);if(_0x1a3257[_0x4be2d1(0x259)]===0x0)throw new Error(_0x4be2d1(0x1db)+_0x209ef8);const _0x21f94a=_0x1a3257[0x0],_0x59f692=(_0x19e603,_0x2e659e)=>{const _0x3f0b60=_0x4be2d1,_0x4fb149=typeof _0x19e603==_0x3f0b60(0x114)&&_0x19e603!==''?ie(_0x1ac9ff(_0x19e603)):_0x2e659e;return parseFloat(String(_0x4fb149))||0x0;},_0xef3053={'width':_0x3e4b35?.[_0x4be2d1(0x112)]??_0x59f692(_0x21f94a['DIMCALCFX'],_0x21f94a[_0x4be2d1(0x193)]),'height':_0x3e4b35?.['height']??_0x59f692(_0x21f94a[_0x4be2d1(0x15f)],_0x21f94a['SIZEZ']),'depth':_0x3e4b35?.['depth']??_0x59f692(_0x21f94a[_0x4be2d1(0x246)],_0x21f94a[_0x4be2d1(0x115)])};return{'current_prim':_0x21f94a,'prim_dims':_0xef3053};}function Te({TREEID:_0x1e4dda,dimension:_0x4be4e2,view:_0x54209d=N[a0_0x299c60(0x28e)]}){const _0x177600=a0_0x299c60,_0x37fdbd=oe(_0x1e4dda),_0x1feea3=_0x37fdbd?.[_0x177600(0x121)](),_0x245cf6=_0x37fdbd?.[_0x177600(0x1c2)]||0x0,_0x4d23e9=He(),_0x513142=Nt(_0x1e4dda),_0x4bbe29=Mt(_0x513142,_0x37fdbd?.[_0x177600(0x14c)]||0x0,_0x37fdbd?.[_0x177600(0x122)]||0x0),_0x211b94=yt(_0x513142),_0x1f9abe=It(_0x4be4e2,_0x211b94),_0x1e1ed2=_t(_0x1f9abe,_0x4bbe29),_0x23899f=M[_0x177600(0xe2)](()=>{if(_0x37fdbd)return J['fromZoneData'](_0x37fdbd['currentZone'],_0x245cf6);},[_0x37fdbd,_0x245cf6]),_0x3ecfe1=_0x1feea3?Object[_0x177600(0x178)](_0x1feea3):{},_0x520d91=Vt(_0x23899f),_0x330368=Ft(_0x520d91,_0x1e1ed2[_0x177600(0x1e0)]);_0x3ecfe1[_0x177600(0x146)]=_0x4d23e9?.[_0x177600(0x274)][_0x177600(0x112)][_0x177600(0x14b)](),_0x3ecfe1[_0x177600(0x252)]=_0x4d23e9?.[_0x177600(0x274)][_0x177600(0x221)][_0x177600(0x14b)](),_0x3ecfe1[_0x177600(0x234)]=_0x4d23e9?.['prim_dims'][_0x177600(0x181)]['toString'](),_0x3ecfe1[0x0]='0',_0x3ecfe1['X']=_0x330368['toString']();const _0x29f3c8=_0x23899f?Rt[_0x177600(0x18e)](_0x23899f):!0x1,_0x392cdf=_0x23899f?ne[_0x177600(0x18e)](_0x23899f):!0x1,_0x388bfa=_0x29f3c8||_0x392cdf?Be({'divider':_0x23899f,'inputData':_0x3ecfe1})[_0x177600(0x230)]:_0x23899f,_0x316c7e=Dt(_0x1e1ed2,_0x245cf6,_0x388bfa,_0x37fdbd?.['children'][_0x177600(0x16e)](_0x14d717=>_0x14d717[_0x177600(0x10e)])||[]);return h[_0x177600(0x17c)](h['Fragment'],{'children':h['jsxs'](Q,{'view':_0x54209d,'position':[_0x1f9abe['position']['x']/x,_0x1f9abe[_0x177600(0x171)]['y']/x,_0x1f9abe['position']['z']/x],'children':[_0x513142[_0x177600(0x223)]?.[_0x177600(0x194)]&&h[_0x177600(0x17c)](kt,{'view':_0x54209d,'TREEID':Pe(_0x1e4dda),'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),_0x513142['left']?.['CPNAME']&&h[_0x177600(0x17c)](At,{'view':_0x54209d,'TREEID':Fe(_0x1e4dda),'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),_0x513142[_0x177600(0x1fe)]?.[_0x177600(0x194)]&&h['jsx'](Ct,{'view':_0x54209d,'TREEID':Ve(_0x1e4dda),'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),_0x513142[_0x177600(0x105)]?.['CPNAME']&&h[_0x177600(0x17c)](wt,{'view':_0x54209d,'TREEID':Re(_0x1e4dda),'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),_0x37fdbd?.[_0x177600(0x218)]&&h[_0x177600(0x17c)](Lt,{'view':_0x54209d,'TREEID':_0x1e4dda,'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),_0x37fdbd?.[_0x177600(0x154)]&&h[_0x177600(0x17c)](Ot,{'view':_0x54209d,'TREEID':_0x1e4dda,'dimension':_0x1f9abe[_0x177600(0x1e0)],'helper':_0x513142}),h['jsx'](Q,{'view':_0x54209d,'position':[_0x1e1ed2[_0x177600(0x171)]['x']/x,_0x1e1ed2['position']['y']/x,_0x1e1ed2[_0x177600(0x171)]['z']/x],'children':_0x388bfa&&h['jsx'](Kt,{'remainingZone':_0x1e1ed2,'divider':_0x388bfa,'view':_0x54209d,'childrenPositon':_0x316c7e,'dividerThk':_0x245cf6})})]})});}const Yt=a0_0x299c60(0x163);function Ne({view:_0x13d336=N[a0_0x299c60(0x28e)]}){const _0x49e33c=a0_0x299c60,_0xab76f8=He()[_0x49e33c(0x274)],_0x43451f=h[_0x49e33c(0x17c)](Te,{'TREEID':'0','view':_0x13d336,'dimension':_0xab76f8});return _0x13d336===N['_3D']?_0x43451f:h[_0x49e33c(0x17c)]('g',{'transform':Yt,'children':_0x43451f});}function Wt({view:_0x4c508c,data:_0x4a4570,articleName:_0x456e38}){const _0x198da7=a0_0x299c60,_0xbcb8e3=_0x4a4570[_0x198da7(0x25d)],_0x3b09cb=_0x4a4570[_0x198da7(0x28f)],_0xc38353=_0x4a4570[_0x198da7(0x267)][_0x198da7(0x16e)](_0x582a87=>_0x582a87['NAME']);return h[_0x198da7(0x17c)](h[_0x198da7(0x23c)],{'children':h[_0x198da7(0x17c)](De,{'names':_0xc38353,'data':_0x4a4570,'children':h[_0x198da7(0x17c)](me,{'articleName':_0x456e38,'children':h[_0x198da7(0x17c)](Ae,{'imosVariables':_0x3b09cb,'children':h['jsx'](Oe,{'descriptorData':_0xbcb8e3,'children':h[_0x198da7(0x17c)](Ne,{'view':_0x4c508c})})})})})});}function Xt(){const _0x58d964=a0_0x299c60,{tree:_0x22fbd0,getValue:_0x3f46a8,setValue:_0x3bc79b}=z(),_0x4002cd=(_0x40c562,_0x123dc5)=>{const _0x2cd839=Number(_0x123dc5);_0x3bc79b(_0x40c562,isNaN(_0x2cd839)?_0x123dc5:_0x2cd839);},_0xbd13d9=((()=>{const _0x550931=a0_0x5d71,_0x35585d={[L[_0x550931(0x157)]]:{'type':L[_0x550931(0x157)],'label':'Dimensions\x20(Numeric)','variables':[]},[L[_0x550931(0x29b)]]:{'type':L[_0x550931(0x29b)],'label':_0x550931(0x24a),'variables':[]},[L[_0x550931(0x284)]]:{'type':L['Material'],'label':'Materials','variables':[]},[L[_0x550931(0x1d3)]]:{'type':L['Text'],'label':_0x550931(0x1d3),'variables':[]}};return Array[_0x550931(0x29c)](_0x22fbd0[_0x550931(0x185)]())[_0x550931(0x1f7)](([_0x2464fd,_0x3d65f2])=>{const _0x340db5=_0x550931,_0x6368f1=_0x3f46a8(_0x2464fd),_0x12e593=_0x3d65f2[_0x340db5(0x119)][_0x340db5(0x159)]('$');_0x35585d[_0x3d65f2[_0x340db5(0x1f2)]]?.['variables'][_0x340db5(0x25f)]({'name':_0x2464fd,'value':_0x6368f1??_0x340db5(0x140),'reference':_0x12e593?_0x3d65f2['WERT']:void 0x0,'rawType':_0x3d65f2[_0x340db5(0x1f2)]});}),Object[_0x550931(0x237)](_0x35585d)['filter'](_0x2bddab=>_0x2bddab['variables'][_0x550931(0x259)]>0x0);})()),_0x54fe7f=_0x761ca3=>{const _0x1a7d67=a0_0x5d71,_0x3e58cb=_0x761ca3[_0x1a7d67(0x110)]===L[_0x1a7d67(0x157)],_0xcd726b=typeof _0x761ca3[_0x1a7d67(0x20b)]==_0x1a7d67(0x1c9)?_0x761ca3[_0x1a7d67(0x20b)]:Number(_0x761ca3['value']);return _0x3e58cb&&!isNaN(_0xcd726b)?h[_0x1a7d67(0x273)](_0x1a7d67(0x12c),{'className':_0x1a7d67(0x225),'children':[h[_0x1a7d67(0x17c)](_0x1a7d67(0x1c3),{'type':_0x1a7d67(0x264),'min':0x0,'max':0x4e20,'value':_0xcd726b,'onChange':_0x525de4=>_0x4002cd(_0x761ca3[_0x1a7d67(0x147)],_0x525de4[_0x1a7d67(0x12e)][_0x1a7d67(0x20b)]),'className':_0x1a7d67(0x13c)}),h[_0x1a7d67(0x17c)](_0x1a7d67(0x1c3),{'type':_0x1a7d67(0x1c9),'value':_0xcd726b,'onChange':_0x2a5ac0=>_0x4002cd(_0x761ca3[_0x1a7d67(0x147)],_0x2a5ac0[_0x1a7d67(0x12e)]['value']),'onBlur':_0x1e7450=>_0x4002cd(_0x761ca3['name'],_0x1e7450['target'][_0x1a7d67(0x20b)]),'className':_0x1a7d67(0x293),'min':0x0,'max':0x4e20})]}):h[_0x1a7d67(0x17c)](_0x1a7d67(0x1c3),{'type':_0x1a7d67(0x188),'value':_0x761ca3[_0x1a7d67(0x20b)],'onChange':_0x3d987a=>_0x4002cd(_0x761ca3[_0x1a7d67(0x147)],_0x3d987a[_0x1a7d67(0x12e)][_0x1a7d67(0x20b)]),'onBlur':_0xd4d2ff=>_0x4002cd(_0x761ca3[_0x1a7d67(0x147)],_0xd4d2ff['target'][_0x1a7d67(0x20b)]),'className':_0x1a7d67(0x1e1)});};return h[_0x58d964(0x273)](_0x58d964(0x12c),{'className':'var-controller','children':[h[_0x58d964(0x17c)]('h2',{'children':_0x58d964(0x1ae)}),h['jsxs']('p',{'className':'var-controller__header','children':[_0x58d964(0x202),_0x22fbd0[_0x58d964(0x211)]]}),_0xbd13d9[_0x58d964(0x16e)](_0x462f72=>h['jsxs'](_0x58d964(0x1e6),{'className':_0x58d964(0x191),'children':[h[_0x58d964(0x273)]('h3',{'className':_0x58d964(0xe6),'children':[_0x462f72[_0x58d964(0x117)],'\x20(',_0x462f72[_0x58d964(0x28f)][_0x58d964(0x259)],')']}),h['jsxs'](_0x58d964(0x25e),{'className':_0x58d964(0x1b4),'children':[h['jsx'](_0x58d964(0x123),{'children':h['jsxs']('tr',{'children':[h['jsx']('th',{'style':{'width':_0x58d964(0xfb)},'children':_0x58d964(0x189)}),h['jsx']('th',{'style':{'width':_0x58d964(0x1ad)},'children':_0x58d964(0x1c7)}),h['jsx']('th',{'style':{'width':'25%'},'children':'Reference'}),h[_0x58d964(0x17c)]('th',{'className':_0x58d964(0xfd),'style':{'width':'15%'},'children':'Type'})]})}),h[_0x58d964(0x17c)](_0x58d964(0xf4),{'children':_0x462f72[_0x58d964(0x28f)][_0x58d964(0x16e)](_0x459b93=>h[_0x58d964(0x273)]('tr',{'children':[h['jsx']('td',{'className':_0x58d964(0x255),'children':_0x459b93[_0x58d964(0x147)]}),h[_0x58d964(0x17c)]('td',{'children':_0x54fe7f(_0x459b93)}),h[_0x58d964(0x17c)]('td',{'className':'var-controller__reference','children':_0x459b93[_0x58d964(0x1fa)]||'-'}),h[_0x58d964(0x17c)]('td',{'style':{'textAlign':_0x58d964(0xfd)},'children':h[_0x58d964(0x17c)]('span',{'className':_0x58d964(0x24c),'children':_0x462f72[_0x58d964(0x1ec)]})})]},_0x459b93[_0x58d964(0x147)]))})]})]},_0x462f72[_0x58d964(0x1ec)])),h[_0x58d964(0x273)](_0x58d964(0x1e6),{'className':_0x58d964(0x292),'children':[h[_0x58d964(0x17c)]('h4',{'children':_0x58d964(0x222)}),h[_0x58d964(0x17c)]('ul',{'children':_0xbd13d9['map'](_0x216d94=>h[_0x58d964(0x273)]('li',{'children':[_0x216d94[_0x58d964(0x117)],':\x20',_0x216d94[_0x58d964(0x28f)][_0x58d964(0x259)],_0x58d964(0x15d)]},_0x216d94[_0x58d964(0x1ec)]))})]})]});}const qt=a0_0x299c60(0x241);exports[a0_0x299c60(0x1f3)]=fe,exports['ArticleDesigner']=Wt,exports[a0_0x299c60(0x13d)]=me,exports[a0_0x299c60(0x10c)]=O,exports[a0_0x299c60(0x21f)]=De,exports[a0_0x299c60(0x231)]=xe,exports[a0_0x299c60(0x184)]=Oe,exports[a0_0x299c60(0x203)]=Ne,exports[a0_0x299c60(0x242)]=qt,exports['VIEW']=N,exports[a0_0x299c60(0xec)]=Xt,exports['VariableContext']=pe,exports[a0_0x299c60(0x180)]=Ae,exports[a0_0x299c60(0x215)]=We,exports[a0_0x299c60(0x27b)]=Te,exports[a0_0x299c60(0x207)]=Be,exports[a0_0x299c60(0x1c8)]=X,exports['useData']=W,exports[a0_0x299c60(0x111)]=Ge,exports[a0_0x299c60(0x298)]=ze,exports[a0_0x299c60(0x167)]=Pt,exports[a0_0x299c60(0x266)]=z;