{"version":3,"sources":["webpack://aspAndWebpack/./node_modules/angular-cookies/index.js","webpack://aspAndWebpack/./node_modules/angular-cookies/angular-cookies.js"],"names":["module","exports","window","angular","$$CookieWriter","$document","$log","$browser","cookiePath","baseHref","rawDocument","name","value","options","cookie","path","expires","isDefined","isUndefined","isString","Date","str","encodeURIComponent","domain","toUTCString","secure","cookieLength","samesite","length","warn","buildCookieString","info","angularVersion","provider","defaults","this","calcOptions","extend","$get","$$cookieReader","$$cookieWriter","get","key","getObject","fromJson","getAll","put","putObject","toJson","remove","undefined","$inject"],"mappings":"uGAAA,EAAQ,KACRA,EAAOC,QAAU,a;;;;;;CCIjB,SAAUC,EAAQC,GAAU,aAqM5B,SAASC,EAAeC,EAAWC,EAAMC,GACvC,IAAIC,EAAaD,EAASE,WACtBC,EAAcL,EAAU,GAoC5B,OAAO,SAASM,EAAMC,EAAOC,GAC3BH,EAAYI,OAnCd,SAA2BH,EAAMC,EAAOC,GACtC,IAAIE,EAAMC,EAEVA,GADAH,EAAUA,GAAW,IACHG,QAClBD,EAAOZ,EAAQc,UAAUJ,EAAQE,MAAQF,EAAQE,KAAOP,EACpDL,EAAQe,YAAYN,KACtBI,EAAU,gCACVJ,EAAQ,IAENT,EAAQgB,SAASH,KACnBA,EAAU,IAAII,KAAKJ,IAGrB,IAAIK,EAAMC,mBAAmBX,GAAQ,IAAMW,mBAAmBV,GAC9DS,GAAON,EAAO,SAAWA,EAAO,GAChCM,GAAOR,EAAQU,OAAS,WAAaV,EAAQU,OAAS,GACtDF,GAAOL,EAAU,YAAcA,EAAQQ,cAAgB,GACvDH,GAAOR,EAAQY,OAAS,UAAY,GAOpC,IAAIC,GANJL,GAAOR,EAAQc,SAAW,aAAed,EAAQc,SAAW,IAMrCC,OAAS,EAOhC,OANIF,EAAe,MACjBpB,EAAKuB,KAAK,WAAclB,EACtB,8DACAe,EAAe,mBAGZL,EAIcS,CAAkBnB,EAAMC,EAAOC,IA/NxDV,EAAQH,OAAO,YAAa,CAAC,OAC3B+B,KAAK,CAAEC,eAAgB,UAOtBC,SAAS,WAAY,CAAa,WAsCjC,IAAIC,EAAWC,KAAKD,SAAW,GAE/B,SAASE,EAAYvB,GACnB,OAAOA,EAAUV,EAAQkC,OAAO,GAAIH,EAAUrB,GAAWqB,EA8B3DC,KAAKG,KAAO,CAAC,iBAAkB,iBAAkB,SAASC,EAAgBC,GACxE,MAAO,CAWLC,IAAK,SAASC,GACZ,OAAOH,IAAiBG,IAa1BC,UAAW,SAASD,GAClB,IAAI9B,EAAQuB,KAAKM,IAAIC,GACrB,OAAO9B,EAAQT,EAAQyC,SAAShC,GAASA,GAY3CiC,OAAQ,WACN,OAAON,KAeTO,IAAK,SAASJ,EAAK9B,EAAOC,GACxB2B,EAAeE,EAAK9B,EAAOwB,EAAYvB,KAezCkC,UAAW,SAASL,EAAK9B,EAAOC,GAC9BsB,KAAKW,IAAIJ,EAAKvC,EAAQ6C,OAAOpC,GAAQC,IAcvCoC,OAAQ,SAASP,EAAK7B,GACpB2B,EAAeE,OAAKQ,EAAWd,EAAYvB,WA4DrDT,EAAe+C,QAAU,CAAC,YAAa,OAAQ,YAE/ChD,EAAQH,OAAO,aAAaiC,SAAS,kBAA+B,WAClEE,KAAKG,KAAOlC,KAnPd,CAuPGF,OAAQA,OAAOC","file":"npm.angular-cookies.599e75afb77c31efb7a3.js","sourcesContent":["require('./angular-cookies');\nmodule.exports = 'ngCookies';\n","/**\n * @license AngularJS v1.8.3\n * (c) 2010-2020 Google LLC. http://angularjs.org\n * License: MIT\n */\n(function(window, angular) {'use strict';\n\n/**\n * @ngdoc module\n * @name ngCookies\n * @description\n *\n * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies.\n *\n * See {@link ngCookies.$cookies `$cookies`} for usage.\n */\n\n\nangular.module('ngCookies', ['ng']).\n info({ angularVersion: '1.8.3' }).\n /**\n * @ngdoc provider\n * @name $cookiesProvider\n * @description\n * Use `$cookiesProvider` to change the default behavior of the {@link ngCookies.$cookies $cookies} service.\n * */\n provider('$cookies', [/** @this */function $CookiesProvider() {\n /**\n * @ngdoc property\n * @name $cookiesProvider#defaults\n * @description\n *\n * Object containing default options to pass when setting cookies.\n *\n * The object may have following properties:\n *\n * - **path** - `{string}` - The cookie will be available only for this path and its\n * sub-paths. By default, this is the URL that appears in your `` tag.\n * - **domain** - `{string}` - The cookie will be available only for this domain and\n * its sub-domains. For security reasons the user agent will not accept the cookie\n * if the current domain is not a sub-domain of this domain or equal to it.\n * - **expires** - `{string|Date}` - String of the form \"Wdy, DD Mon YYYY HH:MM:SS GMT\"\n * or a Date object indicating the exact date/time this cookie will expire.\n * - **secure** - `{boolean}` - If `true`, then the cookie will only be available through a\n * secured connection.\n * - **samesite** - `{string}` - prevents the browser from sending the cookie along with cross-site requests.\n * Accepts the values `lax` and `strict`. See the [OWASP Wiki](https://www.owasp.org/index.php/SameSite)\n * for more info. Note that as of May 2018, not all browsers support `SameSite`,\n * so it cannot be used as a single measure against Cross-Site-Request-Forgery (CSRF) attacks.\n *\n * Note: By default, the address that appears in your `` tag will be used as the path.\n * This is important so that cookies will be visible for all routes when html5mode is enabled.\n *\n * @example\n *\n * ```js\n * angular.module('cookiesProviderExample', ['ngCookies'])\n * .config(['$cookiesProvider', function($cookiesProvider) {\n * // Setting default options\n * $cookiesProvider.defaults.domain = 'foo.com';\n * $cookiesProvider.defaults.secure = true;\n * }]);\n * ```\n **/\n var defaults = this.defaults = {};\n\n function calcOptions(options) {\n return options ? angular.extend({}, defaults, options) : defaults;\n }\n\n /**\n * @ngdoc service\n * @name $cookies\n *\n * @description\n * Provides read/write access to browser's cookies.\n *\n *
\n * Up until AngularJS 1.3, `$cookies` exposed properties that represented the\n * current browser cookie values. In version 1.4, this behavior has changed, and\n * `$cookies` now provides a standard api of getters, setters etc.\n *
\n *\n * Requires the {@link ngCookies `ngCookies`} module to be installed.\n *\n * @example\n *\n * ```js\n * angular.module('cookiesExample', ['ngCookies'])\n * .controller('ExampleController', ['$cookies', function($cookies) {\n * // Retrieving a cookie\n * var favoriteCookie = $cookies.get('myFavorite');\n * // Setting a cookie\n * $cookies.put('myFavorite', 'oatmeal');\n * }]);\n * ```\n */\n this.$get = ['$$cookieReader', '$$cookieWriter', function($$cookieReader, $$cookieWriter) {\n return {\n /**\n * @ngdoc method\n * @name $cookies#get\n *\n * @description\n * Returns the value of given cookie key\n *\n * @param {string} key Id to use for lookup.\n * @returns {string} Raw cookie value.\n */\n get: function(key) {\n return $$cookieReader()[key];\n },\n\n /**\n * @ngdoc method\n * @name $cookies#getObject\n *\n * @description\n * Returns the deserialized value of given cookie key\n *\n * @param {string} key Id to use for lookup.\n * @returns {Object} Deserialized cookie value.\n */\n getObject: function(key) {\n var value = this.get(key);\n return value ? angular.fromJson(value) : value;\n },\n\n /**\n * @ngdoc method\n * @name $cookies#getAll\n *\n * @description\n * Returns a key value object with all the cookies\n *\n * @returns {Object} All cookies\n */\n getAll: function() {\n return $$cookieReader();\n },\n\n /**\n * @ngdoc method\n * @name $cookies#put\n *\n * @description\n * Sets a value for given cookie key\n *\n * @param {string} key Id for the `value`.\n * @param {string} value Raw value to be stored.\n * @param {Object=} options Options object.\n * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n */\n put: function(key, value, options) {\n $$cookieWriter(key, value, calcOptions(options));\n },\n\n /**\n * @ngdoc method\n * @name $cookies#putObject\n *\n * @description\n * Serializes and sets a value for given cookie key\n *\n * @param {string} key Id for the `value`.\n * @param {Object} value Value to be stored.\n * @param {Object=} options Options object.\n * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n */\n putObject: function(key, value, options) {\n this.put(key, angular.toJson(value), options);\n },\n\n /**\n * @ngdoc method\n * @name $cookies#remove\n *\n * @description\n * Remove given cookie\n *\n * @param {string} key Id of the key-value pair to delete.\n * @param {Object=} options Options object.\n * See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults}\n */\n remove: function(key, options) {\n $$cookieWriter(key, undefined, calcOptions(options));\n }\n };\n }];\n }]);\n\n/**\n * @name $$cookieWriter\n * @requires $document\n *\n * @description\n * This is a private service for writing cookies\n *\n * @param {string} name Cookie name\n * @param {string=} value Cookie value (if undefined, cookie will be deleted)\n * @param {Object=} options Object with options that need to be stored for the cookie.\n */\nfunction $$CookieWriter($document, $log, $browser) {\n var cookiePath = $browser.baseHref();\n var rawDocument = $document[0];\n\n function buildCookieString(name, value, options) {\n var path, expires;\n options = options || {};\n expires = options.expires;\n path = angular.isDefined(options.path) ? options.path : cookiePath;\n if (angular.isUndefined(value)) {\n expires = 'Thu, 01 Jan 1970 00:00:00 GMT';\n value = '';\n }\n if (angular.isString(expires)) {\n expires = new Date(expires);\n }\n\n var str = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n str += path ? ';path=' + path : '';\n str += options.domain ? ';domain=' + options.domain : '';\n str += expires ? ';expires=' + expires.toUTCString() : '';\n str += options.secure ? ';secure' : '';\n str += options.samesite ? ';samesite=' + options.samesite : '';\n\n // per http://www.ietf.org/rfc/rfc2109.txt browser must allow at minimum:\n // - 300 cookies\n // - 20 cookies per unique domain\n // - 4096 bytes per cookie\n var cookieLength = str.length + 1;\n if (cookieLength > 4096) {\n $log.warn('Cookie \\'' + name +\n '\\' possibly not set or overflowed because it was too large (' +\n cookieLength + ' > 4096 bytes)!');\n }\n\n return str;\n }\n\n return function(name, value, options) {\n rawDocument.cookie = buildCookieString(name, value, options);\n };\n}\n\n$$CookieWriter.$inject = ['$document', '$log', '$browser'];\n\nangular.module('ngCookies').provider('$$cookieWriter', /** @this */ function $$CookieWriterProvider() {\n this.$get = $$CookieWriter;\n});\n\n\n})(window, window.angular);\n"],"sourceRoot":""}