dxf-kit 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- (function(_0x2a8ff4,_0x2febaf){const _0x430f7c=_0xcf9d,_0x16dbb5=_0x2a8ff4();while(!![]){try{const _0x25b3e5=parseInt(_0x430f7c(0x12a))/0x1+-parseInt(_0x430f7c(0x11f))/0x2*(parseInt(_0x430f7c(0x12d))/0x3)+-parseInt(_0x430f7c(0xbe))/0x4*(-parseInt(_0x430f7c(0x104))/0x5)+parseInt(_0x430f7c(0x131))/0x6*(parseInt(_0x430f7c(0x125))/0x7)+parseInt(_0x430f7c(0x147))/0x8*(parseInt(_0x430f7c(0xfa))/0x9)+parseInt(_0x430f7c(0x103))/0xa+-parseInt(_0x430f7c(0x140))/0xb*(parseInt(_0x430f7c(0xcc))/0xc);if(_0x25b3e5===_0x2febaf)break;else _0x16dbb5['push'](_0x16dbb5['shift']());}catch(_0x3b69b2){_0x16dbb5['push'](_0x16dbb5['shift']());}}}(_0x39c5,0xd2738));function tokenize(_0x5ada44){const _0x23bd34=_0xcf9d,_0x2bee6d=_0x5ada44[_0x23bd34(0xf7)](/\r?\n/),_0x8c5da=[];for(let _0xb9c9f9=0x0;_0xb9c9f9+0x1<_0x2bee6d[_0x23bd34(0x197)];_0xb9c9f9+=0x2){const _0x641f49=parseInt(_0x2bee6d[_0xb9c9f9][_0x23bd34(0xae)](),0xa),_0x3600a9=_0x2bee6d[_0xb9c9f9+0x1][_0x23bd34(0xae)]();_0x8c5da[_0x23bd34(0x174)]({'code':_0x641f49,'value':_0x3600a9});}return _0x8c5da;}function autoConvert(_0x2ca6b4,_0x4d20e1){if(_0x2ca6b4>=0xa&&_0x2ca6b4<=0x3b||_0x2ca6b4>=0x6e&&_0x2ca6b4<=0x95||_0x2ca6b4>=0xd2&&_0x2ca6b4<=0xef||_0x2ca6b4>=0x1cc&&_0x2ca6b4<=0x1d5||_0x2ca6b4>=0x3f2&&_0x2ca6b4<=0x423)return parseFloat(_0x4d20e1);if(_0x2ca6b4>=0x3c&&_0x2ca6b4<=0x4f||_0x2ca6b4>=0x5a&&_0x2ca6b4<=0x63||_0x2ca6b4>=0xaa&&_0x2ca6b4<=0xb3||_0x2ca6b4>=0x10e&&_0x2ca6b4<=0x121||_0x2ca6b4>=0x172&&_0x2ca6b4<=0x185||_0x2ca6b4>=0x190&&_0x2ca6b4<=0x199||_0x2ca6b4>=0x424&&_0x2ca6b4<=0x437)return parseInt(_0x4d20e1,0xa);return _0x4d20e1;}function splitSections(_0x472ba9){const _0x8fa8f0=_0xcf9d,_0x1e4d72={};let _0x568bd1=0x0;while(_0x568bd1<_0x472ba9[_0x8fa8f0(0x197)]){if(_0x472ba9[_0x568bd1]['code']===0x0&&_0x472ba9[_0x568bd1]['value']==='SECTION'){_0x568bd1++;const _0xc50767=_0x472ba9[_0x568bd1]['value'];_0x568bd1++;const _0x455f7c=_0x568bd1;while(_0x568bd1<_0x472ba9[_0x8fa8f0(0x197)]&&!(_0x472ba9[_0x568bd1][_0x8fa8f0(0x155)]===0x0&&_0x472ba9[_0x568bd1][_0x8fa8f0(0xf8)]===_0x8fa8f0(0x152))){_0x568bd1++;}_0x1e4d72[_0xc50767]=_0x472ba9['slice'](_0x455f7c,_0x568bd1),_0x568bd1++;}else _0x568bd1++;}return _0x1e4d72;}function parseHeader(_0x1e76cd){const _0x37de1b=_0xcf9d;if(!_0x1e76cd||_0x1e76cd[_0x37de1b(0x197)]===0x0)return {};const _0x3c59e8={};let _0x1d3d1f=0x0;while(_0x1d3d1f<_0x1e76cd['length']){if(_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]===0x9){const _0x404258=_0x1e76cd[_0x1d3d1f]['value'];_0x1d3d1f++;const _0x35995e={};while(_0x1d3d1f<_0x1e76cd[_0x37de1b(0x197)]&&_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]!==0x9&&_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]!==0x0){_0x35995e[_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]]=autoConvert(_0x1e76cd[_0x1d3d1f]['code'],_0x1e76cd[_0x1d3d1f][_0x37de1b(0xf8)]),_0x1d3d1f++;}const _0x358002=Object[_0x37de1b(0x180)](_0x35995e);_0x3c59e8[_0x404258]=_0x358002[_0x37de1b(0x197)]===0x1?_0x35995e[_0x358002[0x0]]:_0x35995e;}else _0x1d3d1f++;}return _0x3c59e8;}function parseClasses(_0x23103c){const _0x5cacd2=_0xcf9d;if(!_0x23103c||_0x23103c[_0x5cacd2(0x197)]===0x0)return [];const _0x2a1bd8=[];let _0x44b57b=0x0;while(_0x44b57b<_0x23103c[_0x5cacd2(0x197)]){if(_0x23103c[_0x44b57b]['code']===0x0&&_0x23103c[_0x44b57b][_0x5cacd2(0xf8)]===_0x5cacd2(0x168)){_0x44b57b++;const _0x3bff98={};while(_0x44b57b<_0x23103c[_0x5cacd2(0x197)]&&_0x23103c[_0x44b57b][_0x5cacd2(0x155)]!==0x0){switch(_0x23103c[_0x44b57b]['code']){case 0x1:_0x3bff98['dxfRecord']=_0x23103c[_0x44b57b]['value'];break;case 0x2:_0x3bff98[_0x5cacd2(0xbc)]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];break;case 0x3:_0x3bff98[_0x5cacd2(0xc8)]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];break;case 0x5a:_0x3bff98[_0x5cacd2(0x13d)]=parseInt(_0x23103c[_0x44b57b][_0x5cacd2(0xf8)],0xa);break;case 0x5b:_0x3bff98[_0x5cacd2(0x12b)]=parseInt(_0x23103c[_0x44b57b][_0x5cacd2(0xf8)],0xa);break;case 0x118:_0x3bff98['wasProxy']=parseInt(_0x23103c[_0x44b57b]['value'],0xa);break;case 0x119:_0x3bff98[_0x5cacd2(0x1a5)]=parseInt(_0x23103c[_0x44b57b]['value'],0xa);break;default:_0x3bff98[_0x5cacd2(0x134)+_0x23103c[_0x44b57b][_0x5cacd2(0x155)]]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];}_0x44b57b++;}_0x2a1bd8['push'](_0x3bff98);}else _0x44b57b++;}return _0x2a1bd8;}function parseTables(_0xa6bf16){const _0x5976e0=_0xcf9d;if(!_0xa6bf16||_0xa6bf16['length']===0x0)return {};const _0x41c994={};let _0x6f8cdd=0x0;while(_0x6f8cdd<_0xa6bf16['length']){if(_0xa6bf16[_0x6f8cdd][_0x5976e0(0x155)]===0x0&&_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)]===_0x5976e0(0xea)){_0x6f8cdd++;const _0x4c72d1=_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)];_0x6f8cdd++;const _0x12483b=_0x6f8cdd;while(_0x6f8cdd<_0xa6bf16[_0x5976e0(0x197)]&&!(_0xa6bf16[_0x6f8cdd][_0x5976e0(0x155)]===0x0&&_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)]===_0x5976e0(0xa5))){_0x6f8cdd++;}_0x41c994[_0x4c72d1]=parseTableEntries(_0x4c72d1,_0xa6bf16[_0x5976e0(0x12f)](_0x12483b,_0x6f8cdd)),_0x6f8cdd++;}else _0x6f8cdd++;}return _0x41c994;}function parseTableEntries(_0x208b89,_0x9c585c){const _0x3047c2=_0xcf9d,_0x4b5117=[];let _0x3798a5=0x0;while(_0x3798a5<_0x9c585c['length']){if(_0x9c585c[_0x3798a5][_0x3047c2(0x155)]===0x0){const _0x347349=_0x9c585c[_0x3798a5][_0x3047c2(0xf8)];_0x3798a5++;const _0x82366c={'_type':_0x347349};while(_0x3798a5<_0x9c585c['length']&&_0x9c585c[_0x3798a5][_0x3047c2(0x155)]!==0x0){const _0x39eb01=_0x9c585c[_0x3798a5]['code'],_0x3f7c3b=autoConvert(_0x39eb01,_0x9c585c[_0x3798a5][_0x3047c2(0xf8)]);switch(_0x39eb01){case 0x2:_0x82366c[_0x3047c2(0x176)]=_0x3f7c3b;break;case 0x5:_0x82366c[_0x3047c2(0xc5)]=_0x3f7c3b;break;case 0x6:_0x82366c[_0x3047c2(0x1b8)]=_0x3f7c3b;break;case 0x7:_0x82366c['styleName']=_0x3f7c3b;break;case 0x3e:_0x82366c[_0x3047c2(0x139)]=_0x3f7c3b;break;case 0x46:_0x82366c[_0x3047c2(0x15e)]=_0x3f7c3b;break;case 0x28:_0x82366c['height']=_0x3f7c3b;break;case 0x29:_0x82366c[_0x3047c2(0x10d)]=_0x3f7c3b;break;case 0x32:_0x82366c[_0x3047c2(0x190)]=_0x3f7c3b;break;case 0x64:_0x82366c[_0x3047c2(0x164)]=_0x82366c[_0x3047c2(0x164)]?[][_0x3047c2(0x19e)](_0x82366c[_0x3047c2(0x164)],_0x3f7c3b):_0x3f7c3b;break;case 0x14a:_0x82366c[_0x3047c2(0x11c)]=_0x3f7c3b;break;case 0x172:_0x82366c['lineweight']=_0x3f7c3b;break;case 0x186:_0x82366c['plotStyleHandle']=_0x3f7c3b;break;default:_0x82366c[_0x3047c2(0x134)+_0x39eb01]!==undefined?_0x82366c['code_'+_0x39eb01]=[][_0x3047c2(0x19e)](_0x82366c['code_'+_0x39eb01],_0x3f7c3b):_0x82366c['code_'+_0x39eb01]=_0x3f7c3b;}_0x3798a5++;}_0x4b5117[_0x3047c2(0x174)](_0x82366c);}else _0x3798a5++;}return _0x4b5117;}function parseBlocks(_0xeb628b){const _0x4e80a4=_0xcf9d;if(!_0xeb628b||_0xeb628b[_0x4e80a4(0x197)]===0x0)return [];const _0x2adc2e=[];let _0x222b34=0x0;while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]){if(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]===0x0&&_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]===_0x4e80a4(0x181)){_0x222b34++;const _0x27be92={'entities':[]};while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]&&_0xeb628b[_0x222b34][_0x4e80a4(0x155)]!==0x0){switch(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]){case 0x2:_0x27be92['name']=_0xeb628b[_0x222b34]['value'];break;case 0x3:_0x27be92[_0x4e80a4(0xa8)]=_0xeb628b[_0x222b34]['value'];break;case 0x5:_0x27be92['handle']=_0xeb628b[_0x222b34][_0x4e80a4(0xf8)];break;case 0x8:_0x27be92['layer']=_0xeb628b[_0x222b34]['value'];break;case 0xa:_0x27be92[_0x4e80a4(0x17e)]=parseFloat(_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]);break;case 0x14:_0x27be92[_0x4e80a4(0xbf)]=parseFloat(_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]);break;case 0x1e:_0x27be92[_0x4e80a4(0xd9)]=parseFloat(_0xeb628b[_0x222b34]['value']);break;case 0x46:_0x27be92['flags']=parseInt(_0xeb628b[_0x222b34]['value'],0xa);break;case 0x64:break;case 0x14a:_0x27be92[_0x4e80a4(0x11c)]=_0xeb628b[_0x222b34]['value'];break;default:_0x27be92[_0x4e80a4(0x134)+_0xeb628b[_0x222b34][_0x4e80a4(0x155)]]=_0xeb628b[_0x222b34][_0x4e80a4(0xf8)];}_0x222b34++;}const _0x3291ad=[];while(_0x222b34<_0xeb628b['length']&&!(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]===0x0&&_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]==='ENDBLK')){_0x3291ad[_0x4e80a4(0x174)](_0xeb628b[_0x222b34]),_0x222b34++;}if(_0x3291ad['length']>0x0)_0x27be92[_0x4e80a4(0x1a8)]=parseEntityList(_0x3291ad);if(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]){_0x222b34++;while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]&&_0xeb628b[_0x222b34][_0x4e80a4(0x155)]!==0x0)_0x222b34++;}_0x2adc2e[_0x4e80a4(0x174)](_0x27be92);}else _0x222b34++;}return _0x2adc2e;}function parseEntityList(_0x476a75){const _0x129f95=_0xcf9d,_0x44da76=[];let _0x50315f=0x0;while(_0x50315f<_0x476a75[_0x129f95(0x197)]){if(_0x476a75[_0x50315f][_0x129f95(0x155)]===0x0){const _0x200558=_0x476a75[_0x50315f]['value'];_0x50315f++;const _0x3e11e7=[];while(_0x50315f<_0x476a75[_0x129f95(0x197)]&&_0x476a75[_0x50315f]['code']!==0x0){_0x3e11e7[_0x129f95(0x174)](_0x476a75[_0x50315f]),_0x50315f++;}const _0x3250d9=parseOneEntity(_0x200558,_0x3e11e7);if(_0x3250d9)_0x44da76['push'](_0x3250d9);}else _0x50315f++;}return _0x44da76;}function parseOneEntity(_0x45188a,_0x2ace8f){const _0x34abf5=_0xcf9d,_0x181464={'type':_0x45188a};for(const _0x1dd780 of _0x2ace8f){switch(_0x1dd780[_0x34abf5(0x155)]){case 0x5:_0x181464['handle']=_0x1dd780['value'];break;case 0x8:_0x181464['layer']=_0x1dd780[_0x34abf5(0xf8)];break;case 0x6:_0x181464[_0x34abf5(0x1b8)]=_0x1dd780[_0x34abf5(0xf8)];break;case 0x30:_0x181464[_0x34abf5(0x18a)]=parseFloat(_0x1dd780[_0x34abf5(0xf8)]);break;case 0x3c:_0x181464[_0x34abf5(0x13e)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa)===0x0;break;case 0x3e:_0x181464[_0x34abf5(0x139)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;case 0x43:_0x181464['inPaperSpace']=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa)===0x1;break;case 0x14a:_0x181464['ownerHandle']=_0x1dd780[_0x34abf5(0xf8)];break;case 0x172:_0x181464[_0x34abf5(0xe3)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;case 0x1a4:_0x181464[_0x34abf5(0x16b)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;}}switch(_0x45188a){case 'LINE':return parseLineEntity(_0x181464,_0x2ace8f);case 'LWPOLYLINE':return parseLWPolylineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x138):return parsePolylineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xf4):return parseVertexEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xc7):return parseArcEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xcd):return parseCircleEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x1a9):return parseEllipseEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x14f):return parsePointEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xd2):return parseTextEntity(_0x181464,_0x2ace8f);case 'MTEXT':return parseMTextEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x163):return parseAttribEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x148):return parseAttribEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x121):return parseInsertEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x187):return parseDimensionEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x183):return parseLeaderEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x102):return parseMLeaderEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xca):return parseHatchEntity(_0x181464,_0x2ace8f);case 'SPLINE':return parseSplineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x1ab):case '3DSOLID':case _0x34abf5(0x117):return parseSolidEntity(_0x181464,_0x2ace8f);case '3DFACE':return parse3DFaceEntity(_0x181464,_0x2ace8f);case 'RAY':case _0x34abf5(0x1a3):return parseRayEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x130):return parseViewportEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x182):case _0x34abf5(0xe8):return parseImageEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x11e):return parseToleranceEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xb4):return parseHelixEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xa6):return parseMeshEntity(_0x181464,_0x2ace8f);case 'REGION':case _0x34abf5(0x1af):case _0x34abf5(0x14b):return parseRegionEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x106):return parseOle2Entity(_0x181464,_0x2ace8f);case _0x34abf5(0xea):return parseTableEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xd4):return parseMLineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x13c):return _0x181464;default:return parseGenericEntity(_0x181464,_0x2ace8f);}}function parseLineEntity(_0x5f3a2b,_0x5d203a){const _0x4a2922=_0xcf9d;_0x5f3a2b[_0x4a2922(0xab)]={'x':0x0,'y':0x0,'z':0x0},_0x5f3a2b[_0x4a2922(0x11d)]={'x':0x0,'y':0x0,'z':0x0},_0x5f3a2b[_0x4a2922(0x169)]=0x0,_0x5f3a2b['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x485770 of _0x5d203a){switch(_0x485770[_0x4a2922(0x155)]){case 0xa:_0x5f3a2b['startPoint']['x']=parseFloat(_0x485770['value']);break;case 0x14:_0x5f3a2b[_0x4a2922(0xab)]['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x1e:_0x5f3a2b[_0x4a2922(0xab)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xb:_0x5f3a2b[_0x4a2922(0x11d)]['x']=parseFloat(_0x485770['value']);break;case 0x15:_0x5f3a2b['endPoint']['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x1f:_0x5f3a2b[_0x4a2922(0x11d)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x27:_0x5f3a2b['thickness']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xd2:_0x5f3a2b[_0x4a2922(0x175)]['x']=parseFloat(_0x485770['value']);break;case 0xdc:_0x5f3a2b['extrusionDirection']['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xe6:_0x5f3a2b[_0x4a2922(0x175)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;}}return _0x5f3a2b;}function parseLWPolylineEntity(_0x586971,_0x18f499){const _0x116e7c=_0xcf9d;_0x586971['closed']=![],_0x586971[_0x116e7c(0x136)]=0x0,_0x586971[_0x116e7c(0xf1)]=0x0,_0x586971[_0x116e7c(0x169)]=0x0,_0x586971['vertices']=[],_0x586971[_0x116e7c(0x175)]={'x':0x0,'y':0x0,'z':0x1};let _0x133d0d=null;for(const _0x2c10e9 of _0x18f499){switch(_0x2c10e9['code']){case 0x46:_0x586971[_0x116e7c(0xe9)]=(parseInt(_0x2c10e9[_0x116e7c(0xf8)],0xa)&0x1)===0x1;break;case 0x26:_0x586971[_0x116e7c(0xf1)]=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x27:_0x586971[_0x116e7c(0x169)]=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x2b:_0x586971[_0x116e7c(0x136)]=parseFloat(_0x2c10e9['value']);break;case 0x5a:_0x586971[_0x116e7c(0xf5)]=parseInt(_0x2c10e9[_0x116e7c(0xf8)],0xa);break;case 0xa:if(_0x133d0d)_0x586971['vertices'][_0x116e7c(0x174)](_0x133d0d);_0x133d0d={'x':parseFloat(_0x2c10e9[_0x116e7c(0xf8)]),'y':0x0,'bulge':0x0,'startWidth':0x0,'endWidth':0x0};break;case 0x14:if(_0x133d0d)_0x133d0d['y']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x28:if(_0x133d0d)_0x133d0d['startWidth']=parseFloat(_0x2c10e9['value']);break;case 0x29:if(_0x133d0d)_0x133d0d[_0x116e7c(0x135)]=parseFloat(_0x2c10e9['value']);break;case 0x2a:if(_0x133d0d)_0x133d0d['bulge']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0xd2:_0x586971[_0x116e7c(0x175)]['x']=parseFloat(_0x2c10e9['value']);break;case 0xdc:_0x586971['extrusionDirection']['y']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0xe6:_0x586971['extrusionDirection']['z']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;}}if(_0x133d0d)_0x586971[_0x116e7c(0x12c)][_0x116e7c(0x174)](_0x133d0d);return _0x586971;}function parsePolylineEntity(_0x566312,_0x5da295){const _0xbccba9=_0xcf9d;_0x566312[_0xbccba9(0xe9)]=![],_0x566312[_0xbccba9(0x122)]=![],_0x566312['is3DMesh']=![],_0x566312[_0xbccba9(0x118)]=![],_0x566312['meshMVertexCount']=0x0,_0x566312[_0xbccba9(0xc3)]=0x0,_0x566312[_0xbccba9(0xd0)]=0x0,_0x566312[_0xbccba9(0x100)]=0x0,_0x566312[_0xbccba9(0xf1)]=0x0,_0x566312[_0xbccba9(0x12c)]=[];for(const _0x1e2fc5 of _0x5da295){switch(_0x1e2fc5[_0xbccba9(0x155)]){case 0xa:_0x566312['dummyX']=parseFloat(_0x1e2fc5['value']);break;case 0x14:_0x566312[_0xbccba9(0x1a2)]=parseFloat(_0x1e2fc5['value']);break;case 0x1e:_0x566312['elevation']=parseFloat(_0x1e2fc5['value']);break;case 0x27:_0x566312['thickness']=parseFloat(_0x1e2fc5['value']);break;case 0x28:_0x566312[_0xbccba9(0xd0)]=parseFloat(_0x1e2fc5['value']);break;case 0x29:_0x566312[_0xbccba9(0x100)]=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0x46:{const _0x49fcb6=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);_0x566312[_0xbccba9(0xe9)]=(_0x49fcb6&0x1)===0x1,_0x566312[_0xbccba9(0x122)]=(_0x49fcb6&0x8)===0x8,_0x566312[_0xbccba9(0xbd)]=(_0x49fcb6&0x10)===0x10,_0x566312[_0xbccba9(0x118)]=(_0x49fcb6&0x40)===0x40,_0x566312[_0xbccba9(0x15e)]=_0x49fcb6;break;}case 0x47:_0x566312[_0xbccba9(0xb3)]=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);break;case 0x48:_0x566312['meshNVertexCount']=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);break;case 0xd2:(_0x566312['extrusionDirection']=_0x566312['extrusionDirection']||{})['x']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0xdc:(_0x566312[_0xbccba9(0x175)]=_0x566312[_0xbccba9(0x175)]||{})['y']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0xe6:(_0x566312[_0xbccba9(0x175)]=_0x566312[_0xbccba9(0x175)]||{})['z']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;}}return _0x566312;}function parseVertexEntity(_0x3b5b3f,_0x19a204){const _0x2131bd=_0xcf9d;_0x3b5b3f['position']={'x':0x0,'y':0x0,'z':0x0},_0x3b5b3f[_0x2131bd(0x167)]=0x0,_0x3b5b3f['startWidth']=0x0,_0x3b5b3f[_0x2131bd(0x135)]=0x0,_0x3b5b3f[_0x2131bd(0x15e)]=0x0;for(const _0x3866a0 of _0x19a204){switch(_0x3866a0[_0x2131bd(0x155)]){case 0xa:_0x3b5b3f[_0x2131bd(0x128)]['x']=parseFloat(_0x3866a0['value']);break;case 0x14:_0x3b5b3f[_0x2131bd(0x128)]['y']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x1e:_0x3b5b3f[_0x2131bd(0x128)]['z']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x28:_0x3b5b3f[_0x2131bd(0x177)]=parseFloat(_0x3866a0['value']);break;case 0x29:_0x3b5b3f['endWidth']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x2a:_0x3b5b3f[_0x2131bd(0x167)]=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x46:_0x3b5b3f[_0x2131bd(0x15e)]=parseInt(_0x3866a0['value'],0xa);break;case 0x47:_0x3b5b3f[_0x2131bd(0xaf)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x48:_0x3b5b3f[_0x2131bd(0x115)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x49:_0x3b5b3f[_0x2131bd(0xb5)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x4a:_0x3b5b3f[_0x2131bd(0x1b1)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;}}return _0x3b5b3f;}function parseArcEntity(_0x4d8b82,_0x51b070){const _0x495aed=_0xcf9d;_0x4d8b82[_0x495aed(0xba)]={'x':0x0,'y':0x0,'z':0x0},_0x4d8b82[_0x495aed(0x120)]=0x0,_0x4d8b82[_0x495aed(0xb8)]=0x0,_0x4d8b82[_0x495aed(0x156)]=0x168,_0x4d8b82['thickness']=0x0,_0x4d8b82[_0x495aed(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x388ba7 of _0x51b070){switch(_0x388ba7[_0x495aed(0x155)]){case 0xa:_0x4d8b82[_0x495aed(0xba)]['x']=parseFloat(_0x388ba7['value']);break;case 0x14:_0x4d8b82[_0x495aed(0xba)]['y']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x1e:_0x4d8b82[_0x495aed(0xba)]['z']=parseFloat(_0x388ba7['value']);break;case 0x27:_0x4d8b82[_0x495aed(0x169)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x28:_0x4d8b82[_0x495aed(0x120)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x32:_0x4d8b82[_0x495aed(0xb8)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x33:_0x4d8b82[_0x495aed(0x156)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xd2:_0x4d8b82[_0x495aed(0x175)]['x']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xdc:_0x4d8b82['extrusionDirection']['y']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xe6:_0x4d8b82[_0x495aed(0x175)]['z']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;}}return _0x4d8b82;}function parseCircleEntity(_0x277b8f,_0x4c59d8){const _0xaf4f66=_0xcf9d;_0x277b8f['center']={'x':0x0,'y':0x0,'z':0x0},_0x277b8f['radius']=0x0,_0x277b8f['thickness']=0x0,_0x277b8f[_0xaf4f66(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5e6aff of _0x4c59d8){switch(_0x5e6aff[_0xaf4f66(0x155)]){case 0xa:_0x277b8f[_0xaf4f66(0xba)]['x']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x14:_0x277b8f['center']['y']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x1e:_0x277b8f[_0xaf4f66(0xba)]['z']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x27:_0x277b8f[_0xaf4f66(0x169)]=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x28:_0x277b8f[_0xaf4f66(0x120)]=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xd2:_0x277b8f[_0xaf4f66(0x175)]['x']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xdc:_0x277b8f[_0xaf4f66(0x175)]['y']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xe6:_0x277b8f['extrusionDirection']['z']=parseFloat(_0x5e6aff['value']);break;}}return _0x277b8f;}function parseEllipseEntity(_0x95f4af,_0x18ee24){const _0x243f41=_0xcf9d;_0x95f4af[_0x243f41(0xba)]={'x':0x0,'y':0x0,'z':0x0},_0x95f4af[_0x243f41(0x11a)]={'x':0x0,'y':0x0,'z':0x0},_0x95f4af[_0x243f41(0x10c)]=0x1,_0x95f4af[_0x243f41(0xb8)]=0x0,_0x95f4af[_0x243f41(0x156)]=Math['PI']*0x2,_0x95f4af['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x2a8983 of _0x18ee24){switch(_0x2a8983[_0x243f41(0x155)]){case 0xa:_0x95f4af['center']['x']=parseFloat(_0x2a8983['value']);break;case 0x14:_0x95f4af[_0x243f41(0xba)]['y']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x1e:_0x95f4af[_0x243f41(0xba)]['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0xb:_0x95f4af[_0x243f41(0x11a)]['x']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x15:_0x95f4af[_0x243f41(0x11a)]['y']=parseFloat(_0x2a8983['value']);break;case 0x1f:_0x95f4af['majorAxisEndPoint']['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x28:_0x95f4af[_0x243f41(0x10c)]=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x29:_0x95f4af['startAngle']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x2a:_0x95f4af['endAngle']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0xd2:_0x95f4af[_0x243f41(0x175)]['x']=parseFloat(_0x2a8983['value']);break;case 0xdc:_0x95f4af['extrusionDirection']['y']=parseFloat(_0x2a8983['value']);break;case 0xe6:_0x95f4af[_0x243f41(0x175)]['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;}}return _0x95f4af;}function parsePointEntity(_0x2457a0,_0x22cc7c){const _0x4caa62=_0xcf9d;_0x2457a0[_0x4caa62(0x128)]={'x':0x0,'y':0x0,'z':0x0},_0x2457a0[_0x4caa62(0x169)]=0x0,_0x2457a0['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x39690a of _0x22cc7c){switch(_0x39690a[_0x4caa62(0x155)]){case 0xa:_0x2457a0[_0x4caa62(0x128)]['x']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x14:_0x2457a0[_0x4caa62(0x128)]['y']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x1e:_0x2457a0[_0x4caa62(0x128)]['z']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x27:_0x2457a0[_0x4caa62(0x169)]=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x32:_0x2457a0[_0x4caa62(0x190)]=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xd2:_0x2457a0['extrusionDirection']['x']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xdc:_0x2457a0[_0x4caa62(0x175)]['y']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xe6:_0x2457a0[_0x4caa62(0x175)]['z']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;}}return _0x2457a0;}function parseTextEntity(_0x2c9e99,_0x30fba4){const _0x1a473f=_0xcf9d;_0x2c9e99[_0x1a473f(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x2c9e99[_0x1a473f(0x108)]={'x':0x0,'y':0x0,'z':0x0},_0x2c9e99[_0x1a473f(0x132)]=0x0,_0x2c9e99[_0x1a473f(0xdb)]='',_0x2c9e99[_0x1a473f(0xe4)]=0x0,_0x2c9e99[_0x1a473f(0x1a6)]=0x1,_0x2c9e99[_0x1a473f(0x142)]=0x0,_0x2c9e99[_0x1a473f(0x1aa)]=_0x1a473f(0x17d),_0x2c9e99['generationFlags']=0x0,_0x2c9e99['hAlign']=0x0,_0x2c9e99['vAlign']=0x0,_0x2c9e99[_0x1a473f(0x169)]=0x0,_0x2c9e99[_0x1a473f(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0xab774c of _0x30fba4){switch(_0xab774c[_0x1a473f(0x155)]){case 0x1:_0x2c9e99['text']=_0xab774c[_0x1a473f(0xf8)];break;case 0x7:_0x2c9e99[_0x1a473f(0x1aa)]=_0xab774c[_0x1a473f(0xf8)];break;case 0xa:_0x2c9e99[_0x1a473f(0x193)]['x']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x14:_0x2c9e99[_0x1a473f(0x193)]['y']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x1e:_0x2c9e99[_0x1a473f(0x193)]['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0xb:_0x2c9e99[_0x1a473f(0x108)]['x']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x15:_0x2c9e99[_0x1a473f(0x108)]['y']=parseFloat(_0xab774c['value']);break;case 0x1f:_0x2c9e99['alignmentPoint']['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x27:_0x2c9e99[_0x1a473f(0x169)]=parseFloat(_0xab774c['value']);break;case 0x28:_0x2c9e99['height']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x29:_0x2c9e99[_0x1a473f(0x1a6)]=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x32:_0x2c9e99[_0x1a473f(0xe4)]=parseFloat(_0xab774c['value']);break;case 0x33:_0x2c9e99[_0x1a473f(0x142)]=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x47:_0x2c9e99[_0x1a473f(0x1a0)]=parseInt(_0xab774c['value'],0xa);break;case 0x48:_0x2c9e99[_0x1a473f(0x15a)]=parseInt(_0xab774c[_0x1a473f(0xf8)],0xa);break;case 0x49:_0x2c9e99[_0x1a473f(0x1ad)]=parseInt(_0xab774c[_0x1a473f(0xf8)],0xa);break;case 0xd2:_0x2c9e99['extrusionDirection']['x']=parseFloat(_0xab774c['value']);break;case 0xdc:_0x2c9e99[_0x1a473f(0x175)]['y']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0xe6:_0x2c9e99['extrusionDirection']['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;}}return _0x2c9e99;}function parseMTextEntity(_0x15ae0a,_0x5b114b){const _0x1f23ba=_0xcf9d;_0x15ae0a['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x15ae0a[_0x1f23ba(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x15ae0a[_0x1f23ba(0x132)]=0x0,_0x15ae0a['width']=0x0,_0x15ae0a[_0x1f23ba(0xdb)]='',_0x15ae0a[_0x1f23ba(0xe4)]=0x0,_0x15ae0a[_0x1f23ba(0x1aa)]=_0x1f23ba(0x17d),_0x15ae0a[_0x1f23ba(0x113)]=0x1,_0x15ae0a[_0x1f23ba(0xad)]=0x1,_0x15ae0a['lineSpacing']=0x1,_0x15ae0a[_0x1f23ba(0x1b4)]=0x1,_0x15ae0a['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};let _0x53b20d=[];for(const _0x19f07d of _0x5b114b){switch(_0x19f07d[_0x1f23ba(0x155)]){case 0x1:_0x53b20d[_0x1f23ba(0x174)](_0x19f07d['value']);break;case 0x3:_0x53b20d[_0x1f23ba(0x174)](_0x19f07d['value']);break;case 0x7:_0x15ae0a['styleName']=_0x19f07d[_0x1f23ba(0xf8)];break;case 0xa:_0x15ae0a[_0x1f23ba(0x193)]['x']=parseFloat(_0x19f07d['value']);break;case 0x14:_0x15ae0a[_0x1f23ba(0x193)]['y']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x1e:_0x15ae0a[_0x1f23ba(0x193)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xb:_0x15ae0a[_0x1f23ba(0x1a1)]['x']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x15:_0x15ae0a[_0x1f23ba(0x1a1)]['y']=parseFloat(_0x19f07d['value']);break;case 0x1f:_0x15ae0a[_0x1f23ba(0x1a1)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x28:_0x15ae0a['height']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x29:_0x15ae0a[_0x1f23ba(0xf0)]=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x2c:_0x15ae0a[_0x1f23ba(0x16c)]=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x32:_0x15ae0a[_0x1f23ba(0xe4)]=parseFloat(_0x19f07d['value']);break;case 0x47:_0x15ae0a[_0x1f23ba(0x113)]=parseInt(_0x19f07d['value'],0xa);break;case 0x48:_0x15ae0a[_0x1f23ba(0xad)]=parseInt(_0x19f07d['value'],0xa);break;case 0x49:_0x15ae0a[_0x1f23ba(0x1b4)]=parseInt(_0x19f07d[_0x1f23ba(0xf8)],0xa);break;case 0xd2:_0x15ae0a[_0x1f23ba(0x175)]['x']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xdc:_0x15ae0a[_0x1f23ba(0x175)]['y']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xe6:_0x15ae0a[_0x1f23ba(0x175)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;}}return _0x15ae0a[_0x1f23ba(0xdb)]=_0x53b20d[_0x1f23ba(0xe5)](''),_0x15ae0a;}function parseAttribEntity(_0x49d25d,_0xd015fe){const _0x56449c=_0xcf9d;_0x49d25d[_0x56449c(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x49d25d['alignmentPoint']={'x':0x0,'y':0x0,'z':0x0},_0x49d25d['height']=0x0,_0x49d25d[_0x56449c(0xdb)]='',_0x49d25d[_0x56449c(0xaa)]='',_0x49d25d[_0x56449c(0x14c)]='',_0x49d25d[_0x56449c(0xe4)]=0x0,_0x49d25d['flags']=0x0,_0x49d25d[_0x56449c(0x1aa)]=_0x56449c(0x17d);for(const _0x47d405 of _0xd015fe){switch(_0x47d405[_0x56449c(0x155)]){case 0x1:_0x49d25d[_0x56449c(0xdb)]=_0x47d405[_0x56449c(0xf8)];break;case 0x2:_0x49d25d[_0x56449c(0xaa)]=_0x47d405[_0x56449c(0xf8)];break;case 0x3:_0x49d25d[_0x56449c(0x14c)]=_0x47d405['value'];break;case 0x7:_0x49d25d['styleName']=_0x47d405[_0x56449c(0xf8)];break;case 0xa:_0x49d25d[_0x56449c(0x193)]['x']=parseFloat(_0x47d405['value']);break;case 0x14:_0x49d25d[_0x56449c(0x193)]['y']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x1e:_0x49d25d['insertionPoint']['z']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0xb:_0x49d25d[_0x56449c(0x108)]['x']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x15:_0x49d25d[_0x56449c(0x108)]['y']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x1f:_0x49d25d['alignmentPoint']['z']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x28:_0x49d25d['height']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x29:_0x49d25d[_0x56449c(0x1a6)]=parseFloat(_0x47d405['value']);break;case 0x32:_0x49d25d[_0x56449c(0xe4)]=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x46:_0x49d25d[_0x56449c(0x15e)]=parseInt(_0x47d405[_0x56449c(0xf8)],0xa);break;case 0x47:_0x49d25d[_0x56449c(0x1a0)]=parseInt(_0x47d405['value'],0xa);break;case 0x48:_0x49d25d['hAlign']=parseInt(_0x47d405[_0x56449c(0xf8)],0xa);break;case 0x49:_0x49d25d['vAlign']=parseInt(_0x47d405['value'],0xa);break;}}return _0x49d25d;}function parseInsertEntity(_0x4e91c8,_0x5ea6f1){const _0xd07b06=_0xcf9d;_0x4e91c8[_0xd07b06(0x1b7)]='',_0x4e91c8[_0xd07b06(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x4e91c8[_0xd07b06(0x1b9)]={'x':0x1,'y':0x1,'z':0x1},_0x4e91c8[_0xd07b06(0xe4)]=0x0,_0x4e91c8[_0xd07b06(0x19f)]=0x1,_0x4e91c8[_0xd07b06(0xb9)]=0x1,_0x4e91c8['columnSpacing']=0x0,_0x4e91c8['rowSpacing']=0x0,_0x4e91c8['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1},_0x4e91c8[_0xd07b06(0xbb)]=[];for(const _0x6cd790 of _0x5ea6f1){switch(_0x6cd790[_0xd07b06(0x155)]){case 0x2:_0x4e91c8[_0xd07b06(0x1b7)]=_0x6cd790[_0xd07b06(0xf8)];break;case 0xa:_0x4e91c8['insertionPoint']['x']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x14:_0x4e91c8[_0xd07b06(0x193)]['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x1e:_0x4e91c8['insertionPoint']['z']=parseFloat(_0x6cd790['value']);break;case 0x29:_0x4e91c8['scale']['x']=parseFloat(_0x6cd790['value']);break;case 0x2a:_0x4e91c8[_0xd07b06(0x1b9)]['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x2b:_0x4e91c8['scale']['z']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x2c:_0x4e91c8[_0xd07b06(0xcb)]=parseFloat(_0x6cd790['value']);break;case 0x2d:_0x4e91c8[_0xd07b06(0x11b)]=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x32:_0x4e91c8[_0xd07b06(0xe4)]=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x42:_0x4e91c8[_0xd07b06(0x15b)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa)===0x1;break;case 0x46:_0x4e91c8[_0xd07b06(0x19f)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa);break;case 0x47:_0x4e91c8[_0xd07b06(0xb9)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa);break;case 0xd2:_0x4e91c8[_0xd07b06(0x175)]['x']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0xdc:_0x4e91c8['extrusionDirection']['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0xe6:_0x4e91c8['extrusionDirection']['z']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;}}return _0x4e91c8;}function parseDimensionEntity(_0x330890,_0x2671f4){const _0x2573a1=_0xcf9d;_0x330890[_0x2573a1(0x1b7)]='',_0x330890[_0x2573a1(0xe2)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x150)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x1a7)]=0x0,_0x330890[_0x2573a1(0xdb)]='',_0x330890['styleName']=_0x2573a1(0x17d),_0x330890[_0x2573a1(0xe4)]=0x0,_0x330890[_0x2573a1(0xc1)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x178)]={'x':0x0,'y':0x0,'z':0x0};for(const _0x4074e3 of _0x2671f4){switch(_0x4074e3[_0x2573a1(0x155)]){case 0x1:_0x330890[_0x2573a1(0xdb)]=_0x4074e3[_0x2573a1(0xf8)];break;case 0x2:_0x330890[_0x2573a1(0x1b7)]=_0x4074e3[_0x2573a1(0xf8)];break;case 0x3:_0x330890['styleName']=_0x4074e3[_0x2573a1(0xf8)];break;case 0xa:_0x330890[_0x2573a1(0xe2)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x14:_0x330890[_0x2573a1(0xe2)]['y']=parseFloat(_0x4074e3['value']);break;case 0x1e:_0x330890[_0x2573a1(0xe2)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xb:_0x330890[_0x2573a1(0x150)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x15:_0x330890[_0x2573a1(0x150)]['y']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x1f:_0x330890[_0x2573a1(0x150)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xd:_0x330890['point1']['x']=parseFloat(_0x4074e3['value']);break;case 0x17:_0x330890['point1']['y']=parseFloat(_0x4074e3['value']);break;case 0x21:_0x330890[_0x2573a1(0xc1)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xe:_0x330890[_0x2573a1(0x178)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x18:_0x330890['point2']['y']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x22:_0x330890[_0x2573a1(0x178)]['z']=parseFloat(_0x4074e3['value']);break;case 0x28:_0x330890[_0x2573a1(0x14e)]=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x32:_0x330890[_0x2573a1(0xe4)]=parseFloat(_0x4074e3['value']);break;case 0x46:_0x330890[_0x2573a1(0x1a7)]=parseInt(_0x4074e3['value'],0xa);break;case 0x47:_0x330890['attachmentPoint']=parseInt(_0x4074e3['value'],0xa);break;}}return _0x330890;}function parseLeaderEntity(_0x11e262,_0x5a3440){const _0x13820f=_0xcf9d;_0x11e262[_0x13820f(0x1aa)]=_0x13820f(0x17d),_0x11e262[_0x13820f(0x1ac)]=0x1,_0x11e262[_0x13820f(0x159)]=0x0,_0x11e262[_0x13820f(0xd8)]=0x0,_0x11e262[_0x13820f(0xfd)]=0x0,_0x11e262[_0x13820f(0x12c)]=[],_0x11e262['annotationReference']=null,_0x11e262[_0x13820f(0xe0)]={'x':0x0,'y':0x0,'z':0x1},_0x11e262[_0x13820f(0x17a)]={'x':0x1,'y':0x0,'z':0x0};let _0x5f034a=null;for(const _0x5bb113 of _0x5a3440){switch(_0x5bb113[_0x13820f(0x155)]){case 0x3:_0x11e262[_0x13820f(0x1aa)]=_0x5bb113[_0x13820f(0xf8)];break;case 0xa:_0x5f034a=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x14:_0x5f034a!==null&&(_0x11e262[_0x13820f(0x12c)][_0x13820f(0x174)]({'x':_0x5f034a,'y':parseFloat(_0x5bb113[_0x13820f(0xf8)]),'z':0x0}),_0x5f034a=null);break;case 0x1e:if(_0x11e262['vertices']['length']>0x0)_0x11e262['vertices'][_0x11e262[_0x13820f(0x12c)][_0x13820f(0x197)]-0x1]['z']=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x28:_0x11e262['textHeight']=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x29:_0x11e262[_0x13820f(0x129)]=parseFloat(_0x5bb113['value']);break;case 0x47:_0x11e262[_0x13820f(0x1ac)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x48:_0x11e262[_0x13820f(0x159)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x49:_0x11e262[_0x13820f(0xd8)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x4c:_0x11e262['vertexCount']=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x154:_0x11e262[_0x13820f(0xef)]=_0x5bb113[_0x13820f(0xf8)];break;}}return _0x11e262;}function parseMLeaderEntity(_0x2dc964,_0x1b9325){const _0x3fca73=_0xcf9d;_0x2dc964[_0x3fca73(0x1aa)]='',_0x2dc964[_0x3fca73(0xdb)]='',_0x2dc964[_0x3fca73(0xda)]=[],_0x2dc964[_0x3fca73(0x170)]=0x0,_0x2dc964[_0x3fca73(0x185)]='';let _0x425c5c=null;for(const _0x4f2d21 of _0x1b9325){switch(_0x4f2d21[_0x3fca73(0x155)]){case 0x3:_0x2dc964[_0x3fca73(0x1aa)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0x130:_0x2dc964[_0x3fca73(0xdb)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0xaa:_0x2dc964[_0x3fca73(0x170)]=parseInt(_0x4f2d21['value'],0xa);break;case 0x154:_0x2dc964[_0x3fca73(0x185)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0xa:_0x425c5c=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x14:_0x425c5c!==null&&(_0x2dc964[_0x3fca73(0xda)]['push']({'x':_0x425c5c,'y':parseFloat(_0x4f2d21[_0x3fca73(0xf8)]),'z':0x0}),_0x425c5c=null);break;case 0x1e:if(_0x2dc964[_0x3fca73(0xda)]['length']>0x0)_0x2dc964['leaderPoints'][_0x2dc964[_0x3fca73(0xda)][_0x3fca73(0x197)]-0x1]['z']=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x28:_0x2dc964[_0x3fca73(0x1ba)]=parseFloat(_0x4f2d21['value']);break;case 0x29:_0x2dc964[_0x3fca73(0x165)]=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x2a:_0x2dc964[_0x3fca73(0xf6)]=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;}}return _0x2dc964;}function parseHatchEntity(_0x4dbc68,_0x4c0921){const _0x4e3179=_0xcf9d;_0x4dbc68['patternName']='',_0x4dbc68['solid']=![],_0x4dbc68[_0x4e3179(0x19a)]=![],_0x4dbc68[_0x4e3179(0x195)]=0x0,_0x4dbc68[_0x4e3179(0x17f)]=0x0,_0x4dbc68[_0x4e3179(0x186)]=0x0,_0x4dbc68[_0x4e3179(0xd1)]=0x1,_0x4dbc68[_0x4e3179(0xf1)]=0x0,_0x4dbc68[_0x4e3179(0x175)]={'x':0x0,'y':0x0,'z':0x1},_0x4dbc68[_0x4e3179(0xff)]=[],_0x4dbc68[_0x4e3179(0x17c)]=[];let _0x408cf2=![],_0x5a86ff=null;for(const _0x3ef8d9 of _0x4c0921){switch(_0x3ef8d9['code']){case 0x2:_0x4dbc68[_0x4e3179(0xd6)]=_0x3ef8d9[_0x4e3179(0xf8)];break;case 0xa:_0x408cf2&&_0x5a86ff&&(_0x5a86ff[_0x4e3179(0x1b2)]=_0x5a86ff[_0x4e3179(0x1b2)]||[],_0x5a86ff[_0x4e3179(0x1b2)][_0x4e3179(0x174)]({'x':parseFloat(_0x3ef8d9[_0x4e3179(0xf8)])}));break;case 0x14:if(_0x408cf2&&_0x5a86ff&&_0x5a86ff[_0x4e3179(0x1b2)]&&_0x5a86ff[_0x4e3179(0x1b2)]['length']>0x0)_0x5a86ff['points'][_0x5a86ff[_0x4e3179(0x1b2)][_0x4e3179(0x197)]-0x1]['y']=parseFloat(_0x3ef8d9['value']);break;case 0x1e:_0x4dbc68[_0x4e3179(0xf1)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x29:_0x4dbc68[_0x4e3179(0xd1)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x34:_0x4dbc68[_0x4e3179(0x186)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x46:_0x4dbc68[_0x4e3179(0xb2)]=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa)===0x1;break;case 0x47:_0x4dbc68['associative']=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa)===0x1;break;case 0x4b:_0x4dbc68[_0x4e3179(0x195)]=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa);break;case 0x4c:_0x4dbc68['patternType']=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa);break;case 0x5b:_0x408cf2=!![];break;case 0x5c:if(_0x5a86ff)_0x4dbc68[_0x4e3179(0xff)][_0x4e3179(0x174)](_0x5a86ff);_0x5a86ff={'type':parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa),'edges':[],'points':[]};break;case 0x5d:if(_0x5a86ff)_0x5a86ff[_0x4e3179(0x192)]=parseInt(_0x3ef8d9['value'],0xa);break;case 0x61:if(_0x5a86ff)_0x4dbc68[_0x4e3179(0xff)][_0x4e3179(0x174)](_0x5a86ff);_0x5a86ff=null,_0x408cf2=![];break;case 0xd2:_0x4dbc68[_0x4e3179(0x175)]['x']=parseFloat(_0x3ef8d9['value']);break;case 0xdc:_0x4dbc68['extrusionDirection']['y']=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0xe6:_0x4dbc68['extrusionDirection']['z']=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;}}if(_0x5a86ff)_0x4dbc68['boundaryPaths'][_0x4e3179(0x174)](_0x5a86ff);return _0x4dbc68;}function parseSplineEntity(_0x8d5426,_0x5c699e){const _0x8512d9=_0xcf9d;_0x8d5426['normal']={'x':0x0,'y':0x0,'z':0x1},_0x8d5426[_0x8512d9(0x14d)]=0x3,_0x8d5426[_0x8512d9(0xe9)]=![],_0x8d5426[_0x8512d9(0xb1)]=![],_0x8d5426[_0x8512d9(0x173)]=![],_0x8d5426['planar']=![],_0x8d5426[_0x8512d9(0xdd)]=1e-7,_0x8d5426[_0x8512d9(0x141)]=1e-7,_0x8d5426[_0x8512d9(0x198)]=1e-10,_0x8d5426['startTangent']={'x':0x0,'y':0x0,'z':0x0},_0x8d5426['endTangent']={'x':0x0,'y':0x0,'z':0x0},_0x8d5426[_0x8512d9(0x189)]=[],_0x8d5426[_0x8512d9(0x137)]=[],_0x8d5426[_0x8512d9(0xc6)]=[],_0x8d5426['fitPoints']=[];let _0x4c424d=null,_0x3fdea7=null;for(const _0x2df430 of _0x5c699e){switch(_0x2df430[_0x8512d9(0x155)]){case 0xa:_0x4c424d=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x14:_0x4c424d!==null&&(_0x8d5426['controlPoints'][_0x8512d9(0x174)]({'x':_0x4c424d,'y':parseFloat(_0x2df430[_0x8512d9(0xf8)]),'z':0x0}),_0x4c424d=null);break;case 0x1e:if(_0x8d5426[_0x8512d9(0xc6)][_0x8512d9(0x197)]>0x0)_0x8d5426['controlPoints'][_0x8d5426['controlPoints'][_0x8512d9(0x197)]-0x1]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xb:_0x3fdea7=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x15:_0x3fdea7!==null&&(_0x8d5426[_0x8512d9(0x112)][_0x8512d9(0x174)]({'x':_0x3fdea7,'y':parseFloat(_0x2df430[_0x8512d9(0xf8)]),'z':0x0}),_0x3fdea7=null);break;case 0x1f:if(_0x8d5426[_0x8512d9(0x112)]['length']>0x0)_0x8d5426[_0x8512d9(0x112)][_0x8d5426['fitPoints'][_0x8512d9(0x197)]-0x1]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xc:_0x8d5426[_0x8512d9(0x1bb)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x16:_0x8d5426['startTangent']['y']=parseFloat(_0x2df430['value']);break;case 0x20:_0x8d5426[_0x8512d9(0x1bb)]['z']=parseFloat(_0x2df430['value']);break;case 0xd:_0x8d5426[_0x8512d9(0x114)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x17:_0x8d5426[_0x8512d9(0x114)]['y']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x21:_0x8d5426[_0x8512d9(0x114)]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x28:_0x8d5426[_0x8512d9(0x189)][_0x8512d9(0x174)](parseFloat(_0x2df430[_0x8512d9(0xf8)]));break;case 0x29:_0x8d5426['weights'][_0x8512d9(0x174)](parseFloat(_0x2df430[_0x8512d9(0xf8)]));break;case 0x2a:_0x8d5426[_0x8512d9(0xdd)]=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x2b:_0x8d5426[_0x8512d9(0x141)]=parseFloat(_0x2df430['value']);break;case 0x2c:_0x8d5426[_0x8512d9(0x198)]=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x46:{const _0xb5d906=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);_0x8d5426[_0x8512d9(0xe9)]=(_0xb5d906&0x1)===0x1,_0x8d5426[_0x8512d9(0xb1)]=(_0xb5d906&0x2)===0x2,_0x8d5426[_0x8512d9(0x173)]=(_0xb5d906&0x4)===0x4,_0x8d5426['planar']=(_0xb5d906&0x8)===0x8,_0x8d5426[_0x8512d9(0x15e)]=_0xb5d906;break;}case 0x47:_0x8d5426[_0x8512d9(0x14d)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x48:_0x8d5426[_0x8512d9(0xfc)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x49:_0x8d5426['controlPointCount']=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x4a:_0x8d5426[_0x8512d9(0x17b)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0xd2:_0x8d5426[_0x8512d9(0xe0)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xdc:_0x8d5426[_0x8512d9(0xe0)]['y']=parseFloat(_0x2df430['value']);break;case 0xe6:_0x8d5426[_0x8512d9(0xe0)]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;}}return _0x8d5426;}function parseSolidEntity(_0x20fec0,_0x304011){const _0x1d1ea6=_0xcf9d;_0x20fec0['points']=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x20fec0[_0x1d1ea6(0x169)]=0x0,_0x20fec0[_0x1d1ea6(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x2f084a of _0x304011){switch(_0x2f084a[_0x1d1ea6(0x155)]){case 0xa:_0x20fec0['points'][0x0]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x14:_0x20fec0[_0x1d1ea6(0x1b2)][0x0]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x1e:_0x20fec0[_0x1d1ea6(0x1b2)][0x0]['z']=parseFloat(_0x2f084a['value']);break;case 0xb:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x15:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x1f:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['z']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xc:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x16:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x20:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['z']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xd:_0x20fec0[_0x1d1ea6(0x1b2)][0x3]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x17:_0x20fec0[_0x1d1ea6(0x1b2)][0x3]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x21:_0x20fec0['points'][0x3]['z']=parseFloat(_0x2f084a['value']);break;case 0x27:_0x20fec0[_0x1d1ea6(0x169)]=parseFloat(_0x2f084a['value']);break;case 0xd2:_0x20fec0[_0x1d1ea6(0x175)]['x']=parseFloat(_0x2f084a['value']);break;case 0xdc:_0x20fec0[_0x1d1ea6(0x175)]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xe6:_0x20fec0['extrusionDirection']['z']=parseFloat(_0x2f084a['value']);break;}}return _0x20fec0;}function _0xcf9d(_0x38e7e1,_0x383932){_0x38e7e1=_0x38e7e1-0xa5;const _0x39c5b3=_0x39c5();let _0xcf9dc9=_0x39c5b3[_0x38e7e1];return _0xcf9dc9;}function parse3DFaceEntity(_0x264a3e,_0x1de57a){const _0x164f2f=_0xcf9d;_0x264a3e[_0x164f2f(0x12c)]=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x264a3e[_0x164f2f(0x1b0)]=0x0;for(const _0x551fda of _0x1de57a){switch(_0x551fda[_0x164f2f(0x155)]){case 0xa:_0x264a3e[_0x164f2f(0x12c)][0x0]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x14:_0x264a3e[_0x164f2f(0x12c)][0x0]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x1e:_0x264a3e[_0x164f2f(0x12c)][0x0]['z']=parseFloat(_0x551fda['value']);break;case 0xb:_0x264a3e['vertices'][0x1]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x15:_0x264a3e[_0x164f2f(0x12c)][0x1]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x1f:_0x264a3e['vertices'][0x1]['z']=parseFloat(_0x551fda['value']);break;case 0xc:_0x264a3e['vertices'][0x2]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x16:_0x264a3e['vertices'][0x2]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x20:_0x264a3e['vertices'][0x2]['z']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0xd:_0x264a3e[_0x164f2f(0x12c)][0x3]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x17:_0x264a3e[_0x164f2f(0x12c)][0x3]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x21:_0x264a3e[_0x164f2f(0x12c)][0x3]['z']=parseFloat(_0x551fda['value']);break;case 0x46:_0x264a3e[_0x164f2f(0x1b0)]=parseInt(_0x551fda['value'],0xa);break;}}return _0x264a3e;}function parseRayEntity(_0x46f4ae,_0xdf12f8){const _0x1834c9=_0xcf9d;_0x46f4ae[_0x1834c9(0x1b5)]={'x':0x0,'y':0x0,'z':0x0},_0x46f4ae[_0x1834c9(0x1a1)]={'x':0x1,'y':0x0,'z':0x0};for(const _0x141432 of _0xdf12f8){switch(_0x141432[_0x1834c9(0x155)]){case 0xa:_0x46f4ae[_0x1834c9(0x1b5)]['x']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x14:_0x46f4ae['basePoint']['y']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x1e:_0x46f4ae['basePoint']['z']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0xb:_0x46f4ae['direction']['x']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x15:_0x46f4ae[_0x1834c9(0x1a1)]['y']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x1f:_0x46f4ae['direction']['z']=parseFloat(_0x141432['value']);break;}}return _0x46f4ae;}function parseViewportEntity(_0x43c2ef,_0x251245){const _0x777a80=_0xcf9d;_0x43c2ef['center']={'x':0x0,'y':0x0,'z':0x0},_0x43c2ef[_0x777a80(0xf0)]=0x0,_0x43c2ef[_0x777a80(0x132)]=0x0,_0x43c2ef[_0x777a80(0x151)]={'x':0x0,'y':0x0,'z':0x0},_0x43c2ef[_0x777a80(0x15c)]={'x':0x0,'y':0x0,'z':0x1},_0x43c2ef[_0x777a80(0x153)]=0x0,_0x43c2ef['viewHeight']=0x0,_0x43c2ef[_0x777a80(0x191)]={'x':0x0,'y':0x0},_0x43c2ef[_0x777a80(0x161)]=0x32,_0x43c2ef[_0x777a80(0xb7)]=0x0,_0x43c2ef[_0x777a80(0x158)]=null,_0x43c2ef['frozenLayers']=[];for(const _0x3b2317 of _0x251245){switch(_0x3b2317[_0x777a80(0x155)]){case 0xa:_0x43c2ef[_0x777a80(0xba)]['x']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x14:_0x43c2ef[_0x777a80(0xba)]['y']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x1e:_0x43c2ef[_0x777a80(0xba)]['z']=parseFloat(_0x3b2317['value']);break;case 0xc:_0x43c2ef['viewCenter']['x']=parseFloat(_0x3b2317['value']);break;case 0x16:_0x43c2ef[_0x777a80(0x191)]['y']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x28:_0x43c2ef['width']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x29:_0x43c2ef[_0x777a80(0x132)]=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x2d:_0x43c2ef[_0x777a80(0xc4)]=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x33:_0x43c2ef[_0x777a80(0x153)]=parseFloat(_0x3b2317['value']);break;case 0x44:_0x43c2ef[_0x777a80(0xb7)]=parseInt(_0x3b2317[_0x777a80(0xf8)],0xa);break;case 0x45:_0x43c2ef['id']=parseInt(_0x3b2317[_0x777a80(0xf8)],0xa);break;case 0x14b:_0x43c2ef[_0x777a80(0x10f)][_0x777a80(0x174)](_0x3b2317['value']);break;case 0x154:_0x43c2ef[_0x777a80(0x158)]=_0x3b2317['value'];break;}}return _0x43c2ef;}function parseImageEntity(_0x19347f,_0x524170){const _0x55fe66=_0xcf9d;_0x19347f[_0x55fe66(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x19347f[_0x55fe66(0x13a)]={'x':0x1,'y':0x0,'z':0x0},_0x19347f['vVector']={'x':0x0,'y':0x1,'z':0x0},_0x19347f[_0x55fe66(0x12e)]={'u':0x0,'v':0x0},_0x19347f[_0x55fe66(0xdc)]='',_0x19347f[_0x55fe66(0xf2)]=0x0,_0x19347f[_0x55fe66(0x179)]=0x0,_0x19347f['brightness']=0x32,_0x19347f[_0x55fe66(0x157)]=0x32,_0x19347f[_0x55fe66(0x144)]=0x0,_0x19347f[_0x55fe66(0xdf)]=[];for(const _0x149ed3 of _0x524170){switch(_0x149ed3[_0x55fe66(0x155)]){case 0xa:_0x19347f[_0x55fe66(0x193)]['x']=parseFloat(_0x149ed3['value']);break;case 0x14:_0x19347f[_0x55fe66(0x193)]['y']=parseFloat(_0x149ed3['value']);break;case 0x1e:_0x19347f[_0x55fe66(0x193)]['z']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0xd:_0x19347f[_0x55fe66(0x12e)]['u']=parseFloat(_0x149ed3['value']);break;case 0x17:_0x19347f[_0x55fe66(0x12e)]['v']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0xe:_0x19347f[_0x55fe66(0xdf)]['push']({'x':parseFloat(_0x149ed3['value'])});break;case 0x18:if(_0x19347f[_0x55fe66(0xdf)][_0x55fe66(0x197)]>0x0)_0x19347f[_0x55fe66(0xdf)][_0x19347f[_0x55fe66(0xdf)][_0x55fe66(0x197)]-0x1]['y']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0x46:_0x19347f[_0x55fe66(0xf2)]=parseInt(_0x149ed3[_0x55fe66(0xf8)],0xa);break;case 0x154:_0x19347f[_0x55fe66(0xdc)]=_0x149ed3[_0x55fe66(0xf8)];break;}}return _0x19347f;}function parseToleranceEntity(_0x345944,_0x494ca6){const _0xf9a912=_0xcf9d;_0x345944[_0xf9a912(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x345944[_0xf9a912(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x345944[_0xf9a912(0x1aa)]=_0xf9a912(0x17d),_0x345944[_0xf9a912(0xdb)]='';for(const _0xb0db09 of _0x494ca6){switch(_0xb0db09[_0xf9a912(0x155)]){case 0x1:_0x345944[_0xf9a912(0xdb)]=_0xb0db09[_0xf9a912(0xf8)];break;case 0x3:_0x345944[_0xf9a912(0x1aa)]=_0xb0db09[_0xf9a912(0xf8)];break;case 0xa:_0x345944[_0xf9a912(0x193)]['x']=parseFloat(_0xb0db09['value']);break;case 0x14:_0x345944[_0xf9a912(0x193)]['y']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0x1e:_0x345944[_0xf9a912(0x193)]['z']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0xb:_0x345944[_0xf9a912(0x1a1)]['x']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0x15:_0x345944[_0xf9a912(0x1a1)]['y']=parseFloat(_0xb0db09['value']);break;case 0x1f:_0x345944['direction']['z']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;}}return _0x345944;}function parseHelixEntity(_0x30b03d,_0x439ba7){const _0x44bb37=_0xcf9d;_0x30b03d[_0x44bb37(0xe7)]={'x':0x0,'y':0x0,'z':0x0},_0x30b03d[_0x44bb37(0xab)]={'x':0x0,'y':0x0,'z':0x0},_0x30b03d[_0x44bb37(0x123)]={'x':0x0,'y':0x0,'z':0x1},_0x30b03d[_0x44bb37(0x120)]=0x0,_0x30b03d['turns']=0x1,_0x30b03d[_0x44bb37(0x18c)]=0x0,_0x30b03d['handedness']=0x0,_0x30b03d[_0x44bb37(0x145)]=0x0;for(const _0x4931ee of _0x439ba7){switch(_0x4931ee[_0x44bb37(0x155)]){case 0xa:_0x30b03d['axisBasePoint']['x']=parseFloat(_0x4931ee['value']);break;case 0x14:_0x30b03d['axisBasePoint']['y']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x1e:_0x30b03d['axisBasePoint']['z']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0xb:_0x30b03d[_0x44bb37(0xab)]['x']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x15:_0x30b03d['startPoint']['y']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x1f:_0x30b03d[_0x44bb37(0xab)]['z']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x28:_0x30b03d[_0x44bb37(0x120)]=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x29:_0x30b03d[_0x44bb37(0x15f)]=parseFloat(_0x4931ee['value']);break;case 0x2a:_0x30b03d['turnHeight']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x122:_0x30b03d[_0x44bb37(0x154)]=parseInt(_0x4931ee[_0x44bb37(0xf8)],0xa);break;case 0x118:_0x30b03d[_0x44bb37(0x145)]=parseInt(_0x4931ee[_0x44bb37(0xf8)],0xa);break;}}return _0x30b03d;}function parseMeshEntity(_0x5119da,_0x12c4a4){const _0xcff820=_0xcf9d;_0x5119da[_0xcff820(0xe1)]=0x2,_0x5119da[_0xcff820(0xce)]=0x0,_0x5119da['vertices']=[],_0x5119da['faces']=[],_0x5119da['edges']=[],_0x5119da[_0xcff820(0x16a)]=[];let _0x11e98c=null,_0x2c215d=![],_0x33370a=![],_0x367508=![];for(const _0x2d252a of _0x12c4a4){switch(_0x2d252a[_0xcff820(0x155)]){case 0x47:_0x5119da[_0xcff820(0xe1)]=parseInt(_0x2d252a[_0xcff820(0xf8)],0xa);break;case 0x48:_0x5119da['subdivisionLevel']=parseInt(_0x2d252a['value'],0xa);break;case 0x5b:_0x2c215d=![];break;case 0x5c:_0x2c215d=!![];break;case 0x5d:_0x33370a=!![],_0x2c215d=![];break;case 0x5e:_0x367508=!![],_0x33370a=![];break;case 0x5f:_0x367508=![];break;case 0xa:_0x11e98c=parseFloat(_0x2d252a[_0xcff820(0xf8)]);break;case 0x14:_0x11e98c!==null&&(_0x5119da[_0xcff820(0x12c)][_0xcff820(0x174)]({'x':_0x11e98c,'y':parseFloat(_0x2d252a[_0xcff820(0xf8)]),'z':0x0}),_0x11e98c=null);break;case 0x1e:if(_0x5119da[_0xcff820(0x12c)][_0xcff820(0x197)]>0x0)_0x5119da[_0xcff820(0x12c)][_0x5119da[_0xcff820(0x12c)][_0xcff820(0x197)]-0x1]['z']=parseFloat(_0x2d252a['value']);break;case 0x5a:if(_0x2c215d)_0x5119da[_0xcff820(0xa7)][_0xcff820(0x174)](parseInt(_0x2d252a[_0xcff820(0xf8)],0xa));else {if(_0x33370a)_0x5119da[_0xcff820(0x1b6)][_0xcff820(0x174)](parseInt(_0x2d252a[_0xcff820(0xf8)],0xa));}break;case 0x8c:if(_0x367508)_0x5119da[_0xcff820(0x16a)][_0xcff820(0x174)](parseFloat(_0x2d252a['value']));break;}}return _0x5119da;}function parseRegionEntity(_0x2eeff5,_0x3d01cd){const _0x1fe24e=_0xcf9d;_0x2eeff5[_0x1fe24e(0x18e)]=[];for(const _0x54a9dd of _0x3d01cd){if(_0x54a9dd[_0x1fe24e(0x155)]===0x1||_0x54a9dd['code']===0x3)_0x2eeff5['acisData'][_0x1fe24e(0x174)](_0x54a9dd['value']);if(_0x54a9dd[_0x1fe24e(0x155)]===0x46)_0x2eeff5[_0x1fe24e(0x10b)]=parseInt(_0x54a9dd[_0x1fe24e(0xf8)],0xa);}return _0x2eeff5[_0x1fe24e(0xac)]=_0x2eeff5['acisData'][_0x1fe24e(0xe5)](''),_0x2eeff5;}function parseOle2Entity(_0x505246,_0x4c9ea2){const _0x122116=_0xcf9d;_0x505246[_0x122116(0xb0)]={'x':0x0,'y':0x0,'z':0x0},_0x505246[_0x122116(0xa9)]={'x':0x0,'y':0x0,'z':0x0},_0x505246[_0x122116(0x133)]=0x0,_0x505246['tileMode']=0x0;for(const _0x596cd7 of _0x4c9ea2){switch(_0x596cd7[_0x122116(0x155)]){case 0xa:_0x505246[_0x122116(0xb0)]['x']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0x14:_0x505246[_0x122116(0xb0)]['y']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0xb:_0x505246[_0x122116(0xa9)]['x']=parseFloat(_0x596cd7['value']);break;case 0x15:_0x505246['lowerRightCorner']['y']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0x46:_0x505246[_0x122116(0x133)]=parseInt(_0x596cd7[_0x122116(0xf8)],0xa);break;case 0x47:_0x505246[_0x122116(0xd3)]=parseInt(_0x596cd7[_0x122116(0xf8)],0xa);break;case 0x1:case 0x3:_0x505246['binaryData']=_0x505246['binaryData']||[],_0x505246['binaryData'][_0x122116(0x174)](_0x596cd7['value']);break;}}return _0x505246;}function parseTableEntity(_0x4606f8,_0x2e1ee4){const _0x526276=_0xcf9d;_0x4606f8[_0x526276(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x4606f8['blockName']='',_0x4606f8[_0x526276(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x4606f8[_0x526276(0x110)]=0x0,_0x4606f8[_0x526276(0x10e)]=0x0;for(const _0xea9875 of _0x2e1ee4){switch(_0xea9875[_0x526276(0x155)]){case 0x2:_0x4606f8[_0x526276(0x1b7)]=_0xea9875[_0x526276(0xf8)];break;case 0xa:_0x4606f8[_0x526276(0x193)]['x']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x14:_0x4606f8[_0x526276(0x193)]['y']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0xb:_0x4606f8[_0x526276(0x1a1)]['x']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x15:_0x4606f8[_0x526276(0x1a1)]['y']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x5b:_0x4606f8[_0x526276(0x110)]=parseInt(_0xea9875['value'],0xa);break;case 0x5c:_0x4606f8[_0x526276(0x10e)]=parseInt(_0xea9875[_0x526276(0xf8)],0xa);break;case 0x8e:_0x4606f8[_0x526276(0x149)]=_0x4606f8['rowHeights']||[],_0x4606f8[_0x526276(0x149)]['push'](parseFloat(_0xea9875['value']));break;case 0x8d:_0x4606f8[_0x526276(0x127)]=_0x4606f8[_0x526276(0x127)]||[],_0x4606f8['columnWidths']['push'](parseFloat(_0xea9875[_0x526276(0xf8)]));break;}}return _0x4606f8;}function _0x39c5(){const _0x7f3c84=['attachmentPoint','endTangent','faceVertex2','other_list','TRACE','isPolyfaceMesh','get','majorAxisEndPoint','rowSpacing','ownerHandle','endPoint','TOLERANCE','5118KqsbZp','radius','INSERT','is3DPolyline','axisVector','entryName','175IkxgKB','type','columnWidths','position','textWidth','689025fdffDL','instanceCount','vertices','1866fMKbDP','imageSize','slice','VIEWPORT','50910cOWNDF','height','oleType','code_','endWidth','constantWidth','weights','POLYLINE','colorNumber','uVector','arc_list','SEQEND','proxyCapabilities','visible','3DSOLID','11aWaWHn','controlPointTolerance','oblique','data','fade','constraint','styleHandle','8cNKauX','ATTDEF','rowHeights','status','SURFACE','prompt','degree','leaderLength','POINT','middleOfText','viewTarget','ENDSEC','viewTwistAngle','handedness','code','endAngle','contrast','clippingBoundary','pathType','hAlign','hasAttributes','viewDirection','hardPointer','flags','turns','spline_list','perspectiveLensLength','startsWith','ATTRIB','subclassMarker','arrowheadSize','insert_list','bulge','CLASS','thickness','edgeCreases','trueColor','lineSpacing','error','dimension_list','versions','contentType','ellipse_list','face3d_list','rational','push','extrusionDirection','name','startWidth','point2','clippingType','horizontalDirection','fitPointCount','seedPoints','STANDARD','basePointX','patternType','keys','BLOCK','IMAGE','LEADER','includes','textStyleId','patternAngle','DIMENSION','HEADER','knots','linetypeScale','polyline_list','turnHeight','TABLES','acisData','3DFACE','angle','viewCenter','edgeCount','insertionPoint','SECTION','style','获取\x20DXF\x20失败:\x20HTTP\x20','length','fitTolerance','justification','associative','circle_list','OBJECTS','Defpoints','concat','columnCount','generationFlags','direction','dummyY','XLINE','test','isEntity','xScale','dimensionType','entities','ELLIPSE','styleName','SOLID','arrowheadFlag','vAlign','leader_list','BODY','invisibleEdgeFlags','faceVertex4','points','node','lineSpacingStyle','basePoint','edges','blockName','linetypeName','scale','doglegLength','startTangent','ENDTAB','MESH','faces','name2','lowerRightCorner','tag','startPoint','acisDataString','drawingDirection','trim','faceVertex1','upperLeftCorner','periodic','solid','meshMVertexCount','HELIX','faceVertex3','point_list','statusField','startAngle','rowCount','center','attributes','cppClassName','is3DMesh','200YfTeXd','basePointY','LAYER','point1','layers','meshNVertexCount','viewHeight','handle','controlPoints','ARC','appName','mtext_list','HATCH','columnSpacing','12845016dohFbt','CIRCLE','subdivisionLevel','undefined','defaultStartWidth','patternScale','TEXT','tileMode','MLINE','fs/promises','patternName','BLOCKS','creationType','basePointZ','leaderPoints','text','imageDefHandle','knotTolerance','HTTP\x20','clippingVertices','normal','version','definitionPoint','lineweight','rotation','join','softPointer','axisBasePoint','WIPEOUT','closed','TABLE','layer','https','blocks','find','annotationReference','width','elevation','displayFlags','parseDxf:\x20请传入\x20DXF\x20字符串、文件路径、URL\x20或\x20File\x20对象','VERTEX','vertexCount','textHeight','split','value','浏览器不支持读取本地路径,请用\x20URL\x20或\x20File\x20对象','12735783DBaspg','LWPOLYLINE','knotCount','hooklineFlag','setEncoding','boundaryPaths','defaultEndWidth','ENTITIES','MLEADER','8860870GUCcPQ','32180WzxPUD','image_list','OLE2FRAME','statusCode','alignmentPoint','string','LINE','modelerFormat','axisRatio','widthFactor','columns','frozenLayers','rows','MTEXT','fitPoints'];_0x39c5=function(){return _0x7f3c84;};return _0x39c5();}function parseMLineEntity(_0x2ce0fb,_0x1a78e7){const _0x1f2060=_0xcf9d;_0x2ce0fb[_0x1f2060(0x1aa)]=_0x1f2060(0x17d),_0x2ce0fb[_0x1f2060(0x1b9)]=0x1,_0x2ce0fb[_0x1f2060(0x199)]=0x0,_0x2ce0fb[_0x1f2060(0x15e)]=0x0,_0x2ce0fb['startPoint']={'x':0x0,'y':0x0,'z':0x0},_0x2ce0fb[_0x1f2060(0xe0)]={'x':0x0,'y':0x0,'z':0x1},_0x2ce0fb[_0x1f2060(0x12c)]=[];let _0x160ec6=null;for(const _0x494763 of _0x1a78e7){switch(_0x494763[_0x1f2060(0x155)]){case 0x2:_0x2ce0fb[_0x1f2060(0x1aa)]=_0x494763[_0x1f2060(0xf8)];break;case 0xa:_0x2ce0fb['startPoint']['x']=parseFloat(_0x494763['value']);break;case 0x14:_0x2ce0fb[_0x1f2060(0xab)]['y']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x1e:_0x2ce0fb[_0x1f2060(0xab)]['z']=parseFloat(_0x494763['value']);break;case 0xb:_0x160ec6=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x15:_0x160ec6!==null&&(_0x2ce0fb['vertices'][_0x1f2060(0x174)]({'x':_0x160ec6,'y':parseFloat(_0x494763[_0x1f2060(0xf8)]),'z':0x0}),_0x160ec6=null);break;case 0x1f:if(_0x2ce0fb[_0x1f2060(0x12c)]['length']>0x0)_0x2ce0fb[_0x1f2060(0x12c)][_0x2ce0fb[_0x1f2060(0x12c)][_0x1f2060(0x197)]-0x1]['z']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x28:_0x2ce0fb[_0x1f2060(0x1b9)]=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x46:_0x2ce0fb['justification']=parseInt(_0x494763[_0x1f2060(0xf8)],0xa);break;case 0x47:_0x2ce0fb['flags']=parseInt(_0x494763[_0x1f2060(0xf8)],0xa);break;case 0x48:_0x2ce0fb[_0x1f2060(0xf5)]=parseInt(_0x494763['value'],0xa);break;case 0x154:_0x2ce0fb[_0x1f2060(0x146)]=_0x494763[_0x1f2060(0xf8)];break;case 0xd2:_0x2ce0fb[_0x1f2060(0xe0)]['x']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0xdc:_0x2ce0fb[_0x1f2060(0xe0)]['y']=parseFloat(_0x494763['value']);break;case 0xe6:_0x2ce0fb[_0x1f2060(0xe0)]['z']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;}}return _0x2ce0fb;}function parseGenericEntity(_0x2c669f,_0x1e6ff5){const _0x363980=_0xcf9d;_0x2c669f[_0x363980(0x143)]={};for(const _0x45e624 of _0x1e6ff5){const _0x23335d=_0x363980(0x134)+_0x45e624[_0x363980(0x155)],_0x444b81=autoConvert(_0x45e624[_0x363980(0x155)],_0x45e624[_0x363980(0xf8)]);if(_0x2c669f[_0x363980(0x143)][_0x23335d]!==undefined)_0x2c669f[_0x363980(0x143)][_0x23335d]=[][_0x363980(0x19e)](_0x2c669f['data'][_0x23335d],_0x444b81);else _0x2c669f[_0x363980(0x143)][_0x23335d]=_0x444b81;}return _0x2c669f;}function parseObjects(_0x38ffd5){const _0x5f5060=_0xcf9d;if(!_0x38ffd5||_0x38ffd5[_0x5f5060(0x197)]===0x0)return [];const _0x21f6aa=[];let _0x7863be=0x0;while(_0x7863be<_0x38ffd5[_0x5f5060(0x197)]){if(_0x38ffd5[_0x7863be][_0x5f5060(0x155)]===0x0){const _0x21dc74=_0x38ffd5[_0x7863be][_0x5f5060(0xf8)];_0x7863be++;const _0x22e856={'type':_0x21dc74};while(_0x7863be<_0x38ffd5['length']&&_0x38ffd5[_0x7863be][_0x5f5060(0x155)]!==0x0){const _0x3e48ba=_0x38ffd5[_0x7863be][_0x5f5060(0x155)],_0xca5cd3=autoConvert(_0x3e48ba,_0x38ffd5[_0x7863be]['value']);switch(_0x3e48ba){case 0x5:_0x22e856[_0x5f5060(0xc5)]=_0xca5cd3;break;case 0x2:_0x22e856[_0x5f5060(0x176)]=_0xca5cd3;break;case 0x3:_0x22e856[_0x5f5060(0x124)]=_0x22e856[_0x5f5060(0x124)]?[][_0x5f5060(0x19e)](_0x22e856['entryName'],_0xca5cd3):_0xca5cd3;break;case 0x14a:_0x22e856['ownerHandle']=_0xca5cd3;break;case 0x15e:_0x22e856[_0x5f5060(0xe6)]=_0x22e856[_0x5f5060(0xe6)]?[][_0x5f5060(0x19e)](_0x22e856[_0x5f5060(0xe6)],_0xca5cd3):_0xca5cd3;break;case 0x168:_0x22e856[_0x5f5060(0x15d)]=_0x22e856['hardPointer']?[][_0x5f5060(0x19e)](_0x22e856[_0x5f5060(0x15d)],_0xca5cd3):_0xca5cd3;break;default:const _0x1cdf4a=_0x5f5060(0x134)+_0x3e48ba;if(_0x22e856[_0x1cdf4a]!==undefined)_0x22e856[_0x1cdf4a]=[][_0x5f5060(0x19e)](_0x22e856[_0x1cdf4a],_0xca5cd3);else _0x22e856[_0x1cdf4a]=_0xca5cd3;}_0x7863be++;}_0x21f6aa[_0x5f5060(0x174)](_0x22e856);}else _0x7863be++;}return _0x21f6aa;}function assemblePolylineVertices(_0x338cad){const _0x5b29ab=_0xcf9d,_0x425f61=[];let _0x75658d=null;for(const _0x21f4f6 of _0x338cad){if(_0x21f4f6[_0x5b29ab(0x126)]===_0x5b29ab(0x138))_0x75658d=_0x21f4f6,_0x425f61[_0x5b29ab(0x174)](_0x21f4f6);else {if(_0x21f4f6[_0x5b29ab(0x126)]==='VERTEX'&&_0x75658d)_0x75658d[_0x5b29ab(0x12c)][_0x5b29ab(0x174)]({'x':_0x21f4f6[_0x5b29ab(0x128)]['x'],'y':_0x21f4f6[_0x5b29ab(0x128)]['y'],'z':_0x21f4f6[_0x5b29ab(0x128)]['z'],'bulge':_0x21f4f6[_0x5b29ab(0x167)],'startWidth':_0x21f4f6[_0x5b29ab(0x177)],'endWidth':_0x21f4f6[_0x5b29ab(0x135)],'flags':_0x21f4f6['flags'],'faceVertex1':_0x21f4f6[_0x5b29ab(0xaf)],'faceVertex2':_0x21f4f6[_0x5b29ab(0x115)],'faceVertex3':_0x21f4f6['faceVertex3'],'faceVertex4':_0x21f4f6[_0x5b29ab(0x1b1)]});else _0x21f4f6[_0x5b29ab(0x126)]===_0x5b29ab(0x13c)?_0x75658d=null:(_0x75658d=null,_0x425f61['push'](_0x21f4f6));}}return _0x425f61;}function assembleInsertAttributes(_0x54761d){const _0x38e7e6=_0xcf9d,_0x4b0a2d=[];let _0xa12f66=null;for(const _0x308cdc of _0x54761d){if(_0x308cdc[_0x38e7e6(0x126)]===_0x38e7e6(0x121)&&_0x308cdc[_0x38e7e6(0x15b)])_0xa12f66=_0x308cdc,_0x4b0a2d['push'](_0x308cdc);else {if(_0x308cdc[_0x38e7e6(0x126)]===_0x38e7e6(0x163)&&_0xa12f66)_0xa12f66['attributes'][_0x38e7e6(0x174)](_0x308cdc);else _0x308cdc[_0x38e7e6(0x126)]==='SEQEND'?_0xa12f66=null:(_0xa12f66=null,_0x4b0a2d[_0x38e7e6(0x174)](_0x308cdc));}}return _0x4b0a2d;}async function fetchDxfFromUrl(_0xbcdd70){const _0xe0c579=_0xcf9d;if(typeof fetch==='function'){const _0x3a02cd=await fetch(_0xbcdd70);if(!_0x3a02cd['ok'])throw new Error(_0xe0c579(0x196)+_0x3a02cd[_0xe0c579(0x14a)]+'\x20—\x20'+_0xbcdd70);return await _0x3a02cd[_0xe0c579(0xdb)]();}if(typeof process!==_0xe0c579(0xcf)&&process['versions']?.['node']){const {default:_0x12a4f}=_0xbcdd70[_0xe0c579(0x162)](_0xe0c579(0xec))?await import(_0xe0c579(0xec)):await import('http');return new Promise((_0x296954,_0x1e3531)=>{const _0x3b9c82=_0xe0c579;_0x12a4f[_0x3b9c82(0x119)](_0xbcdd70,_0x5ae639=>{const _0x1cf06c=_0x3b9c82;if(_0x5ae639[_0x1cf06c(0x107)]!==0xc8){_0x1e3531(new Error(_0x1cf06c(0xde)+_0x5ae639['statusCode']));return;}let _0xb44daf='';_0x5ae639[_0x1cf06c(0xfe)]('utf-8'),_0x5ae639['on'](_0x1cf06c(0x143),_0x5d7af1=>_0xb44daf+=_0x5d7af1),_0x5ae639['on']('end',()=>_0x296954(_0xb44daf)),_0x5ae639['on'](_0x1cf06c(0x16d),_0x1e3531);})['on'](_0x3b9c82(0x16d),_0x1e3531);});}throw new Error('当前环境不支持\x20HTTP\x20请求');}async function readLocalFile(_0x3284b1){const _0x2d4591=_0xcf9d;if(typeof process!==_0x2d4591(0xcf)&&process[_0x2d4591(0x16f)]?.[_0x2d4591(0x1b3)]){const {readFile:_0x2d2781}=await import(_0x2d4591(0xd5));return await _0x2d2781(_0x3284b1,'utf-8');}throw new Error(_0x2d4591(0xf9));}async function parseDxf(_0x586cce){const _0x38d162=_0xcf9d;let _0x4bdc7e;if(typeof Blob!==_0x38d162(0xcf)&&_0x586cce instanceof Blob)_0x4bdc7e=await _0x586cce[_0x38d162(0xdb)]();else {if(typeof _0x586cce===_0x38d162(0x109)){if(_0x586cce['includes']('\x0a')||_0x586cce[_0x38d162(0x184)](_0x38d162(0x194)))_0x4bdc7e=_0x586cce;else /^https?:\/\//i[_0x38d162(0x1a4)](_0x586cce)?_0x4bdc7e=await fetchDxfFromUrl(_0x586cce):_0x4bdc7e=await readLocalFile(_0x586cce);}else throw new Error(_0x38d162(0xf3));}const _0x2c80b9=tokenize(_0x4bdc7e),_0x13cda5=splitSections(_0x2c80b9),_0x3c1df1={'header':parseHeader(_0x13cda5[_0x38d162(0x188)]),'classes':parseClasses(_0x13cda5['CLASSES']),'tables':parseTables(_0x13cda5[_0x38d162(0x18d)]),'blocks':parseBlocks(_0x13cda5[_0x38d162(0xd7)]),'entities':parseEntityList(_0x13cda5[_0x38d162(0x101)]||[]),'objects':parseObjects(_0x13cda5[_0x38d162(0x19c)])};_0x3c1df1[_0x38d162(0x1a8)]=assemblePolylineVertices(_0x3c1df1[_0x38d162(0x1a8)]),_0x3c1df1[_0x38d162(0x1a8)]=assembleInsertAttributes(_0x3c1df1[_0x38d162(0x1a8)]);for(const _0x225045 of _0x3c1df1[_0x38d162(0xed)]){_0x225045[_0x38d162(0x1a8)]&&_0x225045[_0x38d162(0x1a8)]['length']>0x0&&(_0x225045[_0x38d162(0x1a8)]=assemblePolylineVertices(_0x225045[_0x38d162(0x1a8)]),_0x225045['entities']=assembleInsertAttributes(_0x225045['entities']));}return _0x3c1df1;}
3
+ (function(_0x411782,_0x16ce16){const _0x5c4ffe=_0x1204,_0x1ea9c9=_0x411782();while(!![]){try{const _0x4a10a4=-parseInt(_0x5c4ffe(0x1f5))/0x1+parseInt(_0x5c4ffe(0x2b2))/0x2*(parseInt(_0x5c4ffe(0x22a))/0x3)+parseInt(_0x5c4ffe(0x1ef))/0x4+-parseInt(_0x5c4ffe(0x2c1))/0x5+-parseInt(_0x5c4ffe(0x20b))/0x6*(parseInt(_0x5c4ffe(0x1ee))/0x7)+parseInt(_0x5c4ffe(0x212))/0x8*(-parseInt(_0x5c4ffe(0x247))/0x9)+parseInt(_0x5c4ffe(0x1ed))/0xa*(parseInt(_0x5c4ffe(0x245))/0xb);if(_0x4a10a4===_0x16ce16)break;else _0x1ea9c9['push'](_0x1ea9c9['shift']());}catch(_0x18a812){_0x1ea9c9['push'](_0x1ea9c9['shift']());}}}(_0x3de5,0x77f75));function _0x1204(_0x213df1,_0x5aa791){_0x213df1=_0x213df1-0x1c1;const _0x3de5c2=_0x3de5();let _0x1204f2=_0x3de5c2[_0x213df1];return _0x1204f2;}function tokenize(_0x262b09){const _0x457bd1=_0x1204,_0x15c9c0=_0x262b09[_0x457bd1(0x1eb)](/\r?\n/),_0x21c324=[];for(let _0x47279e=0x0;_0x47279e+0x1<_0x15c9c0[_0x457bd1(0x264)];_0x47279e+=0x2){const _0x3d37e8=parseInt(_0x15c9c0[_0x47279e][_0x457bd1(0x21e)](),0xa),_0x15b0ce=_0x15c9c0[_0x47279e+0x1][_0x457bd1(0x21e)]();_0x21c324[_0x457bd1(0x262)]({'code':_0x3d37e8,'value':_0x15b0ce});}return _0x21c324;}function autoConvert(_0x25f48a,_0x3377c7){if(_0x25f48a>=0xa&&_0x25f48a<=0x3b||_0x25f48a>=0x6e&&_0x25f48a<=0x95||_0x25f48a>=0xd2&&_0x25f48a<=0xef||_0x25f48a>=0x1cc&&_0x25f48a<=0x1d5||_0x25f48a>=0x3f2&&_0x25f48a<=0x423)return parseFloat(_0x3377c7);if(_0x25f48a>=0x3c&&_0x25f48a<=0x4f||_0x25f48a>=0x5a&&_0x25f48a<=0x63||_0x25f48a>=0xaa&&_0x25f48a<=0xb3||_0x25f48a>=0x10e&&_0x25f48a<=0x121||_0x25f48a>=0x172&&_0x25f48a<=0x185||_0x25f48a>=0x190&&_0x25f48a<=0x199||_0x25f48a>=0x424&&_0x25f48a<=0x437)return parseInt(_0x3377c7,0xa);return _0x3377c7;}function splitSections(_0x20cda7){const _0x37ab35=_0x1204,_0x3269ff={};let _0x164c43=0x0;while(_0x164c43<_0x20cda7['length']){if(_0x20cda7[_0x164c43][_0x37ab35(0x2b5)]===0x0&&_0x20cda7[_0x164c43][_0x37ab35(0x298)]==='SECTION'){_0x164c43++;const _0x1828a7=_0x20cda7[_0x164c43]['value'];_0x164c43++;const _0x274292=_0x164c43;while(_0x164c43<_0x20cda7[_0x37ab35(0x264)]&&!(_0x20cda7[_0x164c43]['code']===0x0&&_0x20cda7[_0x164c43][_0x37ab35(0x298)]===_0x37ab35(0x246))){_0x164c43++;}_0x3269ff[_0x1828a7]=_0x20cda7[_0x37ab35(0x267)](_0x274292,_0x164c43),_0x164c43++;}else _0x164c43++;}return _0x3269ff;}function parseHeader(_0xfe8adf){const _0x3853b5=_0x1204;if(!_0xfe8adf||_0xfe8adf['length']===0x0)return {};const _0x29712d={};let _0x167696=0x0;while(_0x167696<_0xfe8adf[_0x3853b5(0x264)]){if(_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]===0x9){const _0x5f0508=_0xfe8adf[_0x167696]['value'];_0x167696++;const _0x17f31a={};while(_0x167696<_0xfe8adf[_0x3853b5(0x264)]&&_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]!==0x9&&_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]!==0x0){_0x17f31a[_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]]=autoConvert(_0xfe8adf[_0x167696]['code'],_0xfe8adf[_0x167696]['value']),_0x167696++;}const _0x29f14c=Object[_0x3853b5(0x277)](_0x17f31a);_0x29712d[_0x5f0508]=_0x29f14c[_0x3853b5(0x264)]===0x1?_0x17f31a[_0x29f14c[0x0]]:_0x17f31a;}else _0x167696++;}return _0x29712d;}function parseClasses(_0x5dfcc9){const _0xf53f93=_0x1204;if(!_0x5dfcc9||_0x5dfcc9[_0xf53f93(0x264)]===0x0)return [];const _0xb0481=[];let _0x2fef73=0x0;while(_0x2fef73<_0x5dfcc9[_0xf53f93(0x264)]){if(_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]===0x0&&_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)]===_0xf53f93(0x1e9)){_0x2fef73++;const _0xbf45e9={};while(_0x2fef73<_0x5dfcc9[_0xf53f93(0x264)]&&_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]!==0x0){switch(_0x5dfcc9[_0x2fef73]['code']){case 0x1:_0xbf45e9[_0xf53f93(0x1ff)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x2:_0xbf45e9[_0xf53f93(0x286)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x3:_0xbf45e9[_0xf53f93(0x1ea)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x5a:_0xbf45e9['proxyCapabilities']=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;case 0x5b:_0xbf45e9[_0xf53f93(0x234)]=parseInt(_0x5dfcc9[_0x2fef73]['value'],0xa);break;case 0x118:_0xbf45e9[_0xf53f93(0x1e0)]=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;case 0x119:_0xbf45e9[_0xf53f93(0x1d3)]=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;default:_0xbf45e9[_0xf53f93(0x2ad)+_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];}_0x2fef73++;}_0xb0481[_0xf53f93(0x262)](_0xbf45e9);}else _0x2fef73++;}return _0xb0481;}function parseTables(_0x35023a){const _0x37fb38=_0x1204;if(!_0x35023a||_0x35023a[_0x37fb38(0x264)]===0x0)return {};const _0x163218={};let _0x4fae6d=0x0;while(_0x4fae6d<_0x35023a['length']){if(_0x35023a[_0x4fae6d][_0x37fb38(0x2b5)]===0x0&&_0x35023a[_0x4fae6d]['value']===_0x37fb38(0x2ae)){_0x4fae6d++;const _0x184ccb=_0x35023a[_0x4fae6d][_0x37fb38(0x298)];_0x4fae6d++;const _0x5b4676=_0x4fae6d;while(_0x4fae6d<_0x35023a[_0x37fb38(0x264)]&&!(_0x35023a[_0x4fae6d]['code']===0x0&&_0x35023a[_0x4fae6d][_0x37fb38(0x298)]===_0x37fb38(0x21d))){_0x4fae6d++;}_0x163218[_0x184ccb]=parseTableEntries(_0x184ccb,_0x35023a['slice'](_0x5b4676,_0x4fae6d)),_0x4fae6d++;}else _0x4fae6d++;}return _0x163218;}function parseTableEntries(_0x4a1f06,_0x44076c){const _0x1af0ad=_0x1204,_0x47d344=[];let _0x31e642=0x0;while(_0x31e642<_0x44076c[_0x1af0ad(0x264)]){if(_0x44076c[_0x31e642]['code']===0x0){const _0x3e4c0b=_0x44076c[_0x31e642][_0x1af0ad(0x298)];_0x31e642++;const _0x47a193={'_type':_0x3e4c0b};while(_0x31e642<_0x44076c[_0x1af0ad(0x264)]&&_0x44076c[_0x31e642][_0x1af0ad(0x2b5)]!==0x0){const _0x4954a6=_0x44076c[_0x31e642][_0x1af0ad(0x2b5)],_0xa578bd=autoConvert(_0x4954a6,_0x44076c[_0x31e642][_0x1af0ad(0x298)]);switch(_0x4954a6){case 0x2:_0x47a193[_0x1af0ad(0x222)]=_0xa578bd;break;case 0x5:_0x47a193['handle']=_0xa578bd;break;case 0x6:_0x47a193[_0x1af0ad(0x26a)]=_0xa578bd;break;case 0x7:_0x47a193[_0x1af0ad(0x25d)]=_0xa578bd;break;case 0x3e:_0x47a193[_0x1af0ad(0x1f0)]=_0xa578bd;break;case 0x46:_0x47a193[_0x1af0ad(0x2c5)]=_0xa578bd;break;case 0x28:_0x47a193[_0x1af0ad(0x233)]=_0xa578bd;break;case 0x29:_0x47a193[_0x1af0ad(0x2c6)]=_0xa578bd;break;case 0x32:_0x47a193[_0x1af0ad(0x20a)]=_0xa578bd;break;case 0x64:_0x47a193[_0x1af0ad(0x29a)]=_0x47a193[_0x1af0ad(0x29a)]?[][_0x1af0ad(0x1f3)](_0x47a193[_0x1af0ad(0x29a)],_0xa578bd):_0xa578bd;break;case 0x14a:_0x47a193[_0x1af0ad(0x2bc)]=_0xa578bd;break;case 0x172:_0x47a193[_0x1af0ad(0x2a0)]=_0xa578bd;break;case 0x186:_0x47a193[_0x1af0ad(0x2a1)]=_0xa578bd;break;default:_0x47a193[_0x1af0ad(0x2ad)+_0x4954a6]!==undefined?_0x47a193['code_'+_0x4954a6]=[]['concat'](_0x47a193[_0x1af0ad(0x2ad)+_0x4954a6],_0xa578bd):_0x47a193['code_'+_0x4954a6]=_0xa578bd;}_0x31e642++;}_0x47d344[_0x1af0ad(0x262)](_0x47a193);}else _0x31e642++;}return _0x47d344;}function parseBlocks(_0x421ab3){const _0x4dc0d9=_0x1204;if(!_0x421ab3||_0x421ab3['length']===0x0)return [];const _0x36b98b=[];let _0x1698ed=0x0;while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]){if(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]===0x0&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]==='BLOCK'){_0x1698ed++;const _0x3691c2={'entities':[]};while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]!==0x0){switch(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]){case 0x2:_0x3691c2[_0x4dc0d9(0x222)]=_0x421ab3[_0x1698ed]['value'];break;case 0x3:_0x3691c2['name2']=_0x421ab3[_0x1698ed]['value'];break;case 0x5:_0x3691c2['handle']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;case 0x8:_0x3691c2['layer']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;case 0xa:_0x3691c2[_0x4dc0d9(0x203)]=parseFloat(_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]);break;case 0x14:_0x3691c2[_0x4dc0d9(0x297)]=parseFloat(_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]);break;case 0x1e:_0x3691c2[_0x4dc0d9(0x1d7)]=parseFloat(_0x421ab3[_0x1698ed]['value']);break;case 0x46:_0x3691c2['flags']=parseInt(_0x421ab3[_0x1698ed]['value'],0xa);break;case 0x64:break;case 0x14a:_0x3691c2['ownerHandle']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;default:_0x3691c2[_0x4dc0d9(0x2ad)+_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]]=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];}_0x1698ed++;}const _0x3ec043=[];while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&!(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]===0x0&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]==='ENDBLK')){_0x3ec043[_0x4dc0d9(0x262)](_0x421ab3[_0x1698ed]),_0x1698ed++;}if(_0x3ec043[_0x4dc0d9(0x264)]>0x0)_0x3691c2['entities']=parseEntityList(_0x3ec043);if(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]){_0x1698ed++;while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]!==0x0)_0x1698ed++;}_0x36b98b[_0x4dc0d9(0x262)](_0x3691c2);}else _0x1698ed++;}return _0x36b98b;}function parseEntityList(_0x21308c){const _0x5c916e=_0x1204,_0x9ea50b=[];let _0x331714=0x0;while(_0x331714<_0x21308c[_0x5c916e(0x264)]){if(_0x21308c[_0x331714][_0x5c916e(0x2b5)]===0x0){const _0x3e822a=_0x21308c[_0x331714][_0x5c916e(0x298)];_0x331714++;const _0x11bced=[];while(_0x331714<_0x21308c[_0x5c916e(0x264)]&&_0x21308c[_0x331714][_0x5c916e(0x2b5)]!==0x0){_0x11bced[_0x5c916e(0x262)](_0x21308c[_0x331714]),_0x331714++;}const _0x54b26c=parseOneEntity(_0x3e822a,_0x11bced);if(_0x54b26c)_0x9ea50b[_0x5c916e(0x262)](_0x54b26c);}else _0x331714++;}return _0x9ea50b;}function parseOneEntity(_0x108c1c,_0x439360){const _0x36b147=_0x1204,_0x2336e5={'type':_0x108c1c};for(const _0x4b585d of _0x439360){switch(_0x4b585d[_0x36b147(0x2b5)]){case 0x5:_0x2336e5[_0x36b147(0x291)]=_0x4b585d[_0x36b147(0x298)];break;case 0x8:_0x2336e5[_0x36b147(0x2bf)]=_0x4b585d[_0x36b147(0x298)];break;case 0x6:_0x2336e5['linetypeName']=_0x4b585d[_0x36b147(0x298)];break;case 0x30:_0x2336e5[_0x36b147(0x28e)]=parseFloat(_0x4b585d[_0x36b147(0x298)]);break;case 0x3c:_0x2336e5[_0x36b147(0x207)]=parseInt(_0x4b585d['value'],0xa)===0x0;break;case 0x3e:_0x2336e5[_0x36b147(0x1f0)]=parseInt(_0x4b585d[_0x36b147(0x298)],0xa);break;case 0x43:_0x2336e5['inPaperSpace']=parseInt(_0x4b585d[_0x36b147(0x298)],0xa)===0x1;break;case 0x14a:_0x2336e5[_0x36b147(0x2bc)]=_0x4b585d[_0x36b147(0x298)];break;case 0x172:_0x2336e5[_0x36b147(0x2a0)]=parseInt(_0x4b585d['value'],0xa);break;case 0x1a4:_0x2336e5[_0x36b147(0x201)]=parseInt(_0x4b585d[_0x36b147(0x298)],0xa);break;}}switch(_0x108c1c){case 'LINE':return parseLineEntity(_0x2336e5,_0x439360);case _0x36b147(0x242):return parseLWPolylineEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f9):return parsePolylineEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f6):return parseVertexEntity(_0x2336e5,_0x439360);case 'ARC':return parseArcEntity(_0x2336e5,_0x439360);case _0x36b147(0x295):return parseCircleEntity(_0x2336e5,_0x439360);case _0x36b147(0x221):return parseEllipseEntity(_0x2336e5,_0x439360);case 'POINT':return parsePointEntity(_0x2336e5,_0x439360);case _0x36b147(0x1d0):return parseTextEntity(_0x2336e5,_0x439360);case _0x36b147(0x2ca):return parseMTextEntity(_0x2336e5,_0x439360);case _0x36b147(0x28c):return parseAttribEntity(_0x2336e5,_0x439360);case 'ATTDEF':return parseAttribEntity(_0x2336e5,_0x439360);case _0x36b147(0x235):return parseInsertEntity(_0x2336e5,_0x439360);case 'DIMENSION':return parseDimensionEntity(_0x2336e5,_0x439360);case _0x36b147(0x239):return parseLeaderEntity(_0x2336e5,_0x439360);case _0x36b147(0x1fc):return parseMLeaderEntity(_0x2336e5,_0x439360);case 'HATCH':return parseHatchEntity(_0x2336e5,_0x439360);case _0x36b147(0x2a3):return parseSplineEntity(_0x2336e5,_0x439360);case _0x36b147(0x204):case _0x36b147(0x1d4):case _0x36b147(0x21c):return parseSolidEntity(_0x2336e5,_0x439360);case '3DFACE':return parse3DFaceEntity(_0x2336e5,_0x439360);case _0x36b147(0x25e):case _0x36b147(0x279):return parseRayEntity(_0x2336e5,_0x439360);case _0x36b147(0x1c7):return parseViewportEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f4):case 'WIPEOUT':return parseImageEntity(_0x2336e5,_0x439360);case _0x36b147(0x1c9):return parseToleranceEntity(_0x2336e5,_0x439360);case _0x36b147(0x26e):return parseHelixEntity(_0x2336e5,_0x439360);case _0x36b147(0x1fa):return parseMeshEntity(_0x2336e5,_0x439360);case 'REGION':case 'BODY':case _0x36b147(0x2c2):return parseRegionEntity(_0x2336e5,_0x439360);case 'OLE2FRAME':return parseOle2Entity(_0x2336e5,_0x439360);case 'TABLE':return parseTableEntity(_0x2336e5,_0x439360);case 'MLINE':return parseMLineEntity(_0x2336e5,_0x439360);case 'SEQEND':return _0x2336e5;default:return parseGenericEntity(_0x2336e5,_0x439360);}}function _0x3de5(){const _0xba5558=['POINT','axisVector','version','blockName','meshMVertexCount','contrast','TEXT','viewport_list','controlPoints','isEntity','3DSOLID','softPointer','subdivisionLevel','basePointZ','error','annotationReference','faceVertex4','solid_list','lineSpacingStyle','knotTolerance','oblique','\x20—\x20','wasProxy','STANDARD','faces','vAlign','weights','lowerRightCorner','isPolyfaceMesh','upperLeftCorner','data','CLASS','appName','split','binaryData','911720FEyPkQ','232043otuIWu','2062700WpCZcQ','colorNumber','hAlign','textStyleId','concat','IMAGE','933237QooRPS','VERTEX','arrowheadSize','imageSize','POLYLINE','MESH','entryName','MLEADER','defaultEndWidth','uVector','dxfRecord','degree','trueColor','leaderPoints','basePointX','SOLID','defaultStartWidth','CLASSES','visible','majorAxisEndPoint','middleOfText','angle','30rlzdzB','periodic','elevation','image_list','definitionPoint','statusCode','invisibleEdgeFlags','16MwuCfc','acisData','other_list','columnWidths','clippingBoundary','face3d_list','textWidth','function','startPoint','points','TRACE','ENDTAB','trim','tag','constantWidth','ELLIPSE','name','textHeight','closed','scale','attributes','TABLES','contentType','columns','72DrbQgr','fade','fitTolerance','string','extrusionDirection','patternAngle','patternType','radius','OBJECTS','height','instanceCount','INSERT','clippingVertices','alignmentPoint','solid','LEADER','planar','columnCount','rowHeights','is3DMesh','insert_list','justification','style','text','LWPOLYLINE','dimensionType','test','253dLTtWZ','ENDSEC','3179367uKjAdE','handedness','knotCount','endWidth','tables','polyline_list','dimension_list','controlPointTolerance','SECTION','frozenLayers','horizontalDirection','BLOCKS','node','creationType','arrowheadFlag','patternScale','is3DPolyline','blocks','imageDefHandle','spline_list','rows','position','styleName','RAY','basePoint','endTangent','startsWith','push','startAngle','length','vVector','fitPoints','slice','leaderLength','displayFlags','linetypeName','circle_list','width','pathType','HELIX','acisDataString','MLINE','WIPEOUT','dummyY','viewCenter','ENTITIES','setEncoding','startTangent','keys','columnSpacing','XLINE','bulge','statusField','seedPoints','faceVertex1','oleType','join','hasAttributes','ellipse_list','vertexCount','3DFACE','type','hatch_list','cppClassName','faceVertex2','faceVertex3','hardPointer','dummyX','fs/promises','ATTRIB','fitPointCount','linetypeScale','endAngle','utf-8','handle','viewHeight','SEQEND','controlPointCount','CIRCLE','endPoint','basePointY','value','viewTarget','subclassMarker','rowCount','point2','turnHeight','includes','当前环境不支持\x20HTTP\x20请求','lineweight','plotStyleHandle','axisRatio','SPLINE','viewTwistAngle','knots','attachmentPoint','ARC','vertices','doglegLength','drawingDirection','brightness','rational','code_','TABLE','entities','undefined','constraint','30432IlKGDk','point_list','insertionPoint','code','edges','HTTP\x20','end','normal','LINE','arc_list','ownerHandle','clippingType','boundaryPaths','layer','startWidth','3404630ZovUQz','SURFACE','thickness','status','flags','widthFactor','point1','line_list','turns','MTEXT','lineSpacing','patternName','layers','center','https','Defpoints','rotation','generationFlags','HATCH','tileMode','direction','prompt','VIEWPORT','axisBasePoint','TOLERANCE'];_0x3de5=function(){return _0xba5558;};return _0x3de5();}function parseLineEntity(_0x3afaff,_0x25b350){const _0x4218c9=_0x1204;_0x3afaff[_0x4218c9(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x3afaff[_0x4218c9(0x296)]={'x':0x0,'y':0x0,'z':0x0},_0x3afaff[_0x4218c9(0x2c3)]=0x0,_0x3afaff[_0x4218c9(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x2fa8ee of _0x25b350){switch(_0x2fa8ee['code']){case 0xa:_0x3afaff[_0x4218c9(0x21a)]['x']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x14:_0x3afaff[_0x4218c9(0x21a)]['y']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x1e:_0x3afaff['startPoint']['z']=parseFloat(_0x2fa8ee['value']);break;case 0xb:_0x3afaff[_0x4218c9(0x296)]['x']=parseFloat(_0x2fa8ee['value']);break;case 0x15:_0x3afaff[_0x4218c9(0x296)]['y']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x1f:_0x3afaff[_0x4218c9(0x296)]['z']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x27:_0x3afaff[_0x4218c9(0x2c3)]=parseFloat(_0x2fa8ee['value']);break;case 0xd2:_0x3afaff[_0x4218c9(0x22e)]['x']=parseFloat(_0x2fa8ee['value']);break;case 0xdc:_0x3afaff[_0x4218c9(0x22e)]['y']=parseFloat(_0x2fa8ee['value']);break;case 0xe6:_0x3afaff['extrusionDirection']['z']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;}}return _0x3afaff;}function parseLWPolylineEntity(_0x4ec9e7,_0x3601a9){const _0x3721e0=_0x1204;_0x4ec9e7['closed']=![],_0x4ec9e7[_0x3721e0(0x220)]=0x0,_0x4ec9e7['elevation']=0x0,_0x4ec9e7['thickness']=0x0,_0x4ec9e7[_0x3721e0(0x2a8)]=[],_0x4ec9e7[_0x3721e0(0x22e)]={'x':0x0,'y':0x0,'z':0x1};let _0x21207f=null;for(const _0x3d1770 of _0x3601a9){switch(_0x3d1770[_0x3721e0(0x2b5)]){case 0x46:_0x4ec9e7[_0x3721e0(0x224)]=(parseInt(_0x3d1770[_0x3721e0(0x298)],0xa)&0x1)===0x1;break;case 0x26:_0x4ec9e7[_0x3721e0(0x20d)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x27:_0x4ec9e7[_0x3721e0(0x2c3)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x2b:_0x4ec9e7[_0x3721e0(0x220)]=parseFloat(_0x3d1770['value']);break;case 0x5a:_0x4ec9e7[_0x3721e0(0x282)]=parseInt(_0x3d1770[_0x3721e0(0x298)],0xa);break;case 0xa:if(_0x21207f)_0x4ec9e7[_0x3721e0(0x2a8)][_0x3721e0(0x262)](_0x21207f);_0x21207f={'x':parseFloat(_0x3d1770[_0x3721e0(0x298)]),'y':0x0,'bulge':0x0,'startWidth':0x0,'endWidth':0x0};break;case 0x14:if(_0x21207f)_0x21207f['y']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x28:if(_0x21207f)_0x21207f['startWidth']=parseFloat(_0x3d1770['value']);break;case 0x29:if(_0x21207f)_0x21207f[_0x3721e0(0x24a)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x2a:if(_0x21207f)_0x21207f[_0x3721e0(0x27a)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0xd2:_0x4ec9e7['extrusionDirection']['x']=parseFloat(_0x3d1770['value']);break;case 0xdc:_0x4ec9e7[_0x3721e0(0x22e)]['y']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0xe6:_0x4ec9e7[_0x3721e0(0x22e)]['z']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;}}if(_0x21207f)_0x4ec9e7[_0x3721e0(0x2a8)][_0x3721e0(0x262)](_0x21207f);return _0x4ec9e7;}function parsePolylineEntity(_0x204511,_0x5b8d4d){const _0x51489f=_0x1204;_0x204511[_0x51489f(0x224)]=![],_0x204511['is3DPolyline']=![],_0x204511['is3DMesh']=![],_0x204511[_0x51489f(0x1e6)]=![],_0x204511[_0x51489f(0x1ce)]=0x0,_0x204511['meshNVertexCount']=0x0,_0x204511[_0x51489f(0x205)]=0x0,_0x204511[_0x51489f(0x1fd)]=0x0,_0x204511[_0x51489f(0x20d)]=0x0,_0x204511['vertices']=[];for(const _0xace95a of _0x5b8d4d){switch(_0xace95a[_0x51489f(0x2b5)]){case 0xa:_0x204511[_0x51489f(0x28a)]=parseFloat(_0xace95a['value']);break;case 0x14:_0x204511[_0x51489f(0x272)]=parseFloat(_0xace95a['value']);break;case 0x1e:_0x204511[_0x51489f(0x20d)]=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x27:_0x204511[_0x51489f(0x2c3)]=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x28:_0x204511['defaultStartWidth']=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x29:_0x204511['defaultEndWidth']=parseFloat(_0xace95a['value']);break;case 0x46:{const _0x58836e=parseInt(_0xace95a[_0x51489f(0x298)],0xa);_0x204511[_0x51489f(0x224)]=(_0x58836e&0x1)===0x1,_0x204511[_0x51489f(0x257)]=(_0x58836e&0x8)===0x8,_0x204511[_0x51489f(0x23d)]=(_0x58836e&0x10)===0x10,_0x204511[_0x51489f(0x1e6)]=(_0x58836e&0x40)===0x40,_0x204511[_0x51489f(0x2c5)]=_0x58836e;break;}case 0x47:_0x204511[_0x51489f(0x1ce)]=parseInt(_0xace95a[_0x51489f(0x298)],0xa);break;case 0x48:_0x204511['meshNVertexCount']=parseInt(_0xace95a[_0x51489f(0x298)],0xa);break;case 0xd2:(_0x204511[_0x51489f(0x22e)]=_0x204511[_0x51489f(0x22e)]||{})['x']=parseFloat(_0xace95a['value']);break;case 0xdc:(_0x204511[_0x51489f(0x22e)]=_0x204511[_0x51489f(0x22e)]||{})['y']=parseFloat(_0xace95a['value']);break;case 0xe6:(_0x204511['extrusionDirection']=_0x204511['extrusionDirection']||{})['z']=parseFloat(_0xace95a[_0x51489f(0x298)]);break;}}return _0x204511;}function parseVertexEntity(_0x19c15d,_0x42d141){const _0x33fa06=_0x1204;_0x19c15d[_0x33fa06(0x25c)]={'x':0x0,'y':0x0,'z':0x0},_0x19c15d[_0x33fa06(0x27a)]=0x0,_0x19c15d[_0x33fa06(0x2c0)]=0x0,_0x19c15d[_0x33fa06(0x24a)]=0x0,_0x19c15d['flags']=0x0;for(const _0x728973 of _0x42d141){switch(_0x728973[_0x33fa06(0x2b5)]){case 0xa:_0x19c15d[_0x33fa06(0x25c)]['x']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x14:_0x19c15d[_0x33fa06(0x25c)]['y']=parseFloat(_0x728973['value']);break;case 0x1e:_0x19c15d[_0x33fa06(0x25c)]['z']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x28:_0x19c15d[_0x33fa06(0x2c0)]=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x29:_0x19c15d['endWidth']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x2a:_0x19c15d[_0x33fa06(0x27a)]=parseFloat(_0x728973['value']);break;case 0x46:_0x19c15d[_0x33fa06(0x2c5)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x47:_0x19c15d[_0x33fa06(0x27d)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x48:_0x19c15d['faceVertex2']=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x49:_0x19c15d[_0x33fa06(0x288)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x4a:_0x19c15d[_0x33fa06(0x1da)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;}}return _0x19c15d;}function parseArcEntity(_0x1869cb,_0x2a42a1){const _0xd79521=_0x1204;_0x1869cb[_0xd79521(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x1869cb[_0xd79521(0x231)]=0x0,_0x1869cb[_0xd79521(0x263)]=0x0,_0x1869cb[_0xd79521(0x28f)]=0x168,_0x1869cb[_0xd79521(0x2c3)]=0x0,_0x1869cb['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x23cb05 of _0x2a42a1){switch(_0x23cb05[_0xd79521(0x2b5)]){case 0xa:_0x1869cb[_0xd79521(0x2ce)]['x']=parseFloat(_0x23cb05['value']);break;case 0x14:_0x1869cb[_0xd79521(0x2ce)]['y']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x1e:_0x1869cb[_0xd79521(0x2ce)]['z']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x27:_0x1869cb['thickness']=parseFloat(_0x23cb05['value']);break;case 0x28:_0x1869cb[_0xd79521(0x231)]=parseFloat(_0x23cb05['value']);break;case 0x32:_0x1869cb['startAngle']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x33:_0x1869cb[_0xd79521(0x28f)]=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0xd2:_0x1869cb[_0xd79521(0x22e)]['x']=parseFloat(_0x23cb05['value']);break;case 0xdc:_0x1869cb['extrusionDirection']['y']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0xe6:_0x1869cb['extrusionDirection']['z']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;}}return _0x1869cb;}function parseCircleEntity(_0x553b92,_0x32f537){const _0x258d4e=_0x1204;_0x553b92[_0x258d4e(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x553b92[_0x258d4e(0x231)]=0x0,_0x553b92[_0x258d4e(0x2c3)]=0x0,_0x553b92[_0x258d4e(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x28a943 of _0x32f537){switch(_0x28a943[_0x258d4e(0x2b5)]){case 0xa:_0x553b92[_0x258d4e(0x2ce)]['x']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x14:_0x553b92[_0x258d4e(0x2ce)]['y']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x1e:_0x553b92[_0x258d4e(0x2ce)]['z']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x27:_0x553b92[_0x258d4e(0x2c3)]=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x28:_0x553b92['radius']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xd2:_0x553b92[_0x258d4e(0x22e)]['x']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xdc:_0x553b92[_0x258d4e(0x22e)]['y']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xe6:_0x553b92['extrusionDirection']['z']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;}}return _0x553b92;}function parseEllipseEntity(_0x2f645b,_0x102a40){const _0x3f4b70=_0x1204;_0x2f645b[_0x3f4b70(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x2f645b[_0x3f4b70(0x208)]={'x':0x0,'y':0x0,'z':0x0},_0x2f645b[_0x3f4b70(0x2a2)]=0x1,_0x2f645b[_0x3f4b70(0x263)]=0x0,_0x2f645b[_0x3f4b70(0x28f)]=Math['PI']*0x2,_0x2f645b[_0x3f4b70(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x1189d8 of _0x102a40){switch(_0x1189d8[_0x3f4b70(0x2b5)]){case 0xa:_0x2f645b['center']['x']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x14:_0x2f645b[_0x3f4b70(0x2ce)]['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x1e:_0x2f645b[_0x3f4b70(0x2ce)]['z']=parseFloat(_0x1189d8['value']);break;case 0xb:_0x2f645b[_0x3f4b70(0x208)]['x']=parseFloat(_0x1189d8['value']);break;case 0x15:_0x2f645b[_0x3f4b70(0x208)]['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x1f:_0x2f645b['majorAxisEndPoint']['z']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x28:_0x2f645b[_0x3f4b70(0x2a2)]=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x29:_0x2f645b['startAngle']=parseFloat(_0x1189d8['value']);break;case 0x2a:_0x2f645b[_0x3f4b70(0x28f)]=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xd2:_0x2f645b['extrusionDirection']['x']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xdc:_0x2f645b['extrusionDirection']['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xe6:_0x2f645b['extrusionDirection']['z']=parseFloat(_0x1189d8['value']);break;}}return _0x2f645b;}function parsePointEntity(_0x31892a,_0x19a66b){const _0x2903b4=_0x1204;_0x31892a[_0x2903b4(0x25c)]={'x':0x0,'y':0x0,'z':0x0},_0x31892a[_0x2903b4(0x2c3)]=0x0,_0x31892a[_0x2903b4(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0xdea34d of _0x19a66b){switch(_0xdea34d[_0x2903b4(0x2b5)]){case 0xa:_0x31892a[_0x2903b4(0x25c)]['x']=parseFloat(_0xdea34d['value']);break;case 0x14:_0x31892a['position']['y']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0x1e:_0x31892a['position']['z']=parseFloat(_0xdea34d['value']);break;case 0x27:_0x31892a['thickness']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0x32:_0x31892a[_0x2903b4(0x20a)]=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xd2:_0x31892a[_0x2903b4(0x22e)]['x']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xdc:_0x31892a[_0x2903b4(0x22e)]['y']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xe6:_0x31892a['extrusionDirection']['z']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;}}return _0x31892a;}function parseTextEntity(_0x351b4e,_0x50e9ca){const _0x1bb3e0=_0x1204;_0x351b4e[_0x1bb3e0(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x351b4e[_0x1bb3e0(0x237)]={'x':0x0,'y':0x0,'z':0x0},_0x351b4e[_0x1bb3e0(0x233)]=0x0,_0x351b4e[_0x1bb3e0(0x241)]='',_0x351b4e[_0x1bb3e0(0x1c1)]=0x0,_0x351b4e['xScale']=0x1,_0x351b4e['oblique']=0x0,_0x351b4e[_0x1bb3e0(0x25d)]=_0x1bb3e0(0x1e1),_0x351b4e[_0x1bb3e0(0x1c2)]=0x0,_0x351b4e[_0x1bb3e0(0x1f1)]=0x0,_0x351b4e['vAlign']=0x0,_0x351b4e[_0x1bb3e0(0x2c3)]=0x0,_0x351b4e[_0x1bb3e0(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5e1616 of _0x50e9ca){switch(_0x5e1616[_0x1bb3e0(0x2b5)]){case 0x1:_0x351b4e[_0x1bb3e0(0x241)]=_0x5e1616[_0x1bb3e0(0x298)];break;case 0x7:_0x351b4e[_0x1bb3e0(0x25d)]=_0x5e1616['value'];break;case 0xa:_0x351b4e['insertionPoint']['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x14:_0x351b4e[_0x1bb3e0(0x2b4)]['y']=parseFloat(_0x5e1616['value']);break;case 0x1e:_0x351b4e[_0x1bb3e0(0x2b4)]['z']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xb:_0x351b4e['alignmentPoint']['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x15:_0x351b4e[_0x1bb3e0(0x237)]['y']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x1f:_0x351b4e['alignmentPoint']['z']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x27:_0x351b4e[_0x1bb3e0(0x2c3)]=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x28:_0x351b4e[_0x1bb3e0(0x233)]=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x29:_0x351b4e['xScale']=parseFloat(_0x5e1616['value']);break;case 0x32:_0x351b4e['rotation']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x33:_0x351b4e[_0x1bb3e0(0x1de)]=parseFloat(_0x5e1616['value']);break;case 0x47:_0x351b4e[_0x1bb3e0(0x1c2)]=parseInt(_0x5e1616['value'],0xa);break;case 0x48:_0x351b4e[_0x1bb3e0(0x1f1)]=parseInt(_0x5e1616[_0x1bb3e0(0x298)],0xa);break;case 0x49:_0x351b4e[_0x1bb3e0(0x1e3)]=parseInt(_0x5e1616['value'],0xa);break;case 0xd2:_0x351b4e[_0x1bb3e0(0x22e)]['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xdc:_0x351b4e['extrusionDirection']['y']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xe6:_0x351b4e['extrusionDirection']['z']=parseFloat(_0x5e1616['value']);break;}}return _0x351b4e;}function parseMTextEntity(_0x2b646a,_0x1144b1){const _0x215bba=_0x1204;_0x2b646a[_0x215bba(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x2b646a[_0x215bba(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x2b646a[_0x215bba(0x233)]=0x0,_0x2b646a['width']=0x0,_0x2b646a['text']='',_0x2b646a[_0x215bba(0x1c1)]=0x0,_0x2b646a['styleName']=_0x215bba(0x1e1),_0x2b646a[_0x215bba(0x2a6)]=0x1,_0x2b646a[_0x215bba(0x2aa)]=0x1,_0x2b646a[_0x215bba(0x2cb)]=0x1,_0x2b646a[_0x215bba(0x1dc)]=0x1,_0x2b646a['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};let _0x1c6133=[];for(const _0x39feee of _0x1144b1){switch(_0x39feee[_0x215bba(0x2b5)]){case 0x1:_0x1c6133[_0x215bba(0x262)](_0x39feee[_0x215bba(0x298)]);break;case 0x3:_0x1c6133[_0x215bba(0x262)](_0x39feee['value']);break;case 0x7:_0x2b646a['styleName']=_0x39feee[_0x215bba(0x298)];break;case 0xa:_0x2b646a[_0x215bba(0x2b4)]['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x14:_0x2b646a['insertionPoint']['y']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x1e:_0x2b646a[_0x215bba(0x2b4)]['z']=parseFloat(_0x39feee['value']);break;case 0xb:_0x2b646a['direction']['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x15:_0x2b646a[_0x215bba(0x1c5)]['y']=parseFloat(_0x39feee['value']);break;case 0x1f:_0x2b646a[_0x215bba(0x1c5)]['z']=parseFloat(_0x39feee['value']);break;case 0x28:_0x2b646a[_0x215bba(0x233)]=parseFloat(_0x39feee['value']);break;case 0x29:_0x2b646a[_0x215bba(0x26c)]=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x2c:_0x2b646a['lineSpacing']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x32:_0x2b646a[_0x215bba(0x1c1)]=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x47:_0x2b646a['attachmentPoint']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0x48:_0x2b646a['drawingDirection']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0x49:_0x2b646a['lineSpacingStyle']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0xd2:_0x2b646a[_0x215bba(0x22e)]['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0xdc:_0x2b646a[_0x215bba(0x22e)]['y']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0xe6:_0x2b646a[_0x215bba(0x22e)]['z']=parseFloat(_0x39feee['value']);break;}}return _0x2b646a['text']=_0x1c6133['join'](''),_0x2b646a;}function parseAttribEntity(_0x21e9ce,_0x30702f){const _0x58bd62=_0x1204;_0x21e9ce['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x21e9ce[_0x58bd62(0x237)]={'x':0x0,'y':0x0,'z':0x0},_0x21e9ce['height']=0x0,_0x21e9ce[_0x58bd62(0x241)]='',_0x21e9ce[_0x58bd62(0x21f)]='',_0x21e9ce[_0x58bd62(0x1c6)]='',_0x21e9ce[_0x58bd62(0x1c1)]=0x0,_0x21e9ce[_0x58bd62(0x2c5)]=0x0,_0x21e9ce['styleName']='STANDARD';for(const _0x434795 of _0x30702f){switch(_0x434795[_0x58bd62(0x2b5)]){case 0x1:_0x21e9ce['text']=_0x434795[_0x58bd62(0x298)];break;case 0x2:_0x21e9ce['tag']=_0x434795[_0x58bd62(0x298)];break;case 0x3:_0x21e9ce[_0x58bd62(0x1c6)]=_0x434795['value'];break;case 0x7:_0x21e9ce[_0x58bd62(0x25d)]=_0x434795[_0x58bd62(0x298)];break;case 0xa:_0x21e9ce[_0x58bd62(0x2b4)]['x']=parseFloat(_0x434795['value']);break;case 0x14:_0x21e9ce[_0x58bd62(0x2b4)]['y']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x1e:_0x21e9ce[_0x58bd62(0x2b4)]['z']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0xb:_0x21e9ce['alignmentPoint']['x']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x15:_0x21e9ce['alignmentPoint']['y']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x1f:_0x21e9ce['alignmentPoint']['z']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x28:_0x21e9ce['height']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x29:_0x21e9ce['xScale']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x32:_0x21e9ce[_0x58bd62(0x1c1)]=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x46:_0x21e9ce['flags']=parseInt(_0x434795[_0x58bd62(0x298)],0xa);break;case 0x47:_0x21e9ce['generationFlags']=parseInt(_0x434795['value'],0xa);break;case 0x48:_0x21e9ce[_0x58bd62(0x1f1)]=parseInt(_0x434795[_0x58bd62(0x298)],0xa);break;case 0x49:_0x21e9ce[_0x58bd62(0x1e3)]=parseInt(_0x434795['value'],0xa);break;}}return _0x21e9ce;}function parseInsertEntity(_0x14cbe4,_0x416dc7){const _0x319292=_0x1204;_0x14cbe4[_0x319292(0x1cd)]='',_0x14cbe4[_0x319292(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x14cbe4[_0x319292(0x225)]={'x':0x1,'y':0x1,'z':0x1},_0x14cbe4[_0x319292(0x1c1)]=0x0,_0x14cbe4[_0x319292(0x23b)]=0x1,_0x14cbe4[_0x319292(0x29b)]=0x1,_0x14cbe4[_0x319292(0x278)]=0x0,_0x14cbe4['rowSpacing']=0x0,_0x14cbe4[_0x319292(0x22e)]={'x':0x0,'y':0x0,'z':0x1},_0x14cbe4['attributes']=[];for(const _0x5da618 of _0x416dc7){switch(_0x5da618[_0x319292(0x2b5)]){case 0x2:_0x14cbe4[_0x319292(0x1cd)]=_0x5da618[_0x319292(0x298)];break;case 0xa:_0x14cbe4[_0x319292(0x2b4)]['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x14:_0x14cbe4[_0x319292(0x2b4)]['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x1e:_0x14cbe4[_0x319292(0x2b4)]['z']=parseFloat(_0x5da618['value']);break;case 0x29:_0x14cbe4[_0x319292(0x225)]['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2a:_0x14cbe4['scale']['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2b:_0x14cbe4[_0x319292(0x225)]['z']=parseFloat(_0x5da618['value']);break;case 0x2c:_0x14cbe4[_0x319292(0x278)]=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2d:_0x14cbe4['rowSpacing']=parseFloat(_0x5da618['value']);break;case 0x32:_0x14cbe4[_0x319292(0x1c1)]=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x42:_0x14cbe4[_0x319292(0x280)]=parseInt(_0x5da618['value'],0xa)===0x1;break;case 0x46:_0x14cbe4[_0x319292(0x23b)]=parseInt(_0x5da618[_0x319292(0x298)],0xa);break;case 0x47:_0x14cbe4[_0x319292(0x29b)]=parseInt(_0x5da618[_0x319292(0x298)],0xa);break;case 0xd2:_0x14cbe4['extrusionDirection']['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0xdc:_0x14cbe4[_0x319292(0x22e)]['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0xe6:_0x14cbe4[_0x319292(0x22e)]['z']=parseFloat(_0x5da618[_0x319292(0x298)]);break;}}return _0x14cbe4;}function parseDimensionEntity(_0x48ab5b,_0x4ac16f){const _0x4264ad=_0x1204;_0x48ab5b['blockName']='',_0x48ab5b[_0x4264ad(0x20f)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x209)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x243)]=0x0,_0x48ab5b[_0x4264ad(0x241)]='',_0x48ab5b[_0x4264ad(0x25d)]=_0x4264ad(0x1e1),_0x48ab5b[_0x4264ad(0x1c1)]=0x0,_0x48ab5b['point1']={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b['point2']={'x':0x0,'y':0x0,'z':0x0};for(const _0x604fed of _0x4ac16f){switch(_0x604fed['code']){case 0x1:_0x48ab5b[_0x4264ad(0x241)]=_0x604fed[_0x4264ad(0x298)];break;case 0x2:_0x48ab5b[_0x4264ad(0x1cd)]=_0x604fed[_0x4264ad(0x298)];break;case 0x3:_0x48ab5b[_0x4264ad(0x25d)]=_0x604fed[_0x4264ad(0x298)];break;case 0xa:_0x48ab5b[_0x4264ad(0x20f)]['x']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x14:_0x48ab5b[_0x4264ad(0x20f)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x1e:_0x48ab5b[_0x4264ad(0x20f)]['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0xb:_0x48ab5b[_0x4264ad(0x209)]['x']=parseFloat(_0x604fed['value']);break;case 0x15:_0x48ab5b[_0x4264ad(0x209)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x1f:_0x48ab5b[_0x4264ad(0x209)]['z']=parseFloat(_0x604fed['value']);break;case 0xd:_0x48ab5b[_0x4264ad(0x2c7)]['x']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x17:_0x48ab5b[_0x4264ad(0x2c7)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x21:_0x48ab5b[_0x4264ad(0x2c7)]['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0xe:_0x48ab5b[_0x4264ad(0x29c)]['x']=parseFloat(_0x604fed['value']);break;case 0x18:_0x48ab5b['point2']['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x22:_0x48ab5b['point2']['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x28:_0x48ab5b[_0x4264ad(0x268)]=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x32:_0x48ab5b[_0x4264ad(0x1c1)]=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x46:_0x48ab5b['dimensionType']=parseInt(_0x604fed['value'],0xa);break;case 0x47:_0x48ab5b[_0x4264ad(0x2a6)]=parseInt(_0x604fed[_0x4264ad(0x298)],0xa);break;}}return _0x48ab5b;}function parseLeaderEntity(_0x291979,_0x599073){const _0x2458f0=_0x1204;_0x291979[_0x2458f0(0x25d)]=_0x2458f0(0x1e1),_0x291979[_0x2458f0(0x255)]=0x1,_0x291979[_0x2458f0(0x26d)]=0x0,_0x291979[_0x2458f0(0x254)]=0x0,_0x291979['hooklineFlag']=0x0,_0x291979[_0x2458f0(0x2a8)]=[],_0x291979[_0x2458f0(0x1d9)]=null,_0x291979['normal']={'x':0x0,'y':0x0,'z':0x1},_0x291979[_0x2458f0(0x251)]={'x':0x1,'y':0x0,'z':0x0};let _0x209e63=null;for(const _0x3881cd of _0x599073){switch(_0x3881cd[_0x2458f0(0x2b5)]){case 0x3:_0x291979[_0x2458f0(0x25d)]=_0x3881cd['value'];break;case 0xa:_0x209e63=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x14:_0x209e63!==null&&(_0x291979[_0x2458f0(0x2a8)]['push']({'x':_0x209e63,'y':parseFloat(_0x3881cd['value']),'z':0x0}),_0x209e63=null);break;case 0x1e:if(_0x291979['vertices'][_0x2458f0(0x264)]>0x0)_0x291979[_0x2458f0(0x2a8)][_0x291979[_0x2458f0(0x2a8)][_0x2458f0(0x264)]-0x1]['z']=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x28:_0x291979[_0x2458f0(0x223)]=parseFloat(_0x3881cd['value']);break;case 0x29:_0x291979[_0x2458f0(0x218)]=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x47:_0x291979[_0x2458f0(0x255)]=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x48:_0x291979[_0x2458f0(0x26d)]=parseInt(_0x3881cd['value'],0xa);break;case 0x49:_0x291979['creationType']=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x4c:_0x291979['vertexCount']=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x154:_0x291979[_0x2458f0(0x1d9)]=_0x3881cd['value'];break;}}return _0x291979;}function parseMLeaderEntity(_0x44400e,_0x11fe2f){const _0x1f7797=_0x1204;_0x44400e[_0x1f7797(0x25d)]='',_0x44400e[_0x1f7797(0x241)]='',_0x44400e[_0x1f7797(0x202)]=[],_0x44400e[_0x1f7797(0x228)]=0x0,_0x44400e[_0x1f7797(0x1f2)]='';let _0x292edb=null;for(const _0x15d0e2 of _0x11fe2f){switch(_0x15d0e2['code']){case 0x3:_0x44400e[_0x1f7797(0x25d)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0x130:_0x44400e[_0x1f7797(0x241)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0xaa:_0x44400e[_0x1f7797(0x228)]=parseInt(_0x15d0e2[_0x1f7797(0x298)],0xa);break;case 0x154:_0x44400e[_0x1f7797(0x1f2)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0xa:_0x292edb=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x14:_0x292edb!==null&&(_0x44400e[_0x1f7797(0x202)]['push']({'x':_0x292edb,'y':parseFloat(_0x15d0e2[_0x1f7797(0x298)]),'z':0x0}),_0x292edb=null);break;case 0x1e:if(_0x44400e[_0x1f7797(0x202)][_0x1f7797(0x264)]>0x0)_0x44400e['leaderPoints'][_0x44400e[_0x1f7797(0x202)][_0x1f7797(0x264)]-0x1]['z']=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x28:_0x44400e[_0x1f7797(0x2a9)]=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x29:_0x44400e[_0x1f7797(0x1f7)]=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x2a:_0x44400e[_0x1f7797(0x223)]=parseFloat(_0x15d0e2['value']);break;}}return _0x44400e;}function parseHatchEntity(_0x1cf0a3,_0x3364e0){const _0x2238a4=_0x1204;_0x1cf0a3[_0x2238a4(0x2cc)]='',_0x1cf0a3[_0x2238a4(0x238)]=![],_0x1cf0a3['associative']=![],_0x1cf0a3[_0x2238a4(0x240)]=0x0,_0x1cf0a3['patternType']=0x0,_0x1cf0a3[_0x2238a4(0x22f)]=0x0,_0x1cf0a3[_0x2238a4(0x256)]=0x1,_0x1cf0a3[_0x2238a4(0x20d)]=0x0,_0x1cf0a3[_0x2238a4(0x22e)]={'x':0x0,'y':0x0,'z':0x1},_0x1cf0a3['boundaryPaths']=[],_0x1cf0a3[_0x2238a4(0x27c)]=[];let _0x10c4f4=![],_0x41d580=null;for(const _0x3d8de0 of _0x3364e0){switch(_0x3d8de0[_0x2238a4(0x2b5)]){case 0x2:_0x1cf0a3[_0x2238a4(0x2cc)]=_0x3d8de0[_0x2238a4(0x298)];break;case 0xa:_0x10c4f4&&_0x41d580&&(_0x41d580['points']=_0x41d580[_0x2238a4(0x21b)]||[],_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x262)]({'x':parseFloat(_0x3d8de0[_0x2238a4(0x298)])}));break;case 0x14:if(_0x10c4f4&&_0x41d580&&_0x41d580[_0x2238a4(0x21b)]&&_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x264)]>0x0)_0x41d580[_0x2238a4(0x21b)][_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x264)]-0x1]['y']=parseFloat(_0x3d8de0['value']);break;case 0x1e:_0x1cf0a3[_0x2238a4(0x20d)]=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0x29:_0x1cf0a3[_0x2238a4(0x256)]=parseFloat(_0x3d8de0['value']);break;case 0x34:_0x1cf0a3[_0x2238a4(0x22f)]=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0x46:_0x1cf0a3[_0x2238a4(0x238)]=parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa)===0x1;break;case 0x47:_0x1cf0a3['associative']=parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa)===0x1;break;case 0x4b:_0x1cf0a3[_0x2238a4(0x240)]=parseInt(_0x3d8de0['value'],0xa);break;case 0x4c:_0x1cf0a3[_0x2238a4(0x230)]=parseInt(_0x3d8de0['value'],0xa);break;case 0x5b:_0x10c4f4=!![];break;case 0x5c:if(_0x41d580)_0x1cf0a3[_0x2238a4(0x2be)]['push'](_0x41d580);_0x41d580={'type':parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa),'edges':[],'points':[]};break;case 0x5d:if(_0x41d580)_0x41d580['edgeCount']=parseInt(_0x3d8de0['value'],0xa);break;case 0x61:if(_0x41d580)_0x1cf0a3['boundaryPaths']['push'](_0x41d580);_0x41d580=null,_0x10c4f4=![];break;case 0xd2:_0x1cf0a3[_0x2238a4(0x22e)]['x']=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0xdc:_0x1cf0a3[_0x2238a4(0x22e)]['y']=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0xe6:_0x1cf0a3['extrusionDirection']['z']=parseFloat(_0x3d8de0['value']);break;}}if(_0x41d580)_0x1cf0a3[_0x2238a4(0x2be)][_0x2238a4(0x262)](_0x41d580);return _0x1cf0a3;}function parseSplineEntity(_0x2bbbb2,_0x5ee3cb){const _0xa4968f=_0x1204;_0x2bbbb2[_0xa4968f(0x2b9)]={'x':0x0,'y':0x0,'z':0x1},_0x2bbbb2['degree']=0x3,_0x2bbbb2[_0xa4968f(0x224)]=![],_0x2bbbb2[_0xa4968f(0x20c)]=![],_0x2bbbb2['rational']=![],_0x2bbbb2[_0xa4968f(0x23a)]=![],_0x2bbbb2[_0xa4968f(0x1dd)]=1e-7,_0x2bbbb2[_0xa4968f(0x24e)]=1e-7,_0x2bbbb2['fitTolerance']=1e-10,_0x2bbbb2[_0xa4968f(0x276)]={'x':0x0,'y':0x0,'z':0x0},_0x2bbbb2[_0xa4968f(0x260)]={'x':0x0,'y':0x0,'z':0x0},_0x2bbbb2['knots']=[],_0x2bbbb2[_0xa4968f(0x1e4)]=[],_0x2bbbb2[_0xa4968f(0x1d2)]=[],_0x2bbbb2[_0xa4968f(0x266)]=[];let _0xcc9475=null,_0x3dfa9f=null;for(const _0x2f5b0a of _0x5ee3cb){switch(_0x2f5b0a['code']){case 0xa:_0xcc9475=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x14:_0xcc9475!==null&&(_0x2bbbb2[_0xa4968f(0x1d2)]['push']({'x':_0xcc9475,'y':parseFloat(_0x2f5b0a[_0xa4968f(0x298)]),'z':0x0}),_0xcc9475=null);break;case 0x1e:if(_0x2bbbb2[_0xa4968f(0x1d2)][_0xa4968f(0x264)]>0x0)_0x2bbbb2['controlPoints'][_0x2bbbb2[_0xa4968f(0x1d2)]['length']-0x1]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xb:_0x3dfa9f=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x15:_0x3dfa9f!==null&&(_0x2bbbb2['fitPoints'][_0xa4968f(0x262)]({'x':_0x3dfa9f,'y':parseFloat(_0x2f5b0a[_0xa4968f(0x298)]),'z':0x0}),_0x3dfa9f=null);break;case 0x1f:if(_0x2bbbb2[_0xa4968f(0x266)][_0xa4968f(0x264)]>0x0)_0x2bbbb2[_0xa4968f(0x266)][_0x2bbbb2[_0xa4968f(0x266)][_0xa4968f(0x264)]-0x1]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xc:_0x2bbbb2['startTangent']['x']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x16:_0x2bbbb2[_0xa4968f(0x276)]['y']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x20:_0x2bbbb2[_0xa4968f(0x276)]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xd:_0x2bbbb2['endTangent']['x']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x17:_0x2bbbb2['endTangent']['y']=parseFloat(_0x2f5b0a['value']);break;case 0x21:_0x2bbbb2['endTangent']['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x28:_0x2bbbb2[_0xa4968f(0x2a5)][_0xa4968f(0x262)](parseFloat(_0x2f5b0a[_0xa4968f(0x298)]));break;case 0x29:_0x2bbbb2['weights'][_0xa4968f(0x262)](parseFloat(_0x2f5b0a[_0xa4968f(0x298)]));break;case 0x2a:_0x2bbbb2[_0xa4968f(0x1dd)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x2b:_0x2bbbb2[_0xa4968f(0x24e)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x2c:_0x2bbbb2[_0xa4968f(0x22c)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x46:{const _0x5704f1=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);_0x2bbbb2['closed']=(_0x5704f1&0x1)===0x1,_0x2bbbb2[_0xa4968f(0x20c)]=(_0x5704f1&0x2)===0x2,_0x2bbbb2[_0xa4968f(0x2ac)]=(_0x5704f1&0x4)===0x4,_0x2bbbb2[_0xa4968f(0x23a)]=(_0x5704f1&0x8)===0x8,_0x2bbbb2['flags']=_0x5704f1;break;}case 0x47:_0x2bbbb2[_0xa4968f(0x200)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0x48:_0x2bbbb2[_0xa4968f(0x249)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0x49:_0x2bbbb2[_0xa4968f(0x294)]=parseInt(_0x2f5b0a['value'],0xa);break;case 0x4a:_0x2bbbb2[_0xa4968f(0x28d)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0xd2:_0x2bbbb2[_0xa4968f(0x2b9)]['x']=parseFloat(_0x2f5b0a['value']);break;case 0xdc:_0x2bbbb2[_0xa4968f(0x2b9)]['y']=parseFloat(_0x2f5b0a['value']);break;case 0xe6:_0x2bbbb2[_0xa4968f(0x2b9)]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;}}return _0x2bbbb2;}function parseSolidEntity(_0x34ac3c,_0x154ce7){const _0x1f1fc9=_0x1204;_0x34ac3c[_0x1f1fc9(0x21b)]=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x34ac3c['thickness']=0x0,_0x34ac3c[_0x1f1fc9(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x212c74 of _0x154ce7){switch(_0x212c74[_0x1f1fc9(0x2b5)]){case 0xa:_0x34ac3c[_0x1f1fc9(0x21b)][0x0]['x']=parseFloat(_0x212c74['value']);break;case 0x14:_0x34ac3c[_0x1f1fc9(0x21b)][0x0]['y']=parseFloat(_0x212c74['value']);break;case 0x1e:_0x34ac3c['points'][0x0]['z']=parseFloat(_0x212c74['value']);break;case 0xb:_0x34ac3c[_0x1f1fc9(0x21b)][0x1]['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x15:_0x34ac3c['points'][0x1]['y']=parseFloat(_0x212c74['value']);break;case 0x1f:_0x34ac3c[_0x1f1fc9(0x21b)][0x1]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xc:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['x']=parseFloat(_0x212c74['value']);break;case 0x16:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x20:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xd:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x17:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x21:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x27:_0x34ac3c[_0x1f1fc9(0x2c3)]=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xd2:_0x34ac3c['extrusionDirection']['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xdc:_0x34ac3c[_0x1f1fc9(0x22e)]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xe6:_0x34ac3c['extrusionDirection']['z']=parseFloat(_0x212c74['value']);break;}}return _0x34ac3c;}function parse3DFaceEntity(_0x556b04,_0x2989f7){const _0x1cdcef=_0x1204;_0x556b04['vertices']=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x556b04[_0x1cdcef(0x211)]=0x0;for(const _0x2d9925 of _0x2989f7){switch(_0x2d9925[_0x1cdcef(0x2b5)]){case 0xa:_0x556b04[_0x1cdcef(0x2a8)][0x0]['x']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x14:_0x556b04['vertices'][0x0]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x1e:_0x556b04[_0x1cdcef(0x2a8)][0x0]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xb:_0x556b04[_0x1cdcef(0x2a8)][0x1]['x']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x15:_0x556b04[_0x1cdcef(0x2a8)][0x1]['y']=parseFloat(_0x2d9925['value']);break;case 0x1f:_0x556b04[_0x1cdcef(0x2a8)][0x1]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xc:_0x556b04[_0x1cdcef(0x2a8)][0x2]['x']=parseFloat(_0x2d9925['value']);break;case 0x16:_0x556b04['vertices'][0x2]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x20:_0x556b04[_0x1cdcef(0x2a8)][0x2]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xd:_0x556b04['vertices'][0x3]['x']=parseFloat(_0x2d9925['value']);break;case 0x17:_0x556b04[_0x1cdcef(0x2a8)][0x3]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x21:_0x556b04[_0x1cdcef(0x2a8)][0x3]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x46:_0x556b04[_0x1cdcef(0x211)]=parseInt(_0x2d9925[_0x1cdcef(0x298)],0xa);break;}}return _0x556b04;}function parseRayEntity(_0x43f448,_0x6223af){const _0x2a9829=_0x1204;_0x43f448['basePoint']={'x':0x0,'y':0x0,'z':0x0},_0x43f448[_0x2a9829(0x1c5)]={'x':0x1,'y':0x0,'z':0x0};for(const _0x25ce90 of _0x6223af){switch(_0x25ce90[_0x2a9829(0x2b5)]){case 0xa:_0x43f448[_0x2a9829(0x25f)]['x']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x14:_0x43f448[_0x2a9829(0x25f)]['y']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x1e:_0x43f448['basePoint']['z']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0xb:_0x43f448[_0x2a9829(0x1c5)]['x']=parseFloat(_0x25ce90['value']);break;case 0x15:_0x43f448[_0x2a9829(0x1c5)]['y']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x1f:_0x43f448['direction']['z']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;}}return _0x43f448;}function parseViewportEntity(_0x5cf175,_0x366150){const _0x549e9c=_0x1204;_0x5cf175[_0x549e9c(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x5cf175['width']=0x0,_0x5cf175[_0x549e9c(0x233)]=0x0,_0x5cf175[_0x549e9c(0x299)]={'x':0x0,'y':0x0,'z':0x0},_0x5cf175['viewDirection']={'x':0x0,'y':0x0,'z':0x1},_0x5cf175[_0x549e9c(0x2a4)]=0x0,_0x5cf175[_0x549e9c(0x292)]=0x0,_0x5cf175['viewCenter']={'x':0x0,'y':0x0},_0x5cf175['perspectiveLensLength']=0x32,_0x5cf175['statusField']=0x0,_0x5cf175[_0x549e9c(0x216)]=null,_0x5cf175[_0x549e9c(0x250)]=[];for(const _0x38bd90 of _0x366150){switch(_0x38bd90[_0x549e9c(0x2b5)]){case 0xa:_0x5cf175[_0x549e9c(0x2ce)]['x']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x14:_0x5cf175['center']['y']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x1e:_0x5cf175['center']['z']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0xc:_0x5cf175[_0x549e9c(0x273)]['x']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x16:_0x5cf175[_0x549e9c(0x273)]['y']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x28:_0x5cf175[_0x549e9c(0x26c)]=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x29:_0x5cf175[_0x549e9c(0x233)]=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x2d:_0x5cf175[_0x549e9c(0x292)]=parseFloat(_0x38bd90['value']);break;case 0x33:_0x5cf175['viewTwistAngle']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x44:_0x5cf175[_0x549e9c(0x27b)]=parseInt(_0x38bd90[_0x549e9c(0x298)],0xa);break;case 0x45:_0x5cf175['id']=parseInt(_0x38bd90[_0x549e9c(0x298)],0xa);break;case 0x14b:_0x5cf175[_0x549e9c(0x250)][_0x549e9c(0x262)](_0x38bd90[_0x549e9c(0x298)]);break;case 0x154:_0x5cf175[_0x549e9c(0x216)]=_0x38bd90['value'];break;}}return _0x5cf175;}function parseImageEntity(_0x1d4145,_0x1b542a){const _0xf41e1f=_0x1204;_0x1d4145[_0xf41e1f(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x1d4145[_0xf41e1f(0x1fe)]={'x':0x1,'y':0x0,'z':0x0},_0x1d4145[_0xf41e1f(0x265)]={'x':0x0,'y':0x1,'z':0x0},_0x1d4145[_0xf41e1f(0x1f8)]={'u':0x0,'v':0x0},_0x1d4145['imageDefHandle']='',_0x1d4145[_0xf41e1f(0x269)]=0x0,_0x1d4145[_0xf41e1f(0x2bd)]=0x0,_0x1d4145[_0xf41e1f(0x2ab)]=0x32,_0x1d4145[_0xf41e1f(0x1cf)]=0x32,_0x1d4145[_0xf41e1f(0x22b)]=0x0,_0x1d4145[_0xf41e1f(0x236)]=[];for(const _0x512aed of _0x1b542a){switch(_0x512aed['code']){case 0xa:_0x1d4145[_0xf41e1f(0x2b4)]['x']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x14:_0x1d4145[_0xf41e1f(0x2b4)]['y']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x1e:_0x1d4145[_0xf41e1f(0x2b4)]['z']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0xd:_0x1d4145[_0xf41e1f(0x1f8)]['u']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x17:_0x1d4145[_0xf41e1f(0x1f8)]['v']=parseFloat(_0x512aed['value']);break;case 0xe:_0x1d4145['clippingVertices']['push']({'x':parseFloat(_0x512aed[_0xf41e1f(0x298)])});break;case 0x18:if(_0x1d4145[_0xf41e1f(0x236)]['length']>0x0)_0x1d4145[_0xf41e1f(0x236)][_0x1d4145[_0xf41e1f(0x236)][_0xf41e1f(0x264)]-0x1]['y']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x46:_0x1d4145['displayFlags']=parseInt(_0x512aed['value'],0xa);break;case 0x154:_0x1d4145[_0xf41e1f(0x259)]=_0x512aed[_0xf41e1f(0x298)];break;}}return _0x1d4145;}function parseToleranceEntity(_0x625359,_0x3751a6){const _0x5caf2a=_0x1204;_0x625359[_0x5caf2a(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x625359[_0x5caf2a(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x625359[_0x5caf2a(0x25d)]=_0x5caf2a(0x1e1),_0x625359[_0x5caf2a(0x241)]='';for(const _0x12abc6 of _0x3751a6){switch(_0x12abc6[_0x5caf2a(0x2b5)]){case 0x1:_0x625359['text']=_0x12abc6[_0x5caf2a(0x298)];break;case 0x3:_0x625359[_0x5caf2a(0x25d)]=_0x12abc6[_0x5caf2a(0x298)];break;case 0xa:_0x625359[_0x5caf2a(0x2b4)]['x']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x14:_0x625359[_0x5caf2a(0x2b4)]['y']=parseFloat(_0x12abc6['value']);break;case 0x1e:_0x625359['insertionPoint']['z']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0xb:_0x625359[_0x5caf2a(0x1c5)]['x']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x15:_0x625359[_0x5caf2a(0x1c5)]['y']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x1f:_0x625359['direction']['z']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;}}return _0x625359;}function parseHelixEntity(_0x1285ea,_0x35d774){const _0x204502=_0x1204;_0x1285ea[_0x204502(0x1c8)]={'x':0x0,'y':0x0,'z':0x0},_0x1285ea[_0x204502(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x1285ea[_0x204502(0x1cb)]={'x':0x0,'y':0x0,'z':0x1},_0x1285ea['radius']=0x0,_0x1285ea[_0x204502(0x2c9)]=0x1,_0x1285ea[_0x204502(0x29d)]=0x0,_0x1285ea[_0x204502(0x248)]=0x0,_0x1285ea[_0x204502(0x2b1)]=0x0;for(const _0x4771e4 of _0x35d774){switch(_0x4771e4['code']){case 0xa:_0x1285ea[_0x204502(0x1c8)]['x']=parseFloat(_0x4771e4['value']);break;case 0x14:_0x1285ea[_0x204502(0x1c8)]['y']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x1e:_0x1285ea['axisBasePoint']['z']=parseFloat(_0x4771e4['value']);break;case 0xb:_0x1285ea[_0x204502(0x21a)]['x']=parseFloat(_0x4771e4['value']);break;case 0x15:_0x1285ea[_0x204502(0x21a)]['y']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x1f:_0x1285ea[_0x204502(0x21a)]['z']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x28:_0x1285ea[_0x204502(0x231)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x29:_0x1285ea[_0x204502(0x2c9)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x2a:_0x1285ea[_0x204502(0x29d)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x122:_0x1285ea[_0x204502(0x248)]=parseInt(_0x4771e4['value'],0xa);break;case 0x118:_0x1285ea[_0x204502(0x2b1)]=parseInt(_0x4771e4[_0x204502(0x298)],0xa);break;}}return _0x1285ea;}function parseMeshEntity(_0x272987,_0x5c3ceb){const _0x1017a2=_0x1204;_0x272987[_0x1017a2(0x1cc)]=0x2,_0x272987[_0x1017a2(0x1d6)]=0x0,_0x272987[_0x1017a2(0x2a8)]=[],_0x272987[_0x1017a2(0x1e2)]=[],_0x272987[_0x1017a2(0x2b6)]=[],_0x272987['edgeCreases']=[];let _0x573905=null,_0x377672=![],_0xf10d=![],_0xe763f3=![];for(const _0x8ac4bf of _0x5c3ceb){switch(_0x8ac4bf[_0x1017a2(0x2b5)]){case 0x47:_0x272987[_0x1017a2(0x1cc)]=parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa);break;case 0x48:_0x272987[_0x1017a2(0x1d6)]=parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa);break;case 0x5b:_0x377672=![];break;case 0x5c:_0x377672=!![];break;case 0x5d:_0xf10d=!![],_0x377672=![];break;case 0x5e:_0xe763f3=!![],_0xf10d=![];break;case 0x5f:_0xe763f3=![];break;case 0xa:_0x573905=parseFloat(_0x8ac4bf['value']);break;case 0x14:_0x573905!==null&&(_0x272987['vertices'][_0x1017a2(0x262)]({'x':_0x573905,'y':parseFloat(_0x8ac4bf['value']),'z':0x0}),_0x573905=null);break;case 0x1e:if(_0x272987[_0x1017a2(0x2a8)][_0x1017a2(0x264)]>0x0)_0x272987[_0x1017a2(0x2a8)][_0x272987[_0x1017a2(0x2a8)]['length']-0x1]['z']=parseFloat(_0x8ac4bf[_0x1017a2(0x298)]);break;case 0x5a:if(_0x377672)_0x272987[_0x1017a2(0x1e2)]['push'](parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa));else {if(_0xf10d)_0x272987[_0x1017a2(0x2b6)][_0x1017a2(0x262)](parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa));}break;case 0x8c:if(_0xe763f3)_0x272987['edgeCreases'][_0x1017a2(0x262)](parseFloat(_0x8ac4bf[_0x1017a2(0x298)]));break;}}return _0x272987;}function parseRegionEntity(_0x26dc85,_0x2c0e04){const _0x6dfc91=_0x1204;_0x26dc85[_0x6dfc91(0x213)]=[];for(const _0x54461c of _0x2c0e04){if(_0x54461c[_0x6dfc91(0x2b5)]===0x1||_0x54461c[_0x6dfc91(0x2b5)]===0x3)_0x26dc85[_0x6dfc91(0x213)][_0x6dfc91(0x262)](_0x54461c[_0x6dfc91(0x298)]);if(_0x54461c['code']===0x46)_0x26dc85['modelerFormat']=parseInt(_0x54461c[_0x6dfc91(0x298)],0xa);}return _0x26dc85[_0x6dfc91(0x26f)]=_0x26dc85[_0x6dfc91(0x213)][_0x6dfc91(0x27f)](''),_0x26dc85;}function parseOle2Entity(_0x183957,_0x33ca47){const _0x1f08bd=_0x1204;_0x183957['upperLeftCorner']={'x':0x0,'y':0x0,'z':0x0},_0x183957[_0x1f08bd(0x1e5)]={'x':0x0,'y':0x0,'z':0x0},_0x183957[_0x1f08bd(0x27e)]=0x0,_0x183957[_0x1f08bd(0x1c4)]=0x0;for(const _0x21f6c3 of _0x33ca47){switch(_0x21f6c3[_0x1f08bd(0x2b5)]){case 0xa:_0x183957[_0x1f08bd(0x1e7)]['x']=parseFloat(_0x21f6c3['value']);break;case 0x14:_0x183957[_0x1f08bd(0x1e7)]['y']=parseFloat(_0x21f6c3[_0x1f08bd(0x298)]);break;case 0xb:_0x183957['lowerRightCorner']['x']=parseFloat(_0x21f6c3[_0x1f08bd(0x298)]);break;case 0x15:_0x183957[_0x1f08bd(0x1e5)]['y']=parseFloat(_0x21f6c3['value']);break;case 0x46:_0x183957[_0x1f08bd(0x27e)]=parseInt(_0x21f6c3[_0x1f08bd(0x298)],0xa);break;case 0x47:_0x183957[_0x1f08bd(0x1c4)]=parseInt(_0x21f6c3[_0x1f08bd(0x298)],0xa);break;case 0x1:case 0x3:_0x183957[_0x1f08bd(0x1ec)]=_0x183957[_0x1f08bd(0x1ec)]||[],_0x183957['binaryData'][_0x1f08bd(0x262)](_0x21f6c3[_0x1f08bd(0x298)]);break;}}return _0x183957;}function parseTableEntity(_0x4ead2f,_0x15be55){const _0x2758df=_0x1204;_0x4ead2f[_0x2758df(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x4ead2f[_0x2758df(0x1cd)]='',_0x4ead2f[_0x2758df(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x4ead2f['rows']=0x0,_0x4ead2f['columns']=0x0;for(const _0x27650e of _0x15be55){switch(_0x27650e[_0x2758df(0x2b5)]){case 0x2:_0x4ead2f[_0x2758df(0x1cd)]=_0x27650e[_0x2758df(0x298)];break;case 0xa:_0x4ead2f[_0x2758df(0x2b4)]['x']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x14:_0x4ead2f[_0x2758df(0x2b4)]['y']=parseFloat(_0x27650e['value']);break;case 0xb:_0x4ead2f['direction']['x']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x15:_0x4ead2f['direction']['y']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x5b:_0x4ead2f[_0x2758df(0x25b)]=parseInt(_0x27650e[_0x2758df(0x298)],0xa);break;case 0x5c:_0x4ead2f[_0x2758df(0x229)]=parseInt(_0x27650e[_0x2758df(0x298)],0xa);break;case 0x8e:_0x4ead2f[_0x2758df(0x23c)]=_0x4ead2f['rowHeights']||[],_0x4ead2f[_0x2758df(0x23c)][_0x2758df(0x262)](parseFloat(_0x27650e[_0x2758df(0x298)]));break;case 0x8d:_0x4ead2f[_0x2758df(0x215)]=_0x4ead2f[_0x2758df(0x215)]||[],_0x4ead2f['columnWidths'][_0x2758df(0x262)](parseFloat(_0x27650e[_0x2758df(0x298)]));break;}}return _0x4ead2f;}function parseMLineEntity(_0x131ace,_0x30374b){const _0x3d0431=_0x1204;_0x131ace[_0x3d0431(0x25d)]='STANDARD',_0x131ace[_0x3d0431(0x225)]=0x1,_0x131ace[_0x3d0431(0x23f)]=0x0,_0x131ace[_0x3d0431(0x2c5)]=0x0,_0x131ace[_0x3d0431(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x131ace[_0x3d0431(0x2b9)]={'x':0x0,'y':0x0,'z':0x1},_0x131ace[_0x3d0431(0x2a8)]=[];let _0x99c5e=null;for(const _0x3402cb of _0x30374b){switch(_0x3402cb[_0x3d0431(0x2b5)]){case 0x2:_0x131ace[_0x3d0431(0x25d)]=_0x3402cb[_0x3d0431(0x298)];break;case 0xa:_0x131ace[_0x3d0431(0x21a)]['x']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x14:_0x131ace[_0x3d0431(0x21a)]['y']=parseFloat(_0x3402cb['value']);break;case 0x1e:_0x131ace['startPoint']['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0xb:_0x99c5e=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x15:_0x99c5e!==null&&(_0x131ace[_0x3d0431(0x2a8)][_0x3d0431(0x262)]({'x':_0x99c5e,'y':parseFloat(_0x3402cb['value']),'z':0x0}),_0x99c5e=null);break;case 0x1f:if(_0x131ace['vertices']['length']>0x0)_0x131ace[_0x3d0431(0x2a8)][_0x131ace[_0x3d0431(0x2a8)][_0x3d0431(0x264)]-0x1]['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x28:_0x131ace[_0x3d0431(0x225)]=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x46:_0x131ace[_0x3d0431(0x23f)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x47:_0x131ace[_0x3d0431(0x2c5)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x48:_0x131ace[_0x3d0431(0x282)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x154:_0x131ace['styleHandle']=_0x3402cb[_0x3d0431(0x298)];break;case 0xd2:_0x131ace[_0x3d0431(0x2b9)]['x']=parseFloat(_0x3402cb['value']);break;case 0xdc:_0x131ace['normal']['y']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0xe6:_0x131ace['normal']['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;}}return _0x131ace;}function parseGenericEntity(_0x13f923,_0x4a896a){const _0x1904bb=_0x1204;_0x13f923['data']={};for(const _0x45ae14 of _0x4a896a){const _0x53a9d3=_0x1904bb(0x2ad)+_0x45ae14[_0x1904bb(0x2b5)],_0x37bf38=autoConvert(_0x45ae14[_0x1904bb(0x2b5)],_0x45ae14['value']);if(_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]!==undefined)_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]=[][_0x1904bb(0x1f3)](_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3],_0x37bf38);else _0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]=_0x37bf38;}return _0x13f923;}function parseObjects(_0x15e1ab){const _0x4c37c3=_0x1204;if(!_0x15e1ab||_0x15e1ab[_0x4c37c3(0x264)]===0x0)return [];const _0x6e67ad=[];let _0x5ba463=0x0;while(_0x5ba463<_0x15e1ab[_0x4c37c3(0x264)]){if(_0x15e1ab[_0x5ba463][_0x4c37c3(0x2b5)]===0x0){const _0x13144c=_0x15e1ab[_0x5ba463]['value'];_0x5ba463++;const _0x323f47={'type':_0x13144c};while(_0x5ba463<_0x15e1ab[_0x4c37c3(0x264)]&&_0x15e1ab[_0x5ba463]['code']!==0x0){const _0x22c3f2=_0x15e1ab[_0x5ba463][_0x4c37c3(0x2b5)],_0x307ac9=autoConvert(_0x22c3f2,_0x15e1ab[_0x5ba463]['value']);switch(_0x22c3f2){case 0x5:_0x323f47[_0x4c37c3(0x291)]=_0x307ac9;break;case 0x2:_0x323f47[_0x4c37c3(0x222)]=_0x307ac9;break;case 0x3:_0x323f47[_0x4c37c3(0x1fb)]=_0x323f47[_0x4c37c3(0x1fb)]?[][_0x4c37c3(0x1f3)](_0x323f47[_0x4c37c3(0x1fb)],_0x307ac9):_0x307ac9;break;case 0x14a:_0x323f47['ownerHandle']=_0x307ac9;break;case 0x15e:_0x323f47[_0x4c37c3(0x1d5)]=_0x323f47['softPointer']?[]['concat'](_0x323f47['softPointer'],_0x307ac9):_0x307ac9;break;case 0x168:_0x323f47['hardPointer']=_0x323f47['hardPointer']?[]['concat'](_0x323f47[_0x4c37c3(0x289)],_0x307ac9):_0x307ac9;break;default:const _0x4437e6=_0x4c37c3(0x2ad)+_0x22c3f2;if(_0x323f47[_0x4437e6]!==undefined)_0x323f47[_0x4437e6]=[][_0x4c37c3(0x1f3)](_0x323f47[_0x4437e6],_0x307ac9);else _0x323f47[_0x4437e6]=_0x307ac9;}_0x5ba463++;}_0x6e67ad[_0x4c37c3(0x262)](_0x323f47);}else _0x5ba463++;}return _0x6e67ad;}function assemblePolylineVertices(_0x45980d){const _0x4765a9=_0x1204,_0x45a071=[];let _0x20c12e=null;for(const _0x555db7 of _0x45980d){if(_0x555db7[_0x4765a9(0x284)]===_0x4765a9(0x1f9))_0x20c12e=_0x555db7,_0x45a071['push'](_0x555db7);else {if(_0x555db7[_0x4765a9(0x284)]===_0x4765a9(0x1f6)&&_0x20c12e)_0x20c12e[_0x4765a9(0x2a8)][_0x4765a9(0x262)]({'x':_0x555db7[_0x4765a9(0x25c)]['x'],'y':_0x555db7['position']['y'],'z':_0x555db7[_0x4765a9(0x25c)]['z'],'bulge':_0x555db7[_0x4765a9(0x27a)],'startWidth':_0x555db7[_0x4765a9(0x2c0)],'endWidth':_0x555db7['endWidth'],'flags':_0x555db7['flags'],'faceVertex1':_0x555db7[_0x4765a9(0x27d)],'faceVertex2':_0x555db7[_0x4765a9(0x287)],'faceVertex3':_0x555db7['faceVertex3'],'faceVertex4':_0x555db7[_0x4765a9(0x1da)]});else _0x555db7['type']===_0x4765a9(0x293)?_0x20c12e=null:(_0x20c12e=null,_0x45a071[_0x4765a9(0x262)](_0x555db7));}}return _0x45a071;}function assembleInsertAttributes(_0x296da1){const _0x496fe6=_0x1204,_0x322bf1=[];let _0x327639=null;for(const _0x4e8bd0 of _0x296da1){if(_0x4e8bd0['type']===_0x496fe6(0x235)&&_0x4e8bd0[_0x496fe6(0x280)])_0x327639=_0x4e8bd0,_0x322bf1['push'](_0x4e8bd0);else {if(_0x4e8bd0[_0x496fe6(0x284)]===_0x496fe6(0x28c)&&_0x327639)_0x327639[_0x496fe6(0x226)][_0x496fe6(0x262)](_0x4e8bd0);else _0x4e8bd0[_0x496fe6(0x284)]==='SEQEND'?_0x327639=null:(_0x327639=null,_0x322bf1[_0x496fe6(0x262)](_0x4e8bd0));}}return _0x322bf1;}async function fetchDxfFromUrl(_0x31fcf5){const _0x1052ce=_0x1204;if(typeof fetch===_0x1052ce(0x219)){const _0x15db8e=await fetch(_0x31fcf5);if(!_0x15db8e['ok'])throw new Error('获取\x20DXF\x20失败:\x20HTTP\x20'+_0x15db8e[_0x1052ce(0x2c4)]+_0x1052ce(0x1df)+_0x31fcf5);return await _0x15db8e[_0x1052ce(0x241)]();}if(typeof process!=='undefined'&&process['versions']?.[_0x1052ce(0x253)]){const {default:_0x490ad4}=_0x31fcf5[_0x1052ce(0x261)](_0x1052ce(0x2cf))?await import(_0x1052ce(0x2cf)):await import('http');return new Promise((_0x2419cb,_0x41732d)=>{const _0x2a2990=_0x1052ce;_0x490ad4['get'](_0x31fcf5,_0x511442=>{const _0xc95e81=_0x1204;if(_0x511442[_0xc95e81(0x210)]!==0xc8){_0x41732d(new Error(_0xc95e81(0x2b7)+_0x511442[_0xc95e81(0x210)]));return;}let _0x147e94='';_0x511442[_0xc95e81(0x275)](_0xc95e81(0x290)),_0x511442['on']('data',_0x29e3c7=>_0x147e94+=_0x29e3c7),_0x511442['on'](_0xc95e81(0x2b8),()=>_0x2419cb(_0x147e94)),_0x511442['on'](_0xc95e81(0x1d8),_0x41732d);})['on'](_0x2a2990(0x1d8),_0x41732d);});}throw new Error(_0x1052ce(0x29f));}async function readLocalFile(_0x32f688){const _0x104b89=_0x1204;if(typeof process!==_0x104b89(0x2b0)&&process['versions']?.['node']){const {readFile:_0x5cdde7}=await import(_0x104b89(0x28b));return await _0x5cdde7(_0x32f688,_0x104b89(0x290));}throw new Error('浏览器不支持读取本地路径,请用\x20URL\x20或\x20File\x20对象');}async function parseDxf(_0x583ff2){const _0x1ccf74=_0x1204;let _0xb3dd62;if(typeof Blob!=='undefined'&&_0x583ff2 instanceof Blob)_0xb3dd62=await _0x583ff2[_0x1ccf74(0x241)]();else {if(typeof _0x583ff2===_0x1ccf74(0x22d)){if(_0x583ff2[_0x1ccf74(0x29e)]('\x0a')||_0x583ff2['includes'](_0x1ccf74(0x24f)))_0xb3dd62=_0x583ff2;else /^https?:\/\//i[_0x1ccf74(0x244)](_0x583ff2)?_0xb3dd62=await fetchDxfFromUrl(_0x583ff2):_0xb3dd62=await readLocalFile(_0x583ff2);}else throw new Error('parseDxf:\x20请传入\x20DXF\x20字符串、文件路径、URL\x20或\x20File\x20对象');}const _0x38df46=tokenize(_0xb3dd62),_0x4a9b68=splitSections(_0x38df46),_0x101240={'header':parseHeader(_0x4a9b68['HEADER']),'classes':parseClasses(_0x4a9b68[_0x1ccf74(0x206)]),'tables':parseTables(_0x4a9b68[_0x1ccf74(0x227)]),'blocks':parseBlocks(_0x4a9b68[_0x1ccf74(0x252)]),'entities':parseEntityList(_0x4a9b68[_0x1ccf74(0x274)]||[]),'objects':parseObjects(_0x4a9b68[_0x1ccf74(0x232)])};_0x101240[_0x1ccf74(0x2af)]=assemblePolylineVertices(_0x101240[_0x1ccf74(0x2af)]),_0x101240[_0x1ccf74(0x2af)]=assembleInsertAttributes(_0x101240[_0x1ccf74(0x2af)]);for(const _0x7167bb of _0x101240[_0x1ccf74(0x258)]){_0x7167bb[_0x1ccf74(0x2af)]&&_0x7167bb['entities'][_0x1ccf74(0x264)]>0x0&&(_0x7167bb[_0x1ccf74(0x2af)]=assemblePolylineVertices(_0x7167bb[_0x1ccf74(0x2af)]),_0x7167bb[_0x1ccf74(0x2af)]=assembleInsertAttributes(_0x7167bb[_0x1ccf74(0x2af)]));}return _0x101240;}
4
4
 
5
- function _0x5629(){const _0x30ef16=['extrusionDirection','EOF','AcDb2dVertex','arrowheadSize','SPLINE','instanceCount','SECTION','TABLE','columnSpacing','IMAGE','alignmentPoint','ENDBLK','data','acisDataString','style','26014OxtpYM','AcDbMline','textStyleId','elevation','closed','fade','associative','href','defaultStartWidth','axisVector','binaryData','rowSpacing','ELLIPSE','length','type','AcDbBlockBegin','meshMVertexCount','invisibleEdgeFlags','point3','LWPOLYLINE','drawingDirection','generationFlags','version','middleOfText','inPaperSpace','VERTEX','elementCount','scale','startPoint','direction','point2','8aypvAp','BODY','endsWith','endAngle','blockName','linetypeScale','OBJECTS','versions','frontClipPlane','upperLeftCorner','majorAxisEndPoint','widthFactor','pathType','fitTolerance','AcDb3dSolid','AcDb3PointAngularDimension','angle','cppClassName','imageDefHandle','AcDbAlignedDimension','AcDbTrace','snapAngle','AcDbTable','defaultEndWidth','TABLES','AcDbHatch','plotStyleHandle','DIMENSION','clippingVertices','AcDbMText','constantWidth','weights','extra','hAlign','0.0','HEADER','MTEXT','object','AcDbWipeout','hasAttributes','7YZTGJu','radius','lineSpacing','annotationReference','concat','keys','height','point1','AcDbFcf','128EvUfhU','extensionLineAngle','AcDbVertex','SURFACE','rotation','POLYLINE','ENDSEC','tables','faces','AcDbBlockReference','AcDbSurface','download','insertionPoint','40cehsgX','vVector','BLOCK','AcDbEntity','columnCount','creationType','createObjectURL','endTangent','AcDbPoint','oleType','xScale','startAngle','patternName','substring','controlPointTolerance','AcDbDimension','layer','snapSpacing','width','18PxkDXj','3757070MAGseh','AcDbEllipse','LINE','vertices','meshNVertexCount','round','solid','appName','visible','basePointY','hooklineFlag','AcDbArc','fitPoints','uVector','application/dxf','11MEgPGU','periodic','oblique','AcDbRay','planar','imageSize','contentType','CLASSES','styleHandle','AcDbXline','VIEWPORT','replace','TRACE','vAlign','28rqPnSZ','edgeCreases','horizontalDirection','AcDbMLeader','attachmentPoint','OLE2FRAME','rowCount','trueColor','hooklineDirectionFlag','arrowheadFlag','points','viewDirection','4366921laFQTE','backClipPlane','utf-8','viewCenter','WIPEOUT','viewTwistAngle','7690596JIJlJw','definitionPoint','doglegLength','rowHeights','turns','acisData','columnWidths','modelerFormat','88752vlycCl','AcDbLeader','endWidth','textWidth','endPoint','fs/promises','createElement','STANDARD','AcDbSpline','AcDbCircle','handle','controlPoints','frozenLayers','toFixed','lineSpacingStyle','AcDbDiametricDimension','AcDbAttribute','isArray','AcDbRotatedDimension','brightness','viewTarget','wasProxy','colorNumber','rational','subclassMarker','softPointer','statusField','patternAngle','TOLERANCE','basePointZ','name2','dimensionType','bulge','name','clippingBoundary','header','2284456EYKGIG','basePointX','ARC','entities','rows','dxfRecord','isEntity','leaderPoints','clippingType','seedPoints','SOLID','lineweight','styleName','linetypeName','attributes','prompt','flags','AcDbFace','AcDbOrdinateDimension','MLINE','entryName','ATTDEF','basePoint','SEQEND','textHeight','degree','startWidth','columns','TEXT','AcDbHelix','contrast','displayFlags','number','AcDbRasterImage','subdivisionLevel','startsWith','AcDbPolyline','HELIX','knotTolerance','110301ZaDCbP','normal','leaderLength','patternType','ENDTAB','knots','axisRatio','POINT','AcDbOle2Frame','code_','CLASS','AcDbSubDMesh','thickness','snapBase','perspectiveLensLength','AcDbText','gridSpacing','XLINE','viewHeight','proxyCapabilities','position','entries','center','ownerHandle','writeDxfFile\x20仅支持\x20Node.js\x20环境,浏览器请用\x20downloadDxfFile()','INSERT','text'];_0x5629=function(){return _0x30ef16;};return _0x5629();}(function(_0x383dbc,_0x5e43ea){const _0x454aa4=_0x4940,_0x556b29=_0x383dbc();while(!![]){try{const _0x7ba6cf=parseInt(_0x454aa4(0x1df))/0x1*(parseInt(_0x454aa4(0x1fe))/0x2)+-parseInt(_0x454aa4(0x1b5))/0x3*(-parseInt(_0x454aa4(0x22f))/0x4)+parseInt(_0x454aa4(0x23c))/0x5*(-parseInt(_0x454aa4(0x287))/0x6)+parseInt(_0x454aa4(0x226))/0x7*(parseInt(_0x454aa4(0x18e))/0x8)+parseInt(_0x454aa4(0x24f))/0x9*(-parseInt(_0x454aa4(0x250))/0xa)+parseInt(_0x454aa4(0x25f))/0xb*(-parseInt(_0x454aa4(0x27f))/0xc)+parseInt(_0x454aa4(0x279))/0xd*(parseInt(_0x454aa4(0x26d))/0xe);if(_0x7ba6cf===_0x5e43ea)break;else _0x556b29['push'](_0x556b29['shift']());}catch(_0x4d0f1c){_0x556b29['push'](_0x556b29['shift']());}}}(_0x5629,0xb193e));function pair(_0x3e2592,_0x431c42){if(_0x431c42===undefined||_0x431c42===null)return '';return '\x20\x20'+_0x3e2592+'\x0a'+_0x431c42+'\x0a';}function pairF(_0x2cd20f,_0x2db0be){if(_0x2db0be===undefined||_0x2db0be===null)return '';return pair(_0x2cd20f,formatFloat(_0x2db0be));}function formatFloat(_0x41a35c){const _0x394418=_0x4940;if(typeof _0x41a35c!==_0x394418(0x1ae)||isNaN(_0x41a35c))return _0x394418(0x220);let _0x4ad026=_0x41a35c[_0x394418(0x177)](0x6);_0x4ad026=_0x4ad026[_0x394418(0x26a)](/(\.\d*?)0+$/,'$1');if(_0x4ad026[_0x394418(0x200)]('.'))_0x4ad026+='0';return _0x4ad026;}function pairI(_0x5150eb,_0x2f9ac0){const _0x9204ed=_0x4940;if(_0x2f9ac0===undefined||_0x2f9ac0===null)return '';return pair(_0x5150eb,Math[_0x9204ed(0x255)](_0x2f9ac0));}function writePoint3D(_0xd496c6,_0x2eef6c){if(!_0x2eef6c)return '';return pairF(_0xd496c6,_0x2eef6c['x'])+pairF(_0xd496c6+0xa,_0x2eef6c['y'])+pairF(_0xd496c6+0x14,_0x2eef6c['z']);}function writePoint2D(_0x4c2af3,_0x5ad68d){if(!_0x5ad68d)return '';return pairF(_0x4c2af3,_0x5ad68d['x'])+pairF(_0x4c2af3+0xa,_0x5ad68d['y']);}function writeExtrusion(_0x2a567b){if(!_0x2a567b)return '';if(_0x2a567b['x']===0x0&&_0x2a567b['y']===0x0&&_0x2a567b['z']===0x1)return '';return pairF(0xd2,_0x2a567b['x'])+pairF(0xdc,_0x2a567b['y'])+pairF(0xe6,_0x2a567b['z']);}function writeHeader(_0x3291c8){const _0x19b5fc=_0x4940;if(!_0x3291c8||Object[_0x19b5fc(0x22b)](_0x3291c8)[_0x19b5fc(0x1ec)]===0x0)return '';let _0xdbbb91=pair(0x0,_0x19b5fc(0x1d6))+pair(0x2,_0x19b5fc(0x221));for(const [_0x5eefc6,_0x487511]of Object[_0x19b5fc(0x1ca)](_0x3291c8)){_0xdbbb91+=pair(0x9,_0x5eefc6);if(typeof _0x487511===_0x19b5fc(0x223)&&_0x487511!==null&&!Array[_0x19b5fc(0x17b)](_0x487511))for(const [_0x186381,_0x17377f]of Object[_0x19b5fc(0x1ca)](_0x487511)){_0xdbbb91+=pair(parseInt(_0x186381),_0x17377f);}else _0xdbbb91+=pair(0x1,_0x487511);}return _0xdbbb91+=pair(0x0,_0x19b5fc(0x235)),_0xdbbb91;}function writeClasses(_0x1403d1){const _0xf38a50=_0x4940;if(!_0x1403d1||_0x1403d1['length']===0x0)return '';let _0x406962=pair(0x0,'SECTION')+pair(0x2,_0xf38a50(0x266));for(const _0x2ff060 of _0x1403d1){_0x406962+=pair(0x0,_0xf38a50(0x1bf));if(_0x2ff060[_0xf38a50(0x193)])_0x406962+=pair(0x1,_0x2ff060[_0xf38a50(0x193)]);if(_0x2ff060[_0xf38a50(0x20f)])_0x406962+=pair(0x2,_0x2ff060['cppClassName']);if(_0x2ff060[_0xf38a50(0x257)])_0x406962+=pair(0x3,_0x2ff060[_0xf38a50(0x257)]);if(_0x2ff060[_0xf38a50(0x1c8)]!==undefined)_0x406962+=pairI(0x5a,_0x2ff060['proxyCapabilities']);if(_0x2ff060[_0xf38a50(0x1d5)]!==undefined)_0x406962+=pairI(0x5b,_0x2ff060['instanceCount']);if(_0x2ff060[_0xf38a50(0x17f)]!==undefined)_0x406962+=pairI(0x118,_0x2ff060[_0xf38a50(0x17f)]);if(_0x2ff060[_0xf38a50(0x194)]!==undefined)_0x406962+=pairI(0x119,_0x2ff060['isEntity']);}return _0x406962+=pair(0x0,_0xf38a50(0x235)),_0x406962;}function writeTables(_0x468e0b){const _0x21df97=_0x4940;if(!_0x468e0b||Object[_0x21df97(0x22b)](_0x468e0b)[_0x21df97(0x1ec)]===0x0)return '';let _0x1a1457=pair(0x0,'SECTION')+pair(0x2,_0x21df97(0x216));for(const [_0x472ba9,_0x117e44]of Object[_0x21df97(0x1ca)](_0x468e0b)){_0x1a1457+=pair(0x0,_0x21df97(0x1d7)),_0x1a1457+=pair(0x2,_0x472ba9);if(_0x117e44[_0x21df97(0x1ec)]>0x0){const _0x12f752=_0x117e44[0x0];if(_0x12f752['handle'])_0x1a1457+=pair(0x5,_0x12f752[_0x21df97(0x174)]);if(_0x12f752['ownerHandle'])_0x1a1457+=pair(0x14a,_0x12f752[_0x21df97(0x1cc)]);_0x1a1457+=pair(0x64,'AcDbSymbolTable'),_0x1a1457+=pairI(0x46,_0x117e44['length']);}for(const _0xc4f91e of _0x117e44){_0x1a1457+=pair(0x0,_0xc4f91e['_type']||_0x472ba9);if(_0xc4f91e[_0x21df97(0x174)])_0x1a1457+=pair(0x5,_0xc4f91e['handle']);if(_0xc4f91e['ownerHandle'])_0x1a1457+=pair(0x14a,_0xc4f91e[_0x21df97(0x1cc)]);if(_0xc4f91e[_0x21df97(0x182)]){const _0x39d551=[]['concat'](_0xc4f91e[_0x21df97(0x182)]);for(const _0x50ac94 of _0x39d551){_0x1a1457+=pair(0x64,_0x50ac94);}}if(_0xc4f91e['name'])_0x1a1457+=pair(0x2,_0xc4f91e[_0x21df97(0x18b)]);if(_0xc4f91e[_0x21df97(0x19e)]!==undefined)_0x1a1457+=pairI(0x46,_0xc4f91e[_0x21df97(0x19e)]);if(_0xc4f91e[_0x21df97(0x180)]!==undefined)_0x1a1457+=pairI(0x3e,_0xc4f91e['colorNumber']);if(_0xc4f91e[_0x21df97(0x19b)])_0x1a1457+=pair(0x6,_0xc4f91e[_0x21df97(0x19b)]);if(_0xc4f91e[_0x21df97(0x19a)])_0x1a1457+=pair(0x7,_0xc4f91e[_0x21df97(0x19a)]);if(_0xc4f91e['height'])_0x1a1457+=pairF(0x28,_0xc4f91e[_0x21df97(0x22c)]);if(_0xc4f91e[_0x21df97(0x209)])_0x1a1457+=pairF(0x29,_0xc4f91e['widthFactor']);if(_0xc4f91e['angle'])_0x1a1457+=pairF(0x32,_0xc4f91e[_0x21df97(0x20e)]);if(_0xc4f91e['lineweight']!==undefined)_0x1a1457+=pairI(0x172,_0xc4f91e['lineweight']);if(_0xc4f91e[_0x21df97(0x218)])_0x1a1457+=pair(0x186,_0xc4f91e[_0x21df97(0x218)]);if(_0xc4f91e[_0x21df97(0x21e)])for(const [_0x5a317c,_0x15aa34]of Object[_0x21df97(0x1ca)](_0xc4f91e)){if(_0x5a317c[_0x21df97(0x1b1)](_0x21df97(0x1be))){const _0x313273=parseInt(_0x5a317c['replace'](_0x21df97(0x1be),'')),_0x40dab3=[][_0x21df97(0x22a)](_0x15aa34);for(const _0x43d33f of _0x40dab3){_0x1a1457+=pair(_0x313273,_0x43d33f);}}}}_0x1a1457+=pair(0x0,_0x21df97(0x1b9));}return _0x1a1457+=pair(0x0,_0x21df97(0x235)),_0x1a1457;}function writeBlocks(_0x5cee94){const _0x551077=_0x4940;if(!_0x5cee94||_0x5cee94[_0x551077(0x1ec)]===0x0)return '';let _0x158c68=pair(0x0,_0x551077(0x1d6))+pair(0x2,'BLOCKS');for(const _0x1b58b9 of _0x5cee94){_0x158c68+=pair(0x0,_0x551077(0x23e));if(_0x1b58b9[_0x551077(0x174)])_0x158c68+=pair(0x5,_0x1b58b9[_0x551077(0x174)]);if(_0x1b58b9[_0x551077(0x1cc)])_0x158c68+=pair(0x14a,_0x1b58b9['ownerHandle']);_0x158c68+=pair(0x64,_0x551077(0x23f));if(_0x1b58b9[_0x551077(0x24c)])_0x158c68+=pair(0x8,_0x1b58b9['layer']);_0x158c68+=pair(0x64,_0x551077(0x1ee));if(_0x1b58b9[_0x551077(0x18b)])_0x158c68+=pair(0x2,_0x1b58b9[_0x551077(0x18b)]);if(_0x1b58b9['flags']!==undefined)_0x158c68+=pairI(0x46,_0x1b58b9[_0x551077(0x19e)]);_0x158c68+=pairF(0xa,_0x1b58b9[_0x551077(0x18f)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9['basePoint']['x']||0x0),_0x158c68+=pairF(0x14,_0x1b58b9[_0x551077(0x259)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9['basePoint']['y']||0x0),_0x158c68+=pairF(0x1e,_0x1b58b9[_0x551077(0x187)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9[_0x551077(0x1a4)]['z']||0x0);if(_0x1b58b9[_0x551077(0x188)]||_0x1b58b9['name'])_0x158c68+=pair(0x3,_0x1b58b9[_0x551077(0x188)]||_0x1b58b9[_0x551077(0x18b)]);_0x1b58b9['entities']&&_0x1b58b9[_0x551077(0x191)][_0x551077(0x1ec)]>0x0&&(_0x158c68+=writeEntityList(_0x1b58b9[_0x551077(0x191)]));_0x158c68+=pair(0x0,_0x551077(0x1db));if(_0x1b58b9[_0x551077(0x174)])_0x158c68+=pair(0x5,_0x1b58b9[_0x551077(0x174)]);if(_0x1b58b9['ownerHandle'])_0x158c68+=pair(0x14a,_0x1b58b9[_0x551077(0x1cc)]);_0x158c68+=pair(0x64,_0x551077(0x23f));if(_0x1b58b9['layer'])_0x158c68+=pair(0x8,_0x1b58b9[_0x551077(0x24c)]);_0x158c68+=pair(0x64,'AcDbBlockEnd');}return _0x158c68+=pair(0x0,'ENDSEC'),_0x158c68;}function writeEntityList(_0x46a69e){let _0x40cf27='';for(const _0x2ab39c of _0x46a69e){_0x40cf27+=writeOneEntity(_0x2ab39c);}return _0x40cf27;}function writeEntitiesSection(_0x58a467){const _0x4c4b51=_0x4940;if(!_0x58a467||_0x58a467[_0x4c4b51(0x1ec)]===0x0)return '';let _0x340651=pair(0x0,_0x4c4b51(0x1d6))+pair(0x2,'ENTITIES');return _0x340651+=writeEntityList(_0x58a467),_0x340651+=pair(0x0,_0x4c4b51(0x235)),_0x340651;}function writeCommonFields(_0x2fb9df){const _0x42a2e0=_0x4940;let _0x509f59='';if(_0x2fb9df[_0x42a2e0(0x174)])_0x509f59+=pair(0x5,_0x2fb9df[_0x42a2e0(0x174)]);if(_0x2fb9df[_0x42a2e0(0x1cc)])_0x509f59+=pair(0x14a,_0x2fb9df[_0x42a2e0(0x1cc)]);_0x509f59+=pair(0x64,_0x42a2e0(0x23f));if(_0x2fb9df[_0x42a2e0(0x1f7)])_0x509f59+=pairI(0x43,0x1);if(_0x2fb9df[_0x42a2e0(0x24c)])_0x509f59+=pair(0x8,_0x2fb9df[_0x42a2e0(0x24c)]);if(_0x2fb9df['linetypeName'])_0x509f59+=pair(0x6,_0x2fb9df[_0x42a2e0(0x19b)]);if(_0x2fb9df['colorNumber']!==undefined&&_0x2fb9df['colorNumber']!==0x0)_0x509f59+=pairI(0x3e,_0x2fb9df[_0x42a2e0(0x180)]);if(_0x2fb9df[_0x42a2e0(0x199)]!==undefined)_0x509f59+=pairI(0x172,_0x2fb9df['lineweight']);if(_0x2fb9df[_0x42a2e0(0x203)]!==undefined&&_0x2fb9df[_0x42a2e0(0x203)]!==0x1)_0x509f59+=pairF(0x30,_0x2fb9df[_0x42a2e0(0x203)]);if(_0x2fb9df[_0x42a2e0(0x258)]===![])_0x509f59+=pairI(0x3c,0x1);if(_0x2fb9df['trueColor'])_0x509f59+=pairI(0x1a4,_0x2fb9df[_0x42a2e0(0x274)]);return _0x509f59;}function writeOneEntity(_0x3fe80d){const _0x218b33=_0x4940;if(!_0x3fe80d||!_0x3fe80d['type'])return '';let _0x253638=pair(0x0,_0x3fe80d['type']);_0x253638+=writeCommonFields(_0x3fe80d);switch(_0x3fe80d[_0x218b33(0x1ed)]){case _0x218b33(0x252):_0x253638+=writeLineEntity(_0x3fe80d);break;case _0x218b33(0x1f2):_0x253638+=writeLWPolylineEntity(_0x3fe80d);break;case _0x218b33(0x234):_0x253638+=writePolylineEntity(_0x3fe80d);break;case _0x218b33(0x190):_0x253638+=writeArcEntity(_0x3fe80d);break;case 'CIRCLE':_0x253638+=writeCircleEntity(_0x3fe80d);break;case _0x218b33(0x1eb):_0x253638+=writeEllipseEntity(_0x3fe80d);break;case _0x218b33(0x1bc):_0x253638+=writePointEntity(_0x3fe80d);break;case _0x218b33(0x1aa):_0x253638+=writeTextEntity(_0x3fe80d);break;case _0x218b33(0x222):_0x253638+=writeMTextEntity(_0x3fe80d);break;case 'ATTRIB':case _0x218b33(0x1a3):_0x253638+=writeAttribEntity(_0x3fe80d);break;case _0x218b33(0x1ce):_0x253638+=writeInsertEntity(_0x3fe80d);break;case _0x218b33(0x219):_0x253638+=writeDimensionEntity(_0x3fe80d);break;case 'LEADER':_0x253638+=writeLeaderEntity(_0x3fe80d);break;case 'MLEADER':_0x253638+=writeMLeaderEntity(_0x3fe80d);break;case 'HATCH':_0x253638+=writeHatchEntity(_0x3fe80d);break;case _0x218b33(0x1d4):_0x253638+=writeSplineEntity(_0x3fe80d);break;case _0x218b33(0x198):case '3DSOLID':case _0x218b33(0x26b):_0x253638+=writeSolidEntity(_0x3fe80d);break;case '3DFACE':_0x253638+=write3DFaceEntity(_0x3fe80d);break;case 'RAY':case _0x218b33(0x1c6):_0x253638+=writeRayEntity(_0x3fe80d);break;case _0x218b33(0x269):_0x253638+=writeViewportEntity(_0x3fe80d);break;case _0x218b33(0x1d9):case _0x218b33(0x27d):_0x253638+=writeImageEntity(_0x3fe80d);break;case _0x218b33(0x186):_0x253638+=writeToleranceEntity(_0x3fe80d);break;case _0x218b33(0x1b3):_0x253638+=writeHelixEntity(_0x3fe80d);break;case 'MESH':_0x253638+=writeMeshEntity(_0x3fe80d);break;case 'REGION':case 'BODY':case 'SURFACE':_0x253638+=writeRegionEntity(_0x3fe80d);break;case _0x218b33(0x272):_0x253638+=writeOle2Entity(_0x3fe80d);break;case _0x218b33(0x1d7):_0x253638+=writeTableEntity(_0x3fe80d);break;case _0x218b33(0x1a1):_0x253638+=writeMLineEntity(_0x3fe80d);break;case _0x218b33(0x1a5):break;default:_0x253638+=writeGenericEntity(_0x3fe80d);break;}return _0x253638;}function writeLineEntity(_0x302b9c){const _0xd495ab=_0x4940;let _0x27c0ac=pair(0x64,'AcDbLine');if(_0x302b9c[_0xd495ab(0x1c1)])_0x27c0ac+=pairF(0x27,_0x302b9c[_0xd495ab(0x1c1)]);return _0x27c0ac+=writePoint3D(0xa,_0x302b9c[_0xd495ab(0x1fb)]),_0x27c0ac+=writePoint3D(0xb,_0x302b9c[_0xd495ab(0x28b)]),_0x27c0ac+=writeExtrusion(_0x302b9c[_0xd495ab(0x1d0)]),_0x27c0ac;}function writeLWPolylineEntity(_0x3b49ea){const _0x1ab313=_0x4940;let _0x312695=pair(0x64,_0x1ab313(0x1b2));const _0x560a99=_0x3b49ea['vertices']||[];_0x312695+=pairI(0x5a,_0x560a99[_0x1ab313(0x1ec)]);let _0x5b9df4=0x0;if(_0x3b49ea[_0x1ab313(0x1e3)])_0x5b9df4|=0x1;_0x312695+=pairI(0x46,_0x5b9df4);if(_0x3b49ea[_0x1ab313(0x21c)])_0x312695+=pairF(0x2b,_0x3b49ea['constantWidth']);if(_0x3b49ea['elevation'])_0x312695+=pairF(0x26,_0x3b49ea[_0x1ab313(0x1e2)]);if(_0x3b49ea['thickness'])_0x312695+=pairF(0x27,_0x3b49ea['thickness']);for(const _0x1dff97 of _0x560a99){_0x312695+=pairF(0xa,_0x1dff97['x']),_0x312695+=pairF(0x14,_0x1dff97['y']);if(_0x1dff97[_0x1ab313(0x1a8)])_0x312695+=pairF(0x28,_0x1dff97['startWidth']);if(_0x1dff97[_0x1ab313(0x289)])_0x312695+=pairF(0x29,_0x1dff97['endWidth']);if(_0x1dff97[_0x1ab313(0x18a)])_0x312695+=pairF(0x2a,_0x1dff97[_0x1ab313(0x18a)]);}return _0x312695+=writeExtrusion(_0x3b49ea[_0x1ab313(0x1d0)]),_0x312695;}function writePolylineEntity(_0xd30fd0){const _0x44c5d9=_0x4940;let _0x52a2c2=pair(0x64,'AcDb2dPolyline'),_0x22b8cf=_0xd30fd0['flags']||0x0;if(_0xd30fd0['closed'])_0x22b8cf|=0x1;_0x52a2c2+=pairI(0x46,_0x22b8cf),_0x52a2c2+=pairF(0xa,0x0),_0x52a2c2+=pairF(0x14,0x0);if(_0xd30fd0[_0x44c5d9(0x1e2)])_0x52a2c2+=pairF(0x1e,_0xd30fd0['elevation']);if(_0xd30fd0[_0x44c5d9(0x1c1)])_0x52a2c2+=pairF(0x27,_0xd30fd0[_0x44c5d9(0x1c1)]);if(_0xd30fd0['defaultStartWidth'])_0x52a2c2+=pairF(0x28,_0xd30fd0[_0x44c5d9(0x1e7)]);if(_0xd30fd0[_0x44c5d9(0x215)])_0x52a2c2+=pairF(0x29,_0xd30fd0[_0x44c5d9(0x215)]);if(_0xd30fd0[_0x44c5d9(0x1ef)])_0x52a2c2+=pairI(0x47,_0xd30fd0[_0x44c5d9(0x1ef)]);if(_0xd30fd0[_0x44c5d9(0x254)])_0x52a2c2+=pairI(0x48,_0xd30fd0[_0x44c5d9(0x254)]);_0x52a2c2+=writeExtrusion(_0xd30fd0[_0x44c5d9(0x1d0)]);if(_0xd30fd0['vertices']&&_0xd30fd0[_0x44c5d9(0x253)]['length']>0x0){for(const _0x1bcdda of _0xd30fd0[_0x44c5d9(0x253)]){_0x52a2c2+=pair(0x0,_0x44c5d9(0x1f8));if(_0xd30fd0[_0x44c5d9(0x174)])_0x52a2c2+=pair(0x5,'');_0x52a2c2+=pair(0x64,_0x44c5d9(0x23f));if(_0xd30fd0[_0x44c5d9(0x24c)])_0x52a2c2+=pair(0x8,_0xd30fd0[_0x44c5d9(0x24c)]);_0x52a2c2+=pair(0x64,_0x44c5d9(0x231)),_0x52a2c2+=pair(0x64,_0x44c5d9(0x1d2)),_0x52a2c2+=pairF(0xa,_0x1bcdda['x']),_0x52a2c2+=pairF(0x14,_0x1bcdda['y']),_0x52a2c2+=pairF(0x1e,_0x1bcdda['z']||0x0);if(_0x1bcdda[_0x44c5d9(0x1a8)])_0x52a2c2+=pairF(0x28,_0x1bcdda['startWidth']);if(_0x1bcdda[_0x44c5d9(0x289)])_0x52a2c2+=pairF(0x29,_0x1bcdda[_0x44c5d9(0x289)]);if(_0x1bcdda[_0x44c5d9(0x18a)])_0x52a2c2+=pairF(0x2a,_0x1bcdda['bulge']);if(_0x1bcdda[_0x44c5d9(0x19e)])_0x52a2c2+=pairI(0x46,_0x1bcdda[_0x44c5d9(0x19e)]);}_0x52a2c2+=pair(0x0,_0x44c5d9(0x1a5)),_0x52a2c2+=pair(0x64,_0x44c5d9(0x23f));if(_0xd30fd0[_0x44c5d9(0x24c)])_0x52a2c2+=pair(0x8,_0xd30fd0['layer']);}return _0x52a2c2;}function writeArcEntity(_0x2a17f1){const _0x4903f3=_0x4940;let _0x234ead=pair(0x64,'AcDbCircle');if(_0x2a17f1[_0x4903f3(0x1c1)])_0x234ead+=pairF(0x27,_0x2a17f1[_0x4903f3(0x1c1)]);return _0x234ead+=writePoint3D(0xa,_0x2a17f1['center']),_0x234ead+=pairF(0x28,_0x2a17f1[_0x4903f3(0x227)]),_0x234ead+=writeExtrusion(_0x2a17f1[_0x4903f3(0x1d0)]),_0x234ead+=pair(0x64,_0x4903f3(0x25b)),_0x234ead+=pairF(0x32,_0x2a17f1[_0x4903f3(0x247)]),_0x234ead+=pairF(0x33,_0x2a17f1[_0x4903f3(0x201)]),_0x234ead;}function writeCircleEntity(_0x182320){const _0x89a92=_0x4940;let _0x3e1d4a=pair(0x64,_0x89a92(0x173));if(_0x182320[_0x89a92(0x1c1)])_0x3e1d4a+=pairF(0x27,_0x182320[_0x89a92(0x1c1)]);return _0x3e1d4a+=writePoint3D(0xa,_0x182320[_0x89a92(0x1cb)]),_0x3e1d4a+=pairF(0x28,_0x182320[_0x89a92(0x227)]),_0x3e1d4a+=writeExtrusion(_0x182320[_0x89a92(0x1d0)]),_0x3e1d4a;}function writeEllipseEntity(_0x12dd81){const _0x507d84=_0x4940;let _0x2e12cd=pair(0x64,_0x507d84(0x251));return _0x2e12cd+=writePoint3D(0xa,_0x12dd81[_0x507d84(0x1cb)]),_0x2e12cd+=writePoint3D(0xb,_0x12dd81[_0x507d84(0x208)]),_0x2e12cd+=writeExtrusion(_0x12dd81['extrusionDirection']),_0x2e12cd+=pairF(0x28,_0x12dd81[_0x507d84(0x1bb)]),_0x2e12cd+=pairF(0x29,_0x12dd81[_0x507d84(0x247)]),_0x2e12cd+=pairF(0x2a,_0x12dd81['endAngle']),_0x2e12cd;}function writePointEntity(_0x628bbc){const _0x361158=_0x4940;let _0x50e2ed=pair(0x64,_0x361158(0x244));_0x50e2ed+=writePoint3D(0xa,_0x628bbc[_0x361158(0x1c9)]);if(_0x628bbc['thickness'])_0x50e2ed+=pairF(0x27,_0x628bbc[_0x361158(0x1c1)]);if(_0x628bbc[_0x361158(0x20e)])_0x50e2ed+=pairF(0x32,_0x628bbc[_0x361158(0x20e)]);return _0x50e2ed+=writeExtrusion(_0x628bbc[_0x361158(0x1d0)]),_0x50e2ed;}function writeTextEntity(_0x2a8c3e){const _0x4bdd31=_0x4940;let _0x24ee08=pair(0x64,'AcDbText');if(_0x2a8c3e[_0x4bdd31(0x1c1)])_0x24ee08+=pairF(0x27,_0x2a8c3e[_0x4bdd31(0x1c1)]);_0x24ee08+=writePoint3D(0xa,_0x2a8c3e['insertionPoint']),_0x24ee08+=pairF(0x28,_0x2a8c3e['height']),_0x24ee08+=pair(0x1,_0x2a8c3e[_0x4bdd31(0x1cf)]);if(_0x2a8c3e[_0x4bdd31(0x233)])_0x24ee08+=pairF(0x32,_0x2a8c3e[_0x4bdd31(0x233)]);if(_0x2a8c3e[_0x4bdd31(0x246)]&&_0x2a8c3e[_0x4bdd31(0x246)]!==0x1)_0x24ee08+=pairF(0x29,_0x2a8c3e[_0x4bdd31(0x246)]);if(_0x2a8c3e[_0x4bdd31(0x261)])_0x24ee08+=pairF(0x33,_0x2a8c3e[_0x4bdd31(0x261)]);if(_0x2a8c3e[_0x4bdd31(0x19a)]&&_0x2a8c3e[_0x4bdd31(0x19a)]!=='STANDARD')_0x24ee08+=pair(0x7,_0x2a8c3e[_0x4bdd31(0x19a)]);if(_0x2a8c3e[_0x4bdd31(0x1f4)])_0x24ee08+=pairI(0x47,_0x2a8c3e[_0x4bdd31(0x1f4)]);if(_0x2a8c3e[_0x4bdd31(0x21f)])_0x24ee08+=pairI(0x48,_0x2a8c3e['hAlign']);_0x24ee08+=writePoint3D(0xb,_0x2a8c3e[_0x4bdd31(0x1da)]),_0x24ee08+=writeExtrusion(_0x2a8c3e[_0x4bdd31(0x1d0)]),_0x24ee08+=pair(0x64,_0x4bdd31(0x1c4));if(_0x2a8c3e['vAlign'])_0x24ee08+=pairI(0x49,_0x2a8c3e['vAlign']);return _0x24ee08;}function writeMTextEntity(_0x1274a8){const _0x5036d2=_0x4940;let _0x4dde49=pair(0x64,_0x5036d2(0x21b));_0x4dde49+=writePoint3D(0xa,_0x1274a8['insertionPoint']),_0x4dde49+=pairF(0x28,_0x1274a8[_0x5036d2(0x22c)]);if(_0x1274a8[_0x5036d2(0x24e)])_0x4dde49+=pairF(0x29,_0x1274a8['width']);if(_0x1274a8[_0x5036d2(0x271)])_0x4dde49+=pairI(0x47,_0x1274a8[_0x5036d2(0x271)]);if(_0x1274a8['drawingDirection'])_0x4dde49+=pairI(0x48,_0x1274a8[_0x5036d2(0x1f3)]);const _0x4407d6=_0x1274a8[_0x5036d2(0x1cf)]||'';if(_0x4407d6[_0x5036d2(0x1ec)]>0xfa){let _0x1fddab=_0x4407d6;while(_0x1fddab['length']>0xfa){_0x4dde49+=pair(0x3,_0x1fddab[_0x5036d2(0x249)](0x0,0xfa)),_0x1fddab=_0x1fddab[_0x5036d2(0x249)](0xfa);}_0x4dde49+=pair(0x1,_0x1fddab);}else _0x4dde49+=pair(0x1,_0x4407d6);if(_0x1274a8['styleName']&&_0x1274a8[_0x5036d2(0x19a)]!==_0x5036d2(0x28e))_0x4dde49+=pair(0x7,_0x1274a8[_0x5036d2(0x19a)]);if(_0x1274a8[_0x5036d2(0x233)])_0x4dde49+=pairF(0x32,_0x1274a8[_0x5036d2(0x233)]);if(_0x1274a8[_0x5036d2(0x178)])_0x4dde49+=pairI(0x49,_0x1274a8['lineSpacingStyle']);if(_0x1274a8[_0x5036d2(0x228)]&&_0x1274a8['lineSpacing']!==0x1)_0x4dde49+=pairF(0x2c,_0x1274a8[_0x5036d2(0x228)]);return _0x4dde49+=writePoint3D(0xb,_0x1274a8[_0x5036d2(0x1fc)]),_0x4dde49+=writeExtrusion(_0x1274a8[_0x5036d2(0x1d0)]),_0x4dde49;}function writeAttribEntity(_0x194072){const _0x6ca16d=_0x4940,_0x30cf71=_0x194072['type']==='ATTDEF';let _0x28f3e4=pair(0x64,_0x30cf71?'AcDbAttributeDefinition':_0x6ca16d(0x17a));_0x28f3e4+=writePoint3D(0xa,_0x194072['insertionPoint']),_0x28f3e4+=pairF(0x28,_0x194072[_0x6ca16d(0x22c)]),_0x28f3e4+=pair(0x1,_0x194072[_0x6ca16d(0x1cf)]);if(_0x194072['tag'])_0x28f3e4+=pair(0x2,_0x194072['tag']);if(_0x194072['prompt'])_0x28f3e4+=pair(0x3,_0x194072[_0x6ca16d(0x19d)]);if(_0x194072['flags'])_0x28f3e4+=pairI(0x46,_0x194072[_0x6ca16d(0x19e)]);if(_0x194072['rotation'])_0x28f3e4+=pairF(0x32,_0x194072[_0x6ca16d(0x233)]);if(_0x194072[_0x6ca16d(0x246)]&&_0x194072['xScale']!==0x1)_0x28f3e4+=pairF(0x29,_0x194072[_0x6ca16d(0x246)]);if(_0x194072[_0x6ca16d(0x19a)]&&_0x194072[_0x6ca16d(0x19a)]!==_0x6ca16d(0x28e))_0x28f3e4+=pair(0x7,_0x194072['styleName']);if(_0x194072[_0x6ca16d(0x1f4)])_0x28f3e4+=pairI(0x47,_0x194072[_0x6ca16d(0x1f4)]);if(_0x194072[_0x6ca16d(0x21f)])_0x28f3e4+=pairI(0x48,_0x194072[_0x6ca16d(0x21f)]);if(_0x194072[_0x6ca16d(0x26c)])_0x28f3e4+=pairI(0x49,_0x194072[_0x6ca16d(0x26c)]);return _0x28f3e4+=writePoint3D(0xb,_0x194072[_0x6ca16d(0x1da)]),_0x28f3e4;}function writeInsertEntity(_0x355ce7){const _0x5c27aa=_0x4940;let _0x1c852f=pair(0x64,'AcDbBlockReference');if(_0x355ce7[_0x5c27aa(0x225)])_0x1c852f+=pairI(0x42,0x1);_0x1c852f+=pair(0x2,_0x355ce7[_0x5c27aa(0x202)]),_0x1c852f+=writePoint3D(0xa,_0x355ce7[_0x5c27aa(0x23b)]);if(_0x355ce7[_0x5c27aa(0x1fa)]){if(_0x355ce7[_0x5c27aa(0x1fa)]['x']!==0x1)_0x1c852f+=pairF(0x29,_0x355ce7[_0x5c27aa(0x1fa)]['x']);if(_0x355ce7[_0x5c27aa(0x1fa)]['y']!==0x1)_0x1c852f+=pairF(0x2a,_0x355ce7[_0x5c27aa(0x1fa)]['y']);if(_0x355ce7[_0x5c27aa(0x1fa)]['z']!==0x1)_0x1c852f+=pairF(0x2b,_0x355ce7['scale']['z']);}if(_0x355ce7[_0x5c27aa(0x233)])_0x1c852f+=pairF(0x32,_0x355ce7[_0x5c27aa(0x233)]);if(_0x355ce7['columnCount']&&_0x355ce7[_0x5c27aa(0x240)]!==0x1)_0x1c852f+=pairI(0x46,_0x355ce7[_0x5c27aa(0x240)]);if(_0x355ce7[_0x5c27aa(0x273)]&&_0x355ce7[_0x5c27aa(0x273)]!==0x1)_0x1c852f+=pairI(0x47,_0x355ce7['rowCount']);if(_0x355ce7[_0x5c27aa(0x1d8)])_0x1c852f+=pairF(0x2c,_0x355ce7[_0x5c27aa(0x1d8)]);if(_0x355ce7[_0x5c27aa(0x1ea)])_0x1c852f+=pairF(0x2d,_0x355ce7[_0x5c27aa(0x1ea)]);_0x1c852f+=writeExtrusion(_0x355ce7['extrusionDirection']);if(_0x355ce7[_0x5c27aa(0x19c)]&&_0x355ce7[_0x5c27aa(0x19c)][_0x5c27aa(0x1ec)]>0x0){for(const _0x116568 of _0x355ce7[_0x5c27aa(0x19c)]){_0x1c852f+=writeOneEntity(_0x116568);}_0x1c852f+=pair(0x0,_0x5c27aa(0x1a5)),_0x1c852f+=pair(0x64,_0x5c27aa(0x23f));if(_0x355ce7['layer'])_0x1c852f+=pair(0x8,_0x355ce7[_0x5c27aa(0x24c)]);}return _0x1c852f;}function writeDimensionEntity(_0x32fdcf){const _0x475e25=_0x4940;let _0x5b0d6f=pair(0x64,_0x475e25(0x24b));if(_0x32fdcf['blockName'])_0x5b0d6f+=pair(0x2,_0x32fdcf[_0x475e25(0x202)]);_0x5b0d6f+=writePoint3D(0xa,_0x32fdcf[_0x475e25(0x280)]),_0x5b0d6f+=writePoint3D(0xb,_0x32fdcf[_0x475e25(0x1f6)]);if(_0x32fdcf[_0x475e25(0x189)]!==undefined)_0x5b0d6f+=pairI(0x46,_0x32fdcf[_0x475e25(0x189)]);if(_0x32fdcf[_0x475e25(0x271)])_0x5b0d6f+=pairI(0x47,_0x32fdcf[_0x475e25(0x271)]);if(_0x32fdcf[_0x475e25(0x1cf)])_0x5b0d6f+=pair(0x1,_0x32fdcf[_0x475e25(0x1cf)]);if(_0x32fdcf[_0x475e25(0x19a)]&&_0x32fdcf[_0x475e25(0x19a)]!=='STANDARD')_0x5b0d6f+=pair(0x3,_0x32fdcf['styleName']);if(_0x32fdcf[_0x475e25(0x233)])_0x5b0d6f+=pairF(0x32,_0x32fdcf[_0x475e25(0x233)]);const _0x2bedf5=(_0x32fdcf[_0x475e25(0x189)]||0x0)&0xf;switch(_0x2bedf5){case 0x0:case 0x1:_0x5b0d6f+=pair(0x64,_0x475e25(0x211)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf['point1']),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x230)])_0x5b0d6f+=pairF(0x34,_0x32fdcf['extensionLineAngle']);_0x2bedf5===0x0&&(_0x5b0d6f+=pair(0x64,_0x475e25(0x17c)));break;case 0x2:_0x5b0d6f+=pair(0x64,_0x475e25(0x20d)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf['point1']),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x1f1)])_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf['point3']);break;case 0x3:case 0x4:_0x5b0d6f+=pair(0x64,_0x2bedf5===0x3?_0x475e25(0x179):'AcDbRadialDimension'),_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf[_0x475e25(0x1f1)]||_0x32fdcf['point1']);if(_0x32fdcf[_0x475e25(0x1b7)])_0x5b0d6f+=pairF(0x28,_0x32fdcf['leaderLength']);break;case 0x5:_0x5b0d6f+=pair(0x64,_0x475e25(0x20d)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x1f1)])_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf[_0x475e25(0x1f1)]);break;case 0x6:_0x5b0d6f+=pair(0x64,_0x475e25(0x1a0)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);break;default:_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);break;}return _0x5b0d6f;}function writeLeaderEntity(_0x49cce5){const _0x2016f8=_0x4940;let _0x4a1ae9=pair(0x64,_0x2016f8(0x288));if(_0x49cce5[_0x2016f8(0x19a)])_0x4a1ae9+=pair(0x3,_0x49cce5[_0x2016f8(0x19a)]);if(_0x49cce5[_0x2016f8(0x276)]!==undefined)_0x4a1ae9+=pairI(0x47,_0x49cce5['arrowheadFlag']);if(_0x49cce5[_0x2016f8(0x20a)]!==undefined)_0x4a1ae9+=pairI(0x48,_0x49cce5[_0x2016f8(0x20a)]);if(_0x49cce5[_0x2016f8(0x241)]!==undefined)_0x4a1ae9+=pairI(0x49,_0x49cce5[_0x2016f8(0x241)]);if(_0x49cce5[_0x2016f8(0x275)]!==undefined)_0x4a1ae9+=pairI(0x4a,_0x49cce5[_0x2016f8(0x275)]);if(_0x49cce5[_0x2016f8(0x25a)]!==undefined)_0x4a1ae9+=pairI(0x4b,_0x49cce5[_0x2016f8(0x25a)]);if(_0x49cce5[_0x2016f8(0x1a6)])_0x4a1ae9+=pairF(0x28,_0x49cce5['textHeight']);if(_0x49cce5[_0x2016f8(0x28a)])_0x4a1ae9+=pairF(0x29,_0x49cce5[_0x2016f8(0x28a)]);const _0x2c0d30=_0x49cce5[_0x2016f8(0x253)]||[];_0x4a1ae9+=pairI(0x4c,_0x2c0d30['length']);for(const _0x8b0392 of _0x2c0d30){_0x4a1ae9+=writePoint3D(0xa,_0x8b0392);}if(_0x49cce5[_0x2016f8(0x229)])_0x4a1ae9+=pair(0x154,_0x49cce5[_0x2016f8(0x229)]);return _0x49cce5[_0x2016f8(0x1b6)]&&(_0x4a1ae9+=pairF(0xd2,_0x49cce5[_0x2016f8(0x1b6)]['x']),_0x4a1ae9+=pairF(0xdc,_0x49cce5[_0x2016f8(0x1b6)]['y']),_0x4a1ae9+=pairF(0xe6,_0x49cce5[_0x2016f8(0x1b6)]['z'])),_0x49cce5[_0x2016f8(0x26f)]&&(_0x4a1ae9+=pairF(0xd3,_0x49cce5[_0x2016f8(0x26f)]['x']),_0x4a1ae9+=pairF(0xdd,_0x49cce5['horizontalDirection']['y']),_0x4a1ae9+=pairF(0xe7,_0x49cce5[_0x2016f8(0x26f)]['z'])),_0x4a1ae9;}function writeMLeaderEntity(_0x2a007a){const _0x57953b=_0x4940;let _0x56b72e=pair(0x64,_0x57953b(0x270));if(_0x2a007a[_0x57953b(0x19a)])_0x56b72e+=pair(0x3,_0x2a007a[_0x57953b(0x19a)]);if(_0x2a007a[_0x57953b(0x265)]!==undefined)_0x56b72e+=pairI(0xaa,_0x2a007a[_0x57953b(0x265)]);if(_0x2a007a['text'])_0x56b72e+=pair(0x130,_0x2a007a['text']);if(_0x2a007a[_0x57953b(0x1e1)])_0x56b72e+=pair(0x154,_0x2a007a[_0x57953b(0x1e1)]);if(_0x2a007a['doglegLength'])_0x56b72e+=pairF(0x28,_0x2a007a[_0x57953b(0x281)]);if(_0x2a007a[_0x57953b(0x1d3)])_0x56b72e+=pairF(0x29,_0x2a007a['arrowheadSize']);if(_0x2a007a[_0x57953b(0x1a6)])_0x56b72e+=pairF(0x2a,_0x2a007a[_0x57953b(0x1a6)]);if(_0x2a007a[_0x57953b(0x195)])for(const _0x3b4ba0 of _0x2a007a[_0x57953b(0x195)]){_0x56b72e+=writePoint3D(0xa,_0x3b4ba0);}return _0x56b72e;}function writeHatchEntity(_0x5b6421){const _0x3b818f=_0x4940;let _0x308ea9=pair(0x64,_0x3b818f(0x217));_0x308ea9+=pairF(0xa,0x0),_0x308ea9+=pairF(0x14,0x0),_0x308ea9+=pairF(0x1e,_0x5b6421[_0x3b818f(0x1e2)]||0x0),_0x308ea9+=writeExtrusion(_0x5b6421[_0x3b818f(0x1d0)]),_0x308ea9+=pair(0x2,_0x5b6421[_0x3b818f(0x248)]||''),_0x308ea9+=pairI(0x46,_0x5b6421[_0x3b818f(0x256)]?0x1:0x0),_0x308ea9+=pairI(0x47,_0x5b6421[_0x3b818f(0x1e5)]?0x1:0x0);const _0x5703d8=_0x5b6421['boundaryPaths']||[];_0x308ea9+=pairI(0x5b,_0x5703d8[_0x3b818f(0x1ec)]);for(const _0x7b356a of _0x5703d8){_0x308ea9+=pairI(0x5c,_0x7b356a[_0x3b818f(0x1ed)]||0x0);if(_0x7b356a[_0x3b818f(0x277)]&&_0x7b356a[_0x3b818f(0x277)]['length']>0x0){_0x308ea9+=pairI(0x5d,_0x7b356a['points'][_0x3b818f(0x1ec)]);for(const _0xb29cab of _0x7b356a[_0x3b818f(0x277)]){_0x308ea9+=pairF(0xa,_0xb29cab['x']),_0x308ea9+=pairF(0x14,_0xb29cab['y']||0x0);}}}_0x308ea9+=pairI(0x4b,_0x5b6421[_0x3b818f(0x1de)]||0x0),_0x308ea9+=pairI(0x4c,_0x5b6421[_0x3b818f(0x1b8)]||0x0);if(!_0x5b6421[_0x3b818f(0x256)]){if(_0x5b6421['patternAngle'])_0x308ea9+=pairF(0x34,_0x5b6421[_0x3b818f(0x185)]);if(_0x5b6421['patternScale'])_0x308ea9+=pairF(0x29,_0x5b6421['patternScale']);}const _0x4ceba8=_0x5b6421[_0x3b818f(0x197)]||[];_0x308ea9+=pairI(0x62,_0x4ceba8[_0x3b818f(0x1ec)]);for(const _0x8f2f34 of _0x4ceba8){_0x308ea9+=pairF(0xa,_0x8f2f34['x']),_0x308ea9+=pairF(0x14,_0x8f2f34['y']||0x0);}return _0x308ea9;}function writeSplineEntity(_0x38d1b4){const _0x238a11=_0x4940;let _0x545f44=pair(0x64,_0x238a11(0x172));_0x38d1b4[_0x238a11(0x1b6)]&&(_0x545f44+=pairF(0xd2,_0x38d1b4[_0x238a11(0x1b6)]['x']),_0x545f44+=pairF(0xdc,_0x38d1b4['normal']['y']),_0x545f44+=pairF(0xe6,_0x38d1b4['normal']['z']));let _0x46344f=_0x38d1b4['flags']||0x0;if(_0x38d1b4[_0x238a11(0x1e3)])_0x46344f|=0x1;if(_0x38d1b4[_0x238a11(0x260)])_0x46344f|=0x2;if(_0x38d1b4[_0x238a11(0x181)])_0x46344f|=0x4;if(_0x38d1b4[_0x238a11(0x263)])_0x46344f|=0x8;_0x545f44+=pairI(0x46,_0x46344f),_0x545f44+=pairI(0x47,_0x38d1b4[_0x238a11(0x1a7)]||0x3);const _0xbba1ac=_0x38d1b4[_0x238a11(0x1ba)]||[],_0x16cb99=_0x38d1b4[_0x238a11(0x175)]||[],_0x571f67=_0x38d1b4[_0x238a11(0x25c)]||[];_0x545f44+=pairI(0x48,_0xbba1ac[_0x238a11(0x1ec)]),_0x545f44+=pairI(0x49,_0x16cb99[_0x238a11(0x1ec)]),_0x545f44+=pairI(0x4a,_0x571f67[_0x238a11(0x1ec)]);if(_0x38d1b4[_0x238a11(0x1b4)])_0x545f44+=pairF(0x2a,_0x38d1b4[_0x238a11(0x1b4)]);if(_0x38d1b4[_0x238a11(0x24a)])_0x545f44+=pairF(0x2b,_0x38d1b4[_0x238a11(0x24a)]);if(_0x38d1b4[_0x238a11(0x20b)])_0x545f44+=pairF(0x2c,_0x38d1b4[_0x238a11(0x20b)]);if(_0x38d1b4['startTangent'])_0x545f44+=writePoint3D(0xc,_0x38d1b4['startTangent']);if(_0x38d1b4['endTangent'])_0x545f44+=writePoint3D(0xd,_0x38d1b4[_0x238a11(0x243)]);for(const _0x447cb1 of _0xbba1ac){_0x545f44+=pairF(0x28,_0x447cb1);}if(_0x38d1b4[_0x238a11(0x21d)])for(const _0x2f510e of _0x38d1b4[_0x238a11(0x21d)]){_0x545f44+=pairF(0x29,_0x2f510e);}for(const _0x2a8ddf of _0x16cb99){_0x545f44+=writePoint3D(0xa,_0x2a8ddf);}for(const _0x341054 of _0x571f67){_0x545f44+=writePoint3D(0xb,_0x341054);}return _0x545f44;}function writeSolidEntity(_0x2d72ea){const _0x34d5e0=_0x4940;let _0x297743=_0x34d5e0(0x212);if(_0x2d72ea[_0x34d5e0(0x1ed)]===_0x34d5e0(0x198))_0x297743='AcDbTrace';else {if(_0x2d72ea[_0x34d5e0(0x1ed)]==='3DSOLID')_0x297743=_0x34d5e0(0x20c);}let _0x5a07c9=pair(0x64,_0x297743);const _0x31fee1=_0x2d72ea[_0x34d5e0(0x277)]||[];if(_0x31fee1[0x0])_0x5a07c9+=writePoint3D(0xa,_0x31fee1[0x0]);if(_0x31fee1[0x1])_0x5a07c9+=writePoint3D(0xb,_0x31fee1[0x1]);if(_0x31fee1[0x2])_0x5a07c9+=writePoint3D(0xc,_0x31fee1[0x2]);if(_0x31fee1[0x3])_0x5a07c9+=writePoint3D(0xd,_0x31fee1[0x3]);if(_0x2d72ea['thickness'])_0x5a07c9+=pairF(0x27,_0x2d72ea[_0x34d5e0(0x1c1)]);return _0x5a07c9+=writeExtrusion(_0x2d72ea[_0x34d5e0(0x1d0)]),_0x5a07c9;}function write3DFaceEntity(_0x140a83){const _0x12a322=_0x4940;let _0x34167e=pair(0x64,_0x12a322(0x19f));const _0x11ab3f=_0x140a83[_0x12a322(0x253)]||[];if(_0x11ab3f[0x0])_0x34167e+=writePoint3D(0xa,_0x11ab3f[0x0]);if(_0x11ab3f[0x1])_0x34167e+=writePoint3D(0xb,_0x11ab3f[0x1]);if(_0x11ab3f[0x2])_0x34167e+=writePoint3D(0xc,_0x11ab3f[0x2]);if(_0x11ab3f[0x3])_0x34167e+=writePoint3D(0xd,_0x11ab3f[0x3]);if(_0x140a83[_0x12a322(0x1f0)])_0x34167e+=pairI(0x46,_0x140a83[_0x12a322(0x1f0)]);return _0x34167e;}function writeRayEntity(_0x158959){const _0x341608=_0x4940,_0xb042ec=_0x158959[_0x341608(0x1ed)]==='RAY'?_0x341608(0x262):_0x341608(0x268);let _0x196c55=pair(0x64,_0xb042ec);return _0x196c55+=writePoint3D(0xa,_0x158959[_0x341608(0x1a4)]),_0x196c55+=writePoint3D(0xb,_0x158959[_0x341608(0x1fc)]),_0x196c55;}function writeViewportEntity(_0x580223){const _0x23238c=_0x4940;let _0x4d1e6a=pair(0x64,'AcDbViewport');_0x4d1e6a+=writePoint3D(0xa,_0x580223['center']),_0x4d1e6a+=pairF(0x28,_0x580223[_0x23238c(0x24e)]),_0x4d1e6a+=pairF(0x29,_0x580223[_0x23238c(0x22c)]);if(_0x580223['id'])_0x4d1e6a+=pairI(0x45,_0x580223['id']);if(_0x580223[_0x23238c(0x27c)])_0x4d1e6a+=writePoint2D(0xc,_0x580223[_0x23238c(0x27c)]);if(_0x580223[_0x23238c(0x1c2)])_0x4d1e6a+=writePoint2D(0xd,_0x580223[_0x23238c(0x1c2)]);if(_0x580223['snapSpacing'])_0x4d1e6a+=writePoint2D(0xe,_0x580223[_0x23238c(0x24d)]);if(_0x580223[_0x23238c(0x1c5)])_0x4d1e6a+=writePoint2D(0xf,_0x580223[_0x23238c(0x1c5)]);_0x4d1e6a+=writePoint3D(0x10,_0x580223[_0x23238c(0x278)]),_0x4d1e6a+=writePoint3D(0x11,_0x580223[_0x23238c(0x17e)]);if(_0x580223[_0x23238c(0x1c3)])_0x4d1e6a+=pairF(0x2a,_0x580223[_0x23238c(0x1c3)]);if(_0x580223[_0x23238c(0x206)])_0x4d1e6a+=pairF(0x2b,_0x580223[_0x23238c(0x206)]);if(_0x580223[_0x23238c(0x27a)])_0x4d1e6a+=pairF(0x2c,_0x580223[_0x23238c(0x27a)]);if(_0x580223[_0x23238c(0x1c7)])_0x4d1e6a+=pairF(0x2d,_0x580223[_0x23238c(0x1c7)]);if(_0x580223[_0x23238c(0x213)])_0x4d1e6a+=pairF(0x32,_0x580223[_0x23238c(0x213)]);if(_0x580223[_0x23238c(0x27e)])_0x4d1e6a+=pairF(0x33,_0x580223[_0x23238c(0x27e)]);if(_0x580223[_0x23238c(0x184)])_0x4d1e6a+=pairI(0x44,_0x580223[_0x23238c(0x184)]);if(_0x580223['frozenLayers'])for(const _0x23aa72 of _0x580223[_0x23238c(0x176)]){_0x4d1e6a+=pair(0x14b,_0x23aa72);}if(_0x580223[_0x23238c(0x18c)])_0x4d1e6a+=pair(0x154,_0x580223[_0x23238c(0x18c)]);return _0x4d1e6a;}function writeImageEntity(_0x4f217e){const _0x33453c=_0x4940;let _0x157dc6=pair(0x64,_0x4f217e[_0x33453c(0x1ed)]===_0x33453c(0x27d)?_0x33453c(0x224):_0x33453c(0x1af));_0x157dc6+=writePoint3D(0xa,_0x4f217e[_0x33453c(0x23b)]),_0x157dc6+=writePoint3D(0xb,_0x4f217e[_0x33453c(0x25d)]),_0x157dc6+=writePoint3D(0xc,_0x4f217e[_0x33453c(0x23d)]),_0x157dc6+=pairF(0xd,_0x4f217e[_0x33453c(0x264)]?_0x4f217e['imageSize']['u']:0x0),_0x157dc6+=pairF(0x17,_0x4f217e[_0x33453c(0x264)]?_0x4f217e[_0x33453c(0x264)]['v']:0x0);if(_0x4f217e[_0x33453c(0x210)])_0x157dc6+=pair(0x154,_0x4f217e[_0x33453c(0x210)]);if(_0x4f217e[_0x33453c(0x1ad)])_0x157dc6+=pairI(0x46,_0x4f217e[_0x33453c(0x1ad)]);if(_0x4f217e['clippingType'])_0x157dc6+=pairI(0x47,_0x4f217e[_0x33453c(0x196)]);if(_0x4f217e[_0x33453c(0x17d)]!==undefined)_0x157dc6+=pairI(0x118,_0x4f217e[_0x33453c(0x17d)]);if(_0x4f217e[_0x33453c(0x1ac)]!==undefined)_0x157dc6+=pairI(0x119,_0x4f217e[_0x33453c(0x1ac)]);if(_0x4f217e[_0x33453c(0x1e4)]!==undefined)_0x157dc6+=pairI(0x11a,_0x4f217e[_0x33453c(0x1e4)]);if(_0x4f217e['clippingVertices'])for(const _0x2f83c6 of _0x4f217e[_0x33453c(0x21a)]){_0x157dc6+=pairF(0xe,_0x2f83c6['x']),_0x157dc6+=pairF(0x18,_0x2f83c6['y']||0x0);}return _0x157dc6;}function writeToleranceEntity(_0x3d9ebc){const _0x377483=_0x4940;let _0x726901=pair(0x64,_0x377483(0x22e));if(_0x3d9ebc[_0x377483(0x19a)])_0x726901+=pair(0x3,_0x3d9ebc['styleName']);_0x726901+=writePoint3D(0xa,_0x3d9ebc[_0x377483(0x23b)]);if(_0x3d9ebc['text'])_0x726901+=pair(0x1,_0x3d9ebc['text']);return _0x726901+=writePoint3D(0xb,_0x3d9ebc['direction']),_0x726901;}function writeHelixEntity(_0x5ce0cd){const _0x88acfb=_0x4940;let _0x3974f8=pair(0x64,_0x88acfb(0x1ab));_0x3974f8+=writePoint3D(0xa,_0x5ce0cd['axisBasePoint']),_0x3974f8+=writePoint3D(0xb,_0x5ce0cd[_0x88acfb(0x1fb)]),_0x3974f8+=writePoint3D(0xc,_0x5ce0cd[_0x88acfb(0x1e8)]),_0x3974f8+=pairF(0x28,_0x5ce0cd[_0x88acfb(0x227)]),_0x3974f8+=pairF(0x29,_0x5ce0cd[_0x88acfb(0x283)]),_0x3974f8+=pairF(0x2a,_0x5ce0cd['turnHeight']);if(_0x5ce0cd['handedness']!==undefined)_0x3974f8+=pairI(0x122,_0x5ce0cd['handedness']);if(_0x5ce0cd['constraint']!==undefined)_0x3974f8+=pairI(0x118,_0x5ce0cd['constraint']);return _0x3974f8;}function writeMeshEntity(_0x5d691c){const _0x343375=_0x4940;let _0x205017=pair(0x64,_0x343375(0x1c0));_0x205017+=pairI(0x47,_0x5d691c[_0x343375(0x1f5)]||0x2),_0x205017+=pairI(0x48,_0x5d691c[_0x343375(0x1b0)]||0x0);const _0x38799c=_0x5d691c[_0x343375(0x253)]||[];_0x205017+=pairI(0x5b,_0x38799c['length']);for(const _0x190571 of _0x38799c){_0x205017+=writePoint3D(0xa,_0x190571);}const _0x309f60=_0x5d691c[_0x343375(0x237)]||[];_0x205017+=pairI(0x5c,_0x309f60[_0x343375(0x1ec)]);for(const _0x30955e of _0x309f60){_0x205017+=pairI(0x5a,_0x30955e);}const _0x59bffe=_0x5d691c['edges']||[];_0x205017+=pairI(0x5d,_0x59bffe[_0x343375(0x1ec)]);for(const _0x315e3e of _0x59bffe){_0x205017+=pairI(0x5a,_0x315e3e);}const _0xc471a4=_0x5d691c[_0x343375(0x26e)]||[];_0x205017+=pairI(0x5e,_0xc471a4[_0x343375(0x1ec)]);for(const _0x3f96b2 of _0xc471a4){_0x205017+=pairF(0x8c,_0x3f96b2);}return _0x205017;}function _0x4940(_0x1126aa,_0x14e928){_0x1126aa=_0x1126aa-0x172;const _0x562943=_0x5629();let _0x49405f=_0x562943[_0x1126aa];return _0x49405f;}function writeRegionEntity(_0x2f33a9){const _0x1dd3b2=_0x4940;let _0x5cf458='AcDbRegion';if(_0x2f33a9[_0x1dd3b2(0x1ed)]===_0x1dd3b2(0x1ff))_0x5cf458='AcDbBody';else {if(_0x2f33a9[_0x1dd3b2(0x1ed)]===_0x1dd3b2(0x232))_0x5cf458=_0x1dd3b2(0x239);}let _0xf904e9=pair(0x64,_0x5cf458);if(_0x2f33a9[_0x1dd3b2(0x286)]!==undefined)_0xf904e9+=pairI(0x46,_0x2f33a9['modelerFormat']);const _0x47a82b=_0x2f33a9[_0x1dd3b2(0x1dd)]||(_0x2f33a9[_0x1dd3b2(0x284)]||[])['join']('');if(_0x47a82b){let _0x377a1d=_0x47a82b;while(_0x377a1d[_0x1dd3b2(0x1ec)]>0xff){_0xf904e9+=pair(0x3,_0x377a1d[_0x1dd3b2(0x249)](0x0,0xff)),_0x377a1d=_0x377a1d['substring'](0xff);}_0xf904e9+=pair(0x1,_0x377a1d);}return _0xf904e9;}function writeOle2Entity(_0x177fab){const _0x48d303=_0x4940;let _0x590847=pair(0x64,_0x48d303(0x1bd));_0x590847+=pairI(0x46,_0x177fab[_0x48d303(0x245)]||0x0),_0x590847+=pairI(0x47,_0x177fab['tileMode']||0x0),_0x590847+=writePoint3D(0xa,_0x177fab[_0x48d303(0x207)]),_0x590847+=writePoint3D(0xb,_0x177fab['lowerRightCorner']);if(_0x177fab[_0x48d303(0x1e9)])for(const _0x377f2b of _0x177fab[_0x48d303(0x1e9)]){_0x590847+=pair(0x1,_0x377f2b);}return _0x590847;}function writeTableEntity(_0x5ef9cc){const _0x4be94e=_0x4940;let _0x1af602=pair(0x64,_0x4be94e(0x238));if(_0x5ef9cc[_0x4be94e(0x202)])_0x1af602+=pair(0x2,_0x5ef9cc[_0x4be94e(0x202)]);_0x1af602+=writePoint3D(0xa,_0x5ef9cc[_0x4be94e(0x23b)]),_0x1af602+=pair(0x64,_0x4be94e(0x214)),_0x1af602+=writePoint3D(0xb,_0x5ef9cc['direction']);if(_0x5ef9cc[_0x4be94e(0x192)])_0x1af602+=pairI(0x5b,_0x5ef9cc[_0x4be94e(0x192)]);if(_0x5ef9cc[_0x4be94e(0x1a9)])_0x1af602+=pairI(0x5c,_0x5ef9cc[_0x4be94e(0x1a9)]);if(_0x5ef9cc[_0x4be94e(0x282)])for(const _0x3f1f01 of _0x5ef9cc[_0x4be94e(0x282)]){_0x1af602+=pairF(0x8e,_0x3f1f01);}if(_0x5ef9cc['columnWidths'])for(const _0x443af4 of _0x5ef9cc[_0x4be94e(0x285)]){_0x1af602+=pairF(0x8d,_0x443af4);}return _0x1af602;}function writeMLineEntity(_0x2ba83c){const _0x39a542=_0x4940;let _0x47446a=pair(0x64,_0x39a542(0x1e0));if(_0x2ba83c[_0x39a542(0x19a)])_0x47446a+=pair(0x2,_0x2ba83c[_0x39a542(0x19a)]);if(_0x2ba83c[_0x39a542(0x267)])_0x47446a+=pair(0x154,_0x2ba83c[_0x39a542(0x267)]);_0x47446a+=pairF(0x28,_0x2ba83c[_0x39a542(0x1fa)]||0x1),_0x47446a+=pairI(0x46,_0x2ba83c['justification']||0x0),_0x47446a+=pairI(0x47,_0x2ba83c['flags']||0x0);const _0x212cfd=_0x2ba83c[_0x39a542(0x253)]||[];_0x47446a+=pairI(0x48,_0x212cfd['length']);if(_0x2ba83c[_0x39a542(0x1f9)])_0x47446a+=pairI(0x49,_0x2ba83c['elementCount']);_0x47446a+=writePoint3D(0xa,_0x2ba83c[_0x39a542(0x1fb)]);_0x2ba83c[_0x39a542(0x1b6)]&&(_0x47446a+=pairF(0xd2,_0x2ba83c[_0x39a542(0x1b6)]['x']),_0x47446a+=pairF(0xdc,_0x2ba83c[_0x39a542(0x1b6)]['y']),_0x47446a+=pairF(0xe6,_0x2ba83c[_0x39a542(0x1b6)]['z']));for(const _0x1140fb of _0x212cfd){_0x47446a+=pairF(0xb,_0x1140fb['x']),_0x47446a+=pairF(0x15,_0x1140fb['y']),_0x47446a+=pairF(0x1f,_0x1140fb['z']||0x0);}return _0x47446a;}function writeGenericEntity(_0x3c4580){const _0x1ace87=_0x4940;let _0xef5118='';if(_0x3c4580['data'])for(const [_0x3185fd,_0x362ef9]of Object[_0x1ace87(0x1ca)](_0x3c4580[_0x1ace87(0x1dc)])){if(_0x3185fd['startsWith'](_0x1ace87(0x1be))){const _0x2f39fe=parseInt(_0x3185fd['replace'](_0x1ace87(0x1be),'')),_0x334cd9=[][_0x1ace87(0x22a)](_0x362ef9);for(const _0x5cd7f8 of _0x334cd9){_0xef5118+=pair(_0x2f39fe,_0x5cd7f8);}}}return _0xef5118;}function writeObjects(_0x59b3d5){const _0x5299ef=_0x4940;if(!_0x59b3d5||_0x59b3d5['length']===0x0)return '';let _0x36e84d=pair(0x0,_0x5299ef(0x1d6))+pair(0x2,_0x5299ef(0x204));for(const _0x4fcd8f of _0x59b3d5){_0x36e84d+=pair(0x0,_0x4fcd8f[_0x5299ef(0x1ed)]);if(_0x4fcd8f[_0x5299ef(0x174)])_0x36e84d+=pair(0x5,_0x4fcd8f[_0x5299ef(0x174)]);if(_0x4fcd8f['ownerHandle'])_0x36e84d+=pair(0x14a,_0x4fcd8f[_0x5299ef(0x1cc)]);if(_0x4fcd8f['name'])_0x36e84d+=pair(0x2,_0x4fcd8f['name']);if(_0x4fcd8f[_0x5299ef(0x1a2)]){const _0x5a5387=[]['concat'](_0x4fcd8f[_0x5299ef(0x1a2)]);for(const _0x2cab58 of _0x5a5387){_0x36e84d+=pair(0x3,_0x2cab58);}}if(_0x4fcd8f[_0x5299ef(0x183)]){const _0x22e806=[][_0x5299ef(0x22a)](_0x4fcd8f[_0x5299ef(0x183)]);for(const _0x3e9f00 of _0x22e806){_0x36e84d+=pair(0x15e,_0x3e9f00);}}if(_0x4fcd8f['hardPointer']){const _0x80f8f7=[][_0x5299ef(0x22a)](_0x4fcd8f['hardPointer']);for(const _0x1b1407 of _0x80f8f7){_0x36e84d+=pair(0x168,_0x1b1407);}}for(const [_0x5685fc,_0xe166ce]of Object['entries'](_0x4fcd8f)){if(_0x5685fc[_0x5299ef(0x1b1)](_0x5299ef(0x1be))){const _0x496feb=parseInt(_0x5685fc[_0x5299ef(0x26a)](_0x5299ef(0x1be),'')),_0x330da6=[][_0x5299ef(0x22a)](_0xe166ce);for(const _0x564fc8 of _0x330da6){_0x36e84d+=pair(_0x496feb,_0x564fc8);}}}}return _0x36e84d+=pair(0x0,_0x5299ef(0x235)),_0x36e84d;}function writeDxf(_0x4db2ea){const _0x33d007=_0x4940;let _0x25b4f5='';return _0x25b4f5+=writeHeader(_0x4db2ea[_0x33d007(0x18d)]),_0x25b4f5+=writeClasses(_0x4db2ea['classes']),_0x25b4f5+=writeTables(_0x4db2ea[_0x33d007(0x236)]),_0x25b4f5+=writeBlocks(_0x4db2ea['blocks']),_0x25b4f5+=writeEntitiesSection(_0x4db2ea[_0x33d007(0x191)]),_0x25b4f5+=writeObjects(_0x4db2ea['objects']),_0x25b4f5+=pair(0x0,_0x33d007(0x1d1)),_0x25b4f5;}async function writeDxfFile(_0x437220,_0x5874bf){const _0x24ec84=_0x4940,_0x314045=writeDxf(_0x437220);if(typeof process!=='undefined'&&process[_0x24ec84(0x205)]?.['node']){const {writeFile:_0x8475b1}=await import(_0x24ec84(0x28c));await _0x8475b1(_0x5874bf,_0x314045,_0x24ec84(0x27b));}else throw new Error(_0x24ec84(0x1cd));}function downloadDxfFile(_0x54b8ec,_0x33289a='output.dxf'){const _0x3d7291=_0x4940,_0x4b3498=writeDxf(_0x54b8ec),_0x4e1f6d=new Blob([_0x4b3498],{'type':_0x3d7291(0x25e)}),_0x3087bd=URL[_0x3d7291(0x242)](_0x4e1f6d),_0x5745f1=document[_0x3d7291(0x28d)]('a');_0x5745f1[_0x3d7291(0x1e6)]=_0x3087bd,_0x5745f1[_0x3d7291(0x23a)]=_0x33289a,_0x5745f1['click'](),URL['revokeObjectURL'](_0x3087bd);}
5
+ const _0x1cdf2c=_0x2fa3;(function(_0xdc3ca0,_0x59fb8a){const _0x538f9a=_0x2fa3,_0x660d05=_0xdc3ca0();while(!![]){try{const _0x4d4ff6=-parseInt(_0x538f9a(0x23b))/0x1*(parseInt(_0x538f9a(0x22e))/0x2)+-parseInt(_0x538f9a(0x237))/0x3+-parseInt(_0x538f9a(0x286))/0x4*(-parseInt(_0x538f9a(0x275))/0x5)+-parseInt(_0x538f9a(0x297))/0x6+parseInt(_0x538f9a(0x245))/0x7*(parseInt(_0x538f9a(0x291))/0x8)+parseInt(_0x538f9a(0x27c))/0x9*(-parseInt(_0x538f9a(0x256))/0xa)+parseInt(_0x538f9a(0x27b))/0xb;if(_0x4d4ff6===_0x59fb8a)break;else _0x660d05['push'](_0x660d05['shift']());}catch(_0x431f85){_0x660d05['push'](_0x660d05['shift']());}}}(_0x4fb0,0x70f4e));function pair(_0x290d8e,_0x17aee1){if(_0x17aee1===undefined||_0x17aee1===null)return '';return '\x20\x20'+_0x290d8e+'\x0a'+_0x17aee1+'\x0a';}function _0x4fb0(){const _0x14b02e=['constantWidth','AcDbTrace','ATTRIB','TABLES','SECTION','binaryData','AcDbWipeout','pathType','AcDbPoint','6CcCXKj','AcDbFcf','patternAngle','edges','VERTEX','point3','frozenLayers','lineSpacingStyle','widthFactor','792879TWuVHS','closed','substring','ATTDEF','196347XYbWuf','planar','vertices','AcDb3PointAngularDimension','extra','replace','RAY','HELIX','TOLERANCE','columnCount','21UIHdnb','round','HATCH','hAlign','AcDbRadialDimension','LINE','LEADER','AcDbBlockReference','viewTarget','AcDbFace','subclassMarker','visible','header','SEQEND','SURFACE','MLINE','annotationReference','3310dDOrQc','BODY','handedness','AcDbVertex','seedPoints','ownerHandle','AcDbViewport','proxyCapabilities','AcDbMLeader','invisibleEdgeFlags','startAngle','trueColor','ELLIPSE','VIEWPORT','controlPoints','fs/promises','styleName','startsWith','name2','solid','lineweight','imageSize','undefined','AcDbRay','patternScale','position','weights','AcDbHelix','rowSpacing','AcDbAlignedDimension','turnHeight','1574945UoVhiP','REGION','endAngle','AcDbCircle','flags','output.dxf','20627321Yxvgih','8181Qhahkp','linetypeScale','defaultEndWidth','radius','AcDbTable','xScale','imageDefHandle','SPLINE','AcDbMline','scale','4moqyah','ARC','BLOCKS','backClipPlane','doglegLength','AcDb2dVertex','fade','hooklineFlag','alignmentPoint','writeDxfFile\x20仅支持\x20Node.js\x20环境,浏览器请用\x20downloadDxfFile()','subdivisionLevel','113576toJyBF','POLYLINE','snapAngle','frontClipPlane','AcDbBlockBegin','displayFlags','3695448FyPaMr','colorNumber','AcDbDimension','associative','attachmentPoint','AcDb2dPolyline','oblique','createElement','IMAGE','hooklineDirectionFlag','concat','brightness','type','endPoint','keys','_type','CLASS','objects','AcDbSpline','AcDbOle2Frame','horizontalDirection','wasProxy','AcDbEntity','endWidth','ENDBLK','TABLE','columnSpacing','thickness','endsWith','BLOCK','viewTwistAngle','statusField','versions','contrast','LWPOLYLINE','TEXT','vVector','ENDSEC','turns','CLASSES','blocks','AcDbLine','constraint','styleHandle','uVector','degree','tables','EOF','softPointer','extrusionDirection','AcDbBody','faces','MTEXT','center','TRACE','tileMode','attributes','OBJECTS','3DFACE','rowHeights','insertionPoint','leaderPoints','height','angle','object','dxfRecord','POINT','toFixed','appName','createObjectURL','elevation','bulge','acisDataString','generationFlags','boundaryPaths','gridSpacing','width','patternName','AcDbSubDMesh','basePointZ','handle','XLINE','AcDb3dSolid','lineSpacing','entries','CIRCLE','edgeCreases','linetypeName','AcDbAttribute','points','data','utf-8','AcDbEllipse','AcDbRotatedDimension','justification','snapSpacing','viewHeight','style','drawingDirection','vAlign','3DSOLID','endTangent','ENTITIES','AcDbXline','startTangent','creationType','AcDbLeader','entities','classes','entryName','fitTolerance','elementCount','rows','columnWidths','AcDbBlockEnd','STANDARD','lowerRightCorner','modelerFormat','AcDbPolyline','controlPointTolerance','OLE2FRAME','node','plotStyleHandle','arrowheadSize','clippingType','viewDirection','blockName','DIMENSION','isEntity','normal','basePoint','length','layer','arrowheadFlag','AcDbArc','clippingBoundary','patternType','rotation','SOLID','middleOfText','defaultStartWidth','AcDbMText','code_','version','majorAxisEndPoint','knotTolerance','fitPoints','startWidth','hardPointer','direction','rowCount','0.0','name','extensionLineAngle','perspectiveLensLength','AcDbSurface','textStyleId','upperLeftCorner','startPoint','click','contentType','meshMVertexCount','prompt','point1','text','instanceCount','ENDTAB','textHeight','leaderLength','AcDbAttributeDefinition','meshNVertexCount','snapBase','axisRatio','tag','download','point2'];_0x4fb0=function(){return _0x14b02e;};return _0x4fb0();}function pairF(_0x2a73d8,_0x8d57ab){if(_0x8d57ab===undefined||_0x8d57ab===null)return '';return pair(_0x2a73d8,formatFloat(_0x8d57ab));}function formatFloat(_0x4c1328){const _0xc1b44f=_0x2fa3;if(typeof _0x4c1328!=='number'||isNaN(_0x4c1328))return _0xc1b44f(0x20c);let _0x55fefc=_0x4c1328[_0xc1b44f(0x1b8)](0x6);_0x55fefc=_0x55fefc[_0xc1b44f(0x240)](/(\.\d*?)0+$/,'$1');if(_0x55fefc[_0xc1b44f(0x2b3)]('.'))_0x55fefc+='0';return _0x55fefc;}function pairI(_0x5ba544,_0x2eab8b){const _0x538188=_0x2fa3;if(_0x2eab8b===undefined||_0x2eab8b===null)return '';return pair(_0x5ba544,Math[_0x538188(0x246)](_0x2eab8b));}function writePoint3D(_0x1badb5,_0x214ac7){if(!_0x214ac7)return '';return pairF(_0x1badb5,_0x214ac7['x'])+pairF(_0x1badb5+0xa,_0x214ac7['y'])+pairF(_0x1badb5+0x14,_0x214ac7['z']);}function writePoint2D(_0x4f4aa4,_0x2b8c25){if(!_0x2b8c25)return '';return pairF(_0x4f4aa4,_0x2b8c25['x'])+pairF(_0x4f4aa4+0xa,_0x2b8c25['y']);}function writeExtrusion(_0x332e29){if(!_0x332e29)return '';if(_0x332e29['x']===0x0&&_0x332e29['y']===0x0&&_0x332e29['z']===0x1)return '';return pairF(0xd2,_0x332e29['x'])+pairF(0xdc,_0x332e29['y'])+pairF(0xe6,_0x332e29['z']);}function writeHeader(_0x493d21){const _0x4da9a6=_0x2fa3;if(!_0x493d21||Object[_0x4da9a6(0x2a5)](_0x493d21)[_0x4da9a6(0x1f8)]===0x0)return '';let _0x9b0f80=pair(0x0,'SECTION')+pair(0x2,'HEADER');for(const [_0x35a6bb,_0xeb2ae5]of Object[_0x4da9a6(0x1c9)](_0x493d21)){_0x9b0f80+=pair(0x9,_0x35a6bb);if(typeof _0xeb2ae5===_0x4da9a6(0x1b5)&&_0xeb2ae5!==null&&!Array['isArray'](_0xeb2ae5))for(const [_0x1b5cec,_0x382307]of Object['entries'](_0xeb2ae5)){_0x9b0f80+=pair(parseInt(_0x1b5cec),_0x382307);}else _0x9b0f80+=pair(0x1,_0xeb2ae5);}return _0x9b0f80+=pair(0x0,_0x4da9a6(0x2bc)),_0x9b0f80;}function writeClasses(_0x2b83e7){const _0x385ee4=_0x2fa3;if(!_0x2b83e7||_0x2b83e7['length']===0x0)return '';let _0xed764e=pair(0x0,'SECTION')+pair(0x2,_0x385ee4(0x2be));for(const _0x14e677 of _0x2b83e7){_0xed764e+=pair(0x0,_0x385ee4(0x2a7));if(_0x14e677[_0x385ee4(0x1b6)])_0xed764e+=pair(0x1,_0x14e677['dxfRecord']);if(_0x14e677['cppClassName'])_0xed764e+=pair(0x2,_0x14e677['cppClassName']);if(_0x14e677['appName'])_0xed764e+=pair(0x3,_0x14e677[_0x385ee4(0x1b9)]);if(_0x14e677[_0x385ee4(0x25d)]!==undefined)_0xed764e+=pairI(0x5a,_0x14e677['proxyCapabilities']);if(_0x14e677[_0x385ee4(0x21a)]!==undefined)_0xed764e+=pairI(0x5b,_0x14e677[_0x385ee4(0x21a)]);if(_0x14e677[_0x385ee4(0x2ac)]!==undefined)_0xed764e+=pairI(0x118,_0x14e677[_0x385ee4(0x2ac)]);if(_0x14e677[_0x385ee4(0x1f5)]!==undefined)_0xed764e+=pairI(0x119,_0x14e677[_0x385ee4(0x1f5)]);}return _0xed764e+=pair(0x0,'ENDSEC'),_0xed764e;}function writeTables(_0x363bc4){const _0x345b05=_0x2fa3;if(!_0x363bc4||Object[_0x345b05(0x2a5)](_0x363bc4)[_0x345b05(0x1f8)]===0x0)return '';let _0x45be3a=pair(0x0,_0x345b05(0x229))+pair(0x2,_0x345b05(0x228));for(const [_0xa56cd9,_0x1fe5ae]of Object['entries'](_0x363bc4)){_0x45be3a+=pair(0x0,_0x345b05(0x2b0)),_0x45be3a+=pair(0x2,_0xa56cd9);if(_0x1fe5ae[_0x345b05(0x1f8)]>0x0){const _0x3da02e=_0x1fe5ae[0x0];if(_0x3da02e[_0x345b05(0x1c5)])_0x45be3a+=pair(0x5,_0x3da02e['handle']);if(_0x3da02e[_0x345b05(0x25b)])_0x45be3a+=pair(0x14a,_0x3da02e[_0x345b05(0x25b)]);_0x45be3a+=pair(0x64,'AcDbSymbolTable'),_0x45be3a+=pairI(0x46,_0x1fe5ae[_0x345b05(0x1f8)]);}for(const _0xe0eb6f of _0x1fe5ae){_0x45be3a+=pair(0x0,_0xe0eb6f[_0x345b05(0x2a6)]||_0xa56cd9);if(_0xe0eb6f[_0x345b05(0x1c5)])_0x45be3a+=pair(0x5,_0xe0eb6f[_0x345b05(0x1c5)]);if(_0xe0eb6f[_0x345b05(0x25b)])_0x45be3a+=pair(0x14a,_0xe0eb6f['ownerHandle']);if(_0xe0eb6f['subclassMarker']){const _0x40feb7=[]['concat'](_0xe0eb6f[_0x345b05(0x24f)]);for(const _0x4b1e27 of _0x40feb7){_0x45be3a+=pair(0x64,_0x4b1e27);}}if(_0xe0eb6f[_0x345b05(0x20d)])_0x45be3a+=pair(0x2,_0xe0eb6f[_0x345b05(0x20d)]);if(_0xe0eb6f[_0x345b05(0x279)]!==undefined)_0x45be3a+=pairI(0x46,_0xe0eb6f[_0x345b05(0x279)]);if(_0xe0eb6f['colorNumber']!==undefined)_0x45be3a+=pairI(0x3e,_0xe0eb6f[_0x345b05(0x298)]);if(_0xe0eb6f[_0x345b05(0x1cc)])_0x45be3a+=pair(0x6,_0xe0eb6f[_0x345b05(0x1cc)]);if(_0xe0eb6f['styleName'])_0x45be3a+=pair(0x7,_0xe0eb6f[_0x345b05(0x266)]);if(_0xe0eb6f['height'])_0x45be3a+=pairF(0x28,_0xe0eb6f[_0x345b05(0x1b3)]);if(_0xe0eb6f['widthFactor'])_0x45be3a+=pairF(0x29,_0xe0eb6f[_0x345b05(0x236)]);if(_0xe0eb6f['angle'])_0x45be3a+=pairF(0x32,_0xe0eb6f['angle']);if(_0xe0eb6f[_0x345b05(0x26a)]!==undefined)_0x45be3a+=pairI(0x172,_0xe0eb6f[_0x345b05(0x26a)]);if(_0xe0eb6f[_0x345b05(0x1ef)])_0x45be3a+=pair(0x186,_0xe0eb6f[_0x345b05(0x1ef)]);if(_0xe0eb6f[_0x345b05(0x23f)])for(const [_0x30d8d9,_0x40dcf3]of Object[_0x345b05(0x1c9)](_0xe0eb6f)){if(_0x30d8d9['startsWith']('code_')){const _0x498118=parseInt(_0x30d8d9['replace']('code_','')),_0x5032ce=[][_0x345b05(0x2a1)](_0x40dcf3);for(const _0x76b4f3 of _0x5032ce){_0x45be3a+=pair(_0x498118,_0x76b4f3);}}}}_0x45be3a+=pair(0x0,_0x345b05(0x21b));}return _0x45be3a+=pair(0x0,_0x345b05(0x2bc)),_0x45be3a;}function writeBlocks(_0x3adee1){const _0x482381=_0x2fa3;if(!_0x3adee1||_0x3adee1[_0x482381(0x1f8)]===0x0)return '';let _0x113db1=pair(0x0,_0x482381(0x229))+pair(0x2,_0x482381(0x288));for(const _0x22113e of _0x3adee1){_0x113db1+=pair(0x0,_0x482381(0x2b4));if(_0x22113e['handle'])_0x113db1+=pair(0x5,_0x22113e[_0x482381(0x1c5)]);if(_0x22113e[_0x482381(0x25b)])_0x113db1+=pair(0x14a,_0x22113e['ownerHandle']);_0x113db1+=pair(0x64,_0x482381(0x2ad));if(_0x22113e[_0x482381(0x1f9)])_0x113db1+=pair(0x8,_0x22113e[_0x482381(0x1f9)]);_0x113db1+=pair(0x64,_0x482381(0x295));if(_0x22113e[_0x482381(0x20d)])_0x113db1+=pair(0x2,_0x22113e[_0x482381(0x20d)]);if(_0x22113e['flags']!==undefined)_0x113db1+=pairI(0x46,_0x22113e[_0x482381(0x279)]);_0x113db1+=pairF(0xa,_0x22113e['basePointX']||_0x22113e[_0x482381(0x1f7)]&&_0x22113e[_0x482381(0x1f7)]['x']||0x0),_0x113db1+=pairF(0x14,_0x22113e['basePointY']||_0x22113e['basePoint']&&_0x22113e['basePoint']['y']||0x0),_0x113db1+=pairF(0x1e,_0x22113e[_0x482381(0x1c4)]||_0x22113e[_0x482381(0x1f7)]&&_0x22113e['basePoint']['z']||0x0);if(_0x22113e[_0x482381(0x268)]||_0x22113e[_0x482381(0x20d)])_0x113db1+=pair(0x3,_0x22113e[_0x482381(0x268)]||_0x22113e[_0x482381(0x20d)]);_0x22113e[_0x482381(0x1e0)]&&_0x22113e[_0x482381(0x1e0)]['length']>0x0&&(_0x113db1+=writeEntityList(_0x22113e['entities']));_0x113db1+=pair(0x0,_0x482381(0x2af));if(_0x22113e[_0x482381(0x1c5)])_0x113db1+=pair(0x5,_0x22113e[_0x482381(0x1c5)]);if(_0x22113e[_0x482381(0x25b)])_0x113db1+=pair(0x14a,_0x22113e[_0x482381(0x25b)]);_0x113db1+=pair(0x64,'AcDbEntity');if(_0x22113e['layer'])_0x113db1+=pair(0x8,_0x22113e['layer']);_0x113db1+=pair(0x64,_0x482381(0x1e7));}return _0x113db1+=pair(0x0,_0x482381(0x2bc)),_0x113db1;}function writeEntityList(_0x470080){let _0x19c9b3='';for(const _0x166589 of _0x470080){_0x19c9b3+=writeOneEntity(_0x166589);}return _0x19c9b3;}function _0x2fa3(_0xe35058,_0x2de00c){_0xe35058=_0xe35058-0x1a3;const _0x4fb097=_0x4fb0();let _0x2fa3b4=_0x4fb097[_0xe35058];return _0x2fa3b4;}function writeEntitiesSection(_0x5e4e7b){const _0x161c98=_0x2fa3;if(!_0x5e4e7b||_0x5e4e7b['length']===0x0)return '';let _0x514a15=pair(0x0,_0x161c98(0x229))+pair(0x2,_0x161c98(0x1db));return _0x514a15+=writeEntityList(_0x5e4e7b),_0x514a15+=pair(0x0,'ENDSEC'),_0x514a15;}function writeCommonFields(_0x559108){const _0x150770=_0x2fa3;let _0x401429='';if(_0x559108[_0x150770(0x1c5)])_0x401429+=pair(0x5,_0x559108[_0x150770(0x1c5)]);if(_0x559108[_0x150770(0x25b)])_0x401429+=pair(0x14a,_0x559108[_0x150770(0x25b)]);_0x401429+=pair(0x64,_0x150770(0x2ad));if(_0x559108['inPaperSpace'])_0x401429+=pairI(0x43,0x1);if(_0x559108['layer'])_0x401429+=pair(0x8,_0x559108['layer']);if(_0x559108['linetypeName'])_0x401429+=pair(0x6,_0x559108['linetypeName']);if(_0x559108[_0x150770(0x298)]!==undefined&&_0x559108[_0x150770(0x298)]!==0x0)_0x401429+=pairI(0x3e,_0x559108[_0x150770(0x298)]);if(_0x559108[_0x150770(0x26a)]!==undefined)_0x401429+=pairI(0x172,_0x559108[_0x150770(0x26a)]);if(_0x559108[_0x150770(0x27d)]!==undefined&&_0x559108['linetypeScale']!==0x1)_0x401429+=pairF(0x30,_0x559108[_0x150770(0x27d)]);if(_0x559108[_0x150770(0x250)]===![])_0x401429+=pairI(0x3c,0x1);if(_0x559108[_0x150770(0x261)])_0x401429+=pairI(0x1a4,_0x559108[_0x150770(0x261)]);return _0x401429;}function writeOneEntity(_0x426a51){const _0x13cdf9=_0x2fa3;if(!_0x426a51||!_0x426a51[_0x13cdf9(0x2a3)])return '';let _0x5119f0=pair(0x0,_0x426a51[_0x13cdf9(0x2a3)]);_0x5119f0+=writeCommonFields(_0x426a51);switch(_0x426a51[_0x13cdf9(0x2a3)]){case _0x13cdf9(0x24a):_0x5119f0+=writeLineEntity(_0x426a51);break;case _0x13cdf9(0x2b9):_0x5119f0+=writeLWPolylineEntity(_0x426a51);break;case _0x13cdf9(0x292):_0x5119f0+=writePolylineEntity(_0x426a51);break;case _0x13cdf9(0x287):_0x5119f0+=writeArcEntity(_0x426a51);break;case _0x13cdf9(0x1ca):_0x5119f0+=writeCircleEntity(_0x426a51);break;case _0x13cdf9(0x262):_0x5119f0+=writeEllipseEntity(_0x426a51);break;case _0x13cdf9(0x1b7):_0x5119f0+=writePointEntity(_0x426a51);break;case _0x13cdf9(0x2ba):_0x5119f0+=writeTextEntity(_0x426a51);break;case _0x13cdf9(0x1a9):_0x5119f0+=writeMTextEntity(_0x426a51);break;case _0x13cdf9(0x227):case _0x13cdf9(0x23a):_0x5119f0+=writeAttribEntity(_0x426a51);break;case 'INSERT':_0x5119f0+=writeInsertEntity(_0x426a51);break;case _0x13cdf9(0x1f4):_0x5119f0+=writeDimensionEntity(_0x426a51);break;case _0x13cdf9(0x24b):_0x5119f0+=writeLeaderEntity(_0x426a51);break;case 'MLEADER':_0x5119f0+=writeMLeaderEntity(_0x426a51);break;case _0x13cdf9(0x247):_0x5119f0+=writeHatchEntity(_0x426a51);break;case _0x13cdf9(0x283):_0x5119f0+=writeSplineEntity(_0x426a51);break;case 'SOLID':case _0x13cdf9(0x1d9):case _0x13cdf9(0x1ab):_0x5119f0+=writeSolidEntity(_0x426a51);break;case _0x13cdf9(0x1af):_0x5119f0+=write3DFaceEntity(_0x426a51);break;case _0x13cdf9(0x241):case _0x13cdf9(0x1c6):_0x5119f0+=writeRayEntity(_0x426a51);break;case _0x13cdf9(0x263):_0x5119f0+=writeViewportEntity(_0x426a51);break;case _0x13cdf9(0x29f):case 'WIPEOUT':_0x5119f0+=writeImageEntity(_0x426a51);break;case _0x13cdf9(0x243):_0x5119f0+=writeToleranceEntity(_0x426a51);break;case _0x13cdf9(0x242):_0x5119f0+=writeHelixEntity(_0x426a51);break;case 'MESH':_0x5119f0+=writeMeshEntity(_0x426a51);break;case _0x13cdf9(0x276):case _0x13cdf9(0x257):case _0x13cdf9(0x253):_0x5119f0+=writeRegionEntity(_0x426a51);break;case _0x13cdf9(0x1ed):_0x5119f0+=writeOle2Entity(_0x426a51);break;case _0x13cdf9(0x2b0):_0x5119f0+=writeTableEntity(_0x426a51);break;case _0x13cdf9(0x254):_0x5119f0+=writeMLineEntity(_0x426a51);break;case _0x13cdf9(0x252):break;default:_0x5119f0+=writeGenericEntity(_0x426a51);break;}return _0x5119f0;}function writeLineEntity(_0x4dbed4){const _0x5bbcfb=_0x2fa3;let _0x158d2e=pair(0x64,_0x5bbcfb(0x2c0));if(_0x4dbed4['thickness'])_0x158d2e+=pairF(0x27,_0x4dbed4[_0x5bbcfb(0x2b2)]);return _0x158d2e+=writePoint3D(0xa,_0x4dbed4[_0x5bbcfb(0x213)]),_0x158d2e+=writePoint3D(0xb,_0x4dbed4[_0x5bbcfb(0x2a4)]),_0x158d2e+=writeExtrusion(_0x4dbed4['extrusionDirection']),_0x158d2e;}function writeLWPolylineEntity(_0x41f75e){const _0x4a99c1=_0x2fa3;let _0x347ee7=pair(0x64,_0x4a99c1(0x1eb));const _0x5b4072=_0x41f75e[_0x4a99c1(0x23d)]||[];_0x347ee7+=pairI(0x5a,_0x5b4072[_0x4a99c1(0x1f8)]);let _0x423ecc=0x0;if(_0x41f75e[_0x4a99c1(0x238)])_0x423ecc|=0x1;_0x347ee7+=pairI(0x46,_0x423ecc);if(_0x41f75e[_0x4a99c1(0x225)])_0x347ee7+=pairF(0x2b,_0x41f75e['constantWidth']);if(_0x41f75e[_0x4a99c1(0x1bb)])_0x347ee7+=pairF(0x26,_0x41f75e[_0x4a99c1(0x1bb)]);if(_0x41f75e[_0x4a99c1(0x2b2)])_0x347ee7+=pairF(0x27,_0x41f75e[_0x4a99c1(0x2b2)]);for(const _0x4355cc of _0x5b4072){_0x347ee7+=pairF(0xa,_0x4355cc['x']),_0x347ee7+=pairF(0x14,_0x4355cc['y']);if(_0x4355cc['startWidth'])_0x347ee7+=pairF(0x28,_0x4355cc[_0x4a99c1(0x208)]);if(_0x4355cc[_0x4a99c1(0x2ae)])_0x347ee7+=pairF(0x29,_0x4355cc[_0x4a99c1(0x2ae)]);if(_0x4355cc[_0x4a99c1(0x1bc)])_0x347ee7+=pairF(0x2a,_0x4355cc[_0x4a99c1(0x1bc)]);}return _0x347ee7+=writeExtrusion(_0x41f75e[_0x4a99c1(0x1a6)]),_0x347ee7;}function writePolylineEntity(_0x49c8ee){const _0x42b5de=_0x2fa3;let _0x881821=pair(0x64,_0x42b5de(0x29c)),_0x1bd837=_0x49c8ee[_0x42b5de(0x279)]||0x0;if(_0x49c8ee[_0x42b5de(0x238)])_0x1bd837|=0x1;_0x881821+=pairI(0x46,_0x1bd837),_0x881821+=pairF(0xa,0x0),_0x881821+=pairF(0x14,0x0);if(_0x49c8ee[_0x42b5de(0x1bb)])_0x881821+=pairF(0x1e,_0x49c8ee[_0x42b5de(0x1bb)]);if(_0x49c8ee['thickness'])_0x881821+=pairF(0x27,_0x49c8ee['thickness']);if(_0x49c8ee[_0x42b5de(0x201)])_0x881821+=pairF(0x28,_0x49c8ee[_0x42b5de(0x201)]);if(_0x49c8ee[_0x42b5de(0x27e)])_0x881821+=pairF(0x29,_0x49c8ee[_0x42b5de(0x27e)]);if(_0x49c8ee[_0x42b5de(0x216)])_0x881821+=pairI(0x47,_0x49c8ee[_0x42b5de(0x216)]);if(_0x49c8ee[_0x42b5de(0x21f)])_0x881821+=pairI(0x48,_0x49c8ee['meshNVertexCount']);_0x881821+=writeExtrusion(_0x49c8ee[_0x42b5de(0x1a6)]);if(_0x49c8ee[_0x42b5de(0x23d)]&&_0x49c8ee[_0x42b5de(0x23d)][_0x42b5de(0x1f8)]>0x0){for(const _0x42a96c of _0x49c8ee['vertices']){_0x881821+=pair(0x0,_0x42b5de(0x232));if(_0x49c8ee['handle'])_0x881821+=pair(0x5,'');_0x881821+=pair(0x64,'AcDbEntity');if(_0x49c8ee[_0x42b5de(0x1f9)])_0x881821+=pair(0x8,_0x49c8ee[_0x42b5de(0x1f9)]);_0x881821+=pair(0x64,_0x42b5de(0x259)),_0x881821+=pair(0x64,_0x42b5de(0x28b)),_0x881821+=pairF(0xa,_0x42a96c['x']),_0x881821+=pairF(0x14,_0x42a96c['y']),_0x881821+=pairF(0x1e,_0x42a96c['z']||0x0);if(_0x42a96c[_0x42b5de(0x208)])_0x881821+=pairF(0x28,_0x42a96c[_0x42b5de(0x208)]);if(_0x42a96c['endWidth'])_0x881821+=pairF(0x29,_0x42a96c['endWidth']);if(_0x42a96c['bulge'])_0x881821+=pairF(0x2a,_0x42a96c[_0x42b5de(0x1bc)]);if(_0x42a96c[_0x42b5de(0x279)])_0x881821+=pairI(0x46,_0x42a96c[_0x42b5de(0x279)]);}_0x881821+=pair(0x0,_0x42b5de(0x252)),_0x881821+=pair(0x64,'AcDbEntity');if(_0x49c8ee[_0x42b5de(0x1f9)])_0x881821+=pair(0x8,_0x49c8ee[_0x42b5de(0x1f9)]);}return _0x881821;}function writeArcEntity(_0x49bbd6){const _0x591cae=_0x2fa3;let _0x80f82a=pair(0x64,'AcDbCircle');if(_0x49bbd6[_0x591cae(0x2b2)])_0x80f82a+=pairF(0x27,_0x49bbd6[_0x591cae(0x2b2)]);return _0x80f82a+=writePoint3D(0xa,_0x49bbd6[_0x591cae(0x1aa)]),_0x80f82a+=pairF(0x28,_0x49bbd6[_0x591cae(0x27f)]),_0x80f82a+=writeExtrusion(_0x49bbd6['extrusionDirection']),_0x80f82a+=pair(0x64,_0x591cae(0x1fb)),_0x80f82a+=pairF(0x32,_0x49bbd6[_0x591cae(0x260)]),_0x80f82a+=pairF(0x33,_0x49bbd6['endAngle']),_0x80f82a;}function writeCircleEntity(_0x5ac71a){const _0x5cc5b4=_0x2fa3;let _0xfb91a8=pair(0x64,_0x5cc5b4(0x278));if(_0x5ac71a[_0x5cc5b4(0x2b2)])_0xfb91a8+=pairF(0x27,_0x5ac71a[_0x5cc5b4(0x2b2)]);return _0xfb91a8+=writePoint3D(0xa,_0x5ac71a[_0x5cc5b4(0x1aa)]),_0xfb91a8+=pairF(0x28,_0x5ac71a[_0x5cc5b4(0x27f)]),_0xfb91a8+=writeExtrusion(_0x5ac71a[_0x5cc5b4(0x1a6)]),_0xfb91a8;}function writeEllipseEntity(_0x5d0e4c){const _0x2c05c8=_0x2fa3;let _0x545ca4=pair(0x64,_0x2c05c8(0x1d1));return _0x545ca4+=writePoint3D(0xa,_0x5d0e4c[_0x2c05c8(0x1aa)]),_0x545ca4+=writePoint3D(0xb,_0x5d0e4c[_0x2c05c8(0x205)]),_0x545ca4+=writeExtrusion(_0x5d0e4c[_0x2c05c8(0x1a6)]),_0x545ca4+=pairF(0x28,_0x5d0e4c[_0x2c05c8(0x221)]),_0x545ca4+=pairF(0x29,_0x5d0e4c[_0x2c05c8(0x260)]),_0x545ca4+=pairF(0x2a,_0x5d0e4c[_0x2c05c8(0x277)]),_0x545ca4;}function writePointEntity(_0x4886d9){const _0x9a6594=_0x2fa3;let _0x47f963=pair(0x64,_0x9a6594(0x22d));_0x47f963+=writePoint3D(0xa,_0x4886d9[_0x9a6594(0x26f)]);if(_0x4886d9[_0x9a6594(0x2b2)])_0x47f963+=pairF(0x27,_0x4886d9[_0x9a6594(0x2b2)]);if(_0x4886d9[_0x9a6594(0x1b4)])_0x47f963+=pairF(0x32,_0x4886d9[_0x9a6594(0x1b4)]);return _0x47f963+=writeExtrusion(_0x4886d9[_0x9a6594(0x1a6)]),_0x47f963;}function writeTextEntity(_0x287fd3){const _0x2e3fd7=_0x2fa3;let _0x470470=pair(0x64,'AcDbText');if(_0x287fd3['thickness'])_0x470470+=pairF(0x27,_0x287fd3[_0x2e3fd7(0x2b2)]);_0x470470+=writePoint3D(0xa,_0x287fd3['insertionPoint']),_0x470470+=pairF(0x28,_0x287fd3['height']),_0x470470+=pair(0x1,_0x287fd3[_0x2e3fd7(0x219)]);if(_0x287fd3[_0x2e3fd7(0x1fe)])_0x470470+=pairF(0x32,_0x287fd3[_0x2e3fd7(0x1fe)]);if(_0x287fd3[_0x2e3fd7(0x281)]&&_0x287fd3[_0x2e3fd7(0x281)]!==0x1)_0x470470+=pairF(0x29,_0x287fd3[_0x2e3fd7(0x281)]);if(_0x287fd3[_0x2e3fd7(0x29d)])_0x470470+=pairF(0x33,_0x287fd3[_0x2e3fd7(0x29d)]);if(_0x287fd3['styleName']&&_0x287fd3[_0x2e3fd7(0x266)]!==_0x2e3fd7(0x1e8))_0x470470+=pair(0x7,_0x287fd3[_0x2e3fd7(0x266)]);if(_0x287fd3['generationFlags'])_0x470470+=pairI(0x47,_0x287fd3[_0x2e3fd7(0x1be)]);if(_0x287fd3['hAlign'])_0x470470+=pairI(0x48,_0x287fd3[_0x2e3fd7(0x248)]);_0x470470+=writePoint3D(0xb,_0x287fd3[_0x2e3fd7(0x28e)]),_0x470470+=writeExtrusion(_0x287fd3[_0x2e3fd7(0x1a6)]),_0x470470+=pair(0x64,'AcDbText');if(_0x287fd3[_0x2e3fd7(0x1d8)])_0x470470+=pairI(0x49,_0x287fd3[_0x2e3fd7(0x1d8)]);return _0x470470;}function writeMTextEntity(_0x445702){const _0x4486fb=_0x2fa3;let _0x1aff1c=pair(0x64,_0x4486fb(0x202));_0x1aff1c+=writePoint3D(0xa,_0x445702[_0x4486fb(0x1b1)]),_0x1aff1c+=pairF(0x28,_0x445702[_0x4486fb(0x1b3)]);if(_0x445702[_0x4486fb(0x1c1)])_0x1aff1c+=pairF(0x29,_0x445702[_0x4486fb(0x1c1)]);if(_0x445702[_0x4486fb(0x29b)])_0x1aff1c+=pairI(0x47,_0x445702[_0x4486fb(0x29b)]);if(_0x445702[_0x4486fb(0x1d7)])_0x1aff1c+=pairI(0x48,_0x445702[_0x4486fb(0x1d7)]);const _0x38e3f9=_0x445702[_0x4486fb(0x219)]||'';if(_0x38e3f9[_0x4486fb(0x1f8)]>0xfa){let _0x32c388=_0x38e3f9;while(_0x32c388[_0x4486fb(0x1f8)]>0xfa){_0x1aff1c+=pair(0x3,_0x32c388[_0x4486fb(0x239)](0x0,0xfa)),_0x32c388=_0x32c388[_0x4486fb(0x239)](0xfa);}_0x1aff1c+=pair(0x1,_0x32c388);}else _0x1aff1c+=pair(0x1,_0x38e3f9);if(_0x445702[_0x4486fb(0x266)]&&_0x445702['styleName']!==_0x4486fb(0x1e8))_0x1aff1c+=pair(0x7,_0x445702[_0x4486fb(0x266)]);if(_0x445702[_0x4486fb(0x1fe)])_0x1aff1c+=pairF(0x32,_0x445702[_0x4486fb(0x1fe)]);if(_0x445702['lineSpacingStyle'])_0x1aff1c+=pairI(0x49,_0x445702[_0x4486fb(0x235)]);if(_0x445702[_0x4486fb(0x1c8)]&&_0x445702[_0x4486fb(0x1c8)]!==0x1)_0x1aff1c+=pairF(0x2c,_0x445702[_0x4486fb(0x1c8)]);return _0x1aff1c+=writePoint3D(0xb,_0x445702[_0x4486fb(0x20a)]),_0x1aff1c+=writeExtrusion(_0x445702[_0x4486fb(0x1a6)]),_0x1aff1c;}function writeAttribEntity(_0x1a756a){const _0x11b2ab=_0x2fa3,_0xc19680=_0x1a756a[_0x11b2ab(0x2a3)]===_0x11b2ab(0x23a);let _0x747861=pair(0x64,_0xc19680?_0x11b2ab(0x21e):_0x11b2ab(0x1cd));_0x747861+=writePoint3D(0xa,_0x1a756a[_0x11b2ab(0x1b1)]),_0x747861+=pairF(0x28,_0x1a756a[_0x11b2ab(0x1b3)]),_0x747861+=pair(0x1,_0x1a756a['text']);if(_0x1a756a[_0x11b2ab(0x222)])_0x747861+=pair(0x2,_0x1a756a[_0x11b2ab(0x222)]);if(_0x1a756a[_0x11b2ab(0x217)])_0x747861+=pair(0x3,_0x1a756a[_0x11b2ab(0x217)]);if(_0x1a756a['flags'])_0x747861+=pairI(0x46,_0x1a756a[_0x11b2ab(0x279)]);if(_0x1a756a[_0x11b2ab(0x1fe)])_0x747861+=pairF(0x32,_0x1a756a[_0x11b2ab(0x1fe)]);if(_0x1a756a[_0x11b2ab(0x281)]&&_0x1a756a[_0x11b2ab(0x281)]!==0x1)_0x747861+=pairF(0x29,_0x1a756a[_0x11b2ab(0x281)]);if(_0x1a756a['styleName']&&_0x1a756a[_0x11b2ab(0x266)]!==_0x11b2ab(0x1e8))_0x747861+=pair(0x7,_0x1a756a[_0x11b2ab(0x266)]);if(_0x1a756a[_0x11b2ab(0x1be)])_0x747861+=pairI(0x47,_0x1a756a[_0x11b2ab(0x1be)]);if(_0x1a756a[_0x11b2ab(0x248)])_0x747861+=pairI(0x48,_0x1a756a[_0x11b2ab(0x248)]);if(_0x1a756a[_0x11b2ab(0x1d8)])_0x747861+=pairI(0x49,_0x1a756a['vAlign']);return _0x747861+=writePoint3D(0xb,_0x1a756a[_0x11b2ab(0x28e)]),_0x747861;}function writeInsertEntity(_0x6861f4){const _0x550bf8=_0x2fa3;let _0x5c1355=pair(0x64,_0x550bf8(0x24c));if(_0x6861f4['hasAttributes'])_0x5c1355+=pairI(0x42,0x1);_0x5c1355+=pair(0x2,_0x6861f4[_0x550bf8(0x1f3)]),_0x5c1355+=writePoint3D(0xa,_0x6861f4[_0x550bf8(0x1b1)]);if(_0x6861f4[_0x550bf8(0x285)]){if(_0x6861f4[_0x550bf8(0x285)]['x']!==0x1)_0x5c1355+=pairF(0x29,_0x6861f4[_0x550bf8(0x285)]['x']);if(_0x6861f4[_0x550bf8(0x285)]['y']!==0x1)_0x5c1355+=pairF(0x2a,_0x6861f4[_0x550bf8(0x285)]['y']);if(_0x6861f4[_0x550bf8(0x285)]['z']!==0x1)_0x5c1355+=pairF(0x2b,_0x6861f4[_0x550bf8(0x285)]['z']);}if(_0x6861f4[_0x550bf8(0x1fe)])_0x5c1355+=pairF(0x32,_0x6861f4[_0x550bf8(0x1fe)]);if(_0x6861f4[_0x550bf8(0x244)]&&_0x6861f4[_0x550bf8(0x244)]!==0x1)_0x5c1355+=pairI(0x46,_0x6861f4[_0x550bf8(0x244)]);if(_0x6861f4[_0x550bf8(0x20b)]&&_0x6861f4[_0x550bf8(0x20b)]!==0x1)_0x5c1355+=pairI(0x47,_0x6861f4['rowCount']);if(_0x6861f4[_0x550bf8(0x2b1)])_0x5c1355+=pairF(0x2c,_0x6861f4[_0x550bf8(0x2b1)]);if(_0x6861f4[_0x550bf8(0x272)])_0x5c1355+=pairF(0x2d,_0x6861f4[_0x550bf8(0x272)]);_0x5c1355+=writeExtrusion(_0x6861f4[_0x550bf8(0x1a6)]);if(_0x6861f4[_0x550bf8(0x1ad)]&&_0x6861f4[_0x550bf8(0x1ad)][_0x550bf8(0x1f8)]>0x0){for(const _0x3abaf2 of _0x6861f4['attributes']){_0x5c1355+=writeOneEntity(_0x3abaf2);}_0x5c1355+=pair(0x0,'SEQEND'),_0x5c1355+=pair(0x64,_0x550bf8(0x2ad));if(_0x6861f4[_0x550bf8(0x1f9)])_0x5c1355+=pair(0x8,_0x6861f4[_0x550bf8(0x1f9)]);}return _0x5c1355;}function writeDimensionEntity(_0x408ea1){const _0x24d7af=_0x2fa3;let _0x314ec7=pair(0x64,_0x24d7af(0x299));if(_0x408ea1[_0x24d7af(0x1f3)])_0x314ec7+=pair(0x2,_0x408ea1[_0x24d7af(0x1f3)]);_0x314ec7+=writePoint3D(0xa,_0x408ea1['definitionPoint']),_0x314ec7+=writePoint3D(0xb,_0x408ea1[_0x24d7af(0x200)]);if(_0x408ea1['dimensionType']!==undefined)_0x314ec7+=pairI(0x46,_0x408ea1['dimensionType']);if(_0x408ea1[_0x24d7af(0x29b)])_0x314ec7+=pairI(0x47,_0x408ea1[_0x24d7af(0x29b)]);if(_0x408ea1[_0x24d7af(0x219)])_0x314ec7+=pair(0x1,_0x408ea1[_0x24d7af(0x219)]);if(_0x408ea1[_0x24d7af(0x266)]&&_0x408ea1[_0x24d7af(0x266)]!==_0x24d7af(0x1e8))_0x314ec7+=pair(0x3,_0x408ea1[_0x24d7af(0x266)]);if(_0x408ea1['rotation'])_0x314ec7+=pairF(0x32,_0x408ea1[_0x24d7af(0x1fe)]);const _0x351958=(_0x408ea1['dimensionType']||0x0)&0xf;switch(_0x351958){case 0x0:case 0x1:_0x314ec7+=pair(0x64,_0x24d7af(0x273)),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1[_0x24d7af(0x224)]);if(_0x408ea1['extensionLineAngle'])_0x314ec7+=pairF(0x34,_0x408ea1[_0x24d7af(0x20e)]);_0x351958===0x0&&(_0x314ec7+=pair(0x64,_0x24d7af(0x1d2)));break;case 0x2:_0x314ec7+=pair(0x64,_0x24d7af(0x23e)),_0x314ec7+=writePoint3D(0xd,_0x408ea1['point1']),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);if(_0x408ea1[_0x24d7af(0x233)])_0x314ec7+=writePoint3D(0xf,_0x408ea1['point3']);break;case 0x3:case 0x4:_0x314ec7+=pair(0x64,_0x351958===0x3?'AcDbDiametricDimension':_0x24d7af(0x249)),_0x314ec7+=writePoint3D(0xf,_0x408ea1[_0x24d7af(0x233)]||_0x408ea1['point1']);if(_0x408ea1[_0x24d7af(0x21d)])_0x314ec7+=pairF(0x28,_0x408ea1['leaderLength']);break;case 0x5:_0x314ec7+=pair(0x64,_0x24d7af(0x23e)),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1[_0x24d7af(0x224)]);if(_0x408ea1[_0x24d7af(0x233)])_0x314ec7+=writePoint3D(0xf,_0x408ea1[_0x24d7af(0x233)]);break;case 0x6:_0x314ec7+=pair(0x64,'AcDbOrdinateDimension'),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);break;default:_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);break;}return _0x314ec7;}function writeLeaderEntity(_0x1b0cb6){const _0x8a8608=_0x2fa3;let _0x20672f=pair(0x64,_0x8a8608(0x1df));if(_0x1b0cb6[_0x8a8608(0x266)])_0x20672f+=pair(0x3,_0x1b0cb6[_0x8a8608(0x266)]);if(_0x1b0cb6[_0x8a8608(0x1fa)]!==undefined)_0x20672f+=pairI(0x47,_0x1b0cb6['arrowheadFlag']);if(_0x1b0cb6['pathType']!==undefined)_0x20672f+=pairI(0x48,_0x1b0cb6[_0x8a8608(0x22c)]);if(_0x1b0cb6[_0x8a8608(0x1de)]!==undefined)_0x20672f+=pairI(0x49,_0x1b0cb6[_0x8a8608(0x1de)]);if(_0x1b0cb6[_0x8a8608(0x2a0)]!==undefined)_0x20672f+=pairI(0x4a,_0x1b0cb6['hooklineDirectionFlag']);if(_0x1b0cb6[_0x8a8608(0x28d)]!==undefined)_0x20672f+=pairI(0x4b,_0x1b0cb6['hooklineFlag']);if(_0x1b0cb6['textHeight'])_0x20672f+=pairF(0x28,_0x1b0cb6[_0x8a8608(0x21c)]);if(_0x1b0cb6['textWidth'])_0x20672f+=pairF(0x29,_0x1b0cb6['textWidth']);const _0x562d1b=_0x1b0cb6['vertices']||[];_0x20672f+=pairI(0x4c,_0x562d1b[_0x8a8608(0x1f8)]);for(const _0x32011f of _0x562d1b){_0x20672f+=writePoint3D(0xa,_0x32011f);}if(_0x1b0cb6[_0x8a8608(0x255)])_0x20672f+=pair(0x154,_0x1b0cb6[_0x8a8608(0x255)]);return _0x1b0cb6[_0x8a8608(0x1f6)]&&(_0x20672f+=pairF(0xd2,_0x1b0cb6['normal']['x']),_0x20672f+=pairF(0xdc,_0x1b0cb6[_0x8a8608(0x1f6)]['y']),_0x20672f+=pairF(0xe6,_0x1b0cb6['normal']['z'])),_0x1b0cb6[_0x8a8608(0x2ab)]&&(_0x20672f+=pairF(0xd3,_0x1b0cb6[_0x8a8608(0x2ab)]['x']),_0x20672f+=pairF(0xdd,_0x1b0cb6['horizontalDirection']['y']),_0x20672f+=pairF(0xe7,_0x1b0cb6[_0x8a8608(0x2ab)]['z'])),_0x20672f;}function writeMLeaderEntity(_0x3bb4f2){const _0x58569d=_0x2fa3;let _0x3f61bf=pair(0x64,_0x58569d(0x25e));if(_0x3bb4f2['styleName'])_0x3f61bf+=pair(0x3,_0x3bb4f2[_0x58569d(0x266)]);if(_0x3bb4f2['contentType']!==undefined)_0x3f61bf+=pairI(0xaa,_0x3bb4f2[_0x58569d(0x215)]);if(_0x3bb4f2[_0x58569d(0x219)])_0x3f61bf+=pair(0x130,_0x3bb4f2[_0x58569d(0x219)]);if(_0x3bb4f2[_0x58569d(0x211)])_0x3f61bf+=pair(0x154,_0x3bb4f2[_0x58569d(0x211)]);if(_0x3bb4f2[_0x58569d(0x28a)])_0x3f61bf+=pairF(0x28,_0x3bb4f2[_0x58569d(0x28a)]);if(_0x3bb4f2[_0x58569d(0x1f0)])_0x3f61bf+=pairF(0x29,_0x3bb4f2[_0x58569d(0x1f0)]);if(_0x3bb4f2['textHeight'])_0x3f61bf+=pairF(0x2a,_0x3bb4f2[_0x58569d(0x21c)]);if(_0x3bb4f2[_0x58569d(0x1b2)])for(const _0x4f4597 of _0x3bb4f2[_0x58569d(0x1b2)]){_0x3f61bf+=writePoint3D(0xa,_0x4f4597);}return _0x3f61bf;}function writeHatchEntity(_0x3fa664){const _0x4972f1=_0x2fa3;let _0x4ec512=pair(0x64,'AcDbHatch');_0x4ec512+=pairF(0xa,0x0),_0x4ec512+=pairF(0x14,0x0),_0x4ec512+=pairF(0x1e,_0x3fa664[_0x4972f1(0x1bb)]||0x0),_0x4ec512+=writeExtrusion(_0x3fa664[_0x4972f1(0x1a6)]),_0x4ec512+=pair(0x2,_0x3fa664[_0x4972f1(0x1c2)]||''),_0x4ec512+=pairI(0x46,_0x3fa664[_0x4972f1(0x269)]?0x1:0x0),_0x4ec512+=pairI(0x47,_0x3fa664[_0x4972f1(0x29a)]?0x1:0x0);const _0x1769f6=_0x3fa664[_0x4972f1(0x1bf)]||[];_0x4ec512+=pairI(0x5b,_0x1769f6[_0x4972f1(0x1f8)]);for(const _0x3f8287 of _0x1769f6){_0x4ec512+=pairI(0x5c,_0x3f8287[_0x4972f1(0x2a3)]||0x0);if(_0x3f8287[_0x4972f1(0x1ce)]&&_0x3f8287['points'][_0x4972f1(0x1f8)]>0x0){_0x4ec512+=pairI(0x5d,_0x3f8287[_0x4972f1(0x1ce)][_0x4972f1(0x1f8)]);for(const _0x3cdd3d of _0x3f8287[_0x4972f1(0x1ce)]){_0x4ec512+=pairF(0xa,_0x3cdd3d['x']),_0x4ec512+=pairF(0x14,_0x3cdd3d['y']||0x0);}}}_0x4ec512+=pairI(0x4b,_0x3fa664[_0x4972f1(0x1d6)]||0x0),_0x4ec512+=pairI(0x4c,_0x3fa664[_0x4972f1(0x1fd)]||0x0);if(!_0x3fa664[_0x4972f1(0x269)]){if(_0x3fa664['patternAngle'])_0x4ec512+=pairF(0x34,_0x3fa664[_0x4972f1(0x230)]);if(_0x3fa664[_0x4972f1(0x26e)])_0x4ec512+=pairF(0x29,_0x3fa664[_0x4972f1(0x26e)]);}const _0x2d2aec=_0x3fa664[_0x4972f1(0x25a)]||[];_0x4ec512+=pairI(0x62,_0x2d2aec[_0x4972f1(0x1f8)]);for(const _0x53bdd4 of _0x2d2aec){_0x4ec512+=pairF(0xa,_0x53bdd4['x']),_0x4ec512+=pairF(0x14,_0x53bdd4['y']||0x0);}return _0x4ec512;}function writeSplineEntity(_0x3f69b0){const _0x5149d0=_0x2fa3;let _0x245b9c=pair(0x64,_0x5149d0(0x2a9));_0x3f69b0[_0x5149d0(0x1f6)]&&(_0x245b9c+=pairF(0xd2,_0x3f69b0[_0x5149d0(0x1f6)]['x']),_0x245b9c+=pairF(0xdc,_0x3f69b0[_0x5149d0(0x1f6)]['y']),_0x245b9c+=pairF(0xe6,_0x3f69b0[_0x5149d0(0x1f6)]['z']));let _0x2d6387=_0x3f69b0[_0x5149d0(0x279)]||0x0;if(_0x3f69b0[_0x5149d0(0x238)])_0x2d6387|=0x1;if(_0x3f69b0['periodic'])_0x2d6387|=0x2;if(_0x3f69b0['rational'])_0x2d6387|=0x4;if(_0x3f69b0[_0x5149d0(0x23c)])_0x2d6387|=0x8;_0x245b9c+=pairI(0x46,_0x2d6387),_0x245b9c+=pairI(0x47,_0x3f69b0[_0x5149d0(0x2c4)]||0x3);const _0x2c5f07=_0x3f69b0['knots']||[],_0x46cd74=_0x3f69b0[_0x5149d0(0x264)]||[],_0x46e03b=_0x3f69b0[_0x5149d0(0x207)]||[];_0x245b9c+=pairI(0x48,_0x2c5f07[_0x5149d0(0x1f8)]),_0x245b9c+=pairI(0x49,_0x46cd74[_0x5149d0(0x1f8)]),_0x245b9c+=pairI(0x4a,_0x46e03b['length']);if(_0x3f69b0[_0x5149d0(0x206)])_0x245b9c+=pairF(0x2a,_0x3f69b0[_0x5149d0(0x206)]);if(_0x3f69b0[_0x5149d0(0x1ec)])_0x245b9c+=pairF(0x2b,_0x3f69b0['controlPointTolerance']);if(_0x3f69b0['fitTolerance'])_0x245b9c+=pairF(0x2c,_0x3f69b0[_0x5149d0(0x1e3)]);if(_0x3f69b0[_0x5149d0(0x1dd)])_0x245b9c+=writePoint3D(0xc,_0x3f69b0[_0x5149d0(0x1dd)]);if(_0x3f69b0['endTangent'])_0x245b9c+=writePoint3D(0xd,_0x3f69b0[_0x5149d0(0x1da)]);for(const _0x5e5ad8 of _0x2c5f07){_0x245b9c+=pairF(0x28,_0x5e5ad8);}if(_0x3f69b0[_0x5149d0(0x270)])for(const _0x35a15c of _0x3f69b0[_0x5149d0(0x270)]){_0x245b9c+=pairF(0x29,_0x35a15c);}for(const _0x5d4033 of _0x46cd74){_0x245b9c+=writePoint3D(0xa,_0x5d4033);}for(const _0x35717b of _0x46e03b){_0x245b9c+=writePoint3D(0xb,_0x35717b);}return _0x245b9c;}function writeSolidEntity(_0x3b1dfe){const _0x4a573e=_0x2fa3;let _0x30ba38=_0x4a573e(0x226);if(_0x3b1dfe[_0x4a573e(0x2a3)]===_0x4a573e(0x1ff))_0x30ba38='AcDbTrace';else {if(_0x3b1dfe[_0x4a573e(0x2a3)]==='3DSOLID')_0x30ba38=_0x4a573e(0x1c7);}let _0xcf4872=pair(0x64,_0x30ba38);const _0x59bc7b=_0x3b1dfe['points']||[];if(_0x59bc7b[0x0])_0xcf4872+=writePoint3D(0xa,_0x59bc7b[0x0]);if(_0x59bc7b[0x1])_0xcf4872+=writePoint3D(0xb,_0x59bc7b[0x1]);if(_0x59bc7b[0x2])_0xcf4872+=writePoint3D(0xc,_0x59bc7b[0x2]);if(_0x59bc7b[0x3])_0xcf4872+=writePoint3D(0xd,_0x59bc7b[0x3]);if(_0x3b1dfe[_0x4a573e(0x2b2)])_0xcf4872+=pairF(0x27,_0x3b1dfe['thickness']);return _0xcf4872+=writeExtrusion(_0x3b1dfe[_0x4a573e(0x1a6)]),_0xcf4872;}function write3DFaceEntity(_0x5ebfe0){const _0x47fc58=_0x2fa3;let _0x2d1acc=pair(0x64,_0x47fc58(0x24e));const _0x3357cd=_0x5ebfe0[_0x47fc58(0x23d)]||[];if(_0x3357cd[0x0])_0x2d1acc+=writePoint3D(0xa,_0x3357cd[0x0]);if(_0x3357cd[0x1])_0x2d1acc+=writePoint3D(0xb,_0x3357cd[0x1]);if(_0x3357cd[0x2])_0x2d1acc+=writePoint3D(0xc,_0x3357cd[0x2]);if(_0x3357cd[0x3])_0x2d1acc+=writePoint3D(0xd,_0x3357cd[0x3]);if(_0x5ebfe0[_0x47fc58(0x25f)])_0x2d1acc+=pairI(0x46,_0x5ebfe0[_0x47fc58(0x25f)]);return _0x2d1acc;}function writeRayEntity(_0x254b91){const _0x2cb067=_0x2fa3,_0x3ed49=_0x254b91[_0x2cb067(0x2a3)]==='RAY'?_0x2cb067(0x26d):_0x2cb067(0x1dc);let _0x2417b9=pair(0x64,_0x3ed49);return _0x2417b9+=writePoint3D(0xa,_0x254b91[_0x2cb067(0x1f7)]),_0x2417b9+=writePoint3D(0xb,_0x254b91['direction']),_0x2417b9;}function writeViewportEntity(_0x1d57cd){const _0x19a2ba=_0x2fa3;let _0x4bf36d=pair(0x64,_0x19a2ba(0x25c));_0x4bf36d+=writePoint3D(0xa,_0x1d57cd[_0x19a2ba(0x1aa)]),_0x4bf36d+=pairF(0x28,_0x1d57cd[_0x19a2ba(0x1c1)]),_0x4bf36d+=pairF(0x29,_0x1d57cd['height']);if(_0x1d57cd['id'])_0x4bf36d+=pairI(0x45,_0x1d57cd['id']);if(_0x1d57cd['viewCenter'])_0x4bf36d+=writePoint2D(0xc,_0x1d57cd['viewCenter']);if(_0x1d57cd['snapBase'])_0x4bf36d+=writePoint2D(0xd,_0x1d57cd[_0x19a2ba(0x220)]);if(_0x1d57cd[_0x19a2ba(0x1d4)])_0x4bf36d+=writePoint2D(0xe,_0x1d57cd[_0x19a2ba(0x1d4)]);if(_0x1d57cd[_0x19a2ba(0x1c0)])_0x4bf36d+=writePoint2D(0xf,_0x1d57cd[_0x19a2ba(0x1c0)]);_0x4bf36d+=writePoint3D(0x10,_0x1d57cd[_0x19a2ba(0x1f2)]),_0x4bf36d+=writePoint3D(0x11,_0x1d57cd[_0x19a2ba(0x24d)]);if(_0x1d57cd[_0x19a2ba(0x20f)])_0x4bf36d+=pairF(0x2a,_0x1d57cd['perspectiveLensLength']);if(_0x1d57cd[_0x19a2ba(0x294)])_0x4bf36d+=pairF(0x2b,_0x1d57cd[_0x19a2ba(0x294)]);if(_0x1d57cd[_0x19a2ba(0x289)])_0x4bf36d+=pairF(0x2c,_0x1d57cd[_0x19a2ba(0x289)]);if(_0x1d57cd['viewHeight'])_0x4bf36d+=pairF(0x2d,_0x1d57cd[_0x19a2ba(0x1d5)]);if(_0x1d57cd[_0x19a2ba(0x293)])_0x4bf36d+=pairF(0x32,_0x1d57cd[_0x19a2ba(0x293)]);if(_0x1d57cd[_0x19a2ba(0x2b5)])_0x4bf36d+=pairF(0x33,_0x1d57cd[_0x19a2ba(0x2b5)]);if(_0x1d57cd[_0x19a2ba(0x2b6)])_0x4bf36d+=pairI(0x44,_0x1d57cd[_0x19a2ba(0x2b6)]);if(_0x1d57cd[_0x19a2ba(0x234)])for(const _0x17cfbc of _0x1d57cd[_0x19a2ba(0x234)]){_0x4bf36d+=pair(0x14b,_0x17cfbc);}if(_0x1d57cd['clippingBoundary'])_0x4bf36d+=pair(0x154,_0x1d57cd[_0x19a2ba(0x1fc)]);return _0x4bf36d;}function writeImageEntity(_0x32bcb9){const _0x75b347=_0x2fa3;let _0x233eca=pair(0x64,_0x32bcb9[_0x75b347(0x2a3)]==='WIPEOUT'?_0x75b347(0x22b):'AcDbRasterImage');_0x233eca+=writePoint3D(0xa,_0x32bcb9[_0x75b347(0x1b1)]),_0x233eca+=writePoint3D(0xb,_0x32bcb9[_0x75b347(0x2c3)]),_0x233eca+=writePoint3D(0xc,_0x32bcb9[_0x75b347(0x2bb)]),_0x233eca+=pairF(0xd,_0x32bcb9[_0x75b347(0x26b)]?_0x32bcb9['imageSize']['u']:0x0),_0x233eca+=pairF(0x17,_0x32bcb9[_0x75b347(0x26b)]?_0x32bcb9['imageSize']['v']:0x0);if(_0x32bcb9[_0x75b347(0x282)])_0x233eca+=pair(0x154,_0x32bcb9[_0x75b347(0x282)]);if(_0x32bcb9[_0x75b347(0x296)])_0x233eca+=pairI(0x46,_0x32bcb9[_0x75b347(0x296)]);if(_0x32bcb9[_0x75b347(0x1f1)])_0x233eca+=pairI(0x47,_0x32bcb9[_0x75b347(0x1f1)]);if(_0x32bcb9[_0x75b347(0x2a2)]!==undefined)_0x233eca+=pairI(0x118,_0x32bcb9[_0x75b347(0x2a2)]);if(_0x32bcb9[_0x75b347(0x2b8)]!==undefined)_0x233eca+=pairI(0x119,_0x32bcb9[_0x75b347(0x2b8)]);if(_0x32bcb9[_0x75b347(0x28c)]!==undefined)_0x233eca+=pairI(0x11a,_0x32bcb9[_0x75b347(0x28c)]);if(_0x32bcb9['clippingVertices'])for(const _0x22d370 of _0x32bcb9['clippingVertices']){_0x233eca+=pairF(0xe,_0x22d370['x']),_0x233eca+=pairF(0x18,_0x22d370['y']||0x0);}return _0x233eca;}function writeToleranceEntity(_0x83235d){const _0x301b0b=_0x2fa3;let _0x257d0f=pair(0x64,_0x301b0b(0x22f));if(_0x83235d[_0x301b0b(0x266)])_0x257d0f+=pair(0x3,_0x83235d[_0x301b0b(0x266)]);_0x257d0f+=writePoint3D(0xa,_0x83235d['insertionPoint']);if(_0x83235d[_0x301b0b(0x219)])_0x257d0f+=pair(0x1,_0x83235d[_0x301b0b(0x219)]);return _0x257d0f+=writePoint3D(0xb,_0x83235d[_0x301b0b(0x20a)]),_0x257d0f;}function writeHelixEntity(_0x57c575){const _0x549344=_0x2fa3;let _0x4f5415=pair(0x64,_0x549344(0x271));_0x4f5415+=writePoint3D(0xa,_0x57c575['axisBasePoint']),_0x4f5415+=writePoint3D(0xb,_0x57c575[_0x549344(0x213)]),_0x4f5415+=writePoint3D(0xc,_0x57c575['axisVector']),_0x4f5415+=pairF(0x28,_0x57c575[_0x549344(0x27f)]),_0x4f5415+=pairF(0x29,_0x57c575[_0x549344(0x2bd)]),_0x4f5415+=pairF(0x2a,_0x57c575[_0x549344(0x274)]);if(_0x57c575[_0x549344(0x258)]!==undefined)_0x4f5415+=pairI(0x122,_0x57c575[_0x549344(0x258)]);if(_0x57c575['constraint']!==undefined)_0x4f5415+=pairI(0x118,_0x57c575[_0x549344(0x2c1)]);return _0x4f5415;}function writeMeshEntity(_0x20fd82){const _0x1ffb4d=_0x2fa3;let _0x36d168=pair(0x64,_0x1ffb4d(0x1c3));_0x36d168+=pairI(0x47,_0x20fd82[_0x1ffb4d(0x204)]||0x2),_0x36d168+=pairI(0x48,_0x20fd82[_0x1ffb4d(0x290)]||0x0);const _0x2db528=_0x20fd82[_0x1ffb4d(0x23d)]||[];_0x36d168+=pairI(0x5b,_0x2db528[_0x1ffb4d(0x1f8)]);for(const _0x38f491 of _0x2db528){_0x36d168+=writePoint3D(0xa,_0x38f491);}const _0x58193d=_0x20fd82[_0x1ffb4d(0x1a8)]||[];_0x36d168+=pairI(0x5c,_0x58193d[_0x1ffb4d(0x1f8)]);for(const _0x376e72 of _0x58193d){_0x36d168+=pairI(0x5a,_0x376e72);}const _0x247653=_0x20fd82[_0x1ffb4d(0x231)]||[];_0x36d168+=pairI(0x5d,_0x247653[_0x1ffb4d(0x1f8)]);for(const _0x2e2f3f of _0x247653){_0x36d168+=pairI(0x5a,_0x2e2f3f);}const _0x1e4b8e=_0x20fd82[_0x1ffb4d(0x1cb)]||[];_0x36d168+=pairI(0x5e,_0x1e4b8e[_0x1ffb4d(0x1f8)]);for(const _0x381d4d of _0x1e4b8e){_0x36d168+=pairF(0x8c,_0x381d4d);}return _0x36d168;}function writeRegionEntity(_0x2bf59c){const _0x344e1f=_0x2fa3;let _0x308c87='AcDbRegion';if(_0x2bf59c[_0x344e1f(0x2a3)]===_0x344e1f(0x257))_0x308c87=_0x344e1f(0x1a7);else {if(_0x2bf59c['type']===_0x344e1f(0x253))_0x308c87=_0x344e1f(0x210);}let _0x3e5820=pair(0x64,_0x308c87);if(_0x2bf59c[_0x344e1f(0x1ea)]!==undefined)_0x3e5820+=pairI(0x46,_0x2bf59c[_0x344e1f(0x1ea)]);const _0x292aa8=_0x2bf59c[_0x344e1f(0x1bd)]||(_0x2bf59c['acisData']||[])['join']('');if(_0x292aa8){let _0x136344=_0x292aa8;while(_0x136344['length']>0xff){_0x3e5820+=pair(0x3,_0x136344[_0x344e1f(0x239)](0x0,0xff)),_0x136344=_0x136344[_0x344e1f(0x239)](0xff);}_0x3e5820+=pair(0x1,_0x136344);}return _0x3e5820;}function writeOle2Entity(_0x54fdf8){const _0x4288b6=_0x2fa3;let _0x496329=pair(0x64,_0x4288b6(0x2aa));_0x496329+=pairI(0x46,_0x54fdf8['oleType']||0x0),_0x496329+=pairI(0x47,_0x54fdf8[_0x4288b6(0x1ac)]||0x0),_0x496329+=writePoint3D(0xa,_0x54fdf8[_0x4288b6(0x212)]),_0x496329+=writePoint3D(0xb,_0x54fdf8[_0x4288b6(0x1e9)]);if(_0x54fdf8[_0x4288b6(0x22a)])for(const _0x117a2c of _0x54fdf8[_0x4288b6(0x22a)]){_0x496329+=pair(0x1,_0x117a2c);}return _0x496329;}function writeTableEntity(_0x130b5b){const _0x2e63a5=_0x2fa3;let _0x2dff9b=pair(0x64,_0x2e63a5(0x24c));if(_0x130b5b[_0x2e63a5(0x1f3)])_0x2dff9b+=pair(0x2,_0x130b5b['blockName']);_0x2dff9b+=writePoint3D(0xa,_0x130b5b[_0x2e63a5(0x1b1)]),_0x2dff9b+=pair(0x64,_0x2e63a5(0x280)),_0x2dff9b+=writePoint3D(0xb,_0x130b5b[_0x2e63a5(0x20a)]);if(_0x130b5b['rows'])_0x2dff9b+=pairI(0x5b,_0x130b5b[_0x2e63a5(0x1e5)]);if(_0x130b5b['columns'])_0x2dff9b+=pairI(0x5c,_0x130b5b['columns']);if(_0x130b5b[_0x2e63a5(0x1b0)])for(const _0x359fe3 of _0x130b5b['rowHeights']){_0x2dff9b+=pairF(0x8e,_0x359fe3);}if(_0x130b5b[_0x2e63a5(0x1e6)])for(const _0x2f5ab0 of _0x130b5b[_0x2e63a5(0x1e6)]){_0x2dff9b+=pairF(0x8d,_0x2f5ab0);}return _0x2dff9b;}function writeMLineEntity(_0x38064f){const _0x54f32a=_0x2fa3;let _0xc81d46=pair(0x64,_0x54f32a(0x284));if(_0x38064f[_0x54f32a(0x266)])_0xc81d46+=pair(0x2,_0x38064f['styleName']);if(_0x38064f['styleHandle'])_0xc81d46+=pair(0x154,_0x38064f[_0x54f32a(0x2c2)]);_0xc81d46+=pairF(0x28,_0x38064f[_0x54f32a(0x285)]||0x1),_0xc81d46+=pairI(0x46,_0x38064f[_0x54f32a(0x1d3)]||0x0),_0xc81d46+=pairI(0x47,_0x38064f[_0x54f32a(0x279)]||0x0);const _0x112aab=_0x38064f[_0x54f32a(0x23d)]||[];_0xc81d46+=pairI(0x48,_0x112aab[_0x54f32a(0x1f8)]);if(_0x38064f[_0x54f32a(0x1e4)])_0xc81d46+=pairI(0x49,_0x38064f[_0x54f32a(0x1e4)]);_0xc81d46+=writePoint3D(0xa,_0x38064f['startPoint']);_0x38064f[_0x54f32a(0x1f6)]&&(_0xc81d46+=pairF(0xd2,_0x38064f[_0x54f32a(0x1f6)]['x']),_0xc81d46+=pairF(0xdc,_0x38064f['normal']['y']),_0xc81d46+=pairF(0xe6,_0x38064f[_0x54f32a(0x1f6)]['z']));for(const _0x509712 of _0x112aab){_0xc81d46+=pairF(0xb,_0x509712['x']),_0xc81d46+=pairF(0x15,_0x509712['y']),_0xc81d46+=pairF(0x1f,_0x509712['z']||0x0);}return _0xc81d46;}function writeGenericEntity(_0x51fb0a){const _0x4105b1=_0x2fa3;let _0x29e419='';if(_0x51fb0a[_0x4105b1(0x1cf)])for(const [_0x10c9c1,_0x55b09a]of Object[_0x4105b1(0x1c9)](_0x51fb0a[_0x4105b1(0x1cf)])){if(_0x10c9c1[_0x4105b1(0x267)]('code_')){const _0x188e52=parseInt(_0x10c9c1['replace'](_0x4105b1(0x203),'')),_0x4ba73b=[][_0x4105b1(0x2a1)](_0x55b09a);for(const _0x3506ae of _0x4ba73b){_0x29e419+=pair(_0x188e52,_0x3506ae);}}}return _0x29e419;}function writeObjects(_0x503996){const _0xb9c780=_0x2fa3;if(!_0x503996||_0x503996[_0xb9c780(0x1f8)]===0x0)return '';let _0x16bc56=pair(0x0,_0xb9c780(0x229))+pair(0x2,_0xb9c780(0x1ae));for(const _0xff6250 of _0x503996){_0x16bc56+=pair(0x0,_0xff6250[_0xb9c780(0x2a3)]);if(_0xff6250[_0xb9c780(0x1c5)])_0x16bc56+=pair(0x5,_0xff6250['handle']);if(_0xff6250[_0xb9c780(0x25b)])_0x16bc56+=pair(0x14a,_0xff6250['ownerHandle']);if(_0xff6250[_0xb9c780(0x20d)])_0x16bc56+=pair(0x2,_0xff6250[_0xb9c780(0x20d)]);if(_0xff6250[_0xb9c780(0x1e2)]){const _0x63b035=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x1e2)]);for(const _0x274c0d of _0x63b035){_0x16bc56+=pair(0x3,_0x274c0d);}}if(_0xff6250[_0xb9c780(0x1a5)]){const _0x57f183=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x1a5)]);for(const _0x5bc99b of _0x57f183){_0x16bc56+=pair(0x15e,_0x5bc99b);}}if(_0xff6250[_0xb9c780(0x209)]){const _0x45a1f3=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x209)]);for(const _0x286e86 of _0x45a1f3){_0x16bc56+=pair(0x168,_0x286e86);}}for(const [_0x2c420c,_0x259d4d]of Object[_0xb9c780(0x1c9)](_0xff6250)){if(_0x2c420c[_0xb9c780(0x267)](_0xb9c780(0x203))){const _0x5a59e4=parseInt(_0x2c420c[_0xb9c780(0x240)]('code_','')),_0x504889=[][_0xb9c780(0x2a1)](_0x259d4d);for(const _0x1af09d of _0x504889){_0x16bc56+=pair(_0x5a59e4,_0x1af09d);}}}}return _0x16bc56+=pair(0x0,'ENDSEC'),_0x16bc56;}function writeDxf(_0x5ac3b2){const _0x2f0b06=_0x2fa3;let _0x2f3313='';return _0x2f3313+=writeHeader(_0x5ac3b2[_0x2f0b06(0x251)]),_0x2f3313+=writeClasses(_0x5ac3b2[_0x2f0b06(0x1e1)]),_0x2f3313+=writeTables(_0x5ac3b2[_0x2f0b06(0x1a3)]),_0x2f3313+=writeBlocks(_0x5ac3b2[_0x2f0b06(0x2bf)]),_0x2f3313+=writeEntitiesSection(_0x5ac3b2[_0x2f0b06(0x1e0)]),_0x2f3313+=writeObjects(_0x5ac3b2[_0x2f0b06(0x2a8)]),_0x2f3313+=pair(0x0,_0x2f0b06(0x1a4)),_0x2f3313;}async function writeDxfFile(_0x340790,_0x4edff9){const _0x156a48=_0x2fa3,_0x979df9=writeDxf(_0x340790);if(typeof process!==_0x156a48(0x26c)&&process[_0x156a48(0x2b7)]?.[_0x156a48(0x1ee)]){const {writeFile:_0x24c327}=await import(_0x156a48(0x265));await _0x24c327(_0x4edff9,_0x979df9,_0x156a48(0x1d0));}else throw new Error(_0x156a48(0x28f));}function downloadDxfFile(_0xa98cd1,_0x4a0385=_0x1cdf2c(0x27a)){const _0x32bb2b=_0x1cdf2c,_0x23fc18=writeDxf(_0xa98cd1),_0x14c4bf=new Blob([_0x23fc18],{'type':'application/dxf'}),_0x424422=URL[_0x32bb2b(0x1ba)](_0x14c4bf),_0x51818c=document[_0x32bb2b(0x29e)]('a');_0x51818c['href']=_0x424422,_0x51818c[_0x32bb2b(0x223)]=_0x4a0385,_0x51818c[_0x32bb2b(0x214)](),URL['revokeObjectURL'](_0x424422);}
6
6
 
7
- function _0x4dfe(_0x166e02,_0x219141){_0x166e02=_0x166e02-0x1aa;var _0x12bdd4=_0x12bd();var _0x4dfe02=_0x12bdd4[_0x166e02];return _0x4dfe02;}function _0x12bd(){var _0x3d9ba7=['326016bDBFNX','372ixoLvz','108mxVDJS','124510GoGmkb','6520385RcisvS','7xohYgd','26rwMnSp','719880xtnbTQ','20660SabRwU','1590110xInntp','110slAZtH','36kpBXQt','3200951yLqONx'];_0x12bd=function(){return _0x3d9ba7;};return _0x12bd();}(function(_0x15d144,_0x3b8bed){var _0x308ba2=_0x4dfe,_0x2ec28d=_0x15d144();while(!![]){try{var _0x18ecca=-parseInt(_0x308ba2(0x1aa))/0x1*(-parseInt(_0x308ba2(0x1ad))/0x2)+parseInt(_0x308ba2(0x1b5))/0x3*(parseInt(_0x308ba2(0x1af))/0x4)+parseInt(_0x308ba2(0x1ab))/0x5+-parseInt(_0x308ba2(0x1ae))/0x6*(-parseInt(_0x308ba2(0x1ac))/0x7)+parseInt(_0x308ba2(0x1b4))/0x8*(-parseInt(_0x308ba2(0x1b6))/0x9)+-parseInt(_0x308ba2(0x1b0))/0xa*(parseInt(_0x308ba2(0x1b1))/0xb)+parseInt(_0x308ba2(0x1b2))/0xc*(-parseInt(_0x308ba2(0x1b3))/0xd);if(_0x18ecca===_0x3b8bed)break;else _0x2ec28d['push'](_0x2ec28d['shift']());}catch(_0x5d1ac9){_0x2ec28d['push'](_0x2ec28d['shift']());}}}(_0x12bd,0xd3434));
7
+ (function(_0x2cba8a,_0x5306a5){var _0x5858e0=_0x4f80,_0x6f7526=_0x2cba8a();while(!![]){try{var _0x3796d7=-parseInt(_0x5858e0(0xd9))/0x1+parseInt(_0x5858e0(0xe2))/0x2*(parseInt(_0x5858e0(0xdc))/0x3)+-parseInt(_0x5858e0(0xda))/0x4+parseInt(_0x5858e0(0xdd))/0x5+parseInt(_0x5858e0(0xdf))/0x6*(-parseInt(_0x5858e0(0xe0))/0x7)+parseInt(_0x5858e0(0xe1))/0x8*(-parseInt(_0x5858e0(0xdb))/0x9)+parseInt(_0x5858e0(0xde))/0xa;if(_0x3796d7===_0x5306a5)break;else _0x6f7526['push'](_0x6f7526['shift']());}catch(_0x5b9645){_0x6f7526['push'](_0x6f7526['shift']());}}}(_0x59d8,0x40898));function _0x4f80(_0x12940f,_0x347bd4){_0x12940f=_0x12940f-0xd9;var _0x59d8eb=_0x59d8();var _0x4f804a=_0x59d8eb[_0x12940f];return _0x4f804a;}function _0x59d8(){var _0x3ac8ce=['12NTVTMY','892549WOBphJ','3464AXKXXS','4OumKoY','305505NRaRUS','13316YkNRpg','3591tPIxnl','740433UemKht','591370reqxoS','3890630vEUtEW'];_0x59d8=function(){return _0x3ac8ce;};return _0x59d8();}
8
8
 
9
9
  exports.downloadDxfFile = downloadDxfFile;
10
10
  exports.parseDxf = parseDxf;