chemicaltools
Advanced tools
Comparing version 1.2.19 to 1.2.20
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.chemicaltools=n():e.chemicaltools=n()}(this,(function(){return(e={66:e=>{var n=function(e,n,a){var r=Math.pow(10,-e[0]),t=Math.pow(10,-a),i=.5*(Math.sqrt(r*r+4*r*n+t)-r);return i>0?-Math.log(i)/Math.LN10:1024},a=function(e,n,a){for(var r=0,t=1,i=new Array,o=new Array,s=new Array,u=Math.pow(10,-a),m=Math.pow(u,e.length+1),N=0;N<e.length;N++)o[N]=Math.pow(10,-e[N]);for(N=0;N<e.length+1;N++)i[N]=m*t,r+=i[N],m/=u,t*=o[N];for(N=0;N<e.length+1;N++)s[N]=n*i[N]/r;return s},r=function(e,n,a){var r="";return e?(a<n-1&&(r+="H",n-a>2&&(r+=n-a-1)),r+="A",a>0&&(a>1&&(r+=a),r+="-")):(r+="B",n-a>2?r+="(OH)"+(n-a-1):n-a==2&&(r+="OH"),a>0&&(a>1&&(r+=a),r+="+")),r};e.exports=function(e,t,i){for(var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:14,s=-1.74,u=0;u<t.length;u++)t[u]<s&&(t[u]=s);var m=n(t,e,o),N=a(t,e,m);i||(m=o-m);var h=Math.pow(10,-m),l=[{name:N?"H+":"OH-",c:h}];for(u=0;u<N.length;u++)l.push({name:r(i,N.length,u),c:N[u]});return{c:e,pH:m,ion:l}}},608:e=>{e.exports=function(e){var n=e.length;if(n>1){for(var a=e.reduce((function(e,n){return e+n}),0)/n,r=0,t=0;t<n;t++){r+=Math.abs(parseFloat(e[t])-a);var i=0+Math.pow(parseFloat(e[t])-a,2)}var o=r/n,s=o/a,u=Math.sqrt(i/(n-1));return{input:e,average:a,average_deviation:o,relative_average_deviation:s,standard_deviation:u,relative_standard_deviation:u/o}}return null}},103:(e,n,a)=>{var r=a(981),t=a(186).search;e.exports=function(e){try{var n=r.convertToPinyin(e).toLowerCase()}catch(e){n=""}return t("name",e)||t("number",e)||t("symbol",e)||t("iupac",e)||t("pinyin",e)||t("pinyin",n)}},629:(e,n,a)=>{var r=a(186),t=r.search,i=r.elementinfo;n.makequestion=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iupac",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:86,r=Array.from(Array(a).keys()).sort((function(){return Math.random()-.5})).slice(0,4),t=i[r[0]][e];r.sort();for(var o=new Array(4),s=0;s<4;s++)o[s]=i[r[s]][n];return{question:t,options:o}},n.correctanswer=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iupac",i=t(a,e),o=i[r];return{correct:o==n,question:e,correct_answer:o,answer:n}}},636:e=>{var n=8.314;e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(e)if(a)if(r){if(t)return null;t=e*a/r/n}else r=e*a/n/t;else a=r*n*t/e;else e=r*n*t/a;return{p:e,V:a,n:r,T:t}}},931:(e,n,a)=>{var r=a(186),t=r.search,i=r.elementinfo,o=function(e){var n=e[0].charCodeAt();return n>64&&n<91?1:n>96&&n<123?2:n>47&&n<58?3:40==n|91==n|-23640==n?4:41==n|93==n|-23639==n?5:0},s=function(e){var n=t("symbol",e);return(n?n.number:0)-1},u=function(e,n){for(var a="";n<e.length&&3==o(e[n]);)a+=e[n],n++;return{n:parseInt(a)||1,l:a.length}};e.exports=function(e){var n=e.length,a=0,r=0,t=new Array,m=new Int8Array(118),N=new Array,h=new Array,l=new Array,d=new Array,c=new Array;if(n>0){for(var f=0;f<n;f++){N[f]=1;var A=e[f];4==o(A)?h[f]=1:5==o(A)?h[f]=-1:h[f]=0,a+=h[f]}if(0==a){var I=0;for(f=0;f<n;f++)if(1==h[f]){var G=1,g=f+1;for(l[I]=f;G>0;)G+=h[g],g++;d[I]=g,c[I]=u(e,g).n,I++}for(f=0;f<I;f++)for(g=l[f];g<d[f];g++)N[g]*=c[f];for(f=0;f<n;f++)if(A=e[f],1==o(A)){var U=e[f+1]||"1";g=f,2==o(U)&&(A+=U,f++);var p=s(A);if(-1!=p){var y=u(e,f+1);m[p]+=y.n*N[g],f+=y.l}}else 5==o(A)&&(f+=u(e,f+1).l);for(f=0;f<118;f++)m[f]>0&&(r+=m[f]*parseFloat(i[f].mass))}}if(r>0){var b=new Array(0);for(f=0;f<118;f++)m[f]>0&&(t[f]=parseFloat(m[f])*parseFloat(i[f].mass)/parseFloat(r)*100,b.push({name:i[f].name,iupac:i[f].iupac,symbol:i[f].symbol,atomnumber:m[f],mass:i[f].mass,massper:t[f]}));return{name:e,mass:r,peratom:b}}return null}},506:(e,n,a)=>{a(103),a(931),a(636),a(66),a(608);var r=a(629);r.makequestion,r.correctanswer,a(186).elementinfo},186:(e,n,a)=>{var r=a(981),t=function(e){var n=[];for(var a in e){var t=e[a],i={};if(i.number=parseInt(a)+1,i.name=t[1],t[2]?i.symbol=t[2]:i.symbol=t[4][0]+t[4][1],i.mass=t[3],i.iupac=t[4],i.origin=t[5],t[6])i.pinyin=t[6];else try{i.pinyin=r.convertToPinyin(t[1]).toLowerCase()}catch(e){i.pinyin=""}i.url="https://img.njzjz.win/?url=i.loli.net/2018/03/31/5abf7"+t[7]+".png",n[a]=i}return n}([{1:"氢",2:"H",3:1.008,4:"Hydrogen",5:"Composed of the Greek elements hydro-and -gen meaning water-forming",7:"8f72c517"},{1:"氦",3:4.003,4:"Helium",5:"The Greek helios, sun",7:"8fb29b3e"},{1:"锂",3:6.941,4:"Lithium",5:"The Greek lithos, stone",7:"8ff61f6d"},{1:"铍",3:9.012,4:"Beryllium",5:"Beryl, a mineral",7:"9033b661"},{1:"硼",2:"B",3:10.81,4:"Boron",5:"Borax, a mineral",7:"90632b69"},{1:"碳",2:"C",3:12.01,4:"Carbon",5:"The Latin carbo, coal",7:"90a5d246"},{1:"氮",2:"N",3:14.01,4:"Nitrogen",5:"The Greek nitron and -gen meaning niter-forming",7:"90f6de41"},{1:"氧",2:"O",3:16,4:"Oxygen",5:"From the Greek oxy-, both sharp and acid, and -gen, meaning acid-forming",7:"91367638"},{1:"氟",2:"F",3:19,4:"Fluorine",5:"The Latin fluere, to flow",7:"91b56c50"},{1:"氖",3:20.18,4:"Neon",5:"The Greek neos, meaning new",7:"9201479d"},{1:"钠",2:"Na",3:22.99,4:"Sodium",5:"The English word soda (natrium in Latin)",7:"9262c0c0"},{1:"镁",2:"Mg",3:24.31,4:"Magnesium",5:"Magnesia, a district of Eastern Thessalyin Greece",7:"92b3a942"},{1:"铝",3:26.98,4:"Aluminium",5:"From alumina, a compound (originally aluminum)",7:"92fdb969"},{1:"硅",3:28.09,4:"Silicon",5:"From the Latin silex, flint (originally silicium)",7:"93f68260"},{1:"磷",2:"P",3:30.98,4:"Phosphorus",5:"The Greek phoosphoros, carrying light",7:"943de158"},{1:"硫",2:"S",3:32.07,4:"Sulfur",5:"The Latin sulphur, fire and brimstone",7:"948aa7db"},{1:"氯",2:"Cl",3:35.45,4:"Chlorine",5:"The Greek chloros, greenish yellow",7:"94c1190c"},{1:"氩",3:39.95,4:"Argon",5:"The Greek argos, idle",7:"94f59742"},{1:"钾",2:"K",3:39.1,4:"Potassium",5:"New Latin potassa, potash (kalium in Latin)",7:"955eb159"},{1:"钙",3:40.08,4:"Calcium",5:"The Latin calx, lime",7:"9677caef"},{1:"钪",3:44.96,4:"Scandium",5:"Scandia, the Latin name for Scandinavia",7:"96b46bc9"},{1:"钛",3:47.87,4:"Titanium",5:"Titans, the sons of the Earth goddess of Greek mythology",7:"9707833d"},{1:"钒",2:"V",3:50.94,4:"Vanadium",5:"Vanadis, an Old Norse name for the Scandinavian goddess Freyja",7:"9747c418"},{1:"铬",2:"Cr",3:52,4:"Chromium",5:"The Greek chroma, color",7:"9781844b"},{1:"锰",2:"Mn",3:54.94,4:"Manganese",5:"Corrupted from magnesia negra, see Magnesium",7:"97c8c1a1"},{1:"铁",2:"Fe",3:55.85,4:"Iron",5:"English word (ferrum in Latin)",7:"981b875f"},{1:"钴",3:58.93,4:"Cobalt",5:"The German word Kobold, goblin",7:"985b8929"},{1:"镍",3:58.69,4:"Nickel",5:"From Swedish kopparnickel, containing the German word Nickel, goblin",7:"989ec197"},{1:"铜",2:"Cu",3:63.55,4:"Copper",5:"English word (Latin cuprum)",7:"98f3125a"},{1:"锌",2:"Zn",3:65.38,4:"Zinc",5:"The German Zink",7:"994618db"},{1:"镓",3:69.72,4:"Gallium",5:"Gallia, the Latin name for France",7:"998dc937"},{1:"锗",3:72.64,4:"Germanium",5:"Germania, the Latin name for Germany",7:"99f2c940"},{1:"砷",2:"As",3:74.92,4:"Arsenic",5:"English word (Latin arsenicum)",7:"9a67057f"},{1:"硒",3:78.97,4:"Selenium",5:"The Greek selene, moon",7:"9ac88218"},{1:"溴",3:79.9,4:"Bromine",5:"The Greek bromos, stench",7:"9b476a12"},{1:"氪",3:83.8,4:"Krypton",5:"The Greek kryptos, hidden",7:"9b89efff"},{1:"铷",2:"Rb",3:85.47,4:"Rubidium",5:"The Latin rubidus, deep red",7:"9bce65d1"},{1:"锶",2:"Sr",3:87.62,4:"Strontium",5:"Strontian, a small town in Scotland",7:"9c2288fa"},{1:"钇",2:"Y",3:88.91,4:"Yttrium",5:"Ytterby, Sweden",7:"9c7d69bf"},{1:"锆",2:"Zr",3:91.22,4:"Zirconium",5:"Persian Zargun, gold-colored; German Zirkoon, jargoon",7:"9cdaddad"},{1:"铌",2:"Nb",3:92.91,4:"Niobium",5:"Niobe, daughter of king Tantalus from Greek mythology",7:"9d3444c8"},{1:"钼",3:95.95,4:"Molybdenum",5:"The Greek molybdos meaning lead",7:"9d9864d1"},{1:"锝",2:"Tc",3:98.91,4:"Technetium",5:"The Greek tekhnètos meaning artificial",7:"9e323d60"},{1:"钌",3:101.1,4:"Ruthenium",5:"Ruthenia, the New Latin name for Russia",7:"9e898712"},{1:"铑",3:102.9,4:"Rhodium",5:"The Greek rhodos, meaning rose coloured",7:"9ee94dd7"},{1:"钯",2:"Pd",3:106.4,4:"Palladium",5:"The then recently discovered asteroid Pallas, considered a planet at the time",7:"9f42ad2a"},{1:"银",2:"Ag",3:107.9,4:"Silver",5:"English word (argentum in Latin)",7:"9f99fb02"},{1:"镉",2:"Cd",3:112.4,4:"Cadmium",5:"The New Latin cadmia, from King Kadmos",7:"9fe90314"},{1:"铟",3:114.8,4:"Indium",5:"Indigo",7:"a0489e3b"},{1:"锡",2:"Sn",3:118.7,4:"Tin",5:"English word (stannum in Latin)",7:"a0a9fe69"},{1:"锑",2:"Sb",3:121.8,4:"Antimony",5:"Composed from the Greek anti, against, and monos, alone (stibium in Latin)",7:"a1096c2f"},{1:"碲",3:127.6,4:"Tellurium",5:"Latin tellus, earth",7:"a15d89df"},{1:"碘",2:"I",3:126.9,4:"Iodine",5:"French iode (after the Greek ioeides, violet)",7:"a1be4e4f"},{1:"氙",3:131.3,4:"Xenon",5:"The Greek xenos, strange",7:"a2170cef"},{1:"铯",2:"Cs",3:132.9,4:"Caesium",5:"The Latin caesius, sky blue",7:"a294fc17"},{1:"钡",3:137.3,4:"Barium",5:"The Greek barys, heavy",7:"a2f91564"},{1:"镧",3:138.9,4:"Lanthanum",5:"The Greek lanthanein, to lie hidden",7:"a37b892c"},{1:"铈",3:140.1,4:"Cerium",5:"The then recently discovered asteroid Ceres, considered a planet at the time",7:"a3f4e54a"},{1:"镨",3:140.9,4:"Praseodymium",5:"The Greek praseios didymos meaning green twin",7:"a46ef559"},{1:"钕",2:"Nd",3:144.2,4:"Neodymium",5:"The Greek neos didymos meaning new twin",7:"a4e1f6a8"},{1:"钷",2:"Pm",3:144.9,4:"Promethium",5:"Prometheus of Greek mythology who stole fire from the Gods and gave it to humans",7:"a5723f68"},{1:"钐",2:"Sm",3:150.4,4:"Samarium",5:"Samarskite, the name of the mineral from which it was first isolated",7:"a614b52c"},{1:"铕",3:152,4:"Europium",5:"Europe",7:"a69cf979"},{1:"钆",2:"Gd",3:157.3,4:"Gadolinium",5:"Johan Gadolin, chemist, physicist and mineralogist",7:"a7097f4e"},{1:"铽",2:"Tb",3:158.9,4:"Terbium",5:"Ytterby, Sweden",7:"a77eab76"},{1:"镝",3:162.5,4:"Dysprosium",5:"The Greek dysprositos, hard to get",7:"a7fb8f8a"},{1:"钬",3:164.9,4:"Holmium",5:"Holmia, the New Latin name for Stockholm",7:"a8cd6e7d"},{1:"铒",3:167.3,4:"Erbium",5:"Ytterby, Sweden",7:"a8ddbe89"},{1:"铥",2:"Tm",3:168.9,4:"Thulium",5:"Thule, the ancient name for Scandinavia",7:"a8ea3d71"},{1:"镱",2:"Yb",3:173.1,4:"Ytterbium",5:"Ytterby, Sweden",7:"a8f55230"},{1:"镥",3:175,4:"Lutetium",5:"Lutetia, the Latin name for Paris",7:"a90121e3"},{1:"铪",2:"Hf",3:178.5,4:"Hafnium",5:"Hafnia, the New Latin name for Copenhagen",7:"a90c8da6"},{1:"钽",3:181,4:"Tantalum",5:"King Tantalus, father of Niobe from Greek mythology",7:"a9242b2e"},{1:"钨",2:"W",3:183.8,4:"Tungsten",5:"The Swedish tung sten, heavy stone (W is wolfram, the old name of the tungsten mineral wolframite)",7:"a92de9ca"},{1:"铼",2:"Re",3:186.2,4:"Rhenium",5:"Rhenus, the Latin name for the river Rhine",7:"a93849a1"},{1:"锇",3:190.2,4:"Osmium",5:"The Greek osmè, meaning smell",7:"a944e02a"},{1:"铱",3:192.2,4:"Iridium",5:"Iris, the Greek goddess of the rainbow",7:"aa224351"},{1:"铂",2:"Pt",3:195.1,4:"Platinum",5:"The Spanish platina, meaning little silver",7:"aa2c77e3"},{1:"金",2:"Au",3:197,4:"Gold",5:"English word (aurum in Latin)",7:"aa504c84"},{1:"汞",2:"Hg",3:200.6,4:"Mercury",5:"The New Latin name mercurius, named after the Roman god (Hg from former name hydrargyrum, from Greek hydr-, water, and argyros, silver)",7:"aa620095"},{1:"铊",2:"Tl",3:204.4,4:"Thallium",5:"The Greek thallos, green twig",7:"aa6a73bb"},{1:"铅",2:"Pb",3:207.2,4:"Lead",5:"English word (plumbum in Latin)",7:"aa7ab47f"},{1:"铋",3:209,4:"Bismuth",5:"German word, now obsolete",7:"aa84e014"},{1:"钋",3:209,4:"Polonium",5:"Polonia, the New Latin name for Poland",7:"aa90f8ee"},{1:"砹",2:"At",3:210,4:"Astatine",5:"The Greek astatos, unstable",7:"aaa80948"},{1:"氡",2:"Rn",3:222,4:"Radon",5:"From radium, as it was first detected as an emission from radium during radioactive decay",7:"aab4a027"},{1:"钫",3:223,4:"Francium",5:"Francia, the New Latin name for France",7:"abb16878"},{1:"镭",2:"Re",3:226,4:"Radium",5:"The Latin radius, ray",7:"abc32253"},{1:"锕",3:227,4:"Actinium",5:"The Greek aktis, ray",7:"abc89fdb"},{1:"钍",3:232,4:"Thorium",5:"Thor, the Scandinavian god of thunder",7:"abd49cc0"},{1:"镤",2:"Pa",3:231,4:"Protactinium",5:"The Greek protos, first, and actinium, which is produced through the radioactive decay of protactinium",7:"abe7ae37"},{1:"铀",2:"U",3:238,4:"Uranium",5:"Uranus, the seventh planet in the Solar System",7:"abf32902"},{1:"镎",2:"Np",3:237,4:"Neptunium",5:"Neptune, the eighth planet in the Solar System",7:"ac06514c"},{1:"钚",2:"Pu",3:239.1,4:"Plutonium",5:"Pluto, a dwarf planet in the Solar System (considered the ninth planet at the time)",7:"ac10abb0"},{1:"镅",3:243.1,4:"Americium",5:"The Americas, as the element was first synthesized on the continent, by analogy with europium",7:"ac19b953"},{1:"锔",2:"Cm",3:247.1,4:"Curium",5:"Pierre Curie, a physicist, and Marie Curie, a physicist and chemist, named after great scientists by analogy with gadolinium",7:"ac2d813a"},{1:"锫",2:"Bk",3:247.1,4:"Berkelium",5:"Berkeley, California, where the element was first synthesized, by analogy with terbium",7:"ad12c60f"},{1:"锎",2:"Cf",3:251.1,4:"Californium",5:"California, where the element was first synthesized",7:"ad1d43f6"},{1:"锿",2:"Es",3:252.1,4:"Einsteinium",5:"Albert Einstein, physicist",7:"ad2f0be1"},{1:"镄",2:"Fm",3:257.1,4:"Fermium",5:"Enrico Fermi, physicist",7:"ad34e21a"},{1:"钔",2:"Md",3:258.1,4:"Mendelevium",5:"Dmitri Mendeleev, chemist and inventor",7:"ad47e7a1"},{1:"锘",3:259.1,4:"Nobelium",5:"Alfred Nobel, chemist, engineer, innovator, and armaments manufacturer",7:"b1b94af3"},{1:"铹",2:"Lr",3:262.1,4:"Lawrencium",5:"Ernest O. Lawrence, physicist",7:"b1c8d810"},{1:"𬬻",2:"Rf",3:261.1,4:"Rutherfordium",5:"Ernest Rutherford, chemist and physicist",6:"lu",7:"b1d1f497"},{1:"𬭊",2:"Db",3:262.1,4:"Dubnium",5:"Dubna, Russia",6:"du",7:"b1de3d3b"},{1:"𬭳",2:"Sg",3:266.1,4:"Seaborgium",5:"Glenn T. Seaborg, scientist",6:"xi",7:"b1ec4739"},{1:"𬭛",2:"Bh",3:264.1,4:"Bohrium",5:"Niels Bohr, physicist",6:"bo",7:"b1f9e6e7"},{1:"𬭶",2:"Hs",3:277,4:"Hassium",5:"Hesse, Germany, where the element was first synthesized",6:"hei",7:"b20bdab8"},{1:"鿏",2:"Mt",3:268,4:"Meitnerium",5:"Lise Meitner, physicist",6:"mai",7:"b2169856"},{1:"𫟼",2:"Ds",3:271,4:"Darmstadtium",5:"Darmstadt, Germany, where the element was first synthesized",6:"da",7:"b220423c"},{1:"𬬭",2:"Rg",3:272,4:"Roentgenium",5:"Wilhelm Conrad Röntgen, physicist",6:"lun",7:"b22ae9bf"},{1:"鿔",2:"Cn",3:285,4:"Copernicium",5:"Nicolaus Copernicus, astronomer",6:"ge",7:"b2f1ce34"},{1:"鿭",2:"Nh",3:284,4:"Nihonium",5:"Japanese word meaning Japan",7:"b2fdd0e2"},{1:"𫓧",3:289,4:"Flerovium",5:"Georgy Flyorov, physicist",6:"fu",7:"b314eced"},{1:"镆",2:"Mc",3:288,4:"Moscovium",5:"In recognition of the Moscow region and honors the ancient Russian land that is the home of the Joint Institute for Nuclear Research",7:"b3222857"},{1:"𫟷",2:"Lv",3:292,4:"Livermorium",5:"Lawrence Livermore National Laboratory(in Livermore, California) which collaborated with JINR on its synthesis",6:"li",7:"b32e5131"},{1:"鿬",2:"Ts",3:295,4:"Tennessine",5:"In recognition of the contribution of the Tennessee region",6:"tian",7:"b33b110f"},{1:"鿫",3:293,4:"Oganesson",5:"Honoring a scientist and recognizes Professor Yuri Oganessian",6:"ao",7:"b345da2c"}]);n.elementinfo=t,n.search=function(e,n){for(var a in t){var r=t[a];if(r[e]&&n&&String(r[e]).toLowerCase()==n.toLowerCase())return r}return null}},715:(e,n,a)=>{"use strict";var 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},t=a(702),i=null,o=void 0;function s(e){return e||null===i?("object"===("undefined"==typeof Intl?"undefined":r(Intl))&&Intl.Collator?(o=new Intl.Collator(["zh-Hans-CN","zh-CN"]),i=1===Intl.Collator.supportedLocalesOf(["zh-CN"]).length):i=!1,i):i}function u(e){var n=t.UNIHANS,a=t.PINYINS,r=t.EXCEPTIONS,i={source:e};if(e in r)return i.type=2,i.target=r[e],i;var s=-1,u=void 0;if(e.charCodeAt(0)<256)return i.type=1,i.target=e,i;if((u=o.compare(e,"阿"))<0)return i.type=3,i.target=e,i;if(0===u)i.type=2,s=0;else{if((u=o.compare(e,"鿿"))>0)return i.type=3,i.target=e,i;0===u&&(i.type=2,s=n.length-1)}if(i.type=2,s<0)for(var m=0,N=n.length-1;m<=N;){var h=n[s=~~((m+N)/2)];if(0===(u=o.compare(e,h)))break;u>0?m=s+1:N=s-1}return u<0&&s--,i.target=a[s],i.target||(i.type=3,i.target=i.source),i}function m(e){if("string"!=typeof e)throw new Error("argument should be string.");if(!s())throw new Error("not support Intl or zh-CN language.");return e.split("").map((function(e){return u(e)}))}e.exports={isSupported:s,parse:m,patchDict:function(e){e&&("function"==typeof e&&(e=[e]),e.forEach&&e.forEach((function(e){"function"==typeof e&&e(t)})))},genToken:u,convertToPinyin:function(e,n,a){return m(e).map((function(e){return a&&2===e.type?e.target.toLowerCase():e.target})).join(n||"")}}},702:e=>{"use strict";e.exports={PINYINS:["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],UNIHANS:["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],EXCEPTIONS:{曾:"ZENG",沈:"SHEN",嗲:"DIA",碡:"ZHOU",聒:"GUO",炔:"QUE",蚵:"KE",砉:"HUA",嬤:"MO",嬷:"MO",蹒:"PAN",蹊:"XI",丬:"PAN",霰:"XIAN",莘:"XIN",豉:"CHI",饧:"XING",筠:"JUN",长:"CHANG",帧:"ZHEN",峙:"SHI",郍:"NA",芎:"XIONG",谁:"SHUI"}}},981:(e,n,a)=>{"use strict";var r=a(715),t=a(631);r.isSupported()&&t.shouldPatch(r.genToken)&&r.patchDict(t),e.exports=r},631:(e,n)=>{"use strict";(e.exports=function(e){e.EXCEPTIONS={嗲:"DIA",碡:"ZHOU",聒:"GUO",炔:"QUE",蚵:"KE",砉:"HUA",嬷:"MO",蹊:"XI",丬:"PAN",霰:"XIAN",豉:"CHI",饧:"XING",帧:"ZHEN",芎:"XIONG",谁:"SHUI",钶:"KE"},e.UNIHANS[91]="伕",e.UNIHANS[347]="仚",e.UNIHANS[393]="诌",e.UNIHANS[39]="婤",e.UNIHANS[50]="腠",e.UNIHANS[369]="攸",e.UNIHANS[123]="乯",e.UNIHANS[171]="刕",e.UNIHANS[102]="佝",e.UNIHANS[126]="犿",e.UNIHANS[176]="列",e.UNIHANS[178]="刢",e.UNIHANS[252]="娝",e.UNIHANS[330]="偸"}).shouldPatch=function(e){return"function"==typeof e&&"FOU"===e("伕").target&&"XIA"===e("仚").target&&"ZHONG"===e("诌").target&&"CHONG"===e("婤").target&&"CONG"===e("腠").target&&"YONG"===e("攸").target&&"HOU"===e("乯").target&&"LENG"===e("刕").target&&"GONG"===e("佝").target&&"HUAI"===e("犿").target&&"LIAO"===e("列").target&&"LIN"===e("刢").target&&"E"===e("钶").target}}},n={},function a(r){if(n[r])return n[r].exports;var t=n[r]={exports:{}};return e[r](t,t.exports,a),t.exports}(506)).default;var e,n})); | ||
var chemicaltools;chemicaltools=(()=>{var e={66:e=>{var n=function(e,n,a){var r=Math.pow(10,-e[0]),t=Math.pow(10,-a),i=.5*(Math.sqrt(r*r+4*r*n+t)-r);return i>0?-Math.log(i)/Math.LN10:1024},a=function(e,n,a){for(var r=0,t=1,i=new Array,o=new Array,s=new Array,u=Math.pow(10,-a),m=Math.pow(u,e.length+1),N=0;N<e.length;N++)o[N]=Math.pow(10,-e[N]);for(N=0;N<e.length+1;N++)i[N]=m*t,r+=i[N],m/=u,t*=o[N];for(N=0;N<e.length+1;N++)s[N]=n*i[N]/r;return s},r=function(e,n,a){var r="";return e?(a<n-1&&(r+="H",n-a>2&&(r+=n-a-1)),r+="A",a>0&&(a>1&&(r+=a),r+="-")):(r+="B",n-a>2?r+="(OH)"+(n-a-1):n-a==2&&(r+="OH"),a>0&&(a>1&&(r+=a),r+="+")),r};e.exports=function(e,t,i){for(var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:14,s=-1.74,u=0;u<t.length;u++)t[u]<s&&(t[u]=s);var m=n(t,e,o),N=a(t,e,m);i||(m=o-m);var h=Math.pow(10,-m),l=[{name:N?"H+":"OH-",c:h}];for(u=0;u<N.length;u++)l.push({name:r(i,N.length,u),c:N[u]});return{c:e,pH:m,ion:l}}},608:e=>{e.exports=function(e){var n=e.length;if(n>1){for(var a=e.reduce((function(e,n){return e+n}),0)/n,r=0,t=0;t<n;t++){r=r+Math.abs(parseFloat(e[t])-a);var i=0+Math.pow(parseFloat(e[t])-a,2)}var o=r/n,s=o/a,u=Math.sqrt(i/(n-1));return{input:e,average:a,average_deviation:o,relative_average_deviation:s,standard_deviation:u,relative_standard_deviation:u/o}}return null}},103:(e,n,a)=>{var r=a(981),t=a(186).search;e.exports=function(e){try{var n=r.convertToPinyin(e).toLowerCase()}catch(e){n=""}return t("name",e)||t("number",e)||t("symbol",e)||t("iupac",e)||t("pinyin",e)||t("pinyin",n)}},629:(e,n,a)=>{var r=a(186),t=r.search,i=r.elementinfo;n.makequestion=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"iupac",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:86,r=Array.from(Array(a).keys()).sort((function(){return Math.random()-.5})).slice(0,4),t=i[r[0]][e];r.sort();for(var o=new Array(4),s=0;s<4;s++)o[s]=i[r[s]][n];return{question:t,options:o}},n.correctanswer=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"iupac",i=t(a,e),o=i[r];return{correct:o==n,question:e,correct_answer:o,answer:n}}},636:e=>{var n=8.314;e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(e)if(a)if(r){if(t)return null;t=e*a/r/n}else r=e*a/n/t;else a=r*n*t/e;else e=r*n*t/a;return{p:e,V:a,n:r,T:t}}},931:(e,n,a)=>{var r=a(186),t=r.search,i=r.elementinfo,o=function(e){var n=e[0].charCodeAt();return n>64&&n<91?1:n>96&&n<123?2:n>47&&n<58?3:40==n|91==n|-23640==n?4:41==n|93==n|-23639==n?5:0},s=function(e){var n=t("symbol",e);return(n?n.number:0)-1},u=function(e,n){for(var a="";n<e.length&&3==o(e[n]);)a+=e[n],n++;return{n:parseInt(a)||1,l:a.length}};e.exports=function(e){var n=e.length,a=0,r=0,t=new Array,m=new Int8Array(118),N=new Array,h=new Array,l=new Array,d=new Array,c=new Array;if(n>0){for(var f=0;f<n;f++){N[f]=1;var A=e[f];4==o(A)?h[f]=1:5==o(A)?h[f]=-1:h[f]=0,a+=h[f]}if(0==a){var I=0;for(f=0;f<n;f++)if(1==h[f]){var G=1,g=f+1;for(l[I]=f;G>0;)G+=h[g],g++;d[I]=g,c[I]=u(e,g).n,I++}for(f=0;f<I;f++)for(g=l[f];g<d[f];g++)N[g]*=c[f];for(f=0;f<n;f++){A=e[f];if(1==o(A)){var U=e[f+1]||"1";g=f;2==o(U)&&(A+=U,f++);var p=s(A);if(-1!=p){var b=u(e,f+1);m[p]+=b.n*N[g],f+=b.l}}else 5==o(A)&&(f+=u(e,f+1).l)}for(f=0;f<118;f++)m[f]>0&&(r+=m[f]*parseFloat(i[f].mass))}}if(r>0){var y=new Array(0);for(f=0;f<118;f++)m[f]>0&&(t[f]=parseFloat(m[f])*parseFloat(i[f].mass)/parseFloat(r)*100,y.push({name:i[f].name,iupac:i[f].iupac,symbol:i[f].symbol,atomnumber:m[f],mass:i[f].mass,massper:t[f]}));return{name:e,mass:r,peratom:y}}return null}},506:(e,n,a)=>{a(103),a(931),a(636),a(66),a(608);var r=a(629);r.makequestion,r.correctanswer,a(186).elementinfo},186:(e,n,a)=>{var r=a(981),t=function(e){var n=[];for(var a in e){var t=e[a],i={};if(i.number=parseInt(a)+1,i.name=t[1],t[2]?i.symbol=t[2]:i.symbol=t[4][0]+t[4][1],i.mass=t[3],i.iupac=t[4],i.origin=t[5],t[6])i.pinyin=t[6];else try{i.pinyin=r.convertToPinyin(t[1]).toLowerCase()}catch(e){i.pinyin=""}i.url="https://img.njzjz.win/?url=i.loli.net/2018/03/31/5abf7"+t[7]+".png",n[a]=i}return n}([{1:"氢",2:"H",3:1.008,4:"Hydrogen",5:"Composed of the Greek elements hydro-and -gen meaning water-forming",7:"8f72c517"},{1:"氦",3:4.003,4:"Helium",5:"The Greek helios, sun",7:"8fb29b3e"},{1:"锂",3:6.941,4:"Lithium",5:"The Greek lithos, stone",7:"8ff61f6d"},{1:"铍",3:9.012,4:"Beryllium",5:"Beryl, a mineral",7:"9033b661"},{1:"硼",2:"B",3:10.81,4:"Boron",5:"Borax, a mineral",7:"90632b69"},{1:"碳",2:"C",3:12.01,4:"Carbon",5:"The Latin carbo, coal",7:"90a5d246"},{1:"氮",2:"N",3:14.01,4:"Nitrogen",5:"The Greek nitron and -gen meaning niter-forming",7:"90f6de41"},{1:"氧",2:"O",3:16,4:"Oxygen",5:"From the Greek oxy-, both sharp and acid, and -gen, meaning acid-forming",7:"91367638"},{1:"氟",2:"F",3:19,4:"Fluorine",5:"The Latin fluere, to flow",7:"91b56c50"},{1:"氖",3:20.18,4:"Neon",5:"The Greek neos, meaning new",7:"9201479d"},{1:"钠",2:"Na",3:22.99,4:"Sodium",5:"The English word soda (natrium in Latin)",7:"9262c0c0"},{1:"镁",2:"Mg",3:24.31,4:"Magnesium",5:"Magnesia, a district of Eastern Thessalyin Greece",7:"92b3a942"},{1:"铝",3:26.98,4:"Aluminium",5:"From alumina, a compound (originally aluminum)",7:"92fdb969"},{1:"硅",3:28.09,4:"Silicon",5:"From the Latin silex, flint (originally silicium)",7:"93f68260"},{1:"磷",2:"P",3:30.98,4:"Phosphorus",5:"The Greek phoosphoros, carrying light",7:"943de158"},{1:"硫",2:"S",3:32.07,4:"Sulfur",5:"The Latin sulphur, fire and brimstone",7:"948aa7db"},{1:"氯",2:"Cl",3:35.45,4:"Chlorine",5:"The Greek chloros, greenish yellow",7:"94c1190c"},{1:"氩",3:39.95,4:"Argon",5:"The Greek argos, idle",7:"94f59742"},{1:"钾",2:"K",3:39.1,4:"Potassium",5:"New Latin potassa, potash (kalium in Latin)",7:"955eb159"},{1:"钙",3:40.08,4:"Calcium",5:"The Latin calx, lime",7:"9677caef"},{1:"钪",3:44.96,4:"Scandium",5:"Scandia, the Latin name for Scandinavia",7:"96b46bc9"},{1:"钛",3:47.87,4:"Titanium",5:"Titans, the sons of the Earth goddess of Greek mythology",7:"9707833d"},{1:"钒",2:"V",3:50.94,4:"Vanadium",5:"Vanadis, an Old Norse name for the Scandinavian goddess Freyja",7:"9747c418"},{1:"铬",2:"Cr",3:52,4:"Chromium",5:"The Greek chroma, color",7:"9781844b"},{1:"锰",2:"Mn",3:54.94,4:"Manganese",5:"Corrupted from magnesia negra, see Magnesium",7:"97c8c1a1"},{1:"铁",2:"Fe",3:55.85,4:"Iron",5:"English word (ferrum in Latin)",7:"981b875f"},{1:"钴",3:58.93,4:"Cobalt",5:"The German word Kobold, goblin",7:"985b8929"},{1:"镍",3:58.69,4:"Nickel",5:"From Swedish kopparnickel, containing the German word Nickel, goblin",7:"989ec197"},{1:"铜",2:"Cu",3:63.55,4:"Copper",5:"English word (Latin cuprum)",7:"98f3125a"},{1:"锌",2:"Zn",3:65.38,4:"Zinc",5:"The German Zink",7:"994618db"},{1:"镓",3:69.72,4:"Gallium",5:"Gallia, the Latin name for France",7:"998dc937"},{1:"锗",3:72.64,4:"Germanium",5:"Germania, the Latin name for Germany",7:"99f2c940"},{1:"砷",2:"As",3:74.92,4:"Arsenic",5:"English word (Latin arsenicum)",7:"9a67057f"},{1:"硒",3:78.97,4:"Selenium",5:"The Greek selene, moon",7:"9ac88218"},{1:"溴",3:79.9,4:"Bromine",5:"The Greek bromos, stench",7:"9b476a12"},{1:"氪",3:83.8,4:"Krypton",5:"The Greek kryptos, hidden",7:"9b89efff"},{1:"铷",2:"Rb",3:85.47,4:"Rubidium",5:"The Latin rubidus, deep red",7:"9bce65d1"},{1:"锶",2:"Sr",3:87.62,4:"Strontium",5:"Strontian, a small town in Scotland",7:"9c2288fa"},{1:"钇",2:"Y",3:88.91,4:"Yttrium",5:"Ytterby, Sweden",7:"9c7d69bf"},{1:"锆",2:"Zr",3:91.22,4:"Zirconium",5:"Persian Zargun, gold-colored; German Zirkoon, jargoon",7:"9cdaddad"},{1:"铌",2:"Nb",3:92.91,4:"Niobium",5:"Niobe, daughter of king Tantalus from Greek mythology",7:"9d3444c8"},{1:"钼",3:95.95,4:"Molybdenum",5:"The Greek molybdos meaning lead",7:"9d9864d1"},{1:"锝",2:"Tc",3:98.91,4:"Technetium",5:"The Greek tekhnètos meaning artificial",7:"9e323d60"},{1:"钌",3:101.1,4:"Ruthenium",5:"Ruthenia, the New Latin name for Russia",7:"9e898712"},{1:"铑",3:102.9,4:"Rhodium",5:"The Greek rhodos, meaning rose coloured",7:"9ee94dd7"},{1:"钯",2:"Pd",3:106.4,4:"Palladium",5:"The then recently discovered asteroid Pallas, considered a planet at the time",7:"9f42ad2a"},{1:"银",2:"Ag",3:107.9,4:"Silver",5:"English word (argentum in Latin)",7:"9f99fb02"},{1:"镉",2:"Cd",3:112.4,4:"Cadmium",5:"The New Latin cadmia, from King Kadmos",7:"9fe90314"},{1:"铟",3:114.8,4:"Indium",5:"Indigo",7:"a0489e3b"},{1:"锡",2:"Sn",3:118.7,4:"Tin",5:"English word (stannum in Latin)",7:"a0a9fe69"},{1:"锑",2:"Sb",3:121.8,4:"Antimony",5:"Composed from the Greek anti, against, and monos, alone (stibium in Latin)",7:"a1096c2f"},{1:"碲",3:127.6,4:"Tellurium",5:"Latin tellus, earth",7:"a15d89df"},{1:"碘",2:"I",3:126.9,4:"Iodine",5:"French iode (after the Greek ioeides, violet)",7:"a1be4e4f"},{1:"氙",3:131.3,4:"Xenon",5:"The Greek xenos, strange",7:"a2170cef"},{1:"铯",2:"Cs",3:132.9,4:"Caesium",5:"The Latin caesius, sky blue",7:"a294fc17"},{1:"钡",3:137.3,4:"Barium",5:"The Greek barys, heavy",7:"a2f91564"},{1:"镧",3:138.9,4:"Lanthanum",5:"The Greek lanthanein, to lie hidden",7:"a37b892c"},{1:"铈",3:140.1,4:"Cerium",5:"The then recently discovered asteroid Ceres, considered a planet at the time",7:"a3f4e54a"},{1:"镨",3:140.9,4:"Praseodymium",5:"The Greek praseios didymos meaning green twin",7:"a46ef559"},{1:"钕",2:"Nd",3:144.2,4:"Neodymium",5:"The Greek neos didymos meaning new twin",7:"a4e1f6a8"},{1:"钷",2:"Pm",3:144.9,4:"Promethium",5:"Prometheus of Greek mythology who stole fire from the Gods and gave it to humans",7:"a5723f68"},{1:"钐",2:"Sm",3:150.4,4:"Samarium",5:"Samarskite, the name of the mineral from which it was first isolated",7:"a614b52c"},{1:"铕",3:152,4:"Europium",5:"Europe",7:"a69cf979"},{1:"钆",2:"Gd",3:157.3,4:"Gadolinium",5:"Johan Gadolin, chemist, physicist and mineralogist",7:"a7097f4e"},{1:"铽",2:"Tb",3:158.9,4:"Terbium",5:"Ytterby, Sweden",7:"a77eab76"},{1:"镝",3:162.5,4:"Dysprosium",5:"The Greek dysprositos, hard to get",7:"a7fb8f8a"},{1:"钬",3:164.9,4:"Holmium",5:"Holmia, the New Latin name for Stockholm",7:"a8cd6e7d"},{1:"铒",3:167.3,4:"Erbium",5:"Ytterby, Sweden",7:"a8ddbe89"},{1:"铥",2:"Tm",3:168.9,4:"Thulium",5:"Thule, the ancient name for Scandinavia",7:"a8ea3d71"},{1:"镱",2:"Yb",3:173.1,4:"Ytterbium",5:"Ytterby, Sweden",7:"a8f55230"},{1:"镥",3:175,4:"Lutetium",5:"Lutetia, the Latin name for Paris",7:"a90121e3"},{1:"铪",2:"Hf",3:178.5,4:"Hafnium",5:"Hafnia, the New Latin name for Copenhagen",7:"a90c8da6"},{1:"钽",3:181,4:"Tantalum",5:"King Tantalus, father of Niobe from Greek mythology",7:"a9242b2e"},{1:"钨",2:"W",3:183.8,4:"Tungsten",5:"The Swedish tung sten, heavy stone (W is wolfram, the old name of the tungsten mineral wolframite)",7:"a92de9ca"},{1:"铼",2:"Re",3:186.2,4:"Rhenium",5:"Rhenus, the Latin name for the river Rhine",7:"a93849a1"},{1:"锇",3:190.2,4:"Osmium",5:"The Greek osmè, meaning smell",7:"a944e02a"},{1:"铱",3:192.2,4:"Iridium",5:"Iris, the Greek goddess of the rainbow",7:"aa224351"},{1:"铂",2:"Pt",3:195.1,4:"Platinum",5:"The Spanish platina, meaning little silver",7:"aa2c77e3"},{1:"金",2:"Au",3:197,4:"Gold",5:"English word (aurum in Latin)",7:"aa504c84"},{1:"汞",2:"Hg",3:200.6,4:"Mercury",5:"The New Latin name mercurius, named after the Roman god (Hg from former name hydrargyrum, from Greek hydr-, water, and argyros, silver)",7:"aa620095"},{1:"铊",2:"Tl",3:204.4,4:"Thallium",5:"The Greek thallos, green twig",7:"aa6a73bb"},{1:"铅",2:"Pb",3:207.2,4:"Lead",5:"English word (plumbum in Latin)",7:"aa7ab47f"},{1:"铋",3:209,4:"Bismuth",5:"German word, now obsolete",7:"aa84e014"},{1:"钋",3:209,4:"Polonium",5:"Polonia, the New Latin name for Poland",7:"aa90f8ee"},{1:"砹",2:"At",3:210,4:"Astatine",5:"The Greek astatos, unstable",7:"aaa80948"},{1:"氡",2:"Rn",3:222,4:"Radon",5:"From radium, as it was first detected as an emission from radium during radioactive decay",7:"aab4a027"},{1:"钫",3:223,4:"Francium",5:"Francia, the New Latin name for France",7:"abb16878"},{1:"镭",2:"Re",3:226,4:"Radium",5:"The Latin radius, ray",7:"abc32253"},{1:"锕",3:227,4:"Actinium",5:"The Greek aktis, ray",7:"abc89fdb"},{1:"钍",3:232,4:"Thorium",5:"Thor, the Scandinavian god of thunder",7:"abd49cc0"},{1:"镤",2:"Pa",3:231,4:"Protactinium",5:"The Greek protos, first, and actinium, which is produced through the radioactive decay of protactinium",7:"abe7ae37"},{1:"铀",2:"U",3:238,4:"Uranium",5:"Uranus, the seventh planet in the Solar System",7:"abf32902"},{1:"镎",2:"Np",3:237,4:"Neptunium",5:"Neptune, the eighth planet in the Solar System",7:"ac06514c"},{1:"钚",2:"Pu",3:239.1,4:"Plutonium",5:"Pluto, a dwarf planet in the Solar System (considered the ninth planet at the time)",7:"ac10abb0"},{1:"镅",3:243.1,4:"Americium",5:"The Americas, as the element was first synthesized on the continent, by analogy with europium",7:"ac19b953"},{1:"锔",2:"Cm",3:247.1,4:"Curium",5:"Pierre Curie, a physicist, and Marie Curie, a physicist and chemist, named after great scientists by analogy with gadolinium",7:"ac2d813a"},{1:"锫",2:"Bk",3:247.1,4:"Berkelium",5:"Berkeley, California, where the element was first synthesized, by analogy with terbium",7:"ad12c60f"},{1:"锎",2:"Cf",3:251.1,4:"Californium",5:"California, where the element was first synthesized",7:"ad1d43f6"},{1:"锿",2:"Es",3:252.1,4:"Einsteinium",5:"Albert Einstein, physicist",7:"ad2f0be1"},{1:"镄",2:"Fm",3:257.1,4:"Fermium",5:"Enrico Fermi, physicist",7:"ad34e21a"},{1:"钔",2:"Md",3:258.1,4:"Mendelevium",5:"Dmitri Mendeleev, chemist and inventor",7:"ad47e7a1"},{1:"锘",3:259.1,4:"Nobelium",5:"Alfred Nobel, chemist, engineer, innovator, and armaments manufacturer",7:"b1b94af3"},{1:"铹",2:"Lr",3:262.1,4:"Lawrencium",5:"Ernest O. Lawrence, physicist",7:"b1c8d810"},{1:"𬬻",2:"Rf",3:261.1,4:"Rutherfordium",5:"Ernest Rutherford, chemist and physicist",6:"lu",7:"b1d1f497"},{1:"𬭊",2:"Db",3:262.1,4:"Dubnium",5:"Dubna, Russia",6:"du",7:"b1de3d3b"},{1:"𬭳",2:"Sg",3:266.1,4:"Seaborgium",5:"Glenn T. Seaborg, scientist",6:"xi",7:"b1ec4739"},{1:"𬭛",2:"Bh",3:264.1,4:"Bohrium",5:"Niels Bohr, physicist",6:"bo",7:"b1f9e6e7"},{1:"𬭶",2:"Hs",3:277,4:"Hassium",5:"Hesse, Germany, where the element was first synthesized",6:"hei",7:"b20bdab8"},{1:"鿏",2:"Mt",3:268,4:"Meitnerium",5:"Lise Meitner, physicist",6:"mai",7:"b2169856"},{1:"𫟼",2:"Ds",3:271,4:"Darmstadtium",5:"Darmstadt, Germany, where the element was first synthesized",6:"da",7:"b220423c"},{1:"𬬭",2:"Rg",3:272,4:"Roentgenium",5:"Wilhelm Conrad Röntgen, physicist",6:"lun",7:"b22ae9bf"},{1:"鿔",2:"Cn",3:285,4:"Copernicium",5:"Nicolaus Copernicus, astronomer",6:"ge",7:"b2f1ce34"},{1:"鿭",2:"Nh",3:284,4:"Nihonium",5:"Japanese word meaning Japan",7:"b2fdd0e2"},{1:"𫓧",3:289,4:"Flerovium",5:"Georgy Flyorov, physicist",6:"fu",7:"b314eced"},{1:"镆",2:"Mc",3:288,4:"Moscovium",5:"In recognition of the Moscow region and honors the ancient Russian land that is the home of the Joint Institute for Nuclear Research",7:"b3222857"},{1:"𫟷",2:"Lv",3:292,4:"Livermorium",5:"Lawrence Livermore National Laboratory(in Livermore, California) which collaborated with JINR on its synthesis",6:"li",7:"b32e5131"},{1:"鿬",2:"Ts",3:295,4:"Tennessine",5:"In recognition of the contribution of the Tennessee region",6:"tian",7:"b33b110f"},{1:"鿫",3:293,4:"Oganesson",5:"Honoring a scientist and recognizes Professor Yuri Oganessian",6:"ao",7:"b345da2c"}]);n.elementinfo=t,n.search=function(e,n){for(var a in t){var r=t[a];if(r[e]&&n&&String(r[e]).toLowerCase()==n.toLowerCase())return r}return null}},715:(e,n,a)=>{"use strict";var 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},t=a(702),i=null,o=void 0;function s(e){return e||null===i?("object"===("undefined"==typeof Intl?"undefined":r(Intl))&&Intl.Collator?(o=new Intl.Collator(["zh-Hans-CN","zh-CN"]),i=1===Intl.Collator.supportedLocalesOf(["zh-CN"]).length):i=!1,i):i}function u(e){var n=t.UNIHANS,a=t.PINYINS,r=t.EXCEPTIONS,i={source:e};if(e in r)return i.type=2,i.target=r[e],i;var s=-1,u=void 0;if(e.charCodeAt(0)<256)return i.type=1,i.target=e,i;if((u=o.compare(e,"阿"))<0)return i.type=3,i.target=e,i;if(0===u)i.type=2,s=0;else{if((u=o.compare(e,"鿿"))>0)return i.type=3,i.target=e,i;0===u&&(i.type=2,s=n.length-1)}if(i.type=2,s<0)for(var m=0,N=n.length-1;m<=N;){var h=n[s=~~((m+N)/2)];if(0===(u=o.compare(e,h)))break;u>0?m=s+1:N=s-1}return u<0&&s--,i.target=a[s],i.target||(i.type=3,i.target=i.source),i}function m(e){if("string"!=typeof e)throw new Error("argument should be string.");if(!s())throw new Error("not support Intl or zh-CN language.");return e.split("").map((function(e){return u(e)}))}e.exports={isSupported:s,parse:m,patchDict:function(e){e&&("function"==typeof e&&(e=[e]),e.forEach&&e.forEach((function(e){"function"==typeof e&&e(t)})))},genToken:u,convertToPinyin:function(e,n,a){return m(e).map((function(e){return a&&2===e.type?e.target.toLowerCase():e.target})).join(n||"")}}},702:e=>{"use strict";e.exports={PINYINS:["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],UNIHANS:["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],EXCEPTIONS:{曾:"ZENG",沈:"SHEN",嗲:"DIA",碡:"ZHOU",聒:"GUO",炔:"QUE",蚵:"KE",砉:"HUA",嬤:"MO",嬷:"MO",蹒:"PAN",蹊:"XI",丬:"PAN",霰:"XIAN",莘:"XIN",豉:"CHI",饧:"XING",筠:"JUN",长:"CHANG",帧:"ZHEN",峙:"SHI",郍:"NA",芎:"XIONG",谁:"SHUI"}}},981:(e,n,a)=>{"use strict";var r=a(715),t=a(631);r.isSupported()&&t.shouldPatch(r.genToken)&&r.patchDict(t),e.exports=r},631:(e,n)=>{"use strict";(e.exports=function(e){e.EXCEPTIONS={嗲:"DIA",碡:"ZHOU",聒:"GUO",炔:"QUE",蚵:"KE",砉:"HUA",嬷:"MO",蹊:"XI",丬:"PAN",霰:"XIAN",豉:"CHI",饧:"XING",帧:"ZHEN",芎:"XIONG",谁:"SHUI",钶:"KE"},e.UNIHANS[91]="伕",e.UNIHANS[347]="仚",e.UNIHANS[393]="诌",e.UNIHANS[39]="婤",e.UNIHANS[50]="腠",e.UNIHANS[369]="攸",e.UNIHANS[123]="乯",e.UNIHANS[171]="刕",e.UNIHANS[102]="佝",e.UNIHANS[126]="犿",e.UNIHANS[176]="列",e.UNIHANS[178]="刢",e.UNIHANS[252]="娝",e.UNIHANS[330]="偸"}).shouldPatch=function(e){return"function"==typeof e&&("FOU"===e("伕").target&&"XIA"===e("仚").target&&"ZHONG"===e("诌").target&&"CHONG"===e("婤").target&&"CONG"===e("腠").target&&"YONG"===e("攸").target&&"HOU"===e("乯").target&&"LENG"===e("刕").target&&"GONG"===e("佝").target&&"HUAI"===e("犿").target&&"LIAO"===e("列").target&&"LIN"===e("刢").target&&"E"===e("钶").target)}}},n={};return function a(r){if(n[r])return n[r].exports;var t=n[r]={exports:{}};return e[r](t,t.exports,a),t.exports}(506)})().default; |
{ | ||
"name": "chemicaltools", | ||
"version": "1.2.19", | ||
"version": "1.2.20", | ||
"description": "Chemical Tools for Chemistry students.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -40,3 +40,2 @@ const path = require('path'); | ||
libraryExport: 'default', | ||
libraryTarget: 'umd', | ||
globalObject: 'this', | ||
@@ -43,0 +42,0 @@ library: 'chemicaltools', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70897
1423