/*
  The following comments are parsed by Gulp include
  (https://www.npmjs.com/package/gulp-include) which uses
  Sprockets-style (https://github.com/sstephenson/sprockets)
  directives to concatenate multiple Javascript files into one.
*/
//= include ../../../node_modules/govuk_frontend_toolkit/javascripts/vendor/polyfills/bind.js
//= include _details.polyfill.js

//= include ../../../node_modules/jquery/dist/jquery.js
//= include ../../../node_modules/hogan/web/builds/3.0.2/hogan-3.0.2.js
//= include ../../../node_modules/digitalmarketplace-frontend-toolkit/toolkit/javascripts/list-entry.js
//= include ../../../node_modules/digitalmarketplace-frontend-toolkit/toolkit/javascripts/word-counter.js
//= include ../../../node_modules/digitalmarketplace-frontend-toolkit/toolkit/javascripts/validation.js
//= include ../../../node_modules/govuk_frontend_toolkit/javascripts/govuk/selection-buttons.js
//= include ../../../node_modules/govuk_frontend_toolkit/javascripts/govuk/shim-links-with-button-role.js
//= include ../../../node_modules/govuk_frontend_toolkit/javascripts/govuk/stick-at-top-when-scrolling.js
//= include ../../../node_modules/govuk_frontend_toolkit/javascripts/govuk/stop-scrolling-at-footer.js
//= include ../../../node_modules/digitalmarketplace-frontend-toolkit/toolkit/javascripts/shim-links-with-button-role.js
//= include ../../../node_modules/digitalmarketplace-frontend-toolkit/toolkit/javascripts/show-hide-content.js
//= include _analytics.js
//= include _selection-buttons.js
//= include _stick-at-top-when-scrolling.js
//= include category-picker.js

(function(GOVUK, GDM) {

  "use strict";

  var module;

  if((typeof console === 'undefined') || (typeof console.time === 'undefined') || (typeof console.timeEnd === 'undefined')) {
    console = {
      log: function () {},
      time: function () {},
      timeEnd: function () {}
    };
  }

  if (
    (GDM.debug = !window.location.href.match(/gov.uk/) && !window.jasmine)
  ) {
    console.log(
      "%cDebug mode %cON",
      "color:#550; background:yellow; font-size: 11pt",
      "color:yellow; background: #550;font-size:11pt"
    );
    console.time("Modules loaded");
  }

  // Initialise our modules
  for (module in GDM) {

    if (GDM.debug && module !== "debug") {
      console.log(
        "%cLoading module %c" + module,
        "color:#6a6; background:#dfd; font-size: 11pt",
        "color:#dfd; background:green; font-size: 11pt"
      );
    }

    if ("function" === typeof GDM[module].init) {
      // If a module has an init() method then we want that to be called here
      GDM[module].init();
    } else if ("function" === typeof GDM[module]) {
      // If a module doesn't have an interface then call it directly
      GDM[module]();
    }

  }

  GOVUK.GDM = GDM;

  if (GDM.debug) console.timeEnd("Modules loaded");

}).apply(this, [GOVUK||{}, GOVUK.GDM||{}]);

@@ -234,30 +234,30 @@
 one.%0A*/%0A//= 
-includ
+requir
 e ../../../n
@@ -332,22 +332,22 @@
 .js%0A//= 
-includ
+requir
 e _detai
@@ -362,30 +362,30 @@
 ill.js%0A%0A//= 
-includ
+requir
 e ../../../n
@@ -414,38 +414,38 @@
 t/jquery.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -457,16 +457,19 @@
 es/hogan
+.js
 /web/bui
@@ -489,38 +489,38 @@
 an-3.0.2.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -593,38 +593,38 @@
 st-entry.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -699,38 +699,38 @@
 -counter.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -803,38 +803,38 @@
 lidation.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -899,38 +899,38 @@
 -buttons.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -1005,38 +1005,38 @@
 ton-role.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -1111,38 +1111,38 @@
 crolling.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -1214,38 +1214,38 @@
 t-footer.js%0A//= 
-includ
+requir
 e ../../../node_
@@ -1343,22 +1343,22 @@
 .js%0A//= 
-includ
+requir
 e ../../
@@ -1454,22 +1454,22 @@
 .js%0A//= 
-includ
+requir
 e _analy
@@ -1476,30 +1476,30 @@
 tics.js%0A//= 
-includ
+requir
 e _selection
@@ -1514,22 +1514,22 @@
 .js%0A//= 
-includ
+requir
 e _stick
@@ -1558,22 +1558,22 @@
 .js%0A//= 
-includ
+requir
 e catego

Use "require" instead of "include" to import once only