1function vimeo(t){var e=t.split("?")[0].split("/");return e[e.length-1]} 2function youtube(t){var e=/youtube:\/\/|https?:\/\/youtu\.be\//g;if(e.test(t)){var i=t.split(e)[1];return stripParameters(i)} 3var o=/\/v\/|\/vi\//g;if(o.test(t)){var s=t.split(o)[1];return stripParameters(s)} 4var n=/v=|vi=/g;if(n.test(t))return t.split(n)[1].split("&")[0];var a=/\/an_webp\//g;if(a.test(t)){var r=t.split(a)[1];return stripParameters(r)} 5var l=/\/embed\//g;if(l.test(t)){var h=t.split(l)[1];return stripParameters(h)} 6if(/\/user\//g.test(t)){var d=t.split("/");return stripParameters(d.pop())} 7var c=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;return c.test(t)?t.match(c)[1]:void 0} 8function animateValue(t,e,i,o){function s(){var t=new Date().getTime(),e=Math.max((h-t)/o,0),s=i-e*a;(s=i%1==0?Math.round(s):s.toFixed(1)),(n.innerHTML=s),s==i&&clearInterval(l)} 9var n=document.getElementById(t),a=i-e,r=o/a;(r=i%1==0?Math.abs(Math.floor(r)):r.toFixed(1)),(r=Math.max(r,50));var l,h=new Date().getTime()+o;(l=setInterval(s,r)),s()} 10if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!(function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if((e[0]<2&&e[1]<9)||(1==e[0]&&9==e[1]&&e[2]<1))throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");})(),(function(t){"use strict";(t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;return(t(this).one("bsTransitionEnd",function(){i=!0}),setTimeout(function(){i||t(o).trigger(t.support.transition.end)},e),this)}),t(function(){(t.support.transition=(function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1})()),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments);},})})})(jQuery),(function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};(i.VERSION="3.3.5"),(i.TRANSITION_DURATION=150),(i.prototype.close=function(e){function o(){a.detach().trigger("closed.bs.alert").remove()} 11var s=t(this),n=s.attr("data-target");n||(n=(n=s.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""));var a=t(n);e&&e.preventDefault(),a.length||(a=s.closest(".alert")),a.trigger((e=t.Event("close.bs.alert"))),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o())});var o=t.fn.alert;(t.fn.alert=function(e){return this.each(function(){var o=t(this),s=o.data("bs.alert");s||o.data("bs.alert",(s=new i(this))),"string"==typeof e&&s[e].call(o)})}),(t.fn.alert.Constructor=i),(t.fn.alert.noConflict=function(){return(t.fn.alert=o),this}),t(document).on("click.bs.alert.data-api",e,i.prototype.close)})(jQuery),(function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.button"),n="object"==typeof e&&e;s||o.data("bs.button",(s=new i(this,n))),"toggle"==e?s.toggle():e&&s.setState(e)})} 12var i=function(e,o){(this.$element=t(e)),(this.options=t.extend({},i.DEFAULTS,o)),(this.isLoading=!1)};(i.VERSION="3.3.5"),(i.DEFAULTS={loadingText:"loading..."}),(i.prototype.setState=function(e){var i="disabled",o=this.$element,s=o.is("input")?"val":"html",n=o.data();(e+="Text"),null==n.resetText&&o.data("resetText",o[s]()),setTimeout(t.proxy(function(){o[s](null==n[e]?this.options[e]:n[e]),"loadingText"==e?((this.isLoading=!0),o.addClass(i).attr(i,i)):this.isLoading&&((this.isLoading=!1),o.removeClass(i).removeAttr(i))},this),0)}),(i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")});var o=t.fn.button;(t.fn.button=e),(t.fn.button.Constructor=i),(t.fn.button.noConflict=function(){return(t.fn.button=o),this}),t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasClass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),t(i.target).is('input[type="radio"]')||t(i.target).is('input[type="checkbox"]')||i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})})(jQuery),(function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.carousel"),n=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:n.slide;s||o.data("bs.carousel",(s=new i(this,n))),"number"==typeof e?s.to(e):a?s[a]():n.interval&&s.pause().cycle()})} 13var i=function(e,i){(this.$element=t(e)),(this.$indicators=this.$element.find(".carousel-indicators")),(this.options=i),(this.paused=null),(this.sliding=null),(this.interval=null),(this.$active=null),(this.$items=null),this.options.keyboard&&this.$element.on("key
13down.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart" in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};(i.VERSION="3.3.5"),(i.TRANSITION_DURATION=600),(i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0}),(i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return} 14t.preventDefault()}}),(i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this}),(i.prototype.getItemIndex=function(t){return(this.$items=t.parent().children(".item")),this.$items.index(t||this.$active)}),(i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if((("prev"==t&&0===i)||("next"==t&&i==this.$items.length-1))&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)}),(i.prototype.to=function(t){var e=this,i=this.getItemIndex((this.$active=this.$element.find(".item.active")));if(!(t>this.$items.length-1||t<0)) 15return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))}),(i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),(this.interval=clearInterval(this.interval)),this}),(i.prototype.next=function(){if(!this.sliding)return this.slide("next");}),(i.prototype.prev=function(){if(!this.sliding)return this.slide("prev");}),(i.prototype.slide=function(e,o){var s=this.$element.find(".item.active"),n=o||this.getItemForDirection(e,s),a=this.interval,r="next"==e?"left":"right",l=this;if(n.hasClass("active"))return(this.sliding=!1);var h=n[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if((this.$element.trigger(d),!d.isDefaultPrevented())){if(((this.sliding=!0),a&&this.pause(),this.$indicators.length)){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(n)]);c&&c.addClass("active")} 16var p=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return(t.support.transition&&this.$element.hasClass("slide")?(n.addClass(e),n[0].offsetWidth,s.addClass(r),n.addClass(r),s.one("bsTransitionEnd",function(){n.removeClass([e,r].join(" ")).addClass("active"),s.removeClass(["active",r].join(" ")),(l.sliding=!1),setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(s.removeClass("active"),n.addClass("active"),(this.sliding=!1),this.$element.trigger(p)),a&&this.cycle(),this)}});var o=t.fn.carousel;(t.fn.carousel=e),(t.fn.carousel.Constructor=i),(t.fn.carousel.noConflict=function(){return(t.fn.carousel=o),this});var s=function(i){var o,s=t(this),n=t(s.attr("data-target")||((o=s.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")));if(n.hasClass("carousel")){var a=t.extend({},n.data(),s.data()),r=s.attr("data-slide-to");r&&(a.interval=!1),e.call(n,a),r&&n.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",s).on("click.bs.carousel.data-api","[data-slide-to]",s),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})})(jQuery),(function(t){"use strict";function e(e){var i,o=e.attr("data-target")||((i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));return t(o)} 17function i(e){return this.each(function(){var i=t(this),s=i.data("bs.collapse"),n=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!s&&n.toggle&&/show|hide/.test(e)&&(n.toggle=!1),s||i.data("bs.collapse",(s=new o(this,n))),"string"==typeof e&&s[e]()})} 18var o=function(e,i){(this.$element=t(e)),(this.options=t.extend({},o.DEFAULTS,i)),(this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),(this.transitioning=null),this.options.parent?(this.$parent=this.getParent()):this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};
18(o.VERSION="3.3.5"),(o.TRANSITION_DURATION=350),(o.DEFAULTS={toggle:!0}),(o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"}),(o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,s=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(s&&s.length&&(e=s.data("bs.collapse"))&&e.transitioning)){var n=t.Event("show.bs.collapse");if((this.$element.trigger(n),!n.isDefaultPrevented())){s&&s.length&&(i.call(s,"hide"),e||s.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),(this.transitioning=1);var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),(this.transitioning=0),this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}}),(o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if((this.$element.trigger(e),!e.isDefaultPrevented())){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),(this.transitioning=1);var s=function(){(this.transitioning=0),this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return s.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}}),(o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()}),(o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var s=t(o);this.addAriaAndCollapsedClass(e(s),s)},this)).end()}),(o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)});var s=t.fn.collapse;(t.fn.collapse=i),(t.fn.collapse.Constructor=o),(t.fn.collapse.noConflict=function(){return(t.fn.collapse=s),this}),t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var s=t(this);s.attr("data-target")||o.preventDefault();var n=e(s),a=n.data("bs.collapse")?"toggle":s.data();i.call(n,a)})})(jQuery),(function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()} 19function i(i){(i&&3===i.which)||(t(o).remove(),t(s).each(function(){var o=t(this),s=e(o),n={relatedTarget:this};s.hasClass("open")&&((i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(s[0],i.target))||(s.trigger((i=t.Event("hide.bs.dropdown",n))),i.isDefaultPrevented()||(o.attr("aria-expanded","false"),s.removeClass("open").trigger("hidden.bs.dropdown",n))))}))} 20var o=".dropdown-backdrop",s='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};(n.VERSION="3.3.5"),(n.prototype.toggle=function(o){var s=t(this);if(!s.is(".disabled, :disabled")){var n=e(s),a=n.hasClass("open");if((i(),!a)){"ontouchstart" in document.documentElement&&!n.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var r={relatedTarget:this};if((n.trigger((o=t.Event("show.bs.dropdown",r))),o.isDefaultPrevented()))return;s.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger("shown.bs.dropdown",r)} 21return!1}}),(n.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=t(this);if((i.preventDefault(),i.stopPropagation(),!o.is(".disabled, :disabled"))){var n=e(o),a=n.hasClass("open");if((!a&&27!=i.which)||(a&&27==i.which))return 27==i.which&&n.find(s).trigger("focus"),o.trigger("click");var r=n.find(".dropdown-menu li:not(.disabled):visible a");if(r.length){var l=r.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l<r.length-1&&l++,~l||(l=0),r.eq(l).trigger("focus")}}}});var a=t.fn.dropdown;(t.fn.dropdown=function(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",(o=new n(this))),"string"==typeof e&&o[e].call(i)})}),(t.fn.dropdown.Constructor=n),(t.fn.dropdown.noConflict=function(){return(t.fn.dropdown=a),this}),t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,n.prototype.toggle).on("keydown.bs.dropdown.data-api",s,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)})(jQuery),(function(t){"use strict";function e(e,o){return this.each(function(){var s=t(this),n=s.data("bs.modal"),a=t.extend({},i.DEFAULTS,s.data(),"object"==typeof e&&e);n||s.data("bs.modal",(n=new i(this,a))),"string"==typeof e?n[e](o):a.show&&n.show(o)})} 22var i=function(e,i){(this.options=i),(this.$body=t(document.body)),(this.$element=t(e)),(this.$dialog=this.$element.find(".modal
22-dialog")),(this.$backdrop=null),(this.isShown=null),(this.originalBodyPad=null),(this.scrollbarWidth=0),(this.ignoreBackdropClick=!1),this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};(i.VERSION="3.3.5"),(i.TRANSITION_DURATION=300),(i.BACKDROP_TRANSITION_DURATION=150),(i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0}),(i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)}),(i.prototype.show=function(e){var o=this,s=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(s),this.isShown||s.isDefaultPrevented()||((this.isShown=!0),this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var s=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),s&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var n=t.Event("shown.bs.modal",{relatedTarget:e});s?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(n)}).emulateTransitionEnd(i.TRANSITION_DURATION):o.$element.trigger("focus").trigger(n)}))}),(i.prototype.hide=function(e){e&&e.preventDefault(),(e=t.Event("hide.bs.modal")),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&((this.isShown=!1),this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())}),(i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))}),(i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")}),(i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")}),(i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})}),(i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),(this.$backdrop=null)}),(i.prototype.backdrop=function(e){var o=this,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=t.support.transition&&s;if(((this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+s).appendTo(this.$body)),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?(this.ignoreBackdropClick=!1):t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)) 23return;n?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){o.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else e&&e()}),(i.prototype.handleUpdate=function(){this.adjustDialog()}),(i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})}),(i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})}),(i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}(this.bodyIsOverflowing=document.body.clientWidth<t),(this.scrollbarWidth=this.measureScrollbar())}),(i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);(this.originalBodyPad=document.body.style.paddingRight||""),this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)}),(i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)}),(i.prototype.measureScrollbar=function(){var t=document.createElement("div");(t.className="modal-scrollbar-measure"),this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e});var o=t.fn.modal;(t.fn.modal=e),(t.fn.modal.Constructor=i),(t.fn.modal.noConflict=function(){return(t.fn.modal=o),this}),t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var o=t(this),s=o.attr("href"),n=t(o.attr("data-target")||(s&&s.replace(/.*(?=#[^\s]+$)/,""))),a=n.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},n.data(),o.data());o.is("a")&&i.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){o.is(":visible")&&o.trigger("focus")})}),e.call(n,a,this)})})(jQuery),(function(t){"use strict";var e=function(t,e){(this.type=null),(this.options=null),(this.enabled=null),(this.timeout=null),(this.hoverState=null),(this.$element=null),(this.inState=null),this.init("tooltip",t,e)};(e.VERSION="3.3.5"),(e.TRANSITION_DURATION=150),(e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},}),(e.prototype.init=function(e,i,o){if(((this.enabled=!0),(this.t
23ype=e),(this.$element=t(i)),(this.options=this.getOptions(o)),(this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport)),(this.inState={click:!1,hover:!1,focus:!1}),this.$element[0]instanceof document.constructor&&!this.options.selector)) 24throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var s=this.options.trigger.split(" "),n=s.length;n--;){var a=s[n];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}} 25this.options.selector?(this._options=t.extend({},this.options,{trigger:"manual",selector:""})):this.fixTitle()}),(e.prototype.getDefaults=function(){return e.DEFAULTS}),(e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e}),(e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return(this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e)}),(e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if((i||((i=new this.constructor(e.currentTarget,this.getDelegateOptions())),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)) 26i.hoverState="in";else{if((clearTimeout(i.timeout),(i.hoverState="in"),!i.options.delay||!i.options.delay.show))return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}}),(e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1}),(e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if((i||((i=new this.constructor(e.currentTarget,this.getDelegateOptions())),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue())){if((clearTimeout(i.timeout),(i.hoverState="out"),!i.options.delay||!i.options.delay.hide))return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}}),(e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var s=this,n=this.tip(),a=this.getUID(this.type);this.setContent(),n.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&n.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=n[0].offsetWidth,p=n[0].offsetHeight;if(h){var f=r,u=this.getPosition(this.$viewport);(r="bottom"==r&&d.bottom+p>u.bottom?"top":"top"==r&&d.top-p<u.top?"bottom":"right"==r&&d.right+c>u.width?"left":"left"==r&&d.left-c<u.left?"right":r),n.removeClass(f).addClass(r)} 27var m=this.getCalculatedOffset(r,d,c,p);this.applyPlacement(m,r);var v=function(){var t=s.hoverState;s.$element.trigger("shown.bs."+s.type),(s.hoverState=null),"out"==t&&s.leave(s)};t.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}}),(e.prototype.applyPlacement=function(e,i){var o=this.tip(),s=o[0].offsetWidth,n=o[0].offsetHeight,a=parseInt(o.css("margin-top"),10),r=parseInt(o.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),(e.top+=a),(e.left+=r),t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left
27:Math.round(t.left)})},},e),0),o.addClass("in");var l=o[0].offsetWidth,h=o[0].offsetHeight;"top"==i&&h!=n&&(e.top=e.top+n-h);var d=this.getViewportAdjustedDelta(i,e,l,h);d.left?(e.left+=d.left):(e.top+=d.top);var c=/top|bottom/.test(i),p=c?2*d.left-s+l:2*d.top-n+h,f=c?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(p,o[0][f],c)}),(e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")}),(e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")}),(e.prototype.hide=function(i){function o(){"in"!=s.hoverState&&n.detach(),s.$element.removeAttr("aria-describedby").trigger("hidden.bs."+s.type),i&&i()} 28var s=this,n=t(this.$tip),a=t.Event("hide.bs."+this.type);if((this.$element.trigger(a),!a.isDefaultPrevented())) 29return n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(e.TRANSITION_DURATION):o(),(this.hoverState=null),this}),(e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")}),(e.prototype.hasContent=function(){return this.getTitle()}),(e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,s=i.getBoundingClientRect();null==s.width&&(s=t.extend({},s,{width:s.right-s.left,height:s.bottom-s.top}));var n=o?{top:0,left:0}:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},s,a,r,n)}),(e.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}}),(e.prototype.getViewportAdjustedDelta=function(t,e,i,o){var s={top:0,left:0};if(!this.$viewport)return s;var n=(this.options.viewport&&this.options.viewport.padding)||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-n-a.scroll,l=e.top+n-a.scroll+o;r<a.top?(s.top=a.top-r):l>a.top+a.height&&(s.top=a.top+a.height-l)}else{var h=e.left-n,d=e.left+n+i;h<a.left?(s.left=a.left-h):d>a.right&&(s.left=a.left+a.width-d)} 30return s}),(e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)}),(e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t}),(e.prototype.tip=function(){if(!this.$tip&&((this.$tip=t(this.options.template)),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip}),(e.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow"))}),(e.prototype.enable=function(){this.enabled=!0}),(e.prototype.disable=function(){this.enabled=!1}),(e.prototype.toggleEnabled=function(){this.enabled=!this.enabled}),(e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||((i=new this.constructor(e.currentTarget,this.getDelegateOptions())),t(e.currentTarget).data("bs."+this.type,i))),e?((i.inState.click=!i.inState.click),i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)}),(e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),(t.$tip=null),(t.$arrow=null),(t.$viewport=null)})});var i=t.fn.tooltip;(t.fn.tooltip=function(i){return this.each(function(){var o=t(this),s=o.data("bs.tooltip"),n="object"==typeof i&&i;(!s&&/destroy|hide/.test(i))||(s||o.data("bs.tooltip",(s=new e(this,n))),"string"==typeof i&&s[i]())})}),(t.fn.tooltip.Constructor=e),(t.fn.tooltip.noConflict=function(){return(t.fn.tooltip=i),this})})(jQuery),(function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");(e.VERSION="3.3.5"),(e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>',})),((e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e),(e.prototype.getDefaults=function(){return e.DEFAULTS}),(e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?("string"==typeof i?"html":"append"):"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()}),(e.prototype.hasContent=function(){return this.getTitle()||this.getContent()}),(e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)}),(e.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find(".arrow"))});var i=t.fn.popover;(t.fn.popover=function(i){return this.each(function(){var o=t(this),s=o.data("bs.popover"),n="object"==typeof i&&i;(!s&&/destroy|hide/.test(i))||(s||o.data("bs.popover",(s=new e(this,n))),"string"==typeof i&&s[i]())})}),(t.fn.popover.Constructor=e),(t.fn.popover.noConflict=function(){return(t.fn.popover=i),this})})(jQuery),(function(t){"use strict";function e(i,o){(this.$body=t(document.body)),(this.$scrollElement=t(t(i).is(document.body)?window:i)),(this.options=t.extend({},e.DEFAULTS,o)),(this.selector=(this.options.target||"")+" .nav li > a"),(this.offsets=[]),(this.targets=[]),(this.activeTarget=null),(this.scrollHeight=0),this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()} 31function i(i){return this.each(function(){var o=t(this),s=o.data("bs.scrollspy"),n="object"==typeof i&&i;s||o.data("bs.scrollspy",(s=new e(this,n))),"string"==typeof i&&s[i]()})}(e.VERSION="3.3.5"),(e.DEFAULTS={offset:10}),(e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)}),(e.prototype.refresh=function(){var e=this,i="offset",o=0;(this.offsets=[]),(this.targets=[]),(this.scrollHeight=this.getScrollHeight()),t.isWindow(this.$scrollElement[0])||((i="position"),(o=this.$scrollElement.scrollTop())),this.$body.find(this.selector).map(function(){var e=t(this),s=e.data("target")||e.attr("href"),n=/^#./.test(s)&&t(s);return(n&&n.length&&n.is(":visible")&&[[n[i]().top+o,s]])||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})}),(e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),s=this.offsets,n=this.targets,a=this.activeTarget;if((this.scrollHeight!=i&&this.refresh(),e>=o))return a!=(t=n[n.length-1])&&this.activate(t);if(a&&e<s[0])return(this.activeTarget=null),this.clear();for(t=s.length;t--;)a!=n[t]&&e>=s[t]&&(void 0===s[t+1]||e<s[t+1])&&this.activate(n[t]);}),(e.prototype.activate=function(e){(this.activeTarget=e),this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addClass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addClass("active")),o.trigger("activate.bs.scrollspy")}),(e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")});var o=t.fn.scrollspy;(t.fn.scrollspy=i),(t.fn.scrollspy.Constructor=e),(t.fn.scrollspy.noConflict=function(){return(t.fn.scrollspy=o),this}),t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})})(jQuery),(function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.tab");s||o.data("bs.tab",(s=new i(this))),"string"==typeof e&&s[e]()})} 32var i=function(e){this.element=t(e)};(i.VERSION="3.3.5"),(i.TRANSITION_DURATION=150),(i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if((o||(o=(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active"))){var s=i.find(".active:last a"),n=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:s[0]});if((s.trigger(n),e.trigger(a),!a.isDefaultPrevented()&&!n.isDefaultPrevented())){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){s.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:s[0]})})}}}),(i.prototype.activate=function(e,o,s){function n(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),s&&s()} 33var a=o.find("> .active"),r=s&&t.support.transition&&((a.length&&a.hasClass("fade"))||!!o.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n(),a.removeClass("in")});var o=t.fn.tab;(t.fn.tab=e),(t.fn.tab.Constructor=i),(t.fn.tab.noConflict=function(){return(t.fn.tab=o),this});var s=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',s).on("click.bs.tab.data-api",'[data-toggle="pill"]',s)})(jQuery),(function(t){"use strict";function e(e){return this.each(function(){var o=t(this),s=o.data("bs.affix"),n="object"==typeof e&&e;s||o.data("bs.affix",(s=new i(this,n))),"string"==typeof e&&s[e]()})} 34var i=function(e,o){(this.options=t.extend({},i.DEFAULTS,o)),(this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this))),(this.$element=t(e)),(this.affixed=null),(this.unpin=null),(this.pinnedOffset=null),this.checkPosition()};(i.VERSION="3.3.5"),(i.RESET="affix affix-top affix-bottom"),(i.DEFAULTS={offset:0,target:window}
34),(i.prototype.getState=function(t,e,i,o){var s=this.$target.scrollTop(),n=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return s<i&&"top";if("bottom"==this.affixed)return null!=i?!(s+this.unpin<=n.top)&&"bottom":!(s+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?s:n.top;return null!=i&&s<=i?"top":null!=o&&l+(r?a:e)>=t-o&&"bottom"}),(i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return(this.pinnedOffset=e.top-t)}),(i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)}),(i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),o=this.options.offset,s=o.top,n=o.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(n=s=o),"function"==typeof s&&(s=o.top(this.$element)),"function"==typeof n&&(n=o.bottom(this.$element));var r=this.getState(a,e,s,n);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if((this.$element.trigger(h),h.isDefaultPrevented()))return;(this.affixed=r),(this.unpin="bottom"==r?this.getPinnedOffset():null),this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")} 35"bottom"==r&&this.$element.offset({top:a-e-n})}});var o=t.fn.affix;(t.fn.affix=e),(t.fn.affix.Constructor=i),(t.fn.affix.noConflict=function(){return(t.fn.affix=o),this}),t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),o=i.data();(o.offset=o.offset||{}),null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),e.call(i,o)})})})(jQuery),jQuery(document).ready(function(t){($img_modal=t("#img-modal")),($img_modal_content=t("#img-modal-content")),t(".img-modal").on("click",function(e){e.preventDefault();var i=t(this).attr("href");t(this).attr("title"),$img_modal_content.html('<img src="'+i+'" class="img-responsive">'),$img_modal.modal("show")}),t(".microsite-menu").on("click","a",function(e){e.preventDefault();var i=t("#top-menu").height(),o=t(t(this).attr("href")).position().top;t(".mobi-open").removeClass("mobi-open"),t("html, body").animate({scrollTop:o-i-1},400)});var e=t(window).height(),i=!1;t("#solutions-row").length>0&&(i=t("#solutions-row").offset().top+40);var o=t(".topbar").outerHeight(),s=t(this).scrollTop();i&&i-s<e&&t("#solutions-row").addClass("active"),s>=o&&!t("body").hasClass("scrolled")?t("body").addClass("scrolled"):s<o&&t("body").hasClass("scrolled")&&t("body").removeClass("scrolled"),t(window).on("scroll",function(){var s=t(this).scrollTop();i&&i-s<e&&t("#solutions-row").addClass("active"),s>=o&&!t("body").hasClass("scrolled")?t("body").addClass("scrolled"):s<o&&t("body").hasClass("scrolled")&&t("body").removeClass("scrolled")}),t(".gallery").each(function(){t(this).lightGallery({selector:"a",download:!1})}),t(".request").on("click",function(e){e.preventDefault(),t(t(this).attr("href")).addClass("open")}),t(".request-close").on("click",function(e){e.preventDefault(),t(this).parents(".contact-content").removeClass("open")}),t('a[rel="external"]').on("click",function(e){e.preventDefault(),window.open(t(this).attr("href"))}),t(".mobi-toggle").on("click",function(e){e.preventDefault(),t("body").toggleClass("mobi-open")}),t(".toggle-search").on("click",function(e){e.preventDefault(),t("#search-box").hasClass("open")?t("#search-box form").submit():(t("#search-box input").focus(),t("#search-box").addClass("open"))}),t("#search-box").on("blur","input",function(){t("#search-box").removeClass("open")}),t(".extras-menu").on("click",function(e){e.preventDefault(),t(t(this).attr("href")).toggleClass("open")}),t(".subsubmenu").on("mouseenter","a",function(){if((($container=t(this).parents(".mega-container")),$container.find(".third-level.active, .icon-level.active").removeClass("active"),($new=t(t(this).data("menu-third"))),t(".third-level-trigger.active").removeClass("active"),$new.length>0)) 36$container.find(".mega-panel").last().addClass("third-level-open"),t(this).addClass("active"),$new.addClass("active"),t(this).parents(".mega-container").find(".card-default").addClass("out");else{var e=$container.find("li.active .second-level-trigger").data("feature-id");t("."+e).addClass("active")}}),t(".second-level-trigger").on("mouseenter",function(){t(this).parentsUntil(".mega").find(".second-level.active, .icon-level.active").removeClass("active"),t("."+t(this).data("feature-id")).addClass("active")}),t(".mega-list").on("mouseenter","li",function(){t(this).parents(".mega-container").find(".subsubmenu.active").removeClass("active"),($new=t(t(this).find("a").data("subsub"))),$new.addClass("active"),t(".third-level.active").removeClass("active"),t(".card-default.out").removeClass("out"),t(".third-level-open").removeClass("third-level-open"),t(".third-level-trigger.active").removeClass("active"),t(this).siblings(".active").removeClass("active"),t(this).addClass("active")}),t(".main-nav").on("click",".toggle-sub",function(e){e.preventDefault(),($li=t(this).parents("li")),$li.hasClass("opened")?$li.removeClass("opened"):(t(".main-nav li.opened").removeClass("opened"),$li.addClass("opened"))}),t(".affixed").each(function(){t(this).width(t(this).width())}),(s=this.top=t(".banner").outerHeight(!0)-30),t("body").hasClass("bannerless")&&(s=t("#top-menu").outerHeight(!0)-25),t(".affixed").affix({offset:{top:(this.top=s),bottom:(this.bottom=t("footer").outerHeight(!0)+50)}}),t(".clicktocopy").on("click",function(e){e.preventDefault();var i=t(t(this).data("target"));i.select(),document.execCommand("copy"),i.blur(),t(this).html("copied!")}),t(document).on("keyup",function(e){27==e.keyCode&&(t("#pdf-modal, #video-modal").length>0&&t("#pdf-modal, #video-modal").remove(),t(".vid-mask.active").removeClass("active"))}),t("body").on("click",".modal-video",function(e){e.preventDefault();var i=t(this).attr("href");if(i.indexOf("youtu")>=0){$active_carousel=t(this).closest('.carousel');if($active_carousel.length>0){$active_carousel.carousel('pause')} 37var id=youtube(i);player.loadVideoById(id)}else if(i.indexOf("vimeo")>=0){var o=vimeo(i);t("body").append('<div id="video-modal" class="mymodal"><div class="sixteennine"><a href="#" class="close-my-modal">close <i class="fa fa-times"></i></a><iframe src="https://player.vimeo.com/video/'+o+'?autoplay=1&color=ffffff&title=0&byline=0&badge=0" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></div>')} 38t(".vid-mask, #video-modal").addClass("active"),t(".vid-mask, .close-my-modal").on("click",function(e){player.stopVideo();if($active_carousel&&$active_carousel.length>0){$active_carousel.carousel('cycle')} 39e.preventDefault(),t(".vid-mask.active, .mymodal.active").removeClass("active")})}),t("body").on("click",".modal-pdf",function(e){e.preventDefault();var i=t(this).attr("href");return window.open(i),!1}),t("article, .outcomes").on("click",".modal-doc",function(e){e.preventDefault();var i=t(this).attr("href");t(".vid-mask, "+i).addClass("active")}),t(".whenon").each(function(){t(this).isOnScreen()&&t(this).addClass("in"),t(".countup").each(function(){t(this).isOnScreen()&&(t(this).addClass("counting"),t(this).removeClass("countup"),animateValue(t(this).attr("id"),0,parseFloat(t(this).text()),3e3))})}),t(window).on("scroll",function(){t(".whenon").each(function(){t(this).isOnScreen()&&t(this).addClass("in")}),t(".countup").each(function(){t(this).isOnScreen()&&(t(this).addClass("counting"),t(this).removeClass("countup"),animateValue(t(this).attr("id"),0,parseFloat(t(this).text()),3e3))})});t('.carousel').each(function(){var height=0;var $carousel=t(this);$carousel.find('.item').each(function(){var h=t(this).height();if(h>height){height=h}});$carousel.find('.item').height(height)})}),(function(t){t.fn.isOnScreen=function(e){var i=this.outerHeight(),o=this.outerWidth();if(!o||!i)return!1;var s=t(window),n={top:s.scrollTop(),left:s.scrollLeft()};(n.right=n.left+s.width()),(n.bottom=n.top+s.height());var a=this.offset();(a.right=a.left+o),(a.bottom=a.top+i);
39var r={top:n.bottom-a.top,left:n.right-a.left,bottom:a.bottom-n.top,right:a.right-n.left};return"function"==typeof e?e.call(this,r):r.top>0&&r.left>0&&r.right>0&&r.bottom>0}})(jQuery);document.addEventListener("DOMContentLoaded",function(){const mobi_links=document.querySelectorAll('.submenu-container .header');mobi_links.forEach((mobi_link)=>{mobi_link.addEventListener('click',function(e){this.classList.toggle('sub-open')})});const allGalleries=document.querySelectorAll('.gallery-carousel-wrapper');allGalleries.forEach((wrapper)=>{const images=wrapper.querySelectorAll('.gallery-carousel-images img');const indicatorContainer=wrapper.querySelector('.gallery-carousel-indicators');const captions=wrapper.querySelectorAll('.gallery-carousel-caption');let currentIndex=0;const intervalTime=5000;const dots=[];images.forEach((_,index)=>{const dot=document.createElement('div');dot.classList.add('dot');if(index===0)dot.classList.add('active');dot.addEventListener('click',()=>{currentIndex=index;updateGallery();resetTimer()});indicatorContainer.appendChild(dot);dots.push(dot)});function updateGallery(){images.forEach((img,i)=>{img.classList.toggle('active',i===currentIndex);dots[i].classList.toggle('active',i===currentIndex);captions[i].classList.toggle('active',i===currentIndex)})} 40function nextImage(){currentIndex=(currentIndex+1)%images.length;updateGallery()} 41let slideInterval=setInterval(nextImage,intervalTime);function resetTimer(){clearInterval(slideInterval);slideInterval=setInterval(nextImage,intervalTime)} 42updateGallery()})})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.