var Inyo_Accordion;(function(n){function u(){jQuery("#accordion").on("hide.bs.collapse",r);jQuery("#accordion").on("show.bs.collapse",r);location.hash&&e(location.hash);jQuery(".panel-collapse").on("shown.bs.collapse",function(){s(this)})}function f(n,r){t=n;i=r}function r(n){t&&i&&jQuery(n.target).prev(".panel-heading").find("i.indicator").toggleClass(t+" "+i)}function e(n){jQuery(n+"_PreventHashJump").collapse("show");setTimeout(function(){var n=0,t=jQuery(location.hash+", [name='"+location.hash.substring(1)+"']");jQuery(".fixed-top").length>0&&(n=jQuery(".fixed-top").height());jQuery("html,body").scrollTop(t.parent().offset().top-n)},500)}function o(n,t){var i=jQuery(n).offset().top;return i<t.top||i>t.btm}function s(n){var t=n;setTimeout(function(){var i=jQuery(t).attr("data-scroll-to"),r,n,u;i&&(r=jQuery(window),n={top:r.scrollTop(),btm:0},n.btm=n.top+r.height(),o(i,n)&&(u=0,jQuery(".fixed-top").length>0&&(u=jQuery(".fixed-top").height()),jQuery("html,body").animate({scrollTop:jQuery(i).offset().top-u},"slow")))},500)}var t,i;n.Initialize=u;n.SetToggleClass=f})(Inyo_Accordion||(Inyo_Accordion={}));Inyo_Accordion.Initialize()