32 lines
232 KiB
JavaScript
32 lines
232 KiB
JavaScript
window.Modernizr=function(e,t,n){function r(e){h.cssText=e}function i(e,t){return typeof e===t}var o,a,s,u="2.6.2",c={},l=!0,f=t.documentElement,p="modernizr",d=t.createElement(p),h=d.style,m={}.toString,g=" -webkit- -moz- -o- -ms- ".split(" "),v={svg:"http://www.w3.org/2000/svg"},y={},$=[],b=$.slice,w=function(e,n,r,i){var o,a,s,u,c=t.createElement("div"),l=t.body,d=l||t.createElement("body");if(parseInt(r,10))for(;r--;)s=t.createElement("div"),s.id=i?i[r]:p+(r+1),c.appendChild(s);return o=["­",'<style id="s',p,'">',e,"</style>"].join(""),c.id=p,(l?c:d).innerHTML+=o,d.appendChild(c),l||(d.style.background="",d.style.overflow="hidden",u=f.style.overflow,f.style.overflow="hidden",f.appendChild(d)),a=n(c,e),l?c.parentNode.removeChild(c):(d.parentNode.removeChild(d),f.style.overflow=u),!!a},x=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t).matches;var r;return w("@media "+t+" { #"+p+" { position: absolute; } }",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},C={}.hasOwnProperty;s=i(C,"undefined")||i(C.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return C.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=b.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var o=new i,a=t.apply(o,n.concat(b.call(arguments)));return Object(a)===a?a:o}return t.apply(e,n.concat(b.call(arguments)))};return r}),y.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:w(["@media (",g.join("touch-enabled),("),p,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},y.svg=function(){return!!t.createElementNS&&!!t.createElementNS(v.svg,"svg").createSVGRect},y.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==v.svg},y.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(m.call(t.createElementNS(v.svg,"clipPath")))};for(var S in y)s(y,S)&&(a=S.toLowerCase(),c[a]=y[S](),$.push((c[a]?"":"no-")+a));return c.addTest=function(e,t){if("object"==typeof e)for(var r in e)s(e,r)&&c.addTest(r,e[r]);else{if(e=e.toLowerCase(),c[e]!==n)return c;t="function"==typeof t?t():t,"undefined"!=typeof l&&l&&(f.className+=" "+(t?"":"no-")+e),c[e]=t}return c},r(""),d=o=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=g[e[h]];return t||(t={},m++,e[h]=m,g[m]=t),t}function o(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=i(n));var o;return o=r.cache[e]?r.cache[e].cloneNode():d.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),o.canHaveChildren&&!p.test(e)?r.frag.appendChild(o):o}function a(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||i(e);for(var o=n.frag.cloneNode(),a=0,s=r(),u=s.length;u>a;a++)o.createElement(s[a]);return o}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return v.shivMethods?o(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,t.frag)}function u(e){e||(e=t);var r=i(e);return v.shivCSS&&!c&&!r.hasCSS&&(r.hasCSS=!!n(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),l||s(e,r),e}var c,l,f=e.html5||{},p=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,d=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",m=0,g={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",c="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){c=!0,l=!0}}();var v={elements:f.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:u,createElement:o,createDocumentFragment:a};e.html5=v,u(t)}(this,t),c._version=u,c._prefixes=g,c.mq=x,c.testStyles=w,f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(l?" js "+$.join(" "):""),c}(this,this.document),function(e,t,n){function r(e){return"[object Function]"==g.call(e)}function i(e){return"string"==typeof e}function o(){}function a(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function s(){var e=v.shift();y=1,e?e.t?h(function(){("c"==e.t?p.injectCss:p.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),s()):y=0}function u(e,n,r,i,o,u,c){function l(t){if(!d&&a(f.readyState)&&($.r=d=1,!y&&s(),f.onload=f.onreadystatechange=null,t)){"img"!=e&&h(function(){w.removeChild(f)},50);for(var r in T[n])T[n].hasOwnProperty(r)&&T[n][r].onload()}}var c=c||p.errorTimeout,f=t.createElement(e),d=0,g=0,$={t:r,s:n,e:o,a:u,x:c};1===T[n]&&(g=1,T[n]=[]),"object"==e?f.data=n:(f.src=n,f.type=e),f.width=f.height="0",f.onerror=f.onload=f.onreadystatechange=function(){l.call(this,g)},v.splice(i,0,$),"img"!=e&&(g||2===T[n]?(w.insertBefore(f,b?null:m),h(l,c)):T[n].push(f))}function c(e,t,n,r,o){return y=0,t=t||"j",i(e)?u("c"==t?C:x,e,t,this.i++,n,r,o):(v.splice(this.i++,0,e),1==v.length&&s()),this}function l(){var e=p;return e.loader={load:c,i:0},e}var f,p,d=t.documentElement,h=e.setTimeout,m=t.getElementsByTagName("script")[0],g={}.toString,v=[],y=0,$="MozAppearance"in d.style,b=$&&!!t.createRange().compareNode,w=b?d:m.parentNode,d=e.opera&&"[object Opera]"==g.call(e.opera),d=!!t.attachEvent&&!d,x=$?"object":d?"script":"img",C=d?"script":x,S=Array.isArray||function(e){return"[object Array]"==g.call(e)},k=[],T={},E={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}};p=function(e){function t(e){var t,n,r,e=e.split("!"),i=k.length,o=e.pop(),a=e.length,o={url:o,origUrl:o,prefixes:e};for(n=0;a>n;n++)r=e[n].split("="),(t=E[r.shift()])&&(o=t(o,r));for(n=0;i>n;n++)o=k[n](o);return o}function a(e,i,o,a,s){var u=t(e),c=u.autoCallback;u.url.split(".").pop().split("?").shift(),u.bypass||(i&&(i=r(i)?i:i[e]||i[a]||i[e.split("/").pop().split("?")[0]]),u.instead?u.instead(e,i,o,a,s):(T[u.url]?u.noexec=!0:T[u.url]=1,o.load(u.url,u.forceCSS||!u.forceJS&&"css"==u.url.split(".").pop().split("?").shift()?"c":n,u.noexec,u.attrs,u.timeout),(r(i)||r(c))&&o.load(function(){l(),i&&i(u.origUrl,s,a),c&&c(u.origUrl,s,a),T[u.url]=2})))}function s(e,t){function n(e,n){if(e){if(i(e))n||(f=function(){var e=[].slice.call(arguments);p.apply(this,e),d()}),a(e,f,t,0,c);else if(Object(e)===e)for(u in s=function(){var t,n=0;for(t in e)e.hasOwnProperty(t)&&n++;return n}(),e)e.hasOwnProperty(u)&&(!n&&!--s&&(r(f)?f=function(){var e=[].slice.call(arguments);p.apply(this,e),d()}:f[u]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),d()}}(p[u])),a(e[u],f,t,u,c))}else!n&&d()}var s,u,c=!!e.test,l=e.load||e.both,f=e.callback||o,p=f,d=e.complete||o;n(c?e.yep:e.nope,!!l),l&&n(l)}var u,c,f=this.yepnope.loader;if(i(e))a(e,0,f,0);else if(S(e))for(u=0;u<e.length;u++)c=e[u],i(c)?a(c,0,f,0):S(c)?p(c):Object(c)===c&&s(c,f);else Object(e)===e&&s(e,f)},p.addPrefix=function(e,t){E[e]=t},p.addFilter=function(e){k.push(e)},p.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",f=function(){t.removeEventListener("DOMContentLoaded",f,0),t.readyState="complete"},0)),e.yepnope=l(),e.yepnope.executeStack=s,e.yepnope.injectJs=function(e,n,r,i,u,c){var l,f,d=t.createElement("script"),i=i||p.errorTimeout;d.src=e;for(f in r)d.setAttribute(f,r[f]);n=c?s:n||o,d.onreadystatechange=d.onload=function(){!l&&a(d.readyState)&&(l=1,n(),d.onload=d.onreadystatechange=null)},h(function(){l||(l=1,n(1))},i),u?d.onload():m.parentNode.insertBefore(d,m)},e.yepnope.injectCss=function(e,n,r,i,a,u){var c,i=t.createElement("link"),n=u?s:n||o;i.href=e,i.rel="stylesheet",i.type="text/css";for(c in r)i.setAttribute(c,r[c]);a||(m.parentNode.insertBefore(i,m),h(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&7===document.documentMode}),/*!
|
||
* jQuery JavaScript Library v2.0.3
|
||
* http://jquery.com/
|
||
*
|
||
* Includes Sizzle.js
|
||
* http://sizzlejs.com/
|
||
*
|
||
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
|
||
* Released under the MIT license
|
||
* http://jquery.org/license
|
||
*
|
||
* Date: 2013-07-03T13:30Z
|
||
*/
|
||
function(e,t){function n(e){var t=e.length,n=ot.type(e);return ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=ht[e]={};return ot.each(e.match(st)||[],function(e,n){t[n]=!0}),t}function i(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=ot.expando+Math.random()}function o(e,n,r){var i;if(r===t&&1===e.nodeType)if(i="data-"+n.replace(yt,"-$1").toLowerCase(),r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:vt.test(r)?JSON.parse(r):r}catch(o){}mt.set(e,n,r)}else r=t;return r}function a(){return!0}function s(){return!1}function u(){try{return V.activeElement}catch(e){}}function c(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(At.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return tt.call(t,e)>=0!==n})}function f(e,t){return ot.nodeName(e,"table")&&ot.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function p(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function d(e){var t=qt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function h(e,t){for(var n=e.length,r=0;n>r;r++)gt.set(e[r],"globalEval",!t||gt.get(t[r],"globalEval"))}function m(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(gt.hasData(e)&&(o=gt.access(e),a=gt.set(t,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)ot.event.add(t,i,c[i][n])}mt.hasData(e)&&(s=mt.access(e),u=ot.extend({},s),mt.set(t,u))}}function g(e,n){var r=e.getElementsByTagName?e.getElementsByTagName(n||"*"):e.querySelectorAll?e.querySelectorAll(n||"*"):[];return n===t||n&&ot.nodeName(e,n)?ot.merge([e],r):r}function v(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ft.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function y(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Zt.length;i--;)if(t=Zt[i]+n,t in e)return t;return r}function $(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)}function b(t){return e.getComputedStyle(t,null)}function w(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=gt.get(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&$(r)&&(o[a]=gt.access(r,"olddisplay",k(r.nodeName)))):o[a]||(i=$(r),(n&&"none"!==n||!i)&>.set(r,"olddisplay",i?n:ot.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function x(e,t,n){var r=Wt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ot.css(e,n+Kt[o],!0,i)),r?("content"===n&&(a-=ot.css(e,"padding"+Kt[o],!0,i)),"margin"!==n&&(a-=ot.css(e,"border"+Kt[o]+"Width",!0,i))):(a+=ot.css(e,"padding"+Kt[o],!0,i),"padding"!==n&&(a+=ot.css(e,"border"+Kt[o]+"Width",!0,i)));return a}function S(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=b(e),a=ot.support.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Ut(e,t,o),(0>i||null==i)&&(i=e.style[t]),Xt.test(i))return i;r=a&&(ot.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(a?"border":"content"),r,o)+"px"}function k(e){var t=V,n=Yt[e];return n||(n=T(e,t),"none"!==n&&n||(Bt=(Bt||ot("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Bt[0].contentWindow||Bt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=T(e,t),Bt.detach()),Yt[e]=n),n}function T(e,t){var n=ot(t.createElement(e)).appendTo(t.body),r=ot.css(n[0],"display");return n.remove(),r}function E(e,t,n,r){var i;if(ot.isArray(t))ot.each(t,function(t,i){n||tn.test(e)?r(e,i):E(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==ot.type(t))r(e,t);else for(i in t)E(e+"["+i+"]",t[i],n,r)}function A(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(st)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function N(e,t,n,r){function i(s){var u;return o[s]=!0,ot.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||o[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o={},a=e===$n;return i(t.dataTypes[0])||!o["*"]&&i("*")}function D(e,n){var r,i,o=ot.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);return i&&ot.extend(!0,e,i),e}function O(e,n,r){for(var i,o,a,s,u=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("Content-Type"));if(i)for(o in u)if(u[o]&&u[o].test(i)){c.unshift(o);break}if(c[0]in r)a=c[0];else{for(o in r){if(!c[0]||e.converters[o+" "+c[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==c[0]&&c.unshift(a),r[a]):void 0}function P(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=c[u+" "+o]||c["* "+o],!a)for(i in c)if(s=i.split(" "),s[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[i]:c[i]!==!0&&(o=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function j(){return setTimeout(function(){An=t}),An=ot.now()}function M(e,t,n){for(var r,i=(Mn[t]||[]).concat(Mn["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function I(e,t,n){var r,i,o=0,a=jn.length,s=ot.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=An||j(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(o);return s.notifyWith(e,[c,o,n]),1>o&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:ot.extend({},t),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:An||j(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ot.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),l=c.props;for(F(l,c.opts.specialEasing);a>o;o++)if(r=jn[o].call(c,e,l,c.opts))return r;return ot.map(l,M,c),ot.isFunction(c.opts.start)&&c.opts.start.call(e,c),ot.fx.timer(ot.extend(u,{elem:e,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)}function F(e,t){var n,r,i,o,a;for(n in e)if(r=ot.camelCase(n),i=t[r],o=e[n],ot.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=ot.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function L(e,n,r){var i,o,a,s,u,c,l=this,f={},p=e.style,d=e.nodeType&&$(e),h=gt.get(e,"fxshow");r.queue||(u=ot._queueHooks(e,"fx"),null==u.unqueued&&(u.unqueued=0,c=u.empty.fire,u.empty.fire=function(){u.unqueued||c()}),u.unqueued++,l.always(function(){l.always(function(){u.unqueued--,ot.queue(e,"fx").length||u.empty.fire()})})),1===e.nodeType&&("height"in n||"width"in n)&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===ot.css(e,"display")&&"none"===ot.css(e,"float")&&(p.display="inline-block")),r.overflow&&(p.overflow="hidden",l.always(function(){p.overflow=r.overflow[0],p.overflowX=r.overflow[1],p.overflowY=r.overflow[2]}));for(i in n)if(o=n[i],Dn.exec(o)){if(delete n[i],a=a||"toggle"===o,o===(d?"hide":"show")){if("show"!==o||!h||h[i]===t)continue;d=!0}f[i]=h&&h[i]||ot.style(e,i)}if(!ot.isEmptyObject(f)){h?"hidden"in h&&(d=h.hidden):h=gt.access(e,"fxshow",{}),a&&(h.hidden=!d),d?ot(e).show():l.done(function(){ot(e).hide()}),l.done(function(){var t;gt.remove(e,"fxshow");for(t in f)ot.style(e,t,f[t])});for(i in f)s=M(d?h[i]:0,i,l),i in h||(h[i]=s.start,d&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function H(e,t,n,r,i){return new H.prototype.init(e,t,n,r,i)}function q(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Kt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function _(e){return ot.isWindow(e)?e:9===e.nodeType&&e.defaultView}var R,U,B=typeof t,z=e.location,V=e.document,W=V.documentElement,X=e.jQuery,Q=e.$,Y={},G=[],J="2.0.3",K=G.concat,Z=G.push,et=G.slice,tt=G.indexOf,nt=Y.toString,rt=Y.hasOwnProperty,it=J.trim,ot=function(e,t){return new ot.fn.init(e,t,R)},at=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,st=/\S+/g,ut=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ct=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,lt=/^-ms-/,ft=/-([\da-z])/gi,pt=function(e,t){return t.toUpperCase()},dt=function(){V.removeEventListener("DOMContentLoaded",dt,!1),e.removeEventListener("load",dt,!1),ot.ready()};ot.fn=ot.prototype={jquery:J,constructor:ot,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:ut.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof ot?n[0]:n,ot.merge(this,ot.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:V,!0)),ct.test(i[1])&&ot.isPlainObject(n))for(i in n)ot.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}return o=V.getElementById(i[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=V,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ot.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ot.makeArray(e,this))},selector:"",length:0,toArray:function(){return et.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=ot.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ot.each(this,e,t)},ready:function(e){return ot.ready.promise().done(e),this},slice:function(){return this.pushStack(et.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(ot.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:[].sort,splice:[].splice},ot.fn.init.prototype=ot.fn,ot.extend=ot.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},u=2),"object"==typeof s||ot.isFunction(s)||(s={}),c===u&&(s=this,--u);c>u;u++)if(null!=(e=arguments[u]))for(n in e)r=s[n],i=e[n],s!==i&&(l&&i&&(ot.isPlainObject(i)||(o=ot.isArray(i)))?(o?(o=!1,a=r&&ot.isArray(r)?r:[]):a=r&&ot.isPlainObject(r)?r:{},s[n]=ot.extend(l,a,i)):i!==t&&(s[n]=i));return s},ot.extend({expando:"jQuery"+(J+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===ot&&(e.$=Q),t&&e.jQuery===ot&&(e.jQuery=X),ot},isReady:!1,readyWait:1,holdReady:function(e){e?ot.readyWait++:ot.ready(!0)},ready:function(e){(e===!0?--ot.readyWait:ot.isReady)||(ot.isReady=!0,e!==!0&&--ot.readyWait>0||(U.resolveWith(V,[ot]),ot.fn.trigger&&ot(V).trigger("ready").off("ready")))},isFunction:function(e){return"function"===ot.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?Y[nt.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==ot.type(e)||e.nodeType||ot.isWindow(e))return!1;try{if(e.constructor&&!rt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||V;var r=ct.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ot.buildFragment([e],t,i),i&&ot(i).remove(),ot.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var n,r;if(!e||"string"!=typeof e)return null;try{r=new DOMParser,n=r.parseFromString(e,"text/xml")}catch(i){n=t}return(!n||n.getElementsByTagName("parsererror").length)&&ot.error("Invalid XML: "+e),n},noop:function(){},globalEval:function(e){var t,n=eval;e=ot.trim(e),e&&(1===e.indexOf("use strict")?(t=V.createElement("script"),t.text=e,V.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(lt,"ms-").replace(ft,pt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var i,o=0,a=e.length,s=n(e);if(r){if(s)for(;a>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(s)for(;a>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!1)break;return e},trim:function(e){return null==e?"":it.call(e)},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?ot.merge(r,"string"==typeof e?[e]:e):Z.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:tt.call(t,e,n)},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,a=e.length,s=n(e),u=[];if(s)for(;a>o;o++)i=t(e[o],o,r),null!=i&&(u[u.length]=i);else for(o in e)i=t(e[o],o,r),null!=i&&(u[u.length]=i);return K.apply([],u)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),ot.isFunction(e)?(i=et.call(arguments,2),o=function(){return e.apply(n||this,i.concat(et.call(arguments)))},o.guid=e.guid=e.guid||ot.guid++,o):t},access:function(e,n,r,i,o,a,s){var u=0,c=e.length,l=null==r;if("object"===ot.type(r)){o=!0;for(u in r)ot.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,ot.isFunction(i)||(s=!0),l&&(s?(n.call(e,i),n=null):(l=n,n=function(e,t,n){return l.call(ot(e),n)})),n))for(;c>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:l?n.call(e):c?n(e[0],r):a},now:Date.now,swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),ot.ready.promise=function(t){return U||(U=ot.Deferred(),"complete"===V.readyState?setTimeout(ot.ready):(V.addEventListener("DOMContentLoaded",dt,!1),e.addEventListener("load",dt,!1))),U.promise(t)},ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){Y["[object "+t+"]"]=t.toLowerCase()}),R=ot(V),/*!
|
||
* Sizzle CSS Selector Engine v1.9.4-pre
|
||
* http://sizzlejs.com/
|
||
*
|
||
* Copyright 2013 jQuery Foundation, Inc. and other contributors
|
||
* Released under the MIT license
|
||
* http://jquery.org/license
|
||
*
|
||
* Date: 2013-06-03
|
||
*/
|
||
function(e,t){function n(e,t,n,r){var i,o,a,s,u,c,l,f,h,m;if((t?t.ownerDocument||t:_)!==P&&O(t),t=t||P,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(M&&!r){if(i=$t.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&H(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return et.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&C.getElementsByClassName&&t.getElementsByClassName)return et.apply(n,t.getElementsByClassName(a)),n}if(C.qsa&&(!I||!I.test(e))){if(f=l=q,h=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=p(e),(l=t.getAttribute("id"))?f=l.replace(xt,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",u=c.length;u--;)c[u]=f+d(c[u]);h=dt.test(e)&&t.parentNode||t,m=c.join(",")}if(m)try{return et.apply(n,h.querySelectorAll(m)),n}catch(g){}finally{l||t.removeAttribute("id")}}}return w(e.replace(lt,"$1"),t,n,r)}function r(){function e(n,r){return t.push(n+=" ")>k.cacheLength&&delete e[t.shift()],e[n]=r}var t=[];return e}function i(e){return e[q]=!0,e}function o(e){var t=P.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=e.length;r--;)k.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function u(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function c(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return i(function(t){return t=+t,i(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function f(){}function p(e,t){var r,i,o,a,s,u,c,l=z[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=k.preFilter;s;){(!r||(i=ft.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=pt.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(lt," ")}),s=s.slice(r.length));for(a in k.filter)!(i=vt[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?n.error(e):z(e,u).slice(0)}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=U++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,c,l=R+" "+o;if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i)if(c=t[q]||(t[q]={}),(u=c[r])&&u[0]===l){if((s=u[1])===!0||s===S)return s===!0}else if(u=c[r]=[l],u[1]=e(t,n,a)||S,u[1]===!0)return!0}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function v(e,t,n,r,o,a){return r&&!r[q]&&(r=v(r)),o&&!o[q]&&(o=v(o,a)),i(function(i,a,s,u){var c,l,f,p=[],d=[],h=a.length,m=i||b(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:g(m,p,e,s,u),y=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,y,s,u),r)for(c=g(y,d),r(c,[],s,u),l=c.length;l--;)(f=c[l])&&(y[d[l]]=!(v[d[l]]=f));if(i){if(o||e){if(o){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(v[l]=f);o(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=o?nt.call(i,f):p[l])>-1&&(i[c]=!(a[c]=f))}}else y=g(y===a?y.splice(h,y.length):y),o?o(null,a,y,u):et.apply(a,y)})}function y(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,u=h(function(e){return e===t},a,!0),c=h(function(e){return nt.call(t,e)>-1},a,!0),l=[function(e,n,r){return!o&&(r||n!==N)||((t=n).nodeType?u(e,n,r):c(e,n,r))}];i>s;s++)if(n=k.relative[e[s].type])l=[h(m(l),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[q]){for(r=++s;i>r&&!k.relative[e[r].type];r++);return v(s>1&&m(l),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(lt,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&d(e))}l.push(n)}return m(l)}function $(e,t){var r=0,o=t.length>0,a=e.length>0,s=function(i,s,u,c,l){var f,p,d,h=[],m=0,v="0",y=i&&[],$=null!=l,b=N,w=i||a&&k.find.TAG("*",l&&s.parentNode||s),x=R+=null==b?1:Math.random()||.1;for($&&(N=s!==P&&s,S=r);null!=(f=w[v]);v++){if(a&&f){for(p=0;d=e[p++];)if(d(f,s,u)){c.push(f);break}$&&(R=x,S=++r)}o&&((f=!d&&f)&&m--,i&&y.push(f))}if(m+=v,o&&v!==m){for(p=0;d=t[p++];)d(y,h,s,u);if(i){if(m>0)for(;v--;)y[v]||h[v]||(h[v]=K.call(c));h=g(h)}et.apply(c,h),$&&!i&&h.length>0&&m+t.length>1&&n.uniqueSort(c)}return $&&(R=x,N=b),y};return o?i(s):s}function b(e,t,r){for(var i=0,o=t.length;o>i;i++)n(e,t[i],r);return r}function w(e,t,n,r){var i,o,a,s,u,c=p(e);if(!r&&1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&C.getById&&9===t.nodeType&&M&&k.relative[o[1].type]){if(t=(k.find.ID(a.matches[0].replace(Ct,St),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(i=vt.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((u=k.find[s])&&(r=u(a.matches[0].replace(Ct,St),dt.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return et.apply(n,r),n;break}}return A(e,c)(r,t,!M,n,dt.test(e)),n}var x,C,S,k,T,E,A,N,D,O,P,j,M,I,F,L,H,q="sizzle"+-new Date,_=e.document,R=0,U=0,B=r(),z=r(),V=r(),W=!1,X=function(e,t){return e===t?(W=!0,0):0},Q=typeof t,Y=1<<31,G={}.hasOwnProperty,J=[],K=J.pop,Z=J.push,et=J.push,tt=J.slice,nt=J.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",at="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",st=at.replace("w","w#"),ut="\\["+it+"*("+at+")"+it+"*(?:([*^$|!~]?=)"+it+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+st+")|)|)"+it+"*\\]",ct=":("+at+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ut.replace(3,8)+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ft=new RegExp("^"+it+"*,"+it+"*"),pt=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp(it+"*[+~]"),ht=new RegExp("="+it+"*([^\\]'\"]*)"+it+"*\\]","g"),mt=new RegExp(ct),gt=new RegExp("^"+st+"$"),vt={ID:new RegExp("^#("+at+")"),CLASS:new RegExp("^\\.("+at+")"),TAG:new RegExp("^("+at.replace("w","w*")+")"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+ct),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+rt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},yt=/^[^{]+\{\s*\[native \w/,$t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/^(?:input|select|textarea|button)$/i,wt=/^h\d$/i,xt=/'|\\/g,Ct=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),St=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{et.apply(J=tt.call(_.childNodes),_.childNodes),J[_.childNodes.length].nodeType}catch(kt){et={apply:J.length?function(e,t){Z.apply(e,tt.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}E=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},C=n.support={},O=n.setDocument=function(e){var t=e?e.ownerDocument||e:_,n=t.defaultView;return t!==P&&9===t.nodeType&&t.documentElement?(P=t,j=t.documentElement,M=!E(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){O()}),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=o(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),C.getById=o(function(e){return j.appendChild(e).id=q,!t.getElementsByName||!t.getElementsByName(q).length}),C.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==Q&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(Ct,St);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(Ct,St);return function(e){var n=typeof e.getAttributeNode!==Q&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==Q?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=C.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==Q&&M?t.getElementsByClassName(e):void 0},F=[],I=[],(C.qsa=yt.test(t.querySelectorAll))&&(o(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||I.push("\\["+it+"*(?:value|"+rt+")"),e.querySelectorAll(":checked").length||I.push(":checked")}),o(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&I.push("[*^$]="+it+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(C.matchesSelector=yt.test(L=j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&o(function(e){C.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),F.push("!=",ct)}),I=I.length&&new RegExp(I.join("|")),F=F.length&&new RegExp(F.join("|")),H=yt.test(j.contains)||j.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=j.compareDocumentPosition?function(e,n){if(e===n)return W=!0,0;var r=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);return r?1&r||!C.sortDetached&&n.compareDocumentPosition(e)===r?e===t||H(_,e)?-1:n===t||H(_,n)?1:D?nt.call(D,e)-nt.call(D,n):0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,a=n.parentNode,u=[e],c=[n];if(e===n)return W=!0,0;if(!o||!a)return e===t?-1:n===t?1:o?-1:a?1:D?nt.call(D,e)-nt.call(D,n):0;if(o===a)return s(e,n);for(r=e;r=r.parentNode;)u.unshift(r);for(r=n;r=r.parentNode;)c.unshift(r);for(;u[i]===c[i];)i++;return i?s(u[i],c[i]):u[i]===_?-1:c[i]===_?1:0},t):P},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==P&&O(e),t=t.replace(ht,"='$1']"),!(!C.matchesSelector||!M||F&&F.test(t)||I&&I.test(t)))try{var r=L.call(e,t);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return n(t,P,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==P&&O(e),H(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==P&&O(e);var r=k.attrHandle[n.toLowerCase()],i=r&&G.call(k.attrHandle,n.toLowerCase())?r(e,n,!M):t;return i===t?C.attributes||!M?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null:i},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],r=0,i=0;if(W=!C.detectDuplicates,D=!C.sortStable&&e.slice(0),e.sort(X),W){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},T=n.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=T(t);return n},k=n.selectors={cacheLength:50,createPseudo:i,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Ct,St),e[3]=(e[4]||e[5]||"").replace(Ct,St),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return vt.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&mt.test(r)&&(n=p(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Ct,St).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+it+")"+e+"("+it+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Q&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var o=n.attr(i,e);return null==o?"!="===t:t?(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o+" ").indexOf(r)>-1:"|="===t?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(l=g[q]||(g[q]={}),c=l[e]||[],d=c[0]===R&&c[1],p=c[0]===R&&c[2],f=d&&g.childNodes[d];f=++d&&f&&f[m]||(p=d=0)||h.pop();)if(1===f.nodeType&&++p&&f===t){l[e]=[R,d,p];break}}else if(y&&(c=(t[q]||(t[q]={}))[e])&&c[0]===R)p=c[1];else for(;(f=++d&&f&&f[m]||(p=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++p||(y&&((f[q]||(f[q]={}))[e]=[R,p]),f!==t)););return p-=i,p===r||0===p%r&&p/r>=0}}},PSEUDO:function(e,t){var r,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[q]?o(t):o.length>1?(r=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)r=nt.call(e,i[a]),e[r]=!(n[r]=i[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=A(e.replace(lt,"$1"));return r[q]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:i(function(e){return function(t){return n(e,t).length>0}}),contains:i(function(e){return function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:i(function(e){return gt.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(Ct,St).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return wt.test(e.nodeName)},input:function(e){return bt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=u(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=c(x);f.prototype=k.filters=k.pseudos,k.setFilters=new f,A=n.compile=function(e,t){var n,r=[],i=[],o=V[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)o=y(t[n]),o[q]?r.push(o):i.push(o);o=V(e,$(i,r))}return o},C.sortStable=q.split("").sort(X).join("")===q,C.detectDuplicates=W,O(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(P.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||a(rt,function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),ot.find=n,ot.expr=n.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=n.uniqueSort,ot.text=n.getText,ot.isXMLDoc=n.isXML,ot.contains=n.contains}(e);var ht={};ot.Callbacks=function(e){e="string"==typeof e?ht[e]||r(e):ot.extend({},e);var n,i,o,a,s,u,c=[],l=!e.once&&[],f=function(t){for(n=e.memory&&t,i=!0,u=a||0,a=0,s=c.length,o=!0;c&&s>u;u++)if(c[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}o=!1,c&&(l?l.length&&f(l.shift()):n?c=[]:p.disable())},p={add:function(){if(c){var t=c.length;!function r(t){ot.each(t,function(t,n){var i=ot.type(n);"function"===i?e.unique&&p.has(n)||c.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),o?s=c.length:n&&(a=t,f(n))}return this},remove:function(){return c&&ot.each(arguments,function(e,t){for(var n;(n=ot.inArray(t,c,n))>-1;)c.splice(n,1),o&&(s>=n&&s--,u>=n&&u--)}),this},has:function(e){return e?ot.inArray(e,c)>-1:!(!c||!c.length)},empty:function(){return c=[],s=0,this},disable:function(){return c=l=n=t,this},disabled:function(){return!c},lock:function(){return l=t,n||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!c||i&&!l||(t=t||[],t=[e,t.slice?t.slice():t],o?l.push(t):f(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},ot.extend({Deferred:function(e){var t=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ot.Deferred(function(n){ot.each(t,function(t,o){var a=o[0],s=ot.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&ot.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,r):r}},i={};return r.pipe=r.then,ot.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=et.call(arguments),a=o.length,s=1!==a||e&&ot.isFunction(e.promise)?a:0,u=1===s?e:ot.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?et.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(u.reject).progress(c(i,n,t)):--s;return s||u.resolveWith(r,o),u.promise()}}),ot.support=function(t){var n=V.createElement("input"),r=V.createDocumentFragment(),i=V.createElement("div"),o=V.createElement("select"),a=o.appendChild(V.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,o.disabled=!0,t.optDisabled=!a.disabled,n=V.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,ot(function(){var n,r,o="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=V.getElementsByTagName("body")[0];a&&(n=V.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",ot.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(V.createElement("div")),r.style.cssText=i.style.cssText=o,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var mt,gt,vt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,yt=/([A-Z])/g;i.uid=1,i.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},i.prototype={key:function(e){if(!i.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=i.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,ot.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(ot.isEmptyObject(o))ot.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,n){var r=this.cache[this.key(e)];return n===t?r:r[n]},access:function(e,n,r){var i;return n===t||n&&"string"==typeof n&&r===t?(i=this.get(e,n),i!==t?i:this.get(e,ot.camelCase(n))):(this.set(e,n,r),r!==t?r:n)},remove:function(e,n){var r,i,o,a=this.key(e),s=this.cache[a];if(n===t)this.cache[a]={};else{ot.isArray(n)?i=n.concat(n.map(ot.camelCase)):(o=ot.camelCase(n),n in s?i=[n,o]:(i=o,i=i in s?[i]:i.match(st)||[])),r=i.length;for(;r--;)delete s[i[r]]}},hasData:function(e){return!ot.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},mt=new i,gt=new i,ot.extend({acceptData:i.accepts,hasData:function(e){return mt.hasData(e)||gt.hasData(e)},data:function(e,t,n){return mt.access(e,t,n)},removeData:function(e,t){mt.remove(e,t)},_data:function(e,t,n){return gt.access(e,t,n)},_removeData:function(e,t){gt.remove(e,t)}}),ot.fn.extend({data:function(e,n){var r,i,a=this[0],s=0,u=null;if(e===t){if(this.length&&(u=mt.get(a),1===a.nodeType&&!gt.get(a,"hasDataAttrs"))){for(r=a.attributes;s<r.length;s++)i=r[s].name,0===i.indexOf("data-")&&(i=ot.camelCase(i.slice(5)),o(a,i,u[i]));gt.set(a,"hasDataAttrs",!0)}return u}return"object"==typeof e?this.each(function(){mt.set(this,e)}):ot.access(this,function(n){var r,i=ot.camelCase(e);if(a&&n===t){if(r=mt.get(a,e),r!==t)return r;if(r=mt.get(a,i),r!==t)return r;if(r=o(a,i,t),r!==t)return r}else this.each(function(){var r=mt.get(this,i);mt.set(this,i,n),-1!==e.indexOf("-")&&r!==t&&mt.set(this,e,n)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){mt.remove(this,e)})}}),ot.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=gt.get(e,t),n&&(!r||ot.isArray(n)?r=gt.access(e,t,ot.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),r=n.length,i=n.shift(),o=ot._queueHooks(e,t),a=function(){ot.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return gt.get(e,n)||gt.access(e,n,{empty:ot.Callbacks("once memory").add(function(){gt.remove(e,[t+"queue",n])})})}}),ot.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?ot.queue(this[0],e):n===t?this:this.each(function(){var t=ot.queue(this,e,n);ot._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ot.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ot.dequeue(this,e)})},delay:function(e,t){return e=ot.fx?ot.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=ot.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)r=gt.get(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var $t,bt,wt=/[\t\r\n\f]/g,xt=/\r/g,Ct=/^(?:input|select|textarea|button)$/i;ot.fn.extend({attr:function(e,t){return ot.access(this,ot.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ot.removeAttr(this,e)})},prop:function(e,t){return ot.access(this,ot.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ot.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(st)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(wt," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=ot.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(st)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(wt," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");n.className=e?ot.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ot.isFunction(e)?this.each(function(n){ot(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=ot(this),o=e.match(st)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===B||"boolean"===n)&&(this.className&>.set(this,"__className__",this.className),this.className=this.className||e===!1?"":gt.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(wt," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=ot.isFunction(e),this.each(function(r){var o;1===this.nodeType&&(o=i?e.call(this,r,ot(this).val()):e,null==o?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(e){return null==e?"":e+""})),n=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(xt,""):null==r?"":r)}}}),ot.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(ot.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ot.nodeName(n.parentNode,"optgroup"))){if(t=ot(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=ot.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=ot.inArray(ot(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===B?ot.prop(e,n,r):(1===a&&ot.isXMLDoc(e)||(n=n.toLowerCase(),i=ot.attrHooks[n]||(ot.expr.match.bool.test(n)?bt:$t)),r===t?i&&"get"in i&&null!==(o=i.get(e,n))?o:(o=ot.find.attr(e,n),null==o?t:o):null!==r?i&&"set"in i&&(o=i.set(e,r,n))!==t?o:(e.setAttribute(n,r+""),r):(ot.removeAttr(e,n),void 0))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(st);if(o&&1===e.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!ot.support.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!ot.isXMLDoc(e),a&&(n=ot.propFix[n]||n,o=ot.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ct.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),bt={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):e.setAttribute(n,n),n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(e,n){var r=ot.expr.attrHandle[n]||ot.find.attr;ot.expr.attrHandle[n]=function(e,n,i){var o=ot.expr.attrHandle[n],a=i?t:(ot.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return ot.expr.attrHandle[n]=o,a}}),ot.support.optSelected||(ot.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(e,t){return ot.isArray(t)?e.checked=ot.inArray(ot(e).val(),t)>=0:void 0}},ot.support.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St=/^key/,kt=/^(?:mouse|contextmenu)|click/,Tt=/^(?:focusinfocus|focusoutblur)$/,Et=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,n,r,i,o){var a,s,u,c,l,f,p,d,h,m,g,v=gt.get(e);if(v){for(r.handler&&(a=r,r=a.handler,o=a.selector),r.guid||(r.guid=ot.guid++),(c=v.events)||(c=v.events={}),(s=v.handle)||(s=v.handle=function(e){return typeof ot===B||e&&ot.event.triggered===e.type?t:ot.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=(n||"").match(st)||[""],l=n.length;l--;)u=Et.exec(n[l])||[],h=g=u[1],m=(u[2]||"").split(".").sort(),h&&(p=ot.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=ot.event.special[h]||{},f=ot.extend({type:h,origType:g,data:i,handler:r,guid:r.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:m.join(".")},a),(d=c[h])||(d=c[h]=[],d.delegateCount=0,p.setup&&p.setup.call(e,i,m,s)!==!1||e.addEventListener&&e.addEventListener(h,s,!1)),p.add&&(p.add.call(e,f),f.handler.guid||(f.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,f):d.push(f),ot.event.global[h]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,g=gt.hasData(e)&>.get(e);if(g&&(u=g.events)){for(t=(t||"").match(st)||[""],c=t.length;c--;)if(s=Et.exec(t[c])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d){for(f=ot.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));
|
||
a&&!p.length&&(f.teardown&&f.teardown.call(e,h,g.handle)!==!1||ot.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)ot.event.remove(e,d+t[c],n,r,!0);ot.isEmptyObject(u)&&(delete g.handle,gt.remove(e,"events"))}},trigger:function(n,r,i,o){var a,s,u,c,l,f,p,d=[i||V],h=rt.call(n,"type")?n.type:n,m=rt.call(n,"namespace")?n.namespace.split("."):[];if(s=u=i=i||V,3!==i.nodeType&&8!==i.nodeType&&!Tt.test(h+ot.event.triggered)&&(h.indexOf(".")>=0&&(m=h.split("."),h=m.shift(),m.sort()),l=h.indexOf(":")<0&&"on"+h,n=n[ot.expando]?n:new ot.Event(h,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:ot.makeArray(r,[n]),p=ot.event.special[h]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!ot.isWindow(i)){for(c=p.delegateType||h,Tt.test(c+h)||(s=s.parentNode);s;s=s.parentNode)d.push(s),u=s;u===(i.ownerDocument||V)&&d.push(u.defaultView||u.parentWindow||e)}for(a=0;(s=d[a++])&&!n.isPropagationStopped();)n.type=a>1?c:p.bindType||h,f=(gt.get(s,"events")||{})[n.type]&>.get(s,"handle"),f&&f.apply(s,r),f=l&&s[l],f&&ot.acceptData(s)&&f.apply&&f.apply(s,r)===!1&&n.preventDefault();return n.type=h,o||n.isDefaultPrevented()||p._default&&p._default.apply(d.pop(),r)!==!1||!ot.acceptData(i)||l&&ot.isFunction(i[h])&&!ot.isWindow(i)&&(u=i[l],u&&(i[l]=null),ot.event.triggered=h,i[h](),ot.event.triggered=t,u&&(i[l]=u)),n.result}},dispatch:function(e){e=ot.event.fix(e);var n,r,i,o,a,s=[],u=et.call(arguments),c=(gt.get(this,"events")||{})[e.type]||[],l=ot.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(s=ot.event.handlers.call(this,e,c),n=0;(o=s[n++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,r=0;(a=o.handlers[r++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(a.namespace))&&(e.handleObj=a,e.data=a.data,i=((ot.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u),i!==t&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,c=e.target;if(u&&c.nodeType&&(!e.button||"click"!==e.type))for(;c!==this;c=c.parentNode||this)if(c.disabled!==!0||"click"!==e.type){for(i=[],r=0;u>r;r++)a=n[r],o=a.selector+" ",i[o]===t&&(i[o]=a.needsContext?ot(o,this).index(c)>=0:ot.find(o,this,null,[c]).length),i[o]&&i.push(a);i.length&&s.push({elem:c,handlers:i})}return u<n.length&&s.push({elem:this,handlers:n.slice(u)}),s},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(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,a=n.button;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||V,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[ot.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=kt.test(i)?this.mouseHooks:St.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ot.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=V),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==u()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===u()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&ot.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return ot.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?ot.event.trigger(i,null,t):ot.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},ot.Event=function(e,t){return this instanceof ot.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?a:s):this.type=e,t&&ot.extend(this,t),this.timeStamp=e&&e.timeStamp||ot.now(),this[ot.expando]=!0,void 0):new ot.Event(e,t)},ot.Event.prototype={isDefaultPrevented:s,isPropagationStopped:s,isImmediatePropagationStopped:s,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=a,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=a,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=a,this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ot.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!ot.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),ot.support.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){ot.event.simulate(t,e.target,ot.event.fix(e),!0)};ot.event.special[t]={setup:function(){0===n++&&V.addEventListener(e,r,!0)},teardown:function(){0===--n&&V.removeEventListener(e,r,!0)}}}),ot.fn.extend({on:function(e,n,r,i,o){var a,u;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=s;else if(!i)return this;return 1===o&&(a=i,i=function(e){return ot().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ot(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=s),this.each(function(){ot.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){ot.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ot.event.trigger(e,t,n,!0):void 0}});var At=/^.[^:#\[\.,]*$/,Nt=/^(?:parents|prev(?:Until|All))/,Dt=ot.expr.match.needsContext,Ot={children:!0,contents:!0,next:!0,prev:!0};ot.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;i>t;t++)if(ot.contains(r[t],this))return!0}));for(t=0;i>t;t++)ot.find(e,r[t],n);return n=this.pushStack(i>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=ot(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(ot.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(l(this,e||[],!0))},filter:function(e){return this.pushStack(l(this,e||[],!1))},is:function(e){return!!l(this,"string"==typeof e&&Dt.test(e)?ot(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Dt.test(e)||"string"!=typeof e?ot(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?ot.unique(o):o)},index:function(e){return e?"string"==typeof e?tt.call(ot(e),this[0]):tt.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?ot(e,t):ot.makeArray(e&&e.nodeType?[e]:e),r=ot.merge(this.get(),n);return this.pushStack(ot.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ot.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ot.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ot.dir(e,"parentNode",n)},next:function(e){return c(e,"nextSibling")},prev:function(e){return c(e,"previousSibling")},nextAll:function(e){return ot.dir(e,"nextSibling")},prevAll:function(e){return ot.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ot.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ot.dir(e,"previousSibling",n)},siblings:function(e){return ot.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ot.sibling(e.firstChild)},contents:function(e){return e.contentDocument||ot.merge([],e.childNodes)}},function(e,t){ot.fn[e]=function(n,r){var i=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&(Ot[e]||ot.unique(i),Nt.test(e)&&i.reverse()),this.pushStack(i)}}),ot.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ot.find.matchesSelector(r,e)?[r]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){for(var i=[],o=r!==t;(e=e[n])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ot(e).is(r))break;i.push(e)}return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Pt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jt=/<([\w:]+)/,Mt=/<|&#?\w+;/,It=/<(?:script|style|link)/i,Ft=/^(?:checkbox|radio)$/i,Lt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/^$|\/(?:java|ecma)script/i,qt=/^true\/(.*)/,_t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Rt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Rt.optgroup=Rt.option,Rt.tbody=Rt.tfoot=Rt.colgroup=Rt.caption=Rt.thead,Rt.th=Rt.td,ot.fn.extend({text:function(e){return ot.access(this,function(e){return e===t?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||V).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?ot.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||ot.cleanData(g(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&h(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ot.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ot.clone(this,e,t)})},html:function(e){return ot.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof e&&!It.test(e)&&!Rt[(jt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Pt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(ot.cleanData(g(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=ot.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),ot(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=K.apply([],e);var r,i,o,a,s,u,c=0,l=this.length,f=this,h=l-1,m=e[0],v=ot.isFunction(m);if(v||!(1>=l||"string"!=typeof m||ot.support.checkClone)&&Lt.test(m))return this.each(function(r){var i=f.eq(r);v&&(e[0]=m.call(this,r,i.html())),i.domManip(e,t,n)});if(l&&(r=ot.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=ot.map(g(r,"script"),p),a=o.length;l>c;c++)s=r,c!==h&&(s=ot.clone(s,!0,!0),a&&ot.merge(o,g(s,"script"))),t.call(this[c],s,c);if(a)for(u=o[o.length-1].ownerDocument,ot.map(o,d),c=0;a>c;c++)s=o[c],Ht.test(s.type||"")&&!gt.access(s,"globalEval")&&ot.contains(u,s)&&(s.src?ot._evalUrl(s.src):ot.globalEval(s.textContent.replace(_t,"")))}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ot.fn[e]=function(e){for(var n,r=[],i=ot(e),o=i.length-1,a=0;o>=a;a++)n=a===o?this:this.clone(!0),ot(i[a])[t](n),Z.apply(r,n.get());return this.pushStack(r)}}),ot.extend({clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=ot.contains(e.ownerDocument,e);if(!(ot.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(a=g(s),o=g(e),r=0,i=o.length;i>r;r++)v(o[r],a[r]);if(t)if(n)for(o=o||g(e),a=a||g(s),r=0,i=o.length;i>r;r++)m(o[r],a[r]);else m(e,s);return a=g(s,"script"),a.length>0&&h(a,!u&&g(e,"script")),s},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,c,l=0,f=e.length,p=t.createDocumentFragment(),d=[];f>l;l++)if(i=e[l],i||0===i)if("object"===ot.type(i))ot.merge(d,i.nodeType?[i]:i);else if(Mt.test(i)){for(o=o||p.appendChild(t.createElement("div")),a=(jt.exec(i)||["",""])[1].toLowerCase(),s=Rt[a]||Rt._default,o.innerHTML=s[1]+i.replace(Pt,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;ot.merge(d,o.childNodes),o=p.firstChild,o.textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",l=0;i=d[l++];)if((!r||-1===ot.inArray(i,r))&&(u=ot.contains(i.ownerDocument,i),o=g(p.appendChild(i),"script"),u&&h(o),n))for(c=0;i=o[c++];)Ht.test(i.type||"")&&n.push(i);return p},cleanData:function(e){for(var n,r,o,a,s,u,c=ot.event.special,l=0;(r=e[l])!==t;l++){if(i.accepts(r)&&(s=r[gt.expando],s&&(n=gt.cache[s]))){if(o=Object.keys(n.events||{}),o.length)for(u=0;(a=o[u])!==t;u++)c[a]?ot.event.remove(r,a):ot.removeEvent(r,a,n.handle);gt.cache[s]&&delete gt.cache[s]}delete mt.cache[r[mt.expando]]}},_evalUrl:function(e){return ot.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),ot.fn.extend({wrapAll:function(e){var t;return ot.isFunction(e)?this.each(function(t){ot(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ot(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ot.isFunction(e)?this.each(function(t){ot(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ot(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ot.isFunction(e);return this.each(function(n){ot(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}});var Ut,Bt,zt=/^(none|table(?!-c[ea]).+)/,Vt=/^margin/,Wt=new RegExp("^("+at+")(.*)$","i"),Xt=new RegExp("^("+at+")(?!px)[a-z%]+$","i"),Qt=new RegExp("^([+-])=("+at+")","i"),Yt={BODY:"block"},Gt={position:"absolute",visibility:"hidden",display:"block"},Jt={letterSpacing:0,fontWeight:400},Kt=["Top","Right","Bottom","Left"],Zt=["Webkit","O","Moz","ms"];ot.fn.extend({css:function(e,n){return ot.access(this,function(e,n,r){var i,o,a={},s=0;if(ot.isArray(n)){for(i=b(e),o=n.length;o>s;s++)a[n[s]]=ot.css(e,n[s],!1,i);return a}return r!==t?ot.style(e,n,r):ot.css(e,n)},e,n,arguments.length>1)},show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){$(this)?ot(this).show():ot(this).hide()})}}),ot.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ut(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=ot.camelCase(n),c=e.style;return n=ot.cssProps[u]||(ot.cssProps[u]=y(c,u)),s=ot.cssHooks[n]||ot.cssHooks[u],r===t?s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:c[n]:(a=typeof r,"string"===a&&(o=Qt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(ot.css(e,n)),a="number"),null==r||"number"===a&&isNaN(r)||("number"!==a||ot.cssNumber[u]||(r+="px"),ot.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(c[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t||(c[n]=r)),void 0)}},css:function(e,n,r,i){var o,a,s,u=ot.camelCase(n);return n=ot.cssProps[u]||(ot.cssProps[u]=y(e.style,u)),s=ot.cssHooks[n]||ot.cssHooks[u],s&&"get"in s&&(o=s.get(e,!0,r)),o===t&&(o=Ut(e,n,i)),"normal"===o&&n in Jt&&(o=Jt[n]),""===r||r?(a=parseFloat(o),r===!0||ot.isNumeric(a)?a||0:o):o}}),Ut=function(e,n,r){var i,o,a,s=r||b(e),u=s?s.getPropertyValue(n)||s[n]:t,c=e.style;return s&&(""!==u||ot.contains(e.ownerDocument,e)||(u=ot.style(e,n)),Xt.test(u)&&Vt.test(n)&&(i=c.width,o=c.minWidth,a=c.maxWidth,c.minWidth=c.maxWidth=c.width=u,u=s.width,c.width=i,c.minWidth=o,c.maxWidth=a)),u},ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&zt.test(ot.css(e,"display"))?ot.swap(e,Gt,function(){return S(e,t,r)}):S(e,t,r):void 0},set:function(e,n,r){var i=r&&b(e);return x(e,n,r?C(e,t,r,ot.support.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,i),i):0)}}}),ot(function(){ot.support.reliableMarginRight||(ot.cssHooks.marginRight={get:function(e,t){return t?ot.swap(e,{display:"inline-block"},Ut,[e,"marginRight"]):void 0}}),!ot.support.pixelPosition&&ot.fn.position&&ot.each(["top","left"],function(e,t){ot.cssHooks[t]={get:function(e,n){return n?(n=Ut(e,t),Xt.test(n)?ot(e).position()[t]+"px":n):void 0}}})}),ot.expr&&ot.expr.filters&&(ot.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)}),ot.each({margin:"",padding:"",border:"Width"},function(e,t){ot.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+Kt[r]+t]=o[r]||o[r-2]||o[0];return i}},Vt.test(e)||(ot.cssHooks[e+t].set=x)});var en=/%20/g,tn=/\[\]$/,nn=/\r?\n/g,rn=/^(?:submit|button|image|reset|file)$/i,on=/^(?:input|select|textarea|keygen)/i;ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ot.prop(this,"elements");return e?ot.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ot(this).is(":disabled")&&on.test(this.nodeName)&&!rn.test(e)&&(this.checked||!Ft.test(e))}).map(function(e,t){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(e){return{name:t.name,value:e.replace(nn,"\r\n")}}):{name:t.name,value:n.replace(nn,"\r\n")}}).get()}}),ot.param=function(e,n){var r,i=[],o=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(e)||e.jquery&&!ot.isPlainObject(e))ot.each(e,function(){o(this.name,this.value)});else for(r in e)E(r,e[r],n,o);return i.join("&").replace(en,"+")},ot.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(e,t){ot.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ot.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var an,sn,un=ot.now(),cn=/\?/,ln=/#.*$/,fn=/([?&])_=[^&]*/,pn=/^(.*?):[ \t]*([^\r\n]*)$/gm,dn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,hn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,vn=ot.fn.load,yn={},$n={},bn="*/".concat("*");try{sn=z.href}catch(wn){sn=V.createElement("a"),sn.href="",sn=sn.href}an=gn.exec(sn.toLowerCase())||[],ot.fn.load=function(e,n,r){if("string"!=typeof e&&vn)return vn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u),e=e.slice(0,u)),ot.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(o="POST"),s.length>0&&ot.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){a=arguments,s.html(i?ot("<div>").append(ot.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,a||[e.responseText,t,e])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:sn,type:"GET",isLocal:dn.test(an[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bn,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":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?D(D(e,ot.ajaxSettings),t):D(ot.ajaxSettings,e)},ajaxPrefilter:A(yn),ajaxTransport:A($n),ajax:function(e,n){function r(e,n,r,s){var c,f,y,$,w,C=n;2!==b&&(b=2,u&&clearTimeout(u),i=t,a=s||"",x.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&($=O(p,x,r)),$=P(p,$,x,c),c?(p.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(ot.lastModified[o]=w),w=x.getResponseHeader("etag"),w&&(ot.etag[o]=w)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=$.state,f=$.data,y=$.error,c=!y)):(y=C,(e||!C)&&(C="error",0>e&&(e=0))),x.status=e,x.statusText=(n||C)+"",c?m.resolveWith(d,[f,C,x]):m.rejectWith(d,[x,C,y]),x.statusCode(v),v=t,l&&h.trigger(c?"ajaxSuccess":"ajaxError",[x,p,c?f:y]),g.fireWith(d,[x,C]),l&&(h.trigger("ajaxComplete",[x,p]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,u,c,l,f,p=ot.ajaxSetup({},n),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?ot(d):ot.event,m=ot.Deferred(),g=ot.Callbacks("once memory"),v=p.statusCode||{},y={},$={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=pn.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=$[n]=$[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return i&&i.abort(t),r(0,t),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,p.url=((e||p.url||sn)+"").replace(ln,"").replace(mn,an[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ot.trim(p.dataType||"*").toLowerCase().match(st)||[""],null==p.crossDomain&&(c=gn.exec(p.url.toLowerCase()),p.crossDomain=!(!c||c[1]===an[1]&&c[2]===an[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(an[3]||("http:"===an[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ot.param(p.data,p.traditional)),N(yn,p,n,x),2===b)return x;l=p.global,l&&0===ot.active++&&ot.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!hn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(cn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=fn.test(o)?o.replace(fn,"$1_="+un++):o+(cn.test(o)?"&":"?")+"_="+un++)),p.ifModified&&(ot.lastModified[o]&&x.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&x.setRequestHeader("If-None-Match",ot.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+bn+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)x.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(p.beforeSend.call(d,x,p)===!1||2===b))return x.abort();w="abort";for(f in{success:1,error:1,complete:1})x[f](p[f]);if(i=N($n,p,n,x)){x.readyState=1,l&&h.trigger("ajaxSend",[x,p]),p.async&&p.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},p.timeout));try{b=1,i.send(y,r)}catch(C){if(!(2>b))throw C;r(-1,C)}}else r(-1,"No Transport");return x},getJSON:function(e,t,n){return ot.get(e,t,n,"json")},getScript:function(e,n){return ot.get(e,t,n,"script")}}),ot.each(["get","post"],function(e,n){ot[n]=function(e,r,i,o){return ot.isFunction(r)&&(o=o||i,i=r,r=t),ot.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ot.globalEval(e),e}}}),ot.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ot.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=ot("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),V.head.appendChild(t[0])},abort:function(){n&&n()}}}});var xn=[],Cn=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=xn.pop()||ot.expando+"_"+un++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Cn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Cn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=ot.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Cn,"$1"+o):n.jsonp!==!1&&(n.url+=(cn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||ot.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,xn.push(o)),s&&ot.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),ot.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Sn=ot.ajaxSettings.xhr(),kn={0:200,1223:204},Tn=0,En={};e.ActiveXObject&&ot(e).on("unload",function(){for(var e in En)En[e]();En=t}),ot.support.cors=!!Sn&&"withCredentials"in Sn,ot.support.ajax=Sn=!!Sn,ot.ajaxTransport(function(e){var n;return ot.support.cors||Sn&&!e.crossDomain?{send:function(r,i){var o,a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)s.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(delete En[a],n=s.onload=s.onerror=null,"abort"===e?s.abort():"error"===e?i(s.status||404,s.statusText):i(kn[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:t,s.getAllResponseHeaders()))}},s.onload=n(),s.onerror=n("error"),n=En[a=Tn++]=n("abort"),s.send(e.hasContent&&e.data||null)},abort:function(){n&&n()}}:void 0});var An,Nn,Dn=/^(?:toggle|show|hide)$/,On=new RegExp("^(?:([+-])=|)("+at+")([a-z%]*)$","i"),Pn=/queueHooks$/,jn=[L],Mn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=On.exec(t),o=i&&i[3]||(ot.cssNumber[e]?"":"px"),a=(ot.cssNumber[e]||"px"!==o&&+r)&&On.exec(ot.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,ot.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};ot.Animation=ot.extend(I,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Mn[n]=Mn[n]||[],Mn[n].unshift(t)},prefilter:function(e,t){t?jn.unshift(e):jn.push(e)}}),ot.Tween=H,H.prototype={constructor:H,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.pos=t=this.options.duration?ot.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ot.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ot.fx.step[e.prop]?ot.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ot.cssProps[e.prop]]||ot.cssHooks[e.prop])?ot.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ot.each(["toggle","show","hide"],function(e,t){var n=ot.fn[t];ot.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(q(t,!0),e,r,i)}}),ot.fn.extend({fadeTo:function(e,t,n,r){return this.filter($).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ot.isEmptyObject(e),o=ot.speed(t,n,r),a=function(){var t=I(this,ot.extend({},e),o);(i||gt.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=ot.timers,a=gt.get(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Pn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&ot.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=gt.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ot.timers,a=r?r.length:0;for(n.finish=!0,ot.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ot.each({slideDown:q("show"),slideUp:q("hide"),slideToggle:q("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ot.speed=function(e,t,n){var r=e&&"object"==typeof e?ot.extend({},e):{complete:n||!n&&t||ot.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ot.isFunction(t)&&t};return r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ot.timers=[],ot.fx=H.prototype.init,ot.fx.tick=function(){var e,n=ot.timers,r=0;for(An=ot.now();r<n.length;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||ot.fx.stop(),An=t},ot.fx.timer=function(e){e()&&ot.timers.push(e)&&ot.fx.start()},ot.fx.interval=13,ot.fx.start=function(){Nn||(Nn=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(Nn),Nn=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fx.step={},ot.expr&&ot.expr.filters&&(ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem
|
||
}).length}),ot.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var n,r,i=this[0],o={top:0,left:0},a=i&&i.ownerDocument;if(a)return n=a.documentElement,ot.contains(n,i)?(typeof i.getBoundingClientRect!==B&&(o=i.getBoundingClientRect()),r=_(a),{top:o.top+r.pageYOffset-n.clientTop,left:o.left+r.pageXOffset-n.clientLeft}):o},ot.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c,l=ot.css(e,"position"),f=ot(e),p={};"static"===l&&(e.style.position="relative"),s=f.offset(),o=ot.css(e,"top"),u=ot.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ot.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},ot.fn.extend({position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ot.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(r=e.offset()),r.top+=ot.css(e[0],"borderTopWidth",!0),r.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-ot.css(n,"marginTop",!0),left:t.left-r.left-ot.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||W;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||W})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var i="pageYOffset"===r;ot.fn[n]=function(o){return ot.access(this,function(n,o,a){var s=_(n);return a===t?s?s[r]:n[o]:(s?s.scrollTo(i?e.pageXOffset:a,i?a:e.pageYOffset):n[o]=a,void 0)},n,o,arguments.length,null)}}),ot.each({Height:"height",Width:"width"},function(e,n){ot.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){ot.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return ot.access(this,function(n,r,i){var o;return ot.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?ot.css(n,r,s):ot.style(n,r,i,s)},n,a?i:t,a,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ot:"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot}),"object"==typeof e&&"object"==typeof e.document&&(e.jQuery=e.$=ot)}(window),function(e,t,n){"use strict";function r(e){return function(){var t,n,r=arguments[0],i="["+(e?e+":":"")+r+"] ",o=arguments[1],a=arguments,s=function(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e};for(t=i+o.replace(/\{\d+\}/g,function(e){var t,n=+e.slice(1,-1);return n+2<a.length?(t=a[n+2],"function"==typeof t?t.toString().replace(/ ?\{[\s\S]*$/,""):"undefined"==typeof t?"undefined":"string"!=typeof t?U(t):t):e}),t=t+"\nhttp://errors.angularjs.org/1.2.22/"+(e?e+"/":"")+r,n=2;n<arguments.length;n++)t=t+(2==n?"?":"&")+"p"+(n-2)+"="+encodeURIComponent(s(arguments[n]));return new Error(t)}}function i(e){if(null==e||k(e))return!1;var t=e.length;return 1===e.nodeType&&t?!0:b(e)||Nr(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){var r;if(e)if(C(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r);else if(Nr(e)||i(e))for(r=0;r<e.length;r++)t.call(n,e[r],r);else if(e.forEach&&e.forEach!==o)e.forEach(t,n);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r);return e}function a(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort()}function s(e,t,n){for(var r=a(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function u(e){return function(t,n){e(n,t)}}function c(){for(var e,t=Ar.length;t;){if(t--,e=Ar[t].charCodeAt(0),57==e)return Ar[t]="A",Ar.join("");if(90!=e)return Ar[t]=String.fromCharCode(e+1),Ar.join("");Ar[t]="0"}return Ar.unshift("0"),Ar.join("")}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function f(e){var t=e.$$hashKey;return o(arguments,function(t){t!==e&&o(t,function(t,n){e[n]=t})}),l(e,t),e}function p(e){return parseInt(e,10)}function d(e,t){return f(new(f(function(){},{prototype:e})),t)}function h(){}function m(e){return e}function g(e){return function(){return e}}function v(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function $(e){return null!=e&&"object"==typeof e}function b(e){return"string"==typeof e}function w(e){return"number"==typeof e}function x(e){return"[object Date]"===kr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===kr.call(e)}function k(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function T(e){return e&&e.$evalAsync&&e.$watch}function E(e){return"[object File]"===kr.call(e)}function A(e){return"[object Blob]"===kr.call(e)}function N(e){return e&&C(e.then)}function D(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function O(e,t,n){var r=[];return o(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r}function P(e,t){return-1!=j(e,t)}function j(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function M(e,t){var n=j(e,t);return n>=0&&e.splice(n,1),t}function I(e,t,n,r){if(k(e)||T(e))throw Tr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw Tr("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],$(e)){var i=j(n,e);if(-1!==i)return r[i];n.push(e),r.push(t)}var a;if(Nr(e)){t.length=0;for(var s=0;s<e.length;s++)a=I(e[s],null,n,r),$(e[s])&&(n.push(e[s]),r.push(a)),t.push(a)}else{var u=t.$$hashKey;o(t,function(e,n){delete t[n]});for(var c in e)a=I(e[c],null,n,r),$(e[c])&&(n.push(e[c]),r.push(a)),t[c]=a;l(t,u)}}else t=e,e&&(Nr(e)?t=I(e,[],n,r):x(e)?t=new Date(e.getTime()):S(e)?(t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),t.lastIndex=e.lastIndex):$(e)&&(t=I(e,{},n,r)));return t}function F(e,t){if(Nr(e)){t=t||[];for(var n=0;n<e.length;n++)t[n]=e[n]}else if($(e)){t=t||{};for(var r in e)!hr.call(e,r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(t[r]=e[r])}return t||e}function L(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,a=typeof e,s=typeof t;if(a==s&&"object"==a){if(!Nr(e)){if(x(e))return x(t)&&e.getTime()==t.getTime();if(S(e)&&S(t))return e.toString()==t.toString();if(T(e)||T(t)||k(e)||k(t)||Nr(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!C(e[i])){if(!L(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!C(t[i]))return!1;return!0}if(!Nr(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!L(e[i],t[i]))return!1;return!0}}return!1}function H(e,t,n){return e.concat(Cr.call(t,n))}function q(e,t){return Cr.call(e,t||0)}function _(e,t){var n=arguments.length>2?q(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,n.concat(Cr.call(arguments,0))):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function R(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":T(r)&&(i="$SCOPE"),i}function U(e,t){return"undefined"==typeof e?n:JSON.stringify(e,R,t?" ":null)}function B(e){return b(e)?JSON.parse(e):e}function z(e){if("function"==typeof e)e=!0;else if(e&&0!==e.length){var t=dr(""+e);e=!("f"==t||"0"==t||"false"==t||"no"==t||"n"==t||"[]"==t)}else e=!1;return e}function V(e){e=$r(e).clone();try{e.empty()}catch(t){}var n=3,r=$r("<div>").append(e).html();try{return e[0].nodeType===n?dr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+dr(t)})}catch(t){return dr(r)}}function W(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=W(t[0]),y(n))){var i=y(t[1])?W(t[1]):!0;hr.call(r,n)?Nr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function Q(e){var t=[];return o(e,function(e,n){Nr(e)?o(e,function(e){t.push(G(n,!0)+(e===!0?"":"="+G(e,!0)))}):t.push(G(n,!0)+(e===!0?"":"="+G(e,!0)))}),t.length?t.join("&"):""}function Y(e){return G(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function G(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function J(e,n){function r(e){e&&s.push(e)}var i,a,s=[e],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(t.getElementById(n)),n=n.replace(":","\\:"),e.querySelectorAll&&(o(e.querySelectorAll("."+n),r),o(e.querySelectorAll("."+n+"\\:"),r),o(e.querySelectorAll("["+n+"]"),r))}),o(s,function(e){if(!i){var t=" "+e.className+" ",n=c.exec(t);n?(i=e,a=(n[2]||"").replace(/\s+/g,",")):o(e.attributes,function(t){!i&&u[t.name]&&(i=e,a=t.value)})}}),i&&n(i,a?[a]:[])}function K(n,r){var i=function(){if(n=$r(n),n.injector()){var e=n[0]===t?"document":V(n);throw Tr("btstrpd","App Already Bootstrapped with this Element '{0}'",e)}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.unshift("ng");var i=jt(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),i},a=/^NG_DEFER_BOOTSTRAP!/;return e&&!a.test(e.name)?i():(e.name=e.name.replace(a,""),Er.resumeBootstrap=function(e){o(e,function(e){r.push(e)}),i()},void 0)}function Z(e,t){return t=t||"_",e.replace(Pr,function(e,n){return(n?t:"")+e.toLowerCase()})}function et(){br=e.jQuery,br&&br.fn.on?($r=br,f(br.fn,{scope:Wr.scope,isolateScope:Wr.isolateScope,controller:Wr.controller,injector:Wr.injector,inheritedData:Wr.inheritedData}),lt("remove",!0,!0,!1),lt("empty",!1,!1,!1),lt("html",!1,!1,!0)):$r=ht,Er.element=$r}function tt(e,t,n){if(!e)throw Tr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function nt(e,t,n){return n&&Nr(e)&&(e=e[e.length-1]),tt(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function rt(e,t){if("hasOwnProperty"===e)throw Tr("badname","hasOwnProperty is not a valid {0} name",t)}function it(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?_(o,e):e}function ot(e){var t=e[0],n=e[e.length-1];if(t===n)return $r(t);var r=t,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return $r(i)}function at(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r){return function(){return t[r||"push"]([e,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var t=[],i=[],s=e("$injector","invoke"),u={_invokeQueue:t,_runBlocks:i,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:s,run:function(e){return i.push(e),this}};return a&&s(a),u})}})}function st(t){f(t,{bootstrap:K,copy:I,extend:f,equals:L,element:$r,forEach:o,injector:jt,noop:h,bind:_,toJson:U,fromJson:B,identity:m,isUndefined:v,isDefined:y,isString:b,isFunction:C,isObject:$,isNumber:w,isElement:D,isArray:Nr,version:jr,isDate:x,lowercase:dr,uppercase:mr,callbacks:{counter:0},$$minErr:r,$$csp:Or}),wr=at(e);try{wr("ngLocale")}catch(n){wr("ngLocale",[]).provider("$locale",nn)}wr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Nn}),e.provider("$compile",_t).directive({a:Ni,input:_i,textarea:_i,form:ji,script:xo,select:ko,style:Eo,option:To,ngBind:Ki,ngBindHtml:eo,ngBindTemplate:Zi,ngClass:to,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Mi,ngHide:go,ngIf:so,ngInclude:uo,ngInit:lo,ngNonBindable:fo,ngPluralize:po,ngRepeat:ho,ngShow:mo,ngStyle:vo,ngSwitch:yo,ngSwitchWhen:$o,ngSwitchDefault:bo,ngOptions:So,ngTransclude:wo,ngModel:Wi,ngList:Yi,ngChange:Xi,required:Qi,ngRequired:Qi,ngValue:Ji}).directive({ngInclude:co}).directive(Di).directive(ao),e.provider({$anchorScroll:Mt,$animate:ti,$browser:Lt,$cacheFactory:Ht,$controller:Bt,$document:zt,$exceptionHandler:Vt,$filter:_n,$interpolate:en,$interval:tn,$http:Gt,$httpBackend:Kt,$location:gn,$log:vn,$parse:Sn,$rootScope:An,$q:kn,$sce:Mn,$sceDelegate:jn,$sniffer:In,$templateCache:qt,$timeout:Fn,$window:qn,$$rAF:En,$$asyncCallback:It})}])}function ut(){return++Ir}function ct(e){return e.replace(Hr,function(e,t,n,r){return r?n.toUpperCase():n}).replace(qr,"Moz$1")}function lt(e,t,n,r){function i(e){var i,a,s,u,c,l,f,p=n&&e?[this.filter(e)]:[this],d=t;if(!r||null!=e)for(;p.length;)for(i=p.shift(),a=0,s=i.length;s>a;a++)for(u=$r(i[a]),d?u.triggerHandler("$destroy"):d=!d,c=0,l=(f=u.children()).length;l>c;c++)p.push(br(f[c]));return o.apply(this,arguments)}var o=br.fn[e];o=o.$original||o,i.$original=o,br.fn[e]=i}function ft(e){return!Ur.test(e)}function pt(e,t){var n,r,i,o,a,s,u=t.createDocumentFragment(),c=[];if(ft(e))c.push(t.createTextNode(e));else{for(n=u.appendChild(t.createElement("div")),r=(Br.exec(e)||["",""])[1].toLowerCase(),i=Vr[r]||Vr._default,n.innerHTML="<div> </div>"+i[1]+e.replace(zr,"<$1></$2>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;s>a;++a)c.push(n.childNodes[a]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",c}function dt(e,n){n=n||t;var r;return(r=Rr.exec(e))?[n.createElement(r[1])]:pt(e,n)}function ht(e){if(e instanceof ht)return e;if(b(e)&&(e=Dr(e)),!(this instanceof ht)){if(b(e)&&"<"!=e.charAt(0))throw _r("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ht(e)}if(b(e)){St(this,dt(e));var n=$r(t.createDocumentFragment());n.append(this)}else St(this,e)}function mt(e){return e.cloneNode(!0)}function gt(e){yt(e);for(var t=0,n=e.childNodes||[];t<n.length;t++)gt(n[t])}function vt(e,t,n,r){if(y(r))throw _r("offargs","jqLite#off() does not support the `selector` argument");var i=$t(e,"events"),a=$t(e,"handle");a&&(v(t)?o(i,function(t,n){Lr(e,n,t),delete i[n]}):o(t.split(" "),function(t){v(n)?(Lr(e,t,i[t]),delete i[t]):M(i[t]||[],n)}))}function yt(e,t){var r=e.ng339,i=Mr[r];if(i){if(t)return delete Mr[r].data[t],void 0;i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),vt(e)),delete Mr[r],e.ng339=n}}function $t(e,t,n){var r=e.ng339,i=Mr[r||-1];return y(n)?(i||(e.ng339=r=ut(),i=Mr[r]={}),i[t]=n,void 0):i&&i[t]}function bt(e,t,n){var r=$t(e,"data"),i=y(n),o=!i&&y(t),a=o&&!$(t);if(r||a||$t(e,"data",r={}),i)r[t]=n;else{if(!o)return r;if(a)return r&&r[t];f(r,t)}}function wt(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function xt(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Dr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Dr(t)+" "," ")))})}function Ct(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Dr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Dr(n))}}function St(e,t){if(t){t=t.nodeName||!y(t.length)||k(t)?[t]:t;for(var n=0;n<t.length;n++)e.push(t[n])}}function kt(e,t){return Tt(e,"$"+(t||"ngController")+"Controller")}function Tt(e,t,r){9==e.nodeType&&(e=e.documentElement);for(var i=Nr(t)?t:[t];e;){for(var o=0,a=i.length;a>o;o++)if((r=$r.data(e,i[o]))!==n)return r;e=e.parentNode||11===e.nodeType&&e.host}}function Et(e){for(var t=0,n=e.childNodes;t<n.length;t++)gt(n[t]);for(;e.firstChild;)e.removeChild(e.firstChild)}function At(e,t){var n=Xr[t.toLowerCase()];return n&&Qr[e.nodeName]&&n}function Nt(e,n){var r=function(r,i){if(r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),r.target||(r.target=r.srcElement||t),v(r.defaultPrevented)){var a=r.preventDefault;r.preventDefault=function(){r.defaultPrevented=!0,a.call(r)},r.defaultPrevented=!1}r.isDefaultPrevented=function(){return r.defaultPrevented||r.returnValue===!1};var s=F(n[i||r.type]||[]);o(s,function(t){t.call(e,r)}),8>=yr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=e,r}function Dt(e,t){var r,i=typeof e;return"function"==i||"object"==i&&null!==e?"function"==typeof(r=e.$$hashKey)?r=e.$$hashKey():r===n&&(r=e.$$hashKey=(t||c)()):r=e,i+":"+r}function Ot(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Pt(e){var t,n,r,i;return"function"==typeof e?(t=e.$inject)||(t=[],e.length&&(n=e.toString().replace(Kr,""),r=n.match(Yr),o(r[1].split(Gr),function(e){e.replace(Jr,function(e,n,r){t.push(r)})})),e.$inject=t):Nr(e)?(i=e.length-1,nt(e[i],"fn"),t=e.slice(0,i)):nt(e,"fn",!0),t}function jt(e){function t(e){return function(t,n){return $(t)?(o(t,u(e)),void 0):e(t,n)}}function n(e,t){if(rt(e,"service"),(C(t)||Nr(t))&&(t=w.instantiate(t)),!t.$get)throw Zr("pget","Provider '{0}' must define $get factory method.",e);return y[e+d]=t}function r(e,t){return n(e,{$get:t})}function i(e,t){return r(e,["$injector",function(e){return e.instantiate(t)}])}function a(e,t){return r(e,g(t))}function s(e,t){rt(e,"constant"),y[e]=t,x[e]=t}function c(e,t){var n=w.get(e+d),r=n.$get;n.$get=function(){var e=S.invoke(r,n);return S.invoke(t,null,{$delegate:e})}}function l(e){var t,n,r,i,a=[];return o(e,function(e){if(!v.get(e)){v.put(e,!0);try{if(b(e))for(t=wr(e),a=a.concat(l(t.requires)).concat(t._runBlocks),n=t._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],s=w.get(o[0]);s[o[1]].apply(s,o[2])}else C(e)?a.push(w.invoke(e)):Nr(e)?a.push(w.invoke(e)):nt(e,"module")}catch(u){throw Nr(e)&&(e=e[e.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Zr("modulerr","Failed to instantiate module {0} due to:\n{1}",e,u.stack||u.message||u)}}}),a}function f(e,t){function n(n){if(e.hasOwnProperty(n)){if(e[n]===p)throw Zr("cdep","Circular dependency found: {0}",n+" <- "+m.join(" <- "));return e[n]}try{return m.unshift(n),e[n]=p,e[n]=t(n)}catch(r){throw e[n]===p&&delete e[n],r}finally{m.shift()}}function r(e,t,r){var i,o,a,s=[],u=Pt(e);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw Zr("itkn","Incorrect injection token! Expected service name as string, got {0}",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return Nr(e)&&(e=e[i]),e.apply(t,s)}function i(e,t){var n,i,o=function(){};return o.prototype=(Nr(e)?e[e.length-1]:e).prototype,n=new o,i=r(e,n,t),$(i)||C(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Pt,has:function(t){return y.hasOwnProperty(t+d)||e.hasOwnProperty(t)}}}var p={},d="Provider",m=[],v=new Ot([],!0),y={$provide:{provider:t(n),factory:t(r),service:t(i),value:t(a),constant:t(s),decorator:c}},w=y.$injector=f(y,function(){throw Zr("unpr","Unknown provider: {0}",m.join(" <- "))}),x={},S=x.$injector=f(x,function(e){var t=w.get(e+d);return S.invoke(t.$get,t)});return o(l(e),function(e){S.invoke(e||h)}),S}function Mt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return o(e,function(e){t||"a"!==dr(e.nodeName)||(t=e)}),t}function a(){var e,r=n.hash();r?(e=s.getElementById(r))?e.scrollIntoView():(e=i(s.getElementsByName(r)))?e.scrollIntoView():"top"===r&&t.scrollTo(0,0):t.scrollTo(0,0)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function It(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Ft(e,t,r,i){function a(e){try{e.apply(null,q(arguments,1))}finally{if(y--,0===y)for(;$.length;)try{$.pop()()}catch(t){r.error(t)}}}function s(e,t){!function n(){o(x,function(e){e()}),w=t(n,e)}()}function u(){k=null,C!=c.url()&&(C=c.url(),o(T,function(e){e(c.url())}))}var c=this,l=t[0],f=e.location,p=e.history,d=e.setTimeout,m=e.clearTimeout,g={};c.isMock=!1;var y=0,$=[];c.$$completeOutstandingRequest=a,c.$$incOutstandingRequestCount=function(){y++},c.notifyWhenNoOutstandingRequests=function(e){o(x,function(e){e()}),0===y?e():$.push(e)};var w,x=[];c.addPollFn=function(e){return v(w)&&s(100,d),x.push(e),e};var C=f.href,S=t.find("base"),k=null;c.url=function(t,n){if(f!==e.location&&(f=e.location),p!==e.history&&(p=e.history),t){if(C==t)return;return C=t,i.history?n?p.replaceState(null,"",t):(p.pushState(null,"",t),S.attr("href",S.attr("href"))):(k=t,n?f.replace(t):f.href=t),c}return k||f.href.replace(/%27/g,"'")};var T=[],E=!1;c.onUrlChange=function(t){return E||(i.history&&$r(e).on("popstate",u),i.hashchange?$r(e).on("hashchange",u):c.addPollFn(u),E=!0),T.push(t),t},c.baseHref=function(){var e=S.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var A={},N="",D=c.baseHref();c.cookies=function(e,t){var i,o,a,s,u;if(!e){if(l.cookie!==N)for(N=l.cookie,o=N.split("; "),A={},s=0;s<o.length;s++)a=o[s],u=a.indexOf("="),u>0&&(e=unescape(a.substring(0,u)),A[e]===n&&(A[e]=unescape(a.substring(u+1))));return A}t===n?l.cookie=escape(e)+"=;path="+D+";expires=Thu, 01 Jan 1970 00:00:00 GMT":b(t)&&(i=(l.cookie=escape(e)+"="+escape(t)+";path="+D).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(e,t){var n;return y++,n=d(function(){delete g[n],a(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],m(e),a(h),!0):!1}}function Lt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Ft(e,r,t,n)}]}function Ht(){this.$get=function(){function e(e,n){function i(e){e!=p&&(d?d==e&&(d=e.n):d=e,o(e.n,e.p),o(e,p),p=e,p.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},p=null,d=null;return t[e]={put:function(e,t){if(c<Number.MAX_VALUE){var n=l[e]||(l[e]={key:e});i(n)}if(!v(t))return e in u||a++,u[e]=t,a>c&&this.remove(d.key),t},get:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;t==p&&(p=t.p),t==d&&(d=t.n),o(t.n,t.p),delete l[e]}delete u[e],a--},removeAll:function(){u={},a=0,l={},p=d=null},destroy:function(){u=null,s=null,l=null,delete t[e]},info:function(){return f({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function qt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function _t(e,r){var i={},a="Directive",s=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,c=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,l=/^(on[a-z]+|formaction)$/;this.directive=function p(t,n){return rt(t,"directive"),b(t)?(tt(n,"directiveFactory"),i.hasOwnProperty(t)||(i[t]=[],e.factory(t+a,["$injector","$exceptionHandler",function(e,n){var r=[];return o(i[t],function(i,o){try{var a=e.invoke(i);C(a)?a={compile:g(a)}:!a.compile&&a.link&&(a.compile=g(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||t,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"A",r.push(a)}catch(s){n(s)}}),r}])),i[t].push(n)):o(t,u(p)),this},this.aHrefSanitizationWhitelist=function(e){return y(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,u,p,h,g,v,y,w,x,S,k){function T(e,t,n,r,i){e instanceof $r||(e=$r(e)),o(e,function(t,n){3==t.nodeType&&t.nodeValue.match(/\S+/)&&(e[n]=t=$r(t).wrap("<span></span>").parent()[0])});var a=A(e,t,e,n,r,i);return E(e,"ng-scope"),function(t,n,r,i){tt(t,"scope");var s=n?Wr.clone.call(e):e;o(r,function(e,t){s.data("$"+t+"Controller",e)});for(var u=0,c=s.length;c>u;u++){var l=s[u],f=l.nodeType;(1===f||9===f)&&s.eq(u).data("$scope",t)}return n&&n(s,t),a&&a(t,s,s,i),s}}function E(e,t){try{e.addClass(t)}catch(n){}}function A(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,c,l,f,p,d,m=r.length,g=new Array(m);for(l=0;m>l;l++)g[l]=r[l];for(l=0,p=0,f=h.length;f>l;p++)u=g[p],a=h[l++],s=h[l++],a?(a.scope?(c=e.$new(),$r.data(u,"$scope",c)):c=e,d=a.transcludeOnThisElement?N(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?N(e,t):null,a(s,c,u,i,d)):s&&s(e,u.childNodes,n,o)}for(var u,c,l,f,p,d,h=[],m=0;m<e.length;m++)u=new Y,c=D(e[m],[],u,0===m?i:n,o),l=c.length?j(c,e[m],u,t,r,null,[],[],a):null,l&&l.scope&&E(u.$$element,"ng-scope"),p=l&&l.terminal||!(f=e[m].childNodes)||!f.length?null:A(f,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),h.push(l,p),d=d||l||p,a=null;return d?s:null}function N(e,t,n){var r=function(r,i,o){var a=!1;r||(r=e.$new(),r.$$transcluded=!0,a=!0);var s=t(r,i,o,n);return a&&s.on("$destroy",function(){r.$destroy()}),s};return r}function D(e,t,n,r,i){var o,a,u=e.nodeType,l=n.$attr;switch(u){case 1:I(t,Rt(xr(e).toLowerCase()),"E",r,i);for(var f,p,d,h,m,g,v=e.attributes,y=0,$=v&&v.length;$>y;y++){var w=!1,x=!1;if(f=v[y],!yr||yr>=8||f.specified){p=f.name,m=Dr(f.value),h=Rt(p),(g=et.test(h))&&(p=Z(h.substr(6),"-"));var C=h.replace(/(Start|End)$/,"");h===C+"Start"&&(w=p,x=p.substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),d=Rt(p.toLowerCase()),l[d]=p,(g||!n.hasOwnProperty(d))&&(n[d]=m,At(e,d)&&(n[d]=!0)),W(e,t,m,d),I(t,d,"A",r,i,w,x)}}if(a=e.className,b(a)&&""!==a)for(;o=c.exec(a);)d=Rt(o[2]),I(t,d,"C",r,i)&&(n[d]=Dr(o[3])),a=a.substr(o.index+o[0].length);break;case 3:B(t,e.nodeValue);break;case 8:try{o=s.exec(e.nodeValue),o&&(d=Rt(o[1]),I(t,d,"M",r,i)&&(n[d]=Dr(o[2])))}catch(S){}}return t.sort(R),t}function O(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw ni("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1==e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return $r(r)}function P(e,t,n){return function(r,i,o,a,s){return i=O(i[0],t,n),e(r,i,o,a,s)}}function j(e,i,a,s,c,l,f,p,d){function h(e,t,n,r){e&&(n&&(e=P(e,n,r)),e.require=x.require,e.directiveName=S,(R===x||x.$$isolateScope)&&(e=Q(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=P(t,n,r)),t.require=x.require,t.directiveName=S,(R===x||x.$$isolateScope)&&(t=Q(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i,a="data",s=!1;if(b(t)){for(;"^"==(i=t.charAt(0))||"?"==i;)t=t.substr(1),"^"==i&&(a="inheritedData"),s=s||"?"==i;if(i=null,r&&"data"===a&&(i=r[t]),i=i||n[a]("$"+t+"Controller"),!i&&!s)throw ni("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,e);return i}return Nr(t)&&(i=[],o(t,function(t){i.push(m(e,t,n,r))})),i}function y(e,t,s,c,l){function d(e,t){var r;return arguments.length<2&&(t=e,e=n),J&&(r=k),l(e,t,r)}var h,y,$,b,w,x,C,S,k={};if(h=i===s?a:F(a,new Y($r(s),a.$attr)),y=h.$$element,R){var T=/^\s*([@=&])(\??)\s*(\w*)\s*$/;C=t.$new(!0),!B||B!==R&&B!==R.$$originalDirective?y.data("$isolateScopeNoTemplate",C):y.data("$isolateScope",C),E(y,"ng-isolate-scope"),o(R.scope,function(e,n){var i,o,a,s,u=e.match(T)||[],c=u[3]||n,l="?"==u[2],f=u[1];switch(C.$$isolateBindings[n]=f+c,f){case"@":h.$observe(c,function(e){C[n]=e}),h.$$observers[c].$$scope=t,h[c]&&(C[n]=r(h[c])(t));break;case"=":if(l&&!h[c])return;o=g(h[c]),s=o.literal?L:function(e,t){return e===t||e!==e&&t!==t},a=o.assign||function(){throw i=C[n]=o(t),ni("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",h[c],R.name)},i=C[n]=o(t),C.$watch(function(){var e=o(t);return s(e,C[n])||(s(e,i)?a(t,e=C[n]):C[n]=e),i=e},null,o.literal);break;case"&":o=g(h[c]),C[n]=function(e){return o(t,e)};break;default:throw ni("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",R.name,n,e)}})}for(S=l&&d,I&&o(I,function(e){var n,r={$scope:e===R||e.$$isolateScope?C:t,$element:y,$attrs:h,$transclude:S};x=e.controller,"@"==x&&(x=h[e.name]),n=v(x,r),k[e.name]=n,J||y.data("$"+e.name+"Controller",n),e.controllerAs&&(r.$scope[e.controllerAs]=n)}),$=0,b=f.length;b>$;$++)try{w=f[$],w(w.isolateScope?C:t,y,h,w.require&&m(w.directiveName,w.require,y,k),S)}catch(A){u(A,V(y))}var N=t;for(R&&(R.template||null===R.templateUrl)&&(N=C),e&&e(N,s.childNodes,n,l),$=p.length-1;$>=0;$--)try{w=p[$],w(w.isolateScope?C:t,y,h,w.require&&m(w.directiveName,w.require,y,k),S)}catch(A){u(A,V(y))}}d=d||{};for(var w,x,S,k,A,N,j=-Number.MAX_VALUE,I=d.controllerDirectives,R=d.newIsolateScopeDirective,B=d.templateDirective,z=d.nonTlbTranscludeDirective,W=!1,G=!1,J=d.hasElementTranscludeDirective,Z=a.$$element=$r(i),et=l,tt=s,nt=0,rt=e.length;rt>nt;nt++){x=e[nt];var it=x.$$start,ot=x.$$end;if(it&&(Z=O(i,it,ot)),k=n,j>x.priority)break;if((N=x.scope)&&(w=w||x,x.templateUrl||(U("new/isolated scope",R,x,Z),$(N)&&(R=x))),S=x.name,!x.templateUrl&&x.controller&&(N=x.controller,I=I||{},U("'"+S+"' controller",I[S],x,Z),I[S]=x),(N=x.transclude)&&(W=!0,x.$$tlb||(U("transclusion",z,x,Z),z=x),"element"==N?(J=!0,j=x.priority,k=Z,Z=a.$$element=$r(t.createComment(" "+S+": "+a[S]+" ")),i=Z[0],X(c,q(k),i),tt=T(k,s,j,et&&et.name,{nonTlbTranscludeDirective:z})):(k=$r(mt(i)).contents(),Z.empty(),tt=T(k,s))),x.template)if(G=!0,U("template",B,x,Z),B=x,N=C(x.template)?x.template(Z,a):x.template,N=K(N),x.replace){if(et=x,k=ft(N)?[]:$r(Dr(N)),i=k[0],1!=k.length||1!==i.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S,"");X(c,Z,i);var at={$attr:{}},st=D(i,[],at),ut=e.splice(nt+1,e.length-(nt+1));R&&M(st),e=e.concat(st).concat(ut),H(a,at),rt=e.length}else Z.html(N);if(x.templateUrl)G=!0,U("template",B,x,Z),B=x,x.replace&&(et=x),y=_(e.splice(nt,e.length-nt),Z,a,c,W&&tt,f,p,{controllerDirectives:I,newIsolateScopeDirective:R,templateDirective:B,nonTlbTranscludeDirective:z}),rt=e.length;else if(x.compile)try{A=x.compile(Z,a,tt),C(A)?h(null,A,it,ot):A&&h(A.pre,A.post,it,ot)}catch(ct){u(ct,V(Z))}x.terminal&&(y.terminal=!0,j=Math.max(j,x.priority))}return y.scope=w&&w.scope===!0,y.transcludeOnThisElement=W,y.templateOnThisElement=G,y.transclude=tt,d.hasElementTranscludeDirective=J,y}function M(e){for(var t=0,n=e.length;n>t;t++)e[t]=d(e[t],{$$isolateScope:!0})}function I(t,r,o,s,c,l,f){if(r===c)return null;var p=null;if(i.hasOwnProperty(r))for(var h,m=e.get(r+a),g=0,v=m.length;v>g;g++)try{h=m[g],(s===n||s>h.priority)&&-1!=h.restrict.indexOf(o)&&(l&&(h=d(h,{$$start:l,$$end:f})),t.push(h),p=h)}catch(y){u(y)}return p}function H(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(E(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function _(e,t,n,r,i,a,s,u){var c,l,d=[],m=t[0],g=e.shift(),v=f({},g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),y=C(g.templateUrl)?g.templateUrl(t,n):g.templateUrl;return t.empty(),p.get(x.getTrustedResourceUrl(y),{cache:h}).success(function(f){var p,h,b,w;if(f=K(f),g.replace){if(b=ft(f)?[]:$r(Dr(f)),p=b[0],1!=b.length||1!==p.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,y);h={$attr:{}},X(r,t,p);var x=D(p,[],h);$(g.scope)&&M(x),e=x.concat(e),H(n,h)}else p=m,t.html(f);for(e.unshift(v),c=j(e,p,n,i,t,g,a,s,u),o(r,function(e,n){e==p&&(r[n]=t[0])}),l=A(t[0].childNodes,i);d.length;){var C=d.shift(),S=d.shift(),k=d.shift(),T=d.shift(),O=t[0];if(S!==m){var P=S.className;u.hasElementTranscludeDirective&&g.replace||(O=mt(p)),X(k,$r(S),O),E($r(O),P)}w=c.transcludeOnThisElement?N(C,c.transclude,T):T,c(l,C,O,r,w)}d=null}).error(function(e,t,n,r){throw ni("tpload","Failed to load template: {0}",r.url)
|
||
}),function(e,t,n,r,i){var o=i;d?(d.push(t),d.push(n),d.push(r),d.push(o)):(c.transcludeOnThisElement&&(o=N(t,c.transclude,i)),c(l,t,n,r,o))}}function R(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function U(e,t,n,r){if(t)throw ni("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,n.name,e,V(r))}function B(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:function(e){var t=e.parent(),r=t.length;return r&&E(e.parent(),"ng-binding"),function(e,t){var i=t.parent(),o=i.data("$binding")||[];o.push(n),i.data("$binding",o),r||E(i,"ng-binding"),e.$watch(n,function(e){t[0].nodeValue=e})}}})}function z(e,t){if("srcdoc"==t)return x.HTML;var n=xr(e);return"xlinkHref"==t||"FORM"==n&&"action"==t||"IMG"!=n&&("src"==t||"ngSrc"==t)?x.RESOURCE_URL:void 0}function W(e,t,n,i){var o=r(n,!0);if(o){if("multiple"===i&&"SELECT"===xr(e))throw ni("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",V(e));t.push({priority:100,compile:function(){return{pre:function(t,n,a){var s=a.$$observers||(a.$$observers={});if(l.test(i))throw ni("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");o=r(a[i],!0,z(e,i)),o&&(a[i]=o(t),(s[i]||(s[i]=[])).$$inter=!0,(a.$$observers&&a.$$observers[i].$$scope||t).$watch(o,function(e,t){"class"===i&&e!=t?a.$updateClass(e,t):a.$set(i,e)}))}}}})}}function X(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var c=i,l=c+s-1,f=e.length;f>c;c++,l++)f>l?e[c]=e[l]:delete e[c];e.length-=s-1;break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();p.appendChild(a),r[$r.expando]=a[$r.expando];for(var d=1,h=n.length;h>d;d++){var m=n[d];$r(m).remove(),p.appendChild(m),delete n[d]}n[0]=r,n.length=1}function Q(e,t){return f(function(){return e.apply(null,arguments)},e,t)}var Y=function(e,t){this.$$element=e,this.$attr=t||{}};Y.prototype={$normalize:Rt,$addClass:function(e){e&&e.length>0&&S.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&S.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Ut(e,t),r=Ut(t,e);0===n.length?S.removeClass(this.$$element,r):0===r.length?S.addClass(this.$$element,n):S.setClass(this.$$element,n,r)},$set:function(e,t,r,i){var a,s=At(this.$$element[0],e);s&&(this.$$element.prop(e,t),i=s),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e],i||(this.$attr[e]=i=Z(e,"-"))),a=xr(this.$$element),("A"===a&&"href"===e||"IMG"===a&&"src"===e)&&(this[e]=t=k(t,"src"===e)),r!==!1&&(null===t||t===n?this.$$element.removeAttr(i):this.$$element.attr(i,t));var c=this.$$observers;c&&o(c[e],function(e){try{e(t)}catch(n){u(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers={}),i=r[e]||(r[e]=[]);return i.push(t),y.$evalAsync(function(){i.$$inter||t(n[e])}),t}};var G=r.startSymbol(),J=r.endSymbol(),K="{{"==G||"}}"==J?m:function(e){return e.replace(/\{\{/g,G).replace(/}}/g,J)},et=/^ngAttr[A-Z]/;return T}]}function Rt(e){return ct(e.replace(ri,""))}function Ut(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function Bt(){var e={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){rt(t,"controller"),$(t)?f(e,t):e[t]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,c,l;if(b(o)&&(u=o.match(t),c=u[1],l=u[3],o=e.hasOwnProperty(c)?e[c]:it(a.$scope,c,!0)||it(i,c,!0),nt(o,c,!0)),s=n.instantiate(o,a),l){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",c||o.name,l);a.$scope[l]=s}return s}}]}function zt(){this.$get=["$window",function(e){return $r(e.document)}]}function Vt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function Wt(e){var t,n,r,i={};return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=dr(Dr(e.substr(0,r))),n=Dr(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}function Xt(e){var t=$(e)?e:n;return function(n){return t||(t=Wt(e)),n?t[dr(n)]||null:t}}function Qt(e,t,n){return C(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function Yt(e){return e>=200&&300>e}function Gt(){var e=/^\s*(\[|\{[^\{])/,t=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return b(n)&&(n=n.replace(r,""),e.test(n)&&t.test(n)&&(n=B(n))),n}],transformRequest:[function(e){return!$(e)||E(e)||A(e)?e:U(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:F(i),put:F(i),patch:F(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(e,t,r,i,l,p){function d(e){function t(e){var t=f({},e,{data:Qt(e.data,e.headers,i.transformResponse)});return Yt(e.status)?t:l.reject(t)}function r(e){function t(e){var t;o(e,function(n,r){C(n)&&(t=n(),null!=t?e[r]=t:delete e[r])})}var n,r,i,s=a.headers,u=f({},e.headers);s=f({},s.common,s[dr(e.method)]);e:for(n in s){r=dr(n);for(i in u)if(dr(i)===r)continue e;u[n]=s[n]}return t(u),u}var i={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},s=r(e);f(i,e),i.headers=s,i.method=mr(i.method);var u=function(e){s=e.headers;var n=Qt(e.data,Xt(s),e.transformRequest);return v(n)&&o(s,function(e,t){"content-type"===dr(t)&&delete s[t]}),v(e.withCredentials)&&!v(a.withCredentials)&&(e.withCredentials=a.withCredentials),g(e,n,s).then(t,t)},c=[u,n],p=l.when(i);for(o(k,function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&c.push(e.response,e.responseError)});c.length;){var d=c.shift(),h=c.shift();p=p.then(d,h)}return p.success=function(e){return p.then(function(t){e(t.data,t.status,t.headers,i)}),p},p.error=function(e){return p.then(null,function(t){e(t.data,t.status,t.headers,i)}),p},p}function h(){o(arguments,function(e){d[e]=function(t,n){return d(f(n||{},{method:e,url:t}))}})}function m(){o(arguments,function(e){d[e]=function(t,n,r){return d(f(r||{},{method:e,url:t,data:n}))}})}function g(r,o,s){function u(e,t,n,r){p&&(Yt(e)?p.put(b,[e,t,Wt(n),r]):p.remove(b)),c(t,e,n,r),i.$$phase||i.$apply()}function c(e,t,n,i){t=Math.max(t,0),(Yt(t)?m.resolve:m.reject)({data:e,status:t,headers:Xt(n),config:r,statusText:i})}function f(){var e=j(d.pendingRequests,r);-1!==e&&d.pendingRequests.splice(e,1)}var p,h,m=l.defer(),g=m.promise,b=w(r.url,r.params);if(d.pendingRequests.push(r),g.then(f,f),!r.cache&&!a.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(p=$(r.cache)?r.cache:$(a.cache)?a.cache:S),p)if(h=p.get(b),y(h)){if(N(h))return h.then(f,f),h;Nr(h)?c(h[1],h[0],F(h[2]),h[3]):c(h,200,{},"OK")}else p.put(b,g);if(v(h)){var x=Hn(r.url)?t.cookies()[r.xsrfCookieName||a.xsrfCookieName]:n;x&&(s[r.xsrfHeaderName||a.xsrfHeaderName]=x),e(r.method,b,o,u,s,r.timeout,r.withCredentials,r.responseType)}return g}function w(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||v(e)||(Nr(e)||(e=[e]),o(e,function(e){$(e)&&(x(e)?e=e.toISOString():$(e)&&(e=U(e))),n.push(G(t)+"="+G(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var S=r("$http"),k=[];return o(u,function(e){k.unshift(b(e)?p.get(e):p.invoke(e))}),o(c,function(e,t){var n=b(e)?p.get(e):p.invoke(e);k.splice(t,0,{response:function(e){return n(l.when(e))},responseError:function(e){return n(l.reject(e))}})}),d.pendingRequests=[],h("get","delete","head","jsonp"),m("post","put"),d.defaults=a,d}]}function Jt(t){if(8>=yr&&(!t.match(/^(get|post|head|put|delete|options)$/i)||!e.XMLHttpRequest))return new e.ActiveXObject("Microsoft.XMLHTTP");if(e.XMLHttpRequest)return new e.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Kt(){this.$get=["$browser","$window","$document",function(e,t,n){return Zt(e,Jt,e.defer,t.angular.callbacks,n[0])}]}function Zt(e,t,n,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){Lr(o,"load",a),Lr(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},Fr(o,"load",a),Fr(o,"error",a),8>=yr&&(o.onreadystatechange=function(){b(o.readyState)&&/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,a({type:"load"}))}),i.body.appendChild(o),a}var s=-1;return function(i,u,c,l,f,p,d,m){function g(){$=s,w&&w(),x&&x.abort()}function v(t,r,i,o,a){S&&n.cancel(S),w=x=null,0===r&&(r=i?200:"file"==Ln(u).protocol?404:0),r=1223===r?204:r,a=a||"",t(r,i,o,a),e.$$completeOutstandingRequest(h)}var $;if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==dr(i)){var b="_"+(r.counter++).toString(36);r[b]=function(e){r[b].data=e,r[b].called=!0};var w=a(u.replace("JSON_CALLBACK","angular.callbacks."+b),b,function(e,t){v(l,e,r[b].data,"",t),r[b]=h})}else{var x=t(i);if(x.open(i,u,!0),o(f,function(e,t){y(e)&&x.setRequestHeader(t,e)}),x.onreadystatechange=function(){if(x&&4==x.readyState){var e=null,t=null,n="";$!==s&&(e=x.getAllResponseHeaders(),t="response"in x?x.response:x.responseText),$===s&&10>yr||(n=x.statusText),v(l,$||x.status,t,e,n)}},d&&(x.withCredentials=!0),m)try{x.responseType=m}catch(C){if("json"!==m)throw C}x.send(c||null)}if(p>0)var S=n(g,p);else N(p)&&p.then(g)}}function en(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(o,u,c){for(var l,f,p,d,h=0,m=[],g=o.length,v=!1,y=[];g>h;)-1!=(l=o.indexOf(e,h))&&-1!=(f=o.indexOf(t,l+a))?(h!=l&&m.push(o.substring(h,l)),m.push(p=n(d=o.substring(l+a,f))),p.exp=d,h=f+s,v=!0):(h!=g&&m.push(o.substring(h)),h=g);if((g=m.length)||(m.push(""),g=1),c&&m.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||v?(y.length=g,p=function(e){try{for(var t,n=0,a=g;a>n;n++){if("function"==typeof(t=m[n]))if(t=t(e),t=c?i.getTrusted(c,t):i.valueOf(t),null==t)t="";else switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=U(t)}y[n]=t}return y.join("")}catch(s){var u=ii("interr","Can't interpolate: {0}\n{1}",o,s.toString());r(u)}},p.exp=o,p.parts=m,p):void 0}var a=e.length,s=t.length;return o.startSymbol=function(){return e},o.endSymbol=function(){return t},o}]}function tn(){this.$get=["$rootScope","$window","$q",function(e,t,n){function r(r,o,a,s){var u=t.setInterval,c=t.clearInterval,l=n.defer(),f=l.promise,p=0,d=y(s)&&!s;return a=y(a)?a:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(p++),a>0&&p>=a&&(l.resolve(p),c(f.$$intervalId),delete i[f.$$intervalId]),d||e.$apply()},o),i[f.$$intervalId]=l,f}var i={};return r.cancel=function(e){return e&&e.$$intervalId in i?(i[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0):!1},r}]}function nn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(e){return 1===e?"one":"other"}}}}function rn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Y(t[n]);return t.join("/")}function on(e,t,n){var r=Ln(e,n);t.$$protocol=r.protocol,t.$$host=r.hostname,t.$$port=p(r.port)||ai[r.protocol]||null}function an(e,t,n){var r="/"!==e.charAt(0);r&&(e="/"+e);var i=Ln(e,n);t.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=X(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function sn(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function un(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function cn(e){return e.substr(0,un(e).lastIndexOf("/")+1)}function ln(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function fn(e,t){this.$$html5=!0,t=t||"";var r=cn(e);on(e,this,e),this.$$parse=function(t){var n=sn(r,t);if(!b(n))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,r);an(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=rn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,a;return(o=sn(e,i))!==n?(a=o,(o=sn(t,o))!==n?r+(sn("/",o)||o):e+a):(o=sn(r,i))!==n?r+o:r==i+"/"?r:void 0}}function pn(e,t){var n=cn(e);on(e,this,e),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o=sn(e,r)||sn(n,r),a="#"==o.charAt(0)?sn(t,o):this.$$html5?o:"";if(!b(a))throw si("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,t);an(a,this,e),this.$$path=i(this.$$path,a,e),this.$$compose()},this.$$compose=function(){var n=Q(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$rewrite=function(t){return un(e)==un(t)?t:void 0}}function dn(e,t){this.$$html5=!0,pn.apply(this,arguments);var n=cn(e);this.$$rewrite=function(r){var i;return e==un(r)?r:(i=sn(n,r))?e+t+i:n===r+"/"?n:void 0},this.$$compose=function(){var n=Q(this.$$search),r=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function hn(e){return function(){return this[e]}}function mn(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function gn(){var t="",n=!1;this.hashPrefix=function(e){return y(e)?(t=e,this):t},this.html5Mode=function(e){return y(e)?(n=e,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(e){r.$broadcast("$locationChangeSuccess",u.absUrl(),e)}var u,c,l,f=i.baseHref(),p=i.url();n?(l=ln(p)+(f||"/"),c=o.history?fn:dn):(l=un(p),c=pn),u=new c(l,"#"+t),u.$$parse(u.$$rewrite(p));var d=/^\s*(javascript|mailto):/i;a.on("click",function(n){if(!n.ctrlKey&&!n.metaKey&&2!=n.which){for(var o=$r(n.target);"a"!==dr(o[0].nodeName);)if(o[0]===a[0]||!(o=o.parent())[0])return;var s=o.prop("href");if($(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Ln(s.animVal).href),!d.test(s)){if(c===dn){var f=o.attr("href")||o.attr("xlink:href");if(f.indexOf("://")<0){var p="#"+t;if("/"==f[0])s=l+p+f;else if("#"==f[0])s=l+p+(u.path()||"/")+f;else{for(var h=u.path().split("/"),m=f.split("/"),g=0;g<m.length;g++)"."!=m[g]&&(".."==m[g]?h.pop():m[g].length&&h.push(m[g]));s=l+p+h.join("/")}}}var v=u.$$rewrite(s);s&&!o.attr("target")&&v&&!n.isDefaultPrevented()&&(n.preventDefault(),v!=i.url()&&(u.$$parse(v),r.$apply(),e.angular["ff-684208-preventDefault"]=!0))}}}),u.absUrl()!=p&&i.url(u.absUrl(),!0),i.onUrlChange(function(e){u.absUrl()!=e&&(r.$evalAsync(function(){var t=u.absUrl();u.$$parse(e),r.$broadcast("$locationChangeStart",e,t).defaultPrevented?(u.$$parse(t),i.url(t)):s(t)}),r.$$phase||r.$digest())});var h=0;return r.$watch(function(){var e=i.url(),t=u.$$replace;return h&&e==u.absUrl()||(h++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),e).defaultPrevented?u.$$parse(e):(i.url(u.absUrl(),t),s(e))})),u.$$replace=!1,h}),u}]}function vn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||h,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function yn(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ci("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function $n(e,t){if(e){if(e.constructor===e)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.document&&e.location&&e.alert&&e.setInterval)throw ci("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ci("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw ci("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function bn(e,t){if(e){if(e.constructor===e)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===fi||e===pi||di&&e===di)throw ci("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function wn(e,t,r,i,o){o=o||{};for(var a,s=t.split("."),u=0;s.length>1;u++){a=yn(s.shift(),i);var c=e[a];c||(c={},e[a]=c),e=c,e.then&&o.unwrapPromises&&(ui(i),"$$v"in e||function(e){e.then(function(t){e.$$v=t})}(e),e.$$v===n&&(e.$$v={}),e=e.$$v)}return a=yn(s.shift(),i),$n(e,i),$n(e[a],i),e[a]=r,r}function xn(e,t,r,i,o,a,s){return yn(e,a),yn(t,a),yn(r,a),yn(i,a),yn(o,a),s.unwrapPromises?function(s,u){var c,l=u&&u.hasOwnProperty(e)?u:s;return null==l?l:(l=l[e],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),t?null==l?n:(l=l[t],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),r?null==l?n:(l=l[r],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),i?null==l?n:(l=l[i],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),o?null==l?n:(l=l[o],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),l):l):l):l):l)}:function(a,s){var u=s&&s.hasOwnProperty(e)?s:a;return null==u?u:(u=u[e],t?null==u?n:(u=u[t],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Cn(e,t,r){if(yi.hasOwnProperty(e))return yi[e];var i,a=e.split("."),s=a.length;if(t.csp)i=6>s?xn(a[0],a[1],a[2],a[3],a[4],r,t):function(e,i){var o,u=0;do o=xn(a[u++],a[u++],a[u++],a[u++],a[u++],r,t)(e,i),i=n,e=o;while(s>u);return o};else{var u="var p;\n";o(a,function(e,n){yn(e,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+e+'"))?k:s)')+'["'+e+'"]'+";\n"+(t.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n'+' if (!("$$v" in s)) {\n'+" p=s;\n"+" p.$$v = undefined;\n"+" p.then(function(v) {p.$$v=v;});\n"+"}\n"+" s=s.$$v\n"+"}\n":"")}),u+="return s;";var c=new Function("s","k","pw",u);c.toString=g(u),i=t.unwrapPromises?function(e,t){return c(e,t,ui)}:c}return"hasOwnProperty"!==e&&(yi[e]=i),i}function Sn(){var e={},t={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return y(e)?(t.unwrapPromises=!!e,this):t.unwrapPromises},this.logPromiseWarnings=function(e){return y(e)?(t.logPromiseWarnings=e,this):t.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return t.csp=r.csp,ui=function(e){t.logPromiseWarnings&&!li.hasOwnProperty(e)&&(li[e]=!0,i.warn("[$parse] Promise found in the expression `"+e+"`. "+"Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(e.hasOwnProperty(r))return e[r];var o=new gi(t),a=new vi(o,n,t);return i=a.parse(r),"hasOwnProperty"!==r&&(e[r]=i),i;case"function":return r;default:return h}}}]}function kn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Tn(function(t){e.$evalAsync(t)},t)}]}function Tn(e,t){function r(e){return e}function i(e){return c(e)}function a(e){var t=s(),n=0,r=Nr(e)?[]:{};return o(e,function(e,i){n++,u(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var s=function(){var o,a,c=[];return a={resolve:function(t){if(c){var r=c;c=n,o=u(t),r.length&&e(function(){for(var e,t=0,n=r.length;n>t;t++)e=r[t],o.then(e[0],e[1],e[2])})}},reject:function(e){a.resolve(l(e))},notify:function(t){if(c){var n=c;c.length&&e(function(){for(var e,r=0,i=n.length;i>r;r++)e=n[r],e[2](t)})}},promise:{then:function(e,n,a){var u=s(),l=function(n){try{u.resolve((C(e)?e:r)(n))}catch(i){u.reject(i),t(i)}},f=function(e){try{u.resolve((C(n)?n:i)(e))}catch(r){u.reject(r),t(r)}},p=function(e){try{u.notify((C(a)?a:r)(e))}catch(n){t(n)}};return c?c.push([l,f,p]):o.then(l,f,p),u.promise},"catch":function(e){return this.then(null,e)},"finally":function(e){function t(e,t){var n=s();return t?n.resolve(e):n.reject(e),n.promise}function n(n,i){var o=null;try{o=(e||r)()}catch(a){return t(a,!1)}return N(o)?o.then(function(){return t(n,i)},function(e){return t(e,!1)}):t(n,i)}return this.then(function(e){return n(e,!0)},function(e){return n(e,!1)})}}}},u=function(t){return N(t)?t:{then:function(n){var r=s();return e(function(){r.resolve(n(t))}),r.promise}}},c=function(e){var t=s();return t.reject(e),t.promise},l=function(n){return{then:function(r,o){var a=s();return e(function(){try{a.resolve((C(o)?o:i)(n))}catch(e){a.reject(e),t(e)}}),a.promise}}},f=function(n,o,a,l){var f,p=s(),d=function(e){try{return(C(o)?o:r)(e)}catch(n){return t(n),c(n)}},h=function(e){try{return(C(a)?a:i)(e)}catch(n){return t(n),c(n)}},m=function(e){try{return(C(l)?l:r)(e)}catch(n){t(n)}};return e(function(){u(n).then(function(e){f||(f=!0,p.resolve(u(e).then(d,h,m)))},function(e){f||(f=!0,p.resolve(h(e)))},function(e){f||p.notify(m(e))})}),p.promise};return{defer:s,reject:c,when:f,all:a}}function En(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function An(){var e=10,t=r("$rootScope"),n=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(e){if(v.$$phase)throw t("inprog","{0} already in progress",v.$$phase);v.$$phase=e}function p(){v.$$phase=null}function d(e,t){var n=s(e);return nt(n,t),n}function m(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function g(){}l.prototype={constructor:l,$new:function(e){var t;return e?(t=new l,t.$root=this.$root,t.$$asyncQueue=this.$$asyncQueue,t.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),t=new this.$$childScopeClass),t["this"]=t,t.$parent=this,t.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=t,this.$$childTail=t):this.$$childHead=this.$$childTail=t,t},$watch:function(e,t,r){var i=this,o=d(e,"watch"),a=i.$$watchers,s={fn:t,last:g,get:o,exp:e,eq:!!r};if(n=null,!C(t)){var u=d(t||h,"listener");s.fn=function(e,t,n){u(n)}}if("string"==typeof e&&o.constant){var c=s.fn;s.fn=function(e,t,n){c.call(this,e,t,n),M(a,s)}}return a||(a=i.$$watchers=[]),a.unshift(s),function(){M(a,s),n=null}},$watchCollection:function(e,t){function n(){o=p(c);var e,t,n;if($(o))if(i(o)){a!==d&&(a=d,g=a.length=0,f++),e=o.length,g!==e&&(f++,a.length=g=e);for(var r=0;e>r;r++)n=a[r]!==a[r]&&o[r]!==o[r],n||a[r]===o[r]||(f++,a[r]=o[r])}else{a!==h&&(a=h={},g=0,f++),e=0;for(t in o)o.hasOwnProperty(t)&&(e++,a.hasOwnProperty(t)?(n=a[t]!==a[t]&&o[t]!==o[t],n||a[t]===o[t]||(f++,a[t]=o[t])):(g++,a[t]=o[t],f++));if(g>e){f++;for(t in a)a.hasOwnProperty(t)&&!o.hasOwnProperty(t)&&(g--,delete a[t])}}else a!==o&&(a=o,f++);return f}function r(){if(m?(m=!1,t(o,o,c)):t(o,u,c),l)if($(o))if(i(o)){u=new Array(o.length);for(var e=0;e<o.length;e++)u[e]=o[e]}else{u={};for(var n in o)hr.call(o,n)&&(u[n]=o[n])}else u=o}var o,a,u,c=this,l=t.length>1,f=0,p=s(e),d=[],h={},m=!0,g=0;return this.$watch(n,r)},$digest:function(){var r,i,o,s,u,c,l,d,h,m,v,y=this.$$asyncQueue,$=this.$$postDigestQueue,b=e,w=this,x=[];f("$digest"),n=null;do{for(c=!1,d=w;y.length;){try{v=y.shift(),v.scope.$eval(v.expression)}catch(S){p(),a(S)}n=null}e:do{if(s=d.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(d))===(o=r.last)||(r.eq?L(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break e}}else c=!0,n=r,r.last=r.eq?I(i,null):i,r.fn(i,o===g?i:o,d),5>b&&(h=4-b,x[h]||(x[h]=[]),m=C(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,m+="; newVal: "+U(i)+"; oldVal: "+U(o),x[h].push(m))}catch(S){p(),a(S)}if(!(l=d.$$childHead||d!==w&&d.$$nextSibling))for(;d!==w&&!(l=d.$$nextSibling);)d=d.$parent}while(d=l);if((c||y.length)&&!b--)throw p(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,U(x))}while(c||y.length);for(p();$.length;)try{$.shift()()}catch(S){a(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==v&&(o(this.$$listenerCount,_(null,m,this)),e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=h,this.$on=this.$watch=function(){return h})}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e){v.$$phase||v.$$asyncQueue.length||u.defer(function(){v.$$asyncQueue.length&&v.$digest()}),this.$$asyncQueue.push({scope:this,expression:e})},$$postDigest:function(e){this.$$postDigestQueue.push(e)},$apply:function(e){try{return f("$apply"),this.$eval(e)}catch(t){a(t)}finally{p();try{v.$digest()}catch(t){throw a(t),t}}},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){n[j(n,t)]=null,m(i,1,e)}},$emit:function(e){var t,n,r,i=[],o=this,s=!1,u={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=H([u],arguments,1);do{for(t=o.$$listeners[e]||i,u.currentScope=o,n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){a(l)}else t.splice(n,1),n--,r--;if(s)return u;o=o.$parent}while(o);return u},$broadcast:function(e){for(var t,n,r,i=this,o=i,s=i,u={name:e,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=H([u],arguments,1);o=s;){for(u.currentScope=o,t=o.$$listeners[e]||[],n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){a(l)}else t.splice(n,1),n--,r--;if(!(s=o.$$listenerCount[e]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(s=o.$$nextSibling);)o=o.$parent}return u}};var v=new l;return v}]}function Nn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return yr&&!(yr>=8)||(i=Ln(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Dn(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function On(e){if("self"===e)return e;if(b(e)){if(e.indexOf("***")>-1)throw $i("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Dn(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $i("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pn(e){var t=[];return y(e)&&o(e,function(e){t.push(On(e))}),t}function jn(){this.SCE_CONTEXTS=bi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Pn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Pn(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?Hn(t):!!e.exec(t.href)}function o(n){var r,o,a=Ln(n.toString()),s=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!1;break}return s}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var r=p.hasOwnProperty(e)?p[e]:null;if(!r)throw $i("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw $i("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function u(e){return e instanceof f?e.$$unwrapTrustedValue():e}function c(e,t){if(null===t||t===n||""===t)return t;var r=p.hasOwnProperty(e)?p[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===bi.RESOURCE_URL){if(o(t))return t;throw $i("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===bi.HTML)return l(t);throw $i("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw $i("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=a(),p={};return p[bi.HTML]=a(f),p[bi.CSS]=a(f),p[bi.URL]=a(f),p[bi.JS]=a(f),p[bi.RESOURCE_URL]=a(p[bi.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Mn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sniffer","$sceDelegate",function(t,n,r){if(e&&n.msie&&n.msieDocumentMode<8)throw $i("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=F(bi);i.isEnabled=function(){return e},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=m),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:function(t,n){return i.getTrusted(e,r(t,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(bi,function(e,t){var n=dr(t);i[ct("parse_as_"+n)]=function(t){return a(e,t)},i[ct("get_trusted_"+n)]=function(t){return s(e,t)},i[ct("trust_as_"+n)]=function(t){return u(e,t)}}),i}]}function In(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=p((/android (\d+)/.exec(dr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.documentMode,c=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=s.body&&s.body.style,f=!1,d=!1;if(l){for(var h in l)if(r=c.exec(h)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);
|
||
break}n||(n="WebkitOpacity"in l&&"webkit"),f=!!("transition"in l||n+"Transition"in l),d=!!("animation"in l||n+"Animation"in l),!o||f&&d||(f=b(s.body.style.webkitTransition),d=b(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hashchange:"onhashchange"in e&&(!u||u>7),hasEvent:function(e){if("input"==e&&9==yr)return!1;if(v(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:Or(),vendorPrefix:n,transitions:f,animations:d,android:o,msie:yr,msieDocumentMode:u}}]}function Fn(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(e,t,n,r){function i(i,a,s){var u,c=n.defer(),l=c.promise,f=y(s)&&!s;return u=t.defer(function(){try{c.resolve(i())}catch(t){c.reject(t),r(t)}finally{delete o[l.$$timeoutId]}f||e.$apply()},a),l.$$timeoutId=u,o[u]=c,l}var o={};return i.cancel=function(e){return e&&e.$$timeoutId in o?(o[e.$$timeoutId].reject("canceled"),delete o[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},i}]}function Ln(e){var t=e;return yr&&(wi.setAttribute("href",t),t=wi.href),wi.setAttribute("href",t),{href:wi.href,protocol:wi.protocol?wi.protocol.replace(/:$/,""):"",host:wi.host,search:wi.search?wi.search.replace(/^\?/,""):"",hash:wi.hash?wi.hash.replace(/^#/,""):"",hostname:wi.hostname,port:wi.port,pathname:"/"===wi.pathname.charAt(0)?wi.pathname:"/"+wi.pathname}}function Hn(e){var t=b(e)?Ln(e):e;return t.protocol===xi.protocol&&t.host===xi.host}function qn(){this.$get=g(e)}function _n(e){function t(r,i){if($(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Un),t("date",Gn),t("filter",Rn),t("json",Jn),t("limitTo",Kn),t("lowercase",Ei),t("number",Bn),t("orderBy",Zn),t("uppercase",Ai)}function Rn(){return function(e,t,n){if(!Nr(e))return e;var r=typeof n,i=[];i.check=function(e){for(var t=0;t<i.length;t++)if(!i[t](e))return!1;return!0},"function"!==r&&(n="boolean"===r&&n?function(e,t){return Er.equals(e,t)}:function(e,t){if(e&&t&&"object"==typeof e&&"object"==typeof t){for(var r in e)if("$"!==r.charAt(0)&&hr.call(e,r)&&n(e[r],t[r]))return!0;return!1}return t=(""+t).toLowerCase(),(""+e).toLowerCase().indexOf(t)>-1});var o=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!o(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var r in e)if("$"!==r.charAt(0)&&o(e[r],t))return!0}return!1;case"array":for(var i=0;i<e.length;i++)if(o(e[i],t))return!0;return!1;default:return!1}};switch(typeof t){case"boolean":case"number":case"string":t={$:t};case"object":for(var a in t)!function(e){"undefined"!=typeof t[e]&&i.push(function(n){return o("$"==e?n:n&&n[e],t[e])})}(a);break;case"function":i.push(t);break;default:return e}for(var s=[],u=0;u<e.length;u++){var c=e[u];i.check(c)&&s.push(c)}return s}}function Un(e){var t=e.NUMBER_FORMATS;return function(e,n){return v(n)&&(n=t.CURRENCY_SYM),zn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,2).replace(/\u00A4/g,n)}}function Bn(e){var t=e.NUMBER_FORMATS;return function(e,n){return zn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function zn(e,t,n,r,i){if(null==e||!isFinite(e)||$(e))return"";var o=0>e;e=Math.abs(e);var a=e+"",s="",u=[],c=!1;if(-1!==a.indexOf("e")){var l=a.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?(a="0",e=0):(s=a,c=!0)}if(c)i>0&&e>-1&&1>e&&(s=e.toFixed(i));else{var f=(a.split(Ci)[1]||"").length;v(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var p=(""+e).split(Ci),d=p[0];p=p[1]||"";var h,m=0,g=t.lgSize,y=t.gSize;if(d.length>=g+y)for(m=d.length-g,h=0;m>h;h++)0===(m-h)%y&&0!==h&&(s+=n),s+=d.charAt(h);for(h=m;h<d.length;h++)0===(d.length-h)%g&&0!==h&&(s+=n),s+=d.charAt(h);for(;p.length<i;)p+="0";i&&"0"!==i&&(s+=r+p.substr(0,i))}return u.push(o?t.negPre:t.posPre),u.push(s),u.push(o?t.negSuf:t.posSuf),u.join("")}function Vn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function Wn(e,t,n,r){return n=n||0,function(i){var o=i["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Vn(o,t,r)}}function Xn(e,t){return function(n,r){var i=n["get"+e](),o=mr(t?"SHORT"+e:e);return r[o][i]}}function Qn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=Vn(Math[t>0?"floor":"ceil"](t/60),2)+Vn(Math.abs(t%60),2)}function Yn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Gn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,c=p(t[5]||0)-o,l=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,c,l,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r){var i,a,s="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,b(n)&&(n=Ti.test(n)?p(n):t(n)),w(n)&&(n=new Date(n)),!x(n))return n;for(;r;)a=ki.exec(r),a?(u=H(u,a,1),r=u.pop()):(u.push(r),r=null);return o(u,function(t){i=Si[t],s+=i?i(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function Jn(){return function(e){return U(e,!0)}}function Kn(){return function(e,t){if(!Nr(e)&&!b(e))return e;if(t=1/0===Math.abs(Number(t))?Number(t):p(t),b(e))return t?t>=0?e.slice(0,t):e.slice(t,e.length):"";var n,r,i=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),t>0?(n=0,r=t):(n=e.length+t,r=e.length);r>n;n++)i.push(e[n]);return i}}function Zn(e){return function(t,n,r){function i(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0}function o(e,t){return z(t)?function(t,n){return e(n,t)}:e}function a(e,t){var n=typeof e,r=typeof t;return n==r?(x(e)&&x(t)&&(e=e.valueOf(),t=t.valueOf()),"string"==n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}if(!Nr(t))return t;if(!n)return t;n=Nr(n)?n:[n],n=O(n,function(t){var n=!1,r=t||m;if(b(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),r=e(t),r.constant)){var i=r();return o(function(e,t){return a(e[i],t[i])},n)}return o(function(e,t){return a(r(e),r(t))},n)});for(var s=[],u=0;u<t.length;u++)s.push(t[u]);return s.sort(o(i,r))}}function er(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function tr(e,t,n,r){function i(t,n){n=n?"-"+Z(n,"-"):"",r.removeClass(e,(t?Ui:Ri)+n),r.addClass(e,(t?Ri:Ui)+n)}var a=this,s=e.parent().controller("form")||Oi,u=0,c=a.$error={},l=[];a.$name=t.name||t.ngForm,a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,s.$addControl(a),e.addClass(Bi),i(!0),a.$addControl=function(e){rt(e.$name,"input"),l.push(e),e.$name&&(a[e.$name]=e)},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],o(c,function(t,n){a.$setValidity(n,!0,e)}),M(l,e)},a.$setValidity=function(e,t,n){var r=c[e];if(t)r&&(M(r,n),r.length||(u--,u||(i(t),a.$valid=!0,a.$invalid=!1),c[e]=!1,i(!0,e),s.$setValidity(e,!0,a)));else{if(u||i(t),r){if(P(r,n))return}else c[e]=r=[],u++,i(!1,e),s.$setValidity(e,!1,a);r.push(n),a.$valid=!1,a.$invalid=!0}},a.$setDirty=function(){r.removeClass(e,Bi),r.addClass(e,zi),a.$dirty=!0,a.$pristine=!1,s.$setDirty()},a.$setPristine=function(){r.removeClass(e,zi),r.addClass(e,Bi),a.$dirty=!1,a.$pristine=!0,o(l,function(e){e.$setPristine()})}}function nr(e,t,r,i){return e.$setValidity(t,r),r?i:n}function rr(e,t){var n,r;if(t)for(n=0;n<t.length;++n)if(r=t[n],e[r])return!0;return!1}function ir(e,t,n,r,i){if($(i)){e.$$hasNativeValidators=!0;var o=function(o){return e.$error[t]||rr(i,r)||!rr(i,n)?o:(e.$setValidity(t,!1),void 0)};e.$parsers.push(o)}}function or(e,t,n,i,o,a){var s=t.prop(pr),u=t[0].placeholder,c={};if(i.$$validityState=s,!o.android){var l=!1;t.on("compositionstart",function(){l=!0}),t.on("compositionend",function(){l=!1,f()})}var f=function(r){if(!l){var o=t.val();if(yr&&"input"===(r||c).type&&t[0].placeholder!==u)return u=t[0].placeholder,void 0;z(n.ngTrim||"T")&&(o=Dr(o));var a=s&&i.$$hasNativeValidators;(i.$viewValue!==o||""===o&&a)&&(e.$$phase?i.$setViewValue(o):e.$apply(function(){i.$setViewValue(o)}))}};if(o.hasEvent("input"))t.on("input",f);else{var d,h=function(){d||(d=a.defer(function(){f(),d=null}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||h()}),o.hasEvent("paste")&&t.on("paste cut",h)}t.on("change",f),i.$render=function(){t.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var m,g,v=n.ngPattern;if(v){var y=function(e,t){return nr(i,"pattern",i.$isEmpty(t)||e.test(t),t)};g=v.match(/^\/(.*)\/([gim]*)$/),g?(v=new RegExp(g[1],g[2]),m=function(e){return y(v,e)}):m=function(n){var i=e.$eval(v);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",v,i,V(t));return y(i,n)},i.$formatters.push(m),i.$parsers.push(m)}if(n.ngMinlength){var $=p(n.ngMinlength),b=function(e){return nr(i,"minlength",i.$isEmpty(e)||e.length>=$,e)};i.$parsers.push(b),i.$formatters.push(b)}if(n.ngMaxlength){var w=p(n.ngMaxlength),x=function(e){return nr(i,"maxlength",i.$isEmpty(e)||e.length<=w,e)};i.$parsers.push(x),i.$formatters.push(x)}}function ar(e,t,r,i,o,a){if(or(e,t,r,i,o,a),i.$parsers.push(function(e){var t=i.$isEmpty(e);return t||Li.test(e)?(i.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(i.$setValidity("number",!1),n)}),ir(i,"number",qi,null,i.$$validityState),i.$formatters.push(function(e){return i.$isEmpty(e)?"":""+e}),r.min){var s=function(e){var t=parseFloat(r.min);return nr(i,"min",i.$isEmpty(e)||e>=t,e)};i.$parsers.push(s),i.$formatters.push(s)}if(r.max){var u=function(e){var t=parseFloat(r.max);return nr(i,"max",i.$isEmpty(e)||t>=e,e)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(e){return nr(i,"number",i.$isEmpty(e)||w(e),e)})}function sr(e,t,n,r,i,o){or(e,t,n,r,i,o);var a=function(e){return nr(r,"url",r.$isEmpty(e)||Ii.test(e),e)};r.$formatters.push(a),r.$parsers.push(a)}function ur(e,t,n,r,i,o){or(e,t,n,r,i,o);var a=function(e){return nr(r,"email",r.$isEmpty(e)||Fi.test(e),e)};r.$formatters.push(a),r.$parsers.push(a)}function cr(e,t,n,r){v(n.name)&&t.attr("name",c()),t.on("click",function(){t[0].checked&&e.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function lr(e,t,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;b(i)||(i=!0),b(o)||(o=!1),t.on("click",function(){e.$apply(function(){r.$setViewValue(t[0].checked)})}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e!==i},r.$formatters.push(function(e){return e===i}),r.$parsers.push(function(e){return e?i:o})}function fr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){if(Nr(e))return e;if(b(e))return e.split(" ");if($(e)){var t=[];return o(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t}return e}return{restrict:"AC",link:function(a,s,u){function c(e){var t=f(e,1);u.$addClass(t)}function l(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||{},r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);o=f(o,-1),i=f(i,1),0===i.length?n.removeClass(s,o):0===o.length?n.addClass(s,i):n.setClass(s,i,o)}function d(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!L(e,h)){var r=i(h);p(r,n)}}else c(n)}h=F(e)}var h;a.$watch(u[e],d,!0),u.$observe("class",function(){d(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?c(s):l(s)}})}}}]}var pr="validity",dr=function(e){return b(e)?e.toLowerCase():e},hr=Object.prototype.hasOwnProperty,mr=function(e){return b(e)?e.toUpperCase():e},gr=function(e){return b(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},vr=function(e){return b(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(dr=gr,mr=vr);var yr,$r,br,wr,xr,Cr=[].slice,Sr=[].push,kr=Object.prototype.toString,Tr=r("ng"),Er=e.angular||(e.angular={}),Ar=["0","0","0"];yr=p((/msie (\d+)/.exec(dr(navigator.userAgent))||[])[1]),isNaN(yr)&&(yr=p((/trident\/.*; rv:(\d+)/.exec(dr(navigator.userAgent))||[])[1])),h.$inject=[],m.$inject=[];var Nr=function(){return C(Array.isArray)?Array.isArray:function(e){return"[object Array]"===kr.call(e)}}(),Dr=function(){return String.prototype.trim?function(e){return b(e)?e.trim():e}:function(e){return b(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e}}();xr=9>yr?function(e){return e=e.nodeName?e:e[0],e.scopeName&&"HTML"!=e.scopeName?mr(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var Or=function(){if(y(Or.isActive_))return Or.isActive_;var e=!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"));if(!e)try{new Function("")}catch(n){e=!0}return Or.isActive_=e},Pr=/[A-Z]/g,jr={full:"1.2.22",major:1,minor:2,dot:22,codeName:"finicky-pleasure"};ht.expando="ng339";var Mr=ht.cache={},Ir=1,Fr=e.document.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},Lr=e.document.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)};ht._data=function(e){return this.cache[e[this.expando]]||{}};var Hr=/([\:\-\_]+(.))/g,qr=/^moz([A-Z])/,_r=r("jqLite"),Rr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Ur=/<|&#?\w+;/,Br=/<([\w:]+)/,zr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Vr={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Vr.optgroup=Vr.option,Vr.tbody=Vr.tfoot=Vr.colgroup=Vr.caption=Vr.thead,Vr.th=Vr.td;var Wr=ht.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),ht(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?$r(this[e]):$r(this[this.length+e])},length:0,push:Sr,sort:[].sort,splice:[].splice},Xr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Xr[dr(e)]=e});var Qr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Qr[mr(e)]=!0}),o({data:bt,removeData:yt},function(e,t){ht[t]=e}),o({data:bt,inheritedData:Tt,scope:function(e){return $r.data(e,"$scope")||Tt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return $r.data(e,"$isolateScope")||$r.data(e,"$isolateScopeNoTemplate")},controller:kt,injector:function(e){return Tt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:wt,css:function(e,t,r){if(t=ct(t),!y(r)){var i;return 8>=yr&&(i=e.currentStyle&&e.currentStyle[t],""===i&&(i="auto")),i=i||e.style[t],8>=yr&&(i=""===i?n:i),i}e.style[t]=r},attr:function(e,t,r){var i=dr(t);if(Xr[i]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?n:o}},prop:function(e,t,n){return y(n)?(e[t]=n,void 0):e[t]},text:function(){function e(e,n){var r=t[e.nodeType];return v(n)?r?e[r]:"":(e[r]=n,void 0)}var t=[];return 9>yr?(t[1]="innerText",t[3]="nodeValue"):t[1]=t[3]="textContent",e.$dv="",e}(),val:function(e,t){if(v(t)){if("SELECT"===xr(e)&&e.multiple){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(v(t))return e.innerHTML;for(var n=0,r=e.childNodes;n<r.length;n++)gt(r[n]);e.innerHTML=t},empty:Et},function(e,t){ht.prototype[t]=function(t,r){var i,o,a=this.length;if(e!==Et&&(2==e.length&&e!==wt&&e!==kt?t:r)===n){if($(t)){for(i=0;a>i;i++)if(e===bt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var s=e.$dv,u=s===n?Math.min(a,1):a,c=0;u>c;c++){var l=e(this[c],t,r);s=s?s+l:l}return s}for(i=0;a>i;i++)e(this[i],t,r);return this}}),o({removeData:yt,dealoc:gt,on:function Ao(e,n,r,i){if(y(i))throw _r("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var a=$t(e,"events"),s=$t(e,"handle");a||$t(e,"events",a={}),s||$t(e,"handle",s=Nt(e,a)),o(n.split(" "),function(n){var i=a[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=t.body.contains||t.body.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};a[n]=[];var u={mouseleave:"mouseout",mouseenter:"mouseover"};Ao(e,u[n],function(e){var t=this,r=e.relatedTarget;(!r||r!==t&&!o(t,r))&&s(e,n)})}else Fr(e,n,s),a[n]=[];i=a[n]}i.push(r)})},off:vt,one:function(e,t,n){e=$r(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;gt(e),o(new ht(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){o(new ht(t),function(t){(1===e.nodeType||11===e.nodeType)&&e.appendChild(t)})},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;o(new ht(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=$r(t)[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:function(e){gt(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var n=e,r=e.parentNode;o(new ht(t),function(e){r.insertBefore(e,n.nextSibling),n=e})},addClass:Ct,removeClass:xt,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;v(r)&&(r=!wt(e,t)),(r?Ct:xt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(var t=e.nextSibling;null!=t&&1!==t.nodeType;)t=t.nextSibling;return t},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:mt,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=($t(e,"events")||{})[s];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopPropagation:h,type:s,target:e},t.type&&(r=f(r,t)),i=F(u),a=n?[r].concat(n):[r],o(i,function(t){t.apply(e,a)}))}},function(e,t){ht.prototype[t]=function(t,n,r){for(var i,o=0;o<this.length;o++)v(i)?(i=e(this[o],t,n,r),y(i)&&(i=$r(i))):St(i,e(this[o],t,n,r));return y(i)?i:this},ht.prototype.bind=ht.prototype.on,ht.prototype.unbind=ht.prototype.off}),Ot.prototype={put:function(e,t){this[Dt(e,this.nextUid)]=t},get:function(e){return this[Dt(e,this.nextUid)]},remove:function(e){var t=this[e=Dt(e,this.nextUid)];return delete this[e],t}};var Yr=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Gr=/,/,Jr=/^\s*(_?)(\S+?)\1\s*$/,Kr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Zr=r("$injector"),ei=r("$animate"),ti=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw ei("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(e,t){function n(e){e&&t(e)}return{enter:function(e,t,r,i){r?r.after(e):(t&&t[0]||(t=r.parent()),t.append(e)),n(i)},leave:function(e,t){e.remove(),n(t)},move:function(e,t,n,r){this.enter(e,t,n,r)},addClass:function(e,t,r){t=b(t)?t:Nr(t)?t.join(" "):"",o(e,function(e){Ct(e,t)}),n(r)},removeClass:function(e,t,r){t=b(t)?t:Nr(t)?t.join(" "):"",o(e,function(e){xt(e,t)}),n(r)},setClass:function(e,t,r,i){o(e,function(e){Ct(e,t),xt(e,r)}),n(i)},enabled:h}}]}],ni=r("$compile");_t.$inject=["$provide","$$sanitizeUriProvider"];var ri=/^(x[\:\-_]|data[\:\-_])/i,ii=r("$interpolate"),oi=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,ai={http:80,https:443,ftp:21},si=r("$location");dn.prototype=pn.prototype=fn.prototype={$$html5:!1,$$replace:!1,absUrl:hn("$$absUrl"),url:function(e,t){if(v(e))return this.$$url;var n=oi.exec(e);return n[1]&&this.path(decodeURIComponent(n[1])),(n[2]||n[1])&&this.search(n[3]||""),this.hash(n[5]||"",t),this},protocol:hn("$$protocol"),host:hn("$$host"),port:hn("$$port"),path:mn("$$path",function(e){return"/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(b(e))this.$$search=X(e);else{if(!$(e))throw si("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:mn("$$hash",m),replace:function(){return this.$$replace=!0,this}};var ui,ci=r("$parse"),li={},fi=Function.prototype.call,pi=Function.prototype.apply,di=Function.prototype.bind,hi={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:h,"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"^":function(e,t,n,r){return n(e,t)^r(e,t)},"=":h,"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)<r(e,t)},">":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"&":function(e,t,n,r){return n(e,t)&r(e,t)},"|":function(e,t,n,r){return r(e,t)(e,t,n(e,t))},"!":function(e,t,n){return!n(e,t)}},mi={n:"\n",f:"\f",r:"\r",t:" ",v:"","'":"'",'"':'"'},gi=function(e){this.options=e};gi.prototype={constructor:gi,lex:function(e){for(this.text=e,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch}),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var t=this.ch+this.peek(),r=t+this.peek(2),i=hi[this.ch],o=hi[t],a=hi[r];a?(this.tokens.push({index:this.index,text:r,fn:a}),this.index+=3):o?(this.tokens.push({index:this.index,text:t,fn:o}),this.index+=2):i?(this.tokens.push({index:this.index,text:this.ch,fn:i}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(e){return-1!==e.indexOf(this.ch)},was:function(e){return-1!==e.indexOf(this.lastCh)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||""===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ci("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=dr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}e=1*e,this.tokens.push({index:t,text:e,literal:!0,constant:!0,fn:function(){return e}})},readIdent:function(){for(var e,t,n,r,i=this,o="",a=this.index;this.index<this.text.length&&(r=this.text.charAt(this.index),"."===r||this.isIdent(r)||this.isNumber(r));)"."===r&&(e=this.index),o+=r,this.index++;if(e)for(t=this.index;t<this.text.length;){if(r=this.text.charAt(t),"("===r){n=o.substr(e-a+1),o=o.substr(0,e-a),this.index=t;break}if(!this.isWhitespace(r))break;t++}var s={index:a,text:o};if(hi.hasOwnProperty(o))s.fn=hi[o],s.literal=!0,s.constant=!0;else{var u=Cn(o,this.options,this.text);s.fn=f(function(e,t){return u(e,t)},{assign:function(e,t){return wn(e,o,t,i.text,i.options)}})}this.tokens.push(s),n&&(this.tokens.push({index:e,text:"."}),this.tokens.push({index:e+1,text:n}))},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=mi[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,this.tokens.push({index:t,text:r,string:n,literal:!0,constant:!0,fn:function(){return n}}),void 0;n+=o}this.index++}this.throwError("Unterminated quote",t)}};var vi=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n};vi.ZERO=f(function(){return 0},{constant:!0}),vi.prototype={constructor:vi,parse:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.statements();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t.literal=!!t.literal,t.constant=!!t.constant,t},primary:function(){var e;if(this.expect("("))e=this.filterChain(),this.consume(")");else if(this.expect("["))e=this.arrayDeclaration();else if(this.expect("{"))e=this.object();else{var t=this.expect();e=t.fn,e||this.throwError("not a primary expression",t),e.literal=!!t.literal,e.constant=!!t.constant}for(var n,r;n=this.expect("(","[",".");)"("===n.text?(e=this.functionCall(e,r),r=null):"["===n.text?(r=e,e=this.objectIndex(e)):"."===n.text?(r=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw ci("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw ci("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){if(this.tokens.length>0){var i=this.tokens[0],o=i.text;if(o===e||o===t||o===n||o===r||!e&&!t&&!n&&!r)return i}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(e,t){return f(function(n,r){return e(n,r,t)},{constant:t.constant})},ternaryFn:function(e,t,n){return f(function(r,i){return e(r,i)?t(r,i):n(r,i)},{constant:e.constant&&t.constant&&n.constant})},binaryFn:function(e,t,n){return f(function(r,i){return t(r,i,e,n)},{constant:e.constant&&n.constant})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0;i<e.length;i++){var o=e[i];o&&(r=o(t,n))}return r}},filterChain:function(){for(var e,t=this.expression();;){if(!(e=this.expect("|")))return t;t=this.binaryFn(t,e.fn,this.filter())}},filter:function(){for(var e=this.expect(),t=this.$filter(e.text),n=[];;){if(!(e=this.expect(":"))){var r=function(e,r,i){for(var o=[i],a=0;a<n.length;a++)o.push(n[a](e,r));return t.apply(e,o)};return function(){return r}}n.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),function(t,r){return n.assign(t,e(t,r),r)}):n},ternary:function(){var e,t,n=this.logicalOR();return(t=this.expect("?"))?(e=this.assignment(),(t=this.expect(":"))?this.ternaryFn(n,e,this.assignment()):(this.throwError("expected :",t),void 0)):n},logicalOR:function(){for(var e,t=this.logicalAND();;){if(!(e=this.expect("||")))return t;t=this.binaryFn(t,e.fn,this.logicalAND())}},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND())),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(vi.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(e){var t=this,n=this.expect().text,r=Cn(n,this.options,this.text);return f(function(t,n,i){return r(i||e(t,n))},{assign:function(r,i,o){var a=e(r,o);return a||e.assign(r,a={}),wn(a,n,i,t.text,t.options)}})},objectIndex:function(e){var t=this,r=this.expression();return this.consume("]"),f(function(i,o){var a,s,u=e(i,o),c=r(i,o);return yn(c,t.text),u?(a=$n(u[c],t.text),a&&a.then&&t.options.unwrapPromises&&(s=a,"$$v"in a||(s.$$v=n,s.then(function(e){s.$$v=e})),a=a.$$v),a):n},{assign:function(n,i,o){var a=yn(r(n,o),t.text),s=$n(e(n,o),t.text);return s||e.assign(n,s={}),s[a]=i}})},functionCall:function(e,t){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var a=[],s=t?t(i,o):i,u=0;u<n.length;u++)a.push(n[u](i,o));var c=e(i,o,s)||h;$n(s,r.text),bn(c,r.text);var l=c.apply?c.apply(s,a):c(a[0],a[1],a[2],a[3],a[4]);return $n(l,r.text)}},arrayDeclaration:function(){var e=[],t=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var n=this.expression();e.push(n),n.constant||(t=!1)}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0;i<e.length;i++)r.push(e[i](t,n));return r},{literal:!0,constant:t})},object:function(){var e=[],t=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.expect(),r=n.string||n.text;this.consume(":");var i=this.expression();e.push({key:r,value:i}),i.constant||(t=!1)}while(this.expect(","));return this.consume("}"),f(function(t,n){for(var r={},i=0;i<e.length;i++){var o=e[i];r[o.key]=o.value(t,n)}return r},{literal:!0,constant:t})}};var yi={},$i=r("$sce"),bi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},wi=t.createElement("a"),xi=Ln(e.location.href,!0);_n.$inject=["$provide"],Un.$inject=["$locale"],Bn.$inject=["$locale"];var Ci=".",Si={yyyy:Wn("FullYear",4),yy:Wn("FullYear",2,0,!0),y:Wn("FullYear",1),MMMM:Xn("Month"),MMM:Xn("Month",!0),MM:Wn("Month",2,1),M:Wn("Month",1,1),dd:Wn("Date",2),d:Wn("Date",1),HH:Wn("Hours",2),H:Wn("Hours",1),hh:Wn("Hours",2,-12),h:Wn("Hours",1,-12),mm:Wn("Minutes",2),m:Wn("Minutes",1),ss:Wn("Seconds",2),s:Wn("Seconds",1),sss:Wn("Milliseconds",3),EEEE:Xn("Day"),EEE:Xn("Day",!0),a:Yn,Z:Qn},ki=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,Ti=/^\-?\d+$/;Gn.$inject=["$locale"];var Ei=g(dr),Ai=g(mr);Zn.$inject=["$parse"];var Ni=g({restrict:"E",compile:function(e,n){return 8>=yr&&(n.href||n.name||n.$set("href",""),e.append(t.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(e,t){var n="[object SVGAnimatedString]"===kr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),Di={};o(Xr,function(e,t){if("multiple"!=e){var n=Rt("ng-"+t);
|
||
Di[n]=function(){return{priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(["src","srcset","href"],function(e){var t=Rt("ng-"+e);Di[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===kr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(e){e&&(i.$set(a,e),yr&&o&&r.prop(o,i[a]))})}}}});var Oi={$addControl:h,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h};tr.$inject=["$element","$attrs","$scope","$animate"];var Pi=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:tr,compile:function(){return{pre:function(e,r,i,o){if(!i.action){var a=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};Fr(r[0],"submit",a),r.on("$destroy",function(){t(function(){Lr(r[0],"submit",a)},0,!1)})}var s=r.parent().controller("form"),u=i.name||i.ngForm;u&&wn(e,u,o,u),s&&r.on("$destroy",function(){s.$removeControl(o),u&&wn(e,u,n,u),f(o,Oi)})}}}};return r}]},ji=Pi(),Mi=Pi(!0),Ii=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Fi=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Li=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Hi={text:or,number:ar,url:sr,email:ur,radio:cr,checkbox:lr,hidden:h,button:h,submit:h,reset:h,file:h},qi=["badInput"],_i=["$browser","$sniffer",function(e,t){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(Hi[dr(i.type)]||Hi.text)(n,r,i,o,t,e)}}}],Ri="ng-valid",Ui="ng-invalid",Bi="ng-pristine",zi="ng-dirty",Vi=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(e,t,n,i,a,s){function u(e,t){t=t?"-"+Z(t,"-"):"",s.removeClass(i,(e?Ui:Ri)+t),s.addClass(i,(e?Ri:Ui)+t)}this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var c=a(n.ngModel),l=c.assign;if(!l)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,V(i));this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e};var f=i.inheritedData("$formController")||Oi,p=0,d=this.$error={};i.addClass(Bi),u(!0),this.$setValidity=function(e,t){d[e]!==!t&&(t?(d[e]&&p--,p||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,p++),d[e]=!t,u(t,e),f.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,s.removeClass(i,zi),s.addClass(i,Bi)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,s.removeClass(i,Bi),s.addClass(i,zi),f.$setDirty()),o(this.$parsers,function(e){n=e(n)}),this.$modelValue!==n&&(this.$modelValue=n,l(e,n),o(this.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}}))};var m=this;e.$watch(function(){var t=c(e);if(m.$modelValue!==t){var n=m.$formatters,r=n.length;for(m.$modelValue=t;r--;)t=n[r](t);m.$viewValue!==t&&(m.$viewValue=t,m.$render())}return t})}],Wi=function(){return{require:["ngModel","^?form"],controller:Vi,link:function(e,t,n,r){var i=r[0],o=r[1]||Oi;o.$addControl(i),e.$on("$destroy",function(){o.$removeControl(i)})}}},Xi=g({require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qi=function(){return{require:"?ngModel",link:function(e,t,n,r){if(r){n.required=!0;var i=function(e){return n.required&&r.$isEmpty(e)?(r.$setValidity("required",!1),void 0):(r.$setValidity("required",!0),e)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Yi=function(){return{require:"ngModel",link:function(e,t,r,i){var a=/\/(.*)\//.exec(r.ngList),s=a&&new RegExp(a[1])||r.ngList||",",u=function(e){if(!v(e)){var t=[];return e&&o(e.split(s),function(e){e&&t.push(Dr(e))}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Nr(e)?e.join(", "):n}),i.$isEmpty=function(e){return!e||!e.length}}}},Gi=/^(true|false|\d+)$/,Ji=function(){return{priority:100,compile:function(e,t){return Gi.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ki=er({compile:function(e){return e.addClass("ng-binding"),function(e,t,r){t.data("$binding",r.ngBind),e.$watch(r.ngBind,function(e){t.text(e==n?"":e)})}}}),Zi=["$interpolate",function(e){return function(t,n,r){var i=e(n.attr(r.$attr.ngBindTemplate));n.addClass("ng-binding").data("$binding",i),r.$observe("ngBindTemplate",function(e){n.text(e)})}}],eo=["$sce","$parse",function(e,t){return{compile:function(n){return n.addClass("ng-binding"),function(n,r,i){function o(){return(a(n)||"").toString()}r.data("$binding",i.ngBindHtml);var a=t(i.ngBindHtml);n.$watch(o,function(){r.html(e.getTrustedHtml(a(n))||"")})}}}}],to=fr("",!0),no=fr("Odd",0),ro=fr("Even",1),io=er({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),oo=[function(){return{scope:!0,controller:"@",priority:500}}],ao={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Rt("ng-"+e);ao[t]=["$parse",function(n){return{compile:function(r,i){var o=n(i[t]);return function(t,n){n.on(dr(e),function(e){t.$apply(function(){o(t,{$event:e})})})}}}}]});var so=["$animate",function(e){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(o){z(o)?u||(u=n.$new(),a(u,function(n){n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=ot(s.clone),e.leave(c,function(){c=null}),s=null))})}}}],uo=["$http","$templateCache","$anchorScroll","$animate","$sce",function(e,t,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Er.noop,compile:function(o,a){var s=a.ngInclude||a.src,u=a.onload||"",c=a.autoscroll;return function(o,a,l,f,p){var d,h,m,g=0,v=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),m&&(r.leave(m,function(){h=null}),h=m,m=null)};o.$watch(i.parseAsResourceUrl(s),function(i){var s=function(){!y(c)||c&&!o.$eval(c)||n()},l=++g;i?(e.get(i,{cache:t}).success(function(e){if(l===g){var t=o.$new();f.template=e;var n=p(t,function(e){v(),r.enter(e,null,a,s)});d=t,m=n,d.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===g&&v()}),o.$emit("$includeContentRequested")):(v(),f.template=null)})}}}}],co=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){n.html(i.template),e(n.contents())(t)}}}],lo=er({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),fo=er({terminal:!0,priority:1e3}),po=["$locale","$interpolate",function(e,t){var n=/{}/g;return{restrict:"EA",link:function(r,i,a){var s=a.count,u=a.$attr.when&&i.attr(a.$attr.when),c=a.offset||0,l=r.$eval(u)||{},f={},p=t.startSymbol(),d=t.endSymbol(),h=/^when(Minus)?(.+)$/;o(a,function(e,t){h.test(t)&&(l[dr(t.replace("when","").replace("Minus","-"))]=i.attr(a.$attr[t]))}),o(l,function(e,r){f[r]=t(e.replace(n,p+s+"-"+c+d))}),r.$watch(function(){var t=parseFloat(r.$eval(s));return isNaN(t)?"":(t in l||(t=e.pluralCat(t-c)),f[t](r,i,!0))},function(e){i.text(e)})}}}],ho=["$parse","$animate",function(e,n){function a(e){return e.clone[0]}function s(e){return e.clone[e.clone.length-1]}var u="$$NG_REMOVED",c=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,l,f,p,d){var h,m,g,v,y,$,b,w,x,C=f.ngRepeat,S=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),k={$id:Dt};if(!S)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);if($=S[1],b=S[2],h=S[3],h?(m=e(h),g=function(e,t,n){return x&&(k[x]=e),k[w]=t,k.$index=n,m(r,k)}):(v=function(e,t){return Dt(t)},y=function(e){return e}),S=$.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!S)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",$);w=S[3]||S[1],x=S[2];var T={};r.$watchCollection(b,function(e){var f,p,h,m,$,b,S,k,E,A,N,D,O=l[0],P={},j=[];if(i(e))A=e,E=g||v;else{E=g||y,A=[];for(b in e)e.hasOwnProperty(b)&&"$"!=b.charAt(0)&&A.push(b);A.sort()}for(m=A.length,p=j.length=A.length,f=0;p>f;f++)if(b=e===A?f:A[f],S=e[b],k=E(b,S,f),rt(k,"`track by` id"),T.hasOwnProperty(k))N=T[k],delete T[k],P[k]=N,j[f]=N;else{if(P.hasOwnProperty(k))throw o(j,function(e){e&&e.scope&&(T[e.id]=e)}),c("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",C,k);j[f]={id:k},P[k]=!1}for(b in T)T.hasOwnProperty(b)&&(N=T[b],D=ot(N.clone),n.leave(D),o(D,function(e){e[u]=!0}),N.scope.$destroy());for(f=0,p=A.length;p>f;f++){if(b=e===A?f:A[f],S=e[b],N=j[f],j[f-1]&&(O=s(j[f-1])),N.scope){$=N.scope,h=O;do h=h.nextSibling;while(h&&h[u]);a(N)!=h&&n.move(ot(N.clone),null,$r(O)),O=s(N)}else $=r.$new();$[w]=S,x&&($[x]=b),$.$index=f,$.$first=0===f,$.$last=f===m-1,$.$middle=!($.$first||$.$last),$.$odd=!($.$even=0===(1&f)),N.scope||d($,function(e){e[e.length++]=t.createComment(" end ngRepeat: "+C+" "),n.enter(e,null,$r(O)),O=e,N.scope=$,N.clone=e,P[N.id]=N})}T=P})}}}],mo=["$animate",function(e){return function(t,n,r){t.$watch(r.ngShow,function(t){e[z(t)?"removeClass":"addClass"](n,"ng-hide")})}}],go=["$animate",function(e){return function(t,n,r){t.$watch(r.ngHide,function(t){e[z(t)?"addClass":"removeClass"](n,"ng-hide")})}}],vo=er(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),yo=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,n,r,i){var a=r.ngSwitch||r.on,s=[],u=[],c=[],l=[];t.$watch(a,function(n){var a,f;for(a=0,f=c.length;f>a;++a)c[a].remove();for(c.length=0,a=0,f=l.length;f>a;++a){var p=u[a];l[a].$destroy(),c[a]=p,e.leave(p,function(){c.splice(a,1)})}u.length=0,l.length=0,(s=i.cases["!"+n]||i.cases["?"])&&(t.$eval(r.change),o(s,function(n){var r=t.$new();l.push(r),n.transclude(r,function(t){var r=n.element;u.push(t),e.enter(t,r.parent(),r)})}))})}}}],$o=er({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),bo=er({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),wo=er({link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",V(t));o(function(e){t.empty(),t.append(e)})}}),xo=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Co=r("ngOptions"),So=g({terminal:!0}),ko=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:h};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,a={},u=s;o.databound=n.ngModel,o.init=function(e,t,n){u=e,r=t,i=n},o.addOption=function(t){rt(t,'"option value"'),a[t]=!0,u.$viewValue==t&&(e.val(t),i.parent()&&i.remove())},o.removeOption=function(e){this.hasOption(e)&&(delete a[e],u.$viewValue==e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Dt(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return a.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=h})}],link:function(s,u,c,l){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(S.parent()&&S.remove(),t.val(e),""===e&&h.prop("selected",!0)):v(e)&&h?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){S.parent()&&S.remove(),n.$setViewValue(t.val())})})}function p(e,t,n){var r;n.$render=function(){var e=new Ot(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){L(r,n.$viewValue)||(r=F(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function d(t,o,s){function u(){var e=!1;if($){var n=s.$modelValue;if(S&&Nr(n)){e=new Ot([]);for(var r={},i=0;i<n.length;i++)r[p]=n[i],e.put(S(t,r),n[i])}else e=new Ot(n)}return e}function c(){var e,n,r,i,c,l,v,b,T,E,A,N,D,O,P,j={"":[]},M=[""],I=s.$modelValue,F=g(t)||[],L=d?a(F):F,H={},q=u();for(A=0;T=L.length,T>A;A++){if(v=A,d){if(v=L[A],"$"===v.charAt(0))continue;H[d]=v}if(H[p]=F[v],e=h(t,H)||"",(n=j[e])||(n=j[e]=[],M.push(e)),$)N=y(q.remove(S?S(t,H):m(t,H)));else{if(S){var _={};_[p]=I,N=S(t,_)===S(t,H)}else N=I===m(t,H);q=q||N}P=f(t,H),P=y(P)?P:"",n.push({id:S?S(t,H):d?L[A]:A,label:P,selected:N})}for($||(w||null===I?j[""].unshift({id:"",label:"",selected:!q}):q||j[""].unshift({id:"?",label:"",selected:!0})),E=0,b=M.length;b>E;E++){for(e=M[E],n=j[e],k.length<=E?(i={element:C.clone().attr("label",e),label:n.label},c=[i],k.push(c),o.append(i.element)):(c=k[E],i=c[0],i.label!=e&&i.element.attr("label",i.label=e)),D=null,A=0,T=n.length;T>A;A++)r=n[A],(l=c[A+1])?(D=l.element,l.label!==r.label&&D.text(l.label=r.label),l.id!==r.id&&D.val(l.id=r.id),D[0].selected!==r.selected&&(D.prop("selected",l.selected=r.selected),yr&&D.prop("selected",l.selected))):(""===r.id&&w?O=w:(O=x.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).text(r.label),c.push(l={element:O,label:r.label,id:r.id,selected:r.selected}),D?D.after(O):i.element.append(O),D=O);for(A++;c.length>A;)c.pop().element.remove()}for(;k.length>E;)k.pop()[0].element.remove()}var l;if(!(l=b.match(i)))throw Co("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,V(o));var f=r(l[2]||l[1]),p=l[4]||l[6],d=l[5],h=r(l[3]||""),m=r(l[2]?l[1]:p),g=r(l[7]),v=l[8],S=v?r(l[8]):null,k=[[{element:o,label:""}]];w&&(e(w)(t),w.removeClass("ng-scope"),w.remove()),o.empty(),o.on("change",function(){t.$apply(function(){var e,r,i,a,u,l,f,h,v,y=g(t)||[],b={};if($){for(i=[],l=0,h=k.length;h>l;l++)for(e=k[l],u=1,f=e.length;f>u;u++)if((a=e[u].element)[0].selected){if(r=a.val(),d&&(b[d]=r),S)for(v=0;v<y.length&&(b[p]=y[v],S(t,b)!=r);v++);else b[p]=y[r];i.push(m(t,b))}}else if(r=o.val(),"?"==r)i=n;else if(""===r)i=null;else if(S){for(v=0;v<y.length;v++)if(b[p]=y[v],S(t,b)==r){i=m(t,b);break}}else b[p]=y[r],d&&(b[d]=r),i=m(t,b);s.$setViewValue(i),c()})}),s.$render=c,t.$watchCollection(g,c),$&&t.$watchCollection(function(){return s.$modelValue},c)}if(l[1]){for(var h,m=l[0],g=l[1],$=c.multiple,b=c.ngOptions,w=!1,x=$r(t.createElement("option")),C=$r(t.createElement("optgroup")),S=x.clone(),k=0,T=u.children(),E=T.length;E>k;k++)if(""===T[k].value){h=w=T.eq(k);break}m.init(g,w,S),$&&(g.$isEmpty=function(e){return!e||0===e.length}),b?d(s,u,g):$?p(s,u,g):f(s,u,g,m)}}}}],To=["$interpolate",function(e){var t={addOption:h,removeOption:h};return{restrict:"E",priority:100,compile:function(n,r){if(v(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound?n.prop("selected",!1):s=t,i?e.$watch(i,function(e,t){r.$set("value",e),e!==t&&s.removeOption(t),s.addOption(e)}):s.addOption(r.value),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],Eo=g({restrict:"E",terminal:!0});return e.angular.bootstrap?(console.log("WARNING: Tried to load angular more than once."),void 0):(et(),st(Er),$r(t).ready(function(){J(t,K)}),void 0)}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}.ng-animate-block-transitions{transition:0s all!important;-webkit-transition:0s all!important;}.ng-hide-add-active,.ng-hide-remove{display:block!important;}</style>'),function(e,t,n){"use strict";t.module("ngCookies",["ng"]).factory("$cookies",["$rootScope","$browser",function(e,r){function i(){var e,i,o,u;for(e in s)l(a[e])&&r.cookies(e,n);for(e in a)i=a[e],t.isString(i)?i!==s[e]&&(r.cookies(e,i),u=!0):t.isDefined(s[e])?a[e]=s[e]:delete a[e];if(u){u=!1,o=r.cookies();for(e in a)a[e]!==o[e]&&(l(o[e])?delete a[e]:a[e]=o[e],u=!0)}}var o,a={},s={},u=!1,c=t.copy,l=t.isUndefined;return r.addPollFn(function(){var t=r.cookies();o!=t&&(o=t,c(t,s),c(t,a),u&&e.$apply())})(),u=!0,e.$watch(i),a}]).factory("$cookieStore",["$cookies",function(e){return{get:function(n){var r=e[n];return r?t.fromJson(r):r},put:function(n,r){e[n]=t.toJson(r)},remove:function(t){delete e[t]}}}])}(window,window.angular),/*! Magnific Popup - v0.9.9 - 2013-12-04
|
||
* http://dimsemenov.com/plugins/magnific-popup/
|
||
* Copyright (c) 2013 Dmitry Semenov; */
|
||
function(e){var t,n,r,i,o,a,s,u="Close",c="BeforeClose",l="AfterClose",f="BeforeAppend",p="MarkupParse",d="Open",h="Change",m="mfp",g="."+m,v="mfp-ready",y="mfp-removing",$="mfp-prevent-close",b=function(){},w=!!window.jQuery,x=e(window),C=function(e,n){t.ev.on(m+e+g,n)},S=function(t,n,r,i){var o=document.createElement("div");return o.className="mfp-"+t,r&&(o.innerHTML=r),i?n&&n.appendChild(o):(o=e(o),n&&o.appendTo(n)),o},k=function(n,r){t.ev.triggerHandler(m+n,r),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(r)?r:[r]))},T=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new b,t.init(),e.magnificPopup.instance=t)},A=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};b.prototype={constructor:b,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=A(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(n){r||(r=e(document.body));var o;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var s,u=n.items;for(o=0;u.length>o;o++)if(s=u[o],s.parsed&&(s=s.el[0]),s===n.el[0]){t.index=o;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):i,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=S("bg").on("click"+g,function(){t.close()}),t.wrap=S("wrap").attr("tabindex",-1).on("click"+g,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=S("container",t.wrap)),t.contentContainer=S("content"),t.st.preloader&&(t.preloader=S("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(o=0;c.length>o;o++){var l=c[o];l=l.charAt(0).toUpperCase()+l.slice(1),t["init"+l].call(t)}k("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(C(p,function(e,t,n,r){n.close_replaceWith=T(r.type)}),a+=" mfp-close-btn-in"):t.wrap.append(T())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:x.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+g,function(e){27===e.keyCode&&t.close()}),x.on("resize"+g,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var f=t.wH=x.height(),h={};if(t.fixedContentPos&&t._hasScrollBar(f)){var m=t._getScrollbarSize();m&&(h.marginRight=m)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):h.overflow="hidden");var y=t.st.mainClass;return t.isIE7&&(y+=" mfp-ie7"),y&&t._addClassToMFP(y),t.updateItemHTML(),k("BuildControls"),e("html").css(h),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||r),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),i.on("focusin"+g,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(f),k(d),n},close:function(){t.isOpen&&(k(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(y),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){k(u);var n=y+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var r={marginRight:""};t.isIE7?e("body, html").css("overflow",""):r.overflow="",e("html").css(r)}i.off("keyup"+g+" focusin"+g),t.ev.off(g),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,k(l)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,r=window.innerHeight*n;t.wrap.css("height",r),t.wH=r}else t.wH=e||x.height();t.fixedContentPos||t.wrap.css("height",t.wH),k("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var r=n.type;if(k("BeforeChange",[t.currItem?t.currItem.type:"",r]),t.currItem=n,!t.currTemplate[r]){var i=t.st[r]?t.st[r].markup:!1;k("FirstMarkupParse",i),t.currTemplate[r]=i?e(i):!0}o&&o!==n.type&&t.container.removeClass("mfp-"+o+"-holder");var a=t["get"+r.charAt(0).toUpperCase()+r.slice(1)](n,t.currTemplate[r]);t.appendContent(a,r),n.preloaded=!0,k(h,n),o=n.type,t.container.prepend(t.contentContainer),k("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[n]===!0?t.content.find(".mfp-close").length||t.content.append(T()):t.content=e:t.content="",k(f),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var r=t.items[n],i=r.type;if(r=r.tagName?{el:e(r)}:{data:r,src:r.src},r.el){for(var o=t.types,a=0;o.length>a;a++)if(r.el.hasClass("mfp-"+o[a])){i=o[a];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=i||t.st.type||"inline",r.index=n,r.parsed=!0,t.items[n]=r,k("ElementParse",r),t.items[n]},addGroup:function(e,n){var r=function(r){r.mfpEl=this,t._openClick(r,e,n)};n||(n={});var i="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(i).on(i,r)):(n.isObj=!1,n.delegate?e.off(i).on(i,n.delegate,r):(n.items=e,e.off(i).on(i,r)))},_openClick:function(n,r,i){var o=void 0!==i.midClick?i.midClick:e.magnificPopup.defaults.midClick;if(o||2!==n.which&&!n.ctrlKey&&!n.metaKey){var a=void 0!==i.disableOn?i.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(a>x.width())return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),i.el=e(n.mfpEl),i.delegate&&(i.items=r.find(i.delegate)),t.open(i)}},updateStatus:function(e,r){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),r||"loading"!==e||(r=t.st.tLoading);var i={status:e,text:r};k("UpdateStatus",i),e=i.status,r=i.text,t.preloader.html(r),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass($)){var r=t.st.closeOnContentClick,i=t.st.closeOnBgClick;if(r&&i)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(r)return!0}else if(i&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||x.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),k(p,[t,n,r]),e.each(n,function(e,n){if(void 0===n||n===!1)return!0;if(i=e.split("_"),i.length>1){var r=t.find(g+"-"+i[0]);if(r.length>0){var o=i[1];"replaceWith"===o?r[0]!==n[0]&&r.replaceWith(n):"img"===o?r.is("img")?r.attr("src",n):r.replaceWith('<img src="'+n+'" class="'+r.attr("class")+'" />'):r.attr(i[1],n)}}else t.find(g+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:b.prototype,modules:[],open:function(t,n){return E(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){E();var r=e(this);if("string"==typeof n)if("open"===n){var i,o=w?r.data("magnificPopup"):r[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?i=o.items[a]:(i=r,o.delegate&&(i=i.find(o.delegate)),i=i.eq(a)),t._openClick({mfpEl:i},r,o)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),w?r.data("magnificPopup",n):r[0].magnificPopup=n,t.addGroup(r,n);return r};var N,D,O,P="inline",j=function(){O&&(D.after(O.addClass(N)).detach(),O=null)};e.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(P),C(u+"."+P,function(){j()})},getInline:function(n,r){if(j(),n.src){var i=t.st.inline,o=e(n.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(D||(N=i.hiddenClass,D=S(N),N="mfp-"+N),O=o.after(D).detach().removeClass(N)),t.updateStatus("ready")}else t.updateStatus("error",i.tNotFound),o=e("<div>");return n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(r,{},n),r}}});var M,I="ajax",F=function(){M&&r.removeClass(M)},L=function(){F(),t.req&&t.req.abort()};e.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(I),M=t.st.ajax.cursor,C(u+"."+I,L),C("BeforeChange."+I,L)},getAjax:function(n){M&&r.addClass(M),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(r,i,o){var a={data:r,xhr:o};k("ParseAjax",a),t.appendContent(e(a.data),I),n.finished=!0,F(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),k("AjaxContentAdded")},error:function(){F(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var H,q=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var r=t.st.image.titleSrc;if(r){if(e.isFunction(r))return r.call(t,n);if(n.el)return n.el.attr(r)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=t.st.image,n=".image";t.types.push("image"),C(d+n,function(){"image"===t.currItem.type&&e.cursor&&r.addClass(e.cursor)}),C(u+n,function(){e.cursor&&r.removeClass(e.cursor),x.off("resize"+g)}),C("Resize"+n,t.resizeImage),t.isLowIE&&C("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,H&&clearInterval(H),e.isCheckingImgSize=!1,k("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,r=e.img[0],i=function(o){H&&clearInterval(H),H=setInterval(function(){return r.naturalWidth>0?(t._onImageHasSize(e),void 0):(n>200&&clearInterval(H),n++,3===n?i(10):40===n?i(50):100===n&&i(500),void 0)},o)};i(1)},getImage:function(n,r){var i=0,o=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,k("ImageLoadComplete")):(i++,200>i?setTimeout(o,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,u=r.find(".mfp-img");if(u.length){var c=document.createElement("img");c.className="mfp-img",n.img=e(c).on("load.mfploader",o).on("error.mfploader",a),c.src=n.src,u.is("img")&&(n.img=n.img.clone()),c=n.img[0],c.naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(r,{title:q(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(H&&clearInterval(H),n.loadError?(r.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(r.removeClass("mfp-loading"),t.updateStatus("ready")),r):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,r.addClass("mfp-loading"),t.findImageSize(n)),r)}}});var _,R=function(){return void 0===_&&(_=void 0!==document.createElement("p").style.MozTransform),_};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,r=".zoom";if(n.enabled&&t.supportsTransition){var i,o,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=r,t.css(i),t},l=function(){t.content.css("visibility","visible")};C("BuildControls"+r,function(){if(t._allowZoom()){if(clearTimeout(i),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return l(),void 0;o=s(e),o.css(t._getOffset()),t.wrap.append(o),i=setTimeout(function(){o.css(t._getOffset(!0)),i=setTimeout(function(){l(),setTimeout(function(){o.remove(),e=o=null,k("ZoomAnimationEnded")},16)},a)},16)}}),C(c+r,function(){if(t._allowZoom()){if(clearTimeout(i),t.st.removalDelay=a,!e){if(e=t._getItemToZoom(),!e)return;o=s(e)}o.css(t._getOffset(!0)),t.wrap.append(o),t.content.css("visibility","hidden"),setTimeout(function(){o.css(t._getOffset())},16)}}),C(u+r,function(){t._allowZoom()&&(l(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(n){var r;r=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var i=r.offset(),o=parseInt(r.css("padding-top"),10),a=parseInt(r.css("padding-bottom"),10);i.top-=e(window).scrollTop()-o;var s={width:r.width(),height:(w?r.innerHeight():r[0].offsetHeight)-a-o};return R()?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var U="iframe",B="//about:blank",z=function(e){if(t.currTemplate[U]){var n=t.currTemplate[U].find("iframe");n.length&&(e||(n[0].src=B),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(U,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(U),C("BeforeChange",function(e,t,n){t!==n&&(t===U?z():n===U&&z(!0))}),C(u+"."+U,function(){z()})},getIframe:function(n,r){var i=n.src,o=t.st.iframe;e.each(o.patterns,function(){return i.indexOf(this.index)>-1?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var a={};return o.srcAction&&(a[o.srcAction]=i),t._parseMarkup(r,a,n),t.updateStatus("ready"),r}}});var V=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},W=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,r=".mfp-gallery",o=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(a+=" mfp-gallery",C(d+r,function(){n.navigateByImgClick&&t.wrap.on("click"+r,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),i.on("keydown"+r,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),C("UpdateStatus"+r,function(e,n){n.text&&(n.text=W(n.text,t.currItem.index,t.items.length))}),C(p+r,function(e,r,i,o){var a=t.items.length;i.counter=a>1?W(n.tCounter,o.index,a):""}),C("BuildControls"+r,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var r=n.arrowMarkup,i=t.arrowLeft=e(r.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass($),a=t.arrowRight=e(r.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass($),s=o?"mfpFastClick":"click";i[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(S("b",i[0],!1,!0),S("a",i[0],!1,!0),S("b",a[0],!1,!0),S("a",a[0],!1,!0)),t.container.append(i.add(a))}}),C(h+r,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),C(u+r,function(){i.off(r),t.wrap.off("click"+r),t.arrowLeft&&o&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=V(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=V(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,r=Math.min(n[0],t.items.length),i=Math.min(n[1],t.items.length);for(e=1;(t.direction?i:r)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?r:i)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=V(n),!t.items[n].preloaded){var r=t.items[n];r.parsed||(r=t.parseEl(n)),k("LazyLoad",r),"image"===r.type&&(r.img=e('<img class="mfp-img" />').on("load.mfploader",function(){r.hasSize=!0}).on("error.mfploader",function(){r.hasSize=!0,r.loadError=!0,k("LazyLoadError",r)}).attr("src",r.src)),r.preloaded=!0}}}});var X="retina";e.magnificPopup.registerModule(X,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(C("ImageHasSize."+X,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),C("ElementParse."+X,function(t,r){r.src=e.replaceSrc(r,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){x.off("touchmove"+o+" touchend"+o)},i="mfpFastClick",o="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var a,s=e(this);if(n){var u,c,l,f,p,d;s.on("touchstart"+o,function(e){f=!1,d=1,p=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],c=p.clientX,l=p.clientY,x.on("touchmove"+o,function(e){p=e.originalEvent?e.originalEvent.touches:e.touches,d=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-l)>10)&&(f=!0,r())}).on("touchend"+o,function(e){r(),f||d>1||(a=!0,e.preventDefault(),clearTimeout(u),u=setTimeout(function(){a=!1},t),i())})})}s.on("click"+o,function(){a||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+o+" click"+o),n&&x.off("touchmove"+o+" touchend"+o)}}(),E()}(window.jQuery||window.Zepto),function(){var e;e=angular.module("adminApp",["ngCookies"]),e.config(["$locationProvider",function(e){return e.html5Mode(!0),e.hashPrefix("!")}]),e.controller("AdminIndexCtrl",["$scope","$location","$q","$cookieStore",function(e,t,n,r){return e.host=t.search().host||r.get("host")||t.host(),e.port=t.search().port||r.get("port"),e.database=t.search().database||r.get("database"),e.username=t.search().username||r.get("username"),e.password=t.search().password||r.get("password"),e.ssl=r.get("ssl")||!1,e.authenticated=!1,e.isClusterAdmin=!1,e.databases=[],e.admins=[],e.data=[],e.readQuery=null,e.writeSeriesName=null,e.writeValues=null,e.successMessage="OK",e.alertMessage="Error",e.authMessage="",e.queryMessage="",e.selectedPane="databases",e.selectedSubPane="users",e.newDbUser={},e.interfaces=[],e.databaseUsers=[],e.databaseUser=null,e.successMessage="",e.failureMessage="",e.shardSpaces=[],e.shardSpaceDurations=["15m","30m","1h","4h","12h","1d","7d","30d","180d"],e.shardSpaceRetentionPolicies=["1h","4h","12h","1d","7d","30d","60d","90d","180d","365d","730d","inf"],e.shardSpaceReplicationFactors=[1,3,4,5,6],e.shardSpaceSplits=[1,2,3,4,5,6,7,8,9,10],e.newAdminUsername=null,e.newAdminPassword=null,e.newUserPassword=null,e.newUserPasswordConfirmation=null,window.influxdb=null,e.alertSuccess=function(t){return e.successMessage=t,$("#alert-success").show().delay(2500).fadeOut(500)},e.alertFailure=function(t){return e.failureMessage=t,$("#alert-failure").show().delay(2500).fadeOut(500)},e.getHashParams=function(){return t.search()},e.setHashParams=function(e){return t.search(e)},e.humanize=function(e){return e.replace(/_/g," ").replace(/(\w+)/g,function(e){return e.charAt(0).toUpperCase()+e.slice(1)})},e.setCurrentInterface=function(t){return $("iframe").prop("src","/interfaces/"+t),e.selectedPane="data"},e.showDefaultInterface=function(t){return window.influxdb.database=t,$("iframe").prop("src","/interfaces/default"),e.selectedPane="data"},e.authenticateUser=function(){return e.database?e.authenticateAsDatabaseAdmin():e.authenticateAsClusterAdmin()},e.authenticateAsClusterAdmin=function(){return window.influxdb=new InfluxDB({hosts:[e.host],port:e.port,username:e.username,password:e.password,ssl:e.ssl}),n.when(window.influxdb.authenticateClusterAdmin()).then(function(){return e.authenticated=!0,e.isClusterAdmin=!0,e.isDatabaseAdmin=!1,e.selectedPane="databases",e.selectedSubPane="users",e.storeAuthenticatedCredentials(),e.getDatabases(),e.getClusterAdmins(),e.database&&(e.selectedDatabase=e.database,e.getDatabaseUsers()),t.search({})},function(t){return e.alertFailure("Couldn't authenticate user: "+t.responseText)})},e.authenticateAsDatabaseAdmin=function(){return window.influxdb=new InfluxDB({host:e.host,port:e.port,username:e.username,password:e.password,database:e.database,ssl:e.ssl}),n.when(window.influxdb.authenticateDatabaseUser(e.database)).then(function(){return e.authenticated=!0,e.isDatabaseAdmin=!0,e.isClusterAdmin=!1,e.selectedPane="databases",e.selectedSubPane="users",e.selectedDatabase=e.database,t.search({}),e.storeAuthenticatedCredentials(),e.getDatabaseUsers()},function(){return e.authenticateAsClusterAdmin()})},e.storeAuthenticatedCredentials=function(){return r.put("username",e.username),r.put("password",e.password),r.put("database",e.database),r.put("host",e.host),r.put("port",e.port),r.put("ssl",e.ssl)},e.getDatabases=function(){return n.when(window.influxdb.getDatabases()).then(function(t){return e.databases=t,e.shardSpaces=[],e.addShardSpace()})},e.getClusterAdmins=function(){return n.when(window.influxdb.getClusterAdmins()).then(function(t){return e.admins=t})},e.deleteClusterAdmin=function(t){return e.username===t?e.alertFailure("You can't delete the cluster admin you're currently logged in as."):n.when(window.influxdb.deleteClusterAdmin(t)).then(function(){return e.alertSuccess("Successfully deleted cluster admin: "+t),e.getClusterAdmins()},function(t){return e.alertFailure("Failed to deleted cluster admin: "+t.responseText)})},e.createClusterAdmin=function(){return n.when(window.influxdb.createClusterAdmin(e.newAdminUsername,e.newAdminPassword)).then(function(){return e.alertSuccess("Successfully created user: "+e.newAdminUsername),e.newAdminUsername=null,e.newAdminPassword=null,e.getClusterAdmins()},function(t){return e.alertFailure("Failed to create user: "+t.responseText)})},e.addShardSpace=function(){return e.shardSpaces.push({name:"default",regEx:"/.*/",retentionPolicy:"inf",shardDuration:"7d",replicationFactor:1,split:1})},e.removeShardSpace=function(t){return e.shardSpaces.splice(t,1),0===e.shardSpaces.length?e.addShardSpace():void 0},e.createDatabase=function(){var t;return t={spaces:e.shardSpaces},n.when(window.influxdb.createDatabaseConfig(e.newDatabaseName,t)).then(function(){return e.alertSuccess("Successfully created database: "+e.newDatabaseName),e.newDatabaseName=null,e.getDatabases()},function(t){return e.alertFailure("Failed to create database: "+t.responseText)})},e.createDatabaseUser=function(){return n.when(window.influxdb.createUser(e.selectedDatabase,e.newDbUser.username,e.newDbUser.password)).then(function(){var t;return e.alertSuccess("Successfully created user: "+e.newDbUser.username),t={admin:e.newDbUser.isAdmin},window.influxdb.updateDatabaseUser(e.selectedDatabase,e.newDbUser.username,t),e.newDbUser={},e.getDatabaseUsers()},function(t){return e.alertFailure("Failed to create user: "+t.responseText)})},e.deleteDatabase=function(t){return n.when(window.influxdb.deleteDatabase(t)).then(function(){return e.alertSuccess("Successfully removed database: "+t),e.getDatabases()},function(t){return e.alertFailure("Failed to remove database: "+t.responseText)})},e.authError=function(t){return e.authMessage=t,$("span#authFailure").show().delay(1500).fadeOut(500)},e.error=function(t){return e.alertMessage=t,$("span#writeFailure").show().delay(1500).fadeOut(500)},e.success=function(t){return e.successMessage=t,$("span#writeSuccess").show().delay(1500).fadeOut(500)},e.filteredColumns=function(e){return e.columns.filter(function(e){return"time"!==e&&"sequence_number"!==e})},e.columnPoints=function(e,t){var n;return n=e.columns.indexOf(t),e.points.map(function(e){return{time:new Date(e[0]),value:e[n]}})},e.getDatabaseUsers=function(){return n.when(window.influxdb.getDatabaseUsers(e.selectedDatabase)).then(function(t){return e.databaseUsers=t})},e.getDatabaseUser=function(){return n.when(window.influxdb.getDatabaseUser(e.selectedDatabase,e.selectedDatabaseUser)).then(function(t){return e.databaseUser=t})},e.showSelectedDatabase=function(){return e.selectedPane="databases",e.selectedSubPane="users",e.selectedDatabaseUser=null,e.getDatabaseUsers()},e.showDatabases=function(){return e.getDatabases(),e.selectedPane="databases",e.selectedSubPane="users",e.selectedDatabase=null,e.selectedDatabaseUser=null},e.showDatabase=function(t){return e.selectedDatabase=t.name,e.selectedDatabaseUser=null,e.getDatabaseUsers()},e.showDatabaseUsers=function(){return e.selectedDatabaseUser=null,e.selectedSubPane="users",e.getDatabaseUsers()},e.getContinuousQueries=function(){return n.when(window.influxdb.getClusterConfiguration()).then(function(t){return e.continuousQueries=t.ContinuousQueries[e.selectedDatabase]})},e.showContinuousQueries=function(){return e.selectedDatabaseUser=null,e.selectedSubPane="continuousQueries",e.getContinuousQueries()},e.showDbSettings=function(){return e.selectedDatabaseUser=null,e.selectedSubPane="settings",e.getDatabaseUsers(),e.getContinuousQueries()},e.showClusterAdmins=function(){return e.getClusterAdmins(),e.selectedPane="admins",e.selectedClusterAdmin=null},e.showClusterConfiguration=function(){return e.getClusterServers(),e.getClusterShards(),e.getClusterShardSpaces(),e.selectedPane="cluster"},e.getClusterServers=function(){return n.when(window.influxdb.getClusterServers()).then(function(t){return e.clusterServers=t})},e.getClusterShards=function(){return n.when(window.influxdb.getClusterShards()).then(function(t){return e.clusterShards=t})},e.getClusterShardSpaces=function(){return n.when(window.influxdb.getClusterShardSpaces()).then(function(t){return e.clusterShardSpaces=t})},e.deleteClusterShard=function(t){return n.when(window.influxdb.deleteClusterShard(t.id,t.serverIds)).then(function(){return e.alertSuccess("Successfully deleted shard: '"+t.id+"'"),e.getClusterShards()},function(t){return e.alertFailure("Failed to delete shard: "+t.responseText)})},e.showClusterAdmin=function(t){return e.selectedClusterAdmin=t.name},e.showDatabaseUser=function(t){return e.selectedDatabaseUser=t.name,e.getDatabaseUser()},e.changeDbUserPassword=function(){var t;return e.dbUserPassword!==e.dbUserPasswordConfirmation?e.alertFailure("Sorry, the passwords don't match."):null===e.dbUserPassword||""===e.dbUserPassword?e.alertFailure("Sorry, passwords cannot be blank."):(t={password:e.dbUserPassword},n.when(window.influxdb.updateDatabaseUser(e.selectedDatabase,e.selectedDatabaseUser,t)).then(function(){return e.alertSuccess("Successfully changed password for '"+e.selectedDatabaseUser+"'"),e.dbUserPassword=null,e.dbUserPasswordConfirmation=null},function(t){return e.alertFailure("Failed to change password for user: "+t.responseText)}))},e.changeClusterAdminPassword=function(){var t;return e.clusterAdminPassword!==e.clusterAdminPasswordConfirmation?e.alertFailure("Sorry, the passwords don't match."):null===e.clusterAdminPassword||""===e.clusterAdminPassword?e.alertFailure("Sorry, passwords cannot be blank."):(t={password:e.clusterAdminPassword},n.when(window.influxdb.updateClusterAdmin(e.selectedClusterAdmin,t)).then(function(){return e.alertSuccess("Successfully changed password for '"+e.selectedClusterAdmin+"'"),e.clusterAdminPassword=null,e.clusterAdminPasswordConfirmation=null},function(t){return e.alertFailure("Failed to change password for cluster admin: "+t.responseText)}))},e.updateDatabaseUser=function(){var t;return t={admin:e.databaseUser.isAdmin},n.when(window.influxdb.updateDatabaseUser(e.selectedDatabase,e.selectedDatabaseUser,t)).then(function(){return e.alertSuccess("Successfully updated database user '"+e.selectedDatabaseUser+"'"),e.getDatabaseUsers()},function(t){return e.alertFailure("Failed to update database user: "+t.responseText)})},e.deleteDatabaseUser=function(t){return n.when(window.influxdb.deleteDatabaseUser(e.selectedDatabase,t)).then(function(){return e.alertSuccess("Successfully delete user: "+t),e.getDatabaseUsers()},function(t){return e.alertFailure("Failed to delete user: "+t.responseText)})}}]),e.directive("ngConfirmClick",[function(){return{priority:-1,restrict:"A",link:function(e,t,n){return t.bind("click",function(e){var t;return t=n.ngConfirmClick,t&&!confirm(t)?(e.stopImmediatePropagation(),e.preventDefault()):void 0})}}}])}.call(this),function(){$(function(){var e;return e=function(){return parent.document.getElementById("explorer").style.height=window.innerHeight-45+"px"},e(),$(window).on("resize",e),window.getHashParams=function(){return angular.element(document.getElementsByTagName("body")[0]).scope().getHashParams()},window.setHashParams=function(e){return angular.element(document.getElementsByTagName("body")[0]).scope().setHashParams(e)},$(document).foundation()})}.call(this); |