!function o(a,s,u){function c(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[t]={exports:{}};a[t][0].call(i.exports,function(e){return c(a[t][1][e]||e)},i,i.exports,o,a,s,u)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e")},c.prototype.fromString=function(e,t){return w.isFunction(e)?e(t):e},c.prototype.fromUrl=function(e,t){return w.isFunction(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},c.prototype.fromProvider=function(e,t,n){var r=w.services.$injector.annotate(e),i=w.isArray(e)?w.tail(e):e;return new w.Resolvable("",i,r).get(n)},c.prototype.fromComponentProvider=function(e,t,n){var r=w.services.$injector.annotate(e),i=w.isArray(e)?w.tail(e):e;return new w.Resolvable("",i,r).get(n)},c.prototype.makeComponentTemplate=function(u,c,e,l){function f(e){var t=w.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t}l=l||{};var p=3<=x.version.minor?"::":"",t=function(e){var t=w.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(h).reduce(w.unnestR,[])}(e).map(function(e){var t=e.name,n=e.type,r=f(t);if(u.attr(r)&&!l[t])return r+"='"+u.attr(r)+"'";var i=l[t]||t;if("@"===n)return r+"='{{"+p+"$resolve."+i+"}}'";if("&"!==n)return r+"='"+p+"$resolve."+i+"'";var o=c.getResolvable(i),a=o&&o.data,s=a&&w.services.$injector.annotate(a)||[];return r+"='$resolve."+i+(w.isArray(a)?"["+(a.length-1)+"]":"")+"("+s.join(",")+")'"}).join(" "),n=f(e);return"<"+n+" "+t+">"},c);function c(){var r=this;this._useHttp=x.version.minor<3,this.$get=["$http","$templateCache","$injector",function(e,t,n){return r.$templateRequest=n.has&&n.has("$templateRequest")&&n.get("$templateRequest"),r.$http=e,r.$templateCache=t,r}]}var h=function(e){return w.isObject(e.bindToController)?l(e.bindToController):l(e.scope)},l=function(t){return Object.keys(t||{}).map(function(e){return[e,/^([=<@&])[?]?(.*)/.exec(t[e])]}).filter(function(e){return w.isDefined(e)&&w.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},f=(p.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},p.prototype.state=function(e,t){return w.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},p.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},p);function p(e,t){this.stateRegistry=e,this.stateService=t,w.createProxyFunctions(w.val(p.prototype),this,w.val(this))}function d(t){return function(e){var i=e[t],o="onExit"===t?"from":"to";return i?function(e,t){var n=new w.ResolveContext(e.treeChanges(o)).subContext(t.$$state()),r=w.extend(H(n),{$state$:t,$transition$:e});return w.services.$injector.invoke(i,this,r)}:void 0}}var v=(m.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},m.prototype.dispose=function(){},m.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return w.removeFrom(t._urlListeners)(e)}},m.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=w.isObject(e)?e.enabled:e)&&this.$sniffer.history},m.prototype.baseHref=function(){return this._baseHref||(this._baseHref=this.$browser.baseHref()||this.$window.location.pathname)},m.prototype.url=function(e,t,n){return void 0===t&&(t=!1),w.isDefined(e)&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},m.prototype._runtimeServices=function(e,t,n,r,i){var o=this;this.$location=t,this.$sniffer=n,this.$browser=r,this.$window=i,e.$on("$locationChangeSuccess",function(t){return o._urlListeners.forEach(function(e){return e(t)})});var a=w.val(t);w.createProxyFunctions(a,this,a,["replace","path","search","hash"]),w.createProxyFunctions(a,this,a,["port","protocol","host"])},m);function m(e){this._urlListeners=[],this.$locationProvider=e;var t=w.val(e);w.createProxyFunctions(t,this,t,["hashPrefix"])}var g=(y.injectableHandler=function(t,n){return function(e){return w.services.$injector.invoke(n,null,{$match:e,$stateParams:t.globals.params})}},y.prototype.$get=function(){var e=this.router.urlService;return this.router.urlRouter.update(!0),e.interceptDeferred||e.listen(),this.router.urlRouter},y.prototype.rule=function(e){var t=this;if(!w.isFunction(e))throw new Error("'rule' must be a function");var n=new w.BaseUrlRule(function(){return e(w.services.$injector,t.router.locationService)},w.identity);return this.router.urlService.rules.rule(n),this},y.prototype.otherwise=function(e){var t=this,n=this.router.urlService.rules;if(w.isString(e))n.otherwise(e);else{if(!w.isFunction(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(w.services.$injector,t.router.locationService)})}return this},y.prototype.when=function(e,t){return(w.isArray(t)||w.isFunction(t))&&(t=y.injectableHandler(this.router,t)),this.router.urlService.rules.when(e,t),this},y.prototype.deferIntercept=function(e){this.router.urlService.deferIntercept(e)},y);function y(e){this.router=e}x.module("ui.router.angular1",[]);var b=x.module("ui.router.init",["ng"]),$=x.module("ui.router.util",["ui.router.init"]),T=x.module("ui.router.router",["ui.router.util"]),S=x.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),A=x.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),E=(x.module("ui.router.compat",["ui.router"]),null);function _(e){(E=this.router=new w.UIRouter).stateProvider=new f(E.stateRegistry,E.stateService),E.stateRegistry.decorator("views",i),E.stateRegistry.decorator("onExit",d("onExit")),E.stateRegistry.decorator("onRetain",d("onRetain")),E.stateRegistry.decorator("onEnter",d("onEnter")),E.viewService._pluginapi._viewConfigFactory("ng1",r()),E.urlService.config._decodeParams=!1;var s=E.locationService=E.locationConfig=new v(e);function t(e,t,n,r,i,o,a){return s._runtimeServices(i,e,r,t,n),delete E.router,delete E.$get,E}return v.monkeyPatchPathParameterType(E),((E.router=E).$get=t).$inject=["$location","$browser","$window","$sniffer","$rootScope","$http","$templateCache"],E}_.$inject=["$locationProvider"];function P(n){return["$uiRouterProvider",function(e){var t=e.router[n];return t.$get=function(){return t},t}]}function M(t,e,n){if(w.services.$injector=t,w.services.$q=e,!Object.prototype.hasOwnProperty.call(t,"strictDi"))try{t.invoke(function(e){})}catch(e){t.strictDi=!!/strict mode/.exec(e&&e.toString())}n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(w.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(e){return e.deps=t.annotate(e.resolveFn,t.strictDi)})}M.$inject=["$injector","$q","$uiRouter"];function k(e){e.$watch(function(){w.trace.approximateDigests++})}k.$inject=["$rootScope"],b.provider("$uiRouter",_),T.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new g(e)}]),$.provider("$urlService",P("urlService")),$.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return E.urlMatcherFactory}]),$.provider("$templateFactory",function(){return new u}),S.provider("$stateRegistry",P("stateRegistry")),S.provider("$uiRouterGlobals",P("globals")),S.provider("$transitions",P("transitionService")),S.provider("$state",["$uiRouterProvider",function(){return w.extend(E.stateProvider,{$get:function(){return E.stateService}})}]),S.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),A.factory("$view",function(){return E.viewService}),A.service("$trace",function(){return w.trace}),A.run(k),$.run(["$urlMatcherFactory",function(e){}]),S.run(["$state",function(e){}]),T.run(["$urlRouter",function(e){}]),b.run(M);var O,R,D,I,H=function(n){return n.getTokens().filter(w.isString).map(function(e){var t=n.getResolvable(e);return[e,"NOWAIT"===n.getPolicy(t).async?t.promise:t.data]}).reduce(w.applyPairs,{})};function N(e){var t=e.match(/^\s*({[^}]*})\s*$/);t&&(e="("+t[1]+")");var n=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/);if(!n||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1]||null,paramExpr:n[3]||null}}function L(e){var t=e.parent().inheritedData("$uiView"),n=w.parse("$cfg.path")(t);return n?w.tail(n).state.name:void 0}function j(e,t,n){var r,i=n.uiState||e.current.name,o=w.extend((r=e,{relative:L(t)||r.$current,inherit:!0,source:"sref"}),n.uiStateOpts||{}),a=e.href(i,n.uiStateParams,o);return{uiState:i,uiStateParams:n.uiStateParams,uiStateOpts:o,href:a}}function B(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function G(o,a,s,u,c){return function(e){var t=e.which||e.button,n=c();if(!(1=n.length)return n.apply(this,arguments);var t=Array.prototype.slice.call(arguments);return e.bind.apply(e,r([this],t))}}function o(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}}function a(){for(var e=[],t=0;tthis._limit&&this.evict(),e},o.prototype.evict=function(){var t=this._items.shift();return this._evictListeners.forEach(function(e){return e(t)}),t},o.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},o.prototype.clear=function(){var e=this._items;return this._items=[],e},o.prototype.size=function(){return this._items.length},o.prototype.remove=function(e){var t=this._items.indexOf(e);return-1 "+s.stringify(e))},v.prototype.traceTransitionIgnored=function(e){this.enabled(c.TRANSITION)&&u.safeConsole.log(f(e)+": Ignored <> "+s.stringify(e))},v.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(c.HOOK)){var r=a.parse("traceData.hookType")(n)||"internal",i=a.parse("traceData.context.state.name")(n)||a.parse("traceData.context")(n)||"unknown",o=s.functionToString(e.registeredHook.callback);u.safeConsole.log(f(t)+": Hook -> "+r+" context: "+i+", "+s.maxLength(200,o))}},v.prototype.traceHookResult=function(e,t,n){this.enabled(c.HOOK)&&u.safeConsole.log(f(t)+": <- Hook returned: "+s.maxLength(200,s.stringify(e)))},v.prototype.traceResolvePath=function(e,t,n){this.enabled(c.RESOLVE)&&u.safeConsole.log(f(n)+": Resolving "+e+" ("+t+")")},v.prototype.traceResolvableResolved=function(e,t){this.enabled(c.RESOLVE)&&u.safeConsole.log(f(t)+": <- Resolved "+e+" to: "+s.maxLength(200,s.stringify(e.data)))},v.prototype.traceError=function(e,t){this.enabled(c.TRANSITION)&&u.safeConsole.log(f(t)+": <- Rejected "+s.stringify(t)+", reason: "+e)},v.prototype.traceSuccess=function(e,t){this.enabled(c.TRANSITION)&&u.safeConsole.log(f(t)+": <- Success "+s.stringify(t)+", final state: "+e.name)},v.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(c.UIVIEW)&&u.safeConsole.log("ui-view: "+s.padString(30,e)+" "+i(t)+n)},v.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(c.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},v.prototype.traceUIViewFill=function(e,t){this.enabled(c.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+s.maxLength(200,t))},v.prototype.traceViewSync=function(e){if(this.enabled(c.VIEWCONFIG)){var a="uiview component fqn",t=e.map(function(e){var t,n=e.uiView,r=e.viewConfig,i=n&&n.fqn,o=r&&r.viewDecl.$context.name+": ("+r.viewDecl.$name+")";return(t={})[a]=i,t["view config state (view name)"]=o,t}).sort(function(e,t){return(e[a]||"").localeCompare(t[a]||"")});u.safeConsole.table(t)}},v.prototype.traceViewServiceEvent=function(e,t){var n,r,i;this.enabled(c.VIEWCONFIG)&&u.safeConsole.log("VIEWCONFIG: "+e+" "+(r=(n=t).viewDecl,i=r.$context.name||"(root)","[View#"+n.$id+" from '"+i+"' state]: target ui-view: '"+r.$uiViewName+"@"+r.$uiViewContextAnchor+"'"))},v.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(c.VIEWCONFIG)&&u.safeConsole.log("VIEWCONFIG: "+e+" "+i(t))},v);function v(){this._enabled={},this.approximateDigests=0}var m=new(n.Trace=d);n.trace=m},{"../common/hof":5,"../common/predicates":7,"./safeConsole":9,"./strings":10}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UIRouterGlobals=void 0;var r=e("./params/stateParams"),i=e("./common/queue"),o=(a.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},a);function a(){this.params=new r.StateParams,this.lastStartedTransitionId=-1,this.transitionHistory=new i.Queue([],1),this.successfulTransitions=new i.Queue([],1)}n.UIRouterGlobals=o},{"./common/queue":8,"./params/stateParams":30}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.treeChangesCleanup=n.registerAddCoreResolvables=void 0;var r=e("../transition/transition"),i=e("../router"),o=e("../resolve"),a=e("../common");function s(t){t.addResolvable(o.Resolvable.fromData(i.UIRouter,t.router),""),t.addResolvable(o.Resolvable.fromData(r.Transition,t),""),t.addResolvable(o.Resolvable.fromData("$transition$",t),""),t.addResolvable(o.Resolvable.fromData("$stateParams",t.params()),""),t.entering().forEach(function(e){t.addResolvable(o.Resolvable.fromData("$state$",e),e)})}n.registerAddCoreResolvables=function(e){return e.onCreate({},s)};var u=["$transition$",r.Transition],c=a.inArray(u);n.treeChangesCleanup=function(e){function t(e){return c(e.token)?o.Resolvable.fromData(e.token,null):e}var n=a.values(e.treeChanges()).reduce(a.unnestR,[]).reduce(a.uniqR,[]);n.forEach(function(e){e.resolvables=e.resolvables.map(t)})}},{"../common":6,"../resolve":34,"../router":38,"../transition/transition":53}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerIgnoredTransitionHook=void 0;var r=e("../common/trace"),i=e("../transition/rejectFactory");function o(e){var t=e._ignoredReason();if(t){r.trace.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),i.Rejection.ignored().toPromise()}}n.registerIgnoredTransitionHook=function(e){return e.onBefore({},o,{priority:-9999})}},{"../common/trace":11,"../transition/rejectFactory":52}],15:[function(e,t,n){"use strict";function r(e){if(!e.valid())throw new Error(e.error().toString())}Object.defineProperty(n,"__esModule",{value:!0}),n.registerInvalidTransitionHook=void 0,n.registerInvalidTransitionHook=function(e){return e.onBefore({},r,{priority:-1e4})}},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.lazyLoadState=n.registerLazyLoadHook=void 0;function r(a){var s=a.router,e=a.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(e){return o(a,e)});return i.services.$q.all(e).then(function(){if("url"!==a.originalTransition().options().source){var e=a.targetState();return s.stateService.target(e.identifier(),e.params(),e.options())}var t=s.urlService,n=t.match(t.parts()),r=n&&n.rule;if(r&&"STATE"===r.type){var i=r.state,o=n.match;return s.stateService.target(i,o,a.options())}s.urlService.sync()})}var i=e("../common/coreservices");function o(t,n){var r=n.$$state().lazyLoad,e=r._promise;if(!e){e=r._promise=i.services.$q.when(r(t,n)).then(function(e){e&&Array.isArray(e.states)&&e.states.forEach(function(e){return t.router.stateRegistry.register(e)});return e}).then(function(e){return delete n.lazyLoad,delete n.$$state().lazyLoad,delete r._promise,e},function(e){return delete r._promise,i.services.$q.reject(e)})}return e}n.registerLazyLoadHook=function(e){return e.onBefore({entering:function(e){return!!e.lazyLoad}},r)},n.lazyLoadState=o},{"../common/coreservices":3}],17:[function(e,t,n){"use strict";function r(n){return function(e,t){return(0,t.$$state()[n])(e,t)}}Object.defineProperty(n,"__esModule",{value:!0}),n.registerOnEnterHook=n.registerOnRetainHook=n.registerOnExitHook=void 0;var i=r("onExit");n.registerOnExitHook=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},i)};var o=r("onRetain");n.registerOnRetainHook=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},o)};var a=r("onEnter");n.registerOnEnterHook=function(e){return e.onEnter({entering:function(e){return!!e.onEnter}},a)}},{}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerRedirectToHook=void 0;function r(t){var e=t.to().redirectTo;if(e){var n=t.router.stateService;return i.isFunction(e)?o.services.$q.when(e(t)).then(r):r(e)}function r(e){if(e)return e instanceof a.TargetState?e:i.isString(e)?n.target(e,t.params(),t.options()):e.state||e.params?n.target(e.state||t.to(),e.params||t.params(),t.options()):void 0}}var i=e("../common/predicates"),o=e("../common/coreservices"),a=e("../state/targetState");n.registerRedirectToHook=function(e){return e.onStart({to:function(e){return!!e.redirectTo}},r)}},{"../common/coreservices":3,"../common/predicates":7,"../state/targetState":47}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerResolveRemaining=n.registerLazyResolveState=n.registerEagerResolvePath=n.RESOLVE_HOOK_PRIORITY=void 0;var r=e("../common/common"),i=e("../resolve/resolveContext"),o=e("../common/hof");n.RESOLVE_HOOK_PRIORITY=1e3;function a(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("EAGER",e).then(r.noop)}n.registerEagerResolvePath=function(e){return e.onStart({},a,{priority:n.RESOLVE_HOOK_PRIORITY})};function s(e,t){return new i.ResolveContext(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(r.noop)}n.registerLazyResolveState=function(e){return e.onEnter({entering:o.val(!0)},s,{priority:n.RESOLVE_HOOK_PRIORITY})};function u(e){return new i.ResolveContext(e.treeChanges().to).resolvePath("LAZY",e).then(r.noop)}n.registerResolveRemaining=function(e){return e.onFinish({},u,{priority:n.RESOLVE_HOOK_PRIORITY})}},{"../common/common":2,"../common/hof":5,"../resolve/resolveContext":37}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerUpdateGlobalState=void 0;function r(e){function t(){n.transition===e&&(n.transition=null)}var n=e.router.globals;e.onSuccess({},function(){n.successfulTransitions.enqueue(e),n.$current=e.$to(),n.current=n.$current.self,i.copy(e.params(),n.params)},{priority:1e4}),e.promise.then(t,t)}var i=e("../common/common");n.registerUpdateGlobalState=function(e){return e.onCreate({},r)}},{"../common/common":2}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerUpdateUrl=void 0;function r(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)}n.registerUpdateUrl=function(e){return e.onSuccess({},r,{priority:9999})}},{}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.registerActivateViews=n.registerLoadEnteringViews=void 0;function r(e){var t=o.services.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(i.noop)}var i=e("../common/common"),o=e("../common/coreservices");n.registerLoadEnteringViews=function(e){return e.onFinish({},r)};function a(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}}n.registerActivateViews=function(e){return e.onSuccess({},a)}},{"../common/common":2,"../common/coreservices":3}],23:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./common/index"),n),i(e("./params/index"),n),i(e("./path/index"),n),i(e("./resolve/index"),n),i(e("./state/index"),n),i(e("./transition/index"),n),i(e("./url/index"),n),i(e("./view/index"),n),i(e("./globals"),n),i(e("./router"),n),i(e("./vanilla"),n),i(e("./interface"),n)},{"./common/index":6,"./globals":12,"./interface":24,"./params/index":25,"./path/index":31,"./resolve/index":34,"./router":38,"./state/index":39,"./transition/index":50,"./url/index":57,"./vanilla":66,"./view/index":79}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UIRouterPluginBase=void 0;var r=(i.prototype.dispose=function(e){},i);function i(){}n.UIRouterPluginBase=r},{}],25:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./interface"),n),i(e("./param"),n),i(e("./paramTypes"),n),i(e("./stateParams"),n),i(e("./paramType"),n)},{"./interface":26,"./param":27,"./paramType":28,"./paramTypes":29,"./stateParams":30}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},{}],27:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Param=n.DefType=void 0;var v,r,m=e("../common/common"),g=e("../common/hof"),y=e("../common/predicates"),o=e("../common/coreservices"),b=e("./paramType"),i=Object.prototype.hasOwnProperty,s=function(e){return 0===["value","type","squash","array","dynamic"].filter(i.bind(e||{})).length};function $(e,t,n){var r=!1===n.reloadOnSearch&&t===v.SEARCH||void 0,i=m.find([n.dynamic,r],y.isDefined),o=y.isDefined(i)?{dynamic:i}:{},a=function(e){function t(){return e.value}e=s(e)?{value:e}:e,t.__cacheable=!0;var n=y.isInjectable(e.value)?e.value:t;return m.extend(e,{$$fn:n})}(n&&n.params&&n.params[e]);return m.extend(o,a)}(r=v=v||{})[r.PATH=0]="PATH",r[r.SEARCH=1]="SEARCH",r[r.CONFIG=2]="CONFIG",n.DefType=v;var a=(u.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r "+(this.valid()?"":"(X) ")+"'"+(r.isObject(n)?n.name:n)+"'"+s.stringify(e(this.params()))+" )"},T.diToken=T);function T(e,t,n){var r=this;if(this._deferred=a.services.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new p.HookBuilder(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,!(this._targetState=t).valid())throw new Error(t.error());this._options=c.extend({current:l.val(this)},t.options()),this.$id=n.transitionService._transitionCount++;var i=h.PathUtils.buildToPath(e,t);this._treeChanges=h.PathUtils.treeChanges(e,i,this._options.reloadState),this.createTransitionHookRegFns();var o=this._hookBuilder.buildHooksForPhase(u.TransitionHookPhase.CREATE);f.TransitionHook.invokeHooks(o,function(){return null}),this.applyViewConfigs(n)}n.Transition=$},{"../common":6,"../common/common":2,"../common/coreservices":3,"../common/hof":5,"../common/predicates":7,"../common/strings":10,"../common/trace":11,"../params/param":27,"../path/pathUtils":33,"../resolve/resolvable":36,"../resolve/resolveContext":37,"./hookBuilder":48,"./hookRegistry":49,"./interface":51,"./rejectFactory":52,"./transitionHook":55}],54:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TransitionEventType=void 0;function r(e,t,n,r,i,o,a,s){void 0===i&&(i=!1),void 0===o&&(o=u.TransitionHook.HANDLE_RESULT),void 0===a&&(a=u.TransitionHook.REJECT_ERROR),void 0===s&&(s=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=r,this.reverseSort=i,this.getResultHandler=o,this.getErrorHandler=a,this.synchronous=s}var u=e("./transitionHook");n.TransitionEventType=r},{"./transitionHook":55}],55:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TransitionHook=void 0;var o=e("./interface"),a=e("../common/common"),s=e("../common/strings"),u=e("../common/predicates"),c=e("../common/hof"),l=e("../common/trace"),r=e("../common/coreservices"),f=e("./rejectFactory"),i=e("../state/targetState"),p={current:a.noop,transition:null,traceData:{},bind:null},h=(d.chain=function(e,t){return e.reduce(function(e,t){return e.then(function(){return t.invokeHook()})},t||r.services.$q.when())},d.invokeHooks=function(e,t){for(var n=0;n=n.invokeLimit&&n.deregister()}}},d.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(u.isPromise(e)?e.then(function(e){return t.handleHookResult(e)}):(l.trace.traceHookResult(e,this.transition,this.options),!1===e?f.Rejection.aborted("Hook aborted transition").toPromise():c.is(i.TargetState)(e)?f.Rejection.redirected(e).toPromise():void 0))},d.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?f.Rejection.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?f.Rejection.aborted().toPromise():this.isSuperseded()?f.Rejection.superseded(this.options.current()).toPromise():void 0},d.prototype.toString=function(){var e=this.options,t=this.registeredHook,n=c.parse("traceData.hookType")(e)||"internal",r=c.parse("traceData.context.state.name")(e)||c.parse("traceData.context")(e)||"unknown",i=s.fnToString(t.callback);return n+" context: "+r+", "+s.maxLength(200,i)},d.HANDLE_RESULT=function(t){return function(e){return t.handleHookResult(e)}},d.LOG_REJECTED_RESULT=function(t){return function(e){u.isPromise(e)&&e.catch(function(e){return t.logError(f.Rejection.normalize(e))})}},d.LOG_ERROR=function(t){return function(e){return t.logError(e)}},d.REJECT_ERROR=function(e){return function(e){return a.silentRejection(e)}},d.THROW_ERROR=function(e){return function(e){throw e}},d);function d(e,t,n,r){var i=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=r,this.isSuperseded=function(){return i.type.hookPhase===o.TransitionHookPhase.RUN&&!i.options.transition.isActive()},this.options=a.defaults(r,p),this.type=n.eventType}n.TransitionHook=h},{"../common/common":2,"../common/coreservices":3,"../common/hof":5,"../common/predicates":7,"../common/strings":10,"../common/trace":11,"../state/targetState":47,"./interface":51,"./rejectFactory":52}],56:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TransitionService=n.defaultTransOpts=void 0;var r=e("./interface"),i=e("./transition"),c=e("./hookRegistry"),o=e("../hooks/coreResolvables"),a=e("../hooks/redirectTo"),s=e("../hooks/onEnterExitRetain"),u=e("../hooks/resolve"),l=e("../hooks/views"),f=e("../hooks/updateGlobals"),p=e("../hooks/url"),h=e("../hooks/lazyLoad"),d=e("./transitionEventType"),v=e("./transitionHook"),m=e("../common/predicates"),g=e("../common/common"),y=e("../common/hof"),b=e("../hooks/ignoredTransition"),$=e("../hooks/invalidTransition");n.defaultTransOpts={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,supercede:!0,custom:{},current:function(){return null},source:"unknown"};var T=(S.prototype.onCreate=function(e,t,n){},S.prototype.onBefore=function(e,t,n){},S.prototype.onStart=function(e,t,n){},S.prototype.onExit=function(e,t,n){},S.prototype.onRetain=function(e,t,n){},S.prototype.onEnter=function(e,t,n){},S.prototype.onFinish=function(e,t,n){},S.prototype.onSuccess=function(e,t,n){},S.prototype.onError=function(e,t,n){},S.prototype.dispose=function(e){g.values(this._registeredHooks).forEach(function(t){return t.forEach(function(e){e._deregistered=!0,g.removeFrom(t,e)})})},S.prototype.create=function(e,t){return new i.Transition(e,t,this._router)},S.prototype._defineCoreEvents=function(){var e=r.TransitionHookPhase,t=v.TransitionHook,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},S.prototype._defineCorePaths=function(){var e=r.TransitionHookScope.STATE,t=r.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},S.prototype._defineEvent=function(e,t,n,r,i,o,a,s){void 0===i&&(i=!1),void 0===o&&(o=v.TransitionHook.HANDLE_RESULT),void 0===a&&(a=v.TransitionHook.REJECT_ERROR),void 0===s&&(s=!1);var u=new d.TransitionEventType(e,t,n,r,i,o,a,s);this._eventTypes.push(u),c.makeEvent(this,this,u)},S.prototype._getEvents=function(t){return(m.isDefined(t)?this._eventTypes.filter(function(e){return e.hookPhase===t}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0==n?e.hookOrder-t.hookOrder:n})},S.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},S.prototype._getPathTypes=function(){return this._criteriaPaths},S.prototype.getHooks=function(e){return this._registeredHooks[e]},S.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=o.registerAddCoreResolvables(this),e.ignored=b.registerIgnoredTransitionHook(this),e.invalid=$.registerInvalidTransitionHook(this),e.redirectTo=a.registerRedirectToHook(this),e.onExit=s.registerOnExitHook(this),e.onRetain=s.registerOnRetainHook(this),e.onEnter=s.registerOnEnterHook(this),e.eagerResolve=u.registerEagerResolvePath(this),e.lazyResolve=u.registerLazyResolveState(this),e.resolveAll=u.registerResolveRemaining(this),e.loadViews=l.registerLoadEnteringViews(this),e.activateViews=l.registerActivateViews(this),e.updateGlobals=f.registerUpdateGlobalState(this),e.updateUrl=p.registerUpdateUrl(this),e.lazyLoad=h.registerLazyLoadHook(this)},S);function S(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=g.createProxyFunctions(y.val(this),{},y.val(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(o.treeChangesCleanup)}n.TransitionService=T},{"../common/common":2,"../common/hof":5,"../common/predicates":7,"../hooks/coreResolvables":13,"../hooks/ignoredTransition":14,"../hooks/invalidTransition":15,"../hooks/lazyLoad":16,"../hooks/onEnterExitRetain":17,"../hooks/redirectTo":18,"../hooks/resolve":19,"../hooks/updateGlobals":20,"../hooks/url":21,"../hooks/views":22,"./hookRegistry":49,"./interface":51,"./transition":53,"./transitionEventType":54,"./transitionHook":55}],57:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./interface"),n),i(e("./urlMatcher"),n),i(e("./urlMatcherFactory"),n),i(e("./urlRouter"),n),i(e("./urlRule"),n),i(e("./urlService"),n);var o=e("./urlRules");Object.defineProperty(n,"UrlRules",{enumerable:!0,get:function(){return o.UrlRules}});var a=e("./urlConfig");Object.defineProperty(n,"UrlConfig",{enumerable:!0,get:function(){return a.UrlConfig}})},{"./interface":58,"./urlConfig":59,"./urlMatcher":60,"./urlMatcherFactory":61,"./urlRouter":62,"./urlRule":63,"./urlRules":64,"./urlService":65}],58:[function(e,t,n){arguments[4][26][0].apply(n,arguments)},{dup:26}],59:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UrlConfig=void 0;var r=e("../params"),i=e("../common"),o=(a.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=i.isDefined(e)?e:this._isCaseInsensitive},a.prototype.defaultSquashPolicy=function(e){if(i.isDefined(e)&&!0!==e&&!1!==e&&!i.isString(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=i.isDefined(e)?e:this._defaultSquashPolicy},a.prototype.strictMode=function(e){return this._isStrictMode=i.isDefined(e)?e:this._isStrictMode},a.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return i.isDefined(t)?this:r},a);function a(e){var t=this;this.router=e,this.paramTypes=new r.ParamTypes,this._decodeParams=!0,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.dispose=function(){return t.paramTypes.dispose()},this.baseHref=function(){return t.router.locationConfig.baseHref()},this.hashPrefix=function(e){return t.router.locationConfig.hashPrefix(e)},this.host=function(){return t.router.locationConfig.host()},this.html5Mode=function(){return t.router.locationConfig.html5Mode()},this.port=function(){return t.router.locationConfig.port()},this.protocol=function(){return t.router.locationConfig.protocol()}}n.UrlConfig=o},{"../common":6,"../params":25}],60:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UrlMatcher=void 0;var b=e("../common/common"),$=e("../common/hof"),u=e("../common/predicates"),c=e("../params/param"),l=e("../common/strings"),m=e("../common");function g(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var f=l.splitOnDelim("/"),y={state:{params:{}},strict:!0,caseInsensitive:!0,decodeParams:!0},r=(T.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},T.pathSegmentsAndParams=function(e){var t=e._segments,n=e._params.filter(function(e){return e.location===c.DefType.PATH});return b.arrayTuples(t,n.concat(void 0)).reduce(b.unnestR,[]).filter(function(e){return""!==e&&u.isDefined(e)})},T.queryParams=function(e){return e._params.filter(function(e){return e.location===c.DefType.SEARCH})},T.compare=function(e,t){function n(e){return e._cache.weights=e._cache.weights||((t=e)._cache.segments=t._cache.segments||t._cache.path.map(T.pathSegmentsAndParams).reduce(b.unnestR,[]).reduce(l.joinNeighborsR,[]).map(function(e){return u.isString(e)?f(e):e}).reduce(b.unnestR,[])).map(function(e){return"/"===e?1:u.isString(e)?2:e instanceof c.Param?3:void 0});var t}var r=n(e),i=n(t);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.lengthn.weight?s:n}return n},s);function s(e){var r=this;this.router=e,this.interceptDeferred=!1,this.rules=new i.UrlRules(this.router),this.config=new o.UrlConfig(this.router),this.url=function(e,t,n){return r.router.locationService.url(e,t,n)},this.path=function(){return r.router.locationService.path()},this.search=function(){return r.router.locationService.search()},this.hash=function(){return r.router.locationService.hash()},this.onChange=function(e){return r.router.locationService.onChange(e)}}n.UrlService=r},{"../common":6,"../state":39,"./urlConfig":59,"./urlRules":64}],66:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./vanilla/index"),n)},{"./vanilla/index":70}],67:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.BaseLocationServices=void 0;var r=e("../common"),i=e("./utils"),o=(a.prototype.url=function(t,e){return void 0===e&&(e=!0),r.isDefined(t)&&t!==this._get()&&(this._set(null,null,t,e),this.fireAfterUpdate&&this._listeners.forEach(function(e){return e({url:t})})),i.buildUrl(this)},a.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return r.removeFrom(t._listeners,e)}},a.prototype.dispose=function(e){r.deregAll(this._listeners)},a);function a(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(t){return n._listeners.forEach(function(e){return e(t)})},this.hash=function(){return i.parseUrl(n._get()).hash},this.path=function(){return i.parseUrl(n._get()).path},this.search=function(){return i.getParams(i.parseUrl(n._get()).search)},this._location=r.root.location,this._history=r.root.history}n.BaseLocationServices=o},{"../common":6,"./utils":78}],68:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.BrowserLocationConfig=void 0;var r=e("../common/predicates"),i=(o.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},o.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},o.prototype.host=function(){return location.hostname},o.prototype.html5Mode=function(){return this._isHtml5},o.prototype.hashPrefix=function(e){return r.isDefined(e)?this._hashPrefix=e:this._hashPrefix},o.prototype.baseHref=function(e){return r.isDefined(e)&&(this._baseHref=e),r.isUndefined(this._baseHref)&&(this._baseHref=this.getBaseHref()),this._baseHref},o.prototype.getBaseHref=function(){var e=document.getElementsByTagName("base")[0];return e&&e.href?e.href.replace(/^([^/:]*:)?\/\/[^/]*/,""):this._isHtml5?"/":location.pathname||"/"},o.prototype.dispose=function(){},o);function o(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}n.BrowserLocationConfig=i},{"../common/predicates":7}],69:[function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.HashLocationService=void 0;var o,a=e("../common"),s=e("./baseLocationService"),u=(o=s.BaseLocationServices,i(c,o),c.prototype._get=function(){return a.trimHashVal(this._location.hash)},c.prototype._set=function(e,t,n,r){this._location.hash=n},c.prototype.dispose=function(e){o.prototype.dispose.call(this,e),a.root.removeEventListener("hashchange",this._listener)},c);function c(e){var t=o.call(this,e,!1)||this;return a.root.addEventListener("hashchange",t._listener,!1),t}n.HashLocationService=u},{"../common":6,"./baseLocationService":67}],70:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./interface"),n),i(e("./q"),n),i(e("./injector"),n),i(e("./baseLocationService"),n),i(e("./hashLocationService"),n),i(e("./memoryLocationService"),n),i(e("./pushStateLocationService"),n),i(e("./memoryLocationConfig"),n),i(e("./browserLocationConfig"),n),i(e("./utils"),n),i(e("./plugins"),n)},{"./baseLocationService":67,"./browserLocationConfig":68,"./hashLocationService":69,"./injector":71,"./interface":72,"./memoryLocationConfig":73,"./memoryLocationService":74,"./plugins":75,"./pushStateLocationService":76,"./q":77,"./utils":78}],71:[function(e,t,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.$injector=void 0;var u=e("../common/index"),c={},n=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g;s.$injector={get:function(e){return c[e]},has:function(e){return null!=s.$injector.get(e)},invoke:function(e,t,n){var r=u.extend({},c,n||{}),i=s.$injector.annotate(e),o=u.assertPredicate(function(e){return r.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),a=i.filter(o).map(function(e){return r[e]});return u.isFunction(e)?e.apply(t,a):e.slice(-1)[0].apply(t,a)},annotate:function(e){if(!u.isInjectable(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(u.isArray(e))return e.slice(0,-1);var t=e.toString().replace(n,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(r)||[]}}},{"../common/index":6}],72:[function(e,t,n){arguments[4][26][0].apply(n,arguments)},{dup:26}],73:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.MemoryLocationConfig=void 0;function r(){var t=this;this.dispose=o.noop,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return t._port},this.protocol=function(){return t._protocol},this.host=function(){return t._host},this.baseHref=function(){return t._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(e){return i.isDefined(e)?t._hashPrefix=e:t._hashPrefix}}var i=e("../common/predicates"),o=e("../common/common");n.MemoryLocationConfig=r},{"../common/common":2,"../common/predicates":7}],74:[function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.MemoryLocationService=void 0;var o,a=e("./baseLocationService"),s=(o=a.BaseLocationServices,i(u,o),u.prototype._get=function(){return this._url},u.prototype._set=function(e,t,n,r){this._url=n},u);function u(e){return o.call(this,e,!0)||this}n.MemoryLocationService=s},{"./baseLocationService":67}],75:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.memoryLocationPlugin=n.pushStateLocationPlugin=n.hashLocationPlugin=n.servicesPlugin=void 0;var r=e("./browserLocationConfig"),i=e("./hashLocationService"),o=e("./utils"),a=e("./pushStateLocationService"),s=e("./memoryLocationService"),u=e("./memoryLocationConfig"),c=e("./injector"),l=e("./q"),f=e("../common/coreservices");n.servicesPlugin=function(e){return f.services.$injector=c.$injector,f.services.$q=l.$q,{name:"vanilla.services",$q:l.$q,$injector:c.$injector,dispose:function(){return null}}},n.hashLocationPlugin=o.locationPluginFactory("vanilla.hashBangLocation",!1,i.HashLocationService,r.BrowserLocationConfig),n.pushStateLocationPlugin=o.locationPluginFactory("vanilla.pushStateLocation",!0,a.PushStateLocationService,r.BrowserLocationConfig),n.memoryLocationPlugin=o.locationPluginFactory("vanilla.memoryLocation",!1,s.MemoryLocationService,u.MemoryLocationConfig)},{"../common/coreservices":3,"./browserLocationConfig":68,"./hashLocationService":69,"./injector":71,"./memoryLocationConfig":73,"./memoryLocationService":74,"./pushStateLocationService":76,"./q":77,"./utils":78}],76:[function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.PushStateLocationService=void 0;var o,a=e("./baseLocationService"),s=e("../common"),u=(o=a.BaseLocationServices,i(c,o),c.prototype._getBasePrefix=function(){return s.stripLastPathElement(this._config.baseHref())},c.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=s.splitQuery(r)[1],n=s.splitHash(n)[1];var i=this._getBasePrefix(),o=t===this._config.baseHref(),a=t.substr(0,i.length)===i;return(t=o?"/":a?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},c.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),o=n&&"/"!==n[0]?"/":"",a=""===n||"/"===n?this._config.baseHref():i+o+n;r?this._history.replaceState(e,t,a):this._history.pushState(e,t,a)},c.prototype.dispose=function(e){o.prototype.dispose.call(this,e),s.root.removeEventListener("popstate",this._listener)},c);function c(e){var t=o.call(this,e,!0)||this;return t._config=e.urlService.config,s.root.addEventListener("popstate",t._listener,!1),t}n.PushStateLocationService=u},{"../common":6,"./baseLocationService":67}],77:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.$q=void 0;var r=e("../common/index");n.$q={when:function(n){return new Promise(function(e,t){return e(n)})},reject:function(n){return new Promise(function(e,t){t(n)})},defer:function(){var n={};return n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n},all:function(e){if(r.isArray(e))return Promise.all(e);if(r.isObject(e)){var t=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return n.$q.all(t).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}}},{"../common/index":6}],78:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.locationPluginFactory=n.buildUrl=n.parseUrl=n.getParams=n.keyValsToObjectR=void 0;var a=e("../common");n.keyValsToObjectR=function(e,t){var n=t[0],r=t[1];return e.hasOwnProperty(n)?a.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r,e},n.getParams=function(e){return e.split("&").filter(a.identity).map(a.splitEqual).reduce(n.keyValsToObjectR,{})},n.parseUrl=function(e){function t(e){return e||""}var n=a.splitHash(e).map(t),r=n[0],i=n[1],o=a.splitQuery(r).map(t);return{path:o[0],search:o[1],hash:i,url:e}},n.buildUrl=function(e){var t=e.path(),n=e.search(),r=e.hash(),i=Object.keys(n).map(function(t){var e=n[t];return(a.isArray(e)?e:[e]).map(function(e){return t+"="+e})}).reduce(a.unnestR,[]).join("&");return t+(i?"?"+i:"")+(r?"#"+r:"")},n.locationPluginFactory=function(r,i,o,a){return function(e){var t=e.locationService=new o(e),n=e.locationConfig=new a(e,i);return{name:r,service:t,configuration:n,dispose:function(e){e.dispose(t),e.dispose(n)}}}}},{"../common":6}],79:[function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(n,"__esModule",{value:!0}),i(e("./interface"),n),i(e("./view"),n)},{"./interface":80,"./view":81}],80:[function(e,t,n){arguments[4][26][0].apply(n,arguments)},{dup:26}],81:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ViewService=void 0;var c=e("../common/common"),u=e("../common/hof"),a=e("../common/predicates"),l=e("../common/trace"),r=(f.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=a.isString(n[1])?n[1]:"^",o=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);return o&&(i=o[1],r=o[2]),"!"===r.charAt(0)&&(r=r.substr(1),i=""),/^(\^(?:\.\^)*)$/.exec(i)?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name),{uiViewName:r,uiViewContextAnchor:i}},f.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},f.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},f.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return a.isArray(r)?r:[r]},f.prototype.deactivateViewConfig=function(e){l.trace.traceViewServiceEvent("<- Removing",e),c.removeFrom(this._viewConfigs,e)},f.prototype.activateViewConfig=function(e){l.trace.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},f.prototype.sync=function(){var n=this,r=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(c.applyPairs,{});function i(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var o=u.curry(function(e,t,n,r){return t*(e(n)-e(r))}),e=this._uiViews.sort(o(function(e){var t=function(e){return e&&e.parent?t(e.parent)+1:1};return 1e4*e.fqn.split(".").length+t(e.creationContext)},1)).map(function(e){var t=n._viewConfigs.filter(f.matches(r,e));return 1 Registering",t);var e=this._uiViews;return e.filter(function(e){return e.fqn===t.fqn&&e.$type===t.$type}).length&&l.trace.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",t),e.push(t),this.sync(),function(){-1!==e.indexOf(t)?(l.trace.traceViewServiceUIViewEvent("<- Deregistering",t),c.removeFrom(e)(t)):l.trace.traceViewServiceUIViewEvent("Tried removing non-registered uiView",t)}},f.prototype.available=function(){return this._uiViews.map(u.prop("fqn"))},f.prototype.active=function(){return this._uiViews.filter(u.prop("$config")).map(u.prop("name"))},f.matches=function(s,u){return function(e){if(u.$type!==e.viewDecl.$type)return!1;var t=e.viewDecl,n=t.$uiViewName.split("."),r=u.fqn.split(".");if(!c.equals(n,r.slice(0-n.length)))return!1;var i=1-n.length||void 0,o=r.slice(0,i).join("."),a=s[o].creationContext;return t.$uiViewContextAnchor===(a&&a.name)}},f);function f(e){var n=this;this.router=e,this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIView:function(t){return c.find(n._uiViews,function(e){return n.router.$id+"."+e.id===t})},_registeredUIViews:function(){return n._uiViews},_activeViewConfigs:function(){return n._viewConfigs},_onSync:function(e){return n._listeners.push(e),function(){return c.removeFrom(n._listeners,e)}}}}n.ViewService=r},{"../common/common":2,"../common/hof":5,"../common/predicates":7,"../common/trace":11}],82:[function(e,t,n){!function(p,e){"use strict";var re,ie,oe,ae,G=1,se="-add",ue="-remove",ce="ng-",x="ng-animate",V="$$ngAnimateChildren";ie=void 0===p.ontransitionend&&void 0!==p.onwebkittransitionend?(re="WebkitTransition","webkitTransitionEnd transitionend"):(re="transition","transitionend"),ae=void 0===p.onanimationend&&void 0!==p.onwebkitanimationend?(oe="WebkitAnimation","webkitAnimationEnd animationend"):(oe="animation","animationend");var i="Duration",le="Property",fe="TimingFunction",o="PlayState",n=oe+"Delay",pe=oe+i,r=re+"Delay",t=re+i,a=e.$$minErr("ng");function h(e,t,n){if(!e)throw a("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function C(e,t){return e||t?e?t?(ke(e)&&(e=e.join(" ")),ke(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function he(e,n,r){var i="";return e=ke(e)?e:e&&K(e)&&e.length?e.split(/\s+/):[],Me(e,function(e,t){e&&0=v&&m<=r&&(a=!0,V())}}function W(){if(!h)if(p.parentNode){var e=function(e){if(a)o&&e&&(o=!1,V());else if(o=!e,I.animationDuration){var t=be(p,o);o?b.push(t):(r=t,i=(n=b).indexOf(r),0<=r&&n.splice(i,1))}var n,r,i},t=0a.expectedEndTime)?Q.cancel(a.timer):i.push(V)}if(o){var s=Q(u,n,!1);i[0]={timer:s,expectedEndTime:r},i.push(V),c.data(Se,i)}$.length&&c.on($.join(" "),U),l.to&&(l.cleanupStyles&&_e(f,p,Object.keys(l.to)),ge(c,l))}}function u(){var e=c.data(Se);if(e){for(var t=1;t"))},end:function(e){e=k(e),t||!0!==p[e]||!0===s[e]||(a("")),e==t&&(t=!1)},chars:function(e){t||a(S(e))}}},R=x.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/([^#-~ |!])/g,s=g("area,br,col,hr,img,wbr"),e=g("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),o=g("rp,rt"),a=E({},o,e),u=E({},e,g("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),c=E({},o,g("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),l=g("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),f=g("script,style"),p=E({},s,u,c,a),h=g("background,cite,href,longdesc,src,xlink:href,xml:base"),d=g("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),v=g("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),m=E({},h,v,d);function g(e,t){return y(e.split(","),t)}function y(e,t){var n,r={};for(n=0;n/g,">")}function w(e,t){var n=t[e];if(n&&R.call(t,n))throw H("elclob","Failed to sanitize html because the element is clobbered: {0}",t.outerHTML||t.outerText);return n}}).info({angularVersion:"1.7.9"}),C.module("ngSanitize").filter("linky",["$sanitize",function(f){var p=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,h=/^mailto:/i,d=C.$$minErr("linky"),v=C.isDefined,m=C.isFunction,g=C.isObject,y=C.isString;return function(e,i,t){if(null==e||""===e)return e;if(!y(e))throw d("notstring","Expected string but received: {0}",e);for(var n,r,o,a=m(t)?t:g(t)?function(){return t}:function(){return{}},s=e,u=[];n=s.match(p);)r=n[0],n[2]||n[4]||(r=(n[3]?"http://":"mailto:")+r),o=n.index,c(s.substr(0,o)),l(r,n[0].replace(h,"")),s=s.substring(o+n[0].length);return c(s),f(u.join(""));function c(e){var t,n;e&&u.push((t=e,I(n=[],O).chars(t),n.join("")))}function l(e,t){var n,r=a(e);for(n in u.push("'),c(t),u.push("")}}}])}(window,window.angular)},{}],85:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":84}],86:[function(e,t,n){!function(fe){"use strict";var l={objectMaxDepth:5,urlErrorParamsEnabled:!0};function e(e){if(!we(e))return l;O(e.objectMaxDepth)&&(l.objectMaxDepth=c(e.objectMaxDepth)?e.objectMaxDepth:NaN),O(e.urlErrorParamsEnabled)&&Pe(e.urlErrorParamsEnabled)&&(l.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function c(e){return w(e)&&0").append(e).html();try{return e[0].nodeType===qe?ve(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+ve(t)})}catch(e){return ve(t)}}function K(e){try{return decodeURIComponent(e)}catch(e){}}function Q(e){var i={};return ge((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),O(n=K(n))&&(r=!O(r)||K(r),de.call(i,n)?Ce(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r))}),i}function J(e){return Y(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Y(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Z=["ng-","data-ng-","ng:","x-ng-"];var ee=function(n){var e=n.currentScript;if(!e)return!0;if(!(e instanceof fe.HTMLScriptElement||e instanceof fe.SVGScriptElement))return!1;var t=e.attributes;return[t.getNamedItem("src"),t.getNamedItem("href"),t.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var t=n.createElement("a");if(t.href=e.value,n.location.origin===t.origin)return!0;switch(t.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}(fe.document);function te(r,e){var i,o,t={};if(ge(Z,function(e){var t=e+"app";!i&&r.hasAttribute&&r.hasAttribute(t)&&(o=(i=r).getAttribute(t))}),ge(Z,function(e){var t,n=e+"app";!i&&(t=r.querySelector("["+n.replace(":","\\:")+"]"))&&(o=(i=t).getAttribute(n))}),i){if(!ee)return void fe.console.error("AngularJS: disabling automatic bootstrap.