var _wAMD;!function(){if(!_wAMD||!_wAMD.requirejs){_wAMD?t=_wAMD:_wAMD={};var e,t,i;!function(n){function o(e,t){return w.call(e,t)}function s(e,t){var i,n,o,s,r,a,l,c,d,u,h=t&&t.split("/"),p=y.map,f=p&&p["*"]||{};if(e&&"."===e.charAt(0))if(t){for(h=h.slice(0,h.length-1),e=h.concat(e.split("/")),c=0;c0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((h||f)&&p){for(i=e.split("/"),c=i.length;c>0;c-=1){if(n=i.slice(0,c).join("/"),h)for(d=h.length;d>0;d-=1)if(o=p[h.slice(0,d).join("/")],o&&(o=o[n])){s=o,r=c;break}if(s)break;!a&&f&&f[n]&&(a=f[n],l=c)}!s&&a&&(s=a,r=l),s&&(i.splice(0,r,s),e=i.join("/"))}return e}function r(e,t){return function(){return p.apply(n,_.call(arguments,0).concat([e,t]))}}function a(e){return function(t){return s(t,e)}}function l(e){return function(t){g[e]=t}}function c(e){if(o(v,e)){var t=v[e];delete v[e],b[e]=!0,h.apply(n,t)}if(!o(g,e)&&!o(b,e))throw new Error("No "+e);return g[e]}function d(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function u(e){return function(){return y&&y.config&&y.config[e]||{}}}var h,p,f,m,g={},v={},y={},b={},w=Object.prototype.hasOwnProperty,_=[].slice;f=function(e,t){var i,n=d(e),o=n[0];return e=n[1],o&&(o=s(o,t),i=c(o)),o?e=i&&i.normalize?i.normalize(e,a(t)):s(e,t):(e=s(e,t),n=d(e),o=n[0],e=n[1],o&&(i=c(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:i}},m={require:function(e){return r(e)},exports:function(e){var t=g[e];return"undefined"!=typeof t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:u(e)}}},h=function(e,t,i,s){var a,d,u,h,p,y,w=[];if(s=s||e,"function"==typeof i){for(t=!t.length&&i.length?["require","exports","module"]:t,p=0;p0&&0>=r?e():t?a.unshift(e):a.push(e)}function t(){var e=Array.prototype.slice.apply(arguments);if(1===e.length&&"string"==typeof e[0]);else{var t;"function"==typeof e[e.length-1]&&(t=e.pop()),s++,r++,e.push(function(){var e;if(t&&(e=t.apply(this,arguments)),r--,s>0&&0>=r)for(;a.length;)a.shift()();return e})}return p.apply(this,e)}function i(){window.define=l,window.require=c,window.requirejs=d}function n(){Weebly.jQuery.noConflict(!0),window.jQuery=window.jQuery||Weebly.jQuery}function o(){i(),n()}_W=Weebly=window.Weebly||{},_W.tl=_W.tl||function(e){return e},Weebly.ns=function(e,t){for(var t=t||window,i=e.split("."),n=0,o=i.length;o>n;n++){var s=i[n];"string"!=typeof s?t=s:(t[s]||(t[s]={}),t=t[s])}return t};var s=0,r=0,a=[];Weebly.ready=e;var l=window.define,c=window.require,d=window.requirejs,u=window._wAMD||{},h=u.define||window.define,p=u.require||window.require,f=u.requirejs||window.requirejs;window.define=u.define=h,window.require=u.require=t,window.requirejs=u.requirejs=f,Weebly.relinquishAMD=i,Weebly.jQuery=jQuery,Weebly.relinquishJQuery=n;var m=jQuery.fn.ready;jQuery.fn.ready=function(){var t=this,i=arguments;return e(function(){m.apply(t,i)}),t},Weebly.relinquish=o}(),window.console||(window.console={}),window.console.log||(window.console.log=function(){},window.console.warn=window.console.log,window.console.info=window.console.log,window.console.error=window.console.log),_wAMD.define("init",function(){}),_wAMD.define("jquery",[],function(){return Weebly.jQuery}),function(e,t,i){function n(e){return e.match(/\D+$/)}function o(e,t,i,n){if("d"!=i&&u(e)){var o=v.exec(t),s="auto"===e.css(i)?0:e.css(i),r="string"==typeof s?d(s):s,a=("string"==typeof t?d(t):t,n===!0?0:r),l=e.is(":hidden"),c=e.translation();if("left"==i&&(a=parseInt(r,10)+c.x),"right"==i&&(a=parseInt(r,10)+c.x),"top"==i&&(a=parseInt(r,10)+c.y),"bottom"==i&&(a=parseInt(r,10)+c.y),o||"show"!=t?o||"hide"!=t||(a=0):(a=1,l&&e.css({display:"block",opacity:0})),o){var h=parseFloat(o[2]);return o[1]&&(h=("-="===o[1]?-1:1)*h+parseInt(a,10)),h}return a}}function s(e,t,i){return(i===!0||A===!0&&i!==!1)&&M?"translate3d("+e+"px, "+t+"px, 0)":"translate("+e+"px,"+t+"px)"}function r(t,i,n,o,s,r,l,u){var h=t.data(_),p=h&&!c(h)?h:e.extend(!0,{},b),m=s,g=e.inArray(i,f)>-1;if(g){var v=p.meta,y=d(t.css(i))||0,w=i+"_o";m=s-y,v[i]=m,v[w]="auto"==t.css(i)?0+m:y+m||0,p.meta=v,l&&0===m&&(m=0-v[w],v[i]=m,v[w]=0)}return t.data(_,a(t,p,i,n,o,m,r,l,u))}function a(e,t,i,n,o,r,a,l,c){var d=!1,u=a===!0&&l===!0;t=t||{},t.original||(t.original={},d=!0),t.properties=t.properties||{},t.secondary=t.secondary||{};for(var h=t.meta,p=t.original,f=t.properties,g=t.secondary,v=m.length-1;v>=0;v--){var y=m[v]+"transition-property",b=m[v]+"transition-duration",w=m[v]+"transition-timing-function";i=u?m[v]+"transform":i,d&&(p[y]=e.css(y)||"",p[b]=e.css(b)||"",p[w]=e.css(w)||""),g[i]=u?s(h.left,h.top,c):r,f[y]=(f[y]?f[y]+",":"")+i,f[b]=(f[b]?f[b]+",":"")+n+"ms",f[w]=(f[w]?f[w]+",":"")+o}return t}function l(e){for(var t in e)if(!("width"!=t&&"height"!=t||"show"!=e[t]&&"hide"!=e[t]&&"toggle"!=e[t]))return!0;return!1}function c(e){for(var t in e)return!1;return!0}function d(e){return parseFloat(e.replace(n(e),""))}function u(e){var t=!0;return e.each(function(e,i){return t=t&&i.ownerDocument}),t}function h(t,i,n){if(!u(n))return!1;var o=e.inArray(t,p)>-1;return"width"!=t&&"height"!=t&&"opacity"!=t||parseFloat(i)!==parseFloat(n.css(t))||(o=!1),o}var p=["top","right","bottom","left","opacity","height","width"],f=["top","right","bottom","left"],m=["-webkit-","-moz-","-o-",""],g=["avoidTransforms","useTranslate3d","leaveTransforms"],v=/^([+-]=)?([\d+-.]+)(.*)$/,y=/([A-Z])/g,b={secondary:{},meta:{top:0,right:0,bottom:0,left:0}},w="px",_="jQe",C="cubic-bezier(",S=")",x=null,k=!1,E=document.body||document.documentElement,T=E.style,D="webkitTransitionEnd oTransitionEnd transitionend",P=void 0!==T.WebkitTransition||void 0!==T.MozTransition||void 0!==T.OTransition||void 0!==T.transition,M="WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix,A=M;e.expr&&e.expr.filters&&(x=e.expr.filters.animated,e.expr.filters.animated=function(t){return e(t).data("events")&&e(t).data("events")[D]?!0:x.call(this,t)}),e.extend({toggle3DByDefault:function(){return A=!A},toggleDisabledByDefault:function(){return k=!k}}),e.fn.translation=function(){if(!this[0])return null;var e=this[0],t=window.getComputedStyle(e,null),i={x:0,y:0};if(t)for(var n=m.length-1;n>=0;n--){var o=t.getPropertyValue(m[n]+"transform");if(o&&/matrix/i.test(o)){var s=o.replace(/^matrix\(/i,"").split(/, |\)$/g);i={x:parseInt(s[4],10),y:parseInt(s[5],10)};break}}return i},e.fn.animate=function(i,n,s,a){i=i||{};var d=!("undefined"!=typeof i.bottom||"undefined"!=typeof i.right),u=e.speed(n,s,a),p=this,v=0,y=function(){v--,0===v&&"function"==typeof u.complete&&u.complete.apply(p,arguments)},b="undefined"!=typeof i.avoidCSSTransitions?i.avoidCSSTransitions:k;return b===!0||!P||c(i)||l(i)||u.duration<=0||e.fn.animate.defaults.avoidTransforms===!0&&i.avoidTransforms!==!1?t.apply(this,arguments):this[u.queue===!0?"queue":"each"](function(){var n=e(this),s=e.extend({},u),a=function(t){var o=n.data(_)||{original:{}},s={};if(2==t.eventPhase){if(i.leaveTransforms!==!0){for(var r=m.length-1;r>=0;r--)s[m[r]+"transform"]="";if(d&&"undefined"!=typeof o.meta)for(var a,l=0;a=f[l];++l)s[a]=o.meta[a+"_o"]+w,e(this).css(a,s[a])}n.unbind(D).css(o.original).css(s).data(_,null),"hide"===i.opacity&&n.css({display:"none",opacity:""}),y.call(this)}},l={bounce:C+"0.0, 0.35, .5, 1.3"+S,linear:"linear",swing:"ease-in-out",easeInQuad:C+"0.550, 0.085, 0.680, 0.530"+S,easeInCubic:C+"0.550, 0.055, 0.675, 0.190"+S,easeInQuart:C+"0.895, 0.030, 0.685, 0.220"+S,easeInQuint:C+"0.755, 0.050, 0.855, 0.060"+S,easeInSine:C+"0.470, 0.000, 0.745, 0.715"+S,easeInExpo:C+"0.950, 0.050, 0.795, 0.035"+S,easeInCirc:C+"0.600, 0.040, 0.980, 0.335"+S,easeInBack:C+"0.600, -0.280, 0.735, 0.045"+S,easeOutQuad:C+"0.250, 0.460, 0.450, 0.940"+S,easeOutCubic:C+"0.215, 0.610, 0.355, 1.000"+S,easeOutQuart:C+"0.165, 0.840, 0.440, 1.000"+S,easeOutQuint:C+"0.230, 1.000, 0.320, 1.000"+S,easeOutSine:C+"0.390, 0.575, 0.565, 1.000"+S,easeOutExpo:C+"0.190, 1.000, 0.220, 1.000"+S,easeOutCirc:C+"0.075, 0.820, 0.165, 1.000"+S,easeOutBack:C+"0.175, 0.885, 0.320, 1.275"+S,easeInOutQuad:C+"0.455, 0.030, 0.515, 0.955"+S,easeInOutCubic:C+"0.645, 0.045, 0.355, 1.000"+S,easeInOutQuart:C+"0.770, 0.000, 0.175, 1.000"+S,easeInOutQuint:C+"0.860, 0.000, 0.070, 1.000"+S,easeInOutSine:C+"0.445, 0.050, 0.550, 0.950"+S,easeInOutExpo:C+"1.000, 0.000, 0.000, 1.000"+S,easeInOutCirc:C+"0.785, 0.135, 0.150, 0.860"+S,easeInOutBack:C+"0.680, -0.550, 0.265, 1.550"+S},p={},b=l[s.easing||"swing"]?l[s.easing||"swing"]:s.easing||"swing";for(var x in i)if(-1===e.inArray(x,g)){var k=e.inArray(x,f)>-1,E=o(n,i[x],x,k&&i.avoidTransforms!==!0);i.avoidTransforms!==!0&&h(x,E,n)?r(n,x,s.duration,b,k&&i.avoidTransforms===!0?E+w:E,k&&i.avoidTransforms!==!0,d,i.useTranslate3d):p[x]=i[x]}n.unbind(D);var T=n.data(_);if(!T||c(T)||c(T.secondary))s.queue=!1;else{v++,n.css(T.properties);var P=T.secondary;setTimeout(function(){n.bind(D,a).css(P)})}return c(p)||(v++,t.apply(n,[p,{duration:s.duration,easing:e.easing[s.easing]?s.easing:e.easing.swing?"swing":"linear",complete:y,queue:s.queue}])),!0})},e.fn.animate.defaults={},e.fn.stop=function(t,n,o){return P?(t&&this.queue([]),this.each(function(){var s=e(this),r=s.data(_);if(r&&!c(r)){var a,l={};if(n){if(l=r.secondary,!o&&void 0!==typeof r.meta.left_o||void 0!==typeof r.meta.top_o)for(l.left=void 0!==typeof r.meta.left_o?r.meta.left_o:"auto",l.top=void 0!==typeof r.meta.top_o?r.meta.top_o:"auto",a=m.length-1;a>=0;a--)l[m[a]+"transform"]=""}else if(!c(r.secondary)){var d=window.getComputedStyle(s[0],null);if(d)for(var u in r.secondary)if(r.secondary.hasOwnProperty(u)&&(u=u.replace(y,"-$1").toLowerCase(),l[u]=d.getPropertyValue(u),!o&&/matrix/i.test(l[u]))){var h=l[u].replace(/^matrix\(/i,"").split(/, |\)$/g);for(l.left=parseFloat(h[4])+parseFloat(s.css("left"))+w||"auto",l.top=parseFloat(h[5])+parseFloat(s.css("top"))+w||"auto",a=m.length-1;a>=0;a--)l[m[a]+"transform"]=""}}s.unbind(D),s.css(r.original).css(l).data(_,null)}else i.apply(s,[t,n])}),this):i.apply(this,[t,n])},RegExp(" AppleWebKit/").test(navigator.userAgent)&&RegExp(" Mobile/").test(navigator.userAgent)||e.toggleDisabledByDefault()}(jQuery,jQuery.fn.animate,jQuery.fn.stop),_wAMD.define("legacy/jquery.animate",function(){}),function(e){e.fn.up=function(e){return this.eq(0).parent().closest(e||"*")},e.fn.down=function(e){return e?this.eq(0).find(e||"*").eq(0):this.eq(0).children(":first")};var t=1;e.fn.identify=function(){var i=this.attr("id");if(!i&&this.length){do i="anonymous_element_"+t++;while(e("#"+i).length);this.attr("id",i)}return i},e.fn.placeholder=function(){if(!("placeholder"in document.createElement("input"))){var t,i;this.each(function(n,o){i=o.getAttribute("placeholder"),i&&"input"===o.nodeName.toLowerCase()&&(t=e(o).on({focus:function(){o.value===i&&(e(o).removeClass("wsite-placeholder"),o.value="")},blur:function(){o.value.length||(o.value=i,o.className+=" wsite-placeholder")}}),o.className+=" wsite-placeholder",o.value=i)})}},e.extend({isValidSelector:function(t){try{e(t)}catch(i){return!1}return!0}}),document.observe||(document.observe=function(t,i){"dom:loaded"==t&&e(document).ready(i)})}(Weebly.jQuery),Weebly.evalJSON=function(json){var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;cx.test(json)&&(json=json.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));try{return eval("("+json+")")}catch(e){}throw new SyntaxError("Badly formed JSON string: "+json)},_wAMD.define("legacy/jquery_utils",function(){}),_wAMD.define("jquery-ui/effect",["jquery"],function(e){!function(t,i){var n="ui-effects-";t.effects={effect:{}},function(e,t){function i(e,t,i){var n=u[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var s,r="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",a=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],c=e.Color=function(t,i,n,o){return new e.Color.fn.parse(t,i,n,o)},d={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},h=c.support={},p=e("

")[0],f=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",h.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(d,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),c.fn=e.extend(c.prototype,{parse:function(o,r,a,l){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=e(o).css(r),r=t);var u=this,h=e.type(o),p=this._rgba=[];return r!==t&&(o=[o,r,a,l],h="array"),"string"===h?this.parse(n(o)||s._default):"array"===h?(f(d.rgba.props,function(e,t){p[t.idx]=i(o[t.idx],t)}),this):"object"===h?(o instanceof c?f(d,function(e,t){o[t.cache]&&(u[t.cache]=o[t.cache].slice())}):f(d,function(t,n){var s=n.cache;f(n.props,function(e,t){if(!u[s]&&n.to){if("alpha"===e||null==o[e])return;u[s]=n.to(u._rgba)}u[s][t.idx]=i(o[e],t,!0)}),u[s]&&e.inArray(null,u[s].slice(0,3))<0&&(u[s][3]=1,n.from&&(u._rgba=n.from(u[s])))}),this):void 0},is:function(e){var t=c(e),i=!0,n=this;return f(d,function(e,o){var s,r=t[o.cache];return r&&(s=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(e,t){return null!=r[t.idx]?i=r[t.idx]===s[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return f(d,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=c(e),o=n._space(),s=d[o],r=0===this.alpha()?c("transparent"):this,a=r[s.cache]||s.to(r._rgba),l=a.slice();return n=n[s.cache],f(s.props,function(e,o){var s=o.idx,r=a[s],c=n[s],d=u[o.type]||{};null!==c&&(null===r?l[s]=c:(d.mod&&(c-r>d.mod/2?r+=d.mod:r-c>d.mod/2&&(r-=d.mod)),l[s]=i((c-r)*t+r,o)))}),this[o](l)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=c(t)._rgba;return c(e.map(i,function(e,t){return(1-n)*o[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),c.fn.parse.prototype=c.fn,d.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,o=e[1]/255,s=e[2]/255,r=e[3],a=Math.max(n,o,s),l=Math.min(n,o,s),c=a-l,d=a+l,u=.5*d;return t=l===a?0:n===a?60*(o-s)/c+360:o===a?60*(s-n)/c+120:60*(n-o)/c+240,i=0===c?0:.5>=u?c/d:c/(2-d),[Math.round(t)%360,i,u,null==r?1:r]},d.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],s=e[3],r=.5>=n?n*(1+i):n+i-n*i,a=2*n-r;return[Math.round(255*o(a,r,t+1/3)),Math.round(255*o(a,r,t)),Math.round(255*o(a,r,t-1/3)),s]},f(d,function(n,o){var s=o.props,r=o.cache,l=o.to,d=o.from;c.fn[n]=function(n){if(l&&!this[r]&&(this[r]=l(this._rgba)),n===t)return this[r].slice();var o,a=e.type(n),u="array"===a||"object"===a?n:arguments,h=this[r].slice();return f(s,function(e,t){var n=u["object"===a?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),d?(o=c(d(h)),o[r]=h,o):c(h)},f(s,function(t,i){c.fn[t]||(c.fn[t]=function(o){var s,r=e.type(o),l="alpha"===t?this._hsla?"hsla":"rgba":n,c=this[l](),d=c[i.idx];return"undefined"===r?d:("function"===r&&(o=o.call(this,d),r=e.type(o)),null==o&&i.empty?this:("string"===r&&(s=a.exec(o),s&&(o=d+parseFloat(s[2])*("+"===s[1]?1:-1))),c[i.idx]=o,this[l](c)))})})}),c.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,o){var s,r,a="";if("transparent"!==o&&("string"!==e.type(o)||(s=n(o)))){if(o=c(s||o),!h.rgba&&1!==o._rgba[3]){for(r="backgroundColor"===i?t.parentNode:t;(""===a||"transparent"===a)&&r&&r.style;)try{a=e.css(r,"backgroundColor"),r=r.parentNode}catch(l){}o=o.blend(a&&"transparent"!==a?a:"_default")}o=o.toRgbaString()}try{t.style[i]=o}catch(l){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=c(t.elem,i),t.end=c(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},c.hook(r),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},s=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(e),function(){function n(e){var i,n,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(o&&o.length&&o[0]&&o[o[0]])for(n=o.length;n--;)i=o[n],"string"==typeof o[i]&&(s[t.camelCase(i)]=o[i]);else for(i in o)"string"==typeof o[i]&&(s[i]=o[i]);return s}function o(e,i){var n,o,s={};for(n in i)o=i[n],e[n]!==o&&(r[n]||(t.fx.step[n]||!isNaN(parseFloat(o)))&&(s[n]=o));return s}var s=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(i,n){t.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(e.style(t.elem,n,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),t.effects.animateClass=function(e,i,r,a){var l=t.speed(i,r,a);return this.queue(function(){var i,r=t(this),a=r.attr("class")||"",c=l.children?r.find("*").addBack():r;c=c.map(function(){var e=t(this);return{el:e,start:n(this)}}),i=function(){t.each(s,function(t,i){e[i]&&r[i+"Class"](e[i])})},i(),c=c.map(function(){return this.end=n(this.el[0]),this.diff=o(this.start,this.end),this}),r.attr("class",a),c=c.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,c.get()).done(function(){i(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(r[0])})})},t.fn.extend({addClass:function(e){return function(i,n,o,s){return n?t.effects.animateClass.call(this,{add:i},n,o,s):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,o,s){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,o,s):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(n,o,s,r,a){return"boolean"==typeof o||o===i?s?t.effects.animateClass.call(this,o?{add:n}:{remove:n},s,r,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:n},o,s,r)}}(t.fn.toggleClass),switchClass:function(e,i,n,o,s){return t.effects.animateClass.call(this,{add:i,remove:e},n,o,s)}})}(),function(){function e(e,i,n,o){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(o=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(o=n,n=i,i={}),t.isFunction(n)&&(o=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=o||i.complete,e}function o(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(e,t){for(var i=0;i").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},s=document.activeElement;try{s.id}catch(r){s=document.body}return e.wrap(n),(e[0]===s||t.contains(e[0],s))&&t(s).focus(),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,n,o){return o=o||{},t.each(i,function(t,i){var s=e.cssUnit(i);s[0]>0&&(o[i]=s[0]*n+s[1])}),o}}),t.fn.extend({effect:function(){function i(e){function i(){t.isFunction(s)&&s.call(o[0]),t.isFunction(e)&&e()}var o=t(this),s=n.complete,a=n.mode;(o.is(":hidden")?"hide"===a:"show"===a)?(o[a](),i()):r.call(o[0],n,i)}var n=e.apply(this,arguments),o=n.mode,s=n.queue,r=t.effects.effect[n.effect];return t.fx.off||!r?o?this[o](n.duration,n.complete):this.each(function(){n.complete&&n.complete.call(this)}):s===!1?this.each(i):this.queue(s||"fx",i)},show:function(t){return function(i){if(o(i))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="show",this.effect.call(this,n)}}(t.fn.show),hide:function(t){return function(i){if(o(i))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(t.fn.hide),toggle:function(t){return function(i){if(o(i)||"boolean"==typeof i)return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(n=[parseFloat(i),t])}),n}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(e){return 1-i(1-e)},t.easing["easeInOut"+e]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}()}(e)}),_wAMD.define("jquery-ui/effect-highlight",["jquery","./effect"],function(e){!function(e){e.effects.effect.highlight=function(t,i){var n=e(this),o=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(n,t.mode||"show"),r={backgroundColor:n.css("backgroundColor")};"hide"===s&&(r.opacity=0),e.effects.save(n,o),n.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===s&&n.hide(),e.effects.restore(n,o),i()}})}}(e)}),_wAMD.define("jquery-ui/effect-fade",["jquery","./effect"],function(e){!function(e){e.effects.effect.fade=function(t,i){var n=e(this),o=e.effects.setMode(n,t.mode||"toggle");n.animate({opacity:o},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}}(e)}),_wAMD.define("util/effect-slide-custom",["jquery","jquery-ui/effect"],function(e){!function(e){e.effects.effect.slide=function(t,i){var n,o=e(this),s=["position","top","bottom","left","right","width","height"],r=e.effects.setMode(o,t.mode||"show"),a="show"===r,l=t.direction||"left",c="up"===l||"down"===l?"top":"left",d="up"===l||"left"===l,u={};e.effects.save(o,s),o.show();var h=t.wrapper;h?(h=e(h).show(),/relative|absolute/.test(o.css("position"))||o.css("position","relative")):h=e.effects.createWrapper(o),h.css("overflow","hidden");var n=t.distance||("top"==c?o.height()?o.outerHeight(!0):h.height():o.width()?o.outerWidth(!0):h.width());a&&o.css(c,d?isNaN(n)?"-"+n:-n:n),u[c]=(a?d?"+=":"-=":d?"-=":"+=")+n,o.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&o.hide(),e.effects.restore(o,s),t.wrapper?(h.css("overflow",""),"hide"==r&&h.hide()):e.effects.removeWrapper(o),i()}})}}(e)}),function(e){function t(){"placeholder"in document.createElement("input")||e(this).find("input[placeholder]").placeholder()}var i=function(){var t=function(){var t=e(".wsite-view-link-full"),i=e(".wsite-view-link-mobile"),n=window.location.href||"";n+=n.indexOf("?")>-1?"&":"?",t.attr("href",n+"view=full"),i.attr("href",n+"view=mobile")};t();var i=window.History;i&&i.enabled&&History.Adapter.bind(window,"statechange",t)};e(document).ready(i),e(document).ready(t)}(Weebly.jQuery),function(){var e=window.STYLE_PREFIX||"weebly",t=function(){for(var t=0;t0}}catch(o){}return!1},i=function(e){if(t())e();else var i=setInterval(function(){t()&&(clearInterval(i),e())},200)};window.whenThemeCSSLoaded||(window.whenThemeCSSLoaded=i)}(),_wAMD.define("site/general",function(){}),function(e){window.blogCommentDisplayForm=function(t,i){var n=e("#"+i),o=n.data("isReplyFormOpen")||!1,s=n.prev(".reply-comment").find("span").first(),r=_W.tl("Cancel Reply");if(!n.data("locked")){n.data("locked",!0);var a=n.data("replyText");a||(a=s.html(),n.data("replyText",a));var l=e("#"+i+" iframe");return l.length||(l=e(''),e("#"+i+" > div > div").first().append(l)),o?(s.html(a),n.data("isReplyFormOpen",!1),n.down().hide("slide",{wrapper:n,direction:"up",duration:1e3,complete:function(){n.data("locked",!1)}})):(s.html(r),n.data("isReplyFormOpen",!0),n.down().show("slide",{wrapper:n,direction:"up",duration:1e3,complete:function(){n.data("locked",!1)}})),!1}}}(Weebly.jQuery),_wAMD.define("site/comments",function(){}),function(e,t){function i(){if(window.location.href.match(/posted=(.*)$/)){var i=e.evalJSON(decodeURIComponent(window.location.href.match(/posted=(.*)$/)[1].replace(/\+/g," ")));t("form").each(function(e,n){var o=t(n);t.each(i,function(e,i){"object"==typeof i?t.each(i,function(t,i){o.find("input").each(function(n,o){(o.name.replace(/_u\d*/,"")==e+"["+t+"]"||o.name==e+"["+t+"]")&&("checkbox"===o.type?o.checked=1:o.value=i)})}):o.find("input,textarea,select,button").each(function(t,s){if(s.name.replace(/_u\d*/,"")==e||s.name==e){var r=s.name;n[r][0]&&"radio"===n[r][0].type?o.find("radio[name="+r+"]").each(function(e,t){t.value==i&&(t.checked=!0)}):s.value=i}})})})}if(window.location.href.match(/form-errors=(.*?)&/)&&window.location.href.match(/ucfid%22%3A%22(.*?)%/)){var n=window.location.href.match(/form\-errors=(.*?)&/)[1].split(","),o=window.location.href.match(/ucfid%22%3A%22(.*?)%/)[1],s=t("#form-"+o);t.each(n,function(e,i){i=decodeURIComponent(i),s.find("input,textarea,select,button").each(function(e,n){(n.name.replace(/_u\d*/,"")==i||n.name.replace(/.*_u/,"_u")==i||n.name.replace(/\[.*\]$/,"")==i)&&t(n).addClass("form-input-error").up("."+c+"-form-field").addClass("form-field-error")})}),t("#"+o+"-form-parent").after("

Please correct the highlighted fields
")}if(window.location.href.match(/success\=1/)&&window.location.href.match(/ucfid\=(.*)/)){var o=window.location.href.match(/ucfid\=(.*?)&/)[1],s=t("#form-"+o),r="Your data was successfully submitted.",a=window.location.href.match(/text=(.*?)&/);a&&(r=decodeURIComponent(a[1].replace(/\+/g," "))),s.html("
"+r+"
")}}function n(){function i(i){var n=i.origin==location.protocol+location.port+"//"+location.hostname;if(n){var o=e.evalJSON(i.data);switch(o.action){case"finished":var s=o.data.ucfid,r=t("#form-"+s);r.hide();var a=t("#"+s+"-msg");return a.length||(a=t('
').insertAfter(r)),a.html(o.data.message),a.effect("highlight",{},2e3),t("body").animate({scrollTop:a.offset().top},{easing:"easeOutQuart",duration:2e3}),void 0;case"redirect":return window.location=o.data.location,void 0;case"error":var l=o.data["error-fields"],s=o.data.ucfid,r=t("#form-"+s);r.find("input,textarea,select,button").filter(".form-input-error").each(function(e,i){t(i).removeClass("form-input-error").up("."+c+"-form-field").removeClass("form-field-error")}),t.each(l,function(e,i){r.find("input,textarea,select,button").each(function(e,n){(n.name.replace(/_u\d*/,"")==i||n.name.replace(/.*_u/,"_u")==i||n.name.replace(/\[.*\]$/,"")==i)&&t(n).addClass("form-input-error").up("."+c+"-form-field").addClass("form-field-error")})});var a=t("#"+s+"-msg");return a.length||(a=t('
').insertAfter(r)),a.html(o.data.message),void 0}}}t("form").each(function(e,n){var o=t(n),s=o.attr("action")||"";if(s.match(/formSubmit\.php$/)){s=s.replace(/(.*)\/formSubmit\.php$/,window.location.protocol+"//"+window.location.host+"/ajax/apps/formSubmitAjax.php"),o.attr("action",s),o.attr("accept-charset","UTF-8");var r=o.attr("id")+"-target",a=t('",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{closeClick:!0,speedOut:200,showEarly:!0,css:{}},title:{type:"float"}},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(i.isPlainObject(t)||(t={}),!1!==r.close(!0))?(i.isArray(e)||(e=c(e)?i(e).get():[e]),i.each(e,function(o,s){var a,l,u,h,p,f,m,g={};"object"===i.type(s)&&(s.nodeType&&(s=i(s)),c(s)?(g={href:s.attr("href"),title:s.attr("title"),isDom:!0,element:s},i.metadata&&i.extend(!0,g,s.metadata())):g=s),a=t.href||g.href||(d(s)?s:null),l=t.title!==n?t.title:g.title||"",u=t.content||g.content,h=u?"html":t.type||g.type,!h&&g.isDom&&(h=s.data("fancybox-type"),h||(p=s.prop("class").match(/fancybox\.(\w+)/),h=p?p[1]:null)),d(a)&&(h||(r.isImage(a)?h="image":r.isSWF(a)?h="swf":"#"===a.charAt(0)?h="inline":d(s)&&(h="html",u=s)),"ajax"===h&&(f=a.split(/\s+/,2),a=f.shift(),m=f.shift())),u||("inline"===h?a?u=i(d(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):g.isDom&&(u=s):"html"===h?u=a:h||a||!g.isDom||(h="inline",u=s)),i.extend(g,{href:a,type:h,content:u,title:l,selector:m}),e[o]=g}),r.opts=i.extend(!0,{},r.defaults,t),t.keys!==n&&(r.opts.keys=t.keys?i.extend({},r.defaults.keys,t.keys):!1),r.group=e,r._start(r.opts.index)):void 0},cancel:function(){var e=r.coming;e&&!1!==r.trigger("onCancel")&&(r.hideLoading(),r.ajaxLoad&&r.ajaxLoad.abort(),r.ajaxLoad=null,r.imgPreload&&(r.imgPreload.onload=r.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0).trigger("onReset").remove(),r.current||r.trigger("afterClose"),r.coming=null)},close:function(e){r.cancel(),!1!==r.trigger("beforeClose")&&(r.unbindEvents(),r.isOpen&&e!==!0?(r.isOpen=r.isOpened=!1,r.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),r.wrap.stop(!0,!0).removeClass("fancybox-opened"),"fixed"===r.wrap.css("position")&&r.wrap.css(r._getPosition(!0)),r.transitions[r.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),r._afterZoomOut()))},play:function(e){var t=function(){clearTimeout(r.player.timer)},n=function(){t(),r.current&&r.player.isActive&&(r.player.timer=setTimeout(r.next,r.current.playSpeed))},o=function(){t(),i("body").unbind(".player"),r.player.isActive=!1,r.trigger("onPlayEnd")},s=function(){r.current&&(r.current.loop||r.current.index=o.index?"next":"prev"],r.router=i||"jumpto",o.loop&&(0>e&&(e=o.group.length+e%o.group.length),e%=o.group.length),o.group[e]!==n&&(r.cancel(),r._start(e)))},reposition:function(e,t){var i;r.isOpen&&(i=r._getPosition(t),e&&"scroll"===e.type?(delete i.position,r.wrap.stop(!0,!0).animate(i,200)):r.wrap.css(i))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(a),a=null),r.isOpen&&!a&&((i||l)&&(r.wrap.removeAttr("style").addClass("fancybox-tmp"),r.trigger("onUpdate")),a=setTimeout(function(){var i=r.current;i&&(r.wrap.removeClass("fancybox-tmp"),"scroll"!==t&&r._setDimension(),"scroll"===t&&i.canShrink||r.reposition(e),r.trigger("onUpdate"),a=null)},l?500:i?20:300))},toggle:function(e){r.isOpen&&(r.current.fitToView="boolean"===i.type(e)?e:!r.current.fitToView,r.update())},hideLoading:function(){s.unbind("keypress.fb"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;r.hideLoading(),s.bind("keypress.fb",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),r.cancel())}),e=i('
').click(r.cancel).appendTo("body"),r.defaults.fixed||(t=r.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=r.current?r.current.locked:!1,i={x:o.scrollLeft(),y:o.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=l&&e.innerWidth?e.innerWidth:o.width(),i.h=l&&e.innerHeight?e.innerHeight:o.height()),i},unbindEvents:function(){r.wrap&&c(r.wrap)&&r.wrap.unbind(".fb"),s.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e,t=r.current;t&&(o.bind("orientationchange.fb"+(l?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),r.update),e=t.keys,e&&s.bind("keydown.fb",function(o){var s=o.which||o.keyCode,a=o.target||o.srcElement;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||a&&(a.type||i(a).is("[contenteditable]"))||i.each(e,function(e,a){return t.group.length>1&&a[s]!==n?(r[e](a[s]),o.preventDefault(),!1):i.inArray(s,a)>-1?(r[e](),o.preventDefault(),!1):void 0})}),i.fn.mousewheel&&t.mouseWheel&&r.wrap.bind("mousewheel.fb",function(e,n,o,s){for(var a=e.target||null,l=i(a),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=h(l[0]),l=i(l).parent();0===n||c||r.group.length>1&&!t.canShrink&&(s>0||o>0?r.prev(s>0?"down":"left"):(0>s||0>o)&&r.next(0>s?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var n,o=t||r.coming||r.current;if(o){if(i.isFunction(o[e])&&(n=o[e].apply(o,Array.prototype.slice.call(arguments,1))),n===!1)return!1;"onCancel"!==e||r.isOpened||(r.isActive=!1),o.helpers&&i.each(o.helpers,function(t,n){n&&r.helpers[t]&&i.isFunction(r.helpers[t][e])&&r.helpers[t][e](n,o)}),i.event.trigger(e+".fb")}},isImage:function(e){return d(e)&&e.match(/\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$/i)},isSWF:function(e){return d(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,n,o,s,a,c={};if(e=p(e),t=r.group[e]||null,!t)return!1;if(c=i.extend(!0,{},r.opts,t),s=c.margin,a=c.padding,"number"===i.type(s)&&(c.margin=[s,s,s,s]),"number"===i.type(a)&&(c.padding=[a,a,a,a]),c.modal&&i.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),c.autoSize&&(c.autoWidth=c.autoHeight=!0),"auto"===c.width&&(c.autoWidth=!0),"auto"===c.height&&(c.autoHeight=!0),c.group=r.group,c.index=e,r.coming=c,!1===r.trigger("beforeLoad"))return r.coming=null,void 0;if(o=c.type,n=c.href,!o)return r.coming=null,r.current&&r.router&&"jumpto"!==r.router?(r.current.index=e,r[r.router](r.direction)):!1;if(r.isActive=!0,("image"===o||"swf"===o)&&(c.autoHeight=c.autoWidth=!1,c.scrolling="visible"),"image"===o&&(c.aspectRatio=!0),"iframe"===o&&l&&(c.scrolling="scroll"),c.wrap=i(c.tpl.wrap).addClass("fancybox-"+(l?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+c.wrapCSS).appendTo(c.parent),i.extend(c,{skin:i(".fancybox-skin",c.wrap),outer:i(".fancybox-outer",c.wrap),inner:i(".fancybox-inner",c.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,t){c.skin.css("padding"+t,f(c.padding[e]))}),r.trigger("onReady"),"inline"===o||"html"===o){if(!c.content||!c.content.length)return r._error("content")}else if(!n)return r._error("href");"image"===o?r._loadImage():"ajax"===o?r._loadAjax():"iframe"===o?r._loadIframe():r._afterLoad()},_error:function(e){i.extend(r.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:r.coming.tpl.error}),r._afterLoad()},_loadImage:function(){var e=r.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,r.coming.width=this.width,r.coming.height=this.height,r._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,r._error("image")},e.src=r.coming.href,e.complete!==n&&e.complete||r.showLoading()},_loadAjax:function(){var e=r.coming;r.showLoading(),r.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){r.coming&&"abort"!==t?r._error("ajax",e):r.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,r._afterLoad())}}))},_loadIframe:function(){var e=r.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",l?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(r.showLoading(),t.one("load",function(){i(this).data("ready",1),l||i(this).bind("load.fb",r.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),r._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||r._afterLoad()},_preloadImages:function(){var e,t,i=r.group,n=r.current,o=i.length,s=n.preload?Math.min(n.preload,o-1):0;for(t=1;s>=t;t+=1)e=i[(n.index+t)%o],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,n,o,s,a,l=r.coming,d=r.current,u="fancybox-placeholder";if(r.hideLoading(),l&&r.isActive!==!1){if(!1===r.trigger("afterLoad",l,d))return l.wrap.stop(!0).trigger("onReset").remove(),r.coming=null,void 0; switch(d&&(r.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove(),"fixed"===d.wrap.css("position")&&d.wrap.css(r._getPosition(!0))),r.unbindEvents(),e=l,t=l.content,n=l.type,o=l.scrolling,i.extend(r,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:d}),s=e.href,n){case"inline":case"ajax":case"html":e.selector?t=i("
").html(t).find(e.selector):c(t)&&(t.data(u)||t.data(u,i('
').insertAfter(t).hide()),t=t.show().detach(),e.wrap.bind("onReset",function(){i(this).find(t).length&&t.hide().replaceAll(t.data(u)).data(u,!1)}));break;case"image":t=e.tpl.image.replace("{href}",s);break;case"swf":t='',a="",i.each(e.swf,function(e,i){t+='',a+=" "+e+'="'+i+'"'}),t+='"}c(t)&&t.parent().is(e.inner)||e.inner.append(t),r.trigger("beforeShow"),e.inner.css("overflow","yes"===o?"scroll":"no"===o?"hidden":o),r._setDimension(),e.wrap.removeClass("fancybox-tmp"),e.pos=i.extend({},e.dim,r._getPosition(!0)),r.isOpen=!1,r.coming=null,r.bindEvents(),r.isOpened?d.prevMethod&&r.transitions[d.prevMethod]():i(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),r.transitions[r.isOpened?e.nextMethod:e.openMethod](),r._preloadImages()}},_setDimension:function(){var e,t,n,o,s,a,l,c,d,h,m,g,v,y,b,w=r.getViewport(),_=0,C=!1,S=!1,x=r.wrap,k=r.skin,E=r.inner,T=r.current,D=T.width,P=T.height,M=T.minWidth,A=T.minHeight,W=T.maxWidth,I=T.maxHeight,O=T.scrolling,F=T.scrollOutside?T.scrollbarWidth:0,R=T.margin,N=R[1]+R[3],$=R[0]+R[2];if(x.add(k).add(E).width("auto").height("auto"),e=k.outerWidth(!0)-k.width(),t=k.outerHeight(!0)-k.height(),n=N+e,o=$+t,s=u(D)?(w.w-n)*p(D)/100:D,a=u(P)?(w.h-o)*p(P)/100:P,"iframe"===T.type){if(y=T.content,T.autoHeight&&1===y.data("ready"))try{y[0].contentWindow.document.location&&(E.width(s).height(9999),b=y.contents().find("body"),F&&b.css("overflow-x","hidden"),a=b.height())}catch(L){}}else(T.autoWidth||T.autoHeight)&&(E.addClass("fancybox-tmp"),T.autoWidth||E.width(s),T.autoHeight||E.height(a),T.autoWidth&&(s=E.width()),T.autoHeight&&(a=E.height()),E.removeClass("fancybox-tmp"));if(D=p(s),P=p(a),d=s/a,M=p(u(M)?p(M,"w")-n:M),W=p(u(W)?p(W,"w")-n:W),A=p(u(A)?p(A,"h")-o:A),I=p(u(I)?p(I,"h")-o:I),l=W,c=I,g=w.w-N,v=w.h-$,T.aspectRatio?(D>W&&(D=W,P=D/d),P>I&&(P=I,D=P*d),M>D&&(D=M,P=D/d),A>P&&(P=A,D=P*d)):(D=Math.max(M,Math.min(D,W)),P=Math.max(A,Math.min(P,I))),T.fitToView)if(W=Math.min(w.w-n,W),I=Math.min(w.h-o,I),E.width(p(D)).height(p(P)),x.width(p(D+e)),h=x.width(),m=x.height(),T.aspectRatio)for(;(h>g||m>v)&&D>M&&P>A&&!(_++>19);)P=Math.max(A,Math.min(I,P-10)),D=P*d,M>D&&(D=M,P=D/d),D>W&&(D=W,P=D/d),E.width(p(D)).height(p(P)),x.width(p(D+e)),h=x.width(),m=x.height();else D=Math.max(M,Math.min(D,D-(h-g))),P=Math.max(A,Math.min(P,P-(m-v)));F&&"auto"===O&&a>P&&g>D+e+F&&(D+=F),E.width(p(D)).height(p(P)),x.width(p(D+e)),h=x.width(),m=x.height(),C=(h>g||m>v)&&D>M&&P>A,S=T.aspectRatio?l>D&&c>P&&s>D&&a>P:(l>D||c>P)&&(s>D||a>P),i.extend(T,{dim:{width:f(h),height:f(m)},origWidth:s,origHeight:a,canShrink:C,canExpand:S,wPadding:e,hPadding:t,wrapSpace:m-k.outerHeight(!0),skinSpace:k.height()-P}),!y&&T.autoHeight&&P>A&&I>P&&!S&&E.height("auto")},_getPosition:function(e){var t=r.current,i=r.getViewport(),n=t.margin,o=r.wrap.width()+n[1]+n[3],s=r.wrap.height()+n[0]+n[2],a={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&s<=i.h&&o<=i.w?a.position="fixed":t.locked||(a.top+=i.y,a.left+=i.x),a.top=f(Math.max(a.top,a.top+(i.h-s)*t.topRatio)),a.left=f(Math.max(a.left,a.left+(i.w-o)*t.leftRatio)),a},_afterZoomIn:function(){var e=r.current;e&&(r.isOpen=r.isOpened=!0,r.wrap.addClass("fancybox-opened").css("overflow","visible"),r.reposition(),(e.closeClick||e.nextClick)&&r.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||r[e.closeClick?"close":"next"]()}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(r.skin).bind("click.fb",r.close),e.arrows&&r.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(r.outer).bind("click.fb",r.prev),(e.loop||e.indexe&&(n=s.width())):s.width()>o.width()&&(n=s.width()),this.overlay.width(n).height(s.height())},onReady:function(e,n){i(".fancybox-overlay").stop(!0,!0),this.overlay||i.extend(this,{overlay:i('
').appendTo(n.parent),margin:s.height()>o.height()||"scroll"===i("body").css("overflow-y")?i("body").css("margin-right"):!1,el:t.all&&!t.querySelector?i("html"):i("body")}),n.fixed&&!l&&(this.overlay.addClass("fancybox-overlay-fixed"),n.autoCenter&&(this.overlay.append(n.wrap),n.locked=this.overlay)),e.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n=this.overlay.unbind(".fb").width("auto").height("auto").css(e.css);e.closeClick&&n.bind("click.fb",function(e){i(e.target).hasClass("fancybox-overlay")&&r.close()}),t.fixed&&!l?t.locked&&(this.el.addClass("fancybox-lock"),this.margin!==!1&&i("body").css("margin-right",p(this.margin)+t.scrollbarWidth)):this.update(),n.show()},onUpdate:function(e,t){(!t.fixed||l)&&this.update()},afterClose:function(e){var t=this,n=e.speedOut||0;t.overlay&&!r.isActive&&t.overlay.fadeOut(n||0,function(){i("body").css("margin-right",t.margin),t.el.removeClass("fancybox-lock"),t.overlay.remove(),t.overlay=null})}},r.helpers.title={beforeShow:function(e){var t,n,o=r.current.title,s=e.type;if(d(o)&&""!==i.trim(o)){switch(t=i('
'+o+"
"),s){case"inside":n=r.skin;break;case"outside":n=r.wrap;break;case"over":n=r.inner;break;default:n=r.skin,t.appendTo("body").width(t.width()).wrapInner(''),r.current.margin[2]+=Math.abs(p(t.css("margin-bottom")))}"top"===e.position?t.prependTo(n):t.appendTo(n)}}},i.fn.fancybox=function(e){var t,n=i(this),o=this.selector||"",a=function(s){var a,l,c=i(this).blur(),d=t;s.ctrlKey||s.altKey||s.shiftKey||s.metaKey||c.is(".fancybox-wrap")||(a=e.groupAttr||"data-fancybox-group",l=c.attr(a),l||(a="rel",l=c.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(c=o.length?i(o):n,c=c.filter("["+a+'="'+l+'"]'),d=c.index(this)),e.index=d,r.open(c,e)!==!1&&s.preventDefault())};return e=e||{},t=e.index||0,o&&e.live!==!1?s.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):n.unbind("click.fb-start").bind("click.fb-start",a),this},s.ready(function(){i.scrollbarWidth===n&&(i.scrollbarWidth=function(){var e=i('
').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),i.support.fixedPosition===n&&(i.support.fixedPosition=function(){var e=i('
').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(r.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")})})}(window,document,jQuery),function(e){var t=e.fancybox;t.helpers.thumbs={wrap:null,list:null,width:0,source:function(t){var i;return t.element&&(i=e(t.element).find("img").attr("src")),!i&&"image"===t.type&&t.href&&(i=t.href),i},init:function(t,i){var n,o=this,s=t.width||50,r=t.height||50,a=t.source||this.source;n="";for(var l=0;l';this.wrap=e('
').addClass(t.position||"bottom").appendTo("body"),this.list=e("
    "+n+"
").appendTo(this.wrap),e.each(i.group,function(t){var n=a(i.group[t]);n&&e("").load(function(){var i,n,a,l=this.width,c=this.height;o.list&&l&&c&&(i=l/s,n=c/r,a=o.list.children().eq(t).find("a"),i>=1&&n>=1&&(i>n?(l=Math.floor(l/n),c=r):(l=s,c=Math.floor(c/i))),e(this).css({width:l,height:c,top:Math.floor(r/2-c/2),left:Math.floor(s/2-l/2)}),a.width(s).height(r),e(this).hide().appendTo(a).fadeIn(300))}).attr("src",n)}),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(i.group.length+1)).css("left",Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width)))},beforeLoad:function(e,t){return t.group.length<2?(t.helpers.thumbs=!1,void 0):(t.margin["top"===e.position?0:2]+=(e.height||50)+15,void 0)},afterShow:function(e,t){this.list?this.onUpdate(e,t):this.init(e,t),this.list.children().removeClass("active").eq(t.index).addClass("active")},onUpdate:function(t,i){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*e(window).width()-(i.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}}(jQuery),_wAMD.define("legacy/fancybox/fancybox",function(){}),_wAMD.require(["site/core","legacy/flyout_menus_jq","site/fancybox","legacy/fancybox/fancybox"],function(){}),_wAMD.define("site/main",function(){});