@processandtools/rp-article-designer 1.0.4 → 1.0.5

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_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;
1
+ 'use strict';const a0_0x27dacb=a0_0x1a1c;(function(_0x119192,_0x349c6f){const _0x40418d=a0_0x1a1c,_0x3e23cc=_0x119192();while(!![]){try{const _0x1252cd=parseInt(_0x40418d(0x1a8))/0x1+parseInt(_0x40418d(0x1e4))/0x2*(-parseInt(_0x40418d(0xe1))/0x3)+parseInt(_0x40418d(0x211))/0x4+-parseInt(_0x40418d(0x21e))/0x5+-parseInt(_0x40418d(0xae))/0x6*(-parseInt(_0x40418d(0x243))/0x7)+-parseInt(_0x40418d(0x253))/0x8+parseInt(_0x40418d(0x1d1))/0x9;if(_0x1252cd===_0x349c6f)break;else _0x3e23cc['push'](_0x3e23cc['shift']());}catch(_0x257dc4){_0x3e23cc['push'](_0x3e23cc['shift']());}}}(a0_0x17e0,0xbd336));var rt=Object[a0_0x27dacb(0x1ed)],st=(_0x34b963,_0x191f01,_0x803299)=>_0x191f01 in _0x34b963?rt(_0x34b963,_0x191f01,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x803299}):_0x34b963[_0x191f01]=_0x803299,D=(_0x419e12,_0x4dfaf0,_0x5af275)=>st(_0x419e12,typeof _0x4dfaf0!=a0_0x27dacb(0x1b1)?_0x4dfaf0+'':_0x4dfaf0,_0x5af275);Object['defineProperty'](exports,Symbol[a0_0x27dacb(0x20b)],{'value':a0_0x27dacb(0x184)});const h=require(a0_0x27dacb(0x262)),T=require(a0_0x27dacb(0x11f)),it=require('@react-three/drei'),Ee=require(a0_0x27dacb(0x23b));require('@react-three/fiber');var N=(_0x5dbd58=>(_0x5dbd58['_2D_TOP']=a0_0x27dacb(0x161),_0x5dbd58[a0_0x27dacb(0x1f0)]=a0_0x27dacb(0x24e),_0x5dbd58[a0_0x27dacb(0x265)]='3D',_0x5dbd58))(N||{});function a0_0x1a1c(_0x1472ba,_0x4f874c){_0x1472ba=_0x1472ba-0x71;const _0x17e0b9=a0_0x17e0();let _0x1a1ca9=_0x17e0b9[_0x1472ba];return _0x1a1ca9;}const de=0x0,nt=0x1,Re=_0x50ff7f=>_0x50ff7f+'.0',Ve=_0xf2000e=>_0xf2000e+'.1',$e=_0x189a25=>_0x189a25+'.2',Fe=_0x1c1b47=>_0x1c1b47+'.3',Se=_0x262911=>_0x262911[a0_0x27dacb(0x19a)](0x0,_0x262911[a0_0x27dacb(0xc7)]('.')),at=_0x354048=>{const _0x1608f3=Se(_0x354048),_0x2a55d5=(je(_0x354048)+0x3)%0x4;return _0x1608f3+'.'+_0x2a55d5;},ot=_0x37054b=>{const _0x17d011=Se(_0x37054b),_0x40db04=(je(_0x37054b)+0x1)%0x4;return _0x17d011+'.'+_0x40db04;},je=_0x57aabc=>parseInt(_0x57aabc['substring'](_0x57aabc[a0_0x27dacb(0xc7)]('.')+0x1)),Q={'IAC_THICKNESS':a0_0x27dacb(0x220),'IAC_BOTTOMSHELFTHICKNESS':a0_0x27dacb(0x1cd),'IAC_TOPSHELFTHICKNESS':a0_0x27dacb(0x165)},E=0x3e8,$=T[a0_0x27dacb(0xdc)](void 0x0);function F(){const _0x3073ee=a0_0x27dacb,_0x32bf7c=T[_0x3073ee(0x187)]($);if(_0x32bf7c===void 0x0)throw new Error(_0x3073ee(0x234));return _0x32bf7c;}const Te=T[a0_0x27dacb(0xdc)](null);function ee(){const _0x54174e=a0_0x27dacb,_0x4dea60=T[_0x54174e(0x187)](Te);if(!_0x4dea60)throw new Error('useArticle\x20must\x20be\x20used\x20within\x20an\x20ArticleProvider');return _0x4dea60;}function ne(_0x394994,_0x6acb0f,_0x4183e8){const _0x5a1fa4=a0_0x27dacb,{getArticleData:_0x2a8c5d}=F(),{articleName:_0x8df48e}=ee(),{anglClies:_0x191022}=_0x2a8c5d(_0x8df48e),_0x1414f=_0x191022[_0x5a1fa4(0x1fd)](_0x583e67=>_0x583e67[_0x5a1fa4(0x203)]===_0x394994&&_0x583e67[_0x5a1fa4(0x258)]===_0x4183e8&&_0x583e67[_0x5a1fa4(0x14f)]===_0x6acb0f);return _0x1414f?{'thickness':Number(_0x1414f['TAGVALUE'])}:null;}const ve=T[a0_0x27dacb(0xdc)](void 0x0);var V=(_0x2b3525=>(_0x2b3525[_0x2b3525['Surface']=0x3]=a0_0x27dacb(0x21f),_0x2b3525[_0x2b3525[a0_0x27dacb(0x7b)]=0x4]='Material',_0x2b3525[_0x2b3525[a0_0x27dacb(0x1f8)]=0x64]=a0_0x27dacb(0x1f8),_0x2b3525[_0x2b3525['Text']=0x78]=a0_0x27dacb(0x93),_0x2b3525))(V||{});function xe(_0x3f550b){const _0x39b7c6=a0_0x27dacb;return new Map(_0x3f550b[_0x39b7c6(0x1a3)](_0x3d214d=>[_0x3d214d['NAME'],_0x3d214d]));}function ue(_0x36a1d0,_0x5a6754,_0x4e6740=new Set()){const _0x201fde=a0_0x27dacb,_0x5cc600=_0x5a6754[_0x201fde(0x195)](_0x36a1d0);if(!_0x5cc600)return;if(_0x4e6740[_0x201fde(0x17a)](_0x36a1d0)){console['error'](_0x201fde(0x18a)+[..._0x4e6740,_0x36a1d0][_0x201fde(0x1be)]('\x20->\x20'));return;}const _0x1669ae=_0x5cc600[_0x201fde(0x1d8)];if(_0x1669ae[_0x201fde(0x147)]('$')&&_0x5cc600['TYP']!=V['Text']){const _0x45d2e3=_0x1669ae[_0x201fde(0x22e)](0x1);return _0x4e6740[_0x201fde(0xe4)](_0x36a1d0),ue(_0x45d2e3,_0x5a6754,_0x4e6740);}const _0x4f99fb=Number(_0x1669ae);return isNaN(_0x4f99fb)?_0x1669ae:_0x4f99fb;}function ze(_0x9f44dd,_0xc0a680,_0x48fe37){const _0xb0457=a0_0x27dacb,_0x442388=_0x48fe37['get'](_0x9f44dd);if(!_0x442388)return console[_0xb0457(0x167)]('Variable\x20'+_0x9f44dd+_0xb0457(0x16a)),_0x48fe37;const _0x3ae1cd=new Map(_0x48fe37);return _0x3ae1cd[_0xb0457(0x1e1)](_0x9f44dd,{..._0x442388,'WERT':String(_0xc0a680)}),_0x3ae1cd;}function Ne(_0xb4f8dd,_0x4706cc){return _0xb4f8dd['replace'](/\$([A-Za-z_][A-Za-z0-9_]*)/g,(_0x51f9bc,_0x27fa8a)=>{const _0x38dc27=ue(_0x27fa8a,_0x4706cc);return _0x38dc27!==void 0x0?String(_0x38dc27):_0x51f9bc;});}function Me(_0x2c5e83){const _0xdb835f=a0_0x27dacb;return/\$[A-Za-z_][A-Za-z0-9_]*/g[_0xdb835f(0x1aa)](_0x2c5e83);}function lt(_0x5b2414){const _0x4abfe2=a0_0x27dacb,_0x5cb0ce=_0x5b2414[_0x4abfe2(0x242)](/\$([A-Za-z_][A-Za-z0-9_]*)/g);return Array[_0x4abfe2(0x18f)](_0x5cb0ce,_0x4ae7b2=>_0x4ae7b2[0x1]);}const ct=Object[a0_0x27dacb(0x115)](Object['defineProperty']({'__proto__':null,'createVariableTree':xe,'extractVariableNames':lt,'getValue':ue,'hasVariables':Me,'resolveString':Ne,'setValue':ze},Symbol[a0_0x27dacb(0x20b)],{'value':a0_0x27dacb(0x184)}));function B(){const _0x10de2d=a0_0x27dacb,_0x544ed8=T[_0x10de2d(0x187)](ve);if(!_0x544ed8)throw new Error(_0x10de2d(0x79));const {tree:_0x3297be,setValue:_0x302950}=_0x544ed8,_0x4e407d=T['useMemo'](()=>_0xc6782b=>ue(_0xc6782b,_0x3297be),[_0x3297be]),_0x3846bc=T[_0x10de2d(0x1d9)](()=>_0x19b227=>Ne(_0x19b227,_0x3297be),[_0x3297be]),_0xc27e59=T[_0x10de2d(0x1d9)](()=>_0x71ee5b=>Me(_0x71ee5b),[]);return{'tree':_0x3297be,'getValue':_0x4e407d,'resolveString':_0x3846bc,'hasVariables':_0xc27e59,'setValue':_0x302950};}function ut(_0x207102){const _0x55e01f=a0_0x27dacb,{getArticleData:_0x9f0eb}=F(),{resolveString:_0x4dc50d}=B(),{articleName:_0x48e4fb}=ee(),_0x430134=_0x9f0eb(_0x48e4fb)['anglGrtxs'];if(!_0x430134)return null;const _0x3febe7=_0x430134[_0x55e01f(0xf6)](_0x591545=>_0x591545[_0x55e01f(0x203)]===_0x207102),_0x36347d=new Map();return _0x3febe7[_0x55e01f(0x1a3)](_0x4599fb=>_0x36347d[_0x55e01f(0x1e1)]('AD\x20zone\x20info0'+(_0x4599fb[_0x55e01f(0x110)]+0x1),_0x4dc50d(_0x4599fb['TEXT']))),{'zoneInfo':_0x36347d};}function ht(_0x329481){const _0x3b2558=a0_0x27dacb,{materials:_0x47ba7d}=F();return{'material':_0x47ba7d[_0x3b2558(0x1fd)](_0x5c6eec=>_0x5c6eec[_0x3b2558(0xf8)]===_0x329481)};}function Ae(_0x5af3de){const _0x48ebf4=a0_0x27dacb,{surfaces:_0x4bb60f}=F();return{'surface':_0x4bb60f[_0x48ebf4(0x1fd)](_0x22c07a=>_0x22c07a['NAME']===_0x5af3de)};}function Ue(_0x2640ba){const _0x28d96d=a0_0x27dacb,{kmsList:_0x355dd3}=F(),{resolveString:_0x101c5d}=B(),_0x3f6086=_0x355dd3['find'](_0x4491f0=>_0x4491f0[_0x28d96d(0xf8)]===_0x2640ba),_0x42441a=_0x101c5d(_0x3f6086?.['MATERIAL']||''),_0x1579ef=_0x101c5d(_0x3f6086?.['SURF0']||''),_0x246c48=_0x101c5d(_0x3f6086?.[_0x28d96d(0xbd)]||''),_0x662f76=ht(_0x42441a)[_0x28d96d(0x196)],_0x16dc24=Ae(_0x1579ef)['surface'],_0x135fef=Ae(_0x246c48)[_0x28d96d(0x194)];return{'name':_0x3f6086?.[_0x28d96d(0xf8)],'material':_0x662f76,'surfaceTop':_0x16dc24,'surfaceBot':_0x135fef,'thk':(_0x662f76?.['THK']||0x0)+(_0x16dc24?.[_0x28d96d(0x22c)]||0x0)+(_0x135fef?.[_0x28d96d(0x22c)]||0x0)};}function pe(_0x53706c){const _0x4eb65b=a0_0x27dacb,{cabins:_0x256f4c}=F(),_0x1fe1eb=_0x256f4c[_0x4eb65b(0x1fd)](_0x4fff82=>_0x4fff82[_0x4eb65b(0xf8)]===_0x53706c);if(!_0x1fe1eb)return;const _0x2d5031=_0x1fe1eb[_0x4eb65b(0x241)];return{'kms':Ue(_0x2d5031||'')};}function he(_0x43f1ab){const _0xa008af=a0_0x27dacb,{getArticleData:_0xa8a9b}=F(),{articleName:_0x38483f}=ee(),{anglZones:_0x100247}=_0xa8a9b(_0x38483f),_0x30b8ea=_0x100247['find'](_0x28de4d=>_0x28de4d[_0xa008af(0x203)]===_0x43f1ab),_0x460128=_0x100247[_0xa008af(0xf6)](_0x3ab2da=>_0x3ab2da[_0xa008af(0x203)]['substring'](0x0,_0x3ab2da[_0xa008af(0x203)][_0xa008af(0xc7)]('.'))===_0x43f1ab);return _0x460128[_0xa008af(0x92)]((_0x1da984,_0x5df8b0)=>_0x1da984[_0xa008af(0x203)][_0xa008af(0x25f)](_0x5df8b0['TREEID'],void 0x0,{'numeric':!0x0})),_0x30b8ea?{'currentZone':_0x30b8ea,'children':_0x460128,get 'topShelfCP'(){const _0x3d982a=_0xa008af,_0x10c174=pe(_0x30b8ea[_0x3d982a(0x256)]);return console[_0x3d982a(0x105)](_0x3d982a(0x197),_0x10c174),_0x10c174;},get 'bottomShelfCP'(){const _0x37783e=_0xa008af;return pe(_0x30b8ea[_0x37783e(0xe7)]);},'zoneInfo'(){const _0x339ad8=_0xa008af;return ut(_0x43f1ab)?.[_0x339ad8(0x129)];},'getThk'(_0x13fee7,_0x40a300,_0x10dc32){const _0x178752=_0xa008af;return _0x10dc32===''?0x0:ne(_0x13fee7,_0x40a300,nt)?.['thickness']??pe(_0x10dc32)?.[_0x178752(0x141)]['thk']??0x0;},get 'topShelfThk'(){const _0x20c766=_0xa008af;return this[_0x20c766(0x214)](_0x43f1ab,Q[_0x20c766(0x165)],_0x30b8ea[_0x20c766(0x256)]);},get 'bottomShelfThk'(){const _0x17a0f4=_0xa008af;return this['getThk'](_0x43f1ab,Q[_0x17a0f4(0x1cd)],_0x30b8ea[_0x17a0f4(0xe7)]);},get 'dividerThk'(){const _0x55b37b=_0xa008af;return this[_0x55b37b(0x214)](_0x43f1ab,Q[_0x55b37b(0x220)],_0x30b8ea[_0x55b37b(0x16e)]);}}:null;}function He(_0x3c93ea,_0x41af32={}){const _0x381451=a0_0x27dacb,{variableTree:_0x4a8bba,dataType:_0x3856c6,silent:_0x464e69=!0x1,allowFunctions:_0x22640f=!0x0}=_0x41af32,_0x401c97=/^(.+?)\s*(mm|cm|m|in|ft|px|pt|%|deg|rad)$/i,_0x26135c={'value':void 0x0,'original':_0x3c93ea,'resolved':_0x3c93ea,'hadVariables':!0x1,'wasEvaluated':!0x1};try{let _0x2353a8=_0x3c93ea[_0x381451(0x255)](),_0x8305d2;if(_0x401c97[_0x381451(0x1aa)](_0x2353a8)){const _0x4288d3=_0x2353a8[_0x381451(0x81)](_0x401c97);_0x4288d3&&(_0x2353a8=_0x4288d3[0x1][_0x381451(0x255)](),_0x8305d2=_0x4288d3[0x2]);}_0x4a8bba&&Me(_0x2353a8)&&(_0x26135c[_0x381451(0xf7)]=!0x0,_0x2353a8=Ne(_0x2353a8,_0x4a8bba),_0x26135c[_0x381451(0x1f9)]=_0x2353a8),Be(_0x2353a8)?(_0x26135c[_0x381451(0x1bd)]=!0x0,_0x26135c[_0x381451(0x23f)]=Ge(_0x2353a8,_0x22640f)):ye(_0x2353a8)?(_0x26135c[_0x381451(0x1bd)]=!0x0,_0x26135c['value']=Ie(_0x2353a8,_0x22640f)):_0x26135c[_0x381451(0x23f)]=mt(_0x2353a8,_0x3856c6);}catch(_0x3b730b){_0x26135c[_0x381451(0x151)]=_0x3b730b instanceof Error?_0x3b730b[_0x381451(0x14a)]:String(_0x3b730b),_0x464e69||console[_0x381451(0x151)](_0x381451(0xa4)+_0x3c93ea+'\x22',_0x3b730b),_0x26135c['value']=_0x3c93ea;}return _0x26135c;}function oe(_0x4dc6bc,_0x1d7037={}){const _0x237e93=a0_0x27dacb;return He(_0x4dc6bc,_0x1d7037)[_0x237e93(0x23f)];}function Be(_0x2e5657){const _0x2b7f10=a0_0x27dacb;return!_0x2e5657||typeof _0x2e5657!=_0x2b7f10(0xa3)?!0x1:/^\s*IF\s*\(/i[_0x2b7f10(0x1aa)](_0x2e5657[_0x2b7f10(0x255)]());}function Ge(_0x547b0a,_0x475b84=!0x0){const _0x36224a=a0_0x27dacb,_0x4ee70d=_0x547b0a[_0x36224a(0x255)]()[_0x36224a(0x81)](/^IF\s*\((.*)\)\s*$/i);if(!_0x4ee70d)throw new Error(_0x36224a(0x1a6)+_0x547b0a);const _0x45a753=_0x4ee70d[0x1],_0x419098=ft(_0x45a753);if(_0x419098['length']!==0x3)throw new Error('IF\x20statement\x20must\x20have\x20exactly\x203\x20parts:\x20IF(condition,\x20trueValue,\x20falseValue).\x20Got:\x20'+_0x419098['length']+'\x20parts');const [_0x4f3e56,_0x331708,_0x50677a]=_0x419098,_0x9e4a71=ae(_0x4f3e56['trim'](),_0x475b84)?_0x331708[_0x36224a(0x255)]():_0x50677a['trim']();if(Be(_0x9e4a71))return Ge(_0x9e4a71,_0x475b84);if(ye(_0x9e4a71))return Ie(_0x9e4a71,_0x475b84);{const _0x20daf2=Number(_0x9e4a71);return isNaN(_0x20daf2)?_0x9e4a71:_0x20daf2;}}function ft(_0x3bb136){const _0x4256db=a0_0x27dacb,_0x165ac1=[];let _0x50ee8e='',_0x102a90=0x0;for(let _0x33fb03=0x0;_0x33fb03<_0x3bb136[_0x4256db(0x114)];_0x33fb03++){const _0x5b5298=_0x3bb136[_0x33fb03];_0x5b5298==='('?(_0x102a90++,_0x50ee8e+=_0x5b5298):_0x5b5298===')'?(_0x102a90--,_0x50ee8e+=_0x5b5298):_0x5b5298===','&&_0x102a90===0x0?(_0x165ac1['push'](_0x50ee8e),_0x50ee8e=''):_0x50ee8e+=_0x5b5298;}return _0x50ee8e&&_0x165ac1[_0x4256db(0x17d)](_0x50ee8e),_0x165ac1;}function ae(_0x3eef69,_0x3ab4fa){const _0x83771e=a0_0x27dacb;if(/\bAND\b/i[_0x83771e(0x1aa)](_0x3eef69))return _0x3eef69['split'](/\bAND\b/i)[_0x83771e(0x137)](_0x198c31=>ae(_0x198c31[_0x83771e(0x255)](),_0x3ab4fa));if(/\bOR\b/i[_0x83771e(0x1aa)](_0x3eef69))return _0x3eef69[_0x83771e(0x94)](/\bOR\b/i)[_0x83771e(0xe2)](_0x2765bf=>ae(_0x2765bf[_0x83771e(0x255)](),_0x3ab4fa));if(/^\s*NOT\s+/i[_0x83771e(0x1aa)](_0x3eef69)){const _0x28b476=_0x3eef69[_0x83771e(0x166)](/^\s*NOT\s+/i,'')['trim']();return!ae(_0x28b476,_0x3ab4fa);}const _0x4f6f24=_0x3eef69[_0x83771e(0x81)](/(.+?)(<=|>=|!=|<>|=|<|>)(.+)/);if(!_0x4f6f24)throw new Error(_0x83771e(0x144)+_0x3eef69);const [,_0x2fb4c3,_0x44c838,_0x4434ff]=_0x4f6f24,_0x2969ac=we(_0x2fb4c3[_0x83771e(0x255)](),_0x3ab4fa),_0x54e1df=we(_0x4434ff[_0x83771e(0x255)](),_0x3ab4fa);switch(_0x44c838){case'=':return _0x2969ac===_0x54e1df;case'!=':case'<>':return _0x2969ac!==_0x54e1df;case'<':return _0x2969ac<_0x54e1df;case'>':return _0x2969ac>_0x54e1df;case'<=':return _0x2969ac<=_0x54e1df;case'>=':return _0x2969ac>=_0x54e1df;default:throw new Error(_0x83771e(0xd8)+_0x44c838);}}function we(_0x2fdfcb,_0x3b716d){const _0x3f64c2=a0_0x27dacb;if(_0x2fdfcb[_0x3f64c2(0x147)]('\x22')&&_0x2fdfcb[_0x3f64c2(0x1bc)]('\x22')||_0x2fdfcb[_0x3f64c2(0x147)]('\x27')&&_0x2fdfcb[_0x3f64c2(0x1bc)]('\x27'))return _0x2fdfcb[_0x3f64c2(0x22e)](0x1,-0x1);if(ye(_0x2fdfcb))return Ie(_0x2fdfcb,_0x3b716d);const _0x3ea179=Number(_0x2fdfcb);return isNaN(_0x3ea179)?_0x2fdfcb:_0x3ea179;}function ye(_0x7de0b){const _0xb7d411=a0_0x27dacb;if(!_0x7de0b||typeof _0x7de0b!=_0xb7d411(0xa3))return!0x1;const _0x1f674b=_0x7de0b['trim']();return/[+\-*/()]/[_0xb7d411(0x1aa)](_0x1f674b)?/^[\d\s+\-*/().,a-z]+$/i[_0xb7d411(0x1aa)](_0x1f674b):!0x1;}const ge=new Map();function Ie(_0x1cfd92,_0x5f4eed=!0x0){const _0x49e32f=a0_0x27dacb,_0x21c48d=_0x1cfd92[_0x49e32f(0x255)](),_0x1654e9=_0x21c48d+':'+_0x5f4eed;if(ge[_0x49e32f(0x17a)](_0x1654e9))return ge[_0x49e32f(0x195)](_0x1654e9);let _0x253632=_0x21c48d[_0x49e32f(0x166)](/\s+/g,'');if(_0x5f4eed&&(_0x253632=_0x253632['replace'](/round\(/g,_0x49e32f(0x123))[_0x49e32f(0x166)](/floor\(/g,_0x49e32f(0x248))[_0x49e32f(0x166)](/ceil\(/g,_0x49e32f(0x233))[_0x49e32f(0x166)](/abs\(/g,_0x49e32f(0x156))[_0x49e32f(0x166)](/min\(/g,'Math.min(')['replace'](/max\(/g,_0x49e32f(0x257))[_0x49e32f(0x166)](/pow\(/g,_0x49e32f(0x254))[_0x49e32f(0x166)](/sqrt\(/g,'Math.sqrt(')),!(_0x5f4eed?/^[\d+\-*/().,a-zA-Z]+$/:/^[\d+\-*/().]+$/)['test'](_0x253632))throw new Error(_0x49e32f(0xea)+_0x1cfd92);if(!_0x253632)throw new Error(_0x49e32f(0x23e));try{const _0x27a2dd=Function('\x27use\x20strict\x27;\x20return\x20('+_0x253632+')')();if(typeof _0x27a2dd!='number'||isNaN(_0x27a2dd))throw new Error('Expression\x20did\x20not\x20evaluate\x20to\x20a\x20number:\x20'+_0x1cfd92);return ge['set'](_0x1654e9,_0x27a2dd),_0x27a2dd;}catch(_0x3c2261){throw new Error(_0x49e32f(0x9e)+_0x1cfd92+'\x20-\x20'+_0x3c2261);}}function mt(_0x203de7,_0x585377){const _0xef6c29=a0_0x27dacb;if(!_0x585377){const _0x11d97b=Number(_0x203de7);return isNaN(_0x11d97b)?_0x203de7:_0x11d97b;}switch(_0x585377[_0xef6c29(0x97)]()){case'FL':return parseFloat(_0x203de7);case'IN':return parseInt(_0x203de7,0xa);case'CI':case'CS':case'ST':return _0x203de7;case'DA':return new Date(_0x203de7)[_0xef6c29(0x22f)]();default:const _0x3813ca=Number(_0x203de7);return isNaN(_0x3813ca)?_0x203de7:_0x3813ca;}}var Ze=(_0x5da684=>(_0x5da684[a0_0x27dacb(0x1f6)]='S',_0x5da684[a0_0x27dacb(0x1d0)]='D',_0x5da684[a0_0x27dacb(0x224)]='B',_0x5da684[a0_0x27dacb(0x121)]='H',_0x5da684))(Ze||{});function dt(_0x2e07a4){const _0x527163=a0_0x27dacb,{csides:_0x5b1ef3}=F();console[_0x527163(0x105)](_0x527163(0xd2),_0x5b1ef3);const _0x1e490d=_0x5b1ef3[_0x527163(0x1fd)](_0x5ae679=>_0x5ae679['NAME']===_0x2e07a4)?.[_0x527163(0x241)];return{'kms':Ue(_0x1e490d||'')};}function pt(_0x3f8fc4,_0x3a20a7){if(_0x3a20a7===Ze['SidePanel'])return dt(_0x3f8fc4);}function ie(_0x5c909d){const _0x4ee94b=a0_0x27dacb,{getArticleData:_0x356ad2}=F(),{articleName:_0x206f04}=ee(),{resolveString:_0x9f1d38}=B(),{anglElems:_0x4b510a}=_0x356ad2(_0x206f04),_0x24fc68=_0x4b510a[_0x4ee94b(0x1fd)](_0x5effe4=>_0x5effe4[_0x4ee94b(0x203)]===_0x5c909d),_0x167d7f=Se(_0x5c909d),_0x4e0768=he(_0x167d7f);if(!_0x24fc68)return null;const _0x5c7b91=pt(_0x24fc68[_0x4ee94b(0x10f)],_0x24fc68[_0x4ee94b(0x73)]),_0x4b7d48=_0x24fc68[_0x4ee94b(0x10f)]===''?0x0:ne(_0x5c909d,Q[_0x4ee94b(0x220)],de)?.[_0x4ee94b(0x207)]??_0x5c7b91?.[_0x4ee94b(0x141)]?.[_0x4ee94b(0x12c)]??0x0,_0x5f4aa3=ne(ot(_0x5c909d),Q[_0x4ee94b(0x220)],de)?.[_0x4ee94b(0x207)]||0x0,_0x3468ab=ne(at(_0x5c909d),Q[_0x4ee94b(0x220)],de)?.[_0x4ee94b(0x207)]||0x0,_0x47d2ba=_0x24fc68[_0x4ee94b(0x10f)]===''?0x0:_0x24fc68[_0x4ee94b(0x1d6)]!==''?oe(_0x9f1d38(_0x24fc68[_0x4ee94b(0x1d6)])):Number(_0x24fc68[_0x4ee94b(0x1a0)]),_0x193849=(typeof _0x47d2ba==_0x4ee94b(0xa3)?0x0:_0x47d2ba)||0x0,_0x29617d=_0x24fc68[_0x4ee94b(0xcf)]||_0x4ee94b(0x237),_0x543ab9=_0x24fc68[_0x4ee94b(0x10f)],_0x34397b=_0x4e0768?.[_0x4ee94b(0x1b2)]||0x0,_0x510aa0=_0x4e0768?.['bottomShelfThk']||0x0,_0x28265e={'start':Number(_0x24fc68[_0x4ee94b(0xcb)])||0x0,'end':Number(_0x24fc68[_0x4ee94b(0xac)])||0x0,'top':Number(_0x24fc68['TOPOFFS'])||0x0,'bottom':Number(_0x24fc68['BOTOFFS'])||0x0},_0x157ef3={'start':_0x24fc68['STARTTRIM'],'end':_0x24fc68[_0x4ee94b(0x1d4)],'top':_0x24fc68[_0x4ee94b(0x179)],'bottom':_0x24fc68['BOTTRIM']},_0x432874={'top':_0x157ef3[_0x4ee94b(0x9f)]==='S'?_0x34397b:0x0,'bottom':_0x157ef3['bottom']==='S'?_0x510aa0:0x0};return{'TREEID':_0x5c909d,'sidePanel':_0x5c7b91,'thk':_0x4b7d48,'nxtThk':_0x5f4aa3,'prvThk':_0x3468ab,'inset':_0x193849,'color':_0x29617d,'CPNAME':_0x543ab9,'topThk':_0x34397b,'bottomThk':_0x510aa0,'oversize':_0x28265e,'trim':_0x157ef3,'elmTrimThk':_0x432874};}var k=class extends Error{constructor(_0x4efccf){const _0x3ab816=a0_0x27dacb;super(_0x3ab816(0x15a)+_0x4efccf),this[_0x3ab816(0x181)]=_0x3ab816(0xaf);}},G,gt=(G=class{constructor(){const _0x2bf9a1=a0_0x27dacb;D(this,_0x2bf9a1(0x8f),new Map()),D(this,_0x2bf9a1(0x25a),''),D(this,_0x2bf9a1(0x18d),[]),D(this,_0x2bf9a1(0x118),0x0),D(this,_0x2bf9a1(0x1df),0x0),D(this,_0x2bf9a1(0x127),[]);}['reportError'](_0x4934b6){const _0x4aa076=a0_0x27dacb;this[_0x4aa076(0x127)]['push'](_0x4934b6);}[a0_0x27dacb(0x15e)](_0x5e259e){const _0x2d1267=a0_0x27dacb;if(this[_0x2d1267(0x8f)][_0x2d1267(0x17a)](_0x5e259e)){const _0x52c6b7=this[_0x2d1267(0x8f)][_0x2d1267(0x195)](_0x5e259e);return this[_0x2d1267(0x8f)][_0x2d1267(0x1fe)](_0x5e259e),this[_0x2d1267(0x8f)][_0x2d1267(0x1e1)](_0x5e259e,_0x52c6b7),_0x52c6b7;}try{this[_0x2d1267(0x25a)]=_0x5e259e;const _0x280852=this[_0x2d1267(0x24d)]();if(this[_0x2d1267(0x8f)][_0x2d1267(0x1e1)](this['source'],_0x280852),this[_0x2d1267(0x8f)]['size']>0x3){const _0x1c743c=this[_0x2d1267(0x8f)][_0x2d1267(0x247)]()[_0x2d1267(0x19c)]()[_0x2d1267(0x23f)];this[_0x2d1267(0x8f)][_0x2d1267(0x1fe)](_0x1c743c);}return _0x280852;}catch(_0x52c92a){throw console[_0x2d1267(0x151)](_0x52c92a),new Error(_0x52c92a instanceof Error?_0x52c92a['message']:String(_0x52c92a));}}[a0_0x27dacb(0x24d)](){const _0x19c6c2=a0_0x27dacb;this[_0x19c6c2(0x230)]();try{if(this['source'][_0x19c6c2(0x7e)]('<')||this[_0x19c6c2(0x25a)][_0x19c6c2(0x7e)]('>'))throw new Error(_0x19c6c2(0xfb));if(this[_0x19c6c2(0x25a)][_0x19c6c2(0x114)]===0x0)throw new Error(_0x19c6c2(0x1ae));for(this['start']=0x0,this[_0x19c6c2(0x1df)]=0x0,this[_0x19c6c2(0x18d)]=[],this[_0x19c6c2(0x118)]===0x0&&this[_0x19c6c2(0x87)](_0x19c6c2(0x12d),'<');!this['isAtEnd']();){this[_0x19c6c2(0x118)]=this[_0x19c6c2(0x1df)];const _0x1259b0=this[_0x19c6c2(0x15f)]();switch(_0x1259b0){case':':this['addToken'](_0x19c6c2(0xfc),'>'),this[_0x19c6c2(0x87)](_0x19c6c2(0x12d),'<'),this[_0x19c6c2(0xb3)]();break;case'\x20':case'\x0d':case'\x09':case'\x0a':this[_0x19c6c2(0xb3)]();break;case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'.':this[_0x19c6c2(0x11b)]();break;case'$':this[_0x19c6c2(0x104)]();break;case'+':case'-':case'*':case'/':this[_0x19c6c2(0x87)](_0x19c6c2(0x14d),_0x1259b0),this[_0x19c6c2(0xb3)]();break;case'(':this[_0x19c6c2(0x87)]('PAREN_OPEN','('),this[_0x19c6c2(0xb3)]();break;case')':this['addToken'](_0x19c6c2(0xd5),')'),this['advance']();break;case'{':this[_0x19c6c2(0x1df)]!=0x0&&this[_0x19c6c2(0x18d)][this[_0x19c6c2(0x18d)][_0x19c6c2(0x114)]-0x1]['type']!=_0x19c6c2(0x14d)&&this[_0x19c6c2(0x87)](_0x19c6c2(0x14d),'*'),this[_0x19c6c2(0x87)](_0x19c6c2(0x9d),'{'),this['addToken']('LEFT_ANGLE_BRACKET','<'),this['advance']();break;case'}':this[_0x19c6c2(0x87)](_0x19c6c2(0xfc),'>'),this['addToken'](_0x19c6c2(0xc1),'}'),this['advance']();break;case'[':this['addToken'](_0x19c6c2(0x14d),'~'),this[_0x19c6c2(0x87)](_0x19c6c2(0x20a),'['),this['advance']();break;case']':this[_0x19c6c2(0x87)](_0x19c6c2(0xeb),']'),this[_0x19c6c2(0xb3)]();break;case'm':this[_0x19c6c2(0x177)]()==='m'?this['scanMm']():this[_0x19c6c2(0x140)]();break;default:this[_0x19c6c2(0x229)](_0x1259b0)?this[_0x19c6c2(0x140)]():this[_0x19c6c2(0x1ec)](_0x19c6c2(0x1dd)+_0x1259b0+_0x19c6c2(0x201)+this['current']);}}if(this[_0x19c6c2(0x87)](_0x19c6c2(0xfc),'>'),this['addToken'](_0x19c6c2(0x143),''),this[_0x19c6c2(0x127)][_0x19c6c2(0x114)]>0x0)throw new Error(this[_0x19c6c2(0x127)][_0x19c6c2(0x1be)](',\x0a'));return this[_0x19c6c2(0x18d)];}catch(_0x3fe932){throw new Error(_0x3fe932 instanceof Error?_0x3fe932[_0x19c6c2(0x14a)]:String(_0x3fe932));}}[a0_0x27dacb(0x1c0)](){const _0x2b067c=a0_0x27dacb;return this[_0x2b067c(0x1df)]>=this['source'][_0x2b067c(0x114)];}[a0_0x27dacb(0xb3)](){const _0x3f2565=a0_0x27dacb;return this['source']['charAt'](this[_0x3f2565(0x1df)]++);}['peek'](){const _0x1ef3d2=a0_0x27dacb;return this[_0x1ef3d2(0x1c0)]()?'\x00':this['source'][_0x1ef3d2(0x1e6)](this[_0x1ef3d2(0x1df)]);}[a0_0x27dacb(0x177)](){const _0x3b9abd=a0_0x27dacb;return this[_0x3b9abd(0x1df)]+0x1>=this[_0x3b9abd(0x25a)][_0x3b9abd(0x114)]?'\x00':this[_0x3b9abd(0x25a)][_0x3b9abd(0x1e6)](this[_0x3b9abd(0x1df)]+0x1);}[a0_0x27dacb(0x87)](_0x30ef42,_0x47cd5e){const _0x5abbee=a0_0x27dacb;this[_0x5abbee(0x18d)][_0x5abbee(0x17d)]({'type':_0x30ef42,'lexeme':_0x47cd5e||(_0x30ef42?this['source'][_0x5abbee(0x19a)](this[_0x5abbee(0x118)],this['current']):''),'position':this[_0x5abbee(0x118)]});}[a0_0x27dacb(0xa0)](_0x27ab4d){const _0x2696c1=a0_0x27dacb;return/^[0-9]$/[_0x2696c1(0x1aa)](_0x27ab4d);}['isAlpha'](_0x21155c){return/^[a-zA-Z]$/['test'](_0x21155c);}[a0_0x27dacb(0x11b)](){const _0x58ff02=a0_0x27dacb;for(;this[_0x58ff02(0xa0)](this[_0x58ff02(0x15f)]());)this[_0x58ff02(0xb3)]();if(this[_0x58ff02(0x15f)]()==='.'){for(this[_0x58ff02(0xb3)](),this[_0x58ff02(0xa0)](this['peek']())||this[_0x58ff02(0x1ec)](_0x58ff02(0x1e3)+this[_0x58ff02(0x1df)]);this['isDigit'](this['peek']());)this[_0x58ff02(0xb3)]();}this['addToken'](_0x58ff02(0x21a));}['scanVariable'](){const _0x2dbaa6=a0_0x27dacb;for(this[_0x2dbaa6(0xb3)]();/[a-zA-Z0-9_]/[_0x2dbaa6(0x1aa)](this['peek']());)this[_0x2dbaa6(0xb3)]();const _0x50aa5d=this[_0x2dbaa6(0x25a)][_0x2dbaa6(0x19a)](this[_0x2dbaa6(0x118)]+0x1,this[_0x2dbaa6(0x1df)]);if(_0x50aa5d[_0x2dbaa6(0x1bc)]('mm')){const _0x1ab6a8=_0x50aa5d[_0x2dbaa6(0x19a)](0x0,_0x50aa5d[_0x2dbaa6(0x114)]-0x2);_0x1ab6a8&&_0x1ab6a8['length']>0x0?(this[_0x2dbaa6(0x87)](_0x2dbaa6(0x1d7),_0x1ab6a8),this['addToken']('UNIT','mm')):this[_0x2dbaa6(0x1ec)]('Variable\x20name\x20cannot\x20be\x20empty\x20or\x20$mm');}else this[_0x2dbaa6(0x87)](_0x2dbaa6(0x1d7),_0x50aa5d);}[a0_0x27dacb(0x21b)](){const _0x49da13=a0_0x27dacb;this[_0x49da13(0xb3)](),this['advance'](),this['addToken'](_0x49da13(0x152),'mm');}[a0_0x27dacb(0x140)](){const _0x309578=a0_0x27dacb,_0x35241e=['X','Y','n'];for(;this['isAlpha'](this[_0x309578(0x15f)]());)this[_0x309578(0xb3)]();const _0x2c7170=this['source'][_0x309578(0x19a)](this[_0x309578(0x118)],this[_0x309578(0x1df)]),_0x357898=G[_0x309578(0x178)][_0x2c7170[_0x309578(0x24c)]()];_0x357898!=null?this[_0x309578(0x87)](_0x357898,_0x2c7170):_0x35241e[_0x309578(0x7e)](_0x2c7170)?this[_0x309578(0x87)]('SPECIAL_VARIABLE',_0x2c7170):this[_0x309578(0x1ec)](_0x309578(0x18e)+_0x2c7170+_0x309578(0x201)+this[_0x309578(0x1df)]);}[a0_0x27dacb(0x230)](){const _0x308ed3=a0_0x27dacb;this[_0x308ed3(0x18d)]=[],this[_0x308ed3(0x118)]=0x0,this[_0x308ed3(0x1df)]=0x0,this[_0x308ed3(0x127)]=[];}},D(G,a0_0x27dacb(0x178),{'abs':a0_0x27dacb(0x25c),'acos':a0_0x27dacb(0x25c),'asin':a0_0x27dacb(0x25c),'atan':a0_0x27dacb(0x25c),'bog2deg':'FUNCTION','cos':a0_0x27dacb(0x25c),'deg2bog':a0_0x27dacb(0x25c),'in2mm':a0_0x27dacb(0x25c),'ln':'FUNCTION','log':a0_0x27dacb(0x25c),'log10':a0_0x27dacb(0x25c),'max':a0_0x27dacb(0x25c),'maxunder':a0_0x27dacb(0x25c),'mm2in':a0_0x27dacb(0x25c),'nextto':a0_0x27dacb(0x25c),'pi':a0_0x27dacb(0x25c),'pow':'FUNCTION','round':a0_0x27dacb(0x25c),'sin':a0_0x27dacb(0x25c),'sqr':a0_0x27dacb(0x25c),'tab':'FUNCTION','tan':a0_0x27dacb(0x25c)}),G),Et=class{constructor(){const _0x198785=a0_0x27dacb;D(this,'cache',new Map()),D(this,_0x198785(0x18d),[]),D(this,'current',0x0),D(this,_0x198785(0xdd),()=>{const _0x532dde=_0x198785;this[_0x532dde(0x1df)]=0x0;});}[a0_0x27dacb(0x1f2)](_0x40a3b2){const _0x20bd17=a0_0x27dacb;if(this[_0x20bd17(0x8f)][_0x20bd17(0x17a)](_0x40a3b2)){const _0x3a2a01=this['cache'][_0x20bd17(0x195)](_0x40a3b2);return this['cache']['delete'](_0x40a3b2),this[_0x20bd17(0x8f)][_0x20bd17(0x1e1)](_0x40a3b2,_0x3a2a01),_0x3a2a01;}try{this['tokens']=_0x40a3b2;const _0x469b66=this[_0x20bd17(0x119)](_0x40a3b2);if(this[_0x20bd17(0x8f)]['set'](_0x40a3b2,_0x469b66),this[_0x20bd17(0x8f)][_0x20bd17(0x171)]>0x3){const _0x5eca6e=this['cache'][_0x20bd17(0x247)]()['next']()['value'];this['cache'][_0x20bd17(0x1fe)](_0x5eca6e);}return _0x469b66;}catch(_0x7d2e1a){throw new Error(_0x7d2e1a instanceof Error?_0x7d2e1a[_0x20bd17(0x14a)]:String(_0x7d2e1a));}}['performParse'](_0x52727d){const _0x322c43=a0_0x27dacb;if(this[_0x322c43(0xdd)](),this[_0x322c43(0x18d)]['length']===0x0)throw new Error(_0x322c43(0x7a));try{return this[_0x322c43(0xe8)]();}catch(_0x2288ac){throw new Error(_0x2288ac instanceof Error?_0x2288ac[_0x322c43(0x14a)]:String(_0x2288ac));}}[a0_0x27dacb(0x1ad)](){const _0x939a07=a0_0x27dacb;if(this[_0x939a07(0x1c0)]())return!0x1;const _0x36ed5a=this[_0x939a07(0x15f)]();return _0x36ed5a[_0x939a07(0xc2)]===_0x939a07(0x152)&&_0x36ed5a[_0x939a07(0x19b)]==='mm';}[a0_0x27dacb(0x13f)](){const _0x1dd12e=a0_0x27dacb;return this[_0x1dd12e(0x1ad)]()?(this[_0x1dd12e(0xb3)](),!0x0):!0x1;}[a0_0x27dacb(0x235)](){const _0x53363c=a0_0x27dacb,_0x306d63=[];if(!this['check'](_0x53363c(0x12d)))return this[_0x53363c(0xe8)]();for(;this[_0x53363c(0x15c)](_0x53363c(0x12d));){this['advance']();let _0xfccdb=this['expression']();this[_0x53363c(0x1b5)](_0x53363c(0xfc),_0x53363c(0x72)),_0x306d63[_0x53363c(0x17d)]({'type':'Section','nodes':_0xfccdb,'hasMillimeterSuffix':this['consumeMillimeterSuffix']()});}if(_0x306d63[_0x53363c(0x114)]===0x1){const _0xd46ed5=_0x306d63[0x0];return _0xd46ed5[_0x53363c(0xc2)]==='Section'&&_0xd46ed5[_0x53363c(0x1c8)][_0x53363c(0xc2)]===_0x53363c(0xe9)?_0xd46ed5['nodes']:_0xd46ed5;}return{'type':_0x53363c(0x22a),'sections':_0x306d63};}['expression'](){const _0x179418=a0_0x27dacb;try{let _0x49e330=this[_0x179418(0x1c9)]();for(;!this[_0x179418(0x1c0)]()&&this['check']('OPERATOR')&&['+','-'][_0x179418(0x7e)](this[_0x179418(0x15f)]()[_0x179418(0x19b)]);){this[_0x179418(0xb3)]();const _0x43ca75=this['previous']()[_0x179418(0x19b)],_0x132fe3=this[_0x179418(0x1c9)]();_0x49e330={'type':'BinaryExpression','left':_0x49e330,'operator':_0x43ca75,'right':_0x132fe3};}return _0x49e330;}catch(_0x31e5ef){throw new Error(_0x179418(0x1ee)+_0x31e5ef[_0x179418(0x14a)]);}}['term'](){const _0x332bae=a0_0x27dacb;try{let _0x5ed9b9=this[_0x332bae(0x126)]();for(;!this[_0x332bae(0x1c0)]()&&this[_0x332bae(0x15c)](_0x332bae(0x14d))&&['*','/','~'][_0x332bae(0x7e)](this[_0x332bae(0x15f)]()[_0x332bae(0x19b)]);){this['advance']();const _0x29b9a1=this[_0x332bae(0x205)]()[_0x332bae(0x19b)],_0x3241a5=this[_0x332bae(0x126)]();if(_0x3241a5[_0x332bae(0xc2)]===_0x332bae(0x83)&&_0x3241a5[_0x332bae(0x181)]==='n')throw new Error(_0x332bae(0x11a));_0x5ed9b9={'type':_0x332bae(0x1de),'left':_0x5ed9b9,'operator':_0x29b9a1,'right':_0x3241a5};}return _0x5ed9b9;}catch(_0x583f36){throw new Error(_0x332bae(0x21d)+_0x583f36[_0x332bae(0x14a)]);}}['factor'](){const _0x5c7788=a0_0x27dacb;try{if(this[_0x5c7788(0x15c)]('OPERATOR')&&['-','+'][_0x5c7788(0x7e)](this[_0x5c7788(0x15f)]()['lexeme'])){this[_0x5c7788(0xb3)]();const _0x54fb37=this['previous']()[_0x5c7788(0x19b)],_0x558ef3=this[_0x5c7788(0x126)]();return{'type':_0x5c7788(0xa1),'operator':_0x54fb37,'right':_0x558ef3};}return this[_0x5c7788(0x14b)]();}catch(_0x1a3bce){throw new Error(_0x5c7788(0x99)+_0x1a3bce[_0x5c7788(0x14a)]);}}[a0_0x27dacb(0x14b)](){const _0x463097=a0_0x27dacb;try{if(this[_0x463097(0x15c)](_0x463097(0x21a)))return this[_0x463097(0xb3)](),{'type':_0x463097(0x199),'value':parseFloat(this[_0x463097(0x205)]()['lexeme']),'hasMillimeterSuffix':this[_0x463097(0x13f)]()};if(this['check']('VARIABLE'))return this[_0x463097(0xb3)](),{'type':'Variable','name':this[_0x463097(0x205)]()[_0x463097(0x19b)],'hasMillimeterSuffix':this[_0x463097(0x13f)]()};if(this[_0x463097(0x15c)](_0x463097(0x17c)))return this[_0x463097(0xb3)](),{'type':_0x463097(0x83),'name':this[_0x463097(0x205)]()['lexeme'],'hasMillimeterSuffix':this[_0x463097(0x205)]()[_0x463097(0x19b)]==='n'};if(this[_0x463097(0x15c)](_0x463097(0x25c))){this['advance']();const _0x1f0f59=this[_0x463097(0x205)]()['lexeme'];this[_0x463097(0x1b5)](_0x463097(0x228),_0x463097(0x1b4)+_0x1f0f59+'\x27.');const _0x451fb9=this['expression']();return this[_0x463097(0x1b5)](_0x463097(0xd5),'Expected\x20\x27)\x27\x20after\x20function\x20arguments.'),{'type':_0x463097(0x159),'name':_0x1f0f59,'arg':_0x451fb9,'hasMillimeterSuffix':this[_0x463097(0x13f)]()};}if(this[_0x463097(0x15c)](_0x463097(0x228))){this[_0x463097(0xb3)]();const _0x1b6198=this[_0x463097(0xe8)]();if(!_0x1b6198)throw new Error(_0x463097(0xbc));return this[_0x463097(0x1b5)](_0x463097(0xd5),_0x463097(0x264)),{'type':'Grouping','expression':_0x1b6198,'hasMillimeterSuffix':this[_0x463097(0x13f)]()};}if(this['check']('PAREN_CLOSE'))throw new Error(_0x463097(0x1f1));if(this['check'](_0x463097(0x9d))){this[_0x463097(0xb3)]();let _0x3a575d=this['sections']();return this[_0x463097(0x1b5)](_0x463097(0xc1),_0x463097(0x13b)),_0x3a575d[_0x463097(0xc2)]==='Section'&&_0x3a575d[_0x463097(0x1c8)][_0x463097(0xc2)]===_0x463097(0xe9)&&(_0x3a575d=_0x3a575d['nodes']),{'type':'Repeated','toRepeat':_0x3a575d,'hasMillimeterSuffix':this[_0x463097(0x13f)]()};}if(this['check'](_0x463097(0x12d)))return this['sections']();throw new Error('Unexpected\x20token:\x20'+this[_0x463097(0x15f)]()[_0x463097(0x19b)]);}catch(_0x19c933){throw new Error('Failed\x20to\x20parse\x20primary:\x20'+_0x19c933['message']);}}[a0_0x27dacb(0x15c)](_0x1368b0){const _0x21bbe4=a0_0x27dacb;return this[_0x21bbe4(0x1c0)]()?!0x1:this[_0x21bbe4(0x15f)]()[_0x21bbe4(0xc2)]===_0x1368b0;}[a0_0x27dacb(0xb3)](){const _0x270625=a0_0x27dacb;return this['isAtEnd']()||this[_0x270625(0x1df)]++,this[_0x270625(0x205)]();}[a0_0x27dacb(0x1b5)](_0x37a006,_0x5a6565){const _0x4eca47=a0_0x27dacb;if(this['check'](_0x37a006))return this[_0x4eca47(0xb3)]();throw new Error(_0x5a6565);}[a0_0x27dacb(0x1c0)](){const _0x31ea66=a0_0x27dacb;return this[_0x31ea66(0x1df)]>=this[_0x31ea66(0x18d)][_0x31ea66(0x114)];}[a0_0x27dacb(0x15f)](){const _0x4acce6=a0_0x27dacb;return this[_0x4acce6(0x18d)][this[_0x4acce6(0x1df)]];}[a0_0x27dacb(0x205)](){const _0x3811c0=a0_0x27dacb;return this[_0x3811c0(0x18d)][this[_0x3811c0(0x1df)]-0x1];}},Ce=_0x312d9e=>_0x312d9e[a0_0x27dacb(0xc2)]==='SpecialVariable'&&_0x312d9e[a0_0x27dacb(0x181)]==='n';function xt(_0x7ce489,_0x3e29df){const _0x218964=a0_0x27dacb;if(_0x7ce489['right'][_0x218964(0xc2)]==='SpecialVariable'&&_0x7ce489['right']['name']==='n')return new k(_0x218964(0xf9));const _0x5d9826=Ce(_0x7ce489[_0x218964(0xc8)])?_0x7ce489[_0x218964(0xc8)]:this[_0x218964(0x260)](_0x7ce489[_0x218964(0xc8)]),_0x27e550=Ce(_0x7ce489[_0x218964(0x125)])?_0x7ce489[_0x218964(0x125)]:this[_0x218964(0x260)](_0x7ce489[_0x218964(0x125)]);if(_0x5d9826 instanceof k)return _0x5d9826;if(_0x27e550 instanceof k)return _0x27e550;const _0x51ef40=_0x5d9826[_0x218964(0xc2)]===_0x218964(0x199)&&_0x27e550[_0x218964(0xc2)]===_0x218964(0x199),_0x3026eb=_0x51ef40?_0x5d9826[_0x218964(0xe5)]===_0x27e550[_0x218964(0xe5)]:!0x1,_0x551ce8=_0x5a67a0=>_0x5a67a0[_0x218964(0xc2)]===_0x218964(0x180);switch(_0x7ce489[_0x218964(0x16b)]){case'+':return _0x51ef40&&_0x3026eb&&_0x3e29df?.[_0x218964(0x1f7)]==!0x1?{'type':_0x218964(0x199),'value':_0x5d9826['value']+_0x27e550[_0x218964(0x23f)],'hasMillimeterSuffix':_0x5d9826[_0x218964(0xe5)]===!0x0||_0x27e550[_0x218964(0xe5)]===!0x0,'spreadMm':_0x5d9826[_0x218964(0x1e9)]||_0x27e550['spreadMm']}:_0x51ef40&&_0x3e29df?.[_0x218964(0x1f7)]==!0x0?{'type':'NumberLiteral','value':_0x5d9826[_0x218964(0x23f)]+_0x27e550[_0x218964(0x23f)],'spreadMm':_0x5d9826[_0x218964(0xe5)]||_0x27e550[_0x218964(0xe5)]}:{'type':_0x218964(0x1de),'operator':'+','left':_0x5d9826,'right':_0x27e550};case'*':return _0x51ef40&&_0x3e29df?.['isInsideGroup']==!0x0?{'type':'NumberLiteral','value':_0x5d9826[_0x218964(0x23f)]*_0x27e550['value'],'hasMillimeterSuffix':_0x5d9826[_0x218964(0xe5)]===!0x0||_0x27e550['hasMillimeterSuffix']===!0x0,'spreadMm':_0x5d9826[_0x218964(0x1e9)]||_0x27e550['spreadMm']}:_0x551ce8(_0x27e550)&&_0x5d9826['type']===_0x218964(0x199)?{'type':_0x218964(0x180),'toRepeat':_0x27e550[_0x218964(0x20e)],'times':Math[_0x218964(0x1ca)](_0x5d9826[_0x218964(0x23f)]),'hasMillimeterSuffix':_0x27e550[_0x218964(0xc2)]===_0x218964(0x199)&&_0x27e550[_0x218964(0xe5)]||!0x1}:_0x3e29df?.[_0x218964(0x1f7)]==!0x1&&_0x5d9826[_0x218964(0xc2)]!==_0x218964(0x83)&&_0x5d9826[_0x218964(0x181)]!=='n'?new k('cannot\x20have\x20*\x20outside\x20of\x20group'):_0x5d9826[_0x218964(0xc2)]===_0x218964(0x83)?{'type':'BinaryExpression','operator':'*','left':_0x5d9826,'right':{'type':_0x218964(0x199),'value':_0x27e550[_0x218964(0x23f)],'hasMillimeterSuffix':!0x0}}:{'type':_0x218964(0x1de),'operator':'*','left':_0x5d9826,'right':_0x27e550,'hasMillimeterSuffix':_0x5d9826['hasMillimeterSuffix']||_0x27e550['hasMillimeterSuffix']};case'/':if(_0x51ef40&&_0x3e29df?.['isInsideGroup']==!0x0)return{'type':_0x218964(0x199),'value':_0x5d9826[_0x218964(0x23f)]/_0x27e550['value'],'hasMillimeterSuffix':_0x5d9826[_0x218964(0xe5)]===!0x0||_0x27e550[_0x218964(0xe5)]===!0x0};if(_0x3e29df?.['isInsideGroup']==!0x1)return new k(_0x218964(0xf0));case'-':return _0x51ef40&&_0x3026eb&&_0x3e29df?.[_0x218964(0x1f7)]==!0x1?{'type':_0x218964(0x199),'value':_0x5d9826[_0x218964(0x23f)]-_0x27e550['value'],'hasMillimeterSuffix':_0x5d9826[_0x218964(0xe5)]===!0x0||_0x27e550[_0x218964(0xe5)]===!0x0,'spreadMm':_0x5d9826[_0x218964(0x1e9)]||_0x27e550[_0x218964(0x1e9)]}:_0x51ef40&&_0x3e29df?.[_0x218964(0x1f7)]==!0x0?{'type':_0x218964(0x199),'value':_0x5d9826['value']-_0x27e550[_0x218964(0x23f)],'spreadMm':_0x5d9826[_0x218964(0xe5)]||_0x27e550[_0x218964(0xe5)]}:{'type':_0x218964(0x1de),'operator':'-','left':_0x5d9826,'right':_0x27e550};default:throw new k(_0x218964(0x191));}}function St(_0x449679,_0x3290f0){const _0x3e31f0=a0_0x27dacb,_0x5e4897=this[_0x3e31f0(0x260)](_0x449679[_0x3e31f0(0x1bb)]);if(_0x5e4897 instanceof k)throw new k(_0x3e31f0(0x122));switch(_0x449679[_0x3e31f0(0x181)][_0x3e31f0(0x13a)]()){case _0x3e31f0(0x1a1):return{'type':_0x3e31f0(0x199),'value':Math[_0x3e31f0(0x1a1)](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x1dc):return{'type':_0x3e31f0(0x199),'value':Math[_0x3e31f0(0x1dc)](_0x5e4897['value']),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.['isInsideGroup']===!0x1};case _0x3e31f0(0x8a):return{'type':_0x3e31f0(0x199),'value':Math['asin'](_0x5e4897['value']),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.['isInsideGroup']===!0x1};case _0x3e31f0(0x132):return{'type':_0x3e31f0(0x199),'value':Math[_0x3e31f0(0x132)](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x135):return{'type':'NumberLiteral','value':Math[_0x3e31f0(0x135)](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.['isInsideGroup']===!0x1};case _0x3e31f0(0x19f):return{'type':_0x3e31f0(0x199),'value':Math[_0x3e31f0(0x19f)](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.['isInsideGroup']===!0x1};case _0x3e31f0(0xd0):return{'type':'NumberLiteral','value':Math[_0x3e31f0(0xd0)](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x1ca):return{'type':_0x3e31f0(0x199),'value':Math[_0x3e31f0(0x1ca)](_0x5e4897['value']),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x1a5):return{'type':_0x3e31f0(0x199),'value':_0x5e4897['value']*(0xb4/Math['PI']),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case'deg2bog':return{'type':_0x3e31f0(0x199),'value':_0x5e4897[_0x3e31f0(0x23f)]*(Math['PI']/0xb4),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x109):return{'type':_0x3e31f0(0x199),'value':_0x5e4897[_0x3e31f0(0x23f)]*25.4,'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case _0x3e31f0(0x169):return{'type':_0x3e31f0(0x199),'value':_0x5e4897['value']/25.4,'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};case'ln':return{'type':'NumberLiteral','value':Math['log'](_0x5e4897[_0x3e31f0(0x23f)]),'hasMillimeterSuffix':_0x5e4897['hasMillimeterSuffix'],'spreadMm':_0x3290f0?.['isInsideGroup']===!0x1};case _0x3e31f0(0x208):return{'type':'NumberLiteral','value':Math[_0x3e31f0(0x208)](_0x5e4897['value']),'hasMillimeterSuffix':_0x5e4897[_0x3e31f0(0xe5)],'spreadMm':_0x3290f0?.[_0x3e31f0(0x1f7)]===!0x1};default:throw new k(_0x3e31f0(0x14c));}}function Tt(_0x4b60ff){const _0x9ef49b=a0_0x27dacb;if(!this[_0x9ef49b(0x190)]||!(_0x4b60ff[_0x9ef49b(0x181)]in this[_0x9ef49b(0x190)]))throw new k(_0x9ef49b(0x153)+_0x4b60ff[_0x9ef49b(0x181)]+_0x9ef49b(0x90));return{'type':_0x9ef49b(0x199),'value':this[_0x9ef49b(0x190)][_0x4b60ff[_0x9ef49b(0x181)]],'hasMillimeterSuffix':_0x4b60ff['hasMillimeterSuffix']};}var vt=class{constructor(){const _0x52e5ae=a0_0x27dacb;D(this,_0x52e5ae(0x236),0x0),D(this,_0x52e5ae(0x190),{}),D(this,_0x52e5ae(0x145)),D(this,_0x52e5ae(0x160)),D(this,_0x52e5ae(0x146)),(this[_0x52e5ae(0x145)]=xt['bind'](this),this['evaluateFunction']=St[_0x52e5ae(0xaa)](this),this['evaluateVariable']=Tt[_0x52e5ae(0xaa)](this));}[a0_0x27dacb(0x260)](_0x20064e,_0xadf3c4={'isInsideGroup':!0x1},_0x30e789){const _0x19e35a=a0_0x27dacb;this[_0x19e35a(0x236)]++;try{if(_0x30e789&&(this[_0x19e35a(0x190)]=_0x30e789),this[_0x19e35a(0x268)](_0x20064e))return this['evaluateSections'](_0x20064e,_0xadf3c4);if(this[_0x19e35a(0x24a)](_0x20064e)){const _0xb8a02f=this[_0x19e35a(0x260)](_0x20064e['nodes'],_0xadf3c4);return _0xb8a02f instanceof k?new k(_0x19e35a(0x189)+JSON[_0x19e35a(0x1f3)](_0x20064e)):{..._0x20064e,'nodes':_0xb8a02f};}if(this['isNumberLiteral'](_0x20064e)){if(_0xadf3c4[_0x19e35a(0x1f7)]){if(_0x20064e[_0x19e35a(0xe5)])return{..._0x20064e,'spreadMm':!0x0};}else return _0x20064e;}if(this[_0x19e35a(0x1cc)](_0x20064e)){_0xadf3c4={..._0xadf3c4,'isInsideGroup':!0x0};const _0xc38508=this[_0x19e35a(0x260)](_0x20064e[_0x19e35a(0xe8)],_0xadf3c4);return _0xc38508 instanceof k?_0xc38508:{..._0xc38508,'hasMillimeterSuffix':_0x20064e[_0x19e35a(0xe5)]};}if(this[_0x19e35a(0x13c)](_0x20064e)){const _0xf41bb1=this[_0x19e35a(0x260)](_0x20064e[_0x19e35a(0x20e)]);return _0xf41bb1 instanceof k?_0xf41bb1:{..._0x20064e,'toRepeat':_0xf41bb1};}if(this[_0x19e35a(0x82)](_0x20064e))return this[_0x19e35a(0x145)](_0x20064e,_0xadf3c4);if(this[_0x19e35a(0xb0)](_0x20064e))return{'type':_0x19e35a(0x199),'value':_0x20064e[_0x19e35a(0x16b)]==='-'?-0x1*_0x20064e['right'][_0x19e35a(0x23f)]:_0x20064e[_0x19e35a(0x125)]['value'],'hasMillimeterSuffix':_0x20064e['right']['hasMillimeterSuffix']};if(this[_0x19e35a(0xed)](_0x20064e))return this[_0x19e35a(0x160)](_0x20064e,_0xadf3c4);if(this[_0x19e35a(0x267)](_0x20064e)){if(this[_0x19e35a(0x190)])return this['evaluateVariable'](_0x20064e);throw new k(_0x19e35a(0x1f4));}throw new k('unsupported\x20node\x20type:\x20'+_0x20064e['type']);}catch(_0x37b268){throw new k(_0x37b268[_0x19e35a(0x14a)]);}finally{this[_0x19e35a(0x236)]--;}}[a0_0x27dacb(0xb0)](_0x14cd60){const _0x3f6fd9=a0_0x27dacb;return _0x14cd60[_0x3f6fd9(0xc2)]===_0x3f6fd9(0xa1);}[a0_0x27dacb(0x1c5)](_0x11beaa){const _0x4398a3=a0_0x27dacb;return _0x11beaa[_0x4398a3(0xc2)]===_0x4398a3(0x199);}[a0_0x27dacb(0x267)](_0x30b2f8){const _0x5bfd61=a0_0x27dacb;return _0x30b2f8[_0x5bfd61(0xc2)]===_0x5bfd61(0x86)||_0x30b2f8[_0x5bfd61(0xc2)]===_0x5bfd61(0x83);}['isBinaryExpression'](_0x5bad0b){const _0x21f913=a0_0x27dacb;return _0x5bad0b[_0x21f913(0xc2)]===_0x21f913(0x1de);}['isFunctionCall'](_0x5377d1){const _0x164211=a0_0x27dacb;return _0x5377d1[_0x164211(0xc2)]===_0x164211(0x159);}[a0_0x27dacb(0x1cc)](_0x56cdb6){const _0x2a00f3=a0_0x27dacb;return _0x56cdb6[_0x2a00f3(0xc2)]==='Grouping';}[a0_0x27dacb(0x13c)](_0x37cbf7){const _0x1b1e1f=a0_0x27dacb;return _0x37cbf7[_0x1b1e1f(0xc2)]===_0x1b1e1f(0x180);}[a0_0x27dacb(0x268)](_0x29c163){const _0x1fa4d0=a0_0x27dacb;return _0x29c163[_0x1fa4d0(0xc2)]==='Sections';}[a0_0x27dacb(0x24a)](_0x345449){const _0x49d03d=a0_0x27dacb;return _0x345449[_0x49d03d(0xc2)]===_0x49d03d(0xe9);}[a0_0x27dacb(0x182)](_0x3d1f4c,_0x57e5a4={'isInsideGroup':!0x1}){const _0x4ac7c7=a0_0x27dacb;return{'type':_0x4ac7c7(0x22a),'sections':_0x3d1f4c[_0x4ac7c7(0x235)]['map'](_0x8be593=>{const _0x500bfe=_0x4ac7c7,_0x13b806=this[_0x500bfe(0x260)](_0x8be593['nodes']);if(_0x13b806 instanceof k)throw _0x13b806;return{'type':'Section','nodes':_0x13b806};})};}};function U(_0x2b14a6,_0x548055){const _0x1af55a=a0_0x27dacb;if(!_0x2b14a6)throw new k('unsupported\x20node\x20type\x20to\x20traverse:\x20'+JSON[_0x1af55a(0x1f3)](_0x2b14a6));_0x548055(_0x2b14a6),_0x2b14a6['type']===_0x1af55a(0x22a)&&Array['isArray'](_0x2b14a6['sections'])?_0x2b14a6[_0x1af55a(0x235)][_0x1af55a(0x108)](_0xe97b3d=>U(_0xe97b3d,_0x548055)):_0x2b14a6[_0x1af55a(0xc2)]===_0x1af55a(0xe9)&&_0x2b14a6[_0x1af55a(0x1c8)]?U(_0x2b14a6[_0x1af55a(0x1c8)],_0x548055):_0x2b14a6[_0x1af55a(0xc2)];}var Nt=class{[a0_0x27dacb(0x149)](_0xe3392e,_0x2f60a0,_0x1a6686,_0x4d67f1,_0x418bd6,_0x5db5f4,_0x31eba9,_0x2068ba,_0x4f0bf5){const _0x41f72e=a0_0x27dacb;let _0x3b535d=0x0;if(_0x31eba9==='M'){for(let _0x283885=0x1;_0x283885<_0xe3392e[_0x41f72e(0x235)][_0x41f72e(0x114)]-0x1;_0x283885++)_0x3b535d+=_0x4d67f1;}if(_0x31eba9==='O'){for(let _0x16d162=0x1;_0x16d162<_0xe3392e[_0x41f72e(0x235)][_0x41f72e(0x114)]-0x1;_0x16d162++)_0x3b535d+=_0x4d67f1*0x2;}return _0x418bd6==='M'&&(_0x3b535d+=_0x2f60a0/0x2),_0x418bd6==='O'&&(_0x3b535d+=_0x2f60a0),_0x5db5f4==='M'&&(_0x3b535d+=_0x2f60a0/0x2),_0x5db5f4==='O'&&(_0x3b535d+=_0x2f60a0),_0x4f0bf5==='M'&&(_0x3b535d+=_0x1a6686/0x2),_0x4f0bf5==='O'&&(_0x3b535d+=_0x1a6686),_0x2068ba==='M'&&(_0x3b535d+=_0x1a6686/0x2),_0x2068ba==='O'&&(_0x3b535d+=_0x1a6686),_0x3b535d;}},Mt=class{[a0_0x27dacb(0x185)](_0x407cfa,_0x6f0d23=0x1f4,_0x24c391=0x0,_0x112a1d){const _0x4f831f=a0_0x27dacb;try{if(_0x407cfa instanceof k)throw _0x407cfa;if(_0x407cfa[_0x4f831f(0xc2)]!==_0x4f831f(0x22a)&&_0x407cfa[_0x4f831f(0xc2)]!==_0x4f831f(0xe9))throw new k(_0x4f831f(0x10d)+JSON['stringify'](_0x407cfa));let _0x7716c3={'type':'Sections','sections':[]};if(_0x407cfa[_0x4f831f(0xc2)]===_0x4f831f(0x22a)){for(const _0x2d9c3e of _0x407cfa['sections'])if(_0x2d9c3e[_0x4f831f(0x1c8)][_0x4f831f(0xc2)]===_0x4f831f(0x180)&&_0x2d9c3e[_0x4f831f(0x1c8)][_0x4f831f(0x162)]){for(let _0x4e4e95=0x0;_0x4e4e95<(_0x2d9c3e['nodes']?.[_0x4f831f(0x162)]??0x0);_0x4e4e95++)if(_0x2d9c3e[_0x4f831f(0x1c8)][_0x4f831f(0x20e)]['type']===_0x4f831f(0xe9))_0x7716c3['sections'][_0x4f831f(0x17d)](_0x2d9c3e['nodes'][_0x4f831f(0x20e)]);else{if(_0x2d9c3e[_0x4f831f(0x1c8)]['toRepeat'][_0x4f831f(0xc2)]==='Sections'){for(const _0x4c288d of _0x2d9c3e[_0x4f831f(0x1c8)]['toRepeat']['sections'])_0x7716c3[_0x4f831f(0x235)][_0x4f831f(0x17d)](_0x4c288d);}}}else _0x7716c3[_0x4f831f(0x235)][_0x4f831f(0x17d)](_0x2d9c3e);}else _0x407cfa[_0x4f831f(0xc2)]===_0x4f831f(0xe9)&&_0x7716c3[_0x4f831f(0x235)]['push'](_0x407cfa);if(_0x112a1d){const _0xa25ef7=new Nt()[_0x4f831f(0x149)](_0x7716c3,_0x112a1d[_0x4f831f(0x18b)],_0x112a1d[_0x4f831f(0x75)],_0x24c391,_0x112a1d['sizerefout1'],_0x112a1d[_0x4f831f(0x251)],_0x112a1d[_0x4f831f(0xfa)],_0x112a1d[_0x4f831f(0x16c)],_0x112a1d[_0x4f831f(0x1e0)]);}_0x7716c3[_0x4f831f(0x235)][_0x4f831f(0x108)](_0x1be46b=>{let _0x1ef563=!0x1;U(_0x1be46b,_0xbc5f1c=>{const _0x268c81=a0_0x1a1c;_0xbc5f1c[_0x268c81(0xc2)]===_0x268c81(0x199)?_0xbc5f1c?.[_0x268c81(0x1e9)]===!0x0&&(_0x1ef563=!0x0):_0xbc5f1c['type']===_0x268c81(0x1de)&&_0xbc5f1c[_0x268c81(0xc8)][_0x268c81(0xc2)]==='NumberLiteral'&&(_0xbc5f1c[_0x268c81(0xc8)]?.[_0x268c81(0x1e9)]===!0x0&&(_0x1ef563=!0x0),_0xbc5f1c[_0x268c81(0x125)]?.[_0x268c81(0x1e9)]===!0x0&&(_0x1ef563=!0x0));}),_0x1ef563&&U(_0x1be46b,_0x407ca4=>{const _0x1a8681=a0_0x1a1c;_0x407ca4[_0x1a8681(0xc2)]===_0x1a8681(0x199)?_0x407ca4[_0x1a8681(0xe5)]=!0x0:_0x407ca4[_0x1a8681(0xc2)]===_0x1a8681(0x1de)&&(_0x407ca4[_0x1a8681(0xc8)][_0x1a8681(0xc2)]===_0x1a8681(0x199)&&(_0x407ca4[_0x1a8681(0xc8)][_0x1a8681(0xe5)]=!0x0),_0x407ca4['right'][_0x1a8681(0xc2)]===_0x1a8681(0x199)&&(_0x407ca4['right'][_0x1a8681(0xe5)]=!0x0));});});let _0x26256d=0x0;const _0x26ec15=_0x433800=>{const _0x518f4a=_0x4f831f;if(_0x24c391&&_0x433800[_0x518f4a(0xc2)]===_0x518f4a(0xe9)&&(_0x26256d+=_0x24c391),_0x433800[_0x518f4a(0xc2)]===_0x518f4a(0x199))_0x433800[_0x518f4a(0xe5)]===!0x0&&(_0x26256d+=_0x433800[_0x518f4a(0x23f)]);else{if(_0x433800['type']===_0x518f4a(0x1de)){const _0x5e6ffd=_0x433800;_0x5e6ffd[_0x518f4a(0xc8)]['type']==='NumberLiteral'&&_0x5e6ffd['right']['type']===_0x518f4a(0x199)&&(_0x5e6ffd[_0x518f4a(0xc8)][_0x518f4a(0xe5)]===!0x0&&(_0x26256d+=_0x5e6ffd['left'][_0x518f4a(0x23f)]),_0x5e6ffd['right'][_0x518f4a(0xe5)]===!0x0&&(_0x26256d+=_0x5e6ffd[_0x518f4a(0x125)][_0x518f4a(0x23f)]));}}};if(_0x7716c3[_0x4f831f(0x235)][_0x4f831f(0x108)](_0x4125c5=>U(_0x4125c5,_0x26ec15)),_0x26256d>_0x6f0d23)throw new k(_0x4f831f(0xee));let _0x1515b2=_0x6f0d23-_0x26256d+_0x24c391,_0x5498cb=0x0;const _0x3b04b0=_0x4371ba=>{const _0x5a3cbf=_0x4f831f;if(_0x4371ba['type']===_0x5a3cbf(0x1de)){const _0xbaca0f=_0x4371ba;if(_0xbaca0f[_0x5a3cbf(0x125)]['type']==='NumberLiteral'&&_0xbaca0f[_0x5a3cbf(0xc8)][_0x5a3cbf(0xc2)]===_0x5a3cbf(0x83)&&_0xbaca0f[_0x5a3cbf(0xc8)][_0x5a3cbf(0x181)]==='n'&&_0xbaca0f['operator']==='*'){_0x5498cb=Math['floor'](_0x1515b2/(_0xbaca0f[_0x5a3cbf(0x125)][_0x5a3cbf(0x23f)]+_0x24c391));const _0x1fab51=(_0x5498cb-0x1)*_0x24c391,_0x2605fa=_0x5498cb*_0xbaca0f['right'][_0x5a3cbf(0x23f)];_0x1515b2+=-_0x1fab51-_0x2605fa;}}};_0x7716c3[_0x4f831f(0x235)][_0x4f831f(0x108)](_0x3369ca=>U(_0x3369ca,_0x3b04b0));let _0x37b0ac=0x0;const _0x310d40=_0x56e9b2=>{const _0x3f4346=_0x4f831f;_0x56e9b2[_0x3f4346(0xc2)]===_0x3f4346(0x1de)&&(_0x56e9b2[_0x3f4346(0xc8)][_0x3f4346(0xc2)]===_0x3f4346(0x199)&&_0x56e9b2['left'][_0x3f4346(0xe5)]===!0x1&&(_0x37b0ac+=_0x56e9b2[_0x3f4346(0xc8)][_0x3f4346(0x23f)]),_0x56e9b2[_0x3f4346(0x125)][_0x3f4346(0xc2)]===_0x3f4346(0x199)&&_0x56e9b2[_0x3f4346(0x125)][_0x3f4346(0xe5)]===!0x1&&(_0x37b0ac+=_0x56e9b2[_0x3f4346(0x125)][_0x3f4346(0x23f)])),_0x56e9b2[_0x3f4346(0xc2)]==='NumberLiteral'&&_0x56e9b2['hasMillimeterSuffix']===!0x1&&(_0x37b0ac+=_0x56e9b2[_0x3f4346(0x23f)]);};_0x7716c3['sections']['forEach'](_0x306725=>{U(_0x306725,_0x310d40);});const _0x3a7e90=_0x1515b2/_0x37b0ac,_0x5e71d4=[],_0x4ef203=_0x1958de=>{const _0x4c0eea=_0x4f831f;let _0x3e53a1=0x0,_0x8c11b1=0x0;if(_0x1958de['type']==='NumberLiteral')_0x1958de['hasMillimeterSuffix']===!0x1&&(_0x3e53a1+=_0x1958de[_0x4c0eea(0x23f)]*_0x3a7e90),_0x1958de[_0x4c0eea(0xe5)]===!0x0&&(_0x8c11b1+=_0x1958de[_0x4c0eea(0x23f)]),_0x5e71d4[_0x4c0eea(0x17d)](Number((_0x3e53a1+_0x8c11b1)['toFixed'](0x2)));else{if(_0x1958de[_0x4c0eea(0xc2)]==='BinaryExpression'&&(_0x1958de[_0x4c0eea(0xc8)][_0x4c0eea(0xc2)]===_0x4c0eea(0x199)&&_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0xc2)]===_0x4c0eea(0x199)&&(_0x1958de[_0x4c0eea(0xc8)][_0x4c0eea(0xe5)]===!0x1&&(_0x3e53a1+=_0x1958de['left']['value']*_0x3a7e90),_0x1958de['left'][_0x4c0eea(0xe5)]===!0x0&&(_0x8c11b1+=_0x1958de['left'][_0x4c0eea(0x23f)]),_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0xe5)]===!0x1&&(_0x3e53a1+=_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0x23f)]*_0x3a7e90),_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0xe5)]===!0x0&&(_0x8c11b1+=_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0x23f)]),_0x5e71d4[_0x4c0eea(0x17d)](Number((_0x3e53a1+_0x8c11b1)[_0x4c0eea(0xa9)](0x2)))),_0x1958de['left'][_0x4c0eea(0xc2)]===_0x4c0eea(0x83)&&_0x1958de['left']['name']==='n'&&_0x1958de['right'][_0x4c0eea(0xc2)]===_0x4c0eea(0x199))){_0x8c11b1+=_0x1958de['right'][_0x4c0eea(0x23f)];for(let _0x59a63c=0x0;_0x59a63c<_0x5498cb;_0x59a63c++)_0x1958de[_0x4c0eea(0x125)][_0x4c0eea(0xe5)]===!0x0&&_0x5e71d4[_0x4c0eea(0x17d)](Number(_0x8c11b1[_0x4c0eea(0xa9)](0x2)));}}};return _0x7716c3['sections'][_0x4f831f(0x108)](_0x33eb2a=>{U(_0x33eb2a,_0x4ef203);}),_0x5e71d4;}catch{return new k(_0x4f831f(0xcd));}}},yt=new gt(),It=new Et(),bt=new vt(),kt=(_0x417e07,_0x33bddb,_0x144cb2,_0x331c7b)=>{const _0xc35c5d=a0_0x27dacb;try{const _0x303aa4=yt[_0xc35c5d(0x15e)](_0x417e07),_0x558686=It[_0xc35c5d(0x1f2)](_0x303aa4),_0xfcedc1=bt[_0xc35c5d(0x260)](_0x558686,{},_0x331c7b);if(_0xfcedc1&&!(_0xfcedc1 instanceof k)){const _0x49e8d6=new Mt()[_0xc35c5d(0x185)](_0xfcedc1,_0x33bddb,_0x144cb2);if(_0x49e8d6&&_0x49e8d6 instanceof k)throw new Error(_0x49e8d6['message']);return _0x49e8d6;}return _0xfcedc1||new k(_0xc35c5d(0x150));}catch(_0xd145ff){return new k(_0xd145ff['message']);}};function _t(_0x4853e2){const _0x44544d=a0_0x27dacb,_0x18d858=/^(\d+)\*\{(\d+)\}$/,_0x51e5a9=_0x4853e2['match'](_0x18d858);if(_0x51e5a9){const _0x523a10=parseInt(_0x51e5a9[0x1],0xa),_0x11a0e4=_0x51e5a9[0x2];return _0x523a10>0x0?Array(_0x523a10)['fill'](_0x11a0e4)[_0x44544d(0x1be)](':'):'';}return _0x4853e2;}function a0_0x17e0(){const _0x27af37=['2D_TOP','times','descriptorData','VIEW','IAC_TOPSHELFTHICKNESS','replace','warn','nodeNum','mm2in','\x20not\x20found','operator','sizerefedg2','reduce','DIVIDER','DescriptorContext','ArticleContext','size','lineTo','toString','VarController','var-controller__header','cabin','peekNext','MATHEMATICAL_FUNCTIONS','TOPTRIM','has','Descriptor\x20not\x20found:\x20','SPECIAL_VARIABLE','push','Fragment','divisionType','Repeated','name','evaluateSections','descriptorName','Module','calculateSections','application/json','useContext','DIVELEM1','Error\x20in\x20section\x20','Circular\x20dependency:\x20','startPanelThk','/src/assets/','tokens','Unknown\x20identifier:\x20','from','variables','Invalid\x20Operator','lindiv','articleName','surface','get','material','Top\x20shelf\x20=>\x20eres\x20=>\x20','right\x20','NumberLiteral','substring','lexeme','next','surfaces','dimensions','sin','INSET','abs','DIMCALCFX','map','rotateZ','bog2deg','Invalid\x20IF\x20statement:\x20','get2DTop','929652ziHuQr','rawType','test','thead','bevel','checkMillimeterSuffix','Empty\x20input\x20string','statusText','getDescriptorsByType','symbol','topShelfThk','independent','Expected\x20\x27(\x27\x20after\x20function\x20name\x20\x27','consume','topShelfCP','var-controller__slider','otherData','fetchAll','DIVDIR','arg','endsWith','wasEvaluated','join','Top\x20shelf','isAtEnd','label','OPSTRING','descriptor','width','isNumberLiteral','Unhandled\x20case:\x20DIVELEM1\x20=\x20','var-controller__var-name','nodes','term','round','var-controller__type-badge','isGrouping','IAC_BOTTOMSHELFTHICKNESS','front\x20','LEFTVALUE','Door','13093956fJVlds','.jpg','NOT','ENDTRIM','HORDEFTYPE','INSETFOR','VARIABLE','WERT','useMemo','articleDescriptor','moveTo','acos','Unexpected\x20character:\x20','BinaryExpression','current','sizerefout2','set','Unhandled\x20case:\x20DIVDIR\x20=\x20','Expected\x20digit\x20after\x20decimal\x20point\x20at\x20position:\x20','12668VuvAxc','text','charAt','jsx','VariableContext','spreadMm','VERSION','Variable\x20Controller','reportError','defineProperty','Failed\x20to\x20parse\x20expression:\x20','inset','_2D_FRONT','Unexpected\x20\x27)\x27\x20without\x20a\x20matching\x20\x27(\x27.','parse','stringify','No\x20variables\x20defined.','35%','SidePanel','isInsideGroup','Numeric','resolved','DIMCALCFY','Designer','Shape','find','delete','dividerThk','DataContext','\x20at\x20position:\x20','lightgray','TREEID','Provider','previous','fill','thickness','log10','condition-tree-builder','BRACKET_OPEN','toStringTag','\x20variables','TYP','toRepeat','15%','div','3645140lzAeSE','comparison','AD\x20article\x20width','getThk','25%','getStats','children','Bot\x20','AND','NUMBER','scanMm','PLT_T100_LIN','Failed\x20to\x20parse\x20term:\x20','7371810xaDumW','Surface','IAC_THICKNESS','section','PUT\x20to:','filter3','Back','anglgrtx','DELETE:','gray','PAREN_OPEN','isAlpha','Sections','LINEAR_DIVISION','THK','table','slice','toISOString','resetState','number','Surfaces','Math.ceil(','useData\x20must\x20be\x20used\x20within\x20a\x20DataProvider','sections','nestingLevel','black','DELETE','evaluateTree','translate(','three','Reference','reference','Empty\x20expression','value','jsxs','KMS','matchAll','7akTuKI','endpoint','STRING','Fetching\x20from:','keys','Math.floor(','cumulativeY','isSection','linear-division','toLocaleLowerCase','preformScan','2D_FRONT','bottomShelfThk','tree','sizerefedg1','NOT\x20OR','9358208AVUGvj','Math.pow(','trim','TOPSHELF','Math.max(','DATATYPE','get3D','source','variableTree','FUNCTION','valueSource','SIZEX','localeCompare','evaluate','expr:ratio','react/jsx-runtime','height','Expected\x20\x27)\x27\x20after\x20expression.','_3D','conditionId','isVariable','isSections','useData','Expected\x20\x27>\x27\x20after\x20section\x20expression.','PARTTYPE','childPositions','endPanelThk','rotation','useEffect','\x20x\x20','useVariables\x20must\x20be\x20used\x20within\x20a\x20VariableProvider','No\x20tokens\x20to\x20parse.','Material','ArticleProvider','back','includes','#ff6b00','anglprim','match','isBinaryExpression','SpecialVariable','Unhandled\x20case:\x20HORDEFTYPE\x20=\x20','zone_dims','Variable','addToken','materials','Total\x20variables:\x20','asin','baseUrl','updatedDivider','status','ExtrudeGeometry','cache','\x20is\x20not\x20defined.','POST\x20to:','sort','Text','split','bottom','articleData','toUpperCase','filter4','Failed\x20to\x20parse\x20factor:\x20','RIGHTVALUE','HTTP\x20','linearDivisionString','BRACE_OPEN','Failed\x20to\x20evaluate\x20expression:\x20','top','isDigit','UnaryExpression','front','string','[ExpressionResolver]\x20Failed\x20to\x20resolve:\x20\x22','end','roots','DIMCALCFZ','Descriptor\x20','toFixed','bind','cside','ENDOFFS','DESCRIPTOR','1651794pPwUIH','EvaluationError','isUnaryExpression','scale(1,-1)','expr*{ratio}','advance','entries','fetchById','DIVTYPE','findAllNonDefaultMatches','descriptors','var-controller__section-title','cumulativeZ','LINDIV1','Expected\x20expression\x20inside\x20parentheses.','SURF1','kind','Unknown\x20error','descriptor-data','BRACE_CLOSE','type','articleString','target','var-controller__stats','range','lastIndexOf','left','group','span','STARTOFFS','ArticleDesigner','Error\x20calculating\x20sections','dividerType','MANINFO','tan','middle','cside\x20=>\x20','findAllMatches','values','PAREN_CLOSE','create','input','Unknown\x20operator:\x20','New\x20Error:\x20','ARTICLE','anglzone','createContext','resetCurrent','useZoneSelection\x20must\x20be\x20used\x20within\x20DataProvider','simple','linearDivisionDescriptor','72NjNVWf','some',')\x20rotate(0)','add','hasMillimeterSuffix','cumulativeX','BOTSHELF','expression','Section','Expression\x20contains\x20invalid\x20characters:\x20','BRACKET_CLOSE','DataProvider','isFunctionCall','Total\x20length\x20exceeded','getDescriptorNames','cannot\x20have\x20\x20/\x20outside\x20of\x20group','path','useCallback','\x20divider','linearDivision',')\x20rotate(90)','filter','hadVariables','NAME','Cannot\x20have\x20n\x20in\x20the\x20right\x20side\x20of\x20an\x20expression','sizerefmid','Angle\x20brackets\x20are\x20not\x20allowed\x20in\x20the\x20input\x20string','RIGHT_ANGLE_BRACKET','tbody','hasDescriptor','var-controller__table','left\x20','DESC_TYPE','No\x20prims\x20found\x20for\x20article:\x20','useState','scanVariable','log','anglelem','article','forEach','in2mm','position','useArticle','Materials','Expected\x20Sections\x20or\x20Section,\x20got\x20','\x20\x20\x20--\x20\x20','CPNAME','NUM','Edges','mesh','#0066ff','length','freeze','data','center','start','performParse','Invalid\x20usage:\x20\x22n\x22\x20cannot\x20appear\x20on\x20the\x20right-hand\x20side\x20of\x20an\x20operator','scanNumber','pointer','divided_length_list','_2D_TOP','react','operation','Shelf','Error\x20in\x20function\x20arguments','Math.round(','oversize','right','factor','errors','depth','zoneInfo','useDescriptorEvaluation','Back\x20','thk','LEFT_ANGLE_BRACKET','default','conditionTree','evaluateNode','var-controller__number-input','atan','reverse','ratio:expr','cos','fromEntries','every','Variable\x20Name','http://localhost:3000/api','toLowerCase','Expected\x20\x27}\x27\x20after\x20expression.','isRepeated','useVariables','COMPARISONTYPE','consumeMillimeterSuffix','scanIdentifierOrFunction','kms','VariableResolver','EOF','Invalid\x20condition:\x20','evaluateBinaryExpression','evaluateVariable','startsWith','var-controller__slider-container','accumulateIncorporatedThicknesses','message','primary','Function\x20not\x20implemented','OPERATOR','anglclie','TAGNAME','Unknown\x20error\x20during\x20evaluation.','error','UNIT','Variable\x20','var-controller','Type','Math.abs(','Dimensions\x20(Numeric)','BoxGeometry','FunctionCall','Evaluation\x20Error:\x20','prim_dims','check','useDescriptorManager','scan','peek','evaluateFunction'];a0_0x17e0=function(){return _0x27af37;};return a0_0x17e0();}function Dt(_0x544a59){const _0x887042=a0_0x27dacb,_0x3a734d=_0x544a59['trim']()[_0x887042(0x81)](/^(\d+(?:\.\d+)?)\s*\*\s*\{.+\}$/);return _0x3a734d?Number(_0x3a734d[0x1]):_0x544a59;}function At(_0x356375,_0xa5c11f,_0x58778d){const _0x575ab3=a0_0x27dacb;let _0x3519bc=0x0;const {LINDIV1:_0x21b40b,DIVDIR:_0x397cd6,HORDEFTYPE:_0x4345a5,DIVELEM1:_0x59f9e1}=_0x356375;let _0x4b80d1=_0x575ab3(0x1c4),_0x35f430=!0x1;if(_0x21b40b==='')return{'divisionType':_0x4b80d1,'zone_dimensions':[],'divided_length_list':[]};if(_0x397cd6==='H'){if(_0x4345a5==='W')_0x3519bc=_0xa5c11f[_0x575ab3(0x1c4)],_0x4b80d1='width';else{if(_0x4345a5==='D')_0x3519bc=_0xa5c11f['depth'],_0x4b80d1=_0x575ab3(0x128);else{if(_0x4345a5==='P'){if(_0x59f9e1===0x0||_0x59f9e1===0x2)_0x3519bc=_0xa5c11f[_0x575ab3(0x1c4)],_0x4b80d1=_0x575ab3(0x1c4);else{if(_0x59f9e1===0x1||_0x59f9e1===0x3)_0x3519bc=_0xa5c11f[_0x575ab3(0x128)],_0x4b80d1='depth';else throw new Error(_0x575ab3(0x1c6)+_0x59f9e1);}}else throw new Error(_0x575ab3(0x84)+_0x4345a5);}}}else{if(_0x397cd6==='V')_0x3519bc=_0xa5c11f['height'],_0x4b80d1=_0x575ab3(0x263);else{if(_0x397cd6==='A')_0x3519bc=_0xa5c11f[_0x575ab3(0x1c4)],_0x4b80d1=_0x575ab3(0x107);else{if(_0x397cd6==='I')_0x3519bc=_0xa5c11f[_0x575ab3(0x1c4)],_0x4b80d1=_0x575ab3(0x1b3);else throw new Error('Unhandled\x20case:\x20DIVDIR\x20=\x20'+_0x397cd6);}}}let _0x833523=[];const _0x5be77e=_t(_0x21b40b);if(_0x4b80d1===_0x575ab3(0x1b3)){const _0x3b69cb=Dt(_0x21b40b);_0x833523=Array(_0x3b69cb)[_0x575ab3(0x206)](_0x3519bc);}else _0x4b80d1==='article'?_0x833523=[_0x3519bc]:_0x833523=kt(_0x5be77e,_0x3519bc,_0x58778d);if(!Array['isArray'](_0x833523))return{'divisionType':_0x4b80d1,'zone_dimensions':[],'divided_length_list':[]};_0x4345a5==='P'&&(_0x59f9e1===0x2||_0x59f9e1===0x3)&&(_0x35f430=!0x0,_0x833523=[..._0x833523][_0x575ab3(0x133)]());const _0x3bed8a=_0x833523['map'](_0x596d8f=>{const _0x2b76dd=_0x575ab3;if(_0x4b80d1===_0x2b76dd(0x1c4))return{'width':_0x596d8f,'height':_0xa5c11f['height'],'depth':_0xa5c11f['depth']};if(_0x4b80d1==='depth')return{'width':_0xa5c11f[_0x2b76dd(0x1c4)],'height':_0xa5c11f[_0x2b76dd(0x263)],'depth':_0x596d8f};if(_0x4b80d1==='height')return{'width':_0xa5c11f['width'],'height':_0x596d8f,'depth':_0xa5c11f['depth']};if(_0x4b80d1==='article'||_0x4b80d1===_0x2b76dd(0x1b3))return{'width':_0xa5c11f[_0x2b76dd(0x1c4)],'height':_0xa5c11f[_0x2b76dd(0x263)],'depth':_0xa5c11f['depth']};throw new Error(_0x2b76dd(0x1e2)+_0x397cd6);});return{'isReversed':_0x35f430,'zone_dimensions':_0x3bed8a,'divisionType':_0x4b80d1,'divided_length_list':_0x833523};}function wt({divisionType:_0x144d42,parentDimensions:_0x567ffc,lengthList:_0x51137e,childTREEIDs:_0x1806fe,dividerThk:_0x91e418}){const _0x89eb3c=a0_0x27dacb,_0xae29ee=-_0x567ffc['width']/0x2,_0x1241c0=-_0x567ffc[_0x89eb3c(0x128)]/0x2,_0x279674=-_0x567ffc[_0x89eb3c(0x263)]/0x2;return{'childPositions':_0x51137e[_0x89eb3c(0x16d)]((_0x561c25,_0x381887,_0xf70cf7)=>{const _0x82b28f=_0x89eb3c;let _0x4e15fa=0x0,_0xebda27=0x0,_0x1997e=0x0,_0x3853a5;return _0x144d42===_0x82b28f(0x1c4)?(_0x4e15fa=_0xae29ee+_0x561c25[_0x82b28f(0xe6)]+_0x381887/0x2,_0xebda27=0x0,_0x1997e=0x0,_0x3853a5={'width':_0x381887,'height':_0x567ffc[_0x82b28f(0x263)],'depth':_0x567ffc[_0x82b28f(0x128)]},_0x561c25['cumulativeX']+=_0x381887+_0x91e418):_0x144d42===_0x82b28f(0x128)?(_0x4e15fa=0x0,_0xebda27=_0x1241c0+_0x561c25[_0x82b28f(0x249)]+_0x381887/0x2,_0x1997e=0x0,_0x3853a5={'width':_0x567ffc[_0x82b28f(0x1c4)],'height':_0x567ffc['height'],'depth':_0x381887},_0x561c25[_0x82b28f(0x249)]+=_0x381887+_0x91e418):_0x144d42==='independent'||_0x144d42===_0x82b28f(0x107)?(_0x4e15fa=0x0,_0xebda27=0x0,_0x1997e=0x0,_0x3853a5={'width':_0x381887,'height':_0x567ffc[_0x82b28f(0x263)],'depth':_0x567ffc[_0x82b28f(0x128)]}):(_0x4e15fa=0x0,_0xebda27=0x0,_0x1997e=_0x279674+_0x561c25[_0x82b28f(0xba)]+_0x381887/0x2,_0x3853a5={'width':_0x567ffc[_0x82b28f(0x1c4)],'height':_0x381887,'depth':_0x567ffc['depth']},_0x561c25[_0x82b28f(0xba)]+=_0x381887+_0x91e418),_0x561c25['positions'][_0x82b28f(0x17d)]({'x':_0x4e15fa,'y':_0xebda27,'z':_0x1997e,'zone_dims':_0x3853a5,'TREEID':_0x1806fe[_0xf70cf7]}),_0x561c25;},{'cumulativeX':0x0,'cumulativeY':0x0,'cumulativeZ':0x0,'positions':[]})['positions'],'dividerType':_0x144d42};}function Ct(_0x2ae285){return{'front':ie(Re(_0x2ae285)),'left':ie(Fe(_0x2ae285)),'right':ie(Ve(_0x2ae285)),'back':ie($e(_0x2ae285))};}function Lt(_0x192dac,_0x5ad131,_0x1746e8){const _0x8d81db=a0_0x27dacb;return{'front':_0x192dac[_0x8d81db(0xa2)]?.['thk']||0x0,'right':_0x192dac[_0x8d81db(0x125)]?.['thk']||0x0,'back':_0x192dac[_0x8d81db(0x7d)]?.['thk']||0x0,'left':_0x192dac[_0x8d81db(0xc8)]?.[_0x8d81db(0x12c)]||0x0,'top':_0x5ad131,'bottom':_0x1746e8};}function Pt(_0x2c6cd2){const _0x1b86d3=a0_0x27dacb;return{'front':_0x2c6cd2[_0x1b86d3(0xa2)]?.[_0x1b86d3(0x1ef)]||0x0,'right':_0x2c6cd2[_0x1b86d3(0x125)]?.[_0x1b86d3(0x1ef)]||0x0,'back':_0x2c6cd2[_0x1b86d3(0x7d)]?.[_0x1b86d3(0x1ef)]||0x0,'left':_0x2c6cd2['left']?.[_0x1b86d3(0x1ef)]||0x0};}function Ot(_0x36d926,_0x3b412c){const _0xbe1a8e=a0_0x27dacb;return{'dimensions':{'width':_0x36d926[_0xbe1a8e(0x1c4)]-_0x3b412c[_0xbe1a8e(0xc8)]-_0x3b412c[_0xbe1a8e(0x125)],'height':_0x36d926['height'],'depth':_0x36d926[_0xbe1a8e(0x128)]-_0x3b412c['front']-_0x3b412c[_0xbe1a8e(0x7d)]},'position':{'x':_0x3b412c[_0xbe1a8e(0xc8)]/0x2-_0x3b412c[_0xbe1a8e(0x125)]/0x2,'y':_0x3b412c['front']/0x2-_0x3b412c[_0xbe1a8e(0x7d)]/0x2,'z':0x0}};}function Rt(_0x2848e4,_0x2bbc9f){const _0x32a99e=a0_0x27dacb;return{'dimensions':{'width':_0x2848e4[_0x32a99e(0x19e)][_0x32a99e(0x1c4)]-_0x2bbc9f[_0x32a99e(0xc8)]-_0x2bbc9f[_0x32a99e(0x125)],'height':_0x2848e4[_0x32a99e(0x19e)][_0x32a99e(0x263)]-_0x2bbc9f[_0x32a99e(0x9f)]-_0x2bbc9f[_0x32a99e(0x95)],'depth':_0x2848e4[_0x32a99e(0x19e)][_0x32a99e(0x128)]-_0x2bbc9f[_0x32a99e(0xa2)]-_0x2bbc9f[_0x32a99e(0x7d)]},'position':{'x':_0x2bbc9f['left']/0x2-_0x2bbc9f[_0x32a99e(0x125)]/0x2,'y':_0x2bbc9f['front']/0x2-_0x2bbc9f[_0x32a99e(0x7d)]/0x2,'z':_0x2bbc9f[_0x32a99e(0x95)]/0x2-_0x2bbc9f[_0x32a99e(0x9f)]/0x2}};}function Vt(_0x349114,_0x525ce3,_0x3a0f06,_0x3d54e0){const _0x26ff22=a0_0x27dacb;return _0x525ce3[_0x26ff22(0x17f)]?wt({'divisionType':_0x525ce3[_0x26ff22(0x17f)],'parentDimensions':_0x349114,'lengthList':_0x525ce3[_0x26ff22(0x11d)],'childTREEIDs':_0x3d54e0,'dividerThk':Number(_0x3a0f06)||0x0}):{'childPositions':[],'dividerType':_0x26ff22(0x263)};}function $t(_0x36ba7b,_0x5ce4d5,_0x443d0a,_0x6cb09a){const _0x583d15=a0_0x27dacb;if(!_0x443d0a)return{'childPositions':[],'dividerType':'height'};const _0x2fd40e=At(_0x443d0a,_0x36ba7b['dimensions'],_0x5ce4d5);return _0x6cb09a=_0x2fd40e['isReversed']?_0x6cb09a[_0x583d15(0x133)]():_0x6cb09a,Vt(_0x36ba7b[_0x583d15(0x19e)],_0x2fd40e,_0x5ce4d5,_0x6cb09a);}function Ke(_0x17726b,_0x17ede0,_0x55c697=0x0,_0x194820=0x0){const _0x37f83d=_0x17726b/0x2,_0x5d01a6=_0x17ede0/0x2,_0x32c3e9=[{'x':_0x37f83d,'y':-_0x5d01a6},{'x':-_0x37f83d,'y':-_0x5d01a6},{'x':-_0x37f83d+_0x55c697,'y':_0x5d01a6},{'x':_0x37f83d-_0x194820,'y':_0x5d01a6}];return{'points':_0x32c3e9,get 'svgPath'(){const _0x3087e4=a0_0x1a1c;return'M\x20'+_0x32c3e9[_0x3087e4(0x1a3)](_0x468a57=>_0x468a57['x']+','+_0x468a57['y'])[_0x3087e4(0x1be)]('\x20L\x20')+'\x20Z';},get 'shape'(){const _0x33cc24=a0_0x1a1c,_0x2de6f3=new Ee[(_0x33cc24(0x1fc))]();return _0x32c3e9['forEach']((_0x14f256,_0xa61380)=>_0xa61380===0x0?_0x2de6f3[_0x33cc24(0x1db)](_0x14f256['x'],_0x14f256['y']):_0x2de6f3[_0x33cc24(0x172)](_0x14f256['x'],_0x14f256['y'])),_0x2de6f3;}};}function Z({length:_0xe64754,width:_0x1e343b,thk:_0x5132e6,material:_0x1e94ef=a0_0x27dacb(0x227),opacity:_0x40b6e2=0.5,isSelected:_0x29ba46=!0x1,isHovered:_0x5673b3=!0x1,onClick:_0x17bf22,onPointerEnter:_0x457cce,onPointerLeave:_0x336e21,startPanelThk:_0x494fd1=0x0,endPanelThk:_0x35c1ee=0x0}){const _0x5e2b27=a0_0x27dacb,_0x42a7b4=_0x29ba46?'#ff6b00':_0x5673b3?_0x5e2b27(0x113):_0x1e94ef,_0x4e9de8=_0x29ba46?0.8:_0x5673b3?0.6:_0x40b6e2,_0xf6e566=T[_0x5e2b27(0x1d9)](()=>{const _0x5b1c6c=_0x5e2b27;if(_0x494fd1!==0x0||_0x35c1ee!==0x0){const {shape:_0x4cb874}=Ke(_0x1e343b,_0x5132e6,_0x494fd1,_0x35c1ee),_0x39b150=new Ee[(_0x5b1c6c(0x8e))](_0x4cb874,{'depth':_0xe64754,'bevelEnabled':!0x1,'steps':0x1});return _0x39b150['center'](),_0x39b150[_0x5b1c6c(0x1a4)](-Math['PI']/0x2),_0x39b150['rotateY'](Math['PI']/0x2),_0x39b150;}else return new Ee[(_0x5b1c6c(0x158))](_0xe64754,_0x1e343b,_0x5132e6);},[_0xe64754,_0x1e343b,_0x5132e6,_0x494fd1,_0x35c1ee]);return h[_0x5e2b27(0x1e7)](_0x5e2b27(0xc9),{'rotation':[0x0,0x0,0x0],'children':h[_0x5e2b27(0x240)](_0x5e2b27(0x112),{'geometry':_0xf6e566,'onClick':_0x17bf22,'onPointerEnter':_0x457cce,'onPointerLeave':_0x336e21,'children':[h[_0x5e2b27(0x1e7)]('meshStandardMaterial',{'color':_0x42a7b4,'opacity':_0x4e9de8,'transparent':!0x0}),h['jsx'](it[_0x5e2b27(0x111)],{'color':_0x29ba46?_0x5e2b27(0x7f):_0x5673b3?_0x5e2b27(0x113):_0x5e2b27(0x237)})]})});}function K({dim_x:_0x49b351,dim_y:_0x4125f8,fill:_0x29495a=a0_0x27dacb(0x202),text:_0x4a1c08='',stroke_width:_0x3e16a8=0x2,rotate:_0x237614=0x0,isSelected:_0x40521d=!0x1,isHovered:_0x37385a=!0x1,onClick:_0x3517c1,onMouseEnter:_0x31df15,onMouseLeave:_0x3299aa,startPanelThk:_0x303fe7=0x0,endPanelThk:_0x52ee6e=0x0}){const _0x253296=a0_0x27dacb,{svgPath:_0x889075}=Ke(_0x49b351,_0x4125f8,_0x303fe7,_0x52ee6e),_0x5d457e=_0x40521d?_0x253296(0x7f):_0x37385a?_0x253296(0x113):'black',_0x17160d=_0x40521d?_0x3e16a8*0x2:_0x37385a?_0x3e16a8*1.5:_0x3e16a8,_0x40cd08=_0x40521d?0.8:_0x37385a?0.7:0.5;return h[_0x253296(0x240)]('g',{'transform':'rotate('+_0x237614+')','children':[h['jsx'](_0x253296(0xf1),{'d':_0x889075,'stroke':_0x5d457e,'strokeWidth':_0x17160d,'fill':_0x29495a,'strokeLinejoin':_0x253296(0x1ac),'strokeMiterlimit':'1','opacity':_0x40cd08,'onClick':_0x3517c1,'onMouseEnter':_0x31df15,'onMouseLeave':_0x3299aa,'style':{'cursor':_0x3517c1?_0x253296(0x11c):_0x253296(0x12e)}}),h[_0x253296(0x1e7)](_0x253296(0x1e5),{'transform':_0x253296(0xb1),'x':0x0,'y':0x0,'textAnchor':_0x253296(0xd1),'dominantBaseline':'middle','fontSize':0xa,'children':_0x4a1c08})]});}function te(_0x49c69a){const _0x1302b8=a0_0x27dacb,_0x1e21e3=T[_0x1302b8(0x187)]($);if(!_0x1e21e3)throw new Error(_0x1302b8(0xde));const {selectedElem:_0x4325ce,setSelectedElem:_0x4c3f27,hoveredElem:_0x593472,setHoveredElem:_0x394377}=_0x1e21e3,_0x2cdc51=_0x4325ce===_0x49c69a;return{'isSelected':_0x2cdc51,'isHovered':_0x593472===_0x49c69a,'handleClick':()=>{_0x4c3f27(_0x2cdc51?null:_0x49c69a);},'handleMouseEnter':()=>{_0x394377(_0x49c69a);},'handleMouseLeave':()=>{_0x394377(null);}};}function Ft({TREEID:_0x45db6b,dimension:_0x277c7b,view:_0x4b7bed,helper:_0x3aac3a}){const _0x533bfd=a0_0x27dacb,_0x3fb412=_0x3aac3a[_0x533bfd(0xa2)],_0x52f2da=T[_0x533bfd(0x187)]($),{isSelected:_0x5026fe,isHovered:_0x229397,handleClick:_0x4042fb,handleMouseEnter:_0x46081e,handleMouseLeave:_0x3caea8}=te(_0x45db6b);if(!_0x3fb412||!_0x52f2da)return;const _0x267442=_0x533bfd(0x18c)+_0x3fb412['sidePanel']?.[_0x533bfd(0x141)][_0x533bfd(0x196)]?.['RENDER_PRZ']+_0x533bfd(0x1d2),{CPNAME:_0x126545}=_0x3fb412;if(!_0x126545)return null;const {elmTrimThk:_0x3cdcbd}=_0x3fb412,_0x398f04=_0x3aac3a[_0x533bfd(0xc8)]?.[_0x533bfd(0x12c)],_0x31f0b5=_0x3aac3a['right']?.[_0x533bfd(0x12c)],_0x2a0f23=(_0x3fb412[_0x533bfd(0x255)][_0x533bfd(0x118)]==='S'?_0x398f04:0x0)??0x0,_0x2508e1=(_0x3fb412['trim']['end']==='S'?_0x31f0b5:0x0)??0x0,_0x26d844=(_0x3fb412[_0x533bfd(0x255)][_0x533bfd(0x118)]==='M'?_0x398f04:0x0)??0x0,_0x2502e3=(_0x3fb412[_0x533bfd(0x255)][_0x533bfd(0xa5)]==='M'?_0x31f0b5:0x0)??0x0,_0x184c60=_0x277c7b[_0x533bfd(0x263)]-_0x3cdcbd['top']-_0x3cdcbd[_0x533bfd(0x95)]+_0x3fb412[_0x533bfd(0x124)]['top']+_0x3fb412[_0x533bfd(0x124)][_0x533bfd(0x95)],_0x2a7a8d=_0x277c7b[_0x533bfd(0x1c4)]-_0x2a0f23-_0x2508e1+_0x3fb412[_0x533bfd(0x124)]['start']+_0x3fb412['oversize']['end'],_0x249cc5=_0x3fb412[_0x533bfd(0x12c)],_0x5448ad=-(_0x3fb412['oversize'][_0x533bfd(0x118)]/0x2-_0x3fb412[_0x533bfd(0x124)][_0x533bfd(0xa5)]/0x2-_0x2a0f23/0x2+_0x2508e1/0x2),_0x2e4966=_0x3fb412[_0x533bfd(0x124)][_0x533bfd(0x95)]/0x2-_0x3fb412['oversize'][_0x533bfd(0x9f)]/0x2+_0x3cdcbd[_0x533bfd(0x95)]/0x2-_0x3cdcbd[_0x533bfd(0x9f)]/0x2,_0x4b8b78=-(_0x277c7b['depth']/0x2-_0x249cc5/0x2);return _0x4b7bed===N['_3D']?h['jsx']('group',{'position':[_0x5448ad/E,_0x4b8b78/E,_0x2e4966/E],'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'children':h[_0x533bfd(0x1e7)](Z,{'length':_0x184c60/E,'width':_0x2a7a8d/E,'thk':_0x249cc5/E,'treeId':_0x45db6b,'isSelected':_0x5026fe,'isHovered':_0x229397,'onClick':_0x4042fb,'onPointerEnter':_0x46081e,'onPointerLeave':_0x3caea8,'startPanelThk':_0x26d844,'endPanelThk':_0x2502e3,'render_image':_0x267442})}):h[_0x533bfd(0x1e7)]('g',{'transform':_0x533bfd(0x23a)+_0x5448ad+','+(_0x4b7bed===N[_0x533bfd(0x11e)]?_0x4b8b78:_0x2e4966)+_0x533bfd(0xe3),'children':h[_0x533bfd(0x1e7)](K,{'dim_x':_0x2a7a8d,'dim_y':_0x4b7bed===N[_0x533bfd(0x11e)]?_0x249cc5:_0x184c60,'text':_0x533bfd(0x1ce)+_0x184c60+'\x20x\x20'+_0x2a7a8d+_0x533bfd(0x78)+_0x249cc5,'treeId':_0x45db6b,'isSelected':_0x5026fe,'isHovered':_0x229397,'onClick':_0x4042fb,'onMouseEnter':_0x46081e,'onMouseLeave':_0x3caea8,'startPanelThk':_0x4b7bed===N[_0x533bfd(0x11e)]?_0x26d844:0x0,'endPanelThk':_0x4b7bed===N[_0x533bfd(0x11e)]?_0x2502e3:0x0})});}const se=({view:_0x32d2e3=N[a0_0x27dacb(0x265)],position:_0x16af88=[0x0,0x0,0x0],rotation:_0x284b36=[0x0,0x0,0x0],children:_0x32f6e1})=>{const _0x4989d4=a0_0x27dacb;if(_0x32d2e3===N[_0x4989d4(0x265)])return h['jsx'](_0x4989d4(0xc9),{'position':[_0x16af88[0x0],_0x16af88[0x1],_0x16af88[0x2]],'rotation':_0x284b36,'children':_0x32f6e1});const _0x3bb4cf=_0x16af88[0x0],_0x107a1e=_0x32d2e3===N['_2D_TOP']?_0x16af88[0x1]:_0x16af88[0x2],_0x9cdbe7=_0x284b36[0x2]*(0xb4/Math['PI']);return h[_0x4989d4(0x1e7)]('g',{'transform':_0x4989d4(0x23a)+_0x3bb4cf+','+_0x107a1e+')\x20rotate('+_0x9cdbe7+')','children':_0x32f6e1});};function jt({TREEID:_0x168ced,dimension:_0x5501c1,view:_0x3896e1,helper:_0x3c19aa}){const _0x18fb9e=a0_0x27dacb,_0x344cdb=_0x3c19aa[_0x18fb9e(0xc8)],_0x402243=T['useContext']($),{isSelected:_0x344a45,isHovered:_0x5f31ba,handleClick:_0x1102ad,handleMouseEnter:_0x176ca1,handleMouseLeave:_0x13d5bf}=te(_0x168ced);if(!_0x344cdb||!_0x402243)return;const {CPNAME:_0xaf8922}=_0x344cdb;if(!_0xaf8922)return null;const {elmTrimThk:_0x1e1194}=_0x344cdb,_0x21dfe1=_0x3c19aa[_0x18fb9e(0x7d)]?.[_0x18fb9e(0x12c)],_0x26cd7c=_0x3c19aa[_0x18fb9e(0xa2)]?.[_0x18fb9e(0x12c)],_0xaab99b=(_0x344cdb[_0x18fb9e(0x255)][_0x18fb9e(0x118)]==='S'?_0x21dfe1:0x0)??0x0,_0x348134=(_0x344cdb[_0x18fb9e(0x255)][_0x18fb9e(0xa5)]==='S'?_0x26cd7c:0x0)??0x0,_0x1e729b=(_0x344cdb[_0x18fb9e(0x255)][_0x18fb9e(0x118)]==='M'?_0x21dfe1:0x0)??0x0,_0x52f2b5=(_0x344cdb['trim']['end']==='M'?_0x26cd7c:0x0)??0x0,_0x57478a=_0x5501c1[_0x18fb9e(0x263)]-_0x1e1194[_0x18fb9e(0x9f)]-_0x1e1194[_0x18fb9e(0x95)]+_0x344cdb[_0x18fb9e(0x124)][_0x18fb9e(0x9f)]+_0x344cdb['oversize']['bottom'],_0x2da89a=_0x5501c1[_0x18fb9e(0x128)]-_0xaab99b-_0x348134+_0x344cdb[_0x18fb9e(0x124)][_0x18fb9e(0x118)]+_0x344cdb[_0x18fb9e(0x124)][_0x18fb9e(0xa5)],_0x1648f3=_0x344cdb[_0x18fb9e(0x12c)],_0xadb0e2=-(_0x5501c1[_0x18fb9e(0x1c4)]/0x2-_0x1648f3/0x2),_0x48148a=_0x344cdb[_0x18fb9e(0x124)][_0x18fb9e(0x118)]/0x2-_0x344cdb['oversize'][_0x18fb9e(0xa5)]/0x2-_0xaab99b/0x2+_0x348134/0x2,_0x494244=_0x344cdb[_0x18fb9e(0x124)]['bottom']/0x2-_0x344cdb[_0x18fb9e(0x124)][_0x18fb9e(0x9f)]/0x2+_0x1e1194['bottom']/0x2-_0x1e1194[_0x18fb9e(0x9f)]/0x2;return _0x3896e1===N[_0x18fb9e(0x265)]?h['jsx'](_0x18fb9e(0xc9),{'position':[_0xadb0e2/E,_0x48148a/E,_0x494244/E],'rotation':[0x0,-Math['PI']/0x2,0x0],'children':h[_0x18fb9e(0x1e7)](Z,{'length':_0x57478a/E,'width':_0x2da89a/E,'thk':_0x1648f3/E,'treeId':_0x168ced,'isSelected':_0x344a45,'isHovered':_0x5f31ba,'onClick':_0x1102ad,'onPointerEnter':_0x176ca1,'onPointerLeave':_0x13d5bf,'startPanelThk':_0x1e729b,'endPanelThk':_0x52f2b5})}):h[_0x18fb9e(0x1e7)]('g',{'transform':'translate('+_0xadb0e2+','+(_0x3896e1===N[_0x18fb9e(0x11e)]?_0x48148a:_0x494244)+_0x18fb9e(0xf5),'children':h[_0x18fb9e(0x1e7)](K,{'dim_x':_0x3896e1===N[_0x18fb9e(0x11e)]?_0x2da89a:_0x57478a,'dim_y':_0x1648f3,'text':_0x18fb9e(0x100)+_0x57478a+'\x20x\x20'+_0x2da89a+_0x18fb9e(0x78)+_0x1648f3,'treeId':_0x168ced,'rotate':0xb4,'isSelected':_0x344a45,'isHovered':_0x5f31ba,'onClick':_0x1102ad,'onMouseEnter':_0x176ca1,'onMouseLeave':_0x13d5bf,'startPanelThk':_0x3896e1===N['_2D_TOP']?_0x1e729b:0x0,'endPanelThk':_0x3896e1===N['_2D_TOP']?_0x52f2b5:0x0})});}function zt({TREEID:_0x4f33a9,dimension:_0x35a4f6,view:_0x5588e2,helper:_0x586839}){const _0x74a919=a0_0x27dacb,_0x24c469=_0x586839['back'],_0x4058fb=T[_0x74a919(0x187)]($),{isSelected:_0xcae82d,isHovered:_0x22183e,handleClick:_0x3c4f7c,handleMouseEnter:_0x32fa86,handleMouseLeave:_0x1c53f1}=te(_0x4f33a9);if(!_0x24c469||!_0x4058fb)return;const {CPNAME:_0x208681}=_0x24c469;if(!_0x208681)return null;const {elmTrimThk:_0xc74c84}=_0x24c469,_0x2c8467=_0x586839[_0x74a919(0x125)]?.[_0x74a919(0x12c)],_0xbe9174=_0x586839[_0x74a919(0xc8)]?.[_0x74a919(0x12c)],_0x38a86e=(_0x24c469[_0x74a919(0x255)][_0x74a919(0x118)]==='S'?_0x2c8467:0x0)??0x0,_0x538506=(_0x24c469[_0x74a919(0x255)][_0x74a919(0xa5)]==='S'?_0xbe9174:0x0)??0x0,_0x4b64ba=(_0x24c469[_0x74a919(0x255)][_0x74a919(0x118)]==='M'?_0x2c8467:0x0)??0x0,_0x441eb3=(_0x24c469[_0x74a919(0x255)][_0x74a919(0xa5)]==='M'?_0xbe9174:0x0)??0x0,_0x53baf2=_0x35a4f6[_0x74a919(0x263)]-_0xc74c84[_0x74a919(0x9f)]-_0xc74c84[_0x74a919(0x95)]+_0x24c469[_0x74a919(0x124)][_0x74a919(0x9f)]+_0x24c469[_0x74a919(0x124)][_0x74a919(0x95)],_0x1ec616=_0x35a4f6[_0x74a919(0x1c4)]-_0x38a86e-_0x538506+_0x24c469['oversize'][_0x74a919(0x118)]+_0x24c469['oversize'][_0x74a919(0xa5)],_0x3373c4=_0x24c469['thk'],_0x5ef05e=_0x24c469[_0x74a919(0x124)][_0x74a919(0x118)]/0x2-_0x24c469[_0x74a919(0x124)][_0x74a919(0xa5)]/0x2-_0x38a86e/0x2+_0x538506/0x2,_0x487451=_0x35a4f6[_0x74a919(0x128)]/0x2-_0x3373c4/0x2,_0x1675a3=_0x24c469['oversize']['bottom']/0x2-_0x24c469[_0x74a919(0x124)][_0x74a919(0x9f)]/0x2+_0xc74c84[_0x74a919(0x95)]/0x2-_0xc74c84['top']/0x2;return _0x5588e2===N[_0x74a919(0x265)]?h[_0x74a919(0x1e7)](_0x74a919(0xc9),{'position':[_0x5ef05e/E,_0x487451/E,_0x1675a3/E],'rotation':[Math['PI']/0x2,Math['PI'],Math['PI']/0x2],'children':h[_0x74a919(0x1e7)](Z,{'length':_0x53baf2/E,'width':_0x1ec616/E,'thk':_0x3373c4/E,'treeId':_0x4f33a9,'isSelected':_0xcae82d,'isHovered':_0x22183e,'onClick':_0x3c4f7c,'onPointerEnter':_0x32fa86,'onPointerLeave':_0x1c53f1,'startPanelThk':_0x4b64ba,'endPanelThk':_0x441eb3})}):h[_0x74a919(0x1e7)]('g',{'transform':_0x74a919(0x23a)+_0x5ef05e+','+(_0x5588e2===N[_0x74a919(0x11e)]?_0x487451:_0x1675a3)+')\x20rotate(0)','children':h[_0x74a919(0x1e7)](K,{'dim_x':_0x1ec616,'dim_y':_0x5588e2===N[_0x74a919(0x11e)]?_0x3373c4:_0x53baf2,'text':_0x74a919(0x12b)+_0x53baf2+'\x20x\x20'+_0x1ec616+'\x20x\x20'+_0x3373c4,'treeId':_0x4f33a9,'isSelected':_0xcae82d,'rotate':0xb4,'isHovered':_0x22183e,'onClick':_0x3c4f7c,'onMouseEnter':_0x32fa86,'onMouseLeave':_0x1c53f1,'startPanelThk':_0x5588e2===N[_0x74a919(0x11e)]?_0x4b64ba:0x0,'endPanelThk':_0x5588e2===N['_2D_TOP']?_0x441eb3:0x0})});}function Ut({TREEID:_0x31d660,dimension:_0x2019c5,view:_0x1ad121,helper:_0x2f50ac}){const _0x2af1b8=a0_0x27dacb,_0x30c6df=_0x2f50ac['right'],_0x2205b5=T[_0x2af1b8(0x187)]($),{isSelected:_0x17ea60,isHovered:_0x2d90fc,handleClick:_0x40b9bc,handleMouseEnter:_0xf609c7,handleMouseLeave:_0x162061}=te(_0x31d660);if(!_0x30c6df||!_0x2205b5)return;const {CPNAME:_0x42f458}=_0x30c6df;if(!_0x42f458)return null;const {elmTrimThk:_0xe5270d}=_0x30c6df,_0x2b12fe=_0x2f50ac[_0x2af1b8(0xa2)]?.['thk'],_0x40f134=_0x2f50ac[_0x2af1b8(0x7d)]?.[_0x2af1b8(0x12c)],_0x2a87b5=(_0x30c6df[_0x2af1b8(0x255)][_0x2af1b8(0x118)]==='S'?_0x2b12fe:0x0)??0x0,_0x1a01bc=(_0x30c6df[_0x2af1b8(0x255)]['end']==='S'?_0x40f134:0x0)??0x0,_0x4ac6ad=(_0x30c6df[_0x2af1b8(0x255)][_0x2af1b8(0x118)]==='M'?_0x2b12fe:0x0)??0x0,_0x522df1=(_0x30c6df['trim'][_0x2af1b8(0xa5)]==='M'?_0x40f134:0x0)??0x0,_0x1c2167=_0x2019c5[_0x2af1b8(0x263)]-_0xe5270d[_0x2af1b8(0x9f)]-_0xe5270d['bottom']+_0x30c6df[_0x2af1b8(0x124)][_0x2af1b8(0x9f)]+_0x30c6df[_0x2af1b8(0x124)][_0x2af1b8(0x95)],_0x15f08e=_0x2019c5[_0x2af1b8(0x128)]-_0x2a87b5-_0x1a01bc+_0x30c6df[_0x2af1b8(0x124)]['start']+_0x30c6df[_0x2af1b8(0x124)]['end'],_0x56ddc2=_0x30c6df['thk'],_0x32dfd1=_0x2019c5['width']/0x2-_0x56ddc2/0x2,_0x457a50=-(_0x30c6df[_0x2af1b8(0x124)][_0x2af1b8(0x118)]/0x2-_0x30c6df[_0x2af1b8(0x124)][_0x2af1b8(0xa5)]/0x2-_0x2a87b5/0x2+_0x1a01bc/0x2),_0x1fc3f0=_0x30c6df[_0x2af1b8(0x124)]['bottom']/0x2+_0x30c6df[_0x2af1b8(0x124)][_0x2af1b8(0x9f)]/0x2+_0xe5270d[_0x2af1b8(0x95)]/0x2-_0xe5270d[_0x2af1b8(0x9f)]/0x2;return _0x1ad121===N[_0x2af1b8(0x265)]?h['jsx'](_0x2af1b8(0xc9),{'position':[_0x32dfd1/E,_0x457a50/E,_0x1fc3f0/E],'rotation':[0x0,Math['PI']/0x2,Math['PI']],'children':h[_0x2af1b8(0x1e7)](Z,{'length':_0x1c2167/E,'width':_0x15f08e/E,'thk':_0x56ddc2/E,'treeId':_0x31d660,'isSelected':_0x17ea60,'isHovered':_0x2d90fc,'onClick':_0x40b9bc,'onPointerEnter':_0xf609c7,'onPointerLeave':_0x162061,'startPanelThk':_0x4ac6ad,'endPanelThk':_0x522df1})}):h[_0x2af1b8(0x1e7)]('g',{'transform':_0x2af1b8(0x23a)+_0x32dfd1+','+(_0x1ad121===N[_0x2af1b8(0x11e)]?_0x457a50:_0x1fc3f0)+_0x2af1b8(0xf5),'children':h[_0x2af1b8(0x1e7)](K,{'dim_x':_0x1ad121===N['_2D_TOP']?_0x15f08e:_0x1c2167,'dim_y':_0x56ddc2,'text':_0x2af1b8(0x198)+_0x1c2167+'\x20x\x20'+_0x15f08e+'\x20x\x20'+_0x56ddc2,'treeId':_0x31d660,'isSelected':_0x17ea60,'isHovered':_0x2d90fc,'onClick':_0x40b9bc,'onMouseEnter':_0xf609c7,'onMouseLeave':_0x162061,'startPanelThk':_0x1ad121===N['_2D_TOP']?_0x4ac6ad:0x0,'endPanelThk':_0x1ad121===N[_0x2af1b8(0x11e)]?_0x522df1:0x0})});}function Ht({TREEID:_0x1b2571,dimension:_0x584d51,view:_0x292975,helper:_0x30a318}){const _0x29a483=a0_0x27dacb,_0x366b97=he(_0x1b2571),_0x389eea=T[_0x29a483(0x187)]($),{isSelected:_0x37726a,isHovered:_0x5d0745,handleClick:_0xc29522,handleMouseEnter:_0x8d9d77,handleMouseLeave:_0x3516d3}=te(_0x1b2571);if(!_0x366b97||!_0x389eea)return;const {topShelfCP:_0x5a92a1}=_0x366b97;if(!_0x5a92a1)return;const _0x286e91=(_0x30a318['front']?.[_0x29a483(0x255)]['top']!=='S'?_0x30a318[_0x29a483(0xa2)]?.[_0x29a483(0x12c)]:0x0)??0x0,_0x231393=(_0x30a318[_0x29a483(0x7d)]?.['trim'][_0x29a483(0x9f)]!=='S'?_0x30a318[_0x29a483(0x7d)]?.[_0x29a483(0x12c)]:0x0)??0x0,_0x5e9b7d=(_0x30a318[_0x29a483(0xc8)]?.[_0x29a483(0x255)][_0x29a483(0x9f)]!=='S'?_0x30a318[_0x29a483(0xc8)]?.[_0x29a483(0x12c)]:0x0)??0x0,_0x179b79=(_0x30a318[_0x29a483(0x125)]?.[_0x29a483(0x255)][_0x29a483(0x9f)]!=='S'?_0x30a318[_0x29a483(0x125)]?.[_0x29a483(0x12c)]:0x0)??0x0,_0x3c49ac=_0x584d51[_0x29a483(0x1c4)]-_0x5e9b7d-_0x179b79,_0x56efa4=_0x584d51[_0x29a483(0x128)]-_0x231393-_0x286e91,_0x2fe0ea=_0x366b97['topShelfThk'],_0x33f078=_0x5e9b7d/0x2-_0x179b79/0x2,_0x2d79a6=-(_0x231393/0x2-_0x286e91/0x2),_0x10cb19=_0x584d51[_0x29a483(0x263)]/0x2-_0x2fe0ea/0x2;return _0x292975===N[_0x29a483(0x265)]?h['jsx'](_0x29a483(0xc9),{'position':[_0x33f078/E,_0x2d79a6/E,_0x10cb19/E],'rotation':[0x0,0x0,0x0],'children':h[_0x29a483(0x1e7)](Z,{'length':_0x3c49ac/E,'width':_0x56efa4/E,'thk':_0x2fe0ea/E,'opacity':0.8,'treeId':_0x1b2571,'isSelected':_0x37726a,'isHovered':_0x5d0745,'onClick':_0xc29522,'onPointerEnter':_0x8d9d77,'onPointerLeave':_0x3516d3})}):h[_0x29a483(0x1e7)]('g',{'transform':'translate('+_0x33f078+','+(_0x292975===N['_2D_TOP']?_0x2d79a6:_0x10cb19)+')','children':h[_0x29a483(0x1e7)](K,{'dim_x':_0x3c49ac,'dim_y':_0x292975===N['_2D_TOP']?_0x56efa4:_0x2fe0ea,'text':'Top\x20'+_0x1b2571+_0x29a483(0x10e)+_0x3c49ac+_0x29a483(0x78)+_0x56efa4+'\x20x\x20'+_0x2fe0ea,'treeId':_0x1b2571,'isSelected':_0x37726a,'isHovered':_0x5d0745,'onClick':_0xc29522,'onMouseEnter':_0x8d9d77,'onMouseLeave':_0x3516d3})});}function Bt({TREEID:_0x1aa8a0,dimension:_0x78ee14,view:_0x58c485,helper:_0x14d5b0}){const _0x87f80d=a0_0x27dacb,_0x37e8fc=he(_0x1aa8a0),_0xb0be70=T[_0x87f80d(0x187)]($),{isSelected:_0x521ec2,isHovered:_0x2919f5,handleClick:_0x4c2ed6,handleMouseEnter:_0x23c1ab,handleMouseLeave:_0x30186f}=te(_0x1aa8a0);if(!_0x37e8fc||!_0xb0be70)return;const {bottomShelfCP:_0x1abb81}=_0x37e8fc;if(!_0x1abb81)return;const _0xe9b469=(_0x14d5b0[_0x87f80d(0xa2)]?.[_0x87f80d(0x255)][_0x87f80d(0x95)]!=='S'?_0x14d5b0['front']?.[_0x87f80d(0x12c)]:0x0)??0x0,_0x54e35b=(_0x14d5b0[_0x87f80d(0x7d)]?.[_0x87f80d(0x255)][_0x87f80d(0x95)]!=='S'?_0x14d5b0[_0x87f80d(0x7d)]?.[_0x87f80d(0x12c)]:0x0)??0x0,_0x386d4b=(_0x14d5b0['left']?.[_0x87f80d(0x255)][_0x87f80d(0x95)]!=='S'?_0x14d5b0['left']?.['thk']:0x0)??0x0,_0x5b28a6=(_0x14d5b0['right']?.[_0x87f80d(0x255)][_0x87f80d(0x95)]!=='S'?_0x14d5b0[_0x87f80d(0x125)]?.[_0x87f80d(0x12c)]:0x0)??0x0,_0x49e7de=_0x78ee14['width']-_0x386d4b-_0x5b28a6,_0x29fd46=_0x78ee14[_0x87f80d(0x128)]-_0x54e35b-_0xe9b469,_0x36caad=_0x37e8fc[_0x87f80d(0x24f)],_0x50babd=_0x386d4b/0x2-_0x5b28a6/0x2,_0x4972dc=-(_0x54e35b/0x2-_0xe9b469/0x2),_0x4ba7c3=-(_0x78ee14[_0x87f80d(0x263)]/0x2-_0x36caad/0x2);return _0x58c485===N[_0x87f80d(0x265)]?h[_0x87f80d(0x1e7)](_0x87f80d(0xc9),{'position':[_0x50babd/E,_0x4972dc/E,_0x4ba7c3/E],'rotation':[0x0,0x0,0x0],'children':h[_0x87f80d(0x1e7)](Z,{'length':_0x49e7de/E,'width':_0x29fd46/E,'thk':_0x36caad/E,'opacity':0.8,'treeId':_0x1aa8a0,'isSelected':_0x521ec2,'isHovered':_0x2919f5,'onClick':_0x4c2ed6,'onPointerEnter':_0x23c1ab,'onPointerLeave':_0x30186f})}):h[_0x87f80d(0x1e7)]('g',{'transform':_0x87f80d(0x23a)+_0x50babd+','+(_0x58c485===N['_2D_TOP']?_0x4972dc:_0x4ba7c3)+')','children':h[_0x87f80d(0x1e7)](K,{'dim_x':_0x49e7de,'dim_y':_0x58c485===N[_0x87f80d(0x11e)]?_0x29fd46:_0x36caad,'text':_0x87f80d(0x218)+_0x49e7de+_0x87f80d(0x78)+_0x29fd46+_0x87f80d(0x78)+_0x36caad,'treeId':_0x1aa8a0,'isSelected':_0x521ec2,'isHovered':_0x2919f5,'onClick':_0x4c2ed6,'onMouseEnter':_0x23c1ab,'onMouseLeave':_0x30186f})});}const be=T[a0_0x27dacb(0xdc)](null);function Ye(){const _0x2b45d5=T['useContext'](be);if(!_0x2b45d5)throw new Error('useDescriptorManager\x20must\x20be\x20used\x20within\x20a\x20DescriptorProvider');return _0x2b45d5;}function We(_0x2b1325,_0x12a2c4,_0x535995,_0x153c68={}){const _0x55f0d4=a0_0x27dacb,{throwOnError:_0x16c49c=!0x1}=_0x153c68;if(!_0x2b1325['hasDescriptor'](_0x12a2c4))throw new Error(_0x55f0d4(0xa8)+_0x12a2c4+'\x20not\x20found');return T[_0x55f0d4(0x1d9)](()=>{const _0x2d7b0e=_0x55f0d4;try{return{'result':_0x2b1325['evaluate'](_0x12a2c4,_0x535995),'error':null,'success':!0x0};}catch(_0x4d70dc){const _0x117d9b=_0x4d70dc instanceof Error?_0x4d70dc['message']:_0x2d7b0e(0xbf);if(_0x16c49c)throw _0x4d70dc;return{'result':null,'error':_0x117d9b,'success':!0x1};}},[_0x2b1325,_0x12a2c4,_0x535995,_0x16c49c]);}function Gt(_0x43470e,_0x481bf6,_0x12c598){const _0x3badf3=a0_0x27dacb;return T[_0x3badf3(0x1d9)](()=>{const _0x28654a=_0x3badf3;try{const _0x48d340=_0x43470e['findAllMatches'](_0x481bf6,_0x12c598);return{'matches':_0x48d340,'error':null,'count':_0x48d340[_0x28654a(0x114)]};}catch(_0x143aff){const _0x202155=_0x143aff instanceof Error?_0x143aff[_0x28654a(0x14a)]:_0x28654a(0xbf);return{'matches':[],'error':_0x202155,'count':0x0};}},[_0x43470e,_0x481bf6,_0x12c598]);}const j={'LINEAR_DIVISION':a0_0x27dacb(0x24b),'ARTICLE':'article'},H={'STRING':a0_0x27dacb(0xa3),'DESCRIPTOR':a0_0x27dacb(0x1c3)},Le={'linearDivision':_0x268897=>_0x268897[a0_0x27dacb(0xc2)]===j[a0_0x27dacb(0x22b)],'article':_0x1033b1=>_0x1033b1[a0_0x27dacb(0xc2)]===j['ARTICLE']},Zt={'string':_0x531f18=>_0x531f18[a0_0x27dacb(0xc2)]===j[a0_0x27dacb(0x22b)]&&_0x531f18[a0_0x27dacb(0x25d)]===H[a0_0x27dacb(0x245)],'descriptor':_0x366b87=>_0x366b87[a0_0x27dacb(0xc2)]===j[a0_0x27dacb(0x22b)]&&_0x366b87[a0_0x27dacb(0x25d)]===H[a0_0x27dacb(0xad)]},le={'string':_0x42251b=>_0x42251b[a0_0x27dacb(0xc2)]===j[a0_0x27dacb(0xda)]&&_0x42251b[a0_0x27dacb(0x25d)]===H[a0_0x27dacb(0x245)],'descriptor':_0x2235d6=>_0x2235d6[a0_0x27dacb(0xc2)]===j[a0_0x27dacb(0xda)]&&_0x2235d6[a0_0x27dacb(0x25d)]===H[a0_0x27dacb(0xad)]},re={'linearDivisionString'(_0x21cd75,_0x259e2d,_0x3edd2c,_0x1c3978,_0x581a65,_0x12ef1e,_0x586938,_0x2d3756){const _0x21b9e4=a0_0x27dacb;return{'TREEID':_0x21cd75,'type':j['LINEAR_DIVISION'],'valueSource':H[_0x21b9e4(0x245)],'DIVDIR':_0x259e2d,'DIVTYPE':_0x3edd2c,'HORDEFTYPE':_0x1c3978,'LINDIV1':_0x581a65,'DIVELEM1':_0x12ef1e,'DIVIDER':'','formula':_0x586938,'thickness':_0x2d3756};},'linearDivisionDescriptor'(_0x5454ed,_0x3f21aa,_0x4ebfc8,_0x5d1936,_0x168756,_0x8d031b,_0x15dabc,_0x145be5){const _0x49780e=a0_0x27dacb;return{'TREEID':_0x5454ed,'type':j[_0x49780e(0x22b)],'valueSource':H[_0x49780e(0xad)],'DIVDIR':_0x3f21aa,'DIVTYPE':_0x4ebfc8,'HORDEFTYPE':_0x5d1936,'LINDIV1':_0x168756,'DIVELEM1':_0x8d031b,'DIVIDER':'','descriptorName':_0x15dabc,'thickness':_0x145be5};},'articleString'(_0x4e04fe,_0x125d7f,_0x546185,_0x2d445e,_0x53a67a,_0x10ebce,_0x3c1a8b){const _0x3c821a=a0_0x27dacb;return{'TREEID':_0x4e04fe,'type':j[_0x3c821a(0xda)],'valueSource':H[_0x3c821a(0x245)],'DIVDIR':_0x125d7f,'DIVTYPE':_0x546185,'HORDEFTYPE':_0x2d445e,'LINDIV1':_0x53a67a,'DIVELEM1':_0x10ebce,'DIVIDER':_0x3c1a8b,'articleName':_0x3c1a8b};},'articleDescriptor'(_0x31c5e9,_0x100149,_0x412700,_0x3f9d14,_0x408c34,_0x3e32c5,_0x59f2ba){const _0x17256b=a0_0x27dacb;return{'TREEID':_0x31c5e9,'type':j['ARTICLE'],'valueSource':H[_0x17256b(0xad)],'DIVDIR':_0x100149,'DIVTYPE':_0x412700,'HORDEFTYPE':_0x3f9d14,'LINDIV1':_0x408c34,'DIVELEM1':_0x3e32c5,'DIVIDER':_0x59f2ba,'descriptorName':_0x59f2ba};},'fromZoneData'(_0x31e9aa,_0x108db7){const _0x3303f1=a0_0x27dacb,_0x12e313=_0x923def=>_0x923def[_0x3303f1(0x255)]()[_0x3303f1(0x147)]('#');if(_0x31e9aa[_0x3303f1(0x1ba)]==='A'){if(_0x12e313(_0x31e9aa[_0x3303f1(0x16e)])){const _0x2565ed=_0x31e9aa[_0x3303f1(0x16e)]['replace']('#','')['trim']();return re[_0x3303f1(0x1da)](_0x31e9aa[_0x3303f1(0x203)],_0x31e9aa[_0x3303f1(0x1ba)],_0x31e9aa[_0x3303f1(0xb6)],_0x31e9aa[_0x3303f1(0x1d5)],_0x31e9aa[_0x3303f1(0xbb)],_0x31e9aa['DIVELEM1'],_0x2565ed);}return re[_0x3303f1(0xc3)](_0x31e9aa[_0x3303f1(0x203)],_0x31e9aa[_0x3303f1(0x1ba)],_0x31e9aa[_0x3303f1(0xb6)],_0x31e9aa[_0x3303f1(0x1d5)],_0x31e9aa[_0x3303f1(0xbb)],_0x31e9aa[_0x3303f1(0x188)],_0x31e9aa['DIVIDER']);}if(_0x12e313(_0x31e9aa[_0x3303f1(0xbb)])){const _0xee269a=_0x31e9aa['LINDIV1'][_0x3303f1(0x166)]('#','')[_0x3303f1(0x255)]();return re[_0x3303f1(0xe0)](_0x31e9aa[_0x3303f1(0x203)],_0x31e9aa[_0x3303f1(0x1ba)],_0x31e9aa[_0x3303f1(0xb6)],_0x31e9aa[_0x3303f1(0x1d5)],_0x31e9aa['LINDIV1'],_0x31e9aa[_0x3303f1(0x188)],_0xee269a,_0x108db7);}return re[_0x3303f1(0x9c)](_0x31e9aa[_0x3303f1(0x203)],_0x31e9aa['DIVDIR'],_0x31e9aa['DIVTYPE'],_0x31e9aa[_0x3303f1(0x1d5)],_0x31e9aa[_0x3303f1(0xbb)],_0x31e9aa[_0x3303f1(0x188)],_0x31e9aa[_0x3303f1(0xbb)],_0x108db7);}};function Kt(_0x1cfc91){const _0x410c30=a0_0x27dacb;if(!_0x1cfc91)return'width';const _0x528d2f={0x0:_0x410c30(0x1c4),0x1:_0x410c30(0x128),0x2:_0x410c30(0x1c4),0x3:_0x410c30(0x128)};return _0x1cfc91[_0x410c30(0x1ba)]==='V'?'height':_0x1cfc91[_0x410c30(0x1d5)]==='W'?'width':_0x1cfc91[_0x410c30(0x1d5)]==='D'?_0x410c30(0x128):_0x1cfc91[_0x410c30(0x1d5)]==='P'?_0x528d2f[_0x1cfc91['DIVELEM1']]??_0x410c30(0x1c4):_0x410c30(0x1c4);}function Yt(_0x344ed5,_0xfd6bd2){return _0xfd6bd2?_0xfd6bd2[_0x344ed5]:0x0;}function Wt(_0x241721,_0x55634f){const _0x35f085=a0_0x27dacb,_0x564397=_0x241721;if(Jt(_0x241721))return{'value':_0x241721[_0x35f085(0x147)]('#')?_0x241721[_0x35f085(0x22e)](0x1):_0x241721,'original':_0x564397,'isReference':!0x0};if(/^\d+:\d+$/[_0x35f085(0x1aa)](_0x241721))return{'value':_0x241721,'original':_0x564397,'isReference':!0x1};const {format:_0x517595,expression:_0x4429de,suffix:_0xa6942e}=qt(_0x241721);let _0x565c3c=_0x4429de;_0x565c3c=_0x565c3c[_0x35f085(0x166)](/^\((.+)\)$/,'$1');const _0x17270d=He(_0x565c3c,{'variableTree':_0x55634f,'allowFunctions':!0x0,'dataType':'FL','silent':!0x0})[_0x35f085(0x23f)]??_0x4429de;let _0x4fc59e;switch(_0x517595){case'expr:ratio':_0x4fc59e=''+_0x17270d+_0xa6942e;break;case _0x35f085(0x134):_0x4fc59e=''+_0xa6942e+_0x17270d;break;case _0x35f085(0xb2):_0x4fc59e=''+_0x17270d+_0xa6942e;break;case _0x35f085(0xdf):_0x4fc59e=String(_0x17270d);break;}return{'value':_0x4fc59e,'original':_0x564397,'isReference':!0x1};}function Xt(_0x4ee90e,_0x33ae14){const _0x29d419=a0_0x27dacb;return Wt(_0x4ee90e,_0x33ae14)[_0x29d419(0x23f)];}function qt(_0x37dcdc){const _0x3909f4=a0_0x27dacb,_0x6c55ea=_0x37dcdc['trim']()[_0x3909f4(0x166)](/^\((.+)\)$/,'$1'),_0xb4cc0e=_0x6c55ea[_0x3909f4(0x81)](/^(\d+|n):(.+?)(mm|cm)?$/);if(_0xb4cc0e){const [,_0xedcd15,_0x2daacb,_0x3b0204]=_0xb4cc0e;return{'format':_0x3909f4(0x134),'expression':_0x2daacb[_0x3909f4(0x255)](),'suffix':_0x3b0204?_0xedcd15+':'+_0x3b0204:_0xedcd15+':'};}const _0x3c9325=_0x6c55ea['match'](/^(.+?)(mm|cm)?:(\d+)$/);if(_0x3c9325){const [,_0x5255a8,_0x3d091f,_0xe92932]=_0x3c9325;return{'format':_0x3909f4(0x261),'expression':_0x5255a8[_0x3909f4(0x255)](),'suffix':_0x3d091f?_0x3d091f+':'+_0xe92932:':'+_0xe92932};}const _0x4d83ae=_0x6c55ea[_0x3909f4(0x81)](/^(.+?)(\*)?{(\d+)}$/);if(_0x4d83ae){const [,_0x3fe2a2,_0x33f4aa,_0x4c8ad]=_0x4d83ae;return{'format':_0x3909f4(0xb2),'expression':_0x3fe2a2['trim'](),'suffix':_0x33f4aa?'*{'+_0x4c8ad+'}':'{'+_0x4c8ad+'}'};}return{'format':_0x3909f4(0xdf),'expression':_0x6c55ea,'suffix':''};}function Jt(_0x21a82e){const _0x1ca699=a0_0x27dacb;return _0x21a82e[_0x1ca699(0x147)]('#')?!0x0:_0x21a82e[_0x1ca699(0x7e)]('(')||/[+\-*/]/['test'](_0x21a82e)?!0x1:/^[A-Za-z0-9_-]+$/[_0x1ca699(0x1aa)](_0x21a82e)?!0x0:!/^\d+:\d+$/[_0x1ca699(0x1aa)](_0x21a82e);}function Xe({divider:_0x3b963c,inputData:_0x5b9500}){const _0x16ecaf=a0_0x27dacb,_0x512111=Ye(),{resolveString:_0x215a54}=B(),{result:_0x3b6dc4,error:_0x335e37}=We(_0x512111,_0x3b963c[_0x16ecaf(0x183)],_0x5b9500,{'throwOnError':!0x1});_0x335e37&&console[_0x16ecaf(0x151)]('error\x20:\x20from\x20useDescriptorEvaluation',_0x335e37);const _0x333886=T[_0x16ecaf(0x1d9)](()=>_0x3b963c?le[_0x16ecaf(0xa3)](_0x3b963c)?_0x3b963c['articleName']:le[_0x16ecaf(0x1c3)](_0x3b963c)&&_0x3b6dc4?.[_0x16ecaf(0x192)]?_0x3b6dc4[_0x16ecaf(0x192)]:'':'',[_0x3b963c,_0x3b6dc4]);return{'updatedDivider':T[_0x16ecaf(0x1d9)](()=>{const _0x4c8dd9=_0x16ecaf;if(_0x3b963c)return _0x3b6dc4?.[_0x4c8dd9(0x192)]!=null?{..._0x3b963c,'LINDIV1':Xt(_0x215a54(_0x3b6dc4['lindiv'])),'articleName':_0x333886}:{..._0x3b963c,'LINDIV1':_0x215a54(_0x3b963c[_0x4c8dd9(0xbb)])};},[_0x3b963c,_0x3b6dc4,_0x333886,_0x215a54])};}const Qt={'width':{'rotation':[0x0,Math['PI']/0x2,0x0],'get3D':(_0x5a3d9a,_0x45af55)=>({'length':_0x5a3d9a[a0_0x27dacb(0x263)],'width':_0x5a3d9a[a0_0x27dacb(0x128)],'thk':_0x45af55}),'get2DTop':(_0x56c8eb,_0x5bd828)=>({'dim_x':_0x56c8eb['depth'],'dim_y':_0x5bd828,'rotate':0x5a}),'get2DFront':(_0x28653c,_0x3587ca)=>({'dim_x':_0x28653c['height'],'dim_y':_0x3587ca,'rotate':0x5a})},'height':{'rotation':[0x0,0x0,0x0],'get3D':(_0x482b07,_0x1a7229)=>({'length':_0x482b07[a0_0x27dacb(0x1c4)],'width':_0x482b07[a0_0x27dacb(0x128)],'thk':_0x1a7229}),'get2DTop':_0x3012bf=>({'dim_x':_0x3012bf['width'],'dim_y':_0x3012bf['depth']}),'get2DFront':(_0x4cb2f7,_0x568d59)=>({'dim_x':_0x4cb2f7[a0_0x27dacb(0x1c4)],'dim_y':_0x568d59})},'depth':{'rotation':[Math['PI']/0x2,0x0,Math['PI']/0x2],'get3D':(_0x343b6b,_0x28b22b)=>({'length':_0x343b6b['height'],'width':_0x343b6b[a0_0x27dacb(0x1c4)],'thk':_0x28b22b}),'get2DTop':(_0x3fcc14,_0x278bb8)=>({'dim_x':_0x3fcc14['width'],'dim_y':_0x278bb8}),'get2DFront':_0x3134aa=>({'dim_x':_0x3134aa[a0_0x27dacb(0x1c4)],'dim_y':_0x3134aa[a0_0x27dacb(0x263)]})},'article':{'rotation':[0x0,0x0,0x0],'get3D':(_0x25bc8,_0x33831c)=>({'length':_0x25bc8[a0_0x27dacb(0x1c4)],'width':_0x25bc8[a0_0x27dacb(0x128)],'thk':_0x33831c}),'get2DTop':_0x12c51c=>({'dim_x':_0x12c51c[a0_0x27dacb(0x1c4)],'dim_y':_0x12c51c[a0_0x27dacb(0x128)]}),'get2DFront':(_0x46110d,_0x77578b)=>({'dim_x':_0x46110d[a0_0x27dacb(0x1c4)],'dim_y':_0x77578b})},'independent':{'rotation':[0x0,0x0,0x0],'get3D':(_0x38d85f,_0x5f47e9)=>({'length':_0x38d85f['width'],'width':_0x38d85f[a0_0x27dacb(0x128)],'thk':_0x5f47e9}),'get2DTop':_0xe79656=>({'dim_x':_0xe79656['width'],'dim_y':_0xe79656['depth']}),'get2DFront':(_0x35fcc4,_0x57e45e)=>({'dim_x':_0x35fcc4[a0_0x27dacb(0x1c4)],'dim_y':_0x57e45e})}},er=(_0x13b01d,_0x35c20a,_0x25c791)=>({'x':_0x13b01d===a0_0x27dacb(0x1c4)?_0x25c791[a0_0x27dacb(0x1c4)]/0x2+_0x35c20a/0x2:0x0,'y':_0x13b01d===a0_0x27dacb(0x128)?_0x25c791[a0_0x27dacb(0x128)]/0x2+_0x35c20a/0x2:0x0,'z':_0x13b01d===a0_0x27dacb(0x263)?_0x25c791['height']/0x2+_0x35c20a/0x2:0x0});function tr({divider:_0x250b23,view:_0x440208,childrenPositon:_0x291e7c,dividerThk:_0x5e4128}){const _0x30e049=a0_0x27dacb,_0x3a554f=T[_0x30e049(0x187)]($),_0x185be4=_0x291e7c[_0x30e049(0xce)],_0x5bf32a=_0x291e7c[_0x30e049(0x74)],_0x3fa536=Qt[_0x185be4];if(!_0x3a554f)return null;const {selectedElem:_0x81c842,setSelectedElem:_0x51224f,hoveredElem:_0x4871ce,setHoveredElem:_0x4c428c}=_0x3a554f;return _0x5bf32a[_0x30e049(0x1a3)]((_0x218928,_0x2a162d)=>{const _0x5a09e9=_0x30e049,_0x4579be=!(_0x2a162d===_0x5bf32a[_0x5a09e9(0x114)]-0x1)&&_0x5e4128!==0x0,_0x36dc9d=er(_0x185be4,_0x5e4128,_0x218928['zone_dims']),_0x457d47=_0x3fa536[_0x5a09e9(0x259)](_0x218928[_0x5a09e9(0x85)],_0x5e4128),_0x1c34e3=_0x440208===N['_2D_TOP']?_0x3fa536[_0x5a09e9(0x1a7)](_0x218928['zone_dims'],_0x5e4128):_0x3fa536['get2DFront'](_0x218928['zone_dims'],_0x5e4128),_0x2957e2=_0x250b23[_0x5a09e9(0x203)]+_0x5a09e9(0xf3),_0x5e7629=_0x81c842===_0x2957e2,_0x2a490f=_0x4871ce===_0x2957e2;return h[_0x5a09e9(0x1e7)](T[_0x5a09e9(0x17e)],{'children':h[_0x5a09e9(0x240)](se,{'view':_0x440208,'position':[_0x218928['x']/E,_0x218928['y']/E,_0x218928['z']/E],'children':[h['jsx'](se,{'view':_0x440208,'position':[_0x36dc9d['x']/E,_0x36dc9d['y']/E,_0x36dc9d['z']/E],'rotation':_0x3fa536[_0x5a09e9(0x76)],'children':_0x4579be&&h['jsx'](h[_0x5a09e9(0x17e)],{'children':_0x440208===N[_0x5a09e9(0x265)]?h[_0x5a09e9(0x1e7)](Z,{'length':_0x457d47[_0x5a09e9(0x114)]/E,'width':_0x457d47[_0x5a09e9(0x1c4)]/E,'thk':_0x457d47[_0x5a09e9(0x12c)]/E,'opacity':0x1,'treeId':_0x2957e2,'isSelected':_0x5e7629,'isHovered':_0x2a490f,'onClick':()=>_0x51224f(_0x5e7629?null:_0x2957e2),'onPointerEnter':()=>_0x4c428c(_0x2957e2),'onPointerLeave':()=>_0x4c428c(null)}):h[_0x5a09e9(0x1e7)](K,{..._0x1c34e3,'text':_0x2957e2,'treeId':_0x2957e2,'isSelected':_0x5e7629,'isHovered':_0x2a490f,'onClick':()=>_0x51224f(_0x5e7629?null:_0x2957e2),'onMouseEnter':()=>_0x4c428c(_0x2957e2),'onMouseLeave':()=>_0x4c428c(null)})})}),h['jsx'](_e,{'TREEID':_0x218928[_0x5a09e9(0x203)],'dimension':_0x218928[_0x5a09e9(0x85)],'view':_0x440208})]})},_0x2a162d);});}function ke({children:_0x134f8a,articleName:_0x4bbad9,dimensionOverrides:_0x4fae75}){const _0xa1f639=a0_0x27dacb,_0x4b476f={'articleName':_0x4bbad9,'dimensionOverrides':_0x4fae75};return h[_0xa1f639(0x1e7)](Te[_0xa1f639(0x204)],{'value':_0x4b476f,'children':_0x134f8a});}function rr({view:_0x46cf0d,remainingZone:_0x51efac,articleName:_0x407406}){const _0x39c45b=a0_0x27dacb;return h[_0x39c45b(0x1e7)](ke,{'articleName':_0x407406,'dimensionOverrides':{'width':_0x51efac[_0x39c45b(0x19e)][_0x39c45b(0x1c4)],'height':_0x51efac[_0x39c45b(0x19e)]['height'],'depth':_0x51efac[_0x39c45b(0x19e)]['depth']},'children':h['jsx'](se,{'view':_0x46cf0d,'position':[_0x51efac['position']['x'],_0x51efac[_0x39c45b(0x10a)]['y'],_0x51efac[_0x39c45b(0x10a)]['z']],'children':h[_0x39c45b(0x1e7)](De,{'view':_0x46cf0d})})});}function sr({childrenPositon:_0xdc0555,dividerThk:_0xb1b372,divider:_0x10ed5d,view:_0x496e59,remainingZone:_0x57f3fc}){const _0x19dc33=a0_0x27dacb;if(Le[_0x19dc33(0xf4)](_0x10ed5d))return _0xdc0555?h[_0x19dc33(0x1e7)](tr,{'view':_0x496e59,'childrenPositon':_0xdc0555,'dividerThk':_0xb1b372,'divider':_0x10ed5d,'remainingZone':_0x57f3fc}):null;if(Le['article'](_0x10ed5d)){const _0x1e80a8=le[_0x19dc33(0xa3)](_0x10ed5d)?_0x10ed5d[_0x19dc33(0x193)]:_0x10ed5d[_0x19dc33(0xbb)];return!_0x57f3fc||_0x1e80a8===''?null:h[_0x19dc33(0x1e7)](rr,{'view':_0x496e59,'articleName':_0x1e80a8,'remainingZone':_0x57f3fc});}return null;}function qe(){const _0x2269ba=a0_0x27dacb,{getArticleData:_0x21e615}=F(),{articleName:_0x36f17f,dimensionOverrides:_0x3e97ed}=ee(),{resolveString:_0x2ccb31}=B(),{anglPrims:_0x36927d}=_0x21e615(_0x36f17f);if(_0x36927d[_0x2269ba(0x114)]===0x0)throw new Error(_0x2269ba(0x102)+_0x36f17f);const _0xc043e0=_0x36927d[0x0],_0x41d090=(_0x2089f6,_0x4ac552)=>{const _0x43fb17=_0x2269ba,_0x4b9ebb=typeof _0x2089f6==_0x43fb17(0xa3)&&_0x2089f6!==''?oe(_0x2ccb31(_0x2089f6)):_0x4ac552;return parseFloat(String(_0x4b9ebb))||0x0;},_0x80b47={'width':_0x3e97ed?.['width']??_0x41d090(_0xc043e0[_0x2269ba(0x1a2)],_0xc043e0[_0x2269ba(0x25e)]),'height':_0x3e97ed?.[_0x2269ba(0x263)]??_0x41d090(_0xc043e0[_0x2269ba(0xa7)],_0xc043e0['SIZEZ']),'depth':_0x3e97ed?.['depth']??_0x41d090(_0xc043e0[_0x2269ba(0x1fa)],_0xc043e0['SIZEY'])};return{'current_prim':_0xc043e0,'prim_dims':_0x80b47};}function _e({TREEID:_0x24dd0a,dimension:_0x3830a7,view:_0x3695ca=N['_3D']}){const _0xabb98b=a0_0x27dacb,_0x4922d=he(_0x24dd0a),_0x91ac73=_0x4922d?.['zoneInfo'](),_0x33e497=_0x4922d?.[_0xabb98b(0x1ff)]||0x0,_0x170937=qe(),_0x16a5cb=Ct(_0x24dd0a),_0x45ae9e=Lt(_0x16a5cb,_0x4922d?.[_0xabb98b(0x1b2)]||0x0,_0x4922d?.[_0xabb98b(0x24f)]||0x0),_0x5845f1=Pt(_0x16a5cb),_0x358c5f=Ot(_0x3830a7,_0x5845f1),_0x445cbc=Rt(_0x358c5f,_0x45ae9e),_0x306f9c=T[_0xabb98b(0x1d9)](()=>{if(_0x4922d)return re['fromZoneData'](_0x4922d['currentZone'],_0x33e497);},[_0x4922d,_0x33e497]),_0x4e529f=_0x91ac73?Object[_0xabb98b(0x136)](_0x91ac73):{},_0x45d0d0=Kt(_0x306f9c),_0x3ebe14=Yt(_0x45d0d0,_0x445cbc[_0xabb98b(0x19e)]);_0x4e529f[_0xabb98b(0x213)]=_0x170937?.['prim_dims'][_0xabb98b(0x1c4)][_0xabb98b(0x173)](),_0x4e529f['AD\x20article\x20height']=_0x170937?.[_0xabb98b(0x15b)]['height'][_0xabb98b(0x173)](),_0x4e529f['AD\x20article\x20depth']=_0x170937?.['prim_dims'][_0xabb98b(0x128)][_0xabb98b(0x173)](),_0x4e529f[0x0]='0',_0x4e529f['X']=_0x3ebe14[_0xabb98b(0x173)]();const _0x4b6f88=_0x306f9c?Zt[_0xabb98b(0x1c3)](_0x306f9c):!0x1,_0x4253b6=_0x306f9c?le['descriptor'](_0x306f9c):!0x1,_0x7813fb=_0x4b6f88||_0x4253b6?Xe({'divider':_0x306f9c,'inputData':_0x4e529f})[_0xabb98b(0x8c)]:_0x306f9c,_0x2057bd=$t(_0x445cbc,_0x33e497,_0x7813fb,_0x4922d?.[_0xabb98b(0x217)][_0xabb98b(0x1a3)](_0x4b63ab=>_0x4b63ab[_0xabb98b(0x203)])||[]);return console[_0xabb98b(0x105)](_0x24dd0a,_0xabb98b(0x1bf),_0x4922d),h[_0xabb98b(0x1e7)](h[_0xabb98b(0x17e)],{'children':h[_0xabb98b(0x240)](se,{'view':_0x3695ca,'position':[_0x358c5f[_0xabb98b(0x10a)]['x']/E,_0x358c5f[_0xabb98b(0x10a)]['y']/E,_0x358c5f[_0xabb98b(0x10a)]['z']/E],'children':[_0x16a5cb['front']?.[_0xabb98b(0x10f)]&&h[_0xabb98b(0x1e7)](Ft,{'view':_0x3695ca,'TREEID':Re(_0x24dd0a),'dimension':_0x358c5f[_0xabb98b(0x19e)],'helper':_0x16a5cb}),_0x16a5cb['left']?.[_0xabb98b(0x10f)]&&h[_0xabb98b(0x1e7)](jt,{'view':_0x3695ca,'TREEID':Fe(_0x24dd0a),'dimension':_0x358c5f[_0xabb98b(0x19e)],'helper':_0x16a5cb}),_0x16a5cb['back']?.[_0xabb98b(0x10f)]&&h[_0xabb98b(0x1e7)](zt,{'view':_0x3695ca,'TREEID':$e(_0x24dd0a),'dimension':_0x358c5f['dimensions'],'helper':_0x16a5cb}),_0x16a5cb[_0xabb98b(0x125)]?.[_0xabb98b(0x10f)]&&h['jsx'](Ut,{'view':_0x3695ca,'TREEID':Ve(_0x24dd0a),'dimension':_0x358c5f['dimensions'],'helper':_0x16a5cb}),_0x4922d?.[_0xabb98b(0x1b6)]&&h[_0xabb98b(0x1e7)](Ht,{'view':_0x3695ca,'TREEID':_0x24dd0a,'dimension':_0x358c5f[_0xabb98b(0x19e)],'helper':_0x16a5cb}),_0x4922d?.['bottomShelfCP']&&h[_0xabb98b(0x1e7)](Bt,{'view':_0x3695ca,'TREEID':_0x24dd0a,'dimension':_0x358c5f[_0xabb98b(0x19e)],'helper':_0x16a5cb}),h['jsx'](se,{'view':_0x3695ca,'position':[_0x445cbc[_0xabb98b(0x10a)]['x']/E,_0x445cbc[_0xabb98b(0x10a)]['y']/E,_0x445cbc[_0xabb98b(0x10a)]['z']/E],'children':_0x7813fb&&h[_0xabb98b(0x1e7)](sr,{'remainingZone':_0x445cbc,'divider':_0x7813fb,'view':_0x3695ca,'childrenPositon':_0x2057bd,'dividerThk':_0x33e497})})]})});}const ir=a0_0x27dacb(0xb1);function De({view:_0x41b0de=N[a0_0x27dacb(0x265)]}){const _0x348005=a0_0x27dacb,_0x547c7e=qe()[_0x348005(0x15b)],_0xed1326=h[_0x348005(0x1e7)](_e,{'TREEID':'0','view':_0x41b0de,'dimension':_0x547c7e});return _0x41b0de===N['_3D']?_0xed1326:h['jsx']('g',{'transform':ir,'children':_0xed1326});}function nr(_0x2c7f36,_0x50aab8=[]){const _0x5af098=a0_0x27dacb,[_0x1509f6,_0x5245d4]=T[_0x5af098(0x103)](null),[_0x4c58f2,_0x5835ee]=T['useState'](!0x0),[_0x3f6fa0,_0xa14898]=T[_0x5af098(0x103)](null);return T[_0x5af098(0x77)](()=>{let _0xca32f8=!0x1;async function _0x129bf3(){const _0x48404a=a0_0x1a1c;try{_0x5835ee(!0x0),_0xa14898(null);const _0x2d23ed=await _0x2c7f36();_0xca32f8||_0x5245d4(_0x2d23ed);}catch(_0xcdbf30){_0xca32f8||_0xa14898(_0xcdbf30 instanceof Error?_0xcdbf30[_0x48404a(0x14a)]:_0x48404a(0xbf));}finally{_0xca32f8||_0x5835ee(!0x1);}}return _0x129bf3(),()=>{_0xca32f8=!0x0;};},_0x50aab8),{'data':_0x1509f6,'loading':_0x4c58f2,'error':_0x3f6fa0};}const ar=a0_0x27dacb(0x139);class W{constructor(_0x5e68e2,_0x11527d=ar){this['endpoint']=_0x5e68e2,this['baseUrl']=_0x11527d;}async[a0_0x27dacb(0xb5)](_0x5ef971){const _0x5e0268=a0_0x27dacb,_0x40cd4c=this[_0x5e0268(0x8b)]+'/'+this[_0x5e0268(0x244)]+'/'+_0x5ef971;console[_0x5e0268(0x105)](_0x5e0268(0x246),_0x40cd4c);const _0x437a79=await fetch(_0x40cd4c);if(!_0x437a79['ok'])throw new Error(_0x5e0268(0x9b)+_0x437a79['status']+':\x20'+_0x437a79[_0x5e0268(0x1af)]);return await _0x437a79['json']();}async[a0_0x27dacb(0x1b9)](){const _0x2899ff=a0_0x27dacb,_0x3a5e92=this[_0x2899ff(0x8b)]+'/'+this['endpoint'];console[_0x2899ff(0x105)](_0x2899ff(0x246),_0x3a5e92);const _0x26e04d=await fetch(_0x3a5e92);if(!_0x26e04d['ok'])throw new Error(_0x2899ff(0x9b)+_0x26e04d[_0x2899ff(0x8d)]+':\x20'+_0x26e04d[_0x2899ff(0x1af)]);return await _0x26e04d['json']();}async[a0_0x27dacb(0xd6)](_0x71f8b5){const _0x2ed2e0=a0_0x27dacb,_0xcafc7f=this[_0x2ed2e0(0x8b)]+'/'+this[_0x2ed2e0(0x244)];console[_0x2ed2e0(0x105)](_0x2ed2e0(0x91),_0xcafc7f);const _0x31ab34=await fetch(_0xcafc7f,{'method':'POST','headers':{'Content-Type':_0x2ed2e0(0x186)},'body':JSON['stringify'](_0x71f8b5)});if(!_0x31ab34['ok'])throw new Error(_0x2ed2e0(0x9b)+_0x31ab34[_0x2ed2e0(0x8d)]+':\x20'+_0x31ab34[_0x2ed2e0(0x1af)]);return await _0x31ab34['json']();}async['update'](_0x32f65c,_0x566cc6){const _0x19b073=a0_0x27dacb,_0x1784f2=this['baseUrl']+'/'+this['endpoint']+'/'+_0x32f65c;console[_0x19b073(0x105)](_0x19b073(0x222),_0x1784f2);const _0x14fa1f=await fetch(_0x1784f2,{'method':'PUT','headers':{'Content-Type':_0x19b073(0x186)},'body':JSON['stringify'](_0x566cc6)});if(!_0x14fa1f['ok'])throw new Error(_0x19b073(0x9b)+_0x14fa1f[_0x19b073(0x8d)]+':\x20'+_0x14fa1f[_0x19b073(0x1af)]);return await _0x14fa1f['json']();}async['delete'](_0x46f9c3){const _0x394b86=a0_0x27dacb,_0x121ebe=this[_0x394b86(0x8b)]+'/'+this[_0x394b86(0x244)]+'/'+_0x46f9c3;console[_0x394b86(0x105)](_0x394b86(0x226),_0x121ebe);const _0x56757d=await fetch(_0x121ebe,{'method':_0x394b86(0x238)});if(!_0x56757d['ok'])throw new Error(_0x394b86(0x9b)+_0x56757d[_0x394b86(0x8d)]+':\x20'+_0x56757d['statusText']);}}class or{constructor(_0x26b55a){const _0xb2a23a=a0_0x27dacb;D(this,_0xb2a23a(0x8b)),this['baseUrl']=_0x26b55a||void 0x0||_0xb2a23a(0x139);}[a0_0x27dacb(0x12f)](){const _0x3b0029=a0_0x27dacb;return new W(_0x3b0029(0x209),this['baseUrl']);}[a0_0x27dacb(0x1c3)](){const _0x553944=a0_0x27dacb;return new W(_0x553944(0x1c3),this[_0x553944(0x8b)]);}[a0_0x27dacb(0x96)](){const _0x23f1b7=a0_0x27dacb;return new W('article-data',this[_0x23f1b7(0x8b)]);}[a0_0x27dacb(0x163)](){const _0x31d653=a0_0x27dacb;return new W(_0x31d653(0xc0),this[_0x31d653(0x8b)]);}['linDivData'](){const _0x1608ef=a0_0x27dacb;return new W(_0x1608ef(0x192),this['baseUrl']);}[a0_0x27dacb(0x1b8)](){return new W('other',this['baseUrl']);}}const lr=new or();function Je({data:_0x585a8f,children:_0x11d4b5,names:_0x580b7c}){const _0x2fb278=a0_0x27dacb,_0x1d1378=_0x585a8f,[_0x8352d4,_0x46d80e]=T[_0x2fb278(0x103)](_0x1d1378),[_0x81cf6c,_0x43b717]=T[_0x2fb278(0x103)](null),[_0x4cf89d,_0x3d6403]=T[_0x2fb278(0x103)](null),_0x4a19be=T[_0x2fb278(0xf2)](_0x3a12ce=>({'anglElems':_0x8352d4[_0x2fb278(0x106)][_0x2fb278(0xf6)](_0x3c444a=>_0x3c444a[_0x2fb278(0xf8)]===_0x3a12ce),'anglZones':_0x8352d4[_0x2fb278(0xdb)]['filter'](_0xffcbf9=>_0xffcbf9['NAME']===_0x3a12ce),'anglPrims':_0x8352d4[_0x2fb278(0x80)]['filter'](_0x17ffa4=>_0x17ffa4[_0x2fb278(0xf8)]===_0x3a12ce),'anglClies':_0x8352d4['anglclie'][_0x2fb278(0xf6)](_0x4da524=>_0x4da524[_0x2fb278(0xf8)]===_0x3a12ce),'anglGrtxs':_0x8352d4[_0x2fb278(0x225)][_0x2fb278(0xf6)](_0x251fcb=>_0x251fcb[_0x2fb278(0xf8)]===_0x3a12ce),'csides':_0x8352d4['cside']||[],'cabins':_0x8352d4['cabin']||[],'variables':_0x8352d4[_0x2fb278(0x190)]?.[_0x2fb278(0xf6)](_0x5515f1=>_0x5515f1[_0x2fb278(0xf8)]===_0x3a12ce)||[]}),[_0x8352d4]),{anglElems:_0x2247b3,anglZones:_0x4fd608,anglPrims:_0x3684b3,anglClies:_0x495f1d,anglGrtxs:_0x5b829f,csides:_0x1063a5,kmsList:_0x460dc9,cabins:_0x13b889,variables:_0x1338ad,materials:_0x5a17cf,surfaces:_0x55b70e}=T[_0x2fb278(0x1d9)](()=>_0x580b7c&&_0x580b7c[_0x2fb278(0x114)]>0x0?{'anglElems':_0x8352d4[_0x2fb278(0x106)][_0x2fb278(0xf6)](_0x11aba8=>_0x580b7c[_0x2fb278(0x7e)](_0x11aba8[_0x2fb278(0xf8)])),'anglZones':_0x8352d4['anglzone']['filter'](_0x3440aa=>_0x580b7c[_0x2fb278(0x7e)](_0x3440aa[_0x2fb278(0xf8)])),'anglPrims':_0x8352d4[_0x2fb278(0x80)]['filter'](_0x19311=>_0x580b7c[_0x2fb278(0x7e)](_0x19311['NAME'])),'anglClies':_0x8352d4[_0x2fb278(0x14e)][_0x2fb278(0xf6)](_0x22c577=>_0x580b7c[_0x2fb278(0x7e)](_0x22c577[_0x2fb278(0xf8)])),'anglGrtxs':_0x8352d4[_0x2fb278(0x225)][_0x2fb278(0xf6)](_0x4ebe47=>_0x580b7c[_0x2fb278(0x7e)](_0x4ebe47[_0x2fb278(0xf8)])),'csides':_0x8352d4['cside']||[],'cabins':_0x8352d4[_0x2fb278(0x176)]||[],'kmsList':_0x8352d4['kms']||[],'variables':_0x8352d4[_0x2fb278(0x190)]||[],'materials':_0x8352d4[_0x2fb278(0x88)]||[],'surfaces':_0x8352d4[_0x2fb278(0x19d)]||[]}:{'anglElems':_0x8352d4[_0x2fb278(0x106)],'anglZones':_0x8352d4[_0x2fb278(0xdb)],'anglPrims':_0x8352d4[_0x2fb278(0x80)],'anglClies':_0x8352d4[_0x2fb278(0x14e)],'anglGrtxs':_0x8352d4[_0x2fb278(0x225)],'csides':_0x8352d4[_0x2fb278(0xab)]||[],'kmsList':_0x8352d4[_0x2fb278(0x141)]||[],'cabins':_0x8352d4['cabin']||[],'variables':_0x8352d4[_0x2fb278(0x190)]||[],'materials':_0x8352d4[_0x2fb278(0x88)]||[],'surfaces':_0x8352d4[_0x2fb278(0x19d)]||[]},[_0x8352d4,_0x580b7c]),_0x357e73={'anglElems':_0x2247b3,'anglZones':_0x4fd608,'anglPrims':_0x3684b3,'anglClies':_0x495f1d,'anglGrtxs':_0x5b829f,'csides':_0x1063a5,'kmsList':_0x460dc9,'cabins':_0x13b889,'variables':_0x1338ad,'materials':_0x5a17cf,'surfaces':_0x55b70e,'selectedElem':_0x81cf6c,'setSelectedElem':_0x43b717,'hoveredElem':_0x4cf89d,'setHoveredElem':_0x3d6403,'updateAnglPrim':(_0x3bec0c,_0x306df1,_0x39c990)=>{const _0x3fa608=_0x2fb278;_0x46d80e(_0x2d8393=>({..._0x2d8393,'anglprim':_0x2d8393[_0x3fa608(0x80)][_0x3fa608(0x1a3)](_0x1af047=>_0x1af047[_0x3fa608(0xf8)]===_0x3bec0c?{..._0x1af047,[_0x306df1]:_0x39c990}:_0x1af047)}));},'updateAnglElem':(_0x1d4242,_0x20988b,_0x15d98f,_0x34efd2)=>{const _0x44fa9f=_0x2fb278;_0x46d80e(_0x530b5d=>({..._0x530b5d,'anglelem':_0x530b5d[_0x44fa9f(0x106)][_0x44fa9f(0x1a3)](_0x19df23=>_0x19df23[_0x44fa9f(0x203)]===_0x20988b&&_0x19df23[_0x44fa9f(0xf8)]===_0x1d4242?{..._0x19df23,[_0x15d98f]:_0x34efd2}:_0x19df23)}));},'updateAnglZone':(_0x16c907,_0x42d74c,_0xd4c53d,_0x4d2474)=>{const _0x41b407=_0x2fb278;_0x46d80e(_0x236df8=>({..._0x236df8,'anglzone':_0x236df8[_0x41b407(0xdb)][_0x41b407(0x1a3)](_0x211ea3=>_0x211ea3['TREEID']===_0x42d74c&&_0x211ea3['NAME']===_0x16c907?{..._0x211ea3,[_0xd4c53d]:_0x4d2474}:_0x211ea3)}));},'updateAnglClie':(_0x4b9815,_0x4ace4e,_0x322154,_0x4cea3e,_0x17a8be)=>{const _0x25f0d2=_0x2fb278;_0x46d80e(_0x32e76b=>({..._0x32e76b,'anglclie':_0x32e76b['anglclie'][_0x25f0d2(0x1a3)](_0x2e4cf6=>_0x2e4cf6[_0x25f0d2(0x203)]===_0x4ace4e&&_0x2e4cf6[_0x25f0d2(0x14f)]===_0x322154&&_0x2e4cf6['DATATYPE']===_0x17a8be&&_0x2e4cf6[_0x25f0d2(0xf8)]===_0x4b9815?{..._0x2e4cf6,'TAGVALUE':_0x4cea3e,'DATE_LASTCHANGE':new Date()[_0x25f0d2(0x22f)]()}:_0x2e4cf6)}));},'updateAnglGrtx':(_0x23bda8,_0x929ff4,_0x255c78,_0x166192)=>{const _0x520b5c=_0x2fb278;_0x46d80e(_0x455581=>({..._0x455581,'anglgrtx':_0x455581[_0x520b5c(0x225)][_0x520b5c(0x1a3)](_0x48be06=>_0x48be06[_0x520b5c(0x203)]===_0x929ff4&&_0x48be06['NUM']===_0x255c78&&_0x48be06[_0x520b5c(0xf8)]===_0x23bda8?{..._0x48be06,'TEXT':_0x166192,'DATE_LASTCHANGE':new Date()[_0x520b5c(0x22f)]()}:_0x48be06)}));},'updateVariable':(_0x56a504,_0x182418)=>{const _0x4aa2db=_0x2fb278;_0x46d80e(_0x2716b3=>({..._0x2716b3,'variables':_0x2716b3[_0x4aa2db(0x190)]?.[_0x4aa2db(0x1a3)](_0x13b58d=>_0x13b58d['NAME']===_0x56a504?{..._0x13b58d,'WERT':_0x182418}:_0x13b58d)||[]}));},'getArticleData':_0x4a19be,'allData':_0x8352d4};return h['jsx']($['Provider'],{'value':_0x357e73,'children':_0x11d4b5});}function Qe({children:_0x36637b,imosVariables:_0x15249a}){const _0x13109a=a0_0x27dacb,[_0x474a0d,_0xeea788]=T['useState'](()=>xe(_0x15249a));T[_0x13109a(0x77)](()=>{_0xeea788(xe(_0x15249a));},[_0x15249a]);const _0x33b155=T[_0x13109a(0xf2)]((_0x22e7a7,_0x130b1c)=>{_0xeea788(_0x497b7a=>ze(_0x22e7a7,_0x130b1c,_0x497b7a));},[]),_0x5bd4e0={'tree':_0x474a0d,'setValue':_0x33b155};return h[_0x13109a(0x1e7)](ve[_0x13109a(0x204)],{'value':_0x5bd4e0,'children':_0x36637b});}const Pe=_0x311592=>{const _0x594953=Number(_0x311592);return isNaN(_0x594953)?null:_0x594953;},q=_0x4d946=>_0x4d946==null?'':String(_0x4d946),z=(_0x2a20c4,_0x241006,_0x13867a)=>{const _0x571427=Pe(_0x2a20c4),_0x5126cb=Pe(_0x241006);return _0x571427===null||_0x5126cb===null?!0x1:_0x13867a(_0x571427,_0x5126cb);},X=(_0x144e59,_0x201a9d,_0x3bc304)=>_0x144e59==null||_0x201a9d==null?!0x1:_0x3bc304(q(_0x144e59),q(_0x201a9d)),cr={'=':(_0x4337ba,_0xef8da9)=>_0x4337ba==null||_0xef8da9==null?_0x4337ba===_0xef8da9:q(_0x4337ba)[a0_0x27dacb(0x255)]()===q(_0xef8da9)['trim'](),'!=':(_0x3302c3,_0x4e9d03)=>_0x3302c3==null||_0x4e9d03==null?_0x3302c3!==_0x4e9d03:q(_0x3302c3)[a0_0x27dacb(0x255)]()!==q(_0x4e9d03)[a0_0x27dacb(0x255)](),'>':(_0x31c14b,_0x24e33b)=>z(_0x31c14b,_0x24e33b,(_0x572c82,_0x21d08a)=>_0x572c82>_0x21d08a),'<':(_0x2585fc,_0xad0cf2)=>z(_0x2585fc,_0xad0cf2,(_0x593d6f,_0x511f2e)=>_0x593d6f<_0x511f2e),'>=':(_0x54df31,_0x1818d2)=>z(_0x54df31,_0x1818d2,(_0x590a97,_0x3d0775)=>_0x590a97>=_0x3d0775),'<=':(_0x4f6c86,_0x5e1477)=>z(_0x4f6c86,_0x5e1477,(_0x479944,_0x452c0d)=>_0x479944<=_0x452c0d),'&gt;':(_0x1310d1,_0x236342)=>z(_0x1310d1,_0x236342,(_0x1ac709,_0xf62ba8)=>_0x1ac709>_0xf62ba8),'&gt;=':(_0x4f1957,_0x4848aa)=>z(_0x4f1957,_0x4848aa,(_0x4ac0a7,_0x4a78c1)=>_0x4ac0a7>=_0x4a78c1),'&lt;':(_0x6a0513,_0x3c822b)=>z(_0x6a0513,_0x3c822b,(_0x566c78,_0x3f0e4c)=>_0x566c78<_0x3f0e4c),'&lt;=':(_0x516811,_0x1b509b)=>z(_0x516811,_0x1b509b,(_0x4fe87e,_0x133c24)=>_0x4fe87e<=_0x133c24),'B':(_0x25bf26,_0x128a3f)=>X(_0x25bf26,_0x128a3f,(_0x3924ae,_0x7d7a1e)=>_0x3924ae[a0_0x27dacb(0x147)](_0x7d7a1e)),'!B':(_0x161e68,_0x2fdbc7)=>X(_0x161e68,_0x2fdbc7,(_0x353cc2,_0x3624ce)=>!_0x353cc2['startsWith'](_0x3624ce)),'E':(_0x2f2147,_0x5bad8d)=>X(_0x2f2147,_0x5bad8d,(_0x4e3ea4,_0x18ef08)=>_0x4e3ea4[a0_0x27dacb(0x1bc)](_0x18ef08)),'!E':(_0x59bab0,_0x346f97)=>X(_0x59bab0,_0x346f97,(_0x58d1a0,_0xcbc3c1)=>!_0x58d1a0['endsWith'](_0xcbc3c1)),'C':(_0x1736ce,_0x318ac0)=>X(_0x1736ce,_0x318ac0,(_0x449d11,_0x35167a)=>_0x449d11[a0_0x27dacb(0x7e)](_0x35167a)),'!C':(_0x71f92f,_0x5a1ad5)=>X(_0x71f92f,_0x5a1ad5,(_0x4ae89d,_0x5c2841)=>!_0x4ae89d[a0_0x27dacb(0x7e)](_0x5c2841))},ur={'Zusatzfilter\x203':a0_0x27dacb(0x223),'Zusatzfilter\x204':a0_0x27dacb(0x98)},hr=_0x593e8b=>ur[_0x593e8b]||_0x593e8b,J=class J{};D(J,a0_0x27dacb(0x239),(_0x5b1f8e,_0x21e0c9,_0x2aba6f)=>_0x5b1f8e?_0x5b1f8e[a0_0x27dacb(0xa6)]['every'](_0x56bcdc=>J[a0_0x27dacb(0x130)](_0x56bcdc,_0x21e0c9,_0x2aba6f)):!0x1),D(J,'evaluateNode',(_0x342f9a,_0xe82342,_0x20f4b1)=>{const _0x508d89=a0_0x27dacb;if(!_0x342f9a)return!0x1;if(_0x342f9a[_0x508d89(0xbe)]===_0x508d89(0x212)){let _0x127790=_0x342f9a[_0x508d89(0x116)]['LEFTVALUE'];const _0x95548d=hr(_0x342f9a[_0x508d89(0x116)][_0x508d89(0x1cf)]);_0xe82342[_0x95548d]!==void 0x0?_0x127790=_0xe82342[_0x95548d]:_0x127790=oe(_0x342f9a[_0x508d89(0x116)][_0x508d89(0x1cf)],{'variableTree':_0x20f4b1,'dataType':_0x342f9a['data'][_0x508d89(0x258)],'silent':!0x0});const _0x24690d=oe(_0x342f9a['data'][_0x508d89(0x9a)],{'variableTree':_0x20f4b1,'dataType':_0x342f9a[_0x508d89(0x116)][_0x508d89(0x258)],'silent':!0x0});return cr[_0x342f9a[_0x508d89(0x116)][_0x508d89(0x13e)]](_0x127790,_0x24690d);}if(_0x342f9a['kind']===_0x508d89(0x120)){const _0x3f0de0=_0x342f9a[_0x508d89(0x217)][_0x508d89(0x1a3)](_0x44c0c8=>J[_0x508d89(0x130)](_0x44c0c8,_0xe82342,_0x20f4b1));switch(_0x342f9a['data'][_0x508d89(0x1c2)]){case _0x508d89(0x219):return _0x3f0de0['every'](Boolean);case'OR':return _0x3f0de0[_0x508d89(0xe2)](Boolean);case _0x508d89(0x1d3):return!_0x3f0de0[_0x508d89(0x137)](Boolean);case _0x508d89(0x252):return!_0x3f0de0[_0x508d89(0xe2)](Boolean);default:return!0x1;}}return!0x1;});let ce=J;class Oe{static[a0_0x27dacb(0x260)](_0x572a43,_0x306c33,_0x1db6bc){const _0x5be9d2=a0_0x27dacb,_0x4f0775=_0x572a43[_0x5be9d2(0x1c8)][_0x5be9d2(0x1fd)](_0x51a952=>_0x51a952[_0x5be9d2(0x266)]===0x0||_0x51a952[_0x5be9d2(0x12f)]===null);for(const _0x8b39e8 of _0x572a43[_0x5be9d2(0x1c8)]){if(_0x8b39e8['conditionId']===0x0||_0x8b39e8['conditionTree']===null)continue;if(ce[_0x5be9d2(0x239)](_0x8b39e8[_0x5be9d2(0x12f)],_0x306c33,_0x1db6bc))return{'lindiv':_0x8b39e8[_0x5be9d2(0x192)],'nodeNum':_0x8b39e8[_0x5be9d2(0x168)],'matched':!0x0,'isDefault':!0x1,'descriptorType':_0x572a43[_0x5be9d2(0x1c3)][_0x5be9d2(0x101)]};}if(_0x4f0775)return{'lindiv':_0x4f0775[_0x5be9d2(0x192)],'nodeNum':_0x4f0775[_0x5be9d2(0x168)],'matched':!0x1,'isDefault':!0x0,'descriptorType':_0x572a43[_0x5be9d2(0x1c3)][_0x5be9d2(0x101)]};throw new Error('No\x20matching\x20node\x20found\x20and\x20no\x20default\x20node\x20exists');}static['findAllNonDefaultMatches'](_0x5d1c47,_0x18d8a3,_0x2d8422){const _0x2f48ff=a0_0x27dacb,_0x31e256=[];for(const _0x1ac99b of _0x5d1c47[_0x2f48ff(0x1c8)]){if(_0x1ac99b[_0x2f48ff(0x266)]===0x0||_0x1ac99b[_0x2f48ff(0x12f)]===null)continue;ce[_0x2f48ff(0x239)](_0x1ac99b['conditionTree'],_0x18d8a3,_0x2d8422)&&_0x31e256[_0x2f48ff(0x17d)](_0x1ac99b);}return _0x31e256;}}class fr{constructor(_0x3494d8,_0x4b749e){const _0x500e57=a0_0x27dacb;D(this,_0x500e57(0xb8)),D(this,'variableTree'),(this[_0x500e57(0xb8)]=new Map(_0x3494d8[_0x500e57(0x1a3)](_0x13b11=>[_0x13b11[_0x500e57(0x1c3)][_0x500e57(0xf8)],_0x13b11])),this[_0x500e57(0x25b)]=_0x4b749e);}[a0_0x27dacb(0x260)](_0x3b2d09,_0x56d0b4){const _0x56443d=a0_0x27dacb,_0x36e662=this['getDescriptor'](_0x3b2d09);if(!_0x36e662)throw new Error(_0x56443d(0x17b)+_0x3b2d09);return Oe[_0x56443d(0x260)](_0x36e662,_0x56d0b4,this[_0x56443d(0x25b)]);}['getDescriptor'](_0x3e873c){const _0x26f894=a0_0x27dacb;return this[_0x26f894(0xb8)]['get'](_0x3e873c);}[a0_0x27dacb(0xfe)](_0x30f07f){const _0x3730dc=a0_0x27dacb;return this[_0x3730dc(0xb8)][_0x3730dc(0x17a)](_0x30f07f);}['getDescriptorNames'](){return Array['from'](this['descriptors']['keys']());}[a0_0x27dacb(0x1b0)](_0x2dc89a){const _0x3f2495=a0_0x27dacb;return Array[_0x3f2495(0x18f)](this[_0x3f2495(0xb8)]['values']())[_0x3f2495(0xf6)](_0x112629=>_0x112629[_0x3f2495(0x1c3)][_0x3f2495(0x101)]===_0x2dc89a);}[a0_0x27dacb(0xd3)](_0x3c5f00,_0x59b7c3){const _0x213b1b=a0_0x27dacb,_0x2ceb3a=this['getDescriptor'](_0x3c5f00);if(!_0x2ceb3a)throw new Error(_0x213b1b(0x17b)+_0x3c5f00);return Oe[_0x213b1b(0xb7)](_0x2ceb3a,_0x59b7c3,this['variableTree']);}[a0_0x27dacb(0x216)](){const _0x37e2da=a0_0x27dacb,_0x30b2ce={};for(const _0x4680cb of this[_0x37e2da(0xb8)][_0x37e2da(0xd4)]()){const _0x44e0cb=_0x4680cb['descriptor'][_0x37e2da(0x101)];_0x30b2ce[_0x44e0cb]=(_0x30b2ce[_0x44e0cb]||0x0)+0x1;}return{'total':this['descriptors'][_0x37e2da(0x171)],'byType':_0x30b2ce,'names':this[_0x37e2da(0xef)]()};}}function et({children:_0x1d261b,descriptorData:_0x2e2d2b}){const _0x59ff57=a0_0x27dacb,_0x58bce3=B(),_0x528197=T['useMemo'](()=>new fr(_0x2e2d2b,_0x58bce3[_0x59ff57(0x250)]),[_0x2e2d2b,_0x58bce3]);return h[_0x59ff57(0x1e7)](be['Provider'],{'value':_0x528197,'children':_0x1d261b});}function mr({view:_0xc300a4,data:_0x3b482e,articleName:_0x9291cc}){const _0x43d6d7=a0_0x27dacb,{data:_0x3fae57,loading:_0x234000,error:_0x264b0d}=nr(()=>lr[_0x43d6d7(0x96)]()['fetchById'](_0x43d6d7(0x21c))),_0x3a8905=_0x3b482e||_0x3fae57;if(console[_0x43d6d7(0x105)](_0x3a8905),_0x234000)return h[_0x43d6d7(0x1e7)](h[_0x43d6d7(0x17e)],{'children':'Loading...'});if(!_0x3a8905)throw new Error('Data\x20not\x20found');if(_0x264b0d)throw new Error(_0x43d6d7(0xd9)+_0x264b0d[_0x43d6d7(0x173)]());const _0x211925=_0x3a8905[_0x43d6d7(0xb8)],_0x176b4e=_0x3a8905[_0x43d6d7(0x190)],_0x39a59a=_0x3a8905[_0x43d6d7(0x80)][_0x43d6d7(0x1a3)](_0x57a354=>_0x57a354['NAME']);return h[_0x43d6d7(0x1e7)](h[_0x43d6d7(0x17e)],{'children':h[_0x43d6d7(0x1e7)](Je,{'names':_0x39a59a,'data':_0x3a8905,'children':h[_0x43d6d7(0x1e7)](ke,{'articleName':_0x9291cc,'children':h[_0x43d6d7(0x1e7)](Qe,{'imosVariables':_0x176b4e,'children':h[_0x43d6d7(0x1e7)](et,{'descriptorData':_0x211925,'children':h[_0x43d6d7(0x1e7)](De,{'view':_0xc300a4})})})})})});}function dr(){const _0x5a8cee=a0_0x27dacb,{tree:_0x774967,getValue:_0x2d6d3b,setValue:_0x3c64b9}=B(),_0x14af1e=(_0x3fd73a,_0x36aecd)=>{const _0x38d0b8=Number(_0x36aecd);_0x3c64b9(_0x3fd73a,isNaN(_0x38d0b8)?_0x36aecd:_0x38d0b8);},_0x719ed5=((()=>{const _0x1cc7dc=a0_0x1a1c,_0x2ffb7f={[V[_0x1cc7dc(0x1f8)]]:{'type':V[_0x1cc7dc(0x1f8)],'label':_0x1cc7dc(0x157),'variables':[]},[V[_0x1cc7dc(0x21f)]]:{'type':V[_0x1cc7dc(0x21f)],'label':_0x1cc7dc(0x232),'variables':[]},[V[_0x1cc7dc(0x7b)]]:{'type':V[_0x1cc7dc(0x7b)],'label':_0x1cc7dc(0x10c),'variables':[]},[V[_0x1cc7dc(0x93)]]:{'type':V[_0x1cc7dc(0x93)],'label':'Text','variables':[]}};return Array[_0x1cc7dc(0x18f)](_0x774967[_0x1cc7dc(0xb4)]())[_0x1cc7dc(0x108)](([_0x211dda,_0x4242c6])=>{const _0x2a6a85=_0x1cc7dc,_0x40dad7=_0x2d6d3b(_0x211dda),_0x2c3ee6=_0x4242c6[_0x2a6a85(0x1d8)][_0x2a6a85(0x147)]('$');_0x2ffb7f[_0x4242c6[_0x2a6a85(0x20d)]]?.[_0x2a6a85(0x190)]['push']({'name':_0x211dda,'value':_0x40dad7??'undefined','reference':_0x2c3ee6?_0x4242c6[_0x2a6a85(0x1d8)]:void 0x0,'rawType':_0x4242c6[_0x2a6a85(0x20d)]});}),Object[_0x1cc7dc(0xd4)](_0x2ffb7f)[_0x1cc7dc(0xf6)](_0x1c4f13=>_0x1c4f13[_0x1cc7dc(0x190)][_0x1cc7dc(0x114)]>0x0);})()),_0x2d31aa=_0x24eee8=>{const _0x280296=a0_0x1a1c,_0x45f6a5=_0x24eee8[_0x280296(0x1a9)]===V['Numeric'],_0x44e0cc=typeof _0x24eee8[_0x280296(0x23f)]==_0x280296(0x231)?_0x24eee8['value']:Number(_0x24eee8[_0x280296(0x23f)]);return _0x45f6a5&&!isNaN(_0x44e0cc)?h[_0x280296(0x240)]('div',{'className':_0x280296(0x148),'children':[h[_0x280296(0x1e7)]('input',{'type':_0x280296(0xc6),'min':0x0,'max':0x4e20,'value':_0x44e0cc,'onChange':_0x41f699=>_0x14af1e(_0x24eee8[_0x280296(0x181)],_0x41f699[_0x280296(0xc4)]['value']),'className':_0x280296(0x1b7)}),h[_0x280296(0x1e7)](_0x280296(0xd7),{'type':'number','value':_0x44e0cc,'onChange':_0x61c3c4=>_0x14af1e(_0x24eee8[_0x280296(0x181)],_0x61c3c4[_0x280296(0xc4)][_0x280296(0x23f)]),'onBlur':_0xb61318=>_0x14af1e(_0x24eee8['name'],_0xb61318[_0x280296(0xc4)][_0x280296(0x23f)]),'className':_0x280296(0x131),'min':0x0,'max':0x4e20})]}):h[_0x280296(0x1e7)](_0x280296(0xd7),{'type':_0x280296(0x1e5),'value':_0x24eee8['value'],'onChange':_0x431f77=>_0x14af1e(_0x24eee8[_0x280296(0x181)],_0x431f77[_0x280296(0xc4)][_0x280296(0x23f)]),'onBlur':_0xfdb6a9=>_0x14af1e(_0x24eee8[_0x280296(0x181)],_0xfdb6a9[_0x280296(0xc4)][_0x280296(0x23f)]),'className':'var-controller__text-input'});};return h[_0x5a8cee(0x240)](_0x5a8cee(0x210),{'className':_0x5a8cee(0x154),'children':[h['jsx']('h2',{'children':_0x5a8cee(0x1eb)}),h['jsxs']('p',{'className':_0x5a8cee(0x175),'children':[_0x5a8cee(0x89),_0x774967[_0x5a8cee(0x171)]]}),_0x719ed5['map'](_0x2d22b7=>h[_0x5a8cee(0x240)](_0x5a8cee(0x221),{'className':'var-controller__section','children':[h[_0x5a8cee(0x240)]('h3',{'className':_0x5a8cee(0xb9),'children':[_0x2d22b7[_0x5a8cee(0x1c1)],'\x20(',_0x2d22b7['variables'][_0x5a8cee(0x114)],')']}),h[_0x5a8cee(0x240)](_0x5a8cee(0x22d),{'className':_0x5a8cee(0xff),'children':[h[_0x5a8cee(0x1e7)](_0x5a8cee(0x1ab),{'children':h['jsxs']('tr',{'children':[h[_0x5a8cee(0x1e7)]('th',{'style':{'width':'25%'},'children':_0x5a8cee(0x138)}),h[_0x5a8cee(0x1e7)]('th',{'style':{'width':_0x5a8cee(0x1f5)},'children':'Current\x20Value'}),h[_0x5a8cee(0x1e7)]('th',{'style':{'width':_0x5a8cee(0x215)},'children':_0x5a8cee(0x23c)}),h[_0x5a8cee(0x1e7)]('th',{'className':_0x5a8cee(0x117),'style':{'width':_0x5a8cee(0x20f)},'children':_0x5a8cee(0x155)})]})}),h['jsx'](_0x5a8cee(0xfd),{'children':_0x2d22b7[_0x5a8cee(0x190)]['map'](_0x4d1729=>h[_0x5a8cee(0x240)]('tr',{'children':[h[_0x5a8cee(0x1e7)]('td',{'className':_0x5a8cee(0x1c7),'children':_0x4d1729[_0x5a8cee(0x181)]}),h[_0x5a8cee(0x1e7)]('td',{'children':_0x2d31aa(_0x4d1729)}),h[_0x5a8cee(0x1e7)]('td',{'className':'var-controller__reference','children':_0x4d1729[_0x5a8cee(0x23d)]||'-'}),h[_0x5a8cee(0x1e7)]('td',{'style':{'textAlign':'center'},'children':h[_0x5a8cee(0x1e7)](_0x5a8cee(0xca),{'className':_0x5a8cee(0x1cb),'children':_0x2d22b7[_0x5a8cee(0xc2)]})})]},_0x4d1729[_0x5a8cee(0x181)]))})]})]},_0x2d22b7[_0x5a8cee(0xc2)])),h[_0x5a8cee(0x240)]('section',{'className':_0x5a8cee(0xc5),'children':[h[_0x5a8cee(0x1e7)]('h4',{'children':'Quick\x20Stats'}),h[_0x5a8cee(0x1e7)]('ul',{'children':_0x719ed5[_0x5a8cee(0x1a3)](_0x2dcd95=>h['jsxs']('li',{'children':[_0x2dcd95['label'],':\x20',_0x2dcd95[_0x5a8cee(0x190)][_0x5a8cee(0x114)],_0x5a8cee(0x20c)]},_0x2dcd95[_0x5a8cee(0xc2)]))})]})]});}const pr='1.0.0';exports[a0_0x27dacb(0x170)]=Te,exports[a0_0x27dacb(0xcc)]=mr,exports[a0_0x27dacb(0x7c)]=ke,exports[a0_0x27dacb(0x200)]=$,exports[a0_0x27dacb(0xec)]=Je,exports[a0_0x27dacb(0x16f)]=be,exports['DescriptorProvider']=et,exports[a0_0x27dacb(0x1fb)]=De,exports[a0_0x27dacb(0x1ea)]=pr,exports[a0_0x27dacb(0x164)]=N,exports[a0_0x27dacb(0x174)]=dr,exports[a0_0x27dacb(0x1e8)]=ve,exports['VariableProvider']=Qe,exports[a0_0x27dacb(0x142)]=ct,exports['Zone']=_e,exports['ZoneDescriptor']=Xe,exports[a0_0x27dacb(0x10b)]=ee,exports[a0_0x27dacb(0x71)]=F,exports[a0_0x27dacb(0x12a)]=We,exports[a0_0x27dacb(0x15d)]=Ye,exports['useDescriptorMatches']=Gt,exports[a0_0x27dacb(0x13d)]=B;