physical-quantity 1.1.75 → 1.1.80

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/README.md CHANGED
@@ -261,6 +261,7 @@ Contributions are welcome! Please contact the developer for any bugs, features,
261
261
  ## Change Log
262
262
  | Version | Date | Description |
263
263
  |---|---|---|
264
+ | v1.1.80 |20241013| Minor bug fixes. |
264
265
  | v1.1.75 |20241010| Added more ounces and cups for volume. |
265
266
  | v1.1.70 |20240810| Fine-tuned style. Checked usage of PQ element in Vue 3 app. Works with both unpkg and npm installation. |
266
267
  | v1.1.68 |20240722| Readme update with Technical Writing example. |
@@ -282,6 +283,6 @@ Contributions are welcome! Please contact the developer for any bugs, features,
282
283
  ## Contact
283
284
  If you have any questions or feedback, feel free to contact me at don.wen@yahoo.com.
284
285
  For more info, please visit:
285
- [AutoCalcs](https://v2.donwen.com/)
286
+ [AutoCalcs](https://www.donwen.com/)
286
287
  [AutoCalcs Docs and Library](https://v2-docs.donwen.com/)
287
288
  [Demo](https://v2-docs.donwen.com/demo/index.html)
package/dist/pq.es.js CHANGED
@@ -1,102 +1 @@
1
- const _0x4c48af=_0x42a2;(function(_0x4c03fe,_0x44d00c){const _0x58b3ea=_0x42a2,_0xbb5cfb=_0x4c03fe();while(!![]){try{const _0x2e4a2a=parseInt(_0x58b3ea(0x283))/0x1*(parseInt(_0x58b3ea(0x2d6))/0x2)+-parseInt(_0x58b3ea(0x32c))/0x3+parseInt(_0x58b3ea(0x3b9))/0x4+-parseInt(_0x58b3ea(0x330))/0x5+-parseInt(_0x58b3ea(0x3c4))/0x6+parseInt(_0x58b3ea(0x215))/0x7*(-parseInt(_0x58b3ea(0x38f))/0x8)+-parseInt(_0x58b3ea(0x3db))/0x9*(-parseInt(_0x58b3ea(0x394))/0xa);if(_0x2e4a2a===_0x44d00c)break;else _0xbb5cfb['push'](_0xbb5cfb['shift']());}catch(_0x397573){_0xbb5cfb['push'](_0xbb5cfb['shift']());}}}(_0x1be4,0x52e1d));var Nt=Object[_0x4c48af(0x234)],xt=(_0x490c23,_0x5d63cc,_0x3632b9)=>_0x5d63cc in _0x490c23?Nt(_0x490c23,_0x5d63cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3632b9}):_0x490c23[_0x5d63cc]=_0x3632b9,Q=(_0x52937e,_0x51def7,_0x3f646f)=>(xt(_0x52937e,typeof _0x51def7!=_0x4c48af(0x294)?_0x51def7+'':_0x51def7,_0x3f646f),_0x3f646f);/**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const q=globalThis,lt=q['ShadowRoot']&&(q[_0x4c48af(0x376)]===void 0x0||q[_0x4c48af(0x376)]['nativeShadow'])&&_0x4c48af(0x3b1)in Document['prototype']&&_0x4c48af(0x40b)in CSSStyleSheet[_0x4c48af(0x282)],ht=Symbol(),pt=new WeakMap();let Et=class{constructor(_0x1cbbb0,_0x3ce8ba,_0x2fc0f4){const _0x3eabd9=_0x4c48af;if(this[_0x3eabd9(0x2d8)]=!0x0,_0x2fc0f4!==ht)throw Error(_0x3eabd9(0x214));this[_0x3eabd9(0x373)]=_0x1cbbb0,this['t']=_0x3ce8ba;}get[_0x4c48af(0x3c7)](){const _0x2e9a78=_0x4c48af;let _0x1432bb=this['o'];const _0x4c98df=this['t'];if(lt&&_0x1432bb===void 0x0){const _0x50546b=_0x4c98df!==void 0x0&&_0x4c98df[_0x2e9a78(0x2b0)]===0x1;_0x50546b&&(_0x1432bb=pt['get'](_0x4c98df)),_0x1432bb===void 0x0&&((this['o']=_0x1432bb=new CSSStyleSheet())[_0x2e9a78(0x38e)](this[_0x2e9a78(0x373)]),_0x50546b&&pt[_0x2e9a78(0x3e5)](_0x4c98df,_0x1432bb));}return _0x1432bb;}[_0x4c48af(0x405)](){const _0x5b2612=_0x4c48af;return this[_0x5b2612(0x373)];}};const Wt=(_0x2ae3fc,..._0x5cf70d)=>{const _0x1e62e0=_0x4c48af,_0x39ac24=_0x2ae3fc[_0x1e62e0(0x2b0)]===0x1?_0x2ae3fc[0x0]:_0x5cf70d[_0x1e62e0(0x1e0)]((_0x19457c,_0x1594c0,_0x5174d8)=>_0x19457c+(_0x24d79d=>{const _0x38d107=_0x1e62e0;if(_0x24d79d['_$cssResult$']===!0x0)return _0x24d79d[_0x38d107(0x373)];if(typeof _0x24d79d==_0x38d107(0x3bf))return _0x24d79d;throw Error(_0x38d107(0x3fd)+_0x24d79d+_0x38d107(0x31a));})(_0x1594c0)+_0x2ae3fc[_0x5174d8+0x1],_0x2ae3fc[0x0]);return new Et(_0x39ac24,_0x2ae3fc,ht);},Lt=(_0x28b4bc,_0x35f643)=>{const _0x5bbad7=_0x4c48af;if(lt)_0x28b4bc['adoptedStyleSheets']=_0x35f643[_0x5bbad7(0x269)](_0x44f55c=>_0x44f55c instanceof CSSStyleSheet?_0x44f55c:_0x44f55c[_0x5bbad7(0x3c7)]);else for(const _0x3b33c4 of _0x35f643){const _0x389ddb=document['createElement']('style'),_0x486683=q[_0x5bbad7(0x3c0)];_0x486683!==void 0x0&&_0x389ddb[_0x5bbad7(0x2e8)]('nonce',_0x486683),_0x389ddb[_0x5bbad7(0x3b8)]=_0x3b33c4[_0x5bbad7(0x373)],_0x28b4bc[_0x5bbad7(0x2eb)](_0x389ddb);}},dt=lt?_0x4e910b=>_0x4e910b:_0x2ce8ce=>_0x2ce8ce instanceof CSSStyleSheet?(_0x20184d=>{const _0x4c5ab1=_0x4c48af;let _0x336682='';for(const _0x834d94 of _0x20184d[_0x4c5ab1(0x1d9)])_0x336682+=_0x834d94['cssText'];return(_0x4ef735=>new Et(typeof _0x4ef735==_0x4c5ab1(0x3cc)?_0x4ef735:_0x4ef735+'',void 0x0,ht))(_0x336682);})(_0x2ce8ce):_0x2ce8ce,{is:Bt,defineProperty:Vt,getOwnPropertyDescriptor:zt,getOwnPropertyNames:Ft,getOwnPropertySymbols:Jt,getPrototypeOf:Rt}=Object,w=globalThis,gt=w[_0x4c48af(0x284)],Ot=gt?gt[_0x4c48af(0x2f2)]:'',X=w[_0x4c48af(0x25e)],N=(_0x127e21,_0x52734c)=>_0x127e21,rt={'toAttribute'(_0x19f83e,_0x56d138){const _0x560434=_0x4c48af;switch(_0x56d138){case Boolean:_0x19f83e=_0x19f83e?Ot:null;break;case Object:case Array:_0x19f83e=_0x19f83e==null?_0x19f83e:JSON[_0x560434(0x2aa)](_0x19f83e);}return _0x19f83e;},'fromAttribute'(_0x6815ca,_0x3b6272){const _0x4a7870=_0x4c48af;let _0x549e88=_0x6815ca;switch(_0x3b6272){case Boolean:_0x549e88=_0x6815ca!==null;break;case Number:_0x549e88=_0x6815ca===null?null:Number(_0x6815ca);break;case Object:case Array:try{_0x549e88=JSON[_0x4a7870(0x28b)](_0x6815ca);}catch{_0x549e88=null;}}return _0x549e88;}},Tt=(_0x4f6354,_0x2caeff)=>!Bt(_0x4f6354,_0x2caeff),ft={'attribute':!0x0,'type':String,'converter':rt,'reflect':!0x1,'hasChanged':Tt};Symbol['metadata']??(Symbol[_0x4c48af(0x1d1)]=Symbol(_0x4c48af(0x1d1))),w['litPropertyMetadata']??(w[_0x4c48af(0x3d2)]=new WeakMap());class P extends HTMLElement{static[_0x4c48af(0x3eb)](_0x1d8ec8){const _0x39c22a=_0x4c48af;this['_$Ei'](),(this['l']??(this['l']=[]))[_0x39c22a(0x2b4)](_0x1d8ec8);}static get[_0x4c48af(0x41a)](){const _0x12277b=_0x4c48af;return this[_0x12277b(0x21c)](),this['_$Eh']&&[...this['_$Eh'][_0x12277b(0x28c)]()];}static['createProperty'](_0x9eb3bc,_0x1a6541=ft){const _0x41b96b=_0x4c48af;if(_0x1a6541[_0x41b96b(0x377)]&&(_0x1a6541[_0x41b96b(0x389)]=!0x1),this['_$Ei'](),this[_0x41b96b(0x2d5)][_0x41b96b(0x3e5)](_0x9eb3bc,_0x1a6541),!_0x1a6541[_0x41b96b(0x35f)]){const _0x5d0481=Symbol(),_0x31de5e=this[_0x41b96b(0x346)](_0x9eb3bc,_0x5d0481,_0x1a6541);_0x31de5e!==void 0x0&&Vt(this[_0x41b96b(0x282)],_0x9eb3bc,_0x31de5e);}}static['getPropertyDescriptor'](_0x427e68,_0x519d7e,_0x340999){const _0x814116=_0x4c48af,{get:_0x5c7493,set:_0xe5b8a}=zt(this[_0x814116(0x282)],_0x427e68)??{'get'(){return this[_0x519d7e];},'set'(_0x127d7c){this[_0x519d7e]=_0x127d7c;}};return{'get'(){const _0x539356=_0x814116;return _0x5c7493==null?void 0x0:_0x5c7493[_0x539356(0x262)](this);},'set'(_0xa33f32){const _0x429ebc=_0x814116,_0xe8977d=_0x5c7493==null?void 0x0:_0x5c7493[_0x429ebc(0x262)](this);_0xe5b8a['call'](this,_0xa33f32),this[_0x429ebc(0x3e6)](_0x427e68,_0xe8977d,_0x340999);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x384c46){const _0x261f89=_0x4c48af;return this[_0x261f89(0x2d5)][_0x261f89(0x2c4)](_0x384c46)??ft;}static['_$Ei'](){const _0x5bb5dd=_0x4c48af;if(this[_0x5bb5dd(0x367)](N('elementProperties')))return;const _0x3bc010=Rt(this);_0x3bc010[_0x5bb5dd(0x21c)](),_0x3bc010['l']!==void 0x0&&(this['l']=[..._0x3bc010['l']]),this[_0x5bb5dd(0x2d5)]=new Map(_0x3bc010['elementProperties']);}static[_0x4c48af(0x21c)](){const _0x1b121=_0x4c48af;if(this['hasOwnProperty'](N('finalized')))return;if(this[_0x1b121(0x1cd)]=!0x0,this['_$Ei'](),this[_0x1b121(0x367)](N(_0x1b121(0x37f)))){const _0x2d313d=this[_0x1b121(0x37f)],_0x5c2acc=[...Ft(_0x2d313d),...Jt(_0x2d313d)];for(const _0x4cc635 of _0x5c2acc)this['createProperty'](_0x4cc635,_0x2d313d[_0x4cc635]);}const _0x401815=this[Symbol[_0x1b121(0x1d1)]];if(_0x401815!==null){const _0x4c4a3a=litPropertyMetadata[_0x1b121(0x2c4)](_0x401815);if(_0x4c4a3a!==void 0x0){for(const [_0x2867d1,_0x12b017]of _0x4c4a3a)this[_0x1b121(0x2d5)][_0x1b121(0x3e5)](_0x2867d1,_0x12b017);}}this[_0x1b121(0x21b)]=new Map();for(const [_0x4ced8f,_0x148378]of this[_0x1b121(0x2d5)]){const _0x5c3d2f=this[_0x1b121(0x1db)](_0x4ced8f,_0x148378);_0x5c3d2f!==void 0x0&&this[_0x1b121(0x21b)][_0x1b121(0x3e5)](_0x5c3d2f,_0x4ced8f);}this[_0x1b121(0x1bd)]=this[_0x1b121(0x1c3)](this['styles']);}static[_0x4c48af(0x1c3)](_0x12a1c4){const _0x574418=_0x4c48af,_0x272359=[];if(Array[_0x574418(0x2ba)](_0x12a1c4)){const _0x2ef32a=new Set(_0x12a1c4[_0x574418(0x3cf)](0x1/0x0)[_0x574418(0x383)]());for(const _0x10e4f9 of _0x2ef32a)_0x272359[_0x574418(0x1bc)](dt(_0x10e4f9));}else _0x12a1c4!==void 0x0&&_0x272359[_0x574418(0x2b4)](dt(_0x12a1c4));return _0x272359;}static[_0x4c48af(0x1db)](_0x2ed73c,_0x18a327){const _0x5bb333=_0x4c48af,_0x2e2f13=_0x18a327[_0x5bb333(0x389)];return _0x2e2f13===!0x1?void 0x0:typeof _0x2e2f13==_0x5bb333(0x3cc)?_0x2e2f13:typeof _0x2ed73c==_0x5bb333(0x3cc)?_0x2ed73c[_0x5bb333(0x305)]():void 0x0;}constructor(){const _0x5c1942=_0x4c48af;super(),this[_0x5c1942(0x3de)]=void 0x0,this[_0x5c1942(0x3d8)]=!0x1,this[_0x5c1942(0x3d0)]=!0x1,this[_0x5c1942(0x1bb)]=null,this['_$Ev']();}['_$Ev'](){const _0x51ccc6=_0x4c48af;var _0x2db9ac;this[_0x51ccc6(0x1f7)]=new Promise(_0x1832e2=>this['enableUpdating']=_0x1832e2),this[_0x51ccc6(0x39f)]=new Map(),this[_0x51ccc6(0x2ef)](),this[_0x51ccc6(0x3e6)](),(_0x2db9ac=this[_0x51ccc6(0x407)]['l'])==null||_0x2db9ac[_0x51ccc6(0x3ad)](_0xabacb5=>_0xabacb5(this));}['addController'](_0x400da7){const _0x320542=_0x4c48af;var _0x36cbbd;(this[_0x320542(0x272)]??(this['_$EO']=new Set()))[_0x320542(0x35b)](_0x400da7),this['renderRoot']!==void 0x0&&this[_0x320542(0x254)]&&((_0x36cbbd=_0x400da7['hostConnected'])==null||_0x36cbbd[_0x320542(0x262)](_0x400da7));}['removeController'](_0x1f6477){const _0x39463c=_0x4c48af;var _0x5d18f4;(_0x5d18f4=this[_0x39463c(0x272)])==null||_0x5d18f4[_0x39463c(0x30a)](_0x1f6477);}[_0x4c48af(0x2ef)](){const _0x3287a1=_0x4c48af,_0x5ccaef=new Map(),_0x2be5bd=this[_0x3287a1(0x407)]['elementProperties'];for(const _0x52d1a6 of _0x2be5bd[_0x3287a1(0x28c)]())this['hasOwnProperty'](_0x52d1a6)&&(_0x5ccaef[_0x3287a1(0x3e5)](_0x52d1a6,this[_0x52d1a6]),delete this[_0x52d1a6]);_0x5ccaef[_0x3287a1(0x1de)]>0x0&&(this[_0x3287a1(0x3de)]=_0x5ccaef);}[_0x4c48af(0x20c)](){const _0x93afe7=_0x4c48af,_0x3e811d=this['shadowRoot']??this['attachShadow'](this[_0x93afe7(0x407)][_0x93afe7(0x3f2)]);return Lt(_0x3e811d,this[_0x93afe7(0x407)][_0x93afe7(0x1bd)]),_0x3e811d;}[_0x4c48af(0x35c)](){const _0x3437ea=_0x4c48af;var _0x165740;this[_0x3437ea(0x24a)]??(this[_0x3437ea(0x24a)]=this[_0x3437ea(0x20c)]()),this['enableUpdating'](!0x0),(_0x165740=this[_0x3437ea(0x272)])==null||_0x165740['forEach'](_0x2c3a69=>{var _0x4be19c;return(_0x4be19c=_0x2c3a69['hostConnected'])==null?void 0x0:_0x4be19c['call'](_0x2c3a69);});}[_0x4c48af(0x37b)](_0x4fc89b){}[_0x4c48af(0x3f7)](){const _0x12cdab=_0x4c48af;var _0x285847;(_0x285847=this[_0x12cdab(0x272)])==null||_0x285847[_0x12cdab(0x3ad)](_0x492259=>{const _0x5b74d9=_0x12cdab;var _0x405222;return(_0x405222=_0x492259[_0x5b74d9(0x1d0)])==null?void 0x0:_0x405222[_0x5b74d9(0x262)](_0x492259);});}[_0x4c48af(0x319)](_0x2137d0,_0x24b54e,_0x22766e){const _0x8b761=_0x4c48af;this[_0x8b761(0x211)](_0x2137d0,_0x22766e);}['_$EC'](_0x48cd35,_0x2b74b8){const _0x36b55a=_0x4c48af;var _0x899a26;const _0x1fbc56=this[_0x36b55a(0x407)][_0x36b55a(0x2d5)][_0x36b55a(0x2c4)](_0x48cd35),_0x5f06f8=this[_0x36b55a(0x407)][_0x36b55a(0x1db)](_0x48cd35,_0x1fbc56);if(_0x5f06f8!==void 0x0&&_0x1fbc56['reflect']===!0x0){const _0x26536c=(((_0x899a26=_0x1fbc56[_0x36b55a(0x415)])==null?void 0x0:_0x899a26[_0x36b55a(0x324)])!==void 0x0?_0x1fbc56[_0x36b55a(0x415)]:rt)['toAttribute'](_0x2b74b8,_0x1fbc56['type']);this['_$Em']=_0x48cd35,_0x26536c==null?this['removeAttribute'](_0x5f06f8):this[_0x36b55a(0x2e8)](_0x5f06f8,_0x26536c),this[_0x36b55a(0x1bb)]=null;}}['_$AK'](_0x42a772,_0xeec9fc){const _0x2aefd3=_0x4c48af;var _0x1ac2f9;const _0x93f07f=this[_0x2aefd3(0x407)],_0x5e75f1=_0x93f07f['_$Eh'][_0x2aefd3(0x2c4)](_0x42a772);if(_0x5e75f1!==void 0x0&&this[_0x2aefd3(0x1bb)]!==_0x5e75f1){const _0x328032=_0x93f07f['getPropertyOptions'](_0x5e75f1),_0x19fe1c=typeof _0x328032[_0x2aefd3(0x415)]==_0x2aefd3(0x25a)?{'fromAttribute':_0x328032[_0x2aefd3(0x415)]}:((_0x1ac2f9=_0x328032[_0x2aefd3(0x415)])==null?void 0x0:_0x1ac2f9[_0x2aefd3(0x1c5)])!==void 0x0?_0x328032[_0x2aefd3(0x415)]:rt;this[_0x2aefd3(0x1bb)]=_0x5e75f1,this[_0x5e75f1]=_0x19fe1c['fromAttribute'](_0xeec9fc,_0x328032['type']),this['_$Em']=null;}}[_0x4c48af(0x3e6)](_0xc97bfb,_0x1d86b1,_0x1b3ea3){const _0x440694=_0x4c48af;if(_0xc97bfb!==void 0x0){if(_0x1b3ea3??(_0x1b3ea3=this[_0x440694(0x407)][_0x440694(0x266)](_0xc97bfb)),!(_0x1b3ea3['hasChanged']??Tt)(this[_0xc97bfb],_0x1d86b1))return;this['P'](_0xc97bfb,_0x1d86b1,_0x1b3ea3);}this[_0x440694(0x3d8)]===!0x1&&(this['_$ES']=this[_0x440694(0x3c5)]());}['P'](_0x46e734,_0x47ed0,_0xba75fc){const _0x37e214=_0x4c48af;this['_$AL']['has'](_0x46e734)||this[_0x37e214(0x39f)][_0x37e214(0x3e5)](_0x46e734,_0x47ed0),_0xba75fc[_0x37e214(0x34f)]===!0x0&&this[_0x37e214(0x1bb)]!==_0x46e734&&(this[_0x37e214(0x242)]??(this['_$Ej']=new Set()))['add'](_0x46e734);}async[_0x4c48af(0x3c5)](){const _0x7688ce=_0x4c48af;this['isUpdatePending']=!0x0;try{await this['_$ES'];}catch(_0x54f200){Promise['reject'](_0x54f200);}const _0x477a33=this['scheduleUpdate']();return _0x477a33!=null&&await _0x477a33,!this[_0x7688ce(0x3d8)];}['scheduleUpdate'](){return this['performUpdate']();}[_0x4c48af(0x39e)](){const _0x1caa4f=_0x4c48af;var _0x18a319;if(!this[_0x1caa4f(0x3d8)])return;if(!this[_0x1caa4f(0x3d0)]){if(this[_0x1caa4f(0x24a)]??(this[_0x1caa4f(0x24a)]=this[_0x1caa4f(0x20c)]()),this[_0x1caa4f(0x3de)]){for(const [_0xda2e6c,_0x1f0d88]of this[_0x1caa4f(0x3de)])this[_0xda2e6c]=_0x1f0d88;this[_0x1caa4f(0x3de)]=void 0x0;}const _0x523930=this[_0x1caa4f(0x407)][_0x1caa4f(0x2d5)];if(_0x523930['size']>0x0){for(const [_0x17b2ac,_0x554836]of _0x523930)_0x554836['wrapped']!==!0x0||this[_0x1caa4f(0x39f)]['has'](_0x17b2ac)||this[_0x17b2ac]===void 0x0||this['P'](_0x17b2ac,this[_0x17b2ac],_0x554836);}}let _0x250750=!0x1;const _0x21ef6b=this[_0x1caa4f(0x39f)];try{_0x250750=this[_0x1caa4f(0x1ec)](_0x21ef6b),_0x250750?(this['willUpdate'](_0x21ef6b),(_0x18a319=this[_0x1caa4f(0x272)])==null||_0x18a319[_0x1caa4f(0x3ad)](_0x242c6b=>{const _0x18ff19=_0x1caa4f;var _0x17395d;return(_0x17395d=_0x242c6b[_0x18ff19(0x29b)])==null?void 0x0:_0x17395d[_0x18ff19(0x262)](_0x242c6b);}),this[_0x1caa4f(0x27f)](_0x21ef6b)):this[_0x1caa4f(0x2a7)]();}catch(_0x19fe37){throw _0x250750=!0x1,this['_$EU'](),_0x19fe37;}_0x250750&&this[_0x1caa4f(0x2bf)](_0x21ef6b);}[_0x4c48af(0x408)](_0x5cfb61){}[_0x4c48af(0x2bf)](_0x5eb494){const _0x5e68e8=_0x4c48af;var _0x1f12ae;(_0x1f12ae=this[_0x5e68e8(0x272)])==null||_0x1f12ae['forEach'](_0x30773a=>{const _0x2e21a1=_0x5e68e8;var _0x53906e;return(_0x53906e=_0x30773a[_0x2e21a1(0x3d6)])==null?void 0x0:_0x53906e['call'](_0x30773a);}),this[_0x5e68e8(0x3d0)]||(this[_0x5e68e8(0x3d0)]=!0x0,this[_0x5e68e8(0x353)](_0x5eb494)),this[_0x5e68e8(0x308)](_0x5eb494);}[_0x4c48af(0x2a7)](){const _0x16ab40=_0x4c48af;this[_0x16ab40(0x39f)]=new Map(),this[_0x16ab40(0x3d8)]=!0x1;}get[_0x4c48af(0x29a)](){const _0x2a3061=_0x4c48af;return this[_0x2a3061(0x341)]();}[_0x4c48af(0x341)](){const _0x1a570d=_0x4c48af;return this[_0x1a570d(0x1f7)];}[_0x4c48af(0x1ec)](_0x4292a6){return!0x0;}[_0x4c48af(0x27f)](_0x33fb3e){const _0x1dceff=_0x4c48af;this[_0x1dceff(0x242)]&&(this[_0x1dceff(0x242)]=this[_0x1dceff(0x242)][_0x1dceff(0x3ad)](_0x4c4578=>this[_0x1dceff(0x300)](_0x4c4578,this[_0x4c4578]))),this[_0x1dceff(0x2a7)]();}[_0x4c48af(0x308)](_0x474fd8){}['firstUpdated'](_0x4ef17b){}}P[_0x4c48af(0x1bd)]=[],P['shadowRootOptions']={'mode':_0x4c48af(0x2f7)},P[N(_0x4c48af(0x2d5))]=new Map(),P[N(_0x4c48af(0x1cd))]=new Map(),X==null||X({'ReactiveElement':P}),(w[_0x4c48af(0x338)]??(w['reactiveElementVersions']=[]))[_0x4c48af(0x2b4)]('2.0.4');/**
7
- * @license
8
- * Copyright 2017 Google LLC
9
- * SPDX-License-Identifier: BSD-3-Clause
10
- */
11
- const x=globalThis,G=x[_0x4c48af(0x284)],bt=G?G[_0x4c48af(0x34e)](_0x4c48af(0x396),{'createHTML':_0x1a89ca=>_0x1a89ca}):void 0x0,yt=_0x4c48af(0x3b5),k=_0x4c48af(0x30c)+Math[_0x4c48af(0x386)]()[_0x4c48af(0x2ad)](0x9)['slice'](0x2)+'$',Ht='?'+k,qt='<'+Ht+'>',C=document,L=()=>C['createComment'](''),B=_0x3909ef=>_0x3909ef===null||typeof _0x3909ef!=_0x4c48af(0x307)&&typeof _0x3909ef!=_0x4c48af(0x25a),at=Array[_0x4c48af(0x2ba)],Y=_0x4c48af(0x3e8),I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,$t=/>/g,_=RegExp('>|'+Y+_0x4c48af(0x1ce)+Y+'*='+Y+_0x4c48af(0x33d),'g'),kt=/'/g,wt=/"/g,At=/^(?:script|style|textarea|title)$/i,tt=(_0x744847=>(_0x30a46b,..._0x2d84ba)=>({'_$litType$':_0x744847,'strings':_0x30a46b,'values':_0x2d84ba}))(0x1),E=Symbol['for'](_0x4c48af(0x21d)),g=Symbol['for'](_0x4c48af(0x2a4)),vt=new WeakMap(),S=C[_0x4c48af(0x39b)](C,0x81);function It(_0x28bc9d,_0xccc788){const _0x49ee28=_0x4c48af;if(!at(_0x28bc9d)||!_0x28bc9d[_0x49ee28(0x367)](_0x49ee28(0x210)))throw Error('invalid\x20template\x20strings\x20array');return bt!==void 0x0?bt[_0x49ee28(0x419)](_0xccc788):_0xccc788;}class V{constructor({strings:_0x24dbeb,_$litType$:_0x49a86a},_0x586d42){const _0x9916a4=_0x4c48af;let _0x38fa05;this[_0x9916a4(0x26e)]=[];let _0x53d1e9=0x0,_0x4de6ab=0x0;const _0x2c8cce=_0x24dbeb[_0x9916a4(0x2b0)]-0x1,_0x3a7e35=this[_0x9916a4(0x26e)],[_0x18bfd2,_0x3e4fe7]=((_0x3620ad,_0x4d4214)=>{const _0x5d4d4f=_0x9916a4,_0xe6f543=_0x3620ad[_0x5d4d4f(0x2b0)]-0x1,_0x2dc3bc=[];let _0x1c1ad4,_0x1fc438=_0x4d4214===0x2?_0x5d4d4f(0x1dc):_0x4d4214===0x3?'<math>':'',_0x50fd91=I;for(let _0x5a3e6e=0x0;_0x5a3e6e<_0xe6f543;_0x5a3e6e++){const _0x1f5a77=_0x3620ad[_0x5a3e6e];let _0x475a66,_0x5a7566,_0x4678f2=-0x1,_0x4c07da=0x0;for(;_0x4c07da<_0x1f5a77[_0x5d4d4f(0x2b0)]&&(_0x50fd91[_0x5d4d4f(0x23b)]=_0x4c07da,_0x5a7566=_0x50fd91[_0x5d4d4f(0x1ee)](_0x1f5a77),_0x5a7566!==null);)_0x4c07da=_0x50fd91['lastIndex'],_0x50fd91===I?_0x5a7566[0x1]==='!--'?_0x50fd91=Mt:_0x5a7566[0x1]!==void 0x0?_0x50fd91=$t:_0x5a7566[0x2]!==void 0x0?(At[_0x5d4d4f(0x1b8)](_0x5a7566[0x2])&&(_0x1c1ad4=RegExp('</'+_0x5a7566[0x2],'g')),_0x50fd91=_):_0x5a7566[0x3]!==void 0x0&&(_0x50fd91=_):_0x50fd91===_?_0x5a7566[0x0]==='>'?(_0x50fd91=_0x1c1ad4??I,_0x4678f2=-0x1):_0x5a7566[0x1]===void 0x0?_0x4678f2=-0x2:(_0x4678f2=_0x50fd91[_0x5d4d4f(0x23b)]-_0x5a7566[0x2][_0x5d4d4f(0x2b0)],_0x475a66=_0x5a7566[0x1],_0x50fd91=_0x5a7566[0x3]===void 0x0?_:_0x5a7566[0x3]==='\x22'?wt:kt):_0x50fd91===wt||_0x50fd91===kt?_0x50fd91=_:_0x50fd91===Mt||_0x50fd91===$t?_0x50fd91=I:(_0x50fd91=_,_0x1c1ad4=void 0x0);const _0x20815c=_0x50fd91===_&&_0x3620ad[_0x5a3e6e+0x1]['startsWith']('/>')?'\x20':'';_0x1fc438+=_0x50fd91===I?_0x1f5a77+qt:_0x4678f2>=0x0?(_0x2dc3bc[_0x5d4d4f(0x2b4)](_0x475a66),_0x1f5a77['slice'](0x0,_0x4678f2)+yt+_0x1f5a77[_0x5d4d4f(0x3e4)](_0x4678f2)+k+_0x20815c):_0x1f5a77+k+(_0x4678f2===-0x2?_0x5a3e6e:_0x20815c);}return[It(_0x3620ad,_0x1fc438+(_0x3620ad[_0xe6f543]||_0x5d4d4f(0x250))+(_0x4d4214===0x2?_0x5d4d4f(0x251):_0x4d4214===0x3?'</math>':'')),_0x2dc3bc];})(_0x24dbeb,_0x49a86a);if(this['el']=V[_0x9916a4(0x245)](_0x18bfd2,_0x586d42),S[_0x9916a4(0x355)]=this['el'][_0x9916a4(0x344)],_0x49a86a===0x2||_0x49a86a===0x3){const _0x196ffe=this['el'][_0x9916a4(0x344)][_0x9916a4(0x21a)];_0x196ffe[_0x9916a4(0x2a2)](..._0x196ffe[_0x9916a4(0x3be)]);}for(;(_0x38fa05=S['nextNode']())!==null&&_0x3a7e35['length']<_0x2c8cce;){if(_0x38fa05['nodeType']===0x1){if(_0x38fa05['hasAttributes']()){for(const _0x48a942 of _0x38fa05[_0x9916a4(0x2e7)]())if(_0x48a942[_0x9916a4(0x2ea)](yt)){const _0x53ec8a=_0x3e4fe7[_0x4de6ab++],_0x51503d=_0x38fa05[_0x9916a4(0x249)](_0x48a942)[_0x9916a4(0x1df)](k),_0x5afb0f=/([.?@])?(.*)/[_0x9916a4(0x1ee)](_0x53ec8a);_0x3a7e35[_0x9916a4(0x2b4)]({'type':0x1,'index':_0x53d1e9,'name':_0x5afb0f[0x2],'strings':_0x51503d,'ctor':_0x5afb0f[0x1]==='.'?Kt:_0x5afb0f[0x1]==='?'?Dt:_0x5afb0f[0x1]==='@'?jt:D}),_0x38fa05['removeAttribute'](_0x48a942);}else _0x48a942[_0x9916a4(0x216)](k)&&(_0x3a7e35[_0x9916a4(0x2b4)]({'type':0x6,'index':_0x53d1e9}),_0x38fa05['removeAttribute'](_0x48a942));}if(At[_0x9916a4(0x1b8)](_0x38fa05['tagName'])){const _0x10bb20=_0x38fa05[_0x9916a4(0x3b8)][_0x9916a4(0x1df)](k),_0x193623=_0x10bb20['length']-0x1;if(_0x193623>0x0){_0x38fa05[_0x9916a4(0x3b8)]=G?G[_0x9916a4(0x2f2)]:'';for(let _0x330d2b=0x0;_0x330d2b<_0x193623;_0x330d2b++)_0x38fa05[_0x9916a4(0x2e3)](_0x10bb20[_0x330d2b],L()),S['nextNode'](),_0x3a7e35[_0x9916a4(0x2b4)]({'type':0x2,'index':++_0x53d1e9});_0x38fa05['append'](_0x10bb20[_0x193623],L());}}}else{if(_0x38fa05[_0x9916a4(0x40f)]===0x8){if(_0x38fa05['data']===Ht)_0x3a7e35['push']({'type':0x2,'index':_0x53d1e9});else{let _0xc8a508=-0x1;for(;(_0xc8a508=_0x38fa05[_0x9916a4(0x270)][_0x9916a4(0x1fa)](k,_0xc8a508+0x1))!==-0x1;)_0x3a7e35['push']({'type':0x7,'index':_0x53d1e9}),_0xc8a508+=k[_0x9916a4(0x2b0)]-0x1;}}}_0x53d1e9++;}}static[_0x4c48af(0x245)](_0x589d58,_0x118ecd){const _0x5cf5b8=_0x4c48af,_0x53abc2=C[_0x5cf5b8(0x245)](_0x5cf5b8(0x3cb));return _0x53abc2[_0x5cf5b8(0x260)]=_0x589d58,_0x53abc2;}}function _0x42a2(_0x42eec5,_0x5e78c4){const _0x1be485=_0x1be4();return _0x42a2=function(_0x42a2d8,_0x32d216){_0x42a2d8=_0x42a2d8-0x1b7;let _0x49e2c1=_0x1be485[_0x42a2d8];return _0x49e2c1;},_0x42a2(_0x42eec5,_0x5e78c4);}function T(_0x584c00,_0x2db288,_0x14cea3=_0x584c00,_0x382cf0){const _0x239634=_0x4c48af;var _0x36f583,_0x20886a;if(_0x2db288===E)return _0x2db288;let _0x2e9ff6=_0x382cf0!==void 0x0?(_0x36f583=_0x14cea3['o'])==null?void 0x0:_0x36f583[_0x382cf0]:_0x14cea3['l'];const _0x17b65c=B(_0x2db288)?void 0x0:_0x2db288[_0x239634(0x252)];return(_0x2e9ff6==null?void 0x0:_0x2e9ff6[_0x239634(0x407)])!==_0x17b65c&&((_0x20886a=_0x2e9ff6==null?void 0x0:_0x2e9ff6[_0x239634(0x2c6)])==null||_0x20886a[_0x239634(0x262)](_0x2e9ff6,!0x1),_0x17b65c===void 0x0?_0x2e9ff6=void 0x0:(_0x2e9ff6=new _0x17b65c(_0x584c00),_0x2e9ff6[_0x239634(0x1e5)](_0x584c00,_0x14cea3,_0x382cf0)),_0x382cf0!==void 0x0?(_0x14cea3['o']??(_0x14cea3['o']=[]))[_0x382cf0]=_0x2e9ff6:_0x14cea3['l']=_0x2e9ff6),_0x2e9ff6!==void 0x0&&(_0x2db288=T(_0x584c00,_0x2e9ff6[_0x239634(0x2f3)](_0x584c00,_0x2db288[_0x239634(0x1f8)]),_0x2e9ff6,_0x382cf0)),_0x2db288;}class Gt{constructor(_0x4a564c,_0x373138){const _0x35122b=_0x4c48af;this[_0x35122b(0x2d0)]=[],this[_0x35122b(0x1cc)]=void 0x0,this[_0x35122b(0x322)]=_0x4a564c,this[_0x35122b(0x1d2)]=_0x373138;}get[_0x4c48af(0x2a0)](){const _0x3533d5=_0x4c48af;return this[_0x3533d5(0x1d2)][_0x3533d5(0x2a0)];}get[_0x4c48af(0x314)](){const _0x3c9569=_0x4c48af;return this['_$AM'][_0x3c9569(0x314)];}['u'](_0x53855f){const _0x3efc9d=_0x4c48af,{el:{content:_0x57575b},parts:_0x279638}=this[_0x3efc9d(0x322)],_0x300351=((_0x53855f==null?void 0x0:_0x53855f['creationScope'])??C)['importNode'](_0x57575b,!0x0);S[_0x3efc9d(0x355)]=_0x300351;let _0x4cf1b5=S[_0x3efc9d(0x1d4)](),_0x359c51=0x0,_0x29f6ab=0x0,_0x52b4ef=_0x279638[0x0];for(;_0x52b4ef!==void 0x0;){if(_0x359c51===_0x52b4ef['index']){let _0x1eeb04;_0x52b4ef[_0x3efc9d(0x2e5)]===0x2?_0x1eeb04=new z(_0x4cf1b5,_0x4cf1b5['nextSibling'],this,_0x53855f):_0x52b4ef[_0x3efc9d(0x2e5)]===0x1?_0x1eeb04=new _0x52b4ef[(_0x3efc9d(0x2b9))](_0x4cf1b5,_0x52b4ef[_0x3efc9d(0x3c3)],_0x52b4ef['strings'],this,_0x53855f):_0x52b4ef[_0x3efc9d(0x2e5)]===0x6&&(_0x1eeb04=new Zt(_0x4cf1b5,this,_0x53855f)),this['_$AV'][_0x3efc9d(0x2b4)](_0x1eeb04),_0x52b4ef=_0x279638[++_0x29f6ab];}_0x359c51!==(_0x52b4ef==null?void 0x0:_0x52b4ef[_0x3efc9d(0x34a)])&&(_0x4cf1b5=S[_0x3efc9d(0x1d4)](),_0x359c51++);}return S['currentNode']=C,_0x300351;}['p'](_0x214780){const _0x17a67f=_0x4c48af;let _0x1d95d9=0x0;for(const _0xcb27b3 of this[_0x17a67f(0x2d0)])_0xcb27b3!==void 0x0&&(_0xcb27b3[_0x17a67f(0x222)]!==void 0x0?(_0xcb27b3[_0x17a67f(0x2df)](_0x214780,_0xcb27b3,_0x1d95d9),_0x1d95d9+=_0xcb27b3[_0x17a67f(0x222)][_0x17a67f(0x2b0)]-0x2):_0xcb27b3[_0x17a67f(0x2df)](_0x214780[_0x1d95d9])),_0x1d95d9++;}}function _0x1be4(){const _0x3fa79e=['style','symbol','mebibyte','litElementVersions','gigabit/s','in\x20HG','calorie(IT)/second','updateComplete','hostUpdate','kJ/L','short\x20ton/h','ft²/s','mWb','parentNode','calorie(TH)/minute','replaceWith','cal(TH)/L','lit-nothing','megabit/s','define','_$EU','yd³/h','MM\x20Btu/ft³','stringify','mm\x20HG','J/(g·°C)','toFixed','µSv','cSt[mm²/s]','length','kHz','lbm·fpm','g/h','push','J/C','1/°Ra','visibility','in\x20W.C./100\x20ft','ctor','isArray','TNT\x20Equivalent[kiloton]','m²/s','kJ/minute','long\x20ton/h','_$AE','Temperature','Btu/ton(short)','ksi/ft','kibibit','get','g/s','_$AO','renderOptions','kilobit','h[hour]','mm/min','J/m³','tonne/h','kilo-calorie(IT)','mile/gal(UK-imperial)','display','_$AV','m/min','mm²','shadowRoot','N·s/m²','elementProperties','601778WyHhiy','m³/rev','_$cssResult$','endNode','MPa/km','kilo-calorie(TH)/hour','Gy[gray]','bushel(UK-imperial)','L/s','_$AI','fps','element','setConnected','append','Volt','type','mm³','getAttributeNames','setAttribute','lbf','endsWith','appendChild','N⋅m/rad','deg°/s','yd³/min','_$E_','ksi','1/min','emptyScript','_$AS','mm/s²','deg°/min','m³/rad','open','Pa/m','createTextNode','cup(Metric)','oz/ft²','deg°/s²','mAh','tonne','kg·m/s','_$EC','s[second]','kg⋅m²','mile/gal(US-liquid)','join','toLowerCase','cm³/min','object','updated','round','delete','lbm⋅in²','lit$','petabit/s','gibibyte','psi/ft','CFH[ft³/h]','updateDropdownWidth','kGy','nWb','_$AU','µWb','absolute','kg/h','rpm','attributeChangedCallback','.\x20Use\x20\x27unsafeCSS\x27\x20to\x20pass\x20non-literal\x20values,\x20but\x20take\x20care\x20to\x20ensure\x20page\x20security.','span','kilo-calorie(IT)/hour','week','MHz','S[siemens]','cWb','oz-ft','_$AD','GBd','toAttribute','MJ/mile','in³/min','kPa/m','kSv','MM\x20Btu/100km','GJ/m³','Btu','319935ZWfzDB','in\x20HG/ft','Wh/g','cc/rev','1048830FJCnGG','position','ft³','L/rev','styles','kibibit/s','MBq','kWh/mile','reactiveElementVersions','tooltipTimeout','show-unit-arrow','kg/m/s','kips/ft','*(?:[^\x20\x09\x0a\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','µGy','fluid\x20ounce(US-liquid)','gal(UK-imperial)','getUpdateComplete','atm','mile','content','isInteger','getPropertyDescriptor','calorie(IT)','oz/s','gal(US-dry)','index','rad/h','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','gal(UK-imperial)/mile','createPolicy','reflect','J[Joule]','CFH','mile/kWh','firstUpdated','litHtmlVersions','currentNode','value','terabyte','bushel(UK-imperial)/h','match','ft²/min','add','connectedCallback','getUnitCategory','querySelector','noAccessor','km/MJ','rad/s²','Mkat','mBq','handleUnitChange','calorie(TH)','tonne/m²','hasOwnProperty','show-arrow','kPa','pebibit/s','mm/h','slug/h','petabit','select','GJ/kg','kN/m','GW[Gigawatt]','kWh/m³','cssText','e3dLogoUrl','pint(US-liquid)','ShadyCSS','state','options','gigabyte','Ω[Ohm]','enableUpdating','cp[candlepower(before\x201948)]','Wh/m³','J/m','properties','in³','_$AA','H[henry]','reverse','Custom','oz/h','random','iterator','unitConversion','attribute','_$AH','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','g⋅mm²','HP\x20Hour/lbm','replaceSync','2215728eyTuvp','fluid\x20ounce(UK-imperial)','capture','J/h','in/s','10ljjhGh','lbm/s','lit-html','Btu/lbm','psf','N⋅mm/deg°','BTU/(h⋅in⋅°F)','createTreeWalker','trim','meter-candle','performUpdate','_$AL','lb/in','Btu/minute','dyn⋅cm²/g²','tebibyte','Newton-second','byte','4.1.0','ton(UK-Imperial/long)','render','font','g/mm²','1/°K','lm/m²','forEach','mm²/hr','lux','g/mm³','adoptedStyleSheets','radian','J/second','slug/s','$lit$','ksi[kip/in²]','mm\x20HG/m','textContent','2050104AZudMe','kip[kilo\x20pound]','oz/min','kgf','mbar/mm','childNodes','number','litNonce','fpm','includes','name','2783880NWLbqi','_$ET','MM\x20Btu','styleSheet','MGy','m³/h','L/km','template','string','°Ra','mol','flat','hasUpdated','removeChild','litPropertyMetadata','unitCategory','J/minute','mTorr/m','hostUpdated','lbm/ft³','isUpdatePending','handleUnitContainerMouseOver','g⋅cm²','7743537ydnqkX','gibibit/s','kWh/km','_$Ep','Ampere[amp]','revolution','lb-in/deg°','cm²','offsetWidth','slice','set','requestUpdate','gal(UK-imperial)/100mile','[\x20\x09\x0a\x0c\x0d]','toggleAttribute','MSv','addInitializer','mkat','lb-ft/minute','has','cm⁴','insertBefore','slug/min','shadowRootOptions','kWh','µm³','kat[katal]','psi','disconnectedCallback','GHz','yd²','rad/min²','renderBefore','lb·s/ft²','Value\x20passed\x20to\x20\x27css\x27\x20function\x20must\x20be\x20a\x20\x27css\x27\x20function\x20result:\x20','Wh/mile','3.2.0','in³/s','cal(TH)/g','lm/ft²','J/(kg·°K)','GPa','toString','m²/min','constructor','willUpdate','m/J','removeAttribute','replace','Pascal/m','decimalPlaces','handleEvent','nodeType','mebibit','ft/min²','cm²/min','megabit','MJ/m³','converter','m/s²','rad/s','in²/s','createHTML','observedAttributes','cm³/s','cup(US-liquid)','mm⁴','test','mm\x20W.C./m','_$AB','_$Em','unshift','elementStyles','nano[nm]','megabyte','day','host','_$litPart$','finalizeStyles','pint(UK-imperial)','fromAttribute','kip-in','kcal(TH)/kg','µkat','km/h','km²','faraday','_$AN','finalized','(?:([^\x5cs\x22\x27>=/]+)(','ft/s²','hostDisconnected','metadata','_$AM','ton(US/short)','nextNode','foot-candle','tagName','MPGe','Bq[becquerel]','cssRules','lb-ft/deg°','_$Eu','<svg>','uc-qty','size','split','reduce','cm\x20HG','Btu/gal(US)','T[tesla]','mile/L','_$AT','micron','W/(m⋅°K)','_$AR','MJ/h','lbm/yd²','esu/s','shouldUpdate','cal(IT)/L','exec','.tooltip','$1T','J/(kg·°C)','mHz','fill','_$litType$','Torr/ft','formatFeetInchesValue','_$ES','values','L/100mile','indexOf','cm³','MM\x20Btu/100mile','atm/m','mile/MM\x20Btu','MBd','Wh/kg','once','units','calculateTotalInches','N⋅m²/kg²','passive','nextSibling','handleUnitContainerMouseOut','CFM','lumen/ft²','mebibit/s','bushel(US-dry)','createRenderRoot','MJ/kg','CFM[ft³/min]','litElementHydrateSupport','raw','_$AK','oz/yd²','ft²','CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.','14CDTXZu','startsWith','sr[steradian]','formatValue','unit','firstChild','_$Eh','finalize','lit-noChange','km/s','MJ/100km','ampere-hour','cd⋅sr','strings','oz/in²','bar','J/kg','slug','petabyte','hectare','P[Poise]','MPa','St[cm²/s]','hidden','kg/m³','HP\x20Hour','mmol','m³/m','in²/hr','km/kWh','mGy','defineProperty','L/mile','inputValue','floor','m³/s','max','in³/rev','lastIndex','kBd','ft-in','deg°/min²','parseValue','showUnitArrow','lbm/in²','_$Ej','kg/s','Rd[rutherford]','createElement','gal(US-liquid)/mile','cd[candela]','nowrap','getAttribute','renderRoot','Btu/h','bar/m','kilobit/s','N/m','parseFeetInchesValue','<?>','</svg>','_$litDirective$','cp[candlepower]','isConnected','kilobyte','pebibyte','kBq','mm²/min','mm/s','function','in⁴','lbm','fpm[ft/minute]','reactiveElementPolyfillSupport','kWh/100km','innerHTML','L/100km','call','_$litElement$','Wh/L','kmol','getPropertyOptions','acre','mile/MJ','map','Wh/km','phot','rpm[rev/min]','lumen/m²','parts','pow','data','mm\x20W.C.','_$EO','m²/m²','block','1/°C','_$AP','decimal-places','1/°F','cup(Legal)','none','m/h','body','calorie(TH)/second','removeEventListener','update','BTU/(h⋅ft⋅°F)','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','prototype','1RFDYTt','trustedTypes','fps[ft/second]','minute','_$AC','pint(US-dry)','$1M','kWh/100mile','parse','keys','N·s','J/L','lm/sr','kkat','cal(IT)/g','bit/s'];_0x1be4=function(){return _0x3fa79e;};return _0x1be4();}class z{get[_0x4c48af(0x314)](){const _0x40cc83=_0x4c48af;var _0x105058;return((_0x105058=this[_0x40cc83(0x1d2)])==null?void 0x0:_0x105058[_0x40cc83(0x314)])??this['v'];}constructor(_0x1a44b7,_0x344c32,_0x4b0f2d,_0x41a368){const _0x22588=_0x4c48af;this['type']=0x2,this['_$AH']=g,this[_0x22588(0x1cc)]=void 0x0,this[_0x22588(0x381)]=_0x1a44b7,this[_0x22588(0x1ba)]=_0x344c32,this[_0x22588(0x1d2)]=_0x4b0f2d,this[_0x22588(0x378)]=_0x41a368,this['v']=(_0x41a368==null?void 0x0:_0x41a368[_0x22588(0x254)])??!0x0;}get[_0x4c48af(0x2a0)](){const _0x5776b6=_0x4c48af;let _0x2b3131=this[_0x5776b6(0x381)]['parentNode'];const _0x1a4325=this['_$AM'];return _0x1a4325!==void 0x0&&(_0x2b3131==null?void 0x0:_0x2b3131[_0x5776b6(0x40f)])===0xb&&(_0x2b3131=_0x1a4325[_0x5776b6(0x2a0)]),_0x2b3131;}get['startNode'](){const _0x2fd7e8=_0x4c48af;return this[_0x2fd7e8(0x381)];}get[_0x4c48af(0x2d9)](){const _0x177a6c=_0x4c48af;return this[_0x177a6c(0x1ba)];}['_$AI'](_0x51f8ad,_0x3adeaf=this){const _0x204a3f=_0x4c48af;_0x51f8ad=T(this,_0x51f8ad,_0x3adeaf),B(_0x51f8ad)?_0x51f8ad===g||_0x51f8ad==null||_0x51f8ad===''?(this[_0x204a3f(0x38a)]!==g&&this['_$AR'](),this[_0x204a3f(0x38a)]=g):_0x51f8ad!==this['_$AH']&&_0x51f8ad!==E&&this['_'](_0x51f8ad):_0x51f8ad[_0x204a3f(0x1f4)]!==void 0x0?this['$'](_0x51f8ad):_0x51f8ad['nodeType']!==void 0x0?this['T'](_0x51f8ad):(_0x3617eb=>at(_0x3617eb)||typeof(_0x3617eb==null?void 0x0:_0x3617eb[Symbol[_0x204a3f(0x387)]])==_0x204a3f(0x25a))(_0x51f8ad)?this['k'](_0x51f8ad):this['_'](_0x51f8ad);}['O'](_0x588247){const _0x3aaffe=_0x4c48af;return this[_0x3aaffe(0x381)][_0x3aaffe(0x2a0)][_0x3aaffe(0x3f0)](_0x588247,this['_$AB']);}['T'](_0x1688df){const _0x1588ff=_0x4c48af;this[_0x1588ff(0x38a)]!==_0x1688df&&(this[_0x1588ff(0x1e8)](),this[_0x1588ff(0x38a)]=this['O'](_0x1688df));}['_'](_0x77a4f8){const _0x18a809=_0x4c48af;this['_$AH']!==g&&B(this['_$AH'])?this['_$AA'][_0x18a809(0x206)][_0x18a809(0x270)]=_0x77a4f8:this['T'](C[_0x18a809(0x2f9)](_0x77a4f8)),this[_0x18a809(0x38a)]=_0x77a4f8;}['$'](_0x1444dc){const _0x8f1250=_0x4c48af;var _0x5d2878;const {values:_0x51c670,_$litType$:_0x2db8d1}=_0x1444dc,_0x349740=typeof _0x2db8d1==_0x8f1250(0x3bf)?this['_$AC'](_0x1444dc):(_0x2db8d1['el']===void 0x0&&(_0x2db8d1['el']=V[_0x8f1250(0x245)](It(_0x2db8d1['h'],_0x2db8d1['h'][0x0]),this['options'])),_0x2db8d1);if(((_0x5d2878=this[_0x8f1250(0x38a)])==null?void 0x0:_0x5d2878[_0x8f1250(0x322)])===_0x349740)this[_0x8f1250(0x38a)]['p'](_0x51c670);else{const _0x1e9427=new Gt(_0x349740,this),_0x48522d=_0x1e9427['u'](this['options']);_0x1e9427['p'](_0x51c670),this['T'](_0x48522d),this[_0x8f1250(0x38a)]=_0x1e9427;}}[_0x4c48af(0x287)](_0x43be9b){const _0x2e294f=_0x4c48af;let _0x1b5592=vt[_0x2e294f(0x2c4)](_0x43be9b[_0x2e294f(0x222)]);return _0x1b5592===void 0x0&&vt[_0x2e294f(0x3e5)](_0x43be9b['strings'],_0x1b5592=new V(_0x43be9b)),_0x1b5592;}['k'](_0x1af18e){const _0x482990=_0x4c48af;at(this['_$AH'])||(this[_0x482990(0x38a)]=[],this[_0x482990(0x1e8)]());const _0x3b8b51=this[_0x482990(0x38a)];let _0x4b98b3,_0x57a8d8=0x0;for(const _0xe9d1fe of _0x1af18e)_0x57a8d8===_0x3b8b51[_0x482990(0x2b0)]?_0x3b8b51['push'](_0x4b98b3=new z(this['O'](L()),this['O'](L()),this,this[_0x482990(0x378)])):_0x4b98b3=_0x3b8b51[_0x57a8d8],_0x4b98b3[_0x482990(0x2df)](_0xe9d1fe),_0x57a8d8++;_0x57a8d8<_0x3b8b51[_0x482990(0x2b0)]&&(this[_0x482990(0x1e8)](_0x4b98b3&&_0x4b98b3[_0x482990(0x1ba)][_0x482990(0x206)],_0x57a8d8),_0x3b8b51['length']=_0x57a8d8);}['_$AR'](_0x34758c=this[_0x4c48af(0x381)][_0x4c48af(0x206)],_0x2f43cc){const _0x3cc303=_0x4c48af;var _0x53cd6e;for((_0x53cd6e=this[_0x3cc303(0x276)])==null?void 0x0:_0x53cd6e['call'](this,!0x1,!0x0,_0x2f43cc);_0x34758c&&_0x34758c!==this[_0x3cc303(0x1ba)];){const _0x37f0d1=_0x34758c[_0x3cc303(0x206)];_0x34758c['remove'](),_0x34758c=_0x37f0d1;}}[_0x4c48af(0x2e2)](_0x5f1e6a){const _0x3ee02a=_0x4c48af;var _0x29b9bf;this[_0x3ee02a(0x1d2)]===void 0x0&&(this['v']=_0x5f1e6a,(_0x29b9bf=this[_0x3ee02a(0x276)])==null||_0x29b9bf['call'](this,_0x5f1e6a));}}class D{get[_0x4c48af(0x1d6)](){const _0x220d76=_0x4c48af;return this['element'][_0x220d76(0x1d6)];}get[_0x4c48af(0x314)](){const _0x623ad4=_0x4c48af;return this[_0x623ad4(0x1d2)][_0x623ad4(0x314)];}constructor(_0x43af95,_0x371599,_0x58d1ee,_0x16668b,_0x4ec2c7){const _0x444856=_0x4c48af;this[_0x444856(0x2e5)]=0x1,this[_0x444856(0x38a)]=g,this[_0x444856(0x1cc)]=void 0x0,this[_0x444856(0x2e1)]=_0x43af95,this['name']=_0x371599,this['_$AM']=_0x16668b,this['options']=_0x4ec2c7,_0x58d1ee[_0x444856(0x2b0)]>0x2||_0x58d1ee[0x0]!==''||_0x58d1ee[0x1]!==''?(this['_$AH']=Array(_0x58d1ee[_0x444856(0x2b0)]-0x1)[_0x444856(0x1f3)](new String()),this[_0x444856(0x222)]=_0x58d1ee):this['_$AH']=g;}[_0x4c48af(0x2df)](_0x402a03,_0x3f3d18=this,_0x3c64d5,_0x37f1ea){const _0x115992=_0x4c48af,_0x237fa6=this[_0x115992(0x222)];let _0x2a6f96=!0x1;if(_0x237fa6===void 0x0)_0x402a03=T(this,_0x402a03,_0x3f3d18,0x0),_0x2a6f96=!B(_0x402a03)||_0x402a03!==this[_0x115992(0x38a)]&&_0x402a03!==E,_0x2a6f96&&(this['_$AH']=_0x402a03);else{const _0x3b81a4=_0x402a03;let _0x122ebc,_0x10cb9c;for(_0x402a03=_0x237fa6[0x0],_0x122ebc=0x0;_0x122ebc<_0x237fa6[_0x115992(0x2b0)]-0x1;_0x122ebc++)_0x10cb9c=T(this,_0x3b81a4[_0x3c64d5+_0x122ebc],_0x3f3d18,_0x122ebc),_0x10cb9c===E&&(_0x10cb9c=this['_$AH'][_0x122ebc]),_0x2a6f96||(_0x2a6f96=!B(_0x10cb9c)||_0x10cb9c!==this[_0x115992(0x38a)][_0x122ebc]),_0x10cb9c===g?_0x402a03=g:_0x402a03!==g&&(_0x402a03+=(_0x10cb9c??'')+_0x237fa6[_0x122ebc+0x1]),this[_0x115992(0x38a)][_0x122ebc]=_0x10cb9c;}_0x2a6f96&&!_0x37f1ea&&this['j'](_0x402a03);}['j'](_0x5ac1ab){const _0x387d57=_0x4c48af;_0x5ac1ab===g?this['element'][_0x387d57(0x40a)](this[_0x387d57(0x3c3)]):this[_0x387d57(0x2e1)][_0x387d57(0x2e8)](this[_0x387d57(0x3c3)],_0x5ac1ab??'');}}class Kt extends D{constructor(){const _0x2f2d05=_0x4c48af;super(...arguments),this[_0x2f2d05(0x2e5)]=0x3;}['j'](_0x312f3e){const _0x278d18=_0x4c48af;this[_0x278d18(0x2e1)][this[_0x278d18(0x3c3)]]=_0x312f3e===g?void 0x0:_0x312f3e;}}class Dt extends D{constructor(){const _0x2c0da0=_0x4c48af;super(...arguments),this[_0x2c0da0(0x2e5)]=0x4;}['j'](_0x1576e4){const _0x51c90c=_0x4c48af;this[_0x51c90c(0x2e1)][_0x51c90c(0x3e9)](this[_0x51c90c(0x3c3)],!!_0x1576e4&&_0x1576e4!==g);}}class jt extends D{constructor(_0x40c72e,_0x4af0a2,_0x4db8a6,_0x462c99,_0x1bf10f){super(_0x40c72e,_0x4af0a2,_0x4db8a6,_0x462c99,_0x1bf10f),this['type']=0x5;}['_$AI'](_0x2537cd,_0x104fc3=this){const _0x18c7ed=_0x4c48af;if((_0x2537cd=T(this,_0x2537cd,_0x104fc3,0x0)??g)===E)return;const _0x1deb45=this[_0x18c7ed(0x38a)],_0x4f605a=_0x2537cd===g&&_0x1deb45!==g||_0x2537cd[_0x18c7ed(0x391)]!==_0x1deb45[_0x18c7ed(0x391)]||_0x2537cd[_0x18c7ed(0x201)]!==_0x1deb45[_0x18c7ed(0x201)]||_0x2537cd[_0x18c7ed(0x205)]!==_0x1deb45['passive'],_0x473962=_0x2537cd!==g&&(_0x1deb45===g||_0x4f605a);_0x4f605a&&this['element'][_0x18c7ed(0x27e)](this[_0x18c7ed(0x3c3)],this,_0x1deb45),_0x473962&&this[_0x18c7ed(0x2e1)]['addEventListener'](this[_0x18c7ed(0x3c3)],this,_0x2537cd),this[_0x18c7ed(0x38a)]=_0x2537cd;}[_0x4c48af(0x40e)](_0x3426b8){const _0x1bb722=_0x4c48af;var _0x4b7aa6;typeof this[_0x1bb722(0x38a)]=='function'?this[_0x1bb722(0x38a)][_0x1bb722(0x262)](((_0x4b7aa6=this[_0x1bb722(0x378)])==null?void 0x0:_0x4b7aa6[_0x1bb722(0x1c1)])??this[_0x1bb722(0x2e1)],_0x3426b8):this[_0x1bb722(0x38a)][_0x1bb722(0x40e)](_0x3426b8);}}class Zt{constructor(_0x3fd040,_0x39df0c,_0x1b7149){const _0x182224=_0x4c48af;this[_0x182224(0x2e1)]=_0x3fd040,this[_0x182224(0x2e5)]=0x6,this['_$AN']=void 0x0,this[_0x182224(0x1d2)]=_0x39df0c,this[_0x182224(0x378)]=_0x1b7149;}get['_$AU'](){return this['_$AM']['_$AU'];}[_0x4c48af(0x2df)](_0x1f5ef5){T(this,_0x1f5ef5);}}const et=x['litHtmlPolyfillSupport'];et==null||et(V,z),(x['litHtmlVersions']??(x[_0x4c48af(0x354)]=[]))[_0x4c48af(0x2b4)](_0x4c48af(0x3ff));/**
12
- * @license
13
- * Copyright 2017 Google LLC
14
- * SPDX-License-Identifier: BSD-3-Clause
15
- */
16
- class W extends P{constructor(){const _0x398dca=_0x4c48af;super(...arguments),this[_0x398dca(0x2c7)]={'host':this},this['o']=void 0x0;}[_0x4c48af(0x20c)](){const _0x32fc16=_0x4c48af;var _0xa2aaab;const _0x1b6f3e=super[_0x32fc16(0x20c)]();return(_0xa2aaab=this[_0x32fc16(0x2c7)])[_0x32fc16(0x3fb)]??(_0xa2aaab['renderBefore']=_0x1b6f3e[_0x32fc16(0x21a)]),_0x1b6f3e;}[_0x4c48af(0x27f)](_0x45dd45){const _0x1994c4=_0x4c48af,_0x252a93=this[_0x1994c4(0x3a8)]();this[_0x1994c4(0x3d0)]||(this[_0x1994c4(0x2c7)][_0x1994c4(0x254)]=this[_0x1994c4(0x254)]),super[_0x1994c4(0x27f)](_0x45dd45),this['o']=((_0x26a8dd,_0x25af1d,_0xdd96b7)=>{const _0x14bf7e=_0x1994c4,_0x48c506=(_0xdd96b7==null?void 0x0:_0xdd96b7['renderBefore'])??_0x25af1d;let _0x5a6b26=_0x48c506[_0x14bf7e(0x1c2)];if(_0x5a6b26===void 0x0){const _0x435f9c=(_0xdd96b7==null?void 0x0:_0xdd96b7[_0x14bf7e(0x3fb)])??null;_0x48c506[_0x14bf7e(0x1c2)]=_0x5a6b26=new z(_0x25af1d['insertBefore'](L(),_0x435f9c),_0x435f9c,void 0x0,_0xdd96b7??{});}return _0x5a6b26['_$AI'](_0x26a8dd),_0x5a6b26;})(_0x252a93,this[_0x1994c4(0x24a)],this['renderOptions']);}['connectedCallback'](){const _0x1c571e=_0x4c48af;var _0x53df19;super['connectedCallback'](),(_0x53df19=this['o'])==null||_0x53df19[_0x1c571e(0x2e2)](!0x0);}['disconnectedCallback'](){const _0xdbf8c9=_0x4c48af;var _0x5d83be;super[_0xdbf8c9(0x3f7)](),(_0x5d83be=this['o'])==null||_0x5d83be['setConnected'](!0x1);}[_0x4c48af(0x3a8)](){return E;}}var Pt;W[_0x4c48af(0x263)]=!0x0,W[_0x4c48af(0x1cd)]=!0x0,(Pt=globalThis[_0x4c48af(0x20f)])==null||Pt[_0x4c48af(0x262)](globalThis,{'LitElement':W});const it=globalThis['litElementPolyfillSupport'];it==null||it({'LitElement':W}),(globalThis[_0x4c48af(0x296)]??(globalThis[_0x4c48af(0x296)]=[]))['push'](_0x4c48af(0x3a6));const u=0x3e8,$=0xf4240,J=0x3b9aca00,M=0.45359237,_t=9.80665,h=0.0254,l=0xc*h,st=0xe7,Qt=268.8025,R=14.59390294,nt=1055.05585262,St=4.1868,ot=4.184,Ct=745.69987158227,Ut=0x18bcd,O=133.322387415,Xt={'Length':['m',_0x4c48af(0x1be),'µm',_0x4c48af(0x1e6),'mm','cm','dm','km','in',_0x4c48af(0x23d),_0x4c48af(0x281),'ft','yd',_0x4c48af(0x343),_0x4c48af(0x34c)],'Mass':['kg','g','mg','µg','oz',_0x4c48af(0x25c),_0x4c48af(0x226),_0x4c48af(0x1d3),_0x4c48af(0x3a7),_0x4c48af(0x2fe)],'Time':[_0x4c48af(0x301),'s',_0x4c48af(0x286),'h',_0x4c48af(0x2c9),_0x4c48af(0x1c0),_0x4c48af(0x31d)],'ElectricalCurrent':['A',_0x4c48af(0x3df),'mA','µA','kA','MA',_0x4c48af(0x1eb)],'Temperature':['°K','°C','°F',_0x4c48af(0x3cd)],'Amount\x20of\x20Substance':[_0x4c48af(0x3ce),_0x4c48af(0x22f),_0x4c48af(0x265)],'Luminous\x20Intensity':[_0x4c48af(0x247),_0x4c48af(0x28f),_0x4c48af(0x253),_0x4c48af(0x37c)],'Acceleration':[_0x4c48af(0x416),'m/min²',_0x4c48af(0x2f4),_0x4c48af(0x1cf),_0x4c48af(0x411),'in/s²'],'Gravitational\x20Constant':['m³/kg/s²',_0x4c48af(0x204),_0x4c48af(0x3a2)],'Velocity\x20(Angular)':[_0x4c48af(0x417),'rad/min',_0x4c48af(0x34b),_0x4c48af(0x2ed),_0x4c48af(0x2f5),'deg°/h',_0x4c48af(0x26c),'rev/s'],'Acceleration\x20(Angular)':[_0x4c48af(0x361),_0x4c48af(0x3fa),_0x4c48af(0x2fc),_0x4c48af(0x23e)],'Illuminance':[_0x4c48af(0x3af),_0x4c48af(0x26d),_0x4c48af(0x3ac),_0x4c48af(0x39d),_0x4c48af(0x26b),_0x4c48af(0x1d5),'fc',_0x4c48af(0x209),_0x4c48af(0x402)],'Frequency':['Hz','1/s',_0x4c48af(0x2f1),_0x4c48af(0x318),'1/hour',_0x4c48af(0x1f2),_0x4c48af(0x2b1),_0x4c48af(0x31e),_0x4c48af(0x3f8)],'Area':['m²','µm²',_0x4c48af(0x2d2),_0x4c48af(0x3e2),_0x4c48af(0x1ca),_0x4c48af(0x228),'in²',_0x4c48af(0x213),_0x4c48af(0x3f9),_0x4c48af(0x267),'mile²'],'Volume\x20/\x20Section\x20Modulus':['m³',_0x4c48af(0x3f4),_0x4c48af(0x2e6),_0x4c48af(0x1fb),'L','mL','km³',_0x4c48af(0x380),_0x4c48af(0x332),'yd³',_0x4c48af(0x340),'gal(US-liquid)',_0x4c48af(0x349),_0x4c48af(0x1c4),_0x4c48af(0x375),_0x4c48af(0x288),_0x4c48af(0x390),_0x4c48af(0x33f),_0x4c48af(0x2dd),_0x4c48af(0x20b),_0x4c48af(0x41c),_0x4c48af(0x279),_0x4c48af(0x2fa),'cup(Imperial)'],'Polar\x20Moment\x20of\x20Inertia':['m⁴',_0x4c48af(0x1b7),_0x4c48af(0x3ef),_0x4c48af(0x25b),'ft⁴'],'Moment\x20of\x20Inertia':[_0x4c48af(0x302),_0x4c48af(0x3da),_0x4c48af(0x38c),'lbm⋅ft²',_0x4c48af(0x30b),'oz⋅in²'],'Force':['N','kN','MN',_0x4c48af(0x3bc),'lb',_0x4c48af(0x2e9),_0x4c48af(0x3ba)],'Angle':[_0x4c48af(0x3b2),'rad','deg°',_0x4c48af(0x3e0)],'Solid\x20Angle':[_0x4c48af(0x217),_0x4c48af(0x273)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':['kg/m²','g/cm²',_0x4c48af(0x3aa),_0x4c48af(0x366),_0x4c48af(0x1ea),'lbm/ft²',_0x4c48af(0x241),_0x4c48af(0x212),_0x4c48af(0x2fb),_0x4c48af(0x223)],'Density':[_0x4c48af(0x22d),'kg/L','g/cm³',_0x4c48af(0x3b0),_0x4c48af(0x3d7),'lbm/in³'],'Energy':[_0x4c48af(0x350),'kJ','MJ','GJ',_0x4c48af(0x2bb),_0x4c48af(0x32b),_0x4c48af(0x3c6),_0x4c48af(0x347),_0x4c48af(0x2cd),_0x4c48af(0x365),'kilo-calorie(TH)',_0x4c48af(0x22e),'Wh',_0x4c48af(0x3f3),'eV[electron-volt]'],'Power':['W[watt]','kW','MW',_0x4c48af(0x371),_0x4c48af(0x24b),_0x4c48af(0x3a1),'MM\x20Btu/h',_0x4c48af(0x299),'calorie(IT)/minute',_0x4c48af(0x31c),_0x4c48af(0x27d),_0x4c48af(0x2a1),_0x4c48af(0x2db),'lb-ft/second',_0x4c48af(0x3ed),'HP',_0x4c48af(0x3b3),_0x4c48af(0x3d4),_0x4c48af(0x392),_0x4c48af(0x1e9),_0x4c48af(0x2bd)],'Torque,\x20Moment\x20of\x20Force':['Nm','kNm','lb-in',_0x4c48af(0x1c6),'lb-ft','oz-in',_0x4c48af(0x321)],'Pressure/Stress':['Pa',_0x4c48af(0x369),_0x4c48af(0x22a),_0x4c48af(0x404),_0x4c48af(0x224),'mbar',_0x4c48af(0x342),_0x4c48af(0x2ab),_0x4c48af(0x1e1),_0x4c48af(0x298),_0x4c48af(0x271),'m\x20W.C.','in\x20W.C.',_0x4c48af(0x398),_0x4c48af(0x3f6),_0x4c48af(0x2f0),_0x4c48af(0x3b6)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x4c48af(0x2f8),_0x4c48af(0x40c),_0x4c48af(0x327),_0x4c48af(0x2da),_0x4c48af(0x24c),_0x4c48af(0x3bd),_0x4c48af(0x1fd),_0x4c48af(0x3b7),_0x4c48af(0x32d),_0x4c48af(0x1b9),'m\x20W.C./m','in\x20W.C./ft',_0x4c48af(0x2b8),'psf/in',_0x4c48af(0x30f),_0x4c48af(0x2c2),_0x4c48af(0x1f5),_0x4c48af(0x3d5)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x4c48af(0x24e),'N/mm',_0x4c48af(0x370),'lb/ft',_0x4c48af(0x33c),_0x4c48af(0x3a0)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x4c48af(0x2ec),'N⋅m/deg°','N⋅mm/rad',_0x4c48af(0x399),'lb-ft/rad',_0x4c48af(0x1da),'lb-in/rad',_0x4c48af(0x3e1)],'Flow\x20Rate\x20(Volume)':[_0x4c48af(0x238),'m³/min',_0x4c48af(0x3c9),_0x4c48af(0x2de),'L/min','L/h',_0x4c48af(0x41b),_0x4c48af(0x306),_0x4c48af(0x400),_0x4c48af(0x326),'ft³/s',_0x4c48af(0x208),_0x4c48af(0x20e),_0x4c48af(0x351),_0x4c48af(0x310),_0x4c48af(0x2ee),_0x4c48af(0x2a8),'gpm(US)','gph(US)',_0x4c48af(0x358),'bushel(US)/h'],'Flow\x20Rate\x20(Mass)':[_0x4c48af(0x243),'kg/min',_0x4c48af(0x317),_0x4c48af(0x2c5),'g/min',_0x4c48af(0x2b3),_0x4c48af(0x3b4),_0x4c48af(0x3f1),_0x4c48af(0x36c),_0x4c48af(0x395),'lbm/min','lbm/h',_0x4c48af(0x348),_0x4c48af(0x3bb),_0x4c48af(0x385),_0x4c48af(0x2cc),_0x4c48af(0x29d),_0x4c48af(0x2be)],'Speed\x20/\x20Velocity\x20(Linear)':['m/s',_0x4c48af(0x259),_0x4c48af(0x21e),_0x4c48af(0x2ca),_0x4c48af(0x2d1),'km/min',_0x4c48af(0x36b),_0x4c48af(0x27b),_0x4c48af(0x1c9),_0x4c48af(0x393),_0x4c48af(0x2e0),_0x4c48af(0x285),_0x4c48af(0x3c1),_0x4c48af(0x25d),'mph[mile/h]','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]'],'Fuel\x20Heat\x20Value\x20(Volume)':[_0x4c48af(0x2cb),_0x4c48af(0x28e),_0x4c48af(0x29c),'kJ/m³',_0x4c48af(0x414),_0x4c48af(0x32a),_0x4c48af(0x1ed),'kcal(IT)/m³',_0x4c48af(0x2a3),'kcal(TH)/m³',_0x4c48af(0x264),_0x4c48af(0x37d),_0x4c48af(0x372),'HP\x20Hour/ft³',_0x4c48af(0x1e2),'Btu/ft³',_0x4c48af(0x2a9)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0x4c48af(0x225),'J/g','kJ/kg',_0x4c48af(0x20d),_0x4c48af(0x36f),_0x4c48af(0x291),'kcal(IT)/kg',_0x4c48af(0x401),_0x4c48af(0x1c7),_0x4c48af(0x32e),_0x4c48af(0x200),'kWh/kg',_0x4c48af(0x38d),_0x4c48af(0x397),'MM\x20Btu/lbm',_0x4c48af(0x2c1)],'Mass\x20Heat\x20Capacity':[_0x4c48af(0x403),_0x4c48af(0x1f1),'J/(g·°K)',_0x4c48af(0x2ac),'Btu/(lbm·°F)'],'Viscosity\x20-\x20Absolute/Dynamic(μ)':['PI[Pa·s]',_0x4c48af(0x2d4),_0x4c48af(0x33b),_0x4c48af(0x229),'cP',_0x4c48af(0x3fc),'lbm/ft/s'],'Viscosity\x20-\x20Kinematic':[_0x4c48af(0x2bc),_0x4c48af(0x406),'m²/hr',_0x4c48af(0x22b),'Stoke',_0x4c48af(0x412),'cm²/hr',_0x4c48af(0x2af),_0x4c48af(0x258),_0x4c48af(0x3ae),_0x4c48af(0x29e),_0x4c48af(0x35a),'ft²/hr',_0x4c48af(0x418),'in²/min',_0x4c48af(0x231)],'Linear\x20Thermal\x20Expansion\x20Coefficient':[_0x4c48af(0x3ab),_0x4c48af(0x275),_0x4c48af(0x278),_0x4c48af(0x2b6)],'Thermal\x20Conductivity':[_0x4c48af(0x1e7),'W/(cm⋅°K)',_0x4c48af(0x280),_0x4c48af(0x39a)],'Electrical\x20Charge':['C[coulomb]','Ah',_0x4c48af(0x220),_0x4c48af(0x2fd),'e[electron]',_0x4c48af(0x1cb)],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x4c48af(0x2e4),'joule/coulomb',_0x4c48af(0x2b5),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x4c48af(0x37a),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':['F[farad]','pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x4c48af(0x382),'µH','mH'],'Electrical\x20Conductance':[_0x4c48af(0x31f),'℧','µS','mS','kS'],'Magnetic\x20Flux':['Wb[weber]',_0x4c48af(0x313),_0x4c48af(0x315),_0x4c48af(0x29f),_0x4c48af(0x320),'dWb'],'Luminous\x20Flux':['lm[lumen]',_0x4c48af(0x221)],'Magnetic\x20Flux\x20Density':[_0x4c48af(0x1e3),'Wb/m²','µT','G','mT'],'Katalytic\x20Activity':[_0x4c48af(0x3f5),'mol/s',_0x4c48af(0x1c8),_0x4c48af(0x3ec),_0x4c48af(0x290),_0x4c48af(0x362)],'Radioactivity':[_0x4c48af(0x1d8),'1/s','µBq',_0x4c48af(0x363),_0x4c48af(0x257),_0x4c48af(0x336),_0x4c48af(0x244),'Ci[curie]'],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x4c48af(0x2dc),_0x4c48af(0x225),_0x4c48af(0x33e),_0x4c48af(0x233),_0x4c48af(0x312),_0x4c48af(0x3c8)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':['Sv[sievert]',_0x4c48af(0x225),_0x4c48af(0x2ae),'mSv',_0x4c48af(0x328),_0x4c48af(0x3ea)],'Volumetric\x20Displacement':[_0x4c48af(0x2f6),_0x4c48af(0x2d7),_0x4c48af(0x333),_0x4c48af(0x32f),'ft³/rev',_0x4c48af(0x23a),'gal(US-liquid)/rev'],'Fuel\x20Economy':['km/L','mpg(US)',_0x4c48af(0x303),'mpg(UK)',_0x4c48af(0x2ce),_0x4c48af(0x1e4)],'Fuel\x20Consumption':[_0x4c48af(0x230),_0x4c48af(0x3ca),_0x4c48af(0x261),_0x4c48af(0x235),_0x4c48af(0x1f9),_0x4c48af(0x246),'gal(US-liquid)/100mile',_0x4c48af(0x34d),_0x4c48af(0x3e7)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x4c48af(0x409),_0x4c48af(0x232),_0x4c48af(0x360),_0x4c48af(0x1d7),_0x4c48af(0x268),_0x4c48af(0x352),_0x4c48af(0x1fe)],'New\x20Energy\x20Consumption':[_0x4c48af(0x37e),_0x4c48af(0x26a),_0x4c48af(0x3fe),_0x4c48af(0x3dd),_0x4c48af(0x25f),_0x4c48af(0x337),_0x4c48af(0x28a),'MJ/km',_0x4c48af(0x21f),_0x4c48af(0x325),'MJ/100mile','MM\x20Btu/km',_0x4c48af(0x329),'MM\x20Btu/mile',_0x4c48af(0x1fc)],'Baud\x20Rate':[_0x4c48af(0x292),'Bd',_0x4c48af(0x23c),_0x4c48af(0x1ff),_0x4c48af(0x323)],'Currency':['$','¢','$1K',_0x4c48af(0x289),'$1B',_0x4c48af(0x1f0)],'Impulse\x20/\x20Momentum':[_0x4c48af(0x28d),_0x4c48af(0x3a4),'lb·s',_0x4c48af(0x2ff),'lbm·fps',_0x4c48af(0x2b2)],'Digital\x20Storage':['bit',_0x4c48af(0x2c8),_0x4c48af(0x2c3),_0x4c48af(0x413),_0x4c48af(0x410),'gigabit','gibibit','terabit','tebibit',_0x4c48af(0x36d),'pebibit',_0x4c48af(0x3a5),_0x4c48af(0x255),'kibibyte',_0x4c48af(0x1bf),_0x4c48af(0x295),_0x4c48af(0x379),_0x4c48af(0x30e),_0x4c48af(0x357),_0x4c48af(0x3a3),_0x4c48af(0x227),_0x4c48af(0x256)],'Data\x20Transfer\x20Rate':['bit/s',_0x4c48af(0x24d),_0x4c48af(0x335),_0x4c48af(0x2a5),_0x4c48af(0x20a),_0x4c48af(0x297),_0x4c48af(0x3dc),'terabit/s','tebibit/s',_0x4c48af(0x30d),_0x4c48af(0x36a)]},Yt={'Length':{'m':0x1,'nano[nm]':1e-9,'µm':0.000001,'micron':0.000001,'mm':0.001,'cm':0.01,'dm':0.1,'km':u,'in':h,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':h/u,'ft-in':h,'ft':l,'yd':0x3*l,'mile':1609.3439999999998,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':0x73c},'Mass':{'kg':0x1,'g':0.001,'mg':0.000001,'µg':1e-9,'oz':0.028349523125,'lbm':M,'slug':R,'ton(US/short)':907.18474,'ton(UK-Imperial/long)':0x8c0*M,'tonne':u},'Time':{'s[second]':0x1,'s':0x1,'minute':0x3c,'h':0xe10,'h[hour]':0xe10,'day':0x15180,'week':0x93a80},'ElectricalCurrent':{'A':0x1,'Ampere[amp]':0x1,'mA':0.001,'µA':0.000001,'kA':u,'MA':$,'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':u},'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²':l,'ft/min²':l/0xe10,'in/s²':h},'Gravitational\x20Constant':{'m³/kg/s²':0x1,'N⋅m²/kg²':0x1,'dyn⋅cm²/g²':u},'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['pow'](l,0x2),'fc':0x1/Math[_0x4c48af(0x26f)](l,0x2),'lumen/ft²':0x1/Math[_0x4c48af(0x26f)](l,0x2),'lm/ft²':0x1/Math[_0x4c48af(0x26f)](l,0x2)},'Frequency':{'Hz':0x1,'1/s':0x1,'1/min':0x1/0x3c,'rpm':0x1/0x3c,'1/hour':0x1/0xe10,'mHz':0.001,'kHz':u,'MHz':$,'GHz':J},'Area':{'m²':0x1,'µm²':Math[_0x4c48af(0x26f)](0.000001,0x2),'mm²':Math[_0x4c48af(0x26f)](0.001,0x2),'cm²':Math['pow'](0.01,0x2),'km²':$,'hectare':Math[_0x4c48af(0x26f)](0x64,0x2),'in²':Math['pow'](h,0x2),'ft²':Math[_0x4c48af(0x26f)](l,0x2),'yd²':Math[_0x4c48af(0x26f)](0x3*l,0x2),'acre':0xaa28*Math[_0x4c48af(0x26f)](l,0x2),'mile²':Math[_0x4c48af(0x26f)](1609.3439999999998,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math[_0x4c48af(0x26f)](0.000001,0x3),'mm³':Math[_0x4c48af(0x26f)](0.001,0x3),'cm³':Math[_0x4c48af(0x26f)](0.01,0x3),'L':0.001,'mL':0.000001,'km³':Math['pow'](u,0x3),'in³':Math['pow'](h,0x3),'ft³':Math[_0x4c48af(0x26f)](l,0x3),'yd³':Math[_0x4c48af(0x26f)](0x3*l,0x3),'gal(UK-imperial)':0.00454609,'gal(US-liquid)':st*Math[_0x4c48af(0x26f)](h,0x3),'gal(US-dry)':Qt*Math[_0x4c48af(0x26f)](h,0x3),'pint(UK-imperial)':0.00056826125,'pint(US-liquid)':28.875*Math[_0x4c48af(0x26f)](h,0x3),'pint(US-dry)':33.6003125*Math['pow'](h,0x3),'fluid\x20ounce(UK-imperial)':0.0000284130625,'fluid\x20ounce(US-liquid)':1.8046875*Math[_0x4c48af(0x26f)](h,0x3),'bushel(UK-imperial)':0.03636872,'bushel(US-dry)':2150.42*Math[_0x4c48af(0x26f)](h,0x3),'cup(US-liquid)':14.4375*Math[_0x4c48af(0x26f)](h,0x3),'cup(Legal)':0xf0*Math[_0x4c48af(0x26f)](0.01,0x3),'cup(Metric)':0xfa*Math['pow'](0.01,0x3),'cup(Imperial)':0.000284130625},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math[_0x4c48af(0x26f)](h,0x4),'ft⁴':Math[_0x4c48af(0x26f)](l,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':1e-7,'g⋅mm²':1e-9,'lbm⋅ft²':M*Math['pow'](l,0x2),'lbm⋅in²':M*Math[_0x4c48af(0x26f)](h,0x2),'oz⋅in²':0.028349523125*Math[_0x4c48af(0x26f)](h,0x2)},'Force':{'N':0x1,'kN':u,'MN':$,'kgf':_t,'lb':4.4482216152605,'lbf':4.4482216152605,'kip[kilo\x20pound]':4448.2216152605},'Angle':{'radian':0x1,'rad':0x1,'deg°':Math['PI']/0xb4,'revolution':0x2*Math['PI']},'Solid\x20Angle':{'sr[steradian]':0x1,'m²/m²':0x1},'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':{'kg/m²':0x1,'g/cm²':0.001/Math[_0x4c48af(0x26f)](0.01,0x2),'g/mm²':0.001/Math[_0x4c48af(0x26f)](0.001,0x2),'tonne/m²':u,'lbm/yd²':M/Math[_0x4c48af(0x26f)](0x3*l,0x2),'lbm/ft²':M/Math[_0x4c48af(0x26f)](l,0x2),'lbm/in²':M/Math[_0x4c48af(0x26f)](h,0x2),'oz/yd²':0.028349523125/Math[_0x4c48af(0x26f)](0x3*l,0x2),'oz/ft²':0.028349523125/Math['pow'](l,0x2),'oz/in²':0.028349523125/Math[_0x4c48af(0x26f)](h,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0.001/Math['pow'](0.01,0x3),'g/mm³':0.001/Math['pow'](0.001,0x3),'lbm/ft³':M/Math['pow'](l,0x3),'lbm/in³':M/Math[_0x4c48af(0x26f)](h,0x3)},'Energy':{'J[Joule]':0x1,'kJ':u,'MJ':$,'GJ':J,'TNT\x20Equivalent[kiloton]':0xf962c600,'Btu':nt,'MM\x20Btu':1055055852.62,'calorie(IT)':St,'kilo-calorie(IT)':4186.8,'calorie(TH)':ot,'kilo-calorie(TH)':0x1058,'HP\x20Hour':0xe10*Ct,'Wh':0xe10,'kWh':0x36ee80,'eV{electron-volt]':0x1/0x569e4c0a22d73800},'Power':{'W[watt]':0x1,'kW':u,'MW':$,'GW[Gigawatt]':J,'Btu/h':nt/0xe10,'Btu/minute':nt/0x3c,'MM\x20Btu/h':293071.0701722222,'calorie(IT)/second':St,'calorie(IT)/minute':0.06978,'kilo-calorie(IT)/hour':1.163,'calorie(TH)/second':ot,'calorie(TH)/minute':ot/0x3c,'kilo-calorie(TH)/hour':0x1058/0xe10,'lb-ft/second':1.3558179483314001,'lb-ft/minute':0.022596965805523336,'HP':Ct,'J/second':0x1,'J/minute':0x1/0x3c,'J/h':0x1/0xe10,'MJ/h':$/0xe10,'kJ/minute':u/0x3c},'Torque,\x20Moment\x20of\x20Force':{'Nm':0x1,'kNm':u,'lb-in':0.11298482902761668,'kip-in':112.98482902761668,'lb-ft':1.3558179483314001,'oz-in':0.007061551814226043,'oz-ft':0.08473862177071251},'Pressure/Stress':{'Pa':0x1,'kPa':u,'MPa':$,'GPa':J,'bar':0x186a0,'mbar':0x64,'atm':Ut,'mm\x20HG':O,'cm\x20HG':0xa*O,'in\x20HG':25.4*O,'mm\x20W.C.':9.80665,'m\x20W.C.':9806.65,'in\x20W.C.':25.4*_t,'psf':4.4482216152605/Math[_0x4c48af(0x26f)](l,0x2),'psi':4.4482216152605/Math[_0x4c48af(0x26f)](h,0x2),'ksi':4.4482216152605/Math[_0x4c48af(0x26f)](h,0x2)*u,'ksi{kip/in²]':4.4482216152605/Math[_0x4c48af(0x26f)](h,0x2)*u},'Pressure\x20Drop\x20per\x20Unit\x20Length':{'Pa/m':0x1,'Pascal/m':0x1,'kPa/m':u,'MPa/km':0x3e8,'bar/m':0x186a0,'mbar/mm':0x186a0,'atm/m':Ut,'mm\x20HG/m':O,'in\x20HG/ft':11110.198951250002,'mm\x20W.C./m':9.80665,'m\x20W.C./m':9806.65,'in\x20W.C./ft':817.2208333333333,'in\x20W.C./100\x20ft':8.172208333333334,'psf/in':4.4482216152605/Math[_0x4c48af(0x26f)](l,0x2)/h,'psi/ft':4.4482216152605/Math[_0x4c48af(0x26f)](l,0x2)/l,'ksi/ft':4.4482216152605/Math[_0x4c48af(0x26f)](l,0x2)/l*u,'Torr/ft':437.40934521342734,'mTorr/m':0.13332236842105263},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':u,'kN/m':u,'lb/ft':14.593902937206366,'kips/ft':14593.902937206365,'lb/in':175.12683524647636},'Stiffness\x20of\x20Rotary\x20Spring':{'N⋅m/rad':0x1,'N⋅m/deg°':0x1/Math['PI']*0xb4,'N⋅mm/rad':0.001,'N⋅mm/deg°':0.001/Math['PI']*0xb4,'lb-ft/rad':1.3558179483314001,'lb-ft/deg°':1.3558179483314001/(Math['PI']/0xb4),'lb-in/rad':0.11298482902761668,'lb-in/deg°':0.11298482902761668/(Math['PI']/0xb4)},'Flow\x20Rate\x20(Volume)':{'m³/s':0x1,'m³/min':0x1/0x3c,'m³/h':0x1/0xe10,'L/s':0.001,'L/min':0.001/0x3c,'L/h':0.001/0xe10,'cm³/s':0.000001,'cm³/min':0.000001/0x3c,'in³/s':Math[_0x4c48af(0x26f)](h,0x3),'in³/min':Math[_0x4c48af(0x26f)](h,0x3)/0x3c,'ft³/s':Math['pow'](l,0x3),'CFM':Math['pow'](l,0x3)/0x3c,'CFM[ft³/min]':Math['pow'](l,0x3)/0x3c,'CFH':Math[_0x4c48af(0x26f)](l,0x3)/0xe10,'CFH[ft³/h]':Math[_0x4c48af(0x26f)](l,0x3)/0xe10,'yd³/min':Math[_0x4c48af(0x26f)](0x3*l,0x3)/0x3c,'yd³/h':Math[_0x4c48af(0x26f)](0x3*l,0x3)/0xe10,'gpm(US)':st*Math[_0x4c48af(0x26f)](h,0x3)/0x3c,'gph(US)':st*Math[_0x4c48af(0x26f)](h,0x3)/0xe10,'bushel(UK-imperial)/h':0.03636872/0xe10,'bushel(US)/h':2150.42*Math['pow'](h,0x3)/0xe10},'Flow\x20Rate\x20(Mass)':{'kg/s':0x1,'kg/min':0x1/0x3c,'kg/h':0x1/0xe10,'g/s':0.001,'g/min':0.001/0x3c,'g/h':0.001/0xe10,'slug/s':R,'slug/min':R/0x3c,'slug/h':R/0xe10,'lbm/s':M,'lbm/min':M/0x3c,'lbm/h':M/0xe10,'oz/s':0.028349523125,'oz/min':0.028349523125/0x3c,'oz/h':0.028349523125/0xe10,'tonne/h':u/0xe10,'short\x20ton/h':907.18474/0xe10,'long\x20ton/h':0.2822352524444445},'Speed\x20/\x20Velocity\x20(Linear)':{'m/s':0x1,'mm/s':0.001,'km/s':0x1,'mm/min':0.001/0x3c,'m/min':0x1/0x3c,'km/min':u/0x3c,'mm/h':0.001/0xe10,'m/h':0x1/0xe10,'km/h':u/0xe10,'in/s':h,'fps':l,'fps[ft/second]':l,'fpm':l/0x3c,'fpm[ft/minute]':l/0x3c,'mph[mile/h]':0.44703999999999994,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':0x73c/0xe10},'Electrical\x20Potential\x20Difference\x20(Voltage)':{'V':0x1,'Volt':0x1,'joule/coulomb':0x1,'J/C':0x1,'µV':0.000001,'mV':0.001,'kV':u,'MV':$}};class K extends W{constructor(){const _0x5f233f=_0x4c48af;super(),this[_0x5f233f(0x202)]=Xt,this[_0x5f233f(0x388)]=Yt,this[_0x5f233f(0x219)]='mm',this[_0x5f233f(0x40d)]=0x2,this[_0x5f233f(0x240)]=!0x0,this[_0x5f233f(0x374)]=_0x5f233f(0x38b),this[_0x5f233f(0x339)]=null;}[_0x4c48af(0x35c)](){const _0x57dd53=_0x4c48af;super[_0x57dd53(0x35c)](),this[_0x57dd53(0x3d3)]=this['getUnitCategory'](this[_0x57dd53(0x219)]),this[_0x57dd53(0x356)]=this[_0x57dd53(0x23f)](this[_0x57dd53(0x236)],this[_0x57dd53(0x219)]);const _0x55093e=this[_0x57dd53(0x249)](_0x57dd53(0x33a));this[_0x57dd53(0x240)]=_0x55093e===null||_0x55093e==='true';}[_0x4c48af(0x319)](_0x435b0b,_0xe20e9,_0x31e467){const _0x969a90=_0x4c48af;if(super[_0x969a90(0x319)](_0x435b0b,_0xe20e9,_0x31e467),_0x435b0b===_0x969a90(0x356))this['inputValue']=_0x31e467,this[_0x969a90(0x356)]=this[_0x969a90(0x23f)](_0x31e467,this[_0x969a90(0x219)]);else{if(_0x435b0b===_0x969a90(0x219)){const _0x3999b5=this[_0x969a90(0x219)];this['unit']=_0x31e467,this[_0x969a90(0x3d3)]=this['getUnitCategory'](_0x31e467),_0x3999b5!==_0x31e467&&(this[_0x969a90(0x356)]=this['convertValue'](this[_0x969a90(0x356)],_0x3999b5,_0x31e467));}else _0x435b0b==='decimal-places'&&(this[_0x969a90(0x40d)]=parseInt(_0x31e467)||0x2);}}[_0x4c48af(0x23f)](_0x4820de,_0xcdf794){const _0x397699=_0x4c48af;return _0xcdf794===_0x397699(0x23d)?this[_0x397699(0x24f)](_0x4820de):parseFloat(_0x4820de);}[_0x4c48af(0x24f)](_0x54034f){const _0x435206=_0x4c48af;let _0xa4e477=_0x54034f['match'](/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/);if(_0xa4e477){const _0x924a6b=parseInt(_0xa4e477[0x1])||0x0,_0x5496ca=parseInt(_0xa4e477[0x3])||0x0,_0xba721b=parseInt(_0xa4e477[0x5])||0x0,_0x2080ad=parseInt(_0xa4e477[0x6])||0x1;return this[_0x435206(0x203)](_0x924a6b,_0x5496ca,_0xba721b,_0x2080ad);}if(_0xa4e477=_0x54034f[_0x435206(0x359)](/(\d+)\'/),_0xa4e477){const _0x5d8906=parseInt(_0xa4e477[0x1])||0x0;return this[_0x435206(0x203)](_0x5d8906,0x0,0x0,0x1);}if(_0xa4e477=_0x54034f[_0x435206(0x359)](/(\d+)/),_0xa4e477){const _0x33b6bb=parseInt(_0xa4e477[0x1])||0x0;return this[_0x435206(0x203)](0x0,_0x33b6bb,0x0,0x1);}return parseFloat(_0x54034f);}[_0x4c48af(0x203)](_0x38b33b,_0x84870b,_0x55c97d,_0xa5ef35){return 0xc*_0x38b33b+_0x84870b+_0x55c97d/_0xa5ef35;}[_0x4c48af(0x1f6)](_0x4ca80a,_0x537a68='1/16\x22'){const _0x443f71=_0x4c48af;if(_0x4ca80a<0x0)return'-'+this[_0x443f71(0x1f6)](-_0x4ca80a,_0x537a68);const _0x48db8=parseInt(_0x537a68[_0x443f71(0x1df)]('/')[0x1][_0x443f71(0x40b)]('\x22',''));let _0xa0d162=Math[_0x443f71(0x237)](_0x4ca80a/0xc),_0x4bd5ab=Math[_0x443f71(0x237)](_0x4ca80a%0xc);const _0x86c666=_0x4ca80a-Math['floor'](_0x4ca80a);let _0x5aa583='';if(_0x86c666>0x0&&_0x537a68!==0x0){let _0x37b11b=Math[_0x443f71(0x309)](_0x86c666*_0x48db8);const _0x11145f=(_0x14145f,_0x3c096e)=>_0x3c096e?_0x11145f(_0x3c096e,_0x14145f%_0x3c096e):_0x14145f,_0x1958c8=_0x11145f(_0x37b11b,_0x48db8);_0x5aa583='\x20'+_0x37b11b/_0x1958c8+'/'+_0x48db8/_0x1958c8,_0x5aa583[_0x443f71(0x39c)]()==='1/1'&&(_0x4bd5ab++,_0x4bd5ab>=0xc&&(_0xa0d162++,_0x4bd5ab-=0xc),_0x5aa583='');}let _0x595491='';return _0xa0d162>0x0&&(_0x595491+=_0xa0d162+'\x27'),_0xa0d162>0x0&&(_0x4bd5ab>0x0||_0x5aa583!=='')&&(_0x595491+='-'),_0x4bd5ab>0x0&&(_0x595491+=''+_0x4bd5ab),_0x5aa583!==''&&(_0x595491+=_0x5aa583),(_0x4bd5ab>0x0||_0x5aa583!=='')&&(_0x595491+='\x22'),_0x595491[_0x443f71(0x39c)]();}[_0x4c48af(0x35d)](_0x290780){const _0x19d191=_0x4c48af;for(const _0x24ca51 in this[_0x19d191(0x202)])if(this['units'][_0x24ca51][_0x19d191(0x3c2)](_0x290780))return _0x24ca51;return this[_0x19d191(0x202)][_0x19d191(0x384)]=this[_0x19d191(0x202)][_0x19d191(0x384)]||[],this[_0x19d191(0x202)][_0x19d191(0x384)][_0x19d191(0x2b4)](_0x290780),this[_0x19d191(0x388)]['Custom']=this[_0x19d191(0x388)][_0x19d191(0x384)]||{},this[_0x19d191(0x388)][_0x19d191(0x384)][_0x290780]=0x1,'Custom';}['convertValue'](_0x3619d1,_0x8e9834,_0x5612a2){const _0x1282c7=_0x4c48af;if(this['unitCategory']!==_0x1282c7(0x2c0))return _0x3619d1*(this[_0x1282c7(0x388)][this[_0x1282c7(0x3d3)]][_0x8e9834]/this[_0x1282c7(0x388)][this['unitCategory']][_0x5612a2]);{const _0x41c24e=this[_0x1282c7(0x388)][this['unitCategory']][_0x8e9834]['c0'],_0x2f6186=this[_0x1282c7(0x388)][this[_0x1282c7(0x3d3)]][_0x8e9834]['c1'],_0xd45c41=this[_0x1282c7(0x388)][this[_0x1282c7(0x3d3)]][_0x5612a2]['c0'];return(_0x3619d1*_0x41c24e+_0x2f6186-this[_0x1282c7(0x388)][this[_0x1282c7(0x3d3)]][_0x5612a2]['c1'])/_0xd45c41;}}[_0x4c48af(0x218)](_0x5a2557){const _0xecc4d3=_0x4c48af;if(Number[_0xecc4d3(0x345)](_0x5a2557))return _0x5a2557[_0xecc4d3(0x405)]();let _0x164b4d=_0x5a2557['toFixed'](this[_0xecc4d3(0x40d)]);if(_0x164b4d=_0x164b4d[_0xecc4d3(0x40b)](/\.?0+$/,''),Math['abs'](parseFloat(_0x164b4d))>=0x3e8){const _0x328f90=_0x164b4d['split']('.');_0x328f90[0x0]=_0x328f90[0x0][_0xecc4d3(0x40b)](/\B(?=(\d{3})+(?!\d))/g,','),_0x164b4d=_0x328f90[_0xecc4d3(0x304)]('.');}return _0x164b4d;}['render'](){const _0x2b8f61=_0x4c48af;return tt`
17
- <div class="quantity">
18
- <span class="value">
19
- ${this[_0x2b8f61(0x219)]===_0x2b8f61(0x23d)?this[_0x2b8f61(0x1f6)](this[_0x2b8f61(0x356)]):this[_0x2b8f61(0x218)](this[_0x2b8f61(0x356)])}
20
- </span>
21
- <div class="unit-container"
22
- @mouseover=${this[_0x2b8f61(0x3d9)]}
23
- @mouseout=${this[_0x2b8f61(0x207)]}>
24
- <select class="${this[_0x2b8f61(0x240)]?_0x2b8f61(0x368):''}"
25
- @change=${this[_0x2b8f61(0x364)]}>
26
- ${(this[_0x2b8f61(0x202)][this[_0x2b8f61(0x3d3)]]||[this[_0x2b8f61(0x219)]])[_0x2b8f61(0x269)](_0x2d29fd=>tt`<option value="${_0x2d29fd}" ?selected=${_0x2d29fd===this[_0x2b8f61(0x219)]}>${_0x2d29fd}</option>`)}
27
- </select>
28
-
29
- ${this[_0x2b8f61(0x240)]&&this[_0x2b8f61(0x3d3)]!=='Custom'?tt`
30
- <a class="tooltip" href="https://v2-docs.donwen.com/daily-calculations/unit-converter.html"
31
- title="Unit Converter for All Categories" target="_blank">
32
- <img src="${this['e3dLogoUrl']}" width="12" />
33
- </a>
34
- `:''}
35
- </div>
36
- </div>
37
- `;}[_0x4c48af(0x308)](_0x19159f){const _0x383072=_0x4c48af;super[_0x383072(0x308)](_0x19159f),(_0x19159f[_0x383072(0x3ee)](_0x383072(0x356))||_0x19159f['has'](_0x383072(0x219)))&&(this[_0x383072(0x236)]=this[_0x383072(0x356)],this[_0x383072(0x3d3)]=this['getUnitCategory'](this[_0x383072(0x219)])),(_0x19159f[_0x383072(0x3ee)]('unit')||_0x19159f[_0x383072(0x3ee)]('value')||_0x19159f['has']('decimalPlaces'))&&this[_0x383072(0x311)]();}[_0x4c48af(0x311)](){const _0x4a94a4=_0x4c48af,_0x4a1109=this[_0x4a94a4(0x2d3)]['querySelector'](_0x4a94a4(0x36e));if(!_0x4a1109)return;const _0x3aa843=document['createElement'](_0x4a94a4(0x31b));_0x3aa843['style'][_0x4a94a4(0x2b7)]=_0x4a94a4(0x22c),_0x3aa843[_0x4a94a4(0x293)][_0x4a94a4(0x331)]=_0x4a94a4(0x316),_0x3aa843[_0x4a94a4(0x293)]['whiteSpace']=_0x4a94a4(0x248),_0x3aa843[_0x4a94a4(0x293)][_0x4a94a4(0x3a9)]=window['getComputedStyle'](_0x4a1109)['font'],document['body'][_0x4a94a4(0x2eb)](_0x3aa843),_0x3aa843[_0x4a94a4(0x3b8)]=this[_0x4a94a4(0x219)];const _0x3e382c=_0x3aa843[_0x4a94a4(0x3e3)];document[_0x4a94a4(0x27c)][_0x4a94a4(0x3d1)](_0x3aa843);let _0x3f8eea=_0x3e382c+(this['showUnitArrow']?0x10:0x6)+(this['showUnitArrow']?0x8:0x0)+0x2;_0x3f8eea=Math[_0x4a94a4(0x239)](_0x3f8eea,0x1e),_0x4a1109[_0x4a94a4(0x293)]['width']=_0x3f8eea+'px';}[_0x4c48af(0x364)](_0x2a15ba){const _0x282d10=_0x4c48af,_0x28cfa6=_0x2a15ba['target'][_0x282d10(0x356)];this[_0x282d10(0x356)]=this['convertValue'](this[_0x282d10(0x356)],this[_0x282d10(0x219)],_0x28cfa6),this[_0x282d10(0x219)]=_0x28cfa6,this[_0x282d10(0x3e6)]();}[_0x4c48af(0x3d9)](){const _0x47c068=_0x4c48af,_0x1c5aa1=this[_0x47c068(0x2d3)][_0x47c068(0x35e)]('.tooltip');_0x1c5aa1&&(this[_0x47c068(0x339)]=setTimeout(()=>{const _0x539e8a=_0x47c068;_0x1c5aa1[_0x539e8a(0x293)]['display']=_0x539e8a(0x274);},0x3e8));}[_0x4c48af(0x207)](){const _0x3f3c88=_0x4c48af,_0x202e76=this['shadowRoot'][_0x3f3c88(0x35e)](_0x3f3c88(0x1ef));_0x202e76&&(setTimeout(()=>{const _0x3bf307=_0x3f3c88;_0x202e76[_0x3bf307(0x293)][_0x3bf307(0x2cf)]=_0x3bf307(0x27a);},0x7d0),clearTimeout(this[_0x3f3c88(0x339)]));}}Q(K,'properties',{'value':{'type':Number,'reflect':!0x0},'unit':{'type':String,'reflect':!0x0},'decimalPlaces':{'type':Number,'attribute':_0x4c48af(0x277),'reflect':!0x0},'showUnitArrow':{'type':Boolean,'attribute':_0x4c48af(0x33a),'reflect':!0x0},'unitCategory':{'type':String},'inputValue':{'type':String}}),Q(K,_0x4c48af(0x334),Wt`
38
- :host {
39
- display: inline-flex;
40
- align-items: baseline;
41
- vertical-align: baseline;
42
- }
43
- .quantity {
44
- display: inline-flex;
45
- align-items: baseline;
46
- position: relative;
47
- }
48
- .value {
49
- margin-right: 2px;
50
- margin-left: 2px;
51
- position: relative;
52
- }
53
- .unit-container {
54
- position: relative;
55
- display: inline-flex;
56
- align-items: baseline;
57
- }
58
- .unit-container select {
59
- appearance: none;
60
- -webkit-appearance: none;
61
- -moz-appearance: none;
62
- border-radius: 0.15em;
63
- border: none;
64
- margin: 0;
65
- padding: 0 0.1em 0 0.2em;
66
- color: blue;
67
- background-color: lightgray;
68
- font-family: inherit;
69
- font-size: 0.9em;
70
- line-height: normal;
71
- cursor: pointer;
72
- text-align: left;
73
- text-align-last: center;
74
- vertical-align: baseline;
75
- min-width: 2.5em;
76
- }
77
- .unit-container select.show-arrow {
78
- appearance: auto; /* Show arrow when class is added */
79
- -webkit-appearance: auto;
80
- -moz-appearance: auto;
81
- }
82
- .tooltip {
83
- position: absolute;
84
- bottom: 100%;
85
- left: 50%;
86
- transform: translateX(-50%);
87
- padding: 0;
88
- display: none;
89
- font-size: 12px;
90
- pointer-events: autp;
91
- }
92
- .unit-container:hover .tooltip {
93
- display: block;
94
- }
95
- .tooltip a {
96
- text-decoration: none;
97
- color: blue;
98
- }
99
- .tooltip a:hover {
100
- text-decoration: underline;
101
- }
102
- `),typeof window<'u'&&(customElements[_0x4c48af(0x2c4)]('physical-quantity')||customElements[_0x4c48af(0x2a6)]('physical-quantity',K),customElements[_0x4c48af(0x2c4)](_0x4c48af(0x1dd))||customElements[_0x4c48af(0x2a6)](_0x4c48af(0x1dd),class extends K{}));export{K as PhysicalQuantity,K as default};
1
+ function _0x15cd(){const _0x5ae430=['decimalPlaces','rev/s','1/hour','pebibit','atm/m','m³/s','gibibit','lb-ft/minute','tebibit','kg/m³','kcal(IT)/kg','km/kWh','J/(g·°K)','1/min','mBq','bit/s','MJ/h','lbf','tonne','$1M','oz-ft','Ci[curie]','gal(UK-imperial)','gal(US-liquid)/100mile','kilo-calorie(TH)/hour','rad/min','lb·s/ft²','mm\x20HG','value','mpg(US)','block','body','m/s','W/(m⋅°K)','g/h','selected','N·s/m²','Btu/ton(short)','week','m²/hr','µBq','J/h','ft-in','mouseover','mbar','J/L','cd[candela]','MHz','</option>','hidden','replace','Pascal/m','MPa','cm\x20HG','atm','unit','gph(US)','calorie(IT)/minute','MJ/100km','m³/kg/s²','F[farad]','3237806usSVNs','J/minute','mile/MJ','ampere-hour','L/min','bushel(UK-imperial)','MPa/km','joule/coulomb','ft²','sr[steradian]','trim','km³','26700VGxaHg','deg°/h','tonne/m²','mm\x20HG/m','in²/min','lbm/h','in\x20HG/ft','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','kBd','MJ/mile','byte','Btu/minute','mbar/mm','BTU/(h⋅in⋅°F)','MM\x20Btu/lbm','attachEventListeners','bind','Btu/lbm','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</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','km/min','\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','P[Poise]','W[watt]','calorie(IT)/second','rpm','bar/m','bushel(US)/h','Stoke','cWb','target',';\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>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','lbm/yd²','kcal(IT)/m³','match','cp[candlepower(before\x201948)]','km/s','S[siemens]','ft/s²','deg°','lbm⋅ft²','ton(UK-Imperial/long)','open','m³/rad','°Ra','bar','T[tesla]','m/J','join','Sv[sievert]','Wh/kg','mkat','formatValue','mol','absolute','1512690QKGhSt','minute','\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\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20',';\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','9276152gQohtM','in³/s','tebibit/s','Gy[gray]','m\x20W.C.','gibibyte','µm²','convertValue','kWh/100km','lm/ft²','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','radian','mGy','mSv','mile²','tebibyte','rad','in³/rev','change','376878OHAJOX','mpg(UK)','L/100mile','mm²','render','m³/min','lbm·fps','kg/m²','gal(UK-imperial)/mile','mile/MM\x20Btu','km/L','deg°/min','CFH','Custom','m/min²','cm³','7AYfMGT','mph[mile/h]','kcal(TH)/kg','L/100km','day','in³','in\x20W.C./ft','cup(Legal)','dyn⋅cm²/g²','mmol','mm³','m³/m','ft²/s','petabit','kSv','mHz','in³/min','kgf','nWb','mm/min','J/(kg·°K)','select','.unit-container','µSv','1/°F','textContent','lbm/ft²','GBd','handleUnitContainerMouseOver','parseFeetInchesValue','kilo-calorie(IT)/hour','\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','tooltipTimeout','Wh/L','MM\x20Btu/100mile','deg°/s','Btu/h','L/mile','J/g','J[Joule]','kg/L','display','\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','inputValue','g/cm³','mebibyte','kg⋅m²','cc/rev',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','removeEventListeners','floor','span','mm\x20W.C.','kilo-calorie(TH)','deg°/min²','HP\x20Hour/lbm','H[henry]','kat[katal]','.tooltip','Wb[weber]','yd³','MSv','MJ/m³','visibility','kibibyte','J/C','kJ/m³','MM\x20Btu/ft³','addEventListener','pint(UK-imperial)','km/MJ','mTorr/m','J/kg','handleUnitContainerMouseOut','observedAttributes','CFM','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','lb-ft','formatFeetInchesValue','unitConversion','psf','mouseout','megabyte','kGy','querySelector','lumen/ft²','g/cm²','cm³/s','revolution','bit','kWh/m³','J/(kg·°C)','width','kilobit/s','updateDropdownWidth','fluid\x20ounce(US-liquid)','lm[lumen]','split','Ω[Ohm]','psf/in','in\x20W.C./100\x20ft','getUnitCategory','lb-ft/deg°','cm³/min','mol/s','s[second]','Btu/gal(US)','gibibit/s','in²/hr','Ampere[amp]','oz/h','calculateTotalInches','removeChild','MM\x20Btu/h','slug/h','Wh/m³','lbm/min','mm/h','HP\x20Hour','gigabit','kilo-calorie(IT)','g/min','get','slug/s','ft³','kg/h','kNm','terabyte','lb-in/deg°','faraday','\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','lbm/ft/s','m³/rev','lbm/in²','style','1/s','show-unit-arrow','Btu','kBq','acre','gal(US-liquid)/mile','lbm','megabit','kWh/kg','gal(US-dry)','kN/m','kHz','pint(US-dry)','kWh','ft³/s','St[cm²/s]','e[electron]','N⋅m/rad','cm⁴','lm/sr','63FjOJVA','kcal(TH)/m³','lb-ft/rad','Btu/ft³','lbm·fpm','oz/ft²','Torr/ft','48rlVOEc','attributeChangedCallback','tonne/h','lb/ft','pebibyte','g/mm²','define','mm/s²','m³/h','Wh/g','rad/h','pebibit/s','cup(Imperial)','<option\x20value=\x22','includes','mile/L','km/h','calorie(IT)','cm²/hr','dWb','J/(g·°C)','attachShadow','slug','L/km','cal(TH)/g','rad/s²','handleUnitChange','ft⁴','ft/min²','mAh','mebibit','4572568kRFFQY','offsetWidth','kips/ft',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','rad/min²','cal(TH)/L','removeEventListener','psi/ft','ft²/min','max','unitCategory','mile/kWh','N·s','kWh/100mile','petabyte','showUnitArrow','nano[nm]','1525JCFWbK','MM\x20Btu/km','bushel(UK-imperial)/h','in/s²','m/min','map','in⁴','getAttribute','e3dLogoUrl','calorie(TH)/second','µkat','pow','J/m','$1K','createElement','cup(Metric)','shadowRoot','kkat','lbm/s','mm\x20W.C./m','mm/s','CFM[ft³/min]','tagName','Btu/(lbm·°F)','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','h[hour]','bushel(US-dry)','kWh/km','cm²/min','HP\x20Hour/ft³','oz/min','20jsbzjg','N⋅mm/rad','auto','kJ/minute','555063pIwNbB','oz/s','physical-quantity','calorie(TH)/minute','fps[ft/second]','innerHTML','GHz','toString','mile','lm/m²','terabit/s','MM\x20Btu/100km','kibibit','g⋅cm²','L/s','parseValue','MM\x20Btu/mile','W/(cm⋅°K)','font','cal(IT)/g','µm³','abs','g/s','kilobyte','fpm[ft/minute]','g/mm³','m/s²','1/°Ra','oz⋅in²','none','kip-in','deg°/s²','pint(US-liquid)','short\x20ton/h','micron','MPGe','cp[candlepower]','kg/min','meter-candle','MBq','phot','mebibit/s','kg/s','1/16\x22','yd³/h','MJ/kg','Wh/km','petabit/s','Volt','decimal-places','GJ/kg','mWb','C[coulomb]','units','gal(US-liquid)','cal(IT)/L'];_0x15cd=function(){return _0x5ae430;};return _0x15cd();}const _0x150759=_0x370f;(function(_0x33ab85,_0x5286c1){const _0x242c54=_0x370f,_0x588c57=_0x33ab85();while(!![]){try{const _0x179045=parseInt(_0x242c54(0x1e2))/0x1+-parseInt(_0x242c54(0x1de))/0x2*(-parseInt(_0x242c54(0x2b0))/0x3)+-parseInt(_0x242c54(0x1ae))/0x4+-parseInt(_0x242c54(0x1bf))/0x5*(-parseInt(_0x242c54(0x263))/0x6)+parseInt(_0x242c54(0xed))/0x7*(-parseInt(_0x242c54(0x29d))/0x8)+-parseInt(_0x242c54(0x188))/0x9*(-parseInt(_0x242c54(0x299))/0xa)+-parseInt(_0x242c54(0x257))/0xb*(parseInt(_0x242c54(0x18f))/0xc);if(_0x179045===_0x5286c1)break;else _0x588c57['push'](_0x588c57['shift']());}catch(_0x4f8dbc){_0x588c57['push'](_0x588c57['shift']());}}}(_0x15cd,0xb6793));const i=0.45359237,a=9.80665,N=0x14a0,n=25.4/0x3e8,e=0xc*n,w=0x73c,E=0x42*0x294,u=4.54609,d=0xe7,U=268.8025,p=0x1/0x8,H=0x1/0x14,W=0x1/0x10,O=0x8,C=0x8,F=0x1/0x10,_=0xf0,B=0xfa,J=0xa,I=14.59390294,f=1055.05585262,M=4.1868,g=4.184,D=0x226*i*a*e,L=0x18bcd,v=0x1/0x2f8,b=133.322387415,G=0x569e4c0a22d73800,R={'Length':['m',_0x150759(0x1be),'µm',_0x150759(0x204),'mm','cm','dm','km','in',_0x150759(0x244),_0x150759(0x1d7),'ft','yd',_0x150759(0x1ea),_0x150759(0x26a)],'Mass':['kg','g','mg','µg','oz',_0x150759(0x17a),_0x150759(0x1a5),'ton(US/short)',_0x150759(0x28b),_0x150759(0x22c)],'Time':[_0x150759(0x156),'s',_0x150759(0x29a),'h',_0x150759(0x1d8),_0x150759(0xf1),_0x150759(0x240)],'ElectricalCurrent':['A',_0x150759(0x15a),'mA','µA','kA','MA','esu/s'],'Temperature':['°K','°C','°F',_0x150759(0x28e)],'Amount\x20of\x20Substance':[_0x150759(0x297),_0x150759(0xf6),'kmol'],'Luminous\x20Intensity':[_0x150759(0x248),_0x150759(0x187),_0x150759(0x206),_0x150759(0x285)],'Acceleration':[_0x150759(0x1fc),_0x150759(0xeb),_0x150759(0x196),_0x150759(0x288),_0x150759(0x1ab),_0x150759(0x1c2)],'Gravitational\x20Constant':[_0x150759(0x255),'N⋅m²/kg²',_0x150759(0xf5)],'Velocity\x20(Angular)':['rad/s',_0x150759(0x233),_0x150759(0x199),_0x150759(0x110),_0x150759(0xe8),_0x150759(0x264),'rpm[rev/min]',_0x150759(0x21b)],'Acceleration\x20(Angular)':[_0x150759(0x1a8),_0x150759(0x1b2),_0x150759(0x201),_0x150759(0x123)],'Illuminance':['lux','lumen/m²',_0x150759(0x1eb),_0x150759(0x208),_0x150759(0x20a),'foot-candle','fc',_0x150759(0x142),_0x150759(0x2a6)],'Frequency':['Hz',_0x150759(0x174),_0x150759(0x227),_0x150759(0x27b),_0x150759(0x21c),_0x150759(0xfc),_0x150759(0x17f),_0x150759(0x249),_0x150759(0x1e8)],'Area':['m²',_0x150759(0x2a3),_0x150759(0x2b3),'cm²','km²','hectare','in²',_0x150759(0x25f),'yd²',_0x150759(0x178),_0x150759(0x2ab)],'Volume\x20/\x20Section\x20Modulus':['m³',_0x150759(0x1f6),_0x150759(0xf7),_0x150759(0xec),'L','mL',_0x150759(0x262),_0x150759(0xf2),_0x150759(0x169),_0x150759(0x129),_0x150759(0x230),_0x150759(0x218),_0x150759(0x17d),_0x150759(0x132),_0x150759(0x202),_0x150759(0x180),'fluid\x20ounce(UK-imperial)',_0x150759(0x14c),_0x150759(0x25c),_0x150759(0x1d9),'cup(US-liquid)',_0x150759(0xf4),_0x150759(0x1ce),_0x150759(0x19b)],'Polar\x20Moment\x20of\x20Inertia':['m⁴','mm⁴',_0x150759(0x186),_0x150759(0x1c5),_0x150759(0x1aa)],'Moment\x20of\x20Inertia':[_0x150759(0x11b),_0x150759(0x1ef),'g⋅mm²',_0x150759(0x28a),'lbm⋅in²',_0x150759(0x1fe)],'Force':['N','kN','MN',_0x150759(0xfe),'lb',_0x150759(0x22b),'kip[kilo\x20pound]'],'Angle':[_0x150759(0x2a8),_0x150759(0x2ad),_0x150759(0x289),_0x150759(0x145)],'Solid\x20Angle':[_0x150759(0x260),'m²/m²'],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':[_0x150759(0xe4),_0x150759(0x143),_0x150759(0x194),_0x150759(0x265),_0x150759(0x282),_0x150759(0x107),_0x150759(0x172),'oz/yd²',_0x150759(0x18d),'oz/in²'],'Density':[_0x150759(0x223),_0x150759(0x115),_0x150759(0x119),_0x150759(0x1fb),'lbm/ft³','lbm/in³'],'Energy':[_0x150759(0x114),'kJ','MJ','GJ','TNT\x20Equivalent[kiloton]',_0x150759(0x176),'MM\x20Btu',_0x150759(0x1a0),_0x150759(0x165),'calorie(TH)',_0x150759(0x122),_0x150759(0x163),'Wh',_0x150759(0x181),'eV[electron-volt]'],'Power':[_0x150759(0x279),'kW','MW','GW[Gigawatt]',_0x150759(0x111),_0x150759(0x26e),_0x150759(0x15e),_0x150759(0x27a),_0x150759(0x253),_0x150759(0x10b),_0x150759(0x1c8),_0x150759(0x1e5),_0x150759(0x232),'lb-ft/second',_0x150759(0x221),'HP','J/second',_0x150759(0x258),_0x150759(0x243),_0x150759(0x22a),_0x150759(0x1e1)],'Torque,\x20Moment\x20of\x20Force':['Nm',_0x150759(0x16b),'lb-in',_0x150759(0x200),_0x150759(0x13a),'oz-in',_0x150759(0x22e)],'Pressure/Stress':['Pa','kPa',_0x150759(0x24e),'GPa',_0x150759(0x28f),_0x150759(0x246),_0x150759(0x250),_0x150759(0x235),_0x150759(0x24f),'in\x20HG',_0x150759(0x121),_0x150759(0x2a1),'in\x20W.C.',_0x150759(0x13d),'psi','ksi','ksi[kip/in²]'],'Pressure\x20Drop\x20per\x20Unit\x20Length':['Pa/m',_0x150759(0x24d),'kPa/m',_0x150759(0x25d),_0x150759(0x27c),_0x150759(0x26f),_0x150759(0x21e),_0x150759(0x266),_0x150759(0x269),_0x150759(0x1d2),'m\x20W.C./m',_0x150759(0xf3),_0x150759(0x151),_0x150759(0x150),_0x150759(0x1b5),'ksi/ft',_0x150759(0x18e),_0x150759(0x134)],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':['N/m','N/mm',_0x150759(0x17e),_0x150759(0x192),_0x150759(0x1b0),'lb/in'],'Stiffness\x20of\x20Rotary\x20Spring':[_0x150759(0x185),'N⋅m/deg°',_0x150759(0x1df),'N⋅mm/deg°',_0x150759(0x18a),_0x150759(0x153),'lb-in/rad',_0x150759(0x16d)],'Flow\x20Rate\x20(Volume)':[_0x150759(0x21f),_0x150759(0xe2),_0x150759(0x197),_0x150759(0x1f0),_0x150759(0x25b),'L/h',_0x150759(0x144),_0x150759(0x154),_0x150759(0x29e),_0x150759(0xfd),_0x150759(0x182),_0x150759(0x138),_0x150759(0x1d4),_0x150759(0xe9),'CFH[ft³/h]','yd³/min',_0x150759(0x20e),'gpm(US)',_0x150759(0x252),_0x150759(0x1c1),_0x150759(0x27d)],'Flow\x20Rate\x20(Mass)':[_0x150759(0x20c),_0x150759(0x207),_0x150759(0x16a),_0x150759(0x1f8),_0x150759(0x166),_0x150759(0x23c),_0x150759(0x168),'slug/min',_0x150759(0x15f),_0x150759(0x1d1),_0x150759(0x161),_0x150759(0x268),_0x150759(0x1e3),_0x150759(0x1dd),_0x150759(0x15b),_0x150759(0x191),_0x150759(0x203),'long\x20ton/h'],'Speed\x20/\x20Velocity\x20(Linear)':[_0x150759(0x23a),_0x150759(0x1d3),_0x150759(0x286),_0x150759(0x100),_0x150759(0x1c3),_0x150759(0x276),_0x150759(0x162),'m/h',_0x150759(0x19f),'in/s','fps',_0x150759(0x1e6),'fpm',_0x150759(0x1fa),_0x150759(0xee),_0x150759(0x139)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x150759(0x247),'kJ/L',_0x150759(0x12f),_0x150759(0x12b),'GJ/m³',_0x150759(0x219),_0x150759(0x283),_0x150759(0x1b3),_0x150759(0x189),_0x150759(0x10e),_0x150759(0x160),_0x150759(0x147),_0x150759(0x1dc),_0x150759(0x157),_0x150759(0x18b),_0x150759(0x130)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0x150759(0x135),_0x150759(0x113),'kJ/kg',_0x150759(0x20f),_0x150759(0x214),_0x150759(0x1f5),_0x150759(0x224),_0x150759(0x1a7),_0x150759(0xef),_0x150759(0x198),_0x150759(0x294),_0x150759(0x17c),_0x150759(0x124),_0x150759(0x274),_0x150759(0x271),_0x150759(0x23f)],'Mass\x20Heat\x20Capacity':[_0x150759(0x101),_0x150759(0x148),_0x150759(0x226),_0x150759(0x1a3),_0x150759(0x1d6)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':['PI[Pa·s]',_0x150759(0x23e),'kg/m/s',_0x150759(0x278),'cP',_0x150759(0x234),_0x150759(0x170)],'Viscosity\x20-\x20Kinematic':['m²/s','m²/min',_0x150759(0x241),_0x150759(0x183),_0x150759(0x27e),_0x150759(0x1db),_0x150759(0x1a1),'cSt[mm²/s]','mm²/min','mm²/hr',_0x150759(0xf9),_0x150759(0x1b6),'ft²/hr','in²/s',_0x150759(0x267),_0x150759(0x159)],'Linear\x20Thermal\x20Expansion\x20Coefficient':['1/°K','1/°C',_0x150759(0x105),_0x150759(0x1fd)],'Thermal\x20Conductivity':[_0x150759(0x23b),_0x150759(0x1f3),'BTU/(h⋅ft⋅°F)',_0x150759(0x270)],'Electrical\x20Charge':[_0x150759(0x216),'Ah',_0x150759(0x25a),_0x150759(0x1ac),_0x150759(0x184),_0x150759(0x16e)],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x150759(0x212),_0x150759(0x25e),_0x150759(0x12e),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x150759(0x14f),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0x150759(0x256),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x150759(0x125),'µH','mH'],'Electrical\x20Conductance':[_0x150759(0x287),'℧','µS','mS','kS'],'Magnetic\x20Flux':[_0x150759(0x128),_0x150759(0xff),'µWb',_0x150759(0x215),_0x150759(0x27f),_0x150759(0x1a2)],'Luminous\x20Flux':[_0x150759(0x14d),'cd⋅sr'],'Magnetic\x20Flux\x20Density':[_0x150759(0x290),'Wb/m²','µT','G','mT'],'Katalytic\x20Activity':[_0x150759(0x126),_0x150759(0x155),_0x150759(0x1c9),_0x150759(0x295),_0x150759(0x1d0),'Mkat'],'Radioactivity':['Bq[becquerel]','1/s',_0x150759(0x242),_0x150759(0x228),_0x150759(0x177),_0x150759(0x209),'Rd[rutherford]',_0x150759(0x22f)],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x150759(0x2a0),_0x150759(0x135),'µGy',_0x150759(0x2a9),_0x150759(0x140),'MGy'],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x150759(0x293),_0x150759(0x135),_0x150759(0x104),_0x150759(0x2aa),_0x150759(0xfb),_0x150759(0x12a)],'Volumetric\x20Displacement':[_0x150759(0x28d),_0x150759(0x171),'L/rev',_0x150759(0x11c),'ft³/rev',_0x150759(0x2ae),'gal(US-liquid)/rev'],'Fuel\x20Economy':[_0x150759(0xe7),_0x150759(0x237),'mile/gal(US-liquid)',_0x150759(0x2b1),'mile/gal(UK-imperial)',_0x150759(0x19e)],'Fuel\x20Consumption':[_0x150759(0xf8),_0x150759(0x1a6),_0x150759(0xf0),_0x150759(0x112),_0x150759(0x2b2),_0x150759(0x179),_0x150759(0x231),_0x150759(0xe5),'gal(UK-imperial)/100mile'],'New\x20Energy\x20Economy\x20(MPGe)':[_0x150759(0x291),_0x150759(0x225),_0x150759(0x133),_0x150759(0x205),_0x150759(0x259),_0x150759(0x1b9),_0x150759(0xe6)],'New\x20Energy\x20Consumption':[_0x150759(0x1cb),_0x150759(0x210),'Wh/mile',_0x150759(0x1da),_0x150759(0x2a5),'kWh/mile',_0x150759(0x1bb),'MJ/km',_0x150759(0x254),_0x150759(0x26c),'MJ/100mile',_0x150759(0x1c0),_0x150759(0x1ed),_0x150759(0x1f2),_0x150759(0x10f)],'Baud\x20Rate':['bit/s','Bd',_0x150759(0x26b),'MBd',_0x150759(0x108)],'Currency':['$','¢',_0x150759(0x1cc),_0x150759(0x22d),'$1B','$1T'],'Impulse\x20/\x20Momentum':[_0x150759(0x1ba),'Newton-second','lb·s','kg·m/s',_0x150759(0xe3),_0x150759(0x18c)],'Digital\x20Storage':[_0x150759(0x146),'kilobit',_0x150759(0x1ee),_0x150759(0x17b),_0x150759(0x1ad),_0x150759(0x164),_0x150759(0x220),'terabit',_0x150759(0x222),_0x150759(0xfa),_0x150759(0x21d),_0x150759(0x26d),_0x150759(0x1f9),_0x150759(0x12d),_0x150759(0x13f),_0x150759(0x11a),'gigabyte',_0x150759(0x2a2),_0x150759(0x16c),_0x150759(0x2ac),_0x150759(0x1bc),_0x150759(0x193)],'Data\x20Transfer\x20Rate':[_0x150759(0x229),_0x150759(0x14a),'kibibit/s','megabit/s',_0x150759(0x20b),'gigabit/s',_0x150759(0x158),_0x150759(0x1ec),_0x150759(0x29f),_0x150759(0x211),_0x150759(0x19a)]},V={'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':n,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':n/0x3e8,'ft-in':n,'ft':e,'yd':0x3*e,'mile':N*e,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':w},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*i,'lbm':i,'slug':I,'ton(US/short)':0x7d0*i,'ton(UK-Imperial/long)':0x8c0*i,'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²':e,'ft/min²':e/0xe10,'in/s²':n},'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[_0x150759(0x1ca)](e,0x2),'fc':0x1/Math[_0x150759(0x1ca)](e,0x2),'lumen/ft²':0x1/Math[_0x150759(0x1ca)](e,0x2),'lm/ft²':0x1/Math[_0x150759(0x1ca)](e,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[_0x150759(0x1ca)](0x1/0xf4240,0x2),'mm²':Math[_0x150759(0x1ca)](0x1/0x3e8,0x2),'cm²':Math[_0x150759(0x1ca)](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0x150759(0x1ca)](0x64,0x2),'in²':Math[_0x150759(0x1ca)](n,0x2),'ft²':Math[_0x150759(0x1ca)](e,0x2),'yd²':Math[_0x150759(0x1ca)](e*0x3,0x2),'acre':E*Math[_0x150759(0x1ca)](e,0x2),'mile²':Math[_0x150759(0x1ca)](N*e,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math['pow'](0x1/0xf4240,0x3),'mm³':Math[_0x150759(0x1ca)](0x1/0x3e8,0x3),'cm³':Math['pow'](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math[_0x150759(0x1ca)](0x3e8,0x3),'in³':Math[_0x150759(0x1ca)](n,0x3),'ft³':Math[_0x150759(0x1ca)](e,0x3),'yd³':Math[_0x150759(0x1ca)](e*0x3,0x3),'gal(UK-imperial)':u*0x1/0x3e8,'gal(US-liquid)':d*Math[_0x150759(0x1ca)](n,0x3),'gal(US-dry)':U*Math[_0x150759(0x1ca)](n,0x3),'pint(UK-imperial)':p*u*0x1/0x3e8,'pint(US-liquid)':p*d*Math[_0x150759(0x1ca)](n,0x3),'pint(US-dry)':p*U*Math[_0x150759(0x1ca)](n,0x3),'fluid\x20ounce(UK-imperial)':H*p*u/0x3e8,'fluid\x20ounce(US-liquid)':W*p*d*Math[_0x150759(0x1ca)](n,0x3),'bushel(UK-imperial)':O*u/0x3e8,'bushel(US-dry)':C*U*Math[_0x150759(0x1ca)](n,0x3),'cup(US-liquid)':F*d*Math[_0x150759(0x1ca)](n,0x3),'cup(Legal)':_*Math[_0x150759(0x1ca)](0.01,0x3),'cup(Metric)':B*Math['pow'](0.01,0x3),'cup(Imperial)':J*H*p*u/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math['pow'](n,0x4),'ft⁴':Math[_0x150759(0x1ca)](e,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':i*Math[_0x150759(0x1ca)](e,0x2),'lbm⋅in²':i*Math['pow'](n,0x2),'oz⋅in²':i/0x10*Math[_0x150759(0x1ca)](n,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':a,'lb':i*a,'lbf':i*a,'kip[kilo\x20pound]':0x3e8*i*a},'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[_0x150759(0x1ca)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x150759(0x1ca)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':i/Math['pow'](e*0x3,0x2),'lbm/ft²':i/Math[_0x150759(0x1ca)](e,0x2),'lbm/in²':i/Math[_0x150759(0x1ca)](n,0x2),'oz/yd²':i/0x10/Math['pow'](0x3*e,0x2),'oz/ft²':i/0x10/Math[_0x150759(0x1ca)](e,0x2),'oz/in²':i/0x10/Math[_0x150759(0x1ca)](n,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x150759(0x1ca)](0.01,0x3),'g/mm³':0x1/0x3e8/Math[_0x150759(0x1ca)](0.001,0x3),'lbm/ft³':i/Math['pow'](e,0x3),'lbm/in³':i/Math[_0x150759(0x1ca)](n,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*g,'Btu':f,'MM\x20Btu':f*0xf4240,'calorie(IT)':M,'kilo-calorie(IT)':M*0x3e8,'calorie(TH)':g,'kilo-calorie(TH)':g*0x3e8,'HP\x20Hour':D*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/G},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':f/0xe10,'Btu/minute':f/0x3c,'MM\x20Btu/h':f*0xf4240/0xe10,'calorie(IT)/second':M,'calorie(IT)/minute':M/0x3c,'kilo-calorie(IT)/hour':M*0x3e8/0xe10,'calorie(TH)/second':g,'calorie(TH)/minute':g/0x3c,'kilo-calorie(TH)/hour':g*0x3e8/0xe10,'lb-ft/second':i*a*e,'lb-ft/minute':i*a*e/0x3c,'HP':D,'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':i*a*n,'kip-in':0x3e8*i*a*n,'lb-ft':i*a*e,'oz-in':i/0x10*a*n,'oz-ft':i/0x10*a*e},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':L,'mm\x20HG':b,'cm\x20HG':b*0xa,'in\x20HG':b*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*a,'m\x20W.C.':0x1*0x3e8*a,'in\x20W.C.':n*0x3e8*a,'psf':i*a/Math[_0x150759(0x1ca)](e,0x2),'psi':i*a/Math['pow'](n,0x2),'ksi':i*a/Math[_0x150759(0x1ca)](n,0x2)*0x3e8,'ksi{kip/in²]':i*a/Math['pow'](n,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':L,'mm\x20HG/m':b,'in\x20HG/ft':b*25.4/e,'mm\x20W.C./m':0x1/0x3e8*0x3e8*a,'m\x20W.C./m':0x3e8*a,'in\x20W.C./ft':n*0x3e8*a/e,'in\x20W.C./100\x20ft':n*0x3e8*a/e/0x64,'psf/in':i*a/Math[_0x150759(0x1ca)](e,0x2)/n,'psi/ft':i*a/Math[_0x150759(0x1ca)](e,0x2)/e,'ksi/ft':i*a/Math[_0x150759(0x1ca)](e,0x2)/e*0x3e8,'Torr/ft':v*L/e,'mTorr/m':v*L/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':i*a/e,'kips/ft':0x3e8*i*a/e,'lb/in':i*a/n},'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':i*a*e,'lb-ft/deg°':i*a*e/(Math['PI']/0xb4),'lb-in/rad':i*a*n,'lb-in/deg°':i*a*n/(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[_0x150759(0x1ca)](n,0x3),'in³/min':Math['pow'](n,0x3)/0x3c,'ft³/s':Math[_0x150759(0x1ca)](e,0x3),'CFM':Math[_0x150759(0x1ca)](e,0x3)/0x3c,'CFM[ft³/min]':Math[_0x150759(0x1ca)](e,0x3)/0x3c,'CFH':Math[_0x150759(0x1ca)](e,0x3)/0xe10,'CFH[ft³/h]':Math[_0x150759(0x1ca)](e,0x3)/0xe10,'yd³/min':Math[_0x150759(0x1ca)](e*0x3,0x3)/0x3c,'yd³/h':Math[_0x150759(0x1ca)](e*0x3,0x3)/0xe10,'gpm(US)':d*Math[_0x150759(0x1ca)](n,0x3)/0x3c,'gph(US)':d*Math['pow'](n,0x3)/0xe10,'bushel(UK-imperial)/h':O*u/0x3e8/0xe10,'bushel(US)/h':C*U*Math[_0x150759(0x1ca)](n,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':I,'slug/min':I/0x3c,'slug/h':I/0xe10,'lbm/s':i,'lbm/min':i/0x3c,'lbm/h':i/0xe10,'oz/s':i/0x10,'oz/min':i/0x10/0x3c,'oz/h':i/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*i/0xe10,'long\x20ton/h':0x8c0*i/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':n,'fps':e,'fps[ft/second]':e,'fpm':e/0x3c,'fpm[ft/minute]':e/0x3c,'mph[mile/h]':N*e/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':w/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}};class P extends HTMLElement{constructor(){const _0x3ab389=_0x150759;super(),this[_0x3ab389(0x1a4)]({'mode':_0x3ab389(0x28c)}),this[_0x3ab389(0x10d)]=null,this[_0x3ab389(0x1c7)]='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';}['connectedCallback'](){const _0x2a192f=_0x150759;this['units']=R,this['unitConversion']=V,this['unit']=this[_0x2a192f(0x1c6)](_0x2a192f(0x251))||'mm',this[_0x2a192f(0x1b8)]=this[_0x2a192f(0x152)](this[_0x2a192f(0x251)]),this[_0x2a192f(0x118)]=this[_0x2a192f(0x1c6)]('value'),this[_0x2a192f(0x236)]=this[_0x2a192f(0x1f1)](this[_0x2a192f(0x118)],this[_0x2a192f(0x251)]),this[_0x2a192f(0x21a)]=parseInt(this[_0x2a192f(0x1c6)](_0x2a192f(0x213)))||0x2,this[_0x2a192f(0x1bd)]=!this['hasAttribute'](_0x2a192f(0x175))||this[_0x2a192f(0x1c6)]('show-unit-arrow')==='true',this[_0x2a192f(0xe1)](),this[_0x2a192f(0x272)]();}['disconnectedCallback'](){this['removeEventListeners']();}static get[_0x150759(0x137)](){const _0x33a468=_0x150759;return[_0x33a468(0x236),_0x33a468(0x251),_0x33a468(0x213),'show-unit-arrow'];}[_0x150759(0x190)](_0x313b2d,_0x324cd,_0x353c8e){const _0x56c644=_0x150759;if(_0x313b2d==='value')this[_0x56c644(0x118)]=_0x353c8e,this[_0x56c644(0x236)]=this[_0x56c644(0x1f1)](_0x353c8e,this[_0x56c644(0x251)]);else{if(_0x313b2d===_0x56c644(0x251)){const _0x17d9cd=this['unit'];this[_0x56c644(0x251)]=_0x353c8e,this['unitCategory']=this[_0x56c644(0x152)](_0x353c8e),_0x17d9cd!==_0x353c8e&&(this[_0x56c644(0x236)]=this[_0x56c644(0x2a4)](this['value'],_0x17d9cd,_0x353c8e));}else _0x313b2d===_0x56c644(0x213)?this[_0x56c644(0x21a)]=parseInt(_0x353c8e)||0x2:_0x313b2d===_0x56c644(0x175)&&(this[_0x56c644(0x1bd)]=_0x353c8e===null||_0x353c8e==='true');}this[_0x56c644(0xe1)]();}[_0x150759(0x1f1)](_0x382980,_0x387730){const _0x51d552=_0x150759;return _0x387730===_0x51d552(0x244)?this[_0x51d552(0x10a)](_0x382980):parseFloat(_0x382980);}[_0x150759(0x10a)](_0x39c83c){const _0x102bfe=_0x150759,_0x4b748a=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x3e190a=/(\d+)\'/,_0x4742dc=/(\d+)/;let _0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x4b748a);if(_0x17ae78){const _0x1cef04=parseInt(_0x17ae78[0x1])||0x0,_0x3f1686=parseInt(_0x17ae78[0x3])||0x0,_0x3d0686=parseInt(_0x17ae78[0x5])||0x0,_0x47536c=parseInt(_0x17ae78[0x6])||0x1;return this[_0x102bfe(0x15c)](_0x1cef04,_0x3f1686,_0x3d0686,_0x47536c);}if(_0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x3e190a),_0x17ae78){const _0x339931=parseInt(_0x17ae78[0x1])||0x0;return this[_0x102bfe(0x15c)](_0x339931,0x0,0x0,0x1);}if(_0x17ae78=_0x39c83c[_0x102bfe(0x284)](_0x4742dc),_0x17ae78){const _0x24939=parseInt(_0x17ae78[0x1])||0x0;return this[_0x102bfe(0x15c)](0x0,_0x24939,0x0,0x1);}return parseFloat(_0x39c83c);}[_0x150759(0x15c)](_0x398942,_0x21ec88,_0x5971c9,_0x3ceb73){return _0x398942*0xc+_0x21ec88+_0x5971c9/_0x3ceb73;}['formatFeetInchesValue'](_0x137858,_0x50fbde=_0x150759(0x20d)){const _0x27c16d=_0x150759;if(_0x137858<0x0)return'-'+this[_0x27c16d(0x13b)](-_0x137858,_0x50fbde);const _0x4af0e=parseInt(_0x50fbde[_0x27c16d(0x14e)]('/')[0x1][_0x27c16d(0x24c)]('\x22',''));let _0x433163=Math[_0x27c16d(0x11f)](_0x137858/0xc),_0x22d254=Math['floor'](_0x137858%0xc);const _0x26134e=_0x137858-Math[_0x27c16d(0x11f)](_0x137858);let _0x2c4725='';if(_0x26134e>0x0&&_0x50fbde!==0x0){let _0x3eb664=Math['round'](_0x26134e*_0x4af0e);const _0x53418c=(_0x3e9cc3,_0x54c854)=>_0x54c854?_0x53418c(_0x54c854,_0x3e9cc3%_0x54c854):_0x3e9cc3,_0x1d8126=_0x53418c(_0x3eb664,_0x4af0e);_0x2c4725='\x20'+_0x3eb664/_0x1d8126+'/'+_0x4af0e/_0x1d8126,_0x2c4725['trim']()==='1/1'&&(_0x22d254++,_0x22d254>=0xc&&(_0x433163++,_0x22d254-=0xc),_0x2c4725='');}let _0x24a74a='';return _0x433163>0x0&&(_0x24a74a+=_0x433163+'\x27'),_0x433163>0x0&&(_0x22d254>0x0||_0x2c4725!=='')&&(_0x24a74a+='-'),_0x22d254>0x0&&(_0x24a74a+=''+_0x22d254),_0x2c4725!==''&&(_0x24a74a+=_0x2c4725),(_0x22d254>0x0||_0x2c4725!=='')&&(_0x24a74a+='\x22'),_0x24a74a[_0x27c16d(0x261)]();}[_0x150759(0x152)](_0x223a70){const _0x25891e=_0x150759;for(const _0x56bfb9 in this[_0x25891e(0x217)])if(this[_0x25891e(0x217)][_0x56bfb9][_0x25891e(0x19d)](_0x223a70))return _0x56bfb9;return this['units']['Custom']=this[_0x25891e(0x217)]['Custom']||[],this[_0x25891e(0x217)][_0x25891e(0xea)]['push'](_0x223a70),this['unitConversion'][_0x25891e(0xea)]=this[_0x25891e(0x13c)][_0x25891e(0xea)]||{},this[_0x25891e(0x13c)][_0x25891e(0xea)][_0x223a70]=0x1,_0x25891e(0xea);}[_0x150759(0x1a9)](_0x1333a1){const _0x348106=_0x150759;if(_0x1333a1[_0x348106(0x280)][_0x348106(0x1d5)]==='SELECT'){const _0x238cca=_0x1333a1['target']['value'];this[_0x348106(0x236)]=this[_0x348106(0x2a4)](this['value'],this[_0x348106(0x251)],_0x238cca),this[_0x348106(0x251)]=_0x238cca,this[_0x348106(0xe1)]();}this[_0x348106(0x14b)]();}[_0x150759(0x2a4)](_0xd3be9e,_0x546ec5,_0x1090c6){const _0x20774a=_0x150759;if(this['unitCategory']!=='Temperature'){const _0x275123=this[_0x20774a(0x13c)][this['unitCategory']][_0x546ec5]/this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x1090c6];return _0xd3be9e*_0x275123;}else{const _0x4a0179=this['unitConversion'][this[_0x20774a(0x1b8)]][_0x546ec5]['c0'],_0x4a764e=this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x546ec5]['c1'],_0x4ce3c9=this[_0x20774a(0x13c)][this[_0x20774a(0x1b8)]][_0x1090c6]['c0'],_0x56a183=this['unitConversion'][this[_0x20774a(0x1b8)]][_0x1090c6]['c1'];return(_0xd3be9e*_0x4a0179+_0x4a764e-_0x56a183)/_0x4ce3c9;}}[_0x150759(0x296)](_0x5b09d8){const _0x46b745=_0x150759;let _0x289c5c;if(Number['isInteger'](_0x5b09d8)?_0x289c5c=_0x5b09d8[_0x46b745(0x1e9)]():_0x289c5c=_0x5b09d8['toFixed'](this['decimalPlaces'])[_0x46b745(0x24c)](/\.?0+$/,''),Math[_0x46b745(0x1f7)](parseFloat(_0x289c5c))>=0x3e8){const _0x218cc6=_0x289c5c[_0x46b745(0x14e)]('.');_0x218cc6[0x0]=_0x218cc6[0x0][_0x46b745(0x24c)](/\B(?=(\d{3})+(?!\d))/g,','),_0x289c5c=_0x218cc6['join']('.');}return _0x289c5c;}[_0x150759(0xe1)](){const _0xfbfc4c=_0x150759;this[_0xfbfc4c(0x1cf)][_0xfbfc4c(0x1e7)]=_0xfbfc4c(0x277)+(this[_0xfbfc4c(0x1bd)]?'auto':_0xfbfc4c(0x1ff))+_0xfbfc4c(0x11d)+(this['showUnitArrow']?_0xfbfc4c(0x1e0):'none')+_0xfbfc4c(0x1b1)+(this[_0xfbfc4c(0x1bd)]?_0xfbfc4c(0x1e0):'none')+_0xfbfc4c(0x29c)+(this['showUnitArrow']?_0xfbfc4c(0x238):_0xfbfc4c(0x1ff))+_0xfbfc4c(0x281)+(this[_0xfbfc4c(0x251)]==='ft-in'?this[_0xfbfc4c(0x13b)](this[_0xfbfc4c(0x236)]):this[_0xfbfc4c(0x296)](this[_0xfbfc4c(0x236)]))+_0xfbfc4c(0x275)+(this[_0xfbfc4c(0x217)][this[_0xfbfc4c(0x1b8)]]||[this[_0xfbfc4c(0x251)]])[_0xfbfc4c(0x1c4)](_0x2d330a=>_0xfbfc4c(0x19c)+_0x2d330a+'\x22\x20'+(_0x2d330a===this[_0xfbfc4c(0x251)]?_0xfbfc4c(0x23d):'')+_0xfbfc4c(0x2a7)+_0x2d330a+_0xfbfc4c(0x24a))[_0xfbfc4c(0x292)]('')+_0xfbfc4c(0x117)+(this[_0xfbfc4c(0x1bd)]&&this[_0xfbfc4c(0x1b8)]!==_0xfbfc4c(0xea)?_0xfbfc4c(0x16f)+this['e3dLogoUrl']+_0xfbfc4c(0x10c):'')+_0xfbfc4c(0x29b),this[_0xfbfc4c(0x14b)]();}['updateDropdownWidth'](){const _0x4df6b9=_0x150759,_0x253836=this[_0x4df6b9(0x1cf)][_0x4df6b9(0x141)](_0x4df6b9(0x102));if(!_0x253836)return;const _0x172476=document[_0x4df6b9(0x1cd)](_0x4df6b9(0x120));_0x172476[_0x4df6b9(0x173)][_0x4df6b9(0x12c)]=_0x4df6b9(0x24b),_0x172476[_0x4df6b9(0x173)]['position']=_0x4df6b9(0x298),_0x172476[_0x4df6b9(0x173)]['whiteSpace']='nowrap',_0x172476[_0x4df6b9(0x173)][_0x4df6b9(0x1f4)]=window['getComputedStyle'](_0x253836)[_0x4df6b9(0x1f4)],document['body']['appendChild'](_0x172476),_0x172476[_0x4df6b9(0x106)]=this['unit'];const _0x534545=_0x172476[_0x4df6b9(0x1af)];document[_0x4df6b9(0x239)][_0x4df6b9(0x15d)](_0x172476);const _0x5c6bab=this[_0x4df6b9(0x1bd)]?0x10:0x6,_0x2a0389=this[_0x4df6b9(0x1bd)]?0x8:0x0;let _0x40895a=_0x534545+_0x5c6bab+_0x2a0389+0x2;_0x40895a=Math[_0x4df6b9(0x1b7)](_0x40895a,0x1e),_0x253836[_0x4df6b9(0x173)][_0x4df6b9(0x149)]=_0x40895a+'px';}[_0x150759(0x272)](){const _0x5fa932=_0x150759;this[_0x5fa932(0x1cf)][_0x5fa932(0x131)](_0x5fa932(0x2af),this[_0x5fa932(0x1a9)][_0x5fa932(0x273)](this));const _0x23bb36=this[_0x5fa932(0x1cf)][_0x5fa932(0x141)](_0x5fa932(0x103));_0x23bb36&&(_0x23bb36[_0x5fa932(0x131)](_0x5fa932(0x245),this[_0x5fa932(0x109)][_0x5fa932(0x273)](this)),_0x23bb36[_0x5fa932(0x131)]('mouseout',this[_0x5fa932(0x136)]['bind'](this)));}[_0x150759(0x11e)](){const _0x534303=_0x150759;this[_0x534303(0x1cf)][_0x534303(0x1b4)]('change',this[_0x534303(0x1a9)][_0x534303(0x273)](this));const _0x5efd3d=this[_0x534303(0x1cf)][_0x534303(0x141)](_0x534303(0x103));_0x5efd3d&&(_0x5efd3d['removeEventListener'](_0x534303(0x245),this[_0x534303(0x109)][_0x534303(0x273)](this)),_0x5efd3d[_0x534303(0x1b4)](_0x534303(0x13e),this['handleUnitContainerMouseOut']['bind'](this)));}[_0x150759(0x109)](){const _0x23c7f4=_0x150759,_0x2398a8=this['shadowRoot']['querySelector'](_0x23c7f4(0x127));_0x2398a8&&(this[_0x23c7f4(0x10d)]=setTimeout(()=>{const _0x633f09=_0x23c7f4;_0x2398a8[_0x633f09(0x173)][_0x633f09(0x116)]=_0x633f09(0x238);},0x3e8));}[_0x150759(0x136)](){const _0x1a46ab=_0x150759,_0xee33dd=this[_0x1a46ab(0x1cf)]['querySelector']('.tooltip');_0xee33dd&&(setTimeout(()=>{const _0x418d22=_0x1a46ab;_0xee33dd['style']['display']=_0x418d22(0x1ff);},0x7d0),clearTimeout(this[_0x1a46ab(0x10d)]));}}typeof window<'u'&&(customElements['get'](_0x150759(0x1e4))||customElements[_0x150759(0x195)](_0x150759(0x1e4),P),customElements[_0x150759(0x167)]('uc-qty')||customElements[_0x150759(0x195)]('uc-qty',class extends P{}));function _0x370f(_0x5be6c9,_0x1ab894){const _0x15cd61=_0x15cd();return _0x370f=function(_0x370f58,_0x189df3){_0x370f58=_0x370f58-0xe1;let _0x318352=_0x15cd61[_0x370f58];return _0x318352;},_0x370f(_0x5be6c9,_0x1ab894);}export{P as PhysicalQuantity,P as default};
package/dist/pq.umd.js CHANGED
@@ -1,101 +1 @@
1
- (function(M,f){typeof exports=="object"&&typeof module<"u"?f(exports):typeof define=="function"&&define.amd?define(["exports"],f):f((M=typeof globalThis<"u"?globalThis:M||self).PhysicalQuantity={})})(this,function(M){"use strict";var Yt=Object.defineProperty;var te=(M,f,w)=>f in M?Yt(M,f,{enumerable:!0,configurable:!0,writable:!0,value:w}):M[f]=w;var mt=(M,f,w)=>(te(M,typeof f!="symbol"?f+"":f,w),w);/**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */var Tt;const f=globalThis,w=f.ShadowRoot&&(f.ShadyCSS===void 0||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),ct=new WeakMap;let ut=class{constructor(o,t,e){if(this._$cssResult$=!0,e!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o;const t=this.t;if(w&&o===void 0){const e=t!==void 0&&t.length===1;e&&(o=ct.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(t,o))}return o}toString(){return this.cssText}};const xt=(o,...t)=>{const e=o.length===1?o[0]:t.reduce((i,s,n)=>i+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+o[n+1],o[0]);return new ut(e,o,Z)},Wt=(o,t)=>{if(w)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),s=f.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,o.appendChild(i)}},pt=w?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(i=>new ut(typeof i=="string"?i:i+"",void 0,Z))(e)})(o):o,{is:Lt,defineProperty:Bt,getOwnPropertyDescriptor:Vt,getOwnPropertyNames:zt,getOwnPropertySymbols:Ft,getPrototypeOf:Jt}=Object,v=globalThis,dt=v.trustedTypes,Rt=dt?dt.emptyScript:"",X=v.reactiveElementPolyfillSupport,W=(o,t)=>o,Y={toAttribute(o,t){switch(t){case Boolean:o=o?Rt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},gt=(o,t)=>!Lt(o,t),ft={attribute:!0,type:String,converter:Y,reflect:!1,hasChanged:gt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),v.litPropertyMetadata??(v.litPropertyMetadata=new WeakMap);class T extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Bt(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:n}=Vt(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get(){return s==null?void 0:s.call(this)},set(r){const m=s==null?void 0:s.call(this);n.call(this,r),this.requestUpdate(t,m,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ft}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;const t=Jt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){const e=this.properties,i=[...zt(e),...Ft(e)];for(const s of i)this.createProperty(s,e[s])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,s]of e)this.elementProperties.set(i,s)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const s=this._$Eu(e,i);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(pt(s))}else t!==void 0&&e.push(pt(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Wt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var n;const i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(s!==void 0&&i.reflect===!0){const r=(((n=i.converter)==null?void 0:n.toAttribute)!==void 0?i.converter:Y).toAttribute(e,i.type);this._$Em=t,r==null?this.removeAttribute(s):this.setAttribute(s,r),this._$Em=null}}_$AK(t,e){var n;const i=this.constructor,s=i._$Eh.get(t);if(s!==void 0&&this._$Em!==s){const r=i.getPropertyOptions(s),m=typeof r.converter=="function"?{fromAttribute:r.converter}:((n=r.converter)==null?void 0:n.fromAttribute)!==void 0?r.converter:Y;this._$Em=s,this[s]=m.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,i){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??gt)(this[t],e))return;this.P(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(s=>{var n;return(n=s.hostUpdate)==null?void 0:n.call(s)}),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var s;return(s=i.hostUpdated)==null?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[W("elementProperties")]=new Map,T[W("finalized")]=new Map,X==null||X({ReactiveElement:T}),(v.reactiveElementVersions??(v.reactiveElementVersions=[])).push("2.0.4");/**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */const L=globalThis,q=L.trustedTypes,bt=q?q.createPolicy("lit-html",{createHTML:o=>o}):void 0,yt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Mt="?"+_,Ot=`<${Mt}>`,S=document,B=()=>S.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",tt=Array.isArray,et=`[
10
- \f\r]`,z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$t=/-->/g,kt=/>/g,C=RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
11
- \f\r"'\`<>=]|("|')|))|$)`,"g"),wt=/'/g,At=/"/g,vt=/^(?:script|style|textarea|title)$/i,it=(o=>(t,...e)=>({_$litType$:o,strings:t,values:e}))(1),H=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),_t=new WeakMap,U=S.createTreeWalker(S,129);function St(o,t){if(!tt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return bt!==void 0?bt.createHTML(t):t}class F{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,r=0;const m=t.length-1,a=this.parts,[g,Q]=((u,y)=>{const k=u.length-1,P=[];let lt,Ht=y===2?"<svg>":y===3?"<math>":"",p=z;for(let O=0;O<k;O++){const x=u[O];let It,b,E=-1,ht=0;for(;ht<x.length&&(p.lastIndex=ht,b=p.exec(x),b!==null);)ht=p.lastIndex,p===z?b[1]==="!--"?p=$t:b[1]!==void 0?p=kt:b[2]!==void 0?(vt.test(b[2])&&(lt=RegExp("</"+b[2],"g")),p=C):b[3]!==void 0&&(p=C):p===C?b[0]===">"?(p=lt??z,E=-1):b[1]===void 0?E=-2:(E=p.lastIndex-b[2].length,It=b[1],p=b[3]===void 0?C:b[3]==='"'?At:wt):p===At||p===wt?p=C:p===$t||p===kt?p=z:(p=C,lt=void 0);const Nt=p===C&&u[O+1].startsWith("/>")?" ":"";Ht+=p===z?x+Ot:E>=0?(P.push(It),x.slice(0,E)+yt+x.slice(E)+_+Nt):x+_+(E===-2?O:Nt)}return[St(u,Ht+(u[k]||"<?>")+(y===2?"</svg>":y===3?"</math>":"")),P]})(t,e);if(this.el=F.createElement(g,i),U.currentNode=this.el.content,e===2||e===3){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(s=U.nextNode())!==null&&a.length<m;){if(s.nodeType===1){if(s.hasAttributes())for(const u of s.getAttributeNames())if(u.endsWith(yt)){const y=Q[r++],k=s.getAttribute(u).split(_),P=/([.?@])?(.*)/.exec(y);a.push({type:1,index:n,name:P[2],strings:k,ctor:P[1]==="."?Gt:P[1]==="?"?Kt:P[1]==="@"?Dt:G}),s.removeAttribute(u)}else u.startsWith(_)&&(a.push({type:6,index:n}),s.removeAttribute(u));if(vt.test(s.tagName)){const u=s.textContent.split(_),y=u.length-1;if(y>0){s.textContent=q?q.emptyScript:"";for(let k=0;k<y;k++)s.append(u[k],B()),U.nextNode(),a.push({type:2,index:++n});s.append(u[y],B())}}}else if(s.nodeType===8)if(s.data===Mt)a.push({type:2,index:n});else{let u=-1;for(;(u=s.data.indexOf(_,u+1))!==-1;)a.push({type:7,index:n}),u+=_.length-1}n++}}static createElement(t,e){const i=S.createElement("template");return i.innerHTML=t,i}}function I(o,t,e=o,i){var r,m;if(t===H)return t;let s=i!==void 0?(r=e.o)==null?void 0:r[i]:e.l;const n=V(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==n&&((m=s==null?void 0:s._$AO)==null||m.call(s,!1),n===void 0?s=void 0:(s=new n(o),s._$AT(o,e,i)),i!==void 0?(e.o??(e.o=[]))[i]=s:e.l=s),s!==void 0&&(t=I(o,s._$AS(o,t.values),s,i)),t}class qt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((t==null?void 0:t.creationScope)??S).importNode(e,!0);U.currentNode=s;let n=U.nextNode(),r=0,m=0,a=i[0];for(;a!==void 0;){if(r===a.index){let g;a.type===2?g=new J(n,n.nextSibling,this,t):a.type===1?g=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(g=new jt(n,this,t)),this._$AV.push(g),a=i[++m]}r!==(a==null?void 0:a.index)&&(n=U.nextNode(),r++)}return U.currentNode=S,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class J{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this.v}constructor(t,e,i,s){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this.v=(s==null?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):(i=>tt(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function")(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=F.createElement(St(i.h,i.h[0]),this.options)),i);if(((n=this._$AH)==null?void 0:n._$AD)===s)this._$AH.p(e);else{const r=new qt(s,this),m=r.u(this.options);r.p(e),this.T(m),this._$AH=r}}_$AC(t){let e=_t.get(t.strings);return e===void 0&&_t.set(t.strings,e=new F(t)),e}k(t){tt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new J(this.O(B()),this.O(B()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this.v=t,(e=this._$AP)==null||e.call(this,t))}}class G{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=d}_$AI(t,e=this,i,s){const n=this.strings;let r=!1;if(n===void 0)t=I(this,t,e,0),r=!V(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const m=t;let a,g;for(t=n[0],a=0;a<n.length-1;a++)g=I(this,m[i+a],e,a),g===H&&(g=this._$AH[a]),r||(r=!V(g)||g!==this._$AH[a]),g===d?t=d:t!==d&&(t+=(g??"")+n[a+1]),this._$AH[a]=g}r&&!s&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Gt extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Kt extends G{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Dt extends G{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){if((t=I(this,t,e,0)??d)===H)return;const i=this._$AH,s=t===d&&i!==d||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==d&&(i===d||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class jt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const st=L.litHtmlPolyfillSupport;st==null||st(F,J),(L.litHtmlVersions??(L.litHtmlVersions=[])).push("3.2.0");/**
12
- * @license
13
- * Copyright 2017 Google LLC
14
- * SPDX-License-Identifier: BSD-3-Clause
15
- */class R extends T{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=((i,s,n)=>{const r=(n==null?void 0:n.renderBefore)??s;let m=r._$litPart$;if(m===void 0){const a=(n==null?void 0:n.renderBefore)??null;r._$litPart$=m=new J(s.insertBefore(B(),a),a,void 0,n??{})}return m._$AI(i),m})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this.o)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.o)==null||t.setConnected(!1)}render(){return H}}R._$litElement$=!0,R.finalized=!0,(Tt=globalThis.litElementHydrateSupport)==null||Tt.call(globalThis,{LitElement:R});const nt=globalThis.litElementPolyfillSupport;nt==null||nt({LitElement:R}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.0");const c=1e3,A=1e6,K=1e9,$=.45359237,Ct=9.80665,h=.0254,l=12*h,ot=231,Qt=268.8025,D=14.59390294,rt=1055.05585262,Ut=4.1868,at=4.184,Pt=745.69987158227,Et=101325,j=133.322387415,Zt={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","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"]},Xt={Length:{m:1,"nano[nm]":1e-9,µm:1e-6,micron:1e-6,mm:.001,cm:.01,dm:.1,km:c,in:h,"thou[mil, or thousandth of an inch]":h/c,"ft-in":h,ft:l,yd:3*l,mile:1609.3439999999998,"NM[M, nmi, or nautical mile]":1852},Mass:{kg:1,g:.001,mg:1e-6,µg:1e-9,oz:.028349523125,lbm:$,slug:D,"ton(US/short)":907.18474,"ton(UK-Imperial/long)":2240*$,tonne:c},Time:{"s[second]":1,s:1,minute:60,h:3600,"h[hour]":3600,day:86400,week:604800},ElectricalCurrent:{A:1,"Ampere[amp]":1,mA:.001,µA:1e-6,kA:c,MA:A,"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:c},"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²":l,"ft/min²":l/3600,"in/s²":h},"Gravitational Constant":{"m³/kg/s²":1,"N⋅m²/kg²":1,"dyn⋅cm²/g²":c},"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(l,2),fc:1/Math.pow(l,2),"lumen/ft²":1/Math.pow(l,2),"lm/ft²":1/Math.pow(l,2)},Frequency:{Hz:1,"1/s":1,"1/min":1/60,rpm:1/60,"1/hour":1/3600,mHz:.001,kHz:c,MHz:A,GHz:K},Area:{"m²":1,"µm²":Math.pow(1e-6,2),"mm²":Math.pow(.001,2),"cm²":Math.pow(.01,2),"km²":A,hectare:Math.pow(100,2),"in²":Math.pow(h,2),"ft²":Math.pow(l,2),"yd²":Math.pow(3*l,2),acre:43560*Math.pow(l,2),"mile²":Math.pow(1609.3439999999998,2)},"Volume / Section Modulus":{"m³":1,"µm³":Math.pow(1e-6,3),"mm³":Math.pow(.001,3),"cm³":Math.pow(.01,3),L:.001,mL:1e-6,"km³":Math.pow(c,3),"in³":Math.pow(h,3),"ft³":Math.pow(l,3),"yd³":Math.pow(3*l,3),"gal(UK-imperial)":.00454609,"gal(US-liquid)":ot*Math.pow(h,3),"gal(US-dry)":Qt*Math.pow(h,3),"pint(UK-imperial)":.00056826125,"pint(US-liquid)":28.875*Math.pow(h,3),"pint(US-dry)":33.6003125*Math.pow(h,3),"fluid ounce(UK-imperial)":284130625e-13,"fluid ounce(US-liquid)":1.8046875*Math.pow(h,3),"bushel(UK-imperial)":.03636872,"bushel(US-dry)":2150.42*Math.pow(h,3),"cup(US-liquid)":14.4375*Math.pow(h,3),"cup(Legal)":240*Math.pow(.01,3),"cup(Metric)":250*Math.pow(.01,3),"cup(Imperial)":.000284130625},"Polar Moment of Inertia":{"m⁴":1,"mm⁴":1e-12,"cm⁴":1e-8,"in⁴":Math.pow(h,4),"ft⁴":Math.pow(l,4)},"Moment of Inertia":{"kg⋅m²":1,"g⋅cm²":1e-7,"g⋅mm²":1e-9,"lbm⋅ft²":$*Math.pow(l,2),"lbm⋅in²":$*Math.pow(h,2),"oz⋅in²":.028349523125*Math.pow(h,2)},Force:{N:1,kN:c,MN:A,kgf:Ct,lb:4.4482216152605,lbf:4.4482216152605,"kip[kilo pound]":4448.2216152605},Angle:{radian:1,rad:1,"deg°":Math.PI/180,revolution:2*Math.PI},"Solid Angle":{"sr[steradian]":1,"m²/m²":1},"BMI-Body Mass Index/Ballistic Coefficient":{"kg/m²":1,"g/cm²":.001/Math.pow(.01,2),"g/mm²":.001/Math.pow(.001,2),"tonne/m²":c,"lbm/yd²":$/Math.pow(3*l,2),"lbm/ft²":$/Math.pow(l,2),"lbm/in²":$/Math.pow(h,2),"oz/yd²":.028349523125/Math.pow(3*l,2),"oz/ft²":.028349523125/Math.pow(l,2),"oz/in²":.028349523125/Math.pow(h,2)},Density:{"kg/m³":1,"kg/L":1e3,"g/cm³":.001/Math.pow(.01,3),"g/mm³":.001/Math.pow(.001,3),"lbm/ft³":$/Math.pow(l,3),"lbm/in³":$/Math.pow(h,3)},Energy:{"J[Joule]":1,kJ:c,MJ:A,GJ:K,"TNT Equivalent[kiloton]":4184e6,Btu:rt,"MM Btu":105505585262e-2,"calorie(IT)":Ut,"kilo-calorie(IT)":4186.8,"calorie(TH)":at,"kilo-calorie(TH)":4184,"HP Hour":3600*Pt,Wh:3600,kWh:36e5,"eV{electron-volt]":1/624150974e10},Power:{"W[watt]":1,kW:c,MW:A,"GW[Gigawatt]":K,"Btu/h":rt/3600,"Btu/minute":rt/60,"MM Btu/h":293071.0701722222,"calorie(IT)/second":Ut,"calorie(IT)/minute":.06978,"kilo-calorie(IT)/hour":1.163,"calorie(TH)/second":at,"calorie(TH)/minute":at/60,"kilo-calorie(TH)/hour":4184/3600,"lb-ft/second":1.3558179483314001,"lb-ft/minute":.022596965805523336,HP:Pt,"J/second":1,"J/minute":1/60,"J/h":1/3600,"MJ/h":A/3600,"kJ/minute":c/60},"Torque, Moment of Force":{Nm:1,kNm:c,"lb-in":.11298482902761668,"kip-in":112.98482902761668,"lb-ft":1.3558179483314001,"oz-in":.007061551814226043,"oz-ft":.08473862177071251},"Pressure/Stress":{Pa:1,kPa:c,MPa:A,GPa:K,bar:1e5,mbar:100,atm:Et,"mm HG":j,"cm HG":10*j,"in HG":25.4*j,"mm W.C.":9.80665,"m W.C.":9806.65,"in W.C.":25.4*Ct,psf:4.4482216152605/Math.pow(l,2),psi:4.4482216152605/Math.pow(h,2),ksi:4.4482216152605/Math.pow(h,2)*c,"ksi{kip/in²]":4.4482216152605/Math.pow(h,2)*c},"Pressure Drop per Unit Length":{"Pa/m":1,"Pascal/m":1,"kPa/m":c,"MPa/km":1e3,"bar/m":1e5,"mbar/mm":1e5,"atm/m":Et,"mm HG/m":j,"in HG/ft":11110.198951250002,"mm W.C./m":9.80665,"m W.C./m":9806.65,"in W.C./ft":817.2208333333333,"in W.C./100 ft":8.172208333333334,"psf/in":4.4482216152605/Math.pow(l,2)/h,"psi/ft":4.4482216152605/Math.pow(l,2)/l,"ksi/ft":4.4482216152605/Math.pow(l,2)/l*c,"Torr/ft":437.40934521342734,"mTorr/m":.13332236842105263},"Uniformly Distributed (Uniform Line) Load | Stiffness of Linear Spring":{"N/m":1,"N/mm":c,"kN/m":c,"lb/ft":14.593902937206366,"kips/ft":14593.902937206365,"lb/in":175.12683524647636},"Stiffness of Rotary Spring":{"N⋅m/rad":1,"N⋅m/deg°":1/Math.PI*180,"N⋅mm/rad":.001,"N⋅mm/deg°":.001/Math.PI*180,"lb-ft/rad":1.3558179483314001,"lb-ft/deg°":1.3558179483314001/(Math.PI/180),"lb-in/rad":.11298482902761668,"lb-in/deg°":.11298482902761668/(Math.PI/180)},"Flow Rate (Volume)":{"m³/s":1,"m³/min":1/60,"m³/h":1/3600,"L/s":.001,"L/min":.001/60,"L/h":.001/3600,"cm³/s":1e-6,"cm³/min":1e-6/60,"in³/s":Math.pow(h,3),"in³/min":Math.pow(h,3)/60,"ft³/s":Math.pow(l,3),CFM:Math.pow(l,3)/60,"CFM[ft³/min]":Math.pow(l,3)/60,CFH:Math.pow(l,3)/3600,"CFH[ft³/h]":Math.pow(l,3)/3600,"yd³/min":Math.pow(3*l,3)/60,"yd³/h":Math.pow(3*l,3)/3600,"gpm(US)":ot*Math.pow(h,3)/60,"gph(US)":ot*Math.pow(h,3)/3600,"bushel(UK-imperial)/h":.03636872/3600,"bushel(US)/h":2150.42*Math.pow(h,3)/3600},"Flow Rate (Mass)":{"kg/s":1,"kg/min":1/60,"kg/h":1/3600,"g/s":.001,"g/min":.001/60,"g/h":.001/3600,"slug/s":D,"slug/min":D/60,"slug/h":D/3600,"lbm/s":$,"lbm/min":$/60,"lbm/h":$/3600,"oz/s":.028349523125,"oz/min":.028349523125/60,"oz/h":.028349523125/3600,"tonne/h":c/3600,"short ton/h":907.18474/3600,"long ton/h":.2822352524444445},"Speed / Velocity (Linear)":{"m/s":1,"mm/s":.001,"km/s":1,"mm/min":.001/60,"m/min":1/60,"km/min":c/60,"mm/h":.001/3600,"m/h":1/3600,"km/h":c/3600,"in/s":h,fps:l,"fps[ft/second]":l,fpm:l/60,"fpm[ft/minute]":l/60,"mph[mile/h]":.44703999999999994,"knot[kn, kt, or nautical mile/h]":1852/3600},"Electrical Potential Difference (Voltage)":{V:1,Volt:1,"joule/coulomb":1,"J/C":1,µV:1e-6,mV:.001,kV:c,MV:A}};class N extends R{constructor(){super(),this.units=Zt,this.unitConversion=Xt,this.unit="mm",this.decimalPlaces=2,this.showUnitArrow=!0,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",this.tooltipTimeout=null}connectedCallback(){super.connectedCallback(),this.unitCategory=this.getUnitCategory(this.unit),this.value=this.parseValue(this.inputValue,this.unit);const t=this.getAttribute("show-unit-arrow");this.showUnitArrow=t===null||t==="true"}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),t==="value")this.inputValue=i,this.value=this.parseValue(i,this.unit);else if(t==="unit"){const s=this.unit;this.unit=i,this.unitCategory=this.getUnitCategory(i),s!==i&&(this.value=this.convertValue(this.value,s,i))}else t==="decimal-places"&&(this.decimalPlaces=parseInt(i)||2)}parseValue(t,e){return e==="ft-in"?this.parseFeetInchesValue(t):parseFloat(t)}parseFeetInchesValue(t){let e=t.match(/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/);if(e){const i=parseInt(e[1])||0,s=parseInt(e[3])||0,n=parseInt(e[5])||0,r=parseInt(e[6])||1;return this.calculateTotalInches(i,s,n,r)}if(e=t.match(/(\d+)\'/),e){const i=parseInt(e[1])||0;return this.calculateTotalInches(i,0,0,1)}if(e=t.match(/(\d+)/),e){const i=parseInt(e[1])||0;return this.calculateTotalInches(0,i,0,1)}return parseFloat(t)}calculateTotalInches(t,e,i,s){return 12*t+e+i/s}formatFeetInchesValue(t,e='1/16"'){if(t<0)return`-${this.formatFeetInchesValue(-t,e)}`;const i=parseInt(e.split("/")[1].replace('"',""));let s=Math.floor(t/12),n=Math.floor(t%12);const r=t-Math.floor(t);let m="";if(r>0&&e!==0){let g=Math.round(r*i);const Q=(y,k)=>k?Q(k,y%k):y,u=Q(g,i);m=` ${g/u}/${i/u}`,m.trim()==="1/1"&&(n++,n>=12&&(s++,n-=12),m="")}let a="";return s>0&&(a+=`${s}'`),s>0&&(n>0||m!=="")&&(a+="-"),n>0&&(a+=`${n}`),m!==""&&(a+=m),(n>0||m!=="")&&(a+='"'),a.trim()}getUnitCategory(t){for(const e in this.units)if(this.units[e].includes(t))return e;return this.units.Custom=this.units.Custom||[],this.units.Custom.push(t),this.unitConversion.Custom=this.unitConversion.Custom||{},this.unitConversion.Custom[t]=1,"Custom"}convertValue(t,e,i){if(this.unitCategory!=="Temperature")return t*(this.unitConversion[this.unitCategory][e]/this.unitConversion[this.unitCategory][i]);{const s=this.unitConversion[this.unitCategory][e].c0,n=this.unitConversion[this.unitCategory][e].c1,r=this.unitConversion[this.unitCategory][i].c0;return(t*s+n-this.unitConversion[this.unitCategory][i].c1)/r}}formatValue(t){if(Number.isInteger(t))return t.toString();let e=t.toFixed(this.decimalPlaces);if(e=e.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}render(){return it`
16
- <div class="quantity">
17
- <span class="value">
18
- ${this.unit==="ft-in"?this.formatFeetInchesValue(this.value):this.formatValue(this.value)}
19
- </span>
20
- <div class="unit-container"
21
- @mouseover=${this.handleUnitContainerMouseOver}
22
- @mouseout=${this.handleUnitContainerMouseOut}>
23
- <select class="${this.showUnitArrow?"show-arrow":""}"
24
- @change=${this.handleUnitChange}>
25
- ${(this.units[this.unitCategory]||[this.unit]).map(t=>it`<option value="${t}" ?selected=${t===this.unit}>${t}</option>`)}
26
- </select>
27
-
28
- ${this.showUnitArrow&&this.unitCategory!=="Custom"?it`
29
- <a class="tooltip" href="https://v2-docs.donwen.com/daily-calculations/unit-converter.html"
30
- title="Unit Converter for All Categories" target="_blank">
31
- <img src="${this.e3dLogoUrl}" width="12" />
32
- </a>
33
- `:""}
34
- </div>
35
- </div>
36
- `}updated(t){super.updated(t),(t.has("value")||t.has("unit"))&&(this.inputValue=this.value,this.unitCategory=this.getUnitCategory(this.unit)),(t.has("unit")||t.has("value")||t.has("decimalPlaces"))&&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);let s=i+(this.showUnitArrow?16:6)+(this.showUnitArrow?8:0)+2;s=Math.max(s,30),t.style.width=`${s}px`}handleUnitChange(t){const e=t.target.value;this.value=this.convertValue(this.value,this.unit,e),this.unit=e,this.requestUpdate()}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))}}mt(N,"properties",{value:{type:Number,reflect:!0},unit:{type:String,reflect:!0},decimalPlaces:{type:Number,attribute:"decimal-places",reflect:!0},showUnitArrow:{type:Boolean,attribute:"show-unit-arrow",reflect:!0},unitCategory:{type:String},inputValue:{type:String}}),mt(N,"styles",xt`
37
- :host {
38
- display: inline-flex;
39
- align-items: baseline;
40
- vertical-align: baseline;
41
- }
42
- .quantity {
43
- display: inline-flex;
44
- align-items: baseline;
45
- position: relative;
46
- }
47
- .value {
48
- margin-right: 2px;
49
- margin-left: 2px;
50
- position: relative;
51
- }
52
- .unit-container {
53
- position: relative;
54
- display: inline-flex;
55
- align-items: baseline;
56
- }
57
- .unit-container select {
58
- appearance: none;
59
- -webkit-appearance: none;
60
- -moz-appearance: none;
61
- border-radius: 0.15em;
62
- border: none;
63
- margin: 0;
64
- padding: 0 0.1em 0 0.2em;
65
- color: blue;
66
- background-color: lightgray;
67
- font-family: inherit;
68
- font-size: 0.9em;
69
- line-height: normal;
70
- cursor: pointer;
71
- text-align: left;
72
- text-align-last: center;
73
- vertical-align: baseline;
74
- min-width: 2.5em;
75
- }
76
- .unit-container select.show-arrow {
77
- appearance: auto; /* Show arrow when class is added */
78
- -webkit-appearance: auto;
79
- -moz-appearance: auto;
80
- }
81
- .tooltip {
82
- position: absolute;
83
- bottom: 100%;
84
- left: 50%;
85
- transform: translateX(-50%);
86
- padding: 0;
87
- display: none;
88
- font-size: 12px;
89
- pointer-events: autp;
90
- }
91
- .unit-container:hover .tooltip {
92
- display: block;
93
- }
94
- .tooltip a {
95
- text-decoration: none;
96
- color: blue;
97
- }
98
- .tooltip a:hover {
99
- text-decoration: underline;
100
- }
101
- `),typeof window<"u"&&(customElements.get("physical-quantity")||customElements.define("physical-quantity",N),customElements.get("uc-qty")||customElements.define("uc-qty",class extends N{})),M.PhysicalQuantity=N,M.default=N,Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ function _0x2360(_0x5474bc,_0x25e99a){const _0x20280c=_0x2028();return _0x2360=function(_0x236064,_0x20e706){_0x236064=_0x236064-0xc6;let _0x16f508=_0x20280c[_0x236064];return _0x16f508;},_0x2360(_0x5474bc,_0x25e99a);}function _0x2028(){const _0x1f7826=['psf/in','GJ/kg','removeEventListener',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-webkit-appearance:\x20','e3dLogoUrl','kgf','J/(kg·°C)','MJ/100mile','rpm[rev/min]','m/min²','km/min','lbm/min','Custom','L/min','GPa','$1K','slug/h','long\x20ton/h','MHz','gal(UK-imperial)/100mile','m³/s','Wh/mile','esu/s','in²/hr','m²/hr','CFH[ft³/h]','auto','tooltipTimeout','gal(US-liquid)/100mile','in²','bushel(UK-imperial)/h','Btu/h','kcal(IT)/kg','revolution','cd[candela]','deg°','W[watt]','kPa','mkat','kibibit','lm[lumen]','in⁴','gibibit/s','St[cm²/s]','offsetWidth','km/L','2262XdpPgU','oz/yd²','L/100mile','psf','g/mm²','gigabit','mm²/min','2761704EomKYK','mm/min','ft/s²','mm⁴','Mkat','e[electron]','µSv','J/m','in\x20W.C.','lbm/ft²','m/s','mm/s','parseFeetInchesValue','calorie(IT)/second','body','mebibit','Volt','mmol','km/kWh','kips/ft','ksi','lbm/h','4803264OEjFmu',';\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','foot-candle','split','lbf','bushel(UK-imperial)','cc/rev','mm/h','pebibit','Pa/m','render','cal(TH)/L','C[coulomb]','select','J/(kg·°K)','week','m/min','1/°K','short\x20ton/h','micron','addEventListener','<option\x20value=\x22','kN/m','lb-ft','max','mile','thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]','observedAttributes',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-moz-appearance:\x20','atm/m','kWh/mile','cm³','ft²/s','mm²','gibibit','atm','tebibit/s','attachShadow','314322ouBcVs','rev/s','gigabit/s','Btu','1/min','cm²','bushel(US-dry)','minute','showUnitArrow','calculateTotalInches','.tooltip','\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','mGy','mBq','connectedCallback','lm/sr','MM\x20Btu/lbm','lumen/ft²','inputValue','\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','m/s²','kWh/100mile','removeChild','handleUnitChange','attachEventListeners','ksi[kip/in²]','rad/s²','kWh/100km','shadowRoot','lb-ft/rad','m/J','Btu/lbm','Wh/km','kWh/m³','lbm/ft³','ft/min²','define','m²/min','formatFeetInchesValue','kJ/kg','m²/s','kBq','kibibit/s','J/C','slug/min','petabit/s','querySelector','convertValue','gal(US-liquid)','handleUnitContainerMouseOver','mHz','bind','PhysicalQuantity','Sv[sievert]','parseValue','decimal-places','MGy','J/g','g/cm³','kcal(TH)/kg','value','mol','F[farad]','ft²/hr','in³/s','MJ/km','mSv','kJ/m³','tonne/m²','amd','lb-in/rad','in²/min','get','megabit','J/(g·°K)','rpm','\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','oz-in','font','ft³/rev','oz-ft','</option>','oz/ft²','psi','kkat','lm/m²','unitCategory','cm³/s','TNT\x20Equivalent[kiloton]','rad/min²','attributeChangedCallback','rad/min','physical-quantity','MJ/h','slug/s','target','$1B','m³/m','byte','NM[M,\x20nmi,\x20or\x20nautical\x20mile]','getAttribute','updateDropdownWidth','unit','mile/kWh','gal(UK-imperial)/mile','gal(US-liquid)/rev','bushel(US)/h','MM\x20Btu/mile','mm\x20HG/m','slug','kilo-calorie(TH)/hour','ft-in','1/s','getUnitCategory','H[henry]','block','.unit-container','Wb/m²','mbar/mm','terabit/s','lbm·fps','Temperature','31933638XpQiJh','mpg(UK)','mm²/hr','terabit','g/min','kJ/L','yd²','µm³','true','isInteger','kg⋅m²','cm⁴','Ampere[amp]','pow','MJ/m³','deg°/s²','lb-ft/minute','mouseover','lbm/in²','kip[kilo\x20pound]','appendChild','mm\x20W.C./m','kg/m²','km/s','exports','kcal(TH)/m³','kJ/minute','mile/L','sr[steradian]','m³/rad','in²/s','cal(IT)/L','kg/h','fps[ft/second]','ft³/s','hectare','MPGe','mile/gal(US-liquid)','cSt[mm²/s]','bar/m','7304BLsSzj','cm³/min','MSv','lb-in/deg°','MM\x20Btu/ft³','µm²','mm³','unitConversion','mouseout','N/m','Wh/m³','56305REkKBH','lbm','toString','mbar','whiteSpace','km³','gpm(US)','m³/kg/s²','N⋅m/deg°','yd³/min','lbm⋅in²','J/kg','N⋅m²/kg²','cup(US-liquid)','mile/MM\x20Btu','mile/gal(UK-imperial)','map','1/°Ra','pint(UK-imperial)','J/h','g/s','m\x20W.C./m','in\x20HG','Btu/(lbm·°F)','1/1',';\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>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','J[Joule]','1/hour','petabyte','lux','lb-in','mm\x20HG','cal(TH)/g','object','tagName','km/MJ','textContent','HP\x20Hour/lbm','lb·s','282VdvcXW','kg·m/s','m²/m²','kg/m³','acre','$1M','J/L','day','mpg(US)','cal(IT)/g','eV[electron-volt]','SELECT','style','toStringTag','ft²','S[siemens]','L/rev','kPa/m','cp[candlepower]','s[second]','ampere-hour','fluid\x20ounce(US-liquid)','g⋅cm²','hidden','mWb','MJ/mile','nowrap','knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]','round','lbm/yd²','g/cm²','ton(US/short)','createElement','\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','formatValue','match','lbm/in³','MM\x20Btu/h','kibibyte','m³/rev','none','includes','pebibyte','trim','tebibit','g/mm³','lumen/m²','ft⁴','N/mm','handleUnitContainerMouseOut','Bq[becquerel]','GHz','lb-ft/second','hasAttribute','pebibit/s','default','mAh','MPa/km','deg°/min²','kGy','in³/min','disconnectedCallback','bit','meter-candle','uc-qty','units','selected','kg/L','abs','Wh/L','calorie(TH)/minute','1/16\x22','ksi/ft','$1T','ft²/min','lb/in','display','fpm[ft/minute]','show-unit-arrow','tonne','kmol','Gy[gray]','replace','CFM[ft³/min]','bit/s','removeEventListeners','MJ/kg','kBd','\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\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20','Ω[Ohm]','L/km','cup(Metric)','Pascal/m','floor','deg°/min','N⋅m/rad','5448562pHjHmh','P[Poise]','gibibyte','pint(US-liquid)','mph[mile/h]','cm\x20HG','fpm','kilobit/s','m/h','rad/s','kip-in','gigabyte','terabyte','decimalPlaces','mm\x20W.C.','Btu/ton(short)','HP\x20Hour/ft³','deg°/h','change','oz/in²','in/s²','BTU/(h⋅ft⋅°F)','phot','yd³/h','HP\x20Hour','GJ/m³','defineProperties','gal(US-dry)','N⋅mm/rad','J/minute','Btu/gal(US)','megabyte','Module','megabit/s','1/°F','CFM','getComputedStyle'];_0x2028=function(){return _0x1f7826;};return _0x2028();}(function(_0x5a9d7e,_0x34422c){const _0x437914=_0x2360,_0x310c57=_0x5a9d7e();while(!![]){try{const _0x1b1f4e=parseInt(_0x437914(0x17d))/0x1+-parseInt(_0x437914(0x141))/0x2+-parseInt(_0x437914(0x13a))/0x3*(parseInt(_0x437914(0x21f))/0x4)+parseInt(_0x437914(0x22a))/0x5*(-parseInt(_0x437914(0x251))/0x6)+parseInt(_0x437914(0xe7))/0x7+-parseInt(_0x437914(0x157))/0x8+parseInt(_0x437914(0x1f7))/0x9;if(_0x1b1f4e===_0x34422c)break;else _0x310c57['push'](_0x310c57['shift']());}catch(_0x2ad851){_0x310c57['push'](_0x310c57['shift']());}}}(_0x2028,0xb7f83),function(_0x58492f,_0x5e9dc7){const _0x39975d=_0x2360;typeof exports==_0x39975d(0x24b)&&typeof module<'u'?_0x5e9dc7(exports):typeof define=='function'&&define[_0x39975d(0x1c2)]?define([_0x39975d(0x20f)],_0x5e9dc7):(_0x58492f=typeof globalThis<'u'?globalThis:_0x58492f||self,_0x5e9dc7(_0x58492f['PhysicalQuantity']={}));}(this,function(_0x5942a2){'use strict';const _0x2977de=_0x2360;const _0x2d25ed=0.45359237,_0x3e0b36=9.80665,_0x1b9db8=0x14a0,_0x573b33=25.4/0x3e8,_0x311ad4=0xc*_0x573b33,_0x20aa42=0x73c,_0x6884d2=0x42*0x294,_0x27c08f=4.54609,_0x913e3f=0xe7,_0x55ef1d=268.8025,_0x1dcf9f=0x1/0x8,_0x52fe83=0x1/0x14,_0xe32905=0x1/0x10,_0x2d509=0x8,_0x3d0d81=0x8,_0x5cac35=0x1/0x10,_0xaef8f9=0xf0,_0x5ba836=0xfa,_0x551d31=0xa,_0x36fcfe=14.59390294,_0x43b884=1055.05585262,_0x376c86=4.1868,_0x31e9bd=4.184,_0x463e91=0x226*_0x2d25ed*_0x3e0b36*_0x311ad4,_0x27e754=0x18bcd,_0x365d75=0x1/0x2f8,_0x51c47f=133.322387415,_0xa23b54=0x569e4c0a22d73800,_0x40aa08={'Length':['m','nano[nm]','µm',_0x2977de(0x16a),'mm','cm','dm','km','in',_0x2977de(0x1ec),_0x2977de(0x171),'ft','yd',_0x2977de(0x170),_0x2977de(0x1e0)],'Mass':['kg','g','mg','µg','oz',_0x2977de(0x22b),_0x2977de(0x1ea),_0x2977de(0x270),'ton(UK-Imperial/long)',_0x2977de(0xd6)],'Time':[_0x2977de(0x264),'s',_0x2977de(0x184),'h','h[hour]',_0x2977de(0x258),_0x2977de(0x166)],'ElectricalCurrent':['A',_0x2977de(0x203),'mA','µA','kA','MA',_0x2977de(0x122)],'Temperature':['°K','°C','°F','°Ra'],'Amount\x20of\x20Substance':[_0x2977de(0x1ba),_0x2977de(0x152),_0x2977de(0xd7)],'Luminous\x20Intensity':[_0x2977de(0x12e),_0x2977de(0x18c),_0x2977de(0x263),'cp[candlepower(before\x201948)]'],'Acceleration':[_0x2977de(0x191),_0x2977de(0x115),'mm/s²',_0x2977de(0x143),_0x2977de(0x1a0),_0x2977de(0xfb)],'Gravitational\x20Constant':[_0x2977de(0x231),_0x2977de(0x236),'dyn⋅cm²/g²'],'Velocity\x20(Angular)':[_0x2977de(0xf0),_0x2977de(0x1d8),'rad/h','deg°/s',_0x2977de(0xe5),_0x2977de(0xf8),_0x2977de(0x114),_0x2977de(0x17e)],'Acceleration\x20(Angular)':[_0x2977de(0x197),_0x2977de(0x1d6),_0x2977de(0x206),_0x2977de(0x28b)],'Illuminance':[_0x2977de(0x247),_0x2977de(0x27f),_0x2977de(0x1d2),_0x2977de(0xc6),_0x2977de(0xfd),_0x2977de(0x159),'fc',_0x2977de(0x18e),'lm/ft²'],'Frequency':['Hz',_0x2977de(0x1ed),_0x2977de(0x181),_0x2977de(0x1c8),_0x2977de(0x245),_0x2977de(0x1af),'kHz',_0x2977de(0x11e),_0x2977de(0x284)],'Area':['m²',_0x2977de(0x224),_0x2977de(0x178),_0x2977de(0x182),'km²',_0x2977de(0x21a),_0x2977de(0x129),_0x2977de(0x25f),_0x2977de(0x1fd),_0x2977de(0x255),'mile²'],'Volume\x20/\x20Section\x20Modulus':['m³',_0x2977de(0x1fe),_0x2977de(0x225),_0x2977de(0x176),'L','mL',_0x2977de(0x22f),'in³','ft³','yd³','gal(UK-imperial)',_0x2977de(0x1ad),_0x2977de(0x102),_0x2977de(0x23c),_0x2977de(0xea),'pint(US-dry)','fluid\x20ounce(UK-imperial)',_0x2977de(0x266),_0x2977de(0x15c),_0x2977de(0x183),_0x2977de(0x237),'cup(Legal)',_0x2977de(0xe2),'cup(Imperial)'],'Polar\x20Moment\x20of\x20Inertia':['m⁴',_0x2977de(0x144),_0x2977de(0x202),_0x2977de(0x135),_0x2977de(0x280)],'Moment\x20of\x20Inertia':[_0x2977de(0x201),_0x2977de(0x267),'g⋅mm²','lbm⋅ft²',_0x2977de(0x234),'oz⋅in²'],'Force':['N','kN','MN',_0x2977de(0x111),'lb',_0x2977de(0x15b),_0x2977de(0x20a)],'Angle':['radian','rad',_0x2977de(0x12f),_0x2977de(0x12d)],'Solid\x20Angle':[_0x2977de(0x213),_0x2977de(0x253)],'BMI-Body\x20Mass\x20Index/Ballistic\x20Coefficient':[_0x2977de(0x20d),_0x2977de(0x26f),_0x2977de(0x13e),_0x2977de(0x1c1),_0x2977de(0x26e),_0x2977de(0x14a),_0x2977de(0x209),_0x2977de(0x13b),_0x2977de(0x1cf),_0x2977de(0xfa)],'Density':[_0x2977de(0x254),_0x2977de(0xca),_0x2977de(0x1b7),_0x2977de(0x27e),_0x2977de(0x19f),_0x2977de(0x275)],'Energy':[_0x2977de(0x244),'kJ','MJ','GJ',_0x2977de(0x1d5),_0x2977de(0x180),'MM\x20Btu','calorie(IT)','kilo-calorie(IT)','calorie(TH)','kilo-calorie(TH)',_0x2977de(0xff),'Wh','kWh',_0x2977de(0x25b)],'Power':[_0x2977de(0x130),'kW','MW','GW[Gigawatt]',_0x2977de(0x12b),'Btu/minute',_0x2977de(0x276),_0x2977de(0x14e),'calorie(IT)/minute','kilo-calorie(IT)/hour','calorie(TH)/second',_0x2977de(0xcd),_0x2977de(0x1eb),_0x2977de(0x285),_0x2977de(0x207),'HP','J/second',_0x2977de(0x104),_0x2977de(0x23d),_0x2977de(0x1da),_0x2977de(0x211)],'Torque,\x20Moment\x20of\x20Force':['Nm','kNm',_0x2977de(0x248),_0x2977de(0xf1),_0x2977de(0x16e),_0x2977de(0x1ca),_0x2977de(0x1cd)],'Pressure/Stress':['Pa',_0x2977de(0x131),'MPa',_0x2977de(0x11a),'bar',_0x2977de(0x22d),_0x2977de(0x17a),_0x2977de(0x249),_0x2977de(0xec),_0x2977de(0x240),_0x2977de(0xf5),'m\x20W.C.',_0x2977de(0x149),_0x2977de(0x13d),_0x2977de(0x1d0),_0x2977de(0x155),_0x2977de(0x196)],'Pressure\x20Drop\x20per\x20Unit\x20Length':[_0x2977de(0x160),_0x2977de(0xe3),_0x2977de(0x262),_0x2977de(0x28a),_0x2977de(0x21e),_0x2977de(0x1f3),_0x2977de(0x174),_0x2977de(0x1e9),'in\x20HG/ft',_0x2977de(0x20c),_0x2977de(0x23f),'in\x20W.C./ft','in\x20W.C./100\x20ft',_0x2977de(0x10c),'psi/ft',_0x2977de(0xcf),'Torr/ft','mTorr/m'],'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':[_0x2977de(0x228),_0x2977de(0x281),_0x2977de(0x16d),'lb/ft',_0x2977de(0x154),_0x2977de(0xd2)],'Stiffness\x20of\x20Rotary\x20Spring':[_0x2977de(0xe6),_0x2977de(0x232),_0x2977de(0x103),'N⋅mm/deg°',_0x2977de(0x19a),'lb-ft/deg°',_0x2977de(0x1c3),_0x2977de(0x222)],'Flow\x20Rate\x20(Volume)':[_0x2977de(0x120),'m³/min','m³/h','L/s',_0x2977de(0x119),'L/h',_0x2977de(0x1d4),_0x2977de(0x220),_0x2977de(0x1bd),_0x2977de(0x28d),_0x2977de(0x219),_0x2977de(0x10a),_0x2977de(0xda),'CFH',_0x2977de(0x125),_0x2977de(0x233),_0x2977de(0xfe),_0x2977de(0x230),'gph(US)',_0x2977de(0x12a),_0x2977de(0x1e7)],'Flow\x20Rate\x20(Mass)':['kg/s','kg/min',_0x2977de(0x217),_0x2977de(0x23e),_0x2977de(0x1fb),'g/h',_0x2977de(0x1db),_0x2977de(0x1a9),_0x2977de(0x11c),'lbm/s',_0x2977de(0x117),_0x2977de(0x156),'oz/s','oz/min','oz/h','tonne/h',_0x2977de(0x169),_0x2977de(0x11d)],'Speed\x20/\x20Velocity\x20(Linear)':[_0x2977de(0x14b),_0x2977de(0x14c),_0x2977de(0x20e),_0x2977de(0x142),_0x2977de(0x167),_0x2977de(0x116),_0x2977de(0x15e),_0x2977de(0xef),'km/h','in/s','fps',_0x2977de(0x218),_0x2977de(0xed),_0x2977de(0xd4),_0x2977de(0xeb),_0x2977de(0x26c)],'Fuel\x20Heat\x20Value\x20(Volume)':['J/m³',_0x2977de(0x257),_0x2977de(0x1fc),_0x2977de(0x1c0),_0x2977de(0x205),_0x2977de(0x100),_0x2977de(0x216),'kcal(IT)/m³',_0x2977de(0x162),_0x2977de(0x210),_0x2977de(0xcc),_0x2977de(0x229),_0x2977de(0x19e),_0x2977de(0xf7),_0x2977de(0x105),'Btu/ft³',_0x2977de(0x223)],'Fuel\x20Heat\x20Value\x20(Mass)':[_0x2977de(0x235),_0x2977de(0x1b6),_0x2977de(0x1a4),_0x2977de(0xdd),_0x2977de(0x10d),_0x2977de(0x25a),_0x2977de(0x12c),_0x2977de(0x24a),_0x2977de(0x1b8),'Wh/g','Wh/kg','kWh/kg',_0x2977de(0x24f),_0x2977de(0x19c),_0x2977de(0x18d),_0x2977de(0xf6)],'Mass\x20Heat\x20Capacity':[_0x2977de(0x165),_0x2977de(0x112),_0x2977de(0x1c7),'J/(g·°C)',_0x2977de(0x241)],'Viscosity\x20-\x20Absolute/Dynamic(μ)':['PI[Pa·s]','N·s/m²','kg/m/s',_0x2977de(0xe8),'cP','lb·s/ft²','lbm/ft/s'],'Viscosity\x20-\x20Kinematic':[_0x2977de(0x1a5),_0x2977de(0x1a2),_0x2977de(0x124),_0x2977de(0x137),'Stoke','cm²/min','cm²/hr',_0x2977de(0x21d),_0x2977de(0x140),_0x2977de(0x1f9),_0x2977de(0x177),_0x2977de(0xd1),_0x2977de(0x1bc),_0x2977de(0x215),_0x2977de(0x1c4),_0x2977de(0x123)],'Linear\x20Thermal\x20Expansion\x20Coefficient':[_0x2977de(0x168),'1/°C',_0x2977de(0x109),_0x2977de(0x23b)],'Thermal\x20Conductivity':['W/(m⋅°K)','W/(cm⋅°K)',_0x2977de(0xfc),'BTU/(h⋅in⋅°F)'],'Electrical\x20Charge':[_0x2977de(0x163),'Ah',_0x2977de(0x265),_0x2977de(0x289),_0x2977de(0x146),'faraday'],'Electrical\x20Potential\x20Difference\x20(Voltage)':['V',_0x2977de(0x151),'joule/coulomb',_0x2977de(0x1a8),'µV','mV','kV','MV'],'Electrical\x20Resistance(Impedance)':[_0x2977de(0xe0),'µΩ','mΩ','kΩ','MΩ'],'Electrical\x20Capacitance':[_0x2977de(0x1bb),'pF','nF','µF','mF'],'Electrical\x20Inductance':[_0x2977de(0x1ef),'µH','mH'],'Electrical\x20Conductance':[_0x2977de(0x260),'℧','µS','mS','kS'],'Magnetic\x20Flux':['Wb[weber]','nWb','µWb',_0x2977de(0x269),'cWb','dWb'],'Luminous\x20Flux':[_0x2977de(0x134),'cd⋅sr'],'Magnetic\x20Flux\x20Density':['T[tesla]',_0x2977de(0x1f2),'µT','G','mT'],'Katalytic\x20Activity':['kat[katal]','mol/s','µkat',_0x2977de(0x132),_0x2977de(0x1d1),_0x2977de(0x145)],'Radioactivity':[_0x2977de(0x283),_0x2977de(0x1ed),'µBq',_0x2977de(0x18a),_0x2977de(0x1a6),'MBq','Rd[rutherford]','Ci[curie]'],'Absorbed\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x2977de(0xd8),_0x2977de(0x235),'µGy',_0x2977de(0x189),_0x2977de(0x28c),_0x2977de(0x1b5)],'Equivalent\x20Dose\x20of\x20Ionizing\x20Radiation':[_0x2977de(0x1b2),'J/kg',_0x2977de(0x147),_0x2977de(0x1bf),'kSv',_0x2977de(0x221)],'Volumetric\x20Displacement':[_0x2977de(0x214),_0x2977de(0x278),_0x2977de(0x261),_0x2977de(0x15d),_0x2977de(0x1cc),'in³/rev',_0x2977de(0x1e6)],'Fuel\x20Economy':[_0x2977de(0x139),_0x2977de(0x259),_0x2977de(0x21c),_0x2977de(0x1f8),_0x2977de(0x239),_0x2977de(0x212)],'Fuel\x20Consumption':[_0x2977de(0x1de),_0x2977de(0xe1),'L/100km','L/mile',_0x2977de(0x13c),'gal(US-liquid)/mile',_0x2977de(0x128),_0x2977de(0x1e5),_0x2977de(0x11f)],'New\x20Energy\x20Economy\x20(MPGe)':[_0x2977de(0x19b),_0x2977de(0x153),_0x2977de(0x24d),_0x2977de(0x21b),'mile/MJ',_0x2977de(0x1e4),_0x2977de(0x238)],'New\x20Energy\x20Consumption':[_0x2977de(0x148),_0x2977de(0x19d),_0x2977de(0x121),'kWh/km',_0x2977de(0x198),_0x2977de(0x175),_0x2977de(0x192),_0x2977de(0x1be),'MJ/100km',_0x2977de(0x26a),_0x2977de(0x113),'MM\x20Btu/km','MM\x20Btu/100km',_0x2977de(0x1e8),'MM\x20Btu/100mile'],'Baud\x20Rate':[_0x2977de(0xdb),'Bd',_0x2977de(0xde),'MBd','GBd'],'Currency':['$','¢',_0x2977de(0x11b),_0x2977de(0x256),_0x2977de(0x1dd),_0x2977de(0xd0)],'Impulse\x20/\x20Momentum':['N·s','Newton-second',_0x2977de(0x250),_0x2977de(0x252),_0x2977de(0x1f5),'lbm·fpm'],'Digital\x20Storage':[_0x2977de(0x28f),'kilobit',_0x2977de(0x133),_0x2977de(0x1c6),_0x2977de(0x150),_0x2977de(0x13f),_0x2977de(0x179),_0x2977de(0x1fa),_0x2977de(0x27d),'petabit',_0x2977de(0x15f),_0x2977de(0x1df),'kilobyte',_0x2977de(0x277),_0x2977de(0x106),'mebibyte',_0x2977de(0xf2),_0x2977de(0xe9),_0x2977de(0xf3),'tebibyte',_0x2977de(0x246),_0x2977de(0x27b)],'Data\x20Transfer\x20Rate':['bit/s',_0x2977de(0xee),_0x2977de(0x1a7),_0x2977de(0x108),'mebibit/s',_0x2977de(0x17f),_0x2977de(0x136),_0x2977de(0x1f4),_0x2977de(0x17b),_0x2977de(0x1aa),_0x2977de(0x287)]},_0x56019d={'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':_0x573b33,'thou[mil,\x20or\x20thousandth\x20of\x20an\x20inch]':_0x573b33/0x3e8,'ft-in':_0x573b33,'ft':_0x311ad4,'yd':0x3*_0x311ad4,'mile':_0x1b9db8*_0x311ad4,'NM[M,\x20nmi,\x20or\x20nautical\x20mile]':_0x20aa42},'Mass':{'kg':0x1,'g':0.001,'mg':0x1/0xf4240,'µg':0x1/0x3b9aca00,'oz':0x1/0x10*_0x2d25ed,'lbm':_0x2d25ed,'slug':_0x36fcfe,'ton(US/short)':0x7d0*_0x2d25ed,'ton(UK-Imperial/long)':0x8c0*_0x2d25ed,'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²':_0x311ad4,'ft/min²':_0x311ad4/0xe10,'in/s²':_0x573b33},'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[_0x2977de(0x204)](_0x311ad4,0x2),'fc':0x1/Math[_0x2977de(0x204)](_0x311ad4,0x2),'lumen/ft²':0x1/Math['pow'](_0x311ad4,0x2),'lm/ft²':0x1/Math['pow'](_0x311ad4,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[_0x2977de(0x204)](0x1/0xf4240,0x2),'mm²':Math[_0x2977de(0x204)](0x1/0x3e8,0x2),'cm²':Math['pow'](0x1/0x64,0x2),'km²':0xf4240,'hectare':Math[_0x2977de(0x204)](0x64,0x2),'in²':Math[_0x2977de(0x204)](_0x573b33,0x2),'ft²':Math[_0x2977de(0x204)](_0x311ad4,0x2),'yd²':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x2),'acre':_0x6884d2*Math[_0x2977de(0x204)](_0x311ad4,0x2),'mile²':Math[_0x2977de(0x204)](_0x1b9db8*_0x311ad4,0x2)},'Volume\x20/\x20Section\x20Modulus':{'m³':0x1,'µm³':Math['pow'](0x1/0xf4240,0x3),'mm³':Math[_0x2977de(0x204)](0x1/0x3e8,0x3),'cm³':Math[_0x2977de(0x204)](0x1/0x64,0x3),'L':0x1/0x3e8,'mL':0x1/0xf4240,'km³':Math['pow'](0x3e8,0x3),'in³':Math[_0x2977de(0x204)](_0x573b33,0x3),'ft³':Math[_0x2977de(0x204)](_0x311ad4,0x3),'yd³':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3),'gal(UK-imperial)':_0x27c08f*0x1/0x3e8,'gal(US-liquid)':_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'gal(US-dry)':_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'pint(UK-imperial)':_0x1dcf9f*_0x27c08f*0x1/0x3e8,'pint(US-liquid)':_0x1dcf9f*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'pint(US-dry)':_0x1dcf9f*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'fluid\x20ounce(UK-imperial)':_0x52fe83*_0x1dcf9f*_0x27c08f/0x3e8,'fluid\x20ounce(US-liquid)':_0xe32905*_0x1dcf9f*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'bushel(UK-imperial)':_0x2d509*_0x27c08f/0x3e8,'bushel(US-dry)':_0x3d0d81*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,0x3),'cup(US-liquid)':_0x5cac35*_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3),'cup(Legal)':_0xaef8f9*Math[_0x2977de(0x204)](0.01,0x3),'cup(Metric)':_0x5ba836*Math[_0x2977de(0x204)](0.01,0x3),'cup(Imperial)':_0x551d31*_0x52fe83*_0x1dcf9f*_0x27c08f/0x3e8},'Polar\x20Moment\x20of\x20Inertia':{'m⁴':0x1,'mm⁴':1e-12,'cm⁴':1e-8,'in⁴':Math['pow'](_0x573b33,0x4),'ft⁴':Math[_0x2977de(0x204)](_0x311ad4,0x4)},'Moment\x20of\x20Inertia':{'kg⋅m²':0x1,'g⋅cm²':0x1/(0x3e8*0x2710),'g⋅mm²':0x1/(0x3e8*0xf4240),'lbm⋅ft²':_0x2d25ed*Math[_0x2977de(0x204)](_0x311ad4,0x2),'lbm⋅in²':_0x2d25ed*Math['pow'](_0x573b33,0x2),'oz⋅in²':_0x2d25ed/0x10*Math[_0x2977de(0x204)](_0x573b33,0x2)},'Force':{'N':0x1,'kN':0x3e8,'MN':0xf4240,'kgf':_0x3e0b36,'lb':_0x2d25ed*_0x3e0b36,'lbf':_0x2d25ed*_0x3e0b36,'kip[kilo\x20pound]':0x3e8*_0x2d25ed*_0x3e0b36},'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[_0x2977de(0x204)](0.01,0x2),'g/mm²':0x1/0x3e8/Math[_0x2977de(0x204)](0.001,0x2),'tonne/m²':0x3e8,'lbm/yd²':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4*0x3,0x2),'lbm/ft²':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4,0x2),'lbm/in²':_0x2d25ed/Math[_0x2977de(0x204)](_0x573b33,0x2),'oz/yd²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](0x3*_0x311ad4,0x2),'oz/ft²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](_0x311ad4,0x2),'oz/in²':_0x2d25ed/0x10/Math[_0x2977de(0x204)](_0x573b33,0x2)},'Density':{'kg/m³':0x1,'kg/L':0x3e8,'g/cm³':0x1/0x3e8/Math[_0x2977de(0x204)](0.01,0x3),'g/mm³':0x1/0x3e8/Math['pow'](0.001,0x3),'lbm/ft³':_0x2d25ed/Math[_0x2977de(0x204)](_0x311ad4,0x3),'lbm/in³':_0x2d25ed/Math[_0x2977de(0x204)](_0x573b33,0x3)},'Energy':{'J[Joule]':0x1,'kJ':0x3e8,'MJ':0xf4240,'GJ':0x3b9aca00,'TNT\x20Equivalent[kiloton]':0x3b9aca00*_0x31e9bd,'Btu':_0x43b884,'MM\x20Btu':_0x43b884*0xf4240,'calorie(IT)':_0x376c86,'kilo-calorie(IT)':_0x376c86*0x3e8,'calorie(TH)':_0x31e9bd,'kilo-calorie(TH)':_0x31e9bd*0x3e8,'HP\x20Hour':_0x463e91*0xe10,'Wh':0xe10,'kWh':0xe10*0x3e8,'eV{electron-volt]':0x1/_0xa23b54},'Power':{'W[watt]':0x1,'kW':0x3e8,'MW':0xf4240,'GW[Gigawatt]':0x3b9aca00,'Btu/h':_0x43b884/0xe10,'Btu/minute':_0x43b884/0x3c,'MM\x20Btu/h':_0x43b884*0xf4240/0xe10,'calorie(IT)/second':_0x376c86,'calorie(IT)/minute':_0x376c86/0x3c,'kilo-calorie(IT)/hour':_0x376c86*0x3e8/0xe10,'calorie(TH)/second':_0x31e9bd,'calorie(TH)/minute':_0x31e9bd/0x3c,'kilo-calorie(TH)/hour':_0x31e9bd*0x3e8/0xe10,'lb-ft/second':_0x2d25ed*_0x3e0b36*_0x311ad4,'lb-ft/minute':_0x2d25ed*_0x3e0b36*_0x311ad4/0x3c,'HP':_0x463e91,'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':_0x2d25ed*_0x3e0b36*_0x573b33,'kip-in':0x3e8*_0x2d25ed*_0x3e0b36*_0x573b33,'lb-ft':_0x2d25ed*_0x3e0b36*_0x311ad4,'oz-in':_0x2d25ed/0x10*_0x3e0b36*_0x573b33,'oz-ft':_0x2d25ed/0x10*_0x3e0b36*_0x311ad4},'Pressure/Stress':{'Pa':0x1,'kPa':0x3e8,'MPa':0xf4240,'GPa':0x3b9aca00,'bar':0x64*0x3e8,'mbar':0x64,'atm':_0x27e754,'mm\x20HG':_0x51c47f,'cm\x20HG':_0x51c47f*0xa,'in\x20HG':_0x51c47f*25.4,'mm\x20W.C.':0x1/0x3e8*0x3e8*_0x3e0b36,'m\x20W.C.':0x1*0x3e8*_0x3e0b36,'in\x20W.C.':_0x573b33*0x3e8*_0x3e0b36,'psf':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2),'psi':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,0x2),'ksi':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,0x2)*0x3e8,'ksi{kip/in²]':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x573b33,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':_0x27e754,'mm\x20HG/m':_0x51c47f,'in\x20HG/ft':_0x51c47f*25.4/_0x311ad4,'mm\x20W.C./m':0x1/0x3e8*0x3e8*_0x3e0b36,'m\x20W.C./m':0x3e8*_0x3e0b36,'in\x20W.C./ft':_0x573b33*0x3e8*_0x3e0b36/_0x311ad4,'in\x20W.C./100\x20ft':_0x573b33*0x3e8*_0x3e0b36/_0x311ad4/0x64,'psf/in':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2)/_0x573b33,'psi/ft':_0x2d25ed*_0x3e0b36/Math['pow'](_0x311ad4,0x2)/_0x311ad4,'ksi/ft':_0x2d25ed*_0x3e0b36/Math[_0x2977de(0x204)](_0x311ad4,0x2)/_0x311ad4*0x3e8,'Torr/ft':_0x365d75*_0x27e754/_0x311ad4,'mTorr/m':_0x365d75*_0x27e754/0x3e8},'Uniformly\x20Distributed\x20(Uniform\x20Line)\x20Load\x20|\x20Stiffness\x20of\x20Linear\x20Spring':{'N/m':0x1,'N/mm':0x3e8,'kN/m':0x3e8,'lb/ft':_0x2d25ed*_0x3e0b36/_0x311ad4,'kips/ft':0x3e8*_0x2d25ed*_0x3e0b36/_0x311ad4,'lb/in':_0x2d25ed*_0x3e0b36/_0x573b33},'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':_0x2d25ed*_0x3e0b36*_0x311ad4,'lb-ft/deg°':_0x2d25ed*_0x3e0b36*_0x311ad4/(Math['PI']/0xb4),'lb-in/rad':_0x2d25ed*_0x3e0b36*_0x573b33,'lb-in/deg°':_0x2d25ed*_0x3e0b36*_0x573b33/(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[_0x2977de(0x204)](_0x573b33,0x3),'in³/min':Math[_0x2977de(0x204)](_0x573b33,0x3)/0x3c,'ft³/s':Math[_0x2977de(0x204)](_0x311ad4,0x3),'CFM':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0x3c,'CFM[ft³/min]':Math['pow'](_0x311ad4,0x3)/0x3c,'CFH':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0xe10,'CFH[ft³/h]':Math[_0x2977de(0x204)](_0x311ad4,0x3)/0xe10,'yd³/min':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3)/0x3c,'yd³/h':Math[_0x2977de(0x204)](_0x311ad4*0x3,0x3)/0xe10,'gpm(US)':_0x913e3f*Math[_0x2977de(0x204)](_0x573b33,0x3)/0x3c,'gph(US)':_0x913e3f*Math['pow'](_0x573b33,0x3)/0xe10,'bushel(UK-imperial)/h':_0x2d509*_0x27c08f/0x3e8/0xe10,'bushel(US)/h':_0x3d0d81*_0x55ef1d*Math[_0x2977de(0x204)](_0x573b33,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':_0x36fcfe,'slug/min':_0x36fcfe/0x3c,'slug/h':_0x36fcfe/0xe10,'lbm/s':_0x2d25ed,'lbm/min':_0x2d25ed/0x3c,'lbm/h':_0x2d25ed/0xe10,'oz/s':_0x2d25ed/0x10,'oz/min':_0x2d25ed/0x10/0x3c,'oz/h':_0x2d25ed/0x10/0xe10,'tonne/h':0x3e8/0xe10,'short\x20ton/h':0x7d0*_0x2d25ed/0xe10,'long\x20ton/h':0x8c0*_0x2d25ed/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':_0x573b33,'fps':_0x311ad4,'fps[ft/second]':_0x311ad4,'fpm':_0x311ad4/0x3c,'fpm[ft/minute]':_0x311ad4/0x3c,'mph[mile/h]':_0x1b9db8*_0x311ad4/0xe10,'knot[kn,\x20kt,\x20or\x20nautical\x20mile/h]':_0x20aa42/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}};class _0x202fd9 extends HTMLElement{constructor(){const _0x11be63=_0x2977de;super(),this[_0x11be63(0x17c)]({'mode':'open'}),this['tooltipTimeout']=null,this[_0x11be63(0x110)]='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';}[_0x2977de(0x18b)](){const _0x5d5faf=_0x2977de;this['units']=_0x40aa08,this[_0x5d5faf(0x226)]=_0x56019d,this['unit']=this[_0x5d5faf(0x1e1)]('unit')||'mm',this['unitCategory']=this[_0x5d5faf(0x1ee)](this[_0x5d5faf(0x1e3)]),this['inputValue']=this[_0x5d5faf(0x1e1)]('value'),this[_0x5d5faf(0x1b9)]=this[_0x5d5faf(0x1b3)](this['inputValue'],this[_0x5d5faf(0x1e3)]),this[_0x5d5faf(0xf4)]=parseInt(this[_0x5d5faf(0x1e1)](_0x5d5faf(0x1b4)))||0x2,this[_0x5d5faf(0x185)]=!this[_0x5d5faf(0x286)](_0x5d5faf(0xd5))||this[_0x5d5faf(0x1e1)](_0x5d5faf(0xd5))==='true',this[_0x5d5faf(0x161)](),this['attachEventListeners']();}[_0x2977de(0x28e)](){const _0x469e61=_0x2977de;this[_0x469e61(0xdc)]();}static get[_0x2977de(0x172)](){const _0x5a48d1=_0x2977de;return[_0x5a48d1(0x1b9),_0x5a48d1(0x1e3),_0x5a48d1(0x1b4),_0x5a48d1(0xd5)];}[_0x2977de(0x1d7)](_0x3d9d2d,_0x275a94,_0x21dd47){const _0x35b57e=_0x2977de;if(_0x3d9d2d===_0x35b57e(0x1b9))this[_0x35b57e(0x18f)]=_0x21dd47,this[_0x35b57e(0x1b9)]=this[_0x35b57e(0x1b3)](_0x21dd47,this[_0x35b57e(0x1e3)]);else{if(_0x3d9d2d===_0x35b57e(0x1e3)){const _0x421105=this[_0x35b57e(0x1e3)];this[_0x35b57e(0x1e3)]=_0x21dd47,this[_0x35b57e(0x1d3)]=this[_0x35b57e(0x1ee)](_0x21dd47),_0x421105!==_0x21dd47&&(this[_0x35b57e(0x1b9)]=this['convertValue'](this[_0x35b57e(0x1b9)],_0x421105,_0x21dd47));}else _0x3d9d2d===_0x35b57e(0x1b4)?this[_0x35b57e(0xf4)]=parseInt(_0x21dd47)||0x2:_0x3d9d2d===_0x35b57e(0xd5)&&(this[_0x35b57e(0x185)]=_0x21dd47===null||_0x21dd47===_0x35b57e(0x1ff));}this['render']();}[_0x2977de(0x1b3)](_0x458100,_0x25bf1d){const _0x1a43cc=_0x2977de;return _0x25bf1d===_0x1a43cc(0x1ec)?this[_0x1a43cc(0x14d)](_0x458100):parseFloat(_0x458100);}[_0x2977de(0x14d)](_0xf3b0c7){const _0x44f86a=_0x2977de,_0x43be11=/(\d+)\'(\s*-\s*)?(\d+)?(\s+)?(\d+)?\/?(\d+)?/,_0x4bbb79=/(\d+)\'/,_0x4bb909=/(\d+)/;let _0x42dfde=_0xf3b0c7[_0x44f86a(0x274)](_0x43be11);if(_0x42dfde){const _0x10b118=parseInt(_0x42dfde[0x1])||0x0,_0x4d6136=parseInt(_0x42dfde[0x3])||0x0,_0x2f78c0=parseInt(_0x42dfde[0x5])||0x0,_0xb20067=parseInt(_0x42dfde[0x6])||0x1;return this['calculateTotalInches'](_0x10b118,_0x4d6136,_0x2f78c0,_0xb20067);}if(_0x42dfde=_0xf3b0c7[_0x44f86a(0x274)](_0x4bbb79),_0x42dfde){const _0x65c9b7=parseInt(_0x42dfde[0x1])||0x0;return this['calculateTotalInches'](_0x65c9b7,0x0,0x0,0x1);}if(_0x42dfde=_0xf3b0c7['match'](_0x4bb909),_0x42dfde){const _0x1b554f=parseInt(_0x42dfde[0x1])||0x0;return this['calculateTotalInches'](0x0,_0x1b554f,0x0,0x1);}return parseFloat(_0xf3b0c7);}[_0x2977de(0x186)](_0x276a93,_0x438a3b,_0x31cb3c,_0x24cbd6){return _0x276a93*0xc+_0x438a3b+_0x31cb3c/_0x24cbd6;}[_0x2977de(0x1a3)](_0x4b1039,_0xfe5764=_0x2977de(0xce)){const _0x1c4749=_0x2977de;if(_0x4b1039<0x0)return'-'+this['formatFeetInchesValue'](-_0x4b1039,_0xfe5764);const _0xd4bd4f=parseInt(_0xfe5764[_0x1c4749(0x15a)]('/')[0x1][_0x1c4749(0xd9)]('\x22',''));let _0x4fe7b7=Math[_0x1c4749(0xe4)](_0x4b1039/0xc),_0x2d2aaa=Math[_0x1c4749(0xe4)](_0x4b1039%0xc);const _0x1fd01c=_0x4b1039-Math[_0x1c4749(0xe4)](_0x4b1039);let _0x9f7472='';if(_0x1fd01c>0x0&&_0xfe5764!==0x0){let _0x25cf21=Math[_0x1c4749(0x26d)](_0x1fd01c*_0xd4bd4f);const _0x5bfe45=(_0x2b1289,_0x5b5620)=>_0x5b5620?_0x5bfe45(_0x5b5620,_0x2b1289%_0x5b5620):_0x2b1289,_0x1da582=_0x5bfe45(_0x25cf21,_0xd4bd4f);_0x9f7472='\x20'+_0x25cf21/_0x1da582+'/'+_0xd4bd4f/_0x1da582,_0x9f7472['trim']()===_0x1c4749(0x242)&&(_0x2d2aaa++,_0x2d2aaa>=0xc&&(_0x4fe7b7++,_0x2d2aaa-=0xc),_0x9f7472='');}let _0x289ebd='';return _0x4fe7b7>0x0&&(_0x289ebd+=_0x4fe7b7+'\x27'),_0x4fe7b7>0x0&&(_0x2d2aaa>0x0||_0x9f7472!=='')&&(_0x289ebd+='-'),_0x2d2aaa>0x0&&(_0x289ebd+=''+_0x2d2aaa),_0x9f7472!==''&&(_0x289ebd+=_0x9f7472),(_0x2d2aaa>0x0||_0x9f7472!=='')&&(_0x289ebd+='\x22'),_0x289ebd[_0x1c4749(0x27c)]();}[_0x2977de(0x1ee)](_0x144f90){const _0x19f239=_0x2977de;for(const _0x41b572 in this[_0x19f239(0xc8)])if(this[_0x19f239(0xc8)][_0x41b572][_0x19f239(0x27a)](_0x144f90))return _0x41b572;return this['units'][_0x19f239(0x118)]=this[_0x19f239(0xc8)][_0x19f239(0x118)]||[],this[_0x19f239(0xc8)][_0x19f239(0x118)]['push'](_0x144f90),this[_0x19f239(0x226)][_0x19f239(0x118)]=this[_0x19f239(0x226)][_0x19f239(0x118)]||{},this[_0x19f239(0x226)]['Custom'][_0x144f90]=0x1,_0x19f239(0x118);}['handleUnitChange'](_0x33d62f){const _0x180eae=_0x2977de;if(_0x33d62f[_0x180eae(0x1dc)][_0x180eae(0x24c)]===_0x180eae(0x25c)){const _0x524a41=_0x33d62f[_0x180eae(0x1dc)][_0x180eae(0x1b9)];this['value']=this[_0x180eae(0x1ac)](this[_0x180eae(0x1b9)],this[_0x180eae(0x1e3)],_0x524a41),this[_0x180eae(0x1e3)]=_0x524a41,this['render']();}this['updateDropdownWidth']();}[_0x2977de(0x1ac)](_0x4e5c52,_0x1d462a,_0x4b92c7){const _0x24d2fe=_0x2977de;if(this[_0x24d2fe(0x1d3)]!==_0x24d2fe(0x1f6)){const _0x2c2953=this[_0x24d2fe(0x226)][this['unitCategory']][_0x1d462a]/this[_0x24d2fe(0x226)][this[_0x24d2fe(0x1d3)]][_0x4b92c7];return _0x4e5c52*_0x2c2953;}else{const _0x382e1c=this[_0x24d2fe(0x226)][this['unitCategory']][_0x1d462a]['c0'],_0x3fb405=this['unitConversion'][this['unitCategory']][_0x1d462a]['c1'],_0x618594=this['unitConversion'][this[_0x24d2fe(0x1d3)]][_0x4b92c7]['c0'],_0x41345c=this['unitConversion'][this[_0x24d2fe(0x1d3)]][_0x4b92c7]['c1'];return(_0x4e5c52*_0x382e1c+_0x3fb405-_0x41345c)/_0x618594;}}[_0x2977de(0x273)](_0x23d768){const _0x1fbc84=_0x2977de;let _0x4a9d52;if(Number[_0x1fbc84(0x200)](_0x23d768)?_0x4a9d52=_0x23d768[_0x1fbc84(0x22c)]():_0x4a9d52=_0x23d768['toFixed'](this[_0x1fbc84(0xf4)])[_0x1fbc84(0xd9)](/\.?0+$/,''),Math[_0x1fbc84(0xcb)](parseFloat(_0x4a9d52))>=0x3e8){const _0x48b8b2=_0x4a9d52[_0x1fbc84(0x15a)]('.');_0x48b8b2[0x0]=_0x48b8b2[0x0][_0x1fbc84(0xd9)](/\B(?=(\d{3})+(?!\d))/g,','),_0x4a9d52=_0x48b8b2['join']('.');}return _0x4a9d52;}[_0x2977de(0x161)](){const _0x30f8f4=_0x2977de;this[_0x30f8f4(0x199)]['innerHTML']=_0x30f8f4(0x1c9)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x126):'none')+_0x30f8f4(0x10f)+(this[_0x30f8f4(0x185)]?'auto':_0x30f8f4(0x279))+_0x30f8f4(0x173)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x126):'none')+_0x30f8f4(0x158)+(this[_0x30f8f4(0x185)]?_0x30f8f4(0x1f0):'none')+_0x30f8f4(0x243)+(this[_0x30f8f4(0x1e3)]===_0x30f8f4(0x1ec)?this[_0x30f8f4(0x1a3)](this[_0x30f8f4(0x1b9)]):this[_0x30f8f4(0x273)](this[_0x30f8f4(0x1b9)]))+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20</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'+(this['units'][this[_0x30f8f4(0x1d3)]]||[this['unit']])[_0x30f8f4(0x23a)](_0x159763=>_0x30f8f4(0x16c)+_0x159763+'\x22\x20'+(_0x159763===this[_0x30f8f4(0x1e3)]?_0x30f8f4(0xc9):'')+'>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x159763+_0x30f8f4(0x1ce))['join']('')+_0x30f8f4(0x188)+(this['showUnitArrow']&&this[_0x30f8f4(0x1d3)]!==_0x30f8f4(0x118)?_0x30f8f4(0x272)+this[_0x30f8f4(0x110)]+_0x30f8f4(0x190):'')+_0x30f8f4(0xdf),this[_0x30f8f4(0x1e2)]();}[_0x2977de(0x1e2)](){const _0x1c7b56=_0x2977de,_0x550591=this[_0x1c7b56(0x199)][_0x1c7b56(0x1ab)](_0x1c7b56(0x164));if(!_0x550591)return;const _0x1d4a34=document[_0x1c7b56(0x271)]('span');_0x1d4a34[_0x1c7b56(0x25d)]['visibility']=_0x1c7b56(0x268),_0x1d4a34[_0x1c7b56(0x25d)]['position']='absolute',_0x1d4a34[_0x1c7b56(0x25d)][_0x1c7b56(0x22e)]=_0x1c7b56(0x26b),_0x1d4a34[_0x1c7b56(0x25d)][_0x1c7b56(0x1cb)]=window[_0x1c7b56(0x10b)](_0x550591)[_0x1c7b56(0x1cb)],document[_0x1c7b56(0x14f)][_0x1c7b56(0x20b)](_0x1d4a34),_0x1d4a34[_0x1c7b56(0x24e)]=this['unit'];const _0x44e0d5=_0x1d4a34[_0x1c7b56(0x138)];document[_0x1c7b56(0x14f)][_0x1c7b56(0x193)](_0x1d4a34);const _0x4b7287=this[_0x1c7b56(0x185)]?0x10:0x6,_0x343f42=this[_0x1c7b56(0x185)]?0x8:0x0;let _0x2361fb=_0x44e0d5+_0x4b7287+_0x343f42+0x2;_0x2361fb=Math[_0x1c7b56(0x16f)](_0x2361fb,0x1e),_0x550591[_0x1c7b56(0x25d)]['width']=_0x2361fb+'px';}[_0x2977de(0x195)](){const _0x24739a=_0x2977de;this[_0x24739a(0x199)][_0x24739a(0x16b)](_0x24739a(0xf9),this[_0x24739a(0x194)][_0x24739a(0x1b0)](this));const _0x3981c9=this['shadowRoot'][_0x24739a(0x1ab)](_0x24739a(0x1f1));_0x3981c9&&(_0x3981c9[_0x24739a(0x16b)](_0x24739a(0x208),this['handleUnitContainerMouseOver'][_0x24739a(0x1b0)](this)),_0x3981c9[_0x24739a(0x16b)](_0x24739a(0x227),this[_0x24739a(0x282)][_0x24739a(0x1b0)](this)));}['removeEventListeners'](){const _0x4b5993=_0x2977de;this[_0x4b5993(0x199)]['removeEventListener'](_0x4b5993(0xf9),this[_0x4b5993(0x194)]['bind'](this));const _0x3bf376=this[_0x4b5993(0x199)][_0x4b5993(0x1ab)](_0x4b5993(0x1f1));_0x3bf376&&(_0x3bf376['removeEventListener'](_0x4b5993(0x208),this[_0x4b5993(0x1ae)][_0x4b5993(0x1b0)](this)),_0x3bf376[_0x4b5993(0x10e)]('mouseout',this[_0x4b5993(0x282)][_0x4b5993(0x1b0)](this)));}[_0x2977de(0x1ae)](){const _0x15722c=_0x2977de,_0x22f591=this[_0x15722c(0x199)]['querySelector'](_0x15722c(0x187));_0x22f591&&(this[_0x15722c(0x127)]=setTimeout(()=>{const _0x5767d8=_0x15722c;_0x22f591[_0x5767d8(0x25d)][_0x5767d8(0xd3)]=_0x5767d8(0x1f0);},0x3e8));}['handleUnitContainerMouseOut'](){const _0x2b6814=_0x2977de,_0x3f00d7=this['shadowRoot'][_0x2b6814(0x1ab)](_0x2b6814(0x187));_0x3f00d7&&(setTimeout(()=>{const _0x571f1b=_0x2b6814;_0x3f00d7['style'][_0x571f1b(0xd3)]='none';},0x7d0),clearTimeout(this[_0x2b6814(0x127)]));}}typeof window<'u'&&(customElements[_0x2977de(0x1c5)](_0x2977de(0x1d9))||customElements[_0x2977de(0x1a1)]('physical-quantity',_0x202fd9),customElements[_0x2977de(0x1c5)](_0x2977de(0xc7))||customElements[_0x2977de(0x1a1)]('uc-qty',class extends _0x202fd9{})),_0x5942a2[_0x2977de(0x1b1)]=_0x202fd9,_0x5942a2[_0x2977de(0x288)]=_0x202fd9,Object[_0x2977de(0x101)](_0x5942a2,{'__esModule':{'value':!0x0},[Symbol[_0x2977de(0x25e)]]:{'value':_0x2977de(0x107)}});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "physical-quantity",
3
- "version": "1.1.75",
3
+ "version": "1.1.80",
4
4
  "description": "A web component to represent a physical quantity with unit conversion.",
5
5
  "main": "dist/pq.umd.js",
6
6
  "module": "dist/pq.es.js",
@@ -21,25 +21,6 @@
21
21
  "test": "jest",
22
22
  "tw": "jest --watch",
23
23
  "test:watch": "jest --watch"
24
- },
25
- "dependencies": {
26
- "lit": "^3.2.0"
27
- },
28
- "peerDependencies": {
29
- "lit": "^2.0.0"
30
- },
31
- "devDependencies": {
32
- "@babel/core": "^7.14.0",
33
- "@babel/preset-env": "^7.14.0",
34
- "@testing-library/dom": "^8.0.0",
35
- "@testing-library/jest-dom": "^5.14.0",
36
- "@vitejs/plugin-legacy": "^5.4.1",
37
- "babel-jest": "^27.5.1",
38
- "jest": "^27.5.1",
39
- "jest-environment-jsdom": "^27.5.1",
40
- "rollup-plugin-terser": "^7.0.2",
41
- "typescript": "^5.5.4",
42
- "vite": "^5.2.12"
43
24
  },
44
25
  "keywords": [
45
26
  "web-component",
@@ -47,8 +28,19 @@
47
28
  "unit conversion",
48
29
  "unit converter"
49
30
  ],
50
- "license": "MIT",
51
31
  "author": "E3d - Don Wen <don.wen@yahoo.com>",
32
+ "license": "MIT",
33
+ "devDependencies": {
34
+ "@vitejs/plugin-legacy": "^5.4.1",
35
+ "vite": "^5.2.12",
36
+ "jest": "^27.5.1",
37
+ "@babel/core": "^7.14.0",
38
+ "@babel/preset-env": "^7.14.0",
39
+ "babel-jest": "^27.5.1",
40
+ "@testing-library/dom": "^8.0.0",
41
+ "@testing-library/jest-dom": "^5.14.0",
42
+ "jest-environment-jsdom": "^27.5.1"
43
+ },
52
44
  "maintainers": [
53
45
  "Don Wen <don.wen@yahoo.com>"
54
46
  ]