{# Renders HTML that loads BokehJS JavaScript code and CSS according to the configuration in a Resources object. :param hashes: a map of filenames for to SRI hashes :type hashes: dict[str, str] :param js_files: a list of URIs for JS files to include :type js_files: list[str] :param js_modules: a list of (URI, exported global name or None) pairs :type js_modules: list[tuple[str, str | None]] :param js_raw: a list of raw JS snippets to put between `` {% for file in js_files %} {% endfor %} {% for file, export in js_modules %} {%- if export %} {%- else %} {%- endif %} {% endfor %} {%- if resource_declarations %} {%- endif %} {%- for js in js_raw %} {%- endfor %}