%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tradesc/www/relax/wp-content/themes/flatsome/assets/js/builder/vendors/
Upload File :
Create Path :
Current File : /home/tradesc/www/relax/wp-content/themes/flatsome/assets/js/builder/vendors/vendors.js

!function(){var t={3797:function(){!function(t,e){"use strict";var n,r,i,o,a=1,s="-add",u="-remove",l="ng-animate",c="$$ngAnimateChildren";void 0===t.ontransitionend&&void 0!==t.onwebkittransitionend?(n="WebkitTransition",r="webkitTransitionEnd transitionend"):(n="transition",r="transitionend"),void 0===t.onanimationend&&void 0!==t.onwebkitanimationend?(i="WebkitAnimation",o="webkitAnimationEnd animationend"):(i="animation",o="animationend");var f="Duration",h="Property",p="Delay",d="TimingFunction",v="PlayState",m=i+p,g=i+f,$=n+p,y=n+f,b=e.$$minErr("ng");function w(t,e,n){if(!t)throw b("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function x(t,e){return t||e?t?e?(X(t)&&(t=t.join(" ")),X(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function C(t,e,n){var r="";return t=X(t)?t:t&&et(t)&&t.length?t.split(/\s+/):[],K(t,(function(t,i){t&&t.length>0&&(r+=i>0?" ":"",r+=n?e+t:t+e)})),r}function S(t){if(t instanceof rt)switch(t.length){case 0:return t;case 1:if(t[0].nodeType===a)return t;break;default:return rt(A(t))}if(t.nodeType===a)return rt(t)}function A(t){if(!t[0])return t;for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===a)return n}}function E(t){return function(e,n){n.addClass&&(function(t,e,n){K(e,(function(e){t.addClass(e,n)}))}(t,e,n.addClass),n.addClass=null),n.removeClass&&(function(t,e,n){K(e,(function(e){t.removeClass(e,n)}))}(t,e,n.removeClass),n.removeClass=null)}}function _(t){if(!(t=t||{}).$$prepared){var e=t.domOperation||it;t.domOperation=function(){t.$$domOperationFired=!0,e(),e=it},t.$$prepared=!0}return t}function k(t,e){T(t,e),O(t,e)}function T(t,e){e.from&&(t.css(e.from),e.from=null)}function O(t,e){e.to&&(t.css(e.to),e.to=null)}function D(t,e,n){var r=e.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),l=function(t,e,n){var r={};t=o(t),e=o(e),K(e,(function(t,e){r[e]=1})),n=o(n),K(n,(function(t,e){r[e]=1===r[e]?null:-1}));var i={addClass:"",removeClass:""};function o(t){et(t)&&(t=t.split(" "));var e={};return K(t,(function(t){t.length&&(e[t]=!0)})),e}return K(r,(function(e,n){var r,o;1===e?(r="addClass",o=!t[n]||t[n+u]):-1===e&&(r="removeClass",o=t[n]||t[n+s]),o&&(i[r].length&&(i[r]+=" "),i[r]+=n)})),i}(t.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=R(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var c=r.domOperation!==it?r.domOperation:null;return Y(r,i),c&&(r.domOperation=c),l.addClass?r.addClass=l.addClass:r.addClass=null,l.removeClass?r.removeClass=l.removeClass:r.removeClass=null,e.addClass=r.addClass,e.removeClass=r.removeClass,r}function M(t){return t instanceof rt?t[0]:t}function P(t,e){var n=e?"paused":"",r=i+v;return I(t,[r,n]),[r,n]}function I(t,e){var n=e[0],r=e[1];t.style[n]=r}function R(t,e){return t?e?t+" "+e:t:e}var j=function(t,e){var n=e?"-"+e+"s":"";return I(t,[$,n]),[$,n]},N=["$interpolate",function(t){return{link:function(e,n,r){var i=r.ngAnimateChildren;function o(t){t="on"===t||"true"===t,n.data(c,t)}et(i)&&0===i.length?n.data(c,!0):(o(t(i)(e)),r.$observe("ngAnimateChildren",o))}}}],L="$$animateCss",V=1e3,U={transitionDuration:y,transitionDelay:$,transitionProperty:n+h,animationDuration:g,animationDelay:m,animationIterationCount:i+"IterationCount"},q={transitionDuration:y,transitionDelay:$,animationDuration:g,animationDelay:m};function H(t,e){return[e?m:$,t+"s"]}function F(t,e,n){var r=Object.create(null),i=t.getComputedStyle(e)||{};return K(n,(function(t,e){var n,o,a=i[t];if(a){var s=a.charAt(0);("-"===s||"+"===s||s>=0)&&(n=0,o=a.split(/\s*,\s*/),K(o,(function(t){"s"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,n=n?Math.max(t,n):t})),a=n),0===a&&(a=null),r[e]=a}})),r}function z(t){return 0===t||null!=t}function B(t,e){var r=n,i=t+"s";return e?r+=f:i+=" linear all",[r,i]}function W(t,e,n){K(n,(function(n){t[n]=Z(t[n])?t[n]:e.style.getPropertyValue(n)}))}var G,Y,K,X,Z,J,Q,tt,et,nt,rt,it,ot=["$animateProvider",function(t){this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$animateCache","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(t,e,a,l,c,f,p,v,m){var $=E(e),y=[];function b(t){y.push(t),v.waitUntilQuiet((function(){c.flush();for(var t=f(),e=0;e<y.length;e++)y[e](t);y.length=0}))}function w(e,n,r,i){var o=function(e,n,r,i,o){var a=c.get(r);a||"infinite"===(a=F(t,e,o)).animationIterationCount&&(a.animationIterationCount=1);var s=i||a.transitionDuration>0||a.animationDuration>0;return c.put(r,a,s),a}(e,0,r,i,U),a=o.animationDelay,s=o.transitionDelay;return o.maxDelay=a&&s?Math.max(a,s):a||s,o.maxDuration=Math.max(o.animationDuration*o.animationIterationCount,o.transitionDuration),o}return function(f,v){var y=v||{};y.$$prepared||(y=_(G(y)));var x={},S=M(f);if(!S||!S.parentNode||!m.enabled())return kt();var A,E,D,R,N,U,Y,Z,J,Q,tt=[],et=(f.attr("class"),function(t){var e={};return t&&(t.to||t.from)&&(e.to=t.to,e.from=t.from),e}(y)),nt=[];if(0===y.duration||!p.animations&&!p.transitions)return kt();var rt=y.event&&X(y.event)?y.event.join(" "):y.event,ot=rt&&y.structural,at="",st="";ot?at=C(rt,"ng-",!0):rt&&(at=rt),y.addClass&&(st+=C(y.addClass,s)),y.removeClass&&(st.length&&(st+=" "),st+=C(y.removeClass,u)),y.applyClassesEarly&&st.length&&$(f,y);var ut=[at,st].join(" ").trim(),lt=et.to&&Object.keys(et.to).length>0;if(!((y.keyframeStyle||"").length>0||lt||ut))return kt();var ct,ft,ht=c.cacheKey(S,rt,y.addClass,y.removeClass);if(c.containsCachedAnimationWithoutDuration(ht))return ut=null,kt();if(y.stagger>0){var pt=parseFloat(y.stagger);ct={transitionDelay:pt,animationDelay:pt,transitionDuration:0,animationDuration:0}}else ct=function(n,r,i,o){var a,s="stagger-"+i;if(c.count(i)>0&&!(a=c.get(s))){var u=C(r,"-stagger");e.addClass(n,u),(a=F(t,n,o)).animationDuration=Math.max(a.animationDuration,0),a.transitionDuration=Math.max(a.transitionDuration,0),e.removeClass(n,u),c.put(s,a,!0)}return a||{}}(S,ut,ht,q);if(y.$$skipPreparationClasses||e.addClass(f,ut),y.transitionStyle){var dt=[n,y.transitionStyle];I(S,dt),tt.push(dt)}if(y.duration>=0){ft=S.style[n].length>0;var vt=B(y.duration,ft);I(S,vt),tt.push(vt)}if(y.keyframeStyle){var mt=[i,y.keyframeStyle];I(S,mt),tt.push(mt)}var gt=ct?y.staggerIndex>=0?y.staggerIndex:c.count(ht):0,$t=0===gt;$t&&!y.skipBlocking&&j(S,9999);var yt=w(S,0,ht,!ot),bt=yt.maxDelay;U=Math.max(bt,0),Z=yt.maxDuration;var wt={};if(wt.hasTransitions=yt.transitionDuration>0,wt.hasAnimations=yt.animationDuration>0,wt.hasTransitionAll=wt.hasTransitions&&"all"===yt.transitionProperty,wt.applyTransitionDuration=lt&&(wt.hasTransitions&&!wt.hasTransitionAll||wt.hasAnimations&&!wt.hasTransitions),wt.applyAnimationDuration=y.duration&&wt.hasAnimations,wt.applyTransitionDelay=z(y.delay)&&(wt.applyTransitionDuration||wt.hasTransitions),wt.applyAnimationDelay=z(y.delay)&&wt.hasAnimations,wt.recalculateTimingStyles=st.length>0,(wt.applyTransitionDuration||wt.applyAnimationDuration)&&(Z=y.duration?parseFloat(y.duration):Z,wt.applyTransitionDuration&&(wt.hasTransitions=!0,yt.transitionDuration=Z,ft=S.style[n+h].length>0,tt.push(B(Z,ft))),wt.applyAnimationDuration&&(wt.hasAnimations=!0,yt.animationDuration=Z,tt.push([g,Z+"s"]))),0===Z&&!wt.recalculateTimingStyles)return kt();var xt,Ct=C(ut,"-active");return null!=y.delay&&("boolean"!=typeof y.delay&&(xt=parseFloat(y.delay),U=Math.max(xt,0)),wt.applyTransitionDelay&&tt.push(H(xt)),wt.applyAnimationDelay&&tt.push(H(xt,!0))),null==y.duration&&yt.transitionDuration>0&&(wt.recalculateTimingStyles=wt.recalculateTimingStyles||$t),Y=U*V,J=Z*V,y.skipBlocking||(wt.blockTransition=yt.transitionDuration>0,wt.blockKeyframeAnimation=yt.animationDuration>0&&ct.animationDelay>0&&0===ct.animationDuration),y.from&&(y.cleanupStyles&&W(x,S,Object.keys(y.from)),T(f,y)),wt.blockTransition||wt.blockKeyframeAnimation?_t(Z):y.skipBlocking||j(S,!1),{$$willAnimate:!0,end:St,start:function(){if(!A)return R=new a(N={end:St,cancel:At,resume:null,pause:null}),b(Ot),R}};function St(){Et()}function At(){Et(!0)}function Et(t){if(!(A||D&&E)){A=!0,E=!1,ut&&!y.$$skipPreparationClasses&&e.removeClass(f,ut),Ct&&e.removeClass(f,Ct),P(S,!1),j(S,!1),K(tt,(function(t){S.style[t[0]]=""})),$(f,y),k(f,y),Object.keys(x).length&&K(x,(function(t,e){t?S.style.setProperty(e,t):S.style.removeProperty(e)})),y.onDone&&y.onDone(),nt&&nt.length&&f.off(nt.join(" "),Tt);var n=f.data(L);n&&(l.cancel(n[0].timer),f.removeData(L)),R&&R.complete(!t)}}function _t(t){wt.blockTransition&&j(S,t),wt.blockKeyframeAnimation&&P(S,!!t)}function kt(){return R=new a({end:St,cancel:At}),b(it),Et(),{$$willAnimate:!1,start:function(){return R},end:St}}function Tt(t){t.stopPropagation();var e=t.originalEvent||t;if(e.target===S){var n=e.$manualTimeStamp||Date.now(),r=parseFloat(e.elapsedTime.toFixed(3));Math.max(n-Q,0)>=Y&&r>=Z&&(D=!0,Et())}}function Ot(){if(!A)if(S.parentNode){var t=function(t){if(D)E&&t&&(E=!1,Et());else if(E=!t,yt.animationDuration){var e=P(S,E);E?tt.push(e):(r=e,i=(n=tt).indexOf(r),r>=0&&n.splice(i,1))}var n,r,i},a=gt>0&&(yt.transitionDuration&&0===ct.transitionDuration||yt.animationDuration&&0===ct.animationDuration)&&Math.max(ct.animationDelay,ct.transitionDelay);a?l(s,Math.floor(a*gt*V),!1):s(),N.resume=function(){t(!0)},N.pause=function(){t(!1)}}else Et();function s(){if(!A){if(_t(!1),K(tt,(function(t){var e=t[0],n=t[1];S.style[e]=n})),$(f,y),e.addClass(f,Ct),wt.recalculateTimingStyles){if(S.getAttribute("class"),ht=c.cacheKey(S,rt,y.addClass,y.removeClass),yt=w(S,0,ht,!1),bt=yt.maxDelay,U=Math.max(bt,0),0===(Z=yt.maxDuration))return void Et();wt.hasTransitions=yt.transitionDuration>0,wt.hasAnimations=yt.animationDuration>0}if(wt.applyAnimationDelay&&(bt="boolean"!=typeof y.delay&&z(y.delay)?parseFloat(y.delay):bt,U=Math.max(bt,0),yt.animationDelay=bt,xt=H(bt,!0),tt.push(xt),S.style[xt[0]]=xt[1]),Y=U*V,J=Z*V,y.easing){var t,a=y.easing;wt.hasTransitions&&(t=n+d,tt.push([t,a]),S.style[t]=a),wt.hasAnimations&&(t=i+d,tt.push([t,a]),S.style[t]=a)}yt.transitionDuration&&nt.push(r),yt.animationDuration&&nt.push(o),Q=Date.now();var s=Y+1.5*J,h=Q+s,p=f.data(L)||[],v=!0;if(p.length){var m=p[0];(v=h>m.expectedEndTime)?l.cancel(m.timer):p.push(Et)}if(v){var g=l(u,s,!1);p[0]={timer:g,expectedEndTime:h},p.push(Et),f.data(L,p)}nt.length&&f.on(nt.join(" "),Tt),y.to&&(y.cleanupStyles&&W(x,S,Object.keys(y.to)),O(f,y))}}function u(){var t=f.data(L);if(t){for(var e=1;e<t.length;e++)t[e]();f.removeData(L)}}}}}]}],at=["$$animationProvider",function(t){t.drivers.push("$$animateCssDriver");var e="ng-animate-shim",n="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(t,r,i,o,a,s,u){if(!a.animations&&!a.transitions)return it;var l,c=u[0].body,f=M(o),h=rt((l=f).parentNode&&11===l.parentNode.nodeType||c.contains(f)?f:c);return function(r){return r.from&&r.to?function(r,o,a,s){var u=v(r),l=v(o),f=[];if(K(s,(function(r){var o=function(r,o,a){var s=rt(M(o).cloneNode(!0)),u=p(g(s));o.addClass(e),a.addClass(e),s.addClass("ng-anchor"),h.append(s);var l,f=function(){var e=t(s,{addClass:n,delay:!0,from:m(o)});return e.$$willAnimate?e:null}();if(!f&&!(l=$()))return y();var v=f||l;return{start:function(){var t,e=v.start();return e.done((function(){if(e=null,!l&&(l=$()))return(e=l.start()).done((function(){e=null,y(),t.complete()})),e;y(),t.complete()})),t=new i({end:n,cancel:n});function n(){e&&e.end()}}};function m(t){var e={},n=M(t).getBoundingClientRect();return K(["width","height","top","left"],(function(t){var r=n[t];switch(t){case"top":r+=c.scrollTop;break;case"left":r+=c.scrollLeft}e[t]=Math.floor(r)+"px"})),e}function g(t){return t.attr("class")||""}function $(){var e=p(g(a)),r=d(e,u),i=d(u,e),o=t(s,{to:m(a),addClass:"ng-anchor-in "+r,removeClass:n+" "+i,delay:!0});return o.$$willAnimate?o:null}function y(){s.remove(),o.removeClass(e),a.removeClass(e)}}(0,r.out,r.in);o&&f.push(o)})),u||l||0!==f.length)return{start:function(){var t=[];u&&t.push(u.start()),l&&t.push(l.start()),K(f,(function(e){t.push(e.start())}));var e=new i({end:n,cancel:n});return i.all(t,(function(t){e.complete(t)})),e;function n(){K(t,(function(t){t.end()}))}}}}(r.from,r.to,r.classes,r.anchors):v(r)};function p(t){return t.replace(/\bng-\S+\b/g,"")}function d(t,e){return et(t)&&(t=t.split(" ")),et(e)&&(e=e.split(" ")),t.filter((function(t){return-1===e.indexOf(t)})).join(" ")}function v(e){var n=e.element,r=e.options||{};e.structural&&(r.event=e.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===e.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=R(r.event,r.preparationClasses));var i=t(n,r);return i.$$willAnimate?i:null}}]}],st=["$animateProvider",function(t){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(e,n,r){var i=E(r);return function(r,o,a,s){var u=!1;3===arguments.length&&tt(a)&&(s=a,a=null),s=_(s),a||(a=r.attr("class")||"",s.addClass&&(a+=" "+s.addClass),s.removeClass&&(a+=" "+s.removeClass));var l,c,f,h,p,d=s.addClass,v=s.removeClass,m=function(n){n=X(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=t.$$registeredAnimations[a];s&&!i[a]&&(r.push(e.get(s)),i[a]=!0)}return r}(a);if(m.length&&("leave"===o?(h="leave",f="afterLeave"):(h="before"+o.charAt(0).toUpperCase()+o.substr(1),f=o),"enter"!==o&&"move"!==o&&(l=b(r,o,s,m,h)),c=b(r,o,s,m,f)),l||c)return{$$willAnimate:!0,end:function(){return p?p.end():($(),(p=new n).complete(!0)),p},start:function(){if(p)return p;var t;p=new n;var e=[];return l&&e.push((function(e){t=l(e)})),e.length?e.push((function(t){g(),t(!0)})):g(),c&&e.push((function(e){t=c(e)})),p.setHost({end:function(){i()},cancel:function(){i(!0)}}),n.chain(e,r),p;function r(t){$(),p.complete(t)}function i(e){u||((t||it)(e),r(e))}}};function g(){s.domOperation(),i(r,s)}function $(){u=!0,g(),k(r,s)}function y(t,e,r,i,o){var a=[];return K(i,(function(i){var s=i[o];s&&a.push((function(){var i,o,a=!1,u=function(t){a||(a=!0,(o||it)(t),i.complete(!t))};return i=new n({end:function(){u()},cancel:function(){u(!0)}}),o=function(t,e,r,i,o){var a;switch(r){case"animate":a=[e,i.from,i.to,o];break;case"setClass":a=[e,d,v,o];break;case"addClass":a=[e,d,o];break;case"removeClass":a=[e,v,o];break;default:a=[e,o]}a.push(i);var s=t.apply(t,a);if(s)if(Q(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(Q(s))return s;return it}(s,t,e,r,(function(t){u(!1===t)})),i}))})),a}function b(t,e,r,i,o){var a,s,u=y(t,e,r,i,o);if(0===u.length&&("beforeSetClass"===o?(a=y(t,"removeClass",r,i,"beforeRemoveClass"),s=y(t,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(a=y(t,"removeClass",r,i,"removeClass"),s=y(t,"addClass",r,i,"addClass")),a&&(u=u.concat(a)),s&&(u=u.concat(s))),0!==u.length)return function(t){var e=[];return u.length&&K(u,(function(t){e.push(t())})),e.length?n.all(e,t):t(),function(t){K(e,(function(e){t?e.cancel():e.end()}))}}}}}]}],ut=["$$animationProvider",function(t){t.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(t,e){return function(t){if(t.from&&t.to){var r=n(t.from),i=n(t.to);if(!r&&!i)return;return{start:function(){var t=[];r&&t.push(r.start()),i&&t.push(i.start()),e.all(t,(function(t){n.complete(t)}));var n=new e({end:o(),cancel:o()});return n;function o(){return function(){K(t,(function(t){t.end()}))}}}}}return n(t)};function n(e){var n=e.element,r=e.event,i=e.options,o=e.classes;return t(n,r,o,i)}}]}],lt="data-ng-animate",ct="$ngAnimatePin",ft=["$animateProvider",function(e){var n=" ",r=this.rules={skip:[],cancel:[],join:[]};function i(t){return{addClass:t.addClass,removeClass:t.removeClass,from:t.from,to:t.to}}function o(t,e){if(t&&e){var r=function(t){if(!t)return null;var e=t.split(n),r=Object.create(null);return K(e,(function(t){r[t]=!0})),r}(e);return t.split(n).some((function(t){return r[t]}))}}function l(t,e,n){return r[t].some((function(t){return t(e,n)}))}function f(t,e){var n=(t.addClass||"").length>0,r=(t.removeClass||"").length>0;return e?n&&r:n||r}r.join.push((function(t,e){return!t.structural&&f(t)})),r.skip.push((function(t,e){return!t.structural&&!f(t)})),r.skip.push((function(t,e){return"leave"===e.event&&t.structural})),r.skip.push((function(t,e){return e.structural&&2===e.state&&!t.structural})),r.cancel.push((function(t,e){return e.structural&&t.structural})),r.cancel.push((function(t,e){return 2===e.state&&t.structural})),r.cancel.push((function(t,e){if(e.structural)return!1;var n=t.addClass,r=t.removeClass,i=e.addClass,a=e.removeClass;return!(nt(n)&&nt(r)||nt(i)&&nt(a))&&(o(n,a)||o(r,i))})),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$Map","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(n,r,o,h,p,d,v,m,g,$,y){var b=new p,x=new p,T=null;function O(t){x.delete(t.target)}var P=r.$watch((function(){return 0===m.totalPendingRequests}),(function(t){t&&(P(),r.$$postDigest((function(){r.$$postDigest((function(){null===T&&(T=!0)}))})))})),I=Object.create(null),j=e.customFilter(),N=e.classNameFilter(),L=function(){return!0},V=j||L,U=N?function(t,e){var n=[t.getAttribute("class"),e.addClass,e.removeClass].join(" ");return N.test(n)}:L,q=E(g);function H(t,e){return D(t,e,{})}var F=t.Node.prototype.contains||function(t){return this===t||!!(16&this.compareDocumentPosition(t))};function z(t,e,n){var r=A(e);return t.filter((function(t){return!(t.node===r&&(!n||t.callback===n))}))}function B(t,e){"close"!==t||e.parentNode||W.off(e)}var W={on:function(t,e,n){var r=A(e);I[t]=I[t]||[],I[t].push({node:r,callback:n}),rt(e).on("$destroy",(function(){b.get(r)||W.off(t,e,n)}))},off:function(t,e,n){if(1!==arguments.length||et(arguments[0])){var r=I[t];r&&(I[t]=1===arguments.length?null:z(r,e,n))}else for(var i in e=arguments[0],I)I[i]=z(I[i],e)},pin:function(t,e){w(J(t),"element","not an element"),w(J(e),"parentElement","not an element"),t.data(ct,e)},push:function(t,e,p,m){return(p=p||{}).domOperation=m,function(t,e,p){var m=G(p),g=S(t),$=M(g),w=$&&$.parentNode;m=_(m);var A,E=new v,O=(A=!1,function(t){A?t():r.$$postDigest((function(){A=!0,t()}))});if(X(m.addClass)&&(m.addClass=m.addClass.join(" ")),m.addClass&&!et(m.addClass)&&(m.addClass=null),X(m.removeClass)&&(m.removeClass=m.removeClass.join(" ")),m.removeClass&&!et(m.removeClass)&&(m.removeClass=null),m.from&&!tt(m.from)&&(m.from=null),m.to&&!tt(m.to)&&(m.to=null),!(T&&$&&V($,e,p)&&U($,m)))return at(),E;var P=["enter","move","leave"].indexOf(e)>=0,j=y(),N=j||x.get($),L=!N&&b.get($)||{},z=!!L.state;if(N||z&&1===L.state||(N=!function(t,e,n){var r,i=h[0].body,s=M(o),u=t===i||"HTML"===t.nodeName,l=t===s,f=!1,p=x.get(t),d=rt.data(t,ct);for(d&&(e=M(d));e&&(l||(l=e===s),e.nodeType===a);){var v=b.get(e)||{};if(!f){var m=x.get(e);if(!0===m&&!1!==p){p=!0;break}!1===m&&(p=!1),f=v.structural}if(nt(r)||!0===r){var g=rt.data(e,c);Z(g)&&(r=g)}if(f&&!1===r)break;if(u||(u=e===i),u&&l)break;e=l||!(d=rt.data(e,ct))?e.parentNode:M(d)}return(!f||r)&&!0!==p&&l&&u}($,w)),N)return j&&ot(E,e,"start",i(m)),at(),j&&ot(E,e,"close",i(m)),E;P&&function(t){var e=t.querySelectorAll("["+lt+"]");K(e,(function(t){var e=parseInt(t.getAttribute(lt),10),n=b.get(t);if(n)switch(e){case 2:n.runner.end();case 1:b.delete(t)}}))}($);var W={structural:P,element:g,event:e,addClass:m.addClass,removeClass:m.removeClass,close:at,options:m,runner:E};if(z){if(l("skip",W,L))return 2===L.state?(at(),E):(D(g,L,W),L.runner);if(l("cancel",W,L))if(2===L.state)L.runner.end();else{if(!L.structural)return D(g,L,W),L.runner;L.close()}else if(l("join",W,L)){if(2!==L.state)return function(t,e,n,r){var i="";n&&(i=C(n,"ng-",!0)),r.addClass&&(i=R(i,C(r.addClass,s))),r.removeClass&&(i=R(i,C(r.removeClass,u))),i.length&&(r.preparationClasses=i,e.addClass(i))}(0,g,P?e:null,m),e=W.event=L.event,m=D(g,L,W),L.runner;H(g,W)}}else H(g,W);var Y=W.structural;if(Y||(Y="animate"===W.event&&Object.keys(W.options.to||{}).length>0||f(W)),!Y)return at(),Q($),E;var J=(L.counter||0)+1;return W.counter=J,it($,1,W),r.$$postDigest((function(){g=S(t);var n=b.get($),r=!n;n=n||{};var o=(g.parent()||[]).length>0&&("animate"===n.event||n.structural||f(n));if(r||n.counter!==J||!o)return r&&(q(g,m),k(g,m)),(r||P&&n.event!==e)&&(m.domOperation(),E.end()),void(o||Q($));e=!n.structural&&f(n,!0)?"setClass":n.event,it($,2);var a=d(g,e,n.options);E.setHost(a),ot(E,e,"start",i(m)),a.done((function(t){at(!t);var n=b.get($);n&&n.counter===J&&Q($),ot(E,e,"close",i(m))}))})),E;function ot(t,e,r,i){O((function(){var t=function(t,e,n){var r=[],i=I[n];return i&&K(i,(function(i){(F.call(i.node,e)||"leave"===n&&F.call(i.node,t))&&r.push(i.callback)})),r}(w,$,e);t.length?n((function(){K(t,(function(t){t(g,r,i)})),B(r,$)})):B(r,$)})),t.progress(e,r,i)}function at(t){!function(t,e){e.preparationClasses&&(t.removeClass(e.preparationClasses),e.preparationClasses=null),e.activeClasses&&(t.removeClass(e.activeClasses),e.activeClasses=null)}(g,m),q(g,m),k(g,m),m.domOperation(),E.complete(!t)}}(t,e,p)},enabled:function(t,e){var n=arguments.length;if(0===n)e=!!T;else if(J(t)){var r=M(t);1===n?e=!x.get(r):(x.has(r)||rt(t).on("$destroy",O),x.set(r,!e))}else e=T=!!t;return e}};return W;function Q(t){t.removeAttribute(lt),b.delete(t)}function it(t,e,n){(n=n||{}).state=e,t.setAttribute(lt,e);var r=b.get(t),i=r?Y(r,n):n;b.set(t,i)}}]}],ht=["$animateProvider",function(t){var e="ng-animate-ref",n=this.drivers=[],r="$$animationRunner",i="$$animatePrepareClasses";function o(t){return t.data(r)}this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$Map","$$rAFScheduler","$$animateCache",function(t,a,s,u,c,f,h){var p=[],d=E(t);return function(v,m,g){g=_(g);var $=["enter","move","leave"].indexOf(m)>=0,y=new u({end:function(){A()},cancel:function(){A(!0)}});if(!n.length)return A(),y;var b=x(v.attr("class"),x(g.addClass,g.removeClass)),w=g.tempClasses;return w&&(b+=" "+w,g.tempClasses=null),$&&v.data(i,"ng-"+m+"-prepare"),function(t,e){t.data(r,e)}(v,y),p.push({element:v,classes:b,event:m,structural:$,options:g,beforeStart:function(){w=(w?w+" ":"")+l,t.addClass(v,w);var e=v.data(i);e&&(t.removeClass(v,e),e=null)},close:A}),v.on("$destroy",S),p.length>1||a.$$postDigest((function(){var r=[];K(p,(function(t){o(t.element)?r.push(t):t.close()})),p.length=0;var a=function(t){var n=[],r={};K(t,(function(t,i){var o=M(t.element),a=t.event,s=["enter","move"].indexOf(a)>=0,u=t.structural?function(t){var n="["+e+"]",r=t.hasAttribute(e)?[t]:t.querySelectorAll(n),i=[];return K(r,(function(t){var n=t.getAttribute(e);n&&n.length&&i.push(t)})),i}(o):[];if(u.length){var l=s?"to":"from";K(u,(function(t){var n=t.getAttribute(e);r[n]=r[n]||{},r[n][l]={animationID:i,element:rt(t)}}))}else n.push(t)}));var i={},o={};return K(r,(function(e,r){var a=e.from,s=e.to;if(a&&s){var u=t[a.animationID],l=t[s.animationID],c=a.animationID.toString();if(!o[c]){var f=o[c]={structural:!0,beforeStart:function(){u.beforeStart(),l.beforeStart()},close:function(){u.close(),l.close()},classes:C(u.classes,l.classes),from:u,to:l,anchors:[]};f.classes.length?n.push(f):(n.push(u),n.push(l))}o[c].anchors.push({out:a.element,in:s.element})}else{var h=a?a.animationID:s.animationID,p=h.toString();i[p]||(i[p]=!0,n.push(t[h]))}})),n}(r),u=[];K(a,(function(t){var e=t.from?t.from.element:t.element,r=g.addClass;r=(r?r+" ":"")+l;var i=h.cacheKey(e[0],t.event,r,g.removeClass);u.push({element:e,domNode:M(e),fn:function(){var e,r=t.close;if(h.containsCachedAnimationWithoutDuration(i))r();else{if(t.beforeStart(),o(t.anchors?t.from.element||t.to.element:t.element)){var a=function(t){for(var e=n.length-1;e>=0;e--){var r=n[e],i=s.get(r)(t);if(i)return i}}(t);a&&(e=a.start)}if(e){var u=e();u.done((function(t){r(!t)})),function(t,e){function n(t){var n=o(t);n&&n.setHost(e)}t.from&&t.to?(n(t.from.element),n(t.to.element)):n(t.element)}(t,u)}else r()}}})}));for(var d=function(t){var e,n={children:[]},r=new c;for(e=0;e<t.length;e++){var i=t[e];r.set(i.domNode,t[e]={domNode:i.domNode,element:i.element,fn:i.fn,children:[]})}for(e=0;e<t.length;e++)o(t[e]);return function(t){var e,n=[],r=[];for(e=0;e<t.children.length;e++)r.push(t.children[e]);var i=r.length,o=0,a=[];for(e=0;e<r.length;e++){var s=r[e];i<=0&&(i=o,o=0,n.push(a),a=[]),a.push(s),s.children.forEach((function(t){o++,r.push(t)})),i--}return a.length&&n.push(a),n}(n);function o(t){if(t.processed)return t;t.processed=!0;var e,i=t.domNode,a=i.parentNode;for(r.set(i,t);a;){if(e=r.get(a)){e.processed||(e=o(e));break}a=a.parentNode}return(e||n).children.push(t),t}}(u),v=0;v<d.length;v++)for(var m=d[v],$=0;$<m.length;$++){var y=m[$],b=y.element;if(d[v][$]=y.fn,0!==v){var w=b.data(i);w&&t.addClass(b,w)}else b.removeData(i)}f(d)})),y;function C(t,e){t=t.split(" "),e=e.split(" ");for(var n=[],r=0;r<t.length;r++){var i=t[r];if("ng-"!==i.substring(0,3))for(var o=0;o<e.length;o++)if(i===e[o]){n.push(i);break}}return n.join(" ")}function S(){var t=o(v);!t||"leave"===m&&g.$$domOperationFired||t.end()}function A(e){v.off("$destroy",S),function(t){t.removeData(r)}(v),d(v,g),k(v,g),g.domOperation(),w&&t.removeClass(v,w),y.complete(!e)}}}]}];e.module("ngAnimate",[],(function(){it=e.noop,G=e.copy,Y=e.extend,rt=e.element,K=e.forEach,X=e.isArray,et=e.isString,tt=e.isObject,nt=e.isUndefined,Z=e.isDefined,Q=e.isFunction,J=e.isElement})).info({angularVersion:"1.8.2"}).directive("ngAnimateSwap",["$animate",function(t){return{restrict:"A",transclude:"element",terminal:!0,priority:550,link:function(e,n,r,i,o){var a,s;e.$watchCollection(r.ngAnimateSwap||r.for,(function(e){a&&t.leave(a),s&&(s.$destroy(),s=null),(e||0===e)&&o((function(e,r){a=e,s=r,t.enter(e,null,n)}))}))}}}]).directive("ngAnimateChildren",N).factory("$$rAFScheduler",["$$rAF",function(t){var e,n;function r(t){e=e.concat(t),i()}return e=r.queue=[],r.waitUntilQuiet=function(e){n&&n(),n=t((function(){n=null,e(),i()}))},r;function i(){if(e.length){for(var r=e.shift(),o=0;o<r.length;o++)r[o]();n||t((function(){n||i()}))}}}]).provider("$$animateQueue",ft).provider("$$animateCache",(function(){var t="$$ngAnimateParentKey",e=0,n=Object.create(null);this.$get=[function(){return{cacheKey:function(n,r,i,o){var a=n.parentNode,s=[a[t]||(a[t]=++e),r,n.getAttribute("class")];return i&&s.push(i),o&&s.push(o),s.join(" ")},containsCachedAnimationWithoutDuration:function(t){var e=n[t];return e&&!e.isValid||!1},flush:function(){n=Object.create(null)},count:function(t){var e=n[t];return e?e.total:0},get:function(t){var e=n[t];return e&&e.value},put:function(t,e,r){n[t]?(n[t].total++,n[t].value=e):n[t]={total:1,value:e,isValid:r}}}}]})).provider("$$animation",ht).provider("$animateCss",ot).provider("$$animateCssDriver",at).provider("$$animateJs",st).provider("$$animateJsDriver",ut)}(window,window.angular)},2176:function(t,e,n){n(3797),t.exports="ngAnimate"},5909:function(){!function(t){"use strict";var e={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(t){if(!U(t))return e;V(t.objectMaxDepth)&&(e.objectMaxDepth=r(t.objectMaxDepth)?t.objectMaxDepth:NaN),V(t.urlErrorParamsEnabled)&&Z(t.urlErrorParamsEnabled)&&(e.urlErrorParamsEnabled=t.urlErrorParamsEnabled)}function r(t){return F(t)&&t>0}function i(t,n){n=n||Error;var r="https://errors.angularjs.org/1.8.2/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],u=arguments[1],l="["+(t?t+":":"")+s+"] ",c=ht(arguments,2).map((function(t){return Gt(t,e.objectMaxDepth)}));if(l+=u.replace(/\{\d+\}/g,(function(t){var e=+t.slice(1,-1);return e<c.length?c[e].replace(o,""):t})),l+="\n"+r+(t?t+"/":"")+s,e.urlErrorParamsEnabled)for(a=0,i="?";a<c.length;a++,i="&")l+=i+"p"+a+"="+encodeURIComponent(c[a]);return new n(l)}}var o,a,s,u,l=/^\/(.+)\/([a-z]*)$/,c="validity",f=Object.prototype.hasOwnProperty,h=function(t){return H(t)?t.toLowerCase():t},p=function(t){return H(t)?t.toUpperCase():t},d=[].slice,v=[].splice,m=[].push,g=Object.prototype.toString,$=Object.getPrototypeOf,y=i("ng"),b=t.angular||(t.angular={}),w=0;function x(t){if(null==t||K(t))return!1;if(B(t)||H(t)||a&&t instanceof a)return!0;var e="length"in Object(t)&&t.length;return F(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function C(t,e,n){var r,i;if(t)if(G(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else if(B(t)||x(t)){var o="object"!=typeof t;for(r=0,i=t.length;r<i;r++)(o||r in t)&&e.call(n,t[r],r,t)}else if(t.forEach&&t.forEach!==C)t.forEach(e,n,t);else if(q(t))for(r in t)e.call(n,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else for(r in t)f.call(t,r)&&e.call(n,t[r],r,t);return t}function S(t,e,n){for(var r=Object.keys(t).sort(),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function A(t){return function(e,n){t(n,e)}}function E(){return++w}function _(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function k(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if(U(a)||G(a))for(var s=Object.keys(a),u=0,l=s.length;u<l;u++){var c=s[u],f=a[c];n&&U(f)?z(f)?t[c]=new Date(f.valueOf()):Y(f)?t[c]=new RegExp(f):f.nodeName?t[c]=f.cloneNode(!0):nt(f)?t[c]=f.clone():"__proto__"!==c&&(U(t[c])||(t[c]=B(f)?[]:{}),k(t[c],[f],!0)):t[c]=f}}return _(t,r),t}function T(t){return k(t,d.call(arguments,1),!1)}function O(t){return k(t,d.call(arguments,1),!0)}function D(t){return parseInt(t,10)}o=t.document.documentMode;var M=Number.isNaN||function(t){return t!=t};function P(t,e){return T(Object.create(t),e)}function I(){}function R(t){return t}function j(t){return function(){return t}}function N(t){return G(t.toString)&&t.toString!==g}function L(t){return void 0===t}function V(t){return void 0!==t}function U(t){return null!==t&&"object"==typeof t}function q(t){return null!==t&&"object"==typeof t&&!$(t)}function H(t){return"string"==typeof t}function F(t){return"number"==typeof t}function z(t){return"[object Date]"===g.call(t)}function B(t){return Array.isArray(t)||t instanceof Array}function W(t){switch(g.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function G(t){return"function"==typeof t}function Y(t){return"[object RegExp]"===g.call(t)}function K(t){return t&&t.window===t}function X(t){return t&&t.$evalAsync&&t.$watch}function Z(t){return"boolean"==typeof t}function J(t){return t&&G(t.then)}I.$inject=[],R.$inject=[];var Q=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,tt=function(t){return H(t)?t.trim():t},et=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function nt(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function rt(t){return h(t.nodeName||t[0]&&t[0].nodeName)}function it(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function ot(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function at(t,e,n){var i,o,a=[],s=[];if(n=r(n)?n:NaN,e){if((o=e)&&F(o.length)&&Q.test(g.call(o))||(i=e,"[object ArrayBuffer]"===g.call(i)))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw y("cpi","Can't copy! Source and destination are identical.");return B(e)?e.length=0:C(e,(function(t,n){"$$hashKey"!==n&&delete e[n]})),a.push(t),s.push(e),u(t,e,n)}return l(t,n);function u(t,e,n){if(--n<0)return"...";var r,i=e.$$hashKey;if(B(t))for(var o=0,a=t.length;o<a;o++)e.push(l(t[o],n));else if(q(t))for(r in t)e[r]=l(t[r],n);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=l(t[r],n));else for(r in t)f.call(t,r)&&(e[r]=l(t[r],n));return _(e,i),e}function l(t,e){if(!U(t))return t;var n=a.indexOf(t);if(-1!==n)return s[n];if(K(t)||X(t))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=function(t){switch(g.call(t)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new t.constructor(l(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(G(t.cloneNode))return t.cloneNode(!0)}(t);return void 0===i&&(i=B(t)?[]:Object.create($(t)),r=!0),a.push(t),s.push(i),r?u(t,i,e):i}}function st(t,e){return t===e||t!=t&&e!=e}function ut(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,r,i,o=typeof t;if(o===typeof e&&"object"===o){if(!B(t)){if(z(t))return!!z(e)&&st(t.getTime(),e.getTime());if(Y(t))return!!Y(e)&&t.toString()===e.toString();if(X(t)||X(e)||K(t)||K(e)||B(e)||z(e)||Y(e))return!1;for(r in i=Vt(),t)if("$"!==r.charAt(0)&&!G(t[r])){if(!ut(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&"$"!==r.charAt(0)&&V(e[r])&&!G(e[r]))return!1;return!0}if(!B(e))return!1;if((n=t.length)===e.length){for(r=0;r<n;r++)if(!ut(t[r],e[r]))return!1;return!0}}return!1}var lt=function(){if(!V(lt.rules)){var e=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");lt.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else lt.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return lt.rules},ct=function(){if(V(ct.name_))return ct.name_;var e,n,r,i,o=Et.length;for(n=0;n<o;++n)if(r=Et[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return ct.name_=i};function ft(t,e,n){return t.concat(d.call(e,n))}function ht(t,e){return d.call(t,e||0)}function pt(t,e){var n=arguments.length>2?ht(arguments,2):[];return!G(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,ft(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function dt(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:K(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":X(n)&&(r="$SCOPE"),r}function vt(t,e){if(!L(t))return F(e)||(e=e?2:null),JSON.stringify(t,dt,e)}function mt(t){return H(t)?JSON.parse(t):t}var gt=/:/g;function $t(t,e){t=t.replace(gt,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return M(n)?e:n}function yt(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}function bt(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset();return yt(t,n*($t(e,r)-r))}function wt(t){t=a(t).clone().empty();var e=a("<div></div>").append(t).html();try{return t[0].nodeType===Ht?h(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(t,e){return"<"+h(e)}))}catch(t){return h(e)}}function xt(t){try{return decodeURIComponent(t)}catch(t){}}function Ct(t){var e={};return C((t||"").split("&"),(function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),-1!==(n=t.indexOf("="))&&(r=t.substring(0,n),i=t.substring(n+1)),V(r=xt(r))&&(i=!V(i)||xt(i),f.call(e,r)?B(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))})),e}function St(t){return At(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function At(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}var Et=["ng-","data-ng-","ng:","x-ng-"],_t=function(e){var n=e.currentScript;if(!n)return!0;if(!(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every((function(t){if(!t)return!0;if(!t.value)return!1;var n=e.createElement("a");if(n.href=t.value,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))}(t.document);function kt(e,n,r){U(r)||(r={}),r=T({strictDi:!1},r);var i=function(){if((e=a(e)).injector()){var i=e[0]===t.document?"document":wt(e);throw y("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=en(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply((function(){e.data("$injector",r),n(e)(t)}))}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&o.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(o,"")),t&&!s.test(t.name))return i();t.name=t.name.replace(s,""),b.resumeBootstrap=function(t){return C(t,(function(t){n.push(t)})),i()},G(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function Tt(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function Ot(t){var e=b.element(t).injector();if(!e)throw y("test","no injector found for element argument to getTestability");return e.get("$$testability")}var Dt=/[A-Z]/g;function Mt(t,e){return e=e||"_",t.replace(Dt,(function(t,n){return(n?e:"")+t.toLowerCase()}))}var Pt=!1;function It(){me.legacyXHTMLReplacement=!0}function Rt(t,e,n){if(!t)throw y("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function jt(t,e,n){return n&&B(t)&&(t=t[t.length-1]),Rt(G(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function Nt(t,e){if("hasOwnProperty"===t)throw y("badname","hasOwnProperty is not a valid {0} name",e)}function Lt(t){for(var e,n=t[0],r=t[t.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(e||t[i]!==n)&&(e||(e=a(d.call(t,0,i))),e.push(n));return e||t}function Vt(){return Object.create(null)}function Ut(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!N(t)||B(t)||z(t)?vt(t):t.toString()}return t}var qt=1,Ht=3,Ft=8,zt=9,Bt=11;function Wt(t,e){if(B(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(U(t))for(var i in e=e||{},t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i]);return e||t}function Gt(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):L(t)?"undefined":"string"!=typeof t?function(t,e){var n=[];return r(e)&&(t=b.copy(t,null,e)),JSON.stringify(t,(function(t,e){if(U(e=dt(t,e))){if(n.indexOf(e)>=0)return"...";n.push(e)}return e}))}(t,e):t}var Yt={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};me.expando="ng339";var Kt=me.cache={},Xt=1;me._data=function(t){return this.cache[t[this.expando]]||{}};var Zt=/-([a-z])/g,Jt=/^-ms-/,Qt={mouseleave:"mouseout",mouseenter:"mouseover"},te=i("jqLite");function ee(t,e){return e.toUpperCase()}function ne(t){return t.replace(Zt,ee)}var re=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ie=/<|&#?\w+;/,oe=/<([\w:-]+)/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,se={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td;var ue={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var le in se){var ce=se[le],fe=ce.slice().reverse();ue[le]=[fe.length,"<"+fe.join("><")+">","</"+ce.join("></")+">"]}function he(t){return!ie.test(t)}function pe(t){var e=t.nodeType;return e===qt||!e||e===zt}function de(e,n){var r,i,a,s,u,l=n.createDocumentFragment(),c=[];if(he(e))c.push(n.createTextNode(e));else{if(r=l.appendChild(n.createElement("div")),i=(oe.exec(e)||["",""])[1].toLowerCase(),s=me.legacyXHTMLReplacement?e.replace(ae,"<$1></$2>"):e,o<10)for(a=ue[i]||ue._default,r.innerHTML=a[1]+s+a[2],u=a[0];u--;)r=r.firstChild;else{for(u=(a=se[i]||[]).length;--u>-1;)r.appendChild(t.document.createElement(a[u])),r=r.firstChild;r.innerHTML=s}c=ft(c,r.childNodes),(r=l.firstChild).textContent=""}return l.textContent="",l.innerHTML="",C(c,(function(t){l.appendChild(t)})),l}ue.optgroup=ue.option;var ve=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function me(e){if(e instanceof me)return e;var n,r,i,o;if(H(e)&&(e=tt(e),n=!0),!(this instanceof me)){if(n&&"<"!==e.charAt(0))throw te("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new me(e)}n?ke(this,(r=e,i=i||t.document,(o=re.exec(r))?[i.createElement(o[1])]:(o=de(r,i))?o.childNodes:[])):G(e)?Pe(e):ke(this,e)}function ge(t){return t.cloneNode(!0)}function $e(t,e){!e&&pe(t)&&a.cleanData([t]),t.querySelectorAll&&a.cleanData(t.querySelectorAll("*"))}function ye(t){var e;for(e in t)return!1;return!0}function be(t){var e=t.ng339,n=e&&Kt[e],r=n&&n.events,i=n&&n.data;i&&!ye(i)||r&&!ye(r)||(delete Kt[e],t.ng339=void 0)}function we(t,e,n,r){if(V(r))throw te("offargs","jqLite#off() does not support the `selector` argument");var i=Ce(t),o=i&&i.events,a=i&&i.handle;if(a){if(e){var s=function(e){var r=o[e];V(n)&&ot(r||[],n),V(n)&&r&&r.length>0||(t.removeEventListener(e,a),delete o[e])};C(e.split(" "),(function(t){s(t),Qt[t]&&s(Qt[t])}))}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,a),delete o[e];be(t)}}function xe(t,e){var n=t.ng339,r=n&&Kt[n];r&&(e?delete r.data[e]:r.data={},be(t))}function Ce(t,e){var n=t.ng339,r=n&&Kt[n];return e&&!r&&(t.ng339=n=++Xt,r=Kt[n]={events:{},data:{},handle:void 0}),r}function Se(t,e,n){if(pe(t)){var r,i=V(n),o=!i&&e&&!U(e),a=!e,s=Ce(t,!o),u=s&&s.data;if(i)u[ne(e)]=n;else{if(a)return u;if(o)return u&&u[ne(e)];for(r in e)u[ne(r)]=e[r]}}}function Ae(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Ee(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;C(e.split(" "),(function(t){t=tt(t),r=r.replace(" "+t+" "," ")})),r!==n&&t.setAttribute("class",tt(r))}}function _e(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;C(e.split(" "),(function(t){t=tt(t),-1===r.indexOf(" "+t+" ")&&(r+=t+" ")})),r!==n&&t.setAttribute("class",tt(r))}}function ke(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function Te(t,e){return Oe(t,"$"+(e||"ngController")+"Controller")}function Oe(t,e,n){t.nodeType===zt&&(t=t.documentElement);for(var r=B(e)?e:[e];t;){for(var i=0,o=r.length;i<o;i++)if(V(n=a.data(t,r[i])))return n;t=t.parentNode||t.nodeType===Bt&&t.host}}function De(t){for($e(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Me(t,e){e||$e(t);var n=t.parentNode;n&&n.removeChild(t)}function Pe(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}var Ie=me.prototype={ready:Pe,toString:function(){var t=[];return C(this,(function(e){t.push(""+e)})),"["+t.join(", ")+"]"},eq:function(t){return a(t>=0?this[t]:this[this.length+t])},length:0,push:m,sort:[].sort,splice:[].splice},Re={};C("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(t){Re[h(t)]=t}));var je={};C("input,select,option,textarea,button,form,details".split(","),(function(t){je[t]=!0}));var Ne={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Le(t,e){var n=Re[e.toLowerCase()];return n&&je[rt(t)]&&n}function Ve(t,e,n){n.call(t,e)}function Ue(t,e,n){var r=e.relatedTarget;r&&(r===t||ve.call(t,r))||n.call(t,e)}function qe(){this.$get=function(){return T(me,{hasClass:function(t,e){return t.attr&&(t=t[0]),Ae(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),_e(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),Ee(t,e)}})}}function He(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var r=typeof t;return"function"===r||"object"===r&&null!==t?t.$$hashKey=r+":"+(e||E)():r+":"+t}C({data:Se,removeData:xe,hasData:function(t){for(var e in Kt[t.ng339])return!0;return!1},cleanData:function(t){for(var e=0,n=t.length;e<n;e++)xe(t[e]),we(t[e])}},(function(t,e){me[e]=t})),C({data:Se,inheritedData:Oe,scope:function(t){return a.data(t,"$scope")||Oe(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return a.data(t,"$isolateScope")||a.data(t,"$isolateScopeNoTemplate")},controller:Te,injector:function(t){return Oe(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Ae,css:function(t,e,n){if(e=function(t){return ne(t.replace(Jt,"ms-"))}(e),!V(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r,i=t.nodeType;if(i!==Ht&&2!==i&&i!==Ft&&t.getAttribute){var o=h(e),a=Re[o];if(!V(n))return r=t.getAttribute(e),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)}},prop:function(t,e,n){if(!V(n))return t[e];t[e]=n},text:function(){return t.$dv="",t;function t(t,e){if(L(e)){var n=t.nodeType;return n===qt||n===Ht?t.textContent:""}t.textContent=e}}(),val:function(t,e){if(L(e)){if(t.multiple&&"select"===rt(t)){var n=[];return C(t.options,(function(t){t.selected&&n.push(t.value||t.text)})),n}return t.value}t.value=e},html:function(t,e){if(L(e))return t.innerHTML;$e(t,!0),t.innerHTML=e},empty:De},(function(t,e){me.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==De&&L(2===t.length&&t!==Ae&&t!==Te?e:n)){if(U(e)){for(r=0;r<o;r++)if(t===Se)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(var a=t.$dv,s=L(a)?Math.min(o,1):o,u=0;u<s;u++){var l=t(this[u],e,n);a=a?a+l:l}return a}for(r=0;r<o;r++)t(this[r],e,n);return this}})),C({removeData:xe,on:function(t,e,n,r){if(V(r))throw te("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(pe(t)){var i=Ce(t,!0),o=i.events,a=i.handle;a||(a=i.handle=function(t,e){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=e[r||n.type],o=i?i.length:0;if(o){if(L(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Ve;o>1&&(i=Wt(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(t,n,i[u])}};return n.elem=t,n}(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],u=s.length,l=function(e,r,i){var s=o[e];s||((s=o[e]=[]).specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,a)),s.push(n)};u--;)e=s[u],Qt[e]?(l(Qt[e],Ue),l(e,void 0,!0)):l(e)}},off:we,one:function(t,e,n){(t=a(t)).on(e,(function r(){t.off(e,n),t.off(e,r)})),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;$e(t),C(new me(e),(function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e}))},children:function(t){var e=[];return C(t.childNodes,(function(t){t.nodeType===qt&&e.push(t)})),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===qt||n===Bt)for(var r=0,i=(e=new me(e)).length;r<i;r++){var o=e[r];t.appendChild(o)}},prepend:function(t,e){if(t.nodeType===qt){var n=t.firstChild;C(new me(e),(function(e){t.insertBefore(e,n)}))}},wrap:function(t,e){var n,r,i;n=t,r=a(e).eq(0).clone()[0],(i=n.parentNode)&&i.replaceChild(r,n),r.appendChild(n)},remove:Me,detach:function(t){Me(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r)for(var i=0,o=(e=new me(e)).length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:_e,removeClass:Ee,toggleClass:function(t,e,n){e&&C(e.split(" "),(function(e){var r=n;L(r)&&(r=!Ae(t,e)),(r?_e:Ee)(t,e)}))},parent:function(t){var e=t.parentNode;return e&&e.nodeType!==Bt?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:ge,triggerHandler:function(t,e,n){var r,i,o,a=e.type||e,s=Ce(t),u=s&&s.events,l=u&&u[a];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:I,type:a,target:t},e.type&&(r=T(r,e)),i=Wt(l),o=n?[r].concat(n):[r],C(i,(function(e){r.isImmediatePropagationStopped()||e.apply(t,o)})))}},(function(t,e){me.prototype[e]=function(e,n,r){for(var i,o=0,s=this.length;o<s;o++)L(i)?V(i=t(this[o],e,n,r))&&(i=a(i)):ke(i,t(this[o],e,n,r));return V(i)?i:this}})),me.prototype.bind=me.prototype.on,me.prototype.unbind=me.prototype.off;var Fe=Object.create(null);function ze(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}ze.prototype={_idx:function(t){return t!==this._lastKey&&(this._lastKey=t,this._lastIndex=this._keys.indexOf(t)),this._lastIndex},_transformKey:function(t){return M(t)?Fe:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(-1!==e)return this._values[e]},has:function(t){return t=this._transformKey(t),-1!==this._idx(t)},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},delete:function(t){t=this._transformKey(t);var e=this._idx(t);return-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Be=ze,We=[function(){this.$get=[function(){return Be}]}],Ge=/^([^(]+?)=>/,Ye=/^[^(]*\(\s*([^)]*)\)/m,Ke=/,/,Xe=/^\s*(_?)(\S+?)\1\s*$/,Ze=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Je=i("$injector");function Qe(t){return Function.prototype.toString.call(t)}function tn(t){var e=Qe(t).replace(Ze,"");return e.match(Ge)||e.match(Ye)}function en(t,e){e=!0===e;var n={},r="Provider",i=[],a=new Be,s={$provide:{provider:d(v),factory:d(g),service:d((function(t,e){return g(t,["$injector",function(t){return t.instantiate(e)}])})),value:d((function(t,e){return g(t,j(e),!1)})),constant:d((function(t,e){Nt(t,"constant"),s[t]=e,c[t]=e})),decorator:function(t,e){var n=l.get(t+r),i=n.$get;n.$get=function(){var t=h.invoke(i,n);return h.invoke(e,null,{$delegate:t})}}}},l=s.$injector=y(s,(function(t,e){throw b.isString(e)&&i.push(e),Je("unpr","Unknown provider: {0}",i.join(" <- "))})),c={},f=y(c,(function(t,e){var n=l.get(t+r,e);return h.invoke(n.$get,n,void 0,t)})),h=f;s["$injector"+r]={$get:j(f)},h.modules=l.modules=Vt();var p=$(t);return(h=f.get("$injector")).strictDi=e,C(p,(function(t){t&&h.invoke(t)})),h.loadNewModules=function(t){C($(t),(function(t){t&&h.invoke(t)}))},h;function d(t){return function(e,n){if(!U(e))return t(e,n);C(e,A(t))}}function v(t,e){if(Nt(t,"service"),(G(e)||B(e))&&(e=l.instantiate(e)),!e.$get)throw Je("pget","Provider '{0}' must define $get factory method.",t);return s[t+r]=e}function m(t,e){return function(){var n=h.invoke(e,this);if(L(n))throw Je("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function g(t,e,n){return v(t,{$get:!1!==n?m(t,e):e})}function $(t){Rt(L(t)||B(t),"modulesToLoad","not an array");var e,n=[];return C(t,(function(t){if(!a.get(t)){a.set(t,!0);try{H(t)?(e=u(t),h.modules[t]=e,n=n.concat($(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):G(t)||B(t)?n.push(l.invoke(t)):jt(t,"module")}catch(e){throw B(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Je("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=l.get(r[0]);i[r[1]].apply(i,r[2])}}})),n}function y(t,a){function u(e,r){if(t.hasOwnProperty(e)){if(t[e]===n)throw Je("cdep","Circular dependency found: {0}",e+" <- "+i.join(" <- "));return t[e]}try{return i.unshift(e),t[e]=n,t[e]=a(e,r),t[e]}catch(r){throw t[e]===n&&delete t[e],r}finally{i.shift()}}function l(t,n,r){for(var i=[],o=en.$$annotate(t,e,r),a=0,s=o.length;a<s;a++){var l=o[a];if("string"!=typeof l)throw Je("itkn","Incorrect injection token! Expected service name as string, got {0}",l);i.push(n&&n.hasOwnProperty(l)?n[l]:u(l,r))}return i}return{invoke:function(t,e,n,r){"string"==typeof n&&(r=n,n=null);var i=l(t,n,r);return B(t)&&(t=t[t.length-1]),function(t){if(o||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return Z(e)||(e=t.$$ngIsClass=/^class\b/.test(Qe(t))),e}(t)?(i.unshift(null),new(Function.prototype.bind.apply(t,i))):t.apply(e,i)},instantiate:function(t,e,n){var r=B(t)?t[t.length-1]:t,i=l(t,e,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:u,annotate:en.$$annotate,has:function(e){return s.hasOwnProperty(e+r)||t.hasOwnProperty(e)}}}}function nn(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(t){if(t){t.scrollIntoView();var e=function(){var t=u.yOffset;if(G(t))t=t();else if(nt(t)){var e=t[0];t="fixed"!==n.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else F(t)||(t=0);return t}();if(e){var r=t.getBoundingClientRect().top;n.scrollBy(0,r-e)}}else n.scrollTo(0,0)}function u(t){var e,n,i;(t=H(t)?t:F(t)?t.toString():r.hash())?(e=o.getElementById(t))?s(e):(n=o.getElementsByName(t),i=null,Array.prototype.some.call(n,(function(t){if("a"===rt(t))return i=t,!0})),(e=i)?s(e):"top"===t&&s(null)):s(null)}return e&&i.$watch((function(){return r.hash()}),(function(e,n){var r,o;e===n&&""===e||(r=function(){i.$evalAsync(u)},"complete"===(o=o||t).document.readyState?o.setTimeout(r):a(o).on("load",r))})),u}]}en.$$annotate=function(t,e,n){var r,i;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw H(n)&&n||(n=t.name||function(t){var e=tn(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),Je("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);C(tn(t)[1].split(Ke),(function(t){t.replace(Xe,(function(t,e,n){r.push(n)}))}))}t.$inject=r}}else B(t)?(jt(t[i=t.length-1],"fn"),r=t.slice(0,i)):jt(t,"fn",!0);return r};var rn=i("$animate"),on="ng-animate";function an(t,e){return t||e?t?e?(B(t)&&(t=t.join(" ")),B(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function sn(t){return U(t)?t:{}}var un=function(){this.$get=I},ln=function(){var t=new Be,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:I,on:I,off:I,pin:I,push:function(a,s,u,l){l&&l(),(u=u||{}).from&&a.css(u.from),u.to&&a.css(u.to),(u.addClass||u.removeClass)&&function(n,a,s){var u=t.get(n)||{},l=i(u,a,!0),c=i(u,s,!1);(l||c)&&(t.set(n,u),e.push(n),1===e.length&&r.$$postDigest(o))}(a,u.addClass,u.removeClass);var c=new n;return c.complete(),c}};function i(t,e,n){var r=!1;return e&&C(e=H(e)?e.split(" "):B(e)?e:[],(function(e){e&&(r=!0,t[e]=n)})),r}function o(){C(e,(function(e){var n=t.get(e);if(n){var r=function(t){H(t)&&(t=t.split(" "));var e=Vt();return C(t,(function(t){t.length&&(e[t]=!0)})),e}(e.attr("class")),i="",o="";C(n,(function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:o+=(o.length?" ":"")+e)})),C(e,(function(t){i&&_e(t,i),o&&Ee(t,o)})),t.delete(e)}})),e.length=0}}]},cn=["$provide",function(t){var e=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw rn("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=G(t)?t:null),r},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)&&new RegExp("[(\\s|\\/)]"+on+"[(\\s|\\/)]").test(n.toString()))throw n=null,rn("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',on);return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.cancel&&t.cancel()},enter:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"enter",sn(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"move",sn(o))},leave:function(e,n){return t.push(e,"leave",sn(n),(function(){e.remove()}))},addClass:function(e,n,r){return(r=sn(r)).addClass=an(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return(r=sn(r)).removeClass=an(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return(i=sn(i)).addClass=an(i.addClass,n),i.removeClass=an(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return(o=sn(o)).from=o.from?T(o.from,n):n,o.to=o.to?T(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=an(o.tempClasses,i),t.push(e,"animate",o)}}}]}],fn=function(){this.$get=["$$rAF",function(t){var e=[];function n(n){e.push(n),e.length>1||t((function(){for(var t=0;t<e.length;t++)e[t]();e=[]}))}return function(){var t=!1;return n((function(){t=!0})),function(e){t?e():n(e)}}}]},hn=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r,i){function o(t){this.setHost(t);var e=n();this._doneCallbacks=[],this._tick=function(t){r()?function(t){i(t,0,!1)}(t):e(t)},this._state=0}return o.chain=function(t,e){var n=0;!function r(){n!==t.length?t[n]((function(t){!1!==t?(n++,r()):e(!1)})):e(!0)}()},o.all=function(t,e){var n=0,r=!0;function i(i){r=r&&i,++n===t.length&&e(r)}C(t,(function(t){t.done(i)}))},o.prototype={setHost:function(t){this.host=t||{}},done:function(t){2===this._state?t():this._doneCallbacks.push(t)},progress:I,getPromise:function(){if(!this.promise){var e=this;this.promise=t((function(t,n){e.done((function(e){!1===e?n():t()}))}))}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(t){var e=this;0===e._state&&(e._state=1,e._tick((function(){e._resolve(t)})))},_resolve:function(t){2!==this._state&&(C(this._doneCallbacks,(function(e){e(t)})),this._doneCallbacks.length=0,this._state=2)}},o}]},pn=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){var i=r||{};i.$$prepared||(i=at(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(e.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return t((function(){i.addClass&&(e.addClass(i.addClass),i.addClass=null),i.removeClass&&(e.removeClass(i.removeClass),i.removeClass=null),i.to&&(e.css(i.to),i.to=null),o||a.complete(),o=!0})),a}}}]};function dn(t,e,n,r,i){var o=this,s=t.location,u=t.history,l=t.setTimeout,c=t.clearTimeout,f={},h=i(n);o.isMock=!1,o.$$completeOutstandingRequest=h.completeTask,o.$$incOutstandingRequestCount=h.incTaskCount,o.notifyWhenNoOutstandingRequests=h.notifyWhenNoPendingTasks;var p,d,v=s.href,m=e.find("base"),g=null,$=r.history?function(){try{return u.state}catch(t){}}:I;S(),o.url=function(e,n,i){if(L(i)&&(i=null),s!==t.location&&(s=t.location),u!==t.history&&(u=t.history),e){var a=d===i;if(e=mi(e).href,v===e&&(!r.history||a))return o;var l=v&&pr(v)===pr(e);return v=e,d=i,!r.history||l&&a?(l||(g=e),n?s.replace(e):l?s.hash=function(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}(e):s.href=e,s.href!==e&&(g=e)):(u[n?"replaceState":"pushState"](i,"",e),S()),g&&(g=e),o}return function(t){return t.replace(/#$/,"")}(g||s.href)},o.state=function(){return p};var y=[],b=!1;function w(){g=null,A()}var x=null;function S(){ut(p=L(p=$())?null:p,x)&&(p=x),x=p,d=p}function A(){var t=d;S(),v===o.url()&&t===p||(v=o.url(),d=p,C(y,(function(t){t(o.url(),p)})))}o.onUrlChange=function(e){return b||(r.history&&a(t).on("popstate",w),a(t).on("hashchange",w),b=!0),y.push(e),e},o.$$applicationDestroyed=function(){a(t).off("hashchange popstate",w)},o.$$checkUrlChange=A,o.baseHref=function(){var t=m.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(t,e,n){var r;return e=e||0,n=n||h.DEFAULT_TASK_TYPE,h.incTaskCount(n),r=l((function(){delete f[r],h.completeTask(t,n)}),e),f[r]=n,r},o.defer.cancel=function(t){if(f.hasOwnProperty(t)){var e=f[t];return delete f[t],c(t),h.completeTask(I,e),!0}return!1}}function vn(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(t,e,n,r,i){return new dn(t,r,e,n,i)}]}function mn(){this.$get=function(){var t={};function e(e,n){if(e in t)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var r=0,o=T({},n,{id:e}),a=Vt(),s=n&&n.capacity||Number.MAX_VALUE,u=Vt(),l=null,c=null;return t[e]={put:function(t,e){if(!L(e))return s<Number.MAX_VALUE&&f(u[t]||(u[t]={key:t})),t in a||r++,a[t]=e,r>s&&this.remove(c.key),e},get:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;f(e)}return a[t]},remove:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;e===l&&(l=e.p),e===c&&(c=e.n),h(e.n,e.p),delete u[t]}t in a&&(delete a[t],r--)},removeAll:function(){a=Vt(),r=0,u=Vt(),l=c=null},destroy:function(){a=null,o=null,u=null,delete t[e]},info:function(){return T({},o,{size:r})}};function f(t){t!==l&&(c?c===t&&(c=t.n):c=t,h(t.n,t.p),h(t,l),(l=t).n=null)}function h(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){var e={};return C(t,(function(t,n){e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function gn(){this.$get=["$cacheFactory",function(t){return t("templates")}]}var $n=i("$compile"),yn=new function(){};function bn(e,n){var r={},i="Directive",s=/^\s*directive:\s*([\w-]+)\s+(.*)$/,u=/(([\w-]+)(?::([^;]+))?;?)/,l=function(t){var e,n={},r="ngSrc,ngSrcset,src,srcset".split(",");for(e=0;e<r.length;e++)n[r[e]]=!0;return n}(),c=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,p=/^(on[a-z]+|formaction)$/,d=Vt();function v(t,e,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=Vt();return C(t,(function(t,o){if((t=t.trim())in d)i[o]=d[t];else{var a=t.match(r);if(!a)throw $n("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(d[t]=i[o])}})),i}function m(t,e){var n={isolateScope:null,bindToController:null};if(U(t.scope)&&(!0===t.bindToController?(n.bindToController=v(t.scope,e,!0),n.isolateScope={}):n.isolateScope=v(t.scope,e,!1)),U(t.bindToController)&&(n.bindToController=v(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw $n("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function t(n,o){return Rt(n,"name"),Nt(n,"directive"),H(n)?(function(t){var e=t.charAt(0);if(!e||e!==h(e))throw $n("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw $n("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(n),Rt(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],e.factory(n+i,["$injector","$exceptionHandler",function(t,e){var i=[];return C(r[n],(function(r,o){try{var a=t.invoke(r);G(a)?a={compile:j(a)}:!a.compile&&a.link&&(a.compile=j(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(t){var e=t.require||t.controller&&t.name;return!B(e)&&U(e)&&C(e,(function(t,n){var r=t.match(c);t.substring(r[0].length)||(e[n]=r[0]+n)})),e}(a),a.restrict=function(t,e){if(t&&(!H(t)||!/[EACM]/.test(t)))throw $n("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(t){e(t)}})),i}])),r[n].push(o)):C(n,A(t)),this},this.component=function t(e,n){if(!H(e))return C(e,A(pt(this,t))),this;var r=n.controller||function(){};function i(t){function e(e){return G(e)||B(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:On(n.controller)||n.controllerAs||"$ctrl",template:e(i),templateUrl:e(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return C(n,(function(t,e){"$"===e.charAt(0)&&(o[e]=t)})),o}return C(n,(function(t,e){"$"===e.charAt(0)&&(i[e]=t,G(r)&&(r[e]=t))})),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationTrustedUrlList=function(t){return V(t)?(n.aHrefSanitizationTrustedUrlList(t),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(t){this.aHrefSanitizationTrustedUrlList=t}}),this.imgSrcSanitizationTrustedUrlList=function(t){return V(t)?(n.imgSrcSanitizationTrustedUrlList(t),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(t){this.imgSrcSanitizationTrustedUrlList=t}});var $=!0;this.debugInfoEnabled=function(t){return V(t)?($=t,this):$};var y=!1;this.strictComponentBindingsEnabled=function(t){return V(t)?(y=t,this):y};var b=10;this.onChangesTtl=function(t){return arguments.length?(b=t,this):b};var w=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(w=t,this):w};var x=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(x=t,this):x};var S=Vt();this.addPropertySecurityContext=function(t,e,n){var r=t.toLowerCase()+"|"+e.toLowerCase();if(r in S&&S[r]!==n)throw $n("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,S[r],n);return S[r]=n,this},function(){function t(t,e){C(e,(function(e){S[e.toLowerCase()]=t}))}t(Jr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Jr.CSS,["*|style"]),t(Jr.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Jr.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Jr.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(e,n,d,v,A,E,_,k,O){var D,M=/^\w/,j=t.document.createElement("div"),N=w,V=x,q=b;function F(){try{if(!--q)throw D=void 0,$n("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);_.$apply((function(){for(var t=0,e=D.length;t<e;++t)try{D[t]()}catch(t){d(t)}D=void 0}))}finally{q++}}function z(t,e){if(!t)return t;if(!H(t))throw $n("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",r=tt(t),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),a=Math.floor(o.length/2),s=0;s<a;s++){var u=2*s;n+=k.getTrustedMediaUrl(tt(o[u])),n+=" "+tt(o[u+1])}var l=tt(o[2*s]).split(/\s/);return n+=k.getTrustedMediaUrl(tt(l[0])),2===l.length&&(n+=" "+tt(l[1])),n}function Y(t,e){if(e){var n,r,i,o=Object.keys(e);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=e[i]}else this.$attr={};this.$$element=t}function K(t,e){try{t.addClass(e)}catch(t){}}Y.prototype={$normalize:Sn,$addClass:function(t){t&&t.length>0&&O.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&O.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=An(t,e);n&&n.length&&O.addClass(this.$$element,n);var r=An(e,t);r&&r.length&&O.removeClass(this.$$element,r)},$set:function(t,e,n,r){var i=Le(this.$$element[0],t),o=Ne[t],a=t;i?(this.$$element.prop(t,e),r=i):o&&(this[o]=e,a=o),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=Mt(t,"-")),"img"===rt(this.$$element)&&"srcset"===t&&(this[t]=e=z(e,"$set('srcset', value)")),!1!==n&&(null===e||L(e)?this.$$element.removeAttr(r):M.test(r)?i&&!1===e?this.$$element.removeAttr(r):this.$$element.attr(r,e):function(t,e,n){j.innerHTML="<span "+e+">";var r=j.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}(this.$$element[0],r,e));var s=this.$$observers;s&&C(s[a],(function(t){try{t(e)}catch(t){d(t)}}))},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=Vt()),i=r[t]||(r[t]=[]);return i.push(e),_.$evalAsync((function(){i.$$inter||!n.hasOwnProperty(t)||L(n[t])||e(n[t])})),function(){ot(i,e)}}};var J=n.startSymbol(),Q=n.endSymbol(),et="{{"===J&&"}}"===Q?R:function(t){return t.replace(/\{\{/g,J).replace(/}}/g,Q)},nt=/^ng(Attr|Prop|On)([A-Z].*)$/,it=/^(.+)Start$/;return at.$$addBindingInfo=$?function(t,e){var n=t.data("$binding")||[];B(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:I,at.$$addBindingClass=$?function(t){K(t,"ng-binding")}:I,at.$$addScopeInfo=$?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:I,at.$$addScopeClass=$?function(t,e){K(t,e?"ng-isolate-scope":"ng-scope")}:I,at.$$createComment=function(e,n){var r="";return $&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},at;function at(t,e,n,r,i){t instanceof a||(t=a(t));var o=lt(t,e,t,n,r,i);at.$$addScopeClass(t);var s=null;return function(e,n,r){if(!t)throw $n("multilink","This element has already been linked.");Rt(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new());var u,l,c,f=(r=r||{}).parentBoundTranscludeFn,h=r.transcludeControllers,p=r.futureParentElement;if(f&&f.$$boundTransclude&&(f=f.$$boundTransclude),s||(l=(u=p)&&u[0],s=l&&"foreignobject"!==rt(l)&&g.call(l).match(/SVG/)?"svg":"html"),c="html"!==s?a(kt(s,a("<div></div>").append(t).html())):n?Ie.clone.call(t):t,h)for(var d in h)c.data("$"+d+"Controller",h[d].instance);return at.$$addScopeInfo(c,e),n&&n(c,e),o&&o(e,c,c,f),n||(t=o=null),c}}function lt(t,e,n,r,i,s){for(var u,l,c,f,h,p,d,v=[],m=B(t)||t instanceof a,g=0;g<t.length;g++)u=new Y,11===o&&ct(t,g,m),(c=(l=dt(t[g],[],u,0===g?r:void 0,i)).length?$t(l,t[g],u,e,n,null,[],[],s):null)&&c.scope&&at.$$addScopeClass(u.$$element),h=c&&c.terminal||!(f=t[g].childNodes)||!f.length?null:lt(f,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:e),(c||h)&&(v.push(g,c,h),p=!0,d=d||c),s=null;return p?function(t,n,r,i){var o,s,u,l,c,f,h,p;if(d){var m=n.length;for(p=new Array(m),c=0;c<v.length;c+=3)p[h=v[c]]=n[h]}else p=n;for(c=0,f=v.length;c<f;)u=p[v[c++]],o=v[c++],s=v[c++],o?(o.scope?(l=t.$new(),at.$$addScopeInfo(a(u),l)):l=t,o(s,l,u,r,o.transcludeOnThisElement?ft(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?ft(t,e):null)):s&&s(t,u.childNodes,void 0,i)}:null}function ct(t,e,n){var r,i=t[e],o=i.parentNode;if(i.nodeType===Ht)for(;(r=o?i.nextSibling:t[e+1])&&r.nodeType===Ht;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===t[e+1]&&t.splice(e+1,1)}function ft(t,e,n){function r(r,i,o,a,s){return r||((r=t.$new(!1,s)).$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=Vt();for(var o in e.$$slots)e.$$slots[o]?i[o]=ft(t,e.$$slots[o],n):i[o]=null;return r}function dt(t,e,r,i,o){var a,l,c,f=t.nodeType,h=r.$attr;switch(f){case qt:xt(e,Sn(l=rt(t)),"E",i,o);for(var p,d,v,m,g,$=t.attributes,y=0,b=$&&$.length;y<b;y++){var w,x=!1,C=!1,S=!1,A=!1,E=!1;d=(p=$[y]).name,m=p.value,(g=(v=Sn(d.toLowerCase())).match(nt))?(S="Attr"===g[1],A="Prop"===g[1],E="On"===g[1],d=d.replace(xn,"").toLowerCase().substr(4+g[1].length).replace(/_(.)/g,(function(t,e){return e.toUpperCase()}))):(w=v.match(it))&&Ct(w[1])&&(x=d,C=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),A||E?(r[v]=m,h[v]=p.name,A?Ot(t,e,v,d):Dt(e,v,d)):(h[v=Sn(d.toLowerCase())]=d,!S&&r.hasOwnProperty(v)||(r[v]=m,Le(t,v)&&(r[v]=!0)),Pt(t,e,m,v,S),xt(e,v,"A",i,o,x,C))}if("input"===l&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!V)break;if(U(c=t.className)&&(c=c.animVal),H(c)&&""!==c)for(;a=u.exec(c);)xt(e,v=Sn(a[2]),"C",i,o)&&(r[v]=tt(a[3])),c=c.substr(a.index+a[0].length);break;case Ht:!function(t,e){var r=n(e,!0);r&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&at.$$addBindingClass(e),function(t,e){var i=e.parent();n||at.$$addBindingClass(i),at.$$addBindingInfo(i,r.expressions),t.$watch(r,(function(t){e[0].nodeValue=t}))}}})}(e,t.nodeValue);break;case Ft:if(!N)break;!function(t,e,n,r,i){try{var o=s.exec(t.nodeValue);if(o){var a=Sn(o[1]);xt(e,a,"M",r,i)&&(n[a]=tt(o[2]))}}catch(t){}}(t,e,r,i,o)}return e.sort(Et),e}function vt(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw $n("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===qt&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0);else r.push(t);return a(r)}function mt(t,e,n){return function(r,i,o,a,s){return i=vt(i[0],e,n),t(r,i,o,a,s)}}function gt(t,e,n,r,i,o){var a;return t?at(e,n,r,i,o):function(){return a||(a=at(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function $t(e,n,r,i,o,s,u,l,c){c=c||{};for(var f,h,p,v,m,g=-Number.MAX_VALUE,$=c.newScopeDirective,y=c.controllerDirectives,b=c.newIsolateScopeDirective,w=c.templateDirective,x=c.nonTlbTranscludeDirective,S=!1,A=!1,_=c.hasElementTranscludeDirective,k=r.$$element=a(n),O=s,D=i,M=!1,P=!1,I=0,R=e.length;I<R;I++){var j=(f=e[I]).$$start,N=f.$$end;if(j&&(k=vt(n,j,N)),p=void 0,g>f.priority)break;if((m=f.scope)&&(f.templateUrl||(U(m)?(_t("new/isolated scope",b||$,f,k),b=f):_t("new/isolated scope",b,f,k)),$=$||f),h=f.name,!M&&(f.replace&&(f.templateUrl||f.template)||f.transclude&&!f.$$tlb)){for(var V,q=I+1;V=e[q++];)if(V.transclude&&!V.$$tlb||V.replace&&(V.templateUrl||V.template)){P=!0;break}M=!0}if(!f.templateUrl&&f.controller&&(y=y||Vt(),_t("'"+h+"' controller",y[h],f,k),y[h]=f),m=f.transclude)if(S=!0,f.$$tlb||(_t("transclusion",x,f,k),x=f),"element"===m)_=!0,g=f.priority,p=k,k=r.$$element=a(at.$$createComment(h,r[h])),n=k[0],It(o,ht(p),n),D=gt(P,p,i,g,O&&O.name,{nonTlbTranscludeDirective:x});else{var H=Vt();if(U(m)){p=t.document.createDocumentFragment();var F=Vt(),z=Vt();for(var W in C(m,(function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,F[t]=e,H[e]=null,z[e]=n})),C(k.contents(),(function(e){var n=F[Sn(rt(e))];n?(z[n]=!0,H[n]=H[n]||t.document.createDocumentFragment(),H[n].appendChild(e)):p.appendChild(e)})),C(z,(function(t,e){if(!t)throw $n("reqslot","Required transclusion slot `{0}` was not filled.",e)})),H)if(H[W]){var K=a(H[W].childNodes);H[W]=gt(P,K,i)}p=a(p.childNodes)}else p=a(ge(n)).contents();k.empty(),(D=gt(P,p,i,void 0,void 0,{needsNewScope:f.$$isolateScope||f.$$newScope})).$$slots=H}if(f.template)if(A=!0,_t("template",w,f,k),w=f,m=G(f.template)?f.template(k,r):f.template,m=et(m),f.replace){if(O=f,p=he(m)?[]:En(kt(f.templateNamespace,tt(m))),n=p[0],1!==p.length||n.nodeType!==qt)throw $n("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");It(o,k,n);var Z={$attr:{}},J=dt(n,[],Z),Q=e.splice(I+1,e.length-(I+1));(b||$)&&bt(J,b,$),e=e.concat(J).concat(Q),St(r,Z),R=e.length}else k.html(m);if(f.templateUrl)A=!0,_t("template",w,f,k),w=f,f.replace&&(O=f),ot=At(e.splice(I,e.length-I),k,r,o,S&&D,u,l,{controllerDirectives:y,newScopeDirective:$!==f&&$,newIsolateScopeDirective:b,templateDirective:w,nonTlbTranscludeDirective:x}),R=e.length;else if(f.compile)try{v=f.compile(k,r,D);var nt=f.$$originalDirective||f;G(v)?it(null,pt(nt,v),j,N):v&&it(pt(nt,v.pre),pt(nt,v.post),j,N)}catch(t){d(t,wt(k))}f.terminal&&(ot.terminal=!0,g=Math.max(g,f.priority))}return ot.scope=$&&!0===$.scope,ot.transcludeOnThisElement=S,ot.templateOnThisElement=A,ot.transclude=D,c.hasElementTranscludeDirective=_,ot;function it(t,e,n,r){t&&(n&&(t=mt(t,n,r)),t.require=f.require,t.directiveName=h,(b===f||f.$$isolateScope)&&(t=jt(t,{isolateScope:!0})),u.push(t)),e&&(n&&(e=mt(e,n,r)),e.require=f.require,e.directiveName=h,(b===f||f.$$isolateScope)&&(e=jt(e,{isolateScope:!0})),l.push(e))}function ot(t,e,i,o,s){var c,f,h,p,v,m,g,x,S,A;for(var k in n===i?(S=r,x=r.$$element):S=new Y(x=a(i),r),v=e,b?p=e.$new(!0):$&&(v=e.$parent),s&&(g=function(t,e,n,r){var i;if(X(t)||(r=n,n=e,e=t,t=void 0),_&&(i=m),n||(n=_?x.parent():x),!r)return s(t,e,i,n,P);var o=s.$$slots[r];if(o)return o(t,e,i,n,P);if(L(o))throw $n("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,wt(x))},g.$$boundTransclude=s,g.isSlotFilled=function(t){return!!s.$$slots[t]}),y&&(m=function(t,e,n,r,i,o,a){var s=Vt();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n},f=l.controller;"@"===f&&(f=e[l.name]);var h=E(f,c,!0,l.controllerAs);s[l.name]=h,t.data("$"+l.name+"Controller",h.instance)}return s}(x,S,g,y,p,e,b)),b&&(at.$$addScopeInfo(x,p,!0,!(w&&(w===b||w===b.$$originalDirective))),at.$$addScopeClass(x,!0),p.$$isolateBindings=b.$$isolateBindings,(A=Ut(e,S,p,p.$$isolateBindings,b)).removeWatches&&p.$on("$destroy",A.removeWatches)),m){var O=y[k],D=m[k],M=O.$$bindings.bindToController;D.instance=D(),x.data("$"+O.name+"Controller",D.instance),D.bindingInfo=Ut(v,S,D.instance,M,O)}for(C(y,(function(t,e){var n=t.require;t.bindToController&&!B(n)&&U(n)&&T(m[e].instance,yt(e,n,x,m))})),C(m,(function(t){var e=t.instance;if(G(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){d(t)}if(G(e.$onInit))try{e.$onInit()}catch(t){d(t)}G(e.$doCheck)&&(v.$watch((function(){e.$doCheck()})),e.$doCheck()),G(e.$onDestroy)&&v.$on("$destroy",(function(){e.$onDestroy()}))})),c=0,f=u.length;c<f;c++)Nt(h=u[c],h.isolateScope?p:e,x,S,h.require&&yt(h.directiveName,h.require,x,m),g);var P=e;for(b&&(b.template||null===b.templateUrl)&&(P=p),t&&t(P,i.childNodes,void 0,s),c=l.length-1;c>=0;c--)Nt(h=l[c],h.isolateScope?p:e,x,S,h.require&&yt(h.directiveName,h.require,x,m),g);C(m,(function(t){var e=t.instance;G(e.$postLink)&&e.$postLink()}))}}function yt(t,e,n,r){var i;if(H(e)){var o=e.match(c),a=e.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():i=(i=r&&r[a])&&i.instance,!i){var l="$"+a+"Controller";i="^^"===s&&n[0]&&n[0].nodeType===zt?null:s?n.inheritedData(l):n.data(l)}if(!i&&!u)throw $n("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(B(e)){i=[];for(var f=0,h=e.length;f<h;f++)i[f]=yt(t,e[f],n,r)}else U(e)&&(i={},C(e,(function(e,o){i[o]=yt(t,e,n,r)})));return i||null}function bt(t,e,n){for(var r=0,i=t.length;r<i;r++)t[r]=P(t[r],{$$isolateScope:e,$$newScope:n})}function xt(t,n,o,a,s,u,l){if(n===s)return null;var c=null;if(r.hasOwnProperty(n))for(var f,h=e.get(n+i),p=0,d=h.length;p<d;p++)if(f=h[p],(L(a)||a>f.priority)&&-1!==f.restrict.indexOf(o)){if(u&&(f=P(f,{$$start:u,$$end:l})),!f.$$bindings){var v=f.$$bindings=m(f,f.name);U(v.isolateScope)&&(f.$$isolateBindings=v.isolateScope)}t.push(f),c=f}return c}function Ct(t){if(r.hasOwnProperty(t))for(var n=e.get(t+i),o=0,a=n.length;o<a;o++)if(n[o].multiElement)return!0;return!1}function St(t,e){var n=e.$attr,r=t.$attr;C(t,(function(r,i){"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r.length?r+=("style"===i?";":" ")+e[i]:r=e[i]),t.$set(i,r,!0,n[i]))})),C(e,(function(e,i){t.hasOwnProperty(i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(r[i]=n[i]))}))}function At(t,e,n,r,i,o,s,u){var l,c,f=[],h=e[0],p=t.shift(),m=P(p,{templateUrl:null,transclude:null,replace:null,$$originalDirective:p}),g=G(p.templateUrl)?p.templateUrl(e,n):p.templateUrl,$=p.templateNamespace;return e.empty(),v(g).then((function(d){var v,y,b,w;if(d=et(d),p.replace){if(b=he(d)?[]:En(kt($,tt(d))),v=b[0],1!==b.length||v.nodeType!==qt)throw $n("tplrt","Template for directive '{0}' must have exactly one root element. {1}",p.name,g);y={$attr:{}},It(r,e,v);var x=dt(v,[],y);U(p.scope)&&bt(x,!0),t=x.concat(t),St(n,y)}else v=h,e.html(d);for(t.unshift(m),l=$t(t,v,n,i,e,p,o,s,u),C(r,(function(t,n){t===v&&(r[n]=e[0])})),c=lt(e[0].childNodes,i);f.length;){var S=f.shift(),A=f.shift(),E=f.shift(),_=f.shift(),k=e[0];if(!S.$$destroyed){if(A!==h){var T=A.className;u.hasElementTranscludeDirective&&p.replace||(k=ge(v)),It(E,a(A),k),K(a(k),T)}w=l.transcludeOnThisElement?ft(S,l.transclude,_):_,l(c,S,k,r,w)}}f=null})).catch((function(t){W(t)&&d(t)})),function(t,e,n,r,i){var o=i;e.$$destroyed||(f?f.push(e,n,r,o):(l.transcludeOnThisElement&&(o=ft(e,l.transclude,i)),l(c,e,n,r,o)))}}function Et(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function _t(t,e,n,r){function i(t){return t?" (module: "+t+")":""}if(e)throw $n("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,wt(r))}function kt(e,n){switch(e=h(e||"html")){case"svg":case"math":var r=t.document.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function Tt(t){return z(k.valueOf(t),"ng-prop-srcset")}function Ot(t,e,n,r){if(p.test(r))throw $n("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=rt(t),o=function(t,e){var n=e.toLowerCase();return S[t+"|"+n]||S["*|"+n]}(i,r),a=R;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=k.getTrusted.bind(k,o)):a=Tt,e.push({priority:100,compile:function(t,e){var i=A(e[n]),o=A(e[n],(function(t){return k.valueOf(t)}));return{pre:function(t,e){function n(){var n=i(t);e[0][r]=a(n)}n(),t.$watch(o,n)}}}})}function Dt(t,e,n){t.push(Wo(A,_,d,e,n,!1))}function Pt(t,e,r,i,o){var a=rt(t),s=function(t,e){return"srcdoc"===e?k.HTML:"src"===e||"ngSrc"===e?-1===["img","video","audio","source","track"].indexOf(t)?k.RESOURCE_URL:k.MEDIA_URL:"xlinkHref"===e?"image"===t?k.MEDIA_URL:"a"===t?k.URL:k.RESOURCE_URL:"form"===t&&"action"===e||"base"===t&&"href"===e||"link"===t&&"href"===e?k.RESOURCE_URL:"a"!==t||"href"!==e&&"ngHref"!==e?void 0:k.URL}(a,i),u=!o,c=l[i]||o,f=n(r,u,s,c);if(f){if("multiple"===i&&"select"===a)throw $n("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",wt(t));if(p.test(i))throw $n("nodomevents","Interpolations for HTML DOM event attributes are disallowed");e.push({priority:100,compile:function(){return{pre:function(t,e,o){var a=o.$$observers||(o.$$observers=Vt()),u=o[i];u!==r&&(f=u&&n(u,!0,s,c),r=u),f&&(o[i]=f(t),(a[i]||(a[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||t).$watch(f,(function(t,e){"class"===i&&t!==e?o.$updateClass(t,e):o.$set(i,t)})))}}}})}}function It(e,n,r){var i,o,s=n[0],u=n.length,l=s.parentNode;if(e)for(i=0,o=e.length;i<o;i++)if(e[i]===s){e[i++]=r;for(var c=i,f=c+u-1,h=e.length;c<h;c++,f++)f<h?e[c]=e[f]:delete e[c];e.length-=u-1,e.context===s&&(e.context=r);break}l&&l.replaceChild(r,s);var p=t.document.createDocumentFragment();for(i=0;i<u;i++)p.appendChild(n[i]);for(a.hasData(s)&&(a.data(r,a.data(s)),a(s).off("$destroy")),a.cleanData(p.querySelectorAll("*")),i=1;i<u;i++)delete n[i];n[0]=r,n.length=1}function jt(t,e){return T((function(){return t.apply(null,arguments)}),t,e)}function Nt(t,e,n,r,i,o){try{t(e,n,r,i,o)}catch(t){d(t,wt(n))}}function Lt(t,e){if(y)throw $n("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",t,e)}function Ut(t,e,r,i,o){var a,s=[],u={};function l(e,n,i){G(r.$onChanges)&&!st(n,i)&&(D||(t.$$postDigest(F),D=[]),a||(a={},D.push(c)),a[e]&&(i=a[e].previousValue),a[e]=new wn(i,n))}function c(){r.$onChanges(a),a=void 0}return C(i,(function(i,a){var c,h,p,d,v,m=i.attrName,g=i.optional;switch(i.mode){case"@":g||f.call(e,m)||(Lt(m,o.name),r[a]=e[m]=void 0),v=e.$observe(m,(function(t){if(H(t)||Z(t)){var e=r[a];l(a,t,e),r[a]=t}})),e.$$observers[m].$$scope=t,H(c=e[m])?r[a]=n(c)(t):Z(c)&&(r[a]=c),u[a]=new wn(yn,r[a]),s.push(v);break;case"=":if(!f.call(e,m)){if(g)break;Lt(m,o.name),e[m]=void 0}if(g&&!e[m])break;h=A(e[m]),d=h.literal?ut:st,p=h.assign||function(){throw c=r[a]=h(t),$n("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[m],m,o.name)},c=r[a]=h(t);var $=function(e){return d(e,r[a])||(d(e,c)?p(t,e=r[a]):r[a]=e),c=e};$.$stateful=!0,v=i.collection?t.$watchCollection(e[m],$):t.$watch(A(e[m],$),null,h.literal),s.push(v);break;case"<":if(!f.call(e,m)){if(g)break;Lt(m,o.name),e[m]=void 0}if(g&&!e[m])break;var y=(h=A(e[m])).literal,b=r[a]=h(t);u[a]=new wn(yn,r[a]),v=t[i.collection?"$watchCollection":"$watch"](h,(function(t,e){if(e===t){if(e===b||y&&ut(e,b))return;e=b}l(a,t,e),r[a]=t})),s.push(v);break;case"&":if(g||f.call(e,m)||Lt(m,o.name),(h=e.hasOwnProperty(m)?A(e[m]):I)===I&&g)break;r[a]=function(e){return h(t,e)}}})),{initialChanges:u,removeWatches:s.length&&function(){for(var t=0,e=s.length;t<e;++t)s[t]()}}}}]}function wn(t,e){this.previousValue=t,this.currentValue=e}bn.$inject=["$provide","$$sanitizeUriProvider"],wn.prototype.isFirstChange=function(){return this.previousValue===yn};var xn=/^((?:x|data)[:\-_])/i,Cn=/[:\-_]+(.)/g;function Sn(t){return t.replace(xn,"").replace(Cn,(function(t,e,n){return n?e.toUpperCase():e}))}function An(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue t;n+=(n.length>0?" ":"")+a}return n}function En(t){var e=(t=a(t)).length;if(e<=1)return t;for(;e--;){var n=t[e];(n.nodeType===Ft||n.nodeType===Ht&&""===n.nodeValue.trim())&&v.call(t,e,1)}return t}var kn=i("$controller"),Tn=/^(\S+)(\s+as\s+([\w$]+))?$/;function On(t,e){if(e&&H(e))return e;if(H(t)){var n=Tn.exec(t);if(n)return n[3]}}function Dn(){var t={};this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){Nt(e,"controller"),U(e)?T(t,e):t[e]=n},this.$get=["$injector",function(e){return function(r,i,o,a){var s,u,l,c;if(o=!0===o,a&&H(a)&&(c=a),H(r)){if(!(u=r.match(Tn)))throw kn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(l=u[1],c=c||u[3],r=t.hasOwnProperty(l)?t[l]:function(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=i.length,a=0;a<o;a++)r=i[a],t&&(t=t[r]);return t}(i.$scope,l),!r)throw kn("ctrlreg","The controller with the name '{0}' is not registered.",l);jt(r,l,!0)}if(o){var f=(B(r)?r[r.length-1]:r).prototype;return s=Object.create(f||null),c&&n(i,c,s,l||r.name),T((function(){var t=e.invoke(r,s,i,l);return t!==s&&(U(t)||G(t))&&(s=t,c&&n(i,c,s,l||r.name)),s}),{instance:s,identifier:c})}return s=e.instantiate(r,i,l),c&&n(i,c,s,l||r.name),s};function n(t,e,n,r){if(!t||!U(t.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,e);t.$scope[e]=n}}]}function Mn(){this.$get=["$window",function(t){return a(t.document)}]}function Pn(){this.$get=["$document","$rootScope",function(t,e){var n=t[0],r=n&&n.hidden;function i(){r=n.hidden}return t.on("visibilitychange",i),e.$on("$destroy",(function(){t.off("visibilitychange",i)})),function(){return r}}]}function In(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}var Rn=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof a&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},jn="application/json",Nn={"Content-Type":jn+";charset=utf-8"},Ln=/^\[|^\{(?!\{)/,Vn={"[":/]$/,"{":/}$/},Un=/^\)]\}',?\n/,qn=i("$http");function Hn(t){return U(t)?z(t)?t.toISOString():vt(t):t}function Fn(){this.$get=function(){return function(t){if(!t)return"";var e=[];return S(t,(function(t,n){null===t||L(t)||G(t)||(B(t)?C(t,(function(t){e.push(At(n)+"="+At(Hn(t)))})):e.push(At(n)+"="+At(Hn(t))))})),e.join("&")}}}function zn(){this.$get=function(){return function(t){if(!t)return"";var e=[];return function t(n,r,i){B(n)?C(n,(function(e,n){t(e,r+"["+(U(e)?n:"")+"]")})):U(n)&&!z(n)?S(n,(function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))})):(G(n)&&(n=n()),e.push(At(r)+"="+(null==n?"":At(Hn(n)))))}(t,"",!0),e.join("&")}}}function Bn(t,e){if(H(t)){var n=t.replace(Un,"").trim();if(n){var r=e("Content-Type"),i=r&&0===r.indexOf(jn);if(i||(a=(o=n).match(Ln))&&Vn[a[0]].test(o))try{t=mt(n)}catch(e){if(!i)return t;throw qn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e)}}}var o,a;return t}function Wn(t){var e,n=Vt();function r(t,e){t&&(n[t]=n[t]?n[t]+", "+e:e)}return H(t)?C(t.split("\n"),(function(t){e=t.indexOf(":"),r(h(tt(t.substr(0,e))),tt(t.substr(e+1)))})):U(t)&&C(t,(function(t,e){r(h(e),tt(t))})),n}function Gn(t){var e;return function(n){if(e||(e=Wn(t)),n){var r=e[h(n)];return void 0===r&&(r=null),r}return e}}function Yn(t,e,n,r){return G(r)?r(t,e,n):(C(r,(function(r){t=r(t,e,n)})),t)}function Kn(t){return 200<=t&&t<300}function Xn(){var t=this.defaults={transformResponse:[Bn],transformRequest:[function(t){return!U(t)||(e=t,"[object File]"===g.call(e))||function(t){return"[object Blob]"===g.call(t)}(t)||function(t){return"[object FormData]"===g.call(t)}(t)?t:vt(t);var e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Wt(Nn),put:Wt(Nn),patch:Wt(Nn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},e=!1;this.useApplyAsync=function(t){return V(t)?(e=!!t,this):e};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(t){this.xsrfTrustedOrigins=t}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,l,c,f,d){var v=u("$http");t.paramSerializer=H(t.paramSerializer)?f.get(t.paramSerializer):t.paramSerializer;var m=[];C(n,(function(t){m.unshift(H(t)?f.get(t):f.invoke(t))}));var g,$=(g=[di].concat(r.map(mi)),function(t){var e=mi(t);return g.some(gi.bind(null,e))});function y(n){if(!U(n))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!H(d.valueOf(n.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var r=T({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);r.headers=function(e){var n,r,i,o=t.headers,a=T({},e.headers);o=T({},o.common,o[h(e.method)]);t:for(n in o){for(i in r=h(n),a)if(h(i)===r)continue t;a[n]=o[n]}return function(t,e){var n,r={};return C(t,(function(t,i){G(t)?null!=(n=t(e))&&(r[i]=n):r[i]=t})),r}(a,Wt(e))}(n),r.method=p(r.method),r.paramSerializer=H(r.paramSerializer)?f.get(r.paramSerializer):r.paramSerializer,o.$$incOutstandingRequestCount("$http");var u=[],g=[],b=c.resolve(r);return C(m,(function(t){(t.request||t.requestError)&&u.unshift(t.request,t.requestError),(t.response||t.responseError)&&g.push(t.response,t.responseError)})),b=(b=w(b,u)).then((function(n){var r=n.headers,i=Yn(n.data,Gn(r),void 0,n.transformRequest);return L(i)&&C(r,(function(t,e){"content-type"===h(e)&&delete r[e]})),L(n.withCredentials)&&!L(t.withCredentials)&&(n.withCredentials=t.withCredentials),function(n,r){var i,o,u=c.defer(),f=u.promise,p=n.headers,m="jsonp"===h(n.method),g=n.url;if(m?g=d.getTrustedResourceUrl(g):H(g)||(g=d.valueOf(g)),g=function(t,e){return e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}(g,n.paramSerializer(n.params)),m&&(g=function(t,e){var n=t.split("?");if(n.length>2)throw qn("badjsonp",'Illegal use more than one "?", in url, "{1}"',t);return C(Ct(n[1]),(function(n,r){if("JSON_CALLBACK"===n)throw qn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);if(r===e)throw qn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t)})),t+=(-1===t.indexOf("?")?"?":"&")+e+"=JSON_CALLBACK"}(g,n.jsonpCallbackParam)),y.pendingRequests.push(n),f.then(A,A),!n.cache&&!t.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(i=U(n.cache)?n.cache:U(t.cache)?t.cache:v),i&&(V(o=i.get(g))?J(o)?o.then(S,S):B(o)?x(o[1],o[0],Wt(o[2]),o[3],o[4]):x(o,200,{},"OK","complete"):i.put(g,f)),L(o)){var b=$(n.url)?s()[n.xsrfCookieName||t.xsrfCookieName]:void 0;b&&(p[n.xsrfHeaderName||t.xsrfHeaderName]=b),a(n.method,g,r,(function(t,n,r,o,a){function s(){x(n,t,r,o,a)}i&&(Kn(t)?i.put(g,[t,n,Wn(r),o,a]):i.remove(g)),e?l.$applyAsync(s):(s(),l.$$phase||l.$apply())}),p,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return f;function w(t){if(t){var n={};return C(t,(function(t,r){n[r]=function(n){function r(){t(n)}e?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}})),n}}function x(t,e,r,i,o){(Kn(e=e>=-1?e:0)?u.resolve:u.reject)({data:t,status:e,headers:Gn(r),config:n,statusText:i,xhrStatus:o})}function S(t){x(t.data,t.status,Wt(t.headers()),t.statusText,t.xhrStatus)}function A(){var t=y.pendingRequests.indexOf(n);-1!==t&&y.pendingRequests.splice(t,1)}}(n,i).then(x,x)})),(b=w(b,g)).finally((function(){o.$$completeOutstandingRequest(I,"$http")}));function w(t,e){for(var n=0,r=e.length;n<r;){var i=e[n++],o=e[n++];t=t.then(i,o)}return e.length=0,t}function x(t){var e=T({},t);return e.data=Yn(t.data,t.headers,t.status,r.transformResponse),Kn(t.status)?e:c.reject(e)}}return y.pendingRequests=[],function(t){C(arguments,(function(t){y[t]=function(e,n){return y(T({},n||{},{method:t,url:e}))}}))}("get","delete","head","jsonp"),function(t){C(arguments,(function(t){y[t]=function(e,n,r){return y(T({},r||{},{method:t,url:e,data:n}))}}))}("post","put","patch"),y.defaults=t,y}]}function Zn(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Jn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return function(t,e,n,r,i){return function(o,a,s,u,l,c,f,p,d,v){if(a=a||t.url(),"jsonp"===h(o))var m=r.createCallback(a),g=function(t,e,n){t=t.replace("JSON_CALLBACK",e);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r.wasCalled(e)||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}(a,m,(function(t,e){var n=200===t&&r.getResponse(m);x(u,t,n,"",e,"complete"),r.removeCallback(m)}));else{var $=e(o,a),y=!1;$.open(o,a,!0),C(l,(function(t,e){V(t)&&$.setRequestHeader(e,t)})),$.onload=function(){var t=$.statusText||"",e="response"in $?$.response:$.responseText,n=1223===$.status?204:$.status;0===n&&(n=e?200:"file"===mi(a).protocol?404:0),x(u,n,e,$.getAllResponseHeaders(),t,"complete")};if($.onerror=function(){x(u,-1,null,null,"","error")},$.ontimeout=function(){x(u,-1,null,null,"","timeout")},$.onabort=function(){x(u,-1,null,null,"",y?"timeout":"abort")},C(d,(function(t,e){$.addEventListener(e,t)})),C(v,(function(t,e){$.upload.addEventListener(e,t)})),f&&($.withCredentials=!0),p)try{$.responseType=p}catch(t){if("json"!==p)throw t}$.send(L(s)?null:s)}if(c>0)var b=n((function(){w("timeout")}),c);else J(c)&&c.then((function(){w(V(c.$$timeoutId)?"timeout":"abort")}));function w(t){y="timeout"===t,g&&g(),$&&$.abort()}function x(t,e,r,i,o,a){V(b)&&n.cancel(b),g=$=null,t(e,r,i,o,a)}}}(t,r,t.defer,e,n[0])}]}var Qn=b.$interpolateMinErr=i("$interpolate");function tr(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var o=t.length,a=e.length,s=new RegExp(t.replace(/./g,l),"g"),u=new RegExp(e.replace(/./g,l),"g");function l(t){return"\\\\\\"+t}function c(n){return n.replace(s,t).replace(u,e)}function f(t,e,n,r){var i=t.$watch((function(t){return i(),r(t)}),e,n);return i}function h(s,u,l,h){var p=l===i.URL||l===i.MEDIA_URL;if(!s.length||-1===s.indexOf(t)){if(u)return;var d=c(s);p&&(d=i.getTrusted(l,d));var v=j(d);return v.exp=s,v.expressions=[],v.$$watchDelegate=f,v}h=!!h;for(var m,g,$,y,b,w=0,x=[],C=s.length,S=[],A=[];w<C;){if(-1===(m=s.indexOf(t,w))||-1===(g=s.indexOf(e,m+o))){w!==C&&S.push(c(s.substring(w)));break}w!==m&&S.push(c(s.substring(w,m))),y=s.substring(m+o,g),x.push(y),w=g+a,A.push(S.length),S.push("")}b=1===S.length&&1===A.length;var E=p&&b?void 0:function(t){try{return t=l&&!p?i.getTrusted(l,t):i.valueOf(t),h&&!V(t)?t:Ut(t)}catch(t){r(Qn.interr(s,t))}};if($=x.map((function(t){return n(t,E)})),!u||x.length){var _=function(t){for(var e=0,n=x.length;e<n;e++){if(h&&L(t[e]))return;S[A[e]]=t[e]}return p?i.getTrusted(l,b?S[0]:S.join("")):(l&&S.length>1&&Qn.throwNoconcat(s),S.join(""))};return T((function(t){var e=0,n=x.length,i=new Array(n);try{for(;e<n;e++)i[e]=$[e](t);return _(i)}catch(t){r(Qn.interr(s,t))}}),{exp:s,expressions:x,$$watchDelegate:function(t,e){var n;return t.$watchGroup($,(function(r,i){var o=_(r);e.call(this,o,r!==i?n:o,t),n=o}))}})}}return h.startSymbol=function(){return t},h.endSymbol=function(){return e},h}]}Qn.throwNoconcat=function(t){throw Qn("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",t)},Qn.interr=function(t,e){return Qn("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var er=i("$interval");function nr(){this.$get=["$$intervalFactory","$window",function(t,e){var n={},r=function(t){e.clearInterval(t),delete n[t]},i=t((function(t,r,i){var o=e.setInterval(t,r);return n[o]=i,o}),r);return i.cancel=function(t){if(!t)return!1;if(!t.hasOwnProperty("$$intervalId"))throw er("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(t.$$intervalId))return!1;var e=t.$$intervalId,i=n[e];return Gr(i.promise),i.reject("canceled"),r(e),!0},i}]}function rr(){this.$get=["$browser","$q","$$q","$rootScope",function(t,e,n,r){return function(i,o){return function(a,s,u,l){var c=arguments.length>4,f=c?ht(arguments,4):[],h=0,p=V(l)&&!l,d=(p?n:e).defer(),v=d.promise;function m(){c?a.apply(null,f):a(h)}return u=V(u)?u:0,v.$$intervalId=i((function(){p?t.defer(m):r.$evalAsync(m),d.notify(h++),u>0&&h>=u&&(d.resolve(h),o(v.$$intervalId)),p||r.$apply()}),s,d,p),v}}}]}var ir=function(){this.$get=function(){var t=b.callbacks,e={};return{createCallback:function(n){var r="_"+(t.$$counter++).toString(36),i="angular.callbacks."+r,o=function(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}(r);return e[i]=t[r]=o,i},wasCalled:function(t){return e[t].called},getResponse:function(t){return e[t].data},removeCallback:function(n){var r=e[n];delete t[r.id],delete e[n]}}}},or=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,ar={http:80,https:443,ftp:21},sr=i("$location");function ur(t,e){var n=mi(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=D(n.port)||ar[n.protocol]||null}var lr=/^\s*[\\/]{2,}/;function cr(t,e,n){if(lr.test(t))throw sr("badpath",'Invalid url "{0}".',t);var r="/"!==t.charAt(0);r&&(t="/"+t);var i=mi(t),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;e.$$path=function(t,e){for(var n=t.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),e&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),e.$$search=Ct(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function fr(t,e){return t.slice(0,e.length)===e}function hr(t,e){if(fr(e,t))return e.substr(t.length)}function pr(t){var e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function dr(t,e,n){this.$$html5=!0,n=n||"",ur(t,this),this.$$parse=function(t){var n=hr(e,t);if(!H(n))throw sr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);cr(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(t){return e+t.substr(1)},this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(V(o=hr(t,r))?(a=o,s=n&&V(o=hr(n,o))?e+(hr("/",o)||o):t+a):V(o=hr(e,r))?s=e+o:e===r+"/"&&(s=e),s&&this.$$parse(s),!!s);var o,a,s}}function vr(t,e,n){ur(t,this),this.$$parse=function(r){var i,o=hr(t,r)||hr(e,r);L(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",L(o)&&(t=r,this.replace())):L(i=hr(n,o))&&(i=o),cr(i,this,!1),this.$$path=function(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return fr(e,n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t))?r[1]:t}(this.$$path,i,t),this.$$compose()},this.$$normalizeUrl=function(e){return t+(e?n+e:"")},this.$$parseLinkUrl=function(e,n){return pr(t)===pr(e)&&(this.$$parse(e),!0)}}function mr(t,e,n){this.$$html5=!0,vr.apply(this,arguments),this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(t===pr(r)?o=r:(a=hr(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o);var o,a},this.$$normalizeUrl=function(e){return t+n+e}}var gr={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){var t,e,n,r,i,o;this.$$url=(t=this.$$path,e=this.$$search,n=this.$$hash,r=[],C(e,(function(t,e){B(t)?C(t,(function(t){r.push(At(e,!0)+(!0===t?"":"="+At(t,!0)))})):r.push(At(e,!0)+(!0===t?"":"="+At(t,!0)))})),i=r.length?r.join("&"):"",o=n?"#"+St(n):"",function(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=St(e[n].replace(/%2F/g,"/"));return e.join("/")}(t)+(i?"?"+i:"")+o),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:$r("$$absUrl"),url:function(t){if(L(t))return this.$$url;var e=or.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:$r("$$protocol"),host:$r("$$host"),port:$r("$$port"),path:yr("$$path",(function(t){return"/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t})),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(H(t)||F(t))t=t.toString(),this.$$search=Ct(t);else{if(!U(t))throw sr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");C(t=at(t,{}),(function(e,n){null==e&&delete t[n]})),this.$$search=t}break;default:L(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:yr("$$hash",(function(t){return null!==t?t.toString():""})),replace:function(){return this.$$replace=!0,this}};function $r(t){return function(){return this[t]}}function yr(t,e){return function(n){return L(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function br(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return V(e)?(t=e,this):t},this.html5Mode=function(t){return Z(t)?(e.enabled=t,this):U(t)?(Z(t.enabled)&&(e.enabled=t.enabled),Z(t.requireBase)&&(e.requireBase=t.requireBase),(Z(t.rewriteLinks)||H(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){var u,l,c,f,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw sr("nobase","$location in HTML5 mode requires a <base> tag to be present!");c=(f=p).substring(0,f.indexOf("/",f.indexOf("//")+2))+(h||"/"),l=i.history?dr:mr}else c=pr(p),l=vr;var d=function(t){return t.substr(0,pr(t).lastIndexOf("/")+1)}(c);(u=new l(c,d,"#"+t)).$$parseLinkUrl(p,p),u.$$state=r.state();var v=/^\s*(javascript|mailto):/i;function m(t,e,n){var i=u.url(),o=u.$$state;try{r.url(t,e,n),u.$$state=r.state()}catch(t){throw u.url(i),u.$$state=o,t}}o.on("click",(function(t){var i=e.rewriteLinks;if(i&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(var s=a(t.target);"a"!==rt(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!H(i)||!L(s.attr(i))){var l=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");U(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=mi(l.animVal).href),v.test(l)||!l||s.attr("target")||t.isDefaultPrevented()||u.$$parseLinkUrl(l,c)&&(t.preventDefault(),u.absUrl()!==r.url()&&n.$apply())}}})),u.absUrl()!==p&&r.url(u.absUrl(),!0);var g=!0;return r.onUrlChange((function(t,e){fr(t,d)?(n.$evalAsync((function(){var r,i=u.absUrl(),o=u.$$state;u.$$parse(t),u.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,u.absUrl()===t&&(r?(u.$$parse(i),u.$$state=o,m(i,!1,o)):(g=!1,$(i,o)))})),n.$$phase||n.$digest()):s.location.href=t})),n.$watch((function(){if(g||u.$$urlUpdatedByLocation){u.$$urlUpdatedByLocation=!1;var t=r.url(),e=u.absUrl(),o=r.state(),a=u.$$replace,s=!((l=t)===(c=e)||mi(l).href===mi(c).href)||u.$$html5&&i.history&&o!==u.$$state;(g||s)&&(g=!1,n.$evalAsync((function(){var e=u.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,u.$$state,o).defaultPrevented;u.absUrl()===e&&(r?(u.$$parse(t),u.$$state=o):(s&&m(e,a,o===u.$$state?null:u.$$state),$(t,o)))})))}var l,c;u.$$replace=!1})),u;function $(t,e){n.$broadcast("$locationChangeSuccess",u.absUrl(),t,u.$$state,e)}}]}function wr(){var t=!0,e=this;this.debugEnabled=function(e){return V(e)?(t=e,this):t},this.$get=["$window",function(n){var r,i=o||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:a("log"),info:a("info"),warn:a("warn"),error:a("error"),debug:(r=a("debug"),function(){t&&r.apply(e,arguments)})};function a(t){var e=n.console||{},r=e[t]||e.log||I;return function(){var t=[];return C(arguments,(function(e){t.push(function(t){return W(t)&&(t.stack&&i?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}(e))})),Function.prototype.apply.call(r,e,t)}}}]}C([mr,vr,dr],(function(t){t.prototype=Object.create(gr),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==dr||!this.$$html5)throw sr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=L(e)?null:e,this.$$urlUpdatedByLocation=!0,this}}));var xr=i("$parse"),Cr={}.constructor.prototype.valueOf;function Sr(t){return t+""}var Ar=Vt();C("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(t){Ar[t]=!0}));var Er={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},_r=function(t){this.options=t};_r.prototype={constructor:_r,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){var e=this.text.charAt(this.index);if('"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var n=e+this.peek(),r=n+this.peek(2),i=Ar[e],o=Ar[n],a=Ar[r];if(i||o||a){var s=a?r:o?n:e;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(t,e){return-1!==e.indexOf(t)},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t},isIdentifierStart:function(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isIdentifierContinue:function(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue:function(t,e){return this.isValidIdentifierStart(t,e)||this.isNumber(t)},codePointAt:function(t){return 1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888},peekMultichar:function(){var t=this.text.charAt(this.index),e=this.peek();if(!e)return t;var n=t.charCodeAt(0),r=e.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=V(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw xr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=h(this.text.charAt(this.index));if("."===n||this.isNumber(n))t+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))t+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){var t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var e=this.peekMultichar();if(!this.isIdentifierContinue(e))break;this.index+=e.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",r=t,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else n+=Er[o]||o;i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var kr=function(t,e){this.lexer=t,this.options=e};function Tr(t,e){return void 0!==t?t:e}function Or(t,e){return void 0===t?e:void 0===e?t:t+e}kr.Program="Program",kr.ExpressionStatement="ExpressionStatement",kr.AssignmentExpression="AssignmentExpression",kr.ConditionalExpression="ConditionalExpression",kr.LogicalExpression="LogicalExpression",kr.BinaryExpression="BinaryExpression",kr.UnaryExpression="UnaryExpression",kr.CallExpression="CallExpression",kr.MemberExpression="MemberExpression",kr.Identifier="Identifier",kr.Literal="Literal",kr.ArrayExpression="ArrayExpression",kr.Property="Property",kr.ObjectExpression="ObjectExpression",kr.ThisExpression="ThisExpression",kr.LocalsExpression="LocalsExpression",kr.NGValueParameter="NGValueParameter",kr.prototype={ast:function(t){this.text=t,this.tokens=this.lexer.lex(t);var e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:kr.Program,body:t}},expressionStatement:function(){return{type:kr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();if(this.expect("=")){if(!Rr(t))throw xr("lval","Trying to assign a value to a non l-value");t={type:kr.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:kr.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:kr.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:kr.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:kr.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:kr.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:kr.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:kr.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:kr.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t,e;for(this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=at(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:kr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());e=this.expect("(","[",".");)"("===e.text?(t={type:kr.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:kr.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:kr.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:kr.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do{t.push(this.filterChain())}while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:kr.Identifier,name:t.text}},constant:function(){return{type:kr.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:kr.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:kr.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:kr.ObjectExpression,properties:e}},throwError:function(t,e){throw xr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw xr("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw xr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],a=o.text;if(a===e||a===n||a===r||a===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:kr.ThisExpression},$locals:{type:kr.LocalsExpression}}};var Dr=1,Mr=2;function Pr(t,e,n){var r,i,o,a=t.isPure=function(t,e){switch(t.type){case kr.MemberExpression:if(t.computed)return!1;break;case kr.UnaryExpression:return Dr;case kr.BinaryExpression:return"+"!==t.operator&&Dr;case kr.CallExpression:return!1}return void 0===e?Mr:e}(t,n);switch(t.type){case kr.Program:r=!0,C(t.body,(function(t){Pr(t.expression,e,a),r=r&&t.expression.constant})),t.constant=r;break;case kr.Literal:t.constant=!0,t.toWatch=[];break;case kr.UnaryExpression:Pr(t.argument,e,a),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case kr.BinaryExpression:Pr(t.left,e,a),Pr(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case kr.LogicalExpression:Pr(t.left,e,a),Pr(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case kr.ConditionalExpression:Pr(t.test,e,a),Pr(t.alternate,e,a),Pr(t.consequent,e,a),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case kr.Identifier:t.constant=!1,t.toWatch=[t];break;case kr.MemberExpression:Pr(t.object,e,a),t.computed&&Pr(t.property,e,a),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=t.constant?[]:[t];break;case kr.CallExpression:o=!!t.filter&&function(t,e){return!t(e).$stateful}(e,t.callee.name),r=o,i=[],C(t.arguments,(function(t){Pr(t,e,a),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=o?i:[t];break;case kr.AssignmentExpression:Pr(t.left,e,a),Pr(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case kr.ArrayExpression:r=!0,i=[],C(t.elements,(function(t){Pr(t,e,a),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=i;break;case kr.ObjectExpression:r=!0,i=[],C(t.properties,(function(t){Pr(t.value,e,a),r=r&&t.value.constant,i.push.apply(i,t.value.toWatch),t.computed&&(Pr(t.key,e,!1),r=r&&t.key.constant,i.push.apply(i,t.key.toWatch))})),t.constant=r,t.toWatch=i;break;case kr.ThisExpression:case kr.LocalsExpression:t.constant=!1,t.toWatch=[]}}function Ir(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length||n[0]!==e?n:void 0}}function Rr(t){return t.type===kr.Identifier||t.type===kr.MemberExpression}function jr(t){if(1===t.body.length&&Rr(t.body[0].expression))return{type:kr.AssignmentExpression,left:t.body[0].expression,right:{type:kr.NGValueParameter},operator:"="}}function Nr(t){this.$filter=t}function Lr(t){this.$filter=t}function Vr(t,e,n){this.ast=new kr(t,n),this.astCompiler=n.csp?new Lr(e):new Nr(e)}function Ur(t){return G(t.valueOf)?t.valueOf():Cr.call(t)}function qr(){var t,e,n=Vt(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(t,e){r[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(i){var o={csp:lt().noUnsafeEval,literals:at(r),isIdentifierStart:G(t)&&t,isIdentifierContinue:G(e)&&e};return a.$$getAst=function(t){return new Vr(new _r(o),i,o).getAst(t).ast},a;function a(t,e){var r,a;switch(typeof t){case"string":return t=t.trim(),(r=n[a=t])||(r=new Vr(new _r(o),i,o).parse(t),n[a]=h(r)),p(r,e);case"function":return p(t,e);default:return p(I,e)}}function s(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&"object"==typeof(t=Ur(t))&&!n)&&(t===e||t!=t&&e!=e)}function u(t,e,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],t.$watch((function(t){var e=a(t);return s(e,u,a.isPure)||(o=r(t,void 0,void 0,[e]),u=e&&Ur(e)),o}),e,n,i)}for(var l=[],c=[],f=0,h=a.length;f<h;f++)l[f]=s,c[f]=null;return t.$watch((function(t){for(var e=!1,n=0,i=a.length;n<i;n++){var u=a[n](t);(e||(e=!s(u,l[n],a[n].isPure)))&&(c[n]=u,l[n]=u&&Ur(u))}return e&&(o=r(t,void 0,void 0,c)),o}),e,n,i)}function l(t,e,n,r,i){var o,a,s=r.literal?c:V,u=r.$$intercepted||r,l=r.$$interceptor||R,f=r.inputs&&!u.inputs;return d.literal=r.literal,d.constant=r.constant,d.inputs=r.inputs,h(d),o=t.$watch(d,e,n,i);function p(){s(a)&&o()}function d(t,e,n,r){return a=f&&r?r[0]:u(t,e,n,r),s(a)&&t.$$postDigest(p),l(a)}}function c(t){var e=!0;return C(t,(function(t){V(t)||(e=!1)})),e}function f(t,e,n,r){var i=t.$watch((function(t){return i(),r(t)}),e,n);return i}function h(t){return t.constant?t.$$watchDelegate=f:t.oneTime?t.$$watchDelegate=l:t.inputs&&(t.$$watchDelegate=u),t}function p(t,e){if(!e)return t;t.$$interceptor&&(e=function(t,e){function n(n){return e(t(n))}return n.$stateful=t.$stateful||e.$stateful,n.$$pure=t.$$pure&&e.$$pure,n}(t.$$interceptor,e),t=t.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:t(r,i,o,a);return e(s)};return r.$$intercepted=t,r.$$interceptor=e,r.literal=t.literal,r.oneTime=t.oneTime,r.constant=t.constant,e.$stateful||(n=!t.inputs,r.inputs=t.inputs?t.inputs:[t],e.$$pure||(r.inputs=r.inputs.map((function(t){return t.isPure===Mr?function(e){return t(e)}:t})))),h(r)}}]}function Hr(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return zr((function(t){e.$evalAsync(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return V(e)?(t=e,this):t}}function Fr(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return zr((function(t){e.defer(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return V(e)?(t=e,this):t}}function zr(t,e,n){var r=i("$q",TypeError),o=0,a=[];function s(){return new u}function u(){var t=this.promise=new l;this.resolve=function(e){h(t,e)},this.reject=function(e){d(t,e)},this.notify=function(e){m(t,e)}}function l(){this.$$state={status:0}}function c(){for(;!o&&a.length;){var t=a.shift();if(!Br(t)){Wr(t);var n="Possibly unhandled rejection: "+Gt(t.value);W(t.value)?e(t.value,n):e(n)}}}function f(r){!n||r.pending||2!==r.status||Br(r)||(0===o&&0===a.length&&t(c),a.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++o,t((function(){!function(r){var i,a,s;s=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var u=0,l=s.length;u<l;++u){Wr(r),a=s[u][0],i=s[u][r.status];try{G(i)?h(a,i(r.value)):1===r.status?h(a,r.value):d(a,r.value)}catch(t){d(a,t),t&&!0===t.$$passToExceptionHandler&&e(t)}}}finally{--o,n&&0===o&&t(c)}}(r)})))}function h(t,e){t.$$state.status||(e===t?v(t,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):p(t,e))}function p(t,e){var n,r=!1;try{(U(e)||G(e))&&(n=e.then),G(n)?(t.$$state.status=-1,n.call(e,(function(e){r||(r=!0,p(t,e))}),i,(function(e){m(t,e)}))):(t.$$state.value=e,t.$$state.status=1,f(t.$$state))}catch(t){i(t)}function i(e){r||(r=!0,v(t,e))}}function d(t,e){t.$$state.status||v(t,e)}function v(t,e){t.$$state.value=e,t.$$state.status=2,f(t.$$state)}function m(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&t((function(){for(var t,n,o=0,a=i.length;o<a;o++){n=i[o][0],t=i[o][3];try{m(n,G(t)?t(r):r)}catch(t){e(t)}}}))}function g(t){var e=new l;return d(e,t),e}function $(t,e,n){var r=null;try{G(n)&&(r=n())}catch(t){return g(t)}return J(r)?r.then((function(){return e(t)}),g):e(t)}function y(t,e,n,r){var i=new l;return h(i,t),i.then(e,n,r)}T(l.prototype,{then:function(t,e,n){if(L(t)&&L(e)&&L(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),this.$$state.status>0&&f(this.$$state),r},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then((function(e){return $(e,b,t)}),(function(e){return $(e,g,t)}),e)}});var b=y;function w(t){if(!G(t))throw r("norslvr","Expected resolverFn, got '{0}'",t);var e=new l;return t((function(t){h(e,t)}),(function(t){d(e,t)})),e}return w.prototype=l.prototype,w.defer=s,w.reject=g,w.when=y,w.resolve=b,w.all=function(t){var e=new l,n=0,r=B(t)?[]:{};return C(t,(function(t,i){n++,y(t).then((function(t){r[i]=t,--n||h(e,r)}),(function(t){d(e,t)}))})),0===n&&h(e,r),e},w.race=function(t){var e=s();return C(t,(function(t){y(t).then(e.resolve,e.reject)})),e.promise},w}function Br(t){return!!t.pur}function Wr(t){t.pur=!0}function Gr(t){t.$$state&&Wr(t.$$state)}function Yr(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function Kr(){var t=10,e=i("$rootScope"),n=null,r=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(i,a,s){function u(t){t.currentScope.$$destroyed=!0}function l(t){9===o&&(t.$$childHead&&l(t.$$childHead),t.$$nextSibling&&l(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function c(){this.$id=E(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(t,e){var n;return e=e||this,t?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=E(),this.$$ChildScope=null,this.$$suspended=!1}return e.prototype=t,e}(this)),n=new this.$$ChildScope),n.$parent=e,n.$$prevSibling=e.$$childTail,e.$$childHead?(e.$$childTail.$$nextSibling=n,e.$$childTail=n):e.$$childHead=e.$$childTail=n,(t||e!==this)&&n.$on("$destroy",u),n},$watch:function(t,e,r,i){var o=a(t),s=G(e)?e:I;if(o.$$watchDelegate)return o.$$watchDelegate(this,s,r,o,t);var u=this,l=u.$$watchers,c={fn:s,last:w,get:o,exp:i||t,eq:!!r};return n=null,l||((l=u.$$watchers=[]).$$digestWatchIndex=-1),l.unshift(c),l.$$digestWatchIndex++,y(this,1),function(){var t=ot(l,c);t>=0&&(y(u,-1),t<l.$$digestWatchIndex&&l.$$digestWatchIndex--),n=null}},$watchGroup:function(t,e){var n=new Array(t.length),r=new Array(t.length),i=[],o=this,a=!1,s=!0;if(!t.length){var u=!0;return o.$evalAsync((function(){u&&e(r,r,o)})),function(){u=!1}}if(1===t.length)return this.$watch(t[0],(function(t,i,o){r[0]=t,n[0]=i,e(r,t===i?r:n,o)}));function l(){a=!1;try{s?(s=!1,e(r,r,o)):e(r,n,o)}finally{for(var i=0;i<t.length;i++)n[i]=r[i]}}return C(t,(function(t,e){var n=o.$watch(t,(function(t){r[e]=t,a||(a=!0,o.$evalAsync(l))}));i.push(n)})),function(){for(;i.length;)i.shift()()}},$watchCollection:function(t,e){v.$$pure=a(t).literal,v.$stateful=!v.$$pure;var n,r,i,o=this,s=e.length>1,u=0,l=a(t,v),c=[],h={},p=!0,d=0;function v(t){var e,i,o,a;if(!L(n=t)){if(U(n))if(x(n)){r!==c&&(d=(r=c).length=0,u++),e=n.length,d!==e&&(u++,r.length=d=e);for(var s=0;s<e;s++)a=r[s],o=n[s],a!=a&&o!=o||a===o||(u++,r[s]=o)}else{for(i in r!==h&&(r=h={},d=0,u++),e=0,n)f.call(n,i)&&(e++,o=n[i],a=r[i],i in r?a!=a&&o!=o||a===o||(u++,r[i]=o):(d++,r[i]=o,u++));if(d>e)for(i in u++,r)f.call(n,i)||(d--,delete r[i])}else r!==n&&(r=n,u++);return u}}return this.$watch(l,(function(){if(p?(p=!1,e(n,n,o)):e(n,i,o),s)if(U(n))if(x(n)){i=new Array(n.length);for(var t=0;t<n.length;t++)i[t]=n[t]}else for(var r in i={},n)f.call(n,r)&&(i[r]=n[r]);else i=n}))},$digest:function(){var o,a,u,l,c,f,v,y,b,x=t,C=p.length?h:this,A=[];g("$digest"),s.$$checkUrlChange(),this===h&&null!==r&&(s.defer.cancel(r),S()),n=null;do{c=!1,v=C;for(var E=0;E<p.length;E++){try{(0,(b=p[E]).fn)(b.scope,b.locals)}catch(t){i(t)}n=null}p.length=0;t:do{if(l=!v.$$suspended&&v.$$watchers)for(l.$$digestWatchIndex=l.length;l.$$digestWatchIndex--;)try{if(o=l[l.$$digestWatchIndex])if((a=(0,o.get)(v))===(u=o.last)||(o.eq?ut(a,u):M(a)&&M(u))){if(o===n){c=!1;break t}}else c=!0,n=o,o.last=o.eq?at(a,null):a,(0,o.fn)(a,u===w?a:u,v),x<5&&(A[y=4-x]||(A[y]=[]),A[y].push({msg:G(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:a,oldVal:u}))}catch(t){i(t)}if(!(f=!v.$$suspended&&v.$$watchersCount&&v.$$childHead||v!==C&&v.$$nextSibling))for(;v!==C&&!(f=v.$$nextSibling);)v=v.$parent}while(v=f);if((c||p.length)&&!x--)throw $(),e("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,A)}while(c||p.length);for($();m<d.length;)try{d[m++]()}catch(t){i(t)}d.length=m=0,s.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;for(var e in this.$broadcast("$destroy"),this.$$destroyed=!0,this===h&&s.$$applicationDestroyed(),y(this,-this.$$watchersCount),this.$$listenerCount)b(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=I,this.$on=this.$watch=this.$watchGroup=function(){return I},this.$$listeners={},this.$$nextSibling=null,l(this)}},$eval:function(t,e){return a(t)(this,e)},$evalAsync:function(t,e){h.$$phase||p.length||s.defer((function(){p.length&&h.$digest()}),null,"$evalAsync"),p.push({scope:this,fn:a(t),locals:e})},$$postDigest:function(t){d.push(t)},$apply:function(t){try{g("$apply");try{return this.$eval(t)}finally{$()}}catch(t){i(t)}finally{try{h.$digest()}catch(t){throw i(t),t}}},$applyAsync:function(t){var e=this;t&&v.push((function(){e.$eval(t)})),t=a(t),null===r&&(r=s.defer((function(){h.$apply(S)}),null,"$applyAsync"))},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var r=this;do{r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(e);-1!==r&&(delete n[r],b(i,1,t))}},$emit:function(t,e){var n,r,o,a=[],s=this,u=!1,l={name:t,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=ft([l],arguments,1);do{for(n=s.$$listeners[t]||a,l.currentScope=s,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,c)}catch(t){i(t)}else n.splice(r,1),r--,o--;if(u)break;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(t,e){var n=this,r=n,o=n,a={name:t,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[t])return a;for(var s,u,l,c=ft([a],arguments,1);r=o;){for(a.currentScope=r,u=0,l=(s=r.$$listeners[t]||[]).length;u<l;u++)if(s[u])try{s[u].apply(null,c)}catch(t){i(t)}else s.splice(u,1),u--,l--;if(!(o=r.$$listenerCount[t]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(o=r.$$nextSibling);)r=r.$parent}return a.currentScope=null,a}};var h=new c,p=h.$$asyncQueue=[],d=h.$$postDigestQueue=[],v=h.$$applyAsyncQueue=[],m=0;return h;function g(t){if(h.$$phase)throw e("inprog","{0} already in progress",h.$$phase);h.$$phase=t}function $(){h.$$phase=null}function y(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function b(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function w(){}function S(){for(;v.length;)try{v.shift()()}catch(t){i(t)}r=null}}]}function Xr(){var t=/^\s*(https?|s?ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(e){return V(e)?(t=e,this):t},this.imgSrcSanitizationTrustedUrlList=function(t){return V(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i=r?e:t,o=mi(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}Nr.prototype={compile:function(t){var e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Pr(t,e.$filter);var n,r="";if(this.stage="assign",n=jr(t)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Ir(t.body);e.stage="inputs",C(o,(function(t,n){var r="fn"+n;e.state[r]={vars:[],body:[],own:{}},e.state.computing=r;var i=e.nextId();e.recurse(t,i),e.return_(i),e.state.inputs.push({name:r,isPure:t.isPure}),t.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(t);var a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",a)(this.$filter,Sr,Tr,Or);return this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return C(e,(function(e){t.push("var "+e.name+"="+n.generateFunction(e.name,"s")),e.isPure&&t.push(e.name,".isPure="+JSON.stringify(e.isPure)+";")})),e.length&&t.push("fn.inputs=["+e.map((function(t){return t.name})).join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return C(this.state.filters,(function(n,r){t.push(n+"=$filter("+e.escape(r)+")")})),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,r,i,o){var a,s,u,l,c,f=this;if(r=r||I,!o&&V(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,r,i,!0));switch(t.type){case kr.Program:C(t.body,(function(e,n){f.recurse(e.expression,void 0,void 0,(function(t){s=t})),n!==t.body.length-1?f.current().body.push(s,";"):f.return_(s)}));break;case kr.Literal:l=this.escape(t.value),this.assign(e,l),r(e||l);break;case kr.UnaryExpression:this.recurse(t.argument,void 0,void 0,(function(t){s=t})),l=t.operator+"("+this.ifDefined(s,0)+")",this.assign(e,l),r(l);break;case kr.BinaryExpression:this.recurse(t.left,void 0,void 0,(function(t){a=t})),this.recurse(t.right,void 0,void 0,(function(t){s=t})),l="+"===t.operator?this.plus(a,s):"-"===t.operator?this.ifDefined(a,0)+t.operator+this.ifDefined(s,0):"("+a+")"+t.operator+"("+s+")",this.assign(e,l),r(l);break;case kr.LogicalExpression:e=e||this.nextId(),f.recurse(t.left,e),f.if_("&&"===t.operator?e:f.not(e),f.lazyRecurse(t.right,e)),r(e);break;case kr.ConditionalExpression:e=e||this.nextId(),f.recurse(t.test,e),f.if_(e,f.lazyRecurse(t.alternate,e),f.lazyRecurse(t.consequent,e)),r(e);break;case kr.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",t.name)),(function(){f.if_("inputs"===f.stage||"s",(function(){i&&1!==i&&f.if_(f.isNull(f.nonComputedMember("s",t.name)),f.lazyAssign(f.nonComputedMember("s",t.name),"{}")),f.assign(e,f.nonComputedMember("s",t.name))}))}),e&&f.lazyAssign(e,f.nonComputedMember("l",t.name))),r(e);break;case kr.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),f.recurse(t.object,a,void 0,(function(){f.if_(f.notNull(a),(function(){t.computed?(s=f.nextId(),f.recurse(t.property,s),f.getStringValue(s),i&&1!==i&&f.if_(f.not(f.computedMember(a,s)),f.lazyAssign(f.computedMember(a,s),"{}")),l=f.computedMember(a,s),f.assign(e,l),n&&(n.computed=!0,n.name=s)):(i&&1!==i&&f.if_(f.isNull(f.nonComputedMember(a,t.property.name)),f.lazyAssign(f.nonComputedMember(a,t.property.name),"{}")),l=f.nonComputedMember(a,t.property.name),f.assign(e,l),n&&(n.computed=!1,n.name=t.property.name))}),(function(){f.assign(e,"undefined")})),r(e)}),!!i);break;case kr.CallExpression:e=e||this.nextId(),t.filter?(s=f.filter(t.callee.name),u=[],C(t.arguments,(function(t){var e=f.nextId();f.recurse(t,e),u.push(e)})),l=s+"("+u.join(",")+")",f.assign(e,l),r(e)):(s=f.nextId(),a={},u=[],f.recurse(t.callee,s,a,(function(){f.if_(f.notNull(s),(function(){C(t.arguments,(function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,(function(t){u.push(t)}))})),l=a.name?f.member(a.context,a.name,a.computed)+"("+u.join(",")+")":s+"("+u.join(",")+")",f.assign(e,l)}),(function(){f.assign(e,"undefined")})),r(e)})));break;case kr.AssignmentExpression:s=this.nextId(),a={},this.recurse(t.left,void 0,a,(function(){f.if_(f.notNull(a.context),(function(){f.recurse(t.right,s),l=f.member(a.context,a.name,a.computed)+t.operator+s,f.assign(e,l),r(e||l)}))}),1);break;case kr.ArrayExpression:u=[],C(t.elements,(function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,(function(t){u.push(t)}))})),l="["+u.join(",")+"]",this.assign(e,l),r(e||l);break;case kr.ObjectExpression:u=[],c=!1,C(t.properties,(function(t){t.computed&&(c=!0)})),c?(e=e||this.nextId(),this.assign(e,"{}"),C(t.properties,(function(t){t.computed?(a=f.nextId(),f.recurse(t.key,a)):a=t.key.type===kr.Identifier?t.key.name:""+t.key.value,s=f.nextId(),f.recurse(t.value,s),f.assign(f.member(e,a,t.computed),s)}))):(C(t.properties,(function(e){f.recurse(e.value,t.constant?void 0:f.nextId(),void 0,(function(t){u.push(f.escape(e.key.type===kr.Identifier?e.key.name:""+e.key.value)+":"+t)}))})),l="{"+u.join(",")+"}",this.assign(e,l)),r(e||l);break;case kr.ThisExpression:this.assign(e,"s"),r(e||"s");break;case kr.LocalsExpression:this.assign(e,"l"),r(e||"l");break;case kr.NGValueParameter:this.assign(e,"v"),r(e||"v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(!0===t)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},isNull:function(t){return t+"==null"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?t+"."+e:t+'["'+e.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},lazyRecurse:function(t,e,n,r,i,o){var a=this;return function(){a.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(H(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(F(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw xr("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},Lr.prototype={compile:function(t){var e,n,r=this;Pr(t,r.$filter),(e=jr(t))&&(n=this.recurse(e));var i,o=Ir(t.body);o&&(i=[],C(o,(function(t,e){var n=r.recurse(t);n.isPure=t.isPure,t.input=n,i.push(n),t.watchId=e})));var a=[];C(t.body,(function(t){a.push(r.recurse(t.expression))}));var s=0===t.body.length?I:1===t.body.length?a[0]:function(t,e){var n;return C(a,(function(r){n=r(t,e)})),n};return n&&(s.assign=function(t,e,r){return n(t,r,e)}),i&&(s.inputs=i),s},recurse:function(t,e,n){var r,i,o,a=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case kr.Literal:return this.value(t.value,e);case kr.UnaryExpression:return i=this.recurse(t.argument),this["unary"+t.operator](i,e);case kr.BinaryExpression:case kr.LogicalExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this["binary"+t.operator](r,i,e);case kr.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case kr.Identifier:return a.identifier(t.name,e,n);case kr.MemberExpression:return r=this.recurse(t.object,!1,!!n),t.computed||(i=t.property.name),t.computed&&(i=this.recurse(t.property)),t.computed?this.computedMember(r,i,e,n):this.nonComputedMember(r,i,e,n);case kr.CallExpression:return o=[],C(t.arguments,(function(t){o.push(a.recurse(t))})),t.filter&&(i=this.$filter(t.callee.name)),t.filter||(i=this.recurse(t.callee,!0)),t.filter?function(t,n,r,a){for(var s=[],u=0;u<o.length;++u)s.push(o[u](t,n,r,a));var l=i.apply(void 0,s,a);return e?{context:void 0,name:void 0,value:l}:l}:function(t,n,r,a){var s,u=i(t,n,r,a);if(null!=u.value){for(var l=[],c=0;c<o.length;++c)l.push(o[c](t,n,r,a));s=u.value.apply(u.context,l)}return e?{value:s}:s};case kr.AssignmentExpression:return r=this.recurse(t.left,!0,1),i=this.recurse(t.right),function(t,n,o,a){var s=r(t,n,o,a),u=i(t,n,o,a);return s.context[s.name]=u,e?{value:u}:u};case kr.ArrayExpression:return o=[],C(t.elements,(function(t){o.push(a.recurse(t))})),function(t,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](t,n,r,i));return e?{value:a}:a};case kr.ObjectExpression:return o=[],C(t.properties,(function(t){t.computed?o.push({key:a.recurse(t.key),computed:!0,value:a.recurse(t.value)}):o.push({key:t.key.type===kr.Identifier?t.key.name:""+t.key.value,computed:!1,value:a.recurse(t.value)})})),function(t,n,r,i){for(var a={},s=0;s<o.length;++s)o[s].computed?a[o[s].key(t,n,r,i)]=o[s].value(t,n,r,i):a[o[s].key]=o[s].value(t,n,r,i);return e?{value:a}:a};case kr.ThisExpression:return function(t){return e?{value:t}:t};case kr.LocalsExpression:return function(t,n){return e?{value:n}:n};case kr.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=V(a)?+a:0,e?{value:a}:a}},"unary-":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=V(a)?-a:-0,e?{value:a}:a}},"unary!":function(t,e){return function(n,r,i,o){var a=!t(n,r,i,o);return e?{value:a}:a}},"binary+":function(t,e,n){return function(r,i,o,a){var s=Or(t(r,i,o,a),e(r,i,o,a));return n?{value:s}:s}},"binary-":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a),u=e(r,i,o,a),l=(V(s)?s:0)-(V(u)?u:0);return n?{value:l}:l}},"binary*":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)*e(r,i,o,a);return n?{value:s}:s}},"binary/":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)/e(r,i,o,a);return n?{value:s}:s}},"binary%":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)%e(r,i,o,a);return n?{value:s}:s}},"binary===":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)===e(r,i,o,a);return n?{value:s}:s}},"binary!==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!==e(r,i,o,a);return n?{value:s}:s}},"binary==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)==e(r,i,o,a);return n?{value:s}:s}},"binary!=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!=e(r,i,o,a);return n?{value:s}:s}},"binary<":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<e(r,i,o,a);return n?{value:s}:s}},"binary>":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>e(r,i,o,a);return n?{value:s}:s}},"binary<=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<=e(r,i,o,a);return n?{value:s}:s}},"binary>=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>=e(r,i,o,a);return n?{value:s}:s}},"binary&&":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)&&e(r,i,o,a);return n?{value:s}:s}},"binary||":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)||e(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(t,e,n,r){return function(i,o,a,s){var u=t(i,o,a,s)?e(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n){return function(r,i,o,a){var s=i&&t in i?i:r;n&&1!==n&&s&&null==s[t]&&(s[t]={});var u=s?s[t]:void 0;return e?{context:s,name:t,value:u}:u}},computedMember:function(t,e,n,r){return function(i,o,a,s){var u,l,c=t(i,o,a,s);return null!=c&&(u=Sr(u=e(i,o,a,s)),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(t,e,n,r){return function(i,o,a,s){var u=t(i,o,a,s);r&&1!==r&&u&&null==u[e]&&(u[e]={});var l=null!=u?u[e]:void 0;return n?{context:u,name:e,value:l}:l}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}},Vr.prototype={constructor:Vr,parse:function(t){var e=this.getAst(t),n=this.astCompiler.compile(e.ast);return n.literal=function(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===kr.Literal||t.body[0].expression.type===kr.ArrayExpression||t.body[0].expression.type===kr.ObjectExpression)}(e.ast),n.constant=function(t){return t.constant}(e.ast),n.oneTime=e.oneTime,n},getAst:function(t){var e=!1;return":"===(t=t.trim()).charAt(0)&&":"===t.charAt(1)&&(e=!0,t=t.substring(2)),{ast:this.ast.ast(t),oneTime:e}}};var Zr=i("$sce"),Jr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Qr=/_([a-z])/g;function ti(t){return t.replace(Qr,ee)}function ei(t){var e=[];return V(t)&&C(t,(function(t){e.push(function(t){if("self"===t)return t;if(H(t)){if(t.indexOf("***")>-1)throw Zr("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=et(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(Y(t))return new RegExp("^"+t.source+"$");throw Zr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(t))})),e}function ni(){this.SCE_CONTEXTS=Jr;var e=["self"],n=[];this.trustedResourceUrlList=function(t){return arguments.length&&(e=ei(t)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(t){this.trustedResourceUrlList=t}}),this.bannedResourceUrlList=function(t){return arguments.length&&(n=ei(t)),n},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(t){this.bannedResourceUrlList=t}}),this.$get=["$injector","$$sanitizeUri",function(r,i){var o=function(t){throw Zr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(e,n){return"self"===e?gi(n,di)||gi(n,t.document.baseURI?t.document.baseURI:(hi||((hi=t.document.createElement("a")).href=".",hi=hi.cloneNode(!1)),hi.href)):!!e.exec(n.href)}function s(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}r.has("$sanitize")&&(o=r.get("$sanitize"));var u=s(),l={};return l[Jr.HTML]=s(u),l[Jr.CSS]=s(u),l[Jr.MEDIA_URL]=s(u),l[Jr.URL]=s(l[Jr.MEDIA_URL]),l[Jr.JS]=s(u),l[Jr.RESOURCE_URL]=s(l[Jr.URL]),{trustAs:function(t,e){var n=l.hasOwnProperty(t)?l[t]:null;if(!n)throw Zr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||L(e)||""===e)return e;if("string"!=typeof e)throw Zr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)},getTrusted:function(t,r){if(null===r||L(r)||""===r)return r;var s=l.hasOwnProperty(t)?l[t]:null;if(s&&r instanceof s)return r.$$unwrapTrustedValue();if(G(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),t===Jr.MEDIA_URL||t===Jr.URL)return i(r.toString(),t===Jr.MEDIA_URL);if(t===Jr.RESOURCE_URL){if(function(t){var r,i,o=mi(t.toString()),s=!1;for(r=0,i=e.length;r<i;r++)if(a(e[r],o)){s=!0;break}if(s)for(r=0,i=n.length;r<i;r++)if(a(n[r],o)){s=!1;break}return s}(r))return r;throw Zr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",r.toString())}if(t===Jr.HTML)return o(r);throw Zr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(t){return t instanceof u?t.$$unwrapTrustedValue():t}}}]}function ri(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&o<8)throw Zr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 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 r=Wt(Jr);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=R),r.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,(function(e){return r.getTrusted(t,e)}))};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return C(Jr,(function(t,e){var n=h(e);r[ti("parse_as_"+n)]=function(e){return i(t,e)},r[ti("get_trusted_"+n)]=function(e){return a(t,e)},r[ti("trust_as_"+n)]=function(e){return s(t,e)}})),r}]}function ii(){this.$get=["$window","$document",function(t,e){var n={},r=!((!t.nw||!t.nw.process)&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id))&&t.history&&t.history.pushState,i=D((/android (\d+)/.exec(h((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!(!("transition"in u)&&!("webkitTransition"in u)),c=!(!("animation"in u)&&!("webkitAnimation"in u))),{history:!(!r||i<4||a),hasEvent:function(t){if("input"===t&&o)return!1;if(L(n[t])){var e=s.createElement("div");n[t]="on"+t in e}return n[t]},csp:lt(),transitions:l,animations:c,android:i}}]}function oi(){this.$get=j((function(t){return new ai(t)}))}function ai(t){var e=this,n={},r=[],i=e.ALL_TASKS_TYPE="$$all$$",o=e.DEFAULT_TASK_TYPE="$$default$$";function a(){var t=r.pop();return t&&t.cb}function s(t){for(var e=r.length-1;e>=0;--e){var n=r[e];if(n.type===t)return r.splice(e,1),n.cb}}e.completeTask=function(e,r){r=r||o;try{e()}finally{!function(t){n[t=t||o]&&(n[t]--,n[i]--)}(r);var u=n[r],l=n[i];if(!l||!u)for(var c,f=l?s:a;c=f(r);)try{c()}catch(e){t.error(e)}}},e.incTaskCount=function(t){n[t=t||o]=(n[t]||0)+1,n[i]=(n[i]||0)+1},e.notifyWhenNoPendingTasks=function(t,e){n[e=e||i]?r.push({type:e,cb:t}):t()}}var si=i("$templateRequest");function ui(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,r,i,o){function a(s,u){a.totalPendingRequests++,H(s)&&!L(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return B(l)?l=l.filter((function(t){return t!==Bn})):l===Bn&&(l=null),r.get(s,T({cache:n,transformResponse:l},t)).finally((function(){a.totalPendingRequests--})).then((function(t){return n.put(s,t.data)}),(function(t){return u||(t=si("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,t.status,t.statusText),e(t)),i.reject(t)}))}return a.totalPendingRequests=0,a}]}function li(){this.$get=["$rootScope","$browser","$location",function(t,e,n){return{findBindings:function(t,e,n){var r=t.getElementsByClassName("ng-binding"),i=[];return C(r,(function(t){var r=b.element(t).data("$binding");r&&C(r,(function(r){n?new RegExp("(^|\\s)"+et(e)+"(\\s|\\||$)").test(r)&&i.push(t):-1!==r.indexOf(e)&&i.push(t)}))})),i},findModels:function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o="["+r[i]+"model"+(n?"=":"*=")+'"'+e+'"]',a=t.querySelectorAll(o);if(a.length)return a}},getLocation:function(){return n.url()},setLocation:function(e){e!==n.url()&&(n.url(e),t.$digest())},whenStable:function(t){e.notifyWhenNoOutstandingRequests(t)}}}]}var ci=i("$timeout");function fi(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,r,i){var o={};function a(a,s,u){G(a)||(u=s,s=a,a=I);var l,c=ht(arguments,3),f=V(u)&&!u,h=(f?r:n).defer(),p=h.promise;return l=e.defer((function(){try{h.resolve(a.apply(null,c))}catch(t){h.reject(t),i(t)}finally{delete o[p.$$timeoutId]}f||t.$apply()}),s,"$timeout"),p.$$timeoutId=l,o[l]=h,p}return a.cancel=function(t){if(!t)return!1;if(!t.hasOwnProperty("$$timeoutId"))throw ci("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(t.$$timeoutId))return!1;var n=t.$$timeoutId,r=o[n];return Gr(r.promise),r.reject("canceled"),delete o[n],e.defer.cancel(n)},a}]}var hi,pi=t.document.createElement("a"),di=mi(t.location.href);pi.href="http://[::1]";var vi="[::1]"===pi.hostname;function mi(t){if(!H(t))return t;var e=t;o&&(pi.setAttribute("href",e),e=pi.href),pi.setAttribute("href",e);var n=pi.hostname;return!vi&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:pi.href,protocol:pi.protocol?pi.protocol.replace(/:$/,""):"",host:pi.host,search:pi.search?pi.search.replace(/^\?/,""):"",hash:pi.hash?pi.hash.replace(/^#/,""):"",hostname:n,port:pi.port,pathname:"/"===pi.pathname.charAt(0)?pi.pathname:"/"+pi.pathname}}function gi(t,e){return t=mi(t),e=mi(e),t.protocol===e.protocol&&t.host===e.host}function $i(){this.$get=j(t)}function yi(t){var e=t[0]||{},n={},r="";function i(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var t,o,a,s,u,l=function(t){try{return t.cookie||""}catch(t){return""}}(e);if(l!==r)for(t=(r=l).split("; "),n={},a=0;a<t.length;a++)(s=(o=t[a]).indexOf("="))>0&&(u=i(o.substring(0,s)),L(n[u])&&(n[u]=i(o.substring(s+1))));return n}}function bi(){this.$get=yi}function wi(t){var e="Filter";function n(r,i){if(U(r)){var o={};return C(r,(function(t,e){o[e]=n(e,t)})),o}return t.factory(r+e,i)}this.register=n,this.$get=["$injector",function(t){return function(n){return t.get(n+e)}}],n("currency",ki),n("date",Ui),n("filter",xi),n("json",qi),n("limitTo",zi),n("lowercase",Hi),n("number",Ti),n("orderBy",Wi),n("uppercase",Fi)}function xi(){return function(t,e,n,r){if(!x(t)){if(null==t)return t;throw i("filter")("notarray","Expected array but received: {0}",t)}var o,a;switch(r=r||"$",Si(e)){case"function":o=e;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=function(t,e,n,r){var i=U(t)&&n in t;return!0===e?e=ut:G(e)||(e=function(t,e){return!(L(t)||(null===t||null===e?t!==e:U(e)||U(t)&&!N(t)||(t=h(""+t),e=h(""+e),-1===t.indexOf(e))))}),function(o){return i&&!U(o)?Ci(o,t[n],e,n,!1):Ci(o,t,e,n,r)}}(e,n,r,a);break;default:return t}return Array.prototype.filter.call(t,o)}}function Ci(t,e,n,r,i,o){var a=Si(t),s=Si(e);if("string"===s&&"!"===e.charAt(0))return!Ci(t,e.substring(1),n,r,i);if(B(t))return t.some((function(t){return Ci(t,e,n,r,i)}));switch(a){case"object":var u;if(i){for(u in t)if(u.charAt&&"$"!==u.charAt(0)&&Ci(t[u],e,n,r,!0))return!0;return!o&&Ci(t,e,n,r,!1)}if("object"===s){for(u in e){var l=e[u];if(!G(l)&&!L(l)){var c=u===r;if(!Ci(c?t:t[u],l,n,r,c,c))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Si(t){return null===t?"null":typeof t}yi.$inject=["$document"],wi.$inject=["$provide"];var Ai=22,Ei=".",_i="0";function ki(t){var e=t.NUMBER_FORMATS;return function(t,n,r){L(n)&&(n=e.CURRENCY_SYM),L(r)&&(r=e.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==t?t:Oi(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(i,n)}}function Ti(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Oi(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Oi(t,e,n,r,i){if(!H(t)&&!F(t)||isNaN(t))return"";var o,a=!isFinite(t),s=!1,u=Math.abs(t)+"",l="";if(a)l="∞";else{o=function(t){var e,n,r,i,o,a=0;for((n=t.indexOf(Ei))>-1&&(t=t.replace(Ei,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)===_i;r++);if(r===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===_i;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>Ai&&(e=e.splice(0,Ai-1),a=n-1,n=1),{d:e,e:a,i:n}}(u),function(t,e,n,r){var i=t.d,o=i.length-t.i,a=(e=L(e)?Math.min(Math.max(n,o),r):+e)+t.i,s=i[a];if(a>0){i.splice(Math.max(t.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),t.i=1,i.length=Math.max(1,a=e+1),i[0]=0;for(var l=1;l<a;l++)i[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[a-1]++;for(;o<Math.max(0,e);o++)i.push(0);var f=i.reduceRight((function(t,e,n,r){return e+=t,r[n]=e%10,Math.floor(e/10)}),0);f&&(i.unshift(f),t.i++)}(o,i,e.minFrac,e.maxFrac);var c=o.d,f=o.i,h=o.e,p=[];for(s=c.reduce((function(t,e){return t&&!e}),!0);f<0;)c.unshift(0),f++;f>0?p=c.splice(f,c.length):(p=c,c=[0]);var d=[];for(c.length>=e.lgSize&&d.unshift(c.splice(-e.lgSize,c.length).join(""));c.length>e.gSize;)d.unshift(c.splice(-e.gSize,c.length).join(""));c.length&&d.unshift(c.join("")),l=d.join(n),p.length&&(l+=r+p.join("")),h&&(l+="e+"+h)}return t<0&&!s?e.negPre+l+e.negSuf:e.posPre+l+e.posSuf}function Di(t,e,n,r){var i="";for((t<0||r&&t<=0)&&(r?t=1-t:(t=-t,i="-")),t=""+t;t.length<e;)t=_i+t;return n&&(t=t.substr(t.length-e)),i+t}function Mi(t,e,n,r,i){return n=n||0,function(o){var a=o["get"+t]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),Di(a,e,r,i)}}function Pi(t,e,n){return function(r,i){var o=r["get"+t]();return i[p((n?"STANDALONE":"")+(e?"SHORT":"")+t)][o]}}function Ii(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function Ri(t){return function(e){var n,r=Ii(e.getFullYear()),i=(n=e,+new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))-+r);return Di(1+Math.round(i/6048e5),t)}}function ji(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}ki.$inject=["$locale"],Ti.$inject=["$locale"];var Ni={yyyy:Mi("FullYear",4,0,!1,!0),yy:Mi("FullYear",2,0,!0,!0),y:Mi("FullYear",1,0,!1,!0),MMMM:Pi("Month"),MMM:Pi("Month",!0),MM:Mi("Month",2,1),M:Mi("Month",1,1),LLLL:Pi("Month",!1,!0),dd:Mi("Date",2),d:Mi("Date",1),HH:Mi("Hours",2),H:Mi("Hours",1),hh:Mi("Hours",2,-12),h:Mi("Hours",1,-12),mm:Mi("Minutes",2),m:Mi("Minutes",1),ss:Mi("Seconds",2),s:Mi("Seconds",1),sss:Mi("Milliseconds",3),EEEE:Pi("Day"),EEE:Pi("Day",!0),a:function(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]},Z:function(t,e,n){var r=-1*n;return(r>=0?"+":"")+(Di(Math[r>0?"floor":"ceil"](r/60),2)+Di(Math.abs(r%60),2))},ww:Ri(2),w:Ri(1),G:ji,GG:ji,GGG:ji,GGGG:function(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}},Li=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Vi=/^-?\d+$/;function Ui(t){var e=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,a,s="",u=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,H(n)&&(n=Vi.test(n)?D(n):function(t){var n;if(n=t.match(e)){var r=new Date(0),i=0,o=0,a=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=D(n[9]+n[10]),o=D(n[9]+n[11])),a.call(r,D(n[1]),D(n[2])-1,D(n[3]));var u=D(n[4]||0)-i,l=D(n[5]||0)-o,c=D(n[6]||0),f=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,u,l,c,f),r}return t}(n)),F(n)&&(n=new Date(n)),!z(n)||!isFinite(n.getTime()))return n;for(;r;)(a=Li.exec(r))?r=(u=ft(u,a,1)).pop():(u.push(r),r=null);var l=n.getTimezoneOffset();return i&&(l=$t(i,l),n=bt(n,i,!0)),C(u,(function(e){o=Ni[e],s+=o?o(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),s}}function qi(){return function(t,e){return L(e)&&(e=2),vt(t,e)}}Ui.$inject=["$locale"];var Hi=j(h),Fi=j(p);function zi(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):D(e),M(e)?t:(F(t)&&(t=t.toString()),x(t)?(n=(n=!n||isNaN(n)?0:D(n))<0?Math.max(0,t.length+n):n,e>=0?Bi(t,n,n+e):0===n?Bi(t,e,t.length):Bi(t,Math.max(0,n+e),n)):t)}}function Bi(t,e,n){return H(t)?t.slice(e,n):d.call(t,e,n)}function Wi(t){return function(r,o,a,s){if(null==r)return r;if(!x(r))throw i("orderBy")("notarray","Expected array but received: {0}",r);B(o)||(o=[o]),0===o.length&&(o=["+"]);var u=o.map((function(e){var n=1,r=R;if(G(e))r=e;else if(H(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e)).constant)){var i=r();r=function(t){return t[i]}}return{get:r,descending:n}})),l=a?-1:1,c=G(s)?s:n,f=Array.prototype.map.call(r,(function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:u.map((function(r){return function(t,n){var r=typeof t;return null===t?r="null":"object"===r&&(t=function(t){return G(t.valueOf)&&e(t=t.valueOf())||N(t)&&e(t=t.toString()),t}(t)),{value:t,type:r,index:n}}(r.get(t),n)}))}}));return f.sort((function(t,e){for(var r=0,i=u.length;r<i;r++){var o=c(t.predicateValues[r],e.predicateValues[r]);if(o)return o*u[r].descending*l}return(c(t.tieBreaker,e.tieBreaker)||n(t.tieBreaker,e.tieBreaker))*l})),f.map((function(t){return t.value}))};function e(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function n(t,e){var n=0,r=t.type,i=e.type;if(r===i){var o=t.value,a=e.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(U(o)&&(o=t.index),U(a)&&(a=e.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i||r<i?-1:1;return n}}function Gi(t){return G(t)&&(t={link:t}),t.restrict=t.restrict||"AC",j(t)}Wi.$inject=["$parse"];var Yi=j({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===g.call(e.prop("href"))?"xlink:href":"href";e.on("click",(function(t){e.attr(n)||t.preventDefault()}))}}}}),Ki={};C(Re,(function(t,e){if("multiple"!==t){var n=Sn("ng-"+e),r=i;"checked"===t&&(r=function(t,e,r){r.ngModel!==r[n]&&i(t,0,r)}),Ki[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(t,r,i){t.$watch(i[n],(function(t){i.$set(e,!!t)}))}})),C(Ne,(function(t,e){Ki[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(l);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],(function(t){r.$set(e,t)}))}}}})),C(["src","srcset","href"],(function(t){var e=Sn("ng-"+t);Ki[e]=["$sce",function(n){return{priority:99,link:function(r,i,a){var s=t,u=t;"href"===t&&"[object SVGAnimatedString]"===g.call(i.prop("href"))&&(u="xlinkHref",a.$attr[u]="xlink:href",s=null),a.$set(e,n.getTrustedMediaUrl(a[e])),a.$observe(e,(function(e){e?(a.$set(u,e),o&&s&&i.prop(s,a[u])):"href"===t&&a.$set(u,null)}))}}}]}));var Xi={$addControl:I,$getControls:j([]),$$renameControl:function(t,e){t.$name=e},$removeControl:I,$setValidity:I,$setDirty:I,$setPristine:I,$setSubmitted:I,$$setSubmitted:I},Zi="ng-pending",Ji="ng-submitted";function Qi(t,e,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Xi,this.$$element=t,this.$$animate=r,ro(this)}Qi.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Qi.prototype={$rollbackViewValue:function(){C(this.$$controls,(function(t){t.$rollbackViewValue()}))},$commitViewValue:function(){C(this.$$controls,(function(t){t.$commitViewValue()}))},$addControl:function(t){Nt(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$getControls:function(){return Wt(this.$$controls)},$$renameControl:function(t,e){var n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl:function(t){t.$name&&this[t.$name]===t&&delete this[t.$name],C(this.$pending,(function(e,n){this.$setValidity(n,null,t)}),this),C(this.$error,(function(e,n){this.$setValidity(n,null,t)}),this),C(this.$$success,(function(e,n){this.$setValidity(n,null,t)}),this),ot(this.$$controls,t),t.$$parentForm=Xi},$setDirty:function(){this.$$animate.removeClass(this.$$element,ta),this.$$animate.addClass(this.$$element,ea),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,ta,ea+" "+Ji),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,C(this.$$controls,(function(t){t.$setPristine()}))},$setUntouched:function(){C(this.$$controls,(function(t){t.$setUntouched()}))},$setSubmitted:function(){for(var t=this;t.$$parentForm&&t.$$parentForm!==Xi;)t=t.$$parentForm;t.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Ji),this.$submitted=!0,C(this.$$controls,(function(t){t.$$setSubmitted&&t.$$setSubmitted()}))}},io({clazz:Qi,set:function(t,e,n){var r=t[e];r?-1===r.indexOf(n)&&r.push(n):t[e]=[n]},unset:function(t,e,n){var r=t[e];r&&(ot(r,n),0===r.length&&delete t[e])}});var to=function(t){return["$timeout","$parse",function(e,n){return{name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:Qi,compile:function(n,i){n.addClass(ta).addClass(Jo);var o=i.name?"name":!(!t||!i.ngForm)&&"ngForm";return{pre:function(t,n,i,a){var s=a[0];if(!("action"in i)){var u=function(e){t.$apply((function(){s.$commitViewValue(),s.$setSubmitted()})),e.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",(function(){e((function(){n[0].removeEventListener("submit",u)}),0,!1)}))}(a[1]||s.$$parentForm).$addControl(s);var l=o?r(s.$name):I;o&&(l(t,s),i.$observe(o,(function(e){s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),(l=r(s.$name))(t,s))}))),n.on("$destroy",(function(){s.$$parentForm.$removeControl(s),l(t,void 0),T(s,Xi)}))}}}};function r(t){return""===t?n('this[""]').assign:n(t).assign||I}}]},eo=to(),no=to(!0);function ro(t){t.$$classCache={},t.$$classCache[Qo]=!(t.$$classCache[Jo]=t.$$element.hasClass(Jo))}function io(t){var e=t.clazz,n=t.set,r=t.unset;function i(t,e,n){n&&!t.$$classCache[e]?(t.$$animate.addClass(t.$$element,e),t.$$classCache[e]=!0):!n&&t.$$classCache[e]&&(t.$$animate.removeClass(t.$$element,e),t.$$classCache[e]=!1)}function o(t,e,n){e=e?"-"+Mt(e,"-"):"",i(t,Jo+e,!0===n),i(t,Qo+e,!1===n)}e.prototype.$setValidity=function(t,e,a){var s;L(e)?function(t,e,r,i){t[e]||(t[e]={}),n(t[e],r,i)}(this,"$pending",t,a):function(t,e,n,i){t[e]&&r(t[e],n,i),oo(t[e])&&(t[e]=void 0)}(this,"$pending",t,a),Z(e)?e?(r(this.$error,t,a),n(this.$$success,t,a)):(n(this.$error,t,a),r(this.$$success,t,a)):(r(this.$error,t,a),r(this.$$success,t,a)),this.$pending?(i(this,Zi,!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(i(this,Zi,!1),this.$valid=oo(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,t,s=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null)),this.$$parentForm.$setValidity(t,s,this)}}function oo(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}var ao=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,so=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,uo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,lo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,co=/^(\d{4,})-(\d{2})-(\d{2})$/,fo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ho=/^(\d{4,})-W(\d\d)$/,po=/^(\d{4,})-(\d\d)$/,vo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,mo="keydown wheel mousedown",go=Vt();C("date,datetime-local,month,time,week".split(","),(function(t){go[t]=!0}));var $o={text:function(t,e,n,r,i,o){bo(0,e,n,r,i,o),yo(r)},date:xo("date",co,wo(co,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":xo("datetimelocal",fo,wo(fo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:xo("time",vo,wo(vo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:xo("week",ho,(function(t,e){if(z(t))return t;if(H(t)){ho.lastIndex=0;var n=ho.exec(t);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Ii(r),c=7*(i-1);return e&&(o=e.getHours(),a=e.getMinutes(),s=e.getSeconds(),u=e.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}),"yyyy-Www"),month:xo("month",po,wo(po,["yyyy","MM"]),"yyyy-MM"),number:function(t,e,n,r,i,o,a,s){var u;if(Co(0,e,0,r,"number"),So(r),bo(0,e,n,r,i,o),V(n.min)||n.ngMin){var l=n.min||s(n.ngMin)(t);u=Ao(l),r.$validators.min=function(t,e){return r.$isEmpty(e)||L(u)||e>=u},n.$observe("min",(function(t){t!==l&&(u=Ao(t),l=t,r.$validate())}))}if(V(n.max)||n.ngMax){var c=n.max||s(n.ngMax)(t),f=Ao(c);r.$validators.max=function(t,e){return r.$isEmpty(e)||L(f)||e<=f},n.$observe("max",(function(t){t!==c&&(f=Ao(t),c=t,r.$validate())}))}if(V(n.step)||n.ngStep){var h=n.step||s(n.ngStep)(t),p=Ao(h);r.$validators.step=function(t,e){return r.$isEmpty(e)||L(p)||ko(e,u||0,p)},n.$observe("step",(function(t){t!==h&&(p=Ao(t),h=t,r.$validate())}))}},url:function(t,e,n,r,i,o){bo(0,e,n,r,i,o),yo(r),r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||so.test(n)}},email:function(t,e,n,r,i,o){bo(0,e,n,r,i,o),yo(r),r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||uo.test(n)}},radio:function(t,e,n,r){var i=!n.ngTrim||"false"!==tt(n.ngTrim);L(n.name)&&e.attr("name",E()),e.on("change",(function(t){var o;e[0].checked&&(o=n.value,i&&(o=tt(o)),r.$setViewValue(o,t&&t.type))})),r.$render=function(){var t=n.value;i&&(t=tt(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)},range:function(t,e,n,r,i,o){Co(0,e,0,r,"range"),So(r),bo(0,e,n,r,i,o);var a=r.$$hasNativeValidators&&"range"===e[0].type,s=a?0:void 0,u=a?100:void 0,l=a?1:void 0,c=e[0].validity,f=V(n.min),h=V(n.max),p=V(n.step),d=r.$render;function v(t,r){e.attr(t,n[t]);var i=n[t];n.$observe(t,(function(t){t!==i&&(i=t,r(t))}))}r.$render=a&&V(c.rangeUnderflow)&&V(c.rangeOverflow)?function(){d(),r.$setViewValue(e.val())}:d,f&&(s=Ao(n.min),r.$validators.min=a?function(){return!0}:function(t,e){return r.$isEmpty(e)||L(s)||e>=s},v("min",(function(t){if(s=Ao(t),!M(r.$modelValue))if(a){var n=e.val();s>n&&(n=s,e.val(n)),r.$setViewValue(n)}else r.$validate()}))),h&&(u=Ao(n.max),r.$validators.max=a?function(){return!0}:function(t,e){return r.$isEmpty(e)||L(u)||e<=u},v("max",(function(t){if(u=Ao(t),!M(r.$modelValue))if(a){var n=e.val();u<n&&(e.val(u),n=u<s?s:u),r.$setViewValue(n)}else r.$validate()}))),p&&(l=Ao(n.step),r.$validators.step=a?function(){return!c.stepMismatch}:function(t,e){return r.$isEmpty(e)||L(l)||ko(e,s||0,l)},v("step",(function(t){l=Ao(t),M(r.$modelValue)||(a?r.$viewValue!==e.val()&&r.$setViewValue(e.val()):r.$validate())})))},checkbox:function(t,e,n,r,i,o,a,s){var u=To(s,t,"ngTrueValue",n.ngTrueValue,!0),l=To(s,t,"ngFalseValue",n.ngFalseValue,!1);e.on("change",(function(t){r.$setViewValue(e[0].checked,t&&t.type)})),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return!1===t},r.$formatters.push((function(t){return ut(t,u)})),r.$parsers.push((function(t){return t?u:l}))},hidden:I,button:I,submit:I,reset:I,file:I};function yo(t){t.$formatters.push((function(e){return t.$isEmpty(e)?e:e.toString()}))}function bo(t,e,n,r,i,o){var a,s=h(e[0].type);if(!i.android){var u=!1;e.on("compositionstart",(function(){u=!0})),e.on("compositionupdate",(function(t){(L(t.data)||""===t.data)&&(u=!1)})),e.on("compositionend",(function(){u=!1,l()}))}var l=function(t){if(a&&(o.defer.cancel(a),a=null),!u){var i=e.val(),l=t&&t.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=tt(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))e.on("input",l);else{var f=function(t,e,n){a||(a=o.defer((function(){a=null,e&&e.value===n||l(t)})))};e.on("keydown",(function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||f(t,this,this.value)})),i.hasEvent("paste")&&e.on("paste cut drop",f)}e.on("change",l),go[s]&&r.$$hasNativeValidators&&s===n.type&&e.on(mo,(function(t){if(!a){var e=this[c],n=e.badInput,r=e.typeMismatch;a=o.defer((function(){a=null,e.badInput===n&&e.typeMismatch===r||l(t)}))}})),r.$render=function(){var t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function wo(t,e){return function(n,r){var i,o;if(z(n))return n;if(H(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ao.test(n))return new Date(n);if(t.lastIndex=0,i=t.exec(n)){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},C(i,(function(t,n){n<e.length&&(o[e[n]]=+t)}));var a=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&a.setFullYear(o.yyyy),a}}return NaN}}function xo(t,e,n,r){return function(i,o,a,s,u,l,c,f){Co(0,o,0,s,t),bo(0,o,a,s,u,l);var h,p,d="time"===t||"datetimelocal"===t;if(s.$parsers.push((function(n){return s.$isEmpty(n)?null:e.test(n)?w(n,h):void(s.$$parserName=t)})),s.$formatters.push((function(t){if(t&&!z(t))throw aa("datefmt","Expected `{0}` to be a date",t);if(y(t)){h=t;var e=s.$options.getOption("timezone");return e&&(p=e,h=bt(h,e,!0)),function(t,e){var n=r;d&&H(s.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",s.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var i=c("date")(t,n,e);return d&&s.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}(t,e)}return h=null,p=null,""})),V(a.min)||a.ngMin){var v=a.min||f(a.ngMin)(i),m=b(v);s.$validators.min=function(t){return!y(t)||L(m)||n(t)>=m},a.$observe("min",(function(t){t!==v&&(m=b(t),v=t,s.$validate())}))}if(V(a.max)||a.ngMax){var g=a.max||f(a.ngMax)(i),$=b(g);s.$validators.max=function(t){return!y(t)||L($)||n(t)<=$},a.$observe("max",(function(t){t!==g&&($=b(t),g=t,s.$validate())}))}function y(t){return t&&!(t.getTime&&t.getTime()!=t.getTime())}function b(t){return V(t)&&!z(t)?w(t)||void 0:t}function w(t,e){var r=s.$options.getOption("timezone");p&&p!==r&&(e=yt(e,$t(p)));var i=n(t,e);return!isNaN(i)&&r&&(i=bt(i,r)),i}}}function Co(t,e,n,r,i){var o=e[0];(r.$$hasNativeValidators=U(o.validity))&&r.$parsers.push((function(t){var n=e.prop(c)||{};if(!n.badInput&&!n.typeMismatch)return t;r.$$parserName=i}))}function So(t){t.$parsers.push((function(e){return t.$isEmpty(e)?null:lo.test(e)?parseFloat(e):void(t.$$parserName="number")})),t.$formatters.push((function(e){if(!t.$isEmpty(e)){if(!F(e))throw aa("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}))}function Ao(t){return V(t)&&!F(t)&&(t=parseFloat(t)),M(t)?void 0:t}function Eo(t){return(0|t)===t}function _o(t){var e=t.toString(),n=e.indexOf(".");if(-1===n){if(-1<t&&t<1){var r=/e-(\d+)$/.exec(e);if(r)return Number(r[1])}return 0}return e.length-n-1}function ko(t,e,n){var r=Number(t),i=!Eo(r),o=!Eo(e),a=!Eo(n);if(i||o||a){var s=i?_o(r):0,u=o?_o(e):0,l=a?_o(n):0,c=Math.max(s,u,l),f=Math.pow(10,c);r*=f,e*=f,n*=f,i&&(r=Math.round(r)),o&&(e=Math.round(e)),a&&(n=Math.round(n))}return(r-e)%n==0}function To(t,e,n,r,i){var o;if(V(r)){if(!(o=t(r)).constant)throw aa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}var Oo=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&($o[h(a.type)]||$o.text)(i,o,a,s[0],e,t,n,r)}}}}],Do=function(){var t={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile:function(e,n){if("hidden"===h(n.type))return{pre:function(e,n,r,i){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",t)}}}}},Mo=/^(true|false|\d+)$/,Po=function(){function t(t,e,n){var r=V(n)?n:9===o?"":null;t.prop("value",r),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return Mo.test(n.ngValue)?function(e,n,r){t(n,r,e.$eval(r.ngValue))}:function(e,n,r){e.$watch(r.ngValue,(function(e){t(n,r,e)}))}}}},Io=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,(function(t){n.textContent=Ut(t)}))}}}}],Ro=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",(function(t){r.textContent=L(t)?"":t}))}}}}],jo=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),a=e(i.ngBindHtml,(function(e){return t.valueOf(e)}));return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(a,(function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")}))}}}}],No=j({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push((function(){t.$eval(n.ngChange)}))}});function Lo(t,e){var n;return t="ngClass"+t,["$parse",function(a){return{restrict:"AC",link:function(s,u,l){var c,f=u.data("$classCounts"),h=!0;function p(t,e){var n=[];return C(t,(function(t){(e>0||f[t])&&(f[t]=(f[t]||0)+e,f[t]===+(e>0)&&n.push(t))})),n.join(" ")}f||(f=Vt(),u.data("$classCounts",f)),"ngClass"!==t&&(n||(n=a("$index",(function(t){return 1&t}))),s.$watch(n,(function(t){var n;t===e?(n=p(i(n=c),1),l.$addClass(n)):function(t){t=p(i(t),-1),l.$removeClass(t)}(c),h=t}))),s.$watch(a(l[t],o),(function(t){h===e&&function(t,e){var n=i(t),o=i(e),a=r(n,o),s=r(o,n),u=p(a,-1),c=p(s,1);l.$addClass(c),l.$removeClass(u)}(c,t),c=t}))}}}];function r(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[];t:for(var r=0;r<t.length;r++){for(var i=t[r],o=0;o<e.length;o++)if(i===e[o])continue t;n.push(i)}return n}function i(t){return t&&t.split(" ")}function o(t){if(!t)return t;var e=t;return B(t)?e=t.map(o).join(" "):U(t)?e=Object.keys(t).filter((function(e){return t[e]})).join(" "):H(t)||(e=t+""),e}}var Vo=Lo("",!0),Uo=Lo("Odd",0),qo=Lo("Even",1),Ho=Gi({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),Fo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],zo={},Bo={blur:!0,focus:!0};function Wo(t,e,n,r,i,o){return{restrict:"A",compile:function(a,s){var u=t(s[r]);return function(t,r){r.on(i,(function(r){var i=function(){u(t,{$event:r})};if(e.$$phase)if(o)t.$evalAsync(i);else try{i()}catch(t){n(t)}else t.$apply(i)}))}}}}C("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(t){var e=Sn("ng-"+t);zo[e]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return Wo(n,r,i,e,t,Bo[t])}]}));var Go=["$animate","$compile",function(t,e){return{multiElement:!0,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(n){n?u||a((function(n,o){u=o,n[n.length++]=e.$$createComment("end ngIf",i.ngIf),s={clone:n},t.enter(n,r.parent(),r)})):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=Lt(s.clone),t.leave(l).done((function(t){!1!==t&&(l=null)})),s=null))}))}}}],Yo=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:b.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,h,p,d=0,v=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done((function(t){!1!==t&&(h=null)})),h=p,p=null)};r.$watch(o,(function(o){var u=function(t){!1===t||!V(s)||s&&!r.$eval(s)||e()},h=++d;o?(t(o,!0).then((function(t){if(!r.$$destroyed&&h===d){var e=r.$new();l.template=t;var s=c(e,(function(t){v(),n.enter(t,null,i).done(u)}));p=s,(f=e).$emit("$includeContentLoaded",o),r.$eval(a)}}),(function(){r.$$destroyed||h===d&&(v(),r.$emit("$includeContentError",o))})),r.$emit("$includeContentRequested",o)):(v(),l.template=null)}))}}}}],Ko=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(g.call(r[0]).match(/SVG/))return r.empty(),void e(de(o.template,t.document).childNodes)(n,(function(t){r.append(t)}),{futureParentElement:r});r.html(o.template),e(r.contents())(n)}}}],Xo=Gi({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Zo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,a=o?tt(i):i;r.$parsers.push((function(t){if(!L(t)){var e=[];return t&&C(t.split(a),(function(t){t&&e.push(o?tt(t):t)})),e}})),r.$formatters.push((function(t){if(B(t))return t.join(i)})),r.$isEmpty=function(t){return!t||!t.length}}}},Jo="ng-valid",Qo="ng-invalid",ta="ng-pristine",ea="ng-dirty",na="ng-untouched",ra="ng-touched",ia="ng-empty",oa="ng-not-empty",aa=i("ngModel");function sa(t,e,n,r,i,o,a,s,u){var l;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(t),this.$$parentForm=Xi,this.$options=ua,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=t,this.$$rootScope=t.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=e,ro(this),(l=this).$$scope.$watch((function(t){var e=l.$$ngModelGet(t);return e===l.$modelValue||l.$modelValue!=l.$modelValue&&e!=e||l.$$setModelValue(e),e}))}sa.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],sa.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var t=this.$$parse(this.$$attr.ngModel+"()"),e=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var n=this.$$parsedNgModel(e);return G(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){G(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw aa("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,wt(this.$$element))},$render:I,$isEmpty:function(t){return L(t)||""===t||null===t||t!=t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,oa),this.$$animate.addClass(this.$$element,ia)):(this.$$animate.removeClass(this.$$element,ia),this.$$animate.addClass(this.$$element,oa))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,ea),this.$$animate.addClass(this.$$element,ta)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,ta),this.$$animate.addClass(this.$$element,ea),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,na,ra)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,ra,na)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!M(this.$modelValue)){var t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,(function(t){i||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))}},$$runValidators:function(t,e,n){this.$$currentValidationRunId++;var r,i,o,a,s=this.$$currentValidationRunId,u=this;function l(t,e){s===u.$$currentValidationRunId&&u.$setValidity(t,e)}function c(t){s===u.$$currentValidationRunId&&n(t)}a=u.$$parserName,(L(u.$$parserValid)?(l(a,null),1):(u.$$parserValid||(C(u.$validators,(function(t,e){l(e,null)})),C(u.$asyncValidators,(function(t,e){l(e,null)}))),l(a,u.$$parserValid),u.$$parserValid))?(o=!0,C(u.$validators,(function(n,r){var i=Boolean(n(t,e));o=o&&i,l(r,i)})),!o&&(C(u.$asyncValidators,(function(t,e){l(e,null)})),1)?c(!1):(r=[],i=!0,C(u.$asyncValidators,(function(n,o){var a=n(t,e);if(!J(a))throw aa("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);l(o,void 0),r.push(a.then((function(){l(o,!0)}),(function(){i=!1,l(o,!1)})))})),r.length?u.$$q.all(r).then((function(){c(i)}),I):c(!0))):c(!1)},$commitViewValue:function(){var t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var t=this.$$lastCommittedViewValue,e=this;if(this.$$parserValid=!L(t)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(L(t=this.$parsers[n](t))){this.$$parserValid=!1;break}M(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){e.$modelValue!==r&&e.$$writeModelToScope()}this.$$rawModelValue=t,i&&(this.$modelValue=t,o()),this.$$runValidators(t,this.$$lastCommittedViewValue,(function(n){i||(e.$modelValue=n?t:void 0,o())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),C(this.$viewChangeListeners,(function(t){try{t()}catch(t){this.$$exceptionHandler(t)}}),this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");F(e[t])?e=e[t]:F(e.default)&&-1===this.$options.getOption("updateOn").indexOf(t)?e=e.default:F(e["*"])&&(e=e["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),e):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t),this.$$setUpdateOnEvents()},$processModelValue:function(){var t=this.$$format();this.$viewValue!==t&&(this.$$updateEmptyClasses(t),this.$viewValue=this.$$lastCommittedViewValue=t,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,I))},$$format:function(){for(var t=this.$formatters,e=t.length,n=this.$modelValue;e--;)n=t[e](n);return n},$$setModelValue:function(t){this.$modelValue=this.$$rawModelValue=t,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(t){this.$$debounceViewValueCommit(t&&t.type)}},io({clazz:sa,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var ua,la=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:sa,priority:1,compile:function(e){return e.addClass(ta).addClass(na).addClass(Jo),{pre:function(t,e,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",(function(t){i.$name!==t&&i.$$parentForm.$$renameControl(i,t)})),t.$on("$destroy",(function(){i.$$parentForm.$removeControl(i)}))},post:function(e,n,r,i){var o=i[0];function a(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(function(){o.$touched||(t.$$phase?e.$evalAsync(a):e.$apply(a))}))}}}}}],ca=/(\s+|^)default(\s+|$)/;function fa(t){this.$$options=t}fa.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return C(t=T({},t),(function(n,r){"$inherit"===n?"*"===r?e=!0:(t[r]=this.$$options[r],"updateOn"===r&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(t.updateOnDefault=!1,t[r]=tt(n.replace(ca,(function(){return t.updateOnDefault=!0," "}))))}),this),e&&(delete t["*"],pa(t,this.$$options)),pa(t,ua.$$options),new fa(t)}},ua=new fa({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var ha=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:ua,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}};function pa(t,e){C(e,(function(e,n){V(t[n])||(t[n]=e)}))}var da=Gi({terminal:!0,priority:1e3}),va=i("ngOptions"),ma=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\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]+?))?$/,ga=["$compile","$document","$parse",function(e,n,r){var i=t.document.createElement("option"),o=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=I},post:function(t,s,u,l){for(var c=l[0],f=l[1],h=u.multiple,p=0,d=s.children(),v=d.length;p<v;p++)if(""===d[p].value){c.hasEmptyOption=!0,c.emptyOption=d.eq(p);break}s.empty();var m,g=!!c.emptyOption;a(i.cloneNode(!1)).val("?");var $=function(t,e,n){var i=t.match(ma);if(!i)throw va("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,wt(e));var o=i[5]||i[7],a=i[6],s=/ as /.test(i[0])&&i[1],u=i[9],l=r(i[2]?i[1]:o),c=s&&r(s)||l,f=u&&r(u),h=u?function(t,e){return f(n,e)}:function(t){return He(t)},p=function(t,e){return h(t,y(t,e))},d=r(i[2]||i[1]),v=r(i[3]||""),m=r(i[4]||""),g=r(i[8]),$={},y=a?function(t,e){return $[a]=e,$[o]=t,$}:function(t){return $[o]=t,$};function b(t,e,n,r,i){this.selectValue=t,this.viewValue=e,this.label=n,this.group=r,this.disabled=i}function w(t){var e;if(!a&&x(t))e=t;else for(var n in e=[],t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n);return e}return{trackBy:u,getTrackByValue:p,getWatchables:r(g,(function(t){for(var e=[],r=w(t=t||[]),o=r.length,a=0;a<o;a++){var s=t===r?a:r[a],u=t[s],l=y(u,s),c=h(u,l);if(e.push(c),i[2]||i[1]){var f=d(n,l);e.push(f)}if(i[4]){var p=m(n,l);e.push(p)}}return e})),getOptions:function(){for(var t=[],e={},r=g(n)||[],i=w(r),o=i.length,a=0;a<o;a++){var s=r===i?a:i[a],l=r[s],f=y(l,s),$=c(n,f),x=h($,f),C=new b(x,$,d(n,f),v(n,f),m(n,f));t.push(C),e[x]=C}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[p(t)]},getViewValueFromOption:function(t){return u?at(t.viewValue):t.viewValue}}}}}(u.ngOptions,s,t),y=n[0].createDocumentFragment();function b(t,e){var n=i.cloneNode(!1);e.appendChild(n),function(t,e){t.element=e,e.disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}(t,n)}function w(t){var e=m.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}c.generateUnknownOptionValue=function(t){return"?"},h?(c.writeValue=function(t){if(m){var e=t&&t.map(w)||[];m.items.forEach((function(t){t.element.selected&&!it(e,t)&&(t.element.selected=!1)}))}},c.readValue=function(){var t=s.val()||[],e=[];return C(t,(function(t){var n=m.selectValueMap[t];n&&!n.disabled&&e.push(m.getViewValueFromOption(n))})),e},$.trackBy&&t.$watchCollection((function(){if(B(f.$viewValue))return f.$viewValue.map((function(t){return $.getTrackByValue(t)}))}),(function(){f.$render()}))):(c.writeValue=function(t){if(m){var e=s[0].options[s[0].selectedIndex],n=m.getOptionFromViewValue(t);e&&e.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(c.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):c.selectUnknownOrEmptyOption(t)}},c.readValue=function(){var t=m.selectValueMap[s.val()];return t&&!t.disabled?(c.unselectEmptyOption(),c.removeUnknownOption(),m.getViewValueFromOption(t)):null},$.trackBy&&t.$watch((function(){return $.getTrackByValue(f.$viewValue)}),(function(){f.$render()}))),g&&(e(c.emptyOption)(t),s.prepend(c.emptyOption),c.emptyOption[0].nodeType===Ft?(c.hasEmptyOption=!1,c.registerOption=function(t,e){""===e.val()&&(c.hasEmptyOption=!0,c.emptyOption=e,c.emptyOption.removeClass("ng-scope"),f.$render(),e.on("$destroy",(function(){var t=c.$isEmptyOptionSelected();c.hasEmptyOption=!1,c.emptyOption=void 0,t&&f.$render()})))}):c.emptyOption.removeClass("ng-scope")),t.$watchCollection($.getWatchables,(function(){var t=m&&c.readValue();if(m)for(var e=m.items.length-1;e>=0;e--){var n=m.items[e];V(n.group)?Me(n.element.parentNode):Me(n.element)}m=$.getOptions();var r={};if(m.items.forEach((function(t){var e;V(t.group)?((e=r[t.group])||(e=o.cloneNode(!1),y.appendChild(e),e.label=null===t.group?"null":t.group,r[t.group]=e),b(t,e)):b(t,y)})),s[0].appendChild(y),f.$render(),!f.$isEmpty(t)){var i=c.readValue();($.trackBy||h?ut(t,i):t===i)||(f.$setViewValue(i),f.$render())}}))}}}}],$a=["$locale","$interpolate","$log",function(t,e,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){var u,l=s.count,c=s.$attr.when&&a.attr(s.$attr.when),f=s.offset||0,p=o.$eval(c)||{},d={},v=e.startSymbol(),m=e.endSymbol(),g=v+l+"-"+f+m,$=b.noop;function y(t){a.text(t||"")}C(s,(function(t,e){var n=i.exec(e);if(n){var r=(n[1]?"-":"")+h(n[2]);p[r]=a.attr(s.$attr[e])}})),C(p,(function(t,n){d[n]=e(t.replace(r,g))})),o.$watch(l,(function(e){var r=parseFloat(e),i=M(r);if(i||r in p||(r=t.pluralCat(r-f)),!(r===u||i&&M(u))){$();var a=d[r];L(a)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+c),$=I,y()):$=o.$watch(a,y),u=r}}))}}}],ya=i("ngRef"),ba=["$parse",function(t){return{priority:-1,restrict:"A",compile:function(e,n){var r=Sn(rt(e)),i=t(n.ngRef),o=i.assign||function(){throw ya("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(t,e,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=e;else if(!(s=e.data("$"+a.ngRefRead+"Controller")))throw ya("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=e.data("$"+r+"Controller");o(t,s=s||e),e.on("$destroy",(function(){i(t)===s&&o(t,null)}))}}}}],wa=["$parse","$animate","$compile",function(t,e,n){var r="$$NG_REMOVED",o=i("ngRepeat"),a=function(t,e,n,r,i,o,a){t[n]=r,i&&(t[i]=o),t.$index=e,t.$first=0===e,t.$last=e===a-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0==(1&e))},s=function(t){return t.clone[0]},u=function(t){return t.clone[t.clone.length-1]},l=function(t,e,n){return He(n)},c=function(t,e){return e};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,h){var p=h.ngRepeat,d=n.$$createComment("end ngRepeat",p),v=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!v)throw o("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=v[1],g=v[2],$=v[3],y=v[4];if(!(v=m.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw o("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b,w=v[3]||v[1],S=v[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw o("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);if(y){var A={$id:He},E=t(y);b=function(t,e,n,r){return S&&(A[S]=e),A[w]=n,A.$index=r,E(t,A)}}return function(t,n,i,h,v){var m=Vt();t.$watchCollection(g,(function(i){var h,g,y,E,_,k,T,O,D,M,P,I,R=n[0],j=Vt();if($&&(t[$]=i),x(i))D=i,O=b||l;else for(var N in O=b||c,D=[],i)f.call(i,N)&&"$"!==N.charAt(0)&&D.push(N);for(E=D.length,P=new Array(E),h=0;h<E;h++)if(_=i===D?h:D[h],k=i[_],T=O(t,_,k,h),m[T])M=m[T],delete m[T],j[T]=M,P[h]=M;else{if(j[T])throw C(P,(function(t){t&&t.scope&&(m[t.id]=t)})),o("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,T,k);P[h]={id:T,scope:void 0,clone:void 0},j[T]=!0}for(var L in A&&(A[w]=void 0),m){if(I=Lt((M=m[L]).clone),e.leave(I),I[0].parentNode)for(h=0,g=I.length;h<g;h++)I[h][r]=!0;M.scope.$destroy()}for(h=0;h<E;h++)if(_=i===D?h:D[h],k=i[_],(M=P[h]).scope){y=R;do{y=y.nextSibling}while(y&&y[r]);s(M)!==y&&e.move(Lt(M.clone),null,R),R=u(M),a(M.scope,h,w,k,S,_,E)}else v((function(t,n){M.scope=n;var r=d.cloneNode(!1);t[t.length++]=r,e.enter(t,null,R),R=r,M.clone=t,j[M.id]=M,a(M.scope,h,w,k,S,_,E)}));m=j}))}}}}],xa="ng-hide",Ca="ng-hide-animate",Sa=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngShow,(function(e){t[e?"removeClass":"addClass"](n,xa,{tempClasses:Ca})}))}}}],Aa=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngHide,(function(e){t[e?"addClass":"removeClass"](n,xa,{tempClasses:Ca})}))}}}],Ea=Gi((function(t,e,n){t.$watchCollection(n.ngStyle,(function(t,n){n&&t!==n&&C(n,(function(t,n){e.css(n,"")})),t&&e.css(t)}))})),_a=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var a=i.ngSwitch||i.on,s=[],u=[],l=[],c=[],f=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};n.$watch(a,(function(n){for(var r,i;l.length;)t.cancel(l.pop());for(r=0,i=c.length;r<i;++r){var a=Lt(u[r].clone);c[r].$destroy(),(l[r]=t.leave(a)).done(f(l,r))}u.length=0,c.length=0,(s=o.cases["!"+n]||o.cases["?"])&&C(s,(function(n){n.transclude((function(r,i){c.push(i);var o=n.element;r[r.length++]=e.$$createComment("end ngSwitchWhen");var a={clone:r};u.push(a),t.enter(r,o.parent(),o)}))}))}))}}}],ka=Gi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){var o=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(t,e,n){return n[e-1]!==t}));C(o,(function(t){r.cases["!"+t]=r.cases["!"+t]||[],r.cases["!"+t].push({transclude:i,element:e})}))}}),Ta=Gi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),Oa=i("ngTransclude"),Da=["$compile",function(t){return{restrict:"EAC",compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,r,i,o){if(!o)throw Oa("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",wt(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var a=r.ngTransclude||r.ngTranscludeSlot;function s(){n(t,(function(t){e.append(t)}))}o((function(t,n){t.length&&function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e];if(r.nodeType!==Ht||r.nodeValue.trim())return!0}}(t)?e.append(t):(s(),n.$destroy())}),null,a),a&&!o.isSlotFilled(a)&&s()}}}}],Ma=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"===n.type){var r=n.id,i=e[0].text;t.put(r,i)}}}}],Pa={$setViewValue:I,$render:I};function Ia(t,e){t.prop("selected",e),t.attr("selected",e)}var Ra=["$element","$scope",function(e,n){var r=this,i=new Be;r.selectValueMap={},r.ngModelCtrl=Pa,r.multiple=!1,r.unknownOption=a(t.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(t){var n=r.generateUnknownOptionValue(t);r.unknownOption.val(n),e.prepend(r.unknownOption),Ia(r.unknownOption,!0),e.val(n)},r.updateUnknownOption=function(t){var n=r.generateUnknownOptionValue(t);r.unknownOption.val(n),Ia(r.unknownOption,!0),e.val(n)},r.generateUnknownOptionValue=function(t){return"? "+He(t)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(e.val(""),Ia(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&Ia(r.emptyOption,!1)},n.$on("$destroy",(function(){r.renderUnknownOption=I})),r.readValue=function(){var t=e.val(),n=t in r.selectValueMap?r.selectValueMap[t]:t;return r.hasOption(n)?n:null},r.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&Ia(a(n),!1),r.hasOption(t)){r.removeUnknownOption();var i=He(t);e.val(i in r.selectValueMap?i:t);var o=e[0].options[e[0].selectedIndex];Ia(a(o),!0)}else r.selectUnknownOrEmptyOption(t)},r.addOption=function(t,e){if(e[0].nodeType!==Ft){Nt(t,'"option value"'),""===t&&(r.hasEmptyOption=!0,r.emptyOption=e);var n=i.get(t)||0;i.set(t,n+1),s()}},r.removeOption=function(t){var e=i.get(t);e&&(1===e?(i.delete(t),""===t&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):i.set(t,e-1))},r.hasOption=function(t){return!!i.get(t)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return e[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&e[0].options[e[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(t){null==t&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(t):r.renderUnknownOption(t)};var o=!1;function s(){o||(o=!0,n.$$postDigest((function(){o=!1,r.ngModelCtrl.$render()})))}var u=!1;function l(t){u||(u=!0,n.$$postDigest((function(){n.$$destroyed||(u=!1,r.ngModelCtrl.$setViewValue(r.readValue()),t&&r.ngModelCtrl.$render())})))}r.registerOption=function(t,e,n,i,o){var a,u;n.$attr.ngValue?n.$observe("value",(function(t){var n,i=e.prop("selected");V(u)&&(r.removeOption(a),delete r.selectValueMap[u],n=!0),u=He(t),a=t,r.selectValueMap[u]=t,r.addOption(t,e),e.attr("value",u),n&&i&&l()})):i?n.$observe("value",(function(t){var n;r.readValue();var i=e.prop("selected");V(a)&&(r.removeOption(a),n=!0),a=t,r.addOption(t,e),n&&i&&l()})):o?t.$watch(o,(function(t,i){n.$set("value",t);var o=e.prop("selected");i!==t&&r.removeOption(i),r.addOption(t,e),i&&o&&l()})):r.addOption(n.value,e),n.$observe("disabled",(function(t){("true"===t||t&&e.prop("selected"))&&(r.multiple?l(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))})),e.on("$destroy",(function(){var t=r.readValue(),e=n.value;r.removeOption(e),s(),(r.multiple&&t&&-1!==t.indexOf(e)||t===e)&&l(!0)}))}}],ja=function(){return{restrict:"E",require:["select","?ngModel"],controller:Ra,priority:1,link:{pre:function(t,e,n,r){var i=r[0],o=r[1];if(o){if(i.ngModelCtrl=o,e.on("change",(function(){i.removeUnknownOption(),t.$apply((function(){o.$setViewValue(i.readValue())}))})),n.multiple){i.multiple=!0,i.readValue=function(){var t=[];return C(e.find("option"),(function(e){if(e.selected&&!e.disabled){var n=e.value;t.push(n in i.selectValueMap?i.selectValueMap[n]:n)}})),t},i.writeValue=function(t){C(e.find("option"),(function(e){var n=!!t&&(it(t,e.value)||it(t,i.selectValueMap[e.value]));n!==e.selected&&Ia(a(e),n)}))};var s,u=NaN;t.$watch((function(){u!==o.$viewValue||ut(s,o.$viewValue)||(s=Wt(o.$viewValue),o.$render()),u=o.$viewValue})),o.$isEmpty=function(t){return!t||0===t.length}}}else i.registerOption=I},post:function(t,e,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}},Na=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var r,i;return V(n.ngValue)||(V(n.value)?r=t(n.value,!0):(i=t(e.text(),!0))||n.$set("value",e.text())),function(t,e,n){var o="$selectController",a=e.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(t,e,n,r,i)}}}}],La=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o=r.hasOwnProperty("required")||t(r.ngRequired)(e);r.ngRequired||(r.required=!0),i.$validators.required=function(t,e){return!o||!i.$isEmpty(e)},r.$observe("required",(function(t){o!==t&&(o=t,i.$validate())}))}}}}],Va=["$parse",function(t){return{restrict:"A",require:"?ngModel",compile:function(e,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&l.test(n.ngPattern)?function(){return n.ngPattern}:t(n.ngPattern)),function(t,e,n,o){if(o){var a=n.pattern;n.ngPattern?a=i(t):r=n.pattern;var s=Ha(a,r,e);n.$observe("pattern",(function(t){var n=s;s=Ha(t,r,e),(n&&n.toString())!==(s&&s.toString())&&o.$validate()})),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||L(s)||s.test(e)}}}}}}],Ua=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o=r.maxlength||t(r.ngMaxlength)(e),a=Fa(o);r.$observe("maxlength",(function(t){o!==t&&(a=Fa(t),o=t,i.$validate())})),i.$validators.maxlength=function(t,e){return a<0||i.$isEmpty(e)||e.length<=a}}}}}],qa=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o=r.minlength||t(r.ngMinlength)(e),a=Fa(o)||-1;r.$observe("minlength",(function(t){o!==t&&(a=Fa(t)||-1,o=t,i.$validate())})),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=a}}}}}];function Ha(t,e,n){if(t){if(H(t)&&(t=new RegExp("^"+t+"$")),!t.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",e,t,wt(n));return t}}function Fa(t){var e=D(t);return M(e)?-1:e}t.angular.bootstrap?t.console&&console.log("WARNING: Tried to load AngularJS more than once."):(function(){var e;if(!Pt){var n=ct();(s=L(n)?t.jQuery:n?t[n]:void 0)&&s.fn.on?(a=s,T(s.fn,{scope:Ie.scope,isolateScope:Ie.isolateScope,controller:Ie.controller,injector:Ie.injector,inheritedData:Ie.inheritedData})):a=me,e=a.cleanData,a.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)(n=(a._data(r)||{}).events)&&n.$destroy&&a(r).triggerHandler("$destroy");e(t)},b.element=a,Pt=!0}}(),function(e){T(e,{errorHandlingConfig:n,bootstrap:kt,copy:at,extend:T,merge:O,equals:ut,element:a,forEach:C,injector:en,noop:I,bind:pt,toJson:vt,fromJson:mt,identity:R,isUndefined:L,isDefined:V,isString:H,isFunction:G,isObject:U,isNumber:F,isElement:nt,isArray:B,version:Yt,isDate:z,callbacks:{$$counter:0},getTestability:Ot,reloadWithDebugInfo:Tt,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:It,$$minErr:i,$$csp:lt,$$encodeUriSegment:St,$$encodeUriQuery:At,$$lowercase:h,$$stringify:Ut,$$uppercase:p}),u=function(t){var e=i("$injector"),n=i("ng");function r(t,e,n){return t[e]||(t[e]=n())}var o=r(t,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",(function(){var t={};return function(i,o,a){var s={};return function(t,e){if("hasOwnProperty"===t)throw n("badname","hasOwnProperty is not a valid {0} name","module")}(i),o&&t.hasOwnProperty(i)&&(t[i]=null),r(t,i,(function(){if(!o)throw e("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.",i);var t=[],r=[],u=[],l=f("$injector","invoke","push",r),c={_invokeQueue:t,_configBlocks:r,_runBlocks:u,info:function(t){if(V(t)){if(!U(t))throw n("aobj","Argument '{0}' must be an object","value");return s=t,this}return s},requires:o,name:i,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:f("$provide","value"),constant:f("$provide","constant","unshift"),decorator:h("$provide","decorator",r),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:l,run:function(t){return u.push(t),this}};return a&&l(a),c;function f(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),c}}function h(e,n,r){return r||(r=t),function(t,o){return o&&G(o)&&(o.$$moduleName=i),r.push([e,n,arguments]),c}}}))}}))}(t),u("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Xr}),t.provider("$compile",bn).directive({a:Yi,input:Oo,textarea:Oo,form:eo,script:Ma,select:ja,option:Na,ngBind:Io,ngBindHtml:jo,ngBindTemplate:Ro,ngClass:Vo,ngClassEven:qo,ngClassOdd:Uo,ngCloak:Ho,ngController:Fo,ngForm:no,ngHide:Aa,ngIf:Go,ngInclude:Yo,ngInit:Xo,ngNonBindable:da,ngPluralize:$a,ngRef:ba,ngRepeat:wa,ngShow:Sa,ngStyle:Ea,ngSwitch:_a,ngSwitchWhen:ka,ngSwitchDefault:Ta,ngOptions:ga,ngTransclude:Da,ngModel:la,ngList:Zo,ngChange:No,pattern:Va,ngPattern:Va,required:La,ngRequired:La,minlength:qa,ngMinlength:qa,maxlength:Ua,ngMaxlength:Ua,ngValue:Po,ngModelOptions:ha}).directive({ngInclude:Ko,input:Do}).directive(Ki).directive(zo),t.provider({$anchorScroll:nn,$animate:cn,$animateCss:pn,$$animateJs:un,$$animateQueue:ln,$$AnimateRunner:hn,$$animateAsyncRun:fn,$browser:vn,$cacheFactory:mn,$controller:Dn,$document:Mn,$$isDocumentHidden:Pn,$exceptionHandler:In,$filter:wi,$$forceReflow:Rn,$interpolate:tr,$interval:nr,$$intervalFactory:rr,$http:Xn,$httpParamSerializer:Fn,$httpParamSerializerJQLike:zn,$httpBackend:Jn,$xhrFactory:Zn,$jsonpCallbacks:ir,$location:br,$log:wr,$parse:qr,$rootScope:Kr,$q:Hr,$$q:Fr,$sce:ri,$sceDelegate:ni,$sniffer:ii,$$taskTrackerFactory:oi,$templateCache:gn,$templateRequest:ui,$$testability:li,$timeout:fi,$window:$i,$$rAF:Yr,$$jqLite:qe,$$Map:We,$$cookieReader:bi})}]).info({angularVersion:"1.8.2"})}(b),b.module("ngLocale",[],["$provide",function(t){t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var n=0|t,r=function(t,e){var n=e;void 0===n&&(n=Math.min(function(t){var e=(t+="").indexOf(".");return-1==e?0:t.length-e-1}(t),3));var r=Math.pow(10,n);return{v:n,f:(t*r|0)%r}}(t,e);return 1==n&&0==r.v?"one":"other"}})}]),a((function(){!function(e,n){var r,i,o={};if(C(Et,(function(t){var n=t+"app";!r&&e.hasAttribute&&e.hasAttribute(n)&&(r=e,i=e.getAttribute(n))})),C(Et,(function(t){var n,o=t+"app";!r&&(n=e.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))})),r){if(!_t)return void t.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(t,e){var n,r,i=Et.length;for(r=0;r<i;++r)if(n=Et[r]+"strict-di",H(n=t.getAttribute(n)))return n;return null}(r),n(r,i?[i]:[],o)}}(t.document,kt)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},3536:function(t,e,n){n(5909),t.exports=angular},7780:function(t,e,n){var r;!function(i,o,a,s){"use strict";var u,l=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),f="function",h=Math.round,p=Math.abs,d=Date.now;function v(t,e,n){return setTimeout(x(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function $(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}u="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var y=$((function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===s)&&(t[r[i]]=e[r[i]]),i++;return t}),"extend","Use `assign`."),b=$((function(t,e){return y(t,e,!0)}),"merge","Use `assign`.");function w(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&u(r,n)}function x(t,e){return function(){return t.apply(e,arguments)}}function C(t,e){return typeof t==f?t.apply(e&&e[0]||s,e):t}function S(t,e){return t===s?e:t}function A(t,e,n){g(T(e),(function(e){t.addEventListener(e,n,!1)}))}function E(t,e,n){g(T(e),(function(e){t.removeEventListener(e,n,!1)}))}function _(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function k(t,e){return t.indexOf(e)>-1}function T(t){return t.trim().split(/\s+/g)}function O(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function D(t){return Array.prototype.slice.call(t,0)}function M(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];O(i,a)<0&&r.push(t[o]),i[o]=a,o++}return n&&(r=e?r.sort((function(t,n){return t[e]>n[e]})):r.sort()),r}function P(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<l.length;){if((r=(n=l[o])?n+i:e)in t)return r;o++}return s}var I=1;function R(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||i}var j="ontouchstart"in i,N=P(i,"PointerEvent")!==s,L=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),V="touch",U="mouse",q=25,H=1,F=2,z=4,B=8,W=1,G=2,Y=4,K=8,X=16,Z=G|Y,J=K|X,Q=Z|J,tt=["x","y"],et=["clientX","clientY"];function nt(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){C(t.options.enable,[t])&&n.handler(e)},this.init()}function rt(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&H&&r-i==0,a=e&(z|B)&&r-i==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=it(e)),i>1&&!n.firstMultiple?n.firstMultiple=it(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,u=a?a.center:o.center,l=e.center=ot(r);e.timeStamp=d(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=lt(u,l),e.distance=ut(u,l),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==H&&o.eventType!==z||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=st(e.deltaX,e.deltaY);var c,f,h=at(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=h.x,e.overallVelocityY=h.y,e.overallVelocity=p(h.x)>p(h.y)?h.x:h.y,e.scale=a?(c=a.pointers,ut((f=r)[0],f[1],et)/ut(c[0],c[1],et)):1,e.rotation=a?function(t,e){return lt(e[1],e[0],et)+lt(t[1],t[0],et)}(a.pointers,r):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,a=t.lastInterval||e,u=e.timeStamp-a.timeStamp;if(e.eventType!=B&&(u>q||a.velocity===s)){var l=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,f=at(u,l,c);r=f.x,i=f.y,n=p(f.x)>p(f.y)?f.x:f.y,o=st(l,c),t.lastInterval=e}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var v=t.element;_(e.srcEvent.target,v)&&(v=e.srcEvent.target),e.target=v}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function it(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:d(),pointers:e,center:ot(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ot(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:h(n/e),y:h(r/e)}}function at(t,e,n){return{x:e/t||0,y:n/t||0}}function st(t,e){return t===e?W:p(t)>=p(e)?t<0?G:Y:e<0?K:X}function ut(t,e,n){n||(n=tt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function lt(t,e,n){n||(n=tt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}nt.prototype={handler:function(){},init:function(){this.evEl&&A(this.element,this.evEl,this.domHandler),this.evTarget&&A(this.target,this.evTarget,this.domHandler),this.evWin&&A(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(R(this.element),this.evWin,this.domHandler)}};var ct={mousedown:H,mousemove:F,mouseup:z},ft="mousedown",ht="mousemove mouseup";function pt(){this.evEl=ft,this.evWin=ht,this.pressed=!1,nt.apply(this,arguments)}w(pt,nt,{handler:function(t){var e=ct[t.type];e&H&&0===t.button&&(this.pressed=!0),e&F&&1!==t.which&&(e=z),this.pressed&&(e&z&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:U,srcEvent:t}))}});var dt={pointerdown:H,pointermove:F,pointerup:z,pointercancel:B,pointerout:B},vt={2:V,3:"pen",4:U,5:"kinect"},mt="pointerdown",gt="pointermove pointerup pointercancel";function $t(){this.evEl=mt,this.evWin=gt,nt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(mt="MSPointerDown",gt="MSPointerMove MSPointerUp MSPointerCancel"),w($t,nt,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=dt[r],o=vt[t.pointerType]||t.pointerType,a=o==V,s=O(e,t.pointerId,"pointerId");i&H&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):i&(z|B)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var yt={touchstart:H,touchmove:F,touchend:z,touchcancel:B},bt="touchstart",wt="touchstart touchmove touchend touchcancel";function xt(){this.evTarget=bt,this.evWin=wt,this.started=!1,nt.apply(this,arguments)}function Ct(t,e){var n=D(t.touches),r=D(t.changedTouches);return e&(z|B)&&(n=M(n.concat(r),"identifier",!0)),[n,r]}w(xt,nt,{handler:function(t){var e=yt[t.type];if(e===H&&(this.started=!0),this.started){var n=Ct.call(this,t,e);e&(z|B)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:V,srcEvent:t})}}});var St={touchstart:H,touchmove:F,touchend:z,touchcancel:B},At="touchstart touchmove touchend touchcancel";function Et(){this.evTarget=At,this.targetIds={},nt.apply(this,arguments)}function _t(t,e){var n=D(t.touches),r=this.targetIds;if(e&(H|F)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,a=D(t.changedTouches),s=[],u=this.target;if(o=n.filter((function(t){return _(t.target,u)})),e===H)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<a.length;)r[a[i].identifier]&&s.push(a[i]),e&(z|B)&&delete r[a[i].identifier],i++;return s.length?[M(o.concat(s),"identifier",!0),s]:void 0}w(Et,nt,{handler:function(t){var e=St[t.type],n=_t.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:V,srcEvent:t})}});var kt=2500,Tt=25;function Ot(){nt.apply(this,arguments);var t=x(this.handler,this);this.touch=new Et(this.manager,t),this.mouse=new pt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Dt(t,e){t&H?(this.primaryTouch=e.changedPointers[0].identifier,Mt.call(this,e)):t&(z|B)&&Mt.call(this,e)}function Mt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)}),kt)}}function Pt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(e-i.x),a=Math.abs(n-i.y);if(o<=Tt&&a<=Tt)return!0}return!1}w(Ot,nt,{handler:function(t,e,n){var r=n.pointerType==V,i=n.pointerType==U;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(r)Dt.call(this,e,n);else if(i&&Pt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var It=P(c.style,"touchAction"),Rt=It!==s,jt="compute",Nt="auto",Lt="manipulation",Vt="none",Ut="pan-x",qt="pan-y",Ht=function(){if(!Rt)return!1;var t={},e=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||i.CSS.supports("touch-action",n)})),t}();function Ft(t,e){this.manager=t,this.set(e)}Ft.prototype={set:function(t){t==jt&&(t=this.compute()),Rt&&this.manager.element.style&&Ht[t]&&(this.manager.element.style[It]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return g(this.manager.recognizers,(function(e){C(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(k(t,Vt))return Vt;var e=k(t,Ut),n=k(t,qt);return e&&n?Vt:e||n?e?Ut:qt:k(t,Lt)?Lt:Nt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=k(r,Vt)&&!Ht[Vt],o=k(r,qt)&&!Ht[qt],a=k(r,Ut)&&!Ht[Ut];if(i){var s=1===t.pointers.length,u=t.distance<2,l=t.deltaTime<250;if(s&&u&&l)return}if(!a||!o)return i||o&&n&Z||a&&n&J?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var zt=1,Bt=2,Wt=4,Gt=8,Yt=Gt,Kt=16,Xt=32;function Zt(t){this.options=u({},this.defaults,t||{}),this.id=I++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=zt,this.simultaneous={},this.requireFail=[]}function Jt(t){return t&Kt?"cancel":t&Gt?"end":t&Wt?"move":t&Bt?"start":""}function Qt(t){return t==X?"down":t==K?"up":t==G?"left":t==Y?"right":""}function te(t,e){var n=e.manager;return n?n.get(t):t}function ee(){Zt.apply(this,arguments)}function ne(){ee.apply(this,arguments),this.pX=null,this.pY=null}function re(){ee.apply(this,arguments)}function ie(){Zt.apply(this,arguments),this._timer=null,this._input=null}function oe(){ee.apply(this,arguments)}function ae(){ee.apply(this,arguments)}function se(){Zt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ue(t,e){return(e=e||{}).recognizers=S(e.recognizers,ue.defaults.preset),new le(t,e)}function le(t,e){this.options=u({},ue.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(N?$t:L?Et:j?Ot:pt))(this,rt),this.touchAction=new Ft(this,this.options.touchAction),ce(this,!0),g(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function ce(t,e){var n,r=t.element;r.style&&(g(t.options.cssProps,(function(i,o){n=P(r.style,o),e?(t.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}Zt.prototype={defaults:{},set:function(t){return u(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(m(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=te(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return m(t,"dropRecognizeWith",this)||(t=te(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(m(t,"requireFailure",this))return this;var e=this.requireFail;return-1===O(e,t=te(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(m(t,"dropRequireFailure",this))return this;t=te(t,this);var e=O(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function r(n){e.manager.emit(n,t)}n<Gt&&r(e.options.event+Jt(n)),r(e.options.event),t.additionalEvent&&r(t.additionalEvent),n>=Gt&&r(e.options.event+Jt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Xt},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(Xt|zt)))return!1;t++}return!0},recognize:function(t){var e=u({},t);if(!C(this.options.enable,[this,e]))return this.reset(),void(this.state=Xt);this.state&(Yt|Kt|Xt)&&(this.state=zt),this.state=this.process(e),this.state&(Bt|Wt|Gt|Kt)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(ee,Zt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=e&(Bt|Wt),i=this.attrTest(t);return r&&(n&B||!i)?e|Kt:r||i?n&z?e|Gt:e&Bt?e|Wt:Bt:Xt}}),w(ne,ee,{defaults:{event:"pan",threshold:10,pointers:1,direction:Q},getTouchAction:function(){var t=this.options.direction,e=[];return t&Z&&e.push(qt),t&J&&e.push(Ut),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,a=t.deltaY;return i&e.direction||(e.direction&Z?(i=0===o?W:o<0?G:Y,n=o!=this.pX,r=Math.abs(t.deltaX)):(i=0===a?W:a<0?K:X,n=a!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return ee.prototype.attrTest.call(this,t)&&(this.state&Bt||!(this.state&Bt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Qt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(re,ee,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Vt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Bt)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),w(ie,Zt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Nt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!n||t.eventType&(z|B)&&!i)this.reset();else if(t.eventType&H)this.reset(),this._timer=v((function(){this.state=Yt,this.tryEmit()}),e.time,this);else if(t.eventType&z)return Yt;return Xt},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Yt&&(t&&t.eventType&z?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}}),w(oe,ee,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Vt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Bt)}}),w(ae,ee,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Z|J,pointers:1},getTouchAction:function(){return ne.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Z|J)?e=t.overallVelocity:n&Z?e=t.overallVelocityX:n&J&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&t.eventType&z},emit:function(t){var e=Qt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(se,Zt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Lt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&H&&0===this.count)return this.failTimeout();if(r&&i&&n){if(t.eventType!=z)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||ut(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=v((function(){this.state=Yt,this.tryEmit()}),e.interval,this),Bt):Yt}return Xt},failTimeout:function(){return this._timer=v((function(){this.state=Xt}),this.options.interval,this),Xt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Yt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ue.VERSION="2.0.7",ue.defaults={domEvents:!1,touchAction:jt,enable:!0,inputTarget:null,inputClass:null,preset:[[oe,{enable:!1}],[re,{enable:!1},["rotate"]],[ae,{direction:Z}],[ne,{direction:Z},["swipe"]],[se],[se,{event:"doubletap",taps:2},["tap"]],[ie]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},le.prototype={set:function(t){return u(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&Yt)&&(i=e.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===e.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&n.state&(Bt|Wt|Gt)&&(i=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Zt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(m(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(m(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=O(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return g(T(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==s){var n=this.handlers;return g(T(t),(function(t){e?n[t]&&n[t].splice(O(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&ce(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(ue,{INPUT_START:H,INPUT_MOVE:F,INPUT_END:z,INPUT_CANCEL:B,STATE_POSSIBLE:zt,STATE_BEGAN:Bt,STATE_CHANGED:Wt,STATE_ENDED:Gt,STATE_RECOGNIZED:Yt,STATE_CANCELLED:Kt,STATE_FAILED:Xt,DIRECTION_NONE:W,DIRECTION_LEFT:G,DIRECTION_RIGHT:Y,DIRECTION_UP:K,DIRECTION_DOWN:X,DIRECTION_HORIZONTAL:Z,DIRECTION_VERTICAL:J,DIRECTION_ALL:Q,Manager:le,Input:nt,TouchAction:Ft,TouchInput:Et,MouseInput:pt,PointerEventInput:$t,TouchMouseInput:Ot,SingleTouchInput:xt,Recognizer:Zt,AttrRecognizer:ee,Tap:se,Pan:ne,Swipe:ae,Pinch:re,Rotate:oe,Press:ie,on:A,off:E,each:g,merge:b,extend:y,assign:u,inherit:w,bindFn:x,prefixed:P}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=ue,(r=function(){return ue}.call(e,n,e,t))===s||(t.exports=r)}(window,document)},3512:function(t,e,n){var r,i,o;i=[n(9567)],r=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,r,i;return e&&e.requirejs||(e?r=e:e={},function(t){var e,o,a,s,u={},l={},c={},f={},h=Object.prototype.hasOwnProperty,p=[].slice,d=/\.js$/;function v(t,e){return h.call(t,e)}function m(t,e){var n,r,i,o,a,s,u,l,f,h,p,v=e&&e.split("/"),m=c.map,g=m&&m["*"]||{};if(t){for(a=(t=t.split("/")).length-1,c.nodeIdCompat&&d.test(t[a])&&(t[a]=t[a].replace(d,"")),"."===t[0].charAt(0)&&v&&(t=v.slice(0,v.length-1).concat(t)),f=0;f<t.length;f++)if("."===(p=t[f]))t.splice(f,1),f-=1;else if(".."===p){if(0===f||1===f&&".."===t[2]||".."===t[f-1])continue;f>0&&(t.splice(f-1,2),f-=2)}t=t.join("/")}if((v||g)&&m){for(f=(n=t.split("/")).length;f>0;f-=1){if(r=n.slice(0,f).join("/"),v)for(h=v.length;h>0;h-=1)if((i=m[v.slice(0,h).join("/")])&&(i=i[r])){o=i,s=f;break}if(o)break;!u&&g&&g[r]&&(u=g[r],l=f)}!o&&u&&(o=u,s=l),o&&(n.splice(0,s,o),t=n.join("/"))}return t}function g(e,n){return function(){var r=p.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),o.apply(t,r.concat([e,n]))}}function $(t){return function(e){u[t]=e}}function y(n){if(v(l,n)){var r=l[n];delete l[n],f[n]=!0,e.apply(t,r)}if(!v(u,n)&&!v(f,n))throw new Error("No "+n);return u[n]}function b(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function w(t){return t?b(t):[]}function x(t){return function(){return c&&c.config&&c.config[t]||{}}}a=function(t,e){var n,r,i=b(t),o=i[0],a=e[1];return t=i[1],o&&(n=y(o=m(o,a))),o?t=n&&n.normalize?n.normalize(t,(r=a,function(t){return m(t,r)})):m(t,a):(o=(i=b(t=m(t,a)))[0],t=i[1],o&&(n=y(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},s={require:function(t){return g(t)},exports:function(t){var e=u[t];return void 0!==e?e:u[t]={}},module:function(t){return{id:t,uri:"",exports:u[t],config:x(t)}}},e=function(e,n,r,i){var o,c,h,p,d,m,b,x=[],C=typeof r;if(m=w(i=i||e),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,d=0;d<n.length;d+=1)if("require"===(c=(p=a(n[d],m)).f))x[d]=s.require(e);else if("exports"===c)x[d]=s.exports(e),b=!0;else if("module"===c)o=x[d]=s.module(e);else if(v(u,c)||v(l,c)||v(f,c))x[d]=y(c);else{if(!p.p)throw new Error(e+" missing "+c);p.p.load(p.n,g(i,!0),$(c),{}),x[d]=u[c]}h=r?r.apply(u[e],x):void 0,e&&(o&&o.exports!==t&&o.exports!==u[e]?u[e]=o.exports:h===t&&b||(u[e]=h))}else e&&(u[e]=r)},n=r=o=function(n,r,i,u,l){if("string"==typeof n)return s[n]?s[n](r):y(a(n,w(r)).f);if(!n.splice){if((c=n).deps&&o(c.deps,c.callback),!r)return;r.splice?(n=r,r=i,i=null):n=t}return r=r||function(){},"function"==typeof i&&(i=u,u=l),u?e(t,n,r,i):setTimeout((function(){e(t,n,r,i)}),4),o},o.config=function(t){return o(t)},n._defined=u,(i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),v(u,t)||v(l,t)||(l[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=r,e.define=i),e.define("almond",(function(){})),e.define("jquery",[],(function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e})),e.define("select2/utils",["jquery"],(function(t){var e={};function n(t){var e=t.prototype,n=[];for(var r in e)"function"==typeof e[r]&&"constructor"!==r&&n.push(r);return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function r(){this.constructor=t}for(var i in e)n.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},e.Decorate=function(t,e){var r=n(e),i=n(t);function o(){var n=Array.prototype.unshift,r=e.prototype.constructor.length,i=t.prototype.constructor;r>0&&(n.call(arguments,t.prototype.constructor),i=e.prototype.constructor),i.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var a=0;a<i.length;a++){var s=i[a];o.prototype[s]=t.prototype[s]}for(var u=function(t){var n=function(){};t in o.prototype&&(n=o.prototype[t]);var r=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},l=0;l<r.length;l++){var c=r[l];o.prototype[c]=u(c)}return o};var r=function(){this.listeners={}};r.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},r.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].apply(this,e)},e.Observable=r,e.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),r=t;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=t[e]),r=r[o]}delete t[e]}}return t},e.hasScroll=function(e,n){var r=t(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth)},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var r=t();t.map(n,(function(t){r=r.add(t)})),n=r}e.append(n)},e.__cache={};var i=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e},e.StoreData=function(t,n,r){var i=e.GetUniqueElementId(t);e.__cache[i]||(e.__cache[i]={}),e.__cache[i][n]=r},e.GetData=function(n,r){var i=e.GetUniqueElementId(n);return r?e.__cache[i]&&null!=e.__cache[i][r]?e.__cache[i][r]:t(n).data(r):e.__cache[i]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e})),e.define("select2/results",["jquery","./utils"],(function(t,e){function n(t,e,r){this.$element=t,this.data=r,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);r.append(n(i(e.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var r=t.results[n],i=this.option(r);e.push(i)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(r){var i=t.map(r,(function(t){return t.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=t(this),r=e.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&t.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var s=i[a];r.setAttribute(a,s)}if(n.children){var u=t(r),l=document.createElement("strong");l.className="select2-results__group",t(l),this.template(n,l);for(var c=[],f=0;f<n.children.length;f++){var h=n.children[f],p=this.option(h);c.push(p)}var d=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(c),u.append(l),u.append(d)}else this.template(n,r);return e.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",(function(t){i.clear(),i.append(t.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())})),n.on("results:append",(function(t){i.append(t.data),n.isOpen()&&i.setClasses()})),n.on("query",(function(t){i.hideMessages(),i.showLoading(t)})),n.on("select",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("open",(function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()})),n.on("close",(function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")})),n.on("results:select",(function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}})),n.on("results:previous",(function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var r=n-1;0===t.length&&(r=0);var o=e.eq(r);o.trigger("mouseenter");var a=i.$results.offset().top,s=o.offset().top,u=i.$results.scrollTop()+(s-a);0===r?i.$results.scrollTop(0):s-a<0&&i.$results.scrollTop(u)}})),n.on("results:next",(function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var r=e.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),s=i.$results.scrollTop()+a-o;0===n?i.$results.scrollTop(0):a>o&&i.$results.scrollTop(s)}})),n.on("results:focus",(function(t){t.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(t){i.displayMessage(t)})),t.fn.mousewheel&&this.$results.on("mousewheel",(function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,r=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var r=t(this),o=e.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var r=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:t(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,r=t.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(e,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):t(n).append(o)},n})),e.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),e.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var n=t('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(t,e){var r=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",(function(t){r.trigger("focus",t)})),this.$selection.on("blur",(function(t){r._handleBlur(t)})),this.$selection.on("keydown",(function(t){r.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()})),t.on("results:focus",(function(t){r.$selection.attr("aria-activedescendant",t.data._resultId)})),t.on("selection:update",(function(t){r.update(t.data)})),t.on("open",(function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(t)})),t.on("close",(function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(t)})),t.on("enable",(function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")})),t.on("disable",(function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")}))},r.prototype._handleBlur=function(e){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)}),1)},r.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,(function(n){var r=t(n.target).closest(".select2");t(".select2.select2-container--open").each((function(){this!=r[0]&&e.GetData(this,"element").select2("close")}))}))},r.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r})),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",(function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})})),this.$selection.on("focus",(function(t){})),this.$selection.on("blur",(function(t){})),t.on("focus",(function(e){t.isOpen()||n.$selection.trigger("focus")}))},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(e,n);n.empty().append(r);var i=e.title||e.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i})),e.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,n){function r(t,e){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(e,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(t){o.trigger("toggle",{originalEvent:t})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!o.isDisabled()){var r=t(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:e,data:i})}}))},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=this.selectionContainer(),a=this.display(i,o);o.append(a);var s=i.title||i.text;s&&o.attr("title",s),n.StoreData(o[0],"data",i),e.push(o)}var u=this.$selection.find(".select2-selection__rendered");n.appendMany(u,e)}},r})),e.define("select2/selection/placeholder",["../utils"],(function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e})),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,n){function r(){}return r.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(t){r._handleClear(t)})),e.on("keypress",(function(t){r._handleKeyboardClear(t,e)}))},r.prototype._handleClear=function(t,e){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){e.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:i};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s<i.length;s++)if(a={data:i[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(t,n,r){r.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},r.prototype.update=function(e,r){if(e.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+i()+'">&times;</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r})),e.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,n){function r(t,e,n){t.call(this,e,n)}return r.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=e.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(t,r,i){var o=this,a=r.id+"-results";t.call(this,r,i),r.on("open",(function(){o.$search.attr("aria-controls",a),o.$search.trigger("focus")})),r.on("close",(function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),r.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),r.on("disable",(function(){o.$search.prop("disabled",!0)})),r.on("focus",(function(t){o.$search.trigger("focus")})),r.on("results:focus",(function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(t){o.trigger("focus",t)})),this.$selection.on("focusout",".select2-search--inline",(function(t){o._handleBlur(t)})),this.$selection.on("keydown",".select2-search--inline",(function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=e.GetData(r[0],"data");o.searchRemoveChoice(i),t.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(t){o.$search.val()&&t.stopPropagation()}));var s=document.documentMode,u=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){u?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(u&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}}))},r.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},r.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var t;t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},r})),e.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}return e.prototype.bind=function(e,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,r),n.on("*",(function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var r=t.Event("select2:"+e,{params:n});i.$element.trigger(r),-1!==t.inArray(e,a)&&(n.prevented=r.isDefaultPrevented())}}))},e})),e.define("select2/translation",["jquery","require"],(function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var r=e(t);n._cache[t]=r}return new n(n._cache[t])},n})),e.define("select2/diacritics",[],(function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}})),e.define("select2/data/base",["../utils"],(function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var r=e.id+"-result-";return r+=t.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+t.generateChars(4),r},e})),e.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,t),r.prototype.current=function(t){var e=[],r=this;this.$element.find(":selected").each((function(){var t=n(this),i=r.item(t);e.push(i)})),t(e)},r.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(r){var i=[];(t=[t]).push.apply(t,r);for(var o=0;o<t.length;o++){var a=t[o].id;-1===n.inArray(a,i)&&i.push(a)}e.$element.val(i),e.$element.trigger("input").trigger("change")}));else{var r=t.id;this.$element.val(r),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(r){for(var i=[],o=0;o<r.length;o++){var a=r[o].id;a!==t.id&&-1===n.inArray(a,i)&&i.push(a)}e.$element.val(i),e.$element.trigger("input").trigger("change")}))}},r.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",(function(t){n.select(t.data)})),t.on("unselect",(function(t){n.unselect(t.data)}))},r.prototype.destroy=function(){this.$element.find("*").each((function(){e.RemoveData(this)}))},r.prototype.query=function(t,e){var r=[],i=this;this.$element.children().each((function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=i.item(e),a=i.matches(t,o);null!==a&&r.push(a)}})),e({results:r})},r.prototype.addOptions=function(t){e.appendMany(this.$element,t)},r.prototype.option=function(t){var r;t.children?(r=document.createElement("optgroup")).label=t.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=t.text:r.innerText=t.text,void 0!==t.id&&(r.value=t.id),t.disabled&&(r.disabled=!0),t.selected&&(r.selected=!0),t.title&&(r.title=t.title);var i=n(r),o=this._normalizeItem(t);return o.element=r,e.StoreData(r,"data",o),i},r.prototype.item=function(t){var r={};if(null!=(r=e.GetData(t[0],"data")))return r;if(t.is("option"))r={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){r={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),o=[],a=0;a<i.length;a++){var s=n(i[a]),u=this.item(s);o.push(u)}r.children=o}return(r=this._normalizeItem(r)).element=t[0],e.StoreData(t[0],"data",r),r},r.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},r.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},r})),e.define("select2/data/array",["./select","../utils","jquery"],(function(t,e,n){function r(t,e){this._dataToConvert=e.get("data")||[],r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype.bind=function(t,e){r.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(t){var e=this.$element.find("option").filter((function(e,n){return n.value==t.id.toString()}));0===e.length&&(e=this.option(t),this.addOptions(e)),r.__super__.select.call(this,t)},r.prototype.convertToOptions=function(t){var r=this,i=this.$element.find("option"),o=i.map((function(){return r.item(n(this)).id})).get(),a=[];function s(t){return function(){return n(this).val()==t.id}}for(var u=0;u<t.length;u++){var l=this._normalizeItem(t[u]);if(n.inArray(l.id,o)>=0){var c=i.filter(s(l)),f=this.item(c),h=n.extend(!0,{},l,f),p=this.option(h);c.replaceWith(p)}else{var d=this.option(l);if(l.children){var v=this.convertToOptions(l.children);e.appendMany(d,v)}a.push(d)}}return a},r})),e.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,n){function r(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,r){var i=n.ajax(t);return i.then(e),i.fail(r),i}};return n.extend({},e,t,!0)},r.prototype.processResults=function(t){return t},r.prototype.query=function(t,e){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,(function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)}),(function(){(!("status"in o)||0!==o.status&&"0"!==o.status)&&r.trigger("results:message",{message:"errorLoading"})}));r._request=o}"function"==typeof i.url&&(i.url=i.url.call(this.$element,t)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r})),e.define("select2/data/tags",["jquery"],(function(t){function e(e,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var a=r.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,r),t.isArray(i))for(var s=0;s<i.length;s++){var u=i[s],l=this._normalizeItem(u),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var r=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,(function t(i,o){for(var a=i.results,s=0;s<a.length;s++){var u=a[s],l=null!=u.children&&!t({results:u.children},!0);if((u.text||"").toUpperCase()===(e.term||"").toUpperCase()||l)return!o&&(i.data=a,void n(i))}if(o)return!0;var c=r.createTag(e);if(null!=c){var f=r.option(c);f.attr("data-select2-tag",!0),r.addOptions([f]),r.insertTag(a,c)}i.results=a,n(i)})):t.call(this,e,n)},e.prototype.createTag=function(e,n){var r=t.trim(n.term);return""===r?null:{id:r,text:r}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each((function(){this.selected||t(this).remove()}))},e})),e.define("select2/data/tokenizer",["jquery"],(function(t){function e(t,e,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,r){var i=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,(function(e){var n=i._normalizeItem(e);if(!i.$element.find("option").filter((function(){return t(this).val()===n.id})).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}!function(t){i.trigger("select",{data:t})}(n)}));o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,r)},e.prototype.tokenizer=function(e,n,r,i){for(var o=r.get("tokenSeparators")||[],a=n.term,s=0,u=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var l=a[s];if(-1!==t.inArray(l,o)){var c=a.substr(0,s),f=u(t.extend({},n,{term:c}));null!=f?(i(f),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e})),e.define("select2/data/minimumInputLength",[],(function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumInputLength",[],(function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",(function(){r._checkIfMaximumSelected()}))},t.prototype.query=function(t,e,n){var r=this;this._checkIfMaximumSelected((function(){t.call(r,e,n)}))},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current((function(t){var r=null!=t?t.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()}))},t})),e.define("select2/dropdown",["jquery","./utils"],(function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),e.define("select2/dropdown/search",["jquery","../utils"],(function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),r=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(e,n,r){var i=this,o=n.id+"-results";e.call(this,n,r),this.$search.on("keydown",(function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()})),this.$search.on("input",(function(e){t(this).off("keyup")})),this.$search.on("keyup input",(function(t){i.handleSearch(t)})),n.on("open",(function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout((function(){i.$search.trigger("focus")}),0)})),n.on("close",(function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||i.$search.trigger("focus")})),n.on("results:all",(function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n})),e.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,r)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),r=e.length-1;r>=0;r--){var i=e[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},t})),e.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,n,r){this.lastParams={},t.call(this,e,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("query",(function(t){r.lastParams=t,r.loading=!0})),e.on("query:append",(function(t){r.lastParams=t,r.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e})),e.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function n(e,n,r){this.$dropdownParent=t(r.get("dropdownParent")||document.body),e.call(this,n,r)}return n.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("open",(function(){r._showDropdown(),r._attachPositioningHandler(e),r._bindContainerResultHandlers(e)})),e.on("close",(function(){r._hideDropdown(),r._detachPositioningHandler(e)})),this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),r=e.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,a="resize.select2."+r.id,s="orientationchange.select2."+r.id,u=this.$container.parents().filter(e.hasScroll);u.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})})),u.on(o,(function(n){var r=e.GetData(this,"select2-scroll-position");t(this).scrollTop(r.y)})),t(window).on(o+" "+a+" "+s,(function(t){i._positionDropdown(),i._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,a="orientationchange.select2."+r.id;this.$container.parents().filter(e.hasScroll).off(i),t(window).off(i+" "+o+" "+a)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),u=e.scrollTop(),l=e.scrollTop()+e.height(),c=u<o.top-s,f=l>o.bottom+s,h={left:o.left,top:a.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var d={top:0,left:0};(t.contains(document.body,p[0])||p[0].isConnected)&&(d=p.offset()),h.top-=d.top,h.left-=d.left,n||r||(i="below"),f||!c||n?!c&&f&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(h.top=a.top-d.top-s),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),e.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(e){for(var n=0,r=0;r<e.length;r++){var i=e[r];i.children?n+=t(i.children):n++}return n}function e(t,e,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,r)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e})),e.define("select2/dropdown/selectOnClose",["../utils"],(function(t){function e(){}return e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("close",(function(t){r._handleSelectOnClose(t)}))},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=t.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e})),e.define("select2/dropdown/closeOnSelect",[],(function(){function t(){}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",(function(t){r._selectTriggered(t)})),e.on("unselect",(function(t){r._selectTriggered(t)}))},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t})),e.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(t,e,n,r,i,o,a,s,u,l,c,f,h,p,d,v,m,g,$,y,b,w,x,C,S,A,E,_,k){function T(){this.reset()}return T.prototype.apply=function(c){if(null==(c=t.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=d:null!=c.data?c.dataAdapter=p:c.dataAdapter=h,c.minimumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,g)),c.maximumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,$)),c.maximumSelectionLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,y)),c.tags&&(c.dataAdapter=l.Decorate(c.dataAdapter,v)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=l.Decorate(c.dataAdapter,m)),null!=c.query){var f=e(c.amdBase+"compat/query");c.dataAdapter=l.Decorate(c.dataAdapter,f)}if(null!=c.initSelection){var k=e(c.amdBase+"compat/initSelection");c.dataAdapter=l.Decorate(c.dataAdapter,k)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,x)),c.selectOnClose&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,E))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=b;else{var T=l.Decorate(b,w);c.dropdownAdapter=T}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,A)),c.closeOnSelect&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,_)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var O=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=l.Decorate(c.dropdownAdapter,O)}c.dropdownAdapter=l.Decorate(c.dropdownAdapter,S)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=i:c.selectionAdapter=r,null!=c.placeholder&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,a)),c.multiple&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,s)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var D=e(c.amdBase+"compat/containerCss");c.selectionAdapter=l.Decorate(c.selectionAdapter,D)}c.selectionAdapter=l.Decorate(c.selectionAdapter,u)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var M=[],P=0;P<c.language.length;P++){var I=c.language[P];-1===M.indexOf(I)&&M.push(I)}return c.language=M,c.translations=this._processTranslations(c.language,c.debug),c},T.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,(function(t){return f[t]||t}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:function n(r,i){if(""===t.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=t.extend(!0,{},i),a=i.children.length-1;a>=0;a--)null==n(r,i.children[a])&&o.children.splice(a,1);return o.children.length>0?o:n(r,o)}var s=e(i.text).toUpperCase(),u=e(r.term).toUpperCase();return s.indexOf(u)>-1?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},T.prototype.applyFromElement=function(t,e){var n=t.language,r=this.defaults.language,i=e.prop("lang"),o=e.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return t.language=a,t},T.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-")[0];r.push(o)}return r},T.prototype._processTranslations=function(e,n){for(var r=new c,i=0;i<e.length;i++){var o=new c,a=e[i];if("string"==typeof a)try{o=c.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a,o=c.loadPath(a)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(a)?new c(a):a;r.extend(o)}return r},T.prototype.set=function(e,n){var r={};r[t.camelCase(e)]=n;var i=l._convertData(r);t.extend(!0,this.defaults,i)},new T})),e.define("select2/options",["require","jquery","./defaults","./utils"],(function(t,e,n,r){function i(e,i){if(this.options=e,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),r.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(t[0],"data",r.GetData(t[0],"select2Tags")),r.StoreData(t[0],"tags",!0)),r.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",r.GetData(t[0],"ajaxUrl")),r.StoreData(t[0],"ajax-Url",r.GetData(t[0],"ajaxUrl")));var i={};function o(t,e){return e.toUpperCase()}for(var a=0;a<t[0].attributes.length;a++){var s=t[0].attributes[a].name,u="data-";if(s.substr(0,u.length)==u){var l=s.substring(u.length),c=r.GetData(t[0],l);i[l.replace(/-([a-z])/g,o)]=c}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(i=e.extend(!0,{},t[0].dataset,i));var f=e.extend(!0,{},r.GetData(t[0]),i);for(var h in f=r._convertData(f))e.inArray(h,n)>-1||(e.isPlainObject(this.options[h])?e.extend(this.options[h],f[h]):this.options[h]=f[h]);return this},i.prototype.get=function(t){return this.options[t]},i.prototype.set=function(t,e){this.options[t]=e},i})),e.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,n,r){var i=function(t,r){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),r=r||{},this.options=new e(r,t),i.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var u=this.options.get("selectionAdapter");this.selection=new u(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var f=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(t){f.trigger("selection:update",{data:t})})),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},i.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var r=this._resolveWidth(t,"style");return null!=r?r:this._resolveWidth(t,"element")}if("element"==e){var i=t.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,u=a.length;s<u;s+=1){var l=a[s].replace(/\s/g,"").match(n);if(null!==l&&l.length>=1)return l[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.select2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e((function(e){t._syncA(),t._syncS(null,e)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(r,i){-1===t.inArray(r,n)&&e.trigger(r,i)}))},i.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container.addClass("select2-container--open")})),this.on("close",(function(){t.$container.removeClass("select2-container--open")})),this.on("enable",(function(){t.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){t.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){t.$container.removeClass("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(n){t.trigger("results:all",{data:n,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(n){t.trigger("results:append",{data:n,query:e})}))})),this.on("keypress",(function(e){var n=e.which;t.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&e.altKey?(t.close(e),e.preventDefault()):n===r.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===r.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===r.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===r.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&e.altKey)&&(t.open(),e.preventDefault())}))},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._isChangeMutation=function(e,n){var r=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(r=!0);else n.removedNodes&&n.removedNodes.length>0?r=!0:t.isArray(n)&&t.each(n,(function(t,e){if(i._isChangeMutation(t,e))return r=!0,!1}));else r=!0;return r}},i.prototype._syncSubtree=function(t,e){var n=this._isChangeMutation(t,e),r=this;n&&this.dataAdapter.current((function(t){r.trigger("selection:update",{data:t})}))},i.prototype.trigger=function(t,e){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in r){var o=r[t],a={prevented:!1,name:t,args:e};if(n.call(this,o,a),a.prevented)return void(e.prevented=!0)}n.call(this,t,e)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},i.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current((function(e){t=e})),t},i.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,(function(t){return t.toString()}))),this.$element.val(n).trigger("input").trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},i})),e.define("jquery-mousewheel",["jquery"],(function(t){return t})),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,n,r,i){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each((function(){var r=t.extend(!0,{},e);new n(t(this),r)})),this;if("string"==typeof e){var r,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=i.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),r=t[e].apply(t,a)})),t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=r),n})),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},void 0===(o=r.apply(e,i))||(t.exports=o)},867:function(t,e,n){var r,i,o;!function(a){"use strict";i=[n(9567)],r=function(t,e){var n={beforeShow:c,move:c,change:c,show:c,hide:c,color:!1,flat:!1,showInput:!1,allowEmpty:!1,showButtons:!0,clickoutFiresChange:!0,showInitial:!1,showPalette:!1,showPaletteOnly:!1,hideAfterPaletteSelect:!1,togglePaletteOnly:!1,showSelectionPalette:!0,localStorageKey:!1,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:!1,className:"",containerClassName:"",replacerClassName:"",showAlpha:!1,theme:"sp-light",palette:[["#ffffff","#000000","#ff0000","#ff8000","#ffff00","#008000","#0000ff","#4b0082","#9400d3"]],selectionPalette:[],disabled:!1,offset:null},r=[],i=!!/msie/i.exec(window.navigator.userAgent),o=function(){function t(t,e){return!!~(""+t).indexOf(e)}var e=document.createElement("div").style;return e.cssText="background-color:rgba(0,0,0,.5)",t(e.backgroundColor,"rgba")||t(e.backgroundColor,"hsla")}(),a=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>&#9660;</div>","</div>"].join(""),s=function(){var t="";if(i)for(var e=1;e<=6;e++)t+="<div class='sp-"+e+"'></div>";return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","<div class='sp-palette-button-container sp-cf'>","<button type='button' class='sp-palette-toggle'></button>","</div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",t,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false'  />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<a class='sp-cancel' href='#'></a>","<button type='button' class='sp-choose'></button>","</div>","</div>","</div>"].join("")}();function u(e,n,r,i){for(var a=[],s=0;s<e.length;s++){var u=e[s];if(u){var l=tinycolor(u),c=l.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";c+=tinycolor.equals(n,u)?" sp-thumb-active":"";var f=l.toString(i.preferredFormat||"rgb"),h=o?"background-color:"+l.toRgbString():"filter:"+l.toFilter();a.push('<span title="'+f+'" data-color="'+l.toRgbString()+'" class="'+c+'"><span class="sp-thumb-inner" style="'+h+';"></span></span>')}else{a.push(t("<div />").append(t('<span data-color="" style="background-color:transparent;" class="sp-clear-display"></span>').attr("title",i.noColorSelectedText)).html())}}return"<div class='sp-cf "+r+"'>"+a.join("")+"</div>"}function l(l,c){var v,m,g,$,y=function(e,r){var i=t.extend({},n,e);return i.callbacks={move:h(i.move,r),change:h(i.change,r),show:h(i.show,r),hide:h(i.hide,r),beforeShow:h(i.beforeShow,r)},i}(c,l),b=y.flat,w=y.showSelectionPalette,x=y.localStorageKey,C=y.theme,S=y.callbacks,A=(v=Ft,m=10,function(){var t=this,e=arguments,n=function(){$=null,v.apply(t,e)};g&&clearTimeout($),!g&&$||($=setTimeout(n,m))}),E=!1,_=!1,k=0,T=0,O=0,D=0,M=0,P=0,I=0,R=0,j=0,N=0,L=1,V=[],U=[],q={},H=y.selectionPalette.slice(0),F=y.maxSelectionSize,z="sp-dragging",B=null,W=l.ownerDocument,G=(W.body,t(l)),Y=!1,K=t(s,W).addClass(C),X=K.find(".sp-picker-container"),Z=K.find(".sp-color"),J=K.find(".sp-dragger"),Q=K.find(".sp-hue"),tt=K.find(".sp-slider"),et=K.find(".sp-alpha-inner"),nt=K.find(".sp-alpha"),rt=K.find(".sp-alpha-handle"),it=K.find(".sp-input"),ot=K.find(".sp-palette"),at=K.find(".sp-initial"),st=K.find(".sp-cancel"),ut=K.find(".sp-clear"),lt=K.find(".sp-choose"),ct=K.find(".sp-palette-toggle"),ft=G.is("input"),ht=ft&&"color"===G.attr("type")&&d(),pt=ft&&!b,dt=pt?t(a).addClass(C).addClass(y.className).addClass(y.replacerClassName):t([]),vt=pt?dt:G,mt=dt.find(".sp-preview-inner"),gt=y.color||ft&&G.val(),$t=!1,yt=y.preferredFormat,bt=!y.showButtons||y.clickoutFiresChange,wt=!gt,xt=y.allowEmpty&&!ht;function Ct(){if(y.showPaletteOnly&&(y.showPalette=!0),ct.text(y.showPaletteOnly?y.togglePaletteMoreText:y.togglePaletteLessText),y.palette){V=y.palette.slice(0),U=t.isArray(V[0])?V:[V],q={};for(var e=0;e<U.length;e++)for(var n=0;n<U[e].length;n++){var r=tinycolor(U[e][n]).toRgbString();q[r]=!0}}K.toggleClass("sp-flat",b),K.toggleClass("sp-input-disabled",!y.showInput),K.toggleClass("sp-alpha-enabled",y.showAlpha),K.toggleClass("sp-clear-enabled",xt),K.toggleClass("sp-buttons-disabled",!y.showButtons),K.toggleClass("sp-palette-buttons-disabled",!y.togglePaletteOnly),K.toggleClass("sp-palette-disabled",!y.showPalette),K.toggleClass("sp-palette-only",y.showPaletteOnly),K.toggleClass("sp-initial-disabled",!y.showInitial),K.addClass(y.className).addClass(y.containerClassName),Ft()}function St(){if(x&&window.localStorage){try{var e=window.localStorage[x].split(",#");e.length>1&&(delete window.localStorage[x],t.each(e,(function(t,e){At(e)})))}catch(t){}try{H=window.localStorage[x].split(";")}catch(t){}}}function At(e){if(w){var n=tinycolor(e).toRgbString();if(!q[n]&&-1===t.inArray(n,H))for(H.push(n);H.length>F;)H.shift();if(x&&window.localStorage)try{window.localStorage[x]=H.join(";")}catch(t){}}}function Et(){var e=Lt(),n=t.map(U,(function(t,n){return u(t,e,"sp-palette-row sp-palette-row-"+n,y)}));St(),H&&n.push(u(function(){var t=[];if(y.showPalette)for(var e=0;e<H.length;e++){var n=tinycolor(H[e]).toRgbString();q[n]||t.push(H[e])}return t.reverse().slice(0,y.maxSelectionSize)}(),e,"sp-palette-row sp-palette-row-selection",y)),ot.html(n.join(""))}function _t(){if(y.showInitial){var t=$t,e=Lt();at.html(u([t,e],e,"sp-palette-row-initial",y))}}function kt(){(T<=0||k<=0||D<=0)&&Ft(),_=!0,K.addClass(z),B=null,G.trigger("dragstart.spectrum",[Lt()])}function Tt(){_=!1,K.removeClass(z),G.trigger("dragstop.spectrum",[Lt()])}function Ot(){var t=it.val();if(null!==t&&""!==t||!xt){var e=tinycolor(t);e.isValid()?(Nt(e),Vt(),Ht()):it.addClass("sp-validation-error")}else Nt(null),Vt(),Ht()}function Dt(){E?Rt():Mt()}function Mt(){var e=t.Event("beforeShow.spectrum");E?Ft():(G.trigger(e,[Lt()]),!1===S.beforeShow(Lt())||e.isDefaultPrevented()||(function(){for(var t=0;t<r.length;t++)r[t]&&r[t].hide()}(),E=!0,t(W).on("keydown.spectrum",Pt),t(W).on("click.spectrum",It),t(window).on("resize.spectrum",A),dt.addClass("sp-active"),K.removeClass("sp-hidden"),Ft(),Ut(),$t=Lt(),_t(),S.show($t),G.trigger("show.spectrum",[$t])))}function Pt(t){27===t.keyCode&&Rt()}function It(t){2!=t.button&&(_||(bt?Ht(!0):jt(),Rt()))}function Rt(){E&&!b&&(E=!1,t(W).off("keydown.spectrum",Pt),t(W).off("click.spectrum",It),t(window).off("resize.spectrum",A),dt.removeClass("sp-active"),K.addClass("sp-hidden"),S.hide(Lt()),G.trigger("hide.spectrum",[Lt()]))}function jt(){Nt($t,!0),Ht(!0)}function Nt(t,e){var n,r;tinycolor.equals(t,Lt())?Ut():(!t&&xt?wt=!0:(wt=!1,r=(n=tinycolor(t)).toHsv(),R=r.h%360/360,j=r.s,N=r.v,L=r.a),Ut(),n&&n.isValid()&&!e&&(yt=y.preferredFormat||n.getFormat()))}function Lt(t){return t=t||{},xt&&wt?null:tinycolor.fromRatio({h:R,s:j,v:N,a:Math.round(1e3*L)/1e3},{format:t.format||yt})}function Vt(){Ut(),S.move(Lt()),G.trigger("move.spectrum",[Lt()])}function Ut(){it.removeClass("sp-validation-error"),qt();var t=tinycolor.fromRatio({h:R,s:1,v:1});Z.css("background-color",t.toHexString());var e=yt;L<1&&(0!==L||"name"!==e)&&("hex"!==e&&"hex3"!==e&&"hex6"!==e&&"name"!==e||(e="rgb"));var n=Lt({format:e}),r="";if(mt.removeClass("sp-clear-display"),mt.css("background-color","transparent"),!n&&xt)mt.addClass("sp-clear-display");else{var a=n.toHexString(),s=n.toRgbString();if(o||1===n.alpha?mt.css("background-color",s):(mt.css("background-color","transparent"),mt.css("filter",n.toFilter())),y.showAlpha){var u=n.toRgb();u.a=0;var l=tinycolor(u).toRgbString(),c="linear-gradient(left, "+l+", "+a+")";i?et.css("filter",tinycolor(l).toFilter({gradientType:1},a)):(et.css("background","-webkit-"+c),et.css("background","-moz-"+c),et.css("background","-ms-"+c),et.css("background","linear-gradient(to right, "+l+", "+a+")"))}r=n.toString(e)}y.showInput&&it.val(r),y.showPalette&&Et(),_t()}function qt(){var t=j,e=N;if(xt&&wt)rt.hide(),tt.hide(),J.hide();else{rt.show(),tt.show(),J.show();var n=t*k,r=T-e*T;n=Math.max(-O,Math.min(k-O,n-O)),r=Math.max(-O,Math.min(T-O,r-O)),J.css({top:r+"px",left:n+"px"});var i=L*M;rt.css({left:i-P/2+"px"});var o=R*D;tt.css({top:o-I+"px"})}}function Ht(t){var e=Lt(),n="",r=!tinycolor.equals(e,$t);e&&(n=e.toString(yt),At(e)),ft&&G.val(n),t&&r&&(S.change(e),G.trigger("change",[e]))}function Ft(){E&&(k=Z.width(),T=Z.height(),O=J.height(),Q.width(),D=Q.height(),I=tt.height(),M=nt.width(),P=rt.width(),b||(K.css("position","absolute"),y.offset?K.offset(y.offset):K.offset(function(e,n){var r=0,i=e.outerWidth(),o=e.outerHeight(),a=n.outerHeight(),s=e[0].ownerDocument,u=s.documentElement,l=u.clientWidth+t(s).scrollLeft(),c=u.clientHeight+t(s).scrollTop(),f=n.offset(),h=f.left,p=f.top;return p+=a,h-=Math.min(h,h+i>l&&l>i?Math.abs(h+i-l):0),{top:p-=Math.min(p,p+o>c&&c>o?Math.abs(o+a-r):r),bottom:f.bottom,left:h,right:f.right,width:f.width,height:f.height}}(K,vt))),qt(),y.showPalette&&Et(),G.trigger("reflow.spectrum"))}function zt(){Rt(),Y=!0,G.attr("disabled",!0),vt.addClass("sp-disabled")}!function(){if(i&&K.find("*:not(input)").attr("unselectable","on"),Ct(),pt&&G.after(dt).hide(),xt||ut.hide(),b)G.after(K).hide();else{var e="parent"===y.appendTo?G.parent():t(y.appendTo);1!==e.length&&(e=t("body")),e.append(K)}function n(e){return e.data&&e.data.ignore?(Nt(t(e.target).closest(".sp-thumb-el").data("color")),Vt()):(Nt(t(e.target).closest(".sp-thumb-el").data("color")),Vt(),y.hideAfterPaletteSelect?(Ht(!0),Rt()):Ht()),!1}St(),vt.on("click.spectrum touchstart.spectrum",(function(e){Y||Dt(),e.stopPropagation(),t(e.target).is("input")||e.preventDefault()})),(G.is(":disabled")||!0===y.disabled)&&zt(),K.click(f),it.change(Ot),it.on("paste",(function(){setTimeout(Ot,1)})),it.keydown((function(t){13==t.keyCode&&Ot()})),st.text(y.cancelText),st.on("click.spectrum",(function(t){t.stopPropagation(),t.preventDefault(),jt(),Rt()})),ut.attr("title",y.clearText),ut.on("click.spectrum",(function(t){t.stopPropagation(),t.preventDefault(),wt=!0,Vt(),b&&Ht(!0)})),lt.text(y.chooseText),lt.on("click.spectrum",(function(t){t.stopPropagation(),t.preventDefault(),i&&it.is(":focus")&&it.trigger("change"),!it.hasClass("sp-validation-error")&&(Ht(!0),Rt())})),ct.text(y.showPaletteOnly?y.togglePaletteMoreText:y.togglePaletteLessText),ct.on("click.spectrum",(function(t){t.stopPropagation(),t.preventDefault(),y.showPaletteOnly=!y.showPaletteOnly,y.showPaletteOnly||b||K.css("left","-="+(X.outerWidth(!0)+5)),Ct()})),p(nt,(function(t,e,n){L=t/M,wt=!1,n.shiftKey&&(L=Math.round(10*L)/10),Vt()}),kt,Tt),p(Q,(function(t,e){R=parseFloat(e/D),wt=!1,y.showAlpha||(L=1),Vt()}),kt,Tt),p(Z,(function(t,e,n){if(n.shiftKey){if(!B){var r=j*k,i=T-N*T,o=Math.abs(t-r)>Math.abs(e-i);B=o?"x":"y"}}else B=null;var a=!B||"y"===B;(!B||"x"===B)&&(j=parseFloat(t/k)),a&&(N=parseFloat((T-e)/T)),wt=!1,y.showAlpha||(L=1),Vt()}),kt,Tt),gt?(Nt(gt),Ut(),yt=y.preferredFormat||tinycolor(gt).format,At(gt)):Ut(),b&&Mt();var r=i?"mousedown.spectrum":"click.spectrum touchstart.spectrum";ot.on(r,".sp-thumb-el",n),at.on(r,".sp-thumb-el:nth-child(1)",{ignore:!0},n)}();var Bt={show:Mt,hide:Rt,toggle:Dt,reflow:Ft,option:function(n,r){return n===e?t.extend({},y):r===e?y[n]:(y[n]=r,"preferredFormat"===n&&(yt=y.preferredFormat),void Ct())},enable:function(){Y=!1,G.attr("disabled",!1),vt.removeClass("sp-disabled")},disable:zt,offset:function(t){y.offset=t,Ft()},set:function(t){Nt(t),Ht()},get:Lt,destroy:function(){G.show(),vt.off("click.spectrum touchstart.spectrum"),K.remove(),dt.remove(),r[Bt.id]=null},container:K};return Bt.id=r.push(Bt)-1,Bt}function c(){}function f(t){t.stopPropagation()}function h(t,e){var n=Array.prototype.slice,r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}function p(e,n,r,o){n=n||function(){},r=r||function(){},o=o||function(){};var a=document,s=!1,u={},l=0,c=0,f="ontouchstart"in window,h={};function p(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}function d(t){if(s){if(i&&a.documentMode<9&&!t.button)return v();var r=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0],o=r&&r.pageX||t.pageX,h=r&&r.pageY||t.pageY,d=Math.max(0,Math.min(o-u.left,c)),m=Math.max(0,Math.min(h-u.top,l));f&&p(t),n.apply(e,[d,m,t])}}function v(){s&&(t(a).off(h),t(a.body).removeClass("sp-dragging"),setTimeout((function(){o.apply(e,arguments)}),0)),s=!1}h.selectstart=p,h.dragstart=p,h["touchmove mousemove"]=d,h["touchend mouseup"]=v,t(e).on("touchstart mousedown",(function(n){(n.which?3==n.which:2==n.button)||s||!1!==r.apply(e,arguments)&&(s=!0,l=t(e).height(),c=t(e).width(),u=t(e).offset(),t(a).on(h),t(a.body).addClass("sp-dragging"),d(n),p(n))}))}function d(){return t.fn.spectrum.inputTypeColorSupport()}var v="spectrum.id";t.fn.spectrum=function(e,n){if("string"==typeof e){var i=this,o=Array.prototype.slice.call(arguments,1);return this.each((function(){var n=r[t(this).data(v)];if(n){var a=n[e];if(!a)throw new Error("Spectrum: no such method: '"+e+"'");"get"==e?i=n.get():"container"==e?i=n.container:"option"==e?i=n.option.apply(n,o):"destroy"==e?(n.destroy(),t(this).removeData(v)):a.apply(n,o)}})),i}return this.spectrum("destroy").each((function(){var n=l(this,t.extend({},t(this).data(),e));t(this).data(v,n.id)}))},t.fn.spectrum.load=!0,t.fn.spectrum.loadOpts={},t.fn.spectrum.draggable=p,t.fn.spectrum.defaults=n,t.fn.spectrum.inputTypeColorSupport=function e(){if(void 0===e._cachedResult){var n=t("<input type='color'/>")[0];e._cachedResult="color"===n.type&&""!==n.value}return e._cachedResult},t.spectrum={},t.spectrum.localization={},t.spectrum.palettes={},t.fn.spectrum.processNativeColorInputs=function(){var e=t("input[type=color]");e.length&&!d()&&e.spectrum({preferredFormat:"hex6"})},function(){var t=/^[\s,#]+/,e=/\s+$/,n=0,r=Math,i=r.round,o=r.min,a=r.max,s=r.random,u=function(s,l){if(l=l||{},(s=s||"")instanceof u)return s;if(!(this instanceof u))return new u(s,l);var c=function(n){var i={r:0,g:0,b:0},s=1,u=!1,l=!1;return"string"==typeof n&&(n=function(n){n=n.replace(t,"").replace(e,"").toLowerCase();var r,i=!1;if(E[n])n=E[n],i=!0;else if("transparent"==n)return{r:0,g:0,b:0,a:0,format:"name"};return(r=L.rgb.exec(n))?{r:r[1],g:r[2],b:r[3]}:(r=L.rgba.exec(n))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=L.hsl.exec(n))?{h:r[1],s:r[2],l:r[3]}:(r=L.hsla.exec(n))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=L.hsv.exec(n))?{h:r[1],s:r[2],v:r[3]}:(r=L.hsva.exec(n))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=L.hex8.exec(n))?{a:I(r[1]),r:D(r[2]),g:D(r[3]),b:D(r[4]),format:i?"name":"hex8"}:(r=L.hex6.exec(n))?{r:D(r[1]),g:D(r[2]),b:D(r[3]),format:i?"name":"hex"}:!!(r=L.hex3.exec(n))&&{r:D(r[1]+""+r[1]),g:D(r[2]+""+r[2]),b:D(r[3]+""+r[3]),format:i?"name":"hex"}}(n)),"object"==typeof n&&(n.hasOwnProperty("r")&&n.hasOwnProperty("g")&&n.hasOwnProperty("b")?(c=n.r,f=n.g,h=n.b,i={r:255*T(c,255),g:255*T(f,255),b:255*T(h,255)},u=!0,l="%"===String(n.r).substr(-1)?"prgb":"rgb"):n.hasOwnProperty("h")&&n.hasOwnProperty("s")&&n.hasOwnProperty("v")?(n.s=P(n.s),n.v=P(n.v),i=function(t,e,n){t=6*T(t,360),e=T(e,100),n=T(n,100);var i=r.floor(t),o=t-i,a=n*(1-e),s=n*(1-o*e),u=n*(1-(1-o)*e),l=i%6;return{r:255*[n,s,a,a,u,n][l],g:255*[u,n,n,s,a,a][l],b:255*[a,a,u,n,n,s][l]}}(n.h,n.s,n.v),u=!0,l="hsv"):n.hasOwnProperty("h")&&n.hasOwnProperty("s")&&n.hasOwnProperty("l")&&(n.s=P(n.s),n.l=P(n.l),i=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=T(t,360),e=T(e,100),n=T(n,100),0===e)r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,u=2*n-s;r=a(u,s,t+1/3),i=a(u,s,t),o=a(u,s,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(n.h,n.s,n.l),u=!0,l="hsl"),n.hasOwnProperty("a")&&(s=n.a)),s=k(s),{ok:u,format:n.format||l,r:o(255,a(i.r,0)),g:o(255,a(i.g,0)),b:o(255,a(i.b,0)),a:s};var c,f,h}(s);this._originalInput=s,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=i(1e3*this._a)/1e3,this._format=l.format||c.format,this._gradientType=l.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=c.ok,this._tc_id=n++};function l(t,e,n){t=T(t,255),e=T(e,255),n=T(n,255);var r,i,s=a(t,e,n),u=o(t,e,n),l=(s+u)/2;if(s==u)r=i=0;else{var c=s-u;switch(i=l>.5?c/(2-s-u):c/(s+u),s){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,l:l}}function c(t,e,n){t=T(t,255),e=T(e,255),n=T(n,255);var r,i,s=a(t,e,n),u=o(t,e,n),l=s,c=s-u;if(i=0===s?0:c/s,s==u)r=0;else{switch(s){case t:r=(e-n)/c+(e<n?6:0);break;case e:r=(n-t)/c+2;break;case n:r=(t-e)/c+4}r/=6}return{h:r,s:i,v:l}}function f(t,e,n,r){var o=[M(i(t).toString(16)),M(i(e).toString(16)),M(i(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function h(t,e,n,r){return[M((o=r,Math.round(255*parseFloat(o)).toString(16))),M(i(t).toString(16)),M(i(e).toString(16)),M(i(n).toString(16))].join("");var o}function p(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.s-=e/100,n.s=O(n.s),u(n)}function d(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.s+=e/100,n.s=O(n.s),u(n)}function v(t){return u(t).desaturate(100)}function m(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.l+=e/100,n.l=O(n.l),u(n)}function g(t,e){e=0===e?0:e||10;var n=u(t).toRgb();return n.r=a(0,o(255,n.r-i(-e/100*255))),n.g=a(0,o(255,n.g-i(-e/100*255))),n.b=a(0,o(255,n.b-i(-e/100*255))),u(n)}function $(t,e){e=0===e?0:e||10;var n=u(t).toHsl();return n.l-=e/100,n.l=O(n.l),u(n)}function y(t,e){var n=u(t).toHsl(),r=(i(n.h)+e)%360;return n.h=r<0?360+r:r,u(n)}function b(t){var e=u(t).toHsl();return e.h=(e.h+180)%360,u(e)}function w(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+120)%360,s:e.s,l:e.l}),u({h:(n+240)%360,s:e.s,l:e.l})]}function x(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+90)%360,s:e.s,l:e.l}),u({h:(n+180)%360,s:e.s,l:e.l}),u({h:(n+270)%360,s:e.s,l:e.l})]}function C(t){var e=u(t).toHsl(),n=e.h;return[u(t),u({h:(n+72)%360,s:e.s,l:e.l}),u({h:(n+216)%360,s:e.s,l:e.l})]}function S(t,e,n){e=e||6,n=n||30;var r=u(t).toHsl(),i=360/n,o=[u(t)];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(u(r));return o}function A(t,e){e=e||6;for(var n=u(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(u({h:r,s:i,v:o})),o=(o+s)%1;return a}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},setAlpha:function(t){return this._a=k(t),this._roundA=i(1e3*this._a)/1e3,this},toHsv:function(){var t=c(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=c(this._r,this._g,this._b),e=i(360*t.h),n=i(100*t.s),r=i(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=l(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=l(this._r,this._g,this._b),e=i(360*t.h),n=i(100*t.s),r=i(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return f(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(){return h(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*T(this._r,255))+"%",g:i(100*T(this._g,255))+"%",b:i(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*T(this._r,255))+"%, "+i(100*T(this._g,255))+"%, "+i(100*T(this._b,255))+"%)":"rgba("+i(100*T(this._r,255))+"%, "+i(100*T(this._g,255))+"%, "+i(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(_[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+h(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";return t&&(n=u(t).toHex8String()),"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(g,arguments)},darken:function(){return this._applyModification($,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},u.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:P(t[r]));t=n}return u(t,e)},u.equals=function(t,e){return!(!t||!e)&&u(t).toRgbString()==u(e).toRgbString()},u.random=function(){return u.fromRatio({r:s(),g:s(),b:s()})},u.mix=function(t,e,n){n=0===n?0:n||50;var r,i=u(t).toRgb(),o=u(e).toRgb(),a=n/100,s=2*a-1,l=o.a-i.a,c=1-(r=((r=s*l==-1?s:(s+l)/(1+s*l))+1)/2),f={r:o.r*r+i.r*c,g:o.g*r+i.g*c,b:o.b*r+i.b*c,a:o.a*a+i.a*(1-a)};return u(f)},u.readability=function(t,e){var n=u(t),r=u(e),i=n.toRgb(),o=r.toRgb(),a=n.getBrightness(),s=r.getBrightness(),l=Math.max(i.r,o.r)-Math.min(i.r,o.r)+Math.max(i.g,o.g)-Math.min(i.g,o.g)+Math.max(i.b,o.b)-Math.min(i.b,o.b);return{brightness:Math.abs(a-s),color:l}},u.isReadable=function(t,e){var n=u.readability(t,e);return n.brightness>125&&n.color>500},u.mostReadable=function(t,e){for(var n=null,r=0,i=!1,o=0;o<e.length;o++){var a=u.readability(t,e[o]),s=a.brightness>125&&a.color>500,l=a.brightness/125*3+a.color/500;(s&&!i||s&&i&&l>r||!s&&!i&&l>r)&&(i=s,r=l,n=u(e[o]))}return n};var E=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},_=u.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(E);function k(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function T(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=o(e,a(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function O(t){return o(1,a(0,t))}function D(t){return parseInt(t,16)}function M(t){return 1==t.length?"0"+t:""+t}function P(t){return t<=1&&(t=100*t+"%"),t}function I(t){return D(t)/255}var R,j,N,L=(j="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",N="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{rgb:new RegExp("rgb"+j),rgba:new RegExp("rgba"+N),hsl:new RegExp("hsl"+j),hsla:new RegExp("hsla"+N),hsv:new RegExp("hsv"+j),hsva:new RegExp("hsva"+N),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});window.tinycolor=u}(),t((function(){t.fn.spectrum.load&&t.fn.spectrum.processNativeColorInputs()}))},void 0===(o=r.apply(e,i))||(t.exports=o)}()},9567:function(t){"use strict";t.exports=window.jQuery}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";n(3536),n(2176),n(867),n(3512);var t=n(7780),e=n.n(t);n.g.HammerJS=e()}()}();

Zerion Mini Shell 1.0