diff options
Diffstat (limited to 'searx/static/themes/simple/chunk/gZqIRpW1.min.js.map')
| -rw-r--r-- | searx/static/themes/simple/chunk/gZqIRpW1.min.js.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/static/themes/simple/chunk/gZqIRpW1.min.js.map b/searx/static/themes/simple/chunk/gZqIRpW1.min.js.map new file mode 100644 index 000000000..1232a4aa8 --- /dev/null +++ b/searx/static/themes/simple/chunk/gZqIRpW1.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"gZqIRpW1.min.js","names":[],"sources":["../../../../../client/simple/src/js/util/getElement.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { assertElement } from \"./assertElement.ts\";\n\ntype Options = {\n assert?: boolean;\n};\n\nexport function getElement<T>(id: string, options?: { assert: true }): T;\nexport function getElement<T>(id: string, options?: { assert: false }): T | null;\nexport function getElement<T>(id: string, options: Options = {}): T | null {\n options.assert ??= true;\n\n const element = document.getElementById(id) as T | null;\n\n if (options.assert) {\n assertElement(element);\n }\n\n return element;\n}\n"],"mappings":"sCAUA,SAAgB,EAAc,EAAY,EAAmB,EAAE,CAAY,CACzE,EAAQ,SAAW,GAEnB,IAAM,EAAU,SAAS,eAAe,EAAG,CAM3C,OAJI,EAAQ,QACV,EAAc,EAAQ,CAGjB"}
\ No newline at end of file |