function isEmpty(t){return angular.isUndefined(t)||""===t||null===t||t!=t}function initializeMap(){var t=document.getElementById("map_canvas"),e=t.dataset.phoneLabel,n=t.dataset.emailLabel,r=t.dataset.name,i=t.dataset.address,o=new google.maps.LatLng(42.6676395,23.4124624,19),a=new google.maps.InfoWindow({maxHeight:500}),s={scrollwheel:!1,center:o,zoom:18,streetViewControl:!1,mapTypeId:google.maps.MapTypeId.ROADMAP},u=[{stylers:[{saturation:-100}]}],l=new google.maps.Map(t,s);l.setOptions({styles:u});var c=new google.maps.Marker({position:o,map:l,title:"\u041a\u043e\u043d\u0435\u043a"});google.maps.event.addListener(c,"click",function(){a.setContent('<div><h6 style="margin-bottom: 10px;"><strong>'+r+"</strong></h6>"+i+"<br /><br />"+e+' <a href="tel:+359 (0)2 973 2260">+359 (0)2 973 2260</a><br /><br />'+n+' <a href="mailto:office@konek.bg">office@konek.bg</a><br /><br /><a target="_blank" href="https://www.google.com/maps/place/42%C2%B040\'03.5%22N+23%C2%B024\'44.9%22E/@42.6675891,23.4120531,18z/data=!4m6!3m5!1s0x0:0x0!7e2!8m2!3d42.6676395!4d23.4124624?hl=en-US">Google Maps</a></div>'),a.open(l,c)})}function ready(){$(window).on("resize",square).resize(),$(window).scroll(function(){var t=$(".login-anchor").offset().top-$(window).scrollTop();$(".scrollToTop").css("visibility",t<=0?"visible":"hidden")}).trigger("scroll"),0<$("#map_canvas").length&&initializeMap(),mobileNav()}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(C,t){function s(t){var e=!!t&&"length"in t&&t.length,n=ht.type(t);return"function"!==n&&!ht.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function e(t,n,r){if(ht.isFunction(n))return ht.grep(t,function(t,e){return!!n.call(t,e,t)!==r});if(n.nodeType)return ht.grep(t,function(t){return t===n!==r});if("string"==typeof n){if(Ct.test(n))return ht.filter(n,t,r);n=ht.filter(n,t)}return ht.grep(t,function(t){return-1<ht.inArray(t,n)!==r})}function n(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function c(t){var n={};return ht.each(t.match(Dt)||[],function(t,e){n[e]=!0}),n}function i(){rt.addEventListener?(rt.removeEventListener("DOMContentLoaded",o),C.removeEventListener("load",o)):(rt.detachEvent("onreadystatechange",o),C.detachEvent("onload",o))}function o(){(rt.addEventListener||"load"===C.event.type||"complete"===rt.readyState)&&(i(),ht.ready())}function u(t,e,n){if(n===undefined&&1===t.nodeType){var r="data-"+e.replace(Mt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Rt.test(n)?ht.parseJSON(n):n)}catch(i){}ht.data(t,e,n)}else n=undefined}return n}function l(t){var e;for(e in t)if(("data"!==e||!ht.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function r(t,e,n,r){if(Ot(t)){var i,o,a=ht.expando,s=t.nodeType,u=s?ht.cache:t,l=s?t[a]:t[a]&&a;if(l&&u[l]&&(r||u[l].data)||n!==undefined||"string"!=typeof e)return l||(l=s?t[a]=nt.pop()||ht.guid++:a),u[l]||(u[l]=s?{}:{toJSON:ht.noop}),"object"!=typeof e&&"function"!=typeof e||(r?u[l]=ht.extend(u[l],e):u[l].data=ht.extend(u[l].data,e)),o=u[l],r||(o.data||(o.data={}),o=o.data),n!==undefined&&(o[ht.camelCase(e)]=n),"string"==typeof e?null==(i=o[e])&&(i=o[ht.camelCase(e)]):i=o,i}}function a(t,e,n){if(Ot(t)){var r,i,o=t.nodeType,a=o?ht.cache:t,s=o?t[ht.expando]:ht.expando;if(a[s]){if(e&&(r=n?a[s]:a[s].data)){i=(e=ht.isArray(e)?e.concat(ht.map(e,ht.camelCase)):e in r?[e]:(e=ht.camelCase(e))in r?[e]:e.split(" ")).length;for(;i--;)delete r[e[i]];if(n?!l(r):!ht.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?ht.cleanData([t],!0):ft.deleteExpando||a!=a.window?delete a[s]:a[s]=undefined)}}}function f(t,e,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return ht.css(t,e,"")},u=s(),l=n&&n[3]||(ht.cssNumber[e]?"":"px"),c=(ht.cssNumber[e]||"px"!==l&&+u)&&Ht.exec(ht.css(t,e));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;c/=o=o||".5",ht.style(t,e,c+l),o!==(o=s()/u)&&1!==o&&--a;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function g(t){var e=Xt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function v(t,e){var n,r,i=0,o="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):undefined;if(!o)for(o=[],n=t.childNodes||t;null!=(r=n[i]);i++)!e||ht.nodeName(r,e)?o.push(r):ht.merge(o,v(r,e));return e===undefined||e&&ht.nodeName(t,e)?ht.merge([t],o):o}function y(t,e){for(var n,r=0;null!=(n=t[r]);r++)ht._data(n,"globalEval",!e||ht._data(e[r],"globalEval"))}function $(t){Bt.test(t.type)&&(t.defaultChecked=t.checked)}function m(t,e,n,r,i){for(var o,a,s,u,l,c,f,d=t.length,h=g(e),p=[],m=0;m<d;m++)if((a=t[m])||0===a)if("object"===ht.type(a))ht.merge(p,a.nodeType?[a]:a);else if(Gt.test(a)){for(u=u||h.appendChild(e.createElement("div")),l=(Vt.exec(a)||["",""])[1].toLowerCase(),f=Qt[l]||Qt._default,u.innerHTML=f[1]+ht.htmlPrefilter(a)+f[2],o=f[0];o--;)u=u.lastChild;if(!ft.leadingWhitespace&&zt.test(a)&&p.push(e.createTextNode(zt.exec(a)[0])),!ft.tbody)for(o=(a="table"!==l||Yt.test(a)?"<table>"!==f[1]||Yt.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)ht.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(ht.merge(p,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=h.lastChild}else p.push(e.createTextNode(a));for(u&&h.removeChild(u),ft.appendChecked||ht.grep(v(p,"input"),$),m=0;a=p[m++];)if(r&&-1<ht.inArray(a,r))i&&i.push(a);else if(s=ht.contains(a.ownerDocument,a),u=v(h.appendChild(a),"script"),s&&y(u),n)for(o=0;a=u[o++];)Wt.test(a.type||"")&&n.push(a);return u=null,h}function d(){return!0}function h(){return!1}function p(){try{return rt.activeElement}catch(t){}}function b(t,e,n,r,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=undefined),e)b(t,s,n,r,e[s],o);return t}if(null==r&&null==i?(i=n,r=n=undefined):null==i&&("string"==typeof n?(i=r,r=undefined):(i=r,r=n,n=undefined)),!1===i)i=h;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return ht().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=ht.guid++)),t.each(function(){ht.event.add(this,e,i,r,n)})}function w(t,e){return ht.nodeName(t,"table")&&ht.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function x(t){return t.type=(null!==ht.find.attr(t,"type"))+"/"+t.type,t}function T(t){var e=se.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function S(t,e){if(1===e.nodeType&&ht.hasData(t)){var n,r,i,o=ht._data(t),a=ht._data(e,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)ht.event.add(e,n,s[n][r]);a.data&&(a.data=ht.extend({},a.data))}}function E(t,e){var n,r,i;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!ft.noCloneEvent&&e[ht.expando]){for(r in(i=ht._data(e)).events)ht.removeEvent(e,r,i.handle);e.removeAttribute(ht.expando)}"script"===n&&e.text!==t.text?(x(e).text=t.text,T(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ft.html5Clone&&t.innerHTML&&!ht.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Bt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}function k(n,r,i,o){r=ot.apply([],r);var t,e,a,s,u,l,c=0,f=n.length,d=f-1,h=r[0],p=ht.isFunction(h);if(p||1<f&&"string"==typeof h&&!ft.checkClone&&ae.test(h))return n.each(function(t){var e=n.eq(t);p&&(r[0]=h.call(this,t,e.html())),k(e,r,i,o)});if(f&&(t=(l=m(r,n[0].ownerDocument,!1,n,o)).firstChild,1===l.childNodes.length&&(l=t),t||o)){for(a=(s=ht.map(v(l,"script"),x)).length;c<f;c++)e=l,c!==d&&(e=ht.clone(e,!0,!0),a&&ht.merge(s,v(e,"script"))),i.call(n[c],e,c);if(a)for(u=s[s.length-1].ownerDocument,ht.map(s,T),c=0;c<a;c++)e=s[c],Wt.test(e.type||"")&&!ht._data(e,"globalEval")&&ht.contains(u,e)&&(e.src?ht._evalUrl&&ht._evalUrl(e.src):ht.globalEval((e.text||e.textContent||e.innerHTML||"").replace(ue,"")));l=t=null}return n}function A(t,e,n){for(var r,i=e?ht.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ht.cleanData(v(r)),r.parentNode&&(n&&ht.contains(r.ownerDocument,r)&&y(v(r,"script")),r.parentNode.removeChild(r));return t}function N(t,e){var n=ht(e.createElement(t)).appendTo(e.body),r=ht.css(n[0],"display");return n.detach(),r}function D(t){var e=rt,n=fe[t];return n||("none"!==(n=N(t,e))&&n||((e=((ce=(ce||ht("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||ce[0].contentDocument).document).write(),e.close(),n=N(t,e),ce.detach()),fe[t]=n),n}function j(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function O(t){if(t in Ee)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=Se.length;n--;)if((t=Se[n]+e)in Ee)return t}function R(t,e){for(var n,r,i,o=[],a=0,s=t.length;a<s;a++)(r=t[a]).style&&(o[a]=ht._data(r,"olddisplay"),n=r.style.display,e?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&_t(r)&&(o[a]=ht._data(r,"olddisplay",D(r.nodeName)))):(i=_t(r),(n&&"none"!==n||!i)&&ht._data(r,"olddisplay",i?n:ht.css(r,"display"))));for(a=0;a<s;a++)(r=t[a]).style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[a]||"":"none"));return t}function M(t,e,n){var r=xe.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function L(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=ht.css(t,n+Ft[o],!0,i)),r?("content"===n&&(a-=ht.css(t,"padding"+Ft[o],!0,i)),"margin"!==n&&(a-=ht.css(t,"border"+Ft[o]+"Width",!0,i))):(a+=ht.css(t,"padding"+Ft[o],!0,i),"padding"!==n&&(a+=ht.css(t,"border"+Ft[o]+"Width",!0,i)));return a}function P(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=ge(t),a=ft.boxSizing&&"border-box"===ht.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(((i=ve(t,e,o))<0||null==i)&&(i=t.style[e]),he.test(i))return i;r=a&&(ft.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+L(t,e,n||(a?"border":"content"),r,o)+"px"}function I(t,e,n,r,i){return new I.prototype.init(t,e,n,r,i)}function q(){return C.setTimeout(function(){ke=undefined}),ke=ht.now()}function H(t,e){var n,r={height:t},i=0;for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=Ft[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function F(t,e,n){for(var r,i=(B.tweeners[e]||[]).concat(B.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function _(e,t,n){var r,i,o,a,s,u,l,c=this,f={},d=e.style,h=e.nodeType&&_t(e),p=ht._data(e,"fxshow");for(r in n.queue||(null==(s=ht._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,ht.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(l=ht.css(e,"display"))?ht._data(e,"olddisplay")||D(e.nodeName):l)&&"none"===ht.css(e,"float")&&(ft.inlineBlockNeedsLayout&&"inline"!==D(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",ft.shrinkWrapBlocks()||c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),t)if(i=t[r],Me.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!p||p[r]===undefined)continue;h=!0}f[r]=p&&p[r]||ht.style(e,r)}else l=undefined;if(ht.isEmptyObject(f))"inline"===("none"===l?D(e.nodeName):l)&&(d.display=l);else for(r in p?"hidden"in p&&(h=p.hidden):p=ht._data(e,"fxshow",{}),o&&(p.hidden=!h),h?ht(e).show():c.done(function(){ht(e).hide()}),c.done(function(){var t;for(t in ht._removeData(e,"fxshow"),f)ht.style(e,t,f[t])}),f)a=F(h?p[r]:0,r,c),r in p||(p[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}function U(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=ht.camelCase(n)],o=t[n],ht.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=ht.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}function B(o,t,e){var n,a,r=0,i=B.prefilters.length,s=ht.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var t=ke||q(),e=Math.max(0,l.startTime+l.duration-t),n=1-(e/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,e]),n<1&&i?e:(s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ht.extend({},t),opts:ht.extend(!0,{specialEasing:{},easing:ht.easing._default},e),originalProperties:t,originalOptions:e,startTime:ke||q(),duration:e.duration,tweens:[],createTween:function(t,e){var n=ht.Tween(o,l.opts,t,e,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(n),n},stop:function(t){var e=0,n=t?l.tweens.length:0;if(a)return this;for(a=!0;e<n;e++)l.tweens[e].run(1);return t?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,t])):s.rejectWith(o,[l,t]),this}}),c=l.props;for(U(c,l.opts.specialEasing);r<i;r++)if(n=B.prefilters[r].call(l,o,c,l.opts))return ht.isFunction(n.stop)&&(ht._queueHooks(l.elem,l.opts.queue).stop=ht.proxy(n.stop,n)),n;return ht.map(c,F,l),ht.isFunction(l.opts.start)&&l.opts.start.call(o,l),ht.fx.timer(ht.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function V(t){return ht.attr(t,"class")||""}function W(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,r=0,i=t.toLowerCase().match(Dt)||[];if(ht.isFunction(e))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function z(e,i,o,a){function s(t){var r;return u[t]=!0,ht.each(e[t]||[],function(t,e){var n=e(i,o,a);return"string"!=typeof n||l||u[n]?l?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var u={},l=e===an;return s(i.dataTypes[0])||!u["*"]&&s("*")}function X(t,e){var n,r,i=ht.ajaxSettings.flatOptions||{};for(r in e)e[r]!==undefined&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&ht.extend(!0,t,n),t}function Q(t,e,n){for(var r,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),i===undefined&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||t.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function G(t,e,n,r){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}function Y(t){return t.style&&t.style.display||ht.css(t,"display")}function J(t){if(!ht.contains(t.ownerDocument||rt,t))return!0;for(;t&&1===t.nodeType;){if("none"===Y(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}function K(n,t,r,i){var e;if(ht.isArray(t))ht.each(t,function(t,e){r||fn.test(n)?i(n,e):K(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,r,i)});else if(r||"object"!==ht.type(t))i(n,t);else for(e in t)K(n+"["+e+"]",t[e],r,i)}function Z(){try{return new C.XMLHttpRequest}catch(t){}}function tt(){try{return new C.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function et(t){return ht.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var nt=[],rt=C.document,it=nt.slice,ot=nt.concat,at=nt.push,st=nt.indexOf,ut={},lt=ut.toString,ct=ut.hasOwnProperty,ft={},dt="1.12.4",ht=function(t,e){return new ht.fn.init(t,e)},pt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,mt=/^-ms-/,gt=/-([\da-z])/gi,vt=function(t,e){return e.toUpperCase()};ht.fn=ht.prototype={jquery:dt,constructor:ht,selector:"",length:0,toArray:function(){return it.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:it.call(this)},pushStack:function(t){var e=ht.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ht.each(this,t)},map:function(n){return this.pushStack(ht.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(it.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:at,sort:nt.sort,splice:nt.splice},ht.extend=ht.fn.extend=function(t){var e,n,r,i,o,a,s=t||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||ht.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],s!==(r=o[i])&&(c&&r&&(ht.isPlainObject(r)||(n=ht.isArray(r)))?(n?(n=!1,a=e&&ht.isArray(e)?e:[]):a=e&&ht.isPlainObject(e)?e:{},s[i]=ht.extend(c,a,r)):r!==undefined&&(s[i]=r));return s},ht.extend({expando:"jQuery"+(dt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ht.type(t)},isArray:Array.isArray||function(t){return"array"===ht.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){var e=t&&t.toString();return!ht.isArray(t)&&0<=e-parseFloat(e)+1},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ht.type(t)||t.nodeType||ht.isWindow(t))return!1;try{if(t.constructor&&!ct.call(t,"constructor")&&!ct.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!ft.ownFirst)for(e in t)return ct.call(t,e);for(e in t);return e===undefined||ct.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?ut[lt.call(t)]||"object":typeof t},globalEval:function(t){t&&ht.trim(t)&&(C.execScript||function(t){C.eval.call(C,t)})(t)},camelCase:function(t){return t.replace(mt,"ms-").replace(gt,vt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(s(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(pt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?ht.merge(n,"string"==typeof t?[t]:t):at.call(n,t)),n},inArray:function(t,e,n){var r;if(e){if(st)return st.call(e,t,n);for(r=e.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;)t[i++]=e[r++];if(n!=n)for(;e[r]!==undefined;)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(s(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return ot.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;return"string"==typeof e&&(i=t[e],e=t,t=i),ht.isFunction(t)?(n=it.call(arguments,2),(r=function(){return t.apply(e||this,n.concat(it.call(arguments)))}).guid=t.guid=t.guid||ht.guid++,r):undefined},now:function(){return+new Date},support:ft}),"function"==typeof Symbol&&(ht.fn[Symbol.iterator]=nt[Symbol.iterator]),ht.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){ut["[object "+e+"]"]=e.toLowerCase()});var yt=function(n){function b(t,e,n,r){var i,o,a,s,u,l,c,f,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!r&&((e?e.ownerDocument||e:F)!==O&&j(e),e=e||O,M)){if(11!==h&&(l=vt.exec(t)))if(i=l[1]){if(9===h){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&q(e,a)&&a.id===i)return n.push(a),n}else{if(l[2])return K.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&v.getElementsByClassName&&e.getElementsByClassName)return K.apply(n,e.getElementsByClassName(i)),n}if(v.qsa&&!W[t+" "]&&(!L||!L.test(t))){if(1!==h)d=e,f=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace($t,"\\$&"):e.setAttribute("id",s=H),o=(c=S(t)).length,u=dt.test(s)?"#"+s:"[id='"+s+"']";o--;)c[o]=u+" "+g(c[o]);f=c.join(","),d=yt.test(t)&&m(e.parentNode)||e}if(f)try{return K.apply(n,d.querySelectorAll(f)),n}catch(p){}finally{s===H&&e.removeAttribute("id")}}}return k(t.replace(st,"$1"),e,n,r)}function t(){function n(t,e){return r.push(t+" ")>x.cacheLength&&delete n[r.shift()],n[t+" "]=e}var r=[];return n}function u(t){return t[H]=!0,t}function i(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function e(t,e){for(var n=t.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=e}function l(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||X)-(~t.sourceIndex||X);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function r(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function o(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function a(a){return u(function(o){return o=+o,u(function(t,e){for(var n,r=a([],t.length,o),i=r.length;i--;)t[n=r[i]]&&(t[n]=!(e[n]=t[n]))})})}function m(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function s(){}function g(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function f(s,t,e){var u=t.dir,l=e&&"parentNode"===u,c=U++;return t.first?function(t,e,n){for(;t=t[u];)if(1===t.nodeType||l)return s(t,e,n)}:function(t,e,n){var r,i,o,a=[_,c];if(n){for(;t=t[u];)if((1===t.nodeType||l)&&s(t,e,n))return!0}else for(;t=t[u];)if(1===t.nodeType||l){if((r=(i=(o=t[H]||(t[H]={}))[t.uniqueID]||(o[t.uniqueID]={}))[u])&&r[0]===_&&r[1]===c)return a[2]=r[2];if((i[u]=a)[2]=s(t,e,n))return!0}}}function d(i){return 1<i.length?function(t,e,n){for(var r=i.length;r--;)if(!i[r](t,e,n))return!1;return!0}:i[0]}function y(t,e,n){for(var r=0,i=e.length;r<i;r++)b(t,e[r],n);return n}function w(t,e,n,r,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(n&&!n(o,r,i)||(a.push(o),l&&e.push(s)));return a}function $(h,p,m,g,v,t){return g&&!g[H]&&(g=$(g)),v&&!v[H]&&(v=$(v,t)),u(function(t,e,n,r){var i,o,a,s=[],u=[],l=e.length,c=t||y(p||"*",n.nodeType?[n]:n,[]),f=!h||!t&&p?c:w(c,s,h,n,r),d=m?v||(t?h:l||g)?[]:e:f;if(m&&m(f,d,n,r),g)for(i=w(d,u),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(d[u[o]]=!(f[u[o]]=a));if(t){if(v||h){if(v){for(i=[],o=d.length;o--;)(a=d[o])&&i.push(f[o]=a);v(null,d=[],i,r)}for(o=d.length;o--;)(a=d[o])&&-1<(i=v?tt(t,a):s[o])&&(t[i]=!(e[i]=a))}}else d=w(d===e?d.splice(l,d.length):d),v?v(null,e,d,r):K.apply(e,d)})}function h(t){for(var i,e,n,r=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],s=o?1:0,u=f(function(t){return t===i},a,!0),l=f(function(t){return-1<tt(i,t)},a,!0),c=[function(t,e,n){var r=!o&&(n||e!==A)||((i=e).nodeType?u(t,e,n):l(t,e,n));return i=null,r}];s<r;s++)if(e=x.relative[t[s].type])c=[f(d(c),e)];else{if((e=x.filter[t[s].type].apply(null,t[s].matches))[H]){for(n=++s;n<r&&!x.relative[t[n].type];n++);return $(1<s&&d(c),1<s&&g(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),e,s<n&&h(t.slice(s,n)),n<r&&h(t=t.slice(n)),n<r&&g(t))}c.push(e)}return d(c)}function c(g,v){var y=0<v.length,$=0<g.length,t=function(t,e,n,r,i){var o,a,s,u=0,l="0",c=t&&[],f=[],d=A,h=t||$&&x.find.TAG("*",i),p=_+=null==d?1:Math.random()||.1,m=h.length;for(i&&(A=e===O||e||i);l!==m&&null!=(o=h[l]);l++){if($&&o){for(a=0,e||o.ownerDocument===O||(j(o),n=!M);s=g[a++];)if(s(o,e||O,n)){r.push(o);break}i&&(_=p)}y&&((o=!s&&o)&&u--,t&&c.push(o))}if(u+=l,y&&l!==u){for(a=0;s=v[a++];)s(c,f,e,n);if(t){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=Y.call(r));f=w(f)}K.apply(r,f),i&&!t&&0<f.length&&1<u+v.length&&b.uniqueSort(r)}return i&&(_=p,A=d),c};return y?u(t):t}var p,v,x,C,T,S,E,k,A,N,D,j,O,R,M,L,P,I,q,H="sizzle"+1*new Date,F=n.document,_=0,U=0,B=t(),V=t(),W=t(),z=function(t,e){return t===e&&(D=!0),0},X=1<<31,Q={}.hasOwnProperty,G=[],Y=G.pop,J=G.push,K=G.push,Z=G.slice,tt=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it="\\["+nt+"*("+rt+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+rt+"))|)"+nt+"*\\]",ot=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),ut=new RegExp("^"+nt+"*,"+nt+"*"),lt=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ct=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),ft=new RegExp(ot),dt=new RegExp("^"+rt+"$"),ht={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,$t=/'|\\/g,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),wt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xt=function(){j()};try{K.apply(G=Z.call(F.childNodes),F.childNodes),G[F.childNodes.length].nodeType}catch(Ct){K={apply:G.length?function(t,e){J.apply(t,Z.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}for(p in v=b.support={},T=b.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},j=b.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:F;return r!==O&&9===r.nodeType&&r.documentElement&&(R=(O=r).documentElement,M=!T(O),(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),v.attributes=i(function(t){return t.className="i",!t.getAttribute("className")}),v.getElementsByTagName=i(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),v.getElementsByClassName=gt.test(O.getElementsByClassName),v.getById=i(function(t){return R.appendChild(t).id=H,!O.getElementsByName||!O.getElementsByName(H).length}),v.getById?(x.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&M){var n=e.getElementById(t);return n?[n]:[]}},x.filter.ID=function(t){var e=t.replace(bt,wt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var n=t.replace(bt,wt);return function(t){var e="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}}),x.find.TAG=v.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):v.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=v.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&M)return e.getElementsByClassName(t)},P=[],L=[],(v.qsa=gt.test(O.querySelectorAll))&&(i(function(t){R.appendChild(t).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+H+"-]").length||L.push("~="),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+H+"+*").length||L.push(".#.+[+~]")}),i(function(t){var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+nt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(v.matchesSelector=gt.test(I=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&i(function(t){v.disconnectedMatch=I.call(t,"div"),I.call(t,"[s!='']:x"),P.push("!=",ot)}),L=L.length&&new RegExp(L.join("|")),P=P.length&&new RegExp(P.join("|")),e=gt.test(R.compareDocumentPosition),q=e||gt.test(R.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!v.sortDetached&&e.compareDocumentPosition(t)===n?t===O||t.ownerDocument===F&&q(F,t)?-1:e===O||e.ownerDocument===F&&q(F,e)?1:N?tt(N,t)-tt(N,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===O?-1:e===O?1:i?-1:o?1:N?tt(N,t)-tt(N,e):0;if(i===o)return l(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?l(a[r],s[r]):a[r]===F?-1:s[r]===F?1:0}),O},b.matches=function(t,e){return b(t,null,null,e)},b.matchesSelector=function(t,e){if((t.ownerDocument||t)!==O&&j(t),e=e.replace(ct,"='$1']"),v.matchesSelector&&M&&!W[e+" "]&&(!P||!P.test(e))&&(!L||!L.test(e)))try{var n=I.call(t,e);if(n||v.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(Ct){}return 0<b(e,O,null,[t]).length},b.contains=function(t,e){return(t.ownerDocument||t)!==O&&j(t),q(t,e)},b.attr=function(t,e){(t.ownerDocument||t)!==O&&j(t);var n=x.attrHandle[e.toLowerCase()],r=n&&Q.call(x.attrHandle,e.toLowerCase())?n(t,e,!M):undefined;return r!==undefined?r:v.attributes||!M?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},b.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},b.uniqueSort=function(t){var e,n=[],r=0,i=0;if(D=!v.detectDuplicates,N=!v.sortStable&&t.slice(0),t.sort(z),D){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return N=null,t},C=b.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=C(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=C(e);return n},(x=b.selectors={cacheLength:50,createPseudo:u,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,wt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||b.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&b.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ft.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(t){var e=b.attr(t,n);return null==e?"!="===r:!r||(e+="","="===r?e===i:"!="===r?e!==i:"^="===r?i&&0===e.indexOf(i):"*="===r?i&&-1<e.indexOf(i):"$="===r?i&&e.slice(-i.length
)===i:"~="===r?-1<(" "+e.replace(at," ")+" ").indexOf(i):"|="===r&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,t,e,m,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),$="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var r,i,o,a,s,u,l=v!==y?"nextSibling":"previousSibling",c=t.parentNode,f=$&&t.nodeName.toLowerCase(),d=!n&&!$,h=!1;if(c){if(v){for(;l;){for(a=t;a=a[l];)if($?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===p&&!u&&"nextSibling"}return!0}if(u=[y?c.firstChild:c.lastChild],y&&d){for(h=(s=(r=(i=(o=(a=c)[H]||(a[H]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===_&&r[1])&&r[2],a=s&&c.childNodes[s];a=++s&&a&&a[l]||(h=s=0)||u.pop();)if(1===a.nodeType&&++h&&a===t){i[p]=[_,s,h];break}}else if(d&&(h=s=(r=(i=(o=(a=t)[H]||(a[H]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]||[])[0]===_&&r[1]),!1===h)for(;(a=++s&&a&&a[l]||(h=s=0)||u.pop())&&(($?a.nodeName.toLowerCase()!==f:1!==a.nodeType)||!++h||(d&&((i=(o=a[H]||(a[H]={}))[a.uniqueID]||(o[a.uniqueID]={}))[p]=[_,h]),a!==t)););return(h-=g)===m||h%m==0&&0<=h/m}}},PSEUDO:function(t,o){var e,a=x.pseudos[t]||x.setFilters[t.toLowerCase()]||b.error("unsupported pseudo: "+t);return a[H]?a(o):1<a.length?(e=[t,t,"",o],x.setFilters.hasOwnProperty(t.toLowerCase())?u(function(t,e){for(var n,r=a(t,o),i=r.length;i--;)t[n=tt(t,r[i])]=!(e[n]=r[i])}):function(t){return a(t,0,e)}):a}},pseudos:{not:u(function(t){var r=[],i=[],s=E(t.replace(st,"$1"));return s[H]?u(function(t,e,n,r){for(var i,o=s(t,null,r,[]),a=t.length;a--;)(i=o[a])&&(t[a]=!(e[a]=i))}):function(t,e,n){return r[0]=t,s(r,null,n,i),r[0]=null,!i.pop()}}),has:u(function(e){return function(t){return 0<b(e,t).length}}),contains:u(function(e){return e=e.replace(bt,wt),function(t){return-1<(t.textContent||t.innerText||C(t)).indexOf(e)}}),lang:u(function(n){return dt.test(n||"")||b.error("unsupported lang: "+n),n=n.replace(bt,wt).toLowerCase(),function(t){var e;do{if(e=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===R},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,n){return[n<0?n+e:n]}),even:a(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:a(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:a(function(t,e,n){for(var r=n<0?n+e:n;0<=--r;)t.push(r);return t}),gt:a(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[p]=r(p);for(p in{submit:!0,reset:!0})x.pseudos[p]=o(p);return s.prototype=x.filters=x.pseudos,x.setFilters=new s,S=b.tokenize=function(t,e){var n,r,i,o,a,s,u,l=V[t+" "];if(l)return e?0:l.slice(0);for(a=t,s=[],u=x.preFilter;a;){for(o in n&&!(r=ut.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=lt.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(st," ")}),a=a.slice(n.length)),x.filter)!(r=ht[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?b.error(t):V(t,s).slice(0)},E=b.compile=function(t,e){var n,r=[],i=[],o=W[t+" "];if(!o){for(e||(e=S(t)),n=e.length;n--;)(o=h(e[n]))[H]?r.push(o):i.push(o);(o=W(t,c(i,r))).selector=t}return o},k=b.select=function(t,e,n,r){var i,o,a,s,u,l="function"==typeof t&&t,c=!r&&S(t=l.selector||t);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&v.getById&&9===e.nodeType&&M&&x.relative[o[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(bt,wt),e)||[])[0]))return n;l&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=ht.needsContext.test(t)?0:o.length;i--&&(a=o[i],!x.relative[s=a.type]);)if((u=x.find[s])&&(r=u(a.matches[0].replace(bt,wt),yt.test(o[0].type)&&m(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&g(o)))return K.apply(n,r),n;break}}return(l||E(t,c))(r,e,!M,n,!e||yt.test(t)&&m(e.parentNode)||e),n},v.sortStable=H.split("").sort(z).join("")===H,v.detectDuplicates=!!D,j(),v.sortDetached=i(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),i(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||e("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),v.attributes&&i(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||e("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),i(function(t){return null==t.getAttribute("disabled")})||e(et,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),b}(C);ht.find=yt,ht.expr=yt.selectors,ht.expr[":"]=ht.expr.pseudos,ht.uniqueSort=ht.unique=yt.uniqueSort,ht.text=yt.getText,ht.isXMLDoc=yt.isXML,ht.contains=yt.contains;var $t=function(t,e,n){for(var r=[],i=n!==undefined;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&ht(t).is(n))break;r.push(t)}return r},bt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},wt=ht.expr.match.needsContext,xt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ct=/^.[^:#\[\.,]*$/;ht.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?ht.find.matchesSelector(r,t)?[r]:[]:ht.find.matches(t,ht.grep(e,function(t){return 1===t.nodeType}))},ht.fn.extend({find:function(t){var e,n=[],r=this,i=r.length;if("string"!=typeof t)return this.pushStack(ht(t).filter(function(){for(e=0;e<i;e++)if(ht.contains(r[e],this))return!0}));for(e=0;e<i;e++)ht.find(t,r[e],n);return(n=this.pushStack(1<i?ht.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(e(this,t||[],!1))},not:function(t){return this.pushStack(e(this,t||[],!0))},is:function(t){return!!e(this,"string"==typeof t&&wt.test(t)?ht(t):t||[],!1).length}});var Tt,St=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ht.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||Tt,"string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):ht.isFunction(t)?"undefined"!=typeof n.ready?n.ready(t):t(ht):(t.selector!==undefined&&(this.selector=t.selector,this.context=t.context),ht.makeArray(t,this));if(!(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:St.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof ht?e[0]:e,ht.merge(this,ht.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:rt,!0)),xt.test(r[1])&&ht.isPlainObject(e))for(r in e)ht.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}if((i=rt.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Tt.find(t);this.length=1,this[0]=i}return this.context=rt,this.selector=t,this}).prototype=ht.fn,Tt=ht(rt);var Et=/^(?:parents|prev(?:Until|All))/,kt={children:!0,contents:!0,next:!0,prev:!0};ht.fn.extend({has:function(t){var e,n=ht(t,this),r=n.length;return this.filter(function(){for(e=0;e<r;e++)if(ht.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],a=wt.test(t)||"string"!=typeof t?ht(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ht.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?ht.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ht.inArray(this[0],ht(t)):ht.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ht.uniqueSort(ht.merge(this.get(),ht(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ht.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return $t(t,"parentNode")},parentsUntil:function(t,e,n){return $t(t,"parentNode",n)},next:function(t){return n(t,"nextSibling")},prev:function(t){return n(t,"previousSibling")},nextAll:function(t){return $t(t,"nextSibling")},prevAll:function(t){return $t(t,"previousSibling")},nextUntil:function(t,e,n){return $t(t,"nextSibling",n)},prevUntil:function(t,e,n){return $t(t,"previousSibling",n)},siblings:function(t){return bt((t.parentNode||{}).firstChild,t)},children:function(t){return bt(t.firstChild)},contents:function(t){return ht.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ht.merge([],t.childNodes)}},function(r,i){ht.fn[r]=function(t,e){var n=ht.map(this,i,t);return"Until"!==r.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=ht.filter(e,n)),1<this.length&&(kt[r]||(n=ht.uniqueSort(n)),Et.test(r)&&(n=n.reverse())),this.pushStack(n)}});var At,Nt,Dt=/\S+/g;for(Nt in ht.Callbacks=function(r){r="string"==typeof r?c(r):ht.extend({},r);var i,t,e,n,o=[],a=[],s=-1,u=function(){for(n=r.once,e=i=!0;a.length;s=-1)for(t=a.shift();++s<o.length;)!1===o[s].apply(t[0],t[1])&&r.stopOnFalse&&(s=o.length,t=!1);r.memory||(t=!1),i=!1,n&&(o=t?[]:"")},l={add:function(){return o&&(t&&!i&&(s=o.length-1,a.push(t)),function n(t){ht.each(t,function(t,e){ht.isFunction(e)?r.unique&&l.has(e)||o.push(e):e&&e.length&&"string"!==ht.type(e)&&n(e)})}(arguments),t&&!i&&u()),this},remove:function(){return ht.each(arguments,function(t,e){for(var n;-1<(n=ht.inArray(e,o,n));)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?-1<ht.inArray(t,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=t="",this},disabled:function(){return!o},lock:function(){return n=!0,t||l.disable(),this},locked:function(){return!!n},fireWith:function(t,e){return n||(e=[t,(e=e||[]).slice?e.slice():e],a.push(e),i||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!e}};return l},ht.extend({Deferred:function(t){var o=[["resolve","done",ht.Callbacks("once memory"),"resolved"],["reject","fail",ht.Callbacks("once memory"),"rejected"],["notify","progress",ht.Callbacks("memory")]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return ht.Deferred(function(r){ht.each(o,function(t,e){var n=ht.isFunction(i[t])&&i[t];s[e[1]](function(){var t=n&&n.apply(this,arguments);t&&ht.isFunction(t.promise)?t.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[e[0]+"With"](this===a?r.promise():this,n?[t]:arguments)})}),i=null}).promise()},promise:function(t){return null!=t?ht.extend(t,a):a}},s={};return a.pipe=a.then,ht.each(o,function(t,e){var n=e[2],r=e[3];a[e[1]]=n.add,r&&n.add(function(){i=r},o[1^t][2].disable,o[2][2].lock),s[e[0]]=function(){return s[e[0]+"With"](this===s?a:this,arguments),this},s[e[0]+"With"]=n.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(t){var i,e,n,r=0,o=it.call(arguments),a=o.length,s=1!==a||t&&ht.isFunction(t.promise)?a:0,u=1===s?t:ht.Deferred(),l=function(e,n,r){return function(t){n[e]=this,r[e]=1<arguments.length?it.call(arguments):t,r===i?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(1<a)for(i=new Array(a),e=new Array(a),n=new Array(a);r<a;r++)o[r]&&ht.isFunction(o[r].promise)?o[r].promise().progress(l(r,e,i)).done(l(r,n,o)).fail(u.reject):--s;return s||u.resolveWith(n,o),u.promise()}}),ht.fn.ready=function(t){return ht.ready.promise().done(t),this},ht.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ht.readyWait++:ht.ready(!0)},ready:function(t){(!0===t?--ht.readyWait:ht.isReady)||(ht.isReady=!0)!==t&&0<--ht.readyWait||(At.resolveWith(rt,[ht]),ht.fn.triggerHandler&&(ht(rt).triggerHandler("ready"),ht(rt).off("ready")))}}),ht.ready.promise=function(t){if(!At)if(At=ht.Deferred(),"complete"===rt.readyState||"loading"!==rt.readyState&&!rt.documentElement.doScroll)C.setTimeout(ht.ready);else if(rt.addEventListener)rt.addEventListener("DOMContentLoaded",o),C.addEventListener("load",o);else{rt.attachEvent("onreadystatechange",o),C.attachEvent("onload",o);var e=!1;try{e=null==C.frameElement&&rt.documentElement}catch(n){}e&&e.doScroll&&function r(){if(!ht.isReady){try{e.doScroll("left")}catch(n){return C.setTimeout(r,50)}i(),ht.ready()}}()}return At.promise(t)},ht.ready.promise(),ht(ft))break;ft.ownFirst="0"===Nt,ft.inlineBlockNeedsLayout=!1,ht(function(){var t,e,n,r;(n=rt.getElementsByTagName("body")[0])&&n.style&&(e=rt.createElement("div"),(r=rt.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ft.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(r))}),function(){var t=rt.createElement("div");ft.deleteExpando=!0;try{delete t.test}catch(e){ft.deleteExpando=!1}t=null}();var jt,Ot=function(t){var e=ht.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)},Rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Mt=/([A-Z])/g;ht.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?ht.cache[t[ht.expando]]:t[ht.expando])&&!l(t)},data:function(t,e,n){return r(t,e,n)},removeData:function(t,e){return a(t,e)},_data:function(t,e,n){return r(t,e,n,!0)},_removeData:function(t,e){return a(t,e,!0)}}),ht.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(t!==undefined)return"object"==typeof t?this.each(function(){ht.data(this,t)}):1<arguments.length?this.each(function(){ht.data(this,t,e)}):o?u(o,t,ht.data(o,t)):undefined;if(this.length&&(i=ht.data(o),1===o.nodeType&&!ht._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&u(o,r=ht.camelCase(r.slice(5)),i[r]);ht._data(o,"parsedAttrs",!0)}return i},removeData:function(t){return this.each(function(){ht.removeData(this,t)})}}),ht.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=ht._data(t,e),n&&(!r||ht.isArray(n)?r=ht._data(t,e,ht.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=ht.queue(t,e),r=n.length,i=n.shift(),o=ht._queueHooks(t,e),a=function(){ht.dequeue(t,e)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ht._data(t,n)||ht._data(t,n,{empty:ht.Callbacks("once memory").add(function(){ht._removeData(t,e+"queue"),ht._removeData(t,n)})})}}),ht.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?ht.queue(this[0],e):n===undefined?this:this.each(function(){var t=ht.queue(this,e,n);ht._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ht.dequeue(this,e)})},dequeue:function(t){return this.each(function(){ht.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=ht.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=undefined),t=t||"fx";a--;)(n=ht._data(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(e)}}),ft.shrinkWrapBlocks=function(){return null!=jt?jt:(jt=!1,(e=rt.getElementsByTagName("body")[0])&&e.style?(t=rt.createElement("div"),(n=rt.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(rt.createElement("div")).style.width="5px",jt=3!==t.offsetWidth),e.removeChild(n),jt):void 0);var t,e,n};var Lt,Pt,It,qt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ht=new RegExp("^(?:([+-])=|)("+qt+")([a-z%]*)$","i"),Ft=["Top","Right","Bottom","Left"],_t=function(t,e){return t=e||t,"none"===ht.css(t,"display")||!ht.contains(t.ownerDocument,t)},Ut=function(t,e,n,r,i,o,a){var s=0,u=t.length,l=null==n;if("object"===ht.type(n))for(s in i=!0,n)Ut(t,e,s,n[s],!0,o,a);else if(r!==undefined&&(i=!0,ht.isFunction(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(ht(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:l?e.call(t):u?e(t[0],n):o},Bt=/^(?:checkbox|radio)$/i,Vt=/<([\w:-]+)/,Wt=/^$|\/(?:java|ecma)script/i,zt=/^\s+/,Xt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";Lt=rt.createElement("div"),Pt=rt.createDocumentFragment(),It=rt.createElement("input"),Lt.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ft.leadingWhitespace=3===Lt.firstChild.nodeType,ft.tbody=!Lt.getElementsByTagName("tbody").length,ft.htmlSerialize=!!Lt.getElementsByTagName("link").length,ft.html5Clone="<:nav></:nav>"!==rt.createElement("nav").cloneNode(!0).outerHTML,It.type="checkbox",It.checked=!0,Pt.appendChild(It),ft.appendChecked=It.checked,Lt.innerHTML="<textarea>x</textarea>",ft.noCloneChecked=!!Lt.cloneNode(!0).lastChild.defaultValue,Pt.appendChild(Lt),(It=rt.createElement("input")).setAttribute("type","radio"),It.setAttribute("checked","checked"),It.setAttribute("name","t"),Lt.appendChild(It),ft.checkClone=Lt.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.noCloneEvent=!!Lt.addEventListener,Lt[ht.expando]=1,ft.attributes=!Lt.getAttribute(ht.expando);var Qt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ft.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td;var Gt=/<|&#?\w+;/,Yt=/<tbody/i;!function(){var t,e,n=rt.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(ft[t]=e in C)||(n.setAttribute(e,"t"),ft[t]=!1===n.attributes[e].expando);n=null}();var Jt=/^(?:input|select|textarea)$/i,Kt=/^key/,Zt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,te=/^(?:focusinfocus|focusoutblur)$/,ee=/^([^.]*)(?:\.(.+)|)/;ht.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,h,p,m,g=ht._data(t);if(g){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=ht.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(t){return void 0===ht||t&&ht.event.triggered===t.type?undefined:ht.event.dispatch.apply(c.elem,arguments)}).elem=t),s=(e=(e||"").match(Dt)||[""]).length;s--;)h=m=(o=ee.exec(e[s])||[])[1],p=(o[2]||"").split(".").sort(),h&&(l=ht.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=ht.event.special[h]||{},f=ht.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ht.expr.match.needsContext.test(i),namespace:p.join(".")},u),(d=a[h])||((d=a[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,c)||(t.addEventListener?t.addEventListener(h,c,!1):t.attachEvent&&t.attachEvent("on"+h,c))),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),ht.event.global[h]=!0);t=null}},remove:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,h,p,m,g=ht.hasData(t)&&ht._data(t);if(g&&(c=g.events)){for(l=(e=(e||"").match(Dt)||[""]).length;l--;)if(h=m=(s=ee.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=ht.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(t,a));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,p,g.handle)||ht.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)ht.event.remove(t,h+e[l],n,r,!0);ht.isEmptyObject(c)&&(delete g.handle,ht._removeData(t,"events"))}},trigger:function(t,e,n,r){var i,o,a,s,u,l,c,f=[n||rt],d=ct.call(t,"type")?t.type:t,h=ct.call(t,"namespace")?t.namespace.split("."):[];if(a=l=n=n||rt,3!==n.nodeType&&8!==n.nodeType&&!te.test(d+ht.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[ht.expando]?t:new ht.Event(d,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=n),e=null==e?[t]:ht.makeArray(e,[t]),u=ht.event.special[d]||{},r||!u.trigger||!1!==u.trigger.apply(n,e))){if(!r&&!u.noBubble&&!ht.isWindow(n)){for(s=u.delegateType||d,te.test(s+d)||(a=a.parentNode);a;a=a.parentNode)f.push(a),l=a;l===(n.ownerDocument||rt)&&f.push(l.defaultView||l.parentWindow||C)}for(c=0;(a=f[c++])&&!t.isPropagationStopped();)t.type=1<c?s:u.bindType||d,(i=(ht._data(a,"events")||{})[t.type]&&ht._data(a,"handle"))&&i.apply(a,e),(i=o&&a[o])&&i.apply&&Ot(a)&&(t.result=i.apply(a,e),!1===t.result&&t.preventDefault());if(t.type=d,!r&&!t.isDefaultPrevented()&&(!u._default||!1===u._default.apply(f.pop(),e))&&Ot(n)&&o&&n[d]&&!ht.isWindow(n)){(l=n[o])&&(n[o]=null),ht.event.triggered=d;try{n[d]()}catch(p){}ht.event.triggered=undefined,l&&(n[o]=l)}return t.result}},dispatch:function(t){t=ht.event.fix(t);var e,n,r,i,o,a=[],s=it.call(arguments),u=(ht._data(this,"events")||{})[t.type]||[],l=ht.event.special[t.type]||{};if((s[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(a=ht.event.handlers.call(this,t,u),e=0;(i=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,(r=((ht.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))!==undefined&&!1===(t.result=r)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==t.type)){for(r=[],n=0;n<s;n++)r[i=(o=e[n]).selector+" "]===undefined&&(r[i]=o.needsContext?-1<ht(i,this).index(u):ht.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[ht.expando])return t;var e,n,r,i=t.type,o=t,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Zt.test(i)?this.mouseHooks:Kt.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,t=new ht.Event(o),e=r.length;e--;)t[n=r[e]]=o[n];return t.target||(t.target=o.srcElement||rt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(r=t.target.ownerDocument||rt).documentElement,n=r.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===undefined||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==p()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===p()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ht.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return ht.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==undefined&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n){var r=ht.extend(new ht.Event,n,{type:t,isSimulated:!0});ht.event.trigger(r,null,e),r.isDefaultPrevented()&&n.preventDefault()}},ht.removeEvent=rt.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)}:function(t,e,n){var r="on"+e;t.detachEvent&&("undefined"==typeof t[r]&&(t[r]=null),t.detachEvent(r,n))},ht.Event=function(t,e){if(!(this instanceof ht.Event))return new ht.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&!1===t.returnValue?d:h):this.type=t,e&&ht.extend(this,e),this.timeStamp=t&&t.timeStamp||ht.now(),this[ht.expando]=!0},ht.Event.prototype={constructor:ht.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&!this.isSimulated&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=d,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},ht.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){ht.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=this,r=t.relatedTarget,i=t.handleObj;return r&&(r===n||ht.contains(n,r))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),ft.submit||(ht.event.special.submit={setup:function(){if(ht.nodeName(this,"form"))return!1;ht.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=ht.nodeName(e,"input")||ht.nodeName(e,"button")?ht.prop(e,"form"):undefined;n&&!ht._data(n,"submit")&&(ht.event.add(n,"submit._submit",function(t){t._submitBubble=!0}),ht._data(n,"submit",!0))})},postDispatch:function(t){t._submitBubble&&(delete t._submitBubble,this.parentNode&&!t.isTrigger&&ht.event.simulate("submit",this.parentNode,t))},teardown:function(){if(ht.nodeName(this,"form"))return!1;ht.event.remove(this,"._submit")}}),ft.change||(ht.event.special.change={setup:function(){if(Jt.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ht.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._justChanged=!0)}),ht.event.add(this,"click._change",function(t){this._justChanged&&!t.isTrigger&&(this._justChanged=!1),ht.event.simulate("change",this,t)})),!1;ht.event.add(this,"beforeactivate._change",function(t){var e=t.target;Jt.test(e.nodeName)&&!ht._data(e,"change")&&(ht.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ht.event.simulate("change",this.parentNode,t)}),ht._data(e,"change",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return ht.event.remove(this,"._change"),!Jt.test(this.nodeName)}}),ft.focusin||ht.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(t){ht.event.simulate(r,t.target,ht.event.fix(t))};ht.event.special[r]={setup:function(){var t=this.ownerDocument||this,e=ht._data(t,r);e||t.addEventListener(n,i,!0),ht._data(t,r,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=ht._data(t,r)-1;e?ht._data(t,r,e):(t.removeEventListener(n,i,!0),ht._removeData(t,r))}}}),ht.fn.extend({on:function(t,e,n,r){return b(this,t,e,n,r)},one:function(t,e,n,r){return b(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,ht(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=undefined),!1===n&&(n=h),this.each(function(){ht.event.remove(this,t,n,e)});for(i in t)this.off(i,e,t[i]);return this},trigger:function(t,e){return this.each(function(){ht.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return ht.event.trigger(t,e,n,!0)}});var ne=/ jQuery\d+="(?:null|\d+)"/g,re=new RegExp("<(?:"+Xt+")[\\s/>]","i"),ie=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,oe=/<script|<style|<link/i,ae=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,le=g(rt).appendChild(rt.createElement("div"));ht.extend({htmlPrefilter:function(t){return t.replace(ie,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,s,u=ht.contains(t.ownerDocument,t);if(ft.html5Clone||ht.isXMLDoc(t)||!re.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(le.innerHTML=t.outerHTML,le.removeChild(o=le.firstChild)),!(ft.noCloneEvent&&ft.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ht.isXMLDoc(t)))for(r=v(o),s=v(t),a=0;null!=(i=s[a]);++a)r[a]&&E(i,r[a]);if(e)if(n)for(s=s||v(t),r=r||v(o),a=0;null!=(i=s[a]);a++)S(i,r[a]);else S(t,o);return 0<(r=v(o,"script")).length&&y(r,!u&&v(t,"script")),r=s=i=null,o},cleanData:function(t,e){for(var n,r,i,o,a=0,s=ht.expando,u=ht.cache,l=ft.attributes,c=ht.event.special;null!=(n=t[a]);a++)if((e||Ot(n))&&(o=(i=n[s])&&u[i])){if(o.events)for(r in o.events)c[r]?ht.event.remove(n,r):ht.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=undefined:n.removeAttribute(s),nt.push(i))}}}),ht.fn.extend({domManip:k,detach:function(t){return A(this,t,!0)},remove:function(t){return A(this,t)},text:function(t){return Ut(this,function(t){return t===undefined?ht.text(this):this.empty().append((this[0]&&this[0].ownerDocument||rt).createTextNode(t))},null,t,arguments.length)},append:function(){return k(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||w(this,t).appendChild(t)})},prepend:function(){return k(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=w(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return k(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return k(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ht.cleanData(v(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ht.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ht.clone(this,t,e)})},html:function(t){return Ut(this,function(t){var e=this[0]||{},n=0,r=this.length;if(t===undefined)return 1===e.nodeType?e.innerHTML.replace(ne,""):undefined;if("string"==typeof t&&!oe.test(t)&&(ft.htmlSerialize||!re.test(t))&&(ft.leadingWhitespace||!zt.test(t))&&!Qt[(Vt.exec(t)||["",""])[1].toLowerCase()]){t=ht.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(ht.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(i){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return k(this,arguments,function(t){var e=this.parentNode;ht.inArray(this,n)<0&&(ht.cleanData(v(this)),e&&e.replaceChild(t,this))},n)}}),ht.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",
replaceAll:"replaceWith"},function(t,a){ht.fn[t]=function(t){for(var e,n=0,r=[],i=ht(t),o=i.length-1;n<=o;n++)e=n===o?this:this.clone(!0),ht(i[n])[a](e),at.apply(r,e.get());return this.pushStack(r)}});var ce,fe={HTML:"block",BODY:"block"},de=/^margin/,he=new RegExp("^("+qt+")(?!px)[a-z%]+$","i"),pe=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i},me=rt.documentElement;!function(){function t(){var t,e,n=rt.documentElement;n.appendChild(l),c.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",r=o=u=!1,i=s=!0,C.getComputedStyle&&(e=C.getComputedStyle(c),r="1%"!==(e||{}).top,u="2px"===(e||{}).marginLeft,o="4px"===(e||{width:"4px"}).width,c.style.marginRight="50%",i="4px"===(e||{marginRight:"4px"}).marginRight,(t=c.appendChild(rt.createElement("div"))).style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",c.style.width="1px",s=!parseFloat((C.getComputedStyle(t)||{}).marginRight),c.removeChild(t)),c.style.display="none",(a=0===c.getClientRects().length)&&(c.style.display="",c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",c.childNodes[0].style.borderCollapse="separate",(t=c.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",a=0===t[0].offsetHeight)),n.removeChild(l)}var r,i,o,a,s,u,l=rt.createElement("div"),c=rt.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",ft.opacity="0.5"===c.style.opacity,ft.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ft.clearCloneStyle="content-box"===c.style.backgroundClip,(l=rt.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",l.appendChild(c),ft.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,ht.extend(ft,{reliableHiddenOffsets:function(){return null==r&&t(),a},boxSizingReliable:function(){return null==r&&t(),o},pixelMarginRight:function(){return null==r&&t(),i},pixelPosition:function(){return null==r&&t(),r},reliableMarginRight:function(){return null==r&&t(),s},reliableMarginLeft:function(){return null==r&&t(),u}}))}();var ge,ve,ye=/^(top|right|bottom|left)$/;C.getComputedStyle?(ge=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=C),e.getComputedStyle(t)},ve=function(t,e,n){var r,i,o,a,s=t.style;return""!==(a=(n=n||ge(t))?n.getPropertyValue(e)||n[e]:undefined)&&a!==undefined||ht.contains(t.ownerDocument,t)||(a=ht.style(t,e)),n&&!ft.pixelMarginRight()&&he.test(a)&&de.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),a===undefined?a:a+""}):me.currentStyle&&(ge=function(t){return t.currentStyle},ve=function(t,e,n){var r,i,o,a,s=t.style;return null==(a=(n=n||ge(t))?n[e]:undefined)&&s&&s[e]&&(a=s[e]),he.test(a)&&!ye.test(e)&&(r=s.left,(o=(i=t.runtimeStyle)&&i.left)&&(i.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),a===undefined?a:a+""||"auto"});var $e=/alpha\([^)]*\)/i,be=/opacity\s*=\s*([^)]*)/i,we=/^(none|table(?!-c[ea]).+)/,xe=new RegExp("^("+qt+")(.*)$","i"),Ce={position:"absolute",visibility:"hidden",display:"block"},Te={letterSpacing:"0",fontWeight:"400"},Se=["Webkit","O","Moz","ms"],Ee=rt.createElement("div").style;ht.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=ve(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ft.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=ht.camelCase(e),u=t.style;if(e=ht.cssProps[s]||(ht.cssProps[s]=O(s)||s),a=ht.cssHooks[e]||ht.cssHooks[s],n===undefined)return a&&"get"in a&&(i=a.get(t,!1,r))!==undefined?i:u[e];if("string"===(o=typeof n)&&(i=Ht.exec(n))&&i[1]&&(n=f(t,e,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(ht.cssNumber[s]?"":"px")),ft.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),!(a&&"set"in a&&(n=a.set(t,n,r))===undefined)))try{u[e]=n}catch(l){}}},css:function(t,e,n,r){var i,o,a,s=ht.camelCase(e);return e=ht.cssProps[s]||(ht.cssProps[s]=O(s)||s),(a=ht.cssHooks[e]||ht.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),o===undefined&&(o=ve(t,e,r)),"normal"===o&&e in Te&&(o=Te[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),ht.each(["height","width"],function(t,i){ht.cssHooks[i]={get:function(t,e,n){if(e)return we.test(ht.css(t,"display"))&&0===t.offsetWidth?pe(t,Ce,function(){return P(t,i,n)}):P(t,i,n)},set:function(t,e,n){var r=n&&ge(t);return M(t,e,n?L(t,i,n,ft.boxSizing&&"border-box"===ht.css(t,"boxSizing",!1,r),r):0)}}}),ft.opacity||(ht.cssHooks.opacity={get:function(t,e){return be.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,r=t.currentStyle,i=ht.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===ht.trim(o.replace($e,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||r&&!r.filter)||(n.filter=$e.test(o)?o.replace($e,i):o+" "+i)}}),ht.cssHooks.marginRight=j(ft.reliableMarginRight,function(t,e){if(e)return pe(t,{display:"inline-block"},ve,[t,"marginRight"])}),ht.cssHooks.marginLeft=j(ft.reliableMarginLeft,function(t,e){if(e)return(parseFloat(ve(t,"marginLeft"))||(ht.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-pe(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),ht.each({margin:"",padding:"",border:"Width"},function(i,o){ht.cssHooks[i+o]={expand:function(t){for(var e=0,n={},r="string"==typeof t?t.split(" "):[t];e<4;e++)n[i+Ft[e]+o]=r[e]||r[e-2]||r[0];return n}},de.test(i)||(ht.cssHooks[i+o].set=M)}),ht.fn.extend({css:function(t,e){return Ut(this,function(t,e,n){var r,i,o={},a=0;if(ht.isArray(e)){for(r=ge(t),i=e.length;a<i;a++)o[e[a]]=ht.css(t,e[a],!1,r);return o}return n!==undefined?ht.style(t,e,n):ht.css(t,e)},t,e,1<arguments.length)},show:function(){return R(this,!0)},hide:function(){return R(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){_t(this)?ht(this).show():ht(this).hide()})}}),(ht.Tween=I).prototype={constructor:I,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||ht.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ht.cssNumber[n]?"":"px")},cur:function(){var t=I.propHooks[this.prop];return t&&t.get?t.get(this):I.propHooks._default.get(this)},run:function(t){var e,n=I.propHooks[this.prop];return this.options.duration?this.pos=e=ht.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ht.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){ht.fx.step[t.prop]?ht.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ht.cssProps[t.prop]]&&!ht.cssHooks[t.prop]?t.elem[t.prop]=t.now:ht.style(t.elem,t.prop,t.now+t.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ht.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ht.fx=I.prototype.init,ht.fx.step={};var ke,Ae,Ne,De,je,Oe,Re,Me=/^(?:toggle|show|hide)$/,Le=/queueHooks$/;ht.Animation=ht.extend(B,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return f(n.elem,t,Ht.exec(e),n),n}]},tweener:function(t,e){ht.isFunction(t)?(e=t,t=["*"]):t=t.match(Dt);for(var n,r=0,i=t.length;r<i;r++)n=t[r],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(e)},prefilters:[_],prefilter:function(t,e){e?B.prefilters.unshift(t):B.prefilters.push(t)}}),ht.speed=function(t,e,n){var r=t&&"object"==typeof t?ht.extend({},t):{complete:n||!n&&e||ht.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ht.isFunction(e)&&e};return r.duration=ht.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ht.fx.speeds?ht.fx.speeds[r.duration]:ht.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ht.isFunction(r.old)&&r.old.call(this),r.queue&&ht.dequeue(this,r.queue)},r},ht.fn.extend({fadeTo:function(t,e,n,r){return this.filter(_t).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(e,t,n,r){var i=ht.isEmptyObject(e),o=ht.speed(t,n,r),a=function(){var t=B(this,ht.extend({},e),o);(i||ht._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof i&&(o=t,t=i,i=undefined),t&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var t=!0,e=null!=i&&i+"queueHooks",n=ht.timers,r=ht._data(this);if(e)r[e]&&r[e].stop&&a(r[e]);else for(e in r)r[e]&&r[e].stop&&Le.test(e)&&a(r[e]);for(e=n.length;e--;)n[e].elem!==this||null!=i&&n[e].queue!==i||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||ht.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=ht._data(this),n=e[a+"queue"],r=e[a+"queueHooks"],i=ht.timers,o=n?n.length:0;for(e.finish=!0,ht.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===a&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),ht.each(["toggle","show","hide"],function(t,r){var i=ht.fn[r];ht.fn[r]=function(t,e,n){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(H(r,!0),t,e,n)}}),ht.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,r){ht.fn[t]=function(t,e,n){return this.animate(r,t,e,n)}}),ht.timers=[],ht.fx.tick=function(){var t,e=ht.timers,n=0;for(ke=ht.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||ht.fx.stop(),ke=undefined},ht.fx.timer=function(t){ht.timers.push(t),t()?ht.fx.start():ht.timers.pop()},ht.fx.interval=13,ht.fx.start=function(){Ae||(Ae=C.setInterval(ht.fx.tick,ht.fx.interval))},ht.fx.stop=function(){C.clearInterval(Ae),Ae=null},ht.fx.speeds={slow:600,fast:200,_default:400},ht.fn.delay=function(r,t){return r=ht.fx&&ht.fx.speeds[r]||r,t=t||"fx",this.queue(t,function(t,e){var n=C.setTimeout(t,r);e.stop=function(){C.clearTimeout(n)}})},De=rt.createElement("input"),je=rt.createElement("div"),Oe=rt.createElement("select"),Re=Oe.appendChild(rt.createElement("option")),(je=rt.createElement("div")).setAttribute("className","t"),je.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",Ne=je.getElementsByTagName("a")[0],De.setAttribute("type","checkbox"),je.appendChild(De),(Ne=je.getElementsByTagName("a")[0]).style.cssText="top:1px",ft.getSetAttribute="t"!==je.className,ft.style=/top/.test(Ne.getAttribute("style")),ft.hrefNormalized="/a"===Ne.getAttribute("href"),ft.checkOn=!!De.value,ft.optSelected=Re.selected,ft.enctype=!!rt.createElement("form").enctype,Oe.disabled=!0,ft.optDisabled=!Re.disabled,(De=rt.createElement("input")).setAttribute("value",""),ft.input=""===De.getAttribute("value"),De.value="t",De.setAttribute("type","radio"),ft.radioValue="t"===De.value;var Pe=/\r/g,Ie=/[\x20\t\r\n\f]+/g;ht.fn.extend({val:function(n){var r,t,i,e=this[0];return arguments.length?(i=ht.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=i?n.call(this,t,ht(this).val()):n)?e="":"number"==typeof e?e+="":ht.isArray(e)&&(e=ht.map(e,function(t){return null==t?"":t+""})),(r=ht.valHooks[this.type]||ht.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,e,"value")!==undefined||(this.value=e))})):e?(r=ht.valHooks[e.type]||ht.valHooks[e.nodeName.toLowerCase()])&&"get"in r&&(t=r.get(e,"value"))!==undefined?t:"string"==typeof(t=e.value)?t.replace(Pe,""):null==t?"":t:void 0}}),ht.extend({valHooks:{option:{get:function(t){var e=ht.find.attr(t,"value");return null!=e?e:ht.trim(ht.text(t)).replace(Ie," ")}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(((n=r[u]).selected||u===i)&&(ft.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ht.nodeName(n.parentNode,"optgroup"))){if(e=ht(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=ht.makeArray(e),a=i.length;a--;)if(r=i[a],-1<ht.inArray(ht.valHooks.option.get(r),o))try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(t.selectedIndex=-1),i}}}}),ht.each(["radio","checkbox"],function(){ht.valHooks[this]={set:function(t,e){if(ht.isArray(e))return t.checked=-1<ht.inArray(ht(t).val(),e)}},ft.checkOn||(ht.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var qe,He,Fe=ht.expr.attrHandle,_e=/^(?:checked|selected)$/i,Ue=ft.getSetAttribute,Be=ft.input;ht.fn.extend({attr:function(t,e){return Ut(this,ht.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){ht.removeAttr(this,t)})}}),ht.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof t.getAttribute?ht.prop(t,e,n):(1===o&&ht.isXMLDoc(t)||(e=e.toLowerCase(),i=ht.attrHooks[e]||(ht.expr.match.bool.test(e)?He:qe)),n!==undefined?null===n?void ht.removeAttr(t,e):i&&"set"in i&&(r=i.set(t,n,e))!==undefined?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=ht.find.attr(t,e))?undefined:r)},attrHooks:{type:{set:function(t,e){if(!ft.radioValue&&"radio"===e&&ht.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(Dt);if(o&&1===t.nodeType)for(;n=o[i++];)r=ht.propFix[n]||n,ht.expr.match.bool.test(n)?Be&&Ue||!_e.test(n)?t[r]=!1:t[ht.camelCase("default-"+n)]=t[r]=!1:ht.attr(t,n,""),t.removeAttribute(Ue?n:r)}}),He={set:function(t,e,n){return!1===e?ht.removeAttr(t,n):Be&&Ue||!_e.test(n)?t.setAttribute(!Ue&&ht.propFix[n]||n,n):t[ht.camelCase("default-"+n)]=t[n]=!0,n}},ht.each(ht.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Fe[e]||ht.find.attr;Be&&Ue||!_e.test(e)?Fe[e]=function(t,e,n){var r,i;return n||(i=Fe[e],Fe[e]=r,r=null!=o(t,e,n)?e.toLowerCase():null,Fe[e]=i),r}:Fe[e]=function(t,e,n){if(!n)return t[ht.camelCase("default-"+e)]?e.toLowerCase():null}}),Be&&Ue||(ht.attrHooks.value={set:function(t,e,n){if(!ht.nodeName(t,"input"))return qe&&qe.set(t,e,n);t.defaultValue=e}}),Ue||(qe={set:function(t,e,n){var r=t.getAttributeNode(n);if(r||t.setAttributeNode(r=t.ownerDocument.createAttribute(n)),r.value=e+="","value"===n||e===t.getAttribute(n))return e}},Fe.id=Fe.name=Fe.coords=function(t,e,n){var r;if(!n)return(r=t.getAttributeNode(e))&&""!==r.value?r.value:null},ht.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);if(n&&n.specified)return n.value},set:qe.set},ht.attrHooks.contenteditable={set:function(t,e,n){qe.set(t,""!==e&&e,n)}},ht.each(["width","height"],function(t,n){ht.attrHooks[n]={set:function(t,e){if(""===e)return t.setAttribute(n,"auto"),e}}})),ft.style||(ht.attrHooks.style={get:function(t){return t.style.cssText||undefined},set:function(t,e){return t.style.cssText=e+""}});var Ve=/^(?:input|select|textarea|button|object)$/i,We=/^(?:a|area)$/i;ht.fn.extend({prop:function(t,e){return Ut(this,ht.prop,t,e,1<arguments.length)},removeProp:function(e){return e=ht.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),ht.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ht.isXMLDoc(t)||(e=ht.propFix[e]||e,i=ht.propHooks[e]),n!==undefined?i&&"set"in i&&(r=i.set(t,n,e))!==undefined?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=ht.find.attr(t,"tabindex");return e?parseInt(e,10):Ve.test(t.nodeName)||We.test(t.nodeName)&&t.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ft.hrefNormalized||ht.each(["href","src"],function(t,e){ht.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ft.optSelected||(ht.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ht.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ht.propFix[this.toLowerCase()]=this}),ft.enctype||(ht.propFix.enctype="encoding");var ze=/[\t\r\n\f]/g;ht.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(ht.isFunction(e))return this.each(function(t){ht(this).addClass(e.call(this,t,V(this)))});if("string"==typeof e&&e)for(t=e.match(Dt)||[];n=this[u++];)if(i=V(n),r=1===n.nodeType&&(" "+i+" ").replace(ze," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ht.trim(r))&&ht.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(ht.isFunction(e))return this.each(function(t){ht(this).removeClass(e.call(this,t,V(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Dt)||[];n=this[u++];)if(i=V(n),r=1===n.nodeType&&(" "+i+" ").replace(ze," ")){for(a=0;o=t[a++];)for(;-1<r.indexOf(" "+o+" ");)r=r.replace(" "+o+" "," ");i!==(s=ht.trim(r))&&ht.attr(n,"class",s)}return this},toggleClass:function(i,e){var o=typeof i;return"boolean"==typeof e&&"string"===o?e?this.addClass(i):this.removeClass(i):ht.isFunction(i)?this.each(function(t){ht(this).toggleClass(i.call(this,t,V(this),e),e)}):this.each(function(){var t,e,n,r;if("string"===o)for(e=0,n=ht(this),r=i.match(Dt)||[];t=r[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else i!==undefined&&"boolean"!==o||((t=V(this))&&ht._data(this,"__className__",t),ht.attr(this,"class",t||!1===i?"":ht._data(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+V(n)+" ").replace(ze," ").indexOf(e))return!0;return!1}}),ht.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,n){ht.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),ht.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var Xe=C.location,Qe=ht.now(),Ge=/\?/,Ye=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ht.parseJSON=function(t){if(C.JSON&&C.JSON.parse)return C.JSON.parse(t+"");var i,o=null,e=ht.trim(t+"");return e&&!ht.trim(e.replace(Ye,function(t,e,n,r){return i&&e&&(o=0),0===o?t:(i=n||e,o+=!r-!n,"")}))?Function("return "+e)():ht.error("Invalid JSON: "+t)},ht.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{C.DOMParser?e=(new C.DOMParser).parseFromString(t,"text/xml"):((e=new C.ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(n){e=undefined}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||ht.error("Invalid XML: "+t),e};var Je=/#.*$/,Ke=/([?&])_=[^&]*/,Ze=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,tn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,en=/^(?:GET|HEAD)$/,nn=/^\/\//,rn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,on={},an={},sn="*/".concat("*"),un=Xe.href,ln=rn.exec(un.toLowerCase())||[];ht.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:un,type:"GET",isLocal:tn.test(ln[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ht.parseJSON,"text xml":ht.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?X(X(t,ht.ajaxSettings),e):X(ht.ajaxSettings,t)},ajaxPrefilter:W(on),ajaxTransport:W(an),ajax:function(t,e){function n(t,e,n,r){var i,o,a,s,u,l=e;2!==w&&(w=2,d&&C.clearTimeout(d),p=undefined,f=r||"",x.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(s=Q(m,x,n)),s=G(m,s,x,i),i?(m.ifModified&&((u=x.getResponseHeader("Last-Modified"))&&(ht.lastModified[c]=u),(u=x.getResponseHeader("etag"))&&(ht.etag[c]=u)),204===t||"HEAD"===m.type?l="nocontent":304===t?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!t&&l||(l="error",t<0&&(t=0))),x.status=t,x.statusText=(e||l)+"",i?y.resolveWith(g,[o,l,x]):y.rejectWith(g,[x,l,a]),x.statusCode(b),b=undefined,h&&v.trigger(i?"ajaxSuccess":"ajaxError",[x,m,i?o:a]),$.fireWith(g,[x,l]),h&&(v.trigger("ajaxComplete",[x,m]),--ht.active||ht.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=undefined),e=e||{};var r,i,c,f,d,h,p,o,m=ht.ajaxSetup({},e),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?ht(g):ht.event,y=ht.Deferred(),$=ht.Callbacks("once memory"),b=m.statusCode||{},a={},s={},w=0,u="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!o)for(o={};e=Ze.exec(f);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=s[n]=s[n]||t,a[t]=e),this},overrideMimeType:function(t){return w||(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)b[e]=[b[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||u;return p&&p.abort(e),n(0,e),this}};if(y.promise(x).complete=$.add,x.success=x.done,x.error=x.fail,m.url=((t||m.url||un)+"").replace(Je,"").replace(nn,ln[1]+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=ht.trim(m.dataType||"*").toLowerCase().match(Dt)||[""],null==m.crossDomain&&(r=rn.exec(m.url.toLowerCase()),m.crossDomain=!(!r||r[1]===ln[1]&&r[2]===ln[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(ln[3]||("http:"===ln[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=ht.param(m.data,m.traditional)),z(on,m,e,x),2===w)return x;for(i in(h=ht.event&&m.global)&&0==ht.active++&&ht.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!en.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Ge.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ke.test(c)?c.replace(Ke,"$1_="+Qe++):c+(Ge.test(c)?"&":"?")+"_="+Qe++)),m.ifModified&&(ht.lastModified[c]&&x.setRequestHeader("If-Modified-Since",ht.lastModified[c]),ht.etag[c]&&x.setRequestHeader("If-None-Match",ht.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+sn+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,x,m)||2===w))return x.abort();for(i in u="abort",{success:1,error:1,complete:1})x[i](m[i]);if(p=z(an,m,e,x)){if(x.readyState=1,h&&v.trigger("ajaxSend",[x,m]),2===w)return x;m.async&&0<m.timeout&&(d=C.setTimeout(function(){x.abort("timeout")},m.timeout));try{w=1,p.send(a,n)}catch(l){if(!(w<2))throw l;n(-1,l)}}else n(-1,"No Transport");return x},getJSON:function(t,e,n){return ht.get(t,e,n,"json")},getScript:function(t,e){return ht.get(t,undefined,e,"script")}}),ht.each(["get","post"],function(t,i){ht[i]=function(t,e,n,r){return ht.isFunction(e)&&(r=r||n,n=e,e=undefined),ht.ajax(ht.extend({url:t,type:i,dataType:r,data:e,success:n},ht.isPlainObject(t)&&t))}}),ht._evalUrl=function(t){return ht.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},ht.fn.extend({wrapAll:function(e){if(ht.isFunction(e))return this.each(function(t){ht(this).wrapAll(e.call(this,t))});if(this[0]){var t=ht(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(n){return ht.isFunction(n)?this.each(function(t){ht(this).wrapInner(n.call(this,t))}):this.each(function(){var t=ht(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=ht.isFunction(e);return this.each(function(t){ht(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){ht.nodeName(this,"body")||ht(this).replaceWith(this.childNodes)}).end()}}),ht.expr.filters.hidden=function(t){return ft.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:J(t)},ht.expr.filters.visible=function(t){return!ht.expr.filters.hidden(t)};var cn=/%20/g,fn=/\[\]$/,dn=/\r?\n/g,hn=/^(?:submit|button|image|reset|file)$/i,pn=/^(?:input|select|textarea|keygen)/i;ht.param=function(t,e){var n,r=[],i=function(t,e){e=ht.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===undefined&&(e=ht.ajaxSettings&&ht.ajaxSettings.traditional),ht.isArray(t)||t.jquery&&!ht.isPlainObject(t))ht.each(t,function(){i(this.name,this.value)});else for(n in t)K(n,t[n],e,i);return r.join("&").replace(cn,"+")},ht.fn.extend({serialize:function(){return ht.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ht.prop(this,"elements");return t?ht.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ht(this).is(":disabled")&&pn.test(this.nodeName)&&!hn.test(t)&&(this.checked||!Bt.test(t))}).map(function(t,e){var n=ht(this).val();return null==n?null:ht.isArray(n)?ht.map(n,function(t){return{name:e.name,value:t.replace(dn,"\r\n")}}):{name:e.name,value:n.replace(dn,"\r\n")}}).get()}}),ht.ajaxSettings.xhr=C.ActiveXObject!==undefined?function(){return this.isLocal?tt():8<rt.documentMode?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||tt()}:Z;var mn=0,gn={},vn=ht.ajaxSettings.xhr();C.attachEvent&&C.attachEvent("onunload",function(){for(var t in gn)gn[t](undefined,!0)}),ft.cors=!!vn&&"withCredentials"in vn,(vn=ft.ajax=!!vn)&&ht.ajaxTransport(function(l){var c;if(!l.crossDomain||ft.cors)return{send:function(t,a){var e,s=l.xhr(),u=++mn;if(s.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(e in l.xhrFields)s[e]=l.xhrFields[e];for(e in l.mimeType&&s.overrideMimeType&&s.overrideMimeType(l.mimeType),l.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)t[e]!==undefined&&s.setRequestHeader(e,t[e]+"");s.send(l.hasContent&&l.data||null),c=function(t,e){var n,r,i;if(c&&(e||4===s.readyState))if(delete gn[u],c=undefined,s.onreadystatechange=ht.noop,e)4!==s.readyState&&s.abort();else{i={},n=s.status,"string"==typeof s.responseText&&(i.text=s.responseText);try{r=s.statusText}catch(o){r=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=i.text?200:404}i&&a(n,r,i,s.getAllResponseHeaders())},l.async?4===s.readyState?C.setTimeout(c):s.onreadystatechange=gn[u]=c:c()},abort:function(){c&&c(undefined,!0)}}}),ht.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ht.globalEval(t),t}}}),ht.ajaxPrefilter("script",function(t){t.cache===undefined&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ht.ajaxTransport("script",function(e){if(e.crossDomain){var r,i=rt.head||ht("head")[0]||rt.documentElement;return{send:function(t,n){(r=rt.createElement("script")).async=!0,e.scriptCharset&&(r.charset=e.scriptCharset),r.src=e.url,r.onload=r.onreadystatechange=function(t,e){(e||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,e||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(undefined,!0)}}}});var yn=[],$n=/(=)\?(?=&|$)|\?\?/;ht.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=yn.pop()||ht.expando+"_"+Qe++;return this[t]=!0,t}}),ht.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,o,a=!1!==t.jsonp&&($n.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$n.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ht.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace($n,"$1"+r):!1!==t.jsonp&&(t.url+=(Ge.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||ht.error(r+" was not called"),o[0]},t.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){i===undefined?ht(C).removeProp(r):C[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,yn.push(r)),o&&ht.isFunction(i)&&i(o[0]),o=i=undefined}),"script"}),ht.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||rt;var r=xt.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=m([t],e,i),i&&i.length&&ht(i).remove(),ht.merge([],r.childNodes))};var bn=ht.fn.load;ht.fn.load=function(t,e,n){if("string"!=typeof t&&bn)return bn.apply(this,arguments);var r,i,o,a=this,s=t.indexOf(" ");return-1<s&&(r=ht.trim(t.slice(s,t.length)),t=t.slice(0,s)),ht.isFunction(e)?(n=e,e=undefined):e&&"object"==typeof e&&(i="POST"),0<a.length&&ht.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?ht("<div>").append(ht.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},ht.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ht.fn[e]=function(t){return this.on(e,t)}}),ht.expr.filters.animated=function(e){return ht.grep(ht.timers,function(t){return e===t.elem}).length},ht.offset={setOffset:function(t,e,n){var r,i,o,a,s,u,l=ht.css(t,"position"),c=ht(t),f={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=ht.css(t,"top"),u=ht.css(t,"left"),("absolute"===l||"fixed"===l)&&-1<ht.inArray("auto",[o,u])?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ht.isFunction(e)&&(e=e.call(t,n,ht.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):c.css(f)}},ht.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){ht.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,ht.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=et(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},r=this[0];return"fixed"===ht.css(r,"position")?e=r.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ht.nodeName(t[0],"html")||(n=t.offset()),n.top+=ht.css(t[0],"borderTopWidth",!0),n.left+=ht.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-ht.css(r,"marginTop",!0),left:e.left-n.left-ht.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!ht.nodeName(t,"html")&&"static"===ht.css(t,"position");)t=t.offsetParent;return t||me})}}),ht.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var o=/Y/.test(i);ht.fn[e]=function(t){return Ut(this,function(t,e,n){var r=et(t);if(n===undefined)return r?i in r?r[i]:r.document.documentElement[e]:t[e];r?r.scrollTo(o?ht(r).scrollLeft():n,o?n:ht(r).scrollTop()):t[e]=n},e,t,arguments.length,null)}}),ht.each(["top","left"],function(t,n){ht.cssHooks[n]=j(ft.pixelPosition,function(t,e){if(e)return e=ve(t,n),he.test(e)?ht(t).position()[n]+"px":e})}),ht.each({Height:"height",Width:"width"},function(o,a){ht.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,t){
ht.fn[t]=function(t,e){var n=arguments.length&&(r||"boolean"!=typeof t),i=r||(!0===t||!0===e?"margin":"border");return Ut(this,function(t,e,n){var r;return ht.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+o],r["scroll"+o],t.body["offset"+o],r["offset"+o],r["client"+o])):n===undefined?ht.css(t,e,i):ht.style(t,e,n,i)},a,n?t:undefined,n,null)}})}),ht.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),ht.fn.size=function(){return this.length},ht.fn.andSelf=ht.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ht});var wn=C.jQuery,xn=C.$;return ht.noConflict=function(t){return C.$===ht&&(C.$=xn),t&&C.jQuery===ht&&(C.jQuery=wn),ht},t||(C.jQuery=C.$=ht),ht}),function(c,u){"use strict";var l;c.rails!==u&&c.error("jquery-ujs has already been loaded!");var t=c(document);c.rails=l={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return c("meta[name=csrf-token]").attr("content")},csrfParam:function(){return c("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=l.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){c('form input[name="'+l.csrfParam()+'"]').val(l.csrfToken())},fire:function(t,e,n){var r=c.Event(e);return t.trigger(r,n),!1!==r.result},confirm:function(t){return confirm(t)},ajax:function(t){return c.ajax(t)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==u&&!1!==t.data("remote")},handleRemote:function(r){var t,e,n,i,o,a;if(l.fire(r,"ajax:before")){if(i=r.data("with-credentials")||null,o=r.data("type")||c.ajaxSettings&&c.ajaxSettings.dataType,r.is("form")){t=r.data("ujs:submit-button-formmethod")||r.attr("method"),e=r.data("ujs:submit-button-formaction")||r.attr("action"),n=c(r[0]).serializeArray();var s=r.data("ujs:submit-button");s&&(n.push(s),r.data("ujs:submit-button",null)),r.data("ujs:submit-button-formmethod",null),r.data("ujs:submit-button-formaction",null)}else r.is(l.inputChangeSelector)?(t=r.data("method"),e=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(l.buttonClickSelector)?(t=r.data("method")||"get",e=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(t=r.data("method"),e=l.href(r),n=r.data("params")||null);return a={type:t||"GET",data:n,dataType:o,beforeSend:function(t,e){if(e.dataType===u&&t.setRequestHeader("accept","*/*;q=0.5, "+e.accepts.script),!l.fire(r,"ajax:beforeSend",[t,e]))return!1;r.trigger("ajax:send",t)},success:function(t,e,n){r.trigger("ajax:success",[t,e,n])},complete:function(t,e){r.trigger("ajax:complete",[t,e])},error:function(t,e,n){r.trigger("ajax:error",[t,e,n])},crossDomain:l.isCrossDomain(e)},i&&(a.xhrFields={withCredentials:i}),e&&(a.url=e),l.ajax(a)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(r){return!0}},handleMethod:function(t){var e=l.href(t),n=t.data("method"),r=t.attr("target"),i=l.csrfToken(),o=l.csrfParam(),a=c('<form method="post" action="'+e+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o===u||i===u||l.isCrossDomain(e)||(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},formElements:function(t,e){return t.is("form")?c(t[0].elements).filter(e):t.find(e)},disableFormElements:function(t){l.formElements(t,l.disableSelector).each(function(){l.disableFormElement(c(this))})},disableFormElement:function(t){var e,n;e=t.is("button")?"html":"val",(n=t.data("disable-with"))!==u&&(t.data("ujs:enable-with",t[e]()),t[e](n)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(t){l.formElements(t,l.enableSelector).each(function(){l.enableFormElement(c(this))})},enableFormElement:function(t){var e=t.is("button")?"html":"val";t.data("ujs:enable-with")!==u&&(t[e](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,n=t.data("confirm"),r=!1;if(!n)return!0;if(l.fire(t,"confirm")){try{r=l.confirm(n)}catch(i){(console.error||console.log).call(console,i.stack||i)}e=l.fire(t,"confirm:complete",[r])}return r&&e},blankInputs:function(t,e,n){var r,i,o,a=c(),s=e||"input,textarea",u=t.find(s),l={};return u.each(function(){(r=c(this)).is("input[type=radio]")?(o=r.attr("name"),l[o]||(0===t.find('input[type=radio]:checked[name="'+o+'"]').length&&(i=t.find('input[type=radio][name="'+o+'"]'),a=a.add(i)),l[o]=o)):(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):!!r.val())===n&&(a=a.add(r))}),!!a.length&&a},nonBlankInputs:function(t,e){return l.blankInputs(t,e,!0)},stopEverything:function(t){return c(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(t){var e=t.data("disable-with");e!==u&&(t.data("ujs:enable-with",t.html()),t.html(e)),t.bind("click.railsDisable",function(t){return l.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==u&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable"),t.removeData("ujs:disabled")}},l.fire(t,"rails:attachBindings")&&(c.ajaxPrefilter(function(t,e,n){t.crossDomain||l.CSRFProtection(n)}),c(window).on("pageshow.rails",function(){c(c.rails.enableSelector).each(function(){var t=c(this);t.data("ujs:disabled")&&c.rails.enableFormElement(t)}),c(c.rails.linkDisableSelector).each(function(){var t=c(this);t.data("ujs:disabled")&&c.rails.enableElement(t)})}),t.on("ajax:complete",l.linkDisableSelector,function(){l.enableElement(c(this))}),t.on("ajax:complete",l.buttonDisableSelector,function(){l.enableFormElement(c(this))}),t.on("click.rails",l.linkClickSelector,function(t){var e=c(this),n=e.data("method"),r=e.data("params"),i=t.metaKey||t.ctrlKey;if(!l.allowAction(e))return l.stopEverything(t);if(!i&&e.is(l.linkDisableSelector)&&l.disableElement(e),l.isRemote(e)){if(i&&(!n||"GET"===n)&&!r)return!0;var o=l.handleRemote(e);return!1===o?l.enableElement(e):o.fail(function(){l.enableElement(e)}),!1}return n?(l.handleMethod(e),!1):void 0}),t.on("click.rails",l.buttonClickSelector,function(t){var e=c(this);if(!l.allowAction(e)||!l.isRemote(e))return l.stopEverything(t);e.is(l.buttonDisableSelector)&&l.disableFormElement(e);var n=l.handleRemote(e);return!1===n?l.enableFormElement(e):n.fail(function(){l.enableFormElement(e)}),!1}),t.on("change.rails",l.inputChangeSelector,function(t){var e=c(this);return l.allowAction(e)&&l.isRemote(e)?(l.handleRemote(e),!1):l.stopEverything(t)}),t.on("submit.rails",l.formSubmitSelector,function(t){var e,n,r=c(this),i=l.isRemote(r);if(!l.allowAction(r))return l.stopEverything(t);if(r.attr("novalidate")===u)if(r.data("ujs:formnovalidate-button")===u){if((e=l.blankInputs(r,l.requiredInputSelector,!1))&&l.fire(r,"ajax:aborted:required",[e]))return l.stopEverything(t)}else r.data("ujs:formnovalidate-button",u);if(i){if(n=l.nonBlankInputs(r,l.fileInputSelector)){setTimeout(function(){l.disableFormElements(r)},13);var o=l.fire(r,"ajax:aborted:file",[n]);return o||setTimeout(function(){l.enableFormElements(r)},13),o}return l.handleRemote(r),!1}setTimeout(function(){l.disableFormElements(r)},13)}),t.on("click.rails",l.formInputClickSelector,function(t){var e=c(this);if(!l.allowAction(e))return l.stopEverything(t);var n=e.attr("name"),r=n?{name:n,value:e.val()}:null,i=e.closest("form");0===i.length&&(i=c("#"+e.attr("form"))),i.data("ujs:submit-button",r),i.data("ujs:formnovalidate-button",e.attr("formnovalidate")),i.data("ujs:submit-button-formaction",e.attr("formaction")),i.data("ujs:submit-button-formmethod",e.attr("formmethod"))}),t.on("ajax:send.rails",l.formSubmitSelector,function(t){this===t.target&&l.disableFormElements(c(this))}),t.on("ajax:complete.rails",l.formSubmitSelector,function(t){this===t.target&&l.enableFormElements(c(this))}),c(function(){l.refreshCSRFTokens()}))}(jQuery),function(u){"use strict";function n(r){return this.each(function(){var t=u(this),e=t.data("bs.affix"),n="object"==typeof r&&r;e||t.data("bs.affix",e=new l(this,n)),"string"==typeof r&&e[r]()})}var l=function(t,e){this.options=u.extend({},l.DEFAULTS,e);var n=this.options.target===l.DEFAULTS.target?u(this.options.target):u(document).find(this.options.target);this.$target=n.on("scroll.bs.affix.data-api",u.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",u.proxy(this.checkPositionWithEventLoop,this)),this.$element=u(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};l.VERSION="3.4.1",l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0,target:window},l.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+a<=t-r)&&"bottom";var s=null==this.affixed,u=s?i:o.top;return null!=n&&i<=n?"top":null!=r&&t-r<=u+(s?a:e)&&"bottom"},l.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(l.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},l.prototype.checkPositionWithEventLoop=function(){setTimeout(u.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,n=e.top,r=e.bottom,i=Math.max(u(document).height(),u(document.body).height());"object"!=typeof e&&(r=n=e),"function"==typeof n&&(n=e.top(this.$element)),"function"==typeof r&&(r=e.bottom(this.$element));var o=this.getState(i,t,n,r);if(this.affixed!=o){null!=this.unpin&&this.$element.css("top","");var a="affix"+(o?"-"+o:""),s=u.Event(a+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=o,this.unpin="bottom"==o?this.getPinnedOffset():null,this.$element.removeClass(l.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==o&&this.$element.offset({top:i-t-r})}};var t=u.fn.affix;u.fn.affix=n,u.fn.affix.Constructor=l,u.fn.affix.noConflict=function(){return u.fn.affix=t,this},u(window).on("load",function(){u('[data-spy="affix"]').each(function(){var t=u(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(t,e)})})}(jQuery),function(o){"use strict";function t(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof n&&e[n].call(t)})}var e='[data-dismiss="alert"]',a=function(t){o(t).on("click",e,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(t){function e(){i.detach().trigger("closed.bs.alert").remove()}var n=o(this),r=n.attr("data-target");r||(r=(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),r="#"===r?[]:r;var i=o(document).find(r);t&&t.preventDefault(),i.length||(i=n.closest(".alert")),i.trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),o.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",e).emulateTransitionEnd(a.TRANSITION_DURATION):e())};var n=o.fn.alert;o.fn.alert=t,o.fn.alert.Constructor=a,o.fn.alert.noConflict=function(){return o.fn.alert=n,this},o(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(o){"use strict";function n(r){return this.each(function(){var t=o(this),e=t.data("bs.button"),n="object"==typeof r&&r;e||t.data("bs.button",e=new i(this,n)),"toggle"==r?e.toggle():r&&e.setState(r)})}var i=function(t,e){this.$element=o(t),this.options=o.extend({},i.DEFAULTS,e),this.isLoading=!1};i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(t){var e="disabled",n=this.$element,r=n.is("input")?"val":"html",i=n.data();t+="Text",null==i.resetText&&n.data("resetText",n[r]()),setTimeout(o.proxy(function(){n[r](null==i[t]?this.options[t]:i[t]),"loadingText"==t?(this.isLoading=!0,n.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=o.fn.button;o.fn.button=n,o.fn.button.Constructor=i,o.fn.button.noConflict=function(){return o.fn.button=t,this},o(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=o(t.target).closest(".btn");n.call(e,"toggle"),o(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){o(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(f){"use strict";function s(i){return this.each(function(){var t=f(this),e=t.data("bs.carousel"),n=f.extend({},d.DEFAULTS,t.data(),"object"==typeof i&&i),r="string"==typeof i?i:n.slide;e||t.data("bs.carousel",e=new d(this,n)),"number"==typeof i?e.to(i):r?e[r]():n.interval&&e.pause().cycle()})}var d=function(t,e){this.$element=f(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",f.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",f.proxy(this.pause,this)).on("mouseleave.bs.carousel",f.proxy(this.cycle,this))};d.VERSION="3.4.1",d.TRANSITION_DURATION=600,d.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},d.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},d.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(f.proxy(this.next,this),this.options.interval)),this},d.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},d.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var r=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(r)},d.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",this.$items.eq(t))},d.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&f.support.transition&&(this.$element.trigger(f.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},d.prototype.next=function(){if(!this.sliding)return this.slide("next")},d.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},d.prototype.slide=function(t,e){var n=this.$element.find(".item.active"),r=e||this.getItemForDirection(t,n),i=this.interval,o="next"==t?"left":"right",a=this;if(r.hasClass("active"))return this.sliding=!1;var s=r[0],u=f.Event("slide.bs.carousel",{relatedTarget:s,direction:o});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=f(this.$indicators.children()[this.getItemIndex(r)]);l&&l.addClass("active")}var c=f.Event("slid.bs.carousel",{relatedTarget:s,direction:o});return f.support.transition&&this.$element.hasClass("slide")?(r.addClass(t),"object"==typeof r&&r.length&&r[0].offsetWidth,n.addClass(o),r.addClass(o),n.one("bsTransitionEnd",function(){r.removeClass([t,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(d.TRANSITION_DURATION)):(n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(c)),i&&this.cycle(),this}};var t=f.fn.carousel;f.fn.carousel=s,f.fn.carousel.Constructor=d,f.fn.carousel.noConflict=function(){return f.fn.carousel=t,this};var e=function(t){var e=f(this),n=e.attr("href");n&&(n=n.replace(/.*(?=#[^\s]+$)/,""));var r=e.attr("data-target")||n,i=f(document).find(r);if(i.hasClass("carousel")){var o=f.extend({},i.data(),e.data()),a=e.attr("data-slide-to");a&&(o.interval=!1),s.call(i,o),a&&i.data("bs.carousel").to(a),t.preventDefault()}};f(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),f(window).on("load",function(){f('[data-ride="carousel"]').each(function(){var t=f(this);s.call(t,t.data())})})}(jQuery),function(a){"use strict";function i(t){var e,n=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(n)}function s(r){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},u.DEFAULTS,t.data(),"object"==typeof r&&r);!e&&n.toggle&&/show|hide/.test(r)&&(n.toggle=!1),e||t.data("bs.collapse",e=new u(this,n)),"string"==typeof r&&e[r]()})}var u=function(t,e){this.$element=a(t),this.options=a.extend({},u.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};u.VERSION="3.4.1",u.TRANSITION_DURATION=350,u.DEFAULTS={toggle:!0},u.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},u.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var n=a.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){e&&e.length&&(s.call(e,"hide"),t||e.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var i=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return i.call(this);var o=a.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(u.TRANSITION_DURATION)[r](this.$element[0][o])}}}},u.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return n.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(u.TRANSITION_DURATION)}}},u.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},u.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var n=a(e);this.addAriaAndCollapsedClass(i(n),n)},this)).end()},u.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=a.fn.collapse;a.fn.collapse=s,a.fn.collapse.Constructor=u,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var n=i(e),r=n.data("bs.collapse")?"toggle":e.data();s.call(n,r)})}(jQuery),function(s){"use strict";function u(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var n="#"!==e?s(document).find(e):null;return n&&n.length?n:t.parent()}function o(r){r&&3===r.which||(s(e).remove(),s(l).each(function(){var t=s(this),e=u(t),n={relatedTarget:this};e.hasClass("open")&&(r&&"click"==r.type&&/input|textarea/i.test(r.target.tagName)&&s.contains(e[0],r.target)||(e.trigger(r=s.Event("hide.bs.dropdown",n)),r.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(s.Event("hidden.bs.dropdown",n)))))}))}function t(n){return this.each(function(){var t=s(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new r(this)),"string"==typeof n&&e[n].call(t)})}var e=".dropdown-backdrop",l='[data-toggle="dropdown"]',r=function(t){s(t).on("click.bs.dropdown",this.toggle)};r.VERSION="3.4.1",r.prototype.toggle=function(t){var e=s(this);if(!e.is(".disabled, :disabled")){var n=u(e),r=n.hasClass("open");if(o(),!r){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&s(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(s(this)).on("click",o);var i={relatedTarget:this};if(n.trigger(t=s.Event("show.bs.dropdown",i)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(s.Event("shown.bs.dropdown",i))}return!1}},r.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=s(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=u(e),r=n.hasClass("open");if(!r&&27!=t.which||r&&27==t.which)return 27==t.which&&n.find(l).trigger("focus"),e.trigger("click");var i=" li:not(.disabled):visible a",o=n.find(".dropdown-menu"+i);if(o.length){var a=o.index(t.target);38==t.which&&0<a&&a--,40==t.which&&a<o.length-1&&a++,~a||(a=0),o.eq(a).trigger("focus")}}}};var n=s.fn.dropdown;s.fn.dropdown=t,s.fn.dropdown.Constructor=r,s.fn.dropdown.noConflict=function(){return s.fn.dropdown=n,this},s(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",l,r.prototype.toggle).on("keydown.bs.dropdown.data-api",l,r.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",r.prototype.keydown)}(jQuery),function(a){"use strict";function s(r,i){return this.each(function(){var t=a(this),e=t.data("bs.modal"),n=a.extend({},o.DEFAULTS,t.data(),"object"==typeof r&&r);e||t.data("bs.modal",e=new o(this,n)),"string"==typeof r?e[r](i):n.show&&e.show(i)})}var o=function(t,e){this.options=e,this.$body=a(document.body),this.$element=a(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};o.VERSION="3.4.1",o.TRANSITION_DURATION=300,o.BACKDROP_TRANSITION_DURATION=150,o.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},o.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},o.prototype.show=function(n){var r=this,t=a.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){a(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=a.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),t&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:n});t?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(o.TRANSITION_DURATION):r.$element.trigger("focus").trigger(e)}))},o.prototype.hide=function(t){t&&t.preventDefault(),t=a.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(o.TRANSITION_DURATION):this.hideModal())},o.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},o.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},o.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},o.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},o.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},o.prototype.backdrop=function(t){var e=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=a.support.transition&&n;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;r?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=function(){e.removeBackdrop(),t&&t()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):i()}else t&&t()},o.prototype.handleUpdate=function(){this.adjustDialog()},o.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},o.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},o.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},o.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var i=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+i),a(this.fixedContent).each(function(t,e){var n=e.style.paddingRight,r=a(e).css("padding-right");a(e).data("padding-right",n).css("padding-right",parseFloat(r)+i+"px")}))},o.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(t,e){var n=a(e).data("padding-right");a(e).removeData("padding-right"),e.style.paddingRight=n||""})},o.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=a.fn.modal;a.fn.modal=s,a.fn.modal.Constructor=o,a.fn.modal.noConflict=function(){return a.fn.modal=t,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=a(this),n=e.attr("href"),r=e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),i=a(document).find(r),o=i.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(n)&&n},i.data(),e.data());e.is("a")&&t.preventDefault(),i.one("show.bs.modal",function(t){t.isDefaultPrevented()||i.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),s.call(i,o,this)})}(jQuery),function(o){"use strict";function i(t,e){this.$body=o(document.body),this.$scrollElement=o(t).is(document.body)?o(window):o(t),this.options=o.extend({},i.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o.proxy(this.process,this)),this.refresh(),this.process()}function e(r){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy"),n="object"==typeof r&&r;e||t.data("bs.scrollspy",e=new i(this,n)),"string"==typeof r&&e[r]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var t=this,r="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),o.isWindow(this.$scrollElement[0])||(r="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=o(this),e=t.data("target")||t.attr("href"),n=/^#./.test(e)&&o(e);return n&&n.length&&n.is(":visible")&&[[n[r]().top+i,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,a=this.activeTarget
;if(this.scrollHeight!=n&&this.refresh(),r<=e)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)a!=o[t]&&e>=i[t]&&(i[t+1]===undefined||e<i[t+1])&&this.activate(o[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=o(e).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},i.prototype.clear=function(){o(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=o.fn.scrollspy;o.fn.scrollspy=e,o.fn.scrollspy.Constructor=i,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=t,this},o(window).on("load.bs.scrollspy.data-api",function(){o('[data-spy="scroll"]').each(function(){var t=o(this);e.call(t,t.data())})})}(jQuery),function(s){"use strict";function e(n){return this.each(function(){var t=s(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof n&&e[n]()})}var a=function(t){this.element=s(t)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=e.find(".active:last a"),i=s.Event("hide.bs.tab",{relatedTarget:t[0]}),o=s.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(i),t.trigger(o),!o.isDefaultPrevented()&&!i.isDefaultPrevented()){var a=s(document).find(n);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},a.prototype.activate=function(t,e,n){function r(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var i=e.find("> .active"),o=n&&s.support.transition&&(i.length&&i.hasClass("fade")||!!e.find("> .fade").length);i.length&&o?i.one("bsTransitionEnd",r).emulateTransitionEnd(a.TRANSITION_DURATION):r(),i.removeClass("in")};var t=s.fn.tab;s.fn.tab=e,s.fn.tab.Constructor=a,s.fn.tab.noConflict=function(){return s.fn.tab=t,this};var n=function(t){t.preventDefault(),e.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(r){"use strict";function t(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(t.style[n]!==undefined)return{end:e[n]};return!1}r.fn.emulateTransitionEnd=function(t){var e=!1,n=this;return r(this).one("bsTransitionEnd",function(){e=!0}),setTimeout(function(){e||r(n).trigger(r.support.transition.end)},t),this},r(function(){r.support.transition=t(),r.support.transition&&(r.event.special.bsTransitionEnd={bindType:r.support.transition.end,delegateType:r.support.transition.end,handle:function(t){if(r(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(m){"use strict";function p(t,e){var n=t.nodeName.toLowerCase();if(-1!==m.inArray(n,e))return-1===m.inArray(n,a)||Boolean(t.nodeValue.match(s)||t.nodeValue.match(u));for(var r=m(e).filter(function(t,e){return e instanceof RegExp}),i=0,o=r.length;i<o;i++)if(n.match(r[i]))return!0;return!1}function r(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=t;for(var i=m.map(e,function(t,e){return e}),o=m(r.body).find("*"),a=0,s=o.length;a<s;a++){var u=o[a],l=u.nodeName.toLowerCase();if(-1!==m.inArray(l,i))for(var c=m.map(u.attributes,function(t){return t}),f=[].concat(e["*"]||[],e[l]||[]),d=0,h=c.length;d<h;d++)p(c[d],f)||u.removeAttribute(c[d].nodeName);else u.parentNode.removeChild(u)}return r.body.innerHTML}function t(r){return this.each(function(){var t=m(this),e=t.data("bs.tooltip"),n="object"==typeof r&&r;!e&&/destroy|hide/.test(r)||(e||t.data("bs.tooltip",e=new g(this,n)),"string"==typeof r&&e[r]())})}var i=["sanitize","whiteList","sanitizeFn"],a=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,u=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,g=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:e},g.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=m(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(document).find(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),i=r.length;i--;){var o=r[i];if("click"==o)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focusin",s="hover"==o?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(t){var e=this.$element.data();for(var n in e)e.hasOwnProperty(n)&&-1!==m.inArray(n,i)&&delete e[n];return(t=m.extend({},this.getDefaults(),e,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=r(t.template,t.whiteList,t.sanitizeFn)),t},g.prototype.getDelegateOptions=function(){var n={},r=this.getDefaults();return this._options&&m.each(this._options,function(t,e){r[t]!=e&&(n[t]=e)}),n},g.prototype.enter=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),t instanceof m.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},g.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},g.prototype.leave=function(t){var e=t instanceof this.constructor?t:m(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e)),t instanceof m.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},g.prototype.show=function(){var t=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var n=this,r=this.tip(),i=this.getUID(this.type);this.setContent(),r.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&r.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(o);s&&(o=o.replace(a,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?r.appendTo(m(document).find(this.options.container)):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),l=r[0].offsetWidth,c=r[0].offsetHeight;if(s){var f=o,d=this.getPosition(this.$viewport);o="bottom"==o&&u.bottom+c>d.bottom?"top":"top"==o&&u.top-c<d.top?"bottom":"right"==o&&u.right+l>d.width?"left":"left"==o&&u.left-l<d.left?"right":o,r.removeClass(f).addClass(o)}var h=this.getCalculatedOffset(o,u,l,c);this.applyPlacement(h,o);var p=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};m.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",p).emulateTransitionEnd(g.TRANSITION_DURATION):p()}},g.prototype.applyPlacement=function(t,e){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),t.top+=o,t.left+=a,m.offset.setOffset(n[0],m.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in");var s=n[0].offsetWidth,u=n[0].offsetHeight;"top"==e&&u!=i&&(t.top=t.top+i-u);var l=this.getViewportAdjustedDelta(e,t,s,u);l.left?t.left+=l.left:t.top+=l.top;var c=/top|bottom/.test(e),f=c?2*l.left-r+s:2*l.top-i+u,d=c?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(f,n[0][d],c)},g.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},g.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=r(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},g.prototype.hide=function(t){function e(){"in"!=n.hoverState&&r.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}var n=this,r=m(this.$tip),i=m.Event("hide.bs."+this.type);if(this.$element.trigger(i),!i.isDefaultPrevented())return r.removeClass("in"),m.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(g.TRANSITION_DURATION):e(),this.hoverState=null,this},g.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},g.prototype.hasContent=function(){return this.getTitle()},g.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName,r=e.getBoundingClientRect();null==r.width&&(r=m.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var i=window.SVGElement&&e instanceof window.SVGElement,o=n?{top:0,left:0}:i?null:t.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=n?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},r,a,s,o)},g.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},g.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,u=e.top+o-a.scroll+r;s<a.top?i.top=a.top-s:u>a.top+a.height&&(i.top=a.top+a.height-u)}else{var l=e.left-o,c=e.left+o+n;l<a.left?i.left=a.left-l:c>a.right&&(i.left=a.left+a.width-c)}return i},g.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},g.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},g.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(t){var e=this;t&&((e=m(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),m(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},g.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},g.prototype.sanitizeHtml=function(t){return r(t,this.options.whiteList,this.options.sanitizeFn)};var n=m.fn.tooltip;m.fn.tooltip=t,m.fn.tooltip.Constructor=g,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=n,this}}(jQuery),function(i){"use strict";function t(r){return this.each(function(){var t=i(this),e=t.data("bs.popover"),n="object"==typeof r&&r;!e&&/destroy|hide/.test(r)||(e||t.data("bs.popover",e=new o(this,n)),"string"==typeof r&&e[r]())})}var o=function(t,e){this.init("popover",t,e)};if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.4.1",o.DEFAULTS=i.extend({},i.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),o.prototype=i.extend({},i.fn.tooltip.Constructor.prototype),(o.prototype.constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===r&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=i.fn.popover;i.fn.popover=t,i.fn.popover.Constructor=o,i.fn.popover.noConflict=function(){return i.fn.popover=e,this}}(jQuery),function(p,Z,tt){"use strict";function $(s){return function(t,e){var n,r,i=t,o=arguments,a=function(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):void 0===t?"undefined":"string"!=typeof t?JSON.stringify(t):t};for(n=(n="["+(s?s+":":"")+i+"] "+e.replace(/\{\d+\}/g,function(t){var e,n=+t.slice(1,-1);return n+2<o.length?"function"==typeof(e=o[n+2])?e.toString().replace(/ ?\{[\s\S]*$/,""):void 0===e?"undefined":"string"!=typeof e?D(e):e:t}))+"\nhttp://errors.angularjs.org/1.2.16/"+(s?s+"/":"")+i,r=2;r<arguments.length;r++)n=n+(2==r?"?":"&")+"p"+(r-2)+"="+encodeURIComponent(a(arguments[r]));return new Error(n)}}function O(t){if(null==t||c(t))return!1;var e=t.length;return!(1!==t.nodeType||!e)||(rt(t)||it(t)||0===e||"number"==typeof e&&0<e&&e-1 in t)}function et(t,e,n){var r;if(t)if(ot(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r);else if(t.forEach&&t.forEach!==et)t.forEach(e,n);else if(O(t))for(r=0;r<t.length;r++)e.call(n,t[r],r);else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r);return t}function H(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e.sort()}function a(t,e,n){for(var r=H(t),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function y(n){return function(t,e){n(e,t)}}function i(){for(var t,e=An.length;e;){if(57==(t=An[--e].charCodeAt(0)))return An[e]="A",An.join("");if(90!=t)return An[e]=String.fromCharCode(t+1),An.join("");An[e]="0"}return An.unshift("0"),An.join("")}function o(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function j(n){var t=n.$$hashKey;return et(arguments,function(t){t!==n&&et(t,function(t,e){n[e]=t})}),o(n,t),n}function b(t){return parseInt(t,10)}function g(t,e){return j(new(j(function(){},{prototype:t})),e)}function E(){}function f(t){return t}function R(t){return function(){return t}}function k(t){return void 0===t}function F(t){return void 0!==t}function nt(t){return null!=t&&"object"==typeof t}function rt(t){return"string"==typeof t}function u(t){return"number"==typeof t}function l(t){return"[object Date]"===Sn.call(t)}function it(t){return"[object Array]"===Sn.call(t)}function ot(t){return"function"==typeof t}function s(t){return"[object RegExp]"===Sn.call(t)}function c(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function d(t){return t&&t.$evalAsync&&t.$watch}function h(t){return"[object File]"===Sn.call(t)}function m(t){return"[object Blob]"===Sn.call(t)}function r(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function v(t,r,i){var o=[];return et(t,function(t,e,n){o.push(r.call(i,t,e,n))}),o}function w(t,e){return-1!=T(t,e)}function T(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(e===t[n])return n;return-1}function S(t,e){var n=T(t,e);return 0<=n&&t.splice(n,1),e}function A(t,n){if(c(t)||d(t))throw En("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(n){if(t===n)throw En("cpi","Can't copy! Source and destination are identical.");if(it(t))for(var e=n.length=0;e<t.length;e++)n.push(A(t[e]));else{var r=n.$$hashKey;for(var i in et(n,function(t,e){delete n[e]}),t)n[i]=A(t[i]);o(n,r)}}else(n=t)&&(it(t)?n=A(t,[]):l(t)?n=new Date(t.getTime()):s(t)?n=new RegExp(t.source):nt(t)&&(n=A(t,{})));return n}function at(t,e){for(var n in e=e||{},t)!t.hasOwnProperty(n)||"$"===n.charAt(0)&&"$"===n.charAt(1)||(e[n]=t[n]);return e}function st(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,r,i,o=typeof t;if(o==typeof e&&"object"==o){if(!it(t)){if(l(t))return l(e)&&t.getTime()==e.getTime();if(s(t)&&s(e))return t.toString()==e.toString();if(d(t)||d(e)||c(t)||c(e)||it(e))return!1;for(r in i={},t)if("$"!==r.charAt(0)&&!ot(t[r])){if(!st(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!i.hasOwnProperty(r)&&"$"!==r.charAt(0)&&e[r]!==tt&&!ot(e[r]))return!1;return!0}if(!it(e))return!1;if((n=t.length)==e.length){for(r=0;r<n;r++)if(!st(t[r],e[r]))return!1;return!0}}return!1}function x(){return Z.securityPolicy&&Z.securityPolicy.isActive||Z.querySelector&&!(!Z.querySelector("[ng-csp]")&&!Z.querySelector("[data-ng-csp]"))}function N(t,e,n){return t.concat(Cn.call(e,n))}function ut(t,e){return Cn.call(t,e||0)}function M(t,e){var n=2<arguments.length?ut(arguments,2):[];return!ot(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,n.concat(Cn.call(arguments,0))):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function n(t,e){var n=e;return"string"==typeof t&&"$"===t.charAt(0)?n=tt:c(e)?n="$WINDOW":e&&Z===e?n="$DOCUMENT":d(e)&&(n="$SCOPE"),n}function D(t,e){return void 0===t?tt:JSON.stringify(t,n,e?"  ":null)}function C(t){return rt(t)?JSON.parse(t):t}function L(t){if("function"==typeof t)t=!0;else if(t&&0!==t.length){var e=hn(""+t);t=!("f"==e||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e)}else t=!1;return t}function lt(t){t=$n(t).clone();try{t.empty()}catch(r){}var e=3,n=$n("<div>").append(t).html();try{return t[0].nodeType===e?hn(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+hn(e)})}catch(r){return hn(n)}}function P(t){try{return decodeURIComponent(t)}catch(e){}}function I(t){var n,r,i={};return et((t||"").split("&"),function(t){if(t&&(n=t.split("="),F(r=P(n[0])))){var e=!F(n[1])||P(n[1]);i[r]?it(i[r])?i[r].push(e):i[r]=[i[r],e]:i[r]=e}}),i}function q(t){var n=[];return et(t,function(t,e){it(t)?et(t,function(t){n.push(U(e,!0)+(!0===t?"":"="+U(t,!0)))}):n.push(U(e,!0)+(!0===t?"":"="+U(t,!0)))}),n.length?n.join("&"):""}function _(t){return U(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function U(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,e?"%20":"+")}function t(e,t){function n(t){t&&o.push(t)}var r,i,o=[e],a=["ng:app","ng-app","x-ng-app","data-ng-app"],s=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;et(a,function(t){a[t]=!0,n(Z.getElementById(t)),t=t.replace(":","\\:"),e.querySelectorAll&&(et(e.querySelectorAll("."+t),n),et(e.querySelectorAll("."+t+"\\:"),n),et(e.querySelectorAll("["+t+"]"),n))}),et(o,function(e){if(!r){var t=" "+e.className+" ",n=s.exec(t);n?(r=e,i=(n[2]||"").replace(/\s+/g,",")):et(e.attributes,function(t){!r&&a[t.name]&&(r=e,i=t.value)})}}),r&&t(r,i?[i]:[])}function B(n,r){var e=function(){if((n=$n(n)).injector()){var t=n[0]===Z?"document":lt(n);throw En("btstrpd","App Already Bootstrapped with this Element '{0}'",t)}(r=r||[]).unshift(["$provide",function(t){t.value("$rootElement",n)}]),r.unshift("ng");var e=Mt(r);return e.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),e},t=/^NG_DEFER_BOOTSTRAP!/;if(p&&!t.test(p.name))return e();p.name=p.name.replace(t,""),kn.resumeBootstrap=function(t){et(t,function(t){r.push(t)}),e()}}function ct(t,n){return n=n||"_",t.replace(Dn,function(t,e){return(e?n:"")+t.toLowerCase()})}function e(){(bn=p.jQuery)?(j(($n=bn).fn,{scope:Wn.scope,isolateScope:Wn.isolateScope,controller:Wn.controller,injector:Wn.injector,inheritedData:Wn.inheritedData}),K("remove",!0,!0,!1),K("empty",!1,!1,!1),K("html",!1,!1,!0)):$n=mt,kn.element=$n}function ft(t,e,n){if(!t)throw En("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function V(t,e,n){return n&&it(t)&&(t=t[t.length-1]),ft(ot(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function W(t,e){if("hasOwnProperty"===t)throw En("badname","hasOwnProperty is not a valid {0} name",e)}function z(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;s<a;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&ot(t)?M(o,t):t}function X(t){var e=t[0],n=t[t.length-1];if(e===n)return $n(e);var r=e,i=[r];do{if(!(r=r.nextSibling))break;i.push(r)}while(r!==n);return $n(i)}function Q(t){function n(t,e,n){return t[e]||(t[e]=n())}var u=$("$injector"),r=$("ng"),e=n(t,"angular",Object);return e.$$minErr=e.$$minErr||$,n(e,"module",function(){var t={};return function e(o,a,s){return function(t,e){if("hasOwnProperty"===t)throw r("badname","hasOwnProperty is not a valid {0} name",e)}(o,"module"),a&&t.hasOwnProperty(o)&&(t[o]=null),n(t,o,function(){function t(t,e,n){return function(){return r[n||"push"]([t,e,arguments]),i}}if(!a)throw u("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.",o);var r=[],e=[],n=t("$injector","invoke"),i={_invokeQueue:r,_runBlocks:e,requires:a,name:o,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:n,run:function(t){return e.push(t),this}};return s&&n(s),i})}})}function G(t){j(t,{bootstrap:B,copy:A,extend:j,equals:st,element:$n,forEach:et,injector:Mt,noop:E,bind:M,toJson:D,fromJson:C,identity:f,isUndefined:k,isDefined:F,isString:rt,isFunction:ot,isObject:nt,isNumber:u,isElement:r,isArray:it,version:jn,isDate:l,lowercase:hn,uppercase:mn,callbacks:{counter:0},$$minErr:$,$$csp:x}),wn=Q(p);try{wn("ngLocale")}catch(e){wn("ngLocale",[]).provider("$locale",re)}wn("ng",["ngLocale"],["$provide",function n(t){t.provider({$$sanitizeUri:De}),t.provider("$compile",_t).directive({a:Sr,input:Lr,textarea:Lr,form:Nr,script:gi,select:$i,style:wi,option:bi,ngBind:Xr,ngBindHtml:Gr,ngBindTemplate:Qr,ngClass:Yr,ngClassEven:Kr,ngClassOdd:Jr,ngCloak:Zr,ngController:ti,ngForm:Dr,ngHide:ci,ngIf:ni,ngInclude:ri,ngInit:oi,ngNonBindable:ai,ngPluralize:si,ngRepeat:ui,ngShow:li,ngStyle:fi,ngSwitch:di,ngSwitchWhen:hi,ngSwitchDefault:pi,ngOptions:yi,ngTransclude:mi,ngModel:_r,ngList:Vr,ngChange:Ur,required:Br,ngRequired:Br,ngValue:zr}).directive({ngInclude:ii}).directive(Er).directive(ei),t.provider({$anchorScroll:Lt,$animate:tr,$browser:qt,$cacheFactory:Ht,$controller:Vt,$document:Wt,$exceptionHandler:zt,$filter:_e,$interpolate:ee,$interval:ne,$http:Jt,$httpBackend:Zt,$location:ge,$log:ve,$parse:Se,$rootScope:Ne,$q:Ee,$sce:Le,$sceDelegate:Me,$sniffer:Pe,$templateCache:Ft,$timeout:Ie,$window:Fe,$$rAF:Ae,$$asyncCallback:Pt})}])}function Y(){return++Mn}function J(t){return t.replace(In,function(t,e,n,r){return r?n.toUpperCase():n}).replace(qn,"Moz$1")}function K(t,c,f,d){function e(t){var e,n,r,i,o,a,s,u=f&&t?[this.filter(t)]:[this],l=c;if(!d||null!=t)for(;u.length;)for(n=0,r=(e=u.shift()).length;n<r;n++)for(i=$n(e[n]),l?i.triggerHandler("$destroy"):l=!l,o=0,a=(s=i.children()).length;o<a;o++)u.push(bn(s[o]));return h.apply(this,arguments)}var h=bn.fn[t];h=h.$original||h,e.$original=h,bn.fn[t]=e}function dt(t){return!_n.test(t)}function ht(t,e){var n,r,i,o,a,s,u=e.createDocumentFragment(),l=[];if(dt(t))l.push(e.createTextNode(t));else{for(n=u.appendChild(e.createElement("div")),r=(Un.exec(t)||["",""])[1].toLowerCase(),i=Vn[r]||Vn._default,n.innerHTML="<div>&#160;</div>"+i[1]+t.replace(Bn,"<$1></$2>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;a<s;++a)l.push(n.childNodes[a]);(n=u.firstChild).textContent=""}return u.textContent="",u.innerHTML="",l}function pt(t,e){var n;return e=e||Z,(n=Fn.exec(t))?[e.createElement(n[1])]:ht(t,e)}function mt(t){if(t instanceof mt)return t;if(rt(t)&&(t=Nn(t)),!(this instanceof mt)){if(rt(t)&&"<"!=t.charAt(0))throw Hn("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new mt(t)}rt(t)?(St(this,pt(t)),$n(Z.createDocumentFragment()).append(this)):St(this,t)}function gt(t){return t.cloneNode(!0)}function vt(t){$t(t);for(var e=0,n=t.childNodes||[];e<n.length;e++)vt(n[e])}function yt(n,t,e,r){if(F(r))throw Hn("offargs","jqLite#off() does not support the `selector` argument");var i=bt(n,"events");bt(n,"handle")&&(k(t)?et(i,function(t,e){Pn(n,e,t),delete i[e]}):et(t.split(" "),function(t){k(e)?(Pn(n,t,i[t]),delete i[t]):S(i[t]||[],e)}))}function $t(t,e){var n=t[Rn],r=On[n];if(r){if(e)return void delete On[n].data[e];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),yt(t)),delete On[n],t[Rn]=tt}}function bt(t,e,n){var r=t[Rn],i=On[r||-1];if(!F(n))return i&&i[e];i||(t[Rn]=r=Y(),i=On[r]={}),i[e]=n}function wt(t,e,n){var r=bt(t,"data"),i=F(n),o=!i&&F(e),a=o&&!nt(e);if(r||a||bt(t,"data",r={}),i)r[e]=n;else{if(!o)return r;if(a)return r&&r[e];j(r,e)}}function xt(t,e){return!!t.getAttribute&&-1<(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")}function Ct(e,t){t&&e.setAttribute&&et(t.split(" "),function(t){e.setAttribute("class",Nn((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Nn(t)+" "," ")))})}function Tt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");et(e.split(" "),function(t){t=Nn(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",Nn(n))}}function St(t,e){if(e){e=e.nodeName||!F(e.length)||c(e)?[e]:e;for(var n=0;n<e.length;n++)t.push(e[n])}}function Et(t,e){return kt(t,"$"+(e||"ngController")+"Controller")}function kt(t,e,n){9==(t=$n(t))[0].nodeType&&(t=t.find("html"));for(var r=it(e)?e:[e];t.length;){for(var i=t[0],o=0,a=r.length;o<a;o++)if((n=t.data(r[o]))!==tt)return n;t=$n(i.parentNode||11===i.nodeType&&i.host)}}function At(t){for(var e=0,n=t.childNodes;e<n.length;e++)vt(n[e]);for(;t.firstChild;)t.removeChild(t.firstChild)}function Nt(t,e){var n=zn[e.toLowerCase()];return n&&Xn[t.nodeName]&&n}function Dt(r,i){var t=function(e,t){if(e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){e.cancelBubble=!0}),e.target||(e.target=e.srcElement||Z),k(e.defaultPrevented)){var n=e.preventDefault;e.preventDefault=function(){e.defaultPrevented=!0,n.call(e)},e.defaultPrevented=!1}e.isDefaultPrevented=function(){return e.defaultPrevented||!1===e.returnValue},et(at(i[t||e.type]||[]),function(t){t.call(r,e)}),yn<=8?(e.preventDefault=null,e.stopPropagation=null,e.isDefaultPrevented=null):(delete e.preventDefault,delete e.stopPropagation,delete e.isDefaultPrevented)};return t.elem=r,t}function jt(t){var e,n=typeof t;return"object"==n&&null!==t?"function"==typeof(e=t.$$hashKey)?e=t.$$hashKey():e===tt&&(e=t.$$hashKey=i()):e=t,n+":"+e}function Ot(t){et(t,this.put,this)}function Rt(t){var r,e;return"function"==typeof t?(r=t.$inject)||(r=[],t.length&&et(t.toString().replace(Jn,"").match(Qn)[1].split(Gn),function(t){t.replace(Yn,function(t,e,n){r.push(n)})}),t.$inject=r):it(t)?(V(t[e=t.length-1],"fn"),r=t.slice(0,e)):V(t,"fn",!0),r}function Mt(t){function e(n){return function(t,e){if(!nt(t))return n(t,e);et(t,y(n))}}function n(t,e){if(W(t,"service"),(ot(e)||it(e))&&(e=m.instantiate(e)),!e.$get)throw Kn("pget","Provider '{0}' must define $get factory method.",t);return p[t+f]=e}function r(t,e){return n(t,{$get:e})}function i(t,e){return r(t,["$injector",function(t){return t.instantiate(e)}])}function o(t,e){return r(t,R(e))}function a(t,e){W(t,"constant"),p[t]=e,g[t]=e}function s(t,e){var n=m.get(t+f),r=n.$get;n.$get=function(){var t=v.invoke(r,n);return v.invoke(e,null,{$delegate:t})}}function l(t){var i,o,a,s,u=[];return et(t,function(t){if(!h.get(t)){h.put(t,!0);try{if(rt(t))for(i=wn(t),u=u.concat(l(i.requires)).concat(i._runBlocks),o=i._invokeQueue,a=0,s=o.length;a<s;a++){var e=o[a],n=m.get(e[0]);n[e[1]].apply(n,e[2])}else ot(t)?u.push(m.invoke(t)):it(t)?u.push(m.invoke(t)):V(t,"module")}catch(r){throw it(t)&&(t=t[t.length-1]),r.message&&r.stack&&-1==r.stack.indexOf(r.message)&&(r=r.message+"\n"+r.stack),Kn("modulerr","Failed to instantiate module {0} due to:\n{1}",t,r.stack||r.message||r)}}}),u}function u(n,r){function u(t){if(n.hasOwnProperty(t)){if(n[t]===c)throw Kn("cdep","Circular dependency found: {0}",d.join(" <- "));return n[t]}try{return d.unshift(t),n[t]=c,n[t]=r(t)}catch(e){throw n[t]===c&&delete n[t],e}finally{d.shift()}}function o(t,e,n){var r,i,o,a=[],s=Rt(t);for(i=0,r=s.length;i<r;i++){if("string"!=typeof(o=s[i]))throw Kn("itkn","Incorrect injection token! Expected service name as string, got {0}",o);a.push(n&&n.hasOwnProperty(o)?n[o]:u(o))}return t.$inject||(t=t[r]),t.apply(e,a)}function t(t,e){var n,r,i=function(){};return i.prototype=(it(t)?t[t.length-1]:t).prototype,nt(r=o(t,n=new i,e))||ot(r)?r:n}return{invoke:o,instantiate:t,get:u,annotate:Rt,has:function(t){return p.hasOwnProperty(t+f)||n.hasOwnProperty(t)}}}var c={},f="Provider",d=[],h=new Ot,p={$provide:{provider:e(n),
factory:e(r),service:e(i),value:e(o),constant:e(a),decorator:s}},m=p.$injector=u(p,function(){throw Kn("unpr","Unknown provider: {0}",d.join(" <- "))}),g={},v=g.$injector=u(g,function(t){var e=m.get(t+f);return v.invoke(e.$get,e)});return et(l(t),function(t){v.invoke(t||E)}),v}function Lt(){var u=!0;this.disableAutoScrolling=function(){u=!1},this.$get=["$window","$location","$rootScope",function(n,r,t){function i(t){var e=null;return et(t,function(t){e||"a"!==hn(t.nodeName)||(e=t)}),e}function e(){var t,e=r.hash();e?(t=o.getElementById(e))?t.scrollIntoView():(t=i(o.getElementsByName(e)))?t.scrollIntoView():"top"===e&&n.scrollTo(0,0):n.scrollTo(0,0)}var o=n.document;return u&&t.$watch(function a(){return r.hash()},function s(){t.$evalAsync(e)}),e}]}function Pt(){this.$get=["$$rAF","$timeout",function(e,n){return e.supported?function(t){return e(t)}:function(t){return n(t,0,!1)}}]}function It(n,t,s,r){function i(t){try{t.apply(null,ut(arguments,1))}finally{if(0===--p)for(;m.length;)try{m.pop()()}catch(e){s.error(e)}}}function e(t,e){!function n(){et(v,function(t){t()}),g=e(n,t)}()}function o(){b=null,y!=a.url()&&(y=a.url(),et(w,function(t){t(a.url())}))}var a=this,u=t[0],l=n.location,c=n.history,f=n.setTimeout,d=n.clearTimeout,h={};a.isMock=!1;var p=0,m=[];a.$$completeOutstandingRequest=i,a.$$incOutstandingRequestCount=function(){p++},a.notifyWhenNoOutstandingRequests=function(t){et(v,function(t){t()}),0===p?t():m.push(t)};var g,v=[];a.addPollFn=function(t){return k(g)&&e(100,f),v.push(t),t};var y=l.href,$=t.find("base"),b=null;a.url=function(t,e){if(l!==n.location&&(l=n.location),c!==n.history&&(c=n.history),t){if(y==t)return;return y=t,r.history?e?c.replaceState(null,"",t):(c.pushState(null,"",t),$.attr("href",$.attr("href"))):(b=t,e?l.replace(t):l.href=t),a}return b||l.href.replace(/%27/g,"'")};var w=[],x=!1;a.onUrlChange=function(t){return x||(r.history&&$n(n).on("popstate",o),r.hashchange?$n(n).on("hashchange",o):a.addPollFn(o),x=!0),w.push(t),t},a.baseHref=function(){var t=$.attr("href");return t?t.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var C={},T="",S=a.baseHref();a.cookies=function(t,e){var n,r,i,o,a;if(!t){if(u.cookie!==T)for(r=(T=u.cookie).split("; "),C={},o=0;o<r.length;o++)0<(a=(i=r[o]).indexOf("="))&&(t=unescape(i.substring(0,a)),C[t]===tt&&(C[t]=unescape(i.substring(a+1))));return C}e===tt?u.cookie=escape(t)+"=;path="+S+";expires=Thu, 01 Jan 1970 00:00:00 GMT":rt(e)&&4096<(n=(u.cookie=escape(t)+"="+escape(e)+";path="+S).length+1)&&s.warn("Cookie '"+t+"' possibly not set or overflowed because it was too large ("+n+" > 4096 bytes)!")},a.defer=function(t,e){var n;return p++,n=f(function(){delete h[n],i(t)},e||0),h[n]=!0,n},a.defer.cancel=function(t){return!!h[t]&&(delete h[t],d(t),i(E),!0)}}function qt(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new It(t,r,e,n)}]}function Ht(){this.$get=function(){function t(t,e){function n(t){t!=l&&(c?c==t&&(c=t.n):c=t,r(t.n,t.p),r(t,l),(l=t).n=null)}function r(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in f)throw $("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var i=0,o=j({},e,{id:t}),a={},s=e&&e.capacity||Number.MAX_VALUE,u={},l=null,c=null;return f[t]={put:function(t,e){s<Number.MAX_VALUE&&n(u[t]||(u[t]={key:t}));if(!k(e))return t in a||i++,a[t]=e,s<i&&this.remove(c.key),e},get:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;n(e)}return a[t]},remove:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;e==l&&(l=e.p),e==c&&(c=e.n),r(e.n,e.p),delete u[t]}delete a[t],i--},removeAll:function(){a={},i=0,u={},l=c=null},destroy:function(){u=o=a=null,delete f[t]},info:function(){return j({},o,{size:i})}}}var f={};return t.info=function(){var n={};return et(f,function(t,e){n[e]=t.info()}),n},t.get=function(t){return f[t]},t}}function Ft(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function _t(e,n){var p={},m="Directive",E=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,D=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,c=/^(on[a-z]+|formaction)$/;this.directive=function r(s,t){return W(s,"directive"),rt(s)?(ft(t,"directiveFactory"),p.hasOwnProperty(s)||(p[s]=[],e.factory(s+m,["$injector","$exceptionHandler",function(i,o){var a=[];return et(p[s],function(t,e){try{var n=i.invoke(t);ot(n)?n={compile:R(n)}:!n.compile&&n.link&&(n.compile=R(n.link)),n.priority=n.priority||0,n.index=e,n.name=n.name||s,n.require=n.require||n.controller&&n.name,n.restrict=n.restrict||"A",a.push(n)}catch(r){o(r)}}),a}])),p[s].push(t)):et(s,y(r)),this},this.aHrefSanitizationWhitelist=function(t){return F(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return F(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(h,P,I,t,e,q,H,o,n,r,i,s){function F(s,t,e,n,r){s instanceof $n||(s=$n(s)),et(s,function(t,e){3==t.nodeType&&t.nodeValue.match(/\S+/)&&(s[e]=t=$n(t).wrap("<span></span>").parent()[0])});var u=k(s,t,s,e,n,r);return _(s,"ng-scope"),function l(t,e,n){ft(t,"scope");var r=e?Wn.clone.call(s):s;et(n,function(t,e){r.data("$"+e+"Controller",t)});for(var i=0,o=r.length;i<o;i++){var a=r[i].nodeType;1!==a&&9!==a||r.eq(i).data("$scope",t)}return e&&e(r,t),u&&u(t,r,r),r}}function _(t,e){try{t.addClass(e)}catch(n){}}function k(t,m,e,n,r,i){function o(t,e,n,r){var i,o,a,s,u,l,c,f,d,h=e.length,p=new Array(h);for(c=0;c<h;c++)p[c]=e[c];for(d=c=0,f=g.length;c<f;d++)a=p[d],i=g[c++],o=g[c++],s=$n(a),i?(i.scope?(u=t.$new(),s.data("$scope",u)):u=t,i(o,u,a,n,(l=i.transclude)||!r&&m?A(t,l||m):r)):o&&o(t,a.childNodes,tt,r)}for(var a,s,u,l,c,f,g=[],d=0;d<t.length;d++)a=new J,(u=(s=U(t[d],[],a,0===d?n:tt,r)).length?N(s,t[d],a,m,e,null,[],[],i):null)&&u.scope&&_($n(t[d]),"ng-scope"),c=u&&u.terminal||!(l=t[d].childNodes)||!l.length?null:k(l,u?u.transclude:m),g.push(u,c),f=f||u||c,i=null;return f?o:null}function A(o,a){return function s(t,e,n){var r=!1;t||(r=(t=o.$new()).$$transcluded=!0);var i=a(t,e,n);return r&&i.on("$destroy",M(t,t.$destroy)),i}}function U(t,e,n,r,i){var o,a,s=t.nodeType,u=n.$attr;switch(s){case 1:w(e,Ut(xn(t).toLowerCase()),"E",r,i);for(var l,c,f,d,h,p=t.attributes,m=0,g=p&&p.length;m<g;m++){var v=!1,y=!1;if(l=p[m],!yn||8<=yn||l.specified){d=Ut(c=l.name),S.test(d)&&(c=ct(d.substr(6),"-"));var $=d.replace(/(Start|End)$/,"");d===$+"Start"&&(y=(v=c).substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),u[f=Ut(c.toLowerCase())]=c,n[f]=h=Nn(l.value),Nt(t,f)&&(n[f]=!0),T(t,e,h,f),w(e,f,"A",r,i,v,y)}}if(rt(a=t.className)&&""!==a)for(;o=D.exec(a);)w(e,f=Ut(o[2]),"C",r,i)&&(n[f]=Nn(o[3])),a=a.substr(o.index+o[0].length);break;case 3:C(e,t.nodeValue);break;case 8:try{(o=E.exec(t.nodeValue))&&w(e,f=Ut(o[1]),"M",r,i)&&(n[f]=Nn(o[2]))}catch(b){}}return e.sort(x),e}function B(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw er("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1==t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(0<i)}else r.push(t);return $n(r)}function V(o,a,s){return function(t,e,n,r,i){return e=B(e[0],a,s),o(t,e,n,r,i)}}function N(t,$,b,e,n,r,w,x,i){function o(t,e,n,r){t&&(n&&(t=V(t,n,r)),t.require=u.require,(S===u||u.$$isolateScope)&&(t=Y(t,{isolateScope:!0})),w.push(t)),e&&(n&&(e=V(e,n,r)),e.require=u.require,(S===u||u.$$isolateScope)&&(e=Y(e,{isolateScope:!0})),x.push(e))}function C(t,e,n){var r,i="data",o=!1;if(rt(t)){for(;"^"==(r=t.charAt(0))||"?"==r;)t=t.substr(1),"^"==r&&(i="inheritedData"),o=o||"?"==r;if(r=null,n&&"data"===i&&(r=n[t]),!(r=r||e[i]("$"+t+"Controller"))&&!o)throw er("ctreq","Controller '{0}', required by directive '{1}', can't be found!",t,l);return r}return it(t)&&(r=[],et(t,function(t){r.push(C(t,e,n))})),r}function a(t,f,e,n,r){function i(t,e){var n;return arguments.length<2&&(e=t,t=tt),k&&(n=p),r(t,e,n)}var d,o,a,s,u,l,h,c,p={};if(d=$===e?b:at(b,new J($n(e),b.$attr)),o=d.$$element,S){var m=/^\s*([@=&])(\??)\s*(\w*)\s*$/,g=$n(e);h=f.$new(!0),E&&E===S.$$originalDirective?g.data("$isolateScope",h):g.data("$isolateScopeNoTemplate",h),_(g,"ng-isolate-scope"),et(S.scope,function(t,e){var n,r,i,o,a=t.match(m)||[],s=a[3]||e,u="?"==a[2],l=a[1];switch(h.$$isolateBindings[e]=l+s,l){case"@":d.$observe(s,function(t){h[e]=t}),d.$$observers[s].$$scope=f,d[s]&&(h[e]=P(d[s])(f));break;case"=":if(u&&!d[s])return;r=q(d[s]),o=r.literal?st:function(t,e){return t===e},i=r.assign||function(){throw n=h[e]=r(f),er("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",d[s],S.name)},n=h[e]=r(f),h.$watch(function c(){var t=r(f);return o(t,h[e])||(o(t,n)?i(f,t=h[e]):h[e]=t),n=t},null,r.literal);break;case"&":r=q(d[s]),h[e]=function(t){return r(f,t)};break;default:throw er("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",S.name,e,t)}})}for(c=r&&i,T&&et(T,function(t){var e,n={$scope:t===S||t.$$isolateScope?h:f,$element:o,$attrs:d,$transclude:c};"@"==(l=t.controller)&&(l=d[t.name]),e=H(l,n),p[t.name]=e,k||o.data("$"+t.name+"Controller",e),t.controllerAs&&(n.$scope[t.controllerAs]=e)}),a=0,s=w.length;a<s;a++)try{(u=w[a])(u.isolateScope?h:f,o,d,u.require&&C(u.require,o,p),c)}catch(y){I(y,lt(o))}var v=f;for(S&&(S.template||null===S.templateUrl)&&(v=h),t&&t(v,e.childNodes,tt,r),a=x.length-1;0<=a;a--)try{(u=x[a])(u.isolateScope?h:f,o,d,u.require&&C(u.require,o,p),c)}catch(y){I(y,lt(o))}}i=i||{};for(var s,u,l,c,f,d,h=-Number.MAX_VALUE,T=i.controllerDirectives,S=i.newIsolateScopeDirective,E=i.templateDirective,p=i.nonTlbTranscludeDirective,m=!1,k=i.hasElementTranscludeDirective,g=b.$$element=$n($),v=r,y=e,A=0,N=t.length;A<N;A++){var D=(u=t[A]).$$start,j=u.$$end;if(D&&(g=B($,D,j)),c=tt,h>u.priority)break;if((d=u.scope)&&(s=s||u,u.templateUrl||(Q("new/isolated scope",S,u,g),nt(d)&&(S=u))),l=u.name,!u.templateUrl&&u.controller&&(d=u.controller,Q("'"+l+"' controller",(T=T||{})[l],u,g),T[l]=u),(d=u.transclude)&&(m=!0,u.$$tlb||(Q("transclusion",p,u,g),p=u),"element"==d?(k=!0,h=u.priority,c=B($,D,j),g=b.$$element=$n(Z.createComment(" "+l+": "+b[l]+" ")),$=g[0],G(n,$n(ut(c)),$),y=F(c,e,h,v&&v.name,{nonTlbTranscludeDirective:p})):(c=$n(gt($)).contents(),g.empty(),y=F(c,e))),u.template)if(Q("template",E,u,g),d=ot((E=u).template)?u.template(g,b):u.template,d=K(d),u.replace){if(v=u,c=dt(d)?[]:$n(d),$=c[0],1!=c.length||1!==$.nodeType)throw er("tplrt","Template for directive '{0}' must have exactly one root element. {1}",l,"");G(n,g,$);var O={$attr:{}},R=U($,[],O),M=t.splice(A+1,t.length-(A+1));S&&W(R),t=t.concat(R).concat(M),z(b,O),N=t.length}else g.html(d);if(u.templateUrl)Q("template",E,u,g),(E=u).replace&&(v=u),a=X(t.splice(A,t.length-A),g,b,n,y,w,x,{controllerDirectives:T,newIsolateScopeDirective:S,templateDirective:E,nonTlbTranscludeDirective:p}),N=t.length;else if(u.compile)try{ot(f=u.compile(g,b,y))?o(null,f,D,j):f&&o(f.pre,f.post,D,j)}catch(L){I(L,lt(g))}u.terminal&&(a.terminal=!0,h=Math.max(h,u.priority))}return a.scope=s&&!0===s.scope,a.transclude=m&&y,i.hasElementTranscludeDirective=k,a}function W(t){for(var e=0,n=t.length;e<n;e++)t[e]=g(t[e],{$$isolateScope:!0})}function w(t,e,n,r,i,o,a){if(e===i)return null;var s=null;if(p.hasOwnProperty(e))for(var u,l=h.get(e+m),c=0,f=l.length;c<f;c++)try{u=l[c],(r===tt||r>u.priority)&&-1!=u.restrict.indexOf(n)&&(o&&(u=g(u,{$$start:o,$$end:a})),t.push(u),s=u)}catch(d){I(d)}return s}function z(n,r){var i=r.$attr,o=n.$attr,a=n.$$element;et(n,function(t,e){"$"!=e.charAt(0)&&(r[e]&&(t+=("style"===e?";":" ")+r[e]),n.$set(e,t,!0,i[e]))}),et(r,function(t,e){"class"==e?(_(a,t),n["class"]=(n["class"]?n["class"]+" ":"")+t):"style"==e?(a.attr("style",a.attr("style")+";"+t),n.style=(n.style?n.style+";":"")+t):"$"==e.charAt(0)||n.hasOwnProperty(e)||(n[e]=t,o[e]=i[e])})}function X(d,h,p,m,g,v,y,$){var b,w,x=[],C=h[0],T=d.shift(),S=j({},T,{templateUrl:null,transclude:null,replace:null,$$originalDirective:T}),E=ot(T.templateUrl)?T.templateUrl(h,p):T.templateUrl;return h.empty(),t.get(r.getTrustedResourceUrl(E),{cache:e}).success(function(t){var n,e,r,i;if(t=K(t),T.replace){if(r=dt(t)?[]:$n(t),n=r[0],1!=r.length||1!==n.nodeType)throw er("tplrt","Template for directive '{0}' must have exactly one root element. {1}",T.name,E);e={$attr:{}},G(m,h,n);var o=U(n,[],e);nt(T.scope)&&W(o),d=o.concat(d),z(p,e)}else n=C,h.html(t);for(d.unshift(S),b=N(d,n,p,g,h,T,v,y,$),et(m,function(t,e){t==n&&(m[e]=h[0])}),w=k(h[0].childNodes,g);x.length;){var a=x.shift(),s=x.shift(),u=x.shift(),l=x.shift(),c=h[0];if(s!==C){var f=s.className;$.hasElementTranscludeDirective&&T.replace||(c=gt(n)),G(u,$n(s),c),_($n(c),f)}i=b.transclude?A(a,b.transclude):l,b(w,a,c,m,i)}x=null}).error(function(t,e,n,r){throw er("tpload","Failed to load template: {0}",r.url)}),function o(t,e,n,r,i){x?(x.push(e),x.push(n),x.push(r),x.push(i)):b(w,e,n,r,i)}}function x(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function Q(t,e,n,r){if(e)throw er("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",e.name,n.name,t,lt(r))}function C(t,e){var o=P(e,!0);o&&t.push({priority:0,compile:R(function a(t,e){var n=e.parent(),r=n.data("$binding")||[];r.push(o),_(n.data("$binding",r),"ng-binding"),t.$watch(o,function i(t){e[0].nodeValue=t})})})}function l(t,e){if("srcdoc"==e)return r.HTML;var n=xn(t);return"xlinkHref"==e||"FORM"==n&&"action"==e||"IMG"!=n&&("src"==e||"ngSrc"==e)?r.RESOURCE_URL:void 0}function T(a,t,e,s){var u=P(e,!0);if(u){if("multiple"===s&&"SELECT"===xn(a))throw er("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",lt(a));t.push({priority:100,compile:function(){return{pre:function o(t,e,n){var r=n.$$observers||(n.$$observers={});if(c.test(s))throw er("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");(u=P(n[s],!0,l(a,s)))&&(n[s]=u(t),(r[s]||(r[s]=[])).$$inter=!0,(n.$$observers&&n.$$observers[s].$$scope||t).$watch(u,function i(t,e){"class"===s&&t!=e?n.$updateClass(t,e):n.$set(s,t)}))}}}})}}function G(t,e,n){var r,i,o=e[0],a=e.length,s=o.parentNode;if(t)for(r=0,i=t.length;r<i;r++)if(t[r]==o){t[r++]=n;for(var u=r,l=u+a-1,c=t.length;u<c;u++,l++)l<c?t[u]=t[l]:delete t[u];t.length-=a-1;break}s&&s.replaceChild(n,o);var f=Z.createDocumentFragment();f.appendChild(o),n[$n.expando]=o[$n.expando];for(var d=1,h=e.length;d<h;d++){var p=e[d];$n(p).remove(),f.appendChild(p),delete e[d]}e[0]=n,e.length=1}function Y(t,e){return j(function(){return t.apply(null,arguments)},t,e)}var J=function(t,e){this.$$element=t,this.$attr=e||{}};J.prototype={$normalize:Ut,$addClass:function(t){t&&0<t.length&&i.addClass(this.$$element,t)},$removeClass:function(t){t&&0<t.length&&i.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=Bt(t,e),r=Bt(e,t);0===n.length?i.removeClass(this.$$element,r):0===r.length?i.addClass(this.$$element,n):i.setClass(this.$$element,n,r)},$set:function(t,n,e,r){var i,o=Nt(this.$$element[0],t);o&&(this.$$element.prop(t,n),r=o),this[t]=n,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=ct(t,"-")),("A"===(i=xn(this.$$element))&&"href"===t||"IMG"===i&&"src"===t)&&(this[t]=n=s(n,"src"===t)),!1!==e&&(null===n||n===tt?this.$$element.removeAttr(r):this.$$element.attr(r,n));var a=this.$$observers;a&&et(a[t],function(t){try{t(n)}catch(e){I(e)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers={}),i=r[t]||(r[t]=[]);return i.push(e),o.$evalAsync(function(){i.$$inter||e(n[t])}),e}};var a=P.startSymbol(),u=P.endSymbol(),K="{{"==a||"}}"==u?f:function K(t){return t.replace(/\{\{/g,a).replace(/}}/g,u)},S=/^ngAttr[A-Z]/;return F}]}function Ut(t){return J(t.replace(nr,""))}function Bt(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue t;n+=(0<n.length?" ":"")+a}return n}function Vt(){var u={},l=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,e){W(t,"controller"),nt(t)?j(u,t):u[t]=e},this.$get=["$injector","$window",function(a,s){return function(t,e){var n,r,i,o;if(rt(t)&&(i=(r=t.match(l))[1],o=r[3],V(t=u.hasOwnProperty(i)?u[i]:z(e.$scope,i,!0)||z(s,i,!0),i,!0)),n=a.instantiate(t,e),o){if(!e||"object"!=typeof e.$scope)throw $("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i||t.name,o);e.$scope[o]=n}return n}}]}function Wt(){this.$get=["$window",function(t){return $n(t.document)}]}function zt(){this.$get=["$log",function(n){return function(t,e){n.error.apply(n,arguments)}}]}function Xt(t){var e,n,r,i={};return t&&et(t.split("\n"),function(t){r=t.indexOf(":"),e=hn(Nn(t.substr(0,r))),n=Nn(t.substr(r+1)),e&&(i[e]?i[e]+=", "+n:i[e]=n)}),i}function Qt(e){var n=nt(e)?e:tt;return function(t){return n||(n=Xt(e)),t?n[hn(t)]||null:n}}function Gt(e,n,t){return ot(t)?t(e,n):(et(t,function(t){e=t(e,n)}),e)}function Yt(t){return 200<=t&&t<300}function Jt(){var e=/^\s*(\[|\{[^\{])/,n=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,t={"Content-Type":"application/json;charset=utf-8"},$=this.defaults={transformResponse:[function(t){return rt(t)&&(t=t.replace(r,""),e.test(t)&&n.test(t)&&(t=C(t))),t}],transformRequest:[function(t){return!nt(t)||h(t)||m(t)?t:D(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:A(t),put:A(t),patch:A(t)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},i=this.interceptors=[],o=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(f,c,t,d,h,r){function p(t){function n(t){var e=j({},t,{data:Gt(t.data,t.headers,r.transformResponse)});return Yt(t.status)?e:h.reject(e)}function e(t){function e(n){var r;et(n,function(t,e){ot(t)&&(null!=(r=t())?n[e]=r:delete n[e])})}var n,r,i,o=$.headers,a=j({},t.headers);e(o=j({},o.common,o[hn(t.method)])),e(a);t:for(n in o){for(i in r=hn(n),a)if(hn(i)===r)continue t;a[n]=o[n]}return a}var r={method:"get",transformRequest:$.transformRequest,transformResponse:$.transformResponse},i=e(t);j(r,t),r.headers=i,r.method=mn(r.method);var o=He(r.url)?c.cookies()[r.xsrfCookieName||$.xsrfCookieName]:tt;o&&(i[r.xsrfHeaderName||$.xsrfHeaderName]=o);var a=[function(t){i=t.headers;var e=Gt(t.data,Qt(i),t.transformRequest);return k(t.data)&&et(i,function(t,e){"content-type"===hn(e)&&delete i[e]}),k(t.withCredentials)&&!k($.withCredentials)&&(t.withCredentials=$.withCredentials),m(t,e,i).then(n,n)},tt],s=h.when(r);for(et(y,function(t){(t.request||t.requestError)&&a.unshift(t.request,t.requestError),(t.response||t.responseError)&&a.push(t.response,t.responseError)});a.length;){var u=a.shift(),l=a.shift();s=s.then(u,l)}return s.success=function(e){return s.then(function(t){e(t.data,t.status,t.headers,r)}),s},s.error=function(e){return s.then(null,function(t){e(t.data,t.status,t.headers,r)}),s},s}function e(t){et(arguments,function(n){p[n]=function(t,e){return p(j(e||{},{method:n,url:t}))}})}function n(t){et(arguments,function(r){p[r]=function(t,e,n){return p(j(n||{},{method:r,url:t,data:e}))}})}function m(i,t,e){function n(t,e,n,r){a&&(Yt(t)?a.put(c,[t,e,Xt(n),r]):a.remove(c)),o(e,t,n,r),d.$$phase||d.$apply()}function o(t,e,n,r){(Yt(e=Math.max(e,0))?u.resolve:u.reject)({data:t,status:e,headers:Qt(n),config:i,statusText:r})}function r(){var t=T(p.pendingRequests,i);-1!==t&&p.pendingRequests.splice(t,1)}var a,s,u=h.defer(),l=u.promise,c=g(i.url,i.params);if(p.pendingRequests.push(i),l.then(r,r),(i.cache||$.cache)&&!1!==i.cache&&"GET"==i.method&&(a=nt(i.cache)?i.cache:nt($.cache)?$.cache:v),a)if(F(s=a.get(c))){if(s.then)return s.then(r,r),s;it(s)?o(s[1],s[0],A(s[2]),s[3]):o(s,200,{},"OK")}else a.put(c,l);return k(s)&&f(i.method,c,t,n,e,i.timeout,i.withCredentials,i.responseType),l}function g(t,e){if(!e)return t;var n=[];return a(e,function(t,e){null===t||k(t)||(it(t)||(t=[t]),et(t,function(t){nt(t)&&(t=D(t)),n.push(U(e)+"="+U(t))}))}),0<n.length&&(t+=(-1==t.indexOf("?")?"?":"&")+n.join("&")),t}var v=t("$http"),y=[];return et(i,function(t){y.unshift(rt(t)?r.get(t):r.invoke(t))}),et(o,function(t,e){var n=rt(t)?r.get(t):r.invoke(t);y.splice(e,0,{response:function(t){return n(h.when(t))},responseError:function(t){return n(h.reject(t))}})}),p.pendingRequests=[],e("get","delete","head","jsonp"),n("post","put"),p.defaults=$,p}]}function Kt(t){if(yn<=8&&(!t.match(/^(get|post|head|put|delete|options)$/i)||!p.XMLHttpRequest))return new p.ActiveXObject("Microsoft.XMLHTTP");if(p.XMLHttpRequest)return new p.XMLHttpRequest;throw $("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Zt(){this.$get=["$browser","$window","$document",function(t,e,n){return te(t,Kt,t.defer,e.angular.callbacks,n[0])}]}function te(g,v,y,$,i){function b(t,e){var n=i.createElement("script"),r=function(){n.onreadystatechange=n.onload=n.onerror=null,i.body.removeChild(n),e&&e()};return n.type="text/javascript",n.src=t,yn&&yn<=8?n.onreadystatechange=function(){/loaded|complete/.test(n.readyState)&&r()}:n.onload=n.onerror=function(){r()},i.body.appendChild(n),r}var w=-1;return function(t,o,e,n,r,i,a,s){function u(){c=w,d&&d(),h&&h.abort()}function l(t,e,n,r,i){p&&y.cancel(p),d=h=null,0===e&&(e=n?200:"file"==qe(o).protocol?404:0),t(e=1223===e?204:e,n,r,i=i||""),g.$$completeOutstandingRequest(E)}var c;if(g.$$incOutstandingRequestCount(),o=o||g.url(),"jsonp"==hn(t)){var f="_"+($.counter++).toString(36);$[f]=function(t){$[f].data=t};var d=b(o.replace("JSON_CALLBACK","angular.callbacks."+f),function(){$[f].data?l(n,200,$[f].data):l(n,c||-2),$[f]=kn.noop})}else{var h=v(t);if(h.open(t,o,!0),et(r,function(t,e){F(t)&&h.setRequestHeader(e,t)}),h.onreadystatechange=function(){if(h&&4==h.readyState){var t=null,e=null;c!==w&&(t=h.getAllResponseHeaders(),e="response"in h?h.response:h.responseText),l(n,c||h.status,e,t,h.statusText||"")}},a&&(h.withCredentials=!0),s)try{h.responseType=s}catch(m){if("json"!==s)throw m}h.send(e||null)}if(0<i)var p=y(u,i);else i&&i.then&&i.then(u)}}function ee(){var v="{{",y="}}";this.startSymbol=function(t){return t?(v=t,this):v},this.endSymbol=function(t){return t?(y=t,this):y},this.$get=["$parse","$exceptionHandler","$sce",function(d,h,p){function t(a,t,s){for(var e,n,r,i,o=0,u=[],l=a.length,c=!1,f=[];o<l;)-1!=(e=a.indexOf(v,o))&&-1!=(n=a.indexOf(y,e+m))?(o!=e&&u.push(a.substring(o,e)),u.push(r=d(i=a.substring(e+m,n))),r.exp=i,o=n+g,c=!0):(o!=l&&u.push(a.substring(o)),o=l);if((l=u.length)||(u.push(""),l=1),s&&1<u.length)throw rr("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",a);if(!t||c)return f.length=l,(r=function(t){try{for(var e,n=0,r=l;n<r;n++)"function"==typeof(e=u[n])&&(e=e(t),null===(e=s?p.getTrusted(s,e):p.valueOf(e))||k(e)?e="":"string"!=typeof e&&(e=D(e))),f[n]=e;return f.join("")}catch(o){var i=rr("interr","Can't interpolate: {0}\n{1}",a,o.toString());h(i)}}).exp=a,r.parts=u,r}var m=v.length,g=y.length;return t.startSymbol=function(){return v},t.endSymbol=function(){return y},t}]}function ne(){this.$get=["$rootScope","$window","$q",function(f,d,h){function t(t,e,n,r){var i=d.setInterval,o=d.clearInterval,a=h.defer(),s=a.promise,u=0,l=F(r)&&!r;return n=F(n)?n:0,s.then(null,null,t),s.$$intervalId=i(function c(){a.notify(u++),0<n&&n<=u&&(a.resolve(u),o(s.$$intervalId),delete p[s.$$intervalId]),l||f.$apply()},e),p[s.$$intervalId]=a,s}var p={};return t.cancel=function(t){return!!(t&&t.$$intervalId in p)&&(p[t.$$intervalId].reject("canceled"),clearInterval(t.$$intervalId),delete p[t.$$intervalId],!0)},t}]}function re(){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:"\xa4",posSuf:"",negPre:"(\xa4",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(t){return 1===t?"one":"other"}}}}function ie(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=_(e[n]);return e.join("/")}function oe(t,e,n){var r=qe(t,n);e.$$protocol=r.protocol,e.$$host=r.hostname,e.$$port=b(r.port)||or[r.protocol]||null}function ae(t,e,n){var r="/"!==t.charAt(0);r&&(t="/"+t);var i=qe(t,n);e.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=I(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function se(t,e){if(0===e.indexOf(t))return e.substr(t.length)}function ue(t){var e=t.indexOf("#");return-1==e?t:t.substr(0,e)}function le(t){return t.substr(0,ue(t).lastIndexOf("/")+1)}function ce(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function fe(r,i){this.$$html5=!0,i=i||"";var o=le(r);oe(r,this,r),this.$$parse=function(t){var e=se(o,t);if(!rt(e))throw ar("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,o);ae(e,this,r),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=q(this.$$search),e=this.$$hash?"#"+_(this.$$hash):"";this.$$url=ie(this.$$path)+(t?"?"+t:"")+e,this.$$absUrl=o+this.$$url.substr(1)},this.$$rewrite=function(t){var e,n;return(e=se(r,t))!==tt?(e=se(i,n=e))!==tt?o+(se("/",e)||e):r+n:(e=se(o,t))!==tt?o+e:o==t+"/"?o:void 0}}function de(i,o){var a=le(i);oe(i,this,i),this.$$parse=function(t){function e(t,e,n){var r,i=/^\/?.*?:(\/.*)/;return 0===e.indexOf(n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t))?r[1]:t}var n=se(i,t)||se(a,t),r="#"==n.charAt(0)?se(o,n):this.$$html5?n:"";if(!rt(r))throw ar("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',t,o);ae(r,this,i),this.$$path=e(this.$$path,r,i),this.$$compose()},this.$$compose=function(){var t=q(this.$$search),e=this.$$hash?"#"+_(this.$$hash):"";this.$$url=ie(this.$$path)+(t?"?"+t:"")+e,this.$$absUrl=i+(this.$$url?o+this.$$url:"")},this.$$rewrite=function(t){if(ue(i)==ue(t))return t}}function he(n,r){this.$$html5=!0,de.apply(this,arguments);var i=le(n);this.$$rewrite=function(t){var e;return n==ue(t)?t:(e=se(i,t))?n+r+e:i===t+"/"?i:void 0}}function pe(t){return function(){return this[t]}}function me(e,n){return function(t){return k(t)?this[e]:(this[e]=n(t),this.$$compose(),this)}}function ge(){var d="",h=!1;this.hashPrefix=function(t){return F(t)?(d=t,this):d},this.html5Mode=function(t){return F(t)?(h=t,this):h},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(i,o,t,a){function n(t){i.$broadcast("$locationChangeSuccess",s.absUrl(),t)}var s,e,r,u=o.baseHref(),l=o.url();h?(r=ce(l)+(u||"/"),e=t.history?fe:he):(r=ue(l),e=de),(s=new e(r,"#"+d)).$$parse(s.$$rewrite(l)),a.on("click",function(t){if(!t.ctrlKey&&!t.metaKey&&2!=t.which){for(var e=$n(t.target);"a"!==hn(e[0].nodeName);)if(e[0]===a[0]||!(e=e.parent())[0])return;var n=e.prop("href");nt(n)&&"[object SVGAnimatedString]"===n.toString()&&(n=qe(n.animVal).href);var r=s.$$rewrite(n);n&&!e.attr("target")&&r&&!t.isDefaultPrevented()&&(t.preventDefault(),r!=o.url()&&(s.$$parse(r),i.$apply(),p.angular["ff-684208-preventDefault"]=!0))}}),s.absUrl()!=l&&o.url(s.absUrl(),!0),o.onUrlChange(function(e){s.absUrl()!=e&&(i.$evalAsync(function(){var t=s.absUrl();s.$$parse(e),i.$broadcast("$locationChangeStart",e,t).defaultPrevented?(s.$$parse(t),o.url(t)):n(t)}),i.$$phase||i.$digest())});var c=0;return i.$watch(function f(){var t=o.url(),e=s.$$replace;return c&&t==s.absUrl()||(c++,i.$evalAsync(function(){i.$broadcast("$locationChangeStart",s.absUrl(),t).defaultPrevented?s.$$parse(t):(o.url(s.absUrl(),e),n(t))})),s.$$replace=!1,c}),s}]}function ve(){var n=!0,r=this;this.debugEnabled=function(t){return F(t)?(n=t,this):n},this.$get=["$window",function(o){function a(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function t(t){var n=o.console||{},r=n[t]||n.log||E,e=!1;try{e=!!r.apply}catch(i){}return e?function(){var e=[];return et(arguments,function(t){e.push(a(t))}),r.apply(n,e)}:function(t,e){r(t,null==e?"":e)}}return{log:t("log"),info:t("info"),warn:t("warn"),error:t("error"),debug:(e=t("debug"),function(){n&&e.apply(r,arguments)})};var e}]}function ye(t,e){if("constructor"===t)throw ur("isecfld",'Referencing "constructor" field in Angular expressions is disallowed! Expression: {0}',e);return t}function $e(t,e){if(t){if(t.constructor===t)throw ur("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.document&&t.location&&t.alert&&t.setInterval)throw ur("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw ur("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e)}return t}function be(t,e,n,r,i){i=i||{};for(var o,a=e.split("."),s=0;1<a.length;s++){var u=t[o=ye(a.shift(),r)];u||(u={},t[o]=u),(t=u).then&&i.unwrapPromises&&(sr(r),"$$v"in t||function(e){e.then(function(t){e.$$v=t})}(t),t.$$v===tt&&(t.$$v={}),t=t.$$v)}return t[o=ye(a.shift(),r)]=n}function we(i,o,a,s,u,l,t){return ye(i,l),ye(o,l),ye(a,l),ye(s,l),ye(u,l),t.unwrapPromises?function c(t,e){var n,r=e&&e.hasOwnProperty(i)?e:t;return null==r?r:((r=r[i])&&r.then&&(sr(l),"$$v"in r||((n=r).$$v=tt,n.then(function(t){n.$$v=t})),r=r.$$v),o?null==r?tt:((r=r[o])&&r.then&&(sr(l),"$$v"in r||((n=r).$$v=tt,n.then(function(t){n.$$v=t})),r=r.$$v),a?null==r?tt:((r=r[a])&&r.then&&(sr(l),"$$v"in r||((n=r).$$v=tt,n.then(function(t){n.$$v=t})),r=r.$$v),s?null==r?tt:((r=r[s])&&r.then&&(sr(l),"$$v"in r||((n=r).$$v=tt,n.then(function(t){n.$$v=t})),r=r.$$v),u?null==r?tt:((r=r[u])&&r.then&&(sr(l),"$$v"in r||((n=r).$$v=tt,n.then(function(t){n.$$v=t})),r=r.$$v),r):r):r):r):r)}:function r(t,e){var n=e&&e.hasOwnProperty(i)?e:t;return null==n?n:(n=n[i],o?null==n?tt:(n=n[o],a?null==n?tt:(n=n[a],s?null==n?tt:(n=n[s],u?null==n?tt:n=n[u]:n):n):n):n)}}function xe(n,t){return ye(n,t),function r(t,e){return null==t?tt:(e&&e.hasOwnProperty(n)?e:t)[n]}}function Ce(n,r,t){return ye(n,t),ye(r,t),function i(t,e){return null==t?tt:null==(t=(e&&e.hasOwnProperty(n)?e:t)[n])?tt:t[r]}}function Te(t,i,o){if(pr.hasOwnProperty(t))return pr[t];var e,a=t.split("."),s=a.length;if(i.unwrapPromises||1!==s)if(i.unwrapPromises||2!==s)if(i.csp)e=s<6?we(a[0],a[1],a[2],a[3],a[4],o,i):function(t,e){for(var n,r=0;n=we(a[r++],a[r++],a[r++],a[r++],a[r++],o,i)(t,e),e=tt,t=n,r<s;);return n};else{var n="var p;\n";et(a,function(t,e){ye(t,o),n+="if(s == null) return undefined;\ns="+(e?"s":'((k&&k.hasOwnProperty("'+t+'"))?k:s)')+'["'+t+'"];\n'+(i.unwrapPromises?'if (s && s.then) {\n pw("'+o.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':"")}),n+="return s;";var r=new Function("s","k","pw",n);r.toString=R(n),e=i.unwrapPromises?function(t,e){return r(t,e,sr)}:r}else e=Ce(a[0],a[1],o);else e=xe(a[0],o);return"hasOwnProperty"!==t&&(pr[t]=e),e}function Se(){var i={},o={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(t){return F(t)?(o.unwrapPromises=!!t,this):o.unwrapPromises},this.logPromiseWarnings=function(t){return F(t)?(o.logPromiseWarnings=t,this):o.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(r,t,e){return o.csp=t.csp,sr=function n(t){o.logPromiseWarnings&&!lr.hasOwnProperty(t)&&(lr[t]=!0,e.warn("[$parse] Promise found in the expression `"+t+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(t){var e;switch(typeof t){case"string":if(i.hasOwnProperty(t))return i[t];var n=new dr(o);return e=new hr(n,r,o).parse(t,!1),"hasOwnProperty"!==t&&(i[t]=e),e;case"function":return t;default:return E}}}]}function Ee(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return ke(function(t){e.$evalAsync(t)},t)}]}function ke(l,c){function f(t){return t}function d(t){return m(t)}function t(t){var n=h(),r=0,i=it(t)?[]:{};return et(t,function(t,e){r++,p(t).then(function(t){i.hasOwnProperty(e)||(i[e]=t,--r||n.resolve(i))},function(t){i.hasOwnProperty(e)||n.reject(t)})}),
0===r&&n.resolve(i),n.promise}var h=function(){var s,e,u=[];return e={resolve:function(t){if(u){var r=u;u=tt,s=p(t),r.length&&l(function(){for(var t,e=0,n=r.length;e<n;e++)t=r[e],s.then(t[0],t[1],t[2])})}},reject:function(t){e.resolve(n(t))},notify:function(n){if(u){var r=u;u.length&&l(function(){for(var t=0,e=r.length;t<e;t++)r[t][2](n)})}},promise:{then:function(n,r,i){var o=h(),t=function(t){try{o.resolve((ot(n)?n:f)(t))}catch(e){o.reject(e),c(e)}},e=function(t){try{o.resolve((ot(r)?r:d)(t))}catch(e){o.reject(e),c(e)}},a=function(t){try{o.notify((ot(i)?i:f)(t))}catch(e){c(e)}};return u?u.push([t,e,a]):s.then(t,e,a),o.promise},"catch":function(t){return this.then(null,t)},"finally":function(i){function o(t,e){var n=h();return e?n.resolve(t):n.reject(t),n.promise}function e(t,e){var n=null;try{n=(i||f)()}catch(r){return o(r,!1)}return n&&ot(n.then)?n.then(function(){return o(t,e)},function(t){return o(t,!1)}):o(t,e)}return this.then(function(t){return e(t,!0)},function(t){return e(t,!1)})}}}},p=function(n){return n&&ot(n.then)?n:{then:function(t){var e=h();return l(function(){e.resolve(t(n))}),e.promise}}},m=function(t){var e=h();return e.reject(t),e.promise},n=function(r){return{then:function(t,e){var n=h();return l(function(){try{n.resolve((ot(e)?e:d)(r))}catch(t){n.reject(t),c(t)}}),n.promise}}},e=function(t,n,r,i){var e,o=h(),a=function(t){try{return(ot(n)?n:f)(t)}catch(e){return c(e),m(e)}},s=function(t){try{return(ot(r)?r:d)(t)}catch(e){return c(e),m(e)}},u=function(t){try{return(ot(i)?i:f)(t)}catch(e){c(e)}};return l(function(){p(t).then(function(t){e||(e=!0,o.resolve(p(t).then(a,s,u)))},function(t){e||(e=!0,o.resolve(s(t)))},function(t){e||o.notify(u(t))})}),o.promise};return{defer:h,reject:m,when:e,all:t}}function Ae(){this.$get=["$window","$timeout",function(t,n){var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame,i=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,e=!!r,o=e?function(t){var e=r(t);return function(){i(e)}}:function(t){var e=n(t,16.66,!1);return function(){n.cancel(e)}};return o.supported=e,o}]}function Ne(){var w=10,x=$("$rootScope"),C=null;this.digestTtl=function(t){return arguments.length&&(w=t),w},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(t,v,m,e){function r(){this.$id=i(),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 y(t){if(n.$$phase)throw x("inprog","{0} already in progress",n.$$phase);n.$$phase=t}function $(){n.$$phase=null}function l(t,e){var n=m(t);return V(n,e),n}function o(t,e,n){for(;t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n],t=t.$parent;);}function b(){}r.prototype={constructor:r,$new:function(t){var e,n;return t?((n=new r).$root=this.$root,n.$$asyncQueue=this.$$asyncQueue,n.$$postDigestQueue=this.$$postDigestQueue):((e=function(){}).prototype=this,(n=new e).$id=i()),(n["this"]=n).$$listeners={},n.$$listenerCount={},n.$parent=this,n.$$watchers=n.$$nextSibling=n.$$childHead=n.$$childTail=null,n.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=n,this.$$childTail=n):this.$$childHead=this.$$childTail=n,n},$watch:function(t,e,n){var r=this,i=l(t,"watch"),o=r.$$watchers,a={fn:e,last:b,get:i,exp:t,eq:!!n};if(C=null,!ot(e)){var s=l(e||E,"listener");a.fn=function(t,e,n){s(n)}}if("string"==typeof t&&i.constant){var u=a.fn;a.fn=function(t,e,n){u.call(this,t,e,n),S(o,a)}}return o||(o=r.$$watchers=[]),o.unshift(a),function(){S(o,a),C=null}},$watchCollection:function(t,n){function e(){var t,e;if(nt(i=c(s)))if(O(i)){o!==f&&(p=(o=f).length=0,l++),t=i.length,p!==t&&(l++,o.length=p=t);for(var n=0;n<t;n++){o[n]!=o[n]&&i[n]!=i[n]||o[n]===i[n]||(l++,o[n]=i[n])}}else{for(e in o!==d&&(o=d={},p=0,l++),t=0,i)i.hasOwnProperty(e)&&(t++,o.hasOwnProperty(e)?o[e]!==i[e]&&(l++,o[e]=i[e]):(p++,o[e]=i[e],l++));if(t<p)for(e in l++,o)o.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(p--,delete o[e])}else o!==i&&(o=i,l++);return l}function r(){if(h?(h=!1,n(i,i,s)):n(i,a,s),u)if(nt(i))if(O(i)){a=new Array(i.length);for(var t=0;t<i.length;t++)a[t]=i[t]}else for(var e in a={},i)pn.call(i,e)&&(a[e]=i[e]);else a=i}var i,o,a,s=this,u=1<n.length,l=0,c=m(t),f=[],d={},h=!0,p=0;return this.$watch(e,r)},$digest:function(){var t,e,n,r,i,o,a,s,u,l,c,f=this.$$asyncQueue,d=this.$$postDigestQueue,h=w,p=this,m=[];y("$digest"),C=null;do{for(o=!1,s=p;f.length;){try{(c=f.shift()).scope.$eval(c.expression)}catch(g){$(),v(g)}C=null}t:do{if(r=s.$$watchers)for(i=r.length;i--;)try{if(t=r[i])if((e=t.get(s))===(n=t.last)||(t.eq?st(e,n):"number"==typeof e&&"number"==typeof n&&isNaN(e)&&isNaN(n))){if(t===C){o=!1;break t}}else o=!0,(C=t).last=t.eq?A(e):e,t.fn(e,n===b?e:n,s),h<5&&(m[u=4-h]||(m[u]=[]),l=ot(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,l+="; newVal: "+D(e)+"; oldVal: "+D(n),m[u].push(l))}catch(g){$(),v(g)}if(!(a=s.$$childHead||s!==p&&s.$$nextSibling))for(;s!==p&&!(a=s.$$nextSibling);)s=s.$parent}while(s=a);if((o||f.length)&&!h--)throw $(),x("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",w,D(m))}while(o||f.length);for($();d.length;)try{d.shift()()}catch(g){v(g)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==n&&(et(this.$$listenerCount,M(null,o,this)),t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t.$$childTail==this&&(t.$$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=E,this.$on=this.$watch=function(){return E})}},$eval:function(t,e){return m(t)(this,e)},$evalAsync:function(t){n.$$phase||n.$$asyncQueue.length||e.defer(function(){n.$$asyncQueue.length&&n.$digest()}),this.$$asyncQueue.push({scope:this,expression:t})},$$postDigest:function(t){this.$$postDigestQueue.push(t)},$apply:function(t){try{return y("$apply"),this.$eval(t)}catch(e){v(e)}finally{$();try{n.$digest()}catch(e){throw v(e),e}}},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);for(var r=this;r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++,r=r.$parent;);var i=this;return function(){n[T(n,e)]=null,o(i,1,t)}},$emit:function(t,e){var n,r,i,o=[],a=this,s=!1,u={name:t,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=N([u],arguments,1);do{for(n=a.$$listeners[t]||o,u.currentScope=a,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,l)}catch(c){v(c)}else n.splice(r,1),r--,i--;if(s)return u;a=a.$parent}while(a);return u},$broadcast:function(t,e){for(var n,r,i,o=this,a=o,s=o,u={name:t,targetScope:o,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=N([u],arguments,1);a=s;){for(r=0,i=(n=(u.currentScope=a).$$listeners[t]||[]).length;r<i;r++)if(n[r])try{n[r].apply(null,l)}catch(c){v(c)}else n.splice(r,1),r--,i--;if(!(s=a.$$listenerCount[t]&&a.$$childHead||a!==o&&a.$$nextSibling))for(;a!==o&&!(s=a.$$nextSibling);)a=a.$parent}return u}};var n=new r;return n}]}function De(){var o=/^\s*(https?|ftp|mailto|tel|file):/,a=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return F(t)?(o=t,this):o},this.imgSrcSanitizationWhitelist=function(t){return F(t)?(a=t,this):a},this.$get=function(){return function i(t,e){var n,r=e?a:o;return yn&&!(8<=yn)||""===(n=qe(t).href)||n.match(r)?t:"unsafe:"+n}}}function je(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function Oe(t){if("self"===t)return t;if(rt(t)){if(-1<t.indexOf("***"))throw mr("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=je(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(s(t))return new RegExp("^"+t.source+"$");throw mr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Re(t){var e=[];return F(t)&&et(t,function(t){e.push(Oe(t))}),e}function Me(){this.SCE_CONTEXTS=gr;var c=["self"],f=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(c=Re(t)),c},this.resourceUrlBlacklist=function(t){return arguments.length&&(f=Re(t)),f},this.$get=["$injector",function(t){function o(t,e){return"self"===t?He(e):!!t.exec(e.href)}function r(t){var e,n,r=qe(t.toString()),i=!1;for(e=0,n=c.length;e<n;e++)if(o(c[e],r)){i=!0;break}if(i)for(e=0,n=f.length;e<n;e++)if(o(f[e],r)){i=!1;break}return i}function e(t){var e=function n(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function r(){return this.$$unwrapTrustedValue()},e.prototype.toString=function i(){return this.$$unwrapTrustedValue().toString()},e}function n(t,e){var n=l.hasOwnProperty(t)?l[t]:null;if(!n)throw mr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||e===tt||""===e)return e;if("string"!=typeof e)throw mr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)}function i(t){return t instanceof u?t.$$unwrapTrustedValue():t}function a(t,e){if(null===e||e===tt||""===e)return e;var n=l.hasOwnProperty(t)?l[t]:null;if(n&&e instanceof n)return e.$$unwrapTrustedValue();if(t===gr.RESOURCE_URL){if(r(e))return e;throw mr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",e.toString())}if(t===gr.HTML)return s(e);throw mr("unsafe","Attempting to use an unsafe value in a safe context.")}var s=function s(){throw mr("unsafe","Attempting to use an unsafe value in a safe context.")};t.has("$sanitize")&&(s=t.get("$sanitize"));var u=e(),l={};return l[gr.HTML]=e(u),l[gr.CSS]=e(u),l[gr.URL]=e(u),l[gr.JS]=e(u),l[gr.RESOURCE_URL]=e(l[gr.URL]),{trustAs:n,getTrusted:a,valueOf:i}}]}function Le(){var u=!0;this.enabled=function(t){return arguments.length&&(u=!!t),u},this.$get=["$parse","$sniffer","$sceDelegate",function(e,t,n){if(u&&t.msie&&t.msieDocumentMode<8)throw mr("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 o=A(gr);o.isEnabled=function(){return u},o.trustAs=n.trustAs,o.getTrusted=n.getTrusted,o.valueOf=n.valueOf,u||(o.trustAs=o.getTrusted=function(t,e){return e},o.valueOf=f),o.parseAs=function s(n,t){var r=e(t);return r.literal&&r.constant?r:function i(t,e){return o.getTrusted(n,r(t,e))}};var r=o.parseAs,i=o.getTrusted,a=o.trustAs;return et(gr,function(e,t){var n=hn(t);o[J("parse_as_"+n)]=function(t){return r(e,t)},o[J("get_trusted_"+n)]=function(t){return i(e,t)},o[J("trust_as_"+n)]=function(t){return a(e,t)}}),o}]}function Pe(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=b((/android (\d+)/.exec(hn((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.documentMode,l=/^(Moz|webkit|O|ms)(?=[A-Z])/,c=s.body&&s.body.style,f=!1,d=!1;if(c){for(var h in c)if(r=l.exec(h)){n=(n=r[0]).substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in c&&"webkit"),f=!!("transition"in c||n+"Transition"in c),d=!!("animation"in c||n+"Animation"in c),!o||f&&d||(f=rt(s.body.style.webkitTransition),d=rt(s.body.style.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||o<4||a),hashchange:"onhashchange"in t&&(!u||7<u),hasEvent:function(t){if("input"==t&&9==yn)return!1;if(k(i[t])){var e=s.createElement("div");i[t]="on"+t in e}return i[t]},csp:x(),vendorPrefix:n,transitions:f,animations:d,android:o,msie:yn,msieDocumentMode:u}}]}function Ie(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(s,u,l,c){function t(e,t,n){var r,i=l.defer(),o=i.promise,a=F(n)&&!n;return r=u.defer(function(){try{i.resolve(e())}catch(t){i.reject(t),c(t)}finally{delete f[o.$$timeoutId]}a||s.$apply()},t),o.$$timeoutId=r,f[r]=i,o}var f={};return t.cancel=function(t){return!!(t&&t.$$timeoutId in f)&&(f[t.$$timeoutId].reject("canceled"),delete f[t.$$timeoutId],u.defer.cancel(t.$$timeoutId))},t}]}function qe(t){var e=t;return yn&&(vr.setAttribute("href",e),e=vr.href),vr.setAttribute("href",e),{href:vr.href,protocol:vr.protocol?vr.protocol.replace(/:$/,""):"",host:vr.host,search:vr.search?vr.search.replace(/^\?/,""):"",hash:vr.hash?vr.hash.replace(/^#/,""):"",hostname:vr.hostname,port:vr.port,pathname:"/"===vr.pathname.charAt(0)?vr.pathname:"/"+vr.pathname}}function He(t){var e=rt(t)?qe(t):t;return e.protocol===yr.protocol&&e.host===yr.host}function Fe(){this.$get=R(p)}function _e(r){function i(t,e){if(nt(t)){var n={};return et(t,function(t,e){n[e]=i(e,t)}),n}return r.factory(t+o,e)}var o="Filter";this.register=i,this.$get=["$injector",function(e){return function(t){return e.get(t+o)}}],i("currency",Be),i("date",Je),i("filter",Ue),i("json",Ke),i("limitTo",Ze),i("lowercase",Cr),i("number",Ve),i("orderBy",tn),i("uppercase",Tr)}function Ue(){return function(t,n,i){if(!it(t))return t;var e=typeof i,r=[];r.check=function(t){for(var e=0;e<r.length;e++)if(!r[e](t))return!1;return!0},"function"!==e&&(i="boolean"===e&&i?function(t,e){return kn.equals(t,e)}:function(t,e){if(t&&e&&"object"==typeof t&&"object"==typeof e){for(var n in t)if("$"!==n.charAt(0)&&pn.call(t,n)&&i(t[n],e[n]))return!0;return!1}return e=(""+e).toLowerCase(),-1<(""+t).toLowerCase().indexOf(e)});var o=function(t,e){if("string"==typeof e&&"!"===e.charAt(0))return!o(t,e.substr(1));switch(typeof t){case"boolean":case"number":case"string":return i(t,e);case"object":switch(typeof e){case"object":return i(t,e);default:for(var n in t)if("$"!==n.charAt(0)&&o(t[n],e))return!0}return!1;case"array":for(var r=0;r<t.length;r++)if(o(t[r],e))return!0;return!1;default:return!1}};switch(typeof n){case"boolean":case"number":case"string":n={$:n};case"object":for(var a in n)!function(e){"undefined"!=typeof n[e]&&r.push(function(t){return o("$"==e?t:t&&t[e],n[e])})}(a);break;case"function":r.push(n);break;default:return t}for(var s=[],u=0;u<t.length;u++){var l=t[u];r.check(l)&&s.push(l)}return s}}function Be(t){var n=t.NUMBER_FORMATS;return function(t,e){return k(e)&&(e=n.CURRENCY_SYM),We(t,n.PATTERNS[1],n.GROUP_SEP,n.DECIMAL_SEP,2).replace(/\u00A4/g,e)}}function Ve(t){var n=t.NUMBER_FORMATS;return function(t,e){return We(t,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,e)}}function We(t,e,n,r,i){if(null==t||!isFinite(t)||nt(t))return"";var o=t<0,a=(t=Math.abs(t))+"",s="",u=[],l=!1;if(-1!==a.indexOf("e")){var c=a.match(/([\d\.]+)e(-?)(\d+)/);c&&"-"==c[2]&&c[3]>i+1?a="0":(s=a,l=!0)}if(l)0<i&&-1<t&&t<1&&(s=t.toFixed(i));else{var f=(a.split($r)[1]||"").length;k(i)&&(i=Math.min(Math.max(e.minFrac,f),e.maxFrac));var d=Math.pow(10,i),h=(""+(t=Math.round(t*d)/d)).split($r),p=h[0];h=h[1]||"";var m,g=0,v=e.lgSize,y=e.gSize;if(p.length>=v+y)for(g=p.length-v,m=0;m<g;m++)(g-m)%y==0&&0!==m&&(s+=n),s+=p.charAt(m);for(m=g;m<p.length;m++)(p.length-m)%v==0&&0!==m&&(s+=n),s+=p.charAt(m);for(;h.length<i;)h+="0";i&&"0"!==i&&(s+=r+h.substr(0,i))}return u.push(o?e.negPre:e.posPre),u.push(s),u.push(o?e.negSuf:e.posSuf),u.join("")}function ze(t,e,n){var r="";for(t<0&&(r="-",t=-t),t=""+t;t.length<e;)t="0"+t;return n&&(t=t.substr(t.length-e)),r+t}function Xe(n,r,i,o){return i=i||0,function(t){var e=t["get"+n]();return(0<i||-i<e)&&(e+=i),0===e&&-12==i&&(e=12),ze(e,r,o)}}function Qe(r,i){return function(t,e){var n=t["get"+r]();return e[mn(i?"SHORT"+r:r)][n]}}function Ge(t){var e=-1*t.getTimezoneOffset(),n=0<=e?"+":"";return n+=ze(Math[0<e?"floor":"ceil"](e/60),2)+ze(Math.abs(e%60),2)}function Ye(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function Je(a){function s(t){var e;if(e=t.match(f)){var n=new Date(0),r=0,i=0,o=e[8]?n.setUTCFullYear:n.setFullYear,a=e[8]?n.setUTCHours:n.setHours;e[9]&&(r=b(e[9]+e[10]),i=b(e[9]+e[11])),o.call(n,b(e[1]),b(e[2])-1,b(e[3]));var s=b(e[4]||0)-r,u=b(e[5]||0)-i,l=b(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(n,s,u,l,c),n}return t}var f=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(e,t){var n,r,i="",o=[];if(t=t||"mediumDate",t=a.DATETIME_FORMATS[t]||t,rt(e)&&(e=xr.test(e)?b(e):s(e)),u(e)&&(e=new Date(e)),!l(e))return e;for(;t;)(r=wr.exec(t))?t=(o=N(o,r,1)).pop():(o.push(t),t=null);return et(o,function(t){n=br[t],i+=n?n(e,a.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),i}}function Ke(){return function(t){return D(t,!0)}}function Ze(){return function(t,e){if(!it(t)&&!rt(t))return t;if(e=b(e),rt(t))return e?0<=e?t.slice(0,e):t.slice(e,t.length):"";var n,r,i=[];for(e>t.length?e=t.length:e<-t.length&&(e=-t.length),0<e?(n=0,r=e):(n=t.length+e,r=t.length);n<r;n++)i.push(t[n]);return i}}function tn(u){return function(t,i,e){function n(t,e){for(var n=0;n<i.length;n++){var r=i[n](t,e);if(0!==r)return r}return 0}function o(n,t){return L(t)?function(t,e){return n(e,t)}:n}function a(t,e){var n=typeof t,r=typeof e;return n==r?("string"==n&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e?0:t<e?-1:1):n<r?-1:1}if(!it(t))return t;if(!i)return t;i=v(i=it(i)?i:[i],function(t){var e=!1,n=t||f;if(rt(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(e="-"==t.charAt(0),t=t.substring(1)),(n=u(t)).constant)){var r=n();return o(function(t,e){return a(t[r],e[r])},e)}return o(function(t,e){return a(n(t),n(e))},e)});for(var r=[],s=0;s<t.length;s++)r.push(t[s]);return r.sort(o(n,e))}}function en(t){return ot(t)&&(t={link:t}),t.restrict=t.restrict||"AC",R(t)}function nn(n,t,e,r){function i(t,e){e=e?"-"+ct(e,"-"):"",r.removeClass(n,(t?Ir:Pr)+e),r.addClass(n,(t?Pr:Ir)+e)}var o=this,a=n.parent().controller("form")||kr,s=0,u=o.$error={},l=[];o.$name=t.name||t.ngForm,o.$dirty=!1,o.$pristine=!0,o.$valid=!0,o.$invalid=!1,a.$addControl(o),n.addClass(qr),i(!0),o.$addControl=function(t){W(t.$name,"input"),l.push(t),t.$name&&(o[t.$name]=t)},o.$removeControl=function(n){n.$name&&o[n.$name]===n&&delete o[n.$name],et(u,function(t,e){o.$setValidity(e,!0,n)}),S(l,n)},o.$setValidity=function(t,e,n){var r=u[t];if(e)r&&(S(r,n),r.length||(--s||(i(e),o.$valid=!0,o.$invalid=!1),i(!(u[t]=!1),t),a.$setValidity(t,!0,o)));else{if(s||i(e),r){if(w(r,n))return}else u[t]=r=[],s++,i(!1,t),a.$setValidity(t,!1,o);r.push(n),o.$valid=!1,o.$invalid=!0}},o.$setDirty=function(){r.removeClass(n,qr),r.addClass(n,Hr),o.$dirty=!0,o.$pristine=!1,a.$setDirty()},o.$setPristine=function(){r.removeClass(n,Hr),r.addClass(n,qr),o.$dirty=!1,o.$pristine=!0,et(l,function(t){t.$setPristine()})}}function rn(t,e,n,r){return t.$setValidity(e,n),n?r:tt}function on(e,n,t){var r=t.prop("validity");if(nt(r)){var i=function(t){if(e.$error[n]||!(r.badInput||r.customError||r.typeMismatch)||r.valueMissing)return t;e.$setValidity(n,!1)};e.$parsers.push(i)}}function an(n,r,e,i,t,o){var a=r.prop("validity");if(!t.android){var s=!1;r.on("compositionstart",function(){s=!0}),r.on("compositionend",function(){s=!1,u()})}var u=function(){if(!s){var t=r.val();L(e.ngTrim||"T")&&(t=Nn(t)),(i.$viewValue!==t||a&&""===t&&!a.valueMissing)&&(n.$$phase?i.$setViewValue(t):n.$apply(function(){i.$setViewValue(t)}))}};if(t.hasEvent("input"))r.on("input",u);else{var l,c=function(){l||(l=o.defer(function(){u(),l=null}))};r.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||c()}),t.hasEvent("paste")&&r.on("paste cut",c)}r.on("change",u),i.$render=function(){r.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var f,d,h=e.ngPattern;if(h){var p=function(t,e){return rn(i,"pattern",i.$isEmpty(e)||t.test(e),e)};(d=h.match(/^\/(.*)\/([gim]*)$/))?(h=new RegExp(d[1],d[2]),f=function(t){return p(h,t)}):f=function(t){var e=n.$eval(h);if(!e||!e.test)throw $("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",h,e,lt(r));return p(e,t)},i.$formatters.push(f),i.$parsers.push(f)}if(e.ngMinlength){var m=b(e.ngMinlength),g=function(t){return rn(i,"minlength",i.$isEmpty(t)||t.length>=m,t)};i.$parsers.push(g),i.$formatters.push(g)}if(e.ngMaxlength){var v=b(e.ngMaxlength),y=function(t){return rn(i,"maxlength",i.$isEmpty(t)||t.length<=v,t)};i.$parsers.push(y),i.$formatters.push(y)}}function sn(t,e,n,r,i,o){if(an(t,e,n,r,i,o),r.$parsers.push(function(t){var e=r.$isEmpty(t);return e||Rr.test(t)?(r.$setValidity("number",!0),""===t?null:e?t:parseFloat(t)):(r.$setValidity("number",!1),tt)}),on(r,"number",e),r.$formatters.push(function(t){return r.$isEmpty(t)?"":""+t}),n.min){var a=function(t){var e=parseFloat(n.min);return rn(r,"min",r.$isEmpty(t)||e<=t,t)};r.$parsers.push(a),r.$formatters.push(a)}if(n.max){var s=function(t){var e=parseFloat(n.max);return rn(r,"max",r.$isEmpty(t)||t<=e,t)};r.$parsers.push(s),r.$formatters.push(s)}r.$formatters.push(function(t){return rn(r,"number",r.$isEmpty(t)||u(t),t)})}function un(t,e,n,r,i,o){an(t,e,n,r,i,o);var a=function(t){return rn(r,"url",r.$isEmpty(t)||jr.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function ln(t,e,n,r,i,o){an(t,e,n,r,i,o);var a=function(t){return rn(r,"email",r.$isEmpty(t)||Or.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function cn(t,e,n,r){k(n.name)&&e.attr("name",i()),e.on("click",function(){e[0].checked&&t.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function fn(t,e,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;rt(i)||(i=!0),rt(o)||(o=!1),e.on("click",function(){t.$apply(function(){r.$setViewValue(e[0].checked)})}),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t!==i},r.$formatters.push(function(t){return t===i}),r.$parsers.push(function(t){return t?i:o})}function dn(h,p){return h="ngClass"+h,["$animate",function(c){function f(t,e){var n=[];t:for(var r=0;r<t.length;r++){for(var i=t[r],o=0;o<e.length;o++)if(i==e[o])continue t;n.push(i)}return n}function d(t){if(it(t))return t;if(rt(t))return t.split(" ");if(nt(t)){var n=[];return et(t,function(t,e){t&&n.push(e)}),n}return t}return{restrict:"AC",link:function(i,o,a){function s(t){var e=l(t,1);a.$addClass(e)}function u(t){var e=l(t,-1);a.$removeClass(e)}function l(t,e){var n=o.data("$classCounts")||{},r=[];return et(t,function(t){(0<e||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(0<e)&&r.push(t))}),o.data("$classCounts",n),r.join(" ")}function n(t,e){var n=f(e,t),r=f(t,e);r=l(r,-1),0===(n=l(n,1)).length?c.removeClass(o,r):0===r.length?c.addClass(o,n):c.setClass(o,n,r)}function t(t){if(!0===p||i.$index%2===p){var e=d(t||[]);if(r){if(!st(t,r)){n(d(r),e)}}else s(e)}r=A(t)}var r;i.$watch(a[h],t,!0),a.$observe("class",function(){t(i.$eval(a[h]))}),"ngClass"!==h&&i.$watch("$index",function(t,e){var n=1&t;if(n!==e&1){var r=d(i.$eval(a[h]));n===p?s(r):u(r)}})}}}]}var hn=function(t){return rt(t)?t.toLowerCase():t},pn=Object.prototype.hasOwnProperty,mn=function(t){return rt(t)?t.toUpperCase():t},gn=function(t){return rt(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},vn=function(t){return rt(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(-33&t.charCodeAt(0))}):t};"i"!=="I".toLowerCase()&&(hn=gn,mn=vn);var yn,$n,bn,wn,xn,Cn=[].slice,Tn=[].push,Sn=Object.prototype.toString,En=$("ng"),kn=(p.angular,p.angular||(p.angular={})),An=["0","0","0"];yn=b((/msie (\d+)/.exec(hn(navigator.userAgent))||[])[1]),isNaN(yn)&&(yn=b((/trident\/.*; rv:(\d+)/.exec(hn(navigator.userAgent))||[])[1])),E.$inject=[],f.$inject=[];var Nn=String.prototype.trim?function(t){return rt(t)?t.trim():t}:function(t){return rt(t)?t.replace(/^\s\s*/,"").replace(/\s\s*$/,""):t};xn=yn<9?function(t){return(t=t.nodeName?t:t[0]).scopeName&&"HTML"!=t.scopeName?mn(t.scopeName+":"+t.nodeName):t.nodeName}:function(t){return t.nodeName?t.nodeName:t[0].nodeName};var Dn=/[A-Z]/g,jn={full:"1.2.16",major:1,minor:2,dot:16,codeName:"badger-enumeration"},On=mt.cache={},Rn=mt.expando="ng-"+(new Date).getTime(),Mn=1,Ln=p.document.addEventListener?function(t,e,n){t.addEventListener(e,n,!1)}:function(t,e,n){t.attachEvent("on"+e,n)},Pn=p.document.removeEventListener?function(t,e,n){t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent("on"+e,n)},In=(mt._data=function(t){return this.cache[t[this.expando]]||{}},/([\:\-\_]+(.))/g),qn=/^moz([A-Z])/,Hn=$("jqLite"),Fn=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,_n=/<|&#?\w+;/,Un=/<([\w:]+)/,Bn=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Vn={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,"",""]};Vn.optgroup=Vn.option,Vn.tbody=Vn.tfoot=Vn.colgroup=Vn.caption=Vn.thead,Vn.th=Vn.td;var Wn=mt.prototype={ready:function(t){function e(){n||(n=!0,t())}var n=!1;"complete"===Z.readyState?setTimeout(e):(this.on("DOMContentLoaded",e),mt(p).on("load",e))},toString:function(){var e=[];return et(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(t){return $n(0<=t?this[t]:this[this.length+t])},length:0,push:Tn,sort:[].sort,splice:[].splice},zn={};et("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){zn[hn(t)]=t});var Xn={};et("input,select,option,textarea,button,form,details".split(","),function(t){Xn[mn(t)]=!0}),et({data:wt,inheritedData:kt,scope:function(t){return $n(t).data("$scope")||kt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return $n(t).data("$isolateScope")||$n(t).data("$isolateScopeNoTemplate")},controller:Et,injector:function(t){return kt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:xt,css:function(t,e,n){var r;if(e=J(e),!F(n))return yn<=8&&""===(r=t.currentStyle&&t.currentStyle[e])&&(r="auto"),r=r||t.style[e],yn<=8&&(r=""===r?tt:r),r;t.style[e]=n},attr:function(t,e,n){var r=hn(e);if(zn[r]){if(!F(n))return t[e]||(t.attributes.getNamedItem(e)||E).specified?r:tt;n?(t[e]=!0,t.setAttribute(e,r)):(t[e]=!1,t.removeAttribute(r))}else if(F(n))t.setAttribute(e,n);else if(t.getAttribute){var i=t.getAttribute(e,2);return null===i?tt:i}},prop:function(t,e,n){if(!F(n))return t[e];t[e]=n},text:function(){function t(t,e){var n=r[t.nodeType];if(k(e))return n?t[n]:"";t[n]=e}var r=[];return yn<9?(r[1]="innerText",r[3]="nodeValue"):r[1]=r[3]="textContent",t.$dv="",t}(),val:function(t,e){if(k(e)){if("SELECT"===xn(t)&&t.multiple){var n=[];return et(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){if(k(e))return t.innerHTML;for(var n=0,r=t.childNodes;n<r.length;n++)vt(r[n]);t.innerHTML=e},empty:At},function(u,t){mt.prototype[t]=function(t,e){var n,r;if(u!==At&&(2==u.length&&u!==xt&&u!==Et?t:e)===tt){if(nt(t)){for(n=0;n<this.length;n++)if(u===wt)u(this[n],t);else for(r in t)u(this[n],r,t[r]);return this}for(var i=u.$dv,o=i===tt?Math.min(this.length,1):this.length,a=0;a<o;a++){var s=u(this[a],t,e);i=i?i+s:s}return i}for(n=0;n<this.length;n++)u(this[n],t,e);return this}}),et({removeData:$t,dealoc:vt,on:function xi(e,t,n,r){if(F(r))throw Hn("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var o=bt(e,"events"),a=bt(e,"handle");o||bt(e,"events",o={}),a||bt(e,"handle",a=Dt(e,o)),et(t.split(" "),function(r){var t=o[r];if(!t){if("mouseenter"==r||"mouseleave"==r){var i=Z.body.contains||Z.body.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1};o[r]=[],xi(e,{mouseleave:"mouseout",mouseenter:"mouseover"}[r],function(t){var e=this,n=t.relatedTarget;n&&(n===e||i(e,n))||a(t,r)})}else Ln(e,r,a),o[r]=[];t=o[r]}t.push(n)})},off:yt,one:function(t,e,n){(t=$n(t)).on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(e,t){var n,r=e.parentNode;vt(e),et(new mt(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(t){var e=[];return et(t.childNodes,function(t){1===t.nodeType&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(e,t){et(new mt(t),function(t){1!==e.nodeType&&11!==e.nodeType||e.appendChild(t)})},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;et(new mt(t),function(t){e.insertBefore(t,n)})}},wrap:function(t,e){e=$n(e)[0];var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)},remove:function(t){vt(t);var e=t.parentNode;e&&e.removeChild(t)},after:function(t,e){var n=t,r=t.parentNode;et(new mt(e),function(t){r.insertBefore(t,n.nextSibling),n=t})},addClass:Tt,removeClass:Ct,toggleClass:function(n,t,r){t&&et(t.split(" "),function(t){var e=r;k(e)&&(e=!xt(n,t)),(e?Tt:Ct)(n,t)})},parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},next:function(t){if(t.nextElementSibling)return t.nextElementSibling;for(var e=t.nextSibling;null!=e&&1!==e.nodeType;)e=e.nextSibling;return e},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:gt,triggerHandler:function(e,t,n){var r=(bt(e,"events")||{})[t];n=n||[];var i=[{preventDefault:E,stopPropagation:E}];et(r,function(t){t.apply(e,i.concat(n))})}},function(o,t){mt.prototype[t]=function(t,e,n){for(var r,i=0;i<this.length;i++)k(r)?F(r=o(this[i],t,e,n))&&(r=$n(r)):St(r,o(this[i],t,e,n));return F(r)?r:this},mt.prototype.bind=mt.prototype.on,mt.prototype.unbind=mt.prototype.off}),Ot.prototype={put:function(t,e){this[jt(t)]=e},get:function(t){return this[jt(t)]},remove:function(t){var e=this[t=jt(t)];return delete this[t],e}};var Qn=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Gn=/,/,Yn=/^\s*(_?)(\S+?)\1\s*$/,Jn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Kn=$("$injector"),Zn=$("$animate"),tr=["$provide",function(r){this.$$selectors={},this.register=function(t,e){var n=t+"-animation";if(t&&"."!=t.charAt(0))throw Zn("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=n,r.factory(n,e)},this.classNameFilter=function(t){return 1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(t,e){function i(t){t&&e(t)}return{enter:function(t,e,n,r){n?n.after(t):(e&&e[0]||(e=n.parent()),e.append(t)),i(r)},leave:function(t,e){t.remove(),i(e)},move:function(t,e,n,r){this.enter(t,e,n,r)},addClass:function(t,e,n){e=rt(e)?e:it(e)?e.join(" "):"",et(t,function(t){Tt(t,e)}),i(n)},removeClass:function(t,e,n){e=rt(e)?e:it(e)?e.join(" "):"",et(t,function(t){Ct(t,e)}),i(n)},setClass:function(t,e,n,r){et(t,function(t){Tt(t,e),Ct(t,n)}),i(r)},enabled:E}}]}],er=$("$compile");_t.$inject=["$provide","$$sanitizeUriProvider"];var nr=/^(x[\:\-_]|data[\:\-_])/i,rr=$("$interpolate"),ir=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,or={http:80,https:443,ftp:21},ar=$("$location");he.prototype=de.prototype=fe.prototype={$$html5:!1,$$replace:!1,absUrl:pe("$$absUrl"),url:function(t,e){if(k(t))return this.$$url;var n=ir.exec(t);return n[1]&&this.path(decodeURIComponent(n[1])),(n[2]||n[1])&&this.search(n[3]||""),this.hash(n[5]||"",e),this},protocol:pe("$$protocol"),host:pe("$$host"),port:pe("$$port"),path:me("$$path",function(t){return"/"==t.charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(rt(t))this.$$search=I(t);else{if(!nt(t))throw ar("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");this.$$search=t}break;default:k(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:me("$$hash",f),replace:function(){return this.$$replace=!0,this}};var sr,ur=$("$parse"),lr={},cr={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:E,"+":function(t,e,n,r){return n=n(t,e),r=r(t,e),F(n)?F(r)?n+r:n:F(r)?r:tt},"-":function(t,e,n,r){return n=n(t,e),r=r(t,e),(F(n)?n:0)-(F(r)?r:0)},"*":function(t,e,n,r){return n(t,e)*r(t,e)},"/":function(t,e,n,r){return n(t,e)/r(t,e)},"%":function(t,e,n,r){return n(t,e)%r(t,e)},"^":function(t,e,n,r){return n(t,e)^r(t,e)},"=":E,"===":function(t,e,n,r){return n(t,e)===r(t,e)},"!==":function(t,e,n,r){return n(t,e)!==r(t,e)},"==":function(t,e,n,r){return n(t,e)==r(t,e)},
"!=":function(t,e,n,r){return n(t,e)!=r(t,e)},"<":function(t,e,n,r){return n(t,e)<r(t,e)},">":function(t,e,n,r){return n(t,e)>r(t,e)},"<=":function(t,e,n,r){return n(t,e)<=r(t,e)},">=":function(t,e,n,r){return n(t,e)>=r(t,e)},"&&":function(t,e,n,r){return n(t,e)&&r(t,e)},"||":function(t,e,n,r){return n(t,e)||r(t,e)},"&":function(t,e,n,r){return n(t,e)&r(t,e)},"|":function(t,e,n,r){return r(t,e)(t,e,n(t,e))},"!":function(t,e,n){return!n(t,e)}},fr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},dr=function(t){this.options=t};dr.prototype={constructor:dr,lex:function(t){var e;this.text=t,this.index=0,this.ch=tt,this.lastCh=":",this.tokens=[];for(var n=[];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(),this.was("{,")&&"{"===n[0]&&(e=this.tokens[this.tokens.length-1])&&(e.json=-1===e.text.indexOf("."));else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&n.unshift(this.ch),this.is("}]")&&n.shift(),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var r=this.ch+this.peek(),i=r+this.peek(2),o=cr[this.ch],a=cr[r],s=cr[i];s?(this.tokens.push({index:this.index,text:i,fn:s}),this.index+=3):a?(this.tokens.push({index:this.index,text:r,fn:a}),this.index+=2):o?(this.tokens.push({index:this.index,text:this.ch,fn:o,json:this.was("[,:")&&this.is("+-")}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(t){return-1!==t.indexOf(this.ch)},was:function(t){return-1!==t.indexOf(this.lastCh)},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\x0B"===t||"\xa0"===t},isIdent:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=F(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw ur("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=hn(this.text.charAt(this.index));if("."==n||this.isNumber(n))t+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))t+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}t*=1,this.tokens.push({index:e,text:t,json:!0,fn:function(){return t}})},readIdent:function(){for(var t,e,n,r,i=this,o="",a=this.index;this.index<this.text.length&&("."===(r=this.text.charAt(this.index))||this.isIdent(r)||this.isNumber(r));)"."===r&&(t=this.index),o+=r,this.index++;if(t)for(e=this.index;e<this.text.length;){if("("===(r=this.text.charAt(e))){n=o.substr(t-a+1),o=o.substr(0,t-a),this.index=e;break}if(!this.isWhitespace(r))break;e++}var s={index:a,text:o};if(cr.hasOwnProperty(o))s.fn=cr[o],s.json=cr[o];else{var u=Te(o,this.options,this.text);s.fn=j(function(t,e){return u(t,e)},{assign:function(t,e){return be(t,o,e,i.text,i.options)}})}this.tokens.push(s),n&&(this.tokens.push({index:t,text:".",json:!1}),this.tokens.push({index:t+1,text:n,json:!1}))},readString:function(t){var e=this.index;this.index++;for(var n="",r=t,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=fr[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,string:n,json:!0,fn:function(){return n}});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var hr=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n};hr.ZERO=j(function(){return 0},{constant:!0}),hr.prototype={constructor:hr,parse:function(t,e){this.text=t,this.json=e,this.tokens=this.lexer.lex(t),e&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:t,index:0})});var n=e?this.primary():this.statements();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),n.literal=!!n.literal,n.constant=!!n.constant,n},primary:function(){var t,e,n;if(this.expect("("))t=this.filterChain(),this.consume(")");else if(this.expect("["))t=this.arrayDeclaration();else if(this.expect("{"))t=this.object();else{var r=this.expect();(t=r.fn)||this.throwError("not a primary expression",r),r.json&&(t.constant=!0,t.literal=!0)}for(;e=this.expect("(","[",".");)"("===e.text?(t=this.functionCall(t,n),n=null):"["===e.text?(n=t,t=this.objectIndex(t)):"."===e.text?(n=t,t=this.fieldAccess(t)):this.throwError("IMPOSSIBLE");return t},throwError:function(t,e){throw ur("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},peekToken:function(){if(0===this.tokens.length)throw ur("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){if(0<this.tokens.length){var i=this.tokens[0],o=i.text;if(o===t||o===e||o===n||o===r||!t&&!e&&!n&&!r)return i}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.json&&!i.json&&this.throwError("is not valid json",i),this.tokens.shift(),i)},consume:function(t){this.expect(t)||this.throwError("is unexpected, expecting ["+t+"]",this.peek())},unaryFn:function(n,r){return j(function(t,e){return n(t,e,r)},{constant:r.constant})},ternaryFn:function(n,r,i){return j(function(t,e){return n(t,e)?r(t,e):i(t,e)},{constant:n.constant&&r.constant&&i.constant})},binaryFn:function(n,r,i){return j(function(t,e){return r(t,e,n,i)},{constant:n.constant&&i.constant})},statements:function(){for(var o=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&o.push(this.filterChain()),!this.expect(";"))return 1===o.length?o[0]:function(t,e){for(var n,r=0;r<o.length;r++){var i=o[r];i&&(n=i(t,e))}return n}},filterChain:function(){for(var t,e=this.expression();;){if(!(t=this.expect("|")))return e;e=this.binaryFn(e,t.fn,this.filter())}},filter:function(){for(var t=this.expect(),o=this.$filter(t.text),a=[];;){if(!(t=this.expect(":"))){var e=function(t,e,n){for(var r=[n],i=0;i<a.length;i++)r.push(a[i](t,e));return o.apply(t,r)};return function(){return e}}a.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var n,t,r=this.ternary();return(t=this.expect("="))?(r.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),n=this.ternary(),function(t,e){return r.assign(t,n(t,e),e)}):r},ternary:function(){var t,e,n=this.logicalOR();return(e=this.expect("?"))?(t=this.ternary(),(e=this.expect(":"))?this.ternaryFn(n,t,this.ternary()):void this.throwError("expected :",e)):n},logicalOR:function(){for(var t,e=this.logicalAND();;){if(!(t=this.expect("||")))return e;e=this.binaryFn(e,t.fn,this.logicalAND())}},logicalAND:function(){var t,e=this.equality();return(t=this.expect("&&"))&&(e=this.binaryFn(e,t.fn,this.logicalAND())),e},equality:function(){var t,e=this.relational();return(t=this.expect("==","!=","===","!=="))&&(e=this.binaryFn(e,t.fn,this.equality())),e},relational:function(){var t,e=this.additive();return(t=this.expect("<",">","<=",">="))&&(e=this.binaryFn(e,t.fn,this.relational())),e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e=this.binaryFn(e,t.fn,this.multiplicative());return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e=this.binaryFn(e,t.fn,this.unary());return e},unary:function(){var t;return this.expect("+")?this.primary():(t=this.expect("-"))?this.binaryFn(hr.ZERO,t.fn,this.unary()):(t=this.expect("!"))?this.unaryFn(t.fn,this.unary()):this.primary()},fieldAccess:function(r){var i=this,o=this.expect().text,a=Te(o,this.options,this.text);return j(function(t,e,n){return a(n||r(t,e))},{assign:function(t,e,n){return be(r(t,n),o,e,i.text,i.options)}})},objectIndex:function(a){var s=this,u=this.expression();return this.consume("]"),j(function(t,e){var n,r,i=a(t,e),o=u(t,e);return i?((n=$e(i[o],s.text))&&n.then&&s.options.unwrapPromises&&("$$v"in(r=n)||(r.$$v=tt,r.then(function(t){r.$$v=t})),n=n.$$v),n):tt},{assign:function(t,e,n){var r=u(t,n);return $e(a(t,n),s.text)[r]=e}})},functionCall:function(a,s){var u=[];if(")"!==this.peekToken().text)for(;u.push(this.expression()),this.expect(","););this.consume(")");var l=this;return function(t,e){for(var n=[],r=s?s(t,e):t,i=0;i<u.length;i++)n.push(u[i](t,e));var o=a(t,e,r)||E;return $e(r,l.text),$e(o,l.text),$e(o.apply?o.apply(r,n):o(n[0],n[1],n[2],n[3],n[4]),l.text)}},arrayDeclaration:function(){var i=[],t=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var e=this.expression();i.push(e),e.constant||(t=!1)}while(this.expect(","));return this.consume("]"),j(function(t,e){for(var n=[],r=0;r<i.length;r++)n.push(i[r](t,e));return n},{literal:!0,constant:t})},object:function(){var o=[],t=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var e=this.expect(),n=e.string||e.text;this.consume(":");var r=this.expression();o.push({key:n,value:r}),r.constant||(t=!1)}while(this.expect(","));return this.consume("}"),j(function(t,e){for(var n={},r=0;r<o.length;r++){var i=o[r];n[i.key]=i.value(t,e)}return n},{literal:!0,constant:t})}};var pr={},mr=$("$sce"),gr={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},vr=Z.createElement("a"),yr=qe(p.location.href,!0);_e.$inject=["$provide"],Be.$inject=["$locale"],Ve.$inject=["$locale"];var $r=".",br={yyyy:Xe("FullYear",4),yy:Xe("FullYear",2,0,!0),y:Xe("FullYear",1),MMMM:Qe("Month"),MMM:Qe("Month",!0),MM:Xe("Month",2,1),M:Xe("Month",1,1),dd:Xe("Date",2),d:Xe("Date",1),HH:Xe("Hours",2),H:Xe("Hours",1),hh:Xe("Hours",2,-12),h:Xe("Hours",1,-12),mm:Xe("Minutes",2),m:Xe("Minutes",1),ss:Xe("Seconds",2),s:Xe("Seconds",1),sss:Xe("Milliseconds",3),EEEE:Qe("Day"),EEE:Qe("Day",!0),a:Ye,Z:Ge},wr=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,xr=/^\-?\d+$/;Je.$inject=["$locale"];var Cr=R(hn),Tr=R(mn);tn.$inject=["$parse"];var Sr=R({restrict:"E",compile:function(t,e){if(yn<=8&&(e.href||e.name||e.$set("href",""),t.append(Z.createComment("IE fix"))),!e.href&&!e.xlinkHref&&!e.name)return function(t,e){var n="[object SVGAnimatedString]"===Sn.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}),Er={};et(zn,function(t,i){if("multiple"!=t){var o=Ut("ng-"+i);Er[o]=function(){return{priority:100,link:function(t,e,n){t.$watch(n[o],function r(t){n.$set(i,!!t)})}}}}}),et(["src","srcset","href"],function(o){var a=Ut("ng-"+o);Er[a]=function(){return{priority:99,link:function(t,e,n){var r=o,i=o;"href"===o&&"[object SVGAnimatedString]"===Sn.call(e.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$observe(a,function(t){t&&(n.$set(i,t),yn&&r&&e.prop(r,n[i]))})}}}});var kr={$addControl:E,$removeControl:E,$setValidity:E,$setDirty:E,$setPristine:E};nn.$inject=["$element","$attrs","$scope","$animate"];var Ar=function(t){return["$timeout",function(s){return{name:"form",restrict:t?"EAC":"E",controller:nn,compile:function(){return{pre:function(t,e,n,r){if(!n.action){var i=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1};Ln(e[0],"submit",i),e.on("$destroy",function(){s(function(){Pn(e[0],"submit",i)},0,!1)})}var o=e.parent().controller("form"),a=n.name||n.ngForm;a&&be(t,a,r,a),o&&e.on("$destroy",function(){o.$removeControl(r),a&&be(t,a,tt,a),j(r,kr)})}}}}}]},Nr=Ar(),Dr=Ar(!0),jr=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Or=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,Rr=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Mr={text:an,number:sn,url:un,email:ln,radio:cn,checkbox:fn,hidden:E,button:E,submit:E,reset:E,file:E},Lr=["$browser","$sniffer",function(i,o){return{restrict:"E",require:"?ngModel",link:function(t,e,n,r){r&&(Mr[hn(n.type)]||Mr.text)(t,e,n,r,o,i)}}}],Pr="ng-valid",Ir="ng-invalid",qr="ng-pristine",Hr="ng-dirty",Fr=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(r,n,t,i,e,o){function a(t,e){e=e?"-"+ct(e,"-"):"",o.removeClass(i,(t?Ir:Pr)+e),o.addClass(i,(t?Pr:Ir)+e)}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=t.name;var s=e(t.ngModel),u=s.assign;if(!u)throw $("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",t.ngModel,lt(i));this.$render=E,this.$isEmpty=function(t){return k(t)||""===t||null===t||t!=t};var l=i.inheritedData("$formController")||kr,c=0,f=this.$error={};i.addClass(qr),a(!0),this.$setValidity=function(t,e){f[t]!==!e&&(e?(f[t]&&c--,c||(a(!0),this.$valid=!0,this.$invalid=!1)):(a(!1),this.$invalid=!0,this.$valid=!1,c++),f[t]=!e,a(e,t),l.$setValidity(t,e,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,o.removeClass(i,Hr),o.addClass(i,qr)},this.$setViewValue=function(e){this.$viewValue=e,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,o.removeClass(i,qr),o.addClass(i,Hr),l.$setDirty()),et(this.$parsers,function(t){e=t(e)}),this.$modelValue!==e&&(this.$modelValue=e,u(r,e),et(this.$viewChangeListeners,function(t){try{t()}catch(e){n(e)}}))};var d=this;r.$watch(function h(){var t=s(r);if(d.$modelValue!==t){var e=d.$formatters,n=e.length;for(d.$modelValue=t;n--;)t=e[n](t);d.$viewValue!==t&&(d.$viewValue=t,d.$render())}return t})}],_r=function(){return{require:["ngModel","^?form"],controller:Fr,link:function(t,e,n,r){var i=r[0],o=r[1]||kr;o.$addControl(i),t.$on("$destroy",function(){o.$removeControl(i)})}}},Ur=R({require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Br=function(){return{require:"?ngModel",link:function(t,e,n,r){if(r){n.required=!0;var i=function(t){return n.required&&r.$isEmpty(t)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),t)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Vr=function(){return{require:"ngModel",link:function(t,e,n,r){var i=/\/(.*)\//.exec(n.ngList),o=i&&new RegExp(i[1])||n.ngList||",",a=function(t){if(!k(t)){var e=[];return t&&et(t.split(o),function(t){t&&e.push(Nn(t))}),e}};r.$parsers.push(a),r.$formatters.push(function(t){return it(t)?t.join(", "):tt}),r.$isEmpty=function(t){return!t||!t.length}}}},Wr=/^(true|false|\d+)$/,zr=function(){return{priority:100,compile:function(t,e){return Wr.test(e.ngValue)?function r(t,e,n){n.$set("value",t.$eval(n.ngValue))}:function i(t,e,n){t.$watch(n.ngValue,function r(t){n.$set("value",t)})}}}},Xr=en(function(t,e,n){e.addClass("ng-binding").data("$binding",n.ngBind),t.$watch(n.ngBind,function r(t){e.text(t==tt?"":t)})}),Qr=["$interpolate",function(i){return function(t,e,n){var r=i(e.attr(n.$attr.ngBindTemplate));e.addClass("ng-binding").data("$binding",r),n.$observe("ngBindTemplate",function(t){e.text(t)})}}],Gr=["$sce","$parse",function(a,s){return function(t,e,n){function r(){return(i(t)||"").toString()}e.addClass("ng-binding").data("$binding",n.ngBindHtml);var i=s(n.ngBindHtml);t.$watch(r,function o(){e.html(a.getTrustedHtml(i(t))||"")})}}],Yr=dn("",!0),Jr=dn("Odd",0),Kr=dn("Even",1),Zr=en({compile:function(t,e){e.$set("ngCloak",tt),t.removeClass("ng-cloak")}}),ti=[function(){return{scope:!0,controller:"@",priority:500}}],ei={};et("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(i){var o=Ut("ng-"+i);ei[o]=["$parse",function(r){return{compile:function(t,e){var n=r(e[o]);return function(e,t){t.on(hn(i),function(t){e.$apply(function(){n(e,{$event:t})})})}}}}]});var ni=["$animate",function(l){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var o,a,s;e.$watch(r.ngIf,function u(t){L(t)?a||(a=e.$new(),i(a,function(t){t[t.length++]=Z.createComment(" end ngIf: "+r.ngIf+" "),o={clone:t},l.enter(t,n.parent(),n)})):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=X(o.clone),l.leave(s,function(){s=null}),o=null))})}}}],ri=["$http","$templateCache","$anchorScroll","$animate","$sce",function(m,g,v,y,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:kn.noop,compile:function(t,e){var r=e.ngInclude||e.src,h=e.onload||"",p=e.autoscroll;return function(o,a,t,s,u){var l,e,c,f=0,d=function(){e&&(e.remove(),e=null),l&&(l.$destroy(),l=null),c&&(y.leave(c,function(){e=null}),e=c,c=null)};o.$watch(i.parseAsResourceUrl(r),function n(t){var r=function(){!F(p)||p&&!o.$eval(p)||v()},i=++f;t?(m.get(t,{cache:g}).success(function(t){if(i===f){var e=o.$new();s.template=t;var n=u(e,function(t){d(),y.enter(t,null,a,r)});c=n,(l=e).$emit("$includeContentLoaded"),o.$eval(h)}}).error(function(){i===f&&d()}),o.$emit("$includeContentRequested")):(d(),s.template=null)})}}}}],ii=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,e,n,r){e.html(r.template),i(e.contents())(t)}}}],oi=en({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),ai=en({terminal:!0,priority:1e3}),si=["$locale","$interpolate",function(h,p){var m=/{}/g;return{restrict:"EA",link:function(e,n,r){var i=r.count,t=r.$attr.when&&n.attr(r.$attr.when),o=r.offset||0,a=e.$eval(t)||{},s={},u=p.startSymbol(),l=p.endSymbol(),c=/^when(Minus)?(.+)$/;et(r,function(t,e){c.test(e)&&(a[hn(e.replace("when","").replace("Minus","-"))]=n.attr(r.$attr[e]))}),et(a,function(t,e){s[e]=p(t.replace(m,u+i+"-"+o+l))}),e.$watch(function f(){var t=parseFloat(e.$eval(i));return isNaN(t)?"":(t in a||(t=h.pluralCat(t-o)),s[t](e,n,!0))},function d(t){n.text(t)})}}}],ui=["$parse","$animate",function(u,k){function A(t){return t.clone[0]}function N(t){return t.clone[t.clone.length-1]}var D="$$NG_REMOVED",j=$("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(g,v,t,e,y){var n,r,$,b,w,i,o,x,C,T=t.ngRepeat,a=T.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),s={$id:jt};if(!a)throw j("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",T);if(i=a[1],o=a[2],(n=a[3])?(r=u(n),$=function(t,e,n){return C&&(s[C]=t),s[x]=e,s.$index=n,r(g,s)}):(b=function(t,e){return jt(e)},w=function(t){return t}),!(a=i.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/)))throw j("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",i);x=a[3]||a[1],C=a[2];var S={};g.$watchCollection(o,function E(t){var e,n,r,i,o,a,s,u,l,c,f,d,h=v[0],p={},m=[];if(O(t))c=t,l=$||b;else{for(a in l=$||w,c=[],t)t.hasOwnProperty(a)&&"$"!=a.charAt(0)&&c.push(a);c.sort()}for(i=c.length,n=m.length=c.length,e=0;e<n;e++)if(W(u=l(a=t===c?e:c[e],s=t[a],e),"`track by` id"),S.hasOwnProperty(u))f=S[u],delete S[u],p[u]=f,m[e]=f;else{if(p.hasOwnProperty(u))throw et(m,function(t){t&&t.scope&&(S[t.id]=t)}),j("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",T,u);m[e]={id:u},p[u]=!1}for(a in S)S.hasOwnProperty(a)&&(d=X((f=S[a]).clone),k.leave(d),et(d,function(t){t[D]=!0}),f.scope.$destroy());for(e=0,n=c.length;e<n;e++){if(s=t[a=t===c?e:c[e]],f=m[e],m[e-1]&&(h=N(m[e-1])),f.scope){for(o=f.scope,r=h;(r=r.nextSibling)&&r[D];);A(f)!=r&&k.move(X(f.clone),null,$n(h)),h=N(f)}else o=g.$new();o[x]=s,C&&(o[C]=a),o.$index=e,o.$first=0===e,o.$last=e===i-1,o.$middle=!(o.$first||o.$last),o.$odd=!(o.$even=0==(1&e)),f.scope||y(o,function(t){t[t.length++]=Z.createComment(" end ngRepeat: "+T+" "),k.enter(t,null,$n(h)),h=t,f.scope=o,f.clone=t,p[f.id]=f})}S=p})}}}],li=["$animate",function(i){return function(t,e,n){t.$watch(n.ngShow,function r(t){i[L(t)?"removeClass":"addClass"](e,"ng-hide")})}}],ci=["$animate",function(i){return function(t,e,n){t.$watch(n.ngHide,function r(t){i[L(t)?"addClass":"removeClass"](e,"ng-hide")})}}],fi=en(function(t,n,e){t.$watch(e.ngStyle,function r(t,e){e&&t!==e&&et(e,function(t,e){n.css(e,"")}),t&&n.css(t)},!0)}),di=["$animate",function(d){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function t(){this.cases={}}],link:function(i,t,o,a){var s,u,l,e=o.ngSwitch||o.on,c=[];i.$watch(e,function f(t){var e,n=c.length;if(0<n){if(l){for(e=0;e<n;e++)l[e].remove();l=null}for(l=[],e=0;e<n;e++){var r=u[e];c[e].$destroy(),l[e]=r,d.leave(r,function(){l.splice(e,1),0===l.length&&(l=null)})}}u=[],c=[],(s=a.cases["!"+t]||a.cases["?"])&&(i.$eval(o.change),et(s,function(n){var t=i.$new();c.push(t),n.transclude(t,function(t){var e=n.element;u.push(t),d.enter(t,e.parent(),e)})}))})}}}],hi=en({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:e})}}),pi=en({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),mi=en({link:function(t,e,n,r,i){if(!i)throw $("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",lt(e));i(function(t){e.empty(),e.append(t)})}}),gi=["$templateCache",function(i){return{restrict:"E",terminal:!0,compile:function(t,e){if("text/ng-template"==e.type){var n=e.id,r=t[0].text;i.put(n,r)}}}}],vi=$("ngOptions"),yi=R({terminal:!0}),$i=["$compile","$parse",function(m,g){var v=/^\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:E};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(n,t,e){var r,i=this,o={},a=s;i.databound=e.ngModel,i.init=function(t,e,n){a=t,e,r=n},i.addOption=function(t){W(t,'"option value"'),o[t]=!0,a.$viewValue==t&&(n.val(t),r.parent()&&r.remove())},i.removeOption=function(t){this.hasOption(t)&&(delete o[t],a.$viewValue==t&&this.renderUnknownOption(t))},i.renderUnknownOption=function(t){var e="? "+jt(t)+" ?";r.val(e),n.prepend(r),n.val(e),r.prop("selected",!0)},i.hasOption=function(t){return o.hasOwnProperty(t)},t.$on("$destroy",function(){i.renderUnknownOption=E})}],link:function(t,e,n,r){function i(t,e,n,r){n.$render=function(){var t=n.$viewValue;r.hasOption(t)?(f.parent()&&f.remove(),e.val(t),""===t&&s.prop("selected",!0)):k(t)&&s?e.val(""):r.renderUnknownOption(t)},e.on("change",function(){t.$apply(function(){f.parent()&&f.remove(),n.$setViewValue(e.val())})})}function o(t,n,r){var e;r.$render=function(){var e=new Ot(r.$viewValue);et(n.find("option"),function(t){t.selected=F(e.get(t.value))})},t.$watch(function i(){st(e,r.$viewValue)||(e=A(r.$viewValue),r.$render())}),n.on("change",function(){t.$apply(function(){var e=[];et(n.find("option"),function(t){t.selected&&e.push(t.value)}),r.$setViewValue(e)})})}function a(T,S,E){function t(){var t,e,n,r,i,o,a,s,u,l,c,f,d,h,p,m={"":[]},g=[""],v=E.$modelValue,y=O(T)||[],$=N?H(y):y,b={},w=!1;if(L)if(R&&it(v)){w=new Ot([]);for(var x=0;x<v.length;x++)b[A]=v[x],w.put(R(T,b),v[x])}else w=new Ot(v);for(c=0;c<(u=$.length);c++){if(a=c,N){if("$"===(a=$[c]).charAt(0))continue;b[N]=a}if(b[A]=y[a],(e=m[t=D(T,b)||""])||(e=m[t]=[],g.push(t)),L)f=F(w.remove(R?R(T,b):j(T,b)));else{if(R){var C={};C[A]=v,f=R(T,C)===R(T,b)}else f=v===j(T,b);w=w||f}p=F(p=k(T,b))?p:"",e.push({id:R?R(T,b):N?$[c]:c,label:p,selected:f})}for(L||(P||null===v?m[""].unshift({id:"",label:"",selected:!w}):w||m[""].unshift({id:"?",label:"",selected:!0})),l=0,s=g.length;l<s;l++){for(e=m[t=g[l]],M.length<=l?(i=[r={element:q.clone().attr("label",t),label:e.label}],M.push(i),S.append(r.element)):(r=(i=M[l])[0]).label!=t&&r.element.attr("label",r.label=t),d=null,c=0,u=e.length;c<u;c++)n=e[c],(o=i[c+1])?(d=o.element,o.label!==n.label&&d.text(o.label=n.label),o.id!==n.id&&d.val(o.id=n.id),o.selected!==n.selected&&d.prop("selected",o.selected=n.selected)):(""===n.id&&P?h=P:(h=I.clone()).val(n.id).attr("selected",n.selected).text(n.label),i.push(o={element:h,label:n.label,id:n.id,selected:n.selected}),d?d.after(h):r.element.append(h),d=h);for(c++;i.length>c;)i.pop().element.remove()}for(;M.length>l;)M.pop()[0].element.remove()}var e;if(!(e=c.match(v)))throw vi("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",c,lt(S));var k=g(e[2]||e[1]),A=e[4]||e[6],N=e[5],D=g(e[3]||""),j=g(e[2]?e[1]:A),O=g(e[7]),R=e[8]?g(e[8]):null,M=[[{element:S,label:""}]];P&&(m(P)(T),P.removeClass("ng-scope"),P.remove()),S.empty(),S.on("change",function(){T.$apply(function(){var t,e,n,r,i,o,a,s,u,l=O(T)||[],c={};if(L){for(n=[],o=0,s=M.length;o<s;o++)for(i=1,a=(t=M[o]).length;i<a;i++)if((r=t[i].element)[0].selected){if(e=r.val(),N&&(c[N]=e),R)for(u=0;u<l.length&&(c[A]=l[u],R(T,c)!=e);u++);else c[A]=l[e];n.push(j(T,c))}}else{if("?"==(e=S.val()))n=tt;else if(""===e)n=null;else if(R){for(u=0;u<l.length;u++)if(c[A]=l[u],R(T,c)==e){n=j(T,c);break}}else c[A]=l[e],N&&(c[N]=e),n=j(T,c);1<M[0].length&&M[0][1].id!==e&&(M[0][1].selected=!1)}E.$setViewValue(n)})}),E.$render=t,T.$watch(t)}if(r[1]){for(var s,u=r[0],l=r[1],L=n.multiple,c=n.ngOptions,P=!1,I=$n(Z.createElement("option")),q=$n(Z.createElement("optgroup")),f=I.clone(),d=0,h=e.children(),p=h.length;d<p;d++)if(""===h[d].value){s=P=h.eq(d);break}u.init(l,P,f),L&&(l.$isEmpty=function(t){return!t||0===t.length}),c?a(t,e,l):L?o(t,e,l):i(t,e,l,u)}}}}],bi=["$interpolate",function(n){var u={addOption:E,removeOption:E};return{restrict:"E",priority:100,compile:function(t,e){if(k(e.value)){var s=n(t.text(),!0);s||e.$set("value",t.text())}return function(t,e,n){var r="$selectController",i=e.parent(),o=i.data(r)||i.parent().data(r);o&&o.databound?e.prop("selected",!1):o=u,s?t.$watch(s,function a(t,e){n.$set("value",t),t!==e&&o.removeOption(e),o.addOption(t)}):o.addOption(n.value),e.on("$destroy",function(){o.removeOption(n.value)})}}}}],wi=R({restrict:"E",terminal:!0});p.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(e(),G(kn),$n(Z).ready(function(){t(Z,B)}))}(window,document),!angular.$$csp()&&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;}</style>');var app=angular.module("konek",[]);app.directive("ngMin",function(){return{restrict:"A",require:"ngModel",link:function(n,t,r,i){n.$watch(r.ngMin,function(){i.$setViewValue(i.$viewValue)});var e=function(t){var e=n.$eval(r.ngMin)||0;return!isEmpty(t)&&t<e?(i.$setValidity("ngMin",!1),undefined):(i.$setValidity("ngMin",!0),t)};i.$parsers.push(e),i.$formatters.push(e)}}}),app.directive("ngMax",function(){return{restrict:"A",require:"ngModel",link:function(n,t,r,i){n.$watch(r.ngMax,function(){i.$setViewValue(i.$viewValue)});var e=function(t){var e=n.$eval(r.ngMax)||Infinity;return!isEmpty(t)&&e<t?(i.$setValidity("ngMax",!1),undefined):(i.$setValidity("ngMax",!0),t)};i.$parsers.push(e),i.$formatters.push(e)}}}),app.controller("calculator",["$scope","$http",function(e,t){e.totalPrice=0,e.rows=[],e.materials=window.MATERIALS,e.handlings=window.HANDLINGS,e.calculator_type=window.TYPE,e.min_area=window.MIN_AREA,e.valid_area=!0,e.addRow=function(){if(0<e.rows.length){var t=Object.assign({},e.rows[e.rows.length-1]);delete t.$$hashKey,e.rows.push(t)}else e.rows.push(window.DEFAULT_ROW);1<e.rows.length&&e.calculate()},e.removeRow=function(t){1!=e.rows.length&&(e.rows.splice(t,1),e.calculate())},e.calculate=function(){e.calculatorForm.$invalid?console.log("invalid"):t({method:"POST",url:URL,data:{rows:e.rows,calculator_type:e.calculator_type}}).success(function(t){e.calculated_area=t.area,e.valid_area=!1,t.area>=e.min_area&&(e.valid_area=!0,e.totalPrice=t.total)}).error(function(){})},e.print=function(){window.print()},e.addRow()}]);var square=function(){$(".square").css({height:$(".square").width()+"px"})},mobileNav=function(){var t=$(".nav-toggle"),e=$(".nav-wrapper-actions");t.click(function(){e.toggle("show")}),$(".sub-nav-triger").each(function(){$(this).on("click",function(){$(this).next().toggle("show")})})};$(function(){ready()});