text: /*! Houdini v9.4.0 | (c) 2017 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/houdini */
  !(function(t,e){"function"==typeof define&&define.amd?define([],e(t)):"object"==typeof exports?module.exports=e(t):t.houdini=e(t)})("undefined"!=typeof global?global:this.window||this.global,(function(t){"use strict";var e,o,n={},c="querySelector"in document&&"addEventListener"in t&&"classList"in document.createElement("_"),a={selectorToggle:"[data-collapse]",selectorContent:".collapse",toggleActiveClass:"active",contentActiveClass:"active",initClass:"js-houdini",stopVideo:!0,callbackOpen:function(){},callbackClose:function(){}},i=function(t,e,o){if("[object Object]"===Object.prototype.toString.call(t))for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(o,t[n],n,t);else for(var c=0,a=t.length;c<a;c++)e.call(o,t[c],c,t)},r=function(){var t={},e=!1,o=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],o++);for(;o<n;o++){var c=arguments[o];!(function(o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e&&"[object Object]"===Object.prototype.toString.call(o[n])?t[n]=r(!0,t[n],o[n]):t[n]=o[n])})(c)}return t},s=function(t,e){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),o=e.length;--o>=0&&e.item(o)!==this;);return o>-1});t&&t!==document;t=t.parentNode)if(t.matches(e))return t;return null},l=function(t){"#"===t.charAt(0)&&(t=t.substr(1));for(var e,o=String(t),n=o.length,c=-1,a="",i=o.charCodeAt(0);++c<n;){if(0===(e=o.charCodeAt(c)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");e>=1&&e<=31||127==e||0===c&&e>=48&&e<=57||1===c&&e>=48&&e<=57&&45===i?a+="\\"+e.toString(16)+" ":a+=e>=128||45===e||95===e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122?o.charAt(c):"\\"+o.charAt(c)}return"#"+a},u=function(t,e){if(e.stopVideo&&t.classList.contains(e.contentActiveClass)){var o=t.querySelector("iframe"),n=t.querySelector("video");if(o){var c=o.src;o.src=c}n&&n.pause()}},d=function(e,o){if(!e.hasAttribute("data-houdini-no-focus")){if(!e.classList.contains(o.contentActiveClass))return void(e.hasAttribute("data-houdini-focused")&&e.removeAttribute("tabindex"));var n={x:t.pageXOffset,y:t.pageYOffset};e.focus(),document.activeElement.id!==e.id&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-houdini-focused",!0),e.focus()),t.scrollTo(n.x,n.y)}};n.closeContent=function(t,o,n){var c=r(e||a,n||{}),i=document.querySelector(l(t));i&&(u(i,c),o&&o.classList.remove(c.toggleActiveClass),i.classList.remove(c.contentActiveClass),d(i,c),e.callbackClose(i,o))},n.openContent=function(t,o,c){var s=r(e||a,c||{}),u=document.querySelector(l(t)),f=o&&o.hasAttribute("data-group")?document.querySelectorAll('[data-group="'+o.getAttribute("data-group")+'"]'):[];u&&(i(f,(function(t){n.closeContent(t.hash,t)})),o&&o.classList.add(s.toggleActiveClass),u.classList.add(s.contentActiveClass),d(u,s),u.removeAttribute("data-houdini-no-focus"),s.callbackOpen(u,o))};var f=function(c){var a=t.location.hash;if(o&&(o.id=o.getAttribute("data-collapse-id"),o=null),a){var i=document.querySelector(e.selectorToggle+'[href*="'+a+'"]');n.openContent(a,i)}},h=function(c){if(0===c.button&&!c.metaKey&&!c.ctrlKey){var a=s(c.target,e.selectorToggle);if(a&&a.hash){if(a.classList.contains(e.toggleActiveClass))return c.preventDefault(),void n.closeContent(a.hash,a);o=document.querySelector(a.hash),o&&(o.setAttribute("data-collapse-id",o.id),o.id="",a.hash===t.location.hash&&(c.preventDefault(),f()))}}},v=function(n){if((o=s(n.target,e.selectorContent))&&!o.classList.contains(e.contentActiveClass)){var c=o.id;if(o.setAttribute("data-collapse-id",c),o.setAttribute("data-houdini-no-focus",!0),o.id="",c===t.location.hash.substring(1))return void f();t.location.hash=c}};return n.destroy=function(){e&&(document.documentElement.classList.remove(e.initClass),document.removeEventListener("click",h,!1),document.removeEventListener("focus",v,!0),t.removeEventListener("hashchange",f,!1),e=null,o=null)},n.init=function(o){c&&(n.destroy(),e=r(a,o||{}),document.documentElement.classList.add(e.initClass),document.addEventListener("click",h,!1),document.addEventListener("focus",v,!0),t.addEventListener("hashchange",f,!1),f())},n}));