from gitlab
This commit is contained in:
		
							
								
								
									
										21
									
								
								common/resources/node_modules/angular-cookies/LICENSE.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								common/resources/node_modules/angular-cookies/LICENSE.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| The MIT License (MIT) | ||||
|  | ||||
| Copyright (c) 2016 Angular | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										253
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										253
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,253 @@ | ||||
| /** | ||||
|  * @license AngularJS v1.8.0 | ||||
|  * (c) 2010-2020 Google, Inc. http://angularjs.org | ||||
|  * License: MIT | ||||
|  */ | ||||
| (function(window, angular) {'use strict'; | ||||
|  | ||||
| /** | ||||
|  * @ngdoc module | ||||
|  * @name ngCookies | ||||
|  * @description | ||||
|  * | ||||
|  * The `ngCookies` module provides a convenient wrapper for reading and writing browser cookies. | ||||
|  * | ||||
|  * See {@link ngCookies.$cookies `$cookies`} for usage. | ||||
|  */ | ||||
|  | ||||
|  | ||||
| angular.module('ngCookies', ['ng']). | ||||
|   info({ angularVersion: '1.8.0' }). | ||||
|   /** | ||||
|    * @ngdoc provider | ||||
|    * @name $cookiesProvider | ||||
|    * @description | ||||
|    * Use `$cookiesProvider` to change the default behavior of the {@link ngCookies.$cookies $cookies} service. | ||||
|    * */ | ||||
|    provider('$cookies', [/** @this */function $CookiesProvider() { | ||||
|     /** | ||||
|      * @ngdoc property | ||||
|      * @name $cookiesProvider#defaults | ||||
|      * @description | ||||
|      * | ||||
|      * Object containing default options to pass when setting cookies. | ||||
|      * | ||||
|      * The object may have following properties: | ||||
|      * | ||||
|      * - **path** - `{string}` - The cookie will be available only for this path and its | ||||
|      *   sub-paths. By default, this is the URL that appears in your `<base>` tag. | ||||
|      * - **domain** - `{string}` - The cookie will be available only for this domain and | ||||
|      *   its sub-domains. For security reasons the user agent will not accept the cookie | ||||
|      *   if the current domain is not a sub-domain of this domain or equal to it. | ||||
|      * - **expires** - `{string|Date}` - String of the form "Wdy, DD Mon YYYY HH:MM:SS GMT" | ||||
|      *   or a Date object indicating the exact date/time this cookie will expire. | ||||
|      * - **secure** - `{boolean}` - If `true`, then the cookie will only be available through a | ||||
|      *   secured connection. | ||||
|      * - **samesite** - `{string}` - prevents the browser from sending the cookie along with cross-site requests. | ||||
|      *   Accepts the values `lax` and `strict`. See the [OWASP Wiki](https://www.owasp.org/index.php/SameSite) | ||||
|      *   for more info. Note that as of May 2018, not all browsers support `SameSite`, | ||||
|      *   so it cannot be used as a single measure against Cross-Site-Request-Forgery (CSRF) attacks. | ||||
|      * | ||||
|      * Note: By default, the address that appears in your `<base>` tag will be used as the path. | ||||
|      * This is important so that cookies will be visible for all routes when html5mode is enabled. | ||||
|      * | ||||
|      * @example | ||||
|      * | ||||
|      * ```js | ||||
|      * angular.module('cookiesProviderExample', ['ngCookies']) | ||||
|      *   .config(['$cookiesProvider', function($cookiesProvider) { | ||||
|      *     // Setting default options | ||||
|      *     $cookiesProvider.defaults.domain = 'foo.com'; | ||||
|      *     $cookiesProvider.defaults.secure = true; | ||||
|      *   }]); | ||||
|      * ``` | ||||
|      **/ | ||||
|     var defaults = this.defaults = {}; | ||||
|  | ||||
|     function calcOptions(options) { | ||||
|       return options ? angular.extend({}, defaults, options) : defaults; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @ngdoc service | ||||
|      * @name $cookies | ||||
|      * | ||||
|      * @description | ||||
|      * Provides read/write access to browser's cookies. | ||||
|      * | ||||
|      * <div class="alert alert-info"> | ||||
|      * Up until AngularJS 1.3, `$cookies` exposed properties that represented the | ||||
|      * current browser cookie values. In version 1.4, this behavior has changed, and | ||||
|      * `$cookies` now provides a standard api of getters, setters etc. | ||||
|      * </div> | ||||
|      * | ||||
|      * Requires the {@link ngCookies `ngCookies`} module to be installed. | ||||
|      * | ||||
|      * @example | ||||
|      * | ||||
|      * ```js | ||||
|      * angular.module('cookiesExample', ['ngCookies']) | ||||
|      *   .controller('ExampleController', ['$cookies', function($cookies) { | ||||
|      *     // Retrieving a cookie | ||||
|      *     var favoriteCookie = $cookies.get('myFavorite'); | ||||
|      *     // Setting a cookie | ||||
|      *     $cookies.put('myFavorite', 'oatmeal'); | ||||
|      *   }]); | ||||
|      * ``` | ||||
|      */ | ||||
|     this.$get = ['$$cookieReader', '$$cookieWriter', function($$cookieReader, $$cookieWriter) { | ||||
|       return { | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#get | ||||
|          * | ||||
|          * @description | ||||
|          * Returns the value of given cookie key | ||||
|          * | ||||
|          * @param {string} key Id to use for lookup. | ||||
|          * @returns {string} Raw cookie value. | ||||
|          */ | ||||
|         get: function(key) { | ||||
|           return $$cookieReader()[key]; | ||||
|         }, | ||||
|  | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#getObject | ||||
|          * | ||||
|          * @description | ||||
|          * Returns the deserialized value of given cookie key | ||||
|          * | ||||
|          * @param {string} key Id to use for lookup. | ||||
|          * @returns {Object} Deserialized cookie value. | ||||
|          */ | ||||
|         getObject: function(key) { | ||||
|           var value = this.get(key); | ||||
|           return value ? angular.fromJson(value) : value; | ||||
|         }, | ||||
|  | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#getAll | ||||
|          * | ||||
|          * @description | ||||
|          * Returns a key value object with all the cookies | ||||
|          * | ||||
|          * @returns {Object} All cookies | ||||
|          */ | ||||
|         getAll: function() { | ||||
|           return $$cookieReader(); | ||||
|         }, | ||||
|  | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#put | ||||
|          * | ||||
|          * @description | ||||
|          * Sets a value for given cookie key | ||||
|          * | ||||
|          * @param {string} key Id for the `value`. | ||||
|          * @param {string} value Raw value to be stored. | ||||
|          * @param {Object=} options Options object. | ||||
|          *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} | ||||
|          */ | ||||
|         put: function(key, value, options) { | ||||
|           $$cookieWriter(key, value, calcOptions(options)); | ||||
|         }, | ||||
|  | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#putObject | ||||
|          * | ||||
|          * @description | ||||
|          * Serializes and sets a value for given cookie key | ||||
|          * | ||||
|          * @param {string} key Id for the `value`. | ||||
|          * @param {Object} value Value to be stored. | ||||
|          * @param {Object=} options Options object. | ||||
|          *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} | ||||
|          */ | ||||
|         putObject: function(key, value, options) { | ||||
|           this.put(key, angular.toJson(value), options); | ||||
|         }, | ||||
|  | ||||
|         /** | ||||
|          * @ngdoc method | ||||
|          * @name $cookies#remove | ||||
|          * | ||||
|          * @description | ||||
|          * Remove given cookie | ||||
|          * | ||||
|          * @param {string} key Id of the key-value pair to delete. | ||||
|          * @param {Object=} options Options object. | ||||
|          *    See {@link ngCookies.$cookiesProvider#defaults $cookiesProvider.defaults} | ||||
|          */ | ||||
|         remove: function(key, options) { | ||||
|           $$cookieWriter(key, undefined, calcOptions(options)); | ||||
|         } | ||||
|       }; | ||||
|     }]; | ||||
|   }]); | ||||
|  | ||||
| /** | ||||
|  * @name $$cookieWriter | ||||
|  * @requires $document | ||||
|  * | ||||
|  * @description | ||||
|  * This is a private service for writing cookies | ||||
|  * | ||||
|  * @param {string} name Cookie name | ||||
|  * @param {string=} value Cookie value (if undefined, cookie will be deleted) | ||||
|  * @param {Object=} options Object with options that need to be stored for the cookie. | ||||
|  */ | ||||
| function $$CookieWriter($document, $log, $browser) { | ||||
|   var cookiePath = $browser.baseHref(); | ||||
|   var rawDocument = $document[0]; | ||||
|  | ||||
|   function buildCookieString(name, value, options) { | ||||
|     var path, expires; | ||||
|     options = options || {}; | ||||
|     expires = options.expires; | ||||
|     path = angular.isDefined(options.path) ? options.path : cookiePath; | ||||
|     if (angular.isUndefined(value)) { | ||||
|       expires = 'Thu, 01 Jan 1970 00:00:00 GMT'; | ||||
|       value = ''; | ||||
|     } | ||||
|     if (angular.isString(expires)) { | ||||
|       expires = new Date(expires); | ||||
|     } | ||||
|  | ||||
|     var str = encodeURIComponent(name) + '=' + encodeURIComponent(value); | ||||
|     str += path ? ';path=' + path : ''; | ||||
|     str += options.domain ? ';domain=' + options.domain : ''; | ||||
|     str += expires ? ';expires=' + expires.toUTCString() : ''; | ||||
|     str += options.secure ? ';secure' : ''; | ||||
|     str += options.samesite ? ';samesite=' + options.samesite : ''; | ||||
|  | ||||
|     // per http://www.ietf.org/rfc/rfc2109.txt browser must allow at minimum: | ||||
|     // - 300 cookies | ||||
|     // - 20 cookies per unique domain | ||||
|     // - 4096 bytes per cookie | ||||
|     var cookieLength = str.length + 1; | ||||
|     if (cookieLength > 4096) { | ||||
|       $log.warn('Cookie \'' + name + | ||||
|         '\' possibly not set or overflowed because it was too large (' + | ||||
|         cookieLength + ' > 4096 bytes)!'); | ||||
|     } | ||||
|  | ||||
|     return str; | ||||
|   } | ||||
|  | ||||
|   return function(name, value, options) { | ||||
|     rawDocument.cookie = buildCookieString(name, value, options); | ||||
|   }; | ||||
| } | ||||
|  | ||||
| $$CookieWriter.$inject = ['$document', '$log', '$browser']; | ||||
|  | ||||
| angular.module('ngCookies').provider('$$cookieWriter', /** @this */ function $$CookieWriterProvider() { | ||||
|   this.$get = $$CookieWriter; | ||||
| }); | ||||
|  | ||||
|  | ||||
| })(window, window.angular); | ||||
							
								
								
									
										9
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.min.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.min.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| /* | ||||
|  AngularJS v1.8.0 | ||||
|  (c) 2010-2020 Google, Inc. http://angularjs.org | ||||
|  License: MIT | ||||
| */ | ||||
| (function(n,e){'use strict';function m(d,k,l){var a=l.baseHref(),h=d[0];return function(f,b,c){var d,g;c=c||{};g=c.expires;d=e.isDefined(c.path)?c.path:a;e.isUndefined(b)&&(g="Thu, 01 Jan 1970 00:00:00 GMT",b="");e.isString(g)&&(g=new Date(g));b=encodeURIComponent(f)+"="+encodeURIComponent(b);b=b+(d?";path="+d:"")+(c.domain?";domain="+c.domain:"");b+=g?";expires="+g.toUTCString():"";b+=c.secure?";secure":"";b+=c.samesite?";samesite="+c.samesite:"";c=b.length+1;4096<c&&k.warn("Cookie '"+f+"' possibly not set or overflowed because it was too large ("+ | ||||
| c+" > 4096 bytes)!");h.cookie=b}}e.module("ngCookies",["ng"]).info({angularVersion:"1.8.0"}).provider("$cookies",[function(){var d=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(k,l){return{get:function(a){return k()[a]},getObject:function(a){return(a=this.get(a))?e.fromJson(a):a},getAll:function(){return k()},put:function(a,h,f){l(a,h,f?e.extend({},d,f):d)},putObject:function(a,d,f){this.put(a,e.toJson(d),f)},remove:function(a,h){l(a,void 0,h?e.extend({},d,h):d)}}}]}]);m.$inject= | ||||
| ["$document","$log","$browser"];e.module("ngCookies").provider("$$cookieWriter",function(){this.$get=m})})(window,window.angular); | ||||
| //# sourceMappingURL=angular-cookies.min.js.map | ||||
							
								
								
									
										8
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.min.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								common/resources/node_modules/angular-cookies/angular-cookies.min.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| { | ||||
| "version":3, | ||||
| "file":"angular-cookies.min.js", | ||||
| "lineCount":8, | ||||
| "mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkB,CAqM3BC,QAASA,EAAc,CAACC,CAAD,CAAYC,CAAZ,CAAkBC,CAAlB,CAA4B,CACjD,IAAIC,EAAaD,CAAAE,SAAA,EAAjB,CACIC,EAAcL,CAAA,CAAU,CAAV,CAoClB,OAAO,SAAQ,CAACM,CAAD,CAAOC,CAAP,CAAcC,CAAd,CAAuB,CAlCW,IAC3CC,CAD2C,CACrCC,CACVF,EAAA,CAiCoDA,CAjCpD,EAAqB,EACrBE,EAAA,CAAUF,CAAAE,QACVD,EAAA,CAAOX,CAAAa,UAAA,CAAkBH,CAAAC,KAAlB,CAAA,CAAkCD,CAAAC,KAAlC,CAAiDN,CACpDL,EAAAc,YAAA,CAAoBL,CAApB,CAAJ,GACEG,CACA,CADU,+BACV,CAAAH,CAAA,CAAQ,EAFV,CAIIT,EAAAe,SAAA,CAAiBH,CAAjB,CA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EAAQrC,CAAAuC,SAAA,CAAiB9B,CAAjB,CAAR,CAAkCA,CAFlB,CAzBpB,CAuCL+B,OAAQA,QAAQ,EAAG,CACjB,MAAON,EAAA,EADU,CAvCd,CAuDLO,IAAKA,QAAQ,CAACJ,CAAD,CAAM5B,CAAN,CAAaC,CAAb,CAAsB,CACjCyB,CAAA,CAAeE,CAAf,CAAoB5B,CAApB,CAAuCC,CAvFpC,CAAUV,CAAA0C,OAAA,CAAe,EAAf,CAAmBV,CAAnB,CAuF0BtB,CAvF1B,CAAV,CAAkDsB,CAuFrD,CADiC,CAvD9B,CAuELW,UAAWA,QAAQ,CAACN,CAAD,CAAM5B,CAAN,CAAaC,CAAb,CAAsB,CACvC,IAAA+B,IAAA,CAASJ,CAAT,CAAcrC,CAAA4C,OAAA,CAAenC,CAAf,CAAd,CAAqCC,CAArC,CADuC,CAvEpC,CAsFLmC,OAAQA,QAAQ,CAACR,CAAD,CAAM3B,CAAN,CAAe,CAC7ByB,CAAA,CAAeE,CAAf,CAAoBS,IAAAA,EAApB,CAA2CpC,CAtHxC,CAAUV,CAAA0C,OAAA,CAAe,EAAf,CAAmBV,CAAnB,CAsH8BtB,CAtH9B,CAAV,CAAkDsB,CAsHrD,CAD6B,CAtF1B,CADiF,CAA9E,CAvEiD,CAAzC,CARxB,CAmOA/B,EAAA8C,QAAA;AAAyB,CAAC,WAAD,CAAc,MAAd,CAAsB,UAAtB,CAEzB/C,EAAA2B,OAAA,CAAe,WAAf,CAAAG,SAAA,CAAqC,gBAArC,CAAoEkB,QAA+B,EAAG,CACpG,IAAAf,KAAA,CAAYhC,CADwF,CAAtG,CAlP2B,CAA1B,CAAD,CAuPGF,MAvPH,CAuPWA,MAAAC,QAvPX;", | ||||
| "sources":["angular-cookies.js"], | ||||
| "names":["window","angular","$$CookieWriter","$document","$log","$browser","cookiePath","baseHref","rawDocument","name","value","options","path","expires","isDefined","isUndefined","isString","Date","str","encodeURIComponent","domain","toUTCString","secure","samesite","cookieLength","length","warn","cookie","module","info","angularVersion","provider","$CookiesProvider","defaults","$get","$$cookieReader","$$cookieWriter","get","key","getObject","fromJson","getAll","put","extend","putObject","toJson","remove","undefined","$inject","$$CookieWriterProvider"] | ||||
| } | ||||
							
								
								
									
										10
									
								
								common/resources/node_modules/angular-cookies/bower.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								common/resources/node_modules/angular-cookies/bower.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| { | ||||
|   "name": "angular-cookies", | ||||
|   "version": "1.8.0", | ||||
|   "license": "MIT", | ||||
|   "main": "./angular-cookies.js", | ||||
|   "ignore": [], | ||||
|   "dependencies": { | ||||
|     "angular": "1.8.0" | ||||
|   } | ||||
| } | ||||
							
								
								
									
										2
									
								
								common/resources/node_modules/angular-cookies/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								common/resources/node_modules/angular-cookies/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| require('./angular-cookies'); | ||||
| module.exports = 'ngCookies'; | ||||
		Reference in New Issue
	
	Block a user