{"version":3,"sources":["src/components/sticky-nav/sticky-nav.es6.js"],"names":["document","Drupal","$","behaviors","stickyNav","attach","context","scrollspy","target","jQuery"],"mappings":"AAAA,CAAE,UAACA,QAAD,EAAWC,MAAX,EAAmBC,CAAnB,EAAyB;AACzB;;AAEA;;;;AAGAD,SAAOE,SAAP,CAAiBC,SAAjB,GAA6B;;AAE3BC,YAAQ,gBAAUC,OAAV,EAAmB;AACzBJ,QAAE,MAAF,EAAUI,OAAV,EAAmBC,SAAnB,CAA6B,EAAEC,QAAQ,aAAV,EAA7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACD;AAb0B,GAA7B;AAeD,CArBA,CAqBER,QArBF,EAqBYC,MArBZ,EAqBoBQ,MArBpB,CAAD","file":"sticky-nav.js","sourcesContent":["!((document, Drupal, $) => {\n 'use strict';\n\n /**\n * Attach Bootstrap scrollspy to #list-example.\n */\n Drupal.behaviors.stickyNav = {\n\n attach: function (context) {\n $('body', context).scrollspy({ target: '#sticky-nav' });\n // You'll need to update this to fire onload for the actual site.\n // This is a simple click handler to make sure it's not displayed\n // by default within the style guide.\n // $('.js-example-scrollspy').on('click', () => {\n // // Remove the example demo class.\n // $('.demo-example').removeClass('demo-example');\n // // Activate scrollspy on the body.\n // $('body', context).scrollspy({ target: '#sticky-nav' });\n // });\n }\n };\n})(document, Drupal, jQuery);\n\n"]}