physical-quantity 1.1.90 → 1.1.91

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/pq.umd.js CHANGED
@@ -1 +1,238 @@
1
- function _0x1eea(){const _0x2d31cb=['deg°/s²','ton(US/short)','increment','GHz','toStringTag','Initial\x20state:','updateUnitCategory','381705kLbyjn','ft³/s','cal(IT)/g','mm²/min','kWh/100km','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22tooltip\x22\x20href=\x22https://v2-docs.donwen.com/daily-calculations/unit-converter.html\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22Unit\x20Converter\x20for\x20All\x20Categories\x22\x20target=\x22_blank\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22','psf/in','https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492','2356944ckaXHK','kmol','createElement','Pa/m','parseTripletValues','lb·s','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SELECT','showUnitArrow','hasAttribute','St[cm²/s]','cm⁴','cal(TH)/L','defineProperty','µSv','revolution','m/h','removeEventListeners','tonne','dWb','m/s','nWb','font','formatDisplayValue','m³/h','value','lb-in/deg°','slice','J/(kg·°K)','removeEventListener','span','tebibit/s','short\x20ton/h','mTorr/m','µWb','.unit-container','Torr/ft','updateDropdownWidth','m²/hr','km/s','CFM[ft³/min]','381846JneiTg',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-triplet\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Sv[sievert]','handleUnitChange','pebibyte','decimal-places','Rd[rutherford]','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','click','kHz','lbm/s','cm³',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','getComputedStyle','replace','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','kip-in','handleUnitChange:','km/kWh','in/s²','parseValue','J[Joule]','oz-ft','mile/gal(US-liquid)','rad','split','ksi','updateCount','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.value\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','in\x20HG','uc-qty-triplet','kg/L','$1K','cc/rev','Length','in²/min','J/kg','.count','deg°','J/h','MM\x20Btu/100km','m²/min','MGy','mm⁴','kg/min','Btu/ton(short)','gal(US-liquid)/mile','cal(IT)/L','position','psi/ft','hidden','fluid\x20ounce(US-liquid)','m³/rad','body','W[watt]','J/minute','space','6994098SKHbfj','mol','change','F[farad]','S[siemens]','terabyte','kg/m/s','ksi/ft','style','cm²/min','</span>\x20x\x20','MSv','lb-ft/rad','bit/s','Mkat','mile/kWh','physical-quantity','lb-in/rad','Pascal/m','calorie(IT)/second','PhysicalQuantity\x20constructor\x20called','MM\x20Btu/ft³','MJ/mile','Category\x20found\x20for\x20unit\x20','exports','416cOAitk','L/rev','</span>\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','kJ/m³','km/h','1/s','Wb[weber]','target','cm³/min','uc-qty-pair','BTU/(h⋅ft⋅°F)','lbm','pint(US-liquid)','Wh/g','textContent','round','Wh/mile','gal(US-dry)','petabit','map','km²','$1T','PhysicalQuantity','MHz','in\x20W.C./100\x20ft',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Custom\x20arrow\x20styles\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container::after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27▼\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.7em;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x200.3em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateX(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2012px;\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container:hover\x20.tooltip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.tooltip\x20a:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-decoration:\x20underline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22value\x22>','appendChild','CFH','visibility','deg°/min²','ft²','attributeChangedCallback','none','lbf','slug','mm/min','L/mile','formatTriplet','2398PbyxOl','sr[steradian]','megabit/s','mebibit/s','kg/m³','GBd','oz/s','mkat','lbm·fpm','J/m','m³/kg/s²','J/m³','1/16\x22','kat[katal]','ft/min²','MJ/kg','cup(Metric)','cp[candlepower(before\x201948)]','cup(Legal)','in\x20W.C.','function','Module','Btu/lbm','pint(US-dry)','gigabit/s','bushel(US-dry)','GW[Gigawatt]','define','kibibit','lbm/min','micron','lumen/m²','ft/s²','Gy[gray]','kGy','MJ/m³','MM\x20Btu/100mile','L/100km','lb-ft','4qtSkLn','attachEventListeners','isInteger','gigabyte','megabyte','<option\x20value=\x22','MJ/h','connectedCallback\x20called','lb/ft','m³/min','Wb/m²','ft³/rev','kcal(TH)/kg','oz/in²','formatTripletValue','kilo-calorie(IT)/hour','mm³','in³/rev','1/hour','mebibit','J/(kg·°C)','J/(g·°K)','m³/s','°Ra','gal(US-liquid)','warn','New\x20decimal\x20places:','mebibyte','fluid\x20ounce(UK-imperial)','Btu/(lbm·°F)','Stoke','g/cm²','select','block','Unit\x20is\x20undefined\x20or\x20null','tooltipTimeout','addEventListener','long\x20ton/h','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-triplet\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-text,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','mile/MJ','cSt[mm²/s]','getUnitCategory\x20called\x20with\x20unit:','ft²/hr','cd⋅sr','toString','trim','join','Parsed\x20value:','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','nowrap','mbar/mm','show-unit-arrow','mile','h[hour]','attachShadow','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.quantity-pair\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.values\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-right:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x202px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20appearance:\x20','yd³/min','attributeChangedCallback\x20called:\x20','tebibyte','day','MJ/100km','g/mm³','N⋅m/rad','µGy','updateUnitCategory\x20called\x20with\x20unit:','kilo-calorie(TH)/hour','nano[nm]','parseValue\x20called\x20with:','tonne/m²','GJ/m³','calorie(IT)/minute','10vjarLE','lb·s/ft²','Btu/gal(US)','querySelector','kip[kilo\x20pound]',')</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','cp[candlepower]','kJ/L','km/min','hectare','deg°/min','Btu/h','Custom','L/h','mBq','offsetWidth','lbm/ft³','cup(Imperial)','disconnectedCallback','oz/yd²','getAttribute','toFixed','whiteSpace','gpm(US)','kg⋅m²','lb-ft/minute','m²/m²','cWb','45XOBsJu','pow','meter-candle','m³/m','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','calorie(TH)/second','g/cm³','mSv','max','kPa/m','lm/m²','petabyte','kWh/100mile','Initial\x20inputValue:','joule/coulomb','Newton-second','kWh/kg','CFM','rev/s','UcQtyPair','kg/s','unitCategory','rpm','kWh/mile','µkat','handleUnitContainerMouseOut','Empty\x20string\x20value,\x20returning\x200','display','endsWith','lbm/ft/s','lbm/in²','µBq','m/min²','kips/ft','kilobit/s','mpg(US)','N⋅m²/kg²','mm\x20HG','N·s','kilo-calorie(TH)','kSv','W/(m⋅°K)','N·s/m²','format','µm³','MPGe','auto','render','J/g','kBd','gigabit','9108QBzpnI','\x20<span\x20class=\x22unit-text\x22>','PQWebComponents','amd','kibibyte','in³/s','ft²/s','phot','mouseout','inputValue','N/m','open','in³/min','HP\x20Hour','terabit','mpg(UK)',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','shadowRoot','cup(US-liquid)','in²','1/°Ra','m\x20W.C.','rad/min²','bushel(US)/h','bushel(UK-imperial)/h','eV[electron-volt]','m/min','comma','Bq[becquerel]','in²/hr','yd³','selected','Wh/kg','Volt','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x0a\x20\x20\x20\x20','km/L','gal(US-liquid)/rev','J/second','1/°C','mph[mile/h]','kkat','MPa','connectedCallback','deg°/s','mile/L','bit','No\x20category\x20found\x20for\x20unit:\x20','mm²/hr','J/(g·°C)','fps[ft/second]','slug/s','Ci[curie]','mm\x20W.C./m','log','Wh/km','MM\x20Btu/h','bushel(UK-imperial)','ft-in','e3dLogoUrl','kilo-calorie(IT)','ksi[kip/in²]','match','GPa','20430rdwvBy','Btu/ft³','lb/in','unit','kg/h','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','rad/min','lbm/ft²','N/mm','mm\x20HG/m',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/*\x20height:\x201.1em;\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.unit-container\x20select::-ms-expand\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20','radian','gibibit/s','New\x20value\x20parsed:','kilobit','fpm[ft/minute]','cd[candela]','PI[Pa·s]','atm/m','calorie(TH)','1/min','g/s','rad/s','in³','calorie(TH)/minute','width','Show\x20unit\x20arrow:','minute','observedAttributes','e[electron]','slug/h','startsWith','g/mm²','mmol','L/min','N⋅mm/rad','lm/ft²','removeChild','mile/gal(UK-imperial)','Converting\x20value:','\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22unit-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','oz/min','values','lm/sr','T[tesla]','µm²','MJ/km','decimalPlaces','kgf','NewComponent1','hasParentheses','s[second]','C[coulomb]','fps','floor','HP\x20Hour/lbm','string','lux','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22increment\x22>+</button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','kN/m','</option>','includes','1/1','week','H[henry]','J/C','kNm','innerHTML','handleUnitContainerMouseOver','get','kWh/km',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x200.15em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x200.1em\x200\x200.2em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20lightgray;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20inherit;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x200.9em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align-last:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20baseline;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:\x202.5em;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22quantity-pair\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>(','mile²','pebibit','deg°/h','Wh/m³','absolute','km/MJ','tagName','bind','oz/ft²','cal(TH)/g','calorie(IT)','psi','MJ/100mile','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.counter\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20blue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20red;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.count\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2018px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22counter\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22decrement\x22>-</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22count\x22>','decrement','1306438oMNNHT','lbm/in³','ft²/min','count','New\x20value:','Ampere[amp]'];_0x1eea=function(){return _0x2d31cb;};return _0x1eea();}function _0x33d4(_0x333c2e,_0x1486be){const _0x1eea3b=_0x1eea();return _0x33d4=function(_0x33d427,_0x2245ca){_0x33d427=_0x33d427-0xa7;let _0x1da4f0=_0x1eea3b[_0x33d427];return _0x1da4f0;},_0x33d4(_0x333c2e,_0x1486be);}(function(_0x53ff06,_0x367fe9){const _0x5890a4=_0x33d4,_0x4a939f=_0x53ff06();while(!![]){try{const _0x16035a=parseInt(_0x5890a4(0x1b9))/0x1*(-parseInt(_0x5890a4(0x289))/0x2)+parseInt(_0x5890a4(0x153))/0x3*(parseInt(_0x5890a4(0x23c))/0x4)+-parseInt(_0x5890a4(0xe1))/0x5*(parseInt(_0x5890a4(0x1ea))/0x6)+-parseInt(_0x5890a4(0x1ac))/0x7+parseInt(_0x5890a4(0x1c1))/0x8+parseInt(_0x5890a4(0x223))/0x9*(parseInt(_0x5890a4(0xc5))/0xa)+parseInt(_0x5890a4(0x262))/0xb*(parseInt(_0x5890a4(0x114))/0xc);if(_0x16035a===_0x367fe9)break;else _0x4a939f['push'](_0x4a939f['shift']());}catch(_0x14b788){_0x4a939f['push'](_0x4a939f['shift']());}}}(_0x1eea,0x672e5),function(_0x16b90b,_0x264001){const _0x4888f3=_0x33d4;typeof exports=='object'&&typeof module<'u'?_0x264001(exports):typeof define==_0x4888f3(0x276)&&define[_0x4888f3(0x117)]?define([_0x4888f3(0x23b)],_0x264001):(_0x16b90b=typeof globalThis<'u'?globalThis:_0x16b90b||self,_0x264001(_0x16b90b[_0x4888f3(0x116)]={}));}(this,function(_0x4068ae){'use strict';const _0xbded2c=_0x33d4;const _0x42db80=0.45359237,_0x5df376=9.80665,_0x173f20=0x14a0,_0x14b23c=25.4/0x3e8,_0x567a8e=0xc*_0x14b23c,_0x3ca213=0x73c,_0x92b9de=0x42*0x294,_0x26651b=4.54609,_0x443288=0xe7,_0x421059=268.8025,_0x3088f5=0x1/0x8,_0x17264c=0x1/0x14,_0x2621d4=0x1/0x10,_0x366cde=0x8,_0x5a4486=0x8,_0x46011a=0x1/0x10,_0x19d095=0xf0,_0x20ecd2=0xfa,_0x56ef08=0xa,_0x424d5b=14.59390294,_0x20062c=1055.05585262,_0x229f46=4.1868,_0x598c78=4.184,_0x55da1a=0x226*_0x42db80*_0x5df376*_0x567a8e,_0x33f581=0x18bcd,_0x269b34=0x1/0x2f8,_0xc70558=133.322387415,_0x145077=0x569e4c0a22d73800,_0x439340={'Length':['m',_0xbded2c(0xc0),'µm',_0xbded2c(0x280),'mm','cm','dm','km','in',_0xbded2c(0x14d),_0xbded2c(0x1a9),'ft','yd',_0xbded2c(0xb2),_0xbded2c(0xe5)],'Mass':['kg','g','mg','µg','oz',_0xbded2c(0x247),_0xbded2c(0x25e),_0xbded2c(0x1b3),'ton(UK-Imperial/long)',_0xbded2c(0x1d3)],'Time':[_0xbded2c(0x187),'s',_0xbded2c(0x16f),'h',_0xbded2c(0xb3),_0xbded2c(0xb9),_0xbded2c(0x193)],'ElectricalCurrent':['A',_0xbded2c(0x1b1),'mA','µA','kA','MA','esu/s'],'Temperature':['°K','°C','°F',_0xbded2c(0x2a0)],'Amount\x20of\x20Substance':[_0xbded2c(0x224),_0xbded2c(0x175),_0xbded2c(0x1c2)],'Luminous\x20Intensity':[_0xbded2c(0x164),_0xbded2c(0x17f),_0xbded2c(0xcb),_0xbded2c(0x273)],'Acceleration':['m/s²',_0xbded2c(0x101),'mm/s²',_0xbded2c(0x282),_0xbded2c(0x270),_0xbded2c(0x1fd)],'Gravitational\x20Constant':[_0xbded2c(0x26c),_0xbded2c(0x105),'dyn⋅cm²/g²'],'Velocity\x20(Angular)':[_0xbded2c(0x16a),_0xbded2c(0x15a),'rad/h',_0xbded2c(0x13f),_0xbded2c(0xcf),_0xbded2c(0x19e),'rpm[rev/min]',_0xbded2c(0xf3)],'Acceleration\x20(Angular)':['rad/s²',_0xbded2c(0x12a),_0xbded2c(0x1b2),_0xbded2c(0x259)],'Illuminance':[_0xbded2c(0x18d),_0xbded2c(0x281),_0xbded2c(0xeb),_0xbded2c(0xe3),_0xbded2c(0x11b),'foot-candle','fc','lumen/ft²',_0xbded2c(0x178)],'Frequency':['Hz',_0xbded2c(0x241),_0xbded2c(0x168),_0xbded2c(0xf7),_0xbded2c(0x29b),'mHz',_0xbded2c(0x1f3),_0xbded2c(0x253),_0xbded2c(0x1b5)],'Area':['m²',_0xbded2c(0x181),'mm²','cm²',_0xbded2c(0x250),_0xbded2c(0xce),_0xbded2c(0x127),_0xbded2c(0x25a),'yd²','acre',_0xbded2c(0x19c)],'Volume\x20/\x20Section\x20Modulus':['m³',_0xbded2c(0x10d),_0xbded2c(0x299),_0xbded2c(0x1f5),'L','ml','km³',_0xbded2c(0x16b),'ft³',_0xbded2c(0x132),'gal(UK-imperial)',_0xbded2c(0x2a1),_0xbded2c(0x24d),'pint(UK-imperial)',_0xbded2c(0x248),_0xbded2c(0x279),_0xbded2c(0x2a5),_0xbded2c(0x21d),_0xbded2c(0x14c),_0xbded2c(0x27b),_0xbded2c(0x126),_0xbded2c(0x274),_0xbded2c(0x272),_0xbded2c(0xd6)],'Polar\x20Moment\x20of\x20Inertia':['m⁴',_0xbded2c(0x215),_0xbded2c(0x1cc),'in⁴','ft⁴'],'Moment\x20of\x20Inertia':[_0xbded2c(0xdd),'g⋅cm²','g⋅mm²','lbm⋅ft²','lbm⋅in²','oz⋅in²'],'Force':['N','kN','MN',_0xbded2c(0x184),'lb',_0xbded2c(0x25d),_0xbded2c(0xc9)],'Angle':[_0xbded2c(0x15f),_0xbded2c(0x202),_0xbded2c(0x210),_0xbded2c(0x1d0)],'Solid\x20Angle':[_0xbded2c(0x263),_0xbded2c(0xdf)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²',_0xbded2c(0x2a8),_0xbded2c(0x174),_0xbded2c(0xc2),'lbm/yd²',_0xbded2c(0x15b),_0xbded2c(0xff),_0xbded2c(0xd8),_0xbded2c(0x1a4),_0xbded2c(0x296)],'Density':[_0xbded2c(0x266),_0xbded2c(0x209),_0xbded2c(0xe7),_0xbded2c(0xbb),_0xbded2c(0xd5),_0xbded2c(0x1ad)],'Energy':[_0xbded2c(0x1ff),'kJ','MJ','GJ','TNT\x20Equivalent[kiloton]','Btu','MM\x20Btu',_0xbded2c(0x1a6),_0xbded2c(0x14f),_0xbded2c(0x167),_0xbded2c(0x108),_0xbded2c(0x121),'Wh','kWh',_0xbded2c(0x12d)],'Power':[_0xbded2c(0x220),'kW','MW',_0xbded2c(0x27c),_0xbded2c(0xd0),'Btu/minute',_0xbded2c(0x14b),_0xbded2c(0x236),_0xbded2c(0xc4),_0xbded2c(0x298),_0xbded2c(0xe6),_0xbded2c(0x16c),_0xbded2c(0xbf),'lb-ft/second',_0xbded2c(0xde),'HP',_0xbded2c(0x139),_0xbded2c(0x221),_0xbded2c(0x211),_0xbded2c(0x28f),'kJ/minute'],'Torque,\x20Moment\x20of\x20Force':['Nm',_0xbded2c(0x196),'lb-in',_0xbded2c(0x1fa),_0xbded2c(0x288),'oz-in',_0xbded2c(0x200)],'Pressure/Stress':['Pa','kPa',_0xbded2c(0x13d),_0xbded2c(0x152),'bar','mbar','atm',_0xbded2c(0x106),'cm\x20HG',_0xbded2c(0x207),'mm\x20W.C.',_0xbded2c(0x129),_0xbded2c(0x275),'psf',_0xbded2c(0x1a7),_0xbded2c(0x204),_0xbded2c(0x150)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0xbded2c(0x1c4),_0xbded2c(0x235),_0xbded2c(0xea),'MPa/km','bar/m',_0xbded2c(0xb0),_0xbded2c(0x166),_0xbded2c(0x15d),'in\x20HG/ft',_0xbded2c(0x148),'m\x20W.C./m','in\x20W.C./ft',_0xbded2c(0x254),_0xbded2c(0x1bf),_0xbded2c(0x21b),_0xbded2c(0x22a),_0xbded2c(0x1e5),_0xbded2c(0x1e2)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0xbded2c(0x11e),_0xbded2c(0x15c),_0xbded2c(0x18f),_0xbded2c(0x291),_0xbded2c(0x102),_0xbded2c(0x155)],'Stiffness\x20of\x20Rotary\x20Spring':[_0xbded2c(0xbc),'N⋅m/deg°',_0xbded2c(0x177),'N⋅mm/deg°',_0xbded2c(0x22f),'lb-ft/deg°',_0xbded2c(0x234),_0xbded2c(0x1db)],'Flow\x20Rate\x20(Volume)':[_0xbded2c(0x29f),_0xbded2c(0x292),_0xbded2c(0x1d9),'L/s',_0xbded2c(0x176),_0xbded2c(0xd2),'cm³/s',_0xbded2c(0x244),_0xbded2c(0x119),_0xbded2c(0x120),_0xbded2c(0x1ba),_0xbded2c(0xf2),_0xbded2c(0x1e9),_0xbded2c(0x257),'CFH[ft³/h]',_0xbded2c(0xb6),'yd³/h',_0xbded2c(0xdc),'gph(US)',_0xbded2c(0x12c),_0xbded2c(0x12b)],'Flow\x20Rate\x20(Mass)':[_0xbded2c(0xf5),_0xbded2c(0x216),_0xbded2c(0x157),_0xbded2c(0x169),'g/min','g/h',_0xbded2c(0x146),'slug/min',_0xbded2c(0x172),_0xbded2c(0x1f4),_0xbded2c(0x27f),'lbm/h',_0xbded2c(0x268),_0xbded2c(0x17d),'oz/h','tonne/h',_0xbded2c(0x1e1),_0xbded2c(0x2ae)],'Speed\x20/\x20Velocity\x20(Linear)':[_0xbded2c(0x1d5),'mm/s',_0xbded2c(0x1e8),_0xbded2c(0x25f),_0xbded2c(0x12e),_0xbded2c(0xcd),'mm/h',_0xbded2c(0x1d1),_0xbded2c(0x240),'in/s',_0xbded2c(0x189),_0xbded2c(0x145),'fpm',_0xbded2c(0x163),_0xbded2c(0x13b),_0xbded2c(0xae)],'Fuel\x20Heat\x20Value\x20(Volume)':[_0xbded2c(0x26d),'J/L',_0xbded2c(0xcc),_0xbded2c(0x23f),_0xbded2c(0x285),_0xbded2c(0xc3),_0xbded2c(0x219),'kcal(IT)/m³',_0xbded2c(0x1cd),'kcal(TH)/m³','Wh/L',_0xbded2c(0x19f),'kWh/m³','HP\x20Hour/ft³',_0xbded2c(0xc7),_0xbded2c(0x154),_0xbded2c(0x238)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0xbded2c(0x20e),_0xbded2c(0x111),'kJ/kg',_0xbded2c(0x271),'GJ/kg',_0xbded2c(0x1bb),'kcal(IT)/kg',_0xbded2c(0x1a5),_0xbded2c(0x295),_0xbded2c(0x249),_0xbded2c(0x134),_0xbded2c(0xf1),_0xbded2c(0x18b),_0xbded2c(0x278),'MM\x20Btu/lbm',_0xbded2c(0x217)],'Mass\x20Heat\x20Capacity':[_0xbded2c(0x1dd),_0xbded2c(0x29d),_0xbded2c(0x29e),_0xbded2c(0x144),_0xbded2c(0x2a6)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':[_0xbded2c(0x165),_0xbded2c(0x10b),_0xbded2c(0x229),'P[Poise]','cP',_0xbded2c(0xc6),_0xbded2c(0xfe)],'Viscosity\x20-\x20Kinematic':['m²/s',_0xbded2c(0x213),_0xbded2c(0x1e7),_0xbded2c(0x1cb),_0xbded2c(0x2a7),_0xbded2c(0x22c),'cm²/hr',_0xbded2c(0x2b1),_0xbded2c(0x1bc),_0xbded2c(0x143),_0xbded2c(0x11a),_0xbded2c(0x1ae),_0xbded2c(0xa8),'in²/s',_0xbded2c(0x20d),_0xbded2c(0x131)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K',_0xbded2c(0x13a),'1/°F',_0xbded2c(0x128)],'Thermal\x20Conductivity':[_0xbded2c(0x10a),'W/(cm⋅°K)',_0xbded2c(0x246),'BTU/(h⋅in⋅°F)'],'Electrical\x20Charge':[_0xbded2c(0x188),'Ah','ampere-hour','mAh',_0xbded2c(0x171),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0xbded2c(0x135),_0xbded2c(0xef),_0xbded2c(0x195),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':['Ω[Ohm]','µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0xbded2c(0x226),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0xbded2c(0x194),'µH','mH'],'Electrical\x20Conductance':[_0xbded2c(0x227),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0xbded2c(0x242),_0xbded2c(0x1d6),_0xbded2c(0x1e3),'mWb',_0xbded2c(0xe0),_0xbded2c(0x1d4)],'Luminous\x20Flux':['lm[lumen]',_0xbded2c(0xa9)],'Magnetic\x20Flux\x20Density':[_0xbded2c(0x180),_0xbded2c(0x293),'µT','G','mT'],'Katalytic\x20Activity':[_0xbded2c(0x26f),'mol/s',_0xbded2c(0xf9),_0xbded2c(0x269),_0xbded2c(0x13c),_0xbded2c(0x231)],'Radioactivity':[_0xbded2c(0x130),_0xbded2c(0x241),_0xbded2c(0x100),_0xbded2c(0xd3),'kBq','MBq',_0xbded2c(0x1f0),_0xbded2c(0x147)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0xbded2c(0x283),_0xbded2c(0x20e),_0xbded2c(0xbd),'mGy',_0xbded2c(0x284),_0xbded2c(0x214)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0xbded2c(0x1ec),_0xbded2c(0x20e),_0xbded2c(0x1cf),_0xbded2c(0xe8),_0xbded2c(0x109),_0xbded2c(0x22e)],'Volumetric\x20Displacement':[_0xbded2c(0x21e),'m³/rev',_0xbded2c(0x23d),_0xbded2c(0x20b),_0xbded2c(0x294),_0xbded2c(0x29a),_0xbded2c(0x138)],'Fuel\x20Economy':[_0xbded2c(0x137),_0xbded2c(0x104),_0xbded2c(0x201),_0xbded2c(0x123),_0xbded2c(0x17a),_0xbded2c(0x140)],'Fuel\x20Consumption':[_0xbded2c(0xe4),'L/km',_0xbded2c(0x287),_0xbded2c(0x260),'L/100mile',_0xbded2c(0x218),'gal(US-liquid)/100mile','gal(UK-imperial)/mile','gal(UK-imperial)/100mile'],'New\x20Energy\x20Economy\x20(MPGe)':['m/J',_0xbded2c(0x1fc),_0xbded2c(0x1a1),_0xbded2c(0x10e),_0xbded2c(0x2b0),_0xbded2c(0x232),'mile/MM\x20Btu'],'New\x20Energy\x20Consumption':[_0xbded2c(0x26b),_0xbded2c(0x14a),_0xbded2c(0x24c),_0xbded2c(0x19a),_0xbded2c(0x1bd),_0xbded2c(0xf8),_0xbded2c(0xed),_0xbded2c(0x182),_0xbded2c(0xba),_0xbded2c(0x239),_0xbded2c(0x1a8),'MM\x20Btu/km',_0xbded2c(0x212),'MM\x20Btu/mile',_0xbded2c(0x286)],'Baud\x20Rate':[_0xbded2c(0x230),'Bd',_0xbded2c(0x112),'MBd',_0xbded2c(0x267)],'Currency':['$','¢',_0xbded2c(0x20a),'$1M','$1B',_0xbded2c(0x251)],'Impulse\x20/\x20Momentum':[_0xbded2c(0x107),_0xbded2c(0xf0),_0xbded2c(0x1c6),'kg·m/s','lbm·fps',_0xbded2c(0x26a)],'Digital\x20Storage':[_0xbded2c(0x141),_0xbded2c(0x162),_0xbded2c(0x27e),'megabit',_0xbded2c(0x29c),_0xbded2c(0x113),'gibibit',_0xbded2c(0x122),'tebibit',_0xbded2c(0x24e),_0xbded2c(0x19d),'byte','kilobyte',_0xbded2c(0x118),_0xbded2c(0x28d),_0xbded2c(0x2a4),_0xbded2c(0x28c),'gibibyte',_0xbded2c(0x228),_0xbded2c(0xb8),_0xbded2c(0xec),_0xbded2c(0x1ee)],'Data\x20Transfer\x20Rate':[_0xbded2c(0x230),_0xbded2c(0x103),'kibibit/s',_0xbded2c(0x264),_0xbded2c(0x265),_0xbded2c(0x27a),_0xbded2c(0x160),'terabit/s',_0xbded2c(0x1e0),'petabit/s','pebibit/s']},_0x3becd9={'Length':{'m':0x1,'nano[nm]':0x1/0x3b9aca00,'µm':0x1/0xf4240,'micron':0x1/0xf4240,'mm':0x1/0x3e8,'cm':0.01,'dm':0.1,'km':0x3e8,'in':_0x14b23c,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':_0x14b23c/0x3e8,'ft-in':_0x14b23c,'ft':_0x567a8e,'yd':0x3*_0x567a8e,'mile':_0x173f20*_0x567a8e,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':_0x3ca213},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*_0x42db80,'lbm':_0x42db80,'slug':_0x424d5b,'ton(US/short)':0x7d0*_0x42db80,'ton(UK-Imperial/long)':0x8c0*_0x42db80,'tonne':0x3e8},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0xe10*0x18,'week':0xe10*0x18*0x7},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':0x3e8,'MA':0xf4240,'esu/s':0x1/0xb2d05e00},'Temperature':{'°K':{'c0':0x1,'c1':0x0},'°C':{'c0':0x1,'c1':273.15},'°F':{'c0':0x5/0x9,'c1':255.3722222},'°Ra':{'c0':0x5/0x9,'c1':0x0}},'Amount\x20of\x20Substance':{'mol':0x1,'mmol':0.001,'kmol':0x3e8},'Luminous\x20Intensity':{'cd[candela]':0x1,'lm/sr':0x1,'cp[candlepower]':0x1,'cp[candlepower(before\x201948)]':0.981},'Acceleration':{'m/s²':0x1,'m/min²':0x1/0xe10,'mm/s²':0.001,'ft/s²':_0x567a8e,'ft/min²':_0x567a8e/0xe10,'in/s²':_0x14b23c},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':0x3e8},'Velocity\x20(Angular)':{'rad/s':0x1,'rad/min':0x1/0x3c,'rad/h':0x1/0xe10,'deg°/s':Math['PI']/0xb4,'deg°/min':Math['PI']/0xb4/0x3c,'deg°/h':Math['PI']/0xb4/0xe10,'rpm[rev/min]':0x2*Math['PI']/0x3c,'rev/s':0x2*Math['PI']},'Acceleration\x20(Angular)':{'rad/s²':0x1,'rad/min²':0x1/0xe10,'deg°/s²':Math['PI']/0xb4,'deg°/min²':Math['PI']/0xb4/0xe10},'Illuminance':{'lux':0x1,'lumen/m²':0x1,'lm/m²':0x1,'meter-candle':0x1,'phot':0x2710,'foot-candle':0x1/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'fc':0x1/Math['pow'](_0x567a8e,0x2),'lumen/ft²':0x1/Math['pow'](_0x567a8e,0x2),'lm/ft²':0x1/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0x1/0x3e8,'kHz':0x3e8,'MHz':0xf4240,'GHz':0x3b9aca00},'Area':{'m²':0x1,'µm²':Math['pow'](0x1/0xf4240,0x2),'mm²':Math[_0xbded2c(0xe2)](0x1/0x3e8,0x2),'cm²':Math[_0xbded2c(0xe2)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0xbded2c(0xe2)](0x64,0x2),'in²':Math['pow'](_0x14b23c,0x2),'ft²':Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'yd²':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x2),'acre':_0x92b9de*Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'mile²':Math[_0xbded2c(0xe2)](_0x173f20*_0x567a8e,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0xbded2c(0xe2)](0x1/0xf4240,0x3),'mm³':Math['pow'](0x1/0x3e8,0x3),'cm³':Math['pow'](0x1/0x64,0x3),'L':0x1/0x3e8,'ml':0x1/0xf4240,'km³':Math[_0xbded2c(0xe2)](0x3e8,0x3),'in³':Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'ft³':Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'yd³':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3),'gal(UK-imperial)':_0x26651b*0x1/0x3e8,'gal(US-liquid)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'gal(US-dry)':_0x421059*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'pint(UK-imperial)':_0x3088f5*_0x26651b*0x1/0x3e8,'pint(US-liquid)':_0x3088f5*_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'pint(US-dry)':_0x3088f5*_0x421059*Math[_0xbded2c(0xe2)](_0x14b23c,0x3),'fluid\x20ounce(UK-imperial)':_0x17264c*_0x3088f5*_0x26651b/0x3e8,'fluid\x20ounce(US-liquid)':_0x2621d4*_0x3088f5*_0x443288*Math['pow'](_0x14b23c,0x3),'bushel(UK-imperial)':_0x366cde*_0x26651b/0x3e8,'bushel(US-dry)':_0x5a4486*_0x421059*Math['pow'](_0x14b23c,0x3),'cup(US-liquid)':_0x46011a*_0x443288*Math['pow'](_0x14b23c,0x3),'cup(Legal)':_0x19d095*Math[_0xbded2c(0xe2)](0.01,0x3),'cup(Metric)':_0x20ecd2*Math[_0xbded2c(0xe2)](0.01,0x3),'cup(Imperial)':_0x56ef08*_0x17264c*_0x3088f5*_0x26651b/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0xbded2c(0xe2)](_0x14b23c,0x4),'ft⁴':Math[_0xbded2c(0xe2)](_0x567a8e,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':_0x42db80*Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'lbm⋅in²':_0x42db80*Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'oz⋅in²':_0x42db80/0x10*Math[_0xbded2c(0xe2)](_0x14b23c,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':_0x5df376,'lb':_0x42db80*_0x5df376,'lbf':_0x42db80*_0x5df376,'kip[kilo\x20pound]':0x3e8*_0x42db80*_0x5df376},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':Math['PI']*0x2},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':_0x42db80/Math['pow'](_0x567a8e*0x3,0x2),'lbm/ft²':_0x42db80/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'lbm/in²':_0x42db80/Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'oz/yd²':_0x42db80/0x10/Math[_0xbded2c(0xe2)](0x3*_0x567a8e,0x2),'oz/ft²':_0x42db80/0x10/Math['pow'](_0x567a8e,0x2),'oz/in²':_0x42db80/0x10/Math[_0xbded2c(0xe2)](_0x14b23c,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0xbded2c(0xe2)](0.001,0x3),'lbm/ft³':_0x42db80/Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'lbm/in³':_0x42db80/Math[_0xbded2c(0xe2)](_0x14b23c,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*_0x598c78,'Btu':_0x20062c,'MM\x20Btu':_0x20062c*0xf4240,'calorie(IT)':_0x229f46,'kilo-calorie(IT)':_0x229f46*0x3e8,'calorie(TH)':_0x598c78,'kilo-calorie(TH)':_0x598c78*0x3e8,'HP\x20Hour':_0x55da1a*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/_0x145077},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':_0x20062c/0xe10,'Btu/minute':_0x20062c/0x3c,'MM\x20Btu/h':_0x20062c*0xf4240/0xe10,'calorie(IT)/second':_0x229f46,'calorie(IT)/minute':_0x229f46/0x3c,'kilo-calorie(IT)/hour':_0x229f46*0x3e8/0xe10,'calorie(TH)/second':_0x598c78,'calorie(TH)/minute':_0x598c78/0x3c,'kilo-calorie(TH)/hour':_0x598c78*0x3e8/0xe10,'lb-ft/second':_0x42db80*_0x5df376*_0x567a8e,'lb-ft/minute':_0x42db80*_0x5df376*_0x567a8e/0x3c,'HP':_0x55da1a,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':0xf4240/0xe10,'kJ/minute':0x3e8/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':0x3e8,'lb-in':_0x42db80*_0x5df376*_0x14b23c,'kip-in':0x3e8*_0x42db80*_0x5df376*_0x14b23c,'lb-ft':_0x42db80*_0x5df376*_0x567a8e,'oz-in':_0x42db80/0x10*_0x5df376*_0x14b23c,'oz-ft':_0x42db80/0x10*_0x5df376*_0x567a8e},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':_0x33f581,'mm\x20HG':_0xc70558,'cm\x20HG':_0xc70558*0xa,'in\x20HG':_0xc70558*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*_0x5df376,'m\x20W.C.':0x1*0x3e8*_0x5df376,'in\x20W.C.':_0x14b23c*0x3e8*_0x5df376,'psf':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2),'psi':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x14b23c,0x2),'ksi':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x14b23c,0x2)*0x3e8,'ksi{kip/in²]':_0x42db80*_0x5df376/Math['pow'](_0x14b23c,0x2)*0x3e8},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':0x3e8,'MPa/km':0xf4240/0x3e8,'bar/m':0x186a0,'mbar/mm':0x64*0x3e8,'atm/m':_0x33f581,'mm\x20HG/m':_0xc70558,'in\x20HG/ft':_0xc70558*25.4/_0x567a8e,'mm\x20W.C./m':0x1/0x3e8*0x3e8*_0x5df376,'m\x20W.C./m':0x3e8*_0x5df376,'in\x20W.C./ft':_0x14b23c*0x3e8*_0x5df376/_0x567a8e,'in\x20W.C./100\x20ft':_0x14b23c*0x3e8*_0x5df376/_0x567a8e/0x64,'psf/in':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)/_0x14b23c,'psi/ft':_0x42db80*_0x5df376/Math['pow'](_0x567a8e,0x2)/_0x567a8e,'ksi/ft':_0x42db80*_0x5df376/Math[_0xbded2c(0xe2)](_0x567a8e,0x2)/_0x567a8e*0x3e8,'Torr/ft':_0x269b34*_0x33f581/_0x567a8e,'mTorr/m':_0x269b34*_0x33f581/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':_0x42db80*_0x5df376/_0x567a8e,'kips/ft':0x3e8*_0x42db80*_0x5df376/_0x567a8e,'lb/in':_0x42db80*_0x5df376/_0x14b23c},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0x1/0x3e8,'N⋅mm/deg°':0x1/0x3e8/Math['PI']*0xb4,'lb-ft/rad':_0x42db80*_0x5df376*_0x567a8e,'lb-ft/deg°':_0x42db80*_0x5df376*_0x567a8e/(Math['PI']/0xb4),'lb-in/rad':_0x42db80*_0x5df376*_0x14b23c,'lb-in/deg°':_0x42db80*_0x5df376*_0x14b23c/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0x1/0x3e8,'L/min':0x1/0x3e8/0x3c,'L/h':0x1/0x3e8/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math['pow'](_0x14b23c,0x3),'in³/min':Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0x3c,'ft³/s':Math[_0xbded2c(0xe2)](_0x567a8e,0x3),'CFM':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0x3c,'CFM[ft³/min]':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0x3c,'CFH':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0xe10,'CFH[ft³/h]':Math[_0xbded2c(0xe2)](_0x567a8e,0x3)/0xe10,'yd³/min':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3)/0x3c,'yd³/h':Math[_0xbded2c(0xe2)](_0x567a8e*0x3,0x3)/0xe10,'gpm(US)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0x3c,'gph(US)':_0x443288*Math[_0xbded2c(0xe2)](_0x14b23c,0x3)/0xe10,'bushel(UK-imperial)/h':_0x366cde*_0x26651b/0x3e8/0xe10,'bushel(US)/h':_0x5a4486*_0x421059*Math['pow'](_0x14b23c,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0x1/0x3e8,'g/min':0x1/0x3e8/0x3c,'g/h':0x1/0x3e8/0xe10,'slug/s':_0x424d5b,'slug/min':_0x424d5b/0x3c,'slug/h':_0x424d5b/0xe10,'lbm/s':_0x42db80,'lbm/min':_0x42db80/0x3c,'lbm/h':_0x42db80/0xe10,'oz/s':_0x42db80/0x10,'oz/min':_0x42db80/0x10/0x3c,'oz/h':_0x42db80/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*_0x42db80/0xe10,'long\x20ton/h':0x8c0*_0x42db80/0xe10},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0x1/0x3e8,'km/s':0x1,'mm/min':0x1/0x3e8/0x3c,'m/min':0x1/0x3c,'km/min':0x3e8/0x3c,'mm/h':0x1/0x3e8/0xe10,'m/h':0x1/0xe10,'km/h':0x3e8/0xe10,'in/s':_0x14b23c,'fps':_0x567a8e,'fps[ft/second]':_0x567a8e,'fpm':_0x567a8e/0x3c,'fpm[ft/minute]':_0x567a8e/0x3c,'mph[mile/h]':_0x173f20*_0x567a8e/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':_0x3ca213/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0x1/0xf4240,'mV':0x1/0x3e8,'kV':0x3e8,'MV':0xf4240}},_0x354538=_0x3bd147=>{const _0x1af849=_0xbded2c;if(console[_0x1af849(0x149)](_0x1af849(0xa7),_0x3bd147),!_0x3bd147)return console[_0x1af849(0x2a2)](_0x1af849(0x2ab)),'Custom';for(const _0x32f080 in _0x439340)if(_0x439340[_0x32f080][_0x1af849(0x191)](_0x3bd147))return console['log'](_0x1af849(0x23a)+_0x3bd147+':',_0x32f080),_0x32f080;return console[_0x1af849(0x2a2)](_0x1af849(0x142)+_0x3bd147),_0x1af849(0xd1);},_0x322322=(_0x46570f,_0x483113,_0x3ec5be,_0x24db42)=>{const _0x4894f8=_0xbded2c;if(_0x483113===_0x4894f8(0x14d)&&_0x3ec5be!==_0x4894f8(0x14d))return _0x327962(_0x46570f,_0x3ec5be);if(_0x483113!==_0x4894f8(0x14d)&&_0x3ec5be==='ft-in')return _0x3d5fe9(_0x46570f,_0x483113);if(_0x24db42!=='Temperature'){const _0x52de90=_0x3becd9[_0x24db42][_0x483113]/_0x3becd9[_0x24db42][_0x3ec5be];return _0x46570f*_0x52de90;}else{const _0x3646b5=_0x3becd9[_0x24db42][_0x483113]['c0'],_0x3bf7b3=_0x3becd9[_0x24db42][_0x483113]['c1'],_0xb4c4a9=_0x3becd9[_0x24db42][_0x3ec5be]['c0'],_0x4cd9f9=_0x3becd9[_0x24db42][_0x3ec5be]['c1'];return(_0x46570f*_0x3646b5+_0x3bf7b3-_0x4cd9f9)/_0xb4c4a9;}},_0x154f0b=(_0x55da19,_0x174265)=>{const _0x59383a=_0xbded2c;let _0x5fc244;if(Number[_0x59383a(0x28b)](_0x55da19)?_0x5fc244=_0x55da19[_0x59383a(0xaa)]():_0x5fc244=_0x55da19[_0x59383a(0xda)](_0x174265)[_0x59383a(0x1f8)](/\.?0+$/,''),Math['abs'](parseFloat(_0x5fc244))>=0x3e8){const _0x4d1fd3=_0x5fc244[_0x59383a(0x203)]('.');_0x4d1fd3[0x0]=_0x4d1fd3[0x0]['replace'](/\B(?=(\d{3})+(?!\d))/g,','),_0x5fc244=_0x4d1fd3['join']('.');}return _0x5fc244;},_0x39efa2=_0x223d0e=>{const _0x5cfa48=_0xbded2c,_0x185bd4=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x7b3b0=/(\d+)\'/,_0x2f8520=/(\d+)/;let _0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x185bd4);if(_0x1f3d86){const _0x1aeddc=parseInt(_0x1f3d86[0x1])||0x0,_0x3b93ca=parseInt(_0x1f3d86[0x3])||0x0,_0x33ecbf=parseInt(_0x1f3d86[0x5])||0x0,_0x47c0bb=parseInt(_0x1f3d86[0x6])||0x1;return _0x2bb3b1(_0x1aeddc,_0x3b93ca,_0x33ecbf,_0x47c0bb);}if(_0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x7b3b0),_0x1f3d86){const _0x4cc086=parseInt(_0x1f3d86[0x1])||0x0;return _0x2bb3b1(_0x4cc086,0x0,0x0,0x1);}if(_0x1f3d86=_0x223d0e[_0x5cfa48(0x151)](_0x2f8520),_0x1f3d86){const _0x4dfa46=parseInt(_0x1f3d86[0x1])||0x0;return _0x2bb3b1(0x0,_0x4dfa46,0x0,0x1);}return parseFloat(_0x223d0e);},_0x2bb3b1=(_0x1ec641,_0xc3545,_0x11267c,_0x3ce649)=>_0x1ec641*0xc+_0xc3545+_0x11267c/_0x3ce649,_0x289b40=(_0x430b30,_0x53a8c3=_0xbded2c(0x26e))=>{const _0x19dc88=_0xbded2c;if(_0x430b30<0x0)return'-'+_0x289b40(-_0x430b30,_0x53a8c3);const _0xa5377a=parseInt(_0x53a8c3['split']('/')[0x1][_0x19dc88(0x1f8)]('\x22',''));let _0x56c3ec=Math[_0x19dc88(0x18a)](_0x430b30/0xc),_0x3bae11=Math[_0x19dc88(0x18a)](_0x430b30%0xc);const _0x108045=_0x430b30-Math[_0x19dc88(0x18a)](_0x430b30);let _0x10a156='';if(_0x108045>0x0&&_0x53a8c3!==0x0){let _0x32c56b=Math[_0x19dc88(0x24b)](_0x108045*_0xa5377a);const _0x3702e3=(_0x3f27ff,_0x1b77c7)=>_0x1b77c7?_0x3702e3(_0x1b77c7,_0x3f27ff%_0x1b77c7):_0x3f27ff,_0x520002=_0x3702e3(_0x32c56b,_0xa5377a);_0x10a156='\x20'+_0x32c56b/_0x520002+'/'+_0xa5377a/_0x520002,_0x10a156[_0x19dc88(0xab)]()===_0x19dc88(0x192)&&(_0x3bae11++,_0x3bae11>=0xc&&(_0x56c3ec++,_0x3bae11-=0xc),_0x10a156='');}let _0x452f5c='';return _0x56c3ec>0x0&&(_0x452f5c+=_0x56c3ec+'\x27'),_0x56c3ec>0x0&&(_0x3bae11>0x0||_0x10a156!=='')&&(_0x452f5c+='-'),_0x3bae11>0x0&&(_0x452f5c+=''+_0x3bae11),_0x10a156!==''&&(_0x452f5c+=_0x10a156),(_0x3bae11>0x0||_0x10a156!=='')&&(_0x452f5c+='\x22'),_0x452f5c['trim']();},_0x327962=(_0x2d4d08,_0xd6f76a)=>{const _0x383a5a=_0xbded2c,_0x4c40be=_0x2d4d08*0.0254;return _0x322322(_0x4c40be,'m',_0xd6f76a,_0x383a5a(0x20c));},_0x3d5fe9=(_0x46f7dd,_0x590083)=>_0x322322(_0x46f7dd,_0x590083,'m','Length')/0.0254;class _0x2f6cef extends HTMLElement{constructor(){const _0x315c8c=_0xbded2c;super(),this[_0x315c8c(0xb4)]({'mode':_0x315c8c(0x11f)}),this[_0x315c8c(0x2ac)]=null,this[_0x315c8c(0xf6)]='',this[_0x315c8c(0x14e)]=_0x315c8c(0x1c0),console[_0x315c8c(0x149)](_0x315c8c(0x237));}[_0xbded2c(0x13e)](){const _0x487b57=_0xbded2c;console[_0x487b57(0x149)](_0x487b57(0x290)),this[_0x487b57(0x156)]=this[_0x487b57(0xd9)](_0x487b57(0x156)),console[_0x487b57(0x149)]('Initial\x20unit:',this[_0x487b57(0x156)]),this[_0x487b57(0x1b8)](),this[_0x487b57(0x11d)]=this[_0x487b57(0xd9)](_0x487b57(0x1da)),console[_0x487b57(0x149)](_0x487b57(0xee),this[_0x487b57(0x11d)]),this[_0x487b57(0x1da)]=this[_0x487b57(0x1fe)](this[_0x487b57(0x11d)],this[_0x487b57(0x156)]),console['log'](_0x487b57(0xad),this[_0x487b57(0x1da)]),this[_0x487b57(0x183)]=parseInt(this[_0x487b57(0xd9)](_0x487b57(0x1ef)))||0x2,this[_0x487b57(0x1c9)]=!this['hasAttribute'](_0x487b57(0xb1))||this[_0x487b57(0xd9)](_0x487b57(0xb1))===_0x487b57(0x158),console[_0x487b57(0x149)](_0x487b57(0x1b7),{'unit':this[_0x487b57(0x156)],'value':this[_0x487b57(0x1da)],'unitCategory':this[_0x487b57(0xf6)],'decimalPlaces':this['decimalPlaces'],'showUnitArrow':this[_0x487b57(0x1c9)]}),this['render'](),this[_0x487b57(0x28a)]();}[_0xbded2c(0xd7)](){const _0x3cecd2=_0xbded2c;this[_0x3cecd2(0x1d2)]();}static get[_0xbded2c(0x170)](){const _0x3e652b=_0xbded2c;return[_0x3e652b(0x1da),_0x3e652b(0x156),_0x3e652b(0x1ef),_0x3e652b(0xb1)];}['attributeChangedCallback'](_0x5710cd,_0x1e8ee5,_0x20e7c7){const _0x1c512d=_0xbded2c;if(console['log'](_0x1c512d(0xb7)+_0x5710cd,{'oldValue':_0x1e8ee5,'newValue':_0x20e7c7}),_0x5710cd===_0x1c512d(0x1da))this[_0x1c512d(0x11d)]=_0x20e7c7||'0',this[_0x1c512d(0x1da)]=this[_0x1c512d(0x1fe)](this[_0x1c512d(0x11d)],this[_0x1c512d(0x156)]),console[_0x1c512d(0x149)](_0x1c512d(0x161),this[_0x1c512d(0x1da)]);else{if(_0x5710cd===_0x1c512d(0x156)){const _0x24f789=this[_0x1c512d(0x156)],_0xdcfc5d=this[_0x1c512d(0xf6)];this[_0x1c512d(0x156)]=_0x20e7c7||'mm',this[_0x1c512d(0x1b8)](),_0x24f789!==this[_0x1c512d(0x156)]&&(_0xdcfc5d===this[_0x1c512d(0xf6)]?(console[_0x1c512d(0x149)](_0x1c512d(0x17b),{'from':_0x24f789,'to':this[_0x1c512d(0x156)],'value':this[_0x1c512d(0x1da)],'unitCategory':this[_0x1c512d(0xf6)]}),this[_0x1c512d(0x1da)]=_0x322322({'value':this[_0x1c512d(0x1da)],'fromUnit':_0x24f789,'toUnit':this['unit'],'unitCategory':this[_0x1c512d(0xf6)]})):console['log']('Unit\x20category\x20changed,\x20keeping\x20original\x20value'),console[_0x1c512d(0x149)](_0x1c512d(0x1b0),this[_0x1c512d(0x1da)]));}else _0x5710cd===_0x1c512d(0x1ef)?(this[_0x1c512d(0x183)]=parseInt(_0x20e7c7)||0x2,console[_0x1c512d(0x149)](_0x1c512d(0x2a3),this[_0x1c512d(0x183)])):_0x5710cd===_0x1c512d(0xb1)&&(this[_0x1c512d(0x1c9)]=_0x20e7c7===null||_0x20e7c7===_0x1c512d(0x158),console[_0x1c512d(0x149)](_0x1c512d(0x16e),this[_0x1c512d(0x1c9)]));}this[_0x1c512d(0x110)]();}['updateUnitCategory'](){const _0x44f2a8=_0xbded2c;console[_0x44f2a8(0x149)](_0x44f2a8(0xbe),this[_0x44f2a8(0x156)]),this[_0x44f2a8(0xf6)]=_0x354538(this[_0x44f2a8(0x156)]),console['log']('Updated\x20unit\x20category:',this[_0x44f2a8(0xf6)]);}[_0xbded2c(0x1fe)](_0x5e01f9,_0x321386){const _0x17dc58=_0xbded2c;if(console['log'](_0x17dc58(0xc1),{'value':_0x5e01f9,'unit':_0x321386}),typeof _0x5e01f9==_0x17dc58(0x18c)&&_0x5e01f9[_0x17dc58(0xab)]()==='')return console['log'](_0x17dc58(0xfb)),0x0;const _0x4ed1a5=_0x321386===_0x17dc58(0x14d)?_0x39efa2(_0x5e01f9):parseFloat(_0x5e01f9)||0x0;return console[_0x17dc58(0x149)]('Parsed\x20value:',_0x4ed1a5),_0x4ed1a5;}[_0xbded2c(0x1d8)](){const _0x561b26=_0xbded2c;return this[_0x561b26(0x156)]===_0x561b26(0x14d)?_0x289b40(this[_0x561b26(0x1da)]):_0x154f0b(this[_0x561b26(0x1da)],this[_0x561b26(0x183)]);}[_0xbded2c(0x1ed)](_0xf1a347){const _0x414672=_0xbded2c;if(_0xf1a347['target'][_0x414672(0x1a2)]===_0x414672(0x1c8)){const _0x53544e=_0xf1a347[_0x414672(0x243)][_0x414672(0x1da)];console[_0x414672(0x149)](_0x414672(0x1fb),{'from':this[_0x414672(0x156)],'to':_0x53544e,'value':this[_0x414672(0x1da)],'unitCategory':this[_0x414672(0xf6)]}),this['value']=_0x322322(this[_0x414672(0x1da)],this['unit'],_0x53544e,this[_0x414672(0xf6)]),console[_0x414672(0x149)]('Converted\x20value:',this[_0x414672(0x1da)]),this[_0x414672(0x156)]=_0x53544e,this[_0x414672(0x1b8)](),this[_0x414672(0x110)]();}this[_0x414672(0x1e6)]();}[_0xbded2c(0x110)](){const _0x4c72d2=_0xbded2c,_0x46e23f=this[_0x4c72d2(0x1d8)]();this['shadowRoot']['innerHTML']=_0x4c72d2(0x206)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x124)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x1f6)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x10f):_0x4c72d2(0x25c))+_0x4c72d2(0x15e)+(this[_0x4c72d2(0x1c9)]?_0x4c72d2(0x2aa):'none')+_0x4c72d2(0x255)+_0x46e23f+_0x4c72d2(0x1f9)+(_0x439340[this[_0x4c72d2(0xf6)]]||[this['unit']])[_0x4c72d2(0x24f)](_0x393651=>_0x4c72d2(0x28e)+_0x393651+'\x22\x20'+(_0x393651===this[_0x4c72d2(0x156)]?_0x4c72d2(0x133):'')+_0x4c72d2(0x1c7)+_0x393651+_0x4c72d2(0x190))[_0x4c72d2(0xac)]('')+_0x4c72d2(0x159)+(this['showUnitArrow']&&this['unitCategory']!==_0x4c72d2(0xd1)?_0x4c72d2(0x1be)+this[_0x4c72d2(0x14e)]+'\x22\x20width=\x2212\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20':'')+_0x4c72d2(0x136),this[_0x4c72d2(0x1e6)]();}['updateDropdownWidth'](){const _0x49157a=_0xbded2c,_0x5d340b=this[_0x49157a(0x125)]['querySelector'](_0x49157a(0x2a9));if(!_0x5d340b)return;const _0x4a4f75=document[_0x49157a(0x1c3)]('span');_0x4a4f75[_0x49157a(0x22b)]['visibility']='hidden',_0x4a4f75[_0x49157a(0x22b)]['position']=_0x49157a(0x1a0),_0x4a4f75[_0x49157a(0x22b)][_0x49157a(0xdb)]=_0x49157a(0xaf),_0x4a4f75['style'][_0x49157a(0x1d7)]=window[_0x49157a(0x1f7)](_0x5d340b)[_0x49157a(0x1d7)],document[_0x49157a(0x21f)]['appendChild'](_0x4a4f75),_0x4a4f75[_0x49157a(0x24a)]=this[_0x49157a(0x156)];const _0x62c889=_0x4a4f75['offsetWidth'];document[_0x49157a(0x21f)][_0x49157a(0x179)](_0x4a4f75);const _0x49da51=this[_0x49157a(0x1c9)]?0x10:0x6,_0x5ae110=this[_0x49157a(0x1c9)]?0x8:0x0;let _0x1aed11=_0x62c889+_0x49da51+_0x5ae110+0x2;_0x1aed11=Math['max'](_0x1aed11,0x1e),_0x5d340b[_0x49157a(0x22b)][_0x49157a(0x16d)]=_0x1aed11+'px';}[_0xbded2c(0x28a)](){const _0x637ffe=_0xbded2c;this[_0x637ffe(0x125)][_0x637ffe(0x2ad)](_0x637ffe(0x225),this['handleUnitChange'][_0x637ffe(0x1a3)](this));const _0x3ce083=this[_0x637ffe(0x125)][_0x637ffe(0xc8)](_0x637ffe(0x1e4));_0x3ce083&&(_0x3ce083[_0x637ffe(0x2ad)]('mouseover',this[_0x637ffe(0x198)][_0x637ffe(0x1a3)](this)),_0x3ce083[_0x637ffe(0x2ad)](_0x637ffe(0x11c),this['handleUnitContainerMouseOut']['bind'](this)));}[_0xbded2c(0x1d2)](){const _0x523132=_0xbded2c;this['shadowRoot'][_0x523132(0x1de)](_0x523132(0x225),this[_0x523132(0x1ed)]['bind'](this));const _0x4b43d6=this[_0x523132(0x125)][_0x523132(0xc8)](_0x523132(0x1e4));_0x4b43d6&&(_0x4b43d6[_0x523132(0x1de)]('mouseover',this[_0x523132(0x198)][_0x523132(0x1a3)](this)),_0x4b43d6['removeEventListener'](_0x523132(0x11c),this[_0x523132(0xfa)][_0x523132(0x1a3)](this)));}['handleUnitContainerMouseOver'](){const _0x71a91e=_0xbded2c,_0x354f07=this[_0x71a91e(0x125)]['querySelector']('.tooltip');_0x354f07&&(this['tooltipTimeout']=setTimeout(()=>{const _0x58275e=_0x71a91e;_0x354f07['style'][_0x58275e(0xfc)]='block';},0x3e8));}[_0xbded2c(0xfa)](){const _0x226db3=_0xbded2c,_0x1317ab=this[_0x226db3(0x125)][_0x226db3(0xc8)]('.tooltip');_0x1317ab&&(setTimeout(()=>{const _0x10323f=_0x226db3;_0x1317ab[_0x10323f(0x22b)][_0x10323f(0xfc)]=_0x10323f(0x25c);},0x7d0),clearTimeout(this[_0x226db3(0x2ac)]));}}class _0x1cf3f4 extends HTMLElement{constructor(){const _0x481d8a=_0xbded2c;super(),this['attachShadow']({'mode':_0x481d8a(0x11f)}),this[_0x481d8a(0x17e)]=[],this[_0x481d8a(0x156)]='',this['unitCategory']='',this[_0x481d8a(0x183)]=0x2,this['showUnitArrow']=!0x0;}['connectedCallback'](){const _0x18d613=_0xbded2c;this['unit']=this['getAttribute'](_0x18d613(0x156))||'cm',this[_0x18d613(0x17e)]=this[_0x18d613(0xd9)]('values')[_0x18d613(0x203)](',')['map'](Number)[_0x18d613(0x24f)](_0xe991a=>this[_0x18d613(0x1fe)](_0xe991a,this['unit'])),this['unitCategory']=_0x354538(this[_0x18d613(0x156)]),this[_0x18d613(0x183)]=parseInt(this['getAttribute']('decimal-places'))||0x2,this[_0x18d613(0x1c9)]=!this[_0x18d613(0x1ca)](_0x18d613(0xb1))||this[_0x18d613(0xd9)](_0x18d613(0xb1))===_0x18d613(0x158),this['render'](),this[_0x18d613(0x28a)]();}static get[_0xbded2c(0x170)](){const _0x57a2de=_0xbded2c;return['values',_0x57a2de(0x156),'decimal-places',_0x57a2de(0xb1)];}[_0xbded2c(0x25b)](_0x2dd42a,_0xf6072f,_0x21a570){const _0x452126=_0xbded2c;if(_0x2dd42a===_0x452126(0x17e))this['values']=_0x21a570[_0x452126(0x203)](',')['map'](Number)['map'](_0x31d2b9=>this[_0x452126(0x1fe)](_0x31d2b9,this[_0x452126(0x156)]));else{if(_0x2dd42a==='unit'){const _0x121882=this[_0x452126(0x156)];this[_0x452126(0x156)]=_0x21a570,this[_0x452126(0xf6)]=_0x354538(_0x21a570),_0x121882!==_0x21a570&&(this['values']=this[_0x452126(0x17e)][_0x452126(0x24f)](_0x4afde2=>_0x322322(_0x4afde2,_0x121882,_0x21a570,this[_0x452126(0xf6)])));}else _0x2dd42a===_0x452126(0x1ef)?this[_0x452126(0x183)]=parseInt(_0x21a570)||0x2:_0x2dd42a===_0x452126(0xb1)&&(this[_0x452126(0x1c9)]=_0x21a570===null||_0x21a570===_0x452126(0x158));}this[_0x452126(0x110)]();}[_0xbded2c(0x110)](){const _0x4c95a4=_0xbded2c,_0x40bf63=this[_0x4c95a4(0x17e)][_0x4c95a4(0x24f)](_0x17e8f1=>this['formatPairValue'](_0x17e8f1));this[_0x4c95a4(0x125)][_0x4c95a4(0x197)]=_0x4c95a4(0xb5)+(this[_0x4c95a4(0x1c9)]?_0x4c95a4(0x10f):_0x4c95a4(0x25c))+_0x4c95a4(0x124)+(this['showUnitArrow']?_0x4c95a4(0x10f):_0x4c95a4(0x25c))+_0x4c95a4(0x1f6)+(this['showUnitArrow']?'auto':_0x4c95a4(0x25c))+_0x4c95a4(0x19b)+_0x40bf63[_0x4c95a4(0xac)](',\x20')+_0x4c95a4(0xca)+(_0x439340[this[_0x4c95a4(0xf6)]]||[this[_0x4c95a4(0x156)]])[_0x4c95a4(0x24f)](_0x1b5fd2=>'<option\x20value=\x22'+_0x1b5fd2+'\x22\x20'+(_0x1b5fd2===this[_0x4c95a4(0x156)]?_0x4c95a4(0x133):'')+_0x4c95a4(0x1c7)+_0x1b5fd2+_0x4c95a4(0x190))[_0x4c95a4(0xac)]('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</div>\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',this[_0x4c95a4(0x1e6)]();}[_0xbded2c(0x1e6)](){const _0x357969=_0xbded2c,_0x79ad61=this['shadowRoot']['querySelector'](_0x357969(0x2a9));if(!_0x79ad61)return;const _0xf7ea84=document['createElement'](_0x357969(0x1df));_0xf7ea84[_0x357969(0x22b)][_0x357969(0x258)]=_0x357969(0x21c),_0xf7ea84['style'][_0x357969(0x21a)]=_0x357969(0x1a0),_0xf7ea84[_0x357969(0x22b)][_0x357969(0xdb)]='nowrap',_0xf7ea84[_0x357969(0x22b)][_0x357969(0x1d7)]=window[_0x357969(0x1f7)](_0x79ad61)[_0x357969(0x1d7)],document['body'][_0x357969(0x256)](_0xf7ea84),_0xf7ea84['textContent']=this[_0x357969(0x156)];const _0x305951=_0xf7ea84['offsetWidth'];document[_0x357969(0x21f)][_0x357969(0x179)](_0xf7ea84);const _0x3c85a7=this[_0x357969(0x1c9)]?0x10:0x6,_0x428310=this[_0x357969(0x1c9)]?0x8:0x0;let _0x497be9=_0x305951+_0x3c85a7+_0x428310+0x2;_0x497be9=Math['max'](_0x497be9,0x1e),_0x79ad61['style']['width']=_0x497be9+'px';}[_0xbded2c(0x28a)](){const _0x173e12=_0xbded2c;this['shadowRoot']['addEventListener']('change',this[_0x173e12(0x1ed)][_0x173e12(0x1a3)](this));}[_0xbded2c(0x1fe)](_0x97a737,_0xe0cd6e){const _0x2f43dd=_0xbded2c;return _0xe0cd6e===_0x2f43dd(0x14d)?_0x39efa2(_0x97a737):parseFloat(_0x97a737);}['formatPairValue'](_0x5a8306){return this['unit']==='ft-in'?_0x289b40(_0x5a8306):_0x154f0b(_0x5a8306,this['decimalPlaces']);}[_0xbded2c(0x1ed)](_0x46c0c1){const _0x51d6d7=_0xbded2c;if(_0x46c0c1[_0x51d6d7(0x243)]['tagName']===_0x51d6d7(0x1c8)){const _0x486ecf=_0x46c0c1['target'][_0x51d6d7(0x1da)];this[_0x51d6d7(0x17e)]=this['values']['map'](_0x3396cf=>_0x322322(_0x3396cf,this[_0x51d6d7(0x156)],_0x486ecf,this[_0x51d6d7(0xf6)])),this[_0x51d6d7(0x156)]=_0x486ecf,this[_0x51d6d7(0x110)]();}this['updateDropdownWidth']();}}class _0x3ecece extends HTMLElement{constructor(){const _0x744f1d=_0xbded2c;super(),this[_0x744f1d(0xb4)]({'mode':_0x744f1d(0x11f)}),this['values']=[],this[_0x744f1d(0x156)]='',this[_0x744f1d(0xf6)]='',this['decimalPlaces']=0x2,this[_0x744f1d(0x1c9)]=!0x0,this[_0x744f1d(0x10c)]='',this[_0x744f1d(0x186)]=!0x1;}[_0xbded2c(0x13e)](){const _0x32ec39=_0xbded2c;this['unit']=this[_0x32ec39(0xd9)]('unit')||'cm',this[_0x32ec39(0x1c5)](this[_0x32ec39(0xd9)](_0x32ec39(0x17e))),this[_0x32ec39(0xf6)]=_0x354538(this['unit']),this[_0x32ec39(0x183)]=parseInt(this['getAttribute'](_0x32ec39(0x1ef)))||0x2,this[_0x32ec39(0x1c9)]=!this[_0x32ec39(0x1ca)](_0x32ec39(0xb1))||this[_0x32ec39(0xd9)]('show-unit-arrow')===_0x32ec39(0x158),this[_0x32ec39(0x110)](),this[_0x32ec39(0x28a)]();}static get[_0xbded2c(0x170)](){const _0x232104=_0xbded2c;return[_0x232104(0x17e),_0x232104(0x156),'decimal-places','show-unit-arrow'];}[_0xbded2c(0x25b)](_0x5111aa,_0x5aeeab,_0xcc7c2a){const _0x5ae14a=_0xbded2c;if(_0x5111aa===_0x5ae14a(0x17e))this['parseTripletValues'](_0xcc7c2a);else{if(_0x5111aa===_0x5ae14a(0x156)){const _0x44cf96=this['unit'];this['unit']=_0xcc7c2a,this[_0x5ae14a(0xf6)]=_0x354538(_0xcc7c2a),_0x44cf96!==_0xcc7c2a&&(this[_0x5ae14a(0x17e)]=this['values'][_0x5ae14a(0x24f)](_0x52853b=>_0x322322(_0x52853b,_0x44cf96,_0xcc7c2a,this['unitCategory'])));}else _0x5111aa===_0x5ae14a(0x1ef)?this[_0x5ae14a(0x183)]=parseInt(_0xcc7c2a)||0x2:_0x5111aa===_0x5ae14a(0xb1)&&(this[_0x5ae14a(0x1c9)]=_0xcc7c2a===null||_0xcc7c2a==='true');}this[_0x5ae14a(0x110)]();}[_0xbded2c(0x1fe)](_0x480b2f,_0x2ad01c){const _0x1a955a=_0xbded2c;return _0x2ad01c===_0x1a955a(0x14d)?_0x39efa2(_0x480b2f):parseFloat(_0x480b2f);}['parseTripletValues'](_0x449e6b){const _0x3414e8=_0xbded2c;this[_0x3414e8(0x10c)]='',this[_0x3414e8(0x186)]=_0x449e6b[_0x3414e8(0x173)]('(')&&_0x449e6b[_0x3414e8(0xfd)](')'),this[_0x3414e8(0x186)]&&(_0x449e6b=_0x449e6b[_0x3414e8(0x1dc)](0x1,-0x1)),_0x449e6b[_0x3414e8(0x191)]('x')?(this['values']=_0x449e6b[_0x3414e8(0x203)]('x')[_0x3414e8(0x24f)](_0x4fbfab=>this[_0x3414e8(0x1fe)](_0x4fbfab,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]='x'):_0x449e6b[_0x3414e8(0x191)](',')?(this[_0x3414e8(0x17e)]=_0x449e6b['split'](',')[_0x3414e8(0x24f)](_0x2c6ffa=>_0x2c6ffa['trim']())[_0x3414e8(0x24f)](_0x54082d=>this['parseValue'](_0x54082d,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]=_0x3414e8(0x12f)):(this[_0x3414e8(0x17e)]=_0x449e6b[_0x3414e8(0x203)](/\s+/)['map'](_0x25dcc7=>this[_0x3414e8(0x1fe)](_0x25dcc7,this[_0x3414e8(0x156)])),this[_0x3414e8(0x10c)]=_0x3414e8(0x222));}[_0xbded2c(0x297)](_0x529c35){const _0xb73699=_0xbded2c;return this[_0xb73699(0x156)]===_0xb73699(0x14d)?_0x289b40(_0x529c35):_0x154f0b(_0x529c35,this[_0xb73699(0x183)]);}[_0xbded2c(0x261)](_0x405e80){const _0x12534d=_0xbded2c;let _0x2f08a4='';const _0x121aa7=_0x405e80[_0x12534d(0x24f)](_0x122841=>this['formatTripletValue'](_0x122841));return this['format']==='x'?_0x2f08a4=_0x121aa7[0x0]+_0x12534d(0x115)+this[_0x12534d(0x156)]+'</span>\x20x\x20'+_0x121aa7[0x1]+_0x12534d(0x115)+this['unit']+_0x12534d(0x22d)+_0x121aa7[0x2]:this[_0x12534d(0x10c)]===_0x12534d(0x12f)?_0x2f08a4=_0x121aa7[_0x12534d(0xac)](',\x20'):_0x2f08a4=_0x121aa7[_0x12534d(0xac)]('\x20'),_0x2f08a4;}[_0xbded2c(0x110)](){const _0x19c149=_0xbded2c,_0x33b73c=this['formatTriplet'](this['values']);this[_0x19c149(0x125)][_0x19c149(0x197)]=_0x19c149(0x2af)+(this['showUnitArrow']?'auto':'none')+_0x19c149(0x124)+(this[_0x19c149(0x1c9)]?_0x19c149(0x10f):_0x19c149(0x25c))+_0x19c149(0x1f6)+(this[_0x19c149(0x1c9)]?_0x19c149(0x10f):_0x19c149(0x25c))+_0x19c149(0x1eb)+(this['hasParentheses']?'(':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22values\x22>'+_0x33b73c+_0x19c149(0x23e)+(this[_0x19c149(0x186)]&&this[_0x19c149(0x10c)]!=='x'?')':'')+_0x19c149(0x17c)+(_0x439340[this[_0x19c149(0xf6)]]||[this['unit']])[_0x19c149(0x24f)](_0x2350a1=>'<option\x20value=\x22'+_0x2350a1+'\x22\x20'+(_0x2350a1===this['unit']?_0x19c149(0x133):'')+_0x19c149(0x1c7)+_0x2350a1+_0x19c149(0x190))[_0x19c149(0xac)]('')+_0x19c149(0x1f1)+(this[_0x19c149(0x186)]&&this[_0x19c149(0x10c)]==='x'?')':'')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20</span>\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',this['updateDropdownWidth']();}[_0xbded2c(0x1e6)](){const _0xcb2b03=_0xbded2c,_0x2d184f=this[_0xcb2b03(0x125)][_0xcb2b03(0xc8)](_0xcb2b03(0x2a9));if(!_0x2d184f)return;const _0x4f199e=document['createElement'](_0xcb2b03(0x1df));_0x4f199e[_0xcb2b03(0x22b)][_0xcb2b03(0x258)]=_0xcb2b03(0x21c),_0x4f199e['style']['position']=_0xcb2b03(0x1a0),_0x4f199e['style']['whiteSpace']=_0xcb2b03(0xaf),_0x4f199e[_0xcb2b03(0x22b)][_0xcb2b03(0x1d7)]=window['getComputedStyle'](_0x2d184f)[_0xcb2b03(0x1d7)],document['body']['appendChild'](_0x4f199e),_0x4f199e[_0xcb2b03(0x24a)]=this['unit'];const _0x14d91c=_0x4f199e[_0xcb2b03(0xd4)];document['body'][_0xcb2b03(0x179)](_0x4f199e);const _0x1301d1=this['showUnitArrow']?0x10:0x6,_0x215640=this[_0xcb2b03(0x1c9)]?0x8:0x0;let _0x3110ef=_0x14d91c+_0x1301d1+_0x215640+0x2;_0x3110ef=Math[_0xcb2b03(0xe9)](_0x3110ef,0x1e),_0x2d184f['style'][_0xcb2b03(0x16d)]=_0x3110ef+'px';}[_0xbded2c(0x28a)](){const _0x1102b0=_0xbded2c;this[_0x1102b0(0x125)][_0x1102b0(0x2ad)](_0x1102b0(0x225),this['handleUnitChange'][_0x1102b0(0x1a3)](this));}[_0xbded2c(0x1ed)](_0x6b736b){const _0x2ac941=_0xbded2c;if(_0x6b736b[_0x2ac941(0x243)][_0x2ac941(0x1a2)]===_0x2ac941(0x1c8)){const _0x31095d=_0x6b736b[_0x2ac941(0x243)]['value'];this[_0x2ac941(0x17e)]=this[_0x2ac941(0x17e)]['map'](_0x58a6bf=>_0x322322(_0x58a6bf,this[_0x2ac941(0x156)],_0x31095d,this[_0x2ac941(0xf6)])),this[_0x2ac941(0x156)]=_0x31095d,this[_0x2ac941(0x110)]();}this[_0x2ac941(0x1e6)]();}}class _0x5e01d9 extends HTMLElement{constructor(){const _0x53e5e5=_0xbded2c;super(),this[_0x53e5e5(0xb4)]({'mode':_0x53e5e5(0x11f)}),this[_0x53e5e5(0x1af)]=0x0;}[_0xbded2c(0x13e)](){this['render'](),this['attachEventListeners']();}[_0xbded2c(0x110)](){const _0x24d9e0=_0xbded2c;this[_0x24d9e0(0x125)][_0x24d9e0(0x197)]=_0x24d9e0(0x1aa)+this['count']+_0x24d9e0(0x18e);}[_0xbded2c(0x28a)](){const _0x4e6fcc=_0xbded2c,_0x1fe278=this[_0x4e6fcc(0x125)][_0x4e6fcc(0xc8)]('.increment'),_0x251939=this['shadowRoot'][_0x4e6fcc(0xc8)]('.decrement');_0x1fe278[_0x4e6fcc(0x2ad)](_0x4e6fcc(0x1f2),()=>this['increment']()),_0x251939[_0x4e6fcc(0x2ad)](_0x4e6fcc(0x1f2),()=>this[_0x4e6fcc(0x1ab)]());}[_0xbded2c(0x1b4)](){const _0x2ce853=_0xbded2c;this[_0x2ce853(0x1af)]++,this['updateCount']();}[_0xbded2c(0x1ab)](){const _0x3160ed=_0xbded2c;this[_0x3160ed(0x1af)]--,this[_0x3160ed(0x205)]();}[_0xbded2c(0x205)](){const _0x347130=_0xbded2c,_0xfea913=this[_0x347130(0x125)]['querySelector'](_0x347130(0x20f));_0xfea913['textContent']=this[_0x347130(0x1af)];}}const _0x5f1b70=(_0x3d2dba,_0xf1102b)=>{const _0x4ff9a1=_0xbded2c;typeof window<'u'&&!customElements[_0x4ff9a1(0x199)](_0x3d2dba)&&customElements[_0x4ff9a1(0x27d)](_0x3d2dba,_0xf1102b);};_0x5f1b70(_0xbded2c(0x233),_0x2f6cef),_0x5f1b70('uc-qty',class extends _0x2f6cef{}),_0x5f1b70(_0xbded2c(0x245),_0x1cf3f4),_0x5f1b70(_0xbded2c(0x208),_0x3ecece),_0x5f1b70('new-component-1',_0x5e01d9),_0x4068ae[_0xbded2c(0x185)]=_0x5e01d9,_0x4068ae[_0xbded2c(0x252)]=_0x2f6cef,_0x4068ae[_0xbded2c(0xf4)]=_0x1cf3f4,_0x4068ae['UcQtyTriplet']=_0x3ecece,Object[_0xbded2c(0x1ce)](_0x4068ae,Symbol[_0xbded2c(0x1b6)],{'value':_0xbded2c(0x277)});}));
1
+ (function(u,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(u=typeof globalThis<"u"?globalThis:u||self,L(u.PQWebComponents={}))})(this,function(u){"use strict";const o=.45359237,r=9.80665,H=5280,a=25.4/1e3,n=12*a,W=1852,Q=66*660,p=4.54609,g=231,I=268.8025,f=1/8,F=1/20,j=1/16,B=8,_=8,Y=1/16,X=240,Z=250,tt=10,N=14.59390294,b=1055.05585262,y=4.1868,M=4.184,R=550*o*r*n,C=101325,$=1/760,U=133.322387415,et=624150974e10,k={Length:["m","nano[nm]","µm","micron","mm","cm","dm","km","in","ft-in","thou[mil, or thousandth of an inch]","ft","yd","mile","NM[M, nmi, or nautical mile]"],Mass:["kg","g","mg","µg","oz","lbm","slug","ton(US/short)","ton(UK-Imperial/long)","tonne"],Time:["s[second]","s","minute","h","h[hour]","day","week"],ElectricalCurrent:["A","Ampere[amp]","mA","µA","kA","MA","esu/s"],Temperature:["°K","°C","°F","°Ra"],"Amount of Substance":["mol","mmol","kmol"],"Luminous Intensity":["cd[candela]","lm/sr","cp[candlepower]","cp[candlepower(before 1948)]"],Acceleration:["m/s²","m/min²","mm/s²","ft/s²","ft/min²","in/s²"],"Gravitational Constant":["m³/kg/s²","N⋅m²/kg²","dyn⋅cm²/g²"],"Velocity (Angular)":["rad/s","rad/min","rad/h","deg°/s","deg°/min","deg°/h","rpm[rev/min]","rev/s"],"Acceleration (Angular)":["rad/s²","rad/min²","deg°/s²","deg°/min²"],Illuminance:["lux","lumen/m²","lm/m²","meter-candle","phot","foot-candle","fc","lumen/ft²","lm/ft²"],Frequency:["Hz","1/s","1/min","rpm","1/hour","mHz","kHz","MHz","GHz"],Area:["m²","µm²","mm²","cm²","km²","hectare","in²","ft²","yd²","acre","mile²"],"Volume / Section Modulus":["m³","µm³","mm³","cm³","L","ml","km³","in³","ft³","yd³","gal(UK-imperial)","gal(US-liquid)","gal(US-dry)","pint(UK-imperial)","pint(US-liquid)","pint(US-dry)","fluid ounce(UK-imperial)","fluid ounce(US-liquid)","bushel(UK-imperial)","bushel(US-dry)","cup(US-liquid)","cup(Legal)","cup(Metric)","cup(Imperial)"],"Polar Moment of Inertia":["m⁴","mm⁴","cm⁴","in⁴","ft⁴"],"Moment of Inertia":["kg⋅m²","g⋅cm²","g⋅mm²","lbm⋅ft²","lbm⋅in²","oz⋅in²"],Force:["N","kN","MN","kgf","lb","lbf","kip[kilo pound]"],Angle:["radian","rad","deg°","revolution"],"Solid Angle":["sr[steradian]","m²/m²"],"BMI-Body Mass Index/Ballistic Coefficient":["kg/m²","g/cm²","g/mm²","tonne/m²","lbm/yd²","lbm/ft²","lbm/in²","oz/yd²","oz/ft²","oz/in²"],Density:["kg/m³","kg/L","g/cm³","g/mm³","lbm/ft³","lbm/in³"],Energy:["J[Joule]","kJ","MJ","GJ","TNT Equivalent[kiloton]","Btu","MM Btu","calorie(IT)","kilo-calorie(IT)","calorie(TH)","kilo-calorie(TH)","HP Hour","Wh","kWh","eV[electron-volt]"],Power:["W[watt]","kW","MW","GW[Gigawatt]","Btu/h","Btu/minute","MM Btu/h","Btu(AC)","calorie(IT)/second","calorie(IT)/minute","kilo-calorie(IT)/hour","calorie(TH)/second","calorie(TH)/minute","kilo-calorie(TH)/hour","lb-ft/second","lb-ft/minute","HP","J/second","J/minute","J/h","MJ/h","kJ/minute"],"Torque, Moment of Force":["Nm","kNm","lb-in","kip-in","lb-ft","oz-in","oz-ft"],"Pressure/Stress":["Pa","kPa","MPa","GPa","bar","mbar","atm","mm HG","cm HG","in HG","mm W.C.","m W.C.","in W.C.","psf","psi","ksi","ksi[kip/in²]"],"Pressure Drop per Unit Length":["Pa/m","Pascal/m","kPa/m","MPa/km","bar/m","mbar/mm","atm/m","mm HG/m","in HG/ft","mm W.C./m","m W.C./m","in W.C./ft","in W.C./100 ft","psf/in","psi/ft","ksi/ft","Torr/ft","mTorr/m"],"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":["N/m","N/mm","kN/m","lb/ft","kips/ft","lb/in"],"Stiffness of Rotary Spring":["N⋅m/rad","N⋅m/deg°","N⋅mm/rad","N⋅mm/deg°","lb-ft/rad","lb-ft/deg°","lb-in/rad","lb-in/deg°"],"Flow Rate (Volume)":["m³/s","m³/min","m³/h","L/s","L/min","L/h","cm³/s","cm³/min","in³/s","in³/min","ft³/s","CFM","CFM[ft³/min]","CFH","CFH[ft³/h]","yd³/min","yd³/h","gpm(US)","gph(US)","bushel(UK-imperial)/h","bushel(US)/h"],"Flow Rate (Mass)":["kg/s","kg/min","kg/h","g/s","g/min","g/h","slug/s","slug/min","slug/h","lbm/s","lbm/min","lbm/h","oz/s","oz/min","oz/h","tonne/h","short ton/h","long ton/h"],"Speed / Velocity (Linear)":["m/s","mm/s","km/s","mm/min","m/min","km/min","mm/h","m/h","km/h","in/s","fps","fps[ft/second]","fpm","fpm[ft/minute]","mph[mile/h]","knot[kn, kt, or nautical mile/h]"],"Fuel Heat Value (Volume)":["J/m³","J/L","kJ/L","kJ/m³","MJ/m³","GJ/m³","cal(IT)/L","kcal(IT)/m³","cal(TH)/L","kcal(TH)/m³","Wh/L","Wh/m³","kWh/m³","HP Hour/ft³","Btu/gal(US)","Btu/ft³","MM Btu/ft³"],"Fuel Heat Value (Mass)":["J/kg","J/g","kJ/kg","MJ/kg","GJ/kg","cal(IT)/g","kcal(IT)/kg","cal(TH)/g","kcal(TH)/kg","Wh/g","Wh/kg","kWh/kg","HP Hour/lbm","Btu/lbm","MM Btu/lbm","Btu/ton(short)"],"Mass Heat Capacity":["J/(kg·°K)","J/(kg·°C)","J/(g·°K)","J/(g·°C)","Btu/(lbm·°F)"],"Viscosity - Absolute/Dynamic(μ)":["PI[Pa·s]","N·s/m²","kg/m/s","P[Poise]","cP","lb·s/ft²","lbm/ft/s"],"Viscosity - Kinematic":["m²/s","m²/min","m²/hr","St[cm²/s]","Stoke","cm²/min","cm²/hr","cSt[mm²/s]","mm²/min","mm²/hr","ft²/s","ft²/min","ft²/hr","in²/s","in²/min","in²/hr"],"Linear Thermal Expansion Coefficient":["1/°K","1/°C","1/°F","1/°Ra"],"Thermal Conductivity":["W/(m⋅°K)","W/(cm⋅°K)","BTU/(h⋅ft⋅°F)","BTU/(h⋅in⋅°F)"],"Electrical Charge":["C[coulomb]","Ah","ampere-hour","mAh","e[electron]","faraday"],"Electrical Potential Difference (Voltage)":["V","Volt","joule/coulomb","J/C","µV","mV","kV","MV"],"Electrical Resistance(Impedance)":["Ω[Ohm]","µΩ","mΩ","kΩ","MΩ"],"Electrical Capacitance":["F[farad]","pF","nF","µF","mF"],"Electrical Inductance":["H[henry]","µH","mH"],"Electrical Conductance":["S[siemens]","℧","µS","mS","kS"],"Magnetic Flux":["Wb[weber]","nWb","µWb","mWb","cWb","dWb"],"Luminous Flux":["lm[lumen]","cd⋅sr"],"Magnetic Flux Density":["T[tesla]","Wb/m²","µT","G","mT"],"Katalytic Activity":["kat[katal]","mol/s","µkat","mkat","kkat","Mkat"],Radioactivity:["Bq[becquerel]","1/s","µBq","mBq","kBq","MBq","Rd[rutherford]","Ci[curie]"],"Absorbed Dose of Ionizing Radiation":["Gy[gray]","J/kg","µGy","mGy","kGy","MGy"],"Equivalent Dose of Ionizing Radiation":["Sv[sievert]","J/kg","µSv","mSv","kSv","MSv"],"Volumetric Displacement":["m³/rad","m³/rev","L/rev","cc/rev","ft³/rev","in³/rev","gal(US-liquid)/rev"],"Fuel Economy":["km/L","mpg(US)","mile/gal(US-liquid)","mpg(UK)","mile/gal(UK-imperial)","mile/L"],"Fuel Consumption":["m³/m","L/km","L/100km","L/mile","L/100mile","gal(US-liquid)/mile","gal(US-liquid)/100mile","gal(UK-imperial)/mile","gal(UK-imperial)/100mile"],"New Energy Economy (MPGe)":["m/J","km/kWh","km/MJ","MPGe","mile/MJ","mile/kWh","mile/MM Btu"],"New Energy Consumption":["J/m","Wh/km","Wh/mile","kWh/km","kWh/100km","kWh/mile","kWh/100mile","MJ/km","MJ/100km","MJ/mile","MJ/100mile","MM Btu/km","MM Btu/100km","MM Btu/mile","MM Btu/100mile"],"Baud Rate":["bit/s","Bd","kBd","MBd","GBd"],Currency:["$","¢","$1K","$1M","$1B","$1T"],"Impulse / Momentum":["N·s","Newton-second","lb·s","kg·m/s","lbm·fps","lbm·fpm"],"Digital Storage":["bit","kilobit","kibibit","megabit","mebibit","gigabit","gibibit","terabit","tebibit","petabit","pebibit","byte","kilobyte","kibibyte","megabyte","mebibyte","gigabyte","gibibyte","terabyte","tebibyte","petabyte","pebibyte"],"Data Transfer Rate":["bit/s","kilobit/s","kibibit/s","megabit/s","mebibit/s","gigabit/s","gibibit/s","terabit/s","tebibit/s","petabit/s","pebibit/s"]},w={Length:{m:1,"nano[nm]":1/1e9,µm:1/1e6,micron:1/1e6,mm:1/1e3,cm:.01,dm:.1,km:1e3,in:a,"thou[mil, or thousandth of an inch]":a/1e3,"ft-in":a,ft:n,yd:3*n,mile:H*n,"NM[M, nmi, or nautical mile]":W},Mass:{kg:1,g:.001,mg:1/1e6,µg:1/1e9,oz:1/16*o,lbm:o,slug:N,"ton(US/short)":2e3*o,"ton(UK-Imperial/long)":2240*o,tonne:1e3},Time:{"s[second]":1,s:1,minute:60,h:3600,"h[hour]":3600,day:3600*24,week:3600*24*7},ElectricalCurrent:{A:1,"Ampere[amp]":1,mA:.001,µA:1e-6,kA:1e3,MA:1e6,"esu/s":1/3e9},Temperature:{"°K":{c0:1,c1:0},"°C":{c0:1,c1:273.15},"°F":{c0:5/9,c1:255.3722222},"°Ra":{c0:5/9,c1:0}},"Amount of Substance":{mol:1,mmol:.001,kmol:1e3},"Luminous Intensity":{"cd[candela]":1,"lm/sr":1,"cp[candlepower]":1,"cp[candlepower(before 1948)]":.981},Acceleration:{"m/s²":1,"m/min²":1/3600,"mm/s²":.001,"ft/s²":n,"ft/min²":n/3600,"in/s²":a},"Gravitational Constant":{"m³/kg/s²":1,"N⋅m²/kg²":1,"dyn⋅cm²/g²":1e3},"Velocity (Angular)":{"rad/s":1,"rad/min":1/60,"rad/h":1/3600,"deg°/s":Math.PI/180,"deg°/min":Math.PI/180/60,"deg°/h":Math.PI/180/3600,"rpm[rev/min]":2*Math.PI/60,"rev/s":2*Math.PI},"Acceleration (Angular)":{"rad/s²":1,"rad/min²":1/3600,"deg°/s²":Math.PI/180,"deg°/min²":Math.PI/180/3600},Illuminance:{lux:1,"lumen/m²":1,"lm/m²":1,"meter-candle":1,phot:1e4,"foot-candle":1/Math.pow(n,2),fc:1/Math.pow(n,2),"lumen/ft²":1/Math.pow(n,2),"lm/ft²":1/Math.pow(n,2)},Frequency:{Hz:1,"1/s":1,"1/min":1/60,rpm:1/60,"1/hour":1/3600,mHz:1/1e3,kHz:1e3,MHz:1e6,GHz:1e9},Area:{"m²":1,"µm²":Math.pow(1/1e6,2),"mm²":Math.pow(1/1e3,2),"cm²":Math.pow(1/100,2),"km²":1e6,hectare:Math.pow(100,2),"in²":Math.pow(a,2),"ft²":Math.pow(n,2),"yd²":Math.pow(n*3,2),acre:Q*Math.pow(n,2),"mile²":Math.pow(H*n,2)},"Volume / Section Modulus":{"m³":1,"µm³":Math.pow(1/1e6,3),"mm³":Math.pow(1/1e3,3),"cm³":Math.pow(1/100,3),L:1/1e3,ml:1/1e6,"km³":Math.pow(1e3,3),"in³":Math.pow(a,3),"ft³":Math.pow(n,3),"yd³":Math.pow(n*3,3),"gal(UK-imperial)":p*1/1e3,"gal(US-liquid)":g*Math.pow(a,3),"gal(US-dry)":I*Math.pow(a,3),"pint(UK-imperial)":f*p*1/1e3,"pint(US-liquid)":f*g*Math.pow(a,3),"pint(US-dry)":f*I*Math.pow(a,3),"fluid ounce(UK-imperial)":F*f*p/1e3,"fluid ounce(US-liquid)":j*f*g*Math.pow(a,3),"bushel(UK-imperial)":B*p/1e3,"bushel(US-dry)":_*I*Math.pow(a,3),"cup(US-liquid)":Y*g*Math.pow(a,3),"cup(Legal)":X*Math.pow(.01,3),"cup(Metric)":Z*Math.pow(.01,3),"cup(Imperial)":tt*F*f*p/1e3},"Polar Moment of Inertia":{"m⁴":1,"mm⁴":1e-12,"cm⁴":1e-8,"in⁴":Math.pow(a,4),"ft⁴":Math.pow(n,4)},"Moment of Inertia":{"kg⋅m²":1,"g⋅cm²":1/(1e3*1e4),"g⋅mm²":1/(1e3*1e6),"lbm⋅ft²":o*Math.pow(n,2),"lbm⋅in²":o*Math.pow(a,2),"oz⋅in²":o/16*Math.pow(a,2)},Force:{N:1,kN:1e3,MN:1e6,kgf:r,lb:o*r,lbf:o*r,"kip[kilo pound]":1e3*o*r},Angle:{radian:1,rad:1,"deg°":Math.PI/180,revolution:Math.PI*2},"Solid Angle":{"sr[steradian]":1,"m²/m²":1},"BMI-Body Mass Index/Ballistic Coefficient":{"kg/m²":1,"g/cm²":1/1e3/Math.pow(.01,2),"g/mm²":1/1e3/Math.pow(.001,2),"tonne/m²":1e3,"lbm/yd²":o/Math.pow(n*3,2),"lbm/ft²":o/Math.pow(n,2),"lbm/in²":o/Math.pow(a,2),"oz/yd²":o/16/Math.pow(3*n,2),"oz/ft²":o/16/Math.pow(n,2),"oz/in²":o/16/Math.pow(a,2)},Density:{"kg/m³":1,"kg/L":1e3,"g/cm³":1/1e3/Math.pow(.01,3),"g/mm³":1/1e3/Math.pow(.001,3),"lbm/ft³":o/Math.pow(n,3),"lbm/in³":o/Math.pow(a,3)},Energy:{"J[Joule]":1,kJ:1e3,MJ:1e6,GJ:1e9,"TNT Equivalent[kiloton]":1e9*M,Btu:b,"MM Btu":b*1e6,"calorie(IT)":y,"kilo-calorie(IT)":y*1e3,"calorie(TH)":M,"kilo-calorie(TH)":M*1e3,"HP Hour":R*3600,Wh:3600,kWh:3600*1e3,"eV{electron-volt]":1/et},Power:{W:1,kW:1e3,MW:1e6,"GW[Gigawatt]":1e9,"Btu/h":b/3600,"Btu/minute":b/60,"MM Btu/h":b*1e6/3600,"Btu(AC)":b/3600,"calorie(IT)/second":y,"calorie(IT)/minute":y/60,"kilo-calorie(IT)/hour":y*1e3/3600,"calorie(TH)/second":M,"calorie(TH)/minute":M/60,"kilo-calorie(TH)/hour":M*1e3/3600,"lb-ft/second":o*r*n,"lb-ft/minute":o*r*n/60,HP:R,"J/second":1,"J/minute":1/60,"J/h":1/3600,"MJ/h":1e6/3600,"kJ/minute":1e3/60},"Torque, Moment of Force":{Nm:1,kNm:1e3,"lb-in":o*r*a,"kip-in":1e3*o*r*a,"lb-ft":o*r*n,"oz-in":o/16*r*a,"oz-ft":o/16*r*n},"Pressure/Stress":{Pa:1,kPa:1e3,MPa:1e6,GPa:1e9,bar:100*1e3,mbar:100,atm:C,"mm HG":U,"cm HG":U*10,"in HG":U*25.4,"mm W.C.":1/1e3*1e3*r,"m W.C.":1*1e3*r,"in W.C.":a*1e3*r,psf:o*r/Math.pow(n,2),psi:o*r/Math.pow(a,2),ksi:o*r/Math.pow(a,2)*1e3,"ksi{kip/in²]":o*r/Math.pow(a,2)*1e3},"Pressure Drop per Unit Length":{"Pa/m":1,"Pascal/m":1,"kPa/m":1e3,"MPa/km":1e6/1e3,"bar/m":1e5,"mbar/mm":100*1e3,"atm/m":C,"mm HG/m":U,"in HG/ft":U*25.4/n,"mm W.C./m":1/1e3*1e3*r,"m W.C./m":1e3*r,"in W.C./ft":a*1e3*r/n,"in W.C./100 ft":a*1e3*r/n/100,"psf/in":o*r/Math.pow(n,2)/a,"psi/ft":o*r/Math.pow(n,2)/n,"ksi/ft":o*r/Math.pow(n,2)/n*1e3,"Torr/ft":$*C/n,"mTorr/m":$*C/1e3},"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":{"N/m":1,"N/mm":1e3,"kN/m":1e3,"lb/ft":o*r/n,"kips/ft":1e3*o*r/n,"lb/in":o*r/a},"Stiffness of Rotary Spring":{"N⋅m/rad":1,"N⋅m/deg°":1/Math.PI*180,"N⋅mm/rad":1/1e3,"N⋅mm/deg°":1/1e3/Math.PI*180,"lb-ft/rad":o*r*n,"lb-ft/deg°":o*r*n/(Math.PI/180),"lb-in/rad":o*r*a,"lb-in/deg°":o*r*a/(Math.PI/180)},"Flow Rate (Volume)":{"m³/s":1,"m³/min":1/60,"m³/h":1/3600,"L/s":1/1e3,"L/min":1/1e3/60,"L/h":1/1e3/3600,"cm³/s":1e-6,"cm³/min":1e-6/60,"in³/s":Math.pow(a,3),"in³/min":Math.pow(a,3)/60,"ft³/s":Math.pow(n,3),CFM:Math.pow(n,3)/60,"CFM[ft³/min]":Math.pow(n,3)/60,CFH:Math.pow(n,3)/3600,"CFH[ft³/h]":Math.pow(n,3)/3600,"yd³/min":Math.pow(n*3,3)/60,"yd³/h":Math.pow(n*3,3)/3600,"gpm(US)":g*Math.pow(a,3)/60,"gph(US)":g*Math.pow(a,3)/3600,"bushel(UK-imperial)/h":B*p/1e3/3600,"bushel(US)/h":_*I*Math.pow(a,3)/3600},"Flow Rate (Mass)":{"kg/s":1,"kg/min":1/60,"kg/h":1/3600,"g/s":1/1e3,"g/min":1/1e3/60,"g/h":1/1e3/3600,"slug/s":N,"slug/min":N/60,"slug/h":N/3600,"lbm/s":o,"lbm/min":o/60,"lbm/h":o/3600,"oz/s":o/16,"oz/min":o/16/60,"oz/h":o/16/3600,"tonne/h":1e3/3600,"short ton/h":2e3*o/3600,"long ton/h":2240*o/3600},"Speed / Velocity (Linear)":{"m/s":1,"mm/s":1/1e3,"km/s":1,"mm/min":1/1e3/60,"m/min":1/60,"km/min":1e3/60,"mm/h":1/1e3/3600,"m/h":1/3600,"km/h":1e3/3600,"in/s":a,fps:n,"fps[ft/second]":n,fpm:n/60,"fpm[ft/minute]":n/60,"mph[mile/h]":H*n/3600,"knot[kn, kt, or nautical mile/h]":W/3600},"Electrical Potential Difference (Voltage)":{V:1,Volt:1,"joule/coulomb":1,"J/C":1,µV:1/1e6,mV:1/1e3,kV:1e3,MV:1e6}},T=l=>{if(console.log("getUnitCategory called with unit:",l),!l)return console.warn("Unit is undefined or null"),"Custom";for(const t in k)if(k[t].includes(l))return console.log(`Category found for unit ${l}:`,t),t;return console.warn(`No category found for unit: ${l}`),"Custom"},d=(l,t,e,i)=>{if(t==="ft-in"&&e!=="ft-in")return it(l,e);if(t!=="ft-in"&&e==="ft-in")return nt(l,t);if(i!=="Temperature"){const s=w[i][t]/w[i][e];return l*s}else{const s=w[i][t].c0,m=w[i][t].c1,c=w[i][e].c0,h=w[i][e].c1;return(l*s+m-h)/c}},O=(l,t)=>{let e;if(Number.isInteger(l)?e=l.toString():e=l.toFixed(t).replace(/\.?0+$/,""),Math.abs(parseFloat(e))>=1e3){const i=e.split(".");i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e=i.join(".")}return e},P=l=>{const t=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,e=/(\d+)\'/,i=/(\d+)/;let s=l.match(t);if(s){const m=parseInt(s[1])||0,c=parseInt(s[3])||0,h=parseInt(s[5])||0,v=parseInt(s[6])||1;return D(m,c,h,v)}if(s=l.match(e),s){const m=parseInt(s[1])||0;return D(m,0,0,1)}if(s=l.match(i),s){const m=parseInt(s[1])||0;return D(0,m,0,1)}return parseFloat(l)},D=(l,t,e,i)=>l*12+t+e/i,S=(l,t='1/16"')=>{if(l<0)return`-${S(-l,t)}`;const e=parseInt(t.split("/")[1].replace('"',""));let i=Math.floor(l/12),s=Math.floor(l%12);const m=l-Math.floor(l);let c="";if(m>0&&t!==0){let v=Math.round(m*e);const q=(K,x)=>x?q(x,K%x):K,z=q(v,e);c=` ${v/z}/${e/z}`,c.trim()==="1/1"&&(s++,s>=12&&(i++,s-=12),c="")}let h="";return i>0&&(h+=`${i}'`),i>0&&(s>0||c!=="")&&(h+="-"),s>0&&(h+=`${s}`),c!==""&&(h+=c),(s>0||c!=="")&&(h+='"'),h.trim()},it=(l,t)=>{const e=l*.0254;return d(e,"m",t,"Length")},nt=(l,t)=>d(l,t,"m","Length")/.0254;class E extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.tooltipTimeout=null,this.unitCategory="",this.e3dLogoUrl="https://firebasestorage.googleapis.com/v0/b/auto-calc-80237.appspot.com/o/shared%2Fassets%2Fimages%2Fe3d-logo2.png?alt=media&token=7064f466-6168-4b8a-b921-4e86115cb492",console.log("PhysicalQuantity constructor called")}connectedCallback(){console.log("connectedCallback called"),this.unit=this.getAttribute("unit"),console.log("Initial unit:",this.unit),this.updateUnitCategory(),this.inputValue=this.getAttribute("value"),console.log("Initial inputValue:",this.inputValue),this.value=this.parseValue(this.inputValue,this.unit),console.log("Parsed value:",this.value),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",console.log("Initial state:",{unit:this.unit,value:this.value,unitCategory:this.unitCategory,decimalPlaces:this.decimalPlaces,showUnitArrow:this.showUnitArrow}),this.render(),this.attachEventListeners()}disconnectedCallback(){this.removeEventListeners()}static get observedAttributes(){return["value","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(console.log(`attributeChangedCallback called: ${t}`,{oldValue:e,newValue:i}),t==="value")this.inputValue=i||"0",this.value=this.parseValue(this.inputValue,this.unit),console.log("New value parsed:",this.value);else if(t==="unit"){const s=this.unit,m=this.unitCategory;this.unit=i||"mm",this.updateUnitCategory(),s!==this.unit&&(m===this.unitCategory?(console.log("Converting value:",{from:s,to:this.unit,value:this.value,unitCategory:this.unitCategory}),this.value=d({value:this.value,fromUnit:s,toUnit:this.unit,unitCategory:this.unitCategory})):console.log("Unit category changed, keeping original value"),console.log("New value:",this.value))}else t==="decimal-places"?(this.decimalPlaces=parseInt(i)||2,console.log("New decimal places:",this.decimalPlaces)):t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true",console.log("Show unit arrow:",this.showUnitArrow));this.render()}updateUnitCategory(){console.log("updateUnitCategory called with unit:",this.unit),this.unitCategory=T(this.unit),console.log("Updated unit category:",this.unitCategory)}parseValue(t,e){if(console.log("parseValue called with:",{value:t,unit:e}),typeof t=="string"&&t.trim()==="")return console.log("Empty string value, returning 0"),0;const i=e==="ft-in"?P(t):parseFloat(t)||0;return console.log("Parsed value:",i),i}formatDisplayValue(){return this.unit==="ft-in"?S(this.value):O(this.value,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;console.log("handleUnitChange:",{from:this.unit,to:e,value:this.value,unitCategory:this.unitCategory}),this.value=d(this.value,this.unit,e,this.unitCategory),console.log("Converted value:",this.value),this.unit=e,this.updateUnitCategory(),this.render()}this.updateDropdownWidth()}render(){const t=this.formatDisplayValue();this.shadowRoot.innerHTML=`
2
+ <style>
3
+ :host {
4
+ display: inline-flex;
5
+ align-items: baseline;
6
+ vertical-align: baseline;
7
+ }
8
+ .quantity {
9
+ display: inline-flex;
10
+ align-items: baseline;
11
+ position: relative;
12
+ }
13
+ .value {
14
+ margin-right: 2px;
15
+ margin-left: 2px;
16
+ position: relative;
17
+ }
18
+ .unit-container {
19
+ position: relative;
20
+ display: inline-flex;
21
+ align-items: baseline;
22
+ }
23
+ .unit-container select {
24
+ appearance: ${this.showUnitArrow?"auto":"none"};
25
+ -webkit-appearance: ${this.showUnitArrow?"auto":"none"};
26
+ -moz-appearance: ${this.showUnitArrow?"auto":"none"};
27
+ border-radius: 0.15em;
28
+ border: none;
29
+ margin: 0;
30
+ padding: 0 0.1em 0 0.2em;
31
+ color: blue;
32
+ background-color: lightgray;
33
+ font-family: inherit;
34
+ font-size: 0.9em;
35
+ line-height: normal;
36
+ cursor: pointer;
37
+ text-align: left;
38
+ text-align-last: center;
39
+ /* height: 1.1em; */
40
+ vertical-align: baseline;
41
+ min-width: 2.5em;
42
+ }
43
+ .unit-container select::-ms-expand {
44
+ display: ${this.showUnitArrow?"block":"none"};
45
+ }
46
+ /* Custom arrow styles */
47
+ /*
48
+ .unit-container::after {
49
+ content: '▼';
50
+ font-size: 0.7em;
51
+ color: red;
52
+ position: absolute;
53
+ right: 0.3em;
54
+ top: 50%;
55
+ transform: translateY(-50%);
56
+ pointer-events: none;
57
+ }
58
+ */
59
+ .tooltip {
60
+ position: absolute;
61
+ bottom: 100%;
62
+ left: 50%;
63
+ transform: translateX(-50%);
64
+ padding: 0;
65
+ display: none;
66
+ font-size: 12px;
67
+ pointer-events: none;
68
+ }
69
+ .unit-container:hover .tooltip {
70
+ display: block;
71
+ }
72
+ .tooltip a {
73
+ text-decoration: none;
74
+ color: blue;
75
+ }
76
+ .tooltip a:hover {
77
+ text-decoration: underline;
78
+ }
79
+ </style>
80
+
81
+ <div class="quantity">
82
+ <span class="value">${t}</span>
83
+ <div class="unit-container">
84
+ <select>
85
+ ${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
86
+ ${e}</option>`).join("")}
87
+ </select>
88
+
89
+ ${this.showUnitArrow&&this.unitCategory!=="Custom"?`
90
+ <a class="tooltip" href="https://v2-docs.donwen.com/daily-calculations/unit-converter.html"
91
+ title="Unit Converter for All Categories" target="_blank">
92
+ <img src="${this.e3dLogoUrl}" width="12" />
93
+ </a>
94
+ `:""}
95
+
96
+ </div>
97
+ </div>
98
+ `,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.addEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.addEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}removeEventListeners(){this.shadowRoot.removeEventListener("change",this.handleUnitChange.bind(this));const t=this.shadowRoot.querySelector(".unit-container");t&&(t.removeEventListener("mouseover",this.handleUnitContainerMouseOver.bind(this)),t.removeEventListener("mouseout",this.handleUnitContainerMouseOut.bind(this)))}handleUnitContainerMouseOver(){const t=this.shadowRoot.querySelector(".tooltip");t&&(this.tooltipTimeout=setTimeout(()=>{t.style.display="block"},1e3))}handleUnitContainerMouseOut(){const t=this.shadowRoot.querySelector(".tooltip");t&&(setTimeout(()=>{t.style.display="none"},2e3),clearTimeout(this.tooltipTimeout))}}class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.values=this.getAttribute("values").split(",").map(Number).map(t=>this.parseValue(t,this.unit)),this.unitCategory=T(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.values=i.split(",").map(Number).map(s=>this.parseValue(s,this.unit));else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=T(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}render(){const t=this.values.map(e=>this.formatPairValue(e));this.shadowRoot.innerHTML=`
99
+ <style>
100
+ :host {
101
+ display: inline-flex;
102
+ align-items: baseline;
103
+ vertical-align: baseline;
104
+ }
105
+ .quantity-pair {
106
+ display: inline-flex;
107
+ align-items: baseline;
108
+ position: relative;
109
+ }
110
+ .values {
111
+ margin-right: 2px;
112
+ margin-left: 2px;
113
+ position: relative;
114
+ }
115
+ .unit-container {
116
+ position: relative;
117
+ display: inline-flex;
118
+ align-items: baseline;
119
+ }
120
+ .unit-container select {
121
+ appearance: ${this.showUnitArrow?"auto":"none"};
122
+ -webkit-appearance: ${this.showUnitArrow?"auto":"none"};
123
+ -moz-appearance: ${this.showUnitArrow?"auto":"none"};
124
+ border-radius: 0.15em;
125
+ border: none;
126
+ margin: 0;
127
+ padding: 0 0.1em 0 0.2em;
128
+ color: blue;
129
+ background-color: lightgray;
130
+ font-family: inherit;
131
+ font-size: 0.9em;
132
+ line-height: normal;
133
+ cursor: pointer;
134
+ text-align: left;
135
+ text-align-last: center;
136
+ vertical-align: baseline;
137
+ min-width: 2.5em;
138
+ }
139
+ </style>
140
+
141
+ <div class="quantity-pair">
142
+ <span class="values">(${t.join(", ")})</span>
143
+ <div class="unit-container">
144
+ <select>
145
+ ${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
146
+ ${e}</option>`).join("")}
147
+ </select>
148
+ </div>
149
+ </div>
150
+ `,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}formatPairValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class V extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.values=[],this.unit="",this.unitCategory="",this.decimalPlaces=2,this.showUnitArrow=!0,this.format="",this.hasParentheses=!1}connectedCallback(){this.unit=this.getAttribute("unit")||"cm",this.parseTripletValues(this.getAttribute("values")),this.unitCategory=T(this.unit),this.decimalPlaces=parseInt(this.getAttribute("decimal-places"))||2,this.showUnitArrow=!this.hasAttribute("show-unit-arrow")||this.getAttribute("show-unit-arrow")==="true",this.render(),this.attachEventListeners()}static get observedAttributes(){return["values","unit","decimal-places","show-unit-arrow"]}attributeChangedCallback(t,e,i){if(t==="values")this.parseTripletValues(i);else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=T(i),s!==i&&(this.values=this.values.map(m=>d(m,s,i,this.unitCategory)))}else t==="decimal-places"?this.decimalPlaces=parseInt(i)||2:t==="show-unit-arrow"&&(this.showUnitArrow=i===null||i==="true");this.render()}parseValue(t,e){return e==="ft-in"?P(t):parseFloat(t)}parseTripletValues(t){this.format="",this.hasParentheses=t.startsWith("(")&&t.endsWith(")"),this.hasParentheses&&(t=t.slice(1,-1)),t.includes("x")?(this.values=t.split("x").map(e=>this.parseValue(e,this.unit)),this.format="x"):t.includes(",")?(this.values=t.split(",").map(e=>e.trim()).map(e=>this.parseValue(e,this.unit)),this.format="comma"):(this.values=t.split(/\s+/).map(e=>this.parseValue(e,this.unit)),this.format="space")}formatTripletValue(t){return this.unit==="ft-in"?S(t):O(t,this.decimalPlaces)}formatTriplet(t){let e="";const i=t.map(s=>this.formatTripletValue(s));return this.format==="x"?e=`${i[0]} <span class="unit-text">${this.unit}</span> x ${i[1]} <span class="unit-text">${this.unit}</span> x ${i[2]}`:this.format==="comma"?e=i.join(", "):e=i.join(" "),e}render(){const t=this.formatTriplet(this.values);this.shadowRoot.innerHTML=`
151
+ <style>
152
+ :host {
153
+ display: inline-flex;
154
+ align-items: baseline;
155
+ vertical-align: baseline;
156
+ }
157
+ .quantity-triplet {
158
+ display: inline-flex;
159
+ align-items: baseline;
160
+ position: relative;
161
+ }
162
+ .values {
163
+ margin-right: 2px;
164
+ position: relative;
165
+ }
166
+ .unit-text,
167
+ .unit-container,
168
+ .unit-container select {
169
+ color: blue;
170
+ background-color: lightgray;
171
+ font-family: inherit;
172
+ font-size: 0.9em;
173
+ line-height: normal;
174
+ border-radius: 0.15em;
175
+ padding: 0 0.2em;
176
+ }
177
+ .unit-container {
178
+ position: relative;
179
+ display: inline-flex;
180
+ align-items: baseline;
181
+ }
182
+ .unit-container select {
183
+ appearance: ${this.showUnitArrow?"auto":"none"};
184
+ -webkit-appearance: ${this.showUnitArrow?"auto":"none"};
185
+ -moz-appearance: ${this.showUnitArrow?"auto":"none"};
186
+ border: none;
187
+ margin: 0;
188
+ cursor: pointer;
189
+ text-align: left;
190
+ text-align-last: center;
191
+ min-width: 2.5em;
192
+ }
193
+ </style>
194
+
195
+ <span class="quantity-triplet">
196
+ ${this.hasParentheses?"(":""}
197
+ <span class="values">${t}</span>
198
+ ${this.hasParentheses&&this.format!=="x"?")":""}
199
+ <div class="unit-container">
200
+ <select>
201
+ ${(k[this.unitCategory]||[this.unit]).map(e=>`<option value="${e}" ${e===this.unit?"selected":""}>
202
+ ${e}</option>`).join("")}
203
+ </select>
204
+ </div>
205
+ ${this.hasParentheses&&this.format==="x"?")":""}
206
+ </span>
207
+ `,this.updateDropdownWidth()}updateDropdownWidth(){const t=this.shadowRoot.querySelector("select");if(!t)return;const e=document.createElement("span");e.style.visibility="hidden",e.style.position="absolute",e.style.whiteSpace="nowrap",e.style.font=window.getComputedStyle(t).font,document.body.appendChild(e),e.textContent=this.unit;const i=e.offsetWidth;document.body.removeChild(e);const s=this.showUnitArrow?16:6,m=this.showUnitArrow?8:0;let h=i+s+m+2;h=Math.max(h,30),t.style.width=`${h}px`}attachEventListeners(){this.shadowRoot.addEventListener("change",this.handleUnitChange.bind(this))}handleUnitChange(t){if(t.target.tagName==="SELECT"){const e=t.target.value;this.values=this.values.map(i=>d(i,this.unit,e,this.unitCategory)),this.unit=e,this.render()}this.updateDropdownWidth()}}class G extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.count=0}connectedCallback(){this.render(),this.attachEventListeners()}render(){this.shadowRoot.innerHTML=`
208
+ <style>
209
+ :host {
210
+ display: inline-block;
211
+ font-family: Arial, sans-serif;
212
+ }
213
+ .counter {
214
+ display: flex;
215
+ align-items: center;
216
+ gap: 10px;
217
+ padding: 10px;
218
+ border: 1px solid #ccc;
219
+ border-radius: 5px;
220
+ }
221
+ button {
222
+ font-size: 16px;
223
+ background-color: blue;
224
+ color: red;
225
+ padding: 5px 10px;
226
+ cursor: pointer;
227
+ }
228
+ .count {
229
+ font-size: 18px;
230
+ font-weight: bold;
231
+ }
232
+ </style>
233
+ <div class="counter">
234
+ <button class="decrement">-</button>
235
+ <span class="count">${this.count}</span>
236
+ <button class="increment">+</button>
237
+ </div>
238
+ `}attachEventListeners(){const t=this.shadowRoot.querySelector(".increment"),e=this.shadowRoot.querySelector(".decrement");t.addEventListener("click",()=>this.increment()),e.addEventListener("click",()=>this.decrement())}increment(){this.count++,this.updateCount()}decrement(){this.count--,this.updateCount()}updateCount(){const t=this.shadowRoot.querySelector(".count");t.textContent=this.count}}const A=(l,t)=>{typeof window<"u"&&!customElements.get(l)&&customElements.define(l,t)};A("physical-quantity",E),A("uc-qty",class extends E{}),A("uc-qty-pair",J),A("uc-qty-triplet",V),A("new-component-1",G),u.NewComponent1=G,u.PhysicalQuantity=E,u.UcQtyPair=J,u.UcQtyTriplet=V,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "physical-quantity",
3
- "version": "1.1.90",
3
+ "version": "1.1.91",
4
4
  "description": "A web component bundle to represent physical quantities with automated unit conversion.",
5
5
  "main": "dist/pq.umd.js",
6
6
  "module": "dist/pq.es.js",