{"version":3,"sources":["main.min.js"],"names":["jQuery","document","ready","$","click","this","toggleClass","slideToggle","location","pathname","replace","hostname","target","hash","length","slice","animate","scrollTop","offset","top","e","preventDefault","href","attr","window","open","$parent","parent","$div","next","isHidden","is","removeClass","addClass","children","slideUp"],"mappings":"AAAAA,OAAOC,UAAUC,MAAM,SAASC,GAE/BA,EAAE,iCAAiCC,MAAM,WACxCD,EAAEE,MAAMC,YAAY,QACpBH,EAAE,uBAAuBI,YAAY,UAGtCJ,EAAE,gCAAgCC,MAAM,WAEpC,GAAII,SAASC,SAASC,QAAQ,MAAM,KAAOL,KAAKI,SAASC,QAAQ,MAAM,KAAOF,SAASG,UAAYN,KAAKM,SAAU,CAC9G,IAAIC,EAAST,EAAEE,KAAKQ,MAEpB,IADAD,EAASA,EAAOE,OAASF,EAAST,EAAE,SAAWE,KAAKQ,KAAKE,MAAM,GAAI,MACxDD,OAIP,OAHAX,EAAE,cAAca,QAAQ,CACpBC,UAAWL,EAAOM,SAASC,KANzB,KAOH,MACI,KAKnBhB,EAAE,8BAA8BC,MAAM,SAASgB,GAC9CA,EAAEC,iBACF,IAAIC,EAAOnB,EAAEE,MAAMkB,KAAK,QAC8D,OAAtFC,OAAOC,KAAKH,EAAK,GAAI,iEAAwE,IAI9FnB,EAAE,sBAAsBC,MAAM,WAE7B,IAAIsB,EAAUvB,EAAEE,MAAMsB,SAClBC,EAAOzB,EAAEE,MAAMwB,KAAK,yBACpBC,EAAWF,EAAKG,GAAG,WAGvB5B,EAAE,mBAAmB6B,YAAY,QAAQC,SAAS,UAAUC,SAAS,OAAOC,QAAQ,OAAQ,SAGxFL,GACHJ,EAAQM,YAAY,UAAUC,SAAS,QACvCL,EAAKrB,YAAY,OAAQ,QAAS,WAC7BJ,EAAEqB,QAAQP,YAAcS,EAAQR,SAASC,IAAI,KAChDhB,EAAE,cAAca,QAAQ,CACvBC,UAAWS,EAAQR,SAASC,IAAI,KAC9B,MAILO,EAAQO,SAAS","file":"main.min.js","sourcesContent":["jQuery(document).ready(function($){\n\n\t$('button.site-header-nav-toggle').click(function(){\n\t\t$(this).toggleClass('open');\n\t\t$('nav.site-header-nav').slideToggle('fast');\n\t});\n\t\n\t$('a[href*=\"#\"]:not([href=\"#\"])').click(function() {\n\t var offset = -100; // <-- change the value here\n\t if (location.pathname.replace(/^\\//,'') == this.pathname.replace(/^\\//,'') && location.hostname == this.hostname) {\n\t var target = $(this.hash);\n\t target = target.length ? target : $('[name=' + this.hash.slice(1) +']');\n\t if (target.length) {\n\t $('html, body').animate({\n\t scrollTop: target.offset().top + offset\n\t }, 800);\n\t return false;\n\t }\n\t }\n\t});\n\n\t$('.sharing-links .linkedin a').click(function(e) {\n\t\te.preventDefault();\n\t\tvar href = $(this).attr('href');\n\t\twindow.open(href,'', '_blank, width=600, height=600, resizable=yes, scrollbars=yes'); return false;\n\t});\n\n\t// Accordions\n\t$('.accordion-heading').click(function(){\n\n\t\tvar $parent = $(this).parent();\n\t\tvar $div = $(this).next('div.accordion-content');\n\t\tvar isHidden = $div.is(':hidden');\n\n\t\t/* first contract any expanded lists */\n\t\t$('.accordion.open').removeClass('open').addClass('closed').children('div').slideUp('fast', 'swing');\n\t\t\n\t\t/* now, let's show the current selection if it needs to be */\n\t\tif (isHidden) {\n\t\t\t$parent.removeClass('closed').addClass('open');\n\t\t\t$div.slideToggle('fast', 'swing', function(){\n\t\t\t\tif ($(window).scrollTop() > $parent.offset().top-150) {\n\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\tscrollTop: $parent.offset().top-150\n\t\t\t\t\t}, 0);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\t$parent.addClass('closed');\n\t\t}\n\t});\n});"]}