text
stringlengths
5.97k
41.2k
/*! * A JavaScript implementation of the Secure Hash Algorithm, SHA-512, as defined * in FIPS 180-2 * Version 2.2 Copyright Anonymous Contributor, <NAME> 2000 - 2009. * Other contributors: <NAME>, <NAME>, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for details. ...
/* Sendanor App REST Module */ "use strict"; // Dependencies var is_production_mode = process.env.NODE_ENV === 'production'; var is = require('nor-is'); var ARRAY = require('nor-array'); var debug = require('nor-debug'); var express = require('express'); var merge = require('merge'); var FS = require('fs'); var _Q = ...
/* global mapillary:false */ import { dispatch as d3_dispatch } from 'd3-dispatch'; import { select as d3_select } from 'd3-selection'; import Protobuf from 'pbf'; import RBush from 'rbush'; import { VectorTile } from '@mapbox/vector-tile'; import { geoExtent, geoScaleToZoom } from '../geo'; import { utilQsString, ut...
/* * CrotchetJS * Author: <NAME> * Author site: http://xaviscript.com * Pitch detection system: <NAME> - https://github.com/cwilso The MIT License (MIT) Copyright (c) 2014 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import L from 'leaflet' import _ from 'lodash' import logger from 'loglevel' import bbox from '@turf/bbox' import { featureEach } from '@turf/meta' import { featureCollection } from '@turf/helpers' import { tile2key, key2tile, tileSetContainsParent, getParentTileInTileSet } from './utils' const TiledFeatureLayer = L.G...
// Generated by BUCKLESCRIPT VERSION 5.0.6, PLEASE EDIT WITH CARE 'use strict'; var BTC = require("../application/wallet/BTC.bs.js"); var Css = require("bs-css/src/Css.js"); var Grid = require("./components/Grid.bs.js"); var Block = require("bs-platform/lib/js/block.js"); var Curry = require("bs-platform/lib/js/curry....
/** * First we will load all of this project's JavaScript dependencies which * include Vue and Vue Resource. This gives a great starting point for * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); var ol = require('./ol'); window.Vue = Vue; require('./modules/vue-ke...
var map, featureList, parksSearch = [], campSearch = [], museumSearch = []; var workspace; // this variable is going to hold the router. $(window).resize(function() { sizeLayerControl(); }); $(document).on("click", ".feature-row", function(e) { $(document).off("mouseout", ".feature-row", clearHighlight); sidebar...
/** * This code taken from threejs examples. It might be refactored or edit. * Source: https://github.com/mrdoob/three.js/blob/master/examples/jsm/controls/TrackballControls.js */ import { EventDispatcher, MOUSE, Quaternion, Vector2, Vector3 } from "three"; const _changeEvent = { type: "change" }; const _startEven...
import React from 'react' import ReactDOM from 'react-dom' import * as State from '../state' import * as U from '../state/update' import ReactCodeMirror from '@skidding/react-codemirror' import CodeMirror from 'codemirror' // import 'codemirror/mode/sql/sql' import 'codemirror/mode/markdown/markdown' import 'codemir...
"use strict" var Pack = require('../static/js/JPack.js'); var C = require('../static/js/const.js'); var Grenade = require('./entity/grenade.js'); var AI = require('./ai.js'); var userCount = 0; var User = function (game, client) { this.id = userCount++; this.game = game; this.client = client; this.name = client.na...
"use strict"; let EDGE_IME_node = null; let EDGE_IME_node_origin = null; let EDGE_IME_offset = 0; let EDGE_IME_length = 0; let EDGE_IME_original_text = null; let EDGE_IME_br_origin = null; let EDGE_IME_parent = null; let EDGE_IME_offset_in_parent = 0; let EDGE_IME_not_by_Henkan = false; let EDGE_IME_update_count = ...
class Assembler { constructor() { this.version = 'V0.1.0' this.output = '' this.opcodeLookup = [ /* Name, Imm, ZP, ZPX, ZPY, ABS, ABSX, ABSY, IND, INDX, INDY, SNGL, BRA */ ["ADC", 0x69, 0x65, 0x75, null, 0x6d, 0x7d, 0x79, null, 0x61, 0x71, null, null], ...
/* Copyright (c) 2017, F5 Networks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to ...
import { STATE_LOGIN, STATE_FORGETPASS } from 'components/AuthForm'; import GAListener from 'components/GAListener'; import { EmptyLayout, LayoutRoute, MainLayout } from 'components/Layout'; import PrivateRoute from 'components/Layout/PrivateRoute'; import PageSpinner from 'components/PageSpinner'; import AuthPage from...
import * as IDB from "idb-keyval" var msgpack = require("msgpack-lite") import { loadDataIntoGame } from "./romTextureLoader.js" import { GameInstance as Game } from "./game/Game" import { selfAdmin } from "./mmo/chat" import { PrintInstance } from "./game/Print.js" import { playerInputUpdate } from "./player_inp...
var fs = require('fs'); var parse = require('csv-parse'); const https = require('https'); PriorityNode = require("./PriorityNode"); PriorityQueue = require("./PriorityQueue"); const readline = require('readline'); var cors = require('cors'); const OneSignal = require('onesignal-node'); var onesignal_key = require('./on...
// ********************************* VARIABLES ************************************ / / let background = document.querySelector('#bg'); let audioEl = document.querySelector('#audio'); let storyContainer = document.querySelector('.story'); let choice1Container = document.querySelector('.choice1'); let choice2Container...
var args = arguments[0] || {}; var animation = require('alloy/animation'); var ImageFactory = require('ti.imagefactory'); var imageManager = require('managers/imagemanager'); var listingManager = require('managers/listingmanager'); var indicator = require('uielements/indicatorwindow'); var helpers = require('utilities/...
const localStorage = window.localStorage || { getItem: () => null, setItem: () => {}, clear: () => {}, }; const ALL_KANA = { hiragana: { monographs: { "あ" : ["a"], "い" : ["i"], "う" : ["u"], "え" : ["e"], "お" : ["o"], "か" : ["ka"], "き" : ["ki"], "く" : ["ku"], ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LCP = exports.setLcpNativePluginPath = void 0; var tslib_1 = require("tslib"); var bind = require("bindings"); var crypto = require("crypto"); var debug_ = require("debug"); var fs = require("fs"); var path = require("path"); var reque...
import React, { useState, useEffect } from 'react'; import moment from 'moment'; import lodashGet from 'lodash/get'; import { getAffiliationName, getAffiliationNameBySubgroupID } from '../../helpers/get_affiliation_name'; import { renderModeInheritanceLink } from '../../helpers/render_mode_inheritance'; import { getAp...
$(document).ready(function () { var tab_html = ''; var tabContent_html = ''; $.each(Object.keys(DATA), function (i, fname) { var name = fname.replace('.txt', ''); var required = DATA[fname]["required"]; var label = DATA[fname]["label"]; tab_html += '<a class="nav-link border...
/** * Static request helper function */ var tac_send_request = function (method, data, callbacks) { if (!callbacks) callbacks = {}; $.ajax({ url : _site_domain + _index_page + "/tac/" + method, dataType : 'json', type : 'POST', data : $.extend({ csrf_token : _csrf_token, dashboard_id : _dashboard_...
function lazyLoad() { var obj = $('.lazy'); if (obj.length) { obj.Lazy({ scrollDirection: 'vertical', effect: 'fadeIn', visibleOnly: true }); } } function animateScroll() { AOS.init({ duration: 600, disable: 'mobile' }); } function sliderPrimary() { var slider = $('.slider-primary__slider'), ...
let crypto = require('crypto') let bignum = require('@ddn/bignum-utils'); let extend = require('extend') let node = require('./../variables.js') let DEBUG = require('debug')('dapp-transfer') let expect = node.expect let DAPP_CURRENCY = "DDN"; let DAPP_TEMPLATE = { "name": "ddn-hello-dapp", "link": "https://gi...
import {Schema} from "prosemirror-model" // :: Object // [Specs](#model.NodeSpec) for the nodes defined in this schema. // See: https://prosemirror.net/docs/ref/#model.NodeSpec export const nodes = { // :: NodeSpec The top level document node. doc: { content: "title block*" // content: "title (heading* | bloc...
/*global CKEDITOR*/ import _ from 'lodash' import { toArabic, toRoman } from 'roman-numerals' import { ORDINAL_TYPE_DEFAULT } from './IccListPlugin' export const whitespaces = CKEDITOR.dom.walker.whitespaces() export const bookmarks = CKEDITOR.dom.walker.bookmark() export const headerTagRegex = /^h[1-6]$/ export const...
const images = require("images"); const fs = require("fs"); const {getFiles} = require('./utiliy'); const path = require('path'); let fntPath = ''; let pngPath = ''; let outPath = ''; let outPngName = 'fntMerge.png'; let gOutWidth = 0; // 输出图片大小等高宽 let gShowDebugInfo = false; /** * @typedef {Object} pngPage * @p...
var d3 = {}; d3.min = function(array, f) { var i = -1, n = array.length, a, b; if (arguments.length === 1) { while (++i < n && !((a = array[i]) != null && a <= a)) a = undefined; while (++i < n) if ((b = array[i]) != null && a > b) a = b; } else { while (++i < n && !((a = f.call(array, ...
/* ORDER: Left Right Up Down */ function sigmoid(t) { return 1 / (1 + Math.pow(Math.E, -t)); // return t / 1; } let canDie = true; // function distance(x1, y1, x2, y2) { // return Math.sqrt((x2 - x1)**2 + (y2 - y1)**2) // } function randWeight() { return Math.random(); } function clamp(v) { if (v < 0) r...
// ==UserScript== // @name WooCommerce Czech Post Address Filler // @namespace https://github.com/piit79/woocommerce-czech-post-filler // @version 0.82 // @description Auto-fill addresses from WooCommerce to Czech Post on-line postage web app // @author piit79 // @match https://*/wp-admin/...
import { Scalar } from 'ffjavascript' import circomlib from 'circomlib' import { keccak256 } from '@ethersproject/keccak256' import { feeFactors, feeFactorsAsBigInts } from './fee-factors.js' import { bufToHex, getTokenAmountBigInt } from './utils.js' import { HermezCompressedAmount } from './hermez-compressed-amount....
//var parseDate = d3.timeParse("%m%d%Y"); var parseDate = d3.timeParse("%Y-%m-%d"); var formatDate = d3.timeFormat("%a"); var printFormatDate = d3.timeFormat("%A"); var parseTime = d3.timeParse("%H:%M:%S"); var formatTime = d3.timeFormat("%H:%M"); var printFormatTime = d3.timeFormat("%I:%M %p"); // set the dimensions...
import React, { useState, Fragment } from 'react'; import { InputAdornment, TextField, makeStyles, SvgIcon, Chip, Paper } from '@material-ui/core'; import Autocomplete from '@material-ui/lab/Autocomplete'; function CustomSearch(props) { // Part of React magic START var inputRef = null; // Part of React magic E...
/* Rumblefish Web Toolkit (PHP) Copyright 2012 Rumblefish, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
/* * == BSD2 LICENSE == * Copyright (c) 2014, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program ...
#!/usr/bin/env node /* Copyright <NAME> and other contributors. All rights reserved. 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 ...
const fs = require('fs'); const {createReadStream} = require("fs"); const util = require('util'); const exec = util.promisify(require('child_process').exec); const http = require('http'); const https = require('https'); // Config const proxy = { ip: "0.0.0.0", port: 3000 } // Forward HTTP requests to this ser...
import { convertToPercent } from '../../../common/utils'; const MAX_HANDLE_SIZE = 28; const MIN_BOX_SIZE = { width: 70, height: 60, }; const modules = { /** * Create legend DOM * * @returns {undefined} */ createLegendLayout() { this.legendDOM = document.createElement('div'); this.legendDO...
// Copyright (c) 2021 <NAME> // // This software is released under the MIT License. // https://opensource.org/licenses/MIT import { bitSet, hi4, lo4, range } from 'utils' import { DSCNV3, FILTBP, FILTEXT, FILTHP, FILTLP, FILTV1, FILTV2, FILTV3 } from './constants' // Sample cutoff frequencies for different values of ...
const performance = require('perf_hooks').performance; const debug = false; if (debug) require("console-buffer")(4096); function debugLog(str) { if (debug) console.log(str); } function debugTable(obj) { if (debug) console.table(obj); } function debugError(error) { if (debug) console.error(error); } // A type of low ...
/* * 办案场所考核 * author:jhm * 20191018 * */ import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Row, Col, Form, Select, TreeSelect, Input, Button, DatePicker, Tabs, Radio, message, Cascader, } from 'antd'; import { connect as mqttConnect } from 'mqtt'; import mome...
var vars = require('../vars'), keyCodes = require('../keycodes'), tmi = require('./tmi'), store = require('./store'), templates = require('./templates'), bots = require('../bots'), punycode = require('punycode'); // Helper functions var removeElement = require('../helpers/element').remove; var ...
/** * Created by James on 16/09/2016. */ //"use strict"; var jsgui = require('jsgui2-lang'); var str_arr_mapify = jsgui.str_arr_mapify; var get_a_sig = jsgui.get_a_sig; var each = jsgui.each; var Control = jsgui.Control = require('./control-enh'); var map_Controls = jsgui.map_Controls = {}; var core_extension = str...
// Map each class of actor to a character var actorChars = { "@": Player, "o": Coin, // A coin will wobble up and down "=": Lava, "|": Lava, "v": Lava, "f": Fireball, "q": Victory, "t": Tut }; function Level(plan) { // Use the length of a single row to set the width of the level this.width = plan[0]....
const TEXT = { animation_start: "START ANIMATION", animation_pause: "PAUSE ANIMATION", select_drifter: "SELECT DRIFTER BY NAME", drifter_prompt: "Which drifter do you want to select?", drifter_date: "Drifters on", no_referrer: "Please try to access this map on https://galapagosplasticfree.nl/ instead ;)" }; cons...
// Copyright © 2017, 2018 Moar Technologies Corp. See LICENSE for details. ////////////////// // // // Overhead // // // ////////////////// const settings = { version: new Date( '2018-01-04 00:55' ), verbosity: 0, // Radii in Meters. radiusSafe: 60,// Ho...
/** @jsx jsx */ import { jsx } from '@emotion/core'; import { Component } from 'react'; import { analyticsConfig, any, bool, dataField, func, fuzziness, highlightField, number, object, position, queryFormat, string, suggestions, title, wholeNumber } from '../utils/types'; import Input from...
var x = [0, -391,-384,-375,-360,-344,-325,-307,-286,-268,-251, -236,-217,-197,-178,-160,-140,-119,-100, -84, -63, -43, -22, 0, 22, 44, 68, 93, 129, 149, 164, 187, 199, 210, 228, 265, 271, 275, 279, 262, 247, 234, 219, 203, 191, 171, 150, 129, 107, 86, 67, 43, 20, -2, -19, -37, -56, -75,...
const chainName = (chainId) => { switch(chainId) { case 30: return 'Rsk Mainnet'; case 31: return 'Rsk testnet'; case 33: return 'Rsk regtest'; case 1337: return 'Ganache'; case 3: return 'Ropsten'; case 31337: return 'hardhatEVM'; default: return 'Unknown'; } } const p...
window.onload = inicia; function inicia() { $("btnbuscar").onclick=existe; $("btnDirecciones").disabled=true; //inicializando autocomplete $("autoCliente").className = "autocomplete"; new Ajax.Autocompleter("txtRazonSocial", "autoCliente", "scripts/catalogoClientes.php?operacion=5", {paramName: "caracteres", af...
// Global 'constants' set in the onLoad function var canvas; var ctx; var viewRect; var socket; var params; // Key tracking var pressedKeys = {}; // Variables for the game var maze = { width: 1, height: 1, walls: [] }; var tanks = {}; var serverTanks = {}; var currentGameCount = 0; var projectiles = {};...
/** * 过车导出_选择导出 */ import React,{Component} from 'react' import {inject, observer} from "mobx-react"; import axios from "axios"; import {message, notification} from "antd"; import progress from "request-progress"; import request from "request"; import {eventBus, md5Sign, formatDate, zip, updateNotification, closeNoti...
var popupStatus = 0; var url=""; var ID=""; var cgidir="/cgi-bin/roctave/"; var infocgi=cgidir+"info.cgi"; var abortcgi=cgidir+"abort.cgi"; var spawncgi=cgidir+"spawn.cgi"; var lockcgi=cgidir+"lock.cgi"; var datadir="/roctave/"; var myCodeMirror; var executing=0; var locked=0; //Things to do on startup function rocta...
const getSubdisciplines = discipline => { switch (discipline) { case 'earth_space': return [ 'Edaphology', 'Environmental chemistry', 'Environmental science', 'Gemology', 'Geochemistry', 'Geodesy', 'Geography', 'Geology', 'Geomorphology', 'Geophysics', 'Glaciology', ...
// Séries animadas const whatIf = new Titulo( 'What if...?', 2021, 'Baseada nos populares quadrinhos homônimos, a produção explorará histórias hipotéticas que poderiam ter mudado completamente o rumo do universo cinematográfico da editora.', 'Animação, Action & Adventure, Sci-Fi & Fantasy', '14 anos...
#!/usr/bin/env node const http = require('http') const httpProxy = require('http-proxy') const auth = require('http-auth') const Busboy = require('busboy') const url = require('url') const os = require('os') const fs = require('fs') const path = require('path') const mailer = require('./mailer') const cliParams = requ...
var _ = require('underscore'); var $ = require('jquery'); var moment = require('moment-timezone'); function getTimezoned(t, timezone) { return moment.tz(t, 'ddd, DD MMM YYYY HH:mm:ssZ', timezone); } function getUnitId(today, t) { var week = t.year() + '-' + t.week(); if (t.month() === 11 && t.clo...
function createSVG( id ) { var update = d3.select( "#" + id).selectAll("svg").data([1]); update.enter().append("svg") .attr("class", "widget"); return update; } function Widget() { this.init = function( id, buttons ) { if( arguments.length < 2 ) buttons = []; this.id = id; this.svg = cr...
/** Common controller functionality * @module controllers/common */ const _ = require("lodash"); const crypto = require("crypto"); const { default: axios } = require("axios"); const { ADDRESS_PREFIX, HTTP_METHODS, TYPE, TRANSACTION_FAMILY, } = require("../utils/constants"); const { SEVERITY, logFormatted } =...
/* istanbul ignore file */ /** * @file Hash Function. Support hash get function * @author zhangzhiqiang(<EMAIL>) */ /* global top screen location, MIP */ import event from './util/dom/event' import Gesture from './util/gesture/index' import platform from './util/platform' import EventAction from './util/event-acti...
const codegen = require('../codegen/index.js'); // let default_uml =codegen.load_json('./default_uml.json'); console.log("CALL: require('build4code/src/js2uml/default_uml.json') "); var default_uml = require('./default_uml'); //console.log("Loaded JSON:\n"+JSON.stringify(default_uml,null,4)); // Main function is js2um...
var WebSocket = require('ws'); var WebSocketServer = require('ws').Server; var uuid = require('uuid'); var Promise = require('./Promise'); var requestify = require('./requestify'); var Peer = require('./Peer'); /** * Host * @param {Object} [options] Available options: see Host.config */ function Host(options) { ...
/** * Papamamap : * コンストラクタであり、index.jsの$('#mainPage').onでnewされる * * @property {object} map ol.Map * @property {Array.<number>} viewCenter マップの初期中心座標 * @property {number} centerLatOffsetPixel 緯度表示位置の調整用オフセット * */ window.Papamamap = function(init_center_coords, mapServer) { this.map; t...
import React, { Component } from 'react'; import SidePanel from './SidePanel'; import DataMap from './DataMap'; import DataTimeline from './DataTimeline'; import MapLegends from './MapLegends'; import DataBars from './DataBars'; import intl from 'react-intl-universal'; import dataSheet from './../data/data.json'; impor...
import React, { Component } from "react"; /* Traduction */ import { withTranslation /*, useTranslation */ } from 'react-i18next'; /* Bootstrap */ import 'bootstrap/dist/css/bootstrap.min.css'; import Container from 'react-bootstrap/Container'; // Interface du smartcontract import contractVotingImport from "./contrac...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import PropTypes from 'prop-types'; import {OverlayTrigger, Popover, Tooltip} from 'react-bootstrap'; import {FormattedMessage, intlShape} from 'react-intl'; import {Permissions} f...
import BigNumber from 'bignumber.js'; import Immutable from 'immutable'; import { /* fromTokens,*/ mweiToWei, etherToWei, estimateGasFromTrace, transformToFullName, dataToParams, getFunctionSignature, separateThousands } from './convert'; describe('Number formatting', () => { it('format number with separated thous...
// World interface class SpecialTilePayload{ constructor( tile, position ){ this.tile = tile; this.position = position; } } class World{ constructor( saveData ){ this.entities = []; this.chunkSize = cfg.world_chunkSize; this.defaultTile = TSINTERFACE.tiles.default; this.map = new UboPlane( {} ); /...
import React, { useEffect, useState } from 'react'; import * as nearAPI from 'near-api-js'; import { GAS, parseNearAmount, token2symbol, getTokenOptions, handleOffer } from '../state/near'; import { marketId, contractId, formatAccountId, } from '../utils/near-utils'; import { useHistory } from '../utils/history'; im...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
const EpicResearchCosts = { holdToHatch: { costs: [10, 45, 80, 115, 150, 185, 220, 255, 290, 325, 360, 395, 430, 465, 500], title: 'Hold to Hatch', desc: 'Hold chicken button +2 chickens per second', bonusUnit: '/sec', bonusVal: 2, }, epicHatchery: { costs: [2, 54, 107, 159, 212, 264...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AngularWebpackPlugin = void 0; /** * @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 */ c...
const path = require("path"); const fs = require("fs").promises; const whois = require("whois-promise"); const existsSync = require("fs").existsSync; const yamler = require("./yamler"); const NINE_MONTHS_IN_MILLIS = 9 * 30 * 24 * 60 * 60 * 1000; const THREE_MONTH_IN_MILLIS = 3 * 30 * 24 * 60 * 60 * 1000; const TWO_MO...
var args = JSON.parse(process.argv[2]); var PORT; if (args.port) { PORT = parseInt(args.port); } var BROKER_ID = args.id; var SOCKET_PATH = args.socketPath; var EXPIRY_ACCURACY = args.expiryAccuracy || 1000; var BROKER_CONTROLLER_PATH = args.brokerControllerPath; var INIT_CONTROLLER_PATH = args.initControllerPath ||...
/* * data.world Slack Application * Copyright 2018 data.world, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
// Script for Accordian on faqs-page var acc = document.getElementsByClassName("accordion"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function() { this.classList.toggle("active"); var panel = this.nextElementSibling; if (panel.style.maxHeight) { panel.style.maxHeig...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; const context_1 = require("./compile/context"); exports.KeywordCxt = context_1.default; var codegen_1 = require("./compil...
import React, {Component} from 'react'; import Lightbox from 'react-image-lightbox'; import {Login, logout} from '@ksf-media/user'; import articleApi from './article-service'; import 'react-image-lightbox/style.css'; import 'bootstrap-css-only/css/bootstrap.min.css'; import 'basscss/css/basscss-cp.css'; import {isUserL...
const DEBUG = false; if (DEBUG) { doDependencies = profile(doDependencies); doVisibleDependencies = profile(doVisibleDependencies); doRequireDependencies = profile(doRequireDependencies); doRestrictions = profile(doRestrictions); doDataDependencies = profile(doDataDependencies); doCaptionDependencies = profile(do...
import { React,Table,TableBody,TableCell,TableHead,TableRow,InfoCard,ContainerHeader,CardBox,Paper,Input,InputLabel,MenuItem,FormControl,FormHelperText,Select,Card,CardBody,CardSubtitle,CardText,cloneElement,Component,Button,moment} from './plugins'; import LinearProgress from '@material-ui/core/LinearProgress'; import...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exportApp; var _chalk = _interopRequireDefault(require("next/dist/compiled/chalk")); var _findUp = _interopRequireDefault(require("next/dist/compiled/find-up")); var _fs = require("fs"); var _worker = require("../lib/work...
/** * @Created with fly. * @User: <EMAIL> * @Date: 2017/11/14 * @Time: 18:47 */ layui.use(['laydate', 'form', 'layedit', 'jquery'], function() { let laydate = layui.laydate , form = layui.form , layer = layui.layer , layedit = layui.layedit; }); /** * * @constructor 整个借款 流程方法 */ f...
/** * @license * Copyright (C) 2020 Tutorbook * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version. * * This...
// Bitdw import { OBJECT, RETURN, INIT_LEVEL, MARIO, JUMP_LINK, LOAD_MODEL_FROM_GEO, AREA, WARP_NODE, TERRAIN, MACRO_OBJECTS, SHOW_DIALOG, SET_BACKGROUND_MUSIC, TERRAIN_TYPE, END_AREA, MARIO_POS, CALL, CALL_LOOP, CLEAR_LEVEL, SLEEP_BEFORE_EXIT, EXIT } from "../../engine/LevelCommands" import { MODEL_B...
/** * Copyright 2012-2020, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var c = require('./constants'); var d3 = require('d3'); var keyFun = require('../../lib/gup').keyFun; var repeat...
import css from './styles.css'; import * as THREE from '../../../three.js/build/three.module.js'; import { OrbitControls} from '../../../three.js/examples/jsm/controls/OrbitControls.js'; //import { GLTFLoader} from '../../../three.js/examples/jsm/loaders/GLTFLoader.js'; import { VRButton} from '../../../three.js/exa...
/* eslint-disable */ import * as React from 'react'; import { isPlatform, IonIcon, IonSpinner } from '@ionic/react'; import styled from 'styled-components'; import { closeOutline } from 'ionicons/icons'; import { v4 } from 'uuid'; /*! ***************************************************************************** Copyr...
var screenVideo = $('#screenvideo2'); var myNewClientScreen; var myWm = undefined; const serverScreen = "https://" + window.location.hostname + "/janus"; const userBlockScreen = $('#userBlock'); const roleScreen = "listener"; const patronymicScreen = userBlockScreen.data('patronymic'); const surnameScreen = userBlockS...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyArgsTypesEnhanceMap = exports.applyInputTypesEnhanceMap = exports.applyOutputTypesEnhanceMap = exports.applyModelsEnhanceMap = exports.applyRelationResolversEnhanceMap = exports.applyResolversEnhanceMap = void 0; const crudResolve...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
"use strict"; function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done)...
/*jslint node: true */ "use strict"; var async = require('async'); var _ = require('lodash'); var constants = require('./constants.js'); var kvstore = require('./kvstore.js'); var string_utils = require('./string_utils.js'); var storage = require('./storage.js'); var ValidationUtils = require("./validation_utils.js"); ...
// ==UserScript== // @id iitc-plugin-portals-list@teo96 // @name IITC plugin: Portals列表 // @category 信息 // @version 0.2.1.20190616.73555 // @description [mobile-2019-06-16-073555] 显示所有可见portal的可排序列表,其中包含有关阵营,谐振器,链接等完整详细信息。 // @updateURL none // @downloadURL none // @namespa...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; import _isUndefined from "lodash/isUndefined"; import * as React from 'react'; import Pro...
'use strict'; var util = require('util'), _ = require('lodash'), events = require('events'), Client = require('./client'), protocol = require('./protocol'), uuid = require('node-uuid'), Offset = require('./offset'), async = require("async"), errors = require('./errors'), zk = requir...
/** * * CascadedFilterNpdImpact * */ import React from 'react'; // import styled from 'styled-components'; import Checkbox from 'components/checkbox'; import Button from 'components/button'; // import Panel from 'components/panel'; import {browserHistory} from 'react-router'; import InputField from 'components/inp...