code: def default_inasafe_html_resources(feature, parent):
      
      _ = feature, parent  # NOQA
      project_context_scope = QgsExpressionContextUtils.projectScope()
      key = provenance_layer_analysis_impacted['provenance_key']
      if not project_context_scope.hasVariable(key):
          return None
  
      analysis_dir = dirname(project_context_scope.variable(key))
      complete_html_report = get_impact_report_as_string(analysis_dir)
  
      requested_html_report = get_report_section(
          complete_html_report,
          component_id='inasafe-html-resources',
          container_wrapper_format=u'{section_content}')
  
      return requested_html_report
docs: Retrieve default InaSAFE HTML resources (style and script).