-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-router-angularjs.min.js
9 lines (9 loc) · 19.8 KB
/
ui-router-angularjs.min.js
1
2
3
4
5
6
7
8
9
/**
* State-based routing for AngularJS 1.x
* This bundle requires the ui-router-core.js bundle from the @uirouter/core package.
* @version v1.0.4
* @link https://ui-router.github.io
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular"),require("@uirouter/core")):"function"==typeof define&&define.amd?define(["exports","angular","@uirouter/core"],t):t(e["@uirouter/angularjs"]=e["@uirouter/angularjs"]||{},e.angular,e["@uirouter/core"])}(this,function(e,t,r){"use strict";function n(){var e=null;return function(t,n){return e=e||r.services.$injector.get("$templateFactory"),[new b(t,n,e)]}}function i(e){if(!e.parent)return{};var t=["templateProvider","templateUrl","template","notify","async"],n=["controller","controllerProvider","controllerAs","resolveAs"],i=["component","bindings","componentProvider"],o=t.concat(n),a=i.concat(o);if(r.isDefined(e.views)&&x(a,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level. Move the following properties into a view (in the 'views' object): "+a.filter(function(t){return r.isDefined(e[t])}).join(", "));var u={},c=e.views||{$default:r.pick(e,a)};return r.forEach(c,function(t,n){if(n=n||"$default",r.isString(t)&&(t={component:t}),t=r.extend({},t),x(i,t)&&x(o,t))throw new Error("Cannot combine: "+i.join("|")+" with: "+o.join("|")+" in stateview: '"+n+"@"+e.name+"'");t.resolveAs=t.resolveAs||"$resolve",t.$type="ng1",t.$context=e,t.$name=n;var a=r.ViewService.normalizeUIViewTarget(t.$context,t.$name);t.$uiViewName=a.uiViewName,t.$uiViewContextAnchor=a.uiViewContextAnchor,u[n]=t}),u}function o(e){var t=r.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(j).reduce(r.unnestR,[])}function a(e){function t(e,t,r,n,i,a){return o._runtimeServices(n,e,r,t),delete k.router,delete k.$get,k}k=this.router=new r.UIRouter,k.stateProvider=new A(k.stateRegistry,k.stateService),k.stateRegistry.decorator("views",i),k.stateRegistry.decorator("onExit",V("onExit")),k.stateRegistry.decorator("onRetain",V("onRetain")),k.stateRegistry.decorator("onEnter",V("onEnter")),k.viewService._pluginapi._viewConfigFactory("ng1",n());var o=k.locationService=k.locationConfig=new D(e);return D.monkeyPatchPathParameterType(k),k.router=k,k.$get=t,t.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],k}function u(e,t,n){r.services.$injector=e,r.services.$q=t,n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(r.unnestR,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(t){return t.deps=e.annotate(t.resolveFn)})}function c(e){e.$watch(function(){r.trace.approximateDigests++})}function s(e){var t,r=e.match(/^\s*({[^}]*})\s*$/);if(r&&(e="("+r[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function l(e){var t=e.parent().inheritedData("$uiView"),n=r.parse("$cfg.path")(t);return n?r.tail(n).state.name:void 0}function f(e,t,n){var i=n.uiState||e.current.name,o=r.extend($(t,e),n.uiStateOpts||{}),a=e.href(i,n.uiStateParams,o);return{uiState:i,uiStateParams:n.uiStateParams,uiStateOpts:o,href:a}}function v(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),r="FORM"===e[0].nodeName;return{attr:r?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!r}}function p(e,t,r,n,i){return function(o){var a=o.which||o.button,u=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||e.attr("target"))){var c=r(function(){t.go(u.uiState,u.uiStateParams,u.uiStateOpts)});o.preventDefault();var s=n.isAnchor&&!u.href?1:0;o.preventDefault=function(){s--<=0&&r.cancel(c)}}}}function $(e,t){return{relative:l(e)||t.$current,inherit:!0,source:"sref"}}function d(e,t,n,i){var o;i&&(o=i.events),r.isArray(o)||(o=["click"]);for(var a=e.on?"on":"bind",u=0,c=o;u<c.length;u++){var s=c[u];e[a](s,n)}t.$on("$destroy",function(){for(var t=e.off?"off":"unbind",r=0,i=o;r<i.length;r++){var a=i[r];e[t](a,n)}})}function h(e){var t=function(t,r,n){return e.is(t,r,n)};return t.$stateful=!0,t}function m(e){var t=function(t,r,n){return e.includes(t,r,n)};return t.$stateful=!0,t}function g(e,n,i,o,a,u){var c=r.parse("viewDecl.controllerAs"),s=r.parse("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(o){var u=o.html();return o.empty(),function(o,l){var f=l.data("$uiView");if(!f)return l.html(u),void e(l.contents())(o);var v=f.$cfg||{viewDecl:{},getTemplate:t.noop},p=v.path&&new r.ResolveContext(v.path);l.html(v.getTemplate(l,p)||u),r.trace.traceUIViewFill(f.$uiView,l.html());var $=e(l.contents()),d=v.controller,h=c(v),m=s(v),g=p&&H(p);if(o[m]=g,d){var y=n(d,r.extend({},g,{$scope:o,$element:l}));h&&(o[h]=y,o[h][m]=g),l.data("$ngControllerController",y),l.children().data("$ngControllerController",y),w(a,i,y,o,v)}if(r.isString(v.viewDecl.component))var S=v.viewDecl.component,x=r.kebobString(S),C=new RegExp("^(x-|data-)?"+x+"$","i"),b=function(){var e=[].slice.call(l[0].children).filter(function(e){return e&&e.tagName&&C.exec(e.tagName)});return e&&R.element(e).data("$"+S+"Controller")},P=o.$watch(b,function(e){e&&(w(a,i,e,o,v),P())});$(o)}}}}function w(e,t,n,i,o){!r.isFunction(n.$onInit)||o.viewDecl.component&&z||n.$onInit();var a=r.tail(o.path).state.self,u={bind:n};if(r.isFunction(n.uiOnParamsChanged)){var c=new r.ResolveContext(o.path),s=c.getResolvable("$transition$").data,l=function(e){if(e!==s&&-1===e.exiting().indexOf(a)){var t=e.params("to"),i=e.params("from"),o=e.treeChanges().to.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]),u=e.treeChanges().from.map(function(e){return e.paramSchema}).reduce(r.unnestR,[]),c=o.filter(function(e){var r=u.indexOf(e);return-1===r||!u[r].type.equals(t[e.id],i[e.id])});if(c.length){var l=c.map(function(e){return e.id}),f=r.filter(t,function(e,t){return-1!==l.indexOf(t)});n.uiOnParamsChanged(f,e)}}};i.$on("$destroy",t.onSuccess({},l,u))}if(r.isFunction(n.uiCanExit)){var f=W++,v=function(e){return!!e&&(e._uiCanExitIds&&!0===e._uiCanExitIds[f]||v(e.redirectedFrom()))},p=function(t){var r,i=t._uiCanExitIds=t._uiCanExitIds||{};return v(t)||(r=e.when(n.uiCanExit(t)),r.then(function(e){return i[f]=!1!==e})),r},$={exiting:a.name};i.$on("$destroy",t.onBefore($,p,u))}}function y(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,r){return e?t:function(e){return r(function(){e[0].scrollIntoView()},0,!1)}}]}var S=angular,R=t&&t.module?t:S,x=function(e,t){return e.reduce(function(e,n){return e||r.isDefined(t[n])},!1)},C=0,b=function(){function e(e,t,r){var n=this;this.path=e,this.viewDecl=t,this.factory=r,this.$id=C++,this.loaded=!1,this.getTemplate=function(e,t){return n.component?n.factory.makeComponentTemplate(e,t,n.component,n.viewDecl.bindings):n.template}}return e.prototype.load=function(){var e=this,t=r.services.$q,n=new r.ResolveContext(this.path),i=this.path.reduce(function(e,t){return r.extend(e,t.paramValues)},{}),o={template:t.when(this.factory.fromConfig(this.viewDecl,i,n)),controller:t.when(this.getController(n))};return t.all(o).then(function(t){return r.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,r.extend(e,t.template),e})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!r.isInjectable(t))return this.viewDecl.controller;var n=r.services.$injector.annotate(t),i=r.isArray(t)?r.tail(t):t;return new r.Resolvable("",i,n).get(e)},e}(),P=function(){function e(){var e=this;this._useHttp=R.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,r,n){return e.$templateRequest=n.has&&n.has("$templateRequest")&&n.get("$templateRequest"),e.$http=t,e.$templateCache=r,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var i=function(e){return r.services.$q.when(e).then(function(e){return{template:e}})},o=function(e){return r.services.$q.when(e).then(function(e){return{component:e}})};return r.isDefined(e.template)?i(this.fromString(e.template,t)):r.isDefined(e.templateUrl)?i(this.fromUrl(e.templateUrl,t)):r.isDefined(e.templateProvider)?i(this.fromProvider(e.templateProvider,t,n)):r.isDefined(e.component)?o(e.component):r.isDefined(e.componentProvider)?o(this.fromComponentProvider(e.componentProvider,t,n)):i("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return r.isFunction(e)?e(t):e},e.prototype.fromUrl=function(e,t){return r.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)},e.prototype.fromProvider=function(e,t,n){var i=r.services.$injector.annotate(e),o=r.isArray(e)?r.tail(e):e;return new r.Resolvable("",o,i).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var i=r.services.$injector.annotate(e),o=r.isArray(e)?r.tail(e):e;return new r.Resolvable("",o,i).get(n)},e.prototype.makeComponentTemplate=function(e,t,n,i){i=i||{};var a=R.version.minor>=3?"::":"",u=function(e){var t=r.kebobString(e);return/^(x|data)-/.exec(t)?"x-"+t:t},c=function(n){var o=n.name,c=n.type,s=u(o);if(e.attr(s)&&!i[o])return s+"='"+e.attr(s)+"'";var l=i[o]||o;if("@"===c)return s+"='{{"+a+"$resolve."+l+"}}'";if("&"===c){var f=t.getResolvable(l),v=f&&f.data,p=v&&r.services.$injector.annotate(v)||[];return s+"='$resolve."+l+(r.isArray(v)?"["+(v.length-1)+"]":"")+"("+p.join(",")+")'"}return s+"='"+a+"$resolve."+l+"'"},s=o(n).map(c).join(" "),l=u(n);return"<"+l+" "+s+"></"+l+">"},e}(),j=function(e){return E(r.isObject(e.bindToController)?e.bindToController:e.scope)},E=function(e){return Object.keys(e||{}).map(function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]}).filter(function(e){return r.isDefined(e)&&r.isArray(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},A=function(){function e(t,n){this.stateRegistry=t,this.stateService=n,r.createProxyFunctions(r.val(e.prototype),this,r.val(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return r.isObject(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}(),V=function(e){return function(t,n){function i(e,t){var n=new r.ResolveContext(e.treeChanges(a)),i=r.extend(H(n),{$state$:t,$transition$:e});return r.services.$injector.invoke(o,this,i)}var o=t[e],a="onExit"===e?"from":"to";return o?i:void 0}},D=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=r.val(e);r.createProxyFunctions(t,this,t,["hashPrefix"])}return e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return r.removeFrom(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=r.isObject(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.url=function(e,t,r){return void 0===t&&(t=!1),e&&this.$location.url(e),t&&this.$location.replace(),r&&this.$location.state(r),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,i){var o=this;this.$location=t,this.$sniffer=n,e.$on("$locationChangeSuccess",function(e){return o._urlListeners.forEach(function(t){return t(e)})});var a=r.val(t),u=r.val(i);r.createProxyFunctions(a,this,a,["replace","path","search","hash"]),r.createProxyFunctions(a,this,a,["port","protocol","host"]),r.createProxyFunctions(u,this,u,["baseHref"])},e.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}},e}(),F=function(){function e(e){this._router=e,this._urlRouter=e.urlRouter}return e.prototype.$get=function(){var e=this._urlRouter;return e.update(!0),e.interceptDeferred||e.listen(),e},e.prototype.rule=function(e){var t=this;if(!r.isFunction(e))throw new Error("'rule' must be a function");var n=function(){return e(r.services.$injector,t._router.locationService)},i=new r.BaseUrlRule(n,r.identity);return this._urlRouter.rule(i),this},e.prototype.otherwise=function(e){var t=this,n=this._urlRouter;if(r.isString(e))n.otherwise(e);else{if(!r.isFunction(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(r.services.$injector,t._router.locationService)})}return this},e.prototype.when=function(t,n){return(r.isArray(n)||r.isFunction(n))&&(n=e.injectableHandler(this._router,n)),this._urlRouter.when(t,n),this},e.injectableHandler=function(e,t){return function(n){return r.services.$injector.invoke(t,null,{$match:n,$stateParams:e.globals.params})}},e.prototype.deferIntercept=function(e){this._urlRouter.deferIntercept(e)},e}();R.module("ui.router.angular1",[]);var _=R.module("ui.router.init",[]),I=R.module("ui.router.util",["ng","ui.router.init"]),q=R.module("ui.router.router",["ui.router.util"]),O=R.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),U=R.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),k=(R.module("ui.router.compat",["ui.router"]),null);a.$inject=["$locationProvider"];var L=function(e){return["$uiRouterProvider",function(t){var r=t.router[e];return r.$get=function(){return r},r}]};u.$inject=["$injector","$q","$uiRouter"];var T=function(e){return e.urlRouterProvider=new F(e)},M=function(){return r.extend(k.stateProvider,{$get:function(){return k.stateService}})};c.$inject=["$rootScope"],_.provider("$uiRouter",a),q.provider("$urlRouter",["$uiRouterProvider",T]),I.provider("$urlService",L("urlService")),I.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return k.urlMatcherFactory}]),I.provider("$templateFactory",function(){return new P}),O.provider("$stateRegistry",L("stateRegistry")),O.provider("$uiRouterGlobals",L("globals")),O.provider("$transitions",L("transitionService")),O.provider("$state",["$uiRouterProvider",M]),O.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),U.factory("$view",function(){return k.viewService}),U.service("$trace",function(){return r.trace}),U.run(c),I.run(["$urlMatcherFactory",function(e){}]),O.run(["$state",function(e){}]),q.run(["$urlRouter",function(e){}]),_.run(u);var N,H=function(e){return e.getTokens().filter(r.isString).map(function(t){var r=e.getResolvable(t);return[t,"NOWAIT"===e.getPolicy(r).async?r.promise:r.data]}).reduce(r.applyPairs,{})};N=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,u){function c(){var e=w();m&&m(),h&&(m=h.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set($.attr,e.href)}var l,$=v(o),h=u[1]||u[0],m=null,g={},w=function(){return f(n,o,g)},y=s(a.uiSref);g.uiState=y.state,g.uiStateOpts=a.uiSrefOpts?i.$eval(a.uiSrefOpts):{},y.paramExpr&&(i.$watch(y.paramExpr,function(e){g.uiStateParams=r.extend({},e),c()},!0),g.uiStateParams=r.extend({},i.$eval(y.paramExpr))),c(),i.$on("$destroy",e.stateRegistry.onStatesChanged(c)),i.$on("$destroy",e.transitionService.onSuccess({},c)),$.clickable&&(l=p(o,n,t,$,w),d(o,i,l,g.uiStateOpts))}}}];var B;B=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(i,o,a,u){function c(){var e=g();h&&h(),$&&(h=$.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&a.$set(l.attr,e.href)}var s,l=v(o),$=u[1]||u[0],h=null,m={},g=function(){return f(n,o,m)},w=["uiState","uiStateParams","uiStateOpts"],y=w.reduce(function(e,t){return e[t]=r.noop,e},{});w.forEach(function(e){m[e]=a[e]?i.$eval(a[e]):null,a.$observe(e,function(t){y[e](),y[e]=i.$watch(t,function(t){m[e]=t,c()},!0)})}),c(),i.$on("$destroy",e.stateRegistry.onStatesChanged(c)),i.$on("$destroy",e.transitionService.onSuccess({},c)),l.clickable&&(s=p(o,n,t,l,g),d(o,i,s,m.uiStateOpts))}}}];var K;K=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,n,i){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,o,a){function u(e){e.promise.then(f,r.noop)}function c(t,n,i){var a=e.get(t,l(o)),u={state:a||{name:t},params:n,activeClass:i};return $.push(u),function(){r.removeFrom($)(u)}}function f(){var n=function(e){return e.split(/\s/).filter(r.identity)},i=function(e){return e.map(function(e){return e.activeClass}).map(n).reduce(r.unnestR,[])},a=i($).concat(n(v)).reduce(r.uniqR,[]),u=i($.filter(function(t){return e.includes(t.state.name,t.params)})),c=!!$.filter(function(t){return e.is(t.state.name,t.params)}).length,s=c?n(v):[],l=u.concat(s).reduce(r.uniqR,[]),f=a.filter(function(e){return!r.inArray(l,e)});t.$evalAsync(function(){l.forEach(function(e){return o.addClass(e)}),f.forEach(function(e){return o.removeClass(e)})})}var v,p,$=[];v=n(a.uiSrefActiveEq||"",!1)(t);try{p=t.$eval(a.uiSrefActive)}catch(e){}p=p||n(a.uiSrefActive||"",!1)(t),r.isObject(p)&&r.forEach(p,function(e,n){if(r.isString(e)){var i=s(e);c(i.state,t.$eval(i.paramExpr),n)}}),this.$$addStateInfo=function(e,t){if(!(r.isObject(p)&&$.length>0)){var n=c(e,t,p);return f(),n}},t.$on("$stateChangeSuccess",f),t.$on("$destroy",i.transitionService.onStart({},u)),i.globals.transition&&u(i.globals.transition),f()}]}}],R.module("ui.router.state").directive("uiSref",N).directive("uiSrefActive",K).directive("uiSrefActiveEq",K).directive("uiState",B),h.$inject=["$state"],m.$inject=["$state"],R.module("ui.router.state").filter("isState",h).filter("includedByState",m);var G;G=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,n,i,o){function a(e,r){return{enter:function(e,r,n){R.version.minor>2?t.enter(e,null,r).then(n):t.enter(e,null,r,n)},leave:function(e,r){R.version.minor>2?t.leave(e).then(r):t.leave(e,r)}}}function u(e,t){return e===t}var c={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},s={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(t,l,f){return function(t,l,v){function p(e){(!e||e instanceof b)&&(u(x,e)||(r.trace.traceUIViewConfigUpdated(j,e&&e.viewDecl&&e.viewDecl.$context),x=e,d(e)))}function $(){if(h&&(r.trace.traceUIViewEvent("Removing (previous) el",h.data("$uiView")),h.remove(),h=null),g&&(r.trace.traceUIViewEvent("Destroying scope",j),g.$destroy(),g=null),m){var e=m.data("$uiViewAnim");r.trace.traceUIViewEvent("Animate out",e),R.leave(m,function(){e.$$animLeave.resolve(),h=null}),h=m,m=null}}function d(e){var i=t.$new(),a=o.defer(),u=o.defer(),c={$cfg:e,$uiView:j},s={$animEnter:a.promise,$animLeave:u.promise,$$animLeave:u};i.$emit("$viewContentLoading",P);var v=f(i,function(e){e.data("$uiViewAnim",s),e.data("$uiView",c),R.enter(e,l,function(){a.resolve(),g&&g.$emit("$viewContentAnimationEnded"),(r.isDefined(S)&&!S||t.$eval(S))&&n(e)}),$()});m=v,g=i,g.$emit("$viewContentLoaded",e||x),g.$eval(y)}var h,m,g,w,y=v.onload||"",S=v.autoscroll,R=a(v,t),x=void 0,C=l.inheritedData("$uiView")||c,P=i(v.uiView||v.name||"")(t)||"$default",j={$type:"ng1",id:s.count++,name:P,fqn:C.$uiView.fqn?C.$uiView.fqn+"."+P:P,config:null,configUpdated:p,get creationContext(){var e=r.parse("$cfg.viewDecl.$context")(C),t=r.parse("$uiView.creationContext")(C);return e||t}};r.trace.traceUIViewEvent("Linking",j),l.data("$uiView",{$uiView:j}),d(),w=e.registerUIView(j),t.$on("$destroy",function(){r.trace.traceUIViewEvent("Destroying/Unregistering",j),w()})}}};return s}],g.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var z="function"==typeof R.module("ui.router").component,W=0;R.module("ui.router.state").directive("uiView",G),R.module("ui.router.state").directive("uiView",g),R.module("ui.router.state").provider("$uiViewScroll",y);e.default="ui.router",e.core=r,e.watchDigests=c,e.getLocals=H,e.getNg1ViewConfigFactory=n,e.ng1ViewsBuilder=i,e.Ng1ViewConfig=b,e.StateProvider=A,e.UrlRouterProvider=F,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ui-router-angularjs.min.js.map