var ThuziSocial,timerFunction,headerHeight;(function(n,t){function gt(n){var t=n.length,r=i.type(n);return i.isWindow(n)?!1:n.nodeType===1&&t?!0:r==="array"||r!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in n)}function te(n){var t=ni[n]={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function ur(n,r,u,f){if(i.acceptData(n)){var h,o,c=i.expando,l=n.nodeType,s=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&s[e]&&(f||s[e].data)||u!==t||typeof r!="string")return e||(e=l?n[c]=b.pop()||i.guid++:c),s[e]||(s[e]=l?{}:{toJSON:i.noop}),(typeof r=="object"||typeof r=="function")&&(f?s[e]=i.extend(s[e],r):s[e].data=i.extend(s[e].data,r)),o=s[e],f||(o.data||(o.data={}),o=o.data),u!==t&&(o[i.camelCase(r)]=u),typeof r=="string"?(h=o[r],h==null&&(h=o[i.camelCase(r)])):h=o,h}}function fr(n,t,r){if(i.acceptData(n)){var f,o,s=n.nodeType,u=s?i.cache:n,e=s?n[i.expando]:i.expando;if(u[e]){if(t&&(f=r?u[e]:u[e].data,f)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in f)?t=[t]:(t=i.camelCase(t),t=t in f?[t]:t.split(" ")),o=t.length;o--;)delete f[t[o]];if(r?!ti(f):!i.isEmptyObject(f))return}(r||(delete u[e].data,ti(u[e])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[e]:u[e]=null)}}}function er(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(rr,"-$1").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:+u+""===u?+u:ir.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function ti(n){var t;for(t in n)if((t!=="data"||!i.isEmptyObject(n[t]))&&t!=="toJSON")return!1;return!0}function ct(){return!0}function g(){return!1}function cr(){try{return r.activeElement}catch(n){}}function ar(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function fi(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if(typeof t=="string"){if(oe.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function vr(n){var i=yr.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function gr(n,t){return i.nodeName(n,"table")&&i.nodeName(t.nodeType===1?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function nu(n){return n.type=(i.find.attr(n,"type")!==null)+"/"+n.type,n}function tu(n){var t=ye.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function hi(n,t){for(var u,r=0;(u=n[r])!=null;r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function iu(n,t){if(t.nodeType===1&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle;r.events={};for(u in e)for(f=0,o=e[u].length;f<o;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function be(n,t){var r,f,u;if(t.nodeType===1){if(r=t.nodeName.toLowerCase(),!i.support.noCloneEvent&&t[i.expando]){u=i._data(t);for(f in u.events)i.removeEvent(t,f,u.handle);t.removeAttribute(i.expando)}r==="script"&&t.text!==n.text?(nu(t).text=n.text,tu(t)):r==="object"?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):r==="input"&&oi.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):r==="option"?t.defaultSelected=t.selected=n.defaultSelected:(r==="input"||r==="textarea")&&(t.defaultValue=n.defaultValue)}}function u(n,r){var s,e,h=0,f=typeof n.getElementsByTagName!==o?n.getElementsByTagName(r||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(r||"*"):t;if(!f)for(f=[],s=n.childNodes||n;(e=s[h])!=null;h++)!r||i.nodeName(e,r)?f.push(e):i.merge(f,u(e,r));return r===t||r&&i.nodeName(n,r)?i.merge([n],f):f}function ke(n){oi.test(n.type)&&(n.defaultChecked=n.checked)}function ou(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=eu.length;i--;)if(t=eu[i]+r,t in n)return t;return u}function ut(n,t){return n=t||n,i.css(n,"display")==="none"||!i.contains(n.ownerDocument,n)}function su(n,t){for(var f,r,o,e=[],u=0,s=n.length;u<s;u++)(r=n[u],r.style)&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||f!=="none"||(r.style.display=""),r.style.display===""&&ut(r)&&(e[u]=i._data(r,"olddisplay",au(r.nodeName)))):e[u]||(o=ut(r),(f&&f!=="none"||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;u<s;u++)(r=n[u],r.style)&&(t&&r.style.display!=="none"&&r.style.display!==""||(r.style.display=t?e[u]||"":"none"));return n}function hu(n,t,i){var r=to.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function cu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+p[e],!0,f)),u?(r==="content"&&(o-=i.css(n,"padding"+p[e],!0,f)),r!=="margin"&&(o-=i.css(n,"border"+p[e]+"Width",!0,f))):(o+=i.css(n,"padding"+p[e],!0,f),r!=="padding"&&(o+=i.css(n,"border"+p[e]+"Width",!0,f)));return o}function lu(n,t,r){var e=!0,u=t==="width"?n.offsetWidth:n.offsetHeight,f=v(n),o=i.support.boxSizing&&i.css(n,"boxSizing",!1,f)==="border-box";if(u<=0||u==null){if(u=y(n,t,f),(u<0||u==null)&&(u=n.style[t]),lt.test(u))return u;e=o&&(i.support.boxSizingReliable||u===n.style[t]);u=parseFloat(u)||0}return u+cu(n,t,r||(o?"border":"content"),e,f)+"px"}function au(n){var u=r,t=uu[n];return t||(t=vu(n,u),t!=="none"&&t||(rt=(rt||i("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(u.documentElement),u=(rt[0].contentWindow||rt[0].contentDocument).document,u.write("<!doctype html><html><body>"),u.close(),t=vu(n,u),rt.detach()),uu[n]=t),t}function vu(n,t){var r=i(t.createElement(n)).appendTo(t.body),u=i.css(r[0],"display");return r.remove(),u}function li(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||fo.test(n)?u(n,i):li(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)li(n+"["+f+"]",t[f],r,u)}function gu(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(s)||[];if(i.isFunction(r))while(u=e[f++])u[0]==="+"?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function nf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===yi;return e(t.dataTypes[0])||!f["*"]&&e("*")}function pi(n,r){var f,u,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);return f&&i.extend(!0,n,f),n}function ao(n,i,r){for(var s,o,f,e,h=n.contents,u=n.dataTypes;u[0]==="*";)u.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("Content-Type"));if(o)for(e in h)if(h[e]&&h[e].test(o)){u.unshift(e);break}if(u[0]in r)f=u[0];else{for(e in r){if(!u[0]||n.converters[e+" "+u[0]]){f=e;break}s||(s=e)}f=f||s}if(f)return f!==u[0]&&u.unshift(f),r[f]}function vo(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function rf(){try{return new n.XMLHttpRequest}catch(t){}}function yo(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function ff(){return setTimeout(function(){it=t}),it=i.now()}function ef(n,t,i){for(var u,f=(ft[t]||[]).concat(ft["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function of(n,t,r){var e,o,s=0,l=pt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var s=it||ff(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,e=u.tweens.length;r<e;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),i<1&&e?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:it||ff(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;i<r;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),h=u.props;for(bo(h,u.opts.specialEasing);s<l;s++)if(e=pt[s].call(u,n,h,u.opts),e)return e;return i.map(h,ef,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function bo(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function ko(n,t,r){var u,a,v,c,e,y,s=this,l={},o=n.style,h=n.nodeType&&ut(n),f=i._data(n,"fxshow");r.queue||(e=i._queueHooks(n,"fx"),e.unqueued==null&&(e.unqueued=0,y=e.empty.fire,e.empty.fire=function(){e.unqueued||y()}),e.unqueued++,s.always(function(){s.always(function(){e.unqueued--;i.queue(n,"fx").length||e.empty.fire()})}));n.nodeType===1&&("height"in t||"width"in t)&&(r.overflow=[o.overflow,o.overflowX,o.overflowY],i.css(n,"display")==="inline"&&i.css(n,"float")==="none"&&(i.support.inlineBlockNeedsLayout&&au(n.nodeName)!=="inline"?o.zoom=1:o.display="inline-block"));r.overflow&&(o.overflow="hidden",i.support.shrinkWrapBlocks||s.always(function(){o.overflow=r.overflow[0];o.overflowX=r.overflow[1];o.overflowY=r.overflow[2]}));for(u in t)if(a=t[u],po.exec(a)){if(delete t[u],v=v||a==="toggle",a===(h?"hide":"show"))continue;l[u]=f&&f[u]||i.style(n,u)}if(!i.isEmptyObject(l)){f?"hidden"in f&&(h=f.hidden):f=i._data(n,"fxshow",{});v&&(f.hidden=!h);h?i(n).show():s.done(function(){i(n).hide()});s.done(function(){var t;i._removeData(n,"fxshow");for(t in l)i.style(n,t,l[t])});for(u in l)c=ef(h?f[u]:0,u,s),u in f||(f[u]=c.start,h&&(c.end=c.start,c.start=u==="width"||u==="height"?1:0))}}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function wt(n,t){var r,i={height:n},u=0;for(t=t?1:0;u<4;u+=2-t)r=p[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function sf(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}var et,bi,o=typeof t,hf=n.location,r=n.document,ki=r.documentElement,cf=n.jQuery,lf=n.$,ot={},b=[],bt="1.10.2",di=b.concat,kt=b.push,l=b.slice,gi=b.indexOf,af=ot.toString,k=ot.hasOwnProperty,dt=bt.trim,i=function(n,t){return new i.fn.init(n,t,bi)},st=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=/\S+/g,vf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,yf=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,nr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pf=/^[\],:{}\s]*$/,wf=/(?:^|:|,)(?:\s*\[)+/g,bf=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,kf=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,df=/^-ms-/,gf=/-([\da-z])/gi,ne=function(n,t){return t.toUpperCase()},h=function(n){(r.addEventListener||n.type==="load"||r.readyState==="complete")&&(tr(),i.ready())},tr=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",h,!1),n.removeEventListener("load",h,!1)):(r.detachEvent("onreadystatechange",h),n.detachEvent("onload",h))},ni,ir,rr,wi,at,nt,tt,tf,vt;i.fn=i.prototype={jquery:bt,constructor:i,init:function(n,u,f){var e,o;if(!n)return this;if(typeof n=="string"){if(e=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:yf.exec(n),e&&(e[1]||!u)){if(e[1]){if(u=u instanceof i?u[0]:u,i.merge(this,i.parseHTML(e[1],u&&u.nodeType?u.ownerDocument||u:r,!0)),nr.test(e[1])&&i.isPlainObject(u))for(e in u)i.isFunction(this[e])?this[e](u[e]):this.attr(e,u[e]);return this}if(o=r.getElementById(e[2]),o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1;this[0]=o}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",length:0,toArray:function(){return l.call(this)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:kt,sort:[].sort,splice:[].splice};i.fn.init.prototype=i.fn;i.extend=i.fn.extend=function(){var u,o,r,e,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for(typeof n=="boolean"&&(c=n,n=arguments[1]||{},f=2),typeof n=="object"||i.isFunction(n)||(n={}),l===f&&(n=this,--f);f<l;f++)if((s=arguments[f])!=null)for(e in s)(u=n[e],r=s[e],n!==r)&&(c&&r&&(i.isPlainObject(r)||(o=i.isArray(r)))?(o?(o=!1,h=u&&i.isArray(u)?u:[]):h=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(c,h,r)):r!==t&&(n[e]=r));return n};i.extend({expando:"jQuery"+(bt+Math.random()).replace(/\D/g,""),noConflict:function(t){return n.$===i&&(n.$=lf),t&&n.jQuery===i&&(n.jQuery=cf),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready);(i.isReady=!0,n!==!0&&--i.readyWait>0)||(et.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n!=null&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):typeof n=="object"||typeof n=="function"?ot[af.call(n)]||"object":typeof n},isPlainObject:function(n){var r;if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!k.call(n,"constructor")&&!k.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}if(i.support.ownLast)for(r in n)return k.call(n,r);for(r in n);return r===t||k.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw new Error(n);},parseHTML:function(n,t,u){if(!n||typeof n!="string")return null;typeof t=="boolean"&&(u=t,t=!1);t=t||r;var f=nr.exec(n),e=!u&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&i(e).remove(),i.merge([],f.childNodes))},parseJSON:function(t){if(n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(t===null)return t;if(typeof t=="string"&&(t=i.trim(t),t&&pf.test(t.replace(bf,"@").replace(kf,"]").replace(wf,""))))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;if(!r||typeof r!="string")return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return u&&u.documentElement&&!u.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&i.trim(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(df,"ms-").replace(gf,ne)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,f=n.length,e=gt(n);if(i){if(e){for(;r<f;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(e){for(;r<f;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:dt&&!dt.call("﻿ ")?function(n){return n==null?"":dt.call(n)}:function(n){return n==null?"":(n+"").replace(vf,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(gt(Object(n))?i.merge(r,typeof n=="string"?[n]:n):kt.call(r,n)),r},inArray:function(n,t,i){var r;if(t){if(gi)return gi.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if(typeof f=="number")for(;r<f;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var u,f=[],r=0,e=n.length;for(i=!!i;r<e;r++)u=!!t(n[r],r),i!==u&&f.push(n[r]);return f},map:function(n,t,i){var u,r=0,e=n.length,o=gt(n),f=[];if(o)for(;r<e;r++)u=t(n[r],r,i),u!=null&&(f[f.length]=u);else for(r in n)u=t(n[r],r,i),u!=null&&(f[f.length]=u);return di.apply([],f)},guid:1,proxy:function(n,r){var f,u,e;return(typeof r=="string"&&(e=n[r],r=n,n=e),!i.isFunction(n))?t:(f=l.call(arguments,2),u=function(){return n.apply(r||this,f.concat(l.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u)},access:function(n,r,u,f,e,o,s){var h=0,l=n.length,c=u==null;if(i.type(u)==="object"){e=!0;for(h in u)i.access(n,r,h,u[h],!0,o,s)}else if(f!==t&&(e=!0,i.isFunction(f)||(s=!0),c&&(s?(r.call(n,f),r=null):(c=r,r=function(n,t,r){return c.call(i(n),r)})),r))for(;h<l;h++)r(n[h],u,s?f:f.call(n[h],h,r(n[h],u)));return e?n:c?r.call(n):l?r(n[0],u):o},now:function(){return(new Date).getTime()},swap:function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f}});i.ready.promise=function(t){if(!et)if(et=i.Deferred(),r.readyState==="complete")setTimeout(i.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",h,!1),n.addEventListener("load",h,!1);else{r.attachEvent("onreadystatechange",h);n.attachEvent("onload",h);var u=!1;try{u=n.frameElement==null&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}tr();i.ready()}}()}return et.promise(t)};i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){ot["[object "+t+"]"]=t.toLowerCase()});bi=i(r),function(n,t){function u(n,t,i,r){var p,u,f,l,w,a,k,c,g,d;if((t?t.ownerDocument||t:y)!==s&&nt(t),t=t||s,i=i||[],!n||typeof n!="string")return i;if((l=t.nodeType)!==1&&l!==9)return[];if(v&&!r){if(p=or.exec(n))if(f=p[1]){if(l===9)if(u=t.getElementById(f),u&&u.parentNode){if(u.id===f)return i.push(u),i}else return i;else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&ot(t,u)&&u.id===f)return i.push(u),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((f=p[3])&&e.getElementsByClassName&&t.getElementsByClassName)return b.apply(i,t.getElementsByClassName(f)),i}if(e.qsa&&(!h||!h.test(n))){if(c=k=o,g=t,d=l===9&&n,l===1&&t.nodeName.toLowerCase()!=="object"){for(a=pt(n),(k=t.getAttribute("id"))?c=k.replace(cr,"\\$&"):t.setAttribute("id",c),c="[id='"+c+"'] ",w=a.length;w--;)a[w]=c+wt(a[w]);g=ti.test(n)&&t.parentNode||t;d=a.join(",")}if(d)try{return b.apply(i,g.querySelectorAll(d)),i}catch(tt){}finally{k||t.removeAttribute("id")}}}return pr(n.replace(vt,"$1"),t,i,r)}function ri(){function n(i,u){return t.push(i+=" ")>r.cacheLength&&delete n[t.shift()],n[i]=u}var t=[];return n}function c(n){return n[o]=!0,n}function l(n){var t=s.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ui(n,t){for(var u=n.split("|"),i=n.length;i--;)r.attrHandle[u[i]]=t}function bi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||vi)-(~n.sourceIndex||vi);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function rt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ki(){}function pt(n,t){var e,f,s,o,i,h,c,l=li[n+" "];if(l)return t?0:l.slice(0);for(i=n,h=[],c=r.preFilter;i;){(!e||(f=ir.exec(i)))&&(f&&(i=i.slice(f[0].length)||i),h.push(s=[]));e=!1;(f=rr.exec(i))&&(e=f.shift(),s.push({value:e,type:f[0].replace(vt," ")}),i=i.slice(e.length));for(o in r.filter)(f=yt[o].exec(i))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),i=i.slice(e.length));if(!e)break}return t?i.length:i?u.error(n):li(n,h).slice(0)}function wt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function fi(n,t,i){var r=t.dir,u=i&&r==="parentNode",f=di++;return t.first?function(t,i,f){while(t=t[r])if(t.nodeType===1||u)return n(t,i,f)}:function(t,i,e){var h,s,c,l=p+" "+f;if(e){while(t=t[r])if((t.nodeType===1||u)&&n(t,i,e))return!0}else while(t=t[r])if(t.nodeType===1||u)if(c=t[o]||(t[o]={}),(s=c[r])&&s[0]===l){if((h=s[1])===!0||h===ht)return h===!0}else if(s=c[r]=[l],s[1]=n(t,i,e)||ht,s[1]===!0)return!0}}function ei(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function oi(n,t,i,r,u,f){return r&&!r[o]&&(r=oi(r)),u&&!u[o]&&(u=oi(u,f)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,k=f||yr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?bt(k,p,n,o,s):k,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=bt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?it.call(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=bt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function si(n){for(var s,u,i,e=n.length,h=r.relative[n[0].type],c=h||r.relative[" "],t=h?1:0,l=fi(function(n){return n===s},c,!0),a=fi(function(n){return it.call(s,n)>-1},c,!0),f=[function(n,t,i){return!h&&(i||t!==lt)||((s=t).nodeType?l(n,t,i):a(n,t,i))}];t<e;t++)if(u=r.relative[n[t].type])f=[fi(ei(f),u)];else{if(u=r.filter[n[t].type].apply(null,n[t].matches),u[o]){for(i=++t;i<e;i++)if(r.relative[n[i].type])break;return oi(t>1&&ei(f),t>1&&wt(n.slice(0,t-1).concat({value:n[t-2].type===" "?"*":""})).replace(vt,"$1"),u,t<i&&si(n.slice(t,i)),i<e&&si(n=n.slice(i)),i<e&&wt(n))}f.push(u)}return ei(f)}function vr(n,t){var f=0,i=t.length>0,e=n.length>0,o=function(o,h,c,l,a){var y,g,k,w=[],d=0,v="0",nt=o&&[],tt=a!=null,it=lt,ut=o||e&&r.find.TAG("*",a&&h.parentNode||h),rt=p+=it==null?1:Math.random()||.1;for(tt&&(lt=h!==s&&h,ht=f);(y=ut[v])!=null;v++){if(e&&y){for(g=0;k=n[g++];)if(k(y,h,c)){l.push(y);break}tt&&(p=rt,ht=++f)}i&&((y=!k&&y)&&d--,o&&nt.push(y))}if(d+=v,i&&v!==d){for(g=0;k=t[g++];)k(nt,w,h,c);if(o){if(d>0)while(v--)nt[v]||w[v]||(w[v]=nr.call(l));w=bt(w)}b.apply(l,w);tt&&!o&&w.length>0&&d+t.length>1&&u.uniqueSort(l)}return tt&&(p=rt,lt=it),nt};return i?c(o):o}function yr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function pr(n,t,i,u){var s,f,o,c,l,h=pt(n);if(!u&&h.length===1){if(f=h[0]=h[0].slice(0),f.length>2&&(o=f[0]).type==="ID"&&e.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){if(t=(r.find.ID(o.matches[0].replace(k,d),t)||[])[0],!t)return i;n=n.slice(f.shift().value.length)}for(s=yt.needsContext.test(n)?0:f.length;s--;){if(o=f[s],r.relative[c=o.type])break;if((l=r.find[c])&&(u=l(o.matches[0].replace(k,d),ti.test(f[0].type)&&t.parentNode||t))){if(f.splice(s,1),n=u.length&&wt(f),!n)return b.apply(i,u),i;break}}}return kt(n,h)(u,t,!v,i,ti.test(n)),i}var ut,e,ht,r,ct,hi,kt,lt,g,nt,s,a,v,h,tt,at,ot,o="sizzle"+-new Date,y=n.document,p=0,di=0,ci=ri(),li=ri(),ai=ri(),ft=!1,dt=function(n,t){return n===t?(ft=!0,0):0},st=typeof t,vi=-2147483648,gi={}.hasOwnProperty,w=[],nr=w.pop,tr=w.push,b=w.push,yi=w.slice,it=w.indexOf||function(n){for(var t=0,i=this.length;t<i;t++)if(this[t]===n)return t;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",f="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",pi=et.replace("w","w#"),wi="\\["+f+"*("+et+")"+f+"*(?:([*^$|!~]?=)"+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+pi+")|)|)"+f+"*\\]",ni=":("+et+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+wi.replace(3,8)+")*)|.*)\\)|)",vt=new RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),ir=new RegExp("^"+f+"*,"+f+"*"),rr=new RegExp("^"+f+"*([>+~]|"+f+")"+f+"*"),ti=new RegExp(f+"*[+~]"),ur=new RegExp("="+f+"*([^\\]'\"]*)"+f+"*\\]","g"),fr=new RegExp(ni),er=new RegExp("^"+pi+"$"),yt={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et.replace("w","w*")+")"),ATTR:new RegExp("^"+wi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+f+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)","i")},ii=/^[^{]+\{\s*\[native \w/,or=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,sr=/^(?:input|select|textarea|button)$/i,hr=/^h\d$/i,cr=/'|\\/g,k=new RegExp("\\\\([\\da-f]{1,6}"+f+"?|("+f+")|.)","ig"),d=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)};try{b.apply(w=yi.call(y.childNodes),y.childNodes);w[y.childNodes.length].nodeType}catch(wr){b={apply:w.length?function(n,t){tr.apply(n,yi.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}hi=u.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1};e=u.support={};nt=u.setDocument=function(n){var t=n?n.ownerDocument||n:y,i=t.defaultView;return t===s||t.nodeType!==9||!t.documentElement?s:(s=t,a=t.documentElement,v=!hi(t),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){nt()}),e.attributes=l(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=l(function(n){return n.appendChild(t.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=l(function(n){return n.innerHTML="<div class='a'><\/div><div class='a i'><\/div>",n.firstChild.className="i",n.getElementsByClassName("i").length===2}),e.getById=l(function(n){return a.appendChild(n).id=o,!t.getElementsByName||!t.getElementsByName(o).length}),e.getById?(r.find.ID=function(n,t){if(typeof t.getElementById!==st&&v){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},r.filter.ID=function(n){var t=n.replace(k,d);return function(n){return n.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(n){var t=n.replace(k,d);return function(n){var i=typeof n.getAttributeNode!==st&&n.getAttributeNode("id");return i&&i.value===t}}),r.find.TAG=e.getElementsByTagName?function(n,t){if(typeof t.getElementsByTagName!==st)return t.getElementsByTagName(n)}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},r.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!==st&&v)return t.getElementsByClassName(n)},tt=[],h=[],(e.qsa=ii.test(t.querySelectorAll))&&(l(function(n){n.innerHTML="<select><option selected=''><\/option><\/select>";n.querySelectorAll("[selected]").length||h.push("\\["+f+"*(?:value|"+gt+")");n.querySelectorAll(":checked").length||h.push(":checked")}),l(function(n){var i=t.createElement("input");i.setAttribute("type","hidden");n.appendChild(i).setAttribute("t","");n.querySelectorAll("[t^='']").length&&h.push("[*^$]="+f+"*(?:''|\"\")");n.querySelectorAll(":enabled").length||h.push(":enabled",":disabled");n.querySelectorAll("*,:x");h.push(",.*:")})),(e.matchesSelector=ii.test(at=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&l(function(n){e.disconnectedMatch=at.call(n,"div");at.call(n,"[s!='']:x");tt.push("!=",ni)}),h=h.length&&new RegExp(h.join("|")),tt=tt.length&&new RegExp(tt.join("|")),ot=ii.test(a.contains)||a.compareDocumentPosition?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=a.compareDocumentPosition?function(n,i){if(n===i)return ft=!0,0;var r=i.compareDocumentPosition&&n.compareDocumentPosition&&n.compareDocumentPosition(i);return r?r&1||!e.sortDetached&&i.compareDocumentPosition(n)===r?n===t||ot(y,n)?-1:i===t||ot(y,i)?1:g?it.call(g,n)-it.call(g,i):0:r&4?-1:1:n.compareDocumentPosition?-1:1}:function(n,i){var r,u=0,o=n.parentNode,s=i.parentNode,f=[n],e=[i];if(n===i)return ft=!0,0;if(o&&s){if(o===s)return bi(n,i)}else return n===t?-1:i===t?1:o?-1:s?1:g?it.call(g,n)-it.call(g,i):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=i;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?bi(f[u],e[u]):f[u]===y?-1:e[u]===y?1:0},t)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==s&&nt(n),t=t.replace(ur,"='$1']"),e.matchesSelector&&v&&(!tt||!tt.test(t))&&(!h||!h.test(t)))try{var i=at.call(n,t);if(i||e.disconnectedMatch||n.document&&n.document.nodeType!==11)return i}catch(r){}return u(t,s,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==s&&nt(n),ot(n,t)};u.attr=function(n,i){(n.ownerDocument||n)!==s&&nt(n);var f=r.attrHandle[i.toLowerCase()],u=f&&gi.call(r.attrHandle,i.toLowerCase())?f(n,i,!v):t;return u===t?e.attributes||!v?n.getAttribute(i):(u=n.getAttributeNode(i))&&u.specified?u.value:null:u};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ft=!e.detectDuplicates,g=!e.sortStable&&n.slice(0),n.sort(dt),ft){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return n};ct=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=ct(n)}else if(t===3||t===4)return n.nodeValue}else for(;r=n[u];u++)i+=ct(r);return i};r=u.selectors={cacheLength:50,createPseudo:c,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(k,d),n[3]=(n[4]||n[5]||"").replace(k,d),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var r,i=!n[5]&&n[2];return yt.CHILD.test(n[0])?null:(n[3]&&n[4]!==t?n[2]=n[4]:i&&fr.test(i)&&(r=pt(i,!0))&&(r=i.indexOf(")",i.length-r)-i.length)&&(n[0]=n[0].slice(0,r),n[2]=i.slice(0,r)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(k,d).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=ci[n+" "];return t||(t=new RegExp("(^|"+f+")"+n+"("+f+"|$)"))&&ci(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!==st&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",e=n.slice(-4)!=="last",f=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var a,k,c,l,v,w,b=s!==e?"nextSibling":"previousSibling",y=t.parentNode,g=f&&t.nodeName.toLowerCase(),d=!h&&!f;if(y){if(s){while(b){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;w=b=n==="only"&&!w&&"nextSibling"}return!0}if(w=[e?y.firstChild:y.lastChild],e&&d){for(k=y[o]||(y[o]={}),a=k[n]||[],v=a[0]===p&&a[1],l=a[0]===p&&a[2],c=v&&y.childNodes[v];c=++v&&c&&c[b]||(l=v=0)||w.pop();)if(c.nodeType===1&&++l&&c===t){k[n]=[p,v,l];break}}else if(d&&(a=(t[o]||(t[o]={}))[n])&&a[0]===p)l=a[1];else while(c=++v&&c&&c[b]||(l=v=0)||w.pop())if((f?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++l&&(d&&((c[o]||(c[o]={}))[n]=[p,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,t){var f,i=r.pseudos[n]||r.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return i[o]?i(t):i.length>1?(f=[n,n,"",t],r.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,r){for(var u,f=i(n,t),e=f.length;e--;)u=it.call(n,f[e]),n[u]=!(r[u]=f[e])}):function(n){return i(n,0,f)}):i}},pseudos:{not:c(function(n){var i=[],r=[],t=kt(n.replace(vt,"$1"));return t[o]?c(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:c(function(n){return function(t){return u(n,t).length>0}}),contains:c(function(n){return function(t){return(t.textContent||t.innerText||ct(t)).indexOf(n)>-1}}),lang:c(function(n){return er.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(k,d).toLowerCase(),function(t){var i;do if(i=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===a},focus:function(n){return n===s.activeElement&&(!s.hasFocus||s.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeName>"@"||n.nodeType===3||n.nodeType===4)return!1;return!0},parent:function(n){return!r.pseudos.empty(n)},header:function(n){return hr.test(n.nodeName)},input:function(n){return sr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()===n.type)},first:rt(function(){return[0]}),last:rt(function(n,t){return[t-1]}),eq:rt(function(n,t,i){return[i<0?i+t:i]}),even:rt(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:rt(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:rt(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:rt(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};r.pseudos.nth=r.pseudos.eq;for(ut in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[ut]=lr(ut);for(ut in{submit:!0,reset:!0})r.pseudos[ut]=ar(ut);ki.prototype=r.filters=r.pseudos;r.setFilters=new ki;kt=u.compile=function(n,t){var r,u=[],f=[],i=ai[n+" "];if(!i){for(t||(t=pt(n)),r=t.length;r--;)i=si(t[r]),i[o]?u.push(i):f.push(i);i=ai(n,vr(f,u))}return i};e.sortStable=o.split("").sort(dt).join("")===o;e.detectDuplicates=ft;nt();e.sortDetached=l(function(n){return n.compareDocumentPosition(s.createElement("div"))&1});l(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ui("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)});e.attributes&&l(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ui("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue});l(function(n){return n.getAttribute("disabled")==null})||ui(gt,function(n,t,i){var r;if(!i)return(r=n.getAttributeNode(t))&&r.specified?r.value:n[t]===!0?t.toLowerCase():null});i.find=u;i.expr=u.selectors;i.expr[":"]=i.expr.pseudos;i.unique=u.uniqueSort;i.text=u.getText;i.isXMLDoc=u.isXML;i.contains=u.contains}(n);ni={};i.Callbacks=function(n){n=typeof n=="string"?ni[n]||te(n):i.extend({},n);var s,f,c,e,o,l,r=[],u=!n.once&&[],a=function(t){for(f=n.memory&&t,c=!0,o=l||0,l=0,e=r.length,s=!0;r&&o<e;o++)if(r[o].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}s=!1;r&&(u?u.length&&a(u.shift()):f?r=[]:h.disable())},h={add:function(){if(r){var t=r.length;(function u(t){i.each(t,function(t,f){var e=i.type(f);e==="function"?n.unique&&h.has(f)||r.push(f):f&&f.length&&e!=="string"&&u(f)})})(arguments);s?e=r.length:f&&(l=t,a(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),s&&(u<=e&&e--,u<=o&&o--)}),this},has:function(n){return n?i.inArray(n,r)>-1:!!(r&&r.length)},empty:function(){return r=[],e=0,this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||h.disable(),this},locked:function(){return!u},fireWith:function(n,t){return r&&(!c||u)&&(t=t||[],t=[n,t.slice?t.slice():t],s?u.push(t):a(t)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var s=e[0],o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[s+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=l.call(arguments),r=u.length,e=r!==1||n&&i.isFunction(n.promise)?r:0,f=e===1?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?l.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);t<r;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(h(t,s,u)).fail(f.reject).progress(h(t,c,o)):--e;return e||f.resolveWith(s,u),f.promise()}});i.support=function(t){var a,e,f,h,c,l,v,y,s,u=r.createElement("div");if(u.setAttribute("className","t"),u.innerHTML="  <link/><table><\/table><a href='/a'>a<\/a><input type='checkbox'/>",a=u.getElementsByTagName("*")||[],e=u.getElementsByTagName("a")[0],!e||!e.style||!a.length)return t;h=r.createElement("select");l=h.appendChild(r.createElement("option"));f=u.getElementsByTagName("input")[0];e.style.cssText="top:1px;float:left;opacity:.5";t.getSetAttribute=u.className!=="t";t.leadingWhitespace=u.firstChild.nodeType===3;t.tbody=!u.getElementsByTagName("tbody").length;t.htmlSerialize=!!u.getElementsByTagName("link").length;t.style=/top/.test(e.getAttribute("style"));t.hrefNormalized=e.getAttribute("href")==="/a";t.opacity=/^0.5/.test(e.style.opacity);t.cssFloat=!!e.style.cssFloat;t.checkOn=!!f.value;t.optSelected=l.selected;t.enctype=!!r.createElement("form").enctype;t.html5Clone=r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav><\/:nav>";t.inlineBlockNeedsLayout=!1;t.shrinkWrapBlocks=!1;t.pixelPosition=!1;t.deleteExpando=!0;t.noCloneEvent=!0;t.reliableMarginRight=!0;t.boxSizingReliable=!0;f.checked=!0;t.noCloneChecked=f.cloneNode(!0).checked;h.disabled=!0;t.optDisabled=!l.disabled;try{delete u.test}catch(p){t.deleteExpando=!1}f=r.createElement("input");f.setAttribute("value","");t.input=f.getAttribute("value")==="";f.value="t";f.setAttribute("type","radio");t.radioValue=f.value==="t";f.setAttribute("checked","t");f.setAttribute("name","t");c=r.createDocumentFragment();c.appendChild(f);t.appendChecked=f.checked;t.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked;u.attachEvent&&(u.attachEvent("onclick",function(){t.noCloneEvent=!1}),u.cloneNode(!0).click());for(s in{submit:!0,change:!0,focusin:!0})u.setAttribute(v="on"+s,"t"),t[s+"Bubbles"]=v in n||u.attributes[v].expando===!1;u.style.backgroundClip="content-box";u.cloneNode(!0).style.backgroundClip="";t.clearCloneStyle=u.style.backgroundClip==="content-box";for(s in i(t))break;return t.ownLast=s!=="0",i(function(){var h,e,f,c="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=r.getElementsByTagName("body")[0];s&&(h=r.createElement("div"),h.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(h).appendChild(u),u.innerHTML="<table><tr><td><\/td><td>t<\/td><\/tr><\/table>",f=u.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",y=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",t.reliableHiddenOffsets=y&&f[0].offsetHeight===0,u.innerHTML="",u.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",i.swap(s,s.style.zoom!=null?{zoom:1}:{},function(){t.boxSizing=u.offsetWidth===4}),n.getComputedStyle&&(t.pixelPosition=(n.getComputedStyle(u,null)||{}).top!=="1%",t.boxSizingReliable=(n.getComputedStyle(u,null)||{width:"4px"}).width==="4px",e=u.appendChild(r.createElement("div")),e.style.cssText=u.style.cssText=c,e.style.marginRight=e.style.width="0",u.style.width="1px",t.reliableMarginRight=!parseFloat((n.getComputedStyle(e,null)||{}).marginRight)),typeof u.style.zoom!==o&&(u.innerHTML="",u.style.cssText=c+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=u.offsetWidth===3,u.style.display="block",u.innerHTML="<div><\/div>",u.firstChild.style.width="5px",t.shrinkWrapBlocks=u.offsetWidth!==3,t.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(h),h=u=f=e=null)}),a=h=c=l=e=f=null,t}({});ir=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/;rr=/([A-Z])/g;i.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ti(n)},data:function(n,t,i){return ur(n,t,i)},removeData:function(n,t){return fr(n,t)},_data:function(n,t,i){return ur(n,t,i,!0)},_removeData:function(n,t){return fr(n,t,!0)},acceptData:function(n){if(n.nodeType&&n.nodeType!==1&&n.nodeType!==9)return!1;var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}});i.fn.extend({data:function(n,r){var e,f,o=null,s=0,u=this[0];if(n===t){if(this.length&&(o=i.data(u),u.nodeType===1&&!i._data(u,"parsedAttrs"))){for(e=u.attributes;s<e.length;s++)f=e[s].name,f.indexOf("data-")===0&&(f=i.camelCase(f.slice(5)),er(u,f,o[f]));i._data(u,"parsedAttrs",!0)}return o}return typeof n=="object"?this.each(function(){i.data(this,n)}):arguments.length>1?this.each(function(){i.data(this,n,r)}):u?er(u,n,i.data(u,n)):null},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i._removeData(n,t+"queue");i._removeData(n,r)})})}});i.fn.extend({queue:function(n,r){var u=2;return(typeof n!="string"&&(r=n,n="fx",u--),arguments.length<u)?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n);n==="fx"&&t[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(r=n,n=t),n=n||"fx";s--;)u=i._data(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(r)}});var d,or,ii=/[\t\r\n\f]/g,ie=/\r/g,re=/^(?:input|select|textarea|button|object)$/i,ue=/^(?:a|area)$/i,ri=/^(?:checked|selected)$/i,a=i.support.getSetAttribute,ht=i.support.input;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t;delete this[n]}catch(i){}})},addClass:function(n){var e,t,r,u,o,f=0,h=this.length,c=typeof n=="string"&&n;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];f<h;f++)if(t=this[f],r=t.nodeType===1&&(t.className?(" "+t.className+" ").replace(ii," "):" "),r){for(o=0;u=e[o++];)r.indexOf(" "+u+" ")<0&&(r+=u+" ");t.className=i.trim(r)}return this},removeClass:function(n){var e,r,t,u,o,f=0,h=this.length,c=arguments.length===0||typeof n=="string"&&n;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(c)for(e=(n||"").match(s)||[];f<h;f++)if(r=this[f],t=r.nodeType===1&&(r.className?(" "+r.className+" ").replace(ii," "):""),t){for(o=0;u=e[o++];)while(t.indexOf(" "+u+" ")>=0)t=t.replace(" "+u+" "," ");r.className=n?i.trim(t):""}return this},toggleClass:function(n,t){var r=typeof n;return typeof t=="boolean"&&r==="string"?t?this.addClass(n):this.removeClass(n):i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var t,f=0,u=i(this),e=n.match(s)||[];t=e[f++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(r===o||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t<r;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(ii," ").indexOf(i)>=0)return!0;return!1},val:function(n){var u,r,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f;this.nodeType===1&&(f=e?n.call(this,u,i(this).val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(ie,""):u==null?"":u):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:n.text}},select:{get:function(n){for(var e,t,o=n.options,r=n.selectedIndex,u=n.type==="select-one"||r<0,s=u?null:[],h=u?r+1:o.length,f=r<0?h:u?r:0;f<h;f++)if(t=o[f],(t.selected||f===r)&&(i.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(e=i(t).val(),u)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i(r).val(),e)>=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}},attr:function(n,r,u){var f,e,s=n.nodeType;if(n&&s!==3&&s!==8&&s!==2){if(typeof n.getAttribute===o)return i.prop(n,r,u);if(s===1&&i.isXMLDoc(n)||(r=r.toLowerCase(),f=i.attrHooks[r]||(i.expr.match.bool.test(r)?or:d)),u!==t)if(u===null)i.removeAttr(n,r);else return f&&"set"in f&&(e=f.set(n,u,r))!==t?e:(n.setAttribute(r,u+""),u);else return f&&"get"in f&&(e=f.get(n,r))!==null?e:(e=i.find.attr(n,r),e==null?t:e)}},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(s);if(f&&n.nodeType===1)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)?ht&&a||!ri.test(r)?n[u]=!1:n[i.camelCase("default-"+r)]=n[u]=!1:i.attr(n,r,""),n.removeAttribute(a?r:u)},attrHooks:{type:{set:function(n,t){if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(n,r,u){var e,f,s,o=n.nodeType;if(n&&o!==3&&o!==8&&o!==2)return s=o!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&(e=f.get(n,r))!==null?e:n[r]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):re.test(n.nodeName)||ue.test(n.nodeName)&&n.href?0:-1}}}});or={set:function(n,t,r){return t===!1?i.removeAttr(n,r):ht&&a||!ri.test(r)?n.setAttribute(!a&&i.propFix[r]||r,r):n[i.camelCase("default-"+r)]=n[r]=!0,r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,r){var u=i.expr.attrHandle[r]||i.find.attr;i.expr.attrHandle[r]=ht&&a||!ri.test(r)?function(n,r,f){var e=i.expr.attrHandle[r],o=f?t:(i.expr.attrHandle[r]=t)!=u(n,r,f)?r.toLowerCase():null;return i.expr.attrHandle[r]=e,o}:function(n,r,u){return u?t:n[i.camelCase("default-"+r)]?r.toLowerCase():null}});ht&&a||(i.attrHooks.value={set:function(n,t,r){if(i.nodeName(n,"input"))n.defaultValue=t;else return d&&d.set(n,t,r)}});a||(d={set:function(n,i,r){var u=n.getAttributeNode(r);return u||n.setAttributeNode(u=n.ownerDocument.createAttribute(r)),u.value=i+="",r==="value"||i===n.getAttribute(r)?i:t}},i.expr.attrHandle.id=i.expr.attrHandle.name=i.expr.attrHandle.coords=function(n,i,r){var u;return r?t:(u=n.getAttributeNode(i))&&u.value!==""?u.value:null},i.valHooks.button={get:function(n,i){var r=n.getAttributeNode(i);return r&&r.specified?r.value:t},set:d.set},i.attrHooks.contenteditable={set:function(n,t,i){d.set(n,t===""?!1:t,i)}},i.each(["width","height"],function(n,t){i.attrHooks[t]={set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}}}));i.support.hrefNormalized||i.each(["href","src"],function(n,t){i.propHooks[t]={get:function(n){return n.getAttribute(t,4)}}});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText||t},set:function(n,t){return n.style.cssText=t+""}});i.support.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.support.enctype||(i.propFix.enctype="encoding");i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};i.support.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});var ui=/^(?:input|select|textarea)$/i,fe=/^key/,ee=/^(?:mouse|contextmenu)|click/,sr=/^(?:focusinfocus|focusoutblur)$/,hr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,r,u,f,e){var b,p,k,w,c,l,a,v,h,d,g,y=i._data(n);if(y){for(u.handler&&(w=u,u=w.handler,e=w.selector),u.guid||(u.guid=i.guid++),(p=y.events)||(p=y.events={}),(l=y.handle)||(l=y.handle=function(n){return typeof i!==o&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(l.elem,arguments):t},l.elem=n),r=(r||"").match(s)||[""],k=r.length;k--;)(b=hr.exec(r[k])||[],h=g=b[1],d=(b[2]||"").split(".").sort(),h)&&(c=i.event.special[h]||{},h=(e?c.delegateType:c.bindType)||h,c=i.event.special[h]||{},a=i.extend({type:h,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},w),(v=p[h])||(v=p[h]=[],v.delegateCount=0,c.setup&&c.setup.call(n,f,d,l)!==!1||(n.addEventListener?n.addEventListener(h,l,!1):n.attachEvent&&n.attachEvent("on"+h,l))),c.add&&(c.add.call(n,a),a.handler.guid||(a.handler.guid=u.guid)),e?v.splice(v.delegateCount++,0,a):v.push(a),i.event.global[h]=!0);n=null}},remove:function(n,t,r,u,f){var y,o,h,b,p,a,c,l,e,w,k,v=i.hasData(n)&&i._data(n);if(v&&(a=v.events)){for(t=(t||"").match(s)||[""],p=t.length;p--;){if(h=hr.exec(t[p])||[],e=k=h[1],w=(h[2]||"").split(".").sort(),!e){for(e in a)i.event.remove(n,e+t[p],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,l=a[e]||[],h=h[2]&&new RegExp("(^|\\.)"+w.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=l.length;y--;)o=l[y],(f||k===o.origType)&&(!r||r.guid===o.guid)&&(!h||h.test(o.namespace))&&(!u||u===o.selector||u==="**"&&o.selector)&&(l.splice(y,1),o.selector&&l.delegateCount--,c.remove&&c.remove.call(n,o));b&&!l.length&&(c.teardown&&c.teardown.call(n,w,v.handle)!==!1||i.removeEvent(n,e,v.handle),delete a[e])}i.isEmptyObject(a)&&(delete v.handle,i._removeData(n,"events"))}},trigger:function(u,f,e,o){var a,v,s,w,l,c,b,p=[e||r],h=k.call(u,"type")?u.type:u,y=k.call(u,"namespace")?u.namespace.split("."):[];if((s=c=e=e||r,e.nodeType!==3&&e.nodeType!==8)&&!sr.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),v=h.indexOf(":")<0&&"on"+h,u=u[i.expando]?u:new i.Event(h,typeof u=="object"&&u),u.isTrigger=o?2:3,u.namespace=y.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=t,u.target||(u.target=e),f=f==null?[u]:i.makeArray(f,[u]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(w=l.delegateType||h,sr.test(w+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||r)&&p.push(c.defaultView||c.parentWindow||n)}for(b=0;(s=p[b++])&&!u.isPropagationStopped();)u.type=b>1?w:l.bindType||h,a=(i._data(s,"events")||{})[u.type]&&i._data(s,"handle"),a&&a.apply(s,f),a=v&&s[v],a&&i.acceptData(s)&&a.apply&&a.apply(s,f)===!1&&u.preventDefault();if(u.type=h,!o&&!u.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),f)===!1)&&i.acceptData(e)&&v&&e[h]&&!i.isWindow(e)){c=e[v];c&&(e[v]=null);i.event.triggered=h;try{e[h]()}catch(d){}i.event.triggered=t;c&&(e[v]=c)}return u.result}},dispatch:function(n){n=i.event.fix(n);var o,e,r,u,s,h=[],c=l.call(arguments),a=(i._data(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,a),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(r=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(r.namespace))&&(n.handleObj=r,n.data=r.data,e=((i.event.special[r.origType]||{}).handle||r.handler).apply(u.elem,c),e!==t&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,r){var e,o,f,s,c=[],h=r.delegateCount,u=n.target;if(h&&u.nodeType&&(!n.button||n.type!=="click"))for(;u!=this;u=u.parentNode||this)if(u.nodeType===1&&(u.disabled!==!0||n.type!=="click")){for(f=[],s=0;s<h;s++)o=r[s],e=o.selector+" ",f[e]===t&&(f[e]=o.needsContext?i(e,this).index(u)>=0:i.find(e,this,null,[u]).length),f[e]&&f.push(o);f.length&&c.push({elem:u,handlers:f})}return h<r.length&&c.push({elem:this,handlers:r.slice(h)}),c},fix:function(n){if(n[i.expando])return n;var e,o,s,u=n.type,f=n,t=this.fixHooks[u];for(t||(this.fixHooks[u]=t=ee.test(u)?this.mouseHooks:fe.test(u)?this.keyHooks:{}),s=t.props?this.props.concat(t.props):this.props,n=new i.Event(f),e=s.length;e--;)o=s[e],n[o]=f[o];return n.target||(n.target=f.srcElement||r),n.target.nodeType===3&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,t.filter?t.filter(n,f):n},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var u,o,f,e=i.button,s=i.fromElement;return n.pageX==null&&i.clientX!=null&&(o=n.target.ownerDocument||r,f=o.documentElement,u=o.body,n.pageX=i.clientX+(f&&f.scrollLeft||u&&u.scrollLeft||0)-(f&&f.clientLeft||u&&u.clientLeft||0),n.pageY=i.clientY+(f&&f.scrollTop||u&&u.scrollTop||0)-(f&&f.clientTop||u&&u.clientTop||0)),!n.relatedTarget&&s&&(n.relatedTarget=s===n.target?i.toElement:s),n.which||e===t||(n.which=e&1?1:e&2?3:e&4?2:0),n}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cr()&&this.focus)try{return this.focus(),!1}catch(n){}},delegateType:"focusin"},blur:{trigger:function(){if(this===cr()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(i.nodeName(this,"input")&&this.type==="checkbox"&&this.click)return this.click(),!1},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){n.result!==t&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]===o&&(n[r]=null),n.detachEvent(r,i))};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?ct:g):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={isDefaultPrevented:g,isPropagationStopped:g,isImmediatePropagationStopped:g,preventDefault:function(){var n=this.originalEvent;(this.isDefaultPrevented=ct,n)&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){var n=this.originalEvent;(this.isPropagationStopped=ct,n)&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ct;this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"submitBubbles")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"submitBubbles",!0))})},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}});i.support.changeBubbles||(i.event.special.change={setup:function(){if(ui.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(i.event.add(this,"propertychange._change",function(n){n.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1);i.event.simulate("change",this,n,!0)})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;ui.test(t.nodeName)&&!i._data(t,"changeBubbles")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"changeBubbles",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!ui.test(this.nodeName)}});i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=0,f=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){u++==0&&r.addEventListener(n,f,!0)},teardown:function(){--u==0&&r.removeEventListener(n,f,!0)}}});i.fn.extend({on:function(n,r,u,f,e){var s,o;if(typeof n=="object"){typeof r!="string"&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(u==null&&f==null?(f=r,u=r=t):f==null&&(typeof r=="string"?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=g;else if(!f)return this;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if(typeof n=="object"){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||typeof r=="function")&&(u=r,r=t),u===!1&&(u=g),this.each(function(){i.event.remove(this,n,u,r)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var oe=/^.[^:#\[\.,]*$/,se=/^(?:parents|prev(?:Until|All))/,lr=i.expr.match.needsContext,he={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,r=[],u=this,f=u.length;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<f;t++)if(i.contains(u[t],this))return!0}));for(t=0;t<f;t++)i.find(n,u[t],r);return r=this.pushStack(f>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t<u;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(fi(this,n||[],!0))},filter:function(n){return this.pushStack(fi(this,n||[],!1))},is:function(n){return!!fi(this,typeof n=="string"&&lr.test(n)?i(n):n||[],!1).length},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=lr.test(n)||typeof n!="string"?i(n,t||this.context):0;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){r=u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){var r=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),u=i.merge(this.get(),r);return this.pushStack(i.unique(u))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return ar(n,"nextSibling")},prev:function(n){return ar(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(he[n]||(f=i.unique(f)),se.test(n)&&(f=f.reverse())),this.pushStack(f)}});i.extend({filter:function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var yr="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ce=/ jQuery\d+="(?:null|\d+)"/g,pr=new RegExp("<(?:"+yr+")[\\s/>]","i"),ei=/^\s+/,wr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,br=/<([\w:]+)/,kr=/<tbody/i,le=/<|&#?\w+;/,ae=/<(?:script|style|link)/i,oi=/^(?:checkbox|radio)$/i,ve=/checked\s*(?:[^=]|=\s*.checked.)/i,dr=/^$|\/(?:java|ecma)script/i,ye=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,e={option:[1,"<select multiple='multiple'>","<\/select>"],legend:[1,"<fieldset>","<\/fieldset>"],area:[1,"<map>","<\/map>"],param:[1,"<object>","<\/object>"],thead:[1,"<table>","<\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],col:[2,"<table><tbody><\/tbody><colgroup>","<\/colgroup><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:i.support.htmlSerialize?[0,"",""]:[1,"X<div>","<\/div>"]},we=vr(r),si=we.appendChild(r.createElement("div"));e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=gr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,e=n?i.filter(n,this):this,f=0;(r=e[f])!=null;f++)t||r.nodeType!==1||i.cleanData(u(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&hi(u(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++){for(n.nodeType===1&&i.cleanData(u(n,!1));n.firstChild;)n.removeChild(n.firstChild);n.options&&i.nodeName(n,"select")&&(n.options.length=0)}return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},f=0,o=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(ce,""):t;if(typeof n=="string"&&!ae.test(n)&&(i.support.htmlSerialize||!pr.test(n))&&(i.support.leadingWhitespace||!ei.test(n))&&!e[(br.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(wr,"<$1><\/$2>");try{for(;f<o;f++)r=this[f]||{},r.nodeType===1&&(i.cleanData(u(r,!1)),r.innerHTML=n);r=0}catch(s){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var t=i.map(this,function(n){return[n.nextSibling,n.parentNode]}),n=0;return this.domManip(arguments,function(r){var u=t[n++],f=t[n++];f&&(u&&u.parentNode!==f&&(u=this.nextSibling),i(this).remove(),f.insertBefore(r,u))},!0),n?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t,r){n=di.apply([],n);var h,f,c,o,v,s,e=0,l=this.length,p=this,w=l-1,a=n[0],y=i.isFunction(a);if(y||!(l<=1||typeof a!="string"||i.support.checkClone||!ve.test(a)))return this.each(function(i){var u=p.eq(i);y&&(n[0]=a.call(this,i,u.html()));u.domManip(n,t,r)});if(l&&(s=i.buildFragment(n,this[0].ownerDocument,!1,!r&&this),h=s.firstChild,s.childNodes.length===1&&(s=h),h)){for(o=i.map(u(s,"script"),nu),c=o.length;e<l;e++)f=s,e!==w&&(f=i.clone(f,!0,!0),c&&i.merge(o,u(f,"script"))),t.call(this[e],f,e);if(c)for(v=o[o.length-1].ownerDocument,i.map(o,tu),e=0;e<c;e++)f=o[e],dr.test(f.type||"")&&!i._data(f,"globalEval")&&i.contains(v,f)&&(f.src?i._evalUrl(f.src):i.globalEval((f.text||f.textContent||f.innerHTML||"").replace(pe,"")));s=h=null}return this}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,r=0,f=[],e=i(n),o=e.length-1;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),kt.apply(f,u.get());return this.pushStack(f)}});i.extend({clone:function(n,t,r){var f,h,o,e,s,c=i.contains(n.ownerDocument,n);if(i.support.html5Clone||i.isXMLDoc(n)||!pr.test("<"+n.nodeName+">")?o=n.cloneNode(!0):(si.innerHTML=n.outerHTML,si.removeChild(o=si.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=u(o),s=u(n),e=0;(h=s[e])!=null;++e)f[e]&&be(h,f[e]);if(t)if(r)for(s=s||u(n),f=f||u(o),e=0;(h=s[e])!=null;e++)iu(h,f[e]);else iu(n,o);return f=u(o,"script"),f.length>0&&hi(f,!c&&u(n,"script")),f=s=h=null,o},buildFragment:function(n,t,r,f){for(var h,o,w,s,y,p,l,b=n.length,a=vr(t),c=[],v=0;v<b;v++)if(o=n[v],o||o===0)if(i.type(o)==="object")i.merge(c,o.nodeType?[o]:o);else if(le.test(o)){for(s=s||a.appendChild(t.createElement("div")),y=(br.exec(o)||["",""])[1].toLowerCase(),l=e[y]||e._default,s.innerHTML=l[1]+o.replace(wr,"<$1><\/$2>")+l[2],h=l[0];h--;)s=s.lastChild;if(!i.support.leadingWhitespace&&ei.test(o)&&c.push(t.createTextNode(ei.exec(o)[0])),!i.support.tbody)for(o=y==="table"&&!kr.test(o)?s.firstChild:l[1]==="<table>"&&!kr.test(o)?s:0,h=o&&o.childNodes.length;h--;)i.nodeName(p=o.childNodes[h],"tbody")&&!p.childNodes.length&&o.removeChild(p);for(i.merge(c,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=a.lastChild}else c.push(t.createTextNode(o));for(s&&a.removeChild(s),i.support.appendChecked||i.grep(u(c,"input"),ke),v=0;o=c[v++];)if((!f||i.inArray(o,f)===-1)&&(w=i.contains(o.ownerDocument,o),s=u(a.appendChild(o),"script"),w&&hi(s),r))for(h=0;o=s[h++];)dr.test(o.type||"")&&r.push(o);return s=null,a},cleanData:function(n,t){for(var r,e,u,f,c=0,s=i.expando,h=i.cache,l=i.support.deleteExpando,a=i.event.special;(r=n[c])!=null;c++)if((t||i.acceptData(r))&&(u=r[s],f=u&&h[u],f)){if(f.events)for(e in f.events)a[e]?i.event.remove(r,e):i.removeEvent(r,e,f.handle);h[u]&&(delete h[u],l?delete r[s]:typeof r.removeAttribute!==o?r.removeAttribute(s):r[s]=null,b.push(u))}},_evalUrl:function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}});i.fn.extend({wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});var rt,v,y,ci=/alpha\([^)]*\)/i,de=/opacity\s*=\s*([^)]*)/,ge=/^(top|right|bottom|left)$/,no=/^(none|table(?!-c[ea]).+)/,ru=/^margin/,to=new RegExp("^("+st+")(.*)$","i"),lt=new RegExp("^("+st+")(?!px)[a-z%]+$","i"),io=new RegExp("^([+-])=("+st+")","i"),uu={BODY:"block"},ro={position:"absolute",visibility:"hidden",display:"block"},fu={letterSpacing:0,fontWeight:400},p=["Top","Right","Bottom","Left"],eu=["Webkit","O","Moz","ms"];i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){var e,o,s={},f=0;if(i.isArray(r)){for(o=v(n),e=r.length;f<e;f++)s[r[f]]=i.css(n,r[f],!1,o);return s}return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return su(this,!0)},hide:function(){return su(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){ut(this)?i(this).show():i(this).hide()})}});i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=y(n,"opacity");return i===""?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var o,s,e,h=i.camelCase(r),c=n.style;if(r=i.cssProps[h]||(i.cssProps[h]=ou(c,h)),e=i.cssHooks[r]||i.cssHooks[h],u!==t){if(s=typeof u,s==="string"&&(o=io.exec(u))&&(u=(o[1]+1)*o[2]+parseFloat(i.css(n,r)),s="number"),u==null||s==="number"&&isNaN(u))return;if(s!=="number"||i.cssNumber[h]||(u+="px"),i.support.clearCloneStyle||u!==""||r.indexOf("background")!==0||(c[r]="inherit"),!e||!("set"in e)||(u=e.set(n,u,f))!==t)try{c[r]=u}catch(l){}}else return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r]}},css:function(n,r,u,f){var h,e,o,s=i.camelCase(r);return(r=i.cssProps[s]||(i.cssProps[s]=ou(n.style,s)),o=i.cssHooks[r]||i.cssHooks[s],o&&"get"in o&&(e=o.get(n,!0,u)),e===t&&(e=y(n,r,f)),e==="normal"&&r in fu&&(e=fu[r]),u===""||u)?(h=parseFloat(e),u===!0||i.isNumeric(h)?h||0:e):e}});n.getComputedStyle?(v=function(t){return n.getComputedStyle(t,null)},y=function(n,r,u){var s,h,c,o=u||v(n),e=o?o.getPropertyValue(r)||o[r]:t,f=n.style;return o&&(e!==""||i.contains(n.ownerDocument,n)||(e=i.style(n,r)),lt.test(e)&&ru.test(r)&&(s=f.width,h=f.minWidth,c=f.maxWidth,f.minWidth=f.maxWidth=f.width=e,e=o.width,f.width=s,f.minWidth=h,f.maxWidth=c)),e}):r.documentElement.currentStyle&&(v=function(n){return n.currentStyle},y=function(n,i,r){var s,e,o,h=r||v(n),u=h?h[i]:t,f=n.style;return u==null&&f&&f[i]&&(u=f[i]),lt.test(u)&&!ge.test(i)&&(s=f.left,e=n.runtimeStyle,o=e&&e.left,o&&(e.left=n.currentStyle.left),f.left=i==="fontSize"?"1em":u,u=f.pixelLeft+"px",f.left=s,o&&(e.left=o)),u===""?"auto":u});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return n.offsetWidth===0&&no.test(i.css(n,"display"))?i.swap(n,ro,function(){return lu(n,t,u)}):lu(n,t,u)},set:function(n,r,u){var f=u&&v(n);return hu(n,r,u?cu(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing",!1,f)==="border-box",f):0)}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return de.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",f=u&&u.filter||r.filter||"";(r.zoom=1,(t>=1||t==="")&&i.trim(f.replace(ci,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),t===""||u&&!u.filter))||(r.filter=ci.test(f)?f.replace(ci,e):f+" "+e)}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){if(t)return i.swap(n,{display:"inline-block"},y,[n,"marginRight"])}});!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r)return r=y(n,t),lt.test(r)?i(n).position()[t]+"px":r}}})});i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||i.css(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};ru.test(n)||(i.cssHooks[n+t].set=hu)});var uo=/%20/g,fo=/\[\]$/,yu=/\r?\n/g,eo=/^(?:submit|button|image|reset|file)$/i,oo=/^(?:input|select|textarea|keygen)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&oo.test(this.nodeName)&&!eo.test(n)&&(this.checked||!oi.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yu,"\r\n")}}):{name:t.name,value:r.replace(yu,"\r\n")}}).get()}});i.param=function(n,r){var u,f=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(u in n)li(u,n[u],r,e);return f.join("&").replace(uo,"+")};i.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}});var w,c,ai=i.now(),vi=/\?/,so=/#.*$/,pu=/([?&])_=[^&]*/,ho=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,co=/^(?:GET|HEAD)$/,lo=/^\/\//,wu=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bu=i.fn.load,ku={},yi={},du="*/".concat("*");try{c=hf.href}catch(go){c=r.createElement("a");c.href="";c=c.href}w=wu.exec(c.toLowerCase())||[];i.fn.load=function(n,r,u){if(typeof n!="string"&&bu)return bu.apply(this,arguments);var f,s,h,e=this,o=n.indexOf(" ");return o>=0&&(f=n.slice(o,n.length),n=n.slice(0,o)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(h="POST"),e.length>0&&i.ajax({url:n,type:h,dataType:"html",data:r}).done(function(n){s=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).complete(u&&function(n,t){e.each(u,s||[n.responseText,t,n])}),this};i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}});i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:c,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(w[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":du,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?pi(pi(n,i.ajaxSettings),t):pi(i.ajaxSettings,n)},ajaxPrefilter:gu(ku),ajaxTransport:gu(yi),ajax:function(n,r){function k(n,r,s,c){var a,rt,k,p,w,l=r;o!==2&&(o=2,g&&clearTimeout(g),v=t,d=c||"",f.readyState=n>0?4:0,a=n>=200&&n<300||n===304,s&&(p=ao(u,f,s)),p=vo(u,p,f,a),a?(u.ifModified&&(w=f.getResponseHeader("Last-Modified"),w&&(i.lastModified[e]=w),w=f.getResponseHeader("etag"),w&&(i.etag[e]=w)),n===204||u.type==="HEAD"?l="nocontent":n===304?l="notmodified":(l=p.state,rt=p.data,k=p.error,a=!k)):(k=l,(n||!l)&&(l="error",n<0&&(n=0))),f.status=n,f.statusText=(r||l)+"",a?tt.resolveWith(h,[rt,l,f]):tt.rejectWith(h,[f,l,k]),f.statusCode(b),b=t,y&&nt.trigger(a?"ajaxSuccess":"ajaxError",[f,u,a?rt:k]),it.fireWith(h,[f,l]),y&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}typeof n=="object"&&(r=n,n=t);r=r||{};var l,a,e,d,g,y,v,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),b=u.statusCode||{},rt={},ut={},o=0,ft="canceled",f={readyState:0,getResponseHeader:function(n){var t;if(o===2){if(!p)for(p={};t=ho.exec(d);)p[t[1].toLowerCase()]=t[2];t=p[n.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return o===2?d:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return o||(n=ut[i]=ut[i]||n,rt[n]=t),this},overrideMimeType:function(n){return o||(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(o<2)for(t in n)b[t]=[b[t],n[t]];else f.always(n[f.status]);return this},abort:function(n){var t=n||ft;return v&&v.abort(t),k(0,t),this}};if(tt.promise(f).complete=it.add,f.success=f.done,f.error=f.fail,u.url=((n||u.url||c)+"").replace(so,"").replace(lo,w[1]+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=i.trim(u.dataType||"*").toLowerCase().match(s)||[""],u.crossDomain==null&&(l=wu.exec(u.url.toLowerCase()),u.crossDomain=!!(l&&(l[1]!==w[1]||l[2]!==w[2]||(l[3]||(l[1]==="http:"?"80":"443"))!==(w[3]||(w[1]==="http:"?"80":"443"))))),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),nf(ku,u,r,f),o===2)return f;y=u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!co.test(u.type);e=u.url;u.hasContent||(u.data&&(e=u.url+=(vi.test(e)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=pu.test(e)?e.replace(pu,"$1_="+ai++):e+(vi.test(e)?"&":"?")+"_="+ai++));u.ifModified&&(i.lastModified[e]&&f.setRequestHeader("If-Modified-Since",i.lastModified[e]),i.etag[e]&&f.setRequestHeader("If-None-Match",i.etag[e]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType);f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+du+"; q=0.01":""):u.accepts["*"]);for(a in u.headers)f.setRequestHeader(a,u.headers[a]);if(u.beforeSend&&(u.beforeSend.call(h,f,u)===!1||o===2))return f.abort();ft="abort";for(a in{success:1,error:1,complete:1})f[a](u[a]);if(v=nf(yi,u,r,f),v){f.readyState=1;y&&nt.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(g=setTimeout(function(){f.abort("timeout")},u.timeout));try{o=1;v.send(rt,k)}catch(et){if(o<2)k(-1,et);else throw et;}}else k(-1,"No Transport");return f},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,r){return i.get(n,t,r,"script")}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({url:n,type:r,dataType:e,data:u,success:f})}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var u,f=r.head||i("head")[0]||r.documentElement;return{send:function(t,i){u=r.createElement("script");u.async=!0;n.scriptCharset&&(u.charset=n.scriptCharset);u.src=n.url;u.onload=u.onreadystatechange=function(n,t){(t||!u.readyState||/loaded|complete/.test(u.readyState))&&(u.onload=u.onreadystatechange=null,u.parentNode&&u.parentNode.removeChild(u),u=null,t||i(200,"success"))};f.insertBefore(u,f.firstChild)},abort:function(){if(u)u.onload(t,!0)}}}});wi=[];at=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+ai++;return this[n]=!0,n}});i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,h=r.jsonp!==!1&&(at.test(r.url)?"url":typeof r.data=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&at.test(r.data)&&"data");if(h||r.dataTypes[0]==="jsonp")return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,h?r[h]=r[h].replace(at,"$1"+e):r.jsonp!==!1&&(r.url+=(vi.test(r.url)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",s=n[e],n[e]=function(){o=arguments},f.always(function(){n[e]=s;r[e]&&(r.jsonpCallback=u.jsonpCallback,wi.push(e));o&&i.isFunction(s)&&s(o[0]);o=s=t}),"script"});tf=0;vt=n.ActiveXObject&&function(){var n;for(n in nt)nt[n](t,!0)};i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&rf()||yo()}:rf;tt=i.ajaxSettings.xhr();i.support.cors=!!tt&&"withCredentials"in tt;tt=i.support.ajax=!!tt;tt&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,a,l,c;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,vt&&delete nt[h]),f)o.readyState!==4&&o.abort();else{c={};s=o.status;a=o.getAllResponseHeaders();typeof o.responseText=="string"&&(c.text=o.responseText);try{l=o.statusText}catch(y){l=""}s||!r.isLocal||r.crossDomain?s===1223&&(s=204):s=c.text?200:404}}catch(v){f||e(-1,v)}c&&e(s,l,c,a)};r.async?o.readyState===4?setTimeout(u):(h=++tf,vt&&(nt||(nt={},i(n).unload(vt)),nt[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(t,!0)}}}});var it,yt,po=/^(?:toggle|show|hide)$/,uf=new RegExp("^(?:([+-])=|)("+st+")([a-z%]*)$","i"),wo=/queueHooks$/,pt=[ko],ft={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),u=uf.exec(t),e=u&&u[3]||(i.cssNumber[n]?"":"px"),r=(i.cssNumber[n]||e!=="px"&&+s)&&uf.exec(i.css(f.elem,n)),o=1,h=20;if(r&&r[3]!==e){e=e||r[3];u=u||[];r=+s||1;do o=o||".5",r=r/o,i.style(f.elem,n,r+e);while(o!==(o=f.cur()/s)&&o!==1&&--h)}return u&&(r=f.start=+r||+s||0,f.unit=e,f.end=u[1]?r+(u[1]+1)*u[2]:+u[2]),f}]};i.Animation=i.extend(of,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u<f;u++)r=n[u],ft[r]=ft[r]||[],ft[r].unshift(t)},prefilter:function(n,t){t?pt.unshift(n):pt.push(n)}});i.Tween=f;f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||"swing";this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var t,r=f.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):f.propHooks._default.set(this),this}};f.prototype.init.prototype=f.prototype;f.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]!=null&&(!n.elem.style||n.elem.style[n.prop]==null)?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(wt(t,!0),n,i,u)}});i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(ut).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),e=i.speed(t,r,u),f=function(){var t=of(this,i.extend({},n),e);(o||i._data(this,"finish"))&&t.stop(!0)};return f.finish=f,o||e.queue===!1?this.each(f):this.queue(e.queue,f)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=n!=null&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&wo.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem===this&&(n==null||e[t].queue===n)&&(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,f=i._data(this),r=f[n+"queue"],e=f[n+"queueHooks"],u=i.timers,o=r?r.length:0;for(f.finish=!0,i.queue(this,n,[]),e&&e.stop&&e.stop.call(this,!0),t=u.length;t--;)u[t].elem===this&&u[t].queue===n&&(u[t].anim.stop(!0),u.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete f.finish})}});i.each({slideDown:wt("show"),slideUp:wt("hide"),slideToggle:wt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}};i.timers=[];i.fx=f.prototype.init;i.fx.tick=function(){var u,n=i.timers,r=0;for(it=i.now();r<n.length;r++)u=n[r],u()||n[r]!==u||n.splice(r--,1);n.length||i.fx.stop();it=t};i.fx.timer=function(n){n()&&i.timers.push(n)&&i.fx.start()};i.fx.interval=13;i.fx.start=function(){yt||(yt=setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){clearInterval(yt);yt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fx.step={};i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length});i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,e,f={top:0,left:0},u=this[0],s=u&&u.ownerDocument;if(s)return(r=s.documentElement,!i.contains(r,u))?f:(typeof u.getBoundingClientRect!==o&&(f=u.getBoundingClientRect()),e=sf(s),{top:f.top+(e.pageYOffset||r.scrollTop)-(r.clientTop||0),left:f.left+(e.pageXOffset||r.scrollLeft)-(r.clientLeft||0)})};i.offset={setOffset:function(n,t,r){var f=i.css(n,"position");f==="static"&&(n.style.position="relative");var e=i(n),o=e.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(f==="absolute"||f==="fixed")&&i.inArray("auto",[l,a])>-1,u={},s={},h,c;v?(s=e.position(),h=s.top,c=s.left):(h=parseFloat(l)||0,c=parseFloat(a)||0);i.isFunction(t)&&(t=t.call(n,r,o));t.top!=null&&(u.top=t.top-o.top+h);t.left!=null&&(u.left=t.left-o.left+c);"using"in t?t.using.call(n,u):e.css(u)}};i.fn.extend({position:function(){if(this[0]){var n,r,t={top:0,left:0},u=this[0];return i.css(u,"position")==="fixed"?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||ki;n&&!i.nodeName(n,"html")&&i.css(n,"position")==="static";)n=n.offsetParent;return n||ki})}});i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=sf(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}});i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var o=arguments.length&&(u||typeof f!="boolean"),s=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,s):i.style(r,u,f,s)},r,o?f:t,o,null)}})});i.fn.size=function(){return this.length};i.fn.andSelf=i.fn.addBack;typeof module=="object"&&module&&typeof module.exports=="object"?module.exports=i:(n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}))})(window),function(n){n.extend(n.fn,{validate:function(t){if(!this.length){t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.");return}var i=n.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){i.settings.submitHandler&&(i.submitButton=t.target);n(t.target).hasClass("cancel")&&(i.cancelSubmit=!0);n(t.target).attr("formnovalidate")!==undefined&&(i.cancelSubmit=!0)}),this.submit(function(t){function r(){var r;return i.settings.submitHandler?(i.submitButton&&(r=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(n(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,t),i.submitButton&&r.remove(),!1):!0}return(i.settings.debug&&t.preventDefault(),i.cancelSubmit)?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})),i)},valid:function(){if(n(this[0]).is("form"))return this.validate().form();var t=!0,i=n(this[0].form).validate();return this.each(function(){t=t&&i.element(this)}),t},removeAttrs:function(t){var i={},r=this;return n.each(t.split(/\s/),function(n,t){i[t]=r.attr(t);r.removeAttr(t)}),i},rules:function(t,i){var r=this[0],o,u,h;if(t){var e=n.data(r.form,"validator").settings,s=e.rules,f=n.validator.staticRules(r);switch(t){case"add":n.extend(f,n.validator.normalizeRule(i));delete f.messages;s[r.name]=f;i.messages&&(e.messages[r.name]=n.extend(e.messages[r.name],i.messages));break;case"remove":return i?(o={},n.each(i.split(/\s/),function(n,t){o[t]=f[t];delete f[t]}),o):(delete s[r.name],f)}}return u=n.validator.normalizeRules(n.extend({},n.validator.classRules(r),n.validator.attributeRules(r),n.validator.dataRules(r),n.validator.staticRules(r)),r),u.required&&(h=u.required,delete u.required,u=n.extend({required:h},u)),u}});n.extend(n.expr[":"],{blank:function(t){return!n.trim(""+n(t).val())},filled:function(t){return!!n.trim(""+n(t).val())},unchecked:function(t){return!n(t).prop("checked")}});n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()};n.validator.format=function(t,i){return arguments.length===1?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(new RegExp("\\{"+n+"\\}","g"),function(){return i})}),t)};n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(n)).hide())},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(n,t){(t.which!==9||this.elementValue(n)!=="")&&(n.name in this.submitted||n===this.lastElement)&&this.element(n)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&this.element(n.parentNode)},highlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).addClass(i).removeClass(r):n(t).addClass(i).removeClass(r)},unhighlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).removeClass(i).addClass(r):n(t).removeClass(i).addClass(r)}},setDefaults:function(t){n.extend(n.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:n.validator.format("Please enter no more than {0} characters."),minlength:n.validator.format("Please enter at least {0} characters."),rangelength:n.validator.format("Please enter a value between {0} and {1} characters long."),range:n.validator.format("Please enter a value between {0} and {1}."),max:n.validator.format("Please enter a value less than or equal to {0}."),min:n.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function r(t){var i=n.data(this[0].form,"validator"),r="on"+t.type.replace(/^validate/,"");i.settings[r]&&i.settings[r].call(i,this[0],t)}var i,t;this.labelContainer=n(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||n(this.currentForm);this.containers=n(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();i=this.groups={};n.each(this.settings.groups,function(t,r){typeof r=="string"&&(r=r.split(/\s/));n.each(r,function(n,r){i[r]=t})});t=this.settings.rules;n.each(t,function(i,r){t[i]=n.validator.normalizeRule(r)});n(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",r).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",r);this.settings.invalidHandler&&n(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),n.extend(this.submitted,this.errorMap),this.invalid=n.extend({},this.errorMap),this.valid()||n(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var n=0,t=this.currentElements=this.elements();t[n];n++)this.check(t[n]);return this.valid()},element:function(t){t=this.validationTargetFor(this.clean(t));this.lastElement=t;this.prepareElement(t);this.currentElements=n(t);var i=this.check(t)!==!1;return i?delete this.invalid[t.name]:this.invalid[t.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(t){if(t){n.extend(this.errorMap,t);this.errorList=[];for(var i in t)this.errorList.push({message:t[i],element:this.findByName(i)[0]});this.successList=n.grep(this.successList,function(n){return!(n.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){n.fn.resetForm&&n(this.currentForm).resetForm();this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(n){var t=0,i;for(i in n)t++;return t},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()===0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{n(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&n.grep(this.errorList,function(n){return n.element.name===t.name}).length===1&&t},elements:function(){var t=this,i={};return n(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return(!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!t.objectLength(n(this).rules()))?!1:(i[this.name]=!0,!0)})},clean:function(t){return n(t)[0]},errors:function(){var t=this.settings.errorClass.replace(" ",".");return n(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=n([]);this.toHide=n([]);this.currentElements=n([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(n){this.reset();this.toHide=this.errorsFor(n)},elementValue:function(t){var r=n(t).attr("type"),i=n(t).val();return r==="radio"||r==="checkbox"?n("input[name='"+n(t).attr("name")+"']:checked").val():typeof i=="string"?i.replace(/\r/g,""):i},check:function(t){var r,u;t=this.validationTargetFor(this.clean(t));var f=n(t).rules(),e=!1,s=this.elementValue(t),i;for(r in f){u={method:r,parameters:f[r]};try{if(i=n.validator.methods[r].call(this,s,t,u.parameters),i==="dependency-mismatch"){e=!0;continue}if(e=!1,i==="pending"){this.toHide=this.toHide.not(this.errorsFor(t));return}if(!i)return this.formatAndAdd(t,u),!1}catch(o){this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+u.method+"' method.",o);throw o;}}if(!e)return this.objectLength(f)&&this.successList.push(t),!0},customDataMessage:function(t,i){return n(t).data("msg-"+i.toLowerCase())||t.attributes&&n(t).attr("data-msg-"+i.toLowerCase())},customMessage:function(n,t){var i=this.settings.messages[n];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var n=0;n<arguments.length;n++)if(arguments[n]!==undefined)return arguments[n];return undefined},defaultMessage:function(t,i){return this.findDefined(this.customMessage(t.name,i),this.customDataMessage(t,i),!this.settings.ignoreTitle&&t.title||undefined,n.validator.messages[i],"<strong>Warning: No message defined for "+t.name+"<\/strong>")},formatAndAdd:function(t,i){var r=this.defaultMessage(t,i.method),u=/\$?\{(\d+)\}/g;typeof r=="function"?r=r.call(this,i.parameters,t):u.test(r)&&(r=n.validator.format(r.replace(u,"{$1}"),i.parameters));this.errorList.push({message:r,element:t});this.errorMap[t.name]=r;this.submitted[t.name]=r},addWrapper:function(n){return this.settings.wrapper&&(n=n.add(n.parent(this.settings.wrapper))),n},defaultShowErrors:function(){for(var i,t,n=0;this.errorList[n];n++)t=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,i=this.validElements();i[n];n++)this.settings.unhighlight.call(this,i[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return n(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var r=this.errorsFor(t);r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(i)):(r=n("<"+this.settings.errorElement+">").attr("for",this.idOrName(t)).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(r=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(r).length||(this.settings.errorPlacement?this.settings.errorPlacement(r,n(t)):r.insertAfter(t)));!i&&this.settings.success&&(r.text(""),typeof this.settings.success=="string"?r.addClass(this.settings.success):this.settings.success(r,t));this.toShow=this.toShow.add(r)},errorsFor:function(t){var i=this.idOrName(t);return this.errors().filter(function(){return n(this).attr("for")===i})},idOrName:function(n){return this.groups[n.name]||(this.checkable(n)?n.name:n.id||n.name)},validationTargetFor:function(n){return this.checkable(n)&&(n=this.findByName(n.name).not(this.settings.ignore)[0]),n},checkable:function(n){return/radio|checkbox/i.test(n.type)},findByName:function(t){return n(this.currentForm).find("[name='"+t+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return n("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(n,t){return this.dependTypes[typeof n]?this.dependTypes[typeof n](n,t):!0},dependTypes:{boolean:function(n){return n},string:function(t,i){return!!n(t,i.form).length},"function":function(n,t){return n(t)}},optional:function(t){var i=this.elementValue(t);return!n.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(n){this.pending[n.name]||(this.pendingRequest++,this.pending[n.name]=!0)},stopRequest:function(t,i){this.pendingRequest--;this.pendingRequest<0&&(this.pendingRequest=0);delete this.pending[t.name];i&&this.pendingRequest===0&&this.formSubmitted&&this.form()?(n(this.currentForm).submit(),this.formSubmitted=!1):!i&&this.pendingRequest===0&&this.formSubmitted&&(n(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return n.data(t,"previousValue")||n.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:n.extend(this.classRuleSettings,t)},classRules:function(t){var i={},r=n(t).attr("class");return r&&n.each(r.split(" "),function(){this in n.validator.classRuleSettings&&n.extend(i,n.validator.classRuleSettings[this])}),i},attributeRules:function(t){var u={},e=n(t),f=e[0].getAttribute("type"),r,i;for(r in n.validator.methods)r==="required"?(i=e.get(0).getAttribute(r),i===""&&(i=!0),i=!!i):i=e.attr(r),/min|max/.test(r)&&(f===null||/number|range|text/.test(f))&&(i=Number(i)),i?u[r]=i:f===r&&f!=="range"&&(u[r]=!0);return u.maxlength&&/-1|2147483647|524288/.test(u.maxlength)&&delete u.maxlength,u},dataRules:function(t){var i,r,u={},f=n(t);for(i in n.validator.methods)r=f.data("rule-"+i.toLowerCase()),r!==undefined&&(u[i]=r);return u},staticRules:function(t){var i={},r=n.data(t.form,"validator");return r.settings.rules&&(i=n.validator.normalizeRule(r.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return n.each(t,function(r,u){if(u===!1){delete t[r];return}if(u.param||u.depends){var f=!0;switch(typeof u.depends){case"string":f=!!n(u.depends,i.form).length;break;case"function":f=u.depends.call(i,i)}f?t[r]=u.param!==undefined?u.param:!0:delete t[r]}}),n.each(t,function(r,u){t[r]=n.isFunction(u)?u(i):u}),n.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),n.each(["rangelength","range"],function(){var i;t[this]&&(n.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:typeof t[this]=="string"&&(i=t[this].split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))}),n.validator.autoCreateRanges&&(t.min&&t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength&&t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if(typeof t=="string"){var i={};n.each(t.split(/\s/),function(){i[this]=!0});t=i}return t},addMethod:function(t,i,r){n.validator.methods[t]=i;n.validator.messages[t]=r!==undefined?r:n.validator.messages[t];i.length<3&&n.validator.addClassRules(t,n.validator.normalizeRule(t))},methods:{required:function(t,i,r){if(!this.depend(r,i))return"dependency-mismatch";if(i.nodeName.toLowerCase()==="select"){var u=n(i).val();return u&&u.length>0}return this.checkable(i)?this.getLength(t,i)>0:n.trim(t).length>0},email:function(n,t){return this.optional(t)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(n)},url:function(n,t){return this.optional(t)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(n)},date:function(n,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(n).toString())},dateISO:function(n,t){return this.optional(t)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(n)},number:function(n,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n)},digits:function(n,t){return this.optional(t)||/^\d+$/.test(n)},creditcard:function(n,t){var r,e;if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var f=0,i=0,u=!1;for(n=n.replace(/\D/g,""),r=n.length-1;r>=0;r--)e=n.charAt(r),i=parseInt(e,10),u&&(i*=2)>9&&(i-=9),f+=i,u=!u;return f%10==0},minlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(n.trim(t),i);return this.optional(i)||u>=r},maxlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(n.trim(t),i);return this.optional(i)||u<=r},rangelength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(n.trim(t),i);return this.optional(i)||u>=r[0]&&u<=r[1]},min:function(n,t,i){return this.optional(t)||n>=i},max:function(n,t,i){return this.optional(t)||n<=i},range:function(n,t,i){return this.optional(t)||n>=i[0]&&n<=i[1]},equalTo:function(t,i,r){var u=n(r);return this.settings.onfocusout&&u.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){n(i).valid()}),t===u.val()},remote:function(t,i,r){var f,u,e;return this.optional(i)?"dependency-mismatch":(f=this.previousValue(i),this.settings.messages[i.name]||(this.settings.messages[i.name]={}),f.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=f.message,r=typeof r=="string"&&{url:r}||r,f.old===t)?f.valid:(f.old=t,u=this,this.startRequest(i),e={},e[i.name]=t,n.ajax(n.extend(!0,{url:r,mode:"abort",port:"validate"+i.name,dataType:"json",data:e,success:function(r){var e,h,s,o;u.settings.messages[i.name].remote=f.originalMessage;e=r===!0||r==="true";e?(h=u.formSubmitted,u.prepareElement(i),u.formSubmitted=h,u.successList.push(i),delete u.invalid[i.name],u.showErrors()):(s={},o=r||u.defaultMessage(i,"remote"),s[i.name]=f.message=n.isFunction(o)?o(t):o,u.invalid[i.name]=!0,u.showErrors(s));f.valid=e;u.stopRequest(i,e)}},r)),"pending")}}});n.format=n.validator.format}(jQuery),function(n){var t={},i;n.ajaxPrefilter?n.ajaxPrefilter(function(n,i,r){var u=n.port;n.mode==="abort"&&(t[u]&&t[u].abort(),t[u]=r)}):(i=n.ajax,n.ajax=function(r){var f=("mode"in r?r:n.ajaxSettings).mode,u=("port"in r?r:n.ajaxSettings).port;return f==="abort"?(t[u]&&t[u].abort(),t[u]=i.apply(this,arguments),t[u]):i.apply(this,arguments)})}(jQuery),function(n){n.extend(n.fn,{validateDelegate:function(t,i,r){return this.bind(i,function(i){var u=n(i.target);if(u.is(t))return r.apply(u,arguments)})}})}(jQuery),function(n){n.InFieldLabels=function(t,i,r){var u=this;u.$label=n(t);u.label=t;u.$field=n(i);u.field=i;u.$label.data("InFieldLabels",u);u.showing=!0;u.init=function(){var t;u.options=n.extend({},n.InFieldLabels.defaultOptions,r);u.options.className&&u.$label.addClass(u.options.className);setTimeout(function(){u.$field.val()!==""?(u.$label.hide(),u.showing=!1):(u.$label.show(),u.showing=!0)},200);u.$field.focus(function(){u.fadeOnFocus()}).blur(function(){u.checkForEmpty(!0)}).bind("keydown.infieldlabel",function(n){u.hideOnChange(n)}).bind("paste",function(){u.setOpacity(0)}).change(function(){u.checkForEmpty()}).bind("onPropertyChange",function(){u.checkForEmpty()}).bind("keyup.infieldlabel",function(){u.checkForEmpty()});u.options.pollDuration>0&&(t=setInterval(function(){u.$field.val()!==""&&(u.$label.hide(),u.showing=!1,clearInterval(t))},u.options.pollDuration))};u.fadeOnFocus=function(){u.showing&&u.setOpacity(u.options.fadeOpacity)};u.setOpacity=function(n){u.$label.stop().animate({opacity:n},u.options.fadeDuration,function(){n===0&&u.$label.hide()});u.showing=n>0};u.checkForEmpty=function(n){u.$field.val()===""?(u.prepForShow(),u.setOpacity(n?1:u.options.fadeOpacity)):u.setOpacity(0)};u.prepForShow=function(){u.showing||(u.$label.css({opacity:0}).show(),u.$field.bind("keydown.infieldlabel",function(n){u.hideOnChange(n)}))};u.hideOnChange=function(n){n.keyCode!==16&&n.keyCode!==9&&(u.showing&&(u.$label.hide(),u.showing=!1),u.$field.unbind("keydown.infieldlabel"))};u.init()};n.InFieldLabels.defaultOptions={fadeOpacity:.5,fadeDuration:300,pollDuration:0,enabledInputTypes:["text","search","tel","url","email","password","number","textarea"],className:!1};n.fn.inFieldLabels=function(t){var i=t&&t.enabledInputTypes||n.InFieldLabels.defaultOptions.enabledInputTypes;return this.each(function(){var u=n(this).attr("for"),r,f;u&&(r=document.getElementById(u),r)&&(f=n.inArray(r.type,i),f!==-1||r.nodeName==="TEXTAREA")&&new n.InFieldLabels(this,r,t)})}}(jQuery),function(n){n.fn.characterCounter=function(t){function r(n){return t.counter.format.replace(/%1/,n)}function i(i){var f=n(i).val().length,u=t.limit-f;u<0?n(i).next("."+t.counter.css_class).addClass(t.exceeded.css_class):n(i).next("."+t.counter.css_class).removeClass(t.exceeded.css_class);n(i).next("."+t.counter.css_class).html(r(u))}function u(t){n(t).bind("keyup keypress",function(){i(t)}).bind("paste",function(){var n=this;setTimeout(function(){i(n)},0)})}var t=n.extend({limit:150,counter:{wrapper:"span",css_class:"counter",format:"%1"},exceeded:{css_class:"exceeded"}},t);return this.each(function(){n(this).after("<"+t.counter.wrapper+' class="'+t.counter.css_class+'"><\/'+t.counter.wrapper+">");u(this);i(this)})}}(jQuery),function(n){var h="Close",wt="BeforeClose",ri="AfterClose",ui="BeforeAppend",rt="MarkupParse",ut="Open",bt="Change",ft="mfp",u="."+ft,w="mfp-ready",kt="mfp-removing",et="mfp-prevent-close",t,b=function(){},ot=!!window.jQuery,st,f=n(window),v,o,k,c,dt,r=function(n,i){t.ev.on(ft+n+u,i)},e=function(t,i,r,u){var f=document.createElement("div");return f.className="mfp-"+t,r&&(f.innerHTML=r),u?i&&i.appendChild(f):(f=n(f),i&&f.appendTo(i)),f},i=function(i,r){t.ev.triggerHandler(ft+i,r);t.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),t.st.callbacks[i]&&t.st.callbacks[i].apply(t,n.isArray(r)?r:[r]))},ht=function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},ct=function(i){return i===dt&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=n(t.st.closeMarkup.replace("%title%",t.st.tClose)),dt=i),t.currTemplate.closeBtn},gt=function(){n.magnificPopup.instance||(t=new b,t.init(),n.magnificPopup.instance=t)},fi=function(){var n=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(n.transition!==undefined)return!0;while(t.length)if(t.pop()+"Transition"in n)return!0;return!1},d,a,g,nt,lt,s,ti,vt,ii,tt,pt,it;b.prototype={constructor:b,init:function(){var i=navigator.appVersion;t.isIE7=i.indexOf("MSIE 7.")!==-1;t.isIE8=i.indexOf("MSIE 8.")!==-1;t.isLowIE=t.isIE7||t.isIE8;t.isAndroid=/android/gi.test(i);t.isIOS=/iphone|ipad|ipod/gi.test(i);t.supportsTransition=fi();t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent);v=n(document.body);o=n(document);t.popupsCache={}},open:function(s){var h,p,l,b,a,k,v,d,y;if(s.isObj===!1){for(t.items=s.items.toArray(),t.index=0,p=s.items,h=0;h<p.length;h++)if(l=p[h],l.parsed&&(l=l.el[0]),l===s.el[0]){t.index=h;break}}else t.items=n.isArray(s.items)?s.items:[s.items],t.index=s.index||0;if(t.isOpen){t.updateItemHTML();return}for(t.types=[],c="",t.ev=s.mainEl&&s.mainEl.length?s.mainEl.eq(0):o,s.key?(t.popupsCache[s.key]||(t.popupsCache[s.key]={}),t.currTemplate=t.popupsCache[s.key]):t.currTemplate={},t.st=n.extend(!0,{},n.magnificPopup.defaults,s),t.fixedContentPos=t.st.fixedContentPos==="auto"?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=e("bg").on("click"+u,function(){t.close()}),t.wrap=e("wrap").attr("tabindex",-1).on("click"+u,function(n){t._checkIfClose(n.target)&&t.close()}),t.container=e("container",t.wrap)),t.contentContainer=e("content"),t.st.preloader&&(t.preloader=e("preloader",t.container,t.st.tLoading)),b=n.magnificPopup.modules,h=0;h<b.length;h++)a=b[h],a=a.charAt(0).toUpperCase()+a.slice(1),t["init"+a].call(t);if(i("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(r(rt,function(n,t,i,r){i.close_replaceWith=ct(r.type)}),c+=" mfp-close-btn-in"):t.wrap.append(ct())),t.st.alignTop&&(c+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:f.scrollTop(),position:"absolute"}),t.st.fixedBgPos!==!1&&(t.st.fixedBgPos!=="auto"||t.fixedContentPos)||t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey)o.on("keyup"+u,function(n){n.keyCode===27&&t.close()});f.on("resize"+u,function(){t.updateSize()});return t.st.closeOnContentClick||(c+=" mfp-auto-cursor"),c&&t.wrap.addClass(c),k=t.wH=f.height(),v={},t.fixedContentPos&&t._hasScrollBar(k)&&(d=t._getScrollbarSize(),d&&(v.marginRight=d)),t.fixedContentPos&&(t.isIE7?n("body, html").css("overflow","hidden"):v.overflow="hidden"),y=t.st.mainClass,t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),i("BuildControls"),n("html").css(v),t.bgOverlay.add(t.wrap).prependTo(document.body),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(w),ht()):t.bgOverlay.addClass(w);o.on("focusin"+u,function(i){if(i.target!==t.wrap[0]&&!n.contains(t.wrap[0],i.target))return ht(),!1})},16),t.isOpen=!0,t.updateSize(k),i(ut),s},close:function(){t.isOpen&&(i(wt),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(kt),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){var r,f;i(h);r=kt+" "+w+" ";t.bgOverlay.detach();t.wrap.detach();t.container.empty();t.st.mainClass&&(r+=t.st.mainClass+" ");t._removeClassFromMFP(r);t.fixedContentPos&&(f={marginRight:""},t.isIE7?n("body, html").css("overflow",""):f.overflow="",n("html").css(f));o.off("keyup"+u+" focusin"+u);t.ev.off(u);t.wrap.attr("class","mfp-wrap").removeAttr("style");t.bgOverlay.attr("class","mfp-bg");t.container.attr("class","mfp-container");t.st.showCloseBtn&&(!t.st.closeBtnInside||t.currTemplate[t.currItem.type]===!0)&&t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach();t._lastFocusedEl&&n(t._lastFocusedEl).focus();t.currItem=null;t.content=null;t.currTemplate=null;t.prevHeight=0;i(ri)},updateSize:function(n){if(t.isIOS){var u=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*u;t.wrap.css("height",r);t.wH=r}else t.wH=n||f.height();t.fixedContentPos||t.wrap.css("height",t.wH);i("Resize")},updateItemHTML:function(){var u=t.items[t.index],r,f,e;t.contentContainer.detach();t.content&&t.content.detach();u.parsed||(u=t.parseEl(t.index));r=u.type;i("BeforeChange",[t.currItem?t.currItem.type:"",r]);t.currItem=u;t.currTemplate[r]||(f=t.st[r]?t.st[r].markup:!1,i("FirstMarkupParse",f),t.currTemplate[r]=f?n(f):!0);k&&k!==u.type&&t.container.removeClass("mfp-"+k+"-holder");e=t["get"+r.charAt(0).toUpperCase()+r.slice(1)](u,t.currTemplate[r]);t.appendContent(e,r);u.preloaded=!0;i(bt,u);k=u.type;t.container.prepend(t.contentContainer);i("AfterChange")},appendContent:function(n,r){t.content=n;n?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[r]===!0?t.content.find(".mfp-close").length||t.content.append(ct()):t.content=n:t.content="";i(ui);t.container.addClass("mfp-"+r+"-holder");t.contentContainer.append(t.content)},parseEl:function(r){var u=t.items[r],o=u.type,e,f;if(u=u.tagName?{el:n(u)}:{data:u,src:u.src},u.el){for(e=t.types,f=0;f<e.length;f++)if(u.el.hasClass("mfp-"+e[f])){o=e[f];break}u.src=u.el.attr("data-mfp-src");u.src||(u.src=u.el.attr("href"))}return u.type=o||t.st.type||"inline",u.index=r,u.parsed=!0,t.items[r]=u,i("ElementParse",u),t.items[r]},addGroup:function(n,i){var u=function(r){r.mfpEl=this;t._openClick(r,n,i)},r;if(i||(i={}),r="click.magnificPopup",i.mainEl=n,i.items){i.isObj=!0;n.off(r).on(r,u)}else if(i.isObj=!1,i.delegate)n.off(r).on(r,i.delegate,u);else{i.items=n;n.off(r).on(r,u)}},_openClick:function(i,r,u){var o=u.midClick!==undefined?u.midClick:n.magnificPopup.defaults.midClick,e;if(o||!(i.which===2||i.ctrlKey||i.metaKey)){if(e=u.disableOn!==undefined?u.disableOn:n.magnificPopup.defaults.disableOn,e)if(n.isFunction(e)){if(!e.call(t))return!0}else if(f.width()<e)return!0;i.type&&(i.preventDefault(),t.isOpen&&i.stopPropagation());u.el=n(i.mfpEl);u.delegate&&(u.items=r.find(u.delegate));t.open(u)}},updateStatus:function(n,r){if(t.preloader){st!==n&&t.container.removeClass("mfp-s-"+st);r||n!=="loading"||(r=t.st.tLoading);var u={status:n,text:r};i("UpdateStatus",u);n=u.status;r=u.text;t.preloader.html(r);t.preloader.find("a").on("click",function(n){n.stopImmediatePropagation()});t.container.addClass("mfp-s-"+n);st=n}},_checkIfClose:function(i){if(!n(i).hasClass(et)){var r=t.st.closeOnContentClick,u=t.st.closeOnBgClick;if(r&&u||!t.content||n(i).hasClass("mfp-close")||t.preloader&&i===t.preloader[0])return!0;if(i===t.content[0]||n.contains(t.content[0],i)){if(r)return!0}else if(u&&n.contains(document,i))return!0;return!1}},_addClassToMFP:function(n){t.bgOverlay.addClass(n);t.wrap.addClass(n)},_removeClassFromMFP:function(n){this.bgOverlay.removeClass(n);t.wrap.removeClass(n)},_hasScrollBar:function(n){return(t.isIE7?o.height():document.body.scrollHeight)>(n||f.height())},_parseMarkup:function(t,r,f){var e;f.data&&(r=n.extend(f.data,r));i(rt,[t,r,f]);n.each(r,function(n,i){var r,f;if(i===undefined||i===!1)return!0;e=n.split("_");e.length>1?(r=t.find(u+"-"+e[0]),r.length>0&&(f=e[1],f==="replaceWith"?r[0]!==i[0]&&r.replaceWith(i):f==="img"?r.is("img")?r.attr("src",i):r.replaceWith('<img src="'+i+'" class="'+r.attr("class")+'" />'):r.attr(e[1],i))):t.find(u+"-"+n).html(i)})},_getScrollbarSize:function(){if(t.scrollbarSize===undefined){var n=document.createElement("div");n.id="mfp-sbm";n.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;";document.body.appendChild(n);t.scrollbarSize=n.offsetWidth-n.clientWidth;document.body.removeChild(n)}return t.scrollbarSize}};n.magnificPopup={instance:null,proto:b.prototype,modules:[],open:function(t,i){return gt(),t=t?n.extend(!0,{},t):{},t.isObj=!0,t.index=i||0,this.instance.open(t)},close:function(){return n.magnificPopup.instance&&n.magnificPopup.instance.close()},registerModule:function(t,i){i.options&&(n.magnificPopup.defaults[t]=i.options);n.extend(this.proto,i.proto);this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;<\/button>',tClose:"Close (Esc)",tLoading:"Loading..."}};n.fn.magnificPopup=function(i){var r,u,f,e;return gt(),r=n(this),typeof i=="string"?i==="open"?(f=ot?r.data("magnificPopup"):r[0].magnificPopup,e=parseInt(arguments[1],10)||0,f.items?u=f.items[e]:(u=r,f.delegate&&(u=u.find(f.delegate)),u=u.eq(e)),t._openClick({mfpEl:u},r,f)):t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1)):(i=n.extend(!0,{},i),ot?r.data("magnificPopup",i):r[0].magnificPopup=i,t.addGroup(r,i)),r};d="inline";lt=function(){nt&&(g.after(nt.addClass(a)).detach(),nt=null)};n.magnificPopup.registerModule(d,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(d);r(h+"."+d,function(){lt()})},getInline:function(i,r){var f,u,o;return(lt(),i.src)?(f=t.st.inline,u=n(i.src),u.length?(o=u[0].parentNode,o&&o.tagName&&(g||(a=f.hiddenClass,g=e(a),a="mfp-"+a),nt=u.after(g).detach().removeClass(a)),t.updateStatus("ready")):(t.updateStatus("error",f.tNotFound),u=n("<div>")),i.inlineElement=u,u):(t.updateStatus("ready"),t._parseMarkup(r,{},i),r)}}});var y="ajax",p,at=function(){p&&v.removeClass(p)},ni=function(){at();t.req&&t.req.abort()};n.magnificPopup.registerModule(y,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content<\/a> could not be loaded.'},proto:{initAjax:function(){t.types.push(y);p=t.st.ajax.cursor;r(h+"."+y,ni);r("BeforeChange."+y,ni)},getAjax:function(r){p&&v.addClass(p);t.updateStatus("loading");var u=n.extend({url:r.src,success:function(u,f,e){var o={data:u,xhr:e};i("ParseAjax",o);t.appendContent(n(o.data),y);r.finished=!0;at();ht();setTimeout(function(){t.wrap.addClass(w)},16);t.updateStatus("ready");i("AjaxContentAdded")},error:function(){at();r.finished=r.loadError=!0;t.updateStatus("error",t.st.ajax.tError.replace("%url%",r.src))}},t.st.ajax.settings);return t.req=n.ajax(u),""}}});ti=function(i){if(i.data&&i.data.title!==undefined)return i.data.title;var r=t.st.image.titleSrc;if(r){if(n.isFunction(r))return r.call(t,i);if(i.el)return i.el.attr(r)||""}return""};n.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"><\/div><figure><div class="mfp-img"><\/div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"><\/div><div class="mfp-counter"><\/div><\/div><\/figcaption><\/figure><\/div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image<\/a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image");r(ut+i,function(){t.currItem.type==="image"&&n.cursor&&v.addClass(n.cursor)});r(h+i,function(){n.cursor&&v.removeClass(n.cursor);f.off("resize"+u)});r("Resize"+i,t.resizeImage);t.isLowIE&&r("AfterChange",t.resizeImage)},resizeImage:function(){var n=t.currItem,i;n&&n.img&&t.st.image.verticalFit&&(i=0,t.isLowIE&&(i=parseInt(n.img.css("padding-top"),10)+parseInt(n.img.css("padding-bottom"),10)),n.img.css("max-height",t.wH-i))},_onImageHasSize:function(n){n.img&&(n.hasSize=!0,s&&clearInterval(s),n.isCheckingImgSize=!1,i("ImageHasSize",n),n.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),n.imgHidden=!1))},findImageSize:function(n){var i=0,u=n.img[0],r=function(f){s&&clearInterval(s);s=setInterval(function(){if(u.naturalWidth>0){t._onImageHasSize(n);return}i>200&&clearInterval(s);i++;i===3?r(10):i===40?r(50):i===100&&r(500)},f)};r(1)},getImage:function(r,u){var e=0,o=function(){r&&(r.img[0].complete?(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("ready")),r.hasSize=!0,r.loaded=!0,i("ImageLoadComplete")):(e++,e<200?setTimeout(o,100):h()))},h=function(){r&&(r.img.off(".mfploader"),r===t.currItem&&(t._onImageHasSize(r),t.updateStatus("error",c.tError.replace("%url%",r.src))),r.hasSize=!0,r.loaded=!0,r.loadError=!0)},c=t.st.image,l=u.find(".mfp-img"),f;return(l.length&&(f=document.createElement("img"),f.className="mfp-img",r.img=n(f).on("load.mfploader",o).on("error.mfploader",h),f.src=r.src,l.is("img")&&(r.img=r.img.clone()),r.img[0].naturalWidth>0&&(r.hasSize=!0)),t._parseMarkup(u,{title:ti(r),img_replaceWith:r.img},r),t.resizeImage(),r.hasSize)?(s&&clearInterval(s),r.loadError?(u.addClass("mfp-loading"),t.updateStatus("error",c.tError.replace("%url%",r.src))):(u.removeClass("mfp-loading"),t.updateStatus("ready")),u):(t.updateStatus("loading"),r.loading=!0,r.hasSize||(r.imgHidden=!0,u.addClass("mfp-loading"),t.findImageSize(r)),u)}}});ii=function(){return vt===undefined&&(vt=document.createElement("p").style.MozTransform!==undefined),vt};n.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(n){return n.is("img")?n:n.find("img")}},proto:{initZoom:function(){var f=t.st.zoom,o=".zoom",u;if(f.enabled&&t.supportsTransition){var c=f.duration,l=function(n){var r=n.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),u="all "+f.duration/1e3+"s "+f.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return t["-webkit-"+i]=t["-moz-"+i]=t["-o-"+i]=t[i]=u,r.css(t),r},s=function(){t.content.css("visibility","visible")},e,n;r("BuildControls"+o,function(){if(t._allowZoom()){if(clearTimeout(e),t.content.css("visibility","hidden"),u=t._getItemToZoom(),!u){s();return}n=l(u);n.css(t._getOffset());t.wrap.append(n);e=setTimeout(function(){n.css(t._getOffset(!0));e=setTimeout(function(){s();setTimeout(function(){n.remove();u=n=null;i("ZoomAnimationEnded")},16)},c)},16)}});r(wt+o,function(){if(t._allowZoom()){if(clearTimeout(e),t.st.removalDelay=c,!u){if(u=t._getItemToZoom(),!u)return;n=l(u)}n.css(t._getOffset(!0));t.wrap.append(n);t.content.css("visibility","hidden");setTimeout(function(){n.css(t._getOffset())},16)}});r(h+o,function(){t._allowZoom()&&(s(),n&&n.remove(),u=null)})}},_allowZoom:function(){return t.currItem.type==="image"},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(i){var r,u;r=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var f=r.offset(),e=parseInt(r.css("padding-top"),10),o=parseInt(r.css("padding-bottom"),10);return f.top-=n(window).scrollTop()-e,u={width:r.width(),height:(ot?r.innerHeight():r[0].offsetHeight)-o-e},ii()?u["-moz-transform"]=u.transform="translate("+f.left+"px,"+f.top+"px)":(u.left=f.left,u.top=f.top),u}}});var l="iframe",ei="//about:blank",yt=function(n){if(t.currTemplate[l]){var i=t.currTemplate[l].find("iframe");i.length&&(n||(i[0].src=ei),t.isIE8&&i.css("display",n?"block":"none"))}};n.magnificPopup.registerModule(l,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"><\/div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen><\/iframe><\/div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(l);r("BeforeChange",function(n,t,i){t!==i&&(t===l?yt():i===l&&yt(!0))});r(h+"."+l,function(){yt()})},getIframe:function(i,r){var u=i.src,f=t.st.iframe,e;return n.each(f.patterns,function(){if(u.indexOf(this.index)>-1)return this.id&&(u=typeof this.id=="string"?u.substr(u.lastIndexOf(this.id)+this.id.length,u.length):this.id.call(this,u)),u=this.src.replace("%id%",u),!1}),e={},f.srcAction&&(e[f.srcAction]=u),t._parseMarkup(r,e,i),t.updateStatus("ready"),r}}});tt=function(n){var i=t.items.length;return n>i-1?n-i:n<0?i+n:n};pt=function(n,t,i){return n.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};n.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"><\/button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var u=t.st.gallery,i=".mfp-gallery",f=Boolean(n.fn.mfpFastClick);if(t.direction=!0,!u||!u.enabled)return!1;c+=" mfp-gallery";r(ut+i,function(){if(u.navigateByImgClick)t.wrap.on("click"+i,".mfp-img",function(){if(t.items.length>1)return t.next(),!1});o.on("keydown"+i,function(n){n.keyCode===37?t.prev():n.keyCode===39&&t.next()})});r("UpdateStatus"+i,function(n,i){i.text&&(i.text=pt(i.text,t.currItem.index,t.items.length))});r(rt+i,function(n,i,r,f){var e=t.items.length;r.counter=e>1?pt(u.tCounter,f.index,e):""});r("BuildControls"+i,function(){if(t.items.length>1&&u.arrows&&!t.arrowLeft){var o=u.arrowMarkup,i=t.arrowLeft=n(o.replace(/%title%/gi,u.tPrev).replace(/%dir%/gi,"left")).addClass(et),r=t.arrowRight=n(o.replace(/%title%/gi,u.tNext).replace(/%dir%/gi,"right")).addClass(et),s=f?"mfpFastClick":"click";i[s](function(){t.prev()});r[s](function(){t.next()});t.isIE7&&(e("b",i[0],!1,!0),e("a",i[0],!1,!0),e("b",r[0],!1,!0),e("a",r[0],!1,!0));t.container.append(i.add(r))}});r(bt+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout);t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages();t._preloadTimeout=null},16)});r(h+i,function(){o.off(i);t.wrap.off("click"+i);t.arrowLeft&&f&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick();t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0;t.index=tt(t.index+1);t.updateItemHTML()},prev:function(){t.direction=!1;t.index=tt(t.index-1);t.updateItemHTML()},goTo:function(n){t.direction=n>=t.index;t.index=n;t.updateItemHTML()},preloadNearbyImages:function(){for(var i=t.st.gallery.preload,r=Math.min(i[0],t.items.length),u=Math.min(i[1],t.items.length),n=1;n<=(t.direction?u:r);n++)t._preloadItem(t.index+n);for(n=1;n<=(t.direction?r:u);n++)t._preloadItem(t.index-n)},_preloadItem:function(r){if(r=tt(r),!t.items[r].preloaded){var u=t.items[r];u.parsed||(u=t.parseEl(r));i("LazyLoad",u);u.type==="image"&&(u.img=n('<img class="mfp-img" />').on("load.mfploader",function(){u.hasSize=!0}).on("error.mfploader",function(){u.hasSize=!0;u.loadError=!0;i("LazyLoadError",u)}).attr("src",u.src));u.preloaded=!0}}}});it="retina";n.magnificPopup.registerModule(it,{options:{replaceSrc:function(n){return n.src.replace(/\.\w+$/,function(n){return"@2x"+n})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var i=t.st.retina,n=i.ratio;n=isNaN(n)?n():n;n>1&&(r("ImageHasSize."+it,function(t,i){i.img.css({"max-width":i.img[0].naturalWidth/n,width:"100%"})}),r("ElementParse."+it,function(t,r){r.src=i.replaceSrc(r,n)}))}}}}),function(){var u=1e3,i="ontouchstart"in window,r=function(){f.off("touchmove"+t+" touchend"+t)},t=".mfpFastClick";n.fn.mfpFastClick=function(e){return n(this).each(function(){var l=n(this),s,a,v,y,h,o,c;if(i)l.on("touchstart"+t,function(n){h=!1;c=1;o=n.originalEvent?n.originalEvent.touches[0]:n.touches[0];v=o.clientX;y=o.clientY;f.on("touchmove"+t,function(n){o=n.originalEvent?n.originalEvent.touches:n.touches;c=o.length;o=o[0];(Math.abs(o.clientX-v)>10||Math.abs(o.clientY-y)>10)&&(h=!0,r())}).on("touchend"+t,function(n){(r(),h||c>1)||(s=!0,n.preventDefault(),clearTimeout(a),a=setTimeout(function(){s=!1},u),e())})});l.on("click"+t,function(){s||e()})})};n.fn.destroyMfpFastClick=function(){n(this).off("touchstart"+t+" click"+t);i&&f.off("touchmove"+t+" touchend"+t)}}()}(window.jQuery||window.Zepto),function(n){n.Jcrop=function(t,i){function h(n){return Math.round(n)+"px"}function ft(n){return r.baseClass+"-"+n}function bi(){return n.fx.step.hasOwnProperty("backgroundColor")}function et(t){var i=n(t).offset();return[i.left,i.top]}function nt(n){return[n.pageX-b[0],n.pageY-b[1]]}function ri(t){typeof t!="object"&&(t={});r=n.extend(r,t);n.each(["onChange","onSelect","onRelease","onDblClick"],function(n,t){typeof r[t]!="function"&&(r[t]=function(){})})}function ui(n,t,i){if(b=et(e),p.setCursor(n==="move"?n:n+"-resize"),n==="move")return p.activateHandlers(di(t),pt,i);var u=s.getFixed(),r=fi(n),f=s.getCorner(fi(r));s.setPressed(s.getCorner(r));s.setCurrent(f);p.activateHandlers(ki(n,u),pt,i)}function ki(n,t){return function(i){if(r.aspectRatio)switch(n){case"e":i[1]=t.y+1;break;case"w":i[1]=t.y+1;break;case"n":i[0]=t.x+1;break;case"s":i[0]=t.x+1}else switch(n){case"e":i[1]=t.y2;break;case"w":i[1]=t.y2;break;case"n":i[0]=t.x2;break;case"s":i[0]=t.x2}s.setCurrent(i);u.update()}}function di(n){var t=n;return kt.watchKeys(),function(n){s.moveOffset([n[0]-t[0],n[1]-t[1]]);t=n;u.update()}}function fi(n){switch(n){case"n":return"sw";case"s":return"nw";case"e":return"nw";case"w":return"ne";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne"}}function ei(n){return function(t){return r.disabled?!1:n==="move"&&!r.allowMove?!1:(b=et(e),ut=!0,ui(n,nt(t)),t.stopPropagation(),t.preventDefault(),!1)}}function oi(n,t,i){var r=n.width(),u=n.height();r>t&&t>0&&(r=t,u=t/n.width()*n.height());u>i&&i>0&&(u=i,r=i/n.height()*n.width());l=n.width()/r;a=n.height()/u;n.width(r).height(u)}function ot(n){return{x:n.x*l,y:n.y*a,x2:n.x2*l,y2:n.y2*a,w:n.w*l,h:n.h*a}}function pt(){var n=s.getFixed();n.w>r.minSelect[0]&&n.h>r.minSelect[1]?(u.enableHandles(),u.done()):u.release();p.setCursor(r.allowSelect?"crosshair":"default")}function si(n){if(r.disabled||!r.allowSelect)return!1;ut=!0;b=et(e);u.disableHandles();p.setCursor("crosshair");var t=nt(n);return s.setPressed(t),u.update(),p.activateHandlers(gi,pt,n.type.substring(0,5)==="touch"),kt.watchKeys(),n.stopPropagation(),n.preventDefault(),!1}function gi(n){s.setCurrent(n);u.update()}function hi(){var t=n("<div><\/div>").addClass(ft("tracker"));return ti&&t.css({opacity:0,backgroundColor:"white"}),t}function nr(n){w.removeClass().addClass(ft("holder")).addClass(n)}function tr(n,t){function b(){window.setTimeout(k,d)}var c=n[0]/l,y=n[1]/a,p=n[2]/l,w=n[3]/a,k;if(!bt){var o=s.flipCoords(c,y,p,w),h=s.getFixed(),e=[h.x,h.y,h.x2,h.y2],i=e,d=r.animationDelay,g=o[0]-e[0],nt=o[1]-e[1],tt=o[2]-e[2],it=o[3]-e[3],f=0,rt=r.swingSpeed;c=i[0];y=i[1];p=i[2];w=i[3];u.animMode(!0);k=function(){return function(){f+=(100-f)/rt;i[0]=Math.round(c+f/100*g);i[1]=Math.round(y+f/100*nt);i[2]=Math.round(p+f/100*tt);i[3]=Math.round(w+f/100*it);f>=99.8&&(f=100);f<100?(yi(i),b()):(u.done(),u.animMode(!1),typeof t=="function"&&t.call(v))}}();b()}}function vi(n){yi([n[0]/l,n[1]/a,n[2]/l,n[3]/a]);r.onSelect.call(v,ot(s.getFixed()));u.enableHandles()}function yi(n){s.setPressed([n[0],n[1]]);s.setCurrent([n[2],n[3]]);u.update()}function ir(){return ot(s.getFixed())}function rr(){return s.getFixed()}function ur(n){ri(n);gt()}function pi(){r.disabled=!0;u.disableHandles();u.setCursor("default");p.setCursor("default")}function wi(){r.disabled=!1;gt()}function fr(){u.done();p.activateHandlers(null,null)}function er(){w.remove();c.show();c.css("visibility","visible");n(t).removeData("Jcrop")}function or(n,t){u.release();pi();var i=new Image;i.onload=function(){var u=i.width,s=i.height,h=r.boxWidth,c=r.boxHeight;e.width(u).height(s);e.attr("src",n);k.attr("src",n);oi(e,h,c);o=e.width();f=e.height();k.width(o).height(f);d.width(o+rt*2).height(f+rt*2);w.width(o).height(f);g.resize(o,f);wi();typeof t=="function"&&t.call(v)};i.src=n}function dt(n,t,i){var u=t||r.bgColor;r.bgFade&&bi()&&r.fadeTime&&!i?n.animate({backgroundColor:u},{queue:!1,duration:r.fadeTime}):n.css("backgroundColor",u)}function gt(n){r.allowResize?n?u.enableOnly():u.enableHandles():u.disableHandles();p.setCursor(r.allowSelect?"crosshair":"default");u.setCursor(r.allowMove?"move":"default");r.hasOwnProperty("trueSize")&&(l=r.trueSize[0]/o,a=r.trueSize[1]/f);r.hasOwnProperty("setSelect")&&(vi(r.setSelect),u.done(),delete r.setSelect);g.refresh();r.bgColor!=li&&(dt(r.shade?g.getShades():w,r.shade?r.shadeColor||r.bgColor:r.bgColor),li=r.bgColor);st!=r.bgOpacity&&(st=r.bgOpacity,r.shade?g.refresh():u.setBgOpacity(st));ht=r.maxSize[0]||0;ct=r.maxSize[1]||0;lt=r.minSize[0]||0;at=r.minSize[1]||0;r.hasOwnProperty("outerImage")&&(e.attr("src",r.outerImage),delete r.outerImage);u.refresh()}var r=n.extend({},n.Jcrop.defaults),b,ni=navigator.userAgent.toLowerCase(),ti=/msie/.test(ni),ii=/msie [1-6]\./.test(ni),vt,e,v;typeof t!="object"&&(t=n(t)[0]);typeof i!="object"&&(i={});ri(i);var wt={border:"none",visibility:"visible",margin:0,padding:0,position:"absolute",top:0,left:0},c=n(t),ci=!0;t.tagName=="IMG"?(c[0].width!=0&&c[0].height!=0?(c.width(c[0].width),c.height(c[0].height)):(vt=new Image,vt.src=c[0].src,c.width(vt.width),c.height(vt.height)),e=c.clone().removeAttr("id").css(wt).show(),e.width(c.width()),e.height(c.height()),c.after(e).hide()):(e=c.css(wt).show(),ci=!1,r.shade===null&&(r.shade=!0));oi(e,r.boxWidth,r.boxHeight);var o=e.width(),f=e.height(),w=n("<div />").width(o).height(f).addClass(ft("holder")).css({position:"relative",backgroundColor:r.bgColor}).insertAfter(c).append(e);r.addClass&&w.addClass(r.addClass);var k=n("<div />"),yt=n("<div />").width("100%").height("100%").css({zIndex:310,position:"absolute",overflow:"hidden"}),tt=n("<div />").width("100%").height("100%").css("zIndex",320),it=n("<div />").css({position:"absolute",zIndex:600}).dblclick(function(){var n=s.getFixed();r.onDblClick.call(v,n)}).insertBefore(e).append(yt,tt);ci&&(k=n("<img />").attr("src",e.attr("src")).css(wt).width(o).height(f),yt.append(k));ii&&it.css({overflowY:"hidden"});var rt=r.boundary,d=hi().width(o+rt*2).height(f+rt*2).css({position:"absolute",top:h(-rt),left:h(-rt),zIndex:290}).mousedown(si),li=r.bgColor,st=r.bgOpacity,ht,ct,lt,at,l,a,ut,bt,ai;b=et(e);var y=function(){function n(){var i={},u=["touchstart","touchmove","touchend"],f=document.createElement("div"),t,n,r;try{for(t=0;t<u.length;t++)n=u[t],n="on"+n,r=n in f,r||(f.setAttribute(n,"return;"),r=typeof f[n]=="function"),i[u[t]]=r;return i.touchstart&&i.touchend&&i.touchmove}catch(e){return!1}}function t(){return r.touchSupport===!0||r.touchSupport===!1?r.touchSupport:n()}return{createDragger:function(n){return function(t){return r.disabled?!1:n==="move"&&!r.allowMove?!1:(b=et(e),ut=!0,ui(n,nt(y.cfilter(t)),!0),t.stopPropagation(),t.preventDefault(),!1)}},newSelection:function(n){return si(y.cfilter(n))},cfilter:function(n){return n.pageX=n.originalEvent.changedTouches[0].pageX,n.pageY=n.originalEvent.changedTouches[0].pageY,n},isSupported:n,support:t()}}(),s=function(){function p(r){r=v(r);u=n=r[0];i=t=r[1]}function w(n){n=v(n);s=n[0]-u;h=n[1]-i;u=n[0];i=n[1]}function b(){return[s,h]}function k(r){var e=r[0],s=r[1];0>n+e&&(e-=e+n);0>t+s&&(s-=s+t);f<i+s&&(s+=f-(i+s));o<u+e&&(e+=o-(u+e));n+=e;u+=e;t+=s;i+=s}function d(n){var t=c();switch(n){case"ne":return[t.x2,t.y];case"nw":return[t.x,t.y];case"se":return[t.x2,t.y2];case"sw":return[t.x,t.y2]}}function c(){if(!r.aspectRatio)return g();var c=r.aspectRatio,b=r.minSize[0]/l,w=r.maxSize[0]/l,nt=r.maxSize[1]/a,k=u-n,d=i-t,tt=Math.abs(k),it=Math.abs(d),rt=tt/it,s,h,v,p;return w===0&&(w=o*10),nt===0&&(nt=f*10),rt<c?(h=i,v=it*c,s=k<0?n-v:v+n,s<0?(s=0,p=Math.abs((s-n)/c),h=d<0?t-p:p+t):s>o&&(s=o,p=Math.abs((s-n)/c),h=d<0?t-p:p+t)):(s=u,p=tt/c,h=d<0?t-p:t+p,h<0?(h=0,v=Math.abs((h-t)*c),s=k<0?n-v:v+n):h>f&&(h=f,v=Math.abs(h-t)*c,s=k<0?n-v:v+n)),s>n?(s-n<b?s=n+b:s-n>w&&(s=n+w),h=h>t?t+(s-n)/c:t-(s-n)/c):s<n&&(n-s<b?s=n-b:n-s>w&&(s=n-w),h=h>t?t+(n-s)/c:t-(n-s)/c),s<0?(n-=s,s=0):s>o&&(n-=s-o,s=o),h<0?(t-=h,h=0):h>f&&(t-=h-f,h=f),y(e(n,t,s,h))}function v(n){return n[0]<0&&(n[0]=0),n[1]<0&&(n[1]=0),n[0]>o&&(n[0]=o),n[1]>f&&(n[1]=f),[Math.round(n[0]),Math.round(n[1])]}function e(n,t,i,r){var u=n,f=i,e=t,o=r;return i<n&&(u=i,f=n),r<t&&(e=r,o=t),[u,e,f,o]}function g(){var s=u-n,h=i-t,r;return ht&&Math.abs(s)>ht&&(u=s>0?n+ht:n-ht),ct&&Math.abs(h)>ct&&(i=h>0?t+ct:t-ct),at/a&&Math.abs(h)<at/a&&(i=h>0?t+at/a:t-at/a),lt/l&&Math.abs(s)<lt/l&&(u=s>0?n+lt/l:n-lt/l),n<0&&(u-=n,n-=n),t<0&&(i-=t,t-=t),u<0&&(n-=u,u-=u),i<0&&(t-=i,i-=i),u>o&&(r=u-o,n-=r,u-=r),i>f&&(r=i-f,t-=r,i-=r),n>o&&(r=n-f,i-=r,t-=r),t>f&&(r=t-f,i-=r,t-=r),y(e(n,t,u,i))}function y(n){return{x:n[0],y:n[1],x2:n[2],y2:n[3],w:n[2]-n[0],h:n[3]-n[1]}}var n=0,t=0,u=0,i=0,s,h;return{flipCoords:e,setPressed:p,setCurrent:w,getOffset:b,moveOffset:k,getCorner:d,getFixed:c}}(),g=function(){function nt(n,t){i.left.css({height:h(t)});i.right.css({height:h(t)})}function v(){return y(s.getFixed())}function y(n){i.top.css({left:h(n.x),width:h(n.w),height:h(n.y)});i.bottom.css({top:h(n.y2),left:h(n.x),width:h(n.w),height:h(f-n.y2)});i.right.css({left:h(n.x2),width:h(o-n.x2)});i.left.css({width:h(n.x)})}function l(){return n("<div />").css({position:"absolute",backgroundColor:r.shadeColor||r.bgColor}).appendTo(t)}function p(){c||(c=!0,t.insertBefore(e),v(),u.setBgOpacity(1,0,1),k.hide(),b(r.shadeColor||r.bgColor,1),u.isAwake()?a(r.bgOpacity,1):a(1,1))}function b(n,t){dt(g(),n,t)}function d(){c&&(t.remove(),k.show(),c=!1,u.isAwake()?u.setBgOpacity(r.bgOpacity,1,1):(u.setBgOpacity(1,1,1),u.disableHandles()),dt(w,0,1))}function a(n,i){c&&(r.bgFade&&!i?t.animate({opacity:1-n},{queue:!1,duration:r.fadeTime}):t.css({opacity:1-n}))}function tt(){r.shade?p():d();u.isAwake()&&a(r.bgOpacity)}function g(){return t.children()}var c=!1,t=n("<div />").css({position:"absolute",zIndex:240,opacity:0}),i={top:l(),left:l().height(f),right:l().height(f),bottom:l()};return{update:v,updateRaw:y,getShades:g,setBgColor:b,enable:p,disable:d,resize:nt,refresh:tt,opacity:a}}(),u=function(){function et(t){var i=n("<div />").css({position:"absolute",opacity:r.borderOpacity}).addClass(ft(t));return yt.append(i),i}function l(t,i){var r=n("<div />").mousedown(ei(t)).css({cursor:t+"-resize",position:"absolute",zIndex:i}).addClass("ord-"+t);return y.support&&r.bind("touchstart.jcrop",y.createDragger(t)),tt.append(r),r}function ht(n){var t=r.handleSize,i=l(n,c++).css({opacity:r.handleOpacity}).addClass(ft("handle"));return t&&i.width(t).height(t),i}function ct(n){return l(n,c++).addClass("jcrop-dragbar")}function lt(n){for(var t=0;t<n.length;t++)ut[n[t]]=ct(n[t])}function at(n){for(var t,i=0;i<n.length;i++){switch(n[i]){case"n":t="hline";break;case"s":t="hline bottom";break;case"e":t="vline right";break;case"w":t="vline"}nt[n[i]]=et(t)}}function vt(n){for(var t=0;t<n.length;t++)rt[n[t]]=ht(n[t])}function pt(n,t){r.shade||k.css({top:h(-t),left:h(-n)});it.css({top:h(t),left:h(n)})}function wt(n,t){it.width(Math.round(n)).height(Math.round(t))}function a(){var n=s.getFixed();s.setPressed([n.x,n.y]);s.setCurrent([n.x2,n.y2]);p()}function p(n){if(t)return w(n)}function w(n){var i=s.getFixed();wt(i.w,i.h);pt(i.x,i.y);r.shade&&g.updateRaw(i);t||kt();n?r.onSelect.call(v,ot(i)):r.onChange.call(v,ot(i))}function o(n,i,u){(t||i)&&(r.bgFade&&!u?e.animate({opacity:n},{queue:!1,duration:r.fadeTime}):e.css("opacity",n))}function kt(){it.show();r.shade?g.opacity(st):o(st,!0);t=!0}function dt(){u();it.hide();r.shade?g.opacity(1):o(1);t=!1;r.onRelease.call(v)}function gt(){i&&tt.show()}function b(){return i=!0,r.allowResize?(tt.show(),!0):void 0}function u(){i=!1;tt.hide()}function d(n){n?(bt=!0,u()):(bt=!1,b())}function ni(){d(!1);a()}var t,c=370,nt={},rt={},ut={},i=!1,f;return r.dragEdges&&n.isArray(r.createDragbars)&&lt(r.createDragbars),n.isArray(r.createHandles)&&vt(r.createHandles),r.drawBorders&&n.isArray(r.createBorders)&&at(r.createBorders),n(document).bind("touchstart.jcrop-ios",function(t){n(t.currentTarget).hasClass("jcrop-tracker")&&t.stopPropagation()}),f=hi().mousedown(ei("move")).css({cursor:"move",position:"absolute",zIndex:360}),y.support&&f.bind("touchstart.jcrop",y.createDragger("move")),yt.append(f),u(),{updateVisible:p,update:w,release:dt,refresh:a,isAwake:function(){return t},setCursor:function(n){f.css("cursor",n)},enableHandles:b,enableOnly:function(){i=!0},showHandles:gt,disableHandles:u,animMode:d,setBgOpacity:o,done:ni}}(),p=function(){function c(t){d.css({zIndex:450});t?n(document).bind("touchmove.jcrop",p).bind("touchend.jcrop",w):o&&n(document).bind("mousemove.jcrop",h).bind("mouseup.jcrop",i)}function l(){d.css({zIndex:290});n(document).unbind(".jcrop")}function h(n){return t(nt(n)),!1}function i(n){return n.preventDefault(),n.stopPropagation(),ut&&(ut=!1,f(nt(n)),u.isAwake()&&r.onSelect.call(v,ot(s.getFixed())),l(),t=function(){},f=function(){}),!1}function a(n,i,r){return ut=!0,t=n,f=i,c(r),!1}function p(n){return t(nt(y.cfilter(n))),!1}function w(n){return i(y.cfilter(n))}function b(n){d.css("cursor",n)}var t=function(){},f=function(){},o=r.trackDocument;return o||d.mousemove(h).mouseup(i).mouseout(i),e.before(d),{activateHandlers:a,setCursor:b}}(),kt=function(){function o(){r.keySupport&&(t.show(),t.focus())}function h(){t.hide()}function i(n,t,i){r.allowMove&&(s.moveOffset([t,i]),u.updateVisible(!0));n.preventDefault();n.stopPropagation()}function c(n){if(n.ctrlKey||n.metaKey)return!0;ai=n.shiftKey?!0:!1;var t=ai?10:1;switch(n.keyCode){case 37:i(n,-t,0);break;case 39:i(n,t,0);break;case 38:i(n,0,-t);break;case 40:i(n,0,t);break;case 27:r.allowSelect&&u.release();break;case 9:return!0}return!1}var t=n('<input type="radio" />').css({position:"fixed",left:"-120px",width:"12px"}).addClass("jcrop-keymgr"),f=n("<div />").css({position:"absolute",overflow:"hidden"}).append(t);return r.keySupport&&(t.keydown(c).blur(h),ii||!r.fixedSupport?(t.css({position:"absolute",left:"-20px"}),f.append(t).insertBefore(e)):t.insertBefore(e)),{watchKeys:o}}();return y.support&&d.bind("touchstart.jcrop",y.newSelection),tt.hide(),gt(!0),v={setImage:or,animateTo:tr,setSelect:vi,setOptions:ur,tellSelect:ir,tellScaled:rr,setClass:nr,disable:pi,enable:wi,cancel:fr,release:u.release,destroy:er,focus:kt.watchKeys,getBounds:function(){return[o*l,f*a]},getWidgetSize:function(){return[o,f]},getScaleFactor:function(){return[l,a]},getOptions:function(){return r},ui:{holder:w,selection:it}},ti&&w.bind("selectstart",function(){return!1}),c.data("Jcrop",v),v};n.fn.Jcrop=function(t,i){var r;return this.each(function(){if(n(this).data("Jcrop")){if(t==="api")return n(this).data("Jcrop");n(this).data("Jcrop").setOptions(t)}else this.tagName=="IMG"?n.Jcrop.Loader(this,function(){n(this).css({display:"block",visibility:"hidden"});r=n.Jcrop(this,t);n.isFunction(i)&&i.call(r)}):(n(this).css({display:"block",visibility:"hidden"}),r=n.Jcrop(this,t),n.isFunction(i)&&i.call(r))}),this};n.Jcrop.Loader=function(t,i,r){function e(){f.complete?(u.unbind(".jcloader"),n.isFunction(i)&&i.call(f)):window.setTimeout(e,50)}var u=n(t),f=u[0];u.bind("load.jcloader",e).bind("error.jcloader",function(){u.unbind(".jcloader");n.isFunction(r)&&r.call(f)});f.complete&&n.isFunction(i)&&(u.unbind(".jcloader"),i.call(f))};n.Jcrop.defaults={allowSelect:!0,allowMove:!0,allowResize:!0,trackDocument:!0,baseClass:"jcrop",addClass:null,bgColor:"black",bgOpacity:.6,bgFade:!1,borderOpacity:.4,handleOpacity:.5,handleSize:null,aspectRatio:0,keySupport:!0,createHandles:["n","s","e","w","nw","ne","se","sw"],createDragbars:["n","s","e","w"],createBorders:["n","s","e","w"],drawBorders:!0,dragEdges:!0,fixedSupport:!0,touchSupport:null,shade:null,boxWidth:0,boxHeight:0,boundary:2,fadeTime:400,animationDelay:20,swingSpeed:3,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){},onDblClick:function(){},onRelease:function(){}}}(jQuery),function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){"use strict";function i(t,r){var f=function(){},u=this,e={autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:i.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:f,onSearchComplete:f,onSearchError:f,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,lookupFilter:function(n,t,i){return n.value.toLowerCase().indexOf(i)!==-1},paramName:"query",transformResult:function(t){return typeof t=="string"?n.parseJSON(t):t}};u.element=t;u.el=n(t);u.suggestions=[];u.badQueries=[];u.selectedIndex=-1;u.currentValue=u.element.value;u.intervalId=0;u.cachedResponse=[];u.onChangeInterval=null;u.onChange=null;u.isLocal=!1;u.suggestionsContainer=null;u.options=n.extend({},e,r);u.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"};u.hint=null;u.hintValue="";u.selection=null;u.initialize();u.setOptions(r)}var r=function(){return{escapeRegExChars:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(n){var t=document.createElement("div");return t.innerHTML=n,t.firstChild}}}(),t={ESC:27,TAB:9,RETURN:13,LEFT:37,UP:38,RIGHT:39,DOWN:40};i.utils=r;n.Autocomplete=i;i.formatResult=function(n,t){var i="("+r.escapeRegExChars(t)+")";return n.value.replace(new RegExp(i,"gi"),"<strong>$1<\/strong>")};i.prototype={killerFn:null,initialize:function(){var t=this,f="."+t.classes.suggestion,e=t.classes.selected,u=t.options,r;t.element.setAttribute("autocomplete","off");t.killerFn=function(i){n(i.target).closest("."+t.options.containerClass).length===0&&(t.killSuggestions(),t.disableKillerFn())};t.suggestionsContainer=i.utils.createNode('<div class="'+u.containerClass+'" style="position: absolute; display: none;"><\/div>');r=n(t.suggestionsContainer);r.appendTo(u.appendTo);u.width!=="auto"&&r.width(u.width);r.on("mouseover.autocomplete",f,function(){t.activate(n(this).data("index"))});r.on("mouseout.autocomplete",function(){t.selectedIndex=-1;r.children("."+e).removeClass(e)});r.on("click.autocomplete",f,function(){t.select(n(this).data("index"))});t.fixPosition();t.fixPositionCapture=function(){t.visible&&t.fixPosition()};n(window).on("resize",t.fixPositionCapture);t.el.on("keydown.autocomplete",function(n){t.onKeyPress(n)});t.el.on("keyup.autocomplete",function(n){t.onKeyUp(n)});t.el.on("blur.autocomplete",function(){t.onBlur()});t.el.on("focus.autocomplete",function(){t.fixPosition()});t.el.on("change.autocomplete",function(n){t.onKeyUp(n)})},onBlur:function(){this.enableKillerFn()},setOptions:function(t){var r=this,i=r.options;n.extend(i,t);r.isLocal=n.isArray(i.lookup);r.isLocal&&(i.lookup=r.verifySuggestionsFormat(i.lookup));n(r.suggestionsContainer).css({"max-height":i.maxHeight+"px",width:i.width+"px","z-index":i.zIndex})},clearCache:function(){this.cachedResponse=[];this.badQueries=[]},clear:function(){this.clearCache();this.currentValue="";this.suggestions=[]},disable:function(){this.disabled=!0},enable:function(){this.disabled=!1},fixPosition:function(){var t=this,i;t.options.appendTo==="body"&&(i=t.el.offset(),n(t.suggestionsContainer).css({top:i.top+t.el.outerHeight()+"px",left:i.left+"px"}))},enableKillerFn:function(){var t=this;n(document).on("click.autocomplete",t.killerFn)},disableKillerFn:function(){var t=this;n(document).off("click.autocomplete",t.killerFn)},killSuggestions:function(){var n=this;n.stopKillSuggestions();n.intervalId=window.setInterval(function(){n.hide();n.stopKillSuggestions()},300)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var i=this,n=i.el.val().length,r=i.element.selectionStart,t;return typeof r=="number"?r===n:document.selection?(t=document.selection.createRange(),t.moveStart("character",-n),n===t.text.length):!0},onKeyPress:function(n){var i=this;if(!i.disabled&&!i.visible&&n.which===t.DOWN&&i.currentValue){i.suggest();return}if(!i.disabled&&i.visible){switch(n.which){case t.ESC:i.el.val(i.currentValue);i.hide();break;case t.RIGHT:if(i.hint&&i.options.onHint&&i.isCursorAtEnd()){i.selectHint();break}return;case t.TAB:if(i.hint&&i.options.onHint){i.selectHint();return}case t.RETURN:if(i.selectedIndex===-1){i.hide();return}if(i.select(i.selectedIndex),n.which===t.TAB&&i.options.tabDisabled===!1)return;break;case t.UP:i.moveUp();break;case t.DOWN:i.moveDown();break;default:return}n.stopImmediatePropagation();n.preventDefault()}},onKeyUp:function(n){var i=this;if(!i.disabled){switch(n.which){case t.UP:case t.DOWN:return}clearInterval(i.onChangeInterval);i.currentValue!==i.el.val()&&(i.findBestHint(),i.options.deferRequestBy>0?i.onChangeInterval=setInterval(function(){i.onValueChange()},i.options.deferRequestBy):i.onValueChange())}},onValueChange:function(){var t=this,i;t.selection&&(t.selection=null,(t.options.onInvalidateSelection||n.noop)());clearInterval(t.onChangeInterval);t.currentValue=t.el.val();i=t.getQuery(t.currentValue);t.selectedIndex=-1;i.length<t.options.minChars?t.hide():t.getSuggestions(i)},getQuery:function(t){var r=this.options.delimiter,i;return r?(i=t.split(r),n.trim(i[i.length-1])):n.trim(t)},getSuggestionsLocal:function(t){var i=this,r=t.toLowerCase(),u=i.options.lookupFilter;return{suggestions:n.grep(i.options.lookup,function(n){return u(n,t,r)})}},getSuggestions:function(t){var u,r=this,i=r.options,f=i.serviceUrl;if(u=r.isLocal?r.getSuggestionsLocal(t):r.cachedResponse[t],u&&n.isArray(u.suggestions))r.suggestions=u.suggestions,r.suggest();else if(!r.isBadQuery(t)){if(i.params[i.paramName]=t,i.onSearchStart.call(r.element,i.params)===!1)return;n.isFunction(i.serviceUrl)&&(f=i.serviceUrl.call(r.element,t));this.currentRequest!=null&&this.currentRequest.abort();this.currentRequest=n.ajax({url:f,data:i.ignoreParams?null:i.params,type:i.type,dataType:i.dataType}).done(function(n){r.processResponse(n,t);i.onSearchComplete.call(r.element,t)}).fail(function(n,u,f){i.onSearchError.call(r.element,t,n,u,f)})}},isBadQuery:function(n){for(var t=this.badQueries,i=t.length;i--;)if(n.indexOf(t[i])===0)return!0;return!1},hide:function(){var t=this;t.visible=!1;t.selectedIndex=-1;n(t.suggestionsContainer).hide();t.signalHint(null)},suggest:function(){if(this.suggestions.length===0){this.hide();return}var t=this,f=t.options.formatResult,e=t.getQuery(t.currentValue),o=t.classes.suggestion,s=t.classes.selected,i=n(t.suggestionsContainer),u="",r;n.each(t.suggestions,function(n,t){u+='<div class="'+o+'" data-index="'+n+'">'+f(t,e)+"<\/div>"});t.options.width==="auto"&&(r=t.el.outerWidth()-2,i.width(r>0?r:300));i.html(u).show();t.visible=!0;t.options.autoSelectFirst&&(t.selectedIndex=0,i.children().first().addClass(s));t.findBestHint()},findBestHint:function(){var t=this,i=t.el.val().toLowerCase(),r=null;i&&(n.each(t.suggestions,function(n,t){var u=t.value.toLowerCase().indexOf(i)===0;return u&&(r=t),!u}),t.signalHint(r))},signalHint:function(t){var r="",i=this;t&&(r=i.currentValue+t.value.substr(i.currentValue.length));i.hintValue!==r&&(i.hintValue=r,i.hint=t,(this.options.onHint||n.noop)(r))},verifySuggestionsFormat:function(t,i){return t.length&&typeof t[0]=="string"?n.map(t,function(n,t){return{value:n,data:i[t]}}):t},processResponse:function(n,t){var i=this,u=i.options,r=u.transformResult(n,t);r.suggestions=i.verifySuggestionsFormat(r.suggestions,r.data);u.noCache||(i.cachedResponse[r[u.paramName]]=r,r.suggestions.length===0&&i.badQueries.push(r[u.paramName]));t===i.getQuery(i.currentValue)&&(i.suggestions=r.suggestions,i.suggest())},activate:function(t){var i=this,r,u=i.classes.selected,f=n(i.suggestionsContainer),e=f.children();return(f.children("."+u).removeClass(u),i.selectedIndex=t,i.selectedIndex!==-1&&e.length>i.selectedIndex)?(r=e.get(i.selectedIndex),n(r).addClass(u),r):null},selectHint:function(){var t=this,i=n.inArray(t.hint,t.suggestions);t.select(i)},select:function(n){var t=this;t.hide();t.onSelect(n)},moveUp:function(){var t=this;if(t.selectedIndex!==-1){if(t.selectedIndex===0){n(t.suggestionsContainer).children().first().removeClass(t.classes.selected);t.selectedIndex=-1;t.el.val(t.currentValue);t.findBestHint();return}t.adjustScroll(t.selectedIndex-1)}},moveDown:function(){var n=this;n.selectedIndex!==n.suggestions.length-1&&n.adjustScroll(n.selectedIndex+1)},adjustScroll:function(t){var i=this,f=i.activate(t),r,u,e,o=25;f&&(r=f.offsetTop,u=n(i.suggestionsContainer).scrollTop(),e=u+i.options.maxHeight-o,r<u?n(i.suggestionsContainer).scrollTop(r):r>e&&n(i.suggestionsContainer).scrollTop(r-i.options.maxHeight+o),i.el.val(i.getValue(i.suggestions[t].value)),i.signalHint(null))},onSelect:function(t){var i=this,u=i.options.onSelect,r=i.suggestions[t];i.currentValue=i.getValue(r.value);i.el.val(i.currentValue);i.signalHint(null);i.suggestions=[];i.selection=r;n.isFunction(u)&&u.call(i.element,r)},getValue:function(n){var r=this,u=r.options.delimiter,t,i;return u?(t=r.currentValue,i=t.split(u),i.length===1)?n:t.substr(0,t.length-i[i.length-1].length)+n:n},dispose:function(){var t=this;t.el.off(".autocomplete").removeData("autocomplete");t.disableKillerFn();n(window).off("resize",t.fixPositionCapture);n(t.suggestionsContainer).remove()}};n.fn.autocomplete=function(t,r){var u="autocomplete";return arguments.length===0?this.first().data(u):this.each(function(){var e=n(this),f=e.data(u);typeof t=="string"?f&&typeof f[t]=="function"&&f[t](r):(f&&f.dispose&&f.dispose(),f=new i(this,t),e.data(u,f))})}}),function(n){var o="0.3.0",u="hasOwnProperty",f=/[\.\/]/,s="*",h=function(){},c=function(n,t){return n-t},e,i,r={n:{}},t=function(n,u){var w=r,v=Array.prototype.slice.call(arguments,2),h=t.listeners(n),a=0,f,l=[],y={},s=[],o,p;for(e=n,i=0,o=0,p=h.length;o<p;o++)"zIndex"in h[o]&&(l.push(h[o].zIndex),h[o].zIndex<0&&(y[h[o].zIndex]=h[o]));for(l.sort(c);l[a]<0;)if(f=y[l[a++]],s.push(f.apply(u,v)),i)return s;for(o=0;o<p;o++)if(f=h[o],"zIndex"in f)if(f.zIndex==l[a]){if(s.push(f.apply(u,v)),i)return s;do if(a++,f=y[l[a]],f&&s.push(f.apply(u,v)),i)return s;while(f)}else y[f.zIndex]=f;else if(s.push(f.apply(u,v)),i)return s;return s.length?s:null};t.listeners=function(n){for(var a=n.split(f),t=r,i,v,o,e,p,h,c=[t],l=[],u=0,y=a.length;u<y;u++){for(h=[],e=0,p=c.length;e<p;e++)for(t=c[e].n,v=[t[a[u]],t[s]],o=2;o--;)i=v[o],i&&(h.push(i),l=l.concat(i.f||[]));c=h}return l};t.on=function(n,t){for(var e=n.split(f),i=r,u=0,o=e.length;u<o;u++)i=i.n,i[e[u]]||(i[e[u]]={n:{}}),i=i[e[u]];for(i.f=i.f||[],u=0,o=i.f.length;u<o;u++)if(i.f[u]==t)return h;return i.f.push(t),function(n){+n==+n&&(t.zIndex=+n)}};t.stop=function(){i=1};t.nt=function(n){return n?new RegExp("(?:\\.|\\/|^)"+n+"(?:\\.|\\/|$)").test(e):e};t.unbind=function(n,t){for(var y=n.split(f),i,o,l,c=[r],a,v,e=0,h=y.length;e<h;e++)for(a=0;a<c.length;a+=l.length-2){if(l=[a,1],i=c[a].n,y[e]!=s)i[y[e]]&&l.push(i[y[e]]);else for(o in i)i[u](o)&&l.push(i[o]);c.splice.apply(c,l)}for(e=0,h=c.length;e<h;e++)for(i=c[e];i.n;){if(t){if(i.f){for(e=0,h=i.f.length;e<h;e++)if(i.f[e]==t){i.f.splice(e,1);break}i.f.length||delete i.f}for(o in i.n)if(i.n[u](o)&&i.n[o].f){for(v=i.n[o].f,e=0,h=v.length;e<h;e++)if(v[e]==t){v.splice(e,1);break}v.length||delete i.n[o].f}}else{delete i.f;for(o in i.n)i.n[u](o)&&i.n[o].f&&delete i.n[o].f}i=i.n}};t.version=o;t.toString=function(){return"You are running Eve "+o};typeof module!="undefined"&&module.exports?module.exports=t:n.eve=t}(this),function(){function n(t){var i,e;if(n.is(t,"function"))return ri?t():eve.on("DOMload",t);if(n.is(t,p)){for(var r=t,o=n._engine.create[s](n,r.splice(0,3+n.is(r[0],c))),l=o.set(),f=0,a=r.length,u;f<a;f++)u=r[f]||{},gr[h](u.type)&&l.push(o[u.type]().attr(u));return l}return i=Array.prototype.slice.call(arguments,0),n.is(i[i.length-1],"function")?(e=i.pop(),ri?e.call(n._engine.create[s](n,i)):eve.on("DOMload",function(){e.call(n._engine.create[s](n,i))})):n._engine.create[s](n,arguments)}function wu(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return n.push(n.splice(i,1)[0])}function w(n,t,i){function r(){var o=Array.prototype.slice.call(arguments,0),u=o.join("␀"),f=r.cache=r.cache||{},e=r.count=r.count||[];return f[h](u)?(wu(e,u),i?i(f[u]):f[u]):(e.length>=1e3&&delete f[e.shift()],e.push(u),f[u]=n[s](t,o),i?i(f[u]):f[u])}return r}function wt(){return this.hex}function hr(n){for(var u=[],t,i=0,r=n.length;r-2>i;i+=2)t=[{x:+n[i],y:+n[i+1]},{x:+n[i],y:+n[i+1]},{x:+n[i+2],y:+n[i+3]},{x:+n[i+4],y:+n[i+5]}],r-4==i?(t[0]={x:+n[i-2],y:+n[i-1]},t[3]=t[2]):i&&(t[0]={x:+n[i-2],y:+n[i-1]}),u.push(["C",(-t[0].x+6*t[1].x+t[2].x)/6,(-t[0].y+6*t[1].y+t[2].y)/6,(t[1].x+6*t[2].x-t[3].x)/6,(t[1].y+6*t[2].y-t[3].y)/6,t[2].x,t[2].y]);return u}function ut(n,t,i,r,u,f){n!=null?(this.a=+n,this.b=+t,this.c=+i,this.d=+r,this.e=+u,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function wr(){return this.x+et+this.y+et+this.width+" × "+this.height}function of(n,t,i,r,u,f){function l(n){return((h*n+o)*n+e)*n}function v(n,t){var i=y(n,t);return((a*i+c)*i+s)*i}function y(n,t){for(var r,u,f,s,i=n,c=0;c<8;c++){if(f=l(i)-n,k(f)<t)return i;if(s=(3*h*i+2*o)*i+e,k(s)<1e-6)break;i=i-f/s}if(r=0,u=1,i=n,i<r)return r;if(i>u)return u;while(r<u){if(f=l(i),k(f-n)<t)return i;n>f?r=i:u=i;i=(u-r)/2+r}return i}var e=3*t,o=3*(r-t)-e,h=1-e-o,s=3*i,c=3*(u-i)-s,a=1-s-c;return v(n,1/(200*f))}function it(n,t){var i=[],u={},r;if(this.ms=t,this.times=1,n){for(r in n)n[h](r)&&(u[f(r)]=n[r],i.push(f(r)));i.sort(cu)}this.anim=u;this.top=i[i.length-1];this.percents=i}function ni(t,i,r,e,o,s){var k,l,it,st,pt,dt,d,ct,wt,lt,w,nt,ft,et,bt,tt,ot;r=f(r);var g,rt,at,kt,vt,yt,y=t.ms,a={},b={},p={};if(e){for(l=0,it=u.length;l<it;l++)if(k=u[l],k.el.id==i.id&&k.anim==t){k.percent!=r?(u.splice(l,1),at=1):rt=k;i.attr(k.totalOrigin);break}}else e=+b;for(l=0,it=t.percents.length;l<it;l++)if(t.percents[l]==r||t.percents[l]>e*t.top){r=t.percents[l];vt=t.percents[l-1]||0;y=y/t.top*(r-vt);kt=t.percents[l+1];g=t.anim[r];break}else e&&i.attr(t.anim[t.percents[l]]);if(g){if(rt)rt.initstatus=e,rt.start=new Date-rt.ms*e;else{for(attr in g)if(g[h](attr)&&(hi[h](attr)||i.paper.customAttributes[h](attr))){a[attr]=i.attr(attr);a[attr]==null&&(a[attr]=fu[attr]);b[attr]=g[attr];switch(hi[attr]){case c:p[attr]=(b[attr]-a[attr])/y;break;case"colour":a[attr]=n.getRGB(a[attr]);st=n.getRGB(b[attr]);p[attr]={r:(st.r-a[attr].r)/y,g:(st.g-a[attr].g)/y,b:(st.b-a[attr].b)/y};break;case"path":for(pt=ht(a[attr],b[attr]),dt=pt[1],a[attr]=pt[0],p[attr]=[],l=0,it=a[attr].length;l<it;l++)for(p[attr][l]=[0],d=1,ct=a[attr][l].length;d<ct;d++)p[attr][l][d]=(dt[l][d]-a[attr][l][d])/y;break;case"transform":if(wt=i._,lt=nf(wt[attr],b[attr]),lt)for(a[attr]=lt.from,b[attr]=lt.to,p[attr]=[],p[attr].real=!0,l=0,it=a[attr].length;l<it;l++)for(p[attr][l]=[a[attr][l][0]],d=1,ct=a[attr][l].length;d<ct;d++)p[attr][l][d]=(b[attr][l][d]-a[attr][l][d])/y;else w=i.matrix||new ut,nt={_:{transform:wt.transform},getBBox:function(){return i.getBBox(1)}},a[attr]=[w.a,w.b,w.c,w.d,w.e,w.f],gu(nt,b[attr]),b[attr]=nt._.transform,p[attr]=[(nt.matrix.a-w.a)/y,(nt.matrix.b-w.b)/y,(nt.matrix.c-w.c)/y,(nt.matrix.d-w.d)/y,(nt.matrix.e-w.e)/y,(nt.matrix.e-w.f)/y];break;case"csv":if(ft=v(g[attr]).split(ui),et=v(a[attr]).split(ui),attr=="clip-rect")for(a[attr]=et,p[attr]=[],l=et.length;l--;)p[attr][l]=(ft[l]-a[attr][l])/y;b[attr]=ft;break;default:for(ft=[].concat(g[attr]),et=[].concat(a[attr]),p[attr]=[],l=i.paper.customAttributes[attr].length;l--;)p[attr][l]=((ft[l]||0)-(et[l]||0))/y}}if(bt=g.easing,tt=n.easing_formulas[bt],tt||(tt=v(bt).match(uu),tt&&tt.length==5?(ot=tt,tt=function(n){return of(n,+ot[1],+ot[2],+ot[3],+ot[4],y)}):tt=au),yt=g.start||t.start||+new Date,k={anim:t,percent:r,timestamp:yt,start:yt+(t.del||0),status:0,initstatus:e||0,stop:!1,ms:y,easing:tt,from:a,diff:p,to:b,el:i,callback:g.callback,prev:vt,next:kt,repeat:s||t.times,origin:i.attr(),totalOrigin:o},u.push(k),e&&!rt&&!at&&(k.stop=!0,k.start=new Date-y*e,u.length==1))return di();at&&(k.start=new Date-k.ms*e);u.length==1&&dr(di)}eve("anim.start."+i.id,i,t)}}var vt,yt,vu,bu,ct,pi,pr,d,ft,b,ti;n.version="2.0.0";n.eve=eve;var ri,ui=/[, ]+/,gr={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},nu=/\{(\d+)\}/g,h="hasOwnProperty",t={doc:document,win:window},fi={was:Object.prototype[h].call(t.win,"Raphael"),is:t.win.Raphael},nr=function(){this.customAttributes={}},o,s="apply",e="concat",ei="createTouch"in t.doc,tt="",et=" ",v=String,tr="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel".split(et),oi={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},lt=v.prototype.toLowerCase,i=Math,l=i.max,g=i.min,k=i.abs,a=i.pow,y=i.PI,c="number",at="string",p="array",tu=Object.prototype.toString,sf=n._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,iu=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,ru={NaN:1,Infinity:1,"-Infinity":1},uu=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,si=i.round,f=parseFloat,rt=parseInt,ir=v.prototype.toUpperCase,fu=n._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/",opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0},hi=n._availableAnimAttrs={blur:c,"clip-rect":"csv",cx:c,cy:c,fill:"colour","fill-opacity":c,"font-size":c,height:c,opacity:c,path:"path",r:c,rx:c,ry:c,stroke:"colour","stroke-opacity":c,"stroke-width":c,transform:"transform",width:c,x:c,y:c},ci=/\s*,\s*/,eu={hs:1,rg:1},ou=/,?([achlmqrstvxz]),?/gi,su=/([achlmrqstvz])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,hu=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,rr=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)\s*,?\s*/ig,hf=n._radial_gradient=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,ot={},cf=function(n,t){return n.key-t.key},cu=function(n,t){return f(n)-f(t)},lu=function(){},au=function(n){return n},li=n._rectPath=function(n,t,i,r,u){return u?[["M",n+u,t],["l",i-u*2,0],["a",u,u,0,0,1,u,u],["l",0,r-u*2],["a",u,u,0,0,1,-u,u],["l",u*2-i,0],["a",u,u,0,0,1,-u,-u],["l",0,u*2-r],["a",u,u,0,0,1,u,-u],["z"]]:[["M",n,t],["l",i,0],["l",0,r],["l",-i,0],["z"]]},ur=function(n,t,i,r){return r==null&&(r=i),[["M",n,t],["m",0,-r],["a",i,r,0,1,1,0,2*r],["a",i,r,0,1,1,0,-2*r],["z"]]},ai=n._getPath={path:function(n){return n.attr("path")},circle:function(n){var t=n.attrs;return ur(t.cx,t.cy,t.r)},ellipse:function(n){var t=n.attrs;return ur(t.cx,t.cy,t.rx,t.ry)},rect:function(n){var t=n.attrs;return li(t.x,t.y,t.width,t.height,t.r)},image:function(n){var t=n.attrs;return li(t.x,t.y,t.width,t.height)},text:function(n){var t=n._getBBox();return li(t.x,t.y,t.width,t.height)}},fr=n.mapPath=function(n,t){if(!t)return n;var f,e,u,i,r;for(n=ht(n),u=0,ii=n.length;u<ii;u++)for(r=n[u],i=1,jj=r.length;i<jj;i+=2)f=t.x(r[i],r[i+1]),e=t.y(r[i],r[i+1]),r[i]=f,r[i+1]=e;return n};if(n._g=t,n.type=t.win.SVGAngle||t.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML",n.type=="VML"){if(vt=t.doc.createElement("div"),vt.innerHTML='<v:shape adj="1"/>',yt=vt.firstChild,yt.style.behavior="url(#default#VML)",!(yt&&typeof yt.adj=="object"))return n.type=tt;vt=null}n.svg=!(n.vml=n.type=="VML");n._Paper=nr;n.fn=o=nr.prototype=n.prototype;n._id=0;n._oid=0;n.is=function(n,t){return(t=lt.call(t),t=="finite")?!ru[h](+n):t=="array"?n instanceof Array:t=="null"&&n===null||t==typeof n||t=="object"&&n===Object(n)||t=="array"&&Array.isArray&&Array.isArray(n)||tu.call(n).slice(8,-1).toLowerCase()==t};n.angle=function(t,r,u,f,e,o){if(e==null){var s=t-u,h=r-f;return!s&&!h?0:(180+i.atan2(-h,-s)*180/y+360)%360}return n.angle(t,r,e,o)-n.angle(u,f,e,o)};n.rad=function(n){return n%360*y/180};n.deg=function(n){return n*180/y%360};n.snapTo=function(t,i,r){var f,u;if(r=n.is(r,"finite")?r:10,n.is(t,p)){for(f=t.length;f--;)if(k(t[f]-i)<=r)return t[f]}else{if(t=+t,u=i%t,u<r)return i-u;if(u>t-r)return i-u+t}return i};vu=n.createUUID=function(n,t){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(n,t).toUpperCase()}}(/[xy]/g,function(n){var t=i.random()*16|0,r=n=="x"?t:t&3|8;return r.toString(16)});n.setWindow=function(i){eve("setWindow",n,t.win,i);t.win=i;t.doc=t.win.document;initWin&&initWin(t.win)};var pt=function(i){var e,u,f,o,r;if(n.vml){e=/^\s+|\s+$/g;try{f=new ActiveXObject("htmlfile");f.write("<body>");f.close();u=f.body}catch(s){u=createPopup().document.body}o=u.createTextRange();pt=w(function(n){try{u.style.color=v(n).replace(e,tt);var t=o.queryCommandValue("ForeColor");return t=(t&255)<<16|t&65280|(t&16711680)>>>16,"#"+("000000"+t.toString(16)).slice(-6)}catch(i){return"none"}})}else r=t.doc.createElement("i"),r.title="Raphaël Colour Picker",r.style.display="none",t.doc.body.appendChild(r),pt=w(function(n){return r.style.color=n,t.doc.defaultView.getComputedStyle(r,tt).getPropertyValue("color")});return pt(i)},yu=function(){return"hsb("+[this.h,this.s,this.b]+")"},pu=function(){return"hsl("+[this.h,this.s,this.l]+")"},er=function(){return this.hex},or=function(t,i,r){if(i==null&&n.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,i=t.g,t=t.r),i==null&&n.is(t,at)){var u=n.getRGB(t);t=u.r;i=u.g;r=u.b}return(t>1||i>1||r>1)&&(t/=255,i/=255,r/=255),[t,i,r]},sr=function(t,i,r,u){t*=255;i*=255;r*=255;var f={r:t,g:i,b:r,hex:n.rgb(t,i,r),toString:er};return n.is(u,"finite")&&(f.opacity=u),f};n.color=function(t){var i;return n.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(i=n.hsb2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):n.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(i=n.hsl2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):(n.is(t,"string")&&(t=n.getRGB(t)),n.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(i=n.rgb2hsl(t),t.h=i.h,t.s=i.s,t.l=i.l,i=n.rgb2hsb(t),t.v=i.b):(t={hex:"none"},crl.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=er,t};n.hsb2rgb=function(n,t,i,r){this.is(n,"object")&&"h"in n&&"s"in n&&"b"in n&&(i=n.b,t=n.s,n=n.h,r=n.o);n*=360;var e,o,s,f,u;return n=n%360/60,u=i*t,f=u*(1-k(n%2-1)),e=o=s=i-u,n=~~n,e+=[u,f,0,0,f,u][n],o+=[f,u,u,f,0,0][n],s+=[0,0,f,u,u,f][n],sr(e,o,s,r)};n.hsl2rgb=function(n,t,i,r){this.is(n,"object")&&"h"in n&&"s"in n&&"l"in n&&(i=n.l,t=n.s,n=n.h);(n>1||t>1||i>1)&&(n/=360,t/=100,i/=100);n*=360;var e,o,s,f,u;return n=n%360/60,u=2*t*(i<.5?i:1-i),f=u*(1-k(n%2-1)),e=o=s=i-u/2,n=~~n,e+=[u,f,0,0,f,u][n],o+=[f,u,u,f,0,0][n],s+=[0,0,f,u,u,f][n],sr(e,o,s,r)};n.rgb2hsb=function(n,t,i){i=or(n,t,i);n=i[0];t=i[1];i=i[2];var f,e,u,r;return u=l(n,t,i),r=u-g(n,t,i),f=r==0?null:u==n?(t-i)/r:u==t?(i-n)/r+2:(n-t)/r+4,f=(f+360)%6/6,e=r==0?0:r/u,{h:f,s:e,b:u,toString:yu}};n.rgb2hsl=function(n,t,i){i=or(n,t,i);n=i[0];t=i[1];i=i[2];var e,s,u,f,o,r;return f=l(n,t,i),o=g(n,t,i),r=f-o,e=r==0?null:f==n?(t-i)/r:f==t?(i-n)/r+2:(n-t)/r+4,e=(e+360)%6/6,u=(f+o)/2,s=r==0?0:u<.5?r/(2*u):r/(2-2*u),{h:e,s:s,l:u,toString:pu}};n._path2string=function(){return this.join(",").replace(ou,"$1")};bu=n._preload=function(n,i){var r=t.doc.createElement("img");r.style.cssText="position:absolute;left:-9999em;top-9999em";r.onload=function(){i.call(this);this.onload=null;t.doc.body.removeChild(this)};r.onerror=function(){t.doc.body.removeChild(this)};t.doc.body.appendChild(r);r.src=n};n.getRGB=w(function(t){if(!t||!!((t=v(t)).indexOf("-")+1))return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:wt};if(t=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:wt};eu[h](t.toLowerCase().substring(0,2))||t.charAt()=="#"||(t=pt(t));var u,e,o,s,c,i,r=t.match(iu);return r?(r[2]&&(o=rt(r[2].substring(5),16),e=rt(r[2].substring(3,5),16),u=rt(r[2].substring(1,3),16)),r[3]&&(o=rt((c=r[3].charAt(3))+c,16),e=rt((c=r[3].charAt(2))+c,16),u=rt((c=r[3].charAt(1))+c,16)),r[4]&&(i=r[4].split(ci),u=f(i[0]),i[0].slice(-1)=="%"&&(u*=2.55),e=f(i[1]),i[1].slice(-1)=="%"&&(e*=2.55),o=f(i[2]),i[2].slice(-1)=="%"&&(o*=2.55),r[1].toLowerCase().slice(0,4)=="rgba"&&(s=f(i[3])),i[3]&&i[3].slice(-1)=="%"&&(s/=100)),r[5])?(i=r[5].split(ci),u=f(i[0]),i[0].slice(-1)=="%"&&(u*=2.55),e=f(i[1]),i[1].slice(-1)=="%"&&(e*=2.55),o=f(i[2]),i[2].slice(-1)=="%"&&(o*=2.55),(i[0].slice(-3)=="deg"||i[0].slice(-1)=="°")&&(u/=360),r[1].toLowerCase().slice(0,4)=="hsba"&&(s=f(i[3])),i[3]&&i[3].slice(-1)=="%"&&(s/=100),n.hsb2rgb(u,e,o,s)):r[6]?(i=r[6].split(ci),u=f(i[0]),i[0].slice(-1)=="%"&&(u*=2.55),e=f(i[1]),i[1].slice(-1)=="%"&&(e*=2.55),o=f(i[2]),i[2].slice(-1)=="%"&&(o*=2.55),(i[0].slice(-3)=="deg"||i[0].slice(-1)=="°")&&(u/=360),r[1].toLowerCase().slice(0,4)=="hsla"&&(s=f(i[3])),i[3]&&i[3].slice(-1)=="%"&&(s/=100),n.hsl2rgb(u,e,o,s)):(r={r:u,g:e,b:o,toString:wt},r.hex="#"+(16777216|o|e<<8|u<<16).toString(16).slice(1),n.is(s,"finite")&&(r.opacity=s),r):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:wt}},n);n.hsb=w(function(t,i,r){return n.hsb2rgb(t,i,r).hex});n.hsl=w(function(t,i,r){return n.hsl2rgb(t,i,r).hex});n.rgb=w(function(n,t,i){return"#"+(16777216|i|t<<8|n<<16).toString(16).slice(1)});n.getColor=function(n){var t=this.getColor.start=this.getColor.start||{h:0,s:1,b:n||.75},i=this.hsb2rgb(t.h,t.s,t.b);return t.h+=.075,t.h>1&&(t.h=0,t.s-=.2,t.s<=0&&(this.getColor.start={h:0,s:1,b:t.b})),i.hex};n.getColor.reset=function(){delete this.start};n.parsePathString=w(function(t){if(!t)return null;var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},i=[];return n.is(t,p)&&n.is(t[0],p)&&(i=st(t)),i.length||v(t).replace(su,function(n,t,u){var f=[],o=t.toLowerCase();if(u.replace(rr,function(n,t){t&&f.push(+t)}),o=="m"&&f.length>2&&(i.push([t][e](f.splice(0,2))),o="l",t=t=="m"?"l":"L"),o=="r")i.push([t][e](f));else while(f.length>=r[o])if(i.push([t][e](f.splice(0,r[o]))),!r[o])break}),i.toString=n._path2string,i});n.parseTransformString=w(function(t){if(!t)return null;var i=[];return n.is(t,p)&&n.is(t[0],p)&&(i=st(t)),i.length||v(t).replace(hu,function(n,t,r){var u=[],f=lt.call(t);r.replace(rr,function(n,t){t&&u.push(+t)});i.push([f][e](u))}),i.toString=n._path2string,i});n.findDotsAtSegment=function(n,t,r,u,f,e,o,s,h){var c=1-h,k=a(c,3),d=a(c,2),l=h*h,g=l*h,tt=k*n+d*3*h*r+c*3*h*h*f+g*o,it=k*t+d*3*h*u+c*3*h*h*e+g*s,v=n+2*h*(r-n)+l*(f-2*r+n),p=t+2*h*(u-t)+l*(e-2*u+t),w=r+2*h*(f-r)+l*(o-2*f+r),b=u+2*h*(e-u)+l*(s-2*e+u),rt=c*n+h*r,ut=c*t+h*u,ft=c*f+h*o,et=c*e+h*s,nt=90-i.atan2(v-w,p-b)*180/y;return(v>w||p<b)&&(nt+=180),{x:tt,y:it,m:{x:v,y:p},n:{x:w,y:b},start:{x:rt,y:ut},end:{x:ft,y:et},alpha:nt}};var cr=w(function(n){var h,v,u,c,a;if(!n)return{x:0,y:0,width:0,height:0};n=ht(n);var f=0,o=0,i=[],r=[],t;for(h=0,v=n.length;h<v;h++)t=n[h],t[0]=="M"?(f=t[1],o=t[2],i.push(f),r.push(o)):(u=du(f,o,t[1],t[2],t[3],t[4],t[5],t[6]),i=i[e](u.min.x,u.max.x),r=r[e](u.min.y,u.max.y),f=t[5],o=t[6]);return c=g[s](0,i),a=g[s](0,r),{x:c,y:a,width:l[s](0,i)-c,height:l[s](0,r)-a}},null,function(n){return{x:n.x,y:n.y,width:n.width,height:n.height}}),st=function(t){var u=[],i,f,r,e;for(n.is(t,p)&&n.is(t&&t[0],p)||(t=n.parsePathString(t)),i=0,f=t.length;i<f;i++)for(u[i]=[],r=0,e=t[i].length;r<e;r++)u[i][r]=t[i][r];return u.toString=n._path2string,u},ku=n._pathToRelative=w(function(t){var r,y,u,i,s,w,h,b,c;n.is(t,p)&&n.is(t&&t[0],p)||(t=n.parsePathString(t));var f=[],o=0,e=0,l=0,a=0,v=0;for(t[0][0]=="M"&&(o=t[0][1],e=t[0][2],l=o,a=e,v++,f.push(["M",o,e])),r=v,y=t.length;r<y;r++){if(u=f[r]=[],i=t[r],i[0]!=lt.call(i[0])){u[0]=lt.call(i[0]);switch(u[0]){case"a":u[1]=i[1];u[2]=i[2];u[3]=i[3];u[4]=i[4];u[5]=i[5];u[6]=+(i[6]-o).toFixed(3);u[7]=+(i[7]-e).toFixed(3);break;case"v":u[1]=+(i[1]-e).toFixed(3);break;case"m":l=i[1];a=i[2];default:for(s=1,w=i.length;s<w;s++)u[s]=+(i[s]-(s%2?o:e)).toFixed(3)}}else for(u=f[r]=[],i[0]=="m"&&(l=i[1]+o,a=i[2]+e),h=0,b=i.length;h<b;h++)f[r][h]=i[h];c=f[r].length;switch(f[r][0]){case"z":o=l;e=a;break;case"h":o+=+f[r][c-1];break;case"v":e+=+f[r][c-1];break;default:o+=+f[r][c-2];e+=+f[r][c-1]}}return f.toString=n._path2string,f},0,st),lr=n._pathToAbsolute=w(function(t){var i,r,v,b,h,o,y,c,k;if(n.is(t,p)&&n.is(t&&t[0],p)||(t=n.parsePathString(t)),!t||!t.length)return[["M",0,0]];var s=[],u=0,f=0,l=0,a=0,w=0;for(t[0][0]=="M"&&(u=+t[0][1],f=+t[0][2],l=u,a=f,w++,s[0]=["M",u,f]),v=w,b=t.length;v<b;v++){if(s.push(i=[]),r=t[v],r[0]!=ir.call(r[0])){i[0]=ir.call(r[0]);switch(i[0]){case"A":i[1]=r[1];i[2]=r[2];i[3]=r[3];i[4]=r[4];i[5]=r[5];i[6]=+(r[6]+u);i[7]=+(r[7]+f);break;case"V":i[1]=+r[1]+f;break;case"H":i[1]=+r[1]+u;break;case"R":for(h=[u,f][e](r.slice(1)),o=2,y=h.length;o<y;o++)h[o]=+h[o]+u,h[++o]=+h[o]+f;s.pop();s=s[e](hr(h));break;case"M":l=+r[1]+u;a=+r[2]+f;default:for(o=1,y=r.length;o<y;o++)i[o]=+r[o]+(o%2?u:f)}}else if(r[0]=="R")h=[u,f][e](r.slice(1)),s.pop(),s=s[e](hr(h)),i=["R"][e](r.slice(-2));else for(c=0,k=r.length;c<k;c++)i[c]=r[c];switch(i[0]){case"Z":u=l;f=a;break;case"H":u=i[1];break;case"V":f=i[1];break;case"M":l=i[i.length-2];a=i[i.length-1];default:u=i[i.length-2];f=i[i.length-1]}}return s.toString=n._path2string,s},null,st),bt=function(n,t,i,r){return[n,t,i,r,i,r]},ar=function(n,t,i,r,u,f){var e=1/3,o=2/3;return[e*n+o*i,e*t+o*r,e*u+o*i,e*f+o*r,u,f]},vr=function(n,t,r,u,f,o,s,h,c,l){var lt=y*120/180,ft=y/180*(+f||0),p=[],nt,et=w(function(n,t,r){var u=n*i.cos(r)-t*i.sin(r),f=n*i.sin(r)+t*i.cos(r);return{x:u,y:f}}),ot,ct,b,dt;if(l)v=l[0],a=l[1],rt=l[2],ut=l[3];else{nt=et(n,t,-ft);n=nt.x;t=nt.y;nt=et(h,c,-ft);h=nt.x;c=nt.y;var ei=i.cos(y/180*f),oi=i.sin(y/180*f),d=(n-h)/2,g=(t-c)/2,it=d*d/(r*r)+g*g/(u*u);it>1&&(it=i.sqrt(it),r=it*r,u=it*u);var st=r*r,ht=u*u,at=(o==s?-1:1)*i.sqrt(k((st*ht-st*g*g-ht*d*d)/(st*g*g+ht*d*d))),rt=at*r*g/u+(n+h)/2,ut=at*-u*d/r+(t+c)/2,v=i.asin(((t-ut)/u).toFixed(9)),a=i.asin(((c-ut)/u).toFixed(9));v=n<rt?y-v:v;a=h<rt?y-a:a;v<0&&(v=y*2+v);a<0&&(a=y*2+a);s&&v>a&&(v=v-y*2);!s&&a>v&&(a=a-y*2)}if(ot=a-v,k(ot)>lt){var gt=a,ni=h,ti=c;a=v+lt*(s&&a>v?1:-1);h=rt+r*i.cos(a);c=ut+u*i.sin(a);p=vr(h,c,r,u,f,0,s,ni,ti,[a,gt,rt,ut])}ot=a-v;var ii=i.cos(v),ri=i.sin(v),ui=i.cos(a),fi=i.sin(a),vt=i.tan(ot/4),yt=4/3*r*vt,pt=4/3*u*vt,wt=[n,t],tt=[n+yt*ri,t-pt*ii],bt=[h+yt*fi,c-pt*ui],kt=[h,c];if(tt[0]=2*wt[0]-tt[0],tt[1]=2*wt[1]-tt[1],l)return[tt,bt,kt][e](p);for(p=[tt,bt,kt][e](p).join().split(","),ct=[],b=0,dt=p.length;b<dt;b++)ct[b]=b%2?et(p[b-1],p[b],ft).y:et(p[b],p[b+1],ft).x;return ct},kt=function(n,t,i,r,u,f,e,o,s){var h=1-s;return{x:a(h,3)*n+a(h,2)*3*s*i+h*3*s*s*u+a(s,3)*e,y:a(h,3)*t+a(h,2)*3*s*r+h*3*s*s*f+a(s,3)*o}},du=w(function(n,t,r,u,f,e,o,h){var p=f-2*r+n-(o-2*f+r),c=2*(r-n)-2*(f-r),d=n-r,v=(-c+i.sqrt(c*c-4*p*d))/2/p,y=(-c-i.sqrt(c*c-4*p*d))/2/p,w=[t,h],b=[n,o],a;return k(v)>"1e12"&&(v=.5),k(y)>"1e12"&&(y=.5),v>0&&v<1&&(a=kt(n,t,r,u,f,e,o,h,v),b.push(a.x),w.push(a.y)),y>0&&y<1&&(a=kt(n,t,r,u,f,e,o,h,y),b.push(a.x),w.push(a.y)),p=e-2*u+t-(h-2*e+u),c=2*(u-t)-2*(e-u),d=t-u,v=(-c+i.sqrt(c*c-4*p*d))/2/p,y=(-c-i.sqrt(c*c-4*p*d))/2/p,k(v)>"1e12"&&(v=.5),k(y)>"1e12"&&(y=.5),v>0&&v<1&&(a=kt(n,t,r,u,f,e,o,h,v),b.push(a.x),w.push(a.y)),y>0&&y<1&&(a=kt(n,t,r,u,f,e,o,h,y),b.push(a.x),w.push(a.y)),{min:{x:g[s](0,b),y:g[s](0,w)},max:{x:l[s](0,b),y:l[s](0,w)}}}),ht=n._path2curve=w(function(n,t){for(var u=lr(n),i=t&&lr(t),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},h={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},w=function(n,t){var i,r;if(!n)return["C",t.x,t.y,t.x,t.y,t.x,t.y];n[0]in{T:1,Q:1}||(t.qx=t.qy=null);switch(n[0]){case"M":t.X=n[1];t.Y=n[2];break;case"A":n=["C"][e](vr[s](0,[t.x,t.y][e](n.slice(1))));break;case"S":i=t.x+(t.x-(t.bx||t.x));r=t.y+(t.y-(t.by||t.y));n=["C",i,r][e](n.slice(1));break;case"T":t.qx=t.x+(t.x-(t.qx||t.x));t.qy=t.y+(t.y-(t.qy||t.y));n=["C"][e](ar(t.x,t.y,t.qx,t.qy,n[1],n[2]));break;case"Q":t.qx=n[1];t.qy=n[2];n=["C"][e](ar(t.x,t.y,n[1],n[2],n[3],n[4]));break;case"L":n=["C"][e](bt(t.x,t.y,n[1],n[2]));break;case"H":n=["C"][e](bt(t.x,t.y,n[1],t.y));break;case"V":n=["C"][e](bt(t.x,t.y,t.x,n[1]));break;case"Z":n=["C"][e](bt(t.x,t.y,t.X,t.Y))}return n},b=function(n,t){if(n[t].length>7){n[t].shift();for(var r=n[t];r.length;)n.splice(t++,0,["C"][e](r.splice(0,6)));n.splice(t,1);v=l(u.length,i&&i.length||0)}},k=function(n,t,r,f,e){n&&t&&n[e][0]=="M"&&t[e][0]!="M"&&(t.splice(e,0,["M",f.x,f.y]),r.bx=0,r.by=0,r.x=n[e][1],r.y=n[e][2],v=l(u.length,i&&i.length||0))},r=0,v=l(u.length,i&&i.length||0);r<v;r++){u[r]=w(u[r],o);b(u,r);i&&(i[r]=w(i[r],h));i&&b(i,r);k(u,i,o,h,r);k(i,u,h,o,r);var c=u[r],a=i&&i[r],y=c.length,p=i&&a.length;o.x=c[y-2];o.y=c[y-1];o.bx=f(c[y-4])||o.x;o.by=f(c[y-3])||o.y;h.bx=i&&(f(a[p-4])||h.x);h.by=i&&(f(a[p-3])||h.y);h.x=i&&a[p-2];h.y=i&&a[p-1]}return i?[u,i]:u},null,st),lf=n._parseDots=w(function(t){for(var r=[],e,h,c,o,u,l,i=0,s=t.length;i<s;i++){if(e={},h=t[i].match(/^([^:]*):?([\d\.]*)/),e.color=n.getRGB(h[1]),e.color.error)return null;e.color=e.color.hex;h[2]&&(e.offset=h[2]+"%");r.push(e)}for(i=1,s=r.length-1;i<s;i++)if(!r[i].offset){for(c=f(r[i-1].offset||0),o=0,u=i+1;u<s;u++)if(r[u].offset){o=r[u].offset;break}for(o||(o=100,u=s),o=f(o),l=(o-c)/(u-i+1);i<u;i++)c+=l,r[i].offset=c+"%"}return r}),dt=n._tear=function(n,t){n==t.top&&(t.top=n.prev);n==t.bottom&&(t.bottom=n.next);n.next&&(n.next.prev=n.prev);n.prev&&(n.prev.next=n.next)},af=n._tofront=function(n,t){t.top!==n&&(dt(n,t),n.next=null,n.prev=t.top,t.top.next=n,t.top=n)},vf=n._toback=function(n,t){t.bottom!==n&&(dt(n,t),n.next=t.bottom,n.prev=null,t.bottom.prev=n,t.bottom=n)},yf=n._insertafter=function(n,t,i){dt(n,i);t==i.top&&(i.top=n);t.next&&(t.next.prev=n);n.next=t.next;n.prev=t;t.next=n},pf=n._insertbefore=function(n,t,i){dt(n,i);t==i.bottom&&(i.bottom=n);t.prev&&(t.prev.next=n);n.prev=t.prev;t.prev=n;n.next=t},wf=function(n){return function(){throw new Error("Raphaël: you are calling to method “"+n+"” of removed object");}},gu=n._extractTransform=function(t,i){var a,w,r,o,u;if(i==null)return t._.transform;i=v(i).replace(/\.{3}|\u2026/g,t._.transform||tt);var s=n.parseTransformString(i),h=0,y=0,p=0,c=1,l=1,f=t._,e=new ut;if(f.transform=s||[],s)for(a=0,w=s.length;a<w;a++)r=s[a],o=r.length,r[0]=v(r[0]).toLowerCase(),r[0]=="t"&&o==3?e.translate(r[1],r[2]):r[0]=="r"?o==2?(u=u||t.getBBox(1),e.rotate(r[1],u.x+u.width/2,u.y+u.height/2),h+=r[1]):o==4&&(e.rotate(r[1],r[2],r[3]),h+=r[1]):r[0]=="s"?o==2||o==3?(u=u||t.getBBox(1),e.scale(r[1],r[o-1],u.x+u.width/2,u.y+u.height/2),c*=r[1],l*=r[o-1]):o==5&&(e.scale(r[1],r[2],r[3],r[4]),c*=r[1],l*=r[2]):r[0]=="m"&&o==7&&e.add(r[1],r[2],r[3],r[4],r[5],r[6]),f.dirtyT=1,t.matrix=e;t.matrix=e;f.sx=c;f.sy=l;f.deg=h;f.dx=y=e.e;f.dy=p=e.f;c==1&&l==1&&!h&&f.bbox?(f.bbox.x+=+y,f.bbox.y+=+p):f.dirtyT=1},yr=function(n){switch(n[0]){case"t":return["t",0,0];case"m":return["m",1,0,0,1,0,0];case"r":return n.length==4?["r",0,n[2],n[3]]:["r",0];case"s":return n.length==5?["s",1,1,n[3],n[4]]:n.length==3?["s",1,1]:["s",1]}},nf=n._equaliseTransform=function(t,i){i=v(i).replace(/\.{3}|\u2026/g,t);t=n.parseTransformString(t)||[];i=n.parseTransformString(i)||[];for(var c=l(t.length,i.length),o=[],s=[],u=0,f,h,r,e;u<c;u++){if(r=t[u]||yr(i[u]),e=i[u]||yr(r),r[0]!=e[0]||r[0]=="r"&&(r[2]!=e[2]||r[3]!=e[3])||r[0]=="s"&&(r[3]!=e[3]||r[4]!=e[4]))return;for(o[u]=[],s[u]=[],f=0,h=l(r.length,e.length);f<h;f++)f in r&&(o[u][f]=r[f]),f in e&&(s[u][f]=e[f])}return{from:o,to:s}};n._getContainer=function(i,r,u,f){var e;if(e=f==null&&!n.is(i,"object")?t.doc.getElementById(i):i,e!=null)return e.tagName?r==null?{container:e,width:e.style.pixelWidth||e.offsetWidth,height:e.style.pixelHeight||e.offsetHeight}:{container:e,width:r,height:u}:{container:1,x:i,y:r,width:u,height:f}};n.pathToRelative=ku;n._engine={};n.path2curve=ht;n.matrix=function(n,t,i,r,u,f){return new ut(n,t,i,r,u,f)},function(t){function r(n){return n[0]*n[0]+n[1]*n[1]}function u(n){var t=i.sqrt(r(n));n[0]&&(n[0]/=t);n[1]&&(n[1]/=t)}t.add=function(n,t,i,r,u,f){var e=[[],[],[]],a=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],l=[[n,i,u],[t,r,f],[0,0,1]],o,s,h,c;for(n&&n instanceof ut&&(l=[[n.a,n.c,n.e],[n.b,n.d,n.f],[0,0,1]]),o=0;o<3;o++)for(s=0;s<3;s++){for(c=0,h=0;h<3;h++)c+=a[o][h]*l[h][s];e[o][s]=c}this.a=e[0][0];this.b=e[1][0];this.c=e[0][1];this.d=e[1][1];this.e=e[0][2];this.f=e[1][2]};t.invert=function(){var n=this,t=n.a*n.d-n.b*n.c;return new ut(n.d/t,-n.b/t,-n.c/t,n.a/t,(n.c*n.f-n.d*n.e)/t,(n.b*n.e-n.a*n.f)/t)};t.clone=function(){return new ut(this.a,this.b,this.c,this.d,this.e,this.f)};t.translate=function(n,t){this.add(1,0,0,1,n,t)};t.scale=function(n,t,i,r){t==null&&(t=n);(i||r)&&this.add(1,0,0,1,i,r);this.add(n,0,0,t,0,0);(i||r)&&this.add(1,0,0,1,-i,-r)};t.rotate=function(t,r,u){t=n.rad(t);r=r||0;u=u||0;var f=+i.cos(t).toFixed(9),e=+i.sin(t).toFixed(9);this.add(f,e,-e,f,r,u);this.add(1,0,0,1,-r,-u)};t.x=function(n,t){return n*this.a+t*this.c+this.e};t.y=function(n,t){return n*this.b+t*this.d+this.f};t.get=function(n){return+this[v.fromCharCode(97+n)].toFixed(4)};t.toString=function(){return n.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()};t.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"};t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};t.split=function(){var t={},f,e,o;return t.dx=this.e,t.dy=this.f,f=[[this.a,this.c],[this.b,this.d]],t.scalex=i.sqrt(r(f[0])),u(f[0]),t.shear=f[0][0]*f[1][0]+f[0][1]*f[1][1],f[1]=[f[1][0]-f[0][0]*t.shear,f[1][1]-f[0][1]*t.shear],t.scaley=i.sqrt(r(f[1])),u(f[1]),t.shear/=t.scaley,e=-f[0][1],o=f[1][1],o<0?(t.rotate=n.deg(i.acos(o)),e<0&&(t.rotate=360-t.rotate)):t.rotate=n.deg(i.asin(e)),t.isSimple=!+t.shear.toFixed(9)&&(t.scalex.toFixed(9)==t.scaley.toFixed(9)||!t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t};t.toTransformString=function(){var n=this.split();return n.isSimple?"t"+[n.dx,n.dy]+"s"+[n.scalex,n.scaley,0,0]+"r"+[n.rotate,0,0]:"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(ut.prototype);ct=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);o.safari=navigator.vendor=="Apple Computer, Inc."&&(ct&&ct[1]<4||navigator.platform.slice(0,2)=="iP")||navigator.vendor=="Google Inc."&&ct&&ct[1]<8?function(){var n=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){n.remove()})}:lu;var tf=function(){this.returnValue=!1},rf=function(){return this.originalEvent.preventDefault()},uf=function(){this.cancelBubble=!0},ff=function(){return this.originalEvent.stopPropagation()},ef=function(){return t.doc.addEventListener?function(n,i,r,u){var f=ei&&oi[i]?oi[i]:i,e=function(f){var c=t.doc.documentElement.scrollTop||t.doc.body.scrollTop,l=t.doc.documentElement.scrollLeft||t.doc.body.scrollLeft,a=f.clientX+l,v=f.clientY+c,e,o,s;if(ei&&oi[h](i))for(e=0,o=f.targetTouches&&f.targetTouches.length;e<o;e++)if(f.targetTouches[e].target==n){s=f;f=f.targetTouches[e];f.originalEvent=s;f.preventDefault=rf;f.stopPropagation=ff;break}return r.call(u,f,a,v)};return n.addEventListener(f,e,!1),function(){return n.removeEventListener(f,e,!1),!0}}:t.doc.attachEvent?function(n,i,r,u){var f=function(n){n=n||t.win.event;var i=t.doc.documentElement.scrollTop||t.doc.body.scrollTop,f=t.doc.documentElement.scrollLeft||t.doc.body.scrollLeft,e=n.clientX+f,o=n.clientY+i;return n.preventDefault=n.preventDefault||tf,n.stopPropagation=n.stopPropagation||uf,r.call(u,n,e,o)};return n.attachEvent("on"+i,f),function(){return n.detachEvent("on"+i,f),!0}}:void 0}(),nt=[],vi=function(n){for(var u=n.clientX,f=n.clientY,a=t.doc.documentElement.scrollTop||t.doc.body.scrollTop,v=t.doc.documentElement.scrollLeft||t.doc.body.scrollLeft,i,c=nt.length,o,e;c--;){if(i=nt[c],ei){for(o=n.touches.length;o--;)if(e=n.touches[o],e.identifier==i.el._drag.id){u=e.clientX;f=e.clientY;(n.originalEvent?n.originalEvent:n).preventDefault();break}}else n.preventDefault();var r=i.el.node,s,l=r.nextSibling,h=r.parentNode,y=r.style.display;t.win.opera&&h.removeChild(r);r.style.display="none";s=i.el.paper.getElementByPoint(u,f);r.style.display=y;t.win.opera&&(l?h.insertBefore(r,l):h.appendChild(r));s&&eve("drag.over."+i.el.id,i.el,s);u+=v;f+=a;eve("drag.move."+i.el.id,i.move_scope||i.el,u-i.el._drag.x,f-i.el._drag.y,u,f,n)}},yi=function(t){n.unmousemove(vi).unmouseup(yi);for(var r=nt.length,i;r--;)i=nt[r],i.el._drag={},eve("drag.end."+i.el.id,i.end_scope||i.start_scope||i.move_scope||i.el,t);nt=[]},r=n.el={};for(pi=tr.length;pi--;)(function(i){n[i]=r[i]=function(r,u){return n.is(r,"function")&&(this.events=this.events||[],this.events.push({name:i,f:r,unbind:ef(this.shape||this.node||t.doc,i,r,u||this)})),this};n["un"+i]=r["un"+i]=function(n){for(var t=this.events,r=t.length;r--;)if(t[r].name==i&&t[r].f==n)return t[r].unbind(),t.splice(r,1),t.length||delete this.events,this;return this}})(tr[pi]);r.data=function(t,i){var u=ot[this.id]=ot[this.id]||{},r;if(arguments.length==1){if(n.is(t,"object")){for(r in t)t[h](r)&&this.data(r,t[r]);return this}return eve("data.get."+this.id,this,u[t],t),u[t]}return u[t]=i,eve("data.set."+this.id,this,i,t),this};r.removeData=function(n){return n==null?ot[this.id]={}:ot[this.id]&&delete ot[this.id][n],this};r.hover=function(n,t,i,r){return this.mouseover(n,i).mouseout(t,r||i)};r.unhover=function(n,t){return this.unmouseover(n).unmouseout(t)};r.drag=function(i,r,u,f,e,o){function s(s){(s.originalEvent||s).preventDefault();var h=t.doc.documentElement.scrollTop||t.doc.body.scrollTop,c=t.doc.documentElement.scrollLeft||t.doc.body.scrollLeft;this._drag.x=s.clientX+c;this._drag.y=s.clientY+h;this._drag.id=s.identifier;nt.length||n.mousemove(vi).mouseup(yi);nt.push({el:this,move_scope:f,start_scope:e,end_scope:o});r&&eve.on("drag.start."+this.id,r);i&&eve.on("drag.move."+this.id,i);u&&eve.on("drag.end."+this.id,u);eve("drag.start."+this.id,e||f||this,s.clientX+c,s.clientY+h,s)}return this._drag={},this.mousedown(s),this};r.onDragOver=function(n){n?eve.on("drag.over."+this.id,n):eve.unbind("drag.over."+this.id)};r.undrag=function(){for(var t=nt.length;t--;)nt[t].el==this&&(n.unmousedown(nt[t].start),nt.splice(t++,1),eve.unbind("drag.*."+this.id));nt.length||n.unmousemove(vi).unmouseup(yi)};o.circle=function(t,i,r){var u=n._engine.circle(this,t||0,i||0,r||0);return this.__set__&&this.__set__.push(u),u};o.rect=function(t,i,r,u,f){var e=n._engine.rect(this,t||0,i||0,r||0,u||0,f||0);return this.__set__&&this.__set__.push(e),e};o.ellipse=function(t,i,r,u){var f=n._engine.ellipse(this,t||0,i||0,r||0,u||0);return this.__set__&&this.__set__.push(f),f};o.path=function(t){!t||n.is(t,at)||n.is(t[0],p)||(t+=tt);var i=n._engine.path(n.format[s](n,arguments),this);return this.__set__&&this.__set__.push(i),i};o.image=function(t,i,r,u,f){var e=n._engine.image(this,t||"about:blank",i||0,r||0,u||0,f||0);return this.__set__&&this.__set__.push(e),e};o.text=function(t,i,r){var u=n._engine.text(this,t||0,i||0,v(r));return this.__set__&&this.__set__.push(u),u};o.set=function(t){n.is(t,"array")||(t=Array.prototype.splice.call(arguments,0,arguments.length));var i=new ft(t);return this.__set__&&this.__set__.push(i),i};o.setStart=function(n){this.__set__=n||this.set()};o.setFinish=function(){var n=this.__set__;return delete this.__set__,n};o.setSize=function(t,i){return n._engine.setSize.call(this,t,i)};o.setViewBox=function(t,i,r,u,f){return n._engine.setViewBox.call(this,t,i,r,u,f)};o.top=o.bottom=null;o.raphael=n;pr=function(n){var u=n.getBoundingClientRect(),f=n.ownerDocument,i=f.body,r=f.documentElement,e=r.clientTop||i.clientTop||0,o=r.clientLeft||i.clientLeft||0,s=u.top+(t.win.pageYOffset||r.scrollTop||i.scrollTop)-e,h=u.left+(t.win.pageXOffset||r.scrollLeft||i.scrollLeft)-o;return{y:s,x:h}};o.getElementByPoint=function(n,i){var o=this,f=o.canvas,r=t.doc.elementFromPoint(n,i),s,u,e;if(t.win.opera&&r.tagName=="svg"&&(s=pr(f),u=f.createSVGRect(),u.x=n-s.x,u.y=i-s.y,u.width=u.height=1,e=f.getIntersectionList(u,null),e.length&&(r=e[e.length-1])),!r)return null;while(r.parentNode&&r!=f.parentNode&&!r.raphael)r=r.parentNode;return r==o.canvas.parentNode&&(r=f),r&&r.raphael?o.getById(r.raphaelid):null};o.getById=function(n){for(var t=this.bottom;t;){if(t.id==n)return t;t=t.next}return null};o.forEach=function(n,t){for(var i=this.bottom;i;){if(n.call(t,i)===!1)return this;i=i.next}return this};r.getBBox=function(n){if(this.removed)return{};var t=this._;return n?((t.dirty||!t.bboxwt)&&(this.realPath=ai[this.type](this),t.bboxwt=cr(this.realPath),t.bboxwt.toString=wr,t.dirty=0),t.bboxwt):((t.dirty||t.dirtyT||!t.bbox)&&((t.dirty||!this.realPath)&&(t.bboxwt=0,this.realPath=ai[this.type](this)),t.bbox=cr(fr(this.realPath,this.matrix)),t.bbox.toString=wr,t.dirty=t.dirtyT=0),t.bbox)};r.clone=function(){return this.removed?null:this.paper[this.type]().attr(this.attr())};r.glow=function(n){var r;if(this.type=="text")return null;n=n||{};var t={width:(n.width||10)+(+this.attr("stroke-width")||1),fill:n.fill||!1,opacity:n.opacity||.5,offsetx:n.offsetx||0,offsety:n.offsety||0,color:n.color||"#000"},u=t.width/2,f=this.paper,e=f.set(),i=this.realPath||ai[this.type](this);for(i=this.matrix?fr(i,this.matrix):i,r=1;r<u+1;r++)e.push(f.path(i).attr({stroke:t.color,fill:t.fill?t.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(t.width/u*r).toFixed(3),opacity:+(t.opacity/u).toFixed(3)}));return e.insertBefore(this).translate(t.offsetx,t.offsety)};var wi={},gt=function(t,i,r,u,f,e,o,s,h){var p=0,v=100,w=[t,i,r,u,f,e,o,s].join(),c=wi[w],b,y,k,l;for(c||(wi[w]=c={data:[]}),c.timer&&clearTimeout(c.timer),c.timer=setTimeout(function(){delete wi[w]},2e3),h==null||c.precision||(k=gt(t,i,r,u,f,e,o,s),c.precision=~~k*10,c.data=[]),v=c.precision||v,l=0;l<v+1;l++){if(c.data[l*v]?y=c.data[l*v]:(y=n.findDotsAtSegment(t,i,r,u,f,e,o,s,l/v),c.data[l*v]=y),l&&(p+=a(a(b.x-y.x,2)+a(b.y-y.y,2),.5)),h!=null&&p>=h)return y;b=y}if(h==null)return p},bi=function(t,i){return function(r,u,f){var y,p;r=ht(r);var s,h,e,a,c="",v={},o,l=0;for(y=0,p=r.length;y<p;y++){if(e=r[y],e[0]=="M")s=+e[1],h=+e[2];else{if(a=gt(s,h,e[1],e[2],e[3],e[4],e[5],e[6]),l+a>u){if(i&&!v.start){if(o=gt(s,h,e[1],e[2],e[3],e[4],e[5],e[6],u-l),c+=["C"+o.start.x,o.start.y,o.m.x,o.m.y,o.x,o.y],f)return c;v.start=c;c=["M"+o.x,o.y+"C"+o.n.x,o.n.y,o.end.x,o.end.y,e[5],e[6]].join();l+=a;s=+e[5];h=+e[6];continue}if(!t&&!i)return o=gt(s,h,e[1],e[2],e[3],e[4],e[5],e[6],u-l),{x:o.x,y:o.y,alpha:o.alpha}}l+=a;s=+e[5];h=+e[6]}c+=e.shift()+e}return v.end=c,o=t?l:i?v:n.findDotsAtSegment(s,h,e[0],e[1],e[2],e[3],e[4],e[5],1),o.alpha&&(o={x:o.x,y:o.y,alpha:o.alpha}),o}},br=bi(1),kr=bi(),ki=bi(0,1);n.getTotalLength=br;n.getPointAtLength=kr;n.getSubpath=function(n,t,i){if(this.getTotalLength(n)-i<1e-6)return ki(n,t).end;var r=ki(n,i,1);return t?ki(r,t).end:r};r.getTotalLength=function(){if(this.type=="path")return this.node.getTotalLength?this.node.getTotalLength():br(this.attrs.path)};r.getPointAtLength=function(n){if(this.type=="path")return kr(this.attrs.path,n)};r.getSubpath=function(t,i){if(this.type=="path")return n.getSubpath(this.attrs.path,t,i)};d=n.easing_formulas={linear:function(n){return n},"<":function(n){return a(n,1.7)},">":function(n){return a(n,.48)},"<>":function(n){var r=.48-n/1.04,u=i.sqrt(.1734+r*r),f=u-r,o=a(k(f),1/3)*(f<0?-1:1),e=-u-r,s=a(k(e),1/3)*(e<0?-1:1),t=o+s+.5;return(1-t)*3*t*t+t*t*t},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){n=n-1;var t=1.70158;return n*n*((t+1)*n+t)+1},elastic:function(n){return n==!!n?n:a(2,-10*n)*i.sin((n-.075)*2*y/.3)+1},bounce:function(n){var r=7.5625,t=2.75,i;return n<1/t?i=r*n*n:n<2/t?(n-=1.5/t,i=r*n*n+.75):n<2.5/t?(n-=2.25/t,i=r*n*n+.9375):(n-=2.625/t,i=r*n*n+.984375),i}};d.easeIn=d["ease-in"]=d["<"];d.easeOut=d["ease-out"]=d[">"];d.easeInOut=d["ease-in-out"]=d["<>"];d["back-in"]=d.backIn;d["back-out"]=d.backOut;var u=[],dr=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){setTimeout(n,16)},di=function(){for(var nt=+new Date,p=0,t,a,i,r,b,s,k,y,g;p<u.length;p++)if(t=u[p],!t.el.removed&&!t.paused){var w=nt-t.start,o=t.ms,tt=t.easing,e=t.from,l=t.diff,it=t.to,rt=t.t,v=t.el,d={},f;if(t.initstatus?(w=(t.initstatus*t.anim.top-t.prev)/(t.percent-t.prev)*o,t.status=t.initstatus,delete t.initstatus,t.stop&&u.splice(p--,1)):t.status=(t.prev+(t.percent-t.prev)*(w/o))/t.anim.top,!(w<0))if(w<o){a=tt(w/o);for(i in e)if(e[h](i)){switch(hi[i]){case c:f=+e[i]+a*o*l[i];break;case"colour":f="rgb("+[gi(si(e[i].r+a*o*l[i].r)),gi(si(e[i].g+a*o*l[i].g)),gi(si(e[i].b+a*o*l[i].b))].join(",")+")";break;case"path":for(f=[],r=0,b=e[i].length;r<b;r++){for(f[r]=[e[i][r][0]],s=1,k=e[i][r].length;s<k;s++)f[r][s]=+e[i][r][s]+a*o*l[i][r][s];f[r]=f[r].join(et)}f=f.join(et);break;case"transform":if(l[i].real)for(f=[],r=0,b=e[i].length;r<b;r++)for(f[r]=[e[i][r][0]],s=1,k=e[i][r].length;s<k;s++)f[r][s]=e[i][r][s]+a*o*l[i][r][s];else y=function(n){return+e[i][n]+a*o*l[i][n]},f=[["m",y(0),y(1),y(2),y(3),y(4),y(5)]];break;case"csv":if(i=="clip-rect")for(f=[],r=4;r--;)f[r]=+e[i][r]+a*o*l[i][r];break;default:for(g=[].concat(e[i]),f=[],r=v.paper.customAttributes[i].length;r--;)f[r]=+g[r]+a*o*l[i][r]}d[i]=f}v.attr(d),function(n,t,i){setTimeout(function(){eve("anim.frame."+n,t,i)})}(v.id,v,t.anim)}else(function(t,i,r){setTimeout(function(){eve("anim.frame."+i.id,i,r);eve("anim.finish."+i.id,i,r);n.is(t,"function")&&t.call(i)})})(t.callback,v,t.anim),v.attr(it),u.splice(p--,1),t.repeat>1&&!t.next&&ni(t.anim,t.el,t.anim.percents[0],null,t.totalOrigin,t.repeat-1),t.next&&!t.stop&&ni(t.anim,t.el,t.next,null,t.totalOrigin,t.repeat)}n.svg&&v&&v.paper&&v.paper.safari();u.length&&dr(di)},gi=function(n){return n>255?255:n<0?0:n};r.animateWith=function(t,i,r,u,f,e){var o=r?n.animation(r,u,f,e):i;return status=t.status(i),this.animate(o).status(o,status*i.ms/o.ms)};r.onAnimation=function(n){return n?eve.on("anim.frame."+this.id,n):eve.unbind("anim.frame."+this.id),this};it.prototype.delay=function(n){var t=new it(this.anim,this.ms);return t.times=this.times,t.del=+n||0,t};it.prototype.repeat=function(n){var t=new it(this.anim,this.ms);return t.del=this.del,t.times=i.floor(l(n,0))||1,t};n.animation=function(t,i,r,u){if(t instanceof it)return t;(n.is(r,"function")||!r)&&(u=u||r||null,r=null);t=Object(t);i=+i||0;var o={},s,e;for(e in t)t[h](e)&&f(e)!=e&&f(e)+"%"!=e&&(s=!0,o[e]=t[e]);return s?(r&&(o.easing=r),u&&(o.callback=u),new it({100:o},i)):new it(t,i)};r.animate=function(t,i,r,u){var f=this,e;return f.removed?(u&&u.call(f),f):(e=t instanceof it?t:n.animation(t,i,r,u),ni(e,f,e.percents[0],null,f.attr()),f)};r.setTime=function(n,t){return n&&t!=null&&this.status(n,g(t,n.ms)/n.ms),this};r.status=function(n,t){var f=[],r=0,e,i;if(t!=null)return ni(n,this,-1,g(t,1)),this;for(e=u.length;r<e;r++)if(i=u[r],i.el.id==this.id&&(!n||i.anim==n)){if(n)return i.status;f.push({anim:i.anim,status:i.status})}return n?0:f};r.pause=function(n){for(var t=0;t<u.length;t++)u[t].el.id!=this.id||n&&u[t].anim!=n||eve("anim.pause."+this.id,this,u[t].anim)!==!1&&(u[t].paused=!0);return this};r.resume=function(n){for(var i,t=0;t<u.length;t++)u[t].el.id!=this.id||n&&u[t].anim!=n||(i=u[t],eve("anim.resume."+this.id,this,i.anim)!==!1&&(delete i.paused,this.status(i.anim,i.status)));return this};r.stop=function(n){for(var t=0;t<u.length;t++)u[t].el.id!=this.id||n&&u[t].anim!=n||eve("anim.stop."+this.id,this,u[t].anim)!==!1&&u.splice(t--,1);return this};r.toString=function(){return"Raphaël’s object"};ft=function(n){if(this.items=[],this.length=0,this.type="set",n)for(var t=0,i=n.length;t<i;t++)n[t]&&(n[t].constructor==r.constructor||n[t].constructor==ft)&&(this[this.items.length]=this.items[this.items.length]=n[t],this.length++)};b=ft.prototype;b.push=function(){for(var n,i,t=0,u=arguments.length;t<u;t++)n=arguments[t],n&&(n.constructor==r.constructor||n.constructor==ft)&&(i=this.items.length,this[i]=this.items[i]=n,this.length++);return this};b.pop=function(){return this.length&&delete this[this.length--],this.items.pop()};b.forEach=function(n,t){for(var i=0,r=this.items.length;i<r;i++)if(n.call(t,this.items[i])===!1)return this;return this};for(ti in r)r[h](ti)&&(b[ti]=function(n){return function(){var t=arguments;return this.forEach(function(i){i[n][s](i,t)})}}(ti));b.attr=function(t,i){var r,f,u,e;if(t&&n.is(t,p)&&n.is(t[0],"object"))for(r=0,f=t.length;r<f;r++)this.items[r].attr(t[r]);else for(u=0,e=this.items.length;u<e;u++)this.items[u].attr(t,i);return this};b.clear=function(){while(this.length)this.pop()};b.splice=function(n,t){var r;n=n<0?l(this.length+n,0):n;t=l(0,g(this.length-n,t));for(var u=[],e=[],f=[],i=2;i<arguments.length;i++)f.push(arguments[i]);for(i=0;i<t;i++)e.push(this[n+i]);for(;i<this.length-n;i++)u.push(this[n+i]);for(r=f.length,i=0;i<r+u.length;i++)this.items[n+i]=this[n+i]=i<r?f[i]:u[i-r];for(i=this.items.length=this.length-=t-r;this[i];)delete this[i++];return new ft(e)};b.exclude=function(n){for(var t=0,r=this.length,i;t<r;t++)(i||this[t]==n)&&(this[t]=this[t+1],i=1);if(i)return this.length--,delete this[t],!0};b.animate=function(t,i,r,u){var s;(n.is(r,"function")||!r)&&(u=r||null);var e=this.items.length,f=e,h,c=this,o;if(!e)return this;for(u&&(o=function(){--e||u.call(c)}),r=n.is(r,at)?r:o,s=n.animation(t,i,r,o),h=this.items[--f].animate(s);f--;)this.items[f]&&!this.items[f].removed&&this.items[f].animateWith(h,s);return this};b.insertAfter=function(n){for(var t=this.items.length;t--;)this.items[t].insertAfter(n);return this};b.getBBox=function(){for(var t=[],i=[],u=[],f=[],n,r=this.items.length;r--;)this.items[r].removed||(n=this.items[r].getBBox(),t.push(n.x),i.push(n.y),u.push(n.x+n.width),f.push(n.y+n.height));return t=g[s](0,t),i=g[s](0,i),{x:t,y:i,width:l[s](0,u)-t,height:l[s](0,f)-i}};b.clone=function(n){n=new ft;for(var t=0,i=this.items.length;t<i;t++)n.push(this.items[t].clone());return n};b.toString=function(){return"Raphaël‘s set"};n.registerFont=function(n){var i,u,f,r,t,e;if(!n.face)return n;this.fonts=this.fonts||{};i={w:n.w,face:{},glyphs:{}};u=n.face["font-family"];for(f in n.face)n.face[h](f)&&(i.face[f]=n.face[f]);if(this.fonts[u]?this.fonts[u].push(i):this.fonts[u]=[i],!n.svg){i.face["units-per-em"]=rt(n.face["units-per-em"],10);for(r in n.glyphs)if(n.glyphs[h](r)&&(t=n.glyphs[r],i.glyphs[r]={w:t.w,k:{},d:t.d&&"M"+t.d.replace(/[mlcxtrv]/g,function(n){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[n]||"M"})+"z"},t.k))for(e in t.k)t[h](e)&&(i.glyphs[r].k[e]=t.k[e])}return n};o.getFont=function(t,i,r,u){var f,c,o,e,s,l;if(u=u||"normal",r=r||"normal",i=+i||{normal:400,bold:700,lighter:300,bolder:800}[i]||400,n.fonts){if(f=n.fonts[t],!f){c=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,tt)+"(\\s|$)","i");for(o in n.fonts)if(n.fonts[h](o)&&c.test(o)){f=n.fonts[o];break}}if(f)for(s=0,l=f.length;s<l;s++)if(e=f[s],e.face["font-weight"]==i&&(e.face["font-style"]==r||!e.face["font-style"])&&e.face["font-stretch"]==u)break;return e}};o.print=function(t,i,r,u,f,e,o){var s,nt,y,p;e=e||"middle";o=l(g(o||0,1),-1);var w=this.set(),a=v(r).split(tt),b=0,it=tt,h;if(n.is(u,r)&&(u=this.getFont(u)),u){h=(f||16)/u.face["units-per-em"];var c=u.face.bbox.split(ui),k=+c[0],d=+c[1]+(e=="baseline"?c[3]-c[1]+ +u.face.descent:(c[3]-c[1])/2);for(s=0,nt=a.length;s<nt;s++)y=s&&u.glyphs[a[s-1]]||{},p=u.glyphs[a[s]],b+=s?(y.w||u.w)+(y.k&&y.k[a[s]]||0)+u.w*o:0,p&&p.d&&w.push(this.path(p.d).attr({fill:"#000",stroke:"none",transform:[["t",b*h,0]]}));w.transform(["...s",h,h,k,d,"t",(t-k)/h,(i-d)/h])}return w};n.format=function(t,i){var r=n.is(i,p)?[0][e](i):arguments;return t&&n.is(t,at)&&r.length-1&&(t=t.replace(nu,function(n,t){return r[++t]==null?tt:r[t]})),t||tt};n.fullfill=function(){var n=/\{([^\}]+)\}/g,t=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,i=function(n,i,r){var u=r;return i.replace(t,function(n,t,i,r,f){t=t||r;u&&(t in u&&(u=u[t]),typeof u=="function"&&f&&(u=u()))}),u=(u==null||u==r?n:u)+""};return function(t,r){return String(t).replace(n,function(n,t){return i(n,t,r)})}}();n.ninja=function(){return fi.was?t.win.Raphael=fi.is:delete Raphael,n};n.st=b,function(t,i,r){function u(){/in/.test(t.readyState)?setTimeout(u,9):n.eve("DOMload")}t.readyState==null&&t.addEventListener&&(t.addEventListener(i,r=function(){t.removeEventListener(i,r,!1);t.readyState="complete"},!1),t.readyState="loading");u()}(document,"DOMContentLoaded");fi.was?t.win.Raphael=n:Raphael=n;eve.on("DOMload",function(){ri=!0})}();window.Raphael.svg&&function(n){var i="hasOwnProperty",u=String,f=parseFloat,tt=parseInt,c=Math,b=c.max,p=c.abs,k=c.pow,l=/[, ]+/,d=n.eve,h="",a=" ",v="http://www.w3.org/1999/xlink",et={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},e={},nt,y;n.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var t=function(r,f){if(f){typeof r=="string"&&(r=t(r));for(var e in f)f[i](e)&&(e.substring(0,6)=="xlink:"?r.setAttributeNS(v,e.substring(6),u(f[e])):r.setAttribute(e,u(f[e])))}else r=n._g.doc.createElementNS("http://www.w3.org/2000/svg",r),r.style&&(r.style.webkitTapHighlightColor="rgba(0,0,0,0)");return r},it={},ot=/^url\(#(.*)\)$/,ct=function(t,i){var r=t.getAttribute("fill");r=r&&r.match(ot);r&&!--it[r[1]]&&(delete it[r[1]],i.defs.removeChild(n._g.doc.getElementById(r[1])))},rt=function(i,r){var w="linear",y=i.id+r,d=.5,o=.5,tt=i.node,it=i.paper,g=tt.style,l=n._g.doc.getElementById(y),a,e,nt,v,s,rt;if(!l){if(r=u(r).replace(n._radial_gradient,function(n,t,i){if(w="radial",t&&i){d=f(t);o=f(i);var r=(o>.5)*2-1;k(d-.5,2)+k(o-.5,2)>.25&&(o=c.sqrt(.25-k(d-.5,2))*r+.5)&&o!=.5&&(o=o.toFixed(5)-1e-5*r)}return h}),r=r.split(/\s*\-\s*/),w=="linear"){if(a=r.shift(),a=-f(a),isNaN(a))return null;e=[0,0,c.cos(n.rad(a)),c.sin(n.rad(a))];nt=1/(b(p(e[2]),p(e[3]))||1);e[2]*=nt;e[3]*=nt;e[2]<0&&(e[0]=-e[2],e[2]=0);e[3]<0&&(e[1]=-e[3],e[3]=0)}if(v=n._parseDots(r),!v)return null;for(i.gradient&&(it.defs.removeChild(i.gradient),delete i.gradient),y=y.replace(/[\(\)\s,\xb0#]/g,"-"),l=t(w+"Gradient",{id:y}),i.gradient=l,t(l,w=="radial"?{fx:d,fy:o}:{x1:e[0],y1:e[1],x2:e[2],y2:e[3],gradientTransform:i.matrix.invert()}),it.defs.appendChild(l),s=0,rt=v.length;s<rt;s++)l.appendChild(t("stop",{offset:v[s].offset?v[s].offset:s?"100%":"0%","stop-color":v[s].color||"#fff"}))}return t(tt,{fill:"url(#"+y+")",opacity:1,"fill-opacity":1}),g.fill=h,g.opacity=1,g.fillOpacity=1,1},w=function(n){var i=n.getBBox(1);t(n.pattern,{patternTransform:n.matrix.invert()+" translate("+i.x+","+i.y+")"})},o=function(r,f,o){var b,k,g,tt,it,rt;if(r.type=="path"){for(var ut=u(f).toLowerCase().split("-"),ht=r.paper,s=o?"end":"start",ct=r.node,c=r.attrs,d=c["stroke-width"],ft=ut.length,l="classic",p,w,ot,st,h,v=3,y=3,nt=5;ft--;)switch(ut[ft]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":l=ut[ft];break;case"wide":y=5;break;case"narrow":y=2;break;case"long":v=5;break;case"short":v=2}l=="open"?(v+=2,y+=2,nt+=2,ot=1,st=o?4:1,h={fill:"none",stroke:c.stroke}):(st=ot=v/2,h={fill:c.stroke,stroke:"none"});r._.arrows?o?(r._.arrows.endPath&&e[r._.arrows.endPath]--,r._.arrows.endMarker&&e[r._.arrows.endMarker]--):(r._.arrows.startPath&&e[r._.arrows.startPath]--,r._.arrows.startMarker&&e[r._.arrows.startMarker]--):r._.arrows={};l!="none"?(b="raphael-marker-"+l,k="raphael-marker-"+s+l+v+y,n._g.doc.getElementById(b)?e[b]++:(ht.defs.appendChild(t(t("path"),{"stroke-linecap":"round",d:et[l],id:b})),e[b]=1),g=n._g.doc.getElementById(k),g?(e[k]++,tt=g.getElementsByTagName("use")[0]):(g=t(t("marker"),{id:k,markerHeight:y,markerWidth:v,orient:"auto",refX:st,refY:y/2}),tt=t(t("use"),{"xlink:href":"#"+b,transform:(o?" rotate(180 "+v/2+" "+y/2+") ":a)+"scale("+v/nt+","+y/nt+")","stroke-width":2/(v/nt+y/nt)}),g.appendChild(tt),ht.defs.appendChild(g),e[k]=1),t(tt,h),it=ot*(l!="diamond"&&l!="oval"),o?(p=r._.arrows.startdx*d||0,w=n.getTotalLength(c.path)-it*d):(p=it*d,w=n.getTotalLength(c.path)-(r._.arrows.enddx*d||0)),h={},h["marker-"+s]="url(#"+k+")",(w||p)&&(h.d=Raphael.getSubpath(c.path,p,w)),t(ct,h),r._.arrows[s+"Path"]=b,r._.arrows[s+"Marker"]=k,r._.arrows[s+"dx"]=it,r._.arrows[s+"Type"]=l,r._.arrows[s+"String"]=f):(o?(p=r._.arrows.startdx*d||0,w=n.getTotalLength(c.path)-p):(p=0,w=n.getTotalLength(c.path)-(r._.arrows.enddx*d||0)),r._.arrows[s+"Path"]&&t(ct,{d:Raphael.getSubpath(c.path,p,w)}),delete r._.arrows[s+"Path"],delete r._.arrows[s+"Marker"],delete r._.arrows[s+"dx"],delete r._.arrows[s+"Type"],delete r._.arrows[s+"String"]);for(h in e)e[i](h)&&!e[h]&&(rt=n._g.doc.getElementById(h),rt&&rt.parentNode.removeChild(rt))}},st={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},ut=function(n,i,r){if(i=st[u(i).toLowerCase()],i){for(var e=n.attrs["stroke-width"]||"1",s={round:e,square:e,butt:0}[n.attrs["stroke-linecap"]||r["stroke-linecap"]]||0,o=[],f=i.length;f--;)o[f]=i[f]*e+(f%2?1:-1)*s;t(n.node,{"stroke-dasharray":o.join(",")})}},g=function(r,f){var s=r.node,c=r.attrs,at=s.style.visibility,a,e,d,ft,g,y,et,ot,st,ct,k,nt,it,lt;s.style.visibility="hidden";for(a in f)if(f[i](a)){if(!n._availableAttrs[i](a))continue;e=f[a];c[a]=e;switch(a){case"blur":r.blur(e);break;case"href":case"title":case"target":d=s.parentNode;d.tagName.toLowerCase()!="a"&&(ft=t("a"),d.insertBefore(ft,s),ft.appendChild(s),d=ft);a=="target"&&e=="blank"?d.setAttributeNS(v,"show","new"):d.setAttributeNS(v,a,e);break;case"cursor":s.style.cursor=e;break;case"transform":r.transform(e);break;case"arrow-start":o(r,e);break;case"arrow-end":o(r,e,1);break;case"clip-rect":g=u(e).split(l);g.length==4&&(r.clip&&r.clip.parentNode.parentNode.removeChild(r.clip.parentNode),y=t("clipPath"),et=t("rect"),y.id=n.createUUID(),t(et,{x:g[0],y:g[1],width:g[2],height:g[3]}),y.appendChild(et),r.paper.defs.appendChild(y),t(s,{"clip-path":"url(#"+y.id+")"}),r.clip=et);e||(ot=n._g.doc.getElementById(s.getAttribute("clip-path").replace(/(^url\(#|\)$)/g,h)),ot&&ot.parentNode.removeChild(ot),t(s,{"clip-path":h}),delete r.clip);break;case"path":r.type=="path"&&(t(s,{d:e?c.path=n._pathToAbsolute(e):"M0,0"}),r._.dirty=1,r._.arrows&&("startString"in r._.arrows&&o(r,r._.arrows.startString),"endString"in r._.arrows&&o(r,r._.arrows.endString,1)));break;case"width":if(s.setAttribute(a,e),r._.dirty=1,c.fx)a="x",e=c.x;else break;case"x":c.fx&&(e=-c.x-(c.width||0));case"rx":if(a=="rx"&&r.type=="rect")break;case"cx":s.setAttribute(a,e);r.pattern&&w(r);r._.dirty=1;break;case"height":if(s.setAttribute(a,e),r._.dirty=1,c.fy)a="y",e=c.y;else break;case"y":c.fy&&(e=-c.y-(c.height||0));case"ry":if(a=="ry"&&r.type=="rect")break;case"cy":s.setAttribute(a,e);r.pattern&&w(r);r._.dirty=1;break;case"r":r.type=="rect"?t(s,{rx:e,ry:e}):s.setAttribute(a,e);r._.dirty=1;break;case"src":r.type=="image"&&s.setAttributeNS(v,"href",e);break;case"stroke-width":(r._.sx!=1||r._.sy!=1)&&(e/=b(p(r._.sx),p(r._.sy))||1);r.paper._vbSize&&(e*=r.paper._vbSize);s.setAttribute(a,e);c["stroke-dasharray"]&&ut(r,c["stroke-dasharray"],f);r._.arrows&&("startString"in r._.arrows&&o(r,r._.arrows.startString),"endString"in r._.arrows&&o(r,r._.arrows.endString,1));break;case"stroke-dasharray":ut(r,e,f);break;case"fill":if(st=u(e).match(n._ISURL),st){y=t("pattern");ct=t("image");y.id=n.createUUID();t(y,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});t(ct,{x:0,y:0,"xlink:href":st[1]});y.appendChild(ct),function(i){n._preload(st[1],function(){var n=this.offsetWidth,u=this.offsetHeight;t(i,{width:n,height:u});t(ct,{width:n,height:u});r.paper.safari()})}(y);r.paper.defs.appendChild(y);s.style.fill="url(#"+y.id+")";t(s,{fill:"url(#"+y.id+")"});r.pattern=y;r.pattern&&w(r);break}if(k=n.getRGB(e),k.error){if((r.type=="circle"||r.type=="ellipse"||u(e).charAt()!="r")&&rt(r,e)){("opacity"in c||"fill-opacity"in c)&&(nt=n._g.doc.getElementById(s.getAttribute("fill").replace(/^url\(#|\)$/g,h)),nt&&(it=nt.getElementsByTagName("stop"),t(it[it.length-1],{"stop-opacity":("opacity"in c?c.opacity:1)*("fill-opacity"in c?c["fill-opacity"]:1)})));c.gradient=e;c.fill="none";break}}else delete f.gradient,delete c.gradient,!n.is(c.opacity,"undefined")&&n.is(f.opacity,"undefined")&&t(s,{opacity:c.opacity}),!n.is(c["fill-opacity"],"undefined")&&n.is(f["fill-opacity"],"undefined")&&t(s,{"fill-opacity":c["fill-opacity"]});k[i]("opacity")&&t(s,{"fill-opacity":k.opacity>1?k.opacity/100:k.opacity});case"stroke":k=n.getRGB(e);s.setAttribute(a,k.hex);a=="stroke"&&k[i]("opacity")&&t(s,{"stroke-opacity":k.opacity>1?k.opacity/100:k.opacity});a=="stroke"&&r._.arrows&&("startString"in r._.arrows&&o(r,r._.arrows.startString),"endString"in r._.arrows&&o(r,r._.arrows.endString,1));break;case"gradient":(r.type=="circle"||r.type=="ellipse"||u(e).charAt()!="r")&&rt(r,e);break;case"opacity":c.gradient&&!c[i]("stroke-opacity")&&t(s,{"stroke-opacity":e>1?e/100:e});case"fill-opacity":if(c.gradient){nt=n._g.doc.getElementById(s.getAttribute("fill").replace(/^url\(#|\)$/g,h));nt&&(it=nt.getElementsByTagName("stop"),t(it[it.length-1],{"stop-opacity":e}));break}default:a=="font-size"&&(e=tt(e,10)+"px");lt=a.replace(/(\-.)/g,function(n){return n.substring(1).toUpperCase()});s.style[lt]=e;r._.dirty=1;s.setAttribute(a,e)}}ht(r,f);s.style.visibility=at},ft=1.2,ht=function(r,f){var y,s,l,e,a,p,v;if(r.type=="text"&&(f[i]("text")||f[i]("font")||f[i]("font-size")||f[i]("x")||f[i]("y"))){var c=r.attrs,o=r.node,w=o.firstChild?tt(n._g.doc.defaultView.getComputedStyle(o.firstChild,h).getPropertyValue("font-size"),10):10;if(f[i]("text")){for(c.text=f.text;o.firstChild;)o.removeChild(o.firstChild);for(y=u(f.text).split("\n"),s=[],e=0,a=y.length;e<a;e++)l=t("tspan"),e&&t(l,{dy:w*ft,x:c.x}),l.appendChild(n._g.doc.createTextNode(y[e])),o.appendChild(l),s[e]=l}else for(s=o.getElementsByTagName("tspan"),e=0,a=s.length;e<a;e++)e?t(s[e],{dy:w*ft,x:c.x}):t(s[0],{dy:0});t(o,{x:c.x,y:c.y});r._.dirty=1;p=r._getBBox();v=c.y-(p.y+p.height/2);v&&n.is(v,"finite")&&t(s[0],{dy:v})}},s=function(t,i){this[0]=this.node=t;t.raphael=!0;this.id=n._oid++;t.raphaelid=this.id;this.matrix=n.matrix();this.realPath=null;this.paper=i;this.attrs=this.attrs||{};this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1};i.bottom||(i.bottom=this);this.prev=i.top;i.top&&(i.top.next=this);i.top=this;this.next=null},r=n.el;s.prototype=r;r.constructor=s;n._engine.path=function(n,i){var u=t("path"),r;return i.canvas&&i.canvas.appendChild(u),r=new s(u,i),r.type="path",g(r,{fill:"none",stroke:"#000",path:n}),r};r.rotate=function(n,t,i){if(this.removed)return this;if(n=u(n).split(l),n.length-1&&(t=f(n[1]),i=f(n[2])),n=f(n[0]),i==null&&(t=i),t==null||i==null){var r=this.getBBox(1);t=r.x+r.width/2;i=r.y+r.height/2}return this.transform(this._.transform.concat([["r",n,t,i]])),this};r.scale=function(n,t,i,r){if(this.removed)return this;if(n=u(n).split(l),n.length-1&&(t=f(n[1]),i=f(n[2]),r=f(n[3])),n=f(n[0]),t==null&&(t=n),r==null&&(i=r),i==null||r==null)var e=this.getBBox(1);return i=i==null?e.x+e.width/2:i,r=r==null?e.y+e.height/2:r,this.transform(this._.transform.concat([["s",n,t,i,r]])),this};r.translate=function(n,t){return this.removed?this:(n=u(n).split(l),n.length-1&&(t=f(n[1])),n=f(n[0])||0,t=+t||0,this.transform(this._.transform.concat([["t",n,t]])),this)};r.transform=function(r){var u=this._,f;return r==null?u.transform:(n._extractTransform(this,r),this.clip&&t(this.clip,{transform:this.matrix.invert()}),this.pattern&&w(this),this.node&&t(this.node,{transform:this.matrix}),(u.sx!=1||u.sy!=1)&&(f=this.attrs[i]("stroke-width")?this.attrs["stroke-width"]:1,this.attr({"stroke-width":f})),this)};r.hide=function(){return this.removed||this.paper.safari(this.node.style.display="none"),this};r.show=function(){return this.removed||this.paper.safari(this.node.style.display=""),this};r.remove=function(){if(!this.removed){d.unbind("*.*."+this.id);n._tear(this,this.paper);this.node.parentNode.removeChild(this.node);for(var t in this)delete this[t];this.removed=!0}};r._getBBox=function(){var t,n;this.node.style.display=="none"&&(this.show(),t=!0);n={};try{n=this.node.getBBox()}catch(i){}finally{n=n||{}}return t&&this.hide(),n};r.attr=function(t,r){var u,c,a,s,f,h,e,o,v,y;if(this.removed)return this;if(t==null){u={};for(c in this.attrs)this.attrs[i](c)&&(u[c]=this.attrs[c]);return u.gradient&&u.fill=="none"&&(u.fill=u.gradient)&&delete u.gradient,u.transform=this._.transform,u}if(r==null&&n.is(t,"string")){if(t=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(t=="transform")return this._.transform;for(a=t.split(l),s={},f=0,h=a.length;f<h;f++)t=a[f],s[t]=t in this.attrs?this.attrs[t]:n.is(this.paper.customAttributes[t],"function")?this.paper.customAttributes[t].def:n._availableAttrs[t];return h-1?s:s[a[0]]}if(r==null&&n.is(t,"array")){for(s={},f=0,h=t.length;f<h;f++)s[t[f]]=this.attr(t[f]);return s}r!=null?(e={},e[t]=r):t!=null&&n.is(t,"object")&&(e=t);for(o in this.paper.customAttributes)if(this.paper.customAttributes[i](o)&&e[i](o)&&n.is(this.paper.customAttributes[o],"function")){v=this.paper.customAttributes[o].apply(this,[].concat(e[o]));this.attrs[o]=e[o];for(y in v)v[i](y)&&(e[y]=v[y])}return g(this,e),this};r.toFront=function(){if(this.removed)return this;this.node.parentNode.appendChild(this.node);var t=this.paper;return t.top!=this&&n._tofront(this,t),this};r.toBack=function(){if(this.removed)return this;if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);n._toback(this,this.paper);var t=this.paper}return this};r.insertAfter=function(t){if(this.removed)return this;var i=t.node||t[t.length-1].node;return i.nextSibling?i.parentNode.insertBefore(this.node,i.nextSibling):i.parentNode.appendChild(this.node),n._insertafter(this,t,this.paper),this};r.insertBefore=function(t){if(this.removed)return this;var i=t.node||t[0].node;return i.parentNode.insertBefore(this.node,i),n._insertbefore(this,t,this.paper),this};r.blur=function(i){var r=this,u,f;+i!=0?(u=t("filter"),f=t("feGaussianBlur"),r.attrs.blur=i,u.id=n.createUUID(),t(f,{stdDeviation:+i||1.5}),u.appendChild(f),r.paper.defs.appendChild(u),r._blur=u,t(r.node,{filter:"url(#"+u.id+")"})):(r._blur&&(r._blur.parentNode.removeChild(r._blur),delete r._blur,delete r.attrs.blur),r.node.removeAttribute("filter"))};n._engine.circle=function(n,i,r,u){var e=t("circle"),f;return n.canvas&&n.canvas.appendChild(e),f=new s(e,n),f.attrs={cx:i,cy:r,r:u,fill:"none",stroke:"#000"},f.type="circle",t(e,f.attrs),f};n._engine.rect=function(n,i,r,u,f,e){var h=t("rect"),o;return n.canvas&&n.canvas.appendChild(h),o=new s(h,n),o.attrs={x:i,y:r,width:u,height:f,r:e||0,rx:e||0,ry:e||0,fill:"none",stroke:"#000"},o.type="rect",t(h,o.attrs),o};n._engine.ellipse=function(n,i,r,u,f){var o=t("ellipse"),e;return n.canvas&&n.canvas.appendChild(o),e=new s(o,n),e.attrs={cx:i,cy:r,rx:u,ry:f,fill:"none",stroke:"#000"},e.type="ellipse",t(o,e.attrs),e};n._engine.image=function(n,i,r,u,f,e){var o=t("image"),h;return t(o,{x:r,y:u,width:f,height:e,preserveAspectRatio:"none"}),o.setAttributeNS(v,"href",i),n.canvas&&n.canvas.appendChild(o),h=new s(o,n),h.attrs={x:r,y:u,width:f,height:e,src:i},h.type="image",h};n._engine.text=function(i,r,u,f){var o=t("text"),e;return i.canvas&&i.canvas.appendChild(o),e=new s(o,i),e.attrs={x:r,y:u,"text-anchor":"middle",text:f,font:n._availableAttrs.font,stroke:"none",fill:"#000"},e.type="text",g(e,e.attrs),e};n._engine.setSize=function(n,t){return this.width=n||this.width,this.height=t||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this};n._engine.create=function(){var u=n._getContainer.apply(0,arguments),i=u&&u.container,o=u.x,s=u.y,f=u.width,e=u.height,r,h,c;if(!i)throw new Error("SVG container not found.");return r=t("svg"),h="overflow:hidden;",o=o||0,s=s||0,f=f||512,e=e||342,t(r,{height:e,version:1.1,width:f,xmlns:"http://www.w3.org/2000/svg"}),i==1?(r.style.cssText=h+"position:absolute;left:"+o+"px;top:"+s+"px",n._g.doc.body.appendChild(r),c=1):(r.style.cssText=h+"position:relative",i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r)),i=new n._Paper,i.width=f,i.height=e,i.canvas=r,i.clear(),i._left=i._top=0,c&&(i.renderfix=function(){}),i.renderfix(),i};n._engine.setViewBox=function(n,i,r,u,f){d("setViewBox",this,this._viewBox,[n,i,r,u,f]);var o=b(r/this.width,u/this.height),e=this.top,c=f?"meet":"xMinYMin",s,h;for(n==null?(this._vbSize&&(o=1),delete this._vbSize,s="0 0 "+this.width+a+this.height):(this._vbSize=o,s=n+a+i+a+r+a+u),t(this.canvas,{viewBox:s,preserveAspectRatio:c});o&&e;)h="stroke-width"in e.attrs?e.attrs["stroke-width"]:1,e.attr({"stroke-width":h}),e._.dirty=1,e._.dirtyT=1,e=e.prev;return this._viewBox=[n,i,r,u,!!f],this};n.prototype.renderfix=function(){var n=this.canvas,r=n.style,u=n.getScreenCTM()||n.createSVGMatrix(),t=-u.e%1,i=-u.f%1;(t||i)&&(t&&(this._left=(this._left+t)%1,r.left=this._left+"px"),i&&(this._top=(this._top+i)%1,r.top=this._top+"px"))};n.prototype.clear=function(){n.eve("clear",this);for(var i=this.canvas;i.firstChild;)i.removeChild(i.firstChild);this.bottom=this.top=null;(this.desc=t("desc")).appendChild(n._g.doc.createTextNode("Created with Raphaël "+n.version));i.appendChild(this.desc);i.appendChild(this.defs=t("defs"))};n.prototype.remove=function(){d("remove",this);this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var n in this)this[n]=removed(n)};nt=n.st;for(y in r)r[i](y)&&!nt[i](y)&&(nt[y]=function(n){return function(){var t=arguments;return this.forEach(function(i){i[n].apply(i,t)})}}(y))}(window.Raphael);window.Raphael.vml&&function(n){var h="hasOwnProperty",i=String,f=parseFloat,c=Math,e=c.round,p=c.max,w=c.min,v=c.abs,l="fill",a=/[, ]+/,ot=n.eve,g=" progid:DXImageTransform.Microsoft",o=" ",r="",b={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},nt=/([clmz]),?([^clmz]*)/gi,tt=/ progid:\S+Blur\([^\)]+\)/g,it=/-?[^,\s-]+/g,rt="position:absolute;left:0;top:0;width:1px;height:1px",t=21600,ut={path:1,rect:1,image:1},ft={circle:1,ellipse:1},et=function(u){var l=/[ahqstv]/ig,a=n._pathToAbsolute,v,c,y,f,s,w,h,p;if(i(u).match(l)&&(a=n._path2curve),l=/[clmz]/g,a==n._pathToAbsolute&&!i(u).match(l))return i(u).replace(nt,function(n,i,r){var u=[],o=i.toLowerCase()=="m",f=b[i];return r.replace(it,function(n){o&&u.length==2&&(f+=u+b[i=="m"?"l":"L"],u=[]);u.push(e(n*t))}),f+u});for(c=a(u),v=[],s=0,w=c.length;s<w;s++){for(y=c[s],f=c[s][0].toLowerCase(),f=="z"&&(f="x"),h=1,p=y.length;h<p;h++)f+=e(y[h]*t)+(h!=p-1?",":r);v.push(f)}return v.join(o)},k=function(t,i,r){var u=n.matrix();return u.rotate(-t,.5,.5),{dx:u.x(i,r),dy:u.y(i,r)}},y=function(n,i,r,u,f,e){var y=n._,d=n.matrix,h=y.fillpos,c=n.node,p=c.style,w=1,b="",g=t/i,nt=t/r,a,s;(p.visibility="hidden",i&&r)&&(c.coordsize=v(g)+o+v(nt),p.rotation=e*(i*r<0?-1:1),e&&(a=k(e,u,f),u=a.dx,f=a.dy),i<0&&(b+="x"),r<0&&(b+=" y")&&(w=-1),p.flip=b,c.coordorigin=u*-g+o+f*-nt,(h||y.fillsize)&&(s=c.getElementsByTagName(l),s=s&&s[0],c.removeChild(s),h&&(a=k(e,d.x(h[0],h[1]),d.y(h[0],h[1])),s.position=a.dx*w+o+a.dy*w),y.fillsize&&(s.size=y.fillsize[0]*v(i)+o+y.fillsize[1]*v(r)),c.appendChild(s)),p.visibility="visible")},u,s,d;n.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};addArrow=function(n,t,r){for(var u=i(t).toLowerCase().split("-"),o=r?"end":"start",f=u.length,s="classic",h="medium",c="medium",e;f--;)switch(u[f]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=u[f];break;case"wide":case"narrow":c=u[f];break;case"long":case"short":h=u[f]}e=n.node.getElementsByTagName("stroke")[0];e[o+"arrow"]=s;e[o+"arrowlength"]=h;e[o+"arrowwidth"]=c};setFillAndStroke=function(u,c){var at,nt,ht,rt,ot,b,ei,vt,ct,tt,g,bt,kt,st,dt,lt,ti,pt,oi;u.attrs=u.attrs||{};var d=u.node,v=u.attrs,it=d.style,ii=ut[u.type]&&(c.x!=v.x||c.y!=v.y||c.width!=v.width||c.height!=v.height||c.cx!=v.cx||c.cy!=v.cy||c.rx!=v.rx||c.ry!=v.ry||c.r!=v.r),si=ft[u.type]&&(v.cx!=c.cx||v.cy!=c.cy||v.r!=c.r||v.rx!=c.rx||v.ry!=c.ry),k=u;for(at in c)c[h](at)&&(v[at]=c[at]);if(ii&&(v.path=n._getPath[u.type](u),u._.dirty=1),c.href&&(d.href=c.href),c.title&&(d.title=c.title),c.target&&(d.target=c.target),c.cursor&&(it.cursor=c.cursor),"blur"in c&&u.blur(c.blur),(c.path&&u.type=="path"||ii)&&(d.path=et(~i(v.path).toLowerCase().indexOf("r")?n._pathToAbsolute(v.path):v.path),u.type=="image"&&(u._.fillpos=[v.x,v.y],u._.fillsize=[v.width,v.height],y(u,1,1,0,0,0))),"transform"in c&&u.transform(c.transform),si){var wt=+v.cx,ri=+v.cy,ui=+v.rx||+v.r||0,fi=+v.ry||+v.r||0;d.path=n.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",e((wt-ui)*t),e((ri-fi)*t),e((wt+ui)*t),e((ri+fi)*t),e(wt*t))}if("clip-rect"in c&&(nt=i(c["clip-rect"]).split(a),nt.length==4&&(nt[2]=+nt[2]+ +nt[0],nt[3]=+nt[3]+ +nt[1],ht=d.clipRect||n._g.doc.createElement("div"),rt=ht.style,rt.clip=n.format("rect({1}px {2}px {3}px {0}px)",nt),d.clipRect||(rt.position="absolute",rt.top=0,rt.left=0,rt.width=u.paper.width+"px",rt.height=u.paper.height+"px",d.parentNode.insertBefore(ht,d),ht.appendChild(d),d.clipRect=ht)),c["clip-rect"]||d.clipRect&&(d.clipRect.style.clip=r)),u.textpath&&(ot=u.textpath.style,c.font&&(ot.font=c.font),c["font-family"]&&(ot.fontFamily='"'+c["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,r)+'"'),c["font-size"]&&(ot.fontSize=c["font-size"]),c["font-weight"]&&(ot.fontWeight=c["font-weight"]),c["font-style"]&&(ot.fontStyle=c["font-style"])),"arrow-start"in c&&addArrow(k,c["arrow-start"]),"arrow-end"in c&&addArrow(k,c["arrow-end"],1),(c.opacity!=null||c["stroke-width"]!=null||c.fill!=null||c.src!=null||c.stroke!=null||c["stroke-width"]!=null||c["stroke-opacity"]!=null||c["fill-opacity"]!=null||c["stroke-dasharray"]!=null||c["stroke-miterlimit"]!=null||c["stroke-linejoin"]!=null||c["stroke-linecap"]!=null)&&(b=d.getElementsByTagName(l),ei=!1,b=b&&b[0],b||(ei=b=s(l)),u.type=="image"&&c.src&&(b.src=c.src),c.fill&&(b.on=!0),(b.on==null||c.fill=="none"||c.fill===null)&&(b.on=!1),b.on&&c.fill&&(vt=i(c.fill).match(n._ISURL),vt?(b.parentNode==d&&d.removeChild(b),b.rotate=!0,b.src=vt[1],b.type="tile",ct=u.getBBox(1),b.position=ct.x+o+ct.y,u._.fillpos=[ct.x,ct.y],n._preload(vt[1],function(){u._.fillsize=[this.offsetWidth,this.offsetHeight]})):(b.color=n.getRGB(c.fill).hex,b.src=r,b.type="solid",n.getRGB(c.fill).error&&(k.type in{circle:1,ellipse:1}||i(c.fill).charAt()!="r")&&addGradientFill(k,c.fill,b)&&(v.fill="none",v.gradient=c.fill,b.rotate=!1))),("fill-opacity"in c||"opacity"in c)&&(tt=((+v["fill-opacity"]+1||2)-1)*((+v.opacity+1||2)-1)*((+n.getRGB(c.fill).o+1||2)-1),tt=w(p(tt,0),1),b.opacity=tt,b.src&&(b.color="none")),d.appendChild(b),g=d.getElementsByTagName("stroke")&&d.getElementsByTagName("stroke")[0],bt=!1,g||(bt=g=s("stroke")),(c.stroke&&c.stroke!="none"||c["stroke-width"]||c["stroke-opacity"]!=null||c["stroke-dasharray"]||c["stroke-miterlimit"]||c["stroke-linejoin"]||c["stroke-linecap"])&&(g.on=!0),(c.stroke=="none"||c.stroke===null||g.on==null||c.stroke==0||c["stroke-width"]==0)&&(g.on=!1),kt=n.getRGB(c.stroke),g.on&&c.stroke&&(g.color=kt.hex),tt=((+v["stroke-opacity"]+1||2)-1)*((+v.opacity+1||2)-1)*((+kt.o+1||2)-1),st=(f(c["stroke-width"])||1)*.75,tt=w(p(tt,0),1),c["stroke-width"]==null&&(st=v["stroke-width"]),c["stroke-width"]&&(g.weight=st),st&&st<1&&(tt*=st)&&(g.weight=1),g.opacity=tt,c["stroke-linejoin"]&&(g.joinstyle=c["stroke-linejoin"]||"miter"),g.miterlimit=c["stroke-miterlimit"]||8,c["stroke-linecap"]&&(g.endcap=c["stroke-linecap"]=="butt"?"flat":c["stroke-linecap"]=="square"?"square":"round"),c["stroke-dasharray"]&&(dt={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"},g.dashstyle=dt[h](c["stroke-dasharray"])?dt[c["stroke-dasharray"]]:r),bt&&d.appendChild(g)),k.type=="text"){k.paper.canvas.style.display=r;var gt=k.paper.span,ni=100,yt=v.font&&v.font.match(/\d+(?:\.\d*)?(?=px)/);for(it=gt.style,v.font&&(it.font=v.font),v["font-family"]&&(it.fontFamily=v["font-family"]),v["font-weight"]&&(it.fontWeight=v["font-weight"]),v["font-style"]&&(it.fontStyle=v["font-style"]),yt=f(yt?yt[0]:v["font-size"]),it.fontSize=yt*ni+"px",k.textpath.string&&(gt.innerHTML=i(k.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>")),lt=gt.getBoundingClientRect(),k.W=v.w=(lt.right-lt.left)/ni,k.H=v.h=(lt.bottom-lt.top)/ni,k.X=v.x,k.Y=v.y+k.H/2,(("x"in c)||("y"in c))&&(k.path.v=n.format("m{0},{1}l{2},{1}",e(v.x*t),e(v.y*t),e(v.x*t)+1)),ti=["x","y","text","font","font-family","font-weight","font-style","font-size"],pt=0,oi=ti.length;pt<oi;pt++)if(ti[pt]in c){k._.dirty=1;break}switch(v["text-anchor"]){case"start":k.textpath.style["v-text-align"]="left";k.bbx=k.W/2;break;case"end":k.textpath.style["v-text-align"]="right";k.bbx=-k.W/2;break;default:k.textpath.style["v-text-align"]="center";k.bbx=0}k.textpath.style["v-text-kern"]=!0}};addGradientFill=function(t,u,e){var l,s,a,h,p;t.attrs=t.attrs||{};var w=t.attrs,v="linear",y=".5 .5";if((t.attrs.gradient=u,u=i(u).replace(n._radial_gradient,function(n,t,i){return v="radial",t&&i&&(t=f(t),i=f(i),pow(t-.5,2)+pow(i-.5,2)>.25&&(i=c.sqrt(.25-pow(t-.5,2))*((i>.5)*2-1)+.5),y=t+o+i),r}),u=u.split(/\s*\-\s*/),v=="linear"&&(l=u.shift(),l=-f(l),isNaN(l)))||(s=n._parseDots(u),!s))return null;if(t=t.shape||t.node,s.length){for(t.removeChild(e),e.on=!0,e.method="none",e.color=s[0].color,e.color2=s[s.length-1].color,a=[],h=0,p=s.length;h<p;h++)s[h].offset&&a.push(s[h].offset+o+s[h].color);e.colors=a.length?a.join():"0% "+e.color;v=="radial"?(e.type="gradientTitle",e.focus="100%",e.focussize="0 0",e.focusposition=y,e.angle=0):(e.type="gradient",e.angle=(270-l)%360);t.appendChild(e)}return 1};Element=function(t,i){this[0]=this.node=t;t.raphael=!0;this.id=n._oid++;t.raphaelid=this.id;this.X=0;this.Y=0;this.attrs={};this.paper=i;this.matrix=n.matrix();this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1};i.bottom||(i.bottom=this);this.prev=i.top;i.top&&(i.top.next=this);i.top=this;this.next=null};u=n.el;Element.prototype=u;u.constructor=Element;u.transform=function(u){var e,a,l;if(u==null)return this._.transform;e=this.paper._viewBoxShift;a=e?"s"+[e.scale,e.scale]+"-1-1t"+[e.dx,e.dy]:r;e&&(l=u=i(u).replace(/\.{3}|\u2026/g,this._.transform||r));n._extractTransform(this,a+u);var s=this.matrix.clone(),h=this.skew,c=this.node,f,v=~i(this.attrs.fill).indexOf("-"),d=!i(this.attrs.fill).indexOf("url(");if(s.translate(-.5,-.5),d||v||this.type=="image")if(h.matrix="1 0 0 1",h.offset="0 0",f=s.split(),v&&f.noRotation||!f.isSimple){c.style.filter=s.toFilter();var p=this.getBBox(),w=this.getBBox(1),b=p.x-w.x,k=p.y-w.y;c.coordorigin=b*-t+o+k*-t;y(this,1,1,b,k,0)}else c.style.filter=r,y(this,f.scalex,f.scaley,f.dx,f.dy,f.rotate);else c.style.filter=r,h.matrix=i(s),h.offset=s.offset();return l&&(this._.transform=l),this};u.rotate=function(n,t,r){if(this.removed)return this;if(n!=null){if(n=i(n).split(a),n.length-1&&(t=f(n[1]),r=f(n[2])),n=f(n[0]),r==null&&(t=r),t==null||r==null){var u=this.getBBox(1);t=u.x+u.width/2;r=u.y+u.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",n,t,r]])),this}};u.translate=function(n,t){return this.removed?this:(n=i(n).split(a),n.length-1&&(t=f(n[1])),n=f(n[0])||0,t=+t||0,this._.bbox&&(this._.bbox.x+=n,this._.bbox.y+=t),this.transform(this._.transform.concat([["t",n,t]])),this)};u.scale=function(n,t,r,u){if(this.removed)return this;if(n=i(n).split(a),n.length-1&&(t=f(n[1]),r=f(n[2]),u=f(n[3]),isNaN(r)&&(r=null),isNaN(u)&&(u=null)),n=f(n[0]),t==null&&(t=n),u==null&&(r=u),r==null||u==null)var e=this.getBBox(1);return r=r==null?e.x+e.width/2:r,u=u==null?e.y+e.height/2:u,this.transform(this._.transform.concat([["s",n,t,r,u]])),this._.dirtyT=1,this};u.hide=function(){return this.removed||(this.node.style.display="none"),this};u.show=function(){return this.removed||(this.node.style.display=r),this};u._getBBox=function(){return this.removed?{}:this.type=="text"?{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}:pathDimensions(this.attrs.path)};u.remove=function(){if(!this.removed){n.eve.unbind("*.*."+this.id);n._tear(this,this.paper);this.node.parentNode.removeChild(this.node);this.shape&&this.shape.parentNode.removeChild(this.shape);for(var t in this)delete this[t];this.removed=!0}};u.attr=function(t,i){var f,c,v,o,e,s,r,u,y,p;if(this.removed)return this;if(t==null){f={};for(c in this.attrs)this.attrs[h](c)&&(f[c]=this.attrs[c]);return f.gradient&&f.fill=="none"&&(f.fill=f.gradient)&&delete f.gradient,f.transform=this._.transform,f}if(i==null&&n.is(t,"string")){if(t==l&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;for(v=t.split(a),o={},e=0,s=v.length;e<s;e++)t=v[e],o[t]=t in this.attrs?this.attrs[t]:n.is(this.paper.customAttributes[t],"function")?this.paper.customAttributes[t].def:n._availableAttrs[t];return s-1?o:o[v[0]]}if(this.attrs&&i==null&&n.is(t,"array")){for(o={},e=0,s=t.length;e<s;e++)o[t[e]]=this.attr(t[e]);return o}i!=null&&(r={},r[t]=i);i==null&&n.is(t,"object")&&(r=t);for(u in r)n.eve("attr."+u+"."+this.id,this,r[u]);if(r){for(u in this.paper.customAttributes)if(this.paper.customAttributes[h](u)&&r[h](u)&&n.is(this.paper.customAttributes[u],"function")){y=this.paper.customAttributes[u].apply(this,[][concat](r[u]));this.attrs[u]=r[u];for(p in y)y[h](p)&&(r[p]=y[p])}r.text&&this.type=="text"&&(this.textpath.string=r.text);setFillAndStroke(this,r)}return this};u.toFront=function(){return this.removed||this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&n._tofront(this,this.paper),this};u.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),n._toback(this,this.paper)),this)};u.insertAfter=function(t){return this.removed?this:(t.constructor==n.st.constructor&&(t=t[t.length-1]),t.node.nextSibling?t.node.parentNode.insertBefore(this.node,t.node.nextSibling):t.node.parentNode.appendChild(this.node),n._insertafter(this,t,this.paper),this)};u.insertBefore=function(t){return this.removed?this:(t.constructor==n.st.constructor&&(t=t[0]),t.node.parentNode.insertBefore(this.node,t.node),n._insertbefore(this,t,this.paper),this)};u.blur=function(t){var i=this.node.runtimeStyle,u=i.filter;u=u.replace(tt,r);+t!=0?(this.attrs.blur=t,i.filter=u+o+g+".Blur(pixelradius="+(+t||1.5)+")",i.margin=n.format("-{0}px 0 0 -{0}px",e(+t||1.5))):(i.filter=u,i.margin=0,delete this.attrs.blur)};n._engine.path=function(n,i){var f=s("shape"),u,h,e;return f.style.cssText=rt,f.coordsize=t+o+t,f.coordorigin=i.coordorigin,u=new Element(f,i),h={fill:"none",stroke:"#000"},n&&(h.path=n),u.type="path",u.path=[],u.Path=r,setFillAndStroke(u,h),i.canvas.appendChild(f),e=s("skew"),e.on=!0,f.appendChild(e),u.skew=e,u.transform(r),u};n._engine.rect=function(t,i,r,u,f,e){var h=n._rectPath(i,r,u,f,e),o=t.path(h),s=o.attrs;return o.X=s.x=i,o.Y=s.y=r,o.W=s.width=u,o.H=s.height=f,s.r=e,s.path=h,o.type="rect",o};n._engine.ellipse=function(n,t,i,r,u){var f=n.path(),e=f.attrs;return f.X=t-r,f.Y=i-u,f.W=r*2,f.H=u*2,f.type="ellipse",setFillAndStroke(f,{cx:t,cy:i,rx:r,ry:u}),f};n._engine.circle=function(n,t,i,r){var u=n.path(),f=u.attrs;return u.X=t-r,u.Y=i-r,u.W=u.H=r*2,u.type="circle",setFillAndStroke(u,{cx:t,cy:i,r:r}),u};n._engine.image=function(t,i,r,u,f,e){var a=n._rectPath(r,u,f,e),o=t.path(a).attr({stroke:"none"}),s=o.attrs,c=o.node,h=c.getElementsByTagName(l)[0];return s.src=i,o.X=s.x=r,o.Y=s.y=u,o.W=s.width=f,o.H=s.height=e,s.path=a,o.type="image",h.parentNode==c&&c.removeChild(h),h.rotate=!0,h.src=i,h.type="tile",o._.fillpos=[r,u],o._.fillsize=[f,e],c.appendChild(h),y(o,1,1,0,0,0),o};n._engine.text=function(u,f,h,c){var a=s("shape"),v=s("path"),y=s("textpath"),l,w,p;return f=f||0,h=h||0,c=c||"",v.v=n.format("m{0},{1}l{2},{1}",e(f*t),e(h*t),e(f*t)+1),v.textpathok=!0,y.string=i(c),y.on=!0,a.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px",a.coordsize=t+o+t,a.coordorigin="0 0",l=new Element(a,u),w={fill:"#000",stroke:"none",font:n._availableAttrs.font,text:c},l.shape=a,l.path=v,l.textpath=y,l.type="text",l.attrs.text=i(c),l.attrs.x=f,l.attrs.y=h,l.attrs.w=1,l.attrs.h=1,setFillAndStroke(l,w),a.appendChild(y),a.appendChild(v),u.canvas.appendChild(a),p=s("skew"),p.on=!0,a.appendChild(p),l.skew=p,l.transform(r),l};n._engine.setSize=function(n,t){var i=this.canvas.style;return this.width=n,this.height=t,n==+n&&(n+="px"),t==+t&&(t+="px"),i.width=n,i.height=t,i.clip="rect(0 "+n+" "+t+" 0)",this._viewBox&&setViewBox.apply(this,this._viewBox),this};n._engine.setViewBox=function(t,i,r,u,f){n.eve("setViewBox",this,this._viewBox,[t,i,r,u,f]);var e=this.width,o=this.height,c=1/p(r/e,u/o),s,h;return f&&(s=o/u,h=e/r,r*s<e&&(t-=(e-r*s)/2/s),u*h<o&&(i-=(o-u*h)/2/h)),this._viewBox=[t,i,r,u,!!f],this._viewBoxShift={dx:-t,dy:-i,scale:c},this.forEach(function(n){n.transform("...")}),this};d=function(n){var t=n.document;t.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{t.namespaces.rvml||t.namespaces.add("rvml","urn:schemas-microsoft-com:vml");s=function(n){return t.createElement("<rvml:"+n+' class="rvml">')}}catch(i){s=function(n){return t.createElement("<"+n+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}};d(n._g.win);n._engine.create=function(){var e=n._getContainer.apply(0,arguments),f=e.container,r=e.height,u=e.width,c=e.x,l=e.y;if(!f)throw new Error("VML container not found.");var i=new n._Paper,s=i.canvas=n._g.doc.createElement("div"),h=s.style;return c=c||0,l=l||0,u=u||512,r=r||342,i.width=u,i.height=r,u==+u&&(u+="px"),r==+r&&(r+="px"),i.coordsize=t*1e3+o+t*1e3,i.coordorigin="0 0",i.span=n._g.doc.createElement("span"),i.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",s.appendChild(i.span),h.cssText=n.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",u,r),f==1?(n._g.doc.body.appendChild(s),h.left=c+"px",h.top=l+"px",h.position="absolute"):f.firstChild?f.insertBefore(s,f.firstChild):f.appendChild(s),i.renderfix=function(){},i};n.prototype.clear=function(){n.eve("clear",this);this.canvas.innerHTML=r;this.span=n._g.doc.createElement("span");this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";this.canvas.appendChild(this.span);this.bottom=this.top=null};n.prototype.remove=function(){n.eve("remove",this);this.canvas.parentNode.removeChild(this.canvas);for(var t in this)this[t]=removed(t);return!0}}(window.Raphael),function(n,t,i,r){function o(n,t,i,r){var f,u,e;for(r=r instanceof Array?r:[],f={},u=0;u<r.length;u++)f[r[u]]=!0;e=function(n){this.element=n};e.prototype=i;n.fn[t]=function(){var i=arguments,r=this;return this.each(function(){var o=n(this),u=o.data("plugin-"+t),s,h;u?typeof i[0]=="string"&&i[0].charAt(0)!="_"&&typeof u[i[0]]=="function"&&(s=Array.prototype.slice.call(i,1),h=u[i[0]].apply(u,s),i[0]in f&&(r=h)):(u=new e(o),o.data("plugin-"+t,u),u._init&&u._init.apply(u,i))}),r}}var f=930,u=630,e=70,s={stateStyles:{fill:"#333",stroke:"#666","stroke-width":1,"stroke-linejoin":"round",scale:[1,1]},stateHoverStyles:{fill:"#33c",stroke:"#000",scale:[1.1,1.1]},stateHoverAnimation:500,stateSpecificStyles:{},stateSpecificHoverStyles:{},click:null,mouseover:null,mouseout:null,clickState:{},mouseoverState:{},mouseoutState:{},showLabels:!0,labelWidth:20,labelHeight:15,labelGap:6,labelRadius:3,labelBackingStyles:{fill:"#333",stroke:"#666","stroke-width":1,"stroke-linejoin":"round",scale:[1,1]},labelBackingHoverStyles:{fill:"#33c",stroke:"#000"},stateSpecificLabelBackingStyles:{},stateSpecificLabelBackingHoverStyles:{},labelTextStyles:{fill:"#fff",stroke:"none","font-weight":300,"stroke-width":0,"font-size":"10px"},labelTextHoverStyles:{},stateSpecificLabelTextStyles:{},stateSpecificLabelTextHoverStyles:{}},h={_init:function(t){var i;this.options={};n.extend(this.options,s,t);var o=this.element.width(),h=this.element.height(),c=this.element.width()/f,l=this.element.height()/u;this.scale=Math.min(c,l);this.labelAreaWidth=Math.ceil(e/this.scale);i=f+Math.max(0,this.labelAreaWidth-e);this.paper=r(this.element.get(0),i,u);this.paper.setSize(o,h);this.paper.setViewBox(0,0,i,u,!1);this.stateHitAreas={};this.stateShapes={};this.topShape=null;this._initCreateStates();this.labelShapes={};this.labelTexts={};this.labelHitAreas={};this.options.showLabels&&this._initCreateLabels()},_initCreateStates:function(){var u=this.options.stateStyles,f=this.paper,r={HI:"M 233.08751,519.30948 L 235.02744,515.75293 L 237.2907,515.42961 L 237.61402,516.23791 L 235.51242,519.30948 z M 243.27217,515.59127 L 249.4153,518.17784 L 251.51689,517.85452 L 253.1335,513.97465 L 252.48686,510.57977 L 248.28366,510.09479 L 244.24213,511.87306 z M 273.9878,525.61427 L 277.706,531.11074 L 280.13092,530.78742 L 281.26255,530.30244 L 282.7175,531.59573 L 286.43571,531.43407 L 287.40568,529.97912 L 284.49577,528.20085 L 282.55584,524.48263 L 280.45424,520.92609 L 274.63444,523.83599 z M 294.19545,534.50564 L 295.48874,532.5657 L 300.17691,533.53566 L 300.82356,533.05068 L 306.96668,533.69732 L 306.64336,534.99062 L 304.05678,536.44556 L 299.69193,536.12224 z M 299.53027,539.67879 L 301.47021,543.55866 L 304.54176,542.42703 L 304.86509,540.81041 L 303.24848,538.70882 L 299.53027,538.3855 z M 306.4817,538.54716 L 308.74496,535.63726 L 313.43313,538.06218 L 317.79798,539.19381 L 322.16284,541.94205 L 322.16284,543.88198 L 318.6063,545.66026 L 313.75645,546.63022 L 311.33154,545.17527 z M 323.13281,554.06663 L 324.74942,552.77335 L 328.14431,554.38997 L 335.74238,557.94651 L 339.13727,560.0481 L 340.75387,562.47302 L 342.69381,566.83787 L 346.73534,569.42445 L 346.41202,570.71775 L 342.53215,573.95097 L 338.32896,575.40592 L 336.87401,574.75928 L 333.80244,576.53754 L 331.37753,579.77077 L 329.11427,582.68067 L 327.33599,582.51901 L 323.77945,579.93243 L 323.45613,575.40592 L 324.10277,572.981 L 322.48616,567.32286 L 320.38456,565.54458 L 320.2229,562.958 L 322.48616,561.98804 L 324.58776,558.91648 L 325.07274,557.94651 L 323.45613,556.16823 z",AK:"M 158.07671,453.67502 L 157.75339,539.03215 L 159.36999,540.00211 L 162.44156,540.16377 L 163.8965,539.03215 L 166.48308,539.03215 L 166.64475,541.94205 L 173.59618,548.73182 L 174.08117,551.3184 L 177.47605,549.37846 L 178.1227,549.2168 L 178.44602,546.14524 L 179.90096,544.52863 L 181.0326,544.36697 L 182.97253,542.91201 L 186.04409,545.01361 L 186.69074,547.92352 L 188.63067,549.05514 L 189.7623,551.48006 L 193.64218,553.25833 L 197.03706,559.2398 L 199.78529,563.11966 L 202.04855,565.86791 L 203.50351,569.58611 L 208.515,571.36439 L 213.68817,573.46598 L 214.65813,577.83084 L 215.14311,580.9024 L 214.17315,584.29729 L 212.39487,586.56054 L 210.77826,585.75224 L 209.32331,582.68067 L 206.57507,581.22573 L 204.7968,580.09409 L 203.98849,580.9024 L 205.44344,583.65065 L 205.6051,587.36885 L 204.47347,587.85383 L 202.53354,585.9139 L 200.43195,584.62061 L 200.91693,586.23722 L 202.21021,588.0155 L 201.40191,588.8238 C 201.40191,588.8238 200.59361,588.50048 200.10863,587.85383 C 199.62363,587.20719 198.00703,584.45895 198.00703,584.45895 L 197.03706,582.19569 C 197.03706,582.19569 196.71374,583.48898 196.06709,583.16565 C 195.42044,582.84233 194.7738,581.71071 194.7738,581.71071 L 196.55207,579.77077 L 195.09712,578.31582 L 195.09712,573.30432 L 194.28882,573.30432 L 193.48052,576.6992 L 192.34888,577.1842 L 191.37892,573.46598 L 190.73227,569.74777 L 189.92396,569.26279 L 190.24729,574.92094 L 190.24729,576.05256 L 188.79233,574.75928 L 185.23579,568.77781 L 183.13419,568.29283 L 182.48755,564.57462 L 180.87094,561.66472 L 179.25432,560.53308 L 179.25432,558.26983 L 181.35592,556.97654 L 180.87094,556.65322 L 178.28436,557.29986 L 174.88947,554.87495 L 172.30289,551.96504 L 167.45306,549.37846 L 163.41152,546.79188 L 164.70482,543.55866 L 164.70482,541.94205 L 162.92654,543.55866 L 160.01664,544.69029 L 156.29843,543.55866 L 150.64028,541.13375 L 145.14381,541.13375 L 144.49717,541.61873 L 138.03072,537.73885 L 135.92912,537.41553 L 133.18088,531.59573 L 129.62433,531.91905 L 126.06778,533.374 L 126.55277,537.90052 L 127.68439,534.99062 L 128.65437,535.31394 L 127.19941,539.67879 L 130.43263,536.93055 L 131.07928,538.54716 L 127.19941,542.91201 L 125.90612,542.58869 L 125.42114,540.64875 L 124.12785,539.84045 L 122.83456,540.97208 L 120.08632,539.19381 L 117.01475,541.29541 L 115.23649,543.397 L 111.8416,545.4986 L 107.15342,545.33693 L 106.66844,543.23534 L 110.38664,542.58869 L 110.38664,541.29541 L 108.12338,540.64875 L 109.09336,538.22384 L 111.35661,534.34397 L 111.35661,532.5657 L 111.51827,531.75739 L 115.88313,529.49413 L 116.85309,530.78742 L 119.60134,530.78742 L 118.30805,528.20085 L 114.58983,527.87752 L 109.57834,530.62576 L 107.15342,534.02064 L 105.37515,536.60723 L 104.24352,538.87049 L 100.04033,540.32543 L 96.96876,542.91201 L 96.645439,544.52863 L 98.908696,545.4986 L 99.717009,547.60018 L 96.96876,550.83341 L 90.502321,555.03661 L 82.742574,559.2398 L 80.640977,560.37142 L 75.306159,561.50306 L 69.971333,563.76631 L 71.749608,565.0596 L 70.294654,566.51455 L 69.809672,567.64618 L 67.061434,566.67621 L 63.828214,566.83787 L 63.019902,569.10113 L 62.049939,569.10113 L 62.37326,566.67621 L 58.816709,567.96951 L 55.90681,568.93947 L 52.511924,567.64618 L 49.602023,569.58611 L 46.368799,569.58611 L 44.267202,570.87941 L 42.65059,571.68771 L 40.548995,571.36439 L 37.962415,570.23276 L 35.699158,570.87941 L 34.729191,571.84937 L 33.112578,570.71775 L 33.112578,568.77781 L 36.184142,567.48452 L 42.488929,568.13117 L 46.853782,566.51455 L 48.955378,564.41296 L 51.86528,563.76631 L 53.643553,562.958 L 56.391794,563.11966 L 58.008406,564.41296 L 58.978369,564.08964 L 61.241626,561.3414 L 64.313196,560.37142 L 67.708076,559.72478 L 69.00137,559.40146 L 69.648012,559.88644 L 70.456324,559.88644 L 71.749608,556.16823 L 75.791141,554.71329 L 77.731077,550.99508 L 79.994336,546.46856 L 81.610951,545.01361 L 81.934272,542.42703 L 80.317657,543.72032 L 76.922764,544.36697 L 76.276122,541.94205 L 74.982838,541.61873 L 74.012865,542.58869 L 73.851205,545.4986 L 72.39625,545.33693 L 70.941306,539.51713 L 69.648012,540.81041 L 68.516388,540.32543 L 68.193068,538.3855 L 64.151535,538.54716 L 62.049939,539.67879 L 59.463361,539.35547 L 60.918305,537.90052 L 61.403286,535.31394 L 60.756645,533.374 L 62.211599,532.40404 L 63.504883,532.24238 L 62.858241,530.4641 L 62.858241,526.09925 L 61.888278,525.12928 L 61.079966,526.58423 L 54.936843,526.58423 L 53.481892,525.29094 L 52.835247,521.41108 L 50.733651,517.85452 L 50.733651,516.88456 L 52.835247,516.07625 L 52.996908,513.97465 L 54.128536,512.84303 L 53.320231,512.35805 L 52.026941,512.84303 L 50.895313,510.09479 L 51.86528,505.08328 L 56.391794,501.85007 L 58.978369,500.23345 L 60.918305,496.51525 L 63.666554,495.22195 L 66.253132,496.35359 L 66.576453,498.77851 L 69.00137,498.45517 L 72.23459,496.03026 L 73.851205,496.67691 L 74.821167,497.32355 L 76.437782,497.32355 L 78.701041,496.03026 L 79.509354,491.6654 C 79.509354,491.6654 79.832675,488.75551 80.479317,488.27052 C 81.125959,487.78554 81.44928,487.30056 81.44928,487.30056 L 80.317657,485.36062 L 77.731077,486.16893 L 74.497847,486.97723 L 72.557911,486.49225 L 69.00137,484.71397 L 63.989875,484.55231 L 60.433324,480.83411 L 60.918305,476.95424 L 61.564957,474.52932 L 59.463361,472.75105 L 57.523423,469.03283 L 58.008406,468.22453 L 64.798177,467.73955 L 66.899773,467.73955 L 67.869736,468.70951 L 68.516388,468.70951 L 68.354728,467.0929 L 72.23459,466.44626 L 74.821167,466.76958 L 76.276122,467.90121 L 74.821167,470.00281 L 74.336186,471.45775 L 77.084435,473.07437 L 82.095932,474.85264 L 83.874208,473.88268 L 81.610951,469.51783 L 80.640977,466.2846 L 81.610951,465.47629 L 78.21606,463.53636 L 77.731077,462.40472 L 78.21606,460.78812 L 77.407756,456.90825 L 74.497847,452.22007 L 72.072929,448.01688 L 74.982838,446.07694 L 78.21606,446.07694 L 79.994336,446.72359 L 84.197528,446.56193 L 87.915733,443.00539 L 89.047366,439.93382 L 92.765578,437.5089 L 94.382182,438.47887 L 97.130421,437.83222 L 100.84863,435.73062 L 101.98027,435.56896 L 102.95023,436.37728 L 107.47674,436.21561 L 110.22498,433.14405 L 111.35661,433.14405 L 114.91316,435.56896 L 116.85309,437.67056 L 116.36811,438.80219 L 117.01475,439.93382 L 118.63137,438.31721 L 122.51124,438.64053 L 122.83456,442.35873 L 124.7745,443.81369 L 131.88759,444.46033 L 138.19238,448.66352 L 139.64732,447.69356 L 144.82049,450.28014 L 146.92208,449.6335 L 148.86202,448.82518 L 153.71185,450.76512 L 158.07671,453.67502 z M 42.973913,482.61238 L 45.075509,487.9472 L 44.913847,488.91717 L 42.003945,488.59384 L 40.225672,484.55231 L 38.447399,483.09737 L 36.02248,483.09737 L 35.86082,480.51078 L 37.639093,478.08586 L 38.770722,480.51078 L 40.225672,481.96573 z M 40.387333,516.07625 L 44.105542,516.88456 L 47.823749,517.85452 L 48.632056,518.8245 L 47.015444,522.5427 L 43.94388,522.38104 L 40.548995,518.8245 z M 19.694697,502.01173 L 20.826327,504.5983 L 21.957955,506.21492 L 20.826327,507.02322 L 18.72473,503.95166 L 18.72473,502.01173 z M 5.9534943,575.0826 L 9.3483796,572.81934 L 12.743265,571.84937 L 15.329845,572.17269 L 15.814828,573.7893 L 17.754763,574.27429 L 19.694697,572.33436 L 19.371375,570.71775 L 22.119616,570.0711 L 25.029518,572.65768 L 23.897889,574.43595 L 19.533037,575.56758 L 16.784795,575.0826 L 13.066588,573.95097 L 8.7017347,575.40592 L 7.0851227,575.72924 z M 54.936843,570.55609 L 56.553455,572.49602 L 58.655048,570.87941 L 57.2001,569.58611 z M 57.846745,573.62764 L 58.978369,571.36439 L 61.079966,571.68771 L 60.271663,573.62764 z M 81.44928,571.68771 L 82.904234,573.46598 L 83.874208,572.33436 L 83.065895,570.39442 z M 90.17899,559.2398 L 91.310623,565.0596 L 94.220522,565.86791 L 99.232017,562.958 L 103.59687,560.37142 L 101.98027,557.94651 L 102.46525,555.52159 L 100.36365,556.81488 L 97.453752,556.00657 L 99.070357,554.87495 L 101.01029,555.68325 L 104.89016,553.90497 L 105.37515,552.45003 L 102.95023,551.64172 L 103.75853,549.70178 L 101.01029,551.64172 L 96.322118,555.19827 L 91.472284,558.10817 z M 132.53423,539.35547 L 134.95915,537.90052 L 133.98918,536.12224 L 132.21091,537.09221 z",FL:"M 755.39728,445.50676 L 757.66294,452.82536 L 761.39264,462.56762 L 766.72743,471.94392 L 770.44562,478.24868 L 775.29544,483.74514 L 779.33695,487.46333 L 780.95355,490.37322 L 779.82193,491.6665 L 779.01363,492.95978 L 781.92351,500.39617 L 784.8334,503.30605 L 787.41997,508.64085 L 790.9765,514.46063 L 795.50299,522.70531 L 796.79628,530.30335 L 797.28126,542.26623 L 797.9279,544.04449 L 797.60458,547.43936 L 795.17967,548.73265 L 795.50299,550.67257 L 794.85635,552.6125 L 795.17967,555.0374 L 795.66465,556.97733 L 792.91643,560.21054 L 789.84488,561.66548 L 785.96503,561.82714 L 784.51008,563.44375 L 782.08518,564.41371 L 780.79189,563.92873 L 779.66027,562.95877 L 779.33695,560.04888 L 778.52864,556.65401 L 775.13377,551.48087 L 771.57724,549.21763 L 767.69739,548.89431 L 766.88909,550.18759 L 763.81754,545.82276 L 763.1709,542.26623 L 760.58433,538.22472 L 758.80607,537.09309 L 757.18946,539.19468 L 755.4112,538.87136 L 753.30961,533.85988 L 750.39972,529.98003 L 747.48983,524.64524 L 744.90327,521.57369 L 741.34674,517.8555 L 743.44832,515.43059 L 746.68153,509.93413 L 746.51987,508.31753 L 741.99338,507.34757 L 740.37677,507.99421 L 740.7001,508.64085 L 743.28666,509.61081 L 741.83172,514.13731 L 741.02342,514.62229 L 739.24515,510.58078 L 737.95187,505.73096 L 737.62855,502.98273 L 739.08349,498.29458 L 739.08349,488.75661 L 736.01194,485.03842 L 734.71866,481.96687 L 729.54552,480.67359 L 727.6056,480.02695 L 725.98899,477.44038 L 722.59412,475.82377 L 721.4625,472.4289 L 718.71427,471.45894 L 716.28936,467.74075 L 712.08619,466.28581 L 709.1763,464.83086 L 706.58974,464.83086 L 702.54822,465.63917 L 702.38656,467.57909 L 703.19487,468.54905 L 702.70988,469.68068 L 699.63834,469.51902 L 695.92015,473.07555 L 692.36361,475.01547 L 688.48376,475.01547 L 685.25055,476.30876 L 684.92723,473.56053 L 683.31063,471.6206 L 680.40074,470.48898 L 678.78414,469.03403 L 670.70111,465.15418 L 663.10307,463.37592 L 658.73824,464.02256 L 652.7568,464.50754 L 646.77536,466.60913 L 643.29612,467.22209 L 643.0582,459.17234 L 640.47163,457.23242 L 638.69336,455.45415 L 639.01668,452.38259 L 649.2013,451.08931 L 674.7437,448.17942 L 681.53345,447.53278 L 686.96945,447.81305 L 689.55602,451.69291 L 691.01096,453.14785 L 699.10912,453.66307 L 709.92887,453.01643 L 731.44126,451.72314 L 736.88698,451.04877 L 741.46423,451.0765 L 741.62589,453.98639 L 745.44989,454.79469 L 745.77321,449.98792 L 744.15661,445.46141 L 745.11145,444.72869 L 750.22414,445.18344 z M 767.94269,577.91184 L 770.36761,577.2652 L 771.66089,577.02271 L 773.11585,574.67862 L 775.45993,573.06201 L 776.75322,573.547 L 778.45066,573.87032 L 778.85481,574.92111 L 775.37911,576.13357 L 771.17591,577.58852 L 768.83183,578.80098 z M 781.44139,572.90035 L 782.65385,573.95115 L 785.40209,571.84956 L 790.7369,567.64637 L 794.4551,563.7665 L 796.96085,557.1384 L 797.93082,555.44096 L 798.09248,552.04608 L 797.365,552.53106 L 796.39504,555.36013 L 794.94008,559.96746 L 791.70686,565.22146 L 787.34202,569.42464 L 783.94714,571.36457 z",SC:"M 761.23097,412.93785 L 759.45391,413.90735 L 756.86734,412.61406 L 756.2207,410.51247 L 754.92742,406.95594 L 752.66416,404.85434 L 750.07759,404.2077 L 748.46099,399.35789 L 745.71275,393.37644 L 741.50958,391.4365 L 739.40798,389.49658 L 738.1147,386.91001 L 736.01311,384.97007 L 733.74986,383.67679 L 731.48661,380.7669 L 728.41506,378.50366 L 723.88855,376.72538 L 723.40357,375.27044 L 720.97867,372.36055 L 720.49368,370.90559 L 717.0988,365.73246 L 713.70393,365.89412 L 709.66241,363.4692 L 708.36913,362.17592 L 708.04581,360.39765 L 708.85411,358.45773 L 711.11736,357.48775 L 710.79404,355.38617 L 716.93714,352.7996 L 725.99014,348.2731 L 733.26487,347.46479 L 749.75427,346.97981 L 752.01752,348.91974 L 753.63412,352.15296 L 757.99897,351.66798 L 770.6085,350.21302 L 773.51839,351.02133 L 786.12793,358.61939 L 796.23601,366.74107 L 790.81484,372.19941 L 788.22827,378.34251 L 787.74329,384.64727 L 786.12669,385.45557 L 784.99506,388.2038 L 782.57016,388.85044 L 780.46857,392.40697 L 777.72034,395.1552 L 775.4571,398.55007 L 773.84049,399.35837 L 770.28396,402.75324 L 767.37407,402.9149 L 768.34404,406.14811 L 763.33256,411.64457 z",GA:"M 689.61648,357.97274 L 684.76666,358.78105 L 676.3603,359.91267 L 667.79229,360.8018 L 667.79229,362.98422 L 667.95395,365.08582 L 668.60059,368.48069 L 671.99547,376.40206 L 674.42038,386.26337 L 675.87532,392.40648 L 677.49193,397.25629 L 678.94688,404.2077 L 681.04847,410.51247 L 683.63504,413.90735 L 684.12002,417.30222 L 686.05995,418.11052 L 686.22161,420.21212 L 684.44334,425.06193 L 683.95836,428.29515 L 683.7967,430.23508 L 685.41331,434.59992 L 685.73663,439.93472 L 684.92832,442.35963 L 685.57497,443.16794 L 687.02992,443.97624 L 687.67656,447.37111 L 690.26313,451.25097 L 691.71807,452.70591 L 699.63945,452.86757 L 710.4592,452.22093 L 731.97159,450.92765 L 737.41731,450.25328 L 741.99456,450.28101 L 742.15622,453.1909 L 744.74279,453.9992 L 745.06611,449.63436 L 743.4495,445.10786 L 744.58113,443.49126 L 750.40091,444.29956 L 755.37832,444.61734 L 754.6029,438.31855 L 756.86614,428.2956 L 758.32109,424.09242 L 757.8361,421.50586 L 761.17051,415.26156 L 760.66021,413.90988 L 758.7468,414.61446 L 756.16024,413.32116 L 755.51359,411.21957 L 754.22031,407.66304 L 751.95705,405.56145 L 749.37049,404.91481 L 747.75388,400.06499 L 744.82887,393.72999 L 740.6257,391.79006 L 738.5241,389.85013 L 737.23081,387.26356 L 735.12923,385.32363 L 732.86598,384.03034 L 730.60273,381.12045 L 727.53118,378.85721 L 723.00467,377.07893 L 722.51969,375.62399 L 720.09478,372.7141 L 719.6098,371.25915 L 716.21492,366.35117 L 712.82005,366.51284 L 708.69014,363.4692 L 707.39686,362.17592 L 707.07354,360.39765 L 707.88184,358.45773 L 710.23348,357.22259 L 709.09954,356.00037 L 709.17743,355.70949 L 703.35764,356.67945 L 696.40623,357.48775 z",AL:"M 625.59784,466.77079 L 623.98224,451.57429 L 621.234,432.82165 L 621.39566,418.75716 L 622.20396,387.71831 L 622.0423,371.06725 L 622.20739,364.64819 L 629.96369,364.2775 L 657.76933,361.69094 L 666.69187,361.02874 L 666.54407,363.21116 L 666.70573,365.31276 L 667.35238,368.70763 L 670.74726,376.629 L 673.17216,386.49031 L 674.62711,392.63342 L 676.24371,397.48324 L 677.69867,404.43465 L 679.80025,410.73941 L 682.38682,414.1343 L 682.8718,417.52916 L 684.81174,418.33747 L 684.9734,420.43906 L 683.19512,425.28888 L 682.71014,428.5221 L 682.54848,430.46202 L 684.1651,434.82687 L 684.48842,440.16166 L 683.6801,442.58658 L 684.32676,443.39488 L 685.7817,444.20318 L 686.81695,446.73845 L 680.51218,446.73845 L 673.72243,447.3851 L 648.18003,450.29498 L 637.76847,451.70175 L 637.67209,455.45415 L 639.45036,457.23242 L 642.03693,459.17234 L 642.61779,467.10778 L 637.07573,469.68068 L 634.32751,469.35736 L 637.07573,467.41743 L 637.07573,466.44747 L 634.00419,460.46603 L 631.74094,459.81939 L 630.28599,464.18422 L 628.99271,466.93245 L 628.34607,466.77079 z",NC:"M 832.10653,298.47179 L 833.81653,303.17039 L 837.37306,309.63681 L 839.79796,312.06172 L 840.4446,314.32497 L 838.0197,314.48663 L 838.828,315.13327 L 838.50468,319.33644 L 835.91811,320.62972 L 835.27147,322.73131 L 833.97819,325.6412 L 830.25999,327.2578 L 827.83509,326.93448 L 826.38014,326.77282 L 824.76354,325.47954 L 825.08686,326.77282 L 825.08686,327.74279 L 827.02679,327.74279 L 827.83509,329.03607 L 825.89516,335.34083 L 830.09833,335.34083 L 830.74498,336.95743 L 833.00822,334.69419 L 834.30151,334.2092 L 832.36158,337.76573 L 829.29003,342.61555 L 827.99675,342.61555 L 826.86512,342.13057 L 824.1169,342.77721 L 818.94376,345.20212 L 812.47734,350.53691 L 809.08247,355.22506 L 807.14255,361.69148 L 806.65757,364.11639 L 801.96941,364.60137 L 796.51628,365.93803 L 786.56987,357.7355 L 773.96033,350.13745 L 771.05044,349.32914 L 758.44091,350.78409 L 754.16445,351.53424 L 752.54785,348.30102 L 749.57749,346.18432 L 733.0881,346.6693 L 725.81336,347.4776 L 716.76037,352.00411 L 710.61726,354.59067 L 709.00066,354.91399 L 703.18087,355.88396 L 696.22946,356.69226 L 689.43971,357.17725 L 689.9398,353.12292 L 691.71807,351.66798 L 694.46631,351.02133 L 695.11295,347.30313 L 699.31613,344.55491 L 703.19598,343.09995 L 707.39917,339.54342 L 711.764,337.44183 L 712.41064,334.37027 L 716.2905,330.49042 L 716.93714,330.32876 C 716.93714,330.32876 716.93714,331.46039 717.74545,331.46039 C 718.55375,331.46039 719.68538,331.78371 719.68538,331.78371 L 721.94863,328.22717 L 724.05022,327.58052 L 726.31346,327.90385 L 727.93008,324.34732 L 730.83997,321.76074 L 731.32495,319.65915 L 731.32495,315.69846 L 735.85145,316.42594 L 742.98754,315.13265 L 758.80727,313.19272 L 775.94331,310.60615 L 795.86504,306.60555 L 815.59836,302.44073 L 826.9628,299.6443 z M 836.00199,331.45961 L 838.58857,328.95386 L 841.74095,326.36728 L 843.27673,325.72064 L 843.43839,323.69988 L 842.79175,317.55676 L 841.3368,315.21268 L 840.69015,313.35358 L 841.41763,313.11108 L 844.16587,318.60756 L 844.57002,323.05323 L 844.40836,326.44812 L 841.01348,327.98389 L 838.18441,330.40881 L 837.05279,331.62127 z",TN:"M 697.05288,320.62911 L 645.15979,325.6406 L 629.40023,327.41886 L 624.77903,327.93157 L 620.91068,327.90385 L 620.91068,331.78371 L 612.50433,332.26869 L 605.55292,332.91533 L 594.45689,332.96824 L 594.19215,338.80367 L 592.05398,345.07921 L 591.05891,348.09522 L 589.71017,352.47628 L 589.38685,355.06285 L 585.34533,357.32609 L 586.80027,360.88263 L 585.83031,365.24747 L 584.86193,366.03712 L 592.11797,365.84281 L 616.20542,363.90289 L 621.54027,363.74122 L 629.62326,363.25623 L 657.42891,360.66967 L 667.59966,359.86136 L 676.01988,358.8914 L 684.42624,357.75978 L 689.27606,356.95147 L 689.14548,352.44207 L 690.92375,350.98713 L 693.67198,350.34049 L 694.31863,346.62229 L 698.52181,343.87406 L 702.40166,342.4191 L 706.60484,338.86257 L 710.96967,336.76099 L 711.84326,333.23553 L 716.17702,329.35568 L 716.82367,329.19402 C 716.82367,329.19402 716.82367,330.32564 717.63197,330.32564 C 718.44027,330.32564 719.5719,330.64896 719.5719,330.64896 L 721.83515,327.09242 L 723.93674,326.44578 L 726.19998,326.7691 L 727.8166,323.21257 L 729.93216,320.96641 L 730.53062,319.99957 L 730.70699,316.06745 L 729.22336,315.77929 L 726.79845,317.71923 L 718.87707,317.88089 L 706.88174,319.78157 z",RI:"M 874.07001,179.82344 L 873.58706,175.61904 L 872.77876,171.2542 L 871.08133,165.35359 L 876.82028,163.81781 L 878.43688,164.94943 L 881.83176,169.31427 L 884.74063,173.76056 L 881.82968,175.29696 L 880.5364,175.1353 L 879.40478,176.91357 L 876.97987,178.85349 z",CT:"M 873.19331,180.05038 L 872.56579,175.84599 L 871.75749,171.48115 L 870.14088,165.4997 L 865.989,166.40438 L 844.16479,171.17336 L 844.81143,174.48742 L 846.26638,181.76216 L 846.26638,189.84519 L 845.13475,192.10845 L 846.96715,194.21757 L 851.9225,190.81637 L 855.47903,187.58316 L 857.41895,185.48157 L 858.22726,186.12821 L 860.97548,184.67327 L 866.14862,183.54165 z",MA:"M 899.97704,173.85121 L 902.14896,173.16533 L 902.60622,171.45066 L 903.63502,171.56497 L 904.66382,173.85121 L 903.4064,174.30845 L 899.5198,174.42277 z M 890.6035,174.65139 L 892.88972,172.02222 L 894.49009,172.02222 L 896.31908,173.50827 L 893.91854,174.53707 L 891.74662,175.56587 z M 855.80437,152.6632 L 873.26374,148.46002 L 875.527,147.81338 L 877.62858,144.58017 L 881.36535,142.91686 L 884.25459,147.3297 L 881.82968,152.50284 L 881.50636,153.95778 L 883.44629,156.54435 L 884.57791,155.73605 L 886.35618,155.73605 L 888.61942,158.32261 L 892.49928,164.30405 L 896.05581,164.78903 L 898.31905,163.81907 L 900.09732,162.0408 L 899.28901,159.29258 L 897.18743,157.67597 L 895.73248,158.48427 L 894.76252,157.19099 L 895.2475,156.70601 L 897.34909,156.54435 L 899.12735,157.35265 L 901.06728,159.77756 L 902.03724,162.68745 L 902.36056,165.11235 L 898.15739,166.5673 L 894.27754,168.50722 L 890.39769,173.03372 L 888.45776,174.48866 L 888.45776,173.5187 L 890.88267,172.06375 L 891.36765,170.28549 L 890.55935,167.21394 L 887.64946,168.66888 L 886.84116,170.12383 L 887.32614,172.38707 L 885.25981,173.3875 L 882.51261,168.86037 L 879.11773,164.49553 L 877.04723,162.68306 L 870.51396,164.55926 L 865.42163,165.61005 L 843.59742,170.37904 L 843.19483,165.43441 L 843.84147,154.84564 L 849.01462,153.9565 z",ME:"M 923.21476,77.330719 L 925.15469,79.432305 L 927.41794,83.150496 L 927.41794,85.090422 L 925.31635,89.778575 L 923.37642,90.425217 L 919.98155,93.496766 L 915.13174,98.993222 C 915.13174,98.993222 914.4851,98.993222 913.83846,98.993222 C 913.19182,98.993222 912.86849,96.891636 912.86849,96.891636 L 911.09023,97.053296 L 910.12027,98.508241 L 907.69536,99.963185 L 906.7254,101.41813 L 908.342,102.87307 L 907.85702,103.51972 L 907.37204,106.26794 L 905.43211,106.10628 L 905.43211,104.48968 L 905.10879,103.19639 L 903.65385,103.51972 L 901.87558,100.28651 L 899.774,101.57979 L 901.06728,103.03473 L 901.3906,104.16636 L 900.5823,105.45964 L 900.90562,108.53119 L 901.06728,110.14779 L 899.45068,112.73436 L 896.54079,113.21934 L 896.21747,116.12923 L 890.88267,119.20078 L 889.58939,119.68576 L 887.97278,118.23082 L 884.90123,121.78735 L 885.8712,125.02056 L 884.41625,126.31384 L 884.25459,130.67867 L 883.13131,136.93803 L 880.66906,135.78208 L 880.18407,132.71052 L 876.30422,131.57889 L 875.9809,128.83065 L 868.70615,105.38983 L 864.50757,91.750088 L 865.92811,91.631923 L 867.4419,92.041822 L 867.4419,89.455254 L 868.2502,83.958798 L 870.83677,79.270645 L 872.29172,75.229133 L 870.35179,72.804226 L 870.35179,66.822789 L 871.16009,65.852826 L 871.9684,63.104598 L 871.80674,61.649654 L 871.64507,56.79984 L 873.42334,51.950026 L 876.33323,43.0587 L 878.43481,38.855528 L 879.7281,38.855528 L 881.02138,39.017188 L 881.02138,40.148811 L 882.31467,42.412058 L 885.06289,43.0587 L 885.8712,42.250397 L 885.8712,41.280435 L 889.91271,38.370546 L 891.69097,36.592281 L 893.14592,36.753942 L 899.12735,39.178849 L 901.06728,40.148811 L 910.12027,70.055998 L 916.1017,70.055998 L 916.91001,71.995924 L 917.07167,76.845738 L 919.98155,79.108984 L 920.78986,79.108984 L 920.95152,78.624003 L 920.46654,77.49238 z M 902.28301,107.47825 L 903.81879,105.94247 L 905.19291,106.99327 L 905.75872,109.41819 L 904.06128,110.30732 z M 908.99194,101.57763 L 910.77021,103.43673 C 910.77021,103.43673 912.0635,103.51755 912.0635,103.19423 C 912.0635,102.87091 912.30599,101.17347 912.30599,101.17347 L 913.19513,100.36517 L 912.38682,98.586893 L 910.36606,99.31437 z",NH:"M 880.79902,142.42476 L 881.66802,141.34826 L 882.75824,138.05724 L 880.21516,137.14377 L 879.73017,134.07221 L 875.85032,132.94059 L 875.527,130.19235 L 868.25225,106.75153 L 863.65083,92.208542 L 862.75375,92.203482 L 862.10711,93.820087 L 861.46047,93.335106 L 860.4905,92.365143 L 859.03556,94.305068 L 858.98709,99.337122 L 859.29874,105.00434 L 861.23866,107.75258 L 861.23866,111.7941 L 857.52046,116.85688 L 854.93389,117.98852 L 854.93389,119.12014 L 856.06552,120.89841 L 856.06552,129.46643 L 855.25721,138.6811 L 855.09555,143.53092 L 856.06552,144.82422 L 855.90386,149.35071 L 855.41887,151.12899 L 856.87382,152.01499 L 873.26374,147.32527 L 875.527,146.67863 L 877.06121,144.12627 z",VT:"M 844.34355,153.72643 L 843.53525,148.0683 L 841.14454,138.09663 L 840.4979,137.77331 L 837.588,136.48002 L 838.3963,133.57013 L 837.588,131.46854 L 834.88795,126.82856 L 835.85792,122.9487 L 835.04961,117.77555 L 832.6247,111.30911 L 831.81913,106.3866 L 858.06661,99.63916 L 858.39094,105.45824 L 860.33087,108.20648 L 860.33087,112.248 L 856.61267,116.28952 L 854.0261,117.42115 L 854.0261,118.55277 L 855.15772,120.33104 L 855.15772,128.89906 L 854.34942,138.11373 L 854.18776,142.96356 L 855.15772,144.25685 L 854.99606,148.78334 L 854.51108,150.56162 L 855.1717,152.12847 L 848.22029,153.5026 z",NY:"M 828.61427,189.42238 L 827.48264,188.45242 L 824.89606,188.29076 L 822.63282,186.35084 L 821.00221,180.22171 L 817.54375,180.31225 L 815.10004,177.60405 L 795.71472,181.98599 L 752.71294,190.71568 L 745.18329,191.94367 L 744.44513,185.47533 L 745.87323,184.34995 L 747.16651,183.21833 L 748.13648,181.60172 L 749.91474,180.4701 L 751.85467,178.69183 L 752.33965,177.07523 L 754.44123,174.327 L 755.57286,173.35704 L 755.4112,172.38707 L 754.11791,169.31553 L 752.33965,169.15387 L 750.39972,163.01077 L 753.30961,161.2325 L 757.67444,159.77756 L 761.71596,158.48427 L 764.94917,157.99929 L 771.25392,157.83763 L 773.19385,159.13092 L 774.81045,159.29258 L 776.91204,157.99929 L 779.49861,156.86767 L 784.67174,156.38269 L 786.77333,154.60442 L 788.55159,151.37121 L 790.1682,149.43129 L 792.26978,149.43129 L 794.20971,148.29966 L 794.37137,146.03642 L 792.91643,143.93483 L 792.59311,142.47989 L 793.72473,140.3783 L 793.72473,138.92336 L 791.94646,138.92336 L 790.1682,138.11506 L 789.3599,136.98343 L 789.19824,134.39686 L 795.01801,128.90041 L 795.66465,128.09211 L 797.1196,125.18222 L 800.02949,120.65572 L 802.77772,116.93753 L 804.8793,114.51263 L 807.2944,112.68702 L 810.37576,111.44108 L 815.87221,110.14779 L 819.10542,110.30945 L 823.63192,108.85451 L 831.19711,106.78334 L 831.7169,111.76301 L 834.14182,118.22945 L 834.95012,123.4026 L 833.98016,127.28246 L 836.56673,131.80896 L 837.37503,133.91055 L 836.56673,136.82045 L 839.47663,138.11373 L 840.12327,138.43705 L 843.19483,149.42999 L 842.65854,154.48966 L 842.17356,165.32093 L 842.98186,170.8174 L 843.79016,174.37394 L 845.24511,181.64868 L 845.24511,189.73172 L 844.11348,191.99497 L 845.95281,193.98776 L 846.74936,195.66618 L 844.80944,197.44445 L 845.13276,198.73773 L 846.42604,198.41441 L 847.88099,197.12113 L 850.14423,194.53456 L 851.27586,193.88792 L 852.89246,194.53456 L 855.15571,194.69622 L 863.07707,190.81637 L 865.98696,188.06814 L 867.28024,186.6132 L 871.48341,188.2298 L 868.08854,191.78633 L 864.20869,194.69622 L 857.09563,200.03101 L 854.50907,201.00098 L 848.68929,202.9409 L 844.64778,204.07253 L 843.47304,203.5396 L 843.22902,199.85107 L 843.714,197.10283 L 843.55234,195.00125 L 840.73883,193.30225 L 836.21233,192.33228 L 832.33247,191.20066 z",NJ:"M 828.16036,190.33018 L 826.05878,192.75509 L 826.05878,195.82665 L 824.11884,198.8982 L 823.95718,200.51482 L 825.25048,201.8081 L 825.08882,204.23302 L 822.82556,205.36464 L 823.63386,208.11287 L 823.79552,209.2445 L 826.54376,209.56782 L 827.51372,212.15439 L 831.07026,214.57931 L 833.49517,216.19591 L 833.49517,217.00422 L 830.26196,220.07578 L 828.64535,222.33902 L 827.1904,225.08726 L 824.92715,226.38054 L 823.7147,227.10802 L 823.4722,228.32048 L 822.86297,230.92722 L 823.95524,233.17141 L 827.18845,236.0813 L 832.03826,238.34455 L 836.07977,238.99119 L 836.24143,240.44613 L 835.43313,241.41609 L 835.75645,244.16432 L 836.56475,244.16432 L 838.66634,241.73942 L 839.47464,236.8896 L 842.22287,232.84809 L 845.29442,226.38167 L 846.42604,220.88522 L 845.7794,219.75359 L 845.61774,210.37728 L 844.00113,206.98242 L 842.86951,207.79072 L 840.12128,208.11404 L 839.6363,207.62906 L 840.76793,206.65909 L 842.86951,204.71917 L 842.93257,203.62534 L 842.54818,200.1915 L 843.03316,197.44326 L 842.8715,195.34167 L 840.28493,194.21004 L 835.75843,193.24008 L 831.87857,192.10845 z",PA:"M 822.20688,226.45982 L 823.33852,225.81317 L 825.60176,225.20074 L 827.05671,222.4525 L 828.67332,220.18925 L 831.90653,217.11769 L 831.90653,216.30939 L 829.48162,214.69279 L 825.92508,212.26787 L 824.95512,209.6813 L 822.20688,209.35798 L 822.04522,208.22635 L 821.23692,205.47812 L 823.50018,204.3465 L 823.66184,201.92158 L 822.36854,200.62829 L 822.5302,199.01168 L 824.47014,195.94013 L 824.47014,192.86857 L 826.81422,190.44366 L 827.02874,189.36021 L 824.44216,189.19855 L 822.17892,187.25863 L 819.754,181.92382 L 816.74942,180.99309 L 814.41919,178.85226 L 795.8282,182.89378 L 752.82642,191.62347 L 743.93507,193.07841 L 743.4394,185.99452 L 737.95187,191.62467 L 736.65858,192.10965 L 732.45629,195.11854 L 735.36705,214.25599 L 737.84871,223.98535 L 741.42051,243.24684 L 744.68982,242.60916 L 756.6334,241.10669 L 794.56003,233.44149 L 809.43624,230.61817 L 817.73659,228.99581 L 818.0037,228.75728 L 820.1053,227.14066 z",DE:"M 822.35259,230.42318 L 822.94187,228.32048 L 822.96339,227.11557 L 821.69394,227.02719 L 819.59234,228.6438 L 818.13739,230.09874 L 819.59234,234.30193 L 821.8556,239.96005 L 823.95718,249.6597 L 825.5738,255.96448 L 830.58528,255.80282 L 836.7274,254.59089 L 834.46317,247.23587 L 833.4932,247.72085 L 829.93667,245.29595 L 828.15841,240.60779 L 826.21848,237.05126 L 823.95524,236.0813 L 821.85365,232.52477 z",MD:"M 836.95336,255.30492 L 830.81223,256.59715 L 825.00642,256.75881 L 823.16286,249.6597 L 821.06127,239.96005 L 818.79801,234.30193 L 817.50963,229.9036 L 810.00361,231.52596 L 795.1274,234.34928 L 757.67597,241.90018 L 758.80727,246.91184 L 759.77723,252.56995 L 760.10055,252.24663 L 762.20215,249.82173 L 764.46539,247.20407 L 766.8903,246.58851 L 768.34526,245.13356 L 770.12352,242.54699 L 771.4168,243.19364 L 774.32669,242.87031 L 776.91327,240.76873 L 778.92016,239.31546 L 780.76539,238.83048 L 782.40974,239.96043 L 785.31963,241.41537 L 787.25955,243.19364 L 788.47201,244.72942 L 792.59436,246.42685 L 792.59436,249.33674 L 798.09082,250.63003 L 799.23526,251.17201 L 800.64716,249.14369 L 803.52913,251.11385 L 802.25096,253.59578 L 801.48569,257.58144 L 799.70743,260.16801 L 799.70743,262.2696 L 800.35407,264.04787 L 805.41802,265.40356 L 809.72912,265.34184 L 812.80066,266.31181 L 814.90225,266.63513 L 815.87221,264.53354 L 814.41727,262.43196 L 814.41727,260.65369 L 811.99236,258.5521 L 809.89078,253.05565 L 811.18406,247.72085 L 811.0224,245.61927 L 809.72912,244.32598 C 809.72912,244.32598 811.18406,242.70938 811.18406,242.06274 C 811.18406,241.41609 811.66904,239.96115 811.66904,239.96115 L 813.60897,238.66787 L 815.54889,237.05126 L 816.03387,238.02123 L 814.57893,239.63783 L 813.28565,243.35602 L 813.60897,244.48764 L 815.38723,244.81096 L 815.87221,250.30742 L 813.77063,251.27738 L 814.09395,254.83391 L 814.57893,254.67225 L 815.71055,252.73233 L 817.32716,254.51059 L 815.71055,255.80388 L 815.38723,259.19875 L 817.9738,262.59362 L 821.85365,263.0786 L 823.47026,262.2703 L 826.70681,266.45323 L 828.06516,266.98953 L 834.71883,264.19258 L 836.72641,260.16871 z M 820.32087,264.28945 L 821.45249,266.7952 L 821.61415,268.57347 L 822.74578,270.43257 C 822.74578,270.43257 823.63492,269.54343 823.63492,269.22011 C 823.63492,268.89679 822.90745,266.14855 822.90745,266.14855 L 822.17997,263.80446 z",WV:"M 756.56051,241.96731 L 757.67252,246.91184 L 758.75596,253.81817 L 762.31563,251.06994 L 764.57887,247.99838 L 767.11725,247.38283 L 768.5722,245.92789 L 770.35047,243.34132 L 771.53028,243.98796 L 774.44017,243.66464 L 777.02675,241.56305 L 779.03364,240.10979 L 780.87887,239.6248 L 782.18279,240.64127 L 784.41183,241.75579 L 786.35176,243.53406 L 787.72588,244.82734 L 787.58288,249.4984 L 781.92475,246.42685 L 777.39825,244.64858 L 777.23659,249.98339 L 776.75161,252.08497 L 775.13501,254.83321 L 774.48835,256.44982 L 771.4168,258.87472 L 770.93182,261.13798 L 767.53694,261.4613 L 767.21362,264.53285 L 766.082,270.02932 L 763.49543,270.02932 L 762.20215,269.22101 L 760.58553,266.47277 L 758.80727,266.63443 L 758.48395,270.99928 L 756.38236,277.62737 L 751.37088,288.45864 L 752.17918,289.75192 L 752.01752,292.50015 L 749.91593,294.44008 L 748.46099,294.11676 L 745.22777,296.54167 L 742.6412,295.57171 L 740.86294,300.25986 C 740.86294,300.25986 737.14473,301.06817 736.49809,301.22983 C 735.85145,301.39149 734.07318,299.93654 734.07318,299.93654 L 731.64827,302.19979 L 729.0617,302.84644 L 726.1518,302.03813 L 724.85852,300.74485 L 722.6663,297.72149 L 719.52371,295.73337 L 716.93714,292.98513 L 714.02726,289.26694 L 713.38061,287.00369 L 710.79404,285.54874 L 709.98573,283.93214 L 709.74324,278.67816 L 711.92566,278.59733 L 713.8656,277.78903 L 714.02726,275.0408 L 715.64386,273.58585 L 715.80552,268.57437 L 716.77548,264.69451 L 718.06877,264.04787 L 719.36205,265.17949 L 719.84704,266.95776 L 721.62531,265.98779 L 722.11029,264.37119 L 720.97867,262.59292 L 720.97867,260.16801 L 721.94863,258.87472 L 724.21188,255.47985 L 725.50516,254.02491 L 727.60676,254.50989 L 729.87,252.89327 L 732.94155,249.4984 L 735.20481,245.61854 L 735.52813,239.96043 L 736.01311,234.94894 L 736.01311,230.26078 L 734.88149,227.18923 L 735.85145,225.73427 L 737.13493,224.44099 L 740.62618,244.26811 L 745.25719,243.51696 z",KY:"M 721.78301,297.81787 L 719.45844,300.5008 L 715.25525,304.05734 L 710.9557,309.95951 L 709.17743,311.73778 L 709.17743,313.83936 L 705.29757,315.94095 L 699.63945,319.33583 L 696.11989,319.72047 L 644.252,324.61933 L 628.49244,326.39759 L 623.87124,326.9103 L 620.00289,326.88258 L 619.77594,331.10286 L 611.59653,331.24742 L 604.64512,331.89406 L 594.21453,332.09966 L 596.12731,331.87803 L 598.30736,330.11601 L 600.36496,328.97291 L 600.59359,325.77218 L 601.50808,323.9432 L 599.90126,321.4043 L 600.70309,319.49749 L 602.96635,317.71923 L 605.06793,317.07258 L 607.81616,318.36587 L 611.3727,319.65915 L 612.50433,319.33583 L 612.66599,317.07258 L 611.3727,314.64767 L 611.69602,312.38442 L 613.63595,310.92948 L 616.22253,310.28283 L 617.83913,309.63619 L 617.03083,307.85792 L 616.38419,305.91799 L 617.51581,305.10969 L 618.5666,301.79563 L 621.55732,300.0982 L 627.37711,299.12824 L 630.93365,298.64326 L 632.38859,300.58319 L 634.16686,301.39149 L 635.94513,298.15828 L 638.85502,296.70333 L 640.79495,298.31994 L 641.60325,299.45156 L 643.70485,298.96658 L 643.54318,295.57171 L 646.45308,293.9551 L 647.5847,293.14679 L 648.71632,294.7634 L 653.40449,294.7634 L 654.21279,292.66181 L 653.88947,290.39857 L 656.79936,286.84202 L 661.48752,282.96217 L 661.9725,278.43567 L 664.72074,278.11235 L 668.60059,276.33408 L 671.34883,274.39415 L 671.0255,272.45422 L 669.57055,270.99928 L 670.13637,268.81687 L 674.25872,268.57437 L 676.68363,267.76607 L 679.59352,269.38267 L 681.21013,273.74751 L 687.02992,274.07083 L 688.80818,275.8491 L 690.90977,276.01076 L 693.33468,274.55582 L 696.40623,275.0408 L 697.69952,276.49574 L 700.44776,273.90917 L 702.22602,272.61588 L 703.84263,272.61588 L 704.48927,275.36412 L 706.26754,276.33408 L 708.68933,278.54915 L 708.85099,284.04561 L 709.65929,285.66222 L 712.24587,287.11716 L 712.89251,289.38042 L 715.8024,293.09861 L 718.38896,295.84685 z",OH:"M 731.43589,195.0077 L 725.34235,199.06105 L 721.4625,201.3243 L 718.06763,205.04249 L 714.02612,208.92234 L 710.79291,209.73064 L 707.88302,210.21562 L 702.38656,212.80219 L 700.28498,212.96385 L 696.89011,209.8923 L 691.71697,210.53895 L 689.13041,209.084 L 686.74934,207.73317 L 681.85677,208.43658 L 671.67215,210.05319 L 663.91243,211.26565 L 665.20572,225.89593 L 666.98399,239.6371 L 669.57055,263.0779 L 670.13637,267.90907 L 674.25872,267.78005 L 676.68363,266.97174 L 680.04743,268.47488 L 682.11792,272.83971 L 687.25686,272.82261 L 689.1486,274.94131 L 690.90977,274.87601 L 693.44816,273.53455 L 695.95233,273.90605 L 697.92646,275.361 L 699.65343,273.22832 L 701.99908,271.93504 L 704.06957,271.25419 L 704.71621,274.00243 L 706.49449,274.97239 L 709.97018,277.31646 L 712.1526,277.23564 L 713.29822,276.08691 L 713.23293,274.70038 L 714.84954,273.24542 L 715.0112,268.23395 C 715.0112,268.23395 715.98116,264.35409 715.98116,264.35409 L 717.5014,262.91312 L 719.02163,263.8178 L 719.84704,265.02868 L 721.05794,264.85305 L 720.63513,262.44212 L 720.07087,261.7986 L 720.07087,259.37368 L 721.04084,258.0804 L 723.30408,254.68553 L 724.59737,253.23058 L 726.69896,253.71556 L 728.96221,252.09895 L 732.03376,248.70408 L 734.29702,244.82422 L 734.50686,239.39306 L 734.99184,234.38157 L 734.99184,229.69341 L 733.86022,226.62186 L 734.83018,225.16691 L 735.75069,224.2123 L 734.34578,214.36947 z",MI:"M 581.61931,82.059006 L 583.4483,80.001402 L 585.62022,79.201221 L 590.99286,75.314624 L 593.27908,74.743065 L 593.73634,75.200319 L 588.59232,80.344339 L 585.27728,82.287628 L 583.21967,83.202124 z M 667.79369,114.18719 L 668.44033,116.69293 L 671.67355,116.85459 L 672.96684,115.64213 C 672.96684,115.64213 672.88601,114.18719 672.56269,114.02552 C 672.23936,113.86386 670.94608,112.16642 670.94608,112.16642 L 668.76366,112.40891 L 667.14704,112.57057 L 666.82372,113.7022 z M 697.86007,177.23689 L 694.62686,168.9922 L 692.36361,159.93922 L 689.93871,156.70601 L 687.35214,154.92774 L 685.73554,156.05937 L 681.85568,157.83763 L 679.91576,162.84911 L 677.16753,166.5673 L 676.03591,167.21394 L 674.58096,166.5673 C 674.58096,166.5673 671.9944,165.11235 672.15606,164.46571 C 672.31772,163.81907 672.64104,159.45424 672.64104,159.45424 L 676.03591,158.16095 L 676.84421,154.76608 L 677.49085,152.17952 L 679.91576,150.56291 L 679.59244,140.53996 L 677.97583,138.27672 L 676.68255,137.46841 L 675.87425,135.36683 L 676.68255,134.55853 L 678.29915,134.88185 L 678.46081,133.26524 L 676.03591,131.00199 L 674.74262,128.41543 L 672.15606,128.41543 L 667.62956,126.96048 L 662.13311,123.56561 L 659.38488,123.56561 L 658.73824,124.21226 L 657.76827,123.72727 L 654.69673,121.46403 L 651.78684,123.24229 L 648.87695,125.50554 L 649.20027,129.06207 L 650.17023,129.38539 L 652.27182,129.87037 L 652.7568,130.67867 L 650.17023,131.48698 L 647.58367,131.8103 L 646.12872,133.58856 L 645.8054,135.69015 L 646.12872,137.30675 L 646.45204,142.80321 L 642.89551,144.9048 L 642.24887,144.74313 L 642.24887,140.53996 L 643.54215,138.11506 L 644.1888,135.69015 L 643.38049,134.88185 L 641.44057,135.69015 L 640.4706,139.89332 L 637.72238,141.02494 L 635.94411,142.96487 L 635.78245,143.93483 L 636.42909,144.74313 L 635.78245,147.3297 L 633.5192,147.81468 L 633.5192,148.94631 L 634.32751,151.37121 L 633.19588,157.51431 L 631.57928,161.55582 L 632.22592,166.24398 L 632.7109,167.3756 L 631.9026,169.80051 L 631.57928,170.60881 L 631.25596,173.35704 L 634.81249,179.33847 L 637.72238,185.80489 L 639.17732,190.65471 L 638.36902,195.34286 L 637.39906,201.3243 L 634.97415,206.49743 L 634.65083,209.24566 L 631.39196,212.33081 L 635.80057,212.16876 L 657.21906,209.90551 L 664.4969,208.91845 L 664.59327,210.5848 L 671.44521,209.37234 L 681.74329,207.86921 L 685.59749,207.4083 L 685.73554,206.82075 L 685.8972,205.36581 L 687.99878,201.64762 L 689.99934,199.90977 L 689.77705,194.85788 L 691.37404,193.26089 L 692.46466,192.91795 L 692.68694,189.36142 L 694.22271,186.3303 L 695.2735,186.93652 L 695.43516,187.58316 L 696.24347,187.74482 L 698.18339,186.77486 z M 567.49209,111.21318 L 568.20837,110.63278 L 570.9566,109.82447 L 574.51313,107.56123 L 574.51313,106.59126 L 575.15978,105.94462 L 581.14121,104.97466 L 583.56612,103.03473 L 587.93095,100.93315 L 588.09261,99.639864 L 590.03254,96.729975 L 591.8108,95.921673 L 593.10409,94.143408 L 595.36733,91.880161 L 599.73217,89.455254 L 604.42032,88.970273 L 605.55194,90.101896 L 605.22862,91.071859 L 601.51043,92.041822 L 600.05549,95.113371 L 597.79224,95.921673 L 597.30726,98.34658 L 594.88235,101.57979 L 594.55903,104.16636 L 595.36733,104.65134 L 596.3373,103.51972 L 599.89383,100.60983 L 601.18711,101.90311 L 603.45036,101.90311 L 606.68357,102.87307 L 608.13851,104.0047 L 609.59345,107.07625 L 612.34168,109.82447 L 616.22153,109.66281 L 617.67648,108.69285 L 619.29308,109.98613 L 620.90969,110.47112 L 622.20297,109.66281 L 623.33459,109.66281 L 624.9512,108.69285 L 628.99271,105.13632 L 632.38758,104.0047 L 639.01566,103.68138 L 643.54215,101.74145 L 646.12872,100.44817 L 647.58367,100.60983 L 647.58367,106.26794 L 648.06865,106.59126 L 650.97853,107.39957 L 652.91846,106.91458 L 659.06156,105.29798 L 660.19318,104.16636 L 661.64813,104.65134 L 661.64813,111.60274 L 664.88134,114.67429 L 666.17462,115.32093 L 667.4679,116.29089 L 666.17462,116.61421 L 665.36632,116.29089 L 661.64813,115.80591 L 659.54654,116.45255 L 657.28329,116.29089 L 654.05008,117.74584 L 652.27182,117.74584 L 646.45204,116.45255 L 641.27891,116.61421 L 639.33898,119.20078 L 632.38758,119.84742 L 629.96267,120.65572 L 628.83105,123.72727 L 627.53777,124.8589 L 627.05279,124.69724 L 625.59784,123.08063 L 621.07135,125.50554 L 620.42471,125.50554 L 619.29308,123.88893 L 618.48478,124.05059 L 616.54486,128.41543 L 615.57489,132.45694 L 612.39377,139.45774 L 611.21701,138.42347 L 609.84527,137.39215 L 607.90449,127.10413 L 604.36001,125.73408 L 602.30743,123.44785 L 590.18707,120.70437 L 587.3318,119.67473 L 579.10138,117.50199 L 571.21139,116.35887 z",WY:"M 354.25168,143.77587 L 343.70253,142.96884 L 311.61454,139.67342 L 295.38233,137.61582 L 267.03312,133.50061 L 247.14296,130.52852 L 245.72387,141.70448 L 241.88464,165.96502 L 236.62631,196.37183 L 235.09531,206.88801 L 233.4256,218.77684 L 239.94947,219.70521 L 265.82883,222.20513 L 286.39795,224.51213 L 323.18167,228.62731 L 347.00271,231.48733 L 351.50702,187.295 L 352.94689,161.91789 z",MT:"M 356.67064,122.27385 L 357.31846,111.12326 L 359.57695,86.336144 C 360.0342,81.306439 360.66066,77.864038 360.94869,70.926078 L 361.88845,56.374463 L 331.21413,53.56663 L 301.95358,50.0101 L 272.69304,45.968588 L 240.36094,40.633793 L 221.93165,37.238923 L 189.208,30.306187 L 184.72898,51.653719 L 188.15832,59.19826 L 186.78658,63.770712 L 188.61556,68.343163 L 191.81629,69.714902 L 196.43711,80.484355 L 199.13221,83.660878 L 199.58945,84.803996 L 203.01879,85.947114 L 203.47604,88.004707 L 196.38874,105.60866 L 196.38874,108.12351 L 198.90359,111.32422 L 199.81807,111.32422 L 204.61914,108.35213 L 205.30502,107.20901 L 206.90538,107.89488 L 206.67675,113.1532 L 209.42023,125.72745 L 212.39232,128.24229 L 213.3068,128.92816 L 215.13579,131.21438 L 214.67854,134.64373 L 215.36441,138.07306 L 216.50753,138.98756 L 218.79375,136.70133 L 221.53722,136.70133 L 224.73794,138.30169 L 227.25279,137.3872 L 231.368,137.3872 L 235.02595,138.98756 L 237.76943,138.53031 L 238.22667,135.55821 L 241.19876,134.87235 L 242.5705,136.24409 L 243.02775,139.4448 L 244.80717,140.80977 L 246.34057,129.2447 L 267.03312,132.21679 L 295.22184,136.17153 L 311.77502,138.06865 L 343.2211,141.52455 L 354.21124,143.04862 L 355.26321,127.62136 z",ID:"M 162.11948,180.95969 C 139.5086,176.61641 147.97221,178.11269 140.97881,176.60895 L 145.40585,159.10648 L 149.74968,141.38823 L 151.12142,137.15871 L 153.63626,131.21453 L 152.37884,128.9283 L 149.86398,129.04261 L 149.06381,128.01381 L 149.52106,126.8707 L 149.86398,123.78429 L 154.32213,118.29734 L 156.15111,117.8401 L 157.29422,116.69699 L 157.86578,113.49627 L 158.78026,112.81041 L 162.66685,106.98053 L 166.55344,102.6367 L 166.78206,98.864432 L 163.35272,96.235269 L 162.03814,91.834286 L 162.43823,82.174988 L 166.09619,65.714155 L 170.55433,44.909503 L 174.3266,31.420781 L 175.08853,27.617595 L 188.08467,30.145706 L 183.92659,51.653719 L 186.8745,59.358741 L 185.82372,63.931193 L 187.81318,68.503644 L 191.0139,70.196335 L 195.47424,80.002923 L 198.16934,83.821359 L 198.78707,84.964477 L 202.21641,86.107595 L 202.67365,88.646611 L 195.74683,105.44818 L 196.06779,108.76541 L 198.7431,111.64517 L 200.62046,112.1266 L 205.42153,108.51261 L 205.78645,108.01139 L 205.94251,108.85775 L 206.19532,112.99272 L 208.77832,125.88793 L 212.23184,128.56324 L 212.6649,129.40959 L 214.81483,131.85629 L 214.03664,134.64373 L 214.7225,138.39401 L 216.66801,139.30851 L 218.79375,137.6642 L 221.37674,137.18276 L 224.73794,138.78312 L 227.25279,138.18958 L 231.04705,138.0291 L 235.02595,139.62946 L 237.76943,139.3327 L 238.70811,137.0025 L 241.19876,135.35378 L 241.9286,137.04647 L 242.54631,139.28432 L 244.85453,141.82336 L 241.08226,165.80454 L 235.9382,194.8133 L 231.779,194.4946 L 223.59476,192.96239 L 213.78818,191.13341 L 201.62502,188.75485 L 189.09694,186.25099 L 180.61372,184.41102 L 171.35451,182.74252 z",WA:"M 93.573239,6.3617734 L 97.938071,7.8167177 L 107.6377,10.564946 L 116.2057,12.504871 L 136.2516,18.162988 L 159.20739,23.821104 L 174.36801,27.215777 L 173.36373,31.099829 L 169.27051,44.909503 L 164.81238,65.714155 L 161.63584,81.854036 L 161.28429,91.232806 L 148.10315,87.33877 L 132.53264,83.955591 L 118.86585,84.551329 L 117.28528,83.01913 L 111.95881,84.916253 L 107.9821,84.665645 L 105.2606,82.904814 L 103.68223,83.430208 L 99.476903,83.201576 L 97.601755,81.829846 L 92.824862,80.093194 L 91.382778,79.886558 L 86.397035,78.560984 L 84.614222,80.069004 L 78.922841,79.726077 L 74.101997,75.931831 L 74.30643,75.131651 L 74.374575,67.197996 L 72.248826,63.31142 L 68.133618,62.57938 L 67.768708,60.225014 L 65.2543,59.597968 L 62.372763,59.063086 L 60.594498,60.033049 L 58.331251,57.123161 L 58.654572,54.213272 L 61.4028,53.889951 L 63.019405,49.84844 L 60.432837,48.716816 L 60.594498,44.998625 L 64.959331,44.351984 L 62.211103,41.603756 L 60.756158,34.490695 L 61.4028,31.580807 L 61.4028,23.659444 L 59.624535,20.426234 L 61.887782,11.049927 L 63.989368,11.534908 L 66.414275,14.444797 L 69.162503,17.031364 L 72.395712,18.97129 L 76.922205,21.072876 L 79.993756,21.719518 L 82.903645,23.174462 L 86.298518,24.144425 L 88.561764,23.982765 L 88.561764,21.557857 L 89.855048,20.426234 L 91.956634,19.13295 L 92.279955,20.264574 L 92.603276,22.042839 L 90.340029,22.52782 L 90.016708,24.629406 L 91.794974,26.084351 L 92.926597,28.509258 L 93.573239,30.449183 L 95.028183,30.287523 L 95.189843,28.994239 L 94.219881,27.700955 L 93.734899,24.467746 L 94.543201,22.689481 L 93.89656,21.234537 L 93.89656,18.97129 L 95.674825,15.41476 L 94.543201,12.828192 L 92.118294,7.9783781 L 92.441615,7.1700758 z M 84.116548,12.340738 L 86.137312,12.179078 L 86.622294,13.553197 L 88.158073,11.936582 L 90.502155,11.936582 L 91.310458,13.472361 L 89.774678,15.169801 L 90.42133,15.978114 L 89.693853,17.998875 L 88.319734,18.403021 C 88.319734,18.403021 87.430596,18.483857 87.430596,18.160536 C 87.430596,17.837215 88.885551,15.573958 88.885551,15.573958 L 87.188111,15.008141 L 86.86479,16.463095 L 86.137312,17.109737 L 84.60153,14.84648 z",TX:"M 357.05332,333.3739 L 379.74411,334.45984 L 410.8368,335.60296 L 408.50219,359.05876 L 408.20543,377.21228 L 408.27357,379.29407 L 412.6174,383.1125 L 414.35405,383.93466 L 416.16326,384.18747 L 416.84913,382.93225 L 417.73945,383.79837 L 419.47609,384.2798 L 421.08086,383.54998 L 422.21956,383.95885 L 421.92279,387.364 L 426.19848,388.39501 L 428.8738,389.21718 L 432.82854,389.74256 L 435.02242,391.57154 L 438.27152,389.99537 L 441.05896,390.36028 L 443.09237,393.14772 L 444.16733,393.46868 L 444.00686,395.43395 L 447.09547,396.60124 L 449.86312,394.79644 L 451.37114,395.16136 L 453.72552,395.32184 L 454.15859,397.19478 L 458.79918,399.18423 L 461.45473,398.9798 L 463.4442,394.86459 L 463.78492,394.86459 L 464.92804,396.76172 L 469.3642,397.76853 L 472.7012,398.9798 L 475.99425,399.73382 L 478.14419,398.9798 L 478.99053,396.46496 L 482.69245,396.46496 L 484.58958,397.21896 L 487.654,395.64279 L 488.31569,395.64279 L 488.6806,396.76172 L 492.95629,396.76172 L 495.35904,395.5065 L 497.02754,395.80326 L 498.44324,397.67621 L 501.32299,399.34471 L 504.84467,400.41968 L 507.58814,401.83759 L 510.03484,403.45991 L 513.32788,402.56962 L 515.26897,403.55225 L 515.78008,413.69188 L 516.11532,423.39405 L 516.80118,432.92806 L 517.32658,436.97511 L 520.00191,441.57175 L 521.07687,445.63859 L 524.93927,451.92792 L 525.48884,454.80769 L 526.01424,455.8145 L 525.32836,463.31069 L 522.67723,467.69847 L 523.63568,470.55845 L 523.27076,473.0733 L 522.42442,480.38923 L 521.05268,483.10852 L 521.65692,487.49475 L 515.99204,489.07993 L 506.13075,493.60643 L 505.16079,495.54635 L 502.57422,497.48628 L 500.47264,498.94122 L 499.17935,499.74952 L 493.52124,505.08432 L 490.77301,507.18591 L 485.43821,510.41911 L 479.7801,512.84402 L 473.47534,516.23889 L 471.69708,517.69384 L 465.8773,521.25037 L 462.48243,521.89701 L 458.60258,527.39346 L 454.56107,527.71679 L 453.5911,529.65671 L 455.85435,531.59664 L 454.3994,537.09309 L 453.10612,541.61959 L 451.9745,545.49944 L 451.1662,550.02593 L 451.9745,552.45084 L 453.75276,559.40224 L 454.72273,565.54533 L 456.50099,568.29356 L 455.53103,569.74851 L 452.45948,571.68843 L 446.80136,567.80858 L 441.30491,566.67696 L 440.01162,567.16194 L 436.77841,566.5153 L 432.57524,563.44375 L 427.40211,562.31213 L 419.80406,558.91726 L 417.70248,555.0374 L 416.40919,548.57099 L 413.17599,546.63106 L 412.52934,544.36781 L 413.17599,543.72117 L 413.49931,540.3263 L 412.20602,539.67966 L 411.55938,538.7097 L 412.85266,534.34486 L 411.23606,532.08162 L 408.00285,530.78833 L 404.60798,526.4235 L 401.05145,519.79542 L 396.84828,517.20885 L 397.00994,515.26893 L 391.67514,502.98273 L 390.86684,498.77956 L 389.08858,496.83964 L 388.92692,495.38469 L 382.94548,490.0499 L 380.35891,486.97835 L 380.35891,485.84672 L 377.77234,483.74514 L 370.9826,482.61351 L 363.54622,481.96687 L 360.47467,479.70363 L 355.94818,481.48189 L 352.39165,482.93684 L 350.1284,486.17004 L 349.15844,489.88824 L 344.79361,496.03133 L 342.3687,498.45624 L 339.78213,497.48628 L 338.00387,496.35465 L 336.06394,495.70801 L 332.18409,493.44477 L 332.18409,492.79812 L 330.40583,490.8582 L 325.23269,488.75661 L 317.79631,480.99691 L 315.53306,476.30876 L 315.53306,468.22573 L 312.29985,461.75931 L 311.81487,459.01109 L 310.19827,458.04112 L 309.06664,455.93954 L 304.05517,453.83795 L 302.76189,452.22135 L 295.64882,444.29998 L 294.35554,441.06677 L 289.66738,438.80352 L 288.21243,434.43865 L 285.62584,431.52878 L 283.68593,431.04382 L 283.0367,426.36618 L 291.03857,427.05207 L 320.07356,429.79552 L 349.10864,431.39588 L 351.39487,407.61912 L 355.28142,352.0641 L 356.88181,333.31678 L 358.25355,333.34536 M 457.2302,567.32304 L 456.66439,560.20996 L 453.91615,553.01604 L 453.35033,545.98379 L 454.88611,537.73908 L 458.20017,530.86849 L 461.67587,525.45284 L 464.82827,521.89629 L 465.47491,522.13879 L 460.70591,528.76689 L 456.34107,535.31417 L 454.3203,541.94226 L 453.99698,547.11542 L 454.88611,553.25854 L 457.47269,560.45246 L 457.95767,565.6256 L 458.11933,567.08056 L 457.2302,567.32304 z",CA:"M 136.74132,386.75359 L 140.5564,386.26497 L 142.04244,384.25353 L 142.77448,382.31244 L 139.59796,382.22232 L 138.49879,380.45929 L 139.27701,378.74462 L 139.23083,372.59378 L 141.44892,371.266 L 144.14622,368.68302 L 144.5573,363.76763 L 146.20382,360.27014 L 148.14711,358.16638 L 151.41598,356.45171 L 152.69537,355.72188 L 153.4516,354.23804 L 152.58327,353.34553 L 151.62262,351.8353 L 150.68615,346.48685 L 147.7822,341.25051 L 147.87926,338.46426 L 145.67843,335.2162 L 130.67947,311.98682 L 111.24655,283.27272 L 88.819562,250.23896 L 76.117107,230.69405 L 77.913818,223.48571 L 84.726337,197.53705 L 92.84244,166.10144 L 80.477041,162.76442 L 66.988306,159.33508 L 54.414067,155.21987 L 46.869522,153.16227 L 35.438394,150.19018 L 28.387579,147.77848 L 26.80746,152.50284 L 26.645799,159.93922 L 21.472664,171.74043 L 18.401116,174.327 L 18.077795,175.45862 L 16.299529,176.26693 L 14.844585,180.4701 L 14.036283,183.70331 L 16.784511,187.90648 L 18.401116,192.10965 L 19.532739,195.66618 L 19.209418,202.1326 L 17.431153,205.20415 L 16.784511,211.02393 L 15.814548,214.74212 L 17.592813,218.62197 L 20.341041,223.14846 L 22.604288,227.99828 L 23.897571,232.03979 L 23.574251,235.273 L 23.25093,235.75798 L 23.25093,237.85956 L 28.909046,244.16432 L 28.424065,246.58923 L 27.777423,248.85248 L 27.130781,250.7924 L 27.292441,259.03709 L 29.394027,262.75528 L 31.333953,265.34184 L 34.082181,265.82683 L 35.052144,268.57505 L 33.920521,272.13158 L 31.818934,273.74819 L 30.687311,273.74819 L 29.879009,277.62804 L 30.36399,280.53793 L 33.5972,284.90276 L 35.213804,290.23756 L 36.668748,294.92571 L 37.962032,297.99726 L 41.356902,303.81704 L 42.811846,306.4036 L 43.296828,309.31349 L 44.913432,310.28345 L 44.913432,312.70836 L 44.10513,314.64829 L 42.326865,321.76135 L 41.841883,323.70127 L 44.266791,326.4495 L 48.469963,326.93448 L 52.996456,328.71275 L 56.876307,330.81433 L 59.786196,330.81433 L 62.696084,333.88588 L 65.282651,338.7357 L 66.414275,340.99894 L 70.294126,343.10053 L 75.14394,343.90883 L 76.598884,346.01042 L 77.245526,349.24363 L 75.790582,349.89027 L 76.113903,350.86023 L 79.347114,351.66853 L 82.095342,351.8302 L 85.005231,356.51835 L 88.885085,360.72152 L 89.693387,362.98477 L 92.279955,367.18794 L 92.603276,370.42115 L 92.603276,379.79746 L 93.088257,381.57572 L 103.11121,383.03067 L 122.83378,385.77889 z M 48.793607,337.03691 L 50.086895,338.57269 L 49.925235,339.86598 L 46.692014,339.78515 L 46.1262,338.57269 L 45.479556,337.11774 z M 50.733539,337.03691 L 51.945997,336.39027 L 55.50254,338.49186 L 58.5741,339.70431 L 57.684964,340.35097 L 53.158455,340.10847 L 51.541845,338.49186 z M 71.426153,356.84039 L 73.204418,359.18447 L 74.012731,360.15444 L 75.54851,360.72025 L 76.114317,359.2653 L 75.144354,357.48703 L 72.476951,355.46627 L 71.426153,355.62793 z M 69.971198,365.48925 L 71.749474,368.64164 L 72.961932,370.58158 L 71.506978,370.82406 L 70.213694,369.61161 C 70.213694,369.61161 69.486217,368.15666 69.486217,367.7525 C 69.486217,367.34836 69.486217,365.57008 69.486217,365.57008 z",AZ:"M 137.74699,387.50041 L 135.11998,389.65874 L 134.79666,391.11369 L 135.28164,392.08365 L 154.19591,402.75324 L 166.32045,410.35128 L 181.03155,418.91929 L 197.84424,428.94224 L 210.13044,431.36715 L 235.25838,434.07206 L 237.7892,421.56511 L 241.54187,394.32217 L 248.50673,341.44101 L 252.76399,310.47532 L 228.16728,306.79655 L 200.96119,302.2241 L 167.53204,295.90642 L 164.61014,313.99826 L 164.1529,314.45551 L 162.43823,317.08467 L 159.92338,316.97035 L 158.66596,314.22688 L 155.92249,313.88395 L 155.00799,312.74084 L 154.09351,312.74084 L 153.17901,313.3124 L 151.23572,314.3412 L 151.12142,321.31418 L 150.89278,323.02885 L 150.32124,335.60309 L 148.83519,337.775 L 148.26363,341.09003 L 151.0071,346.00542 L 152.26452,351.8353 L 153.06471,352.8641 L 154.09351,353.43566 L 153.97919,355.72188 L 152.37884,357.09361 L 148.9495,358.80828 L 147.00621,360.75158 L 145.52016,364.40953 L 144.9486,369.32492 L 142.09082,372.06839 L 140.03322,372.75426 L 139.91891,378.58414 L 139.46166,380.29881 L 139.91891,381.09899 L 143.57687,381.67053 L 143.00531,384.41401 L 141.51926,386.58592 z",NV:"M 140.65786,177.57182 L 161.63805,182.08304 L 171.35451,184.02634 L 180.61372,185.85531 L 187.22838,187.48864 L 186.67001,193.35369 L 183.12636,210.68284 L 179.03314,230.66313 L 177.08985,240.3818 L 174.91793,253.66389 L 171.76337,270.07854 L 168.24171,285.76337 L 166.27332,295.94373 L 163.80775,312.71445 L 163.35051,313.8136 L 162.27775,316.28228 L 160.40481,316.16797 L 159.30786,313.4245 L 156.56439,312.92108 L 155.16847,311.93845 L 153.13064,312.25941 L 152.21615,312.99145 L 150.91477,314.3412 L 150.47951,321.31418 L 149.92992,323.02885 L 149.51885,335.12166 L 148.19675,336.83582 L 146.32033,334.57429 L 131.80281,311.82634 L 112.36989,282.79128 L 89.621946,248.95514 L 77.240446,230.3731 L 78.87668,223.80666 L 85.849676,197.858 L 93.737155,166.51015 L 127.34467,174.65279 L 141.06203,177.62488",UT:"M 252.97063,309.30699 L 228.32776,305.83369 L 201.76357,300.94029 L 167.93683,294.92034 L 169.52553,285.76337 L 172.72624,270.55998 L 176.04127,253.98484 L 178.21319,240.3818 L 180.15648,231.46552 L 183.92875,211.00379 L 187.4724,193.51417 L 188.58694,187.94149 L 201.30406,190.19914 L 213.30675,192.25674 L 223.59476,194.08573 L 231.93948,195.45747 L 235.61725,195.93663 L 234.13245,206.56705 L 231.82083,219.73971 L 239.62852,220.66808 L 256.03504,222.47287 L 264.24601,223.32851 L 262.11553,245.29707 L 258.91482,267.86257 L 255.16215,295.68875 L 253.49601,306.79655 z",CO:"M 378.62078,256.79629 L 380.06066,235.51461 L 347.96558,232.45018 L 323.50262,229.75064 L 286.23746,225.63547 L 265.5471,223.12065 L 262.91791,245.29707 L 259.7172,267.70209 L 255.96454,295.68875 L 254.45888,306.79655 L 254.20828,309.55981 L 288.13455,313.35406 L 325.87526,317.62063 L 357.83587,320.7865 L 374.44407,321.63284",NM:"M 282.72425,431.045 L 282.07384,424.9219 L 290.71762,425.4473 L 320.23405,428.5117 L 348.62721,429.95159 L 350.59248,407.61912 L 354.31856,351.74315 L 355.43752,332.35392 L 357.45116,332.70345 L 357.43687,321.62845 L 325.23335,319.22539 L 288.29503,314.79835 L 253.83017,310.68314 L 249.63006,341.44101 L 242.6652,394.64312 L 238.91254,421.56511 L 236.86315,434.87445 L 252.32382,436.8636 L 253.6171,426.84065 L 270.26813,429.42722 z",OR:"M 140.30581,176.68623 L 144.60346,158.78553 L 149.26824,140.9068 L 150.31903,136.67728 L 152.6734,131.05405 L 152.05789,129.89117 L 149.54303,129.84499 L 148.26143,128.17429 L 148.71867,126.71022 L 149.22208,123.46334 L 153.68023,117.97639 L 155.50921,116.87724 L 156.65232,115.73413 L 158.13836,112.1685 L 162.18542,106.4991 L 165.75105,102.6367 L 165.97967,99.185383 L 162.71081,96.716701 L 161.50192,92.206659 L 148.26363,88.462106 L 133.17454,84.918456 L 117.74252,85.032762 L 117.28528,83.661033 L 111.79833,85.718637 L 107.34019,85.147078 L 104.93965,83.546717 L 103.68223,84.232592 L 98.99547,84.00396 L 97.280804,82.632231 L 92.022478,80.574627 L 91.222297,80.688943 L 86.878467,79.202887 L 84.935176,81.03187 L 78.762364,80.688943 L 72.818181,76.573734 L 73.504046,75.773554 L 73.732667,68.000381 L 71.446442,64.113804 L 67.331234,63.542245 L 66.645369,61.027398 L 64.291437,60.560833 L 58.492912,62.619617 L 56.229665,69.086035 L 52.996456,79.108984 L 49.763246,85.575403 L 44.751772,99.639864 L 38.285353,113.21934 L 30.20233,125.82886 L 28.262404,128.73875 L 27.454102,137.30675 L 26.160818,143.28819 L 28.86901,146.81562 L 35.598871,149.06684 L 47.190476,152.35988 L 55.055974,154.89892 L 67.469737,158.5327 L 80.797995,162.12252 L 93.965776,165.68813",ND:"M 471.30528,127.66846 L 470.94037,120.17229 L 468.95092,112.85637 L 467.12193,99.207152 L 466.66469,89.376374 L 464.67523,86.267982 L 463.07487,80.917336 L 463.07487,70.629316 L 463.76073,66.742729 L 461.64538,61.243718 L 433.22188,60.679691 L 414.63093,60.033049 L 388.11861,58.739765 L 363.17227,56.855896 L 361.91155,71.086559 L 360.53981,86.175663 L 358.28133,111.12326 L 357.79515,122.14348 L 414.61127,125.90763 z",SD:"M 472.79706,203.1809 L 471.84336,202.10003 L 470.32265,198.47334 L 472.15163,194.77142 L 473.20241,189.21633 L 470.61942,187.15872 L 470.32265,184.41526 L 470.91618,181.41897 L 473.06612,180.61658 L 473.36289,174.88124 L 473.29475,144.79538 L 472.67702,141.82329 L 468.56181,138.23348 L 467.57918,136.24402 L 467.57918,134.3227 L 469.4763,133.0433 L 471.00852,131.19013 L 471.19098,128.47084 L 413.80889,126.87049 L 357.63468,122.9839 L 356.86798,128.26326 L 355.25497,144.1315 L 353.90976,162.07837 L 352.30941,186.67509 L 368.33718,187.70389 L 387.97453,188.847 L 405.96758,190.15059 L 429.74434,191.45417 L 440.4896,190.67598 L 443.34959,192.96221 L 447.66923,195.93431 L 448.65187,196.68831 L 452.19331,195.798 L 456.24038,195.50124 L 458.98385,195.43309 L 462.09665,196.64436 L 466.64491,198.08424 L 469.77747,199.84507 L 470.3952,201.76638 L 471.30969,203.66351 L 472.01534,203.18207 z",NE:"M 484.24444,246.9897 L 485.61618,249.66503 L 485.70851,251.79078 L 488.06288,255.51689 L 490.78217,258.66923 L 485.73269,258.66923 L 442.25013,257.73055 L 401.46327,256.84025 L 380.27171,255.8796 L 381.34448,234.55175 L 347.96558,231.80828 L 352.30941,187.79842 L 367.85574,188.82723 L 387.97453,189.97033 L 405.8071,191.11345 L 429.58386,192.25656 L 440.32912,191.79932 L 442.38672,194.08554 L 447.1878,197.05764 L 448.33091,197.97213 L 452.67474,196.60039 L 456.56133,196.14315 L 459.3048,195.91452 L 461.13378,197.28626 L 466.16348,198.88662 L 469.13557,200.48698 L 469.59282,202.08734 L 470.50731,204.14494 L 472.33629,204.14494 L 473.13427,204.19111 L 474.11689,209.40326 L 476.86037,217.42924 L 478.09582,222.06983 L 480.22156,225.88828 L 480.74695,230.82564 L 482.18684,235.10132 L 482.73641,241.57092",IA:"M 566.59351,201.62843 L 566.76414,203.57088 L 569.05036,204.71064 L 570.1918,205.96722 L 570.53556,207.22883 L 574.42215,210.43123 L 575.10802,212.60398 L 574.30868,215.46595 L 572.82012,219.01043 L 572.02078,221.75222 L 569.84803,223.35426 L 568.13252,223.92666 L 562.64725,225.41186 L 561.96138,227.69475 L 561.16204,229.9793 L 561.73443,231.35104 L 563.44994,233.06488 L 563.44826,236.72617 L 561.27886,238.32653 L 560.81995,239.81342 L 560.81995,242.32994 L 559.33139,242.78718 L 557.61755,244.15725 L 557.16198,245.64246 L 557.61755,247.35964 L 556.24331,248.56409 L 553.94955,245.87276 L 552.46601,243.24611 L 544.12548,244.04544 L 533.95428,244.61617 L 508.91758,245.30372 L 495.88274,245.53234 L 486.50922,245.76096 L 485.19344,245.88221 L 483.53879,241.41044 L 483.31017,234.78037 L 481.70981,230.66516 L 481.02395,225.40685 L 478.73772,221.74888 L 477.82324,216.94781 L 475.07976,209.40326 L 473.93665,204.03062 L 472.56491,201.85871 L 470.96455,199.11525 L 472.79353,194.77142 L 474.16527,189.05585 L 471.4218,186.99824 L 470.96455,184.25477 L 471.87905,181.73992 L 473.59372,181.73992 L 485.13916,181.73992 L 534.75027,181.05405 L 554.62705,180.36819 L 556.47778,183.115 L 558.31012,185.73663 L 558.76569,186.541 L 556.93503,189.28949 L 557.3906,193.51148 L 559.90546,197.39807 L 562.8742,199.22202 L 565.27892,199.45232 z",MS:"M 624.55882,466.96958 L 624.30456,468.22573 L 619.13142,468.22573 L 617.67648,467.41743 L 615.57489,467.09411 L 608.78515,469.03403 L 607.00689,468.22573 L 604.42032,472.4289 L 603.31778,473.20692 L 602.19395,470.71894 L 601.05083,466.83235 L 597.6215,463.63164 L 598.7646,456.08709 L 598.07874,455.1726 L 596.24976,455.40122 L 588.01934,456.08709 L 563.78534,456.77296 L 563.3281,455.1726 L 564.01397,447.1708 L 567.44331,440.99799 L 572.70163,431.85309 L 571.78714,429.79549 L 572.93025,429.79549 L 573.61612,426.59477 L 571.32989,424.76579 L 571.55852,422.93681 L 569.50091,418.36436 L 569.21513,413.0203 L 570.58686,410.36256 L 570.18678,406.01873 L 568.81504,403.04663 L 570.18678,401.6749 L 568.81504,399.6173 L 569.27229,397.78832 L 570.18678,391.6155 L 573.15887,388.87204 L 572.473,386.81443 L 576.13097,381.5561 L 578.87444,380.64162 L 578.87444,378.12677 L 578.18857,376.75503 L 580.93204,371.49672 L 583.67551,370.3536 L 583.78295,366.94152 L 592.4584,366.86408 L 616.54585,364.92416 L 621.12643,364.69553 L 621.13451,371.06725 L 621.29617,387.71831 L 620.48787,418.75716 L 620.32621,432.82165 L 623.07445,451.57429 z",IN:"M 618.42049,300.8552 L 618.48577,297.99662 L 618.97076,293.47011 L 621.234,290.56023 L 623.01228,286.68036 L 625.59884,282.47719 L 625.11386,276.6574 L 623.3356,273.90917 L 623.01228,270.67596 L 623.82058,265.17949 L 623.3356,258.22808 L 622.0423,242.22367 L 620.74902,226.86591 L 619.77855,215.14589 L 622.84961,216.0354 L 624.30456,217.00536 L 625.43618,216.68204 L 627.53777,214.74212 L 630.36734,213.12513 L 635.46014,212.96309 L 657.44601,210.69983 L 663.02174,210.16667 L 664.52488,226.12288 L 668.77623,262.96443 L 669.37469,268.73603 L 669.00319,270.99928 L 670.23117,272.79465 L 670.32756,274.1672 L 667.80627,275.76671 L 664.26684,277.31802 L 661.06471,277.8683 L 660.46625,282.73523 L 655.89156,286.0477 L 653.09514,290.05814 L 653.41846,292.43487 L 652.83712,293.96907 L 649.51065,293.96907 L 647.92512,292.35247 L 645.43181,293.61467 L 642.74885,295.11781 L 642.91052,298.17226 L 641.71673,298.43029 L 641.24885,297.41215 L 639.08197,295.90901 L 635.83165,297.25049 L 634.28034,300.25674 L 632.8425,299.44844 L 631.38755,297.84893 L 626.92321,298.33392 L 621.33038,299.30388 z",IL:"M 617.80493,301.60133 L 617.80493,297.99662 L 618.06296,293.12969 L 620.43968,289.99286 L 622.21795,286.22646 L 624.80452,282.36371 L 624.43302,277.11131 L 622.42781,273.56874 L 622.33143,270.22206 L 623.02626,264.95255 L 622.20085,257.77418 L 621.13451,241.99673 L 619.84123,226.97939 L 618.91895,215.34019 L 618.64644,214.4188 L 617.83814,211.83223 L 616.54486,208.11404 L 614.92825,206.33577 L 613.47331,203.74921 L 613.23974,198.26025 L 603.33707,199.57249 L 576.13098,201.28716 L 567.44331,200.8585 L 567.67193,203.23045 L 569.95816,203.91632 L 570.87264,205.05943 L 571.32989,206.88841 L 575.21647,210.31775 L 575.90235,212.60398 L 575.21647,216.03332 L 573.38749,219.69128 L 572.70163,222.20612 L 570.4154,224.03511 L 568.58642,224.72098 L 563.3281,226.09271 L 562.64223,227.92169 L 561.95636,229.9793 L 562.64223,231.35104 L 564.47121,232.9514 L 564.24259,237.0666 L 562.4136,238.66696 L 561.72774,240.26732 L 561.72774,243.01079 L 559.89876,243.46803 L 558.2984,244.61115 L 558.06978,245.98289 L 558.2984,248.04049 L 556.58373,249.35506 L 555.55493,252.1557 L 556.01217,255.81365 L 558.2984,263.12958 L 565.61433,270.67413 L 571.10126,274.33209 L 570.87264,278.67592 L 571.78714,280.04766 L 578.18857,280.5049 L 580.93204,281.87664 L 580.24618,285.5346 L 577.95995,291.47879 L 577.27408,294.67951 L 579.5603,298.56609 L 585.96174,303.82441 L 590.5342,304.51028 L 592.59179,309.53998 L 594.6494,312.74069 L 593.73491,315.71278 L 595.33527,319.82799 L 597.16425,321.8856 L 599.10861,321.0933 L 599.7953,318.93012 L 601.8316,317.49228 L 605.06793,316.39174 L 608.15659,317.57154 L 611.03228,318.63788 L 611.82348,318.42804 L 611.75819,317.18606 L 610.69186,314.42072 L 611.12866,312.044 L 613.409,310.47557 L 615.76863,309.48851 L 616.93134,309.06882 L 616.34998,307.74444 L 615.58986,305.57757 L 616.83496,304.31536 z",MN:"M 471.87905,128.47084 L 471.4218,120.0118 L 469.59282,112.69588 L 467.76384,99.207152 L 467.30659,89.376374 L 465.47761,85.947031 L 463.87725,80.917336 L 463.87725,70.629316 L 464.56311,66.742729 L 462.74218,61.291062 L 492.8746,61.326333 L 493.19792,53.081649 L 493.84456,52.919988 L 496.10781,53.40497 L 498.04773,54.213272 L 498.85603,59.709728 L 500.31098,65.852826 L 501.92758,67.469431 L 506.7774,67.469431 L 507.10072,68.924375 L 513.40548,69.247696 L 513.40548,71.349282 L 518.25529,71.349282 L 518.57861,70.055998 L 519.71023,68.924375 L 521.97348,68.277733 L 523.26676,69.247696 L 526.17665,69.247696 L 530.0565,71.834263 L 535.3913,74.25917 L 537.81621,74.744152 L 538.30119,73.774189 L 539.75613,73.289207 L 540.24111,76.199096 L 542.82768,77.49238 L 543.31266,77.007398 L 544.60595,77.169059 L 544.60595,79.270645 L 547.19251,80.240608 L 550.26406,80.240608 L 551.88067,79.432305 L 555.11388,76.199096 L 557.70044,75.714115 L 558.50875,77.49238 L 558.99373,78.785663 L 559.96369,78.785663 L 560.93365,77.977361 L 569.82498,77.65404 L 571.60324,80.725589 L 572.24989,80.725589 L 572.9635,79.64131 L 577.40341,79.270645 L 576.79131,81.550104 L 572.85259,83.387229 L 563.60681,87.448357 L 558.83207,89.455254 L 555.76052,92.041822 L 553.33561,95.598352 L 551.07237,99.478203 L 549.2941,100.28651 L 544.76761,105.29798 L 543.47432,105.45964 L 539.63268,108.39354 L 536.81624,111.55445 L 536.58762,114.52487 L 536.81457,122.30306 L 535.21755,123.90342 L 529.95924,128.01694 L 528.12691,133.73419 L 530.6451,137.38211 L 531.10402,139.90198 L 529.95589,142.87575 L 529.72893,146.53538 L 530.18618,153.61933 L 533.61218,157.72618 L 536.58762,157.72618 L 539.09745,160.01909 L 542.29984,161.38414 L 545.95948,166.41886 L 553.04677,171.44186 L 554.87742,173.50448 L 555.11107,179.00649 L 534.52332,179.69236 L 474.27457,180.15128 L 473.93665,144.47443 L 473.47941,141.50234 L 469.3642,138.073 L 468.22108,136.24402 L 468.22108,134.64365 L 470.27868,133.0433 L 471.65042,131.67156 z",WI:"M 612.94089,197.18116 L 613.31165,194.21124 L 611.69504,189.68474 L 611.0484,183.54165 L 609.91678,181.11674 L 610.88674,178.04519 L 611.69504,175.1353 L 613.14999,172.54874 L 612.50334,169.15387 L 611.8567,165.59734 L 612.34168,163.81907 L 614.28161,161.39416 L 614.44327,158.64593 L 613.63497,157.35265 L 614.28161,154.76608 L 614.76659,151.53287 L 617.51482,145.87476 L 620.42471,139.08502 L 620.58637,136.82177 L 620.26305,135.85181 L 619.45474,136.33679 L 615.25157,142.64155 L 612.50334,146.68306 L 610.56342,148.46133 L 609.75512,150.72457 L 608.30017,151.53287 L 607.16855,153.4728 L 605.7136,153.14948 L 605.55194,151.37121 L 606.84523,148.94631 L 608.94681,144.25815 L 610.72508,142.64155 L 611.8264,140.34999 L 610.19574,139.44474 L 608.824,138.073 L 607.22364,127.78498 L 603.56569,126.64187 L 602.19395,124.35564 L 589.6197,121.61217 L 587.10485,120.46906 L 578.87444,118.18283 L 570.64402,117.03971 L 566.47456,111.63491 L 565.94513,112.89602 L 564.81351,112.73436 L 564.16686,111.60274 L 561.41864,110.79444 L 560.28701,110.9561 L 558.50875,111.92606 L 557.53878,111.27942 L 558.18543,109.33949 L 560.12535,106.26794 L 561.25697,105.13632 L 559.31705,103.68138 L 557.21546,104.48968 L 554.30557,106.4296 L 546.86919,109.66281 L 543.9593,110.30945 L 541.04942,109.82447 L 540.06769,108.94622 L 537.95099,111.7814 L 537.72237,114.52487 L 537.72237,122.9839 L 536.57925,124.58427 L 531.32093,128.47084 L 529.03471,134.41503 L 529.49195,134.64365 L 532.0068,136.70126 L 532.69266,139.90198 L 530.86368,143.10269 L 530.86368,146.98928 L 531.32093,153.61933 L 534.29302,156.59143 L 537.72237,156.59143 L 539.55135,159.79215 L 542.98068,160.24939 L 546.86727,165.96496 L 553.95457,170.08017 L 556.01217,172.82364 L 556.92667,180.25388 L 557.61253,183.5689 L 559.89876,185.16926 L 560.12738,186.541 L 558.06978,189.97033 L 558.2984,193.17106 L 560.81325,197.05764 L 563.3281,198.20075 L 566.30019,198.65799 L 567.64253,200.03811 L 576.81603,200.03809 L 602.88316,198.55122 z",MO:"M 555.78857,249.52738 L 553.2687,246.44013 L 552.12558,244.1539 L 544.35242,244.83977 L 534.52164,245.29701 L 509.14453,246.21151 L 495.6558,246.44013 L 487.76835,246.55444 L 485.48209,246.66875 L 486.73952,249.1836 L 486.5109,251.46982 L 489.02574,255.35641 L 492.11214,259.47162 L 495.19855,262.21509 L 497.48478,262.44371 L 498.85651,263.35821 L 498.85651,266.3303 L 497.02754,267.93066 L 496.57028,270.21688 L 498.62789,273.64623 L 501.14275,276.61832 L 503.65759,278.4473 L 505.02932,290.10705 L 504.34346,325.42926 L 504.57208,330.11601 L 505.02932,335.49952 L 528.46231,335.3827 L 551.66834,334.69683 L 572.473,333.89582 L 584.12774,333.66552 L 586.29714,337.09152 L 585.61295,340.39902 L 582.5257,342.80206 L 581.95331,344.6394 L 587.3318,345.09666 L 591.22676,344.41078 L 592.94394,338.91715 L 593.59536,333.06036 L 595.91436,331.03553 L 597.62651,329.54864 L 599.68412,328.519 L 599.79926,325.65871 L 600.37334,323.9432 L 599.34202,322.19493 L 596.59688,322.3395 L 594.42748,319.71451 L 593.05406,315.48584 L 593.85507,312.96764 L 591.91094,309.53998 L 590.0803,304.96418 L 585.28089,304.16484 L 578.31209,298.56609 L 576.59323,294.45256 L 577.39258,291.25184 L 579.45185,285.19417 L 579.91077,282.33054 L 577.96163,281.29923 L 571.10629,280.50156 L 570.07832,278.7894 L 569.96652,274.55904 L 564.47958,271.12803 L 557.50407,263.35653 L 555.21785,256.0406 L 554.98756,251.81528 z",AR:"M 590.95215,344.95331 L 587.10485,345.89098 L 580.93204,345.43373 L 581.61791,342.46164 L 584.81863,339.71817 L 585.27587,337.43194 L 583.44689,334.45984 L 572.473,334.91709 L 551.66834,335.83158 L 528.34883,336.51745 L 505.02932,336.97469 L 506.62968,343.83338 L 506.62967,352.0638 L 508.00142,363.03779 L 508.23004,400.87472 L 510.51627,402.81801 L 513.48836,401.44628 L 516.23184,402.58939 L 516.66218,412.91269 L 539.548,412.77064 L 558.41187,411.96962 L 568.53344,411.77209 L 569.67907,409.68172 L 569.39245,406.13221 L 567.56682,403.16011 L 569.16551,401.6749 L 567.56682,399.1634 L 568.25102,396.65357 L 569.61941,391.04814 L 572.1376,388.98551 L 571.45173,386.70095 L 575.1097,381.32916 L 577.85317,379.96077 L 577.73969,378.46719 L 577.39425,376.64155 L 580.2512,371.04282 L 582.65424,369.78623 L 583.03837,366.3586 L 584.80904,365.1169 L 585.66552,360.88263 L 584.32406,356.87219 L 588.36558,354.49548 L 588.91584,352.47628 L 590.15112,348.2087 z",OK:"M 375.34313,322.57146 L 364.65498,322.11427 L 358.22497,321.62845 L 358.48217,321.82848 L 357.77873,332.25058 L 379.74411,333.65746 L 411.79966,334.96106 L 409.46506,359.37971 L 409.00781,377.21228 L 409.23644,378.81264 L 413.58027,382.4706 L 415.63787,383.61371 L 416.32374,383.38509 L 417.00961,381.32748 L 418.38135,383.15647 L 420.43895,383.15647 L 420.43895,381.78473 L 423.18242,383.15647 L 422.72518,387.04305 L 426.84039,387.27167 L 429.35523,388.41479 L 433.47044,389.10066 L 435.98529,390.92964 L 438.27152,388.87204 L 441.70086,389.5579 L 444.21571,392.98724 L 445.13019,392.98724 L 445.13019,395.27347 L 447.41642,395.95933 L 449.70264,393.67311 L 451.53163,394.35897 L 454.04647,394.35897 L 454.96097,396.87383 L 459.76204,398.7028 L 461.13378,398.01694 L 462.96276,393.90173 L 464.10587,393.90173 L 465.24899,395.95933 L 469.3642,396.6452 L 473.02215,398.01694 L 475.99425,398.93143 L 477.82324,398.01694 L 478.5091,395.50209 L 482.85293,395.50209 L 484.91053,396.41658 L 487.654,394.35897 L 488.79712,394.35897 L 489.48299,395.95933 L 493.59819,395.95933 L 495.19855,393.90173 L 497.02754,394.35897 L 499.08514,396.87383 L 502.28585,398.7028 L 505.48658,399.6173 L 507.42766,400.73623 L 507.03856,363.51922 L 505.66681,352.54524 L 505.50635,343.6729 L 504.06646,337.13517 L 503.28826,329.95553 L 503.22012,326.13931 L 491.08328,326.45805 L 444.67324,326.00081 L 399.63433,323.94319 z",KS:"M 503.38059,325.13028 L 490.76233,325.33471 L 444.67324,324.87748 L 400.11576,322.81985 L 375.48602,321.56244 L 379.62981,256.84247 L 401.46327,257.64264 L 441.92918,259.01437 L 486.05364,259.47162 L 491.14927,259.47162 L 494.39617,262.69652 L 497.16383,262.92514 L 498.05413,264.00011 L 498.05413,266.00934 L 496.22515,267.60971 L 495.7679,270.21688 L 497.98598,273.80671 L 500.50084,276.93927 L 503.01569,278.92873 L 504.06646,290.10705 z",LA:"M 602.20213,472.99473 L 601.17268,470.37851 L 600.02956,467.28625 L 596.7137,463.74511 L 597.62986,456.99488 L 597.51137,455.85345 L 596.24976,456.19555 L 588.01934,457.10836 L 562.99102,457.56728 L 562.30683,455.1726 L 563.21964,446.7169 L 566.53552,440.77105 L 571.56688,432.08003 L 570.99281,429.68201 L 572.2494,429.00116 L 572.70833,427.04867 L 570.42209,424.99274 L 570.3103,423.05029 L 568.47964,418.70478 L 568.02323,412.76393 L 558.2984,412.87741 L 539.0941,413.79191 L 516.88913,413.82048 L 516.9177,423.39405 L 517.60357,432.76758 L 518.28944,436.65416 L 520.80429,440.76937 L 521.71878,445.79908 L 526.06261,451.28601 L 526.29123,454.48673 L 526.9771,455.1726 L 526.29123,463.63164 L 523.31914,468.66133 L 524.9195,470.71894 L 524.23362,473.23378 L 523.54776,480.54971 L 522.17602,483.75042 L 522.29848,487.36687 L 526.98496,485.84672 L 535.06798,485.5234 L 545.41425,489.07993 L 551.88067,490.21156 L 555.59886,488.75661 L 558.83207,489.88824 L 562.06528,490.8582 L 562.87358,488.75661 L 559.64037,487.62499 L 557.0538,488.10997 L 554.30557,486.49337 C 554.30557,486.49337 554.46724,485.20008 555.11388,485.03842 C 555.76052,484.87676 558.18543,484.06846 558.18543,484.06846 L 559.96369,485.5234 L 561.74196,484.55344 L 564.97517,485.20008 L 566.43011,487.62499 L 566.75343,489.88824 L 571.27992,490.21156 L 573.05819,491.98982 L 572.24989,493.60643 L 570.9566,494.41473 L 572.57321,496.03133 L 580.97955,499.58786 L 584.53608,498.29458 L 585.50605,495.86967 L 588.09261,495.22303 L 589.87088,493.76809 L 591.16416,494.73805 L 591.97246,497.64794 L 589.70922,498.45624 L 590.35586,499.10288 L 593.75073,497.8096 L 596.01398,494.41473 L 596.82228,493.92975 L 594.72069,493.60643 L 595.52899,491.98982 L 595.36733,490.53488 L 597.46892,490.0499 L 598.60054,488.75661 L 599.24718,489.56491 C 599.24718,489.56491 599.08552,492.63646 599.89383,492.63646 C 600.70213,492.63646 604.097,493.28311 604.097,493.28311 L 608.13851,495.22303 L 609.10847,496.67798 L 612.01836,496.67798 L 613.14999,497.64794 L 615.41323,494.57639 L 615.41323,493.12144 L 614.11995,493.12144 L 610.72508,490.37322 L 604.9053,489.56491 L 601.67209,487.30167 L 602.80372,484.55344 L 605.06696,484.87676 L 605.22862,484.23012 L 603.45036,483.26016 L 603.45036,482.77517 L 606.68357,482.77517 L 608.46183,479.70363 L 607.16855,477.7637 L 606.84523,475.01547 L 605.39028,475.17713 L 603.45036,477.27872 L 602.80372,479.86529 L 599.73217,479.21864 L 598.7622,477.44038 L 600.54047,475.50045 L 602.56122,473.7222 z",VA:"M 828.90662,269.2457 L 828.76271,267.29867 L 835.21614,264.74879 L 834.44573,267.96663 L 831.52578,271.74574 L 831.10769,276.33156 L 831.56944,279.722 L 829.74147,284.70016 L 827.5772,286.6163 L 826.10686,281.97549 L 826.55275,276.52638 L 828.13975,272.34331 z M 831.18615,297.54706 L 773.01197,310.12249 L 735.585,315.40156 L 728.90667,315.02638 L 726.32142,316.95276 L 718.98229,317.17345 L 710.60018,318.15112 L 701.67396,319.10283 L 710.15465,314.15454 L 710.14153,312.07961 L 711.66158,309.93348 L 722.21536,298.43205 L 726.16208,302.90951 L 729.94509,303.87349 L 732.48855,302.73317 L 734.72577,301.42201 L 737.26238,302.76553 L 741.17655,301.33777 L 743.05328,296.78143 L 745.6542,297.32145 L 748.50944,295.1902 L 750.30871,295.6838 L 753.13592,292.00723 L 753.48417,289.92412 L 752.52051,288.64855 L 753.52328,286.78192 L 758.79755,274.50477 L 759.41432,268.76969 L 760.64321,268.24615 L 762.82174,270.68902 L 766.7576,270.38785 L 768.68681,262.81422 L 771.4808,262.25336 L 772.53055,259.51229 L 775.11037,257.16541 L 776.37834,254.8232 L 777.8822,251.47022 L 777.96713,246.40267 L 787.78864,250.22549 C 788.46949,250.56591 788.44474,245.44151 788.44474,245.44151 L 792.49505,246.81886 L 792.03305,249.44766 L 800.18916,252.38732 L 801.48203,254.18171 L 800.61409,257.86385 L 799.35101,259.18967 L 798.84509,260.93571 L 799.339,263.33843 L 801.29798,264.61681 L 805.21607,266.06202 L 808.16474,267.02998 L 813.02121,267.97209 L 815.17352,270.06055 L 818.36396,270.46308 L 819.23203,271.6631 L 818.79254,276.35318 L 820.16727,277.45573 L 819.68832,279.38612 L 820.91773,280.17589 L 820.69593,281.56049 L 818.00194,281.46555 L 818.0909,283.08107 L 820.37189,284.62394 L 820.49343,286.03584 L 822.26654,287.82122 L 822.75833,290.34535 L 820.20529,291.72666 L 821.77751,293.22096 L 827.57853,291.53513 z",DC:"M 801.75695,253.84384 L 800.67992,252.20717 L 799.66604,251.36463 L 800.7653,249.74841 L 802.99814,251.25941 z"},i={},t;for(t in r)i={},this.options.stateSpecificStyles[t]?n.extend(i,u,this.options.stateSpecificStyles[t]):i=u,this.stateShapes[t]=f.path(r[t]).attr(i),this.topShape=this.stateShapes[t],this.stateHitAreas[t]=f.path(r[t]).attr({fill:"#000","stroke-width":0,opacity:0,cursor:"pointer"}),this.stateHitAreas[t].node.dataState=t;this._onClickProxy=n.proxy(this,"_onClick");this._onMouseOverProxy=n.proxy(this,"_onMouseOver");this._onMouseOutProxy=n.proxy(this,"_onMouseOut");for(t in this.stateHitAreas)this.stateHitAreas[t].toFront(),n(this.stateHitAreas[t].node).bind("mouseout",this._onMouseOutProxy),n(this.stateHitAreas[t].node).bind("click",this._onClickProxy),n(this.stateHitAreas[t].node).bind("mouseover",this._onMouseOverProxy)},_initCreateLabels:function(){for(var e=this.paper,h=["VT","NH","MA","RI","CT","NJ","DE","MD","DC"],c=this.options.labelWidth,l=this.options.labelHeight,a=this.options.labelGap,w=this.options.labelRadius,o=c/this.scale,s=l/this.scale,b=(c+a)/this.scale,k=(l+a)/this.scale*.5,v=w/this.scale,y=this.options.labelBackingStyles,p=this.options.labelTextStyles,i={},u,f,t,r=0;r<h.length;++r)t=h[r],u=(r+1)%2*b+860,f=r*k+220,i={},this.options.stateSpecificLabelBackingStyles[t]?n.extend(i,y,this.options.stateSpecificLabelBackingStyles[t]):i=y,this.labelShapes[t]=e.rect(u,f,o,s,v).attr(i),i={},this.options.stateSpecificLabelTextStyles[t]?n.extend(i,p,this.options.stateSpecificLabelTextStyles[t]):n.extend(i,p),i["font-size"]&&(i["font-size"]=parseInt(i["font-size"])/this.scale+"px"),this.labelTexts[t]=e.text(u+o/2,f+s/2,t).attr(i),this.labelHitAreas[t]=e.rect(u,f,o,s,v).attr({fill:"#000","stroke-width":0,opacity:0,cursor:"pointer"}),this.labelHitAreas[t].node.dataState=t;for(t in this.labelHitAreas)this.labelHitAreas[t].toFront(),n(this.labelHitAreas[t].node).bind("mouseout",this._onMouseOutProxy),n(this.labelHitAreas[t].node).bind("click",this._onClickProxy),n(this.labelHitAreas[t].node).bind("mouseover",this._onMouseOverProxy)},_getStateFromEvent:function(n){var t=n.target&&n.target.dataState||n.dataState;return this._getState(t)},_getState:function(n){var t=this.stateShapes[n],i=this.stateHitAreas[n],r=this.labelShapes[n],u=this.labelTexts[n],f=this.labelHitAreas[n];return{shape:t,hitArea:i,name:n,labelBacking:r,labelText:u,labelHitArea:f}},_onMouseOut:function(n){var t=this._getStateFromEvent(n);if(t.hitArea)return!this._triggerEvent("mouseout",n,t)},_defaultMouseOutAction:function(t){var i={};this.options.stateSpecificStyles[t.name]?n.extend(i,this.options.stateStyles,this.options.stateSpecificStyles[t.name]):i=this.options.stateStyles;t.shape.animate(i,this.options.stateHoverAnimation);t.labelBacking&&(i={},this.options.stateSpecificLabelBackingStyles[t.name]?n.extend(i,this.options.labelBackingStyles,this.options.stateSpecificLabelBackingStyles[t.name]):i=this.options.labelBackingStyles,t.labelBacking.animate(i,this.options.stateHoverAnimation))},_onClick:function(n){var t=this._getStateFromEvent(n);if(t.hitArea)return!this._triggerEvent("click",n,t)},_onMouseOver:function(n){var t=this._getStateFromEvent(n);if(t.hitArea)return!this._triggerEvent("mouseover",n,t)},_defaultMouseOverAction:function(t){var i;this.bringShapeToFront(t.shape);this.paper.safari();i={};this.options.stateSpecificHoverStyles[t.name]?n.extend(i,this.options.stateHoverStyles,this.options.stateSpecificHoverStyles[t.name]):i=this.options.stateHoverStyles;t.shape.animate(i,this.options.stateHoverAnimation);t.labelBacking&&(i={},this.options.stateSpecificLabelBackingHoverStyles[t.name]?n.extend(i,this.options.labelBackingHoverStyles,this.options.stateSpecificLabelBackingHoverStyles[t.name]):i=this.options.labelBackingHoverStyles,t.labelBacking.animate(i,this.options.stateHoverAnimation))},_triggerEvent:function(t,i,r){var o=r.name,u=!1,f=n.Event("usmap"+t+o),e;if(f.originalEvent=i,this.options[t+"State"][o]&&(u=this.options[t+"State"][o](f,r)===!1),f.isPropagationStopped()&&(this.element.trigger(f,[r]),u=u||f.isDefaultPrevented()),f.isPropagationStopped()||(e=n.Event("usmap"+t),e.originalEvent=i,this.options[t]&&(u=this.options[t](e,r)===!1||u),e.isPropagationStopped()||(this.element.trigger(e,[r]),u=u||e.isDefaultPrevented())),!u)switch(t){case"mouseover":this._defaultMouseOverAction(r);break;case"mouseout":this._defaultMouseOutAction(r)}return!u},trigger:function(n,t,i){t=t.replace("usmap","");n=n.toUpperCase();var r=this._getState(n);this._triggerEvent(t,i,r)},bringShapeToFront:function(n){this.topShape&&n.insertAfter(this.topShape);this.topShape=n}};o(n,"usmap",h,[])}(jQuery,document,window,Raphael),function(){function t(){}function u(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function i(n){return function(){return this[n].apply(this,arguments)}}var n=t.prototype,r=this,f=r.EventEmitter;n.getListeners=function(n){var t=this._getEvents(),r,i;if(typeof n=="object"){r={};for(i in t)t.hasOwnProperty(i)&&n.test(i)&&(r[i]=t[i])}else r=t[n]||(t[n]=[]);return r};n.flattenListeners=function(n){for(var i=[],t=0;t<n.length;t+=1)i.push(n[t].listener);return i};n.getListenersAsObject=function(n){var t=this.getListeners(n),i;return t instanceof Array&&(i={},i[n]=t),i||t};n.addListener=function(n,t){var i=this.getListenersAsObject(n),f=typeof t=="object",r;for(r in i)i.hasOwnProperty(r)&&u(i[r],t)===-1&&i[r].push(f?t:{listener:t,once:!1});return this};n.on=i("addListener");n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})};n.once=i("addOnceListener");n.defineEvent=function(n){return this.getListeners(n),this};n.defineEvents=function(n){for(var t=0;t<n.length;t+=1)this.defineEvent(n[t]);return this};n.removeListener=function(n,t){var i=this.getListenersAsObject(n),f,r;for(r in i)i.hasOwnProperty(r)&&(f=u(i[r],t),f!==-1&&i[r].splice(f,1));return this};n.off=i("removeListener");n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)};n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)};n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if(typeof t!="object"||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&(typeof u=="function"?f.call(this,r,u):e.call(this,r,u));return this};n.removeEvent=function(n){var r=typeof n,t=this._getEvents(),i;if(r==="string")delete t[n];else if(r==="object")for(i in t)t.hasOwnProperty(i)&&n.test(i)&&delete t[i];else delete this._events;return this};n.removeAllListeners=i("removeEvent");n.emitEvent=function(n,t){var r=this.getListenersAsObject(n),i,f,u,e;for(u in r)if(r.hasOwnProperty(u))for(f=r[u].length;f--;)i=r[u][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this};n.trigger=i("emitEvent");n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)};n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this};n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0};n._getEvents=function(){return this._events||(this._events={})};t.noConflict=function(){return r.EventEmitter=f,t};typeof define=="function"&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):typeof module=="object"&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(n){function f(t){var i=n.event;return i.target=i.target||i.srcElement||t,i}var t=document.documentElement,r=function(){},i,u;t.addEventListener?r=function(n,t,i){n.addEventListener(t,i,!1)}:t.attachEvent&&(r=function(n,t,i){n[t+i]=i.handleEvent?function(){var t=f(n);i.handleEvent.call(i,t)}:function(){var t=f(n);i.call(n,t)};n.attachEvent("on"+t,n[t+i])});i=function(){};t.removeEventListener?i=function(n,t,i){n.removeEventListener(t,i,!1)}:t.detachEvent&&(i=function(n,t,i){n.detachEvent("on"+t,n[t+i]);try{delete n[t+i]}catch(r){n[t+i]=undefined}});u={bind:r,unbind:i};typeof define=="function"&&define.amd?define("eventie/eventie",u):n.eventie=u}(this),function(n){function r(n,t){for(var i in t)n[i]=t[i];return n}function o(n){return e.call(n)==="[object Array]"}function s(n){var t=[],i,r;if(o(n))t=n;else if(typeof n.length=="number")for(i=0,r=n.length;i<r;i++)t.push(n[i]);else t.push(n);return t}function u(n,u){function e(n,i,u){if(!(this instanceof e))return new e(n,i);if(typeof n=="string"&&(n=document.querySelectorAll(n)),this.elements=s(n),this.options=r({},this.options),typeof i=="function"?u=i:r(this.options,i),u)this.on("always",u);this.getImages();t&&(this.jqDeferred=new t.Deferred);var f=this;setTimeout(function(){f.check()})}function h(n){this.img=n}function o(n){this.src=n;c[n]=this}e.prototype=new n;e.prototype.options={};e.prototype.getImages=function(){var n,u,t,r,i,f,e;for(this.images=[],n=0,u=this.elements.length;n<u;n++)for(t=this.elements[n],t.nodeName==="IMG"&&this.addImage(t),r=t.querySelectorAll("img"),i=0,f=r.length;i<f;i++)e=r[i],this.addImage(e)};e.prototype.addImage=function(n){var t=new h(n);this.images.push(t)};e.prototype.check=function(){function o(n,u){return t.options.debug&&f&&i.log("confirm",n,u),t.progress(n),e++,e===r&&t.complete(),!0}var t=this,e=0,r=this.images.length,n,u;if(this.hasAnyBroken=!1,!r){this.complete();return}for(n=0;n<r;n++){u=this.images[n];u.on("confirm",o);u.check()}};e.prototype.progress=function(n){this.hasAnyBroken=this.hasAnyBroken||!n.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,n);t.jqDeferred&&t.jqDeferred.notify(t,n)})};e.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done",n;this.isComplete=!0;n=this;setTimeout(function(){if(n.emit(t,n),n.emit("always",n),n.jqDeferred){var i=n.hasAnyBroken?"reject":"resolve";n.jqDeferred[i](n)}})};t&&(t.fn.imagesLoaded=function(n,i){var r=new e(this,n,i);return r.jqDeferred.promise(t(this))});h.prototype=new n;h.prototype.check=function(){var n=c[this.img.src]||new o(this.img.src),t;if(n.isConfirmed){this.confirm(n.isLoaded,"cached was confirmed");return}if(this.img.complete&&this.img.naturalWidth!==undefined){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}t=this;n.on("confirm",function(n,i){return t.confirm(n.isLoaded,i),!0});n.check()};h.prototype.confirm=function(n,t){this.isLoaded=n;this.emit("confirm",this,t)};var c={};return o.prototype=new n,o.prototype.check=function(){if(!this.isChecked){var n=new Image;u.bind(n,"load",this);u.bind(n,"error",this);n.src=this.src;this.isChecked=!0}},o.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},o.prototype.onload=function(n){this.confirm(!0,"onload");this.unbindProxyEvents(n)},o.prototype.onerror=function(n){this.confirm(!1,"onerror");this.unbindProxyEvents(n)},o.prototype.confirm=function(n,t){this.isConfirmed=!0;this.isLoaded=n;this.emit("confirm",this,t)},o.prototype.unbindProxyEvents=function(n){u.unbind(n.target,"load",this);u.unbind(n.target,"error",this)},e}var t=n.jQuery,i=n.console,f=typeof i!="undefined",e=Object.prototype.toString;typeof define=="function"&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],u):n.imagesLoaded=u(n.EventEmitter,n.eventie)}(window),function(n){function i(i,r,u){function s(){f.afterLoaded();f.settings.hideFramesUntilPreloaded&&f.settings.preloader!==undefined&&f.settings.preloader!==!1&&f.frames.show();f.settings.preloader!==undefined&&f.settings.preloader!==!1?f.settings.hidePreloaderUsingCSS&&f.transitionsSupported?(f.prependPreloadingCompleteTo=f.settings.prependPreloadingComplete===!0?f.settings.preloader:n(f.settings.prependPreloadingComplete),f.prependPreloadingCompleteTo.addClass("preloading-complete"),setTimeout(l,f.settings.hidePreloaderDelay)):f.settings.preloader.fadeOut(f.settings.hidePreloaderDelay,function(){clearInterval(f.defaultPreloader);l()}):l()}function a(t,i){var e=[],r,u;if(i)for(u=t;u>0;u--)e.push(n("body").find('img[src="'+f.settings.preloadTheseImages[u-1]+'"]'));else for(r=t;r>0;r--)f.frames.eq(f.settings.preloadTheseFrames[r-1]-1).find("img").each(function(){e.push(n(this)[0])});return e}function v(t,i){function l(){var t=n(s),o=n(f);u&&(f.length?u.reject(r,t,o):u.resolve(r));n.isFunction(i)&&i.call(e,r,t,o)}function h(t,i){t.src!==c&&n.inArray(t,o)===-1&&(o.push(t),i?f.push(t):s.push(t),n.data(t,"imagesLoaded",{isBroken:i,src:t.src}),a&&u.notifyWith(n(t),[i,r,n(s),n(f)]),r.length===o.length&&(setTimeout(l),r.unbind(".imagesLoaded")))}var c="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",e=t,u=n.isFunction(n.Deferred)?n.Deferred():0,a=n.isFunction(u.notify),r=e.find("img").add(e.filter("img")),o=[],s=[],f=[];n.isPlainObject(i)&&n.each(i,function(n,t){n==="callback"?i=t:u&&u[n](t)});r.length?r.bind("load.imagesLoaded error.imagesLoaded",function(n){h(n.target,n.type==="error")}).each(function(t,i){var u=i.src,r=n.data(i,"imagesLoaded");if(r&&r.src===u){h(i,r.isBroken);return}if(i.complete&&i.naturalWidth!==undefined){h(i,i.naturalWidth===0||i.naturalHeight===0);return}(i.readyState||i.complete)&&(i.src=c,i.src=u)}):l()}function l(){function r(n,t){var r,i;for(i in t)r=i==="left"||i==="right"?u[i]:i,n===parseFloat(r)&&f._initCustomKeyEvent(t[i])}function e(){f.canvas.on("touchmove.sequence",o);i=null;t=!1}function o(n){if(f.settings.swipePreventsDefault&&n.preventDefault(),t){var o=n.originalEvent.touches[0].pageX,h=n.originalEvent.touches[0].pageY,r=i-o,u=s-h;Math.abs(r)>=f.settings.swipeThreshold?(e(),r>0?f._initCustomKeyEvent(f.settings.swipeEvents.left):f._initCustomKeyEvent(f.settings.swipeEvents.right)):Math.abs(u)>=f.settings.swipeThreshold&&(e(),u>0?f._initCustomKeyEvent(f.settings.swipeEvents.down):f._initCustomKeyEvent(f.settings.swipeEvents.up))}}function h(n){if(n.originalEvent.touches.length===1){i=n.originalEvent.touches[0].pageX;s=n.originalEvent.touches[0].pageY;t=!0;f.canvas.on("touchmove.sequence",o)}}var u,i,s,t;if(n(f.settings.preloader).remove(),f.nextButton=f._renderUiElements(f.settings.nextButton,".sequence-next"),f.prevButton=f._renderUiElements(f.settings.prevButton,".sequence-prev"),f.pauseButton=f._renderUiElements(f.settings.pauseButton,".sequence-pause"),f.pagination=f._renderUiElements(f.settings.pagination,".sequence-pagination"),f.nextButton!==undefined&&f.nextButton!==!1&&f.settings.showNextButtonOnInit===!0&&f.nextButton.show(),f.prevButton!==undefined&&f.prevButton!==!1&&f.settings.showPrevButtonOnInit===!0&&f.prevButton.show(),f.pauseButton!==undefined&&f.pauseButton!==!1&&f.settings.showPauseButtonOnInit===!0&&f.pauseButton.show(),f.settings.pauseIcon!==!1?(f.pauseIcon=f._renderUiElements(f.settings.pauseIcon,".sequence-pause-icon"),f.pauseIcon!==undefined&&f.pauseIcon.hide()):f.pauseIcon=undefined,f.pagination!==undefined&&f.pagination!==!1){f.paginationLinks=f.pagination.children();f.paginationLinks.on("click.sequence",function(){var t=n(this).index()+1;f.goTo(t)});f.settings.showPaginationOnInit===!0&&f.pagination.show()}f.nextFrameID=f.settings.startingFrameID;f.settings.hashTags===!0&&(f.frames.each(function(){f.frameHashID.push(n(this).prop(f.getHashTagFrom))}),f.currentHashTag=location.hash.replace("#",""),f.currentHashTag===undefined||f.currentHashTag===""?f.nextFrameID=f.settings.startingFrameID:(f.frameHashIndex=n.inArray(f.currentHashTag,f.frameHashID),f.nextFrameID=f.frameHashIndex!==-1?f.frameHashIndex+1:f.settings.startingFrameID));f.nextFrame=f.frames.eq(f.nextFrameID-1);f.nextFrameChildren=f.nextFrame.children();f.pagination!==undefined&&n(f.paginationLinks[f.settings.startingFrameID-1]).addClass("current");f.transitionsSupported?f.settings.animateStartingFrameIn?f.settings.reverseAnimationsWhenNavigatingBackwards&&f.settings.autoPlayDirection-1&&f.settings.animateStartingFrameIn?(f._resetElements(f.transitionPrefix,f.nextFrameChildren,"0s"),f.nextFrame.addClass("animate-out"),f.goTo(f.nextFrameID,-1,!0)):f.goTo(f.nextFrameID,1,!0):(f.currentFrameID=f.nextFrameID,f.settings.moveActiveFrameToTop&&f.nextFrame.css("z-index",f.numberOfFrames),f._resetElements(f.transitionPrefix,f.nextFrameChildren,"0s"),f.nextFrame.addClass("animate-in"),f.settings.hashTags&&f.settings.hashChangesOnFirstFrame&&(f.currentHashTag=f.nextFrame.prop(f.getHashTagFrom),document.location.hash="#"+f.currentHashTag),setTimeout(function(){f._resetElements(f.transitionPrefix,f.nextFrameChildren,"")},100),f._resetAutoPlay(!0,f.settings.autoPlayDelay)):(f.container.addClass("sequence-fallback"),f.currentFrameID=f.nextFrameID,f.settings.hashTags&&f.settings.hashChangesOnFirstFrame&&(f.currentHashTag=f.nextFrame.prop(f.getHashTagFrom),document.location.hash="#"+f.currentHashTag),f.frames.addClass("animate-in"),f.frames.not(":eq("+(f.nextFrameID-1)+")").css({display:"none",opacity:0}),f._resetAutoPlay(!0,f.settings.autoPlayDelay));f.nextButton!==undefined&&f.nextButton.bind("click.sequence",function(){f.next()});f.prevButton!==undefined&&f.prevButton.bind("click.sequence",function(){f.prev()});f.pauseButton!==undefined&&f.pauseButton.bind("click.sequence",function(){f.pause(!0)});f.settings.keyNavigation&&(u={left:37,right:39},n(document).bind("keydown.sequence",function(n){var t=String.fromCharCode(n.keyCode);t>0&&t<=f.numberOfFrames&&f.settings.numericKeysGoToFrames&&(f.nextFrameID=t,f.goTo(f.nextFrameID));r(n.keyCode,f.settings.keyEvents);r(n.keyCode,f.settings.customKeyEvents)}));f.canvas.on({"mouseenter.sequence":function(){f.settings.pauseOnHover&&f.settings.autoPlay&&!f.hasTouch&&(f.isBeingHoveredOver=!0,f.isHardPaused||f.pause())},"mouseleave.sequence":function(){f.settings.pauseOnHover&&f.settings.autoPlay&&!f.hasTouch&&(f.isBeingHoveredOver=!1,f.isHardPaused||f.unpause())}});if(f.settings.hashTags&&n(window).bind("hashchange.sequence",function(){var t=location.hash.replace("#","");f.currentHashTag!==t&&(f.currentHashTag=t,f.frameHashIndex=n.inArray(f.currentHashTag,f.frameHashID),f.frameHashIndex!==-1&&(f.nextFrameID=f.frameHashIndex+1,f.goTo(f.nextFrameID)))}),f.settings.swipeNavigation&&f.hasTouch){t=!1;f.canvas.on("touchstart.sequence",h)}}var f=this,e,o,h,c;if(f.container=n(i),f.canvas=f.container.children(".sequence-canvas"),f.frames=f.canvas.children("li"),f._modernizrForSequence(),e={WebkitTransition:"-webkit-",WebkitAnimation:"-webkit-",MozTransition:"-moz-","MozAnimation ":"-moz-",OTransition:"-o-",OAnimation:"-o-",msTransition:"-ms-",msAnimation:"-ms-",transition:"",animation:""},o={WebkitTransition:"webkitTransitionEnd.sequence",WebkitAnimation:"webkitAnimationEnd.sequence",MozTransition:"transitionend.sequence",MozAnimation:"animationend.sequence",OTransition:"otransitionend.sequence",OAnimation:"oanimationend.sequence",msTransition:"MSTransitionEnd.sequence",msAnimation:"MSAnimationEnd.sequence",transition:"transitionend.sequence",animation:"animationend.sequence"},f.transitionPrefix=e[ModernizrForSequence.prefixed("transition")],f.animationPrefix=e[ModernizrForSequence.prefixed("animation")],f.transitionProperties={},f.transitionEnd=o[ModernizrForSequence.prefixed("transition")]+" "+o[ModernizrForSequence.prefixed("animation")],f.numberOfFrames=f.frames.length,f.transitionsSupported=f.transitionPrefix!==undefined?!0:!1,f.hasTouch="ontouchstart"in window?!0:!1,f.isPaused=!1,f.isBeingHoveredOver=!1,f.container.removeClass("sequence-destroyed"),f.paused=function(){},f.unpaused=function(){},f.beforeNextFrameAnimatesIn=function(){},f.afterNextFrameAnimatesIn=function(){},f.beforeCurrentFrameAnimatesOut=function(){},f.afterCurrentFrameAnimatesOut=function(){},f.afterLoaded=function(){},f.destroyed=function(){},f.settings=n.extend({},u,r),f.settings.preloader=f._renderUiElements(f.settings.preloader,".sequence-preloader"),f.isStartingFrame=f.settings.animateStartingFrameIn?!0:!1,f.settings.unpauseDelay=f.settings.unpauseDelay===null?f.settings.autoPlayDelay:f.settings.unpauseDelay,f.getHashTagFrom=f.settings.hashDataAttribute?"data-sequence-hashtag":"id",f.frameHashID=[],f.direction=f.settings.autoPlayDirection,f.settings.hideFramesUntilPreloaded&&f.settings.preloader!==undefined&&f.settings.preloader!==!1&&f.frames.hide(),f.transitionPrefix==="-o-"&&(f.transitionsSupported=f._operaTest()),f.frames.removeClass("animate-in"),h=f.settings.preloadTheseFrames.length,c=f.settings.preloadTheseImages.length,f.settings.windowLoaded===!0&&(t=f.settings.windowLoaded),f.settings.preloader!==undefined&&f.settings.preloader!==!1&&(h!==0||c!==0)){var y=a(h),p=a(c,!0),w=n(y.concat(p));v(w,s)}else t===!0?(s(),n(this).unbind("load.sequence")):n(window).bind("load.sequence",function(){s();n(this).unbind("load.sequence")})}var t=!1,r;n(window).bind("load",function(){t=!0});i.prototype={startAutoPlay:function(n){var t=this;n=n===undefined?t.settings.autoPlayDelay:n;t.unpause();t._resetAutoPlay();t.autoPlayTimer=setTimeout(function(){t.settings.autoPlayDirection===1?t.next():t.prev()},n)},stopAutoPlay:function(){var n=this;n.pause(!0);clearTimeout(n.autoPlayTimer)},pause:function(n){var t=this;t.isSoftPaused?t.unpause():(t.pauseButton!==undefined&&(t.pauseButton.addClass("paused"),t.pauseIcon!==undefined&&t.pauseIcon.show()),t.paused(),t.isSoftPaused=!0,t.isHardPaused=n?!0:!1,t.isPaused=!0,t._resetAutoPlay())},unpause:function(n){var t=this;t.pauseButton!==undefined&&(t.pauseButton.removeClass("paused"),t.pauseIcon!==undefined&&t.pauseIcon.hide());t.isSoftPaused=!1;t.isHardPaused=!1;t.isPaused=!1;t.active?t.delayUnpause=!0:(n!==!1&&t.unpaused(),t._resetAutoPlay(!0,t.settings.unpauseDelay))},next:function(){var n=this;id=n.currentFrameID!==n.numberOfFrames?n.currentFrameID+1:1;n.active===!1||n.active===undefined?n.goTo(id,1):n.goTo(id,1,!0)},prev:function(){var n=this;id=n.currentFrameID===1?n.numberOfFrames:n.currentFrameID-1;n.active===!1||n.active===undefined?n.goTo(id,-1):n.goTo(id,-1,!0)},goTo:function(t,i,r){var u=this,f;if(u.nextFrameID=parseFloat(t),f=r===!0?0:u.settings.transitionThreshold,u.nextFrameID===u.currentFrameID||u.settings.navigationSkip&&u.navigationSkipThresholdActive||!u.settings.navigationSkip&&u.active||!u.transitionsSupported&&u.active||!u.settings.cycle&&i===1&&u.currentFrameID===u.numberOfFrames||!u.settings.cycle&&i===-1&&u.currentFrameID===1||u.settings.preventReverseSkipping&&u.direction!==i&&u.active)return!1;if(u.settings.navigationSkip&&u.active&&(u.navigationSkipThresholdActive=!0,u.settings.fadeFrameWhenSkipped&&u.nextFrame.stop().animate({opacity:0},u.settings.fadeFrameTime),clearTimeout(u.transitionThresholdTimer),setTimeout(function(){u.navigationSkipThresholdActive=!1},u.settings.navigationSkipThreshold)),!u.active||u.settings.navigationSkip){if(u.active=!0,u._resetAutoPlay(),u.direction=i===undefined?u.nextFrameID>u.currentFrameID?1:-1:i,u.currentFrame=u.canvas.children(".animate-in"),u.nextFrame=u.frames.eq(u.nextFrameID-1),u.currentFrameChildren=u.currentFrame.children(),u.nextFrameChildren=u.nextFrame.children(),u.pagination!==undefined&&(u.paginationLinks.removeClass("current"),n(u.paginationLinks[u.nextFrameID-1]).addClass("current")),u.transitionsSupported)u.currentFrame.length!==undefined?(u.beforeCurrentFrameAnimatesOut(),u.settings.moveActiveFrameToTop&&u.currentFrame.css("z-index",1),u._resetElements(u.transitionPrefix,u.nextFrameChildren,"0s"),u.settings.reverseAnimationsWhenNavigatingBackwards&&u.direction!==1?u.settings.reverseAnimationsWhenNavigatingBackwards&&u.direction===-1&&(u.nextFrame.addClass("animate-out"),u._reverseTransitionProperties()):(u.nextFrame.removeClass("animate-out"),u._resetElements(u.transitionPrefix,u.currentFrameChildren,""))):u.isStartingFrame=!1,u.active=!0,u.currentFrame.unbind(u.transitionEnd),u.nextFrame.unbind(u.transitionEnd),u.settings.fadeFrameWhenSkipped&&u.settings.navigationSkip&&u.nextFrame.css("opacity",1),u.beforeNextFrameAnimatesIn(),u.settings.moveActiveFrameToTop&&u.nextFrame.css("z-index",u.numberOfFrames),u.settings.reverseAnimationsWhenNavigatingBackwards&&u.direction!==1?u.settings.reverseAnimationsWhenNavigatingBackwards&&u.direction===-1&&(setTimeout(function(){u._resetElements(u.transitionPrefix,u.currentFrameChildren,"");u._resetElements(u.transitionPrefix,u.nextFrameChildren,"");u._reverseTransitionProperties();u._waitForAnimationsToComplete(u.nextFrame,u.nextFrameChildren,"in");(u.afterCurrentFrameAnimatesOut!=="function () {}"||u.settings.transitionThreshold===!0&&r!==!0)&&u._waitForAnimationsToComplete(u.currentFrame,u.currentFrameChildren,"out",!0,-1)},50),setTimeout(function(){u.settings.transitionThreshold===!1||u.settings.transitionThreshold===0||r===!0?(u.currentFrame.removeClass("animate-in"),u.nextFrame.toggleClass("animate-out animate-in")):(u.currentFrame.removeClass("animate-in"),u.settings.transitionThreshold!==!0&&(u.transitionThresholdTimer=setTimeout(function(){u.nextFrame.toggleClass("animate-out animate-in")},f)))},50)):(setTimeout(function(){u._resetElements(u.transitionPrefix,u.nextFrameChildren,"");u._waitForAnimationsToComplete(u.nextFrame,u.nextFrameChildren,"in");(u.afterCurrentFrameAnimatesOut!=="function () {}"||u.settings.transitionThreshold===!0&&r!==!0)&&u._waitForAnimationsToComplete(u.currentFrame,u.currentFrameChildren,"out",!0,1)},50),setTimeout(function(){u.settings.transitionThreshold===!1||u.settings.transitionThreshold===0||r===!0?(u.currentFrame.toggleClass("animate-out animate-in"),u.nextFrame.addClass("animate-in")):(u.currentFrame.toggleClass("animate-out animate-in"),u.settings.transitionThreshold!==!0&&(u.transitionThresholdTimer=setTimeout(function(){u.nextFrame.addClass("animate-in")},f)))},50));else{function h(){u._setHashTag();u.active=!1;u._resetAutoPlay(!0,u.settings.autoPlayDelay)}switch(u.settings.fallback.theme){case"fade":u.frames.css({position:"relative"});u.beforeCurrentFrameAnimatesOut();u.currentFrame=u.frames.eq(u.currentFrameID-1);u.currentFrame.animate({opacity:0},u.settings.fallback.speed,function(){u.currentFrame.css({display:"none","z-index":"1"});u.afterCurrentFrameAnimatesOut();u.beforeNextFrameAnimatesIn();u.nextFrame.css({display:"block","z-index":u.numberOfFrames}).animate({opacity:1},500,function(){u.afterNextFrameAnimatesIn()});h()});u.frames.css({position:"relative"});break;case"slide":default:var e={},o={},s={};u.direction===1?(e.left="-100%",o.left="100%"):(e.left="100%",o.left="-100%");s.left="0";s.opacity=1;u.currentFrame=u.frames.eq(u.currentFrameID-1);u.beforeCurrentFrameAnimatesOut();u.currentFrame.animate(e,u.settings.fallback.speed,function(){u.currentFrame.css({display:"none","z-index":"1"});u.afterCurrentFrameAnimatesOut()});u.beforeNextFrameAnimatesIn();u.nextFrame.show().css(o);u.nextFrame.css({display:"block","z-index":u.numberOfFrames}).animate(s,u.settings.fallback.speed,function(){h();u.afterNextFrameAnimatesIn()})}}u.currentFrameID=u.nextFrameID}},destroy:function(t){var i=this;i.container.addClass("sequence-destroyed");i.nextButton!==undefined&&i.nextButton.unbind("click.sequence");i.prevButton!==undefined&&i.prevButton.unbind("click.sequence");i.pauseButton!==undefined&&i.pauseButton.unbind("click.sequence");i.pagination!==undefined&&i.paginationLinks.unbind("click.sequence");n(document).unbind("keydown.sequence");i.canvas.unbind("mouseenter.sequence, mouseleave.sequence, touchstart.sequence, touchmove.sequence");n(window).unbind("hashchange.sequence");i.stopAutoPlay();clearTimeout(i.transitionThresholdTimer);i.canvas.children("li").remove();i.canvas.prepend(i.frames);i.frames.removeClass("animate-in animate-out").removeAttr("style");i.frames.eq(i.currentFrameID-1).addClass("animate-in");i.nextButton!==undefined&&i.nextButton!==!1&&i.nextButton.hide();i.prevButton!==undefined&&i.prevButton!==!1&&i.prevButton.hide();i.pauseButton!==undefined&&i.pauseButton!==!1&&i.pauseButton.hide();i.pauseIcon!==undefined&&i.pauseIcon!==!1&&i.pauseIcon.hide();i.pagination!==undefined&&i.pagination!==!1&&i.pagination.hide();t!==undefined&&t();i.destroyed();i.container.removeData()},_initCustomKeyEvent:function(n){var t=this;switch(n){case"next":t.next();break;case"prev":t.prev();break;case"pause":t.pause(!0)}},_resetElements:function(n,t,i){var r=this;t.css(r._prefixCSS(n,{"transition-duration":i,"transition-delay":i,"transition-timing-function":""}))},_reverseTransitionProperties:function(){var t=this,u=[],f=[],r;t.currentFrameChildren.each(function(){u.push(parseFloat(n(this).css(t.transitionPrefix+"transition-duration").replace("s",""))+parseFloat(n(this).css(t.transitionPrefix+"transition-delay").replace("s","")))});t.nextFrameChildren.each(function(){f.push(parseFloat(n(this).css(t.transitionPrefix+"transition-duration").replace("s",""))+parseFloat(n(this).css(t.transitionPrefix+"transition-delay").replace("s","")))});var e=Math.max.apply(Math,u),o=Math.max.apply(Math,f),i=e-o,s=0,h=0;i<0&&!t.settings.preventDelayWhenReversingAnimations?s=Math.abs(i):i>0&&(h=Math.abs(i));r=function(i,r,u,f){function e(n){n=n.split(",")[0];return n.indexOf("cubic-bezier")<0&&(n={linear:"cubic-bezier(0.0,0.0,1.0,1.0)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1.0)","ease-in":"cubic-bezier(0.42, 0.0, 1.0, 1.0)","ease-in-out":"cubic-bezier(0.42, 0.0, 0.58, 1.0)","ease-out":"cubic-bezier(0.0, 0.0, 0.58, 1.0)"}[n]),n}r.each(function(){var s=parseFloat(n(this).css(t.transitionPrefix+"transition-duration").replace("s","")),l=parseFloat(n(this).css(t.transitionPrefix+"transition-delay").replace("s","")),r=n(this).css(t.transitionPrefix+"transition-timing-function"),o,h,c;r.indexOf("cubic")===-1&&(r=e(r));t.settings.reverseEaseWhenNavigatingBackwards&&(o=r.replace("cubic-bezier(","").replace(")","").split(","),n.each(o,function(n,t){o[n]=parseFloat(t)}),h=[1-o[2],1-o[3],1-o[0],1-o[1]],r="cubic-bezier("+h+")");c=s+l;i["transition-duration"]=s+"s";i["transition-delay"]=u-c+f+"s";i["transition-timing-function"]=r;n(this).css(t._prefixCSS(t.transitionPrefix,i))})};r(t.transitionProperties,t.currentFrameChildren,e,s);r(t.transitionProperties,t.nextFrameChildren,o,h)},_prefixCSS:function(n,t){var u=this,r={},i;for(i in t)r[n+i]=t[i];return r},_resetAutoPlay:function(n,t){var i=this;n===!0?i.settings.autoPlay&&!i.isSoftPaused&&(clearTimeout(i.autoPlayTimer),i.autoPlayTimer=setTimeout(function(){i.settings.autoPlayDirection===1?i.next():i.prev()},t)):clearTimeout(i.autoPlayTimer)},_renderUiElements:function(t,i){var r=this;switch(t){case!1:return undefined;case!0:return i===".sequence-preloader"&&r._defaultPreloader(r.container,r.transitionsSupported,r.animationPrefix),n(i,r.container);default:return n(t,r.container)}},_waitForAnimationsToComplete:function(t,i,r,u,f){var e=this,o;r==="out"?o=function(){e.afterCurrentFrameAnimatesOut();e.settings.transitionThreshold===!0&&(f===1?e.nextFrame.addClass("animate-in"):f===-1&&e.nextFrame.toggleClass("animate-out animate-in"))}:r==="in"&&(o=function(){e.afterNextFrameAnimatesIn();e._setHashTag();e.active=!1;e.isHardPaused||e.isBeingHoveredOver||(e.delayUnpause?(e.delayUnpause=!1,e.unpause()):e.unpause(!1))});i.data("animationEnded",!1);t.bind(e.transitionEnd,function(r){n(r.target).data("animationEnded",!0);var u=!0;i.each(function(){if(n(this).data("animationEnded")===!1)return u=!1,!1});u&&(t.unbind(e.transitionEnd),o())})},_setHashTag:function(){var t=this;t.settings.hashTags&&(t.currentHashTag=t.nextFrame.prop(t.getHashTagFrom),t.frameHashIndex=n.inArray(t.currentHashTag,t.frameHashID),t.frameHashIndex===-1||!t.settings.hashChangesOnFirstFrame&&t.isStartingFrame&&t.transitionsSupported?(t.nextFrameID=t.settings.startingFrameID,t.isStartingFrame=!1):(t.nextFrameID=t.frameHashIndex+1,document.location.hash="#"+t.currentHashTag))},_modernizrForSequence:function(){window.ModernizrForSequence=function(n,t,i){function a(n){p.cssText=n}function u(n,t){return typeof n===t}function g(n,t){return!!~(""+n).indexOf(t)}function v(n,t){var u,r;for(u in n)if(r=n[u],!g(r,"-")&&p[r]!==i)return t=="pfx"?r:!0;return!1}function nt(n,t,r){var e,f;for(e in n)if(f=t[n[e]],f!==i)return r===!1?n[e]:u(f,"function")?f.bind(r||t):f;return!1}function s(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+b.join(r+" ")+r).split(" ");return u(t,"string")||u(t,"undefined")?v(f,t):(f=(n+" "+k.join(r+" ")+r).split(" "),nt(f,t,i))}var r={},tt=t.documentElement,y=t.createElement("modernizrForSequence"),p=y.style,it,ut={}.toString,w="Webkit Moz O ms",b=w.split(" "),k=w.toLowerCase().split(" "),rt={svg:"http://www.w3.org/2000/svg"},f={},d=[],h=d.slice,e,c={}.hasOwnProperty,l,o;l=!u(c,"undefined")&&!u(c.call,"undefined")?function(n,t){return c.call(n,t)}:function(n,t){return t in n&&u(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=self,i,r;if(typeof t!="function")throw new TypeError;return i=h.call(arguments,1),r=function(){var f,e,u;return self instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(h.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(h.call(arguments)))},r});f.svg=function(){return!!t.createElementNS&&!!t.createElementNS(rt.svg,"svg").createSVGRect};for(o in f)l(f,o)&&(e=o.toLowerCase(),r[e]=f[o](),d.push((r[e]?"":"no-")+e));return r.addTest=function(n,t){if(typeof n=="object")for(var u in n)l(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;enableClasses&&(tt.className+=" "+(t?"":"no-")+n);r[n]=t}return r},a(""),y=it=null,r._version="2.6.1",r._domPrefixes=k,r._cssomPrefixes=b,r.testProp=function(n){return v([n])},r.testAllProps=s,r.prefixed=function(n,t,i){return t?s(n,t,i):s(n,"pfx")},r}(self,self.document)},_defaultPreloader:function(t,i,r){n("head").append("<style>.sequence-preloader{height: 100%;position: absolute;width: 100%;z-index: 999999;}@"+r+"keyframes preload{0%{opacity: 1;}50%{opacity: 0;}100%{opacity: 1;}}.sequence-preloader .preloading .circle{fill: #ff9442;display: inline-block;height: 12px;position: relative;top: -50%;width: 12px;"+r+"animation: preload 1s infinite; animation: preload 1s infinite;}.preloading{display:block;height: 12px;margin: 0 auto;top: 50%;margin-top:-6px;position: relative;width: 48px;}.sequence-preloader .preloading .circle:nth-child(2){"+r+"animation-delay: .15s; animation-delay: .15s;}.sequence-preloader .preloading .circle:nth-child(3){"+r+"animation-delay: .3s; animation-delay: .3s;}.preloading-complete{opacity: 0;visibility: hidden;"+r+"transition-duration: 1s; transition-duration: 1s;}div.inline{background-color: #ff9442; margin-right: 4px; float: left;}<\/style>");t.prepend('<div class="sequence-preloader"><svg class="preloading" xmlns="http://www.w3.org/2000/svg"><circle class="circle" cx="6" cy="6" r="6" /><circle class="circle" cx="22" cy="6" r="6" /><circle class="circle" cx="38" cy="6" r="6" /><\/svg><\/div>');ModernizrForSequence.svg||i?i||setInterval(function(){n(".sequence-preloader").fadeToggle(500)},500):(n(".sequence-preloader").prepend('<div class="preloading"><div class="circle inline"><\/div><div class="circle inline"><\/div><div class="circle inline"><\/div><\/div>'),setInterval(function(){n(".sequence-preloader .circle").fadeToggle(500)},500))},_operaTest:function(){n("body").append('<span id="sequence-opera-test"><\/span>');var t=n("#sequence-opera-test");return t.css("-o-transition","1s"),t.css("-o-transition")!=="1s"?(t.remove(),!1):(t.remove(),!0)}};r={startingFrameID:1,cycle:!0,animateStartingFrameIn:!1,transitionThreshold:!1,reverseAnimationsWhenNavigatingBackwards:!0,reverseEaseWhenNavigatingBackwards:!0,preventDelayWhenReversingAnimations:!1,moveActiveFrameToTop:!0,windowLoaded:!1,autoPlay:!1,autoPlayDirection:1,autoPlayDelay:5e3,navigationSkip:!0,navigationSkipThreshold:250,fadeFrameWhenSkipped:!0,fadeFrameTime:150,preventReverseSkipping:!1,nextButton:!1,showNextButtonOnInit:!0,prevButton:!1,showPrevButtonOnInit:!0,pauseButton:!1,unpauseDelay:null,pauseOnHover:!0,pauseIcon:!1,showPauseButtonOnInit:!0,pagination:!1,showPaginationOnInit:!0,preloader:!1,preloadTheseFrames:[1],preloadTheseImages:[],hideFramesUntilPreloaded:!0,prependPreloadingComplete:!0,hidePreloaderUsingCSS:!0,hidePreloaderDelay:0,keyNavigation:!0,numericKeysGoToFrames:!0,keyEvents:{left:"prev",right:"next"},customKeyEvents:{},swipeNavigation:!0,swipeThreshold:20,swipePreventsDefault:!1,swipeEvents:{left:"prev",right:"next",up:!1,down:!1},hashTags:!1,hashDataAttribute:!1,hashChangesOnFirstFrame:!1,fallback:{theme:"slide",speed:500}};n.fn.sequence=function(t){return this.each(function(){n.data(this,"sequence")||n.data(this,"sequence",new i(n(this),t,r))})}}(jQuery),function(n){if(typeof exports=="object"){var t=require("jquery");module.exports=n(t||$)}else typeof define=="function"&&define.amd?define(["jquery"],n):n(t||$)}(function(n){function u(n){var t=this.data(),v=this.find("ul"),o,e,h,c,u,l,a,y;if(t.vals&&v.length!==0){n||(n=t.seconds);o=!1;t.intervalId&&(o=!0,clearTimeout(t.intervalId));var f=Math.floor(n/86400),i=f*86400,s=Math.floor((n-i)/3600);for(i+=s*3600,e=Math.floor((n-i)/60),i+=e*60,h=n-i,c=(f<100?"0"+(f<10?"0":""):"")+f+(s<10?"0":"")+s+(e<10?"0":"")+e+(h<10?"0":"")+h,u=t.vals.length-1,l=c.length-1;u>=0;u--,l--)a=parseInt(c.substr(l,1)),t.vals[u]=a,v.eq(u).children().html(a);o&&(y=this,t.ttStartTime=Date.now(),t.intervalId=setTimeout(function(){r.call(y)},1e3),this.data("intervalId",t.intervalId))}}function r(t){var e=this.find("ul"),i=this.data(),h,l,c;if(!i.vals||e.length==0){i.intervalId&&(clearTimeout(i.intervalId),this.data("intervalId",null));i.callback&&i.callback();return}t==undefined&&(t=i.iSec);var u=i.vals[t],f=e.eq(t),o=f.children(),s=i.countdown?-1:1;o.eq(1).html(u);u+=s;t==i.iSec&&(h=i.tickTimeout,l=(new Date).getTime()-i.ttStartTime,i.sec+=s,h+=Math.abs(i.seconds-i.sec)*h-l,i.intervalId=setTimeout(function(){r.call(c)},h));(u<0||u>i.limits[t])&&(u<0?(u=i.limits[t],t==i.iHour&&i.displayDays>0&&t>0&&i.vals[t-1]==0&&(u=3)):u=0,t>0&&r.call(this,t-1));o.eq(0).html(u);c=this;n.support.transition?(f.addClass("transition"),f.css({top:0}),setTimeout(function(){(f.removeClass("transition"),o.eq(1).html(u),f.css({top:"-"+i.height+"px"}),s>0||t!=i.iSec)||(i.sec==i.countdownAlertLimit&&e.parent().addClass("timeTo-alert"),i.sec===0&&(e.parent().removeClass("timeTo-alert"),i.intervalId&&(clearTimeout(i.intervalId),c.data("intervalId",null)),typeof i.callback=="function"&&i.callback()))},410)):f.stop().animate({top:0},400,t!=i.iSec?null:function(){(o.eq(1).html(u),f.css({top:"-"+i.height+"px"}),s>0||t!=i.iSec)||(i.sec==i.countdownAlertLimit?e.parent().addClass("timeTo-alert"):i.sec==0&&(e.parent().removeClass("timeTo-alert"),i.intervalId&&(clearTimeout(i.intervalId),c.data("intervalId",null)),typeof i.callback=="function"&&i.callback()))});i.vals[t]=u}var t={start:function(n){n&&u.call(this,n);var t=this,i=setTimeout(function(){r.call(t)},1e3);this.data("ttStartTime",(new Date).getTime());this.data("intervalId",i)},stop:function(){var n=this.data();return n.intervalId&&(clearTimeout(n.intervalId),this.data("intervalId",null)),n},reset:function(n){var i=t.stop.call(this);this.find("div").css({backgroundPosition:"left center"});this.find("ul").parent().removeClass("timeTo-alert");typeof n=="undefined"&&(n=i.value);i.vals&&(i.vals=null);u.call(this,n)}},i={en:{days:"days",hours:"hours",min:"minutes",sec:"seconds"},ru:{days:"дней",hours:"часов",min:"минут",sec:"секунд"},ua:{days:"днiв",hours:"годин",min:"хвилин",sec:"секунд"},de:{days:"Tag",hours:"Uhr",min:"Minuten",sec:"Secunden"},fr:{days:"jours",hours:"heures",min:"minutes",sec:"secondes"},sp:{days:"días",hours:"reloj",min:"minutos",sec:"segundos"},it:{days:"giorni",hours:"ore",min:"minuti",sec:"secondi"},nl:{days:"dagen",hours:"uren",min:"minuten",sec:"seconden"},no:{days:"dager",hours:"timer",min:"minutter",sec:"sekunder"},pt:{days:"dias",hours:"horas",min:"minutos",sec:"segundos"}};return typeof n.support.transition=="undefined"&&(n.support.transition=function(){var t=document.body||document.documentElement,n=t.style;return n.transition!==undefined||n.WebkitTransition!==undefined||n.MozTransition!==undefined||n.MsTransition!==undefined||n.OTransition!==undefined}()),n.fn.timeTo=function(){for(var p={callback:null,captionSize:0,countdown:!0,countdownAlertLimit:10,displayCaptions:!1,displayDays:0,displayHours:!0,fontFamily:"Verdana, sans-serif",fontSize:28,lang:"en",seconds:0,start:!0,theme:"white",vals:[0,0,0,0,0,0,0,0,0],limits:[9,9,9,2,9,5,9,5,9],iSec:8,iHour:4,tickTimeout:1e3,intervalId:null},o,r={},e,h,c,f,l,s=0;e=arguments[s];++s)s==0&&typeof e=="string"?o=e:typeof e=="object"?typeof e.getTime=="function"?r.timeTo=e:r=n.extend(r,e):typeof e=="function"?r.callback=e:(h=parseInt(e),isNaN(h)||(r.seconds=h));if(r.timeTo)c=(new Date).getTime(),r.timeTo.getTime?f=r.timeTo.getTime():typeof r.timeTo=="number"&&(f=r.timeTo),r.timeTo>c&&(r.seconds=Math.floor((f-c)/1e3));else if(r.time||!r.seconds)if(f=r.time,f||(f=new Date),typeof f=="object"&&f.getTime)r.seconds=f.getHours()*3600+f.getMinutes()*60+f.getSeconds(),r.countdown=!1;else if(typeof f=="string"){for(var w=f.split(":"),a=0,v=1,y;y=w.pop();)a+=y*v,v*=60;r.seconds=a;r.countdown=!1}return r.countdown!==!1&&r.seconds>86400&&typeof r.displayDays=="undefined"?(l=Math.floor(r.seconds/86400),r.displayDays=l<10&&1||l<100&&2||3):r.displayDays===!0?r.displayDays=3:r.displayDays&&(r.displayDays=r.displayDays>0?Math.floor(r.displayDays):3),this.each(function(){var s=n(this),f=s.data(),e,y,w,c;if(f.vals)f.intervalId&&(clearInterval(f.intervalId),f.intervalId=null),n.extend(f,r);else{f=n.extend(p,r);f.height=Math.round(f.fontSize*100/93);f.width=Math.round(f.fontSize*.8+f.height*.13);f.displayHours=!!(f.displayDays||f.displayHours);s.addClass("timeTo").addClass("timeTo-"+f.theme).css({fontFamily:f.fontFamily,fontSize:f.fontSize+"px"});var b='<ul style="left:0px; top:-'+f.height+'px"><li>0<\/li><li>0<\/li><\/ul><\/div>',k=' style="width:'+f.width+"px; height:"+f.height+'px;"',d='<div class="first"'+k+">"+b,l="<div"+k+">"+b,a="",v=Math.round(f.width*2+3),h=f.captionSize||Math.round(f.fontSize*.43);if(thtml=(f.displayCaptions?(f.displayHours?'<figure style="max-width:'+v+'px">$1<figcaption style="font-size:'+h+'px">'+i[f.lang].hours+"<\/figcaption><\/figure>"+a:"")+'<figure style="max-width:'+v+'px">$1<figcaption style="font-size:'+h+'px">'+i[f.lang].min+'<\/figcaption><\/figure><figure style="max-width:'+v+'px">$1<figcaption style="font-size:'+h+'px">'+i[f.lang].sec+"<\/figcaption><\/figure>":(f.displayHours?"$1"+a:"")+"$1"+a+"$1").replace(/\$1/g,d+l),f.displayDays>0){for(y=f.fontSize*.4,w=d,e=f.displayDays-1;e>0;e--)w+=e===1?l.replace('">'," margin-right:"+Math.round(y)+'px">'):l;thtml=(f.displayCaptions?'<figure style="width:'+Math.round(f.width*f.displayDays+y+4)+'px">$1<figcaption style="font-size:'+h+'px;">'+i[f.lang].days+"<\/figcaption><\/figure>":"$1").replace(/\$1/,w)+thtml}s.html(thtml)}if(c=s.find("div"),c.length<f.vals.length){var g=f.vals.length-c.length,nt=f.vals,tt=f.limits;for(f.vals=[],f.limits=[],e=0;e<c.length;e++)f.vals[e]=nt[g+e],f.limits[e]=tt[g+e];f.iSec=f.vals.length-1;f.iHour=f.vals.length-5}f.sec=f.seconds;s.data(f);o&&t[o]?t[o].call(s,f.seconds):f.start?t.start.call(s,f.seconds):u.call(s,f.seconds)})},jQuery}),function(){function l(){this.returnValue=!1}function a(){this.cancelBubble=!0}var h=0,u=[],e={},o={},s={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},c=/[<>&\"\']/g,i,f=window.setTimeout,r={},t,n;(function(n){for(var r=n.split(/,/),i,u,t=0;t<r.length;t+=2)for(u=r[t+1].split(/ /),i=0;i<u.length;i++)o[u[i]]=r[t]})("application/msword,doc dot,application/pdf,pdf,application/pgp-signature,pgp,application/postscript,ps ai eps,application/rtf,rtf,application/vnd.ms-excel,xls xlb,application/vnd.ms-powerpoint,ppt pps pot,application/zip,zip,application/x-shockwave-flash,swf swfl,application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx,application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx,application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx,application/vnd.openxmlformats-officedocument.presentationml.template,potx,application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx,application/x-javascript,js,application/json,json,audio/mpeg,mpga mpega mp2 mp3,audio/x-wav,wav,audio/mp4,m4a,image/bmp,bmp,image/gif,gif,image/jpeg,jpeg jpg jpe,image/photoshop,psd,image/png,png,image/svg+xml,svg svgz,image/tiff,tiff tif,text/plain,asc txt text diff log,text/html,htm html xhtml,text/css,css,text/csv,csv,text/rtf,rtf,video/mpeg,mpeg mpg mpe m2v,video/quicktime,qt mov,video/mp4,mp4,video/x-m4v,m4v,video/x-flv,flv,video/x-ms-wmv,wmv,video/avi,avi,video/webm,webm,video/3gpp,3gp,video/3gpp2,3g2,video/vnd.rn-realvideo,rv,application/vnd.oasis.opendocument.formula-template,otf,application/octet-stream,exe");n={VERSION:"1.5.7",STOPPED:1,STARTED:2,QUEUED:1,UPLOADING:2,FAILED:4,DONE:5,GENERIC_ERROR:-100,HTTP_ERROR:-200,IO_ERROR:-300,SECURITY_ERROR:-400,INIT_ERROR:-500,FILE_SIZE_ERROR:-600,FILE_EXTENSION_ERROR:-601,IMAGE_FORMAT_ERROR:-700,IMAGE_MEMORY_ERROR:-701,IMAGE_DIMENSIONS_ERROR:-702,mimeTypes:o,ua:function(){var i=navigator,t=i.userAgent,f=i.vendor,n,r,u;return n=/WebKit/.test(t),u=n&&f.indexOf("Apple")!==-1,r=window.opera&&window.opera.buildNumber,{windows:navigator.platform.indexOf("Win")!==-1,android:/Android/.test(t),ie:!n&&!r&&/MSIE/gi.test(t)&&/Explorer/gi.test(i.appName),webkit:n,gecko:!n&&/Gecko/.test(t),safari:u,opera:!!r}}(),typeOf:function(n){return{}.toString.call(n).match(/\s([a-z|A-Z]+)/)[1].toLowerCase()},extend:function(t){return n.each(arguments,function(i,r){r>0&&n.each(i,function(n,i){t[i]=n})}),t},cleanName:function(n){for(var i=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"],t=0;t<i.length;t+=2)n=n.replace(i[t],i[t+1]);return n=n.replace(/\s+/g,"_"),n.replace(/[^a-z0-9_\-\.]+/gi,"")},addRuntime:function(n,t){return t.name=n,u[n]=t,u.push(t),t},guid:function(){for(var i=(new Date).getTime().toString(32),t=0;t<5;t++)i+=Math.floor(Math.random()*65535).toString(32);return(n.guidPrefix||"p")+i+(h++).toString(32)},buildUrl:function(t,i){var r="";return n.each(i,function(n,t){r+=(r?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)}),r&&(t+=(t.indexOf("?")>0?"&":"?")+r),t},each:function(n,t){var f,u,r;if(n)if(f=n.length,f===i){for(u in n)if(n.hasOwnProperty(u)&&t(n[u],u)===!1)return}else for(r=0;r<f;r++)if(t(n[r],r)===!1)return},formatSize:function(t){return t===i||/\D/.test(t)?n.translate("N/A"):t>1073741824?Math.round(t/1073741824,1)+" GB":t>1048576?Math.round(t/1048576,1)+" MB":t>1024?Math.round(t/1024,1)+" KB":t+" b"},getPos:function(t,i){function h(n){var t,i,r=0,f=0;return n&&(i=n.getBoundingClientRect(),t=u.compatMode==="CSS1Compat"?u.documentElement:u.body,r=i.left+t.scrollLeft,f=i.top+t.scrollTop),{x:r,y:f}}var f=0,e=0,r,u=document,o,s;if(t=t,i=i||u.body,t&&t.getBoundingClientRect&&n.ua.ie&&(!u.documentMode||u.documentMode<8))return o=h(t),s=h(i),{x:o.x-s.x,y:o.y-s.y};for(r=t;r&&r!=i&&r.nodeType;)f+=r.offsetLeft||0,e+=r.offsetTop||0,r=r.offsetParent;for(r=t.parentNode;r&&r!=i&&r.nodeType;)f-=r.scrollLeft||0,e-=r.scrollTop||0,r=r.parentNode;return{x:f,y:e}},getSize:function(n){return{w:n.offsetWidth||n.clientWidth,h:n.offsetHeight||n.clientHeight}},parseSize:function(n){var t;return typeof n=="string"&&(n=/^([0-9]+)([mgk]?)$/.exec(n.toLowerCase().replace(/[^0-9mkg]/g,"")),t=n[2],n=+n[1],t=="g"&&(n*=1073741824),t=="m"&&(n*=1048576),t=="k"&&(n*=1024)),n},xmlEncode:function(n){return n?(""+n).replace(c,function(n){return s[n]?"&"+s[n]+";":n}):n},toArray:function(n){for(var i=[],t=0;t<n.length;t++)i[t]=n[t];return i},inArray:function(n,t){if(t){if(Array.prototype.indexOf)return Array.prototype.indexOf.call(t,n);for(var i=0,r=t.length;i<r;i++)if(t[i]===n)return i}return-1},addI18n:function(t){return n.extend(e,t)},translate:function(n){return e[n]||n},isEmptyObj:function(n){if(n===i)return!0;for(var t in n)return!1;return!0},hasClass:function(n,t){var i;return n.className==""?!1:(i=new RegExp("(^|\\s+)"+t+"(\\s+|$)"),i.test(n.className))},addClass:function(t,i){n.hasClass(t,i)||(t.className=t.className==""?i:t.className.replace(/\s+$/,"")+" "+i)},removeClass:function(n,t){var i=new RegExp("(^|\\s+)"+t+"(\\s+|$)");n.className=n.className.replace(i,function(n,t,i){return t===" "&&i===" "?" ":""})},getStyle:function(n,t){return n.currentStyle?n.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(n,null)[t]:void 0},addEvent:function(u,f,e){var o,s,h;h=arguments[3];f=f.toLowerCase();t===i&&(t="Plupload_"+n.guid());u.addEventListener?(o=e,u.addEventListener(f,o,!1)):u.attachEvent&&(o=function(){var n=window.event;n.target||(n.target=n.srcElement);n.preventDefault=l;n.stopPropagation=a;e(n)},u.attachEvent("on"+f,o));u[t]===i&&(u[t]=n.guid());r.hasOwnProperty(u[t])||(r[u[t]]={});s=r[u[t]];s.hasOwnProperty(f)||(s[f]=[]);s[f].push({func:o,orig:e,key:h})},removeEvent:function(u,f){var e,s,h,o;if(typeof arguments[2]=="function"?s=arguments[2]:h=arguments[2],f=f.toLowerCase(),u[t]&&r[u[t]]&&r[u[t]][f])e=r[u[t]][f];else return;for(o=e.length-1;o>=0;o--)if((e[o].key===h||e[o].orig===s)&&(u.removeEventListener?u.removeEventListener(f,e[o].func,!1):u.detachEvent&&u.detachEvent("on"+f,e[o].func),e[o].orig=null,e[o].func=null,e.splice(o,1),s!==i))break;if(e.length||delete r[u[t]][f],n.isEmptyObj(r[u[t]])){delete r[u[t]];try{delete u[t]}catch(c){u[t]=i}}},removeAllEvents:function(u){var f=arguments[1];u[t]!==i&&u[t]&&n.each(r[u[t]],function(t,i){n.removeEvent(u,i,f)})}};n.Uploader=function(t){function h(){var t,u=0,i;if(this.state==n.STARTED){for(i=0;i<r.length;i++)t||r[i].status!=n.QUEUED?u++:(t=r[i],t.status=n.UPLOADING,this.trigger("BeforeUpload",t)&&this.trigger("UploadFile",t));u==r.length&&(this.stop(),this.trigger("UploadComplete",r))}}function s(){var u,t;for(e.reset(),u=0;u<r.length;u++)t=r[u],t.size!==i?(e.size+=t.size,e.loaded+=t.loaded):e.size=i,t.status==n.DONE?e.uploaded++:t.status==n.FAILED?e.failed++:e.queued++;e.size===i?e.percent=r.length>0?Math.ceil(e.uploaded/r.length*100):0:(e.bytesPerSec=Math.ceil(e.loaded/((+new Date-c||1)/1e3)),e.percent=e.size>0?Math.ceil(e.loaded/e.size*100):0)}var o={},e,r=[],c,l=!1;e=new n.QueueProgress;t=n.extend({chunk_size:0,multipart:!0,multi_selection:!0,file_data_name:"file",filters:[]},t);n.extend(this,{state:n.STOPPED,runtime:"",features:{},files:r,settings:t,total:e,id:n.guid(),init:function(){function v(){var i=l[y++],u,t,r;if(i){if(u=i.getFeatures(),t=e.settings.required_features,t)for(t=t.split(","),r=0;r<t.length;r++)if(!u[t[r]]){v();return}i.init(e,function(n){n&&n.success?(e.features=u,e.runtime=i.name,e.trigger("Init",{runtime:i.name}),e.trigger("PostInit"),e.refresh()):v()})}else e.trigger("Error",{code:n.INIT_ERROR,message:n.translate("Init error.")})}var e=this,o,l,y=0,a;if(typeof t.preinit=="function"?t.preinit(e):n.each(t.preinit,function(n,t){e.bind(t,n)}),t.page_url=t.page_url||document.location.pathname.replace(/\/[^\/]+$/g,"/"),/^(\w+:\/\/|\/)/.test(t.url)||(t.url=t.page_url+t.url),t.chunk_size=n.parseSize(t.chunk_size),t.max_file_size=n.parseSize(t.max_file_size),e.bind("FilesAdded",function(u,o){var c,s,a=0,h,l=t.filters;for(l&&l.length&&(h=[],n.each(l,function(t){n.each(t.extensions.split(/,/),function(n){/^\s*\*\s*$/.test(n)?h.push("\\.*"):h.push("\\."+n.replace(new RegExp("["+"/^$.*+?|()[]{}\\".replace(/./g,"\\$&")+"]","g"),"\\$&"))})}),h=new RegExp(h.join("|")+"$","i")),c=0;c<o.length;c++){if(s=o[c],s.loaded=0,s.percent=0,s.status=n.QUEUED,h&&!h.test(s.name)){u.trigger("Error",{code:n.FILE_EXTENSION_ERROR,message:n.translate("File extension error."),file:s});continue}if(s.size!==i&&s.size>t.max_file_size){u.trigger("Error",{code:n.FILE_SIZE_ERROR,message:n.translate("File size error."),file:s});continue}r.push(s);a++}if(a)f(function(){e.trigger("QueueChanged");e.refresh()},1);else return!1}),t.unique_names&&e.bind("UploadFile",function(n,t){var i=t.name.match(/\.([^.]+)$/),r="tmp";i&&(r=i[1]);t.target_name=t.id+"."+r}),e.bind("UploadProgress",function(n,t){t.percent=t.size>0?Math.ceil(t.loaded/t.size*100):100;s()}),e.bind("StateChanged",function(t){if(t.state==n.STARTED)c=+new Date;else if(t.state==n.STOPPED)for(o=t.files.length-1;o>=0;o--)t.files[o].status==n.UPLOADING&&(t.files[o].status=n.QUEUED,s())}),e.bind("QueueChanged",s),e.bind("Error",function(t,i){i.file&&(i.file.status=n.FAILED,s(),t.state==n.STARTED&&f(function(){h.call(e)},1))}),e.bind("FileUploaded",function(t,i){i.status=n.DONE;i.loaded=i.size;t.trigger("UploadProgress",i);f(function(){h.call(e)},1)}),t.runtimes)for(l=[],a=t.runtimes.split(/\s?,\s?/),o=0;o<a.length;o++)u[a[o]]&&l.push(u[a[o]]);else l=u;v();typeof t.init=="function"?t.init(e):n.each(t.init,function(n,t){e.bind(t,n)})},refresh:function(){this.trigger("Refresh")},start:function(){r.length&&this.state!=n.STARTED&&(this.state=n.STARTED,this.trigger("StateChanged"),h.call(this))},stop:function(){this.state!=n.STOPPED&&(this.state=n.STOPPED,this.trigger("CancelUpload"),this.trigger("StateChanged"))},disableBrowse:function(){l=arguments[0]!==i?arguments[0]:!0;this.trigger("DisableBrowse",l)},getFile:function(n){for(var t=r.length-1;t>=0;t--)if(r[t].id===n)return r[t]},removeFile:function(n){for(var t=r.length-1;t>=0;t--)if(r[t].id===n.id)return this.splice(t,1)[0]},splice:function(n,t){var u;return u=r.splice(n===i?0:n,t===i?r.length:t),this.trigger("FilesRemoved",u),this.trigger("QueueChanged"),u},trigger:function(n){var i=o[n.toLowerCase()],t,r;if(i)for(r=Array.prototype.slice.call(arguments),r[0]=this,t=0;t<i.length;t++)if(i[t].func.apply(i[t].scope,r)===!1)return!1;return!0},hasEventListener:function(n){return!!o[n.toLowerCase()]},bind:function(n,t,i){var r;n=n.toLowerCase();r=o[n]||[];r.push({func:t,scope:i||this});o[n]=r},unbind:function(n){n=n.toLowerCase();var t=o[n],r,u=arguments[1];if(t){if(u!==i){for(r=t.length-1;r>=0;r--)if(t[r].func===u){t.splice(r,1);break}}else t=[];t.length||delete o[n]}},unbindAll:function(){var t=this;n.each(o,function(n,i){t.unbind(i)})},destroy:function(){this.stop();this.trigger("Destroy");this.unbindAll()}})};n.File=function(n,t,i){var r=this;r.id=n;r.name=t;r.size=i;r.loaded=0;r.percent=0;r.status=0};n.Runtime=function(){this.getFeatures=function(){};this.init=function(){}};n.QueueProgress=function(){var n=this;n.size=0;n.loaded=0;n.uploaded=0;n.failed=0;n.queued=0;n.percent=0;n.bytesPerSec=0;n.reset=function(){n.size=n.loaded=n.uploaded=n.failed=n.queued=n.percent=n.bytesPerSec=0}};n.runtimes={};window.plupload=n}(),function(){if(!window.google||!google.gears){var n=null;if(typeof GearsFactory!="undefined")n=new GearsFactory;else try{n=new ActiveXObject("Gears.Factory");n.getBuildInfo().indexOf("ie_mobile")!=-1&&n.privateSetGlobalObject(this)}catch(t){typeof navigator.mimeTypes!="undefined"&&navigator.mimeTypes["application/x-googlegears"]&&(n=document.createElement("object"),n.style.display="none",n.width=0,n.height=0,n.type="application/x-googlegears",document.documentElement.appendChild(n))}n&&(window.google||(window.google={}),google.gears||(google.gears={factory:n}))}}(),function(n,t,i){function u(n,t,i){var r,u;r=google.gears.factory.create("beta.canvas");try{if(r.decode(n),t.width||(t.width=r.width),t.height||(t.height=r.height),u=Math.min(t.width/r.width,t.height/r.height),u<1)r.resize(Math.round(r.width*u),Math.round(r.height*u));else if(!t.quality||i!=="image/jpeg")return n;return t.quality?r.encode(i,{quality:t.quality/100}):r.encode(i)}catch(f){}return n}var r={};i.runtimes.Gears=i.addRuntime("gears",{getFeatures:function(){return{dragdrop:!0,jpgresize:!0,pngresize:!0,chunks:!0,progress:!0,multipart:!0,multi_selection:!0}},init:function(f,e){function c(n){for(var t,o=[],e,u=0;u<n.length;u++)t=n[u],e=i.guid(),r[e]=t.blob,o.push(new i.File(e,t.name,t.blob.length));f.trigger("FilesAdded",o)}var s,o,h=!1;if(!n.google||!google.gears)return e({success:!1});try{s=google.gears.factory.create("beta.desktop")}catch(l){return e({success:!1})}f.bind("PostInit",function(){var n=f.settings,r=t.getElementById(n.drop_element);r&&(i.addEvent(r,"dragover",function(n){s.setDropEffect(n,"copy");n.preventDefault()},f.id),i.addEvent(r,"drop",function(n){var t=s.getDragData(n,"application/x-gears-files");t&&c(t.files);n.preventDefault()},f.id),r=0);i.addEvent(t.getElementById(n.browse_button),"click",function(t){var f=[],r,i,u;if(t.preventDefault(),!h){n:for(r=0;r<n.filters.length;r++)for(u=n.filters[r].extensions.split(","),i=0;i<u.length;i++){if(u[i]==="*"){f=[];break n}f.push("."+u[i])}s.openFiles(c,{singleFile:!n.multi_selection,filter:f})}},f.id)});f.bind("CancelUpload",function(){o.abort&&o.abort()});f.bind("UploadFile",function(n,t){function a(){function w(r){var e,s="----pluploadboundary"+i.guid(),h="--",f="\r\n",c,l;v&&(o.setRequestHeader("Content-Type","multipart/form-data; boundary="+s),e=google.gears.factory.create("beta.blobbuilder"),i.each(i.extend(u,n.settings.multipart_params),function(n,t){e.append(h+s+f+'Content-Disposition: form-data; name="'+t+'"'+f+f);e.append(n+f)}),l=i.mimeTypes[t.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream",e.append(h+s+f+'Content-Disposition: form-data; name="'+n.settings.file_data_name+'"; filename="'+t.name+'"'+f+"Content-Type: "+l+f+f),e.append(r),e.append(f+h+s+h+f),c=e.getAsBlob(),y=c.length-r.length,r=c);o.send(r)}var l,v=n.settings.multipart,y=0,u={name:t.target_name||t.name},p=n.settings.url;t.status!=i.DONE&&t.status!=i.FAILED&&n.state!=i.STOPPED&&(h&&(u.chunk=f,u.chunks=e),l=Math.min(s,t.size-f*s),v||(p=i.buildUrl(n.settings.url,u)),o=google.gears.factory.create("beta.httprequest"),o.open("POST",p),v||(o.setRequestHeader("Content-Disposition",'attachment; filename="'+t.name+'"'),o.setRequestHeader("Content-Type","application/octet-stream")),i.each(n.settings.headers,function(n,t){o.setRequestHeader(t,n)}),o.upload.onprogress=function(i){t.loaded=c+i.loaded-y;n.trigger("UploadProgress",t)},o.onreadystatechange=function(){var r;if(o.readyState==4&&n.state!==i.STOPPED)if(o.status==200){if(r={chunk:f,chunks:e,response:o.responseText,status:o.status},n.trigger("ChunkUploaded",t,r),r.cancelled){t.status=i.FAILED;return}c+=l;++f>=e?(t.status=i.DONE,n.trigger("FileUploaded",t,{response:o.responseText,status:o.status})):a()}else n.trigger("Error",{code:i.HTTP_ERROR,message:i.translate("HTTP Error."),file:t,chunk:f,chunks:e,status:o.status})},f<e&&w(r[t.id].slice(f*s,l)))}var f=0,e,s,c=0,l=n.settings.resize,h;l&&/\.(png|jpg|jpeg)$/i.test(t.name)&&(r[t.id]=u(r[t.id],l,/\.png$/i.test(t.name)?"image/png":"image/jpeg"));t.size=r[t.id].length;s=n.settings.chunk_size;h=s>0;e=Math.ceil(t.size/s);h||(s=t.size,e=1);a()});f.bind("DisableBrowse",function(n,t){h=t});f.bind("Destroy",function(n){var u,r,f={browseButton:n.settings.browse_button,dropElm:n.settings.drop_element};for(u in f)r=t.getElementById(f[u]),r&&i.removeAllEvents(r,n.id)});e({success:!0})}})}(window,document,plupload),function(n,t,i,r){function f(n){var t,e=typeof n,o,i,u;if(n===r||n===null)return"null";if(e==="string")return t="\bb\tt\nn\ff\rr\"\"''\\\\",'"'+n.replace(/([\u0080-\uFFFF\x00-\x1f\"])/g,function(n,i){var r=t.indexOf(i);return r+1?"\\"+t.charAt(r+1):(n=i.charCodeAt().toString(16),"\\u"+"0000".substring(n.length)+n)})+'"';if(e=="object"){if(o=n.length!==r,t="",o){for(i=0;i<n.length;i++)t&&(t+=","),t+=f(n[i]);t="["+t+"]"}else{for(u in n)n.hasOwnProperty(u)&&(t&&(t+=","),t+=f(u)+":"+f(n[u]));t="{"+t+"}"}return t}return""+n}function o(n){var r=!1,o=null,u,t,i,f,s,e=0,h;try{try{o=new ActiveXObject("AgControl.AgControl");o.IsVersionSupported(n)&&(r=!0);o=null}catch(c){if(h=navigator.plugins["Silverlight Plug-In"],h){for(u=h.description,u==="1.0.30226.2"&&(u="2.0.30226.2"),t=u.split(".");t.length>3;)t.pop();while(t.length<4)t.push(0);for(i=n.split(".");i.length>4;)i.pop();do f=parseInt(i[e],10),s=parseInt(t[e],10),e++;while(e<i.length&&f===s);f<=s&&!isNaN(f)&&(r=!0)}}}catch(l){r=!1}return r}var e={},u={};i.silverlight={trigger:function(n,t){var r=e[n],u;r&&(u=i.toArray(arguments).slice(1),u[0]="Silverlight:"+t,setTimeout(function(){r.trigger.apply(r,u)},0))}};i.runtimes.Silverlight=i.addRuntime("silverlight",{getFeatures:function(){return{jpgresize:!0,pngresize:!0,chunks:!0,progress:!0,multipart:!0,multi_selection:!0}},init:function(r,s){function l(){return t.getElementById(r.id+"_silverlight").content.Upload}var h,v="",y=r.settings.filters,c,a=t.body;if(!o("2.0.31005.0")||n.opera&&n.opera.buildNumber){s({success:!1});return}for(u[r.id]=!1,e[r.id]=r,h=t.createElement("div"),h.id=r.id+"_silverlight_container",i.extend(h.style,{position:"absolute",top:"0px",background:r.settings.shim_bgcolor||"transparent",zIndex:99999,width:"100px",height:"100px",overflow:"hidden",opacity:r.settings.shim_bgcolor||t.documentMode>8?"":.01}),h.className="plupload silverlight",r.settings.container&&(a=t.getElementById(r.settings.container),i.getStyle(a,"position")==="static"&&(a.style.position="relative")),a.appendChild(h),c=0;c<y.length;c++)v+=(v!=""?"|":"")+y[c].title+" | *."+y[c].extensions.replace(/,/g,";*.");h.innerHTML='<object id="'+r.id+'_silverlight" data="data:application/x-silverlight," type="application/x-silverlight-2" style="outline:none;" width="1024" height="1024"><param name="source" value="'+r.settings.silverlight_xap_url+'"/><param name="background" value="Transparent"/><param name="windowless" value="true"/><param name="enablehtmlaccess" value="true"/><param name="initParams" value="id='+r.id+",filter="+v+",multiselect="+r.settings.multi_selection+'"/><\/object>';r.bind("Silverlight:Init",function(){var o,n={};u[r.id]||(u[r.id]=!0,r.bind("Silverlight:StartSelectFiles",function(){o=[]}),r.bind("Silverlight:SelectFile",function(t,r,u,f){var e;e=i.guid();n[e]=r;n[r]=e;o.push(new i.File(e,u,f))}),r.bind("Silverlight:SelectSuccessful",function(){o.length&&r.trigger("FilesAdded",o)}),r.bind("Silverlight:UploadChunkError",function(t,u,f,e,o){r.trigger("Error",{code:i.IO_ERROR,message:"IO Error.",details:o,file:t.getFile(n[u])})}),r.bind("Silverlight:UploadFileProgress",function(t,r,u,f){var e=t.getFile(n[r]);e.status!=i.FAILED&&(e.size=f,e.loaded=u,t.trigger("UploadProgress",e))}),r.bind("Refresh",function(n){var r,u,f;r=t.getElementById(n.settings.browse_button);r&&(u=i.getPos(r,t.getElementById(n.settings.container)),f=i.getSize(r),i.extend(t.getElementById(n.id+"_silverlight_container").style,{top:u.y+"px",left:u.x+"px",width:f.w+"px",height:f.h+"px"}))}),r.bind("Silverlight:UploadChunkSuccessful",function(t,r,u,f,e){var s,o=t.getFile(n[r]);s={chunk:u,chunks:f,response:e};t.trigger("ChunkUploaded",o,s);o.status!=i.FAILED&&t.state!==i.STOPPED&&l().UploadNextChunk();u==f-1&&(o.status=i.DONE,t.trigger("FileUploaded",o,{response:e}))}),r.bind("Silverlight:UploadSuccessful",function(t,r,u){var f=t.getFile(n[r]);f.status=i.DONE;t.trigger("FileUploaded",f,{response:u})}),r.bind("FilesRemoved",function(t,i){for(var r=0;r<i.length;r++)l().RemoveFile(n[i[r].id])}),r.bind("UploadFile",function(t,r){var u=t.settings,e=u.resize||{};l().UploadFile(n[r.id],t.settings.url,f({name:r.target_name||r.name,mime:i.mimeTypes[r.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream",chunk_size:u.chunk_size,image_width:e.width,image_height:e.height,image_quality:e.quality,multipart:!!u.multipart,multipart_params:u.multipart_params||{},file_data_name:u.file_data_name,headers:u.headers}))}),r.bind("CancelUpload",function(){l().CancelUpload()}),r.bind("Silverlight:MouseEnter",function(n){var u,f;u=t.getElementById(r.settings.browse_button);f=n.settings.browse_button_hover;u&&f&&i.addClass(u,f)}),r.bind("Silverlight:MouseLeave",function(n){var u,f;u=t.getElementById(r.settings.browse_button);f=n.settings.browse_button_hover;u&&f&&i.removeClass(u,f)}),r.bind("Silverlight:MouseLeftButtonDown",function(n){var u,f;u=t.getElementById(r.settings.browse_button);f=n.settings.browse_button_active;u&&f&&(i.addClass(u,f),i.addEvent(t.body,"mouseup",function(){i.removeClass(u,f)}))}),r.bind("Sliverlight:StartSelectFiles",function(n){var u,f;u=t.getElementById(r.settings.browse_button);f=n.settings.browse_button_active;u&&f&&i.removeClass(u,f)}),r.bind("DisableBrowse",function(n,t){l().DisableBrowse(t)}),r.bind("Destroy",function(n){var r;i.removeAllEvents(t.body,n.id);delete u[n.id];delete e[n.id];r=t.getElementById(n.id+"_silverlight_container");r&&r.parentNode.removeChild(r)}),s({success:!0}))})}})}(window,document,plupload),function(n,t,i){function f(){var n;try{n=navigator.plugins["Shockwave Flash"];n=n.description}catch(t){try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(i){n="0.0"}}return n=n.match(/\d+/g),parseFloat(n[0]+"."+n[1])}var u={},r={};i.flash={trigger:function(n,t,i){setTimeout(function(){var r=u[n];r&&r.trigger("Flash:"+t,i)},0)}};i.runtimes.Flash=i.addRuntime("flash",{getFeatures:function(){return{jpgresize:!0,pngresize:!0,maxWidth:8091,maxHeight:8091,chunks:!0,progress:!0,multipart:!0,multi_selection:!0}},init:function(n,e){function s(){return t.getElementById(n.id+"_flash")}function l(){if(a++>5e3){e({success:!1});return}r[n.id]===!1&&setTimeout(l,1)}var c,o,a=0,h=t.body;if(f()<10){e({success:!1});return}r[n.id]=!1;u[n.id]=n;c=t.getElementById(n.settings.browse_button);o=t.createElement("div");o.id=n.id+"_flash_container";i.extend(o.style,{position:"absolute",top:"0px",background:n.settings.shim_bgcolor||"transparent",zIndex:99999,width:"100%",height:"100%"});o.className="plupload flash";n.settings.container&&(h=t.getElementById(n.settings.container),i.getStyle(h,"position")==="static"&&(h.style.position="relative"));h.appendChild(o),function(){var r,u;r='<object id="'+n.id+'_flash" type="application/x-shockwave-flash" data="'+n.settings.flash_swf_url+'" ';i.ua.ie&&(r+='classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');r+='width="100%" height="100%" style="outline:0"><param name="movie" value="'+n.settings.flash_swf_url+'" /><param name="flashvars" value="id='+escape(n.id)+'" /><param name="wmode" value="transparent" /><param name="allowscriptaccess" value="always" /><\/object>';i.ua.ie?(u=t.createElement("div"),o.appendChild(u),u.outerHTML=r,u=null):o.innerHTML=r}();l();c=o=null;n.bind("Destroy",function(n){var f;i.removeAllEvents(t.body,n.id);delete r[n.id];delete u[n.id];f=t.getElementById(n.id+"_flash_container");f&&f.parentNode.removeChild(f)});n.bind("Flash:Init",function(){var u={};try{s().setFileFilters(n.settings.filters,n.settings.multi_selection)}catch(f){e({success:!1});return}r[n.id]||(r[n.id]=!0,n.bind("UploadFile",function(t,r){var f=t.settings,e=n.settings.resize||{};s().uploadFile(u[r.id],f.url,{name:r.target_name||r.name,mime:i.mimeTypes[r.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream",chunk_size:f.chunk_size,width:e.width,height:e.height,quality:e.quality,multipart:f.multipart,multipart_params:f.multipart_params||{},file_data_name:f.file_data_name,format:/\.(jpg|jpeg)$/i.test(r.name)?"jpg":"png",headers:f.headers,urlstream_upload:f.urlstream_upload})}),n.bind("CancelUpload",function(){s().cancelUpload()}),n.bind("Flash:UploadProcess",function(n,t){var r=n.getFile(u[t.id]);r.status!=i.FAILED&&(r.loaded=t.loaded,r.size=t.size,n.trigger("UploadProgress",r))}),n.bind("Flash:UploadChunkComplete",function(n,t){var f,r=n.getFile(u[t.id]);f={chunk:t.chunk,chunks:t.chunks,response:t.text};n.trigger("ChunkUploaded",r,f);r.status!==i.FAILED&&n.state!==i.STOPPED&&s().uploadNextChunk();t.chunk==t.chunks-1&&(r.status=i.DONE,n.trigger("FileUploaded",r,{response:t.text}))}),n.bind("Flash:SelectFiles",function(t,r){for(var f,s=[],o,e=0;e<r.length;e++)f=r[e],o=i.guid(),u[o]=f.id,u[f.id]=o,s.push(new i.File(o,f.name,f.size));s.length&&n.trigger("FilesAdded",s)}),n.bind("Flash:SecurityError",function(t,r){n.trigger("Error",{code:i.SECURITY_ERROR,message:i.translate("Security error."),details:r.message,file:n.getFile(u[r.id])})}),n.bind("Flash:GenericError",function(t,r){n.trigger("Error",{code:i.GENERIC_ERROR,message:i.translate("Generic error."),details:r.message,file:n.getFile(u[r.id])})}),n.bind("Flash:IOError",function(t,r){n.trigger("Error",{code:i.IO_ERROR,message:i.translate("IO error."),details:r.message,file:n.getFile(u[r.id])})}),n.bind("Flash:ImageError",function(t,r){n.trigger("Error",{code:parseInt(r.code,10),message:i.translate("Image error."),file:n.getFile(u[r.id])})}),n.bind("Flash:StageEvent:rollOver",function(r){var u,f;u=t.getElementById(n.settings.browse_button);f=r.settings.browse_button_hover;u&&f&&i.addClass(u,f)}),n.bind("Flash:StageEvent:rollOut",function(r){var u,f;u=t.getElementById(n.settings.browse_button);f=r.settings.browse_button_hover;u&&f&&i.removeClass(u,f)}),n.bind("Flash:StageEvent:mouseDown",function(r){var u,f;u=t.getElementById(n.settings.browse_button);f=r.settings.browse_button_active;u&&f&&(i.addClass(u,f),i.addEvent(t.body,"mouseup",function(){i.removeClass(u,f)},r.id))}),n.bind("Flash:StageEvent:mouseUp",function(r){var u,f;u=t.getElementById(n.settings.browse_button);f=r.settings.browse_button_active;u&&f&&i.removeClass(u,f)}),n.bind("Flash:ExifData",function(t,i){n.trigger("ExifData",n.getFile(u[i.id]),i.data)}),n.bind("Flash:GpsData",function(t,i){n.trigger("GpsData",n.getFile(u[i.id]),i.data)}),n.bind("QueueChanged",function(){n.refresh()}),n.bind("FilesRemoved",function(n,t){for(var i=0;i<t.length;i++)s().removeFile(u[t[i].id])}),n.bind("StateChanged",function(){n.refresh()}),n.bind("Refresh",function(r){var u,f,e;s().setFileFilters(n.settings.filters,n.settings.multi_selection);u=t.getElementById(r.settings.browse_button);u&&(f=i.getPos(u,t.getElementById(r.settings.container)),e=i.getSize(u),i.extend(t.getElementById(r.id+"_flash_container").style,{top:f.y+"px",left:f.x+"px",width:e.w+"px",height:e.h+"px"}))}),n.bind("DisableBrowse",function(n,t){s().disableBrowse(t)}),e({success:!0}))})}})}(window,document,plupload),function(n){n.runtimes.BrowserPlus=n.addRuntime("browserplus",{getFeatures:function(){return{dragdrop:!0,jpgresize:!0,pngresize:!0,chunks:!0,progress:!0,multipart:!0,multi_selection:!0}},init:function(t,i){function o(i){for(var o=[],u,f,r=0;r<i.length;r++)u=i[r],f=n.guid(),e[f]=u,o.push(new n.File(f,u.name,u.size));r&&t.trigger("FilesAdded",o)}function s(){var s=!1;t.bind("PostInit",function(){function c(n,t){r.DragAndDrop.AddDropTarget({id:n},function(){r.DragAndDrop.AttachCallbacks({id:n,hover:function(n){!n&&t&&t()},drop:function(n){t&&t();o(n)}},function(){})})}function l(){document.getElementById(u).style.top="-1000px"}var i,e=f.drop_element,u=t.id+"_droptarget",h=document.getElementById(e);h&&(document.attachEvent&&/MSIE/gi.test(navigator.userAgent)?(i=document.createElement("div"),i.setAttribute("id",u),n.extend(i.style,{position:"absolute",top:"-1000px",background:"red",filter:"alpha(opacity=0)",opacity:0}),document.body.appendChild(i),n.addEvent(h,"dragenter",function(){var t,i;t=document.getElementById(e);i=n.getPos(t);n.extend(document.getElementById(u).style,{top:i.y+"px",left:i.x+"px",width:t.offsetWidth+"px",height:t.offsetHeight+"px"})}),c(u,l)):c(e));n.addEvent(document.getElementById(f.browse_button),"click",function(t){var e=[],h,i,l=f.filters,u,c;if(t.preventDefault(),!s){n:for(h=0;h<l.length;h++)for(u=l[h].extensions.split(","),i=0;i<u.length;i++){if(u[i]==="*"){e=[];break n}c=n.mimeTypes[u[i]];c&&n.inArray(c,e)===-1&&e.push(n.mimeTypes[u[i]])}r.FileBrowse.OpenBrowseDialog({mimeTypes:e},function(n){n.success&&o(n.value)})}});h=i=null});t.bind("CancelUpload",function(){r.Uploader.cancel({},function(){})});t.bind("DisableBrowse",function(n,t){s=t});t.bind("UploadFile",function(t,i){function c(u,e){var l;i.status!=n.FAILED&&(o.name=i.target_name||i.name,s&&(o.chunk=""+u,o.chunks=""+e),l=h.shift(),r.Uploader.upload({url:t.settings.url,files:{file:l},cookies:document.cookies,postvars:n.extend(o,t.settings.multipart_params),progressCallback:function(n){var r,e=0;for(f[u]=parseInt(n.filePercent*l.size/100,10),r=0;r<f.length;r++)e+=f[r];i.loaded=e;t.trigger("UploadProgress",i)}},function(r){var f;r.success?(f=r.value.statusCode,s&&t.trigger("ChunkUploaded",i,{chunk:u,chunks:e,response:r.value.body,status:f}),h.length>0?c(++u,e):(i.status=n.DONE,t.trigger("FileUploaded",i,{response:r.value.body,status:f}),f>=400&&t.trigger("Error",{code:n.HTTP_ERROR,message:n.translate("HTTP Error."),file:i,status:f}))):t.trigger("Error",{code:n.GENERIC_ERROR,message:n.translate("Generic Error."),file:i,details:r.error})}))}function a(n){i.size=n.size;s?r.FileAccess.chunk({file:n,chunkSize:s},function(n){var r,i,t;if(n.success){for(r=n.value,i=r.length,f=Array(i),t=0;t<i;t++)f[t]=0,h.push(r[t]);c(0,i)}}):(f=Array(1),h.push(n),c(0,1))}var l=e[i.id],o={},s=t.settings.chunk_size,f,h=[];u&&/\.(png|jpg|jpeg)$/i.test(i.name)?BrowserPlus.ImageAlter.transform({file:l,quality:u.quality||90,actions:[{scale:{maxwidth:u.width,maxheight:u.height}}]},function(n){n.success&&a(n.value.file)}):a(l)});i({success:!0})}var r=window.BrowserPlus,e={},f=t.settings,u=f.resize;r?r.init(function(n){var t=[{service:"Uploader",version:"3"},{service:"DragAndDrop",version:"1"},{service:"FileBrowse",version:"1"},{service:"FileAccess",version:"2"}];u&&t.push({service:"ImageAlter",version:"4"});n.success?r.require({services:t},function(n){n.success?s():i()}):i()}):i()}})}(plupload),function(n,t,r,u){function c(n){var u=n.naturalWidth,f=n.naturalHeight,i,r;return u*f>1048576?(i=t.createElement("canvas"),i.width=i.height=1,r=i.getContext("2d"),r.drawImage(n,-u+1,0),r.getImageData(0,0,1,1).data[3]===0):!1}function l(n,i,r){var f=t.createElement("canvas"),e,c,s;f.width=1;f.height=r;e=f.getContext("2d");e.drawImage(n,0,0);for(var l=e.getImageData(0,0,1,r).data,o=0,h=r,u=r;u>o;)c=l[(u-1)*4+3],c===0?h=u:o=u,u=h+o>>1;return s=u/r,s===0?1:s}function a(n,i,r){var f=n.naturalWidth,e=n.naturalHeight,w=r.width,b=r.height,a=i.getContext("2d"),k,u,s,y,o,p;a.save();k=c(n);k&&(f/=2,e/=2);u=1024;s=t.createElement("canvas");s.width=s.height=u;for(var v=s.getContext("2d"),d=l(n,f,e),h=0;h<e;){for(y=h+u>e?e-h:u,o=0;o<f;){p=o+u>f?f-o:u;v.clearRect(0,0,u,u);v.drawImage(n,-o,-h);var g=o*w/f<<0,nt=Math.ceil(p*w/f),tt=h*b/e/d<<0,it=Math.ceil(y*b/e/d);a.drawImage(s,0,0,p,y,g,tt,nt,it);o+=u}h+=u}a.restore();s=v=null}function v(t,i){var r;if("FileReader"in n)r=new FileReader,r.readAsDataURL(t),r.onload=function(){i(r.result)};else return i(t.getAsDataURL())}function o(t,i){var r;if("FileReader"in n)r=new FileReader,r.readAsBinaryString(t),r.onload=function(){i(r.result)};else return i(t.getAsBinary())}function y(n,i,r,u){var o,e,s,c=this;v(f[n.id],function(f){o=t.createElement("canvas");o.style.display="none";t.body.appendChild(o);e=new Image;e.onerror=e.onabort=function(){u({success:!1})};e.onload=function(){var v,y,t,l;if(i.width||(i.width=e.width),i.height||(i.height=e.height),s=Math.min(i.width/e.width,i.height/e.height),s<1)v=Math.round(e.width*s),y=Math.round(e.height*s);else if(i.quality&&r==="image/jpeg")v=e.width,y=e.height;else{u({success:!1});return}if(o.width=v,o.height=y,a(e,o,{width:v,height:y}),r==="image/jpeg"&&(t=new h(atob(f.substring(f.indexOf("base64,")+7))),t.headers&&t.headers.length&&(l=new p,l.init(t.get("exif")[0])&&(l.setExif("PixelXDimension",v),l.setExif("PixelYDimension",y),t.set("exif",l.getBinary()),c.hasEventListener("ExifData")&&c.trigger("ExifData",n,l.EXIF()),c.hasEventListener("GpsData")&&c.trigger("GpsData",n,l.GPS())))),i.quality&&r==="image/jpeg")try{f=o.toDataURL(r,i.quality/100)}catch(w){f=o.toDataURL(r)}else f=o.toDataURL(r);f=f.substring(f.indexOf("base64,")+7);f=atob(f);t&&t.headers&&t.headers.length&&(f=t.restore(f),t.purge());o.parentNode.removeChild(o);u({success:!0,data:f})};e.src=f})}function s(){function i(i,r){for(var e=t?0:-8*(r-1),f=0,u=0;u<r;u++)f|=n.charCodeAt(i+u)<<Math.abs(e+u*8);return f}function r(t,i,r){var r=arguments.length===3?r:n.length-i-1;n=n.substr(0,i)+t+n.substr(r+i)}function f(n,i,u){for(var e="",o=t?0:-8*(u-1),f=0;f<u;f++)e+=String.fromCharCode(i>>Math.abs(o+f*8)&255);r(e,n,u)}var t=!1,n;return{II:function(n){if(n===u)return t;t=n},init:function(i){t=!1;n=i},SEGMENT:function(t,i,u){switch(arguments.length){case 1:return n.substr(t,n.length-t-1);case 2:return n.substr(t,i);case 3:r(u,t,i);break;default:return n}},BYTE:function(n){return i(n,1)},SHORT:function(n){return i(n,2)},LONG:function(n,t){if(t===u)return i(n,4);f(n,t,4)},SLONG:function(n){var t=i(n,4);return t>2147483647?t-4294967296:t},STRING:function(n,t){var r="";for(t+=n;n<t;n++)r+=String.fromCharCode(i(n,1));return r}}}function h(n){var e={65505:{app:"EXIF",name:"APP1",signature:"Exif\0"},65506:{app:"ICC",name:"APP2",signature:"ICC_PROFILE\0"},65517:{app:"IPTC",name:"APP13",signature:"Photoshop 3.0\0"}},i=[],t,r,f=u,o=0,c;if(t=new s,t.init(n),t.SHORT(0)===65496){for(r=2,c=Math.min(1048576,n.length);r<=c;){if(f=t.SHORT(r),f>=65488&&f<=65495){r+=2;continue}if(f===65498||f===65497)break;o=t.SHORT(r+2)+2;e[f]&&t.STRING(r+4,e[f].signature.length)===e[f].signature&&i.push({hex:f,app:e[f].app.toUpperCase(),name:e[f].name.toUpperCase(),start:r,length:o,segment:t.SEGMENT(r,o)});r+=o}return t.init(null),{headers:i,restore:function(n){var f,e,u,o;if(t.init(n),f=new h(n),!f.headers)return!1;for(u=f.headers.length;u>0;u--)e=f.headers[u-1],t.SEGMENT(e.start,e.length,"");for(f.purge(),r=t.SHORT(2)==65504?4+t.SHORT(4):2,u=0,o=i.length;u<o;u++)t.SEGMENT(r,0,i[u].segment),r+=i[u].length;return t.SEGMENT()},get:function(n){for(var r=[],t=0,u=i.length;t<u;t++)i[t].app===n.toUpperCase()&&r.push(i[t].segment);return r},set:function(n,t){var u=[],r,f;for(typeof t=="string"?u.push(t):u=t,r=ii=0,f=i.length;r<f;r++)if(i[r].app===n.toUpperCase()&&(i[r].segment=u[ii],i[r].length=u[ii].length,ii++),ii>=u.length)break},purge:function(){i=[];t.init(null)}}}}function p(){function o(i,r){for(var p=n.SHORT(i),f,c,y,s,w,o,a,h=[],v={},l=0;l<p;l++)if(o=w=i+12*l+2,c=r[n.SHORT(o)],c!==u){y=n.SHORT(o+=2);s=n.LONG(o+=2);o+=4;h=[];switch(y){case 1:case 7:for(s>4&&(o=n.LONG(o)+t.tiffHeader),f=0;f<s;f++)h[f]=n.BYTE(o+f);break;case 2:s>4&&(o=n.LONG(o)+t.tiffHeader);v[c]=n.STRING(o,s-1);continue;case 3:for(s>2&&(o=n.LONG(o)+t.tiffHeader),f=0;f<s;f++)h[f]=n.SHORT(o+f*2);break;case 4:for(s>1&&(o=n.LONG(o)+t.tiffHeader),f=0;f<s;f++)h[f]=n.LONG(o+f*4);break;case 5:for(o=n.LONG(o)+t.tiffHeader,f=0;f<s;f++)h[f]=n.LONG(o+f*4)/n.LONG(o+f*4+4);break;case 9:for(o=n.LONG(o)+t.tiffHeader,f=0;f<s;f++)h[f]=n.SLONG(o+f*4);break;case 10:for(o=n.LONG(o)+t.tiffHeader,f=0;f<s;f++)h[f]=n.SLONG(o+f*4)/n.SLONG(o+f*4+4);break;default:continue}a=s==1?h[0]:h;v[c]=e.hasOwnProperty(c)&&typeof a!="object"?e[c][a]:a}return v}function h(){var i=u,r=t.tiffHeader;return(n.II(n.SHORT(r)==18761),n.SHORT(r+=2)!==42)?!1:(t.IFD0=t.tiffHeader+n.LONG(r+=2),i=o(t.IFD0,f.tiff),t.exifIFD="ExifIFDPointer"in i?t.tiffHeader+i.ExifIFDPointer:u,t.gpsIFD="GPSInfoIFDPointer"in i?t.tiffHeader+i.GPSInfoIFDPointer:u,!0)}function c(r,u,e){var o,l,s,h=0,c;if(typeof u=="string"){c=f[r.toLowerCase()];for(hex in c)if(c[hex]===u){u=hex;break}}for(o=t[r.toLowerCase()+"IFD"],l=n.SHORT(o),i=0;i<l;i++)if(s=o+12*i+2,n.SHORT(s)==u){h=s+8;break}return h?(n.LONG(h,e),!0):!1}var n,f,t={},e;return n=new s,f={tiff:{274:"Orientation",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"}},e={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 -5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire.",1:"Flash fired.",5:"Strobe return light not detected.",7:"Strobe return light detected.",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},ExposureMode:{0:"Auto exposure",1:"Manual exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North latitude",S:"South latitude"},GPSLongitudeRef:{E:"East longitude",W:"West longitude"}},{init:function(i){return(t={tiffHeader:10},i===u||!i.length)?!1:(n.init(i),n.SHORT(0)===65505&&n.STRING(4,5).toUpperCase()==="EXIF\0")?h():!1},EXIF:function(){var n,i,u;if(n=o(t.exifIFD,f.exif),n.ExifVersion&&r.typeOf(n.ExifVersion)==="array"){for(i=0,u="";i<n.ExifVersion.length;i++)u+=String.fromCharCode(n.ExifVersion[i]);n.ExifVersion=u}return n},GPS:function(){var n;return n=o(t.gpsIFD,f.gps),n.GPSVersionID&&(n.GPSVersionID=n.GPSVersionID.join(".")),n},setExif:function(n,t){return n!=="PixelXDimension"&&n!=="PixelYDimension"?!1:c("exif",n,t)},getBinary:function(){return n.SEGMENT()}}}var f={},e;r.runtimes.Html5=r.addRuntime("html5",{getFeatures:function(){var i,f,o,s,u,h;return f=o=u=h=!1,n.XMLHttpRequest&&(i=new XMLHttpRequest,o=!!i.upload,f=!!(i.sendAsBinary||i.upload)),f&&(s=!!(i.sendAsBinary||n.Uint8Array&&n.ArrayBuffer),u=!!(File&&(File.prototype.getAsDataURL||n.FileReader)&&s),h=!!(File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice))),e=r.ua.safari&&r.ua.windows,{html5:f,dragdrop:function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n}(),jpgresize:u,pngresize:u,multipart:u||!!n.FileReader||!!n.FormData,canSendBinary:s,cantSendBlobInFormData:!!(r.ua.gecko&&n.FormData&&n.FileReader&&!FileReader.prototype.readAsArrayBuffer)||r.ua.android,progress:o,chunks:h,multi_selection:!(r.ua.safari&&r.ua.windows),triggerDialog:r.ua.gecko&&n.FormData||r.ua.webkit}},init:function(i,u){function c(n){for(var t,e=[],o,s={},u=0;u<n.length;u++)(t=n[u],s[t.name]&&r.ua.safari&&r.ua.windows)||(s[t.name]=!0,o=r.guid(),f[o]=t,e.push(new r.File(o,t.fileName||t.name,t.fileSize||t.size)));e.length&&i.trigger("FilesAdded",e)}var h,s;if(h=this.getFeatures(),!h.html5){u({success:!1});return}i.bind("Init",function(n){var u,f,o=[],s,e,b=n.settings.filters,h,l,a=t.body,v;u=t.createElement("div");u.id=n.id+"_html5_container";r.extend(u.style,{position:"absolute",background:i.settings.shim_bgcolor||"transparent",width:"100px",height:"100px",overflow:"hidden",zIndex:99999,opacity:i.settings.shim_bgcolor?"":0});u.className="plupload html5";i.settings.container&&(a=t.getElementById(i.settings.container),r.getStyle(a,"position")==="static"&&(a.style.position="relative"));a.appendChild(u);n:for(s=0;s<b.length;s++)for(h=b[s].extensions.split(/,/),e=0;e<h.length;e++){if(h[e]==="*"){o=[];break n}l=r.mimeTypes[h[e]];l&&r.inArray(l,o)===-1&&o.push(l)}if(u.innerHTML='<input id="'+i.id+'_html5"  style="font-size:999px" type="file" accept="'+o.join(",")+'" '+(i.settings.multi_selection&&i.features.multi_selection?'multiple="multiple"':"")+" />",u.scrollTop=100,v=t.getElementById(i.id+"_html5"),n.features.triggerDialog?r.extend(v.style,{position:"absolute",width:"100%",height:"100%"}):r.extend(v.style,{cssFloat:"right",styleFloat:"right"}),v.onchange=function(){c(this.files);this.value=""},f=t.getElementById(n.settings.browse_button),f){var y=n.settings.browse_button_hover,p=n.settings.browse_button_active,w=n.features.triggerDialog?f:u;y&&(r.addEvent(w,"mouseover",function(){r.addClass(f,y)},n.id),r.addEvent(w,"mouseout",function(){r.removeClass(f,y)},n.id));p&&(r.addEvent(w,"mousedown",function(){r.addClass(f,p)},n.id),r.addEvent(t.body,"mouseup",function(){r.removeClass(f,p)},n.id));n.features.triggerDialog&&r.addEvent(f,"click",function(i){var r=t.getElementById(n.id+"_html5");r&&!r.disabled&&r.click();i.preventDefault()},n.id)}});i.bind("PostInit",function(){var n=t.getElementById(i.settings.drop_element);if(n){if(e){r.addEvent(n,"dragenter",function(){var u,e,f;u=t.getElementById(i.id+"_drop");u||(u=t.createElement("input"),u.setAttribute("type","file"),u.setAttribute("id",i.id+"_drop"),u.setAttribute("multiple","multiple"),r.addEvent(u,"change",function(){c(this.files);r.removeEvent(u,"change",i.id);u.parentNode.removeChild(u)},i.id),r.addEvent(u,"dragover",function(n){n.stopPropagation()},i.id),n.appendChild(u));e=r.getPos(n,t.getElementById(i.settings.container));f=r.getSize(n);r.getStyle(n,"position")==="static"&&r.extend(n.style,{position:"relative"});r.extend(u.style,{position:"absolute",display:"block",top:0,left:0,width:f.w+"px",height:f.h+"px",opacity:0})},i.id);return}r.addEvent(n,"dragover",function(n){n.preventDefault()},i.id);r.addEvent(n,"drop",function(n){var t=n.dataTransfer;t&&t.files&&c(t.files);n.preventDefault()},i.id)}});i.bind("Refresh",function(n){var u,e,o,s,f;u=t.getElementById(i.settings.browse_button);u&&(e=r.getPos(u,t.getElementById(n.settings.container)),o=r.getSize(u),s=t.getElementById(i.id+"_html5_container"),r.extend(s.style,{top:e.y+"px",left:e.x+"px",width:o.w+"px",height:o.h+"px"}),i.features.triggerDialog&&(r.getStyle(u,"position")==="static"&&r.extend(u.style,{position:"relative"}),f=parseInt(r.getStyle(u,"zIndex"),10),isNaN(f)&&(f=0),r.extend(u.style,{zIndex:f}),r.extend(s.style,{zIndex:f-1})))});i.bind("DisableBrowse",function(n,i){var r=t.getElementById(n.id+"_html5");r&&(r.disabled=i)});i.bind("CancelUpload",function(){s&&s.abort&&s.abort()});i.bind("UploadFile",function(t,i){function l(n,t,i){var r;if(File.prototype.slice)try{return n.slice(),n.slice(t,i)}catch(u){return n.slice(t,i-t)}else return(r=File.prototype.webkitSlice||File.prototype.mozSlice)?r.call(n,t,i):null}function e(u){function o(){function d(n){var r,i;if(s.sendAsBinary)s.sendAsBinary(n);else if(t.features.canSendBinary){for(r=new Uint8Array(n.length),i=0;i<n.length;i++)r[i]=n.charCodeAt(i)&255;s.send(r.buffer)}}function g(u){var it=0,nt="----pluploadboundary"+r.guid(),g,tt="--",c="\r\n",l="";if(s=new XMLHttpRequest,s.upload&&(s.upload.onprogress=function(n){i.loaded=Math.min(i.size,e+n.loaded-it);t.trigger("UploadProgress",i)}),s.onreadystatechange=function(){var n,h;if(s.readyState==4&&t.state!==r.STOPPED){try{n=s.status}catch(c){n=0}if(n>=400)t.trigger("Error",{code:r.HTTP_ERROR,message:r.translate("HTTP Error."),file:i,status:n});else{if(p){if(h={chunk:f,chunks:p,response:s.responseText,status:n},t.trigger("ChunkUploaded",i,h),e+=w,h.cancelled){i.status=r.FAILED;return}i.loaded=Math.min(i.size,(f+1)*a)}else i.loaded=i.size;t.trigger("UploadProgress",i);u=y=g=l=null;!p||++f>=p?(i.status=r.DONE,t.trigger("FileUploaded",i,{response:s.responseText,status:n})):o()}}},t.settings.multipart&&h.multipart){if(v.name=i.target_name||i.name,s.open("post",b,!0),r.each(t.settings.headers,function(n,t){s.setRequestHeader(t,n)}),typeof u!="string"&&!!n.FormData){g=new FormData;r.each(r.extend(v,t.settings.multipart_params),function(n,t){g.append(t,n)});g.append(t.settings.file_data_name,u);s.send(g);return}if(typeof u=="string"){s.setRequestHeader("Content-Type","multipart/form-data; boundary="+nt);r.each(r.extend(v,t.settings.multipart_params),function(n,t){l+=tt+nt+c+'Content-Disposition: form-data; name="'+t+'"'+c+c;l+=unescape(encodeURIComponent(n))+c});k=r.mimeTypes[i.name.replace(/^.+\.([^.]+)/,"$1").toLowerCase()]||"application/octet-stream";l+=tt+nt+c+'Content-Disposition: form-data; name="'+t.settings.file_data_name+'"; filename="'+unescape(encodeURIComponent(i.name))+'"'+c+"Content-Type: "+k+c+c+u+c+tt+nt+tt+c;it=l.length-u.length;u=l;d(u);return}}b=r.buildUrl(t.settings.url,r.extend(v,t.settings.multipart_params));s.open("post",b,!0);s.setRequestHeader("Content-Type","application/octet-stream");r.each(t.settings.headers,function(n,t){s.setRequestHeader(t,n)});typeof u=="string"?d(u):s.send(u)}var y,p,v,a,w,k,b=t.settings.url;i.status!=r.DONE&&i.status!=r.FAILED&&t.state!=r.STOPPED&&(v={name:i.target_name||i.name},c.chunk_size&&i.size>c.chunk_size&&(h.chunks||typeof u=="string")?(a=c.chunk_size,p=Math.ceil(i.size/a),w=Math.min(a,i.size-f*a),y=typeof u=="string"?u.substring(f*a,f*a+w):l(u,f*a,f*a+w),v.chunk=f,v.chunks=p):(w=i.size,y=u),t.settings.multipart&&h.multipart&&typeof y!="string"&&n.FileReader&&h.cantSendBlobInFormData&&h.chunks&&t.settings.chunk_size?function(){var n=new FileReader;n.onload=function(){g(n.result);n=null};n.readAsBinaryString(y)}():g(y))}var f=0,e=0;o()}var c=t.settings,u;u=f[i.id];h.jpgresize&&t.settings.resize&&/\.(png|jpg|jpeg)$/i.test(i.name)?y.call(t,i,t.settings.resize,/\.png$/i.test(i.name)?"image/png":"image/jpeg",function(n){n.success?(i.size=n.data.length,e(n.data)):h.chunks?e(u):o(u,e)}):!h.chunks&&h.jpgresize?o(u,e):e(u)});i.bind("Destroy",function(n){var f,i,e=t.body,u={inputContainer:n.id+"_html5_container",inputFile:n.id+"_html5",browseButton:n.settings.browse_button,dropElm:n.settings.drop_element};for(f in u)i=t.getElementById(u[f]),i&&r.removeAllEvents(i,n.id);r.removeAllEvents(t.body,n.id);n.settings.container&&(e=t.getElementById(n.settings.container));e.removeChild(t.getElementById(u.inputContainer))});u({success:!0})}})}(window,document,plupload),function(n,t,i){function r(n){return t.getElementById(n)}i.runtimes.Html4=i.addRuntime("html4",{getFeatures:function(){return{multipart:!0,triggerDialog:i.ua.gecko&&n.FormData||i.ua.webkit}},init:function(u,f){u.bind("Init",function(f){function b(){var n,o,s,l;e=i.guid();p.push(e);n=t.createElement("form");n.setAttribute("id","form_"+e);n.setAttribute("method","post");n.setAttribute("enctype","multipart/form-data");n.setAttribute("encoding","multipart/form-data");n.setAttribute("target",f.id+"_iframe");n.style.position="absolute";o=t.createElement("input");o.setAttribute("id","input_"+e);o.setAttribute("type","file");o.setAttribute("accept",h);o.setAttribute("size",1);l=r(f.settings.browse_button);f.features.triggerDialog&&l&&i.addEvent(r(f.settings.browse_button),"click",function(n){o.disabled||o.click();n.preventDefault()},f.id);i.extend(o.style,{width:"100%",height:"100%",opacity:0,fontSize:"99px",cursor:"pointer"});i.extend(n.style,{overflow:"hidden"});s=f.settings.shim_bgcolor;s&&(n.style.background=s);d&&i.extend(o.style,{filter:"alpha(opacity=0)"});i.addEvent(o,"change",function(t){var c=t.target,s,h=[];c.value&&(r("form_"+e).style.top="-1048575px",s=c.value.replace(/\\/g,"/"),s=s.substring(s.length,s.lastIndexOf("/")+1),h.push(new i.File(e,s)),f.features.triggerDialog?i.removeEvent(l,"click",f.id):i.removeAllEvents(n,f.id),i.removeEvent(o,"change",f.id),b(),h.length&&u.trigger("FilesAdded",h))},f.id);n.appendChild(o);c.appendChild(n);f.refresh()}function g(){var r=t.createElement("div");r.innerHTML='<iframe id="'+f.id+'_iframe" name="'+f.id+'_iframe" src="'+k+':&quot;&quot;" style="display:none"><\/iframe>';s=r.firstChild;c.appendChild(s);i.addEvent(s,"load",function(t){var r=t.target,u,e;if(o){try{u=r.contentWindow.document||r.contentDocument||n.frames[r.id].document}catch(s){f.trigger("Error",{code:i.SECURITY_ERROR,message:i.translate("Security error."),file:o});return}e=u.documentElement.innerText||u.documentElement.textContent;e&&(o.status=i.DONE,o.loaded=1025,o.percent=100,f.trigger("UploadProgress",o),f.trigger("FileUploaded",o,{response:e}))}},f.id)}var c=t.body,s,k="javascript",o,e,p=[],d=/MSIE/.test(navigator.userAgent),h=[],w=f.settings.filters,a,v,y,l;n:for(a=0;a<w.length;a++)for(v=w[a].extensions.split(/,/),l=0;l<v.length;l++){if(v[l]==="*"){h=[];break n}y=i.mimeTypes[v[l]];y&&i.inArray(y,h)===-1&&h.push(y)}h=h.join(",");f.settings.container&&(c=r(f.settings.container),i.getStyle(c,"position")==="static"&&(c.style.position="relative"));f.bind("UploadFile",function(n,u){var f,s;u.status!=i.DONE&&u.status!=i.FAILED&&n.state!=i.STOPPED&&(f=r("form_"+u.id),s=r("input_"+u.id),s.setAttribute("name",n.settings.file_data_name),f.setAttribute("action",n.settings.url),i.each(i.extend({name:u.target_name||u.name},n.settings.multipart_params),function(n,r){var u=t.createElement("input");i.extend(u,{type:"hidden",name:r,value:n});f.insertBefore(u,f.firstChild)}),o=u,r("form_"+e).style.top="-1048575px",f.submit())});f.bind("FileUploaded",function(n){n.refresh()});f.bind("StateChanged",function(t){t.state==i.STARTED?g():t.state==i.STOPPED&&n.setTimeout(function(){i.removeEvent(s,"load",t.id);s.parentNode&&s.parentNode.removeChild(s)},0);i.each(t.files,function(n){if(n.status===i.DONE||n.status===i.FAILED){var t=r("form_"+n.id);t&&t.parentNode.removeChild(t)}})});f.bind("Refresh",function(n){var u,o,s,h,l,a,c,v,f;u=r(n.settings.browse_button);u&&(l=i.getPos(u,r(n.settings.container)),a=i.getSize(u),c=r("form_"+e),v=r("input_"+e),i.extend(c.style,{top:l.y+"px",left:l.x+"px",width:a.w+"px",height:a.h+"px"}),n.features.triggerDialog&&(i.getStyle(u,"position")==="static"&&i.extend(u.style,{position:"relative"}),f=parseInt(u.style.zIndex,10),isNaN(f)&&(f=0),i.extend(u.style,{zIndex:f}),i.extend(c.style,{zIndex:f-1})),s=n.settings.browse_button_hover,h=n.settings.browse_button_active,o=n.features.triggerDialog?u:c,s&&(i.addEvent(o,"mouseover",function(){i.addClass(u,s)},n.id),i.addEvent(o,"mouseout",function(){i.removeClass(u,s)},n.id)),h&&(i.addEvent(o,"mousedown",function(){i.addClass(u,h)},n.id),i.addEvent(t.body,"mouseup",function(){i.removeClass(u,h)},n.id)))});u.bind("FilesRemoved",function(n,t){for(var u,i=0;i<t.length;i++)u=r("form_"+t[i].id),u&&u.parentNode.removeChild(u)});u.bind("DisableBrowse",function(n,i){var r=t.getElementById("input_"+e);r&&(r.disabled=i)});u.bind("Destroy",function(n){var o,f,u,s={inputContainer:"form_"+e,inputFile:"input_"+e,browseButton:n.settings.browse_button};for(o in s)f=r(s[o]),f&&i.removeAllEvents(f,n.id);i.removeAllEvents(t.body,n.id);i.each(p,function(n){u=r("form_"+n);u&&u.parentNode.removeChild(u)})});b()});f({success:!0})}})}(window,document,plupload);ThuziSocial={email:function(n){var t="mailto:Change@Change.com?&subject="+n.subject+"&body="+n.body;window.location=t},share:function(n){var t={display:"dialog",method:"feed",link:n.link,picture:n.picture,name:n.name,caption:n.caption!==""?n.caption:" ",description:n.description!==""?n.description:" "};try{FB.ui(t,function(){})}catch(i){}},newWindowShare:function(n){var t="https://www.facebook.com/dialog/feed?&app_id="+n.appId+"&link="+n.link+"&picture="+n.picture+"&name="+encodeURI(n.name)+"&caption="+encodeURI(n.caption)+"&description="+encodeURI(n.description)+"&redirect_uri="+n.redirectURI,i="status=1,width=960,height=500,top="+($(window).width()-960)/2+",left="+($(window).height()-500)/2;window.open(t,"facebook",i)},newWindowShareWithVideo:function(n){var t="https://www.facebook.com/dialog/feed?&app_id="+n.appId+"&link="+n.link+"&source="+n.source+"&picture="+n.picture+"&name="+encodeURI(n.name)+"&caption="+encodeURI(n.caption)+"&description="+encodeURI(n.description)+"&redirect_uri="+n.redirectURI,i="status=1,width=960,height=500,top="+($(window).width()-960)/2+",left="+($(window).height()-500)/2;window.open(t,"facebook",i)},newWindowShare2:function(n){var t="https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);windowOptions="status=1,width=960,height=500,top="+($(window).width()-960)/2+",left="+($(window).height()-500)/2;window.open(t,"facebook-share-dialog",windowOptions)},tweet:function(n){var t="http://twitter.com/share?text="+encodeURIComponent(n.message)+"&url="+n.shareUrl,i="status=1,width=575,height=400,top="+($(window).width()-575)/2+",left="+($(window).height()-400)/2;window.open(t,"twitter",i)},fbInvite:function(n){try{FB.ui({method:"apprequests",message:n},function(){})}catch(t){}},fbInviteNewWindow:function(n){var t="http://www.facebook.com/dialog/apprequests?app_id="+n.appId+"&message="+n.fbInviteMessage+"&redirect_uri="+n.redirectURI,i="status=1,width=960,height=800,top="+($(window).width()-960)/2+",left="+($(window).height()-800)/2;window.open(t,"facebook",i)},linkedInShare:function(n){var t="http://www.linkedin.com/shareArticle?mini=true&url="+n.articleUrl+"&title="+n.articleTitle+"&summary="+n.articleSummary+"&source="+n.articleSource,i=",width=520,height=570,top="+($(window).width()-520)/2+",left="+($(window).height()-570)/2;window.open(t,"linkedIn",i)},googlePlusShare:function(n){var t="https://plus.google.com/share?url="+n.shareUrl,i=",width=600,height=600,top="+($(window).width()-600)/2+",left="+($(window).height()-600)/2;window.open(t,"googleplus",i)}};$(function(){$(".fbShare").click(function(){ThuziSocial.newWindowShare({appId:"408659579237036",link:"http://bit.ly/1dWnXNS",picture:"http://fedex-sbg.s3.amazonaws.com/images/ico-share.png",name:"FedEx is awarding grants of up to $25,000 in the FedEx Small Business Grant Contest.",caption:"See who earned a spot in the top 100.",description:" ",redirectURI:"http://smallbusinessgrant.fedex.com/shares/close"})});$(".tweet").click(function(){ThuziSocial.tweet({message:"Did you know @FedEx is awarding grants of up to $25k in the #fedexgrant contest? See who made it into the top 100 at bit.ly/fedexSBGC",shareUrl:"bit.ly/fedexSBGCs"})});$(".emailShare").click(function(){ThuziSocial.email({subject:"See the Top 100 small businesses in the FedEx Small Business Grant Contest",body:"FedEx is awarding grants of up to $25,000 in the FedEx Small Business Grant Contest. Go to fedex.com/grantcontest to see who made it into the top 100!"})});$(".linkedinShare").click(function(){ThuziSocial.linkedInShare({articleUrl:"http://bit.ly/Jwbpnn",articleTitle:"FedEx is awarding grants of up to $25,000!",articleSummary:"See who earned a spot in the top 100.",articleSource:"http://bit.ly/Jwbpnn"})});$(".googleShare").click(function(){ThuziSocial.googlePlusShare({shareUrl:"http://bit.ly/1lCinTI"})})});$(function(){$(".fbShare2").click(function(){ThuziSocial.newWindowShare({appId:"408659579237036",link:window.location.href+"?cmp=SOC-1001848-6-2-1001-1100000-US-US-EN-WEBAPPFACEBOOK0",picture:$(this).attr("data-url"),name:$(this).attr("data-caption-1"),caption:$(this).attr("data-caption-2"),description:" ",redirectURI:"http://smallbusinessgrant.fedex.com/shares/close"})});$(".tweet2").click(function(){ThuziSocial.tweet({message:$(this).attr("data-caption"),shareUrl:"bit.ly/fedexSBGC"})});$(".emailShare2").click(function(){ThuziSocial.email({subject:$(this).attr("data-subject"),body:$(this).attr("data-body")+" Go to http://bit.ly/fedexSBGC to see who made it into the top 100!"})});$(".linkedinShare2").click(function(){ThuziSocial.linkedInShare({articleUrl:window.location.href,articleTitle:"FedEx is awarding grants of up to $25,000!",articleSummary:$(this).attr("data-summary"),articleSource:window.location.href+"?cmp=SOC-1001848-6-5-1003-1100000-US-US-EN-WEBAPPLINKEDIN0"})})}),function(){for(var n,u=function(){},t=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],i=t.length,r=window.console=window.console||{};i--;)n=t[i],r[n]||(r[n]=u)}();$(function(){setTimeout(function(){headerHeight()},500);window.onresize=function(){headerHeight()};var n=$("#bg").sequence({autoPlay:!0,autoPlayDelay:5e3,fallback:{theme:"fade",speed:5e3}}).data("sequence")});timerFunction=function(){var n=new Date,t=Math.round(n.getTime()/1e3),i=n.getTimezoneOffset()/60,r=i-5,u=23-r,f=new Date(2015,02,17,u,59,59),e=Math.round(f.getTime()/1e3);$("#timer").timeTo({seconds:e-t,displayDays:2,displayCaptions:!0,fontSize:36,captionSize:10})};headerHeight=function(){var n=window.innerWidth,t=n*(1/6);$("#header").height(t)};$(function(){jQuery.validator.addMethod("mustbetrue",function(n,t){return t.checked});$("#userInfoForm").validate({rules:{BusinessName:{required:!0},AddressLine1:{required:!0},City:{required:!0},State:{required:!0},PostalCode:{required:!0,number:!0,minlength:5},FirstName:{required:!0},LastName:{required:!0},EmailAddress:{required:!0,email:!0},EmailOptIn:{required:!1},ConfirmEmail:{required:!0,email:!0,equalTo:"#email"},PhoneNumber:{required:!0,number:!0,minlength:10},Title:{required:!0},IsOver18:{required:!0,mustbetrue:!0}},messages:{BusinessName:{required:"required"},AddressLine1:{required:"required"},City:{required:"required"},State:{required:"required"},PostalCode:{required:"required",number:"numbers only",minlength:"5 number min"},FirstName:{required:"required"},LastName:{required:"required"},EmailAddress:{required:"required",email:"invalid email"},EmailOptIn:{required:"required"},ConfirmEmail:{required:"required",email:"invalid email",equalTo:"Email's don't match"},PhoneNumber:{required:"required",number:"numbers only",minlength:"10 number min"},Title:{required:"required"},IsOver18:{required:"required",mustbetrue:"must be 18+"}},errorPlacement:function(n,t){$(t).parent().hasClass("agreeWrapper")?$(t).parent().append(n):$(n).insertAfter($(t))},submitHandler:function(n){n.submit()}});$("#userInfoForm").submit(function(n){n.preventDefault()})});$(function(){function i(n){if($("#"+n.container).length!==0){var t=new plupload.Uploader({runtimes:"html5,flash,silverlight",browse_button:n.browseButton,container:n.container,max_file_size:n.maxFileSize,url:n.url,filters:[{title:"Image files",extensions:"jpg,png,jpeg"}],multi_selection:!1,flash_swf_url:"/Scripts/plupload/plupload.flash.swf",silverlight_xap_url:"/Scripts/plupload/plupload.silverlight.xap",headers:{Accept:"application/json"}});t.init();t.bind("FilesAdded",function(i){$("#"+n.container).find(".loader").show(0);t.start();i.refresh()});t.bind("Error",function(n,t){t.code===-600&&$.magnificPopup.open({items:{src:'<div class="white-popup" style="overflow:auto;" > <h2>Image exceeds the 5MB upload limit.<\/h2> <h3>Please resize it or select another image.<\/h3> <button id="errorOkButton" style="margin-top: 20px; float: right; width: 100px;" >ok<\/button> <\/div>'},type:"inline"},0);n.refresh()});t.bind("FileUploaded",function(t,i,r){var u=JSON.parse(r.response);$("#"+n.container).find(".loader").hide(0);u.ValidationErrors.length>0?$.magnificPopup.open({items:{src:'<div class="white-popup" style="overflow:auto;" > <h2>'+u.ValidationErrors[0]+'<\/h2> <button id="errorOkButton" style="margin-top: 20px; float: right; width: 100px;" >ok<\/button> <\/div>'},type:"inline"},0):s({cropperSize:n.cropperSize,imageUrl:u.Uri,finalUrl:n.finalUrl,container:n.container})})}}function s(n){if(f=n.imageUrl,e=n.finalUrl,o=n.container,$.magnificPopup.open({items:{src:'<div class="white-popup" > <h3 class="noTopMargin" >Crop your photo<\/h3> <img id="imageToCrop" src="'+n.imageUrl+'" /> <button id="confirmCrop" >Confirm Crop<\/button> <div class="loader" > <div class="loaderBG" ><\/div><img src="/Images/loader_light.gif" /><\/div> <\/div>'},type:"inline",closeOnBgClick:!1},0),$(".white-popup").find(".loader").show(0),$(".jcrop-holder").imagesLoaded().done(function(){$(".white-popup").find(".loader").delay(800).fadeOut(400)}),n.cropperSize==="logoSize")var t=[0,0,200,200],i=[200,200],r=1;else var t=[0,0,300,171],i=[300,171],r=300/171;$("#imageToCrop").Jcrop({bgColor:"black",bgOpacity:.4,setSelect:t,minSize:i,aspectRatio:r,boxWidth:500,onSelect:function(n){u=n}})}function h(n,t){$("#"+t).find(".uploaderWrapper").hide(0);$("#"+t).addClass("hasImage");$("#"+t).find(".uploadedImage").attr("src",n.Uri);$("#"+t).find(".uploadedImage").fadeIn(500).removeClass("hidden");$("#"+t).find(".uploadedImageField").val(n.Uri);$("#"+t).find("label.error").remove()}function c(n,t,i,r){n.sourceImageUrl=t;$.ajax({url:i,type:"POST",dataType:"json",data:n,success:function(n){$(".white-popup").find(".loader").hide(0);$.magnificPopup.close();h(n,r)},error:function(){}})}var t;typeof _entryId=="undefined"&&(_entryId=0);var u=null,f=null,e=null,o=null,n=0,r=!1;$(".in-field").inFieldLabels();$(".counter").characterCounter({limit:140,counter:{wrapper:"span",css_class:"charCount",format:"%1 characters remaining"},exceeded:{css_class:"exceeded"}});$(".largerCounter").characterCounter({limit:500,counter:{wrapper:"span",css_class:"charCount",format:"%1 characters remaining"},exceeded:{css_class:"exceeded"}});$(document).on("keyup focusout",".counter, .largerCounter",function(n){var t=$(n.currentTarget).attr("maxlength");$(n.currentTarget).val().length>=t&&$(n.currentTarget).val($(n.currentTarget).val().substring(0,t))});$.validator.addMethod("urlNoProto",function(n){return/(^|\s*$)([\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?)/.test(n)},"invalid url");$("#businessWebsite, #businessFacebook").focusout(function(){$("#businessWebsite, #businessFacebook").valid()});$("#profileForm").validate({ignore:".ignore",rules:{BusinessName:{required:!0},City:{required:!0},State:{required:!0},BusinessType:{required:!0},BusinessTagsVisible:{required:!1},WebsiteUrl:{required:function(){return $("#businessFacebook").val()===""?!0:!1},urlNoProto:!0},FacebookUrl:{required:function(){return $("#businessWebsite").val()===""?!0:!1}},LogoUrl:{required:!0},Photo1Url:{required:!0},Photo2Url:{required:!0},Photo3Url:{required:!0},ElevatorPitch:{required:!0,maxlength:140},Inspiration:{required:!0,maxlength:500},GrantMoneyPlan:{required:!0,maxlength:500}},messages:{BusinessName:{required:"required"},City:{required:"required"},State:{required:"required"},BusinessType:{required:"required"},WebsiteUrl:{required:"required",url:"non-valid url"},FacebookUrl:{required:"required"},LogoUrl:{required:"required"},Photo1Url:{required:"required"},Photo2Url:{required:"required"},Photo3Url:{required:"required"},ElevatorPitch:{required:"required",minlength:"140 characters limit"},Inspiration:{required:"required",minlength:"500 characters limit"},GrantMoneyPlan:{required:"required",minlength:"500 characters limit"}},submitHandler:function(n){n.submit()}});$("#profileForm").submit(function(n){n.preventDefault()});i({browseButton:"uploadLogo",container:"logoWrapper",maxFileSize:"5mb",url:"/api/workingimages/"+_entryId+"/logo",cropperSize:"logoSize",finalUrl:"/api/entryimages/"+_entryId+"/logo"});i({browseButton:"primaryPhoto",container:"primaryPhotoWrapper",maxFileSize:"5mb",url:"/api/workingimages/"+_entryId+"/slot/image1",cropperSize:"largeSize",finalUrl:"/api/entryimages/"+_entryId+"/slot/image1"});i({browseButton:"photo2",container:"photo2Wrapper",maxFileSize:"5mb",url:"/api/workingimages/"+_entryId+"/slot/image2",cropperSize:"largeSize",finalUrl:"/api/entryimages/"+_entryId+"/slot/image2"});i({browseButton:"photo3",container:"photo3Wrapper",maxFileSize:"5mb",url:"/api/workingimages/"+_entryId+"/slot/image3",cropperSize:"largeSize",finalUrl:"/api/entryimages/"+_entryId+"/slot/image3"});$(document).on("click","#confirmCrop",function(){$(".white-popup").find(".loader").show(0);c(u,f,e,o)});$(document).on("click","#errorOkButton",function(){$.magnificPopup.close()});$(document).on("click","#sampleLink",function(n){n.preventDefault();$.magnificPopup.open({items:{src:'<div class="white-popup" style="width: 900px; overflow: auto;" ><img style="margin-top: 30px;" src="/Images/preview_page.jpg" /> <button id="errorOkButton" style="margin-top: 20px; float: right; width: 100px;" >ok<\/button> <\/div>'},type:"inline"},0)});$(document).on("mouseenter",".hasImage",function(n){$(n.currentTarget).find(".uploaderWrapper").prepend('<div class="loaderBG" ><\/div>').css({height:"100%",display:"block"})});$(document).on("mouseleave",".hasImage",function(n){$(n.currentTarget).find(".uploaderWrapper").css({display:"none"}).find(".loaderBG").remove()});$(document).on("click","#addTagButton",function(){if(n<4){var t='<li><span class="tagRight" ><\/span><span class="tagData" >'+$("#businessTagsVisible").val()+'<\/span> <span class="removeTag" >&times;<\/span> <span class="tagLeft" ><\/span><\/li>';$("#businessTagsHidden").val()==""?$("#businessTagsHidden").val($("#businessTagsHidden").val()+$("#businessTagsVisible").val()):$("#businessTagsHidden").val($("#businessTagsHidden").val()+","+$("#businessTagsVisible").val());$("#tagsWrapper").find("ul").append(t);$("#businessTagsVisible").val("").trigger("keyup");n=n+1}n>=4&&($("#businessTagsVisible").attr("readonly",!0),$("#addTagButton").hide(0))});$(document).on("keydown","#businessTagsVisible",function(n){n.keyCode===13&&(n.preventDefault(),n.stopPropagation(),n.stopImmediatePropagation(),$("#addTagButton").trigger("click"))});$(document).on("keyup","#businessTagsVisible",function(){/[`^~<>,"']/.test(this.value)&&(this.value=this.value.replace(",",""))});$("#businessTagsHidden").length!==0&&$("#businessTagsHidden").val()!=""&&(t=[],t=$("#businessTagsHidden").val().split(","),n=t.length,$.each(t,function(n,t){if(n<=3){var i='<li><span class="tagRight" ><\/span><span class="tagData" >'+t+' <\/span> <span class="removeTag" >&times;<\/span> <span class="tagLeft" ><\/span><\/li>';$("#tagsWrapper").find("ul").append(i)}}),t.length>=4&&($("#businessTagsVisible").attr("readonly",!0),$("#addTagButton").hide(0),n=4));$(document).on("click",".removeTag",function(t){var u,i,r;$(t.currentTarget).parent().remove();u=$(t.currentTarget).parent().find(".tagData").html().trim();i=[];i=$("#businessTagsHidden").val().split(",");r=i.indexOf(u);r!=-1&&i.splice(r,1);$("#businessTagsHidden").val(i.toString());n=i.length;n<4&&($("#businessTagsVisible").attr("readonly",!1),$("#addTagButton").show(0))});$("#businessTagsVisible").autocomplete({serviceUrl:"/api/typeahead/tag",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:160,zIndex:9999,deferRequestBy:100,onSelect:function(){},dataType:"json"});$(document).on("click","#tipIcon",function(n){n.preventDefault();console.log(this);r?($(".toolTip",this).fadeOut(400),r=!1):($(".toolTip",this).fadeIn(400).css("display","inline-block"),r=!0)})});$(function(){$("#optionalForm").validate({rules:{FedExAccountNumber:{required:!1,number:!0,minlength:8},PercentFedex:{required:!1,number:!0,minlength:1,maxlength:3},PercentUSPS:{required:!1,number:!0,minlength:1,maxlength:3},PercentUPS:{required:!1,number:!0,minlength:1,maxlength:3},PercentDHL:{required:!1,number:!0,minlength:1,maxlength:3},PercentOther:{required:!1,number:!0,minlength:1,maxlength:3}},messages:{FedExAccountNumber:{required:!1,number:"Numbers Only",minlength:"Min Length 8"},PercentFedex:{required:!1,number:"Numbers Only",minlength:"Min Length 1",maxlength:"Max Length 3"},PercentUSPS:{required:!1,number:"Numbers Only",minlength:"Min Length 1",maxlength:"Max Length 3"},PercentUPS:{required:!1,number:"Numbers Only",minlength:"Min Length 1",maxlength:"Max Length 3"},PercentDHL:{required:!1,number:"Numbers Only",minlength:"Min Length 1",maxlength:"Max Length 3"},PercentOther:{required:!1,number:"Numbers Only",minlength:"Min Length 1",maxlength:"Max Length 3"}}});$(document).on("click",'.percentages input[type="checkbox"]',function(n){$(n.currentTarget).is(":checked")?$(n.currentTarget).parent().parent().find('input[type="text"]').attr("readonly",!1):($(n.currentTarget).parent().parent().find('input[type="text"]').attr("readonly",!0),$(n.currentTarget).parent().parent().find('input[type="text"]').val(""))});$.each($('.percentages input[type="checkbox"]'),function(){$(this).is(":checked")&&$(this).parent().parent().find('input[type="text"]').attr("readonly",!1)})});$(function(){$("#submitButton").click(function(n){n.preventDefault();$.magnificPopup.open({items:{src:'<div class="white-popup" style="overflow:auto;" > <h2>Are you sure?<\/h2> <h3 class="purple normal" >Once you submit your business profile, you will not have the opportunity to return to the page and edit.<\/h3> <button class="confirmationButton yesButton" >Yes<\/button> <button class="confirmationButton noButton" >No<\/button> <\/div>'},type:"inline"},0)});$(document).on("click",".noButton",function(n){n.preventDefault();$.magnificPopup.close()});$(document).on("click",".yesButton",function(n){n.preventDefault();$("#reviewForm").submit()})});$(function(){var n=[{name:"Alabama",abbreviation:"AL"},{name:"Alaska",abbreviation:"AK"},{name:"Arizona",abbreviation:"AZ"},{name:"Arkansas",abbreviation:"AR"},{name:"California",abbreviation:"CA"},{name:"Colorado",abbreviation:"CO"},{name:"Connecticut",abbreviation:"CT"},{name:"Delaware",abbreviation:"DE"},{name:"District Of Columbia",abbreviation:"DC"},{name:"Florida",abbreviation:"FL"},{name:"Georgia",abbreviation:"GA"},{name:"Hawaii",abbreviation:"HI"},{name:"Idaho",abbreviation:"ID"},{name:"Illinois",abbreviation:"IL"},{name:"Indiana",abbreviation:"IN"},{name:"Iowa",abbreviation:"IA"},{name:"Kansas",abbreviation:"KS"},{name:"Kentucky",abbreviation:"KY"},{name:"Louisiana",abbreviation:"LA"},{name:"Maine",abbreviation:"ME"},{name:"Maryland",abbreviation:"MD"},{name:"Massachusetts",abbreviation:"MA"},{name:"Michigan",abbreviation:"MI"},{name:"Minnesota",abbreviation:"MN"},{name:"Mississippi",abbreviation:"MS"},{name:"Missouri",abbreviation:"MO"},{name:"Montana",abbreviation:"MT"},{name:"Nebraska",abbreviation:"NE"},{name:"Nevada",abbreviation:"NV"},{name:"New Hampshire",abbreviation:"NH"},{name:"New Jersey",abbreviation:"NJ"},{name:"New Mexico",abbreviation:"NM"},{name:"New York",abbreviation:"NY"},{name:"North Carolina",abbreviation:"NC"},{name:"North Dakota",abbreviation:"ND"},{name:"Ohio",abbreviation:"OH"},{name:"Oklahoma",abbreviation:"OK"},{name:"Oregon",abbreviation:"OR"},{name:"Pennsylvania",abbreviation:"PA"},{name:"Rhode Island",abbreviation:"RI"},{name:"South Carolina",abbreviation:"SC"},{name:"South Dakota",abbreviation:"SD"},{name:"Tennessee",abbreviation:"TN"},{name:"Texas",abbreviation:"TX"},{name:"Utah",abbreviation:"UT"},{name:"Vermont",abbreviation:"VT"},{name:"Virginia",abbreviation:"VA"},{name:"Washington",abbreviation:"WA"},{name:"West Virginia",abbreviation:"WV"},{name:"Wisconsin",abbreviation:"WI"},{name:"Wyoming",abbreviation:"WY"}],t="<div id='tooltip'><div id='tooltipRel'><\/div><\/div>";$("#map").usmap({stateStyles:{fill:"#adafb1",stroke:"#fff"},stateHoverStyles:{fill:"#4d148c"},labelBackingStyles:{fill:"#adafb1",stroke:"#fff"},labelBackingHoverStyles:{fill:"#4d148c"},showLabels:!0,stateHoverAnimation:300,mouseover:function(i,r){for(var u=0;u<n.length;u++)if(n[u].abbreviation==r.name){var o=$("#mapWrap")[0].offsetLeft,s=$("#mapWrap")[0].offsetTop,f=i.originalEvent.pageX-o+20,e=i.originalEvent.pageY-s-90;$("#map").find("#tooltip").remove();$("#map").append(t);$("#tooltipRel").html("View "+n[u].name+" Businesses");$("#tooltip").css({top:e+"px",left:f+"px"});$("#map").unbind("mousemove");$("#map").mousemove(function(n){f=n.pageX-o+20;e=n.pageY-s-90;$("#tooltip").css({top:e+"px",left:f+"px"})})}},mouseout:function(){$("#map").find("#tooltip").remove()},click:function(n,t){window.location="/gallery/search?state="+t.name}})});$(function(){$(".in-field").inFieldLabels();$("#businessName").autocomplete({serviceUrl:"/api/typeahead/name",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:220,zIndex:9999,deferRequestBy:100,onSelect:function(){},dataType:"json"});$("#businessType").autocomplete({serviceUrl:"/api/typeahead/type",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:220,zIndex:9999,deferRequestBy:100,noCache:!0,onSelect:function(){},dataType:"json"});$("#city").autocomplete({serviceUrl:"/api/typeahead/city",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:220,zIndex:9999,deferRequestBy:100,noCache:!0,onSelect:function(){},dataType:"json"});$("#state").autocomplete({serviceUrl:"/api/typeahead/state",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:220,zIndex:9999,deferRequestBy:100,noCache:!0,onSelect:function(n){$("#state").val(n.data)},dataType:"json"});$("#businessTags").autocomplete({serviceUrl:"/api/typeahead/tag",minChars:2,delimiter:/(,|;)\s*/,maxHeight:400,width:220,zIndex:9999,deferRequestBy:100,noCache:!0,onSelect:function(){},dataType:"json"});$(".searchButton").click(function(n){var t=$(this).parent(),i=t.find("input[type=text]").val();i||n.preventDefault()})});$(function(){function t(n){for(var u=window.location.search.substring(1),r=u.split("&"),i,t=0;t<r.length;t++)return i=r[t].split("="),i[0]==n?i[1]:!1}$("#vote").click(function(n){n.preventDefault();$.magnificPopup.open({items:{src:"#voteWrapper"},type:"inline"},0);$("#voteWrapper").css("display","block")});$("#promoteBusiness").click(function(n){n.preventDefault();$.magnificPopup.open({items:{src:"#codePopUpWrapper"},type:"inline"},0);var t=$("#codePopUpWrapper .previewOfThumb iframe").attr("data-src");$("#codePopUpWrapper .previewOfThumb iframe").attr("src",t);$("#codePopUpWrapper").css("display","block")});$(document).on("click",".closeCodePopUp",function(n){n.preventDefault();$.magnificPopup.close()});var n=t("showSnippet");(n==="true"||n===!0)&&$("#promoteBusiness").trigger("click")})