From: Steve Sutton
Date: Thu, 20 Dec 2018 17:42:07 +0000 (-0500)
Subject: update for the script to use https
X-Git-Tag: v1.0.2^2
X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0bce4917bd15d52868cb4f422e5d3ccb707ea650;p=WP-Themes%2Fbreakersmi.git
update for the script to use https
---
diff --git a/scripts/plugins.min.js b/scripts/plugins.min.js
index b6cfa23..eab3eee 100644
--- a/scripts/plugins.min.js
+++ b/scripts/plugins.min.js
@@ -1,3 +1,3 @@
if(function(t,e,i){t.fn.backstretch=function(s,n){return(s===i||0===s.length)&&t.error("No images were supplied for Backstretch"),0===t(e).scrollTop()&&e.scrollTo(0,0),this.each(function(){var e=t(this),i=e.data("backstretch");if(i){if("string"==typeof s&&"function"==typeof i[s])return void i[s](n);n=t.extend(i.options,n),i.destroy(!0)}i=new a(this,s,n),e.data("backstretch",i)})},t.backstretch=function(e,i){return t("body").backstretch(e,i).data("backstretch")},t.expr[":"].backstretch=function(e){return t(e).data("backstretch")!==i},t.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var s={left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},n={position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999},a=function(i,n,a){this.options=t.extend({},t.fn.backstretch.defaults,a||{}),this.images=t.isArray(n)?n:[n],t.each(this.images,function(){t("
")[0].src=this}),this.isBody=i===document.body,this.$container=t(i),this.$root=this.isBody?t(o?e:document):this.$container,i=this.$container.children(".backstretch").first(),this.$wrap=i.length?i:t('').css(s).appendTo(this.$container),this.isBody||(i=this.$container.css("position"),n=this.$container.css("zIndex"),this.$container.css({position:"static"===i?"relative":i,zIndex:"auto"===n?0:n,background:"none"}),this.$wrap.css({zIndex:-999998})),this.$wrap.css({position:this.isBody&&o?"fixed":"absolute"}),this.index=0,this.show(this.index),t(e).on("resize.backstretch",t.proxy(this.resize,this)).on("orientationchange.backstretch",t.proxy(function(){this.isBody&&0===e.pageYOffset&&(e.scrollTo(0,1),this.resize())},this))};a.prototype={resize:function(){try{var t,i={left:0,top:0},s=this.isBody?this.$root.width():this.$root.innerWidth(),n=s,a=this.isBody?e.innerHeight?e.innerHeight:this.$root.height():this.$root.innerHeight(),o=n/this.$img.data("ratio");o>=a?(t=(o-a)/2,this.options.centeredY&&(i.top="-"+t+"px")):(o=a,n=o*this.$img.data("ratio"),t=(n-s)/2,this.options.centeredX&&(i.left="-"+t+"px")),this.$wrap.css({width:s,height:a}).find("img:not(.deleteable)").css({width:n,height:o}).css(i)}catch(t){}return this},show:function(e){if(!(Math.abs(e)>this.images.length-1)){var i=this,s=i.$wrap.find("img").addClass("deleteable"),a={relatedTarget:i.$container[0]};return i.$container.trigger(t.Event("backstretch.before",a),[i,e]),this.index=e,clearInterval(i.interval),i.$img=t("
").css(n).bind("load",function(n){var o=this.width||t(n.target).width();n=this.height||t(n.target).height(),t(this).data("ratio",o/n),t(this).fadeIn(i.options.speed||i.options.fade,function(){s.remove(),i.paused||i.cycle(),t(["after","show"]).each(function(){i.$container.trigger(t.Event("backstretch."+this,a),[i,e])})}),i.resize()}).appendTo(i.$wrap),i.$img.attr("src",i.images[e]),i}},next:function(){return this.show(this.indexl||e.operamini&&"[object OperaMini]"==={}.toString.call(e.operamini)||h&&7458>p||-1l||d&&6>d||"palmGetResource"in e&&l&&534>l||-1=u)}(jQuery,window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.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")}(jQuery),+function(t){"use strict";function e(){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.fn.emulateTransitionEnd=function(e){var i=!1,s=this;t(this).one("bsTransitionEnd",function(){i=!0});var n=function(){i||t(s).trigger(t.support.transition.end)};return setTimeout(n,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.alert");n||i.data("bs.alert",n=new s(this)),"string"==typeof e&&n[e].call(i)})}var i='[data-dismiss="alert"]',s=function(e){t(e).on("click",i,this.close)};s.VERSION="3.3.2",s.TRANSITION_DURATION=150,s.prototype.close=function(e){function i(){o.detach().trigger("closed.bs.alert").remove()}var n=t(this),a=n.attr("data-target");a||(a=n.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=t(a);e&&e.preventDefault(),o.length||(o=n.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(s.TRANSITION_DURATION):i())};var n=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=s,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",i,s.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var s=t(this),n=s.data("bs.button"),a="object"==typeof e&&e;n||s.data("bs.button",n=new i(this,a)),"toggle"==e?n.toggle():e&&n.setState(e)})}var i=function(e,s){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,s),this.isLoading=!1};i.VERSION="3.3.2",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",s=this.$element,n=s.is("input")?"val":"html",a=s.data();e+="Text",null==a.resetText&&s.data("resetText",s[n]()),setTimeout(t.proxy(function(){s[n](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,s.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,s.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")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var s=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=s,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var s=t(i.target);s.hasClass("btn")||(s=s.closest(".btn")),e.call(s,"toggle"),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 s=t(this),n=s.data("bs.carousel"),a=t.extend({},i.DEFAULTS,s.data(),"object"==typeof e&&e),o="string"==typeof e?e:a.slide;n||s.data("bs.carousel",n=new i(this,a)),"number"==typeof e?n.to(e):o?n[o]():a.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.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.2",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}t.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),s="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(s&&!this.options.wrap)return e;var n="prev"==t?-1:1,a=(i+n)%this.$items.length;return this.$items.eq(a)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0: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(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,s){var n=this.$element.find(".item.active"),a=s||this.getItemForDirection(e,n),o=this.interval,r="next"==e?"left":"right",c=this;if(a.hasClass("active"))return this.sliding=!1;var l=a[0],d=t.Event("slide.bs.carousel",{relatedTarget:l,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(a)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:l,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,n.addClass(r),a.addClass(r),n.one("bsTransitionEnd",function(){a.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),c.sliding=!1,setTimeout(function(){c.$element.trigger(p)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(n.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(p)),o&&this.cycle(),this}};var s=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=s,this};var n=function(i){var s,n=t(this),a=t(n.attr("data-target")||(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=t.extend({},a.data(),n.data()),r=n.attr("data-slide-to");r&&(o.interval=!1),e.call(a,o),r&&a.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),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,s=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(s)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),a=t.extend({},s.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&a.toggle&&"show"==e&&(a.toggle=!1),n||i.data("bs.collapse",n=new s(this,a)),"string"==typeof e&&n[e]()})}var s=function(e,i){this.$element=t(e),this.options=t.extend({},s.DEFAULTS,i),this.$trigger=t(this.options.trigger).filter('[href="#'+e.id+'"], [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()};s.VERSION="3.3.2",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},s.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](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")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var c=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[o](this.$element[0][c])}}}},s.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 n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION):n.call(this)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,s){var n=t(s);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=s,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(s){var n=t(this);n.attr("data-target")||s.preventDefault();var a=e(n),o=a.data("bs.collapse"),r=o?"toggle":t.extend({},n.data(),{trigger:this});i.call(a,r)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(n).remove(),t(a).each(function(){var s=t(this),n=i(s),a={relatedTarget:this};n.hasClass("open")&&(n.trigger(e=t.Event("hide.bs.dropdown",a)),e.isDefaultPrevented()||(s.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",a)))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var s=i&&t(i);return s&&s.length?s:e.parent()}function s(e){return this.each(function(){var i=t(this),s=i.data("bs.dropdown");s||i.data("bs.dropdown",s=new o(this)),"string"==typeof e&&s[e].call(i)})}var n=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.2",o.prototype.toggle=function(s){var n=t(this);if(!n.is(".disabled, :disabled")){var a=i(n),o=a.hasClass("open");if(e(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t('').insertAfter(t(this)).on("click",e);var r={relatedTarget:this};if(a.trigger(s=t.Event("show.bs.dropdown",r)),s.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var s=t(this);if(e.preventDefault(),e.stopPropagation(),!s.is(".disabled, :disabled")){var n=i(s),o=n.hasClass("open");if(!o&&27!=e.which||o&&27==e.which)return 27==e.which&&n.find(a).trigger("focus"),s.trigger("click");var r=" li:not(.divider):visible a",c=n.find('[role="menu"]'+r+', [role="listbox"]'+r);if(c.length){var l=c.index(e.target);38==e.which&&l>0&&l--,40==e.which&&l').prependTo(this.$element).on("click.dismiss.bs.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){s.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},i.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},i.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},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(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},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 s=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=s,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var s=t(this),n=s.attr("href"),a=t(s.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},a.data(),s.data());s.is("a")&&i.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){s.is(":visible")&&s.trigger("focus")})}),e.call(a,o,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var s=t(this),n=s.data("bs.tooltip"),a="object"==typeof e&&e;(n||"destroy"!=e)&&(n||s.data("bs.tooltip",n=new i(this,a)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};i.VERSION="3.3.2",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,s){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(s),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var n=this.options.trigger.split(" "),a=n.length;a--;){var o=n[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var r="hover"==o?"mouseenter":"focusin",c="hover"==o?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(c+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,s){i[t]!=s&&(e[t]=s)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var s=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!s)return;var n=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,c=/\s?auto?\s?/i,l=c.test(r);l&&(r=r.replace(c,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element);var d=this.getPosition(),h=a[0].offsetWidth,p=a[0].offsetHeight;if(l){var u=r,g=this.options.container?t(this.options.container):this.$element.parent(),f=this.getPosition(g);r="bottom"==r&&d.bottom+p>f.bottom?"top":"top"==r&&d.top-pf.width?"left":"left"==r&&d.left-ho.top+o.height&&(n.top=o.top+o.height-c)}else{var l=e.left-a,d=e.left+a+i;lo.width&&(n.left=o.left+o.width-d)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var s=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=s,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var s=t(this),n=s.data("bs.popover"),a="object"==typeof e&&e;(n||"destroy"!=e)&&(n||s.data("bs.popover",n=new i(this,a)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.2",i.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),i.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),i.prototype.constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.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()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.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)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},i.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var s=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=i,t.fn.popover.noConflict=function(){return t.fn.popover=s,this}}(jQuery),+function(t){"use strict";function e(i,s){var n=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(t(i).is("body")?window:i),this.options=t.extend({},e.DEFAULTS,s),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",n),this.refresh(),this.process()}function i(i){return this.each(function(){var s=t(this),n=s.data("bs.scrollspy"),a="object"==typeof i&&i;n||s.data("bs.scrollspy",n=new e(this,a)),"string"==typeof i&&n[i]()})}e.VERSION="3.3.2",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="offset",i=0;t.isWindow(this.$scrollElement[0])||(e="position",i=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var s=this;this.$body.find(this.selector).map(function(){var s=t(this),n=s.data("target")||s.attr("href"),a=/^#./.test(n)&&t(n);return a&&a.length&&a.is(":visible")&&[[a[e]().top+i,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){s.offsets.push(this[0]),s.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),s=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=s)return o!=(t=a[a.length-1])&&this.activate(t);if(o&&e=n[t]&&(!n[t+1]||e<=n[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',s=t(i).parents("li").addClass("active");s.parent(".dropdown-menu").length&&(s=s.closest("li.dropdown").addClass("active")),s.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var s=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=s,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 s=t(this),n=s.data("bs.tab");n||s.data("bs.tab",n=new i(this)),"string"==typeof e&&n[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.2",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),s=e.data("target");if(s||(s=e.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),o=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(a),e.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var r=t(s);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},i.prototype.activate=function(e,s,n){function a(){o.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")&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var o=s.find("> .active"),r=n&&t.support.transition&&(o.length&&o.hasClass("fade")||!!s.find("> .fade").length);o.length&&r?o.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a(),o.removeClass("in")};var s=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=s,this};var n=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var s=t(this),n=s.data("bs.affix"),a="object"==typeof e&&e;n||s.data("bs.affix",n=new i(this,a)),"string"==typeof e&&n[e]()})}var i=function(e,s){this.options=t.extend({},i.DEFAULTS,s),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=this.unpin=this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.2",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,s){var n=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=i&&"top"==this.affixed)return i>n&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=a.top)&&"bottom":!(t-s>=n+o)&&"bottom";var r=null==this.affixed,c=r?n:a.top,l=r?o:e;return null!=i&&i>=n?"top":null!=s&&c+l>=t-s&&"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(),s=this.options.offset,n=s.top,a=s.bottom,o=t("body").height();"object"!=typeof s&&(a=n=s),"function"==typeof n&&(n=s.top(this.$element)),"function"==typeof a&&(a=s.bottom(this.$element));var r=this.getState(o,e,n,a);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var c="affix"+(r?"-"+r:""),l=t.Event(c+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(c).trigger(c.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:o-e-a})}};var s=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=s,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),s=i.data();s.offset=s.offset||{},null!=s.offsetBottom&&(s.offset.bottom=s.offsetBottom),null!=s.offsetTop&&(s.offset.top=s.offsetTop),e.call(i,s)})})}(jQuery),!function(t){"use strict";function e(t){return(t||"").toLowerCase()}var i="2.1.6";t.fn.cycle=function(i){var s;return 0!==this.length||t.isReady?this.each(function(){var s,n,a,o,r=t(this),c=t.fn.cycle.log;if(!r.data("cycle.opts")){(r.data("cycle-log")===!1||i&&i.log===!1||n&&n.log===!1)&&(c=t.noop),c("--c2 init--"),s=r.data();for(var l in s)s.hasOwnProperty(l)&&/^cycle[A-Z]+/.test(l)&&(o=s[l],a=l.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,e),c(a+":",o,"("+typeof o+")"),s[a]=o);n=t.extend({},t.fn.cycle.defaults,s,i||{}),n.timeoutId=0,n.paused=n.paused||!1,n.container=r,n._maxZ=n.maxZ,n.API=t.extend({_container:r},t.fn.cycle.API),n.API.log=c,n.API.trigger=function(t,e){return n.container.trigger(t,e),n.API},r.data("cycle.opts",n),r.data("cycle.API",n.API),n.API.trigger("cycle-bootstrap",[n,n.API]),n.API.addInitialSlides(),n.API.preInitSlideshow(),n.slides.length&&n.API.initSlideshow()}}):(s={s:this.selector,c:this.context},t.fn.cycle.log("requeuing slideshow (dom not ready)"),t(function(){t(s.s,s.c).cycle(i)}),this)},t.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var e=this.opts(),i=e.slides;e.slideCount=0,e.slides=t(),i=i.jquery?i:e.container.find(i),e.random&&i.sort(function(){return Math.random()-.5}),e.API.add(i)},preInitSlideshow:function(){var e=this.opts();e.API.trigger("cycle-pre-initialize",[e]);var i=t.fn.cycle.transitions[e.fx];i&&t.isFunction(i.preInit)&&i.preInit(e),e._preInitialized=!0},postInitSlideshow:function(){var e=this.opts();e.API.trigger("cycle-post-initialize",[e]);var i=t.fn.cycle.transitions[e.fx];i&&t.isFunction(i.postInit)&&i.postInit(e)},initSlideshow:function(){var e,i=this.opts(),s=i.container;i.API.calcFirstSlide(),"static"==i.container.css("position")&&i.container.css("position","relative"),t(i.slides[i.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),i.API.stackSlides(i.slides[i.currSlide],i.slides[i.nextSlide],!i.reverse),i.pauseOnHover&&(i.pauseOnHover!==!0&&(s=t(i.pauseOnHover)),s.hover(function(){i.API.pause(!0)},function(){i.API.resume(!0)})),i.timeout&&(e=i.API.getSlideOpts(i.currSlide),i.API.queueTransition(e,e.timeout+i.delay)),i._initialized=!0,i.API.updateView(!0),i.API.trigger("cycle-initialized",[i]),i.API.postInitSlideshow()},pause:function(e){var i=this.opts(),s=i.API.getSlideOpts(),n=i.hoverPaused||i.paused;e?i.hoverPaused=!0:i.paused=!0,n||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),s.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=t.now()-i._lastQueue,(i._remainingTimeout<0||isNaN(i._remainingTimeout))&&(i._remainingTimeout=void 0)))},resume:function(t){var e=this.opts(),i=!e.hoverPaused&&!e.paused;t?e.hoverPaused=!1:e.paused=!1,i||(e.container.removeClass("cycle-paused"),0===e.slides.filter(":animated").length&&e.API.queueTransition(e.API.getSlideOpts(),e._remainingTimeout),e.API.trigger("cycle-resumed",[e,e._remainingTimeout]).log("cycle-resumed"))},add:function(e,i){var s,n=this.opts(),a=n.slideCount,o=!1;"string"==t.type(e)&&(e=t.trim(e)),t(e).each(function(){var e,s=t(this);i?n.container.prepend(s):n.container.append(s),n.slideCount++,e=n.API.buildSlideOpts(s),n.slides=i?t(s).add(n.slides):n.slides.add(s),n.API.initSlide(e,s,--n._maxZ),s.data("cycle.opts",e),n.API.trigger("cycle-slide-added",[n,e,s])}),n.API.updateView(!0),o=n._preInitialized&&2>a&&n.slideCount>=1,o&&(n._initialized?n.timeout&&(s=n.slides.length,n.nextSlide=n.reverse?s-1:1,n.timeoutId||n.API.queueTransition(n)):n.API.initSlideshow())},calcFirstSlide:function(){var t,e=this.opts();t=parseInt(e.startingSlide||0,10),(t>=e.slides.length||0>t)&&(t=0),e.currSlide=t,e.reverse?(e.nextSlide=t-1,e.nextSlide<0&&(e.nextSlide=e.slides.length-1)):(e.nextSlide=t+1,e.nextSlide==e.slides.length&&(e.nextSlide=0))},calcNextSlide:function(){var t,e=this.opts();e.reverse?(t=e.nextSlide-1<0,e.nextSlide=t?e.slideCount-1:e.nextSlide-1,e.currSlide=t?0:e.nextSlide+1):(t=e.nextSlide+1==e.slides.length,e.nextSlide=t?0:e.nextSlide+1,e.currSlide=t?e.slides.length-1:e.nextSlide-1)},calcTx:function(e,i){var s,n=e;return n._tempFx?s=t.fn.cycle.transitions[n._tempFx]:i&&n.manualFx&&(s=t.fn.cycle.transitions[n.manualFx]),s||(s=t.fn.cycle.transitions[n.fx]),n._tempFx=null,this.opts()._tempFx=null,s||(s=t.fn.cycle.transitions.fade,n.API.log('Transition "'+n.fx+'" not found. Using fade.')),s},prepareTx:function(t,e){var i,s,n,a,o,r=this.opts();return r.slideCount<2?void(r.timeoutId=0):(!t||r.busy&&!r.manualTrump||(r.API.stopTransition(),r.busy=!1,clearTimeout(r.timeoutId),r.timeoutId=0),void(r.busy||(0!==r.timeoutId||t)&&(s=r.slides[r.currSlide],n=r.slides[r.nextSlide],a=r.API.getSlideOpts(r.nextSlide),o=r.API.calcTx(a,t),r._tx=o,t&&void 0!==a.manualSpeed&&(a.speed=a.manualSpeed),r.nextSlide!=r.currSlide&&(t||!r.paused&&!r.hoverPaused&&r.timeout)?(r.API.trigger("cycle-before",[a,s,n,e]),o.before&&o.before(a,s,n,e),i=function(){r.busy=!1,r.container.data("cycle.opts")&&(o.after&&o.after(a,s,n,e),r.API.trigger("cycle-after",[a,s,n,e]),r.API.queueTransition(a),r.API.updateView(!0))},r.busy=!0,o.transition?o.transition(a,s,n,e,i):r.API.doTransition(a,s,n,e,i),r.API.calcNextSlide(),r.API.updateView()):r.API.queueTransition(a))))},doTransition:function(e,i,s,n,a){var o=e,r=t(i),c=t(s),l=function(){c.animate(o.animIn||{opacity:1},o.speed,o.easeIn||o.easing,a)};c.css(o.cssBefore||{}),r.animate(o.animOut||{},o.speed,o.easeOut||o.easing,function(){r.css(o.cssAfter||{}),o.sync||l()}),o.sync&&l()},queueTransition:function(e,i){var s=this.opts(),n=void 0!==i?i:e.timeout;return 0===s.nextSlide&&0===--s.loop?(s.API.log("terminating; loop=0"),s.timeout=0,n?setTimeout(function(){s.API.trigger("cycle-finished",[s])},n):s.API.trigger("cycle-finished",[s]),void(s.nextSlide=s.currSlide)):void 0!==s.continueAuto&&(s.continueAuto===!1||t.isFunction(s.continueAuto)&&s.continueAuto()===!1)?(s.API.log("terminating automatic transitions"),s.timeout=0,void(s.timeoutId&&clearTimeout(s.timeoutId))):void(n&&(s._lastQueue=t.now(),void 0===i&&(s._remainingTimeout=e.timeout),s.paused||s.hoverPaused||(s.timeoutId=setTimeout(function(){s.API.prepareTx(!1,!s.reverse)},n))))},stopTransition:function(){var t=this.opts();t.slides.filter(":animated").length&&(t.slides.stop(!1,!0),t.API.trigger("cycle-transition-stopped",[t])),t._tx&&t._tx.stopTransition&&t._tx.stopTransition(t)},advanceSlide:function(t){var e=this.opts();return clearTimeout(e.timeoutId),e.timeoutId=0,e.nextSlide=e.currSlide+t,e.nextSlide<0?e.nextSlide=e.slides.length-1:e.nextSlide>=e.slides.length&&(e.nextSlide=0),e.API.prepareTx(!0,t>=0),!1},buildSlideOpts:function(i){var s,n,a=this.opts(),o=i.data()||{};for(var r in o)o.hasOwnProperty(r)&&/^cycle[A-Z]+/.test(r)&&(s=o[r],n=r.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,e),a.API.log("["+(a.slideCount-1)+"]",n+":",s,"("+typeof s+")"),o[n]=s);o=t.extend({},t.fn.cycle.defaults,a,o),o.slideNum=a.slideCount;try{delete o.API,delete o.slideCount,delete o.currSlide,delete o.nextSlide,delete o.slides}catch(t){}return o},getSlideOpts:function(e){var i=this.opts();void 0===e&&(e=i.currSlide);var s=i.slides[e],n=t(s).data("cycle.opts");return t.extend({},i,n)},initSlide:function(e,i,s){var n=this.opts();i.css(e.slideCss||{}),s>0&&i.css("zIndex",s),isNaN(e.speed)&&(e.speed=t.fx.speeds[e.speed]||t.fx.speeds._default),e.sync||(e.speed=e.speed/2),i.addClass(n.slideClass)},updateView:function(t,e){var i=this.opts();if(i._initialized){var s=i.API.getSlideOpts(),n=i.slides[i.currSlide];!t&&e!==!0&&(i.API.trigger("cycle-update-view-before",[i,s,n]),i.updateView<0)||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),t&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").css("visibility","hidden"),0===i.updateView&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,s,n,t])},s.speed/(i.sync?2:1)),0!==i.updateView&&i.API.trigger("cycle-update-view",[i,s,n,t]),t&&i.API.trigger("cycle-update-view-after",[i,s,n]))}},getComponent:function(e){var i=this.opts(),s=i[e];return"string"==typeof s?/^\s*[\>|\+|~]/.test(s)?i.container.find(s):t(s):s.jquery?s:t(s)},stackSlides:function(e,i,s){var n=this.opts();e||(e=n.slides[n.currSlide],i=n.slides[n.nextSlide],s=!n.reverse),t(e).css("zIndex",n.maxZ);var a,o=n.maxZ-2,r=n.slideCount;if(s){for(a=n.currSlide+1;r>a;a++)t(n.slides[a]).css("zIndex",o--);for(a=0;a=0;a--)t(n.slides[a]).css("zIndex",o--);for(a=r-1;a>n.currSlide;a--)t(n.slides[a]).css("zIndex",o--)}t(i).css("zIndex",n.maxZ-1)},getSlideIndex:function(t){return this.opts().slides.index(t)}},t.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},t.fn.cycle.version=function(){return"Cycle2: "+i},t.fn.cycle.transitions={custom:{},none:{before:function(t,e,i,s){t.API.stackSlides(i,e,s),t.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(e,i,s,n){var a=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(i,s,n),e.cssBefore=t.extend(a,{opacity:0,visibility:"visible",display:"block"}),e.animIn={opacity:1},e.animOut={opacity:0}}},fadeout:{before:function(e,i,s,n){var a=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(i,s,n),e.cssBefore=t.extend(a,{opacity:1,visibility:"visible",display:"block"}),e.animOut={opacity:0}}},scrollHorz:{before:function(t,e,i,s){t.API.stackSlides(e,i,s);var n=t.container.css("overflow","hidden").width();t.cssBefore={left:s?n:-n,top:0,opacity:1,visibility:"visible",display:"block"},t.cssAfter={zIndex:t._maxZ-2,left:0},t.animIn={left:0},t.animOut={left:s?-n:n}}}},t.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},t(document).ready(function(){t(t.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(t){"use strict";function e(e,s){var n,a,o,r=s.autoHeight;if("container"==r)a=t(s.slides[s.currSlide]).outerHeight(),s.container.height(a);else if(s._autoHeightRatio)s.container.height(s.container.width()/s._autoHeightRatio);else if("calc"===r||"number"==t.type(r)&&r>=0){if(o="calc"===r?i(e,s):r>=s.slides.length?0:r,o==s._sentinelIndex)return;s._sentinelIndex=o,s._sentinel&&s._sentinel.remove(),n=t(s.slides[o].cloneNode(!0)),n.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),n.css({position:"static",visibility:"hidden",display:"block"}).prependTo(s.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),n.find("*").css("visibility","hidden"),s._sentinel=n}}function i(e,i){var s=0,n=-1;return i.slides.each(function(e){var i=t(this).height();i>n&&(n=i,s=e)}),s}function s(e,i,s,n){var a=t(n).outerHeight();i.container.animate({height:a},i.autoHeightSpeed,i.autoHeightEasing)}function n(i,a){a._autoHeightOnResize&&(t(window).off("resize orientationchange",a._autoHeightOnResize),a._autoHeightOnResize=null),a.container.off("cycle-slide-added cycle-slide-removed",e),a.container.off("cycle-destroyed",n),a.container.off("cycle-before",s),a._sentinel&&(a._sentinel.remove(),a._sentinel=null)}t.extend(t.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),t(document).on("cycle-initialized",function(i,a){function o(){e(i,a)}var r,c=a.autoHeight,l=t.type(c),d=null;("string"===l||"number"===l)&&(a.container.on("cycle-slide-added cycle-slide-removed",e),a.container.on("cycle-destroyed",n),"container"==c?a.container.on("cycle-before",s):"string"===l&&/\d+\:\d+/.test(c)&&(r=c.match(/(\d+)\:(\d+)/),r=r[1]/r[2],a._autoHeightRatio=r),"number"!==l&&(a._autoHeightOnResize=function(){clearTimeout(d),d=setTimeout(o,50)},t(window).on("resize orientationchange",a._autoHeightOnResize)),setTimeout(o,30))})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"{{title}}
{{desc}}
",captionModule:"caption"}),t(document).on("cycle-update-view",function(e,i,s,n){"caption"===i.captionModule&&t.each(["caption","overlay"],function(){var t=this,e=s[t+"Template"],a=i.API.getComponent(t);a.length&&e?(a.html(i.API.tmpl(e,s,i,n)),a.show()):a.hide()})}),t(document).on("cycle-destroyed",function(e,i){var s;t.each(["caption","overlay"],function(){var t=this,e=i[t+"Template"];i[t]&&e&&(s=i.API.getComponent("caption"),s.empty())})})}(jQuery),function(t){"use strict";var e=t.fn.cycle;t.fn.cycle=function(i){var s,n,a,o=t.makeArray(arguments);return"number"==t.type(i)?this.cycle("goto",i):"string"==t.type(i)?this.each(function(){var r;return s=i,a=t(this).data("cycle.opts"),void 0===a?void e.log('slideshow must be initialized before sending commands; "'+s+'" ignored'):(s="goto"==s?"jump":s,n=a.API[s],t.isFunction(n)?(r=t.makeArray(o),r.shift(),n.apply(a.API,r)):void e.log("unknown command: ",s))}):e.apply(this,arguments)},t.extend(t.fn.cycle,e),t.extend(e.API,{next:function(){var t=this.opts();if(!t.busy||t.manualTrump){var e=t.reverse?-1:1;t.allowWrap===!1&&t.currSlide+e>=t.slideCount||(t.API.advanceSlide(e),t.API.trigger("cycle-next",[t]).log("cycle-next"))}},prev:function(){var t=this.opts();if(!t.busy||t.manualTrump){var e=t.reverse?1:-1;t.allowWrap===!1&&t.currSlide+e<0||(t.API.advanceSlide(e),t.API.trigger("cycle-prev",[t]).log("cycle-prev"))}},destroy:function(){this.stop();var e=this.opts(),i=t.isFunction(t._data)?t._data:t.noop;clearTimeout(e.timeoutId),e.timeoutId=0,e.API.stop(),e.API.trigger("cycle-destroyed",[e]).log("cycle-destroyed"),e.container.removeData(),i(e.container[0],"parsedAttrs",!1),e.retainStylesOnDestroy||(e.container.removeAttr("style"),e.slides.removeAttr("style"),e.slides.removeClass(e.slideActiveClass)),e.slides.each(function(){var s=t(this);s.removeData(),s.removeClass(e.slideClass),i(this,"parsedAttrs",!1)})},jump:function(t,e){var i,s=this.opts();if(!s.busy||s.manualTrump){var n=parseInt(t,10);if(isNaN(n)||0>n||n>=s.slides.length)return void s.API.log("goto: invalid slide index: "+n);if(n==s.currSlide)return void s.API.log("goto: skipping, already on slide",n);s.nextSlide=n,clearTimeout(s.timeoutId),s.timeoutId=0,s.API.log("goto: ",n," (zero-index)"),i=s.currSlide .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"•"}),t(document).on("cycle-bootstrap",function(t,i,s){s.buildPagerLink=e}),t(document).on("cycle-slide-added",function(t,e,s,n){e.pager&&(e.API.buildPagerLink(e,s,n),e.API.page=i)}),t(document).on("cycle-slide-removed",function(e,i,s){if(i.pager){var n=i.API.getComponent("pager");n.each(function(){var e=t(this);t(e.children()[s]).remove()})}}),t(document).on("cycle-update-view",function(e,i){var s;i.pager&&(s=i.API.getComponent("pager"),s.each(function(){t(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),t(document).on("cycle-destroyed",function(t,e){var i=e.API.getComponent("pager");i&&(i.children().off(e.pagerEvent),e.pagerTemplate&&i.empty())})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),t(document).on("cycle-initialized",function(t,e){if(e.API.getComponent("next").on(e.nextEvent,function(t){t.preventDefault(),e.API.next()}),e.API.getComponent("prev").on(e.prevEvent,function(t){t.preventDefault(),e.API.prev()}),e.swipe){var i=e.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",s=e.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";e.container.on(i,function(){e._tempFx=e.swipeFx,e.API.next()}),e.container.on(s,function(){e._tempFx=e.swipeFx,e.API.prev()})}}),t(document).on("cycle-update-view",function(t,e){if(!e.allowWrap){var i=e.disabledClass,s=e.API.getComponent("next"),n=e.API.getComponent("prev"),a=e._prevBoundry||0,o=void 0!==e._nextBoundry?e._nextBoundry:e.slideCount-1;e.currSlide==o?s.addClass(i).prop("disabled",!0):s.removeClass(i).prop("disabled",!1),e.currSlide===a?n.addClass(i).prop("disabled",!0):n.removeClass(i).prop("disabled",!1)}}),t(document).on("cycle-destroyed",function(t,e){e.API.getComponent("prev").off(e.nextEvent),e.API.getComponent("next").off(e.prevEvent),e.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{progressive:!1}),t(document).on("cycle-pre-initialize",function(e,i){if(i.progressive){var s,n,a=i.API,o=a.next,r=a.prev,c=a.prepareTx,l=t.type(i.progressive);if("array"==l)s=i.progressive;else if(t.isFunction(i.progressive))s=i.progressive(i);else if("string"==l){if(n=t(i.progressive),s=t.trim(n.html()),!s)return;if(/^(\[)/.test(s))try{s=t.parseJSON(s)}catch(t){return void a.log("error parsing progressive slides",t)}else s=s.split(new RegExp(n.data("cycle-split")||"\n")),s[s.length-1]||s.pop()}c&&(a.prepareTx=function(t,e){var n,a;return t||0===s.length?void c.apply(i.API,[t,e]):void(e&&i.currSlide==i.slideCount-1?(a=s[0],s=s.slice(1),i.container.one("cycle-slide-added",function(t,e){setTimeout(function(){e.API.advanceSlide(1)},50)}),i.API.add(a)):e||0!==i.currSlide?c.apply(i.API,[t,e]):(n=s.length-1,a=s[n],s=s.slice(0,n),i.container.one("cycle-slide-added",function(t,e){setTimeout(function(){e.currSlide=1,e.API.advanceSlide(-1)},50)}),i.API.add(a,!0)))}),o&&(a.next=function(){var t=this.opts();if(s.length&&t.currSlide==t.slideCount-1){var e=s[0];s=s.slice(1),t.container.one("cycle-slide-added",function(t,e){o.apply(e.API),e.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(e)}else o.apply(t.API)}),r&&(a.prev=function(){var t=this.opts();if(s.length&&0===t.currSlide){var e=s.length-1,i=s[e];s=s.slice(0,e),t.container.one("cycle-slide-added",function(t,e){e.currSlide=1,e.API.advanceSlide(-1),e.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(i,!0)}else r.apply(t.API)})}})}(jQuery),function(t){"use strict";t.extend(t.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),t.extend(t.fn.cycle.API,{tmpl:function(e,i){var s=new RegExp(i.tmplRegex||t.fn.cycle.defaults.tmplRegex,"g"),n=t.makeArray(arguments);return n.shift(),e.replace(s,function(e,i){var s,a,o,r,c=i.split(".");for(s=0;s1)for(r=o,a=0;a'+lightcase.labels.errorMessage+"
"},markup:function(){t("body").append($overlay=t(''),$loading=t(''),$case=t('')),$case.after($nav=t('')),$nav.append($close=t(''+lightcase.labels.close+""),$prev=t(''+lightcase.labels["navigator.prev"]+"").hide(),$next=t(''+lightcase.labels["navigator.next"]+"").hide(),$play=t(''+lightcase.labels["navigator.play"]+"").hide(),$pause=t(''+lightcase.labels["navigator.pause"]+"").hide()),
-$case.append($content=t(''),$info=t('')),$content.append($contentInner=t('')),$info.append($title=t(''),$caption=t(''),$sequenceInfo=t(''))},onInit:{},onStart:{},onFinish:{},onClose:{},onCleanup:{}},e),lightcase.callHooks(lightcase.settings.onInit),lightcase.objectData=lightcase.getObjectData(this),lightcase.cacheScrollPosition(),lightcase.watchScrollInteraction(),lightcase.addElements(),lightcase.lightcaseOpen(),lightcase.dimensions=lightcase.getDimensions()},getObjectData:function(e){return e={$link:e,title:lightcase.settings.title||e.attr("title"),caption:lightcase.settings.caption||e.children("img").attr("alt"),url:lightcase.verifyDataUrl(lightcase.settings.href||e.attr("data-href")||e.attr("href")),requestType:lightcase.settings.ajax.type,requestData:lightcase.settings.ajax.data,requestDataType:lightcase.settings.ajax.dataType,rel:e.attr(lightcase.settings.attr),type:lightcase.settings.type||lightcase.verifyDataType(e.attr("data-href")||e.attr("href")),isPartOfSequence:lightcase.isPartOfSequence(e.attr(lightcase.settings.attr),":"),isPartOfSequenceWithSlideshow:lightcase.isPartOfSequence(e.attr(lightcase.settings.attr),":slideshow"),currentIndex:t("["+lightcase.settings.attr+'="'+e.attr(lightcase.settings.attr)+'"]').index(e),sequenceLength:t("["+lightcase.settings.attr+'="'+e.attr(lightcase.settings.attr)+'"]').length},e.sequenceInfo=e.currentIndex+1+lightcase.labels["sequenceInfo.of"]+e.sequenceLength,e},isPartOfSequence:function(e,i){var s=t("["+lightcase.settings.attr+'="'+e+'"]');return!!(new RegExp(i).test(e)&&1'),e.html(lightcase.cloneObject(t(lightcase.objectData.url))),t.each(lightcase.settings.inline,function(t,i){e.attr("data-"+t,i)});break;case"ajax":e=t(''),t.each(lightcase.settings.ajax,function(t,i){"data"!==t&&e.attr("data-"+t,i)});break;case"flash":e=t(''),t.each(lightcase.settings.flash,function(t,i){e.attr(t,i)});break;case"video":e=t(""),e.attr("src",lightcase.objectData.url),t.each(lightcase.settings.video,function(t,i){e.attr(t,i)});break;default:e=t(""),e.attr({src:lightcase.objectData.url}),t.each(lightcase.settings.iframe,function(t,i){e.attr(t,i)})}lightcase.addObject(e),lightcase.loadObject(e)},addObject:function(t){$contentInner.html(t),lightcase.loading("start"),lightcase.callHooks(lightcase.settings.onStart),!0===lightcase.settings.showSequenceInfo&&lightcase.objectData.isPartOfSequence?($sequenceInfo.html(lightcase.objectData.sequenceInfo),$sequenceInfo.show()):($sequenceInfo.empty(),$sequenceInfo.hide()),!0===lightcase.settings.showTitle&&void 0!==lightcase.objectData.title&&""!==lightcase.objectData.title?($title.html(lightcase.objectData.title),$title.show()):($title.empty(),$title.hide()),!0===lightcase.settings.showCaption&&void 0!==lightcase.objectData.caption&&""!==lightcase.objectData.caption?($caption.html(lightcase.objectData.caption),$caption.show()):($caption.empty(),$caption.hide())},loadObject:function(e){switch(lightcase.objectData.type){case"inline":t(lightcase.objectData.url)?lightcase.showContent(e):lightcase.error();break;case"ajax":t.ajax(t.extend({},lightcase.settings.ajax,{url:lightcase.objectData.url,type:lightcase.objectData.requestType,dataType:lightcase.objectData.requestDataType,data:lightcase.objectData.requestData,success:function(t,i,s){"json"===lightcase.objectData.requestDataType?lightcase.objectData.data=t:e.html(t),lightcase.showContent(e)},error:function(t,e,i){lightcase.error()}}));break;case"flash":lightcase.showContent(e);break;case"video":"function"==typeof e.get(0).canPlayType||0===$case.find("video").length?lightcase.showContent(e):lightcase.error();break;default:lightcase.objectData.url?(e.load(function(){lightcase.showContent(e)}),e.error(function(){lightcase.error()})):lightcase.error()}},error:function(){lightcase.objectData.type="error";var e=t('');e.html(lightcase.settings.errorMessage),$contentInner.html(e),lightcase.showContent($contentInner)},calculateDimensions:function(t){lightcase.cleanupDimensions();var e={objectWidth:t.attr("width")?t.attr("width"):t.attr("data-width"),objectHeight:t.attr("height")?t.attr("height"):t.attr("data-height")};if(!lightcase.settings.disableShrink)switch(e.maxWidth=parseInt(lightcase.dimensions.windowWidth*lightcase.settings.shrinkFactor),e.maxHeight=parseInt(lightcase.dimensions.windowHeight*lightcase.settings.shrinkFactor),e.maxWidth>lightcase.settings.maxWidth&&(e.maxWidth=lightcase.settings.maxWidth),e.maxHeight>lightcase.settings.maxHeight&&(e.maxHeight=lightcase.settings.maxHeight),e.differenceWidthAsPercent=parseInt(100/e.maxWidth*e.objectWidth),e.differenceHeightAsPercent=parseInt(100/e.maxHeight*e.objectHeight),lightcase.objectData.type){case"image":case"flash":case"video":100e.differenceHeightAsPercent&&(e.objectWidth=e.maxWidth,e.objectHeight=parseInt(e.objectHeight/e.differenceWidthAsPercent*100)),100e.differenceWidthAsPercent&&(e.objectWidth=parseInt(e.objectWidth/e.differenceHeightAsPercent*100),e.objectHeight=e.maxHeight),100e.maxWidth&&(e.objectWidth=e.maxWidth);break;default:(isNaN(e.objectWidth)||e.objectWidth>e.maxWidth)&&!lightcase.settings.forceWidth&&(e.objectWidth=e.maxWidth),(isNaN(e.objectHeight)&&"auto"!==e.objectHeight||e.objectHeight>e.maxHeight)&&!lightcase.settings.forceHeight&&(e.objectHeight=e.maxHeight)}lightcase.adjustDimensions(t,e)},adjustDimensions:function(t,e){t.css({width:e.objectWidth,height:e.objectHeight,"max-width":t.attr("data-max-width")?t.attr("data-max-width"):e.maxWidth,"max-height":t.attr("data-max-height")?t.attr("data-max-height"):e.maxHeight}),$contentInner.css({width:t.outerWidth(),height:t.outerHeight(),"max-width":"100%"}),$case.css({width:$contentInner.outerWidth()}),$case.css({"margin-top":parseInt(-($case.outerHeight()/2)),"margin-left":parseInt(-($case.outerWidth()/2))})},loading:function(t){"start"===t?($case.addClass(lightcase.settings.classPrefix+"loading"),$loading.show()):"end"===t&&($case.removeClass(lightcase.settings.classPrefix+"loading"),$loading.hide())},getDimensions:function(){return{windowWidth:t(window).innerWidth(),windowHeight:t(window).innerHeight()}},verifyDataUrl:function(t){return!(!t||void 0===t||""===t)&&(-1$case.css("opacity")&&(lightcase.transition.zoom($case,"in",lightcase.settings.speedIn),lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn));case"fade":case"fadeInline":lightcase.transition.fade($case,"in",lightcase.settings.speedIn),lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn);break;default:lightcase.transition.fade($case,"in",0)}lightcase.loading("end"),lightcase.busy=!1},processContent:function(){switch(lightcase.busy=!0,lightcase.settings.transitionOut){case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollVertical":case"scrollHorizontal":$case.is(":hidden")?(lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}),lightcase.transition.fade($contentInner,"out",0)):lightcase.transition.scroll($case,"out",lightcase.settings.speedOut,function(){lightcase.loadContent()});break;case"fade":$case.is(":hidden")?lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;case"fadeInline":case"elastic":$case.is(":hidden")?lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($contentInner,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;default:lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()})}},handleEvents:function(){lightcase.unbindEvents(),$nav.children().not($close).hide(),lightcase.isSlideshowEnabled()&&($nav.hasClass(lightcase.settings.classPrefix+"paused")?lightcase.stopTimeout():lightcase.startTimeout()),lightcase.settings.liveResize&&lightcase.watchResizeInteraction(),$close.click(function(t){t.preventDefault(),lightcase.lightcaseClose()}),!0===lightcase.settings.closeOnOverlayClick&&$overlay.css("cursor","pointer").click(function(t){t.preventDefault(),lightcase.lightcaseClose()}),!0===lightcase.settings.useKeys&&lightcase.addKeyEvents(),lightcase.objectData.isPartOfSequence&&($nav.attr("data-ispartofsequence",!0),lightcase.nav=lightcase.setNavigation(),$prev.click(function(t){t.preventDefault(),$prev.unbind("click"),lightcase.cache.action="prev",lightcase.nav.$prevItem.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),$next.click(function(t){t.preventDefault(),$next.unbind("click"),lightcase.cache.action="next",lightcase.nav.$nextItem.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),lightcase.isSlideshowEnabled()&&($play.click(function(t){t.preventDefault(),lightcase.startTimeout()}),$pause.click(function(t){t.preventDefault(),lightcase.stopTimeout()})),!0===lightcase.settings.swipe)&&(t.isPlainObject(t.event.special.swipeleft)&&$case.on("swipeleft",function(t){t.preventDefault(),$next.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),t.isPlainObject(t.event.special.swiperight)&&$case.on("swiperight",function(t){t.preventDefault(),$prev.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}))},addKeyEvents:function(){t(document).bind("keyup.lightcase",function(t){if(!lightcase.busy)switch(t.keyCode){case 27:$close.click();break;case 37:lightcase.objectData.isPartOfSequence&&$prev.click();break;case 39:lightcase.objectData.isPartOfSequence&&$next.click()}})},startTimeout:function(){$play.hide(),$pause.show(),lightcase.cache.action="next",$nav.removeClass(lightcase.settings.classPrefix+"paused"),lightcase.timeout=setTimeout(function(){lightcase.nav.$nextItem.click()},lightcase.settings.timeout)},stopTimeout:function(){$play.show(),$pause.hide(),$nav.addClass(lightcase.settings.classPrefix+"paused"),clearTimeout(lightcase.timeout)},setNavigation:function(){var e=t("["+lightcase.settings.attr+'="'+lightcase.objectData.rel+'"]'),i=lightcase.objectData.currentIndex,s=i+1,n=lightcase.objectData.sequenceLength-1,a={$prevItem:e.eq(i-1),$nextItem:e.eq(s)};return 0e.width()&&(lightcase.cache.scrollPosition.left=n),i.height()>e.height()&&(lightcase.cache.scrollPosition.top=s)},watchResizeInteraction:function(){t(window).resize(lightcase.resize)},unwatchResizeInteraction:function(){t(window).off("resize",lightcase.resize)},watchScrollInteraction:function(){t(window).scroll(lightcase.cacheScrollPosition)},unwatchScrollInteraction:function(){t(window).off("scroll",lightcase.cacheScrollPosition)},restoreScrollPosition:function(){t(window).scrollTop(parseInt(lightcase.cache.scrollPosition.top)).scrollLeft(parseInt(lightcase.cache.scrollPosition.left)).resize()},switchToFullScreenMode:function(){lightcase.settings.shrinkFactor=1,lightcase.settings.overlayOpacity=1,t("html").addClass(lightcase.settings.classPrefix+"fullScreenMode")},lightcaseOpen:function(){switch(lightcase.open=!0,lightcase.support.transitions=!!lightcase.settings.cssTransitions&&lightcase.isTransitionSupported(),lightcase.support.mobileDevice=lightcase.isMobileDevice(),lightcase.support.mobileDevice&&(t("html").addClass(lightcase.settings.classPrefix+"isMobileDevice"),lightcase.settings.fullScreenModeForMobile&&lightcase.switchToFullScreenMode()),lightcase.settings.transitionIn||(lightcase.settings.transitionIn=lightcase.settings.transition),lightcase.settings.transitionOut||(lightcase.settings.transitionOut=lightcase.settings.transition),lightcase.settings.transitionIn){case"fade":case"fadeInline":case"elastic":case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollVertical":case"scrollHorizontal":$case.is(":hidden")&&($close.css("opacity",0),$overlay.css("opacity",0),$case.css("opacity",0),$contentInner.css("opacity",0)),lightcase.transition.fade($overlay,"in",lightcase.settings.speedIn,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",lightcase.settings.speedIn),lightcase.handleEvents(),lightcase.processContent()});break;default:lightcase.transition.fade($overlay,"in",0,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",0),lightcase.handleEvents(),lightcase.processContent()})}t("html").addClass(lightcase.settings.classPrefix+"open"),$case.attr("aria-hidden","false")},lightcaseClose:function(){switch(lightcase.open=!1,lightcase.isSlideshowEnabled()&&(lightcase.stopTimeout(),$nav.removeClass(lightcase.settings.classPrefix+"paused")),$loading.hide(),lightcase.unbindEvents(),lightcase.unwatchResizeInteraction(),lightcase.unwatchScrollInteraction(),t("html").removeClass(lightcase.settings.classPrefix+"open"),$case.attr("aria-hidden","true"),$nav.children().hide(),lightcase.restoreScrollPosition(),lightcase.callHooks(lightcase.settings.onClose),lightcase.settings.transitionOut){case"fade":case"fadeInline":case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollHorizontal":case"scrollVertical":lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;case"elastic":lightcase.transition.zoom($case,"out",lightcase.settings.speedOut,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;default:lightcase.cleanup()}},unbindEvents:function(){$overlay.unbind("click"),t(document).unbind("keyup.lightcase"),$case.unbind("swipeleft").unbind("swiperight"),$nav.children("a").unbind("click"),$close.unbind("click")},cleanupDimensions:function(){var t=$contentInner.css("opacity");$case.css({width:"",height:"",top:"",left:"","margin-top":"","margin-left":""}),$contentInner.removeAttr("style").css("opacity",t),$contentInner.children().removeAttr("style")},cleanup:function(){lightcase.cleanupDimensions(),$loading.hide(),$overlay.hide(),$case.hide(),$nav.children().hide(),$case.removeAttr("data-type"),$nav.removeAttr("data-ispartofsequence"),$contentInner.empty().hide(),$info.children().empty(),lightcase.cache.originalObject&&lightcase.restoreObject(),lightcase.callHooks(lightcase.settings.onCleanup),lightcase.cache={}}},t.fn.lightcase=function(e){return lightcase[e]?lightcase[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.lightcase"):lightcase.init.apply(this,arguments)}}(jQuery),jQuery(document).ready(function(){jQuery.backstretch("http://www.breakersmi.com/wp-content/themes/breakers/images/st-ignace.jpg"),jQuery("#slideshow").cycle({slides:"> div.slide",swipe:!0,pagerTemplate:"■",fx:"fadeout",speed:750,timeout:9500}),jQuery("a[data-rel^=lightcase]").lightcase({showTitle:!1})});
\ No newline at end of file
+$case.append($content=t(''),$info=t('')),$content.append($contentInner=t('')),$info.append($title=t(''),$caption=t(''),$sequenceInfo=t(''))},onInit:{},onStart:{},onFinish:{},onClose:{},onCleanup:{}},e),lightcase.callHooks(lightcase.settings.onInit),lightcase.objectData=lightcase.getObjectData(this),lightcase.cacheScrollPosition(),lightcase.watchScrollInteraction(),lightcase.addElements(),lightcase.lightcaseOpen(),lightcase.dimensions=lightcase.getDimensions()},getObjectData:function(e){return e={$link:e,title:lightcase.settings.title||e.attr("title"),caption:lightcase.settings.caption||e.children("img").attr("alt"),url:lightcase.verifyDataUrl(lightcase.settings.href||e.attr("data-href")||e.attr("href")),requestType:lightcase.settings.ajax.type,requestData:lightcase.settings.ajax.data,requestDataType:lightcase.settings.ajax.dataType,rel:e.attr(lightcase.settings.attr),type:lightcase.settings.type||lightcase.verifyDataType(e.attr("data-href")||e.attr("href")),isPartOfSequence:lightcase.isPartOfSequence(e.attr(lightcase.settings.attr),":"),isPartOfSequenceWithSlideshow:lightcase.isPartOfSequence(e.attr(lightcase.settings.attr),":slideshow"),currentIndex:t("["+lightcase.settings.attr+'="'+e.attr(lightcase.settings.attr)+'"]').index(e),sequenceLength:t("["+lightcase.settings.attr+'="'+e.attr(lightcase.settings.attr)+'"]').length},e.sequenceInfo=e.currentIndex+1+lightcase.labels["sequenceInfo.of"]+e.sequenceLength,e},isPartOfSequence:function(e,i){var s=t("["+lightcase.settings.attr+'="'+e+'"]');return!!(new RegExp(i).test(e)&&1'),e.html(lightcase.cloneObject(t(lightcase.objectData.url))),t.each(lightcase.settings.inline,function(t,i){e.attr("data-"+t,i)});break;case"ajax":e=t(''),t.each(lightcase.settings.ajax,function(t,i){"data"!==t&&e.attr("data-"+t,i)});break;case"flash":e=t(''),t.each(lightcase.settings.flash,function(t,i){e.attr(t,i)});break;case"video":e=t(""),e.attr("src",lightcase.objectData.url),t.each(lightcase.settings.video,function(t,i){e.attr(t,i)});break;default:e=t(""),e.attr({src:lightcase.objectData.url}),t.each(lightcase.settings.iframe,function(t,i){e.attr(t,i)})}lightcase.addObject(e),lightcase.loadObject(e)},addObject:function(t){$contentInner.html(t),lightcase.loading("start"),lightcase.callHooks(lightcase.settings.onStart),!0===lightcase.settings.showSequenceInfo&&lightcase.objectData.isPartOfSequence?($sequenceInfo.html(lightcase.objectData.sequenceInfo),$sequenceInfo.show()):($sequenceInfo.empty(),$sequenceInfo.hide()),!0===lightcase.settings.showTitle&&void 0!==lightcase.objectData.title&&""!==lightcase.objectData.title?($title.html(lightcase.objectData.title),$title.show()):($title.empty(),$title.hide()),!0===lightcase.settings.showCaption&&void 0!==lightcase.objectData.caption&&""!==lightcase.objectData.caption?($caption.html(lightcase.objectData.caption),$caption.show()):($caption.empty(),$caption.hide())},loadObject:function(e){switch(lightcase.objectData.type){case"inline":t(lightcase.objectData.url)?lightcase.showContent(e):lightcase.error();break;case"ajax":t.ajax(t.extend({},lightcase.settings.ajax,{url:lightcase.objectData.url,type:lightcase.objectData.requestType,dataType:lightcase.objectData.requestDataType,data:lightcase.objectData.requestData,success:function(t,i,s){"json"===lightcase.objectData.requestDataType?lightcase.objectData.data=t:e.html(t),lightcase.showContent(e)},error:function(t,e,i){lightcase.error()}}));break;case"flash":lightcase.showContent(e);break;case"video":"function"==typeof e.get(0).canPlayType||0===$case.find("video").length?lightcase.showContent(e):lightcase.error();break;default:lightcase.objectData.url?(e.load(function(){lightcase.showContent(e)}),e.error(function(){lightcase.error()})):lightcase.error()}},error:function(){lightcase.objectData.type="error";var e=t('');e.html(lightcase.settings.errorMessage),$contentInner.html(e),lightcase.showContent($contentInner)},calculateDimensions:function(t){lightcase.cleanupDimensions();var e={objectWidth:t.attr("width")?t.attr("width"):t.attr("data-width"),objectHeight:t.attr("height")?t.attr("height"):t.attr("data-height")};if(!lightcase.settings.disableShrink)switch(e.maxWidth=parseInt(lightcase.dimensions.windowWidth*lightcase.settings.shrinkFactor),e.maxHeight=parseInt(lightcase.dimensions.windowHeight*lightcase.settings.shrinkFactor),e.maxWidth>lightcase.settings.maxWidth&&(e.maxWidth=lightcase.settings.maxWidth),e.maxHeight>lightcase.settings.maxHeight&&(e.maxHeight=lightcase.settings.maxHeight),e.differenceWidthAsPercent=parseInt(100/e.maxWidth*e.objectWidth),e.differenceHeightAsPercent=parseInt(100/e.maxHeight*e.objectHeight),lightcase.objectData.type){case"image":case"flash":case"video":100e.differenceHeightAsPercent&&(e.objectWidth=e.maxWidth,e.objectHeight=parseInt(e.objectHeight/e.differenceWidthAsPercent*100)),100e.differenceWidthAsPercent&&(e.objectWidth=parseInt(e.objectWidth/e.differenceHeightAsPercent*100),e.objectHeight=e.maxHeight),100e.maxWidth&&(e.objectWidth=e.maxWidth);break;default:(isNaN(e.objectWidth)||e.objectWidth>e.maxWidth)&&!lightcase.settings.forceWidth&&(e.objectWidth=e.maxWidth),(isNaN(e.objectHeight)&&"auto"!==e.objectHeight||e.objectHeight>e.maxHeight)&&!lightcase.settings.forceHeight&&(e.objectHeight=e.maxHeight)}lightcase.adjustDimensions(t,e)},adjustDimensions:function(t,e){t.css({width:e.objectWidth,height:e.objectHeight,"max-width":t.attr("data-max-width")?t.attr("data-max-width"):e.maxWidth,"max-height":t.attr("data-max-height")?t.attr("data-max-height"):e.maxHeight}),$contentInner.css({width:t.outerWidth(),height:t.outerHeight(),"max-width":"100%"}),$case.css({width:$contentInner.outerWidth()}),$case.css({"margin-top":parseInt(-($case.outerHeight()/2)),"margin-left":parseInt(-($case.outerWidth()/2))})},loading:function(t){"start"===t?($case.addClass(lightcase.settings.classPrefix+"loading"),$loading.show()):"end"===t&&($case.removeClass(lightcase.settings.classPrefix+"loading"),$loading.hide())},getDimensions:function(){return{windowWidth:t(window).innerWidth(),windowHeight:t(window).innerHeight()}},verifyDataUrl:function(t){return!(!t||void 0===t||""===t)&&(-1$case.css("opacity")&&(lightcase.transition.zoom($case,"in",lightcase.settings.speedIn),lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn));case"fade":case"fadeInline":lightcase.transition.fade($case,"in",lightcase.settings.speedIn),lightcase.transition.fade($contentInner,"in",lightcase.settings.speedIn);break;default:lightcase.transition.fade($case,"in",0)}lightcase.loading("end"),lightcase.busy=!1},processContent:function(){switch(lightcase.busy=!0,lightcase.settings.transitionOut){case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollVertical":case"scrollHorizontal":$case.is(":hidden")?(lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}),lightcase.transition.fade($contentInner,"out",0)):lightcase.transition.scroll($case,"out",lightcase.settings.speedOut,function(){lightcase.loadContent()});break;case"fade":$case.is(":hidden")?lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;case"fadeInline":case"elastic":$case.is(":hidden")?lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()}):lightcase.transition.fade($contentInner,"out",lightcase.settings.speedOut,0,function(){lightcase.loadContent()});break;default:lightcase.transition.fade($case,"out",0,0,function(){lightcase.loadContent()})}},handleEvents:function(){lightcase.unbindEvents(),$nav.children().not($close).hide(),lightcase.isSlideshowEnabled()&&($nav.hasClass(lightcase.settings.classPrefix+"paused")?lightcase.stopTimeout():lightcase.startTimeout()),lightcase.settings.liveResize&&lightcase.watchResizeInteraction(),$close.click(function(t){t.preventDefault(),lightcase.lightcaseClose()}),!0===lightcase.settings.closeOnOverlayClick&&$overlay.css("cursor","pointer").click(function(t){t.preventDefault(),lightcase.lightcaseClose()}),!0===lightcase.settings.useKeys&&lightcase.addKeyEvents(),lightcase.objectData.isPartOfSequence&&($nav.attr("data-ispartofsequence",!0),lightcase.nav=lightcase.setNavigation(),$prev.click(function(t){t.preventDefault(),$prev.unbind("click"),lightcase.cache.action="prev",lightcase.nav.$prevItem.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),$next.click(function(t){t.preventDefault(),$next.unbind("click"),lightcase.cache.action="next",lightcase.nav.$nextItem.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),lightcase.isSlideshowEnabled()&&($play.click(function(t){t.preventDefault(),lightcase.startTimeout()}),$pause.click(function(t){t.preventDefault(),lightcase.stopTimeout()})),!0===lightcase.settings.swipe)&&(t.isPlainObject(t.event.special.swipeleft)&&$case.on("swipeleft",function(t){t.preventDefault(),$next.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}),t.isPlainObject(t.event.special.swiperight)&&$case.on("swiperight",function(t){t.preventDefault(),$prev.click(),lightcase.isSlideshowEnabled()&&lightcase.stopTimeout()}))},addKeyEvents:function(){t(document).bind("keyup.lightcase",function(t){if(!lightcase.busy)switch(t.keyCode){case 27:$close.click();break;case 37:lightcase.objectData.isPartOfSequence&&$prev.click();break;case 39:lightcase.objectData.isPartOfSequence&&$next.click()}})},startTimeout:function(){$play.hide(),$pause.show(),lightcase.cache.action="next",$nav.removeClass(lightcase.settings.classPrefix+"paused"),lightcase.timeout=setTimeout(function(){lightcase.nav.$nextItem.click()},lightcase.settings.timeout)},stopTimeout:function(){$play.show(),$pause.hide(),$nav.addClass(lightcase.settings.classPrefix+"paused"),clearTimeout(lightcase.timeout)},setNavigation:function(){var e=t("["+lightcase.settings.attr+'="'+lightcase.objectData.rel+'"]'),i=lightcase.objectData.currentIndex,s=i+1,n=lightcase.objectData.sequenceLength-1,a={$prevItem:e.eq(i-1),$nextItem:e.eq(s)};return 0e.width()&&(lightcase.cache.scrollPosition.left=n),i.height()>e.height()&&(lightcase.cache.scrollPosition.top=s)},watchResizeInteraction:function(){t(window).resize(lightcase.resize)},unwatchResizeInteraction:function(){t(window).off("resize",lightcase.resize)},watchScrollInteraction:function(){t(window).scroll(lightcase.cacheScrollPosition)},unwatchScrollInteraction:function(){t(window).off("scroll",lightcase.cacheScrollPosition)},restoreScrollPosition:function(){t(window).scrollTop(parseInt(lightcase.cache.scrollPosition.top)).scrollLeft(parseInt(lightcase.cache.scrollPosition.left)).resize()},switchToFullScreenMode:function(){lightcase.settings.shrinkFactor=1,lightcase.settings.overlayOpacity=1,t("html").addClass(lightcase.settings.classPrefix+"fullScreenMode")},lightcaseOpen:function(){switch(lightcase.open=!0,lightcase.support.transitions=!!lightcase.settings.cssTransitions&&lightcase.isTransitionSupported(),lightcase.support.mobileDevice=lightcase.isMobileDevice(),lightcase.support.mobileDevice&&(t("html").addClass(lightcase.settings.classPrefix+"isMobileDevice"),lightcase.settings.fullScreenModeForMobile&&lightcase.switchToFullScreenMode()),lightcase.settings.transitionIn||(lightcase.settings.transitionIn=lightcase.settings.transition),lightcase.settings.transitionOut||(lightcase.settings.transitionOut=lightcase.settings.transition),lightcase.settings.transitionIn){case"fade":case"fadeInline":case"elastic":case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollVertical":case"scrollHorizontal":$case.is(":hidden")&&($close.css("opacity",0),$overlay.css("opacity",0),$case.css("opacity",0),$contentInner.css("opacity",0)),lightcase.transition.fade($overlay,"in",lightcase.settings.speedIn,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",lightcase.settings.speedIn),lightcase.handleEvents(),lightcase.processContent()});break;default:lightcase.transition.fade($overlay,"in",0,lightcase.settings.overlayOpacity,function(){lightcase.transition.fade($close,"in",0),lightcase.handleEvents(),lightcase.processContent()})}t("html").addClass(lightcase.settings.classPrefix+"open"),$case.attr("aria-hidden","false")},lightcaseClose:function(){switch(lightcase.open=!1,lightcase.isSlideshowEnabled()&&(lightcase.stopTimeout(),$nav.removeClass(lightcase.settings.classPrefix+"paused")),$loading.hide(),lightcase.unbindEvents(),lightcase.unwatchResizeInteraction(),lightcase.unwatchScrollInteraction(),t("html").removeClass(lightcase.settings.classPrefix+"open"),$case.attr("aria-hidden","true"),$nav.children().hide(),lightcase.restoreScrollPosition(),lightcase.callHooks(lightcase.settings.onClose),lightcase.settings.transitionOut){case"fade":case"fadeInline":case"scrollTop":case"scrollRight":case"scrollBottom":case"scrollLeft":case"scrollHorizontal":case"scrollVertical":lightcase.transition.fade($case,"out",lightcase.settings.speedOut,0,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;case"elastic":lightcase.transition.zoom($case,"out",lightcase.settings.speedOut,function(){lightcase.transition.fade($overlay,"out",lightcase.settings.speedOut,0,function(){lightcase.cleanup()})});break;default:lightcase.cleanup()}},unbindEvents:function(){$overlay.unbind("click"),t(document).unbind("keyup.lightcase"),$case.unbind("swipeleft").unbind("swiperight"),$nav.children("a").unbind("click"),$close.unbind("click")},cleanupDimensions:function(){var t=$contentInner.css("opacity");$case.css({width:"",height:"",top:"",left:"","margin-top":"","margin-left":""}),$contentInner.removeAttr("style").css("opacity",t),$contentInner.children().removeAttr("style")},cleanup:function(){lightcase.cleanupDimensions(),$loading.hide(),$overlay.hide(),$case.hide(),$nav.children().hide(),$case.removeAttr("data-type"),$nav.removeAttr("data-ispartofsequence"),$contentInner.empty().hide(),$info.children().empty(),lightcase.cache.originalObject&&lightcase.restoreObject(),lightcase.callHooks(lightcase.settings.onCleanup),lightcase.cache={}}},t.fn.lightcase=function(e){return lightcase[e]?lightcase[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.lightcase"):lightcase.init.apply(this,arguments)}}(jQuery),jQuery(document).ready(function(){jQuery.backstretch("https://www.breakersmi.com/wp-content/themes/breakers/images/st-ignace.jpg"),jQuery("#slideshow").cycle({slides:"> div.slide",swipe:!0,pagerTemplate:"■",fx:"fadeout",speed:750,timeout:9500}),jQuery("a[data-rel^=lightcase]").lightcase({showTitle:!1})});
diff --git a/style.css b/style.css
index 3dc42d6..f7c1468 100644
--- a/style.css
+++ b/style.css
@@ -4,7 +4,7 @@ Theme URI: http://www.mcgwebdevelopment.com/
Author: MCG Web Development, Inc.
Author URI: http://www.mcgwebdevelopment.com/
Description: A custom built HTML5/CSS3 theme using H5BP 5.0 and the Bootstrap grid 3.3.1.
-Version: 1.0.1
+Version: 1.0.2
*/
/*! normalize.css v3.0.3 | slightly modified by MCG */