var cssua=function(e,o,i){"use strict";var s=" ua-",r=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,n=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,a=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,b=/\bsilk-accelerated=true\b/,t=/\bfluidapp\b/,l=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,p=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,c=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,d={parse:function(e,o){var i={};if(o&&(i.standalone=o),!(e=(""+e).toLowerCase()))return i;for(var s,d,m=e.split(/[()]/),w=0,_=m.length;w<_;w++)if(w%2){var u=m[w].split(";");for(s=0,d=u.length;s0;)i+=s+e+"-"+o.substring(0,r),r=o.indexOf("-",r+1);i+=s+e+"-"+o}return i}var i="";for(var r in e)r&&e.hasOwnProperty(r)&&(i+=o(r,e[r]));return i},encode:function(e){var o="";for(var i in e)i&&e.hasOwnProperty(i)&&(o&&(o+="&"),o+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o}};d.userAgent=d.ua=d.parse(o,i);var m=d.format(d.ua)+" js";return e.className?e.className=e.className.replace(/\bno-js\b/g,"")+m:e.className=m.substr(1),d}(document.documentElement,navigator.userAgent,navigator.standalone); /*! * modernizr v3.12.0 * Build https://modernizr.com/download?-applicationcache-audio-backgroundsize-borderimage-borderradius-boxshadow-canvas-canvastext-cssanimations-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-flexbox-fontface-generatedcontent-geolocation-hashchange-history-hsla-inlinesvg-input-inputtypes-localstorage-multiplebgs-opacity-postmessage-rgba-sessionstorage-smil-svgclippaths-textshadow-touchevents-video-webgl-websockets-websqldatabase-webworkers-addtest-atrule-domprefixes-hasevent-load-mq-prefixed-prefixedcss-prefixes-printshiv-setclasses-testallprops-testprop-teststyles-dontmin * * Copyright (c) * Faruk Ates * Paul Irish * Alex Sexton * Ryan Seddon * Patrick Kettner * Stu Cox * Richard Herrera * Veeck * MIT License */ !function(e,t,n,o){var r=[],a={_version:"3.12.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){r.push({name:e,fn:t,options:n})},addAsyncTest:function(e){r.push({name:null,fn:e})}},i=function(){};i.prototype=a,i=new i;var s=[];function c(e,t){return typeof e===t}var l,d,u=n.documentElement,p="svg"===u.nodeName.toLowerCase();function f(e){var t=u.className,n=i._config.classPrefix||"";if(p&&(t=t.baseVal),i._config.enableJSClass){var o=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(o,"$1"+n+"js$2")}i._config.enableClasses&&(e.length>0&&(t+=" "+n+e.join(" "+n)),p?u.className.baseVal=t:u.className=t)}function m(e,t){if("object"==typeof e)for(var n in e)l(e,n)&&m(n,e[n]);else{var o=(e=e.toLowerCase()).split("."),r=i[o[0]];if(2===o.length&&(r=r[o[1]]),void 0!==r)return i;t="function"==typeof t?t():t,1===o.length?i[o[0]]=t:(!i[o[0]]||i[o[0]]instanceof Boolean||(i[o[0]]=new Boolean(i[o[0]])),i[o[0]][o[1]]=t),f([(t&&!1!==t?"":"no-")+o.join("-")]),i._trigger(e,t)}return i}l=c(d={}.hasOwnProperty,"undefined")||c(d.call,"undefined")?function(e,t){return t in e&&c(e.constructor.prototype[t],"undefined")}:function(e,t){return d.call(e,t)},a._l={},a.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),i.hasOwnProperty(e)&&setTimeout(function(){i._trigger(e,i[e])},0)},a._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e;for(e=0;e",o.insertBefore(n.lastChild,o.firstChild)}function u(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function p(e){var t=l[e[s]];return t||(t={},c++,e[s]=c,l[c]=t),t}function f(e,n,r){return n||(n=t),o?n.createElement(e):(r||(r=p(n)),!(s=r.cache[e]?r.cache[e].cloneNode():i.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e)).canHaveChildren||a.test(e)||s.tagUrn?s:r.frag.appendChild(s));var s}function m(e){e||(e=t);var r=p(e);return!h.shivCSS||n||r.hasCSS||(r.hasCSS=!!d(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),o||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return h.shivMethods?f(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(h,t.frag)}(e,r),e}!function(){try{var e=t.createElement("a");e.innerHTML="",n="hidden"in e,o=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){n=!0,o=!0}}();var h={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==r.shivCSS,supportsUnknownElements:o,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:m,createElement:f,createDocumentFragment:function(e,n){if(e||(e=t),o)return e.createDocumentFragment();for(var r=(n=n||p(e)).frag.cloneNode(),a=0,i=u(),s=i.length;a+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),a="$1"+y+"\\:$2";o--;)(t=n[o]=n[o].split("}"))[t.length-1]=t[t.length-1].replace(r,a),n[o]=t.join("}");return n.join("{")}(c.reverse().join("")),n=function(e){for(var t,n=e.getElementsByTagName("*"),o=n.length,r=RegExp("^(?:"+u().join("|")+")$","i"),a=[];o--;)t=n[o],r.test(t.nodeName)&&a.push(t.applyElement(b(t)));return a}(e),t=d(e,c)}),a.attachEvent("onafterprint",function(){!function(e){for(var t=e.length;t--;)e[t].removeNode()}(n),clearTimeout(o._removeSheetTimer),o._removeSheetTimer=setTimeout(i,500)}),e.printShived=!0,e}h.type+=" print",h.shivPrint=x,x(t),"object"==typeof module&&module.exports&&(module.exports=h)}(void 0!==t?t:this,n);var w=function(){},S=function(){};function C(e,t,o,r){var a,i,s,c,l="modernizr",d=T("div"),f=function(){var e=n.body;return e||((e=T(p?"svg":"body")).fake=!0),e}();if(parseInt(o,10))for(;o--;)(s=T("div")).id=r?r[o]:l+(o+1),d.appendChild(s);return(a=T("style")).type="text/css",a.id="s"+l,(f.fake?f:d).appendChild(a),f.appendChild(d),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),d.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(f)),i=t(d,e),f.fake&&f.parentNode?(f.parentNode.removeChild(f),u.style.overflow=c,u.offsetHeight):d.parentNode.removeChild(d),!!i}function E(e,n,o){var r;if("getComputedStyle"in t){r=getComputedStyle.call(t,e,n);var a=t.console;if(null!==r)o&&(r=r.getPropertyValue(o));else if(a)a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else r=!n&&e.currentStyle&&e.currentStyle[o];return r}t.console&&(w=function(){var e=console.error?"error":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))},S=function(){var e=console.warn?"warn":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))}),a.load=function(){"yepnope"in t?(S("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. yepnope appears to be available on the page, so we’ll use it to handle this call to Modernizr.load, but please update your code to use yepnope directly.\n See http://github.com/Modernizr/Modernizr/issues/1182 for more information."),t.yepnope.apply(t,[].slice.call(arguments,0))):w("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. Get it from http://yepnopejs.com. See http://github.com/Modernizr/Modernizr/issues/1182 for more information.")};var P,k=(P=t.matchMedia||t.msMatchMedia)?function(e){var t=P(e);return t&&t.matches||!1}:function(e){var t=!1;return C("@media "+e+" { #modernizr { position: absolute; } }",function(e){t="absolute"===E(e,null,"position")}),t};function _(e,t){return!!~(""+e).indexOf(t)}a.mq=k;var z={elem:T("modernizr")};i._q.push(function(){delete z.elem});var N={style:z.elem.style};function M(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function $(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function j(e,n,r,a){if(a=!c(a,"undefined")&&a,!c(r,"undefined")){var i=function(e,n){var r=e.length;if("CSS"in t&&"supports"in t.CSS){for(;r--;)if(t.CSS.supports(M(e[r]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var a=[];r--;)a.push("("+M(e[r])+":"+n+")");return C("@supports ("+(a=a.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"===E(e,null,"position")})}return o}(e,r);if(!c(i,"undefined"))return i}for(var s,l,d,u,p,f=["modernizr","tspan","samp"];!N.style&&f.length;)s=!0,N.modElem=T(f.shift()),N.style=N.modElem.style;function m(){s&&(delete N.style,delete N.modElem)}for(d=e.length,l=0;l7)}), /*! { "name": "Geolocation API", "property": "geolocation", "caniuse": "geolocation", "tags": ["media"], "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation" }], "polyfills": [ "joshuabell-polyfill", "webshims", "geo-location-javascript", "geolocation-api-polyfill" ] } !*/ i.addTest("geolocation","geolocation"in navigator), /*! { "name": "History API", "property": "history", "caniuse": "history", "tags": ["history"], "authors": ["Hay Kranen", "Alexander Farkas"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/html51/browsers.html#the-history-interface" }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/window.history" }], "polyfills": ["historyjs", "html5historyapi"] } !*/ i.addTest("history",function(){var e=navigator.userAgent;return!!e&&((-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history))});var q=T("input"),I="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),V={}; /*! { "name": "Input attributes", "property": "input", "tags": ["forms"], "authors": ["Mike Taylor"], "notes": [{ "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/multipage/input.html#input-type-attr-summary" }], "knownBugs": ["Some blackberry devices report false positive for input.multiple"] } !*/i.input=function(e){for(var n=0,o=e.length;n=9,H||G)?i.addTest("fontface",!1):F('@font-face {font-family:"font";src:url("https://")}',function(e,t){var o=n.getElementById("smodernizr"),r=o.sheet||o.styleSheet,a=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"",s=/src/i.test(a)&&0===a.indexOf(t.split(" ")[0]);i.addTest("fontface",s)}), /*! { "name": "CSS Generated Content", "property": "generatedcontent", "tags": ["css"], "warnings": ["Android won't return correct height for anything below 7px #738"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css3-selectors/#gen-content" }, { "name": "MDN Docs on :before", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before" }, { "name": "MDN Docs on :after", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::after" }] } !*/ F('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){i.addTest("generatedcontent",e.offsetHeight>=6)}), /*! { "name": "CSS Gradients", "caniuse": "css-gradients", "property": "cssgradients", "tags": ["css"], "knownBugs": ["False-positives on webOS (https://github.com/Modernizr/Modernizr/issues/202)"], "notes": [{ "name": "Webkit Gradient Syntax", "href": "https://webkit.org/blog/175/introducing-css-gradients/" }, { "name": "Linear Gradient Syntax", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient" }, { "name": "W3C Spec", "href": "https://drafts.csswg.org/css-images-3/#gradients" }] } !*/ i.addTest("cssgradients",function(){for(var e,t="background-image:",n="",o=0,r=L.length-1;o-1}), /*! { "name": "CSS HSLA Colors", "caniuse": "css3-colors", "property": "hsla", "tags": ["css"] } !*/ i.addTest("hsla",function(){var e=T("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",_(e.backgroundColor,"rgba")||_(e.backgroundColor,"hsla")}), /*! { "name": "CSS Multiple Backgrounds", "caniuse": "multibackgrounds", "property": "multiplebgs", "tags": ["css"] } !*/ i.addTest("multiplebgs",function(){var e=T("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}), /*! { "name": "CSS Opacity", "caniuse": "css-opacity", "property": "opacity", "tags": ["css"] } !*/ i.addTest("opacity",function(){var e=T("a").style;return e.cssText=L.join("opacity:.55;"),/^0.55$/.test(e.opacity)}), /*! { "name": "CSS Reflections", "caniuse": "css-reflections", "property": "cssreflections", "tags": ["css"] } !*/ i.addTest("cssreflections",B("boxReflect","above",!0)), /*! { "name": "CSS rgba", "caniuse": "css3-colors", "property": "rgba", "tags": ["css"], "notes": [{ "name": "CSSTricks Tutorial", "href": "https://css-tricks.com/rgba-browser-support/" }] } !*/ i.addTest("rgba",function(){var e=T("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1}), /*! { "name": "CSS textshadow", "property": "textshadow", "caniuse": "css-textshadow", "tags": ["css"], "knownBugs": ["FF3.0 will false positive on this test"] } !*/ i.addTest("textshadow",D("textShadow","1px 1px")), /*! { "name": "CSS Transforms", "property": "csstransforms", "caniuse": "transforms2d", "tags": ["css"] } !*/ i.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&B("transform","scale(1)",!0)}); /*! { "name": "CSS Supports", "property": "supports", "caniuse": "css-featurequeries", "tags": ["css"], "builderAliases": ["css_supports"], "notes": [{ "name": "W3C Spec (The @supports rule)", "href": "https://dev.w3.org/csswg/css3-conditional/#at-supports" }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/648" }, { "name": "W3C Spec (The CSSSupportsRule interface)", "href": "https://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface" }] } !*/ var Z="CSS"in t&&"supports"in t.CSS,K="supportsCSS"in t;i.addTest("supports",Z||K), /*! { "name": "CSS Transforms 3D", "property": "csstransforms3d", "caniuse": "transforms3d", "tags": ["css"], "warnings": [ "Chrome may occasionally fail this test on some systems; more info: https://bugs.chromium.org/p/chromium/issues/detail?id=129004" ] } !*/ i.addTest("csstransforms3d",function(){return!!B("perspective","1px",!0)}), /*! { "name": "CSS Transitions", "property": "csstransitions", "caniuse": "css-transitions", "tags": ["css"] } !*/ i.addTest("csstransitions",B("transition","all",!0)), /*! { "name": "Local Storage", "property": "localstorage", "caniuse": "namevalue-storage", "tags": ["storage"], "polyfills": [ "joshuabell-polyfill", "cupcake", "storagepolyfill", "amplifyjs", "yui-cacheoffline" ] } !*/ i.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}), /*! { "name": "Session Storage", "property": "sessionstorage", "tags": ["storage"], "polyfills": ["joshuabell-polyfill", "cupcake", "sessionstorage"] } !*/ i.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}), /*! { "name": "Web SQL Database", "property": "websqldatabase", "caniuse": "sql-storage", "tags": ["storage"] } !*/ i.addTest("websqldatabase","openDatabase"in t);var Q={}.toString; /*! { "name": "SVG clip paths", "property": "svgclippaths", "tags": ["svg"], "notes": [{ "name": "Demo", "href": "http://srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg" }] } !*/i.addTest("svgclippaths",function(){return!!n.createElementNS&&/SVGClipPath/.test(Q.call(n.createElementNS("http://www.w3.org/2000/svg","clipPath")))}), /*! { "name": "Inline SVG", "property": "inlinesvg", "caniuse": "svg-html5", "tags": ["svg"], "notes": [{ "name": "Test page", "href": "https://paulirish.com/demo/inline-svg" }, { "name": "Test page and results", "href": "https://codepen.io/eltonmesquita/full/GgXbvo/" }], "polyfills": ["inline-svg-polyfill"], "knownBugs": ["False negative on some Chromia browsers."] } !*/ i.addTest("inlinesvg",function(){var e=T("div");return e.innerHTML="","http://www.w3.org/2000/svg"===("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}), /*! { "name": "SVG SMIL animation", "property": "smil", "caniuse": "svg-smil", "tags": ["svg"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/AudioVideo/" }] } !*/ i.addTest("smil",function(){return!!n.createElementNS&&/SVGAnimate/.test(Q.call(n.createElementNS("http://www.w3.org/2000/svg","animate")))}), /*! { "name": "Web Workers", "property": "webworkers", "caniuse": "webworkers", "tags": ["performance", "workers"], "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/workers/" }, { "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/workers/basics/" }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers" }], "polyfills": ["fakeworker", "html5shims"] } !*/ i.addTest("webworkers","Worker"in t),function(){var e,t,n,o,a,l;for(var d in r)if(r.hasOwnProperty(d)){if(e=[],(t=r[d]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;na.intersectionRatio&&(d=!1):1>a.intersectionRatio&&(d=!1)),d&&(m.parents(".fusion-delayed-animation").length||(m.css("visibility","visible"),s=m.data("animationtype"),o=m.data("animationduration"),r=m.data("animationdelay"),m.addClass(s),o&&(m.css("animation-duration",o+"s"),c+=1e3*o),r&&(m.css("animation-delay",r+"s"),c+=1e3*r),c&&(u=m,setTimeout(function(){u.removeClass(s)},c))),e.unobserve(a.target)))})},t);n(this).each(function(){e.observe(this)}),window.awbAnimationObservers[i]=[this,e]}):n(".fusion-animated").each(function(){n(this).parents(".fusion-delayed-animation").length||n(this).css("visibility","visible")})}}(jQuery),jQuery(document).ready(function(){fusionSetAnimationData()}),jQuery(window).on("load",function(){jQuery("body").hasClass("fusion-builder-live")||setTimeout(function(){jQuery(window).initElementAnimations()},300)}),jQuery(window).on("CSSAnimations",{custom:!0},fusionSetAnimationData); jQuery(document).on("ready fusion-widget-render-Fusion_Widget_Tabs",function(){jQuery(".fusion-tabs-widget .fusion-tabs-nav li a").on("click",function(n){var t=jQuery(this).data("link");n.preventDefault(),jQuery(this).parents(".fusion-tabs-nav").find("li").removeClass("active"),jQuery(this).parent().addClass("active"),jQuery(this).parents(".fusion-tabs-widget").find(".fusion-tab-content").hide(),jQuery(this).parents(".fusion-tabs-widget").find('.fusion-tab-content[data-name="'+t+'"]').fadeIn()})}); jQuery(document).ready(function(){jQuery(".fusion-vertical-menu-widget .current_page_item, .fusion-vertical-menu-widget .current-menu-item").each(function(){var e=jQuery(this),n=e.parent();e.find(".children, .sub-menu").length&&e.find(".children, .sub-menu").show("slow"),e.parentsUntil(".fusion-vertical-menu-widget",".children, .sub-menu").show("slow"),n.hasClass("fusion-vertical-menu-widget")&&e.find("ul").show("slow")})}),jQuery(window).on("load",function(){jQuery(".fusion-vertical-menu-widget.click li a .arrow").on("click",function(e){var n=jQuery(this).parent(),i=n.parent(),t=i.find("> .children, > .sub-menu");if(e.preventDefault(),(i.hasClass("page_item_has_children")||i.hasClass("menu-item-has-children"))&&(t.length&&!t.is(":visible")?t.stop(!0,!0).slideDown("slow"):t.stop(!0,!0).slideUp("slow")),n.parent(".page_item_has_children.current_page_item, .menu-item-has-children.current-menu-item").length)return!1}),jQuery(".fusion-vertical-menu-widget.hover li").each(function(){var e;jQuery(this).hover(function(){var n=jQuery(this).find("> .children, > .sub-menu");clearTimeout(e),e=setTimeout(function(){n.length&&n.stop(!0,!0).slideDown("slow")},500)},function(){var n=jQuery(this),i=n.find(".children, .sub-menu");clearTimeout(e),e=setTimeout(function(){0===n.find(".current_page_item").length&&!1===n.hasClass("current_page_item")&&i.stop(!0,!0).slideUp("slow")},500)})})}); var fusionJSVars={"visibility_small":"640","visibility_medium":"1024"};var fusion={fusionResizeWidth:0,fusionResizeHeight:0,currentPostID:null,toBool:function(t){return 1===t||"1"===t||!0===t||"true"===t||"on"===t},restArguments:function(t,e){return e=null==e?t.length-1:+e,function(){for(var i,n=Math.max(arguments.length-e,0),o=Array(n),r=0;rt.rootBounds.height?(n=t.rootBounds.height/t.boundingClientRect.height,e.thresholds.filter(function(e){return e>=t.intersectionRatio&&e<=n}).length||(i=!0)):t.isIntersecting&&1===t.intersectionRatio&&(i=!0):t.isIntersecting&&(i=!0),i},getCurrentPostID:function(){return null===this.currentPostID&&(this.currentPostID=void 0!==jQuery("body").data("awb-post-id")?jQuery("body").data("awb-post-id"):0),this.currentPostID}};fusion.delay=fusion.restArguments(function(t,e,i){return setTimeout(function(){return t.apply(null,i)},e)}),fusion.ready=function(t){if("function"==typeof t)return"complete"===document.readyState?t():void document.addEventListener("DOMContentLoaded",t,!1)},fusion.passiveSupported=function(){var t,e;if(void 0===fusion.supportsPassive){try{e={get passive(){t=!0}},window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}fusion.supportsPassive=!!t&&{passive:!0}}return fusion.supportsPassive},fusion.getElements=function(t){var e=[];return t?("object"==typeof t?Object.keys(t).forEach(function(i){Element.prototype.isPrototypeOf(t[i])&&e.push(t[i])}):"string"==typeof t&&(e=document.querySelectorAll(t),e=Array.prototype.slice.call(e)),e):[]},jQuery(document).ready(function(){var t;void 0===jQuery.migrateVersion&&2
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:s},l.prototype.init=function(e,i,o){var n,s,r,a,l;if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(l=(n=this.options.trigger.split(" ")).length;l--;)"click"===(s=n[l])?this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this)):"manual"!==s&&(r="hover"===s?"mouseenter":"focusin",a="hover"===s?"mouseleave":"focusout",this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.leave,this)));this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(i){var o,n=this.$element.data();for(o in n)n.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete n[o];return(i=t.extend({},this.getDefaults(),n,i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=a(i.template,i.whiteList,i.sanitizeFn)),i},l.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!==o&&(e[t]=o)}),e},l.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"===e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"===i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"===i.hoverState&&i.show()},i.options.delay.show)}},l.prototype.isInStateTrue=function(){var t;for(t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"===e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"===i.hoverState&&i.hide()},i.options.delay.hide)}},l.prototype.show=function(){var e,i,o,n,s,r,a,l,p,h,f,c,u,d=t.Event("show.bs."+this.type),g=this;this.hasContent()&&this.enabled&&(this.$element.trigger(d),e=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!d.isDefaultPrevented()&&e&&(i=this.tip(),o=this.getUID(this.type),this.setContent(),i.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&i.addClass("fade"),n="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,(r=(s=/\s?auto?\s?/i).test(n))&&(n=n.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(n).data("bs."+this.type,this).addClass(this.$element.data("class")),this.options.container?i.appendTo(t(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),a=this.getPosition(),l=i[0].offsetWidth,p=i[0].offsetHeight,r&&(h=n,f=this.getPosition(this.$viewport),n="bottom"===n&&a.bottom+p>f.bottom?"top":"top"===n&&a.top-pf.width?"left":"left"===n&&a.left-ls.top+s.height&&(h.top=s.top+s.height-a)):(l=e.left-n,p=e.left+n+i,ls.right&&(h.left=s.left+s.width-p)),h):h},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!==this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow"),this.$arrow},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var i=this;e?((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)},t.fn.tooltip=function(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),n="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||(o=new l(this,n),i.data("bs.tooltip",o)),"string"==typeof e&&"function"==typeof o[e]&&o[e]())})},t.fn.tooltip.Constructor=l}(jQuery); !function(n){"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=n(require("jquery")):n(jQuery)}(function(n){n.easing.jswing=n.easing.swing;var e=Math.pow,t=Math.sqrt,u=Math.sin,r=Math.cos,i=Math.PI,a=1.70158,c=1.525*a,o=a+1,s=2*i/3,f=2*i/4.5;function I(n){var e=7.5625,t=2.75;return n<1/t?e*n*n:n<2/t?e*(n-=1.5/t)*n+.75:n<2.5/t?e*(n-=2.25/t)*n+.9375:e*(n-=2.625/t)*n+.984375}n.extend(n.easing,{def:"easeOutQuad",swing:function(e){return n.easing[n.easing.def](e)},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return 1-(1-n)*(1-n)},easeInOutQuad:function(n){return n<.5?2*n*n:1-e(-2*n+2,2)/2},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return 1-e(1-n,3)},easeInOutCubic:function(n){return n<.5?4*n*n*n:1-e(-2*n+2,3)/2},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1-e(1-n,4)},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-e(-2*n+2,4)/2},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1-e(1-n,5)},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1-e(-2*n+2,5)/2},easeInSine:function(n){return 1-r(n*i/2)},easeOutSine:function(n){return u(n*i/2)},easeInOutSine:function(n){return-(r(i*n)-1)/2},easeInExpo:function(n){return 0===n?0:e(2,10*n-10)},easeOutExpo:function(n){return 1===n?1:1-e(2,-10*n)},easeInOutExpo:function(n){return 0===n?0:1===n?1:n<.5?e(2,20*n-10)/2:(2-e(2,-20*n+10))/2},easeInCirc:function(n){return 1-t(1-e(n,2))},easeOutCirc:function(n){return t(1-e(n-1,2))},easeInOutCirc:function(n){return n<.5?(1-t(1-e(2*n,2)))/2:(t(1-e(-2*n+2,2))+1)/2},easeInElastic:function(n){return 0===n?0:1===n?1:-e(2,10*n-10)*u((10*n-10.75)*s)},easeOutElastic:function(n){return 0===n?0:1===n?1:e(2,-10*n)*u((10*n-.75)*s)+1},easeInOutElastic:function(n){return 0===n?0:1===n?1:n<.5?-e(2,20*n-10)*u((20*n-11.125)*f)/2:e(2,-20*n+10)*u((20*n-11.125)*f)/2+1},easeInBack:function(n){return o*n*n*n-a*n*n},easeOutBack:function(n){return 1+o*e(n-1,3)+a*e(n-1,2)},easeInOutBack:function(n){return n<.5?e(2*n,2)*(7.189819*n-c)/2:(e(2*n-2,2)*((c+1)*(2*n-2)+c)+2)/2},easeInBounce:function(n){return 1-I(1-n)},easeOutBounce:I,easeInOutBounce:function(n){return n<.5?(1-I(1-2*n))/2:(1+I(2*n-1))/2}})}); /*! * FitVids 1.1 * * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ * */ !function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("div");a.innerHTML='

x

',r.appendChild(a.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));(a=(a=a.not("object object")).not(r)).each(function(){var e=t(this);if(!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("name")){var a="fitvid"+t.fn.fitVids._count;e.attr("name",a),t.fn.fitVids._count++}e.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto); !function(e){var t=!0;e.flexslider=function(a,n){var i=e(a);void 0===n.rtl&&"rtl"==e("html").attr("dir")&&(n.rtl=!0),i.vars=e.extend({},e.flexslider.defaults,n);var s,r=i.vars.namespace,o=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||o||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,c="click touchend MSPointerUp keyup",d="",u="vertical"===i.vars.direction,v=i.vars.reverse,p=i.vars.itemWidth>0,m="fade"===i.vars.animation,f=""!==i.vars.asNavFor,h={};e.data(a,"flexslider",i),h={init:function(){i.animating=!1,i.currentSlide=parseInt(i.vars.startAt?i.vars.startAt:0,10),isNaN(i.currentSlide)&&(i.currentSlide=0),i.animatingTo=i.currentSlide,i.atEnd=0===i.currentSlide||i.currentSlide===i.last,i.containerSelector=i.vars.selector.substr(0,i.vars.selector.search(" ")),i.slides=e(i.vars.selector,i),i.container=e(i.containerSelector,i),i.count=i.slides.length,i.syncExists=e(i.vars.sync).length>0,"slide"===i.vars.animation&&(i.vars.animation="swing"),i.prop=u?"top":i.vars.rtl?"marginRight":"marginLeft",i.args={},i.manualPause=!1,i.stopped=!1,i.started=!1,i.startTimeout=null,i.transitions=!i.vars.video&&!m&&i.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return i.pfx=t[a].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}(),i.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,i.ensureAnimationEnd="",""!==i.vars.controlsContainer&&(i.controlsContainer=e(i.vars.controlsContainer).length>0&&e(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=e(i.vars.manualControls).length>0&&e(i.vars.manualControls)),""!==i.vars.customDirectionNav&&(i.customDirectionNav=2===e(i.vars.customDirectionNav).length&&e(i.vars.customDirectionNav)),i.vars.randomize&&(i.slides.sort(function(){return Math.round(Math.random())-.5}),i.container.empty().append(i.slides)),i.doMath(),i.setup("init"),i.vars.controlNav&&h.controlNav.setup(),i.vars.directionNav&&h.directionNav.setup(),i.vars.keyboard&&(1===e(i.containerSelector).length||i.vars.multipleKeyboard)&&e(document).on("keyup",function(e){var t=e.keyCode;if(!i.animating&&(39===t||37===t)){var a=i.vars.rtl?37===t?i.getTarget("next"):39===t&&i.getTarget("prev"):39===t?i.getTarget("next"):37===t&&i.getTarget("prev");i.flexAnimate(a,i.vars.pauseOnAction)}}),i.vars.mousewheel&&i.on("mousewheel",function(e,t,a,n){e.preventDefault();var s=t<0?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(s,i.vars.pauseOnAction)}),i.vars.pausePlay&&h.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&h.pauseInvisible.init(),i.vars.slideshow&&(i.vars.pauseOnHover&&i.hover(function(){i.manualPlay||i.manualPause||i.pause()},function(){i.manualPause||i.manualPlay||i.stopped||i.play()}),i.vars.pauseInvisible&&h.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),f&&h.asNav.setup(),l&&i.vars.touch&&h.touch(),(!m||m&&i.vars.smoothHeight)&&e(window).on("resize orientationchange focus",h.resize),i.find("img").attr("draggable","false"),setTimeout(function(){i.vars.start(i)},200)},asNav:{setup:function(){i.asNav=!0,i.animatingTo=Math.floor(i.currentSlide/i.move),i.currentItem=i.currentSlide,i.slides.removeClass(r+"active-slide").eq(i.currentItem).addClass(r+"active-slide"),o?(a._slider=i,i.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),n=a.index();e(i.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(i.direction=i.currentItem'),i.pagingCount>1)for(var o=0;o").attr("href","#").text(s),"thumbnails"===i.vars.controlNav&&(t=e("").attr("src",a.attr("data-thumb"))),""!==a.attr("data-thumb-alt")&&t.attr("alt",a.attr("data-thumb-alt")),"thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var l=a.attr("data-thumbcaption");if(""!==l&&void 0!==l){var u=e("").addClass(r+"caption").text(l);t.append(u)}}var v=e("
  • ");t.appendTo(v),v.append("
  • "),i.controlNavScaffold.append(v),s++}i.controlsContainer?e(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),h.controlNav.set(),h.controlNav.active(),i.controlNavScaffold.on(c,"a, img",function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(i.direction=n>i.currentSlide?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},setupManual:function(){i.controlNav=i.manualControls,h.controlNav.active(),i.controlNav.on(c,function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(n>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=e("."+r+"control-nav li "+t,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(r+"active").eq(i.animatingTo).addClass(r+"active")},update:function(t,a){i.pagingCount>1&&"add"===t?i.controlNavScaffold.append(e('
  • '+i.count+"
  • ")):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(a).closest("li").remove(),h.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(a,t):h.controlNav.active()}},directionNav:{setup:function(){var t=e('");i.customDirectionNav?i.directionNav=i.customDirectionNav:i.controlsContainer?(e(i.controlsContainer).append(t),i.directionNav=e("."+r+"direction-nav li a",i.controlsContainer)):(i.append(t),i.directionNav=e("."+r+"direction-nav li a",i)),h.directionNav.update(),i.directionNav.on(c,function(t){var a;t.preventDefault(),""!==d&&d!==t.type||(a=e(this).hasClass(r+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(a,i.vars.pauseOnAction)),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===i.pagingCount?i.directionNav.addClass(e).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(e).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):i.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('
    ');i.controlsContainer?(i.controlsContainer.append(t),i.pausePlay=e("."+r+"pauseplay a",i.controlsContainer)):(i.append(t),i.pausePlay=e("."+r+"pauseplay a",i)),h.pausePlay.update(i.vars.slideshow?r+"pause":r+"play"),i.pausePlay.on(c,function(t){t.preventDefault(),""!==d&&d!==t.type||(e(this).hasClass(r+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(e){"play"===e?i.pausePlay.removeClass(r+"pause").addClass(r+"play").html(i.vars.playText):i.pausePlay.removeClass(r+"play").addClass(r+"pause").html(i.vars.pauseText)}},touch:function(){var e,t,n,s,r,l,c,d,f,h=!1,g=0,y=0;if(o){}else c=function(r){i.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(i.pause(),s=u?i.h:i.w,l=Number(new Date),g=r.touches[0].pageX,y=r.touches[0].pageY,n=p&&v&&i.animatingTo===i.last?0:p&&v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:v?(i.last-i.currentSlide+i.cloneOffset)*s:(i.currentSlide+i.cloneOffset)*s,e=u?y:g,t=u?g:y,a.addEventListener("touchmove",d,!1),a.addEventListener("touchend",f,!1))},d=function(a){g=a.touches[0].pageX,y=a.touches[0].pageY,r=u?e-y:(i.vars.rtl?-1:1)*(e-g);(!(h=u?Math.abs(r)500)&&(a.preventDefault(),!m&&i.transitions&&(i.vars.animationLoop||(r/=0===i.currentSlide&&r<0||i.currentSlide===i.last&&r>0?Math.abs(r)/s+2:1),i.setProps(n+r,"setTouch")))},f=function(o){if(a.removeEventListener("touchmove",d,!1),i.animatingTo===i.currentSlide&&!h&&null!==r){var c=v?-r:r,u=c>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>s/2)?i.flexAnimate(u,i.vars.pauseOnAction):!m&&i.canAdvance(u)&&i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}a.removeEventListener("touchend",f,!1),i.vars.slideshow&&null!==r&&50>Math.abs(c)&&i.play(),e=null,t=null,r=null,n=null},a.addEventListener("touchstart",c,{passive:!0,capture:!1})},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),m?h.smoothHeight():p?(i.slides.width(i.computedW),i.update(i.pagingCount),i.setProps()):u?(i.viewport.height(i.h),i.setProps(i.h,"setTotal")):(i.vars.smoothHeight&&h.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(e){if(!u||m){var t=m?i:i.viewport;e?t.animate({height:i.slides.eq(i.animatingTo).innerHeight()},e):t.innerHeight(i.slides.eq(i.animatingTo).innerHeight())}},sync:function(t){var a=e(i.vars.sync).data("flexslider"),n=i.animatingTo;switch(t){case"animate":a.flexAnimate(n,i.vars.pauseOnAction,!1,!0);break;case"play":a.playing||a.asNav||a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=h.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){h.pauseInvisible.isHidden()?i.startTimeout?clearTimeout(i.startTimeout):i.pause():i.started?i.play():i.vars.initDelay>0?setTimeout(i.play,i.vars.initDelay):i.play()})}},isHidden:function(){var e=h.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;ti.currentSlide?"next":"prev"),f&&1===i.pagingCount&&(i.direction=i.currentItemi.limit&&1!==i.visible?i.limit:y):g=0===i.currentSlide&&t===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?v?(i.count+i.cloneOffset)*x:0:i.currentSlide===i.last&&0===t&&i.vars.animationLoop&&"prev"!==i.direction?v?0:(i.count+1)*x:v?(i.count-1-t+i.cloneOffset)*x:(t+i.cloneOffset)*x,i.setProps(g,"",i.vars.animationSpeed),i.transitions?(i.vars.animationLoop&&i.atEnd||(i.animating=!1,i.currentSlide=i.animatingTo),i.container.off("webkitTransitionEnd transitionend"),i.container.on("webkitTransitionEnd transitionend",function(){clearTimeout(i.ensureAnimationEnd),i.wrapup(x)}),clearTimeout(i.ensureAnimationEnd),i.ensureAnimationEnd=setTimeout(function(){i.wrapup(x)},i.vars.animationSpeed+100)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,function(){i.wrapup(x)})}i.vars.smoothHeight&&h.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(e){m||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(e,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(e,"jumpStart")),i.animating=!1,i.currentSlide=i.animatingTo,i.vars.after(i)},i.animateSlides=function(){!i.animating&&t&&i.flexAnimate(i.getTarget("next"))},i.pause=function(){clearInterval(i.animatedSlides),i.animatedSlides=null,i.playing=!1,i.vars.pausePlay&&h.pausePlay.update("play"),i.syncExists&&h.sync("pause")},i.play=function(){i.playing&&clearInterval(i.animatedSlides),i.animatedSlides=i.animatedSlides||setInterval(i.animateSlides,i.vars.slideshowSpeed),i.started=i.playing=!0,i.vars.pausePlay&&h.pausePlay.update("pause"),i.syncExists&&h.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(e,t){var a=f?i.pagingCount-1:i.last;return!!t||(!(!f||i.currentItem!==i.count-1||0!==e||"prev"!==i.direction)||(!f||0!==i.currentItem||e!==i.pagingCount-1||"next"===i.direction)&&(!(e===i.currentSlide&&!f)&&(!!i.vars.animationLoop||(!i.atEnd||0!==i.currentSlide||e!==a||"next"===i.direction)&&(!i.atEnd||i.currentSlide!==a||0!==e||"next"!==i.direction))))},i.getTarget=function(e){return i.direction=e,"next"===e?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(e,t,a){var n,s=(n=e||(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,function(){if(p)return"setTouch"===t?e:v&&i.animatingTo===i.last?0:v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:n;switch(t){case"setTotal":return v?(i.count-1-i.currentSlide+i.cloneOffset)*e:(i.currentSlide+i.cloneOffset)*e;case"setTouch":default:return e;case"jumpEnd":return v?e:i.count*e;case"jumpStart":return v?i.count*e:e}}()*(i.vars.rtl?1:-1)+"px");i.transitions&&(s=u?"translate3d(0,"+s+",0)":"translate3d("+parseInt(s)+"px,0,0)",a=void 0!==a?a/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",a),i.container.css("transition-duration",a)),i.args[i.prop]=s,(i.transitions||void 0===a)&&i.container.css(i.args),i.container.css("transform",s)},i.setup=function(t){var a,n;m?(i.vars.rtl?i.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):i.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(l?i.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(i.currentSlide).css({opacity:1,zIndex:2}):0==i.vars.fadeFirstSlide?i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).css({opacity:1}):i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing)),i.vars.smoothHeight&&h.smoothHeight()):("init"===t&&(i.viewport=e('
    ').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,v&&(n=e.makeArray(i.slides).reverse(),i.slides=e(n),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.cloneCount=2,i.cloneOffset=1,"init"!==t&&i.container.find(".clone").remove(),h.uniqueID(i.slides.first().clone().addClass("clone").attr("aria-hidden","true")).appendTo(i.container),h.uniqueID(i.slides.last().clone().addClass("clone").attr("aria-hidden","true")).prependTo(i.container)),i.newSlides=e(i.vars.selector,i),a=v?i.count-1-i.currentSlide+i.cloneOffset:i.currentSlide+i.cloneOffset,u&&!p?(i.container.height(200*(i.count+i.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){i.newSlides.css({display:"block"}),i.doMath(),i.viewport.height(i.h),i.setProps(a*i.h,"init")},"init"===t?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(a*i.computedW,"init"),setTimeout(function(){i.is(":visible")&&i.doMath(),i.vars.rtl?i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"right",display:"block"}):i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"left",display:"block"}),i.vars.smoothHeight&&h.smoothHeight()},"init"===t?100:0)));p||i.slides.removeClass(r+"active-slide").eq(i.currentSlide).addClass(r+"active-slide"),i.vars.init(i)},i.doMath=function(){var e=i.slides.first(),t=i.vars.itemMargin,a=i.vars.minItems,n=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.isFirefox&&(i.w=i.width()),i.h=e.height(),i.boxPadding=e.outerWidth()-e.width(),p?(i.itemT=i.vars.itemWidth+t,i.itemM=t,i.minW=a?a*i.itemT:i.w,i.maxW=n?n*i.itemT-t:i.w,i.itemW=i.minW>i.w?(i.w-t*(a-1))/a:i.maxWi.w?i.w:i.vars.itemWidth,i.visible=Math.floor(i.w/(i.itemW+t)),i.move=i.vars.move>0&&i.vars.movei.w?i.itemW*(i.count-1)+t*(i.count-1):(i.itemW+t)*i.count-i.w-t):(i.itemW=i.w,jQuery(i).children(".flex-viewport").length&&i.w!==jQuery(i).children(".flex-viewport").width()&&(i.itemW=jQuery(i).children(".flex-viewport").width()),i.itemM=t,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding,i.computedM=i.itemM},i.update=function(e,t){i.doMath(),p||(ei.controlNav.length?h.controlNav.update("add"):("remove"===t&&!p||i.pagingCounti.last&&(i.currentSlide-=1,i.animatingTo-=1),h.controlNav.update("remove",i.last))),i.vars.directionNav&&h.directionNav.update()},i.addSlide=function(t,a){var n=e(t);i.count+=1,i.last=i.count-1,u&&v?void 0!==a?i.slides.eq(i.count-a).after(n):i.container.prepend(n):void 0!==a?i.slides.eq(a).before(n):i.container.append(n),i.update(a,"add"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(t){var a=isNaN(t)?i.slides.index(e(t)):t;i.count-=1,i.last=i.count-1,isNaN(t)?e(t,i.slides).remove():u&&v?i.slides.eq(i.last).remove():i.slides.eq(t).remove(),i.doMath(),i.update(a,"remove"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},i.destroy=function(){var t="."+i.vars.namespace;i.vars.controlNav&&i.controlNav.closest(t+"control-nav").remove(),i.vars.directionNav&&i.directionNav.closest(t+"direction-nav").remove(),i.vars.pausePlay&&i.pausePlay.closest(t+"pauseplay").remove(),i.find(".clone").remove(),i.off(i.vars.eventNamespace),"fade"!=i.vars.animation&&i.container.unwrap(),i.container.removeAttr("style"),i.container.off(i.vars.eventNamespace),i.slides.removeAttr("style"),i.slides.filter(t+"active-slide").removeClass(i.vars.namespace+"active-slide"),i.slides.off(i.vars.eventNamespace),e(document).off(i.vars.eventNamespace+"-"+i.id),e(window).off(i.vars.eventNamespace+"-"+i.id),i.stop(),i.removeData("flexslider")},h.init()},e(window).on({blur:function(e){t=!1},focus:function(e){t=!0}}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"",nextText:"",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&!1===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;case"destroy":a.destroy();break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery); var fusionLightboxVideoVars={"lightbox_video_width":"1280","lightbox_video_height":"720"};!function(e,t,i){var o,n,a,r,s={flash:["swf"],image:["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","webp","avif"],iframe:["asp","aspx","cgi","cfm","htm","html","jsp","php","pl","php3","php4","php5","phtml","rb","rhtml","shtml","txt"],video:["avi","mov","mpg","mpeg","movie","mp4","webm","ogv","ogg","3gp","m4v"]},l=e(t),c=e(document),h="",u=navigator.userAgent||navigator.vendor||t.opera,p="ontouchstart"in t||navigator.msMaxTouchPoints,d=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(u.substr(0,4)),f=p?"click itap":"click",m=p?"mousedown.iLightBox touchstart.iLightBox":"mousedown.iLightBox",g=p?"mouseup.iLightBox touchend.iLightBox":"mouseup.iLightBox",v=p?"mousemove.iLightBox touchmove.iLightBox":"mousemove.iLightBox",b=Math.abs,x=Math.sqrt,y=Math.round,w=Math.max,k=Math.min,L=Math.floor,S=Math.random,I="http://www.apple.com/quicktime/download",C="http://www.adobe.com/go/getflash",O=function(t,i,o,n){var a=this;if(a.options=i,a.selector=t.selector||t,a.context=t.context,a.instant=n,o.length<1?a.attachItems():a.items=o,a.vars={total:a.items.length,start:0,current:null,next:null,prev:null,BODY:e("body"),loadRequests:0,overlay:e('
    '),loader:e('
    '),toolbar:e('
    '),innerToolbar:e('
    '),title:e('
    '),closeButton:e(''),fullScreenButton:e(''),innerPlayButton:e(''),innerNextButton:e(''),innerPrevButton:e(''),holder:e('
    '),nextPhoto:e('
    '),prevPhoto:e('
    '),nextButton:e(''),prevButton:e(''),thumbnails:e('
    '),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},a.vars.hideableElements=a.vars.nextButton.add(a.vars.prevButton),a.normalizeItems(),a.availPlugins(),a.options.startFrom=a.options.startFrom>0&&a.options.startFrom>=a.vars.total?a.vars.total-1:a.options.startFrom,a.options.startFrom=a.options.randomStart?L(S()*a.vars.total):a.options.startFrom,a.vars.start=a.options.startFrom,n?a.instantCall():a.patchItemsEvents(),a.options.linkId&&(a.hashChangeHandler(),l.iLightBoxHashChange(function(){a.hashChangeHandler()})),p){var r=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi,s="itap";a.options.caption.show=a.options.caption.show.replace(r,s),a.options.caption.hide=a.options.caption.hide.replace(r,s),a.options.social.show=a.options.social.show.replace(r,s),a.options.social.hide=a.options.social.hide.replace(r,s)}a.options.controls.arrows&&e.extend(a.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})};function B(e,t){return parseInt(e.css(t),10)||0}function T(){var e=t,i="inner";return"innerWidth"in t||(i="client",e=document.documentElement||document.body),{width:e[i+"Width"],height:e[i+"Height"]}}function A(t){var i=e("*",t),n=new Array;return i.each(function(){var t="",i=this;if("none"!=e(i).css("background-image")?t=e(i).css("background-image"):void 0!==e(i).attr("src")&&"img"==i.nodeName.toLowerCase()&&(t=e(i).attr("src")),-1==t.indexOf("gradient"))for(var a=(t=(t=(t=(t=t.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(","),r=0;r0&&-1==e.inArray(a[r],n)){var s="";o.msie&&o.version<9&&(s="?"+L(3e3*S())),n.push(a[r]+s)}}),n}function R(e){if("string"!=typeof e)return"";var t=e.split(".").pop().toLowerCase(),i=-1!==t.indexOf("?")?"?"+t.split("?").pop():"";return t.replace(i,"")}function E(e,t){var i,o=R(e);if(i=-1!==s.image.indexOf(o)?"image":-1!==s.flash.indexOf(o)?"flash":-1!==s.video.indexOf(o)?"video":"iframe",t){const e=(t=jQuery(t)).attr("data-media-type");e&&(i=e)}return i}function D(e,t){return parseInt(t/100*e)}function P(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function H(e,t){var i,o;return t=P(t||""),e=P(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.authority)+(i=t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname,o=[],i.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?o.pop():o.push(e)}),o.join("").replace(/^\//,"/"===i.charAt(0)?"/":""))+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function N(){var e=0,i=0;return"number"==typeof t.pageYOffset?(i=t.pageYOffset,e=t.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(i=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(i=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:i}}O.prototype={showLoader:function(){var e=this;e.vars.loadRequests+=1,"horizontal"==e.options.path.toLowerCase()?e.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},e.options.show.speed,"easeOutCirc"):e.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},e.options.show.speed,"easeOutCirc")},hideLoader:function(){var e=this;e.vars.loadRequests-=1,e.vars.loadRequests=e.vars.loadRequests<0?0:e.vars.loadRequests,"horizontal"==e.options.path.toLowerCase()?e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},e.options.show.speed,"easeInCirc"):e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},e.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){arguments.length>0?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var i=this,o=new Array,n=new Array;e(i.selector,i.context).each(function(){var a=e(this),r=a.attr(i.options.attr)||null,s=t.avadaLightBox&&t.avadaLightBox.parseItemOptions?t.avadaLightBox.parseItemOptions(a.data("options")):{},l=a.data("caption")?a.data("caption").toString().replace(/(<([^>]+)>)/gi,""):"",c=a.data("title")?a.data("title").toString().replace(/(<([^>]+)>)/gi,""):"",h=a.data("alt")?a.data("alt").toString().replace(/(<([^>]+)>)/gi,""):"",u=a.data("type")||E(r,this);n.push({URL:r,caption:l,title:c,alt:h,type:u,options:s}),i.instant||o.push(a)}),i.items=n,i.itemsObject=o,i.vars&&(i.vars.total=n.length)},normalizeItems:function(){var t=this,i=new Array;e.each(t.items,function(o,n){"string"==typeof n&&(n={url:n});var a=n.url||n.URL||null,r=n.options||{},s=n.caption||null,l=n.title||null,c=n.alt||null,h=n.type?n.type.toLowerCase():E(a),u="object"!=typeof a?R(a):"";if(r.thumbnail=r.thumbnail||("image"==h?a:null),r.videoType=r.videoType||null,r.skin=r.skin||t.options.skin,r.width=r.width||null,r.height=r.height||null,r.mousewheel=void 0===r.mousewheel||r.mousewheel,r.swipe=void 0===r.swipe||r.swipe,r.social=void 0!==r.social?r.social:t.options.social.buttons&&e.extend({},{},t.options.social.buttons),"video"==h&&(r.html5video=void 0!==r.html5video?r.html5video:{},r.html5video.webm=r.html5video.webm||r.html5video.WEBM||null,r.html5video.controls=void 0!==r.html5video.controls?r.html5video.controls:"controls",r.html5video.preload=r.html5video.preload||"metadata",r.html5video.autoplay=void 0!==r.html5video.autoplay&&r.html5video.autoplay),"iframe"===h)if(-1!==a.indexOf("youtube.com")){var p=a.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);p&&11===p[7].length&&(r.thumbnail="//img.youtube.com/vi/"+p[7]+"/mqdefault.jpg")}else if(-1!==a.indexOf("vimeo.com")&&-1===a.indexOf("preview=0")){var d=a.split(/[?#]/)[0];d.replace(/[^\d]/g,"");e.getJSON("https://vimeo.com/api/oembed.json?url="+d,{format:"json"},function(e){r.thumbnail=e.thumbnail_url})}r.width&&r.height||"video"!==h&&"iframe"!==h&&"flash"!==h||(r.width=parseInt(fusionLightboxVideoVars.lightbox_video_width),r.height=parseInt(fusionLightboxVideoVars.lightbox_video_height)),delete n.url,n.index=o,n.URL=a,n.caption=s,n.title=l,n.type=h,n.alt=c,n.options=r,n.ext=u,i.push(n)}),t.items=i},instantCall:function(){var e=this,t=e.vars.start;e.vars.current=t,e.vars.next=e.items[t+1]?t+1:null,e.vars.prev=e.items[t-1]?t-1:null,e.addContents(),e.patchEvents()},addContents:function(){var i=this,o=i.vars,n=i.options,a=T(),r=n.path.toLowerCase(),s=o.total>0&&i.items.filter(function(e,t,i){return-1===["image","flash","video"].indexOf(e.type)&&void 0===e.recognized&&(n.smartRecognition||e.options.smartRecognition)}),l=s.length>0;n.mobileOptimizer&&!n.innerToolbar&&(o.isMobile=a.width<=o.mobileMaxWidth),o.overlay.addClass(n.skin).hide().css("opacity",n.overlay.opacity),n.linkId&&o.overlay[0].setAttribute("linkid",n.linkId),n.controls.toolbar&&(o.toolbar.addClass(n.skin).append(o.closeButton),n.controls.fullscreen&&o.toolbar.append(o.fullScreenButton),n.controls.slideshow&&o.toolbar.append(o.innerPlayButton),o.total>1&&o.toolbar.append(o.innerPrevButton).append(o.innerNextButton)),o.BODY.addClass("ilightbox-noscroll").append(o.overlay).append(o.loader).append(o.holder).append(o.nextPhoto).append(o.prevPhoto),n.innerToolbar||o.BODY.append(o.toolbar),n.controls.arrows&&o.BODY.append(o.nextButton).append(o.prevButton),n.controls.thumbnail&&o.total>1&&(o.BODY.append(o.thumbnails),o.thumbnails.addClass(n.skin).addClass("ilightbox-"+r),e("div.ilightbox-thumbnails-grid",o.thumbnails).empty(),o.thumbs=!0);var c="horizontal"==n.path.toLowerCase()?{left:parseInt(a.width/2-o.loader.outerWidth()/2)}:{top:parseInt(a.height/2-o.loader.outerHeight()/2)};o.loader.addClass(n.skin).css(c),o.nextButton.add(o.prevButton).addClass(n.skin),"horizontal"==r&&o.loader.add(o.nextButton).add(o.prevButton).addClass("horizontal"),o.BODY[o.isMobile?"addClass":"removeClass"]("isMobile"),n.infinite||(o.prevButton.add(o.prevButton).add(o.innerPrevButton).add(o.innerNextButton).removeClass("disabled"),0==o.current&&o.prevButton.add(o.innerPrevButton).addClass("disabled"),o.current>=o.total-1&&o.nextButton.add(o.innerNextButton).addClass("disabled")),n.show.effect?(o.overlay.stop().fadeIn(n.show.speed),o.toolbar.stop().fadeIn(n.show.speed)):(o.overlay.show(),o.toolbar.show());var h=s.length;l?(i.showLoader(),e.each(s,function(t,a){i.ogpRecognition(this,function(t){var a=-1,r=(i.items.filter(function(e,i,o){return e.URL==t.url&&(a=i),e.URL==t.url}),i.items[a]);t&&e.extend(!0,r,{URL:t.source,type:t.type,recognized:!0,options:{html5video:t.html5video,width:"image"==t.type?0:t.width||r.width,height:"image"==t.type?0:t.height||r.height,thumbnail:r.options.thumbnail||t.thumbnail}}),0==--h&&(i.hideLoader(),o.dontGenerateThumbs=!1,i.generateThumbnails(),n.show.effect?setTimeout(function(){i.generateBoxes()},n.show.speed):i.generateBoxes())})})):n.show.effect?setTimeout(function(){i.generateBoxes()},n.show.speed):i.generateBoxes(),i.createUI(),t.iLightBox={close:function(){i.closeAction()},fullscreen:function(){i.fullScreenAction()},moveNext:function(){i.moveTo("next")},movePrev:function(){i.moveTo("prev")},goTo:function(e){i.goTo(e)},refresh:function(){i.refresh()},reposition:function(){arguments.length>0?i.repositionPhoto(!0):i.repositionPhoto()},setOption:function(e){i.setOption(e)},destroy:function(){i.closeAction(),i.dispatchItemsEvents()}},n.linkId&&(o.hashLock=!0,t.location.hash=n.linkId+"/"+o.current,setTimeout(function(){o.hashLock=!1},55)),n.slideshow.startPaused||(i.resume(),o.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof i.options.callback.onOpen&&i.options.callback.onOpen.call(i)},loadContent:function(t,i,o){var n,a,r=this;switch(r.createUI(),t.speed=o||r.options.effects.loadedFadeSpeed,"current"==i&&(t.options.mousewheel?r.vars.lockWheel=!1:r.vars.lockWheel=!0,t.options.swipe?r.vars.lockSwipe=!1:r.vars.lockSwipe=!0),i){case"current":n=r.vars.holder,a=r.vars.current;break;case"next":n=r.vars.nextPhoto,a=r.vars.next;break;case"prev":n=r.vars.prevPhoto,a=r.vars.prev}if(n.removeAttr("style class").addClass("ilightbox-holder"+(p?" supportTouch":"")).addClass(t.options.skin),e("div.ilightbox-inner-toolbar",n).remove(),t.title||r.options.innerToolbar){var s=r.vars.innerToolbar.clone();if(t.title&&r.options.show.title){var l=r.vars.title.clone();l.empty().html(t.title),s.append(l)}r.options.innerToolbar&&s.append(r.vars.total>1?r.vars.toolbar.clone():r.vars.toolbar),n.prepend(s)}r.loadSwitcher(t,n,a,i)},loadSwitcher:function(t,i,o,n){var a=this,r=a.options,s={element:i,position:o};switch(t.type){case"image":"function"==typeof r.callback.onBeforeLoad&&r.callback.onBeforeLoad.call(a,a.ui,o),"function"==typeof t.options.onBeforeLoad&&t.options.onBeforeLoad.call(a,s),a.loadImage(t.URL,function(l){"function"==typeof r.callback.onAfterLoad&&r.callback.onAfterLoad.call(a,a.ui,o),"function"==typeof t.options.onAfterLoad&&t.options.onAfterLoad.call(a,s);var c=l?l.width:400,h=l?l.height:200;i.data({naturalWidth:c,naturalHeight:h}),e("div.ilightbox-container",i).empty().append(l?''+t.alt+'':''+r.errors.loadImage+""),"function"==typeof r.callback.onRender&&r.callback.onRender.call(a,a.ui,o),"function"==typeof t.options.onRender&&t.options.onRender.call(a,s),a.configureHolder(t,n,i)});break;case"video":i.data({naturalWidth:t.options.width,naturalHeight:t.options.height}),a.addContent(i,t),"function"==typeof r.callback.onRender&&r.callback.onRender.call(a,a.ui,o),"function"==typeof t.options.onRender&&t.options.onRender.call(a,s),a.configureHolder(t,n,i);break;case"iframe":for(var l=t.URL.substring(t.URL.indexOf("?")+1).split("&"),c={},h=0;h').css(m).html(u)),i.show().data({naturalWidth:d||p.outerWidth(),naturalHeight:f||p.outerHeight()}).hide(),"function"==typeof r.callback.onRender&&r.callback.onRender.call(a,a.ui,o),"function"==typeof t.options.onRender&&t.options.onRender.call(a,s);var v=A(i);a.loadImage(v,function(){"function"==typeof r.callback.onAfterLoad&&r.callback.onAfterLoad.call(a,a.ui,o),"function"==typeof t.options.onAfterLoad&&t.options.onAfterLoad.call(a,s),a.configureHolder(t,n,i)}),r.ajaxSetup.success(l,c,h),"function"==typeof g.success&&g.success(l,c,h)}).fail(function(l,c,h){"function"==typeof r.callback.onAfterLoad&&r.callback.onAfterLoad.call(a,a.ui,o),"function"==typeof t.options.onAfterLoad&&t.options.onAfterLoad.call(a,s),a.hideLoader(),e("div.ilightbox-container",i).empty().append(''+r.errors.loadContents+""),a.configureHolder(t,n,i),r.ajaxSetup.error(l,c,h),"function"==typeof g.error&&g.error(l,c,h)});break;case"html":var v=t.URL;if(container=e("div.ilightbox-container",i),v[0].nodeName)p=v.clone();else{var b=e(v);p=b.selector?e("
    "+b+"
    "):b}var x=a.items[o].options.width||parseInt(p.attr("width")),y=a.items[o].options.height||parseInt(p.attr("height"));a.addContent(i,t),p.appendTo(document.documentElement).hide(),"function"==typeof r.callback.onRender&&r.callback.onRender.call(a,a.ui,o),"function"==typeof t.options.onRender&&t.options.onRender.call(a,s);m=A(i);"function"==typeof r.callback.onBeforeLoad&&r.callback.onBeforeLoad.call(a,a.ui,o),"function"==typeof t.options.onBeforeLoad&&t.options.onBeforeLoad.call(a,s),a.loadImage(m,function(){"function"==typeof r.callback.onAfterLoad&&r.callback.onAfterLoad.call(a,a.ui,o),"function"==typeof t.options.onAfterLoad&&t.options.onAfterLoad.call(a,s),i.show().data({naturalWidth:x||container.outerWidth(),naturalHeight:y||container.outerHeight()}).hide(),p.remove(),a.configureHolder(t,n,i)})}},configureHolder:function(t,i,o){var r=this,s=r.vars,l=r.options;if("current"!=i&&("next"==i?o.addClass("ilightbox-next"):o.addClass("ilightbox-prev")),"current"==i)var c=s.current;else if("next"==i){var h=l.styles.nextOpacity;c=s.next}else h=l.styles.prevOpacity,c=s.prev;var u={element:o,position:c};r.items[c].options.width=r.items[c].options.width||0,r.items[c].options.height=r.items[c].options.height||0,"current"==i?l.show.effect?o.css(n,a).fadeIn(t.speed,function(){if(o.css(n,""),t.caption){r.setCaption(t,o);var i=e("div.ilightbox-caption",o),a=parseInt(i.outerHeight()/o.outerHeight()*100);l.caption.start&a<=50&&i.fadeIn(l.effects.fadeSpeed)}var s=t.options.social;s&&(r.setSocial(s,t.URL,o),l.social.start&&e("div.ilightbox-social",o).fadeIn(l.effects.fadeSpeed)),r.generateThumbnails(),"function"==typeof l.callback.onShow&&l.callback.onShow.call(r,r.ui,c),"function"==typeof t.options.onShow&&t.options.onShow.call(r,u)}):(o.show(),r.generateThumbnails(),"function"==typeof l.callback.onShow&&l.callback.onShow.call(r,r.ui,c),"function"==typeof t.options.onShow&&t.options.onShow.call(r,u)):l.show.effect?o.fadeTo(t.speed,h,function(){"next"==i?s.nextLock=!1:s.prevLock=!1,r.generateThumbnails(),"function"==typeof l.callback.onShow&&l.callback.onShow.call(r,r.ui,c),"function"==typeof t.options.onShow&&t.options.onShow.call(r,u)}):(o.css({opacity:h}).show(),"next"==i?s.nextLock=!1:s.prevLock=!1,r.generateThumbnails(),"function"==typeof l.callback.onShow&&l.callback.onShow.call(r,r.ui,c),"function"==typeof t.options.onShow&&t.options.onShow.call(r,u)),setTimeout(function(){r.repositionPhoto()},0)},generateBoxes:function(){var e=this,t=e.vars,i=e.options;i.infinite&&t.total>=3?(t.current==t.total-1&&(t.next=0),0==t.current&&(t.prev=t.total-1)):i.infinite=!1,e.loadContent(e.items[t.current],"current",i.show.speed),e.items[t.next]&&e.loadContent(e.items[t.next],"next",i.show.speed),e.items[t.prev]&&e.loadContent(e.items[t.prev],"prev",i.show.speed)},generateThumbnails:function(){var t=this,i=t.vars,o=t.options,n=null;if(i.thumbs&&!t.vars.dontGenerateThumbs){var a=i.thumbnails,r=e("div.ilightbox-thumbnails-container",a),s=e("div.ilightbox-thumbnails-grid",r),l=0;s.removeAttr("style").empty(),e.each(t.items,function(c,h){var u=i.current==c?"ilightbox-active":"",p=i.current==c?o.thumbnails.activeOpacity:o.thumbnails.normalOpacity,d=h.options.thumbnail,f=e('
    '),m=e('
    ');f.css({opacity:0}).addClass(u),"video"!=h.type&&"flash"!=h.type||void 0!==h.options.icon?h.options.icon&&(m.addClass("ilightbox-thumbnail-"+h.options.icon),f.append(m)):(m.addClass("ilightbox-thumbnail-video"),f.append(m)),d&&t.loadImage(d,function(e){l++,e?f.data({naturalWidth:e.width,naturalHeight:e.height}).append(''):f.data({naturalWidth:o.thumbnails.maxWidth,naturalHeight:o.thumbnails.maxHeight}),clearTimeout(n),n=setTimeout(function(){t.positionThumbnails(a,r,s)},20),setTimeout(function(){f.fadeTo(o.effects.loadedFadeSpeed,p)},20*l)}),s.append(f)}),t.vars.dontGenerateThumbs=!0}},positionThumbnails:function(t,i,o){var n=this,a=n.vars,r=n.options,s=T(),l=r.path.toLowerCase();t||(t=a.thumbnails),i||(i=e("div.ilightbox-thumbnails-container",t)),o||(o=e("div.ilightbox-thumbnails-grid",i));var h=e(".ilightbox-thumbnail",o),u="horizontal"==l?s.width-r.styles.pageOffsetX:h.eq(0).outerWidth()-r.styles.pageOffsetX,p="horizontal"==l?h.eq(0).outerHeight()-r.styles.pageOffsetY:s.height-r.styles.pageOffsetY,d="horizontal"==l?0:u,f="horizontal"==l?p:0,m=e(".ilightbox-active",o),g={};arguments.length<3&&(h.css({opacity:r.thumbnails.normalOpacity}),m.css({opacity:r.thumbnails.activeOpacity})),h.each(function(t){var i=e(this),o=i.data(),a="horizontal"==l?0:r.thumbnails.maxWidth;height="horizontal"==l?r.thumbnails.maxHeight:0,dims=n.getNewDimenstions(a,height,o.naturalWidth,o.naturalHeight,!0),i.css({width:dims.width,height:dims.height}),"horizontal"==l&&i.css({float:"left"}),"horizontal"==l?d+=i.outerWidth(!0):f+=i.outerHeight()}),g={width:d,height:f},o.css(g),g={};var v=o.offset(),b=m.length?m.offset():{top:parseInt(p/2),left:parseInt(u/2)};v.top=v.top-c.scrollTop(),v.left=v.left-c.scrollLeft(),b.top=b.top-v.top-c.scrollTop(),b.left=b.left-v.left-c.scrollLeft(),"horizontal"==l?(g.top=0,g.left=parseInt(u/2-b.left-m.outerWidth()/2)):(g.top=parseInt(p/2-b.top-m.outerHeight()/2),g.left=0),arguments.length<3?o.stop().animate(g,r.effects.repositionSpeed,"easeOutCirc"):o.css(g)},loadImage:function(t,i){Array.isArray(t)||(t=[t]);var o=this,n=t.length;n>0?(o.showLoader(),e.each(t,function(e,a){var r=new Image;r.onload=function(){0==(n-=1)&&(o.hideLoader(),i(r))},r.onerror=r.onabort=function(){0==(n-=1)&&(o.hideLoader(),i(!1))},r.src=t[e]})):i(!1)},patchItemsEvents:function(){var t=this,i=t.vars,o=p?"click.iL itap.iL":"click.iL",n=p?"click.iL itap.iL":"itap.iL";if(t.context&&t.selector){var a=e(t.selector,t.context);e(t.context).on(o,t.selector,function(){var o=e(this),n=a.index(o);return i.current=n,i.next=t.items[n+1]?n+1:null,i.prev=t.items[n-1]?n-1:null,t.addContents(),t.patchEvents(),!1}).on(n,t.selector,function(){return!1})}else e.each(t.itemsObject,function(e,a){a.on(o,function(){return i.current=e,i.next=t.items[e+1]?e+1:null,i.prev=t.items[e-1]?e-1:null,t.addContents(),t.patchEvents(),!1}).on(n,function(){return!1})})},dispatchItemsEvents:function(){var t=this;t.vars,t.options;t.context&&t.selector?e(t.context).off(".iL",t.selector):e.each(t.itemsObject,function(e,t){t.off(".iL")})},refresh:function(){var e=this;e.dispatchItemsEvents(),e.attachItems(),e.normalizeItems(),e.patchItemsEvents()},patchEvents:function(){var o=this,r=o.vars,s=o.options,u=s.path.toLowerCase(),d=e(".ilightbox-holder"),x=h.fullScreenEventName+".iLightBox",y=verticalDistanceThreshold=100,w=[r.nextButton[0],r.prevButton[0],r.nextButton[0].firstChild,r.prevButton[0].firstChild];l.on("resize.iLightBox",function(){var e=T();s.mobileOptimizer&&!s.innerToolbar&&(r.isMobile=e.width<=r.mobileMaxWidth),r.BODY[r.isMobile?"addClass":"removeClass"]("isMobile"),r.nextLock||r.prevLock||o.repositionPhoto(null),p&&(clearTimeout(r.setTime),r.setTime=setTimeout(function(){var e=N().y;t.scrollTo(0,e-30),t.scrollTo(0,e+30),t.scrollTo(0,e)},2e3)),r.thumbs&&o.positionThumbnails()}).on("keydown.iLightBox",function(e){if(s.controls.keyboard)switch(e.keyCode){case 13:e.shiftKey&&s.keyboard.shift_enter&&o.fullScreenAction();break;case 27:s.keyboard.esc&&o.closeAction();break;case 37:s.keyboard.left&&!r.lockKey&&o.moveTo("prev");break;case 38:s.keyboard.up&&!r.lockKey&&o.moveTo("prev");break;case 39:s.keyboard.right&&!r.lockKey&&o.moveTo("next");break;case 40:s.keyboard.down&&!r.lockKey&&o.moveTo("next")}}),h.supportsFullScreen&&l.on(x,function(){o.doFullscreen()});var k=[s.caption.show+".iLightBox",s.caption.hide+".iLightBox",s.social.show+".iLightBox",s.social.hide+".iLightBox"].filter(function(e,t,i){return i.lastIndexOf(e)===t}),L="";e.each(k,function(e,t){0!=e&&(L+=" "),L+=t}),c.on(f,".ilightbox-overlay",function(){s.overlay.blur&&o.closeAction()}).on(f,".ilightbox-next, .ilightbox-next-button",function(){o.moveTo("next")}).on(f,".ilightbox-prev, .ilightbox-prev-button",function(){o.moveTo("prev")}).on(f,".ilightbox-thumbnail",function(){var t=e(this),i=e(".ilightbox-thumbnail",r.thumbnails).index(t);i!=r.current&&o.goTo(i)}).on(L,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(t){var i=e("div.ilightbox-caption",r.holder),o=e("div.ilightbox-social",r.holder),n=s.effects.fadeSpeed;r.nextLock||r.prevLock?(t.type!=s.caption.show||i.is(":visible")?t.type==s.caption.hide&&i.is(":visible")&&i.fadeOut(n):i.fadeIn(n),t.type!=s.social.show||o.is(":visible")?t.type==s.social.hide&&o.is(":visible")&&o.fadeOut(n):o.fadeIn(n)):(t.type!=s.caption.show||i.is(":visible")?t.type==s.caption.hide&&i.is(":visible")&&i.stop().fadeOut(n):i.stop().fadeIn(n),t.type!=s.social.show||o.is(":visible")?t.type==s.social.hide&&o.is(":visible")&&o.stop().fadeOut(n):o.stop().fadeIn(n))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(e){"mouseenter"==e.type?r.lockWheel=!0:r.lockWheel=!1}).on(f,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",function(){var t=e(this);t.hasClass("fusion-updated")||(t.hasClass("ilightbox-fullscreen")?o.fullScreenAction():t.hasClass("ilightbox-play")?(o.resume(),t.addClass("ilightbox-pause").removeClass("ilightbox-play")):t.hasClass("ilightbox-pause")?(o.pause(),t.addClass("ilightbox-play").removeClass("ilightbox-pause")):o.closeAction(),t.addClass("fusion-updated"),setTimeout(function(){t.removeClass("fusion-updated")},100))}).on(v,".ilightbox-overlay, .ilightbox-thumbnails-container",function(e){e.preventDefault()}),s.controls.arrows&&!p&&c.on("mousemove.iLightBox",function(e){r.isMobile||(r.mouseID||r.hideableElements.show(),r.mouseID=clearTimeout(r.mouseID),-1===w.indexOf(e.target)&&(r.mouseID=setTimeout(function(){r.hideableElements.hide(),r.mouseID=clearTimeout(r.mouseID)},3e3)))}),s.controls.slideshow&&s.slideshow.pauseOnHover&&c.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(e){"mouseenter"==e.type&&r.cycleID?o.pause():"mouseleave"==e.type&&r.isPaused&&o.resume()});var S=e(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails");s.controls.mousewheel&&S.on("mousewheel.iLightBox",function(e,t){r.lockWheel||(e.preventDefault(),t<0?o.moveTo("next"):t>0&&o.moveTo("prev"))}),s.controls.swipe&&d.on(m,function(t){if(!(r.nextLock||r.prevLock||1==r.total||r.lockSwipe)){r.BODY.addClass("ilightbox-closedhand");var l,h=t.originalEvent.touches?t.originalEvent.touches[0]:t,p=c.scrollTop(),f=c.scrollLeft(),m=[d.eq(0).offset(),d.eq(1).offset(),d.eq(2).offset()],x=[{top:m[0].top-p,left:m[0].left-f},{top:m[1].top-p,left:m[1].left-f},{top:m[2].top-p,left:m[2].left-f}],w={time:(new Date).getTime(),coords:[h.pageX-f,h.pageY-p]};d.on(v,L),c.one(g,function(e){d.off(v,L),r.BODY.removeClass("ilightbox-closedhand"),w&&l&&("horizontal"==u&&l.time-w.time<1e3&&b(w.coords[0]-l.coords[0])>y&&b(w.coords[1]-l.coords[1])l.coords[0]?r.current!=r.total-1||s.infinite?(r.isSwipe=!0,o.moveTo("next")):S():0!=r.current||s.infinite?(r.isSwipe=!0,o.moveTo("prev")):S():"vertical"==u&&l.time-w.time<1e3&&b(w.coords[1]-l.coords[1])>y&&b(w.coords[0]-l.coords[0])l.coords[1]?r.current!=r.total-1||s.infinite?(r.isSwipe=!0,o.moveTo("next")):S():0!=r.current||s.infinite?(r.isSwipe=!0,o.moveTo("prev")):S():S()),w=l=i})}function k(t){var i=e(this),o=x[t],n=[w.coords[0]-l.coords[0],w.coords[1]-l.coords[1]];i[0].style["horizontal"==u?"left":"top"]=("horizontal"==u?o.left-n[0]:o.top-n[1])+"px"}function L(e){if(w){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;l={time:(new Date).getTime(),coords:[t.pageX-f,t.pageY-p]},d.each(k),e.preventDefault()}}function S(){d.each(function(){var t=e(this),i=t.data("offset")||{top:t.offset().top-p,left:t.offset().left-f},o=i.top,r=i.left;t.css(n,a).stop().animate({top:o,left:r},500,"easeOutCirc",function(){t.css(n,"")})})}})},goTo:function(i){var o=this,r=o.vars,s=o.options,l=i-r.current;if(s.infinite&&(i==r.total-1&&0==r.current&&(l=-1),r.current==r.total-1&&0==i&&(l=1)),1==l)o.moveTo("next");else if(-1==l)o.moveTo("prev");else{if(r.nextLock||r.prevLock)return!1;"function"==typeof s.callback.onBeforeChange&&s.callback.onBeforeChange.call(o,o.ui),s.linkId&&(r.hashLock=!0,t.location.hash=s.linkId+"/"+i),o.items[i]&&(o.items[i].options.mousewheel?o.vars.lockWheel=!1:r.lockWheel=!0,o.items[i].options.swipe?r.lockSwipe=!1:r.lockSwipe=!0),e.each([r.holder,r.nextPhoto,r.prevPhoto],function(e,t){t.css(n,a).fadeOut(s.effects.loadedFadeSpeed)}),r.current=i,r.next=i+1,r.prev=i-1,o.createUI(),setTimeout(function(){o.generateBoxes()},s.effects.loadedFadeSpeed+50),e(".ilightbox-thumbnail",r.thumbnails).removeClass("ilightbox-active").eq(i).addClass("ilightbox-active"),o.positionThumbnails(),s.linkId&&setTimeout(function(){r.hashLock=!1},55),s.infinite||(r.nextButton.add(r.prevButton).add(r.innerPrevButton).add(r.innerNextButton).removeClass("disabled"),0==r.current&&r.prevButton.add(r.innerPrevButton).addClass("disabled"),r.current>=r.total-1&&r.nextButton.add(r.innerNextButton).addClass("disabled")),o.resetCycle(),"function"==typeof s.callback.onAfterChange&&s.callback.onAfterChange.call(o,o.ui)}},moveTo:function(i){var o=this,r=o.vars,s=o.options,l=s.path.toLowerCase(),c=T(),h=s.effects.switchSpeed,u=o.vars.holder,p=u.find("iframe").length?u.find("iframe").attr("src"):"";if(p&&-1!==p.indexOf("vimeo.com")&&u.find("iframe").attr("src",p),r.nextLock||r.prevLock)return!1;var d="next"==i?r.next:r.prev;if(s.linkId&&d&&(r.hashLock=!0,t.location.hash=s.linkId+"/"+d),"next"==i){if(!o.items[d])return!1;var f=r.nextPhoto,m=r.holder,g=r.prevPhoto,v="ilightbox-prev",b="ilightbox-next"}else if("prev"==i){if(!o.items[d])return!1;f=r.prevPhoto,m=r.holder,g=r.nextPhoto,v="ilightbox-next",b="ilightbox-prev"}"function"==typeof s.callback.onBeforeChange&&s.callback.onBeforeChange.call(o,o.ui),"next"==i?r.nextLock=!0:r.prevLock=!0;var x=e("div.ilightbox-caption",m),y=e("div.ilightbox-social",m);if(x.length&&x.stop().fadeOut(h,function(){e(this).remove()}),y.length&&y.stop().fadeOut(h,function(){e(this).remove()}),o.items[d].caption){o.setCaption(o.items[d],f);var w=e("div.ilightbox-caption",f),k=parseInt(w.outerHeight()/f.outerHeight()*100);s.caption.start&&k<=50&&w.fadeIn(h)}var L=o.items[d].options.social;L&&(o.setSocial(L,o.items[d].URL,f),s.social.start&&e("div.ilightbox-social",f).fadeIn(s.effects.fadeSpeed)),e.each([f,m,g],function(e,t){t.removeClass("ilightbox-next ilightbox-prev")});var S=f.data("offset"),I=c.width-s.styles.pageOffsetX,C=c.height-s.styles.pageOffsetY,O=S.newDims.width,A=S.newDims.height,R=S.thumbsOffset,E=S.diff,D=parseInt(C/2-A/2-E.H-R.H/2),P=parseInt(I/2-O/2-E.W-R.W/2);f.css(n,a).animate({top:D,left:P,opacity:1},h,r.isSwipe?"easeOutCirc":"easeInOutCirc",function(){f.css(n,"")}),e("div.ilightbox-container",f).animate({width:O,height:A},h,r.isSwipe?"easeOutCirc":"easeInOutCirc");var H=m.data("offset"),N=H.object;E=H.diff,O=H.newDims.width,A=H.newDims.height,O=parseInt(O*s.styles["next"==i?"prevScale":"nextScale"]),A=parseInt(A*s.styles["next"==i?"prevScale":"nextScale"]),D="horizontal"==l?parseInt(C/2-N.offsetY-A/2-E.H-R.H/2):parseInt(C-N.offsetX-E.H-R.H/2),"prev"==i?P="horizontal"==l?parseInt(I-N.offsetX-E.W-R.W/2):parseInt(I/2-O/2-E.W-N.offsetY-R.W/2):(D="horizontal"==l?D:parseInt(N.offsetX-E.H-A-R.H/2),P="horizontal"==l?parseInt(N.offsetX-E.W-O-R.W/2):parseInt(I/2-N.offsetY-O/2-E.W-R.W/2)),e("div.ilightbox-container",m).animate({width:O,height:A},h,r.isSwipe?"easeOutCirc":"easeInOutCirc"),m.addClass(v).css(n,a).animate({top:D,left:P,opacity:s.styles.prevOpacity},h,r.isSwipe?"easeOutCirc":"easeInOutCirc",function(){m.css(n,""),e(".ilightbox-thumbnail",r.thumbnails).removeClass("ilightbox-active").eq(d).addClass("ilightbox-active"),o.positionThumbnails(),o.items[d]&&(o.items[d].options.mousewheel?r.lockWheel=!1:r.lockWheel=!0,o.items[d].options.swipe?r.lockSwipe=!1:r.lockSwipe=!0),r.isSwipe=!1,"next"==i?(r.nextPhoto=g,r.prevPhoto=m,r.holder=f,r.nextPhoto.hide(),r.next=r.next+1,r.prev=r.current,r.current=r.current+1,s.infinite&&(r.current>r.total-1&&(r.current=0),r.current==r.total-1&&(r.next=0),0==r.current&&(r.prev=r.total-1)),o.createUI(),o.items[r.next]?o.loadContent(o.items[r.next],"next"):r.nextLock=!1):(r.prevPhoto=g,r.nextPhoto=m,r.holder=f,r.prevPhoto.hide(),r.next=r.current,r.current=r.prev,r.prev=r.current-1,s.infinite&&(r.current==r.total-1&&(r.next=0),0==r.current&&(r.prev=r.total-1)),o.createUI(),o.items[r.prev]?o.loadContent(o.items[r.prev],"prev"):r.prevLock=!1),s.linkId&&setTimeout(function(){r.hashLock=!1},55),s.infinite||(r.nextButton.add(r.prevButton).add(r.innerPrevButton).add(r.innerNextButton).removeClass("disabled"),0==r.current&&r.prevButton.add(r.innerPrevButton).addClass("disabled"),r.current>=r.total-1&&r.nextButton.add(r.innerNextButton).addClass("disabled")),o.repositionPhoto(),o.resetCycle(),"function"==typeof s.callback.onAfterChange&&s.callback.onAfterChange.call(o,o.ui)}),D="horizontal"==l?B(g,"top"):"next"==i?parseInt(-C/2-g.outerHeight()):parseInt(2*D),P="horizontal"==l?"next"==i?parseInt(-I/2-g.outerWidth()):parseInt(2*P):B(g,"left"),g.css(n,a).animate({top:D,left:P,opacity:s.styles.nextOpacity},h,r.isSwipe?"easeOutCirc":"easeInOutCirc",function(){g.css(n,"")}).addClass(b)},setCaption:function(t,i){var o=e('
    ');t.caption&&(o.html(t.caption),e("div.ilightbox-container",i).append(o))},normalizeSocial:function(i,o){this.vars;var n=this.options,a=t.location.href;return e.each(i,function(e,r){if(!r)return!0;var s,l;switch(e.toLowerCase()){case"facebook":s="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",l="Share on Facebook";break;case"twitter":s="http://twitter.com/home?status={URL}",l="Share on Twitter";break;case"delicious":s="http://delicious.com/post?url={URL}",l="Share on Delicious";break;case"digg":s="http://digg.com/submit?phase=2&url={URL}",l="Share on Digg";break;case"reddit":s="http://reddit.com/submit?url={URL}",l="Share on reddit"}i[e]={URL:r.URL&&H(a,r.URL)||n.linkId&&t.location.href||"string"!=typeof o&&a||o&&H(a,o)||a,source:r.source||s||r.URL&&H(a,r.URL)||o&&H(a,o),text:r.text||l||"Share on "+e,width:void 0===r.width||isNaN(r.width)?640:parseInt(r.width),height:r.height||360}}),i},setSocial:function(t,i,o){var n=e('
    '),a="
      ";t=this.normalizeSocial(t,i),e.each(t,function(e,t){e.toLowerCase();var i=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")),o="mail"===e?"":'onclick="javascript:window.open(this.href'+(t.width<=0||t.height<=0?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+');return false;"';a+='
    • '}),a+="
    ",n.html(a),e("div.ilightbox-container",o).append(n)},fullScreenAction:function(){this.vars;h.supportsFullScreen?h.isFullScreen()?h.cancelFullScreen(document.documentElement):h.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var t=this,i=t.vars,o=T(),n=t.options;if(n.fullAlone){var a=i.holder,r=t.items[i.current],s=o.width,l=o.height,c=[a,i.nextPhoto,i.prevPhoto,i.nextButton,i.prevButton,i.overlay,i.toolbar,i.thumbnails,i.loader],h=[i.loader,i.thumbnails];if(i.isInFullScreen)i.isInFullScreen=i.lockKey=i.lockWheel=i.lockSwipe=!1,i.overlay.css({opacity:t.options.overlay.opacity}),e.each(h,function(e,t){t.show()}),i.fullScreenButton.attr("title",n.text.enterFullscreen),a.data({naturalWidth:a.data("naturalWidthOld"),naturalHeight:a.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),e.each(c,function(e,t){t.removeClass("ilightbox-fullscreen")}),"function"==typeof n.callback.onExitFullScreen&&n.callback.onExitFullScreen.call(t,t.ui);else{if(i.isInFullScreen=i.lockKey=i.lockWheel=i.lockSwipe=!0,i.overlay.css({opacity:1}),e.each(h,function(e,t){t.hide()}),i.fullScreenButton.attr("title",n.text.exitFullscreen),-1!=n.fullStretchTypes.indexOf(r.type))a.data({naturalWidthOld:a.data("naturalWidth"),naturalHeightOld:a.data("naturalHeight"),naturalWidth:s,naturalHeight:l});else{o=r.options.fullViewPort||n.fullViewPort||"";var u=s,p=l,d=a.data("naturalWidth"),f=a.data("naturalHeight");if("fill"==o.toLowerCase())(p=u/d*f)u||f>p;u=(m=t.getNewDimenstions(u,p,d,f,g)).width,p=m.height}a.data({naturalWidthOld:a.data("naturalWidth"),naturalHeightOld:a.data("naturalHeight"),naturalWidth:u,naturalHeight:p})}e.each(c,function(e,t){t.addClass("ilightbox-fullscreen")}),"function"==typeof n.callback.onEnterFullScreen&&n.callback.onEnterFullScreen.call(t,t.ui)}}else i.isInFullScreen?i.isInFullScreen=!1:i.isInFullScreen=!0;t.repositionPhoto(!0)},closeAction:function(){var i=this,o=i.vars,n=i.options;l.off(".iLightBox"),c.off(".iLightBox"),c.off(f,".ilightbox-overlay"),c.off(f,".ilightbox-next, .ilightbox-next-button"),c.off(f,".ilightbox-prev, .ilightbox-prev-button"),c.off(f,".ilightbox-thumbnail"),c.off(f,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause"),o.isInFullScreen&&h.cancelFullScreen(document.documentElement),e(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox"),n.hide.effect?o.overlay.stop().fadeOut(n.hide.speed,function(){o.overlay.remove(),o.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(o.overlay.remove(),o.BODY.removeClass("ilightbox-noscroll").off(".iLightBox"));var a,r=[o.toolbar,o.holder,o.nextPhoto,o.prevPhoto,o.nextButton,o.prevButton,o.loader,o.thumbnails];e.each(r,function(e,t){t.removeAttr("style").remove()}),o.prevButton.removeClass("disabled"),o.nextButton.removeClass("disabled"),o.dontGenerateThumbs=o.isInFullScreen=!1,t.iLightBox=null,n.linkId&&(o.hashLock=!0,a=N(),t.location.hash="",t.scrollTo(a.x,a.y),setTimeout(function(){o.hashLock=!1},55)),"function"==typeof n.callback.onHide&&n.callback.onHide.call(i,i.ui)},repositionPhoto:function(){var t=this,i=t.vars,o=t.options,n=o.path.toLowerCase(),a=T(),r=a.width,s=a.height,l=i.isInFullScreen&&o.fullAlone||i.isMobile||"horizontal"==n?0:i.thumbnails.outerWidth(),c=i.isMobile?i.toolbar.outerHeight():i.isInFullScreen&&o.fullAlone?0:"horizontal"==n?i.thumbnails.outerHeight():0,h=i.isInFullScreen&&o.fullAlone?r:r-o.styles.pageOffsetX,u=i.isInFullScreen&&o.fullAlone?s:s-o.styles.pageOffsetY,p="horizontal"==n?parseInt(t.items[i.next]||t.items[i.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):h/10<=30?30:h/10):parseInt(h/10<=30?30:h/10)+l,d="horizontal"==n?parseInt(u/10<=30?30:u/10)+c:parseInt(t.items[i.next]||t.items[i.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):u/10<=30?30:u/10),f={type:"current",width:h,height:u,item:t.items[i.current],offsetW:p,offsetH:d,thumbsOffsetW:l,thumbsOffsetH:c,animate:arguments.length,holder:i.holder};t.repositionEl(f),t.items[i.next]&&(f=e.extend(f,{type:"next",item:t.items[i.next],offsetX:o.styles.nextOffsetX,offsetY:o.styles.nextOffsetY,holder:i.nextPhoto}),t.repositionEl(f)),t.items[i.prev]&&(f=e.extend(f,{type:"prev",item:t.items[i.prev],offsetX:o.styles.prevOffsetX,offsetY:o.styles.prevOffsetY,holder:i.prevPhoto}),t.repositionEl(f));var m="horizontal"==n?{left:parseInt(h/2-i.loader.outerWidth()/2)}:{top:parseInt(u/2-i.loader.outerHeight()/2)};i.loader.css(m)},repositionEl:function(t){var i=this,o=i.vars,r=i.options,s=r.path.toLowerCase(),l="current"==t.type&&o.isInFullScreen&&r.fullAlone?t.width:t.width-t.offsetW,c="current"==t.type&&o.isInFullScreen&&r.fullAlone?t.height:t.height-t.offsetH,h=t.item,u=t.item.options,p=t.holder,d=t.offsetX||0,f=t.offsetY||0,m=t.thumbsOffsetW,g=t.thumbsOffsetH;"current"==t.type?("number"==typeof u.width&&u.width&&(l=o.isInFullScreen&&r.fullAlone&&(-1!=r.fullStretchTypes.indexOf(h.type)||u.fullViewPort||r.fullViewPort)||u.width>l?l:u.width),"number"==typeof u.height&&u.height&&(c=o.isInFullScreen&&r.fullAlone&&(-1!=r.fullStretchTypes.indexOf(h.type)||u.fullViewPort||r.fullViewPort)||u.height>c?c:u.height)):("number"==typeof u.width&&u.width&&(l=u.width>l?l:u.width),"number"==typeof u.height&&u.height&&(c=u.height>c?c:u.height)),e(".ilightbox-inner-toolbar",p).length&&(c=parseInt(c-e(".ilightbox-inner-toolbar",p).outerHeight()));var v="string"==typeof u.width&&-1!=u.width.indexOf("%")?D(parseInt(u.width.replace("%","")),t.width):p.data("naturalWidth"),b="string"==typeof u.height&&-1!=u.height.indexOf("%")?D(parseInt(u.height.replace("%","")),t.height):p.data("naturalHeight"),x="string"==typeof u.width&&-1!=u.width.indexOf("%")||"string"==typeof u.height&&-1!=u.height.indexOf("%")?{width:v,height:b}:i.getNewDimenstions(l,c,v,b),y=e.extend({},x,{});"prev"==t.type||"next"==t.type?(v=parseInt(x.width*("next"==t.type?r.styles.nextScale:r.styles.prevScale)),b=parseInt(x.height*("next"==t.type?r.styles.nextScale:r.styles.prevScale))):(v=x.width,b=x.height);var w=parseInt((B(p,"padding-left")+B(p,"padding-right")+B(p,"border-left-width")+B(p,"border-right-width"))/2),k=parseInt((B(p,"padding-top")+B(p,"padding-bottom")+B(p,"border-top-width")+B(p,"border-bottom-width")+(e(".ilightbox-inner-toolbar",p).outerHeight()||0))/2);switch(t.type){case"current":var L=parseInt(t.height/2-b/2-k-g/2),S=parseInt(t.width/2-v/2-w-m/2);break;case"next":L="horizontal"==s?parseInt(t.height/2-f-b/2-k-g/2):parseInt(t.height-d-k-g/2),S="horizontal"==s?parseInt(t.width-d-w-m/2):parseInt(t.width/2-v/2-w-f-m/2);break;case"prev":L="horizontal"==s?parseInt(t.height/2-f-b/2-k-g/2):parseInt(d-k-b-g/2),S="horizontal"==s?parseInt(d-w-v-m/2):parseInt(t.width/2-f-v/2-w-m/2)}p.data("offset",{top:L,left:S,newDims:y,diff:{W:w,H:k},thumbsOffset:{W:m,H:g},object:t}),t.animate>0&&r.effects.reposition?(p.css(n,a).stop().animate({top:L,left:S},r.effects.repositionSpeed,"easeOutCirc",function(){p.css(n,"")}),e("div.ilightbox-container",p).stop().animate({width:v,height:b},r.effects.repositionSpeed,"easeOutCirc"),e("div.ilightbox-inner-toolbar",p).stop().animate({width:v},r.effects.repositionSpeed,"easeOutCirc",function(){e(this).css("overflow","visible")})):(p.css({top:L,left:S}),e("div.ilightbox-container",p).css({width:v,height:b}),e("div.ilightbox-inner-toolbar",p).css({width:v}))},resume:function(e){var t=this,i=t.vars,o=t.options;!o.slideshow.pauseTime||o.controls.slideshow&&i.total<=1||ea.options.maxScale?factor=a.options.maxScale:factor=0,html5H264:!(!e.canPlayType||!e.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!e.canPlayType||!e.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!e.canPlayType||!e.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!e.canPlayType||!e.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(t,i){var n=this;switch(i.type){case"video":var a=!1,r=i.videoType,s=i.options.html5video;("video/mp4"==(r=!r&&i.options.videoType?i.options.videoType:r)||"mp4"==i.ext||"m4v"==i.ext||s.h264)&&n.plugins.html5H264?(i.ext="mp4",i.URL=s.h264||i.URL):s.webm&&n.plugins.html5WebM?(i.ext="webm",i.URL=s.webm||i.URL):s.ogg&&n.plugins.html5Vorbis&&(i.ext="ogv",i.URL=s.ogg||i.URL),!n.plugins.html5H264||"video/mp4"!=r&&"mp4"!=i.ext&&"m4v"!=i.ext?!n.plugins.html5WebM||"video/webm"!=r&&"webm"!=i.ext?!n.plugins.html5Vorbis||"video/ogg"!=r&&"ogv"!=i.ext?!n.plugins.html5QuickTime||"video/quicktime"!=r&&"mov"!=i.ext&&"qt"!=i.ext||(a=!0,r="video/quicktime"):(a=!0,r="video/ogg"):(a=!0,r="video/webm"):(a=!0,r="video/mp4"),a?x=e("