text
stringlengths
5.97k
41.2k
'use strict'; exports.__esModule = 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]; } } } return target; }; var _propTypes = r...
// FIXME: util function printCodepoints(x) { var i; var tmp = []; for (i = 0; i < x.length; i++) { tmp.push(x.charCodeAt(i)); } print(tmp.join(' ')); } /*=== basic fOo fOO bar-1123 bar-1234 bar-1345 xfoo xfoo xfxoxox 17185 291 50 4660 65244 17185 291 50 4660 65244 17185 291 50 17185 65244...
const OPERATORS = { '=': 'eq', '!=': 'ne', '<>': 'ne', '<': 'lt', '>': 'gt', '<=': 'le', '>=': 'ge' } const LAMBDA_VARIABLE = 'd' const getSafeNumber = str => { const n = Number(str) return Number.isSafeInteger(n) || String(n) === str ? n : str } const needArrayProps = Object.fromEntries( ['where...
'use strict'; /* let hasDriverLicense = false; const passTest = true; if(passTest) hasDriverLicense = true; if(hasDriverLicense) console.log('I can drive : D') // const interface = 'Audio'; // const private = 534; // FUNCTIONS function logger() { console.log('My name is Ismail') } // calling / running /invok...
const DEFAULT_LIST_MAX_RESULT = 50; module.exports.SKILL = { RESOURCES: { MANIFEST: 'manifest', INTERACTION_MODEL: 'interactionModel' }, STAGE: { DEVELOPMENT: 'development', LIVE: 'live', CERTIFICATION: 'certification' }, SKILL_STATUS: { SUCCEEDED: 'S...
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]; } } } return target;...
/** * Utility function that works like `Object.apply`, but copies getters and setters properly as well. Additionally gives * the option to exclude properties by name. */ const copyProps = (dest, src, exclude = []) => { const props = Object.getOwnPropertyDescriptors(src); for (let prop of exclude) de...
var args = require('minimist')(process.argv.slice(2), { 'default': { 'rules': 'sparse', 'buildNum': '0', 'branch': 'local', 'revision': 'git-revision', 'buildTimeStamp': new Date().toISOString() } }), exitReport = {}, rulesPath = './config/gulp-'+args.rules+'.json', rules =...
window.FeatureSpaceWidget=FeatureSpaceWidget; PainterPath=window.PainterPath; CanvasWidget=window.CanvasWidget; // from https://gist.github.com/mucar/3898821 var colorArray = [ '#FF6633', '#FFB399', '#FF33FF', '#FFFF99', '#00B3E6', '#E6B333', '#3366E6', '#999966', '#99FF99', '#B34D4D', '#80B300', '#8099...
if (typeof module !== "object") var module = {}; module.exports = { /** * Create a text node * @param {string} content The content of the text node * @returns {FakeDomNode} A #text node */ createTextNode(content) { return new FakeDomNode("#text", content === undefined ? "u...
/* eslint-disable react/no-did-update-set-state */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import * as olProj from 'ol/proj'; import { get as lodashGet, isEqual as lodashEqual } from 'lodash'; import googleTagManager from 'googleTagManager'; i...
// // Copyright (c) Microsoft Corporation. All rights reserved. // 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); // // Implementation of Live Share for VS Code extension public API. // See LiveShare.ts for public type definitons. // const path = require("path"); const semver = require("s...
'use strict'; var assert = require('assert'); var BN = require('bn.js'); var ec = require('../lib/crypto/ec'); var base58 = require('../lib/utils/base58'); var encoding = require('../lib/utils/encoding'); var crypto = require('../lib/crypto/crypto'); var schnorr = require('../lib/crypto/schnorr'); var Amount = require...
/* Table of content 1.Kumpulan fungsi pelengkap untuk component 2.Gridphotos 3.Toast 4.Autocomplete */ /* Kumpulan fungsi */ //untuk membuat css rules di js const componentStyles = (element, styles) => { const component = document.querySelectorAll(element); component.forEach(ele...
"use strict"; /** * Copyright (c) Microsoft Corporation. * * 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 applica...
// External import fs from 'fs'; // Ultrawide Collections import { DesignVersionComponents } from '../../collections/design/design_version_components.js'; import { DesignUpdateComponents } from '../../collections/design_update/design_update_components.js'; import { FeatureBackgroundSteps } ...
/* * ofd.js - A Javascript class for reading and rendering ofd files * <https://github.com/DLTech21/ofd.js> * * Copyright (c) 2020. DLTech21 All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may obtai...
// Copyright IBM Corp. 2014,2016. All Rights Reserved. // Node module: loopback // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT 'use strict'; var loopback = require('../../lib/loopback'); var debug = require('debug')('loopback:security:role'); var assert...
var components = new Object(); components.length = 0; var color_moving = 'rgb(230,230,230)'; // constructor for an ergatis component. function Component( component_id ) { // set the attributes of this object this.configured = false; this.configured_before = false; this.token = '<PASSWORD>'; th...
var async = require('async'); var models = require('../common/models.js')(); var validation = require('./../common/validate'); var _ = require('underscore'); var misc = require('../common/misc.js'); var buildErrorResponse = misc.buildErrorResponse; var getForm = require('./getForm.js'); var rulesUpdate = require('./upd...
function __eqeqInt2([env, y]){ return env["x"] == y; } function __noteqInt2([env, y]){ return env["x"] != y; } const eqInt = { "==": mkClosure(function([_,x]) { return setEnv("x", x, mkClosure(__eqeqInt2))}), "/=": mkClosure(function([_,x]) { return setEnv("x", x, mkClosure(__noteqInt2))}) } const eq...
'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const fs = require('fs'); const path = require('path'); const exec = require('child_process').exec; const crypto = require('crypto'); const fixtures = require('../common/fixtures...
function toggleProgramListActive(li,pId, noValid){ $('.program-lists-ul li').removeClass('active'); $(li).addClass('active'); $('#manage_menu_title').html($(li).find('.list-menu-name').text()); $('#pre-load').hide(); $('#manage-data-content').show(); if(noValid == undefined){ //check...
/* eslint-env mocha */ const { expect, use } = require('chai'); const istanbulVM = require('./istanbulVM'); const chaiSubset = require('chai-subset'); use(chaiSubset); describe('Router', () => { const triggerTracker = [false, false, false]; let triggerTracker3 = false; const trackParentEnter = [false, fa...
import { math } from '../../../math/math.js'; import { Vec2 } from '../../../math/vec2.js'; import { Vec3 } from '../../../math/vec3.js'; import { ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL } from '../../../scene/constants.js'; import { EntityReference } from '../../utils/entity-reference.js'; import { ElementDrag...
/* Code Quiz Challenge application */ /* DOM references common to all pages */ var quizPageEl = document.querySelector("#quiz-page"); var viewHighscoreButtonEl = document.querySelector("#view-highscore"); var timerEl = document.querySelector("#timer"); /* This defines the element holding all the dynamic content */ var ...
"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)...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); const path = require("path"); const fs = require("fs"); const request = require("request"); const splunkSavedSearchProvider = require("./savedSearchProvider.js"); const splunkEmbeddedReportProvider = require(...
// Copyright 2018 Hewlett Packard Enterprise Development LP // // 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,...
/* global FileReader, Image, document, FormData */ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import i18n from 'i18n'; import DropzoneLib from 'dropzone'; import $ from 'jquery'; import { getFileExtension } from 'lib/DataFormat'; import PropTypes from 'prop-types'; let idCounter = 0; ...
const { cross } = require("./fixture"); const { parse, validRange, satisfies, maxSatisfying, minSatisfying, filter, } = require("../lib/specifier"); const SPECIFIERS = [ "~=2.0", "==2.1.*", "==2.1.0.3", "!=2.2.*", "!=2.2.0.5", "<=5", ">=7.9a1", "<1.0.dev1", ">2.0.post1", "===lolwat", ]...
// This contains classes for querying a table with relevant filters import { fetch_meta_post, fetch_meta } from '../fetch/meta' import isUUID from 'validator/lib/isUUID' const model_mapper = { resources: 'Resource', libraries: 'Library', signatures: 'Signature', entities: 'Entity', } const plural_mapper = { ...
import React from 'react' import {connect} from "react-redux"; import { Avatar, Button, Card, Col, Form, Icon, Input, message, Popconfirm, Row, Select, Spin, Table, Tag, Tooltip } from 'antd'; import { addCase, getCaseDetail, getLabelList, getM...
'use strict'; const { ArrayIsArray, ArrayPrototypeMap, ArrayPrototypePush, Float64Array, FunctionPrototypeBind, JSONStringify, MathMax, ObjectCreate, ObjectEntries, Promise, PromiseResolve, RegExpPrototypeTest, SafeMap, String, Symbol, SymbolFor, TypedArrayPrototypeFill, Uint32Array...
//fix for legacy config if (~window.location.href.indexOf('bloomberg.com/graphics/') && config.bb_brand == 'bpol'){ config.bb_brand = 'bbiz' } //fall back to default ad_code if none is specified config.ad_code = config.ad_code || '/5262/business/news/graphics' //check for test-env query parm; switch ad_code if pr...
var overlay = require('./overlay.js'), app = require('./app.js'), tempus = require('tempus-api'), downloader = require('./downloader.js'); log = require('./log.js'), rcon = require('./rcon.js'), obs = require('./obs.js'), fs = require('fs'), uuid = require('uuid'), twitch = require(...
var express = require('express'); var async = require('async'); var cds = require('@sap/cds'); var router = express.Router(); var winston = require('winston'); var util = require('./util'); var logging = require('@sap/logging'); var appContext = logging.createAppContext(); var logger; var bodyParser = require('body-par...
/** * @module system-npm/utils * * Helpers that are used by npm-extension and the npm plugin. * This should be kept small and not have helpers exclusive to npm. * However, it can have all npm-extension helpers. */ // A regex to test if a moduleName is npm-like. var slice = Array.prototype.slice; var npmModuleReg...
// ==UserScript== // @name DS_Timer_Show // @namespace de.die-staemme // @version 0.2.1-dev // @description Export your Attack-Details for DS_Timer // @grant GM_getValue // @grant GM_setValue // @grant unsafeWindow // @match https://*.die-staemme.de/game.php?*screen=info_village* //...
/*eslint-env browser */ /*global ace, PHP */ /*eslint-disable no-console */ var editor = ace.edit("editor"); editor.setTheme("ace/theme/github"); editor.session.setMode("ace/mode/php"); editor.setShowPrintMargin(false); var default_code = "<?php\n" + document.getElementById('features_example').innerText; var query = ...
'use strict'; const argv = require('minimist')(process.argv.slice(2)); const ENV = (argv.env || 'DEV').toUpperCase(); const isProduction = ENV === 'PROD'; const gulp = require('gulp'); const $ = require('gulp-load-plugins')(); const nunjucks ...
const { p, div, i, label, text, text_attr, button, a, h5, span, } = require("./tags"); const { contract, is } = require("contractis"); const renderLayout = require("./layout"); const { isdef, select_options, search_bar } = require("./helpers"); const rmInitialDot = (s) => (s && s[0] === "." ? s.repl...
var jsonreader = { root: "page.list", page: "page.currPage", total: "page.totalPage", records: "page.totalCount", repeatitems: false }; $(function () { //默认选中录入页签\返回按钮显示 document.getElementById("div_input").style.display = "";//录入页签 document.getElementById("btnCancel").style.display = ""...
import childProcess from 'child_process' import cli from 'commander' import Canvas from 'drawille' import os from 'os' // import blessed from '../../../../banyan/pres/packages/blessed-classic/index' imp...
/* ON READY */ $(document).ready(function initialize() { $("#wishLink").click(showWishlist); $("#uploadPhoto").change(photoUpload); initializeMap(); updateUsername(); }); /* CONSTANTS */ var GT_LATITUDE = 33.7765; var GT_LONGITUDE = -84.4002; /* GLOBALS */ var Map; // Reference to the Google API Map var Marke...
const fs = require("fs"); let loader = require('./loader.js'); let validateObject = require('./validateObject.js'); let builder = require('./databuilder.js'); let valData = require('./validateData.js'); function getTimeStamp() { let date = new Date(); return '[' + date.getHours() + ':' + date.getMinutes() + '...
var schedules = []; var currentScheduleIndex; var classesObject = {}; var blockedTimes = [[],[],[],[],[]]; var colors = ["Chocolate", "Peru", "Sienna", "Goldenrod", "Brown", "Maroon", "pink", "orange", "violet", "Tomato", "DarkRed", "LightCoral"] var classNameIndex = []; $(window).on('beforeunload', function () { ...
/////////////////////////////////////////////////////////////////// // compute the axis header trees (rows and columns) /////////////////////////////////////////////////////////////////// import { createSelector } from "reselect"; import { rowVisibleDimensionsSelector, columnVisibleDimensionsSelector, dimensions...
var diameter = 1200; var tree = d3.layout.tree() .size([360, diameter / 2 - 50]) .separation(function(a, b) { return (a.parent == b.parent ? 1 : 2) / a.depth; }); var diagonal = d3.svg.diagonal.radial() .projection(function(d) { return [d.y, d.x / 180 * Math.PI]; }); var svg = d3.select("#drugdata").app...
// Math function factorial(n) { var result = 1; for (var i = 2; i <= n; i++) { result = result * i; } return result; } function roundHalf(num) { return Math.round(num*2)/2; } // △ // △△ function triforce(d, i) { var n = i - d; if (n < 0) return 0; var num = n; var denom =...
// import * as mars3d from "mars3d" var map // mars3d.Map三维地图对象 let roamLine const roamLineData = {} // 需要覆盖config.json中地图属性参数(当前示例框架中自动处理合并) var mapOptions = { scene: { center: { lat: 30.859616, lng: 116.296235, alt: 445, heading: 258, pitch: -29 } }, control: { clockAnimate: true, // 时钟动画控制(左下角) t...
import React from 'react'; import PropTypes from 'prop-types'; import { Trans, translate } from 'react-i18next'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; import { withStyles } from '@material-ui/core/styles'; import Decimal from 'decimal.js-light'; import Countdown from 're...
var canvas; var ctx; var UI = (function(){ var me={}; var screenWidth; var screenHeight; var useDevicePixelRatio = false; var children = []; var fontSmall; var fontMed; var fontBig; var fontFT; var fontCondensed; var fontDark; var maxWidth = 1200; var maxHeight = 2000; var minHeight = 200; var moda...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in m...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _path = _interopRequireDefault(require("path")); var _os = _interopRequireDefault(require("os")); var _sourceMap = require("source-map"); var _webpackSources = require("webpack-sources"); var _RequestShort...
// sources: // - https://tinyurl.com/y23wphkm // - https://youtu.be/jVx5aRcDoz4?t=162 // - https://tinyurl.com/ybnqdru5 // - https://gta.fandom.com/wiki/The_Open_Road // // Nightclub: // - https://gtaforums.com/topic/912818-business-knowledge-base-after-hours/page/4/?tab=comments#comment-1070339962 // - https://www.red...
// 统一请求路径前缀在libs/axios.js中修改 import { getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken } from '@/libs/axios'; import { getStore, setStore } from '@/libs/storage'; import axios from 'axios'; // Vaptcha ID export const vaptchaID = "5e85ce1255d0def9521469ac" // 文件上传接口 export const ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.dividedLine = exports.bumpChart = exports.lineChart = exports.stackedArea = exports.differenceLine = exports.projectLineData = exports.projectAreaData = undefined; var _typeof = typeof Symbol === "function" && typeof Symbol.iterato...
$(document).ready(function() { $('#espace-prd-demande-update-qstprod-form-button').on('mousedown', function() { $('#cet-modal-alerte-titre').text("Modification de vos données producteur.e"); $('#cet-modal-alerte-paragraphe').text("Vous allez-être redirigé vers les formulaires Producteur.e. Veuillez vous m...
const question = document.querySelector('#question'); const choices = Array.from(document.querySelectorAll('.choice-text')); const progressText = document.querySelector('#progressText'); const scoreText = document.querySelector('#score'); const progressBarFull = document.querySelector('#progressBarFull'); let currentQ...
import React from 'react' import './viewMenu.css' import { CCard, CCardHeader, CCardBody, CTable, CTableHead, CTableRow, CTableHeaderCell, CTableDataCell, CTableBody, CContainer, CCol, CRow, CButton, CFormLabel, CFormInput, CInputGroup, CFormSelect, CForm, CInputGroupText, CFormC...
/* O Browser Object Model (BOM) permite que o JavaScript "fale" com o navegador. O modelo de objeto do navegador (BOM) Não existem padrões oficiais para o B rowser O bject M odel (BOM). Como os navegadores modernos implementaram (quase) os mesmos métodos e propriedades para interatividade do JavaScript, ele é frequ...
/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author <NAME> <<EMAIL>> */ import { __assign } from "tslib"; import { Structure, Unit, StructureElement } from '../../mol-model/structure'; import { Visual } from '../visual'; import { Geometry } from '...
"use strict"; const Transform = require("./transform.js"); const quadify = require("primitive-quadify-off-curves"); const ANGLES = 12; const SMALL = 1e-4; function solveTS(a, b, c, out, flag) { const delta = b * b - 4 * a * c; if (delta > 0) { const t1 = (Math.sqrt(delta) - b) / (2 * a); const t2 = (-Math.sqrt...
$(window).scroll(function(){ if($(this).scrollTop() > 0 ){ $("body").removeClass("largelogo"); } else{ $("body").addClass("largelogo"); } }); $(document).ready(function(){ //$('a,button').tooltip(); $('.singledate').daterangepicker({ singleDatePicker: true, showDrop...
//Resolution is the side length of the grid squares, any grid variables are responsive to resolution var resolution = 10; /*What state the swap button is on, default is 0 "Random Grid" with solid grid displayed, 1 is "Solid Grid" with random grid displayed*/ var swapButtonState=0; /*What state the pause button is on,...
function calculaTotalSaldo() { /*var pagoTotal = parseFloat(number_format($('#pago_total').val(),2,'.','')); var TotalReal = parseFloat(number_format($('#valor_total_real').val(),2,'.','')); var totalDesconto = parseFloat(number_format($('#desconto_real').val(),2,'.','')); var Total = TotalReal - pa...
// -*- mode: react; -*- import d3 from 'd3'; var BaseUrl = '/graphs-data/linkedin/' var numberFormat = d3.format(",.0f"); var percentageFormat = d3.format(",.2f"); var FILTERS = {}; var UPDATES = {}; UPDATES.from_gender = () => { UPDATES.map(); //UPDATES.treemap(); }; UPDATES.from_map = () => { UPDATES.gender...
/** * index.js * * The Service Discovery service provides a registry of services available for use * by other applications and services. * * This module provides two main functions that provide a wrapper for registering * and listing service instances with the Service Discovery service * * - ServicePublishe...
// Create data feature groups var collisions, nearmisses, hazards, thefts, newInfrastructures; //'172.16.17.32' for dev var srv = window.location.hostname; loadIncidenLayerXHR("/nearmisses_tiny?format=json", "nearmiss", nearmisses); loadIncidenLayerXHR("/hazards_tiny?format=json", "hazard", hazards); loadIncidenLayer...
import slug from 'slug'; import async from 'async'; import { sprintf } from 'sprintf'; import { CPF } from 'cpf_cnpj'; import { CNPJ } from 'cpf_cnpj'; import Buffer from 'buffer'; import toArrayBuffer from 'to-arraybuffer'; import { CMC7Parser } from './cmc7-parser'; slug.defaults.modes.pretty = { replacement: '...
/* * Copyright 2021 Adobe. All rights reserved. * This file is licensed to you 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 appli...
"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.prototy...
// global imports const Clutter = imports.gi.Clutter; const St = imports.gi.St; const Lang = imports.lang; const PopupMenu = imports.ui.popupMenu; const GLib = imports.gi.GLib; const Gio = imports.gi.Gio const Pango = imports.gi.Pango; const MessageTray = imports.ui.messageTra...
/* IMPORTANT: The variables "news" and "source_count" are loaded in the template which calls this .js file, they must be in the django html template due to dynamic rendering reasons. var news = { cur_articles|jsonify }; var source_count = { cur_sources|length }; */ ...
var endpoint = Config.endpoint; var auth = 'Basic ' + Base64.encode(Config.authUser + ':' + Config.authPassword); var firstStored = null; var moreStatementsUrl = null; google.load('visualization', '1.0', {'packages':['corechart']}); $(document).ready(function(){ TC_GetStatements(25,null,null,RenderStatements); $(...
/** * Enviroments Section */ var mqtt = require('mqtt'); var mqttClient = mqtt.connect('mqtt:/localhost:40001'); var wsClient = mqtt.connect('ws://localhost:40003/mqtt'); require('console-stamp')(console, { pattern: 'dd/mm/yyyy HH:MM:ss.l' }); var {Pool} = require('pg'); var TOPIC_ORDER_RECV = 'order/recv'; var ...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
var feedback_link = "https://lum-staging.knorex.com/content-extraction"; // var feedback_link = "http://127.0.0.1:19007/content-extraction"; var coundown_time = 240; var noti = 'If wrong, please choose the most suitable category:'; if (!(window.bootbox && window.jQuery)) { var script_srcs = [ 'https://ajax.googl...
/* global require */ var GlobalOnErrorHandler = require("../util/GlobalOnErrorHandler"); var logger = require("jitsi-meet-logger").getLogger(__filename); var RTCBrowserType = require("../RTC/RTCBrowserType"); import * as StatisticsEvents from "../../service/statistics/Events"; /* Whether we support the browser we are...
/*function add_icon(box_label) {// adding icons var icon_container = document.getElementById('icon_container'); var tmp_button = document.createElement('button'); tmp_button.value = box_label; tmp_button.className = "icon" tmp_button.id = object_list[object_list.length-1].ID; icon_container.appe...
/*jshint -W097 */// jshint strict:false /*jslint node: true */ 'use strict'; const request = require('request-promise'); const utils = require(__dirname + '/lib/utils'); const adapter = new utils.Adapter('etamon'); const xpath = require('xpath'); const xmldom = require('xmldom').DOMParser; const select ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const three_1 = require("three"); //取代事件监听回调函数中的this调用 //因为在指向回调函数时,this将不再是JOrbitControls对象本身 //可能是global/canvas等其他对象 let scope; class JOrbitControls extends three_1.EventDispatcher { constructor(camera, domElement) { super(); ...
// Copyright (c) 2018 <NAME> <<EMAIL>> // MIT License 'use strict'; const settings = require('./settings.js'); const TelegramBot = require('node-telegram-bot-api'); // FUTURE: seems like a better library https://github.com/Lorengamboa/EMT-library const EMTAPI = require('node-emtmad-bus-promise'); const _ = require('lo...
/** * Created by kpmy on 13.05.2016. */ const should = require("should"); const _ = require('underscore'); const ast = require("../ir/ast.js"); const tpl = require("../ir/tpl.js").struct(); const types = require("../ir/types.js")(); function Builder(mod) { const b = this; b.buffer = ""; ...
var hexcase = 1; var b64pad = ""; var chrsz = 8; var mode = 32; function md5(A) { return hex_md5(A) } function hex_md5(A) { return binl2hex(core_md5(str2binl(A), A.length * chrsz)) } function str_md5(A) { return binl2str(core_md5(str2binl(A), A.length * chrsz)) } function hex_hmac_md5(A, B) { ...
import React from 'react'; import { Button, Modal, Tabs, Tab, FormGroup, FormControl, ControlLabel, Checkbox, HelpBlock } from 'react-bootstrap'; import Axios from 'axios'; import qs from 'qs'; const Constants = require('../Constants.js') const Cookie = require('../Cookie.js'); export default class EditCasenoteModal ...
/* eslint no-useless-escape: 0 */ import mailcomposer from 'mailcomposer' const mimelib = require('mimelib'); const encoding = require('encoding'); const he = require('he'); const os = require('os'); const fs = require('fs'); const path = require('path'); const mkdirp = require('mkdirp'); const {APIError} = require('./...
const path = require('path') const EventEmitter = require('events') const requestPromise = require('request-promise') const Payload = require('./Payload') const debug = require('debug')("wetransfert:upload") const got = require('got'); const { getRequestParam } =...
// ヒートマップ用の色を求める function getColorFromDiff(diff, upperRange, lowerRange) { if (diff >= 0) { diff /= lowerRange; if (diff > 255) diff = 255; diff = 255 - diff | 0; return ['' + diff + ', 255, 0', 0.9]; // return ['' + diff + ', 255, 0', ((255 - diff) / 255) +0.4]; } if (diff < 0) { diff /= -upperRange...
import {LightningElement, api, track, wire} from 'lwc'; import {isNotEmpty, debouncify, isUndefined, relatedRecordFieldNameFor} from 'c/utilCommon'; import GeFormService from 'c/geFormService'; import GeLabelService from 'c/geLabelService'; import {getObjectInfo, getPicklistValues} from "lightning/uiObjectInfoApi"; imp...
import { _ as _slicedToArray } from './slicedToArray-4e274c67.js'; import './unsupportedIterableToArray-137e449b.js'; import React, { useState, useCallback, useMemo, useEffect } from 'react'; import './_commonjsHelpers-97e6d7b1.js'; import { P as PropTypes } from './index-097535f1.js'; import { _ as _defineProperty } f...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildBinary = void 0; const const_1 = require("./const"); const convo = new ArrayBuffer(8); const u8 = new Uint8Array(convo); const f32 = new Float32Array(convo); const f64 = new Float64Array(convo); const encoder = new TextEncoder(); ...
"use strict"; // Require Third-party Dependencies const { remote } = require("electron"); const THREE = require("three"); window.THREE = THREE; // Require Internal Dependencies const GameRenderer = require("./class/GameRenderer.js"); const ModelLoader = require("./class/ModelLoader"); const Scene = require("./class/S...
var util = require('./lib/util'), helpers = require('./lib/bankHelpers'); var generator = { formats: [ { "country": "Andorra", "code": "AD", "bank_code_format": "0 4n 4n", "account_format": "0 12 0 " }, { "country": "Albania", "code": "AL", "bank_code_format": "0 8n 0 ", "account_form...
'use strict'; var getBusinessObject = require('bpmn-js/lib/util/ModelUtil').getBusinessObject, getExtensionElements = require('../../../helper/ExtensionElementsHelper') .getExtensionElements, removeEntry = require('../../../helper/ExtensionElementsHelper').removeEntry, extensionElements = require('./implemen...
"use strict"; const { ServiceMgr } = require("service"); const { ServiceComBus } = require("servicecom"); const rp = require("request-promise"); const moment = require("moment"); const { AsyncEventEmitter } = require("emitter"); const GithubEventEmitter = require("./github_event_emitter"); /* To get started with gith...
import Head from "next/head"; import { useEffect, useRef, useState } from "react"; import Meta from "../meta.json"; import { AnimatePresence, AnimateSharedLayout, motion } from "framer-motion"; const IconInfoPanel = (props) => { const findSimilar = (icon) => { let out = []; Object.keys(props.data).forEach((v...
function globalLigueFormConfig(e) { e = "undefined" == typeof e ? "" : e + " "; var t = [e + " input.not_null", e + " select:visible.not_null", e + " textarea:visible.not_null", e + " input:visible.not_zero", e + " input:visible.not_null_no_trim", e + " textarea:visible.not_null_no_trim"].join(", "); $(t...