fasten-onprem/backend/pkg/models/database/fhirpath.min.js

3 lines
588 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see fhirpath.min.js.LICENSE.txt */
!function(){var e={6759:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ucum=void 0,t.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'<span class="emphSpan">',closeEmphHTML_:"</span>",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},9460:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}t.R=void 0;var i=n(6759),a=n(1781),s=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),0===i.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==t)this.assignZero();else if(t instanceof Array){if(t.length!==i.Ucum.dimLen_)throw new Error("Parameter error, incorrect length of vector passed to "+"Dimension constructor, vector = ".concat(JSON.stringify(t)));this.dimVec_=[];for(var n=0;n<i.Ucum.dimLen_;n++)this.dimVec_.push(t[n])}else if(a(t)){if(t<0||t>=i.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[t]=1}}var t,n;return t=e,(n=[{key:"setElementAt",value:function(e,t){if(!a(e)||e<0||e>=i.Ucum.dimLen_)throw new Error("Dimension.setElementAt called with an invalid index "+"position (".concat(e,")"));this.dimVec_||this.assignZero(),null==t&&(t=1),this.dimVec_[e]=t}},{key:"getElementAt",value:function(e){if(!a(e)||e<0||e>=i.Ucum.dimLen_)throw new Error("Dimension.getElementAt called with an invalid index "+"position (".concat(e,")"));var t=null;return this.dimVec_&&(t=this.dimVec_[e]),t}},{key:"getProperty",value:function(e){return this["_"===e.charAt(e.length-1)?e:e+"_"]}},{key:"toString",value:function(){var e=null;return this.dimVec_&&(e="["+this.dimVec_.join(", ")+"]"),e}},{key:"add",value:function(t){if(!t instanceof e)throw new Error("Dimension.add called with an invalid parameter - "+"".concat(r(t)," instead of a Dimension object"));if(this.dimVec_&&t.dimVec_)for(var n=0;n<i.Ucum.dimLen_;n++)this.dimVec_[n]+=t.dimVec_[n];return this}},{key:"sub",value:function(t){if(!t instanceof e)throw new Error("Dimension.sub called with an invalid parameter - "+"".concat(r(t)," instead of a Dimension object"));if(this.dimVec_&&t.dimVec_)for(var n=0;n<i.Ucum.dimLen_;n++)this.dimVec_[n]-=t.dimVec_[n];return this}},{key:"minus",value:function(){if(this.dimVec_)for(var e=0;e<i.Ucum.dimLen_;e++)this.dimVec_[e]=-this.dimVec_[e];return this}},{key:"mul",value:function(e){if(!a(e))throw new Error("Dimension.sub called with an invalid parameter - "+"".concat("undefined"==typeof dim2?"undefined":r(dim2)," instead of a number"));if(this.dimVec_)for(var t=0;t<i.Ucum.dimLen_;t++)this.dimVec_[t]*=e;return this}},{key:"equals",value:function(t){if(!t instanceof e)throw new Error("Dimension.equals called with an invalid parameter - "+"".concat(r(t)," instead of a Dimension object"));var n=!0,l=t.dimVec_;if(this.dimVec_&&l)for(var a=0;n&&a<i.Ucum.dimLen_;a++)n=this.dimVec_[a]===l[a];else n=null===this.dimVec_&&null===l;return n}},{key:"assignDim",value:function(t){if(!t instanceof e)throw new Error("Dimension.assignDim called with an invalid parameter - "+"".concat(r(t)," instead of a Dimension object"));if(null===t.dimVec_)this.dimVec_=null;else{null===this.dimVec_&&(this.dimVec_=[]);for(var n=0;n<i.Ucum.dimLen_;n++)this.dimVec_[n]=t.dimVec_[n]}return this}},{key:"assignZero",value:function(){null!==this.dimVec_&&void 0!==this.dimVec_||(this.dimVec_=[]);for(var e=0;e<i.Ucum.dimLen_;e++)this.dimVec_.push(0);return this}},{key:"isZero",value:function(){var e=null!==this.dimVec_;if(this.dimVec_)for(var t=0;e&&t<i.Ucum.dimLen_;t++)e=0===this.dimVec_[t];return e}},{key:"isNull",value:function(){return null===this.dimVec_}},{key:"clone",value:function(){var t=new e;return t.assignDim(this),t}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.R=s},9224:function(e,t){"use strict";t.DP=function(e){var t=e&&e.config;if(t){if(t.length&&e.data){var l=n(t);return e.data.map(r.bind(null,l))}return e.data}return e};Array.prototype.push;function n(e){return e.map((function(e){return Array.isArray(e)?e:[e]}))}function r(e,t){var n={};return e.forEach((function(e,r){for(var l=n,i=0;i<e.length-1;i++)l=l[e[i]]=l[e[i]]||{};l[e[e.length-1]]=t[r]})),n}},8349:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}Object.defineProperty(t,"__esModule",{value:!0}),t.Prefix=void 0,n(6759);var i=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===t.code_||null===t.code_||void 0===t.name_||null===t.name_||void 0===t.value_||null===t.value_||void 0===t.exp_)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=t.code_,this.ciCode_=t.ciCode_,this.name_=t.name_,this.printSymbol_=t.printSymbol_,"string"==typeof t.value_?this.value_=parseFloat(t.value_):this.value_=t.value_,this.exp_=t.exp_}var t,n;return t=e,(n=[{key:"getValue",value:function(){return this.value_}},{key:"getCode",value:function(){return this.code_}},{key:"getCiCode",value:function(){return this.ciCode_}},{key:"getName",value:function(){return this.name_}},{key:"getPrintSymbol",value:function(){return this.printSymbol_}},{key:"getExp",value:function(){return this.exp_}},{key:"equals",value:function(e){return this.code_===e.code_&&this.ciCode_===e.ciCode_&&this.name_===e.name_&&this.printSymbol_===e.printSymbol_&&this.value_===e.value_&&this.exp_===e.exp_}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.Prefix=i},278:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){for(var r=0;r<t.length;r++){var l=t[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,"string");if("object"!==n(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===n(i)?i:String(i)),l)}var i}Object.defineProperty(t,"__esModule",{value:!0}),t.PrefixTables=t.PrefixTablesFactory=void 0;var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.byCode_={},this.byValue_={}}var t,n;return t=e,(n=[{key:"prefixCount",value:function(){return Object.keys(this.byCode_).length}},{key:"allPrefixesByValue",value:function(){for(var e="",t=Object.keys(this.byValue_),n=t.length,r=0;r<n;r++){var l=this.getPrefixByValue(t[r]);e+=l.code_+","+l.name_+",,"+l.value_+"\r\n"}return e}},{key:"allPrefixesByCode",value:function(){var e=[],t=Object.keys(this.byCode_);t.sort();for(var n=t.length,r=0;r<n;r++)e.push(this.getPrefixByCode(t[r]));return e}},{key:"add",value:function(e){this.byCode_[e.getCode()]=e,this.byValue_[e.getValue()]=e}},{key:"isDefined",value:function(e){return null!==this.byCode_[e]&&void 0!==this.byCode_[e]}},{key:"getPrefixByCode",value:function(e){return this.byCode_[e]}},{key:"getPrefixByValue",value:function(e){return this.byValue_[e]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.PrefixTablesFactory=l;var i=new l,a={getInstance:function(){return i}};t.PrefixTables=a},731:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){for(var r=0;r<t.length;r++){var l=t[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,"string");if("object"!==n(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===n(i)?i:String(i)),l)}var i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.funcs={},this.funcs.cel={cnvTo:function(e){return e-273.15},cnvFrom:function(e){return e+273.15}},this.funcs.degf={cnvTo:function(e){return e-459.67},cnvFrom:function(e){return e+459.67}},this.funcs.degre={cnvTo:function(e){return e-273.15},cnvFrom:function(e){return e+273.15}},this.funcs.ph={cnvTo:function(e){return-Math.log(e)/Math.LN10},cnvFrom:function(e){return Math.pow(10,-e)}},this.funcs.ln={cnvTo:function(e){return Math.log(e)},cnvFrom:function(e){return Math.exp(e)}},this.funcs["2ln"]={cnvTo:function(e){return 2*Math.log(e)},cnvFrom:function(e){return Math.exp(e/2)}},this.funcs.lg={cnvTo:function(e){return Math.log(e)/Math.LN10},cnvFrom:function(e){return Math.pow(10,e)}},this.funcs["10lg"]={cnvTo:function(e){return 10*Math.log(e)/Math.LN10},cnvFrom:function(e){return Math.pow(10,e/10)}},this.funcs["20lg"]={cnvTo:function(e){return 20*Math.log(e)/Math.LN10},cnvFrom:function(e){return Math.pow(10,e/20)}},this.funcs["2lg"]={cnvTo:function(e){return 2*Math.log(e)/Math.LN10},cnvFrom:function(e){return Math.pow(10,e/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(e){return Math.log(e)/Math.LN2},cnvFrom:function(e){return Math.pow(2,e)}},this.funcs["100tan"]={cnvTo:function(e){return 100*Math.tan(e)},cnvFrom:function(e){return Math.atan(e/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(e){return Math.sqrt(e)},cnvFrom:function(e){return e*e}},this.funcs.inv={cnvTo:function(e){return 1/e},cnvFrom:function(e){return 1/e}},this.funcs.hpX={cnvTo:function(e){return-this.funcs.lg(e)},cnvFrom:function(e){return Math.pow(10,-e)}},this.funcs.hpC={cnvTo:function(e){return-this.func.ln(e)/this.funcs.ln(100)},cnvFrom:function(e){return Math.pow(100,-e)}},this.funcs.hpM={cnvTo:function(e){return-this.funcs.ln(e)/this.funcs.ln(1e3)},cnvFrom:function(e){return Math.pow(1e3,-e)}},this.funcs.hpQ={cnvTo:function(e){return-this.funcs.ln(e)/this.funcs.ln(5e4)},cnvFrom:function(e){return Math.pow(5e4,-e)}}}var t,n;return t=e,(n=[{key:"forName",value:function(e){e=e.toLowerCase();var t=this.funcs[e];if(null===t)throw new Error("Requested function ".concat(e," is not defined"));return t}},{key:"isDefined",value:function(e){return e=e.toLowerCase(),null!==this.funcs[e]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());t.default=l},7389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumericString=function(e){var t=""+e;return!isNaN(t)&&!isNaN(parseFloat(t))},t.isIntegerUnit=function(e){return/^\d+$/.test(e)},t.getSynonyms=function(e){var t,n={};if((t=r.getInstance().getUnitBySynonym(e)).units){n.status="succeeded";var l=t.units.length;n.units=[];for(var i=0;i<l;i++){var a=t.units[i];n.units[i]={code:a.csCode_,name:a.name_,guidance:a.guidance_}}}else n.status=t.status,n.msg=t.msg;return n};var r=n(8443).UnitTables},2636:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}Object.defineProperty(t,"__esModule",{value:!0}),t.ucumJsonDefs=t.UcumJsonDefs=void 0;var i=n(8349),a=n(278),s=n(9307),o=n(8443),u=n(9224).DP,c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r;return t=e,(r=[{key:"loadJsonDefs",value:function(){var e=n(7698);if(e.prefixes=u(e.prefixes),e.units=u(e.units),0===o.UnitTables.getInstance().unitsCount()){for(var t=a.PrefixTables.getInstance(),r=e.prefixes,l=r.length,c=0;c<l;c++){var f=new i.Prefix(r[c]);t.add(f)}for(var m=o.UnitTables.getInstance(),h=e.units,p=h.length,d=0;d<p;d++){var y=new s.Unit(h[d]);m.addUnit(y)}}}}])&&l(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.UcumJsonDefs=c;var f=new c;t.ucumJsonDefs=f},5845:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===l(i)?i:String(i)),r)}var i}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}t.n=void 0;var i=n(2636),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(7389));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var o=n(6759).Ucum,u=n(8443).UnitTables,c=n(1273).T,f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),0===u.getInstance().unitsCount()&&i.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=c.getInstance()}var t,n;return t=e,(n=[{key:"useHTMLInMessages",value:function(e){void 0===e&&(e=!0),this.uStrParser_.useHTMLInMessages(e)}},{key:"useBraceMsgForEachString",value:function(e){void 0===e&&(e=!0),this.uStrParser_.useBraceMsgForEachString(e)}},{key:"validateUnitString",value:function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n="validate");var r=this.getSpecifiedUnit(e,n,t),l=r.unit,i={};return i=l?{status:r.origString===e?"valid":"invalid",ucumCode:r.origString,unit:{code:l.csCode_,name:l.name_,guidance:l.guidance_}}:{status:r.origString&&null!==r.origString?"invalid":"error",ucumCode:null},r.suggestions&&(i.suggestions=r.suggestions),i.msg=r.retMsg,i}},{key:"convertUnitTo",value:function(e,t,n,r,l){void 0===r&&(r=!1),void 0===l&&(l=null);var i={status:"failed",toVal:null,msg:[]};if(e&&(e=e.trim()),e&&""!=e||(i.status="error",i.msg.push('No "from" unit expression specified.')),(null===t||isNaN(t)||"number"!=typeof t&&!a.isNumericString(t))&&(i.status="error",i.msg.push('No "from" value, or an invalid "from" value, was specified.')),n&&(n=n.trim()),n&&""!=n||(i.status="error",i.msg.push('No "to" unit expression specified.')),"error"!==i.status)try{var s=null,u=this.getSpecifiedUnit(e,"convert",r);s=u.unit,u.retMsg&&(i.msg=i.msg.concat(u.retMsg)),u.suggestions&&(i.suggestions={},i.suggestions.from=u.suggestions),s||i.msg.push("Unable to find a unit for ".concat(e,", ")+"so no conversion could be performed.");var c=null;if(c=(u=this.getSpecifiedUnit(n,"convert",r)).unit,u.retMsg&&(i.msg=i.msg.concat(u.retMsg)),u.suggestions&&(i.suggestions||(i.suggestions={}),i.suggestions.to=u.suggestions),c||i.msg.push("Unable to find a unit for ".concat(n,", ")+"so no conversion could be performed."),s&&c)try{if(l){if(0!==s.moleExp_&&0!==c.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===s.moleExp_&&0===c.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!s.isMoleMassCommensurable(c))throw new Error("Sorry. ".concat(e," cannot be ")+"converted to ".concat(n,"."));0!==s.moleExp_?i.toVal=s.convertMolToMass(t,c,l):i.toVal=s.convertMassToMol(t,c,l)}else i.toVal=c.convertFrom(t,s);i.status="succeeded",i.fromUnit=s,i.toUnit=c}catch(e){i.status="failed",i.msg.push(e.message)}}catch(e){e.message==o.needMoleWeightMsg_?i.status="failed":i.status="error",i.msg.push(e.message)}return i}},{key:"checkSynonyms",value:function(e){var t={};return null==e?(t.status="error",t.msg="No term specified for synonym search."):t=a.getSynonyms(e),t}},{key:"getSpecifiedUnit",value:function(e,t,n){void 0===n&&(n=!1);var r={retMsg:[]};if(e){var l=u.getInstance();e=e.trim();var i=l.getUnitByCode(e);if(i)r.unit=i,r.origString=e;else try{var a=this.uStrParser_.parseString(e,t,n);r.unit=a[0],r.origString=a[1],a[2]&&(r.retMsg=a[2]),r.suggestions=a[3]}catch(t){console.log("Unit requested for unit string ".concat(e,".")+"request unsuccessful; error thrown = "+t.message),r.retMsg.unshift("".concat(e," is not a valid unit. ")+"".concat(t.message))}}else r.retMsg.push("No unit string specified.");return r}},{key:"commensurablesList",value:function(e){var t=[],n=null,r=this.getSpecifiedUnit(e,"validate",!1),l=r.unit;if(r.retMsg.length>0&&(t=r.retMsg),l){var i=null,a=l.getProperty("dim_");if(a){try{i=a.getProperty("dimVec_")}catch(e){t.push(e.message),"Dimension does not have requested property(dimVec_)"===e.message&&(i=null)}i&&(n=u.getInstance().getUnitsByDimension(i))}else t.push("No commensurable units were found for "+e)}else t.push("Could not find unit ".concat(e,"."));return[n,t]}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.n=f,f.getInstance=function(){return new f}},8973:function(e,t,n){"use strict";t.ng=void 0,n(6759).Ucum;var r=n(5845).n;t.ng=r,n(8443).UnitTables},9307:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===l(i)?i:String(i)),r)}var i}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Unit=void 0;var i,a=(i=n(731))&&i.__esModule?i:{default:i},s=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(7389));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}var u,c=n(6759).Ucum,f=n(9460).R,m=n(1781),h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isBase_=t.isBase_||!1,this.name_=t.name_||"",this.csCode_=t.csCode_||"",this.ciCode_=t.ciCode_||"",this.property_=t.property_||"",this.magnitude_=t.magnitude_||1,void 0===t.dim_||null===t.dim_?this.dim_=new f:void 0!==t.dim_.dimVec_?this.dim_=new f(t.dim_.dimVec_):t.dim_ instanceof f?this.dim_=t.dim_:t.dim_ instanceof Array||m(t.dim_)?this.dim_=new f(t.dim_):this.dim_=new f,this.printSymbol_=t.printSymbol_||null,this.class_=t.class_||null,this.isMetric_=t.isMetric_||!1,this.variable_=t.variable_||null,this.cnv_=t.cnv_||null,this.cnvPfx_=t.cnvPfx_||1,this.isSpecial_=t.isSpecial_||!1,this.isArbitrary_=t.isArbitrary_||!1,this.moleExp_=t.moleExp_||0,this.synonyms_=t.synonyms_||null,this.source_=t.source_||null,this.loincProperty_=t.loincProperty_||null,this.category_=t.category_||null,this.guidance_=t.guidance_||null,this.csUnitString_=t.csUnitString_||null,this.ciUnitString_=t.ciUnitString_||null,this.baseFactorStr_=t.baseFactorStr_||null,this.baseFactor_=t.baseFactor_||null,this.defError_=t.defError_||!1}var t,l;return t=e,(l=[{key:"assignUnity",value:function(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new f),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}},{key:"assignVals",value:function(e){for(var t in e){var n="_"===!t.charAt(t.length-1)?t+"_":t;if(!this.hasOwnProperty(n))throw new Error("Parameter error; ".concat(t," is not a property of a Unit"));this[n]=e[t]}}},{key:"clone",value:function(){var t=this,n=new e;return Object.getOwnPropertyNames(this).forEach((function(e){"dim_"===e?t.dim_?n.dim_=t.dim_.clone():n.dim_=null:n[e]=t[e]})),n}},{key:"assign",value:function(e){var t=this;Object.getOwnPropertyNames(e).forEach((function(n){"dim_"===n?e.dim_?t.dim_=e.dim_.clone():t.dim_=null:t[n]=e[n]}))}},{key:"equals",value:function(e){return this.magnitude_===e.magnitude_&&this.cnv_===e.cnv_&&this.cnvPfx_===e.cnvPfx_&&(null===this.dim_&&null===e.dim_||this.dim_.equals(e.dim_))}},{key:"fullEquals",value:function(e){for(var t=Object.keys(this).sort(),n=Object.keys(e).sort(),r=t.length,l=r===n.length,i=0;i<r&&l;i++)l=t[i]===n[i]&&("dim_"===t[i]?this.dim_.equals(e.dim_):this[t[i]]===e[t[i]]);return l}},{key:"getProperty",value:function(e){return this["_"===e.charAt(e.length-1)?e:e+"_"]}},{key:"convertFrom",value:function(e,t){var n=0;if(this.isArbitrary_)throw new Error("Attempt to convert arbitrary unit ".concat(this.name_));if(t.isArbitrary_)throw new Error("Attempt to convert to arbitrary unit ".concat(t.name_));if(t.dim_&&this.dim_&&!t.dim_.equals(this.dim_))throw this.isMoleMassCommensurable(t)?new Error(c.needMoleWeightMsg_):new Error("Sorry. ".concat(t.csCode_," cannot be converted ")+"to ".concat(this.csCode_,"."));if(t.dim_&&(!this.dim_||this.dim_.isNull()))throw new Error("Sorry. ".concat(t.csCode_," cannot be converted ")+"to ".concat(this.csCode_,"."));if(this.dim_&&(!t.dim_||t.dim_.isNull()))throw new Error("Sorry. ".concat(t.csCode_," cannot be converted ")+"to ".concat(this.csCode_,"."));var r=t.cnv_,l=t.magnitude_;if(r===this.cnv_)n=e*l/this.magnitude_;else{var i;i=null!=r?a.default.forName(r).cnvFrom(e*t.cnvPfx_)*l:e*l,n=null!=this.cnv_?a.default.forName(this.cnv_).cnvTo(i/this.magnitude_)/this.cnvPfx_:i/this.magnitude_}return n}},{key:"convertTo",value:function(e,t){return t.convertFrom(e,this)}},{key:"convertCoherent",value:function(e){return null!==this.cnv_&&(e=this.cnv_.f_from(e/this.cnvPfx_)*this.magnitude_),e}},{key:"mutateCoherent",value:function(e){e=this.convertCoherent(e),this.magnitude_=1,this.cnv_=null,this.cnvPfx_=1,this.name_="";for(var t=0,n=f.getMax();t<n;t++){var r=this.dim_.getElementAt(t),l=this._getUnitTables().getUnitsByDimension(new f(t));if(null==l)throw new Error("Can't find base unit for dimension ".concat(t));this.name_=l.name+r}return e}},{key:"convertMassToMol",value:function(e,t,n){var r=this.magnitude_*e/n,l=this._getUnitTables().getUnitByCode("mol").magnitude_;return r/(t.magnitude_/l)}},{key:"convertMolToMass",value:function(e,t,n){var r=this._getUnitTables().getUnitByCode("mol").magnitude_;return this.magnitude_/r*e*n/t.magnitude_}},{key:"mutateRatio",value:function(e){return null==this.cnv_?this.mutateCoherent(e):e}},{key:"multiplyThis",value:function(e){var t=this.clone();null!=t.cnv_?t.cnvPfx_*=e:t.magnitude_*=e;var n=e.toString();return t.name_=this._concatStrs(n,"*",this.name_,"[","]"),t.csCode_=this._concatStrs(n,".",this.csCode_,"(",")"),t.ciCode_=this._concatStrs(n,".",this.ciCode_,"(",")"),t.printSymbol_=this._concatStrs(n,".",this.printSymbol_,"(",")"),t}},{key:"multiplyThese",value:function(e){var t=this.clone();if(null!=t.cnv_){if(null!=e.cnv_||e.dim_&&!e.dim_.isZero())throw new Error("Attempt to multiply non-ratio unit ".concat(t.name_," ")+"failed.");t.cnvPfx_*=e.magnitude_}else if(null!=e.cnv_){if(t.dim_&&!t.dim_.isZero())throw new Error("Attempt to multiply non-ratio unit ".concat(e.name_));t.cnvPfx_=e.cnvPfx_*t.magnitude_,t.cnv_=e.cnv_}else t.magnitude_*=e.magnitude_;return!t.dim_||t.dim_&&!t.dim_.dimVec_?e.dim_?t.dim_=e.dim_.clone():t.dim_=e.dim_:e.dim_&&e.dim_ instanceof f&&t.dim_.add(e.dim_),t.name_=this._concatStrs(t.name_,"*",e.name_,"[","]"),t.csCode_=this._concatStrs(t.csCode_,".",e.csCode_,"(",")"),t.ciCode_&&e.ciCode_?t.ciCode_=this._concatStrs(t.ciCode_,".",e.ciCode_,"(",")"):e.ciCode_&&(t.ciCode_=e.ciCode_),t.guidance_="",t.printSymbol_&&e.printSymbol_?t.printSymbol_=this._concatStrs(t.printSymbol_,".",e.printSymbol_,"(",")"):e.printSymbol_&&(t.printSymbol_=e.printSymbol_),t.moleExp_=t.moleExp_+e.moleExp_,t.isArbitrary_||(t.isArbitrary_=e.isArbitrary_),t}},{key:"divide",value:function(e){var t=this.clone();if(null!=t.cnv_)throw new Error("Attempt to divide non-ratio unit ".concat(t.name_));if(null!=e.cnv_)throw new Error("Attempt to divide by non-ratio unit ".concat(e.name_));return t.name_&&e.name_?t.name_=this._concatStrs(t.name_,"/",e.name_,"[","]"):e.name_&&(t.name_=e.invertString(e.name_)),t.csCode_=this._concatStrs(t.csCode_,"/",e.csCode_,"(",")"),t.ciCode_&&e.ciCode_?t.ciCode_=this._concatStrs(t.ciCode_,"/",e.ciCode_,"(",")"):e.ciCode_&&(t.ciCode_=e.invertString(e.ciCode_)),t.guidance_="",t.magnitude_/=e.magnitude_,t.printSymbol_&&e.printSymbol_?t.printSymbol_=this._concatStrs(t.printSymbol_,"/",e.printSymbol_,"(",")"):e.printSymbol_&&(t.printSymbol_=e.invertString(e.printSymbol_)),e.dim_&&(t.dim_?(t.dim_.isNull()&&t.dim_.assignZero(),t.dim_=t.dim_.sub(e.dim_)):t.dim_=e.dim_.clone().minus()),t.moleExp_=t.moleExp_-e.moleExp_,t.isArbitrary_||(t.isArbitrary_=e.isArbitrary_),t}},{key:"invert",value:function(){if(null!=this.cnv_)throw new Error("Attempt to invert a non-ratio unit - ".concat(this.name_));return this.name_=this.invertString(this.name_),this.magnitude_=1/this.magnitude_,this.dim_.minus(),this}},{key:"invertString",value:function(e){if(e.length>0){var t=e.replace("/","!").replace(".","/").replace("!",".");switch(t.charAt(0)){case".":e=t.substr(1);break;case"/":e=t;break;default:e="/"+t}}return e}},{key:"_concatStrs",value:function(e,t,n,r,l){return this._buildOneString(e,r,l)+t+this._buildOneString(n,r,l)}},{key:"_buildOneString",value:function(e,t,n){return s.isNumericString(e)||"("===e.charAt(0)||"["===e.charAt(0)?e:/[./* ]/.test(e)?t+e+n:e}},{key:"power",value:function(e){if(null!=this.cnv_)throw new Error("Attempt to raise a non-ratio unit, ".concat(this.name_,", ")+"to a power.");for(var t=this.csCode_.match(/([./]|[^./]+)/g),n=t.length,r=0;r<n;r++){var l=t[r];if("/"!==l&&"."!==l){var i=parseInt(l);if(m(i))t[r]=Math.pow(i,e).toString();else for(var a=l.length,s=a-1;s>=0;s--){var o=parseInt(l[s]);if(!m(o)){if("-"!==l[s]&&"+"!==l[s]||s--,s<a-1){var u=parseInt(l.substr(s));u=Math.pow(u,e),t[r]=l.substr(0,s)+u.toString(),s=-1}else t[r]+=e.toString(),s=-1;s=-1}}}}return this.csCode_=t.join(""),this.magnitude_=Math.pow(this.magnitude_,e),this.dim_&&this.dim_.mul(e),this}},{key:"isMoleMassCommensurable",value:function(e){var t=this._getUnitTables().getMassDimensionIndex(),n=!1;if(1===this.moleExp_&&0===e.moleExp_){var r=this.dim_.clone(),l=r.getElementAt(t);r.setElementAt(t,l+this.moleExp_),n=r.equals(e.dim_)}else if(1===e.moleExp_&&0===this.moleExp_){var i=e.dim_.clone(),a=i.getElementAt(t);i.setElementAt(t,a+e.moleExp_),n=i.equals(this.dim_)}return n}},{key:"_getUnitTables",value:function(){return u||(u=n(8443).UnitTables),u.getInstance()}}])&&r(t.prototype,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.Unit=h},1273:function(e,t,n){"use strict";var r;function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===i(l)?l:String(l)),r)}var l}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}t.T=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var a=r?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(n,l,a):n[l]=e[l]}return n.default=e,t&&t.set(e,n),n}(n(7389));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var o=n(6759).Ucum,u=n(9307).Unit,c=n(8443).UnitTables,f=n(278).PrefixTables,m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.utabs_=c.getInstance(),this.pfxTabs_=f.getInstance(),this.openEmph_=o.openEmph_,this.closeEmph_=o.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}var t,n;return t=e,(n=[{key:"useHTMLInMessages",value:function(e){void 0===e||e?(this.openEmph_=o.openEmphHTML_,this.closeEmph_=o.closeEmphHTML_):(this.openEmph_=o.openEmph_,this.closeEmph_=o.closeEmph_)}},{key:"useBraceMsgForEachString",value:function(e){this.bracesMsg_=void 0===e||e?o.bracesMsg_:""}},{key:"parseString",value:function(e,t,n){if(""===(e=e.trim())||null===e)throw new Error("Please specify a unit expression to be validated.");"validate"===t?(this.vcMsgStart_=o.valMsgStart_,this.vcMsgEnd_=o.valMsgEnd_):(this.vcMsgStart_=o.cnvMsgStart_,this.vcMsgEnd_=o.cnvMsgEnd_),this.suggestions_=void 0===n||!1===n?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];var r=e,l=[];if(e=this._getAnnotations(e),this.retMsg_.length>0)l[0]=null,l[1]=null;else{this.retMsg_.length;var i=null;for(i in o.specUnits_)for(;-1!==e.indexOf(i);)e=e.replace(i,o.specUnits_[i]);if(e.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");var s=(l=this._parseTheString(e,r))[0];(a.isIntegerUnit(s)||"number"==typeof s)&&(s=new u({csCode_:r,magnitude_:s,name_:r}),l[0]=s)}return l[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(l[3]=this.suggestions_),l}},{key:"_parseTheString",value:function(e,t){var n=null,r=this.retMsg_.length>0,l=this._processParens(e,t),i=[];if(!(r=l[2])){e=l[0],t=l[1];var s=this._makeUnitsArray(e,t);if(!(r=s[2])){i=s[0],t=s[1];for(var o=i.length,u=0;u<o;u++){var c=i[u].un;if(a.isIntegerUnit(c))i[u].un=Number(c);else if(c.indexOf(this.parensFlag_)>=0){var f=this._getParensUnit(c,t);r||(r=f[1]),r||(i[u].un=f[0])}else{var m=this._makeUnit(c,t);null===m[0]?r=!0:(i[u].un=m[0],t=m[1])}}}}return r||null!==i[0]&&" "!==i[0]&&void 0!==i[0].un&&null!==i[0].un||0!==this.retMsg_.length||(this.retMsg_.push("Unit string (".concat(t,") did not contain ")+"anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry"),r=!0),r||(n=this._performUnitArithmetic(i,t)),[n,t]}},{key:"_getAnnotations",value:function(e){for(var t=e.indexOf("{");t>=0;){var n=e.indexOf("}");if(n<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+e.substr(t)+this.closeEmph_),t=-1;else{var r=e.substring(t,n+1),l=this.annotations_.length.toString();e=e.replace(r,this.braceFlag_+l+this.braceFlag_),this.annotations_.push(r),t=e.indexOf("{")}}var i=e.indexOf("}");return i>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+e.substring(0,i+1)+this.closeEmph_),e}},{key:"_processParens",value:function(e,t){for(var n=[],r=0,l=!1,i=this.parensUnits_.length,a=0;""!==e&&!l;){var s=0,o=0,u=e.indexOf("(");if(u<0){var c=e.indexOf(")");if(c>=0){var f="Missing open parenthesis for close "+"parenthesis at ".concat(e.substring(0,c+a))+"".concat(this.openEmph_).concat(e.substr(c,1)).concat(this.closeEmph_);c<e.length-1&&(f+="".concat(e.substr(c+1))),this.retMsg_.push(f),n[r]=e,l=!0}else n[r]=e,e=""}else{s+=1;var m=e.length;u>0&&(n[r++]=e.substr(0,u));for(var h=0,p=u+1;p<m&&s!=o;p++)"("===e[p]?s+=1:")"===e[p]&&(o+=1);if(s===o){h=p,n[r++]=this.parensFlag_+i.toString()+this.parensFlag_;var d=this._parseTheString(e.substring(u+1,h-1),t);null===d[0]?l=!0:(t=d[1],this.parensUnits_[i++]=d[0],e=e.substr(h),a=h)}else n.push(t.substr(u)),this.retMsg_.push("Missing close parenthesis for open parenthesis at "+"".concat(t.substring(0,u+a))+"".concat(this.openEmph_).concat(t.substr(u,1))+"".concat(this.closeEmph_).concat(t.substr(u+1))),l=!0}}return l&&(this.parensUnits_=[]),[n.join(""),t,l]}},{key:"_makeUnitsArray",value:function(e,t){var n=e.match(/([./]|[^./]+)/g),r=!1,l=[],i=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===n[0]?n.unshift("1"):"."===n[0]&&(this.retMsg_.push("".concat(t," is not a valid UCUM code. ")+"The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes."),r=!0),!r){if(!a.isNumericString(n[0])){var s=n[0].match(i);if(s&&3===s.length&&""!==s[1]&&""!==s[2]&&0!==s[2].indexOf(this.braceFlag_)){var u=s[2];if(!r&&-1!==s[2].indexOf(this.parensFlag_)){var c=this._getParensUnit(s[2],t);s[2]=c[0].csCode_,u="(".concat(s[2],")"),r=c[1]}r||(this.retMsg_.push("".concat(s[1]).concat(u," is not a valid UCUM code.")+" ".concat(this.vcMsgStart_).concat(s[1],".").concat(u).concat(this.vcMsgEnd_)),t=t.replace("".concat(s[1]).concat(u),"".concat(s[1],".").concat(u)),n[0]=s[2],n.unshift(s[1],"."))}}if(!r){var f=n.length;l=[{op:"",un:n[0]}];for(var m=1;m<f;m++){var h=n[m++];if(n[m])if(-1!==o.validOps_.indexOf(n[m]))this.retMsg_.push("".concat(t," is not a valid UCUM code. ")+"A unit code is missing between".concat(this.openEmph_)+"".concat(h).concat(this.closeEmph_,"and").concat(this.openEmph_)+"".concat(n[m]).concat(this.closeEmph_,"in").concat(this.openEmph_)+"".concat(h).concat(n[m]).concat(this.closeEmph_,".")),m=f,r=!0;else if(a.isNumericString(n[m]))l.push({op:h,un:n[m]});else{var p=n[m].match(i);if(p&&3===p.length&&""!==p[1]&&""!==p[2]&&0!==p[2].indexOf(this.braceFlag_)){var d=p[0];if(r||-1===p[2].indexOf(this.parensFlag_)){var y="("+p[1]+"."+p[2]+")",g=this._processParens(y,t);g[2]?(m=f,r=!0):(this.retMsg_.push("".concat(p[0]," is not a ")+"valid UCUM code. ".concat(this.vcMsgStart_).concat(p[1],".").concat(p[2])+"".concat(this.vcMsgEnd_)),t=t.replace(p[0],y),l.push({op:h,un:g[0]}))}else{var v=this._getParensUnit(p[2],t);if(p[2]=v[0].csCode_,d="(".concat(p[2],")"),!(r=v[1])){this.retMsg_.push("".concat(p[1]).concat(d," is not a ")+"valid UCUM code. ".concat(this.vcMsgStart_).concat(p[1],".").concat(d)+"".concat(this.vcMsgEnd_));var b="(".concat(p[1],".").concat(d,")");t=t.replace("".concat(p[1]).concat(d),b);var _=this._processParens(b,t);(r=_[2])||l.push({op:h,un:_[0]})}}}else l.push({op:h,un:n[m]})}else this.retMsg_.push("".concat(t," is not a valid UCUM code. ")+"It is terminated with the operator ".concat(this.openEmph_)+"".concat(h).concat(this.closeEmph_,".")),m=f,r=!0}}}return[l,t,r]}},{key:"_getParensUnit",value:function(e,t){var n=!1,r=null,l=e.indexOf(this.parensFlag_),i=null;l>0&&(i=e.substr(0,l-1));var s=e.lastIndexOf(this.parensFlag_),o=null;s+this.pFlagLen_<e.length&&(o=e.substr(s+this.pFlagLen_));var c=e.substring(l+this.pFlagLen_,s);if(!a.isNumericString(c))throw new Error("Processing error - invalid parens number ".concat(c," ")+"found in ".concat(e,"."));if(r=this.parensUnits_[Number(c)],e=a.isIntegerUnit(r)?r:r.csCode_,i)if(a.isNumericString(i)){var f=r.getProperty("magnitude_");f*=Number(i),r.assignVals({magnitude_:f}),e="".concat(i,".").concat(e),this.retMsg_.push("".concat(i).concat(e," is not a valid UCUM code.\n")+this.vcMsgStart_+e+this.vcMsgEnd_)}else if(i.indexOf(this.braceFlag_)>=0){var m=this._getAnnoText(i,t);if(m[1]||m[2])throw new Error("Text found before the parentheses ("+"".concat(i,") included an annotation along with other text ")+"for parenthetical unit ".concat(r.csCode_));e+=m[0],this.retMsg_.push("The annotation ".concat(m[0]," before the unit ")+"code is invalid.\n"+this.vcMsgStart_+e+this.vcMsgEnd_)}else this.suggestions_?n="succeeded"!==this._getSuggestions(i):(this.retMsg_.push("".concat(i," preceding the unit code ").concat(e," ")+"is invalid. Unable to make a substitution."),n=!0);if(o)if(o.indexOf(this.braceFlag_)>=0){var h=this._getAnnoText(o,t);if(h[1]||h[2])throw new Error("Text found after the parentheses ("+"".concat(o,") included an annotation along with other text ")+"for parenthetical unit ".concat(r.csCode_));e+=h[0]}else a.isNumericString(o)?(e+=o,r=r.power(Number(o)),this.retMsg_.push("An exponent (".concat(o,") following a parenthesis ")+"is invalid as of revision 1.9 of the UCUM Specification.\n "+this.vcMsgStart_+e+this.vcMsgEnd_)):this.suggestions_?n="succeeded"!==this._getSuggestions(i):(this.retMsg_.push("Text ".concat(o," following the unit code ").concat(e," ")+"is invalid. Unable to make a substitution."),n=!0);return n||(r?a.isIntegerUnit(r)?r=new u({csCode_:r,magnitude_:r,name_:r}):r.csCode_=e:r=new u({csCode_:e,magnitude_:1,name_:e})),[r,n]}},{key:"_getAnnoText",value:function(e,t){var n=e.indexOf(this.braceFlag_),r=n>0?e.substring(0,n):null;0!==n&&(e=e.substr(n));var l=e.indexOf(this.braceFlag_,1),i=l+this.bFlagLen_<e.length?e.substr(l+this.bFlagLen_):null,s=e.substring(this.bFlagLen_,l),o=Number(s);if(!a.isNumericString(s)||o>=this.annotations_.length)throw new Error("Processing Error - invalid annotation index ".concat(s," found ")+"in ".concat(e," that was created from ").concat(t));return[e=this.annotations_[o],r,i]}},{key:"_getSuggestions",value:function(e){var t=a.getSynonyms(e);if("succeeded"===t.status){var n={};n.msg="".concat(e," is not a valid UCUM code. We found possible ")+"units that might be what was meant:",n.invalidUnit=e;var r=t.units.length;n.units=[];for(var l=0;l<r;l++){var i=t.units[l],s=[i.code,i.name,i.guidance];n.units.push(s)}this.suggestions_.push(n)}else this.retMsg_.push("".concat(e," is not a valid UCUM code. No alternatives ")+"were found.");return t.status}},{key:"_makeUnit",value:function(e,t){var n=this.utabs_.getUnitByCode(e);if(n)n=n.clone();else if(e.indexOf(this.braceFlag_)>=0){var r=this._getUnitWithAnnotation(e,t);(n=r[0])&&(t=r[1])}else{if(e.indexOf("^")>-1){var l=e.replace("^","*");(n=this.utabs_.getUnitByCode(l))&&((n=n.clone()).csCode_=n.csCode_.replace("*","^"),n.ciCode_=n.ciCode_.replace("*","^"))}if(!n){var i="["+e+"]";(n=this.utabs_.getUnitByCode(i))&&(n=n.clone(),t=t.replace(e,i),this.retMsg_.push("".concat(e," is not a valid unit expression, but ")+"".concat(i," is.\n")+this.vcMsgStart_+"".concat(i," (").concat(n.name_,")").concat(this.vcMsgEnd_)))}if(!n){var a=this.utabs_.getUnitByName(e);if(a&&a.length>0){for(var s="The UCUM code for "+e+" is "+(n=a[0].clone()).csCode_+".\n"+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_,u=!1,c=0;c<this.retMsg_.length&&!u;c++)u=this.retMsg_[c]===s;u||this.retMsg_.push(s);var f=new RegExp("(^|[./({])("+e+")($|[./)}])"),m=t.match(f);t=t.replace(f,m[1]+n.csCode_+m[3]),e=n.csCode_}}if(!n){var h=null;for(h in o.specUnits_)-1!==e.indexOf(o.specUnits_[h])&&(e=e.replace(o.specUnits_[h],h));(n=this.utabs_.getUnitByCode(e))&&(n=n.clone())}if(!n){var p=e,d=null,y=null,g=null,v=null,b=null,_=null,C=this._isCodeWithExponent(e);if(C&&(e=C[0],y=C[1],d=this.utabs_.getUnitByCode(e)),!d&&(g=e.charAt(0),v=this.pfxTabs_.getPrefixByCode(g))){b=v.getValue(),_=v.getExp();var L=g.length;e=e.substr(L),(d=this.utabs_.getUnitByCode(e))||"d"!=g||"a"!=e.substr(0,1)||(g="da",b=(v=this.pfxTabs_.getPrefixByCode(g)).getValue(),e=e.substr(1),d=this.utabs_.getUnitByCode(e))}if(d){(n=d.clone()).guidance_="";var k=n.getProperty("dim_"),S=n.getProperty("magnitude_"),T=n.getProperty("name_"),U=n.getProperty("ciCode_"),O=n.getProperty("printSymbol_");if(y){var x=y=parseInt(y);k&&(k=k.mul(y)),S=Math.pow(S,y),n.assignVals({magnitude_:S}),v&&_&&(x*=v.getExp(),b=Math.pow(10,x))}v&&(n.cnv_?n.assignVals({cnvPfx_:b}):(S*=b,n.assignVals({magnitude_:S})));var M=n.csCode_;if(v&&(T=v.getName()+T,M=g+M,U=v.getCiCode()+U,O=v.getPrintSymbol()+O,n.assignVals({name_:T,csCode_:M,ciCode_:U,printSymbol_:O})),y){var I=y.toString();n.assignVals({name_:T+"<sup>"+I+"</sup>",csCode_:M+I,ciCode_:U+I,printSymbol_:O+"<sup>"+I+"</sup>"})}}else n=null,this.suggestions_?this._getSuggestions(p):this.retMsg_.push("".concat(p," is not a valid UCUM code."))}}return[n,t]}},{key:"_getUnitWithAnnotation",value:function(e,t){var n=null,l=this._getAnnoText(e,t),i=l[0],s=l[1],o=l[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);var u,c,f=this.retMsg_.length;if(s||o)if(s&&!o)if(a.isIntegerUnit(s))n=s;else{var m=this._makeUnit(s,t);m[0]?((n=m[0]).csCode_+=i,t=m[1]):this.retMsg_.push("Unable to find a unit for ".concat(s," that ")+"precedes the annotation ".concat(i,"."))}else if(!s&&o)if(a.isIntegerUnit(o))n=o+i,this.retMsg_.push("The annotation ".concat(i," before the ")(r||(u=[""," is invalid.\n"],(c=[""," is invalid.\\n"])||(c=u.slice(0)),r=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(c)}}))),o)+this.vcMsgStart_+n+this.vcMsgEnd_);else{var h=this._makeUnit(o,t);h[0]?((n=h[0]).csCode_+=i,t=n.csCode_,this.retMsg_.push("The annotation ".concat(i," before the unit ")+"code is invalid.\n"+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_)):this.retMsg_.push("Unable to find a unit for ".concat(s," that ")+"follows the annotation ".concat(i,"."))}else this.retMsg_.push("Unable to find a unit for ".concat(s).concat(i)+"".concat(o,".\nWe are not sure how to interpret text both before ")+"and after the annotation. Sorry");else{var p="["+i.substring(1,i.length-1)+"]",d=this._makeUnit(p,t);d[0]?(n=d[0],t=t.replace(i,p),this.retMsg_.push("".concat(i," is not a valid unit expression, but ")+"".concat(p," is.\n")+this.vcMsgStart_+"".concat(p," (").concat(n.name_,")").concat(this.vcMsgEnd_))):(this.retMsg_.length>f&&this.retMsg_.pop(),e=1,n=1)}return[n,t]}},{key:"_performUnitArithmetic",value:function(e,t){var n=e[0].un;a.isIntegerUnit(n)&&(n=new u({csCode_:n,magnitude_:Number(n),name_:n}));for(var r=e.length,l=!1,i=1;i<r&&!l;i++){var s=e[i].un;if(a.isIntegerUnit(s)&&(s=new u({csCode_:s,magnitude_:Number(s),name_:s})),null===s||"number"!=typeof s&&!s.getProperty){var o="Unit string (".concat(t,") contains unrecognized ")+"element";s&&(o+=" (".concat(this.openEmph_).concat(s.toString())+"".concat(this.closeEmph_,")")),o+="; could not parse full string. Sorry",this.retMsg_.push(o),l=!0}else try{n="/"===e[i].op?n.divide(s):n.multiplyThese(s)}catch(e){this.retMsg_.unshift(e.message),l=!0,n=null}}return n}},{key:"_isCodeWithExponent",value:function(e){var t=[],n=e.match(/(^[^\-\+]+?)([\-\+\d]+)$/);return n&&n[2]&&""!==n[2]?(t.push(n[1]),t.push(n[2])):t=null,t}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.T=m,m.getInstance=function(){return new m}},8443:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}Object.defineProperty(t,"__esModule",{value:!0}),t.UnitTables=void 0;var i=n(6759).Ucum,a=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}var t,n;return t=e,(n=[{key:"unitsCount",value:function(){return Object.keys(this.unitCodes_).length}},{key:"addUnit",value:function(e){e.name_&&this.addUnitName(e),this.addUnitCode(e),this.addUnitString(e);try{e.dim_.getProperty("dimVec_")&&this.addUnitDimension(e)}catch(e){}}},{key:"addUnitName",value:function(e){var t=e.name_;if(!t)throw new Error("UnitTables.addUnitName called for a unit with no name. "+"Unit code = ".concat(e.csCode_,"."));this.unitNames_[t]?this.unitNames_[t].push(e):this.unitNames_[t]=[e]}},{key:"addUnitCode",value:function(e){var t=e.csCode_;if(!t)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[t])throw new Error("UnitTables.addUnitCode called, already contains entry for "+"unit with code = ".concat(t));if(this.unitCodes_[t]=e,this.codeOrder_.push(t),"g"==t){for(var n=e.dim_.dimVec_,r=0;r<n.length&&n[r]<1;r++);this.massDimIndex_=r}}},{key:"addUnitString",value:function(e){var t;if(t=1==i.caseSensitive_?e.csUnitString_:e.ciUnitString_){var n={mag:e.baseFactorStr_,unit:e};this.unitStrings_[t]?this.unitStrings_[t].push(n):this.unitStrings_[t]=[n]}}},{key:"addUnitDimension",value:function(e){var t=e.dim_.getProperty("dimVec_");if(!t)throw new Error("UnitTables.addUnitDimension called for a unit with no dimension. "+"Unit code = ".concat(e.csCode_,"."));this.unitDimensions_[t]?this.unitDimensions_[t].push(e):this.unitDimensions_[t]=[e]}},{key:"buildUnitSynonyms",value:function(){for(var e in this.unitCodes_){var t=this.unitCodes_[e],n=t.synonyms_;if(n){var r=n.split(";");if(""!==r[0])for(var l=r.length,i=0;i<l;i++){var a=r[i].trim();this.addSynonymCodes(e,a)}}this.addSynonymCodes(e,t.name_)}}},{key:"addSynonymCodes",value:function(e,t){for(var n=t.split(" "),r=n.length,l=0;l<r;l++){var i=n[l];this.unitSynonyms_[i]?-1===this.unitSynonyms_[i].indexOf(e)&&this.unitSynonyms_[i].push(e):this.unitSynonyms_[i]=[e]}}},{key:"getUnitByCode",value:function(e){var t=null;return e&&(t=this.unitCodes_[e]),t}},{key:"getUnitByName",value:function(e){if(null==e)throw new Error("Unable to find unit by name because no name was provided.");var t=e.indexOf(i.codeSep_),n=null;t>=1&&(n=e.substr(t+i.codeSep_.length),e=e.substr(0,t));var r=this.unitNames_[e];if(r){var l=r.length;if(n&&l>1){for(var a=0;r[a].csCode_!==n&&a<l;a++);r=a<l?[r[a]]:null}}return r}},{key:"getUnitByString",value:function(e){var t=null;return e&&void 0===(t=this.unitStrings_[e])&&(t=null),t}},{key:"getUnitsByDimension",value:function(e){var t;if(null==e)throw new Error("Unable to find unit by because no dimension vector was provided.");return null==(t=this.unitDimensions_[e])&&console.log("Unable to find unit with dimension = ".concat(e)),t}},{key:"getUnitBySynonym",value:function(e){var t={},n=[];try{if(null==e)throw t.status="error",new Error("Unable to find unit by synonym because no synonym was provided.");var r;if(0===Object.keys(this.unitSynonyms_).length&&this.buildUnitSynonyms(),r=this.unitSynonyms_[e]){t.status="succeeded";for(var l=r.length,i=0;i<l;i++)n.push(this.unitCodes_[r[i]]);t.units=n}0===n.length&&(t.status="failed",t.msg="Unable to find any units with synonym = ".concat(e))}catch(e){t.msg=e.message}return t}},{key:"getAllUnitNames",value:function(){return Object.keys(this.unitNames_)}},{key:"getUnitNamesList",value:function(){var e=[],t=Object.keys(this.unitCodes_);t.sort(this.compareCodes);for(var n=t.length,r=0;r<n;r++)e[r]=t[r]+i.codeSep_+this.unitCodes_[t[r]].name_;return e}},{key:"getMassDimensionIndex",value:function(){return this.massDimIndex_}},{key:"compareCodes",value:function(e,t){return(e=(e=e.replace(/[\[\]]/g,"")).toLowerCase())<(t=(t=t.replace(/[\[\]]/g,"")).toLowerCase())?-1:1}},{key:"getAllUnitCodes",value:function(){return Object.keys(this.unitCodes_)}},{key:"allUnitsByDef",value:function(){for(var e=[],t=this.codeOrder_.length,n=0;n<t;n++)e.push(this.getUnitByCode(this.codeOrder_[n]));return e}},{key:"allUnitsByName",value:function(e,t){null==t&&(t="|");for(var n="",r=this.getAllUnitNames(),l=r.length,i=e.length,a=0;a<l;a++)for(var s=this.getUnitByName(r[a]),o=0;o<s.length;o++){for(var u=s[o],c=0;c<i;c++)if(c>0&&(n+=t),"dim_"===e[c])null!==u.dim_&&void 0!==u.dim_&&u.dim_.dimVec_ instanceof Array?n+="["+u.dim_.dimVec_.join(",")+"]":n+="";else{var f=u[e[c]];n+="string"==typeof f?f.replace(/[\n\r]/g," "):f}n+="\r\n"}return n}},{key:"printUnits",value:function(e,t){void 0===e&&(e=!1),void 0===t&&(t="|");var n="",r=this.codeOrder_.length,l="csCode"+t;e&&(l+="ciCode"+t),l+="name"+t,e&&(l+="isBase"+t),l+="magnitude"+t+"dimension"+t+"from unit(s)"+t+"value"+t+"function"+t,e&&(l+="property"+t+"printSymbol"+t+"synonyms"+t+"source"+t+"class"+t+"isMetric"+t+"variable"+t+"isSpecial"+t+"isAbitrary"+t),n=(l+="comment")+"\n";for(var i=0;i<r;i++){var a=this.getUnitByCode(this.codeOrder_[i]);l=this.codeOrder_[i]+t,e&&(l+=a.getProperty("ciCode_")+t),l+=a.getProperty("name_")+t,e&&(a.getProperty("isBase_")?l+="true"+t:l+="false"+t),l+=a.getProperty("magnitude_")+t;var s=a.getProperty("dim_");l+=s?s.dimVec_+t:"null"+t,a.csUnitString_?l+=a.csUnitString_+t+a.baseFactor_+t:l+="null"+t+"null"+t,a.cnv_?l+=a.cnv_+t:l+="null"+t,e&&(l+=a.getProperty("property_")+t+a.getProperty("printSymbol_")+t+a.getProperty("synonyms_")+t+a.getProperty("source_")+t+a.getProperty("class_")+t+a.getProperty("isMetric_")+t+a.getProperty("variable_")+t+a.getProperty("isSpecial_")+t+a.getProperty("isArbitrary_")+t),a.defError_&&(l+="problem parsing this one, deferred to later."),n+=l+"\n"}return n}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()),s={getInstance:function(){return a}};t.UnitTables=s},7857:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=n(9616).Token,c=n(4149),f=n(5062).Interval,m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(m,e);var t,n,a=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,l=i(t);if(n){var a=i(this).constructor;e=Reflect.construct(l,arguments,a)}else e=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function m(e){var t;return o(this,m),(t=a.call(this)).tokenSource=e,t.tokens=[],t.index=-1,t.fetchedEOF=!1,t}return s(m,[{key:"mark",value:function(){return 0}},{key:"release",value:function(e){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}},{key:"get",value:function(e){return this.lazyInit(),this.tokens[e]}},{key:"consume",value:function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===u.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}},{key:"sync",value:function(e){var t=e-this.tokens.length+1;return!(t>0)||this.fetch(t)>=t}},{key:"fetch",value:function(e){if(this.fetchedEOF)return 0;for(var t=0;t<e;t++){var n=this.tokenSource.nextToken();if(n.tokenIndex=this.tokens.length,this.tokens.push(n),n.type===u.EOF)return this.fetchedEOF=!0,t+1}return e}},{key:"getTokens",value:function(e,t,n){if(void 0===n&&(n=null),e<0||t<0)return null;this.lazyInit();var r=[];t>=this.tokens.length&&(t=this.tokens.length-1);for(var l=e;l<t;l++){var i=this.tokens[l];if(i.type===u.EOF)break;(null===n||n.contains(i.type))&&r.push(i)}return r}},{key:"LA",value:function(e){return this.LT(e).type}},{key:"LB",value:function(e){return this.index-e<0?null:this.tokens[this.index-e]}},{key:"LT",value:function(e){if(this.lazyInit(),0===e)return null;if(e<0)return this.LB(-e);var t=this.index+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]}},{key:"adjustSeekIndex",value:function(e){return e}},{key:"lazyInit",value:function(){-1===this.index&&this.setup()}},{key:"setup",value:function(){this.sync(0),this.index=this.adjustSeekIndex(0)}},{key:"setTokenSource",value:function(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(e,t){if(this.sync(e),e>=this.tokens.length)return-1;for(var n=this.tokens[e];n.channel!==this.channel;){if(n.type===u.EOF)return-1;e+=1,this.sync(e),n=this.tokens[e]}return e}},{key:"previousTokenOnChannel",value:function(e,t){for(;e>=0&&this.tokens[e].channel!==t;)e-=1;return e}},{key:"getHiddenTokensToRight",value:function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.nextTokenOnChannel(e+1,c.DEFAULT_TOKEN_CHANNEL),r=e+1,l=-1===n?this.tokens.length-1:n;return this.filterForChannel(r,l,t)}},{key:"getHiddenTokensToLeft",value:function(e,t){if(void 0===t&&(t=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw e+" not in 0.."+this.tokens.length-1;var n=this.previousTokenOnChannel(e-1,c.DEFAULT_TOKEN_CHANNEL);if(n===e-1)return null;var r=n+1,l=e-1;return this.filterForChannel(r,l,t)}},{key:"filterForChannel",value:function(e,t,n){for(var r=[],l=e;l<t+1;l++){var i=this.tokens[l];-1===n?i.channel!==c.DEFAULT_TOKEN_CHANNEL&&r.push(i):i.channel===n&&r.push(i)}return 0===r.length?null:r}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(e){this.lazyInit(),this.fill(),null==e&&(e=new f(0,this.tokens.length-1));var t=e.start;t instanceof u&&(t=t.tokenIndex);var n=e.stop;if(n instanceof u&&(n=n.tokenIndex),null===t||null===n||t<0||n<0)return"";n>=this.tokens.length&&(n=this.tokens.length-1);for(var r="",l=t;l<n+1;l++){var i=this.tokens[l];if(i.type===u.EOF)break;r+=i.text}return r}},{key:"fill",value:function(){for(this.lazyInit();1e3===this.fetch(1e3););}}]),m}(s((function e(){o(this,e)})));e.exports=m},2552:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=n(9616).CommonToken,c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(c,e);var t,n,a=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,l=i(t);if(n){var a=i(this).constructor;e=Reflect.construct(l,arguments,a)}else e=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e){var t;return o(this,c),(t=a.call(this)).copyText=void 0!==e&&e,t}return s(c,[{key:"create",value:function(e,t,n,r,l,i,a,s){var o=new u(e,t,r,l,i);return o.line=a,o.column=s,null!==n?o.text=n:this.copyText&&null!==e[1]&&(o.text=e[1].getText(l,i)),o}},{key:"createThin",value:function(e,t){var n=new u(null,e);return n.text=t,n}}]),c}(s((function e(){o(this,e)})));c.DEFAULT=new c,e.exports=c},8617:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(9616).Token,o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(f,e);var t,n,o,u,c=(o=f,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=a(o);if(u){var n=a(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(n=c.call(this,e)).channel=void 0===t?s.DEFAULT_CHANNEL:t,n}return t=f,(n=[{key:"adjustSeekIndex",value:function(e){return this.nextTokenOnChannel(e,this.channel)}},{key:"LB",value:function(e){if(0===e||this.index-e<0)return null;for(var t=this.index,n=1;n<=e;)t=this.previousTokenOnChannel(t-1,this.channel),n+=1;return t<0?null:this.tokens[t]}},{key:"LT",value:function(e){if(this.lazyInit(),0===e)return null;if(e<0)return this.LB(-e);for(var t=this.index,n=1;n<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),n+=1;return this.tokens[t]}},{key:"getNumberOfOnChannelTokens",value:function(){var e=0;this.fill();for(var t=0;t<this.tokens.length;t++){var n=this.tokens[t];if(n.channel===this.channel&&(e+=1),n.type===s.EOF)break}return e}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),f}(n(7857));e.exports=o},3960:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(9616).Token;n(2054),n(7700);var a=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=n||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var r=0;r<this.strdata.length;){var l=this.strdata.codePointAt(r);this.data.push(l),r+=l<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var i=0;i<this.strdata.length;i++){var a=this.strdata.charCodeAt(i);this.data[i]=a}}this._size=this.data.length}var t,n;return t=e,(n=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(e){if(0===e)return 0;e<0&&(e+=1);var t=this._index+e-1;return t<0||t>=this._size?i.EOF:this.data[t]}},{key:"LT",value:function(e){return this.LA(e)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(e){}},{key:"seek",value:function(e){e<=this._index?this._index=e:this._index=Math.min(e,this._size)}},{key:"getText",value:function(e,t){if(t>=this._size&&(t=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var n="",r=e;r<=t;r++)n+=String.fromCodePoint(this.data[r]);return n}return this.strdata.slice(e,t+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=a},5062:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=n(9616).Token,o=function(){function e(t,n){l(this,e),this.start=t,this.stop=n}return a(e,[{key:"clone",value:function(){return new e(this.start,this.stop)}},{key:"contains",value:function(e){return e>=this.start&&e<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}]),e}(),u=function(){function e(){l(this,e),this.intervals=null,this.readOnly=!1}return a(e,[{key:"first",value:function(e){return null===this.intervals||0===this.intervals.length?s.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(e){this.addInterval(new o(e,e+1))}},{key:"addRange",value:function(e,t){this.addInterval(new o(e,t+1))}},{key:"addInterval",value:function(e){if(null===this.intervals)this.intervals=[],this.intervals.push(e.clone());else{for(var t=0;t<this.intervals.length;t++){var n=this.intervals[t];if(e.stop<n.start)return void this.intervals.splice(t,0,e);if(e.stop===n.start)return void(this.intervals[t]=new o(e.start,n.stop));if(e.start<=n.stop)return this.intervals[t]=new o(Math.min(n.start,e.start),Math.max(n.stop,e.stop)),void this.reduce(t)}this.intervals.push(e.clone())}}},{key:"addSet",value:function(e){var t=this;return null!==e.intervals&&e.intervals.forEach((function(e){return t.addInterval(e)}),this),this}},{key:"reduce",value:function(e){if(e<this.intervals.length-1){var t=this.intervals[e],n=this.intervals[e+1];t.stop>=n.stop?(this.intervals.splice(e+1,1),this.reduce(e)):t.stop>=n.start&&(this.intervals[e]=new o(t.start,n.stop),this.intervals.splice(e+1,1))}}},{key:"complement",value:function(t,n){var r=new e;return r.addInterval(new o(t,n+1)),null!==this.intervals&&this.intervals.forEach((function(e){return r.removeRange(e)})),r}},{key:"contains",value:function(e){if(null===this.intervals)return!1;for(var t=0;t<this.intervals.length;t++)if(this.intervals[t].contains(e))return!0;return!1}},{key:"removeRange",value:function(e){if(e.start===e.stop-1)this.removeOne(e.start);else if(null!==this.intervals)for(var t=0,n=0;n<this.intervals.length;n++){var r=this.intervals[t];if(e.stop<=r.start)return;if(e.start>r.start&&e.stop<r.stop){this.intervals[t]=new o(r.start,e.start);var l=new o(e.stop,r.stop);return void this.intervals.splice(t,0,l)}e.start<=r.start&&e.stop>=r.stop?(this.intervals.splice(t,1),t-=1):e.start<r.stop?this.intervals[t]=new o(r.start,e.start):e.stop<r.stop&&(this.intervals[t]=new o(e.stop,r.stop)),t+=1}}},{key:"removeOne",value:function(e){if(null!==this.intervals)for(var t=0;t<this.intervals.length;t++){var n=this.intervals[t];if(e<n.start)return;if(e===n.start&&e===n.stop-1)return void this.intervals.splice(t,1);if(e===n.start)return void(this.intervals[t]=new o(n.start+1,n.stop));if(e===n.stop-1)return void(this.intervals[t]=new o(n.start,n.stop-1));if(e<n.stop-1){var r=new o(n.start,e);return n.start=e+1,void this.intervals.splice(t,0,r)}}}},{key:"toString",value:function(e,t,n){return e=e||null,t=t||null,n=n||!1,null===this.intervals?"{}":null!==e||null!==t?this.toTokenString(e,t):n?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var e=[],t=0;t<this.intervals.length;t++){var n=this.intervals[t];n.stop===n.start+1?n.start===s.EOF?e.push("<EOF>"):e.push("'"+String.fromCharCode(n.start)+"'"):e.push("'"+String.fromCharCode(n.start)+"'..'"+String.fromCharCode(n.stop-1)+"'")}return e.length>1?"{"+e.join(", ")+"}":e[0]}},{key:"toIndexString",value:function(){for(var e=[],t=0;t<this.intervals.length;t++){var n=this.intervals[t];n.stop===n.start+1?n.start===s.EOF?e.push("<EOF>"):e.push(n.start.toString()):e.push(n.start.toString()+".."+(n.stop-1).toString())}return e.length>1?"{"+e.join(", ")+"}":e[0]}},{key:"toTokenString",value:function(e,t){for(var n=[],r=0;r<this.intervals.length;r++)for(var l=this.intervals[r],i=l.start;i<l.stop;i++)n.push(this.elementName(e,t,i));return n.length>1?"{"+n.join(", ")+"}":n[0]}},{key:"elementName",value:function(e,t,n){return n===s.EOF?"<EOF>":n===s.EPSILON?"<EPSILON>":e[n]||t[n]}},{key:"length",get:function(){return this.intervals.map((function(e){return e.length})).reduce((function(e,t){return e+t}))}}]),e}();e.exports={Interval:o,IntervalSet:u}},2894:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(7090),a=i.Set,s=i.BitSet,o=n(9616).Token,u=n(4769).ATNConfig,c=n(5062).IntervalSet,f=n(4).RuleStopState,m=n(3412),h=m.RuleTransition,p=m.NotSetTransition,d=m.WildcardTransition,y=m.AbstractPredicateTransition,g=n(9699),v=g.predictionContextFromRuleContext,b=g.PredictionContext,_=g.SingletonPredictionContext,C=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.atn=t}var t,n;return t=e,(n=[{key:"getDecisionLookahead",value:function(t){if(null===t)return null;for(var n=t.transitions.length,r=[],l=0;l<n;l++){r[l]=new c;var i=new a;this._LOOK(t.transition(l).target,null,b.EMPTY,r[l],i,new s,!1,!1),(0===r[l].length||r[l].contains(e.HIT_PRED))&&(r[l]=null)}return r}},{key:"LOOK",value:function(e,t,n){var r=new c,l=null!==(n=n||null)?v(e.atn,n):null;return this._LOOK(e,t,l,r,new a,new s,!0,!0),r}},{key:"_LOOK",value:function(t,n,r,l,i,a,s,c){var m=new u({state:t,alt:0,context:r},null);if(!i.contains(m)){if(i.add(m),t===n){if(null===r)return void l.addOne(o.EPSILON);if(r.isEmpty()&&c)return void l.addOne(o.EOF)}if(t instanceof f){if(null===r)return void l.addOne(o.EPSILON);if(r.isEmpty()&&c)return void l.addOne(o.EOF);if(r!==b.EMPTY){var g=a.contains(t.ruleIndex);try{a.remove(t.ruleIndex);for(var v=0;v<r.length;v++){var C=this.atn.states[r.getReturnState(v)];this._LOOK(C,n,r.getParent(v),l,i,a,s,c)}}finally{g&&a.add(t.ruleIndex)}return}}for(var L=0;L<t.transitions.length;L++){var k=t.transitions[L];if(k.constructor===h){if(a.contains(k.target.ruleIndex))continue;var S=_.create(r,k.followState.stateNumber);try{a.add(k.target.ruleIndex),this._LOOK(k.target,n,S,l,i,a,s,c)}finally{a.remove(k.target.ruleIndex)}}else if(k instanceof y)s?this._LOOK(k.target,n,r,l,i,a,s,c):l.addOne(e.HIT_PRED);else if(k.isEpsilon)this._LOOK(k.target,n,r,l,i,a,s,c);else if(k.constructor===d)l.addRange(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var T=k.label;null!==T&&(k instanceof p&&(T=T.complement(o.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),l.addSet(T))}}}}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();C.HIT_PRED=o.INVALID_TYPE,e.exports=C},4149:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function s(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var o=n(9616).Token,u=n(500),c=n(2552),f=n(1162).RecognitionException,m=n(1162).LexerNoViableAltException,h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(y,e);var t,n,u,h,p,d=(t=y,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,l=a(t);if(n){var s=a(this).constructor;e=Reflect.construct(l,arguments,s)}else e=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this))._input=e,t._factory=c.DEFAULT,t._tokenFactorySourcePair=[i(t),e],t._interp=null,t._token=null,t._tokenStartCharIndex=-1,t._tokenStartLine=-1,t._tokenStartColumn=-1,t._hitEOF=!1,t._channel=o.DEFAULT_CHANNEL,t._type=o.INVALID_TYPE,t._modeStack=[],t._mode=y.DEFAULT_MODE,t._text=null,t}return u=y,(h=[{key:"reset",value:function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=o.INVALID_TYPE,this._channel=o.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=y.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var e=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=o.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var t=!1;;){this._type=o.INVALID_TYPE;var n=y.SKIP;try{n=this._interp.match(this._input,this._mode)}catch(e){if(!(e instanceof f))throw console.log(e.stack),e;this.notifyListeners(e),this.recover(e)}if(this._input.LA(1)===o.EOF&&(this._hitEOF=!0),this._type===o.INVALID_TYPE&&(this._type=n),this._type===y.SKIP){t=!0;break}if(this._type!==y.MORE)break}if(!t)return null===this._token&&this.emit(),this._token}}finally{this._input.release(e)}}},{key:"skip",value:function(){this._type=y.SKIP}},{key:"more",value:function(){this._type=y.MORE}},{key:"mode",value:function(e){this._mode=e}},{key:"pushMode",value:function(e){this._interp.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}},{key:"popMode",value:function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}},{key:"emitToken",value:function(e){this._token=e}},{key:"emit",value:function(){var e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(e),e}},{key:"emitEOF",value:function(){var e=this.column,t=this.line,n=this._factory.create(this._tokenFactorySourcePair,o.EOF,null,o.DEFAULT_CHANNEL,this._input.index,this._input.index-1,t,e);return this.emitToken(n),n}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var e=[],t=this.nextToken();t.type!==o.EOF;)e.push(t),t=this.nextToken();return e}},{key:"notifyListeners",value:function(e){var t=this._tokenStartCharIndex,n=this._input.index,r=this._input.getText(t,n),l="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,l,e)}},{key:"getErrorDisplay",value:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t.join("")}},{key:"getErrorDisplayForChar",value:function(e){return e.charCodeAt(0)===o.EOF?"<EOF>":"\n"===e?"\\n":"\t"===e?"\\t":"\r"===e?"\\r":e}},{key:"getCharErrorDisplay",value:function(e){return"'"+this.getErrorDisplayForChar(e)+"'"}},{key:"recover",value:function(e){this._input.LA(1)!==o.EOF&&(e instanceof m?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(e){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=e,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(e){this._type=e}},{key:"line",get:function(){return this._interp.line},set:function(e){this._interp.line=e}},{key:"column",get:function(){return this._interp.column},set:function(e){this._interp.column=e}},{key:"text",get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(e){this._text=e}}])&&s(u.prototype,h),p&&s(u,p),Object.defineProperty(u,"prototype",{writable:!1}),y}(u);h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=o.DEFAULT_CHANNEL,h.HIDDEN=o.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,e.exports=h},4680:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var f=n(9616).Token,m=n(4524),h=m.ParseTreeListener,p=m.TerminalNode,d=m.ErrorNode,y=n(500),g=n(3371).DefaultErrorStrategy,v=n(2162),b=n(697),_=n(4149),C=function(e){s(n,e);var t=u(n);function n(e){var r;return l(this,n),(r=t.call(this)).parser=e,r}return a(n,[{key:"enterEveryRule",value:function(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}]),n}(h),L=function(e){s(n,e);var t=u(n);function n(e){var r;return l(this,n),(r=t.call(this))._input=null,r._errHandler=new g,r._precedenceStack=[],r._precedenceStack.push(0),r._ctx=null,r.buildParseTrees=!0,r._tracer=null,r._parseListeners=null,r._syntaxErrors=0,r.setInputStream(e),r}return a(n,[{key:"reset",value:function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()}},{key:"match",value:function(e){var t=this.getCurrentToken();return t.type===e?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t}},{key:"matchWildcard",value:function(){var e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(e){if(null===e)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(e)}},{key:"removeParseListener",value:function(e){if(null!==this._parseListeners){var t=this._parseListeners.indexOf(e);t>=0&&this._parseListeners.splice(t,1),0===this._parseListeners.length&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.forEach((function(t){t.enterEveryRule(e),e.enterRule(t)}))}}},{key:"triggerExitRuleEvent",value:function(){if(null!==this._parseListeners){var e=this._ctx;this._parseListeners.slice(0).reverse().forEach((function(t){e.exitRule(t),t.exitEveryRule(e)}))}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(e){this._input.tokenSource._factory=e}},{key:"getATNWithBypassAlts",value:function(){var e=this.getSerializedATN();if(null===e)throw"The current parser does not support an ATN with bypass alternatives.";var t=this.bypassAltsAtnCache[e];if(null===t){var n=new b;n.generateRuleBypassTransitions=!0,t=new v(n).deserialize(e),this.bypassAltsAtnCache[e]=t}return t}},{key:"compileParseTreePattern",value:function(e,t,n){if(null===(n=n||null)&&null!==this.getTokenStream()){var r=this.getTokenStream().tokenSource;r instanceof _&&(n=r)}if(null===n)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(n,this).compile(e,t)}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(e){this.setTokenStream(e)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(e){this._input=null,this.reset(),this._input=e}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(e,t,n){n=n||null,null===(t=t||null)&&(t=this.getCurrentToken()),this._syntaxErrors+=1;var r=t.line,l=t.column;this.getErrorListenerDispatch().syntaxError(this,t,r,l,e,n)}},{key:"consume",value:function(){var e=this.getCurrentToken();e.type!==f.EOF&&this.getInputStream().consume();var t,n=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||n)&&((t=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(e):this._ctx.addTokenNode(e)).invokingState=this.state,n&&this._parseListeners.forEach((function(e){t instanceof d||void 0!==t.isErrorNode&&t.isErrorNode()?e.visitErrorNode(t):t instanceof p&&e.visitTerminal(t)}))),e}},{key:"addContextToParseTree",value:function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(e,t,n){this.state=t,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}},{key:"exitRule",value:function(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}},{key:"enterOuterAlt",value:function(e,t){e.setAltNumber(t),this.buildParseTrees&&this._ctx!==e&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}},{key:"getPrecedence",value:function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(e,t,n,r){this.state=t,this._precedenceStack.push(r),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(e,t,n){var r=this._ctx;r.parentCtx=e,r.invokingState=t,r.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=r.start,this.buildParseTrees&&this._ctx.addChild(r),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var t=this._ctx,n=this.getParseListeners();if(null!==n&&n.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;t.parentCtx=e,this.buildParseTrees&&null!==e&&e.addChild(t)}},{key:"getInvokingContext",value:function(e){for(var t=this._ctx;null!==t;){if(t.ruleIndex===e)return t;t=t.parentCtx}return null}},{key:"precpred",value:function(e,t){return t>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(e){return!1}},{key:"isExpectedToken",value:function(e){var t=this._interp.atn,n=this._ctx,r=t.states[this.state],l=t.nextTokens(r);if(l.contains(e))return!0;if(!l.contains(f.EPSILON))return!1;for(;null!==n&&n.invokingState>=0&&l.contains(f.EPSILON);){var i=t.states[n.invokingState].transitions[0];if((l=t.nextTokens(i.followState)).contains(e))return!0;n=n.parentCtx}return!(!l.contains(f.EPSILON)||e!==f.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var e=this._interp.atn,t=e.states[this.state];return e.nextTokens(t)}},{key:"getRuleIndex",value:function(e){var t=this.getRuleIndexMap()[e];return null!==t?t:-1}},{key:"getRuleInvocationStack",value:function(e){null===(e=e||null)&&(e=this._ctx);for(var t=[];null!==e;){var n=e.ruleIndex;n<0?t.push("n/a"):t.push(this.ruleNames[n]),e=e.parentCtx}return t}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var e=!1,t=0;t<this._interp.decisionToDFA.length;t++){var n=this._interp.decisionToDFA[t];n.states.length>0&&(e&&console.log(),this.printer.println("Decision "+n.decision+":"),this.printer.print(n.toString(this.literalNames,this.symbolicNames)),e=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(e){e?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new C(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}]),n}(y);L.bypassAltsAtnCache={},e.exports=L},788:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(3680),o=n(4524),u=o.INVALID_INTERVAL,c=o.TerminalNode,f=o.TerminalNodeImpl,m=o.ErrorNodeImpl,h=n(5062).Interval,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(y,e);var t,n,s,o,p,d=(t=y,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,l=a(t);if(n){var i=a(this).constructor;e=Reflect.construct(l,arguments,i)}else e=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function y(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),e=e||null,t=t||null,(n=d.call(this,e,t)).ruleIndex=-1,n.children=null,n.start=null,n.stop=null,n.exception=null,n}return s=y,(o=[{key:"copyFrom",value:function(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map((function(e){e instanceof m&&(this.children.push(e),e.parentCtx=this)}),this))}},{key:"enterRule",value:function(e){}},{key:"exitRule",value:function(e){}},{key:"addChild",value:function(e){return null===this.children&&(this.children=[]),this.children.push(e),e}},{key:"removeLastChild",value:function(){null!==this.children&&this.children.pop()}},{key:"addTokenNode",value:function(e){var t=new f(e);return this.addChild(t),t.parentCtx=this,t}},{key:"addErrorNode",value:function(e){var t=new m(e);return this.addChild(t),t.parentCtx=this,t}},{key:"getChild",value:function(e,t){if(t=t||null,null===this.children||e<0||e>=this.children.length)return null;if(null===t)return this.children[e];for(var n=0;n<this.children.length;n++){var r=this.children[n];if(r instanceof t){if(0===e)return r;e-=1}}return null}},{key:"getToken",value:function(e,t){if(null===this.children||t<0||t>=this.children.length)return null;for(var n=0;n<this.children.length;n++){var r=this.children[n];if(r instanceof c&&r.symbol.type===e){if(0===t)return r;t-=1}}return null}},{key:"getTokens",value:function(e){if(null===this.children)return[];for(var t=[],n=0;n<this.children.length;n++){var r=this.children[n];r instanceof c&&r.symbol.type===e&&t.push(r)}return t}},{key:"getTypedRuleContext",value:function(e,t){return this.getChild(t,e)}},{key:"getTypedRuleContexts",value:function(e){if(null===this.children)return[];for(var t=[],n=0;n<this.children.length;n++){var r=this.children[n];r instanceof e&&t.push(r)}return t}},{key:"getChildCount",value:function(){return null===this.children?0:this.children.length}},{key:"getSourceInterval",value:function(){return null===this.start||null===this.stop?u:new h(this.start.tokenIndex,this.stop.tokenIndex)}}])&&l(s.prototype,o),p&&l(s,p),Object.defineProperty(s,"prototype",{writable:!1}),y}(s);s.EMPTY=new p,e.exports=p},9699:function(e,t,n){function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var l=o(this).constructor;n=Reflect.construct(r,arguments,l)}else n=r.apply(this,arguments);return a(this,n)}}function a(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===u(l)?l:String(l)),r)}var l}function m(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var h=n(3680),p=n(7090),d=p.Hash,y=p.Map,g=p.equalArrays,v=function(){function e(t){c(this,e),this.cachedHashCode=t}return m(e,[{key:"isEmpty",value:function(){return this===e.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===e.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(e){e.update(this.cachedHashCode)}}]),e}();v.EMPTY=null,v.EMPTY_RETURN_STATE=2147483647,v.globalNodeCount=1,v.id=v.globalNodeCount;var b=function(){function e(){c(this,e),this.cache=new y}return m(e,[{key:"add",value:function(e){if(e===v.EMPTY)return v.EMPTY;var t=this.cache.get(e)||null;return null!==t?t:(this.cache.put(e,e),e)}},{key:"get",value:function(e){return this.cache.get(e)||null}},{key:"length",get:function(){return this.cache.length}}]),e}(),_=function(e){r(n,e);var t=i(n);function n(e,r){var l;c(this,n);var i,a=new d;return null!==e?a.update(e,r):a.update(1),i=a.finish(),(l=t.call(this,i)).parentCtx=e,l.returnState=r,l}return m(n,[{key:"getParent",value:function(e){return this.parentCtx}},{key:"getReturnState",value:function(e){return this.returnState}},{key:"equals",value:function(e){return this===e||e instanceof n&&this.hashCode()===e.hashCode()&&this.returnState===e.returnState&&(null==this.parentCtx?null==e.parentCtx:this.parentCtx.equals(e.parentCtx))}},{key:"toString",value:function(){var e=null===this.parentCtx?"":this.parentCtx.toString();return 0===e.length?this.returnState===v.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+e}},{key:"length",get:function(){return 1}}],[{key:"create",value:function(e,t){return t===v.EMPTY_RETURN_STATE&&null===e?v.EMPTY:new n(e,t)}}]),n}(v),C=function(e){r(n,e);var t=i(n);function n(){return c(this,n),t.call(this,null,v.EMPTY_RETURN_STATE)}return m(n,[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(e){return null}},{key:"getReturnState",value:function(e){return this.returnState}},{key:"equals",value:function(e){return this===e}},{key:"toString",value:function(){return"$"}}]),n}(_);v.EMPTY=new C;var L=function(e){r(n,e);var t=i(n);function n(e,r){var l;c(this,n);var i=new d;i.update(e,r);var o=i.finish();return(l=t.call(this,o)).parents=e,l.returnStates=r,a(l,s(l))}return m(n,[{key:"isEmpty",value:function(){return this.returnStates[0]===v.EMPTY_RETURN_STATE}},{key:"getParent",value:function(e){return this.parents[e]}},{key:"getReturnState",value:function(e){return this.returnStates[e]}},{key:"equals",value:function(e){return this===e||e instanceof n&&this.hashCode()===e.hashCode()&&g(this.returnStates,e.returnStates)&&g(this.parents,e.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var e="[",t=0;t<this.returnStates.length;t++)t>0&&(e+=", "),this.returnStates[t]!==v.EMPTY_RETURN_STATE?(e+=this.returnStates[t],null!==this.parents[t]?e=e+" "+this.parents[t]:e+="null"):e+="$";return e+"]"}},{key:"length",get:function(){return this.returnStates.length}}]),n}(v);e.exports={merge:function e(t,n,r,l){if(t===n)return t;if(t instanceof _&&n instanceof _)return function(t,n,r,l){if(null!==l){var i=l.get(t,n);if(null!==i)return i;if(null!==(i=l.get(n,t)))return i}var a=function(e,t,n){if(n){if(e===v.EMPTY)return v.EMPTY;if(t===v.EMPTY)return v.EMPTY}else{if(e===v.EMPTY&&t===v.EMPTY)return v.EMPTY;if(e===v.EMPTY){var r=[t.returnState,v.EMPTY_RETURN_STATE],l=[t.parentCtx,null];return new L(l,r)}if(t===v.EMPTY){var i=[e.returnState,v.EMPTY_RETURN_STATE],a=[e.parentCtx,null];return new L(a,i)}}return null}(t,n,r);if(null!==a)return null!==l&&l.set(t,n,a),a;if(t.returnState===n.returnState){var s=e(t.parentCtx,n.parentCtx,r,l);if(s===t.parentCtx)return t;if(s===n.parentCtx)return n;var o=_.create(s,t.returnState);return null!==l&&l.set(t,n,o),o}var u=null;if((t===n||null!==t.parentCtx&&t.parentCtx===n.parentCtx)&&(u=t.parentCtx),null!==u){var c=[t.returnState,n.returnState];t.returnState>n.returnState&&(c[0]=n.returnState,c[1]=t.returnState);var f=new L([u,u],c);return null!==l&&l.set(t,n,f),f}var m=[t.returnState,n.returnState],h=[t.parentCtx,n.parentCtx];t.returnState>n.returnState&&(m[0]=n.returnState,m[1]=t.returnState,h=[n.parentCtx,t.parentCtx]);var p=new L(h,m);return null!==l&&l.set(t,n,p),p}(t,n,r,l);if(r){if(t instanceof C)return t;if(n instanceof C)return n}return t instanceof _&&(t=new L([t.getParent()],[t.returnState])),n instanceof _&&(n=new L([n.getParent()],[n.returnState])),function(t,n,r,l){if(null!==l){var i=l.get(t,n);if(null!==i)return i;if(null!==(i=l.get(n,t)))return i}for(var a=0,s=0,o=0,u=[],c=[];a<t.returnStates.length&&s<n.returnStates.length;){var f=t.parents[a],m=n.parents[s];if(t.returnStates[a]===n.returnStates[s]){var h=t.returnStates[a];h===v.EMPTY_RETURN_STATE&&null===f&&null===m||null!==f&&null!==m&&f===m?(c[o]=f,u[o]=h):(c[o]=e(f,m,r,l),u[o]=h),a+=1,s+=1}else t.returnStates[a]<n.returnStates[s]?(c[o]=f,u[o]=t.returnStates[a],a+=1):(c[o]=m,u[o]=n.returnStates[s],s+=1);o+=1}if(a<t.returnStates.length)for(var p=a;p<t.returnStates.length;p++)c[o]=t.parents[p],u[o]=t.returnStates[p],o+=1;else for(var d=s;d<n.returnStates.length;d++)c[o]=n.parents[d],u[o]=n.returnStates[d],o+=1;if(o<c.length){if(1===o){var g=_.create(c[0],u[0]);return null!==l&&l.set(t,n,g),g}c=c.slice(0,o),u=u.slice(0,o)}var b=new L(c,u);return b===t?(null!==l&&l.set(t,n,t),t):b===n?(null!==l&&l.set(t,n,n),n):(function(e){for(var t=new y,n=0;n<e.length;n++){var r=e[n];t.containsKey(r)||t.put(r,r)}for(var l=0;l<e.length;l++)e[l]=t.get(e[l])}(c),null!==l&&l.set(t,n,b),b)}(t,n,r,l)},PredictionContext:v,PredictionContextCache:b,SingletonPredictionContext:_,predictionContextFromRuleContext:function e(t,n){if(null==n&&(n=h.EMPTY),null===n.parentCtx||n===h.EMPTY)return v.EMPTY;var r=e(t,n.parentCtx),l=t.states[n.invokingState].transitions[0];return _.create(r,l.followState.stateNumber)},getCachedPredictionContext:function e(t,n,r){if(t.isEmpty())return t;var l=r.get(t)||null;if(null!==l)return l;if(null!==(l=n.get(t)))return r.put(t,l),l;for(var i=!1,a=[],s=0;s<a.length;s++){var o=e(t.getParent(s),n,r);if(i||o!==t.getParent(s)){if(!i){a=[];for(var u=0;u<t.length;u++)a[u]=t.getParent(u);i=!0}a[s]=o}}if(!i)return n.add(t),r.put(t,t),t;var c;return c=0===a.length?v.EMPTY:1===a.length?_.create(a[0],t.getReturnState(0)):new L(a,t.returnStates),n.add(c),r.put(c,c),r.put(t,c),c}}},500:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(9616).Token,a=n(7239).ConsoleErrorListener,s=n(7239).ProxyErrorListener,o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listeners=[a.INSTANCE],this._interp=null,this._stateNumber=-1}var t,n;return t=e,(n=[{key:"checkVersion",value:function(e){"4.9.3"!==e&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+e)}},{key:"addErrorListener",value:function(e){this._listeners.push(e)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var e=this.getLiteralNames(),t=this.getSymbolicNames(),n=e.length>t.length?e.length:t.length;this.tokenNames=[];for(var r=0;r<n;r++)this.tokenNames[r]=e[r]||t[r]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var e=this.getTokenNames();if(null===e)throw"The current recognizer does not provide a list of token names.";var t=this.tokenTypeMapCache[e];return void 0===t&&((t=e.reduce((function(e,t,n){e[t]=n}))).EOF=i.EOF,this.tokenTypeMapCache[e]=t),t}},{key:"getRuleIndexMap",value:function(){var e=this.ruleNames;if(null===e)throw"The current recognizer does not provide a list of rule names.";var t=this.ruleIndexMapCache[e];return void 0===t&&(t=e.reduce((function(e,t,n){e[t]=n})),this.ruleIndexMapCache[e]=t),t}},{key:"getTokenType",value:function(e){var t=this.getTokenTypeMap()[e];return void 0!==t?t:i.INVALID_TYPE}},{key:"getErrorHeader",value:function(e){return"line "+e.getOffendingToken().line+":"+e.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(e){if(null===e)return"<no token>";var t=e.text;return null===t&&(t=e.type===i.EOF?"<EOF>":"<"+e.type+">"),"'"+(t=t.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new s(this._listeners)}},{key:"sempred",value:function(e,t,n){return!0}},{key:"precpred",value:function(e,t){return!0}},{key:"state",get:function(){return this._stateNumber},set:function(e){this._stateNumber=e}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();o.tokenTypeMapCache={},o.ruleIndexMapCache={},e.exports=o},3680:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(4524).RuleNode,o=n(4524).INVALID_INTERVAL,u=n(9541),c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(m,e);var t,n,s,c,f=(s=m,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=a(s);if(c){var n=a(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function m(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),(n=f.call(this)).parentCtx=e||null,n.invokingState=t||-1,n}return t=m,(n=[{key:"depth",value:function(){for(var e=0,t=this;null!==t;)t=t.parentCtx,e+=1;return e}},{key:"isEmpty",value:function(){return-1===this.invokingState}},{key:"getSourceInterval",value:function(){return o}},{key:"getRuleContext",value:function(){return this}},{key:"getPayload",value:function(){return this}},{key:"getText",value:function(){return 0===this.getChildCount()?"":this.children.map((function(e){return e.getText()})).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(e){}},{key:"getChild",value:function(e){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(e){return e.visitChildren(this)}},{key:"toStringTree",value:function(e,t){return u.toStringTree(this,e,t)}},{key:"toString",value:function(e,t){e=e||null,t=t||null;for(var n=this,r="[";null!==n&&n!==t;){if(null===e)n.isEmpty()||(r+=n.invokingState);else{var l=n.ruleIndex;r+=l>=0&&l<e.length?e[l]:""+l}null===n.parentCtx||null===e&&n.parentCtx.isEmpty()||(r+=" "),n=n.parentCtx}return r+"]"}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(s);e.exports=c},9616:function(e){function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=function(){function e(){l(this,e),this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}return a(e,[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(e){this._text=e}}]),e}();s.INVALID_TYPE=0,s.EPSILON=-2,s.MIN_USER_TOKEN_TYPE=1,s.EOF=-1,s.DEFAULT_CHANNEL=0,s.HIDDEN_CHANNEL=1;var o=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&t(e,n)}(c,e);var i,o,u=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=n(i);if(o){var l=n(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(e,t,n,r,i){var a;return l(this,c),(a=u.call(this)).source=void 0!==e?e:c.EMPTY_SOURCE,a.type=void 0!==t?t:null,a.channel=void 0!==n?n:s.DEFAULT_CHANNEL,a.start=void 0!==r?r:-1,a.stop=void 0!==i?i:-1,a.tokenIndex=-1,null!==a.source[0]?(a.line=e[0].line,a.column=e[0].column):a.column=-1,a}return a(c,[{key:"clone",value:function(){var e=new c(this.source,this.type,this.channel,this.start,this.stop);return e.tokenIndex=this.tokenIndex,e.line=this.line,e.column=this.column,e.text=this.text,e}},{key:"toString",value:function(){var e=this.text;return e=null!==e?e.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(null!==this._text)return this._text;var e=this.getInputStream();if(null===e)return null;var t=e.size;return this.start<t&&this.stop<t?e.getText(this.start,this.stop):"<EOF>"},set:function(e){this._text=e}}]),c}(s);o.EMPTY_SOURCE=[null,null],e.exports={Token:s,CommonToken:o}},7090:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,n){for(var r=0;r<n.length;r++){var l=n[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,"string");if("object"!==t(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===t(i)?i:String(i)),l)}var i}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){return null===e?"null":e}function a(e){return Array.isArray(e)?"["+e.map(i).join(", ")+"]":"null"}function s(e,t){return e?e.equals(t):e==t}function o(e){return e?e.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){for(var e,t,n=this.toString(),r=3&n.length,l=n.length-r,i=String.prototype.seed,a=3432918353,s=461845907,o=0;o<l;)t=255&n.charCodeAt(o)|(255&n.charCodeAt(++o))<<8|(255&n.charCodeAt(++o))<<16|(255&n.charCodeAt(++o))<<24,++o,i=27492+(65535&(e=5*(65535&(i=(i^=t=(65535&(t=(t=(65535&t)*a+(((t>>>16)*a&65535)<<16)&4294967295)<<15|t>>>17))*s+(((t>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(e>>>16)&65535)<<16);switch(t=0,r){case 3:t^=(255&n.charCodeAt(o+2))<<16;case 2:t^=(255&n.charCodeAt(o+1))<<8;case 1:i^=t=(65535&(t=(t=(65535&(t^=255&n.charCodeAt(o)))*a+(((t>>>16)*a&65535)<<16)&4294967295)<<15|t>>>17))*s+(((t>>>16)*s&65535)<<16)&4294967295}return i^=n.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0};var u=function(){function e(t,r){n(this,e),this.data={},this.hashFunction=t||o,this.equalsFunction=r||s}return l(e,[{key:"add",value:function(e){var t="hash_"+this.hashFunction(e);if(t in this.data){for(var n=this.data[t],r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return n.push(e),e}return this.data[t]=[e],e}},{key:"contains",value:function(e){return null!=this.get(e)}},{key:"get",value:function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++)if(this.equalsFunction(e,n[r]))return n[r];return null}},{key:"values",value:function(){var e=[];for(var t in this.data)0===t.indexOf("hash_")&&(e=e.concat(this.data[t]));return e}},{key:"toString",value:function(){return a(this.values())}},{key:"length",get:function(){var e=0;for(var t in this.data)0===t.indexOf("hash_")&&(e+=this.data[t].length);return e}}]),e}(),c=function(){function e(){n(this,e),this.data=[]}return l(e,[{key:"add",value:function(e){this.data[e]=!0}},{key:"or",value:function(e){var t=this;Object.keys(e.data).map((function(e){t.add(e)}))}},{key:"remove",value:function(e){delete this.data[e]}},{key:"contains",value:function(e){return!0===this.data[e]}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){var e=new p;return e.update(this.values()),e.finish()}},{key:"equals",value:function(t){return t instanceof e&&this.hashCode()===t.hashCode()}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}]),e}(),f=function(){function e(t,r){n(this,e),this.data={},this.hashFunction=t||o,this.equalsFunction=r||s}return l(e,[{key:"put",value:function(e,t){var n="hash_"+this.hashFunction(e);if(n in this.data){for(var r=this.data[n],l=0;l<r.length;l++){var i=r[l];if(this.equalsFunction(e,i.key)){var a=i.value;return i.value=t,a}}return r.push({key:e,value:t}),t}return this.data[n]=[{key:e,value:t}],t}},{key:"containsKey",value:function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++){var l=n[r];if(this.equalsFunction(e,l.key))return!0}return!1}},{key:"get",value:function(e){var t="hash_"+this.hashFunction(e);if(t in this.data)for(var n=this.data[t],r=0;r<n.length;r++){var l=n[r];if(this.equalsFunction(e,l.key))return l.value}return null}},{key:"entries",value:function(){var e=[];for(var t in this.data)0===t.indexOf("hash_")&&(e=e.concat(this.data[t]));return e}},{key:"getKeys",value:function(){return this.entries().map((function(e){return e.key}))}},{key:"getValues",value:function(){return this.entries().map((function(e){return e.value}))}},{key:"toString",value:function(){return"["+this.entries().map((function(e){return"{"+e.key+":"+e.value+"}"})).join(", ")+"]"}},{key:"length",get:function(){var e=0;for(var t in this.data)0===t.indexOf("hash_")&&(e+=this.data[t].length);return e}}]),e}(),m=function(){function e(){n(this,e),this.data={}}return l(e,[{key:"get",value:function(e){return(e="k-"+e)in this.data?this.data[e]:null}},{key:"put",value:function(e,t){e="k-"+e,this.data[e]=t}},{key:"values",value:function(){var e=this.data;return Object.keys(this.data).map((function(t){return e[t]}))}}]),e}(),h=function(){function e(t){n(this,e),this.defaultMapCtor=t||f,this.cacheMap=new this.defaultMapCtor}return l(e,[{key:"get",value:function(e,t){var n=this.cacheMap.get(e)||null;return null===n?null:n.get(t)||null}},{key:"set",value:function(e,t,n){var r=this.cacheMap.get(e)||null;null===r&&(r=new this.defaultMapCtor,this.cacheMap.put(e,r)),r.put(t,n)}}]),e}(),p=function(){function e(){n(this,e),this.count=0,this.hash=0}return l(e,[{key:"update",value:function(){for(var e=0;e<arguments.length;e++){var n=arguments[e];if(null!=n)if(Array.isArray(n))this.update.apply(this,n);else{var r=0;switch(t(n)){case"undefined":case"function":continue;case"number":case"boolean":r=n;break;case"string":r=n.hashCode();break;default:n.updateHashCode?n.updateHashCode(this):console.log("No updateHashCode for "+n.toString());continue}r=(r*=3432918353)<<15|r>>>17,r*=461845907,this.count=this.count+1;var l=this.hash^r;l=5*(l=l<<13|l>>>19)+3864292196,this.hash=l}}}},{key:"finish",value:function(){var e=this.hash^4*this.count;return e^=e>>>16,e*=2246822507,e^=e>>>13,(e*=3266489909)^e>>>16}}]),e}();e.exports={Hash:p,Set:u,Map:f,BitSet:c,AltDict:m,DoubleDict:h,hashStuff:function(){var e=new p;return e.update.apply(e,arguments),e.finish()},escapeWhitespace:function(e,t){return e=e.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),t&&(e=e.replace(/ /g,"·")),e},arrayToString:a,titleCase:function(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}))},equalArrays:function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!(e[n]===t[n]||e[n].equals&&e[n].equals(t[n])))return!1;return!0}}},7835:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(2894),a=n(5062).IntervalSet,s=n(9616).Token,o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.grammarType=t,this.maxTokenType=n,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var t,n;return t=e,(n=[{key:"nextTokensInContext",value:function(e,t){return new i(this).LOOK(e,null,t)}},{key:"nextTokensNoContext",value:function(e){return null!==e.nextTokenWithinRule||(e.nextTokenWithinRule=this.nextTokensInContext(e,null),e.nextTokenWithinRule.readOnly=!0),e.nextTokenWithinRule}},{key:"nextTokens",value:function(e,t){return void 0===t?this.nextTokensNoContext(e):this.nextTokensInContext(e,t)}},{key:"addState",value:function(e){null!==e&&(e.atn=this,e.stateNumber=this.states.length),this.states.push(e)}},{key:"removeState",value:function(e){this.states[e.stateNumber]=null}},{key:"defineDecisionState",value:function(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,e.decision}},{key:"getDecisionState",value:function(e){return 0===this.decisionToState.length?null:this.decisionToState[e]}},{key:"getExpectedTokens",value:function(e,t){if(e<0||e>=this.states.length)throw"Invalid state number.";var n=this.states[e],r=this.nextTokens(n);if(!r.contains(s.EPSILON))return r;var l=new a;for(l.addSet(r),l.removeOne(s.EPSILON);null!==t&&t.invokingState>=0&&r.contains(s.EPSILON);){var i=this.states[t.invokingState].transitions[0];r=this.nextTokens(i.followState),l.addSet(r),l.removeOne(s.EPSILON),t=t.parentCtx}return r.contains(s.EPSILON)&&l.addOne(s.EOF),l}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();o.INVALID_ALT_NUMBER=0,e.exports=o},4769:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(r){var l=Object.getOwnPropertyDescriptor(r,t);return l.get?l.get.call(arguments.length<3?e:n):l.value}},l.apply(this,arguments)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var m=n(4).DecisionState,h=n(7871).SemanticContext,p=n(7090).Hash;function d(e,t){if(null===e){var n={state:null,alt:null,context:null,semanticContext:null};return t&&(n.reachesIntoOuterContext=0),n}var r={};return r.state=e.state||null,r.alt=void 0===e.alt?null:e.alt,r.context=e.context||null,r.semanticContext=e.semanticContext||null,t&&(r.reachesIntoOuterContext=e.reachesIntoOuterContext||0,r.precedenceFilterSuppressed=e.precedenceFilterSuppressed||!1),r}var y=function(){function e(t,n){u(this,e),this.checkContext(t,n),t=d(t),n=d(n,!0),this.state=null!==t.state?t.state:n.state,this.alt=null!==t.alt?t.alt:n.alt,this.context=null!==t.context?t.context:n.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==n.semanticContext?n.semanticContext:h.NONE,this.reachesIntoOuterContext=n.reachesIntoOuterContext,this.precedenceFilterSuppressed=n.precedenceFilterSuppressed}return f(e,[{key:"checkContext",value:function(e,t){null!==e.context&&void 0!==e.context||null!==t&&null!==t.context&&void 0!==t.context||(this.context=null)}},{key:"hashCode",value:function(){var e=new p;return this.updateHashCode(e),e.finish()}},{key:"updateHashCode",value:function(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(t){return this===t||t instanceof e&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var e=new p;return e.update(this.state.stateNumber,this.alt,this.semanticContext),e.finish()}},{key:"equalsForConfigSet",value:function(t){return this===t||t instanceof e&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==h.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}]),e}(),g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(c,e);var t,n,r=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=o(t);if(n){var l=o(this).constructor;e=Reflect.construct(r,arguments,l)}else e=r.apply(this,arguments);return a(this,e)});function c(e,t){var n;u(this,c),n=r.call(this,e,t);var l=e.lexerActionExecutor||null;return n.lexerActionExecutor=l||(null!==t?t.lexerActionExecutor:null),n.passedThroughNonGreedyDecision=null!==t&&n.checkNonGreedyDecision(t,n.state),n.hashCodeForConfigSet=c.prototype.hashCode,n.equalsForConfigSet=c.prototype.equals,a(n,s(n))}return f(c,[{key:"updateHashCode",value:function(e){e.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(e){return this===e||e instanceof c&&this.passedThroughNonGreedyDecision===e.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(e.lexerActionExecutor):!e.lexerActionExecutor)&&l(o(c.prototype),"equals",this).call(this,e)}},{key:"checkNonGreedyDecision",value:function(e,t){return e.passedThroughNonGreedyDecision||t instanceof m&&t.nonGreedy}}]),c}(y);e.exports.ATNConfig=y,e.exports.LexerATNConfig=g},5327:function(e,t,n){function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===i(l)?l:String(l)),r)}var l}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=n(7835),c=n(7090),f=n(7871).SemanticContext,m=n(9699).merge;function h(e){return e.hashCodeForConfigSet()}function p(e,t){return e===t||null!==e&&null!==t&&e.equalsForConfigSet(t)}var d=function(){function e(t){a(this,e),this.configLookup=new c.Set(h,p),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}return o(e,[{key:"add",value:function(e,t){if(void 0===t&&(t=null),this.readOnly)throw"This set is readonly";e.semanticContext!==f.NONE&&(this.hasSemanticContext=!0),e.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var n=this.configLookup.add(e);if(n===e)return this.cachedHashCode=-1,this.configs.push(e),!0;var r=!this.fullCtx,l=m(n.context,e.context,r,t);return n.reachesIntoOuterContext=Math.max(n.reachesIntoOuterContext,e.reachesIntoOuterContext),e.precedenceFilterSuppressed&&(n.precedenceFilterSuppressed=!0),n.context=l,!0}},{key:"getStates",value:function(){for(var e=new c.Set,t=0;t<this.configs.length;t++)e.add(this.configs[t].state);return e}},{key:"getPredicates",value:function(){for(var e=[],t=0;t<this.configs.length;t++){var n=this.configs[t].semanticContext;n!==f.NONE&&e.push(n.semanticContext)}return e}},{key:"optimizeConfigs",value:function(e){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var t=0;t<this.configs.length;t++){var n=this.configs[t];n.context=e.getCachedContext(n.context)}}},{key:"addAll",value:function(e){for(var t=0;t<e.length;t++)this.add(e[t]);return!1}},{key:"equals",value:function(t){return this===t||t instanceof e&&c.equalArrays(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext}},{key:"hashCode",value:function(){var e=new c.Hash;return e.update(this.configs),e.finish()}},{key:"updateHashCode",value:function(e){this.readOnly?(-1===this.cachedHashCode&&(this.cachedHashCode=this.hashCode()),e.update(this.cachedHashCode)):e.update(this.hashCode())}},{key:"isEmpty",value:function(){return 0===this.configs.length}},{key:"contains",value:function(e){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(e)}},{key:"containsFast",value:function(e){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(e)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new c.Set}},{key:"setReadonly",value:function(e){this.readOnly=e,e&&(this.configLookup=null)}},{key:"toString",value:function(){return c.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==u.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}},{key:"items",get:function(){return this.configs}},{key:"length",get:function(){return this.configs.length}}]),e}(),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}(u,e);var t,n,s=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=l(t);if(n){var a=l(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function u(){var e;return a(this,u),(e=s.call(this)).configLookup=new c.Set,e}return o(u)}(d);e.exports={ATNConfigSet:d,OrderedATNConfigSet:y}},697:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,n){for(var r=0;r<n.length;r++){var l=n[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,"string");if("object"!==t(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===t(i)?i:String(i)),l)}var i}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var l=r((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions}));l.defaultOptions=new l,l.defaultOptions.readOnly=!0,e.exports=l},2162:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(9616).Token,a=n(7835),s=n(6316),o=n(4),u=o.ATNState,c=o.BasicState,f=o.DecisionState,m=o.BlockStartState,h=o.BlockEndState,p=o.LoopEndState,d=o.RuleStartState,y=o.RuleStopState,g=o.TokensStartState,v=o.PlusLoopbackState,b=o.StarLoopbackState,_=o.StarLoopEntryState,C=o.PlusBlockStartState,L=o.StarBlockStartState,k=o.BasicBlockStartState,S=n(3412),T=S.Transition,U=S.AtomTransition,O=S.SetTransition,x=S.NotSetTransition,M=S.RuleTransition,I=S.RangeTransition,E=S.ActionTransition,w=S.EpsilonTransition,N=S.WildcardTransition,P=S.PredicateTransition,R=S.PrecedencePredicateTransition,A=n(5062).IntervalSet,D=n(697),F=n(732),q=F.LexerActionType,j=F.LexerSkipAction,B=F.LexerChannelAction,H=F.LexerCustomAction,z=F.LexerMoreAction,G=F.LexerTypeAction,V=F.LexerPushModeAction,K=F.LexerPopModeAction,W=F.LexerModeAction,J="59627784-3BE5-417A-B9EB-8131A7286089",Y=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",J],Q=J;function $(e,t){var n=[];return n[e-1]=t,n.map((function(e){return t}))}var X=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),null==t&&(t=D.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null}var t,n;return t=e,(n=[{key:"isFeatureSupported",value:function(e,t){var n=Y.indexOf(e);return!(n<0)&&Y.indexOf(t)>=n}},{key:"deserialize",value:function(e){this.reset(e),this.checkVersion(),this.checkUUID();var t=this.readATN();this.readStates(t),this.readRules(t),this.readModes(t);var n=[];return this.readSets(t,n,this.readInt.bind(this)),this.isFeatureSupported(J,this.uuid)&&this.readSets(t,n,this.readInt32.bind(this)),this.readEdges(t,n),this.readDecisions(t),this.readLexerActions(t),this.markPrecedenceDecisions(t),this.verifyATN(t),this.deserializationOptions.generateRuleBypassTransitions&&t.grammarType===s.PARSER&&(this.generateRuleBypassTransitions(t),this.verifyATN(t)),t}},{key:"reset",value:function(e){var t=e.split("").map((function(e){var t=e.charCodeAt(0);return t>1?t-2:t+65534}));t[0]=e.charCodeAt(0),this.data=t,this.pos=0}},{key:"checkVersion",value:function(){var e=this.readInt();if(3!==e)throw"Could not deserialize ATN with version "+e+" (expected 3)."}},{key:"checkUUID",value:function(){var e=this.readUUID();if(Y.indexOf(e)<0)throw Q;this.uuid=e}},{key:"readATN",value:function(){var e=this.readInt(),t=this.readInt();return new a(e,t)}},{key:"readStates",value:function(e){for(var t,n,r,l=[],i=[],a=this.readInt(),s=0;s<a;s++){var o=this.readInt();if(o!==u.INVALID_TYPE){var c=this.readInt();65535===c&&(c=-1);var f=this.stateFactory(o,c);if(o===u.LOOP_END){var h=this.readInt();l.push([f,h])}else if(f instanceof m){var p=this.readInt();i.push([f,p])}e.addState(f)}else e.addState(null)}for(t=0;t<l.length;t++)(n=l[t])[0].loopBackState=e.states[n[1]];for(t=0;t<i.length;t++)(n=i[t])[0].endState=e.states[n[1]];var d=this.readInt();for(t=0;t<d;t++)r=this.readInt(),e.states[r].nonGreedy=!0;var y=this.readInt();for(t=0;t<y;t++)r=this.readInt(),e.states[r].isPrecedenceRule=!0}},{key:"readRules",value:function(e){var t,n=this.readInt();for(e.grammarType===s.LEXER&&(e.ruleToTokenType=$(n,0)),e.ruleToStartState=$(n,0),t=0;t<n;t++){var r=this.readInt();if(e.ruleToStartState[t]=e.states[r],e.grammarType===s.LEXER){var l=this.readInt();65535===l&&(l=i.EOF),e.ruleToTokenType[t]=l}}for(e.ruleToStopState=$(n,0),t=0;t<e.states.length;t++){var a=e.states[t];a instanceof y&&(e.ruleToStopState[a.ruleIndex]=a,e.ruleToStartState[a.ruleIndex].stopState=a)}}},{key:"readModes",value:function(e){for(var t=this.readInt(),n=0;n<t;n++){var r=this.readInt();e.modeToStartState.push(e.states[r])}}},{key:"readSets",value:function(e,t,n){for(var r=this.readInt(),l=0;l<r;l++){var i=new A;t.push(i);var a=this.readInt();0!==this.readInt()&&i.addOne(-1);for(var s=0;s<a;s++){var o=n(),u=n();i.addRange(o,u)}}}},{key:"readEdges",value:function(e,t){var n,r,l,i,a,s=this.readInt();for(n=0;n<s;n++){var o=this.readInt(),u=this.readInt(),c=this.readInt(),f=this.readInt(),h=this.readInt(),p=this.readInt();i=this.edgeFactory(e,c,o,u,f,h,p,t),e.states[o].addTransition(i)}for(n=0;n<e.states.length;n++)for(l=e.states[n],r=0;r<l.transitions.length;r++){var d=l.transitions[r];if(d instanceof M){var y=-1;e.ruleToStartState[d.target.ruleIndex].isPrecedenceRule&&0===d.precedence&&(y=d.target.ruleIndex),i=new w(d.followState,y),e.ruleToStopState[d.target.ruleIndex].addTransition(i)}}for(n=0;n<e.states.length;n++){if((l=e.states[n])instanceof m){if(null===l.endState)throw"IllegalState";if(null!==l.endState.startState)throw"IllegalState";l.endState.startState=l}if(l instanceof v)for(r=0;r<l.transitions.length;r++)(a=l.transitions[r].target)instanceof C&&(a.loopBackState=l);else if(l instanceof b)for(r=0;r<l.transitions.length;r++)(a=l.transitions[r].target)instanceof _&&(a.loopBackState=l)}}},{key:"readDecisions",value:function(e){for(var t=this.readInt(),n=0;n<t;n++){var r=this.readInt(),l=e.states[r];e.decisionToState.push(l),l.decision=n}}},{key:"readLexerActions",value:function(e){if(e.grammarType===s.LEXER){var t=this.readInt();e.lexerActions=$(t,null);for(var n=0;n<t;n++){var r=this.readInt(),l=this.readInt();65535===l&&(l=-1);var i=this.readInt();65535===i&&(i=-1),e.lexerActions[n]=this.lexerActionFactory(r,l,i)}}}},{key:"generateRuleBypassTransitions",value:function(e){var t,n=e.ruleToStartState.length;for(t=0;t<n;t++)e.ruleToTokenType[t]=e.maxTokenType+t+1;for(t=0;t<n;t++)this.generateRuleBypassTransition(e,t)}},{key:"generateRuleBypassTransition",value:function(e,t){var n,r,l=new k;l.ruleIndex=t,e.addState(l);var i=new h;i.ruleIndex=t,e.addState(i),l.endState=i,e.defineDecisionState(l),i.startState=l;var a=null,s=null;if(e.ruleToStartState[t].isPrecedenceRule){for(s=null,n=0;n<e.states.length;n++)if(r=e.states[n],this.stateIsEndStateFor(r,t)){s=r,a=r.loopBackState.transitions[0];break}if(null===a)throw"Couldn't identify final state of the precedence rule prefix section."}else s=e.ruleToStopState[t];for(n=0;n<e.states.length;n++){r=e.states[n];for(var o=0;o<r.transitions.length;o++){var u=r.transitions[o];u!==a&&u.target===s&&(u.target=i)}}for(var f=e.ruleToStartState[t],m=f.transitions.length;m>0;)l.addTransition(f.transitions[m-1]),f.transitions=f.transitions.slice(-1);e.ruleToStartState[t].addTransition(new w(l)),i.addTransition(new w(s));var p=new c;e.addState(p),p.addTransition(new U(i,e.ruleToTokenType[t])),l.addTransition(new w(p))}},{key:"stateIsEndStateFor",value:function(e,t){if(e.ruleIndex!==t)return null;if(!(e instanceof _))return null;var n=e.transitions[e.transitions.length-1].target;return n instanceof p&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof y?e:null}},{key:"markPrecedenceDecisions",value:function(e){for(var t=0;t<e.states.length;t++){var n=e.states[t];if(n instanceof _&&e.ruleToStartState[n.ruleIndex].isPrecedenceRule){var r=n.transitions[n.transitions.length-1].target;r instanceof p&&r.epsilonOnlyTransitions&&r.transitions[0].target instanceof y&&(n.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(e){if(this.deserializationOptions.verifyATN)for(var t=0;t<e.states.length;t++){var n=e.states[t];if(null!==n)if(this.checkCondition(n.epsilonOnlyTransitions||n.transitions.length<=1),n instanceof C)this.checkCondition(null!==n.loopBackState);else if(n instanceof _)if(this.checkCondition(null!==n.loopBackState),this.checkCondition(2===n.transitions.length),n.transitions[0].target instanceof L)this.checkCondition(n.transitions[1].target instanceof p),this.checkCondition(!n.nonGreedy);else{if(!(n.transitions[0].target instanceof p))throw"IllegalState";this.checkCondition(n.transitions[1].target instanceof L),this.checkCondition(n.nonGreedy)}else n instanceof b?(this.checkCondition(1===n.transitions.length),this.checkCondition(n.transitions[0].target instanceof _)):n instanceof p?this.checkCondition(null!==n.loopBackState):n instanceof d?this.checkCondition(null!==n.stopState):n instanceof m?this.checkCondition(null!==n.endState):n instanceof h?this.checkCondition(null!==n.startState):n instanceof f?this.checkCondition(n.transitions.length<=1||n.decision>=0):this.checkCondition(n.transitions.length<=1||n instanceof y)}}},{key:"checkCondition",value:function(e,t){if(!e)throw null==t&&(t="IllegalState"),t}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"readLong",value:function(){return 4294967295&this.readInt32()|this.readInt32()<<32}},{key:"readUUID",value:function(){for(var e=[],t=7;t>=0;t--){var n=this.readInt();e[2*t+1]=255&n,e[2*t]=n>>8&255}return Z[e[0]]+Z[e[1]]+Z[e[2]]+Z[e[3]]+"-"+Z[e[4]]+Z[e[5]]+"-"+Z[e[6]]+Z[e[7]]+"-"+Z[e[8]]+Z[e[9]]+"-"+Z[e[10]]+Z[e[11]]+Z[e[12]]+Z[e[13]]+Z[e[14]]+Z[e[15]]}},{key:"edgeFactory",value:function(e,t,n,r,l,a,s,o){var u=e.states[r];switch(t){case T.EPSILON:return new w(u);case T.RANGE:return new I(u,0!==s?i.EOF:l,a);case T.RULE:return new M(e.states[l],a,s,u);case T.PREDICATE:return new P(u,l,a,0!==s);case T.PRECEDENCE:return new R(u,l);case T.ATOM:return new U(u,0!==s?i.EOF:l);case T.ACTION:return new E(u,l,a,0!==s);case T.SET:return new O(u,o[l]);case T.NOT_SET:return new x(u,o[l]);case T.WILDCARD:return new N(u);default:throw"The specified transition type: "+t+" is not valid."}}},{key:"stateFactory",value:function(e,t){if(null===this.stateFactories){var n=[];n[u.INVALID_TYPE]=null,n[u.BASIC]=function(){return new c},n[u.RULE_START]=function(){return new d},n[u.BLOCK_START]=function(){return new k},n[u.PLUS_BLOCK_START]=function(){return new C},n[u.STAR_BLOCK_START]=function(){return new L},n[u.TOKEN_START]=function(){return new g},n[u.RULE_STOP]=function(){return new y},n[u.BLOCK_END]=function(){return new h},n[u.STAR_LOOP_BACK]=function(){return new b},n[u.STAR_LOOP_ENTRY]=function(){return new _},n[u.PLUS_LOOP_BACK]=function(){return new v},n[u.LOOP_END]=function(){return new p},this.stateFactories=n}if(e>this.stateFactories.length||null===this.stateFactories[e])throw"The specified state type "+e+" is not valid.";var r=this.stateFactories[e]();if(null!==r)return r.ruleIndex=t,r}},{key:"lexerActionFactory",value:function(e,t,n){if(null===this.actionFactories){var r=[];r[q.CHANNEL]=function(e,t){return new B(e)},r[q.CUSTOM]=function(e,t){return new H(e,t)},r[q.MODE]=function(e,t){return new W(e)},r[q.MORE]=function(e,t){return z.INSTANCE},r[q.POP_MODE]=function(e,t){return K.INSTANCE},r[q.PUSH_MODE]=function(e,t){return new V(e)},r[q.SKIP]=function(e,t){return j.INSTANCE},r[q.TYPE]=function(e,t){return new G(e)},this.actionFactories=r}if(e>this.actionFactories.length||null===this.actionFactories[e])throw"The specified lexer action type "+e+" is not valid.";return this.actionFactories[e](t,n)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Z=function(){for(var e=[],t=0;t<256;t++)e[t]=(t+256).toString(16).substr(1).toUpperCase();return e}();e.exports=X},1047:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(9324).DFAState,a=n(5327).ATNConfigSet,s=n(9699).getCachedPredictionContext,o=n(7090).Map,u=function(){function e(t,n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.atn=t,this.sharedContextCache=n,this}var t,n;return t=e,(n=[{key:"getCachedContext",value:function(e){if(null===this.sharedContextCache)return e;var t=new o;return s(e,this.sharedContextCache,t)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();u.ERROR=new i(2147483647,new a),e.exports=u},4:function(e){function t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===s(l)?l:String(l)),r)}var l}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=function(){function e(){o(this,e),this.atn=null,this.stateNumber=e.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}return c(e,[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(t){return t instanceof e&&this.stateNumber===t.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(e,t){void 0===t&&(t=-1),0===this.transitions.length?this.epsilonOnlyTransitions=e.isEpsilon:this.epsilonOnlyTransitions!==e.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===t?this.transitions.push(e):this.transitions.splice(t,1,e)}}]),e}();f.INVALID_TYPE=0,f.BASIC=1,f.RULE_START=2,f.BLOCK_START=3,f.PLUS_BLOCK_START=4,f.STAR_BLOCK_START=5,f.TOKEN_START=6,f.RULE_STOP=7,f.BLOCK_END=8,f.STAR_LOOP_BACK=9,f.STAR_LOOP_ENTRY=10,f.PLUS_LOOP_BACK=11,f.LOOP_END=12,f.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],f.INVALID_STATE_NUMBER=-1;var m=function(e){t(l,e);var n=r(l);function l(){var e;return o(this,l),(e=n.call(this)).stateType=f.BASIC,e}return c(l)}(f),h=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).decision=-1,e.nonGreedy=!1,l(e,i(e))}return c(a)}(f),p=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).endState=null,l(e,i(e))}return c(a)}(h),d=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.BLOCK_START,l(e,i(e))}return c(a)}(p),y=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.BLOCK_END,e.startState=null,l(e,i(e))}return c(a)}(f),g=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.RULE_STOP,l(e,i(e))}return c(a)}(f),v=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.RULE_START,e.stopState=null,e.isPrecedenceRule=!1,l(e,i(e))}return c(a)}(f),b=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.PLUS_LOOP_BACK,l(e,i(e))}return c(a)}(h),_=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.PLUS_BLOCK_START,e.loopBackState=null,l(e,i(e))}return c(a)}(p),C=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.STAR_BLOCK_START,l(e,i(e))}return c(a)}(p),L=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.STAR_LOOP_BACK,l(e,i(e))}return c(a)}(f),k=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.STAR_LOOP_ENTRY,e.loopBackState=null,e.isPrecedenceDecision=null,l(e,i(e))}return c(a)}(h),S=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.LOOP_END,e.loopBackState=null,l(e,i(e))}return c(a)}(f),T=function(e){t(a,e);var n=r(a);function a(){var e;return o(this,a),(e=n.call(this)).stateType=f.TOKEN_START,l(e,i(e))}return c(a)}(h);e.exports={ATNState:f,BasicState:m,DecisionState:h,BlockStartState:p,BlockEndState:y,LoopEndState:S,RuleStartState:v,RuleStopState:g,TokensStartState:T,PlusLoopbackState:b,StarLoopbackState:L,StarLoopEntryState:k,PlusBlockStartState:_,StarBlockStartState:C,BasicBlockStartState:d}},6316:function(e){e.exports={LEXER:0,PARSER:1}},4549:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=n(9616).Token,c=n(4149),f=n(7835),m=n(1047),h=n(9324).DFAState,p=n(5327).OrderedATNConfigSet,d=n(9699).PredictionContext,y=n(9699).SingletonPredictionContext,g=n(4).RuleStopState,v=n(4769).LexerATNConfig,b=n(3412).Transition,_=n(44),C=n(1162).LexerNoViableAltException;function L(e){e.index=-1,e.line=0,e.column=-1,e.dfaState=null}var k=function(){function e(){a(this,e),L(this)}return o(e,[{key:"reset",value:function(){L(this)}}]),e}(),S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(L,e);var t,n,s=(t=L,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,l=i(t);if(n){var a=i(this).constructor;e=Reflect.construct(l,arguments,a)}else e=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function L(e,t,n,r){var l;return a(this,L),(l=s.call(this,t,r)).decisionToDFA=n,l.recog=e,l.startIndex=-1,l.line=1,l.column=0,l.mode=c.DEFAULT_MODE,l.prevAccept=new k,l}return o(L,[{key:"copyState",value:function(e){this.column=e.column,this.line=e.line,this.mode=e.mode,this.startIndex=e.startIndex}},{key:"match",value:function(e,t){this.match_calls+=1,this.mode=t;var n=e.mark();try{this.startIndex=e.index,this.prevAccept.reset();var r=this.decisionToDFA[t];return null===r.s0?this.matchATN(e):this.execATN(e,r.s0)}finally{e.release(n)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=c.DEFAULT_MODE}},{key:"matchATN",value:function(e){var t=this.atn.modeToStartState[this.mode];L.debug&&console.log("matchATN mode "+this.mode+" start: "+t);var n=this.mode,r=this.computeStartState(e,t),l=r.hasSemanticContext;r.hasSemanticContext=!1;var i=this.addDFAState(r);l||(this.decisionToDFA[this.mode].s0=i);var a=this.execATN(e,i);return L.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[n].toLexerString()),a}},{key:"execATN",value:function(e,t){L.debug&&console.log("start state closure="+t.configs),t.isAcceptState&&this.captureSimState(this.prevAccept,e,t);for(var n=e.LA(1),r=t;;){L.debug&&console.log("execATN loop starting closure: "+r.configs);var l=this.getExistingTargetState(r,n);if(null===l&&(l=this.computeTargetState(e,r,n)),l===m.ERROR)break;if(n!==u.EOF&&this.consume(e),l.isAcceptState&&(this.captureSimState(this.prevAccept,e,l),n===u.EOF))break;n=e.LA(1),r=l}return this.failOrAccept(this.prevAccept,e,r.configs,n)}},{key:"getExistingTargetState",value:function(e,t){if(null===e.edges||t<L.MIN_DFA_EDGE||t>L.MAX_DFA_EDGE)return null;var n=e.edges[t-L.MIN_DFA_EDGE];return void 0===n&&(n=null),L.debug&&null!==n&&console.log("reuse state "+e.stateNumber+" edge to "+n.stateNumber),n}},{key:"computeTargetState",value:function(e,t,n){var r=new p;return this.getReachableConfigSet(e,t.configs,r,n),0===r.items.length?(r.hasSemanticContext||this.addDFAEdge(t,n,m.ERROR),m.ERROR):this.addDFAEdge(t,n,null,r)}},{key:"failOrAccept",value:function(e,t,n,r){if(null!==this.prevAccept.dfaState){var l=e.dfaState.lexerActionExecutor;return this.accept(t,l,this.startIndex,e.index,e.line,e.column),e.dfaState.prediction}if(r===u.EOF&&t.index===this.startIndex)return u.EOF;throw new C(this.recog,t,this.startIndex,n)}},{key:"getReachableConfigSet",value:function(e,t,n,r){for(var l=f.INVALID_ALT_NUMBER,i=0;i<t.items.length;i++){var a=t.items[i],s=a.alt===l;if(!s||!a.passedThroughNonGreedyDecision){L.debug&&console.log("testing %s at %s\n",this.getTokenName(r),a.toString(this.recog,!0));for(var o=0;o<a.state.transitions.length;o++){var c=a.state.transitions[o],m=this.getReachableTarget(c,r);if(null!==m){var h=a.lexerActionExecutor;null!==h&&(h=h.fixOffsetBeforeMatch(e.index-this.startIndex));var p=r===u.EOF,d=new v({state:m,lexerActionExecutor:h},a);this.closure(e,d,n,s,!0,p)&&(l=a.alt)}}}}}},{key:"accept",value:function(e,t,n,r,l,i){L.debug&&console.log("ACTION %s\n",t),e.seek(r),this.line=l,this.column=i,null!==t&&null!==this.recog&&t.execute(this.recog,e,n)}},{key:"getReachableTarget",value:function(e,t){return e.matches(t,0,c.MAX_CHAR_VALUE)?e.target:null}},{key:"computeStartState",value:function(e,t){for(var n=d.EMPTY,r=new p,l=0;l<t.transitions.length;l++){var i=t.transitions[l].target,a=new v({state:i,alt:l+1,context:n},null);this.closure(e,a,r,!1,!1,!1)}return r}},{key:"closure",value:function(e,t,n,r,l,i){var a=null;if(L.debug&&console.log("closure("+t.toString(this.recog,!0)+")"),t.state instanceof g){if(L.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[t.state.ruleIndex],t):console.log("closure at rule stop %s\n",t)),null===t.context||t.context.hasEmptyPath()){if(null===t.context||t.context.isEmpty())return n.add(t),!0;n.add(new v({state:t.state,context:d.EMPTY},t)),r=!0}if(null!==t.context&&!t.context.isEmpty())for(var s=0;s<t.context.length;s++)if(t.context.getReturnState(s)!==d.EMPTY_RETURN_STATE){var o=t.context.getParent(s),u=this.atn.states[t.context.getReturnState(s)];a=new v({state:u,context:o},t),r=this.closure(e,a,n,r,l,i)}return r}t.state.epsilonOnlyTransitions||r&&t.passedThroughNonGreedyDecision||n.add(t);for(var c=0;c<t.state.transitions.length;c++){var f=t.state.transitions[c];null!==(a=this.getEpsilonTarget(e,t,f,n,l,i))&&(r=this.closure(e,a,n,r,l,i))}return r}},{key:"getEpsilonTarget",value:function(e,t,n,r,l,i){var a=null;if(n.serializationType===b.RULE){var s=y.create(t.context,n.followState.stateNumber);a=new v({state:n.target,context:s},t)}else{if(n.serializationType===b.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(n.serializationType===b.PREDICATE)L.debug&&console.log("EVAL rule "+n.ruleIndex+":"+n.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(e,n.ruleIndex,n.predIndex,l)&&(a=new v({state:n.target},t));else if(n.serializationType===b.ACTION)if(null===t.context||t.context.hasEmptyPath()){var o=_.append(t.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);a=new v({state:n.target,lexerActionExecutor:o},t)}else a=new v({state:n.target},t);else n.serializationType===b.EPSILON?a=new v({state:n.target},t):n.serializationType!==b.ATOM&&n.serializationType!==b.RANGE&&n.serializationType!==b.SET||i&&n.matches(u.EOF,0,c.MAX_CHAR_VALUE)&&(a=new v({state:n.target},t))}return a}},{key:"evaluatePredicate",value:function(e,t,n,r){if(null===this.recog)return!0;if(!r)return this.recog.sempred(null,t,n);var l=this.column,i=this.line,a=e.index,s=e.mark();try{return this.consume(e),this.recog.sempred(null,t,n)}finally{this.column=l,this.line=i,e.seek(a),e.release(s)}}},{key:"captureSimState",value:function(e,t,n){e.index=t.index,e.line=this.line,e.column=this.column,e.dfaState=n}},{key:"addDFAEdge",value:function(e,t,n,r){if(void 0===n&&(n=null),void 0===r&&(r=null),null===n&&null!==r){var l=r.hasSemanticContext;if(r.hasSemanticContext=!1,n=this.addDFAState(r),l)return n}return t<L.MIN_DFA_EDGE||t>L.MAX_DFA_EDGE||(L.debug&&console.log("EDGE "+e+" -> "+n+" upon "+t),null===e.edges&&(e.edges=[]),e.edges[t-L.MIN_DFA_EDGE]=n),n}},{key:"addDFAState",value:function(e){for(var t=new h(null,e),n=null,r=0;r<e.items.length;r++){var l=e.items[r];if(l.state instanceof g){n=l;break}}null!==n&&(t.isAcceptState=!0,t.lexerActionExecutor=n.lexerActionExecutor,t.prediction=this.atn.ruleToTokenType[n.state.ruleIndex]);var i=this.decisionToDFA[this.mode],a=i.states.get(t);if(null!==a)return a;var s=t;return s.stateNumber=i.states.length,e.setReadonly(!0),s.configs=e,i.states.add(s),s}},{key:"getDFA",value:function(e){return this.decisionToDFA[e]}},{key:"getText",value:function(e){return e.getText(this.startIndex,e.index-1)}},{key:"consume",value:function(e){e.LA(1)==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,e.consume()}},{key:"getTokenName",value:function(e){return-1===e?"EOF":"'"+String.fromCharCode(e)+"'"}}]),L}(m);S.debug=!1,S.dfa_debug=!1,S.MIN_DFA_EDGE=0,S.MAX_DFA_EDGE=127,S.match_calls=0,e.exports=S},732:function(e){function t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var a=l(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===i(l)?l:String(l)),r)}var l}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7},c=function(){function e(t){a(this,e),this.actionType=t,this.isPositionDependent=!1}return o(e,[{key:"hashCode",value:function(){var e=new Hash;return this.updateHashCode(e),e.finish()}},{key:"updateHashCode",value:function(e){e.update(this.actionType)}},{key:"equals",value:function(e){return this===e}}]),e}(),f=function(e){t(l,e);var n=r(l);function l(){return a(this,l),n.call(this,u.SKIP)}return o(l,[{key:"execute",value:function(e){e.skip()}},{key:"toString",value:function(){return"skip"}}]),l}(c);f.INSTANCE=new f;var m=function(e){t(l,e);var n=r(l);function l(e){var t;return a(this,l),(t=n.call(this,u.TYPE)).type=e,t}return o(l,[{key:"execute",value:function(e){e.type=this.type}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.type)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.type===e.type}},{key:"toString",value:function(){return"type("+this.type+")"}}]),l}(c),h=function(e){t(l,e);var n=r(l);function l(e){var t;return a(this,l),(t=n.call(this,u.PUSH_MODE)).mode=e,t}return o(l,[{key:"execute",value:function(e){e.pushMode(this.mode)}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.mode)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.mode===e.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}]),l}(c),p=function(e){t(l,e);var n=r(l);function l(){return a(this,l),n.call(this,u.POP_MODE)}return o(l,[{key:"execute",value:function(e){e.popMode()}},{key:"toString",value:function(){return"popMode"}}]),l}(c);p.INSTANCE=new p;var d=function(e){t(l,e);var n=r(l);function l(){return a(this,l),n.call(this,u.MORE)}return o(l,[{key:"execute",value:function(e){e.more()}},{key:"toString",value:function(){return"more"}}]),l}(c);d.INSTANCE=new d;var y=function(e){t(l,e);var n=r(l);function l(e){var t;return a(this,l),(t=n.call(this,u.MODE)).mode=e,t}return o(l,[{key:"execute",value:function(e){e.mode(this.mode)}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.mode)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.mode===e.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}]),l}(c),g=function(e){t(l,e);var n=r(l);function l(e,t){var r;return a(this,l),(r=n.call(this,u.CUSTOM)).ruleIndex=e,r.actionIndex=t,r.isPositionDependent=!0,r}return o(l,[{key:"execute",value:function(e){e.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.ruleIndex===e.ruleIndex&&this.actionIndex===e.actionIndex}}]),l}(c),v=function(e){t(l,e);var n=r(l);function l(e){var t;return a(this,l),(t=n.call(this,u.CHANNEL)).channel=e,t}return o(l,[{key:"execute",value:function(e){e._channel=this.channel}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.channel)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.channel===e.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}]),l}(c),b=function(e){t(l,e);var n=r(l);function l(e,t){var r;return a(this,l),(r=n.call(this,t.actionType)).offset=e,r.action=t,r.isPositionDependent=!0,r}return o(l,[{key:"execute",value:function(e){this.action.execute(e)}},{key:"updateHashCode",value:function(e){e.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(e){return this===e||e instanceof l&&this.offset===e.offset&&this.action===e.action}}]),l}(c);e.exports={LexerActionType:u,LexerSkipAction:f,LexerChannelAction:v,LexerCustomAction:g,LexerIndexedCustomAction:b,LexerMoreAction:d,LexerTypeAction:m,LexerPushModeAction:h,LexerPopModeAction:p,LexerModeAction:y}},44:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(7090).hashStuff,a=n(732).LexerIndexedCustomAction,s=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lexerActions=null===t?[]:t,this.cachedHashCode=i(t),this}var t,n,r;return t=e,r=[{key:"append",value:function(t,n){return new e(null===t?[n]:t.lexerActions.concat([n]))}}],(n=[{key:"fixOffsetBeforeMatch",value:function(t){for(var n=null,r=0;r<this.lexerActions.length;r++)!this.lexerActions[r].isPositionDependent||this.lexerActions[r]instanceof a||(null===n&&(n=this.lexerActions.concat([])),n[r]=new a(t,this.lexerActions[r]));return null===n?this:new e(n)}},{key:"execute",value:function(e,t,n){var r=!1,l=t.index;try{for(var i=0;i<this.lexerActions.length;i++){var s=this.lexerActions[i];if(s instanceof a){var o=s.offset;t.seek(n+o),s=s.action,r=n+o!==l}else s.isPositionDependent&&(t.seek(l),r=!1);s.execute(e)}}finally{r&&t.seek(l)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(e){e.update(this.cachedHashCode)}},{key:"equals",value:function(t){if(this===t)return!0;if(t instanceof e){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;for(var n=this.lexerActions.length,r=0;r<n;++r)if(!this.lexerActions[r].equals(t.lexerActions[r]))return!1;return!0}return!1}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=s},8877:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(7090),o=s.Set,u=s.BitSet,c=s.DoubleDict,f=n(7835),m=n(4),h=m.ATNState,p=m.RuleStopState,d=n(4769).ATNConfig,y=n(5327).ATNConfigSet,g=n(9616).Token,v=n(9324),b=v.DFAState,_=v.PredPrediction,C=n(1047),L=n(2523),k=n(3680),S=(n(788),n(7871).SemanticContext),T=n(9699).PredictionContext,U=n(5062).Interval,O=n(3412),x=O.Transition,M=O.SetTransition,I=O.NotSetTransition,E=O.RuleTransition,w=O.ActionTransition,N=n(1162).NoViableAltException,P=n(9699),R=P.SingletonPredictionContext,A=P.predictionContextFromRuleContext,D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(P,e);var t,n,m,v,O=(m=P,v=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=a(m);if(v){var n=a(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function P(e,t,n,r){var l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,P),(l=O.call(this,t,r)).parser=e,l.decisionToDFA=n,l.predictionMode=L.LL,l._input=null,l._startIndex=0,l._outerContext=null,l._dfa=null,l.mergeCache=null,l.debug=!1,l.debug_closure=!1,l.debug_add=!1,l.debug_list_atn_decisions=!1,l.dfa_debug=!1,l.retry_debug=!1,l}return t=P,(n=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(e,t,n){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+t+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=n;var r=this.decisionToDFA[t];this._dfa=r;var l=e.mark(),i=e.index;try{var a;if(null===(a=r.precedenceDfa?r.getPrecedenceStartState(this.parser.getPrecedence()):r.s0)){null===n&&(n=k.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+r.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+n.toString(this.parser.ruleNames));var s=this.computeStartState(r.atnStartState,k.EMPTY,!1);r.precedenceDfa?(r.s0.configs=s,s=this.applyPrecedenceFilter(s),a=this.addDFAState(r,new b(null,s)),r.setPrecedenceStartState(this.parser.getPrecedence(),a)):(a=this.addDFAState(r,new b(null,s)),r.s0=a)}var o=this.execATN(r,a,e,i,n);return this.debug&&console.log("DFA after predictATN: "+r.toString(this.parser.literalNames,this.parser.symbolicNames)),o}finally{this._dfa=null,this.mergeCache=null,e.seek(i),e.release(l)}}},{key:"execATN",value:function(e,t,n,r,l){var i;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(n)+" line "+n.LT(1).line+":"+n.LT(1).column);var a=t;this.debug&&console.log("s0 = "+t);for(var s=n.LA(1);;){var o=this.getExistingTargetState(a,s);if(null===o&&(o=this.computeTargetState(e,a,s)),o===C.ERROR){var u=this.noViableAlt(n,l,a.configs,r);if(n.seek(r),(i=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(a.configs,l))!==f.INVALID_ALT_NUMBER)return i;throw u}if(o.requiresFullContext&&this.predictionMode!==L.SLL){var c=null;if(null!==o.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var m=n.index;if(m!==r&&n.seek(r),1===(c=this.evalSemanticContext(o.predicates,l,!0)).length)return this.debug&&console.log("Full LL avoided"),c.minValue();m!==r&&n.seek(m)}this.dfa_debug&&console.log("ctx sensitive state "+l+" in "+o);var h=this.computeStartState(e.atnStartState,l,!0);return this.reportAttemptingFullContext(e,c,o.configs,r,n.index),this.execATNWithFullContext(e,o,h,n,r,l)}if(o.isAcceptState){if(null===o.predicates)return o.prediction;var p=n.index;n.seek(r);var d=this.evalSemanticContext(o.predicates,l,!0);if(0===d.length)throw this.noViableAlt(n,l,o.configs,r);return 1===d.length||this.reportAmbiguity(e,o,r,p,!1,d,o.configs),d.minValue()}a=o,s!==g.EOF&&(n.consume(),s=n.LA(1))}}},{key:"getExistingTargetState",value:function(e,t){var n=e.edges;return null===n?null:n[t+1]||null}},{key:"computeTargetState",value:function(e,t,n){var r=this.computeReachSet(t.configs,n,!1);if(null===r)return this.addDFAEdge(e,t,n,C.ERROR),C.ERROR;var l=new b(null,r),i=this.getUniqueAlt(r);if(this.debug){var a=L.getConflictingAltSubsets(r);console.log("SLL altSubSets="+s.arrayToString(a)+", configs="+r+", predict="+i+", allSubsetsConflict="+L.allSubsetsConflict(a)+", conflictingAlts="+this.getConflictingAlts(r))}return i!==f.INVALID_ALT_NUMBER?(l.isAcceptState=!0,l.configs.uniqueAlt=i,l.prediction=i):L.hasSLLConflictTerminatingPrediction(this.predictionMode,r)&&(l.configs.conflictingAlts=this.getConflictingAlts(r),l.requiresFullContext=!0,l.isAcceptState=!0,l.prediction=l.configs.conflictingAlts.minValue()),l.isAcceptState&&l.configs.hasSemanticContext&&(this.predicateDFAState(l,this.atn.getDecisionState(e.decision)),null!==l.predicates&&(l.prediction=f.INVALID_ALT_NUMBER)),this.addDFAEdge(e,t,n,l)}},{key:"predicateDFAState",value:function(e,t){var n=t.transitions.length,r=this.getConflictingAltsOrUniqueAlt(e.configs),l=this.getPredsForAmbigAlts(r,e.configs,n);null!==l?(e.predicates=this.getPredicatePredictions(r,l),e.prediction=f.INVALID_ALT_NUMBER):e.prediction=r.minValue()}},{key:"execATNWithFullContext",value:function(e,t,n,r,l,i){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+n);var a,s=!1,o=n;r.seek(l);for(var u=r.LA(1),c=-1;;){if(null===(a=this.computeReachSet(o,u,!0))){var m=this.noViableAlt(r,i,o,l);r.seek(l);var h=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(o,i);if(h!==f.INVALID_ALT_NUMBER)return h;throw m}var p=L.getConflictingAltSubsets(a);if(this.debug&&console.log("LL altSubSets="+p+", predict="+L.getUniqueAlt(p)+", resolvesToJustOneViableAlt="+L.resolvesToJustOneViableAlt(p)),a.uniqueAlt=this.getUniqueAlt(a),a.uniqueAlt!==f.INVALID_ALT_NUMBER){c=a.uniqueAlt;break}if(this.predictionMode!==L.LL_EXACT_AMBIG_DETECTION){if((c=L.resolvesToJustOneViableAlt(p))!==f.INVALID_ALT_NUMBER)break}else if(L.allSubsetsConflict(p)&&L.allSubsetsEqual(p)){s=!0,c=L.getSingleViableAlt(p);break}o=a,u!==g.EOF&&(r.consume(),u=r.LA(1))}return a.uniqueAlt!==f.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,c,a,l,r.index),c):(this.reportAmbiguity(e,t,l,r.index,s,null,a),c)}},{key:"computeReachSet",value:function(e,t,n){this.debug&&console.log("in computeReachSet, starting closure: "+e),null===this.mergeCache&&(this.mergeCache=new c);for(var r=new y(n),l=null,i=0;i<e.items.length;i++){var a=e.items[i];if(this.debug&&console.log("testing "+this.getTokenName(t)+" at "+a),a.state instanceof p)(n||t===g.EOF)&&(null===l&&(l=[]),l.push(a),this.debug_add&&console.log("added "+a+" to skippedStopStates"));else for(var s=0;s<a.state.transitions.length;s++){var u=a.state.transitions[s],m=this.getReachableTarget(u,t);if(null!==m){var h=new d({state:m},a);r.add(h,this.mergeCache),this.debug_add&&console.log("added "+h+" to intermediate")}}}var v=null;if(null===l&&t!==g.EOF&&(1===r.items.length||this.getUniqueAlt(r)!==f.INVALID_ALT_NUMBER)&&(v=r),null===v){v=new y(n);for(var b=new o,_=t===g.EOF,C=0;C<r.items.length;C++)this.closure(r.items[C],v,b,!1,n,_)}if(t===g.EOF&&(v=this.removeAllConfigsNotInRuleStopState(v,v===r)),!(null===l||n&&L.hasConfigInRuleStopState(v)))for(var k=0;k<l.length;k++)v.add(l[k],this.mergeCache);return 0===v.items.length?null:v}},{key:"removeAllConfigsNotInRuleStopState",value:function(e,t){if(L.allConfigsInRuleStopStates(e))return e;for(var n=new y(e.fullCtx),r=0;r<e.items.length;r++){var l=e.items[r];if(l.state instanceof p)n.add(l,this.mergeCache);else if(t&&l.state.epsilonOnlyTransitions&&this.atn.nextTokens(l.state).contains(g.EPSILON)){var i=this.atn.ruleToStopState[l.state.ruleIndex];n.add(new d({state:i},l),this.mergeCache)}}return n}},{key:"computeStartState",value:function(e,t,n){for(var r=A(this.atn,t),l=new y(n),i=0;i<e.transitions.length;i++){var a=e.transitions[i].target,s=new d({state:a,alt:i+1,context:r},null),u=new o;this.closure(s,l,u,!0,n,!1)}return l}},{key:"applyPrecedenceFilter",value:function(e){for(var t,n=[],r=new y(e.fullCtx),l=0;l<e.items.length;l++)if(1===(t=e.items[l]).alt){var i=t.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==i&&(n[t.state.stateNumber]=t.context,i!==t.semanticContext?r.add(new d({semanticContext:i},t),this.mergeCache):r.add(t,this.mergeCache))}for(var a=0;a<e.items.length;a++)if(1!==(t=e.items[a]).alt){if(!t.precedenceFilterSuppressed){var s=n[t.state.stateNumber]||null;if(null!==s&&s.equals(t.context))continue}r.add(t,this.mergeCache)}return r}},{key:"getReachableTarget",value:function(e,t){return e.matches(t,0,this.atn.maxTokenType)?e.target:null}},{key:"getPredsForAmbigAlts",value:function(e,t,n){for(var r=[],l=0;l<t.items.length;l++){var i=t.items[l];e.contains(i.alt)&&(r[i.alt]=S.orContext(r[i.alt]||null,i.semanticContext))}for(var a=0,o=1;o<n+1;o++){var u=r[o]||null;null===u?r[o]=S.NONE:u!==S.NONE&&(a+=1)}return 0===a&&(r=null),this.debug&&console.log("getPredsForAmbigAlts result "+s.arrayToString(r)),r}},{key:"getPredicatePredictions",value:function(e,t){for(var n=[],r=!1,l=1;l<t.length;l++){var i=t[l];null!==e&&e.contains(l)&&n.push(new _(i,l)),i!==S.NONE&&(r=!0)}return r?n:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(e,t){var n=this.splitAccordingToSemanticValidity(e,t),r=n[0],l=n[1],i=this.getAltThatFinishedDecisionEntryRule(r);return i!==f.INVALID_ALT_NUMBER||l.items.length>0&&(i=this.getAltThatFinishedDecisionEntryRule(l))!==f.INVALID_ALT_NUMBER?i:f.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(e){for(var t=[],n=0;n<e.items.length;n++){var r=e.items[n];(r.reachesIntoOuterContext>0||r.state instanceof p&&r.context.hasEmptyPath())&&t.indexOf(r.alt)<0&&t.push(r.alt)}return 0===t.length?f.INVALID_ALT_NUMBER:Math.min.apply(null,t)}},{key:"splitAccordingToSemanticValidity",value:function(e,t){for(var n=new y(e.fullCtx),r=new y(e.fullCtx),l=0;l<e.items.length;l++){var i=e.items[l];i.semanticContext!==S.NONE?i.semanticContext.evaluate(this.parser,t)?n.add(i):r.add(i):n.add(i)}return[n,r]}},{key:"evalSemanticContext",value:function(e,t,n){for(var r=new u,l=0;l<e.length;l++){var i=e[l];if(i.pred!==S.NONE){var a=i.pred.evaluate(this.parser,t);if((this.debug||this.dfa_debug)&&console.log("eval pred "+i+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+i.alt),r.add(i.alt),!n))break}else if(r.add(i.alt),!n)break}return r}},{key:"closure",value:function(e,t,n,r,l,i){this.closureCheckingStopState(e,t,n,r,l,0,i)}},{key:"closureCheckingStopState",value:function(e,t,n,r,l,i,a){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof p){if(!e.context.isEmpty()){for(var s=0;s<e.context.length;s++)if(e.context.getReturnState(s)!==T.EMPTY_RETURN_STATE){var o=this.atn.states[e.context.getReturnState(s)],u=e.context.getParent(s),c={state:o,alt:e.alt,context:u,semanticContext:e.semanticContext},f=new d(c,null);f.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(f,t,n,r,l,i-1,a)}else{if(l){t.add(new d({state:e.state,context:T.EMPTY},e),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,t,n,r,l,i,a)}return}if(l)return void t.add(e,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex))}this.closure_(e,t,n,r,l,i,a)}},{key:"closure_",value:function(e,t,n,r,l,i,a){var s=e.state;s.epsilonOnlyTransitions||t.add(e,this.mergeCache);for(var o=0;o<s.transitions.length;o++)if(0!==o||!this.canDropLoopEntryEdgeInLeftRecursiveRule(e)){var u=s.transitions[o],c=r&&!(u instanceof w),f=this.getEpsilonTarget(e,u,c,0===i,l,a);if(null!==f){var m=i;if(e.state instanceof p){if(null!==this._dfa&&this._dfa.precedenceDfa&&u.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(f.precedenceFilterSuppressed=!0),f.reachesIntoOuterContext+=1,n.add(f)!==f)continue;t.dipsIntoOuterContext=!0,m-=1,this.debug&&console.log("dips into outer ctx: "+f)}else{if(!u.isEpsilon&&n.add(f)!==f)continue;u instanceof E&&m>=0&&(m+=1)}this.closureCheckingStopState(f,t,n,c,l,m,a)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(e){var t=e.state;if(t.stateType!==h.STAR_LOOP_ENTRY)return!1;if(t.stateType!==h.STAR_LOOP_ENTRY||!t.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;for(var n=e.context.length,r=0;r<n;r++)if(this.atn.states[e.context.getReturnState(r)].ruleIndex!==t.ruleIndex)return!1;for(var l=t.transitions[0].target.endState.stateNumber,i=this.atn.states[l],a=0;a<n;a++){var s=e.context.getReturnState(a),o=this.atn.states[s];if(1!==o.transitions.length||!o.transitions[0].isEpsilon)return!1;var u=o.transitions[0].target;if(!(o.stateType===h.BLOCK_END&&u===t||o===i||u===i||u.stateType===h.BLOCK_END&&1===u.transitions.length&&u.transitions[0].isEpsilon&&u.transitions[0].target===t))return!1}return!0}},{key:"getRuleName",value:function(e){return null!==this.parser&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"}},{key:"getEpsilonTarget",value:function(e,t,n,r,l,i){switch(t.serializationType){case x.RULE:return this.ruleTransition(e,t);case x.PRECEDENCE:return this.precedenceTransition(e,t,n,r,l);case x.PREDICATE:return this.predTransition(e,t,n,r,l);case x.ACTION:return this.actionTransition(e,t);case x.EPSILON:return new d({state:t.target},e);case x.ATOM:case x.RANGE:case x.SET:return i&&t.matches(g.EOF,0,1)?new d({state:t.target},e):null;default:return null}}},{key:"actionTransition",value:function(e,t){if(this.debug){var n=-1===t.actionIndex?65535:t.actionIndex;console.log("ACTION edge "+t.ruleIndex+":"+n)}return new d({state:t.target},e)}},{key:"precedenceTransition",value:function(e,t,n,r,l){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+s.arrayToString(this.parser.getRuleInvocationStack())));var i=null;if(n&&r)if(l){var a=this._input.index;this._input.seek(this._startIndex);var o=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),o&&(i=new d({state:t.target},e))}else{var u=S.andContext(e.semanticContext,t.getPredicate());i=new d({state:t.target,semanticContext:u},e)}else i=new d({state:t.target},e);return this.debug&&console.log("config from pred transition="+i),i}},{key:"predTransition",value:function(e,t,n,r,l){this.debug&&(console.log("PRED (collectPredicates="+n+") "+t.ruleIndex+":"+t.predIndex+", ctx dependent="+t.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+s.arrayToString(this.parser.getRuleInvocationStack())));var i=null;if(n&&(t.isCtxDependent&&r||!t.isCtxDependent))if(l){var a=this._input.index;this._input.seek(this._startIndex);var o=t.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),o&&(i=new d({state:t.target},e))}else{var u=S.andContext(e.semanticContext,t.getPredicate());i=new d({state:t.target,semanticContext:u},e)}else i=new d({state:t.target},e);return this.debug&&console.log("config from pred transition="+i),i}},{key:"ruleTransition",value:function(e,t){this.debug&&console.log("CALL rule "+this.getRuleName(t.target.ruleIndex)+", ctx="+e.context);var n=t.followState,r=R.create(e.context,n.stateNumber);return new d({state:t.target,context:r},e)}},{key:"getConflictingAlts",value:function(e){var t=L.getConflictingAltSubsets(e);return L.getAlts(t)}},{key:"getConflictingAltsOrUniqueAlt",value:function(e){var t=null;return e.uniqueAlt!==f.INVALID_ALT_NUMBER?(t=new u).add(e.uniqueAlt):t=e.conflictingAlts,t}},{key:"getTokenName",value:function(e){if(e===g.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length))return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";console.log(e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+e}},{key:"getLookaheadName",value:function(e){return this.getTokenName(e.LA(1))}},{key:"dumpDeadEndConfigs",value:function(e){console.log("dead end configs: ");for(var t=e.getDeadEndConfigs(),n=0;n<t.length;n++){var r=t[n],l="no edges";if(r.state.transitions.length>0){var i=r.state.transitions[0];i instanceof AtomTransition?l="Atom "+this.getTokenName(i.label):i instanceof M&&(l=(i instanceof I?"~":"")+"Set "+i.set)}console.error(r.toString(this.parser,!0)+":"+l)}}},{key:"noViableAlt",value:function(e,t,n,r){return new N(this.parser,e,e.get(r),e.LT(1),n,t)}},{key:"getUniqueAlt",value:function(e){for(var t=f.INVALID_ALT_NUMBER,n=0;n<e.items.length;n++){var r=e.items[n];if(t===f.INVALID_ALT_NUMBER)t=r.alt;else if(r.alt!==t)return f.INVALID_ALT_NUMBER}return t}},{key:"addDFAEdge",value:function(e,t,n,r){if(this.debug&&console.log("EDGE "+t+" -> "+r+" upon "+this.getTokenName(n)),null===r)return null;if(r=this.addDFAState(e,r),null===t||n<-1||n>this.atn.maxTokenType)return r;if(null===t.edges&&(t.edges=[]),t.edges[n+1]=r,this.debug){var l=null===this.parser?null:this.parser.literalNames,i=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+e.toString(l,i))}return r}},{key:"addDFAState",value:function(e,t){if(t===C.ERROR)return t;var n=e.states.get(t);return null!==n?n:(t.stateNumber=e.states.length,t.configs.readOnly||(t.configs.optimizeConfigs(this),t.configs.setReadonly(!0)),e.states.add(t),this.debug&&console.log("adding new DFA state: "+t),t)}},{key:"reportAttemptingFullContext",value:function(e,t,n,r,l){if(this.debug||this.retry_debug){var i=new U(r,l+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(i))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,r,l,t,n)}},{key:"reportContextSensitivity",value:function(e,t,n,r,l){if(this.debug||this.retry_debug){var i=new U(r,l+1);console.log("reportContextSensitivity decision="+e.decision+":"+n+", input="+this.parser.getTokenStream().getText(i))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,r,l,t,n)}},{key:"reportAmbiguity",value:function(e,t,n,r,l,i,a){if(this.debug||this.retry_debug){var s=new U(n,r+1);console.log("reportAmbiguity "+i+":"+a+", input="+this.parser.getTokenStream().getText(s))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,n,r,l,i,a)}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),P}(C);e.exports=D},2523:function(e,t,n){var r=n(7090),l=r.Map,i=r.BitSet,a=r.AltDict,s=r.hashStuff,o=n(7835),u=n(4).RuleStopState,c=n(5327).ATNConfigSet,f=n(4769).ATNConfig,m=n(7871).SemanticContext,h={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(e,t){if(h.allConfigsInRuleStopStates(t))return!0;if(e===h.SLL&&t.hasSemanticContext){for(var n=new c,r=0;r<t.items.length;r++){var l=t.items[r];l=new f({semanticContext:m.NONE},l),n.add(l)}t=n}var i=h.getConflictingAltSubsets(t);return h.hasConflictingAltSet(i)&&!h.hasStateAssociatedWithOneAlt(t)},hasConfigInRuleStopState:function(e){for(var t=0;t<e.items.length;t++)if(e.items[t].state instanceof u)return!0;return!1},allConfigsInRuleStopStates:function(e){for(var t=0;t<e.items.length;t++)if(!(e.items[t].state instanceof u))return!1;return!0},resolvesToJustOneViableAlt:function(e){return h.getSingleViableAlt(e)},allSubsetsConflict:function(e){return!h.hasNonConflictingAltSet(e)},hasNonConflictingAltSet:function(e){for(var t=0;t<e.length;t++)if(1===e[t].length)return!0;return!1},hasConflictingAltSet:function(e){for(var t=0;t<e.length;t++)if(e[t].length>1)return!0;return!1},allSubsetsEqual:function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n];if(null===t)t=r;else if(r!==t)return!1}return!0},getUniqueAlt:function(e){var t=h.getAlts(e);return 1===t.length?t.minValue():o.INVALID_ALT_NUMBER},getAlts:function(e){var t=new i;return e.map((function(e){t.or(e)})),t},getConflictingAltSubsets:function(e){var t=new l;return t.hashFunction=function(e){s(e.state.stateNumber,e.context)},t.equalsFunction=function(e,t){return e.state.stateNumber===t.state.stateNumber&&e.context.equals(t.context)},e.items.map((function(e){var n=t.get(e);null===n&&(n=new i,t.put(e,n)),n.add(e.alt)})),t.getValues()},getStateToAltMap:function(e){var t=new a;return e.items.map((function(e){var n=t.get(e.state);null===n&&(n=new i,t.put(e.state,n)),n.add(e.alt)})),t},hasStateAssociatedWithOneAlt:function(e){for(var t=h.getStateToAltMap(e).values(),n=0;n<t.length;n++)if(1===t[n].length)return!0;return!1},getSingleViableAlt:function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n].minValue();if(null===t)t=r;else if(t!==r)return o.INVALID_ALT_NUMBER}return t}};e.exports=h},7871:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=n(7090),m=f.Set,h=f.Hash,p=f.equalArrays,d=function(){function e(){o(this,e)}return c(e,[{key:"hashCode",value:function(){var e=new h;return this.updateHashCode(e),e.finish()}},{key:"evaluate",value:function(e,t){}},{key:"evalPrecedence",value:function(e,t){return this}}],[{key:"andContext",value:function(t,n){if(null===t||t===e.NONE)return n;if(null===n||n===e.NONE)return t;var r=new v(t,n);return 1===r.opnds.length?r.opnds[0]:r}},{key:"orContext",value:function(t,n){if(null===t)return n;if(null===n)return t;if(t===e.NONE||n===e.NONE)return e.NONE;var r=new b(t,n);return 1===r.opnds.length?r.opnds[0]:r}}]),e}(),y=function(e){l(n,e);var t=a(n);function n(e,r,l){var i;return o(this,n),(i=t.call(this)).ruleIndex=void 0===e?-1:e,i.predIndex=void 0===r?-1:r,i.isCtxDependent=void 0!==l&&l,i}return c(n,[{key:"evaluate",value:function(e,t){var n=this.isCtxDependent?t:null;return e.sempred(n,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(e){e.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(e){return this===e||e instanceof n&&this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}]),n}(d);d.NONE=new y;var g=function(e){l(n,e);var t=a(n);function n(e){var r;return o(this,n),(r=t.call(this)).precedence=void 0===e?0:e,r}return c(n,[{key:"evaluate",value:function(e,t){return e.precpred(t,this.precedence)}},{key:"evalPrecedence",value:function(e,t){return e.precpred(t,this.precedence)?d.NONE:null}},{key:"compareTo",value:function(e){return this.precedence-e.precedence}},{key:"updateHashCode",value:function(e){e.update(this.precedence)}},{key:"equals",value:function(e){return this===e||e instanceof n&&this.precedence===e.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}],[{key:"filterPrecedencePredicates",value:function(e){var t=[];return e.values().map((function(e){e instanceof n&&t.push(e)})),t}}]),n}(d),v=function(e){l(n,e);var t=a(n);function n(e,r){var l;o(this,n),l=t.call(this);var i=new m;e instanceof n?e.opnds.map((function(e){i.add(e)})):i.add(e),r instanceof n?r.opnds.map((function(e){i.add(e)})):i.add(r);var a=g.filterPrecedencePredicates(i);if(a.length>0){var s=null;a.map((function(e){(null===s||e.precedence<s.precedence)&&(s=e)})),i.add(s)}return l.opnds=Array.from(i.values()),l}return c(n,[{key:"equals",value:function(e){return this===e||e instanceof n&&p(this.opnds,e.opnds)}},{key:"updateHashCode",value:function(e){e.update(this.opnds,"AND")}},{key:"evaluate",value:function(e,t){for(var n=0;n<this.opnds.length;n++)if(!this.opnds[n].evaluate(e,t))return!1;return!0}},{key:"evalPrecedence",value:function(e,t){for(var n=!1,r=[],l=0;l<this.opnds.length;l++){var i=this.opnds[l],a=i.evalPrecedence(e,t);if(n|=a!==i,null===a)return null;a!==d.NONE&&r.push(a)}if(!n)return this;if(0===r.length)return d.NONE;var s=null;return r.map((function(e){s=null===s?e:d.andContext(s,e)})),s}},{key:"toString",value:function(){var e=this.opnds.map((function(e){return e.toString()}));return(e.length>3?e.slice(3):e).join("&&")}}]),n}(d),b=function(e){l(n,e);var t=a(n);function n(e,r){var l;o(this,n),l=t.call(this);var i=new m;e instanceof n?e.opnds.map((function(e){i.add(e)})):i.add(e),r instanceof n?r.opnds.map((function(e){i.add(e)})):i.add(r);var a=g.filterPrecedencePredicates(i);if(a.length>0){var s=a.sort((function(e,t){return e.compareTo(t)})),u=s[s.length-1];i.add(u)}return l.opnds=Array.from(i.values()),l}return c(n,[{key:"equals",value:function(e){return this===e||e instanceof n&&p(this.opnds,e.opnds)}},{key:"updateHashCode",value:function(e){e.update(this.opnds,"OR")}},{key:"evaluate",value:function(e,t){for(var n=0;n<this.opnds.length;n++)if(this.opnds[n].evaluate(e,t))return!0;return!1}},{key:"evalPrecedence",value:function(e,t){for(var n=!1,r=[],l=0;l<this.opnds.length;l++){var i=this.opnds[l],a=i.evalPrecedence(e,t);if(n|=a!==i,a===d.NONE)return d.NONE;null!==a&&r.push(a)}if(!n)return this;if(0===r.length)return null;return r.map((function(e){return e})),null}},{key:"toString",value:function(){var e=this.opnds.map((function(e){return e.toString()}));return(e.length>3?e.slice(3):e).join("||")}}]),n}(d);e.exports={SemanticContext:d,PrecedencePredicate:g,Predicate:y}},3412:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(r){var l=Object.getOwnPropertyDescriptor(r,t);return l.get?l.get.call(arguments.length<3?e:n):l.value}},l.apply(this,arguments)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=o(e);if(t){var i=o(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function u(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=n(9616).Token,h=n(5062).IntervalSet,p=n(7871),d=p.Predicate,y=p.PrecedencePredicate,g=c((function e(t){if(f(this,e),null==t)throw"target cannot be null.";this.target=t,this.isEpsilon=!1,this.label=null}));g.EPSILON=1,g.RANGE=2,g.RULE=3,g.PREDICATE=4,g.ATOM=5,g.ACTION=6,g.SET=7,g.NOT_SET=8,g.WILDCARD=9,g.PRECEDENCE=10,g.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],g.serializationTypes={EpsilonTransition:g.EPSILON,RangeTransition:g.RANGE,RuleTransition:g.RULE,PredicateTransition:g.PREDICATE,AtomTransition:g.ATOM,ActionTransition:g.ACTION,SetTransition:g.SET,NotSetTransition:g.NOT_SET,WildcardTransition:g.WILDCARD,PrecedencePredicateTransition:g.PRECEDENCE};var v=function(e){i(n,e);var t=s(n);function n(e,r){var l;return f(this,n),(l=t.call(this,e)).label_=r,l.label=l.makeLabel(),l.serializationType=g.ATOM,l}return c(n,[{key:"makeLabel",value:function(){var e=new h;return e.addOne(this.label_),e}},{key:"matches",value:function(e,t,n){return this.label_===e}},{key:"toString",value:function(){return this.label_}}]),n}(g),b=function(e){i(n,e);var t=s(n);function n(e,r,l,i){var a;return f(this,n),(a=t.call(this,e)).ruleIndex=r,a.precedence=l,a.followState=i,a.serializationType=g.RULE,a.isEpsilon=!0,a}return c(n,[{key:"matches",value:function(e,t,n){return!1}}]),n}(g),_=function(e){i(n,e);var t=s(n);function n(e,r){var l;return f(this,n),(l=t.call(this,e)).serializationType=g.EPSILON,l.isEpsilon=!0,l.outermostPrecedenceReturn=r,l}return c(n,[{key:"matches",value:function(e,t,n){return!1}},{key:"toString",value:function(){return"epsilon"}}]),n}(g),C=function(e){i(n,e);var t=s(n);function n(e,r,l){var i;return f(this,n),(i=t.call(this,e)).serializationType=g.RANGE,i.start=r,i.stop=l,i.label=i.makeLabel(),i}return c(n,[{key:"makeLabel",value:function(){var e=new h;return e.addRange(this.start,this.stop),e}},{key:"matches",value:function(e,t,n){return e>=this.start&&e<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}]),n}(g),L=function(e){i(n,e);var t=s(n);function n(e){return f(this,n),t.call(this,e)}return c(n)}(g),k=function(e){i(n,e);var t=s(n);function n(e,r,l,i){var a;return f(this,n),(a=t.call(this,e)).serializationType=g.PREDICATE,a.ruleIndex=r,a.predIndex=l,a.isCtxDependent=i,a.isEpsilon=!0,a}return c(n,[{key:"matches",value:function(e,t,n){return!1}},{key:"getPredicate",value:function(){return new d(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}]),n}(L),S=function(e){i(n,e);var t=s(n);function n(e,r,l,i){var a;return f(this,n),(a=t.call(this,e)).serializationType=g.ACTION,a.ruleIndex=r,a.actionIndex=void 0===l?-1:l,a.isCtxDependent=void 0!==i&&i,a.isEpsilon=!0,a}return c(n,[{key:"matches",value:function(e,t,n){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}]),n}(g),T=function(e){i(n,e);var t=s(n);function n(e,r){var l;return f(this,n),(l=t.call(this,e)).serializationType=g.SET,null!=r?l.label=r:(l.label=new h,l.label.addOne(m.INVALID_TYPE)),l}return c(n,[{key:"matches",value:function(e,t,n){return this.label.contains(e)}},{key:"toString",value:function(){return this.label.toString()}}]),n}(g),U=function(e){i(n,e);var t=s(n);function n(e,r){var l;return f(this,n),(l=t.call(this,e,r)).serializationType=g.NOT_SET,l}return c(n,[{key:"matches",value:function(e,t,r){return e>=t&&e<=r&&!l(o(n.prototype),"matches",this).call(this,e,t,r)}},{key:"toString",value:function(){return"~"+l(o(n.prototype),"toString",this).call(this)}}]),n}(T),O=function(e){i(n,e);var t=s(n);function n(e){var r;return f(this,n),(r=t.call(this,e)).serializationType=g.WILDCARD,r}return c(n,[{key:"matches",value:function(e,t,n){return e>=t&&e<=n}},{key:"toString",value:function(){return"."}}]),n}(g),x=function(e){i(n,e);var t=s(n);function n(e,r){var l;return f(this,n),(l=t.call(this,e)).serializationType=g.PRECEDENCE,l.precedence=r,l.isEpsilon=!0,l}return c(n,[{key:"matches",value:function(e,t,n){return!1}},{key:"getPredicate",value:function(){return new y(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}]),n}(L);e.exports={Transition:g,AtomTransition:v,SetTransition:T,NotSetTransition:U,RuleTransition:b,ActionTransition:S,EpsilonTransition:_,RangeTransition:C,WildcardTransition:O,PredicateTransition:k,PrecedencePredicateTransition:x,AbstractPredicateTransition:L}},5212:function(e,t,n){t.ATN=n(7835),t.ATNDeserializer=n(2162),t.LexerATNSimulator=n(4549),t.ParserATNSimulator=n(8877),t.PredictionMode=n(2523)},8386:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}var i=n(7090).Set,a=n(9324).DFAState,s=n(4).StarLoopEntryState,o=n(5327).ATNConfigSet,u=n(4815).DFASerializer,c=n(4815).LexerDFASerializer,f=function(){function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===n&&(n=0),this.atnStartState=t,this.decision=n,this._states=new i,this.s0=null,this.precedenceDfa=!1,t instanceof s&&t.isPrecedenceDecision){this.precedenceDfa=!0;var r=new a(null,new o);r.edges=[],r.isAcceptState=!1,r.requiresFullContext=!1,this.s0=r}}var t,n;return t=e,(n=[{key:"getPrecedenceStartState",value:function(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}},{key:"setPrecedenceStartState",value:function(e,t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=t)}},{key:"setPrecedenceDfa",value:function(e){if(this.precedenceDfa!==e){if(this._states=new i,e){var t=new a(null,new o);t.edges=[],t.isAcceptState=!1,t.requiresFullContext=!1,this.s0=t}else this.s0=null;this.precedenceDfa=e}}},{key:"sortedStates",value:function(){return this._states.values().sort((function(e,t){return e.stateNumber-t.stateNumber}))}},{key:"toString",value:function(e,t){return e=e||null,t=t||null,null===this.s0?"":new u(this,e,t).toString()}},{key:"toLexerString",value:function(){return null===this.s0?"":new c(this).toString()}},{key:"states",get:function(){return this._states}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.exports=f},4815:function(e,t,n){function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===i(l)?l:String(l)),r)}var l}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=n(7090),c=function(){function e(t,n,r){a(this,e),this.dfa=t,this.literalNames=n||[],this.symbolicNames=r||[]}return o(e,[{key:"toString",value:function(){if(null===this.dfa.s0)return null;for(var e="",t=this.dfa.sortedStates(),n=0;n<t.length;n++){var r=t[n];if(null!==r.edges)for(var l=r.edges.length,i=0;i<l;i++){var a=r.edges[i]||null;null!==a&&2147483647!==a.stateNumber&&(e=(e=(e=(e=(e=(e=e.concat(this.getStateString(r))).concat("-")).concat(this.getEdgeLabel(i))).concat("->")).concat(this.getStateString(a))).concat("\n"))}}return 0===e.length?null:e}},{key:"getEdgeLabel",value:function(e){return 0===e?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}},{key:"getStateString",value:function(e){var t=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?null!==e.predicates?t+"=>"+u.arrayToString(e.predicates):t+"=>"+e.prediction.toString():t}}]),e}(),f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}(u,e);var t,n,s=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=l(t);if(n){var a=l(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function u(e){return a(this,u),s.call(this,e,null)}return o(u,[{key:"getEdgeLabel",value:function(e){return"'"+String.fromCharCode(e)+"'"}}]),u}(c);e.exports={DFASerializer:c,LexerDFASerializer:f}},9324:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=n(5327).ATNConfigSet,o=n(7090),u=o.Hash,c=o.Set,f=function(){function e(t,n){l(this,e),this.alt=n,this.pred=t}return a(e,[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}]),e}(),m=function(){function e(t,n){return l(this,e),null===t&&(t=-1),null===n&&(n=new s),this.stateNumber=t,this.configs=n,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}return a(e,[{key:"getAltSet",value:function(){var e=new c;if(null!==this.configs)for(var t=0;t<this.configs.length;t++){var n=this.configs[t];e.add(n.alt)}return 0===e.length?null:e}},{key:"equals",value:function(t){return this===t||t instanceof e&&this.configs.equals(t.configs)}},{key:"toString",value:function(){var e=this.stateNumber+":"+this.configs;return this.isAcceptState&&(e+="=>",null!==this.predicates?e+=this.predicates:e+=this.prediction),e}},{key:"hashCode",value:function(){var e=new u;return e.update(this.configs),e.finish()}}]),e}();e.exports={DFAState:m,PredPrediction:f}},7853:function(e,t,n){t.DFA=n(8386),t.DFASerializer=n(4815).DFASerializer,t.LexerDFASerializer=n(4815).LexerDFASerializer,t.PredPrediction=n(9324).PredPrediction},5916:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(7090).BitSet,o=n(7239).ErrorListener,u=n(5062).Interval,c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(m,e);var t,n,o,c,f=(o=m,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=a(o);if(c){var n=a(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),e=e||!0,(t=f.call(this)).exactOnly=e,t}return t=m,(n=[{key:"reportAmbiguity",value:function(e,t,n,r,l,i,a){if(!this.exactOnly||l){var s="reportAmbiguity d="+this.getDecisionDescription(e,t)+": ambigAlts="+this.getConflictingAlts(i,a)+", input='"+e.getTokenStream().getText(new u(n,r))+"'";e.notifyErrorListeners(s)}}},{key:"reportAttemptingFullContext",value:function(e,t,n,r,l,i){var a="reportAttemptingFullContext d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new u(n,r))+"'";e.notifyErrorListeners(a)}},{key:"reportContextSensitivity",value:function(e,t,n,r,l,i){var a="reportContextSensitivity d="+this.getDecisionDescription(e,t)+", input='"+e.getTokenStream().getText(new u(n,r))+"'";e.notifyErrorListeners(a)}},{key:"getDecisionDescription",value:function(e,t){var n=t.decision,r=t.atnStartState.ruleIndex,l=e.ruleNames;if(r<0||r>=l.length)return""+n;var i=l[r]||null;return null===i||0===i.length?""+n:"".concat(n," (").concat(i,")")}},{key:"getConflictingAlts",value:function(e,t){if(null!==e)return e;for(var n=new s,r=0;r<t.items.length;r++)n.add(t.items[r].alt);return"{".concat(n.values().join(", "),"}")}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),m}(o);e.exports=c},7239:function(e){function t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,l=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===s(l)?l:String(l)),r)}var l}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=function(){function e(){o(this,e)}return c(e,[{key:"syntaxError",value:function(e,t,n,r,l,i){}},{key:"reportAmbiguity",value:function(e,t,n,r,l,i,a){}},{key:"reportAttemptingFullContext",value:function(e,t,n,r,l,i){}},{key:"reportContextSensitivity",value:function(e,t,n,r,l,i){}}]),e}(),m=function(e){t(l,e);var n=r(l);function l(){return o(this,l),n.call(this)}return c(l,[{key:"syntaxError",value:function(e,t,n,r,l,i){console.error("line "+n+":"+r+" "+l)}}]),l}(f);m.INSTANCE=new m;var h=function(e){t(a,e);var n=r(a);function a(e){var t;if(o(this,a),t=n.call(this),null===e)throw"delegates";return t.delegates=e,l(t,i(t))}return c(a,[{key:"syntaxError",value:function(e,t,n,r,l,i){this.delegates.map((function(a){return a.syntaxError(e,t,n,r,l,i)}))}},{key:"reportAmbiguity",value:function(e,t,n,r,l,i,a){this.delegates.map((function(s){return s.reportAmbiguity(e,t,n,r,l,i,a)}))}},{key:"reportAttemptingFullContext",value:function(e,t,n,r,l,i){this.delegates.map((function(a){return a.reportAttemptingFullContext(e,t,n,r,l,i)}))}},{key:"reportContextSensitivity",value:function(e,t,n,r,l,i){this.delegates.map((function(a){return a.reportContextSensitivity(e,t,n,r,l,i)}))}}]),a}(f);e.exports={ErrorListener:f,ConsoleErrorListener:m,ProxyErrorListener:h}},3371:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=n(9616).Token,m=n(1162),h=m.NoViableAltException,p=m.InputMismatchException,d=m.FailedPredicateException,y=m.ParseCancellationException,g=n(4).ATNState,v=n(5062),b=v.Interval,_=v.IntervalSet,C=function(e){l(n,e);var t=a(n);function n(){var e;return o(this,n),(e=t.call(this)).errorRecoveryMode=!1,e.lastErrorIndex=-1,e.lastErrorStates=null,e.nextTokensContext=null,e.nextTokenState=0,e}return c(n,[{key:"reset",value:function(e){this.endErrorCondition(e)}},{key:"beginErrorCondition",value:function(e){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(e){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(e){this.endErrorCondition(e)}},{key:"reportError",value:function(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof h?this.reportNoViableAlternative(e,t):t instanceof p?this.reportInputMismatch(e,t):t instanceof d?this.reportFailedPredicate(e,t):(console.log("unknown recognition error type: "+t.constructor.name),console.log(t.stack),e.notifyErrorListeners(t.getOffendingToken(),t.getMessage(),t)))}},{key:"recover",value:function(e,t){this.lastErrorIndex===e.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);var n=this.getErrorRecoverySet(e);this.consumeUntil(e,n)}},{key:"sync",value:function(e){if(!this.inErrorRecoveryMode(e)){var t=e._interp.atn.states[e.state],n=e.getTokenStream().LA(1),r=e.atn.nextTokens(t);if(r.contains(n))return this.nextTokensContext=null,void(this.nextTokenState=g.INVALID_STATE_NUMBER);if(r.contains(f.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);else switch(t.stateType){case g.BLOCK_START:case g.STAR_BLOCK_START:case g.PLUS_BLOCK_START:case g.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(e))return;throw new p(e);case g.PLUS_LOOP_BACK:case g.STAR_LOOP_BACK:this.reportUnwantedToken(e);var l=new _;l.addSet(e.getExpectedTokens());var i=l.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,i)}}}},{key:"reportNoViableAlternative",value:function(e,t){var n,r=e.getTokenStream();n=null!==r?t.startToken.type===f.EOF?"<EOF>":r.getText(new b(t.startToken.tokenIndex,t.offendingToken.tokenIndex)):"<unknown input>";var l="no viable alternative at input "+this.escapeWSAndQuote(n);e.notifyErrorListeners(l,t.offendingToken,t)}},{key:"reportInputMismatch",value:function(e,t){var n="mismatched input "+this.getTokenErrorDisplay(t.offendingToken)+" expecting "+t.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t.offendingToken,t)}},{key:"reportFailedPredicate",value:function(e,t){var n="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+t.message;e.notifyErrorListeners(n,t.offendingToken,t)}},{key:"reportUnwantedToken",value:function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="extraneous input "+this.getTokenErrorDisplay(t)+" expecting "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(n,t,null)}}},{key:"reportMissingToken",value:function(e){if(!this.inErrorRecoveryMode(e)){this.beginErrorCondition(e);var t=e.getCurrentToken(),n="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(n,t,null)}}},{key:"recoverInline",value:function(e){var t=this.singleTokenDeletion(e);if(null!==t)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new p(e)}},{key:"singleTokenInsertion",value:function(e){var t=e.getTokenStream().LA(1),n=e._interp.atn,r=n.states[e.state].transitions[0].target;return!!n.nextTokens(r,e._ctx).contains(t)&&(this.reportMissingToken(e),!0)}},{key:"singleTokenDeletion",value:function(e){var t=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();var n=e.getCurrentToken();return this.reportMatch(e),n}return null}},{key:"getMissingSymbol",value:function(e){var t,n=e.getCurrentToken(),r=this.getExpectedTokens(e).first();t=r===f.EOF?"<missing EOF>":"<missing "+e.literalNames[r]+">";var l=n,i=e.getTokenStream().LT(-1);return l.type===f.EOF&&null!==i&&(l=i),e.getTokenFactory().create(l.source,r,t,f.DEFAULT_CHANNEL,-1,-1,l.line,l.column)}},{key:"getExpectedTokens",value:function(e){return e.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(e){if(null===e)return"<no token>";var t=e.text;return null===t&&(t=e.type===f.EOF?"<EOF>":"<"+e.type+">"),this.escapeWSAndQuote(t)}},{key:"escapeWSAndQuote",value:function(e){return"'"+(e=(e=(e=e.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(e){for(var t=e._interp.atn,n=e._ctx,r=new _;null!==n&&n.invokingState>=0;){var l=t.states[n.invokingState].transitions[0],i=t.nextTokens(l.followState);r.addSet(i),n=n.parentCtx}return r.removeOne(f.EPSILON),r}},{key:"consumeUntil",value:function(e,t){for(var n=e.getTokenStream().LA(1);n!==f.EOF&&!t.contains(n);)e.consume(),n=e.getTokenStream().LA(1)}}]),n}(function(){function e(){o(this,e)}return c(e,[{key:"reset",value:function(e){}},{key:"recoverInline",value:function(e){}},{key:"recover",value:function(e,t){}},{key:"sync",value:function(e){}},{key:"inErrorRecoveryMode",value:function(e){}},{key:"reportError",value:function(e){}}]),e}()),L=function(e){l(n,e);var t=a(n);function n(){return o(this,n),t.call(this)}return c(n,[{key:"recover",value:function(e,t){for(var n=e._ctx;null!==n;)n.exception=t,n=n.parentCtx;throw new y(t)}},{key:"recoverInline",value:function(e){this.recover(e,new p(e))}},{key:"sync",value:function(e){}}]),n}(C);e.exports={BailErrorStrategy:L,DefaultErrorStrategy:C}},1162:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}function o(e){var t=m();return function(){var n,l=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return u(e)}(this,n)}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)},c(e)}function f(e,t,n){return f=m()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var l=new(Function.bind.apply(e,r));return n&&h(l,n.prototype),l},f.apply(null,arguments)}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var d=n(3412).PredicateTransition,y=n(5062).Interval.Interval,g=function(e){s(n,e);var t=o(n);function n(e){var r;return l(this,n),r=t.call(this,e.message),Error.captureStackTrace?Error.captureStackTrace(u(r),n):(new Error).stack,r.message=e.message,r.recognizer=e.recognizer,r.input=e.input,r.ctx=e.ctx,r.offendingToken=null,r.offendingState=-1,null!==r.recognizer&&(r.offendingState=r.recognizer.state),r}return a(n,[{key:"getExpectedTokens",value:function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}]),n}(c(Error)),v=function(e){s(n,e);var t=o(n);function n(e,r,i,a){var s;return l(this,n),(s=t.call(this,{message:"",recognizer:e,input:r,ctx:null})).startIndex=i,s.deadEndConfigs=a,s}return a(n,[{key:"toString",value:function(){var e="";return this.startIndex>=0&&this.startIndex<this.input.size&&(e=this.input.getText(new y(this.startIndex,this.startIndex))),"LexerNoViableAltException"+e}}]),n}(g),b=function(e){s(n,e);var t=o(n);function n(e,r,i,a,s,o){var u;return l(this,n),o=o||e._ctx,a=a||e.getCurrentToken(),i=i||e.getCurrentToken(),r=r||e.getInputStream(),(u=t.call(this,{message:"",recognizer:e,input:r,ctx:o})).deadEndConfigs=s,u.startToken=i,u.offendingToken=a,u}return a(n)}(g),_=function(e){s(n,e);var t=o(n);function n(e){var r;return l(this,n),(r=t.call(this,{message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx})).offendingToken=e.getCurrentToken(),r}return a(n)}(g);function C(e,t){return null!==t?t:"failed predicate: {"+e+"}?"}var L=function(e){s(n,e);var t=o(n);function n(e,r,i){var a;l(this,n),a=t.call(this,{message:C(r,i||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});var s=e._interp.atn.states[e.state].transitions[0];return s instanceof d?(a.ruleIndex=s.ruleIndex,a.predicateIndex=s.predIndex):(a.ruleIndex=0,a.predicateIndex=0),a.predicate=r,a.offendingToken=e.getCurrentToken(),a}return a(n)}(g),k=function(e){s(n,e);var t=o(n);function n(){var e;return l(this,n),e=t.call(this),Error.captureStackTrace(u(e),n),e}return a(n)}(c(Error));e.exports={RecognitionException:g,NoViableAltException:b,LexerNoViableAltException:v,InputMismatchException:_,FailedPredicateException:L,ParseCancellationException:k}},1770:function(e,t,n){e.exports.RecognitionException=n(1162).RecognitionException,e.exports.NoViableAltException=n(1162).NoViableAltException,e.exports.LexerNoViableAltException=n(1162).LexerNoViableAltException,e.exports.InputMismatchException=n(1162).InputMismatchException,e.exports.FailedPredicateException=n(1162).FailedPredicateException,e.exports.DiagnosticErrorListener=n(5916),e.exports.BailErrorStrategy=n(3371).BailErrorStrategy,e.exports.DefaultErrorStrategy=n(3371).DefaultErrorStrategy,e.exports.ErrorListener=n(7239).ErrorListener},2054:function(){String.prototype.codePointAt||function(){"use strict";var e=function(){var e;try{var t={},n=Object.defineProperty;e=n(t,t,t)&&n}catch(e){}return e}(),t=function(e){if(null==this)throw TypeError();var t=String(this),n=t.length,r=e?Number(e):0;if(r!=r&&(r=0),!(r<0||r>=n)){var l,i=t.charCodeAt(r);return i>=55296&&i<=56319&&n>r+1&&(l=t.charCodeAt(r+1))>=56320&&l<=57343?1024*(i-55296)+l-56320+65536:i}};e?e(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}()},7700:function(){var e,t,n,r;String.fromCodePoint||(e=function(){var e;try{var t={},n=Object.defineProperty;e=n(t,t,t)&&n}catch(e){}return e}(),t=String.fromCharCode,n=Math.floor,r=function(e){var r,l,i=[],a=-1,s=arguments.length;if(!s)return"";for(var o="";++a<s;){var u=Number(arguments[a]);if(!isFinite(u)||u<0||u>1114111||n(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?i.push(u):(r=55296+((u-=65536)>>10),l=u%1024+56320,i.push(r,l)),(a+1===s||i.length>16384)&&(o+=t.apply(null,i),i.length=0)}return o},e?e(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r)},4524:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function u(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=n(9616).Token,m=n(5062).Interval,h=new m(-1,-2),p=function(e){l(n,e);var t=a(n);function n(){return c(this,n),t.call(this)}return u(n)}(function(e){l(n,e);var t=a(n);function n(){return c(this,n),t.call(this)}return u(n)}(u((function e(){c(this,e)})))),d=function(e){l(n,e);var t=a(n);function n(){return c(this,n),t.call(this)}return u(n,[{key:"getRuleContext",value:function(){throw new Error("missing interface implementation")}}]),n}(p),y=function(e){l(n,e);var t=a(n);function n(){return c(this,n),t.call(this)}return u(n)}(p),g=function(e){l(n,e);var t=a(n);function n(){return c(this,n),t.call(this)}return u(n)}(y),v=function(){function e(){c(this,e)}return u(e,[{key:"visit",value:function(e){return Array.isArray(e)?e.map((function(e){return e.accept(this)}),this):e.accept(this)}},{key:"visitChildren",value:function(e){return e.children?this.visit(e.children):null}},{key:"visitTerminal",value:function(e){}},{key:"visitErrorNode",value:function(e){}}]),e}(),b=function(){function e(){c(this,e)}return u(e,[{key:"visitTerminal",value:function(e){}},{key:"visitErrorNode",value:function(e){}},{key:"enterEveryRule",value:function(e){}},{key:"exitEveryRule",value:function(e){}}]),e}(),_=function(e){l(n,e);var t=a(n);function n(e){var r;return c(this,n),(r=t.call(this)).parentCtx=null,r.symbol=e,r}return u(n,[{key:"getChild",value:function(e){return null}},{key:"getSymbol",value:function(){return this.symbol}},{key:"getParent",value:function(){return this.parentCtx}},{key:"getPayload",value:function(){return this.symbol}},{key:"getSourceInterval",value:function(){if(null===this.symbol)return h;var e=this.symbol.tokenIndex;return new m(e,e)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(e){return e.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===f.EOF?"<EOF>":this.symbol.text}}]),n}(y),C=function(e){l(n,e);var t=a(n);function n(e){return c(this,n),t.call(this,e)}return u(n,[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(e){return e.visitErrorNode(this)}}]),n}(_),L=function(){function e(){c(this,e)}return u(e,[{key:"walk",value:function(e,t){if(t instanceof g||void 0!==t.isErrorNode&&t.isErrorNode())e.visitErrorNode(t);else if(t instanceof y)e.visitTerminal(t);else{this.enterRule(e,t);for(var n=0;n<t.getChildCount();n++){var r=t.getChild(n);this.walk(e,r)}this.exitRule(e,t)}}},{key:"enterRule",value:function(e,t){var n=t.getRuleContext();e.enterEveryRule(n),n.enterRule(e)}},{key:"exitRule",value:function(e,t){var n=t.getRuleContext();n.exitRule(e),e.exitEveryRule(n)}}]),e}();L.DEFAULT=new L,e.exports={RuleNode:d,ErrorNode:g,TerminalNode:y,ErrorNodeImpl:C,TerminalNodeImpl:_,ParseTreeListener:b,ParseTreeVisitor:v,ParseTreeWalker:L,INVALID_INTERVAL:h}},9541:function(e,t,n){var r=n(7090),l=n(9616).Token,i=n(4524),a=i.ErrorNode,s=i.TerminalNode,o=i.RuleNode,u={toStringTree:function(e,t,n){t=t||null,null!==(n=n||null)&&(t=n.ruleNames);var l=u.getNodeText(e,t);l=r.escapeWhitespace(l,!1);var i=e.getChildCount();if(0===i)return l;var a="("+l+" ";i>0&&(l=u.toStringTree(e.getChild(0),t),a=a.concat(l));for(var s=1;s<i;s++)l=u.toStringTree(e.getChild(s),t),a=a.concat(" "+l);return a.concat(")")},getNodeText:function(e,t,n){if(t=t||null,null!==(n=n||null)&&(t=n.ruleNames),null!==t){if(e instanceof o){var r=e.getRuleContext().getAltNumber();return 0!=r?t[e.ruleIndex]+":"+r:t[e.ruleIndex]}if(e instanceof a)return e.toString();if(e instanceof s&&null!==e.symbol)return e.symbol.text}var i=e.getPayload();return i instanceof l?i.text:e.getPayload().toString()},getChildren:function(e){for(var t=[],n=0;n<e.getChildCount();n++)t.push(e.getChild(n));return t},getAncestors:function(e){var t=[];for(e=e.getParent();null!==e;)t=[e].concat(t),e=e.getParent();return t},findAllTokenNodes:function(e,t){return u.findAllNodes(e,t,!0)},findAllRuleNodes:function(e,t){return u.findAllNodes(e,t,!1)},findAllNodes:function(e,t,n){var r=[];return u._findAllNodes(e,t,n,r),r},_findAllNodes:function(e,t,n,r){n&&e instanceof s?e.symbol.type===t&&r.push(e):!n&&e instanceof o&&e.ruleIndex===t&&r.push(e);for(var l=0;l<e.getChildCount();l++)u._findAllNodes(e.getChild(l),t,n,r)},descendants:function(e){for(var t=[e],n=0;n<e.getChildCount();n++)t=t.concat(u.descendants(e.getChild(n)));return t}};e.exports=u},703:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(4524),o=n(9541);e.exports=i(i({},s),{},{Trees:o})},1750:function(e,t,n){var r={},l=n(4868),i=n(3776),a=n(1575);r.aggregateMacro=function(e,t,n){var r=this;return e.reduce((function(e,n,l){return r.$index=l,r.$total=t(n)}),this.$total=n)},r.countFn=function(e){return e&&e.length?e.length:0},r.sumFn=function(e){var t=this;return r.aggregateMacro.apply(this,[e,function(e){return l.plus(a.arraify(e),a.arraify(t.$total))},0])},r.minFn=function(e){var t=this;return r.aggregateMacro.apply(this,[e,function(e){var n=a.arraify(e),r=a.arraify(t.$total);return a.isEmpty(r)||i.lt(n,r)?n:r}])},r.maxFn=function(e){var t=this;return r.aggregateMacro.apply(this,[e,function(e){var n=a.arraify(e),r=a.arraify(t.$total);return a.isEmpty(r)||i.gt(n,r)?n:r}])},r.avgFn=function(e){return l.div(r.sumFn(e),r.countFn(e))},e.exports=r},5439:function(e,t,n){var r=n(7567),l={};function i(e,t){if(0==t.length)return!0;for(var n=0;n<e.length;n++)if(r(e[n],t[0]))return!0;return!1}l.contains=function(e,t){if(0==t.length)return[];if(0==e.length)return!1;if(t.length>1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(t));return i(e,t)},l.in=function(e,t){if(0==e.length)return[];if(0==t.length)return!1;if(e.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(t));return i(t,e)},e.exports=l},4461:function(e,t,n){var r={},l=n(968).distinctFn,i=n(7909);r.union=function(e,t){return l(e.concat(t))},r.combineFn=function(e,t){return e.concat(t)},r.intersect=function(e,t){var n=[],r=e.length,l=t.length;if(r&&l){var a={};t.forEach((function(e){var t=i(e);a[t]?l--:a[t]=!0}));for(var s=0;s<r&&l>0;++s){var o=e[s],u=i(o);a[u]&&(n.push(o),a[u]=!1,l--)}}return n},e.exports=r},5263:function(e){e.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.timeOfDay=null,this.localTimezoneOffset=null},today:null,now:null,timeOfDay:null}},3526:function(e,t,n){var r={},l=n(7028),i=n(5263),a=l.FP_Date,s=l.FP_DateTime,o=l.FP_Time;r.now=function(){if(!i.now){var e=i.nowDate,t=s.isoDateTime(e);i.now=new s(t)}return i.now},r.today=function(){if(!i.today){var e=i.nowDate,t=a.isoDate(e);i.today=new a(t)}return i.today},r.timeOfDay=function(){if(!i.timeOfDay){var e=i.nowDate,t=s.isoTime(e);i.timeOfDay=new o(t)}return i.timeOfDay},e.exports=r},7567:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l=n(7028).FP_Type,i=n(1575),a=n(4497),s=Array.prototype.slice,o=Object.keys,u=function(e){return"[object Arguments]"==Object.prototype.toString.call(e)};function c(e){return"string"==typeof e||e instanceof String}function f(e){return!isNaN(parseFloat(e))&&isFinite(e)}function m(e){return e.toUpperCase().replace(/\s+/," ")}function h(e){return null==e}e.exports=function e(t,n,p){if(p||(p={}),(t=i.valDataConverted(t))===(n=i.valDataConverted(n)))return!0;if(p.fuzzy){if(c(t)&&c(n))return m(t)==m(n);if(f(t)&&f(n))return a.isEquivalent(t,n)}else if("number"==typeof t&&"number"==typeof n)return a.isEqual(t,n);if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(!t||!n||"object"!=r(t)&&"object"!=r(n))return t===n;var d=t instanceof l,y=n instanceof l;return d&&y?p.fuzzy?t.equivalentTo(n):t.equals(n):!d&&!y&&function(t,n,l){var i,a;if(h(t)||h(n))return!1;if(t.prototype!==n.prototype)return!1;if(u(t)||u(n))return e(t=u(t)?s.call(t):t,n=u(n)?s.call(n):n,l);try{var c=o(t),f=o(n)}catch(e){return!1}if(c.length!=f.length)return!1;for(c.sort(),f.sort(),i=c.length-1;i>=0;i--)if(c[i]!=f[i])return!1;if(1===c.length)return e(t[a=c[0]],n[a],l);for(i=c.length-1;i>=0;i--)if(!e(t[a=c[i]],n[a],l))return!1;return r(t)===r(n)}(t,n,p)}},3776:function(e,t,n){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,i,a,s=[],o=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);o=!0);}catch(e){u=!0,l=e}finally{try{if(!o&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw l}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=n(1575),a=n(7567),s=n(7028),o=s.FP_Type,u=s.FP_Date,c=s.FP_DateTime,f={};function m(e,t){return i.isEmpty(e)||i.isEmpty(t)?[]:a(e,t)}function h(e,t){return i.isEmpty(e)&&i.isEmpty(t)?[!0]:i.isEmpty(e)||i.isEmpty(t)?[]:a(e,t,{fuzzy:!0})}function p(e,t){i.assertAtMostOne(e,"Singleton was expected"),i.assertAtMostOne(t,"Singleton was expected"),e=i.valDataConverted(e[0]),t=i.valDataConverted(t[0]);var n=e.constructor===u?c:e.constructor,r=t.constructor===u?c:t.constructor;return n!==r&&i.raiseError('Type of "'+e+'" ('+n.name+') did not match type of "'+t+'" ('+r.name+")","InequalityExpression"),[e,t]}f.equal=function(e,t){return m(e,t)},f.unequal=function(e,t){var n=m(e,t);return void 0===n?void 0:!n},f.equival=function(e,t){return h(e,t)},f.unequival=function(e,t){return!h(e,t)},f.lt=function(e,t){if(!e.length||!t.length)return[];var n=r(p(e,t),2),l=n[0],i=n[1];if(l instanceof o){var a=l.compare(i);return null===a?[]:a<0}return l<i},f.gt=function(e,t){if(!e.length||!t.length)return[];var n=r(p(e,t),2),l=n[0],i=n[1];if(l instanceof o){var a=l.compare(i);return null===a?[]:a>0}return l>i},f.lte=function(e,t){if(!e.length||!t.length)return[];var n=r(p(e,t),2),l=n[0],i=n[1];if(l instanceof o){var a=l.compare(i);return null===a?[]:a<=0}return l<=i},f.gte=function(e,t){if(!e.length||!t.length)return[];var n=r(p(e,t),2),l=n[0],i=n[1];if(l instanceof o){var a=l.compare(i);return null===a?[]:a>=0}return l>=i},e.exports=f},4843:function(e,t,n){var r=n(1575),l=n(968),i=l.whereMacro,a=l.distinctFn,s=n(4230),o=n(7909),u={};function c(e,t){var n=e.length,r=n<=t.length;if(r&&n){var l=t.reduce((function(e,t){return e[o(t)]=!0,e}),{});r=!e.some((function(e){return!l[o(e)]}))}return r}u.emptyFn=r.isEmpty,u.notFn=function(e){var t=s.singleton(e,"Boolean");return"boolean"==typeof t?!t:[]},u.existsMacro=function(e,t){var n=e;return t?u.existsMacro(i(e,t)):!r.isEmpty(n)},u.allMacro=function(e,t){for(var n=0,l=e.length;n<l;++n)if(this.$index=n,!r.isTrue(t(e[n])))return[!1];return[!0]},u.allTrueFn=function(e){for(var t=!0,n=0,l=e.length;n<l&&t;++n)t=!0===r.assertType(e[n],["boolean"],"allTrue");return[t]},u.anyTrueFn=function(e){for(var t=!1,n=0,l=e.length;n<l&&!t;++n)t=!0===r.assertType(e[n],["boolean"],"anyTrue");return[t]},u.allFalseFn=function(e){for(var t=!0,n=0,l=e.length;n<l&&t;++n)t=!1===r.assertType(e[n],["boolean"],"allFalse");return[t]},u.anyFalseFn=function(e){for(var t=!1,n=0,l=e.length;n<l&&!t;++n)t=!1===r.assertType(e[n],["boolean"],"anyFalse");return[t]},u.subsetOfFn=function(e,t){return[c(e,t)]},u.supersetOfFn=function(e,t){return[c(t,e)]},u.isDistinctFn=function(e){return[e.length===a(e).length]},e.exports=u},9159:function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,i,a,s=[],o=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;o=!1}else for(;!(o=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);o=!0);}catch(e){u=!0,l=e}finally{try{if(!o&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw l}}return s}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=n(4557).version,c=n(8168),f=n(1575);n(3124);var m=n(5263),h={},p=n(4843),d=n(968),y=n(1750),g=n(4461),v=n(4230),b=n(3776),_=n(5439),C=n(4868),L=n(2705),k=n(6183),S=n(3526),T=n(8025),U=n(7028),O=U.FP_Date,x=U.FP_DateTime,M=U.FP_Time,I=U.FP_Quantity,E=U.FP_Type,w=U.ResourceNode,N=U.TypeInfo,P=w.makeResNode;function R(e,t,n,r){if("Expr"===n)return function(t){return e.$this=f.arraify(t),h.doEval(e,e.$this,r)};if("AnyAtRoot"===n)return e.$this=e.$this||e.dataRoot,h.doEval(e,e.$this,r);if("Identifier"===n){if("TermExpression"===r.type)return r.text;throw new Error("Expected identifier node, got "+JSON.stringify(r))}if("TypeSpecifier"===n)return h.TypeSpecifier(e,t,r);e.$this=t;var l=h.doEval(e,t,r);if("Any"===n)return l;if(Array.isArray(n)){if(0===l.length)return[];n=n[0]}return v.singleton(l,n)}function A(e){return null==e||f.isEmpty(e)}function D(e,t,n,r){var l=h.invocationTable[t];if(l&&l.fn){var i=r?r.length:0;if(2!==i)throw new Error("Infix invoke should have arity 2");var a=l.arity[i];if(a){for(var s=[],o=0;o<i;o++){var u=a[o],c=r[o];s.push(R(e,n,u,c))}if(l.nullable&&s.some(A))return[];var m=l.fn.apply(e,s);return f.arraify(m)}return console.log(t+" wrong arity: got "+i),[]}throw new Error("Not impl "+t)}function F(e){return c.parse(e)}function q(e,t,n,r,l){m.reset();var a=f.arraify(e).map((function(e){return null!=e&&e.__path__?P(e,null==e?void 0:e.__path__):e})),s={context:a,ucum:"http://unitsofmeasure.org"};n&&(n=Object.keys(n).reduce((function(e,t){var r;return Array.isArray(n[t])?e[t]=n[t].map((function(e){return null!=e&&e.__path__?P(e,e.__path__):e})):e[t]=null!==(r=n[t])&&void 0!==r&&r.__path__?P(n[t],n[t].__path__):n[t],e}),{}));var o={dataRoot:a,vars:Object.assign(s,n),model:r};return l&&l.traceFn&&(o.customTraceFn=l.traceFn),h.doEval(o,a,t.children[0]).map((function(e){var t=e instanceof w?e.path:null;return(e=f.valData(e))instanceof E&&l.resolveInternalTypes&&(e=e.toString()),t&&"object"===i(e)&&Object.defineProperty(e,"__path__",{value:t}),e}))}function j(e,t,n){if(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({resolveInternalTypes:!0},n),"object"===i(e)){var a=F(e.expression);return function(r,l){var i=e.base?P(r,e.base):r;return N.model=t,q(i,a,l,t,n)}}var s=F(e);return function(e,r){return N.model=t,q(e,s,r,t,n)}}h.invocationTable={empty:{fn:p.emptyFn},not:{fn:p.notFn},exists:{fn:p.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:p.allMacro,arity:{1:["Expr"]}},allTrue:{fn:p.allTrueFn},anyTrue:{fn:p.anyTrueFn},allFalse:{fn:p.allFalseFn},anyFalse:{fn:p.anyFalseFn},subsetOf:{fn:p.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:p.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:p.isDistinctFn},distinct:{fn:d.distinctFn},count:{fn:y.countFn},where:{fn:d.whereMacro,arity:{1:["Expr"]}},extension:{fn:d.extension,arity:{1:["String"]}},select:{fn:d.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:y.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:y.sumFn},min:{fn:y.minFn},max:{fn:y.maxFn},avg:{fn:y.avgFn},single:{fn:d.singleFn},first:{fn:d.firstFn},last:{fn:d.lastFn},type:{fn:U.typeFn,arity:{0:[]}},ofType:{fn:d.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:U.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:U.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:d.tailFn},take:{fn:d.takeFn,arity:{1:["Integer"]}},skip:{fn:d.skipFn,arity:{1:["Integer"]}},combine:{fn:g.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:g.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:g.intersect,arity:{1:["AnyAtRoot"]}},iif:{fn:v.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:v.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:v.toInteger},toDecimal:{fn:v.toDecimal},toString:{fn:v.toString},toDate:{fn:v.toDate},toDateTime:{fn:v.toDateTime},toTime:{fn:v.toTime},toBoolean:{fn:v.toBoolean},toQuantity:{fn:v.toQuantity,arity:{0:[],1:["String"]}},convertsToBoolean:{fn:v.createConvertsToFn(v.toBoolean,"boolean")},convertsToInteger:{fn:v.createConvertsToFn(v.toInteger,"number")},convertsToDecimal:{fn:v.createConvertsToFn(v.toDecimal,"number")},convertsToString:{fn:v.createConvertsToFn(v.toString,"string")},convertsToDate:{fn:v.createConvertsToFn(v.toDate,O)},convertsToDateTime:{fn:v.createConvertsToFn(v.toDateTime,x)},convertsToTime:{fn:v.createConvertsToFn(v.toTime,M)},convertsToQuantity:{fn:v.createConvertsToFn(v.toQuantity,I)},indexOf:{fn:L.indexOf,arity:{1:["String"]}},substring:{fn:L.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:L.startsWith,arity:{1:["String"]}},endsWith:{fn:L.endsWith,arity:{1:["String"]}},contains:{fn:L.containsFn,arity:{1:["String"]}},upper:{fn:L.upper},lower:{fn:L.lower},replace:{fn:L.replace,arity:{2:["String","String"]}},matches:{fn:L.matches,arity:{1:["String"]}},replaceMatches:{fn:L.replaceMatches,arity:{2:["String","String"]}},length:{fn:L.length},toChars:{fn:L.toChars},join:{fn:L.joinFn,arity:{0:[],1:["String"]}},split:{fn:L.splitFn,arity:{1:["String"]}},trim:{fn:L.trimFn},encode:{fn:L.encodeFn,arity:{1:["String"]}},decode:{fn:L.decodeFn,arity:{1:["String"]}},abs:{fn:C.abs},ceiling:{fn:C.ceiling},exp:{fn:C.exp},floor:{fn:C.floor},ln:{fn:C.ln},log:{fn:C.log,arity:{1:["Number"]},nullable:!0},power:{fn:C.power,arity:{1:["Number"]},nullable:!0},round:{fn:C.round,arity:{1:["Number"]}},sqrt:{fn:C.sqrt},truncate:{fn:C.truncate},now:{fn:S.now},today:{fn:S.today},timeOfDay:{fn:S.timeOfDay},repeat:{fn:d.repeatMacro,arity:{1:["Expr"]}},children:{fn:k.children},descendants:{fn:k.descendants},"|":{fn:g.union,arity:{2:["Any","Any"]}},"=":{fn:b.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:b.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:b.equival,arity:{2:["Any","Any"]}},"!~":{fn:b.unequival,arity:{2:["Any","Any"]}},"<":{fn:b.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:b.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:b.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:b.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:_.contains,arity:{2:["Any","Any"]}},inOp:{fn:_.in,arity:{2:["Any","Any"]}},isOp:{fn:U.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:U.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:C.amp,arity:{2:["String","String"]}},"+":{fn:C.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:C.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:C.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:C.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:C.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:C.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:T.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:T.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:T.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:T.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},h.InvocationExpression=function(e,t,n){return n.children.reduce((function(t,n){return h.doEval(e,t,n)}),t)},h.TermExpression=function(e,t,n){return t&&(t=t.map((function(e){return e instanceof Object&&e.resourceType?P(e,e.resourceType):e}))),h.doEval(e,t,n.children[0])},h.PolarityExpression=function(e,t,n){var r=n.terminalNodeText[0],l=h.doEval(e,t,n.children[0]);if(1!==l.length)throw new Error("Unary "+r+" can only be applied to an individual number.");if("number"!=typeof l[0]||isNaN(l[0]))throw new Error("Unary "+r+" can only be applied to a number.");return"-"===r&&(l[0]=-l[0]),l},h.TypeSpecifier=function(e,t,n){var r,l,i=n.text.split(".").map((function(e){return e.replace(/(^`|`$)/g,"")}));switch(i.length){case 2:var s=a(i,2);r=s[0],l=s[1];break;case 1:l=a(i,1)[0];break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(n))}return new N({namespace:r,name:l})},h.ExternalConstantTerm=function(e,t,n){var r=n.children[0].children[0],l=h.Identifier(e,t,r)[0],i=e.vars[l];if(!(l in e.vars))throw new Error("Attempting to access an undefined environment variable: "+l);return null==i?[]:i instanceof Array?i:[i]},h.LiteralTerm=function(e,t,n){var r=n.children[0];return r?h.doEval(e,t,r):[n.text]},h.StringLiteral=function(e,t,n){var r=n.text.replace(/(^'|'$)/g,"");return[r=r.replace(/\\(u\d{4}|.)/g,(function(e,t){switch(e){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return t.length>1?String.fromCharCode("0x"+t.slice(1)):t}}))]},h.BooleanLiteral=function(e,t,n){return"true"===n.text?[!0]:[!1]},h.QuantityLiteral=function(e,t,n){var r=n.children[0],l=Number(r.terminalNodeText[0]),i=r.children[0],a=i.terminalNodeText[0];return!a&&i.children&&(a=i.children[0].terminalNodeText[0]),[new I(l,a)]},h.DateTimeLiteral=function(e,t,n){var r=n.text.slice(1);return[new x(r)]},h.TimeLiteral=function(e,t,n){var r=n.text.slice(1);return[new M(r)]},h.NumberLiteral=function(e,t,n){return[Number(n.text)]},h.Identifier=function(e,t,n){return[n.text.replace(/(^`|`$)/g,"")]},h.InvocationTerm=function(e,t,n){return h.doEval(e,t,n.children[0])},h.MemberInvocation=function(e,t,n){var r=h.doEval(e,t,n.children[0])[0],l=e.model;if(t){if(f.isCapitalized(r))return t.filter((function(e){return e instanceof w&&e.path===r}));var i=t.path||t.__path__;return t.reduce((function(e,t){var n,a,o=(t=P(t,i)).path+"."+r;if(l){var u=l.pathsDefinedElsewhere[o];u&&(o=u)}var c=l&&l.choiceTypePaths[o];if(c){var m,h=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))){n&&(e=n);var r=0,l=function(){};return{s:l,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}(c);try{for(h.s();!(m=h.n()).done;){var p,d,y=m.value,g=r+y;if(n=null===(p=t.data)||void 0===p?void 0:p[g],a=null===(d=t.data)||void 0===d?void 0:d["_"+g],void 0!==n||void 0!==a){o+=y;break}}}catch(e){h.e(e)}finally{h.f()}}else{var v,b;n=null===(v=t.data)||void 0===v?void 0:v[r],a=null===(b=t.data)||void 0===b?void 0:b["_"+r],void 0===n&&void 0===a&&(n=t._data[r]),"extension"===r&&(o="Extension")}return o=l&&l.path2Type[o]||o,f.isSome(n)||f.isSome(a)?(Array.isArray(n)?e=e.concat(n.map((function(e,t){return P(e,o,a&&a[t])}))):e.push(P(n,o,a)),e):e}),[])}return[]},h.IndexerExpression=function(e,t,n){var r=n.children[0],l=n.children[1],i=h.doEval(e,t,r),a=h.doEval(e,t,l);if(f.isEmpty(a))return[];var s=parseInt(a[0]);return i&&f.isSome(s)&&i.length>s&&s>=0?[i[s]]:[]},h.Functn=function(e,t,n){return n.children.map((function(n){return h.doEval(e,t,n)}))},h.realizeParams=function(e,t,n){return n&&n[0]&&n[0].children?n[0].children.map((function(n){return h.doEval(e,t,n)})):[]},h.FunctionInvocation=function(e,t,n){var r=h.doEval(e,t,n.children[0]),l=r[0];return r.shift(),function(e,t,n,r){var l,i=h.invocationTable[t];if(i){if(i.arity){var a=r?r.length:0,s=i.arity[a];if(s){for(var o=[],u=0;u<a;u++){var c=s[u],m=r[u];o.push(R(e,n,c,m))}return o.unshift(n),i.nullable&&o.some(A)?[]:(l=i.fn.apply(e,o),f.arraify(l))}return console.log(t+" wrong arity: got "+a),[]}if(r)throw new Error(t+" expects no params");return l=i.fn.call(e,f.arraify(n)),f.arraify(l)}throw new Error("Not implemented: "+t)}(e,l,t,r&&r[0]&&r[0].children)},h.ParamList=function(e,t,n){return n},h.UnionExpression=function(e,t,n){return D(e,"|",t,n.children)},h.ThisInvocation=function(e){return e.$this},h.TotalInvocation=function(e){return f.arraify(e.$total)},h.IndexInvocation=function(e){return f.arraify(e.$index)},h.OpExpression=function(e,t,n){return D(e,n.terminalNodeText[0],t,n.children)},h.AliasOpExpression=function(e){return function(t,n,r){var l=r.terminalNodeText[0],i=e[l];if(!i)throw new Error("Do not know how to alias "+l+" by "+JSON.stringify(e));return D(t,i,n,r.children)}},h.NullLiteral=function(){return[]},h.ParenthesizedTerm=function(e,t,n){return h.doEval(e,t,n.children[0])},h.evalTable={BooleanLiteral:h.BooleanLiteral,EqualityExpression:h.OpExpression,FunctionInvocation:h.FunctionInvocation,Functn:h.Functn,Identifier:h.Identifier,IndexerExpression:h.IndexerExpression,InequalityExpression:h.OpExpression,InvocationExpression:h.InvocationExpression,AdditiveExpression:h.OpExpression,MultiplicativeExpression:h.OpExpression,TypeExpression:h.AliasOpExpression({is:"isOp",as:"asOp"}),MembershipExpression:h.AliasOpExpression({contains:"containsOp",in:"inOp"}),NullLiteral:h.NullLiteral,EntireExpression:h.InvocationTerm,InvocationTerm:h.InvocationTerm,LiteralTerm:h.LiteralTerm,MemberInvocation:h.MemberInvocation,NumberLiteral:h.NumberLiteral,ParamList:h.ParamList,ParenthesizedTerm:h.ParenthesizedTerm,StringLiteral:h.StringLiteral,TermExpression:h.TermExpression,ThisInvocation:h.ThisInvocation,TotalInvocation:h.TotalInvocation,IndexInvocation:h.IndexInvocation,UnionExpression:h.UnionExpression,OrExpression:h.OpExpression,ImpliesExpression:h.OpExpression,AndExpression:h.OpExpression,XorExpression:h.OpExpression},h.doEval=function(e,t,n){var r=h.evalTable[n.type]||h[n.type];if(r)return r.call(h,e,t,n);throw new Error("No "+n.type+" evaluator ")},e.exports={version:u,parse:F,compile:j,evaluate:function(e,t,n,r,l){return j(t,r,l)(e,n)},resolveInternalTypes:function e(t){if(Array.isArray(t))for(var n=0,r=t.length;n<r;++n)t[n]=e(t[n]);else if(t instanceof E)t=t.toString();else if("object"===i(t))for(var l=0,a=Object.keys(t);l<a.length;l++){var s=a[l];t[s]=e(t[s])}return t},types:function(e){return f.arraify(e).map((function(e){var t=N.fromValue(null!=e&&e.__path__?new w(e,e.__path__):e);return"".concat(t.namespace,".").concat(t.name)}))},ucumUtils:n(8973).ng.getInstance()}},968:function(e,t,n){var r=n(1575),l=n(7028),i=l.TypeInfo,a=l.ResourceNode,s=n(7909),o={whereMacro:function(e,t){var n=this;return!1===e||e?r.flatten(e.filter((function(e,r){return n.$index=r,t(e)[0]}))):[]},extension:function(e,t){var n=this;return!1!==e&&!e||!t?[]:r.flatten(e.map((function(e,r){n.$index=r;var l=e&&(e.data&&e.data.extension||e._data&&e._data.extension);return l?l.filter((function(e){return e.url===t})).map((function(e){return a.makeResNode(e,"Extension")})):[]})))},selectMacro:function(e,t){var n=this;return!1===e||e?r.flatten(e.map((function(e,r){return n.$index=r,t(e)}))):[]},repeatMacro:function(e,t){if(!1!==e&&!e)return[];for(var n=[],r={},l=e.length,i=0;i<l;++i){var a=e[i];do{a=t(a).filter((function(e){var t=s(e),n=!r[t];return n&&(r[t]=!0),n}))}while(n.length<n.push.apply(n,a))}return n},singleFn:function(e){return 1==e.length?e:0==e.length?[]:{$status:"error",$error:"Expected single"}},firstFn:function(e){return e[0]},lastFn:function(e){return e[e.length-1]},tailFn:function(e){return e.slice(1,e.length)},takeFn:function(e,t){return e.slice(0,t)},skipFn:function(e,t){return e.slice(t,e.length)},ofTypeFn:function(e,t){return e.filter((function(e){return i.fromValue(e).is(t)}))},distinctFn:function(e){var t=[];if(e.length>0)for(var n={},r=0,l=e.length;r<l;++r){var i=e[r],a=s(i);n[a]||(t.push(i),n[a]=!0)}return t}};e.exports=o},7909:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l=n(8973).ng.getInstance(),i=n(4497).roundToMaxPrecision,a=n(1575).valDataConverted,s=n(7028),o=s.FP_Type,u=s.FP_Quantity;function c(e){if("number"==typeof(e=a(e)))return i(e);if(e instanceof Date)return e.toISOString();if(e instanceof u){var t=u._yearMonthConversionFactor[e.unit];if(t)return"_!yearMonth!_:"+t*e.value;var n=u.toUcumQuantity(e.value,e.unit),s=l.getSpecifiedUnit(n.unit).unit;return"_!"+s.property_+"!_:"+s.magnitude_*n.value}return e instanceof o?e.toString():"object"===r(e)?Array.isArray(e)?e.map(c):Object.keys(e).sort().reduce((function(t,n){var r=e[n];return t[n]=c(r),t}),{}):e}e.exports=function(e){return JSON.stringify(c(e))}},8025:function(e){var t={orOp:function(e,t){if(Array.isArray(t)){if(!0===e)return!0;if(!1===e)return[];if(Array.isArray(e))return[]}return Array.isArray(e)?!0===t||[]:e||t},andOp:function(e,t){if(Array.isArray(t)){if(!0===e)return[];if(!1===e)return!1;if(Array.isArray(e))return[]}return Array.isArray(e)?!0===t&&[]:e&&t},xorOp:function(e,t){return Array.isArray(e)||Array.isArray(t)?[]:e&&!t||!e&&t},impliesOp:function(e,t){if(Array.isArray(t)){if(!0===e)return[];if(!1===e)return!0;if(Array.isArray(e))return[]}return Array.isArray(e)?!0===t||[]:!1===e||e&&t}};e.exports=t},4868:function(e,t,n){var r=n(7028),l=r.FP_TimeBase,i=r.FP_Quantity,a=n(1575),s={};function o(e){var t=a.valData(e);if("number"!=typeof t){if(1==t.length&&"number"==typeof(t=a.valData(t[0])))return t;throw new Error("Expected number, but got "+JSON.stringify(t||e))}return t}function u(e){return"number"!=typeof e&&0==e.length}s.amp=function(e,t){return(e||"")+(t||"")},s.plus=function(e,t){if(1==e.length&&1==t.length){var n=a.valDataConverted(e[0]),r=a.valDataConverted(t[0]);if("string"==typeof n&&"string"==typeof r)return n+r;if("number"==typeof n&&"number"==typeof r)return n+r;if(n instanceof l&&r instanceof i)return n.plus(r)}throw new Error("Cannot "+JSON.stringify(e)+" + "+JSON.stringify(t))},s.minus=function(e,t){if(1==e.length&&1==t.length){var n=a.valDataConverted(e[0]),r=a.valDataConverted(t[0]);if("number"==typeof n&&"number"==typeof r)return n-r;if(n instanceof l&&r instanceof i)return n.plus(new i(-r.value,r.unit))}throw new Error("Cannot "+JSON.stringify(e)+" - "+JSON.stringify(t))},s.mul=function(e,t){return e*t},s.div=function(e,t){return 0===t?[]:e/t},s.intdiv=function(e,t){return 0===t?[]:Math.floor(e/t)},s.mod=function(e,t){return 0===t?[]:e%t},s.abs=function(e){if(u(e))return[];var t=o(e);return Math.abs(t)},s.ceiling=function(e){if(u(e))return[];var t=o(e);return Math.ceil(t)},s.exp=function(e){if(u(e))return[];var t=o(e);return Math.exp(t)},s.floor=function(e){if(u(e))return[];var t=o(e);return Math.floor(t)},s.ln=function(e){if(u(e))return[];var t=o(e);return Math.log(t)},s.log=function(e,t){if(u(e)||u(t))return[];var n=o(e),r=o(t);return Math.log(n)/Math.log(r)},s.power=function(e,t){if(u(e)||u(t))return[];var n=o(e),r=o(t);return n<0&&Math.floor(r)!=r?[]:Math.pow(n,r)},s.round=function(e,t){if(u(e))return[];var n=o(e);if(u(t))return Math.round(n);var r=o(t),l=Math.pow(10,r);return Math.round(n*l)/l},s.sqrt=function(e){if(u(e))return[];var t=o(e);return t<0?[]:Math.sqrt(t)},s.truncate=function(e){if(u(e))return[];var t=o(e);return Math.trunc(t)},e.exports=s},4230:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l=n(1575),i=n(7028),a=i.FP_Quantity,s={iifMacro:function(e,t,n,r){return l.isTrue(t(e))?n(e):r?r(e):[]},traceFn:function(e,t,n){return this.customTraceFn?n?this.customTraceFn(n(e),null!=t?t:""):this.customTraceFn(e,null!=t?t:""):n?console.log("TRACE:["+(t||"")+"]",JSON.stringify(n(e),null," ")):console.log("TRACE:["+(t||"")+"]",JSON.stringify(e,null," ")),e}},o=/^[+-]?\d+$/;s.toInteger=function(e){if(1!==e.length)return[];var t=l.valData(e[0]);return!1===t?0:!0===t?1:"number"==typeof t?Number.isInteger(t)?t:[]:"string"==typeof t&&o.test(t)?parseInt(t):[]};var u=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;s.toQuantity=function(e,t){var n;if(t&&!a.mapTimeUnitsToUCUMCode[t]&&(t="'".concat(t,"'")),e.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===e.length){var r,i=l.valDataConverted(e[0]);if("number"==typeof i)n=new a(i,"'1'");else if(i instanceof a)n=i;else if("boolean"==typeof i)n=new a(i?1:0,"'1'");else if("string"==typeof i&&(r=u.exec(i))){var s=r[1],o=r[5],c=r[6];c&&!a.mapTimeUnitsToUCUMCode[c]||(n=new a(Number(s),o||c||"'1'"))}n&&t&&n.unit!==t&&(n=a.convUnitTo(n.unit,n.value,t))}return n||[]};var c=/^[+-]?\d+(\.\d+)?$/;function f(e){var t=e.slice(3);s["to"+t]=function(n){var r=[];if(n.length>1)throw Error("to "+t+" called for a collection of length "+n.length);if(1===n.length){var a=i[e].checkString(l.valData(n[0]));a&&(r=a)}return r}}s.toDecimal=function(e){if(1!==e.length)return[];var t=l.valData(e[0]);return!1===t?0:!0===t?1:"number"==typeof t?t:"string"==typeof t&&c.test(t)?parseFloat(t):[]},s.toString=function(e){return 1!==e.length?[]:l.valDataConverted(e[0]).toString()},f("FP_Date"),f("FP_DateTime"),f("FP_Time");var m=["true","t","yes","y","1","1.0"].reduce((function(e,t){return e[t]=!0,e}),{}),h=["false","f","no","n","0","0.0"].reduce((function(e,t){return e[t]=!0,e}),{});s.toBoolean=function(e){if(1!==e.length)return[];var t=l.valData(e[0]);switch(r(t)){case"boolean":return t;case"number":if(1===t)return!0;if(0===t)return!1;break;case"string":var n=t.toLowerCase();if(m[n])return!0;if(h[n])return!1}return[]},s.createConvertsToFn=function(e,t){return"string"==typeof t?function(n){return 1!==n.length?[]:r(e(n))===t}:function(n){return 1!==n.length?[]:e(n)instanceof t}};var p={Integer:function(e){var t=l.valData(e[0]);if(Number.isInteger(t))return t},Boolean:function(e){var t=l.valData(e[0]);return!0===t||!1===t?t:1===e.length||void 0},Number:function(e){var t=l.valData(e[0]);if("number"==typeof t)return t},String:function(e){var t=l.valData(e[0]);if("string"==typeof t)return t}};s.singleton=function(e,t){if(e.length>1)throw new Error("Unexpected collection"+JSON.stringify(e)+"; expected singleton of type "+t);if(0===e.length)return[];var n=p[t];if(n){var r=n(e);if(void 0!==r)return r;throw new Error("Expected ".concat(t.toLowerCase(),", but got: ").concat(JSON.stringify(e)))}throw new Error("Not supported type "+t)},e.exports=s},6183:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l=n(1575),i=n(7028).ResourceNode.makeResNode,a={children:function(e){var t=this.model;return e.reduce((function(e,n){var a=l.valData(n);if(n=i(n),"object"===r(a)){for(var s=0,o=Object.keys(a);s<o.length;s++){var u=o[s],c=a[u],f=n.path+"."+u;if(t){var m=t.pathsDefinedElsewhere[f];m&&(f=m)}Array.isArray(c)?e.push.apply(e,c.map((function(e){return i(e,f)}))):e.push(i(c,f))}return e}return e}),[])},descendants:function(e){for(var t=a.children.call(this,e),n=[];t.length>0;)n.push.apply(n,t),t=a.children.call(this,t);return n}};e.exports=a},4497:function(e){var t={};function n(e){var t=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +e);if(!t)return 0;var n=t[2],r=t[3];return Math.max(0,("0"===n?0:(n||"").length)-(r||0))}function r(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}var l=t.roundToMaxPrecision=function(e){return 1e-8*Math.round(e/1e-8)};t.isEquivalent=function(e,t){if(Number.isInteger(e)&&Number.isInteger(t))return e===t;var l=Math.min(n(e),n(t));return 0===l?Math.round(e)===Math.round(t):r(e,l)===r(t,l)},t.isEqual=function(e,t){return l(e)===l(t)},e.exports=t},2589:function(e,t,n){t.atn=n(5212),t.codepointat=n(2054),t.dfa=n(7853),t.fromcodepoint=n(7700),t.tree=n(703),t.error=n(1770),t.Token=n(9616).Token,t.CommonToken=n(9616).CommonToken,t.InputStream=n(3960),t.CommonTokenStream=n(8617),t.Lexer=n(4149),t.Parser=n(4680);var r=n(9699);t.PredictionContextCache=r.PredictionContextCache,t.ParserRuleContext=n(788),t.Interval=n(5062).Interval,t.IntervalSet=n(5062).IntervalSet,t.Utils=n(7090),t.LL1Analyzer=n(2894).LL1Analyzer},4081:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function o(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}var c=n(2589),f=["悋Ꜫ脳맭䅼㯧瞆","奤Aȃ\b\t\t","\t\t\t","\t\b\t\b\t\t\t\n\t\n\v\t\v","\f\t\f\r\t\r\t\t","\t\t\t\t","\t\t\t","\t\t\t\t","\t\t\t",'\t\t \t !\t!"\t"#',"\t#$\t$%\t%&\t&'\t'(\t()\t)","*\t*+\t+,\t,-\t-.\t./\t/0\t0","1\t12\t23\t34\t45\t56\t67\t7","8\t89\t9:\t:;\t;<\t<=\t=>\t>","?\t?@\t@A\tAB\tBC\tCD\tD","","\b","\b\t\t\t\t\n\n\n\n","\v\v\f\f\r\r\r","","","","","","","","",""," ",' !!!!!"""','"""##$$$$$',"$%%%%%%%&","&&&&&&''((","((())))))*","****++++,,",",,,-------",".......///","/////////0","0000011111","1122222233","3334444445","5555555666","6666677777","7777777788","8888888888","88ƃ\n88ƅ\n88Ƈ\n888Ɗ","\n89999:::::","::::::ƚ\n:\r:",":ƞ\n::Ơ\n::Ƣ\n::::",":::::ƫ\n:;;Ʈ\n;",";;Ʊ\n;\f;;ƴ\v;<<<","<ƹ\n<\f<<Ƽ\v<<<==","==ǃ\n=\f==dž\v===>",">Nj\n>\r>>>>Ǒ\n>\r>>ǒ",">Ǖ\n>??ǘ\n?\r??","?@@@@@Ǣ\n@\f@@ǥ\v","@@@@@@AAAA","Aǰ\nA\fAAdz\vAAABB","BBǺ\nBCCCCCCD","DǣE\t\v","\r\b\t\n\v\f\r","!#%')+","-/13579;= ?!A","\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:su;w<y={>}","?@Aƒ…‡\f","2;--//C\\aac|2;C\\aac|",'^^bb))\v\f""',"\f\f\n))11^^bbhhppttvv2;CHchȔ","","\t","\v\r","","","","","!","#%","')+","-/","13","57","9;","=?A","CE","GI","KM","OQ","SUW","Y[","]_","ac","eg","ikm","oq","uw","y{","}","‰","‹","\t\v‘","\r“•","—›","Ÿ¡","£¦","¨ª","!­%³","","","","","7Ô;Þ","","","","","MąQČ","","","","","cŇgŒ","","","","","yƿ}Ǘ","ǫ","ƒǶ…ǻ","‡ȁ‰Š","0Š‹Œ","]ŒŽ","_Ž\b","-\n‘’/","’\f“”,","”•–1","–—˜f","˜™k™šxš","›œoœ","qžfž","Ÿ ( ","¡¢~¢","£¤>¤¥","?¥¦§",">§¨©","@©ª«","@«¬?¬ ","­®k®¯u",'¯"°±c',"±²u²$³","´?´&µ¶","€¶(·¸","#¸¹?¹*","º»#»¼€","¼,½¾k","¾¿p¿.","ÀÁeÁÂqÂ",pÃÄvÄÅ","cÅÆkÆÇ","pÇÈuÈ0","ÉÊcÊËp","ËÌfÌ2Í",qÎÏtÏ4","ÐÑzÑÒ","qÒÓtÓ6","ÔÕkÕÖo","Ö×r×ØnØ",kÙÚgÚÛ","uÛ8ÜÝ","*Ý:Þß+","ß<àá}","á>âã","ã@äåvå",tæçwçè","gèBéê","hêëcëìn","ìíuíîg","îDïð'ð","Fñò&òó","vóôjôõ","kõöuöH","÷ø&øùk","ùúpúûfû",güýzýJ","þÿ&ÿĀ","vĀāqāĂv","ĂăcăĄn","ĄLąĆ.Ć","NćĈ{Ĉĉ","gĉĊcĊċ","tċPČčo","čĎqĎďp","ďĐvĐđjđ","RĒēyēĔ","gĔĕgĕĖ","mĖTėĘf","ĘęcęĚ{","ĚVěĜjĜ",qĝĞwĞğ","tğXĠġ","oġĢkĢģp","ģĤwĤĥv","ĥĦgĦZħ",uĨĩgĩĪ","eĪīqīĬ","pĬĭfĭ\\","Įįoįİk","İınıIJnIJ",kijĴuĴĵ","gĵĶeĶķ","qķĸpĸĹf","Ĺ^ĺĻ{","ĻļgļĽcĽ",tľĿuĿ`","ŀŁoŁł","qłŃpŃńv","ńŅjŅņu","ņbŇňyň",gʼnŊgŊŋ","mŋŌuŌd","ōŎfŎŏc","ŏŐ{Őőu","őfŒœjœ",qŔŕwŕŖ","tŖŗuŗh","ŘřořŚk","ŚśpśŜw","ŜŝvŝŞgŞ",uşjŠš","ušŢgŢţ","eţŤqŤťp","ťŦfŦŧu","ŧlŨũoũ",kŪūnūŬ","nŬŭkŭŮ","uŮůgůŰe","ŰűqűŲp","ŲųfųŴuŴ","nŵŶBŶŷ","\tŷŸ\tŸŹ\t","ŹƆ\tźŻ/","Żż\tżƄ\t","Žž/žſ\tſ","Ƃ\tƀƁVƁƃ","s:ƂƀƂƃ","ƃƅƄŽ","ƄƅƅƇ","ƆźƆƇ","ƇƉƈƊ","\\ƉƈƉƊ","ƊpƋƌ","BƌƍVƍƎs:","ƎrƏƐ\tƐ","ơ\tƑƒ<ƒƓ","\tƓƟ\tƔƕ","<ƕƖ\tƖƝ\t","Ɨƙ0Ƙƚ\t","ƙƘƚƛ","ƛƙƛƜ","ƜƞƝƗ","ƝƞƞƠ","ƟƔƟƠ","ƠƢơƑ","ơƢƢƪ","ƣƫ\\Ƥƥ\tƥ","Ʀ\tƦƧ\tƧƨ","<ƨƩ\tƩƫ\t","ƪƣƪƤ","ƪƫƫt","ƬƮ\tƭƬ","ƮƲƯƱ\t","ưƯƱƴ","ƲưƲƳ","ƳvƴƲ","Ƶƺbƶƹƒ","BƷƹ\nƸƶ","ƸƷƹƼ","ƺƸƺƻ","ƻƽƼƺ","ƽƾbƾx","ƿDŽ)ǀǃƒBǁ","ǃ\nǂǀǂ",ǃdžDŽ",DŽDžDž",džDŽLJ",)LjzljNj","\tNJljNjnj","njNJnjǍ","Ǎǔǎǐ","0ǏǑ\tǐǏ","Ǒǒǒǐ","ǒǓǓǕ","ǔǎǔǕ","Ǖ|ǖǘ\t\b","ǗǖǘǙ","ǙǗǙǚ","ǚǛǛǜ\b?","ǜ~ǝǞ1Ǟ",,ǟǣǠ","Ǣ\vǡǠǢ",ǣǤǣ",ǤǦǥ",Ǧǧ,ǧ",1Ǩǩǩ","Ǫ\b@Ǫ€ǫǬ","1Ǭǭ1ǭDZ","Ǯǰ\n\tǯǮ","ǰdzDZǯ","DZDzDzǴ","dzDZǴǵ\bA","ǵ‚Ƕǹ^","ǷǺ\t\nǸǺ…Cǹ",ǹǸǺ","„ǻǼwǼ",‡DǽǾ‡DǾǿ","‡DǿȀ‡DȀ†","ȁȂ\t\vȂˆ","ƂƄƆƉƛƝƟ","ơƪƭưƲƸƺǂDŽnjǒǔ","ǙǣDZǹ"].join(""),m=(new c.atn.ATNDeserializer).deserialize(f),h=m.decisionToState.map((function(e,t){return new c.dfa.DFA(e,t)})),p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(p,e);var t,n,o,u,f=(o=p,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(o);if(u){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=f.call(this,e))._interp=new c.atn.LexerATNSimulator(a(t),m,h,new c.PredictionContextCache),t}return t=p,(n=[{key:"atn",get:function(){return m}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(c.Lexer);o(p,"grammarFileName","FHIRPath.g4"),o(p,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),o(p,"modeNames",["DEFAULT_MODE"]),o(p,"literalNames",[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),o(p,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),o(p,"ruleNames",["T__0","T__1","T__2","T__3","T__4","T__5","T__6","T__7","T__8","T__9","T__10","T__11","T__12","T__13","T__14","T__15","T__16","T__17","T__18","T__19","T__20","T__21","T__22","T__23","T__24","T__25","T__26","T__27","T__28","T__29","T__30","T__31","T__32","T__33","T__34","T__35","T__36","T__37","T__38","T__39","T__40","T__41","T__42","T__43","T__44","T__45","T__46","T__47","T__48","T__49","T__50","T__51","T__52","T__53","DATETIME","TIME","TIMEFORMAT","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT","ESC","UNICODE","HEX"]),p.EOF=c.Token.EOF,p.T__0=1,p.T__1=2,p.T__2=3,p.T__3=4,p.T__4=5,p.T__5=6,p.T__6=7,p.T__7=8,p.T__8=9,p.T__9=10,p.T__10=11,p.T__11=12,p.T__12=13,p.T__13=14,p.T__14=15,p.T__15=16,p.T__16=17,p.T__17=18,p.T__18=19,p.T__19=20,p.T__20=21,p.T__21=22,p.T__22=23,p.T__23=24,p.T__24=25,p.T__25=26,p.T__26=27,p.T__27=28,p.T__28=29,p.T__29=30,p.T__30=31,p.T__31=32,p.T__32=33,p.T__33=34,p.T__34=35,p.T__35=36,p.T__36=37,p.T__37=38,p.T__38=39,p.T__39=40,p.T__40=41,p.T__41=42,p.T__42=43,p.T__43=44,p.T__44=45,p.T__45=46,p.T__46=47,p.T__47=48,p.T__48=49,p.T__49=50,p.T__50=51,p.T__51=52,p.T__52=53,p.T__53=54,p.DATETIME=55,p.TIME=56,p.IDENTIFIER=57,p.DELIMITEDIDENTIFIER=58,p.STRING=59,p.NUMBER=60,p.WS=61,p.COMMENT=62,p.LINE_COMMENT=63,e.exports=p},4454:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(c,e);var t,n,s,o,u=(s=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=a(s);if(o){var n=a(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,(n=[{key:"enterEntireExpression",value:function(e){}},{key:"exitEntireExpression",value:function(e){}},{key:"enterIndexerExpression",value:function(e){}},{key:"exitIndexerExpression",value:function(e){}},{key:"enterPolarityExpression",value:function(e){}},{key:"exitPolarityExpression",value:function(e){}},{key:"enterAdditiveExpression",value:function(e){}},{key:"exitAdditiveExpression",value:function(e){}},{key:"enterMultiplicativeExpression",value:function(e){}},{key:"exitMultiplicativeExpression",value:function(e){}},{key:"enterUnionExpression",value:function(e){}},{key:"exitUnionExpression",value:function(e){}},{key:"enterOrExpression",value:function(e){}},{key:"exitOrExpression",value:function(e){}},{key:"enterAndExpression",value:function(e){}},{key:"exitAndExpression",value:function(e){}},{key:"enterMembershipExpression",value:function(e){}},{key:"exitMembershipExpression",value:function(e){}},{key:"enterInequalityExpression",value:function(e){}},{key:"exitInequalityExpression",value:function(e){}},{key:"enterInvocationExpression",value:function(e){}},{key:"exitInvocationExpression",value:function(e){}},{key:"enterEqualityExpression",value:function(e){}},{key:"exitEqualityExpression",value:function(e){}},{key:"enterImpliesExpression",value:function(e){}},{key:"exitImpliesExpression",value:function(e){}},{key:"enterTermExpression",value:function(e){}},{key:"exitTermExpression",value:function(e){}},{key:"enterTypeExpression",value:function(e){}},{key:"exitTypeExpression",value:function(e){}},{key:"enterInvocationTerm",value:function(e){}},{key:"exitInvocationTerm",value:function(e){}},{key:"enterLiteralTerm",value:function(e){}},{key:"exitLiteralTerm",value:function(e){}},{key:"enterExternalConstantTerm",value:function(e){}},{key:"exitExternalConstantTerm",value:function(e){}},{key:"enterParenthesizedTerm",value:function(e){}},{key:"exitParenthesizedTerm",value:function(e){}},{key:"enterNullLiteral",value:function(e){}},{key:"exitNullLiteral",value:function(e){}},{key:"enterBooleanLiteral",value:function(e){}},{key:"exitBooleanLiteral",value:function(e){}},{key:"enterStringLiteral",value:function(e){}},{key:"exitStringLiteral",value:function(e){}},{key:"enterNumberLiteral",value:function(e){}},{key:"exitNumberLiteral",value:function(e){}},{key:"enterDateTimeLiteral",value:function(e){}},{key:"exitDateTimeLiteral",value:function(e){}},{key:"enterTimeLiteral",value:function(e){}},{key:"exitTimeLiteral",value:function(e){}},{key:"enterQuantityLiteral",value:function(e){}},{key:"exitQuantityLiteral",value:function(e){}},{key:"enterExternalConstant",value:function(e){}},{key:"exitExternalConstant",value:function(e){}},{key:"enterMemberInvocation",value:function(e){}},{key:"exitMemberInvocation",value:function(e){}},{key:"enterFunctionInvocation",value:function(e){}},{key:"exitFunctionInvocation",value:function(e){}},{key:"enterThisInvocation",value:function(e){}},{key:"exitThisInvocation",value:function(e){}},{key:"enterIndexInvocation",value:function(e){}},{key:"exitIndexInvocation",value:function(e){}},{key:"enterTotalInvocation",value:function(e){}},{key:"exitTotalInvocation",value:function(e){}},{key:"enterFunctn",value:function(e){}},{key:"exitFunctn",value:function(e){}},{key:"enterParamList",value:function(e){}},{key:"exitParamList",value:function(e){}},{key:"enterQuantity",value:function(e){}},{key:"exitQuantity",value:function(e){}},{key:"enterUnit",value:function(e){}},{key:"exitUnit",value:function(e){}},{key:"enterDateTimePrecision",value:function(e){}},{key:"exitDateTimePrecision",value:function(e){}},{key:"enterPluralDateTimePrecision",value:function(e){}},{key:"exitPluralDateTimePrecision",value:function(e){}},{key:"enterTypeSpecifier",value:function(e){}},{key:"exitTypeSpecifier",value:function(e){}},{key:"enterQualifiedIdentifier",value:function(e){}},{key:"exitQualifiedIdentifier",value:function(e){}},{key:"enterIdentifier",value:function(e){}},{key:"exitIdentifier",value:function(e){}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(n(2589).tree.ParseTreeListener);e.exports=s},7688:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var l=Object.getOwnPropertyDescriptor(r,t);return l.get?l.get.call(arguments.length<3?e:n):l.value}},l.apply(this,arguments)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,n)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function h(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}var d=n(2589),y=n(4454),g=["悋Ꜫ脳맭䅼㯧瞆","奤Aœ\t\t","\t\t\t\t","\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f","\r\t\r\t\t\t","","(\n","","","","","","","P\n\fS\v","\\","\n","f\n","k\n","r\n\b","\b\b\bw\n\b\b\b\t\t\t","\t~\n\t\f\t\t\v\t\n\n\n…\n\n","\v\v\v\vŠ\n\v","\f\f\r\r","•\n\f˜","\v","\b\n\f","\b\v","\f\f","",'"#)018',";<­ '","[\be","\ng\fqs","z‚","‰‹","","‘™",' !!"','"#$\b$(',"%&\t&(\r'#","'%(Q",")*\f\f*+\t+P\r,-\f\v","-.\t.P\f/0\f\n","01\r1P\v23\f\t","34\t4P\n56\f6","7\t7P\b89\f9:","\t:P;<\f","<==P>?\f","?@\t\b@PAB\f","BCCPDE\f","EFFP\fGH\f","HIIJJK","KPLM\f\bMN\t\t","NPO)O,","O/O2O5","O8O;","O>OAOD","OGOLPS","QOQRR","SQT\\\f","U\\\bV\\\nWX","XYYZZ\\","[T[U","[V[W\\","]^ ^f!_f\t\n","`f=af>bf9cf",":df\ne]e_","e`ea","ebeced","f\tgj$hk","ik=jhji","k\vlr","mr\bnr%or&","pr'qlqm","qnqoqp","r\rsttv","uw\tvu","vwwxxy","yz","{|(|~}{","~}","€€","‚„>","ƒ…\v„ƒ","„……","†Š\f‡Š\rˆ","Š=‰†‰","‡‰ˆŠ","‹Œ\t\vŒ","Ž\t\fŽ","","‘–’“","“•”’","•˜–”","–——","˜–™š","\t\rš'OQ[ejqv","„‰–"].join(""),v=(new d.atn.ATNDeserializer).deserialize(g),b=v.decisionToState.map((function(e,t){return new d.dfa.DFA(e,t)})),_=new d.PredictionContextCache,C=function(e){o(n,e);var t=c(n);function n(e){var r;return i(this,n),(r=t.call(this,e))._interp=new d.atn.ParserATNSimulator(f(r),v,b,_),r.ruleNames=n.ruleNames,r.literalNames=n.literalNames,r.symbolicNames=n.symbolicNames,r}return s(n,[{key:"atn",get:function(){return v}},{key:"sempred",value:function(e,t,n){if(1===t)return this.expression_sempred(e,n);throw"No predicate with index:"+t}},{key:"expression_sempred",value:function(e,t){switch(t){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,5);case 5:return this.precpred(this._ctx,4);case 6:return this.precpred(this._ctx,3);case 7:return this.precpred(this._ctx,2);case 8:return this.precpred(this._ctx,1);case 9:return this.precpred(this._ctx,13);case 10:return this.precpred(this._ctx,12);case 11:return this.precpred(this._ctx,6);default:throw"No predicate with index:"+t}}},{key:"entireExpression",value:function(){var e=new L(this,this._ctx,this.state);this.enterRule(e,0,n.RULE_entireExpression);try{this.enterOuterAlt(e,1),this.state=30,this.expression(0),this.state=31,this.match(n.EOF)}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"expression",value:function(e){void 0===e&&(e=0);var t=this._ctx,r=this.state,l=new k(this,this._ctx,r);this.enterRecursionRule(l,2,n.RULE_expression,e);var i=0;try{switch(this.enterOuterAlt(l,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case n.T__15:case n.T__16:case n.T__21:case n.T__22:case n.T__27:case n.T__29:case n.T__31:case n.T__32:case n.T__33:case n.T__34:case n.T__35:case n.T__36:case n.DATETIME:case n.TIME:case n.IDENTIFIER:case n.DELIMITEDIDENTIFIER:case n.STRING:case n.NUMBER:l=new A(this,l),this._ctx=l,this.state=34,this.term();break;case n.T__3:case n.T__4:l=new T(this,l),this._ctx=l,this.state=35,(i=this._input.LA(1))!==n.T__3&&i!==n.T__4?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=36,this.expression(11);break;default:throw new d.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var a=this._interp.adaptivePredict(this._input,2,this._ctx);2!=a&&a!=d.atn.ATN.INVALID_ALT_NUMBER;){if(1===a)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(l=new O(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,0!=(-32&(i=this._input.LA(1)))||0==(1<<i&(1<<n.T__5|1<<n.T__6|1<<n.T__7|1<<n.T__8))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=41,this.expression(11);break;case 2:if(l=new U(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=42,!this.precpred(this._ctx,9))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=43,0!=(-32&(i=this._input.LA(1)))||0==(1<<i&(1<<n.T__3|1<<n.T__4|1<<n.T__9))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=44,this.expression(10);break;case 3:if(l=new x(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=45,!this.precpred(this._ctx,8))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=46,this.match(n.T__10),this.state=47,this.expression(9);break;case 4:if(l=new w(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=48,!this.precpred(this._ctx,7))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=49,0!=(-32&(i=this._input.LA(1)))||0==(1<<i&(1<<n.T__11|1<<n.T__12|1<<n.T__13|1<<n.T__14))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=50,this.expression(8);break;case 5:if(l=new P(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=51,!this.precpred(this._ctx,5))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=52,0!=(-32&(i=this._input.LA(1)))||0==(1<<i&(1<<n.T__17|1<<n.T__18|1<<n.T__19|1<<n.T__20))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=53,this.expression(6);break;case 6:if(l=new E(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=54,!this.precpred(this._ctx,4))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 4)");this.state=55,(i=this._input.LA(1))!==n.T__21&&i!==n.T__22?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=56,this.expression(5);break;case 7:if(l=new I(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=57,!this.precpred(this._ctx,3))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 3)");this.state=58,this.match(n.T__23),this.state=59,this.expression(4);break;case 8:if(l=new M(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=60,!this.precpred(this._ctx,2))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 2)");this.state=61,(i=this._input.LA(1))!==n.T__24&&i!==n.T__25?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=62,this.expression(3);break;case 9:if(l=new R(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=63,!this.precpred(this._ctx,1))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 1)");this.state=64,this.match(n.T__26),this.state=65,this.expression(2);break;case 10:if(l=new N(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=66,!this.precpred(this._ctx,13))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 13)");this.state=67,this.match(n.T__0),this.state=68,this.invocation();break;case 11:if(l=new S(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=69,!this.precpred(this._ctx,12))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 12)");this.state=70,this.match(n.T__1),this.state=71,this.expression(0),this.state=72,this.match(n.T__2);break;case 12:if(l=new D(this,new k(this,t,r)),this.pushNewRecursionContext(l,2,n.RULE_expression),this.state=74,!this.precpred(this._ctx,6))throw new d.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=75,(i=this._input.LA(1))!==n.T__15&&i!==n.T__16?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume()),this.state=76,this.typeSpecifier()}this.state=81,this._errHandler.sync(this),a=this._interp.adaptivePredict(this._input,2,this._ctx)}}catch(e){if(!(e instanceof d.error.RecognitionException))throw e;l.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.unrollRecursionContexts(t)}return l}},{key:"term",value:function(){var e=new F(this,this._ctx,this.state);this.enterRule(e,4,n.RULE_term);try{switch(this.state=89,this._errHandler.sync(this),this._input.LA(1)){case n.T__15:case n.T__16:case n.T__21:case n.T__22:case n.T__34:case n.T__35:case n.T__36:case n.IDENTIFIER:case n.DELIMITEDIDENTIFIER:e=new H(this,e),this.enterOuterAlt(e,1),this.state=82,this.invocation();break;case n.T__29:case n.T__31:case n.T__32:case n.DATETIME:case n.TIME:case n.STRING:case n.NUMBER:e=new j(this,e),this.enterOuterAlt(e,2),this.state=83,this.literal();break;case n.T__33:e=new q(this,e),this.enterOuterAlt(e,3),this.state=84,this.externalConstant();break;case n.T__27:e=new B(this,e),this.enterOuterAlt(e,4),this.state=85,this.match(n.T__27),this.state=86,this.expression(0),this.state=87,this.match(n.T__28);break;default:throw new d.error.NoViableAltException(this)}}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"literal",value:function(){var e=new z(this,this._ctx,this.state);this.enterRule(e,6,n.RULE_literal);var t=0;try{switch(this.state=99,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,4,this._ctx)){case 1:e=new V(this,e),this.enterOuterAlt(e,1),this.state=91,this.match(n.T__29),this.state=92,this.match(n.T__30);break;case 2:e=new J(this,e),this.enterOuterAlt(e,2),this.state=93,(t=this._input.LA(1))!==n.T__31&&t!==n.T__32?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume());break;case 3:e=new W(this,e),this.enterOuterAlt(e,3),this.state=94,this.match(n.STRING);break;case 4:e=new Y(this,e),this.enterOuterAlt(e,4),this.state=95,this.match(n.NUMBER);break;case 5:e=new K(this,e),this.enterOuterAlt(e,5),this.state=96,this.match(n.DATETIME);break;case 6:e=new G(this,e),this.enterOuterAlt(e,6),this.state=97,this.match(n.TIME);break;case 7:e=new Q(this,e),this.enterOuterAlt(e,7),this.state=98,this.quantity()}}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"externalConstant",value:function(){var e=new $(this,this._ctx,this.state);this.enterRule(e,8,n.RULE_externalConstant);try{switch(this.enterOuterAlt(e,1),this.state=101,this.match(n.T__33),this.state=104,this._errHandler.sync(this),this._input.LA(1)){case n.T__15:case n.T__16:case n.T__21:case n.T__22:case n.IDENTIFIER:case n.DELIMITEDIDENTIFIER:this.state=102,this.identifier();break;case n.STRING:this.state=103,this.match(n.STRING);break;default:throw new d.error.NoViableAltException(this)}}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"invocation",value:function(){var e=new X(this,this._ctx,this.state);this.enterRule(e,10,n.RULE_invocation);try{switch(this.state=111,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,6,this._ctx)){case 1:e=new re(this,e),this.enterOuterAlt(e,1),this.state=106,this.identifier();break;case 2:e=new ne(this,e),this.enterOuterAlt(e,2),this.state=107,this.functn();break;case 3:e=new ee(this,e),this.enterOuterAlt(e,3),this.state=108,this.match(n.T__34);break;case 4:e=new te(this,e),this.enterOuterAlt(e,4),this.state=109,this.match(n.T__35);break;case 5:e=new Z(this,e),this.enterOuterAlt(e,5),this.state=110,this.match(n.T__36)}}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"functn",value:function(){var e=new le(this,this._ctx,this.state);this.enterRule(e,12,n.RULE_functn);var t=0;try{this.enterOuterAlt(e,1),this.state=113,this.identifier(),this.state=114,this.match(n.T__27),this.state=116,this._errHandler.sync(this),(0==(-32&(t=this._input.LA(1)))&&0!=(1<<t&(1<<n.T__3|1<<n.T__4|1<<n.T__15|1<<n.T__16|1<<n.T__21|1<<n.T__22|1<<n.T__27|1<<n.T__29))||0==(t-32&-32)&&0!=(1<<t-32&(1<<n.T__31-32|1<<n.T__32-32|1<<n.T__33-32|1<<n.T__34-32|1<<n.T__35-32|1<<n.T__36-32|1<<n.DATETIME-32|1<<n.TIME-32|1<<n.IDENTIFIER-32|1<<n.DELIMITEDIDENTIFIER-32|1<<n.STRING-32|1<<n.NUMBER-32)))&&(this.state=115,this.paramList()),this.state=118,this.match(n.T__28)}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"paramList",value:function(){var e=new ie(this,this._ctx,this.state);this.enterRule(e,14,n.RULE_paramList);var t=0;try{for(this.enterOuterAlt(e,1),this.state=120,this.expression(0),this.state=125,this._errHandler.sync(this),t=this._input.LA(1);t===n.T__37;)this.state=121,this.match(n.T__37),this.state=122,this.expression(0),this.state=127,this._errHandler.sync(this),t=this._input.LA(1)}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"quantity",value:function(){var e=new ae(this,this._ctx,this.state);this.enterRule(e,16,n.RULE_quantity);try{this.enterOuterAlt(e,1),this.state=128,this.match(n.NUMBER),this.state=130,this._errHandler.sync(this),1===this._interp.adaptivePredict(this._input,9,this._ctx)&&(this.state=129,this.unit())}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"unit",value:function(){var e=new se(this,this._ctx,this.state);this.enterRule(e,18,n.RULE_unit);try{switch(this.state=135,this._errHandler.sync(this),this._input.LA(1)){case n.T__38:case n.T__39:case n.T__40:case n.T__41:case n.T__42:case n.T__43:case n.T__44:case n.T__45:this.enterOuterAlt(e,1),this.state=132,this.dateTimePrecision();break;case n.T__46:case n.T__47:case n.T__48:case n.T__49:case n.T__50:case n.T__51:case n.T__52:case n.T__53:this.enterOuterAlt(e,2),this.state=133,this.pluralDateTimePrecision();break;case n.STRING:this.enterOuterAlt(e,3),this.state=134,this.match(n.STRING);break;default:throw new d.error.NoViableAltException(this)}}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"dateTimePrecision",value:function(){var e=new oe(this,this._ctx,this.state);this.enterRule(e,20,n.RULE_dateTimePrecision);var t=0;try{this.enterOuterAlt(e,1),this.state=137,0!=((t=this._input.LA(1))-39&-32)||0==(1<<t-39&(1<<n.T__38-39|1<<n.T__39-39|1<<n.T__40-39|1<<n.T__41-39|1<<n.T__42-39|1<<n.T__43-39|1<<n.T__44-39|1<<n.T__45-39))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"pluralDateTimePrecision",value:function(){var e=new ue(this,this._ctx,this.state);this.enterRule(e,22,n.RULE_pluralDateTimePrecision);var t=0;try{this.enterOuterAlt(e,1),this.state=139,0!=((t=this._input.LA(1))-47&-32)||0==(1<<t-47&(1<<n.T__46-47|1<<n.T__47-47|1<<n.T__48-47|1<<n.T__49-47|1<<n.T__50-47|1<<n.T__51-47|1<<n.T__52-47|1<<n.T__53-47))?this._errHandler.recoverInline(this):(this._errHandler.reportMatch(this),this.consume())}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"typeSpecifier",value:function(){var e=new ce(this,this._ctx,this.state);this.enterRule(e,24,n.RULE_typeSpecifier);try{this.enterOuterAlt(e,1),this.state=141,this.qualifiedIdentifier()}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"qualifiedIdentifier",value:function(){var e=new fe(this,this._ctx,this.state);this.enterRule(e,26,n.RULE_qualifiedIdentifier);try{this.enterOuterAlt(e,1),this.state=143,this.identifier(),this.state=148,this._errHandler.sync(this);for(var t=this._interp.adaptivePredict(this._input,11,this._ctx);2!=t&&t!=d.atn.ATN.INVALID_ALT_NUMBER;)1===t&&(this.state=144,this.match(n.T__0),this.state=145,this.identifier()),this.state=150,this._errHandler.sync(this),t=this._interp.adaptivePredict(this._input,11,this._ctx)}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}},{key:"identifier",value:function(){var e=new me(this,this._ctx,this.state);this.enterRule(e,28,n.RULE_identifier);var t=0;try{this.enterOuterAlt(e,1),this.state=151,0==(-32&(t=this._input.LA(1)))&&0!=(1<<t&(1<<n.T__15|1<<n.T__16|1<<n.T__21|1<<n.T__22))||t===n.IDENTIFIER||t===n.DELIMITEDIDENTIFIER?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(t){if(!(t instanceof d.error.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}}]),n}(d.Parser);h(C,"grammarFileName","FHIRPath.g4"),h(C,"literalNames",[null,"'.'","'['","']'","'+'","'-'","'*'","'/'","'div'","'mod'","'&'","'|'","'<='","'<'","'>'","'>='","'is'","'as'","'='","'~'","'!='","'!~'","'in'","'contains'","'and'","'or'","'xor'","'implies'","'('","')'","'{'","'}'","'true'","'false'","'%'","'$this'","'$index'","'$total'","','","'year'","'month'","'week'","'day'","'hour'","'minute'","'second'","'millisecond'","'years'","'months'","'weeks'","'days'","'hours'","'minutes'","'seconds'","'milliseconds'"]),h(C,"symbolicNames",[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"DATETIME","TIME","IDENTIFIER","DELIMITEDIDENTIFIER","STRING","NUMBER","WS","COMMENT","LINE_COMMENT"]),h(C,"ruleNames",["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"]),C.EOF=d.Token.EOF,C.T__0=1,C.T__1=2,C.T__2=3,C.T__3=4,C.T__4=5,C.T__5=6,C.T__6=7,C.T__7=8,C.T__8=9,C.T__9=10,C.T__10=11,C.T__11=12,C.T__12=13,C.T__13=14,C.T__14=15,C.T__15=16,C.T__16=17,C.T__17=18,C.T__18=19,C.T__19=20,C.T__20=21,C.T__21=22,C.T__22=23,C.T__23=24,C.T__24=25,C.T__25=26,C.T__26=27,C.T__27=28,C.T__28=29,C.T__29=30,C.T__30=31,C.T__31=32,C.T__32=33,C.T__33=34,C.T__34=35,C.T__35=36,C.T__36=37,C.T__37=38,C.T__38=39,C.T__39=40,C.T__40=41,C.T__41=42,C.T__42=43,C.T__43=44,C.T__44=45,C.T__45=46,C.T__46=47,C.T__47=48,C.T__48=49,C.T__49=50,C.T__50=51,C.T__51=52,C.T__52=53,C.T__53=54,C.DATETIME=55,C.TIME=56,C.IDENTIFIER=57,C.DELIMITEDIDENTIFIER=58,C.STRING=59,C.NUMBER=60,C.WS=61,C.COMMENT=62,C.LINE_COMMENT=63,C.RULE_entireExpression=0,C.RULE_expression=1,C.RULE_term=2,C.RULE_literal=3,C.RULE_externalConstant=4,C.RULE_invocation=5,C.RULE_functn=6,C.RULE_paramList=7,C.RULE_quantity=8,C.RULE_unit=9,C.RULE_dateTimePrecision=10,C.RULE_pluralDateTimePrecision=11,C.RULE_typeSpecifier=12,C.RULE_qualifiedIdentifier=13,C.RULE_identifier=14;var L=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_entireExpression,a}return s(n,[{key:"expression",value:function(){return this.getTypedRuleContext(k,0)}},{key:"EOF",value:function(){return this.getToken(C.EOF,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterEntireExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitEntireExpression(this)}}]),n}(d.ParserRuleContext),k=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_expression,a}return s(n,[{key:"copyFrom",value:function(e){l(m(n.prototype),"copyFrom",this).call(this,e)}}]),n}(d.ParserRuleContext),S=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterIndexerExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitIndexerExpression(this)}}]),n}(k);C.IndexerExpressionContext=S;var T=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"expression",value:function(){return this.getTypedRuleContext(k,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterPolarityExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitPolarityExpression(this)}}]),n}(k);C.PolarityExpressionContext=T;var U=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterAdditiveExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitAdditiveExpression(this)}}]),n}(k);C.AdditiveExpressionContext=U;var O=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterMultiplicativeExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitMultiplicativeExpression(this)}}]),n}(k);C.MultiplicativeExpressionContext=O;var x=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterUnionExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitUnionExpression(this)}}]),n}(k);C.UnionExpressionContext=x;var M=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterOrExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitOrExpression(this)}}]),n}(k);C.OrExpressionContext=M;var I=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterAndExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitAndExpression(this)}}]),n}(k);C.AndExpressionContext=I;var E=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterMembershipExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitMembershipExpression(this)}}]),n}(k);C.MembershipExpressionContext=E;var w=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterInequalityExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitInequalityExpression(this)}}]),n}(k);C.InequalityExpressionContext=w;var N=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"expression",value:function(){return this.getTypedRuleContext(k,0)}},{key:"invocation",value:function(){return this.getTypedRuleContext(X,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterInvocationExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitInvocationExpression(this)}}]),n}(k);C.InvocationExpressionContext=N;var P=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterEqualityExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitEqualityExpression(this)}}]),n}(k);C.EqualityExpressionContext=P;var R=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),h(f(s=t.call(this,e)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),l((a=f(s),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterImpliesExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitImpliesExpression(this)}}]),n}(k);C.ImpliesExpressionContext=R;var A=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"term",value:function(){return this.getTypedRuleContext(F,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterTermExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitTermExpression(this)}}]),n}(k);C.TermExpressionContext=A;var D=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"expression",value:function(){return this.getTypedRuleContext(k,0)}},{key:"typeSpecifier",value:function(){return this.getTypedRuleContext(ce,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterTypeExpression(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitTypeExpression(this)}}]),n}(k);C.TypeExpressionContext=D;var F=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_term,a}return s(n,[{key:"copyFrom",value:function(e){l(m(n.prototype),"copyFrom",this).call(this,e)}}]),n}(d.ParserRuleContext),q=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"externalConstant",value:function(){return this.getTypedRuleContext($,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterExternalConstantTerm(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitExternalConstantTerm(this)}}]),n}(F);C.ExternalConstantTermContext=q;var j=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"literal",value:function(){return this.getTypedRuleContext(z,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterLiteralTerm(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitLiteralTerm(this)}}]),n}(F);C.LiteralTermContext=j;var B=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"expression",value:function(){return this.getTypedRuleContext(k,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterParenthesizedTerm(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitParenthesizedTerm(this)}}]),n}(F);C.ParenthesizedTermContext=B;var H=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"invocation",value:function(){return this.getTypedRuleContext(X,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterInvocationTerm(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitInvocationTerm(this)}}]),n}(F);C.InvocationTermContext=H;var z=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_literal,a}return s(n,[{key:"copyFrom",value:function(e){l(m(n.prototype),"copyFrom",this).call(this,e)}}]),n}(d.ParserRuleContext),G=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"TIME",value:function(){return this.getToken(C.TIME,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterTimeLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitTimeLiteral(this)}}]),n}(z);C.TimeLiteralContext=G;var V=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterNullLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitNullLiteral(this)}}]),n}(z);C.NullLiteralContext=V;var K=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"DATETIME",value:function(){return this.getToken(C.DATETIME,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterDateTimeLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitDateTimeLiteral(this)}}]),n}(z);C.DateTimeLiteralContext=K;var W=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"STRING",value:function(){return this.getToken(C.STRING,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterStringLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitStringLiteral(this)}}]),n}(z);C.StringLiteralContext=W;var J=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterBooleanLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitBooleanLiteral(this)}}]),n}(z);C.BooleanLiteralContext=J;var Y=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"NUMBER",value:function(){return this.getToken(C.NUMBER,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterNumberLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitNumberLiteral(this)}}]),n}(z);C.NumberLiteralContext=Y;var Q=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"quantity",value:function(){return this.getTypedRuleContext(ae,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterQuantityLiteral(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitQuantityLiteral(this)}}]),n}(z);C.QuantityLiteralContext=Q;var $=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_externalConstant,a}return s(n,[{key:"identifier",value:function(){return this.getTypedRuleContext(me,0)}},{key:"STRING",value:function(){return this.getToken(C.STRING,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterExternalConstant(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitExternalConstant(this)}}]),n}(d.ParserRuleContext),X=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_invocation,a}return s(n,[{key:"copyFrom",value:function(e){l(m(n.prototype),"copyFrom",this).call(this,e)}}]),n}(d.ParserRuleContext),Z=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterTotalInvocation(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitTotalInvocation(this)}}]),n}(X);C.TotalInvocationContext=Z;var ee=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterThisInvocation(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitThisInvocation(this)}}]),n}(X);C.ThisInvocationContext=ee;var te=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterIndexInvocation(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitIndexInvocation(this)}}]),n}(X);C.IndexInvocationContext=te;var ne=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"functn",value:function(){return this.getTypedRuleContext(le,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterFunctionInvocation(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitFunctionInvocation(this)}}]),n}(X);C.FunctionInvocationContext=ne;var re=function(e){o(n,e);var t=c(n);function n(e,r){var a,s;return i(this,n),l((a=f(s=t.call(this,e)),m(n.prototype)),"copyFrom",a).call(a,r),s}return s(n,[{key:"identifier",value:function(){return this.getTypedRuleContext(me,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterMemberInvocation(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitMemberInvocation(this)}}]),n}(X);C.MemberInvocationContext=re;var le=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_functn,a}return s(n,[{key:"identifier",value:function(){return this.getTypedRuleContext(me,0)}},{key:"paramList",value:function(){return this.getTypedRuleContext(ie,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterFunctn(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitFunctn(this)}}]),n}(d.ParserRuleContext),ie=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),h(f(a=t.call(this,r,l)),"expression",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(k):this.getTypedRuleContext(k,e)})),a.parser=e,a.ruleIndex=C.RULE_paramList,a}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterParamList(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitParamList(this)}}]),n}(d.ParserRuleContext),ae=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_quantity,a}return s(n,[{key:"NUMBER",value:function(){return this.getToken(C.NUMBER,0)}},{key:"unit",value:function(){return this.getTypedRuleContext(se,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterQuantity(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitQuantity(this)}}]),n}(d.ParserRuleContext),se=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_unit,a}return s(n,[{key:"dateTimePrecision",value:function(){return this.getTypedRuleContext(oe,0)}},{key:"pluralDateTimePrecision",value:function(){return this.getTypedRuleContext(ue,0)}},{key:"STRING",value:function(){return this.getToken(C.STRING,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterUnit(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitUnit(this)}}]),n}(d.ParserRuleContext),oe=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_dateTimePrecision,a}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterDateTimePrecision(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitDateTimePrecision(this)}}]),n}(d.ParserRuleContext),ue=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_pluralDateTimePrecision,a}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterPluralDateTimePrecision(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitPluralDateTimePrecision(this)}}]),n}(d.ParserRuleContext),ce=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_typeSpecifier,a}return s(n,[{key:"qualifiedIdentifier",value:function(){return this.getTypedRuleContext(fe,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterTypeSpecifier(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitTypeSpecifier(this)}}]),n}(d.ParserRuleContext),fe=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),h(f(a=t.call(this,r,l)),"identifier",(function(e){return void 0===e&&(e=null),null===e?this.getTypedRuleContexts(me):this.getTypedRuleContext(me,e)})),a.parser=e,a.ruleIndex=C.RULE_qualifiedIdentifier,a}return s(n,[{key:"enterRule",value:function(e){e instanceof y&&e.enterQualifiedIdentifier(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitQualifiedIdentifier(this)}}]),n}(d.ParserRuleContext),me=function(e){o(n,e);var t=c(n);function n(e,r,l){var a;return i(this,n),void 0===r&&(r=null),null==l&&(l=-1),(a=t.call(this,r,l)).parser=e,a.ruleIndex=C.RULE_identifier,a}return s(n,[{key:"IDENTIFIER",value:function(){return this.getToken(C.IDENTIFIER,0)}},{key:"DELIMITEDIDENTIFIER",value:function(){return this.getToken(C.DELIMITEDIDENTIFIER,0)}},{key:"enterRule",value:function(e){e instanceof y&&e.enterIdentifier(this)}},{key:"exitRule",value:function(e){e instanceof y&&e.exitIdentifier(this)}}]),n}(d.ParserRuleContext);C.EntireExpressionContext=L,C.ExpressionContext=k,C.TermContext=F,C.LiteralContext=z,C.ExternalConstantContext=$,C.InvocationContext=X,C.FunctnContext=le,C.ParamListContext=ie,C.QuantityContext=ae,C.UnitContext=se,C.DateTimePrecisionContext=oe,C.PluralDateTimePrecisionContext=ue,C.TypeSpecifierContext=ce,C.QualifiedIdentifierContext=fe,C.IdentifierContext=me,e.exports=C},8168:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,l=function(){};return{s:l,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,(void 0,i=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(l.key),"symbol"===r(i)?i:String(i)),l)}var i}function o(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var h=n(2589),p=n(4081),d=n(7688),y=n(4454),g=function(e){u(n,e);var t=f(n);function n(e){var r;return a(this,n),(r=t.call(this)).errors=e,r}return o(n,[{key:"syntaxError",value:function(e,t,n,r,l,i){this.errors.push([e,t,n,r,l,i])}}]),n}(h.error.ErrorListener);e.exports={parse:function(e){var t=new h.InputStream(e),n=new p(t),r=new h.CommonTokenStream(n),i=new d(r);i.buildParseTrees=!0;var s=[],c=new g(s);n.removeErrorListeners(),n.addErrorListener(c),i.removeErrorListeners(),i.addErrorListener(c);var m,v,b=i.entireExpression(),_=function(e){u(n,e);var t=f(n);function n(){return a(this,n),t.call(this)}return o(n)}(y),C={},L=[C],k=l(Object.getOwnPropertyNames(y.prototype));try{var S=function(){var e=v.value;e.startsWith("enter")?_.prototype[e]=function(t){var n=L[L.length-1],r=e.slice(5);(m={type:r}).text=t.getText(),n.children||(n.children=[]),n.children.push(m),L.push(m),m.terminalNodeText=[];var i,a=l(t.children);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.symbol&&m.terminalNodeText.push(s.getText())}}catch(e){a.e(e)}finally{a.f()}}:e.startsWith("exit")&&(_.prototype[e]=function(){L.pop()})};for(k.s();!(v=k.n()).done;)S()}catch(M){k.e(M)}finally{k.f()}var T=new _;if(h.tree.ParseTreeWalker.DEFAULT.walk(T,b),s.length>0){for(var U=[],O=0,x=s.length;O<x;++O){var M=s[O],I="line: "+M[2]+"; column: "+M[3]+"; message: "+M[4];U.push(I)}var E=new Error(U.join("\n"));throw E.errors=s,E}return C}}},3124:function(e,t,n){var r=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(e,t){return t=t||0,this.indexOf(e,t)===t}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(e,t){var n=this.toString();(void 0===t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}}),String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(){return-1!==this.indexOf.apply(this,arguments)}}),Object.assign||Object.defineProperty(Object,"assign",{value:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return r(arguments,1).reduce((function(e,t){return Object.keys(Object(t)).forEach((function(n){e[n]=t[n]})),e}),Object(e))}}),"undefined"==typeof btoa&&(n.g.btoa=function(e){return new Buffer.from(e,"binary").toString("base64")}),"undefined"==typeof atob&&(n.g.atob=function(e){return new Buffer.from(e,"base64").toString("binary")})},2705:function(e,t,n){var r=n(1575),l=n(4230),i={},a={};i.indexOf=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(n)?[]:n.indexOf(t)},i.substring=function(e,t,n){var i=l.singleton(e,"String");return r.isEmpty(i)||r.isEmpty(t)||t<0||t>=i.length?[]:void 0===n||r.isEmpty(n)?i.substring(t):i.substring(t,t+n)},i.startsWith=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(n)?[]:n.startsWith(t)},i.endsWith=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(n)?[]:n.endsWith(t)},i.containsFn=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(n)?[]:n.includes(t)},i.upper=function(e){var t=l.singleton(e,"String");return r.isEmpty(t)?[]:t.toUpperCase()},i.lower=function(e){var t=l.singleton(e,"String");return r.isEmpty(t)?[]:t.toLowerCase()},i.joinFn=function(e,t){return void 0===t&&(t=""),e.map((function(e){var t=r.valData(e);if("string"==typeof t)return t;throw new Error("Join requires a collection of strings.")})).join(t)},i.splitFn=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(n)?[]:n.split(t)},i.trimFn=function(e){var t=l.singleton(e,"String");return r.isEmpty(t)?[]:t.trim()},i.encodeFn=function(e,t){var n=l.singleton(e,"String");return r.isEmpty(n)?[]:"urlbase64"===t||"base64url"===t?btoa(n).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===t?btoa(n):"hex"===t?Array.from(n).map((function(e){return e.charCodeAt(0)<128?e.charCodeAt(0).toString(16):encodeURIComponent(e).replace(/%/g,"")})).join(""):[]},i.decodeFn=function(e,t){var n=l.singleton(e,"String");if(r.isEmpty(n))return[];if("urlbase64"===t||"base64url"===t)return atob(n.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===t)return atob(n);if("hex"===t){if(n.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+n.match(/.{2}/g).join("%"))}return[]};var s=!1===new RegExp("").dotAll;i.matches=s?function(e,t){var n=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(n)?[]:new RegExp(t,"s").test(n)}:function(e,t){var n,i=l.singleton(e,"String");return r.isEmpty(t)||r.isEmpty(i)?[]:new RegExp((a[n=t]||(a[n]=n.replace(/\./g,(function(e,t,n){var r=n.substr(0,t).replace(/\\\\/g,"").replace(/\\[\][]/g,""),l="\\"===r[r.length-1],i=r.lastIndexOf("["),a=r.lastIndexOf("]");return l||i>a?".":"[^]"}))),a[n])).test(i)},i.replace=function(e,t,n){var i=l.singleton(e,"String");if(r.isEmpty(t)||r.isEmpty(n)||r.isEmpty(i))return[];var a=new RegExp(r.escapeStringForRegExp(t),"g");return i.replace(a,n)},i.replaceMatches=function(e,t,n){var i=l.singleton(e,"String");if(r.isEmpty(t)||r.isEmpty(n)||r.isEmpty(i))return[];var a=new RegExp(t,"g");return i.replace(a,n)},i.length=function(e){var t=l.singleton(e,"String");return r.isEmpty(t)?[]:t.length},i.toChars=function(e){var t=l.singleton(e,"String");return r.isEmpty(t)?[]:t.split("")},e.exports=i},7028:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(l,arguments,i)}else n=l.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function u(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,"string");if("object"!==r(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var l=Object.getOwnPropertyDescriptor(r,t);return l.get?l.get.call(arguments.length<3?e:n):l.value}},f.apply(this,arguments)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var h=n(9829),p=n(8973).ng.getInstance(),d=n(4497),y="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",g=new RegExp("^T?"+y+"$"),v=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+y+")?)?)?Z?$"),b=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),_=function(){function e(){s(this,e)}return u(e,[{key:"equals",value:function(){return!1}},{key:"equivalentTo",value:function(){return!1}},{key:"toString",value:function(){return this.asStr?this.asStr:f(m(e.prototype),"toString",this).call(this)}},{key:"toJSON",value:function(){return this.toString()}},{key:"compare",value:function(){throw"Not implemented"}}]),e}(),C=function(e){l(n,e);var t=a(n);function n(e,r){var l;return s(this,n),(l=t.call(this)).asStr=e+" "+r,l.value=e,l.unit=r,l}return u(n,[{key:"equals",value:function(e){if(!(e instanceof this.constructor))return!1;if(this.unit===e.unit)return d.isEqual(this.value,e.value);var t=this._compareYearsAndMonths(e);if(t)return t.isEqual;var r=n.toUcumQuantity(this.value,this.unit),l=n.toUcumQuantity(e.value,e.unit),i=p.convertUnitTo(l.unit,l.value,r.unit);return"succeeded"===i.status&&d.isEqual(r.value,i.toVal)}},{key:"equivalentTo",value:function(e){if(!(e instanceof this.constructor))return!1;if(this.unit===e.unit)return d.isEquivalent(this.value,e.value);var t=n.getEquivalentUcumUnitCode(this.unit),r=n.getEquivalentUcumUnitCode(e.unit),l=p.convertUnitTo(r,e.value,t);return"succeeded"===l.status&&d.isEquivalent(this.value,l.toVal)}},{key:"_compareYearsAndMonths",value:function(e){var t=n._yearMonthConversionFactor[this.unit],r=n._yearMonthConversionFactor[e.unit];return t&&r?{isEqual:d.isEqual(this.value*t,e.value*r)}:null}}]),n}(_),L=/^'|'$/g;C.getEquivalentUcumUnitCode=function(e){return C.mapTimeUnitsToUCUMCode[e]||e.replace(L,"")},C.toUcumQuantity=function(e,t){var n=C._calendarDuration2Seconds[t];return n?{value:n*e,unit:"s"}:{value:e,unit:t.replace(L,"")}},C.convUnitTo=function(e,t,n){var r=C._yearMonthConversionFactor[e],l=C._yearMonthConversionFactor[n];if(r&&l)return new C(r*t/l,n);var i=C._calendarDuration2Seconds[e],a=C._calendarDuration2Seconds[n];if(a){if(i)return new C(i*t/a,n);var s=p.convertUnitTo(e.replace(/^'|'$/g,""),t,"s");if("succeeded"===s.status)return new C(s.toVal/a,n)}else{var o=i?p.convertUnitTo("s",i*t,n.replace(/^'|'$/g,"")):p.convertUnitTo(e.replace(/^'|'$/g,""),t,n.replace(/^'|'$/g,""));if("succeeded"===o.status)return new C(o.toVal,n)}return null},C._calendarDuration2Seconds={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,year:31536e3,month:2592e3,week:604800,day:86400,hour:3600,minute:60,second:1,millisecond:.001},C._yearMonthConversionFactor={years:12,months:1,year:12,month:1},C.arithmeticDurationUnits={years:"year",months:"month",weeks:"week",days:"day",hours:"hour",minutes:"minute",seconds:"second",milliseconds:"millisecond",year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond","'wk'":"week","'d'":"day","'h'":"hour","'min'":"minute","'s'":"second","'ms'":"millisecond"},C.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},C.mapTimeUnitsToUCUMCode=Object.keys(C.mapUCUMCodeToTimeUnits).reduce((function(e,t){return e[C.mapUCUMCodeToTimeUnits[t]]=t,e[C.mapUCUMCodeToTimeUnits[t]+"s"]=t,e}),{});var k=function(e){l(n,e);var t=a(n);function n(e){var r;return s(this,n),(r=t.call(this)).asStr=e,r}return u(n,[{key:"plus",value:function(e){var t=e.unit,r=C.arithmeticDurationUnits[t];if(!r)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(C.arithmeticDurationUnits));var l=this.constructor,i=l._timeUnitToDatePrecision[r];if(void 0===i)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(l._timeUnitToDatePrecision).join(", ")+".");var a=e.value,s=l===T;if((s?i<2:i<5)&&(a=Math.trunc(a)),this._getPrecision()<i){var o=l._datePrecisionToTimeUnit[this._getPrecision()];if("second"!==o){var u=C.convUnitTo(r,a,o);r=u.unit,a=Math.trunc(u.value)}}var c=n.timeUnitToAddFn[r](this._getDateObj(),a),f=this._getPrecision();s&&(f+=3);var m=S.isoDateTime(c,f);return s&&(m=m.slice(m.indexOf("T")+1)),new l(m)}},{key:"equals",value:function(e){var t;if(e instanceof this.constructor||this instanceof e.constructor){var n=this._getPrecision(),r=e._getPrecision();if(n==r)t=this._getDateObj().getTime()==e._getDateObj().getTime();else{var l=n<=r?n:r,i=this._getDateObj().toISOString(),a=e._getDateObj().toISOString();this.constructor===T&&(l+=3,n+=3,r+=3);for(var s=n>2?new S(i)._getTimeParts():this._getTimeParts(),o=r>2?new S(a)._getTimeParts():e._getTimeParts(),u=0;u<=l&&!1!==t;++u)t=s[u]==o[u];t&&(t=void 0)}}else t=!1;return t}},{key:"equivalentTo",value:function(e){var t=e instanceof this.constructor;return t&&(t=this._getPrecision()==e._getPrecision())&&(t=this._getDateObj().getTime()==e._getDateObj().getTime()),t}},{key:"compare",value:function(e){var t=this._getPrecision(),n=e._getPrecision(),r=t<=n?this._getDateObj().getTime():this._dateAtPrecision(n).getTime(),l=n<=t?e._getDateObj().getTime():e._dateAtPrecision(t).getTime();return t!==n&&r===l?null:r-l}},{key:"_getPrecision",value:function(){return void 0===this.precision&&this._getMatchData(),this.precision}},{key:"_getMatchData",value:function(e,t){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(e),this.timeMatchData))for(var n=t;n>=0&&void 0===this.precision;--n)this.timeMatchData[n]&&(this.precision=n);return this.timeMatchData}},{key:"_getTimeParts",value:function(e){var t=[];t=[e[0]];var n=e[4];if(n){var r=t[0];t[0]=r.slice(0,r.length-n.length)}var l=e[1];if(l){var i=t[0];t[0]=i.slice(0,i.length-l.length),t[1]=l;var a=e[2];if(a){t[1]=l.slice(0,l.length-a.length),t[2]=a;var s=e[3];s&&(t[2]=a.slice(0,a.length-s.length),t[3]=s)}}return t}},{key:"_getDateObj",value:function(){if(!this.dateObj){var e=this._getPrecision();this.dateObj=this._dateAtPrecision(e)}return this.dateObj}},{key:"_createDate",value:function(e,t,n,r,l,i,a,s){var o=new Date(e,t,n,r,l,i,a);if(s){var u=o.getTimezoneOffset(),c=0;if("Z"!=s){var f=s.split(":"),m=parseInt(f[0]);c=parseInt(f[1]),m<0&&(c=-c),c+=60*m}o=h(o,-u-c)}return o}}]),n}(_);k.timeUnitToAddFn={year:n(8303),month:n(8459),week:n(8998),day:n(7929),hour:n(1973),minute:n(9829),second:n(7492),millisecond:n(3936)};var S=function(e){l(n,e);var t=a(n);function n(e){return s(this,n),t.call(this,e)}return u(n,[{key:"compare",value:function(e){if(!(e instanceof n))throw"Invalid comparison of a DateTime with something else";return f(m(n.prototype),"compare",this).call(this,e)}},{key:"_getMatchData",value:function(){return f(m(n.prototype),"_getMatchData",this).call(this,v,5)}},{key:"_getTimeParts",value:function(){if(!this.timeParts){var e=this._getMatchData(),t=e[0];this.timeParts=[t];var r=e[1];if(r){this.timeParts[0]=t.slice(0,t.length-r.length),this.timeParts[1]=r;var l=e[2];if(l){this.timeParts[1]=r.slice(0,r.length-l.length),this.timeParts[2]=l;var i=e[3];i&&(this.timeParts[2]=l.slice(0,l.length-i.length),"T"===i[0]&&(e[3]=i.slice(1)),this.timeParts=this.timeParts.concat(f(m(n.prototype),"_getTimeParts",this).call(this,e.slice(3))))}}}return this.timeParts}},{key:"_dateAtPrecision",value:function(e){var t=this._getTimeParts(),n=this._getMatchData()[7],r=this._getPrecision(),l=parseInt(t[0]),i=r>0?parseInt(t[1].slice(1))-1:0,a=r>1?parseInt(t[2].slice(1)):1,s=r>2?parseInt(t[3]):0,o=r>3?parseInt(t[4].slice(1)):0,u=r>4?parseInt(t[5].slice(1)):0,c=t.length>6?parseInt(t[6].slice(1)):0,f=this._createDate(l,i,a,s,o,u,c,n);return e<r&&(l=f.getFullYear(),i=e>0?f.getMonth():0,a=e>1?f.getDate():1,s=e>2?f.getHours():0,o=e>3?f.getMinutes():0,f=new Date(l,i,a,s,o)),f}}]),n}(k);S.checkString=function(e){var t=new S(e);return t._getMatchData()||(t=null),t},S._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},S._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"];var T=function(e){l(n,e);var t=a(n);function n(e){return s(this,n),"T"==e[0]&&(e=e.slice(1)),t.call(this,e)}return u(n,[{key:"compare",value:function(e){if(!(e instanceof n))throw"Invalid comparison of a time with something else";return f(m(n.prototype),"compare",this).call(this,e)}},{key:"_dateAtPrecision",value:function(e){var t=this._getTimeParts(),n=this._getMatchData()[4],r=this._getPrecision(),l=2010,i=parseInt(t[0]),a=r>0?parseInt(t[1].slice(1)):0,s=r>1?parseInt(t[2].slice(1)):0,o=t.length>3?parseInt(t[3].slice(1)):0,u=this._createDate(l,0,1,i,a,s,o,n);return n&&(u.setYear(l),u.setMonth(0),u.setDate(1)),e<r&&(i=u.getHours(),a=e>0?u.getMinutes():0,u=new Date(l,0,1,i,a)),u}},{key:"_getMatchData",value:function(){return f(m(n.prototype),"_getMatchData",this).call(this,g,2)}},{key:"_getTimeParts",value:function(){return this.timeParts||(this.timeParts=f(m(n.prototype),"_getTimeParts",this).call(this,this._getMatchData())),this.timeParts}}]),n}(k);function U(e,t){var n=e;return 3===t&&e<100&&(n="0"+e),e<10&&(n="0"+n),n}T.checkString=function(e){var t=new T(e);return t._getMatchData()||(t=null),t},T._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},T._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],S.isoDateTime=function(e,t){void 0===t&&(t=5);var n=""+e.getFullYear();if(t>0&&(n+="-"+U(e.getMonth()+1),t>1&&(n+="-"+U(e.getDate()),t>2&&(n+="T"+S.isoTime(e,t-3)))),t>2){var r=e.getTimezoneOffset(),l=r<0?"+":"-",i=(r=Math.abs(r))%60;n+=l+U((r-i)/60)+":"+U(i)}return n},S.isoTime=function(e,t){void 0===t&&(t=2);var n=""+U(e.getHours());return t>0&&(n+=":"+U(e.getMinutes()),t>1&&(n+=":"+U(e.getSeconds()),e.getMilliseconds()&&(n+="."+U(e.getMilliseconds(),3)))),n};var O=function(e){l(n,e);var t=a(n);function n(e){return s(this,n),t.call(this,e)}return u(n,[{key:"_getMatchData",value:function(){return k.prototype._getMatchData.apply(this,[b,2])}}]),n}(S);O.checkString=function(e){var t=new O(e);return t._getMatchData()||(t=null),t},O.isoDate=function(e,t){return(void 0===t||t>2)&&(t=2),S.isoDateTime(e,t)};var x=function(){function e(t,n,r){s(this,e),null!=t&&t.resourceType&&(n=t.resourceType),this.path=n,this.data=t,this._data=r||{}}return u(e,[{key:"getTypeInfo",value:function(){var e=E.FHIR;return/^System\.(.*)$/.test(this.path)?new E({namespace:E.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new E({namespace:e,name:this.path}):E.model?new E({namespace:e,name:"BackboneElement"}):E.createByValueInNamespace({namespace:e,value:this.data})}},{key:"toJSON",value:function(){return JSON.stringify(this.data)}},{key:"convertData",value:function(){var e,t=this.data;if(E.isType(this.path,"Quantity")){if("http://unitsofmeasure.org"===(null===(e=t)||void 0===e?void 0:e.system)&&"number"==typeof t.value&&"string"==typeof t.code){if(void 0!==t.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");t=new C(t.value,C.mapUCUMCodeToTimeUnits[t.code]||"'"+t.code+"'")}}else"date"===this.path?t=O.checkString(t)||t:"dateTime"===this.path?t=S.checkString(t)||t:"time"===this.path&&(t=T.checkString(t)||t);return t}}]),e}();x.makeResNode=function(e,t,n){return e instanceof x?e:new x(e,t,n)};var M,I,E=function(){function e(t){var n=t.name,r=t.namespace;s(this,e),this.name=n,this.namespace=r}return u(e,[{key:"is",value:function(t){return t instanceof e&&(!this.namespace||!t.namespace||this.namespace===t.namespace)&&(!e.model||this.namespace&&this.namespace!==e.FHIR?this.name===t.name:e.isType(this.name,t.name))}}]),e}();M=E,(I=c(I="model"))in M?Object.defineProperty(M,I,{value:null,enumerable:!0,configurable:!0,writable:!0}):M[I]=null,E.isType=function(e,t){do{var n;if(e===t)return!0}while(e=null===(n=E.model)||void 0===n?void 0:n.type2Parent[e]);return!1},E.System="System",E.FHIR="FHIR",E.createByValueInNamespace=function(e){var t=e.namespace,n=e.value,l=r(n);return Number.isInteger(n)?l="integer":"number"===l?l="decimal":n instanceof O?l="date":n instanceof S?l="dateTime":n instanceof T?l="time":n instanceof C&&(l="Quantity"),t===E.System&&(l=l.replace(/^\w/,(function(e){return e.toUpperCase()}))),new E({namespace:t,name:l})},E.fromValue=function(e){return e instanceof x?e.getTypeInfo():E.createByValueInNamespace({namespace:E.System,value:e})},e.exports={FP_Type:_,FP_TimeBase:k,FP_Date:O,FP_DateTime:S,FP_Time:T,FP_Quantity:C,timeRE:g,dateTimeRE:v,ResourceNode:x,TypeInfo:E,typeFn:function(e){return e.map((function(e){return E.fromValue(e)}))},isFn:function(e,t){if(0===e.length)return[];if(e.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(e));return E.fromValue(e[0]).is(t)},asFn:function(e,t){if(0===e.length)return[];if(e.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(e));return E.fromValue(e[0]).is(t)?e:[]}}},1575:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var l={},i=n(7028).ResourceNode;l.raiseError=function(e,t){throw(t=t?t+": ":"")+e},l.assertAtMostOne=function(e,t){e.length>1&&l.raiseError("Was expecting no more than one element but got "+JSON.stringify(e),t)},l.assertType=function(e,t,n){var i=this.valData(e);if(t.indexOf(r(i))<0){var a=t.length>1?"one of "+t.join(", "):t[0];l.raiseError("Found type '"+r(e)+"' but was expecting "+a,n)}return i},l.isEmpty=function(e){return Array.isArray(e)&&0==e.length},l.isSome=function(e){return null!=e&&!l.isEmpty(e)},l.isTrue=function(e){return null!=e&&(!0===e||1==e.length&&!0===e[0])},l.isFalse=function(e){return null!=e&&(!1===e||1==e.length&&!1===e[0])},l.isCapitalized=function(e){return e&&e[0]===e[0].toUpperCase()},l.flatten=function(e){return e.reduce((function(e,t){return Array.isArray(t)?e=e.concat(t):e.push(t),e}),[])},l.arraify=function(e){return Array.isArray(e)?e:l.isSome(e)?[e]:[]},l.valData=function(e){return e instanceof i?e.data:e},l.valDataConverted=function(e){return e instanceof i&&(e=e.convertData()),e},l.escapeStringForRegExp=function(e){return e.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},e.exports=l},950:function(e){e.exports=function(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}},7929:function(e,t,n){var r=n(1429);e.exports=function(e,t){var n=r(e),l=Number(t);return n.setDate(n.getDate()+l),n}},1973:function(e,t,n){var r=n(3936);e.exports=function(e,t){var n=Number(t);return r(e,36e5*n)}},3936:function(e,t,n){var r=n(1429);e.exports=function(e,t){var n=r(e).getTime(),l=Number(t);return new Date(n+l)}},9829:function(e,t,n){var r=n(3936);e.exports=function(e,t){var n=Number(t);return r(e,6e4*n)}},8459:function(e,t,n){var r=n(1429),l=n(4926);e.exports=function(e,t){var n=r(e),i=Number(t),a=n.getMonth()+i,s=new Date(0);s.setFullYear(n.getFullYear(),a,1),s.setHours(0,0,0,0);var o=l(s);return n.setMonth(a,Math.min(o,n.getDate())),n}},7492:function(e,t,n){var r=n(3936);e.exports=function(e,t){var n=Number(t);return r(e,1e3*n)}},8998:function(e,t,n){var r=n(7929);e.exports=function(e,t){var n=Number(t);return r(e,7*n)}},8303:function(e,t,n){var r=n(8459);e.exports=function(e,t){var n=Number(t);return r(e,12*n)}},4926:function(e,t,n){var r=n(1429);e.exports=function(e){var t=r(e),n=t.getFullYear(),l=t.getMonth(),i=new Date(0);return i.setFullYear(n,l+1,0),i.setHours(0,0,0,0),i.getDate()}},7144:function(e){e.exports=function(e){return e instanceof Date}},1429:function(e,t,n){var r=n(950),l=n(7144),i=36e5,a=6e4,s=/[T ]/,o=/:/,u=/^(\d{2})$/,c=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],f=/^(\d{4})/,m=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],h=/^-(\d{2})$/,p=/^-?(\d{3})$/,d=/^-?(\d{2})-?(\d{2})$/,y=/^-?W(\d{2})$/,g=/^-?W(\d{2})-?(\d{1})$/,v=/^(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,_=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,C=/([Z+-].*)$/,L=/^(Z)$/,k=/^([+-])(\d{2})$/,S=/^([+-])(\d{2}):?(\d{2})$/;function T(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var l=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+l),r}e.exports=function(e,t){if(l(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var n=(t||{}).additionalDigits;n=null==n?2:Number(n);var U,O,x,M=function(e){var t,n={},r=e.split(s);if(o.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var l=C.exec(t);l?(n.time=t.replace(l[1],""),n.timezone=l[1]):n.time=t}return n}(e),I=function(e,t){var n,r=c[t],l=m[t];if(n=f.exec(e)||l.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=u.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(M.date,n),E=I.year,w=function(e,t){if(null===t)return null;var n,r,l;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=h.exec(e))return r=new Date(0),l=parseInt(n[1],10)-1,r.setUTCFullYear(t,l),r;if(n=p.exec(e)){r=new Date(0);var i=parseInt(n[1],10);return r.setUTCFullYear(t,0,i),r}if(n=d.exec(e)){r=new Date(0),l=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return r.setUTCFullYear(t,l,a),r}return(n=y.exec(e))?T(t,parseInt(n[1],10)-1):(n=g.exec(e))?T(t,parseInt(n[1],10)-1,parseInt(n[2],10)-1):null}(I.restDateString,E);if(w){var N,P=w.getTime(),R=0;if(M.time&&(R=function(e){var t,n,r;if(t=v.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*i;if(t=b.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*i+r*a;if(t=_.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var l=parseFloat(t[3].replace(",","."));return n%24*i+r*a+1e3*l}return null}(M.time)),M.timezone)U=M.timezone,N=((O=L.exec(U))?0:(O=k.exec(U))?(x=60*parseInt(O[2],10),"+"===O[1]?-x:x):(O=S.exec(U))?(x=60*parseInt(O[2],10)+parseInt(O[3],10),"+"===O[1]?-x:x):0)*a;else{var A=P+R,D=new Date(A);N=r(D);var F=new Date(A);F.setDate(D.getDate()+1);var q=r(F)-r(D);q>0&&(N+=q)}return new Date(P+R+N)}return new Date(e)}},7643:function(e){"use strict";e.exports=Number.isFinite||function(e){return!("number"!=typeof e||e!=e||e===1/0||e===-1/0)}},1781:function(e,t,n){var r=n(7643);e.exports=Number.isInteger||function(e){return"number"==typeof e&&r(e)&&Math.floor(e)===e}},4557:function(e){"use strict";e.exports={version:"3.5.0"}},7698:function(e){"use strict";e.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","μ",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2π turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093×10^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"π","dimless",false,null,null,1,false,false,0,"π","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter ≈ 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg⋅m2⋅s3","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415×10^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"Ω","si",true,null,null,1,false,false,0,"Ω; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; Ω1; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"°C","si",true,null,"Cel",1,true,false,0,"°C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd⋅sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"°","iso1000",false,null,null,1,false,false,0,"°; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to π/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"□<sup>g</sup>","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"a<sub>t</sub>","iso1000",false,null,null,1,false,false,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"a<sub>j</sub>","iso1000",false,null,null,1,false,false,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"a<sub>g</sub>","iso1000",false,null,null,1,false,false,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mo<sub>s</sub>","iso1000",false,null,null,1,false,false,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"mo<sub>j</sub>","iso1000",false,null,null,1,false,false,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mo<sub>g</sub>","iso1000",false,null,null,1,false,false,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"<i>c</i>","const",true,null,null,1,false,false,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"<i>h</i>","const",true,null,null,1,false,false,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 × 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"<i>k</i>","const",true,null,null,1,false,false,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 ×10^23 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"<i>ε<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,"ε0; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854× 10^12 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"<i>μ<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,"μ0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4π×10^7 N/A2 (Newtons per square ampere) ≈ 1.2566×10^6 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"<i>e</i>","const",true,null,null,1,false,false,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton ≈ 1.60217×10^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602×10^19 C = 1.6×1019 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"<i>m<sub><r>e</r></sub></i>","const",true,null,null,1,false,false,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 × 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"<i>m<sub><r>p</r></sub></i>","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622×1027 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"<i>G</i>","const",true,null,null,1,false,false,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674×1011 N⋅m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"<i>g<sub>n</sub></i>","const",true,null,null,1,false,false,0,"standard gravity; g; ɡ0; ɡn","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88×10^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4π amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ π candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,"röntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ft<sub>us</sub>","us-lengths",false,null,null,1,false,false,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunters measurement; surveyors measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; ♏ US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons ≈ 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; ♏ br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"ʒ; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°F","heat",false,null,"degF",1,true,false,0,"°F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"°R","heat",false,null,null,1,false,false,0,"°R; °Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees Réaumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"°Ré","heat",false,null,"degRe",1,true,false,0,"°Ré, °Re, °r; Réaumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15°C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal<sub>15°C</sub>","heat",true,null,null,1,false,false,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20°C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal<sub>20°C</sub>","heat",true,null,null,1,false,false,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"cal<sub>m</sub>","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"cal<sub>IT</sub>","heat",true,null,null,1,false,false,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"cal<sub>th</sub>","heat",true,null,null,1,false,false,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39°F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu<sub>39°F</sub>","heat",false,null,null,1,false,false,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59°F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu<sub>59°F</sub>","heat",false,null,null,1,false,false,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60°F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu<sub>60°F</sub>","heat",false,null,null,1,false,false,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btu<sub>m</sub>","heat",false,null,null,1,false,false,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"Btu<sub>IT</sub>","heat",false,null,null,1,false,false,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btu<sub>th</sub>","heat",false,null,null,1,false,false,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in HO<sub><r>2</r></sub>","clinical",false,null,null,1,false,false,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in Hg","clinical",false,null,null,1,false,false,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa·min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; Δ; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charrières, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes® method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(μV)","levels",true,null,"lgTimes2",1,true,false,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,"stère; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,false],[false,"Ångström","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"Å","misc",false,null,null,1,false,false,0,"Å; Angstroms; Ao; Ångströms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,"siemens; ohm reciprocals; Ω^1; Ω-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4πsr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ct<sub>m</sub>","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ct<sub><r>Au</r></sub>","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bit<sub>s</sub>","infotech",false,null,"ld",1,true,false,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/10<sup>10<.sup>",null,false,null,null,1,false,false,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/10<sup>12<.sup>",null,false,null,null,1,false,false,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/10<sup>3<.sup>",null,false,null,null,1,false,false,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/10<sup>6<.sup>",null,false,null,null,1,false,false,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/10<sup>9<.sup>",null,false,null,null,1,false,false,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm HO<sub><r>2<.r></sub>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m<sup>2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m<sup>3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/μL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ft<sub>us</sub>)/(ft<sub>us</sub>)","us-lengths",false,null,null,1,false,false,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive test to detect lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>12</sup>)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"10<sup>3</sup>","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/μL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(10<sup>4</sup>)/μL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"10<sup>5</sup>","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"10<sup>6</sup>","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>).CFU/L","dimless",false,null,null,1,false,true,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(10<sup>6</sup>).(i.U.)","dimless",false,null,null,1,false,true,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(10<sup>6</sup>)/h","dimless",false,null,null,1,false,false,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(10<sup>6</sup>)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/μL","dimless",false,null,null,1,false,false,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"10<sup>8</sup>","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/μL","dimless",false,null,null,1,false,false,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))",null,false,null,null,1,false,false,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(μN.s)/(cm<sup>5</sup>).(m<sup>2</sup>)",null,false,null,null,1,false,false,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm HO<sub><r>2</r></sub>)/L/s","clinical",true,null,null,1,false,false,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm HO<sub><r>2</r></sub>)/s/m","clinical",true,null,null,1,false,false,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm Hg","clinical",true,null,null,1,false,false,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm<sup>2</sup>",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^3 Pa.s = 1 mPa·.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"°/s","iso1000",false,null,null,1,false,false,0,"deg/sec; deg per sec; °/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm<sup>2</sup>)/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m<sup>2</sup>))","cgs",true,null,null,1,false,false,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/μmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm<sup>3</sup>)",null,false,"M",null,1,false,false,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m<sup>2</sup>))",null,false,"M",null,1,false,false,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m<sup>2</sup>)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m<sup>2</sup>",null,false,"L",null,1,false,false,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m<sup>3</sup>)/s",null,false,"L",null,1,false,false,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m<sup>2</sup>)","chemical",true,null,null,1,false,false,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm HO<sub><r>2</r></sub>)","iso1000",true,null,null,1,false,false,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm Hg","clinical",true,null,null,1,false,false,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm<sup>2</sup>",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m<sup>2</sup>)","si",true,null,null,1,false,false,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m<sup>3</sup>)","si",true,null,null,1,false,false,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(10<sup>6</sup>)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"Ω.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/μmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(10<sup>10</sup>)","chemical",true,null,null,1,false,false,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(10<sup>12</sup>)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(10<sup>6</sup>)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(10<sup>9</sup>)","chemical",true,null,null,1,false,false,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"μi.U.","chemical",true,null,null,1,false,true,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(μi.U.)/L","chemical",true,null,null,1,false,true,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(μi.U.)/mL","chemical",true,null,null,1,false,true,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μeq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μeq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μeq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"μg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"μg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"μg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"μg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"μg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"μg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(μg/kg)/d",null,false,"M",null,1,false,false,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(μg/kg)/h",null,false,"M",null,1,false,false,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(μg/kg)/min",null,false,"M",null,1,false,false,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"μg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(μg/L)/h",null,false,"M",null,1,false,false,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"μg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"μg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"μg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"μg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"μg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"μg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"μg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"μkat","chemical",true,null,null,1,false,false,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"μL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"μL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"μm",null,false,"L",null,1,false,false,0,"micrometers; micrometres; μm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"μm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"μmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"μmol/d","si",true,null,null,1,false,false,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"μmol/dL","si",true,null,null,1,false,false,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"μmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"μmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"μmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"μmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(μmol/L)/h","si",true,null,null,1,false,false,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"μmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"μmol/min","si",true,null,null,1,false,false,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(μmol/min)/g","si",true,null,null,1,false,false,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(μmol/min)/L","si",true,null,null,1,false,false,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"μmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(μmol/mL)/min","si",true,null,null,1,false,false,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"μmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"μmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"μmol/μmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"μΩ","si",true,null,null,1,false,false,0,"microOhms; µΩ","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"μs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"μU/g","chemical",true,null,null,1,false,false,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"μU/L","chemical",true,null,null,1,false,false,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"μU/mL","chemical",true,null,null,1,false,false,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"μV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')}},t={};function n(r){var l=t[r];if(void 0!==l)return l.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var r=n(9159);window.fhirpath=r}();