!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new error("jquery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=oe.type(t);return"function"===n||oe.iswindow(t)?!1:1===t.nodetype&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(oe.isfunction(e))return oe.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodetype)return oe.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(pe.test(e))return oe.filter(e,t,n);e=oe.filter(e,t)}return oe.grep(t,function(t){return oe.inarray(t,e)>=0!==n})}function o(t,e){do t=t[e];while(t&&1!==t.nodetype);return t}function r(t){var e=xe[t]={};return oe.each(t.match(be)||[],function(t,n){e[n]=!0}),e}function a(){fe.addeventlistener?(fe.removeeventlistener("domcontentloaded",s,!1),t.removeeventlistener("load",s,!1)):(fe.detachevent("onreadystatechange",s),t.detachevent("onload",s))}function s(){(fe.addeventlistener||"load"===event.type||"complete"===fe.readystate)&&(a(),oe.ready())}function l(t,e,n){if(void 0===n&&1===t.nodetype){var i="data-"+e.replace(ke,"-$1").tolowercase();if(n=t.getattribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ee.test(n)?oe.parsejson(n):n}catch(o){}oe.data(t,e,n)}else n=void 0}return n}function c(t){var e;for(e in t)if(("data"!==e||!oe.isemptyobject(t[e]))&&"tojson"!==e)return!1;return!0}function u(t,e,n,i){if(oe.acceptdata(t)){var o,r,a=oe.expando,s=t.nodetype,l=s?oe.cache:t,c=s?t[a]:t[a]&&a;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof e)return c||(c=s?t[a]=q.pop()||oe.guid++:a),l[c]||(l[c]=s?{}:{tojson:oe.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[c]=oe.extend(l[c],e):l[c].data=oe.extend(l[c].data,e)),r=l[c],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[oe.camelcase(e)]=n),"string"==typeof e?(o=r[e],null==o&&(o=r[oe.camelcase(e)])):o=r,o}}function d(t,e,n){if(oe.acceptdata(t)){var i,o,r=t.nodetype,a=r?oe.cache:t,s=r?t[oe.expando]:oe.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){oe.isarray(e)?e=e.concat(oe.map(e,oe.camelcase)):e in i?e=[e]:(e=oe.camelcase(e),e=e in i?[e]:e.split(" ")),o=e.length;for(;o--;)delete i[e[o]];if(n?!c(i):!oe.isemptyobject(i))return}(n||(delete a[s].data,c(a[s])))&&(r?oe.cleandata([t],!0):ne.deleteexpando||a!=a.window?delete a[s]:a[s]=null)}}}function p(){return!0}function h(){return!1}function f(){try{return fe.activeelement}catch(t){}}function m(t){var e=re.split("|"),n=t.createdocumentfragment();if(n.createelement)for(;e.length;)n.createelement(e.pop());return n}function g(t,e){var n,i,o=0,r=typeof t.getelementsbytagname!==ce?t.getelementsbytagname(e||"*"):typeof t.queryselectorall!==ce?t.queryselectorall(e||"*"):void 0;if(!r)for(r=[],n=t.childnodes||t;null!=(i=n[o]);o++)!e||oe.nodename(i,e)?r.push(i):oe.merge(r,g(i,e));return void 0===e||e&&oe.nodename(t,e)?oe.merge([t],r):r}function v(t){$e.test(t.type)&&(t.defaultchecked=t.checked)}function y(t,e){return oe.nodename(t,"table")&&oe.nodename(11!==e.nodetype?e:e.firstchild,"tr")?t.getelementsbytagname("tbody")[0]||t.appendchild(t.ownerdocument.createelement("tbody")):t}function b(t){return t.type=(null!==oe.find.attr(t,"type"))+"/"+t.type,t}function x(t){var e=ve.exec(t.type);return e?t.type=e[1]:t.removeattribute("type"),t}function w(t,e){for(var n,i=0;null!=(n=t[i]);i++)oe._data(n,"globaleval",!e||oe._data(e[i],"globaleval"))}function t(t,e){if(1===e.nodetype&&oe.hasdata(t)){var n,i,o,r=oe._data(t),a=oe._data(e,r),s=r.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)oe.event.add(e,n,s[n][i])}a.data&&(a.data=oe.extend({},a.data))}}function c(t,e){var n,i,o;if(1===e.nodetype){if(n=e.nodename.tolowercase(),!ne.nocloneevent&&e[oe.expando]){o=oe._data(e);for(i in o.events)oe.removeevent(e,i,o.handle);e.removeattribute(oe.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,x(e)):"object"===n?(e.parentnode&&(e.outerhtml=t.outerhtml),ne.html5clone&&t.innerhtml&&!oe.trim(e.innerhtml)&&(e.innerhtml=t.innerhtml)):"input"===n&&$e.test(t.type)?(e.defaultchecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultselected=e.selected=t.defaultselected:("input"===n||"textarea"===n)&&(e.defaultvalue=t.defaultvalue)}}function e(e,n){var i,o=oe(n.createelement(e)).appendto(n.body),r=t.getdefaultcomputedstyle&&(i=t.getdefaultcomputedstyle(o[0]))?i.display:oe.css(o[0],"display");return o.detach(),r}function k(t){var e=fe,n=je[t];return n||(n=e(t,e),"none"!==n&&n||(ze=(ze||oe("",error:'

the requested content cannot be loaded.
please try again later.

',closebtn:'',next:'',prev:''},openeffect:"fade",openspeed:250,openeasing:"swing",openopacity:!0,openmethod:"zoomin",closeeffect:"fade",closespeed:250,closeeasing:"swing",closeopacity:!0,closemethod:"zoomout",nexteffect:"elastic",nextspeed:250,nexteasing:"swing",nextmethod:"changein",preveffect:"elastic",prevspeed:250,preveasing:"swing",prevmethod:"changeout",helpers:{overlay:!0,title:!0},oncancel:n.noop,beforeload:n.noop,afterload:n.noop,beforeshow:n.noop,aftershow:n.noop,beforechange:n.noop,beforeclose:n.noop,afterclose:n.noop},group:{},opts:{},previous:null,coming:null,current:null,isactive:!1,isopen:!1,isopened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isactive:!1},ajaxload:null,imgpreload:null,transitions:{},helpers:{},open:function(t,e){return t&&(n.isplainobject(e)||(e={}),!1!==s.close(!0))?(n.isarray(t)||(t=d(t)?n(t).get():[t]),n.each(t,function(o,r){var a,l,c,u,h,f,m,g={};"object"===n.type(r)&&(r.nodetype&&(r=n(r)),d(r)?(g={href:r.data("fancybox-href")||r.attr("href"),title:r.data("fancybox-title")||r.attr("title"),isdom:!0,element:r},n.metadata&&n.extend(!0,g,r.metadata())):g=r),a=e.href||g.href||(p(r)?r:null),l=e.title!==i?e.title:g.title||"",c=e.content||g.content,u=c?"html":e.type||g.type,!u&&g.isdom&&(u=r.data("fancybox-type"),u||(h=r.prop("class").match(/fancybox\.(\w+)/),u=h?h[1]:null)),p(a)&&(u||(s.isimage(a)?u="image":s.isswf(a)?u="swf":"#"===a.charat(0)?u="inline":p(r)&&(u="html",c=r)),"ajax"===u&&(f=a.split(/\s+/,2),a=f.shift(),m=f.shift())),c||("inline"===u?a?c=n(p(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):g.isdom&&(c=r):"html"===u?c=a:u||a||!g.isdom||(u="inline",c=r)),n.extend(g,{href:a,type:u,content:c,title:l,selector:m}),t[o]=g}),s.opts=n.extend(!0,{},s.defaults,e),e.keys!==i&&(s.opts.keys=e.keys?n.extend({},s.defaults.keys,e.keys):!1),s.group=t,s._start(s.opts.index)):void 0},cancel:function(){var t=s.coming;t&&!1!==s.trigger("oncancel")&&(s.hideloading(),s.ajaxload&&s.ajaxload.abort(),s.ajaxload=null,s.imgpreload&&(s.imgpreload.onload=s.imgpreload.onerror=null),t.wrap&&t.wrap.stop(!0,!0).trigger("onreset").remove(),s.coming=null,s.current||s._afterzoomout(t))},close:function(t){s.cancel(),!1!==s.trigger("beforeclose")&&(s.unbindevents(),s.isactive&&(s.isopen&&t!==!0?(s.isopen=s.isopened=!1,s.isclosing=!0,n(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeclass("fancybox-opened"),s.transitions[s.current.closemethod]()):(n(".fancybox-wrap").stop(!0).trigger("onreset").remove(),s._afterzoomout())))},play:function(t){var e=function(){cleartimeout(s.player.timer)},n=function(){e(),s.current&&s.player.isactive&&(s.player.timer=settimeout(s.next,s.current.playspeed))},i=function(){e(),a.unbind(".player"),s.player.isactive=!1,s.trigger("onplayend")},o=function(){s.current&&(s.current.loop||s.current.index=o.index?"next":"prev"],s.router=n||"jumpto",o.loop&&(0>t&&(t=o.group.length+t%o.group.length),t%=o.group.length),o.group[t]!==i&&(s.cancel(),s._start(t)))},reposition:function(t,e){var i,o=s.current,r=o?o.wrap:null;r&&(i=s._getposition(e),t&&"scroll"===t.type?(delete i.position,r.stop(!0,!0).animate(i,200)):(r.css(i),o.pos=n.extend({},o.dim,i)))},update:function(t){var e=t&&t.type,n=!e||"orientationchange"===e;n&&(cleartimeout(c),c=null),s.isopen&&!c&&(c=settimeout(function(){var i=s.current;i&&!s.isclosing&&(s.wrap.removeclass("fancybox-tmp"),(n||"load"===e||"resize"===e&&i.autoresize)&&s._setdimension(),"scroll"===e&&i.canshrink||s.reposition(t),s.trigger("onupdate"),c=null)},n&&!u?0:300))},toggle:function(t){s.isopen&&(s.current.fittoview="boolean"===n.type(t)?t:!s.current.fittoview,u&&(s.wrap.removeattr("style").addclass("fancybox-tmp"),s.trigger("onupdate")),s.update())},hideloading:function(){a.unbind(".loading"),n("#fancybox-loading").remove()},showloading:function(){var t,e;s.hideloading(),t=n('
').click(s.cancel).appendto("body"),a.bind("keydown.loading",function(t){27===(t.which||t.keycode)&&(t.preventdefault(),s.cancel())}),s.defaults.fixed||(e=s.getviewport(),t.css({position:"absolute",top:.5*e.h+e.y,left:.5*e.w+e.x}))},getviewport:function(){var e=s.current&&s.current.locked||!1,n={x:r.scrollleft(),y:r.scrolltop()};return e?(n.w=e[0].clientwidth,n.h=e[0].clientheight):(n.w=u&&t.innerwidth?t.innerwidth:r.width(),n.h=u&&t.innerheight?t.innerheight:r.height()),n},unbindevents:function(){s.wrap&&d(s.wrap)&&s.wrap.unbind(".fb"),a.unbind(".fb"),r.unbind(".fb")},bindevents:function(){var t,e=s.current;e&&(r.bind("orientationchange.fb"+(u?"":" resize.fb")+(e.autocenter&&!e.locked?" scroll.fb":""),s.update),t=e.keys,t&&a.bind("keydown.fb",function(o){var r=o.which||o.keycode,a=o.target||o.srcelement;return 27===r&&s.coming?!1:void(o.ctrlkey||o.altkey||o.shiftkey||o.metakey||a&&(a.type||n(a).is("[contenteditable]"))||n.each(t,function(t,a){return e.group.length>1&&a[r]!==i?(s[t](a[r]),o.preventdefault(),!1):n.inarray(r,a)>-1?(s[t](),o.preventdefault(),!1):void 0}))}),n.fn.mousewheel&&e.mousewheel&&s.wrap.bind("mousewheel.fb",function(t,i,o,r){for(var a=t.target||null,l=n(a),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=f(l[0]),l=n(l).parent();0===i||c||s.group.length>1&&!e.canshrink&&(r>0||o>0?s.prev(r>0?"down":"left"):(0>r||0>o)&&s.next(0>r?"up":"right"),t.preventdefault())}))},trigger:function(t,e){var i,o=e||s.coming||s.current;if(o){if(n.isfunction(o[t])&&(i=o[t].apply(o,array.prototype.slice.call(arguments,1))),i===!1)return!1;o.helpers&&n.each(o.helpers,function(e,i){i&&s.helpers[e]&&n.isfunction(s.helpers[e][t])&&s.helpers[e][t](n.extend(!0,{},s.helpers[e].defaults,i),o)}),a.trigger(t)}},isimage:function(t){return p(t)&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isswf:function(t){return p(t)&&t.match(/\.(swf)((\?|#).*)?$/i)},_start:function(t){var e,i,o,r,a,l={};if(t=m(t),e=s.group[t]||null,!e)return!1;if(l=n.extend(!0,{},s.opts,e),r=l.margin,a=l.padding,"number"===n.type(r)&&(l.margin=[r,r,r,r]),"number"===n.type(a)&&(l.padding=[a,a,a,a]),l.modal&&n.extend(!0,l,{closebtn:!1,closeclick:!1,nextclick:!1,arrows:!1,mousewheel:!1,keys:null,helpers:{overlay:{closeclick:!1}}}),l.autosize&&(l.autowidth=l.autoheight=!0),"auto"===l.width&&(l.autowidth=!0),"auto"===l.height&&(l.autoheight=!0),l.group=s.group,l.index=t,s.coming=l,!1===s.trigger("beforeload"))return void(s.coming=null);if(o=l.type,i=l.href,!o)return s.coming=null,s.current&&s.router&&"jumpto"!==s.router?(s.current.index=t,s[s.router](s.direction)):!1;if(s.isactive=!0,("image"===o||"swf"===o)&&(l.autoheight=l.autowidth=!1,l.scrolling="visible"),"image"===o&&(l.aspectratio=!0),"iframe"===o&&u&&(l.scrolling="scroll"),l.wrap=n(l.tpl.wrap).addclass("fancybox-"+(u?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+l.wrapcss).appendto(l.parent||"body"),n.extend(l,{skin:n(".fancybox-skin",l.wrap),outer:n(".fancybox-outer",l.wrap),inner:n(".fancybox-inner",l.wrap)}),n.each(["top","right","bottom","left"],function(t,e){l.skin.css("padding"+e,g(l.padding[t]))}),s.trigger("onready"),"inline"===o||"html"===o){if(!l.content||!l.content.length)return s._error("content")}else if(!i)return s._error("href");"image"===o?s._loadimage():"ajax"===o?s._loadajax():"iframe"===o?s._loadiframe():s._afterload()},_error:function(t){n.extend(s.coming,{type:"html",autowidth:!0,autoheight:!0,minwidth:0,minheight:0,scrolling:"no",haserror:t,content:s.coming.tpl.error}),s._afterload()},_loadimage:function(){var t=s.imgpreload=new image;t.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width/s.opts.pixelratio,s.coming.height=this.height/s.opts.pixelratio,s._afterload()},t.onerror=function(){this.onload=this.onerror=null,s._error("image")},t.src=s.coming.href,t.complete!==!0&&s.showloading()},_loadajax:function(){var t=s.coming;s.showloading(),s.ajaxload=n.ajax(n.extend({},t.ajax,{url:t.href,error:function(t,e){s.coming&&"abort"!==e?s._error("ajax",t):s.hideloading()},success:function(e,n){"success"===n&&(t.content=e,s._afterload())}}))},_loadiframe:function(){var t=s.coming,e=n(t.tpl.iframe.replace(/\{rnd\}/g,(new date).gettime())).attr("scrolling",u?"auto":t.iframe.scrolling).attr("src",t.href);n(t.wrap).bind("onreset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(t){}}),t.iframe.preload&&(s.showloading(),e.one("load",function(){n(this).data("ready",1),u||n(this).bind("load.fb",s.update),n(this).parents(".fancybox-wrap").width("100%").removeclass("fancybox-tmp").show(),s._afterload()})),t.content=e.appendto(t.inner),t.iframe.preload||s._afterload()},_preloadimages:function(){var t,e,n=s.group,i=s.current,o=n.length,r=i.preload?math.min(i.preload,o-1):0;for(e=1;r>=e;e+=1)t=n[(i.index+e)%o],"image"===t.type&&t.href&&((new image).src=t.href)},_afterload:function(){var t,e,i,o,r,a,l=s.coming,c=s.current,u="fancybox-placeholder";if(s.hideloading(),l&&s.isactive!==!1){if(!1===s.trigger("afterload",l,c))return l.wrap.stop(!0).trigger("onreset").remove(),void(s.coming=null);switch(c&&(s.trigger("beforechange",c),c.wrap.stop(!0).removeclass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),s.unbindevents(),t=l,e=l.content,i=l.type,o=l.scrolling,n.extend(s,{wrap:t.wrap,skin:t.skin,outer:t.outer,inner:t.inner,current:t,previous:c}),r=t.href,i){case"inline":case"ajax":case"html":t.selector?e=n("
").html(e).find(t.selector):d(e)&&(e.data(u)||e.data(u,n('
').insertafter(e).hide()),e=e.show().detach(),t.wrap.bind("onreset",function(){n(this).find(e).length&&e.hide().replaceall(e.data(u)).data(u,!1)}));break;case"image":e=t.tpl.image.replace("{href}",r);break;case"swf":e='',a="",n.each(t.swf,function(t,n){e+='',a+=" "+t+'="'+n+'"'}),e+='"}d(e)&&e.parent().is(t.inner)||t.inner.append(e),s.trigger("beforeshow"),t.inner.css("overflow","yes"===o?"scroll":"no"===o?"hidden":o),s._setdimension(),s.reposition(),s.isopen=!1,s.coming=null,s.bindevents(),s.isopened?c.prevmethod&&s.transitions[c.prevmethod]():n(".fancybox-wrap").not(t.wrap).stop(!0).trigger("onreset").remove(),s.transitions[s.isopened?t.nextmethod:t.openmethod](),s._preloadimages()}},_setdimension:function(){var t,e,i,o,r,a,l,c,u,d,p,f,v,y,b,x=s.getviewport(),w=0,t=!1,c=!1,e=s.wrap,k=s.skin,s=s.inner,n=s.current,a=n.width,d=n.height,$=n.minwidth,j=n.minheight,o=n.maxwidth,l=n.maxheight,_=n.scrolling,h=n.scrolloutside?n.scrollbarwidth:0,r=n.margin,i=m(r[1]+r[3]),p=m(r[0]+r[2]);if(e.add(k).add(s).width("auto").height("auto").removeclass("fancybox-tmp"),t=m(k.outerwidth(!0)-k.width()),e=m(k.outerheight(!0)-k.height()),i=i+t,o=p+e,r=h(a)?(x.w-i)*m(a)/100:a,a=h(d)?(x.h-o)*m(d)/100:d,"iframe"===n.type){if(y=n.content,n.autoheight&&1===y.data("ready"))try{y[0].contentwindow.document.location&&(s.width(r).height(9999),b=y.contents().find("body"),h&&b.css("overflow-x","hidden"),a=b.outerheight(!0))}catch(f){}}else(n.autowidth||n.autoheight)&&(s.addclass("fancybox-tmp"),n.autowidth||s.width(r),n.autoheight||s.height(a),n.autowidth&&(r=s.width()),n.autoheight&&(a=s.height()),s.removeclass("fancybox-tmp"));if(a=m(r),d=m(a),u=r/a,$=m(h($)?m($,"w")-i:$),o=m(h(o)?m(o,"w")-i:o),j=m(h(j)?m(j,"h")-o:j),l=m(h(l)?m(l,"h")-o:l),l=o,c=l,n.fittoview&&(o=math.min(x.w-i,o),l=math.min(x.h-o,l)),f=x.w-i,v=x.h-p,n.aspectratio?(a>o&&(a=o,d=m(a/u)),d>l&&(d=l,a=m(d*u)),$>a&&(a=$,d=m(a/u)),j>d&&(d=j,a=m(d*u))):(a=math.max($,math.min(a,o)),n.autoheight&&"iframe"!==n.type&&(s.width(a),d=s.height()),d=math.max(j,math.min(d,l))),n.fittoview)if(s.width(a).height(d),e.width(a+t),d=e.width(),p=e.height(),n.aspectratio)for(;(d>f||p>v)&&a>$&&d>j&&!(w++>19);)d=math.max(j,math.min(l,d-10)),a=m(d*u),$>a&&(a=$,d=m(a/u)),a>o&&(a=o,d=m(a/u)),s.width(a).height(d),e.width(a+t),d=e.width(),p=e.height();else a=math.max($,math.min(a,a-(d-f))),d=math.max(j,math.min(d,d-(p-v)));h&&"auto"===_&&a>d&&f>a+t+h&&(a+=h),s.width(a).height(d),e.width(a+t),d=e.width(),p=e.height(),t=(d>f||p>v)&&a>$&&d>j,c=n.aspectratio?l>a&&c>d&&r>a&&a>d:(l>a||c>d)&&(r>a||a>d),n.extend(n,{dim:{width:g(d),height:g(p)},origwidth:r,origheight:a,canshrink:t,canexpand:c,wpadding:t,hpadding:e,wrapspace:p-k.outerheight(!0),skinspace:k.height()-d}),!y&&n.autoheight&&d>j&&l>d&&!c&&s.height("auto") },_getposition:function(t){var e=s.current,n=s.getviewport(),i=e.margin,o=s.wrap.width()+i[1]+i[3],r=s.wrap.height()+i[0]+i[2],a={position:"absolute",top:i[0],left:i[3]};return e.autocenter&&e.fixed&&!t&&r<=n.h&&o<=n.w?a.position="fixed":e.locked||(a.top+=n.y,a.left+=n.x),a.top=g(math.max(a.top,a.top+(n.h-r)*e.topratio)),a.left=g(math.max(a.left,a.left+(n.w-o)*e.leftratio)),a},_afterzoomin:function(){var t=s.current;t&&(s.isopen=s.isopened=!0,s.wrap.css("overflow","visible").addclass("fancybox-opened"),s.update(),(t.closeclick||t.nextclick&&s.group.length>1)&&s.inner.css("cursor","pointer").bind("click.fb",function(e){n(e.target).is("a")||n(e.target).parent().is("a")||(e.preventdefault(),s[t.closeclick?"close":"next"]())}),t.closebtn&&n(t.tpl.closebtn).appendto(s.skin).bind("click.fb",function(t){t.preventdefault(),s.close()}),t.arrows&&s.group.length>1&&((t.loop||t.index>0)&&n(t.tpl.prev).appendto(s.outer).bind("click.fb",s.prev),(t.loop||t.index
').appendto(s.coming?s.coming.parent:t.parent),this.fixed=!1,t.fixed&&s.defaults.fixed&&(this.overlay.addclass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(t){var e=this;t=n.extend({},this.defaults,t),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(t),this.fixed||(r.bind("resize.overlay",n.proxy(this.update,this)),this.update()),t.closeclick&&this.overlay.bind("click.overlay",function(t){return n(t.target).hasclass("fancybox-overlay")?(s.isactive?s.close():e.close(),!1):void 0}),this.overlay.css(t.css).show()},close:function(){var t,e;r.unbind("resize.overlay"),this.el.hasclass("fancybox-lock")&&(n(".fancybox-margin").removeclass("fancybox-margin"),t=r.scrolltop(),e=r.scrollleft(),this.el.removeclass("fancybox-lock"),r.scrolltop(t).scrollleft(e)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var t,n="100%";this.overlay.width(n).height("100%"),l?(t=math.max(e.documentelement.offsetwidth,e.body.offsetwidth),a.width()>t&&(n=a.width())):a.width()>r.width()&&(n=a.width()),this.overlay.width(n).height(a.height())},onready:function(t,e){var i=this.overlay;n(".fancybox-overlay").stop(!0,!0),i||this.create(t),t.locked&&this.fixed&&e.fixed&&(i||(this.margin=a.height()>r.height()?n("html").css("margin-right").replace("px",""):!1),e.locked=this.overlay.append(e.wrap),e.fixed=!1),t.showearly===!0&&this.beforeshow.apply(this,arguments)},beforeshow:function(t,e){var i,o;e.locked&&(this.margin!==!1&&(n("*").filter(function(){return"fixed"===n(this).css("position")&&!n(this).hasclass("fancybox-overlay")&&!n(this).hasclass("fancybox-wrap")}).addclass("fancybox-margin"),this.el.addclass("fancybox-margin")),i=r.scrolltop(),o=r.scrollleft(),this.el.addclass("fancybox-lock"),r.scrolltop(i).scrollleft(o)),this.open(t)},onupdate:function(){this.fixed||this.update()},afterclose:function(t){this.overlay&&!s.coming&&this.overlay.fadeout(t.speedout,n.proxy(this.close,this))}},s.helpers.title={defaults:{type:"float",position:"bottom"},beforeshow:function(t){var e,i,o=s.current,r=o.title,a=t.type;if(n.isfunction(r)&&(r=r.call(o.element,o)),p(r)&&""!==n.trim(r)){switch(e=n('
'+r+"
"),a){case"inside":i=s.skin;break;case"outside":i=s.wrap;break;case"over":i=s.inner;break;default:i=s.skin,e.appendto("body"),l&&e.width(e.width()),e.wrapinner(''),s.current.margin[2]+=math.abs(m(e.css("margin-bottom")))}e["top"===t.position?"prependto":"appendto"](i)}}},n.fn.fancybox=function(t){var e,i=n(this),o=this.selector||"",r=function(r){var a,l,c=n(this).blur(),u=e;r.ctrlkey||r.altkey||r.shiftkey||r.metakey||c.is(".fancybox-wrap")||(a=t.groupattr||"data-fancybox-group",l=c.attr(a),l||(a="rel",l=c.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(c=o.length?n(o):i,c=c.filter("["+a+'="'+l+'"]'),u=c.index(this)),t.index=u,s.open(c,t)!==!1&&r.preventdefault())};return t=t||{},e=t.index||0,o&&t.live!==!1?a.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",r):i.unbind("click.fb-start").bind("click.fb-start",r),this.filter("[data-fancybox-start=1]").trigger("click"),this},a.ready(function(){var e,r;n.scrollbarwidth===i&&(n.scrollbarwidth=function(){var t=n('
').appendto("body"),e=t.children(),i=e.innerwidth()-e.height(99).innerwidth();return t.remove(),i}),n.support.fixedposition===i&&(n.support.fixedposition=function(){var t=n('
').appendto("body"),e=20===t[0].offsettop||15===t[0].offsettop;return t.remove(),e}()),n.extend(s.defaults,{scrollbarwidth:n.scrollbarwidth(),fixed:n.support.fixedposition,parent:n("body")}),e=n(t).width(),o.addclass("fancybox-lock-test"),r=n(t).width(),o.removeclass("fancybox-lock-test"),n("").appendto("head")})}(window,document,jquery),function(t){var e=t.fancybox;e.helpers.buttons={defaults:{skipsingle:!1,position:"top",tpl:'
'},list:null,buttons:null,beforeload:function(t,e){return t.skipsingle&&e.group.length<2?(e.helpers.buttons=!1,void(e.closebtn=!0)):void(e.margin["bottom"===t.position?2:0]+=30)},onplaystart:function(){this.buttons&&this.buttons.play.attr("title","pause slideshow").addclass("btnplayon")},onplayend:function(){this.buttons&&this.buttons.play.attr("title","start slideshow").removeclass("btnplayon")},aftershow:function(n,i){var o=this.buttons;o||(this.list=t(n.tpl).addclass(n.position).appendto("body"),o={prev:this.list.find(".btnprev").click(e.prev),next:this.list.find(".btnnext").click(e.next),play:this.list.find(".btnplay").click(e.play),toggle:this.list.find(".btntoggle").click(e.toggle),close:this.list.find(".btnclose").click(e.close)}),i.index>0||i.loop?o.prev.removeclass("btndisabled"):o.prev.addclass("btndisabled"),i.loop||i.index';this.wrap=t('
').addclass(e.position).appendto("body"),this.list=t("
    "+i+"
").appendto(this.wrap),t.each(n.group,function(e){var i=s(n.group[e]);i&&t("").load(function(){var n,i,s,l=this.width,c=this.height;o.list&&l&&c&&(n=l/r,i=c/a,s=o.list.children().eq(e).find("a"),n>=1&&i>=1&&(n>i?(l=math.floor(l/i),c=a):(l=r,c=math.floor(c/n))),t(this).css({width:l,height:c,top:math.floor(a/2-c/2),left:math.floor(r/2-l/2)}),s.width(r).height(a),t(this).hide().appendto(s).fadein(300))}).attr("src",i)}),this.width=this.list.children().eq(0).outerwidth(!0),this.list.width(this.width*(n.group.length+1)).css("left",math.floor(.5*t(window).width()-(n.index*this.width+.5*this.width)))},beforeload:function(t,e){return e.group.length<2?void(e.helpers.thumbs=!1):void(e.margin["top"===t.position?0:2]+=t.height+15)},aftershow:function(t,e){this.list?this.onupdate(t,e):this.init(t,e),this.list.children().removeclass("active").eq(e.index).addclass("active")},onupdate:function(e,n){this.list&&this.list.stop(!0).animate({left:math.floor(.5*t(window).width()-(n.index*this.width+.5*this.width))},150)},beforeclose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(jquery),function(t){"use strict";var e=t.fancybox,n=function(e,n,i){return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),i.length&&(e+=(e.indexof("?")>0?"&":"?")+i),e};e.helpers.media={defaults:{youtube:{matcher:/(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listtype=(.*)&list=(.*)).*/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"opaque",enablejsapi:1},type:"iframe",url:"//www.youtube.com/embed/$3"},vimeo:{matcher:/(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},type:"iframe",url:"//player.vimeo.com/video/$1"},metacafe:{matcher:/metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,params:{autoplay:"yes"},type:"swf",url:function(e,n,i){return i.swf.flashvars="playervars="+t.param(n,!0),"//www.metacafe.com/fplayer/"+e[1]+"/.swf"}},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalinfos:0,autostart:1},type:"swf",url:"//www.dailymotion.com/swf/video/$1"},twitvid:{matcher:/twitvid\.com\/([a-za-z0-9_\-\?\=]+)/i,params:{autoplay:0},type:"iframe",url:"//www.twitvid.com/embed.php?guid=$1"},twitpic:{matcher:/twitpic\.com\/(?!(?:place|photos|events)\/)([a-za-z0-9\?\=\-]+)/i,type:"image",url:"//twitpic.com/show/full/$1/"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-za-z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},google_maps:{matcher:/maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[1]+"/"+t[3]+t[4]+"&output="+(t[4].indexof("layer=c")>0?"svembed":"embed")}}},beforeload:function(e,i){var o,r,a,s,l=i.href||"",c=!1;for(o in e)if(e.hasownproperty(o)&&(r=e[o],a=l.match(r.matcher))){c=r.type,s=t.extend(!0,{},r.params,i[o]||(t.isplainobject(e[o])?e[o].params:null)),l="function"===t.type(r.url)?r.url.call(this,a,s,i):n(r.url,a,s);break}c&&(i.href=l,i.type=c,i.autoheight=!1)}}}(jquery),function(){$(".fancybox").fancybox({parent:"body",openeffect:"none",closeeffect:"none",maxwidth:750,maxheight:550,padding:0,tpl:{closebtn:'',next:'',prev:''}})}.call(this),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.defaults,i),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()};n.version="3.3.1",n.reset="affix affix-top affix-bottom",n.defaults={offset:0,target:window},n.prototype.getstate=function(t,e,n,i){var o=this.$target.scrolltop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return n>o?"top":!1;if("bottom"==this.affixed)return null!=n?o+this.unpin<=r.top?!1:"bottom":t-i>=o+a?!1:"bottom";var s=null==this.affixed,l=s?o:r.top,c=s?a:e;return null!=n&&n>=l?"top":null!=i&&l+c>=t-i?"bottom":!1},n.prototype.getpinnedoffset=function(){if(this.pinnedoffset)return this.pinnedoffset;this.$element.removeclass(n.reset).addclass("affix");var t=this.$target.scrolltop(),e=this.$element.offset();return this.pinnedoffset=e.top-t},n.prototype.checkpositionwitheventloop=function(){settimeout(t.proxy(this.checkposition,this),1)},n.prototype.checkposition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,a=t("body").height();"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=this.getstate(a,e,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=t.event(l+".bs.affix");if(this.$element.trigger(c),c.isdefaultprevented())return;this.affixed=s,this.unpin="bottom"==s?this.getpinnedoffset():null,this.$element.removeclass(n.reset).addclass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.constructor=n,t.fn.affix.noconflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetbottom&&(i.offset.bottom=i.offsetbottom),null!=i.offsettop&&(i.offset.top=i.offsettop),e.call(n,i)})})}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.version="3.3.1",i.transition_duration=150,i.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var o=t(this),r=o.attr("data-target");r||(r=o.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var a=t(r);e&&e.preventdefault(),a.length||(a=o.closest(".alert")),a.trigger(e=t.event("close.bs.alert")),e.isdefaultprevented()||(a.removeclass("in"),t.support.transition&&a.hasclass("fade")?a.one("bstransitionend",n).emulatetransitionend(i.transition_duration):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.constructor=i,t.fn.alert.noconflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jquery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,r)),"toggle"==e?o.toggle():e&&o.setstate(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.defaults,i),this.isloading=!1};n.version="3.3.1",n.defaults={loadingtext:"loading..."},n.prototype.setstate=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="text",null==r.resettext&&i.data("resettext",i[o]()),settimeout(t.proxy(function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingtext"==e?(this.isloading=!0,i.addclass(n).attr(n,n)):this.isloading&&(this.isloading=!1,i.removeclass(n).removeattr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasclass("active")?t=!1:e.find(".active").removeclass("active")),t&&n.prop("checked",!this.$element.hasclass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasclass("active"));t&&this.$element.toggleclass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.constructor=n,t.fn.button.noconflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasclass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),n.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 i=t(this),o=i.data("bs.carousel"),r=t.extend({},n.defaults,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:r.slide;o||i.data("bs.carousel",o=new n(this,r)),"number"==typeof e?o.to(e):a?o[a]():r.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,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))};n.version="3.3.1",n.transition_duration=600,n.defaults={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.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()}},n.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},n.prototype.getitemindex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getitemfordirection=function(t,e){var n="prev"==t?-1:1,i=this.getitemindex(e),o=(i+n)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(t){var e=this,n=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)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.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},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var o=this.$element.find(".item.active"),r=i||this.getitemfordirection(e,o),a=this.interval,s="next"==e?"left":"right",l="next"==e?"first":"last",c=this;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[l]()}if(r.hasclass("active"))return this.sliding=!1;var u=r[0],d=t.event("slide.bs.carousel",{relatedtarget:u,direction:s});if(this.$element.trigger(d),!d.isdefaultprevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeclass("active");var p=t(this.$indicators.children()[this.getitemindex(r)]);p&&p.addclass("active")}var h=t.event("slid.bs.carousel",{relatedtarget:u,direction:s});return t.support.transition&&this.$element.hasclass("slide")?(r.addclass(e),r[0].offsetwidth,o.addclass(s),r.addclass(s),o.one("bstransitionend",function(){r.removeclass([e,s].join(" ")).addclass("active"),o.removeclass(["active",s].join(" ")),c.sliding=!1,settimeout(function(){c.$element.trigger(h)},0)}).emulatetransitionend(n.transition_duration)):(o.removeclass("active"),r.addclass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.constructor=n,t.fn.carousel.noconflict=function(){return t.fn.carousel=i,this};var o=function(n){var i,o=t(this),r=t(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasclass("carousel")){var a=t.extend({},r.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),e.call(r,a),s&&r.data("bs.carousel").to(s),n.preventdefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jquery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),r=t.extend({},i.defaults,n.data(),"object"==typeof e&&e);!o&&r.toggle&&"show"==e&&(r.toggle=!1),o||n.data("bs.collapse",o=new i(this,r)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.defaults,n),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()};i.version="3.3.1",i.transition_duration=350,i.defaults={toggle:!0,trigger:'[data-toggle="collapse"]'},i.prototype.dimension=function(){var t=this.$element.hasclass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasclass("in")){var e,o=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"),e&&e.transitioning))){var r=t.event("show.bs.collapse");if(this.$element.trigger(r),!r.isdefaultprevented()){o&&o.length&&(n.call(o,"hide"),e||o.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 s=function(){this.$element.removeclass("collapsing").addclass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelcase(["scroll",a].join("-"));this.$element.one("bstransitionend",t.proxy(s,this)).emulatetransitionend(i.transition_duration)[a](this.$element[0][l])}}}},i.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 n=this.dimension();this.$element[n](this.$element[n]())[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 o=function(){this.transitioning=0,this.$element.removeclass("collapsing").addclass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bstransitionend",t.proxy(o,this)).emulatetransitionend(i.transition_duration):o.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasclass("in")?"hide":"show"]()},i.prototype.getparent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addariaandcollapsedclass(e(o),o)},this)).end()},i.prototype.addariaandcollapsedclass=function(t,e){var n=t.hasclass("in");t.attr("aria-expanded",n),e.toggleclass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.constructor=i,t.fn.collapse.noconflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventdefault();var r=e(o),a=r.data("bs.collapse"),s=a?"toggle":t.extend({},o.data(),{trigger:this});n.call(r,s)})}(jquery),+function(t){"use strict";function e(e){e&&3===e.which||(t(o).remove(),t(r).each(function(){var i=t(this),o=n(i),r={relatedtarget:this};o.hasclass("open")&&(o.trigger(e=t.event("hide.bs.dropdown",r)),e.isdefaultprevented()||(i.attr("aria-expanded","false"),o.removeclass("open").trigger("hidden.bs.dropdown",r)))}))}function n(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[a-za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",r='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.version="3.3.1",a.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=n(o),a=r.hasclass("open");if(e(),!a){"ontouchstart"in document.documentelement&&!r.closest(".navbar-nav").length&&t('