{"version":3,"file":"bsbi-atlas-gen-min.umd.js","sources":["../jssrc/js/metaTags.js","../jssrc/index3.js"],"sourcesContent":["const $=jQuery // eslint-disable-line no-undef\n\nexport function setBaseMetaTags() {\n\n addMetaTags('title', 'BSBI Online Plant Atlas 2020')\n addMetaTags('authors', 'Stroh, P. A.; Humphrey, T. A.; Burkmar, R. J.; Pescott, O. L.; Roy, D.B.; Walker, K. J.')\n addMetaTags('author', 'Stroh, P. A.')\n addMetaTags('author', 'Humphrey, T. A.')\n addMetaTags('author', 'Burkmar, R. J.')\n addMetaTags('author', 'Pescott, O. L.')\n addMetaTags('author', 'Roy, D. B.')\n addMetaTags('author', 'Walker, K. J.')\n addMetaTags('year', '2023')\n addMetaTags('url', location.origin + '/atlas')\n}\n\nexport function addMetaTags(type, value, update) {\n\n const addHeadTag = (name, content, update) => {\n if (update) {\n $('meta[name=\"' + name + '\"]').attr('content', content)\n } else {\n $('head').append('')\n }\n }\n\n // http://div.div1.com.au/div-thoughts/div-commentaries/66-div-commentary-metadata\n switch(type) {\n case 'title':\n $('head title').html($('