PageSourceSearch

https://www.prpwine.com/wp-content/plugins/idstc-acuta/scripts/angular/angular-route.min.js?ver=3.1.20260923.1

js prpwine.com collected 2026-09-25 20:51:29 UTC 5,929 bytes, 20 lines download raw bytes

vendor: 5,929 bytes, lines 1-20
1/*
2 AngularJS
3 (c) 2010-2020 Google LLC. http://angularjs.org
4 License: MIT
5 XLTS for AngularJS v1.9.6
6 (c) 2022 XLTS.dev All Rights Reserved. https://xlts.dev/angularjs
7 License: Obtain a commercial license from XLTS.dev before using this software.
8*/
9(function(I,b){'use strict';function z(b,h){var d=[],e=b.replace(/([().])/g,function(d,b){return"\\"+b}).replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(b,c,e,h){b="?"===h||"*?"===h;h="*"===h||"*?"===h;d.push({name:e,optional:b});c=c||"";return(b?"(?:"+c:c+"(?:")+(h?"(.+?)":"([^/]+)")+(b?"?)?":")")}).replace(/([/$*])/g,function(b,d){return"\\"+d});h.ignoreTrailingSlashes&&(e=e.replace(/\/+$/,"")+"/*");return{keys:d,regexp:new RegExp("^"+e+"(?:[?#]|$)",h.caseInsensitiveMatch?"i":"")}}function A(b){m&&
10b.get("$route")}function u(t,h,d){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(e,f,c,k,G){function n(){p&&(d.cancel(p),p=null);l&&(l.$destroy(),l=null);r&&(p=d.leave(r),p.done(function(b){!1!==b&&(p=null)}),r=null)}function v(){var c=t.current&&t.current.locals;if(b.isDefined(c&&c.$template)){var c=e.$new(),k=t.current;r=G(c,function(c){d.enter(c,null,r||f).done(function(d){!1===d||!b.isDefined(w)||w&&!e.$eval(w)||h()});n()});l=k.scope=c;l.$emit("$viewContentLoaded");
11l.$eval(m)}else n()}var l,r,p,w=c.autoscroll,m=c.onload||"";e.$on("$routeChangeSuccess",v);v()}}}function x(b,h,d){return{restrict:"ECA",priority:-400,link:function(e,f){var c=d.current,k=c.locals;f.html(k.$template);var m=b(f.contents());if(c.controller){k.$scope=e;var n=h(c.controller,k);c.controllerAs&&(e[c.controllerAs]=n);f.data("$ngControllerController",n);f.children().data("$ngControllerController",n)}e[c.resolveAs||"$resolve"]=k;m(e)}}}var C,D,E,F,y=b.module("ngRoute",[]).info({angularVersion:"1.9.6"}).provider("$route",
12function(){function t(d,e){return b.extend(Object.create(d),e)}C=b.isArray;D=b.isObject;E=b.isDefined;F=b.noop;var h={};this.when=function(d,e){var f;f=void 0;if(C(e)){f=f||[];for(var c=0,k=e.length;c<k;c++)f[c]=e[c]}else if(D(e))for(c in f=f||{},e)if("$"!==c.charAt(0)||"$"!==c.charAt(1))f[c]=e[c];f=f||e;b.isUndefined(f.reloadOnUrl)&&(f.reloadOnUrl=!0);b.isUndefined(f.reloadOnSearch)&&(f.reloadOnSearch=!0);b.isUndefined(f.caseInsensitiveMatch)&&(f.caseInsensitiveMatch=this.caseInsensitiveMatch);h[d]=
13b.extend(f,{originalPath:d},d&&z(d,f));d&&(c="/"===d[d.length-1]?d.substr(0,d.length-1):d+"/",h[c]=b.extend({originalPath:d,redirectTo:d},z(c,f)));return this};this.caseInsensitiveMatch=!1;this.otherwise=function(b){"string"===typeof b&&(b={redirectTo:b});this.when(null,b);return this};m=!0;this.eagerInstantiationEnabled=function(b){return E(b)?(m=b,this):m};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(d,e,f,c,k,m,n,v){function l(a){var g=
14s.current;q=A();(x=!B&&q&&g&&q.$$route===g.$$route&&(!q.reloadOnUrl||!q.reloadOnSearch&&b.equals(q.pathParams,g.pathParams)))||!g&&!q||d.$broadcast("$routeChangeStart",q,g).defaultPrevented&&a&&a.preventDefault()}function r(){var a=s.current,g=q;if(x)a.params=g.params,b.copy(a.params,f),d.$broadcast("$routeUpdate",a);else if(g||a){B=!1;s.current=g;var e=c.resolve(g);v.$$incOutstandingRequestCount("$route");e.then(p).then(w).then(function(c){return c&&e.then(y).then(function(c){g===s.current&&(g&&
15(g.locals=c,b.copy(g.params,f)),d.$broadcast("$routeChangeSuccess",g,a))})}).catch(function(b){g===s.current&&d.$broadcast("$routeChangeError",g,a,b)}).finally(function(){v.$$completeOutstandingRequest(F,"$route")})}}function p(a){var g={route:a,hasRedirection:!1};if(a)if(a.redirectTo)if(b.isString(a.redirectTo))g.path=u(a.redirectTo,a.params),g.search=a.params,g.hasRedirection=!0;else{var d=e.path(),f=e.search();a=a.redirectTo(a.pathParams,d,f);b.isDefined(a)&&(g.url=a,g.hasRedirection=!0)}else if(a.resolveRedirectTo)return c.resolve(k.invoke(a.resolveRedirectTo)).then(function(a){b.isDefined(a)&&
16(g.url=a,g.hasRedirection=!0);return g});return g}function w(a){var b=!0;if(a.route!==s.current)b=!1;else if(a.hasRedirection){var c=e.url(),d=a.url;d?e.url(d).replace():d=e.path(a.path).search(a.search).replace().url();d!==c&&(b=!1)}return b}function y(a){if(a){var g=b.extend({},a.resolve);b.forEach(g,function(a,c){g[c]=b.isString(a)?k.get(a):k.invoke(a,null,null,c)});a=z(a);b.isDefined(a)&&(g.$template=a);return c.all(g)}}function z(a){var c,d;b.isDefined(c=a.template)?b.isFunction(c)&&(c=c(a.params)):
17b.isDefined(d=a.templateUrl)&&(b.isFunction(d)&&(d=d(a.params)),b.isDefined(d)&&(a.loadedTemplateUrl=n.valueOf(d),c=m(d)));return c}function A(){var a,c;b.forEach(h,function(d,f){var h;if(h=!c){var k=e.path();h=d.keys;var m={};if(d.regexp)if(k=d.regexp.exec(k)){for(var l=1,q=k.length;l<q;++l){var n=h[l-1],p=k[l];n&&p&&(m[n.name]=p)}h=m}else h=null;else h=null;h=a=h}h&&(c=t(d,{params:b.extend({},e.search(),a),pathParams:a}),c.$$route=d)});return c||h[null]&&t(h[null],{params:{},pathParams:{}})}function u(a,
18c){var d=[];b.forEach((a||"").split(":"),function(a,b){if(0===b)d.push(a);else{var e=a.match(/(\w+)(?:[?*])?(.*)/),f=e[1];d.push(c[f]);d.push(e[2]||"");delete c[f]}});return d.join("")}var B=!1,q,x,s={routes:h,reload:function(){B=!0;var a={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0;B=!1}};d.$evalAsync(function(){l(a);a.defaultPrevented||r()})},updateParams:function(a){if(this.current&&this.current.$$route)a=b.extend({},this.current.params,a),e.path(u(this.current.$$route.originalPath,
19a)),e.search(a);else throw H("norout");}};d.$on("$locationChangeStart",l);d.$on("$locationChangeSuccess",r);return s}]}).run(A),H=b.$$minErr("ngRoute"),m;A.$inject=["$injector"];y.provider("$routeParams",function(){this.$get=function(){return{}}});y.directive("ngView",u);y.directive("ngView",x);u.$inject=["$route","$anchorScroll","$animate"];x.$inject=["$compile","$controller","$route"]})(window,window.angular);
20//# sourceMappingURL=angular-route.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.