You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			225 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			225 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			JavaScript
		
	
| (self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[5220],{
 | |
| 
 | |
| /***/ 8872:
 | |
| /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
 | |
| 
 | |
| /**
 | |
|  * lodash (Custom Build) <https://lodash.com/>
 | |
|  * Build: `lodash modularize exports="npm" -o ./`
 | |
|  * Copyright jQuery Foundation and other contributors <https://jquery.org/>
 | |
|  * Released under MIT license <https://lodash.com/license>
 | |
|  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 | |
|  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 | |
|  */
 | |
| 
 | |
| /** Used as references for various `Number` constants. */
 | |
| var INFINITY = 1 / 0;
 | |
| 
 | |
| /** `Object#toString` result references. */
 | |
| var symbolTag = '[object Symbol]';
 | |
| 
 | |
| /** Used to match HTML entities and HTML characters. */
 | |
| var reUnescapedHtml = /[&<>"'`]/g,
 | |
|     reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
 | |
| 
 | |
| /** Used to map characters to HTML entities. */
 | |
| var htmlEscapes = {
 | |
|   '&': '&',
 | |
|   '<': '<',
 | |
|   '>': '>',
 | |
|   '"': '"',
 | |
|   "'": ''',
 | |
|   '`': '`'
 | |
| };
 | |
| 
 | |
| /** Detect free variable `global` from Node.js. */
 | |
| var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
 | |
| 
 | |
| /** Detect free variable `self`. */
 | |
| var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
 | |
| 
 | |
| /** Used as a reference to the global object. */
 | |
| var root = freeGlobal || freeSelf || Function('return this')();
 | |
| 
 | |
| /**
 | |
|  * The base implementation of `_.propertyOf` without support for deep paths.
 | |
|  *
 | |
|  * @private
 | |
|  * @param {Object} object The object to query.
 | |
|  * @returns {Function} Returns the new accessor function.
 | |
|  */
 | |
| function basePropertyOf(object) {
 | |
|   return function(key) {
 | |
|     return object == null ? undefined : object[key];
 | |
|   };
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * Used by `_.escape` to convert characters to HTML entities.
 | |
|  *
 | |
|  * @private
 | |
|  * @param {string} chr The matched character to escape.
 | |
|  * @returns {string} Returns the escaped character.
 | |
|  */
 | |
| var escapeHtmlChar = basePropertyOf(htmlEscapes);
 | |
| 
 | |
| /** Used for built-in method references. */
 | |
| var objectProto = Object.prototype;
 | |
| 
 | |
| /**
 | |
|  * Used to resolve the
 | |
|  * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
 | |
|  * of values.
 | |
|  */
 | |
| var objectToString = objectProto.toString;
 | |
| 
 | |
| /** Built-in value references. */
 | |
| var Symbol = root.Symbol;
 | |
| 
 | |
| /** Used to convert symbols to primitives and strings. */
 | |
| var symbolProto = Symbol ? Symbol.prototype : undefined,
 | |
|     symbolToString = symbolProto ? symbolProto.toString : undefined;
 | |
| 
 | |
| /**
 | |
|  * The base implementation of `_.toString` which doesn't convert nullish
 | |
|  * values to empty strings.
 | |
|  *
 | |
|  * @private
 | |
|  * @param {*} value The value to process.
 | |
|  * @returns {string} Returns the string.
 | |
|  */
 | |
| function baseToString(value) {
 | |
|   // Exit early for strings to avoid a performance hit in some environments.
 | |
|   if (typeof value == 'string') {
 | |
|     return value;
 | |
|   }
 | |
|   if (isSymbol(value)) {
 | |
|     return symbolToString ? symbolToString.call(value) : '';
 | |
|   }
 | |
|   var result = (value + '');
 | |
|   return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * Checks if `value` is object-like. A value is object-like if it's not `null`
 | |
|  * and has a `typeof` result of "object".
 | |
|  *
 | |
|  * @static
 | |
|  * @memberOf _
 | |
|  * @since 4.0.0
 | |
|  * @category Lang
 | |
|  * @param {*} value The value to check.
 | |
|  * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
 | |
|  * @example
 | |
|  *
 | |
|  * _.isObjectLike({});
 | |
|  * // => true
 | |
|  *
 | |
|  * _.isObjectLike([1, 2, 3]);
 | |
|  * // => true
 | |
|  *
 | |
|  * _.isObjectLike(_.noop);
 | |
|  * // => false
 | |
|  *
 | |
|  * _.isObjectLike(null);
 | |
|  * // => false
 | |
|  */
 | |
| function isObjectLike(value) {
 | |
|   return !!value && typeof value == 'object';
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * Checks if `value` is classified as a `Symbol` primitive or object.
 | |
|  *
 | |
|  * @static
 | |
|  * @memberOf _
 | |
|  * @since 4.0.0
 | |
|  * @category Lang
 | |
|  * @param {*} value The value to check.
 | |
|  * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
 | |
|  * @example
 | |
|  *
 | |
|  * _.isSymbol(Symbol.iterator);
 | |
|  * // => true
 | |
|  *
 | |
|  * _.isSymbol('abc');
 | |
|  * // => false
 | |
|  */
 | |
| function isSymbol(value) {
 | |
|   return typeof value == 'symbol' ||
 | |
|     (isObjectLike(value) && objectToString.call(value) == symbolTag);
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * Converts `value` to a string. An empty string is returned for `null`
 | |
|  * and `undefined` values. The sign of `-0` is preserved.
 | |
|  *
 | |
|  * @static
 | |
|  * @memberOf _
 | |
|  * @since 4.0.0
 | |
|  * @category Lang
 | |
|  * @param {*} value The value to process.
 | |
|  * @returns {string} Returns the string.
 | |
|  * @example
 | |
|  *
 | |
|  * _.toString(null);
 | |
|  * // => ''
 | |
|  *
 | |
|  * _.toString(-0);
 | |
|  * // => '-0'
 | |
|  *
 | |
|  * _.toString([1, 2, 3]);
 | |
|  * // => '1,2,3'
 | |
|  */
 | |
| function toString(value) {
 | |
|   return value == null ? '' : baseToString(value);
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * Converts the characters "&", "<", ">", '"', "'", and "\`" in `string` to
 | |
|  * their corresponding HTML entities.
 | |
|  *
 | |
|  * **Note:** No other characters are escaped. To escape additional
 | |
|  * characters use a third-party library like [_he_](https://mths.be/he).
 | |
|  *
 | |
|  * Though the ">" character is escaped for symmetry, characters like
 | |
|  * ">" and "/" don't need escaping in HTML and have no special meaning
 | |
|  * unless they're part of a tag or unquoted attribute value. See
 | |
|  * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
 | |
|  * (under "semi-related fun fact") for more details.
 | |
|  *
 | |
|  * Backticks are escaped because in IE < 9, they can break out of
 | |
|  * attribute values or HTML comments. See [#59](https://html5sec.org/#59),
 | |
|  * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and
 | |
|  * [#133](https://html5sec.org/#133) of the
 | |
|  * [HTML5 Security Cheatsheet](https://html5sec.org/) for more details.
 | |
|  *
 | |
|  * When working with HTML you should always
 | |
|  * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
 | |
|  * XSS vectors.
 | |
|  *
 | |
|  * @static
 | |
|  * @since 0.1.0
 | |
|  * @memberOf _
 | |
|  * @category String
 | |
|  * @param {string} [string=''] The string to escape.
 | |
|  * @returns {string} Returns the escaped string.
 | |
|  * @example
 | |
|  *
 | |
|  * _.escape('fred, barney, & pebbles');
 | |
|  * // => 'fred, barney, & pebbles'
 | |
|  */
 | |
| function escape(string) {
 | |
|   string = toString(string);
 | |
|   return (string && reHasUnescapedHtml.test(string))
 | |
|     ? string.replace(reUnescapedHtml, escapeHtmlChar)
 | |
|     : string;
 | |
| }
 | |
| 
 | |
| module.exports = escape;
 | |
| 
 | |
| 
 | |
| /***/ })
 | |
| 
 | |
| }]);
 | |
| //# sourceMappingURL=5220.2fc7e112da698e95d451.js.map?v=2fc7e112da698e95d451
 |