text: /** BC Recently Viewed Products By BoostCommerce - boostcommerce.net. Please don't modify or unzip this content. It will be updated regularly **/
  /** VERSION 1.0.1 **/
  if(void 0!==jQ)var jQuery=jQ.noConflict(!0);else!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(f,t){var h=[],u=h.slice,g=h.concat,a=h.push,r=h.indexOf,n={},e=n.toString,m=n.hasOwnProperty,v={},i="1.11.1",C=function(t,e){return new C.fn.init(t,e)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,l=/-([\da-z])/gi,c=function(t,e){return e.toUpperCase()};function d(t){var e=t.length,n=C.type(t);return"function"!==n&&!C.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t))}C.fn=C.prototype={jquery:i,constructor:C,selector:"",length:0,toArray:function(){return u.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:u.call(this)},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return C.each(this,t,e)},map:function(n){return this.pushStack(C.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:a,sort:h.sort,splice:h.splice},C.extend=C.fn.extend=function(){var t,e,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||C.isFunction(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(r=arguments[a]))for(i in r)t=o[i],o!==(n=r[i])&&(c&&n&&(C.isPlainObject(n)||(e=C.isArray(n)))?(e?(e=!1,s=t&&C.isArray(t)?t:[]):s=t&&C.isPlainObject(t)?t:{},o[i]=C.extend(c,s,n)):void 0!==n&&(o[i]=n));return o},C.extend({expando:"jQuery"+(i+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===C.type(t)},isArray:Array.isArray||function(t){return"array"===C.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!C.isArray(t)&&0<=t-parseFloat(t)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==C.type(t)||t.nodeType||C.isWindow(t))return!1;try{if(t.constructor&&!m.call(t,"constructor")&&!m.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(v.ownLast)for(e in t)return m.call(t,e);for(e in t);return void 0===e||m.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[e.call(t)]||"object":typeof t},globalEval:function(t){t&&C.trim(t)&&(f.execScript||function(t){f.eval.call(f,t)})(t)},camelCase:function(t){return t.replace(o,"ms-").replace(l,c)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,r=t.length,s=d(t);if(n){if(s)for(;i<r&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(s)for(;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(s,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(d(Object(t))?C.merge(n,"string"==typeof t?[t]:t):a.call(n,t)),n},inArray:function(t,e,n){var i;if(e){if(r)return r.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,s=t.length,o=!n;r<s;r++)!e(t[r],r)!==o&&i.push(t[r]);return i},map:function(t,e,n){var i,r=0,s=t.length,o=[];if(d(t))for(;r<s;r++)null!=(i=e(t[r],r,n))&&o.push(i);else for(r in t)null!=(i=e(t[r],r,n))&&o.push(i);return g.apply([],o)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),C.isFunction(t)?(n=u.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(u.call(arguments)))}).guid=t.guid=t.guid||C.guid++,i):void 0},now:function(){return+new Date},support:v}),C.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var p=function(n){var t,f,b,s,i,g,h,m,x,c,u,v,_,r,y,w,o,a,C,T="sizzle"+-new Date,E=n.document,N=0,d=0,l=rt(),p=rt(),k=rt(),S=function(t,e){return t===e&&(u=!0),0},D="undefined",j={}.hasOwnProperty,e=[],P=e.pop,L=e.push,$=e.push,A=e.slice,H=e.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R=M.replace("w","w#"),B="\\["+O+"*("+M+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+O+"*\\]",q=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",I=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),W=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),V=new RegExp("="+O+"*([^\\]'\"]*?)"+O+"*\\]","g"),X=new RegExp(q),Q=new RegExp("^"+R+"$"),U={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,tt=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+O+"?|("+O+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{$.apply(e=A.call(E.childNodes),E.childNodes),e[E.childNodes.length].nodeType}catch(t){$={apply:e.length?function(t,e){L.apply(t,A.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var r,s,o,a,l,c,u,h,d,p;if((e?e.ownerDocument||e:E)!==_&&v(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=(e=e||_).nodeType)&&9!==a)return[];if(y&&!i){if(r=Z.exec(t))if(o=r[1]){if(9===a){if(!(s=e.getElementById(o))||!s.parentNode)return n;if(s.id===o)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&C(e,s)&&s.id===o)return n.push(s),n}else{if(r[2])return $.apply(n,e.getElementsByTagName(t)),n;if((o=r[3])&&f.getElementsByClassName&&e.getElementsByClassName)return $.apply(n,e.getElementsByClassName(o)),n}if(f.qsa&&(!w||!w.test(t))){if(h=u=T,d=e,p=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(c=g(t),(u=e.getAttribute("id"))?h=u.replace(tt,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+ft(c[l]);d=K.test(t)&&dt(e.parentNode)||e,p=c.join(",")}if(p)try{return $.apply(n,d.querySelectorAll(p)),n}catch(t){}finally{u||e.removeAttribute("id")}}}return m(t.replace(I,"$1"),e,n,i)}function rt(){var i=[];return function t(e,n){return i.push(e+" ")>b.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function st(t){return t[T]=!0,t}function ot(t){var e=_.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function at(t,e){for(var n=t.split("|"),i=t.length;i--;)b.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ct(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function ht(o){return st(function(s){return s=+s,st(function(t,e){for(var n,i=o([],t.length,s),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function dt(t){return t&&typeof t.getElementsByTagName!==D&&t}for(t in f=it.support={},i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},v=it.setDocument=function(t){var e,l=t?t.ownerDocument||t:E,n=l.defaultView;return l!==_&&9===l.nodeType&&l.documentElement?(r=(_=l).documentElement,y=!i(l),n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",function(){v()},!1):n.attachEvent&&n.attachEvent("onunload",function(){v()})),f.attributes=ot(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=ot(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=G.test(l.getElementsByClassName)&&ot(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),f.getById=ot(function(t){return r.appendChild(t).id=T,!l.getElementsByName||!l.getElementsByName(T).length}),f.getById?(b.find.ID=function(t,e){if(typeof e.getElementById!==D&&y){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},b.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var n=t.replace(et,nt);return function(t){var e=typeof t.getAttributeNode!==D&&t.getAttributeNode("id");return e&&e.value===n}}),b.find.TAG=f.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==D?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},b.find.CLASS=f.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==D&&y?e.getElementsByClassName(t):void 0},o=[],w=[],(f.qsa=G.test(l.querySelectorAll))&&(ot(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&w.push("[*^$]="+O+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||w.push("\\["+O+"*(?:value|"+z+")"),t.querySelectorAll(":checked").length||w.push(":checked")}),ot(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&w.push("name"+O+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||w.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),w.push(",.*:")})),(f.matchesSelector=G.test(a=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&ot(function(t){f.disconnectedMatch=a.call(t,"div"),a.call(t,"[s!='']:x"),o.push("!=",q)}),w=w.length&&new RegExp(w.join("|")),o=o.length&&new RegExp(o.join("|")),e=G.test(r.compareDocumentPosition),C=e||G.test(r.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return u=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===n?t===l||t.ownerDocument===E&&C(E,t)?-1:e===l||e.ownerDocument===E&&C(E,e)?1:c?H.call(c,t)-H.call(c,e):0:4&n?-1:1)}:function(t,e){if(t===e)return u=!0,0;var n,i=0,r=t.parentNode,s=e.parentNode,o=[t],a=[e];if(!r||!s)return t===l?-1:e===l?1:r?-1:s?1:c?H.call(c,t)-H.call(c,e):0;if(r===s)return lt(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;o[i]===a[i];)i++;return i?lt(o[i],a[i]):o[i]===E?-1:a[i]===E?1:0},l):_},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==_&&v(t),e=e.replace(V,"='$1']"),!(!f.matchesSelector||!y||o&&o.test(e)||w&&w.test(e)))try{var n=a.call(t,e);if(n||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<it(e,_,null,[t]).length},it.contains=function(t,e){return(t.ownerDocument||t)!==_&&v(t),C(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==_&&v(t);var n=b.attrHandle[e.toLowerCase()],i=n&&j.call(b.attrHandle,e.toLowerCase())?n(t,e,!y):void 0;return void 0!==i?i:f.attributes||!y?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},it.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,n=[],i=0,r=0;if(u=!f.detectDuplicates,c=!f.sortStable&&t.slice(0),t.sort(S),u){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return c=null,t},s=it.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=s(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=s(e);return n},(b=it.selectors={cacheLength:50,createPseudo:st,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=g(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=new RegExp("(^|"+O+")"+t+"("+O+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==D&&t.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(t){var e=it.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===r:"!="===i?e!==r:"^="===i?r&&0===e.indexOf(r):"*="===i?r&&-1<e.indexOf(r):"$="===i?r&&e.slice(-r.length)===r:"~="===i?-1<(" "+e+" ").indexOf(r):"|="===i&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,t,e,f,g){var m="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===t;return 1===f&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,s,o,a,l,c=m!==v?"nextSibling":"previousSibling",u=t.parentNode,h=y&&t.nodeName.toLowerCase(),d=!n&&!y;if(u){if(m){for(;c;){for(s=t;s=s[c];)if(y?s.nodeName.toLowerCase()===h:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&d){for(a=(i=(r=u[T]||(u[T]={}))[p]||[])[0]===N&&i[1],o=i[0]===N&&i[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(o=a=0)||l.pop();)if(1===s.nodeType&&++o&&s===t){r[p]=[N,a,o];break}}else if(d&&(i=(t[T]||(t[T]={}))[p])&&i[0]===N)o=i[1];else for(;(s=++a&&s&&s[c]||(o=a=0)||l.pop())&&((y?s.nodeName.toLowerCase()!==h:1!==s.nodeType)||!++o||(d&&((s[T]||(s[T]={}))[p]=[N,o]),s!==t)););return(o-=g)===f||o%f==0&&0<=o/f}}},PSEUDO:function(t,s){var e,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return o[T]?o(s):1<o.length?(e=[t,t,"",s],b.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,e){for(var n,i=o(t,s),r=i.length;r--;)t[n=H.call(t,i[r])]=!(e[n]=i[r])}):function(t){return o(t,0,e)}):o}},pseudos:{not:st(function(t){var i=[],r=[],a=h(t.replace(I,"$1"));return a[T]?st(function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))}):function(t,e,n){return i[0]=t,a(i,null,n,r),!r.pop()}}),has:st(function(e){return function(t){return 0<it(e,t).length}}),contains:st(function(e){return function(t){return-1<(t.textContent||t.innerText||s(t)).indexOf(e)}}),lang:st(function(n){return Q.test(n||"")||it.error("unsupported lang: "+n),n=n.replace(et,nt).toLowerCase(),function(t){var e;do{if(e=y?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===r},focus:function(t){return t===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return Y.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ht(function(){return[0]}),last:ht(function(t,e){return[e-1]}),eq:ht(function(t,e,n){return[n<0?n+e:n]}),even:ht(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ht(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ht(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:ht(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[t]=ct(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=ut(t);function pt(){}function ft(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function gt(o,t,e){var a=t.dir,l=e&&"parentNode"===a,c=d++;return t.first?function(t,e,n){for(;t=t[a];)if(1===t.nodeType||l)return o(t,e,n)}:function(t,e,n){var i,r,s=[N,c];if(n){for(;t=t[a];)if((1===t.nodeType||l)&&o(t,e,n))return!0}else for(;t=t[a];)if(1===t.nodeType||l){if((i=(r=t[T]||(t[T]={}))[a])&&i[0]===N&&i[1]===c)return s[2]=i[2];if((r[a]=s)[2]=o(t,e,n))return!0}}}function mt(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function vt(t,e,n,i,r){for(var s,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(!n||n(s,i,r))&&(o.push(s),c&&e.push(a));return o}function yt(p,f,g,m,v,t){return m&&!m[T]&&(m=yt(m)),v&&!v[T]&&(v=yt(v,t)),st(function(t,e,n,i){var r,s,o,a=[],l=[],c=e.length,u=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)it(t,e[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),h=!p||!t&&f?u:vt(u,a,p,n,i),d=g?v||(t?p:c||m)?[]:e:h;if(g&&g(h,d,n,i),m)for(r=vt(d,l),m(r,[],n,i),s=r.length;s--;)(o=r[s])&&(d[l[s]]=!(h[l[s]]=o));if(t){if(v||p){if(v){for(r=[],s=d.length;s--;)(o=d[s])&&r.push(h[s]=o);v(null,d=[],r,i)}for(s=d.length;s--;)(o=d[s])&&-1<(r=v?H.call(t,o):a[s])&&(t[r]=!(e[r]=o))}}else d=vt(d===e?d.splice(c,d.length):d),v?v(null,e,d,i):$.apply(e,d)})}function wt(t){for(var i,e,n,r=t.length,s=b.relative[t[0].type],o=s||b.relative[" "],a=s?1:0,l=gt(function(t){return t===i},o,!0),c=gt(function(t){return-1<H.call(i,t)},o,!0),u=[function(t,e,n){return!s&&(n||e!==x)||((i=e).nodeType?l(t,e,n):c(t,e,n))}];a<r;a++)if(e=b.relative[t[a].type])u=[gt(mt(u),e)];else{if((e=b.filter[t[a].type].apply(null,t[a].matches))[T]){for(n=++a;n<r&&!b.relative[t[n].type];n++);return yt(1<a&&mt(u),1<a&&ft(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(I,"$1"),e,a<n&&wt(t.slice(a,n)),n<r&&wt(t=t.slice(n)),n<r&&ft(t))}u.push(e)}return mt(u)}return pt.prototype=b.filters=b.pseudos,b.setFilters=new pt,g=it.tokenize=function(t,e){var n,i,r,s,o,a,l,c=p[t+" "];if(c)return e?0:c.slice(0);for(o=t,a=[],l=b.preFilter;o;){for(s in(!n||(i=F.exec(o)))&&(i&&(o=o.slice(i[0].length)||o),a.push(r=[])),n=!1,(i=W.exec(o))&&(n=i.shift(),r.push({value:n,type:i[0].replace(I," ")}),o=o.slice(n.length)),b.filter)!(i=U[s].exec(o))||l[s]&&!(i=l[s](i))||(n=i.shift(),r.push({value:n,type:s,matches:i}),o=o.slice(n.length));if(!n)break}return e?o.length:o?it.error(t):p(t,a).slice(0)},h=it.compile=function(t,e){var n,m,v,y,w,i,r=[],s=[],o=k[t+" "];if(!o){for(e||(e=g(t)),n=e.length;n--;)(o=wt(e[n]))[T]?r.push(o):s.push(o);(o=k(t,(m=s,y=0<(v=r).length,w=0<m.length,i=function(t,e,n,i,r){var s,o,a,l=0,c="0",u=t&&[],h=[],d=x,p=t||w&&b.find.TAG("*",r),f=N+=null==d?1:Math.random()||.1,g=p.length;for(r&&(x=e!==_&&e);c!==g&&null!=(s=p[c]);c++){if(w&&s){for(o=0;a=m[o++];)if(a(s,e,n)){i.push(s);break}r&&(N=f)}y&&((s=!a&&s)&&l--,t&&u.push(s))}if(l+=c,y&&c!==l){for(o=0;a=v[o++];)a(u,h,e,n);if(t){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=P.call(i));h=vt(h)}$.apply(i,h),r&&!t&&0<h.length&&1<l+v.length&&it.uniqueSort(i)}return r&&(N=f,x=d),u},y?st(i):i))).selector=t}return o},m=it.select=function(t,e,n,i){var r,s,o,a,l,c="function"==typeof t&&t,u=!i&&g(t=c.selector||t);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(o=s[0]).type&&f.getById&&9===e.nodeType&&y&&b.relative[s[1].type]){if(!(e=(b.find.ID(o.matches[0].replace(et,nt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=U.needsContext.test(t)?0:s.length;r--&&(o=s[r],!b.relative[a=o.type]);)if((l=b.find[a])&&(i=l(o.matches[0].replace(et,nt),K.test(s[0].type)&&dt(e.parentNode)||e))){if(s.splice(r,1),!(t=i.length&&ft(s)))return $.apply(n,i),n;break}}return(c||h(t,u))(i,e,!y,n,K.test(t)&&dt(e.parentNode)||e),n},f.sortStable=T.split("").sort(S).join("")===T,f.detectDuplicates=!!u,v(),f.sortDetached=ot(function(t){return 1&t.compareDocumentPosition(_.createElement("div"))}),ot(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||at("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&ot(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||at("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),ot(function(t){return null==t.getAttribute("disabled")})||at(z,function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),it}(f);C.find=p,C.expr=p.selectors,C.expr[":"]=C.expr.pseudos,C.unique=p.uniqueSort,C.text=p.getText,C.isXMLDoc=p.isXML,C.contains=p.contains;var y=C.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,b=/^.[^:#\[\.,]*$/;function x(t,n,i){if(C.isFunction(n))return C.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return C.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(b.test(n))return C.filter(n,t,i);n=C.filter(n,t)}return C.grep(t,function(t){return 0<=C.inArray(t,n)!==i})}C.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?C.find.matchesSelector(i,t)?[i]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0}));for(e=0;e<r;e++)C.find(t,i[e],n);return(n=this.pushStack(1<r?C.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(x(this,t||[],!1))},not:function(t){return this.pushStack(x(this,t||[],!0))},is:function(t){return!!x(this,"string"==typeof t&&y.test(t)?C(t):t||[],!1).length}});var _,T=f.document,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(C.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:E.exec(t))||!n[1]&&e)return!e||e.jquery?(e||_).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),w.test(n[1])&&C.isPlainObject(e))for(n in e)C.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=T.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return _.find(t);this.length=1,this[0]=i}return this.context=T,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):C.isFunction(t)?void 0!==_.ready?_.ready(t):t(C):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),C.makeArray(t,this))}).prototype=C.fn,_=C(T);var N=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function S(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!C(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),C.fn.extend({has:function(t){var e,n=C(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(C.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,s=[],o=y.test(t)||"string"!=typeof t?C(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&C.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?C.unique(s):s)},index:function(t){return t?"string"==typeof t?C.inArray(this[0],C(t)):C.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.unique(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return C.dir(t,"parentNode")},parentsUntil:function(t,e,n){return C.dir(t,"parentNode",n)},next:function(t){return S(t,"nextSibling")},prev:function(t){return S(t,"previousSibling")},nextAll:function(t){return C.dir(t,"nextSibling")},prevAll:function(t){return C.dir(t,"previousSibling")},nextUntil:function(t,e,n){return C.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return C.dir(t,"previousSibling",n)},siblings:function(t){return C.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return C.sibling(t.firstChild)},contents:function(t){return C.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:C.merge([],t.childNodes)}},function(i,r){C.fn[i]=function(t,e){var n=C.map(this,r,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=C.filter(e,n)),1<this.length&&(k[i]||(n=C.unique(n)),N.test(i)&&(n=n.reverse())),this.pushStack(n)}});var D,j=/\S+/g,P={};function L(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",$,!1),f.removeEventListener("load",$,!1)):(T.detachEvent("onreadystatechange",$),f.detachEvent("onload",$))}function $(){(T.addEventListener||"load"===event.type||"complete"===T.readyState)&&(L(),C.ready())}C.Callbacks=function(r){var t,n;r="string"==typeof r?P[r]||(n=P[t=r]={},C.each(t.match(j)||[],function(t,e){n[e]=!0}),n):C.extend({},r);var i,e,s,o,a,l,c=[],u=!r.once&&[],h=function(t){for(e=r.memory&&t,s=!0,a=l||0,l=0,o=c.length,i=!0;c&&a<o;a++)if(!1===c[a].apply(t[0],t[1])&&r.stopOnFalse){e=!1;break}i=!1,c&&(u?u.length&&h(u.shift()):e?c=[]:d.disable())},d={add:function(){if(c){var t=c.length;!function i(t){C.each(t,function(t,e){var n=C.type(e);"function"===n?r.unique&&d.has(e)||c.push(e):e&&e.length&&"string"!==n&&i(e)})}(arguments),i?o=c.length:e&&(l=t,h(e))}return this},remove:function(){return c&&C.each(arguments,function(t,e){for(var n;-1<(n=C.inArray(e,c,n));)c.splice(n,1),i&&(n<=o&&o--,n<=a&&a--)}),this},has:function(t){return t?-1<C.inArray(t,c):!(!c||!c.length)},empty:function(){return c=[],o=0,this},disable:function(){return c=u=e=void 0,this},disabled:function(){return!c},lock:function(){return u=void 0,e||d.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!c||s&&!u||(e=[t,(e=e||[]).slice?e.slice():e],i?u.push(e):h(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!s}};return d},C.extend({Deferred:function(t){var s=[["resolve","done",C.Callbacks("once memory"),"resolved"],["reject","fail",C.Callbacks("once memory"),"rejected"],["notify","progress",C.Callbacks("memory")]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var r=arguments;return C.Deferred(function(i){C.each(s,function(t,e){var n=C.isFunction(r[t])&&r[t];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&C.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[e[0]+"With"](this===o?i.promise():this,n?[t]:arguments)})}),r=null}).promise()},promise:function(t){return null!=t?C.extend(t,o):o}},a={};return o.pipe=o.then,C.each(s,function(t,e){var n=e[2],i=e[3];o[e[1]]=n.add,i&&n.add(function(){r=i},s[1^t][2].disable,s[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?o:this,arguments),this},a[e[0]+"With"]=n.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(t){var r,e,n,i=0,s=u.call(arguments),o=s.length,a=1!==o||t&&C.isFunction(t.promise)?o:0,l=1===a?t:C.Deferred(),c=function(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?u.call(arguments):t,i===r?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(1<o)for(r=new Array(o),e=new Array(o),n=new Array(o);i<o;i++)s[i]&&C.isFunction(s[i].promise)?s[i].promise().done(c(i,n,s)).fail(l.reject).progress(c(i,e,r)):--a;return a||l.resolveWith(n,s),l.promise()}}),C.fn.ready=function(t){return C.ready.promise().done(t),this},C.extend({isReady:!1,readyWait:1,holdReady:function(t){t?C.readyWait++:C.ready(!0)},ready:function(t){if(!0===t?!--C.readyWait:!C.isReady){if(!T.body)return setTimeout(C.ready);(C.isReady=!0)!==t&&0<--C.readyWait||(D.resolveWith(T,[C]),C.fn.triggerHandler&&(C(T).triggerHandler("ready"),C(T).off("ready")))}}}),C.ready.promise=function(t){if(!D)if(D=C.Deferred(),"complete"===T.readyState)setTimeout(C.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",$,!1),f.addEventListener("load",$,!1);else{T.attachEvent("onreadystatechange",$),f.attachEvent("onload",$);var n=!1;try{n=null==f.frameElement&&T.documentElement}catch(t){}n&&n.doScroll&&function e(){if(!C.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}L(),C.ready()}}()}return D.promise(t)};var A,H="undefined";for(A in C(v))break;v.ownLast="0"!==A,v.inlineBlockNeedsLayout=!1,C(function(){var t,e,n,i;(n=T.getElementsByTagName("body")[0])&&n.style&&(e=T.createElement("div"),(i=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==H&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",v.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=T.createElement("div");if(null==v.deleteExpando){v.deleteExpando=!0;try{delete t.test}catch(t){v.deleteExpando=!1}}t=null}(),C.acceptData=function(t){var e=C.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function M(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(O,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:z.test(n)?C.parseJSON(n):n)}catch(t){}C.data(t,e,n)}else n=void 0}return n}function R(t){var e;for(e in t)if(("data"!==e||!C.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function B(t,e,n,i){if(C.acceptData(t)){var r,s,o=C.expando,a=t.nodeType,l=a?C.cache:t,c=a?t[o]:t[o]&&o;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof e)return c||(c=a?t[o]=h.pop()||C.guid++:o),l[c]||(l[c]=a?{}:{toJSON:C.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[c]=C.extend(l[c],e):l[c].data=C.extend(l[c].data,e)),s=l[c],i||(s.data||(s.data={}),s=s.data),void 0!==n&&(s[C.camelCase(e)]=n),"string"==typeof e?null==(r=s[e])&&(r=s[C.camelCase(e)]):r=s,r}}function q(t,e,n){if(C.acceptData(t)){var i,r,s=t.nodeType,o=s?C.cache:t,a=s?t[C.expando]:C.expando;if(o[a]){if(e&&(i=n?o[a]:o[a].data)){C.isArray(e)?e=e.concat(C.map(e,C.camelCase)):e in i?e=[e]:e=(e=C.camelCase(e))in i?[e]:e.split(" "),r=e.length;for(;r--;)delete i[e[r]];if(n?!R(i):!C.isEmptyObject(i))return}(n||(delete o[a].data,R(o[a])))&&(s?C.cleanData([t],!0):v.deleteExpando||o!=o.window?delete o[a]:o[a]=null)}}}C.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?C.cache[t[C.expando]]:t[C.expando])&&!R(t)},data:function(t,e,n){return B(t,e,n)},removeData:function(t,e){return q(t,e)},_data:function(t,e,n){return B(t,e,n,!0)},_removeData:function(t,e){return q(t,e,!0)}}),C.fn.extend({data:function(t,e){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=C.data(s),1===s.nodeType&&!C._data(s,"parsedAttrs"))){for(n=o.length;n--;)o[n]&&(0===(i=o[n].name).indexOf("data-")&&M(s,i=C.camelCase(i.slice(5)),r[i]));C._data(s,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){C.data(this,t)}):1<arguments.length?this.each(function(){C.data(this,t,e)}):s?M(s,t,C.data(s,t)):void 0},removeData:function(t){return this.each(function(){C.removeData(this,t)})}}),C.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=C._data(t,e),n&&(!i||C.isArray(n)?i=C._data(t,e,C.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),i=n.length,r=n.shift(),s=C._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,function(){C.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return C._data(t,n)||C._data(t,n,{empty:C.Callbacks("once memory").add(function(){C._removeData(t,e+"queue"),C._removeData(t,n)})})}}),C.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?C.queue(this[0],e):void 0===n?this:this.each(function(){var t=C.queue(this,e,n);C._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&C.dequeue(this,e)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=C.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(n=C._data(s[o],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var I=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,F=["Top","Right","Bottom","Left"],W=function(t,e){return t=e||t,"none"===C.css(t,"display")||!C.contains(t.ownerDocument,t)},V=C.access=function(t,e,n,i,r,s,o){var a=0,l=t.length,c=null==n;if("object"===C.type(n))for(a in r=!0,n)C.access(t,e,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,C.isFunction(i)||(o=!0),c&&(o?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(C(t),n)})),e))for(;a<l;a++)e(t[a],n,o?i:i.call(t[a],a,e(t[a],n)));return r?t:c?e.call(t):l?e(t[0],n):s},X=/^(?:checkbox|radio)$/i;!function(){var t=T.createElement("input"),e=T.createElement("div"),n=T.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v.leadingWhitespace=3===e.firstChild.nodeType,v.tbody=!e.getElementsByTagName("tbody").length,v.htmlSerialize=!!e.getElementsByTagName("link").length,v.html5Clone="<:nav></:nav>"!==T.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),v.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",v.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){v.noCloneEvent=!1}),e.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete e.test}catch(t){v.deleteExpando=!1}}}(),function(){var t,e,n=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(v[t+"Bubbles"]=e in f)||(n.setAttribute(e,"t"),v[t+"Bubbles"]=!1===n.attributes[e].expando);n=null}();var Q=/^(?:input|select|textarea)$/i,U=/^key/,J=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function K(){return!1}function tt(){try{return T.activeElement}catch(t){}}function et(t){var e=nt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}C.event={global:{},add:function(t,e,n,i,r){var s,o,a,l,c,u,h,d,p,f,g,m=C._data(t);if(m){for(n.handler&&(n=(l=n).handler,r=l.selector),n.guid||(n.guid=C.guid++),(o=m.events)||(o=m.events={}),(u=m.handle)||((u=m.handle=function(t){return typeof C===H||t&&C.event.triggered===t.type?void 0:C.event.dispatch.apply(u.elem,arguments)}).elem=t),a=(e=(e||"").match(j)||[""]).length;a--;)p=g=(s=G.exec(e[a])||[])[1],f=(s[2]||"").split(".").sort(),p&&(c=C.event.special[p]||{},p=(r?c.delegateType:c.bindType)||p,c=C.event.special[p]||{},h=C.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:f.join(".")},l),(d=o[p])||((d=o[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,i,f,u)||(t.addEventListener?t.addEventListener(p,u,!1):t.attachEvent&&t.attachEvent("on"+p,u))),c.add&&(c.add.call(t,h),h.handler.guid||(h.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,h):d.push(h),C.event.global[p]=!0);t=null}},remove:function(t,e,n,i,r){var s,o,a,l,c,u,h,d,p,f,g,m=C.hasData(t)&&C._data(t);if(m&&(u=m.events)){for(c=(e=(e||"").match(j)||[""]).length;c--;)if(p=g=(a=G.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=C.event.special[p]||{},d=u[p=(i?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=d.length;s--;)o=d[s],!r&&g!==o.origType||n&&n.guid!==o.guid||a&&!a.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(d.splice(s,1),o.selector&&d.delegateCount--,h.remove&&h.remove.call(t,o));l&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||C.removeEvent(t,p,m.handle),delete u[p])}else for(p in u)C.event.remove(t,p+e[c],n,i,!0);C.isEmptyObject(u)&&(delete m.handle,C._removeData(t,"events"))}},trigger:function(t,e,n,i){var r,s,o,a,l,c,u,h=[n||T],d=m.call(t,"type")?t.type:t,p=m.call(t,"namespace")?t.namespace.split("."):[];if(o=c=n=n||T,3!==n.nodeType&&8!==n.nodeType&&!Y.test(d+C.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),s=d.indexOf(":")<0&&"on"+d,(t=t[C.expando]?t:new C.Event(d,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:C.makeArray(e,[t]),l=C.event.special[d]||{},i||!l.trigger||!1!==l.trigger.apply(n,e))){if(!i&&!l.noBubble&&!C.isWindow(n)){for(a=l.delegateType||d,Y.test(a+d)||(o=o.parentNode);o;o=o.parentNode)h.push(o),c=o;c===(n.ownerDocument||T)&&h.push(c.defaultView||c.parentWindow||f)}for(u=0;(o=h[u++])&&!t.isPropagationStopped();)t.type=1<u?a:l.bindType||d,(r=(C._data(o,"events")||{})[t.type]&&C._data(o,"handle"))&&r.apply(o,e),(r=s&&o[s])&&r.apply&&C.acceptData(o)&&(t.result=r.apply(o,e),!1===t.result&&t.preventDefault());if(t.type=d,!i&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(h.pop(),e))&&C.acceptData(n)&&s&&n[d]&&!C.isWindow(n)){(c=n[s])&&(n[s]=null),C.event.triggered=d;try{n[d]()}catch(t){}C.event.triggered=void 0,c&&(n[s]=c)}return t.result}},dispatch:function(t){t=C.event.fix(t);var e,n,i,r,s,o=[],a=u.call(arguments),l=(C._data(this,"events")||{})[t.type]||[],c=C.event.special[t.type]||{};if((a[0]=t).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(o=C.event.handlers.call(this,t,l),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,s=0;(i=r.handlers[s++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,void 0!==(n=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,s,o=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],s=0;s<a;s++)void 0===r[n=(i=e[s]).selector+" "]&&(r[n]=i.needsContext?0<=C(n,this).index(l):C.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&o.push({elem:l,handlers:r})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},fix:function(t){if(t[C.expando])return t;var e,n,i,r=t.type,s=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=J.test(r)?this.mouseHooks:U.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,t=new C.Event(s),e=i.length;e--;)t[n=i[e]]=s[n];return t.target||(t.target=s.srcElement||T),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,s):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,s=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=(i=t.target.ownerDocument||T).documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==tt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===tt()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return C.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return C.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?C.event.trigger(r,null,e):C.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},C.removeEvent=T.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===H&&(t[i]=null),t.detachEvent(i,n))},C.Event=function(t,e){return this instanceof C.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Z:K):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||C.now(),void(this[C.expando]=!0)):new C.Event(t,e)},C.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Z,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Z,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Z,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,r){C.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return(!n||n!==this&&!C.contains(this,n))&&(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),v.submitBubbles||(C.event.special.submit={setup:function(){return!C.nodeName(this,"form")&&void C.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=C.nodeName(e,"input")||C.nodeName(e,"button")?e.form:void 0;n&&!C._data(n,"submitBubbles")&&(C.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),C._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&C.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!C.nodeName(this,"form")&&void C.event.remove(this,"._submit")}}),v.changeBubbles||(C.event.special.change={setup:function(){return Q.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(C.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),C.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),C.event.simulate("change",this,t,!0)})),!1):void C.event.add(this,"beforeactivate._change",function(t){var e=t.target;Q.test(e.nodeName)&&!C._data(e,"changeBubbles")&&(C.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||C.event.simulate("change",this.parentNode,t,!0)}),C._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return C.event.remove(this,"._change"),!Q.test(this.nodeName)}}),v.focusinBubbles||C.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(t){C.event.simulate(i,t.target,C.event.fix(t),!0)};C.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=C._data(t,i);e||t.addEventListener(n,r,!0),C._data(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=C._data(t,i)-1;e?C._data(t,i,e):(t.removeEventListener(n,r,!0),C._removeData(t,i))}}}),C.fn.extend({on:function(t,e,n,i,r){var s,o;if("object"==typeof t){for(s in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(s,e,n,t[s],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=K;else if(!i)return this;return 1===r&&(o=i,(i=function(t){return C().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=C.guid++)),this.each(function(){C.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,C(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(!1===e||"function"==typeof e)&&(n=e,e=void 0),!1===n&&(n=K),this.each(function(){C.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?C.event.trigger(t,e,n,!0):void 0}});var nt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",it=/ jQuery\d+="(?:null|\d+)"/g,rt=new RegExp("<(?:"+nt+")[\\s/>]","i"),st=/^\s+/,ot=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,at=/<([\w:]+)/,lt=/<tbody/i,ct=/<|&#?\w+;/,ut=/<(?:script|style|link)/i,ht=/checked\s*(?:[^=]|=\s*.checked.)/i,dt=/^$|\/(?:java|ecma)script/i,pt=/^true\/(.*)/,ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,gt={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:v.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},mt=et(T).appendChild(T.createElement("div"));function vt(t,e){var n,i,r=0,s=typeof t.getElementsByTagName!==H?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==H?t.querySelectorAll(e||"*"):void 0;if(!s)for(s=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||C.nodeName(i,e)?s.push(i):C.merge(s,vt(i,e));return void 0===e||e&&C.nodeName(t,e)?C.merge([t],s):s}function yt(t){X.test(t.type)&&(t.defaultChecked=t.checked)}function wt(t,e){return C.nodeName(t,"table")&&C.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function bt(t){return t.type=(null!==C.find.attr(t,"type"))+"/"+t.type,t}function xt(t){var e=pt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function _t(t,e){for(var n,i=0;null!=(n=t[i]);i++)C._data(n,"globalEval",!e||C._data(e[i],"globalEval"))}function Ct(t,e){if(1===e.nodeType&&C.hasData(t)){var n,i,r,s=C._data(t),o=C._data(e,s),a=s.events;if(a)for(n in delete o.handle,o.events={},a)for(i=0,r=a[n].length;i<r;i++)C.event.add(e,n,a[n][i]);o.data&&(o.data=C.extend({},o.data))}}function Tt(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!v.noCloneEvent&&e[C.expando]){for(i in(r=C._data(e)).events)C.removeEvent(e,i,r.handle);e.removeAttribute(C.expando)}"script"===n&&e.text!==t.text?(bt(e).text=t.text,xt(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),v.html5Clone&&t.innerHTML&&!C.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&X.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,C.extend({clone:function(t,e,n){var i,r,s,o,a,l=C.contains(t.ownerDocument,t);if(v.html5Clone||C.isXMLDoc(t)||!rt.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(mt.innerHTML=t.outerHTML,mt.removeChild(s=mt.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(i=vt(s),a=vt(t),o=0;null!=(r=a[o]);++o)i[o]&&Tt(r,i[o]);if(e)if(n)for(a=a||vt(t),i=i||vt(s),o=0;null!=(r=a[o]);o++)Ct(r,i[o]);else Ct(t,s);return 0<(i=vt(s,"script")).length&&_t(i,!l&&vt(t,"script")),i=a=r=null,s},buildFragment:function(t,e,n,i){for(var r,s,o,a,l,c,u,h=t.length,d=et(e),p=[],f=0;f<h;f++)if((s=t[f])||0===s)if("object"===C.type(s))C.merge(p,s.nodeType?[s]:s);else if(ct.test(s)){for(a=a||d.appendChild(e.createElement("div")),l=(at.exec(s)||["",""])[1].toLowerCase(),u=gt[l]||gt._default,a.innerHTML=u[1]+s.replace(ot,"<$1></$2>")+u[2],r=u[0];r--;)a=a.lastChild;if(!v.leadingWhitespace&&st.test(s)&&p.push(e.createTextNode(st.exec(s)[0])),!v.tbody)for(r=(s="table"!==l||lt.test(s)?"<table>"!==u[1]||lt.test(s)?0:a:a.firstChild)&&s.childNodes.length;r--;)C.nodeName(c=s.childNodes[r],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(C.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else p.push(e.createTextNode(s));for(a&&d.removeChild(a),v.appendChecked||C.grep(vt(p,"input"),yt),f=0;s=p[f++];)if((!i||-1===C.inArray(s,i))&&(o=C.contains(s.ownerDocument,s),a=vt(d.appendChild(s),"script"),o&&_t(a),n))for(r=0;s=a[r++];)dt.test(s.type||"")&&n.push(s);return a=null,d},cleanData:function(t,e){for(var n,i,r,s,o=0,a=C.expando,l=C.cache,c=v.deleteExpando,u=C.event.special;null!=(n=t[o]);o++)if((e||C.acceptData(n))&&(s=(r=n[a])&&l[r])){if(s.events)for(i in s.events)u[i]?C.event.remove(n,i):C.removeEvent(n,i,s.handle);l[r]&&(delete l[r],c?delete n[a]:typeof n.removeAttribute!==H?n.removeAttribute(a):n[a]=null,h.push(r))}}}),C.fn.extend({text:function(t){return V(this,function(t){return void 0===t?C.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||wt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=wt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?C.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||C.cleanData(vt(n)),n.parentNode&&(e&&C.contains(n.ownerDocument,n)&&_t(vt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&C.cleanData(vt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&C.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return V(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(it,""):void 0;if(!("string"!=typeof t||ut.test(t)||!v.htmlSerialize&&rt.test(t)||!v.leadingWhitespace&&st.test(t)||gt[(at.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(ot,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,C.cleanData(vt(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i){n=g.apply([],n);var t,e,r,s,o,a,l=0,c=this.length,u=this,h=c-1,d=n[0],p=C.isFunction(d);if(p||1<c&&"string"==typeof d&&!v.checkClone&&ht.test(d))return this.each(function(t){var e=u.eq(t);p&&(n[0]=d.call(this,t,e.html())),e.domManip(n,i)});if(c&&(t=(a=C.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===a.childNodes.length&&(a=t),t)){for(r=(s=C.map(vt(a,"script"),bt)).length;l<c;l++)e=a,l!==h&&(e=C.clone(e,!0,!0),r&&C.merge(s,vt(e,"script"))),i.call(this[l],e,l);if(r)for(o=s[s.length-1].ownerDocument,C.map(s,xt),l=0;l<r;l++)e=s[l],dt.test(e.type||"")&&!C._data(e,"globalEval")&&C.contains(o,e)&&(e.src?C._evalUrl&&C._evalUrl(e.src):C.globalEval((e.text||e.textContent||e.innerHTML||"").replace(ft,"")));a=t=null}return this}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){C.fn[t]=function(t){for(var e,n=0,i=[],r=C(t),s=r.length-1;n<=s;n++)e=n===s?this:this.clone(!0),C(r[n])[o](e),a.apply(i,e.get());return this.pushStack(i)}});var Et,Nt,kt={};function St(t,e){var n,i=C(e.createElement(t)).appendTo(e.body),r=f.getDefaultComputedStyle&&(n=f.getDefaultComputedStyle(i[0]))?n.display:C.css(i[0],"display");return i.detach(),r}function Dt(t){var e=T,n=kt[t];return n||("none"!==(n=St(t,e))&&n||((e=((Et=(Et||C("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Et[0].contentDocument).document).write(),e.close(),n=St(t,e),Et.detach()),kt[t]=n),n}v.shrinkWrapBlocks=function(){return null!=Nt?Nt:(Nt=!1,(e=T.getElementsByTagName("body")[0])&&e.style?(t=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),typeof t.style.zoom!==H&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(T.createElement("div")).style.width="5px",Nt=3!==t.offsetWidth),e.removeChild(n),Nt):void 0);var t,e,n};var jt,Pt,Lt=/^margin/,$t=new RegExp("^("+I+")(?!px)[a-z%]+$","i"),At=/^(top|right|bottom|left)$/;function Ht(e,n){return{get:function(){var t=e();if(null!=t)return t?void delete this.get:(this.get=n).apply(this,arguments)}}}f.getComputedStyle?(jt=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},Pt=function(t,e,n){var i,r,s,o,a=t.style;return o=(n=n||jt(t))?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==o||C.contains(t.ownerDocument,t)||(o=C.style(t,e)),$t.test(o)&&Lt.test(e)&&(i=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=n.width,a.width=i,a.minWidth=r,a.maxWidth=s)),void 0===o?o:o+""}):T.documentElement.currentStyle&&(jt=function(t){return t.currentStyle},Pt=function(t,e,n){var i,r,s,o,a=t.style;return null==(o=(n=n||jt(t))?n[e]:void 0)&&a&&a[e]&&(o=a[e]),$t.test(o)&&!At.test(e)&&(i=a.left,(s=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=i,s&&(r.left=s)),void 0===o?o:o+""||"auto"}),function(){var t,e,n,r,s,o,a;if((t=T.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=(n=t.getElementsByTagName("a")[0])&&n.style){function i(){var t,e,n,i;(e=T.getElementsByTagName("body")[0])&&e.style&&(t=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=s=!1,a=!0,f.getComputedStyle&&(r="1%"!==(f.getComputedStyle(t,null)||{}).top,s="4px"===(f.getComputedStyle(t,null)||{width:"4px"}).width,(i=t.appendChild(T.createElement("div"))).style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",a=!parseFloat((f.getComputedStyle(i,null)||{}).marginRight)),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=t.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===i[0].offsetHeight)&&(i[0].style.display="",i[1].style.display="none",o=0===i[0].offsetHeight),e.removeChild(n))}e.cssText="float:left;opacity:.5",v.opacity="0.5"===e.opacity,v.cssFloat=!!e.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===t.style.backgroundClip,v.boxSizing=""===e.boxSizing||""===e.MozBoxSizing||""===e.WebkitBoxSizing,C.extend(v,{reliableHiddenOffsets:function(){return null==o&&i(),o},boxSizingReliable:function(){return null==s&&i(),s},pixelPosition:function(){return null==r&&i(),r},reliableMarginRight:function(){return null==a&&i(),a}})}}(),C.swap=function(t,e,n,i){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];for(s in r=n.apply(t,i||[]),e)t.style[s]=o[s];return r};var zt=/alpha\([^)]*\)/i,Ot=/opacity\s*=\s*([^)]*)/,Mt=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+I+")(.*)$","i"),Bt=new RegExp("^([+-])=("+I+")","i"),qt={position:"absolute",visibility:"hidden",display:"block"},It={letterSpacing:"0",fontWeight:"400"},Ft=["Webkit","O","Moz","ms"];function Wt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Ft.length;r--;)if((e=Ft[r]+n)in t)return e;return i}function Vt(t,e){for(var n,i,r,s=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(s[o]=C._data(i,"olddisplay"),n=i.style.display,e?(s[o]||"none"!==n||(i.style.display=""),""===i.style.display&&W(i)&&(s[o]=C._data(i,"olddisplay",Dt(i.nodeName)))):(r=W(i),(n&&"none"!==n||!r)&&C._data(i,"olddisplay",r?n:C.css(i,"display"))));for(o=0;o<a;o++)(i=t[o]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?s[o]||"":"none"));return t}function Xt(t,e,n){var i=Rt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function Qt(t,e,n,i,r){for(var s=n===(i?"border":"content")?4:"width"===e?1:0,o=0;s<4;s+=2)"margin"===n&&(o+=C.css(t,n+F[s],!0,r)),i?("content"===n&&(o-=C.css(t,"padding"+F[s],!0,r)),"margin"!==n&&(o-=C.css(t,"border"+F[s]+"Width",!0,r))):(o+=C.css(t,"padding"+F[s],!0,r),"padding"!==n&&(o+=C.css(t,"border"+F[s]+"Width",!0,r)));return o}function Ut(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=jt(t),o=v.boxSizing&&"border-box"===C.css(t,"boxSizing",!1,s);if(r<=0||null==r){if(((r=Pt(t,e,s))<0||null==r)&&(r=t.style[e]),$t.test(r))return r;i=o&&(v.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+Qt(t,e,n||(o?"border":"content"),i,s)+"px"}function Jt(t,e,n,i,r){return new Jt.prototype.init(t,e,n,i,r)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Pt(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=C.camelCase(e),l=t.style;if(e=C.cssProps[a]||(C.cssProps[a]=Wt(l,a)),o=C.cssHooks[e]||C.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(t,!1,i))?r:l[e];if("string"===(s=typeof n)&&(r=Bt.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(C.css(t,e)),s="number"),null!=n&&n==n&&("number"!==s||C.cssNumber[a]||(n+="px"),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(o&&"set"in o&&void 0===(n=o.set(t,n,i)))))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,s,o,a=C.camelCase(e);return e=C.cssProps[a]||(C.cssProps[a]=Wt(t.style,a)),(o=C.cssHooks[e]||C.cssHooks[a])&&"get"in o&&(s=o.get(t,!0,n)),void 0===s&&(s=Pt(t,e,i)),"normal"===s&&e in It&&(s=It[e]),""===n||n?(r=parseFloat(s),!0===n||C.isNumeric(r)?r||0:s):s}}),C.each(["height","width"],function(t,r){C.cssHooks[r]={get:function(t,e,n){return e?Mt.test(C.css(t,"display"))&&0===t.offsetWidth?C.swap(t,qt,function(){return Ut(t,r,n)}):Ut(t,r,n):void 0},set:function(t,e,n){var i=n&&jt(t);return Xt(0,e,n?Qt(t,r,n,v.boxSizing&&"border-box"===C.css(t,"boxSizing",!1,i),i):0)}}}),v.opacity||(C.cssHooks.opacity={get:function(t,e){return Ot.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=C.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=i&&i.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===C.trim(s.replace(zt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=zt.test(s)?s.replace(zt,r):s+" "+r)}}),C.cssHooks.marginRight=Ht(v.reliableMarginRight,function(t,e){return e?C.swap(t,{display:"inline-block"},Pt,[t,"marginRight"]):void 0}),C.each({margin:"",padding:"",border:"Width"},function(r,s){C.cssHooks[r+s]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+F[e]+s]=i[e]||i[e-2]||i[0];return n}},Lt.test(r)||(C.cssHooks[r+s].set=Xt)}),C.fn.extend({css:function(t,e){return V(this,function(t,e,n){var i,r,s={},o=0;if(C.isArray(e)){for(i=jt(t),r=e.length;o<r;o++)s[e[o]]=C.css(t,e[o],!1,i);return s}return void 0!==n?C.style(t,e,n):C.css(t,e)},t,e,1<arguments.length)},show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){W(this)?C(this).show():C(this).hide()})}}),((C.Tween=Jt).prototype={constructor:Jt,init:function(t,e,n,i,r,s){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(C.cssNumber[n]?"":"px")},cur:function(){var t=Jt.propHooks[this.prop];return t&&t.get?t.get(this):Jt.propHooks._default.get(this)},run:function(t){var e,n=Jt.propHooks[this.prop];return this.pos=e=this.options.duration?C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Jt.propHooks._default.set(this),this}}).init.prototype=Jt.prototype,(Jt.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[C.cssProps[t.prop]]||C.cssHooks[t.prop])?C.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=Jt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},C.fx=Jt.prototype.init,C.fx.step={};var Yt,Gt,Zt,Kt,te,ee,ne,ie=/^(?:toggle|show|hide)$/,re=new RegExp("^(?:([+-])=|)("+I+")([a-z%]*)$","i"),se=/queueHooks$/,oe=[function(e,t,n){var i,r,s,o,a,l,c,u=this,h={},d=e.style,p=e.nodeType&&W(e),f=C._data(e,"fxshow");for(i in n.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=C.css(e,"display"),"inline"===("none"===c?C._data(e,"olddisplay")||Dt(e.nodeName):c)&&"none"===C.css(e,"float")&&(v.inlineBlockNeedsLayout&&"inline"!==Dt(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",v.shrinkWrapBlocks()||u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),t)if(r=t[i],ie.exec(r)){if(delete t[i],s=s||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!f||void 0===f[i])continue;p=!0}h[i]=f&&f[i]||C.style(e,i)}else c=void 0;if(C.isEmptyObject(h))"inline"===("none"===c?Dt(e.nodeName):c)&&(d.display=c);else for(i in f?"hidden"in f&&(p=f.hidden):f=C._data(e,"fxshow",{}),s&&(f.hidden=!p),p?C(e).show():u.done(function(){C(e).hide()}),u.done(function(){var t;for(t in C._removeData(e,"fxshow"),h)C.style(e,t,h[t])}),h)o=ue(p?f[i]:0,i,u),i in f||(f[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}],ae={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=re.exec(e),s=r&&r[3]||(C.cssNumber[t]?"":"px"),o=(C.cssNumber[t]||"px"!==s&&+i)&&re.exec(C.css(n.elem,t)),a=1,l=20;if(o&&o[3]!==s)for(s=s||o[3],r=r||[],o=+i||1;o/=a=a||".5",C.style(n.elem,t,o+s),a!==(a=n.cur()/i)&&1!==a&&--l;);return r&&(o=n.start=+o||+i||0,n.unit=s,n.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),n}]};function le(){return setTimeout(function(){Yt=void 0}),Yt=C.now()}function ce(t,e){var n,i={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=F[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ue(t,e,n){for(var i,r=(ae[e]||[]).concat(ae["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,e,t))return i}function he(s,t,e){var n,o,i=0,r=oe.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Yt||le(),e=Math.max(0,c.startTime+c.duration-t),n=1-(e/c.duration||0),i=0,r=c.tweens.length;i<r;i++)c.tweens[i].run(n);return a.notifyWith(s,[c,n,e]),n<1&&r?e:(a.resolveWith(s,[c]),!1)},c=a.promise({elem:s,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Yt||le(),duration:e.duration,tweens:[],createTween:function(t,e){var n=C.Tween(s,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var e=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;e<n;e++)c.tweens[e].run(1);return t?a.resolveWith(s,[c,t]):a.rejectWith(s,[c,t]),this}}),u=c.props;for(function(t,e){var n,i,r,s,o;for(n in t)if(r=e[i=C.camelCase(n)],s=t[n],C.isArray(s)&&(r=s[1],s=t[n]=s[0]),n!==i&&(t[i]=s,delete t[n]),(o=C.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete t[i],s)n in t||(t[n]=s[n],e[n]=r);else e[i]=r}(u,c.opts.specialEasing);i<r;i++)if(n=oe[i].call(c,s,u,c.opts))return n;return C.map(u,ue,c),C.isFunction(c.opts.start)&&c.opts.start.call(s,c),C.fx.timer(C.extend(l,{elem:s,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}C.Animation=C.extend(he,{tweener:function(t,e){C.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;i<r;i++)n=t[i],ae[n]=ae[n]||[],ae[n].unshift(e)},prefilter:function(t,e){e?oe.unshift(t):oe.push(t)}}),C.speed=function(t,e,n){var i=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||C.isFunction(t)&&t,duration:t,easing:n&&e||e&&!C.isFunction(e)&&e};return i.duration=C.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in C.fx.speeds?C.fx.speeds[i.duration]:C.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){C.isFunction(i.old)&&i.old.call(this),i.queue&&C.dequeue(this,i.queue)},i},C.fn.extend({fadeTo:function(t,e,n,i){return this.filter(W).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var r=C.isEmptyObject(e),s=C.speed(t,n,i),o=function(){var t=he(this,C.extend({},e),s);(r||C._data(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(r,t,s){var o=function(t){var e=t.stop;delete t.stop,e(s)};return"string"!=typeof r&&(s=t,t=r,r=void 0),t&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=C.timers,i=C._data(this);if(e)i[e]&&i[e].stop&&o(i[e]);else for(e in i)i[e]&&i[e].stop&&se.test(e)&&o(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(s),t=!1,n.splice(e,1));(t||!s)&&C.dequeue(this,r)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=C._data(this),n=e[o+"queue"],i=e[o+"queueHooks"],r=C.timers,s=n?n.length:0;for(e.finish=!0,C.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===o&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),C.each(["toggle","show","hide"],function(t,i){var r=C.fn[i];C.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(ce(i,!0),t,e,n)}}),C.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){C.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),C.timers=[],C.fx.tick=function(){var t,e=C.timers,n=0;for(Yt=C.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||C.fx.stop(),Yt=void 0},C.fx.timer=function(t){C.timers.push(t),t()?C.fx.start():C.timers.pop()},C.fx.interval=13,C.fx.start=function(){Gt||(Gt=setInterval(C.fx.tick,C.fx.interval))},C.fx.stop=function(){clearInterval(Gt),Gt=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(i,t){return i=C.fx&&C.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},(Kt=T.createElement("div")).setAttribute("className","t"),Kt.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ee=Kt.getElementsByTagName("a")[0],ne=(te=T.createElement("select")).appendChild(T.createElement("option")),Zt=Kt.getElementsByTagName("input")[0],ee.style.cssText="top:1px",v.getSetAttribute="t"!==Kt.className,v.style=/top/.test(ee.getAttribute("style")),v.hrefNormalized="/a"===ee.getAttribute("href"),v.checkOn=!!Zt.value,v.optSelected=ne.selected,v.enctype=!!T.createElement("form").enctype,te.disabled=!0,v.optDisabled=!ne.disabled,(Zt=T.createElement("input")).setAttribute("value",""),v.input=""===Zt.getAttribute("value"),Zt.value="t",Zt.setAttribute("type","radio"),v.radioValue="t"===Zt.value;var de=/\r/g;C.fn.extend({val:function(n){var i,t,r,e=this[0];return arguments.length?(r=C.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=r?n.call(this,t,C(this).val()):n)?e="":"number"==typeof e?e+="":C.isArray(e)&&(e=C.map(e,function(t){return null==t?"":t+""})),(i=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=C.valHooks[e.type]||C.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(de,""):null==t?"":t:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:C.trim(C.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,s="select-one"===t.type||r<0,o=s?null:[],a=s?r+1:i.length,l=r<0?a:s?r:0;l<a;l++)if(!(!(n=i[l]).selected&&l!==r||(v.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&C.nodeName(n.parentNode,"optgroup"))){if(e=C(n).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var n,i,r=t.options,s=C.makeArray(e),o=r.length;o--;)if(i=r[o],0<=C.inArray(C.valHooks.option.get(i),s))try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){return C.isArray(e)?t.checked=0<=C.inArray(C(t).val(),e):void 0}},v.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var pe,fe,ge=C.expr.attrHandle,me=/^(?:checked|selected)$/i,ve=v.getSetAttribute,ye=v.input;C.fn.extend({attr:function(t,e){return V(this,C.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,n){var i,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===H?C.prop(t,e,n):(1===s&&C.isXMLDoc(t)||(e=e.toLowerCase(),i=C.attrHooks[e]||(C.expr.match.bool.test(e)?fe:pe)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void C.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,s=e&&e.match(j);if(s&&1===t.nodeType)for(;n=s[r++];)i=C.propFix[n]||n,C.expr.match.bool.test(n)?ye&&ve||!me.test(n)?t[i]=!1:t[C.camelCase("default-"+n)]=t[i]=!1:C.attr(t,n,""),t.removeAttribute(ve?n:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&C.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),fe={set:function(t,e,n){return!1===e?C.removeAttr(t,n):ye&&ve||!me.test(n)?t.setAttribute(!ve&&C.propFix[n]||n,n):t[C.camelCase("default-"+n)]=t[n]=!0,n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var s=ge[e]||C.find.attr;ge[e]=ye&&ve||!me.test(e)?function(t,e,n){var i,r;return n||(r=ge[e],ge[e]=i,i=null!=s(t,e,n)?e.toLowerCase():null,ge[e]=r),i}:function(t,e,n){return n?void 0:t[C.camelCase("default-"+e)]?e.toLowerCase():null}}),ye&&ve||(C.attrHooks.value={set:function(t,e,n){return C.nodeName(t,"input")?void(t.defaultValue=e):pe&&pe.set(t,e,n)}}),ve||(pe={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},ge.id=ge.name=ge.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},C.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:pe.set},C.attrHooks.contenteditable={set:function(t,e,n){pe.set(t,""!==e&&e,n)}},C.each(["width","height"],function(t,n){C.attrHooks[n]={set:function(t,e){return""===e?(t.setAttribute(n,"auto"),e):void 0}}})),v.style||(C.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var we=/^(?:input|select|textarea|button|object)$/i,be=/^(?:a|area)$/i;C.fn.extend({prop:function(t,e){return V(this,C.prop,t,e,1<arguments.length)},removeProp:function(t){return t=C.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),C.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return(1!==s||!C.isXMLDoc(t))&&(e=C.propFix[e]||e,r=C.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}}}),v.hrefNormalized||C.each(["href","src"],function(t,e){C.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),v.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),v.enctype||(C.propFix.enctype="encoding");var xe=/[\t\r\n\f]/g;C.fn.extend({addClass:function(e){var t,n,i,r,s,o,a=0,l=this.length,c="string"==typeof e&&e;if(C.isFunction(e))return this.each(function(t){C(this).addClass(e.call(this,t,this.className))});if(c)for(t=(e||"").match(j)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(xe," "):" ")){for(s=0;r=t[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o=C.trim(i),n.className!==o&&(n.className=o)}return this},removeClass:function(e){var t,n,i,r,s,o,a=0,l=this.length,c=0===arguments.length||"string"==typeof e&&e;if(C.isFunction(e))return this.each(function(t){C(this).removeClass(e.call(this,t,this.className))});if(c)for(t=(e||"").match(j)||[];a<l;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(xe," "):"")){for(s=0;r=t[s++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");o=e?C.trim(i):"",n.className!==o&&(n.className=o)}return this},toggleClass:function(r,e){var s=typeof r;return"boolean"==typeof e&&"string"===s?e?this.addClass(r):this.removeClass(r):this.each(C.isFunction(r)?function(t){C(this).toggleClass(r.call(this,t,this.className,e),e)}:function(){if("string"===s)for(var t,e=0,n=C(this),i=r.match(j)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else(s===H||"boolean"===s)&&(this.className&&C._data(this,"__className__",this.className),this.className=this.className||!1===r?"":C._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(xe," ").indexOf(e))return!0;return!1}}),C.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(t,n){C.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),C.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var _e=C.now(),Ce=/\?/,Te=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;C.parseJSON=function(t){if(f.JSON&&f.JSON.parse)return f.JSON.parse(t+"");var r,s=null,e=C.trim(t+"");return e&&!C.trim(e.replace(Te,function(t,e,n,i){return r&&e&&(s=0),0===s?t:(r=n||e,s+=!i-!n,"")}))?Function("return "+e)():C.error("Invalid JSON: "+t)},C.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{f.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+t),e};var Ee,Ne,ke=/#.*$/,Se=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,je=/^(?:GET|HEAD)$/,Pe=/^\/\//,Le=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,$e={},Ae={},He="*/".concat("*");try{Ne=location.href}catch(t){(Ne=T.createElement("a")).href="",Ne=Ne.href}function ze(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(j)||[];if(C.isFunction(e))for(;n=r[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(e)):(s[n]=s[n]||[]).push(e)}}function Oe(e,r,s,o){var a={},l=e===Ae;function c(t){var i;return a[t]=!0,C.each(e[t]||[],function(t,e){var n=e(r,s,o);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),c(n),!1)}),i}return c(r.dataTypes[0])||!a["*"]&&c("*")}function Me(t,e){var n,i,r=C.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&C.extend(!0,t,n),t}Ee=Le.exec(Ne.toLowerCase())||[],C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ne,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,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":C.parseJSON,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Me(Me(t,C.ajaxSettings),e):Me(C.ajaxSettings,t)},ajaxPrefilter:ze($e),ajaxTransport:ze(Ae),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,u,h,d,p,f,r,g=C.ajaxSetup({},e),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?C(m):C.event,y=C.Deferred(),w=C.Callbacks("once memory"),b=g.statusCode||{},s={},o={},x=0,a="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(2===x){if(!r)for(r={};e=De.exec(h);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?h:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return x||(t=o[n]=o[n]||t,s[t]=e),this},overrideMimeType:function(t){return x||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(x<2)for(e in t)b[e]=[b[e],t[e]];else _.always(t[_.status]);return this},abort:function(t){var e=t||a;return f&&f.abort(e),l(0,e),this}};if(y.promise(_).complete=w.add,_.success=_.done,_.error=_.fail,g.url=((t||g.url||Ne)+"").replace(ke,"").replace(Pe,Ee[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=C.trim(g.dataType||"*").toLowerCase().match(j)||[""],null==g.crossDomain&&(n=Le.exec(g.url.toLowerCase()),g.crossDomain=!(!n||n[1]===Ee[1]&&n[2]===Ee[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ee[3]||("http:"===Ee[1]?"80":"443")))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=C.param(g.data,g.traditional)),Oe($e,g,e,_),2===x)return _;for(i in(p=g.global)&&0==C.active++&&C.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!je.test(g.type),u=g.url,g.hasContent||(g.data&&(u=g.url+=(Ce.test(u)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=Se.test(u)?u.replace(Se,"$1_="+_e++):u+(Ce.test(u)?"&":"?")+"_="+_e++)),g.ifModified&&(C.lastModified[u]&&_.setRequestHeader("If-Modified-Since",C.lastModified[u]),C.etag[u]&&_.setRequestHeader("If-None-Match",C.etag[u])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&_.setRequestHeader("Content-Type",g.contentType),_.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+He+"; q=0.01":""):g.accepts["*"]),g.headers)_.setRequestHeader(i,g.headers[i]);if(g.beforeSend&&(!1===g.beforeSend.call(m,_,g)||2===x))return _.abort();for(i in a="abort",{success:1,error:1,complete:1})_[i](g[i]);if(f=Oe(Ae,g,e,_)){_.readyState=1,p&&v.trigger("ajaxSend",[_,g]),g.async&&0<g.timeout&&(d=setTimeout(function(){_.abort("timeout")},g.timeout));try{x=1,f.send(s,l)}catch(t){if(!(x<2))throw t;l(-1,t)}}else l(-1,"No Transport");function l(t,e,n,i){var r,s,o,a,l,c=e;2!==x&&(x=2,d&&clearTimeout(d),f=void 0,h=i||"",_.readyState=0<t?4:0,r=200<=t&&t<300||304===t,n&&(a=function(t,e,n){for(var i,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){l.unshift(o);break}if(l[0]in n)s=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}i||(i=o)}s=s||i}return s?(s!==l[0]&&l.unshift(s),n[s]):void 0}(g,_,n)),a=function(t,e,n,i){var r,s,o,a,l,c={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(s=u.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(g,a,_,r),r?(g.ifModified&&((l=_.getResponseHeader("Last-Modified"))&&(C.lastModified[u]=l),(l=_.getResponseHeader("etag"))&&(C.etag[u]=l)),204===t||"HEAD"===g.type?c="nocontent":304===t?c="notmodified":(c=a.state,s=a.data,r=!(o=a.error))):(o=c,(t||!c)&&(c="error",t<0&&(t=0))),_.status=t,_.statusText=(e||c)+"",r?y.resolveWith(m,[s,c,_]):y.rejectWith(m,[_,c,o]),_.statusCode(b),b=void 0,p&&v.trigger(r?"ajaxSuccess":"ajaxError",[_,g,r?s:o]),w.fireWith(m,[_,c]),p&&(v.trigger("ajaxComplete",[_,g]),--C.active||C.event.trigger("ajaxStop")))}return _},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,r){C[r]=function(t,e,n,i){return C.isFunction(e)&&(i=i||n,n=e,e=void 0),C.ajax({url:t,type:r,dataType:i,data:e,success:n})}}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C._evalUrl=function(t){return C.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){if(C.isFunction(e))return this.each(function(t){C(this).wrapAll(e.call(this,t))});if(this[0]){var t=C(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(n){return this.each(C.isFunction(n)?function(t){C(this).wrapInner(n.call(this,t))}:function(){var t=C(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=C.isFunction(e);return this.each(function(t){C(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){C.nodeName(this,"body")||C(this).replaceWith(this.childNodes)}).end()}}),C.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!v.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||C.css(t,"display"))},C.expr.filters.visible=function(t){return!C.expr.filters.hidden(t)};var Re=/%20/g,Be=/\[\]$/,qe=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;function We(n,t,i,r){var e;if(C.isArray(t))C.each(t,function(t,e){i||Be.test(n)?r(n,e):We(n+"["+("object"==typeof e?t:"")+"]",e,i,r)});else if(i||"object"!==C.type(t))r(n,t);else for(e in t)We(n+"["+e+"]",t[e],i,r)}C.param=function(t,e){var n,i=[],r=function(t,e){e=C.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=C.ajaxSettings&&C.ajaxSettings.traditional),C.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){r(this.name,this.value)});else for(n in t)We(n,t[n],e,r);return i.join("&").replace(Re,"+")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Fe.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!X.test(t))}).map(function(t,e){var n=C(this).val();return null==n?null:C.isArray(n)?C.map(n,function(t){return{name:e.name,value:t.replace(qe,"\r\n")}}):{name:e.name,value:n.replace(qe,"\r\n")}}).get()}}),C.ajaxSettings.xhr=void 0!==f.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Ue()||function(){try{return new f.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Ue;var Ve=0,Xe={},Qe=C.ajaxSettings.xhr();function Ue(){try{return new f.XMLHttpRequest}catch(t){}}f.ActiveXObject&&C(f).on("unload",function(){for(var t in Xe)Xe[t](void 0,!0)}),v.cors=!!Qe&&"withCredentials"in Qe,(Qe=v.ajax=!!Qe)&&C.ajaxTransport(function(l){var c;if(!l.crossDomain||v.cors)return{send:function(t,s){var e,o=l.xhr(),a=++Ve;if(o.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(e in l.xhrFields)o[e]=l.xhrFields[e];for(e in l.mimeType&&o.overrideMimeType&&o.overrideMimeType(l.mimeType),l.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)void 0!==t[e]&&o.setRequestHeader(e,t[e]+"");o.send(l.hasContent&&l.data||null),c=function(t,e){var n,i,r;if(c&&(e||4===o.readyState))if(delete Xe[a],c=void 0,o.onreadystatechange=C.noop,e)4!==o.readyState&&o.abort();else{r={},n=o.status,"string"==typeof o.responseText&&(r.text=o.responseText);try{i=o.statusText}catch(t){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=r.text?200:404}r&&s(n,i,r,o.getAllResponseHeaders())},l.async?4===o.readyState?setTimeout(c):o.onreadystatechange=Xe[a]=c:c()},abort:function(){c&&c(void 0,!0)}}}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),C.ajaxTransport("script",function(e){if(e.crossDomain){var i,r=T.head||C("head")[0]||T.documentElement;return{send:function(t,n){(i=T.createElement("script")).async=!0,e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(t,e){(e||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}}});var Je=[],Ye=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||C.expando+"_"+_e++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,s,o=!1!==t.jsonp&&(Ye.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(t.data)&&"data");return o||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=C.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Ye,"$1"+i):!1!==t.jsonp&&(t.url+=(Ce.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",r=f[i],f[i]=function(){s=arguments},n.always(function(){f[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,Je.push(i)),s&&C.isFunction(r)&&r(s[0]),s=r=void 0}),"script"):void 0}),C.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||T;var i=w.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=C.buildFragment([t],e,r),r&&r.length&&C(r).remove(),C.merge([],i.childNodes))};var Ge=C.fn.load;C.fn.load=function(t,e,n){if("string"!=typeof t&&Ge)return Ge.apply(this,arguments);var i,r,s,o=this,a=t.indexOf(" ");return 0<=a&&(i=C.trim(t.slice(a,t.length)),t=t.slice(0,a)),C.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<o.length&&C.ajax({url:t,type:s,dataType:"html",data:e}).done(function(t){r=arguments,o.html(i?C("<div>").append(C.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){o.each(n,r||[t.responseText,e,t])}),this},C.expr.filters.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length};var Ze=f.document.documentElement;function Ke(t){return C.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}C.offset={setOffset:function(t,e,n){var i,r,s,o,a,l,c=C.css(t,"position"),u=C(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=C.css(t,"top"),l=C.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<C.inArray("auto",[s,l])?(o=(i=u.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),C.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+o),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):u.css(h)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],s=r&&r.ownerDocument;return s?(t=s.documentElement,C.contains(t,r)?(typeof r.getBoundingClientRect!==H&&(i=r.getBoundingClientRect()),n=Ke(s),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===C.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),C.nodeName(t[0],"html")||(n=t.offset()),n.top+=C.css(t[0],"borderTopWidth",!0),n.left+=C.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-C.css(i,"marginTop",!0),left:e.left-n.left-C.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Ze;t&&!C.nodeName(t,"html")&&"static"===C.css(t,"position");)t=t.offsetParent;return t||Ze})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var s=/Y/.test(r);C.fn[e]=function(t){return V(this,function(t,e,n){var i=Ke(t);return void 0===n?i?r in i?i[r]:i.document.documentElement[e]:t[e]:void(i?i.scrollTo(s?C(i).scrollLeft():n,s?n:C(i).scrollTop()):t[e]=n)},e,t,arguments.length,null)}}),C.each(["top","left"],function(t,n){C.cssHooks[n]=Ht(v.pixelPosition,function(t,e){return e?(e=Pt(t,n),$t.test(e)?C(t).position()[n]+"px":e):void 0})}),C.each({Height:"height",Width:"width"},function(s,o){C.each({padding:"inner"+s,content:o,"":"outer"+s},function(i,t){C.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return V(this,function(t,e,n){var i;return C.isWindow(t)?t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?C.css(t,e,r):C.style(t,e,n,r)},o,n?t:void 0,n,null)}})}),C.fn.size=function(){return this.length},C.fn.andSelf=C.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var tn=f.jQuery,en=f.$;return C.noConflict=function(t){return f.$===C&&(f.$=en),t&&f.jQuery===C&&(f.jQuery=tn),C},typeof t===H&&(f.jQuery=f.$=C),C});!function(l,n,r,a){function c(t,e){this.settings=null,this.options=l.extend({},c.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(c.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(c.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}c.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},c.Width={Default:"default",Inner:"inner",Outer:"outer"},c.Type={Event:"event",State:"state"},c.Plugins={},c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,r=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=1<n||t.items.merge,s[i]=r?e*n:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),r=2*Math.ceil(e.length/2),s=n.loop&&e.length?n.rewind?i:Math.max(i,r):0,o="",a="";for(s/=2;0<s;)t.push(this.normalize(t.length/2,!0)),o+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,s-=1;this._clones=t,l(o).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,r=0,s=[];++n<e;)i=s[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,s.push(i+r*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,i,r=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,o=this.coordinates(this.current())+s,a=o+this.width()*r,l=[];for(n=0,i=this._coordinates.length;n<i;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+s*r,(this.op(t,"<=",o)&&this.op(t,">",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},c.prototype.initialize=function(){var t,e,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n<t&&(n=Number(t))}),"function"==typeof(i=l.extend({},this.options,t[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},c.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},c.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,n).length)&&this._pipe[t].run(i),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},c.prototype.width=function(t){switch(t=t||c.Width.Default){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},c.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},c.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},c.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},c.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},c.prototype.onDragStart=function(t){var e=null;3!==t.which&&(l.support.transform?e={x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),e={x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(r).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(r).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(r).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},c.prototype.onDragMove=function(t){var e=null,n=null,i=null,r=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*r.x/5:0,s.x=Math.max(Math.min(s.x,e+i),n+i)),this._drag.stage.current=s,this.animate(s.x))},c.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),n=this._drag.stage.current,i=0<e.x^this.settings.rtl?"left":"right";l(r).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==e.x?i:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=i,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},c.prototype.closest=function(n,i){var r=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||l.each(o,l.proxy(function(t,e){return"left"===i&&e-30<n&&n<e+30?r=t:"right"===i&&e-s-30<n&&n<e-s+30?r=t+1:this.op(n,"<",e)&&this.op(n,">",o[t+1]!==a?o[t+1]:e-s)&&(r="left"===i?t+1:t),-1===r},this)),this.settings.loop||(this.op(n,">",o[this.minimum()])?r=n=this.minimum():this.op(n,"<",o[this.maximum()])&&(r=n=this.maximum())),r},c.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},c.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},c.prototype.current=function(t){if(t===a)return this._current;if(0===this._items.length)return a;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},c.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),l.map(this._invalidated,function(t,e){return e})},c.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},c.prototype.normalize=function(t,e){var n=this._items.length,i=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=a:(t<0||n+i<=t)&&(t=((t-i/2)%n+n)%n+i/2),t},c.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},c.prototype.maximum=function(t){var e,n,i,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!((n+=this._items[e].width()+this.settings.margin)>i););s=e+1}else s=r.center?this._items.length-1:this._items.length-r.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(n){var e=this._clones.length/2,i=e+this._items.length,r=function(t){return t%2==0?i+t/2:e-(t+1)/2};return n===a?l.map(this._clones,function(t,e){return r(e)}):l.map(this._clones,function(t,e){return t===n?r(e):null})},c.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,e=Math.ceil(e))},c.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},c.prototype.to=function(t,e){var n=this.current(),i=null,r=t-this.relative(n),s=(0<r)-(r<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>o/2&&(r+=-1*s*o),(i=(((t=n+r)-a)%o+o)%o+a)!==t&&i-r<=l&&0<i-r&&(n=i-r,t=i,this.reset(n))):this.settings.rewind?t=(t%(l+=1)+l)%l:t=Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},c.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},c.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},c.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},c.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==n?t=l(this.options.responsiveBaseElement).width():n.innerWidth?t=n.innerWidth:r.documentElement&&r.documentElement.clientWidth?t=r.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},c.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:l(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},c.prototype.add=function(t,e){var n=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},c.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},c.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},c.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(r).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},c.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?n<t:t<n;case">":return i?t<n:n<t;case">=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},c.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},c.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},c.prototype.trigger=function(t,e,n,i,r){var s={item:{count:this._items.length,index:this.current()}},o=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(n){if(n.type===c.Type.Event){if(l.event.special[n.name]||(l.event.special[n.name]={}),!l.event.special[n.name].owl){var e=l.event.special[n.name]._default;l.event.special[n.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[n.name].owl=!0}}else n.type===c.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[n.name])===e},this)))},c.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},c.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},c.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||n.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},c.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},c.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),n=t.data("owl.carousel");n||(n=new c(this,"object"==typeof e&&e),t.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){n.register({type:c.Type.Event,name:e}),n.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),n[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},n))})),"string"==typeof e&&"_"!==e.charAt(0)&&n[e].apply(n,i)})},l.fn.owlCarousel.Constructor=c}(window.Zepto||window.jQuery,window,document),function(e,n,t,i){var r=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var t,e;for(t in n.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||window.jQuery,window,document),function(a,s,t,e){var n=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,n=e.center&&Math.ceil(e.items/2)||e.items,i=e.center&&-1*n||0,r=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,s=this._core.clones().length,o=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(n+=e.lazyLoadEager,e.loop&&(r-=e.lazyLoadEager,n++));i++<n;)this.load(s/2+this._core.relative(r)),s&&a.each(this._core.clones(this._core.relative(r)),o),r++}},this)},this._core.options=a.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(t){var e=this._core.$stage.children().eq(t),n=e&&e.find(".owl-lazy");!n||-1<a.inArray(e.get(0),this._loaded)||(n.each(a.proxy(function(t,e){var n,i=a(e),r=1<s.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:r},"lazy"),i.is("img")?i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:r},"lazy")},this)).attr("src",r):i.is("source")?i.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:i,url:r},"lazy")},this)).attr("srcset",r):((n=new Image).onload=a.proxy(function(){i.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:r},"lazy")},this),n.src=r)},this)),this._loaded.push(e.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(o,n,t,e){var i=function(t){this._core=t,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;o(n).on("load",function(){e._core.settings.autoHeight&&e.update()}),o(n).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,n=this._core.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(t,e),r=[],s=0;o.each(i,function(t,e){r.push(o(e).height())}),(s=Math.max.apply(null,r))<=1&&n&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(u,t,e,n){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(t){if(t.namespace){var e=u(t.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,u(t.content)))}},this)},this._core.options=u.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if(-1<(i=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[o]={type:n,id:i,width:r,height:s},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},i.prototype.thumbnail=function(e,t){var n,i,r=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",s=e.find("img"),o="src",a="",l=this._core.settings,c=function(t){'<div class="owl-video-play-icon"></div>',n=l.lazyLoad?u("<div/>",{class:"owl-video-tn "+a,srcType:t}):u("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(u("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(o="data-src",a="owl-lazy"),s.length)return c(s.attr(o)),s.remove(),!1;"youtube"===t.type?(i="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",c(i)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t[0].thumbnail_large,c(i)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){i=t.framegrab_url,c(i)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,n=u(t.target).closest("."+this._core.settings.itemClass),i=this._videos[n.attr("data-video")],r=i.width||"100%",s=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(e=u('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),e.attr("width",r),"youtube"===i.type?e.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?e.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&e.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),u(e).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},u.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(o,t,e,n){var i=function(t){this.core=t,this.core.options=o.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":o.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":o.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&o.support.animation&&o.support.transition){this.core.speed(0);var t,e=o.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(o.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&i.one(o.support.animation.end,e).addClass("animated owl-animated-in").addClass(r))}},i.prototype.clear=function(t){o(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(i,r,e,t){var n=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(t){this._call=r.setTimeout(i.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(t,e){var n;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):r.clearTimeout(this._call),this._time+=this.read()%t-n,this._timeout=t,this._call=r.setTimeout(i.proxy(this._next,this,e),t-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(s,t,e,n){"use strict";var i=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},i.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?s(n.navContainer):s("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=s("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[s('<button role="button">').addClass(n.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?s(n.dotsContainer):s("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",s.proxy(function(t){var e=s(t.target).parent().is(this._controls.$absolute)?s(t.target).index():s(t.target).parent().index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},i.prototype.destroy=function(){var t,e,n,i,r;for(t in r=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&r.navContainer?this._controls[e].html(""):this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0;t<i;t++){if(o<=e||0===e){if(this._pages.push({start:Math.min(r,t-n),end:t-n+o-1}),Math.min(r,t-n)===r)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},i.prototype.draw=function(){var t,e=this._core.settings,n=this._core.items().length<=e.items,i=this._core.relative(this._core.current()),r=e.loop||e.rewind;this._controls.$relative.toggleClass("disabled",!e.nav||n),e.nav&&(this._controls.$previous.toggleClass("disabled",!r&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||n),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):0<t?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},i.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},i.prototype.current=function(){var n=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=n&&t.end>=n},this)).pop()},i.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=s.inArray(this.current(),this._pages),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this._core.relative(this._core.current()),n=this._core.items().length,t?e+=i.slideBy:e-=i.slideBy),e},i.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},i.prototype.to=function(t,e,n){var i;!n&&this._pages.length?(i=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):s.proxy(this._overrides.to,this._core)(t,e)},s.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||window.jQuery,window,document),function(i,r,t,e){"use strict";var n=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&i(r).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){if(t.namespace){var e=i(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":i.proxy(function(t){if(t.namespace&&"position"===t.property.name){var n=this._core.items(this._core.relative(this._core.current())),e=i.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!e||r.location.hash.slice(1)===e)return;r.location.hash=e}},this)},this._core.options=i.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),i(r).on("hashchange.owl.navigation",i.proxy(function(t){var e=r.location.hash.substring(1),n=this._core.$stage.children(),i=this._hashes[e]&&n.index(this._hashes[e]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var t,e;for(t in i(r).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(r,t,e,s){function n(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return r.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(o[e]!==s)return i=!n||e,!1}),i}function i(t){return n(t,!0)}var o=r("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!n("transform")},u=function(){return!!n("perspective")},h=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(r.support.transition=new String(i("transition")),r.support.transition.end=l.transition.end[r.support.transition]),h()&&(r.support.animation=new String(i("animation")),r.support.animation.end=l.animation.end[r.support.animation]),c()&&(r.support.transform=new String(i("transform")),r.support.transform3d=u())}(window.Zepto||window.jQuery,window,document);var jQ=jQuery.noConflict(!0),BCRecentProduct=function(){this.settings={recentlyViewedEnable:!0,limit:4,storageId:"bcRecentProductData",showRecentProductLabel:!0,showRecentProductVendor:!0,recentProductSliderRange:4,isCollectionPage:!1,isProductPage:!1,showOnCollectionPage:!1,showOnProductPage:!1,enableSlider:!0},this.translation={recentProductHeading:"Recently Viewed Products",saleLabel:"Sale",soldOutLabel:"Sold Out",fromLabel:"from"},this.selector={recentProductWrapperSelector:".bc-sf-recent-products-wrapper",recentProductSliderSelector:".bc-sf-recent-products.owl-carousel"},this.template={recentlyDefaultHtml:'<div class="bc-sf-filter-product-item bc-sf-filter-product-item-grid"><div class="bc-sf-filter-product-item-inner"><div class="bc-sf-filter-product-item-image"><a href="{{itemUrl}}">{{itemImages}}</a></div><div class="bc-sf-filter-product-item-label">{{itemLabels}}{{itemTagLabels}}</div><div class="bc-sf-filter-product-bottom"><a href="{{itemUrl}}" class="bc-sf-filter-product-item-title">{{itemTitle}}</a>{{itemVendor}}{{itemPrice}}</div></div></div>',headingTemplate:'<h2 class="bc-sf-recent-product-heading">{{title}}</h2>'}};function rvBuildImages(t){return'<img src="'+t.featured_image+'" class="bc-sf-filter-product-item-main-image" alt="'+t.title+'">'}function rvBuildLabels(t,e){var n=!t.available,i=t.compare_at_price_min>t.price_min,r="";return 1==e.settings.showRecentProductLabel&&(n&&(r+='<span class="soldout bc-sf-filter-label">'+e.translation.soldOutLabel+"</span>"),i&&(r+='<span class="sale bc-sf-filter-label">'+e.translation.saleLabel+"</span>")),r}function rvBuildTagLabels(t,e){showall=!1;var n="";if(1==e.settings.showRecentProductLabel)if(showall){if(t.tags)for(i=0;i<data.product.length;i++)tag=t.tags[i],tag.indexOf("pfs:label")&&(n+='<span class="bc-sf-filter-label tag">'+tag.split("pfs:label-")[1]+"</span>")}else if(t.tags)for(i=t.tags.length-1;0<=i;i--)if(tag=t.tags[i],tag.indexOf("pfs:label")){n+='<span class="bc-sf-filter-label tag">'+tag.split("pfs:label-")[1]+"</span>";break}return n}function rvBuildVendor(t,e){var n="";return 1==e.settings.showRecentProductVendor&&(n+='<p class="bc-sf-filter-product-item-vendor">'+t.vendor+"</p>"),n}function rvBuildPrice(t,e){var n="",i=t.compare_at_price_min>t.price_min,r=t.price_min!=t.price_max;return n='<p class="bc-sf-filter-product-item-price">',i?(n+="<s>"+BCRecentProduct.prototype.formatMoney(t.compare_at_price_min)+"</s> ",n+='<span class="bc-sf-filter-product-item-sale-price">'+BCRecentProduct.prototype.formatMoney(t.price_min)+"</span>"):(r&&(n+=e.translation.fromLabel+" "),n+='<span class="bc-sf-filter-product-item-regular-price">'+BCRecentProduct.prototype.formatMoney(t.price_min)+"</span>"),n+="</p>"}BCRecentProduct.prototype.init=function(t,e){this.rvPrepareParams(t,e),this.settings.recentlyViewedEnable&&(this.saveRecentProductInfo(),this.buildRecentProductsHtml())},BCRecentProduct.prototype.rvPrepareParams=function(t,e){void 0===t||jQ.isEmptyObject(t)||this.rvPrepareFilterAppParams(t),void 0===e||jQ.isEmptyObject(e)||this.rvPrepareDevParams(e)},BCRecentProduct.prototype.rvPrepareFilterAppParams=function(t){void 0!==t.recentlyViewed&&(this.settings=this.mergeObjects(this.settings,t.recentlyViewed)),void 0!==t.label&&void 0!==t.label&&"undefined"!==t.label.recentlyViewed&&(this.translation=this.mergeObjects(this.translation,t.label.recentlyViewed))},BCRecentProduct.prototype.rvPrepareDevParams=function(t){this.rvUpdateParams(t)},BCRecentProduct.prototype.rvUpdateParams=function(t){var e=this;void 0!==t&&(void 0!==t.settings&&(this.settings=e.mergeObjects(e.settings,t.settings)),void 0!==t.translation&&(this.translation=e.mergeObjects(e.translation,t.translation)),void 0!==t.template&&(this.template=e.mergeObjects(e.template,t.template)),void 0!==t.selector&&(this.selector=e.mergeObjects(e.selector,t.selector)))},BCRecentProduct.prototype.saveRecentProductInfo=function(){var t=this;if(t.settings.isProductPage&&"undefined"!=typeof Storage)if(null!=sessionStorage.getItem(t.settings.storageId)){var e=JSON.parse(sessionStorage.getItem(t.settings.storageId));if(""!=window.bcOtpProductJsonData){var n=window.bcOtpProductJsonData;-1==e.products.findIndex(function(t){return t.id==n.products[0].id})?e.products.length>=t.settings.limit&&e.products.shift():e.products=e.products.filter(function(t){return t.id!=n.products[0].id}),e.products.push(n.products[0]),sessionStorage.setItem(t.settings.storageId,JSON.stringify(e))}}else void 0!==window.bcOtpProductJsonData&&sessionStorage.setItem(t.settings.storageId,JSON.stringify(window.bcOtpProductJsonData))},BCRecentProduct.prototype.checkShowRecentProducts=function(){return this.settings.showOnCollectionPage&&this.settings.isCollectionPage||this.settings.showOnProductPage&&this.settings.isProductPage},BCRecentProduct.prototype.buildRecentProductsHtml=function(){var t=this;if(t.checkShowRecentProducts()&&null!==sessionStorage.getItem(t.settings.storageId)&&0<jQ(t.selector.recentProductSliderSelector).length){var e=JSON.parse(sessionStorage.getItem(t.settings.storageId));e.products.reverse();var n=jQ(t.selector.recentProductSliderSelector);n.empty();for(var i=Math.min(e.products.length,t.settings.limit),r=0;r<i;r++){var s=e.products[r];if("undefined"!=typeof bcsffilter){var o=bcsffilter.buildProductGridItem(s,r+1);n.append(o)}else n.append(t.buildRecentProductItem(s))}jQ(t.selector.recentProductWrapperSelector).prepend(t.template.headingTemplate.replace(/{{title}}/g,t.translation.recentProductHeading)),t.settings.enableSlider&&t.recentProductInitCarousel(t.selector.recentProductSliderSelector,t.settings.recentProductSliderRange,!0,!0)}},BCRecentProduct.prototype.buildRecentProductItem=function(t){var e=this,n=e.template.recentlyDefaultHtml;return n=(n=(n=(n=(n=(n=(n=n.replace(/{{itemTitle}}/g,t.title)).replace(/{{itemUrl}}/g,t.url)).replace(/{{itemLabels}}/g,rvBuildLabels(t,e))).replace(/{{itemTagLabels}}/g,rvBuildTagLabels(t,e))).replace(/{{itemImages}}/g,rvBuildImages(t))).replace(/{{itemPrice}}/g,rvBuildPrice(t,e))).replace(/{{itemVendor}}/g,rvBuildVendor(t,e))},BCRecentProduct.prototype.recentProductInitCarousel=function(t,e,n,i){0<jQ(t).length&&0<jQ(t).find("img").length&&"function"==typeof jQ(t).owlCarousel&&setTimeout(function(){jQ(t).owlCarousel({loop:i||!1,nav:n||!1,responsiveClass:!0,responsive:{0:{items:2},600:{items:2},1024:{items:3},1200:{items:e||5,loop:!1}}})},1e3)},BCRecentProduct.prototype.mergeObjects=function(e,n){for(var i in n)try{e[i]=n[i].constructor==Object?mergeObject(e[i],n[i]):n[i]}catch(t){e[i]=n[i]}return e},BCRecentProduct.prototype.formatMoney=function(t,e){function s(t,e){return void 0===t?e:t}function n(t,e,n,i){if(e=s(e,2),n=s(n,","),i=s(i,"."),isNaN(t)||null==t)return 0;var r=(t=(t/100).toFixed(e)).split(".");return r[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+n)+(r[1]?i+r[1]:"")}"string"==typeof t&&(t=t.replace(".",""));var i="",r=/\{\{\s*(\w+)\s*\}\}/,o=e||bcsffilter.shop.money_format;switch(o.match(r)[1]){case"amount":i=n(t,2);break;case"amount_no_decimals":i=n(t,0);break;case"amount_with_comma_separator":i=n(t,2,".",",");break;case"amount_with_space_separator":i=n(t,2," ",",");break;case"amount_with_period_and_space_separator":i=n(t,2," ",".");break;case"amount_no_decimals_with_comma_separator":i=n(t,0,".",",");break;case"amount_no_decimals_with_space_separator":i=n(t,0,".","");break;case"amount_with_space_separator":i=n(t,2,",","");break;case"amount_with_apostrophe_separator":i=n(t,2,"'",".")}return o.replace(r,i)};