get_default = () => {
const params = new URL(document.URL).searchParams;
const defaults = {
lang: "en",
qualifier: "P4100",
term: "Q64038205"
};
if (params.has("qualifier")) {
defaults.qualifier = params.get("qualifier");
}
if (params.has("term")) {
defaults.term = params.get("term");
}
if (params.has("lang")) {
defaults.lang = params.get("lang");
}
return defaults;
}