{"version":3,"sources":["quantities.js"],"names":["root","factory","exports","module","define","amd","Qty","this","UNITS","","","Math","pow","","","","","","","","","","","","","","","","","","","","","","","","","","","","<1>","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","PI","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BASE_UNITS","UNITY","UNITY_ARRAY","SCI_NUMBER","QTY_STRING_REGEX","RegExp","POWER_OP","TOP_REGEX","BOTTOM_REGEX","SIGNATURE_VECTOR","KINDS","-312058","-312038","-152040","-152038","-152058","-39","-38","-20","-19","-18","0","1","2","3","20","400","7942","7959","7962","7979","7981","7997","8000","159999","160000","160020","312058","3199980","3199997","3200000","63999998","64000000","1280000000","25600000000","511999999980","512000000000","10240000000000","baseUnitCache","init_value","scalar","base_scalar","signature","output","numerator","denominator","constructor","String","trim","val","result","exec","parseFloat","n","x","nx","top","bottom","isNaN","UNIT_TEST_REGEX","test","i","abs","replace","j","parseUnits","call","length","join","indexOf","compareArray","isBase","vector","unitSignatureVector","toBase","Array","r","k","reduce","previous","current","index","array","base","isTemperature","throwIncompatibleUnits","parse","value","e","swiftConverter","srcUnits","dstUnits","srcQty","dstQty","eq","identity","mul","to","prototype","toFloat","isUnitless","isCompatible","other","undefined","isInverse","inverse","kind","toString","is_base","isDegrees","match","concat","forEach","item","qty","q","units","toTempK","cached","unit","num","den","PREFIX_VALUES","mul_safe","UNIT_VALUES","push","a","b","toBaseUnits","_units","numIsUnity","denIsUnity","numUnits","stringifyUnits","denUnits","compareTo","lt","lte","gt","gte","toPrec","prec_quantity","round","target_units_or_max_decimals_or_prec","max_decimals","target_units","out","same","target","src","dst","dstScalar","toTemp","srcDegK","toDegK","toDegrees","div_safe","add","addTempDegrees","sub","rhs","lhsUnits","lhs","rhsConverted","dstDegrees","getDegreeUnits","temp","tempDegrees","op1","op2","numden","cleanTerms","div","parsedUnitsCache","unit_match","normalizedUnits","UNIT_MATCH_REGEX","slice","map","PREFIX_MAP","UNIT_MAP","filter","NestedMap","get","keys","arguments","apply","key","childMap","data","set","stringifiedUnitsCache","stringified","token","token_next","unitNames","OUTPUT_MAP","getOutputNames","acc","unitCounter","unitCount","array1","array2","decimals","num_regex","exp_regex","deg","arg","getFractional","fractional","parseInt","combined","prop","hasOwnProperty","unit_def","definition","UNIT_MATCH","Object","sort"],"mappings":"CAYC,SAAUA,EAAMC,GACU,iBAAZC,QAIPC,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAE9CD,OAAOH,GAGPD,EAAKM,IAAML,IAXnB,CAaEM,KAAM,WACN,IAAIC,GAEFC,aAAe,UAAW,MAAO,UACjCC,WAAe,KAAK,OAAO,QAASC,KAAKC,IAAI,EAAE,IAAK,UACpDC,WAAe,KAAK,OAAO,QAASF,KAAKC,IAAI,EAAE,IAAK,UACpDE,WAAe,KAAK,OAAO,QAASH,KAAKC,IAAI,EAAE,IAAK,UACpDG,WAAe,KAAK,OAAO,QAASJ,KAAKC,IAAI,EAAE,IAAK,UACpDI,WAAe,KAAK,OAAO,QAASL,KAAKC,IAAI,EAAE,IAAK,UACpDK,UAAe,KAAK,MAAM,OAAQN,KAAKC,IAAI,EAAE,IAAK,UAClDM,WAAe,KAAK,OAAO,QAASP,KAAKC,IAAI,EAAE,IAAK,UACpDO,WAAe,KAAK,OAAO,QAASR,KAAKC,IAAI,EAAE,IAAK,UACpDQ,YAAe,IAAI,QAAQ,SAAU,KAAM,UAC3CC,YAAe,IAAI,QAAQ,SAAU,KAAM,UAC3CC,UAAe,IAAI,MAAM,OAAQ,KAAM,UACvCC,WAAe,IAAI,OAAO,QAAS,KAAM,UACzCC,WAAe,IAAI,OAAO,QAAS,KAAM,UACzCC,WAAe,IAAI,OAAO,QAAS,IAAK,UACxCC,WAAe,IAAI,OAAO,QAAS,IAAK,UACxCC,WAAe,IAAI,QAAS,IAAK,UAC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