-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjray.min.js
9 lines (9 loc) · 223 KB
/
jray.min.js
1
2
3
4
5
6
7
8
9
!function(e,t,n){"use strict";function r(e){return function(){var t,n=arguments[0],n="["+(e?e+":":"")+n+"] http://errors.angularjs.org/1.3.0-beta.5/"+(e?e+"/":"")+n;for(t=1;t<arguments.length;t++)n=n+(1==t?"?":"&")+"p"+(t-1)+"="+encodeURIComponent("function"==typeof arguments[t]?arguments[t].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[t]?"undefined":"string"!=typeof arguments[t]?JSON.stringify(arguments[t]):arguments[t]);return Error(n)}}function i(e){if(null==e||k(e))return!1;var t=e.length;return 1===e.nodeType&&t?!0:S(e)||x(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){var r;if(e)if(C(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r);else if(e.forEach&&e.forEach!==o)e.forEach(t,n);else if(i(e))for(r=0;r<e.length;r++)t.call(n,e[r],r);else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r);return e}function a(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n.sort()}function s(e,t,n){for(var r=a(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function u(e){return function(t,n){e(n,t)}}function c(){for(var e,t=lr.length;t;){if(t--,e=lr[t].charCodeAt(0),57==e)return lr[t]="A",lr.join("");if(90!=e)return lr[t]=String.fromCharCode(e+1),lr.join("");lr[t]="0"}return lr.unshift("0"),lr.join("")}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function p(e){var t=e.$$hashKey;return o(arguments,function(t){t!==e&&o(t,function(t,n){e[n]=t})}),l(e,t),e}function f(e){return parseInt(e,10)}function h(e,t){return p(new(p(function(){},{prototype:e})),t)}function d(){}function m(e){return e}function g(e){return function(){return e}}function v(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function $(e){return null!=e&&"object"==typeof e}function S(e){return"string"==typeof e}function b(e){return"number"==typeof e}function w(e){return"[object Date]"===sr.call(e)}function x(e){return"[object Array]"===sr.call(e)}function C(e){return"function"==typeof e}function E(e){return"[object RegExp]"===sr.call(e)}function k(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function A(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function I(e,t,n){var r=[];return o(e,function(e,i,o){r.push(t.call(n,e,i,o))}),r}function _(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function O(e,t){var n=_(e,t);return n>=0&&e.splice(n,1),t}function L(e,t){if(k(e)||e&&e.$evalAsync&&e.$watch)throw ur("cpws");if(t){if(e===t)throw ur("cpi");if(x(e))for(var n=t.length=0;n<e.length;n++)t.push(L(e[n]));else{n=t.$$hashKey,o(t,function(e,n){delete t[n]});for(var r in e)t[r]=L(e[r]);l(t,n)}}else(t=e)&&(x(e)?t=L(e,[]):w(e)?t=new Date(e.getTime()):E(e)?t=RegExp(e.source):$(e)&&(t=L(e,{})));return t}function P(e,t){t=t||{};for(var n in e)!e.hasOwnProperty(n)||"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t}function M(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var r,i=typeof e;if(i==typeof t&&"object"==i){if(!x(e)){if(w(e))return w(t)&&e.getTime()==t.getTime();if(E(e)&&E(t))return e.toString()==t.toString();if(e&&e.$evalAsync&&e.$watch||t&&t.$evalAsync&&t.$watch||k(e)||k(t)||x(t))return!1;i={};for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!M(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!i.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t[r]!==n&&!C(t[r]))return!1;return!0}if(!x(t))return!1;if((i=e.length)==t.length){for(r=0;i>r;r++)if(!M(e[r],t[r]))return!1;return!0}}return!1}function j(){return t.securityPolicy&&t.securityPolicy.isActive||t.querySelector&&!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"))}function T(e,t){var n=2<arguments.length?or.call(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,n.concat(or.call(arguments,0))):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function N(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":r&&r.$evalAsync&&r.$watch&&(i="$SCOPE"),i}function D(e,t){return"undefined"==typeof e?n:JSON.stringify(e,N,t?" ":null)}function R(e){return S(e)?JSON.parse(e):e}function F(e){return"function"==typeof e?e=!0:e&&0!==e.length?(e=nr(""+e),e=!("f"==e||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e)):e=!1,e}function q(e){e=Qn(e).clone();try{e.empty()}catch(t){}var n=Qn("<div>").append(e).html();try{return 3===e[0].nodeType?nr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+nr(t)})}catch(r){return nr(n)}}function B(e){try{return decodeURIComponent(e)}catch(t){}}function U(e){var t,n,r={};return o((e||"").split("&"),function(e){e&&(t=e.split("="),n=B(t[0]),y(n)&&(e=y(t[1])?B(t[1]):!0,r[n]?x(r[n])?r[n].push(e):r[n]=[r[n],e]:r[n]=e))}),r}function V(e){var t=[];return o(e,function(e,n){x(e)?o(e,function(e){t.push(W(n,!0)+(!0===e?"":"="+W(e,!0)))}):t.push(W(n,!0)+(!0===e?"":"="+W(e,!0)))}),t.length?t.join("&"):""}function H(e){return W(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function W(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function z(e,n){function r(e){e&&s.push(e)}var i,a,s=[e],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(t.getElementById(n)),n=n.replace(":","\\:"),e.querySelectorAll&&(o(e.querySelectorAll("."+n),r),o(e.querySelectorAll("."+n+"\\:"),r),o(e.querySelectorAll("["+n+"]"),r))}),o(s,function(e){if(!i){var t=c.exec(" "+e.className+" ");t?(i=e,a=(t[2]||"").replace(/\s+/g,",")):o(e.attributes,function(t){!i&&u[t.name]&&(i=e,a=t.value)})}}),i&&n(i,a?[a]:[])}function G(n,r){var i=function(){if(n=Qn(n),n.injector()){var e=n[0]===t?"document":q(n);throw ur("btstrpd",e)}return r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.unshift("ng"),e=Ct(r),e.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),e},a=/^NG_DEFER_BOOTSTRAP!/;return e&&!a.test(e.name)?i():(e.name=e.name.replace(a,""),void(cr.resumeBootstrap=function(e){o(e,function(e){r.push(e)}),i()}))}function K(e,t){return t=t||"_",e.replace(fr,function(e,n){return(n?t:"")+e.toLowerCase()})}function J(e,t,n){if(!e)throw ur("areq",t||"?",n||"required");return e}function Y(e,t,n){return n&&x(e)&&(e=e[e.length-1]),J(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function X(e,t){if("hasOwnProperty"===e)throw ur("badname",t)}function Q(e,t,n){if(!t)return e;t=t.split(".");for(var r,i=e,o=t.length,a=0;o>a;a++)r=t[a],e&&(e=(i=e)[r]);return!n&&C(e)?T(i,e):e}function Z(e){var t=e[0];if(e=e[e.length-1],t===e)return Qn(t);var n=[t];do{if(t=t.nextSibling,!t)break;n.push(t)}while(t!==e);return Qn(n)}function et(e){var t=r("$injector"),n=r("ng");return e=e.angular||(e.angular={}),e.$$minErr=e.$$minErr||r,e.module||(e.module=function(){var e={};return function(r,i,o){if("hasOwnProperty"===r)throw n("badname","module");return i&&e.hasOwnProperty(r)&&(e[r]=null),e[r]||(e[r]=function(){function e(e,t,r){return function(){return n[r||"push"]([e,t,arguments]),u}}if(!i)throw t("nomod",r);var n=[],a=[],s=e("$injector","invoke"),u={_invokeQueue:n,_runBlocks:a,requires:i,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:s,run:function(e){return a.push(e),this}};return o&&s(o),u}())}}())}function tt(t){p(t,{bootstrap:G,copy:L,extend:p,equals:M,element:Qn,forEach:o,injector:Ct,noop:d,bind:T,toJson:D,fromJson:R,identity:m,isUndefined:v,isDefined:y,isString:S,isFunction:C,isObject:$,isNumber:b,isElement:A,isArray:x,version:hr,isDate:w,lowercase:nr,uppercase:ir,callbacks:{counter:0},$$minErr:r,$$csp:j}),er=et(e);try{er("ngLocale")}catch(n){er("ngLocale",[]).provider("$locale",zt)}er("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:$n}),e.provider("$compile",Lt).directive({a:si,input:wi,textarea:wi,form:pi,script:ro,select:ao,style:uo,option:so,ngBind:ji,ngBindHtml:Ni,ngBindTemplate:Ti,ngClass:Di,ngClassEven:Fi,ngClassOdd:Ri,ngCloak:qi,ngController:Bi,ngForm:fi,ngHide:Xi,ngIf:Vi,ngInclude:Hi,ngInit:zi,ngNonBindable:Gi,ngPluralize:Ki,ngRepeat:Ji,ngShow:Yi,ngStyle:Qi,ngSwitch:Zi,ngSwitchWhen:eo,ngSwitchDefault:to,ngOptions:oo,ngTransclude:no,ngModel:Ii,ngList:Li,ngChange:_i,required:Oi,ngRequired:Oi,ngValue:Mi}).directive({ngInclude:Wi}).directive(ui).directive(Ui),e.provider({$anchorScroll:Et,$animate:Nr,$browser:It,$cacheFactory:_t,$controller:jt,$document:Tt,$exceptionHandler:Nt,$filter:_n,$interpolate:Ht,$interval:Wt,$http:qt,$httpBackend:Ut,$location:on,$log:an,$parse:dn,$rootScope:yn,$q:mn,$sce:xn,$sceDelegate:wn,$sniffer:Cn,$templateCache:Ot,$timeout:En,$window:In,$$rAF:vn,$$asyncCallback:kt})}])}function nt(e){return e.replace($r,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Sr,"Moz$1")}function rt(e,t,n,r){function i(e){var i,a,s,u,c,l,p=n&&e?[this.filter(e)]:[this],f=t;if(!r||null!=e)for(;p.length;)for(i=p.shift(),a=0,s=i.length;s>a;a++)for(u=Qn(i[a]),f?u.triggerHandler("$destroy"):f=!f,c=0,u=(l=u.children()).length;u>c;c++)p.push(Zn(l[c]));return o.apply(this,arguments)}var o=Zn.fn[e],o=o.$original||o;i.$original=o,Zn.fn[e]=i}function it(e,t){var n,r,i=t.createDocumentFragment(),a=[];if(xr.test(e)){for(n=n||i.appendChild(t.createElement("div")),r=(Cr.exec(e)||["",""])[1].toLowerCase(),r=kr[r]||kr._default,n.innerHTML=r[1]+e.replace(Er,"<$1></$2>")+r[2],r=r[0];r--;)n=n.lastChild;a=a.concat(or.call(n.childNodes,void 0)),n=i.firstChild,n.textContent=""}else a.push(t.createTextNode(e));return i.textContent="",i.innerHTML="",o(a,function(e){i.appendChild(e)}),i}function ot(e){if(e instanceof ot)return e;if(S(e)&&(e=pr(e)),!(this instanceof ot)){if(S(e)&&"<"!=e.charAt(0))throw br("nosel");return new ot(e)}if(S(e)){var n;n=t;var r;e=(r=wr.exec(e))?[n.createElement(r[1])]:(r=it(e,n))?r.childNodes:[]}mt(this,e)}function at(e){return e.cloneNode(!0)}function st(e){ct(e);var t=0;for(e=e.childNodes||[];t<e.length;t++)st(e[t])}function ut(e,t,n,r){if(y(r))throw br("offargs");var i=lt(e,"events");lt(e,"handle")&&(v(t)?o(i,function(t,n){yr(e,n,t),delete i[n]}):o(t.split(" "),function(t){v(n)?(yr(e,t,i[t]),delete i[t]):O(i[t]||[],n)}))}function ct(e,t){var r=e[mr],i=dr[r];i&&(t?delete dr[r].data[t]:(i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),ut(e)),delete dr[r],e[mr]=n))}function lt(e,t,n){var r=e[mr],r=dr[r||-1];return y(n)?(r||(e[mr]=r=++gr,r=dr[r]={}),void(r[t]=n)):r&&r[t]}function pt(e,t,n){var r=lt(e,"data"),i=y(n),o=!i&&y(t),a=o&&!$(t);if(r||a||lt(e,"data",r={}),i)r[t]=n;else{if(!o)return r;if(a)return r&&r[t];p(r,t)}}function ft(e,t){return e.getAttribute?-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" "):!1}function ht(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",pr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+pr(t)+" "," ")))})}function dt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=pr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",pr(n))}}function mt(e,t){if(t){t=t.nodeName||!y(t.length)||k(t)?[t]:t;for(var n=0;n<t.length;n++)e.push(t[n])}}function gt(e,t){return vt(e,"$"+(t||"ngController")+"Controller")}function vt(e,t,r){for(e=Qn(e),9==e[0].nodeType&&(e=e.find("html")),t=x(t)?t:[t];e.length;){for(var i=e[0],o=0,a=t.length;a>o;o++)if((r=e.data(t[o]))!==n)return r;e=Qn(i.parentNode||11===i.nodeType&&i.host)}}function yt(e){for(var t=0,n=e.childNodes;t<n.length;t++)st(n[t]);for(;e.firstChild;)e.removeChild(e.firstChild)}function $t(e,t){var n=Ir[t.toLowerCase()];return n&&_r[e.nodeName]&&n}function St(e,n){var r=function(r,i){if(r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),r.target||(r.target=r.srcElement||t),v(r.defaultPrevented)){var a=r.preventDefault;r.preventDefault=function(){r.defaultPrevented=!0,a.call(r)},r.defaultPrevented=!1}r.isDefaultPrevented=function(){return r.defaultPrevented||!1===r.returnValue};var s=P(n[i||r.type]||[]);o(s,function(t){t.call(e,r)}),8>=Xn?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=e,r}function bt(e){var t,r=typeof e;return"object"==r&&null!==e?"function"==typeof(t=e.$$hashKey)?t=e.$$hashKey():t===n&&(t=e.$$hashKey=c()):t=e,r+":"+t}function wt(e){o(e,this.put,this)}function xt(e){var t,n;return"function"==typeof e?(t=e.$inject)||(t=[],e.length&&(n=e.toString().replace(Mr,""),n=n.match(Or),o(n[1].split(Lr),function(e){e.replace(Pr,function(e,n,r){t.push(r)})})),e.$inject=t):x(e)?(n=e.length-1,Y(e[n],"fn"),t=e.slice(0,n)):Y(e,"fn",!0),t}function Ct(e){function t(e){return function(t,n){return $(t)?void o(t,u(e)):e(t,n)}}function n(e,t){if(X(e,"service"),(C(t)||x(t))&&(t=h.instantiate(t)),!t.$get)throw jr("pget",e);return f[e+c]=t}function r(e,t){return n(e,{$get:t})}function i(e){var t,n,r,a,s=[];return o(e,function(e){if(!p.get(e)){p.put(e,!0);try{if(S(e))for(t=er(e),s=s.concat(i(t.requires)).concat(t._runBlocks),n=t._invokeQueue,r=0,a=n.length;a>r;r++){var o=n[r],u=h.get(o[0]);u[o[1]].apply(u,o[2])}else C(e)?s.push(h.invoke(e)):x(e)?s.push(h.invoke(e)):Y(e,"module")}catch(c){throw x(e)&&(e=e[e.length-1]),c.message&&c.stack&&-1==c.stack.indexOf(c.message)&&(c=c.message+"\n"+c.stack),jr("modulerr",e,c.stack||c.message||c)}}}),s}function a(e,t){function n(n){if(e.hasOwnProperty(n)){if(e[n]===s)throw jr("cdep",l.join(" <- "));return e[n]}try{return l.unshift(n),e[n]=s,e[n]=t(n)}catch(r){throw e[n]===s&&delete e[n],r}finally{l.shift()}}function r(e,t,r){var i,o,a,s=[],u=xt(e);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw jr("itkn",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return e.$inject||(e=e[i]),e.apply(t,s)}return{invoke:r,instantiate:function(e,t){var n,i=function(){};return i.prototype=(x(e)?e[e.length-1]:e).prototype,i=new i,n=r(e,i,t),$(n)||C(n)?n:i},get:n,annotate:xt,has:function(t){return f.hasOwnProperty(t+c)||e.hasOwnProperty(t)}}}var s={},c="Provider",l=[],p=new wt,f={$provide:{provider:t(n),factory:t(r),service:t(function(e,t){return r(e,["$injector",function(e){return e.instantiate(t)}])}),value:t(function(e,t){return r(e,g(t))}),constant:t(function(e,t){X(e,"constant"),f[e]=t,m[e]=t}),decorator:function(e,t){var n=h.get(e+c),r=n.$get;n.$get=function(){var e=v.invoke(r,n);return v.invoke(t,null,{$delegate:e})}}}},h=f.$injector=a(f,function(){throw jr("unpr",l.join(" <- "))}),m={},v=m.$injector=a(m,function(e){return e=h.get(e+c),v.invoke(e.$get,e)});return o(i(e),function(e){v.invoke(e||d)}),v}function Et(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return o(e,function(e){t||"a"!==nr(e.nodeName)||(t=e)}),t}function a(){var e,r=n.hash();r?(e=s.getElementById(r))?e.scrollIntoView():(e=i(s.getElementsByName(r)))?e.scrollIntoView():"top"===r&&t.scrollTo(0,0):t.scrollTo(0,0)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function kt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function At(e,t,r,i){function a(e){try{e.apply(null,or.call(arguments,1))}finally{if(y--,0===y)for(;$.length;)try{$.pop()()}catch(t){r.error(t)}}}function s(e,t){!function n(){o(w,function(e){e()}),b=t(n,e)}()}function u(){E=null,x!=c.url()&&(x=c.url(),o(k,function(e){e(c.url())}))}var c=this,l=t[0],p=e.location,f=e.history,h=e.setTimeout,m=e.clearTimeout,g={};c.isMock=!1;var y=0,$=[];c.$$completeOutstandingRequest=a,c.$$incOutstandingRequestCount=function(){y++},c.notifyWhenNoOutstandingRequests=function(e){o(w,function(e){e()}),0===y?e():$.push(e)};var b,w=[];c.addPollFn=function(e){return v(b)&&s(100,h),w.push(e),e};var x=p.href,C=t.find("base"),E=null;c.url=function(t,n){return p!==e.location&&(p=e.location),f!==e.history&&(f=e.history),t?x!=t?(x=t,i.history?n?f.replaceState(null,"",t):(f.pushState(null,"",t),C.attr("href",C.attr("href"))):(E=t,n?p.replace(t):p.href=t),c):void 0:E||p.href.replace(/%27/g,"'")};var k=[],A=!1;c.onUrlChange=function(t){return A||(i.history&&Qn(e).on("popstate",u),i.hashchange?Qn(e).on("hashchange",u):c.addPollFn(u),A=!0),k.push(t),t},c.baseHref=function(){var e=C.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var I={},_="",O=c.baseHref();c.cookies=function(e,t){var i,o,a,s;if(!e){if(l.cookie!==_)for(_=l.cookie,i=_.split("; "),I={},a=0;a<i.length;a++)o=i[a],s=o.indexOf("="),s>0&&(e=unescape(o.substring(0,s)),I[e]===n&&(I[e]=unescape(o.substring(s+1))));return I}t===n?l.cookie=escape(e)+"=;path="+O+";expires=Thu, 01 Jan 1970 00:00:00 GMT":S(t)&&(i=(l.cookie=escape(e)+"="+escape(t)+";path="+O).length+1,i>4096&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(e,t){var n;return y++,n=h(function(){delete g[n],a(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],m(e),a(d),!0):!1}}function It(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new At(e,r,t,n)}]}function _t(){this.$get=function(){function e(e,n){function i(e){e!=f&&(h?h==e&&(h=e.n):h=e,o(e.n,e.p),o(e,f),f=e,f.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid",e);var a=0,s=p({},n,{id:e}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},f=null,h=null;return t[e]={put:function(e,t){if(c<Number.MAX_VALUE){var n=l[e]||(l[e]={key:e});i(n)}return v(t)?void 0:(e in u||a++,u[e]=t,a>c&&this.remove(h.key),t)},get:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=l[e];if(!t)return;t==f&&(f=t.p),t==h&&(h=t.n),o(t.n,t.p),delete l[e]}delete u[e],a--},removeAll:function(){u={},a=0,l={},f=h=null},destroy:function(){l=s=u=null,delete t[e]},info:function(){return p({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function Ot(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Lt(e,r){var i={},a="Directive",s=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,c=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,l=/^(on[a-z]+|formaction)$/;this.directive=function f(t,n){return X(t,"directive"),S(t)?(J(n,"directiveFactory"),i.hasOwnProperty(t)||(i[t]=[],e.factory(t+a,["$injector","$exceptionHandler",function(e,n){var r=[];return o(i[t],function(i,o){try{var a=e.invoke(i);C(a)?a={compile:g(a)}:!a.compile&&a.link&&(a.compile=g(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||t,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"A",r.push(a)}catch(s){n(s)}}),r}])),i[t].push(n)):o(t,u(f)),this},this.aHrefSanitizationWhitelist=function(e){return y(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()},this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,u,f,d,v,y,b,w,E,k,A){function I(e,t,n,r,i){e instanceof Qn||(e=Qn(e)),o(e,function(t,n){3==t.nodeType&&t.nodeValue.match(/\S+/)&&(e[n]=Qn(t).wrap("<span></span>").parent()[0])});var a=L(e,t,e,n,r,i);return _(e,"ng-scope"),function(t,n,r){J(t,"scope");var i=n?Ar.clone.call(e):e;o(r,function(e,t){i.data("$"+t+"Controller",e)}),r=0;for(var s=i.length;s>r;r++){var u=i[r].nodeType;1!==u&&9!==u||i.eq(r).data("$scope",t)}return n&&n(i,t),a&&a(t,i,i),i}}function _(e,t){try{e.addClass(t)}catch(n){}}function L(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,c,l,p,h;a=r.length;var d=Array(a);for(l=0;a>l;l++)d[l]=r[l];for(h=l=0,p=f.length;p>l;h++)s=d[h],r=f[l++],a=f[l++],u=Qn(s),r?(r.scope?(c=e.$new(),u.data("$scope",c)):c=e,(u=r.transclude)||!o&&t?r(a,c,s,i,j(e,u||t)):r(a,c,s,i,o)):a&&a(e,s.childNodes,n,o)}for(var u,c,l,p,f=[],h=0;h<e.length;h++)u=new et,c=N(e[h],[],u,0===h?i:n,o),(a=c.length?F(c,e[h],u,t,r,null,[],[],a):null)&&a.scope&&_(Qn(e[h]),"ng-scope"),u=a&&a.terminal||!(l=e[h].childNodes)||!l.length?null:L(l,a?a.transclude:t),f.push(a,u),p=p||a||u,a=null;return p?s:null}function j(e,t){return function(n,r,i){var o=!1;return n||(n=e.$new(),o=n.$$transcluded=!0),r=t(n,r,i),o&&r.on("$destroy",T(n,n.$destroy)),r}}function N(e,t,n,r,i){var o,a=n.$attr;switch(e.nodeType){case 1:U(t,Pt(tr(e).toLowerCase()),"E",r,i);var u,l,p;o=e.attributes;for(var f=0,h=o&&o.length;h>f;f++){var d=!1,m=!1;if(u=o[f],!Xn||Xn>=8||u.specified){l=u.name,p=Pt(l),it.test(p)&&(l=K(p.substr(6),"-"));var g=p.replace(/(Start|End)$/,"");p===g+"Start"&&(d=l,m=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6)),p=Pt(l.toLowerCase()),a[p]=l,n[p]=u=pr(u.value),$t(e,p)&&(n[p]=!0),X(e,t,u,p),U(t,p,"A",r,i,d,m)}}if(e=e.className,S(e)&&""!==e)for(;o=c.exec(e);)p=Pt(o[2]),U(t,p,"C",r,i)&&(n[p]=pr(o[3])),e=e.substr(o.index+o[0].length);break;case 3:G(t,e.nodeValue);break;case 8:try{(o=s.exec(e.nodeValue))&&(p=Pt(o[1]),U(t,p,"M",r,i)&&(n[p]=pr(o[2])))}catch(v){}}return t.sort(W),t}function D(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Dr("uterdir",t,n);1==e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Qn(r)}function R(e,t,n){return function(r,i,o,a,s){return i=D(i[0],t,n),e(r,i,o,a,s)}}function F(e,i,a,s,c,l,p,f,h){function d(e,t,n,r){e&&(n&&(e=R(e,n,r)),e.require=w.require,(j===w||w.$$isolateScope)&&(e=Z(e,{isolateScope:!0})),p.push(e)),t&&(n&&(t=R(t,n,r)),t.require=w.require,(j===w||w.$$isolateScope)&&(t=Z(t,{isolateScope:!0})),f.push(t))}function m(e,t,n){var r,i="data",a=!1;if(S(e)){for(;"^"==(r=e.charAt(0))||"?"==r;)e=e.substr(1),"^"==r&&(i="inheritedData"),a=a||"?"==r;if(r=null,n&&"data"===i&&(r=n[e]),r=r||t[i]("$"+e+"Controller"),!r&&!a)throw Dr("ctreq",e,E)}else x(e)&&(r=[],o(e,function(e){r.push(m(e,t,n))}));return r}function g(e,t,s,c,l){function h(e,t){var r;return 2>arguments.length&&(t=e,e=n),W&&(r=C),l(e,t,r)}var d,g,$,S,b,w,x,C={};if(d=i===s?a:P(a,new et(Qn(s),a.$attr)),g=d.$$element,j){var E=/^\s*([@=&])(\??)\s*(\w*)\s*$/;c=Qn(s),w=t.$new(!0),T&&T===j.$$originalDirective?c.data("$isolateScope",w):c.data("$isolateScopeNoTemplate",w),_(c,"ng-isolate-scope"),o(j.scope,function(e,n){var i,o,a,s,u=e.match(E)||[],c=u[3]||n,l="?"==u[2],u=u[1];switch(w.$$isolateBindings[n]=u+c,u){case"@":d.$observe(c,function(e){w[n]=e}),d.$$observers[c].$$scope=t,d[c]&&(w[n]=r(d[c])(t));break;case"=":if(l&&!d[c])break;o=v(d[c]),s=o.literal?M:function(e,t){return e===t},a=o.assign||function(){throw i=w[n]=o(t),Dr("nonassign",d[c],j.name)},i=w[n]=o(t),w.$watch(function(){var e=o(t);return s(e,w[n])||(s(e,i)?a(t,e=w[n]):w[n]=e),i=e},null,o.literal);break;case"&":o=v(d[c]),w[n]=function(e){return o(t,e)};break;default:throw Dr("iscp",j.name,n,e)}})}for(x=l&&h,L&&o(L,function(e){var n,r={$scope:e===j||e.$$isolateScope?w:t,$element:g,$attrs:d,$transclude:x};b=e.controller,"@"==b&&(b=d[e.name]),n=y(b,r),C[e.name]=n,W||g.data("$"+e.name+"Controller",n),e.controllerAs&&(r.$scope[e.controllerAs]=n)}),c=0,$=p.length;$>c;c++)try{(S=p[c])(S.isolateScope?w:t,g,d,S.require&&m(S.require,g,C),x)}catch(k){u(k,q(g))}for(c=t,j&&(j.template||null===j.templateUrl)&&(c=w),e&&e(c,s.childNodes,n,l),c=f.length-1;c>=0;c--)try{(S=f[c])(S.isolateScope?w:t,g,d,S.require&&m(S.require,g,C),x)}catch(A){u(A,q(g))}}h=h||{};for(var b,w,E,k,A,O=-Number.MAX_VALUE,L=h.controllerDirectives,j=h.newIsolateScopeDirective,T=h.templateDirective,F=h.nonTlbTranscludeDirective,U=!1,W=h.hasElementTranscludeDirective,G=a.$$element=Qn(i),K=s,J=0,Y=e.length;Y>J;J++){w=e[J];var X=w.$$start,tt=w.$$end;if(X&&(G=D(i,X,tt)),k=n,O>w.priority)break;if((k=w.scope)&&(b=b||w,w.templateUrl||(z("new/isolated scope",j,w,G),$(k)&&(j=w))),E=w.name,!w.templateUrl&&w.controller&&(k=w.controller,L=L||{},z("'"+E+"' controller",L[E],w,G),L[E]=w),(k=w.transclude)&&(U=!0,w.$$tlb||(z("transclusion",F,w,G),F=w),"element"==k?(W=!0,O=w.priority,k=D(i,X,tt),G=a.$$element=Qn(t.createComment(" "+E+": "+a[E]+" ")),i=G[0],Q(c,Qn(or.call(k,0)),i),K=I(k,s,O,l&&l.name,{nonTlbTranscludeDirective:F})):(k=Qn(at(i)).contents(),G.empty(),K=I(k,s))),w.template)if(z("template",T,w,G),T=w,k=C(w.template)?w.template(G,a):w.template,k=rt(k),w.replace){if(l=w,k=xr.test(k)?Qn(k):[],i=k[0],1!=k.length||1!==i.nodeType)throw Dr("tplrt",E,"");Q(c,G,i),Y={$attr:{}},k=N(i,[],Y);var nt=e.splice(J+1,e.length-(J+1));j&&B(k),e=e.concat(k).concat(nt),V(a,Y),Y=e.length}else G.html(k);if(w.templateUrl)z("template",T,w,G),T=w,w.replace&&(l=w),g=H(e.splice(J,e.length-J),G,a,c,K,p,f,{controllerDirectives:L,newIsolateScopeDirective:j,templateDirective:T,nonTlbTranscludeDirective:F}),Y=e.length;else if(w.compile)try{A=w.compile(G,a,K),C(A)?d(null,A,X,tt):A&&d(A.pre,A.post,X,tt)}catch(it){u(it,q(G))}w.terminal&&(g.terminal=!0,O=Math.max(O,w.priority))}return g.scope=b&&!0===b.scope,g.transclude=U&&K,h.hasElementTranscludeDirective=W,g}function B(e){for(var t=0,n=e.length;n>t;t++)e[t]=h(e[t],{$$isolateScope:!0})}function U(t,r,o,s,c,l,p){if(r===c)return null;if(c=null,i.hasOwnProperty(r)){var f;r=e.get(r+a);for(var d=0,m=r.length;m>d;d++)try{f=r[d],(s===n||s>f.priority)&&-1!=f.restrict.indexOf(o)&&(l&&(f=h(f,{$$start:l,$$end:p})),t.push(f),c=f)}catch(g){u(g)}}return c}function V(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(_(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function H(e,t,n,r,i,a,s,u){var c,l,h=[],m=t[0],g=e.shift(),v=p({},g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),y=C(g.templateUrl)?g.templateUrl(t,n):g.templateUrl;return t.empty(),f.get(E.getTrustedResourceUrl(y),{cache:d}).success(function(p){var f,d;if(p=rt(p),g.replace){if(p=xr.test(p)?Qn(p):[],f=p[0],1!=p.length||1!==f.nodeType)throw Dr("tplrt",g.name,y);p={$attr:{}},Q(r,t,f);var S=N(f,[],p);$(g.scope)&&B(S),e=S.concat(e),V(n,p)}else f=m,t.html(p);for(e.unshift(v),c=F(e,f,n,i,t,g,a,s,u),o(r,function(e,n){e==f&&(r[n]=t[0])}),l=L(t[0].childNodes,i);h.length;){p=h.shift(),d=h.shift();var b=h.shift(),w=h.shift(),S=t[0];if(d!==m){var x=d.className;u.hasElementTranscludeDirective&&g.replace||(S=at(f)),Q(b,Qn(d),S),_(Qn(S),x)}d=c.transclude?j(p,c.transclude):w,c(l,p,S,r,d)}h=null}).error(function(e,t,n,r){throw Dr("tpload",r.url)}),function(e,t,n,r,i){h?(h.push(t),h.push(n),h.push(r),h.push(i)):c(l,t,n,r,i)}}function W(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function z(e,t,n,r){if(t)throw Dr("multidir",t.name,n.name,e,q(r))}function G(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:g(function(e,t){var r=t.parent(),i=r.data("$binding")||[];i.push(n),_(r.data("$binding",i),"ng-binding"),e.$watch(n,function(e){t[0].nodeValue=e})})})}function Y(e,t){if("srcdoc"==t)return E.HTML;var n=tr(e);return"xlinkHref"==t||"FORM"==n&&"action"==t||"IMG"!=n&&("src"==t||"ngSrc"==t)?E.RESOURCE_URL:void 0}function X(e,t,n,i){var o=r(n,!0);if(o){if("multiple"===i&&"SELECT"===tr(e))throw Dr("selmulti",q(e));t.push({priority:100,compile:function(){return{pre:function(t,n,a){if(n=a.$$observers||(a.$$observers={}),l.test(i))throw Dr("nodomevents");(o=r(a[i],!0,Y(e,i)))&&(a[i]=o(t),(n[i]||(n[i]=[])).$$inter=!0,(a.$$observers&&a.$$observers[i].$$scope||t).$watch(o,function(e,t){"class"===i&&e!=t?a.$updateClass(e,t):a.$set(i,e)}))}}}})}}function Q(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r,o=i+s-1;for(var c=e.length;c>i;i++,o++)c>o?e[i]=e[o]:delete e[i];e.length-=s-1;break}for(u&&u.replaceChild(r,a),e=t.createDocumentFragment(),e.appendChild(a),r[Qn.expando]=a[Qn.expando],a=1,s=n.length;s>a;a++)u=n[a],Qn(u).remove(),e.appendChild(u),delete n[a];n[0]=r,n.length=1}function Z(e,t){return p(function(){return e.apply(null,arguments)},e,t)}var et=function(e,t){this.$$element=e,this.$attr=t||{}};et.prototype={$normalize:Pt,$addClass:function(e){e&&0<e.length&&k.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&k.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Mt(e,t),r=Mt(t,e);0===n.length?k.removeClass(this.$$element,r):0===r.length?k.addClass(this.$$element,n):k.setClass(this.$$element,n,r)},$set:function(e,t,r,i){var a=$t(this.$$element[0],e);a&&(this.$$element.prop(e,t),i=a),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=K(e,"-")),a=tr(this.$$element),("A"===a&&"href"===e||"IMG"===a&&"src"===e)&&(this[e]=t=A(t,"src"===e)),!1!==r&&(null===t||t===n?this.$$element.removeAttr(i):this.$$element.attr(i,t)),(r=this.$$observers)&&o(r[e],function(e){try{e(t)}catch(n){u(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers={}),i=r[e]||(r[e]=[]);return i.push(t),b.$evalAsync(function(){i.$$inter||t(n[e])}),function(){O(i,t)}}};var tt=r.startSymbol(),nt=r.endSymbol(),rt="{{"==tt||"}}"==nt?m:function(e){return e.replace(/\{\{/g,tt).replace(/}}/g,nt)},it=/^ngAttr[A-Z]/;return I}]}function Pt(e){return nt(e.replace(Rr,""))}function Mt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/),o=0;e:for(;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(0<n.length?" ":"")+a}return n}function jt(){var e={},t=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(t,n){X(t,"controller"),$(t)?p(e,t):e[t]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,c;if(S(o)&&(s=o.match(t),u=s[1],c=s[3],o=e.hasOwnProperty(u)?e[u]:Q(a.$scope,u,!0)||Q(i,u,!0),Y(o,u,!0)),s=n.instantiate(o,a),c){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp",u||o.name,c);a.$scope[c]=s}return s}}]}function Tt(){this.$get=["$window",function(e){return Qn(e.document)}]}function Nt(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function Dt(e){var t,n,r,i={};return e?(o(e.split("\n"),function(e){r=e.indexOf(":"),t=nr(pr(e.substr(0,r))),n=pr(e.substr(r+1)),t&&(i[t]=i[t]?i[t]+(", "+n):n)}),i):i}function Rt(e){var t=$(e)?e:n;return function(n){return t||(t=Dt(e)),n?t[nr(n)]||null:t}}function Ft(e,t,n){return C(n)?n(e,t):(o(n,function(n){e=n(e,t)}),e)}function qt(){var e=/^\s*(\[|\{[^\{])/,t=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return S(n)&&(n=n.replace(r,""),e.test(n)&&t.test(n)&&(n=R(n))),n}],transformRequest:[function(e){return $(e)&&"[object File]"!==sr.call(e)&&"[object Blob]"!==sr.call(e)?D(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:L(i),put:L(i),patch:L(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(e,t,r,i,l,f){function h(e){function r(e){var t=p({},e,{data:Ft(e.data,e.headers,i.transformResponse)});return 200<=e.status&&300>e.status?t:l.reject(t)}var i={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},s=function(e){function t(e){var t;o(e,function(n,r){C(n)&&(t=n(),null!=t?e[r]=t:delete e[r])
})}var n,r,i=a.headers,s=p({},e.headers),i=p({},i.common,i[nr(e.method)]);t(i),t(s);e:for(n in i){e=nr(n);for(r in s)if(nr(r)===e)continue e;s[n]=i[n]}return s}(e);p(i,e),i.headers=s,i.method=ir(i.method),(e=An(i.url)?t.cookies()[i.xsrfCookieName||a.xsrfCookieName]:n)&&(s[i.xsrfHeaderName||a.xsrfHeaderName]=e);var u=[function(e){s=e.headers;var t=Ft(e.data,Rt(s),e.transformRequest);return v(e.data)&&o(s,function(e,t){"content-type"===nr(t)&&delete s[t]}),v(e.withCredentials)&&!v(a.withCredentials)&&(e.withCredentials=a.withCredentials),d(e,t,s).then(r,r)},n],c=l.when(i);for(o(b,function(e){(e.request||e.requestError)&&u.unshift(e.request,e.requestError),(e.response||e.responseError)&&u.push(e.response,e.responseError)});u.length;){e=u.shift();var f=u.shift(),c=c.then(e,f)}return c.success=function(e){return c.then(function(t){e(t.data,t.status,t.headers,i)}),c},c.error=function(e){return c.then(null,function(t){e(t.data,t.status,t.headers,i)}),c},c}function d(t,n,r){function o(e,t,n,r){c&&(e>=200&&300>e?c.put(S,[e,t,Dt(n),r]):c.remove(S)),s(t,e,n,r),i.$$phase||i.$apply()}function s(e,n,r,i){n=Math.max(n,0),(n>=200&&300>n?f.resolve:f.reject)({data:e,status:n,headers:Rt(r),config:t,statusText:i})}function u(){var e=_(h.pendingRequests,t);-1!==e&&h.pendingRequests.splice(e,1)}var c,p,f=l.defer(),d=f.promise,S=m(t.url,t.params);if(h.pendingRequests.push(t),d.then(u,u),(t.cache||a.cache)&&!1!==t.cache&&"GET"==t.method&&(c=$(t.cache)?t.cache:$(a.cache)?a.cache:g),c)if(p=c.get(S),y(p)){if(p.then)return p.then(u,u),p;x(p)?s(p[1],p[0],L(p[2]),p[3]):s(p,200,{},"OK")}else c.put(S,d);return v(p)&&e(t.method,S,n,o,r,t.timeout,t.withCredentials,t.responseType),d}function m(e,t){if(!t)return e;var n=[];return s(t,function(e,t){null===e||v(e)||(x(e)||(e=[e]),o(e,function(e){$(e)&&(e=D(e)),n.push(W(t)+"="+W(e))}))}),0<n.length&&(e+=(-1==e.indexOf("?")?"?":"&")+n.join("&")),e}var g=r("$http"),b=[];return o(u,function(e){b.unshift(S(e)?f.get(e):f.invoke(e))}),o(c,function(e,t){var n=S(e)?f.get(e):f.invoke(e);b.splice(t,0,{response:function(e){return n(l.when(e))},responseError:function(e){return n(l.reject(e))}})}),h.pendingRequests=[],function(){o(arguments,function(e){h[e]=function(t,n){return h(p(n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(){o(arguments,function(e){h[e]=function(t,n,r){return h(p(r||{},{method:e,url:t,data:n}))}})}("post","put"),h.defaults=a,h}]}function Bt(t){if(8>=Xn&&(!t.match(/^(get|post|head|put|delete|options)$/i)||!e.XMLHttpRequest))return new e.ActiveXObject("Microsoft.XMLHTTP");if(e.XMLHttpRequest)return new e.XMLHttpRequest;throw r("$httpBackend")("noxhr")}function Ut(){this.$get=["$browser","$window","$document",function(e,t,n){return Vt(e,Bt,e.defer,t.angular.callbacks,n[0])}]}function Vt(e,t,n,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){yr(o,"load",a),yr(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},vr(o,"load",a),vr(o,"error",a),i.body.appendChild(o),a}var s=-1;return function(i,u,c,l,p,f,h,m){function g(){$=s,b&&b(),w&&w.abort()}function v(t,r,i,o,a){C&&n.cancel(C),b=w=null,0===r&&(r=i?200:"file"==kn(u).protocol?404:0),t(1223===r?204:r,i,o,a||""),e.$$completeOutstandingRequest(d)}var $;if(e.$$incOutstandingRequestCount(),u=u||e.url(),"jsonp"==nr(i)){var S="_"+(r.counter++).toString(36);r[S]=function(e){r[S].data=e,r[S].called=!0};var b=a(u.replace("JSON_CALLBACK","angular.callbacks."+S),S,function(e,t){v(l,e,r[S].data,"",t),r[S]=d})}else{var w=t(i);if(w.open(i,u,!0),o(p,function(e,t){y(e)&&w.setRequestHeader(t,e)}),w.onreadystatechange=function(){if(w&&4==w.readyState){var e=null,t=null;$!==s&&(e=w.getAllResponseHeaders(),t="response"in w?w.response:w.responseText),v(l,$||w.status,t,e,w.statusText||"")}},h&&(w.withCredentials=!0),m)try{w.responseType=m}catch(x){if("json"!==m)throw x}w.send(c||null)}if(f>0)var C=n(g,f);else f&&f.then&&f.then(g)}}function Ht(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(o,u,c){for(var l,p,f=0,h=[],d=o.length,m=!1,g=[];d>f;)-1!=(l=o.indexOf(e,f))&&-1!=(p=o.indexOf(t,l+a))?(f!=l&&h.push(o.substring(f,l)),h.push(f=n(m=o.substring(l+a,p))),f.exp=m,f=p+s,m=!0):(f!=d&&h.push(o.substring(f)),f=d);if((d=h.length)||(h.push(""),d=1),c&&1<h.length)throw Fr("noconcat",o);return!u||m?(g.length=d,f=function(e){try{for(var t,n=0,a=d;a>n;n++)"function"==typeof(t=h[n])&&(t=t(e),t=c?i.getTrusted(c,t):i.valueOf(t),null===t||v(t)?t="":"string"!=typeof t&&(t=D(t))),g[n]=t;return g.join("")}catch(s){e=Fr("interr",o,s.toString()),r(e)}},f.exp=o,f.parts=h,f):void 0}var a=e.length,s=t.length;return o.startSymbol=function(){return e},o.endSymbol=function(){return t},o}]}function Wt(){this.$get=["$rootScope","$window","$q",function(e,t,n){function r(r,o,a,s){var u=t.setInterval,c=t.clearInterval,l=n.defer(),p=l.promise,f=0,h=y(s)&&!s;return a=y(a)?a:0,p.then(null,null,r),p.$$intervalId=u(function(){l.notify(f++),a>0&&f>=a&&(l.resolve(f),c(p.$$intervalId),delete i[p.$$intervalId]),h||e.$apply()},o),i[p.$$intervalId]=l,p}var i={};return r.cancel=function(e){return e&&e.$$intervalId in i?(i[e.$$intervalId].reject("canceled"),clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0):!1},r}]}function zt(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(e){return 1===e?"one":"other"}}}}function Gt(e){e=e.split("/");for(var t=e.length;t--;)e[t]=H(e[t]);return e.join("/")}function Kt(e,t,n){e=kn(e,n),t.$$protocol=e.protocol,t.$$host=e.hostname,t.$$port=f(e.port)||Br[e.protocol]||null}function Jt(e,t,n){var r="/"!==e.charAt(0);r&&(e="/"+e),e=kn(e,n),t.$$path=decodeURIComponent(r&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname),t.$$search=U(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Yt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Xt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Qt(e){return e.substr(0,Xt(e).lastIndexOf("/")+1)}function Zt(e,t){this.$$html5=!0,t=t||"";var r=Qt(e);Kt(e,this,e),this.$$parse=function(t){var n=Yt(r,t);if(!S(n))throw Ur("ipthprfx",t,r);Jt(n,this,e),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=V(this.$$search),t=this.$$hash?"#"+H(this.$$hash):"";this.$$url=Gt(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o;return(o=Yt(e,i))!==n?(i=o,(o=Yt(t,o))!==n?r+(Yt("/",o)||o):e+i):(o=Yt(r,i))!==n?r+o:r==i+"/"?r:void 0}}function en(e,t){var n=Qt(e);Kt(e,this,e),this.$$parse=function(r){var i=Yt(e,r)||Yt(n,r),i="#"==i.charAt(0)?Yt(t,i):this.$$html5?i:"";if(!S(i))throw Ur("ihshprfx",r,t);Jt(i,this,e),r=this.$$path;var o=/^\/?.*?:(\/.*)/;0===i.indexOf(e)&&(i=i.replace(e,"")),o.exec(i)||(r=(i=o.exec(r))?i[1]:r),this.$$path=r,this.$$compose()},this.$$compose=function(){var n=V(this.$$search),r=this.$$hash?"#"+H(this.$$hash):"";this.$$url=Gt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$rewrite=function(t){return Xt(e)==Xt(t)?t:void 0}}function tn(e,t){this.$$html5=!0,en.apply(this,arguments);var n=Qt(e);this.$$rewrite=function(r){var i;return e==Xt(r)?r:(i=Yt(n,r))?e+t+i:n===r+"/"?n:void 0}}function nn(e){return function(){return this[e]}}function rn(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function on(){var t="",n=!1;this.hashPrefix=function(e){return y(e)?(t=e,this):t},this.html5Mode=function(e){return y(e)?(n=e,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(e){r.$broadcast("$locationChangeSuccess",u.absUrl(),e)}var u,c=i.baseHref(),l=i.url();n?(c=l.substring(0,l.indexOf("/",l.indexOf("//")+2))+(c||"/"),o=o.history?Zt:tn):(c=Xt(l),o=en),u=new o(c,"#"+t),u.$$parse(u.$$rewrite(l)),a.on("click",function(t){if(!t.ctrlKey&&!t.metaKey&&2!=t.which){for(var n=Qn(t.target);"a"!==nr(n[0].nodeName);)if(n[0]===a[0]||!(n=n.parent())[0])return;var o=n.prop("href");$(o)&&"[object SVGAnimatedString]"===o.toString()&&(o=kn(o.animVal).href);var s=u.$$rewrite(o);o&&!n.attr("target")&&s&&!t.isDefaultPrevented()&&(t.preventDefault(),s!=i.url()&&(u.$$parse(s),r.$apply(),e.angular["ff-684208-preventDefault"]=!0))}}),u.absUrl()!=l&&i.url(u.absUrl(),!0),i.onUrlChange(function(e){u.absUrl()!=e&&(r.$evalAsync(function(){var t=u.absUrl();u.$$parse(e),r.$broadcast("$locationChangeStart",e,t).defaultPrevented?(u.$$parse(t),i.url(t)):s(t)}),r.$$phase||r.$digest())});var p=0;return r.$watch(function(){var e=i.url(),t=u.$$replace;return p&&e==u.absUrl()||(p++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),e).defaultPrevented?u.$$parse(e):(i.url(u.absUrl(),t),s(e))})),u.$$replace=!1,p}),u}]}function an(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||d;e=!1;try{e=!!i.apply}catch(a){}return e?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function sn(e,t){if("constructor"===e)throw Hr("isecfld",t);return e}function un(e,t){if(e){if(e.constructor===e)throw Hr("isecfn",t);if(e.document&&e.location&&e.alert&&e.setInterval)throw Hr("isecwindow",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Hr("isecdom",t)}return e}function cn(e,t,r,i,o){o=o||{},t=t.split(".");for(var a,s=0;1<t.length;s++){a=sn(t.shift(),i);var u=e[a];u||(u={},e[a]=u),e=u,e.then&&o.unwrapPromises&&(Vr(i),"$$v"in e||function(e){e.then(function(t){e.$$v=t})}(e),e.$$v===n&&(e.$$v={}),e=e.$$v)}return a=sn(t.shift(),i),e[a]=r}function ln(e,t,r,i,o,a,s){return sn(e,a),sn(t,a),sn(r,a),sn(i,a),sn(o,a),s.unwrapPromises?function(s,u){var c,l=u&&u.hasOwnProperty(e)?u:s;return null==l?l:((l=l[e])&&l.then&&(Vr(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),t?null==l?n:((l=l[t])&&l.then&&(Vr(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),r?null==l?n:((l=l[r])&&l.then&&(Vr(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),i?null==l?n:((l=l[i])&&l.then&&(Vr(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),o?null==l?n:((l=l[o])&&l.then&&(Vr(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(e){c.$$v=e})),l=l.$$v),l):l):l):l):l)}:function(a,s){var u=s&&s.hasOwnProperty(e)?s:a;return null==u?u:(u=u[e],t?null==u?n:(u=u[t],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function pn(e,t){return sn(e,t),function(t,r){return null==t?n:(r&&r.hasOwnProperty(e)?r:t)[e]}}function fn(e,t,r){return sn(e,r),sn(t,r),function(r,i){return null==r?n:(r=(i&&i.hasOwnProperty(e)?i:r)[e],null==r?n:r[t])}}function hn(e,t,r){if(Yr.hasOwnProperty(e))return Yr[e];var i,a=e.split("."),s=a.length;if(t.unwrapPromises||1!==s)if(t.unwrapPromises||2!==s)if(t.csp)i=6>s?ln(a[0],a[1],a[2],a[3],a[4],r,t):function(e,i){var o,u=0;do o=ln(a[u++],a[u++],a[u++],a[u++],a[u++],r,t)(e,i),i=n,e=o;while(s>u);return o};else{var u="var p;\n";o(a,function(e,n){sn(e,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+e+'"))?k:s)')+'["'+e+'"];\n'+(t.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")});var u=u+"return s;",c=new Function("s","k","pw",u);c.toString=g(u),i=t.unwrapPromises?function(e,t){return c(e,t,Vr)}:c}else i=fn(a[0],a[1],r);else i=pn(a[0],r);return"hasOwnProperty"!==e&&(Yr[e]=i),i}function dn(){var e={},t={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(e){return y(e)?(t.unwrapPromises=!!e,this):t.unwrapPromises},this.logPromiseWarnings=function(e){return y(e)?(t.logPromiseWarnings=e,this):t.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return t.csp=r.csp,Vr=function(e){t.logPromiseWarnings&&!Wr.hasOwnProperty(e)&&(Wr[e]=!0,i.warn("[$parse] Promise found in the expression `"+e+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":return e.hasOwnProperty(r)?e[r]:(i=new Kr(t),i=new Jr(i,n,t).parse(r,!1),"hasOwnProperty"!==r&&(e[r]=i),i);case"function":return r;default:return d}}}]}function mn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return gn(function(t){e.$evalAsync(t)},t)}]}function gn(e,t){function r(e){return e}function i(e){return u(e)}var a=function(){var o,u,l=[];return u={resolve:function(t){if(l){var r=l;l=n,o=s(t),r.length&&e(function(){for(var e,t=0,n=r.length;n>t;t++)e=r[t],o.then(e[0],e[1],e[2])})}},reject:function(e){u.resolve(c(e))},notify:function(t){if(l){var n=l;l.length&&e(function(){for(var e,r=0,i=n.length;i>r;r++)e=n[r],e[2](t)})}},promise:{then:function(e,n,s){var u=a(),c=function(n){try{u.resolve((C(e)?e:r)(n))}catch(i){u.reject(i),t(i)}},p=function(e){try{u.resolve((C(n)?n:i)(e))}catch(r){u.reject(r),t(r)}},f=function(e){try{u.notify((C(s)?s:r)(e))}catch(n){t(n)}};return l?l.push([c,p,f]):o.then(c,p,f),u.promise},"catch":function(e){return this.then(null,e)},"finally":function(e){function t(e,t){var n=a();return t?n.resolve(e):n.reject(e),n.promise}function n(n,i){var o=null;try{o=(e||r)()}catch(a){return t(a,!1)}return o&&C(o.then)?o.then(function(){return t(n,i)},function(e){return t(e,!1)}):t(n,i)}return this.then(function(e){return n(e,!0)},function(e){return n(e,!1)})}}}},s=function(t){return t&&C(t.then)?t:{then:function(n){var r=a();return e(function(){r.resolve(n(t))}),r.promise}}},u=function(e){var t=a();return t.reject(e),t.promise},c=function(n){return{then:function(r,o){var s=a();return e(function(){try{s.resolve((C(o)?o:i)(n))}catch(e){s.reject(e),t(e)}}),s.promise}}};return{defer:a,reject:u,when:function(n,o,c,l){var p,f=a(),h=function(e){try{return(C(o)?o:r)(e)}catch(n){return t(n),u(n)}},d=function(e){try{return(C(c)?c:i)(e)}catch(n){return t(n),u(n)}},m=function(e){try{return(C(l)?l:r)(e)}catch(n){t(n)}};return e(function(){s(n).then(function(e){p||(p=!0,f.resolve(s(e).then(h,d,m)))},function(e){p||(p=!0,f.resolve(d(e)))},function(e){p||f.notify(m(e))})}),f.promise},all:function(e){var t=a(),n=0,r=x(e)?[]:{};return o(e,function(e,i){n++,s(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}}}function vn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function yn(){var e=10,t=r("$rootScope"),n=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function p(e){if(g.$$phase)throw t("inprog",g.$$phase);g.$$phase=e}function f(e,t){var n=s(e);return Y(n,t),n}function h(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function m(){}l.prototype={constructor:l,$new:function(e){return e?(e=new l,e.$root=this.$root,e.$$asyncQueue=this.$$asyncQueue,e.$$postDigestQueue=this.$$postDigestQueue):(e=function(){},e.prototype=this,e=new e,e.$id=c()),e["this"]=e,e.$$listeners={},e.$$listenerCount={},e.$parent=this,e.$$watchers=e.$$nextSibling=e.$$childHead=e.$$childTail=null,e.$$prevSibling=this.$$childTail,this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=e:this.$$childHead=this.$$childTail=e,e},$watch:function(e,t,r){var i=f(e,"watch"),o=this.$$watchers,a={fn:t,last:m,get:i,exp:e,eq:!!r};if(n=null,!C(t)){var s=f(t||d,"listener");a.fn=function(e,t,n){s(n)}}if("string"==typeof e&&i.constant){var u=a.fn;a.fn=function(e,t,n){u.call(this,e,t,n),O(o,a)}}return o||(o=this.$$watchers=[]),o.unshift(a),function(){O(o,a),n=null}},$watchCollection:function(e,t){var n,r,o,a=this,u=1<t.length,c=0,l=s(e),p=[],f={},h=!0,d=0;return this.$watch(function(){n=l(a);var e,t;if($(n))if(i(n))for(r!==p&&(r=p,d=r.length=0,c++),e=n.length,d!==e&&(c++,r.length=d=e),t=0;e>t;t++)r[t]!==r[t]&&n[t]!==n[t]||r[t]===n[t]||(c++,r[t]=n[t]);else{r!==f&&(r=f={},d=0,c++),e=0;for(t in n)n.hasOwnProperty(t)&&(e++,r.hasOwnProperty(t)?r[t]!==n[t]&&(c++,r[t]=n[t]):(d++,r[t]=n[t],c++));if(d>e)for(t in c++,r)r.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(d--,delete r[t])}else r!==n&&(r=n,c++);return c},function(){if(h?(h=!1,t(n,n,a)):t(n,o,a),u)if($(n))if(i(n)){o=Array(n.length);for(var e=0;e<n.length;e++)o[e]=n[e]}else for(e in o={},n)rr.call(n,e)&&(o[e]=n[e]);else o=n})},$digest:function(){var r,i,o,s,u,c,l,f,h,d,v=this.$$asyncQueue,y=this.$$postDigestQueue,$=e,S=[];p("$digest"),n=null;do{for(c=!1,l=this;v.length;){try{d=v.shift(),d.scope.$eval(d.expression)}catch(b){g.$$phase=null,a(b)}n=null}e:do{if(s=l.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(l))===(o=r.last)||(r.eq?M(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break e}}else c=!0,n=r,r.last=r.eq?L(i):i,r.fn(i,o===m?i:o,l),5>$&&(f=4-$,S[f]||(S[f]=[]),h=C(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,h+="; newVal: "+D(i)+"; oldVal: "+D(o),S[f].push(h))}catch(w){g.$$phase=null,a(w)}if(!(s=l.$$childHead||l!==this&&l.$$nextSibling))for(;l!==this&&!(s=l.$$nextSibling);)l=l.$parent}while(l=s);if((c||v.length)&&!$--)throw g.$$phase=null,t("infdig",e,D(S))}while(c||v.length);for(g.$$phase=null;y.length;)try{y.shift()()}catch(x){a(x)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==g&&(o(this.$$listenerCount,T(null,h,this)),e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=d,this.$on=this.$watch=function(){return d})}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e){g.$$phase||g.$$asyncQueue.length||u.defer(function(){g.$$asyncQueue.length&&g.$digest()}),this.$$asyncQueue.push({scope:this,expression:e})},$$postDigest:function(e){this.$$postDigestQueue.push(e)},$apply:function(e){try{return p("$apply"),this.$eval(e)}catch(t){a(t)}finally{g.$$phase=null;try{g.$digest()}catch(n){throw a(n),n}}},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){n[_(n,t)]=null,h(i,1,e)}},$emit:function(e){var t,n,r,i=[],o=this,s=!1,u={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=[u].concat(or.call(arguments,1));do{for(t=o.$$listeners[e]||i,u.currentScope=o,n=0,r=t.length;r>n;n++)if(t[n])try{t[n].apply(null,c)}catch(l){a(l)}else t.splice(n,1),n--,r--;if(s)break;o=o.$parent}while(o);return u},$broadcast:function(e){for(var t,n,r=this,i=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1},s=[o].concat(or.call(arguments,1));r=i;){for(o.currentScope=r,i=r.$$listeners[e]||[],t=0,n=i.length;n>t;t++)if(i[t])try{i[t].apply(null,s)}catch(u){a(u)}else i.splice(t,1),t--,n--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==this&&r.$$nextSibling))for(;r!==this&&!(i=r.$$nextSibling);)r=r.$parent}return o}};var g=new l;return g}]}function $n(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*(https?|ftp|file|blob):|data:image\//;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return Xn&&!(Xn>=8)||(i=kn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Sn(e){if("self"===e)return e;if(S(e)){if(-1<e.indexOf("***"))throw Xr("iwcard",e);return e=e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),RegExp("^"+e+"$")}if(E(e))return RegExp("^"+e.source+"$");throw Xr("imatcher")}function bn(e){var t=[];return y(e)&&o(e,function(e){t.push(Sn(e))}),t}function wn(){this.SCE_CONTEXTS=Qr;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=bn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=bn(e)),t},this.$get=["$injector",function(r){function i(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}var o=function(){throw Xr("unsafe")};r.has("$sanitize")&&(o=r.get("$sanitize"));var a=i(),s={};return s[Qr.HTML]=i(a),s[Qr.CSS]=i(a),s[Qr.URL]=i(a),s[Qr.JS]=i(a),s[Qr.RESOURCE_URL]=i(s[Qr.URL]),{trustAs:function(e,t){var r=s.hasOwnProperty(e)?s[e]:null;if(!r)throw Xr("icontext",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw Xr("itype",e);return new r(t)},getTrusted:function(r,i){if(null===i||i===n||""===i)return i;var a=s.hasOwnProperty(r)?s[r]:null;if(a&&i instanceof a)return i.$$unwrapTrustedValue();if(r===Qr.RESOURCE_URL){var u,c,a=kn(i.toString()),l=!1;for(u=0,c=e.length;c>u;u++)if("self"===e[u]?An(a):e[u].exec(a.href)){l=!0;break}if(l)for(u=0,c=t.length;c>u;u++)if("self"===t[u]?An(a):t[u].exec(a.href)){l=!1;break}if(l)return i;throw Xr("insecurl",i.toString())}if(r===Qr.HTML)return o(i);throw Xr("unsafe")},valueOf:function(e){return e instanceof a?e.$$unwrapTrustedValue():e}}}]}function xn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sniffer","$sceDelegate",function(t,n,r){if(e&&n.msie&&8>n.msieDocumentMode)throw Xr("iequirks");var i=L(Qr);i.isEnabled=function(){return e},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=m),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:function(t,n){return i.getTrusted(e,r(t,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(Qr,function(e,t){var n=nr(t);i[nt("parse_as_"+n)]=function(t){return a(e,t)},i[nt("get_trusted_"+n)]=function(t){return s(e,t)},i[nt("trust_as_"+n)]=function(t){return u(e,t)}}),i}]}function Cn(){this.$get=["$window","$document",function(e,t){var n,r={},i=f((/android (\d+)/.exec(nr((e.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},s=a.documentMode,u=/^(Moz|webkit|O|ms)(?=[A-Z])/,c=a.body&&a.body.style,l=!1,p=!1;if(c){for(var h in c)if(l=u.exec(h)){n=l[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in c&&"webkit"),l=!!("transition"in c||n+"Transition"in c),p=!!("animation"in c||n+"Animation"in c),!i||l&&p||(l=S(a.body.style.webkitTransition),p=S(a.body.style.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>i||o),hashchange:"onhashchange"in e&&(!s||s>7),hasEvent:function(e){if("input"==e&&9==Xn)return!1;if(v(r[e])){var t=a.createElement("div");r[e]="on"+e in t}return r[e]},csp:j(),vendorPrefix:n,transitions:l,animations:p,android:i,msie:Xn,msieDocumentMode:s}}]}function En(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(e,t,n,r){function i(i,a,s){var u=n.defer(),c=u.promise,l=y(s)&&!s;return a=t.defer(function(){try{u.resolve(i())}catch(t){u.reject(t),r(t)}finally{delete o[c.$$timeoutId]}l||e.$apply()},a),c.$$timeoutId=a,o[a]=u,c}var o={};return i.cancel=function(e){return e&&e.$$timeoutId in o?(o[e.$$timeoutId].reject("canceled"),delete o[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},i}]}function kn(e){var t=e;return Xn&&(Zr.setAttribute("href",t),t=Zr.href),Zr.setAttribute("href",t),{href:Zr.href,protocol:Zr.protocol?Zr.protocol.replace(/:$/,""):"",host:Zr.host,search:Zr.search?Zr.search.replace(/^\?/,""):"",hash:Zr.hash?Zr.hash.replace(/^#/,""):"",hostname:Zr.hostname,port:Zr.port,pathname:"/"===Zr.pathname.charAt(0)?Zr.pathname:"/"+Zr.pathname}}function An(e){return e=S(e)?kn(e):e,e.protocol===ei.protocol&&e.host===ei.host}function In(){this.$get=g(e)}function _n(e){function t(r,i){if($(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Ln),t("date",Fn),t("filter",On),t("json",qn),t("limitTo",Bn),t("lowercase",oi),t("number",Pn),t("orderBy",Un),t("uppercase",ai)}function On(){return function(e,t,n){if(!x(e))return e;var r=typeof n,i=[];i.check=function(e){for(var t=0;t<i.length;t++)if(!i[t](e))return!1;return!0},"function"!==r&&(n="boolean"===r&&n?function(e,t){return cr.equals(e,t)}:function(e,t){if(e&&t&&"object"==typeof e&&"object"==typeof t){for(var r in e)if("$"!==r.charAt(0)&&rr.call(e,r)&&n(e[r],t[r]))return!0;return!1}return t=(""+t).toLowerCase(),-1<(""+e).toLowerCase().indexOf(t)});var o=function(e,t){if("string"==typeof t&&"!"===t.charAt(0))return!o(e,t.substr(1));switch(typeof e){case"boolean":case"number":case"string":return n(e,t);case"object":switch(typeof t){case"object":return n(e,t);default:for(var r in e)if("$"!==r.charAt(0)&&o(e[r],t))return!0}return!1;case"array":for(r=0;r<e.length;r++)if(o(e[r],t))return!0;return!1;default:return!1}};switch(typeof t){case"boolean":case"number":case"string":t={$:t};case"object":for(var a in t)(function(e){"undefined"!=typeof t[e]&&i.push(function(n){return o("$"==e?n:n&&n[e],t[e])})})(a);break;case"function":i.push(t);break;default:return e}for(r=[],a=0;a<e.length;a++){var s=e[a];i.check(s)&&r.push(s)}return r}}function Ln(e){var t=e.NUMBER_FORMATS;return function(e,n){return v(n)&&(n=t.CURRENCY_SYM),Mn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,2).replace(/\u00A4/g,n)}}function Pn(e){var t=e.NUMBER_FORMATS;return function(e,n){return Mn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Mn(e,t,n,r,i){if(null==e||!isFinite(e)||$(e))return"";var o=0>e;e=Math.abs(e);var a=e+"",s="",u=[],c=!1;if(-1!==a.indexOf("e")){var l=a.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?a="0":(s=a,c=!0)}if(c)i>0&&e>-1&&1>e&&(s=e.toFixed(i));else{a=(a.split(ti)[1]||"").length,v(i)&&(i=Math.min(Math.max(t.minFrac,a),t.maxFrac)),a=Math.pow(10,i),e=Math.round(e*a)/a,e=(""+e).split(ti),a=e[0],e=e[1]||"";var l=0,p=t.lgSize,f=t.gSize;if(a.length>=p+f)for(l=a.length-p,c=0;l>c;c++)0===(l-c)%f&&0!==c&&(s+=n),s+=a.charAt(c);for(c=l;c<a.length;c++)0===(a.length-c)%p&&0!==c&&(s+=n),s+=a.charAt(c);for(;e.length<i;)e+="0";i&&"0"!==i&&(s+=r+e.substr(0,i))}return u.push(o?t.negPre:t.posPre),u.push(s),u.push(o?t.negSuf:t.posSuf),u.join("")}function jn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function Tn(e,t,n,r){return n=n||0,function(i){return i=i["get"+e](),(n>0||i>-n)&&(i+=n),0===i&&-12==n&&(i=12),jn(i,t,r)}}function Nn(e,t){return function(n,r){var i=n["get"+e](),o=ir(t?"SHORT"+e:e);return r[o][i]}}function Dn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Rn(e){return function(t){var n=Dn(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n,t=1+Math.round(t/6048e5),jn(t,e)}}function Fn(e){function t(e){var t;if(t=e.match(n)){e=new Date(0);var r=0,i=0,o=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=f(t[9]+t[10]),i=f(t[9]+t[11])),o.call(e,f(t[1]),f(t[2])-1,f(t[3])),r=f(t[4]||0)-r,i=f(t[5]||0)-i,o=f(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),a.call(e,r,i,o,t)}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r){var i,a,s="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,S(n)&&(n=ii.test(n)?f(n):t(n)),b(n)&&(n=new Date(n)),!w(n))return n;for(;r;)(a=ri.exec(r))?(u=u.concat(or.call(a,1)),r=u.pop()):(u.push(r),r=null);return o(u,function(t){i=ni[t],s+=i?i(n,e.DATETIME_FORMATS):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function qn(){return function(e){return D(e,!0)}}function Bn(){return function(e,t){if(!x(e)&&!S(e))return e;if(t=f(t),S(e))return t?t>=0?e.slice(0,t):e.slice(t,e.length):"";var n,r,i=[];for(t>e.length?t=e.length:t<-e.length&&(t=-e.length),t>0?(n=0,r=t):(n=e.length+t,r=e.length);r>n;n++)i.push(e[n]);return i}}function Un(e){return function(t,n,r){function i(e,t){return F(t)?function(t,n){return e(n,t)}:e}function o(e,t){var n=typeof e,r=typeof t;return n==r?("string"==n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}if(!x(t)||!n)return t;n=x(n)?n:[n],n=I(n,function(t){var n=!1,r=t||m;if(S(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),r=e(t),r.constant)){var a=r();return i(function(e,t){return o(e[a],t[a])},n)}return i(function(e,t){return o(r(e),r(t))},n)});for(var a=[],s=0;s<t.length;s++)a.push(t[s]);return a.sort(i(function(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0},r))}}function Vn(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function Hn(e,t,n,r){function i(t,n){n=n?"-"+K(n,"-"):"",r.removeClass(e,(t?Ci:xi)+n),r.addClass(e,(t?xi:Ci)+n)}var a=this,s=e.parent().controller("form")||ci,u=0,c=a.$error={},l=[];a.$name=t.name||t.ngForm,a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,s.$addControl(a),e.addClass(Ei),i(!0),a.$addControl=function(e){X(e.$name,"input"),l.push(e),e.$name&&(a[e.$name]=e)},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],o(c,function(t,n){a.$setValidity(n,!0,e)}),O(l,e)},a.$setValidity=function(e,t,n){var r=c[e];if(t)r&&(O(r,n),r.length||(u--,u||(i(t),a.$valid=!0,a.$invalid=!1),c[e]=!1,i(!0,e),s.$setValidity(e,!0,a)));else{if(u||i(t),r){if(-1!=_(r,n))return}else c[e]=r=[],u++,i(!1,e),s.$setValidity(e,!1,a);r.push(n),a.$valid=!1,a.$invalid=!0}},a.$setDirty=function(){r.removeClass(e,Ei),r.addClass(e,ki),a.$dirty=!0,a.$pristine=!1,s.$setDirty()
},a.$setPristine=function(){r.removeClass(e,ki),r.addClass(e,Ei),a.$dirty=!1,a.$pristine=!0,o(l,function(e){e.$setPristine()})}}function Wn(e,t,r,i){return e.$setValidity(t,r),r?i:n}function zn(e,t,n){var r=n.prop("validity");$(r)&&e.$parsers.push(function(n){return e.$error[t]||!(r.badInput||r.customError||r.typeMismatch)||r.valueMissing?n:void e.$setValidity(t,!1)})}function Gn(e,t,n,i,o,a){var s=t.prop("validity");if(!o.android){var u=!1;t.on("compositionstart",function(){u=!0}),t.on("compositionend",function(){u=!1,c()})}var c=function(){if(!u){var r=t.val();F(n.ngTrim||"T")&&(r=pr(r)),(i.$viewValue!==r||s&&""===r&&!s.valueMissing)&&(e.$$phase?i.$setViewValue(r):e.$apply(function(){i.$setViewValue(r)}))}};if(o.hasEvent("input"))t.on("input",c);else{var l,p=function(){l||(l=a.defer(function(){c(),l=null}))};t.on("keydown",function(e){e=e.keyCode,91===e||e>15&&19>e||e>=37&&40>=e||p()}),o.hasEvent("paste")&&t.on("paste cut",p)}t.on("change",c),i.$render=function(){t.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var h=n.ngPattern;if(h&&((o=h.match(/^\/(.*)\/([gim]*)$/))?(h=RegExp(o[1],o[2]),o=function(e){return Wn(i,"pattern",i.$isEmpty(e)||h.test(e),e)}):o=function(n){var o=e.$eval(h);if(!o||!o.test)throw r("ngPattern")("noregexp",h,o,q(t));return Wn(i,"pattern",i.$isEmpty(n)||o.test(n),n)},i.$formatters.push(o),i.$parsers.push(o)),n.ngMinlength){var d=f(n.ngMinlength);o=function(e){return Wn(i,"minlength",i.$isEmpty(e)||e.length>=d,e)},i.$parsers.push(o),i.$formatters.push(o)}if(n.ngMaxlength){var m=f(n.ngMaxlength);o=function(e){return Wn(i,"maxlength",i.$isEmpty(e)||e.length<=m,e)},i.$parsers.push(o),i.$formatters.push(o)}}function Kn(e,t){return function(n){var r;return w(n)?n:S(n)&&(e.lastIndex=0,n=e.exec(n))?(n.shift(),r={yyyy:0,MM:1,dd:1,HH:0,mm:0},o(n,function(e,n){n<t.length&&(r[t[n]]=+e)}),new Date(r.yyyy,r.MM-1,r.dd,r.HH,r.mm)):0/0}}function Jn(e,t,r,i){return function(o,a,s,u,c,l,p){Gn(o,a,s,u,c,l),u.$parsers.push(function(i){return u.$isEmpty(i)?(u.$setValidity(e,!0),null):t.test(i)?(u.$setValidity(e,!0),r(i)):(u.$setValidity(e,!1),n)}),u.$formatters.push(function(e){return w(e)?p("date")(e,i):""}),s.min&&(o=function(e){var t=u.$isEmpty(e)||r(e)>=r(s.min);return u.$setValidity("min",t),t?e:n},u.$parsers.push(o),u.$formatters.push(o)),s.max&&(o=function(e){var t=u.$isEmpty(e)||r(e)<=r(s.max);return u.$setValidity("max",t),t?e:n},u.$parsers.push(o),u.$formatters.push(o))}}function Yn(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[],r=0;e:for(;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){if(!x(e)){if(S(e))return e.split(" ");if($(e)){var t=[];return o(e,function(e,n){e&&t.push(n)}),t}}return e}return{restrict:"AC",link:function(a,s,u){function c(e,t){var n=s.data("$classCounts")||{},r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function l(e){if(!0===t||a.$index%2===t){var o=i(e||[]);if(p){if(!M(e,p)){var l=i(p),f=r(o,l),o=r(l,o),o=c(o,-1),f=c(f,1);0===f.length?n.removeClass(s,o):0===o.length?n.addClass(s,f):n.setClass(s,f,o)}}else{var f=c(o,1);u.$addClass(f)}}p=L(e)}var p;a.$watch(u[e],l,!0),u.$observe("class",function(){l(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==r&1){var s=i(a.$eval(u[e]));o===t?(o=c(s,1),u.$addClass(o)):(o=c(s,-1),u.$removeClass(o))}})}}}]}var Xn,Qn,Zn,er,tr,nr=function(e){return S(e)?e.toLowerCase():e},rr=Object.prototype.hasOwnProperty,ir=function(e){return S(e)?e.toUpperCase():e},or=[].slice,ar=[].push,sr=Object.prototype.toString,ur=r("ng"),cr=e.angular||(e.angular={}),lr=["0","0","0"];Xn=f((/msie (\d+)/.exec(nr(navigator.userAgent))||[])[1]),isNaN(Xn)&&(Xn=f((/trident\/.*; rv:(\d+)/.exec(nr(navigator.userAgent))||[])[1])),d.$inject=[],m.$inject=[];var pr=function(){return String.prototype.trim?function(e){return S(e)?e.trim():e}:function(e){return S(e)?e.replace(/^\s\s*/,"").replace(/\s\s*$/,""):e}}();tr=9>Xn?function(e){return e=e.nodeName?e:e[0],e.scopeName&&"HTML"!=e.scopeName?ir(e.scopeName+":"+e.nodeName):e.nodeName}:function(e){return e.nodeName?e.nodeName:e[0].nodeName};var fr=/[A-Z]/g,hr={full:"1.3.0-beta.5",major:1,minor:3,dot:0,codeName:"chimeric-glitterfication"},dr=ot.cache={},mr=ot.expando="ng-"+(new Date).getTime(),gr=1,vr=e.document.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},yr=e.document.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)};ot._data=function(e){return this.cache[e[this.expando]]||{}};var $r=/([\:\-\_]+(.))/g,Sr=/^moz([A-Z])/,br=r("jqLite"),wr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,xr=/<|&#?\w+;/,Cr=/<([\w:]+)/,Er=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,kr={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};kr.optgroup=kr.option,kr.tbody=kr.tfoot=kr.colgroup=kr.caption=kr.thead,kr.th=kr.td;var Ar=ot.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),ot(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Qn(e>=0?this[e]:this[this.length+e])},length:0,push:ar,sort:[].sort,splice:[].splice},Ir={};o("multiple selected checked disabled readOnly required open".split(" "),function(e){Ir[nr(e)]=e});var _r={};o("input select option textarea button form details".split(" "),function(e){_r[ir(e)]=!0}),o({data:pt,inheritedData:vt,scope:function(e){return Qn(e).data("$scope")||vt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Qn(e).data("$isolateScope")||Qn(e).data("$isolateScopeNoTemplate")},controller:gt,injector:function(e){return vt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ft,css:function(e,t,r){if(t=nt(t),!y(r)){var i;return 8>=Xn&&(i=e.currentStyle&&e.currentStyle[t],""===i&&(i="auto")),i=i||e.style[t],8>=Xn&&(i=""===i?n:i),i}e.style[t]=r},attr:function(e,t,r){var i=nr(t);if(Ir[i]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||d).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute)return e=e.getAttribute(t,2),null===e?n:e},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,n){var r=t[e.nodeType];return v(n)?r?e[r]:"":void(e[r]=n)}var t=[];return 9>Xn?(t[1]="innerText",t[3]="nodeValue"):t[1]=t[3]="textContent",e.$dv="",e}(),val:function(e,t){if(v(t)){if("SELECT"===tr(e)&&e.multiple){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(v(t))return e.innerHTML;for(var n=0,r=e.childNodes;n<r.length;n++)st(r[n]);e.innerHTML=t},empty:yt},function(e,t){ot.prototype[t]=function(t,r){var i,o;if(e!==yt&&(2==e.length&&e!==ft&&e!==gt?t:r)===n){if($(t)){for(i=0;i<this.length;i++)if(e===pt)e(this[i],t);else for(o in t)e(this[i],o,t[o]);return this}i=e.$dv,o=i===n?Math.min(this.length,1):this.length;for(var a=0;o>a;a++){var s=e(this[a],t,r);i=i?i+s:s}return i}for(i=0;i<this.length;i++)e(this[i],t,r);return this}}),o({removeData:ct,dealoc:st,on:function co(e,n,r,i){if(y(i))throw br("onargs");var a=lt(e,"events"),s=lt(e,"handle");a||lt(e,"events",a={}),s||lt(e,"handle",s=St(e,a)),o(n.split(" "),function(n){var i=a[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=t.body.contains||t.body.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1};a[n]=[],co(e,{mouseleave:"mouseout",mouseenter:"mouseover"}[n],function(e){var t=e.relatedTarget;t&&(t===this||o(this,t))||s(e,n)})}else vr(e,n,s),a[n]=[];i=a[n]}i.push(r)})},off:ut,one:function(e,t,n){e=Qn(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;st(e),o(new ot(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){o(new ot(t),function(t){1!==e.nodeType&&11!==e.nodeType||e.appendChild(t)})},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;o(new ot(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Qn(t)[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:function(e){st(e);var t=e.parentNode;t&&t.removeChild(e)},after:function(e,t){var n=e,r=e.parentNode;o(new ot(t),function(e){r.insertBefore(e,n.nextSibling),n=e})},addClass:dt,removeClass:ht,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;v(r)&&(r=!ft(e,t)),(r?dt:ht)(e,t)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(e=e.nextSibling;null!=e&&1!==e.nodeType;)e=e.nextSibling;return e},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:at,triggerHandler:function(e,t,n){t=(lt(e,"events")||{})[t],n=n||[];var r=[{preventDefault:d,stopPropagation:d}];o(t,function(t){t.apply(e,r.concat(n))})}},function(e,t){ot.prototype[t]=function(t,n,r){for(var i,o=0;o<this.length;o++)v(i)?(i=e(this[o],t,n,r),y(i)&&(i=Qn(i))):mt(i,e(this[o],t,n,r));return y(i)?i:this},ot.prototype.bind=ot.prototype.on,ot.prototype.unbind=ot.prototype.off}),wt.prototype={put:function(e,t){this[bt(e)]=t},get:function(e){return this[bt(e)]},remove:function(e){var t=this[e=bt(e)];return delete this[e],t}};var Or=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Lr=/,/,Pr=/^\s*(_?)(\S+?)\1\s*$/,Mr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,jr=r("$injector"),Tr=r("$animate"),Nr=["$provide",function(e){this.$$selectors={},this.register=function(t,n){var r=t+"-animation";if(t&&"."!=t.charAt(0))throw Tr("notcsel",t);this.$$selectors[t.substr(1)]=r,e.factory(r,n)},this.classNameFilter=function(e){return 1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null),this.$$classNameFilter},this.$get=["$timeout","$$asyncCallback",function(e,t){return{enter:function(e,n,r,i){r?r.after(e):n.prepend(e),i&&t(i)},leave:function(e,n){e.remove(),n&&t(n)},move:function(e,t,n,r){this.enter(e,t,n,r)},addClass:function(e,n,r){n=S(n)?n:x(n)?n.join(" "):"",o(e,function(e){dt(e,n)}),r&&t(r)},removeClass:function(e,n,r){n=S(n)?n:x(n)?n.join(" "):"",o(e,function(e){ht(e,n)}),r&&t(r)},setClass:function(e,n,r,i){o(e,function(e){dt(e,n),ht(e,r)}),i&&t(i)},enabled:d}}]}],Dr=r("$compile");Lt.$inject=["$provide","$$sanitizeUriProvider"];var Rr=/^(x[\:\-_]|data[\:\-_])/i,Fr=r("$interpolate"),qr=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Br={http:80,https:443,ftp:21},Ur=r("$location");tn.prototype=en.prototype=Zt.prototype={$$html5:!1,$$replace:!1,absUrl:nn("$$absUrl"),url:function(e,t){if(v(e))return this.$$url;var n=qr.exec(e);return n[1]&&this.path(decodeURIComponent(n[1])),(n[2]||n[1])&&this.search(n[3]||""),this.hash(n[5]||"",t),this},protocol:nn("$$protocol"),host:nn("$$host"),port:nn("$$port"),path:rn("$$path",function(e){return"/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(S(e))this.$$search=U(e);else{if(!$(e))throw Ur("isrcharg");this.$$search=e}break;default:v(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:rn("$$hash",m),replace:function(){return this.$$replace=!0,this}};var Vr,Hr=r("$parse"),Wr={},zr={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:d,"+":function(e,t,r,i){return r=r(e,t),i=i(e,t),y(r)?y(i)?r+i:r:y(i)?i:n},"-":function(e,t,n,r){return n=n(e,t),r=r(e,t),(y(n)?n:0)-(y(r)?r:0)},"*":function(e,t,n,r){return n(e,t)*r(e,t)},"/":function(e,t,n,r){return n(e,t)/r(e,t)},"%":function(e,t,n,r){return n(e,t)%r(e,t)},"^":function(e,t,n,r){return n(e,t)^r(e,t)},"=":d,"===":function(e,t,n,r){return n(e,t)===r(e,t)},"!==":function(e,t,n,r){return n(e,t)!==r(e,t)},"==":function(e,t,n,r){return n(e,t)==r(e,t)},"!=":function(e,t,n,r){return n(e,t)!=r(e,t)},"<":function(e,t,n,r){return n(e,t)<r(e,t)},">":function(e,t,n,r){return n(e,t)>r(e,t)},"<=":function(e,t,n,r){return n(e,t)<=r(e,t)},">=":function(e,t,n,r){return n(e,t)>=r(e,t)},"&&":function(e,t,n,r){return n(e,t)&&r(e,t)},"||":function(e,t,n,r){return n(e,t)||r(e,t)},"&":function(e,t,n,r){return n(e,t)&r(e,t)},"|":function(e,t,n,r){return r(e,t)(e,t,n(e,t))},"!":function(e,t,n){return!n(e,t)}},Gr={n:"\n",f:"\f",r:"\r",t:" ",v:"","'":"'",'"':'"'},Kr=function(e){this.options=e};Kr.prototype={constructor:Kr,lex:function(e){this.text=e,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];var t;for(e=[];this.index<this.text.length;){if(this.ch=this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent(),this.was("{,")&&"{"===e[0]&&(t=this.tokens[this.tokens.length-1])&&(t.json=-1===t.text.indexOf("."));else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch,json:this.was(":[,")&&this.is("{[")||this.is("}]:,")}),this.is("{[")&&e.unshift(this.ch),this.is("}]")&&e.shift(),this.index++;else{if(this.isWhitespace(this.ch)){this.index++;continue}var r=this.ch+this.peek(),i=r+this.peek(2),o=zr[this.ch],a=zr[r],s=zr[i];s?(this.tokens.push({index:this.index,text:i,fn:s}),this.index+=3):a?(this.tokens.push({index:this.index,text:r,fn:a}),this.index+=2):o?(this.tokens.push({index:this.index,text:this.ch,fn:o,json:this.was("[,:")&&this.is("+-")}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}this.lastCh=this.ch}return this.tokens},is:function(e){return-1!==e.indexOf(this.ch)},was:function(e){return-1!==e.indexOf(this.lastCh)},peek:function(e){return e=e||1,this.index+e<this.text.length?this.text.charAt(this.index+e):!1},isNumber:function(e){return e>="0"&&"9">=e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||""===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){throw n=n||this.index,t=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n,Hr("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=nr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}e*=1,this.tokens.push({index:t,text:e,json:!0,fn:function(){return e}})},readIdent:function(){for(var e,t,n,r,i=this,o="",a=this.index;this.index<this.text.length&&(r=this.text.charAt(this.index),"."===r||this.isIdent(r)||this.isNumber(r));)"."===r&&(e=this.index),o+=r,this.index++;if(e)for(t=this.index;t<this.text.length;){if(r=this.text.charAt(t),"("===r){n=o.substr(e-a+1),o=o.substr(0,e-a),this.index=t;break}if(!this.isWhitespace(r))break;t++}if(a={index:a,text:o},zr.hasOwnProperty(o))a.fn=zr[o],a.json=zr[o];else{var s=hn(o,this.options,this.text);a.fn=p(function(e,t){return s(e,t)},{assign:function(e,t){return cn(e,o,t,i.text,i.options)}})}this.tokens.push(a),n&&(this.tokens.push({index:e,text:".",json:!1}),this.tokens.push({index:e+1,text:n,json:!1}))},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index),r=r+o;if(i)"u"===o?(o=this.text.substring(this.index+1,this.index+5),o.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))):n=(i=Gr[o])?n+i:n+o,i=!1;else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,string:n,json:!0,fn:function(){return n}});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Jr=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n};Jr.ZERO=p(function(){return 0},{constant:!0}),Jr.prototype={constructor:Jr,parse:function(e,t){this.text=e,this.json=t,this.tokens=this.lexer.lex(e),t&&(this.assignment=this.logicalOR,this.functionCall=this.fieldAccess=this.objectIndex=this.filterChain=function(){this.throwError("is not valid json",{text:e,index:0})});var n=t?this.primary():this.statements();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),n.literal=!!n.literal,n.constant=!!n.constant,n},primary:function(){var e;if(this.expect("("))e=this.filterChain(),this.consume(")");else if(this.expect("["))e=this.arrayDeclaration();else if(this.expect("{"))e=this.object();else{var t=this.expect();(e=t.fn)||this.throwError("not a primary expression",t),t.json&&(e.constant=!0,e.literal=!0)}for(var n;t=this.expect("(","[",".");)"("===t.text?(e=this.functionCall(e,n),n=null):"["===t.text?(n=e,e=this.objectIndex(e)):"."===t.text?(n=e,e=this.fieldAccess(e)):this.throwError("IMPOSSIBLE");return e},throwError:function(e,t){throw Hr("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},peekToken:function(){if(0===this.tokens.length)throw Hr("ueoe",this.text);return this.tokens[0]},peek:function(e,t,n,r){if(0<this.tokens.length){var i=this.tokens[0],o=i.text;if(o===e||o===t||o===n||o===r||!(e||t||n||r))return i}return!1},expect:function(e,t,n,r){return(e=this.peek(e,t,n,r))?(this.json&&!e.json&&this.throwError("is not valid json",e),this.tokens.shift(),e):!1},consume:function(e){this.expect(e)||this.throwError("is unexpected, expecting ["+e+"]",this.peek())},unaryFn:function(e,t){return p(function(n,r){return e(n,r,t)},{constant:t.constant})},ternaryFn:function(e,t,n){return p(function(r,i){return e(r,i)?t(r,i):n(r,i)},{constant:e.constant&&t.constant&&n.constant})},binaryFn:function(e,t,n){return p(function(r,i){return t(r,i,e,n)},{constant:e.constant&&n.constant})},statements:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.filterChain()),!this.expect(";"))return 1===e.length?e[0]:function(t,n){for(var r,i=0;i<e.length;i++){var o=e[i];o&&(r=o(t,n))}return r}},filterChain:function(){for(var e,t=this.expression();;){if(!(e=this.expect("|")))return t;t=this.binaryFn(t,e.fn,this.filter())}},filter:function(){for(var e=this.expect(),t=this.$filter(e.text),n=[];;){if(!(e=this.expect(":"))){var r=function(e,r,i){i=[i];for(var o=0;o<n.length;o++)i.push(n[o](e,r));return t.apply(e,i)};return function(){return r}}n.push(this.expression())}},expression:function(){return this.assignment()},assignment:function(){var e,t,n=this.ternary();return(t=this.expect("="))?(n.assign||this.throwError("implies assignment but ["+this.text.substring(0,t.index)+"] can not be assigned to",t),e=this.ternary(),function(t,r){return n.assign(t,e(t,r),r)}):n},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")?(e=this.ternary(),(t=this.expect(":"))?this.ternaryFn(n,e,this.ternary()):void this.throwError("expected :",t)):n},logicalOR:function(){for(var e,t=this.logicalAND();;){if(!(e=this.expect("||")))return t;t=this.binaryFn(t,e.fn,this.logicalAND())}},logicalAND:function(){var e,t=this.equality();return(e=this.expect("&&"))&&(t=this.binaryFn(t,e.fn,this.logicalAND())),t},equality:function(){var e,t=this.relational();return(e=this.expect("==","!=","===","!=="))&&(t=this.binaryFn(t,e.fn,this.equality())),t},relational:function(){var e,t=this.additive();return(e=this.expect("<",">","<=",">="))&&(t=this.binaryFn(t,e.fn,this.relational())),t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t=this.binaryFn(t,e.fn,this.multiplicative());return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t=this.binaryFn(t,e.fn,this.unary());return t},unary:function(){var e;return this.expect("+")?this.primary():(e=this.expect("-"))?this.binaryFn(Jr.ZERO,e.fn,this.unary()):(e=this.expect("!"))?this.unaryFn(e.fn,this.unary()):this.primary()},fieldAccess:function(e){var t=this,n=this.expect().text,r=hn(n,this.options,this.text);return p(function(t,n,i){return r(i||e(t,n))},{assign:function(r,i,o){return cn(e(r,o),n,i,t.text,t.options)}})},objectIndex:function(e){var t=this,r=this.expression();return this.consume("]"),p(function(i,o){var a,s=e(i,o),u=r(i,o);return s?((s=un(s[u],t.text))&&s.then&&t.options.unwrapPromises&&(a=s,"$$v"in s||(a.$$v=n,a.then(function(e){a.$$v=e})),s=s.$$v),s):n},{assign:function(n,i,o){var a=r(n,o);return un(e(n,o),t.text)[a]=i}})},functionCall:function(e,t){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var a=[],s=t?t(i,o):i,u=0;u<n.length;u++)a.push(n[u](i,o));return u=e(i,o,s)||d,un(s,r.text),un(u,r.text),a=u.apply?u.apply(s,a):u(a[0],a[1],a[2],a[3],a[4]),un(a,r.text)}},arrayDeclaration:function(){var e=[],t=!0;if("]"!==this.peekToken().text)do{if(this.peek("]"))break;var n=this.expression();e.push(n),n.constant||(t=!1)}while(this.expect(","));return this.consume("]"),p(function(t,n){for(var r=[],i=0;i<e.length;i++)r.push(e[i](t,n));return r},{literal:!0,constant:t})},object:function(){var e=[],t=!0;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;var n=this.expect(),n=n.string||n.text;this.consume(":");var r=this.expression();e.push({key:n,value:r}),r.constant||(t=!1)}while(this.expect(","));return this.consume("}"),p(function(t,n){for(var r={},i=0;i<e.length;i++){var o=e[i];r[o.key]=o.value(t,n)}return r},{literal:!0,constant:t})}};var Yr={},Xr=r("$sce"),Qr={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Zr=t.createElement("a"),ei=kn(e.location.href,!0);_n.$inject=["$provide"],Ln.$inject=["$locale"],Pn.$inject=["$locale"];var ti=".",ni={yyyy:Tn("FullYear",4),yy:Tn("FullYear",2,0,!0),y:Tn("FullYear",1),MMMM:Nn("Month"),MMM:Nn("Month",!0),MM:Tn("Month",2,1),M:Tn("Month",1,1),dd:Tn("Date",2),d:Tn("Date",1),HH:Tn("Hours",2),H:Tn("Hours",1),hh:Tn("Hours",2,-12),h:Tn("Hours",1,-12),mm:Tn("Minutes",2),m:Tn("Minutes",1),ss:Tn("Seconds",2),s:Tn("Seconds",1),sss:Tn("Milliseconds",3),EEEE:Nn("Day"),EEE:Nn("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e){return e=-1*e.getTimezoneOffset(),e=(e>=0?"+":"")+(jn(Math[e>0?"floor":"ceil"](e/60),2)+jn(Math.abs(e%60),2))},ww:Rn(2),w:Rn(1)},ri=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,ii=/^\-?\d+$/;Fn.$inject=["$locale"];var oi=g(nr),ai=g(ir);Un.$inject=["$parse"];var si=g({restrict:"E",compile:function(e,n){return 8>=Xn&&(n.href||n.name||n.$set("href",""),e.append(t.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(e,t){var n="[object SVGAnimatedString]"===sr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}),ui={};o(Ir,function(e,t){if("multiple"!=e){var n=Pt("ng-"+t);ui[n]=function(){return{priority:100,link:function(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}}}}),o(["src","srcset","href"],function(e){var t=Pt("ng-"+e);ui[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===sr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(e){e&&(i.$set(a,e),Xn&&o&&r.prop(o,i[a]))})}}}});var ci={$addControl:d,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d};Hn.$inject=["$element","$attrs","$scope","$animate"];var li=function(e){return["$timeout",function(t){return{name:"form",restrict:e?"EAC":"E",controller:Hn,compile:function(){return{pre:function(e,r,i,o){if(!i.action){var a=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};vr(r[0],"submit",a),r.on("$destroy",function(){t(function(){yr(r[0],"submit",a)},0,!1)})}var s=r.parent().controller("form"),u=i.name||i.ngForm;u&&cn(e,u,o,u),s&&r.on("$destroy",function(){s.$removeControl(o),u&&cn(e,u,n,u),p(o,ci)})}}}}}]},pi=li(),fi=li(!0),hi=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,di=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,mi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,gi=/^(\d{4})-(\d{2})-(\d{2})$/,vi=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)$/,yi=/^(\d{4})-W(\d\d)$/,$i=/^(\d{4})-(\d\d)$/,Si=/^(\d\d):(\d\d)$/,bi={text:Gn,date:Jn("date",gi,Kn(gi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Jn("datetimelocal",vi,Kn(vi,["yyyy","MM","dd","HH","mm"]),"yyyy-MM-ddTHH:mm"),time:Jn("time",Si,Kn(Si,["HH","mm"]),"HH:mm"),week:Jn("week",yi,function(e){if(w(e))return e;if(S(e)){yi.lastIndex=0;var t=yi.exec(e);if(t){e=+t[1];var n=+t[2],t=Dn(e),n=7*(n-1);return new Date(e,0,t.getDate()+n)}}return 0/0},"yyyy-Www"),month:Jn("month",$i,Kn($i,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,r,i,o,a){Gn(e,t,r,i,o,a),i.$parsers.push(function(e){var t=i.$isEmpty(e);return t||mi.test(e)?(i.$setValidity("number",!0),""===e?null:t?e:parseFloat(e)):(i.$setValidity("number",!1),n)}),zn(i,"number",t),i.$formatters.push(function(e){return i.$isEmpty(e)?"":""+e}),r.min&&(e=function(e){var t=parseFloat(r.min);return Wn(i,"min",i.$isEmpty(e)||e>=t,e)},i.$parsers.push(e),i.$formatters.push(e)),r.max&&(e=function(e){var t=parseFloat(r.max);return Wn(i,"max",i.$isEmpty(e)||t>=e,e)},i.$parsers.push(e),i.$formatters.push(e)),i.$formatters.push(function(e){return Wn(i,"number",i.$isEmpty(e)||b(e),e)})},url:function(e,t,n,r,i,o){Gn(e,t,n,r,i,o),e=function(e){return Wn(r,"url",r.$isEmpty(e)||hi.test(e),e)},r.$formatters.push(e),r.$parsers.push(e)},email:function(e,t,n,r,i,o){Gn(e,t,n,r,i,o),e=function(e){return Wn(r,"email",r.$isEmpty(e)||di.test(e),e)},r.$formatters.push(e),r.$parsers.push(e)},radio:function(e,t,n,r){v(n.name)&&t.attr("name",c()),t.on("click",function(){t[0].checked&&e.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){t[0].checked=n.value==r.$viewValue},n.$observe("value",r.$render)},checkbox:function(e,t,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;S(i)||(i=!0),S(o)||(o=!1),t.on("click",function(){e.$apply(function(){r.$setViewValue(t[0].checked)})}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e!==i},r.$formatters.push(function(e){return e===i}),r.$parsers.push(function(e){return e?i:o})},hidden:d,button:d,submit:d,reset:d,file:d},wi=["$browser","$sniffer","$filter",function(e,t,n){return{restrict:"E",require:"?ngModel",link:function(r,i,o,a){a&&(bi[nr(o.type)]||bi.text)(r,i,o,a,t,e,n)}}}],xi="ng-valid",Ci="ng-invalid",Ei="ng-pristine",ki="ng-dirty",Ai=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(e,t,n,i,a,s){function u(e,t){t=t?"-"+K(t,"-"):"",s.removeClass(i,(e?Ci:xi)+t),s.addClass(i,(e?xi:Ci)+t)}this.$modelValue=this.$viewValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var c=a(n.ngModel),l=c.assign;if(!l)throw r("ngModel")("nonassign",n.ngModel,q(i));this.$render=d,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e};var p=i.inheritedData("$formController")||ci,f=0,h=this.$error={};i.addClass(Ei),u(!0),this.$setValidity=function(e,t){h[e]!==!t&&(t?(h[e]&&f--,f||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,f++),h[e]=!t,u(t,e),p.$setValidity(e,t,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,s.removeClass(i,ki),s.addClass(i,Ei)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,s.removeClass(i,Ei),s.addClass(i,ki),p.$setDirty()),o(this.$parsers,function(e){n=e(n)}),this.$modelValue!==n&&(this.$modelValue=n,l(e,n),o(this.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}}))};var m=this;e.$watch(function(){var t=c(e);if(m.$modelValue!==t){var n=m.$formatters,r=n.length;for(m.$modelValue=t;r--;)t=n[r](t);m.$viewValue!==t&&(m.$viewValue=t,m.$render())}return t})}],Ii=function(){return{require:["ngModel","^?form"],controller:Ai,link:function(e,t,n,r){var i=r[0],o=r[1]||ci;o.$addControl(i),e.$on("$destroy",function(){o.$removeControl(i)})}}},_i=g({require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Oi=function(){return{require:"?ngModel",link:function(e,t,n,r){if(r){n.required=!0;var i=function(e){return n.required&&r.$isEmpty(e)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),e)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Li=function(){return{require:"ngModel",link:function(e,t,r,i){var a=(e=/\/(.*)\//.exec(r.ngList))&&RegExp(e[1])||r.ngList||",";i.$parsers.push(function(e){if(!v(e)){var t=[];return e&&o(e.split(a),function(e){e&&t.push(pr(e))}),t}}),i.$formatters.push(function(e){return x(e)?e.join(", "):n}),i.$isEmpty=function(e){return!e||!e.length}}}},Pi=/^(true|false|\d+)$/,Mi=function(){return{priority:100,compile:function(e,t){return Pi.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},ji=Vn(function(e,t,r){t.addClass("ng-binding").data("$binding",r.ngBind),e.$watch(r.ngBind,function(e){t.text(e==n?"":e)})}),Ti=["$interpolate",function(e){return function(t,n,r){t=e(n.attr(r.$attr.ngBindTemplate)),n.addClass("ng-binding").data("$binding",t),r.$observe("ngBindTemplate",function(e){n.text(e)})}}],Ni=["$sce","$parse",function(e,t){return function(n,r,i){r.addClass("ng-binding").data("$binding",i.ngBindHtml);var o=t(i.ngBindHtml);n.$watch(function(){return(o(n)||"").toString()},function(){r.html(e.getTrustedHtml(o(n))||"")})}}],Di=Yn("",!0),Ri=Yn("Odd",0),Fi=Yn("Even",1),qi=Vn({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Bi=[function(){return{scope:!0,controller:"@",priority:500}}],Ui={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Pt("ng-"+e);Ui[t]=["$parse",function(n){return{compile:function(r,i){var o=n(i[t]);return function(t,n){n.on(nr(e),function(e){t.$apply(function(){o(t,{$event:e})})})}}}}]});var Vi=["$animate",function(e){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(o){F(o)?u||(u=n.$new(),a(u,function(n){n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=Z(s.clone),e.leave(c,function(){c=null}),s=null))})}}}],Hi=["$http","$templateCache","$anchorScroll","$animate","$sce",function(e,t,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:cr.noop,compile:function(o,a){var s=a.ngInclude||a.src,u=a.onload||"",c=a.autoscroll;return function(o,a,l,p,f){var h,d,m,g=0,v=function(){d&&(d.remove(),d=null),h&&(h.$destroy(),h=null),m&&(r.leave(m,function(){d=null}),d=m,m=null)};o.$watch(i.parseAsResourceUrl(s),function(i){var s=function(){!y(c)||c&&!o.$eval(c)||n()},l=++g;i?(e.get(i,{cache:t}).success(function(e){if(l===g){var t=o.$new();p.template=e,e=f(t,function(e){v(),r.enter(e,null,a,s)}),h=t,m=e,h.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===g&&v()}),o.$emit("$includeContentRequested")):(v(),p.template=null)})}}}}],Wi=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){n.html(i.template),e(n.contents())(t)
}}}],zi=Vn({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Gi=Vn({terminal:!0,priority:1e3}),Ki=["$locale","$interpolate",function(e,t){var n=/{}/g;return{restrict:"EA",link:function(r,i,a){var s=a.count,u=a.$attr.when&&i.attr(a.$attr.when),c=a.offset||0,l=r.$eval(u)||{},p={},f=t.startSymbol(),h=t.endSymbol(),d=/^when(Minus)?(.+)$/;o(a,function(e,t){d.test(t)&&(l[nr(t.replace("when","").replace("Minus","-"))]=i.attr(a.$attr[t]))}),o(l,function(e,r){p[r]=t(e.replace(n,f+s+"-"+c+h))}),r.$watch(function(){var t=parseFloat(r.$eval(s));return isNaN(t)?"":(t in l||(t=e.pluralCat(t-c)),p[t](r,i,!0))},function(e){i.text(e)})}}}],Ji=["$parse","$animate",function(e,n){var a=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,s,u,c,l){var p,f,h,d,m,g,v=u.ngRepeat,y=v.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),$={$id:bt};if(!y)throw a("iexp",v);if(u=y[1],c=y[2],(y=y[3])?(p=e(y),f=function(e,t,n){return g&&($[g]=e),$[m]=t,$.$index=n,p(r,$)}):(h=function(e,t){return bt(t)},d=function(e){return e}),y=u.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!y)throw a("iidexp",u);m=y[3]||y[1],g=y[2];var S={};r.$watchCollection(c,function(e){var u,c,p,y,$,b,w,x,C,E=s[0],k={},A=[];if(i(e))x=e,p=f||h;else{p=f||d,x=[];for(b in e)e.hasOwnProperty(b)&&"$"!=b.charAt(0)&&x.push(b);x.sort()}for(y=x.length,c=A.length=x.length,u=0;c>u;u++)if(b=e===x?u:x[u],w=e[b],w=p(b,w,u),X(w,"`track by` id"),S.hasOwnProperty(w))C=S[w],delete S[w],k[w]=C,A[u]=C;else{if(k.hasOwnProperty(w))throw o(A,function(e){e&&e.scope&&(S[e.id]=e)}),a("dupes",v,w);A[u]={id:w},k[w]=!1}for(b in S)S.hasOwnProperty(b)&&(C=S[b],u=Z(C.clone),n.leave(u),o(u,function(e){e.$$NG_REMOVED=!0}),C.scope.$destroy());for(u=0,c=x.length;c>u;u++){if(b=e===x?u:x[u],w=e[b],C=A[u],A[u-1]&&(E=A[u-1].clone[A[u-1].clone.length-1]),C.scope){$=C.scope,p=E;do p=p.nextSibling;while(p&&p.$$NG_REMOVED);C.clone[0]!=p&&n.move(Z(C.clone),null,Qn(E)),E=C.clone[C.clone.length-1]}else $=r.$new();$[m]=w,g&&($[g]=b),$.$index=u,$.$first=0===u,$.$last=u===y-1,$.$middle=!($.$first||$.$last),$.$odd=!($.$even=0===(1&u)),C.scope||l($,function(e){e[e.length++]=t.createComment(" end ngRepeat: "+v+" "),n.enter(e,null,Qn(E)),E=e,C.scope=$,C.clone=e,k[C.id]=C})}S=k})}}}],Yi=["$animate",function(e){return function(t,n,r){t.$watch(r.ngShow,function(t){e[F(t)?"removeClass":"addClass"](n,"ng-hide")})}}],Xi=["$animate",function(e){return function(t,n,r){t.$watch(r.ngHide,function(t){e[F(t)?"addClass":"removeClass"](n,"ng-hide")})}}],Qi=Vn(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Zi=["$animate",function(e){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(t,n,r,i){var a,s,u,c=[];t.$watch(r.ngSwitch||r.on,function(n){var l,p=c.length;if(p>0){if(u){for(l=0;p>l;l++)u[l].remove();u=null}for(u=[],l=0;p>l;l++){var f=s[l];c[l].$destroy(),u[l]=f,e.leave(f,function(){u.splice(l,1),0===u.length&&(u=null)})}}s=[],c=[],(a=i.cases["!"+n]||i.cases["?"])&&(t.$eval(r.change),o(a,function(n){var r=t.$new();c.push(r),n.transclude(r,function(t){var r=n.element;s.push(t),e.enter(t,r.parent(),r)})}))})}}}],eo=Vn({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),to=Vn({transclude:"element",priority:800,require:"^ngSwitch",link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),no=Vn({link:function(e,t,n,i,o){if(!o)throw r("ngTransclude")("orphan",q(t));o(function(e){t.empty(),t.append(e)})}}),ro=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"==n.type&&e.put(n.id,t[0].text)}}}],io=r("ngOptions"),oo=g({terminal:!0}),ao=["$compile","$parse",function(e,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:d};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(e,t,n){var r,i=this,o={},a=s;i.databound=n.ngModel,i.init=function(e,t,n){a=e,r=n},i.addOption=function(t){X(t,'"option value"'),o[t]=!0,a.$viewValue==t&&(e.val(t),r.parent()&&r.remove())},i.removeOption=function(e){this.hasOption(e)&&(delete o[e],a.$viewValue==e&&this.renderUnknownOption(e))},i.renderUnknownOption=function(t){t="? "+bt(t)+" ?",r.val(t),e.prepend(r),e.val(t),r.prop("selected",!0)},i.hasOption=function(e){return o.hasOwnProperty(e)},t.$on("$destroy",function(){i.renderUnknownOption=d})}],link:function(s,u,c,l){function p(e,t,n,r){n.$render=function(){var e=n.$viewValue;r.hasOption(e)?(C.parent()&&C.remove(),t.val(e),""===e&&m.prop("selected",!0)):v(e)&&m?t.val(""):r.renderUnknownOption(e)},t.on("change",function(){e.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(t.val())})})}function f(e,t,n){var r;n.$render=function(){var e=new wt(n.$viewValue);o(t.find("option"),function(t){t.selected=y(e.get(t.value))})},e.$watch(function(){M(r,n.$viewValue)||(r=L(n.$viewValue),n.$render())}),t.on("change",function(){e.$apply(function(){var e=[];o(t.find("option"),function(t){t.selected&&e.push(t.value)}),n.$setViewValue(e)})})}function h(t,o,s){function u(){var e,n,r,i,u,c={"":[]},$=[""];i=s.$modelValue,u=m(t)||[];var E,k,A,I=f?a(u):u;k={},r=!1;var _,O;if(g)if(v&&x(i))for(r=new wt([]),A=0;A<i.length;A++)k[p]=i[A],r.put(v(t,k),i[A]);else r=new wt(i);for(A=0;E=I.length,E>A;A++){if(n=A,f){if(n=I[A],"$"===n.charAt(0))continue;k[f]=n}k[p]=u[n],e=h(t,k)||"",(n=c[e])||(n=c[e]=[],$.push(e)),g?e=y(r.remove(v?v(t,k):d(t,k))):(v?(e={},e[p]=i,e=v(t,e)===v(t,k)):e=i===d(t,k),r=r||e),_=l(t,k),_=y(_)?_:"",n.push({id:v?v(t,k):f?I[A]:A,label:_,selected:e})}for(g||(S||null===i?c[""].unshift({id:"",label:"",selected:!r}):r||c[""].unshift({id:"?",label:"",selected:!0})),k=0,I=$.length;I>k;k++){for(e=$[k],n=c[e],C.length<=k?(i={element:w.clone().attr("label",e),label:n.label},u=[i],C.push(u),o.append(i.element)):(u=C[k],i=u[0],i.label!=e&&i.element.attr("label",i.label=e)),_=null,A=0,E=n.length;E>A;A++)r=n[A],(e=u[A+1])?(_=e.element,e.label!==r.label&&_.text(e.label=r.label),e.id!==r.id&&_.val(e.id=r.id),e.selected!==r.selected&&_.prop("selected",e.selected=r.selected)):(""===r.id&&S?O=S:(O=b.clone()).val(r.id).attr("selected",r.selected).text(r.label),u.push({element:O,label:r.label,id:r.id,selected:r.selected}),_?_.after(O):i.element.append(O),_=O);for(A++;u.length>A;)u.pop().element.remove()}for(;C.length>k;)C.pop()[0].element.remove()}var c;if(!(c=$.match(i)))throw io("iexp",$,q(o));var l=r(c[2]||c[1]),p=c[4]||c[6],f=c[5],h=r(c[3]||""),d=r(c[2]?c[1]:p),m=r(c[7]),v=c[8]?r(c[8]):null,C=[[{element:o,label:""}]];S&&(e(S)(t),S.removeClass("ng-scope"),S.remove()),o.empty(),o.on("change",function(){t.$apply(function(){var e,r,i,a,u,c,l,h,y=m(t)||[],$={};if(g){for(i=[],u=0,l=C.length;l>u;u++)for(e=C[u],a=1,c=e.length;c>a;a++)if((r=e[a].element)[0].selected){if(r=r.val(),f&&($[f]=r),v)for(h=0;h<y.length&&($[p]=y[h],v(t,$)!=r);h++);else $[p]=y[r];i.push(d(t,$))}}else{if(r=o.val(),"?"==r)i=n;else if(""===r)i=null;else if(v){for(h=0;h<y.length;h++)if($[p]=y[h],v(t,$)==r){i=d(t,$);break}}else $[p]=y[r],f&&($[f]=r),i=d(t,$);1<C[0].length&&C[0][1].id!==r&&(C[0][1].selected=!1)}s.$setViewValue(i)})}),s.$render=u,t.$watch(u)}if(l[1]){var d=l[0];l=l[1];var m,g=c.multiple,$=c.ngOptions,S=!1,b=Qn(t.createElement("option")),w=Qn(t.createElement("optgroup")),C=b.clone();c=0;for(var E=u.children(),k=E.length;k>c;c++)if(""===E[c].value){m=S=E.eq(c);break}d.init(l,S,C),g&&(l.$isEmpty=function(e){return!e||0===e.length}),$?h(s,u,l):g?f(s,u,l):p(s,u,l,d)}}}}],so=["$interpolate",function(e){var t={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(v(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o=n.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.databound?n.prop("selected",!1):a=t,i?e.$watch(i,function(e,t){r.$set("value",e),e!==t&&a.removeOption(t),a.addOption(e)}):a.addOption(r.value),n.on("$destroy",function(){a.removeOption(r.value)})}}}}],uo=g({restrict:"E",terminal:!1});e.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):((Zn=e.jQuery)?(Qn=Zn,p(Zn.fn,{scope:Ar.scope,isolateScope:Ar.isolateScope,controller:Ar.controller,injector:Ar.injector,inheritedData:Ar.inheritedData}),rt("remove",!0,!0,!1),rt("empty",!1,!1,!1),rt("html",!1,!1,!0)):Qn=ot,cr.element=Qn,tt(cr),Qn(t).ready(function(){z(t,G)}))}(window,document),!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}</style>'),function(e){function t(e,n){if({}.hasOwnProperty.call(t.cache,e))return t.cache[e];var r=t.resolve(e);if(!r)throw new Error("Failed to resolve module "+e);var i={id:e,require:t,filename:e,exports:{},loaded:!1,parent:n,children:[]};n&&n.children.push(i);var o=e.slice(0,e.lastIndexOf("/")+1);return t.cache[e]=i.exports,r.call(i.exports,i,i.exports,o,e),i.loaded=!0,t.cache[e]=i.exports}t.modules={},t.cache={},t.resolve=function(e){return{}.hasOwnProperty.call(t.modules,e)?t.modules[e]:void 0},t.define=function(e,n){t.modules[e]=n};var n=function(){var t="/";return{title:"browser",version:"v0.10.24",browser:!0,env:{},argv:[],nextTick:e.setImmediate||function(e){setTimeout(e,0)},cwd:function(){return t},chdir:function(e){t=e}}}();t.define("/tools/entry-point.js",function(n){!function(){"use strict";e.escodegen=t("/escodegen.js",n),escodegen.browser=!0}()}),t.define("/escodegen.js",function(n,r){!function(){"use strict";function i(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:"\n",space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1,parenthesizedComprehensionBlock:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,verbatim:null}}function o(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(n+=e);return n}function a(e){return/[\r\n]/g.test(e)}function s(e){var t=e.length;return t&&V.code.isLineTerminator(e.charCodeAt(t-1))}function u(e,t){function n(e){return"object"==typeof e&&e instanceof Object&&!(e instanceof RegExp)}var r,i;for(r in t)t.hasOwnProperty(r)&&(i=t[r],n(i)?n(e[r])?u(e[r],i):e[r]=u({},i):e[r]=i);return e}function c(e){var t,n,r,i,o;if(e!==e)throw new Error("Numeric literal whose value is NaN");if(0>e||0===e&&0>1/e)throw new Error("Numeric literal whose value is negative");if(e===1/0)return G?"null":K?"1e400":"1e+400";if(t=""+e,!K||t.length<3)return t;for(n=t.indexOf("."),G||48!==t.charCodeAt(0)||1!==n||(n=0,t=t.slice(1)),r=t,t=t.replace("e+","e"),i=0,(o=r.indexOf("e"))>0&&(i=+r.slice(o+1),r=r.slice(0,o)),n>=0&&(i-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+""),o=0;48===r.charCodeAt(r.length+o-1);)--o;return 0!==o&&(i-=o,r=r.slice(0,o)),0!==i&&(r+="e"+i),(r.length<t.length||J&&e>1e12&&Math.floor(e)===e&&(r="0x"+e.toString(16)).length<t.length)&&+r===e&&(t=r),t}function l(e,t){return 8232===(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function p(e){var t,n,r,i,o,a,s,u;if(n=e.toString(),e.source){if(t=n.match(/\/([^/]*)$/),!t)return n;for(r=t[1],n="",s=!1,u=!1,i=0,o=e.source.length;o>i;++i)a=e.source.charCodeAt(i),u?(n+=l(a,u),u=!1):(s?93===a&&(s=!1):47===a?n+="\\":91===a&&(s=!0),n+=l(a,u),u=92===a);return"/"+n+"/"+r}return n}function f(e,t){var n,r="\\";switch(e){case 8:r+="b";break;case 12:r+="f";break;case 9:r+="t";break;default:n=e.toString(16).toUpperCase(),r+=G||e>255?"u"+"0000".slice(n.length)+n:0!==e||V.code.isDecimalDigit(t)?11===e?"x0B":"x"+"00".slice(n.length)+n:"0"}return r}function h(e){var t="\\";switch(e){case 92:t+="\\";break;case 10:t+="n";break;case 13:t+="r";break;case 8232:t+="u2028";break;case 8233:t+="u2029";break;default:throw new Error("Incorrectly classified character")}return t}function d(e){var t,n,r,i;for(i="double"===Y?'"':"'",t=0,n=e.length;n>t;++t){if(r=e.charCodeAt(t),39===r){i='"';break}if(34===r){i="'";break}92===r&&++t}return i+e+i}function m(e){var t,n,r,i,o,a="",s=0,u=0;for(t=0,n=e.length;n>t;++t){if(r=e.charCodeAt(t),39===r)++s;else if(34===r)++u;else if(47===r&&G)a+="\\";else{if(V.code.isLineTerminator(r)||92===r){a+=h(r);continue}if(G&&32>r||!(G||X||r>=32&&126>=r)){a+=f(r,e.charCodeAt(t+1));continue}}a+=String.fromCharCode(r)}if(i=!("double"===Y||"auto"===Y&&s>u),o=i?"'":'"',!(i?s:u))return o+a+o;for(e=a,a=o,t=0,n=e.length;n>t;++t)r=e.charCodeAt(t),(39===r&&i||34===r&&!i)&&(a+="\\"),a+=String.fromCharCode(r);return a+o}function g(e){var t,n,r,i="";for(t=0,n=e.length;n>t;++t)r=e[t],i+=H(r)?g(r):r;return i}function v(e,t){if(!at)return H(e)?g(e):e;if(null==t){if(e instanceof B)return e;t={}}return null==t.loc?new B(null,null,at,e,t.name||null):new B(t.loc.start.line,t.loc.start.column,at===!0?t.loc.source||null:at,e,t.name||null)}function y(){return Z?Z:" "}function $(e,t){var n=v(e).toString(),r=v(t).toString(),i=n.charCodeAt(n.length-1),o=r.charCodeAt(0);return(43===i||45===i)&&i===o||V.code.isIdentifierPart(i)&&V.code.isIdentifierPart(o)||47===i&&105===o?[e,y(),t]:V.code.isWhiteSpace(i)||V.code.isLineTerminator(i)||V.code.isWhiteSpace(o)||V.code.isLineTerminator(o)?[e,t]:[e,Z,t]}function S(e){return[W,e]}function b(e){var t,n;return t=W,W+=z,n=e.call(this,W),W=t,n}function w(e){var t;for(t=e.length-1;t>=0&&!V.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}function x(e,t){var n,r,i,o,a,s,u,c;for(n=e.split(/\r\n|[\r\n]/),s=Number.MAX_VALUE,r=1,i=n.length;i>r;++r){for(o=n[r],a=0;a<o.length&&V.code.isWhiteSpace(o.charCodeAt(a));)++a;s>a&&(s=a)}for("undefined"!=typeof t?(u=W,"*"===n[1][s]&&(t+=" "),W=t):(1&s&&--s,u=W),r=1,i=n.length;i>r;++r)c=v(S(n[r].slice(s))),n[r]=at?c.join(""):c;return W=u,n.join("\n")}function C(e,t){return"Line"===e.type?s(e.value)?"//"+e.value:"//"+e.value+"\n":it.format.indent.adjustMultilineComment&&/[\n\r]/.test(e.value)?x("/*"+e.value+"*/",t):"/*"+e.value+"*/"}function E(e,t){var n,r,i,a,u,c,l;if(e.leadingComments&&e.leadingComments.length>0){for(a=t,i=e.leadingComments[0],t=[],nt&&e.type===R.Program&&0===e.body.length&&t.push("\n"),t.push(C(i)),s(v(t).toString())||t.push("\n"),n=1,r=e.leadingComments.length;r>n;++n)i=e.leadingComments[n],l=[C(i)],s(v(l).toString())||l.push("\n"),t.push(S(l));t.push(S(a))}if(e.trailingComments)for(u=!s(v(t).toString()),c=o(" ",w(v([W,t,z]).toString())),n=0,r=e.trailingComments.length;r>n;++n)i=e.trailingComments[n],u?(t=0===n?[t,z]:[t,c],t.push(C(i,c))):t=[t,S(C(i))],n===r-1||s(v(t).toString())||(t=[t,"\n"]);return t}function k(e,t,n){return n>t?["(",e,")"]:e}function A(e,t,n){var r,i;return i=!it.comment||!e.leadingComments,e.type===R.BlockStatement&&i?[Z,N(e,{functionBody:n})]:e.type===R.EmptyStatement&&i?";":(b(function(){r=[Q,S(N(e,{semicolonOptional:t,functionBody:n}))]}),r)}function I(e,t){var n=s(v(t).toString());return e.type!==R.BlockStatement||it.comment&&e.leadingComments||n?n?[t,W]:[t,Q,W]:[t,Z]}function _(e){var t,n,r;for(r=e.split(/\r\n|\n/),t=1,n=r.length;n>t;t++)r[t]=Q+W+r[t];return r}function O(e,t){var n,r,i;return n=e[it.verbatim],"string"==typeof n?r=k(_(n),F.Sequence,t.precedence):(r=_(n.content),i=null!=n.precedence?n.precedence:F.Sequence,r=k(r,i,t.precedence)),v(r,e)}function L(e){return v(e.name,e)}function P(e,t){var n;return n=e.type===R.Identifier?L(e):T(e,{precedence:t.precedence,allowIn:t.allowIn,allowCall:!0})}function M(e){var t,n,r,i,o;if(o=e.type===R.ArrowFunctionExpression,o&&1===e.params.length&&e.params[0].type===R.Identifier)t=[L(e.params[0])];else{for(t=["("],n=0,r=e.params.length;r>n;++n)t.push(P(e.params[n],{precedence:F.Assignment,allowIn:!0})),r>n+1&&t.push(","+Z);t.push(")")}return o&&(t.push(Z),t.push("=>")),e.expression?(t.push(Z),i=T(e.body,{precedence:F.Assignment,allowIn:!0,allowCall:!0}),"{"===i.toString().charAt(0)&&(i=["(",i,")"]),t.push(i)):t.push(A(e.body,!1,!0)),t}function j(e,t,n){var r=["for"+Z+"("];return b(function(){t.left.type===R.VariableDeclaration?b(function(){r.push(t.left.kind+y()),r.push(N(t.left.declarations[0],{allowIn:!1}))}):r.push(T(t.left,{precedence:F.Call,allowIn:!0,allowCall:!0})),r=$(r,e),r=[$(r,T(t.right,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),")"]}),r.push(A(t.body,n)),r}function T(e,t){var n,r,i,o,u,l,f,h,d,g,S,w,x,C,A,I,_;if(r=t.precedence,x=t.allowIn,C=t.allowCall,i=e.type||t.type,it.verbatim&&e.hasOwnProperty(it.verbatim))return O(e,t);switch(i){case R.SequenceExpression:for(n=[],x|=F.Sequence<r,u=0,l=e.expressions.length;l>u;++u)n.push(T(e.expressions[u],{precedence:F.Assignment,allowIn:x,allowCall:!0})),l>u+1&&n.push(","+Z);n=k(n,F.Sequence,r);break;case R.AssignmentExpression:x|=F.Assignment<r,n=k([T(e.left,{precedence:F.Call,allowIn:x,allowCall:!0}),Z+e.operator+Z,T(e.right,{precedence:F.Assignment,allowIn:x,allowCall:!0})],F.Assignment,r);break;case R.ArrowFunctionExpression:x|=F.ArrowFunction<r,n=k(M(e),F.ArrowFunction,r);break;case R.ConditionalExpression:x|=F.Conditional<r,n=k([T(e.test,{precedence:F.LogicalOR,allowIn:x,allowCall:!0}),Z+"?"+Z,T(e.consequent,{precedence:F.Assignment,allowIn:x,allowCall:!0}),Z+":"+Z,T(e.alternate,{precedence:F.Assignment,allowIn:x,allowCall:!0})],F.Conditional,r);break;case R.LogicalExpression:case R.BinaryExpression:o=q[e.operator],x|=r>o,h=T(e.left,{precedence:o,allowIn:x,allowCall:!0}),S=h.toString(),n=47===S.charCodeAt(S.length-1)&&V.code.isIdentifierPart(e.operator.charCodeAt(0))?[h,y(),e.operator]:$(h,e.operator),h=T(e.right,{precedence:o+1,allowIn:x,allowCall:!0}),"/"===e.operator&&"/"===h.toString().charAt(0)||"<"===e.operator.slice(-1)&&"!--"===h.toString().slice(0,3)?(n.push(y()),n.push(h)):n=$(n,h),n="in"!==e.operator||x?k(n,o,r):["(",n,")"];break;case R.CallExpression:for(n=[T(e.callee,{precedence:F.Call,allowIn:!0,allowCall:!0,allowUnparenthesizedNew:!1})],n.push("("),u=0,l=e.arguments.length;l>u;++u)n.push(T(e.arguments[u],{precedence:F.Assignment,allowIn:!0,allowCall:!0})),l>u+1&&n.push(","+Z);n.push(")"),n=C?k(n,F.Call,r):["(",n,")"];break;case R.NewExpression:if(l=e.arguments.length,A=void 0===t.allowUnparenthesizedNew||t.allowUnparenthesizedNew,n=$("new",T(e.callee,{precedence:F.New,allowIn:!0,allowCall:!1,allowUnparenthesizedNew:A&&!et&&0===l})),!A||et||l>0){for(n.push("("),u=0;l>u;++u)n.push(T(e.arguments[u],{precedence:F.Assignment,allowIn:!0,allowCall:!0})),l>u+1&&n.push(","+Z);n.push(")")}n=k(n,F.New,r);break;case R.MemberExpression:n=[T(e.object,{precedence:F.Call,allowIn:!0,allowCall:C,allowUnparenthesizedNew:!1})],e.computed?(n.push("["),n.push(T(e.property,{precedence:F.Sequence,allowIn:!0,allowCall:C})),n.push("]")):(e.object.type===R.Literal&&"number"==typeof e.object.value&&(h=v(n).toString(),h.indexOf(".")<0&&!/[eExX]/.test(h)&&V.code.isDecimalDigit(h.charCodeAt(h.length-1))&&!(h.length>=2&&48===h.charCodeAt(0))&&n.push(".")),n.push("."),n.push(L(e.property))),n=k(n,F.Member,r);break;case R.UnaryExpression:h=T(e.argument,{precedence:F.Unary,allowIn:!0,allowCall:!0}),""===Z?n=$(e.operator,h):(n=[e.operator],e.operator.length>2?n=$(n,h):(S=v(n).toString(),g=S.charCodeAt(S.length-1),w=h.toString().charCodeAt(0),(43===g||45===g)&&g===w||V.code.isIdentifierPart(g)&&V.code.isIdentifierPart(w)?(n.push(y()),n.push(h)):n.push(h))),n=k(n,F.Unary,r);break;case R.YieldExpression:n=e.delegate?"yield*":"yield",e.argument&&(n=$(n,T(e.argument,{precedence:F.Yield,allowIn:!0,allowCall:!0}))),n=k(n,F.Yield,r);break;case R.UpdateExpression:n=e.prefix?k([e.operator,T(e.argument,{precedence:F.Unary,allowIn:!0,allowCall:!0})],F.Unary,r):k([T(e.argument,{precedence:F.Postfix,allowIn:!0,allowCall:!0}),e.operator],F.Postfix,r);break;case R.FunctionExpression:_=e.generator&&!it.moz.starlessGenerator,n=_?"function*":"function",n=e.id?[n,_?Z:y(),L(e.id),M(e)]:[n+Z,M(e)];break;case R.ArrayPattern:case R.ArrayExpression:if(!e.elements.length){n="[]";break}d=e.elements.length>1,n=["[",d?Q:""],b(function(t){for(u=0,l=e.elements.length;l>u;++u)e.elements[u]?(n.push(d?t:""),n.push(T(e.elements[u],{precedence:F.Assignment,allowIn:!0,allowCall:!0}))):(d&&n.push(t),u+1===l&&n.push(",")),l>u+1&&n.push(","+(d?Q:Z))}),d&&!s(v(n).toString())&&n.push(Q),n.push(d?W:""),n.push("]");break;case R.Property:"get"===e.kind||"set"===e.kind?n=[e.kind,y(),T(e.key,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),M(e.value)]:e.shorthand?n=T(e.key,{precedence:F.Sequence,allowIn:!0,allowCall:!0}):e.method?(n=[],e.value.generator&&n.push("*"),n.push(T(e.key,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),n.push(M(e.value))):n=[T(e.key,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),":"+Z,T(e.value,{precedence:F.Assignment,allowIn:!0,allowCall:!0})];break;case R.ObjectExpression:if(!e.properties.length){n="{}";break}if(d=e.properties.length>1,b(function(){h=T(e.properties[0],{precedence:F.Sequence,allowIn:!0,allowCall:!0,type:R.Property})}),!d&&!a(v(h).toString())){n=["{",Z,h,Z,"}"];break}b(function(t){if(n=["{",Q,t,h],d)for(n.push(","+Q),u=1,l=e.properties.length;l>u;++u)n.push(t),n.push(T(e.properties[u],{precedence:F.Sequence,allowIn:!0,allowCall:!0,type:R.Property})),l>u+1&&n.push(","+Q)}),s(v(n).toString())||n.push(Q),n.push(W),n.push("}");break;case R.ObjectPattern:if(!e.properties.length){n="{}";break}if(d=!1,1===e.properties.length)I=e.properties[0],I.value.type!==R.Identifier&&(d=!0);else for(u=0,l=e.properties.length;l>u;++u)if(I=e.properties[u],!I.shorthand){d=!0;break}n=["{",d?Q:""],b(function(t){for(u=0,l=e.properties.length;l>u;++u)n.push(d?t:""),n.push(T(e.properties[u],{precedence:F.Sequence,allowIn:!0,allowCall:!0})),l>u+1&&n.push(","+(d?Q:Z))}),d&&!s(v(n).toString())&&n.push(Q),n.push(d?W:""),n.push("}");break;case R.ThisExpression:n="this";break;case R.Identifier:n=L(e);break;case R.Literal:if(e.hasOwnProperty("raw")&&ot)try{if(f=ot(e.raw).body[0].expression,f.type===R.Literal&&f.value===e.value){n=e.raw;break}}catch(P){}if(null===e.value){n="null";break}if("string"==typeof e.value){n=m(e.value);break}if("number"==typeof e.value){n=c(e.value);break}if("boolean"==typeof e.value){n=e.value?"true":"false";break}n=p(e.value);break;case R.GeneratorExpression:case R.ComprehensionExpression:n=i===R.GeneratorExpression?["("]:["["],it.moz.comprehensionExpressionStartsWithAssignment&&(h=T(e.body,{precedence:F.Assignment,allowIn:!0,allowCall:!0}),n.push(h)),e.blocks&&b(function(){for(u=0,l=e.blocks.length;l>u;++u)h=T(e.blocks[u],{precedence:F.Sequence,allowIn:!0,allowCall:!0}),u>0||it.moz.comprehensionExpressionStartsWithAssignment?n=$(n,h):n.push(h)}),e.filter&&(n=$(n,"if"+Z),h=T(e.filter,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),n=it.moz.parenthesizedComprehensionBlock?$(n,["(",h,")"]):$(n,h)),it.moz.comprehensionExpressionStartsWithAssignment||(h=T(e.body,{precedence:F.Assignment,allowIn:!0,allowCall:!0}),n=$(n,h)),n.push(i===R.GeneratorExpression?")":"]");break;case R.ComprehensionBlock:h=e.left.type===R.VariableDeclaration?[e.left.kind,y(),N(e.left.declarations[0],{allowIn:!1})]:T(e.left,{precedence:F.Call,allowIn:!0,allowCall:!0}),h=$(h,e.of?"of":"in"),h=$(h,T(e.right,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),n=it.moz.parenthesizedComprehensionBlock?["for"+Z+"(",h,")"]:$("for"+Z,h);break;default:throw new Error("Unknown expression type: "+e.type)}return it.comment&&(n=E(e,n)),v(n,e)}function N(e,t){var n,r,i,o,a,u,c,l,p,f;switch(a=!0,p=";",u=!1,c=!1,t&&(a=void 0===t.allowIn||t.allowIn,tt||t.semicolonOptional!==!0||(p=""),u=t.functionBody,c=t.directiveContext),e.type){case R.BlockStatement:i=["{",Q],b(function(){for(n=0,r=e.body.length;r>n;++n)l=S(N(e.body[n],{semicolonOptional:n===r-1,directiveContext:u})),i.push(l),s(v(l).toString())||i.push(Q)}),i.push(S("}"));break;case R.BreakStatement:i=e.label?"break "+e.label.name+p:"break"+p;break;case R.ContinueStatement:i=e.label?"continue "+e.label.name+p:"continue"+p;break;case R.DirectiveStatement:i=e.raw?e.raw+p:d(e.directive)+p;break;case R.DoWhileStatement:i=$("do",A(e.body)),i=I(e.body,i),i=$(i,["while"+Z+"(",T(e.test,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"+p]);break;case R.CatchClause:b(function(){var t;i=["catch"+Z+"(",T(e.param,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"],e.guard&&(t=T(e.guard,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),i.splice(2,0," if ",t))}),i.push(A(e.body));break;case R.DebuggerStatement:i="debugger"+p;break;case R.EmptyStatement:i=";";break;case R.ExportDeclaration:if(i="export ",e.declaration){i=[i,N(e.declaration,{semicolonOptional:""===p})];break}break;case R.ExpressionStatement:i=[T(e.expression,{precedence:F.Sequence,allowIn:!0,allowCall:!0})],l=v(i).toString(),"{"===l.charAt(0)||"function"===l.slice(0,8)&&"* (".indexOf(l.charAt(8))>=0||rt&&c&&e.expression.type===R.Literal&&"string"==typeof e.expression.value?i=["(",i,")"+p]:i.push(p);break;case R.VariableDeclarator:i=e.init?[T(e.id,{precedence:F.Assignment,allowIn:a,allowCall:!0}),Z,"=",Z,T(e.init,{precedence:F.Assignment,allowIn:a,allowCall:!0})]:P(e.id,{precedence:F.Assignment,allowIn:a});break;case R.VariableDeclaration:i=[e.kind],1===e.declarations.length&&e.declarations[0].init&&e.declarations[0].init.type===R.FunctionExpression?(i.push(y()),i.push(N(e.declarations[0],{allowIn:a}))):b(function(){for(o=e.declarations[0],it.comment&&o.leadingComments?(i.push("\n"),i.push(S(N(o,{allowIn:a})))):(i.push(y()),i.push(N(o,{allowIn:a}))),n=1,r=e.declarations.length;r>n;++n)o=e.declarations[n],it.comment&&o.leadingComments?(i.push(","+Q),i.push(S(N(o,{allowIn:a})))):(i.push(","+Z),i.push(N(o,{allowIn:a})))}),i.push(p);break;case R.ThrowStatement:i=[$("throw",T(e.argument,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),p];break;case R.TryStatement:if(i=["try",A(e.block)],i=I(e.block,i),e.handlers)for(n=0,r=e.handlers.length;r>n;++n)i=$(i,N(e.handlers[n])),(e.finalizer||n+1!==r)&&(i=I(e.handlers[n].body,i));else{for(e.guardedHandlers=e.guardedHandlers||[],n=0,r=e.guardedHandlers.length;r>n;++n)i=$(i,N(e.guardedHandlers[n])),(e.finalizer||n+1!==r)&&(i=I(e.guardedHandlers[n].body,i));if(e.handler)if(H(e.handler))for(n=0,r=e.handler.length;r>n;++n)i=$(i,N(e.handler[n])),(e.finalizer||n+1!==r)&&(i=I(e.handler[n].body,i));else i=$(i,N(e.handler)),e.finalizer&&(i=I(e.handler.body,i))}e.finalizer&&(i=$(i,["finally",A(e.finalizer)]));break;case R.SwitchStatement:if(b(function(){i=["switch"+Z+"(",T(e.discriminant,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"+Z+"{"+Q]}),e.cases)for(n=0,r=e.cases.length;r>n;++n)l=S(N(e.cases[n],{semicolonOptional:n===r-1})),i.push(l),s(v(l).toString())||i.push(Q);i.push(S("}"));break;case R.SwitchCase:b(function(){for(i=e.test?[$("case",T(e.test,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),":"]:["default:"],n=0,r=e.consequent.length,r&&e.consequent[0].type===R.BlockStatement&&(l=A(e.consequent[0]),i.push(l),n=1),n===r||s(v(i).toString())||i.push(Q);r>n;++n)l=S(N(e.consequent[n],{semicolonOptional:n===r-1&&""===p})),i.push(l),n+1===r||s(v(l).toString())||i.push(Q)});break;case R.IfStatement:b(function(){i=["if"+Z+"(",T(e.test,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"]}),e.alternate?(i.push(A(e.consequent)),i=I(e.consequent,i),i=e.alternate.type===R.IfStatement?$(i,["else ",N(e.alternate,{semicolonOptional:""===p})]):$(i,$("else",A(e.alternate,""===p)))):i.push(A(e.consequent,""===p));break;case R.ForStatement:b(function(){i=["for"+Z+"("],e.init?e.init.type===R.VariableDeclaration?i.push(N(e.init,{allowIn:!1})):(i.push(T(e.init,{precedence:F.Sequence,allowIn:!1,allowCall:!0})),i.push(";")):i.push(";"),e.test?(i.push(Z),i.push(T(e.test,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),i.push(";")):i.push(";"),e.update?(i.push(Z),i.push(T(e.update,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),i.push(")")):i.push(")")}),i.push(A(e.body,""===p));break;case R.ForInStatement:i=j("in",e,""===p);break;case R.ForOfStatement:i=j("of",e,""===p);break;case R.LabeledStatement:i=[e.label.name+":",A(e.body,""===p)];break;case R.Program:for(r=e.body.length,i=[nt&&r>0?"\n":""],n=0;r>n;++n)l=S(N(e.body[n],{semicolonOptional:!nt&&n===r-1,directiveContext:!0})),i.push(l),r>n+1&&!s(v(l).toString())&&i.push(Q);break;case R.FunctionDeclaration:f=e.generator&&!it.moz.starlessGenerator,i=[f?"function*":"function",f?Z:y(),L(e.id),M(e)];break;case R.ReturnStatement:i=e.argument?[$("return",T(e.argument,{precedence:F.Sequence,allowIn:!0,allowCall:!0})),p]:["return"+p];break;case R.WhileStatement:b(function(){i=["while"+Z+"(",T(e.test,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"]}),i.push(A(e.body,""===p));break;case R.WithStatement:b(function(){i=["with"+Z+"(",T(e.object,{precedence:F.Sequence,allowIn:!0,allowCall:!0}),")"]}),i.push(A(e.body,""===p));break;default:throw new Error("Unknown statement type: "+e.type)}return it.comment&&(i=E(e,i)),l=v(i).toString(),e.type!==R.Program||nt||""!==Q||"\n"!==l.charAt(l.length-1)||(i=at?v(i).replaceRight(/\s+$/,""):l.replace(/\s+$/,"")),v(i,e)}function D(a,s){var c,l,p=i();switch(null!=s?("string"==typeof s.indent&&(p.format.indent.style=s.indent),"number"==typeof s.base&&(p.format.indent.base=s.base),s=u(p,s),z=s.format.indent.style,W="string"==typeof s.base?s.base:o(z,s.format.indent.base)):(s=p,z=s.format.indent.style,W=o(z,s.format.indent.base)),G=s.format.json,K=s.format.renumber,J=G?!1:s.format.hexadecimal,Y=G?"double":s.format.quotes,X=s.format.escapeless,Q=s.format.newline,Z=s.format.space,s.format.compact&&(Q=Z=z=W=""),et=s.format.parentheses,tt=s.format.semicolons,nt=s.format.safeConcatenation,rt=s.directive,ot=G?null:s.parse,at=s.sourceMap,it=s,at&&(B=r.browser?e.sourceMap.SourceNode:t("/node_modules/source-map/lib/source-map.js",n).SourceNode),a.type){case R.BlockStatement:case R.BreakStatement:case R.CatchClause:case R.ContinueStatement:case R.DirectiveStatement:case R.DoWhileStatement:case R.DebuggerStatement:case R.EmptyStatement:case R.ExpressionStatement:case R.ForStatement:case R.ForInStatement:case R.ForOfStatement:case R.FunctionDeclaration:case R.IfStatement:case R.LabeledStatement:case R.Program:case R.ReturnStatement:case R.SwitchStatement:case R.SwitchCase:case R.ThrowStatement:case R.TryStatement:case R.VariableDeclaration:case R.VariableDeclarator:case R.WhileStatement:case R.WithStatement:c=N(a);break;case R.AssignmentExpression:case R.ArrayExpression:case R.ArrayPattern:case R.BinaryExpression:case R.CallExpression:case R.ConditionalExpression:case R.FunctionExpression:case R.Identifier:case R.Literal:case R.LogicalExpression:case R.MemberExpression:case R.NewExpression:case R.ObjectExpression:case R.ObjectPattern:case R.Property:case R.SequenceExpression:case R.ThisExpression:case R.UnaryExpression:case R.UpdateExpression:case R.YieldExpression:c=T(a,{precedence:F.Sequence,allowIn:!0,allowCall:!0});break;default:throw new Error("Unknown node type: "+a.type)}return at?(l=c.toStringWithSourceMap({file:s.file,sourceRoot:s.sourceMapRoot}),s.sourceContent&&l.map.setSourceContent(s.sourceMap,s.sourceContent),s.sourceMapWithCode?l:l.map.toString()):c.toString()}var R,F,q,B,U,V,H,W,z,G,K,J,Y,X,Q,Z,et,tt,nt,rt,it,ot,at,st,ut;U=t("/node_modules/estraverse/estraverse.js",n),V=t("/node_modules/esutils/lib/utils.js",n),R={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportDeclaration:"ExportDeclaration",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},F={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Unary:13,Postfix:14,Call:15,New:16,Member:17,Primary:18},q={"||":F.LogicalOR,"&&":F.LogicalAND,"|":F.BitwiseOR,"^":F.BitwiseXOR,"&":F.BitwiseAND,"==":F.Equality,"!=":F.Equality,"===":F.Equality,"!==":F.Equality,is:F.Equality,isnt:F.Equality,"<":F.Relational,">":F.Relational,"<=":F.Relational,">=":F.Relational,"in":F.Relational,"instanceof":F.Relational,"<<":F.BitwiseSHIFT,">>":F.BitwiseSHIFT,">>>":F.BitwiseSHIFT,"+":F.Additive,"-":F.Additive,"*":F.Multiplicative,"%":F.Multiplicative,"/":F.Multiplicative},H=Array.isArray,H||(H=function(e){return"[object Array]"===Object.prototype.toString.call(e)
}),st={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},ut=i().format,r.version=t("/package.json",n).version,r.generate=D,r.attachComments=U.attachComments,r.Precedence=u({},F),r.browser=!1,r.FORMAT_MINIFY=st,r.FORMAT_DEFAULTS=ut}()}),t.define("/package.json",function(e){e.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/Constellation/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},version:"1.3.1",engines:{node:">=0.4.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/Constellation/escodegen.git"},dependencies:{estraverse:"~1.5.0",esutils:"~1.0.0",esprima:"~1.1.1"},optionalDependencies:{"source-map":"~0.1.30"},devDependencies:{"esprima-moz":"*",semver:"*",chai:"~1.7.2",gulp:"~3.5.0","gulp-mocha":"~0.4.1","gulp-eslint":"~0.1.2","jshint-stylish":"~0.1.5","gulp-jshint":"~1.4.0","commonjs-everywhere":"~0.9.6",bluebird:"~1.2.0","bower-registry-client":"~0.2.0"},licenses:[{type:"BSD",url:"http://github.com/Constellation/escodegen/raw/master/LICENSE.BSD"}],scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}),t.define("/node_modules/source-map/lib/source-map.js",function(e,n){n.SourceMapGenerator=t("/node_modules/source-map/lib/source-map/source-map-generator.js",e).SourceMapGenerator,n.SourceMapConsumer=t("/node_modules/source-map/lib/source-map/source-map-consumer.js",e).SourceMapConsumer,n.SourceNode=t("/node_modules/source-map/lib/source-map/source-node.js",e).SourceNode}),t.define("/node_modules/source-map/lib/source-map/source-node.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t,n){function r(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===i?null:i,null!=r&&this.add(r)}var i=e("/node_modules/source-map/lib/source-map/source-map-generator.js",n).SourceMapGenerator,o=e("/node_modules/source-map/lib/source-map/util.js",n);r.fromStringWithSourceMap=function(e,t){function n(e,t){i.add(null===e||void 0===e.source?t:new r(e.originalLine,e.originalColumn,e.source,t,e.name))}var i=new r,o=e.split("\n"),a=1,s=0,u=null;if(t.eachMapping(function(e){if(null!==u){if(!(a<e.generatedLine)){var t=o[0],r=t.substr(0,e.generatedColumn-s);return o[0]=t.substr(e.generatedColumn-s),s=e.generatedColumn,n(u,r),void(u=e)}var r="";n(u,o.shift()+"\n"),a++,s=0}for(;a<e.generatedLine;)i.add(o.shift()+"\n"),a++;if(s<e.generatedColumn){var t=o[0];i.add(t.substr(0,e.generatedColumn)),o[0]=t.substr(e.generatedColumn),s=e.generatedColumn}u=e},this),o.length>0){if(u){var c=o.shift();o.length>0&&(c+="\n"),n(u,c)}i.add(o.join("\n"))}return t.sources.forEach(function(e){var n=t.sourceContentFor(e);n&&i.setSourceContent(e,n)}),i},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,i=this.children.length;i>n;n++)t=this.children[n],t instanceof r?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n instanceof r?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t]instanceof r&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,n=i.length;n>t;t++)e(o.fromSetString(i[t]),this.sourceContents[i[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new i(e),r=!1,o=null,a=null,s=null,u=null;return this.walk(function(e,i){t.code+=e,null!==i.source&&null!==i.line&&null!==i.column?((o!==i.source||a!==i.line||s!==i.column||u!==i.name)&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name}),o=i.source,a=i.line,s=i.column,u=i.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,r=!1),e.split("").forEach(function(e,a,s){"\n"===e?(t.line++,t.column=0,a+1===s.length?(o=null,r=!1):r&&n.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:t.line,column:t.column},name:i.name})):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r})}),t.define("/node_modules/source-map/lib/source-map/util.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t){function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(h);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var t=e,n=r(e);if(n){if(!n.path)return e;t=n.path}for(var o,a="/"===t.charAt(0),s=t.split(/\/+/),u=0,c=s.length-1;c>=0;c--)o=s[c],"."===o?s.splice(c,1):".."===o?u++:u>0&&(""===o?(s.splice(c+1,u),u=0):(s.splice(c,2),u--));return t=s.join("/"),""===t&&(t=a?"/":"."),n?(n.path=t,i(n)):t}function a(e,t){var n=r(t),a=r(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),i(n);if(n||t.match(d))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var s="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=s,i(a)):s}function s(e){return"$"+e}function u(e){return e.substr(1)}function c(e,t){e=e.replace(/\/$/,"");var n=r(e);return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function l(e,t){var n=e||"",r=t||"";return(n>r)-(r>n)}function p(e,t,n){var r;return(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=l(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function f(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:l(e.name,t.name)))}t.getArg=n;var h=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,d=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=i,t.normalize=o,t.join=a,t.toSetString=s,t.fromSetString=u,t.relative=c,t.compareByOriginalPositions=p,t.compareByGeneratedPositions=f})}),t.define("/node_modules/source-map/node_modules/amdefine/amdefine.js",function(e,r,i,o){"use strict";function a(e,r){function i(e){var t,n;for(t=0;e[t];t+=1)if(n=e[t],"."===n)e.splice(t,1),t-=1;else if(".."===n){if(1===t&&(".."===e[2]||".."===e[0]))break;t>0&&(e.splice(t-1,2),t-=2)}}function a(e,t){var n;return e&&"."===e.charAt(0)&&t&&(n=t.split("/"),n=n.slice(0,n.length-1),n=n.concat(e.split("/")),i(n),e=n.join("/")),e}function s(e){return function(t){return a(t,e)}}function u(e){function t(t){d[e]=t}return t.fromText=function(){throw new Error("amdefine does not implement load.fromText")},t}function c(t,n,i){var a,s,u,c;if(t)s=d[t]={},u={id:t,uri:o,exports:s},a=p(r,s,u,t);else{if(m)throw new Error("amdefine with no module ID cannot be called more than once per file.");m=!0,s=e.exports,u=e,a=p(r,s,u,e.id)}n&&(n=n.map(function(e){return a(e)})),c="function"==typeof i?i.apply(u.exports,n):i,void 0!==c&&(u.exports=c,t&&(d[t]=u.exports))}function l(e,t,n){Array.isArray(e)?(n=t,t=e,e=void 0):"string"!=typeof e&&(n=e,e=t=void 0),t&&!Array.isArray(t)&&(n=t,t=void 0),t||(t=["require","exports","module"]),e?h[e]=[e,t,n]:c(e,t,n)}var p,f,h={},d={},m=!1,g=t("path",e);return p=function(e,t,r,i){function o(o,a){return"string"==typeof o?f(e,t,r,o,i):(o=o.map(function(n){return f(e,t,r,n,i)}),void n.nextTick(function(){a.apply(null,o)}))}return o.toUrl=function(e){return 0===e.indexOf(".")?a(e,g.dirname(r.filename)):e},o},r=r||function(){return e.require.apply(e,arguments)},f=function(e,t,n,r,i){var o,l,m=r.indexOf("!"),g=r;if(-1===m){if(r=a(r,i),"require"===r)return p(e,t,n,i);if("exports"===r)return t;if("module"===r)return n;if(d.hasOwnProperty(r))return d[r];if(h[r])return c.apply(null,h[r]),d[r];if(e)return e(g);throw new Error("No module with ID: "+r)}return o=r.substring(0,m),r=r.substring(m+1,r.length),l=f(e,t,n,o,i),r=l.normalize?l.normalize(r,s(i)):a(r,i),d[r]?d[r]:(l.load(r,p(e,t,n,i),u(r),{}),d[r])},l.require=function(e){return d[e]?d[e]:h[e]?(c.apply(null,h[e]),d[e]):void 0},l.amd={},l}e.exports=a}),t.define("/node_modules/source-map/lib/source-map/source-map-generator.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t,n){function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new a,this._names=new a,this._mappings=[],this._sourcesContents=null}var i=e("/node_modules/source-map/lib/source-map/base64-vlq.js",n),o=e("/node_modules/source-map/lib/source-map/util.js",n),a=e("/node_modules/source-map/lib/source-map/array-set.js",n).ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source&&(r.source=e.source,t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),r&&!this._sources.has(r)&&this._sources.add(r),i&&!this._names.has(i)&&this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},r.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!==t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){if(!t){if(!e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var r=this._sourceRoot;r&&(t=o.relative(r,t));var i=new a,s=new a;this._mappings.forEach(function(a){if(a.source===t&&a.originalLine){var u=e.originalPositionFor({line:a.originalLine,column:a.originalColumn});null!==u.source&&(a.source=u.source,n&&(a.source=o.join(n,a.source)),r&&(a.source=o.relative(r,a.source)),a.originalLine=u.line,a.originalColumn=u.column,null!==u.name&&null!==a.name&&(a.name=u.name))}var c=a.source;c&&!i.has(c)&&i.add(c);var l=a.name;l&&!s.has(l)&&s.add(l)},this),this._sources=i,this._names=s,e.sources.forEach(function(t){var n=e.sourceContentFor(t);n&&(r&&(t=o.relative(r,t)),this.setSourceContent(t,n))},this)},r.prototype._validateMapping=function(e,t,n,r){if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r||e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,a=0,s=0,u=0,c="";this._mappings.sort(o.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!o.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=i.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=i.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=i.encode(e.originalLine-1-a),a=e.originalLine-1,c+=i.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=i.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return c},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r})}),t.define("/node_modules/source-map/lib/source-map/array-set.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t,n){function r(){this._array=[],this._set={}}var i=e("/node_modules/source-map/lib/source-map/util.js",n);r.fromArray=function(e,t){for(var n=new r,i=0,o=e.length;o>i;i++)n.add(e[i],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[i.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,i.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[i.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r})}),t.define("/node_modules/source-map/lib/source-map/base64-vlq.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function i(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("/node_modules/source-map/lib/source-map/base64.js",n),a=5,s=1<<a,u=s-1,c=s;t.encode=function(e){var t,n="",i=r(e);do t=i&u,i>>>=a,i>0&&(t|=c),n+=o.encode(t);while(i>0);return n},t.decode=function(e){var t,n,r=0,s=e.length,l=0,p=0;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");n=o.decode(e.charAt(r++)),t=!!(n&c),n&=u,l+=n<<p,p+=a}while(t);return{value:i(l),rest:e.slice(r)}}})}),t.define("/node_modules/source-map/lib/source-map/base64.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t){var n={},r={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){n[e]=t,r[t]=e}),t.encode=function(e){if(e in r)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in n)return n[e];throw new TypeError("Not a valid base 64 digit: "+e)}})}),t.define("/node_modules/source-map/lib/source-map/source-map-consumer.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=i.getArg(t,"version"),r=i.getArg(t,"sources"),o=i.getArg(t,"names",[]),s=i.getArg(t,"sourceRoot",null),u=i.getArg(t,"sourcesContent",null),c=i.getArg(t,"mappings"),l=i.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=a.fromArray(o,!0),this._sources=a.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}var i=e("/node_modules/source-map/lib/source-map/util.js",n),o=e("/node_modules/source-map/lib/source-map/binary-search.js",n),a=e("/node_modules/source-map/lib/source-map/array-set.js",n).ArraySet,s=e("/node_modules/source-map/lib/source-map/base64-vlq.js",n);r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=a.fromArray(e._names.toArray(),!0),t._sources=a.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(i.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(i.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?i.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._parseMappings=function(e){for(var t,n,r=1,o=0,a=0,u=0,c=0,l=0,p=/^[,;]/,f=e;f.length>0;)if(";"===f.charAt(0))r++,f=f.slice(1),o=0;else if(","===f.charAt(0))f=f.slice(1);else{if(t={},t.generatedLine=r,n=s.decode(f),t.generatedColumn=o+n.value,o=t.generatedColumn,f=n.rest,f.length>0&&!p.test(f.charAt(0))){if(n=s.decode(f),t.source=this._sources.at(c+n.value),c+=n.value,f=n.rest,0===f.length||p.test(f.charAt(0)))throw new Error("Found a source, but no line and column");if(n=s.decode(f),t.originalLine=a+n.value,a=t.originalLine,t.originalLine+=1,f=n.rest,0===f.length||p.test(f.charAt(0)))throw new Error("Found a source and line, but no column");n=s.decode(f),t.originalColumn=u+n.value,u=t.originalColumn,f=n.rest,f.length>0&&!p.test(f.charAt(0))&&(n=s.decode(f),t.name=this._names.at(l+n.value),l+=n.value,f=n.rest)}this.__generatedMappings.push(t),"number"==typeof t.originalLine&&this.__originalMappings.push(t)}this.__generatedMappings.sort(i.compareByGeneratedPositions),this.__originalMappings.sort(i.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},r.prototype.originalPositionFor=function(e){var t={generatedLine:i.getArg(e,"line"),generatedColumn:i.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositions);if(n&&n.generatedLine===t.generatedLine){var r=i.getArg(n,"source",null);return r&&this.sourceRoot&&(r=i.join(this.sourceRoot,r)),{source:r,line:i.getArg(n,"originalLine",null),column:i.getArg(n,"originalColumn",null),name:i.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=i.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=i.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(e){var t={source:i.getArg(e,"source"),originalLine:i.getArg(e,"line"),originalColumn:i.getArg(e,"column")};this.sourceRoot&&(t.source=i.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions);return n?{line:i.getArg(n,"generatedLine",null),column:i.getArg(n,"generatedColumn",null)}:{line:null,column:null}},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var o,a=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;o.map(function(e){var t=e.source;return t&&u&&(t=i.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=r})}),t.define("/node_modules/source-map/lib/source-map/binary-search.js",function(e){if("function"!=typeof n)var n=t("/node_modules/source-map/node_modules/amdefine/amdefine.js",e)(e,t);n(function(e,t){function n(e,t,r,i,o){var a=Math.floor((t-e)/2)+e,s=o(r,i[a],!0);return 0===s?i[a]:s>0?t-a>1?n(a,t,r,i,o):i[a]:a-e>1?n(e,a,r,i,o):0>e?null:i[e]}t.search=function(e,t,r){return t.length>0?n(-1,t.length,e,t,r):null}})}),t.define("/node_modules/esutils/lib/utils.js",function(e,n){!function(){"use strict";n.code=t("/node_modules/esutils/lib/code.js",e),n.keyword=t("/node_modules/esutils/lib/keyword.js",e)}()}),t.define("/node_modules/esutils/lib/keyword.js",function(e){!function(){"use strict";function n(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(e,t){return t||"yield"!==e?i(e,t):!1}function i(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e){return"eval"===e||"arguments"===e}function a(e){var t,n,r;if(0===e.length)return!1;if(r=e.charCodeAt(0),!s.isIdentifierStart(r)||92===r)return!1;for(t=1,n=e.length;n>t;++t)if(r=e.charCodeAt(t),!s.isIdentifierPart(r)||92===r)return!1;return!0}var s=t("/node_modules/esutils/lib/code.js",e);e.exports={isKeywordES5:r,isKeywordES6:i,isRestrictedWord:o,isIdentifierName:a}}()}),t.define("/node_modules/esutils/lib/code.js",function(e){!function(){"use strict";function t(e){return e>=48&&57>=e}function n(e){return t(e)||e>=97&&102>=e||e>=65&&70>=e}function r(e){return e>=48&&55>=e}function i(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function o(e){return 10===e||13===e||8232===e||8233===e}function a(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&u.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function s(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&u.NonAsciiIdentifierPart.test(String.fromCharCode(e))}var u;u={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")},e.exports={isDecimalDigit:t,isHexDigit:n,isOctalDigit:r,isWhiteSpace:i,isLineTerminator:o,isIdentifierStart:a,isIdentifierPart:s}}()}),t.define("/node_modules/estraverse/estraverse.js",function(e,t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(["exports"],n):n("undefined"!=typeof t?t:e.estraverse={})}(this,function(e){"use strict";function t(){}function n(e){var t,r,i={};for(t in e)e.hasOwnProperty(t)&&(r=e[t],i[t]="object"==typeof r&&null!==r?n(r):r);return i}function r(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function i(e,t){var n,r,i,o;for(r=e.length,i=0;r;)n=r>>>1,o=i+n,t(e[o])?r=n:(i=o+1,r-=n+1);return i}function o(e,t){var n,r,i,o;for(r=e.length,i=0;r;)n=r>>>1,o=i+n,t(e[o])?(i=o+1,r-=n+1):r=n;return i}function a(e,t){this.parent=e,this.key=t}function s(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function u(){}function c(e,t){var n=new u;return n.traverse(e,t)}function l(e,t){var n=new u;return n.replace(e,t)}function p(e,t){var n;return n=i(t,function(t){return t.range[0]>e.range[0]}),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),n-=1,n>=0&&(e.extendedRange[0]=t[n].range[1]),e}function f(e,t,r){var i,o,a,s,u=[];if(!e.range)throw new Error("attachComments needs range information");if(!r.length){if(t.length){for(a=0,o=t.length;o>a;a+=1)i=n(t[a]),i.extendedRange=[0,e.range[0]],u.push(i);e.leadingComments=u}return e}for(a=0,o=t.length;o>a;a+=1)u.push(p(n(t[a]),r));return s=0,c(e,{enter:function(e){for(var t;s<u.length&&(t=u[s],!(t.extendedRange[1]>e.range[0]));)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?m.Break:u[s].extendedRange[0]>e.range[1]?m.Skip:void 0}}),s=0,c(e,{leave:function(e){for(var t;s<u.length&&(t=u[s],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||(e.trailingComments=[]),e.trailingComments.push(t),u.splice(s,1)):s+=1;return s===u.length?m.Break:u[s].extendedRange[0]>e.range[1]?m.Skip:void 0}}),e}var h,d,m,g,v,y;h={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},d=Array.isArray,d||(d=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),t(r),t(o),g={AssignmentExpression:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","defaults","rest","body"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","body","superClass"],ClassExpression:["id","body","superClass"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],FunctionDeclaration:["id","params","defaults","rest","body"],FunctionExpression:["id","params","defaults","rest","body"],Identifier:[],IfStatement:["test","consequent","alternate"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handlers","handler","guardedHandlers","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},v={},y={},m={Break:v,Skip:y},a.prototype.replace=function(e){this.parent[this.key]=e
},u.prototype.path=function(){function e(e,t){if(d(t))for(r=0,i=t.length;i>r;++r)e.push(t[r]);else e.push(t)}var t,n,r,i,o,a;if(!this.__current.path)return null;for(o=[],t=2,n=this.__leavelist.length;n>t;++t)a=this.__leavelist[t],e(o,a.path);return e(o,this.__current.path),o},u.prototype.parents=function(){var e,t,n;for(n=[],e=1,t=this.__leavelist.length;t>e;++e)n.push(this.__leavelist[e].node);return n},u.prototype.current=function(){return this.__current.node},u.prototype.__execute=function(e,t){var n,r;return r=void 0,n=this.__current,this.__current=t,this.__state=null,e&&(r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=n,r},u.prototype.notify=function(e){this.__state=e},u.prototype.skip=function(){this.notify(y)},u.prototype["break"]=function(){this.notify(v)},u.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null},u.prototype.traverse=function(e,t){var n,r,i,o,a,u,c,l,p,f,m,$;for(this.__initialize(e,t),$={},n=this.__worklist,r=this.__leavelist,n.push(new s(e,null,null,null)),r.push(new s(null,null,null,null));n.length;)if(i=n.pop(),i!==$){if(i.node){if(u=this.__execute(t.enter,i),this.__state===v||u===v)return;if(n.push($),r.push(i),this.__state===y||u===y)continue;for(o=i.node,a=i.wrap||o.type,f=g[a],l=f.length;(l-=1)>=0;)if(c=f[l],m=o[c])if(d(m))for(p=m.length;(p-=1)>=0;)m[p]&&(i=a!==h.ObjectExpression&&a!==h.ObjectPattern||"properties"!==f[l]?new s(m[p],[c,p],null,null):new s(m[p],[c,p],"Property",null),n.push(i));else n.push(new s(m,c,null,null))}}else if(i=r.pop(),u=this.__execute(t.leave,i),this.__state===v||u===v)return},u.prototype.replace=function(e,t){var n,r,i,o,u,c,l,p,f,m,$,S,b;for(this.__initialize(e,t),$={},n=this.__worklist,r=this.__leavelist,S={root:e},c=new s(e,null,null,new a(S,"root")),n.push(c),r.push(c);n.length;)if(c=n.pop(),c!==$){if(u=this.__execute(t.enter,c),void 0!==u&&u!==v&&u!==y&&(c.ref.replace(u),c.node=u),this.__state===v||u===v)return S.root;if(i=c.node,i&&(n.push($),r.push(c),this.__state!==y&&u!==y))for(o=c.wrap||i.type,f=g[o],l=f.length;(l-=1)>=0;)if(b=f[l],m=i[b])if(d(m))for(p=m.length;(p-=1)>=0;)m[p]&&(c=o===h.ObjectExpression&&"properties"===f[l]?new s(m[p],[b,p],"Property",new a(m,p)):new s(m[p],[b,p],null,new a(m,p)),n.push(c));else n.push(new s(m,b,null,new a(i,b)))}else if(c=r.pop(),u=this.__execute(t.leave,c),void 0!==u&&u!==v&&u!==y&&c.ref.replace(u),this.__state===v||u===v)return S.root;return S.root},e.version="1.3.3-dev",e.Syntax=h,e.traverse=c,e.replace=l,e.attachComments=f,e.VisitorKeys=g,e.VisitorOption=m,e.Controller=u})}),t("/tools/entry-point.js")}.call(this,this),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["exports"],t):t("undefined"!=typeof exports?exports:e.esprima={})}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function o(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0}function a(e){return 10===e||13===e||8232===e||8233===e}function s(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&nn.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function u(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&nn.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function c(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function l(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function p(e){return"eval"===e||"arguments"===e}function f(e){if(an&&l(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function h(e,n,r,i,o){var a,s;t("number"==typeof r,"Comment must have valid position"),hn.lastCommentStart>=r||(hn.lastCommentStart=r,a={type:e,value:n},dn.range&&(a.range=[r,i]),dn.loc&&(a.loc=o),dn.comments.push(a),dn.attachComment&&(s={comment:a,leading:null,trailing:null,range:[r,i]},dn.pendingComments.push(s)))}function d(e){var t,n,r,i;for(t=sn-e,n={start:{line:un,column:sn-cn-e}};ln>sn;)if(r=on.charCodeAt(sn),++sn,a(r))return dn.comments&&(i=on.slice(t+e,sn-1),n.end={line:un,column:sn-cn-1},h("Line",i,t,sn-1,n)),13===r&&10===on.charCodeAt(sn)&&++sn,++un,void(cn=sn);dn.comments&&(i=on.slice(t+e,sn),n.end={line:un,column:sn-cn},h("Line",i,t,sn,n))}function m(){var e,t,n,r;for(dn.comments&&(e=sn-2,t={start:{line:un,column:sn-cn-2}});ln>sn;)if(n=on.charCodeAt(sn),a(n))13===n&&10===on.charCodeAt(sn+1)&&++sn,++un,++sn,cn=sn,sn>=ln&&T({},tn.UnexpectedToken,"ILLEGAL");else if(42===n){if(47===on.charCodeAt(sn+1))return++sn,++sn,void(dn.comments&&(r=on.slice(e+2,sn-2),t.end={line:un,column:sn-cn},h("Block",r,e,sn,t)));++sn}else++sn;T({},tn.UnexpectedToken,"ILLEGAL")}function g(){var e,t;for(t=0===sn;ln>sn;)if(e=on.charCodeAt(sn),o(e))++sn;else if(a(e))++sn,13===e&&10===on.charCodeAt(sn)&&++sn,++un,cn=sn,t=!0;else if(47===e)if(e=on.charCodeAt(sn+1),47===e)++sn,++sn,d(2),t=!0;else{if(42!==e)break;++sn,++sn,m()}else if(t&&45===e){if(45!==on.charCodeAt(sn+1)||62!==on.charCodeAt(sn+2))break;sn+=3,d(3)}else{if(60!==e)break;if("!--"!==on.slice(sn+1,sn+4))break;++sn,++sn,++sn,++sn,d(4)}}function v(e){var t,n,i,o=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(ln>sn&&r(on[sn])))return"";i=on[sn++],o=16*o+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(o)}function y(){var e,t;for(e=on.charCodeAt(sn++),t=String.fromCharCode(e),92===e&&(117!==on.charCodeAt(sn)&&T({},tn.UnexpectedToken,"ILLEGAL"),++sn,e=v("u"),e&&"\\"!==e&&s(e.charCodeAt(0))||T({},tn.UnexpectedToken,"ILLEGAL"),t=e);ln>sn&&(e=on.charCodeAt(sn),u(e));)++sn,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==on.charCodeAt(sn)&&T({},tn.UnexpectedToken,"ILLEGAL"),++sn,e=v("u"),e&&"\\"!==e&&u(e.charCodeAt(0))||T({},tn.UnexpectedToken,"ILLEGAL"),t+=e);return t}function $(){var e,t;for(e=sn++;ln>sn;){if(t=on.charCodeAt(sn),92===t)return sn=e,y();if(!u(t))break;++sn}return on.slice(e,sn)}function S(){var e,t,n;return e=sn,t=92===on.charCodeAt(sn)?y():$(),n=1===t.length?Yt.Identifier:f(t)?Yt.Keyword:"null"===t?Yt.NullLiteral:"true"===t||"false"===t?Yt.BooleanLiteral:Yt.Identifier,{type:n,value:t,lineNumber:un,lineStart:cn,range:[e,sn]}}function b(){var e,t,n,r,i=sn,o=on.charCodeAt(sn),a=on[sn];switch(o){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++sn,dn.tokenize&&(40===o?dn.openParenToken=dn.tokens.length:123===o&&(dn.openCurlyToken=dn.tokens.length)),{type:Yt.Punctuator,value:String.fromCharCode(o),lineNumber:un,lineStart:cn,range:[i,sn]};default:if(e=on.charCodeAt(sn+1),61===e)switch(o){case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:return sn+=2,{type:Yt.Punctuator,value:String.fromCharCode(o)+String.fromCharCode(e),lineNumber:un,lineStart:cn,range:[i,sn]};case 33:case 61:return sn+=2,61===on.charCodeAt(sn)&&++sn,{type:Yt.Punctuator,value:on.slice(i,sn),lineNumber:un,lineStart:cn,range:[i,sn]}}}return t=on[sn+1],n=on[sn+2],r=on[sn+3],">"===a&&">"===t&&">"===n&&"="===r?(sn+=4,{type:Yt.Punctuator,value:">>>=",lineNumber:un,lineStart:cn,range:[i,sn]}):">"===a&&">"===t&&">"===n?(sn+=3,{type:Yt.Punctuator,value:">>>",lineNumber:un,lineStart:cn,range:[i,sn]}):"<"===a&&"<"===t&&"="===n?(sn+=3,{type:Yt.Punctuator,value:"<<=",lineNumber:un,lineStart:cn,range:[i,sn]}):">"===a&&">"===t&&"="===n?(sn+=3,{type:Yt.Punctuator,value:">>=",lineNumber:un,lineStart:cn,range:[i,sn]}):a===t&&"+-<>&|".indexOf(a)>=0?(sn+=2,{type:Yt.Punctuator,value:a+t,lineNumber:un,lineStart:cn,range:[i,sn]}):"<>=!+-*%&|^/".indexOf(a)>=0?(++sn,{type:Yt.Punctuator,value:a,lineNumber:un,lineStart:cn,range:[i,sn]}):void T({},tn.UnexpectedToken,"ILLEGAL")}function w(e){for(var t="";ln>sn&&r(on[sn]);)t+=on[sn++];return 0===t.length&&T({},tn.UnexpectedToken,"ILLEGAL"),s(on.charCodeAt(sn))&&T({},tn.UnexpectedToken,"ILLEGAL"),{type:Yt.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:un,lineStart:cn,range:[e,sn]}}function x(e){for(var t="0"+on[sn++];ln>sn&&i(on[sn]);)t+=on[sn++];return(s(on.charCodeAt(sn))||n(on.charCodeAt(sn)))&&T({},tn.UnexpectedToken,"ILLEGAL"),{type:Yt.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:un,lineStart:cn,range:[e,sn]}}function C(){var e,r,o;if(o=on[sn],t(n(o.charCodeAt(0))||"."===o,"Numeric literal must start with a decimal digit or a decimal point"),r=sn,e="","."!==o){if(e=on[sn++],o=on[sn],"0"===e){if("x"===o||"X"===o)return++sn,w(r);if(i(o))return x(r);o&&n(o.charCodeAt(0))&&T({},tn.UnexpectedToken,"ILLEGAL")}for(;n(on.charCodeAt(sn));)e+=on[sn++];o=on[sn]}if("."===o){for(e+=on[sn++];n(on.charCodeAt(sn));)e+=on[sn++];o=on[sn]}if("e"===o||"E"===o)if(e+=on[sn++],o=on[sn],("+"===o||"-"===o)&&(e+=on[sn++]),n(on.charCodeAt(sn)))for(;n(on.charCodeAt(sn));)e+=on[sn++];else T({},tn.UnexpectedToken,"ILLEGAL");return s(on.charCodeAt(sn))&&T({},tn.UnexpectedToken,"ILLEGAL"),{type:Yt.NumericLiteral,value:parseFloat(e),lineNumber:un,lineStart:cn,range:[r,sn]}}function E(){var e,n,r,o,s,u,c="",l=!1;for(e=on[sn],t("'"===e||'"'===e,"String literal must starts with a quote"),n=sn,++sn;ln>sn;){if(r=on[sn++],r===e){e="";break}if("\\"===r)if(r=on[sn++],r&&a(r.charCodeAt(0)))++un,"\r"===r&&"\n"===on[sn]&&++sn,cn=sn;else switch(r){case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+=" ";break;case"u":case"x":u=sn,s=v(r),s?c+=s:(sn=u,c+=r);break;case"b":c+="\b";break;case"f":c+="\f";break;case"v":c+="";break;default:i(r)?(o="01234567".indexOf(r),0!==o&&(l=!0),ln>sn&&i(on[sn])&&(l=!0,o=8*o+"01234567".indexOf(on[sn++]),"0123".indexOf(r)>=0&&ln>sn&&i(on[sn])&&(o=8*o+"01234567".indexOf(on[sn++]))),c+=String.fromCharCode(o)):c+=r}else{if(a(r.charCodeAt(0)))break;c+=r}}return""!==e&&T({},tn.UnexpectedToken,"ILLEGAL"),{type:Yt.StringLiteral,value:c,octal:l,lineNumber:un,lineStart:cn,range:[n,sn]}}function k(){var e,n,r,i,o,s,c,l=!1,p=!1;for(fn=null,g(),r=sn,n=on[sn],t("/"===n,"Regular expression literal must start with a slash"),e=on[sn++];ln>sn;)if(n=on[sn++],e+=n,"\\"===n)n=on[sn++],a(n.charCodeAt(0))&&T({},tn.UnterminatedRegExp),e+=n;else if(a(n.charCodeAt(0)))T({},tn.UnterminatedRegExp);else if(l)"]"===n&&(l=!1);else{if("/"===n){p=!0;break}"["===n&&(l=!0)}for(p||T({},tn.UnterminatedRegExp),i=e.substr(1,e.length-2),o="";ln>sn&&(n=on[sn],u(n.charCodeAt(0)));)if(++sn,"\\"===n&&ln>sn)if(n=on[sn],"u"===n)if(++sn,c=sn,n=v("u"))for(o+=n,e+="\\u";sn>c;++c)e+=on[c];else sn=c,o+="u",e+="\\u";else e+="\\";else o+=n,e+=n;try{s=new RegExp(i,o)}catch(f){T({},tn.InvalidRegExp)}return dn.tokenize?{type:Yt.RegularExpression,value:s,lineNumber:un,lineStart:cn,range:[r,sn]}:{literal:e,value:s,range:[r,sn]}}function A(){var e,t,n,r;return g(),e=sn,t={start:{line:un,column:sn-cn}},n=k(),t.end={line:un,column:sn-cn},dn.tokenize||(dn.tokens.length>0&&(r=dn.tokens[dn.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&dn.tokens.pop()),dn.tokens.push({type:"RegularExpression",value:n.literal,range:[e,sn],loc:t})),n}function I(e){return e.type===Yt.Identifier||e.type===Yt.Keyword||e.type===Yt.BooleanLiteral||e.type===Yt.NullLiteral}function _(){var e,t;if(e=dn.tokens[dn.tokens.length-1],!e)return A();if("Punctuator"===e.type){if("]"===e.value)return b();if(")"===e.value)return t=dn.tokens[dn.openParenToken-1],!t||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?b():A();if("}"===e.value){if(dn.tokens[dn.openCurlyToken-3]&&"Keyword"===dn.tokens[dn.openCurlyToken-3].type){if(t=dn.tokens[dn.openCurlyToken-4],!t)return b()}else{if(!dn.tokens[dn.openCurlyToken-4]||"Keyword"!==dn.tokens[dn.openCurlyToken-4].type)return b();if(t=dn.tokens[dn.openCurlyToken-5],!t)return A()}return Qt.indexOf(t.value)>=0?b():A()}return A()}return"Keyword"===e.type?A():b()}function O(){var e;return g(),sn>=ln?{type:Yt.EOF,lineNumber:un,lineStart:cn,range:[sn,sn]}:(e=on.charCodeAt(sn),40===e||41===e||58===e?b():39===e||34===e?E():s(e)?S():46===e?n(on.charCodeAt(sn+1))?C():b():n(e)?C():dn.tokenize&&47===e?_():b())}function L(){var e,t,n,r,i;return g(),e=sn,t={start:{line:un,column:sn-cn}},n=O(),t.end={line:un,column:sn-cn},n.type!==Yt.EOF&&(r=[n.range[0],n.range[1]],i=on.slice(n.range[0],n.range[1]),dn.tokens.push({type:Xt[n.type],value:i,range:r,loc:t})),n}function P(){var e;return e=fn,sn=e.range[1],un=e.lineNumber,cn=e.lineStart,fn="undefined"!=typeof dn.tokens?L():O(),sn=e.range[1],un=e.lineNumber,cn=e.lineStart,e}function M(){var e,t,n;e=sn,t=un,n=cn,fn="undefined"!=typeof dn.tokens?L():O(),sn=e,un=t,cn=n}function j(){var e,t,n,r;return e=sn,t=un,n=cn,g(),r=un!==t,sn=e,un=t,cn=n,r}function T(e,n){var r,i=Array.prototype.slice.call(arguments,2),o=n.replace(/%(\d)/g,function(e,n){return t(n<i.length,"Message reference must be in range"),i[n]});throw"number"==typeof e.lineNumber?(r=new Error("Line "+e.lineNumber+": "+o),r.index=e.range[0],r.lineNumber=e.lineNumber,r.column=e.range[0]-cn+1):(r=new Error("Line "+un+": "+o),r.index=sn,r.lineNumber=un,r.column=sn-cn+1),r.description=o,r}function N(){try{T.apply(null,arguments)}catch(e){if(!dn.errors)throw e;dn.errors.push(e)}}function D(e){if(e.type===Yt.EOF&&T(e,tn.UnexpectedEOS),e.type===Yt.NumericLiteral&&T(e,tn.UnexpectedNumber),e.type===Yt.StringLiteral&&T(e,tn.UnexpectedString),e.type===Yt.Identifier&&T(e,tn.UnexpectedIdentifier),e.type===Yt.Keyword){if(c(e.value))T(e,tn.UnexpectedReserved);else if(an&&l(e.value))return void N(e,tn.StrictReservedWord);T(e,tn.UnexpectedToken,e.value)}T(e,tn.UnexpectedToken,e.value)}function R(e){var t=P();(t.type!==Yt.Punctuator||t.value!==e)&&D(t)}function F(e){var t=P();(t.type!==Yt.Keyword||t.value!==e)&&D(t)}function q(e){return fn.type===Yt.Punctuator&&fn.value===e}function B(e){return fn.type===Yt.Keyword&&fn.value===e}function U(){var e;return fn.type!==Yt.Punctuator?!1:(e=fn.value,"="===e||"*="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function V(){var e;return 59===on.charCodeAt(sn)?void P():(e=un,g(),un===e?q(";")?void P():void(fn.type===Yt.EOF||q("}")||D(fn)):void 0)}function H(e){return e.type===Zt.Identifier||e.type===Zt.MemberExpression}function W(){var e=[];for(R("[");!q("]");)q(",")?(P(),e.push(null)):(e.push(lt()),q("]")||R(","));return R("]"),pn.createArrayExpression(e)}function z(e,t){var n,r;return n=an,pn.markStart(),r=Dt(),t&&an&&p(e[0].name)&&N(t,tn.StrictParamName),an=n,pn.markEnd(pn.createFunctionExpression(null,e,[],r))}function G(){var e;return pn.markStart(),e=P(),e.type===Yt.StringLiteral||e.type===Yt.NumericLiteral?(an&&e.octal&&N(e,tn.StrictOctalLiteral),pn.markEnd(pn.createLiteral(e))):pn.markEnd(pn.createIdentifier(e.value))}function K(){var e,t,n,r,i;return e=fn,pn.markStart(),e.type===Yt.Identifier?(n=G(),"get"!==e.value||q(":")?"set"!==e.value||q(":")?(R(":"),r=lt(),pn.markEnd(pn.createProperty("init",n,r))):(t=G(),R("("),e=fn,e.type!==Yt.Identifier?(R(")"),N(e,tn.UnexpectedToken,e.value),r=z([])):(i=[dt()],R(")"),r=z(i,e)),pn.markEnd(pn.createProperty("set",t,r))):(t=G(),R("("),R(")"),r=z([]),pn.markEnd(pn.createProperty("get",t,r)))):e.type!==Yt.EOF&&e.type!==Yt.Punctuator?(t=G(),R(":"),r=lt(),pn.markEnd(pn.createProperty("init",t,r))):void D(e)}function J(){var e,t,n,r,i=[],o={},a=String;for(R("{");!q("}");)e=K(),t=e.key.type===Zt.Identifier?e.key.name:a(e.key.value),r="init"===e.kind?en.Data:"get"===e.kind?en.Get:en.Set,n="$"+t,Object.prototype.hasOwnProperty.call(o,n)?(o[n]===en.Data?an&&r===en.Data?N({},tn.StrictDuplicateProperty):r!==en.Data&&N({},tn.AccessorDataProperty):r===en.Data?N({},tn.AccessorDataProperty):o[n]&r&&N({},tn.AccessorGetSet),o[n]|=r):o[n]=r,i.push(e),q("}")||R(",");return R("}"),pn.createObjectExpression(i)}function Y(){var e;return R("("),e=pt(),R(")"),e}function X(){var e,t,n;return q("(")?Y():(e=fn.type,pn.markStart(),e===Yt.Identifier?n=pn.createIdentifier(P().value):e===Yt.StringLiteral||e===Yt.NumericLiteral?(an&&fn.octal&&N(fn,tn.StrictOctalLiteral),n=pn.createLiteral(P())):e===Yt.Keyword?B("this")?(P(),n=pn.createThisExpression()):B("function")&&(n=qt()):e===Yt.BooleanLiteral?(t=P(),t.value="true"===t.value,n=pn.createLiteral(t)):e===Yt.NullLiteral?(t=P(),t.value=null,n=pn.createLiteral(t)):q("[")?n=W():q("{")?n=J():(q("/")||q("/="))&&(n=pn.createLiteral("undefined"!=typeof dn.tokens?A():k()),M()),n?pn.markEnd(n):void D(P()))}function Q(){var e=[];if(R("("),!q(")"))for(;ln>sn&&(e.push(lt()),!q(")"));)R(",");return R(")"),e}function Z(){var e;return pn.markStart(),e=P(),I(e)||D(e),pn.markEnd(pn.createIdentifier(e.value))}function et(){return R("."),Z()}function tt(){var e;return R("["),e=pt(),R("]"),e}function nt(){var e,t;return pn.markStart(),F("new"),e=it(),t=q("(")?Q():[],pn.markEnd(pn.createNewExpression(e,t))}function rt(){var e,t,n,r,i;for(e=Gt(),t=hn.allowIn,hn.allowIn=!0,n=B("new")?nt():X(),hn.allowIn=t;q(".")||q("[")||q("(");)q("(")?(r=Q(),n=pn.createCallExpression(n,r)):q("[")?(i=tt(),n=pn.createMemberExpression("[",n,i)):(i=et(),n=pn.createMemberExpression(".",n,i)),e&&e.apply(n);return n}function it(){var e,t,n,r;for(e=Gt(),t=hn.allowIn,n=B("new")?nt():X(),hn.allowIn=t;q(".")||q("[");)q("[")?(r=tt(),n=pn.createMemberExpression("[",n,r)):(r=et(),n=pn.createMemberExpression(".",n,r)),e&&e.apply(n);return n}function ot(){var e,t;return pn.markStart(),e=rt(),fn.type===Yt.Punctuator&&(!q("++")&&!q("--")||j()||(an&&e.type===Zt.Identifier&&p(e.name)&&N({},tn.StrictLHSPostfix),H(e)||N({},tn.InvalidLHSInAssignment),t=P(),e=pn.createPostfixExpression(t.value,e))),pn.markEndIf(e)}function at(){var e,t;return pn.markStart(),fn.type!==Yt.Punctuator&&fn.type!==Yt.Keyword?t=ot():q("++")||q("--")?(e=P(),t=at(),an&&t.type===Zt.Identifier&&p(t.name)&&N({},tn.StrictLHSPrefix),H(t)||N({},tn.InvalidLHSInAssignment),t=pn.createUnaryExpression(e.value,t)):q("+")||q("-")||q("~")||q("!")?(e=P(),t=at(),t=pn.createUnaryExpression(e.value,t)):B("delete")||B("void")||B("typeof")?(e=P(),t=at(),t=pn.createUnaryExpression(e.value,t),an&&"delete"===t.operator&&t.argument.type===Zt.Identifier&&N({},tn.StrictDelete)):t=ot(),pn.markEndIf(t)}function st(e,t){var n=0;if(e.type!==Yt.Punctuator&&e.type!==Yt.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function ut(){var e,t,n,r,i,o,a,s,u,c;if(e=Gt(),u=at(),r=fn,i=st(r,hn.allowIn),0===i)return u;for(r.prec=i,P(),t=[e,Gt()],a=at(),o=[u,r,a];(i=st(fn,hn.allowIn))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)a=o.pop(),s=o.pop().value,u=o.pop(),n=pn.createBinaryExpression(s,u,a),t.pop(),e=t.pop(),e&&e.apply(n),o.push(n),t.push(e);r=P(),r.prec=i,o.push(r),t.push(Gt()),n=at(),o.push(n)}for(c=o.length-1,n=o[c],t.pop();c>1;)n=pn.createBinaryExpression(o[c-1].value,o[c-2],n),c-=2,e=t.pop(),e&&e.apply(n);return n}function ct(){var e,t,n,r;return pn.markStart(),e=ut(),q("?")?(P(),t=hn.allowIn,hn.allowIn=!0,n=lt(),hn.allowIn=t,R(":"),r=lt(),e=pn.markEnd(pn.createConditionalExpression(e,n,r))):pn.markEnd({}),e}function lt(){var e,t,n,r;return e=fn,pn.markStart(),r=t=ct(),U()&&(H(t)||N({},tn.InvalidLHSInAssignment),an&&t.type===Zt.Identifier&&p(t.name)&&N(e,tn.StrictLHSAssignment),e=P(),n=lt(),r=pn.createAssignmentExpression(e.value,t,n)),pn.markEndIf(r)}function pt(){var e;if(pn.markStart(),e=lt(),q(","))for(e=pn.createSequenceExpression([e]);ln>sn&&q(",");)P(),e.expressions.push(lt());return pn.markEndIf(e)}function ft(){for(var e,t=[];ln>sn&&!q("}")&&(e=Bt(),"undefined"!=typeof e);)t.push(e);return t}function ht(){var e;return pn.markStart(),R("{"),e=ft(),R("}"),pn.markEnd(pn.createBlockStatement(e))}function dt(){var e;return pn.markStart(),e=P(),e.type!==Yt.Identifier&&D(e),pn.markEnd(pn.createIdentifier(e.value))}function mt(e){var t,n=null;return pn.markStart(),t=dt(),an&&p(t.name)&&N({},tn.StrictVarName),"const"===e?(R("="),n=lt()):q("=")&&(P(),n=lt()),pn.markEnd(pn.createVariableDeclarator(t,n))}function gt(e){var t=[];do{if(t.push(mt(e)),!q(","))break;P()}while(ln>sn);return t}function vt(){var e;return F("var"),e=gt(),V(),pn.createVariableDeclaration(e,"var")}function yt(e){var t;return pn.markStart(),F(e),t=gt(e),V(),pn.markEnd(pn.createVariableDeclaration(t,e))}function $t(){return R(";"),pn.createEmptyStatement()}function St(){var e=pt();return V(),pn.createExpressionStatement(e)}function bt(){var e,t,n;return F("if"),R("("),e=pt(),R(")"),t=Nt(),B("else")?(P(),n=Nt()):n=null,pn.createIfStatement(e,t,n)}function wt(){var e,t,n;return F("do"),n=hn.inIteration,hn.inIteration=!0,e=Nt(),hn.inIteration=n,F("while"),R("("),t=pt(),R(")"),q(";")&&P(),pn.createDoWhileStatement(e,t)}function xt(){var e,t,n;return F("while"),R("("),e=pt(),R(")"),n=hn.inIteration,hn.inIteration=!0,t=Nt(),hn.inIteration=n,pn.createWhileStatement(e,t)}function Ct(){var e,t;return pn.markStart(),e=P(),t=gt(),pn.markEnd(pn.createVariableDeclaration(t,e.value))}function Et(){var e,t,n,r,i,o,a;return e=t=n=null,F("for"),R("("),q(";")?P():(B("var")||B("let")?(hn.allowIn=!1,e=Ct(),hn.allowIn=!0,1===e.declarations.length&&B("in")&&(P(),r=e,i=pt(),e=null)):(hn.allowIn=!1,e=pt(),hn.allowIn=!0,B("in")&&(H(e)||N({},tn.InvalidLHSInForIn),P(),r=e,i=pt(),e=null)),"undefined"==typeof r&&R(";")),"undefined"==typeof r&&(q(";")||(t=pt()),R(";"),q(")")||(n=pt())),R(")"),a=hn.inIteration,hn.inIteration=!0,o=Nt(),hn.inIteration=a,"undefined"==typeof r?pn.createForStatement(e,t,n,o):pn.createForInStatement(r,i,o)}function kt(){var e,t=null;return F("continue"),59===on.charCodeAt(sn)?(P(),hn.inIteration||T({},tn.IllegalContinue),pn.createContinueStatement(null)):j()?(hn.inIteration||T({},tn.IllegalContinue),pn.createContinueStatement(null)):(fn.type===Yt.Identifier&&(t=dt(),e="$"+t.name,Object.prototype.hasOwnProperty.call(hn.labelSet,e)||T({},tn.UnknownLabel,t.name)),V(),null!==t||hn.inIteration||T({},tn.IllegalContinue),pn.createContinueStatement(t))}function At(){var e,t=null;return F("break"),59===on.charCodeAt(sn)?(P(),hn.inIteration||hn.inSwitch||T({},tn.IllegalBreak),pn.createBreakStatement(null)):j()?(hn.inIteration||hn.inSwitch||T({},tn.IllegalBreak),pn.createBreakStatement(null)):(fn.type===Yt.Identifier&&(t=dt(),e="$"+t.name,Object.prototype.hasOwnProperty.call(hn.labelSet,e)||T({},tn.UnknownLabel,t.name)),V(),null!==t||hn.inIteration||hn.inSwitch||T({},tn.IllegalBreak),pn.createBreakStatement(t))}function It(){var e=null;return F("return"),hn.inFunctionBody||N({},tn.IllegalReturn),32===on.charCodeAt(sn)&&s(on.charCodeAt(sn+1))?(e=pt(),V(),pn.createReturnStatement(e)):j()?pn.createReturnStatement(null):(q(";")||q("}")||fn.type===Yt.EOF||(e=pt()),V(),pn.createReturnStatement(e))}function _t(){var e,t;return an&&N({},tn.StrictModeWith),F("with"),R("("),e=pt(),R(")"),t=Nt(),pn.createWithStatement(e,t)}function Ot(){var e,t,n=[];for(pn.markStart(),B("default")?(P(),e=null):(F("case"),e=pt()),R(":");ln>sn&&!(q("}")||B("default")||B("case"));)t=Nt(),n.push(t);return pn.markEnd(pn.createSwitchCase(e,n))}function Lt(){var e,t,n,r,i;if(F("switch"),R("("),e=pt(),R(")"),R("{"),t=[],q("}"))return P(),pn.createSwitchStatement(e,t);for(r=hn.inSwitch,hn.inSwitch=!0,i=!1;ln>sn&&!q("}");)n=Ot(),null===n.test&&(i&&T({},tn.MultipleDefaultsInSwitch),i=!0),t.push(n);return hn.inSwitch=r,R("}"),pn.createSwitchStatement(e,t)}function Pt(){var e;return F("throw"),j()&&T({},tn.NewlineAfterThrow),e=pt(),V(),pn.createThrowStatement(e)}function Mt(){var e,t;return pn.markStart(),F("catch"),R("("),q(")")&&D(fn),e=dt(),an&&p(e.name)&&N({},tn.StrictCatchVariable),R(")"),t=ht(),pn.markEnd(pn.createCatchClause(e,t))}function jt(){var e,t=[],n=null;return F("try"),e=ht(),B("catch")&&t.push(Mt()),B("finally")&&(P(),n=ht()),0!==t.length||n||T({},tn.NoCatchOrFinally),pn.createTryStatement(e,[],t,n)}function Tt(){return F("debugger"),V(),pn.createDebuggerStatement()}function Nt(){var e,t,n,r=fn.type;if(r===Yt.EOF&&D(fn),pn.markStart(),r===Yt.Punctuator)switch(fn.value){case";":return pn.markEnd($t());case"{":return pn.markEnd(ht());case"(":return pn.markEnd(St())}if(r===Yt.Keyword)switch(fn.value){case"break":return pn.markEnd(At());case"continue":return pn.markEnd(kt());case"debugger":return pn.markEnd(Tt());case"do":return pn.markEnd(wt());case"for":return pn.markEnd(Et());case"function":return pn.markEnd(Ft());case"if":return pn.markEnd(bt());case"return":return pn.markEnd(It());case"switch":return pn.markEnd(Lt());case"throw":return pn.markEnd(Pt());case"try":return pn.markEnd(jt());case"var":return pn.markEnd(vt());case"while":return pn.markEnd(xt());case"with":return pn.markEnd(_t())}return e=pt(),e.type===Zt.Identifier&&q(":")?(P(),n="$"+e.name,Object.prototype.hasOwnProperty.call(hn.labelSet,n)&&T({},tn.Redeclaration,"Label",e.name),hn.labelSet[n]=!0,t=Nt(),delete hn.labelSet[n],pn.markEnd(pn.createLabeledStatement(e,t))):(V(),pn.markEnd(pn.createExpressionStatement(e)))}function Dt(){var e,t,n,r,i,o,a,s,u=[];for(pn.markStart(),R("{");ln>sn&&fn.type===Yt.StringLiteral&&(t=fn,e=Bt(),u.push(e),e.expression.type===Zt.Literal);)n=on.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?(an=!0,r&&N(r,tn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(i=hn.labelSet,o=hn.inIteration,a=hn.inSwitch,s=hn.inFunctionBody,hn.labelSet={},hn.inIteration=!1,hn.inSwitch=!1,hn.inFunctionBody=!0;ln>sn&&!q("}")&&(e=Bt(),"undefined"!=typeof e);)u.push(e);return R("}"),hn.labelSet=i,hn.inIteration=o,hn.inSwitch=a,hn.inFunctionBody=s,pn.markEnd(pn.createBlockStatement(u))}function Rt(e){var t,n,r,i,o,a,s=[];if(R("("),!q(")"))for(i={};ln>sn&&(n=fn,t=dt(),o="$"+n.value,an?(p(n.value)&&(r=n,a=tn.StrictParamName),Object.prototype.hasOwnProperty.call(i,o)&&(r=n,a=tn.StrictParamDupe)):e||(p(n.value)?(e=n,a=tn.StrictParamName):l(n.value)?(e=n,a=tn.StrictReservedWord):Object.prototype.hasOwnProperty.call(i,o)&&(e=n,a=tn.StrictParamDupe)),s.push(t),i[o]=!0,!q(")"));)R(",");return R(")"),{params:s,stricted:r,firstRestricted:e,message:a}}function Ft(){var e,t,n,r,i,o,a,s,u=[];return pn.markStart(),F("function"),n=fn,e=dt(),an?p(n.value)&&N(n,tn.StrictFunctionName):p(n.value)?(o=n,a=tn.StrictFunctionName):l(n.value)&&(o=n,a=tn.StrictReservedWord),i=Rt(o),u=i.params,r=i.stricted,o=i.firstRestricted,i.message&&(a=i.message),s=an,t=Dt(),an&&o&&T(o,a),an&&r&&N(r,a),an=s,pn.markEnd(pn.createFunctionDeclaration(e,u,[],t))}function qt(){var e,t,n,r,i,o,a,s=null,u=[];return pn.markStart(),F("function"),q("(")||(e=fn,s=dt(),an?p(e.value)&&N(e,tn.StrictFunctionName):p(e.value)?(n=e,r=tn.StrictFunctionName):l(e.value)&&(n=e,r=tn.StrictReservedWord)),i=Rt(n),u=i.params,t=i.stricted,n=i.firstRestricted,i.message&&(r=i.message),a=an,o=Dt(),an&&n&&T(n,r),an&&t&&N(t,r),an=a,pn.markEnd(pn.createFunctionExpression(s,u,[],o))}function Bt(){if(fn.type===Yt.Keyword)switch(fn.value){case"const":case"let":return yt(fn.value);case"function":return Ft();default:return Nt()}return fn.type!==Yt.EOF?Nt():void 0}function Ut(){for(var e,t,n,r,i=[];ln>sn&&(t=fn,t.type===Yt.StringLiteral)&&(e=Bt(),i.push(e),e.expression.type===Zt.Literal);)n=on.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?(an=!0,r&&N(r,tn.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;ln>sn&&(e=Bt(),"undefined"!=typeof e);)i.push(e);return i}function Vt(){var e;return pn.markStart(),an=!1,M(),e=Ut(),pn.markEnd(pn.createProgram(e))}function Ht(){var e,t,n,r,i;for(e=0;e<dn.pendingComments.length;++e)t=dn.pendingComments[e],n=t.comment,r=t.leading,r&&("undefined"==typeof r.leadingComments&&(r.leadingComments=[]),r.leadingComments.push(t.comment)),i=t.trailing,i&&("undefined"==typeof i.trailingComments&&(i.trailingComments=[]),i.trailingComments.push(t.comment));dn.pendingComments=[]}function Wt(){var e,t,n,r=[];for(e=0;e<dn.tokens.length;++e)t=dn.tokens[e],n={type:t.type,value:t.value},dn.range&&(n.range=t.range),dn.loc&&(n.loc=t.loc),r.push(n);dn.tokens=r}function zt(){this.startIndex=sn,this.startLine=un,this.startColumn=sn-cn}function Gt(){return dn.loc||dn.range?(g(),new zt):null}function Kt(e,t){var n,r,i;n=String,"string"==typeof e||e instanceof String||(e=n(e)),pn=rn,on=e,sn=0,un=on.length>0?1:0,cn=0,ln=on.length,fn=null,hn={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},dn={},t=t||{},t.tokens=!0,dn.tokens=[],dn.tokenize=!0,dn.openParenToken=-1,dn.openCurlyToken=-1,dn.range="boolean"==typeof t.range&&t.range,dn.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(dn.errors=[]),ln>0&&"undefined"==typeof on[0]&&e instanceof String&&(on=e.valueOf());try{if(M(),fn.type===Yt.EOF)return dn.tokens;for(r=P();fn.type!==Yt.EOF;)try{r=P()}catch(o){if(r=fn,dn.errors){dn.errors.push(o);break}throw o}Wt(),i=dn.tokens,"undefined"!=typeof dn.comments&&(i.comments=dn.comments),"undefined"!=typeof dn.errors&&(i.errors=dn.errors)}catch(a){throw a}finally{dn={}}return i}function Jt(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),pn=rn,on=e,sn=0,un=on.length>0?1:0,cn=0,ln=on.length,fn=null,hn={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1,markerStack:[]},dn={},"undefined"!=typeof t&&(dn.range="boolean"==typeof t.range&&t.range,dn.loc="boolean"==typeof t.loc&&t.loc,dn.attachComment="boolean"==typeof t.attachComment&&t.attachComment,dn.loc&&null!==t.source&&void 0!==t.source&&(dn.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(dn.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(dn.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(dn.errors=[]),dn.attachComment&&(dn.range=!0,dn.pendingComments=[],dn.comments=[])),ln>0&&"undefined"==typeof on[0]&&e instanceof String&&(on=e.valueOf());try{n=Vt(),"undefined"!=typeof dn.comments&&(n.comments=dn.comments),"undefined"!=typeof dn.tokens&&(Wt(),n.tokens=dn.tokens),"undefined"!=typeof dn.errors&&(n.errors=dn.errors),dn.attachComment&&Ht()}catch(i){throw i}finally{dn={}}return n}var Yt,Xt,Qt,Zt,en,tn,nn,rn,on,an,sn,un,cn,ln,pn,fn,hn,dn;Yt={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},Xt={},Xt[Yt.BooleanLiteral]="Boolean",Xt[Yt.EOF]="<end>",Xt[Yt.Identifier]="Identifier",Xt[Yt.Keyword]="Keyword",Xt[Yt.NullLiteral]="Null",Xt[Yt.NumericLiteral]="Numeric",Xt[Yt.Punctuator]="Punctuator",Xt[Yt.StringLiteral]="String",Xt[Yt.RegularExpression]="RegularExpression",Qt=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],Zt={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},en={Data:1,Get:2,Set:4},tn={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},nn={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")},rn={name:"SyntaxTree",markStart:function(){g(),dn.loc&&(hn.markerStack.push(sn-cn),hn.markerStack.push(un)),dn.range&&hn.markerStack.push(sn)
},processComment:function(e){var t,n,r,i,o;if("undefined"!=typeof e.type&&e.type!==Zt.Program)for(M(),t=0;t<dn.pendingComments.length;++t)n=dn.pendingComments[t],e.range[0]>=n.comment.range[1]&&(o=n.leading,o?(r=o.range[0],i=o.range[1]-r,e.range[0]<=r&&e.range[1]-e.range[0]>=i&&(n.leading=e)):n.leading=e),e.range[1]<=n.comment.range[0]&&(o=n.trailing,o?(r=o.range[0],i=o.range[1]-r,e.range[0]<=r&&e.range[1]-e.range[0]>=i&&(n.trailing=e)):n.trailing=e)},markEnd:function(e){return dn.range&&(e.range=[hn.markerStack.pop(),sn]),dn.loc&&(e.loc={start:{line:hn.markerStack.pop(),column:hn.markerStack.pop()},end:{line:un,column:sn-cn}},this.postProcess(e)),dn.attachComment&&this.processComment(e),e},markEndIf:function(e){return e.range||e.loc?(dn.loc&&(hn.markerStack.pop(),hn.markerStack.pop()),dn.range&&hn.markerStack.pop()):this.markEnd(e),e},postProcess:function(e){return dn.source&&(e.loc.source=dn.source),e},createArrayExpression:function(e){return{type:Zt.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:Zt.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){var r="||"===e||"&&"===e?Zt.LogicalExpression:Zt.BinaryExpression;return{type:r,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:Zt.BlockStatement,body:e}},createBreakStatement:function(e){return{type:Zt.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:Zt.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:Zt.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:Zt.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:Zt.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:Zt.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:Zt.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:Zt.EmptyStatement}},createExpressionStatement:function(e){return{type:Zt.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:Zt.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:Zt.ForInStatement,left:e,right:t,body:n,each:!1}},createFunctionDeclaration:function(e,t,n,r){return{type:Zt.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(e,t,n,r){return{type:Zt.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createIdentifier:function(e){return{type:Zt.Identifier,name:e}},createIfStatement:function(e,t,n){return{type:Zt.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:Zt.LabeledStatement,label:e,body:t}},createLiteral:function(e){return{type:Zt.Literal,value:e.value,raw:on.slice(e.range[0],e.range[1])}},createMemberExpression:function(e,t,n){return{type:Zt.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:Zt.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:Zt.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:Zt.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:Zt.Program,body:e}},createProperty:function(e,t,n){return{type:Zt.Property,key:t,value:n,kind:e}},createReturnStatement:function(e){return{type:Zt.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:Zt.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:Zt.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:Zt.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:Zt.ThisExpression}},createThrowStatement:function(e){return{type:Zt.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:Zt.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:Zt.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:Zt.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:Zt.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:Zt.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:Zt.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:Zt.WithStatement,object:e,body:t}}},zt.prototype={constructor:zt,apply:function(e){dn.range&&(e.range=[this.startIndex,sn]),dn.loc&&(e.loc={start:{line:this.startLine,column:this.startColumn},end:{line:un,column:sn-cn}},e=pn.postProcess(e)),dn.attachComment&&pn.processComment(e)}},e.version="1.1.1",e.tokenize=Kt,e.parse=Jt,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in Zt)Zt.hasOwnProperty(e)&&(t[e]=Zt[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()}),function(e){"use strict";function t(e,t){var n,r;return null!==h?(n=h.createHash("md5"),n.update(e),r=n.digest("base64"),r=r.replace(new RegExp("=","g"),"").replace(new RegExp("\\+","g"),"_").replace(new RegExp("/","g"),"$")):(window.__cov_seq=window.__cov_seq||0,window.__cov_seq+=1,r=window.__cov_seq),"__cov_"+(t?"":r)}function n(e,t){v(t)||(t=[t]),Array.prototype.push.apply(e,t)}function r(e,t,n,r){this.walkMap=e,this.preprocessor=t,this.scope=n,this.debug=r,this.debug&&(this.level=0,this.seq=!0)}function i(e,t){var r,i,o,s,u,c,l,p,f,h,d,m,g,y=e.type,$=a[y].children,S=!!e.loc||e.type===a.Program.name,b=S?t.walkMap[y]:null;if(e.walking)throw new Error("Infinite regress: Custom walkers may NOT call walker.apply(node)");if(e.walking=!0,p=t.apply(e,t.preprocessor),r=p.preprocessor,r&&(delete p.preprocessor,p=t.apply(e,r)),v(b)){for(u=0;u<b.length;u+=1)if(g=u===b.length-1,p=t.apply(p,b[u]),p.type!==y&&!g)throw new Error("Only the last walker is allowed to change the node type: [type was: "+y+" ]")}else b&&(p=t.apply(e,b));for(o=0;o<$.length;o+=1)if(c=$[o],l=e[c],l&&!l.skipWalk)if(d={node:e,property:c},v(l)){for(f=[],s=0;s<l.length;s+=1)h=l[s],d.index=s,h&&(m=t.apply(h,null,d),v(m.prepend)&&(n(f,m.prepend),delete m.prepend)),n(f,m);e[c]=f}else{if(m=t.apply(l,null,d),v(m.prepend))throw new Error("Internal error: attempt to prepend statements in disallowed (non-array) context");e[c]=m}return i=p.postprocessor,i&&(delete p.postprocessor,p=t.apply(p,i)),delete e.walking,p}function o(e){this.opts=e||{debug:!1,walkDebug:!1,coverageVariable:"__coverage__",codeGenerationOptions:void 0,noAutoWrap:!1,noCompact:!1,embedSource:!1,preserveComments:!1},this.walker=new r({ExpressionStatement:this.coverStatement,BreakStatement:this.coverStatement,ContinueStatement:this.coverStatement,DebuggerStatement:this.coverStatement,ReturnStatement:this.coverStatement,ThrowStatement:this.coverStatement,TryStatement:this.coverStatement,VariableDeclaration:this.coverStatement,IfStatement:[this.ifBlockConverter,this.coverStatement,this.ifBranchInjector],ForStatement:[this.skipInit,this.loopBlockConverter,this.coverStatement],ForInStatement:[this.skipLeft,this.loopBlockConverter,this.coverStatement],WhileStatement:[this.loopBlockConverter,this.coverStatement],DoWhileStatement:[this.loopBlockConverter,this.coverStatement],SwitchStatement:[this.coverStatement,this.switchBranchInjector],SwitchCase:[this.switchCaseInjector],WithStatement:this.coverStatement,FunctionDeclaration:[this.coverFunction,this.coverStatement],FunctionExpression:this.coverFunction,LabeledStatement:this.coverStatement,ConditionalExpression:this.conditionalBranchInjector,LogicalExpression:this.logicalExpressionBranchInjector,ObjectExpression:this.maybeAddType},this.extractCurrentHint,this,this.opts.walkDebug),this.opts.backdoor&&this.opts.backdoor.omitTrackerSuffix&&(this.omitTrackerSuffix=!0)}var a,s,u,c,l,p=e?require("esprima"):esprima,f=e?require("escodegen"):escodegen,h=e?require("crypto"):null,d="(function () { ",m="\n}());",g=/^\s*istanbul\s+ignore\s+(if|else|next)(?=\W|$)/,v=Array.isArray;if(v||(v=function(e){return e&&"[object Array]"===Object.prototype.toString.call(e)}),!e){c={"Could not find esprima":p,"Could not find escodegen":f,"JSON object not in scope":JSON,"Array does not implement push":[].push,"Array does not implement unshift":[].unshift};for(l in c)if(c.hasOwnProperty(l)&&!c[l])throw new Error(l)}a={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","defaults","body"],Identifier:[],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],Program:["body"],Property:["key","value"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handlers","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"]};for(s in a)a.hasOwnProperty(s)&&(a[s]={name:s,children:a[s]});u={variable:function(e){return{type:a.Identifier.name,name:e}},stringLiteral:function(e){return{type:a.Literal.name,value:String(e)}},numericLiteral:function(e){return{type:a.Literal.name,value:Number(e)}},statement:function(e){return{type:a.ExpressionStatement.name,expression:e}},dot:function(e,t){return{type:a.MemberExpression.name,computed:!1,object:e,property:t}},subscript:function(e,t){return{type:a.MemberExpression.name,computed:!0,object:e,property:t}},postIncrement:function(e){return{type:a.UpdateExpression.name,operator:"++",prefix:!1,argument:e}},sequence:function(e,t){return{type:a.SequenceExpression.name,expressions:[e,t]}}},r.prototype={startWalk:function(e){this.path=[],this.apply(e)},apply:function(e,t,n){var r,o,a,s;if(t=t||i,this.debug){for(this.seq+=1,this.level+=1,a=this.seq,s="",o=0;o<this.level;o+=1)s+=" ";console.log(s+"Enter ("+a+"):"+e.type)}return n&&this.path.push(n),r=t.call(this.scope,e,this),n&&this.path.pop(),this.debug&&(this.level-=1,console.log(s+"Return ("+a+"):"+e.type)),r||e},startLineForNode:function(e){return e&&e.loc&&e.loc.start?e.loc.start.line:null},ancestor:function(e){return this.path.length>e-1?this.path[this.path.length-e]:null},parent:function(){return this.ancestor(1)},isLabeled:function(){var e=this.parent();return e&&e.node.type===a.LabeledStatement.name}},o.prototype={instrumentSync:function(e,t){var n;if("string"!=typeof e)throw new Error("Code must be string");return"#"===e.charAt(0)&&(e="//"+e),this.opts.noAutoWrap||(e=d+e+m),n=p.parse(e,{loc:!0,range:!0,tokens:this.opts.preserveComments,comment:!0}),this.opts.preserveComments&&(n=f.attachComments(n,n.comments,n.tokens)),this.opts.noAutoWrap||(n={type:a.Program.name,body:n.body[0].expression.callee.body.body,comments:n.comments}),this.instrumentASTSync(n,t,e)},filterHints:function(e){var t,n,r,i=[];if(!e||!v(e))return i;for(t=0;t<e.length;t+=1)n=e[t],n&&n.value&&n.range&&v(n.range)&&(r=String(n.value).match(g),r&&i.push({type:r[1],start:n.range[0],end:n.range[1]}));return i},extractCurrentHint:function(e){if(e.range){var t,n=this.currentState.lastHintPosition+1,r=this.currentState.hints,i=e.range[0];for(this.currentState.currentHint=null;n<r.length&&(t=r[n],t.end<i);)this.currentState.currentHint=t,this.currentState.lastHintPosition=n,n+=1}},instrumentASTSync:function(e,n,r){var i,o=!1;return n=n||String((new Date).getTime())+".js",this.coverState={path:n,s:{},b:{},f:{},fnMap:{},statementMap:{},branchMap:{}},this.currentState={trackerVar:t(n,this.omitTrackerSuffix),func:0,branch:0,variable:0,statement:0,hints:this.filterHints(e.comments),currentHint:null,lastHintPosition:-1,ignoring:0},e.body&&e.body.length>0&&this.isUseStrictExpression(e.body[0])&&(e.body.shift(),o=!0),this.walker.startWalk(e),i=this.opts.codeGenerationOptions||{format:{compact:!this.opts.noCompact}},i.comment=this.opts.preserveComments,this.getPreamble(r||"",o)+"\n"+f.generate(e,i)+"\n"},instrument:function(e,t,n){n||"function"!=typeof t||(n=t,t=null);try{n(null,this.instrumentSync(e,t))}catch(r){n(r)}},lastFileCoverage:function(){return this.coverState},fixColumnPositions:function(e){var t,n,r,i,o=d.length,a=function(e){1===e.start.line&&(e.start.column-=o),1===e.end.line&&(e.end.column-=o)};n=e.statementMap;for(t in n)n.hasOwnProperty(t)&&a(n[t]);n=e.fnMap;for(t in n)n.hasOwnProperty(t)&&a(n[t].loc);n=e.branchMap;for(t in n)if(n.hasOwnProperty(t))for(i=n[t].locations,r=0;r<i.length;r+=1)a(i[r])},getPreamble:function(e,t){var n,r,i=this.opts.coverageVariable||"__coverage__",o=this.coverState.path.replace(/\\/g,"\\\\"),a=this.currentState.trackerVar,s=t?'"use strict";':"",u=function(e){return function(){return e}};return this.opts.noAutoWrap||this.fixColumnPositions(this.coverState),this.opts.embedSource&&(this.coverState.code=e.split(/(?:\r?\n)|\r/)),n=this.opts.debug?JSON.stringify(this.coverState,void 0,4):JSON.stringify(this.coverState),r=["%STRICT%","var %VAR% = (Function('return this'))();","if (!%VAR%.%GLOBAL%) { %VAR%.%GLOBAL% = {}; }","%VAR% = %VAR%.%GLOBAL%;","if (!(%VAR%['%FILE%'])) {"," %VAR%['%FILE%'] = %OBJECT%;","}","%VAR% = %VAR%['%FILE%'];"].join("\n").replace(/%STRICT%/g,u(s)).replace(/%VAR%/g,u(a)).replace(/%GLOBAL%/g,u(i)).replace(/%FILE%/g,u(o)).replace(/%OBJECT%/g,u(n))},startIgnore:function(){this.currentState.ignoring+=1},endIgnore:function(){this.currentState.ignoring-=1},convertToBlock:function(e){return e?"BlockStatement"===e.type?e:{type:"BlockStatement",body:[e]}:{type:"BlockStatement",body:[]}},ifBlockConverter:function(e){e.consequent=this.convertToBlock(e.consequent),e.alternate=this.convertToBlock(e.alternate)},loopBlockConverter:function(e){e.body=this.convertToBlock(e.body)},statementName:function(e,t){var n,r=!!this.currentState.ignoring;return e.skip=r||void 0,t=t||0,this.currentState.statement+=1,n=this.currentState.statement,this.coverState.statementMap[n]=e,this.coverState.s[n]=t,n},skipInit:function(e){e.init&&(e.init.skipWalk=!0)},skipLeft:function(e){e.left.skipWalk=!0},isUseStrictExpression:function(e){return e&&e.type===a.ExpressionStatement.name&&e.expression&&e.expression.type===a.Literal.name&&"use strict"===e.expression.value},maybeSkipNode:function(e,t){var n=!!this.currentState.ignoring,r=this.currentState.currentHint,i=!n&&r&&r.type===t;return i?(this.startIgnore(),e.postprocessor=this.endIgnore,!0):!1},coverStatement:function(e,t){var n,r,i;this.maybeSkipNode(e,"next"),(!this.isUseStrictExpression(e)||(i=t.ancestor(2),!i||i.node.type!==a.FunctionExpression.name&&i.node.type!==a.FunctionDeclaration.name||t.parent().node.body[0]!==e))&&(e.type===a.FunctionDeclaration.name?n=this.statementName(e.loc,1):(n=this.statementName(e.loc),r=u.statement(u.postIncrement(u.subscript(u.dot(u.variable(this.currentState.trackerVar),u.variable("s")),u.stringLiteral(n)))),this.splice(r,e,t)))},splice:function(e,t,r){var i=r.isLabeled()?r.parent().node:t;i.prepend=i.prepend||[],n(i.prepend,e)},functionName:function(e,t,n){this.currentState.func+=1;var r=this.currentState.func,i=!!this.currentState.ignoring,o=e.id?e.id.name:"(anonymous_"+r+")";return this.coverState.fnMap[r]={name:o,line:t,loc:n,skip:i||void 0},this.coverState.f[r]=0,r},coverFunction:function(e,t){var n,r,i=e.body,o=i.body;this.maybeSkipNode(e,"next"),n=this.functionName(e,t.startLineForNode(e),{start:e.loc.start,end:{line:e.body.loc.start.line,column:e.body.loc.start.column}}),o.length>0&&this.isUseStrictExpression(o[0])&&(r=o.shift()),o.unshift(u.statement(u.postIncrement(u.subscript(u.dot(u.variable(this.currentState.trackerVar),u.variable("f")),u.stringLiteral(n))))),r&&o.unshift(r)},branchName:function(e,t,n){var r,i,o=[],a=[],s=!!this.currentState.ignoring;for(this.currentState.branch+=1,r=this.currentState.branch,i=0;i<n.length;i+=1)n[i].skip=n[i].skip||s||void 0,a.push(n[i]),o.push(0);return this.coverState.b[r]=o,this.coverState.branchMap[r]={line:t,type:e,locations:a},r},branchIncrementExprAst:function(e,t,n){var r=u.postIncrement(u.subscript(u.subscript(u.dot(u.variable(this.currentState.trackerVar),u.variable("b")),u.stringLiteral(e)),u.numericLiteral(t)),n);return r},locationsForNodes:function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].loc);return n},ifBranchInjector:function(e,t){var n,r=!!this.currentState.ignoring,i=this.currentState.currentHint,o=!r&&i&&"if"===i.type,a=!r&&i&&"else"===i.type,s=e.loc.start.line,c=e.loc.start.column,l={line:s,column:c},p={line:s,column:c},f=this.branchName("if",t.startLineForNode(e),[{start:l,end:p,skip:o||void 0},{start:l,end:p,skip:a||void 0}]),h=e.consequent.body,d=e.alternate.body;h.unshift(u.statement(this.branchIncrementExprAst(f,0))),d.unshift(u.statement(this.branchIncrementExprAst(f,1))),o&&(n=e.consequent,n.preprocessor=this.startIgnore,n.postprocessor=this.endIgnore),a&&(n=e.alternate,n.preprocessor=this.startIgnore,n.postprocessor=this.endIgnore)},branchLocationFor:function(e,t){return this.coverState.branchMap[e].locations[t]},switchBranchInjector:function(e,t){var n,r,i=e.cases;if(i&&i.length>0)for(n=this.branchName("switch",t.startLineForNode(e),this.locationsForNodes(i)),r=0;r<i.length;r+=1)i[r].branchLocation=this.branchLocationFor(n,r),i[r].consequent.unshift(u.statement(this.branchIncrementExprAst(n,r)))},switchCaseInjector:function(e){var t=e.branchLocation;delete e.branchLocation,this.maybeSkipNode(e,"next")&&(t.skip=!0)},conditionalBranchInjector:function(e,t){var n=this.branchName("cond-expr",t.startLineForNode(e),this.locationsForNodes([e.consequent,e.alternate])),r=this.branchIncrementExprAst(n,0),i=this.branchIncrementExprAst(n,1);e.consequent.preprocessor=this.maybeAddSkip(this.branchLocationFor(n,0)),e.alternate.preprocessor=this.maybeAddSkip(this.branchLocationFor(n,1)),e.consequent=u.sequence(r,e.consequent),e.alternate=u.sequence(i,e.alternate)},maybeAddSkip:function(e){return function(t){var n=!!this.currentState.ignoring,r=this.currentState.currentHint,i=!n&&r&&"next"===r.type;i&&(this.startIgnore(),t.postprocessor=this.endIgnore),(i||n)&&(e.skip=!0)}},logicalExpressionBranchInjector:function(e,t){var n,r,i,o=t.parent(),s=[];if(this.maybeSkipNode(e,"next"),!o||o.node.type!==a.LogicalExpression.name)for(this.findLeaves(e,s),n=this.branchName("binary-expr",t.startLineForNode(e),this.locationsForNodes(s.map(function(e){return e.node}))),i=0;i<s.length;i+=1)r=s[i],r.parent[r.property]=u.sequence(this.branchIncrementExprAst(n,i),r.node),r.node.preprocessor=this.maybeAddSkip(this.branchLocationFor(n,i))},findLeaves:function(e,t,n,r){e.type===a.LogicalExpression.name?(this.findLeaves(e.left,t,e,"left"),this.findLeaves(e.right,t,e,"right")):t.push({node:e,parent:n,property:r})},maybeAddType:function(e){var t,n,r=e.properties;for(t=0;t<r.length;t+=1)n=r[t],n.type||(n.type=a.Property.name)}},e?module.exports=o:window.Instrumenter=o}("undefined"!=typeof module&&"undefined"!=typeof module.exports&&"undefined"!=typeof exports);
(function(){angular.module("jray",[]).factory("Inspector",function(){var t;return t=function(){function t(t,n){var r,e;this.scriptName=t,this.fnStr=n,this.fnLines=this.fnStr.split(/\n/),this.linesHit=[],this.linesHitFade=[],e=new Instrumenter,r=e.instrumentSync(this.fnStr,this.scriptName),eval.call(window,r),this.cov=window[e.currentState.trackerVar],this.update=function(){var t,n,r,e,i,o,a;this.linesHit=[],i=this.cov.s;for(t in i)r=i[t],r>0&&(n=this.cov.statementMap[t].start.line,this.linesHit[n]=!0,null==(e=this.linesHitFade)[n]&&(e[n]=0),this.linesHitFade[n]+=r),this.cov.s[t]=0;o=this.linesHitFade,a=[];for(t in o)r=o[t],a.push(this.linesHitFade[t]*=.5);return a}}return t}()}).controller("MainCtrl",["$scope","$timeout","$log","Inspector","ScriptLoader",function(t,n,r,e,i){var o;return r.info("jray:","Loading scripts..."),t.inspectors=[],(new i).loadAll().then(function(r){var i,o,a;for(o=0,a=r.length;a>o;o++)i=r[o],t.inspectors.push(new e(i.name,i.source));return n(function(){return t.expanded=!0},200)}),o=function(){var r,e,i,a;for(a=t.inspectors,e=0,i=a.length;i>e;e++)r=a[e],r.update();return n(o,50)},o(),t.lineStyle=function(t,n){var r,e;return n+=1,null!=t.linesHitFade[n]?(r=Math.sqrt(t.linesHitFade[n]),e=100-~~(15*r),e=Math.max(50,e),{background:"hsla(10,"+e+"%,"+e+"%,1.0)"}):{background:"white"}},t.currentScriptIndex=0,t.focusOnScript=function(n){return t.currentScriptIndex=n},t.toggleExpanded=function(){return t.expanded=!t.expanded}}]).factory("ScriptLoader",["$http","$q",function(t,n){var r;return r=function(){function r(){}return r.prototype.loadAll=function(){var r,e,i;return i=document.querySelectorAll("script[type='text/jray']"),r=function(){var n,r,o;for(o=[],n=0,r=i.length;r>n;n++)e=i[n],console.info("jray:",e.src),o.push(t.get(e.src));return o}(),n.all(r).then(function(t){var n,r,e,i;for(i=[],r=0,e=t.length;e>r;r++)n=t[r],i.push({source:n.data,url:n.config.url,name:n.config.url.split("/").slice(-1)[0]});return i})},r}()}]).run(["ScriptLoader",function(){}]),window.onload=function(){var t;return t=angular.element("<div ng-include src=\"'jray.html'\"></div>"),document.body.appendChild(t[0]),angular.bootstrap(t,["jray"])}}).call(this);
angular.module("jray").run(["$templateCache", function($templateCache) {$templateCache.put("jray.html","<div ng-controller=\"MainCtrl\" class=\"jray\"><div ng-class=\"{expanded: expanded}\" class=\"panel\"><div class=\"handle\"><div ng-click=\"toggleExpanded()\" class=\"inner\">jray</div></div><div class=\"thumbnails\"><div ng-repeat=\"inspector in inspectors\" ng-click=\"focusOnScript($index)\" ng-class=\"{current: $index == currentScriptIndex}\" class=\"inspector\"><div class=\"script-name\">{{inspector.scriptName}}</div><pre ng-repeat=\"line in inspector.fnLines track by $index\" ng-style=\"lineStyle(inspector,$index)\">{{line}} </pre></div></div><div class=\"inspector large\"><div class=\"script-name\">{{inspectors[ currentScriptIndex ].scriptName}}</div><pre ng-repeat=\"line in inspectors[ currentScriptIndex ].fnLines track by $index\" ng-style=\"lineStyle(inspectors[ currentScriptIndex ],$index)\">{{line}} </pre></div></div></div>");}]);