blob: 859d41c1d1981cbf89a4c1ccd08c20d092daf6b2 [file] [log] [blame]
/**
* @license Angular v8.1.1
* (c) 2010-2019 Google LLC. https://angular.io/
* License: MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("@angular/common/http",["exports","@angular/core","rxjs","rxjs/operators","@angular/common"],t):t(((e=e||self).ng=e.ng||{},e.ng.common=e.ng.common||{},e.ng.common.http={}),e.ng.core,e.rxjs,e.rxjs.operators,e.ng.common)}(this,function(e,t,r,n,o){"use strict";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var s=function s(){},a=function a(){},i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function u(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function p(e,t,r,n){var o,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a}function c(e,t){return function(r,n){t(r,n,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var h=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>0){var n=e.slice(0,r),o=n.toLowerCase(),s=e.slice(r+1).trim();t.maybeSetNormalizedName(n,o),t.headers.has(o)?t.headers.get(o).push(s):t.headers.set(o,[s])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(r){var n=e[r],o=r.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(t.headers.set(o,n),t.maybeSetNormalizedName(r,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(r){t.headers.set(r,e.headers.get(r)),t.normalizedNames.set(r,e.normalizedNames.get(r))})},e.prototype.clone=function(t){var r=new e;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);var n=("a"===e.op?this.headers.get(t):void 0)||[];n.push.apply(n,function o(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e}(r)),this.headers.set(t,n);break;case"d":var s=e.value;if(s){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===s.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(r){return e(t.normalizedNames.get(r),t.headers.get(r))})},e}(),f=function(){function e(){}return e.prototype.encodeKey=function(e){return y(e)},e.prototype.encodeValue=function(e){return y(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function y(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function e(e){var t=this;if(void 0===e&&(e={}),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function r(e,t){var r=new Map;return e.length>0&&e.split("&").forEach(function(e){var n=e.indexOf("="),o=d(-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],2),s=o[0],a=o[1],i=r.get(s)||[];i.push(a),r.set(s,i)}),r}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(r){var n=e.fromObject[r];t.map.set(r,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var r=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return r+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var r=new e({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat([t]),r},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var r=("a"===t.op?e.map.get(t.param):void 0)||[];r.push(t.value),e.map.set(t.param,r);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var n=e.map.get(t.param)||[],o=n.indexOf(t.value);-1!==o&&n.splice(o,1),n.length>0?e.map.set(t.param,n):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function g(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var w,T=function(){function e(e,t,r,n){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function s(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==r?r:null,o=n):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new h),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=t;else{var i=t.indexOf("?");this.urlWithParams=t+(-1===i?"?":i<t.length-1?"&":"")+a}}else this.params=new m,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:v(this.body)||g(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:b(this.body)?null:g(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var r=t.method||this.method,n=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,i=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,p=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce(function(e,r){return e.set(r,t.setHeaders[r])},u)),t.setParams&&(p=Object.keys(t.setParams).reduce(function(e,r){return e.set(r,t.setParams[r])},p)),new e(r,n,s,{params:p,headers:u,reportProgress:i,responseType:o,withCredentials:a})},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
w=e.HttpEventType||(e.HttpEventType={}))[w.Sent=0]="Sent",w[w.UploadProgress=1]="UploadProgress",w[w.ResponseHeader=2]="ResponseHeader",w[w.DownloadProgress=3]="DownloadProgress",w[w.Response=4]="Response",w[w.User=5]="User";var E,j=function(t){function r(r){void 0===r&&(r={});var n=t.call(this,r)||this;return n.type=e.HttpEventType.ResponseHeader,n}return u(r,t),r.prototype.clone=function(e){return void 0===e&&(e={}),new r({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},r}(E=function E(e,t,r){void 0===t&&(t=200),void 0===r&&(r="OK"),this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}),C=function(t){function r(r){void 0===r&&(r={});var n=t.call(this,r)||this;return n.type=e.HttpEventType.Response,n.body=void 0!==r.body?r.body:null,n}return u(r,t),r.prototype.clone=function(e){return void 0===e&&(e={}),new r({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},r}(E),k=function(e){function t(t){var r=e.call(this,t,0,"Unknown Error")||this;return r.name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,r.error=t.error||null,r}return u(t,e),t}(E);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function O(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var x=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,o){var s,a=this;if(void 0===o&&(o={}),e instanceof T)s=e;else{var i;i=o.headers instanceof h?o.headers:new h(o.headers);var u=void 0;o.params&&(u=o.params instanceof m?o.params:new m({fromObject:o.params})),s=new T(e,t,void 0!==o.body?o.body:null,{headers:i,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}var p=r.of(s).pipe(n.concatMap(function(e){return a.handler.handle(e)}));if(e instanceof T||"events"===o.observe)return p;var c=p.pipe(n.filter(function(e){return e instanceof C}));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(n.map(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return c.pipe(n.map(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return c.pipe(n.map(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return c.pipe(n.map(function(e){return e.body}))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type "+o.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,r){return void 0===r&&(r={}),this.request("PATCH",e,O(r,t))},e.prototype.post=function(e,t,r){return void 0===r&&(r={}),this.request("POST",e,O(r,t))},e.prototype.put=function(e,t,r){return void 0===r&&(r={}),this.request("PUT",e,O(r,t))},p([t.Injectable(),l("design:paramtypes",[s])],e)}(),_=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),N=new t.InjectionToken("HTTP_INTERCEPTORS"),P=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},p([t.Injectable()],e)}(),H=0,R=function R(){},S=function(){function n(e,t){this.callbackMap=e,this.document=t}return n.prototype.nextCallback=function(){return"ng_jsonp_callback_"+H++},n.prototype.handle=function(t){var n=this;if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new r.Observable(function(r){var o=n.nextCallback(),s=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+o+"$1"),a=n.document.createElement("script");a.src=s;var i=null,u=!1,p=!1;n.callbackMap[o]=function(e){delete n.callbackMap[o],p||(i=e,u=!0)};var c=function(){a.parentNode&&a.parentNode.removeChild(a),delete n.callbackMap[o]},l=function(e){p||(c(),u?(r.next(new C({body:i,status:200,statusText:"OK",url:s})),r.complete()):r.error(new k({url:s,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},d=function(e){p||(c(),r.error(new k({error:e,status:0,statusText:"JSONP Error",url:s})))};return a.addEventListener("load",l),a.addEventListener("error",d),n.document.body.appendChild(a),r.next({type:e.HttpEventType.Sent}),function(){p=!0,a.removeEventListener("load",l),a.removeEventListener("error",d),c()}})},p([t.Injectable(),c(1,t.Inject(o.DOCUMENT)),l("design:paramtypes",[R,Object])],n)}(),I=function(){function e(e){this.jsonp=e}return e.prototype.intercept=function(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)},p([t.Injectable(),l("design:paramtypes",[S])],e)}(),A=/^\)\]\}',?\n/,L=function L(){},z=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},p([t.Injectable(),l("design:paramtypes",[])],e)}(),U=function(){function n(e){this.xhrFactory=e}return n.prototype.handle=function(t){var n=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.Observable(function(r){var o=n.xhrFactory.build();if(o.open(t.method,t.urlWithParams),t.withCredentials&&(o.withCredentials=!0),t.headers.forEach(function(e,t){return o.setRequestHeader(e,t.join(","))}),t.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var s=t.detectContentTypeHeader();null!==s&&o.setRequestHeader("Content-Type",s)}if(t.responseType){var a=t.responseType.toLowerCase();o.responseType="json"!==a?a:"text"}var i=t.serializeBody(),u=null,p=function(){if(null!==u)return u;var e=1223===o.status?204:o.status,r=o.statusText||"OK",n=new h(o.getAllResponseHeaders()),s=function a(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||t.url;return u=new j({headers:n,status:e,statusText:r,url:s})},c=function(){var e=p(),n=e.headers,s=e.status,a=e.statusText,i=e.url,u=null;204!==s&&(u=void 0===o.response?o.responseText:o.response),0===s&&(s=u?200:0);var c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof u){var l=u;u=u.replace(A,"");try{u=""!==u?JSON.parse(u):null}catch(e){u=l,c&&(c=!1,u={error:e,text:u})}}c?(r.next(new C({body:u,headers:n,status:s,statusText:a,url:i||void 0})),r.complete()):r.error(new k({error:u,headers:n,status:s,statusText:a,url:i||void 0}))},l=function(e){var t=p().url,n=new k({error:e,status:o.status||0,statusText:o.statusText||"Unknown Error",url:t||void 0});r.error(n)},d=!1,f=function(n){d||(r.next(p()),d=!0);var s={type:e.HttpEventType.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===t.responseType&&o.responseText&&(s.partialText=o.responseText),r.next(s)},y=function(t){var n={type:e.HttpEventType.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),r.next(n)};return o.addEventListener("load",c),o.addEventListener("error",l),t.reportProgress&&(o.addEventListener("progress",f),null!==i&&o.upload&&o.upload.addEventListener("progress",y)),o.send(i),r.next({type:e.HttpEventType.Sent}),function(){o.removeEventListener("error",l),o.removeEventListener("load",c),t.reportProgress&&(o.removeEventListener("progress",f),null!==i&&o.upload&&o.upload.removeEventListener("progress",y)),o.abort()}})},p([t.Injectable(),l("design:paramtypes",[L])],n)}(),M=new t.InjectionToken("XSRF_COOKIE_NAME"),F=new t.InjectionToken("XSRF_HEADER_NAME"),q=function q(){},J=function(){function e(e,t,r){this.doc=e,this.platform=t,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=oparseCookieValue(e,this.cookieName),this.lastCookieString=e),this.lastToken},p([t.Injectable(),c(0,t.Inject(o.DOCUMENT)),c(1,t.Inject(t.PLATFORM_ID)),c(2,t.Inject(M)),l("design:paramtypes",[Object,String,String])],e)}(),B=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t.handle(e);var n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)},p([t.Injectable(),c(1,t.Inject(F)),l("design:paramtypes",[q,String])],e)}(),D=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(N,[]);this.chain=t.reduceRight(function(e,t){return new _(e,t)},this.backend)}return this.chain.handle(e)},p([t.Injectable(),l("design:paramtypes",[a,t.Injector])],e)}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function K(){return"object"==typeof window?window:{}}var X=function(){function e(){}var r;return r=e,e.disable=function(){return{ngModule:r,providers:[{provide:B,useClass:P}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:r,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}},r=p([t.NgModule({providers:[B,{provide:N,useExisting:B,multi:!0},{provide:q,useClass:J},{provide:M,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]})],e)}(),V=function(){return p([t.NgModule({imports:[X.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[x,{provide:s,useClass:D},U,{provide:a,useExisting:U},z,{provide:L,useExisting:z}]})],function e(){})}(),W=function(){return p([t.NgModule({providers:[S,{provide:R,useFactory:K},{provide:N,useClass:I,multi:!0}]})],function e(){})}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
eangular_packages_common_http_http_a=P,eangular_packages_common_http_http_b=R,eangular_packages_common_http_http_c=K,eangular_packages_common_http_http_d=z,eangular_packages_common_http_http_g=J,eangular_packages_common_http_http_h=B,eangular_packages_common_http_http_e=M,eangular_packages_common_http_http_f=F,e.HttpBackend=a,e.HttpHandler=s,e.HttpClient=x,e.HttpHeaders=h,e.HTTP_INTERCEPTORS=N,e.JsonpClientBackend=S,e.JsonpInterceptor=I,e.HttpClientJsonpModule=W,e.HttpClientModule=V,e.HttpClientXsrfModule=X,eHttpInterceptingHandler=D,e.HttpParams=m,e.HttpUrlEncodingCodec=f,e.HttpRequest=T,e.HttpErrorResponse=k,e.HttpHeaderResponse=j,e.HttpResponse=C,e.HttpResponseBase=E,e.HttpXhrBackend=U,e.XhrFactory=L,e.HttpXsrfTokenExtractor=q,Object.defineProperty(e,"__esModule",{value:!0})});