sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
227fcc994a477ea95c5a0435d32783566334c6bd0dcc4a103029735ad8c9c535
JavaScript
9,189
391
'use strict'; const utils = require('./utils'); const { CHAR_ASTERISK, /* * */ CHAR_AT, /* @ */ CHAR_BACKWARD_SLASH, /* \ */ CHAR_COMMA, /* , */ CHAR_DOT, /* . */ CHAR_EXCLAMATION_MARK, /* ! */ CHAR_FORWARD_SLASH, /* / */ CH...
ea35ffc9187bf5a96b242b513c63ae34b0ba131cf499fe1f3f4f4c1b85e5b2df
JavaScript
9,293
221
var _typeof = require("./typeof.js")["default"]; var checkInRHS = require("./checkInRHS.js"); function createAddInitializerMethod(initializers, decoratorFinishedRef) { return function (initializer) { assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initiali...
9de4fcdcd3d79a4525329a426fe5ada26c747d2a84ab0bd9bd16a60c36fabe10
JavaScript
9,542
252
import React from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Resizable } from 'react-resizable'; import 'react-resizable/css/styles.css'; import { api_url } from '../api.js'; import { imageSourceIds, moveStream, removeStre...
e80630679b64a9cc6498f8155940bbd734e04677336080d88a8b0d9ca8ec4efe
JavaScript
9,553
390
'use strict'; /* eslint-env browser */ /** * @module HTML */ /** * Module dependencies. */ var Base = require('./base'); var utils = require('../utils'); var Progress = require('../browser/progress'); var escapeRe = require('escape-string-regexp'); var constants = require('../runner').constants; var EVENT_TEST_PA...
fb6030c7b12602a4fca4d81de3ddafa301ba84fd9df73c53de6f3bdda7b482d5
JavaScript
9,667
287
'use strict'; const align = { right: alignRight, center: alignCenter }; const top = 0; const right = 1; const bottom = 2; const left = 3; export class UI { constructor(opts) { var _a; this.width = opts.width; this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true; ...
20fb2d1eb4f5a0ca24bd8afe99951dfcd698ab5f1254883178213138d40a843a
JavaScript
9,729
1
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
2f610776457c0bf77cff907ff1d33ad97f9a7e59cdddb9e0d6eebe1efd118310
JavaScript
9,743
315
/* tslint:disable */ /* eslint-disable */ /* prettier-ignore */ /* auto-generated by NAPI-RS */ const { existsSync, readFileSync } = require('fs') const { join } = require('path') const { platform, arch } = process let nativeBinding = null let localFileExisted = false let loadError = null function isMusl() { // ...
049456195a7d7abbb28129e173212fc12fc71b81d05b1f5ce3d482e836049daf
JavaScript
9,809
1
!function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
11185f110edd3f02a1045e33946496533e3c7b4c8821745f592da360496a69b9
JavaScript
9,881
329
/** * Control Konva.js stage using MQTT * Author: Tal Eisenberg (2023) */ import Konva from 'konva'; export const setupKonvaMQTTInterface = ({ mqtt, stage }) => { const tweens = {}; const images = {}; const videos = {}; const get_node = (node_id) => { const node = (node_id === "stage") ? s...
7150775378bfb9015e2c00147ad0f2dc8307839a5c6fd951d976554244cb0b4e
JavaScript
9,899
280
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () {...
2cb169cbe17d356036c5f62a377318b85e30817877e59797842aec9d8b15f54b
JavaScript
9,956
342
'use strict'; const path = require('path'); const scan = require('./scan'); const parse = require('./parse'); const utils = require('./utils'); const constants = require('./constants'); const isObject = val => val && typeof val === 'object' && !Array.isArray(val); /** * Creates a matcher function from one or more gl...
66ea1687ed5edf39d67296d26edccc8da695d9a869303a78d0e580cd770aca27
JavaScript
10,141
355
var constants = require('constants') var origCwd = process.cwd var cwd = null var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform process.cwd = function() { if (!cwd) cwd = origCwd.call(process) return cwd } try { process.cwd() } catch (er) {} // This check is needed until node.js 12 is re...
28d747f8d69c2408d63948a996a5cbc3edff10601908747f21067ef9fae92d1f
JavaScript
10,243
1
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
1d24990e7a172887cc5ccb6ca3d8460f71b7be0726701198af9644d8df144b1f
JavaScript
10,499
1
!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
a3cccc38d412246488e82a8e710a50853aaf2bf39f1b7ae1d2080113dc9e62ab
JavaScript
10,555
266
// niivue viewer for BrainData.iplot(), driven through anywidget's *standard* // model API (get / set / save_changes / on) only — no host-specific protocol // (the contrast with ipyniivue, see cosanlab/nltools#455), so the widget works // identically in Jupyter and `marimo edit`. // // niivue itself is pulled from a CD...
701129f1786beda183a866cfc4ab9f4f24d1ba630eb2da5b5a4c73aee8a0e398
JavaScript
10,632
476
'use strict'; var EventEmitter = require('events').EventEmitter; var Pending = require('./pending'); var debug = require('debug')('mocha:runnable'); var milliseconds = require('ms'); var utils = require('./utils'); const { createInvalidExceptionError, createMultipleDoneError, createTimeoutError } = require('./er...
871d80a1742d6b18d671eaf252a3a37cfa828965cbf694ab99c1a9a8c49cd738
JavaScript
10,695
367
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.closeTo = exports.arrayNotContaining = exports.arrayContaining = exports.anything = exports.any = exports.AsymmetricMatcher = void 0; exports.hasProperty = hasProperty; exports.stringNotMatching = exports.stringNotCo...
991eb7ccd35c414eb05bf5ecce168cc1b8c6aa8ae07f3b3ba09ad8084d17d3dc
JavaScript
10,740
1
!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
cd8a2375d5485a3b91a817b0e0e5fefd1178614d3a4ba588b031084804ac3118
JavaScript
10,757
377
'use strict'; const logSymbols = require('log-symbols'); const debug = require('debug')('mocha:cli:watch'); const path = require('path'); const chokidar = require('chokidar'); const Context = require('../context'); const collectFiles = require('./collect-files'); /** * Exports the `watchRun` function that runs mocha...
228fa8c97dbb153bd153b2dc7efd39133095776d8cde634a28f814124a68c0ce
JavaScript
10,846
246
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tsconfig_loader_1 = require("../tsconfig-loader"); var path_1 = require("path"); describe("tsconfig-loader", function () { it("should find tsconfig in cwd", function () { var result = (0, tsconfig_loader_1.tsConfigLoader)({ ...
6e01c2006e212e6722b043de4ba14690f9f4d0deae3c54e7c813772300f654e6
JavaScript
10,866
375
'use strict'; /** * Definition for Mocha's default ("run tests") command * * @module * @private */ const symbols = require('log-symbols'); const ansi = require('ansi-colors'); const Mocha = require('../mocha'); const { createUnsupportedError, createInvalidArgumentValueError, createMissingArgumentError } = ...
72d41bc53a5adc5abb20ef4890bc7243cebdbe4045a6791461ae9a4e07daab19
JavaScript
10,880
317
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var path_1 = require("path"); var repl_1 = require("repl"); var util_1 = require("util"); var arrify = require("arrify"); var Module = require("module"); var minimist = require("minimist"); var diff_1 = require("diff"); var...
18f7ff75bb18580d3c63fcecee46b6d8c3872f01a46a86c2cddb87303378d281
JavaScript
10,923
287
"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __copyProps = (to, from, except...
0166dfe533725722cc7fee6af35b00540afc5b0b498f3dd1452ce1a4694e79ca
JavaScript
11,073
1
!function(e,s){"function"==typeof define&&define.amd?define(s):"object"==typeof exports?module.exports=s():s()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
5b4c6b65c90131f4e3249083473ed0b07be4bb3f324f28651e56fb13ed65bf8e
JavaScript
11,422
274
import React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { setArenaConfig } from '../store/reptilearn_slice'; import RLModal from './ui/modal.js'; import { RLSimpleListbox, RLListbox } from './ui/list_box.js'; import { RLJSONEditor } from './ui/json_edit.js'; import RLButton from './ui...
6cd6d259e39e892391d5194a82e915cefd17296643ce7c6df1bdb8c647eb293c
JavaScript
11,429
274
import React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { setArenaConfig } from '../store/reptilearn_slice'; import RLModal from './ui/modal.js'; import { RLSimpleListbox, RLListbox } from './ui/list_box.js'; import { RLJSONEditor } from './ui/json_edit.js'; import RLButton from './ui...
8fcd8b514b201ac1cb0e0b2fb283ac36bd4e83e113caea2b4197e473a432d753
JavaScript
11,782
235
import _typeof from "./typeof.js"; function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { return { getMetadata: function getMetadata(key) { old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); var metadataForKey = metadataM...
b955f919573314d8b829c13806db8d982ac4eff2625077cea14e88d832e4a71b
JavaScript
11,887
236
var _typeof = require("./typeof.js")["default"]; function old_createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) { return { getMetadata: function getMetadata(key) { old_assertNotFinished(decoratorFinishedRef, "getMetadata"), old_assertMetadataKey(key); var metadataForK...
1ac23183288b3da7acaa35a03361dea63df595b0863f926c7b223d2164009b99
JavaScript
11,899
259
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chai_1 = require("chai"); var child_process_1 = require("child_process"); var path_1 = require("path"); var semver = require("semver"); var ts = require("typescript"); var proxyquire = require("proxyquire"); var index_1 = require("./index"...
b42e20579ae6d33f35d7baf9e9c85f6da1bb3dafd689e956764c5dd7b36784a7
JavaScript
11,931
483
module.exports = globSync globSync.GlobSync = GlobSync var rp = require('fs.realpath') var minimatch = require('minimatch') var Minimatch = minimatch.Minimatch var Glob = require('./glob.js').Glob var util = require('util') var path = require('path') var assert = require('assert') var isAbsolute = require('path-is-abs...
76e3a09e85598a89b398436769c57817878ff5add8427d397542016e6c912782
JavaScript
12,037
108
/*istanbul ignore start*/'use strict'; exports.__esModule = true; exports.jsonDiff = undefined; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !...
76ecfebc333f368305902cb15fcaefb784466fb9d54303be749f44b2ebc35888
JavaScript
12,057
550
'use strict'; /** * @module Base */ /** * Module dependencies. */ var diff = require('diff'); var milliseconds = require('ms'); var utils = require('../utils'); var supportsColor = require('supports-color'); var symbols = require('log-symbols'); var constants = require('../runner').constants; var EVENT_TEST_PASS =...
65c0e2240a9b868f223150629db84a3ecc1e604eff8a218e4666328c0f5340a2
JavaScript
12,150
293
import React from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { setVideoConfig } from '../store/reptilearn_slice'; import RLModal from './ui/modal.js'; import RLTabs from './ui/tabs.js'; import { RLSimpleListbox } from './ui/list_box.js'; import { RLJSONEditor } from './ui/json_edit.js'; im...
5fea2d7f1bc4991b8cb42c376beddcb916f9aef742d7818e5d0e21af18fc210f
JavaScript
12,207
86
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIdentifierChar = isIdentifierChar; exports.isIdentifierName = isIdentifierName; exports.isIdentifierStart = isIdentifierStart; let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4...
d121142a937213f7dbd1907a5a241122df151d7a5340038e68fb10e13c4fa6af
JavaScript
12,472
306
// Baked output, figures, HTML and widgets in zensical's ```pyodide fences. // // Two jobs. On page load, every fence is filled with the output its build-time // twin produced, so the page reads as finished before anything runs; the first // Run on a fence clears that and the live output takes over. While a fence runs,...
d79f989b45cd749b62290932814cef86a9b901e12007a0a3eb5f2b076e1b185f
JavaScript
12,601
249
"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol...
c056a13063def1e1d173483d1c3554294632b1a709252d6315b6337c30a87bc0
JavaScript
12,646
359
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.isNetworkError = isNetworkError; exports.isRetryableError = isRetryableError; exports.isSafeRequestError = isSafeRequestError; exports.isIdempote...
7da35669b6b6b0e4aafee31674c033f2cebb0c8f9ae010f709dcc185d3f17786
JavaScript
12,680
448
var fs = require('fs') var polyfills = require('./polyfills.js') var legacy = require('./legacy-streams.js') var clone = require('./clone.js') var util = require('util') /* istanbul ignore next - node 0.x polyfill */ var gracefulQueue var previousSymbol /* istanbul ignore else - node 0.x polyfill */ if (typeof Symbo...
e9ef76b36e5a19263d199ac35871a15aa2b33c00479192b71f6c8f46b91a1661
JavaScript
12,937
163
/*istanbul ignore start*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.diffJson = diffJson; exports.canonicalize = canonicalize; exports.jsonDiff = void 0; /*istanbul ignore end*/ var /*istanbul ignore start*/ _base = _interopRequireDefault(require("./base")) /*istanbul ignor...
c83bf8e825fc7366ff511da21c58dde4c4a032308a51c0a71865760c3b43a401
JavaScript
12,950
488
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ /** * This is a helper function for getting values from parameter/options * objects. * * @param args The obj...
ff488e87cc69143ba80019aa19b3b3aa7c81b42f0a20d552989bfa5e6e94170f
JavaScript
13,002
433
/** * A test Runner that uses a {@link module:buffered-worker-pool}. * @module parallel-buffered-runner * @private */ 'use strict'; const Runner = require('../runner'); const {EVENT_RUN_BEGIN, EVENT_RUN_END} = Runner.constants; const debug = require('debug')('mocha:parallel:parallel-buffered-runner'); const {Buff...
61a2445c0c9c9b628bf783d82cc2f3c622e1d6f27bd633f204e6c271ae436362
JavaScript
13,287
342
import toArray from "./toArray.js"; import toPropertyKey from "./toPropertyKey.js"; export default function _decorate(decorators, factory, superClass, mixins) { var api = _getDecoratorsApi(); if (mixins) { for (var i = 0; i < mixins.length; i++) { api = mixins[i](api); } } var r = factory(function...
fe4a330d162a9d34f3bf74b8192f7d86e9cc0e08d110ec3ce4ab61830ab687cb
JavaScript
13,328
412
/** * Serialization/deserialization classes and functions for communication between a main Mocha process and worker processes. * @module serializer * @private */ 'use strict'; const {type} = require('../utils'); const {createInvalidArgumentTypeError} = require('../errors'); // this is not named `mocha:parallel:se...
a1c306f2807b067aa4b14f97636aaff44a9c628508d8096503ab67c40f83165e
JavaScript
13,344
378
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox/value The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
c841a747f492d9a90c5ddf34b83225fd3aa38323e6d9ab0d757205b56ab89038
JavaScript
13,384
343
var toArray = require("./toArray.js"); var toPropertyKey = require("./toPropertyKey.js"); function _decorate(decorators, factory, superClass, mixins) { var api = _getDecoratorsApi(); if (mixins) { for (var i = 0; i < mixins.length; i++) { api = mixins[i](api); } } var r = factory(function initiali...
ef4d5acfa6f3d2abb546905c85a7d07d702b8c4870a524a6517afcf20d7b5bf8
JavaScript
13,463
1
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var _typeof=typeof Symbol==='function'&&typeof Symbol.iterator==='symbol'?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==='function'&&obj.constructor===Symbol&&obj!==Symbol.prototype?'symbol':typeof obj};exports.default=par...
2b956d0275b5046daffbd033519c7b83310fd371a2a818f76da3128de5b1065c
JavaScript
13,486
402
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, 'AsymmetricMatcher', { enumerable: true, get: function () { return _asymmetricMatchers.AsymmetricMatcher; } }); exports.expect = exports.default = exports.JestAssertionError = void 0; var _expectUtil...
65f1e9a852f2c1dc42db54e8b2a13dc4b65a2e26c8076cf19116ac93fa091bd6
JavaScript
13,715
501
var CombinedStream = require('combined-stream'); var util = require('util'); var path = require('path'); var http = require('http'); var https = require('https'); var parseUrl = require('url').parse; var fs = require('fs'); var Stream = require('stream').Stream; var mime = require('mime-types'); var asynckit = require(...
ccfad99a6a831c405eebf5420db9ae672387ced66323f31022bc0e24b51b2f28
JavaScript
13,741
467
'use strict'; const util = require('util'); const braces = require('braces'); const picomatch = require('picomatch'); const utils = require('picomatch/lib/utils'); const isEmptyString = val => val === '' || val === './'; /** * Returns an array of strings that match one or more glob patterns. * * ```js * const mm ...
e55401cc6c4942e0645de12d041a141b4aaf1e3b5721cad3cc2e4ca24e0504e9
JavaScript
13,743
478
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.default = exports.DEFAULT_OPTIONS = void 0; exports.format = format; exports.plugins = void 0; var _ansiStyles = _interopRequireDefault(require('ansi-styles')); var _collections = require('./collections'); var _AsymmetricMatcher = _...
3c6dcefa1f4c3a6c838960adbe494be71a7c7b0de2ef21fcbba56f472aa86aa9
JavaScript
13,762
1
!function(r,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(r.lunr)}(this,function(){return function(r){if(void 0===r)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===r.stemmerSupport)throw new Error("Lunr stemmer su...
b45db8183550ca1e6259976f6ceee89f6764360c56cf206701bd2f7471144e31
JavaScript
13,808
413
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator; var util = require('./util'); //...
cddb285cba370443dc362c3ed5d66a53c3070389306ea2bbc0e2e9df3cbee858
JavaScript
13,852
303
import _typeof from "./typeof.js"; export default function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return expo...
b7041d1424569491a8d3ab9a028b905beefc80fd2fde8709f7963e5ea7a17efe
JavaScript
14,058
453
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.arrayBufferEquality = void 0; exports.emptyObject = emptyObject; exports.typeEquality = exports.subsetEquality = exports.sparseArrayEquality = exports.pathAsArray = exports.partition = exports.iterableEquality = exports....
493cb30bb953515beaafd5ad1941dc1777366fc1f85ec2f2787a20b8b44b196d
JavaScript
14,062
304
var _typeof = require("./typeof.js")["default"]; function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {...
98f91170f8bfd754bebc9bc8babf26ea16ba4cf980f7abb30debe6d89f24f17f
JavaScript
14,356
425
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ var base64VLQ = require('./base64-vlq'); var util = require('./util'); var ArraySet = require('./array-set').Arr...
ed8798e71aba57fb6d1d05953a9645fc476afde4fe6acb753c39604b911ac290
JavaScript
14,655
532
(function(self) { var irrelevant = (function (exports) { var support = { searchParams: 'URLSearchParams' in self, iterable: 'Symbol' in self && 'iterator' in Symbol, blob: 'FileReader' in self && 'Blob' in self && (function() { try { new Blob(); return true ...
5f8a8de5bbd5abcb94f72e84d6f661ffc7a298f2b343e3abcc67a16d6848c2fd
JavaScript
14,736
306
import React from 'react'; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; import { api } from '../api.js'; import RLButton from './ui/button.js'; import RLInput from './ui/input.js'; import { RLListbox, RLSimpleListbox } from './ui/list_box.js'; import RLMenu from './ui...
685a49ec1d6003f0ad568b5dffee1e86f6fa9fa177ee1d4078554574a850f09f
JavaScript
14,922
481
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.default = exports.createMatcher = void 0; var _expectUtils = require('@jest/expect-utils'); var _jestMatcherUtils = require('jest-matcher-utils'); var _jestMessageUtil = require('jest-message-util'); var _print = require('./print');...
7ce09fde22c23a6fced7369d2f38d91547041d276770140c10c898c79aaa98c1
JavaScript
15,110
643
/* globals suite test */ const assert = require('assert') const path = require('path') const { exec } = require('child_process') const pkg = require('../package.json') const flat = require('../index') const flatten = flat.flatten const unflatten = flat.unflatten const primitives = { String: 'good morning', Numbe...
6d9b21a4a917fe748b61102f2026b3af6b9a22b8ce8ac0d87466c815112ccd41
JavaScript
15,307
378
/* ! * type-detect * Copyright(c) 2013 jake luer <jake@alogicalparadox.com> * MIT Licensed */ const promiseExists = typeof Promise === 'function'; /* eslint-disable no-undef */ const globalObject = typeof self === 'object' ? self : global; // eslint-disable-line id-blacklist const symbolExists = typeof Symbol !==...
d091b71b36425da9a4289531cf87fcc8beead38894caf30e2ba70414a7863bd9
JavaScript
15,416
147
/*istanbul ignore start*/'use strict'; exports.__esModule = true; exports. /*istanbul ignore end*/parsePatch = parsePatch; function parsePatch(uniDiff) { /*istanbul ignore start*/var /*istanbul ignore end*/options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var diffstr = uniDiff.spli...
f0623e98e398e14f114dceddbd06b9f4b957efa98db80c25542ab11e3a31b56e
JavaScript
15,434
666
'use strict'; /** * Module dependencies. * @private */ const {EventEmitter} = require('events'); const Hook = require('./hook'); var { assignNewMochaID, clamp, constants: utilsConstants, defineConstants, getMochaID, inherits, isString } = require('./utils'); const debug = require('debug')('mocha:suite...
ae65c439a22555a9d230ceaaf58a4efaa7bcc1a3e04e604768c7b58a39ce47cd
JavaScript
15,481
1
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Space_Separator=exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var ID_Start=exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0...
b5320b3c0b2affbd0e0f77fd827c7cda6ef7ca8870d04dffe0dcf6ac7739d9d7
JavaScript
15,491
554
var global = typeof self !== 'undefined' ? self : this; var __self__ = (function () { function F() { this.fetch = false; this.DOMException = global.DOMException } F.prototype = global; return new F(); })(); (function(self) { var irrelevant = (function (exports) { var support = { searchParams: 'URLSearchParams' ...
ba7f43d661694211065f96d7dfeffdb14c00dca933173d2db73c92a2f4f2bcf3
JavaScript
15,532
388
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.typeDetect = factory()); }(this, (function () { 'use strict'; /* ! * type-detect * Copyright(c) 2013 jake luer <jake@alog...
a52962df69abd5cfb9a7a76bbd5348340c3a1f4d35d2ff60ed8e4659c47cca71
JavaScript
15,631
1
Search.setIndex({"docnames": ["index", "modules", "myforestplot", "notebooks/1_quickstart", "notebooks/2_gallery", "notebooks/3_architecture"], "filenames": ["index.rst", "modules.rst", "myforestplot.rst", "notebooks/1_quickstart.ipynb", "notebooks/2_gallery.ipynb", "notebooks/3_architecture.ipynb"], "titles": ["MyFore...
9a06ba48b7caf2107b90a3a444c18140a620d99d63b183431a32d5e69162baa9
JavaScript
15,639
563
'use strict'; const {format} = require('util'); /** * Contains error codes, factory functions to create throwable error objects, * and warning/deprecation functions. * @module */ /** * process.emitWarning or a polyfill * @see https://nodejs.org/api/process.html#process_process_emitwarning_warning_options * @i...
d6c077d4f941a775fa40d93fb340c65421cfcceb5c26f597f608574e372c6df4
JavaScript
16,250
493
'use strict'; /* globals Symbol: false, Uint8Array: false, WeakMap: false */ /*! * deep-eql * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ var type = require('type-detect'); function FakeMap() { this._key = 'chai/deep-eql__' + Math.random() + Date.now(); } FakeMap.prototype = { get...
2a47a3c8e4fdd24c17ba68ec90c74be2a01d0d5d224ce61e24bbf0dc7aa2c858
JavaScript
16,274
524
'use strict'; const fs = require('fs'); const sysPath = require('path'); const { promisify } = require('util'); let fsevents; try { fsevents = require('fsevents'); } catch (error) { if (process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR) console.error(error); } if (fsevents) { // TODO: real check const mtch =...
69329ac1666c56c530890762f69cb58f020b69dea197474f762526d86ea0d787
JavaScript
16,360
405
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox/value The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
ba463d783030ac4647eed0426ba58e506fe411fd223139c766632391bf0b2c61
JavaScript
16,480
440
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox/guard The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
83fb4576ae635fbaf58623ffbd1daa139d0758a1c327bd85ec296db45432b353
JavaScript
16,535
512
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.separateMessageFromStack = exports.indentAllLines = exports.getTopFrame = exports.getStackTraceLines = exports.formatStackTrace = exports.formatResultsErrors = exports.formatPath = exports.formatExecError = void 0;...
cd19e9535ad4ef93d198028928f7bb3ba49ad93e58acfc5ea814229b99900e8b
JavaScript
16,850
868
/* MIT license */ var cssKeywords = require('color-name'); // NOTE: conversions should only return primitive values (i.e. arrays, or // values that give correct `typeof` results). // do not use box values types (i.e. Number(), String(), etc.) var reverseKeywords = {}; for (var key in cssKeywords) { if (c...
576f6d65e9e4e8deae4ddd1fba1207987ab2eb5d01db4ee96d0f3a7402726578
JavaScript
16,997
539
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.printReceived = exports.printExpected = exports.printDiffOrStringify = exports.pluralize = exports.matcherHint = exports.matcherErrorMessage = exports.highlightTrailingWhitespace = exports.getLabelPrinter = exports.e...
cd10b35c838bd062f0c9aa9b4fc7e3f19038e802ebc0af1e463b9fee428b0b5f
JavaScript
17,120
530
/* * searchtools.js * ~~~~~~~~~~~~~~~~ * * Sphinx JavaScript utilities for the full-text search. * * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ "use strict"; /** * Simple result scoring code. */ if (typeof Scorer === "undefined") { var S...
5aca839efbceb2e9887a90d543e9b70112935b037153bbe5954ceef3cd55ee8e
JavaScript
17,150
711
'use strict'; import bind from './helpers/bind.js'; // utils is a library of generic helper functions non-specific to axios const {toString} = Object.prototype; const {getPrototypeOf} = Object; const kindOf = (cache => thing => { const str = toString.call(thing); return cache[str] || (cache[str] = str.slice...
5cd778d35c86b289139fa589186b5a14699d7513af27f8453f9573cebc202494
JavaScript
17,373
640
'use strict'; /** * Various utility functions used throughout Mocha's codebase. * @module utils */ /** * Module dependencies. */ const {nanoid} = require('nanoid/non-secure'); var path = require('path'); var util = require('util'); var he = require('he'); const MOCHA_ID_PROP_NAME = '__mocha_id__'; /** * Inhe...
2550466c9a0425fa583a70e25bb93e190fe09b61f7de4861ea8ec54b7b899db0
JavaScript
17,391
440
// Partial port of python's argparse module, version 3.9.0 (only wrap and fill functions): // https://github.com/python/cpython/blob/v3.9.0b4/Lib/textwrap.py 'use strict' /* * Text wrapping and filling. */ // Copyright (C) 1999-2001 Gregory P. Ward. // Copyright (C) 2002, 2003 Python Software Foundation. // Copyri...
c923afc8b26244e4214d13d10184a06fd9293b819664276c83b9fd35cd28161f
JavaScript
17,405
1
Search.setIndex({docnames:["contents","index","notes/DTI","notes/casestudy","notes/chem/atom_features","notes/chem/bond_features","notes/chem/onek_encoding_unk","notes/chemutils","notes/configuration","notes/data/download_BindingDB","notes/data/load_AID1706_SARS_CoV_3CL","notes/data/load_AID1706_txt_file","notes/data/l...
c0a59a835a6943a0fb0f8bd81fa2907f57081a101ec33a1ef60e118808869f63
JavaScript
17,720
483
/* eslint max-statements:0 */ 'use strict'; var assert = require('assert'); var parseUrl = require('url').parse; var getProxyForUrl = require('./').getProxyForUrl; // Runs the callback with process.env temporarily set to env. function runWithEnv(env, callback) { var originalEnv = process.env; process.env = env; ...
d861f6deb864640d574f68b35c2e846a4c54b5a0afa48edac076291d0e2dc87d
JavaScript
17,862
388
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
0a0c0401d39f10012c9a1d5597a390f891c48c6de880f7f8f4bff854fa63a882
JavaScript
17,908
167
/*istanbul ignore start*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parsePatch = parsePatch; /*istanbul ignore end*/ function parsePatch(uniDiff) { /*istanbul ignore start*/ var /*istanbul ignore end*/ options = arguments.length > 1 && arguments[1] !== undefined ? ...
3da6221c89134635df90295ac2b459389925bac52e1b79d45371f537f3b75bbe
JavaScript
18,289
1
!function(_,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(_.lunr)}(this,function(){return function(_){function t(){var _={"[一二三四五六七八九十百千万億兆]":"M","[一-龠々〆ヵヶ]":"H","[ぁ-ん]":"I","[ァ-ヴーア-ン゙ー]":"K","[a-zA-Za-zA-Z]":"A","[0-90-9]":"N"};for(var t in this.chartype_=[],_){var ...
3989deb11f2501ff4d6c54ca123cf6566aa30bf219b730f0518a4292d507169d
JavaScript
18,351
180
/*istanbul ignore start*/'use strict'; exports.__esModule = true; exports. /*istanbul ignore end*/applyPatch = applyPatch; /*istanbul ignore start*/exports. /*istanbul ignore end*/applyPatches = applyPatches; var /*istanbul ignore start*/_parse = require('./parse') /*istanbul ignore end*/; var /*istanbul ignore star...
60c1bd1d755f09bbcd37cf53293f91ee79f200f429002ad28cb087ae598591e8
JavaScript
18,453
148
/*istanbul ignore start*/'use strict'; exports.__esModule = true; exports. /*istanbul ignore end*/structuredPatch = structuredPatch; /*istanbul ignore start*/exports. /*istanbul ignore end*/createTwoFilesPatch = createTwoFilesPatch; /*istanbul ignore start*/exports. /*istanbul ignore end*/createPatch = createPatch; v...
9dffe574025769ef5540837d2fc692c7660b3fec45e8dc05a4d5d1be51447e2b
JavaScript
18,980
621
var url = require("url"); var URL = url.URL; var http = require("http"); var https = require("https"); var Writable = require("stream").Writable; var assert = require("assert"); var debug = require("./debug"); // Create handlers that pass events from native requests var events = ["abort", "aborted", "connect", "error"...
c02860c2011c74fa4da7a9eff407baa1eabff430ad4a780352afe364ac2dafd6
JavaScript
19,198
462
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
ad90b3b3919a30dfb27d75157f00a972c7facabdfbe3447565ea8e37b6dbdc60
JavaScript
19,218
410
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true...
e716714abb1408f64ab58d14b99525f6b5404caef94a763d48f5acb7effe2618
JavaScript
19,362
787
// Approach: // // 1. Get the minimatch set // 2. For each pattern in the set, PROCESS(pattern, false) // 3. Store matches per-set, then uniq them // // PROCESS(pattern, inGlobStar) // Get the first [n] items from pattern that are all strings // Join these together. This is PREFIX. // If there is no more remaining, ...
e5e12ddc9f74c00841c540bc49dff0a3bc0d36c4c7027449b10e362123edb49b
JavaScript
19,926
238
/*istanbul ignore start*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyPatch = applyPatch; exports.applyPatches = applyPatches; /*istanbul ignore end*/ var /*istanbul ignore start*/ _parse = require("./parse") /*istanbul ignore end*/ ; var /*istanbul ignore start*/ _dis...
42312e7fccada94b784b4ca52567c364cdb3d234106bbf6d2257756d949f6beb
JavaScript
19,988
1
var selectedGenes=[],decrease=[],increase=[],allGene=[],colorMap={},for_each_node=function(e,t,n){"use strict";var s;for(s=0;s<e.length;s+=1)t.call(n,e[s])},js_comm_globals={};function loadFloatingProteinWindowCoor(e,t,n,s,l,i,c){"use strict";var u=i-n/2-800;u<50&&(u=50);var o=c-30-400;o<20&&(o=30);var a=js_comm_global...
60be035e7ea64858a0144230d5073b18a69f3b0eefba62a9b032c6d2f179d807
JavaScript
20,067
654
'use strict'; const fs = require('fs'); const sysPath = require('path'); const { promisify } = require('util'); const isBinaryPath = require('is-binary-path'); const { isWindows, isLinux, EMPTY_FN, EMPTY_STR, KEY_LISTENERS, KEY_ERR, KEY_RAW, HANDLER_KEYS, EV_CHANGE, EV_ADD, EV_ADD_DIR, EV_ERROR...
da6f90928140ff29ca0b72f4bf8299deb986ba45f055fc5eb51d50dea2e5364d
JavaScript
20,223
625
var SourceMapConsumer = require('source-map').SourceMapConsumer; var path = require('path'); var fs; try { fs = require('fs'); if (!fs.existsSync || !fs.readFileSync) { // fs doesn't have all methods we need fs = null; } } catch (err) { /* nop */ } var bufferFrom = require('buffer-from'); /** * Requ...
1eb2a43db4e945048ab6ca9155d2719eba3bc1066eedc62a5b9fad18620a265e
JavaScript
20,326
599
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.cleanupSemantic = exports.Diff = exports.DIFF_INSERT = exports.DIFF_EQUAL = exports.DIFF_DELETE = void 0; /** * Diff Match and Patch * Copyright 2018 The diff-match-patch Authors. * https://github.com/google/diff-matc...
c6a292ecf263bef7f8a3aedeb00ca060e327ec785e2e71218a3d20fe04ae884e
JavaScript
20,962
652
'use strict'; import utils from './../utils.js'; import settle from './../core/settle.js'; import buildFullPath from '../core/buildFullPath.js'; import buildURL from './../helpers/buildURL.js'; import {getProxyForUrl} from 'proxy-from-env'; import http from 'http'; import https from 'https'; import util from 'util'; i...
c564658f925786a0bfc39907bdedd5c4133742b54821928c6f033e712caae02b
JavaScript
21,211
415
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox/value The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
78b82a3c7ae657a740c5e48ae64d8b0659d82675f2ab419af6c2125d14e3325f
JavaScript
22,138
498
"use strict"; /*-------------------------------------------------------------------------- @sinclair/typebox/compiler The MIT License (MIT) Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
4a4d6977b25e4e24acb7f4eb31f362f3ce9386f5a0e2bd456c149fef88e6e65c
JavaScript
22,824
539
/* * This software was developed at the National Institute of Standards and * Technology by employees of the Federal Government in the course of * their official duties. Pursuant to title 17 Section 105 of the United * States Code this software is not subject to copyright protection and is * in the public domain....
b3ca21c0a0ebde4637d367dbed04fa276a69a9249c590e234a4599b95d586435
JavaScript
23,453
267
/*istanbul ignore start*/ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.structuredPatch = structuredPatch; exports.formatPatch = formatPatch; exports.createTwoFilesPatch = createTwoFilesPatch; exports.createPatch = createPatch; /*istanbul ignore end*/ var /*istanbul ignore sta...