{"version":3,"file":"profile-filters.js","names":["$","Drupal","behaviors","profileFilters","attach","icons","header","activeHeader","window","resize","width","accordion","active","collapsible","jQuery"],"sources":["src/components/profile-filters/profile-filters.es6.js"],"sourcesContent":["(function ($) {\n 'use strict';\n\n Drupal.behaviors.profileFilters = {\n attach: function () {\n const icons = {\n header: 'accordion__header-icon',\n activeHeader: 'accordion__header-icon--active'\n };\n\n $(window).resize(() => {\n if ($(window).width() < 880) {\n $('.profile-filters__accordion-container .accordion').accordion({\n icons,\n active: false,\n collapsible: true,\n header: '.profile-filters__accordion-container .accordion__heading'\n });\n }\n else {\n $('.profile-filters__accordion-container .ui-accordion')\n .accordion('destroy');\n }\n });\n }\n };\n}(jQuery));\n"],"mappings":";;AAAC,WAAUA,CAAC,EAAE;EACZ,YAAY;;EAEZC,MAAM,CAACC,SAAS,CAACC,cAAc,GAAG;IAChCC,MAAM,EAAE,SAAAA,OAAA,EAAY;MAClB,IAAMC,KAAK,GAAG;QACZC,MAAM,EAAE,wBAAwB;QAChCC,YAAY,EAAE;MAChB,CAAC;MAEDP,CAAC,CAACQ,MAAM,CAAC,CAACC,MAAM,CAAC,YAAM;QACrB,IAAIT,CAAC,CAACQ,MAAM,CAAC,CAACE,KAAK,CAAC,CAAC,GAAG,GAAG,EAAE;UAC3BV,CAAC,CAAC,kDAAkD,CAAC,CAACW,SAAS,CAAC;YAC9DN,KAAK,EAALA,KAAK;YACLO,MAAM,EAAE,KAAK;YACbC,WAAW,EAAE,IAAI;YACjBP,MAAM,EAAE;UACV,CAAC,CAAC;QACJ,CAAC,MACI;UACHN,CAAC,CAAC,qDAAqD,CAAC,CACrDW,SAAS,CAAC,SAAS,CAAC;QACzB;MACF,CAAC,CAAC;IACJ;EACF,CAAC;AACH,CAAC,EAACG,MAAM,CAAC","ignoreList":[]}