8 lines
238 KiB
JavaScript
8 lines
238 KiB
JavaScript
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=ot.type(e);return"function"===n||ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(dt.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return ot.inArray(e,t)>=0!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=xt[e]={};return ot.each(e.match(bt)||[],function(e,n){t[n]=!0}),t}function a(){mt.addEventListener?(mt.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(mt.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(mt.addEventListener||"load"===event.type||"complete"===mt.readyState)&&(a(),ot.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Et,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Tt.test(n)?ot.parseJSON(n):n}catch(i){}ot.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!ot.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(ot.acceptData(e)){var i,o,a=ot.expando,s=e.nodeType,u=s?ot.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=Z.pop()||ot.guid++:a),u[l]||(u[l]=s?{}:{toJSON:ot.noop}),("object"==typeof t||"function"==typeof t)&&(r?u[l]=ot.extend(u[l],t):u[l].data=ot.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ot.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[ot.camelCase(t)])):i=o,i}}function f(e,t,n){if(ot.acceptData(e)){var r,i,o=e.nodeType,a=o?ot.cache:e,s=o?e[ot.expando]:ot.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ot.isArray(t)?t=t.concat(ot.map(t,ot.camelCase)):t in r?t=[t]:(t=ot.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!ot.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?ot.cleanData([e],!0):rt.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function p(){return!0}function d(){return!1}function h(){try{return mt.activeElement}catch(e){}}function m(e){var t=Ht.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function v(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==St?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==St?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||ot.nodeName(r,t)?o.push(r):ot.merge(o,v(r,t));return void 0===t||t&&ot.nodeName(e,t)?ot.merge([e],o):o}function g(e){Ot.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return ot.nodeName(e,"table")&&ot.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function $(e){return e.type=(null!==ot.find.attr(e,"type"))+"/"+e.type,e}function b(e){var t=Zt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function x(e,t){for(var n,r=0;null!=(n=e[r]);r++)ot._data(n,"globalEval",!t||ot._data(t[r],"globalEval"))}function w(e,t){if(1===t.nodeType&&ot.hasData(e)){var n,r,i,o=ot._data(e),a=ot._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)ot.event.add(t,n,s[n][r])}a.data&&(a.data=ot.extend({},a.data))}}function C(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!rt.noCloneEvent&&t[ot.expando]){i=ot._data(t);for(r in i.events)ot.removeEvent(t,r,i.handle);t.removeAttribute(ot.expando)}"script"===n&&t.text!==e.text?($(t).text=e.text,b(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),rt.html5Clone&&e.innerHTML&&!ot.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ot.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function S(t,n){var r=ot(n.createElement(t)).appendTo(n.body),i=e.getDefaultComputedStyle?e.getDefaultComputedStyle(r[0]).display:ot.css(r[0],"display");return r.detach(),i}function T(e){var t=mt,n=en[e];return n||(n=S(e,t),"none"!==n&&n||(Kt=(Kt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(Kt[0].contentWindow||Kt[0].contentDocument).document,t.write(),t.close(),n=S(e,t),Kt.detach()),en[e]=n),n}function E(e,t){return{get:function(){var n=e();if(null!=n)return n?void delete this.get:(this.get=t).apply(this,arguments)}}}function k(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=hn.length;i--;)if(t=hn[i]+n,t in e)return t;return r}function A(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ot._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Nt(r)&&(o[a]=ot._data(r,"olddisplay",T(r.nodeName)))):o[a]||(i=Nt(r),(n&&"none"!==n||!i)&&ot._data(r,"olddisplay",i?n:ot.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function N(e,t,n){var r=cn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function j(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ot.css(e,n+At[o],!0,i)),r?("content"===n&&(a-=ot.css(e,"padding"+At[o],!0,i)),"margin"!==n&&(a-=ot.css(e,"border"+At[o]+"Width",!0,i))):(a+=ot.css(e,"padding"+At[o],!0,i),"padding"!==n&&(a+=ot.css(e,"border"+At[o]+"Width",!0,i)));return a}function O(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=tn(e),a=rt.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=nn(e,t,o),(0>i||null==i)&&(i=e.style[t]),on.test(i))return i;r=a&&(rt.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+j(e,t,n||(a?"border":"content"),r,o)+"px"}function D(e,t,n,r,i){return new D.prototype.init(e,t,n,r,i)}function M(){return setTimeout(function(){mn=void 0}),mn=ot.now()}function L(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=At[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function P(e,t,n){for(var r,i=(xn[t]||[]).concat(xn["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function q(e,t,n){var r,i,o,a,s,u,l,c,f=this,p={},d=e.style,h=e.nodeType&&Nt(e),m=ot._data(e,"fxshow");n.queue||(s=ot._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,ot.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=ot.css(e,"display"),c=T(e.nodeName),"none"===l&&(l=c),"inline"===l&&"none"===ot.css(e,"float")&&(rt.inlineBlockNeedsLayout&&"inline"!==c?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",rt.shrinkWrapBlocks()||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],gn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;h=!0}p[r]=m&&m[r]||ot.style(e,r)}if(!ot.isEmptyObject(p)){m?"hidden"in m&&(h=m.hidden):m=ot._data(e,"fxshow",{}),o&&(m.hidden=!h),h?ot(e).show():f.done(function(){ot(e).hide()}),f.done(function(){var t;ot._removeData(e,"fxshow");for(t in p)ot.style(e,t,p[t])});for(r in p)a=P(h?m[r]:0,r,f),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function H(e,t){var n,r,i,o,a;for(n in e)if(r=ot.camelCase(n),i=t[r],o=e[n],ot.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=ot.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function R(e,t,n){var r,i,o=0,a=bn.length,s=ot.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=mn||M(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:ot.extend({},t),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:mn||M(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ot.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(H(c,l.opts.specialEasing);a>o;o++)if(r=bn[o].call(l,e,c,l.opts))return r;return ot.map(c,P,l),ot.isFunction(l.opts.start)&&l.opts.start.call(e,l),ot.fx.timer(ot.extend(u,{elem:e,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 I(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(bt)||[];if(ot.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _(e,t,n,r){function i(s){var u;return o[s]=!0,ot.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Un;return i(t.dataTypes[0])||!o["*"]&&i("*")}function F(e,t){var n,r,i=ot.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&ot.extend(!0,e,n),e}function V(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.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]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function B(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function z(e,t,n,r){var i;if(ot.isArray(t))ot.each(t,function(t,i){n||Qn.test(e)?r(e,i):z(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==ot.type(t))r(e,t);else for(i in t)z(e+"["+i+"]",t[i],n,r)}function U(){try{return new e.XMLHttpRequest}catch(t){}}function W(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function X(e){return ot.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var Z=[],Q=Z.slice,J=Z.concat,Y=Z.push,G=Z.indexOf,K={},et=K.toString,tt=K.hasOwnProperty,nt="".trim,rt={},it="1.11.0",ot=function(e,t){return new ot.fn.init(e,t)},at=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,ut=/-([\da-z])/gi,lt=function(e,t){return t.toUpperCase()};ot.fn=ot.prototype={jquery:it,constructor:ot,selector:"",length:0,toArray:function(){return Q.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:Q.call(this)},pushStack:function(e){var t=ot.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ot.each(this,e,t)},map:function(e){return this.pushStack(ot.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Y,sort:Z.sort,splice:Z.splice},ot.extend=ot.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||ot.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(ot.isPlainObject(n)||(t=ot.isArray(n)))?(t?(t=!1,o=e&&ot.isArray(e)?e:[]):o=e&&ot.isPlainObject(e)?e:{},a[r]=ot.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},ot.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ot.type(e)},isArray:Array.isArray||function(e){return"array"===ot.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return e-parseFloat(e)>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ot.type(e)||e.nodeType||ot.isWindow(e))return!1;try{if(e.constructor&&!tt.call(e,"constructor")&&!tt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(rt.ownLast)for(t in e)return tt.call(e,t);for(t in e);return void 0===t||tt.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?K[et.call(e)]||"object":typeof e},globalEval:function(t){t&&ot.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(st,"ms-").replace(ut,lt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var i,o=0,a=e.length,s=n(e);if(r){if(s)for(;a>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(s)for(;a>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!1)break;return e},trim:nt&&!nt.call("\ufeff\xa0")?function(e){return null==e?"":nt.call(e)}:function(e){return null==e?"":(e+"").replace(at,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?ot.merge(r,"string"==typeof e?[e]:e):Y.call(r,e)),r},inArray:function(e,t,n){var r;if(t){if(G)return G.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,a=e.length,s=n(e),u=[];if(s)for(;a>o;o++)i=t(e[o],o,r),null!=i&&u.push(i);else for(o in e)i=t(e[o],o,r),null!=i&&u.push(i);return J.apply([],u)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),ot.isFunction(e)?(n=Q.call(arguments,2),r=function(){return e.apply(t||this,n.concat(Q.call(arguments)))},r.guid=e.guid=e.guid||ot.guid++,r):void 0},now:function(){return+new Date},support:rt}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){K["[object "+t+"]"]=t.toLowerCase()});var ct=function(e){function t(e,t,n,r){var i,o,a,s,u,l,f,h,m,v;if((t?t.ownerDocument||t:_)!==D&&O(t),t=t||D,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(L&&!r){if(i=yt.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&R(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return K.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&C.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(a)),n}if(C.qsa&&(!P||!P.test(e))){if(h=f=I,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=p(e),(f=t.getAttribute("id"))?h=f.replace(bt,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",u=l.length;u--;)l[u]=h+d(l[u]);m=$t.test(e)&&c(t.parentNode)||t,v=l.join(",")}if(v)try{return K.apply(n,m.querySelectorAll(v)),n}catch(g){}finally{f||t.removeAttribute("id")}}}return x(e.replace(ut,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>S.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function i(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)S.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&typeof e.getElementsByTagName!==X&&e}function f(){}function p(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=S.preFilter;s;){(!r||(i=lt.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=ct.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ut," ")}),s=s.slice(r.length));for(a in S.filter)!(i=ht[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)}function d(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=V++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l=[F,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[I]||(t[I]={}),(s=u[r])&&s[0]===F&&s[1]===o)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function v(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function g(e,t,n,i,o,a){return i&&!i[I]&&(i=g(i)),o&&!o[I]&&(o=g(o,a)),r(function(r,a,s,u){var l,c,f,p=[],d=[],h=a.length,m=r||b(t||"*",s.nodeType?[s]:s,[]),g=!e||!r&&t?m:v(m,p,e,s,u),y=n?o||(r?e:h||i)?[]:a:g;if(n&&n(g,y,s,u),i)for(l=v(y,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[d[c]]=!(g[d[c]]=f));if(r){if(o||e){if(o){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(g[c]=f);o(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&(l=o?tt.call(r,f):p[c])>-1&&(r[l]=!(a[l]=f))}}else y=v(y===a?y.splice(h,y.length):y),o?o(null,a,y,u):K.apply(a,y)})}function y(e){for(var t,n,r,i=e.length,o=S.relative[e[0].type],a=o||S.relative[" "],s=o?1:0,u=h(function(e){return e===t},a,!0),l=h(function(e){return tt.call(t,e)>-1},a,!0),c=[function(e,n,r){return!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r))}];i>s;s++)if(n=S.relative[e[s].type])c=[h(m(c),n)];else{if(n=S.filter[e[s].type].apply(null,e[s].matches),n[I]){for(r=++s;i>r&&!S.relative[e[r].type];r++);return g(s>1&&m(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ut,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&d(e))}c.push(n)}return m(c)}function $(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,p,d=0,h="0",m=r&&[],g=[],y=A,$=r||o&&S.find.TAG("*",l),b=F+=null==y?1:Math.random()||.1,x=$.length;for(l&&(A=a!==D&&a);h!==x&&null!=(c=$[h]);h++){if(o&&c){for(f=0;p=e[f++];)if(p(c,a,s)){u.push(c);break}l&&(F=b)}i&&((c=!p&&c)&&d--,r&&m.push(c))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(m,g,a,s);if(r){if(d>0)for(;h--;)m[h]||g[h]||(g[h]=Y.call(u));g=v(g)}K.apply(u,g),l&&!r&&g.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&(F=b,A=y),m};return i?r(a):a}function b(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function x(e,t,n,r){var i,o,a,s,u,l=p(e);if(!r&&1===l.length){if(o=l[0]=l[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&C.getById&&9===t.nodeType&&L&&S.relative[o[1].type]){if(t=(S.find.ID(a.matches[0].replace(xt,wt),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(i=ht.needsContext.test(e)?0:o.length;i--&&(a=o[i],!S.relative[s=a.type]);)if((u=S.find[s])&&(r=u(a.matches[0].replace(xt,wt),$t.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return K.apply(n,r),n;break}}return k(e,l)(r,t,!L,n,$t.test(e)&&c(t.parentNode)||t),n}var w,C,S,T,E,k,A,N,j,O,D,M,L,P,q,H,R,I="sizzle"+-new Date,_=e.document,F=0,V=0,B=n(),z=n(),U=n(),W=function(e,t){return e===t&&(j=!0),0},X="undefined",Z=1<<31,Q={}.hasOwnProperty,J=[],Y=J.pop,G=J.push,K=J.push,et=J.slice,tt=J.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=it.replace("w","w#"),at="\\["+rt+"*("+it+")"+rt+"*(?:([*^$|!~]?=)"+rt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ot+")|)|)"+rt+"*\\]",st=":("+it+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+at.replace(3,8)+")*)|.*)\\)|)",ut=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),lt=new RegExp("^"+rt+"*,"+rt+"*"),ct=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=new RegExp("="+rt+"*([^\\]'\"]*?)"+rt+"*\\]","g"),pt=new RegExp(st),dt=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$t=/[+~]/,bt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),wt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{K.apply(J=et.call(_.childNodes),_.childNodes),J[_.childNodes.length].nodeType}catch(Ct){K={apply:J.length?function(e,t){G.apply(e,et.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},O=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:_,r=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,M=n.documentElement,L=!E(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){O()},!1):r.attachEvent&&r.attachEvent("onunload",function(){O()})),C.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=gt.test(n.getElementsByClassName)&&i(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),C.getById=i(function(e){return M.appendChild(e).id=I,!n.getElementsByName||!n.getElementsByName(I).length}),C.getById?(S.find.ID=function(e,t){if(typeof t.getElementById!==X&&L){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},S.filter.ID=function(e){var t=e.replace(xt,wt);return function(e){return e.getAttribute("id")===t}}):(delete S.find.ID,S.filter.ID=function(e){var t=e.replace(xt,wt);return function(e){var n=typeof e.getAttributeNode!==X&&e.getAttributeNode("id");return n&&n.value===t}}),S.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==X?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},S.find.CLASS=C.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==X&&L?t.getElementsByClassName(e):void 0},q=[],P=[],(C.qsa=gt.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="<select t=''><option selected=''></option></select>",e.querySelectorAll("[t^='']").length&&P.push("[*^$]="+rt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+rt+"*(?:value|"+nt+")"),e.querySelectorAll(":checked").length||P.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+rt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(C.matchesSelector=gt.test(H=M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&i(function(e){C.disconnectedMatch=H.call(e,"div"),H.call(e,"[s!='']:x"),q.push("!=",st)}),P=P.length&&new RegExp(P.join("|")),q=q.length&&new RegExp(q.join("|")),t=gt.test(M.compareDocumentPosition),R=t||gt.test(M.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=t?function(e,t){if(e===t)return j=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!C.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===_&&R(_,e)?-1:t===n||t.ownerDocument===_&&R(_,t)?1:N?tt.call(N,e)-tt.call(N,t):0:4&r?-1:1)}:function(e,t){if(e===t)return j=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,u=[e],l=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:N?tt.call(N,e)-tt.call(N,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)u.unshift(r);for(r=t;r=r.parentNode;)l.unshift(r);for(;u[i]===l[i];)i++;return i?a(u[i],l[i]):u[i]===_?-1:l[i]===_?1:0},n):D},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==D&&O(e),n=n.replace(ft,"='$1']"),!(!C.matchesSelector||!L||q&&q.test(n)||P&&P.test(n)))try{var r=H.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&O(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&O(e);var n=S.attrHandle[t.toLowerCase()],r=n&&Q.call(S.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:C.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!C.detectDuplicates,N=!C.sortStable&&e.slice(0),e.sort(W),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},S=t.selectors={cacheLength:50,createPseudo:r,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xt,wt),e[3]=(e[4]||e[5]||"").replace(xt,wt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return ht.CHILD.test(e[0])?null:(e[3]&&void 0!==e[4]?e[2]=e[4]:n&&pt.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xt,wt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+rt+")"+e+"("+rt+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==X&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(v){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(c=v[I]||(v[I]={}),l=c[e]||[],d=l[0]===F&&l[1],p=l[0]===F&&l[2],f=d&&v.childNodes[d];f=++d&&f&&f[m]||(p=d=0)||h.pop();)if(1===f.nodeType&&++p&&f===t){c[e]=[F,d,p];break}}else if(y&&(l=(t[I]||(t[I]={}))[e])&&l[0]===F)p=l[1];else for(;(f=++d&&f&&f[m]||(p=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++p||(y&&((f[I]||(f[I]={}))[e]=[F,p]),f!==t)););return p-=i,p===r||p%r===0&&p/r>=0}}},PSEUDO:function(e,n){var i,o=S.pseudos[e]||S.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[I]?o(n):o.length>1?(i=[e,e,"",n],S.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=tt.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(ut,"$1"));return i[I]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return dt.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xt,wt).toLowerCase(),function(t){var n;do if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!S.pseudos.empty(e)},header:function(e){return vt.test(e.nodeName)},input:function(e){return mt.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},S.pseudos.nth=S.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})S.pseudos[w]=u(w);return f.prototype=S.filters=S.pseudos,S.setFilters=new f,k=t.compile=function(e,t){var n,r=[],i=[],o=U[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)o=y(t[n]),o[I]?r.push(o):i.push(o);o=U(e,$(i,r))}return o},C.sortStable=I.split("").sort(W).join("")===I,C.detectDuplicates=!!j,O(),C.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))
|
||
}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(nt,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);ot.find=ct,ot.expr=ct.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=ct.uniqueSort,ot.text=ct.getText,ot.isXMLDoc=ct.isXML,ot.contains=ct.contains;var ft=ot.expr.match.needsContext,pt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,dt=/^.[^:#\[\.,]*$/;ot.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ot.find.matchesSelector(r,e)?[r]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},ot.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;i>t;t++)if(ot.contains(r[t],this))return!0}));for(t=0;i>t;t++)ot.find(e,r[t],n);return n=this.pushStack(i>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&ft.test(e)?ot(e):e||[],!1).length}});var ht,mt=e.document,vt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=ot.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:vt.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ht).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ot?t[0]:t,ot.merge(this,ot.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:mt,!0)),pt.test(n[1])&&ot.isPlainObject(t))for(n in t)ot.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if(r=mt.getElementById(n[2]),r&&r.parentNode){if(r.id!==n[2])return ht.find(e);this.length=1,this[0]=r}return this.context=mt,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ot.isFunction(e)?"undefined"!=typeof ht.ready?ht.ready(e):e(ot):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ot.makeArray(e,this))};gt.prototype=ot.fn,ht=ot(mt);var yt=/^(?:parents|prev(?:Until|All))/,$t={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!ot(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),ot.fn.extend({has:function(e){var t,n=ot(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(ot.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ft.test(e)||"string"!=typeof e?ot(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ot.unique(o):o)},index:function(e){return e?"string"==typeof e?ot.inArray(this[0],ot(e)):ot.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ot.unique(ot.merge(this.get(),ot(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ot.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ot.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ot.dir(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return ot.dir(e,"nextSibling")},prevAll:function(e){return ot.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ot.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ot.dir(e,"previousSibling",n)},siblings:function(e){return ot.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ot.sibling(e.firstChild)},contents:function(e){return ot.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ot.merge([],e.childNodes)}},function(e,t){ot.fn[e]=function(n,r){var i=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ot.filter(r,i)),this.length>1&&($t[e]||(i=ot.unique(i)),yt.test(e)&&(i=i.reverse())),this.pushStack(i)}});var bt=/\S+/g,xt={};ot.Callbacks=function(e){e="string"==typeof e?xt[e]||o(e):ot.extend({},e);var t,n,r,i,a,s,u=[],l=!e.once&&[],c=function(o){for(n=e.memory&&o,r=!0,a=s||0,s=0,i=u.length,t=!0;u&&i>a;a++)if(u[a].apply(o[0],o[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,u&&(l?l.length&&c(l.shift()):n?u=[]:f.disable())},f={add:function(){if(u){var r=u.length;!function o(t){ot.each(t,function(t,n){var r=ot.type(n);"function"===r?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),t?i=u.length:n&&(s=r,c(n))}return this},remove:function(){return u&&ot.each(arguments,function(e,n){for(var r;(r=ot.inArray(n,u,r))>-1;)u.splice(r,1),t&&(i>=r&&i--,a>=r&&a--)}),this},has:function(e){return e?ot.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],i=0,this},disable:function(){return u=l=n=void 0,this},disabled:function(){return!u},lock:function(){return l=void 0,n||f.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!u||r&&!l||(n=n||[],n=[e,n.slice?n.slice():n],t?l.push(n):c(n)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},ot.extend({Deferred:function(e){var t=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ot.Deferred(function(n){ot.each(t,function(t,o){var a=ot.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ot.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,r):r}},i={};return r.pipe=r.then,ot.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=Q.call(arguments),a=o.length,s=1!==a||e&&ot.isFunction(e.promise)?a:0,u=1===s?e:ot.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?Q.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&ot.isFunction(o[i].promise)?o[i].promise().done(l(i,r,o)).fail(u.reject).progress(l(i,n,t)):--s;return s||u.resolveWith(r,o),u.promise()}});var wt;ot.fn.ready=function(e){return ot.ready.promise().done(e),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ot.readyWait++:ot.ready(!0)},ready:function(e){if(e===!0?!--ot.readyWait:!ot.isReady){if(!mt.body)return setTimeout(ot.ready);ot.isReady=!0,e!==!0&&--ot.readyWait>0||(wt.resolveWith(mt,[ot]),ot.fn.trigger&&ot(mt).trigger("ready").off("ready"))}}}),ot.ready.promise=function(t){if(!wt)if(wt=ot.Deferred(),"complete"===mt.readyState)setTimeout(ot.ready);else if(mt.addEventListener)mt.addEventListener("DOMContentLoaded",s,!1),e.addEventListener("load",s,!1);else{mt.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&mt.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!ot.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}a(),ot.ready()}}()}return wt.promise(t)};var Ct,St="undefined";for(Ct in ot(rt))break;rt.ownLast="0"!==Ct,rt.inlineBlockNeedsLayout=!1,ot(function(){var e,t,n=mt.getElementsByTagName("body")[0];n&&(e=mt.createElement("div"),e.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t=mt.createElement("div"),n.appendChild(e).appendChild(t),typeof t.style.zoom!==St&&(t.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(rt.inlineBlockNeedsLayout=3===t.offsetWidth)&&(n.style.zoom=1)),n.removeChild(e),e=t=null)}),function(){var e=mt.createElement("div");if(null==rt.deleteExpando){rt.deleteExpando=!0;try{delete e.test}catch(t){rt.deleteExpando=!1}}e=null}(),ot.acceptData=function(e){var t=ot.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t};var Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Et=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?ot.cache[e[ot.expando]]:e[ot.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),ot.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ot.data(o),1===o.nodeType&&!ot._data(o,"parsedAttrs"))){for(n=a.length;n--;)r=a[n].name,0===r.indexOf("data-")&&(r=ot.camelCase(r.slice(5)),u(o,r,i[r]));ot._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ot.data(this,e)}):arguments.length>1?this.each(function(){ot.data(this,e,t)}):o?u(o,e,ot.data(o,e)):void 0},removeData:function(e){return this.each(function(){ot.removeData(this,e)})}}),ot.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=ot._data(e,t),n&&(!r||ot.isArray(n)?r=ot._data(e,t,ot.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),r=n.length,i=n.shift(),o=ot._queueHooks(e,t),a=function(){ot.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ot._data(e,n)||ot._data(e,n,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(e,t+"queue"),ot._removeData(e,n)})})}}),ot.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ot.queue(this[0],e):void 0===t?this:this.each(function(){var n=ot.queue(this,e,t);ot._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ot.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ot.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ot.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ot._data(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,At=["Top","Right","Bottom","Left"],Nt=function(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)},jt=ot.access=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===ot.type(n)){i=!0;for(s in n)ot.access(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,ot.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ot(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Ot=/^(?:checkbox|radio)$/i;!function(){var e=mt.createDocumentFragment(),t=mt.createElement("div"),n=mt.createElement("input");if(t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a>",rt.leadingWhitespace=3===t.firstChild.nodeType,rt.tbody=!t.getElementsByTagName("tbody").length,rt.htmlSerialize=!!t.getElementsByTagName("link").length,rt.html5Clone="<:nav></:nav>"!==mt.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,e.appendChild(n),rt.appendChecked=n.checked,t.innerHTML="<textarea>x</textarea>",rt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",rt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,rt.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){rt.noCloneEvent=!1}),t.cloneNode(!0).click()),null==rt.deleteExpando){rt.deleteExpando=!0;try{delete t.test}catch(r){rt.deleteExpando=!1}}e=t=n=null}(),function(){var t,n,r=mt.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(rt[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),rt[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var Dt=/^(?:input|select|textarea)$/i,Mt=/^key/,Lt=/^(?:mouse|contextmenu)|click/,Pt=/^(?:focusinfocus|focusoutblur)$/,qt=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,m,v=ot._data(e);if(v){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=ot.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||(c=v.handle=function(e){return typeof ot===St||e&&ot.event.triggered===e.type?void 0:ot.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(bt)||[""],s=t.length;s--;)o=qt.exec(t[s])||[],d=m=o[1],h=(o[2]||"").split(".").sort(),d&&(l=ot.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=ot.event.special[d]||{},f=ot.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ot.expr.match.needsContext.test(i),namespace:h.join(".")},u),(p=a[d])||(p=a[d]=[],p.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(d,c,!1):e.attachEvent&&e.attachEvent("on"+d,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),ot.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,m,v=ot.hasData(e)&&ot._data(e);if(v&&(c=v.events)){for(t=(t||"").match(bt)||[""],l=t.length;l--;)if(s=qt.exec(t[l])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d){for(f=ot.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=c[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)a=p[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,f.remove&&f.remove.call(e,a));u&&!p.length&&(f.teardown&&f.teardown.call(e,h,v.handle)!==!1||ot.removeEvent(e,d,v.handle),delete c[d])}else for(d in c)ot.event.remove(e,d+t[l],n,r,!0);ot.isEmptyObject(c)&&(delete v.handle,ot._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,l,c,f,p=[r||mt],d=tt.call(t,"type")?t.type:t,h=tt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=r=r||mt,3!==r.nodeType&&8!==r.nodeType&&!Pt.test(d+ot.event.triggered)&&(d.indexOf(".")>=0&&(h=d.split("."),d=h.shift(),h.sort()),a=d.indexOf(":")<0&&"on"+d,t=t[ot.expando]?t:new ot.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:ot.makeArray(n,[t]),l=ot.event.special[d]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!ot.isWindow(r)){for(u=l.delegateType||d,Pt.test(u+d)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(r.ownerDocument||mt)&&p.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=p[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||d,o=(ot._data(s,"events")||{})[t.type]&&ot._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&ot.acceptData(s)&&(t.result=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=d,!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),n)===!1)&&ot.acceptData(r)&&a&&r[d]&&!ot.isWindow(r)){c=r[a],c&&(r[a]=null),ot.event.triggered=d;try{r[d]()}catch(m){}ot.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=ot.event.fix(e);var t,n,r,i,o,a=[],s=Q.call(arguments),u=(ot._data(this,"events")||{})[e.type]||[],l=ot.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=ot.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,n=((ot.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(i=[],o=0;s>o;o++)r=t[o],n=r.selector+" ",void 0===i[n]&&(i[n]=r.needsContext?ot(n,this).index(u)>=0:ot.find(n,this,null,[u]).length),i[n]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ot.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Lt.test(i)?this.mouseHooks:Mt.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ot.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||mt),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||mt,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ot.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return ot.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?ot.event.trigger(i,null,t):ot.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=mt.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===St&&(e[r]=null),e.detachEvent(r,n))},ot.Event=function(e,t){return this instanceof ot.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&(e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault())?p:d):this.type=e,t&&ot.extend(this,t),this.timeStamp=e&&e.timeStamp||ot.now(),void(this[ot.expando]=!0)):new ot.Event(e,t)},ot.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=p,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=p,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=p,this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ot.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!ot.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),rt.submitBubbles||(ot.event.special.submit={setup:function(){return ot.nodeName(this,"form")?!1:void ot.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ot.nodeName(t,"input")||ot.nodeName(t,"button")?t.form:void 0;n&&!ot._data(n,"submitBubbles")&&(ot.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),ot._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ot.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return ot.nodeName(this,"form")?!1:void ot.event.remove(this,"._submit")}}),rt.changeBubbles||(ot.event.special.change={setup:function(){return Dt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ot.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ot.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ot.event.simulate("change",this,e,!0)})),!1):void ot.event.add(this,"beforeactivate._change",function(e){var t=e.target;Dt.test(t.nodeName)&&!ot._data(t,"changeBubbles")&&(ot.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ot.event.simulate("change",this.parentNode,e,!0)}),ot._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return ot.event.remove(this,"._change"),!Dt.test(this.nodeName)}}),rt.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ot.event.simulate(t,e.target,ot.event.fix(e),!0)};ot.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ot._data(r,t);i||r.addEventListener(e,n,!0),ot._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ot._data(r,t)-1;i?ot._data(r,t,i):(r.removeEventListener(e,n,!0),ot._removeData(r,t))}}}),ot.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(o in e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=d;else if(!r)return this;return 1===i&&(a=r,r=function(e){return ot().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ot(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=d),this.each(function(){ot.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ot.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ot.event.trigger(e,t,n,!0):void 0}});var Ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Rt=/ jQuery\d+="(?:null|\d+)"/g,It=new RegExp("<(?:"+Ht+")[\\s/>]","i"),_t=/^\s+/,Ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Vt=/<([\w:]+)/,Bt=/<tbody/i,zt=/<|&#?\w+;/,Ut=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,Xt=/^$|\/(?:java|ecma)script/i,Zt=/^true\/(.*)/,Qt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Jt={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:rt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Yt=m(mt),Gt=Yt.appendChild(mt.createElement("div"));Jt.optgroup=Jt.option,Jt.tbody=Jt.tfoot=Jt.colgroup=Jt.caption=Jt.thead,Jt.th=Jt.td,ot.extend({clone:function(e,t,n){var r,i,o,a,s,u=ot.contains(e.ownerDocument,e);if(rt.html5Clone||ot.isXMLDoc(e)||!It.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Gt.innerHTML=e.outerHTML,Gt.removeChild(o=Gt.firstChild)),!(rt.noCloneEvent&&rt.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(r=v(o),s=v(e),a=0;null!=(i=s[a]);++a)r[a]&&C(i,r[a]);if(t)if(n)for(s=s||v(e),r=r||v(o),a=0;null!=(i=s[a]);a++)w(i,r[a]);else w(e,o);return r=v(o,"script"),r.length>0&&x(r,!u&&v(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,l,c,f=e.length,p=m(t),d=[],h=0;f>h;h++)if(o=e[h],o||0===o)if("object"===ot.type(o))ot.merge(d,o.nodeType?[o]:o);else if(zt.test(o)){for(s=s||p.appendChild(t.createElement("div")),u=(Vt.exec(o)||["",""])[1].toLowerCase(),c=Jt[u]||Jt._default,s.innerHTML=c[1]+o.replace(Ft,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!rt.leadingWhitespace&&_t.test(o)&&d.push(t.createTextNode(_t.exec(o)[0])),!rt.tbody)for(o="table"!==u||Bt.test(o)?"<table>"!==c[1]||Bt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;i--;)ot.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(ot.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else d.push(t.createTextNode(o));for(s&&p.removeChild(s),rt.appendChecked||ot.grep(v(d,"input"),g),h=0;o=d[h++];)if((!r||-1===ot.inArray(o,r))&&(a=ot.contains(o.ownerDocument,o),s=v(p.appendChild(o),"script"),a&&x(s),n))for(i=0;o=s[i++];)Xt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ot.expando,u=ot.cache,l=rt.deleteExpando,c=ot.event.special;null!=(n=e[a]);a++)if((t||ot.acceptData(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?ot.event.remove(n,r):ot.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l?delete n[s]:typeof n.removeAttribute!==St?n.removeAttribute(s):n[s]=null,Z.push(i))}}}),ot.fn.extend({text:function(e){return jt(this,function(e){return void 0===e?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||mt).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=y(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?ot.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||ot.cleanData(v(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&x(v(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ot.cleanData(v(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ot.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return ot.clone(this,e,t)})},html:function(e){return jt(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Rt,""):void 0;if(!("string"!=typeof e||Ut.test(e)||!rt.htmlSerialize&&It.test(e)||!rt.leadingWhitespace&&_t.test(e)||Jt[(Vt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Ft,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(ot.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,ot.cleanData(v(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=J.apply([],e);var n,r,i,o,a,s,u=0,l=this.length,c=this,f=l-1,p=e[0],d=ot.isFunction(p);if(d||l>1&&"string"==typeof p&&!rt.checkClone&&Wt.test(p))return this.each(function(n){var r=c.eq(n);d&&(e[0]=p.call(this,n,r.html())),r.domManip(e,t)});if(l&&(s=ot.buildFragment(e,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(o=ot.map(v(s,"script"),$),i=o.length;l>u;u++)r=s,u!==f&&(r=ot.clone(r,!0,!0),i&&ot.merge(o,v(r,"script"))),t.call(this[u],r,u);if(i)for(a=o[o.length-1].ownerDocument,ot.map(o,b),u=0;i>u;u++)r=o[u],Xt.test(r.type||"")&&!ot._data(r,"globalEval")&&ot.contains(a,r)&&(r.src?ot._evalUrl&&ot._evalUrl(r.src):ot.globalEval((r.text||r.textContent||r.innerHTML||"").replace(Qt,"")));s=n=null}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ot.fn[e]=function(e){for(var n,r=0,i=[],o=ot(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),ot(o[r])[t](n),Y.apply(i,n.get());return this.pushStack(i)}});var Kt,en={};!function(){var e,t,n=mt.createElement("div"),r="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],e.style.cssText="float:left;opacity:.5",rt.opacity=/^0.5/.test(e.style.opacity),rt.cssFloat=!!e.style.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===n.style.backgroundClip,e=n=null,rt.shrinkWrapBlocks=function(){var e,n,i,o;if(null==t){if(e=mt.getElementsByTagName("body")[0],!e)return;o="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",n=mt.createElement("div"),i=mt.createElement("div"),e.appendChild(n).appendChild(i),t=!1,typeof i.style.zoom!==St&&(i.style.cssText=r+";width:1px;padding:1px;zoom:1",i.innerHTML="<div></div>",i.firstChild.style.width="5px",t=3!==i.offsetWidth),e.removeChild(n),e=n=i=null}return t}}();var tn,nn,rn=/^margin/,on=new RegExp("^("+kt+")(?!px)[a-z%]+$","i"),an=/^(top|right|bottom|left)$/;e.getComputedStyle?(tn=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)},nn=function(e,t,n){var r,i,o,a,s=e.style;return n=n||tn(e),a=n?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||ot.contains(e.ownerDocument,e)||(a=ot.style(e,t)),on.test(a)&&rn.test(t)&&(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)),void 0===a?a:a+""}):mt.documentElement.currentStyle&&(tn=function(e){return e.currentStyle},nn=function(e,t,n){var r,i,o,a,s=e.style;return n=n||tn(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),on.test(a)&&!an.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){function t(){var t,n,r=mt.getElementsByTagName("body")[0];r&&(t=mt.createElement("div"),n=mt.createElement("div"),t.style.cssText=l,r.appendChild(t).appendChild(n),n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",ot.swap(r,null!=r.style.zoom?{zoom:1}:{},function(){i=4===n.offsetWidth}),o=!0,a=!1,s=!0,e.getComputedStyle&&(a="1%"!==(e.getComputedStyle(n,null)||{}).top,o="4px"===(e.getComputedStyle(n,null)||{width:"4px"}).width),r.removeChild(t),n=r=null)}var n,r,i,o,a,s,u=mt.createElement("div"),l="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",c="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";u.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=u.getElementsByTagName("a")[0],n.style.cssText="float:left;opacity:.5",rt.opacity=/^0.5/.test(n.style.opacity),rt.cssFloat=!!n.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",rt.clearCloneStyle="content-box"===u.style.backgroundClip,n=u=null,ot.extend(rt,{reliableHiddenOffsets:function(){if(null!=r)return r;
|
||
var e,t,n,i=mt.createElement("div"),o=mt.getElementsByTagName("body")[0];if(o)return i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=mt.createElement("div"),e.style.cssText=l,o.appendChild(e).appendChild(i),i.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=i.getElementsByTagName("td"),t[0].style.cssText="padding:0;margin:0;border:0;display:none",n=0===t[0].offsetHeight,t[0].style.display="",t[1].style.display="none",r=n&&0===t[0].offsetHeight,o.removeChild(e),i=o=null,r},boxSizing:function(){return null==i&&t(),i},boxSizingReliable:function(){return null==o&&t(),o},pixelPosition:function(){return null==a&&t(),a},reliableMarginRight:function(){var t,n,r,i;if(null==s&&e.getComputedStyle){if(t=mt.getElementsByTagName("body")[0],!t)return;n=mt.createElement("div"),r=mt.createElement("div"),n.style.cssText=l,t.appendChild(n).appendChild(r),i=r.appendChild(mt.createElement("div")),i.style.cssText=r.style.cssText=c,i.style.marginRight=i.style.width="0",r.style.width="1px",s=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight),t.removeChild(n)}return s}})}(),ot.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};var sn=/alpha\([^)]*\)/i,un=/opacity\s*=\s*([^)]*)/,ln=/^(none|table(?!-c[ea]).+)/,cn=new RegExp("^("+kt+")(.*)$","i"),fn=new RegExp("^([+-])=("+kt+")","i"),pn={position:"absolute",visibility:"hidden",display:"block"},dn={letterSpacing:0,fontWeight:400},hn=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nn(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":rt.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ot.camelCase(t),u=e.style;if(t=ot.cssProps[s]||(ot.cssProps[s]=k(u,s)),a=ot.cssHooks[t]||ot.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=fn.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(ot.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||ot.cssNumber[s]||(n+="px"),rt.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]="",u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=ot.camelCase(t);return t=ot.cssProps[s]||(ot.cssProps[s]=k(e.style,s)),a=ot.cssHooks[t]||ot.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=nn(e,t,r)),"normal"===o&&t in dn&&(o=dn[t]),""===n||n?(i=parseFloat(o),n===!0||ot.isNumeric(i)?i||0:o):o}}),ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&ln.test(ot.css(e,"display"))?ot.swap(e,pn,function(){return O(e,t,r)}):O(e,t,r):void 0},set:function(e,n,r){var i=r&&tn(e);return N(e,n,r?j(e,t,r,rt.boxSizing()&&"border-box"===ot.css(e,"boxSizing",!1,i),i):0)}}}),rt.opacity||(ot.cssHooks.opacity={get:function(e,t){return un.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=ot.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ot.trim(o.replace(sn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=sn.test(o)?o.replace(sn,i):o+" "+i)}}),ot.cssHooks.marginRight=E(rt.reliableMarginRight,function(e,t){return t?ot.swap(e,{display:"inline-block"},nn,[e,"marginRight"]):void 0}),ot.each({margin:"",padding:"",border:"Width"},function(e,t){ot.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+At[r]+t]=o[r]||o[r-2]||o[0];return i}},rn.test(e)||(ot.cssHooks[e+t].set=N)}),ot.fn.extend({css:function(e,t){return jt(this,function(e,t,n){var r,i,o={},a=0;if(ot.isArray(t)){for(r=tn(e),i=t.length;i>a;a++)o[t[a]]=ot.css(e,t[a],!1,r);return o}return void 0!==n?ot.style(e,t,n):ot.css(e,t)},e,t,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Nt(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=D,D.prototype={constructor:D,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ot.cssNumber[n]?"":"px")},cur:function(){var e=D.propHooks[this.prop];return e&&e.get?e.get(this):D.propHooks._default.get(this)},run:function(e){var t,n=D.propHooks[this.prop];return this.pos=t=this.options.duration?ot.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ot.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ot.fx.step[e.prop]?ot.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ot.cssProps[e.prop]]||ot.cssHooks[e.prop])?ot.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ot.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ot.fx=D.prototype.init,ot.fx.step={};var mn,vn,gn=/^(?:toggle|show|hide)$/,yn=new RegExp("^(?:([+-])=|)("+kt+")([a-z%]*)$","i"),$n=/queueHooks$/,bn=[q],xn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=yn.exec(t),o=i&&i[3]||(ot.cssNumber[e]?"":"px"),a=(ot.cssNumber[e]||"px"!==o&&+r)&&yn.exec(ot.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,ot.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};ot.Animation=ot.extend(R,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],xn[n]=xn[n]||[],xn[n].unshift(t)},prefilter:function(e,t){t?bn.unshift(e):bn.push(e)}}),ot.speed=function(e,t,n){var r=e&&"object"==typeof e?ot.extend({},e):{complete:n||!n&&t||ot.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ot.isFunction(t)&&t};return r.duration=ot.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ot.fx.speeds?ot.fx.speeds[r.duration]:ot.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){ot.isFunction(r.old)&&r.old.call(this),r.queue&&ot.dequeue(this,r.queue)},r},ot.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Nt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ot.isEmptyObject(e),o=ot.speed(t,n,r),a=function(){var t=R(this,ot.extend({},e),o);(i||ot._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=ot.timers,a=ot._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&$n.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&ot.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ot._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ot.timers,a=r?r.length:0;for(n.finish=!0,ot.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(e,t){var n=ot.fn[t];ot.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(L(t,!0),e,r,i)}}),ot.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ot.timers=[],ot.fx.tick=function(){var e,t=ot.timers,n=0;for(mn=ot.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||ot.fx.stop(),mn=void 0},ot.fx.timer=function(e){ot.timers.push(e),e()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){vn||(vn=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(vn),vn=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,t){return e=ot.fx?ot.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e,t,n,r,i=mt.createElement("div");i.setAttribute("className","t"),i.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=i.getElementsByTagName("a")[0],n=mt.createElement("select"),r=n.appendChild(mt.createElement("option")),t=i.getElementsByTagName("input")[0],e.style.cssText="top:1px",rt.getSetAttribute="t"!==i.className,rt.style=/top/.test(e.getAttribute("style")),rt.hrefNormalized="/a"===e.getAttribute("href"),rt.checkOn=!!t.value,rt.optSelected=r.selected,rt.enctype=!!mt.createElement("form").enctype,n.disabled=!0,rt.optDisabled=!r.disabled,t=mt.createElement("input"),t.setAttribute("value",""),rt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),rt.radioValue="t"===t.value,e=t=n=r=i=null}();var wn=/\r/g;ot.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ot.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ot(this).val()):e,null==i?i="":"number"==typeof i?i+="":ot.isArray(i)&&(i=ot.map(i,function(e){return null==e?"":e+""})),t=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=ot.valHooks[i.type]||ot.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(wn,""):null==n?"":n)}}}),ot.extend({valHooks:{option:{get:function(e){var t=ot.find.attr(e,"value");return null!=t?t:ot.text(e)}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(rt.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ot.nodeName(n.parentNode,"optgroup"))){if(t=ot(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=ot.makeArray(t),a=i.length;a--;)if(r=i[a],ot.inArray(ot.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(e,t){return ot.isArray(t)?e.checked=ot.inArray(ot(e).val(),t)>=0:void 0}},rt.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Cn,Sn,Tn=ot.expr.attrHandle,En=/^(?:checked|selected)$/i,kn=rt.getSetAttribute,An=rt.input;ot.fn.extend({attr:function(e,t){return jt(this,ot.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ot.removeAttr(this,e)})}}),ot.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===St?ot.prop(e,t,n):(1===o&&ot.isXMLDoc(e)||(t=t.toLowerCase(),r=ot.attrHooks[t]||(ot.expr.match.bool.test(t)?Sn:Cn)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=ot.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void ot.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(bt);if(o&&1===e.nodeType)for(;n=o[i++];)r=ot.propFix[n]||n,ot.expr.match.bool.test(n)?An&&kn||!En.test(n)?e[r]=!1:e[ot.camelCase("default-"+n)]=e[r]=!1:ot.attr(e,n,""),e.removeAttribute(kn?n:r)},attrHooks:{type:{set:function(e,t){if(!rt.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Sn={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):An&&kn||!En.test(n)?e.setAttribute(!kn&&ot.propFix[n]||n,n):e[ot.camelCase("default-"+n)]=e[n]=!0,n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tn[t]||ot.find.attr;Tn[t]=An&&kn||!En.test(t)?function(e,t,r){var i,o;return r||(o=Tn[t],Tn[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Tn[t]=o),i}:function(e,t,n){return n?void 0:e[ot.camelCase("default-"+t)]?t.toLowerCase():null}}),An&&kn||(ot.attrHooks.value={set:function(e,t,n){return ot.nodeName(e,"input")?void(e.defaultValue=t):Cn&&Cn.set(e,t,n)}}),kn||(Cn={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},Tn.id=Tn.name=Tn.coords=function(e,t,n){var r;return n?void 0:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ot.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:Cn.set},ot.attrHooks.contenteditable={set:function(e,t,n){Cn.set(e,""===t?!1:t,n)}},ot.each(["width","height"],function(e,t){ot.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),rt.style||(ot.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Nn=/^(?:input|select|textarea|button|object)$/i,jn=/^(?:a|area)$/i;ot.fn.extend({prop:function(e,t){return jt(this,ot.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ot.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),ot.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!ot.isXMLDoc(e),o&&(t=ot.propFix[t]||t,i=ot.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ot.find.attr(e,"tabindex");return t?parseInt(t,10):Nn.test(e.nodeName)||jn.test(e.nodeName)&&e.href?0:-1}}}}),rt.hrefNormalized||ot.each(["href","src"],function(e,t){ot.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),rt.optSelected||(ot.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),rt.enctype||(ot.propFix.enctype="encoding");var On=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,u=this.length,l="string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(bt)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(On," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=ot.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,u=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(bt)||[];u>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(On," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?ot.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(ot.isFunction(e)?function(n){ot(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,r=0,i=ot(this),o=e.match(bt)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===St||"boolean"===n)&&(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||e===!1?"":ot._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(On," ").indexOf(t)>=0)return!0;return!1}}),ot.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ot.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ot.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Dn=ot.now(),Mn=/\?/,Ln=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=ot.trim(t+"");return i&&!ot.trim(i.replace(Ln,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():ot.error("Invalid JSON: "+t)},ot.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+t),n};var Pn,qn,Hn=/#.*$/,Rn=/([?&])_=[^&]*/,In=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,_n=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fn=/^(?:GET|HEAD)$/,Vn=/^\/\//,Bn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,zn={},Un={},Wn="*/".concat("*");try{qn=location.href}catch(Xn){qn=mt.createElement("a"),qn.href="",qn=qn.href}Pn=Bn.exec(qn.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qn,type:"GET",isLocal:_n.test(Pn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?F(F(e,ot.ajaxSettings),t):F(ot.ajaxSettings,e)},ajaxPrefilter:I(zn),ajaxTransport:I(Un),ajax:function(e,t){function n(e,t,n,r){var i,c,g,y,b,w=t;2!==$&&($=2,s&&clearTimeout(s),l=void 0,a=r||"",x.readyState=e>0?4:0,i=e>=200&&300>e||304===e,n&&(y=V(f,x,n)),y=B(f,y,x,i),i?(f.ifModified&&(b=x.getResponseHeader("Last-Modified"),b&&(ot.lastModified[o]=b),b=x.getResponseHeader("etag"),b&&(ot.etag[o]=b)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=y.state,c=y.data,g=y.error,i=!g)):(g=w,(e||!w)&&(w="error",0>e&&(e=0))),x.status=e,x.statusText=(t||w)+"",i?h.resolveWith(p,[c,w,x]):h.rejectWith(p,[x,w,g]),x.statusCode(v),v=void 0,u&&d.trigger(i?"ajaxSuccess":"ajaxError",[x,f,i?c:g]),m.fireWith(p,[x,w]),u&&(d.trigger("ajaxComplete",[x,f]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,f=ot.ajaxSetup({},t),p=f.context||f,d=f.context&&(p.nodeType||p.jquery)?ot(p):ot.event,h=ot.Deferred(),m=ot.Callbacks("once memory"),v=f.statusCode||{},g={},y={},$=0,b="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===$){if(!c)for(c={};t=In.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===$?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return $||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return $||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>$)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||b;return l&&l.abort(t),n(0,t),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,f.url=((e||f.url||qn)+"").replace(Hn,"").replace(Vn,Pn[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=ot.trim(f.dataType||"*").toLowerCase().match(bt)||[""],null==f.crossDomain&&(r=Bn.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===Pn[1]&&r[2]===Pn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Pn[3]||("http:"===Pn[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=ot.param(f.data,f.traditional)),_(zn,f,t,x),2===$)return x;u=f.global,u&&0===ot.active++&&ot.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Fn.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=(Mn.test(o)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Rn.test(o)?o.replace(Rn,"$1_="+Dn++):o+(Mn.test(o)?"&":"?")+"_="+Dn++)),f.ifModified&&(ot.lastModified[o]&&x.setRequestHeader("If-Modified-Since",ot.lastModified[o]),ot.etag[o]&&x.setRequestHeader("If-None-Match",ot.etag[o])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Wn+"; q=0.01":""):f.accepts["*"]);for(i in f.headers)x.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(f.beforeSend.call(p,x,f)===!1||2===$))return x.abort();b="abort";for(i in{success:1,error:1,complete:1})x[i](f[i]);if(l=_(Un,f,t,x)){x.readyState=1,u&&d.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},f.timeout));try{$=1,l.send(g,n)}catch(w){if(!(2>$))throw w;n(-1,w)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return ot.get(e,t,n,"json")},getScript:function(e,t){return ot.get(e,void 0,t,"script")}}),ot.each(["get","post"],function(e,t){ot[t]=function(e,n,r,i){return ot.isFunction(n)&&(i=i||r,r=n,n=void 0),ot.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot._evalUrl=function(e){return ot.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(e){if(ot.isFunction(e))return this.each(function(t){ot(this).wrapAll(e.call(this,t))});if(this[0]){var t=ot(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return this.each(ot.isFunction(e)?function(t){ot(this).wrapInner(e.call(this,t))}:function(){var t=ot(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ot.isFunction(e);return this.each(function(n){ot(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!rt.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||ot.css(e,"display"))},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)};var Zn=/%20/g,Qn=/\[\]$/,Jn=/\r?\n/g,Yn=/^(?:submit|button|image|reset|file)$/i,Gn=/^(?:input|select|textarea|keygen)/i;ot.param=function(e,t){var n,r=[],i=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(e)||e.jquery&&!ot.isPlainObject(e))ot.each(e,function(){i(this.name,this.value)});else for(n in e)z(n,e[n],t,i);return r.join("&").replace(Zn,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ot.prop(this,"elements");return e?ot.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ot(this).is(":disabled")&&Gn.test(this.nodeName)&&!Yn.test(e)&&(this.checked||!Ot.test(e))}).map(function(e,t){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(e){return{name:t.name,value:e.replace(Jn,"\r\n")}}):{name:t.name,value:n.replace(Jn,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&U()||W()}:U;var Kn=0,er={},tr=ot.ajaxSettings.xhr();e.ActiveXObject&&ot(e).on("unload",function(){for(var e in er)er[e](void 0,!0)}),rt.cors=!!tr&&"withCredentials"in tr,tr=rt.ajax=!!tr,tr&&ot.ajaxTransport(function(e){if(!e.crossDomain||rt.cors){var t;return{send:function(n,r){var i,o=e.xhr(),a=++Kn;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)void 0!==n[i]&&o.setRequestHeader(i,n[i]+"");o.send(e.hasContent&&e.data||null),t=function(n,i){var s,u,l;if(t&&(i||4===o.readyState))if(delete er[a],t=void 0,o.onreadystatechange=ot.noop,i)4!==o.readyState&&o.abort();else{l={},s=o.status,"string"==typeof o.responseText&&(l.text=o.responseText);try{u=o.statusText}catch(c){u=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=l.text?200:404}l&&r(s,u,l,o.getAllResponseHeaders())},e.async?4===o.readyState?setTimeout(t):o.onreadystatechange=er[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ot.globalEval(e),e}}}),ot.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ot.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=mt.head||ot("head")[0]||mt.documentElement;return{send:function(r,i){t=mt.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var nr=[],rr=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=nr.pop()||ot.expando+"_"+Dn++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(rr.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=ot.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(rr,"$1"+i):t.jsonp!==!1&&(t.url+=(Mn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||ot.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,nr.push(i)),a&&ot.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),ot.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||mt;var r=pt.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ot.buildFragment([e],t,i),i&&i.length&&ot(i).remove(),ot.merge([],r.childNodes))};var ir=ot.fn.load;ot.fn.load=function(e,t,n){if("string"!=typeof e&&ir)return ir.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=e.slice(s,e.length),e=e.slice(0,s)),ot.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ot.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?ot("<div>").append(ot.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem}).length};var or=e.document.documentElement;ot.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=ot.css(e,"position"),f=ot(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=ot.css(e,"top"),u=ot.css(e,"left"),l=("absolute"===c||"fixed"===c)&&ot.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),ot.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},ot.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ot.contains(t,i)?(typeof i.getBoundingClientRect!==St&&(r=i.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ot.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(n=e.offset()),n.top+=ot.css(e[0],"borderTopWidth",!0),n.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ot.css(r,"marginTop",!0),left:t.left-n.left-ot.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||or;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||or})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ot.fn[e]=function(r){return jt(this,function(e,r,i){var o=X(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?ot(o).scrollLeft():i,n?i:ot(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),ot.each(["top","left"],function(e,t){ot.cssHooks[t]=E(rt.pixelPosition,function(e,n){return n?(n=nn(e,t),on.test(n)?ot(e).position()[t]+"px":n):void 0})}),ot.each({Height:"height",Width:"width"},function(e,t){ot.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ot.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return jt(this,function(t,n,r){var i;return ot.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ot.css(t,n,a):ot.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ar=e.jQuery,sr=e.$;return ot.noConflict=function(t){return e.$===ot&&(e.$=sr),t&&e.jQuery===ot&&(e.jQuery=ar),ot},typeof t===St&&(e.jQuery=e.$=ot),ot}),function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,r=e(document);e.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]",buttonClickSelector:"button[data-remote]",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])",disableSelector:"input[data-disable-with], button[data-disable-with], textarea[data-disable-with]",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with]",CSRFProtection:function(t){var n=e('meta[name="csrf-token"]').attr("content");n&&t.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var t=e("meta[name=csrf-token]").attr("content"),n=e("meta[name=csrf-param]").attr("content");e('form input[name="'+n+'"]').val(t)},fire:function(t,n,r){var i=e.Event(n);return t.trigger(i,r),i.result!==!1},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e.attr("href")},handleRemote:function(r){var i,o,a,s,u,l,c,f;if(n.fire(r,"ajax:before")){if(s=r.data("cross-domain"),u=s===t?null:s,l=r.data("with-credentials")||null,c=r.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,r.is("form")){i=r.attr("method"),o=r.attr("action"),a=r.serializeArray();
|
||
var p=r.data("ujs:submit-button");p&&(a.push(p),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(i=r.data("method"),o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(i=r.data("method")||"get",o=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):(i=r.data("method"),o=n.href(r),a=r.data("params")||null);f={type:i||"GET",data:a,dataType:c,beforeSend:function(e,i){return i.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+i.accepts.script),n.fire(r,"ajax:beforeSend",[e,i])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:u},l&&(f.xhrFields={withCredentials:l}),o&&(f.url=o);var d=n.ajax(f);return r.trigger("ajax:send",d),d}return!1},handleMethod:function(r){var i=n.href(r),o=r.data("method"),a=r.attr("target"),s=e("meta[name=csrf-token]").attr("content"),u=e("meta[name=csrf-param]").attr("content"),l=e('<form method="post" action="'+i+'"></form>'),c='<input name="_method" value="'+o+'" type="hidden" />';u!==t&&s!==t&&(c+='<input name="'+u+'" value="'+s+'" type="hidden" />'),a&&l.attr("target",a),l.hide().append(c).appendTo("body"),l.submit()},disableFormElements:function(t){t.find(n.disableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with",t[n]()),t[n](t.data("disable-with")),t.prop("disabled",!0)})},enableFormElements:function(t){t.find(n.enableSelector).each(function(){var t=e(this),n=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[n](t.data("ujs:enable-with")),t.prop("disabled",!1)})},allowAction:function(e){var t,r=e.data("confirm"),i=!1;return r?(n.fire(e,"confirm")&&(i=n.confirm(r),t=n.fire(e,"confirm:complete",[i])),i&&t):!0},blankInputs:function(t,n,r){var i,o,a=e(),s=n||"input,textarea",u=t.find(s);return u.each(function(){if(i=e(this),o=i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):i.val(),!o==!r){if(i.is("input[type=radio]")&&u.filter('input[type=radio]:checked[name="'+i.attr("name")+'"]').length)return!0;a=a.add(i)}}),a.length?a:!1},nonBlankInputs:function(e,t){return n.blankInputs(e,t,!0)},stopEverything:function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return n.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==t&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,r){e.crossDomain||n.CSRFProtection(r)}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(e(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var i=e(this),o=i.data("method"),a=i.data("params"),s=r.metaKey||r.ctrlKey;if(!n.allowAction(i))return n.stopEverything(r);if(!s&&i.is(n.linkDisableSelector)&&n.disableElement(i),i.data("remote")!==t){if(s&&(!o||"GET"===o)&&!a)return!0;var u=n.handleRemote(i);return u===!1?n.enableElement(i):u.error(function(){n.enableElement(i)}),!1}return i.data("method")?(n.handleMethod(i),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(t){var r=e(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.delegate(n.inputChangeSelector,"change.rails",function(t){var r=e(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var i=e(this),o=i.data("remote")!==t,a=n.blankInputs(i,n.requiredInputSelector),s=n.nonBlankInputs(i,n.fileInputSelector);if(!n.allowAction(i))return n.stopEverything(r);if(a&&i.attr("novalidate")==t&&n.fire(i,"ajax:aborted:required",[a]))return n.stopEverything(r);if(o){if(s){setTimeout(function(){n.disableFormElements(i)},13);var u=n.fire(i,"ajax:aborted:file",[s]);return u||setTimeout(function(){n.enableFormElements(i)},13),u}return n.handleRemote(i),!1}setTimeout(function(){n.disableFormElements(i)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(t){var r=e(this);if(!n.allowAction(r))return n.stopEverything(t);var i=r.attr("name"),o=i?{name:i,value:r.val()}:null;r.closest("form").data("ujs:submit-button",o)}),r.delegate(n.formSubmitSelector,"ajax:beforeSend.rails",function(t){this==t.target&&n.disableFormElements(e(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&n.enableFormElements(e(this))}),e(function(){n.refreshCSRFTokens()}))}(jQuery),function(e,t,n){"use strict";function r(e){return function(){var t,n,r=arguments[0],i="["+(e?e+":":"")+r+"] ",o=arguments[1],a=arguments,s=function(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e};for(t=i+o.replace(/\{\d+\}/g,function(e){var t,n=+e.slice(1,-1);return n+2<a.length?(t=a[n+2],"function"==typeof t?t.toString().replace(/ ?\{[\s\S]*$/,""):"undefined"==typeof t?"undefined":"string"!=typeof t?B(t):t):e}),t=t+"\nhttp://errors.angularjs.org/1.2.16/"+(e?e+"/":"")+r,n=2;n<arguments.length;n++)t=t+(2==n?"?":"&")+"p"+(n-2)+"="+encodeURIComponent(s(arguments[n]));return new Error(t)}}function i(e){if(null==e||E(e))return!1;var t=e.length;return 1===e.nodeType&&t?!0:b(e)||C(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){var r;if(e)if(S(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r);else if(e.forEach&&e.forEach!==o)e.forEach(t,n);else if(i(e))for(r=0;r<e.length;r++)t.call(n,e[r],r);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r);return e}function a(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort()}function s(e,t,n){for(var r=a(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function u(e){return function(t,n){e(n,t)}}function l(){for(var e,t=Ar.length;t;){if(t--,e=Ar[t].charCodeAt(0),57==e)return Ar[t]="A",Ar.join("");if(90!=e)return Ar[t]=String.fromCharCode(e+1),Ar.join("");Ar[t]="0"}return Ar.unshift("0"),Ar.join("")}function c(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function f(e){var t=e.$$hashKey;return o(arguments,function(t){t!==e&&o(t,function(t,n){e[n]=t})}),c(e,t),e}function p(e){return parseInt(e,10)}function d(e,t){return f(new(f(function(){},{prototype:e})),t)}function h(){}function m(e){return e}function v(e){return function(){return e}}function g(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function $(e){return null!=e&&"object"==typeof e}function b(e){return"string"==typeof e}function x(e){return"number"==typeof e}function w(e){return"[object Date]"===Tr.call(e)}function C(e){return"[object Array]"===Tr.call(e)}function S(e){return"function"==typeof e}function T(e){return"[object RegExp]"===Tr.call(e)}function E(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function k(e){return e&&e.$evalAsync&&e.$watch}function A(e){return"[object File]"===Tr.call(e)}function N(e){return"[object Blob]"===Tr.call(e)}function j(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function O(e,t,n){var r=[];return o(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r}function D(e,t){return-1!=M(e,t)}function M(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function L(e,t){var n=M(e,t);return n>=0&&e.splice(n,1),t}function P(e,t){if(E(e)||k(e))throw Er("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(t){if(e===t)throw Er("cpi","Can't copy! Source and destination are identical.");if(C(e)){t.length=0;for(var n=0;n<e.length;n++)t.push(P(e[n]))}else{var r=t.$$hashKey;o(t,function(e,n){delete t[n]});for(var i in e)t[i]=P(e[i]);c(t,r)}}else t=e,e&&(C(e)?t=P(e,[]):w(e)?t=new Date(e.getTime()):T(e)?t=new RegExp(e.source):$(e)&&(t=P(e,{})));return t}function q(e,t){t=t||{};for(var n in e)!e.hasOwnProperty(n)||"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t}function H(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i,o,a=typeof e,s=typeof t;if(a==s&&"object"==a){if(!C(e)){if(w(e))return w(t)&&e.getTime()==t.getTime();if(T(e)&&T(t))return e.toString()==t.toString();if(k(e)||k(t)||E(e)||E(t)||C(t))return!1;o={};for(i in e)if("$"!==i.charAt(0)&&!S(e[i])){if(!H(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!o.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t[i]!==n&&!S(t[i]))return!1;return!0}if(!C(t))return!1;if((r=e.length)==t.length){for(i=0;r>i;i++)if(!H(e[i],t[i]))return!1;return!0}}return!1}function R(){return t.securityPolicy&&t.securityPolicy.isActive||t.querySelector&&!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"))}function I(e,t,n){return e.concat(Cr.call(t,n))}function _(e,t){return Cr.call(e,t||0)}function F(e,t){var n=arguments.length>2?_(arguments,2):[];return!S(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,n.concat(Cr.call(arguments,0))):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function V(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)?i=n:E(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":k(r)&&(i="$SCOPE"),i}function B(e,t){return"undefined"==typeof e?n:JSON.stringify(e,V,t?" ":null)}function z(e){return b(e)?JSON.parse(e):e}function U(e){if("function"==typeof e)e=!0;else if(e&&0!==e.length){var t=dr(""+e);e=!("f"==t||"0"==t||"false"==t||"no"==t||"n"==t||"[]"==t)}else e=!1;return e}function W(e){e=$r(e).clone();try{e.empty()}catch(t){}var n=3,r=$r("<div>").append(e).html();try{return e[0].nodeType===n?dr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+dr(t)})}catch(t){return dr(r)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function Z(e){var t,n,r={};return o((e||"").split("&"),function(e){if(e&&(t=e.split("="),n=X(t[0]),y(n))){var i=y(t[1])?X(t[1]):!0;r[n]?C(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function Q(e){var t=[];return o(e,function(e,n){C(e)?o(e,function(e){t.push(Y(n,!0)+(e===!0?"":"="+Y(e,!0)))}):t.push(Y(n,!0)+(e===!0?"":"="+Y(e,!0)))}),t.length?t.join("&"):""}function J(e){return Y(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Y(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function G(e,n){function r(e){e&&s.push(e)}var i,a,s=[e],u=["ng:app","ng-app","x-ng-app","data-ng-app"],l=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(t.getElementById(n)),n=n.replace(":","\\:"),e.querySelectorAll&&(o(e.querySelectorAll("."+n),r),o(e.querySelectorAll("."+n+"\\:"),r),o(e.querySelectorAll("["+n+"]"),r))}),o(s,function(e){if(!i){var t=" "+e.className+" ",n=l.exec(t);n?(i=e,a=(n[2]||"").replace(/\s+/g,",")):o(e.attributes,function(t){!i&&u[t.name]&&(i=e,a=t.value)})}}),i&&n(i,a?[a]:[])}function K(n,r){var i=function(){if(n=$r(n),n.injector()){var e=n[0]===t?"document":W(n);throw Er("btstrpd","App Already Bootstrapped with this Element '{0}'",e)}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.unshift("ng");var i=Lt(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),i},a=/^NG_DEFER_BOOTSTRAP!/;return e&&!a.test(e.name)?i():(e.name=e.name.replace(a,""),void(kr.resumeBootstrap=function(e){o(e,function(e){r.push(e)}),i()}))}function et(e,t){return t=t||"_",e.replace(jr,function(e,n){return(n?t:"")+e.toLowerCase()})}function tt(){br=e.jQuery,br?($r=br,f(br.fn,{scope:Ur.scope,isolateScope:Ur.isolateScope,controller:Ur.controller,injector:Ur.injector,inheritedData:Ur.inheritedData}),ft("remove",!0,!0,!1),ft("empty",!1,!1,!1),ft("html",!1,!1,!0)):$r=mt,kr.element=$r}function nt(e,t,n){if(!e)throw Er("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function rt(e,t,n){return n&&C(e)&&(e=e[e.length-1]),nt(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function it(e,t){if("hasOwnProperty"===e)throw Er("badname","hasOwnProperty is not a valid {0} name",t)}function ot(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&S(e)?F(o,e):e}function at(e){var t=e[0],n=e[e.length-1];if(t===n)return $r(t);var r=t,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return $r(i)}function st(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,n,r){return function(){return t[r||"push"]([e,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var t=[],i=[],s=e("$injector","invoke"),u={_invokeQueue:t,_runBlocks:i,requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:s,run:function(e){return i.push(e),this}};return a&&s(a),u})}})}function ut(t){f(t,{bootstrap:K,copy:P,extend:f,equals:H,element:$r,forEach:o,injector:Lt,noop:h,bind:F,toJson:B,fromJson:z,identity:m,isUndefined:g,isDefined:y,isString:b,isFunction:S,isObject:$,isNumber:x,isElement:j,isArray:C,version:Or,isDate:w,lowercase:dr,uppercase:mr,callbacks:{counter:0},$$minErr:r,$$csp:R}),xr=st(e);try{xr("ngLocale")}catch(n){xr("ngLocale",[]).provider("$locale",rn)}xr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:On}),e.provider("$compile",Ft).directive({a:Ti,input:Pi,textarea:Pi,form:Ni,script:go,select:bo,style:wo,option:xo,ngBind:Xi,ngBindHtml:Qi,ngBindTemplate:Zi,ngClass:Ji,ngClassEven:Gi,ngClassOdd:Yi,ngCloak:Ki,ngController:eo,ngForm:ji,ngHide:co,ngIf:no,ngInclude:ro,ngInit:oo,ngNonBindable:ao,ngPluralize:so,ngRepeat:uo,ngShow:lo,ngStyle:fo,ngSwitch:po,ngSwitchWhen:ho,ngSwitchDefault:mo,ngOptions:$o,ngTransclude:vo,ngModel:Fi,ngList:zi,ngChange:Vi,required:Bi,ngRequired:Bi,ngValue:Wi}).directive({ngInclude:io}).directive(Ei).directive(to),e.provider({$anchorScroll:Pt,$animate:ei,$browser:Rt,$cacheFactory:It,$controller:zt,$document:Ut,$exceptionHandler:Wt,$filter:Vn,$interpolate:tn,$interval:nn,$http:Yt,$httpBackend:Kt,$location:gn,$log:yn,$parse:En,$rootScope:jn,$q:kn,$sce:qn,$sceDelegate:Pn,$sniffer:Hn,$templateCache:_t,$timeout:Rn,$window:Fn,$$rAF:Nn,$$asyncCallback:qt})}])}function lt(){return++Lr}function ct(e){return e.replace(Hr,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Rr,"Moz$1")}function ft(e,t,n,r){function i(e){var i,a,s,u,l,c,f,p=n&&e?[this.filter(e)]:[this],d=t;if(!r||null!=e)for(;p.length;)for(i=p.shift(),a=0,s=i.length;s>a;a++)for(u=$r(i[a]),d?u.triggerHandler("$destroy"):d=!d,l=0,c=(f=u.children()).length;c>l;l++)p.push(br(f[l]));return o.apply(this,arguments)}var o=br.fn[e];o=o.$original||o,i.$original=o,br.fn[e]=i}function pt(e){return!Fr.test(e)}function dt(e,t){var n,r,i,o,a,s,u=t.createDocumentFragment(),l=[];if(pt(e))l.push(t.createTextNode(e));else{for(n=u.appendChild(t.createElement("div")),r=(Vr.exec(e)||["",""])[1].toLowerCase(),i=zr[r]||zr._default,n.innerHTML="<div> </div>"+i[1]+e.replace(Br,"<$1></$2>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;s>a;++a)l.push(n.childNodes[a]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",l}function ht(e,n){n=n||t;var r;return(r=_r.exec(e))?[n.createElement(r[1])]:dt(e,n)}function mt(e){if(e instanceof mt)return e;if(b(e)&&(e=Nr(e)),!(this instanceof mt)){if(b(e)&&"<"!=e.charAt(0))throw Ir("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new mt(e)}if(b(e)){Tt(this,ht(e));var n=$r(t.createDocumentFragment());n.append(this)}else Tt(this,e)}function vt(e){return e.cloneNode(!0)}function gt(e){$t(e);for(var t=0,n=e.childNodes||[];t<n.length;t++)gt(n[t])}function yt(e,t,n,r){if(y(r))throw Ir("offargs","jqLite#off() does not support the `selector` argument");var i=bt(e,"events"),a=bt(e,"handle");a&&(g(t)?o(i,function(t,n){qr(e,n,t),delete i[n]}):o(t.split(" "),function(t){g(n)?(qr(e,t,i[t]),delete i[t]):L(i[t]||[],n)}))}function $t(e,t){var r=e[Mr],i=Dr[r];if(i){if(t)return void delete Dr[r].data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),yt(e)),delete Dr[r],e[Mr]=n}}function bt(e,t,n){var r=e[Mr],i=Dr[r||-1];return y(n)?(i||(e[Mr]=r=lt(),i=Dr[r]={}),void(i[t]=n)):i&&i[t]}function xt(e,t,n){var r=bt(e,"data"),i=y(n),o=!i&&y(t),a=o&&!$(t);if(r||a||bt(e,"data",r={}),i)r[t]=n;else{if(!o)return r;if(a)return r&&r[t];f(r,t)}}function wt(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Ct(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Nr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Nr(t)+" "," ")))})}function St(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Nr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Nr(n))}}function Tt(e,t){if(t){t=t.nodeName||!y(t.length)||E(t)?[t]:t;for(var n=0;n<t.length;n++)e.push(t[n])}}function Et(e,t){return kt(e,"$"+(t||"ngController")+"Controller")}function kt(e,t,r){e=$r(e),9==e[0].nodeType&&(e=e.find("html"));for(var i=C(t)?t:[t];e.length;){for(var o=e[0],a=0,s=i.length;s>a;a++)if((r=e.data(i[a]))!==n)return r;e=$r(o.parentNode||11===o.nodeType&&o.host)}}function At(e){for(var t=0,n=e.childNodes;t<n.length;t++)gt(n[t]);for(;e.firstChild;)e.removeChild(e.firstChild)}function Nt(e,t){var n=Wr[t.toLowerCase()];return n&&Xr[e.nodeName]&&n}function jt(e,n){var r=function(r,i){if(r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),r.target||(r.target=r.srcElement||t),g(r.defaultPrevented)){var a=r.preventDefault;r.preventDefault=function(){r.defaultPrevented=!0,a.call(r)},r.defaultPrevented=!1}r.isDefaultPrevented=function(){return r.defaultPrevented||r.returnValue===!1};var s=q(n[i||r.type]||[]);o(s,function(t){t.call(e,r)}),8>=yr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=e,r}function Ot(e){var t,r=typeof e;return"object"==r&&null!==e?"function"==typeof(t=e.$$hashKey)?t=e.$$hashKey():t===n&&(t=e.$$hashKey=l()):t=e,r+":"+t}function Dt(e){o(e,this.put,this)}function Mt(e){var t,n,r,i;return"function"==typeof e?(t=e.$inject)||(t=[],e.length&&(n=e.toString().replace(Yr,""),r=n.match(Zr),o(r[1].split(Qr),function(e){e.replace(Jr,function(e,n,r){t.push(r)})})),e.$inject=t):C(e)?(i=e.length-1,rt(e[i],"fn"),t=e.slice(0,i)):rt(e,"fn",!0),t}function Lt(e){function t(e){return function(t,n){return $(t)?void o(t,u(e)):e(t,n)}}function n(e,t){if(it(e,"service"),(S(t)||C(t))&&(t=x.instantiate(t)),!t.$get)throw Gr("pget","Provider '{0}' must define $get factory method.",e);return y[e+d]=t}function r(e,t){return n(e,{$get:t})}function i(e,t){return r(e,["$injector",function(e){return e.instantiate(t)}])}function a(e,t){return r(e,v(t))}function s(e,t){it(e,"constant"),y[e]=t,w[e]=t}function l(e,t){var n=x.get(e+d),r=n.$get;n.$get=function(){var e=T.invoke(r,n);return T.invoke(t,null,{$delegate:e})}}function c(e){var t,n,r,i,a=[];return o(e,function(e){if(!g.get(e)){g.put(e,!0);try{if(b(e))for(t=xr(e),a=a.concat(c(t.requires)).concat(t._runBlocks),n=t._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],s=x.get(o[0]);s[o[1]].apply(s,o[2])}else S(e)?a.push(x.invoke(e)):C(e)?a.push(x.invoke(e)):rt(e,"module")}catch(u){throw C(e)&&(e=e[e.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Gr("modulerr","Failed to instantiate module {0} due to:\n{1}",e,u.stack||u.message||u)}}}),a}function f(e,t){function n(n){if(e.hasOwnProperty(n)){if(e[n]===p)throw Gr("cdep","Circular dependency found: {0}",m.join(" <- "));return e[n]}try{return m.unshift(n),e[n]=p,e[n]=t(n)}catch(r){throw e[n]===p&&delete e[n],r}finally{m.shift()}}function r(e,t,r){var i,o,a,s=[],u=Mt(e);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw Gr("itkn","Incorrect injection token! Expected service name as string, got {0}",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return e.$inject||(e=e[i]),e.apply(t,s)}function i(e,t){var n,i,o=function(){};return o.prototype=(C(e)?e[e.length-1]:e).prototype,n=new o,i=r(e,n,t),$(i)||S(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Mt,has:function(t){return y.hasOwnProperty(t+d)||e.hasOwnProperty(t)}}}var p={},d="Provider",m=[],g=new Dt,y={$provide:{provider:t(n),factory:t(r),service:t(i),value:t(a),constant:t(s),decorator:l}},x=y.$injector=f(y,function(){throw Gr("unpr","Unknown provider: {0}",m.join(" <- "))}),w={},T=w.$injector=f(w,function(e){var t=x.get(e+d);return T.invoke(t.$get,t)});return o(c(e),function(e){T.invoke(e||h)}),T}function Pt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return o(e,function(e){t||"a"!==dr(e.nodeName)||(t=e)}),t}function a(){var e,r=n.hash();r?(e=s.getElementById(r))?e.scrollIntoView():(e=i(s.getElementsByName(r)))?e.scrollIntoView():"top"===r&&t.scrollTo(0,0):t.scrollTo(0,0)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function qt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Ht(e,t,r,i){function a(e){try{e.apply(null,_(arguments,1))}finally{if(y--,0===y)for(;$.length;)try{$.pop()()}catch(t){r.error(t)}}}function s(e,t){!function n(){o(w,function(e){e()}),x=t(n,e)}()}function u(){T=null,C!=l.url()&&(C=l.url(),o(E,function(e){e(l.url())}))}var l=this,c=t[0],f=e.location,p=e.history,d=e.setTimeout,m=e.clearTimeout,v={};l.isMock=!1;var y=0,$=[];l.$$completeOutstandingRequest=a,l.$$incOutstandingRequestCount=function(){y++},l.notifyWhenNoOutstandingRequests=function(e){o(w,function(e){e()}),0===y?e():$.push(e)};var x,w=[];l.addPollFn=function(e){return g(x)&&s(100,d),w.push(e),e};var C=f.href,S=t.find("base"),T=null;l.url=function(t,n){if(f!==e.location&&(f=e.location),p!==e.history&&(p=e.history),t){if(C==t)return;return C=t,i.history?n?p.replaceState(null,"",t):(p.pushState(null,"",t),S.attr("href",S.attr("href"))):(T=t,n?f.replace(t):f.href=t),l}return T||f.href.replace(/%27/g,"'")};var E=[],k=!1;l.onUrlChange=function(t){return k||(i.history&&$r(e).on("popstate",u),i.hashchange?$r(e).on("hashchange",u):l.addPollFn(u),k=!0),E.push(t),t},l.baseHref=function(){var e=S.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var A={},N="",j=l.baseHref();l.cookies=function(e,t){var i,o,a,s,u;if(!e){if(c.cookie!==N)for(N=c.cookie,o=N.split("; "),A={},s=0;s<o.length;s++)a=o[s],u=a.indexOf("="),u>0&&(e=unescape(a.substring(0,u)),A[e]===n&&(A[e]=unescape(a.substring(u+1))));return A}t===n?c.cookie=escape(e)+"=;path="+j+";expires=Thu, 01 Jan 1970 00:00:00 GMT":b(t)&&(i=(c.cookie=escape(e)+"="+escape(t)+";path="+j).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},l.defer=function(e,t){var n;return y++,n=d(function(){delete v[n],a(e)},t||0),v[n]=!0,n},l.defer.cancel=function(e){return v[e]?(delete v[e],m(e),a(h),!0):!1}}function Rt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Ht(e,r,t,n)}]}function It(){this.$get=function(){function e(e,n){function i(e){e!=p&&(d?d==e&&(d=e.n):d=e,o(e.n,e.p),o(e,p),p=e,p.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=f({},n,{id:e}),u={},l=n&&n.capacity||Number.MAX_VALUE,c={},p=null,d=null;return t[e]={put:function(e,t){if(l<Number.MAX_VALUE){var n=c[e]||(c[e]={key:e});i(n)}if(!g(t))return e in u||a++,u[e]=t,a>l&&this.remove(d.key),t},get:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;t==p&&(p=t.p),t==d&&(d=t.n),o(t.n,t.p),delete c[e]}delete u[e],a--},removeAll:function(){u={},a=0,c={},p=d=null},destroy:function(){u=null,s=null,c=null,delete t[e]},info:function(){return f({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function _t(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Ft(e,r){var i={},a="Directive",s=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,l=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,c=/^(on[a-z]+|formaction)$/;this.directive=function p(t,n){return it(t,"directive"),b(t)?(nt(n,"directiveFactory"),i.hasOwnProperty(t)||(i[t]=[],e.factory(t+a,["$injector","$exceptionHandler",function(e,n){var r=[];return o(i[t],function(i,o){try{var a=e.invoke(i);S(a)?a={compile:v(a)}:!a.compile&&a.link&&(a.compile=v(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||t,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"A",r.push(a)}catch(s){n(s)}}),r}])),i[t].push(n)):o(t,u(p)),this},this.aHrefSanitizationWhitelist=function(e){return y(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,u,p,h,g,y,x,w,T,E,k){function A(e,t,n,r,i){e instanceof $r||(e=$r(e)),o(e,function(t,n){3==t.nodeType&&t.nodeValue.match(/\S+/)&&(e[n]=t=$r(t).wrap("<span></span>").parent()[0])});var a=j(e,t,e,n,r,i);return N(e,"ng-scope"),function(t,n,r){nt(t,"scope");var i=n?Ur.clone.call(e):e;o(r,function(e,t){i.data("$"+t+"Controller",e)});for(var s=0,u=i.length;u>s;s++){var l=i[s],c=l.nodeType;(1===c||9===c)&&i.eq(s).data("$scope",t)}return n&&n(i,t),a&&a(t,i,i),i}}function N(e,t){try{e.addClass(t)}catch(n){}}function j(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,l,c,f,p,d,m,v=r.length,g=new Array(v);for(p=0;v>p;p++)g[p]=r[p];for(p=0,m=0,d=h.length;d>p;m++)u=g[m],a=h[p++],s=h[p++],l=$r(u),a?(a.scope?(c=e.$new(),l.data("$scope",c)):c=e,f=a.transclude,f||!o&&t?a(s,c,u,i,O(e,f||t)):a(s,c,u,i,o)):s&&s(e,u.childNodes,n,o)}for(var u,l,c,f,p,d,h=[],m=0;m<e.length;m++)u=new G,l=D(e[m],[],u,0===m?i:n,o),c=l.length?P(l,e[m],u,t,r,null,[],[],a):null,c&&c.scope&&N($r(e[m]),"ng-scope"),p=c&&c.terminal||!(f=e[m].childNodes)||!f.length?null:j(f,c?c.transclude:t),h.push(c,p),d=d||c||p,a=null;return d?s:null}function O(e,t){return function(n,r,i){var o=!1;n||(n=e.$new(),n.$$transcluded=!0,o=!0);var a=t(n,r,i);return o&&a.on("$destroy",F(n,n.$destroy)),a}}function D(e,t,n,r,i){var o,a,u=e.nodeType,c=n.$attr;switch(u){case 1:I(t,Vt(wr(e).toLowerCase()),"E",r,i);for(var f,p,d,h,m,v=e.attributes,g=0,y=v&&v.length;y>g;g++){var $=!1,x=!1;if(f=v[g],!yr||yr>=8||f.specified){p=f.name,h=Vt(p),it.test(h)&&(p=et(h.substr(6),"-"));var w=h.replace(/(Start|End)$/,"");h===w+"Start"&&($=p,x=p.substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),d=Vt(p.toLowerCase()),c[d]=p,n[d]=m=Nr(f.value),Nt(e,d)&&(n[d]=!0),Q(e,t,m,d),I(t,d,"A",r,i,$,x)}}if(a=e.className,b(a)&&""!==a)for(;o=l.exec(a);)d=Vt(o[2]),I(t,d,"C",r,i)&&(n[d]=Nr(o[3])),a=a.substr(o.index+o[0].length);break;case 3:X(t,e.nodeValue);break;case 8:try{o=s.exec(e.nodeValue),o&&(d=Vt(o[1]),I(t,d,"M",r,i)&&(n[d]=Nr(o[2])))}catch(C){}}return t.sort(z),t}function M(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw ti("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1==e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return $r(r)}function L(e,t,n){return function(r,i,o,a,s){return i=M(i[0],t,n),e(r,i,o,a,s)}}function P(e,i,a,s,l,c,f,p,d){function h(e,t,n,r){e&&(n&&(e=L(e,n,r)),e.require=w.require,(I===w||w.$$isolateScope)&&(e=Y(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=L(t,n,r)),t.require=w.require,(I===w||w.$$isolateScope)&&(t=Y(t,{isolateScope:!0})),p.push(t))}function m(e,t,n){var r,i="data",a=!1;if(b(e)){for(;"^"==(r=e.charAt(0))||"?"==r;)e=e.substr(1),"^"==r&&(i="inheritedData"),a=a||"?"==r;if(r=null,n&&"data"===i&&(r=n[e]),r=r||t[i]("$"+e+"Controller"),!r&&!a)throw ti("ctreq","Controller '{0}', required by directive '{1}', can't be found!",e,T);return r}return C(e)&&(r=[],o(e,function(e){r.push(m(e,t,n))})),r}function v(e,t,s,l,c){function d(e,t){var r;return arguments.length<2&&(t=e,e=n),Z&&(r=T),c(e,t,r)}var h,v,$,b,x,w,C,S,T={};if(h=i===s?a:q(a,new G($r(s),a.$attr)),v=h.$$element,I){var E=/^\s*([@=&])(\??)\s*(\w*)\s*$/,k=$r(s);C=t.$new(!0),F&&F===I.$$originalDirective?k.data("$isolateScope",C):k.data("$isolateScopeNoTemplate",C),N(k,"ng-isolate-scope"),o(I.scope,function(e,n){var i,o,a,s,u=e.match(E)||[],l=u[3]||n,c="?"==u[2],f=u[1];switch(C.$$isolateBindings[n]=f+l,f){case"@":h.$observe(l,function(e){C[n]=e}),h.$$observers[l].$$scope=t,h[l]&&(C[n]=r(h[l])(t));break;case"=":if(c&&!h[l])return;o=g(h[l]),s=o.literal?H:function(e,t){return e===t},a=o.assign||function(){throw i=C[n]=o(t),ti("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",h[l],I.name)},i=C[n]=o(t),C.$watch(function(){var e=o(t);return s(e,C[n])||(s(e,i)?a(t,e=C[n]):C[n]=e),i=e},null,o.literal);break;case"&":o=g(h[l]),C[n]=function(e){return o(t,e)};break;default:throw ti("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,e)}})}for(S=c&&d,P&&o(P,function(e){var n,r={$scope:e===I||e.$$isolateScope?C:t,$element:v,$attrs:h,$transclude:S};w=e.controller,"@"==w&&(w=h[e.name]),n=y(w,r),T[e.name]=n,Z||v.data("$"+e.name+"Controller",n),e.controllerAs&&(r.$scope[e.controllerAs]=n)}),$=0,b=f.length;b>$;$++)try{x=f[$],x(x.isolateScope?C:t,v,h,x.require&&m(x.require,v,T),S)}catch(A){u(A,W(v))}var j=t;for(I&&(I.template||null===I.templateUrl)&&(j=C),e&&e(j,s.childNodes,n,c),$=p.length-1;$>=0;$--)try{x=p[$],x(x.isolateScope?C:t,v,h,x.require&&m(x.require,v,T),S)}catch(A){u(A,W(v))}}d=d||{};for(var x,w,T,E,k,j,O=-Number.MAX_VALUE,P=d.controllerDirectives,I=d.newIsolateScopeDirective,F=d.templateDirective,z=d.nonTlbTranscludeDirective,X=!1,Z=d.hasElementTranscludeDirective,Q=a.$$element=$r(i),K=c,et=s,tt=0,nt=e.length;nt>tt;tt++){w=e[tt];var it=w.$$start,ot=w.$$end;if(it&&(Q=M(i,it,ot)),E=n,O>w.priority)break;if((j=w.scope)&&(x=x||w,w.templateUrl||(U("new/isolated scope",I,w,Q),$(j)&&(I=w))),T=w.name,!w.templateUrl&&w.controller&&(j=w.controller,P=P||{},U("'"+T+"' controller",P[T],w,Q),P[T]=w),(j=w.transclude)&&(X=!0,w.$$tlb||(U("transclusion",z,w,Q),z=w),"element"==j?(Z=!0,O=w.priority,E=M(i,it,ot),Q=a.$$element=$r(t.createComment(" "+T+": "+a[T]+" ")),i=Q[0],J(l,$r(_(E)),i),et=A(E,s,O,K&&K.name,{nonTlbTranscludeDirective:z})):(E=$r(vt(i)).contents(),Q.empty(),et=A(E,s))),w.template)if(U("template",F,w,Q),F=w,j=S(w.template)?w.template(Q,a):w.template,j=rt(j),w.replace){if(K=w,E=pt(j)?[]:$r(j),i=E[0],1!=E.length||1!==i.nodeType)throw ti("tplrt","Template for directive '{0}' must have exactly one root element. {1}",T,"");J(l,Q,i);var at={$attr:{}},st=D(i,[],at),ut=e.splice(tt+1,e.length-(tt+1));I&&R(st),e=e.concat(st).concat(ut),V(a,at),nt=e.length}else Q.html(j);if(w.templateUrl)U("template",F,w,Q),F=w,w.replace&&(K=w),v=B(e.splice(tt,e.length-tt),Q,a,l,et,f,p,{controllerDirectives:P,newIsolateScopeDirective:I,templateDirective:F,nonTlbTranscludeDirective:z}),nt=e.length;else if(w.compile)try{k=w.compile(Q,a,et),S(k)?h(null,k,it,ot):k&&h(k.pre,k.post,it,ot)}catch(lt){u(lt,W(Q))}w.terminal&&(v.terminal=!0,O=Math.max(O,w.priority))}return v.scope=x&&x.scope===!0,v.transclude=X&&et,d.hasElementTranscludeDirective=Z,v}function R(e){for(var t=0,n=e.length;n>t;t++)e[t]=d(e[t],{$$isolateScope:!0})}function I(t,r,o,s,l,c,f){if(r===l)return null;
|
||
var p=null;if(i.hasOwnProperty(r))for(var h,m=e.get(r+a),v=0,g=m.length;g>v;v++)try{h=m[v],(s===n||s>h.priority)&&-1!=h.restrict.indexOf(o)&&(c&&(h=d(h,{$$start:c,$$end:f})),t.push(h),p=h)}catch(y){u(y)}return p}function V(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(N(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function B(e,t,n,r,i,a,s,u){var l,c,d=[],m=t[0],v=e.shift(),g=f({},v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),y=S(v.templateUrl)?v.templateUrl(t,n):v.templateUrl;return t.empty(),p.get(T.getTrustedResourceUrl(y),{cache:h}).success(function(f){var p,h,b,x;if(f=rt(f),v.replace){if(b=pt(f)?[]:$r(f),p=b[0],1!=b.length||1!==p.nodeType)throw ti("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,y);h={$attr:{}},J(r,t,p);var w=D(p,[],h);$(v.scope)&&R(w),e=w.concat(e),V(n,h)}else p=m,t.html(f);for(e.unshift(g),l=P(e,p,n,i,t,v,a,s,u),o(r,function(e,n){e==p&&(r[n]=t[0])}),c=j(t[0].childNodes,i);d.length;){var C=d.shift(),S=d.shift(),T=d.shift(),E=d.shift(),k=t[0];if(S!==m){var A=S.className;u.hasElementTranscludeDirective&&v.replace||(k=vt(p)),J(T,$r(S),k),N($r(k),A)}x=l.transclude?O(C,l.transclude):E,l(c,C,k,r,x)}d=null}).error(function(e,t,n,r){throw ti("tpload","Failed to load template: {0}",r.url)}),function(e,t,n,r,i){d?(d.push(t),d.push(n),d.push(r),d.push(i)):l(c,t,n,r,i)}}function z(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function U(e,t,n,r){if(t)throw ti("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,n.name,e,W(r))}function X(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:v(function(e,t){var r=t.parent(),i=r.data("$binding")||[];i.push(n),N(r.data("$binding",i),"ng-binding"),e.$watch(n,function(e){t[0].nodeValue=e})})})}function Z(e,t){if("srcdoc"==t)return T.HTML;var n=wr(e);return"xlinkHref"==t||"FORM"==n&&"action"==t||"IMG"!=n&&("src"==t||"ngSrc"==t)?T.RESOURCE_URL:void 0}function Q(e,t,n,i){var o=r(n,!0);if(o){if("multiple"===i&&"SELECT"===wr(e))throw ti("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",W(e));t.push({priority:100,compile:function(){return{pre:function(t,n,a){var s=a.$$observers||(a.$$observers={});if(c.test(i))throw ti("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");o=r(a[i],!0,Z(e,i)),o&&(a[i]=o(t),(s[i]||(s[i]=[])).$$inter=!0,(a.$$observers&&a.$$observers[i].$$scope||t).$watch(o,function(e,t){"class"===i&&e!=t?a.$updateClass(e,t):a.$set(i,e)}))}}}})}}function J(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var l=i,c=l+s-1,f=e.length;f>l;l++,c++)f>c?e[l]=e[c]:delete e[l];e.length-=s-1;break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();p.appendChild(a),r[$r.expando]=a[$r.expando];for(var d=1,h=n.length;h>d;d++){var m=n[d];$r(m).remove(),p.appendChild(m),delete n[d]}n[0]=r,n.length=1}function Y(e,t){return f(function(){return e.apply(null,arguments)},e,t)}var G=function(e,t){this.$$element=e,this.$attr=t||{}};G.prototype={$normalize:Vt,$addClass:function(e){e&&e.length>0&&E.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&E.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Bt(e,t),r=Bt(t,e);0===n.length?E.removeClass(this.$$element,r):0===r.length?E.addClass(this.$$element,n):E.setClass(this.$$element,n,r)},$set:function(e,t,r,i){var a,s=Nt(this.$$element[0],e);s&&(this.$$element.prop(e,t),i=s),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e],i||(this.$attr[e]=i=et(e,"-"))),a=wr(this.$$element),("A"===a&&"href"===e||"IMG"===a&&"src"===e)&&(this[e]=t=k(t,"src"===e)),r!==!1&&(null===t||t===n?this.$$element.removeAttr(i):this.$$element.attr(i,t));var l=this.$$observers;l&&o(l[e],function(e){try{e(t)}catch(n){u(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers={}),i=r[e]||(r[e]=[]);return i.push(t),x.$evalAsync(function(){i.$$inter||t(n[e])}),t}};var K=r.startSymbol(),tt=r.endSymbol(),rt="{{"==K||"}}"==tt?m:function(e){return e.replace(/\{\{/g,K).replace(/}}/g,tt)},it=/^ngAttr[A-Z]/;return A}]}function Vt(e){return ct(e.replace(ni,""))}function Bt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function zt(){var e={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){it(t,"controller"),$(t)?f(e,t):e[t]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,l,c;if(b(o)&&(u=o.match(t),l=u[1],c=u[3],o=e.hasOwnProperty(l)?e[l]:ot(a.$scope,l,!0)||ot(i,l,!0),rt(o,l,!0)),s=n.instantiate(o,a),c){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",l||o.name,c);a.$scope[c]=s}return s}}]}function Ut(){this.$get=["$window",function(e){return $r(e.document)}]}function Wt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function Xt(e){var t,n,r,i={};return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=dr(Nr(e.substr(0,r))),n=Nr(e.substr(r+1)),t&&(i[t]?i[t]+=", "+n:i[t]=n)}),i):i}function Zt(e){var t=$(e)?e:n;return function(n){return t||(t=Xt(e)),n?t[dr(n)]||null:t}}function Qt(e,t,n){return S(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function Jt(e){return e>=200&&300>e}function Yt(){var e=/^\s*(\[|\{[^\{])/,t=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return b(n)&&(n=n.replace(r,""),e.test(n)&&t.test(n)&&(n=z(n))),n}],transformRequest:[function(e){return!$(e)||A(e)||N(e)?e:B(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:P(i),put:P(i),patch:P(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],l=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(e,t,r,i,c,p){function d(e){function r(e){var t=f({},e,{data:Qt(e.data,e.headers,s.transformResponse)});return Jt(e.status)?t:c.reject(t)}function i(e){function t(e){var t;o(e,function(n,r){S(n)&&(t=n(),null!=t?e[r]=t:delete e[r])})}var n,r,i,s=a.headers,u=f({},e.headers);s=f({},s.common,s[dr(e.method)]),t(s),t(u);e:for(n in s){r=dr(n);for(i in u)if(dr(i)===r)continue e;u[n]=s[n]}return u}var s={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},u=i(e);f(s,e),s.headers=u,s.method=mr(s.method);var l=_n(s.url)?t.cookies()[s.xsrfCookieName||a.xsrfCookieName]:n;l&&(u[s.xsrfHeaderName||a.xsrfHeaderName]=l);var p=function(e){u=e.headers;var t=Qt(e.data,Zt(u),e.transformRequest);return g(e.data)&&o(u,function(e,t){"content-type"===dr(t)&&delete u[t]}),g(e.withCredentials)&&!g(a.withCredentials)&&(e.withCredentials=a.withCredentials),v(e,t,u).then(r,r)},d=[p,n],h=c.when(s);for(o(T,function(e){(e.request||e.requestError)&&d.unshift(e.request,e.requestError),(e.response||e.responseError)&&d.push(e.response,e.responseError)});d.length;){var m=d.shift(),y=d.shift();h=h.then(m,y)}return h.success=function(e){return h.then(function(t){e(t.data,t.status,t.headers,s)}),h},h.error=function(e){return h.then(null,function(t){e(t.data,t.status,t.headers,s)}),h},h}function h(){o(arguments,function(e){d[e]=function(t,n){return d(f(n||{},{method:e,url:t}))}})}function m(){o(arguments,function(e){d[e]=function(t,n,r){return d(f(r||{},{method:e,url:t,data:n}))}})}function v(t,n,r){function o(e,t,n,r){l&&(Jt(e)?l.put(m,[e,t,Xt(n),r]):l.remove(m)),s(t,e,n,r),i.$$phase||i.$apply()}function s(e,n,r,i){n=Math.max(n,0),(Jt(n)?p.resolve:p.reject)({data:e,status:n,headers:Zt(r),config:t,statusText:i})}function u(){var e=M(d.pendingRequests,t);-1!==e&&d.pendingRequests.splice(e,1)}var l,f,p=c.defer(),h=p.promise,m=x(t.url,t.params);if(d.pendingRequests.push(t),h.then(u,u),(t.cache||a.cache)&&t.cache!==!1&&"GET"==t.method&&(l=$(t.cache)?t.cache:$(a.cache)?a.cache:w),l)if(f=l.get(m),y(f)){if(f.then)return f.then(u,u),f;C(f)?s(f[1],f[0],P(f[2]),f[3]):s(f,200,{},"OK")}else l.put(m,h);return g(f)&&e(t.method,m,n,o,r,t.timeout,t.withCredentials,t.responseType),h}function x(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||g(e)||(C(e)||(e=[e]),o(e,function(e){$(e)&&(e=B(e)),n.push(Y(t)+"="+Y(e))}))}),n.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var w=r("$http"),T=[];return o(u,function(e){T.unshift(b(e)?p.get(e):p.invoke(e))}),o(l,function(e,t){var n=b(e)?p.get(e):p.invoke(e);T.splice(t,0,{response:function(e){return n(c.when(e))},responseError:function(e){return n(c.reject(e))}})}),d.pendingRequests=[],h("get","delete","head","jsonp"),m("post","put"),d.defaults=a,d}]}function Gt(t){if(8>=yr&&(!t.match(/^(get|post|head|put|delete|options)$/i)||!e.XMLHttpRequest))return new e.ActiveXObject("Microsoft.XMLHTTP");if(e.XMLHttpRequest)return new e.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Kt(){this.$get=["$browser","$window","$document",function(e,t,n){return en(e,Gt,e.defer,t.angular.callbacks,n[0])}]}function en(e,t,n,r,i){function a(e,t){var n=i.createElement("script"),r=function(){n.onreadystatechange=n.onload=n.onerror=null,i.body.removeChild(n),t&&t()};return n.type="text/javascript",n.src=e,yr&&8>=yr?n.onreadystatechange=function(){/loaded|complete/.test(n.readyState)&&r()}:n.onload=n.onerror=function(){r()},i.body.appendChild(n),r}var s=-1;return function(i,u,l,c,f,p,d,m){function v(){$=s,x&&x(),w&&w.abort()}function g(t,r,i,o,a){S&&n.cancel(S),x=w=null,0===r&&(r=i?200:"file"==In(u).protocol?404:0),r=1223===r?204:r,a=a||"",t(r,i,o,a),e.$$completeOutstandingRequest(h)}var $;if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==dr(i)){var b="_"+(r.counter++).toString(36);r[b]=function(e){r[b].data=e};var x=a(u.replace("JSON_CALLBACK","angular.callbacks."+b),function(){r[b].data?g(c,200,r[b].data):g(c,$||-2),r[b]=kr.noop})}else{var w=t(i);if(w.open(i,u,!0),o(f,function(e,t){y(e)&&w.setRequestHeader(t,e)}),w.onreadystatechange=function(){if(w&&4==w.readyState){var e=null,t=null;$!==s&&(e=w.getAllResponseHeaders(),t="response"in w?w.response:w.responseText),g(c,$||w.status,t,e,w.statusText||"")}},d&&(w.withCredentials=!0),m)try{w.responseType=m}catch(C){if("json"!==m)throw C}w.send(l||null)}if(p>0)var S=n(v,p);else p&&p.then&&p.then(v)}}function tn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(o,u,l){for(var c,f,p,d,h=0,m=[],v=o.length,y=!1,$=[];v>h;)-1!=(c=o.indexOf(e,h))&&-1!=(f=o.indexOf(t,c+a))?(h!=c&&m.push(o.substring(h,c)),m.push(p=n(d=o.substring(c+a,f))),p.exp=d,h=f+s,y=!0):(h!=v&&m.push(o.substring(h)),h=v);if((v=m.length)||(m.push(""),v=1),l&&m.length>1)throw ri("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||y?($.length=v,p=function(e){try{for(var t,n=0,a=v;a>n;n++)"function"==typeof(t=m[n])&&(t=t(e),t=l?i.getTrusted(l,t):i.valueOf(t),null===t||g(t)?t="":"string"!=typeof t&&(t=B(t))),$[n]=t;return $.join("")}catch(s){var u=ri("interr","Can't interpolate: {0}\n{1}",o,s.toString());r(u)}},p.exp=o,p.parts=m,p):void 0}var a=e.length,s=t.length;return o.startSymbol=function(){return e},o.endSymbol=function(){return t},o}]}function nn(){this.$get=["$rootScope","$window","$q",function(e,t,n){function r(r,o,a,s){var u=t.setInterval,l=t.clearInterval,c=n.defer(),f=c.promise,p=0,d=y(s)&&!s;return a=y(a)?a:0,f.then(null,null,r),f.$$intervalId=u(function(){c.notify(p++),a>0&&p>=a&&(c.resolve(p),l(f.$$intervalId),delete i[f.$$intervalId]),d||e.$apply()},o),i[f.$$intervalId]=c,f}var i={};return r.cancel=function(e){return e&&e.$$intervalId in i?(i[e.$$intervalId].reject("canceled"),clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0):!1},r}]}function rn(){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(e){return 1===e?"one":"other"}}}}function on(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=J(t[n]);return t.join("/")}function an(e,t,n){var r=In(e,n);t.$$protocol=r.protocol,t.$$host=r.hostname,t.$$port=p(r.port)||oi[r.protocol]||null}function sn(e,t,n){var r="/"!==e.charAt(0);r&&(e="/"+e);var i=In(e,n);t.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=Z(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function un(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function ln(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function cn(e){return e.substr(0,ln(e).lastIndexOf("/")+1)}function fn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function pn(e,t){this.$$html5=!0,t=t||"";var r=cn(e);an(e,this,e),this.$$parse=function(t){var n=un(r,t);if(!b(n))throw ai("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,r);sn(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+J(this.$$hash):"";this.$$url=on(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,a;return(o=un(e,i))!==n?(a=o,(o=un(t,o))!==n?r+(un("/",o)||o):e+a):(o=un(r,i))!==n?r+o:r==i+"/"?r:void 0}}function dn(e,t){var n=cn(e);an(e,this,e),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/?.*?:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o=un(e,r)||un(n,r),a="#"==o.charAt(0)?un(t,o):this.$$html5?o:"";if(!b(a))throw ai("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,t);sn(a,this,e),this.$$path=i(this.$$path,a,e),this.$$compose()},this.$$compose=function(){var n=Q(this.$$search),r=this.$$hash?"#"+J(this.$$hash):"";this.$$url=on(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$rewrite=function(t){return ln(e)==ln(t)?t:void 0}}function hn(e,t){this.$$html5=!0,dn.apply(this,arguments);var n=cn(e);this.$$rewrite=function(r){var i;return e==ln(r)?r:(i=un(n,r))?e+t+i:n===r+"/"?n:void 0}}function mn(e){return function(){return this[e]}}function vn(e,t){return function(n){return g(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function gn(){var t="",n=!1;this.hashPrefix=function(e){return y(e)?(t=e,this):t},this.html5Mode=function(e){return y(e)?(n=e,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(e){r.$broadcast("$locationChangeSuccess",u.absUrl(),e)}var u,l,c,f=i.baseHref(),p=i.url();n?(c=fn(p)+(f||"/"),l=o.history?pn:hn):(c=ln(p),l=dn),u=new l(c,"#"+t),u.$$parse(u.$$rewrite(p)),a.on("click",function(t){if(!t.ctrlKey&&!t.metaKey&&2!=t.which){for(var n=$r(t.target);"a"!==dr(n[0].nodeName);)if(n[0]===a[0]||!(n=n.parent())[0])return;var o=n.prop("href");$(o)&&"[object SVGAnimatedString]"===o.toString()&&(o=In(o.animVal).href);var s=u.$$rewrite(o);o&&!n.attr("target")&&s&&!t.isDefaultPrevented()&&(t.preventDefault(),s!=i.url()&&(u.$$parse(s),r.$apply(),e.angular["ff-684208-preventDefault"]=!0))}}),u.absUrl()!=p&&i.url(u.absUrl(),!0),i.onUrlChange(function(e){u.absUrl()!=e&&(r.$evalAsync(function(){var t=u.absUrl();u.$$parse(e),r.$broadcast("$locationChangeStart",e,t).defaultPrevented?(u.$$parse(t),i.url(t)):s(t)}),r.$$phase||r.$digest())});var d=0;return r.$watch(function(){var e=i.url(),t=u.$$replace;return d&&e==u.absUrl()||(d++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),e).defaultPrevented?u.$$parse(e):(i.url(u.absUrl(),t),s(e))})),u.$$replace=!1,d}),u}]}function yn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||h,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function $n(e,t){if("constructor"===e)throw ui("isecfld",'Referencing "constructor" field in Angular expressions is disallowed! Expression: {0}',t);return e}function bn(e,t){if(e){if(e.constructor===e)throw ui("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.document&&e.location&&e.alert&&e.setInterval)throw ui("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ui("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t)}return e}function xn(e,t,r,i,o){o=o||{};for(var a,s=t.split("."),u=0;s.length>1;u++){a=$n(s.shift(),i);var l=e[a];l||(l={},e[a]=l),e=l,e.then&&o.unwrapPromises&&(si(i),"$$v"in e||!function(e){e.then(function(t){e.$$v=t})}(e),e.$$v===n&&(e.$$v={}),e=e.$$v)}return a=$n(s.shift(),i),e[a]=r,r}function wn(e,t,r,i,o,a,s){return $n(e,a),$n(t,a),$n(r,a),$n(i,a),$n(o,a),s.unwrapPromises?function(s,u){var l,c=u&&u.hasOwnProperty(e)?u:s;return null==c?c:(c=c[e],c&&c.then&&(si(a),"$$v"in c||(l=c,l.$$v=n,l.then(function(e){l.$$v=e})),c=c.$$v),t?null==c?n:(c=c[t],c&&c.then&&(si(a),"$$v"in c||(l=c,l.$$v=n,l.then(function(e){l.$$v=e})),c=c.$$v),r?null==c?n:(c=c[r],c&&c.then&&(si(a),"$$v"in c||(l=c,l.$$v=n,l.then(function(e){l.$$v=e})),c=c.$$v),i?null==c?n:(c=c[i],c&&c.then&&(si(a),"$$v"in c||(l=c,l.$$v=n,l.then(function(e){l.$$v=e})),c=c.$$v),o?null==c?n:(c=c[o],c&&c.then&&(si(a),"$$v"in c||(l=c,l.$$v=n,l.then(function(e){l.$$v=e})),c=c.$$v),c):c):c):c):c)}:function(a,s){var u=s&&s.hasOwnProperty(e)?s:a;return null==u?u:(u=u[e],t?null==u?n:(u=u[t],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Cn(e,t){return $n(e,t),function(t,r){return null==t?n:(r&&r.hasOwnProperty(e)?r:t)[e]}}function Sn(e,t,r){return $n(e,r),$n(t,r),function(r,i){return null==r?n:(r=(i&&i.hasOwnProperty(e)?i:r)[e],null==r?n:r[t])}}function Tn(e,t,r){if(hi.hasOwnProperty(e))return hi[e];var i,a=e.split("."),s=a.length;if(t.unwrapPromises||1!==s)if(t.unwrapPromises||2!==s)if(t.csp)i=6>s?wn(a[0],a[1],a[2],a[3],a[4],r,t):function(e,i){var o,u=0;do o=wn(a[u++],a[u++],a[u++],a[u++],a[u++],r,t)(e,i),i=n,e=o;while(s>u);return o};else{var u="var p;\n";o(a,function(e,n){$n(e,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+e+'"))?k:s)')+'["'+e+'"];\n'+(t.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),u+="return s;";var l=new Function("s","k","pw",u);l.toString=v(u),i=t.unwrapPromises?function(e,t){return l(e,t,si)}:l}else i=Sn(a[0],a[1],r);else i=Cn(a[0],r);return"hasOwnProperty"!==e&&(hi[e]=i),i}function En(){var e={},t={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return y(e)?(t.unwrapPromises=!!e,this):t.unwrapPromises},this.logPromiseWarnings=function(e){return y(e)?(t.logPromiseWarnings=e,this):t.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return t.csp=r.csp,si=function(e){t.logPromiseWarnings&&!li.hasOwnProperty(e)&&(li[e]=!0,i.warn("[$parse] Promise found in the expression `"+e+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(e.hasOwnProperty(r))return e[r];var o=new pi(t),a=new di(o,n,t);return i=a.parse(r,!1),"hasOwnProperty"!==r&&(e[r]=i),i;case"function":return r;default:return h}}}]}function kn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return An(function(t){e.$evalAsync(t)},t)}]}function An(e,t){function r(e){return e}function i(e){return l(e)}function a(e){var t=s(),n=0,r=C(e)?[]:{};return o(e,function(e,i){n++,u(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var s=function(){var o,a,l=[];return a={resolve:function(t){if(l){var r=l;l=n,o=u(t),r.length&&e(function(){for(var e,t=0,n=r.length;n>t;t++)e=r[t],o.then(e[0],e[1],e[2])})}},reject:function(e){a.resolve(c(e))},notify:function(t){if(l){var n=l;l.length&&e(function(){for(var e,r=0,i=n.length;i>r;r++)e=n[r],e[2](t)})}},promise:{then:function(e,n,a){var u=s(),c=function(n){try{u.resolve((S(e)?e:r)(n))}catch(i){u.reject(i),t(i)}},f=function(e){try{u.resolve((S(n)?n:i)(e))}catch(r){u.reject(r),t(r)}},p=function(e){try{u.notify((S(a)?a:r)(e))}catch(n){t(n)}};return l?l.push([c,f,p]):o.then(c,f,p),u.promise},"catch":function(e){return this.then(null,e)},"finally":function(e){function t(e,t){var n=s();return t?n.resolve(e):n.reject(e),n.promise}function n(n,i){var o=null;try{o=(e||r)()}catch(a){return t(a,!1)}return o&&S(o.then)?o.then(function(){return t(n,i)},function(e){return t(e,!1)}):t(n,i)}return this.then(function(e){return n(e,!0)},function(e){return n(e,!1)})}}}},u=function(t){return t&&S(t.then)?t:{then:function(n){var r=s();return e(function(){r.resolve(n(t))}),r.promise}}},l=function(e){var t=s();return t.reject(e),t.promise},c=function(n){return{then:function(r,o){var a=s();return e(function(){try{a.resolve((S(o)?o:i)(n))}catch(e){a.reject(e),t(e)}}),a.promise}}},f=function(n,o,a,c){var f,p=s(),d=function(e){try{return(S(o)?o:r)(e)}catch(n){return t(n),l(n)}},h=function(e){try{return(S(a)?a:i)(e)}catch(n){return t(n),l(n)}},m=function(e){try{return(S(c)?c:r)(e)}catch(n){t(n)}};return e(function(){u(n).then(function(e){f||(f=!0,p.resolve(u(e).then(d,h,m)))},function(e){f||(f=!0,p.resolve(h(e)))},function(e){f||p.notify(m(e))})}),p.promise};return{defer:s,reject:l,when:f,all:a}}function Nn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function jn(){var e=10,t=r("$rootScope"),n=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function c(){this.$id=l(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(e){if(g.$$phase)throw t("inprog","{0} already in progress",g.$$phase);g.$$phase=e}function p(){g.$$phase=null}function d(e,t){var n=s(e);return rt(n,t),n}function m(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function v(){}c.prototype={constructor:c,$new:function(e){var t,n;return e?(n=new c,n.$root=this.$root,n.$$asyncQueue=this.$$asyncQueue,n.$$postDigestQueue=this.$$postDigestQueue):(t=function(){},t.prototype=this,n=new t,n.$id=l()),n["this"]=n,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(e,t,r){var i=this,o=d(e,"watch"),a=i.$$watchers,s={fn:t,last:v,get:o,exp:e,eq:!!r};if(n=null,!S(t)){var u=d(t||h,"listener");s.fn=function(e,t,n){u(n)}}if("string"==typeof e&&o.constant){var l=s.fn;s.fn=function(e,t,n){l.call(this,e,t,n),L(a,s)}}return a||(a=i.$$watchers=[]),a.unshift(s),function(){L(a,s),n=null}},$watchCollection:function(e,t){function n(){o=p(l);var e,t;if($(o))if(i(o)){a!==d&&(a=d,v=a.length=0,f++),e=o.length,v!==e&&(f++,a.length=v=e);for(var n=0;e>n;n++){var r=a[n]!==a[n]&&o[n]!==o[n];r||a[n]===o[n]||(f++,a[n]=o[n])}}else{a!==h&&(a=h={},v=0,f++),e=0;for(t in o)o.hasOwnProperty(t)&&(e++,a.hasOwnProperty(t)?a[t]!==o[t]&&(f++,a[t]=o[t]):(v++,a[t]=o[t],f++));if(v>e){f++;for(t in a)a.hasOwnProperty(t)&&!o.hasOwnProperty(t)&&(v--,delete a[t])}}else a!==o&&(a=o,f++);return f}function r(){if(m?(m=!1,t(o,o,l)):t(o,u,l),c)if($(o))if(i(o)){u=new Array(o.length);for(var e=0;e<o.length;e++)u[e]=o[e]}else{u={};for(var n in o)hr.call(o,n)&&(u[n]=o[n])}else u=o}var o,a,u,l=this,c=t.length>1,f=0,p=s(e),d=[],h={},m=!0,v=0;return this.$watch(n,r)},$digest:function(){var r,i,o,s,u,l,c,d,h,m,g,y=this.$$asyncQueue,$=this.$$postDigestQueue,b=e,x=this,w=[];f("$digest"),n=null;do{for(l=!1,d=x;y.length;){try{g=y.shift(),g.scope.$eval(g.expression)}catch(C){p(),a(C)}n=null}e:do{if(s=d.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(d))===(o=r.last)||(r.eq?H(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){l=!1;break e}}else l=!0,n=r,r.last=r.eq?P(i):i,r.fn(i,o===v?i:o,d),5>b&&(h=4-b,w[h]||(w[h]=[]),m=S(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,m+="; newVal: "+B(i)+"; oldVal: "+B(o),w[h].push(m))}catch(C){p(),a(C)}if(!(c=d.$$childHead||d!==x&&d.$$nextSibling))for(;d!==x&&!(c=d.$$nextSibling);)d=d.$parent}while(d=c);if((l||y.length)&&!b--)throw p(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,B(w))}while(l||y.length);for(p();$.length;)try{$.shift()()}catch(C){a(C)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==g&&(o(this.$$listenerCount,F(null,m,this)),e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=h,this.$on=this.$watch=function(){return h})}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e){g.$$phase||g.$$asyncQueue.length||u.defer(function(){g.$$asyncQueue.length&&g.$digest()}),this.$$asyncQueue.push({scope:this,expression:e})},$$postDigest:function(e){this.$$postDigestQueue.push(e)},$apply:function(e){try{return f("$apply"),this.$eval(e)}catch(t){a(t)}finally{p();try{g.$digest()}catch(t){throw a(t),t}}},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){n[M(n,t)]=null,m(i,1,e)}},$emit:function(e){var t,n,r,i=[],o=this,s=!1,u={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=I([u],arguments,1);do{for(t=o.$$listeners[e]||i,u.currentScope=o,n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,l)}catch(c){a(c)}else t.splice(n,1),n--,r--;if(s)return u;o=o.$parent}while(o);return u},$broadcast:function(e){for(var t,n,r,i=this,o=i,s=i,u={name:e,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=I([u],arguments,1);o=s;){for(u.currentScope=o,t=o.$$listeners[e]||[],n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,l)}catch(c){a(c)}else t.splice(n,1),n--,r--;if(!(s=o.$$listenerCount[e]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(s=o.$$nextSibling);)o=o.$parent}return u}};var g=new c;return g}]}function On(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*(https?|ftp|file):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return yr&&!(yr>=8)||(i=In(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Dn(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function Mn(e){if("self"===e)return e;if(b(e)){if(e.indexOf("***")>-1)throw mi("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Dn(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(T(e))return new RegExp("^"+e.source+"$");throw mi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Ln(e){var t=[];return y(e)&&o(e,function(e){t.push(Mn(e))}),t}function Pn(){this.SCE_CONTEXTS=vi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Ln(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Ln(e)),t},this.$get=["$injector",function(r){function i(e,t){return"self"===e?_n(t):!!e.exec(t.href)}function o(n){var r,o,a=In(n.toString()),s=!1;for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!0;break}if(s)for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!1;break}return s}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var r=p.hasOwnProperty(e)?p[e]:null;if(!r)throw mi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw mi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)}function u(e){return e instanceof f?e.$$unwrapTrustedValue():e}function l(e,t){if(null===t||t===n||""===t)return t;var r=p.hasOwnProperty(e)?p[e]:null;if(r&&t instanceof r)return t.$$unwrapTrustedValue();if(e===vi.RESOURCE_URL){if(o(t))return t;throw mi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===vi.HTML)return c(t);throw mi("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(){throw mi("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(c=r.get("$sanitize"));var f=a(),p={};return p[vi.HTML]=a(f),p[vi.CSS]=a(f),p[vi.URL]=a(f),p[vi.JS]=a(f),p[vi.RESOURCE_URL]=a(p[vi.URL]),{trustAs:s,getTrusted:l,valueOf:u}}]}function qn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sniffer","$sceDelegate",function(t,n,r){if(e&&n.msie&&n.msieDocumentMode<8)throw mi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=P(vi);i.isEnabled=function(){return e},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=m),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:function(t,n){return i.getTrusted(e,r(t,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(vi,function(e,t){var n=dr(t);i[ct("parse_as_"+n)]=function(t){return a(e,t)},i[ct("get_trusted_"+n)]=function(t){return s(e,t)},i[ct("trust_as_"+n)]=function(t){return u(e,t)}}),i}]}function Hn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=p((/android (\d+)/.exec(dr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.documentMode,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=r[0],n=n.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=b(s.body.style.webkitTransition),d=b(s.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hashchange:"onhashchange"in e&&(!u||u>7),hasEvent:function(e){if("input"==e&&9==yr)return!1;if(g(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:R(),vendorPrefix:n,transitions:f,animations:d,android:o,msie:yr,msieDocumentMode:u}}]}function Rn(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(e,t,n,r){function i(i,a,s){var u,l=n.defer(),c=l.promise,f=y(s)&&!s;return u=t.defer(function(){try{l.resolve(i())}catch(t){l.reject(t),r(t)}finally{delete o[c.$$timeoutId]}f||e.$apply()},a),c.$$timeoutId=u,o[u]=l,c}var o={};return i.cancel=function(e){return e&&e.$$timeoutId in o?(o[e.$$timeoutId].reject("canceled"),delete o[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},i}]}function In(e){var t=e;return yr&&(gi.setAttribute("href",t),t=gi.href),gi.setAttribute("href",t),{href:gi.href,protocol:gi.protocol?gi.protocol.replace(/:$/,""):"",host:gi.host,search:gi.search?gi.search.replace(/^\?/,""):"",hash:gi.hash?gi.hash.replace(/^#/,""):"",hostname:gi.hostname,port:gi.port,pathname:"/"===gi.pathname.charAt(0)?gi.pathname:"/"+gi.pathname}}function _n(e){var t=b(e)?In(e):e;return t.protocol===yi.protocol&&t.host===yi.host}function Fn(){this.$get=v(e)}function Vn(e){function t(r,i){if($(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",Gn),t("filter",Bn),t("json",Kn),t("limitTo",er),t("lowercase",Ci),t("number",Un),t("orderBy",tr),t("uppercase",Si)}function Bn(){return function(e,t,n){if(!C(e))return e;var r=typeof n,i=[];i.check=function(e){for(var t=0;t<i.length;t++)if(!i[t](e))return!1;return!0},"function"!==r&&(n="boolean"===r&&n?function(e,t){return kr.equals(e,t)}:function(e,t){if(e&&t&&"object"==typeof e&&"object"==typeof t){for(var r in e)if("$"!==r.charAt(0)&&hr.call(e,r)&&n(e[r],t[r]))return!0;return!1}return t=(""+t).toLowerCase(),(""+e).toLowerCase().indexOf(t)>-1});var o=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!o(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var r in e)if("$"!==r.charAt(0)&&o(e[r],t))return!0}return!1;case"array":for(var i=0;i<e.length;i++)if(o(e[i],t))return!0;return!1;default:return!1}};switch(typeof t){case"boolean":case"number":case"string":t={$:t};case"object":for(var a in t)!function(e){"undefined"!=typeof t[e]&&i.push(function(n){return o("$"==e?n:n&&n[e],t[e])})}(a);break;case"function":i.push(t);break;default:return e}for(var s=[],u=0;u<e.length;u++){var l=e[u];i.check(l)&&s.push(l)}return s}}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n){return g(n)&&(n=t.CURRENCY_SYM),Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,2).replace(/\u00A4/g,n)}}function Un(e){var t=e.NUMBER_FORMATS;return function(e,n){return Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e,t,n,r,i){if(null==e||!isFinite(e)||$(e))return"";var o=0>e;e=Math.abs(e);var a=e+"",s="",u=[],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)i>0&&e>-1&&1>e&&(s=e.toFixed(i));else{var f=(a.split($i)[1]||"").length;g(i)&&(i=Math.min(Math.max(t.minFrac,f),t.maxFrac));var p=Math.pow(10,i);e=Math.round(e*p)/p;var d=(""+e).split($i),h=d[0];d=d[1]||"";var m,v=0,y=t.lgSize,b=t.gSize;if(h.length>=y+b)for(v=h.length-y,m=0;v>m;m++)(v-m)%b===0&&0!==m&&(s+=n),s+=h.charAt(m);for(m=v;m<h.length;m++)(h.length-m)%y===0&&0!==m&&(s+=n),s+=h.charAt(m);for(;d.length<i;)d+="0";i&&"0"!==i&&(s+=r+d.substr(0,i))}return u.push(o?t.negPre:t.posPre),u.push(s),u.push(o?t.negSuf:t.posSuf),u.join("")}function Xn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function Zn(e,t,n,r){return n=n||0,function(i){var o=i["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Xn(o,t,r)}}function Qn(e,t){return function(n,r){var i=n["get"+e](),o=mr(t?"SHORT"+e:e);return r[o][i]}}function Jn(e){var t=-1*e.getTimezoneOffset(),n=t>=0?"+":"";return n+=Xn(Math[t>0?"floor":"ceil"](t/60),2)+Xn(Math.abs(t%60),2)}function Yn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Gn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,l=p(t[5]||0)-o,c=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r){var i,a,s="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,b(n)&&(n=wi.test(n)?p(n):t(n)),x(n)&&(n=new Date(n)),!w(n))return n;for(;r;)a=xi.exec(r),a?(u=I(u,a,1),r=u.pop()):(u.push(r),r=null);return o(u,function(t){i=bi[t],s+=i?i(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function Kn(){return function(e){return B(e,!0)}}function er(){return function(e,t){if(!C(e)&&!b(e))return e;if(t=p(t),b(e))return t?t>=0?e.slice(0,t):e.slice(t,e.length):"";var n,r,i=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),t>0?(n=0,r=t):(n=e.length+t,r=e.length);r>n;n++)i.push(e[n]);return i}}function tr(e){return function(t,n,r){function i(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0}function o(e,t){return U(t)?function(t,n){return e(n,t)}:e}function a(e,t){var n=typeof e,r=typeof t;return n==r?("string"==n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}if(!C(t))return t;if(!n)return t;n=C(n)?n:[n],n=O(n,function(t){var n=!1,r=t||m;if(b(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),r=e(t),r.constant)){var i=r();return o(function(e,t){return a(e[i],t[i])},n)}return o(function(e,t){return a(r(e),r(t))},n)});for(var s=[],u=0;u<t.length;u++)s.push(t[u]);return s.sort(o(i,r))}}function nr(e){return S(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function rr(e,t,n,r){function i(t,n){n=n?"-"+et(n,"-"):"",r.removeClass(e,(t?Hi:qi)+n),r.addClass(e,(t?qi:Hi)+n)}var a=this,s=e.parent().controller("form")||ki,u=0,l=a.$error={},c=[];a.$name=t.name||t.ngForm,a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,s.$addControl(a),e.addClass(Ri),i(!0),a.$addControl=function(e){it(e.$name,"input"),c.push(e),e.$name&&(a[e.$name]=e)},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],o(l,function(t,n){a.$setValidity(n,!0,e)}),L(c,e)},a.$setValidity=function(e,t,n){var r=l[e];if(t)r&&(L(r,n),r.length||(u--,u||(i(t),a.$valid=!0,a.$invalid=!1),l[e]=!1,i(!0,e),s.$setValidity(e,!0,a)));else{if(u||i(t),r){if(D(r,n))return}else l[e]=r=[],u++,i(!1,e),s.$setValidity(e,!1,a);r.push(n),a.$valid=!1,a.$invalid=!0}},a.$setDirty=function(){r.removeClass(e,Ri),r.addClass(e,Ii),a.$dirty=!0,a.$pristine=!1,s.$setDirty()},a.$setPristine=function(){r.removeClass(e,Ii),r.addClass(e,Ri),a.$dirty=!1,a.$pristine=!0,o(c,function(e){e.$setPristine()})}}function ir(e,t,r,i){return e.$setValidity(t,r),r?i:n}function or(e,t,n){var r=n.prop("validity");if($(r)){var i=function(n){return e.$error[t]||!(r.badInput||r.customError||r.typeMismatch)||r.valueMissing?n:void e.$setValidity(t,!1)};e.$parsers.push(i)}}function ar(e,t,n,i,o,a){var s=t.prop("validity");if(!o.android){var u=!1;t.on("compositionstart",function(){u=!0}),t.on("compositionend",function(){u=!1,l()})}var l=function(){if(!u){var r=t.val();U(n.ngTrim||"T")&&(r=Nr(r)),(i.$viewValue!==r||s&&""===r&&!s.valueMissing)&&(e.$$phase?i.$setViewValue(r):e.$apply(function(){i.$setViewValue(r)}))}};if(o.hasEvent("input"))t.on("input",l);else{var c,f=function(){c||(c=a.defer(function(){l(),c=null}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||f()}),o.hasEvent("paste")&&t.on("paste cut",f)}t.on("change",l),i.$render=function(){t.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var d,h,m=n.ngPattern;if(m){var v=function(e,t){return ir(i,"pattern",i.$isEmpty(t)||e.test(t),t)};h=m.match(/^\/(.*)\/([gim]*)$/),h?(m=new RegExp(h[1],h[2]),d=function(e){return v(m,e)}):d=function(n){var i=e.$eval(m);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",m,i,W(t));return v(i,n)},i.$formatters.push(d),i.$parsers.push(d)}if(n.ngMinlength){var g=p(n.ngMinlength),y=function(e){return ir(i,"minlength",i.$isEmpty(e)||e.length>=g,e)};i.$parsers.push(y),i.$formatters.push(y)}if(n.ngMaxlength){var $=p(n.ngMaxlength),b=function(e){return ir(i,"maxlength",i.$isEmpty(e)||e.length<=$,e)};i.$parsers.push(b),i.$formatters.push(b)}}function sr(e,t,r,i,o,a){if(ar(e,t,r,i,o,a),i.$parsers.push(function(e){var t=i.$isEmpty(e);return t||Mi.test(e)?(i.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(i.$setValidity("number",!1),n)}),or(i,"number",t),i.$formatters.push(function(e){return i.$isEmpty(e)?"":""+e}),r.min){var s=function(e){var t=parseFloat(r.min);return ir(i,"min",i.$isEmpty(e)||e>=t,e)};i.$parsers.push(s),i.$formatters.push(s)}if(r.max){var u=function(e){var t=parseFloat(r.max);return ir(i,"max",i.$isEmpty(e)||t>=e,e)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(e){return ir(i,"number",i.$isEmpty(e)||x(e),e)})}function ur(e,t,n,r,i,o){ar(e,t,n,r,i,o);var a=function(e){return ir(r,"url",r.$isEmpty(e)||Oi.test(e),e)};r.$formatters.push(a),r.$parsers.push(a)}function lr(e,t,n,r,i,o){ar(e,t,n,r,i,o);var a=function(e){return ir(r,"email",r.$isEmpty(e)||Di.test(e),e)};r.$formatters.push(a),r.$parsers.push(a)}function cr(e,t,n,r){g(n.name)&&t.attr("name",l()),t.on("click",function(){t[0].checked&&e.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function fr(e,t,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;b(i)||(i=!0),b(o)||(o=!1),t.on("click",function(){e.$apply(function(){r.$setViewValue(t[0].checked)})}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e!==i},r.$formatters.push(function(e){return e===i}),r.$parsers.push(function(e){return e?i:o})}function pr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){if(C(e))return e;if(b(e))return e.split(" ");if($(e)){var t=[];return o(e,function(e,n){e&&t.push(n)}),t}return e}return{restrict:"AC",link:function(a,s,u){function l(e){var t=f(e,1);u.$addClass(t)}function c(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||{},r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);o=f(o,-1),i=f(i,1),0===i.length?n.removeClass(s,o):0===o.length?n.addClass(s,i):n.setClass(s,i,o)}function d(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!H(e,h)){var r=i(h);p(r,n)}}else l(n)}h=P(e)}var h;a.$watch(u[e],d,!0),u.$observe("class",function(){d(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==r&1){var s=i(a.$eval(u[e]));o===t?l(s):c(s)}})}}}]}var dr=function(e){return b(e)?e.toLowerCase():e},hr=Object.prototype.hasOwnProperty,mr=function(e){return b(e)?e.toUpperCase():e},vr=function(e){return b(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},gr=function(e){return b(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(dr=vr,mr=gr);var yr,$r,br,xr,wr,Cr=[].slice,Sr=[].push,Tr=Object.prototype.toString,Er=r("ng"),kr=(e.angular,e.angular||(e.angular={})),Ar=["0","0","0"];yr=p((/msie (\d+)/.exec(dr(navigator.userAgent))||[])[1]),isNaN(yr)&&(yr=p((/trident\/.*; rv:(\d+)/.exec(dr(navigator.userAgent))||[])[1])),h.$inject=[],m.$inject=[];var Nr=function(){return String.prototype.trim?function(e){return b(e)?e.trim():e}:function(e){return b(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e}}();wr=9>yr?function(e){return e=e.nodeName?e:e[0],e.scopeName&&"HTML"!=e.scopeName?mr(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var jr=/[A-Z]/g,Or={full:"1.2.16",major:1,minor:2,dot:16,codeName:"badger-enumeration"},Dr=mt.cache={},Mr=mt.expando="ng-"+(new Date).getTime(),Lr=1,Pr=e.document.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},qr=e.document.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)},Hr=(mt._data=function(e){return this.cache[e[this.expando]]||{}},/([\:\-\_]+(.))/g),Rr=/^moz([A-Z])/,Ir=r("jqLite"),_r=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Fr=/<|&#?\w+;/,Vr=/<([\w:]+)/,Br=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,zr={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,"",""]};zr.optgroup=zr.option,zr.tbody=zr.tfoot=zr.colgroup=zr.caption=zr.thead,zr.th=zr.td;var Ur=mt.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),mt(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return $r(e>=0?this[e]:this[this.length+e])},length:0,push:Sr,sort:[].sort,splice:[].splice},Wr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Wr[dr(e)]=e});var Xr={};o("input,select,option,textarea,button,form,details".split(","),function(e){Xr[mr(e)]=!0}),o({data:xt,inheritedData:kt,scope:function(e){return $r(e).data("$scope")||kt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return $r(e).data("$isolateScope")||$r(e).data("$isolateScopeNoTemplate")},controller:Et,injector:function(e){return kt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:wt,css:function(e,t,r){if(t=ct(t),!y(r)){var i;return 8>=yr&&(i=e.currentStyle&&e.currentStyle[t],""===i&&(i="auto")),i=i||e.style[t],8>=yr&&(i=""===i?n:i),i}e.style[t]=r},attr:function(e,t,r){var i=dr(t);if(Wr[i]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?n:o}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,n){var r=t[e.nodeType];return g(n)?r?e[r]:"":void(e[r]=n)}var t=[];return 9>yr?(t[1]="innerText",t[3]="nodeValue"):t[1]=t[3]="textContent",e.$dv="",e}(),val:function(e,t){if(g(t)){if("SELECT"===wr(e)&&e.multiple){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(g(t))return e.innerHTML;for(var n=0,r=e.childNodes;n<r.length;n++)gt(r[n]);e.innerHTML=t},empty:At},function(e,t){mt.prototype[t]=function(t,r){var i,o;if(e!==At&&(2==e.length&&e!==wt&&e!==Et?t:r)===n){if($(t)){for(i=0;i<this.length;i++)if(e===xt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}for(var a=e.$dv,s=a===n?Math.min(this.length,1):this.length,u=0;s>u;u++){var l=e(this[u],t,r);a=a?a+l:l}return a}for(i=0;i<this.length;i++)e(this[i],t,r);return this}}),o({removeData:$t,dealoc:gt,on:function Co(e,n,r,i){if(y(i))throw Ir("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var a=bt(e,"events"),s=bt(e,"handle");a||bt(e,"events",a={}),s||bt(e,"handle",s=jt(e,a)),o(n.split(" "),function(n){var i=a[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=t.body.contains||t.body.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};a[n]=[];var u={mouseleave:"mouseout",mouseenter:"mouseover"};Co(e,u[n],function(e){var t=this,r=e.relatedTarget;(!r||r!==t&&!o(t,r))&&s(e,n)})}else Pr(e,n,s),a[n]=[];i=a[n]}i.push(r)})},off:yt,one:function(e,t,n){e=$r(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;gt(e),o(new mt(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){o(new 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;o(new mt(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=$r(t)[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:function(e){gt(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var n=e,r=e.parentNode;o(new mt(t),function(e){r.insertBefore(e,n.nextSibling),n=e})},addClass:St,removeClass:Ct,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;g(r)&&(r=!wt(e,t)),(r?St:Ct)(e,t)})},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(var t=e.nextSibling;null!=t&&1!==t.nodeType;)t=t.nextSibling;return t},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:vt,triggerHandler:function(e,t,n){var r=(bt(e,"events")||{})[t];n=n||[];var i=[{preventDefault:h,stopPropagation:h}];o(r,function(t){t.apply(e,i.concat(n))})}},function(e,t){mt.prototype[t]=function(t,n,r){for(var i,o=0;o<this.length;o++)g(i)?(i=e(this[o],t,n,r),y(i)&&(i=$r(i))):Tt(i,e(this[o],t,n,r));return y(i)?i:this},mt.prototype.bind=mt.prototype.on,mt.prototype.unbind=mt.prototype.off}),Dt.prototype={put:function(e,t){this[Ot(e)]=t},get:function(e){return this[Ot(e)]},remove:function(e){var t=this[e=Ot(e)];return delete this[e],t}};var Zr=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Qr=/,/,Jr=/^\s*(_?)(\S+?)\1\s*$/,Yr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gr=r("$injector"),Kr=r("$animate"),ei=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw Kr("notcsel","Expecting class selector starting with '.' got '{0}'.",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(e,t){function n(e){e&&t(e)}return{enter:function(e,t,r,i){r?r.after(e):(t&&t[0]||(t=r.parent()),t.append(e)),n(i)},leave:function(e,t){e.remove(),n(t)},move:function(e,t,n,r){this.enter(e,t,n,r)},addClass:function(e,t,r){t=b(t)?t:C(t)?t.join(" "):"",o(e,function(e){St(e,t)}),n(r)},removeClass:function(e,t,r){t=b(t)?t:C(t)?t.join(" "):"",o(e,function(e){Ct(e,t)}),n(r)},setClass:function(e,t,r,i){o(e,function(e){St(e,t),Ct(e,r)}),n(i)},enabled:h}}]}],ti=r("$compile");Ft.$inject=["$provide","$$sanitizeUriProvider"];var ni=/^(x[\:\-_]|data[\:\-_])/i,ri=r("$interpolate"),ii=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,oi={http:80,https:443,ftp:21},ai=r("$location");hn.prototype=dn.prototype=pn.prototype={$$html5:!1,$$replace:!1,absUrl:mn("$$absUrl"),url:function(e,t){if(g(e))return this.$$url;var n=ii.exec(e);return n[1]&&this.path(decodeURIComponent(n[1])),(n[2]||n[1])&&this.search(n[3]||""),this.hash(n[5]||"",t),this},protocol:mn("$$protocol"),host:mn("$$host"),port:mn("$$port"),path:vn("$$path",function(e){return"/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(b(e))this.$$search=Z(e);else{if(!$(e))throw ai("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");this.$$search=e}break;default:g(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:vn("$$hash",m),replace:function(){return this.$$replace=!0,this}};var si,ui=r("$parse"),li={},ci={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:h,"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"^":function(e,t,n,r){return n(e,t)^r(e,t)},"=":h,"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)<r(e,t)},">":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"&":function(e,t,n,r){return n(e,t)&r(e,t)},"|":function(e,t,n,r){return r(e,t)(e,t,n(e,t))},"!":function(e,t,n){return!n(e,t)}},fi={n:"\n",f:"\f",r:"\r",t:" ",v:"","'":"'",'"':'"'},pi=function(e){this.options=e};pi.prototype={constructor:pi,lex:function(e){this.text=e,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];for(var t,r=[];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("{,")&&"{"===r[0]&&(t=this.tokens[this.tokens.length-1])&&(t.json=-1===t.text.indexOf("."));else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&r.unshift(this.ch),this.is("}]")&&r.shift(),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var i=this.ch+this.peek(),o=i+this.peek(2),a=ci[this.ch],s=ci[i],u=ci[o];u?(this.tokens.push({index:this.index,text:o,fn:u}),this.index+=3):s?(this.tokens.push({index:this.index,text:i,fn:s}),this.index+=2):a?(this.tokens.push({index:this.index,text:this.ch,fn:a,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(e){return-1!==e.indexOf(this.ch)},was:function(e){return-1!==e.indexOf(this.lastCh)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||""===e||"\xa0"===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw ui("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=dr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}e=1*e,this.tokens.push({index:t,text:e,json:!0,fn:function(){return e}})},readIdent:function(){for(var e,t,n,r,i=this,o="",a=this.index;this.index<this.text.length&&(r=this.text.charAt(this.index),"."===r||this.isIdent(r)||this.isNumber(r));)"."===r&&(e=this.index),o+=r,this.index++;if(e)for(t=this.index;t<this.text.length;){if(r=this.text.charAt(t),"("===r){n=o.substr(e-a+1),o=o.substr(0,e-a),this.index=t;break}if(!this.isWhitespace(r))break;t++}var s={index:a,text:o};if(ci.hasOwnProperty(o))s.fn=ci[o],s.json=ci[o];else{var u=Tn(o,this.options,this.text);s.fn=f(function(e,t){return u(e,t)},{assign:function(e,t){return xn(e,o,t,i.text,i.options)}})}this.tokens.push(s),n&&(this.tokens.push({index:e,text:".",json:!1}),this.tokens.push({index:e+1,text:n,json:!1}))},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=fi[o];n+=s?s:o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,string:n,json:!0,fn:function(){return n}});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var di=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n};di.ZERO=f(function(){return 0},{constant:!0}),di.prototype={constructor:di,parse:function(e,t){this.text=e,this.json=t,this.tokens=this.lexer.lex(e),t&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:e,index:0})});var n=t?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 e;if(this.expect("("))e=this.filterChain(),this.consume(")");else if(this.expect("["))e=this.arrayDeclaration();else if(this.expect("{"))e=this.object();else{var t=this.expect();e=t.fn,e||this.throwError("not a primary expression",t),t.json&&(e.constant=!0,e.literal=!0)}for(var n,r;n=this.expect("(","[",".");)"("===n.text?(e=this.functionCall(e,r),r=null):"["===n.text?(r=e,e=this.objectIndex(e)):"."===n.text?(r=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw ui("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw ui("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){if(this.tokens.length>0){var i=this.tokens[0],o=i.text;if(o===e||o===t||o===n||o===r||!e&&!t&&!n&&!r)return i}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.json&&!i.json&&this.throwError("is not valid json",i),this.tokens.shift(),i):!1},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(e,t){return f(function(n,r){return e(n,r,t)},{constant:t.constant})},ternaryFn:function(e,t,n){return f(function(r,i){return e(r,i)?t(r,i):n(r,i)},{constant:e.constant&&t.constant&&n.constant})},binaryFn:function(e,t,n){return f(function(r,i){return t(r,i,e,n)},{constant:e.constant&&n.constant})},statements:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0;i<e.length;i++){var o=e[i];o&&(r=o(t,n))}return r}},filterChain:function(){for(var e,t=this.expression();;){if(!(e=this.expect("|")))return t;t=this.binaryFn(t,e.fn,this.filter())}},filter:function(){for(var e=this.expect(),t=this.$filter(e.text),n=[];;){if(!(e=this.expect(":"))){var r=function(e,r,i){for(var o=[i],a=0;a<n.length;a++)o.push(n[a](e,r));return t.apply(e,o)};return function(){return r}}n.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),function(t,r){return n.assign(t,e(t,r),r)}):n},ternary:function(){var e,t,n=this.logicalOR();return(t=this.expect("?"))?(e=this.ternary(),(t=this.expect(":"))?this.ternaryFn(n,e,this.ternary()):void this.throwError("expected :",t)):n},logicalOR:function(){for(var e,t=this.logicalAND();;){if(!(e=this.expect("||")))return t;t=this.binaryFn(t,e.fn,this.logicalAND())}},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND())),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(di.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(e){var t=this,n=this.expect().text,r=Tn(n,this.options,this.text);return f(function(t,n,i){return r(i||e(t,n))},{assign:function(r,i,o){return xn(e(r,o),n,i,t.text,t.options)}})},objectIndex:function(e){var t=this,r=this.expression();return this.consume("]"),f(function(i,o){var a,s,u=e(i,o),l=r(i,o);return u?(a=bn(u[l],t.text),a&&a.then&&t.options.unwrapPromises&&(s=a,"$$v"in a||(s.$$v=n,s.then(function(e){s.$$v=e})),a=a.$$v),a):n},{assign:function(n,i,o){var a=r(n,o),s=bn(e(n,o),t.text);return s[a]=i}})},functionCall:function(e,t){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var a=[],s=t?t(i,o):i,u=0;u<n.length;u++)a.push(n[u](i,o));var l=e(i,o,s)||h;bn(s,r.text),bn(l,r.text);var c=l.apply?l.apply(s,a):l(a[0],a[1],a[2],a[3],a[4]);return bn(c,r.text)}},arrayDeclaration:function(){var e=[],t=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var n=this.expression();e.push(n),n.constant||(t=!1)}while(this.expect(","));return this.consume("]"),f(function(t,n){for(var r=[],i=0;i<e.length;i++)r.push(e[i](t,n));return r},{literal:!0,constant:t})},object:function(){var e=[],t=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.expect(),r=n.string||n.text;this.consume(":");var i=this.expression();e.push({key:r,value:i}),i.constant||(t=!1)}while(this.expect(","));return this.consume("}"),f(function(t,n){for(var r={},i=0;i<e.length;i++){var o=e[i];r[o.key]=o.value(t,n)}return r},{literal:!0,constant:t})}};var hi={},mi=r("$sce"),vi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},gi=t.createElement("a"),yi=In(e.location.href,!0);Vn.$inject=["$provide"],zn.$inject=["$locale"],Un.$inject=["$locale"];var $i=".",bi={yyyy:Zn("FullYear",4),yy:Zn("FullYear",2,0,!0),y:Zn("FullYear",1),MMMM:Qn("Month"),MMM:Qn("Month",!0),MM:Zn("Month",2,1),M:Zn("Month",1,1),dd:Zn("Date",2),d:Zn("Date",1),HH:Zn("Hours",2),H:Zn("Hours",1),hh:Zn("Hours",2,-12),h:Zn("Hours",1,-12),mm:Zn("Minutes",2),m:Zn("Minutes",1),ss:Zn("Seconds",2),s:Zn("Seconds",1),sss:Zn("Milliseconds",3),EEEE:Qn("Day"),EEE:Qn("Day",!0),a:Yn,Z:Jn},xi=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,wi=/^\-?\d+$/;Gn.$inject=["$locale"];var Ci=v(dr),Si=v(mr);tr.$inject=["$parse"];var Ti=v({restrict:"E",compile:function(e,n){return 8>=yr&&(n.href||n.name||n.$set("href",""),e.append(t.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(e,t){var n="[object SVGAnimatedString]"===Tr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),Ei={};o(Wr,function(e,t){if("multiple"!=e){var n=Vt("ng-"+t);Ei[n]=function(){return{priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(["src","srcset","href"],function(e){var t=Vt("ng-"+e);Ei[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Tr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(e){e&&(i.$set(a,e),yr&&o&&r.prop(o,i[a]))})}}}});var ki={$addControl:h,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h};
|
||
rr.$inject=["$element","$attrs","$scope","$animate"];var Ai=function(e){return["$timeout",function(t){var r={name:"form",restrict:e?"EAC":"E",controller:rr,compile:function(){return{pre:function(e,r,i,o){if(!i.action){var a=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};Pr(r[0],"submit",a),r.on("$destroy",function(){t(function(){qr(r[0],"submit",a)},0,!1)})}var s=r.parent().controller("form"),u=i.name||i.ngForm;u&&xn(e,u,o,u),s&&r.on("$destroy",function(){s.$removeControl(o),u&&xn(e,u,n,u),f(o,ki)})}}}};return r}]},Ni=Ai(),ji=Ai(!0),Oi=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Di=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,Mi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Li={text:ar,number:sr,url:ur,email:lr,radio:cr,checkbox:fr,hidden:h,button:h,submit:h,reset:h,file:h},Pi=["$browser","$sniffer",function(e,t){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(Li[dr(i.type)]||Li.text)(n,r,i,o,t,e)}}}],qi="ng-valid",Hi="ng-invalid",Ri="ng-pristine",Ii="ng-dirty",_i=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(e,t,n,i,a,s){function u(e,t){t=t?"-"+et(t,"-"):"",s.removeClass(i,(e?Hi:qi)+t),s.addClass(i,(e?qi:Hi)+t)}this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var l=a(n.ngModel),c=l.assign;if(!c)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,W(i));this.$render=h,this.$isEmpty=function(e){return g(e)||""===e||null===e||e!==e};var f=i.inheritedData("$formController")||ki,p=0,d=this.$error={};i.addClass(Ri),u(!0),this.$setValidity=function(e,t){d[e]!==!t&&(t?(d[e]&&p--,p||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,p++),d[e]=!t,u(t,e),f.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,s.removeClass(i,Ii),s.addClass(i,Ri)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,s.removeClass(i,Ri),s.addClass(i,Ii),f.$setDirty()),o(this.$parsers,function(e){n=e(n)}),this.$modelValue!==n&&(this.$modelValue=n,c(e,n),o(this.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}}))};var m=this;e.$watch(function(){var t=l(e);if(m.$modelValue!==t){var n=m.$formatters,r=n.length;for(m.$modelValue=t;r--;)t=n[r](t);m.$viewValue!==t&&(m.$viewValue=t,m.$render())}return t})}],Fi=function(){return{require:["ngModel","^?form"],controller:_i,link:function(e,t,n,r){var i=r[0],o=r[1]||ki;o.$addControl(i),e.$on("$destroy",function(){o.$removeControl(i)})}}},Vi=v({require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Bi=function(){return{require:"?ngModel",link:function(e,t,n,r){if(r){n.required=!0;var i=function(e){return n.required&&r.$isEmpty(e)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),e)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},zi=function(){return{require:"ngModel",link:function(e,t,r,i){var a=/\/(.*)\//.exec(r.ngList),s=a&&new RegExp(a[1])||r.ngList||",",u=function(e){if(!g(e)){var t=[];return e&&o(e.split(s),function(e){e&&t.push(Nr(e))}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return C(e)?e.join(", "):n}),i.$isEmpty=function(e){return!e||!e.length}}}},Ui=/^(true|false|\d+)$/,Wi=function(){return{priority:100,compile:function(e,t){return Ui.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Xi=nr(function(e,t,r){t.addClass("ng-binding").data("$binding",r.ngBind),e.$watch(r.ngBind,function(e){t.text(e==n?"":e)})}),Zi=["$interpolate",function(e){return function(t,n,r){var i=e(n.attr(r.$attr.ngBindTemplate));n.addClass("ng-binding").data("$binding",i),r.$observe("ngBindTemplate",function(e){n.text(e)})}}],Qi=["$sce","$parse",function(e,t){return function(n,r,i){function o(){return(a(n)||"").toString()}r.addClass("ng-binding").data("$binding",i.ngBindHtml);var a=t(i.ngBindHtml);n.$watch(o,function(){r.html(e.getTrustedHtml(a(n))||"")})}}],Ji=pr("",!0),Yi=pr("Odd",0),Gi=pr("Even",1),Ki=nr({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),eo=[function(){return{scope:!0,controller:"@",priority:500}}],to={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Vt("ng-"+e);to[t]=["$parse",function(n){return{compile:function(r,i){var o=n(i[t]);return function(t,n){n.on(dr(e),function(e){t.$apply(function(){o(t,{$event:e})})})}}}}]});var no=["$animate",function(e){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(o){U(o)?u||(u=n.$new(),a(u,function(n){n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)})):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=at(s.clone),e.leave(l,function(){l=null}),s=null))})}}}],ro=["$http","$templateCache","$anchorScroll","$animate","$sce",function(e,t,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:kr.noop,compile:function(o,a){var s=a.ngInclude||a.src,u=a.onload||"",l=a.autoscroll;return function(o,a,c,f,p){var d,h,m,v=0,g=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),m&&(r.leave(m,function(){h=null}),h=m,m=null)};o.$watch(i.parseAsResourceUrl(s),function(i){var s=function(){!y(l)||l&&!o.$eval(l)||n()},c=++v;i?(e.get(i,{cache:t}).success(function(e){if(c===v){var t=o.$new();f.template=e;var n=p(t,function(e){g(),r.enter(e,null,a,s)});d=t,m=n,d.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){c===v&&g()}),o.$emit("$includeContentRequested")):(g(),f.template=null)})}}}}],io=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){n.html(i.template),e(n.contents())(t)}}}],oo=nr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ao=nr({terminal:!0,priority:1e3}),so=["$locale","$interpolate",function(e,t){var n=/{}/g;return{restrict:"EA",link:function(r,i,a){var s=a.count,u=a.$attr.when&&i.attr(a.$attr.when),l=a.offset||0,c=r.$eval(u)||{},f={},p=t.startSymbol(),d=t.endSymbol(),h=/^when(Minus)?(.+)$/;o(a,function(e,t){h.test(t)&&(c[dr(t.replace("when","").replace("Minus","-"))]=i.attr(a.$attr[t]))}),o(c,function(e,r){f[r]=t(e.replace(n,p+s+"-"+l+d))}),r.$watch(function(){var t=parseFloat(r.$eval(s));return isNaN(t)?"":(t in c||(t=e.pluralCat(t-l)),f[t](r,i,!0))},function(e){i.text(e)})}}}],uo=["$parse","$animate",function(e,n){function a(e){return e.clone[0]}function s(e){return e.clone[e.clone.length-1]}var u="$$NG_REMOVED",l=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,c,f,p,d){var h,m,v,g,y,$,b,x,w,C=f.ngRepeat,S=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),T={$id:Ot};if(!S)throw l("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);if($=S[1],b=S[2],h=S[3],h?(m=e(h),v=function(e,t,n){return w&&(T[w]=e),T[x]=t,T.$index=n,m(r,T)}):(g=function(e,t){return Ot(t)},y=function(e){return e}),S=$.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!S)throw l("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",$);x=S[3]||S[1],w=S[2];var E={};r.$watchCollection(b,function(e){var f,p,h,m,$,b,S,T,k,A,N,j,O=c[0],D={},M=[];if(i(e))A=e,k=v||g;else{k=v||y,A=[];for(b in e)e.hasOwnProperty(b)&&"$"!=b.charAt(0)&&A.push(b);A.sort()}for(m=A.length,p=M.length=A.length,f=0;p>f;f++)if(b=e===A?f:A[f],S=e[b],T=k(b,S,f),it(T,"`track by` id"),E.hasOwnProperty(T))N=E[T],delete E[T],D[T]=N,M[f]=N;else{if(D.hasOwnProperty(T))throw o(M,function(e){e&&e.scope&&(E[e.id]=e)}),l("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",C,T);M[f]={id:T},D[T]=!1}for(b in E)E.hasOwnProperty(b)&&(N=E[b],j=at(N.clone),n.leave(j),o(j,function(e){e[u]=!0}),N.scope.$destroy());for(f=0,p=A.length;p>f;f++){if(b=e===A?f:A[f],S=e[b],N=M[f],M[f-1]&&(O=s(M[f-1])),N.scope){$=N.scope,h=O;do h=h.nextSibling;while(h&&h[u]);a(N)!=h&&n.move(at(N.clone),null,$r(O)),O=s(N)}else $=r.$new();$[x]=S,w&&($[w]=b),$.$index=f,$.$first=0===f,$.$last=f===m-1,$.$middle=!($.$first||$.$last),$.$odd=!($.$even=0===(1&f)),N.scope||d($,function(e){e[e.length++]=t.createComment(" end ngRepeat: "+C+" "),n.enter(e,null,$r(O)),O=e,N.scope=$,N.clone=e,D[N.id]=N})}E=D})}}}],lo=["$animate",function(e){return function(t,n,r){t.$watch(r.ngShow,function(t){e[U(t)?"removeClass":"addClass"](n,"ng-hide")})}}],co=["$animate",function(e){return function(t,n,r){t.$watch(r.ngHide,function(t){e[U(t)?"addClass":"removeClass"](n,"ng-hide")})}}],fo=nr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),po=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,n,r,i){var a,s,u,l=r.ngSwitch||r.on,c=[];t.$watch(l,function(n){var l,f=c.length;if(f>0){if(u){for(l=0;f>l;l++)u[l].remove();u=null}for(u=[],l=0;f>l;l++){var p=s[l];c[l].$destroy(),u[l]=p,e.leave(p,function(){u.splice(l,1),0===u.length&&(u=null)})}}s=[],c=[],(a=i.cases["!"+n]||i.cases["?"])&&(t.$eval(r.change),o(a,function(n){var r=t.$new();c.push(r),n.transclude(r,function(t){var r=n.element;s.push(t),e.enter(t,r.parent(),r)})}))})}}}],ho=nr({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),mo=nr({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),vo=nr({link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",W(t));o(function(e){t.empty(),t.append(e)})}}),go=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],yo=r("ngOptions"),$o=v({terminal:!0}),bo=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:h};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i,o=this,a={},u=s;o.databound=n.ngModel,o.init=function(e,t,n){u=e,r=t,i=n},o.addOption=function(t){it(t,'"option value"'),a[t]=!0,u.$viewValue==t&&(e.val(t),i.parent()&&i.remove())},o.removeOption=function(e){this.hasOption(e)&&(delete a[e],u.$viewValue==e&&this.renderUnknownOption(e))},o.renderUnknownOption=function(t){var n="? "+Ot(t)+" ?";i.val(n),e.prepend(i),e.val(n),i.prop("selected",!0)},o.hasOption=function(e){return a.hasOwnProperty(e)},t.$on("$destroy",function(){o.renderUnknownOption=h})}],link:function(s,u,l,c){function f(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(T.parent()&&T.remove(),t.val(e),""===e&&h.prop("selected",!0)):g(e)&&h?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){T.parent()&&T.remove(),n.$setViewValue(t.val())})})}function p(e,t,n){var r;n.$render=function(){var e=new Dt(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){H(r,n.$viewValue)||(r=P(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function d(t,o,s){function u(){var e,n,r,i,u,l,v,b,E,k,A,N,j,O,D,M={"":[]},L=[""],P=s.$modelValue,q=m(t)||[],H=p?a(q):q,R={},I=!1;if($)if(g&&C(P)){I=new Dt([]);for(var _=0;_<P.length;_++)R[f]=P[_],I.put(g(t,R),P[_])}else I=new Dt(P);for(A=0;E=H.length,E>A;A++){if(v=A,p){if(v=H[A],"$"===v.charAt(0))continue;R[p]=v}if(R[f]=q[v],e=d(t,R)||"",(n=M[e])||(n=M[e]=[],L.push(e)),$)N=y(I.remove(g?g(t,R):h(t,R)));else{if(g){var F={};F[f]=P,N=g(t,F)===g(t,R)}else N=P===h(t,R);I=I||N}D=c(t,R),D=y(D)?D:"",n.push({id:g?g(t,R):p?H[A]:A,label:D,selected:N})}for($||(x||null===P?M[""].unshift({id:"",label:"",selected:!I}):I||M[""].unshift({id:"?",label:"",selected:!0})),k=0,b=L.length;b>k;k++){for(e=L[k],n=M[e],T.length<=k?(i={element:S.clone().attr("label",e),label:n.label},u=[i],T.push(u),o.append(i.element)):(u=T[k],i=u[0],i.label!=e&&i.element.attr("label",i.label=e)),j=null,A=0,E=n.length;E>A;A++)r=n[A],(l=u[A+1])?(j=l.element,l.label!==r.label&&j.text(l.label=r.label),l.id!==r.id&&j.val(l.id=r.id),l.selected!==r.selected&&j.prop("selected",l.selected=r.selected)):(""===r.id&&x?O=x:(O=w.clone()).val(r.id).attr("selected",r.selected).text(r.label),u.push(l={element:O,label:r.label,id:r.id,selected:r.selected}),j?j.after(O):i.element.append(O),j=O);for(A++;u.length>A;)u.pop().element.remove()}for(;T.length>k;)T.pop()[0].element.remove()}var l;if(!(l=b.match(i)))throw yo("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",b,W(o));var c=r(l[2]||l[1]),f=l[4]||l[6],p=l[5],d=r(l[3]||""),h=r(l[2]?l[1]:f),m=r(l[7]),v=l[8],g=v?r(l[8]):null,T=[[{element:o,label:""}]];x&&(e(x)(t),x.removeClass("ng-scope"),x.remove()),o.empty(),o.on("change",function(){t.$apply(function(){var e,r,i,a,u,l,c,d,v,y=m(t)||[],b={};if($){for(i=[],l=0,d=T.length;d>l;l++)for(e=T[l],u=1,c=e.length;c>u;u++)if((a=e[u].element)[0].selected){if(r=a.val(),p&&(b[p]=r),g)for(v=0;v<y.length&&(b[f]=y[v],g(t,b)!=r);v++);else b[f]=y[r];i.push(h(t,b))}}else{if(r=o.val(),"?"==r)i=n;else if(""===r)i=null;else if(g){for(v=0;v<y.length;v++)if(b[f]=y[v],g(t,b)==r){i=h(t,b);break}}else b[f]=y[r],p&&(b[p]=r),i=h(t,b);T[0].length>1&&T[0][1].id!==r&&(T[0][1].selected=!1)}s.$setViewValue(i)})}),s.$render=u,t.$watch(u)}if(c[1]){for(var h,m=c[0],v=c[1],$=l.multiple,b=l.ngOptions,x=!1,w=$r(t.createElement("option")),S=$r(t.createElement("optgroup")),T=w.clone(),E=0,k=u.children(),A=k.length;A>E;E++)if(""===k[E].value){h=x=k.eq(E);break}m.init(v,x,T),$&&(v.$isEmpty=function(e){return!e||0===e.length}),b?d(s,u,v):$?p(s,u,v):f(s,u,v,m)}}}}],xo=["$interpolate",function(e){var t={addOption:h,removeOption:h};return{restrict:"E",priority:100,compile:function(n,r){if(g(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound?n.prop("selected",!1):s=t,i?e.$watch(i,function(e,t){r.$set("value",e),e!==t&&s.removeOption(t),s.addOption(e)}):s.addOption(r.value),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],wo=v({restrict:"E",terminal:!0});return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(tt(),ut(kr),void $r(t).ready(function(){G(t,K)}))}(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>'),function(e){"use strict";function t(t,n){this.itemsArray=[],this.$element=e(t),this.$element.hide(),this.isSelect="SELECT"===t.tagName,this.multiple=this.isSelect&&t.hasAttribute("multiple"),this.objectItems=n&&n.itemValue,this.$container=e('<div class="bootstrap-tagsinput"></div>'),this.$input=e('<input size="100" type="text" />').appendTo(this.$container),this.$element.after(this.$container),this.build(n)}function n(e,t){if("function"!=typeof e[t]){var n=e[t];e[t]=function(e){return e[n]}}}function r(e,t){if("function"!=typeof e[t]){var n=e[t];e[t]=function(){return n}}}function i(e){return e?s.text(e).html():""}function o(e){var t=0;if(document.selection){e.focus();var n=document.selection.createRange();n.moveStart("character",-e.value.length),t=n.text.length}else(e.selectionStart||"0"==e.selectionStart)&&(t=e.selectionStart);return t}var a={tagClass:function(){return"label label-info"},itemValue:function(e){return e?e.toString():e},itemText:function(e){return this.itemValue(e)},freeInput:!0};t.prototype={constructor:t,add:function(t,n){var r=this;if(t===!1||t){if("object"==typeof t&&!r.objectItems)throw"Can't add objects when itemValue option is not set";if(!t.toString().match(/^\s*$/)){if(r.isSelect&&!r.multiple&&r.itemsArray.length>0&&r.remove(r.itemsArray[0]),"string"==typeof t&&"INPUT"===this.$element[0].tagName){var o=t.split(",");if(o.length>1){for(var a=0;a<o.length;a++)this.add(o[a],!0);return void(n||r.pushVal())}}var s=r.options.itemValue(t),u=r.options.itemText(t),l=r.options.tagClass(t);if(!e.grep(r.itemsArray,function(e){return r.options.itemValue(e)===s})[0]){r.itemsArray.push(t);var c=e('<span class="tag '+i(l)+'"><span class="tag-item">'+i(u)+'</span><span class="remove" data-role="remove"></span></span>');if(c.data("item",t),r.$input.before(c),r.isSelect&&!e('option[value="'+escape(s)+'"]')[0]){var f=e("<option selected>"+i(u)+"</option>");f.data("item",t),f.attr("value",s),r.$element.append(f)}n||r.pushVal(),r.$element.trigger(e.Event("itemAdded",{item:t}))}}}},remove:function(t,n){var r=this;r.objectItems&&(t="object"==typeof t?e.grep(r.itemsArray,function(e){return r.options.itemValue(e)==r.options.itemValue(t)})[0]:e.grep(r.itemsArray,function(e){return r.options.itemValue(e)==t})[0]),t&&(e(".tag",r.$container).filter(function(){return e(this).data("item")===t}).remove(),e("option",r.$element).filter(function(){return e(this).data("item")===t}).remove(),r.itemsArray.splice(r.itemsArray.indexOf(t),1)),n||r.pushVal(),r.$element.trigger(e.Event("itemRemoved",{item:t}))},removeAll:function(){var t=this;for(e(".tag",t.$container).remove(),e("option",t.$element).remove();t.itemsArray.length>0;)t.itemsArray.pop();t.pushVal()},refresh:function(){var t=this;e(".tag",t.$container).each(function(){var n=e(this),r=n.data("item"),o=t.options.itemValue(r),a=t.options.itemText(r),s=t.options.tagClass(r);if(n.attr("class",null),n.addClass("tag "+i(s)),n.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=i(a),t.isSelect){var u=e("option",t.$element).filter(function(){return e(this).data("item")===r});u.attr("value",o)}})},items:function(){return this.itemsArray},pushVal:function(){var t=this,n=e.map(t.items(),function(e){return t.options.itemValue(e).toString()});t.$element.val(n,!0).trigger("change")},build:function(t){var i=this;i.options=e.extend({},a,t);var s=i.options.typeahead||{};i.objectItems&&(i.options.freeInput=!1),n(i.options,"itemValue"),n(i.options,"itemText"),n(i.options,"tagClass"),i.options.source&&(s.source=i.options.source),s.source&&e.fn.typeahead&&(r(s,"source"),i.$input.typeahead({source:function(t,n){function r(e){for(var t=[],r=0;r<e.length;r++){var a=i.options.itemText(e[r]);o[a]=e[r],t.push(a)}n(t)}this.map={};var o=this.map,a=s.source(t);e.isFunction(a.success)?a.success(r):e.when(a).then(r)},updater:function(e){i.add(this.map[e])},matcher:function(e){return-1!==e.toLowerCase().indexOf(this.query.trim().toLowerCase())},sorter:function(e){return e.sort()},highlighter:function(e){var t=new RegExp("("+this.query+")","gi");return e.replace(t,"<strong>$1</strong>")}})),i.$container.on("click",e.proxy(function(){i.$input.focus()},i)),i.$container.on("keydown","input",e.proxy(function(t){var n=e(t.target);switch(t.which){case 8:if(0===o(n[0])){var r=n.prev();r&&i.remove(r.data("item"))}break;case 46:if(0===o(n[0])){var a=n.next();a&&i.remove(a.data("item"))}break;case 37:var s=n.prev();0===n.val().length&&s[0]&&(s.before(n),n.focus());break;case 39:var u=n.next();0===n.val().length&&u[0]&&(u.after(n),n.focus());break;case 188:case 13:i.options.freeInput&&(i.add(n.val()),n.val(""),t.preventDefault())}n.attr("size",Math.max(100,n.val().length))},i)),i.$container.on("click","[data-role=remove]",e.proxy(function(t){i.remove(e(t.target).closest(".tag").data("item"))},i)),"INPUT"===i.$element[0].tagName?i.add(i.$element.val()):e("option",i.$element).each(function(){i.add(e(this).attr("value"),!0)})},destroy:function(){var e=this;e.$container.off("keypress","input"),e.$container.off("click","[50role=remove]"),e.$container.remove(),e.$element.removeData("tagsinput"),e.$element.show()},focus:function(){this.$input.focus()}},e.fn.tagsinput=function(n,r){var i=[];return this.each(function(){var o=e(this).data("tagsinput");if(o){var a=o[n](r);void 0!==a&&i.push(a)}else o=new t(this,n),e(this).data("tagsinput",o),i.push(o),"SELECT"===this.tagName&&e("option",e(this)).attr("selected","selected"),e(this).val(e(this).val())}),"string"==typeof n?i.length>1?i:i[0]:i},e.fn.tagsinput.Constructor=t;var s=e("<div />");e(function(){e("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery),function(e){var t=0,n=function(){return(new Date).getTime()+t++},r=function(e){return"["+e+"]$1"},i=function(e){return"_"+e+"_$1"};e(document).on("click",".add_fields",function(t){t.preventDefault();var o=e(this),a=o.data("association"),s=o.data("associations"),u=o.data("association-insertion-template"),l=o.data("association-insertion-method")||o.data("association-insertion-position")||"before",c=o.data("association-insertion-node"),f=o.data("association-insertion-traversal"),p=parseInt(o.data("count"),10),d=new RegExp("\\[new_"+a+"\\](.*?\\s)","g"),h=new RegExp("_new_"+a+"_(\\w*)","g"),m=n(),v=u.replace(d,r(m)),g=[];for(v==u&&(d=new RegExp("\\[new_"+s+"\\](.*?\\s)","g"),h=new RegExp("_new_"+s+"_(\\w*)","g"),v=u.replace(d,r(m))),v=v.replace(h,i(m)),g=[v],p=isNaN(p)?1:Math.max(p,1),p-=1;p;)m=n(),v=u.replace(d,r(m)),v=v.replace(h,i(m)),g.push(v),p-=1;c=c?f?o[f](c):"this"==c?o:e(c):o.parent(),e.each(g,function(t,n){var r=e(n);c.trigger("cocoon:before-insert",[r]);c[l](r);c.trigger("cocoon:after-insert",[r])})}),e(document).on("click",".remove_fields.dynamic, .remove_fields.existing",function(t){var n=e(this),r=n.data("wrapper-class")||"nested-fields",i=n.closest("."+r),o=i.parent();t.preventDefault(),o.trigger("cocoon:before-remove",[i]);var a=o.data("remove-timeout")||0;setTimeout(function(){n.hasClass("dynamic")?i.remove():(n.prev("input[type=hidden]").val("1"),i.hide()),o.trigger("cocoon:after-remove",[i])},a)}),e(".remove_fields.existing.destroyed").each(function(){var t=e(this),n=t.data("wrapper-class")||"nested-fields";t.closest("."+n).hide()})}(jQuery),function(){"use strict";function e(e){return e.replace(/,/g,".").replace(/[^0-9\.]/g,"")}function t(t){return parseFloat(e(t))>=10}var n,r={bridge:null,version:"0.0.0",disabled:null,outdated:null,ready:null},i={},o=0,a={},s=0,u={},l=null,c=null,f=function(){var e,t,n,r,i="ZeroClipboard.swf";if(document.currentScript&&(r=document.currentScript.src));else{var o=document.getElementsByTagName("script");if("readyState"in o[0])for(e=o.length;e--&&("interactive"!==o[e].readyState||!(r=o[e].src)););else if("loading"===document.readyState)r=o[o.length-1].src;else{for(e=o.length;e--;){if(n=o[e].src,!n){t=null;break}if(n=n.split("#")[0].split("?")[0],n=n.slice(0,n.lastIndexOf("/")+1),null==t)t=n;else if(t!==n){t=null;break}}null!==t&&(r=t)}}return r&&(r=r.split("#")[0].split("?")[0],i=r.slice(0,r.lastIndexOf("/")+1)+i),i}(),p=function(){var e=/\-([a-z])/g,t=function(e,t){return t.toUpperCase()};return function(n){return n.replace(e,t)}}(),d=function(e,t){var n,r,i;return window.getComputedStyle?n=window.getComputedStyle(e,null).getPropertyValue(t):(r=p(t),n=e.currentStyle?e.currentStyle[r]:e.style[r]),"cursor"!==t||n&&"auto"!==n||(i=e.tagName.toLowerCase(),"a"!==i)?n:"pointer"},h=function(e){e||(e=window.event);var t;this!==window?t=this:e.target?t=e.target:e.srcElement&&(t=e.srcElement),L.activate(t)},m=function(e,t,n){e&&1===e.nodeType&&(e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n))},v=function(e,t,n){e&&1===e.nodeType&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n))},g=function(e,t){if(!e||1!==e.nodeType)return e;if(e.classList)return e.classList.contains(t)||e.classList.add(t),e;if(t&&"string"==typeof t){var n=(t||"").split(/\s+/);if(1===e.nodeType)if(e.className){for(var r=" "+e.className+" ",i=e.className,o=0,a=n.length;a>o;o++)r.indexOf(" "+n[o]+" ")<0&&(i+=" "+n[o]);e.className=i.replace(/^\s+|\s+$/g,"")}else e.className=t}return e},y=function(e,t){if(!e||1!==e.nodeType)return e;if(e.classList)return e.classList.contains(t)&&e.classList.remove(t),e;if(t&&"string"==typeof t||void 0===t){var n=(t||"").split(/\s+/);if(1===e.nodeType&&e.className)if(t){for(var r=(" "+e.className+" ").replace(/[\n\t]/g," "),i=0,o=n.length;o>i;i++)r=r.replace(" "+n[i]+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}else e.className=""}return e},$=function(){var e,t,n,r=1;return"function"==typeof document.body.getBoundingClientRect&&(e=document.body.getBoundingClientRect(),t=e.right-e.left,n=document.body.offsetWidth,r=Math.round(t/n*100)/100),r},b=function(e,t){var n={left:0,top:0,width:0,height:0,zIndex:E(t)-1};if(e.getBoundingClientRect){var r,i,o,a=e.getBoundingClientRect();"pageXOffset"in window&&"pageYOffset"in window?(r=window.pageXOffset,i=window.pageYOffset):(o=$(),r=Math.round(document.documentElement.scrollLeft/o),i=Math.round(document.documentElement.scrollTop/o));var s=document.documentElement.clientLeft||0,u=document.documentElement.clientTop||0;n.left=a.left+r-s,n.top=a.top+i-u,n.width="width"in a?a.width:a.right-a.left,n.height="height"in a?a.height:a.bottom-a.top}return n},x=function(e,t){var n=null==t||t&&t.cacheBust===!0&&t.useNoCache===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+(new Date).getTime():""},w=function(e){var t,n,r,i=[],o=[],a=[];if(e.trustedOrigins&&("string"==typeof e.trustedOrigins?o.push(e.trustedOrigins):"object"==typeof e.trustedOrigins&&"length"in e.trustedOrigins&&(o=o.concat(e.trustedOrigins))),e.trustedDomains&&("string"==typeof e.trustedDomains?o.push(e.trustedDomains):"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(o=o.concat(e.trustedDomains))),o.length)for(t=0,n=o.length;n>t;t++)if(o.hasOwnProperty(t)&&o[t]&&"string"==typeof o[t]){if(r=N(o[t]),!r)continue;if("*"===r){a=[r];break}a.push.apply(a,[r,"//"+r,window.location.protocol+"//"+r])}return a.length&&i.push("trustedOrigins="+encodeURIComponent(a.join(","))),"string"==typeof e.jsModuleId&&e.jsModuleId&&i.push("jsModuleId="+encodeURIComponent(e.jsModuleId)),i.join("&")},C=function(e,t,n){if("function"==typeof t.indexOf)return t.indexOf(e,n);var r,i=t.length;for("undefined"==typeof n?n=0:0>n&&(n=i+n),r=n;i>r;r++)if(t.hasOwnProperty(r)&&t[r]===e)return r;return-1},S=function(e){if("string"==typeof e)throw new TypeError("ZeroClipboard doesn't accept query strings.");return e.length?e:[e]},T=function(e,t,n,r){r?window.setTimeout(function(){e.apply(t,n)},0):e.apply(t,n)},E=function(e){var t,n;return e&&("number"==typeof e&&e>0?t=e:"string"==typeof e&&(n=parseInt(e,10))&&!isNaN(n)&&n>0&&(t=n)),t||("number"==typeof H.zIndex&&H.zIndex>0?t=H.zIndex:"string"==typeof H.zIndex&&(n=parseInt(H.zIndex,10))&&!isNaN(n)&&n>0&&(t=n)),t||0},k=function(e,t){if(e&&t!==!1&&"undefined"!=typeof console&&console&&(console.warn||console.log)){var n="`"+e+"` is deprecated. See docs for more info:\n https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#deprecations";console.warn?console.warn(n):console.log(n)}},A=function(){var e,t,n,r,i,o,a=arguments[0]||{};for(e=1,t=arguments.length;t>e;e++)if(null!=(n=arguments[e]))for(r in n)if(n.hasOwnProperty(r)){if(i=a[r],o=n[r],a===o)continue;void 0!==o&&(a[r]=o)}return a},N=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},j=function(){var e=function(e,t){var n,r,i;if(null!=e&&"*"!==t[0]&&("string"==typeof e&&(e=[e]),"object"==typeof e&&"length"in e))for(n=0,r=e.length;r>n;n++)if(e.hasOwnProperty(n)&&(i=N(e[n]))){if("*"===i){t.length=0,t.push("*");break}-1===C(i,t)&&t.push(i)}},t={always:"always",samedomain:"sameDomain",never:"never"};return function(n,r){var i,o=r.allowScriptAccess;if("string"==typeof o&&(i=o.toLowerCase())&&/^always|samedomain|never$/.test(i))return t[i];var a=N(r.moviePath);null===a&&(a=n);var s=[];e(r.trustedOrigins,s),e(r.trustedDomains,s);var u=s.length;if(u>0){if(1===u&&"*"===s[0])return"always";if(-1!==C(n,s))return 1===u&&n===a?"sameDomain":"always"}return"never"}}(),O=function(e){if(null==e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},D=function(e){if(e)for(var t in e)e.hasOwnProperty(t)&&delete e[t];return e},M=function(){var e=!1;if("boolean"==typeof r.disabled)e=r.disabled===!1;else{if("function"==typeof ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(e=!0)}catch(t){}!e&&navigator.mimeTypes["application/x-shockwave-flash"]&&(e=!0)}return e},L=function(e,t){return this instanceof L?(this.id=""+o++,a[this.id]={instance:this,elements:[],handlers:{}},e&&this.clip(e),"undefined"!=typeof t&&(k("new ZeroClipboard(elements, options)",H.debug),L.config(t)),this.options=L.config(),"boolean"!=typeof r.disabled&&(r.disabled=!M()),void(r.disabled===!1&&r.outdated!==!0&&null===r.bridge&&(r.outdated=!1,r.ready=!1,R()))):new L(e,t)};L.prototype.setText=function(e){return e&&""!==e&&(i["text/plain"]=e,r.ready===!0&&r.bridge&&r.bridge.setText(e)),this},L.prototype.setSize=function(e,t){return r.ready===!0&&r.bridge&&r.bridge.setSize(e,t),this};var P=function(e){r.ready===!0&&r.bridge&&r.bridge.setHandCursor(e)};L.prototype.destroy=function(){this.unclip(),this.off(),delete a[this.id]};var q=function(){var e,t,n,r=[],i=O(a);for(e=0,t=i.length;t>e;e++)n=a[i[e]].instance,n&&n instanceof L&&r.push(n);return r};L.version="1.3.1";var H={swfPath:f,trustedDomains:window.location.host?[window.location.host]:[],cacheBust:!0,forceHandCursor:!1,zIndex:999999999,debug:!0,title:null,autoActivate:!0};L.config=function(e){"object"==typeof e&&null!==e&&A(H,e);{if("string"!=typeof e||!e){var t={};for(var n in H)H.hasOwnProperty(n)&&(t[n]="object"==typeof H[n]&&null!==H[n]?"length"in H[n]?H[n].slice(0):A({},H[n]):H[n]);return t}if(H.hasOwnProperty(e))return H[e]}},L.destroy=function(){L.deactivate();for(var e in a)if(a.hasOwnProperty(e)&&a[e]){var t=a[e].instance;t&&"function"==typeof t.destroy&&t.destroy()}var n=I(r.bridge);n&&n.parentNode&&(n.parentNode.removeChild(n),r.ready=null,r.bridge=null)},L.activate=function(e){n&&(y(n,H.hoverClass),y(n,H.activeClass)),n=e,g(e,H.hoverClass),_();var t=H.title||e.getAttribute("title");if(t){var i=I(r.bridge);i&&i.setAttribute("title",t)}var o=H.forceHandCursor===!0||"pointer"===d(e,"cursor");P(o)},L.deactivate=function(){var e=I(r.bridge);e&&(e.style.left="0px",e.style.top="-9999px",e.removeAttribute("title")),n&&(y(n,H.hoverClass),y(n,H.activeClass),n=null)};var R=function(){var e,t,n=document.getElementById("global-zeroclipboard-html-bridge");if(!n){var i=L.config();i.jsModuleId="string"==typeof l&&l||"string"==typeof c&&c||null;var o=j(window.location.host,H),a=w(i),s=H.moviePath+x(H.moviePath,H),u=' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="global-zeroclipboard-flash-bridge" width="100%" height="100%"> <param name="movie" value="'+s+'"/> <param name="allowScriptAccess" value="'+o+'"/> <param name="scale" value="exactfit"/> <param name="loop" value="false"/> <param name="menu" value="false"/> <param name="quality" value="best" /> <param name="bgcolor" value="#ffffff"/> <param name="wmode" value="transparent"/> <param name="flashvars" value="'+a+'"/> <embed src="'+s+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="100%" height="100%" name="global-zeroclipboard-flash-bridge" allowScriptAccess="'+o+'" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+a+'" scale="exactfit"> </embed> </object>';
|
||
n=document.createElement("div"),n.id="global-zeroclipboard-html-bridge",n.setAttribute("class","global-zeroclipboard-container"),n.style.position="absolute",n.style.left="0px",n.style.top="-9999px",n.style.width="15px",n.style.height="15px",n.style.zIndex=""+E(H.zIndex),document.body.appendChild(n),n.innerHTML=u}e=document["global-zeroclipboard-flash-bridge"],e&&(t=e.length)&&(e=e[t-1]),r.bridge=e||n.children[0].lastElementChild},I=function(e){for(var t=/^OBJECT|EMBED$/,n=e&&e.parentNode;n&&t.test(n.nodeName)&&n.parentNode;)n=n.parentNode;return n||null},_=function(){if(n){var e=b(n,H.zIndex),t=I(r.bridge);t&&(t.style.top=e.top+"px",t.style.left=e.left+"px",t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.zIndex=e.zIndex+1),r.ready===!0&&r.bridge&&r.bridge.setSize(e.width,e.height)}return this};L.prototype.on=function(e,t){var n,i,o,s={},u=a[this.id]&&a[this.id].handlers;if("string"==typeof e&&e)o=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)e.hasOwnProperty(n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.on(n,e[n]);if(o&&o.length){for(n=0,i=o.length;i>n;n++)e=o[n].replace(/^on/,""),s[e]=!0,u[e]||(u[e]=[]),u[e].push(t);s.noflash&&r.disabled&&B.call(this,"noflash",{}),s.wrongflash&&r.outdated&&B.call(this,"wrongflash",{flashVersion:r.version}),s.load&&r.ready&&B.call(this,"load",{flashVersion:r.version})}return this},L.prototype.off=function(e,t){var n,r,i,o,s,u=a[this.id]&&a[this.id].handlers;if(0===arguments.length)o=O(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)e.hasOwnProperty(n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=u[e],s&&s.length)if(t)for(i=C(t,s);-1!==i;)s.splice(i,1),i=C(t,s,i);else u[e].length=0;return this},L.prototype.handlers=function(e){var t,n=null,r=a[this.id]&&a[this.id].handlers;if(r){if("string"==typeof e&&e)return r[e]?r[e].slice(0):null;n={};for(t in r)r.hasOwnProperty(t)&&r[t]&&(n[t]=r[t].slice(0))}return n};var F=function(e,t,n,r){var i=a[this.id]&&a[this.id].handlers[e];if(i&&i.length){var o,s,u,l=t||this;for(o=0,s=i.length;s>o;o++)u=i[o],t=l,"string"==typeof u&&"function"==typeof window[u]&&(u=window[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(t=u,u=u.handleEvent),"function"==typeof u&&T(u,t,n,r)}return this};L.prototype.clip=function(e){e=S(e);for(var t=0;t<e.length;t++)if(e.hasOwnProperty(t)&&e[t]&&1===e[t].nodeType){e[t].zcClippingId?-1===C(this.id,u[e[t].zcClippingId])&&u[e[t].zcClippingId].push(this.id):(e[t].zcClippingId="zcClippingId_"+s++,u[e[t].zcClippingId]=[this.id],H.autoActivate===!0&&m(e[t],"mouseover",h));var n=a[this.id].elements;-1===C(e[t],n)&&n.push(e[t])}return this},L.prototype.unclip=function(e){var t=a[this.id];if(t){var n,r=t.elements;e="undefined"==typeof e?r.slice(0):S(e);for(var i=e.length;i--;)if(e.hasOwnProperty(i)&&e[i]&&1===e[i].nodeType){for(n=0;-1!==(n=C(e[i],r,n));)r.splice(n,1);var o=u[e[i].zcClippingId];if(o){for(n=0;-1!==(n=C(this.id,o,n));)o.splice(n,1);0===o.length&&(H.autoActivate===!0&&v(e[i],"mouseover",h),delete e[i].zcClippingId)}}}return this},L.prototype.elements=function(){var e=a[this.id];return e&&e.elements?e.elements.slice(0):[]};var V=function(e){var t,n,r,i,o,s=[];if(e&&1===e.nodeType&&(t=e.zcClippingId)&&u.hasOwnProperty(t)&&(n=u[t],n&&n.length))for(r=0,i=n.length;i>r;r++)o=a[n[r]].instance,o&&o instanceof L&&s.push(o);return s};H.hoverClass="zeroclipboard-is-hover",H.activeClass="zeroclipboard-is-active",H.trustedOrigins=null,H.allowScriptAccess=null,H.useNoCache=!0,H.moviePath="ZeroClipboard.swf",L.detectFlashSupport=function(){return k("ZeroClipboard.detectFlashSupport",H.debug),M()},L.dispatch=function(e,t){if("string"==typeof e&&e){var r=e.toLowerCase().replace(/^on/,"");if(r)for(var i=n?V(n):q(),o=0,a=i.length;a>o;o++)B.call(i[o],r,t)}},L.prototype.setHandCursor=function(e){return k("ZeroClipboard.prototype.setHandCursor",H.debug),e="boolean"==typeof e?e:!!e,P(e),H.forceHandCursor=e,this},L.prototype.reposition=function(){return k("ZeroClipboard.prototype.reposition",H.debug),_()},L.prototype.receiveEvent=function(e,t){if(k("ZeroClipboard.prototype.receiveEvent",H.debug),"string"==typeof e&&e){var n=e.toLowerCase().replace(/^on/,"");n&&B.call(this,n,t)}},L.prototype.setCurrent=function(e){return k("ZeroClipboard.prototype.setCurrent",H.debug),L.activate(e),this},L.prototype.resetBridge=function(){return k("ZeroClipboard.prototype.resetBridge",H.debug),L.deactivate(),this},L.prototype.setTitle=function(e){if(k("ZeroClipboard.prototype.setTitle",H.debug),e=e||H.title||n&&n.getAttribute("title")){var t=I(r.bridge);t&&t.setAttribute("title",e)}return this},L.setDefaults=function(e){k("ZeroClipboard.setDefaults",H.debug),L.config(e)},L.prototype.addEventListener=function(e,t){return k("ZeroClipboard.prototype.addEventListener",H.debug),this.on(e,t)},L.prototype.removeEventListener=function(e,t){return k("ZeroClipboard.prototype.removeEventListener",H.debug),this.off(e,t)},L.prototype.ready=function(){return k("ZeroClipboard.prototype.ready",H.debug),r.ready===!0};var B=function(o,a){o=o.toLowerCase().replace(/^on/,"");var s=a&&a.flashVersion&&e(a.flashVersion)||null,u=n,l=!0;switch(o){case"load":if(s){if(!t(s))return void B.call(this,"onWrongFlash",{flashVersion:s});r.outdated=!1,r.ready=!0,r.version=s}break;case"wrongflash":s&&!t(s)&&(r.outdated=!0,r.ready=!1,r.version=s);break;case"mouseover":g(u,H.hoverClass);break;case"mouseout":H.autoActivate===!0&&L.deactivate();break;case"mousedown":g(u,H.activeClass);break;case"mouseup":y(u,H.activeClass);break;case"datarequested":var c=u.getAttribute("data-clipboard-target"),f=c?document.getElementById(c):null;if(f){var p=f.value||f.textContent||f.innerText;p&&this.setText(p)}else{var d=u.getAttribute("data-clipboard-text");d&&this.setText(d)}l=!1;break;case"complete":D(i)}var h=u,m=[this,a];return F.call(this,o,h,m,l)};"function"==typeof define&&define.amd?define(["require","exports","module"],function(e,t,n){return l=n&&n.id||null,L}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports?(c=module.id||null,module.exports=L):window.ZeroClipboard=L}(),ZeroClipboard.config({moviePath:"http://propel-vidpush-production.s3.amazonaws.com/assets/ZeroClipboard-a28de3eb86c993c5142f803a40c9745b.swf"}),angular.module("bootstrap-tagsinput",[]).directive("bootstrapTagsinput",[function(){function e(e,t){return t?angular.isFunction(e.$parent[t])?e.$parent[t]:function(e){return e[t]}:void 0}return{restrict:"EA",scope:{model:"=ngModel"},template:"<select multiple></select>",replace:!1,link:function(t,n,r){$(function(){angular.isArray(t.model)||(t.model=[]);var i=$("select",n);i.tagsinput({typeahead:{source:angular.isFunction(t.$parent[r.typeaheadSource])?t.$parent[r.typeaheadSource]:null},itemValue:e(t,r.itemvalue),itemText:e(t,r.itemtext),tagClass:angular.isFunction(t.$parent[r.tagclass])?t.$parent[r.tagclass]:function(){return r.tagclass}});for(var o=0;o<t.model.length;o++)i.tagsinput("add",t.model[o]);i.on("itemAdded",function(e){-1===t.model.indexOf(e.item)&&t.model.push(e.item)}),i.on("itemRemoved",function(e){var n=t.model.indexOf(e.item);-1!==n&&t.model.splice(n,1)});var a=t.model.slice();t.$watch("model",function(){var e,n=t.model.filter(function(e){return-1===a.indexOf(e)}),r=a.filter(function(e){return-1===t.model.indexOf(e)});for(a=t.model.slice(),e=0;e<r.length;e++)i.tagsinput("remove",r[e]);for(i.tagsinput("refresh"),e=0;e<n.length;e++)i.tagsinput("add",n[e])},!0)})}}}]),!function(e){"use strict";function t(t,n){this.itemsArray=[],this.$element=e(t),this.$element.hide(),this.isSelect="SELECT"===t.tagName,this.multiple=this.isSelect&&t.hasAttribute("multiple"),this.objectItems=n&&n.itemValue,this.$container=e('<div class="bootstrap-tagsinput"></div>'),this.$input=e('<input size="1" type="text" />').appendTo(this.$container),this.$element.after(this.$container),this.build(n)}function n(e,t){if("function"!=typeof e[t]){var n=e[t];e[t]=function(e){return e[n]}}}function r(e,t){if("function"!=typeof e[t]){var n=e[t];e[t]=function(){return n}}}function i(e){return e?s.text(e).html():""}function o(e){var t=0;if(document.selection){e.focus();var n=document.selection.createRange();n.moveStart("character",-e.value.length),t=n.text.length}else(e.selectionStart||"0"==e.selectionStart)&&(t=e.selectionStart);return t}var a={tagClass:function(){return"label label-info"},itemValue:function(e){return e?e.toString():e},itemText:function(e){return this.itemValue(e)},freeInput:!0};t.prototype={constructor:t,add:function(t,n){var r=this;if(t===!1||t){if("object"==typeof t&&!r.objectItems)throw"Can't add objects when itemValue option is not set";if(!t.toString().match(/^\s*$/)){if(r.isSelect&&!r.multiple&&r.itemsArray.length>0&&r.remove(r.itemsArray[0]),"string"==typeof t&&"INPUT"===this.$element[0].tagName){var o=t.split(",");if(o.length>1){for(var a=0;a<o.length;a++)this.add(o[a],!0);return void(n||r.pushVal())}}var s=r.options.itemValue(t),u=r.options.itemText(t),l=r.options.tagClass(t);if(!e.grep(r.itemsArray,function(e){return r.options.itemValue(e)===s})[0]){r.itemsArray.push(t);var c=e('<span class="tag '+i(l)+'">'+i(u)+'<span data-role="remove"></span></span>');if(c.data("item",t),r.$input.before(c),r.isSelect&&!e('option[value="'+escape(s)+'"]')[0]){var f=e("<option selected>"+i(u)+"</option>");f.data("item",t),f.attr("value",s),r.$element.append(f)}n||r.pushVal(),r.$element.trigger(e.Event("itemAdded",{item:t}))}}}},remove:function(t,n){var r=this;r.objectItems&&(t="object"==typeof t?e.grep(r.itemsArray,function(e){return r.options.itemValue(e)==r.options.itemValue(t)})[0]:e.grep(r.itemsArray,function(e){return r.options.itemValue(e)==t})[0]),t&&(e(".tag",r.$container).filter(function(){return e(this).data("item")===t}).remove(),e("option",r.$element).filter(function(){return e(this).data("item")===t}).remove(),r.itemsArray.splice(r.itemsArray.indexOf(t),1)),n||r.pushVal(),r.$element.trigger(e.Event("itemRemoved",{item:t}))},removeAll:function(){var t=this;for(e(".tag",t.$container).remove(),e("option",t.$element).remove();t.itemsArray.length>0;)t.itemsArray.pop();t.pushVal()},refresh:function(){var t=this;e(".tag",t.$container).each(function(){var n=e(this),r=n.data("item"),o=t.options.itemValue(r),a=t.options.itemText(r),s=t.options.tagClass(r);if(n.attr("class",null),n.addClass("tag "+i(s)),n.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=i(a),t.isSelect){var u=e("option",t.$element).filter(function(){return e(this).data("item")===r});u.attr("value",o)}})},items:function(){return this.itemsArray},pushVal:function(){var t=this,n=e.map(t.items(),function(e){return t.options.itemValue(e).toString()});t.$element.val(n,!0).trigger("change")},build:function(t){var i=this;i.options=e.extend({},a,t);var s=i.options.typeahead||{};i.objectItems&&(i.options.freeInput=!1),n(i.options,"itemValue"),n(i.options,"itemText"),n(i.options,"tagClass"),i.options.source&&(s.source=i.options.source),s.source&&e.fn.typeahead&&(r(s,"source"),i.$input.typeahead({source:function(t,n){function r(e){for(var t=[],r=0;r<e.length;r++){var a=i.options.itemText(e[r]);o[a]=e[r],t.push(a)}n(t)}this.map={};var o=this.map,a=s.source(t);e.isFunction(a.success)?a.success(r):e.when(a).then(r)},updater:function(e){i.add(this.map[e])},matcher:function(e){return-1!==e.toLowerCase().indexOf(this.query.trim().toLowerCase())},sorter:function(e){return e.sort()},highlighter:function(e){var t=new RegExp("("+this.query+")","gi");return e.replace(t,"<strong>$1</strong>")}})),i.$container.on("click",e.proxy(function(){i.$input.focus()},i)),i.$container.on("keydown","input",e.proxy(function(t){var n=e(t.target);switch(t.which){case 8:if(0===o(n[0])){var r=n.prev();r&&i.remove(r.data("item"))}break;case 46:if(0===o(n[0])){var a=n.next();a&&i.remove(a.data("item"))}break;case 37:var s=n.prev();0===n.val().length&&s[0]&&(s.before(n),n.focus());break;case 39:var u=n.next();0===n.val().length&&u[0]&&(u.after(n),n.focus());break;case 13:i.options.freeInput&&(i.add(n.val()),n.val(""),t.preventDefault())}n.attr("size",Math.max(1,n.val().length))},i)),i.$container.on("click","[data-role=remove]",e.proxy(function(t){i.remove(e(t.target).closest(".tag").data("item"))},i)),"INPUT"===i.$element[0].tagName?i.add(i.$element.val()):e("option",i.$element).each(function(){i.add(e(this).attr("value"),!0)})},destroy:function(){var e=this;e.$container.off("keypress","input"),e.$container.off("click","[50role=remove]"),e.$container.remove(),e.$element.removeData("tagsinput"),e.$element.show()},focus:function(){this.$input.focus()}},e.fn.tagsinput=function(n,r){var i=[];return this.each(function(){var o=e(this).data("tagsinput");if(o){var a=o[n](r);void 0!==a&&i.push(a)}else o=new t(this,n),e(this).data("tagsinput",o),i.push(o),"SELECT"===this.tagName&&e("option",e(this)).attr("selected","selected"),e(this).val(e(this).val())}),"string"==typeof n?i.length>1?i:i[0]:i},e.fn.tagsinput.Constructor=t;var s=e("<div />");e(function(){e("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery),$("body").on("click","a.remove_fields",function(){return $(".videolisting_field").length>1}); |