library:
  remote: https://github.com/klaro-org/klaro-js/
  license:
    name: BSD 3-Clause
    url: https://github.com/klaro-org/klaro-js/blob/master/LICENSE
    gpl-compatible: true
  header: true
  js:
    /libraries/klaro/dist/klaro-no-translations-no-css.js:
      minified: true
      preprocess: false
      attributes:
        defer: true
        id: klaro-js
  css:
    base:
      /libraries/klaro/dist/klaro.min.css: { minified: true }

klaro:
  js:
    js/klaro.drupal.js: {}
  css:
    base:
      css/klaro-extend.css: {}
  dependencies:
    - klaro/library
    - core/drupal
    - core/drupalSettings
    - core/once

klaro-override:
  css:
    component:
      css/klaro-override.css: {}
