hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55f855220ee4d783fd41f69529b6c5bc95e274bb | 1,873 | js | JavaScript | commands/mathdobat.js | SSEUNGDISCORDJS/MIRACLE | 6a5940eb46e28fb214044973d5624270ab557fac | [
"Apache-2.0"
] | null | null | null | commands/mathdobat.js | SSEUNGDISCORDJS/MIRACLE | 6a5940eb46e28fb214044973d5624270ab557fac | [
"Apache-2.0"
] | null | null | null | commands/mathdobat.js | SSEUNGDISCORDJS/MIRACLE | 6a5940eb46e28fb214044973d5624270ab557fac | [
"Apache-2.0"
] | null | null | null |
const Schema = require("../models/도박")
const cooldown = new Set();
module.exports = {
name: "문제",
description: "간단한 수학 문제를 통해 돈을 얻을 수 있어요!",
async execute(message) {
if (cooldown.has(message.author.id)) {
return message.channel.send("**오류 ) 미션 명령어는 3초라는 쿨타임이 존재합니다. 잠시 후 다시 시도해 주세요**");
} else {
cooldown.add(message.author.id);
setTimeout(() => {
cooldown.delete(message.author.id);
}, 3);
}
const emdfhr = await Schema.findOne({ userid: message.author.id })
if (!emdfhr) return message.reply("**오류 ) 등록되지 않은 유저입니다. (!돈)**")
const random1 = Math.floor(Math.random() * 10) + 1
const random2 = Math.floor(Math.random() * 10) + 1
const random3 = Math.floor(Math.random() * 10) + 1
const random4 = Math.floor(Math.random() * 10) + 1
const rufrhk = random1 * random2 + random3 - random4
message.channel.send(`**${random1} x ${random2} + ${random3} - ${random4}의 답은 ? \n( 제한시간 30초 )**`)
try {
const filter = (m) => {
if (m.author !== message.author) return
if (m.content == rufrhk) return true;
else m.react("❌")
}
const wait = await message.channel.awaitMessages({ filter, max: 1, time: 30000, errors: ['time'] }) // time을 바꾸시면 제한시간이 바뀝니다 1000 = 1초
if (wait) {
message.channel.send(`**문제를 맞추셨어요 1000원을 드릴게요 \n현재 잔액 : ${emdfhr.money + 1000}원**`)
await Schema.findOneAndUpdate({ userid: message.author.id }, {
money: emdfhr.money + 1000,
userid: message.author.id,
date: emdfhr.date
})
}
} catch (e) {
return message.channel.send("**시간이 초과되었습니다.*")
}
}
}
| 41.622222 | 146 | 0.516818 |
55f9fedd94648b3c6802572c5eb3fc6c3234a51d | 303 | js | JavaScript | src/components/Loading/index.js | hoquocdat/react-nytimes | 23f663189382ffd3da277bd9f2cb7f6eb8a86576 | [
"MIT"
] | null | null | null | src/components/Loading/index.js | hoquocdat/react-nytimes | 23f663189382ffd3da277bd9f2cb7f6eb8a86576 | [
"MIT"
] | null | null | null | src/components/Loading/index.js | hoquocdat/react-nytimes | 23f663189382ffd3da277bd9f2cb7f6eb8a86576 | [
"MIT"
] | null | null | null | import React from 'react';
const Loading = ({ isLoading }) => {
const classImage = (isLoading) => {
return isLoading ? ` d-block` : ` d-none`;
};
return <img className={`m-auto ${classImage(isLoading)}`} src={require('../../assets/images/spinner.svg')} alt="Loading" />
};
export default Loading; | 30.3 | 124 | 0.643564 |
55fad138fddee94f5ab1decc456eb19ecafaa694 | 940 | js | JavaScript | .github/actions/cache/index.js | lukka/get-vcpkg | 65fdc49089797cb556465e2fc85c6fc3f9234da7 | [
"MIT"
] | null | null | null | .github/actions/cache/index.js | lukka/get-vcpkg | 65fdc49089797cb556465e2fc85c6fc3f9234da7 | [
"MIT"
] | null | null | null | .github/actions/cache/index.js | lukka/get-vcpkg | 65fdc49089797cb556465e2fc85c6fc3f9234da7 | [
"MIT"
] | null | null | null | const fs = require('fs');
const os = require('os');
async function main() {
if (!process.env.GET_VCPKG_PRE_DONE) {
console.log(`:debug::ACTIONS_CACHE_URL=${process.env.ACTIONS_CACHE_URL}`);
console.log(`:debug::ACTIONS_RUNTIME_URL=${process.env.ACTIONS_RUNTIME_URL}`);
console.log(`:debug::ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}`);
const envFile = process.env.GITHUB_ENV;
await fs.promises.appendFile(envFile, `ACTIONS_CACHE_URL=${process.env.ACTIONS_CACHE_URL}${os.EOL}\n`);
await fs.promises.appendFile(envFile, `ACTIONS_RUNTIME_URL=${process.env.ACTIONS_RUNTIME_URL}${os.EOL}`);
await fs.promises.appendFile(envFile, `ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}${os.EOL}`);
await fs.promises.appendFile(envFile, `GET_VCPKG_PRE_DONE=true${os.EOL}`);
}
}
(async () => {
await main();
})().catch(e => {
console.log(e);
});
| 42.727273 | 117 | 0.687234 |
55fbaae5820ab19080562b83033858974696a554 | 1,769 | js | JavaScript | src/www/js/demos/index_edit_table.js | training4developers/backbone_05162016 | 6e4642039a253b61f0115fdd9ee31c5158f5f25c | [
"MIT"
] | null | null | null | src/www/js/demos/index_edit_table.js | training4developers/backbone_05162016 | 6e4642039a253b61f0115fdd9ee31c5158f5f25c | [
"MIT"
] | null | null | null | src/www/js/demos/index_edit_table.js | training4developers/backbone_05162016 | 6e4642039a253b61f0115fdd9ee31c5158f5f25c | [
"MIT"
] | null | null | null | import _ from 'underscore';
import Backbone from 'backbone';
import Widgets from './collections/widgets';
import Widget from './models/widget';
import TableView from './views/table';
import EditView from './views/edit-view';
import WidgetHeaderView from './views/widget-header';
import WidgetDetailView from './views/widget-detail';
var widgets = new Widgets([
new Widget({ id: 1, name: 'clippy', description: 'clippy is huge', color: 'gray', size: 'huge', quantity: 2 }),
new Widget({ id: 2, name: 'cloud', description: 'clippy is pink', color: 'pink', size: 'medium', quantity: 1300 }),
new Widget({ id: 3, name: 'boat', description: 'clippy is small', color: 'black', size: 'small', quantity: 5 })
]);
function AppController() {
var controller = this;
this.handleAction = function(action) {
if (controller.currentView) {
controller.currentView.remove();
controller.currentView = null;
}
switch(action.type) {
case 'edit-row':
controller.currentView = new EditView({
container: '#app'
});
break;
default:
controller.currentView = new TableView({
container: '#app',
collection: action.data,
headerView: WidgetHeaderView,
detailView: WidgetDetailView
});
controller.listenTo(controller.currentView, 'edit-row', function(model) {
console.log('edit row clicked!', JSON.stringify(model.toJSON()));
this.handleAction({
type: 'edit-row',
data: model
});
});
break;
}
controller.currentView.render();
};
this.start = function() {
this.handleAction({
type: 'table',
data: widgets
});
};
}
_.extend(AppController.prototype, Backbone.Events);
var appController = new AppController();
appController.start();
console.dir(appController);
| 23.586667 | 116 | 0.667609 |
55fc5fc5d31ceed00156ab15a07b639832d5878f | 1,858 | js | JavaScript | test/tests.js | rickyeh/nimblecode | bac4c3bb33a8dd28ea6a766c487ff13c73c02f17 | [
"MIT"
] | 2 | 2016-05-04T21:15:17.000Z | 2016-05-11T04:50:52.000Z | test/tests.js | rickyeh/nimblecode | bac4c3bb33a8dd28ea6a766c487ff13c73c02f17 | [
"MIT"
] | null | null | null | test/tests.js | rickyeh/nimblecode | bac4c3bb33a8dd28ea6a766c487ff13c73c02f17 | [
"MIT"
] | null | null | null | var chai = require('chai');
var expect = chai.expect;
var request = require('request');
// var chaiHttp = require('chai-http');
// var db = require('../../server/db/schema');
// var knex = require('knex');
// var userController = require('../../server/controllers/userController');
// chai.use(chaiHttp);
describe('promptController', function(){
it('should return a random JS prompt of type String', function (done) {
request.get('http://localhost:8080/api/getRandomPrompt', function (err, res, body){
expect(body).to.be.a('string');
done();
});
});
it('should return a specific prompt', function (done) {
request.get('http://localhost:8080/api/getPrompt/?puzzleName=16-reduce&lang=py', function (err, res, body){
expect(body).to.equal("import functools\n\nf = lambda x, y: x + y\na = range(10)\nsum = functools.reduce(f, a)\nprint(sum)");
done();
});
});
it('should return a list of all prompts as an object with arrays', function (done) {
request.get('http://localhost:8080/api/getAllPrompts', function (err, res, body){
var listOfPrompts = JSON.parse(body);
expect(listOfPrompts).to.be.a('object');
expect(listOfPrompts.jsFiles).to.be.a('array');
expect(listOfPrompts.pyFiles).to.be.a('array');
expect(listOfPrompts.goFiles).to.be.a('array');
done();
});
});
});
// describe('userController', function(){
// it('should contain signin', function(){
// expect(!!userController.signin).to.be.true;
// });
// it('should contain signup', function(){
// expect(!!userController.signup).to.be.true;
// });
// });
// xdescribe('Database', function(){
// it('should have a users table', function(){
// expect(true).to.be.true;
// });
// it('should have a highscores table', function(){
// expect(true).to.be.true;
// });
// }); | 33.781818 | 131 | 0.625942 |
55fc7f4eff604cf346e8b9724732fd59837590c5 | 635 | js | JavaScript | src/api/user.js | a869057476/test-open-manage | ffe69fbe789d0364d1f194367e2696dcc628d8b8 | [
"MIT"
] | 1 | 2020-06-12T01:21:56.000Z | 2020-06-12T01:21:56.000Z | src/api/user.js | a869057476/test-open-manage | ffe69fbe789d0364d1f194367e2696dcc628d8b8 | [
"MIT"
] | null | null | null | src/api/user.js | a869057476/test-open-manage | ffe69fbe789d0364d1f194367e2696dcc628d8b8 | [
"MIT"
] | 1 | 2019-08-30T01:04:12.000Z | 2019-08-30T01:04:12.000Z | import request from '@/utils/request'
// export function login(data) {
// return request({
// url: '/mock-api/user/login',
// method: 'post',
// data
// })
// }
export function login(data) {
return request({
url: '/sys/login',
method: 'post',
data
})
}
export function getInfo(token) {
return request({
url: '/mock-api/user/info',
method: 'get',
params: { token }
})
}
export function logout() {
return request({
url: '/sys/logOut',
method: 'get'
})
}
export function updatePassword(data) {
return request({
url: '/sys/staffs',
method: 'post',
data
})
}
| 15.487805 | 38 | 0.568504 |
55fc8011c0b424c7cdf59a00f7f68093eea0e13a | 5,406 | js | JavaScript | src/lib/print.js | yaodebian/browser_print | 1b340dd9d568ad086f796edf3821679dde274f8f | [
"MIT"
] | null | null | null | src/lib/print.js | yaodebian/browser_print | 1b340dd9d568ad086f796edf3821679dde274f8f | [
"MIT"
] | null | null | null | src/lib/print.js | yaodebian/browser_print | 1b340dd9d568ad086f796edf3821679dde274f8f | [
"MIT"
] | 1 | 2021-10-05T07:32:11.000Z | 2021-10-05T07:32:11.000Z | const Print = function (dom, options) {
if (!(this instanceof Print)) return new Print(dom, options) // If you call this function directly, here will operate 'new' operator to create a print instace.
// init print config.
this.options = this.extend({
noPrint: 'no-print', // This is a className. You can set it on any tag which you don't want to print it.
noScroll: 'no-scroll', // This is a className. You can set it on any tag which you want to print complete content of it.
printEntity: 'print-entity', // This is a className. You can set it on any tag which you want to change its postion to static.
originalLayout: false, // Whether you want to keep original layout.
themeStyle: '', // Here you can set background css value.
additionalStyle: '' // additional style you want to add. It can be normal css string or a relative url of a css file.
}, options)
// Init the dom which you want to print.
if (!dom) {
dom = 'body'
}
if ((typeof dom) === 'string') {
this.dom = document.querySelector(dom)
} else {
this.dom = this.isDOM(dom) ? dom : dom.$el
}
// Whether to keep original layout.
if (!this.options.originalLayout && this.options.printEntity && this.dom.className.indexOf(this.options.printEntity) === -1) {
this.dom.className += `${this.dom.className ? ' ' : ''}${this.options.printEntity}`
}
// Print the target block on page.
this.init()
}
// Add some prototypes.
Print.prototype = {
// entry of printing
init: function () {
this.getStyle().then(style => {
const content = `
${style}
<div class="body-wrapper"></div>
${this.getHtml()}
`
this.writeIframe(content)
})
},
// get final config obj
extend: function (obj, obj2) {
for (const k in obj2) {
obj[k] = obj2[k]
}
return obj
},
// inherit css on page and add some additional css
getStyle: async function () {
let str = ''
const styles = document.querySelectorAll('style,link')
for (let i = 0; i < styles.length; i++) {
str += styles[i].outerHTML
}
/* get additionalStyle: start point */
let additionalStyle = this.options.additionalStyle // if opt additionalStyle is just a css string, do nothing and add it into our final style string.
// Here I try to filter out some unmatched path.
if (/.*\.css$/.test(additionalStyle) && !/^(([\w\d][\w\d-_]*\/)|(\.{1,2}\/))*([\w\d][\w\d-_]*\.[a-z]+)$/i.test(additionalStyle)) {
throw new Error(`This is not a standard relative path: "${additionalStyle}". Please set a relative path which only contains [a-zA-Z0-9-_].`)
}
try {
if (/.*\.css$/.test(additionalStyle)) { // if opt additionalStyle is a relative path of a css file
additionalStyle = await fetch(additionalStyle).then(response => response.text())
}
} catch (err) {
throw new Error(err)
}
/* get additionalStyle: end point */
str += `
<style>
/* add class style which 'options.noPrint' set */
${this.options.noPrint ? `.${this.options.noPrint}` : '.no-print'} {
display: none !important;
}
/* add class style which 'options.noScroll' set */
${this.options.noScroll ? `.${this.options.noScroll}` : '.no-scroll'} {
width: auto !important;
height: auto !important;
}
/* add class style which 'options.noScroll' set */
${this.options.printEntity ? `.${this.options.printEntity}` : '.print-entity'} {
position: static !important;
}
/* set page theme */
.body-wrapper {
width: 100%;
height: 100%;
background: ${this.options.themeStyle};
position: fixed;
left: 0;
top: 0;
z-index: -9999;
}
/* here is what you set in additionalStyle property */
${additionalStyle}
</style>
`
return str
},
// get final html
getHtml: function () {
return this.dom.outerHTML
},
// write html to frame
writeIframe: function (content) {
// create an iframe element, set some attributes, insert iframe element into body
const iframe = document.createElement('iframe')
iframe.id = 'myIframe'
iframe.style.border = '0 none'
iframe.setAttribute('frameBorder', 0)
iframe.setAttribute('style', 'width:0;height:0;position:absolute;')
document.body.appendChild(iframe)
// get window's iframe object and document object
const w = iframe.contentWindow || iframe.contentDocument
const doc = iframe.contentDocument || iframe.contentWindow.document
// insert the target block's html into frame's body.
doc.open()
doc.write(content)
doc.close()
// When the iframe element is loaded, print the frame block. Remove the iframe element when the print dialog show.
const _this = this
iframe.onload = function () {
_this.print(w, doc)
setTimeout(function () {
document.body.removeChild(iframe)
})
}
},
// print frame
print: function (frameWindow, frameDoc) {
frameWindow.focus()
frameWindow.print()
frameWindow.close()
},
// determine whether the target dom is a dom.
isDOM: function (o) {
return (
typeof HTMLElement === 'object'
? o instanceof HTMLElement // DOM2
: o && typeof o === 'object' && o.nodeType === 1 && typeof o.nodeName === 'string'
)
}
}
export default Print
| 35.103896 | 161 | 0.623751 |
55fcdbdf13f951d8912a6192714969dad1dcbaa7 | 392,034 | js | JavaScript | ingenieria-grupos.js | spelufo/planner | 52fae3d047c12a675fe6ca9c1658028fbb773c7b | [
"MIT"
] | 1 | 2018-12-07T16:48:19.000Z | 2018-12-07T16:48:19.000Z | ingenieria-grupos.js | spelufo/planner | 52fae3d047c12a675fe6ca9c1658028fbb773c7b | [
"MIT"
] | null | null | null | ingenieria-grupos.js | spelufo/planner | 52fae3d047c12a675fe6ca9c1658028fbb773c7b | [
"MIT"
] | null | null | null | groups = [
{
"id": "G_0401",
"min": 1,
"max": 1,
"previas": [
{
"id": "B308",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0402",
"min": 1,
"max": 1,
"previas": [
{
"id": "0402",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP245",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP268",
"nombre": "PROCEDIMIENTOS DE CONSTRUCCION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0402E",
"min": 1,
"max": 1,
"previas": [
{
"id": "0402",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0403",
"min": 1,
"max": 1,
"previas": [
{
"id": "2353",
"nombre": "HORMIGON 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2378",
"nombre": "HORMIGON 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0403",
"nombre": "HORMIGON ARMADO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP248",
"nombre": "HORMIGON ARMADO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T43",
"nombre": "HORMIGON ARMADO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2367",
"nombre": "HORMIGÓN 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0404",
"min": 1,
"max": 1,
"previas": [
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "0404",
"nombre": "GEOTECNICA I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP56",
"nombre": "GEOTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0408C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0408",
"nombre": "HIDROLOGIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0408",
"min": 1,
"max": 1,
"previas": [
{
"id": "0408",
"nombre": "HIDROLOGIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0407",
"nombre": "HIDROLOGIA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2",
"min": 1,
"max": 2,
"previas": [
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0502",
"nombre": "GEOTECNICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0505",
"min": 1,
"max": 1,
"previas": [
{
"id": "0505",
"nombre": "CAMINOS Y CALLES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2232",
"nombre": "CAMINOS Y CALLES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0506C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0506",
"nombre": "TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2504",
"nombre": "TRANSPORTE POR CARRETERA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0506",
"min": 1,
"max": 1,
"previas": [
{
"id": "2500",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2510",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "0506",
"nombre": "TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP260",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0506E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2500",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2510",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0506",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP260",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0507",
"min": 1,
"max": 1,
"previas": [
{
"id": "0507",
"nombre": "PROYECTO DE TRANSPORTE I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2400",
"nombre": "PROYECTO TRANSPORTE 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0508",
"min": 1,
"max": 1,
"previas": [
{
"id": "0508",
"nombre": "CONSTRUCCION PARA ESTRUCTURAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0504",
"nombre": "CONSTRUCCION PARA TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_0521",
"min": 1,
"max": 1,
"previas": [
{
"id": "0521",
"nombre": "OBRAS HIDRAULICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0501",
"nombre": "OBRAS HIDRAULICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1000",
"min": 2,
"max": 4,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CM14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B11",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1058",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "158Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1001",
"min": 4,
"max": 6,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "107L",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1072",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1072L",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "172Q",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "M13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "MA47",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 4
}
]
},
{
"id": "G_1002",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CM14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171L",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1004",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1076",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1008",
"min": 1,
"max": 1,
"previas": [
{
"id": "1008",
"nombre": "MICROPROCESADORES I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "E609",
"nombre": "SISTEMAS DIGITALES I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1009",
"min": 2,
"max": 2,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1058",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1010C",
"min": 2,
"max": 4,
"previas": [
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1010",
"min": 2,
"max": 2,
"previas": [
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1012",
"min": 1,
"max": 3,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP36",
"nombre": "INT. A LA COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP10",
"nombre": "TALLER II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1013",
"min": 1,
"max": 1,
"previas": [
{
"id": "1321",
"nombre": "PROGRAMACION 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP37",
"nombre": "PROGRAMACION I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP15",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1016",
"min": 1,
"max": 1,
"previas": [
{
"id": "1124",
"nombre": "LABORATORIO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP11",
"nombre": "TALLER LABORATORIO I (MODULO DE FISICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1017",
"min": 1,
"max": 3,
"previas": [
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B202",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_101YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A101",
"nombre": "BIOQUIMICA (OPCION III)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A101",
"nombre": "BIOQUIMICA (OPCION III)",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "A404",
"nombre": "BIOQUIMICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1020C",
"min": 1,
"max": 3,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M1020",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MAT33",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1020",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1020E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "107L",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1021",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1022",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1022E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1022Q",
"min": 1,
"max": 1,
"previas": [
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "172Q",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z208",
"nombre": "MATEMÁTICA 104 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1023C",
"min": 5,
"max": 5,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Curso aprobado",
"puntaje": 5
}
]
},
{
"id": "G_1023",
"min": 3,
"max": 6,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Curso aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1023E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1026",
"nombre": "MATEMATICA DISCRETA 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1024C",
"min": 1,
"max": 3,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1024",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1076",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1024E",
"min": 1,
"max": 1,
"previas": [
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1025C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1025",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1072",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA03",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA17",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II (F)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1025E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1075",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1026C",
"min": 5,
"max": 5,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1026",
"nombre": "MATEMATICA DISCRETA 2",
"actividad": "Curso aprobado",
"puntaje": 5
}
]
},
{
"id": "G_1026",
"min": 5,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1026",
"nombre": "MATEMATICA DISCRETA 2",
"actividad": "Examen aprobado",
"puntaje": 5
}
]
},
{
"id": "G_1027",
"min": 1,
"max": 1,
"previas": [
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1028C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1028",
"min": 1,
"max": 1,
"previas": [
{
"id": "B20",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MEC",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1074",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1028E",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028R",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MEC",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1074",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1029",
"min": 5,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Examen aprobado",
"puntaje": 5
}
]
},
{
"id": "G_1029E",
"min": 1,
"max": 1,
"previas": [
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP7",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1029",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1036",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_102Q",
"min": 2,
"max": 2,
"previas": [
{
"id": "154Q",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1154",
"nombre": "FISICA EXPERIMENTAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z308",
"nombre": "FÍSICA 103 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1030C",
"min": 1,
"max": 3,
"previas": [
{
"id": "CM14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171L",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1030",
"min": 1,
"max": 2,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1030E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA02",
"nombre": "ALGEBRA LINEAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA15",
"nombre": "ALGEBRA LINEAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CM14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171L",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1031A",
"min": 2,
"max": 2,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1031C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1058",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1031E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1033",
"min": 1,
"max": 2,
"previas": [
{
"id": "C400",
"nombre": "CALCULO NUMERICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1033",
"nombre": "METODOS NUMERICOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1033E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP16",
"nombre": "CALCULO NUMERICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1033",
"nombre": "METODOS NUMERICOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1036C",
"min": 1,
"max": 1,
"previas": [
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP7",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1029",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1036",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1038",
"min": 1,
"max": 1,
"previas": [
{
"id": "1032",
"nombre": "SISTEMAS DE REFERENCIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1038",
"nombre": "SISTEMAS DE REFERENCIA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1038E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1032",
"nombre": "SISTEMAS DE REFERENCIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1038",
"nombre": "SISTEMAS DE REFERENCIA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_103Q",
"min": 2,
"max": 2,
"previas": [
{
"id": "154Q",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1154",
"nombre": "FISICA EXPERIMENTAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z308",
"nombre": "FÍSICA 103 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1042",
"min": 1,
"max": 1,
"previas": [
{
"id": "1042",
"nombre": "TEORIA DE COD.ALGEBR.PARA CORREC.DE ERR",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1046",
"nombre": "TEORIA DE CODIGOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_104Q",
"min": 1,
"max": 1,
"previas": [
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "172Q",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z208",
"nombre": "MATEMÁTICA 104 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z209",
"nombre": "MATEMÁTICA 108 (ÁLGEBRA Y ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1101",
"min": 3,
"max": 3,
"previas": [
{
"id": "1104",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1103",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1101",
"nombre": "TRATAMIENTO DE SENALES",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1102E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1102",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1410",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1103",
"min": 1,
"max": 1,
"previas": [
{
"id": "1103",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1409",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1101",
"nombre": "TRATAMIENTO DE SENALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1104",
"min": 1,
"max": 1,
"previas": [
{
"id": "1104",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP89",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1101",
"nombre": "TRATAMIENTO DE SENALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1120",
"min": 1,
"max": 2,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1171",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1170",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1121A",
"min": 3,
"max": 3,
"previas": [
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z308",
"nombre": "FÍSICA 103 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1121B",
"min": 3,
"max": 3,
"previas": [
{
"id": "154Q",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1154",
"nombre": "FISICA EXPERIMENTAL 1",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z308",
"nombre": "FÍSICA 103 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1121C",
"min": 3,
"max": 4,
"previas": [
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1121",
"min": 1,
"max": 1,
"previas": [
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1121E",
"min": 1,
"max": 2,
"previas": [
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1121G",
"min": 3,
"max": 3,
"previas": [
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1122C",
"min": 1,
"max": 1,
"previas": [
{
"id": "YFI32",
"nombre": "MECANICA CLASICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B205",
"nombre": "MECANICA II (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1078",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1122",
"min": 1,
"max": 3,
"previas": [
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1122E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP40",
"nombre": "MECANICA GENERAL II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1078",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1123C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1073",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B202",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1123",
"min": 1,
"max": 1,
"previas": [
{
"id": "1073",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B202",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1123E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1073",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B202",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1125",
"min": 1,
"max": 1,
"previas": [
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1125",
"nombre": "INT. A LA OPTICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP21",
"nombre": "OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1125E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1125",
"nombre": "INT. A LA OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP21",
"nombre": "OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1126",
"min": 1,
"max": 1,
"previas": [
{
"id": "1126",
"nombre": "MEC.DE SIST.Y FENOMENOS ONDULATORIOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1127C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1155",
"nombre": "FISICA EXPERIMENTAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1155I",
"nombre": "FISICA EXPERIMENTAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1127",
"nombre": "LABORATORIO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP14",
"nombre": "TALLER LABORATORIO II (MODULO DE FISICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1128C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1126",
"nombre": "MEC.DE SIST.Y FENOMENOS ONDULATORIOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1128",
"min": 1,
"max": 2,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1178",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1128E",
"min": 1,
"max": 2,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1138",
"min": 1,
"max": 1,
"previas": [
{
"id": "1131",
"nombre": "INT. A LA FISICA MODERNA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1138",
"nombre": "INT. A LA FISICA MODERNA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1151E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1152E",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1153",
"min": 3,
"max": 5,
"previas": [
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "YFI02",
"nombre": "FISICA II",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1153E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_121YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA27",
"nombre": "CREDITOS POR PRODUCTOS NATURALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A121",
"nombre": "QUIMICA DE PRODUCTOS NATURALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A121",
"nombre": "QUIMICA DE PRODUCTOS NATURALES",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_1220C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP308",
"nombre": "MODULO:EXPRESION GRAFICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1220",
"nombre": "TALLER DE DISEÑO, COM. Y REPRES. GRAFICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1222",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP19",
"nombre": "ELEMENTOS DEL DERECHO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1222",
"nombre": "INT. AL DERECHO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1223",
"min": 1,
"max": 1,
"previas": [
{
"id": "1223",
"nombre": "CIENCIA, TECNOLOGIA Y SOCIEDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1519",
"nombre": "INT. A LA ADMINISTRACION PARA INGENIEROS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1224C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1221",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1224",
"nombre": "ECONOMIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B102",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP20",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP174",
"nombre": "ECONOMIA Y FINANZAS (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1224",
"min": 1,
"max": 2,
"previas": [
{
"id": "1221",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1224",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B102",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP20",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP174",
"nombre": "ECONOMIA Y FINANZAS (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1226C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1226",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1226",
"min": 3,
"max": 3,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1226",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1226E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1226",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1228",
"min": 1,
"max": 1,
"previas": [
{
"id": "1228",
"nombre": "CIENCIA, TECNOLOGIA Y SOCIEDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP18",
"nombre": "TECNOLOGIA Y SOCIEDAD",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1301C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5900",
"nombre": "INT. A LA TEORIA DE CONTROL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1301",
"nombre": "INT. A LA TEORIA DEL CONTROL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1310",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1310",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2368",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2365",
"nombre": "RESISTENCIA DE MATERIALES 1N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B306",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B33",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP70",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP176",
"nombre": "RESISTENCIA DE MATERIALES I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1311C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1311",
"min": 1,
"max": 1,
"previas": [
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1311E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1312",
"min": 2,
"max": 2,
"previas": [
{
"id": "1312",
"nombre": "RESISTENCIA DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2360",
"nombre": "RESISTENCIA DE MATERIALES 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2369",
"nombre": "RESISTENCIA DE MATERIALES II N",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1313",
"min": 1,
"max": 2,
"previas": [
{
"id": "1312",
"nombre": "RESISTENCIA DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2369",
"nombre": "RESISTENCIA DE MATERIALES II N",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1316",
"min": 1,
"max": 1,
"previas": [
{
"id": "1315",
"nombre": "INT. A LA COMPUTACION GRAFICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1316",
"nombre": "INT. A LA COMPUTACION GRAFICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1317",
"min": 1,
"max": 1,
"previas": [
{
"id": "1317",
"nombre": "SISTEMAS DE INFORMACION GEOGRAFICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP295",
"nombre": "SISTEMAS DE INFORMACION GEOGRAFICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1317E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1317",
"nombre": "SISTEMAS DE INFORMACION GEOGRAFICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP295",
"nombre": "SISTEMAS DE INFORMACION GEOGRAFICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1319",
"min": 1,
"max": 1,
"previas": [
{
"id": "1312",
"nombre": "RESISTENCIA DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2369",
"nombre": "RESISTENCIA DE MATERIALES II N",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1320",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP10",
"nombre": "TALLER II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2",
"min": 1,
"max": 1,
"previas": [
{
"id": "1321",
"nombre": "PROGRAMACION 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP15",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
// Added this group by hand (copy from G_2)
{
"id": "G_1321",
"min": 1,
"max": 1,
"previas": [
{
"id": "1321",
"nombre": "PROGRAMACION 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP15",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1322C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1322",
"min": 1,
"max": 1,
"previas": [
{
"id": "B14",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C202",
"nombre": "TALLER II (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1322E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP10",
"nombre": "TALLER II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1322P",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1323",
"min": 1,
"max": 1,
"previas": [
{
"id": "1323",
"nombre": "PROGRAMACION 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP29",
"nombre": "PROGRAMACION III",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1324C",
"min": 2,
"max": 2,
"previas": [
{
"id": "1324",
"nombre": "PROGRAMACION 4",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP71",
"nombre": "TALLER III ( 2DO.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP30",
"nombre": "TALLER III (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1324E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1324",
"nombre": "PROGRAMACION 4",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP71",
"nombre": "TALLER III ( 2DO.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP30",
"nombre": "TALLER III (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1325E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP33",
"nombre": "TEORIA DE LA PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1325",
"nombre": "TEORIA DE LENGUAJES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1326",
"min": 1,
"max": 1,
"previas": [
{
"id": "1326",
"nombre": "DESARROLLO DE SOFTWARE PARA ING.ELECT.",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1306",
"nombre": "PROGRAMACION ORIENTADA A OBJETOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1307",
"nombre": "PROGRAMACION PARA INGENIERIA ELECTRICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1327",
"min": 2,
"max": 2,
"previas": [
{
"id": "1327",
"nombre": "TALLER DE PROGRAMACION",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP71",
"nombre": "TALLER III ( 2DO.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP30",
"nombre": "TALLER III (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1328",
"min": 1,
"max": 1,
"previas": [
{
"id": "1328",
"nombre": "INT. A LA PROGRAMACION FUNCIONAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1329",
"nombre": "INT. A LA PROGRAMACION LOGICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1340",
"nombre": "PROGRAMACION LOGICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1401C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1401",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "E400",
"nombre": "TEORIA DE CIRCUITOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1401E",
"min": 0,
"max": 5,
"previas": [
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 9
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1029",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1403C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1443",
"nombre": "ARQUITECTURA DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1424",
"nombre": "ARQUITECTURA DE COMPUTADORES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1403",
"min": 3,
"max": 3,
"previas": [
{
"id": "1424",
"nombre": "ARQUITECTURA DE COMPUTADORES 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C300",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_1403E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1443",
"nombre": "ARQUITECTURA DE COMPUTADORAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1444",
"nombre": "ASPECTOS AVANZ. DE ARQ.DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1445",
"nombre": "TALLER DE ARQUITECTURA DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1406C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP364",
"nombre": "COMUNICACION DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1433",
"nombre": "INT. A LAS REDES DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1406",
"nombre": "INT. A LAS REDES DE COMPUTADORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1446",
"nombre": "REDES DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1406E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP364",
"nombre": "COMUNICACION DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1433",
"nombre": "INT. A LAS REDES DE COMPUTADORAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1406",
"nombre": "INT. A LAS REDES DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1446",
"nombre": "REDES DE COMPUTADORAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1407C",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP171",
"nombre": "TEORIA DE CIRCUITOS (P. 74) (PARTE I)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP145",
"nombre": "TEORIA DE CIRCUITOS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1407",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP145",
"nombre": "TEORIA DE CIRCUITOS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1407E",
"min": 2,
"max": 2,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1409C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1103",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1409",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP53",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1101",
"nombre": "TRATAMIENTO DE SENALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP109",
"nombre": "TRATAMIENTO DE SEÑALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1409E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1103",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1409",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP53",
"nombre": "MUESTREO Y PROCESAMIENTO DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1410C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1102",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1410",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP59",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP171",
"nombre": "TEORIA DE CIRCUITOS (P. 74) (PARTE I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1410",
"min": 1,
"max": 1,
"previas": [
{
"id": "1410",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1451",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP59",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP147",
"nombre": "MEDIDAS ELECTRICAS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1410E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1102",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1410",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1451",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP59",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP147",
"nombre": "MEDIDAS ELECTRICAS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1411C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1411",
"min": 1,
"max": 1,
"previas": [
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B315",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1418",
"min": 2,
"max": 2,
"previas": [
{
"id": "1418",
"nombre": "GEODESIA 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1422",
"nombre": "GEODESIA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP297",
"nombre": "GEODESIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP304",
"nombre": "GEODESIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1418E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1418",
"nombre": "GEODESIA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP297",
"nombre": "GEODESIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP304",
"nombre": "GEODESIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1419",
"min": 1,
"max": 1,
"previas": [
{
"id": "1419",
"nombre": "GEODESIA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP300",
"nombre": "GEODESIA SATELITAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1419E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1419",
"nombre": "GEODESIA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP300",
"nombre": "GEODESIA SATELITAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1420E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP292",
"nombre": "CARTOGRAFIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1420",
"nombre": "CARTOGRAFIA MATEMATICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1421E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1421",
"nombre": "GEOFISICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP291",
"nombre": "GEOFISICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1422",
"min": 2,
"max": 2,
"previas": [
{
"id": "1422",
"nombre": "GEODESIA 2",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP297",
"nombre": "GEODESIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP304",
"nombre": "GEODESIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1422E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1422",
"nombre": "GEODESIA 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP297",
"nombre": "GEODESIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP304",
"nombre": "GEODESIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1423",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1423E",
"min": 1,
"max": 2,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E400",
"nombre": "TEORIA DE CIRCUITOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP171",
"nombre": "TEORIA DE CIRCUITOS (P. 74) (PARTE I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1424",
"min": 1,
"max": 1,
"previas": [
{
"id": "1424",
"nombre": "ARQUITECTURA DE COMPUTADORES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C300",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1424E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1443",
"nombre": "ARQUITECTURA DE COMPUTADORAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1424",
"nombre": "ARQUITECTURA DE COMPUTADORES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1425C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1444",
"nombre": "ASPECTOS AVANZ. DE ARQ.DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1446",
"nombre": "REDES DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1445",
"nombre": "TALLER DE ARQUITECTURA DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1425",
"min": 1,
"max": 1,
"previas": [
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1508C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0405",
"nombre": "MATERIALES Y ENSAYOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1508",
"nombre": "MATERIALES Y ENSAYOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1508",
"min": 1,
"max": 2,
"previas": [
{
"id": "0405",
"nombre": "MATERIALES Y ENSAYOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1508",
"nombre": "MATERIALES Y ENSAYOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1509",
"min": 1,
"max": 1,
"previas": [
{
"id": "1509",
"nombre": "TOPOGRAFIA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP296",
"nombre": "TOPOGRAFIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1509E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1509",
"nombre": "TOPOGRAFIA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP296",
"nombre": "TOPOGRAFIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1510C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1901",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP102",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1511",
"min": 1,
"max": 1,
"previas": [
{
"id": "1511",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1518",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1532",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1537",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C350",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP31",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1511E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1511",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1518",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1532",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1537",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C350",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP31",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_91E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1534",
"nombre": "DISEÑO LOGICO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1512",
"min": 1,
"max": 2,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP169",
"nombre": "ELECTRONICA I (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1512E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP169",
"nombre": "ELECTRONICA I (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1513C",
"min": 2,
"max": 2,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1513*",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1513",
"min": 2,
"max": 2,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1513E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP169",
"nombre": "ELECTRONICA I (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1521",
"min": 1,
"max": 1,
"previas": [
{
"id": "1521",
"nombre": "TEORIA DE ERRORES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP219",
"nombre": "TEORIA DE LAS OBSERVACIONES I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1521E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1521",
"nombre": "TEORIA DE ERRORES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP219",
"nombre": "TEORIA DE LAS OBSERVACIONES I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1522",
"min": 1,
"max": 1,
"previas": [
{
"id": "1522",
"nombre": "TEORIA DE ERRORES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP281",
"nombre": "TEORIA DE OBSERVACIONES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1522E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1522",
"nombre": "TEORIA DE ERRORES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP281",
"nombre": "TEORIA DE OBSERVACIONES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1524",
"min": 1,
"max": 1,
"previas": [
{
"id": "1524",
"nombre": "TOPOGRAFIA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP296",
"nombre": "TOPOGRAFIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1524E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1524",
"nombre": "TOPOGRAFIA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP296",
"nombre": "TOPOGRAFIA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1525",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP298",
"nombre": "TOPOGRAFIA III",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1525",
"nombre": "TRAZADO DE CAMINOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1525E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP298",
"nombre": "TOPOGRAFIA III",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1525",
"nombre": "TRAZADO DE CAMINOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1526",
"min": 2,
"max": 2,
"previas": [
{
"id": "1520",
"nombre": "TEORIA DE INSTRUMENTAL",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1526",
"nombre": "TEORIA DE INSTRUMENTAL",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1526E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1520",
"nombre": "TEORIA DE INSTRUMENTAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1526",
"nombre": "TEORIA DE INSTRUMENTAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP305",
"nombre": "TOPOGRAFIA I (1ERA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP279",
"nombre": "TOPOGRAFIA I (2DA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1527",
"min": 2,
"max": 2,
"previas": [
{
"id": "1523",
"nombre": "TOPOGRAFIA 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1527",
"nombre": "TOPOGRAFIA 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP305",
"nombre": "TOPOGRAFIA I (1ERA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP279",
"nombre": "TOPOGRAFIA I (2DA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1527E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1523",
"nombre": "TOPOGRAFIA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1527",
"nombre": "TOPOGRAFIA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP305",
"nombre": "TOPOGRAFIA I (1ERA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP279",
"nombre": "TOPOGRAFIA I (2DA. PARTE)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1532C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1511",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1518",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1532",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C350",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1610E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1610",
"nombre": "INT. A LA INVESTIGACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP27",
"nombre": "INVESTIGACION OPERATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1611",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP284",
"nombre": "INFORMACION Y ANALISIS RURAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1611",
"nombre": "INT. AL ANALISIS RURAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1611E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP284",
"nombre": "INFORMACION Y ANALISIS RURAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1611",
"nombre": "INT. AL ANALISIS RURAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1612",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP289",
"nombre": "ASTRONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1612",
"nombre": "ASTRONOMIA GEODESICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1612E",
"min": 1,
"max": 1,
"previas": [
{
"id": "4703",
"nombre": "ASTRONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP289",
"nombre": "ASTRONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1612",
"nombre": "ASTRONOMIA GEODESICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1614",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP285",
"nombre": "AVALUACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1614",
"nombre": "AVALUACIONES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1614E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP285",
"nombre": "AVALUACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1614",
"nombre": "AVALUACIONES 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1616",
"min": 1,
"max": 1,
"previas": [
{
"id": "1616",
"nombre": "ELEMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP286",
"nombre": "ELEMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1618",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP285",
"nombre": "AVALUACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1618",
"nombre": "AVALUACIONES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1618E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP285",
"nombre": "AVALUACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1618",
"nombre": "AVALUACIONES 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1619",
"min": 1,
"max": 1,
"previas": [
{
"id": "1619",
"nombre": "CATASTRO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP287",
"nombre": "CATASTRO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1619E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1619",
"nombre": "CATASTRO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP287",
"nombre": "CATASTRO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1620A",
"min": 1,
"max": 1,
"previas": [
{
"id": "1620",
"nombre": "PRINCIPIOS DE QUIMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B307",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP120",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YME12",
"nombre": "QUIMICA GENERAL (2007 - 2013)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YBG1",
"nombre": "QUIMICA I (2013-",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B13",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP119",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1620C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1620",
"nombre": "PRINCIPIOS DE QUIMICA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP120",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP119",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1620",
"min": 1,
"max": 1,
"previas": [
{
"id": "1620",
"nombre": "PRINCIPIOS DE QUIMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B307",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP120",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B13",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP119",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1620E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1620",
"nombre": "PRINCIPIOS DE QUIMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP120",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1700",
"min": 1,
"max": 1,
"previas": [
{
"id": "0508",
"nombre": "CONSTRUCCION PARA ESTRUCTURAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP246",
"nombre": "CONSTRUCCION PARA ESTRUCTURAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1700",
"nombre": "PROCEDIMIENTOS CONST.PARA ESTRUCTURAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1700E",
"min": 1,
"max": 1,
"previas": [
{
"id": "0508",
"nombre": "CONSTRUCCION PARA ESTRUCTURAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP246",
"nombre": "CONSTRUCCION PARA ESTRUCTURAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1700",
"nombre": "PROCEDIMIENTOS CONST.PARA ESTRUCTURAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1701",
"min": 1,
"max": 3,
"previas": [
{
"id": "1701",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1723",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1702",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1702",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1703",
"min": 1,
"max": 1,
"previas": [
{
"id": "1719",
"nombre": "METALURGIA FISICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1703",
"nombre": "METALURGIA FISICA I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1703E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1719",
"nombre": "METALURGIA FISICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1703",
"nombre": "METALURGIA FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP136",
"nombre": "METALURGIA FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1708C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1714",
"nombre": "MECANICA DE LOS MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1310",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2368",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2365",
"nombre": "RESISTENCIA DE MATERIALES 1N",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP70",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1708E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1714",
"nombre": "MECANICA DE LOS MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1310",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2365",
"nombre": "RESISTENCIA DE MATERIALES 1N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP70",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1708N",
"min": 2,
"max": 2,
"previas": [
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1714C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1714",
"nombre": "MECANICA DE LOS MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1715C",
"min": 1,
"max": 2,
"previas": [
{
"id": "0402",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP245",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP268",
"nombre": "PROCEDIMIENTOS DE CONSTRUCCION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1715",
"min": 1,
"max": 1,
"previas": [
{
"id": "0402",
"nombre": "FUNDAMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP268",
"nombre": "PROCEDIMIENTOS DE CONSTRUCCION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1716C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1716",
"nombre": "INT. A LA INGENIERIA DE SOFTWARE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP363",
"nombre": "TALLER IV (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C402",
"nombre": "TALLER IV (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1716",
"min": 2,
"max": 2,
"previas": [
{
"id": "1716",
"nombre": "INT. A LA INGENIERIA DE SOFTWARE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1721",
"nombre": "PROYECTO DE INGENIERIA DE SOFTWARE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C402",
"nombre": "TALLER IV (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1716E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1716",
"nombre": "INT. A LA INGENIERIA DE SOFTWARE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP366",
"nombre": "TALLER IV (2DO.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1717C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1717",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP133",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1719",
"min": 1,
"max": 1,
"previas": [
{
"id": "1719",
"nombre": "METALURGIA FISICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP136",
"nombre": "METALURGIA FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1720",
"min": 1,
"max": 1,
"previas": [
{
"id": "1705",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1720",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1720E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1705",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1720",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1721",
"min": 1,
"max": 1,
"previas": [
{
"id": "1721",
"nombre": "PROYECTO DE INGENIERIA DE SOFTWARE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP363",
"nombre": "TALLER IV (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1722",
"min": 1,
"max": 1,
"previas": [
{
"id": "1704",
"nombre": "TEORIA DE MAQUINAS Y MECANISMOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1722",
"nombre": "TEORIA DE MAQUINAS Y MECANISMOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1723C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1701",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1723",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1723",
"min": 1,
"max": 1,
"previas": [
{
"id": "1701",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1723",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1724",
"min": 1,
"max": 1,
"previas": [
{
"id": "1724",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP139",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1724E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1706",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1724",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP139",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1734",
"min": 1,
"max": 2,
"previas": [
{
"id": "1751",
"nombre": "TALLER DE SISTEMAS DE INFORMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1734",
"nombre": "TALLER SISTEMAS DE INFORMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1735",
"nombre": "TALLER SISTEMAS DE INFORMACION 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1749",
"min": 1,
"max": 1,
"previas": [
{
"id": "1315",
"nombre": "INT. A LA COMPUTACION GRAFICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1736",
"nombre": "INT. A LA INTERAC. PERSONA COMPUTADORA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1749",
"nombre": "INTERACCION PERSONA COMPUTADORA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1764C",
"min": 2,
"max": 3,
"previas": [
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1764E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1764N",
"min": 3,
"max": 3,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1805C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B32",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1805",
"min": 1,
"max": 1,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B32",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1806",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP288",
"nombre": "FOTOGRAMETRIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1806",
"nombre": "FOTOINTERPRETACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1806E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP288",
"nombre": "FOTOGRAMETRIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1806",
"nombre": "FOTOINTERPRETACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1807",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP288",
"nombre": "FOTOGRAMETRIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1807",
"nombre": "FOTOGRAMETRIA Y PERCEPCION REMOTA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1807E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP288",
"nombre": "FOTOGRAMETRIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1807",
"nombre": "FOTOGRAMETRIA Y PERCEPCION REMOTA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1808E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP222",
"nombre": "HIDRAULICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1833",
"nombre": "HIDROLOGIA E HIDRAULICA APLICADAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1808M",
"min": 2,
"max": 2,
"previas": [
{
"id": "2261",
"nombre": "ELEMENTOS DE RIEGO Y PRESAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1809",
"min": 1,
"max": 1,
"previas": [
{
"id": "1809",
"nombre": "ENERGIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1850",
"nombre": "ENERGIA 1- COMBUSTION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1601",
"nombre": "ENERGIA I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP127",
"nombre": "ENERGIA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1809E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1809",
"nombre": "ENERGIA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1850",
"nombre": "ENERGIA 1- COMBUSTION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1601",
"nombre": "ENERGIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP127",
"nombre": "ENERGIA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1810C",
"min": 6,
"max": 6,
"previas": [
{
"id": "1837",
"nombre": "COMPLEMENTOS DE HIDRAULICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 4
},
{
"id": "1838",
"nombre": "COMPLEMENTOS DE HIDROLOGIA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Curso aprobado",
"puntaje": 4
},
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1833",
"nombre": "HIDROLOGIA E HIDRAULICA APLICADAS",
"actividad": "Curso aprobado",
"puntaje": 6
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1810",
"min": 1,
"max": 1,
"previas": [
{
"id": "1602",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP128",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1810E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1602",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP128",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1815E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1604",
"nombre": "GENERADORES DE VAPOR",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1815",
"nombre": "GENERADORES DE VAPOR",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP130",
"nombre": "GENERADORES DE VAPOR",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1817",
"min": 1,
"max": 1,
"previas": [
{
"id": "1817",
"nombre": "AGRIMENSURA LEGAL 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP283",
"nombre": "AGRIMENSURA LEGAL II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1817E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1817",
"nombre": "AGRIMENSURA LEGAL 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP283",
"nombre": "AGRIMENSURA LEGAL II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1819C",
"min": 1,
"max": 2,
"previas": [
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1823C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1823",
"nombre": "TRANSFERENCIA DE CALOR 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1823",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1823",
"nombre": "TRANSFERENCIA DE CALOR 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1823E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1602",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP128",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1824C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1824",
"nombre": "TRANSFERENCIA DE CALOR 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1824",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1823",
"nombre": "TRANSFERENCIA DE CALOR 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1824",
"nombre": "TRANSFERENCIA DE CALOR 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1824E",
"min": 2,
"max": 2,
"previas": [
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1823",
"nombre": "TRANSFERENCIA DE CALOR 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1824",
"nombre": "TRANSFERENCIA DE CALOR 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1824G",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1824",
"nombre": "TRANSFERENCIA DE CALOR 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1833C",
"min": 3,
"max": 3,
"previas": [
{
"id": "1602",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP128",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1833",
"nombre": "HIDROLOGIA E HIDRAULICA APLICADAS",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "CP122",
"nombre": "HIDROLOGIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1833",
"min": 6,
"max": 6,
"previas": [
{
"id": "1837",
"nombre": "COMPLEMENTOS DE HIDRAULICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 4
},
{
"id": "1838",
"nombre": "COMPLEMENTOS DE HIDROLOGIA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Curso aprobado",
"puntaje": 4
},
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "1833",
"nombre": "HIDROLOGIA E HIDRAULICA APLICADAS",
"actividad": "Curso aprobado",
"puntaje": 6
}
]
},
{
"id": "G_1833E",
"min": 6,
"max": 6,
"previas": [
{
"id": "1837",
"nombre": "COMPLEMENTOS DE HIDRAULICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1838",
"nombre": "COMPLEMENTOS DE HIDROLOGIA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1800",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1833",
"nombre": "HIDROLOGIA E HIDRAULICA APLICADAS",
"actividad": "Examen aprobado",
"puntaje": 6
}
]
},
{
"id": "G_1836E",
"min": 3,
"max": 3,
"previas": [
{
"id": "1837",
"nombre": "COMPLEMENTOS DE HIDRAULICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1808",
"nombre": "HIDRAULICA DE CONDUCCION A SUPERF LIBRE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1819",
"nombre": "HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1836",
"nombre": "HIDROLOGIA AVANZADA I",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_183E2",
"min": 3,
"max": 4,
"previas": [
{
"id": "1842",
"nombre": "COMPLEMENTOS DE HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1841",
"nombre": "COMPLEMENTOS DE HIDROLOGIA ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1836",
"nombre": "HIDROLOGIA AVANZADA I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1813",
"nombre": "HIDROLOGIA SUBTERRANEA",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_183E3",
"min": 3,
"max": 4,
"previas": [
{
"id": "1842",
"nombre": "COMPLEMENTOS DE HIDROLOGIA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1840",
"nombre": "COMPLEMENTOS DE HIDROLOGIA SUBTERRANEA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1836",
"nombre": "HIDROLOGIA AVANZADA I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "2262",
"nombre": "HIDROLOGIA ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_1843C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1846",
"nombre": "HIDRAULICA MARITIMA Y COSTERA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1843",
"nombre": "REPRESAS Y CANALES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1851C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2318",
"nombre": "SIST. DISTRIB.DE AGUA POT.Y SANEAM.POBL.",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1851",
"nombre": "SISTEMAS DE CONDUCCION EN ING.SANITARIA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1851E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2318",
"nombre": "SIST. DISTRIB.DE AGUA POT.Y SANEAM.POBL.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1851",
"nombre": "SISTEMAS DE CONDUCCION EN ING.SANITARIA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1853C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2300",
"nombre": "AGUA POTABLE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1853",
"nombre": "POTABILIZACION DE AGUAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2317",
"nombre": "TRATAMIENTO DE AGUA POTABLE",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1853E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2300",
"nombre": "AGUA POTABLE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1853",
"nombre": "POTABILIZACION DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2317",
"nombre": "TRATAMIENTO DE AGUA POTABLE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1854",
"min": 1,
"max": 1,
"previas": [
{
"id": "1854",
"nombre": "CALIDAD DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2259",
"nombre": "FUND. DE ING. Y SALUD AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1901C",
"min": 1,
"max": 2,
"previas": [
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1901",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP102",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1901",
"min": 1,
"max": 1,
"previas": [
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1901",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP102",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1902",
"min": 1,
"max": 1,
"previas": [
{
"id": "1912",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1902",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1903",
"min": 1,
"max": 1,
"previas": [
{
"id": "1903",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1922",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1923",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1909E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2241",
"nombre": "ADMINISTRACION DE EMPRESAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1909",
"nombre": "ADMINISTRACION GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1519",
"nombre": "INT. A LA ADMINISTRACION PARA INGENIEROS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1507",
"nombre": "INT. A LAS ORGANIZACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1930",
"nombre": "ORGANIZACIONES PARA INGENIEROS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1514",
"nombre": "ORGANIZACIONES Y SU ADMINISTRACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1910",
"min": 1,
"max": 1,
"previas": [
{
"id": "1910",
"nombre": "AGRIMENSURA LEGAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP282",
"nombre": "AGRIMENSURA LEGAL I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1910E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1910",
"nombre": "AGRIMENSURA LEGAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP282",
"nombre": "AGRIMENSURA LEGAL I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1911C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP362",
"nombre": "BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1911",
"nombre": "FUNDAMENTOS DE BASES DE DATOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1911E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP362",
"nombre": "BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1911",
"nombre": "FUNDAMENTOS DE BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1912",
"min": 1,
"max": 1,
"previas": [
{
"id": "1912",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1902",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1913",
"min": 1,
"max": 1,
"previas": [
{
"id": "1913",
"nombre": "AGRIMENSURA LEGAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP283",
"nombre": "AGRIMENSURA LEGAL II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1913E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1913",
"nombre": "AGRIMENSURA LEGAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP283",
"nombre": "AGRIMENSURA LEGAL II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1915",
"min": 1,
"max": 2,
"previas": [
{
"id": "1908",
"nombre": "ADMINISTRACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1915",
"nombre": "ADMINISTRACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1918",
"min": 8,
"max": 6,
"previas": [
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "GA10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1921",
"nombre": "GESTION DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1519",
"nombre": "INT. A LA ADMINISTRACION PARA INGENIEROS",
"actividad": "Curso aprobado",
"puntaje": 10
},
{
"id": "1519",
"nombre": "INT. A LA ADMINISTRACION PARA INGENIEROS",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1507",
"nombre": "INT. A LAS ORGANIZACIONES",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1514",
"nombre": "ORGANIZACIONES Y SU ADMINISTRACION",
"actividad": "Curso aprobado",
"puntaje": 10
},
{
"id": "1514",
"nombre": "ORGANIZACIONES Y SU ADMINISTRACION",
"actividad": "Examen aprobado",
"puntaje": 10
}
]
},
{
"id": "G_1919",
"min": 1,
"max": 1,
"previas": [
{
"id": "1919",
"nombre": "INTEROPERABILIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1931",
"nombre": "SISTEMAS MULTIFUENTES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1922",
"min": 1,
"max": 1,
"previas": [
{
"id": "1903",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1922",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1940E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1921",
"nombre": "GESTION DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1940",
"nombre": "GESTION DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_1944",
"min": 1,
"max": 1,
"previas": [
{
"id": "2241",
"nombre": "ADMINISTRACION DE EMPRESAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1944",
"nombre": "ADMINISTRACION GENERAL PARA INGENIEROS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2004",
"min": 0,
"max": 0,
"previas": [
{
"id": "2241",
"nombre": "ADMINISTRACION DE EMPRESAS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1908",
"nombre": "ADMINISTRACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1915",
"nombre": "ADMINISTRACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2303",
"nombre": "ALISTAMIENTO DE BUQUES I",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2702",
"nombre": "APLICACIONES DE CONTROL E INSTRUM.IND.",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "2801",
"nombre": "ARQUITECTURA NAVAL I",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "C400",
"nombre": "CALCULO NUMERICO",
"actividad": "Examen aprobado",
"puntaje": 14
},
{
"id": "1904",
"nombre": "COMERCIALIZACION",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1924",
"nombre": "COMERCIALIZACION",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1702",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "2306",
"nombre": "CONSTRUCCION NAVAL II",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1901",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2701",
"nombre": "CONTROL E INSTRUMENTACION INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "E611",
"nombre": "CONTROL II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "3002",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "REV4",
"nombre": "CORROSION INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "1903",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1922",
"nombre": "COSTOS PARA INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "REV5",
"nombre": "CREDITOS ADICIONALES",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1718",
"nombre": "DINAMICA DE MAQUINAS Y VIBRACION",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1707",
"nombre": "DINAMICA DE MAQUINAS Y VIBRACIONES",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "B311",
"nombre": "ELECTROMAGNETISMO II",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 20
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 9
},
{
"id": "2103",
"nombre": "ELECTROTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 9
},
{
"id": "2244",
"nombre": "ELEMENTOS DE GESTION LOGISTICA",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1705",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1720",
"nombre": "ELEMENTOS DE MAQUINAS",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1809",
"nombre": "ENERGIA 1",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1811",
"nombre": "ENERGIA 2",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1816",
"nombre": "ENERGIA 3",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1601",
"nombre": "ENERGIA I",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1605",
"nombre": "ENERGIA II",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1608",
"nombre": "ENERGIA III",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "2600",
"nombre": "ESTRUCTURAS DE BUQUES",
"actividad": "Examen aprobado",
"puntaje": 20
},
{
"id": "REV1",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "1602",
"nombre": "FLUIDO MAQUINAS I",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1603",
"nombre": "FLUIDO MAQUINAS II",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "1609",
"nombre": "FLUIDO MAQUINAS II",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1604",
"nombre": "GENERADORES DE VAPOR",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1815",
"nombre": "GENERADORES DE VAPOR",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1906",
"nombre": "GESTION DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1921",
"nombre": "GESTION DE CALIDAD",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1920",
"nombre": "GESTION DE MANTENIMIENTO",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1803",
"nombre": "GESTION DE PROYECTO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1905",
"nombre": "GESTION DEL MANTENIMIENTO",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1907",
"nombre": "HIGIENE Y SEGURIDAD INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "5503",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "E507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1701",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1723",
"nombre": "INT. A LA CIENCIA DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1912",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1902",
"nombre": "INT. A LA INGENIERIA INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1610",
"nombre": "INT. A LA INVESTIGACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1725",
"nombre": "INT. A LA TECNOLOGIA CERAMICA",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "Q606",
"nombre": "INT. A LA TECNOLOGIA CERAMICA",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "Q614",
"nombre": "INT. A LA TECNOLOGIA CERAMICA",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "1301",
"nombre": "INT. A LA TEORIA DEL CONTROL",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1801",
"nombre": "INT. A LOS METODOS NUMERICOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2008",
"nombre": "INT. AL CAD-CAM",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "C450",
"nombre": "INVESTIGACION OPERATIVA",
"actividad": "Examen aprobado",
"puntaje": 14
},
{
"id": "2401",
"nombre": "LEGISLACION Y RELACIONES INDUSTRIALES",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "2201",
"nombre": "MAQUINARIA NAVAL I",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "E612",
"nombre": "MAQUINAS ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E614",
"nombre": "MAQUINAS ELECTRICAS III",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1810",
"nombre": "MAQUINAS PARA FLUIDOS 1",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1814",
"nombre": "MAQUINAS PARA FLUIDOS 2",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1711",
"nombre": "MATERIALES COMPUESTOS",
"actividad": "Curso aprobado",
"puntaje": 8
},
{
"id": "1727",
"nombre": "MATERIALES COMPUESTOS",
"actividad": "Curso aprobado",
"puntaje": 8
},
{
"id": "1102",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 13
},
{
"id": "1706",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1724",
"nombre": "METALURGIA DE TRANSFORMACION",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1719",
"nombre": "METALURGIA FISICA",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1703",
"nombre": "METALURGIA FISICA I",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "1033",
"nombre": "METODOS NUMERICOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1607",
"nombre": "MOTORES DE COMB.INT.Y TURBINAS DE GAS",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1818",
"nombre": "MOTORES DE COMBUSTION INTERNA",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "1514",
"nombre": "ORGANIZACIONES Y SU ADMINISTRACION",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "2002",
"nombre": "PASANTIA",
"actividad": "Curso aprobado",
"puntaje": 20
},
{
"id": "2004",
"nombre": "PROYECTO",
"actividad": "Examen aprobado",
"puntaje": 30
},
{
"id": "2902",
"nombre": "PROYECTO DE INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "5504",
"nombre": "PROYECTO DE INSTALACIONES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 8
},
{
"id": "REV2",
"nombre": "QUIMICA FISICA",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "REV3",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "1606",
"nombre": "REFRIGERACION",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1615",
"nombre": "REFRIGERACION",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2305",
"nombre": "REPARACIONES NAVALES",
"actividad": "Examen aprobado",
"puntaje": 10
},
{
"id": "B306",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "REV12",
"nombre": "REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 12
},
{
"id": "REV6",
"nombre": "REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "REV8",
"nombre": "REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1804",
"nombre": "RUTEO DE VEHICULOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 26
},
{
"id": "2200",
"nombre": "SISTEMAS OLEOHIDR. Y NEUMATICOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1712",
"nombre": "SISTEMAS OLEOHIDRAULICOS Y NEUMATICOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "2001",
"nombre": "TALLER",
"actividad": "Curso aprobado",
"puntaje": 4
},
{
"id": "2017",
"nombre": "TALLER",
"actividad": "Curso aprobado",
"puntaje": 6
},
{
"id": "1710",
"nombre": "TEORIA DE DISEÑO",
"actividad": "Curso aprobado",
"puntaje": 8
},
{
"id": "1704",
"nombre": "TEORIA DE MAQUINAS Y MECANISMOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1722",
"nombre": "TEORIA DE MAQUINAS Y MECANISMOS",
"actividad": "Examen aprobado",
"puntaje": 8
},
{
"id": "1709",
"nombre": "TRABAJOS ESPECIALES EN METALURGIA",
"actividad": "Curso aprobado",
"puntaje": 10
},
{
"id": "1726",
"nombre": "TRABAJOS ESPECIALES EN METALURGIA",
"actividad": "Curso aprobado",
"puntaje": 10
},
{
"id": "1713",
"nombre": "TRANSPORTE INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 8
}
]
},
{
"id": "G_2017",
"min": 1,
"max": 1,
"previas": [
{
"id": "2001",
"nombre": "TALLER",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2017",
"nombre": "TALLER",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2043",
"min": 1,
"max": 1,
"previas": [
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_2101",
"min": 3,
"max": 3,
"previas": [
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2103",
"nombre": "ELECTROTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2105",
"nombre": "ELECTROTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2108",
"nombre": "ELECTROTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_2102C",
"min": 1,
"max": 3,
"previas": [
{
"id": "2104R",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP328",
"nombre": "ELECTROTECNICA (MECANICA P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2108",
"nombre": "ELECTROTECNICA I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2102",
"min": 1,
"max": 1,
"previas": [
{
"id": "2104R",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2108",
"nombre": "ELECTROTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2102E",
"min": 2,
"max": 2,
"previas": [
{
"id": "E12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2103",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2105",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2103C",
"min": 3,
"max": 3,
"previas": [
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "2103",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2105",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2104C",
"min": 1,
"max": 1,
"previas": [
{
"id": "E12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2104",
"min": 1,
"max": 1,
"previas": [
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2108",
"nombre": "ELECTROTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2108",
"min": 1,
"max": 1,
"previas": [
{
"id": "2105",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2108",
"nombre": "ELECTROTECNICA I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2123",
"min": 1,
"max": 2,
"previas": []
},
{
"id": "G_2204E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0404",
"nombre": "GEOTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP56",
"nombre": "GEOTECNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2205C",
"min": 3,
"max": 4,
"previas": [
{
"id": "CP271",
"nombre": "ESTRUCTURAS ESPECIALES (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "CP253",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "0502",
"nombre": "GEOTECNICA II",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "CP272",
"nombre": "MECANICA DE SUELOS Y ROCAS (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_91",
"min": 1,
"max": 1,
"previas": [
{
"id": "2205",
"nombre": "GEOTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0502",
"nombre": "GEOTECNICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2206C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP253",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T46",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2206",
"min": 1,
"max": 1,
"previas": [
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP253",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T46",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2207C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2205",
"nombre": "GEOTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP118",
"nombre": "GEOTECNICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2207",
"nombre": "INT. A LA MECANICA DE SUELOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2207",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP253",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2205",
"nombre": "GEOTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2207",
"nombre": "INT. A LA MECANICA DE SUELOS",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_2231",
"min": 1,
"max": 1,
"previas": [
{
"id": "2231",
"nombre": "CAMINOS Y CALLES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2351",
"nombre": "TECNOLOGIA DE HORMIGON",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2371",
"nombre": "TECNOLOGIA DEL HORMIGON",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2232C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0505",
"nombre": "CAMINOS Y CALLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP259",
"nombre": "CAMINOS Y CALLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2232",
"nombre": "CAMINOS Y CALLES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2232",
"min": 1,
"max": 1,
"previas": [
{
"id": "0505",
"nombre": "CAMINOS Y CALLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP259",
"nombre": "CAMINOS Y CALLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2232",
"nombre": "CAMINOS Y CALLES 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2240C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0608",
"nombre": "COSTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2240",
"nombre": "COSTOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2242E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2242",
"nombre": "PLANIFICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP293",
"nombre": "PLANIFICACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2245E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2245",
"nombre": "URBANISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP294",
"nombre": "URBANISMO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_224HS",
"min": 4,
"max": 0,
"previas": [
{
"id": "A613",
"nombre": "AVANCES EN ING. DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 16
},
{
"id": "A611",
"nombre": "BIO.E IDENT.HONGOS CONTAM.ALIM.MICOTOXI.",
"actividad": "Curso aprobado",
"puntaje": 80
},
{
"id": "A103",
"nombre": "BIOTECNOLOGIA MARINA",
"actividad": "Curso aprobado",
"puntaje": 91
},
{
"id": "A110",
"nombre": "CIENCIA Y TECNOLOGIA DE LA LECHE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "100HS",
"nombre": "CURSO REALIZADO EN UNIVER. DE LA PLATA",
"actividad": "Examen aprobado",
"puntaje": 100
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 56
},
{
"id": "2101",
"nombre": "ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 84
},
{
"id": "2102",
"nombre": "ELECTROTECNICA 1",
"actividad": "Curso aprobado",
"puntaje": 58
},
{
"id": "2104",
"nombre": "ELECTROTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 58
},
{
"id": "2103",
"nombre": "ELECTROTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 58
},
{
"id": "2105",
"nombre": "ELECTROTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 58
},
{
"id": "A402",
"nombre": "ENOLOGIA",
"actividad": "Curso aprobado",
"puntaje": 84
},
{
"id": "A98",
"nombre": "ENOLOGIA",
"actividad": "Curso aprobado",
"puntaje": 60
},
{
"id": "A612",
"nombre": "ENVASADO DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 30
},
{
"id": "A401",
"nombre": "EVALUACION SENSORIAL DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 77
},
{
"id": "A610",
"nombre": "HIGIENE DE LOS ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 52
},
{
"id": "50HS",
"nombre": "HORAS ASIGNADAS POR CONVENIO",
"actividad": "Examen aprobado",
"puntaje": 50
},
{
"id": "90HS",
"nombre": "HORAS POR CONVENIO",
"actividad": "Examen aprobado",
"puntaje": 90
},
{
"id": "Q401",
"nombre": "LABORATORIO DE PROCESOS FISICOS",
"actividad": "Curso aprobado",
"puntaje": 15
},
{
"id": "1402",
"nombre": "MECANICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 70
},
{
"id": "A605",
"nombre": "METODOS CUANTITATIVOS AVANZADOS",
"actividad": "Curso aprobado",
"puntaje": 70
},
{
"id": "A609",
"nombre": "NUTRICION 1",
"actividad": "Curso aprobado",
"puntaje": 42
},
{
"id": "A606",
"nombre": "PRODUCTOS NATURALES",
"actividad": "Curso aprobado",
"puntaje": 86
},
{
"id": "A104",
"nombre": "TECNOLOGIA DE FRUTAS Y HORTALIZAS",
"actividad": "Examen aprobado",
"puntaje": 84
},
{
"id": "A504",
"nombre": "TECNOLOGIA DE FRUTAS Y HORTALIZAS",
"actividad": "Curso aprobado",
"puntaje": 84
},
{
"id": "A608",
"nombre": "TECNOLOGIA DE GRASAS Y ACEITES",
"actividad": "Curso aprobado",
"puntaje": 98
},
{
"id": "A615",
"nombre": "TECNOLOGIA DE GRASAS Y ACEITES",
"actividad": "Examen aprobado",
"puntaje": 98
},
{
"id": "A107",
"nombre": "TECNOLOGIA DE LA CARNE",
"actividad": "Curso aprobado",
"puntaje": 84
},
{
"id": "A116",
"nombre": "TECNOLOGIA DE LA LECHE",
"actividad": "Curso aprobado",
"puntaje": 63
},
{
"id": "A96",
"nombre": "TECNOLOGIA DE PRODUCTOS PESQUEROS",
"actividad": "Curso aprobado",
"puntaje": 84
},
{
"id": "A506",
"nombre": "TOXICOLOGIA E HIGIENE ALIMENTARIA",
"actividad": "Curso aprobado",
"puntaje": 70
}
]
},
{
"id": "G_2250C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2250",
"nombre": "ELEMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2256",
"nombre": "ELEMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2250",
"min": 1,
"max": 1,
"previas": [
{
"id": "2250",
"nombre": "ELEMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2256",
"nombre": "ELEMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2252",
"min": 1,
"max": 1,
"previas": [
{
"id": "1854",
"nombre": "CALIDAD DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2252",
"nombre": "GESTION DE CALIDAD DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2253",
"nombre": "INT. A LA EVALUACION Y GESTION AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2254C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1854",
"nombre": "CALIDAD DE AGUAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2254",
"nombre": "FUND. DE ING. AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2259",
"nombre": "FUND. DE ING. Y SALUD AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "0513",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2251",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP233",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2254",
"min": 1,
"max": 1,
"previas": [
{
"id": "1854",
"nombre": "CALIDAD DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2254",
"nombre": "FUND. DE ING. AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2259",
"nombre": "FUND. DE ING. Y SALUD AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0513",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2251",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP233",
"nombre": "FUNDAMENTOS DE INGENIERIA AMBIENTAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2310",
"min": 1,
"max": 1,
"previas": [
{
"id": "2310",
"nombre": "INT. A LA ING. NAVAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2302",
"nombre": "INT. A LA INGENIERIA NAVAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2310E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2310",
"nombre": "INT. A LA ING. NAVAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2302",
"nombre": "INT. A LA INGENIERIA NAVAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2316C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2313",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2316",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2316E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2313",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2316",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2317",
"min": 1,
"max": 1,
"previas": [
{
"id": "2300",
"nombre": "AGUA POTABLE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1853",
"nombre": "POTABILIZACION DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2317",
"nombre": "TRATAMIENTO DE AGUA POTABLE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2318",
"min": 2,
"max": 2,
"previas": [
{
"id": "0602",
"nombre": "RESIDUOS LIQUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2318",
"nombre": "SIST. DISTRIB.DE AGUA POT.Y SANEAM.POBL.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1851",
"nombre": "SISTEMAS DE CONDUCCION EN ING.SANITARIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2313",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2316",
"nombre": "TRATAMIENTO DE EFLUENTES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2350E",
"min": 1,
"max": 1,
"previas": [
{
"id": "MR8E",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2350",
"nombre": "HORMIGON 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2377",
"nombre": "HORMIGON 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP248",
"nombre": "HORMIGON ARMADO I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2351",
"min": 1,
"max": 1,
"previas": [
{
"id": "2231",
"nombre": "CAMINOS Y CALLES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2351",
"nombre": "TECNOLOGIA DE HORMIGON",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2371",
"nombre": "TECNOLOGIA DEL HORMIGON",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2355C",
"min": 1,
"max": 1,
"previas": [
{
"id": "0510",
"nombre": "HORMIGON ARMADO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP249",
"nombre": "HORMIGON ARMADO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP270",
"nombre": "HORMIGON ARMADO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2355",
"nombre": "HORMIGON PRETENSADO",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2355",
"min": 1,
"max": 1,
"previas": [
{
"id": "0510",
"nombre": "HORMIGON ARMADO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP249",
"nombre": "HORMIGON ARMADO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP270",
"nombre": "HORMIGON ARMADO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2355",
"nombre": "HORMIGON PRETENSADO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2360",
"min": 1,
"max": 1,
"previas": [
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2360",
"nombre": "RESISTENCIA DE MATERIALES 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T40",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2369",
"nombre": "RESISTENCIA DE MATERIALES II N",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2360E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2360",
"nombre": "RESISTENCIA DE MATERIALES 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2365",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1310",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2368",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2365",
"nombre": "RESISTENCIA DE MATERIALES 1N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B306",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP70",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP176",
"nombre": "RESISTENCIA DE MATERIALES I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2366C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "T40",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2366",
"min": 1,
"max": 1,
"previas": [
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T40",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2371C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2351",
"nombre": "TECNOLOGIA DE HORMIGON",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2371",
"nombre": "TECNOLOGIA DEL HORMIGON",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2371",
"min": 1,
"max": 1,
"previas": [
{
"id": "2351",
"nombre": "TECNOLOGIA DE HORMIGON",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2371",
"nombre": "TECNOLOGIA DEL HORMIGON",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2373",
"min": 1,
"max": 1,
"previas": [
{
"id": "2381",
"nombre": "MECANICA ESTRUCTURAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2360",
"nombre": "RESISTENCIA DE MATERIALES 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2362",
"nombre": "RESISTENCIA DE MATERIALES 3 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP54",
"nombre": "RESISTENCIA DE MATERIALES III",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2373",
"nombre": "RESISTENCIA DE MATERIALES III N",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2377",
"min": 1,
"max": 1,
"previas": [
{
"id": "2350",
"nombre": "HORMIGON 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2377",
"nombre": "HORMIGON 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP248",
"nombre": "HORMIGON ARMADO I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2378C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2378",
"nombre": "HORMIGON 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2367",
"nombre": "HORMIGÓN 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2378E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2353",
"nombre": "HORMIGON 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2378",
"nombre": "HORMIGON 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP249",
"nombre": "HORMIGON ARMADO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP270",
"nombre": "HORMIGON ARMADO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2367",
"nombre": "HORMIGÓN 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2380C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2357",
"nombre": "MET. COMPUT.APLIC.AL CALCULO DE ESTRUC.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2376",
"nombre": "MET. COMPUT.APLIC.AL CALCULO ESTRUCTURAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2380",
"nombre": "MET. COMPUT.APLIC.AL CALCULO ESTRUCTURAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2380E",
"min": 1,
"max": 1,
"previas": [
{
"id": "2357",
"nombre": "MET. COMPUT.APLIC.AL CALCULO DE ESTRUC.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2376",
"nombre": "MET. COMPUT.APLIC.AL CALCULO ESTRUCTURAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2380",
"nombre": "MET. COMPUT.APLIC.AL CALCULO ESTRUCTURAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2381C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2381",
"nombre": "MECANICA ESTRUCTURAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2360",
"nombre": "RESISTENCIA DE MATERIALES 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2362",
"nombre": "RESISTENCIA DE MATERIALES 3 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP54",
"nombre": "RESISTENCIA DE MATERIALES III",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2373",
"nombre": "RESISTENCIA DE MATERIALES III N",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2400",
"min": 1,
"max": 1,
"previas": [
{
"id": "0507",
"nombre": "PROYECTO DE TRANSPORTE I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP360",
"nombre": "PROYECTO DE TRANSPORTE I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2400",
"nombre": "PROYECTO TRANSPORTE 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2402C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP342",
"nombre": "PROYECTO 5TO.ESTRUCTURAL (74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2402",
"nombre": "PROYECTO ESTRUCTURAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2409",
"nombre": "PROYECTO ESTRUCTURAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP358",
"nombre": "PROYECTO ESTRUCTURAL I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2402",
"min": 1,
"max": 1,
"previas": [
{
"id": "2402",
"nombre": "PROYECTO ESTRUCTURAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2409",
"nombre": "PROYECTO ESTRUCTURAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0511",
"nombre": "PROYECTO ESTRUCTURAL I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2500C",
"min": 1,
"max": 1,
"previas": [
{
"id": "2500",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2510",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "0506",
"nombre": "TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP260",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP349",
"nombre": "TRANSPORTES TERRESTRES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2500",
"min": 1,
"max": 1,
"previas": [
{
"id": "2500",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2510",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "0506",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP260",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2507",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP261",
"nombre": "PUERTOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP260",
"nombre": "TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2507",
"nombre": "TRANSPORTE FLUVIAL Y MARITIMO",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_2510",
"min": 1,
"max": 1,
"previas": [
{
"id": "2500",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2510",
"nombre": "INT. AL TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2706",
"min": 1,
"max": 1,
"previas": [
{
"id": "2704",
"nombre": "INSTRUMENTACION INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2706",
"nombre": "INSTRUMENTACION INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2905",
"min": 1,
"max": 1,
"previas": [
{
"id": "E623",
"nombre": "REDES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2905",
"nombre": "REDES ELECTRICAS II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_2905E",
"min": 1,
"max": 1,
"previas": [
{
"id": "E623",
"nombre": "REDES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2905",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_LOG",
"min": 1,
"max": 1,
"previas": [
{
"id": "1027",
"nombre": "LOGICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1010",
"nombre": "LOGICA Y COMPUTACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
// Added this by hand
{
"id": "G_2 LOG",
"min": 1,
"max": 1,
"previas": [
{
"id": "1027",
"nombre": "LOGICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1010",
"nombre": "LOGICA Y COMPUTACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_3001C",
"min": 1,
"max": 1,
"previas": [
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5601",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5608",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_3001E",
"min": 1,
"max": 1,
"previas": [
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5601",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5608",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_4001",
"min": 1,
"max": 1,
"previas": [
{
"id": "1125",
"nombre": "INT. A LA OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "4001",
"nombre": "OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_501",
"min": 1,
"max": 1,
"previas": [
{
"id": "3002",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "E501",
"nombre": "MAQUINAS ELECTRICAS I (P. 87)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_505YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z514",
"nombre": "BIOQUÍMICA OP. I (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z514",
"nombre": "BIOQUÍMICA OP. I (PLAN 2000)",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "Z513",
"nombre": "BIOQUÍMICA OP. II (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z513",
"nombre": "BIOQUÍMICA OP. II (PLAN 2000)",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "Z505",
"nombre": "BIOQUÍMICA OP. III (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z505",
"nombre": "BIOQUÍMICA OP. III (PLAN 2000)",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "CA3",
"nombre": "CREDITOS POR BIOQUIMICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP32",
"nombre": "CRÉDITOS POR BIOQUÍMICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_520A",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z520",
"nombre": "FISICOQUÌMICA III (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z520A",
"nombre": "FISICOQUÍMICA 103 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_521",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z521",
"nombre": "ELECTROQUÍMICA (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z521A",
"nombre": "FISICOQUÍMICA 104 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5501C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5501",
"nombre": "REDES ELECTRICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2904",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP74",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5501E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5501",
"nombre": "REDES ELECTRICAS 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP74",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5502C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5508",
"nombre": "REDES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2905",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP75",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5502",
"min": 2,
"max": 2,
"previas": [
{
"id": "5501",
"nombre": "REDES ELECTRICAS 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP74",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP75",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5507C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5503",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP148",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP72",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP154",
"nombre": "INSTALACIONES ELECTRICAS (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5507",
"min": 1,
"max": 1,
"previas": [
{
"id": "5503",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP148",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP72",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP154",
"nombre": "INSTALACIONES ELECTRICAS (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5508C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP89",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5508",
"nombre": "REDES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5508",
"min": 3,
"max": 3,
"previas": [
{
"id": "5508",
"nombre": "REDES ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "5501",
"nombre": "REDES ELECTRICAS 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP74",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP75",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5508E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5508",
"nombre": "REDES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP75",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5601C",
"min": 1,
"max": 3,
"previas": [
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5601",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5608",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5830",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP62",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5601E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5601",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5608",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5830",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP62",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5602C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5602",
"nombre": "MAQUINAS ELECTRICAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP64",
"nombre": "MAQUINAS ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5608",
"min": 1,
"max": 1,
"previas": [
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5601",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5608",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5701C",
"min": 1,
"max": 1,
"previas": [
{
"id": "5701",
"nombre": "ELECTRONICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1001",
"nombre": "ELECTRONICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP79",
"nombre": "ELECTRONICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5701",
"min": 1,
"max": 1,
"previas": [
{
"id": "5701",
"nombre": "ELECTRONICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1001",
"nombre": "ELECTRONICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5701E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5701",
"nombre": "ELECTRONICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1001",
"nombre": "ELECTRONICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP79",
"nombre": "ELECTRONICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5712",
"min": 3,
"max": 5,
"previas": [
{
"id": "5707",
"nombre": "IMAGENES MEDICAS:ADQ. INSTRUM. Y GESTION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5709",
"nombre": "IMAGENES MEDICAS:ADQ. INSTRUM. Y GESTION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5703",
"nombre": "INGENIERIA BIOMEDICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5710",
"nombre": "INGENIERIA BIOMEDICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5503",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1410",
"nombre": "MEDIDAS ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5705",
"nombre": "SEMINARIO DE INGENIERIA BIOMEDICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5801C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1104",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP89",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5801",
"min": 1,
"max": 1,
"previas": [
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5805",
"min": 1,
"max": 1,
"previas": [
{
"id": "5805",
"nombre": "REDES DE DATOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP90",
"nombre": "REDES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E607",
"nombre": "REDES DE DATOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5805E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5805",
"nombre": "REDES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP90",
"nombre": "REDES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E607",
"nombre": "REDES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5806E",
"min": 1,
"max": 1,
"previas": [
{
"id": "3104",
"nombre": "TELEFONIA DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5806",
"nombre": "TELEFONIA DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP92",
"nombre": "TELEFONIA DIGITAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5808C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1104",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP89",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5808",
"min": 1,
"max": 1,
"previas": [
{
"id": "1104",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP89",
"nombre": "INT. A LA MODULACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5808E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5801",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5808",
"nombre": "SISTEMAS DE COMUNICACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5817",
"min": 1,
"max": 1,
"previas": [
{
"id": "5803",
"nombre": "ANTENAS Y PROPAGACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "5817",
"nombre": "ANTENAS Y PROPAGACION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5900",
"min": 1,
"max": 1,
"previas": [
{
"id": "5900",
"nombre": "INT. A LA TEORIA DE CONTROL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP60",
"nombre": "INT. A LA TEORIA DE CONTROL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_5900E",
"min": 1,
"max": 1,
"previas": [
{
"id": "5900",
"nombre": "INT. A LA TEORIA DE CONTROL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP60",
"nombre": "INT. A LA TEORIA DE CONTROL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A103",
"min": 1,
"max": 1,
"previas": [
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A106C",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP35",
"nombre": "CRÉDITOS POR FLUIDODINÁMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q66",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A109C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1510",
"nombre": "CONTROL DE CALIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CA10",
"nombre": "CREDITOS POR NORM.Y GEST.DE LA CALIDAD I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A502",
"nombre": "NORMALIZACION Y GESTION DE CALIDAD I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A116C",
"min": 1,
"max": 1,
"previas": [
{
"id": "A110",
"nombre": "CIENCIA Y TECNOLOGIA DE LA LECHE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CA16",
"nombre": "CREDITOS POR CIENCIA Y TEC. DE LA LECHE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CA31",
"nombre": "CREDITOS POR TECNOLOGIA DE LA LECHE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A116",
"nombre": "TECNOLOGIA DE LA LECHE",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A120",
"min": 1,
"max": 1,
"previas": [
{
"id": "A118",
"nombre": "QUIMICA Y TEC. DE GRASAS Y ACEITES OP.A",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A119",
"nombre": "QUIMICA Y TEC. DE GRASAS Y ACEITES OP.B",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A400",
"min": 3,
"max": 3,
"previas": [
{
"id": "A78",
"nombre": "LABORATORIO DE QUIMICA DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A90",
"nombre": "QUIMICA DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "A100",
"nombre": "QUIMICA DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "A400",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "A89",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 3
}
]
},
{
"id": "G_A403",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q21",
"nombre": "TERMODINAMICA APL. A LA ING.DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q403",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q404",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A403",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A408",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z510",
"nombre": "TERMODINÁMICA APLIC. A ING. DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A404C",
"min": 1,
"max": 1,
"previas": [
{
"id": "A101",
"nombre": "BIOQUIMICA (OPCION III)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A404",
"nombre": "BIOQUIMICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A405C",
"min": 1,
"max": 1,
"previas": [
{
"id": "A405",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A500",
"min": 1,
"max": 1,
"previas": [
{
"id": "A500",
"nombre": "CINETICA APLICADA Y REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A511",
"nombre": "CINETICA APLICADA Y REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A511B",
"nombre": "CINETICA APLICADA Y REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q500",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A501",
"min": 1,
"max": 1,
"previas": [
{
"id": "A91",
"nombre": "ANALISIS DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A501",
"nombre": "ANALISIS DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A509",
"nombre": "ANALISIS DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A503",
"min": 1,
"max": 1,
"previas": [
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A510",
"min": 1,
"max": 1,
"previas": [
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A615",
"min": 1,
"max": 1,
"previas": [
{
"id": "A608",
"nombre": "TECNOLOGIA DE GRASAS Y ACEITES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A615",
"nombre": "TECNOLOGIA DE GRASAS Y ACEITES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A65",
"min": 1,
"max": 1,
"previas": [
{
"id": "A65",
"nombre": "HIG.Y SERV.DE PLANTAS PROC.DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A86",
"nombre": "HIG.Y SERV.DE PLANTAS PROC.DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A67C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ38",
"nombre": "CREDITOS POR TRANSF. DE CALOR Y MASA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q67",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A69C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA9",
"nombre": "CREDITOS POR CINETICA APLIC.Y REACTORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A75C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA2",
"nombre": "CREDITOS POR MICROBIOLOGIA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A405",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A75",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q77",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q77B",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A75E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA2",
"nombre": "CREDITOS POR MICROBIOLOGIA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A405",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A75YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A405",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_A79",
"min": 1,
"max": 1,
"previas": [
{
"id": "A401",
"nombre": "EVALUACION SENSORIAL DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A79",
"nombre": "EVALUACION SENSORIAL DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A95",
"nombre": "EVALUACION SENSORIAL DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A88YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A604",
"nombre": "BIOINGENIERIA II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A88",
"nombre": "PASANTIA-TRABAJO PRACTICO DE GRADO,MOD.1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A88",
"nombre": "PASANTIA-TRABAJO PRACTICO DE GRADO,MOD.1",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_A90C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA5",
"nombre": "CREDITOS POR QUIMICA DE ALIMENTOS I Y II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A90",
"nombre": "QUIMICA DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A400",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A89",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A90YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A90",
"nombre": "QUIMICA DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A90",
"nombre": "QUIMICA DE ALIMENTOS",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "A100",
"nombre": "QUIMICA DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A400",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A89",
"nombre": "QUIMICA DE ALIMENTOS I Y II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A91YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A91",
"nombre": "ANALISIS DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A91",
"nombre": "ANALISIS DE ALIMENTOS",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "A501",
"nombre": "ANALISIS DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A509",
"nombre": "ANALISIS DE ALIMENTOS I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A93C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA11",
"nombre": "CREDITOS POR MICROBIOLOGIA ALIMENTARIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A93E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA11",
"nombre": "CREDITOS POR MICROBIOLOGIA ALIMENTARIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A93S",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA11",
"nombre": "CREDITOS POR MICROBIOLOGIA ALIMENTARIA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_A93YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A93",
"nombre": "MICROBIOLOGIA ALIMENTARIA",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "A503",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A510",
"nombre": "MICROBIOLOGIA ALIMENTARIA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B100",
"min": 3,
"max": 3,
"previas": [
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B101",
"min": 2,
"max": 2,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B102",
"min": 1,
"max": 2,
"previas": [
{
"id": "1221",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1224",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B102",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B103",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B14",
"min": 1,
"max": 1,
"previas": [
{
"id": "B14",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B315",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B15",
"min": 1,
"max": 1,
"previas": [
{
"id": "B15",
"nombre": "ECONOMIA Y FINANZAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B34",
"nombre": "ECONOMIA Y FINANZAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B200",
"min": 9,
"max": 0,
"previas": [
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 9
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1029",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1036",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_B201",
"min": 2,
"max": 2,
"previas": [
{
"id": "1126",
"nombre": "MEC.DE SIST.Y FENOMENOS ONDULATORIOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B205",
"nombre": "MECANICA II (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B201E",
"min": 1,
"max": 1,
"previas": [
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B205",
"nombre": "MECANICA II (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B202",
"min": 1,
"max": 1,
"previas": [
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B202",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B206",
"min": 1,
"max": 1,
"previas": [
{
"id": "B206",
"nombre": "ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1029",
"nombre": "FUNCIONES DE VARIABLE COMPLEJA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B300C",
"min": 1,
"max": 1,
"previas": [
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B300",
"min": 1,
"max": 2,
"previas": [
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B301",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B301E",
"min": 1,
"max": 1,
"previas": [
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B303C",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B303E",
"min": 2,
"max": 2,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B304",
"min": 2,
"max": 2,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B305",
"min": 3,
"max": 3,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1226",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_B306",
"min": 1,
"max": 1,
"previas": [
{
"id": "B308",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B306",
"nombre": "RESISTENCIA DE MATERIALES I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B307",
"min": 1,
"max": 1,
"previas": [
{
"id": "1620",
"nombre": "PRINCIPIOS DE QUIMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B307",
"nombre": "QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B13",
"nombre": "QUIMICA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B308",
"min": 2,
"max": 2,
"previas": [
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B308",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1714",
"nombre": "MECANICA DE LOS MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B309",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP99",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B309",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1823",
"nombre": "TRANSFERENCIA DE CALOR 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1824",
"nombre": "TRANSFERENCIA DE CALOR 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B312",
"min": 1,
"max": 1,
"previas": [
{
"id": "B312",
"nombre": "TALLER LABORATORIO II (CIVIL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B313",
"nombre": "TALLER LABORATORIO II (MECANICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B314",
"min": 1,
"max": 1,
"previas": [
{
"id": "1127",
"nombre": "LABORATORIO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B314",
"nombre": "TALLER LABORATORIO II (ELECTRICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B315",
"min": 1,
"max": 1,
"previas": [
{
"id": "B300",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B315",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_B32",
"min": 3,
"max": 3,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1226",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "B32",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C1020",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "107L",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CAL10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1025",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP06",
"nombre": "CRÉDITOS POR ESTADÍSTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z05",
"nombre": "MAT. 05 (ESTADÍSTICA)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z306",
"nombre": "MATEMÁTICA 106 (ESTADÍSTICA)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C102",
"min": 3,
"max": 3,
"previas": [
{
"id": "1027",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C102",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "R102",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1010",
"nombre": "LOGICA Y COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_C1030",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1031",
"min": 1,
"max": 2,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B101",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2368",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1120",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP04",
"nombre": "CRÉDITOS POR FÍSICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1121",
"min": 1,
"max": 2,
"previas": [
{
"id": "F30",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1122",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1128",
"min": 1,
"max": 1,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1126",
"nombre": "MEC.DE SIST.Y FENOMENOS ONDULATORIOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP40",
"nombre": "MECANICA GENERAL II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1144",
"nombre": "VIBRACIONES Y ONDAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1151",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1311",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1407",
"min": 2,
"max": 4,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP145",
"nombre": "TEORIA DE CIRCUITOS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_C1411",
"min": 1,
"max": 3,
"previas": [
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP07",
"nombre": "CRÉDITOS POR CÁLCULO NUMÉRICO Y COMP.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z06",
"nombre": "MAT. 06 (CÁLCULO NUMÉRICO)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z407",
"nombre": "MATEMÁTICA 107 (CÁLCULO NUM. Y COMP.)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1425",
"min": 1,
"max": 1,
"previas": [
{
"id": "1443",
"nombre": "ARQUITECTURA DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1444",
"nombre": "ASPECTOS AVANZ. DE ARQ.DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1445",
"nombre": "TALLER DE ARQUITECTURA DE COMPUTADORAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1512",
"min": 1,
"max": 1,
"previas": [
{
"id": "1512",
"nombre": "DISEÑO LOGICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B304",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1513",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP51",
"nombre": "DISEÑO LOGICO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1513",
"nombre": "INT. A LOS MICROPROCESADORES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1715",
"min": 1,
"max": 1,
"previas": [
{
"id": "1616",
"nombre": "ELEMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP286",
"nombre": "ELEMENTOS DE CONSTRUCCION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1715",
"nombre": "INT. A LA CONSTRUCCION",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C1805",
"min": 1,
"max": 2,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2207",
"nombre": "INT. A LA MECANICA DE SUELOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "B305",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B32",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C200",
"min": 3,
"max": 0,
"previas": [
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C209",
"min": 3,
"max": 6,
"previas": [
{
"id": "C209",
"nombre": "ELECTIVA EN FISICA (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "C203",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "C204",
"nombre": "FISICA II",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "A251",
"nombre": "LABORATORIO DE PROCESAMIENTO DE DATOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C205",
"nombre": "MECANICA GENERAL I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "C207",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "C206",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C2207",
"min": 2,
"max": 2,
"previas": [
{
"id": "CP253",
"nombre": "GEOLOGIA TECNICA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2204",
"nombre": "GEOTECNICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2205",
"nombre": "GEOTECNICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2207",
"nombre": "INT. A LA MECANICA DE SUELOS",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_C2366",
"min": 1,
"max": 2,
"previas": [
{
"id": "2366",
"nombre": "ELASTICIDAD",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2377",
"nombre": "HORMIGON 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "T40",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C2368",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B205",
"nombre": "MECANICA II (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1078",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2368",
"nombre": "RESISTENCIA DE MATERIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C250",
"min": 1,
"max": 1,
"previas": [
{
"id": "C250",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R250",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C302",
"min": 1,
"max": 1,
"previas": [
{
"id": "1323",
"nombre": "PROGRAMACION 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C302",
"nombre": "PROGRAMACION III",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C303",
"min": 3,
"max": 3,
"previas": [
{
"id": "1324",
"nombre": "PROGRAMACION 4",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1327",
"nombre": "TALLER DE PROGRAMACION",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C303",
"nombre": "TALLER III (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C306",
"min": 1,
"max": 1,
"previas": [
{
"id": "1221",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1224",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B102",
"nombre": "ECONOMIA POLITICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C306",
"nombre": "ELECTIVA EN ECONOMIA O ADMINISTRACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C305",
"nombre": "ORGANIZACION DE EMPRESAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C350",
"min": 1,
"max": 1,
"previas": [
{
"id": "1511",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1518",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1532",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1537",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C350",
"nombre": "SISTEMAS OPERATIVOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C351",
"min": 1,
"max": 1,
"previas": [
{
"id": "C351",
"nombre": "BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1911",
"nombre": "FUNDAMENTOS DE BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C400C",
"min": 1,
"max": 1,
"previas": [
{
"id": "C400",
"nombre": "CALCULO NUMERICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1033",
"nombre": "METODOS NUMERICOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_C400",
"min": 3,
"max": 3,
"previas": [
{
"id": "C400",
"nombre": "CALCULO NUMERICO",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1033",
"nombre": "METODOS NUMERICOS",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C401",
"min": 3,
"max": 3,
"previas": [
{
"id": "1325",
"nombre": "TEORIA DE LENGUAJES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "C401",
"nombre": "TEORIA DE PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C402",
"min": 3,
"max": 3,
"previas": [
{
"id": "1716",
"nombre": "INT. A LA INGENIERIA DE SOFTWARE",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1721",
"nombre": "PROYECTO DE INGENIERIA DE SOFTWARE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C402",
"nombre": "TALLER IV (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 3
}
]
},
{
"id": "G_C450",
"min": 1,
"max": 1,
"previas": [
{
"id": "1610",
"nombre": "INT. A LA INVESTIGACION DE OPERACIONES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C450",
"nombre": "INVESTIGACION OPERATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CA03C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA07",
"nombre": "CALCULO VECTORIAL Y ANALISIS COMPLEJO",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CA03E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA07",
"nombre": "CALCULO VECTORIAL Y ANALISIS COMPLEJO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CA1Y2",
"min": 2,
"max": 4,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1072",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CA2",
"min": 1,
"max": 1,
"previas": [
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "172Q",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z208",
"nombre": "MATEMÁTICA 104 (ANÁLISIS II)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CALCA",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CALQC",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "M13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z01",
"nombre": "MAT. 01 (ANÁLISIS I)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z101",
"nombre": "MATEMÁTICA 101 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CALYC",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CAL12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CALYE",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CO01",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI18",
"nombre": "FISICA COMPUTACIONAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CO01E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1408",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1411",
"nombre": "COMPUTACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP144",
"nombre": "COMPUTACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI18",
"nombre": "FISICA COMPUTACIONAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP118",
"min": 2,
"max": 2,
"previas": [
{
"id": "2206",
"nombre": "GEOLOGIA DE INGENIERIA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "2205",
"nombre": "GEOTECNICA 2",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "0502",
"nombre": "GEOTECNICA II",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP118",
"nombre": "GEOTECNICA II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2207",
"nombre": "INT. A LA MECANICA DE SUELOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP126",
"min": 1,
"max": 1,
"previas": [
{
"id": "1312",
"nombre": "RESISTENCIA DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1313",
"nombre": "RESISTENCIA DE MATERIALES 2 N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1319",
"nombre": "RESISTENCIA DE MATERIALES 2-N",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP126",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2369",
"nombre": "RESISTENCIA DE MATERIALES II N",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP12",
"min": 1,
"max": 2,
"previas": [
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP13",
"min": 1,
"max": 1,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1178",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B301",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP13E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP1",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "203",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1076",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP1E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP29",
"min": 1,
"max": 1,
"previas": [
{
"id": "1323",
"nombre": "PROGRAMACION 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP29",
"nombre": "PROGRAMACION III",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP2",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP30",
"min": 6,
"max": 6,
"previas": [
{
"id": "1324",
"nombre": "PROGRAMACION 4",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1327",
"nombre": "TALLER DE PROGRAMACION",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "CP71",
"nombre": "TALLER III ( 2DO.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "CP30",
"nombre": "TALLER III (1ER.SEM.)",
"actividad": "Curso aprobado",
"puntaje": 3
}
]
},
{
"id": "G_CP3",
"min": 1,
"max": 1,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1170",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP4",
"min": 1,
"max": 1,
"previas": [
{
"id": "1027",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1010",
"nombre": "LOGICA Y COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP50C",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1407",
"nombre": "SISTEMAS LINEALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP171",
"nombre": "TEORIA DE CIRCUITOS (P. 74) (PARTE I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP50",
"min": 1,
"max": 1,
"previas": [
{
"id": "B303",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP50",
"nombre": "SISTEMAS LINEALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1401",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1423",
"nombre": "SISTEMAS LINEALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP171",
"nombre": "TEORIA DE CIRCUITOS (P. 74) (PARTE I)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP145",
"nombre": "TEORIA DE CIRCUITOS (P. 87)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP6E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP8",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B201",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "B205",
"nombre": "MECANICA II (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1078",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP8E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP9",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CP9E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CQ43",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ43",
"nombre": "CREDITOS POR DISEÑO DE REACTORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_CQ46",
"min": 2,
"max": 2,
"previas": [
{
"id": "CQ46",
"nombre": "CREDITOS POR SERVICIOS Y TEC. INDUSTRIAL",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q71",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q72",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_DISC1",
"min": 3,
"max": 3,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_DISC2",
"min": 3,
"max": 3,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1020",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP01",
"nombre": "CRÉDITOS POR MATEMÁTICAS ANUAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z01",
"nombre": "MAT. 01 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z101",
"nombre": "MATEMÁTICA 101 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1022",
"min": 1,
"max": 1,
"previas": [
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z208",
"nombre": "MATEMÁTICA 104 (ANÁLISIS II)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1024",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1025",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP06",
"nombre": "CRÉDITOS POR ESTADÍSTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z05",
"nombre": "MAT. 05 (ESTADÍSTICA)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z306",
"nombre": "MATEMÁTICA 106 (ESTADÍSTICA)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1028",
"min": 2,
"max": 2,
"previas": [
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z07",
"nombre": "MAT. 07 (ECUACIONES DIF. ORDINARIAS)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z08",
"nombre": "MAT. 08 (ECUACIONES DIF. PARCIALES)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z309",
"nombre": "MATEMÁTICA 105 (EC. DIFERENCIALES)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_E1121",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1122",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1125",
"min": 1,
"max": 1,
"previas": [
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1125",
"nombre": "INT. A LA OPTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1152",
"min": 1,
"max": 1,
"previas": [
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1073",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1123",
"nombre": "FISICA TERMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP12",
"nombre": "TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1153",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1311",
"min": 1,
"max": 1,
"previas": [
{
"id": "1717",
"nombre": "COMPORTAMIENTO MEC. DE MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1764",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1765",
"nombre": "COMPORTAMIENTO MECANICO DE MATERIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1708",
"nombre": "ESTATICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1738",
"nombre": "ESTATICA DE LOS SOLIDOS DEFORMABLES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP125",
"nombre": "MECANICA DE LOS MATERIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1311",
"nombre": "MECANICA DEL SOLIDO",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1322",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E1403",
"min": 1,
"max": 1,
"previas": [
{
"id": "1425",
"nombre": "ARQUITECTURA DE COMPUTADORES 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP28",
"nombre": "ARQUITECTURA DE SISTEMAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1911",
"nombre": "FUNDAMENTOS DE BASES DE DATOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1403",
"nombre": "INT. A LA ARQUITECTURA DE COMPUTADORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1446",
"nombre": "REDES DE COMPUTADORAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E501",
"min": 1,
"max": 1,
"previas": [
{
"id": "3001",
"nombre": "INT. A LA ELECTROTECNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "E501",
"nombre": "MAQUINAS ELECTRICAS I (P. 87)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E507",
"min": 1,
"max": 1,
"previas": [
{
"id": "5503",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "5507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E507",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E621",
"nombre": "INSTALACIONES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E612C",
"min": 1,
"max": 1,
"previas": [
{
"id": "3002",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "3007",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "E612",
"nombre": "MAQUINAS ELECTRICAS II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E612",
"min": 1,
"max": 1,
"previas": [
{
"id": "3002",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "3007",
"nombre": "CONVERSION ELECTROMECANICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "E612",
"nombre": "MAQUINAS ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_E623",
"min": 3,
"max": 3,
"previas": [
{
"id": "E623",
"nombre": "REDES ELECTRICAS",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "5501",
"nombre": "REDES ELECTRICAS 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "5502",
"nombre": "REDES ELECTRICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "2904",
"nombre": "REDES ELECTRICAS I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "2905",
"nombre": "REDES ELECTRICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_F1C",
"min": 1,
"max": 1,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1170",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP41",
"nombre": "FISICA I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_F1E",
"min": 1,
"max": 1,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_F3C",
"min": 1,
"max": 1,
"previas": [
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI02",
"nombre": "FISICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_F3E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FE1",
"min": 1,
"max": 1,
"previas": [
{
"id": "1154R",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1154",
"nombre": "FISICA EXPERIMENTAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1154I",
"nombre": "FISICA EXPERIMENTAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1124",
"nombre": "LABORATORIO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YFI29",
"nombre": "TALLER I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP11",
"nombre": "TALLER LABORATORIO I (MODULO DE FISICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI01",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI01E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI02C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YFI02",
"nombre": "FISICA II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI02E",
"min": 2,
"max": 2,
"previas": [
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "YFI02",
"nombre": "FISICA II",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_FI04C",
"min": 1,
"max": 1,
"previas": [
{
"id": "1128",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI10",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1126",
"nombre": "MEC.DE SIST.Y FENOMENOS ONDULATORIOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI05",
"nombre": "ONDAS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1144",
"nombre": "VIBRACIONES Y ONDAS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI04E",
"min": 1,
"max": 1,
"previas": [
{
"id": "YFI32",
"nombre": "MECANICA CLASICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP8",
"nombre": "MECANICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1122",
"nombre": "MECANICA NEWTONIANA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FI102",
"min": 1,
"max": 1,
"previas": [
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FIS1C",
"min": 1,
"max": 1,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP41",
"nombre": "FISICA I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_FIS",
"min": 2,
"max": 4,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1170",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "R103",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "B104",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_FISIC",
"min": 1,
"max": 1,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP41",
"nombre": "FISICA I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_G101",
"min": 1,
"max": 1,
"previas": [
{
"id": "A101",
"nombre": "BIOQUIMICA (OPCION III)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A404",
"nombre": "BIOQUIMICA II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_G1022",
"min": 1,
"max": 1,
"previas": [
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "172Q",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP01",
"nombre": "CRÉDITOS POR MATEMÁTICAS ANUAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z01",
"nombre": "MAT. 01 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z101",
"nombre": "MATEMÁTICA 101 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_G1024",
"min": 1,
"max": 1,
"previas": [
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z208",
"nombre": "MATEMÁTICA 104 (ANÁLISIS II)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_G1028",
"min": 2,
"max": 2,
"previas": [
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Z07",
"nombre": "MAT. 07 (ECUACIONES DIF. ORDINARIAS)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z08",
"nombre": "MAT. 08 (ECUACIONES DIF. PARCIALES)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z309",
"nombre": "MATEMÁTICA 105 (EC. DIFERENCIALES)",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_G1031",
"min": 2,
"max": 2,
"previas": [
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "158Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z03",
"nombre": "MAT. 03 (ÁLGEBRA)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z106",
"nombre": "MATEMÁTICA 102 (ÁLGEBRA)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_G1120",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP04",
"nombre": "CRÉDITOS POR FÍSICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_G1124",
"min": 2,
"max": 3,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1152",
"nombre": "FISICA 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_G200",
"min": 3,
"max": 3,
"previas": [
{
"id": "B200",
"nombre": "ANALISIS MATEMATICO II (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_GA91C",
"min": 1,
"max": 1,
"previas": [
{
"id": "A91",
"nombre": "ANALISIS DE ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CA1",
"nombre": "CREDITOS POR ANALISIS DE ALIMENTOS I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_GE2",
"min": 1,
"max": 1,
"previas": [
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "158Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z03",
"nombre": "MAT. 03 (ÁLGEBRA)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z106",
"nombre": "MATEMÁTICA 102 (ÁLGEBRA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_GEOM",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_GRUP1",
"min": 2,
"max": 2,
"previas": [
{
"id": "C201",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C250",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "R250",
"nombre": "PROGRAMACION II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_GRUP2",
"min": 6,
"max": 6,
"previas": [
{
"id": "1716",
"nombre": "INT. A LA INGENIERIA DE SOFTWARE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "C301",
"nombre": "ORGANIZACION DE LENG. DE PROGRAMACION",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1323",
"nombre": "PROGRAMACION 3",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "C302",
"nombre": "PROGRAMACION III",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1721",
"nombre": "PROYECTO DE INGENIERIA DE SOFTWARE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "C402",
"nombre": "TALLER IV (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_GZ202",
"min": 2,
"max": 2,
"previas": [
{
"id": "ZCP22",
"nombre": "CRÉDITOS POR QCA. GENERAL E INORGÁNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z102",
"nombre": "QCA. GENERAL I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z202",
"nombre": "QCA. GENERAL II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_H52",
"min": 3,
"max": 3,
"previas": [
{
"id": "H56",
"nombre": "OBRAS HIDRAULICAS I",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "H57",
"nombre": "OBRAS HIDRAULICAS II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "H52",
"nombre": "OBRAS HIDRAULICAS Y DIST. DE AGUAS",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_H56",
"min": 2,
"max": 2,
"previas": [
{
"id": "H56",
"nombre": "OBRAS HIDRAULICAS I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "H57",
"nombre": "OBRAS HIDRAULICAS II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "H52",
"nombre": "OBRAS HIDRAULICAS Y DIST. DE AGUAS",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_LOGIC",
"min": 2,
"max": 3,
"previas": [
{
"id": "1027",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1010",
"nombre": "LOGICA Y COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_M47",
"min": 1,
"max": 1,
"previas": [
{
"id": "406",
"nombre": "INVESTIGACION OPERATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "506",
"nombre": "INVESTIGACION OPERATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA01C",
"min": 1,
"max": 1,
"previas": [
{
"id": "YMA02",
"nombre": "ALGEBRA LINEAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA15",
"nombre": "ALGEBRA LINEAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA01",
"min": 1,
"max": 1,
"previas": [
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA01E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA02C",
"min": 4,
"max": 4,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "YMA03",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA17",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II (F)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA02E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA03",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA17",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL II (F)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA03E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA02",
"nombre": "ALGEBRA LINEAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA15",
"nombre": "ALGEBRA LINEAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA04E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1021",
"nombre": "ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA04",
"nombre": "ALGEBRA LINEAL II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA19",
"nombre": "ALGEBRA LINEAL II (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1031",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA05C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1028",
"nombre": "ECUACIONES DIFERENCIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA10",
"nombre": "INTR. A ECUACIONES DIFERENCIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YMA21",
"nombre": "INTR.A LAS ECUACIONES DIFERENCIALES (F)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA05E",
"min": 1,
"max": 1,
"previas": [
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MA06E",
"min": 1,
"max": 1,
"previas": [
{
"id": "YMA02",
"nombre": "ALGEBRA LINEAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA15",
"nombre": "ALGEBRA LINEAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MAT2",
"min": 1,
"max": 1,
"previas": [
{
"id": "MAT2",
"nombre": "MATEMATICA 2 (TEC.)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MAT2*",
"nombre": "MATEMATICA 2 (TEC.)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_MATD1",
"min": 1,
"max": 2,
"previas": [
{
"id": "CP4",
"nombre": "LOGICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1023",
"nombre": "MATEMATICA DISCRETA 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOC1",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP1",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP44",
"nombre": "ANALISIS MATEMATICO I (1ER.SEM.)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP22",
"nombre": "ANALISIS MATEMATICO I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1070",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "107L",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "170Q",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1052",
"nombre": "CALCULO 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA01",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA13",
"nombre": "CALCULO DIFERENCIAL E INTEGRAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1020R",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CAL12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA25",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA47",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA51",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MAT14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MAT33",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MC13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z01",
"nombre": "MAT. 01 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z101",
"nombre": "MATEMÁTICA 101 (ANÁLISIS I)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOF3",
"min": 1,
"max": 1,
"previas": [
{
"id": "F7",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "F8",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG2",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FIS14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP13",
"nombre": "ELECTROMAGNETISMO",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1172",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI02",
"nombre": "FISICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP43",
"nombre": "FISICA III (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z304C",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOFE1",
"min": 1,
"max": 1,
"previas": [
{
"id": "1124",
"nombre": "LABORATORIO 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP11",
"nombre": "TALLER LABORATORIO I (MODULO DE FISICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOFE2",
"min": 1,
"max": 1,
"previas": [
{
"id": "1127",
"nombre": "LABORATORIO 2",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP14",
"nombre": "TALLER LABORATORIO II (MODULO DE FISICA)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOFG1",
"min": 1,
"max": 1,
"previas": [
{
"id": "F10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "F1Y3",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "F30",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FF12",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FG",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FI10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FI13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FIS13",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "FIS14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP04",
"nombre": "CRÉDITOS POR FÍSICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1171",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1170",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "117Q",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "118Q",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YFI01",
"nombre": "FISICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP41",
"nombre": "FISICA I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z205C",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP26",
"nombre": "MECANICA GENERAL I (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP3",
"nombre": "MECANICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP17",
"nombre": "MECANICA I (TRANSICION)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOG1",
"min": 1,
"max": 1,
"previas": [
{
"id": "YMA02",
"nombre": "ALGEBRA LINEAL I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA15",
"nombre": "ALGEBRA LINEAL I (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CM14",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "GAL7",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M24",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA51",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA7",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MAT33",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MC3",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP46",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (1ER.SEM.)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1030",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1071",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171L",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "171Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1053",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 1 (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z03",
"nombre": "MAT. 03 (ÁLGEBRA)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_NOG2",
"min": 1,
"max": 1,
"previas": [
{
"id": "YMA04",
"nombre": "ALGEBRA LINEAL II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YMA19",
"nombre": "ALGEBRA LINEAL II (F)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "M9",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA10",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "MA5",
"nombre": "CREDITOS ASIGNADOS POR REVALIDA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP2",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP47",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (2DO.SEM.)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP23",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1058",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "158Q",
"nombre": "GEOMETRIA Y ALGEBRA LINEAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_PR1",
"min": 1,
"max": 2,
"previas": [
{
"id": "B14",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP52",
"nombre": "COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP24",
"nombre": "COMPUTACION (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP36",
"nombre": "INT. A LA COMPUTACION",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1320",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1322",
"nombre": "PROGRAMACION 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP9",
"nombre": "PROGRAMACION I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP10",
"nombre": "TALLER II",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_PROBA",
"min": 1,
"max": 1,
"previas": [
{
"id": "CP6",
"nombre": "ANALISIS MATEMATICO II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CP25",
"nombre": "ANALISIS MATEMATICO II (P. 74)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1025",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1075",
"nombre": "PROBABILIDAD Y ESTADISTICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q22",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q23",
"min": 1,
"max": 3,
"previas": [
{
"id": "ZCP29",
"nombre": "CRÉDITOS POR FENOM. DE TRANSP. Y FLUIDO.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP34",
"nombre": "CRÉDITOS POR FENÓMENOS DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z511",
"nombre": "FENÓMENOS DE TRANSPORTE EN ING. DE PROC.",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z511A",
"nombre": "FUNDAMENTOS DE FENOM. DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q23E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP29",
"nombre": "CRÉDITOS POR FENOM. DE TRANSP. Y FLUIDO.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP34",
"nombre": "CRÉDITOS POR FENÓMENOS DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z511",
"nombre": "FENÓMENOS DE TRANSPORTE EN ING. DE PROC.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z511A",
"nombre": "FUNDAMENTOS DE FENOM. DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q23YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP29",
"nombre": "CRÉDITOS POR FENOM. DE TRANSP. Y FLUIDO.",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP34",
"nombre": "CRÉDITOS POR FENÓMENOS DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Inscripción a curso",
"puntaje": 1
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z511",
"nombre": "FENÓMENOS DE TRANSPORTE EN ING. DE PROC.",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z511A",
"nombre": "FUNDAMENTOS DE FENOM. DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q402C",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q21",
"nombre": "TERMODINAMICA APL. A LA ING.DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q402",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q403",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q404",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A403",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A408",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q402",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ30",
"nombre": "CREDITOS POR TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q21",
"nombre": "TERMODINAMICA APL. A LA ING.DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q402",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q403",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q404",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A403",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A408",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q403",
"min": 1,
"max": 2,
"previas": [
{
"id": "CQ30",
"nombre": "CREDITOS POR TERMODINAMICA APLICADA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q21",
"nombre": "TERMODINAMICA APL. A LA ING.DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q402",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q403",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q404",
"nombre": "TERMODINAMICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A403",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A408",
"nombre": "TERMODINAMICA DE SISTEMAS ABIERTOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z510",
"nombre": "TERMODINÁMICA APLIC. A ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q405",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q405",
"nombre": "DIBUJO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q24",
"nombre": "DISEÑO Y REPRES. GRAF. P/IND. DE PROC.",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q406",
"min": 1,
"max": 1,
"previas": [
{
"id": "1221",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1224",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q406",
"nombre": "ECONOMIA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q409C",
"min": 2,
"max": 2,
"previas": [
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q66",
"nombre": "FLUIDODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q409",
"min": 3,
"max": 3,
"previas": [
{
"id": "Q22",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q409",
"nombre": "FENOMENOS DE TRANSPORTE",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q66",
"nombre": "FLUIDODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q40",
"min": 2,
"max": 2,
"previas": [
{
"id": "Q40",
"nombre": "FUNDAMENTOS DE ING. QUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q46",
"nombre": "ING. DE LOS PROCESOS FISICOS I (ANUAL)",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q41",
"nombre": "INGENIERIA DE LOS PROCESOS FISICOS I",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q412",
"min": 3,
"max": 3,
"previas": [
{
"id": "Q412",
"nombre": "TRANSFERENCIA DE CALOR",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q407",
"nombre": "TRANSFERENCIA DE CALOR Y MASA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q67",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q68",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q413",
"nombre": "TRANSFERENCIA DE MASA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q46",
"min": 6,
"max": 6,
"previas": [
{
"id": "Q23",
"nombre": "FENOMENOS DE TRANS. EN ING. DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q40",
"nombre": "FUNDAMENTOS DE ING. QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q46",
"nombre": "ING. DE LOS PROCESOS FISICOS I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 6
},
{
"id": "Q41",
"nombre": "INGENIERIA DE LOS PROCESOS FISICOS I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q21",
"nombre": "TERMODINAMICA APL. A LA ING.DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Q500C",
"min": 2,
"max": 2,
"previas": [
{
"id": "Q500",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q500",
"min": 3,
"max": 3,
"previas": [
{
"id": "Q500",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Q510",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q69R",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q502C",
"min": 3,
"max": 3,
"previas": [
{
"id": "Q502",
"nombre": "SERVICIOS Y TECNOLOGIAS INDUSTRIALES",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Q507",
"nombre": "SERVICIOS Y TECNOLOGIAS INDUSTRIALES",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Q71",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 1",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q72",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q506",
"min": 3,
"max": 3,
"previas": [
{
"id": "Q500",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Q507",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q502",
"nombre": "SERVICIOS Y TECNOLOGIAS INDUSTRIALES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q507",
"nombre": "SERVICIOS Y TECNOLOGIAS INDUSTRIALES",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q508C",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q508",
"nombre": "FUNDAMENTOS DE ING. BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q501",
"nombre": "FUNDAMENTOS DE INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q77",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q77B",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q508",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q508",
"nombre": "FUNDAMENTOS DE ING. BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q501",
"nombre": "FUNDAMENTOS DE INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q77",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q77B",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q508E",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q508",
"nombre": "FUNDAMENTOS DE ING. BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q501",
"nombre": "FUNDAMENTOS DE INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q77",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q77B",
"nombre": "INT. A LA INGENIERIA BIOQUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "A75",
"nombre": "MICROBIOLOGIA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q50",
"min": 2,
"max": 2,
"previas": [
{
"id": "Q50",
"nombre": "INGENIERIA DE LOS PROCESOS FISICOS II",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q68",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q55",
"min": 5,
"max": 5,
"previas": [
{
"id": "Q55",
"nombre": "ING. DE LOS PROCESOS QUIMICOS (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 5
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q54",
"nombre": "INGENIERIA DE LOS PROCESOS QUIMICOS I",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "Q61",
"nombre": "INGENIERIA DE LOS PROCESOS QUIMICOS II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q68C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ38",
"nombre": "CREDITOS POR TRANSF. DE CALOR Y MASA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "CQ39",
"nombre": "CREDITOS POR TRANSFERENCIA DE CALOR",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CQ40",
"nombre": "CREDITOS POR TRANSFERENCIA DE MASA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q68",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q68",
"min": 2,
"max": 2,
"previas": [
{
"id": "Q412",
"nombre": "TRANSFERENCIA DE CALOR",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q407",
"nombre": "TRANSFERENCIA DE CALOR Y MASA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q68",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 2",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Q413",
"nombre": "TRANSFERENCIA DE MASA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q68E",
"min": 2,
"max": 2,
"previas": [
{
"id": "CQ38",
"nombre": "CREDITOS POR TRANSF. DE CALOR Y MASA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "CQ39",
"nombre": "CREDITOS POR TRANSFERENCIA DE CALOR",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CQ40",
"nombre": "CREDITOS POR TRANSFERENCIA DE MASA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q68",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 2",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Q69C",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q500",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q506",
"nombre": "DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q69E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CA9",
"nombre": "CREDITOS POR CINETICA APLIC.Y REACTORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q69",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q70C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ43",
"nombre": "CREDITOS POR DISEÑO DE REACTORES",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q70",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ43",
"nombre": "CREDITOS POR DISEÑO DE REACTORES",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q70",
"nombre": "INGENIERIA DE LAS REACCIONES QUIMICAS 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q71C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ46",
"nombre": "CREDITOS POR SERVICIOS Y TEC. INDUSTRIAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q71",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q72C",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ46",
"nombre": "CREDITOS POR SERVICIOS Y TEC. INDUSTRIAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q72",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 2",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q72E",
"min": 1,
"max": 1,
"previas": [
{
"id": "CQ46",
"nombre": "CREDITOS POR SERVICIOS Y TEC. INDUSTRIAL",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q72",
"nombre": "TECNOLOGIA Y SERV. INDUSTRIALES 2",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q73",
"min": 1,
"max": 1,
"previas": [
{
"id": "1402",
"nombre": "MECANICA APLICADA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q73",
"nombre": "MECANICA APLICADA (ING.QUÍM)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q74C",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q412",
"nombre": "TRANSFERENCIA DE CALOR",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q407",
"nombre": "TRANSFERENCIA DE CALOR Y MASA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q67",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q74",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q67",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q75",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q400",
"nombre": "FENOMENOS DE TRANSPORTE Y FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q66",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q75E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP35",
"nombre": "CRÉDITOS POR FLUIDODINÁMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q66",
"nombre": "FLUIDODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q75",
"nombre": "FLUIDODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q81YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q602",
"nombre": "INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q620",
"nombre": "INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q81",
"nombre": "INGENIERIA BIOQUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q81",
"nombre": "INGENIERIA BIOQUIMICA",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_Q82YC",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q82",
"nombre": "PASANTIA-TRABAJO EXPERIM. MOD.1 BASICO",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q82",
"nombre": "PASANTIA-TRABAJO EXPERIM. MOD.1 BASICO",
"actividad": "Inscripción a curso",
"puntaje": 1
}
]
},
{
"id": "G_Q93C",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q59",
"nombre": "INT. A LA ING. QUIMICA Y DE PROCESOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q93",
"nombre": "INT. A LA INGENIERIA QUIMICA",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Q93",
"min": 1,
"max": 1,
"previas": [
{
"id": "Q59",
"nombre": "INT. A LA ING. QUIMICA Y DE PROCESOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Q93",
"nombre": "INT. A LA INGENIERIA QUIMICA",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_R100E",
"min": 3,
"max": 6,
"previas": [
{
"id": "R100",
"nombre": "ANALISIS MATEMATICO I",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "B100",
"nombre": "ANALISIS MATEMATICO I (ANUAL)",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "1020",
"nombre": "CALCULO 1",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "1022",
"nombre": "CALCULO 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_T40",
"min": 1,
"max": 1,
"previas": [
{
"id": "0401",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "T40",
"nombre": "RESISTENCIA DE MATERIALES II",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_TMF1C",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMF",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "IT",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "TMF1",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS (TEC.)",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_TMF1",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMF",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "IT",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "TMF1",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS (TEC.)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_TMF1E",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMF",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "IT",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "TMF1",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS (TEC.)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_TMF1P",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMFP",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "ITP",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "TMF1P",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_TMFPC",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMFP",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "ITP",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "TMF1P",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 2
}
]
},
{
"id": "G_TMFPE",
"min": 2,
"max": 2,
"previas": [
{
"id": "IMFP",
"nombre": "INT. A LA MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ITP",
"nombre": "INT. A LA TERMODINAMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "TMF1P",
"nombre": "TERMOD.Y MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_YMEC",
"min": 1,
"max": 1,
"previas": [
{
"id": "1805",
"nombre": "ELEMENTOS DE MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "YME14",
"nombre": "INTRO.A LA DINAMICA DE LA ATMOSFERA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP34",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "YME04",
"nombre": "MECANICA DE LOS FLUIDOS",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CP35",
"nombre": "MECANICA DE LOS FLUIDOS E HIDRAULICA(74)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z04",
"min": 1,
"max": 1,
"previas": [
{
"id": "1024",
"nombre": "CALCULO 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z04",
"nombre": "MAT. 04 (ANÁLISIS II)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z07E",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z07",
"nombre": "MAT. 07 (ECUACIONES DIF. ORDINARIAS)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z307",
"nombre": "MATEMÁTICA 005 (EC. DIFERENCIALES)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z309",
"nombre": "MATEMÁTICA 105 (EC. DIFERENCIALES)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z102",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP02",
"nombre": "CRÉDITOS POR QUÍMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z102",
"nombre": "QCA. GENERAL I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z103",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z103A",
"nombre": "INT. A LAS C. BIOLÓGICAS I (DESDE 2002)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z103",
"nombre": "INT. A LAS CIENCIAS BIOLÓGICAS I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z202",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP22",
"nombre": "CRÉDITOS POR QCA. GENERAL E INORGÁNICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP02",
"nombre": "CRÉDITOS POR QUÍMICA GENERAL",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z202",
"nombre": "QCA. GENERAL II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z205",
"min": 2,
"max": 2,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z205",
"nombre": "FÍSICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Z301C",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP11",
"nombre": "CRÉDITOS POR QUÍMICA ORGÁNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z301",
"nombre": "QCA. ORGÁNICA 101 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z301",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP11",
"nombre": "CRÉDITOS POR QUÍMICA ORGÁNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z301",
"nombre": "QCA. ORGÁNICA 101 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z302C",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP24",
"nombre": "CRÉDITOS POR QCA. ANAL. CUANTITATIVA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z302",
"nombre": "QCA. ANALÍTICA I (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z405",
"nombre": "QCA. ANALÍTICA P/ING.ALIMENTOS",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z302",
"min": 2,
"max": 2,
"previas": [
{
"id": "ZCP08",
"nombre": "CRÉDITOS POR QCA. ANAL. CUANTITATIVA",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Z302",
"nombre": "QCA. ANALÍTICA I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z402",
"nombre": "QCA. ANALÍTICA II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z302E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP24",
"nombre": "CRÉDITOS POR QCA. ANAL. CUANTITATIVA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z302",
"nombre": "QCA. ANALÍTICA I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z405",
"nombre": "QCA. ANALÍTICA P/ING.ALIMENTOS",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z303C",
"min": 2,
"max": 2,
"previas": [
{
"id": "Z303B",
"nombre": "LABORATORIO DE QCA. INORGÁNICA",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z303",
"nombre": "QCA. INORGÁNICA (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Z303A",
"nombre": "QCA. INORGÁNICA (TEÓRICO)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z303",
"min": 5,
"max": 5,
"previas": [
{
"id": "ZCP10",
"nombre": "CRÉDITOS POR QUÍMICA INORGÁNICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP13",
"nombre": "CRÉDITOS POR QUÍMICA INORGÁNICA II",
"actividad": "Examen aprobado",
"puntaje": 4
},
{
"id": "Z303B",
"nombre": "LABORATORIO DE QCA. INORGÁNICA",
"actividad": "Curso aprobado",
"puntaje": 2
},
{
"id": "Z303",
"nombre": "QCA. INORGÁNICA (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 5
},
{
"id": "Z303A",
"nombre": "QCA. INORGÁNICA (TEÓRICO)",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_Z304",
"min": 2,
"max": 2,
"previas": [
{
"id": "1151",
"nombre": "FISICA 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1120",
"nombre": "FISICA GENERAL 1",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Z304E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP05",
"nombre": "CRÉDITOS POR FÍSICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1153",
"nombre": "FISICA 3",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "1121",
"nombre": "FISICA GENERAL 2",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z304",
"nombre": "FÍSICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z401C",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP14",
"nombre": "CRÉDITOS POR QUÍMICA ORGÁNICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z401",
"nombre": "QCA. ORGÁNICA 102 (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z401",
"min": 4,
"max": 4,
"previas": [
{
"id": "ZCP08",
"nombre": "CRÉDITOS POR QCA. ANAL. CUANTITATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z402",
"nombre": "QCA. ANALÍTICA II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z401",
"nombre": "QCA. ORGÁNICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 3
}
]
},
{
"id": "G_Z401E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP14",
"nombre": "CRÉDITOS POR QUÍMICA ORGÁNICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z401",
"nombre": "QCA. ORGÁNICA 102 (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z402",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP08",
"nombre": "CRÉDITOS POR QCA. ANAL. CUANTITATIVA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z402",
"nombre": "QCA. ANALÍTICA II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z405E",
"min": 2,
"max": 2,
"previas": [
{
"id": "Z302",
"nombre": "QCA. ANALÍTICA I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z402",
"nombre": "QCA. ANALÍTICA II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z405",
"nombre": "QCA. ANALÍTICA P/ING.ALIMENTOS",
"actividad": "Examen aprobado",
"puntaje": 2
}
]
},
{
"id": "G_Z406",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP12",
"nombre": "CRÉDITOS POR FISICOQUÍMICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z406A",
"nombre": "FISICOQUÍMICA 101 (DESDE 2003)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z406",
"nombre": "FISICOQUÍMICA I (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z406E",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP12",
"nombre": "CRÉDITOS POR FISICOQUÍMICA I",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z406A",
"nombre": "FISICOQUÍMICA 101 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z406C",
"nombre": "FISICOQUÍMICA 101 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z406Q",
"nombre": "FISICOQUÍMICA 101 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z403",
"nombre": "FISICOQUÍMICA GENERAL I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z406",
"nombre": "FISICOQUÍMICA I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z508",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z520A",
"nombre": "FISICOQUÍMICA 103 (DESDE 2003)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z508",
"nombre": "FISICOQUÍMICA II (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z511G",
"min": 3,
"max": 6,
"previas": [
{
"id": "ZCP34",
"nombre": "CRÉDITOS POR FENÓMENOS DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 3
},
{
"id": "Z511",
"nombre": "FENÓMENOS DE TRANSPORTE EN ING. DE PROC.",
"actividad": "Curso aprobado",
"puntaje": 3
},
{
"id": "Z511A",
"nombre": "FUNDAMENTOS DE FENOM. DE TRANSPORTE",
"actividad": "Examen aprobado",
"puntaje": 2
},
{
"id": "Q67",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Q74",
"nombre": "TRANSFERENCIA DE CALOR Y MASA 1",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z514",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z514",
"nombre": "BIOQUÍMICA OP. I (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z513",
"nombre": "BIOQUÍMICA OP. II (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z505",
"nombre": "BIOQUÍMICA OP. III (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "CA3",
"nombre": "CREDITOS POR BIOQUIMICA II",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "ZCP32",
"nombre": "CRÉDITOS POR BIOQUÍMICA I",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z514E",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z514",
"nombre": "BIOQUÍMICA OP. I (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z513",
"nombre": "BIOQUÍMICA OP. II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z505",
"nombre": "BIOQUÍMICA OP. III (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z520",
"min": 1,
"max": 1,
"previas": [
{
"id": "Z520",
"nombre": "FISICOQUÌMICA III (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z520A",
"nombre": "FISICOQUÍMICA 103 (DESDE 2003)",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z504",
"nombre": "FISICOQUÍMICA GENERAL II (PLAN 2000)",
"actividad": "Examen aprobado",
"puntaje": 1
}
]
},
{
"id": "G_Z521",
"min": 1,
"max": 1,
"previas": [
{
"id": "ZCP18",
"nombre": "CRÉDITOS POR ELECTROQUÍMICA",
"actividad": "Examen aprobado",
"puntaje": 1
},
{
"id": "Z521",
"nombre": "ELECTROQUÍMICA (PLAN 2000)",
"actividad": "Curso aprobado",
"puntaje": 1
},
{
"id": "Z521A",
"nombre": "FISICOQUÍMICA 104 (DESDE 2003)",
"actividad": "Curso aprobado",
"puntaje": 1
}
]
}
] | 18.059425 | 57 | 0.49183 |
55fd7bbe078dfc24f438ba1accd3846539e6ed76 | 559 | js | JavaScript | app/store/bi/types.js | YOHO-LAB/bi-dashboard | fa183f80bb1226ed536ea4a57fd072e32d0e6339 | [
"MIT"
] | 7 | 2018-05-31T07:46:26.000Z | 2019-04-15T10:08:18.000Z | app/store/bi/types.js | YOHO-LAB/bi-dashboard | fa183f80bb1226ed536ea4a57fd072e32d0e6339 | [
"MIT"
] | 1 | 2018-12-13T02:49:22.000Z | 2018-12-13T02:49:22.000Z | app/store/bi/types.js | YOHO-LAB/bi-dashboard | fa183f80bb1226ed536ea4a57fd072e32d0e6339 | [
"MIT"
] | 2 | 2020-07-05T09:36:16.000Z | 2021-03-11T13:23:22.000Z | export const DRAGING_ITEM = 'DRAGING_ITEM';
export const DROP_ITEM = 'DROP_ITEM';
export const DRAGEND_ITEM = 'DRAGEND_ITEM';
export const GET_GEE_CAPTCHA = 'GET_GEE_CAPTCHA';
export const SET_DRAG_STATUS = 'SET_DRAG_STATUS';
export const SET_DRAGOVER_VALUE = 'SET_DRAGOVER_VALUE';
export const SET_DRAGHOVER_VALUE = 'SET_DRAGHOVER_VALUE';
export const REMOVE_DRAG_ITEM = 'REMOVE_DRAG_ITEM';
export const MOUSEDOWN_DRAG_ITEM = 'MOUSEDOWN_DRAG_ITEM';
export const START_DRAGING_ITEM = 'START_DRAGING_ITEM';
export const END_DRAGING_ITEM = 'END_DRAGING_ITEM';
| 43 | 57 | 0.821109 |
55fd828a2ce99c60ae9f594253ea78bb1cab513a | 686 | js | JavaScript | samples/app.js | WebSpellChecker/wproofreader-ckeditor5 | 768ddcd629a836a9aa0ae4843003e108be066e1b | [
"MIT"
] | 6 | 2020-07-17T16:47:50.000Z | 2021-11-18T03:01:47.000Z | samples/app.js | WebSpellChecker/wproofreader-ckeditor5 | 768ddcd629a836a9aa0ae4843003e108be066e1b | [
"MIT"
] | 9 | 2020-08-07T11:41:35.000Z | 2022-02-13T18:18:43.000Z | samples/app.js | WebSpellChecker/wproofreader-ckeditor5 | 768ddcd629a836a9aa0ae4843003e108be066e1b | [
"MIT"
] | null | null | null | import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import Heading from '@ckeditor/ckeditor5-heading/src/heading';
import List from '@ckeditor/ckeditor5-list/src/list';
import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold';
import Italic from '@ckeditor/ckeditor5-basic-styles/src/italic';
import WProofreader from '../src/wproofreader';
export default class ClassicEditor extends ClassicEditorBase {};
ClassicEditor.builtinPlugins = [Essentials, Paragraph, Heading, List, Bold, Italic, WProofreader];
| 52.769231 | 98 | 0.810496 |
55fe07b2bbbc164ccce2f998ed201658468c943b | 22,739 | js | JavaScript | public/js/3.js | LarsWiegers/interner | 2e2f7eb4d1d1a227a61dc37bc31e0be534005a44 | [
"MIT"
] | 1 | 2020-02-24T15:31:40.000Z | 2020-02-24T15:31:40.000Z | public/js/3.js | LarsWiegers/interner | 2e2f7eb4d1d1a227a61dc37bc31e0be534005a44 | [
"MIT"
] | 3 | 2021-03-10T08:57:59.000Z | 2022-02-27T00:12:08.000Z | public/js/3.js | LarsWiegers/interner | 2e2f7eb4d1d1a227a61dc37bc31e0be534005a44 | [
"MIT"
] | null | null | null | (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Show.vue?vue&type=script&lang=js&":
/*!**********************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/Pages/Show.vue?vue&type=script&lang=js& ***!
\**********************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Shared_Layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/Shared/Layout */ "./resources/js/Shared/Layout.vue");
/* harmony import */ var _Shared_InternshipPill__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Shared/InternshipPill */ "./resources/js/Shared/InternshipPill.vue");
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ __webpack_exports__["default"] = ({
props: {
internship: Object
},
data: function data() {
return {
realInternship: this.internship,
newComment: '',
comments: this.internship.comments
};
},
components: {
'internship-pill': _Shared_InternshipPill__WEBPACK_IMPORTED_MODULE_1__["default"],
Layout: _Shared_Layout__WEBPACK_IMPORTED_MODULE_0__["default"]
},
methods: {
updateInternship: function updateInternship(state) {
var _this = this;
var internship = Object.assign({}, this.internship);
internship.state = state.newState;
axios.put('/internships/' + internship.id, internship).then(function (internship) {
_this.realInternship = internship.data;
_this.comments = internship.data.comments;
});
},
addComment: function addComment() {
var _this2 = this;
axios.post('/comments/', {
'internship_id': this.realInternship.id,
'text': this.newComment
}).then(function (comment) {
_this2.comments.push(comment.data);
});
}
}
});
/***/ }),
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js&":
/*!*********************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js& ***!
\*********************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ __webpack_exports__["default"] = ({
props: {
state: Object,
shouldShowDropdown: {
"default": true,
type: Boolean
}
},
data: function data() {
return {
dropdownOpen: false,
states: []
};
},
mounted: function mounted() {
var _this = this;
axios.get('/internships/states').then(function (states) {
_this.states = states.data;
});
},
methods: {
toggleDropdown: function toggleDropdown() {
this.dropdownOpen = !this.dropdownOpen;
},
updateInternship: function updateInternship(state) {
this.$emit('updateInternshipState', {
'newState': state
});
}
}
});
/***/ }),
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6&":
/*!**************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6& ***!
\**************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
return _c("layout", [
_c(
"h1",
{ staticClass: "text-2xl font-semibold mb-3" },
[
_vm._v(_vm._s(_vm.internship.title) + "\n "),
_c("internship-pill", {
staticClass: "internship-pill",
attrs: { state: _vm.realInternship.state },
on: { updateInternshipState: _vm.updateInternship }
})
],
1
),
_vm._v(" "),
_c("p", [_vm._v(_vm._s(_vm.realInternship.description))]),
_vm._v(" "),
_c(
"div",
{ staticClass: "font-sans" },
[
_vm._l(_vm.comments, function(comment) {
return _c(
"div",
{ staticClass: "bg-white my-8 border border-grey-light" },
[
_c("div", { staticClass: "flex pt-4 px-4" }, [
_c("div", { staticClass: "px-2 pt-2 flex-grow" }, [
_c("header", [
_c(
"div",
{
staticClass: "text-xs text-grey flex items-center my-1"
},
[
_c(
"svg",
{
staticClass:
"h-4 w-4 mr-1 feather feather-calendar",
attrs: {
xmlns: "http://www.w3.org/2000/svg",
width: "24",
height: "24",
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round"
}
},
[
_c("rect", {
attrs: {
x: "3",
y: "4",
width: "18",
height: "18",
rx: "2",
ry: "2"
}
}),
_vm._v(" "),
_c("line", {
attrs: { x1: "16", y1: "2", x2: "16", y2: "6" }
}),
_vm._v(" "),
_c("line", {
attrs: { x1: "8", y1: "2", x2: "8", y2: "6" }
}),
_vm._v(" "),
_c("line", {
attrs: { x1: "3", y1: "10", x2: "21", y2: "10" }
})
]
),
_vm._v(" "),
_c("span", { attrs: { title: comment.created_at } }, [
_vm._v(_vm._s(comment.how_long_ago))
])
]
)
]),
_vm._v(" "),
_c("article", { staticClass: "py-4 text-grey-darkest" }, [
_vm._v(
"\n " +
_vm._s(comment.text) +
"\n "
)
])
])
])
]
)
}),
_vm._v(" "),
_c("div", { staticClass: "bg-grey-lighter" }, [
_c("textarea", {
directives: [
{
name: "model",
rawName: "v-model",
value: _vm.newComment,
expression: "newComment"
}
],
staticClass: "w-full border border-blue rounded",
domProps: { value: _vm.newComment },
on: {
input: function($event) {
if ($event.target.composing) {
return
}
_vm.newComment = $event.target.value
}
}
}),
_vm._v(" "),
_c("div", { staticClass: "flex justify-end items-center mt-2" }, [
_c(
"button",
{
staticClass:
"py-2 px-4 bg-white border border-blue rounded rounded-full\n hover:bg-blue float-right",
on: { click: _vm.addComment }
},
[_vm._v("\n Add button\n ")]
)
])
])
],
2
)
])
}
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa&":
/*!*************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa& ***!
\*************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
return _c("span", { staticClass: "relative" }, [
_c(
"button",
{
staticClass:
"text-white py-2 px-2 rounded-full text-xl transition-background duration-300",
class:
"bg-" +
_vm.state.colour +
"-500 " +
" hover:bg-" +
_vm.state.colour +
"-700"
},
[
_vm._v("\n " + _vm._s(_vm.state.title) + "\n "),
_c(
"button",
{
class: { hidden: !_vm.shouldShowDropdown },
on: { click: _vm.toggleDropdown }
},
[_c("i", { staticClass: "fas fa-chevron-down" })]
)
]
),
_vm._v(" "),
_c(
"ul",
{
staticClass:
"absolute top-auto mt-2 rounded left-0 bg-white border-solid border-4 border-gray-600 border right-0",
class: { hidden: !_vm.dropdownOpen }
},
_vm._l(_vm.states, function(state) {
return _c(
"li",
{
staticClass: "pl-2 pt-4 pb-4 pr-2 border-solid border-1 text-center"
},
[
_c(
"button",
{
on: {
click: function($event) {
return _vm.updateInternship(state)
}
}
},
[_vm._v(_vm._s(state))]
)
]
)
}),
0
)
])
}
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ "./resources/js/Pages/Show.vue":
/*!*************************************!*\
!*** ./resources/js/Pages/Show.vue ***!
\*************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Show.vue?vue&type=template&id=732c8ba6& */ "./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6&");
/* harmony import */ var _Show_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Show.vue?vue&type=script&lang=js& */ "./resources/js/Pages/Show.vue?vue&type=script&lang=js&");
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
/* normalize component */
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
_Show_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__["render"],
_Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null
)
/* hot reload */
if (false) { var api; }
component.options.__file = "resources/js/Pages/Show.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ "./resources/js/Pages/Show.vue?vue&type=script&lang=js&":
/*!**************************************************************!*\
!*** ./resources/js/Pages/Show.vue?vue&type=script&lang=js& ***!
\**************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Show_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib??ref--4-0!../../../node_modules/vue-loader/lib??vue-loader-options!./Show.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Show.vue?vue&type=script&lang=js&");
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Show_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
/***/ }),
/***/ "./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6&":
/*!********************************************************************!*\
!*** ./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6& ***!
\********************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./Show.vue?vue&type=template&id=732c8ba6& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Pages/Show.vue?vue&type=template&id=732c8ba6&");
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Show_vue_vue_type_template_id_732c8ba6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/***/ }),
/***/ "./resources/js/Shared/InternshipPill.vue":
/*!************************************************!*\
!*** ./resources/js/Shared/InternshipPill.vue ***!
\************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./InternshipPill.vue?vue&type=template&id=6ccf5cfa& */ "./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa&");
/* harmony import */ var _InternshipPill_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InternshipPill.vue?vue&type=script&lang=js& */ "./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js&");
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
/* normalize component */
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
_InternshipPill_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__["render"],
_InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null
)
/* hot reload */
if (false) { var api; }
component.options.__file = "resources/js/Shared/InternshipPill.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ "./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js&":
/*!*************************************************************************!*\
!*** ./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js& ***!
\*************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InternshipPill_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib??ref--4-0!../../../node_modules/vue-loader/lib??vue-loader-options!./InternshipPill.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Shared/InternshipPill.vue?vue&type=script&lang=js&");
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InternshipPill_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
/***/ }),
/***/ "./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa&":
/*!*******************************************************************************!*\
!*** ./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa& ***!
\*******************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib??vue-loader-options!./InternshipPill.vue?vue&type=template&id=6ccf5cfa& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/Shared/InternshipPill.vue?vue&type=template&id=6ccf5cfa&");
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_InternshipPill_vue_vue_type_template_id_6ccf5cfa___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/***/ })
}]); | 42.031423 | 629 | 0.554774 |
55fe08a3b128a9b2028783b1038347645b65f73e | 619 | js | JavaScript | src/ht/scripts/171.d4600ce0dc77def39caa.chunk.js | waterFamily1/waterhaha | 89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff | [
"MIT"
] | null | null | null | src/ht/scripts/171.d4600ce0dc77def39caa.chunk.js | waterFamily1/waterhaha | 89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff | [
"MIT"
] | null | null | null | src/ht/scripts/171.d4600ce0dc77def39caa.chunk.js | waterFamily1/waterhaha | 89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[171],{1210:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this.$createElement;this._self._c;return this._m(0)},s=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{width:"100%",height:"90%",display:"flex","align-items":"center","justify-content":"center"}},[e("img",{attrs:{src:i(807),alt:""}})])}];n._withStripped=!0;var c={},r=i(1),l=Object(r.a)(c,n,s,!1,null,null,null);l.options.__file="src/views/404/404.vue";e.default=l.exports},807:function(t,e,i){t.exports=i.p+"images/7b44e3583c10c36b5b5467d7e4077c40.png"}}]); | 619 | 619 | 0.6979 |
55fe5e868d55af1731f2938c97d5e9583504568c | 7,859 | js | JavaScript | assets/script/quiz.js | vasylynash/JavaScript-Quiz | d145674b0f1e2e31ffb170fefc959be595ee00b5 | [
"MIT"
] | null | null | null | assets/script/quiz.js | vasylynash/JavaScript-Quiz | d145674b0f1e2e31ffb170fefc959be595ee00b5 | [
"MIT"
] | null | null | null | assets/script/quiz.js | vasylynash/JavaScript-Quiz | d145674b0f1e2e31ffb170fefc959be595ee00b5 | [
"MIT"
] | null | null | null | var quizContainer = document.getElementById("quiz");
var resultsContainer = document.getElementById("results");
var submitButton = document.getElementById("submit");
var previousButton = document.getElementById("previous");
var nextButton = document.getElementById("next");
var pages = document.getElementsByClassName("page");
var timer = document.getElementById("timer");
var currentPage = 0;
var userAnswers = [];
previousButton.style.display = "none";
submitButton.style.display = "none";
var quizQuestions = [
{
question: "How to check the type of a primitive variable?",
answers: [
"datatype",
"typeof",
"<variable_name> is"
],
correctAnswer: 1
},
{
question: "What is the difference between “ == “ and “ === “ operators?",
answers: [
"“==” is used to compare values whereas, “ === “ is used to compare both value and types",
"Both are comparison operators",
"None"
],
correctAnswer: 0
},
{
question: "What is DOM?",
answers: [
"Declaration of Modules",
"Document Object Model",
],
correctAnswer: 1
},
{
question: "What does reduce() method return?",
answers: [
"New array",
"Empty array",
"Single value"
],
correctAnswer: 2
},
{
question: "What does ECMA in ECMAScript mean?",
answers: [
"Extended Calculation of Math Abstractions",
"European Computer Manufacturer's Association",
"Enhanced Computer Manufacturer's Association",
],
correctAnswer: 1
},
];
var timeLeft = 60;
const timerValue = setInterval(function () {
timeLeft--;
timer.innerText = timeLeft;
if (timeLeft <= 0) {
saveUserAnswer();
showResultPage();
}
}, 1000);
function addPage() {
var page = document.createElement("div");
page.setAttribute("class", "page");
quizContainer.append(page);
}
function showQandA(quizQuestion) {
showQuestion(quizQuestion.question);
showAnswers(quizQuestion.answers);
}
function showQuestion(quizQuestionText) {
var question = document.createElement("div");
question.setAttribute("class", "question");
quizContainer.append(question);
question.setAttribute("name", `question`)
question.innerText = quizQuestionText;
}
function showAnswers(quizAnswersArray) {
var selected = userAnswers[currentPage];
var answers = document.createElement("div");
answers.setAttribute("class", "answers");
quizContainer.append(answers);
quizAnswersArray.forEach((quizAnswer, index) => {
var answerDiv = document.createElement("div");
var answer = document.createElement("input");
answer.setAttribute("type", "radio");
answer.setAttribute("value", `${index}`);
answer.setAttribute("name", "ans");
if (index == selected) {
answer.checked = true;
}
var label = document.createElement("label");
label.innerText = `${quizAnswer}`;
answers.append(answerDiv);
answerDiv.append(answer);
answerDiv.append(label);
})
}
function clearPage() {
quizContainer.innerHTML = "";
}
function showNextPage() {
clearPage();
currentPage++;
if (currentPage === quizQuestions.length - 1) {
nextButton.style.display = "none";
submitButton.style.display = "inline-block";
} else {
nextButton.style.display = "inline-block";
}
if (currentPage === 0) {
previousButton.style.display = "none";
} else {
previousButton.style.display = "inline-block";
}
showQandA(quizQuestions[currentPage]);
}
function showPreviousPage() {
clearPage();
currentPage--;
if (currentPage === quizQuestions.length - 1) {
nextButton.style.display = "none";
} else {
nextButton.style.display = "inline-block";
submitButton.style.display = "none";
}
if (currentPage === 0) {
previousButton.style.display = "none";
} else {
previousButton.style.display = "inline-block";
submitButton.style.display = "none";
}
showQandA(quizQuestions[currentPage]);
}
function saveUserAnswer() {
let answer = document.querySelector("[name='ans']:checked");
if (answer) {
userAnswers[currentPage] = answer.value;
if (answer.value != quizQuestions[currentPage].correctAnswer) {
timeLeft -= 5;
}
}
}
function getScore() {
let count = 0;
for (let i = 0; i < userAnswers.length; i++) {
if (userAnswers[i] == quizQuestions[i].correctAnswer) {
count++;
}
}
return count;
}
function showResultPage() {
quizContainer.innerHTML = "";
previousButton.style.display = "none";
nextButton.style.display = "none";
submitButton.style.display = "none";
var scoreData = document.createElement("div");
quizContainer.append(scoreData);
scoreData.innerText = `You score is: ` + getScore();
var initialsInputDiv = document.createElement("div");
quizContainer.append(initialsInputDiv);
var initialsLabel = document.createElement("label");
initialsInputDiv.append(initialsLabel);
initialsLabel.innerText = "Please enter your initials: "
var initialsInputField = document.createElement("input");
initialsInputDiv.append(initialsInputField);
initialsInputField.setAttribute("style", "margin: 10px");
initialsInputField.setAttribute("id", "initials");
var saveButton = document.createElement("button");
document.body.append(saveButton);
saveButton.setAttribute("id", "save");
saveButton.innerText = "Save";
clearInterval(timerValue);
timer.style.display = "none";
}
function saveToLocalStorage() {
const initialsInputField = document.getElementById("initials");
const userInput = initialsInputField.value;
const highscores = JSON.parse(localStorage.getItem("highscores") || "[]");
highscores.push({ initials: userInput, score: getScore() });
localStorage.setItem("highscores", JSON.stringify(highscores));
}
function onSave() {
quizContainer.innerHTML = "";
var saveButton = document.getElementById("save");
saveButton.style.display = "none";
var showHighscoresButton = document.createElement("button");
showHighscoresButton.setAttribute("id", "highscores")
showHighscoresButton.innerText = "View Highscores";
quizContainer.append(showHighscoresButton);
var startOverButton = document.createElement("button");
startOverButton.setAttribute("id", "start");
startOverButton.innerText = "Start over";
quizContainer.append(startOverButton);
}
function init() {
addPage();
showQandA(quizQuestions[currentPage]);
}
nextButton.addEventListener("click", saveUserAnswer);
nextButton.addEventListener("click", showNextPage);
previousButton.addEventListener("click", saveUserAnswer);
previousButton.addEventListener("click", showPreviousPage);
submitButton.addEventListener("click", saveUserAnswer);
submitButton.addEventListener("click", showResultPage);
document.addEventListener("click", function (event) {
if (event.target && event.target.id == "save") {
saveToLocalStorage();
}
})
document.addEventListener("click", function (event) {
if (event.target && event.target.id == "save") {
onSave();
}
})
document.addEventListener("click", function (event) {
if (event.target && event.target.id == "highscores") {
document.location = "highscores.html";
}
})
document.addEventListener("click", function (event) {
if (event.target && event.target.id == "start") {
document.location = "index.html";
}
})
init();
| 29.882129 | 102 | 0.644866 |
55ff2fae9f28b3a3d944b92b5bfc243f5c1350ae | 150 | js | JavaScript | src/middleware/graphql/createServer.js | grantrules/bigbutton | 982b62e60a92755f6e89e380c3573203706f0fa5 | [
"MIT"
] | null | null | null | src/middleware/graphql/createServer.js | grantrules/bigbutton | 982b62e60a92755f6e89e380c3573203706f0fa5 | [
"MIT"
] | null | null | null | src/middleware/graphql/createServer.js | grantrules/bigbutton | 982b62e60a92755f6e89e380c3573203706f0fa5 | [
"MIT"
] | null | null | null | import { graphqlHTTP } from 'express-graphql';
import schema from '../../schema';
export default () => graphqlHTTP({
schema,
graphiql: true,
});
| 18.75 | 46 | 0.66 |
55ff811801edfc3a41813b0438360f9f8fbbed0e | 19,313 | js | JavaScript | test.js | Short-io/elasticsearch-js-mock | b3b7fcf14367c13cc4a725a35423dfde562b94ba | [
"Apache-2.0"
] | 35 | 2020-04-17T20:06:18.000Z | 2022-03-18T04:45:50.000Z | test.js | Short-io/elasticsearch-js-mock | b3b7fcf14367c13cc4a725a35423dfde562b94ba | [
"Apache-2.0"
] | 15 | 2020-04-14T07:28:21.000Z | 2022-03-24T03:47:43.000Z | test.js | Short-io/elasticsearch-js-mock | b3b7fcf14367c13cc4a725a35423dfde562b94ba | [
"Apache-2.0"
] | 7 | 2020-05-21T11:10:22.000Z | 2021-09-22T12:54:51.000Z | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
'use strict'
const test = require('ava')
const { Client, errors } = require('@elastic/elasticsearch')
const intoStream = require('into-stream')
const Mock = require('./')
test('Should mock an API', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices'
}, () => {
return { status: 'ok' }
})
const response = await client.cat.indices()
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('Mock granularity', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search'
}, () => {
return {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
}
})
mock.add({
method: 'POST',
path: '/test/_search',
body: { query: { match: { foo: 'bar' } } }
}, () => {
return {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
}
})
let response = await client.search({
index: 'test',
body: { query: { match_all: {} } }
})
t.deepEqual(response.body, {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
})
response = await client.search({
index: 'test',
body: { query: { match: { foo: 'bar' } } }
})
t.deepEqual(response.body, {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
})
})
test('Dynamic paths', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/:index/_count'
}, () => {
return { count: 42 }
})
let response = await client.count({ index: 'foo' })
t.deepEqual(response.body, { count: 42 })
response = await client.count({ index: 'bar' })
t.deepEqual(response.body, { count: 42 })
})
test('If an API has not been mocked, it should return a 404', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
try {
await client.cat.indices()
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ResponseError)
t.deepEqual(err.body, { error: 'Mock not found' })
t.is(err.statusCode, 404)
}
})
test('Should handle compressed request', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
compression: 'gzip',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search'
}, () => {
return {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
}
})
mock.add({
method: 'POST',
path: '/test/_search',
body: { query: { match: { foo: 'bar' } } }
}, () => {
return {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
}
})
const response = await client.search({
index: 'test',
body: { query: { match_all: {} } }
})
t.deepEqual(response.body, {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
})
})
test('Should handle streaming body', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search'
}, () => {
return {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
}
})
mock.add({
method: 'POST',
path: '/test/_search',
body: { query: { match: { foo: 'bar' } } }
}, () => {
return {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
}
})
const response = await client.search({
index: 'test',
body: intoStream(JSON.stringify({ query: { match: { foo: 'bar' } } }))
})
t.deepEqual(response.body, {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
})
})
test('Should handle compressed streaming body', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
compression: 'gzip',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search'
}, () => {
return {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
}
})
mock.add({
method: 'POST',
path: '/test/_search',
body: { query: { match: { foo: 'bar' } } }
}, () => {
return {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
}
})
const response = await client.search({
index: 'test',
body: intoStream(JSON.stringify({ query: { match: { foo: 'bar' } } }))
})
t.deepEqual(response.body, {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
})
})
test.cb('Abort a request (with callbacks)', t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
const r = client.cat.indices((err, result) => {
t.true(err instanceof errors.RequestAbortedError)
t.end()
})
r.abort()
})
test('Abort a request (with promises)', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
const p = client.cat.indices()
p.abort()
try {
await p
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.RequestAbortedError)
}
})
test('Return a response error', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices'
}, () => {
return new errors.ResponseError({
body: { errors: {}, status: 500 },
statusCode: 500
})
})
try {
await client.cat.indices()
t.fail('Should throw')
} catch (err) {
t.deepEqual(err.body, { errors: {}, status: 500 })
t.is(err.statusCode, 500)
}
})
test('Return a timeout error', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices'
}, () => {
return new errors.TimeoutError()
})
try {
await client.cat.indices()
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.TimeoutError)
}
})
test('The mock function should receive the request parameters', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
compression: 'gzip',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search'
}, params => params)
const response = await client.search({
index: 'test',
body: { query: { match_all: {} } }
})
t.deepEqual(response.body, {
method: 'POST',
path: '/test/_search',
querystring: {},
body: {
query: { match_all: {} }
}
})
})
test('Should handle the same mock with different body/querystring', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/test/_search',
querystring: { pretty: 'true' },
body: { query: { match_all: {} } }
}, () => {
return {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
}
})
mock.add({
method: 'POST',
path: '/test/_search',
querystring: { pretty: 'true' },
body: { query: { match: { foo: 'bar' } } }
}, () => {
return {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
}
})
let response = await client.search({
index: 'test',
pretty: true,
body: { query: { match_all: {} } }
})
t.deepEqual(response.body, {
hits: {
total: { value: 1, relation: 'eq' },
hits: [{ _source: { baz: 'faz' } }]
}
})
response = await client.search({
index: 'test',
pretty: true,
body: { query: { match: { foo: 'bar' } } }
})
t.deepEqual(response.body, {
hits: {
total: { value: 0, relation: 'eq' },
hits: []
}
})
})
test('Discriminate on the querystring', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices'
}, () => {
return { querystring: false }
})
mock.add({
method: 'GET',
path: '/_cat/indices',
querystring: { pretty: 'true' }
}, () => {
return { querystring: true }
})
const response = await client.cat.indices({ pretty: true })
t.deepEqual(response.body, { querystring: true })
t.is(response.statusCode, 200)
})
test('The handler for the route exists, but the request is not enough precise', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices',
querystring: { human: 'true' }
}, () => {
return { status: 'ok' }
})
mock.add({
method: 'GET',
path: '/_cat/indices',
querystring: { pretty: 'true' }
}, () => {
return { status: 'ok' }
})
try {
await client.cat.indices()
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ResponseError)
t.deepEqual(err.body, { error: 'Mock not found' })
t.is(err.statusCode, 404)
}
})
test('Send back a plain string', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices'
}, () => {
return 'ok'
})
const response = await client.cat.indices()
t.is(response.body, 'ok')
t.is(response.statusCode, 200)
t.is(response.headers['content-type'], 'text/plain;utf=8')
})
test('Should ignore trailing slashes', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/_cat/indices/'
}, () => {
return { status: 'ok' }
})
const response = await client.cat.indices()
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('.add should throw if method and path are not defined', async t => {
const mock = new Mock()
try {
mock.add({ path: '/' }, () => {})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ConfigurationError)
t.is(err.message, 'The method is not defined')
}
try {
mock.add({ method: 'GET' }, () => {})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ConfigurationError)
t.is(err.message, 'The path is not defined')
}
try {
mock.add({ method: 'GET', path: '/' })
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ConfigurationError)
t.is(err.message, 'The resolver function is not defined')
}
})
test('Define multiple methods at once', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: ['GET', 'POST'],
path: '/:index/_search'
}, () => {
return { status: 'ok' }
})
let response = await client.search({
index: 'test',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
response = await client.search({
index: 'test',
body: {
query: { match: { foo: 'bar' } }
}
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('Define multiple paths at once', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: ['/test1/_search', '/test2/_search']
}, () => {
return { status: 'ok' }
})
let response = await client.search({
index: 'test1',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
response = await client.search({
index: 'test2',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('Define multiple paths and method at once', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: ['GET', 'POST'],
path: ['/test1/_search', '/test2/_search']
}, () => {
return { status: 'ok' }
})
let response = await client.search({
index: 'test1',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
response = await client.search({
index: 'test2',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
response = await client.search({
index: 'test1',
body: {
query: { match: { foo: 'bar' } }
}
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
response = await client.search({
index: 'test2',
body: {
query: { match: { foo: 'bar' } }
}
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('ndjson API support', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/_bulk'
}, params => {
t.deepEqual(params.body, [
{ foo: 'bar' },
{ baz: 'fa\nz' }
])
return { status: 'ok' }
})
const response = await client.bulk({
body: [
{ foo: 'bar' },
{ baz: 'fa\nz' }
]
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('ndjson API support (with compression)', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection(),
compression: 'gzip'
})
mock.add({
method: 'POST',
path: '/_bulk'
}, params => {
t.deepEqual(params.body, [
{ foo: 'bar' },
{ baz: 'fa\nz' }
])
return { status: 'ok' }
})
const response = await client.bulk({
body: [
{ foo: 'bar' },
{ baz: 'fa\nz' }
]
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('ndjson API support (as stream)', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'POST',
path: '/_bulk'
}, params => {
t.deepEqual(params.body, [
{ foo: 'bar' },
{ baz: 'fa\nz' }
])
return { status: 'ok' }
})
const response = await client.bulk({
body: intoStream(client.serializer.ndserialize([
{ foo: 'bar' },
{ baz: 'fa\nz' }
]))
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('ndjson API support (as stream with compression)', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection(),
compression: 'gzip'
})
mock.add({
method: 'POST',
path: '/_bulk'
}, params => {
t.deepEqual(params.body, [
{ foo: 'bar' },
{ baz: 'fa\nz' }
])
return { status: 'ok' }
})
const response = await client.bulk({
body: intoStream(client.serializer.ndserialize([
{ foo: 'bar' },
{ baz: 'fa\nz' }
]))
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
})
test('Should clear individual mocks', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: ['/test1/_search', '/test2/_search']
}, () => {
return { status: 'ok' }
})
// Clear test1 but not test2
mock.clear({ method: 'GET', path: ['/test1/_search'] })
// test2 still works
const response = await client.search({
index: 'test2',
q: 'foo:bar'
})
t.deepEqual(response.body, { status: 'ok' })
t.is(response.statusCode, 200)
// test1 does not
try {
await client.search({
index: 'test1',
q: 'foo:bar'
})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ResponseError)
t.deepEqual(err.body, { error: 'Mock not found' })
t.is(err.statusCode, 404)
}
})
test('.mock should throw if method and path are not defined', async t => {
const mock = new Mock()
try {
mock.clear({ path: '/' }, () => {})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ConfigurationError)
t.is(err.message, 'The method is not defined')
}
try {
mock.clear({ method: 'GET' }, () => {})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ConfigurationError)
t.is(err.message, 'The path is not defined')
}
})
test('Should clear all mocks', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: ['/test1/_search', '/test2/_search']
}, () => {
return { status: 'ok' }
})
// Clear mocks
mock.clearAll()
try {
await client.search({
index: 'test1',
q: 'foo:bar'
})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ResponseError)
t.deepEqual(err.body, { error: 'Mock not found' })
t.is(err.statusCode, 404)
}
try {
await client.search({
index: 'test2',
q: 'foo:bar'
})
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ResponseError)
t.deepEqual(err.body, { error: 'Mock not found' })
t.is(err.statusCode, 404)
}
})
test('Override product check', async t => {
const mock = new Mock()
const client = new Client({
node: 'http://localhost:9200',
Connection: mock.getConnection()
})
mock.add({
method: 'GET',
path: '/'
}, () => {
return { something: 'else' }
})
try {
await client.cat.nodes()
t.fail('Should throw')
} catch (err) {
t.true(err instanceof errors.ProductNotSupportedError)
}
})
| 21.387597 | 92 | 0.55574 |
55ffbe2c95b46b8c97366cc00d6120ea115e88c0 | 803 | js | JavaScript | src/utils/pingRegex.js | UCProjects/UnderScript | 2485b8ee417c273475bb065dc55eb1973f25e916 | [
"MIT"
] | 6 | 2019-03-21T17:25:01.000Z | 2021-11-09T17:09:31.000Z | src/utils/pingRegex.js | feildmaster/UnderScript | 489bea8b8128cce81e279badfda8f9e8deed292f | [
"MIT"
] | 56 | 2016-10-29T07:46:36.000Z | 2021-06-16T15:11:44.000Z | src/utils/pingRegex.js | feildmaster/UnderScript | 489bea8b8128cce81e279badfda8f9e8deed292f | [
"MIT"
] | 3 | 2018-03-19T13:12:19.000Z | 2020-01-12T11:13:43.000Z | fn.pingRegex = wrap(() => {
const filter = /(\||\\|\(|\)|\*|\+|\?|\.|\^|\$|\[|\{|\})/g;
const atReplace = 'atSign<@>';
class AtSafeRegExp extends RegExp {
test(string) {
return super.test(string.replace('@', atReplace));
}
replace(text, mask) {
return text.replace('@', atReplace).replace(this, mask).replace(atReplace, '@');
}
}
function filterMeta(text) {
return text.replace(filter, '\\$1').replace('@', atReplace);
}
function build() {
const extras = settings.value('underscript.ping.extras');
if (!extras.length) {
return {
test() {
return false;
},
};
}
const exp = `\\b((?:${extras.map(filterMeta).join(')|(?:')}))(?!.*">)\\b`;
return new AtSafeRegExp(exp, 'gi');
}
return build;
});
| 24.333333 | 86 | 0.524284 |
55fffc309c6265d7272357e1628b4ec86a5aecd6 | 9,240 | js | JavaScript | ajax/libs/tinycolor/0.9.9/tinycolor.min.js | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | 5 | 2015-02-20T16:11:30.000Z | 2017-05-15T11:50:44.000Z | ajax/libs/tinycolor/0.9.9/tinycolor.min.js | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | null | null | null | ajax/libs/tinycolor/0.9.9/tinycolor.min.js | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | 4 | 2015-07-14T16:16:05.000Z | 2021-03-10T08:15:54.000Z | !function(e){function r(e){if("object"==typeof e&&e.hasOwnProperty("_tc_id"))return e;var r=a(e),t=r.r,f=r.g,s=r.b,i=parseFloat(r.a),u=k(100*i)/100,d=r.format;return 1>t&&(t=k(t)),1>f&&(f=k(f)),1>s&&(s=k(s)),{ok:r.ok,format:d,_tc_id:y++,alpha:i,toHsv:function(){var e=o(t,f,s);return{h:360*e.h,s:e.s,v:e.v,a:i}},toHsvString:function(){var e=o(t,f,s),r=k(360*e.h),a=k(100*e.s),n=k(100*e.v);return 1==i?"hsv("+r+", "+a+"%, "+n+"%)":"hsva("+r+", "+a+"%, "+n+"%, "+u+")"},toHsl:function(){var e=n(t,f,s);return{h:360*e.h,s:e.s,l:e.l,a:i}},toHslString:function(){var e=n(t,f,s),r=k(360*e.h),a=k(100*e.s),o=k(100*e.l);return 1==i?"hsl("+r+", "+a+"%, "+o+"%)":"hsla("+r+", "+a+"%, "+o+"%, "+u+")"},toHex:function(){return l(t,f,s)},toHexString:function(){return"#"+l(t,f,s)},toRgb:function(){return{r:k(t),g:k(f),b:k(s),a:i}},toRgbString:function(){return 1==i?"rgb("+k(t)+", "+k(f)+", "+k(s)+")":"rgba("+k(t)+", "+k(f)+", "+k(s)+", "+u+")"},toName:function(){return F[l(t,f,s)]||!1},toFilter:function(){var e=l(t,f,s),r=Math.round(255*parseFloat(i)).toString(16);return"progid:DXImageTransform.Microsoft.gradient(startColorstr=#"+r+e+",endColorstr=#"+r+e+")"},toString:function(e){e=e||this.format;var r=!1;return"rgb"===e&&(r=this.toRgbString()),"hex"===e&&(r=this.toHexString()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()}}}function a(e){var r={r:255,g:255,b:255},a=1,n=!1,o=!1;if("string"==typeof e&&(e=v(e)),"object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))r=t(e.r,e.g,e.b),n=!0,o="rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v"))e.s=b(e.s),e.v=b(e.v),r=s(e.h,e.s,e.v),n=!0,o="hsv";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=b(e.s),e.l=b(e.l);var r=f(e.h,e.s,e.l);n=!0,o="hsl"}e.hasOwnProperty("a")&&(a=e.a)}return{ok:n,format:e.format||o,r:x(255,H(r.r,0)),g:x(255,H(r.g,0)),b:x(255,H(r.b,0)),a:a}}function t(e,r,a){return{r:255*u(e,255),g:255*u(r,255),b:255*u(a,255)}}function n(e,r,a){e=u(e,255),r=u(r,255),a=u(a,255);var t,n,f=H(e,r,a),o=x(e,r,a),s=(f+o)/2;if(f==o)t=n=0;else{var l=f-o;switch(n=s>.5?l/(2-f-o):l/(f+o),f){case e:t=(r-a)/l+(a>r?6:0);break;case r:t=(a-e)/l+2;break;case a:t=(e-r)/l+4}t/=6}return{h:t,s:n,l:s}}function f(e,r,a){function t(e,r,a){return 0>a&&(a+=1),a>1&&(a-=1),1/6>a?e+6*(r-e)*a:.5>a?r:2/3>a?e+(r-e)*(2/3-a)*6:e}var n,f,o;if(e=u(e,360),r=u(r,100),a=u(a,100),0==r)n=f=o=a;else{var s=.5>a?a*(1+r):a+r-a*r,l=2*a-s;n=t(l,s,e+1/3),f=t(l,s,e),o=t(l,s,e-1/3)}return{r:255*n,g:255*f,b:255*o}}function o(e,r,a){e=u(e,255),r=u(r,255),a=u(a,255);var t,n,f=H(e,r,a),o=x(e,r,a),s=f,l=f-o;if(n=0==f?0:l/f,f==o)t=0;else{switch(f){case e:t=(r-a)/l+(a>r?6:0);break;case r:t=(a-e)/l+2;break;case a:t=(e-r)/l+4}t/=6}return{h:t,s:n,v:s}}function s(e,r,a){var t,n,f;e=6*u(e,360),r=u(r,100),a=u(a,100);var o=w.floor(e),s=e-o,l=a*(1-r),i=a*(1-s*r),d=a*(1-(1-s)*r),c=o%6,t=[a,i,l,l,d,a][c],n=[d,a,a,i,l,l][c],f=[l,l,d,a,a,i][c];return{r:255*t,g:255*n,b:255*f}}function l(e,r,a){function t(e){return 1==e.length?"0"+e:""+e}var n=[t(k(e).toString(16)),t(k(r).toString(16)),t(k(a).toString(16))];return n[0][0]==n[0][1]&&n[1][0]==n[1][1]&&n[2][0]==n[2][1]?n[0][0]+n[1][0]+n[2][0]:n.join("")}function i(e){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[e[a]]=a);return r}function u(e,r){h(e)&&(e="100%");var a=g(e);return e=x(r,H(0,parseFloat(e))),a&&(e=parseInt(e*r)/100),w.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function d(e){return x(1,H(0,e))}function c(e){return parseInt(e,16)}function h(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function g(e){return"string"==typeof e&&-1!=e.indexOf("%")}function b(e){return 1>=e&&(e=100*e+"%"),e}function v(e){e=e.replace(m,"").replace(p,"").toLowerCase();var r=!1;if(S[e])e=S[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0};var a;return(a=P.rgb.exec(e))?{r:a[1],g:a[2],b:a[3]}:(a=P.rgba.exec(e))?{r:a[1],g:a[2],b:a[3],a:a[4]}:(a=P.hsl.exec(e))?{h:a[1],s:a[2],l:a[3]}:(a=P.hsla.exec(e))?{h:a[1],s:a[2],l:a[3],a:a[4]}:(a=P.hsv.exec(e))?{h:a[1],s:a[2],v:a[3]}:(a=P.hex6.exec(e))?{r:c(a[1]),g:c(a[2]),b:c(a[3]),format:r?"name":"hex"}:(a=P.hex3.exec(e))?{r:c(a[1]+""+a[1]),g:c(a[2]+""+a[2]),b:c(a[3]+""+a[3]),format:r?"name":"hex"}:!1}var m=/^[\s,#]+/,p=/\s+$/,y=0,w=Math,k=w.round,x=w.min,H=w.max,O=w.random;r.fromRatio=function(e){if("object"==typeof e){var a={};for(var t in e)a[t]=b(e[t]);e=a}return r(e)},r.equals=function(e,a){return e&&a?r(e).toHex()==r(a).toHex():!1},r.random=function(){return r.fromRatio({r:O(),g:O(),b:O()})},r.desaturate=function(e,a){var t=r(e).toHsl();return t.s-=(a||10)/100,t.s=d(t.s),r(t)},r.saturate=function(e,a){var t=r(e).toHsl();return t.s+=(a||10)/100,t.s=d(t.s),r(t)},r.greyscale=function(e){return r.desaturate(e,100)},r.lighten=function(e,a){var t=r(e).toHsl();return t.l+=(a||10)/100,t.l=d(t.l),r(t)},r.darken=function(e,a){var t=r(e).toHsl();return t.l-=(a||10)/100,t.l=d(t.l),r(t)},r.complement=function(e){var a=r(e).toHsl();return a.h=(a.h+180)%360,r(a)},r.triad=function(e){var a=r(e).toHsl(),t=a.h;return[r(e),r({h:(t+120)%360,s:a.s,l:a.l}),r({h:(t+240)%360,s:a.s,l:a.l})]},r.tetrad=function(e){var a=r(e).toHsl(),t=a.h;return[r(e),r({h:(t+90)%360,s:a.s,l:a.l}),r({h:(t+180)%360,s:a.s,l:a.l}),r({h:(t+270)%360,s:a.s,l:a.l})]},r.splitcomplement=function(e){var a=r(e).toHsl(),t=a.h;return[r(e),r({h:(t+72)%360,s:a.s,l:a.l}),r({h:(t+216)%360,s:a.s,l:a.l})]},r.analogous=function(e,a,t){a=a||6,t=t||30;var n=r(e).toHsl(),f=360/t,o=[r(e)];for(n.h=(n.h-(f*a>>1)+720)%360;--a;)n.h=(n.h+f)%360,o.push(r(n));return o},r.monochromatic=function(e,a){a=a||6;for(var t=r(e).toHsv(),n=t.h,f=t.s,o=t.v,s=[],l=1/a;a--;)s.push(r({h:n,s:f,v:o})),o=(o+l)%1;return s},r.readable=function(e,a){var t=r(e).toRgb(),n=r(a).toRgb();return(n.r-t.r)*(n.r-t.r)+(n.g-t.g)*(n.g-t.g)+(n.b-t.b)*(n.b-t.b)>10404};var S=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=r.hexNames=i(S),P=function(){var e="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",a="(?:"+r+")|(?:"+e+")",t="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?",n="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?";return{rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof module&&module.exports?module.exports=r:e.tinycolor=r}(this); | 9,240 | 9,240 | 0.629113 |
3600a5dcfb24536a5df10833f20f5286867487d5 | 3,163 | js | JavaScript | evaluate-news-article/src/server/index.js | MohamedSherif/udacity-projects-starter-kit | 7f9072070babcab9bc810b8dcdd955a52da513f2 | [
"MIT"
] | null | null | null | evaluate-news-article/src/server/index.js | MohamedSherif/udacity-projects-starter-kit | 7f9072070babcab9bc810b8dcdd955a52da513f2 | [
"MIT"
] | null | null | null | evaluate-news-article/src/server/index.js | MohamedSherif/udacity-projects-starter-kit | 7f9072070babcab9bc810b8dcdd955a52da513f2 | [
"MIT"
] | null | null | null | // Environment variables Configuration
const dotenv = require('dotenv');
dotenv.config();
// console.log(`Your API key is ${process.env.API_KEY}`);
const express = require('express')
const mockAPIResponse = require('./mockAPI.js')
var bodyParser = require('body-parser')
var cors = require('cors')
const https = require('follow-redirects').https;
const fs = require('fs');
const PORT = 8085
// Create an instance for the server
const app = express()
// Configure cors to avoid cors-origin issue
app.use(cors())
// Configure express to use body-parser as middle-ware.
// to use json
app.use(bodyParser.json())
// to use url encoded values
app.use(bodyParser.urlencoded({
extended: true
}))
// Configure express static directory.
app.use(express.static('dist'))
console.log(JSON.stringify(mockAPIResponse))
app.get('/', function (req, res) {
// res.sendFile('dist/index.html')
console.log(req);
res.sendFile(path.resolve('src/client/views/index.html'))
})
// INFO: a route that handling post request for new URL that coming from the frontend
app.post('/add-url', async (req, res) => {
console.log(req.body);
try {
var url = req.body._url;
var options = {
'method': 'POST',
'hostname': 'api.meaningcloud.com',
'path': '/sentiment-2.1?key=' + process.env.API_KEY + '&lang=en&url=' + url,
'headers': {
},
'maxRedirects': 20
};
var req = https.request(options, function (response) {
var chunks = [];
response.on("data", function (chunk) {
chunks.push(chunk);
});
response.on("end", function (chunk) {
var body = Buffer.concat(chunks);
console.log('end');
// console.log(body.toString());
console.log(typeof(body));
var jsonBody = JSON.parse(body.toString());
var apiResponse = {
text: (jsonBody.sentence_list != null && jsonBody.sentence_list != undefined && jsonBody.sentence_list.length > 0)? jsonBody.sentence_list[0].text : '',
score_tag : jsonBody.score_tag,
agreement : jsonBody.agreement,
subjectivity : jsonBody.subjectivity,
confidence : jsonBody.confidence,
irony : jsonBody.irony
};
console.log(apiResponse);
res.send(apiResponse);
});
response.on("error", function (error) {
console.log('Error');
console.log(body.toString());
console.error(error);
});
});
req.end();
} catch (error) {
console.log(error.message)
}
})
app.get('/test', function (req, res) {
console.log(req);
res.send(mockAPIResponse)
})
// designates what port the app will listen to for incoming requests
app.listen(PORT, (error) => {
if (error) throw new Error(error)
console.log(`Server listening on port ${PORT}!`)
})
// Export app to use it in the unit testing
| 29.839623 | 172 | 0.571925 |
36012eb14e07edf4821b07859356faa9f7609473 | 645 | js | JavaScript | js/toxiclibs/lib/toxi/color/theory/SplitComplementaryStrategy.js | h3rb/papi-demo | 2b00e75387caefb5f369c3ca8e7dfddae99ef831 | [
"BSD-2-Clause"
] | null | null | null | js/toxiclibs/lib/toxi/color/theory/SplitComplementaryStrategy.js | h3rb/papi-demo | 2b00e75387caefb5f369c3ca8e7dfddae99ef831 | [
"BSD-2-Clause"
] | null | null | null | js/toxiclibs/lib/toxi/color/theory/SplitComplementaryStrategy.js | h3rb/papi-demo | 2b00e75387caefb5f369c3ca8e7dfddae99ef831 | [
"BSD-2-Clause"
] | null | null | null | define([
'./strategies',
'../ColorList'
], function( strategies, ColorList ){
/**
* Implements the <a href=
* "http://www.tigercolor.com/color-lab/color-theory/color-theory-intro.htm#split-complementary"
* >split-complementary color scheme</a> to create 2 compatible colors for the
* given one.
*/
return strategies.create('SplitComplementary', {
createListFromColor: function( src ){
var colors = new ColorList(src);
colors.add(src.getRotatedRYB(150).lighten(0.1));
colors.add(src.getRotatedRYB(210).lighten(0.1));
return colors;
}
});
});
| 32.25 | 99 | 0.612403 |
36034e974c45cf1a84d2288516c4a59e073f3937 | 64 | js | JavaScript | node_modules/trapit/index.js | BrenPatF/timer-set-nodejs | 922ac83cacbbf31965655b15cd64f16023e9df07 | [
"ISC"
] | null | null | null | node_modules/trapit/index.js | BrenPatF/timer-set-nodejs | 922ac83cacbbf31965655b15cd64f16023e9df07 | [
"ISC"
] | null | null | null | node_modules/trapit/index.js | BrenPatF/timer-set-nodejs | 922ac83cacbbf31965655b15cd64f16023e9df07 | [
"ISC"
] | null | null | null | const Trapit = require('./lib/trapit');
module.exports = Trapit; | 32 | 39 | 0.71875 |
3603e013cf1c578c192dadd163b00b834e65e58c | 753 | js | JavaScript | src/api/role.js | CCheeper/vue-element-admin | d0d687b05f0bcdde74550b8037fcc3c3ead7b3e9 | [
"MIT"
] | 1 | 2019-07-06T15:24:24.000Z | 2019-07-06T15:24:24.000Z | src/api/role.js | CCheeper/vue-element-admin | d0d687b05f0bcdde74550b8037fcc3c3ead7b3e9 | [
"MIT"
] | null | null | null | src/api/role.js | CCheeper/vue-element-admin | d0d687b05f0bcdde74550b8037fcc3c3ead7b3e9 | [
"MIT"
] | 1 | 2019-06-30T06:56:31.000Z | 2019-06-30T06:56:31.000Z | import request from '@/utils/request'
export function fetchList(query) {
return request({
url: '/role/list',
method: 'get',
params: query
})
}
export function fetchRole(id) {
return request({
url: '/role/detail',
method: 'get',
params: { id }
})
}
export function fetchPv(pv) {
return request({
url: '/role/pv',
method: 'get',
params: { pv }
})
}
export function createRole(data) {
return request({
url: '/role/create',
method: 'post',
data
})
}
export function updateRole(data) {
return request({
url: '/role/update',
method: 'post',
data
})
}
export function uploadfile(data) {
return request({
url: '/upload',
method: 'post',
data
})
}
| 15.06 | 37 | 0.572377 |
3604e78cc246008435cf192bfdb1fd2212338516 | 733 | js | JavaScript | smart-contracts/test/helpers/lock-helper.js | macrodemic-nftpp/nftpp-unlock | 76592aeef3a11d9b72d777a0fdadb54f580aee88 | [
"MIT"
] | null | null | null | smart-contracts/test/helpers/lock-helper.js | macrodemic-nftpp/nftpp-unlock | 76592aeef3a11d9b72d777a0fdadb54f580aee88 | [
"MIT"
] | 3 | 2022-02-14T15:02:27.000Z | 2022-03-16T15:10:57.000Z | smart-contracts/test/helpers/lock-helper.js | macrodemic-nftpp/nftpp-unlock | 76592aeef3a11d9b72d777a0fdadb54f580aee88 | [
"MIT"
] | null | null | null | const { ethers } = require('hardhat')
module.exports = {
async createLock(name, ownerAddress, price = 10) {
const lock = await this.deployLockTemplate(name);
await lock.initialize(
ownerAddress,
99999999,
"0x0000000000000000000000000000000000000000",
price,
200,
"0x11030330f020D5C5"
);
const Lock = await ethers.getContractFactory(name)
return await Lock.attach(lock.address);
},
async deployLockTemplate(name) {
const lockTemplate = await ethers.getContractFactory(name)
const publicLock = await lockTemplate.deploy()
await publicLock.deployed()
return publicLock;
}
} | 29.32 | 66 | 0.61528 |
3605d66ec6ae491e814b81736af0c98a6ab8d307 | 1,034 | js | JavaScript | lib/rules/no-redeclare.js | xjamundx/eslint | 5ea3b27902b37c093dec945d4607a816b52dff49 | [
"MIT"
] | null | null | null | lib/rules/no-redeclare.js | xjamundx/eslint | 5ea3b27902b37c093dec945d4607a816b52dff49 | [
"MIT"
] | null | null | null | lib/rules/no-redeclare.js | xjamundx/eslint | 5ea3b27902b37c093dec945d4607a816b52dff49 | [
"MIT"
] | null | null | null | /**
* @fileoverview Rule to flag when the same variable is declared more then once.
* @author Ilya Volodin
*/
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(context) {
"use strict";
var findVariables = function() {
var scope = context.getScope();
scope.variables.forEach(function(variable) {
if (variable.identifiers && variable.identifiers.length > 1) {
variable.identifiers.sort(function(a, b) { return b.range[1] - a.range[1];});
for (var i=1, l=variable.identifiers.length; i<l; i++) {
context.report(variable.identifiers[i], "{{a}} is already defined", {a: variable.name});
}
}
});
};
return {
"Program": findVariables,
"FunctionExpression": findVariables,
"FunctionDeclaration": findVariables
};
};
| 31.333333 | 108 | 0.487427 |
3605da5176f1f9bc143ae9ffea191f0d454fef62 | 6,507 | js | JavaScript | app/chat_room/chat_room.js | rachelee/GroupToGoal-Client | 777bc3b953ed3993ddc67397a9c2ffa7ec7d4e47 | [
"MIT"
] | null | null | null | app/chat_room/chat_room.js | rachelee/GroupToGoal-Client | 777bc3b953ed3993ddc67397a9c2ffa7ec7d4e47 | [
"MIT"
] | null | null | null | app/chat_room/chat_room.js | rachelee/GroupToGoal-Client | 777bc3b953ed3993ddc67397a9c2ffa7ec7d4e47 | [
"MIT"
] | null | null | null | 'use strict';
angular.module('myApp.chat_room', ['ngRoute','angular-google-gapi'])
.config(['$routeProvider', function($routeProvider) {
//route for my chat page
$routeProvider.when('/chat_room', {
templateUrl: 'chat_room/chat_room.html',
controller: 'ChatRoomCtrl'
});
$routeProvider.when('/individual_chat_room', {
templateUrl: 'chat_room/individual_chat_room.html',
controller: 'ChatRoomCtrl'
});
}])
.controller('ChatRoomCtrl', [ '$scope','$rootScope', function($scope, $rootScope) {
//console.log("my username:"+$rootScope.localUsername);
//
//console.log("my groupmembers:"+$rootScope.groupMembers);
//
//console.log($rootScope.localUsername, $rootScope.localPassword);
$scope.clearError = function() {
$('div.error').text("");
}
$scope.handleError = function(error) {
$('div.error').text(error.message);
}
/* $scope.sinchClient.newUser( $scope.loginObject, function(ticket) {
$scope.sinchClient.start(ticket, function() {
$scope.global_username = $scope. username;
}).fail( $scope.handleError);
}).fail( $scope.handleError);
*/
//$scope.loginUser=function() {
// event.preventDefault();
// $('button#createUser').attr('disabled', true);
// $('button#loginUser').attr('disabled', true);
// $scope.clearError();
//
// $scope.username = $('input#username').val();
// $scope.password = $('input#password').val();
//
// $scope.loginObject = {username: $scope.username, password: $scope.password};
// $scope.sinchClient.start($scope.loginObject, function() {
// $scope.global_username = $scope.username;
// $('input#username').val( '');
// $('input#password').val( '' );
//
// }).fail($scope.handleError);
//}
//
//$scope.createUser=function(){
// event.preventDefault();
//
//
// $scope.username = $('input#username').val();
// $scope.password = $('input#password').val();
//
// $scope.loginObject = {username: $scope.username, password: $scope.password};
// $scope.sinchClient.newUser( $scope.loginObject, function(ticket) {
// sinchClient.start(ticket, function() {
// $scope.global_username = $scope.username;
// $('input#username').val( '');
// $('input#password').val( '' );
// // $scope.changeRecipient();
// }).fail($scope.handleError);
// }).fail($scope.handleError);
//}
//
//
$scope.receiver=" ";
$scope.sinchClient = new SinchClient({
applicationKey: '858acdbb-23ac-4f49-8441-8ca9f69d0236',
capabilities: {messaging: true},
startActiveConnection: true,
});
$scope.loginObject = {username: $rootScope.localUsername, password: $rootScope.localPassword};
$scope.sinchClient.start( $scope.loginObject, function() {
console.log("sinch sucess!");
});
$scope.messageClient = $scope.sinchClient.getMessageClient();
console.log("my message client"+$scope.messageClient);
////initial posts
//function initChat(){
//
// $scope.receipter=$rootScope.groupMembers;
//
//}
$scope.groupChat=function(){
$scope.receiver=$rootScope.groupMembers;
console.log("multi "+$scope.receiver);
}
$scope.getChatWith= function(user){
$scope.receiver=user;
console.log("single "+$scope.receiver);
}
$scope.sendBt=function(){
event.preventDefault();
$scope.clearError();
$scope.text = $('input#message').val();
$('input#message').val('');
$scope.sinchMessage = $scope.messageClient.newMessage($scope.receiver,$scope.text);
console.log( $scope.sinchMessage);
$scope.messageClient .send($scope.sinchMessage).fail($scope.handleError);
}
/* $scope.eventListener = {
onIncomingMessage: function(message) {
if (message.senderId == $scope.global_username) {
$('div#chatArea').append('<div>' + $scope.global_username+": "+message.textBody + '</div>');
} else {
$('div#chatArea').append('<div style="color:red;">' + ": "+message.textBody
+ '</div>');
}
}
}
*/
$scope.eventListener = {
onIncomingMessage: function(message) {
$('form#chatArea').append('<form class="msgRow" id="'+message.messageId+'"></form>' +
'<div class="clearfix"></div>');
$scope.textScroll=document.getElementById("chatArea");
$scope.textScroll.scrollTop= 9999999;
$('form.msgRow#'+message.messageId)
.attr('class',$rootScope.localUsername == message.senderId ? 'me' : 'other')
.append([
'<form id="from">'+
($rootScope.localUsername== message.senderId ? '<div style="color:rgba(0, 0, 135, 0.58); font-size: 20px; ' +
'font-family: "Courier New", Courier, monospace>'+ 'Me: '+
message.textBody+ '</div>' : '<div style=" color:rgba(163, 84, 31, 0.6)">'+message.senderId+' : '
+ message.textBody+'</div>')+'</form>',
'<div class="recipients"></div>'
]);
}
}
$scope.messageClient.addEventListener($scope.eventListener);
$scope.eventListenerDelivery = {
onMessageDelivered: function(messageDeliveryInfo) {
//$('div#'+messageDeliveryInfo.messageId+' div.recipients').append(messageDeliveryInfo.recipientId + ' ');
$('form#chatArea'+messageDeliveryInfo.messageId+' div.recipients').append('<img src="style/delivered_green.png" ' +
'title="'+messageDeliveryInfo.recipientId+'">');
}
}
$scope. messageClient.addEventListener($scope.eventListenerDelivery);
}]); | 33.715026 | 133 | 0.524973 |
360645206742d7a18f340de46ba4461f7c01d00c | 55 | js | JavaScript | scripts/build.js | bhuvanmalik007/node-takeoff | efa48dc931df4ea12f57cc2197693d0699f23bc8 | [
"MIT"
] | 1 | 2019-04-09T03:13:01.000Z | 2019-04-09T03:13:01.000Z | scripts/build.js | bhuvanmalik007/snippet-sniper-node | 67245cbeb9509e2f772108644b7002f79a0c4559 | [
"MIT"
] | null | null | null | scripts/build.js | bhuvanmalik007/snippet-sniper-node | 67245cbeb9509e2f772108644b7002f79a0c4559 | [
"MIT"
] | null | null | null | const lectro = require('./baseconfig')
lectro.build()
| 13.75 | 38 | 0.709091 |
3606bb02f552c97f5a80a4f7e627975df99d0eca | 3,104 | js | JavaScript | dcs-webapp/web/schema/toggler.js | rhuan080/dls-repository-stack | 8e19d6a9a3390ce3e3e1031ea8d0f4c5db6eb7d3 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-06-16T10:03:46.000Z | 2017-07-05T11:15:10.000Z | dcs-webapp/web/schema/toggler.js | rhuan080/dls-repository-stack | 8e19d6a9a3390ce3e3e1031ea8d0f4c5db6eb7d3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | dcs-webapp/web/schema/toggler.js | rhuan080/dls-repository-stack | 8e19d6a9a3390ce3e3e1031ea8d0f4c5db6eb7d3 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-03T17:18:43.000Z | 2019-12-03T17:18:43.000Z | /* adapted from CCS toggler functionality
Requirements:
1 - dom structure:
<div class="toggler" id="XXX">
<div id="toggler-lnk-XXX" class="togglerClosed">Header text</div>
<div id="toggler-con-XXX" style="display:none">
If you see this, then toggler is open
</div>
</div>
2 - CSS classes
.togglerClosed {
background-image: url(images/arrow_right_gray.gif);
background-repeat: no-repeat;
background-position: center left;
white-space:nowrap;
padding: 8px 0px 10px 40px;
outline: 0;
background-color: #779878;
}
.togglerOpen {
background-image: url(images/arrow_down_right.gif);
outline: 0;
}
.togglerOver {
cursor:pointer;
background-color: #779878;
}
3 - images
must have images in place to correspond to the background-images in classes above
4 - call initializeTogglers after dom is loaded
*/
function doToggler(id,closeOthersOfClass) {
var labelElm = $('toggler-lnk-'+id);
var toggleElm = $('toggler-con-'+id);
if(toggleElm) {
var labelElm = $('toggler-lnk-'+id);
if(!toggleElm.visible() && closeOthersOfClass) {
$$('.'+closeOthersOfClass).each(function(otherElm) {
if(otherElm.hasClassName('togglerOpen') && otherElm.id != 'toggler-lnk-'+id) {
var otherId = otherElm.id.sub('toggler-lnk-','');
toggleAction('toggler-con-'+otherId,otherElm,'close');
}
});
}
toggleAction(toggleElm,labelElm);
}
}
function doTogglerOpen(id) {
toggleAction($('toggler-con-'+id),$('toggler-lnk-'+id),'open');
return false;
}
function doTogglerClose(id) {
toggleAction($('toggler-con-'+id),$('toggler-lnk-'+id),'close');
return false;
}
// Internal helper function for toggle, open, close
function toggleAction(toggleElmId,labelElmId,action) {
// log ("toggleAction: " + toggleElmId.identify() + ", " + labelElmId.identify() + ", " + action);
var labelElm = $(labelElmId);
if(!action || action == 'toggle') {
if($(toggleElmId).visible()) {
Effect.BlindUp(toggleElmId, { duration: 0.2 });
labelElm.removeClassName('togglerOpen');
}
else {
Effect.BlindDown(toggleElmId, { duration: 0.2 });
labelElm.addClassName('togglerOpen');
}
}
else if (action == 'close' && labelElm.hasClassName('togglerOpen')) {
Effect.BlindUp(toggleElmId, { duration: 0.2 });
labelElm.removeClassName('togglerOpen');
}
else if (action == 'open' && labelElm && !labelElm.hasClassName('togglerOpen')) {
Effect.BlindDown(toggleElmId, { duration: 0.2 });
labelElm.addClassName('togglerOpen');
}
}
/* initialize all elements of class "toggler" */
function initializeTogglers () {
$$('.toggler').each (function (toggler) {
var id = toggler.identify();
log ("toggler: " + id);
var lnk = $('toggler-lnk-'+id);
var con = $('toggler-con-'+id);
if (lnk.hasClassName('togglerClosed'))
doTogglerClose (id);
else
doTogglerOpen(id);
lnk.observe ('click', function (event) {
doToggler(id);
return false;
});
lnk.observe ('mouseover', function (event) {
lnk.addClassName('togglerOver');
});
lnk.observe ('mouseout', function (event) {
lnk.removeClassName('togglerOver');
});
});
}
| 27.22807 | 99 | 0.668492 |
3608399d361c161ba5d3eb57086e7f7fcdf86def | 384 | js | JavaScript | dist/SelectedAttributeTypes/Version8/index.js | JonathanWilbur/x509-ts | 651625b428a1f26bce4c8acad08cbe6c74108e12 | [
"MIT"
] | 6 | 2019-02-04T10:06:23.000Z | 2021-01-07T02:32:15.000Z | dist/SelectedAttributeTypes/Version8/index.js | JonathanWilbur/x509-ts | 651625b428a1f26bce4c8acad08cbe6c74108e12 | [
"MIT"
] | 10 | 2019-09-05T10:00:12.000Z | 2021-05-08T05:05:30.000Z | dist/SelectedAttributeTypes/Version8/index.js | JonathanWilbur/x509-ts | 651625b428a1f26bce4c8acad08cbe6c74108e12 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const asn1_ts_1 = require("asn1-ts");
exports.selectedAttributeTypesVersion8OID = new asn1_ts_1.ObjectIdentifier([2, 5, 1, 5, 8]);
var UnboundedDirectoryString_1 = require("./UnboundedDirectoryString");
exports.UnboundedDirectoryString = UnboundedDirectoryString_1.default;
//# sourceMappingURL=index.js.map | 54.857143 | 92 | 0.794271 |
360b46001bb90eea0c54caa26b6120f6595897c4 | 2,137 | js | JavaScript | src/editor/Save.js | aduh95/newsletter-template | b3c9db02d747bd57b017b7a8dbb2e3a40d8509a4 | [
"MIT"
] | null | null | null | src/editor/Save.js | aduh95/newsletter-template | b3c9db02d747bd57b017b7a8dbb2e3a40d8509a4 | [
"MIT"
] | 5 | 2019-08-29T15:52:32.000Z | 2022-02-18T06:59:02.000Z | src/editor/Save.js | aduh95/newsletter-template-builder | b3c9db02d747bd57b017b7a8dbb2e3a40d8509a4 | [
"MIT"
] | null | null | null | import { h, Fragment } from "preact";
import { PureComponent } from "preact/compat";
import { FontAwesomeIcon } from "@aduh95/preact-fontawesome";
import { faDownload, faFileExport } from "@fortawesome/free-solid-svg-icons";
import { getExportableHTML } from "../api/getExportableElements.js";
const getTemplateName = () =>
import("../app_global_state/templateName.js")
.then(module => module.default)
.then(templateName => templateName.get());
const getCurrentState = () =>
import("../app_global_state/History.js")
.then(module => module.default)
.then(history => history.getCurrentStateAsArrayBuffer());
export default class Save extends PureComponent {
#exportFile(fileName, type, fileContent) {
const a = document.createElement("a");
const file = new File(fileContent, fileName, { type });
a.href = URL.createObjectURL(file);
a.download = fileName;
document.body.append(a);
a.click();
requestIdleCallback(() => {
URL.revokeObjectURL(a.href);
a.remove();
});
}
#exportJSONFile = this.exportJSONFile.bind(this);
#exportHTMLFile = this.exportHTMLFile.bind(this);
exportJSONFile() {
console.log(this);
return Promise.all([getTemplateName(), getCurrentState()]).then(
([name, fileContent]) =>
this.#exportFile(name + ".json", "application/json", fileContent)
);
}
exportHTMLFile() {
return Promise.all([getTemplateName(), getExportableHTML()]).then(
([name, html]) => this.#exportFile(name + ".html", "text/html", html)
);
}
render() {
console.log("render");
return (
<>
<button
onClick={this.#exportJSONFile}
title="Export as JSON"
accessKey="s"
>
<FontAwesomeIcon icon={faDownload} />
Save
</button>
<button
onClick={this.#exportHTMLFile}
title="Export as HTML"
accessKey="x"
>
<FontAwesomeIcon icon={faFileExport} />
Export
</button>
</>
);
}
}
| 28.878378 | 78 | 0.596163 |
360b87ccf8681b7b14f408958ca63a940b41672e | 2,211 | js | JavaScript | app/js/init.js | Nelkit/Chat-Socket.io | 04c4140461060557377291fd44b99c1afd16ebe9 | [
"Unlicense"
] | null | null | null | app/js/init.js | Nelkit/Chat-Socket.io | 04c4140461060557377291fd44b99c1afd16ebe9 | [
"Unlicense"
] | null | null | null | app/js/init.js | Nelkit/Chat-Socket.io | 04c4140461060557377291fd44b99c1afd16ebe9 | [
"Unlicense"
] | null | null | null | $(document).ready(function() {
function alto() {
var alto = $(window).height();
return alto;
}
function convertoAlto() {
$(".columns").height(alto()-60);
}
function cerrarChat() {
$("#ct-chat")
.css("left","50%")
.css("top","200px")
.css("width","0px")
.css("height","0px")
.css("z-index","0")
.css("opacity",'0');
}
function abrirChat(){
convertoAlto();
borrarNotificacion()
$("#ct-chat")
.css("left","0px")
.css("top","0px")
.css("width","100%")
.css("height","100%")
.css("opacity",'1')
.css("z-index","200");
}
function borrarNotificacion() {
$('head').children('style').remove();
$('#messages').children('div').removeClass('no-leido');
}
$("#icon-chat").click(function() {
abrirChat();
});
$(".close").click(function() {
cerrarChat();
});
$("#enviarMensaje").click(function() {
var mensaje = $("#message").val();
var nombre = $("#name").val();
var f = new Date();
var date = f.getDate() + "/" +
(f.getMonth() +1) + "/" +
f.getFullYear()+', '+
f.getHours()+':'+
f.getMinutes()+':'+
f.getSeconds();
App.insertar(nombre+"(YO)" ,mensaje, 'leido', 'sending', 'left', date);
var session = {}
session.nombre = nombre;
session.mensaje = mensaje;
session.estado = 'no-leido';
session.accion = 'receive';
session.align = 'right';
session.fecha = date;
App.ws.emit('mensaje',session)
});
var App = {};
App.ws = io.connect('/')
App.ws.on('ready', function() {
console.log("los WebSockets Estan listos");
})
App.ws.on('mensaje', function(msg) {
App.insertar(msg.nombre, msg.mensaje, msg.estado, msg.accion, msg.align, msg.fecha);
App.notificacion();
})
App.notificacion = function() {
var nro = $("#messages").children(".no-leido").length
$('head').append("<style>.icon-chat:before{content:'"+nro+"'; !important; opacity:1}</style>");
}
App.insertar = function(nombre, msg, estado, accion,align, fecha) {
$("#messages").append("<div class='width-12 row text-"+align+" "
+estado+"'><sup class='user-chat "+align+"'>"+nombre+" | "+fecha+"</sup><span class='msj "+accion+"'>"
+msg+"</span></div><br>");
$("#message").val("");
}
});
| 22.561224 | 104 | 0.566712 |
360bac4688df0bd2eecb24899678ee3c3988c594 | 425 | js | JavaScript | dashboard-api/schema/Vulnerability.js | brian-l-johnson/RedTeam-Dashboard | 39fcc883492b00cd9050a0520422c524a2644dde | [
"MIT"
] | null | null | null | dashboard-api/schema/Vulnerability.js | brian-l-johnson/RedTeam-Dashboard | 39fcc883492b00cd9050a0520422c524a2644dde | [
"MIT"
] | 2 | 2021-01-10T11:51:49.000Z | 2021-01-10T11:51:49.000Z | dashboard-api/schema/Vulnerability.js | brian-l-johnson/RedTeam-Dashboard | 39fcc883492b00cd9050a0520422c524a2644dde | [
"MIT"
] | null | null | null | var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var vulnerabilitySchema = new mongoose.Schema({
vulnerability: String,
notes: String,
severity: String,
detected: {type: Boolean, default: false},
current: {type: Boolean, default: true},
date: {type: Date, default: Date.now},
user: String
});
var Vulnerability = mongoose.model('Vulnerability', vulnerabilitySchema);
module.exports = Vulnerability; | 26.5625 | 73 | 0.741176 |
360bef5f75f6e5cc1518118762e2ca05a37f15d8 | 2,173 | js | JavaScript | src/configuration/fromEnvironment.js | christopheranderson/azure-mobile-apps-node-old | 8f2d0d871a2a0b120a319527138b321475f1412c | [
"MIT"
] | null | null | null | src/configuration/fromEnvironment.js | christopheranderson/azure-mobile-apps-node-old | 8f2d0d871a2a0b120a319527138b321475f1412c | [
"MIT"
] | 2 | 2016-01-29T21:44:23.000Z | 2016-03-31T19:07:39.000Z | src/configuration/fromEnvironment.js | christopheranderson/azure-mobile-apps-node-old | 8f2d0d871a2a0b120a319527138b321475f1412c | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
var connectionString = require('./connectionString'),
environment = require('../utilities/environment');
// determine various configuration information from environment such as web.config settings, etc.
module.exports = function (configuration) {
Object.keys(process.env).forEach(function (key) {
switch(key.toLowerCase()) {
case 'ms_mobileloglevel':
configuration.logging.level = process.env[key];
break;
case 'sqlconnstr_ms_tableconnectionstring':
case 'sqlazureconnstr_ms_tableconnectionstring':
case 'ms_tableconnectionstring':
configuration.data = connectionString.parse(process.env[key]);
break;
case 'ema_runtimeurl':
configuration.auth.gatewayUrl = process.env[key];
break;
case 'ms_signingkey':
configuration.auth.secret = process.env[key];
break;
case 'ms_mobileappname':
case 'ms_mobileservicename':
configuration.name = process.env[key];
break;
case 'ms_crossdomainwhitelist':
process.env[key].split(',').forEach(function (origin) {
configuration.cors.origins.push(origin);
});
break;
case 'ms_debugmode':
configuration.debug = parseBoolean(process.env[key]);
case 'ms_dynamicschema':
configuration.data.dynamicSchema = parseBoolean(process.env[key]);
// case 'customconnstr_ms_notificationhubconnectionstring':
// case 'ms_notificationhubconnectionstring':
// break;
//
// case 'mS_NotificationHubName':
// break;
}
});
return configuration;
};
function parseBoolean(value) {
return value === 'true' || value === '1';
}
| 35.622951 | 97 | 0.534284 |
360c2ae547891d49bb4cd82dea8f5f5b33de8b1e | 300 | js | JavaScript | docs/search/functions_7.js | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | docs/search/functions_7.js | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | docs/search/functions_7.js | martin-juul/greenhouse | 31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff | [
"Apache-2.0"
] | null | null | null | var searchData=
[
['get_5fhttp_5fstatus_5fstring_166',['get_http_status_string',['../http__response__builder_8h.html#aa61b67fe91855359abd92a8d3ab932b1',1,'http_response_builder.h']]],
['getsocket_167',['getSocket',['../class_web_server.html#aaa96ec98feed04c5b4d72d51e7869224',1,'WebServer']]]
];
| 50 | 167 | 0.793333 |
fef6965ed09894bafdac9b797d7f2868b766e5cf | 407 | js | JavaScript | src/App.js | brandonk1234/tms-elements | 201ac2353b60236f88873e8dea523d6025e837f0 | [
"MIT"
] | null | null | null | src/App.js | brandonk1234/tms-elements | 201ac2353b60236f88873e8dea523d6025e837f0 | [
"MIT"
] | null | null | null | src/App.js | brandonk1234/tms-elements | 201ac2353b60236f88873e8dea523d6025e837f0 | [
"MIT"
] | null | null | null | import logo from './logo.svg';
import './App.css';
// TMS COMPONENTS
import TagManagementLibraryTag from '../src/tagManagementLibrary/components/tagManagementLibraryTag';
import SwitchContainer from './tagManagementLibrary/containers/switchContainer';
function App() {
return (
<div className="App">
<TagManagementLibraryTag />
<SwitchContainer />
</div>
);
}
export default App;
| 22.611111 | 101 | 0.722359 |
fef6b5e6c86f53973d1d5fdd7d8b2c974fad5613 | 2,312 | js | JavaScript | person.js | FurkanPortakal/whoterm | c1b1aec468c0425dbdff628b14d0004ccef7aa7d | [
"MIT"
] | 3 | 2020-12-17T18:39:33.000Z | 2020-12-18T13:42:29.000Z | person.js | FurkanPortakal/whoterm | c1b1aec468c0425dbdff628b14d0004ccef7aa7d | [
"MIT"
] | null | null | null | person.js | FurkanPortakal/whoterm | c1b1aec468c0425dbdff628b14d0004ccef7aa7d | [
"MIT"
] | null | null | null | const fs = require('fs')
const chalk = require('chalk')
const addPerson = (name, phone) => {
// console.log("name: " + name + " Phone number: " + phone)
const people = readPersonFromFile()
const sameNamePerson = people.filter((person) => {
return person.name === name;
})
if(sameNamePerson.length === 0) {
people.push({
name,
phone
})
writePersonToFile(people)
}else{
console.log(chalk.log.inverse(name+" has been saved!"))
}
}
const writePersonToFile = (people) => {
const jsonData = JSON.stringify(people)
fs.writeFileSync('people.json', jsonData)
}
const readPersonFromFile = () => {
try {
const dataBuffer = fs.readFileSync('people.json')
const dataJSON = dataBuffer.toString()
return JSON.parse(dataJSON)
}catch(e){
return []
}
}
const deletePerson = (name) => {
// console.log("Person to be deleted "+name)
const allPeople = readPersonFromFile()
const notDeletePerson = allPeople.filter((person) => {
return person.name !== name
})
if(allPeople.length > notDeletePerson.length) {
console.log(chalk.green.inverse("Person deleted!"))
writePersonToFile(notDeletePerson)
}else {
console.log(chalk.red.inverse(name + "is not found!"))
}
}
const showPerson = (name) => {
// console.log("Person to be show"+name)
const allPeople = readPersonFromFile()
const findPerson = allPeople.find((person) => {
return person.name === name
})
if(findPerson) {
console.log(chalk.yellow.inverse("The phone number of the person you are search "+ findPerson.phone))
}else {
console.log(chalk.red.inverse("The person you are looking for not be found"))
}
}
const listPerson = () => {
// console.log("People to be list")
const allPeople = readPersonFromFile()
allPeople.forEach((person) => {
console.log(chalk.green.inverse("✨Name : "+person.name+ " 🤙Phone number : "+person.phone))
})
}
// exports.addPerson = addPerson
// exports.deletePerson = deletePerson
// exports.showPerson = showPerson
// exports.listPerson = listPerson
module.exports = {
addPerson : addPerson,
deletePerson : deletePerson,
showPerson : showPerson,
listPerson : listPerson
}
| 25.688889 | 109 | 0.632785 |
fef730067a9f3ecb8cd664102df796874ff8067a | 465 | js | JavaScript | src/routes/index.js | juancho11gm/star-plus | 4a5289c5abc98b517f94ef707af1f86d968ccc57 | [
"MIT"
] | null | null | null | src/routes/index.js | juancho11gm/star-plus | 4a5289c5abc98b517f94ef707af1f86d968ccc57 | [
"MIT"
] | 3 | 2022-03-13T16:16:15.000Z | 2022-03-22T16:34:35.000Z | src/routes/index.js | juancho11gm/star-plus | 4a5289c5abc98b517f94ef707af1f86d968ccc57 | [
"MIT"
] | null | null | null | import { getRoute } from '../utils/getRoute';
import { Error404 } from '../pages/Error404';
import { Home } from '../pages/Home';
const routes = {
'/': { title: 'Star+ Home', render: Home },
404: { title: 'Star+ 404', render: Error404 },
};
const router = () => {
const { body } = document;
const route = getRoute();
const view = routes[route] || routes[404];
document.title = view.title;
body.innerHTML = view.render();
};
export default router;
| 23.25 | 48 | 0.617204 |
fef74235f792e801834c36ac9a59aecd9ac0e4e0 | 3,773 | js | JavaScript | app.js | mohammadrezahq/mini-toast-js | 93c46ce370c4af33e4adf2ed0f5f3965df4c9e3b | [
"MIT"
] | 5 | 2022-02-04T09:57:51.000Z | 2022-02-06T07:08:28.000Z | app.js | mohammadrezahq/mini-toast-js | 93c46ce370c4af33e4adf2ed0f5f3965df4c9e3b | [
"MIT"
] | null | null | null | app.js | mohammadrezahq/mini-toast-js | 93c46ce370c4af33e4adf2ed0f5f3965df4c9e3b | [
"MIT"
] | null | null | null | const d = require('./inc/defaultOptions.js')
const icon = require('./inc/icon.js')
const enter = require('./inc/handleEnter')
const exit = require('./inc/handleExit')
class app {
constructor(message, options = null) {
this.options = { ...d.getDefaultOptions(), ...options };
this.options.advanced = {...d.getDefaultAdvanced(), ...options.advanced};
this.icon = this.options.icon;
this.message = message;
this.enter = this.options.in;
this.exit = this.options.out;
this.handle();
}
handle() {
this.createElement();
this.styleElement();
}
createElement() {
const e = document.createElement('div')
if (document.getElementsByClassName('mini-toast').length == 0 || this.options.overlayToast === true) {
e.setAttribute('mini-toast-id', 1);
} else {
for(let i = 1; i <= document.getElementsByClassName('mini-toast').length + 1; i++) {
if(!document.querySelector("[mini-toast-id='" + i + "']") && !e.getAttribute('mini-toast-id')) {
e.setAttribute('mini-toast-id', i);
}
}
}
e.setAttribute("class", "mini-toast");
this.e = e;
this.setIcon();
this.setMessage();
this.setCloseButton();
}
setMessage() {
const e = document.createElement('span');
e.innerHTML = this.message
this.e.appendChild(e);
}
setIcon() {
if (this.icon !== 'none') {
this.e.innerHTML += "<span style='margin:0 5px; display:inline-block; vertical-align: middle;'>" + icon.getIcon(this.icon, this.options.iconColor) + "</span>";
}
}
setCloseButton() {
if (this.options.canClose === true) {
const closeElement = document.createElement('span');
closeElement.style.verticalAlign = 'middle';
closeElement.style.margin = '0 5px';
closeElement.style.display = 'inline-block';
closeElement.style.cursor = 'pointer';
closeElement.innerHTML += icon.getIcon('close', this.options.closeIconColor);
let thisClass = this;
closeElement.addEventListener('click', function () { thisClass.closeToastWithButton() });
this.e.appendChild(closeElement);
}
}
styleElement() {
const e = this.e
document.body.appendChild(e)
e.style.position = 'fixed'
e.style.display = 'block'
e.style.backgroundColor = this.options.bgColor
e.style.padding = this.options.padding
e.style.color = this.options.textColor
e.style.opacity = 0
e.style.transition = 'opacity ' + this.options.enterDuration + 'ms';
e.style.fontSize = this.options.fontSize;
e.style.boxShadow = '0px 6px 17px 2px rgba(0,0,0,0.10)'
e.style.borderRadius = this.options.borderRadius
e.style.fontFamily = this.options.fontFamily
e.style.direction = this.options.dir
this.e = e
}
show() {
enter.handle(this.e, this.options);
setTimeout(() => this.e.style.opacity = 1, 100);
if (this.options.onlyClose === false) {
this.closeToastWithTime()
}
}
closeToastWithTime() {
setTimeout(() => exit.handle(this.e, this.options.position, this.options.out, this.options.advanced.exitDuration) , this.options.showTime);
setTimeout(() => this.e.remove(), this.options.showTime + 1000)
}
closeToastWithButton() {
exit.handle(this.e, this.options.position, this.options.out, this.options.advanced.exitDuration)
setTimeout(() => this.e.remove(), 1000);
}
}
module.exports = app | 29.944444 | 171 | 0.580705 |
fef8eff926870325a9880bfadb1b74196c00f915 | 1,346 | js | JavaScript | src/constants/api-config.js | instaloper/storejs-lib | e842b51b79d59bf1dce700b05658fc3c70891e97 | [
"MIT"
] | 20 | 2019-02-08T12:44:49.000Z | 2021-07-07T08:56:24.000Z | src/constants/api-config.js | instaloper/storejs-lib | e842b51b79d59bf1dce700b05658fc3c70891e97 | [
"MIT"
] | 13 | 2019-08-07T14:35:07.000Z | 2020-04-13T13:22:18.000Z | src/constants/api-config.js | instaloper/storejs-lib | e842b51b79d59bf1dce700b05658fc3c70891e97 | [
"MIT"
] | 4 | 2019-03-11T15:44:02.000Z | 2019-08-13T11:12:53.000Z | import { OPERATION_HISTORY } from './object-types';
export const LOOKUP_ACCOUNTS_DEFAULT_LIMIT = 100;
export const LOOKUP_ACCOUNTS_MAX_LIMIT = 1000;
export const LIST_ASSETS_DEFAULT_LIMIT = 10;
export const LIST_ASSETS_MAX_LIMIT = 100;
export const GET_TRADE_HISTORY_DEFAULT_LIMIT = 10;
export const GET_TRADE_HISTORY_MAX_LIMIT = 100;
export const COMMITTEE_MEMBER_ACCOUNTS_DEFAULT_LIMIT = 100;
export const COMMITTEE_MEMBER_ACCOUNTS_MAX_LIMIT = 1000;
export const ACCOUNT_HISTORY_DEFAULT_LIMIT = 100;
export const ACCOUNT_HISTORY_MAX_LIMIT = 100;
export const RELATIVE_ACCOUNT_HISTORY_DEFAULT_LIMIT = 100;
export const RELATIVE_ACCOUNT_HISTORY_MAX_LIMIT = 100;
export const RELATIVE_ACCOUNT_HISTORY_START = 0;
export const RELATIVE_ACCOUNT_HISTORY_STOP = 0;
export const ACCOUNT_HISTORY_OPERATIONS_DEFAULT_LIMIT = 100;
export const ACCOUNT_HISTORY_OPERATIONS_MAX_LIMIT = 100;
export const CONTRACT_HISTORY_DEFAULT_LIMIT = 100;
export const CONTRACT_HISTORY_MAX_LIMIT = 100;
export const ORDER_BOOK_DEFAULT_DEPTH = 50;
export const ORDER_BOOK_MAX_DEPTH = 50;
export const START_OPERATION_HISTORY_ID = `1.${OPERATION_HISTORY}.0`;
export const STOP_OPERATION_HISTORY_ID = `1.${OPERATION_HISTORY}.0`;
export const LIST_ACCOUNTS_DEFAULT_LIMIT = 100;
export const LIST_ACCOUNTS_MAX_LIMIT = 1000;
export const EXPIRATION_SECONDS = 5 * 60;
| 33.65 | 69 | 0.837296 |
fef933127458c32d9d514e90c5a159cc40f58564 | 4,994 | js | JavaScript | pages/posts/img.js | My-MC/minpro | 523717874504d487486790ab2799678908bebd61 | [
"MIT"
] | null | null | null | pages/posts/img.js | My-MC/minpro | 523717874504d487486790ab2799678908bebd61 | [
"MIT"
] | 5 | 2022-02-11T23:53:48.000Z | 2022-03-24T04:35:25.000Z | pages/posts/img.js | My-MC/minpro | 523717874504d487486790ab2799678908bebd61 | [
"MIT"
] | null | null | null | import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import styles from "../../styles/posts.module.css";
export default function About() {
return (
<div>
<Head>
<title>WebPを使ってサイトを最適化しよう | Minpro</title>
</Head>
<main>
<h1 className={styles.title}>WebPを使ってサイトを最適化しよう</h1>
<h2 className={styles.description}>画像の最適化を目指して</h2>
<div className={styles.container}>
<article className={styles.article}>
<h2 className={styles.heading}>はじめに</h2>
<p>こんにちはMyです。</p>
<p>今回はWebPを使って画像の最適化をしていきたいと思います。</p>
<h2 className={styles.heading}>WebPの概要</h2>
<p>
またこのWebPは2010年にGoogle
LLCによって開発された比較的新しいオープンな画像形式です
</p>
<p>
これは、ウェブサイトのトラフィック量軽減と表示速度短縮を目的としていて非可逆圧縮であるがアルファチャンネルが使えることが特徴です。
先に述べたようにトラフィック量軽減と表示速度短縮を目的としているためデータサイズがとても少ないことも特徴です。これはJPEGよりも高いです。
さらにWebPにはJPEGにはない透過もできます。
</p>
<p>
しかしこのWebPにもデメリットがあります。それは新しいがゆえにまだ対応していないブラウザがあることです。
</p>
<p className={styles.link}>
<a
href="https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp"
target="_blank"
rel="noopener noreferrer"
>
こちらが対応表です。
</a>
</p>
<p>
最近ではほとんどのブラウザが対応してきていますが、Internet
Explorerなどの古いブラウザなどでは対応していないので注意しなくてはいけません。
</p>
<h2 className={styles.heading}>実践してみよう</h2>
<p>
最初に今回は僕がマイクラをプレイしていた時のスクリーンショットを1.ではそのままのPNG形式のもの、2.ではWebPに加工したものを使い比較していきたいと思います。
今回のこの加工には
<a
href="https://ffmpeg.org"
className={styles.link}
target="_blank"
rel="noopener noreferrer"
>
FFmpeg
</a>
を使いました。
</p>
<h3>1.そのままPNG形式</h3>
<Image
src="/assets/test.png"
width={600}
height={300}
alt="test"
objectFit="contain"
/>
<p style={{ color: "Gray" }}>PNG形式 サイズ 265KB</p>
<h3>2.WebP形式に変換</h3>
<Image
src="/assets/test.webp"
width={600}
height={300}
alt="test"
objectFit="contain"
/>
<p style={{ color: "Gray" }}> WebPに変換 サイズ 21.2KB</p>
<p>
おわかりいただけただろうか。なんとWebPのほうはPNG形式の1/10のサイズになっています。僕はこれを見たときとても驚きました(本当です)
</p>
<p>
次にPNGから1.JPEGに変換したものと2.WebPに変換したものを比較していきたいと思います。これも変換には
<a
href="https://ffmpeg.org"
className={styles.link}
target="_blank"
rel="noopener noreferrer"
>
FFmpeg
</a>
を使いました。
</p>
<h3>1.JPEGに変換したもの</h3>
<Image
src="/assets/test.jpeg"
width={600}
height={300}
alt="test"
objectFit="contain"
/>
<p style={{ color: "Gray" }}> JPEGに変換 サイズ 23.4KB</p>
<h3>2.WebP形式に変換</h3>
<Image
src="/assets/test.webp"
width={600}
height={300}
alt="test"
objectFit="contain"
/>
<p style={{ color: "Gray" }}> WebPに変換 サイズ 21.2KB</p>
<p>
こちらは2KBとほとんど変わりありませんでした。もしかしたらFFmpegが優秀が優秀だからかもしれません。しかしよく見てみるとJPEGのほうが少しぼやけてる感じがします(個人の感想です)
</p>
<h2 className={styles.heading}>結論</h2>
<p>
対応していないブラウザがまだあるが、最近のブラウザではほとんど対応しているので積極的に導入していいと思います。(個人の感想です)
</p>
<h2 className={styles.heading}>引用・参考・使用ソフトフェア</h2>
<p className={styles.link}>
<a
href="https://ffmpeg.org"
className={styles.link}
target="_blank"
rel="noopener noreferrer"
>
FFmpeg 様 FFmpeg
</a>
</p>
<p className={styles.link}>
<a
href="https://ja.wikipedia.org/wiki/WebP"
target="_blank"
rel="noopener noreferrer"
>
Wikipedia 様 WebP より
</a>
</p>
</article>
</div>
<div className={styles.container}>
<div className={styles.grid}>
<Link href="/" passHref>
<a>
<div className={styles.card}>
<p>HOME</p>
</div>
</a>
</Link>
</div>
</div>
</main>
</div>
);
}
| 29.72619 | 108 | 0.461354 |
fef93abff523f428d57810b08e5d91f26f29f2e2 | 325 | js | JavaScript | docs/html/group__magma__posv.js | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 21 | 2017-10-06T05:05:05.000Z | 2022-03-13T15:39:20.000Z | docs/html/group__magma__posv.js | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T00:27:24.000Z | 2017-03-23T00:27:24.000Z | docs/html/group__magma__posv.js | shengren/magma-1.6.1 | 1adfee30b763e9491a869403e0f320b3888923b6 | [
"BSD-3-Clause"
] | 4 | 2018-01-09T15:49:58.000Z | 2022-03-13T15:39:27.000Z | var group__magma__posv =
[
[ "Cholesky solve: driver", "group__magma__posv__driver.html", "group__magma__posv__driver" ],
[ "Cholesky solve: computational", "group__magma__posv__comp.html", "group__magma__posv__comp" ],
[ "Cholesky solve: auxiliary", "group__magma__posv__aux.html", "group__magma__posv__aux" ]
]; | 54.166667 | 101 | 0.756923 |
fefb0b15141e29dbbb27a0dd7181a3f89cd8391e | 4,060 | js | JavaScript | packages/ui/src/Notification/index.js | awesome1888/bucket-of-bolts | 82d6e89987e813b28ae472087aad2c1446451238 | [
"MIT"
] | null | null | null | packages/ui/src/Notification/index.js | awesome1888/bucket-of-bolts | 82d6e89987e813b28ae472087aad2c1446451238 | [
"MIT"
] | 21 | 2019-12-29T22:07:52.000Z | 2021-09-01T22:02:06.000Z | packages/ui/src/Notification/index.js | gannochenko/bucket-of-bolts | 82d6e89987e813b28ae472087aad2c1446451238 | [
"MIT"
] | 1 | 2019-08-31T10:06:26.000Z | 2019-08-31T10:06:26.000Z | import React, { Component } from 'react';
import { object } from 'prop-types';
import {
defaultTheme,
NotificationContainer,
Message,
MessageGap,
MessageWrap,
Text,
Close,
} from './style';
const isne = str => typeof str === 'string' && str.length > 0;
const ione = arg =>
arg !== null &&
(typeof arg === 'object' || typeof arg === 'function') &&
Object.keys(arg).length > 0;
export class Notification extends Component {
constructor(props) {
super(props);
this.messageHeights = {};
this.messages = [];
}
notify(message) {
if (isne(message)) {
message = {
text: message,
type: 'info',
};
}
if (!ione(message) || !isne(message.text)) {
return;
}
if (isne(message.code)) {
this.closeMessagesByCode(message.code);
}
const id = Math.floor(Math.random() * 1000000);
message = {
id,
text: message.text,
type: message.type || '',
icon: message.icon || '',
closeable: message.closeable !== false,
closing: false,
code: message.code,
lifeTime: message.lifeTime || 0,
};
if (message.lifeTime > 0) {
setTimeout(() => {
this.closeMessage(id);
}, message.lifeTime);
}
this.messages.push(message);
this.forceUpdate();
}
closeMessage(id) {
const message = this.messages.find(item => item.id === id);
if (message) {
const heightNode = this.messageHeights[id];
if (heightNode) {
// lock the height of the element to let the animation know it
heightNode.style.height = `${heightNode.offsetHeight}px`;
}
setTimeout(() => {
this.removeMessage(id);
}, 500);
message.closing = true;
this.forceUpdate();
}
}
closeMessagesByCode(code) {
this.messages
.filter(message => message.code === code)
.forEach(message => {
this.closeMessage(message.id);
});
}
removeMessage(id) {
this.messages = this.messages.filter(message => message.id !== id);
delete this.messageHeights[id];
this.forceUpdate();
}
render() {
const { theme } = this.props;
return (
<NotificationContainer theme={theme}>
{this.messages.map(message => (
<MessageWrap
key={message.id}
ref={ref => {
this.messageHeights[message.id] = ref;
}}
closing={message.closing}
theme={theme}
>
<MessageGap theme={theme}>
<Message theme={theme}>
<Text
type={message.type}
icon={message.icon}
theme={theme}
>
{message.text}
</Text>
{message.closeable && (
<Close
onClick={() =>
this.closeMessage(message.id)
}
theme={theme}
/>
)}
</Message>
</MessageGap>
</MessageWrap>
))}
</NotificationContainer>
);
}
}
Notification.propTypes = {
theme: object,
};
Notification.defaultProps = {
theme: defaultTheme,
};
| 27.619048 | 78 | 0.412562 |
fefc24fe97d3b57359dfc2fcdd11f9616e427e37 | 2,785 | js | JavaScript | src/components/popularProducts/popularProducts.js | kodeFant/kodefant-mat | 74d5a7c73059cd784407aa04bd58d41701d0c3ad | [
"MIT"
] | null | null | null | src/components/popularProducts/popularProducts.js | kodeFant/kodefant-mat | 74d5a7c73059cd784407aa04bd58d41701d0c3ad | [
"MIT"
] | null | null | null | src/components/popularProducts/popularProducts.js | kodeFant/kodefant-mat | 74d5a7c73059cd784407aa04bd58d41701d0c3ad | [
"MIT"
] | null | null | null | import React from 'react'
import Swiper from 'react-id-swiper'
import PopularProductCard from './popularProductCard'
import ProductImg1 from '../../images/product/pro-1.jpg'
import ProductImg2 from '../../images/product/pro-2.jpg'
import ProductImg3 from '../../images/product/pro-3.jpg'
import ProductImg4 from '../../images/product/pro-4.jpg'
import ProductImg5 from '../../images/product/pro-5.jpg'
import PopularImg from '../../images/banner/popular.png'
import styles from './popularProducts.module.css'
const productsData = [
{
id: 1,
image: ProductImg1,
name: 'Fritert aubergine',
description: 'Må prøves! Husets mest solgte favoritt.',
price: 100,
},
{
id: 2,
image: ProductImg2,
name: 'Pizza Terra',
description: 'Sprø bunn og sesongens grønnsaker.',
price: 200,
},
{
id: 3,
image: ProductImg3,
name: 'Bønnerburger',
description:
'Fritystekt bønneburger med friske grønnsaker og himmelsk dressing.',
price: 300,
},
{
id: 4,
image: ProductImg4,
name: 'Fylt portobello',
description: 'Ovnstekt sopp med delikat fyll.',
price: 150,
},
{
id: 5,
image: ProductImg5,
name: 'Nuddelbolle',
description: 'Kokte risnudler med stekte grønnsaker.',
price: 50,
},
]
const popularProduct = () => {
const params = {
slidesPerView: 3,
speed: 2000,
spaceBetween: 30,
loop: true,
pagination: {
clickable: true,
},
breakpoints: {
992: {
slidesPerView: 2,
spaceBetween: 20,
},
768: {
slidesPerView: 1,
spaceBetween: 20,
},
},
autoplay: {
delay: 5000,
disableOnInteraction: false,
},
}
const allProducts = productsData.map(product => {
return (
<div key={product.id}>
<PopularProductCard
image={product.image}
name={product.name}
description={product.description}
price={product.price}
styles={styles}
/>
</div>
)
})
return (
<div
className={`
${styles.popular_product}
${styles.gray_bg}
${styles.pt_100}
${styles.pb_100}`}
>
<div className="container">
<div
className={`
${styles.section_title}
text-center
${styles.mb_50}`}
>
<h2>Populære retter</h2>
<p>
Få inn flere bestillinger på de rettene du allerede selger mye av.
Fremhev dine mest solgte retter.
</p>
</div>
<Swiper {...params}>{allProducts}</Swiper>
</div>
<div className={`${styles.popular_bg_img}`}>
<img alt="" src={PopularImg} />
</div>
</div>
)
}
export default popularProduct
| 22.642276 | 78 | 0.574865 |
fefcb53d5c911492a189cf8a0b070429f3f64f82 | 434 | js | JavaScript | js/options.js | Kleinrotti/ClearswiftScanner | 96c153f2ed632d2b07fbb47a0c0ad37c054b60d5 | [
"MIT"
] | null | null | null | js/options.js | Kleinrotti/ClearswiftScanner | 96c153f2ed632d2b07fbb47a0c0ad37c054b60d5 | [
"MIT"
] | null | null | null | js/options.js | Kleinrotti/ClearswiftScanner | 96c153f2ed632d2b07fbb47a0c0ad37c054b60d5 | [
"MIT"
] | null | null | null | // In-page cache of the user's options
const options = {};
// Initialize the form with the user's option settings
chrome.storage.sync.get('options', (data) => {
Object.assign(options, data.options);
optionsForm.textKey.value = options.textKey;
});
// Immediately persist options changes
optionsForm.textKey.addEventListener('change', (event) => {
options.textKey = event.target.value;
chrome.storage.sync.set({options});
}); | 31 | 59 | 0.725806 |
fefcf762aa023aba6bc72a1a2420af940c7e030a | 579 | js | JavaScript | tests/test-helpers.js | P0lip/ts-import-equals-rewriter | 91d16842b013a18626a66696f3bb4a228e527cb6 | [
"MIT"
] | 1 | 2018-12-17T12:11:24.000Z | 2018-12-17T12:11:24.000Z | tests/test-helpers.js | P0lip/ts-import-equals-rewriter | 91d16842b013a18626a66696f3bb4a228e527cb6 | [
"MIT"
] | null | null | null | tests/test-helpers.js | P0lip/ts-import-equals-rewriter | 91d16842b013a18626a66696f3bb4a228e527cb6 | [
"MIT"
] | null | null | null | const fs = require('fs');
const path = require('path');
const fixtures = [];
const BASE_DIR = path.resolve(__dirname, 'fixtures');
global.fixtures = fixtures;
for (const item of fs.readdirSync(BASE_DIR)) {
if (fs.lstatSync(path.join(BASE_DIR, item)).isDirectory()) {
continue;
}
const ext = new RegExp(`(${path.extname(item)})`);
fixtures.push({
name: item,
content: fs.readFileSync(path.join(BASE_DIR, item), 'utf-8'),
expected: fs.readFileSync(
path.join(BASE_DIR, 'outputs/', item.replace(ext, '.expected$1')),
'utf-8',
),
});
}
| 23.16 | 72 | 0.635579 |
fefdb8593eaf309216992fd6afa94f95457ade54 | 212 | js | JavaScript | packages/globe/src/components/icons/js/Up.js | gazzer/globe | 7f4cd64cafe317c072afa4d10a069afa8321e84e | [
"CC-BY-4.0",
"MIT"
] | 3 | 2019-12-18T23:41:30.000Z | 2020-01-29T02:18:00.000Z | packages/globe/src/components/icons/js/Up.js | gazzer-io/globe | 7f4cd64cafe317c072afa4d10a069afa8321e84e | [
"CC-BY-4.0",
"MIT"
] | 5 | 2019-11-28T13:26:23.000Z | 2019-12-02T10:18:43.000Z | packages/globe/src/components/icons/js/Up.js | gazzer/globe | 7f4cd64cafe317c072afa4d10a069afa8321e84e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | import React from 'react'
const SvgUp = props => (
<svg height="1em" width="1em" viewBox="0 0 660 1000" {...props}>
<path d="M660 514H468v350H192V514H0l330-380 330 380" />
</svg>
)
export default SvgUp
| 21.2 | 66 | 0.660377 |
fefe1eb916edeafc241fecaf27e2992f1d367a3b | 278 | js | JavaScript | javascript/code-lab/array-api/test2.js | Martin-Shao/Road-to-FullStack | f265c77137c96c8b7d7f0a9eb812a28ec0cc2121 | [
"MIT"
] | 2 | 2020-07-26T14:51:29.000Z | 2020-09-30T07:45:23.000Z | javascript/code-lab/array-api/test2.js | martinshao/Road-to-FullStack | f265c77137c96c8b7d7f0a9eb812a28ec0cc2121 | [
"MIT"
] | 2 | 2019-04-19T06:30:13.000Z | 2020-03-09T03:20:00.000Z | javascript/code-lab/array-api/test2.js | martinshao/Road-to-FullStack | f265c77137c96c8b7d7f0a9eb812a28ec0cc2121 | [
"MIT"
] | 2 | 2019-10-31T06:21:19.000Z | 2020-01-10T03:15:07.000Z | const arr = [
{ name: 'shaw', age: 12 },
{ name: 'li', age: 13 },
{ name: 'zhang', age: 15 },
{ name: 'wei', age: 16 },
]
const arrFilter = arr.reduce((total, curr) => {
if (curr.age > 13) {
return [...total, curr.name]
} else {
return [...total]
}
}, []) | 19.857143 | 47 | 0.485612 |
fefe330977ae2e2bdd204d1bbb2c396bc892e8ad | 1,570 | js | JavaScript | script.js | MartyBonacci/snap-function-pretest | 918baadaf3ae4200e65bf3ba904fa642519d109a | [
"Apache-2.0"
] | null | null | null | script.js | MartyBonacci/snap-function-pretest | 918baadaf3ae4200e65bf3ba904fa642519d109a | [
"Apache-2.0"
] | null | null | null | script.js | MartyBonacci/snap-function-pretest | 918baadaf3ae4200e65bf3ba904fa642519d109a | [
"Apache-2.0"
] | null | null | null | function runThemAll(){
let lifeOut = document.getElementById("life");
lifeOut.innerText = "Meaning of life? " + life(42);
let firstCapsOut = document.getElementById("firstCaps");
firstCapsOut.innerText = firstCaps("dylan") + " not dylan";
let sumArrayOut = document.getElementById("sumArray");
sumArrayOut.innerText = "The sum of [1,2,3] = "+sumArray([1,2,3]);
let stringRepeatOut = document.getElementById("stringRepeat");
stringRepeatOut.innerText = "repeat 'three' 3 times " + stringRepeat("three",3);
let dotProductOut = document.getElementById("dotProduct");
dotProductOut.innerText = "the dot product of [1,2,3] and [2,3,4] = " + dotProduct([1,2,3], [2,3,4]);
}
function life(input) {
return input === 42;
}
function firstCaps(input) {
return input.charAt(0).toUpperCase() + input.slice(1);
}
function sumArray(arr) {
let sum = 0;
arr.forEach(function(element){
sum += element;
});
return sum;
}
function stringRepeat (string,repeat) {
let answer = "";
for (i=1;i<=repeat;i++){
answer += string + " ";
}
return (answer);
}
function dotProduct(a,b) {
let result = 0;
if (a.length === b.length){
a.forEach(function(value,index) {
// ANOTHER WAY TO DO IT a.forEach((value,index) => {
result += value * b[index];
});
}else {
result = "arrays are different lengths";
}
return(result);
}
// overstock exchange rate snap challenge function
function deduct(price,walletStart, exchangeRate) {
walletBalance = walletStart - price / exchangeRate;
return(walletBalance);
}
window.onload = function() {
runThemAll();
} | 24.920635 | 102 | 0.680892 |
fefeeee6eb637e71f589ac15f51b2c28ee675128 | 1,407 | js | JavaScript | 07-DataLoader-Basics/clip01-Starting-Code/ApolloClientReactApp/components/SessionsLoadMore.js | pkellner/pluralsight-apollo-managing-performance | b336df09eb26d0d714d80412744fa6b45aa23f96 | [
"MIT"
] | 15 | 2020-11-21T02:04:59.000Z | 2021-08-13T12:06:46.000Z | 07-DataLoader-Basics/clip04-Adding-DataLoader-SessionsLoader-For-Performance/ApolloClientReactApp/components/SessionsLoadMore.js | pkellner/pluralsight-apollo-managing-performance | b336df09eb26d0d714d80412744fa6b45aa23f96 | [
"MIT"
] | null | null | null | 07-DataLoader-Basics/clip04-Adding-DataLoader-SessionsLoader-For-Performance/ApolloClientReactApp/components/SessionsLoadMore.js | pkellner/pluralsight-apollo-managing-performance | b336df09eb26d0d714d80412744fa6b45aa23f96 | [
"MIT"
] | 8 | 2020-12-31T16:38:44.000Z | 2021-10-11T07:27:00.000Z | import React from 'react';
import { NetworkStatus, useQuery } from '@apollo/client';
import { GET_SESSIONS_CONCAT } from '../graphql/queries';
const SpeakersLoadMore = () => {
const { loading, error, data, fetchMore, networkStatus } = useQuery(
GET_SESSIONS_CONCAT,
{
variables: {
afterCursor: '',
limit: 4,
},
notifyOnNetworkStatusChange: true,
},
);
const loadingMoreData = networkStatus === NetworkStatus.fetchMore;
if (loading && !loadingMoreData) {
return <div className="col-sm6">Loading...</div>;
}
if (error === true) {
return <div className="col-sm6">Error</div>;
}
const { datalist } = data.sessionsConcat;
const { hasNextPage, lastCursor } = data.sessionsConcat.pageInfo;
return (
<div className="container show-fav mt-3">
{datalist.map(({ id, eventYear, title }) => {
return (
<div key={id} className="col-sm-12">
{eventYear} {title} ({id})
</div>
);
})}
{hasNextPage && (
<button
className="btn btn-primary mt-2"
onClick={() => {
fetchMore({
variables: {
afterCursor: lastCursor,
},
});
}}
>
{loadingMoreData ? 'Loading...' : 'Show More'}
</button>
)}
</div>
);
};
export default SpeakersLoadMore;
| 23.847458 | 70 | 0.541578 |
feff370a7e5ff7477cce5b1e03a59fac7cc48e3e | 10,285 | js | JavaScript | guessDrawing.js | UP827306/UP827306.github.io | 470078394d412543ca3d0200464241f3082df8b7 | [
"Apache-2.0"
] | 13 | 2019-03-25T16:24:20.000Z | 2022-03-24T05:47:00.000Z | guessDrawing.js | UP827306/UP827306.github.io | 470078394d412543ca3d0200464241f3082df8b7 | [
"Apache-2.0"
] | null | null | null | guessDrawing.js | UP827306/UP827306.github.io | 470078394d412543ca3d0200464241f3082df8b7 | [
"Apache-2.0"
] | 7 | 2019-12-04T18:00:02.000Z | 2022-03-11T03:38:52.000Z | function gameStart(pubnubGuessGame, ChatEngine, GuessWordChatEngine, game, player){
// Random word will be chosen from the array for player to draw
const words = ['bear', 'cat', 'dog', 'car', 'house', 'pickle', 'glasses', 'tiger', 'panda', 'glue', 'bunny', 'skull', 'flower',
'bee', 'elmo', 'kermit', 'goldfish', 'heart', 'lion', 'butterfly', 'pumpkin', 'snowman', 'guitar', 'owl', 'batman',
'dragon', 'pigeon', 'starfish', 'cupcake'];
let chosenWord = '';
let totalScore = 0;
let turn = 'H';
let tries = 3; // Each player gets 3 tries to guess the word
let winner = '';
function $(id) {
return document.getElementById(id);
}
let chatLog = $('chatLog'), chatInput = $('chatInput'), guessWordChatLog = $('guessWordChatLog'), guessWordInput = $('guessWordChatInput'),
clearCanvasButton = $('clearCanvasButton'), score = $('score'), colorSwatch = $('colorSwatch'), triesLeft = $('triesLeft'),
guessWord = $('guessWord'), opponentScore = $('opponentScore');
ChatEngine.on('$.ready', function(data) {
// Every time a message is recieved from PubNub, render it.
ChatEngine.global.on('message', onMessage);
});
GuessWordChatEngine.on('$.ready', function(data) {
GuessWordChatEngine.global.on('message', onMessageGuessWord);
});
gameListener = {
message: function(msg) {
if(msg){
if(turn !== player.sign && msg.message.chosenWord){
chosenWord = msg.message.chosenWord;
}
//only draw on other player's canvas
if(turn !== player.sign && msg.message.plots){
drawFromStream(msg.message);
}
if(msg.message.clearTheCanvas){
clearCanvas();
}
}
},
presence: function(response) {
if(response.action === 'leave'){
guessWord.innerHTML = 'Player has left the game. You won!';
unsubscribeFromGame();
}
},
status: function(event) {
if (event.category == 'PNConnectedCategory') {
startGame();
}
}
}
pubnubGuessGame.addListener(gameListener);
pubnubGuessGame.subscribe({
channels: [game],
withPresence: true
});
function publish(data) {
pubnubGuessGame.publish({
channel: game,
message: data
});
}
function unsubscribeFromGame(){
pubnubGuessGame.removeListener(gameListener);
// Unsubscribe from game channel
pubnubGuessGame.unsubscribe({
channels: [game]
});
ChatEngine.disconnect();
GuessWordChatEngine.disconnect();
}
let canvas = $('drawCanvas');
let ctx = canvas.getContext('2d');
let color = document.querySelector(':checked').getAttribute('data-color');
let isActive = false;
let plots = [];
let clearTheCanvas = false;
let isTouchSupported = 'ontouchstart' in window;
let isPointerSupported = navigator.pointerEnabled;
let isMSPointerSupported = navigator.msPointerEnabled;
let downEvent = isTouchSupported ? 'touchstart' : (isPointerSupported ? 'pointerdown' : (isMSPointerSupported ? 'MSPointerDown' : 'mousedown'));
let moveEvent = isTouchSupported ? 'touchmove' : (isPointerSupported ? 'pointermove' : (isMSPointerSupported ? 'MSPointerMove' : 'mousemove'));
let upEvent = isTouchSupported ? 'touchend' : (isPointerSupported ? 'pointerup' : (isMSPointerSupported ? 'MSPointerUp' : 'mouseup'));
function clearCanvas(){
ctx.fillStyle = 'WHITE';
ctx.clearRect(0,0,window.innerWidth, window.innerHeight);
ctx.fillRect(20,20,window.innerWidth, window.innerHeight);
}
function nextRound(){
// Winning score is set to 3, but can be changed to any number
if(totalScore === 3 || player.score === 3){
winner = (turn === 'H') ? ('Host won!') : ('Guest won!');
triesLeft.innerHTML = '';
guessWord.innerHTML = winner;
unsubscribeFromGame();
return;
}
clearCanvas();
guessWordChatLog.innerHTML = '';
tries = 3;
// Other players turn to guess the drawing
if(turn !== player.sign) {
guessWord.innerHTML = `Guess the drawing!`;
triesLeft.innerHTML = `Tries Left: ${tries}`;
canvas.removeEventListener(downEvent, startDraw, false);
canvas.removeEventListener(moveEvent, draw, false);
canvas.removeEventListener(upEvent, endDraw, false);
clearCanvasButton.removeEventListener('click', clearButton, false);
}
else{
guessWord.innerHTML = '';
triesLeft.innerHTML = '';
startGame();
}
}
function startGame(){
// Player guessing word cannot draw on canvas
if(turn !== player.sign){
return;
}
// Choose a random word from array, then remove that word
let chooseIndex = Math.floor(Math.random() * words.length);
chosenWord = words[chooseIndex];
words.splice(chooseIndex,1);
// only show word to player whose turn it is to draw
guessWord.innerHTML = `Draw the word: ${chosenWord}`;
publish({
chosenWord: chosenWord
})
colorSwatch.addEventListener('click', function() {
color = document.querySelector(':checked').getAttribute('data-color');
}, false);
clearCanvasButton.addEventListener('click', clearButton, false);
canvas.addEventListener(downEvent, startDraw, false);
canvas.addEventListener(moveEvent, draw, false);
canvas.addEventListener(upEvent, endDraw, false);
}
// Draw on other player's canvas
function drawFromStream(m) {
if(!m || m.plots.length < 1) return;
drawOnCanvas(m.color, m.plots);
}
function drawOnCanvas(color, plots) {
ctx.strokeStyle = color;
ctx.beginPath();
ctx.moveTo(plots[0].x, plots[0].y);
for(let i=1; i<plots.length; i++) {
ctx.lineTo(plots[i].x, plots[i].y);
}
ctx.stroke();
}
function draw(e) {
// prevent continuous touch event process e.g. scrolling!
e.preventDefault();
if(!isActive) return;
let x = isTouchSupported ? (e.targetTouches[0].pageX - canvas.offsetLeft) : (e.offsetX || e.layerX - canvas.offsetLeft);
let y = isTouchSupported ? (e.targetTouches[0].pageY - canvas.offsetTop) : (e.offsetY || e.layerY - canvas.offsetTop);
// round numbers for touch screens
plots.push({x: (x << 0), y: (y << 0)});
drawOnCanvas(color, plots);
}
function startDraw(e) {
e.preventDefault();
isActive = true;
}
function endDraw(e) {
e.preventDefault();
isActive = false;
publish({
color: color,
plots: plots,
})
plots = [];
}
function clearButton(e){
e.preventDefault();
clearTheCanvas = true;
publish({
clearTheCanvas: clearTheCanvas
})
}
//ChatEngine for the main chat
function onMessage(message) {
// add the message to the chat UI
let uuid = message.data.uuid;
let text = message.data.text;
let domContent = `<div class='chat-message'><b>${uuid}:</b> ${text}</div>`;
chatLog.insertAdjacentHTML('beforeend', domContent);
chatLog.scrollTo(0, chatLog.scrollHeight);
}
function sendMessage(e) {
if (e.keyCode === 13 && !e.shiftKey) e.preventDefault();
let focussed = chatInput.matches(':focus');
if (focussed && e.keyCode === 13 && chatInput.value.length > 0) {
let text = chatInput.value;
ChatEngine.global.emit('message', {
text: text,
uuid: player.name
});
chatInput.value = '';
}
}
// Add event listener for the textarea of the chat UI
chatInput.addEventListener('keypress', sendMessage);
function switchTurns(){
turn = (turn === 'H') ? 'G' : 'H';
nextRound();
}
//ChatEngine for the guess word chat
function onMessageGuessWord(message) {
let uuid = message.data.uuid;
let text = message.data.text;
let domContent = `<div class='chat-message'><b>${uuid}:</b> ${text}</div>`;
guessWordChatLog.insertAdjacentHTML('beforeend', domContent);
guessWordChatLog.scrollTo(0, guessWordChatLog.scrollHeight);
// Check if word was guessed
if(tries > 0 && text === chosenWord){
// Give a point to player that guessed the word
if(turn !== player.sign){
player.score += 1;
score.innerHTML = `My Score: ${player.score}`;
}
// Increment score of opponent
else if(turn === player.sign){
totalScore++;
opponentScore.innerHTML = `Opponent's Score: ${totalScore}`;
}
switchTurns();
}
// Player did not guess the word
else if(tries === 1){
switchTurns();
}
else{
// Decrement number of tries left
tries--;
if(turn !== player.sign){
triesLeft.innerHTML = `Tries Left: ${tries}`;
}
}
}
function sendMessageGuessWord(e) {
if (e.keyCode === 13 && !e.shiftKey) e.preventDefault();
let focused = guessWordInput.matches(':focus');
if (focused && e.keyCode === 13 && guessWordInput.value.length > 0) {
if(turn === player.sign){
window.alert('It is your turn to draw!');
return;
}
let text = guessWordInput.value;
GuessWordChatEngine.global.emit('message', {
text: text,
uuid: player.name
});
guessWordInput.value = '';
}
}
guessWordInput.addEventListener('keypress', sendMessageGuessWord);
}
| 32.444795 | 148 | 0.563636 |
fefffd09b9e560ddf8e5daa57ea7f75dfaf522af | 211 | js | JavaScript | lib/cli/util/log.js | nfinlayson/akamai-ets | 4d3cf03ba6e8f7c1ef896a472ec83e7b74e5a1ca | [
"MIT"
] | 4 | 2017-05-28T07:27:01.000Z | 2022-01-06T18:29:36.000Z | lib/cli/util/log.js | nfinlayson/akamai-ets | 4d3cf03ba6e8f7c1ef896a472ec83e7b74e5a1ca | [
"MIT"
] | 2 | 2017-08-15T05:44:32.000Z | 2017-09-13T19:06:56.000Z | lib/cli/util/log.js | nfinlayson/akamai-ets | 4d3cf03ba6e8f7c1ef896a472ec83e7b74e5a1ca | [
"MIT"
] | 6 | 2017-05-28T07:32:53.000Z | 2018-03-22T23:46:38.000Z | 'use strict';
const
bristol = require('bristol'),
palin = require('palin'),
toError = require('string.toerror');
module.exports = require('./log_implementation')(bristol, palin, toError);
| 21.1 | 74 | 0.64455 |
3a00ab700c6ecc5c709bf285ecc8b53fe987369f | 208,780 | js | JavaScript | lib/cube.min.js | tank0317/cube-ui | 0986aa9e457b80605bc0937c5478e4638e5f45f6 | [
"Apache-2.0"
] | null | null | null | lib/cube.min.js | tank0317/cube-ui | 0986aa9e457b80605bc0937c5478e4638e5f45f6 | [
"Apache-2.0"
] | null | null | null | lib/cube.min.js | tank0317/cube-ui | 0986aa9e457b80605bc0937c5478e4638e5f45f6 | [
"Apache-2.0"
] | null | null | null | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.cube=e():t.cube=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s=106)}([function(t,e){t.exports=function(t,e,i,n,o){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var u="function"==typeof r?r.options:r;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=i),l){var c=u.functional,d=c?u.render:u.beforeCreate;c?u.render=function(t,e){return l.call(e),d(t,e)}:u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:s,exports:r,options:u}}},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=i)},function(t,e,i){var n=i(45)("wks"),o=i(28),s=i(1).Symbol,r="function"==typeof s;(t.exports=function(t){return n[t]||(n[t]=r&&s[t]||(r?s:o)("Symbol."+t))}).store=n},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{isVisible:!1}},methods:{show:function(){this.isVisible=!0},hide:function(){this.isVisible=!1}}},t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(62),i(137)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e,n,o){var r=s.default.apply(this,arguments),a=e.name,u=a.replace(/^cube-/i,""),l="$"+(0,i.camelize)("create-"+u);return t.prototype[l]=r.create,e.$create=r.create,r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(n);t.exports=e.default})},function(t,e,i){var n=i(1),o=i(2),s=i(18),r=i(10),a=function(t,e,i){var u,l,c,d=t&a.F,f=t&a.G,h=t&a.S,p=t&a.P,v=t&a.B,m=t&a.W,y=f?o:o[e]||(o[e]={}),x=y.prototype,_=f?n:h?n[e]:(n[e]||{}).prototype;f&&(i=e);for(u in i)(l=!d&&_&&void 0!==_[u])&&u in y||(c=l?_[u]:i[u],y[u]=f&&"function"!=typeof _[u]?i[u]:v&&l?s(c,n):m&&_[u]==c?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(c):p&&"function"==typeof c?s(Function.call,c):c,p&&((y.virtual||(y.virtual={}))[u]=c,t&a.R&&x&&!x[u]&&r(x,u,c)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,i){var n=i(8),o=i(63),s=i(40),r=Object.defineProperty;e.f=i(9)?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),o)try{return r(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(11);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){t.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(7),o=i(19);t.exports=i(9)?function(t,e,i){return n.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(65),o=i(41);t.exports=function(t){return n(o(t))}},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(22),i(76),i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e){for(var i in e)t[i]&&"object"===(0,d.default)(t[i])?s(t[i],e[i]):t[i]=e[i]}function r(t){return function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];"string"==typeof i[0]&&(i[0]=(0,c.default)({},i[0],i[1])),s(t,i[0])}}function a(t,e){var i=new Date(t);return"zh"===e?i.getFullYear()+"年"+(i.getMonth()+1)+"月"+i.getDate()+"日":i.toDateString()}function u(t,e,i){if(void 0!==i)return f._set(t,e,i);if(e){var n=t[e],o=f[void 0===n?"undefined":(0,d.default)(n)];o&&o(t,e,n)}else(0,l.default)(t).forEach(function(e){u(t,e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.resetTypeValue=t.toLocaleDateString=t.createAddAPI=t.deepAssign=void 0;var l=o(e),c=o(i),d=o(n),f={_set:function(t,e,i){t[e]=i},string:function(t,e){f._set(t,e,"")},number:function(t,e){f._set(t,e,0)},boolean:function(t,e){f._set(t,e,!1)},object:function(t,e,i){Array.isArray(i)?f._set(t,e,[]):f._set(t,e,{})}};t.deepAssign=s,t.createAddAPI=r,t.toLocaleDateString=a,t.resetTypeValue=u})},function(t,e,i){function n(t){i(133)}var o=i(0)(i(134),i(135),n,null,null);t.exports=o.exports},function(t,e,i){t.exports={default:i(139),__esModule:!0}},function(t,e,i){var n=i(27);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n=i(64),o=i(46);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){t.exports={default:i(167),__esModule:!0}},function(t,e){t.exports={}},function(t,e,i){function n(t){i(198)}var o=i(0)(i(199),i(204),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(t){console.warn("[cube-ui warn]: "+t)}})},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(54)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";function i(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)}function n(t,e){if(!i(t,e)){var n=t.className.split(" ");n.push(e),t.className=n.join(" ")}}function o(t,e){if(i(t,e)){var n=new RegExp("(^|\\s)"+e+"(\\s|$)","g");t.className=t.className.replace(n," ")}}function s(t,e){return t.getAttribute("data-"+e)}function r(t){return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function a(t){return!1!==u&&("standard"===u?"transitionEnd"===t?"transitionend":t:u+t.charAt(0).toUpperCase()+t.substr(1))}Object.defineProperty(t,"__esModule",{value:!0}),t.hasClass=i,t.addClass=n,t.removeClass=o,t.getData=s,t.getRect=r,t.prefixStyle=a;var u=function(){if(!e.inBrowser)return!1;var t=document.createElement("div").style,i={standard:"transform",webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform"};for(var n in i)if(void 0!==t[i[n]])return n;return!1}()})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var n=i(41);t.exports=function(t){return Object(n(t))}},function(t,e,i){"use strict";e.__esModule=!0;var n=i(17),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=i(171),s=n(o),r=i(180),a=n(r),u="function"==typeof a.default&&"symbol"==typeof s.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(s.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e){t.exports=!0},function(t,e,i){var n=i(7).f,o=i(12),s=i(3)("toStringTag");t.exports=function(t,e,i){t&&!o(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},function(t,e,i){"use strict";e.__esModule=!0;var n=i(200),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,o.default)(t)}},function(t,e,i){"use strict";function n(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function o(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var o=0;o<i.length;o++){var s=i[o];for(var r in s)t[r]=s[r]}return t}function s(t){return void 0===t||null===t}function r(t){return!1!==O&&("standard"===O?"transitionEnd"===t?"transitionend":t:O+t.charAt(0).toUpperCase()+t.substr(1))}function a(t,e,i,n){t.addEventListener(e,i,{passive:!1,capture:!!n})}function u(t,e,i,n){t.removeEventListener(e,i,{passive:!1,capture:!!n})}function l(t){for(var e=0,i=0;t;)e-=t.offsetLeft,i-=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}function c(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function d(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1}function f(t,e){var i=document.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)}function h(t){function e(){s=document.createEvent("Event"),s.initEvent(r,a,u),o(s,n)}var i=void 0;"mouseup"===t.type||"mousecancel"===t.type?i=t:"touchend"!==t.type&&"touchcancel"!==t.type||(i=t.changedTouches[0]);var n={};i&&(n.screenX=i.screenX||0,n.screenY=i.screenY||0,n.clientX=i.clientX||0,n.clientY=i.clientY||0);var s=void 0,r="click",a=!0,u=!0;if("undefined"!=typeof MouseEvent)try{s=new MouseEvent(r,o({bubbles:a,cancelable:u},n))}catch(t){e()}else e();s.forwardedTouchEvent=!0,s._constructed=!0,t.target.dispatchEvent(s)}function p(t,e){e.firstChild?v(t,e.firstChild):e.appendChild(t)}function v(t,e){e.parentNode.insertBefore(t,e)}function m(t,e){t.removeChild(e)}function y(t,e,i,n,o,s){var r=t-e,a=Math.abs(r)/i,u=s.deceleration,l=s.itemHeight,c=s.swipeBounceTime,d=s.wheel,f=s.swipeTime,h=f,p=d?4:15,v=t+a/u*(r<0?-1:1);return d&&l&&(v=Math.round(v/l)*l),v<n?(v=o?Math.max(n-o/4,n-o/p*a):n,h=c):v>0&&(v=o?Math.min(o/4,o/p*a):0,h=c),{destination:Math.round(v),duration:h}}function x(){}function _(t){console.error("[BScroll warn]: "+t)}function g(t,e){if(!t)throw new Error("[BScroll] "+e)}function b(t){var e=document.createElement("div"),i=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",i.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",i.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(i),e}function w(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function S(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||_("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||_("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(t,e)}Object.defineProperty(e,"__esModule",{value:!0});/*!
* better-normal-scroll v1.9.1
* (c) 2016-2018 ustbhuangyi
* Released under the MIT License.
*/
var T=function(){function t(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)},M="undefined"!=typeof window,k=M&&navigator.userAgent.toLowerCase(),C=k&&/wechatdevtools/.test(k),D=k&&k.indexOf("android")>0,I=M&&document.createElement("div").style,O=function(){if(!M)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==I[t[e]])return e;return!1}(),$=r("transform"),E=M&&r("perspective")in I,V=M&&("ontouchstart"in window||C),j=!1!==$,R=M&&r("transition")in I,A={transform:$,transitionTimingFunction:r("transitionTimingFunction"),transitionDuration:r("transitionDuration"),transitionProperty:r("transitionProperty"),transitionDelay:r("transitionDelay"),transformOrigin:r("transformOrigin"),transitionEnd:r("transitionEnd")},F=1,H={touchstart:F,touchmove:F,touchend:F,mousedown:2,mousemove:2,mouseup:2},L={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.001,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:V,disableTouch:!V,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1},B={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},N=function(){return M?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:x}(),Y=function(){return M?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:x}(),X=1,U=-1,z=1,W=-1,q=1,G=3;w.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},w.prototype.refresh=function(){this.transitionTime(),this._calculate(),this.updatePosition()},w.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var n=t?250:500;t=t?"1":"0",this.wrapperStyle[A.transitionDuration]=n+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},w.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[A.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var n=Math.round(this.sizeRatioX*this.scroller.x);if(n<0){this.transitionTime(500);var o=Math.max(this.indicatorWidth+3*n,8);this.indicatorStyle.width=o+"px",n=0}else if(n>this.maxPosX){this.transitionTime(500);var s=Math.max(this.indicatorWidth-3*(n-this.maxPosX),8);this.indicatorStyle.width=s+"px",n=this.maxPosX+this.indicatorWidth-s}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=n,this.scroller.options.useTransform?this.indicatorStyle[A.transform]="translateX("+n+"px)"+this.scroller.translateZ:this.indicatorStyle.left=n+"px"}},w.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[A.transitionDuration]=t+"ms"},w.prototype.transitionTimingFunction=function(t){this.indicatorStyle[A.transitionTimingFunction]=t},w.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},w.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=n(),this._handleMoveEvents(a),this.scroller.trigger("beforeScrollStart")},w.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var n=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var o=this.x+i,s=this.y+n;this._pos(o,s)},w.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(u);var e=this.scroller.options.snap;if(e){var i=e.speed,n=e.easing,o=void 0===n?B.bounce:n,s=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-s.x),1e3),Math.min(Math.abs(this.scroller.y-s.y),1e3)),300);this.scroller.x===s.x&&this.scroller.y===s.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=s,this.scroller.scrollTo(s.x,s.y,r,o))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},w.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},w.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},w.prototype._addDOMEvents=function(){var t=a;this._handleDOMEvents(t)},w.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t),this._handleMoveEvents(t)},w.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},w.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))},function(t){t.prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype._handleOptions=function(t){this.options=o({},L,t),this.translateZ=this.options.HWCompositing&&E?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&R,this.options.useTransform=this.options.useTransform&&j,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=a;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=u;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),V&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,A.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1;Object.defineProperty(this,"isInTransition",{get:function(){return e},set:function(i){e=i;for(var n=t.scroller.children.length?t.scroller.children:[t.scroller],o=e&&!t.pulling?"none":"auto",s=0;s<n.length;s++)n[s].style.pointerEvents=o}})}},t.prototype._handleAutoBlur=function(){this.on("beforeScrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var e=void 0,i=new MutationObserver(function(i){if(!t._shouldNotRefresh()){for(var n=!1,o=!1,s=0;s<i.length;s++){var r=i[s];if("attributes"!==r.type){n=!0;break}if(r.target!==t.scroller){o=!0;break}}n?t.refresh():o&&(clearTimeout(e),e=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),n={attributes:!0,childList:!0,subtree:!0};i.observe(this.scroller,n),this.on("destroy",function(){i.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>0||this.x<this.maxScrollX||this.y>0||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){i=c(this.scroller);var t=i.width,s=i.height;n===t&&o===s||this.refresh(),n=t,o=s,e.call(this)}}function e(){var e=this;setTimeout(function(){t.call(e)},1e3)}var i=c(this.scroller),n=i.width,o=i.height;e.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(d(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t=c(this.wrapper);this.wrapperWidth=t.width,this.wrapperHeight=t.height;var e=c(this.scroller);this.scrollerWidth=e.width,this.scrollerHeight=e.height;var i=this.options.wheel;i?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=i.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=l(this.wrapper),this.trigger("refresh"),this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(S),function(t){t.prototype._start=function(t){var e=H[t.type];if((e===F||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==e)){this.initiated=e,this.options.preventDefault&&!d(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=n(),this.options.wheel&&(this.target=t.target),this.stop();var i=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&H[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches?t.touches[0]:t,i=e.pageX-this.pointX,o=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=o;var s=Math.abs(this.distX),r=Math.abs(this.distY),a=n();if(!(a-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&s<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(s>r+this.options.directionLockThreshold?this.directionLocked="h":r>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);o=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,o=this.hasVerticalScroll?o:0,this.movingDirectionX=i>0?W:i<0?z:0,this.movingDirectionY=o>0?U:o<0?X:0;var u=this.x+i,l=this.y+o;(u>0||u<this.maxScrollX)&&(u=this.options.bounce?this.x+i/3:u>0?0:this.maxScrollX),(l>0||l<this.maxScrollY)&&(l=this.options.bounce?this.y+o/3:l>0?0:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(u,l),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,this.options.probeType===q&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>q&&this.trigger("scroll",{x:this.x,y:this.y});var c=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,d=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,f=this.pointX-c,h=this.pointY-d;(f>document.documentElement.clientWidth-this.options.momentumLimitDistance||f<this.options.momentumLimitDistance||h<this.options.momentumLimitDistance||h>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&H[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!d(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),o=e-this.absStartX,s=i-this.absStartY;if(this.directionX=o>0?W:o<0?z:0,this.directionY=s>0?U:s<0?X:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,B.bounce)){this.scrollTo(e,i),this.endTime=n();var r=this.endTime-this.startTime,a=Math.abs(e-this.startX),u=Math.abs(i-this.startY);if(this._events.flick&&r<this.options.flickLimitTime&&a<this.options.flickLimitDistance&&u<this.options.flickLimitDistance)return void this.trigger("flick");var l=0;if(this.options.momentum&&r<this.options.momentumLimitTime&&(u>this.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var c=this.hasHorizontalScroll?y(this.x,this.startX,r,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options):{destination:e,duration:0},f=this.hasVerticalScroll?y(this.y,this.startY,r,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options):{destination:i,duration:0};e=c.destination,i=f.destination,l=Math.max(c.duration,f.duration),this.isInTransition=!0}else this.options.wheel&&(i=Math.round(i/this.itemHeight)*this.itemHeight,l=this.options.wheel.adjustTime||400);var h=B.swipe;if(this.options.snap){var p=this._nearestSnap(e,i);this.currentPage=p,l=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-p.x),1e3),Math.min(Math.abs(i-p.y),1e3)),300),e=p.x,i=p.y,this.directionX=0,this.directionY=0,h=this.options.snap.easing||B.bounce}if(e!==this.x||i!==this.y)return(e>0||e<this.maxScrollX||i>0||i<this.maxScrollY)&&(h=B.swipeBounce),void this.scrollTo(e,i,l,h);this.options.wheel&&(this.selectedIndex=Math.round(Math.abs(this.y/this.itemHeight))),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var e=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.className===this.options.wheel.wheelWrapperClass){var i=Math.abs(Math.round(this.y/this.itemHeight)),n=Math.round((this.pointY+l(this.target).top-this.itemHeight/2)/this.itemHeight);this.target=this.items[i+n]}return this.scrollToElement(this.target,this.options.wheel.adjustTime||400,!0,!0,B.swipe),!0}return!e&&(this.options.tap&&f(t,this.options.tap),this.options.click&&!d(t.target,this.options.preventDefaultException)&&h(t),!0)}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(D&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var i=e.getComputedPosition();if(e.trigger("scroll",i),!e.isInTransition)return void e.trigger("scrollEnd",i);e.probeTimer=N(t)}Y(this.probeTimer),this.probeTimer=N(t);var e=this},t.prototype._transitionProperty=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";this.scrollerStyle[A.transitionProperty]=t},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[A.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[A.transitionDuration]=t+"ms";if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[A.transitionTimingFunction]=t,this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[A.transitionTimingFunction]=t;if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),this.pulling||this.resetPosition(this.options.bounceTime,B.bounce)||(this.isInTransition=!1,this.options.probeType!==G&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,e){if(g(!s(t)&&!s(e),"Oops! translate x or y is null or undefined. please check your code."),this.options.useTransform?this.scrollerStyle[A.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=Math.round(t),e=Math.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.options.wheel)for(var i=this.options.wheel.rotate,n=void 0===i?25:i,o=0;o<this.items.length;o++){var r=n*(e/this.itemHeight+o);this.items[o].style[A.transform]="rotateX("+r+"deg)"}if(this.x=t,this.y=e,this.indicators)for(var a=0;a<this.indicators.length;a++)this.indicators[a].updatePosition()},t.prototype._animate=function(t,e,i,o){function s(){var d=n();if(d>=c)return r.isAnimating=!1,r._translate(t,e),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));d=(d-l)/i;var f=o(d),h=(t-a)*f+a,p=(e-u)*f+u;r._translate(h,p),r.isAnimating&&(r.animateTimer=N(s)),r.options.probeType===G&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,u=this.y,l=n(),c=l+i;this.isAnimating=!0,Y(this.animateTimer),s()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:B.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,n)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:B.bounce;this.isInTransition=this.options.useTransition&&i>0&&(t!==this.x||e!==this.y),!i||this.options.useTransition?(this._transitionProperty(),this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===G&&this._startProbe(),this.options.wheel&&(e>0?this.selectedIndex=0:e<this.maxScrollY?this.selectedIndex=this.items.length-1:this.selectedIndex=Math.round(Math.abs(e/this.itemHeight)))):this._animate(t,e,i,n.fn)},t.prototype.scrollToElement=function(t,e,i,n,o){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.className===this.options.wheel.wheelItemClass)){var s=l(t);s.left-=this.wrapperOffset.left,s.top-=this.wrapperOffset.top,!0===i&&(i=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===n&&(n=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),s.left-=i||0,s.top-=n||0,s.left=s.left>0?0:s.left<this.maxScrollX?this.maxScrollX:s.left,s.top=s.top>0?0:s.top<this.maxScrollY?this.maxScrollY:s.top,this.options.wheel&&(s.top=Math.round(s.top/this.itemHeight)*this.itemHeight),this.scrollTo(s.left,s.top,e,o)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.bounce,i=this.x,n=Math.round(i);!this.hasHorizontalScroll||n>0?i=0:n<this.maxScrollX&&(i=this.maxScrollX);var o=this.y,s=Math.round(o);return!this.hasVerticalScroll||s>0?o=0:s<this.maxScrollY&&(o=this.maxScrollY),(i!==this.x||o!==this.y)&&(this.scrollTo(i,o,t,e),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),e=void 0,i=void 0;return this.options.useTransform?(t=t[A.transform].split(")")[0].split(", "),e=+(t[12]||t[4]),i=+(t[13]||t[5])):(e=+t.left.replace(/[^-\d.]/g,""),i=+t.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1;var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[Math.round(-t.y/this.itemHeight)]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),this._removeDOMEvents(),this._events={}}}(S),function(t){t.prototype.on=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(n,arguments)}var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var n=i.length;n--;)(i[n][0]===e||i[n][0]&&i[n][0].fn===e)&&(i[n][0]=void 0)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,n=[].concat(P(e)),o=0;o<i;o++){var s=n[o],r=T(s,2),a=r[0],u=r[1];a&&a.apply(u,[].slice.call(arguments,1))}}}(S),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var e=this.options.snap;if(e.loop){var i=this.scroller.children;i.length>1?(p(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var n=e.el;"string"==typeof n&&(n=this.scroller.querySelectorAll(n)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,o=e.stepY||t.wrapperHeight,s=0,r=void 0,a=void 0,u=void 0,l=0,d=void 0,f=0,h=void 0,p=void 0;if(n)for(d=n.length,h=-1;l<d;l++)p=c(n[l]),(0===l||p.left<=c(n[l-1]).left)&&(f=0,h++),t.pages[f]||(t.pages[f]=[]),s=Math.max(-p.left,t.maxScrollX),r=Math.max(-p.top,t.maxScrollY),a=s-Math.round(p.width/2),u=r-Math.round(p.height/2),t.pages[f][h]={x:s,y:r,width:p.width,height:p.height,cx:a,cy:u},s>t.maxScrollX&&f++;else for(a=Math.round(i/2),u=Math.round(o/2);s>-t.scrollerWidth;){for(t.pages[l]=[],d=0,r=0;r>-t.scrollerHeight;)t.pages[l][d]={x:Math.max(s,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:i,height:o,cx:s-a,cy:r-u},r-=o,d++;s-=i,l++}t._checkSnapLoop();var v=e._loopX?1:0,m=e._loopY?1:0;t._goToPage(t.currentPage.pageX||v,t.currentPage.pageY||m,0);var y=e.threshold;y%1==0?(t.snapThresholdX=y,t.snapThresholdY=y):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*y),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*y))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(m(t.scroller,i[i.length-1]),m(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&_("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),e>0?e=0:e<this.maxScrollY&&(e=this.maxScrollY);for(var n=this.pages.length;i<n;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}n=this.pages[i].length;for(var o=0;o<n;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o===this.currentPage.pageY&&(o+=this.directionY,o<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],n=arguments[3],o=this.options.snap;if(o&&this.pages&&(n=n||o.easing||B.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;i=void 0===i?o.speed||Math.max(Math.max(Math.min(Math.abs(s-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):i,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,i,n)}},t.prototype.goToPage=function(t,e,i,n){var o=this.options.snap;if(o){if(o.loop){var s=void 0;o._loopX?(s=this.pages.length-2,t>=s?t=s-1:t<0&&(t=0),t+=1):(s=this.pages[0].length-2,e>=s?e=s-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,n)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this._goToPage(i,n,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,n--),this._goToPage(i,n,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?o({},this.currentPage,{pageX:this.currentPage.pageX-1}):o({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(S),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,_("wheel option selectedIndex is required!"))}}(S),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,n=void 0===i||i,o=e.interactive,s=void 0!==o&&o;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:b("horizontal"),direction:"horizontal",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new w(this,r))),this.options.scrollY&&(r={el:b("vertical"),direction:"vertical",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new w(this,r))),this.on("refresh",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].refresh()}),n&&(this.on("scrollEnd",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollCancel",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0)}),this.on("beforeScrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(S),function(t){t.prototype._initPullDown=function(){this.options.probeType=G},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,n=t.stop,o=void 0===n?40:n;return!(this.directionY!==U||this.y<i)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,o,this.options.bounceTime,B.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,B.bounce)},t.prototype.openPullDown=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1}}(S),function(t){t.prototype._initPullUp=function(){this.options.probeType=G,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,n=void 0===i?0:i;this.movingDirectionY===X&&t.y<=this.maxScrollY+n&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(S),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(a),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),t._handleMouseWheelEvent(u)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1,clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var i=this.options.mouseWheel,n=i.speed,o=void 0===n?20:n,s=i.invert,r=void 0!==s&&s,a=void 0,u=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(a=-t.deltaX*o,u=-t.deltaY*o):(a=-t.deltaX,u=-t.deltaY);break;case"wheelDeltaX"in t:a=t.wheelDeltaX/120*o,u=t.wheelDeltaY/120*o;break;case"wheelDelta"in t:a=u=t.wheelDelta/120*o;break;case"detail"in t:a=u=-t.detail/3*o;break;default:return}var l=r?-1:1;a*=l,u*=l,this.hasVerticalScroll||(a=u,u=0);var c=void 0,d=void 0;if(this.options.snap)return c=this.currentPage.pageX,d=this.currentPage.pageY,a>0?c--:a<0&&c++,u>0?d--:u<0&&d++,void this._goToPage(c,d);c=this.x+Math.round(this.hasHorizontalScroll?a:0),d=this.y+Math.round(this.hasVerticalScroll?u:0),this.directionX=a>0?-1:a<0?1:0,this.directionY=u>0?-1:u<0?1:0,c>0?c=0:c<this.maxScrollX&&(c=this.maxScrollX),d>0?d=0:d<this.maxScrollY&&(d=this.maxScrollY),this.scrollTo(c,d),this.trigger("scroll",{x:this.x,y:this.y})}}}(S),S.Version="1.9.1",e.default=S},function(t,e,i){function n(t){i(115)}var o=i(0)(i(116),i(117),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(124)}var o=i(0)(i(125),i(126),n,null,null);t.exports=o.exports},function(t,e,i){var n=i(11),o=i(1).document,s=n(o)&&n(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},function(t,e,i){var n=i(11);t.exports=function(t,e){if(!n(t))return t;var i,o;if(e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!n(o=i.call(t)))return o;if(!e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){var n=i(43),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(45)("keys"),o=i(28);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e,i){var n=i(1),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){function n(t){i(152)}var o=i(0)(i(153),i(154),n,null,null);t.exports=o.exports},function(t,e,i){"use strict";var n=i(173)(!0);i(69)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){e.f=i(3)},function(t,e,i){var n=i(1),o=i(2),s=i(33),r=i(50),a=i(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=s?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:{type:String},cancelTxt:{type:String,default:"取消"},confirmTxt:{type:String,default:"确定"},swipeTime:{type:Number,default:2500},zIndex:{type:Number}}},t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5),i(25)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","value-change","cancel","change"]).before(function(t,e,i){i&&(0,n.warn)("Picker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.inBrowser="undefined"!=typeof window})},function(t,e,i){function n(t){i(242)}var o=i(0)(i(243),i(258),n,null,null);t.exports=o.exports},function(t,e,i){"use strict";function n(t){var e,i;this.promise=new t(function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n}),this.resolve=o(e),this.reject=o(i)}var o=i(27);t.exports.f=function(t){return new n(t)}},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(54)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";function i(t,e,i,o){for(var s=[],r=t.length,a=0,u=0;u<r;u++)n(t[u],u,e,function(t,e){if(a++,s[e]=t,i(t,e),a===r)return o(s)})}function n(t,e,i,n){i(t,function(t){var i=o(t.name,t.size,a,0,t);n(i,e)})}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,r=o&&o.base64||"";return{name:t,size:e,url:r?"":s(o),base64:r,status:i,progress:n,file:o}}function s(t){return t&&r?r.createObjectURL(t):""}Object.defineProperty(t,"__esModule",{value:!0}),t.STATUS_SUCCESS=t.STATUS_ERROR=t.STATUS_UPLOADING=t.STATUS_READY=t.URL=void 0,t.processFiles=i,t.processFile=n,t.newFile=o;var r=t.URL=e.inBrowser?window.URL||window.webkitURL||window.mozURL:null,a=t.STATUS_READY="ready";t.STATUS_UPLOADING="uploading",t.STATUS_ERROR="error",t.STATUS_SUCCESS="success"})},function(t,e,i){function n(t){i(111)}var o=i(0)(i(112),i(113),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(118)}var o=i(0)(i(119),i(120),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(122)}var o=i(0)(i(123),i(127),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(129)}var o=i(0)(i(130),i(131),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t){return t=String(t),t.replace(i,function(t,e){return e?e.toUpperCase():""})}Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=e;var i=/-(\w)/g})},function(t,e,i){t.exports=!i(9)&&!i(13)(function(){return 7!=Object.defineProperty(i(39)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(12),o=i(14),s=i(142)(!1),r=i(44)("IE_PROTO");t.exports=function(t,e){var i,a=o(t),u=0,l=[];for(i in a)i!=r&&n(a,i)&&l.push(i);for(;e.length>u;)n(a,i=e[u++])&&(~s(l,i)||l.push(i));return l}},function(t,e,i){var n=i(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,i){function n(t){i(161)}var o=i(0)(i(162),i(163),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(165)}var o=i(0)(i(166),i(196),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(170),i(193),i(77)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"rules",{enumerable:!0,get:function(){return e.rules}}),Object.defineProperty(t,"addRule",{enumerable:!0,get:function(){return e.addRule}}),Object.defineProperty(t,"findMessage",{enumerable:!0,get:function(){return i.findMessage}}),Object.defineProperty(t,"addMessage",{enumerable:!0,get:function(){return i.addMessage}}),Object.defineProperty(t,"setLanguage",{enumerable:!0,get:function(){return i.setLanguage}}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return n.types}}),Object.defineProperty(t,"addType",{enumerable:!0,get:function(){return n.addType}})})},function(t,e,i){"use strict";var n=i(33),o=i(6),s=i(70),r=i(10),a=i(12),u=i(23),l=i(174),c=i(34),d=i(176),f=i(3)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,i,v,m,y,x){l(i,e,v);var _,g,b,w=function(t){if(!h&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},S=e+" Iterator",T="values"==m,P=!1,M=t.prototype,k=M[f]||M["@@iterator"]||m&&M[m],C=!h&&k||w(m),D=m?T?w("entries"):C:void 0,I="Array"==e?M.entries||k:k;if(I&&(b=d(I.call(new t)))!==Object.prototype&&b.next&&(c(b,S,!0),n||a(b,f)||r(b,f,p)),T&&k&&"values"!==k.name&&(P=!0,C=function(){return k.call(this)}),n&&!x||!h&&!P&&M[f]||r(M,f,C),u[e]=C,u[S]=p,m)if(_={values:T?C:w("values"),keys:y?C:w("keys"),entries:D},x)for(g in _)g in M||s(M,g,_[g]);else o(o.P+o.F*(h||P),e,_);return _}},function(t,e,i){t.exports=i(10)},function(t,e,i){var n=i(8),o=i(175),s=i(46),r=i(44)("IE_PROTO"),a=function(){},u=function(){var t,e=i(39)("iframe"),n=s.length;for(e.style.display="none",i(72).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[s[n]];return u()};t.exports=Object.create||function(t,e){var i;return null!==t?(a.prototype=n(t),i=new a,a.prototype=null,i[r]=t):i=u(),void 0===e?i:o(i,e)}},function(t,e,i){var n=i(1).document;t.exports=n&&n.documentElement},function(t,e,i){i(177);for(var n=i(1),o=i(10),s=i(23),r=i(3)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var l=a[u],c=n[l],d=c&&c.prototype;d&&!d[r]&&o(d,r,l),s[l]=s.Array}},function(t,e,i){var n=i(64),o=i(46).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e){},function(t,e,i){"use strict";e.__esModule=!0;var n=i(190),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t,e,i){return e in t?(0,o.default)(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(15)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addType=t.types=void 0;var i={string:function(t){return"string"==typeof t},number:function(t){return!isNaN(Number(t))},array:function(t){return Array.isArray(t)},date:function(t){return!isNaN(Number(t))},email:function(t){return"string"==typeof t&&/^[a-z0-9_-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)+$/i.test(t)},tel:function(t){return"string"==typeof t&&/^(11|13|14|15|17|18|19)[0-9]{9}$/.test(t)},url:function(t){return"string"==typeof t&&/(https?|ftp|file):\/\/[-A-Za-z0-9+&@#\/%?=~_|!:,.;]+[-A-Za-z0-9+&@#\/%=~_|]/.test(t)}},n=(0,e.createAddAPI)(i);t.types=i,t.addType=n})},function(t,e,i){var n=i(8);t.exports=function(t,e,i,o){try{return o?e(n(i)[0],i[1]):e(i)}catch(e){var s=t.return;throw void 0!==s&&n(s.call(t)),e}}},function(t,e,i){var n=i(23),o=i(3)("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||s[o]===t)}},function(t,e,i){var n=i(81),o=i(3)("iterator"),s=i(23);t.exports=i(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||s[n(t)]}},function(t,e,i){var n=i(21),o=i(3)("toStringTag"),s="Arguments"==n(function(){return arguments}()),r=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=r(e=Object(t),o))?i:s?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,i){var n=i(3)("iterator"),o=!1;try{var s=[7][n]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var i=!1;try{var s=[7],r=s[n]();r.next=function(){return{done:i=!0}},s[n]=function(){return r},t(s)}catch(t){}return i}},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={value:"value",text:"text"};e.default={props:{data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}},alias:{type:Object,default:function(){return{}}}},computed:{valueKey:function(){return this.alias.value||i.value},textKey:function(){return this.alias.text||i.text}},watch:{data:function(t){this.setData(t,this.selectedIndex)},selectedIndex:function(t){this.setData(this.data,t)}}},t.exports=e.default})},function(t,e,i){function n(t){i(205)}var o=i(0)(i(206),i(207),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(209)}var o=i(0)(i(210),i(211),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(213)}var o=i(0)(i(214),i(218),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(215)}var o=i(0)(i(216),i(217),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(234)}var o=i(0)(i(235),i(236),n,null,null);t.exports=o.exports},function(t,e,i){var n=i(8),o=i(27),s=i(3)("species");t.exports=function(t,e){var i,r=n(t).constructor;return void 0===r||void 0==(i=n(r)[s])?e:o(i)}},function(t,e,i){var n,o,s,r=i(18),a=i(249),u=i(72),l=i(39),c=i(1),d=c.process,f=c.setImmediate,h=c.clearImmediate,p=c.MessageChannel,v=c.Dispatch,m=0,y={},x=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){x.call(t.data)};f&&h||(f=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},n(m),m},h=function(t){delete y[t]},"process"==i(21)(d)?n=function(t){d.nextTick(r(x,t,1))}:v&&v.now?n=function(t){v.now(r(x,t,1))}:p?(o=new p,s=o.port2,o.port1.onmessage=_,n=r(s.postMessage,s,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(n=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),x.call(t)}}:function(t){setTimeout(r(x,t,1),0)}),t.exports={set:f,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,i){var n=i(8),o=i(11),s=i(56);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var i=s.f(t);return(0,i.resolve)(e),i.promise}},function(t,e,i){var n=i(0)(i(259),i(263),null,null,null);t.exports=n.exports},function(t,e,i){function n(t){i(260)}var o=i(0)(i(261),i(262),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t,e){var i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(var n in i)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?i[n]:("00"+i[n]).substr((""+i[n]).length)));return e}function i(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();return new Date(e+"/"+i+"/"+n+" 00:00:00")}function n(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}Object.defineProperty(t,"__esModule",{value:!0}),t.formatDate=e,t.getZeroDate=i,t.getNow=n;t.DAY_TIMESTAMP=864e5,t.HOUR_TIMESTAMP=36e5,t.MINUTE_TIMESTAMP=6e4})},function(t,e,i){var n=i(0)(i(271),i(272),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5),i(25)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","cancel","change"]).before(function(t,e,i){i&&(0,n.warn)("CascadePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){function n(t){i(284)}var o=i(0)(i(285),i(293),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(286)}var o=i(0)(i(287),i(288),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(289)}var o=i(0)(i(290),i(291),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(298)}var o=i(0)(i(299),i(301),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(307)}var o=i(0)(i(308),i(312),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(309)}var o=i(0)(i(310),i(311),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(320)}var o=i(0)(i(321),i(331),n,null,null);t.exports=o.exports},function(t,e,i){function n(t){i(322)}var o=i(0)(i(323),i(330),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(107)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t){if(!n.installed){n.installed=!0;[i.Style,i.Button,i.TimePicker,i.SegmentPicker,i.DatePicker,i.Select,i.Dialog,i.Tip,i.Toast,i.Input,i.Validator,i.Textarea,i.Rate,i.CheckboxGroup,i.RadioGroup,i.Switch,i.Form,i.Slide,i.IndexList,i.ActionSheet,i.Scroll,i.Popup,i.Upload,i.Swipe,i.Drawer].forEach(function(e){e.install(t)})}}Object.defineProperty(e,"__esModule",{value:!0});var o={version:"1.7.2",install:n,BScroll:i.BScroll,createAPI:i.createAPI};"undefined"!=typeof window&&window.Vue&&window.Vue.use(n),e.default=o,t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(108),i(110),i(114),i(121),i(128),i(132),i(145),i(151),i(160),i(164),i(197),i(208),i(212),i(316),i(219),i(224),i(230),i(238),i(265),i(270),i(277),i(282),i(283),i(294),i(303),i(314),i(315)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a,u,l,c,d,f,h,p,v,m,y,x,_,g,b,w,S,T,P,M,k){"use strict";function C(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.createAPI=t.BScroll=t.DrawerItem=t.DrawerPanel=t.Drawer=t.SwipeItem=t.Swipe=t.Upload=t.IndexList=t.Loading=t.SlideItem=t.Slide=t.Switch=t.RadioGroup=t.Radio=t.CheckboxGroup=t.Checkbox=t.ActionSheet=t.Rate=t.Textarea=t.Validator=t.Input=t.Toast=t.Tip=t.Dialog=t.FormItem=t.FormGroup=t.Form=t.Select=t.DatePicker=t.SegmentPicker=t.CascadePicker=t.TimePicker=t.Picker=t.Popup=t.Scroll=t.Button=t.Style=void 0;var D=C(e),I=C(i),O=C(n),$=C(o),E=C(s),V=C(r),j=C(a),R=C(u),A=C(l),F=C(c),H=C(d),L=C(f),B=C(h),N=C(p),Y=C(v),X=C(m),U=C(y),z=C(x),W=C(_),q=C(g),G=C(b),K=C(w),Z=C(S),J=C(T),Q=C(P),tt=C(M),et=C(k),it=q.default.Picker,nt=q.default.CascadePicker,ot=O.default.Checkbox,st=N.default.Group,rt=N.default.Item,at=R.default.Loading,ut=U.default.Item,lt=$.default.Radio,ct=J.default.Item,dt=Q.default.Panel,ft=Q.default.Item;t.Style=D.default,t.Button=I.default,t.Scroll=K.default,t.Popup=V.default,t.Picker=it,t.TimePicker=W.default,t.CascadePicker=nt,t.SegmentPicker=q.default,t.DatePicker=G.default,t.Select=H.default,t.Form=N.default,t.FormGroup=st,t.FormItem=rt,t.Dialog=j.default,t.Tip=Y.default,t.Toast=R.default,t.Input=A.default,t.Validator=F.default,t.Textarea=L.default,t.Rate=B.default,t.ActionSheet=X.default,t.Checkbox=ot,t.CheckboxGroup=O.default,t.Radio=lt,t.RadioGroup=$.default,t.Switch=E.default,t.Slide=U.default,t.SlideItem=ut,t.Loading=at,t.IndexList=z.default,t.Upload=Z.default,t.Swipe=J.default,t.SwipeItem=ct,t.Drawer=Q.default,t.DrawerPanel=dt,t.DrawerItem=ft,t.BScroll=tt.default,t.createAPI=et.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(109)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={install:function(){}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(58)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-button",props:{icon:{type:String,default:""},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},light:{type:Boolean,default:!1},type:{type:String,default:"button"}},computed:{btnClass:function(){return{"cube-btn_active":this.active,"cube-btn_disabled":this.disabled,"cube-btn-inline":this.inline,"cube-btn-primary":this.primary,"cube-btn-outline":this.outline,"cube-btn-outline-primary":this.outline&&this.primary,"cube-btn-light":this.light}}},methods:{handleClick:function(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.$emit("click",t)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"cube-btn",class:t.btnClass,attrs:{type:t.type},on:{click:t.handleClick}},[t.icon?i("i",{class:t.icon}):t._e(),t._v(" "),t._t("default")],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(37),i(59)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);r.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default)},r.default.Checkbox=s.default,e.default=r.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-checkbox",props:{value:{type:[Boolean,String]},label:{type:[Boolean,String]},disabled:{type:Boolean,default:!1},option:{type:[Boolean,String,Object],default:function(){return{_def_option:!0}}},position:{type:String,default:"left"},shape:{type:String,default:"circle"},hollowStyle:{type:Boolean,default:!1}},data:function(){var t=this.$parent,e=t.$data._checkboxGroup;return{isInGroup:e,isInHorizontalGroup:e&&t.$props.horizontal}},computed:{computedOption:function(){var t=this.option,e=this.label,i=this.disabled;return!0===t._def_option?t={label:e,value:e,disabled:i}:"string"==typeof t&&(t={label:t,value:t,disabled:!1}),t},checkValue:{get:function(){return this.isInGroup?this.$parent.value.indexOf(this.computedOption.value)>-1:Boolean(this.value)},set:function(t){var e=this.computedOption.value,i=e&&t?e:t,n=t?"checked":"cancel-checked";this.$emit("input",i),this.isInGroup&&this.$parent.$emit(n,e||t,this)}},_containerClass:function(){return{"cube-checkbox-hollow":this.hollowStyle,"cube-checkbox_checked":this.checkValue,"cube-checkbox_disabled":this.computedOption.disabled,"border-right-1px":this.isInHorizontalGroup}},_wrapClass:function(){if(this.isInGroup&&!this.isInHorizontalGroup)return"border-bottom-1px"},isSquare:function(){return"square"===this.shape||this.hollowStyle},_borderIconClass:function(){return this.isSquare?"cubeic-square-border":"cubeic-round-border"},_rightIconClass:function(){return this.isSquare?"cubeic-square-right":"cubeic-right"}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-checkbox",class:t._containerClass,attrs:{"data-pos":t.position}},[i("label",{staticClass:"cube-checkbox-wrap",class:t._wrapClass},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.checkValue,expression:"checkValue"}],staticClass:"cube-checkbox-input",attrs:{type:"checkbox",disabled:t.computedOption.disabled},domProps:{checked:Array.isArray(t.checkValue)?t._i(t.checkValue,null)>-1:t.checkValue},on:{change:function(e){var i=t.checkValue,n=e.target,o=!!n.checked;if(Array.isArray(i)){var s=t._i(i,null);n.checked?s<0&&(t.checkValue=i.concat([null])):s>-1&&(t.checkValue=i.slice(0,s).concat(i.slice(s+1)))}else t.checkValue=o}}}),t._v(" "),i("span",{staticClass:"cube-checkbox-ui",class:t._borderIconClass},[i("i",{class:t._rightIconClass})]),t._v(" "),i("span",{staticClass:"cube-checkbox-label"},[t._t("default",[t._v(t._s(t.computedOption.label))])],2)])])},staticRenderFns:[]}},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(37)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-checkbox-group",props:{value:{type:Array},horizontal:{type:Boolean,default:!1},shape:{type:String,default:"circle"},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}}},data:function(){return{_value:[],_checkboxGroup:!0}},computed:{groupClass:function(){if(!this.horizontal)return"border-top-1px border-bottom-1px"}},watch:{value:{immediate:!0,handler:function(t,e){this._value=this.value.concat()}}},mounted:function(){this.$on("checked",function(t){this._value.push(t),this.$emit("input",this._value)}),this.$on("cancel-checked",function(t){var e=this._value.indexOf(t);this._value.splice(e,1),this.$emit("input",this._value)})},components:{CubeCheckbox:n.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"group",staticClass:"cube-checkbox-group",class:t.groupClass,attrs:{"data-horz":t.horizontal}},[t._t("default",t._l(t.options,function(e,n){return i("cube-checkbox",{key:n,attrs:{option:e,shape:t.shape,position:t.position,"hollow-style":t.hollowStyle}})}))],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(60),i(38)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default)},s.default.Radio=r.default,e.default=s.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(38)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-radio-group",props:{value:String,options:{type:Array,default:function(){return[]}},position:{type:String,default:"left"},horizontal:{type:Boolean,default:!1},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},watch:{value:function(t){this.radioValue=t},radioValue:function(t){this.$emit("input",t)}},computed:{_groupClass:function(){if(!this.horizontal)return"border-top-1px border-bottom-1px"}},components:{CubeRadio:n.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-radio",props:{value:String,option:{type:[String,Object],required:!0},position:{type:String,default:"left"},hollowStyle:{type:Boolean,default:!1}},data:function(){return{radioValue:this.value}},watch:{value:function(t){this.radioValue=t},radioValue:function(t){this.$emit("input",t)}},computed:{_containerClass:function(){var t=this.option;return{"cube-radio-hollow":this.hollowStyle,"cube-radio_selected":this.radioValue===(t.value||t),"cube-radio_disabled":t.disabled,"border-right-1px":this.$parent.horizontal}},_wrapClass:function(){if(!this.$parent.horizontal)return"border-bottom-1px"}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-radio",class:t._containerClass,attrs:{"data-pos":t.position}},[i("label",{staticClass:"cube-radio-wrap",class:t._wrapClass},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.radioValue,expression:"radioValue"}],staticClass:"cube-radio-input",attrs:{type:"radio",disabled:t.option.disabled},domProps:{value:t.option.value||t.option,checked:t._q(t.radioValue,t.option.value||t.option)},on:{change:function(e){t.radioValue=t.option.value||t.option}}}),t._v(" "),t._m(0),t._v(" "),t._t("default",[i("span",{staticClass:"cube-radio-label"},[t._v(t._s(t.option.label||t.option))])])],2)])},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",{staticClass:"cube-radio-ui cubeic-round-border"},[i("i")])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-radio-group",class:t._groupClass,attrs:{"data-horz":t.horizontal}},[t._t("default",t._l(t.options,function(e,n){return i("cube-radio",{key:n,attrs:{option:e,position:t.position,"hollow-style":t.hollowStyle},model:{value:t.radioValue,callback:function(e){t.radioValue=e},expression:"radioValue"}})}))],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(61)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-switch",props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{checkboxValue:this.value}},watch:{value:function(t){this.checkboxValue=t},checkboxValue:function(t){this.$emit("input",t)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.checkboxValue,expression:"checkboxValue"}],staticClass:"cube-switch-input",attrs:{type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.checkboxValue)?t._i(t.checkboxValue,null)>-1:t.checkboxValue},on:{change:function(e){var i=t.checkboxValue,n=e.target,o=!!n.checked;if(Array.isArray(i)){var s=t._i(i,null);n.checked?s<0&&(t.checkboxValue=i.concat([null])):s>-1&&(t.checkboxValue=i.slice(0,s).concat(i.slice(s+1)))}else t.checkboxValue=o}}}),t._v(" "),i("i",{staticClass:"cube-switch-ui"}),t._v(" "),i("span",{staticClass:"cube-switch-label"},[t._t("default")],2)])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(16),i(136)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),(0,r.default)(t,s.default)},e.default=s.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-popup",mixins:[n.default],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},zIndex:{type:Number,default:100}},computed:{typeClass:function(){return this.type?"cube-"+this.type:""}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-popup",class:t.typeClass,style:{"z-index":t.zIndex}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"cube-popup-mask",on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),i("div",{staticClass:"cube-popup-container",class:{"cube-popup-center":t.center}},[t.$slots.default?i("div",{staticClass:"cube-popup-content"},[t._t("default")],2):i("div",{staticClass:"cube-popup-content",domProps:{innerHTML:t._s(t.content)}})])])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t,e){(0,o.default)(t,e,["mask-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var o=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(138),i(144)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=void 0,s=void 0,u=[],l={before:function(t){u.push(t)},open:function(i,a,l){if("function"!=typeof a&&(l=a,a=null),u.forEach(function(t){t(i,a,l)}),void 0===l&&(l=n),l&&o)return s.updateRenderData(i,a),s.$forceUpdate(),o;var c=(0,r.default)(t,e,i,a),d=c.$parent,f=c.remove;c.remove=function(){d.__cube__destroyed||(f&&f.call(this),d.destroy(),d.__cube__destroyed=!0,l&&(o=null,s=null))};var h=c.show;c.show=function(){return h&&h.call(this),this};var p=c.hide;return c.hide=function(){return p&&p.call(this),this},l&&(o=c,s=d),c},create:function(t,e,n){var o=this,s=l.open((0,a.default)(t,i),e,n);if(s.__cube__parent!==o){s.__cube__parent=o;var r=function t(){s.__cube__parent===o&&s.remove(),o.$off("hook:beforeDestroy",t),s.__cube__parent=null};o.$on("hook:beforeDestroy",r)}return s}};return l}Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(i),a=o(n);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(17),i(31)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function s(t,e,i,n){var o=void 0,s=void 0,u=new t({render:function(t){var i=s&&s(t);return i&&!Array.isArray(i)&&(i=[i]),t(e,(0,a.default)({},o),i||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});u.updateRenderData=function(t,e){o=t,s=e},u.updateRenderData(i,n),u.$mount(),u.init();var l=u.$children[0];return l.$updateProps=function(t){(0,r.default)(o.props,t),u.$forceUpdate()},l}Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var r=o(i),a=o(n);t.exports=e.default})},function(t,e,i){i(140),t.exports=i(2).Object.assign},function(t,e,i){var n=i(6);n(n.S+n.F,"Object",{assign:i(141)})},function(t,e,i){"use strict";var n=i(20),o=i(47),s=i(29),r=i(30),a=i(65),u=Object.assign;t.exports=!u||i(13)(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[i]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var i=r(t),u=arguments.length,l=1,c=o.f,d=s.f;u>l;)for(var f,h=a(arguments[l++]),p=c?n(h).concat(c(h)):n(h),v=p.length,m=0;v>m;)d.call(h,f=p[m++])&&(i[f]=h[f]);return i}:u},function(t,e,i){var n=i(14),o=i(42),s=i(143);t.exports=function(t){return function(e,i,r){var a,u=n(e),l=o(u.length),c=s(r,l);if(t&&i!=i){for(;l>c;)if((a=u[c++])!=a)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===i)return t||c||0;return!t&&-1}}},function(t,e,i){var n=i(43),o=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):s(t,e)}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(31),i(62)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=s(e);var i=(0,r.default)({},t),n={};for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];i[a]&&(n[o]=i[a],delete i[a])}return{props:i,on:n}}function s(t){var e={};return t.forEach(function(t){e[t]=(0,n.camelize)("on-"+t)}),e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var r=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(146),i(150)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),(0,r.default)(t,s.default)},e.default=s.default,t.exports=e.default})},function(t,e,i){function n(t){i(147)}var o=i(0)(i(148),i(149),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(31),i(17),i(16),i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(i),u=r(n),l=r(o),c=r(s),d={text:"确定",active:!0,disabled:!1,href:"javascript:;"},f={text:"取消",active:!1,disabled:!1,href:"javascript:;"},h=function(t,e){return"string"==typeof t&&(t={text:t}),(0,u.default)({},e,t)};e.default={name:"cube-dialog",mixins:[c.default],props:{type:{type:String,default:"alert"},icon:{type:String,default:""},title:{type:String,default:""},content:{type:String,default:""},showClose:{type:Boolean,default:!1},confirmBtn:{type:[Object,String],default:function(){return(0,a.default)({},d)}},cancelBtn:{type:[Object,String],default:function(){return(0,a.default)({},f)}},zIndex:{type:Number}},data:function(){return{defHref:"javascript:;"}},computed:{_confirmBtn:function(){return h(this.confirmBtn,d)},_cancelBtn:function(){return h(this.cancelBtn,f)},isConfirm:function(){return"confirm"===this.type},containerClass:function(){return"cube-dialog-"+this.type}},methods:{confirm:function(t){this._confirmBtn.disabled||(this.hide(),this.$emit("confirm",t))},cancel:function(t){this._cancelBtn.disabled||(this.hide(),this.$emit("cancel",t))},close:function(t){this.hide(),this.$emit("close",t)}},components:{CubePopup:l.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-dialog-fade"}},[i("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"dialog","z-index":t.zIndex,mask:!0,center:!0}},[i("div",{staticClass:"cube-dialog-main"},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.showClose,expression:"showClose"}],staticClass:"cube-dialog-close",on:{click:t.close}},[i("i",{staticClass:"cubeic-close"})]),t._v(" "),i("div",{class:t.containerClass},[t.icon?i("p",{staticClass:"cube-dialog-icon"},[i("i",{class:t.icon})]):t._e(),t._v(" "),t.title||t.$slots.title?i("h2",{staticClass:"cube-dialog-title"},[t._t("title",[i("p",{staticClass:"cube-dialog-title-def"},[t._v(t._s(t.title))])])],2):t._e(),t._v(" "),i("div",{staticClass:"cube-dialog-content"},[t._t("content",[i("div",{staticClass:"cube-dialog-content-def"},[i("p",{domProps:{innerHTML:t._s(t.content)}})])])],2),t._v(" "),i("div",{staticClass:"cube-dialog-btns",class:{"border-right-1px":t.isConfirm}},[t._t("btns",[t.isConfirm?i("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._cancelBtn.active,"cube-dialog-btn_disabled":t._cancelBtn.disabled},attrs:{href:t._cancelBtn.href},on:{click:t.cancel}},[t._v(t._s(t._cancelBtn.text))]):t._e(),t._v(" "),i("a",{staticClass:"cube-dialog-btn border-top-1px",class:{"cube-dialog-btn_highlight":t._confirmBtn.active,"cube-dialog-btn_disabled":t._confirmBtn.disabled},attrs:{href:t._confirmBtn.href},on:{click:t.confirm}},[t._v(t._s(t._confirmBtn.text))])])],2)])])])],1)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t,e){(0,o.default)(t,e,["confirm","cancel","close","btn-click","link-click"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var o=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(48),i(155),i(159)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);a.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),(0,u.default)(t,a.default)},a.default.Loading=r.default,e.default=a.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-loading",data:function(){return{balde:12}},props:{size:{type:Number}},computed:{style:function(){if(this.size){var t=this.size+"px";return{width:t,height:t}}}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-loading"},[i("span",{staticClass:"cube-loading-spinners",style:t.style},t._l(t.balde,function(t){return i("i",{staticClass:"cube-loading-spinner"})}))])},staticRenderFns:[]}},function(t,e,i){function n(t){i(156)}var o=i(0)(i(157),i(158),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(48),i(16),i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);e.default={name:"cube-toast",mixins:[u.default],props:{type:{type:String,default:"loading"},mask:{type:Boolean,default:!1},txt:{type:String,default:""},time:{type:Number,default:3e3},zIndex:{type:Number,default:900}},computed:{iconClass:function(){var t={},e={correct:"cubeic-right",error:"cubeic-wrong",warn:"cubeic-warn"},i=e[this.type];return i&&(t[i]=!0),t},isLoading:function(){return"loading"===this.type}},methods:{show:function(){var t=this;this.isVisible=!0,this.clearTimer(),this.$nextTick(function(){0!==t.time&&(t.timer=setTimeout(function(){t.hide(),t.$emit("timeout")},t.time))})},hide:function(){this.isVisible=!1,this.clearTimer()},clearTimer:function(){clearTimeout(this.timer),this.timer=null}},components:{CubePopup:a.default,CubeLoading:r.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-toast-fade"}},[i("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"toast","z-index":t.zIndex,mask:t.mask}},[i("i",{directives:[{name:"show",rawName:"v-show",value:!t.isLoading,expression:"!isLoading"}],staticClass:"cube-toast-icon",class:t.iconClass}),t._v(" "),i("cube-loading",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}]}),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.txt,expression:"txt"}],staticClass:"cube-toast-tip"},[t._v(t._s(t.txt))])],1)],1)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t,e){(0,o.default)(t,e,["timeout"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var o=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(66)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-input",props:{value:[String,Number],type:{type:String,default:"text"},disabled:{type:Boolean,default:!1},placeholder:String,readonly:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autocomplete:{type:Boolean,default:!1},name:String,id:String,form:String,minlength:Number,maxlength:Number,resize:String,min:Number,max:Number,step:Number,tabindex:String,clearable:{type:Boolean,default:!1},eye:{type:[Boolean,Object],default:!1}},data:function(){return{inputValue:this.value,isFocus:!1,pwdVisible:!1}},computed:{_type:function(){var t=this.type;return"password"===t&&this.pwdVisible?"text":t},_showClear:function(){return this.clearable&&this.inputValue&&!this.readonly&&!this.disabled},_showPwdEye:function(){return"password"===this.type&&this.eye&&!this.disabled},eyeClass:function(){return this.pwdVisible?"cubeic-eye-invisible":"cubeic-eye-visible"}},watch:{value:function(t){this.inputValue=t},inputValue:function(t){this.$emit("input",t)},eye:function(){this._computedPwdVisible()}},created:function(){this._computedPwdVisible()},methods:{_computedPwdVisible:function(){"boolean"==typeof this.eye?this.pwdVisible=this.eye:this.pwdVisible=this.eye.open},handleFocus:function(t){this.$emit("focus",t),this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),this.isFocus=!1},handleClear:function(t){this.inputValue="",this.$refs.input.focus()},handlePwdEye:function(){this.pwdVisible=!this.pwdVisible}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-input",class:{"cube-input_active":t.isFocus}},[t.$slots.prepend?i("div",{staticClass:"cube-input-prepend"},[t._t("prepend")],2):t._e(),t._v(" "),"checkbox"===t._type?i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,change:function(e){var i=t.inputValue,n=e.target,o=!!n.checked;if(Array.isArray(i)){var s=t._i(i,null);n.checked?s<0&&(t.inputValue=i.concat([null])):s>-1&&(t.inputValue=i.slice(0,s).concat(i.slice(s+1)))}else t.inputValue=o}}},"input",t.$props,!1)):"radio"===t._type?i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t.handleFocus,blur:t.handleBlur,change:function(e){t.inputValue=null}}},"input",t.$props,!1)):i("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"cube-input-field",attrs:{disabled:t.disabled,readonly:t.readonly,autocomplete:t.autocomplete,autofocus:t.autofocus,type:t._type},domProps:{value:t.inputValue},on:{focus:t.handleFocus,blur:t.handleBlur,input:function(e){e.target.composing||(t.inputValue=e.target.value)}}},"input",t.$props,!1)),t._v(" "),t.$slots.append||t._showClear||t._showPwdEye?i("div",{staticClass:"cube-input-append"},[t._showClear?i("div",{staticClass:"cube-input-clear",on:{click:t.handleClear}},[i("i",{staticClass:"cubeic-wrong"})]):t._e(),t._v(" "),t._showPwdEye?i("div",{staticClass:"cube-input-eye",on:{click:t.handlePwdEye}},[i("i",{class:t.eyeClass})]):t._e(),t._v(" "),t._t("append")],2):t._e()])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(67),i(68)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){return t&&t.__esModule?t:{default:t}}(i);o.default.install=function(t){t.component(o.default.name,o.default)},o.default.addRule=n.addRule,o.default.addMessage=n.addMessage,o.default.addType=n.addType,o.default.setLanguage=n.setLanguage,e.default=o.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(22),i(68)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-validator",props:{model:{required:!0},rules:{type:Object,default:function(){return{}}},messages:{type:[Object,String],default:function(){return{}}},value:{},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!1}},data:function(){return{valid:this.value,validated:!1,msg:"",dirty:!1,result:{}}},computed:{invalid:function(){var t=this.valid;return void 0===t?void 0:!t},isDisabled:function(){var t=this.disabled,e=(0,o.default)(this.rules).length<=0;return t||e},dirtyOrValidated:function(){return this.dirty||this.validated},containerClass:function(){if(!this.isDisabled)return{"cube-validator_invalid":this.invalid,"cube-validator_valid":this.valid}}},watch:{model:function(t){this.isDisabled||(this.dirty||(this.dirty=!0),this.validate())},isDisabled:function(t){t||!this.trigger||this.validated||this.validate()}},created:function(){!this.isDisabled&&this.immediate&&this.validate()},methods:{validate:function(){if(!this.isDisabled){var t=this.model;this.validated=!0;var e=!0,i=this.rules,o=i.type,s={};if(!i.required){if(!n.rules.required(t,!0,o))return this._updateModel(e,s)}for(var r in i){var a=i[r],u=void 0;u="function"==typeof a?a(t,i[r],o):!n.rules[r]||n.rules[r](t,i[r],o);var l=this.messages[r]?"function"==typeof this.messages[r]?this.messages[r](u):this.messages[r]:(0,n.findMessage)(r,i[r],o,t);e&&!0!==u&&(e=!1,this.msg=l),s[r]={valid:!0===u,invalid:!0!==u,message:l}}this._updateModel(e,s)}},_updateModel:function(t,e){this.result=e,e.required&&e.required.invalid&&(this.msg=e.required.message),t&&(this.msg=""),this.valid=t,this.$emit("input",this.valid)},reset:function(){this.dirty=!1,this.result={},this.msg="",this.validated=!1,this.valid=void 0,this.$emit("input",this.valid)},msgClickHandler:function(){this.$emit("msg-click")}}},t.exports=e.default})},function(t,e,i){i(168),t.exports=i(2).Object.keys},function(t,e,i){var n=i(30),o=i(20);i(169)("keys",function(){return function(t){return o(n(t))}})},function(t,e,i){var n=i(6),o=i(2),s=i(13);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),n(n.S+n.F*s(function(){i(1)}),"Object",r)}},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(32),i(15),i(77)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addRule=t.rules=void 0;var o=function(t){return t&&t.__esModule?t:{default:t}}(e),s={required:function(t,e,i){return i=i||(Array.isArray(t)?"array":void 0===t?"undefined":(0,o.default)(t)),"array"===i&&Array.isArray(t)?t.length>0:""!==t&&void 0!==t&&null!==t},type:function(t,e){return!n.types[e]||n.types[e](t)},min:function(t,e,i){return i=i||(void 0===t?"undefined":(0,o.default)(t)),"number"===i||"date"===i?Number(t)>=e:t.length>=e},max:function(t,e,i){return i=i||(void 0===t?"undefined":(0,o.default)(t)),"number"===i||"date"===i?Number(t)<=e:t.length<=e},len:function(t,e,i){return i=i||(void 0===t?"undefined":(0,o.default)(t)),"number"===i||"date"===i?Number(t)===e:t.length===e},notWhitespace:function(t,e,i){return!/^\s+$/.test(t)},pattern:function(t,e,i){return e.test(t)},custom:function(t,e,i){return e(t)}},r=(0,i.createAddAPI)(s);t.rules=s,t.addRule=r})},function(t,e,i){t.exports={default:i(172),__esModule:!0}},function(t,e,i){i(49),i(73),t.exports=i(50).f("iterator")},function(t,e,i){var n=i(43),o=i(41);t.exports=function(t){return function(e,i){var s,r,a=String(o(e)),u=n(i),l=a.length;return u<0||u>=l?t?"":void 0:(s=a.charCodeAt(u),s<55296||s>56319||u+1===l||(r=a.charCodeAt(u+1))<56320||r>57343?t?a.charAt(u):s:t?a.slice(u,u+2):r-56320+(s-55296<<10)+65536)}}},function(t,e,i){"use strict";var n=i(71),o=i(19),s=i(34),r={};i(10)(r,i(3)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(r,{next:o(1,i)}),s(t,e+" Iterator")}},function(t,e,i){var n=i(7),o=i(8),s=i(20);t.exports=i(9)?Object.defineProperties:function(t,e){o(t);for(var i,r=s(e),a=r.length,u=0;a>u;)n.f(t,i=r[u++],e[i]);return t}},function(t,e,i){var n=i(12),o=i(30),s=i(44)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},function(t,e,i){"use strict";var n=i(178),o=i(179),s=i(23),r=i(14);t.exports=i(69)(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,i):"values"==e?o(0,t[i]):o(0,[i,t[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){t.exports={default:i(181),__esModule:!0}},function(t,e,i){i(182),i(75),i(188),i(189),t.exports=i(2).Symbol},function(t,e,i){"use strict";var n=i(1),o=i(12),s=i(9),r=i(6),a=i(70),u=i(183).KEY,l=i(13),c=i(45),d=i(34),f=i(28),h=i(3),p=i(50),v=i(51),m=i(184),y=i(185),x=i(8),_=i(11),g=i(14),b=i(40),w=i(19),S=i(71),T=i(186),P=i(187),M=i(7),k=i(20),C=P.f,D=M.f,I=T.f,O=n.Symbol,$=n.JSON,E=$&&$.stringify,V=h("_hidden"),j=h("toPrimitive"),R={}.propertyIsEnumerable,A=c("symbol-registry"),F=c("symbols"),H=c("op-symbols"),L=Object.prototype,B="function"==typeof O,N=n.QObject,Y=!N||!N.prototype||!N.prototype.findChild,X=s&&l(function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=C(L,e);n&&delete L[e],D(t,e,i),n&&t!==L&&D(L,e,n)}:D,U=function(t){var e=F[t]=S(O.prototype);return e._k=t,e},z=B&&"symbol"==typeof O.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof O},W=function(t,e,i){return t===L&&W(H,e,i),x(t),e=b(e,!0),x(i),o(F,e)?(i.enumerable?(o(t,V)&&t[V][e]&&(t[V][e]=!1),i=S(i,{enumerable:w(0,!1)})):(o(t,V)||D(t,V,w(1,{})),t[V][e]=!0),X(t,e,i)):D(t,e,i)},q=function(t,e){x(t);for(var i,n=m(e=g(e)),o=0,s=n.length;s>o;)W(t,i=n[o++],e[i]);return t},G=function(t,e){return void 0===e?S(t):q(S(t),e)},K=function(t){var e=R.call(this,t=b(t,!0));return!(this===L&&o(F,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,V)&&this[V][t])||e)},Z=function(t,e){if(t=g(t),e=b(e,!0),t!==L||!o(F,e)||o(H,e)){var i=C(t,e);return!i||!o(F,e)||o(t,V)&&t[V][e]||(i.enumerable=!0),i}},J=function(t){for(var e,i=I(g(t)),n=[],s=0;i.length>s;)o(F,e=i[s++])||e==V||e==u||n.push(e);return n},Q=function(t){for(var e,i=t===L,n=I(i?H:g(t)),s=[],r=0;n.length>r;)!o(F,e=n[r++])||i&&!o(L,e)||s.push(F[e]);return s};B||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(i){this===L&&e.call(H,i),o(this,V)&&o(this[V],t)&&(this[V][t]=!1),X(this,t,w(1,i))};return s&&Y&&X(L,t,{configurable:!0,set:e}),U(t)},a(O.prototype,"toString",function(){return this._k}),P.f=Z,M.f=W,i(74).f=T.f=J,i(29).f=K,i(47).f=Q,s&&!i(33)&&a(L,"propertyIsEnumerable",K,!0),p.f=function(t){return U(h(t))}),r(r.G+r.W+r.F*!B,{Symbol:O});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var it=k(h.store),nt=0;it.length>nt;)v(it[nt++]);r(r.S+r.F*!B,"Symbol",{for:function(t){return o(A,t+="")?A[t]:A[t]=O(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in A)if(A[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),r(r.S+r.F*!B,"Object",{create:G,defineProperty:W,defineProperties:q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:J,getOwnPropertySymbols:Q}),$&&r(r.S+r.F*(!B||l(function(){var t=O();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(i=e=n[1],(_(e)||void 0!==t)&&!z(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!z(e))return e}),n[1]=e,E.apply($,n)}}),O.prototype[j]||i(10)(O.prototype,j,O.prototype.valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(t,e,i){var n=i(28)("meta"),o=i(11),s=i(12),r=i(7).f,a=0,u=Object.isExtensible||function(){return!0},l=!i(13)(function(){return u(Object.preventExtensions({}))}),c=function(t){r(t,n,{value:{i:"O"+ ++a,w:{}}})},d=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[n].i},f=function(t,e){if(!s(t,n)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[n].w},h=function(t){return l&&p.NEED&&u(t)&&!s(t,n)&&c(t),t},p=t.exports={KEY:n,NEED:!1,fastKey:d,getWeak:f,onFreeze:h}},function(t,e,i){var n=i(20),o=i(47),s=i(29);t.exports=function(t){var e=n(t),i=o.f;if(i)for(var r,a=i(t),u=s.f,l=0;a.length>l;)u.call(t,r=a[l++])&&e.push(r);return e}},function(t,e,i){var n=i(21);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(14),o=i(74).f,s={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==s.call(t)?a(t):o(n(t))}},function(t,e,i){var n=i(29),o=i(19),s=i(14),r=i(40),a=i(12),u=i(63),l=Object.getOwnPropertyDescriptor;e.f=i(9)?l:function(t,e){if(t=s(t),e=r(e,!0),u)try{return l(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e,i){i(51)("asyncIterator")},function(t,e,i){i(51)("observable")},function(t,e,i){t.exports={default:i(191),__esModule:!0}},function(t,e,i){i(192);var n=i(2).Object;t.exports=function(t,e,i){return n.defineProperty(t,e,i)}},function(t,e,i){var n=i(6);n(n.S+n.F*!i(9),"Object",{defineProperty:i(7).f})},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(32),i(15),i(194),i(195)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function r(t,e,i,n){var o=h[f][t];return o?"string"==typeof o?o:(o[i]||(i=Array.isArray(n)?"array":void 0===n?"undefined":(0,l.default)(n)),"function"==typeof o[i]?o[i](e):o[i]):""}function a(){"zh"===f?p.apply(void 0,arguments):v.apply(void 0,arguments)}function u(t){f=t}Object.defineProperty(t,"__esModule",{value:!0}),t.setLanguage=t.addMessage=t.findMessage=void 0;var l=s(e),c=s(n),d=s(o),f="zh",h={zh:c.default,en:d.default},p=(0,i.createAddAPI)(h.zh),v=(0,i.createAddAPI)(h.en);t.findMessage=r,t.addMessage=a,t.setLanguage=u})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(15)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={required:"此为必填项",type:{string:"请输入字符",number:"请输入数字",array:"数据类型应为数组",date:"请选择有效日期",email:"请输入有效邮箱",tel:"请输入有效的手机号码",url:"请输入有效网址"},min:{string:function(t){return"至少输入 "+t+" 位字符"},number:function(t){return"不得小于 "+t},array:function(t){return"请选择至少 "+t+" 项"},date:function(t){return"请选择 "+(0,i.toLocaleDateString)(t,"zh")+" 之后的时间"},email:function(t){return"至少输入 "+t+" 位字符"},tel:function(t){return"至少输入 "+t+" 位字符"},url:function(t){return"至少输入 "+t+" 位字符"}},max:{string:function(t){return"请勿超过 "+t+" 位字符"},number:function(t){return"请勿大于 "+t},array:function(t){return"最多选择 "+t+" 项"},date:function(t){return"请选择 "+(0,i.toLocaleDateString)(t,"zh")+" 之前的时间"},email:function(t){return"请勿超过 "+t+" 位字符"},tel:function(t){return"请勿超过 "+t+" 位字符"},url:function(t){return"请勿超过 "+t+" 位字符"}},len:{string:function(t){return"请输入 "+t+" 位字符"},number:function(t){return"需等于 "+t},array:function(t){return"请选择 "+t+" 项"},date:function(t){return"请选择 "+(0,i.toLocaleDateString)(t,"zh")},email:function(t){return"请输入 "+t+" 位字符"},tel:function(t){return"请输入 "+t+" 位字符"},url:function(t){return"请输入 "+t+" 位字符"}},pattern:"格式错误",custom:"未通过校验",notWhitespace:"空白内容无效"},t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(15)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={required:"Required.",type:{string:"Please input characters.",number:"Please input numbers.",array:"The data type should be array.",date:"Please select a valid date.",email:"Please input a valid E-mail.",tel:"Please input a valid telphone number.",url:"Please input a valid web site."},min:{string:function(t){return"Please input at least "+t+" characters."},number:function(t){return"The number could not smaller than "+t+"."},array:function(t){return"Please select at least "+t+" items."},date:function(t){return"Please select a date after "+(0,i.toLocaleDateString)(t,"en")},email:function(t){return"Please input at least "+t+" characters."},tel:function(t){return"Please input at least "+t+" characters."},url:function(t){return"Please input at least "+t+" characters."}},max:{string:function(t){return"Please input no more than "+t+" characters."},number:function(t){return"The number could not bigger than "+t},array:function(t){return"Please select no more than "+t+" items"},date:function(t){return"Please select a date before "+(0,i.toLocaleDateString)(t,"en")},email:function(t){return"Please input no more than "+t+" characters."},tel:function(t){return"Please input no more than "+t+" characters."},url:function(t){return"Please input no more than "+t+" characters."}},len:{string:function(t){return"Please input "+t+" characters."},number:function(t){return"The number should equal "+t},array:function(t){return"Please select "+t+" items"},date:function(t){return"Please select "+(0,i.toLocaleDateString)(t,"en")},email:function(t){return"Please input "+t+" characters."},tel:function(t){return"Please input "+t+" characters."},url:function(t){return"Please input "+t+" characters."}},pattern:'The input don"t match pattern.',custom:"Invalid.",notWhitespace:"Whitespace is invalid."},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-validator",class:t.containerClass},[i("div",{staticClass:"cube-validator-content"},[t._t("default")],2),t._v(" "),i("div",{staticClass:"cube-validator-msg",on:{click:t.msgClickHandler}},[t._t("message",[i("span",{staticClass:"cube-validator-msg-def"},[t._v(t._s(t.dirtyOrValidated?t.msg:""))])],{message:t.msg,dirty:t.dirty,validated:t.validated,result:t.result})],2)])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(24),i(84),i(53)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);a.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),(0,u.default)(t,r.default)},a.default.Picker=r.default,e.default=a.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(35),i(36),i(16),i(4),i(83),i(52)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=u(i),c=u(n),d=u(o),f=u(s),h=u(r),p=u(a);e.default={name:"cube-picker",mixins:[f.default,h.default,p.default],data:function(){return{pickerData:this.data.slice(),pickerSelectedIndex:this.selectedIndex}},created:function(){if(this.pickerSelectedVal=[],!this.pickerSelectedIndex.length){this.pickerSelectedIndex=[];for(var t=0;t<this.pickerData.length;t++)this.pickerSelectedIndex[t]=0}},methods:{confirm:function(){if(this._canConfirm()){this.hide();var t=!1,e=[],i=this.pickerData.length,n=this.pickerSelectedVal.length;n!==i&&(n>i&&(this.pickerSelectedVal.splice(i),this.pickerSelectedIndex.splice(i)),t=!0);for(var o=0;o<i;o++){var s=this.wheels[o].getSelectedIndex();this.pickerSelectedIndex[o]=s;var r=null,a="";this.pickerData[o].length&&(r=this.pickerData[o][s][this.valueKey],a=this.pickerData[o][s][this.textKey]),this.pickerSelectedVal[o]!==r&&(t=!0),this.pickerSelectedVal[o]=r,e[o]=a}this.$emit("select",this.pickerSelectedVal,this.pickerSelectedIndex,e),t&&this.$emit("value-change",this.pickerSelectedVal,this.pickerSelectedIndex,e)}},cancel:function(){this.hide(),this.$emit("cancel")},show:function(){var t=this;if(!this.isVisible)if(this.isVisible=!0,!this.wheels||this.dirty)this.$nextTick(function(){t.wheels=t.wheels||[];for(var e=t.$refs.wheelWrapper,i=0;i<t.pickerData.length;i++)t._createWheel(e,i).enable(),t.wheels[i].wheelTo(t.pickerSelectedIndex[i]);t.dirty&&t._destroyExtraWheels(),t.dirty=!1});else for(var e=0;e<this.pickerData.length;e++)this.wheels[e].enable(),this.wheels[e].wheelTo(this.pickerSelectedIndex[e])},hide:function(){if(this.isVisible){this.isVisible=!1;for(var t=0;t<this.pickerData.length;t++)this.wheels[t].disable()}},setData:function(t,e){var i=this;this.pickerSelectedIndex=e?[].concat((0,l.default)(e)):[],this.pickerData=t.slice(),this.isVisible?this.$nextTick(function(){var t=i.$refs.wheelWrapper;i.pickerData.forEach(function(e,n){i._createWheel(t,n),i.wheels[n].wheelTo(i.pickerSelectedIndex[n])}),i._destroyExtraWheels()}):this.dirty=!0},refill:function(t){var e=this,i=[];return t.length?(t.forEach(function(t,n){i[n]=e.refillColumn(n,t)}),i):i},refillColumn:function(t,e){var i=this,n=this.$refs.wheelWrapper,o=n.children[t].querySelector(".wheel-scroll"),s=!!this.wheels&&this.wheels[t],r=0;if(o&&s){var a=this.pickerData[t];this.$set(this.pickerData,t,e);var u=s.getSelectedIndex();if(a.length)for(var l=a[u][this.valueKey],c=0;c<e.length;c++)if(e[c][this.valueKey]===l){r=c;break}this.pickerSelectedIndex[t]=r,this.$nextTick(function(){s=i._createWheel(n,t),s.wheelTo(r)})}return r},scrollTo:function(t,e){var i=this.wheels[t];this.pickerSelectedIndex[t]=e,i.wheelTo(e)},refresh:function(){var t=this;this.$nextTick(function(){t.wheels.forEach(function(t){t.refresh()})})},_createWheel:function(t,e){var i=this;if(this.wheels[e])this.wheels[e].refresh();else{var n=this.wheels[e]=new c.default(t.children[e],{wheel:{selectedIndex:this.pickerSelectedIndex[e]||0},swipeTime:this.swipeTime,observeDOM:!1});n.on("scrollEnd",function(){i.$emit("change",e,n.getSelectedIndex())})}return this.wheels[e]},_destroyExtraWheels:function(){var t=this.pickerData.length;if(this.wheels.length>t){this.wheels.splice(t).forEach(function(t){t.destroy()})}},_canConfirm:function(){return this.wheels.every(function(t){return!t.isInTransition})}},components:{CubePopup:d.default}},t.exports=e.default})},function(t,e,i){t.exports={default:i(201),__esModule:!0}},function(t,e,i){i(49),i(202),t.exports=i(2).Array.from},function(t,e,i){"use strict";var n=i(18),o=i(6),s=i(30),r=i(78),a=i(79),u=i(42),l=i(203),c=i(80);o(o.S+o.F*!i(82)(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,o,d,f=s(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,y=0,x=c(f);if(m&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==x||h==Array&&a(x))for(e=u(f.length),i=new h(e);e>y;y++)l(i,y,m?v(f[y],y):f[y]);else for(d=x.call(f),i=new h;!(o=d.next()).done;y++)l(i,y,m?r(d,v,[o.value,y],!0):o.value);return i.length=y,i}})},function(t,e,i){"use strict";var n=i(7),o=i(19);t.exports=function(t,e,i){e in t?n.f(t,e,o(0,i)):t[e]=i}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-picker-fade"}},[i("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,"z-index":t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.cancel}},[i("transition",{attrs:{name:"cube-picker-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-picker-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[i("div",{staticClass:"cube-picker-choose border-bottom-1px"},[i("span",{attrs:{"data-action":"cancel"},on:{click:t.cancel}},[t._v(t._s(t.cancelTxt))]),t._v(" "),i("span",{attrs:{"data-action":"confirm"},on:{click:t.confirm}},[t._v(t._s(t.confirmTxt))]),t._v(" "),i("h1",[t._v(t._s(t.title))])]),t._v(" "),i("div",{staticClass:"cube-picker-content"},[i("i",{staticClass:"border-bottom-1px"}),t._v(" "),i("i",{staticClass:"border-top-1px"}),t._v(" "),i("div",{ref:"wheelWrapper",staticClass:"cube-picker-wheel-wrapper"},t._l(t.pickerData,function(e,n){return i("div",{key:n},[i("ul",{staticClass:"wheel-scroll"},t._l(e,function(e,n){return i("li",{key:n,staticClass:"wheel-item"},[t._v(t._s(e[t.textKey]))])}))])}))]),t._v(" "),i("div",{staticClass:"cube-picker-footer"})])])],1)],1)},staticRenderFns:[]}},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-select",data:function(){return{active:!1}},props:{options:{type:Array,default:function(){return[]}},value:null,placeholder:{type:String,default:"请选择"},autoPop:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},title:{type:String,default:"请选择"},cancelTxt:{type:String,default:"取消"},confirmTxt:{type:String,default:"确定"}},computed:{adaptOptions:function(){return[this.options.map(function(t){return"object"!==(void 0===t?"undefined":(0,n.default)(t))&&(t={value:t,text:t}),t})]},findIndex:function(){var t=this,e=this.adaptOptions[0].findIndex(function(e){return e.value===t.value});return this.picker&&this.picker.setData(this.adaptOptions,-1!==e?[e]:[0]),e},selectedText:function(){return-1!==this.findIndex?this.adaptOptions[0][this.findIndex].text:""}},created:function(){this.picker=this.$createPicker({title:this.title,data:this.adaptOptions,selectedIndex:-1!==this.findIndex?[this.findIndex]:[0],cancelTxt:this.cancelTxt,confirmTxt:this.confirmTxt,onSelect:this.hided,onValueChange:this.changeHandle,onCancel:this.hided}),this.autoPop&&this.showPicker()},methods:{showPicker:function(){this.disabled||(this.picker.show(),this.active=!0,this.$emit("picker-show"))},hided:function(){this.active=!1,this.$emit("picker-hide")},changeHandle:function(t,e,i){t[0]!==this.value&&(this.$emit("input",t[0]),this.$emit("change",t[0],e[0],i[0]))}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-select",class:{"cube-select_active":t.active,"cube-select_disabled":t.disabled},on:{click:t.showPicker}},[t.selectedText?i("span",{staticClass:"cube-select-text"},[t._v(t._s(t.selectedText))]):i("span",{staticClass:"cube-select-placeholder"},[t._v(t._s(t.placeholder))]),t._v(" "),i("i",{staticClass:"cube-select-icon"})])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(85)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-textarea",data:function(){return{textareaValue:this.value,expanded:!1,isFocus:!1}},props:{value:{type:String,default:""},cols:Number,rows:Number,readonly:Boolean,wrap:String,required:Boolean,placeholder:{type:String,default:"please type here..."},dirname:String,form:String,name:String,autofocus:Boolean,disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:60}},computed:{remain:function(){return this.maxlength-this.value.length}},watch:{value:function(t){this.textareaValue=t},textareaValue:function(t){this.$emit("input",t),!this.isFocus&&this.expanded&&(this.expanded=!1)}},methods:{handleFocus:function(t){this.$emit("focus",t),this.expanded=!0,this.isFocus=!0},handleBlur:function(t){this.$emit("blur",t),0===this.textareaValue.length&&(this.expanded=!1),this.isFocus=!1}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-textarea-wrapper",class:{"cube-textarea_expanded":t.expanded,"cube-textarea_active":t.isFocus}},[i("textarea",t._b({directives:[{name:"model",rawName:"v-model",value:t.textareaValue,expression:"textareaValue"}],staticClass:"cube-textarea",attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled},domProps:{value:t.textareaValue},on:{focus:t.handleFocus,blur:t.handleBlur,input:function(e){e.target.composing||(t.textareaValue=e.target.value)}}},"textarea",t.$props,!1)),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"cube-textarea-indicator"},[t._v(t._s(t.remain))])])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(86),i(87)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default)},s.default.Item=r.default,e.default=s.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(87)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-rate",props:{value:{type:Number,default:0},max:{type:Number,default:5},disabled:{type:Boolean,default:!1},justify:{type:Boolean,default:!1}},data:function(){return{tempValue:this.value}},created:function(){this.mousePressed=!1},computed:{rateClass:function(){return this.justify&&"cube-rate-justify"}},watch:{value:function(t){t!==this.tempValue&&(this.tempValue=t)}},methods:{handleStart:function(t){if(!this.disabled){t.type.indexOf("mouse")>-1&&(this.mousePressed=!0,document.addEventListener("mouseup",this.handleEnd),document.addEventListener("mousemove",this.handleMove));var e=this.$refs.rateContainer.getBoundingClientRect();this.left=e.left,this.containerWidth=e.width}},handleMove:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||this.computeTempValue(-1===t.type.indexOf("mouse")?t.touches[0]:t)},handleEnd:function(t){this.disabled||-1!==t.type.indexOf("mouse")&&!this.mousePressed||(t.type.indexOf("mouse")>-1&&(this.mousePressed=!1,document.removeEventListener("mouseup",this.handleEnd),document.removeEventListener("mousemove",this.handleMove)),this.computeTempValue(t.type.indexOf("mouse")>-1?t:t.changedTouches[0]),this.$emit("input",this.tempValue))},computeTempValue:function(t){var e=Math.ceil((t.clientX-this.left)/this.containerWidth*this.max);e>0&&e<=this.max?this.tempValue=e:this.tempValue=e<=0?0:this.max}},components:{CubeRateItem:n.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-rate-item",props:{index:{type:Number,default:0}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",{staticClass:"cube-rate-item",class:{"cube-rate-item_active":t.index<=t.$parent.tempValue}},[t._t("default",[i("div",{staticClass:"cube-rate-item-def"})])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{ref:"rateContainer",staticClass:"cube-rate",class:t.rateClass,on:{touchstart:function(e){e.stopPropagation(),t.handleStart(e)},touchmove:function(e){e.stopPropagation(),e.preventDefault(),t.handleMove(e)},touchend:function(e){e.stopPropagation(),t.handleEnd(e)},mousedown:function(e){e.stopPropagation(),t.handleStart(e)},mousemove:function(e){e.stopPropagation(),t.handleMove(e)},mouseup:function(e){e.stopPropagation(),t.handleEnd(e)}}},[t._t("default",t._l(t.max,function(t){return i("cube-rate-item",{key:t,attrs:{index:t}})}))],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(220)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e,i){function n(t){i(221)}var o=i(0)(i(222),i(223),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(22),i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);e.default={name:"cube-tip",mixins:[r.default],props:{direction:{type:String,default:"top"},offsetLeft:{type:[String,Number],default:0},offsetRight:{type:[String,Number],default:0},offsetTop:{type:[String,Number],default:0},offsetBottom:{type:[String,Number],default:0}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.$refs.angle.style,i={left:"right",right:"left",top:"bottom",bottom:"top"};[{name:"offsetLeft",target:"left",percentFix:{marginLeft:"-6px"}},{name:"offsetRight",target:"right",percentFix:{marginRight:"-6px"}},{name:"offsetTop",target:"top",percentFix:{marginTop:"-6px"}},{name:"offsetBottom",target:"bottom",percentFix:{marginBottom:"-6px"}}].forEach(function(n){var o=t[n.name];if(0!==o){var r="number"==typeof o;e[n.target]=o+(r?"px":""),n.percentFix&&!r&&(0,s.default)(n.percentFix).forEach(function(t){e[t]=n.percentFix[t]}),e[i[n.target]]="auto"}})})},methods:{handleClick:function(){this.hide(),this.$emit("click")},close:function(){this.hide(),this.$emit("close")}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-tip-zoom"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-tip",attrs:{"data-dir":t.direction},on:{click:t.handleClick}},[i("i",{ref:"angle",staticClass:"cube-tip-angle"}),t._v(" "),i("button",{staticClass:"cube-tip-close cubeic-close",on:{click:function(e){e.stopPropagation(),t.close(e)}}}),t._v(" "),i("div",{staticClass:"cube-tip-content"},[t._t("default")],2)])])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(225),i(229)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),(0,r.default)(t,s.default)},e.default=s.default,t.exports=e.default})},function(t,e,i){function n(t){i(226)}var o=i(0)(i(227),i(228),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(16),i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);e.default={name:"cube-action-sheet",mixins:[r.default],props:{data:{type:Array,default:function(){return[]}},active:{type:Number,default:-1},title:{type:String,default:" "},pickerStyle:{type:Boolean,default:!1},zIndex:{type:Number}},methods:{noop:function(){},cancel:function(){this.hide(),this.$emit("cancel")},itemClick:function(t,e){this.hide(),this.$emit("select",t,e)}},components:{CubePopup:s.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-action-sheet-fade"}},[i("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],class:{"cube-action-sheet_picker":t.pickerStyle},attrs:{type:"action-sheet",center:!1,mask:!0,"z-index":t.zIndex},on:{touchmove:function(e){e.preventDefault(),t.noop(e)},"mask-click":t.cancel}},[i("transition",{attrs:{name:"cube-action-sheet-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-action-sheet-panel cube-safe-area-pb",on:{click:function(e){e.stopPropagation(),t.noop(e)}}},[i("h1",{directives:[{name:"show",rawName:"v-show",value:t.pickerStyle||t.title,expression:"pickerStyle || title"}],staticClass:"cube-action-sheet-title border-bottom-1px"},[t._v(t._s(t.title))]),t._v(" "),i("div",{staticClass:"cube-action-sheet-content"},[i("ul",{staticClass:"cube-action-sheet-list"},t._l(t.data,function(e,n){return i("li",{staticClass:"cube-action-sheet-item border-bottom-1px",class:[e.class||"",n===t.active?"cube-action-sheet-item_active":""],attrs:{"data-align":e.align},domProps:{innerHTML:t._s(e.content)},on:{click:function(i){t.itemClick(e,n)}}})}))]),t._v(" "),i("div",{staticClass:"cube-action-sheet-space"}),t._v(" "),i("div",{staticClass:"cube-action-sheet-cancel",on:{click:t.cancel}},[i("span",[t._v("取消")])])])])],1)],1)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t,e){(0,o.default)(t,e,["select","cancel"],!0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var o=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(231),i(88)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default)},s.default.Item=r.default,e.default=s.default,t.exports=e.default})},function(t,e,i){function n(t){i(232)}var o=i(0)(i(233),i(237),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(88),i(36)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);e.default={name:"cube-slide",props:{data:{type:Array,default:function(){return[]}},initialIndex:{type:Number,default:0},loop:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!0},interval:{type:Number,default:4e3},threshold:{type:Number,default:.3},speed:{type:Number,default:400},allowVertical:{type:Boolean,default:!1},stopPropagation:{type:Boolean,default:!1},direction:{type:String,default:"horizontal"},showDots:{type:Boolean,default:!0}},data:function(){return{dots:0,currentPageIndex:this.initialIndex||0}},created:function(){var t=this;["data","loop","autoPlay","threshold","speed","allowVertical"].forEach(function(e){t.$watch(e,function(){t.refresh()})})},watch:{initialIndex:function(t){t!==this.currentPageIndex&&this.slide&&this.slide.goToPage(t)}},methods:{clickItem:function(t,e){this.$emit("click",t,e)},refresh:function(){null!==this.slide&&(this.slide&&this.slide.destroy(),clearTimeout(this._timer),this.slide&&(this.currentPageIndex=0),this._updateSlideDom(),this.showDots&&this._initDots(),this._initSlide(),this.autoPlay&&this._play())},_refresh:function(){this._updateSlideDom(!0),this.slide.refresh()},_updateSlideDom:function(t){"horizontal"===this.direction?this._setSlideWidth(t):this._setSlideHeight(t)},_setSlideWidth:function(t){this.children=this.$refs.slideGroup.children;for(var e=0,i=this.$refs.slide.clientWidth,n=0;n<this.children.length;n++){this.children[n].style.width=i+"px",e+=i}this.loop&&!t&&(e+=2*i),this.$refs.slideGroup.style.width=e+"px"},_setSlideHeight:function(t){this.children=this.$refs.slideGroup.children;for(var e=0,i=this.$refs.slide.clientHeight,n=0;n<this.children.length;n++){this.children[n].style.height=i+"px",e+=i}this.loop&&!t&&(e+=2*i),this.$refs.slideGroup.style.height=e+"px"},_initSlide:function(){var t=this,e="horizontal"===this.direction&&this.allowVertical?"vertical":"";this.slide=new r.default(this.$refs.slide,{scrollX:"horizontal"===this.direction,scrollY:"vertical"===this.direction,momentum:!1,bounce:!1,eventPassthrough:e,snap:{loop:this.loop,threshold:this.threshold,speed:this.speed},stopPropagation:this.stopPropagation,click:!0,observeDOM:!1}),this.slide.goToPage(this.currentPageIndex,0,0),this.slide.on("scrollEnd",this._onScrollEnd);var i=this.$refs.slide;i.removeEventListener("touchend",this._touchEndEvent,!1),this._touchEndEvent=function(){t.autoPlay&&t._play()},i.addEventListener("touchend",this._touchEndEvent,!1),this.slide.on("beforeScrollStart",function(){t.autoPlay&&clearTimeout(t._timer)})},_onScrollEnd:function(){var t=this.slide.getCurrentPage().pageX;this.currentPageIndex!==t&&(this.currentPageIndex=t,this.$emit("change",this.currentPageIndex)),this.autoPlay&&this._play()},_initDots:function(){this.dots=new Array(this.children.length)},_play:function(){var t=this;clearTimeout(this._timer),this._timer=setTimeout(function(){t.slide.next()},this.interval)},_deactivated:function(){clearTimeout(this._timer),clearTimeout(this._resizeTimer),window.removeEventListener("resize",this._resizeHandler);var t=this.$refs.slide;t&&t.removeEventListener("touchend",this._touchEndEvent,!1)},_resizeHandler:function(){var t=this;this.slide&&(clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(function(){t.slide.isInTransition?t._onScrollEnd():t.autoPlay&&t._play(),t._refresh()},60))}},mounted:function(){var t=this;this.$nextTick(function(){t.refresh()}),window.addEventListener("resize",this._resizeHandler)},activated:function(){this.autoPlay&&this._play(),window.addEventListener("resize",this._resizeHandler)},deactivated:function(){this._deactivated()},destroyed:function(){this._deactivated(),this.slide&&(this.slide.destroy(),this.slide=null)},components:{CubeSlideItem:s.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-slide-item",props:{item:{type:Object,default:function(){return{}}}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-slide-item"},[t._t("default",[i("a",{attrs:{href:t.item.url}},[i("img",{attrs:{src:t.item.image}})])])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"slide",staticClass:"cube-slide"},[i("div",{ref:"slideGroup",staticClass:"cube-slide-group"},[t._t("default",t._l(t.data,function(e,n){return i("cube-slide-item",{key:n,attrs:{item:e},nativeOn:{click:function(i){t.clickItem(e,n)}}})}))],2),t._v(" "),t.showDots?i("div",{staticClass:"cube-slide-dots"},[t._t("dots",t._l(t.dots,function(e,n){return i("span",{key:n,class:{active:t.currentPageIndex===n}})}),{current:t.currentPageIndex,dots:t.dots})],2):t._e()])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(239),i(93),i(94)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);r.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),t.component(u.default.name,u.default)},r.default.Group=a.default,r.default.Item=u.default,e.default=r.default,t.exports=e.default})},function(t,e,i){function n(t){i(240)}var o=i(0)(i(241),i(264),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(26),i(54),i(55),i(93)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(o),u=r(s),l=n.inBrowser&&window.innerHeight<=480?17:18,c=(0,i.prefixStyle)("transform");e.default={name:"cube-index-list",props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},speed:{type:Number,default:0},navbar:{type:Boolean,default:!0}},data:function(){return{currentIndex:0,scrollY:-1,diff:-1,options:{probeType:3},titleHeight:null}},created:function(){this.listenScroll=!0,this.groupList=[],this.listHeight=[],this.touch={},this.subTitleHeight=0},mounted:function(){var t=this;this.$nextTick(function(){t.titleHeight=t.title&&t.$refs.title?(0,i.getRect)(t.$refs.title).height:0,t._calculateHeight()})},computed:{fixedTitle:function(){return null===this.titleHeight||this.scrollY>-this.titleHeight?"":this.data[this.currentIndex]?this.data[this.currentIndex].name:""},shortcutList:function(){return this.data.map(function(t){return t?t.shortcut||t.name.substr(0,1):""})}},methods:{refresh:function(){this.$refs.indexList.refresh()},selectItem:function(t){this.$emit("select",t)},scroll:function(t){this.scrollY=t.y},titleClick:function(){this.$emit("title-click",this.title)},onShortcutTouchStart:function(t){var e=(0,i.getData)(t.target,"index"),n=t.touches[0];this.touch.y1=n.pageY,this.touch.anchorIndex=e,this._scrollTo(e)},onShortcutTouchMove:function(t){var e=t.touches[0];this.touch.y2=e.pageY;var i=(this.touch.y2-this.touch.y1)/l|0,n=parseInt(this.touch.anchorIndex)+i;this._scrollTo(n)},_calculateHeight:function(){this.groupList=this.$el.getElementsByClassName("cube-index-list-group");var t=this.$el.getElementsByClassName("cube-index-list-anchor")[0];if(this.subTitleHeight=t?(0,i.getRect)(t).height:0,this.listHeight=[],this.groupList){var e=this.titleHeight;this.listHeight.push(e);for(var n=0;n<this.groupList.length;n++){e+=this.groupList[n].clientHeight,this.listHeight.push(e)}}},_scrollTo:function(t){t<0?t=0:t>this.listHeight.length-2&&(t=this.listHeight.length-2),this.$refs.indexList.scrollToElement(this.groupList[t],this.speed),this.scrollY=this.$refs.indexList.scroll.y}},watch:{data:function(){var t=this;this.$nextTick(function(){t._calculateHeight()})},title:function(t){var e=this;this.$nextTick(function(){e.titleHeight=t&&e.$refs.title?(0,i.getRect)(e.$refs.title).height:0,e._calculateHeight()})},diff:function(t){var e=t>0&&t<this.subTitleHeight?t-this.subTitleHeight:0;this.fixedTop!==e&&(this.fixedTop=e,this.$refs.fixed.style[c]="translate3d(0,"+e+"px,0)")},scrollY:function(t){var e=this.listHeight;if(t>-this.titleHeight)return void(this.currentIndex=0);for(var i=0;i<e.length-1;i++){var n=e[i],o=e[i+1];if(-t>=n&&-t<o)return this.currentIndex=i,void(this.diff=o+t)}this.currentIndex=e.length-2}},components:{CubeScroll:a.default,CubeIndexListGroup:u.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(244),i(17),i(36),i(48),i(255),i(26)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=u(i),c=u(n),d=u(o),f=u(s),h=u(r),p={observeDOM:!0,click:!0,probeType:1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1};e.default={name:"cube-scroll",props:{data:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},direction:{type:String,default:"vertical"},refreshDelay:{type:Number,default:20}},data:function(){return{beforePullDown:!0,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,bubbleY:0,pullDownStyle:""}},computed:{pullDownRefresh:function(){return this.options.pullDownRefresh},pullUpLoad:function(){return this.options.pullUpLoad},pullUpTxt:function(){var t=this.pullUpLoad,e=t&&t.txt,i=e&&e.more||"",n=e&&e.noMore||"";return this.pullUpDirty?i:n},refreshTxt:function(){var t=this.pullDownRefresh;return t&&t.txt||"Refresh success"}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)},pullDownRefresh:{handler:function(t,e){t&&(this.scroll.openPullDown(t),e||(this._onPullDownRefresh(),this._calculateMinHeight())),!t&&e&&(this.scroll.closePullDown(),this._offPullDownRefresh(),this._calculateMinHeight())},deep:!0},pullUpLoad:{handler:function(t,e){t&&(this.scroll.openPullUp(t),e||(this._onPullUpLoad(),this._calculateMinHeight())),!t&&e&&(this.scroll.closePullUp(),this._offPullUpLoad(),this._calculateMinHeight())},deep:!0}},activated:function(){this.enable()},deactivated:function(){this.disable()},mounted:function(){var t=this;this.$nextTick(function(){t.initScroll()})},beforeDestroy:function(){this.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this._calculateMinHeight();var e=(0,c.default)({},p,{scrollY:"vertical"===this.direction,scrollX:"horizontal"===this.direction},this.options);this.scroll=new d.default(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenBeforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$emit("before-scroll-start")}),this.pullDownRefresh&&this._onPullDownRefresh(),this.pullUpLoad&&this._onPullUpLoad()}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this._calculateMinHeight(),this.scroll&&this.scroll.refresh()},destroy:function(){this.scroll&&this.scroll.destroy(),this.scroll=null},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t){this.$emit("click",t)},forceUpdate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){t._afterPullDown(e)})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=e,e&&this.refresh()):e&&this.refresh()},_calculateMinHeight:function(){this.$refs.listWrapper&&(this.$refs.listWrapper.style.minHeight=this.pullDownRefresh||this.pullUpLoad?(0,a.getRect)(this.$refs.wrapper).height+1+"px":0)},_onPullDownRefresh:function(){this.scroll.on("pullingDown",this._pullDownHandle),this.scroll.on("scroll",this._pullDownScrollHandle)},_offPullDownRefresh:function(){this.scroll.off("pullingDown",this._pullDownHandle),this.scroll.off("scroll",this._pullDownScrollHandle)},_pullDownHandle:function(){this.beforePullDown=!1,this.isPullingDown=!0,this.$emit("pulling-down")},_pullDownScrollHandle:function(t){this.beforePullDown?(this.bubbleY=Math.max(0,t.y+-50),this.pullDownStyle="top:"+Math.min(t.y+-50,10)+"px"):(this.bubbleY=0,this.pullDownStyle="top:"+Math.min(t.y-30,10)+"px")},_onPullUpLoad:function(){this.scroll.on("pullingUp",this._pullUpHandle)},_offPullUpLoad:function(){this.scroll.off("pullingUp",this._pullUpHandle)},_pullUpHandle:function(){this.isPullUpLoad=!0,this.$emit("pulling-up")},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,i=void 0===e?600:e;return new l.default(function(e){setTimeout(function(){t.scroll.finishPullDown(),t.isPullingDown=!1,e()},i)})},_afterPullDown:function(t){var e=this;setTimeout(function(){e.pullDownStyle="top:-50px",e.beforePullDown=!0,t&&e.refresh()},this.scroll.options.bounceTime)}},components:{Loading:f.default,Bubble:h.default}},t.exports=e.default})},function(t,e,i){t.exports={default:i(245),__esModule:!0}},function(t,e,i){i(75),i(49),i(73),i(246),i(253),i(254),t.exports=i(2).Promise},function(t,e,i){"use strict";var n,o,s,r,a=i(33),u=i(1),l=i(18),c=i(81),d=i(6),f=i(11),h=i(27),p=i(247),v=i(248),m=i(89),y=i(90).set,x=i(250)(),_=i(56),g=i(91),b=i(92),w=u.TypeError,S=u.process,T=u.Promise,P="process"==c(S),M=function(){},k=o=_.f,C=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[i(3)("species")]=function(t){t(M,M)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e}catch(t){}}(),D=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var i=t._c;x(function(){for(var n=t._v,o=1==t._s,s=0;i.length>s;)!function(e){var i,s,r=o?e.ok:e.fail,a=e.resolve,u=e.reject,l=e.domain;try{r?(o||(2==t._h&&E(t),t._h=1),!0===r?i=n:(l&&l.enter(),i=r(n),l&&l.exit()),i===e.promise?u(w("Promise-chain cycle")):(s=D(i))?s.call(i,a,u):a(i)):u(n)}catch(t){u(t)}}(i[s++]);t._c=[],t._n=!1,e&&!t._h&&O(t)})}},O=function(t){y.call(u,function(){var e,i,n,o=t._v,s=$(t);if(s&&(e=g(function(){P?S.emit("unhandledRejection",o,t):(i=u.onunhandledrejection)?i({promise:t,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=P||$(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},$=function(t){return 1!==t._h&&0===(t._a||t._c).length},E=function(t){y.call(u,function(){var e;P?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},V=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},j=function(t){var e,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw w("Promise can't be resolved itself");(e=D(t))?x(function(){var n={_w:i,_d:!1};try{e.call(t,l(j,n,1),l(V,n,1))}catch(t){V.call(n,t)}}):(i._v=t,i._s=1,I(i,!1))}catch(t){V.call({_w:i,_d:!1},t)}}};C||(T=function(t){p(this,T,"Promise","_h"),h(t),n.call(this);try{t(l(j,this,1),l(V,this,1))}catch(t){V.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=i(251)(T.prototype,{then:function(t,e){var i=k(m(this,T));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=P?S.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&I(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new n;this.promise=t,this.resolve=l(j,t,1),this.reject=l(V,t,1)},_.f=k=function(t){return t===T||t===r?new s(t):o(t)}),d(d.G+d.W+d.F*!C,{Promise:T}),i(34)(T,"Promise"),i(252)("Promise"),r=i(2).Promise,d(d.S+d.F*!C,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(a||!C),"Promise",{resolve:function(t){return b(a&&this===r?T:this,t)}}),d(d.S+d.F*!(C&&i(82)(function(t){T.all(t).catch(M)})),"Promise",{all:function(t){var e=this,i=k(e),n=i.resolve,o=i.reject,s=g(function(){var i=[],s=0,r=1;v(t,!1,function(t){var a=s++,u=!1;i.push(void 0),r++,e.resolve(t).then(function(t){u||(u=!0,i[a]=t,--r||n(i))},o)}),--r||n(i)});return s.e&&o(s.v),i.promise},race:function(t){var e=this,i=k(e),n=i.reject,o=g(function(){v(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return o.e&&n(o.v),i.promise}})},function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,i){var n=i(18),o=i(78),s=i(79),r=i(8),a=i(42),u=i(80),l={},c={},e=t.exports=function(t,e,i,d,f){var h,p,v,m,y=f?function(){return t}:u(t),x=n(i,d,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(s(y)){for(h=a(t.length);h>_;_++)if((m=e?x(r(p=t[_])[0],p[1]):x(t[_]))===l||m===c)return m}else for(v=y.call(t);!(p=v.next()).done;)if((m=o(v,x,p.value,e))===l||m===c)return m};e.BREAK=l,e.RETURN=c},function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){var n=i(1),o=i(90).set,s=n.MutationObserver||n.WebKitMutationObserver,r=n.process,a=n.Promise,u="process"==i(21)(r);t.exports=function(){var t,e,i,l=function(){var n,o;for(u&&(n=r.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(u)i=function(){r.nextTick(l)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var c=a.resolve();i=function(){c.then(l)}}else i=function(){o.call(n,l)};else{var d=!0,f=document.createTextNode("");new s(l).observe(f,{characterData:!0}),i=function(){f.data=d=!d}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,i()),e=o}}},function(t,e,i){var n=i(10);t.exports=function(t,e,i){for(var o in e)i&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},function(t,e,i){"use strict";var n=i(1),o=i(2),s=i(7),r=i(9),a=i(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];r&&e&&!e[a]&&s.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,i){"use strict";var n=i(6),o=i(2),s=i(1),r=i(89),a=i(92);n(n.P+n.R,"Promise",{finally:function(t){var e=r(this,o.Promise||s.Promise),i="function"==typeof t;return this.then(i?function(i){return a(e,t()).then(function(){return i})}:t,i?function(i){return a(e,t()).then(function(){throw i})}:t)}})},function(t,e,i){"use strict";var n=i(6),o=i(56),s=i(91);n(n.S,"Promise",{try:function(t){var e=o.f(this),i=s(t);return(i.e?e.reject:e.resolve)(i.v),e.promise}})},function(t,e,i){var n=i(0)(i(256),i(257),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,i=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,i,0,Math.PI,!0);var n=this.initRadius-(this.initRadius-this.minTailRadius)*e,o={x:this.headCenter.x,y:this.headCenter.y+this.distance},s={x:o.x-n,y:o.y},r={x:s.x,y:s.y-this.distance/2};t.quadraticCurveTo(r.x,r.y,s.x,s.y),t.arc(o.x,o.y,n,Math.PI,0,!0);var a={x:this.headCenter.x+i,y:this.headCenter.y},u={x:o.x+n,y:a.y+this.distance/2};t.quadraticCurveTo(u.x,u.y,a.x,a.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,i=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,i-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,i,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-i-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-i+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-i+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"wrapper",staticClass:"cube-scroll-wrapper"},[i("div",{staticClass:"cube-scroll-content"},[i("div",{ref:"listWrapper",staticClass:"cube-scroll-list-wrapper"},[t._t("default",[i("ul",{staticClass:"cube-scroll-list"},t._l(t.data,function(e){return i("li",{staticClass:"cube-scroll-item border-bottom-1px",on:{click:function(i){t.clickItem(e)}}},[t._v(t._s(e))])}))])],2),t._v(" "),t._t("pullup",[t.pullUpLoad?i("div",{staticClass:"cube-pullup-wrapper"},[t.isPullUpLoad?i("div",{staticClass:"after-trigger"},[i("loading")],1):i("div",{staticClass:"before-trigger"},[i("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad})],2),t._v(" "),t._t("pulldown",[t.pullDownRefresh?i("div",{staticClass:"cube-pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?i("div",{staticClass:"before-trigger"},[i("bubble",{attrs:{y:t.bubbleY}})],1):i("div",{staticClass:"after-trigger"},[t.isPullingDown?i("div",{staticClass:"loading"},[i("loading")],1):i("div",[i("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY})],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(94)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-index-list-group",props:{group:{type:Object,default:function(){return{}}}},methods:{selectItem:function(t){this.$emit("select",t)}},components:{CubeIndexListItem:n.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(26)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="cube-index-list-item_active";e.default={name:"cube-index-list-item",props:{item:{type:Object,default:function(){return{}}}},computed:{itemClass:function(){return this.item.active?n:""}},methods:{addActiveCls:function(t){(0,i.addClass)(t.currentTarget,n)},removeActiveCls:function(t){(0,i.removeClass)(t.currentTarget,n)},selectItem:function(){this.$emit("select",this.item)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",{staticClass:"cube-index-list-item",class:t.itemClass,on:{touchstart:t.addActiveCls,touchend:t.removeActiveCls,click:function(e){t.selectItem()}}},[t._t("default",[i("div",{staticClass:"cube-index-list-item-def border-bottom-1px"},[t._v("\n "+t._s(t.item.name)+"\n ")])])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("li",{staticClass:"cube-index-list-group"},[i("h2",{staticClass:"cube-index-list-anchor"},[t._v(t._s(t.group.name))]),t._v(" "),i("ul",[t._t("default",t._l(t.group.items,function(e,n){return i("cube-index-list-item",{key:n,attrs:{item:e},on:{select:t.selectItem}})}))],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-index-list"},[i("cube-scroll",{ref:"indexList",attrs:{"listen-scroll":t.listenScroll,options:t.options,data:t.data},on:{scroll:t.scroll}},[i("div",{ref:"content",staticClass:"cube-index-list-content"},[t.title?i("h1",{ref:"title",staticClass:"cube-index-list-title",on:{click:t.titleClick}},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),i("ul",[t._t("default",t._l(t.data,function(e,n){return i("cube-index-list-group",{key:n,attrs:{group:e},on:{select:t.selectItem}})}))],2)])]),t._v(" "),t.navbar?i("div",{staticClass:"cube-index-list-nav",on:{touchstart:t.onShortcutTouchStart,touchmove:function(e){e.stopPropagation(),e.preventDefault(),t.onShortcutTouchMove(e)}}},[i("ul",{staticClass:"cube-index-list-nav-list"},t._l(t.shortcutList,function(e,n){return i("li",{key:n,staticClass:"cube-index-list-nav-item",class:{active:t.currentIndex===n},attrs:{"data-index":n}},[t._t("nav-item",[t._v(t._s(e))],{item:e})],2)}))]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.fixedTitle,expression:"fixedTitle"}],ref:"fixed",staticClass:"cube-index-list-fixed cube-index-list-anchor"},[t._v("\n "+t._s(t.fixedTitle)+"\n ")])],1)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(24),i(266),i(269),i(53)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(i),u=r(n),l=r(o),c=r(s);u.default.install=function(t){t.component(a.default.name,a.default),t.component(u.default.name,u.default),(0,c.default)(t,a.default),(0,l.default)(t,u.default)},u.default.Picker=a.default,e.default=u.default,t.exports=e.default})},function(t,e,i){var n=i(0)(i(267),i(268),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(95),i(4),i(24)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function r(t){return(""+t).length>1?t:"0"+t}function a(t,e){return Math.ceil(t/e)*e}Object.defineProperty(e,"__esModule",{value:!0});var u=s(n),l=s(o);e.default={name:"cube-time-picker",mixins:[u.default],props:{title:{type:String,default:"选择时间"},swipeTime:{type:Number,default:2500},delay:{type:Number,default:15},day:{type:Object,default:function(){return{len:3,filter:["今日"],format:"M月d日"}}},showNow:{type:Boolean,default:!0},minuteStep:{type:Number,default:10},zIndex:{type:Number}},data:function(){return{selectedDayIndex:0,selectedHourIndex:0,selectedMinuteIndex:0,days:[],hours:[],minutes:[],minTime:0}},computed:{data:function(){return[this.days,this.hours,this.minutes]},selectedIndex:function(){return[this.selectedDayIndex,this.selectedHourIndex,this.selectedMinuteIndex]}},created:function(){this.selectedTimeStamp=null},methods:{show:function(){var t=this;this.$refs.picker.show(),this._updateMinTime(),this._initDays(),this.today=this.days[0].value,this.$nextTick(function(){t.selectedDayIndex=t.$refs.picker.refillColumn(0,t.days),t._handleHourAndMinute(!0),t._resetTime()})},hide:function(){this.$refs.picker.hide()},setTime:function(t){this.selectedTimeStamp=parseInt(t)},_resetTime:function(){var t=this;if(this.selectedTimeStamp){var e=new Date,n=e.getTime(),o=!1;this.selectedTimeStamp<n+this.delay*i.MINUTE_TIMESTAMP&&(o=!0);var s=new Date(this.selectedTimeStamp);this.$nextTick(function(){t._updateMinTime();var e=+(0,i.getZeroDate)(t.minTime),n=o?0:Math.floor((t.selectedTimeStamp-e)/i.DAY_TIMESTAMP);n<t.days.length&&(n!==t.selectedDayIndex&&(t.$refs.picker.scrollTo(0,n),t._pickerChange(0,n)),t.$nextTick(function(){var e=0;o||(e="now"===t.hours[0].value?Math.floor((s.getHours()-t.hours[1].value)/1)+1:Math.floor((s.getHours()-t.hours[0].value)/1)),e!==t.selectedHourIndex&&(t.$refs.picker.scrollTo(1,e),t._pickerChange(1,e)),o||t.$nextTick(function(){var e=0;t.minutes.length&&(e=Math.floor((s.getMinutes()-t.minutes[0].value)/t.minuteStep)),e!==t.selectedMinuteIndex&&(t.$refs.picker.scrollTo(2,e),t._pickerChange(2,e))})})),t.selectedTimeStamp=null})}},_updateMinTime:function(){this.minTime=new Date(+new Date+this.delay*i.MINUTE_TIMESTAMP)},_initDays:function(){for(var t=[],e=this.day,n=+(0,i.getZeroDate)(new Date),o=0;o<e.len;o+=1){var s=n+o*i.DAY_TIMESTAMP;e.filter&&o<e.filter.length?t.push({value:s,text:e.filter[o]}):t.push({value:s,text:(0,i.formatDate)(new Date(s),e.format)})}this.days=t},_initHours:function(t){var e=[];this.showNow&&0===this.selectedDayIndex&&e.push({value:"now",text:"现在"});for(var i=t;i<=23;i+=1)e.push({value:i,text:i+"点"});this.hours=e},_initMinutes:function(t){if(!1===t)this.minutes=[];else{var e=[],i=this.minuteStep,n=60-i;t%=60;for(var o=t;o<=n;o+=i)e.push({value:o,text:r(o)+"分"});this.minutes=e}},_handleHourAndMinute:function(t){var e=0,n=0,o=!1;if(this.today+i.DAY_TIMESTAMP<this.minTime?(o=!0,this.showNow&&0===this.selectedDayIndex&&(e=24)):(e=this.minTime.getHours(),this.minTime.getMinutes()>60-this.minuteStep&&24===(e+=1)&&(o=!0)),this.days[this.selectedDayIndex].value<this.minTime){!this.showNow&&o&&t&&(e=0,this.days.shift(),this.selectedDayIndex=this.$refs.picker.refillColumn(0,this.days)),this._initHours(e),this.selectedHourIndex=this.$refs.picker.refillColumn(1,this.hours);this.hours[this.selectedHourIndex].value===e&&(n=a(this.minTime.getMinutes()+1,this.minuteStep)),0===this.selectedDayIndex&&0===this.selectedHourIndex&&this.showNow&&(n=!1),this._initMinutes(n),this.selectedMinuteIndex=this.$refs.picker.refillColumn(2,this.minutes)}else{!this.showNow&&o&&t&&(this.days.shift(),this.selectedDayIndex=this.$refs.picker.refillColumn(0,this.days)),e=0,this._initHours(e),this._initMinutes(n);var s=this.$refs.picker.refill([this.days,this.hours,this.minutes]);this.selectedHourIndex=s[1],this.selectedMinuteIndex=s[2]}},_handleMinute:function(){if(this.days[this.selectedDayIndex].value-+this.minTime<0){var t=0,e=this.minTime.getHours();this.hours[this.selectedHourIndex].value===e&&(t=a(this.minTime.getMinutes()+1,this.minuteStep)),0===this.selectedDayIndex&&0===this.selectedHourIndex&&this.showNow&&(t=!1),this._initMinutes(t),this.selectedMinuteIndex=this.$refs.picker.refillColumn(2,this.minutes)}},_getSelect:function(){var t=void 0,e=void 0;return 0===this.selectedDayIndex&&0===this.selectedHourIndex&&this.showNow?(t=+new Date,e=this.hours[0].text):(t=this.days[this.selectedDayIndex].value+this.hours[this.selectedHourIndex].value*i.HOUR_TIMESTAMP+this.minutes[this.selectedMinuteIndex].value*i.MINUTE_TIMESTAMP,e=this.days[this.selectedDayIndex].text+" "+this.hours[this.selectedHourIndex].text+":"+this.minutes[this.selectedMinuteIndex].text),{selectedTime:t,selectedText:e}},_pickerSelect:function(t,e){this.selectedDayIndex=e[0],this.selectedHourIndex=e[1],this.selectedMinuteIndex=e[2];var i=this._getSelect(),n=i.selectedTime,o=i.selectedText;this.$emit("select",n,o)},_pickerCancel:function(){this.$emit("cancel")},_pickerChange:function(t,e){this._updateMinTime(),0===t?(this.selectedDayIndex=e,this._handleHourAndMinute(!1)):1===t?(this.selectedHourIndex=e,this._handleMinute()):this.selectedMinuteIndex=e;var i=this._getSelect(),n=i.selectedTime,o=i.selectedText;this.$emit("change",n,o)}},components:{CubePicker:l.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-picker",{ref:"picker",attrs:{title:t.title,data:t.data,"selected-index":t.selectedIndex,"z-index":t.zIndex,"swipe-time":t.swipeTime},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange}})},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5),i(25)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","cancel","change"]).before(function(t,e,i){i&&(0,n.warn)("TimePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(24),i(96),i(273),i(53),i(97),i(276)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=u(i),c=u(n),d=u(o),f=u(s),h=u(r),p=u(a);d.default.install=function(t){t.component(l.default.name,l.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default),(0,f.default)(t,l.default),(0,h.default)(t,c.default),(0,p.default)(t,d.default)},d.default.Picker=l.default,d.default.CascadePicker=c.default,e.default=d.default,t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(24),i(4),i(83),i(52)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(i),u=r(n),l=r(o),c=r(s);e.default={name:"cube-cascade-picker",mixins:[u.default,l.default,c.default],data:function(){return{cascadeData:this.data.slice(),pickerSelectedIndex:this.selectedIndex.slice(),pickerData:[]}},created:function(){this._updatePickerData()},methods:{show:function(){this.$refs.picker.show()},hide:function(){this.$refs.picker.hide()},setData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.cascadeData=t,this.pickerSelectedIndex=e,this._updatePickerData()},_pickerSelect:function(t,e,i){this.$emit("select",t,e,i)},_pickerCancel:function(){this.$emit("cancel")},_pickerChange:function(t,e){e!==this.pickerSelectedIndex[t]&&(this.pickerSelectedIndex.splice(t,1,e),this._updatePickerData(t+1)),this.$emit("change",t,e)},_updatePickerData:function(){for(var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.cascadeData,n=0;i;)n>=e&&function(){var o=[];i.forEach(function(e){o.push({value:e[t.valueKey],text:e[t.textKey]})}),t.pickerData[n]=o,t.pickerSelectedIndex[n]=0===e?t.pickerSelectedIndex[n]<i.length?t.pickerSelectedIndex[n]||0:0:t.$refs.picker.refillColumn(n,o)}(),i=i.length?i[this.pickerSelectedIndex[n]].children:null,n++;n<this.pickerData.length&&this.pickerData.splice(n,this.pickerData.length-n),this.pickerData=this.pickerData.slice()}},components:{CubePicker:a.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-picker",{ref:"picker",attrs:{data:t.pickerData,"selected-index":t.pickerSelectedIndex,title:t.title,"z-index":t.zIndex,"cancel-txt":t.cancelTxt,"confirm-txt":t.confirmTxt,"swipe-time":t.swipeTime},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange}})},staticRenderFns:[]}},function(t,e,i){var n=i(0)(i(274),i(275),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(35)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-segment-picker",props:{data:{type:Array,default:function(){return[]}},title:{type:String,default:"Segment Picker"},confirmTxt:{type:String,default:"确定"},cancelTxt:{type:String,default:"取消"},nextTxt:{type:String,default:"下一步"},prevTxt:{type:String,default:"上一步"}},data:function(){return{current:0,selectedVal:[],selectedIndex:[],selectedText:[]}},computed:{currentPicker:function(){for(var t=0;t<this.data.length;t++){var e=this.$refs.pickers[t];if(e.$attrs.index===this.current)return e}}},watch:{data:function(){this.current=0,this.selectedVal=[],this.selectedIndex=[],this.selectedText=[]}},methods:{show:function(){this.data.length&&this.currentPicker.show()},hide:function(){this.data.length&&this.currentPicker.hide()},_select:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];this.selectedVal[this.current]=e[0],this.selectedIndex[this.current]=e[1],this.selectedText[this.current]=e[2],this.current<this.data.length-1?(this.$emit.apply(this,["next",this.current].concat((0,n.default)(e))),this.current++,this.currentPicker.show()):(this.$emit("select",this.selectedVal,this.selectedIndex,this.selectedText),this.current=0)},_cancel:function(){if(this.current>0){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];this.$emit.apply(this,["prev",this.current].concat((0,n.default)(e))),this.current--,this.currentPicker.show()}else this.$emit("cancel")},_change:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];this.$emit.apply(this,["change",this.current].concat((0,n.default)(e)))}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-segment-picker"},t._l(t.data,function(e,n){return i(e.is||"cube-picker",t._b({key:n,ref:"pickers",refInFor:!0,tag:"component",attrs:{index:n,title:e.title||t.title,confirmTxt:e.confirmTxt||(n===t.data.length-1?t.confirmTxt:t.nextTxt),cancelTxt:e.cancelTxt||(0===n?t.cancelTxt:t.prevTxt)},on:{select:t._select,cancel:t._cancel,change:t._change}},"component",e,!1))}))},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5),i(25)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","cancel","change","next","prev"]).before(function(t,e,i){i&&(0,n.warn)("SegmentPicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(96),i(278),i(281),i(97)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(i),u=r(n),l=r(o),c=r(s);u.default.install=function(t){t.component(a.default.name,a.default),t.component(u.default.name,u.default),(0,c.default)(t,a.default),(0,l.default)(t,u.default)},u.default.CascadePicker=a.default,e.default=u.default,t.exports=e.default})},function(t,e,i){var n=i(0)(i(279),i(280),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(35),i(4),i(52)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function r(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments[4],s=arguments[5],r=arguments[6],a=[],u=t;u<=e;u++){var l=(i&&u<10?"0"+u:u)+n,c={text:l,value:u};o&&u===t&&(c.isMin=!0),s&&u===e&&(c.isMax=!0),r&&(c.year=r),a.push(c)}return a}function a(t,e){var i=30;return[1,3,5,7,8,10,12].indexOf(t)>-1?i=31:2===t&&(i=e&&e%400&&(e%4||!(e%100))?28:29),i}function u(t){return[t.getFullYear(),t.getMonth()+1,t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()]}Object.defineProperty(e,"__esModule",{value:!0});var l=s(i),c=s(n),d=s(o),f=["year","month","date","hour","minute","second"],h=[{txt:"年",pad:!1},{txt:"月",natureMin:1,natureMax:12,pad:!1},{txt:"日",natureMin:1,natureMax:31,pad:!1},{txt:"时",natureMin:0,natureMax:23,pad:!1,natureRange:r(0,23,!1,"时")},{txt:"分",natureMin:0,natureMax:59,pad:!0,natureRange:r(0,59,!0,"分")},{txt:"秒",natureMin:0,natureMax:59,pad:!0,natureRange:r(0,59,!0,"秒")}];e.default={name:"cube-date-picker",mixins:[c.default,d.default],props:{min:{type:[Date,Array],default:function(){return new Date(2010,1,1)}},max:{type:[Date,Array],default:function(){return new Date(2020,12,31)}},startColumn:{type:String,default:function(){return"year"}},columnCount:{type:Number,default:3},value:{type:[Date,Array],default:function(){return this.min}}},computed:{startIndex:function(){var t=f.indexOf(this.startColumn);return t<0?0:t},minArray:function(){return this.min instanceof Date?u(this.min).slice(this.startIndex,this.startIndex+this.columnCount):this.min},maxArray:function(){return this.max instanceof Date?u(this.max).slice(this.startIndex,this.startIndex+this.columnCount):this.max},valueArray:function(){return this.value instanceof Date?u(this.value).slice(this.startIndex,this.startIndex+this.columnCount):this.value},data:function(){var t=[];return this._generateData(this.startIndex,0,t),t},selectedIndex:function(){for(var t=this,e=[],i=this.data,n=void 0,o=0;o<this.columnCount&&o<6-this.startIndex;o++)!function(o){n=i.findIndex(function(e){return t.valueArray[o]&&e.value===t.valueArray[o]}),e[o]=-1!==n?n:0,i=i[e[o]].children}(o);return e}},methods:{show:function(){this.$refs.cascadePicker.show()},hide:function(){this.$refs.cascadePicker.hide()},_select:function(t,e,i){this.$emit("select",this._arrayToDate(t),t,i)},_cancel:function(){this.$emit("cancel")},_change:function(t,e){this.$emit("change",t,e)},_generateData:function(t,e,i){var n=this;if(0===e){var o=0===t?this.minArray[0]:Math.max(this.minArray[0],h[t].natureMin),s=0===t?this.maxArray[0]:Math.min(this.maxArray[0],h[t].natureMax);i.push.apply(i,(0,l.default)(r(o,s,h[t].pad,h[t].txt,!0,!0)))}else if(t<3||i.isMin||i.isMax){var u=2===t?a(i.value,i.year):h[t].natureMax,c=i.isMin?Math.max(this.minArray[e],h[t].natureMin):h[t].natureMin,d=i.isMax?Math.min(this.maxArray[e],u):u,f=1===t&&0===this.startIndex&&this.columnCount>=3&&i.value;i.children=r(c,d,h[t].pad,h[t].txt,i.isMin,i.isMax,f)}else i.children=h[t].natureRange;e<this.columnCount-1&&t<5&&(i.children||i).forEach(function(i){n._generateData(t+1,e+1,i)})},_arrayToDate:function(t){for(var e=[],i=u(new Date(0)),n=0;n<6;n++)n<this.startIndex?e[n]=i[n]:n>=this.startIndex+this.columnCount?e[n]=h[n].natureMin:e[n]=t[n-this.startIndex];return e[1]--,new(Function.prototype.bind.apply(Date,[null].concat(e)))}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"cascadePicker",attrs:{data:t.data,selectedIndex:t.selectedIndex,title:t.title,"cancel-txt":t.cancelTxt,"confirm-txt":t.confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex},on:{select:t._select,cancel:t._cancel,change:t._change}})},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5),i(25)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","cancel","value-change"]).before(function(t,e,i){i&&(0,n.warn)("DatePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(55)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);n.default.install=function(t){t.component(n.default.name,n.default)},e.default=n.default,t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(98),i(99),i(100)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);r.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),t.component(u.default.name,u.default)},r.default.Btn=a.default,r.default.File=u.default,e.default=r.default,t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(99),i(100),i(292),i(57)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(i),u=r(n),l=r(o);e.default={name:"cube-upload",props:{value:{type:Array,default:function(){return[]}},action:{type:[String,Object],default:""},max:{type:Number,default:10},auto:{type:Boolean,default:!0},simultaneousUploads:{type:Number,default:1},processFile:{type:Function,default:function(t,e){e(t)}}},data:function(){return{files:this.value,paused:!this.auto}},computed:{actionOptions:function(){var t=this.action;return"string"==typeof t?t?{target:t}:null:t},isShowBtn:function(){return this.files.length<this.max}},watch:{files:function(t){this.$emit("input",t)}},methods:{addFiles:function(t){var e=this;this.$emit("files-added",t);for(var i=this.files.length,n=[],o=this.max-i,r=0,a=t[r];n.length<o&&a;)a.ignore||(n.push(a),this.files.push((0,s.newFile)())),a=t[++r];(0,s.processFiles)(n,this.processFile,function(t,n){e.$set(e.files,i+n,t),e.$emit("file-submitted",t)},function(){e.$nextTick(function(){e.upload()})})},removeFile:function(t){this.$emit("file-removed",t),t._xhr&&t._xhr.abort(),t.url&&s.URL.revokeObjectURL(t.url);var e=this.files.indexOf(t);this.files.splice(e,1),this.upload()},fileClick:function(t){this.$emit("file-click",t)},upload:function(t){var e=this,i=this.actionOptions;if(!this.paused&&i)for(var n=this.files.length,o=0,r=0;r<n&&o<this.simultaneousUploads;)!function(){var n=e.files[r],a=n.status;a===s.STATUS_READY||t&&a===s.STATUS_ERROR&&n._retryId!==e.retryId?((0,l.default)(n,i,function(i){a===s.STATUS_ERROR&&(i._retryId=e.retryId),e.$emit(i.status===s.STATUS_SUCCESS?"file-success":"file-error",i),e.upload(t)}),o++):a===s.STATUS_UPLOADING&&o++,r++}()},start:function(){this.paused=!1,this.upload()},pause:function(){this.paused=!0,this.files.forEach(function(t){t.status===s.STATUS_UPLOADING&&(t._xhr.abort(),t.status=s.STATUS_READY)})},retry:function(){this.retryId=Date.now(),this.paused=!1,this.upload(!0)}},components:{UploadBtn:a.default,UploadFile:u.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-upload-btn",props:{multiple:{type:Boolean,default:!0},accept:{type:String,default:"image/*"}},methods:{changeHandler:function(t){var e=t.currentTarget,i=e.files;i&&(this.$parent.addFiles(i),e.value=null)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-upload-btn"},[t._t("default",[t._m(0)]),t._v(" "),i("input",{staticClass:"cube-upload-input",attrs:{type:"file",multiple:t.multiple,accept:t.accept},on:{change:t.changeHandler}})],2)},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-upload-btn-def"},[i("i")])}]}},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(57)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={success:"cubeic-right",error:"cubeic-warn"};e.default={name:"cube-upload-file",props:{file:{type:Object,required:!0}},computed:{fileStatusCls:function(){var t=this.file,e=t.status;if(t.progress>=.01||e===i.STATUS_SUCCESS||e===i.STATUS_ERROR)return"cube-upload-file_stat"},fileStyle:function(){var t=this.file.url||this.file.base64;if(t)return{"background-image":'url("'+t+'")'}},statusCls:function(){var t=this.file.status;return n[t]},fileProgress:function(){return this.statusCls?"100%":Math.min(Math.floor(100*this.file.progress),99)+"%"}},methods:{clickHandler:function(){this.$emit("click",this.file)},removeFile:function(){this.$parent.removeFile(this.file)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-upload-file",on:{click:t.clickHandler}},[t._t("default",[i("div",{staticClass:"cube-upload-file-def",style:t.fileStyle},[i("i",{staticClass:"cubeic-wrong",on:{click:function(e){e.stopPropagation(),t.removeFile(e)}}}),t._v(" "),i("div",{staticClass:"cube-upload-file-state",class:t.fileStatusCls},[i("i",{staticClass:"cube-upload-file-status",class:t.statusCls}),t._v(" "),i("span",{staticClass:"cube-upload-file-progress"},[t._v(t._s(t.fileProgress))])])])])],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(22),i(57)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e,i){function o(e){clearTimeout(g),g=0,t.progress=1,t.status=e,i&&i(t)}var r=e.target,a=e.headers,u=void 0===a?{}:a,l=e.data,c=void 0===l?{}:l,d=e.fileName,f=void 0===d?"file":d,h=e.withCredentials,p=e.timeout,v=e.prop,m=void 0===v?"file":v,y=e.progressInterval,x=void 0===y?100:y;t.progress=0,t.status=n.STATUS_UPLOADING;var _=new window.XMLHttpRequest;t._xhr=_;var g=0;if(_.upload){var b=Date.now();_.upload.onprogress=function(e){function i(){t.progress=e.loaded/e.total,b=Date.now()}if(e.total>0)if(g){clearTimeout(g);var n=Date.now(),o=n-b;o>=x?i():g=setTimeout(i,o)}else i(),g=1}}var w=new window.FormData;(0,s.default)(c).forEach(function(t){w.append(t,c[t])}),w.append(f,t[m]),_.onload=function(){if(_.status<200||_.status>=300)return void o(n.STATUS_ERROR);var e=_.responseText||_.response;try{e=JSON.parse(e)}catch(t){}t.response=e,t.responseHeaders=_.getAllResponseHeaders(),o(n.STATUS_SUCCESS)},_.onerror=function(){o(n.STATUS_ERROR)},_.ontimeout=function(){o(n.STATUS_ERROR)},_.open("POST",r,!0),h&&(_.withCredentials=!0),(0,s.default)(u).forEach(function(t){_.setRequestHeader(t,u[t])}),p>0&&(_.timeout=p),_.send(w)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-upload"},[t._t("default",[i("div",{staticClass:"cube-upload-def clear-fix"},[t._l(t.files,function(e,n){return i("upload-file",{key:n,attrs:{file:e},on:{click:t.fileClick}})}),t._v(" "),i("upload-btn",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn,expression:"isShowBtn"}]})],2)])],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(295),i(101)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n);s.default.install=function(t){t.component(s.default.name,s.default),t.component(r.default.name,r.default)},s.default.Item=r.default,e.default=s.default,t.exports=e.default})},function(t,e,i){function n(t){i(296)}var o=i(0)(i(297),i(302),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(101)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-swipe",props:{data:{type:Array,default:function(){return[]}},autoShrink:{type:Boolean,default:!1}},created:function(){this.activeIndex=-1},methods:{onItemClick:function(t,e){this.$emit("item-click",t,e)},onBtnClick:function(t,e){this.$emit("btn-click",t,e)},onItemActive:function(t){if(t!==this.activeIndex){if(-1!==this.activeIndex){this.$refs.swipeItem[this.activeIndex].shrink()}this.activeIndex=t}}},components:{CubeSwipeItem:n.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(26),i(300),i(95)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=(0,i.prefixStyle)("transform"),r=(0,i.prefixStyle)("transitionProperty"),a=(0,i.prefixStyle)("transitionDuration"),u=(0,i.prefixStyle)("transitionTimingFunction");e.default={name:"cube-swipe-item",props:{item:{type:Object,default:function(){return{}}},btns:{type:Array,default:function(){return[]}},index:{type:Number,index:-1},autoShrink:{type:Boolean,default:!1}},created:function(){this.x=0,this.state=0},mounted:function(){var t=this;this.scrollerStyle=this.$refs.swipeItem.style,this.$nextTick(function(){t.refresh()}),this.$on("scroll",this._handleBtns)},methods:{_initCachedBtns:function(){this.cachedBtns=[];for(var t=this.$refs.btns.length,e=0;e<t;e++)this.cachedBtns.push({width:(0,i.getRect)(this.$refs.btns[e]).width})},_handleBtns:function(t){if(0!==this.btns.length)for(var e=this.$refs.btns.length,i=0,n=-this.maxScrollX,o=0;o<e;o++){var r=this.$refs.btns[o],u=(n-i)/n,l=void 0,c=u*t-t;l=t<this.maxScrollX?this.cachedBtns[o].width+u*(this.maxScrollX-t):this.cachedBtns[o].width,i+=this.cachedBtns[o].width,r.style.width=l+"px",r.style[s]="translate("+c+"px)",r.style[a]="0ms"}},_isInBtns:function(t){for(var e=t,i=!1;e&&e.className.indexOf("cube-swipe-item")<0;){if(e.className.indexOf("cube-swipe-btns")>=0){i=!0;break}e=e.parentNode}return i},_calculateBtnsWidth:function(){for(var t=0,e=this.cachedBtns.length,i=0;i<e;i++)t+=this.cachedBtns[i].width;this.maxScrollX=-t},_translate:function(t,e){var i=e?" translateZ(0)":"";this.scrollerStyle[s]="translate("+t+"px,0)"+i,this.x=t},_transitionProperty:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";this.scrollerStyle[r]=t},_transitionTimingFunction:function(t){this.scrollerStyle[u]=t},_transitionTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.scrollerStyle[a]=t+"ms"},_getComputedPositionX:function(){var t=window.getComputedStyle(this.$refs.swipeItem,null);return t=t[s].split(")")[0].split(", "),+(t[12]||t[4])},_translateBtns:function(t,e,i){if(0!==this.btns.length)for(var n=this.$refs.btns.length,o=0,l=0,c=0;c<n;c++){var d=this.$refs.btns[c];l=1===this.state?o:0,o+=this.cachedBtns[c].width,d.style[s]="translate("+l+"px,0) translateZ(0)",d.style[r]="all",d.style[u]=e,d.style[a]=t+"ms",i&&(d.style.width=this.cachedBtns[c].width+"px")}},refresh:function(){this.btns.length>0&&(this._initCachedBtns(),this._calculateBtnsWidth()),this.endTime=0},shrink:function(){var t=this;this.stop(),this.state=0,this.$nextTick(function(){t.scrollTo(0,600,n.easeOutQuart),t._translateBtns(600,n.easeOutQuart)})},grow:function(){this.state=1;var t=this.x<this.maxScrollX,e=n.easeOutCubic;this.scrollTo(this.maxScrollX,600,e),this._translateBtns(600,e,t)},scrollTo:function(t,e,i){this._transitionProperty(),this._transitionTimingFunction(i),this._transitionTime(e),this._translate(t,!0),e&&(this.isInTransition=!0)},genBtnStyl:function(t){return"background: "+t.color},clickItem:function(t){this.$emit("item-click",t,this.index)},clickBtn:function(t){this.$emit("btn-click",t,this.index),this.autoShrink&&this.shrink()},stop:function(){if(this.isInTransition){this.isInTransition=!1;var t=0===this.state?0:this._getComputedPositionX();this._translate(t),this.$emit("scroll",this.x)}},onTouchStart:function(t){var e=this;this.$emit("active",this.index),this.stop(),this.moved=!1,this.movingDirectionX=0;var i=t.touches[0];this.pointX=i.pageX,this.pointY=i.pageY,this.distX=0,this.distY=0,this.startX=this.x,this._transitionTime(),this.startTime=(0,o.getNow)(),1!==this.state||this._isInBtns(t.target)||(this.shrinkTimer=setTimeout(function(){e.shrink()},300))},onTouchMove:function(t){if(this.moved&&(clearTimeout(this.shrinkTimer),t.stopPropagation()),!this.isInTransition){t.preventDefault();var e=t.touches[0],i=e.pageX-this.pointX,n=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=n;var s=Math.abs(this.distX);if(!(s+5<=Math.abs(this.distY))){var r=(0,o.getNow)();if(!(r-this.endTime>300&&s<15)){this.movingDirectionX=i>0?-1:i<0?1:0;var a=this.x+i;a>0&&(a=0),a<this.maxScrollX&&(a=this.x+i/3),this.moved||(this.moved=!0),this._translate(a,!0),r-this.startTime>300&&(this.startTime=r,this.startX=this.x),this.$emit("scroll",this.x)}}}},onTouchEnd:function(){if(this.moved){if(-1===this.movingDirectionX)return void this.shrink();this.endTime=(0,o.getNow)();var t=this.endTime-this.startTime,e=Math.abs(this.x-this.startX);t<300&&e>15||this.x<this.maxScrollX/2?this.grow():this.shrink()}},onTransitionEnd:function(){this.isInTransition=!1,this._transitionTime(),this._translate(this.x)}},watch:{btns:function(){var t=this;this.$nextTick(function(){t.refresh()})}}},t.exports=e.default})},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.easeOutBack="cubic-bezier(0.18, 0.89, 0.32, 1.28)",t.easeOutQuart="cubic-bezier(0.165, 0.84, 0.44, 1)",t.easeOutCubic="cubic-bezier(0.22, 0.61, 0.36, 1)"})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"swipeItem",staticClass:"cube-swipe-item",on:{transitionend:t.onTransitionEnd,touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd}},[t._t("default",[i("div",{staticClass:"cube-swipe-item-inner border-bottom-1px",on:{click:function(e){t.clickItem(t.item)}}},[i("span",[t._v(t._s(t.item.text))])])]),t._v(" "),i("ul",{staticClass:"cube-swipe-btns"},t._l(t.btns,function(e){return i("li",{ref:"btns",refInFor:!0,staticClass:"cube-swipe-btn",style:t.genBtnStyl(e),on:{click:function(i){i.preventDefault(),t.clickBtn(e)}}},[i("span",{staticClass:"text"},[t._v(t._s(e.text))])])}))],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-swipe"},[t._t("default",[i("transition-group",{attrs:{name:"cube-swipe",tag:"ul"}},t._l(t.data,function(e,n){return i("li",{key:e.item.value},[i("cube-swipe-item",{ref:"swipeItem",refInFor:!0,attrs:{btns:e.btns,item:e.item,index:n,"auto-shrink":t.autoShrink},on:{"item-click":t.onItemClick,"btn-click":t.onBtnClick,active:t.onItemActive}})],1)}))])],2)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(304),i(102),i(103)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);r.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),t.component(u.default.name,u.default)},r.default.Panel=a.default,r.default.Item=u.default,e.default=r.default,t.exports=e.default})},function(t,e,i){function n(t){i(305)}var o=i(0)(i(306),i(313),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(76),i(35),i(26),i(102),i(4)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=a(i),l=a(n),c=a(s),d=a(r),f=(0,o.prefixStyle)("transform");e.default={name:"cube-drawer",mixins:[d.default],props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}}},data:function(){return{index:-1,selectedVal:[],selectedText:[],selected:[].concat((0,l.default)(this.selectedIndex)),slideStyle:(0,u.default)({},f,"translate3d(0, 0, 0)")}},watch:{selectedIndex:function(t){this.selected=[].concat((0,l.default)(t))},index:function(t,e){this.showPanel(),t<e&&this.hidePanel()}},created:function(){this.panels=[]},methods:{show:function(){this.isVisible=!0;for(var t=this.data.length,e=0;e<t;e++)if(this.index=e,this.selected[e]<0||void 0===this.selected[e]){if(e>0){var i=e-1,n=this.selected[i];this.changeHandler(i,this.data[i][n],n)}break}this.computedStyle()},hide:function(){this.slideStyle[f]="translate3d(0, 0, 0)",this.shouldHide=!0},addPanel:function(t){this.panels.push(t)},removePanel:function(t){var e=this.panels.indexOf(t);this.panels.splice(e,1)},transitionend:function(){this.shouldHide&&(this.isVisible=!1,this.shouldHide=!1)},refill:function(t,e,i){this.$set(this.data,t,e),this.index=t,this.selected=this.selected.slice(0,t),this.selectedVal=this.selectedVal.slice(0,t),this.selectedText=this.selectedText.slice(0,t),i>=0&&(this.$set(this.selected,t,i),this.changeHandler(t,this.data[t][i],i))},showPanel:function(){for(var t=this.index,e=0;e<=t;)this.panels[e].show(),e++;this.computedStyle()},hidePanel:function(){for(var t=this.data.length,e=this.index+1;e<t;)this.panels[e].hide(),e++},computedStyle:function(){var t=this;this.$nextTick(function(){for(var e=0,i=0,n=t.index;i<=n;){var o=t.panels[i].$el;e+=o.offsetWidth;var s=window.getComputedStyle(o);e+=parseInt(s.marginLeft),e+=parseInt(s.marginRight),i++}t.slideStyle[f]="translate3d(-"+e+"px, 0, 0)"})},changeHandler:function(t,e,i){"string"==typeof e?(this.selectedVal[t]=e,this.selectedText[t]=e):(this.selectedVal[t]=e.value,this.selectedText[t]=e.text),this.$set(this.selected,t,i),t===this.data.length-1?(this.$emit("select",this.selectedVal,this.selected,this.selectedText),this.hide()):this.$emit("change",t,e,this.selectedVal,this.selected,this.selectedText)},drawerClick:function(){this.hide(),this.$emit("cancel")}},components:{CubeDrawerPanel:c.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(4),i(55),i(103)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);e.default={name:"cube-drawer-panel",mixins:[r.default],props:{data:{type:Array,default:function(){return[]}},index:{type:Number,default:-1}},computed:{selectedIndex:function(){var t=this.$parent.selected[this.index];return void 0===t?-1:t}},watch:{data:function(){this.scrollToTop()},isVisible:function(){var t=this;this.$nextTick(function(){t.refresh()})}},mounted:function(){this.$parent.addPanel(this)},beforeDestroy:function(){this.$parent.removePanel(this)},methods:{refresh:function(){this.$refs.scroll.refresh()},scrollToTop:function(){this.$refs.scroll.scroll&&this.$refs.scroll.scroll.scrollTo(0,0,0)},itemClickHandler:function(t,e){this.selectedIndex!==e&&this.$parent.changeHandler(this.index,t,e)}},components:{CubeScroll:a.default,CubeDrawerItem:u.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={name:"cube-drawer-item",props:{item:{type:[String,Object],default:""},index:{type:Number,default:-1}},computed:{itemClass:function(){return this.$parent.$parent.selectedIndex===this.index?"cube-drawer-item_active":""}},methods:{clickItem:function(t){this.$parent.$parent.itemClickHandler(t,this.index)}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("li",{staticClass:"cube-drawer-item border-bottom-1px",class:t.itemClass,on:{click:function(e){t.clickItem(t.item)}}},[t._t("default",[t._v("\n "+t._s(t.item.text||t.item)+"\n ")])],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-drawer-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer-panel"},[i("cube-scroll",{ref:"scroll",attrs:{data:t.data}},[i("ul",{staticClass:"cube-drawer-list"},[t._t("default",t._l(t.data,function(t,e){return i("cube-drawer-item",{key:e,attrs:{item:t,index:e}})}))],2)])],1)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-drawer",on:{click:t.drawerClick}},[i("div",{staticClass:"cube-drawer-main",style:t.slideStyle,on:{click:function(t){t.stopPropagation()},transitionend:t.transitionend}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.$slots.title||t.title,expression:"$slots.title || title"}],staticClass:"cube-drawer-title"},[t._t("title",[t._v(t._s(t.title))])],2),t._v(" "),i("div",{staticClass:"cube-drawer-panels",on:{transitionend:function(t){t.stopPropagation()}}},[t._t("default",t._l(t.data,function(t,e){return i("cube-drawer-panel",{key:e,attrs:{index:e,data:t}})}))],2)])])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(36)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=n.default,t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(5)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=n.default,t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(317),i(104),i(105)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),u=s(o);r.default.install=function(t){t.component(r.default.name,r.default),t.component(a.default.name,a.default),t.component(u.default.name,u.default)},r.default.Group=a.default,r.default.Item=u.default,e.default=r.default,t.exports=e.default})},function(t,e,i){function n(t){i(318)}var o=i(0)(i(319),i(332),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(17),i(104)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=o(i),r=o(n),a={STANDARD:"standard",CLASSIC:"classic",FRESH:"fresh"};e.default={name:"cube-form",props:{action:String,model:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{scrollToInvalidField:!1,layout:a.STANDARD}}},immediateValidate:{type:Boolean,default:!1}},data:function(){return{validatedCount:0,dirty:!1,valid:void 0,firstInvalidField:null,firstInvalidFieldIndex:-1}},computed:{groups:function(){var t=this.schema,e=t.groups||[];return t.fields&&e.unshift({fields:t.fields}),e},invalid:function(){var t=this.valid;return void 0===t?t:!t},formClass:function(){var t=this.invalid,e=this.valid,i=this.options,n=i&&i.layout||a.STANDARD;return{"cube-form_standard":n===a.STANDARD,"cube-form_groups":this.groups.length>1,"cube-form_valid":!0===e,"cube-form_invalid":t,"cube-form_classic":n===a.CLASSIC,"cube-form_fresh":n===a.FRESH}}},watch:{validatedCount:function(){this.$emit("validate",{validity:this.validity,valid:this.valid,invalid:this.invalid,dirty:this.dirty,firstInvalidFieldIndex:this.firstInvalidFieldIndex})}},beforeCreate:function(){this.form=this,this.fields=[],this.validity={}},mounted:function(){this.immediateValidate&&this.validate()},methods:{submit:function(){this.$refs.form.submit()},reset:function(){this.$refs.form.reset()},submitHandler:function(t){this._submit()?(this.$emit("valid",this.validity),this.$emit("submit",t,this.model)):(t.preventDefault(),this.$emit("invalid",this.validity))},resetHandler:function(t){this._reset(),this.$emit("reset",t)},_submit:function(){return this.validate(),!this.invalid||(this.options.scrollToInvalidField&&this.firstInvalidField&&this.firstInvalidField.$el.scrollIntoView(),!1)},_reset:function(){this.fields.forEach(function(t){t.reset()}),this.setValidity()},validate:function(){return this.fields.forEach(function(t){t.validate()}),this.valid},updateValidity:function(t,e,i,n){var o=this.validity[t];o&&o.valid===e&&o.result===i&&o.dirty===n||this.setValidity(t,{valid:e,result:i,dirty:n})},setValidity:function(t,e){var i={};t&&((0,s.default)(i,this.validity),void 0===e?delete i[t]:i[t]=e);var n=!1,o=!1,r=!0,a="";this.fields.forEach(function(t){var e=t.fieldValue.modelKey;if(e){var s=i[e];s?(s.dirty&&(n=!0),!1===s.valid?r=!1:r&&!s.valid&&(r=s.valid),o||!1!==s.valid||(o=!0,a=e)):t.hasRules&&(r&&(r=void 0),i[e]={valid:void 0,result:{},dirty:!1})}}),this.validity=i,this.dirty=n,this.valid=r,this.setFirstInvalid(a),this.validatedCount++},setFirstInvalid:function(t){var e=this;if(!t)return this.firstInvalidField=null,void(this.firstInvalidFieldIndex=-1);this.fields.some(function(i,n){if(i.fieldValue.modelKey===t)return e.firstInvalidField=i,e.firstInvalidFieldIndex=n,!0})},addField:function(t){this.fields.push(t)},destroyField:function(t){var e=this.fields.indexOf(t);this.fields.splice(e,1),this.setValidity(t.fieldValue.modelKey)}},beforeDestroy:function(){this.form=null,this.firstInvalidField=null},components:{CubeFormGroup:r.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(105)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={name:"cube-form-group",props:{legend:{type:String,default:""},fields:{type:Array,default:function(){return[]}}},beforeCreate:function(){this.form=this.$parent.form},beforeDestroy:function(){this.form=null},components:{CubeFormItem:n.default}},t.exports=e.default})},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(22),i(324),i(15),i(67),i(328),i(329)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=u(i),c=u(s),d=u(a);d.default.CubeValidator=c.default;e.default={name:"cube-form-item",props:{field:{type:Object,default:function(){return{}}}},data:function(){var t=this.field.modelKey;return{validatorDisabled:!1,isValid:void 0,modelValue:t?this.form.model[t]:null}},computed:{fieldValue:function(){return(0,n.processField)(this.field)},hasRules:function(){return(0,l.default)(this.fieldValue.rules||{}).length>0},isBtnField:function(){return"button"===this.fieldValue.type},itemClass:function(){var t=this.fieldValue.rules;return{"cube-form-item_required":t&&t.required,"cube-form-item_btn":this.isBtnField,"cube-form-item_valid":this.isValid,"cube-form-item_invalid":!1===this.isValid}},modelVal:function(){return this.form.model[this.fieldValue.modelKey]},componentName:function(){var t=this.fieldValue,e=t.component;if(e)return e;var i=t.type,n="cube-"+i;return d.default[n]?n:i}},watch:{modelVal:function(t){this.modelValue!==t&&(this.modelValue=t)},modelValue:function(t){this.form.model[this.fieldValue.modelKey]=t},isValid:function(t){this.validatorDisabled||this.updateValidity()}},beforeCreate:function(){this.form=this.$parent.form},created:function(){this.form.addField(this)},methods:{updateValidity:function(){var t=this.$refs.validator;t&&this.form.updateValidity(this.fieldValue.modelKey,t.valid,t.result,t.dirty)},validate:function(t){var e=this.$refs.validator;e&&e.validate(),this.updateValidity()},reset:function(){var t=this,e=this.fieldValue;if(e.modelKey){var i=(0,r.getResetValueByType)(e.type);this.validatorDisabled=!0,(0,o.resetTypeValue)(this,"modelValue",i),this.$refs.validator&&this.$refs.validator.reset(),this.$nextTick(function(){t.validatorDisabled=!1})}},msgClick:function(){this.$createToast&&this.$createToast({type:"warn",txt:this.$refs.validator.msg,time:1e3}).show()}},beforeDestroy:function(){this.form.destroyField(this),this.form=null},components:d.default},t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(31),i(325)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=(0,s.default)({},t);return(0,r.default)(e),e}Object.defineProperty(t,"__esModule",{value:!0}),t.processField=void 0;var s=n(e),r=n(i);t.processField=o})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(326),i(327)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t){var e=s[t.type];e&&e(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s={submit:function(t){(0,n.toButtonHandler)(t,"submit")},reset:function(t){(0,n.toButtonHandler)(t,"reset")},checkbox:function(t){(0,i.boolRequiredHandler)(t)},switch:function(t){(0,i.boolRequiredHandler)(t)},rate:function(t){(0,i.numberGT0RequiredHandler)(t)}};t.exports=e.default})},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e,i){var n=t.rules&&t.rules[e];"custom"!==e&&n&&"function"!=typeof n&&(t.rules[e]=i)},i=function(t){return function(i,n){return e(i,t,n)}}("required"),n=function(t){return i(t,function(t){return!1!==t})},o=function(t){return i(t,function(t){return t>0})};t.boolRequiredHandler=n,t.numberGT0RequiredHandler=o})},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(t,e){t.type="button",t.props||(t.props={}),t.props.type=e};t.toButtonHandler=e})},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t){var e=i[t];return e&&e()}Object.defineProperty(t,"__esModule",{value:!0});var i={checkbox:function(){return!1},select:function(){return null}};t.getResetValueByType=e})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(58),i(37),i(59),i(66),i(38),i(60),i(86),i(84),i(61),i(85),i(98)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a,u,l,c,d,f){"use strict";function h(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var p=h(i),v=h(n),m=h(o),y=h(s),x=h(r),_=h(a),g=h(u),b=h(l),w=h(c),S=h(d),T=h(f),P=[p.default,v.default,m.default,y.default,x.default,_.default,g.default,b.default,w.default,S.default,T.default],M={};P.forEach(function(t){M[t.name]=t}),e.default=M,t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-form-item border-bottom-1px",class:t.itemClass},[t.isBtnField?i("cube-button",t._b({},"cube-button",t.fieldValue.props,!1),[t._v(t._s(t.fieldValue.label))]):[t._t("label",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.fieldValue.label,expression:"fieldValue.label"}],staticClass:"cube-form-label"},[i("span",[t._v(t._s(t.fieldValue.label))])])]),t._v(" "),t.hasRules?i("cube-validator",{ref:"validator",staticClass:"cube-form-field",attrs:{disabled:t.validatorDisabled,model:t.modelValue,rules:t.fieldValue.rules,messages:t.fieldValue.messages},on:{"msg-click":t.msgClick},model:{value:t.isValid,callback:function(e){t.isValid=e},expression:"isValid"}},[t._t("default",[i(t.componentName,t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1))])],2):i("div",{staticClass:"cube-form-field"},[t._t("default",[i(t.componentName,t._b({tag:"component",model:{value:t.modelValue,callback:function(e){t.modelValue=e},expression:"modelValue"}},"component",t.fieldValue.props,!1))])],2)]],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cube-form-group"},[i("p",{staticClass:"cube-form-group-legend"},[t._v(t._s(t.legend))]),t._v(" "),i("div",{staticClass:"cube-form-group-content"},[t._t("default",t._l(t.fields,function(t,e){return i("cube-form-item",{key:e,attrs:{field:t}})}))],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("form",{ref:"form",staticClass:"cube-form",class:t.formClass,attrs:{action:t.action},on:{submit:t.submitHandler,reset:t.resetHandler}},[t._t("default",t._l(t.groups,function(t,e){return i("cube-form-group",{key:e,attrs:{fields:t.fields,legend:t.legend}})}))],2)},staticRenderFns:[]}}])}); | 34,796.666667 | 195,526 | 0.710959 |
3a01c29529a686b213ff5b01b45446fe0a31c26d | 86 | js | JavaScript | part5-bits/src/toString.js | telmanagababov/ctci | ac7eb3273ab50515fc7d446eadfdd5cdae0ddcdf | [
"Apache-2.0"
] | null | null | null | part5-bits/src/toString.js | telmanagababov/ctci | ac7eb3273ab50515fc7d446eadfdd5cdae0ddcdf | [
"Apache-2.0"
] | null | null | null | part5-bits/src/toString.js | telmanagababov/ctci | ac7eb3273ab50515fc7d446eadfdd5cdae0ddcdf | [
"Apache-2.0"
] | null | null | null | function toString(value) {
return value.toString(2);
}
module.exports = toString; | 17.2 | 29 | 0.72093 |
3a0283fb02fa6e4c817b15d4f9a96c0da329aed7 | 1,608 | js | JavaScript | server/conf.js | Papabyte/counterstake | 8ed229e436936999c37e540a1b2dbe37e1ec07d2 | [
"MIT"
] | null | null | null | server/conf.js | Papabyte/counterstake | 8ed229e436936999c37e540a1b2dbe37e1ec07d2 | [
"MIT"
] | null | null | null | server/conf.js | Papabyte/counterstake | 8ed229e436936999c37e540a1b2dbe37e1ec07d2 | [
"MIT"
] | 1 | 2020-02-20T16:57:37.000Z | 2020-02-20T16:57:37.000Z | /*jslint node: true */
"use strict";
exports.bServeAsHub = false;
exports.bLight = true;
exports.api_port = process.env.testnet ? 1300 : 1400;
exports.hub = process.env.testnet ? 'obyte.org/bb-test' : 'obyte.org/bb';
exports.min_reward_to_display = 10000000;
exports.counterstake_aa_address = process.env.testnet ? '4SZ7RR3PPWZXJ2RB27ZUPWD2AYWFB7R7' : '4SZ7RR3PPWZXJ2RB27ZUPWD2AYWFB7R7';
exports.options_base_aa_address = process.env.testnet ? "WZFFFKQR4XRFQKR6NFV7Z7ICDOS67FEX" : "";
exports.token_registry_aa_address = process.env.testnet ? "O6H6ZIFI57X3PLTYHOCVYPP5A553CYFQ" : "O6H6ZIFI57X3PLTYHOCVYPP5A553CYFQ";
exports.initial_witnesses = !process.env.testnet ? [
'BVVJ2K7ENPZZ3VYZFWQWK7ISPCATFIW3',
'2TO6NYBGX3NF5QS24MQLFR7KXYAMCIE5',
'FOPUBEUPBC6YLIQDLKL6EW775BMV7YOH',
'GFK3RDAPQLLNCMQEVGGD2KCPZTLSG3HN',
'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
'I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT',
'4GDZSXHEFVFMHCUCSHZVXBVF5T2LJHMU',
'JPQKPRI5FMTQRJF4ZZMYZYDQVRD55OTC',
'APABTE2IBKOIHLS2UNK6SAR4T5WRGH2J',
'FAB6TH7IRAVHDLK2AAWY5YBE6CEBUACF',
'TKT4UESIKTTRALRRLWS4SENSTJX6ODCW',
'UENJPVZ7HVHM6QGVGT6MWOJGGRTUTJXQ'
]
: [
'2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX',
'2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7',
'4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5',
'DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP',
'ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4',
'F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N',
'IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T',
'O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O',
'OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD',
'PA4QK46276MJJD5DBOLIBMYKNNXMUVDP',
'RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI',
'WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR'
];
console.log('finished server conf');
| 34.212766 | 130 | 0.827114 |
3a031d539bc60414a6eda08264e3cdb0708e5bff | 789 | js | JavaScript | app/containers/Impressum/index.js | djpo/auio | 4433d16fdadd01334478bcb808669f3995557aa3 | [
"MIT"
] | null | null | null | app/containers/Impressum/index.js | djpo/auio | 4433d16fdadd01334478bcb808669f3995557aa3 | [
"MIT"
] | null | null | null | app/containers/Impressum/index.js | djpo/auio | 4433d16fdadd01334478bcb808669f3995557aa3 | [
"MIT"
] | null | null | null | /*
* Impressum
*
* List all the features
*/
import React from 'react';
import ImprintMenu from '../../components/auio/menu_imprint';
import Imprint from '../../components/auio/imprint';
import ImprintFooter from '../../components/auio/footer_imprint';
export default class Impressum extends React.Component { // eslint-disable-line react/prefer-stateless-function
// Since state and props are static,
// there's no need to re-render this component
shouldComponentUpdate() {
return false;
}
render() {
return (
<div>
<ImprintMenu />
<div className='container white-bg' id='contact'>
<Imprint />
</div>
<div className='dark-bg'>
<ImprintFooter className="dark-bg"/>
</div>
</div>
);
}
}
| 23.205882 | 111 | 0.627376 |
3a032488ffebac384594fc8466e95dfe596d5d7d | 3,747 | js | JavaScript | wordpress/wp-content/plugins/wysija-newsletters/js/admin-listing.js | danielgalindo-dev/ellas-asi | cf30a04d79ff093edeac29406afde8686ee01e55 | [
"MIT"
] | null | null | null | wordpress/wp-content/plugins/wysija-newsletters/js/admin-listing.js | danielgalindo-dev/ellas-asi | cf30a04d79ff093edeac29406afde8686ee01e55 | [
"MIT"
] | 4 | 2020-05-08T23:13:51.000Z | 2020-10-02T19:06:40.000Z | wordpress/wp-content/plugins/wysija-newsletters/js/admin-listing.js | danielgalindo-dev/ellas-asi | cf30a04d79ff093edeac29406afde8686ee01e55 | [
"MIT"
] | null | null | null | jQuery(function(a){function t(){flag=!1,a(".batch-select td").children().each(function(){a(this).hasClass("display")&&(flag=!0)}),flag?a(".batch-select").show():a(".batch-select").hide()}function e(){a("#force_select_all").is(":checked")&&a(".checkboxselec, #user-id input, #force_select_all").attr("checked",!1),subscriberCount=a("#posts-filter input.checkboxselec:checked").length,a(".batch-select div.clear_select_all").removeClass("display").hide(),0<subscriberCount?a(".batch-select div.force_to_select_all_link").removeClass("display").addClass("display").show():a(".batch-select div.force_to_select_all_link").removeClass("display").hide(),t()}var i=a("#_wpnonce").attr("disabled","disabled"),s=a(".global-action");s.change(function(){var e=s.val();"delete"==e||"bulk_delete"==e?i.prop("disabled",null):i.attr("disabled","disabled")}),a(".orderlink").click(function(){return a(this).parent("th.sortable , th.sorted").click(),!1}),a("#posts-filter").submit(function(){a("#wysija-pagination").length&&parseInt(a("#wysija-pagination").val())>parseInt(a("#wysija-pagination-max").val())&&a("#wysija-pagination").val(a("#wysija-pagination-max").val())}),a(".bulksubmit").click(function(){var e=s.data("locale"),t=s.val(),l=a("#posts-filter .check-column input:checked");if(0===l.length)return alert(wysijatrans.selecmiss),!1;switch(t){case"deleteusers":if(!confirm(1===l.length?e["delete"]:e.delete_bulk))return!1}return a("<input/>",{type:"hidden",name:"action",value:s.val()}).insertAfter(a(this)),i.prop("disabled",null),a("#_wpnonce").val(a(".global-action option:selected").data("nonce")),!0}),a('.check-column input[type="checkbox"]').click(function(){}),a("#user-id").click(e),a(".checkboxselec").click(function(){a(this).is(":checked")||(a("#user-id input, #force_select_all").attr("checked",!1),a(".batch-select div.force_to_select_all_link").removeClass("display").hide(),a(".batch-select div.clear_select_all").removeClass("display").hide()),t()}),a(".force_to_select_all_link a").click(function(e){e.preventDefault(),a(".checkboxselec, #user-id input, #force_select_all").attr("checked","checked"),a(".batch-select div.force_to_select_all_link").removeClass("display").hide(),a(".batch-select div.clear_select_all").removeClass("display").addClass("display").show(),t()}),a(".clear_select_all a").click(function(){a(".batch-select div.force_to_select_all_link").removeClass("display").hide(),a(".batch-select div.clear_select_all").removeClass("display").hide(),a(".checkboxselec, #user-id input, #force_select_all").attr("checked",!1),t()}),a("th.sortable , th.sorted").click(function(){var e="";e=a(this).hasClass("sorted")?a(this).hasClass("asc")?"desc":"asc":"desc";var t=a(this).attr("id");a("#wysija-orderby").length?(a("#wysija-orderby").val(t),a("#wysija-ordert").val(e)):(a("#posts-filter").append('<input id="wysija-ordert" type="hidden" name="ordert" value="'+e+'" />'),a("#posts-filter").append('<input id="wysija-orderby" type="hidden" name="orderby" value="'+t+'" />')),a("#posts-filter").submit()}),a("a.page-numbers").click(function(){var e=a(this).attr("alt");return a("#wysija-pagination").length?a("#wysija-pagination").val(e):a("#posts-filter").append('<input id="wysija-pagination" type="hidden" name="pagi" value="'+e+'" />'),a("#posts-filter").submit(),!1}),a("a.page-limit").click(function(){var e=a(this).html();return a("#wysija-pagelimit").length?a("#wysija-pagelimit").val(e):a("#posts-filter").append('<input id="wysija-pagelimit" type="hidden" name="limit_pp" value="'+e+'" />'),a("#posts-filter").submit(),!1}),a(document).ready(function(){a("a.exported-file").length&&window.open(a("a.exported-file").attr("href"),"Download")}),a(".searchbox").blur(function(){a(this).val(trim(a(this).val()))}),t()}); | 3,747 | 3,747 | 0.692554 |
3a045e43059a5de59cd51b3119cf4496ec38d733 | 7,552 | js | JavaScript | src/processors/ReferenceProcessor.js | marksliva/facebook-business-sdk-codegen | 0e7071a860f34bbd098995ab4dc36a3db121f33b | [
"MIT"
] | 60 | 2019-05-02T06:17:57.000Z | 2022-03-29T08:52:47.000Z | src/processors/ReferenceProcessor.js | informaticacba/facebook-business-sdk-codegen | 895011fe2990f995b989911bffc450e1ec58b5ac | [
"MIT"
] | 29 | 2019-05-15T03:45:52.000Z | 2022-03-14T22:34:43.000Z | src/processors/ReferenceProcessor.js | informaticacba/facebook-business-sdk-codegen | 895011fe2990f995b989911bffc450e1ec58b5ac | [
"MIT"
] | 42 | 2019-05-06T15:39:37.000Z | 2022-02-06T18:08:39.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* @format
* @flow
*/
'use strict';
import codeGenNameConventions from './CodeGenNameConventions';
import CodeGenUtil from './CodeGenUtil';
import type {Processor} from '../common/types';
/**
* This processor handles the references between nodes and enums.
*/
const ReferenceProcessor: Processor = {
process(specs, metadata) {
const APISpecs = specs.api_specs;
const enumMetadataMap = specs.enumMetadataMap;
// add enum reference info into class specs
for (const index in enumMetadataMap) {
const enumType = enumMetadataMap[index];
const nodeName = enumType.node;
if (nodeName && APISpecs[nodeName]) {
const clsSpec = APISpecs[nodeName];
if (!clsSpec.api_spec_based_enum_reference) {
clsSpec.api_spec_based_enum_reference = [];
clsSpec.api_spec_based_enum_list = {};
}
if (clsSpec.api_spec_based_enum_list[enumType.field_or_param]) {
// already exists. do nothing
} else {
clsSpec.api_spec_based_enum_reference.push(enumType);
clsSpec.api_spec_based_enum_list[enumType.field_or_param] = true;
}
}
}
for (const clsName in APISpecs) {
const APIClsSpec = APISpecs[clsName];
codeGenNameConventions.populateNameConventions(
APISpecs[clsName],
'names',
codeGenNameConventions.parsePascalName(clsName),
);
// Initialize references based on API return types
const references = {};
if (APIClsSpec.references) {
APIClsSpec.references.forEach((ref: string) => {
const ref_cls_name = ref;
references[ref_cls_name] = true;
});
}
// Initialize field references
const fieldReferences = {};
// Process API class
APIClsSpec.node = [];
APIClsSpec.edges = [];
for (const index in APIClsSpec.apis) {
const APISpec = APIClsSpec.apis[index];
const apiReferencedEnumTypes = {};
const apiClassReferences = {};
let hasParamFields = false;
const params = APISpec.params || [];
for (const index in params) {
const paramSpec = params[index];
if (paramSpec.name === 'fields') {
hasParamFields = true;
}
if (paramSpec.type) {
paramSpec['type:short'] = paramSpec.type;
const baseType = CodeGenUtil.getBaseType(paramSpec.type);
if (APISpecs[baseType]) {
APISpecs[baseType]['can_be_data_type'] = true;
}
if (enumMetadataMap[baseType]) {
const enumParamName = paramSpec.name + '_enum';
const metadata = enumMetadataMap[baseType];
const enumType = {
name: enumParamName,
metadata: metadata,
};
codeGenNameConventions.populateNameConventions(
enumType,
'name',
codeGenNameConventions.parseUnderscoreName(enumType.name),
);
paramSpec['type:short'] = paramSpec.type.replace(
baseType,
enumParamName,
);
apiReferencedEnumTypes[baseType] = enumType;
}
}
}
// Standardize endpoints starting with "/"
if (APISpec.endpoint.charAt(0) !== '/') {
APISpec.endpoint = '/' + APISpec.endpoint;
}
// Resolve return types
const returnClsSpec = APISpecs[APISpec.return];
if (returnClsSpec) {
// Add "fields" field
if (APISpec.method === 'GET' && !hasParamFields) {
APISpec.param_fields = returnClsSpec.fields.filter(
(field: {[x: string]: mixed}) => {
return !field.is_creation_field;
},
);
} else {
APISpec.param_fields = false;
}
} else {
delete APISpec.return;
}
if (APISpec.return) {
references[APISpec.return] = true;
apiClassReferences[APISpec.return] = true;
codeGenNameConventions.populateNameConventions(
APISpec,
'return',
codeGenNameConventions.parsePascalName(APISpec.return),
);
}
if (Object.keys(apiReferencedEnumTypes).length) {
const apiReferencedEnumList = [];
for (const key in apiReferencedEnumTypes) {
apiReferencedEnumList.push(apiReferencedEnumTypes[key]);
const cls = apiReferencedEnumTypes[key]['metadata']['node'];
if (cls) {
apiClassReferences[cls] = true;
}
}
APISpec.referred_enums = apiReferencedEnumList;
}
APISpec.referred_classes = [];
for (const refName in apiClassReferences) {
if (refName !== clsName) {
const refObj = {};
codeGenNameConventions.populateNameConventions(
refObj,
'name',
codeGenNameConventions.parsePascalName(refName),
'api-ref:',
);
APISpec.referred_classes.push(refObj);
}
}
if (APISpec.is_node_api === true) {
APIClsSpec.node.push(APISpec);
} else {
APIClsSpec.edges.push(APISpec);
}
}
// Process references
APIClsSpec.references = [];
for (const refName in references) {
// no self-reference
// no self-reference after overrides
if (refName !== clsName && refName !== APIClsSpec.name) {
const refObj = {};
codeGenNameConventions.populateNameConventions(
refObj,
'name',
codeGenNameConventions.parsePascalName(refName),
'ref:',
);
APIClsSpec.references.push(refObj);
}
}
// Pure data type or not
const isDataType = !APIClsSpec.apis || APIClsSpec.apis.length == 0;
APIClsSpec.data_type = isDataType;
// Process fields of current object
let hasIdField = false;
for (const index in APIClsSpec.fields) {
const fieldSpec = APIClsSpec.fields[index];
if (fieldSpec.name === 'id') {
hasIdField = true;
fieldSpec.is_id_field = true;
}
const referenceType = getReferenceType(fieldSpec.type, APISpecs);
if (referenceType !== null && referenceType !== undefined) {
fieldReferences[referenceType] = true;
}
}
// Process references
APIClsSpec.field_references = [];
for (const refName in fieldReferences) {
// no self-reference
// no self-reference after overrihs
if (refName !== clsName && refName !== APIClsSpec.name) {
const refObj = {};
codeGenNameConventions.populateNameConventions(
refObj,
'name',
codeGenNameConventions.parsePascalName(refName),
'ref:',
);
APIClsSpec.field_references.push(refObj);
}
}
if (!isDataType && !hasIdField) {
throw Error('Root nodes ' + clsName + ' must have the "id" field!');
}
}
return specs;
},
};
const getReferenceType = (type: string, APISpecs: any) => {
if (type) {
const referenceType = CodeGenUtil.getBaseType(type);
if (referenceType in APISpecs) {
return referenceType;
}
}
return null;
};
export default ReferenceProcessor;
| 31.078189 | 76 | 0.569783 |
3a04df8dd0f46ea250c4ba853e54879689880a97 | 191 | js | JavaScript | sample-report/data/44953json_byLicense.js | chavirat/2.-The-Open-Source-Software-Audit-Report- | 088df11064313f438be268df5aad9f542cd88a3c | [
"MIT"
] | null | null | null | sample-report/data/44953json_byLicense.js | chavirat/2.-The-Open-Source-Software-Audit-Report- | 088df11064313f438be268df5aad9f542cd88a3c | [
"MIT"
] | null | null | null | sample-report/data/44953json_byLicense.js | chavirat/2.-The-Open-Source-Software-Audit-Report- | 088df11064313f438be268df5aad9f542cd88a3c | [
"MIT"
] | null | null | null | var json_byLicense = [{"LicenseType":"Copyleft","Files":4728},{"LicenseType":"Copyleft Weak","Files":461},{"LicenseType":"Permissive","Files":6313},{"LicenseType":"Proprietary","Files":1276}] | 191 | 191 | 0.717277 |
3a05a06fdff2ab0a7c3635a085e7d16864ae2aa0 | 205 | js | JavaScript | tests/css/tokentextarea/tokentextarea_core.js | web-ui-fw/web-ui-fw | 43a04ef42a447158868753fd460e062c985fb665 | [
"MIT"
] | null | null | null | tests/css/tokentextarea/tokentextarea_core.js | web-ui-fw/web-ui-fw | 43a04ef42a447158868753fd460e062c985fb665 | [
"MIT"
] | null | null | null | tests/css/tokentextarea/tokentextarea_core.js | web-ui-fw/web-ui-fw | 43a04ef42a447158868753fd460e062c985fb665 | [
"MIT"
] | null | null | null | test( "Block with long text is truncated", function() {
var input = $( "#test-ellipsize" );
ok( input.prev().outerWidth() <= input.parent().width(),
"block width does not exceed wrapper width" );
});
| 29.285714 | 57 | 0.64878 |
3a05faafc93233fd9766196815511023c188658a | 3,836 | js | JavaScript | scripts/projects.js | FlorianLeChat/Portfolio | 5bad4efe69bf886bd263db1d8d8c241214e3b664 | [
"MIT"
] | null | null | null | scripts/projects.js | FlorianLeChat/Portfolio | 5bad4efe69bf886bd263db1d8d8c241214e3b664 | [
"MIT"
] | null | null | null | scripts/projects.js | FlorianLeChat/Portfolio | 5bad4efe69bf886bd263db1d8d8c241214e3b664 | [
"MIT"
] | null | null | null | //
// Permet de contrôler le défilement des photos de la galerie des projets.
//
const arrows = document.querySelectorAll( "article div.images" );
for ( const arrow of arrows.values() )
{
// Afin de revenir à une image précédente.
arrow.firstElementChild.addEventListener( "click", function ( event )
{
// On récupère toutes les images de la section où s'est produit le clic.
const identifier = event.target.parentNode.parentNode.id;
const images = document.querySelectorAll( `article#${ identifier } div.images div` );
const length = images.length - 1;
let indice = 0;
for ( const image of images.values() )
{
// On détermine si le conteneur est actuellement caché ou non.
const hidden = window.getComputedStyle( image ).display == "none" || image.style.display == "none";
if ( !hidden )
{
// Si l'image n'est pas caché, on casse la boucle et on fait
// en sorte de cacher l'image actuelle pour afficher celle
// qui l'a précède dans l'arborescence du document.
const previous = images[ indice - 1 ] || images[ length ];
previous.style.display = "inline-block";
image.style.display = "none";
// Mise à jour de la position des flèches de contrôle.
updatePosition();
return;
}
indice++;
}
} );
// Afin de passer à une image suivante.
arrow.lastElementChild.addEventListener( "click", function ( event )
{
// On récupère toutes les images de la section où s'est produit le clic.
const identifier = event.target.parentNode.parentNode.id;
const images = document.querySelectorAll( `article#${ identifier } div.images div` );
let indice = 0;
for ( const image of images.values() )
{
// On détermine si le conteneur est actuellement caché ou non.
const hidden = window.getComputedStyle( image ).display == "none" || image.style.display == "none";
if ( !hidden )
{
// Si l'image n'est pas caché, on casse la boucle et on fait
// en sorte de cacher l'image actuelle pour afficher celle
// qui l'a suit dans l'arborescence du document.
const next = images[ indice + 1 ] || images[ 0 ];
image.style.display = "none";
next.style.display = "inline-block";
// Mise à jour de la position des flèches de contrôle.
updatePosition();
return;
}
indice++;
}
} );
}
//
// Permet de contrôler la position horizontale et verticale
// des images de sélection des images.
// Note : ceci est un correctif temporaire le temps de trouver
// la solution en CSS de manière plus propre.
//
function updatePosition( _event )
{
// On vérifie la longueur de la zone d'affiche.
if ( window.innerWidth > 1280 )
{
// Si l'écran est assez grand, on met à jour la position
// des deux images.
for ( const arrow of arrows.values() )
{
// Récupération des deux éléments.
const left = arrow.firstElementChild;
const right = arrow.lastElementChild;
// Récupération des dimensions du conteneur et de l'image
// pour calculer le décalage à appliquer.
const imageHeight = left.offsetHeight;
const containerHeight = arrow.offsetHeight;
const offset = ( containerHeight / 2 ) - ( imageHeight / 2 );
// Application des décalages aux images.
left.style.position = "relative";
left.style.top = `${ offset }px`;
right.style.position = "relative";
right.style.top = `${ offset }px`;
}
}
else
{
// Dans le cas contraire, on supprime nos correctifs
// et on laisse le CSS gérer de son côté.
for ( const arrow of arrows.values() )
{
arrow.firstElementChild.removeAttribute( "style" );
arrow.lastElementChild.removeAttribute( "style" );
}
}
}
window.addEventListener( "load", updatePosition ); // Mise à jour après le chargement complet de la page.
window.addEventListener( "resize", updatePosition ); // Mise à jour lors de chaque redimensionnement. | 30.688 | 105 | 0.682742 |
3a060b221f40394edeadf953912738bc378fee09 | 4,286 | js | JavaScript | src/Form.js | mikeries/react-validation-tutorial | 50661cc7ba08eeb2de4fb5809df0d1d1c24ba1c8 | [
"MIT"
] | 61 | 2017-09-11T02:06:08.000Z | 2021-10-15T19:53:00.000Z | src/Form.js | mikeries/react-validation-tutorial | 50661cc7ba08eeb2de4fb5809df0d1d1c24ba1c8 | [
"MIT"
] | 5 | 2018-05-04T19:49:55.000Z | 2021-08-06T20:23:46.000Z | src/Form.js | mikeries/react-validation-tutorial | 50661cc7ba08eeb2de4fb5809df0d1d1c24ba1c8 | [
"MIT"
] | 25 | 2018-03-29T12:37:58.000Z | 2020-05-04T04:28:09.000Z | import React, { Component } from 'react';
import './Form.css';
import FormValidator from './FormValidator';
class Form extends Component {
constructor() {
super();
this.validator = new FormValidator([
{
field: 'email',
method: 'isEmpty',
validWhen: false,
message: 'Email is required.'
},
{
field: 'email',
method: 'isEmail',
validWhen: true,
message: 'That is not a valid email.'
},
{
field: 'phone',
method: 'isEmpty',
validWhen: false,
message: 'Pleave provide a phone number.'
},
{
field: 'phone',
method: 'matches',
args: [/^\(?\d\d\d\)? ?\d\d\d-?\d\d\d\d$/], // args is an optional array of arguements that will be passed to the validation method
validWhen: true,
message: 'That is not a valid phone number.'
},
{
field: 'password',
method: 'isEmpty',
validWhen: false,
message: 'Password is required.'
},
{
field: 'password_confirmation',
method: 'isEmpty',
validWhen: false,
message: 'Password confirmation is required.'
},
{
field: 'password_confirmation',
method: this.passwordMatch, // notice that we are passing a custom function here
validWhen: true,
message: 'Password and password confirmation do not match.'
}
]);
this.state = {
email: '',
phone: '',
password: '',
password_confirmation: '',
validation: this.validator.valid(),
}
this.submitted = false;
}
passwordMatch = (confirmation, state) => (state.password === confirmation)
handleInputChange = event => {
event.preventDefault();
this.setState({
[event.target.name]: event.target.value,
});
}
handleFormSubmit = event => {
event.preventDefault();
const validation = this.validator.validate(this.state);
this.setState({ validation });
this.submitted = true;
if (validation.isValid) {
// handle actual form submission here
}
}
render() {
let validation = this.submitted ? // if the form has been submitted at least once
this.validator.validate(this.state) : // then check validity every time we render
this.state.validation // otherwise just use what's in state
return (
<form className="demoForm">
<h2>Sign up</h2>
<div className={validation.email.isInvalid && 'has-error'}>
<label htmlFor="email">Email address</label>
<input type="email" className="form-control"
name="email"
placeholder="john@doe.com"
onChange={this.handleInputChange}
/>
<span className="help-block">{validation.email.message}</span>
</div>
<div className={validation.phone.isInvalid && 'has-error'}>
<label htmlFor="phone">Phone</label>
<input type="phone" className="form-control"
name="phone"
placeholder="(xxx)xxx-xxxx"
onChange={this.handleInputChange}
/>
<span className="help-block">{validation.phone.message}</span>
</div>
<div className={validation.password.isInvalid && 'has-error'}>
<label htmlFor="password">Password</label>
<input type="password" className="form-control"
name="password"
onChange={this.handleInputChange}
/>
<span className="help-block">{validation.password.message}</span>
</div>
<div className={validation.password_confirmation.isInvalid && 'has-error'}>
<label htmlFor="password_confirmation">Password Again</label>
<input type="password" className="form-control"
name="password_confirmation"
onChange={this.handleInputChange}
/>
<span className="help-block">{validation.password_confirmation.message}</span>
</div>
<button onClick={this.handleFormSubmit} className="btn btn-primary">
Sign up
</button>
</form>
)
}
}
export default Form; | 30.183099 | 139 | 0.566029 |
3a060c5a7ed4663870740ec864cd6812577ffbf6 | 2,007 | js | JavaScript | fitness/src/components/ClassList.js | BW-Anywhere-Fitness-4/fe | a32f002f607931b749d19136ae23591c191e836e | [
"MIT"
] | null | null | null | fitness/src/components/ClassList.js | BW-Anywhere-Fitness-4/fe | a32f002f607931b749d19136ae23591c191e836e | [
"MIT"
] | 4 | 2020-07-31T00:12:16.000Z | 2020-07-31T20:16:12.000Z | fitness/src/components/ClassList.js | BW-Anywhere-Fitness-4/fe | a32f002f607931b749d19136ae23591c191e836e | [
"MIT"
] | 2 | 2020-08-04T02:15:52.000Z | 2020-09-24T17:20:04.000Z | import React from "react";
import {Link} from 'react-router-dom';
import axiosWithAuth from '../utils/axiosWithAuth'
import styled from "styled-components";
const StyledLink2 = styled(Link)`
background-color: white;
border: none;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
margin-left: 15px;
margin-right: 40px;
`;
class ClassList extends React.Component {
state = {
classes: []
}
componentDidMount(){
this.getData();
}
getData=()=>{
axiosWithAuth()
.get("/api/classes")
.then(res =>{
console.log(res);
this.setState({
classes: res.data
})
})
.catch(err=>console.log(err))
}
clicksubmit=(id)=>{
this.props.history.push(`/classEdit/${id}`)
}
render(){
return(
<div className="ClassListpage">
<StyledLink2 to="/addClass">Add Class</StyledLink2>
{this.state.classes.map(classes =>{
return(
<div className="box">
<div key={classes.class_id} onClick={()=>{this.clicksubmit(classes.class_id)}} >
<h4>Class name: {classes.class_name}</h4>
<p>Instructor name: {classes.instructor}</p>
<p>Class date: {classes.class_date}</p>
<p>Class time: {classes.class_time}</p>
<p>Class Duration: {classes.duration}</p>
<p>Class Location: {classes.location}</p>
<p>Class Intensity: {classes.intensity}</p>
<p>Currently enrolled in class: {classes.number_of_attendees}</p>
<p>Max class Participants: {classes.max_class_size}</p>
</div>
</div>
)
})}
</div>
)
}
}
export default ClassList;
| 26.064935 | 104 | 0.503239 |
3a07831f540152c82f968eb2fe60f7256b4a6bb8 | 2,862 | js | JavaScript | web/js/cfm_main.js | SCECcode/CFM_web | b8e1c0aee84ea0dde552798284f6adbda957ffc7 | [
"BSD-3-Clause"
] | 1 | 2019-08-16T18:13:50.000Z | 2019-08-16T18:13:50.000Z | web/js/cfm_main.js | SCECcode/CFM_web | b8e1c0aee84ea0dde552798284f6adbda957ffc7 | [
"BSD-3-Clause"
] | 3 | 2019-04-08T20:30:12.000Z | 2020-09-08T22:11:30.000Z | web/js/cfm_main.js | SCECcode/CFM_web | b8e1c0aee84ea0dde552798284f6adbda957ffc7 | [
"BSD-3-Clause"
] | 2 | 2019-04-27T07:56:28.000Z | 2019-10-28T20:25:20.000Z | var viewermap;
jQuery(document).ready(function() {
frameHeight=window.innerHeight;
frameWidth=window.innerWidth;
viewermap=setup_viewer();
/****
$("#view3d-all").on('click',function() {
$('#view3DIfram').attr('src',"http:localhost:9999/?name=[WTRA-USAV-INDH-Indian_Hill_fault-CFM5.stl,WTRA-USAV-SNJH-San_Jose_fault-CFM5.stl,WTRA-USAV-UPLD-Upland_fault_dipslip-CFM1.stl,WTRA-USAV-WLNC-Walnut_Creek_fault-CFM5.stl]&url=[http://localhost:9999/cfm_data/WTRA-USAV-INDH-Indian_Hill_fault-CFM5.stl,http://localhost:9999/cfm_data/WTRA-USAV-SNJH-San_Jose_fault-CFM5.stl,http://localhost:9999/cfm_data/WTRA-USAV-UPLD-Upland_fault_dipslip-CFM1.stl,http://localhost:9999/cfm_data/WTRA-USAV-WLNC-Walnut_Creek_fault-CFM5.stl]");
});
****/
// special handle keyword's input completion
$('#keywordTxt').on("focus", function() {
// window.console.log("XXX in keyword input after focus->", event.type);
$('#keywordTxt').on("blur mouseout", function(event) {
$('#keywordTxt').off("mouseout");
$('#keywordTxt').off("blur");
// window.console.log("XXX in keyword input with ->", $(this).val());
if( $(this).val() != '' ) {
searchByKeyword();
}
$('#keywordTxt').blur();
});
});
$('.strike-item').on("focus", function() {
$('.strike-item').on("blur mouseout", function() {
$('.strike-item').off("mouseout");
$('.strike-item').off("blur");
if( $(this).val() != '' ) {
setupSearchByStrike();
}
$(this).blur();
});
});
$('.dip-item').on("focus", function() {
$('.dip-item').on("blur mouseout", function() {
$('.dip-item').off("mouseout");
$('.dip-item').off("blur");
if( $(this).val() != '' ) {
setupSearchByDip();
}
$(this).blur();
});
});
$('.latlon-item').on("focus", function() {
$('.latlon-item').on("blur mouseout", function() {
$('.latlon-item').off("mouseout");
$('.latlon-item').off("blur");
if( $(this).val() != '' ) {
searchByLatlon(0);
}
$(this).blur();
});
});
$("#search-filter-type").change(function () {
var funcToRun = $(this).val();
if (funcToRun != "") {
window[funcToRun]();
}
});
// call modal, when sharelink-container got changed
const watchShareLink = document.getElementById("shareLink-container");
const shareObserver = new MutationObserver(function() {
console.log('callback that runs when observer is triggered');
$('#modalshare').modal('show');
});
shareObserver.observe(watchShareLink, {subtree: true, childList: true});
$("#search-filter-type").trigger("change");
/** MAIN setup **/
getGeoTraceList();
getAllTraces();
setupSearch();
addDownloadSelect();
setup_info3dTable();
setup_warn3dTable();
}); // end of MAIN
| 30.446809 | 533 | 0.592593 |
3a098276ca524013db044248ae65e4b539d99e2a | 854 | js | JavaScript | scraper/check-duplicates.js | automaidan/judges | c7bdfc763a15805904aaddfa743db7ac04298218 | [
"MIT"
] | 4 | 2016-05-21T20:02:54.000Z | 2022-02-06T15:00:44.000Z | scraper/check-duplicates.js | automaidan/judges | c7bdfc763a15805904aaddfa743db7ac04298218 | [
"MIT"
] | 97 | 2016-05-20T16:18:22.000Z | 2022-03-02T02:51:10.000Z | scraper/check-duplicates.js | automaidan/judges | c7bdfc763a15805904aaddfa743db7ac04298218 | [
"MIT"
] | 4 | 2016-08-04T12:53:07.000Z | 2017-01-30T02:03:14.000Z |
const _ = require('lodash');
const input = require('./input');
const output = require('./output');
const personModel = require('./input/person.json');
/**
*
* @param {Array} persons
* @returns {Array}
*/
module.exports = function checkDuplicates(persons) {
console.log(`Stop the Attack of the Clones. There are ${persons.length} persons.`);
const uniq = persons
.map(person => ({ count: 1, name: person[personModel.name] }))
.reduce((a, b) => {
a[b.name] = (a[b.name] || 0) + b.count;
return a;
}, {});
const duplicates = Object.keys(uniq).filter(a => uniq[a] > 1);
if (_.size(duplicates)) {
console.log('... clones win.');
_.forEach(duplicates, (duplicate) => {
if (uniq[duplicate] > 2) {
console.log(`More then 2 ${uniq[duplicate]} ${duplicate}`);
}
});
}
return persons;
};
| 25.117647 | 85 | 0.587822 |
3a0a70ba711b99de3e765a526a2af21e7f86285f | 2,905 | js | JavaScript | src/components/Settings/Index.js | hao123-fe/weeport | 7777b382d3e8449493351573e578afbbc263781c | [
"MIT"
] | 15 | 2017-07-31T03:24:04.000Z | 2021-12-29T02:16:57.000Z | src/components/Settings/Index.js | hao123-fe/weeport | 7777b382d3e8449493351573e578afbbc263781c | [
"MIT"
] | null | null | null | src/components/Settings/Index.js | hao123-fe/weeport | 7777b382d3e8449493351573e578afbbc263781c | [
"MIT"
] | 2 | 2019-12-29T14:17:26.000Z | 2021-12-29T02:17:00.000Z | import React from 'react'
import {connect} from 'react-redux'
import {load, save} from '@/lib/storage.js'
import {changeConfig} from '@/store/actions.js'
import SettingTextBox from './SettingTextBox.js'
import PropTypes from 'prop-types'
import {Button, Toast} from 'react-uwp'
class Settings extends React.Component {
static contextTypes = {
theme: PropTypes.object
}
static propTypes = {
dispatch: PropTypes.func,
config: PropTypes.object
}
constructor () {
super()
this.state = {
showToast: false,
toastText: '',
toastTitle: ''
}
this.importData = this.importData.bind(this)
this.exportData = this.exportData.bind(this)
this.openToast = this.openToast.bind(this)
}
openToast (title = '', text = '') {
this.setState({
toastTitle: title,
toastText: text,
showToast: true
})
}
importData (e) {
const reader = new global.FileReader()
reader.onload = e => {
try {
const data = JSON.parse(e.target.result)
save('reports', data)
this.openToast('导入数据', '导入成功。')
} catch (e) {
this.openToast('导入数据', '导入失败,请检查数据格式是否正确。')
}
}
reader.readAsText(e.target.files[0])
}
exportData () {
const $download = document.createElement('a')
$download.download = '周报.json'
$download.href = `data:application/json;charset=UTF-8,${encodeURIComponent(JSON.stringify(load('reports')))}`
document.body.appendChild($download)
$download.click()
document.body.removeChild($download)
this.openToast('导出数据', '导出成功。')
}
render () {
const {dispatch, config} = this.props
const {showToast, toastText, toastTitle} = this.state
const {theme} = this.context
const data = config.toJS()
const {reportName, userName} = data
return <section className={'content'}>
<Toast
title={toastTitle}
description={toastText}
showCloseIcon
defaultShow={showToast}
onToggleShowToast={showToast => this.setState({showToast})}
closeDelay={3000}
/>
<div style={{background: theme.acrylicTexture60.background, padding: '20px'}}>
<h1 style={{borderBottom: `2px solid ${theme.listAccentLow}`}}>设置</h1>
<SettingTextBox placeholder={'周报名称'} value={reportName} onChange={e => dispatch(changeConfig({key: 'reportName', value: e.target.value}))} />
<SettingTextBox placeholder={'周报所属人姓名'} value={userName} onChange={e => dispatch(changeConfig({key: 'userName', value: e.target.value}))} />
<Button className={'form-control'} onClick={this.exportData}>导出数据</Button>
<Button className={'form-control'}>
导入数据
<input className={'file-selector'} type={'file'} onChange={this.importData}
/>
</Button>
</div>
</section>
}
}
export default connect(state => ({
config: state.config
}))(Settings)
| 32.277778 | 149 | 0.633735 |
3a0b8bbcec47f7a4ff3fb547d56a148b57b2b4b9 | 3,613 | js | JavaScript | js/datatable-tabletop-load.js | afolabi121/lawpavilion_crm | 23b63caed9500b6daf600a23defc98ee6a51c028 | [
"MIT"
] | null | null | null | js/datatable-tabletop-load.js | afolabi121/lawpavilion_crm | 23b63caed9500b6daf600a23defc98ee6a51c028 | [
"MIT"
] | null | null | null | js/datatable-tabletop-load.js | afolabi121/lawpavilion_crm | 23b63caed9500b6daf600a23defc98ee6a51c028 | [
"MIT"
] | null | null | null | // URL beginning and end, which will be used with the key
// To give Tabletop a URL
var google_docs_one = 'https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=';
var google_docs_two = '&output=html';
// Google Docs spreadsheet key
var spreadsheet_key = '1hHJJmRBA1D6-g9wtfvnjvsndP-NxgyzOmFJBC8L2PPQ';
// Template sources and what DIVs they will appear in
var templates = [
{
"templatesource": "#datatable-template",
"templatehtml": "#searchable-table tbody",
"sheet": "Sheet1"
}
];
// DataTables formatting options
// More options: http://datatables.net/plug-ins/sorting
// Formatted numbers: i.e. numbers with commas
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"formatted-num-pre": function ( a ) {
a = (a === "-" || a === "") ? 0 : a.replace( /[^\d\-\.]/g, "" );
return parseFloat( a );
},
"formatted-num-asc": function ( a, b ) {
return a - b;
},
"formatted-num-desc": function ( a, b ) {
return b - a;
}
});
// Currency
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"currency-pre": function ( a ) {
a = (a==="-") ? 0 : a.replace( /[^\d\-\.]/g, "" );
return parseFloat( a );
},
"currency-asc": function ( a, b ) {
return a - b;
},
"currency-desc": function ( a, b ) {
return b - a;
}
});
// Percentages
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"percent-pre": function ( a ) {
var x = (a == "-") ? 0 : a.replace( /%/, "" );
return parseFloat( x );
},
"percent-asc": function ( a, b ) {
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
},
"percent-desc": function ( a, b ) {
return ((a < b) ? 1 : ((a > b) ? -1 : 0));
}
});
// Load up the DataTable
function loadDataTable() {
// Load Datatables after Tabletop is loaded
$('#searchable-table').dataTable({
"bAutoWidth": false,
"oLanguage": {
"sLengthMenu": "_MENU_ records per page"
},
"iDisplayLength": 25,
"aaSorting": [[ 0, "asc" ]],
"aoColumns": [
{
"sWidth": "30%"
// "sType": "formatted-num"
},{
"sWidth": "23%"
// "sType": "formatted-num"
},{
"sWidth": "23%"
// "sType": "formatted-num"
},{
"sWidth": "23%"
// "sType": "formatted-num"
}
],
// Fix thead to top of page when scrolling past it
"initComplete": function(settings, json) {
$('#searchable-table').show();
}
});
// Close loadDataTable
};
// Use Handlebars to load data from Tabletop to page
function loadToDOM(tabletop_data, tabletop) {
// Loop through templates
_.each(templates, function(element, num_templates) {
// Grab HTML of template and compile with Handlebars
var template_html = element['templatehtml'];
var source = $(element["templatesource"] + "").html();
var sheet = element["sheet"];
var handlebarscompile = Handlebars.compile(source);
// Render the templates onto page
$(template_html).append(handlebarscompile( tabletop.sheets(sheet) ));
// Close each statement
}, this);
loadDataTable();
}
// Pull data from Google spreadsheet via Tabletop
function initializeTabletopObject(){
Tabletop.init({
key: google_docs_one + spreadsheet_key + google_docs_two,
callback: loadToDOM,
simpleSheet: false,
debug: false
});
}
// Load Tabletop
initializeTabletopObject(); | 28.226563 | 87 | 0.550789 |
3a0bb6bdc3882ee958f9ae070d165939bb403403 | 2,107 | js | JavaScript | src/pages/ForgotPasswordPage/ForgotPasswordPage.js | farizfrp/Anfield-Collection | ad7bdd24cb5a002a4062f527efcb5b490c494740 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | src/pages/ForgotPasswordPage/ForgotPasswordPage.js | farizfrp/Anfield-Collection | ad7bdd24cb5a002a4062f527efcb5b490c494740 | [
"CC-BY-3.0",
"Apache-2.0"
] | 4 | 2021-05-08T12:42:35.000Z | 2022-02-10T18:24:04.000Z | src/pages/ForgotPasswordPage/ForgotPasswordPage.js | farizfrp/Anfield-Collection | ad7bdd24cb5a002a4062f527efcb5b490c494740 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | import React, { Component } from 'react';
import { Text, View, Image, ScrollView, TextInput, Button ,StyleSheet,Alert} from 'react-native';
import firebase from 'react-native-firebase';
import {Actions} from 'react-native-router-flux';
state = {
email: '',
}
export default class ForgotPasswordPage extends Component {
onReset(){
firebase.auth().sendPasswordResetEmail(this.state.email).then(function() {
Actions.login(); Alert.alert('Link Reset Password Sudah Dikirim ,Cek Email Anda . ..');
// Email sent.
}).catch(function(error) {
Alert(error);
});
}
render(){
return (
<View style={{ flex: 1 }}>
<View style={{ flex: 1, backgroundColor: "white" }}>
<View style={styles.borderContainer}>
<View style={{ marginHorizontal:30,marginVertical:30 }}>
<Text style={{ fontSize: 25 }}>Reset </Text>
<Text style={{color:"grey"}}>Type Your Email Address </Text>
<View style={{marginVertical:10}}></View>
</View>
<View style={{ marginHorizontal: 30}}>
<Text>Email</Text>
<TextInput onChangeText={(email) => this.setState({email})}placeholder="haha@example.com" style={ styles.TextInputStyles} />
</View>
<View style={{ marginHorizontal: 35,borderRadius:20,marginVertical:10}}>
<Button
title="Reset"
color="red"
onPress={() => this.onReset()}
/>
</View>
</View>
</View>
</View>
)
}}
const styles = StyleSheet.create({
borderContainer: {
borderWidth:2,
borderRadius:20,
borderColor: "red",
height: 500,
marginHorizontal: 40,
marginTop:30
},
TextInputStyles : {
borderBottomWidth: 2,
borderColor: "red"
}
});
| 28.863014 | 148 | 0.504509 |
3a0c0c4945b21ba4207c00ce1dab072bd361f930 | 636 | js | JavaScript | docs/search/typedefs_0.js | Kautenja/CBOE-emulator | b4544cf61b938f2db98df107371954b8fdda130f | [
"MIT"
] | null | null | null | docs/search/typedefs_0.js | Kautenja/CBOE-emulator | b4544cf61b938f2db98df107371954b8fdda130f | [
"MIT"
] | null | null | null | docs/search/typedefs_0.js | Kautenja/CBOE-emulator | b4544cf61b938f2db98df107371954b8fdda130f | [
"MIT"
] | null | null | null | var searchData=
[
['capital_517',['Capital',['../namespace_order_entry_1_1_l_o_b.html#a4cd9155cceb6d68471682147c8ae9c0f',1,'OrderEntry::LOB']]],
['clientcapital_518',['ClientCapital',['../namespace_order_entry.html#a1709e41be615a915778d8c15861faa18',1,'OrderEntry']]],
['clientshares_519',['ClientShares',['../namespace_order_entry.html#ac7056de9ae3b5ef2c9e97cfcc2962bc3',1,'OrderEntry']]],
['count_520',['Count',['../namespace_data_feed_1_1_l_o_b.html#a978daf3ce8c6eef5b11ef13e73134512',1,'DataFeed::LOB::Count()'],['../namespace_order_entry_1_1_l_o_b.html#a08f5700ecd5115eb2cc3d419a10bb0a8',1,'OrderEntry::LOB::Count()']]]
];
| 79.5 | 235 | 0.775157 |
3a0cb3f15ba9e5c36afa1e70895ffa429df67243 | 238 | js | JavaScript | js/p5-settings/html/main.js | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | null | null | null | js/p5-settings/html/main.js | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | 23 | 2020-08-15T15:18:32.000Z | 2022-02-26T13:49:05.000Z | js/p5-settings/html/main.js | mp5maker/library | b4d2eea70ae0da9d917285569031edfb4d8ab9fc | [
"MIT"
] | null | null | null | var p = "";
function setup() {
createCanvas(windowWidth, windowHeight);
p = createP("Hello, I am a paragraph")
frameRate(1);
}
function draw() {
/* Clear Rect */
p.position(random(windowWidth), random(windowHeight))
} | 21.636364 | 57 | 0.642857 |
3a0cb88bca301fd79af7f4cef26822e8f3c96b6b | 4,170 | js | JavaScript | G6/Class03/Code_From_Class/script.js | NakovaJ/skwd9-04-ajs | a47c0c6b83c10182c0cce1554006a361c0d6f6cc | [
"MIT"
] | 6 | 2021-02-16T08:07:57.000Z | 2021-03-03T14:41:20.000Z | G6/Class03/Code_From_Class/script.js | NakovaJ/skwd9-04-ajs | a47c0c6b83c10182c0cce1554006a361c0d6f6cc | [
"MIT"
] | null | null | null | G6/Class03/Code_From_Class/script.js | NakovaJ/skwd9-04-ajs | a47c0c6b83c10182c0cce1554006a361c0d6f6cc | [
"MIT"
] | 15 | 2021-02-06T09:04:22.000Z | 2021-03-19T18:59:28.000Z | // JSON
// let person = {
// "firstName": "John",
// "lastName": "Doe",
// "address": {
// "street": "John Doe's street",
// "number": 1000
// },
// "age": 50,
// "isAlcoholic": false,
// "friends": [
// {
// "firstName": "Bob",
// "lastName": "Bobsky",
// "age": 22,
// "isAlcoholic": true,
// "adress": {
// "street": "Bob Bosky's street",
// "number": 222
// },
// "friends": []
// }
// ]
// }
// let stringifiedPerson = JSON.stringify(person);
// let convertedPerson = JSON.parse(stringifiedPerson);
// console.log(convertedPerson.firstName);
// console.log(typeof(stringifiedPerson)); // string
// console.log(stringifiedPerson.firstName); // undefined
// AJAX
let button = document.getElementById("btn");
let animalContainer = document.getElementById("animal-info");
// let counter = 1;
// button.addEventListener("click", function() {
// // XmlHttpRequest => integrated tool in browsers for making AJAX requests
// let ourRequest = new XMLHttpRequest();
// ourRequest.open("GET", `https://learnwebcode.github.io/json-example/animals-${counter}.json`);
// ourRequest.onload = function () {
// if(ourRequest.status >= 200 && ourRequest.status < 300) {
// // console.log(ourRequest.responseText) => JSON STRING
// // WITH VANILA JS WE NEED TO CONVERT THE JSON STRING
// let response = JSON.parse(ourRequest.responseText);
// // console.log(response);
// renderAnimalsHTML(response)
// } else {
// alert(`Something went wrong with the request. Recieved status: ${ourRequest.status}`)
// }
// }
// ourRequest.send();
// counter++;
// if(counter > 3 ){
// button.style.display = "none";
// }
// })
// $(document).ready(function() {
// let button = $("#btn");
// let animalContainer = $("#animal-info");
// let counter = 4;
// button.click(function(){
// $.ajax({
// method: "GET",
// url: `https://learnwebcode.github.io/json-example/animals-${counter}.json`,
// success: function(response) {
// // JQUERY PARSES THE JSON STRING AUTOMATICALLY
// console.log(response);
// },
// error: function(error) {
// console.log(`REQUEST FAILED. STATUS: ${error.status}`)
// }
// })
// })
// })
button.addEventListener("click", function() {
fetch("https://learnwebcode.github.io/json-example/animals-1.json").then(function (response) {
console.log(response)
return response.json();
}).then(function (animals) {
renderAnimalsHTML(animals)
})
.catch(function(error) {
console.log(error)
})
})
function renderAnimalsHTML (animals) {
for(let animal of animals) {
let animalBasicInfo = document.createElement("p");
animalBasicInfo.textContent = `${animal.name} is a ${animal.species}. ${animal.name} likes: `;
for (let i = 0 ; i < animal.foods.likes.length; i++) {
if( i === 0) {
animalBasicInfo.textContent += animal.foods.likes[i]
} else {
animalBasicInfo.textContent += ` and ${animal.foods.likes[i]}`
}
}
animalBasicInfo.textContent += `. ${animal.name} dislikes: `;
for (let i = 0 ; i < animal.foods.dislikes.length; i++) {
if( i === 0) {
animalBasicInfo.textContent += animal.foods.dislikes[i]
} else {
animalBasicInfo.textContent += ` and ${animal.foods.dislikes[i]}`
}
}
animalContainer.appendChild(animalBasicInfo);
}
}
// PROMISE
// let promise = new Promise(function(resolve, reject) {
// let sum = 1 + 1;
// if (sum === 2) {
// resolve("SUCCESS");
// } else {
// reject("ERROR");
// }
// })
// promise.then(function (response) {
// console.log(response)
// }).catch(function(error) {
// console.log(error)
// })
| 28.758621 | 102 | 0.53717 |
3a0e50796ccf760e57c8eb762f2061eb619393f4 | 709 | js | JavaScript | src/pages/index.js | eadehemingway/national-populism | b964fe24de4b3cfa1ccb39107db29c81ff976ddb | [
"MIT"
] | null | null | null | src/pages/index.js | eadehemingway/national-populism | b964fe24de4b3cfa1ccb39107db29c81ff976ddb | [
"MIT"
] | 6 | 2021-03-10T23:37:46.000Z | 2022-02-27T07:19:09.000Z | src/pages/index.js | eadehemingway/national-populism | b964fe24de4b3cfa1ccb39107db29c81ff976ddb | [
"MIT"
] | null | null | null | import React from "react"
import styled from "styled-components"
import NationalPopulism from "../components/MapNationalPopulism"
import "../index.css"
export default function ArticleTwo() {
return (
<Container>
<ArticleTitle>Rise of National Populism in Europe</ArticleTitle>
<NationalPopulism />
</Container>
)
}
const ArticleTitle = styled.h1`
width: 20%;
margin-top: 0;
padding-top: 20px;
margin-left: 10px;
font-size: 30px;
color: #ff5c00;
text-transform: uppercase;
line-height: 42px;
font-family: Major Mono;
@media (max-width: 500px) {
font-size: 20px;
width: 50%;
line-height: 30px;
}
`
const Container = styled.div`
position: relative;
`
| 21.484848 | 70 | 0.682652 |
3a0e8219f4a050164c363f2adabf75441c352fb0 | 1,567 | js | JavaScript | src/fb/emitter.js | kinotto/algorithms | 14be36f453a15ebb293b6caea4bd53af4dd43dee | [
"MIT"
] | null | null | null | src/fb/emitter.js | kinotto/algorithms | 14be36f453a15ebb293b6caea4bd53af4dd43dee | [
"MIT"
] | null | null | null | src/fb/emitter.js | kinotto/algorithms | 14be36f453a15ebb293b6caea4bd53af4dd43dee | [
"MIT"
] | null | null | null | /**
* emitter class with subscribing releasing cababilities
*/
var Emitter = (function(){
function Emitter(){
this.events = {};
}
Emitter.prototype.subscribe = function(evt, clb){
this.events[evt] = this.events[evt] || [];
this.events[evt].push(clb);
}
Emitter.prototype.emit = function(evt){
for(var evt in this.events){
this.events[evt].forEach(function(clb){
clb();
})
}
}
Emitter.prototype.release = function(evt, clbtoRelease){
for(var evt in this.events){
var idxFound = -1;
this.events[evt].forEach(function(clb, idx){
if(clb === clbtoRelease){
idxFound = idx;
}
})
if(idxFound >= -1){
this.events[evt].splice(idxFound, 1);
break;
}
}
}
return new Emitter(); //singleton
}())
/**
* test
*/
function expect(describe, result, expected){
if(result === expected){
console.log('test passed, ' + describe + ' expected ' + result + ' === ' + expected);
return true;
}
console.log('test failed, ' + describe + ' expected ' + result + ' === ' + expected);
return false;
}
var clb = function(){
console.log('first test');
}
Emitter.subscribe('evt1', clb);
expect('exist a subscriber', !!Emitter.events.evt1, true);
Emitter.emit('evt1');
Emitter.release('evt1', clb)
expect('not exist any subscriber', !!Emitter.events.evt1.length, false); | 25.688525 | 93 | 0.535418 |
3a0f1be1d7e6a80f082275599db5d0dea0074ab0 | 6,934 | js | JavaScript | __tests__/1_list.spec.js | adrian-burlacu-software/Graph-Topology | b963b27d6b240ae33c496c58c6dd6f8b8f93c7a9 | [
"MIT"
] | null | null | null | __tests__/1_list.spec.js | adrian-burlacu-software/Graph-Topology | b963b27d6b240ae33c496c58c6dd6f8b8f93c7a9 | [
"MIT"
] | null | null | null | __tests__/1_list.spec.js | adrian-burlacu-software/Graph-Topology | b963b27d6b240ae33c496c58c6dd6f8b8f93c7a9 | [
"MIT"
] | null | null | null | const fs = require("fs").promises;
const csv = require('async-csv');
const shuffle = require('fisher-yates');
// EXPERIMENT PARAMETERS
const numTrials = 10;
describe("1.a.S Access for the list.", () => {
const fileName = "results/results_1a_list_";
const maxWordLength = 9;
// I was too lazy to model these better...but it works...
const numRepeats = 8000;
const numMicrosecondsAccuracy = numRepeats / 1000;
const accuracy = 0.125; // Unit is Microseconds.
// Prepares the tests' context.
const commonSetup = async function (numLetters) {
let trieList = [];
// Clear the old results.
await fs.writeFile(`${fileName}${numLetters}.csv`, "");
// Read the known dictionary file from disk.
let csvString = await fs.readFile(`dictionaries/dictionaryN15.csv`, 'utf-8');
let rows = await csv.parse(csvString);
let allWords = rows.map((row) => {return row[0];});
let words = allWords.filter((row) => {return row.length <= numLetters;});
for (let word of words) {
trieList.push(word);
}
let nonWords = allWords.filter((row) => {return words.indexOf(row) === -1;});
allWords = words;
// Get the stimulus words.
csvString = await fs.readFile(`dictionaries/dictionaryN15.csv`, 'utf-8');
rows = await csv.parse(csvString);
words = rows.map((row) => {return row[0];}).filter((row) => {return row.length <= numLetters;});
// Ready for the trials.
return {
trieList: trieList,
words: words,
nonWords: nonWords,
numWords: allWords.length
};
};
// Executes each experiment with all its stimuli.
const commonProcessing = async function (numLetters, batch, trieList, stimuli, numWords) {
const output = [];
output.push([
"lettersIn", "batchIn", "wordIn",
"wordKnownIn", "wordLengthIn", "numWordsIn",
"resultOut", "heightOut", "timeOut"
]);
// const allTime = performance.now();
for (let stimulus of stimuli) {
// Initialize the measurement.
let times = numRepeats;
const currentTime = performance.now();
// Execute the measurement.
let searchResults;
while(times--) {
searchResults = trieList.indexOf(stimulus.value);
}
const elapsedTime = Math.round(((performance.now() - currentTime) / numMicrosecondsAccuracy) / accuracy) * accuracy;
output.push([
numLetters, batch, stimulus.value,
stimulus.isKnown ? "true": "false", stimulus.value.length, numWords,
searchResults > -1 ? "true": "false", searchResults > -1 ? searchResults : numWords, elapsedTime
]);
}
//const allElapsedTime = performance.now() - allTime;
// Optional
// output.push([
// numLetters, batch, "TOTAL",
// "N/A", "N/A", "N/A",
// "N/A", allElapsedTime
// ]);
await fs.appendFile(`${fileName}${numLetters}.csv`, await csv.stringify(output),'utf-8');
}
// Orchestrates each test from the test context.
const commonFlow = async function (numLetters) {
let testContext = await commonSetup(numLetters);
for(let i = 0; i < numTrials; i++) {
let stimuli = [...testContext.words];
stimuli = shuffle(stimuli).slice(-1 * stimuli.length / 6);
stimuli = stimuli.map((stimulus) => {
return {
value: stimulus,
isKnown: true
};
});
let nStimuli = [...testContext.nonWords];
nStimuli = shuffle(nStimuli).slice(-1 * stimuli.length).map((stimulus) => {
return {
value: stimulus,
isKnown: false
};
});
stimuli = stimuli.concat(nStimuli);
stimuli = shuffle(stimuli);
await commonProcessing(numLetters, i, testContext.trieList, stimuli, testContext.numWords);
}
}
for (let numLetters = 2; numLetters < maxWordLength; numLetters++) {
test(`Accessing the graph of words with ${numLetters} letters.`, async () => {
await commonFlow(numLetters + 1);
// Automatically passing tests.
expect(true).toEqual(true);
});
}
});
describe("1.b.S Growth for the list.", () => {
const fileName = "results/results_1b_list_";
const maxWordLength = 11;
const numRepeats = 40000;
const numMicrosecondsAccuracy = numRepeats / 1000;
const accuracy = 0.025; // Unit is Microseconds.
// Prepares the tests' context.
const commonSetup = async function (numLetters) {
// Clear the old results.
await fs.writeFile(`${fileName}${numLetters}.csv`, [
"lettersIn", "batchIn", "wordIn",
"wordLengthIn", "numWordsOut", "timeOut"
].join(",") + "\n");
// Read the known dictionary file from disk.
let csvString = await fs.readFile(`dictionaries/dictionaryN15.csv`, 'utf-8');
let rows = await csv.parse(csvString);
const words = [];
for (let word of rows) {
if (word[0].length > numLetters) {
continue;
}
words.push(word[0]);
}
// Ready for the trials
return words;
};
// Executes each experiment with all its stimuli.
const commonProcessing = async function (numLetters, batch, stimuli) {
const output = [];
let trieLists = [];
let times = numRepeats;
while(times--) {
trieLists[times-1] = [];
}
// const allTime = performance.now();
let numStimulus = 0;
// Count these
for (let stimulus of stimuli) {
// Initialize measurement.
times = numRepeats;
const currentTime = performance.now();
for(let trieList of trieLists) {
trieList.push(stimulus);
}
const elapsedTime = Math.round(((performance.now() - currentTime) / numMicrosecondsAccuracy) /
accuracy) * accuracy;
output.push([
numLetters, batch, stimulus,
stimulus.length, numStimulus, elapsedTime
]);
numStimulus++;
}
// const allElapsedTime = performance.now() - allTime;
// Optional
// output.push([
// numLetters, batch, "TOTAL",
// "N/A",
// allElapsedTime
// ]);
await fs.appendFile(`${fileName}${numLetters}.csv`, await csv.stringify(output),'utf-8');
}
// Orchestrates each test from the test context.
const commonFlow = async function (numLetters) {
let testContext = await commonSetup(numLetters);
for(let i = 0; i < numTrials; i++) {
let stimuli = [...testContext];
// Don't forget these are in alphabetical order so that they don't cause conflicts.
stimuli = shuffle(stimuli).slice(-1 * stimuli.length / 6);
await commonProcessing(numLetters, i, stimuli);
}
}
for (let numLetters = 2; numLetters < maxWordLength; numLetters++) {
test(`Graph genesis of the graph for all words with ${numLetters} letters.`, async () => {
await commonFlow(numLetters + 1);
// Automatically passing tests.
expect(true).toEqual(true);
});
}
});
| 30.546256 | 122 | 0.612201 |
3a0fab4875e32dc0428798e4fcfe1d38d7c15bd5 | 174,837 | js | JavaScript | client/build/static/js/main.627520a7.chunk.js | ruchikav95/Binder | c7da046622d4105af64ab53bac979a44250dea30 | [
"MIT"
] | 2 | 2019-11-12T19:49:25.000Z | 2019-12-04T19:16:40.000Z | client/build/static/js/main.627520a7.chunk.js | ruchikav95/Binder | c7da046622d4105af64ab53bac979a44250dea30 | [
"MIT"
] | 26 | 2019-11-08T02:32:51.000Z | 2021-09-02T05:26:47.000Z | client/build/static/js/main.627520a7.chunk.js | ruchikav95/Binder | c7da046622d4105af64ab53bac979a44250dea30 | [
"MIT"
] | 3 | 2019-11-12T21:52:13.000Z | 2019-12-23T20:06:11.000Z | (this["webpackJsonpapp-frontend"]=this["webpackJsonpapp-frontend"]||[]).push([[10],{114:function(e,t,r){"use strict";var n=r(6),a=r(7),o=r(5),i=r(205),c=r.n(i),s=function(){function e(){Object(n.a)(this,e)}return Object(a.a)(e,null,[{key:"labelOf",value:function(e){return this.values[e]?Object(o.c)("roles.".concat(e,".label")):e}},{key:"descriptionOf",value:function(e){return this.values[e]?Object(o.c)("roles.".concat(e,".description")):e}},{key:"values",get:function(){return{owner:"owner",editor:"editor",viewer:"viewer",auditLogViewer:"auditLogViewer",iamSecurityReviewer:"iamSecurityReviewer",entityEditor:"entityEditor",entityViewer:"entityViewer",usernameEditor:"usernameEditor",usernameViewer:"usernameViewer",bookEditor:"bookEditor",bookViewer:"bookViewer"}}},{key:"selectOptions",get:function(){var e=this;return c()(this.values).map((function(t){return{id:t,value:t,title:e.descriptionOf(t),label:e.labelOf(t)}}))}}]),e}();t.a=s},115:function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return p}));var n=r(6),a=r(7),o=r(309),i=r.n(o),c=r(119),s=r.n(c),u="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",l="".concat(u,";charset=UTF-8"),d=".xlsx",p=function(){function e(){Object(n.a)(this,e)}return Object(a.a)(e,null,[{key:"exportAsExcelFile",value:function(e,t,r){var n={Sheets:{data:s.a.utils.json_to_sheet(e,{header:t,skipHeader:!1})},SheetNames:["data"]},a=s.a.write(n,{bookType:"xlsx",type:"array"});this.saveAsExcelFile(a,r)}},{key:"saveAsExcelFile",value:function(e,t){var r=new Blob([e],{type:l});i.a.saveAs(r,t+d)}}]),e}()},116:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(8),c=r(27),s=r(14),u=r(235),l=r(5),d=r(18),p="IAM_VIEW",f={FIND_STARTED:"".concat(p,"_FIND_STARTED"),FIND_SUCCESS:"".concat(p,"_FIND_SUCCESS"),FIND_ERROR:"".concat(p,"_FIND_ERROR"),CHANGE_STATUS_STARTED:"".concat(p,"_CHANGE_STATUS_STARTED"),CHANGE_STATUS_SUCCESS:"".concat(p,"_CHANGE_STATUS_SUCCESS"),CHANGE_STATUS_ERROR:"".concat(p,"_CHANGE_STATUS_ERROR"),doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.FIND_STARTED}),t.next=4,c.a.find(e);case 4:n=t.sent,r({type:f.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),i.a.handle(t.t0),r({type:f.FIND_ERROR}),Object(s.b)().push("/iam");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},doToggleStatus:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=u.a.selectUser(r()),t({type:f.CHANGE_STATUS_STARTED}),!(o=!!n.disabled)){e.next=9;break}return e.next=7,c.a.enable([n.id]);case 7:e.next=11;break;case 9:return e.next=11,c.a.disable([n.id]);case 11:t({type:f.CHANGE_STATUS_SUCCESS}),o?d.a.success(Object(l.c)("iam.doEnableSuccess")):d.a.success(Object(l.c)("iam.doDisableSuccess")),t(f.doFind(n.id)),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(0),i.a.handle(e.t0),t({type:f.CHANGE_STATUS_ERROR});case 20:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t,r){return e.apply(this,arguments)}}()}};t.a=f},117:function(e,t,r){"use strict";var n=r(4),a=r(63),o=r(104),i=r.n(o);t.a=function(e){var t=function(t){return i()(t,e)},r=Object(n.a)([t],(function(e){return e.rows||[]})),o=Object(n.a)([r],(function(e){return!!e.length})),c=Object(n.a)([t],(function(e){return e.errorMessage})),s=Object(n.a)([r],(function(e){return e.filter((function(e){return e._status===a.a.PENDING}))})),u=Object(n.a)([s],(function(e){return e.length})),l=Object(n.a)([r],(function(e){return e.length})),d=Object(n.a)([r],(function(e){return e.filter((function(e){return e._status===a.a.IMPORTED})).length})),p=Object(n.a)([l,u],(function(e,t){return e-t}));return{selectRaw:t,selectRows:r,selectRowsCount:l,selectHasRows:o,selectErrorMessage:c,selectPendingRows:s,selectPendingRowsCount:u,selectImportedRowsCount:d,selectErrorRowsCount:Object(n.a)([r],(function(e){return e.filter((function(e){return e._status===a.a.ERROR})).length})),selectNonPendingRowsCount:p,selectImporting:Object(n.a)([t],(function(e){return e.importing})),selectCompleted:Object(n.a)([t],(function(e){return e.completed})),selectPercent:Object(n.a)([p,l],(function(e,t){return 100*e/t}))}}},118:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(119),u=r.n(s),l=r(5),d=r(63),p=r(9),f=function(){function e(t){Object(i.a)(this,e),this.fields=t,this.yupSchema=this.buildSchema()}return Object(c.a)(e,[{key:"buildSchema",value:function(){var e={};return this.fields.forEach((function(t){e[t.name]=t.forImport()})),p.object().shape(e).noUnknown(!0)}},{key:"castForDisplay",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n={})._status=d.a.PENDING,n._line=r+2,this.fields.forEach((function(e,r){n[e.name]=t[r]})),e.prev=4,e.next=7,this.castForValidation(n);case 7:return o=e.sent,e.next=10,this.yupSchema.validate(o);case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(4),n._status=d.a.ERROR,n._errorMessage=e.t0.message;case 16:return e.abrupt("return",n);case 17:case"end":return e.stop()}}),e,this,[[4,12]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"castForImport",value:function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.yupSchema.cast(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"castForValidation",value:function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.yupSchema.cast(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"labels",get:function(){return this.fields.map((function(e){return e.label}))}}]),e}(),E=r(115),m=function(){function e(t){Object(i.a)(this,e),this.schema=new f(t)}return Object(c.a)(e,[{key:"downloadTemplate",value:function(e){return E.c.exportAsExcelFile([],this.schema.labels,e)}},{key:"castForDisplay",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.schema.castForDisplay(t,r));case 1:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"castForImport",value:function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.schema.castForImport(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"convertExcelFileToJson",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n,o,i=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!(i.length>1&&void 0!==i[1])||i[1],e.next=3,this._convertExcelFileToWorkbook(t);case 3:return n=e.sent,o=u.a.utils.sheet_to_json(n.Sheets[n.SheetNames[0]],{header:1,blankrows:!1,range:r?1:void 0,raw:!0}),e.abrupt("return",o);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_convertExcelFileToWorkbook",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._readFile(t);case 3:return r=e.sent,e.abrupt("return",u.a.read(r,{type:"array"}));case 7:throw e.prev=7,e.t0=e.catch(0),new Error(Object(l.c)("importer.errors.invalidFileUpload"));case 10:case"end":return e.stop()}}),e,this,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_readFile",value:function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:return e.abrupt("return",new Promise((function(e,r){var n=new FileReader;n.onload=function(t){try{var n=new Uint8Array(t.target.result);e(n)}catch(a){r(a)}},n.onerror=function(e){r()},n.readAsArrayBuffer(t)})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),b=r(8),O=r(86),h=r(311),S=r.n(h);function v(e,t,r,n,a){return R.apply(this,arguments)}function R(){return(R=Object(o.a)(a.a.mark((function e(t,r,n,o,i){var c,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.castForImport(i);case 3:return c=e.sent,s=S()(JSON.stringify(c)),e.next=7,o(c,s);case 7:t({type:r.IMPORT_BATCH_SUCCESS,payload:{line:i._line}}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),t({type:r.IMPORT_BATCH_ERROR,payload:{line:i._line,errorMessage:b.a.selectMessage(e.t0)}});case 13:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}t.a=function(e,t,r,n,i){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:10,s={RESETED:"".concat(e,"_RESETED"),FILE_READ_ERROR:"".concat(e,"_FILE_READ_ERROR"),FILE_READ_SUCCESS:"".concat(e,"_FILE_READ_SUCCESS"),IMPORT_STARTED:"".concat(e,"_IMPORT_STARTED"),IMPORT_ERROR:"".concat(e,"_IMPORT_ERROR"),IMPORT_PAUSED:"".concat(e,"_IMPORT_PAUSED"),IMPORT_SUCCESS:"".concat(e,"_IMPORT_SUCCESS"),IMPORT_BATCH_ERROR:"".concat(e,"_IMPORT_BATCH_ERROR"),IMPORT_BATCH_SUCCESS:"".concat(e,"_IMPORT_BATCH_SUCCESS"),doReset:function(){return{type:s.RESETED}},doPause:function(){return{type:s.IMPORT_PAUSED}},doImport:function(){return function(){var e=Object(o.a)(a.a.mark((function e(o,i){var u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.delegateYield(a.a.mark((function e(){var u,l,d,p,f,E,b,h,S;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o({type:s.IMPORT_STARTED}),u=t.selectPendingRows(i()),l=new m(n),d=Object(O.chunk)(u,c),p=!0,f=!1,E=void 0,e.prev=7,b=d[Symbol.iterator]();case 9:if(p=(h=b.next()).done){e.next=19;break}if(S=h.value,!!t.selectImporting(i())){e.next=14;break}return e.abrupt("return",{v:void 0});case 14:return e.next=16,Promise.all(S.map((function(e){return v(o,s,l,r,e)})));case 16:p=!0,e.next=9;break;case 19:e.next=25;break;case 21:e.prev=21,e.t0=e.catch(7),f=!0,E=e.t0;case 25:e.prev=25,e.prev=26,p||null==b.return||b.return();case 28:if(e.prev=28,!f){e.next=31;break}throw E;case 31:return e.finish(28);case 32:return e.finish(25);case 33:o({type:s.IMPORT_SUCCESS});case 34:case"end":return e.stop()}}),e,null,[[7,21,25,33],[26,,28,32]])}))(),"t0",2);case 2:if("object"!==typeof(u=e.t0)){e.next=5;break}return e.abrupt("return",u.v);case 5:e.next=11;break;case 7:e.prev=7,e.t1=e.catch(0),b.a.handle(e.t1),o({type:s.IMPORT_ERROR});case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t,r){return e.apply(this,arguments)}}()},doDownloadTemplate:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:new m(n).downloadTemplate(i);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doReadFile:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var i,c;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.type===E.b){t.next=4;break}throw new Error(Object(l.c)("importer.errors.invalidFileExcel"));case 4:return i=new m(n),t.next=7,i.convertExcelFileToJson(e);case 7:if((c=t.sent)&&c.length){t.next=10;break}throw new Error(Object(l.c)("importer.errors.invalidFileEmpty"));case 10:return t.next=12,Promise.all(c.map(function(){var e=Object(o.a)(a.a.mark((function e(t,r){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.castForDisplay(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()));case 12:c=t.sent,r({type:s.FILE_READ_SUCCESS,payload:c}),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(0),console.error(t.t0),r({type:s.FILE_READ_ERROR,payload:t.t0});case 20:case"end":return t.stop()}}),t,null,[[0,16]])})));return function(e){return t.apply(this,arguments)}}()}};return s}},13:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(66),c=r(227),s=r.n(c),u=r(228),l=r(5),d=r(306),p=r.n(d),f=r(39),E=s.a.create({baseURL:u.a.backendUrl,paramsSerializer:function(e){return p.a.stringify(e,{arrayFormat:"brackets",filter:function(e,t){return t instanceof f||t instanceof Date?t.toISOString():t}})}});E.interceptors.request.use(function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.get();case 2:return(r=e.sent)&&(t.headers.Authorization="Bearer ".concat(r)),t.headers["Accept-Language"]=Object(l.b)(),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){return console.log("Request error: ",e),Promise.reject(e)})),t.a=E},135:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(6),a=r(7),o=r(16),i=r(15),c=r(17),s=r(23),u=r(9),l=function(e){function t(e,r){var a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=c.required,u=void 0!==s&&s,l=c.min,d=void 0===l?void 0:l,p=c.max,f=void 0===p?void 0:p;return Object(n.a)(this,t),(a=Object(o.a)(this,Object(i.a)(t).call(this,e,r))).required=u,a.min=d,a.max=f,a}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0!==a&&a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forFormInitialValue",value:function(e){return e||[]}},{key:"forForm",value:function(){var e=u.array().compact().ensure().of(u.string().trim()).label(this.label);return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}},{key:"forFilter",value:function(){return u.array().compact().ensure().of(u.string().trim()).label(this.label).transform((function(e,t){return t?Array.isArray(t)?t:[t]:t}))}},{key:"forImport",value:function(){var e=u.mixed().label(this.label).transform((function(e){return Array.isArray(e)?e:(e||"").trim().split(" ").filter((function(e){return!!e})).map((function(e){return e.trim()}))}));return this.required&&(e=e.required()),e}},{key:"forExport",value:function(){return u.mixed().label(this.label)}}]),t}(s.a)},136:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(13),u=r(30),l=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"fetchAndApply",value:function(){var e=Object(o.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.prev=1,e.next=4,this.find();case 4:t=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),u.a.signout(),e.t0;case 11:this.applyTheme(t.theme);case 12:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"find",value:function(){var e=Object(o.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("/settings");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"save",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={settings:t},e.next=3,s.a.put("/settings",r);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"applyTheme",value:function(e){var t=document.getElementById("theme-link"),r=document.createElement("link");r.setAttribute("id","theme-link"),r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href","".concat("","/theme/dist/").concat(e,".css")),t?document.getElementsByTagName("head").item(0).replaceChild(t,r):document.getElementsByTagName("head").item(0).appendChild(r)}}]),e}()},14:function(e,t,r){"use strict";var n=r(65),a=r(303),o=r(80),i=r(24),c=[function(e){e.dispatch(i.a.doInit())}],s=r(133),u=r(10),l=r(67),d=r(5);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var E={menuVisible:!0,language:Object(d.b)(),loading:!1},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0,r=t.type;t.payload;return r===l.a.MENU_TOGGLE?f({},e,{menuVisible:!e.menuVisible}):r===l.a.MENU_SHOW?f({},e,{menuVisible:!0}):r===l.a.MENU_HIDE?f({},e,{menuVisible:!1}):e};function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={currentUser:null,loadingInit:!0,loadingEmailConfirmation:!1,loadingPasswordResetEmail:!1,loadingVerifyEmail:!1,loadingPasswordReset:!1,loadingUpdateProfile:!1,loading:!1,errorMessage:null},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===i.a.ERROR_MESSAGE_CLEARED?O({},e,{errorMessage:null}):r===i.a.CURRENT_USER_REFRESH_SUCCESS?O({},e,{currentUser:n.currentUser||null}):r===i.a.AUTH_START?O({},e,{errorMessage:null,loading:!0}):r===i.a.AUTH_SUCCESS?O({},e,{currentUser:n.currentUser||null,errorMessage:null,loading:!1}):r===i.a.AUTH_ERROR?O({},e,{currentUser:null,errorMessage:n||null,loading:!1}):r===i.a.EMAIL_CONFIRMATION_START?O({},e,{loadingEmailConfirmation:!0}):r===i.a.EMAIL_CONFIRMATION_SUCCESS?O({},e,{loadingEmailConfirmation:!1}):r===i.a.EMAIL_CONFIRMATION_ERROR?O({},e,{loadingEmailConfirmation:!1}):r===i.a.PASSWORD_RESET_EMAIL_START?O({},e,{loadingPasswordResetEmail:!0}):r===i.a.PASSWORD_RESET_EMAIL_SUCCESS?O({},e,{loadingPasswordResetEmail:!1}):r===i.a.PASSWORD_RESET_EMAIL_ERROR?O({},e,{loadingPasswordResetEmail:!1}):r===i.a.UPDATE_PROFILE_START?O({},e,{loadingUpdateProfile:!0}):r===i.a.UPDATE_PROFILE_SUCCESS?O({},e,{loadingUpdateProfile:!1}):r===i.a.UPDATE_PROFILE_ERROR?O({},e,{loadingUpdateProfile:!1}):r===i.a.AUTH_INIT_SUCCESS?O({},e,{currentUser:n.currentUser||null,loadingInit:!1}):r===i.a.AUTH_INIT_ERROR?O({},e,{currentUser:null,loadingInit:!1}):e},v=r(290),R=r(32);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={rows:[],count:0,loading:!1,filter:{},pagination:{current:1,pageSize:10},sorter:{},selectedKeys:[]},_=r(33);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j={rows:[],count:0,loading:!1,filter:{},pagination:{current:1,pageSize:10},sorter:{},selectedKeys:[]},C=r(36),D=Object(C.combineReducers)({mode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"users",t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===v.a.CHANGED?n:e},roles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===R.a.RESETED?g({},T):r===R.a.SELECTEDS_CHANGED?g({},e,{selectedKeys:n||[]}):r===R.a.PAGINATION_CHANGED?g({},e,{pagination:n||{current:1,pageSize:10}}):r===R.a.SORTER_CHANGED?g({},e,{sorter:n||{}}):r===R.a.FETCH_STARTED?g({},e,{loading:!0,selectedKeys:[],filter:n?n.filter:{},pagination:n&&n.keepPagination?e.pagination:{current:1,pageSize:10}}):r===R.a.FETCH_SUCCESS?g({},e,{loading:!1,rows:n.rows,count:n.count}):r===R.a.FETCH_ERROR?g({},e,{loading:!1,rows:[],count:0}):r===R.a.EXPORT_STARTED?g({},e,{exportLoading:!0}):r===R.a.EXPORT_SUCCESS?g({},e,{exportLoading:!1}):r===R.a.EXPORT_ERROR?g({},e,{exportLoading:!1}):r===R.a.REMOVE_ALL_SELECTED_STARTED?g({},e,{loading:!0}):r===R.a.REMOVE_ALL_SELECTED_ERROR?g({},e,{loading:!1}):r===R.a.REMOVE_ALL_SELECTED_SUCCESS?g({},e,{selectedKeys:[]}):r===R.a.CHANGE_STATUS_SELECTED_STARTED?g({},e,{loading:!0}):r===R.a.CHANGE_STATUS_SELECTED_ERROR?g({},e,{loading:!1}):r===R.a.CHANGE_STATUS_SELECTED_SUCCESS?g({},e,{selectedKeys:[]}):e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===_.a.RESETED?w({},j):r===_.a.SELECTEDS_CHANGED?w({},e,{selectedKeys:n||[]}):r===_.a.PAGINATION_CHANGED?w({},e,{pagination:n||{current:1,pageSize:10}}):r===_.a.SORTER_CHANGED?w({},e,{sorter:n||{}}):r===_.a.FETCH_STARTED?w({},e,{loading:!0,selectedKeys:[],filter:n?n.filter:{},pagination:n&&n.keepPagination?e.pagination:{current:1,pageSize:10}}):r===_.a.FETCH_SUCCESS?w({},e,{loading:!1,rows:n.rows,count:n.count}):r===_.a.FETCH_ERROR?w({},e,{loading:!1,rows:[],count:0}):r===_.a.EXPORT_STARTED?w({},e,{exportLoading:!0}):r===_.a.EXPORT_SUCCESS?w({},e,{exportLoading:!1}):r===_.a.EXPORT_ERROR?w({},e,{exportLoading:!1}):r===_.a.REMOVE_ALL_SELECTED_STARTED?w({},e,{loading:!0}):r===_.a.REMOVE_ALL_SELECTED_ERROR?w({},e,{loading:!1}):r===_.a.REMOVE_ALL_SELECTED_SUCCESS?w({},e,{selectedKeys:[]}):r===_.a.CHANGE_STATUS_SELECTED_STARTED?w({},e,{loading:!0}):r===_.a.CHANGE_STATUS_SELECTED_ERROR?w({},e,{loading:!1}):r===_.a.CHANGE_STATUS_SELECTED_SUCCESS?w({},e,{selectedKeys:[]}):e}}),k=r(58);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P={findLoading:!1,saveLoading:!1,user:null},I=r(116);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var F={loading:!1,user:null},H=r(63);function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var V=function(e){var t={rows:null,errorMessage:null,importing:!1,completed:!1};return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,a=arguments.length>1?arguments[1]:void 0,o=a.type,i=a.payload;if(o===e.RESETED)return G({},t);if(o===e.FILE_READ_ERROR)return G({},r,{errorMessage:i.message?i.message:i});if(o===e.FILE_READ_SUCCESS)return G({},r,{errorMessage:null,rows:i});if(o===e.IMPORT_STARTED)return G({},r,{importing:!0});if(o===e.IMPORT_PAUSED)return G({},r,{importing:!1});if(o===e.IMPORT_SUCCESS)return G({},r,{importing:!1,completed:!0});if(o===e.IMPORT_ERROR)return G({},r,{importing:!1});if(o===e.IMPORT_BATCH_SUCCESS){var c=(r.rows||[]).find((function(e){return e._line===i.line}));if(!c)return;return c._status=H.a.IMPORTED,G({},r,{rows:Object(n.a)(r.rows)})}if(o===e.IMPORT_BATCH_ERROR){var s=(r.rows||[]).find((function(e){return e._line===i.line}));if(!s)return;return s._status=H.a.ERROR,s._errorMessage=i.errorMessage,G({},r,{rows:Object(n.a)(r.rows)})}return r}},B=V(r(293).a),Y=Object(C.combineReducers)({list:D,form:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===k.a.RESET?U({},P):r===k.a.FIND_STARTED?U({},e,{user:null,findLoading:!0}):r===k.a.FIND_SUCCESS?U({},e,{user:n,findLoading:!1}):r===k.a.FIND_ERROR?U({},e,{user:null,findLoading:!1}):r===k.a.ADD_STARTED?U({},e,{saveLoading:!0}):r===k.a.ADD_SUCCESS?U({},e,{saveLoading:!1}):r===k.a.ADD_ERROR?U({},e,{saveLoading:!1}):r===k.a.UPDATE_STARTED?U({},e,{saveLoading:!0}):r===k.a.UPDATE_SUCCESS?U({},e,{saveLoading:!1}):r===k.a.UPDATE_ERROR?U({},e,{saveLoading:!1}):e},view:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===I.a.CHANGE_STATUS_STARTED?L({},e,{loading:!0}):r===I.a.CHANGE_STATUS_ERROR?L({},e,{loading:!1}):r===I.a.FIND_STARTED?L({},e,{user:null,loading:!0}):r===I.a.FIND_SUCCESS?L({},e,{user:n,loading:!1}):r===I.a.FIND_ERROR?L({},e,{user:null,loading:!1}):e},importer:B}),q=r(57);function K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?K(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var W={rows:[],count:0,loading:!1,filter:{},pagination:{current:1,pageSize:10},sorter:{},selectedKeys:[]},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===q.a.RESETED?z({},W):r===q.a.SELECTEDS_CHANGED?z({},e,{selectedKeys:n||[]}):r===q.a.PAGINATION_CHANGED?z({},e,{pagination:n||{current:1,pageSize:10}}):r===q.a.SORTER_CHANGED?z({},e,{sorter:n||{}}):r===q.a.FETCH_STARTED?z({},e,{loading:!0,selectedKeys:[],filter:n?n.filter:{},pagination:n&&n.keepPagination?e.pagination:{current:1,pageSize:10}}):r===q.a.FETCH_SUCCESS?z({},e,{loading:!1,rows:n.rows,count:n.count}):r===q.a.FETCH_ERROR?z({},e,{loading:!1,rows:[],count:0}):r===q.a.EXPORT_STARTED?z({},e,{exportLoading:!0}):r===q.a.EXPORT_SUCCESS?z({},e,{exportLoading:!1}):r===q.a.EXPORT_ERROR?z({},e,{exportLoading:!1}):e},J=r(97);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var $={findLoading:!1,saveLoading:!1,settings:null},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===J.a.FIND_STARTED?Z({},e,{settings:null,findLoading:!0}):r===J.a.FIND_SUCCESS?Z({},e,{settings:n,findLoading:!1}):r===J.a.FIND_ERROR?Z({},e,{settings:null,findLoading:!1}):r===J.a.SAVE_STARTED?Z({},e,{saveLoading:!0}):r===J.a.SAVE_SUCCESS?Z({},e,{saveLoading:!1}):r===J.a.SAVE_ERROR?Z({},e,{saveLoading:!1}):e},te=r(46);function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ae={rows:[],count:0,loading:!1,filter:{},pagination:{current:1,pageSize:10},sorter:{},selectedKeys:[]},oe=r(60);function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var se={findLoading:!1,saveLoading:!1,record:null},ue=r(163);function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var pe={loading:!1,record:null},fe=r(95);function Ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function me(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var be={loading:!1},Oe=V(r(297).a),he=Object(C.combineReducers)({list:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===te.a.RESETED?ne({},ae):r===te.a.SELECTEDS_CHANGED?ne({},e,{selectedKeys:n||[]}):r===te.a.PAGINATION_CHANGED?ne({},e,{pagination:n||{current:1,pageSize:10}}):r===te.a.SORTER_CHANGED?ne({},e,{sorter:n||{}}):r===te.a.FETCH_STARTED?ne({},e,{loading:!0,selectedKeys:[],filter:n?n.filter:{},pagination:n&&n.keepPagination?e.pagination:{current:1,pageSize:10}}):r===te.a.FETCH_SUCCESS?ne({},e,{loading:!1,rows:n.rows,count:n.count}):r===te.a.FETCH_ERROR?ne({},e,{loading:!1,rows:[],count:0}):r===te.a.EXPORT_STARTED?ne({},e,{exportLoading:!0}):r===te.a.EXPORT_SUCCESS?ne({},e,{exportLoading:!1}):r===te.a.EXPORT_ERROR?ne({},e,{exportLoading:!1}):e},form:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===oe.a.RESET?ce({},se):r===oe.a.FIND_STARTED?ce({},e,{record:null,findLoading:!0}):r===oe.a.FIND_SUCCESS?ce({},e,{record:n,findLoading:!1}):r===oe.a.FIND_ERROR?ce({},e,{record:null,findLoading:!1}):r===oe.a.CREATE_STARTED?ce({},e,{saveLoading:!0}):r===oe.a.CREATE_SUCCESS?ce({},e,{saveLoading:!1}):r===oe.a.CREATE_ERROR?ce({},e,{saveLoading:!1}):r===oe.a.UPDATE_STARTED?ce({},e,{saveLoading:!0}):r===oe.a.UPDATE_SUCCESS?ce({},e,{saveLoading:!1}):r===oe.a.UPDATE_ERROR?ce({},e,{saveLoading:!1}):e},view:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===ue.a.FIND_STARTED?de({},e,{record:null,loading:!0}):r===ue.a.FIND_SUCCESS?de({},e,{record:n,loading:!1}):r===ue.a.FIND_ERROR?de({},e,{record:null,loading:!1}):e},destroy:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0,r=t.type;t.payload;return r===fe.a.DESTROY_ALL_STARTED?me({},e,{loading:!0}):r===fe.a.DESTROY_ALL_SUCCESS?me({},e,{loading:!1}):r===fe.a.DESTROY_ALL_ERROR?me({},e,{loading:!1}):r===fe.a.DESTROY_STARTED?me({},e,{loading:!0}):r===fe.a.DESTROY_SUCCESS?me({},e,{loading:!1}):r===fe.a.DESTROY_ERROR?me({},e,{loading:!1}):e},importer:Oe}),Se=r(43);function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ye={rows:[],count:0,loading:!1,filter:{},pagination:{current:1,pageSize:10},sorter:{},selectedKeys:[]},ge=r(61);function Te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Te(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ae={findLoading:!1,saveLoading:!1,record:null},we=r(164);function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var De={loading:!1,record:null},ke=r(93);function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach((function(t){Object(u.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pe={loading:!1},Ie=V(r(300).a),Ne=Object(C.combineReducers)({list:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===Se.a.RESETED?Re({},ye):r===Se.a.SELECTEDS_CHANGED?Re({},e,{selectedKeys:n||[]}):r===Se.a.PAGINATION_CHANGED?Re({},e,{pagination:n||{current:1,pageSize:10}}):r===Se.a.SORTER_CHANGED?Re({},e,{sorter:n||{}}):r===Se.a.FETCH_STARTED?Re({},e,{loading:!0,selectedKeys:[],filter:n?n.filter:{},pagination:n&&n.keepPagination?e.pagination:{current:1,pageSize:10}}):r===Se.a.FETCH_SUCCESS?Re({},e,{loading:!1,rows:n.rows,count:n.count}):r===Se.a.FETCH_ERROR?Re({},e,{loading:!1,rows:[],count:0}):r===Se.a.EXPORT_STARTED?Re({},e,{exportLoading:!0}):r===Se.a.EXPORT_SUCCESS?Re({},e,{exportLoading:!1}):r===Se.a.EXPORT_ERROR?Re({},e,{exportLoading:!1}):e},form:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ae,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===ge.a.RESET?_e({},Ae):r===ge.a.FIND_STARTED?_e({},e,{record:null,findLoading:!0}):r===ge.a.FIND_SUCCESS?_e({},e,{record:n,findLoading:!1}):r===ge.a.FIND_ERROR?_e({},e,{record:null,findLoading:!1}):r===ge.a.CREATE_STARTED?_e({},e,{saveLoading:!0}):r===ge.a.CREATE_SUCCESS?_e({},e,{saveLoading:!1}):r===ge.a.CREATE_ERROR?_e({},e,{saveLoading:!1}):r===ge.a.UPDATE_STARTED?_e({},e,{saveLoading:!0}):r===ge.a.UPDATE_SUCCESS?_e({},e,{saveLoading:!1}):r===ge.a.UPDATE_ERROR?_e({},e,{saveLoading:!1}):e},view:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;return r===we.a.FIND_STARTED?Ce({},e,{record:null,loading:!0}):r===we.a.FIND_SUCCESS?Ce({},e,{record:n,loading:!1}):r===we.a.FIND_ERROR?Ce({},e,{record:null,loading:!1}):e},destroy:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pe,t=arguments.length>1?arguments[1]:void 0,r=t.type;t.payload;return r===ke.a.DESTROY_ALL_STARTED?Ue({},e,{loading:!0}):r===ke.a.DESTROY_ALL_SUCCESS?Ue({},e,{loading:!1}):r===ke.a.DESTROY_ALL_ERROR?Ue({},e,{loading:!1}):r===ke.a.DESTROY_STARTED?Ue({},e,{loading:!0}):r===ke.a.DESTROY_SUCCESS?Ue({},e,{loading:!1}):r===ke.a.DESTROY_ERROR?Ue({},e,{loading:!1}):e},importer:Ie}),Le=function(e){return Object(C.combineReducers)({router:Object(s.b)(e),layout:m,auth:S,iam:Y,auditLog:X,settings:ee,username:he,book:Ne})},Fe=r(312),He=r(313);r.d(t,"a",(function(){return Ve})),r.d(t,"b",(function(){return Be}));var Me,Ge=Object(o.a)();function Ve(e){var t=[He.a,Object(a.a)(Ge)].filter(Boolean);Me=Object(C.createStore)(Le(Ge),e,Object(Fe.composeWithDevTools)(C.applyMiddleware.apply(void 0,Object(n.a)(t))));var r=!0,o=!1,i=void 0;try{for(var s,u=c[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){(0,s.value)(Me)}}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return Me}function Be(){return Ge}},140:function(e,t,r){"use strict";var n=r(6),a=r(7),o=r(16),i=r(15),c=r(17),s=r(5),u=r(25),l=r(77),d=r(56),p=r(78),f=r(23),E=r(9),m=function(e){function t(e,r,a){var c,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=s.required,l=void 0!==u&&u,d=s.min,p=void 0===d?void 0:d,f=s.max,E=void 0===f?void 0:f,m=s.size,b=void 0===m?void 0:m;return Object(n.a)(this,t),(c=Object(o.a)(this,Object(i.a)(t).call(this,e,r))).path=a,c.required=l,c.min=p,c.max=E,c.size=b,c}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0!==a&&a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forView",value:function(e){return e}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forForm",value:function(){var e=E.array().nullable(!0).label(this.label);return(this.required||this.min)&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}},{key:"forExport",value:function(){return E.mixed().label(this.label).transform((function(e,t){return t&&t.length?t.map((function(e){return e.publicUrl})).join(" "):null}))}},{key:"forImport",value:function(){var e=E.array().nullable(!0).label(this.label).transform((function(e,t){return t?Array.isArray(t)?t:t.trim().split(" ").map((function(e){return{name:e.trim(),publicUrl:e.trim(),new:!0}})):null}));return(this.required||this.min)&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}}]),t}(f.a),b=function(e){function t(e,r){var a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=c.yesLabel,l=void 0===u?void 0:u,d=c.noLabel,p=void 0===d?void 0:d;return Object(n.a)(this,t),(a=Object(o.a)(this,Object(i.a)(t).call(this,e,r))).yesLabel=l||Object(s.c)("common.yes"),a.noLabel=p||Object(s.c)("common.no"),a}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forTable",value:function(e){var t=this,r=e||{},n=r.title,a=void 0===n?this.label:n,o=r.sorter,i=void 0===o||o,c=r.dataIndex,s=void 0===c?this.name:c,u=r.render;return{title:a,sorter:i,dataIndex:s,render:void 0===u?function(e){return e?t.yesLabel:t.noLabel}:u}}},{key:"forView",value:function(e){return e?this.yesLabel:this.noLabel}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forForm",value:function(){return E.bool().default(!1).label(this.label)}},{key:"forFilter",value:function(){return E.bool().label(this.label)}},{key:"forExport",value:function(){return E.bool().nullable(!0).default(!1).label(this.label)}},{key:"forImport",value:function(){return E.bool().default(!1).label(this.label)}}]),t}(f.a),O=r(135),h=r(114),S=r(206),v=function(e){function t(e,r,a){var c;return Object(n.a)(this,t),(c=Object(o.a)(this,Object(i.a)(t).call(this,e,r,a))).options=h.a.selectOptions,c}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forExport",value:function(){return E.mixed().label(this.label).transform((function(e){return e?e.map((function(e){return h.a.labelOf(e)})).join(" "):null}))}}]),t}(O.a),R=function(e){function t(){return Object(n.a)(this,t),Object(o.a)(this,Object(i.a)(t).apply(this,arguments))}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forForm",value:function(){var e=E.array().label(this.label).of(E.string().email(Object(s.c)("user.validations.email")).label(Object(s.c)("user.fields.email")).max(255).required());return this.required&&(e=e.required()),e}}]),t}(O.a);function y(e){return Object(s.c)("user.fields.".concat(e))}var g={id:new l.a("id",y("id")),firstName:new u.a("firstName",y("firstName"),{max:80}),authenticationUid:new u.a("authenticationUid",y("authenticationUid")),lastName:new u.a("lastName",y("lastName"),{max:175}),password:new u.a("password",y("password"),{required:!0}),fullName:new u.a("fullName",y("fullName")),email:new u.a("email",y("email"),{required:!0,max:255}),role:new S.a("role",y("role"),h.a.selectOptions),rememberMe:new b("rememberMe",y("rememberMe")),disabledAsStatus:new b("disabled",y("status"),{noLabel:Object(s.c)("user.enabled"),yesLabel:Object(s.c)("user.disabled")}),disabled:new b("disabled",y("disabled"),{noLabel:Object(s.c)("user.enabled"),yesLabel:Object(s.c)("user.disabled")}),phoneNumber:new u.a("phoneNumber",y("phoneNumber"),{matches:/^[0-9]/,max:24}),avatarsIam:new m("avatars",y("avatars"),"user/avatars/iam",{max:1}),avatarsProfile:new m("avatars",y("avatars"),(function(e){return"user/avatars/profile/".concat(e)}),{max:1}),emails:new R("emails",y("emails"),{required:!0}),rolesRequired:new v("roles",y("roles"),{required:!0}),roles:new v("roles",y("roles")),createdAt:new d.a("createdAt",y("createdAt")),updatedAt:new d.a("updatedAt",y("updatedAt")),createdAtRange:new p.a("createdAtRange",y("createdAtRange")),roleUser:new f.a("roleUser",y("roleUser")),status:new S.a("status",y("status"),[{id:"enabled",label:Object(s.c)("user.enabled")},{id:"disabled",label:Object(s.c)("user.disabled")}])};t.a={fields:g}},142:function(e,t,r){"use strict";var n=r(6),a=r(7),o=r(114).a.values,i=function(){function e(){Object(n.a)(this,e)}return Object(a.a)(e,null,[{key:"values",get:function(){return{iamEdit:{id:"iamEdit",allowedRoles:[o.owner,o.iamSecurityReviewer,o.editor],allowedStorageFolders:["user"]},iamCreate:{id:"iamCreate",allowedRoles:[o.owner,o.iamSecurityReviewer,o.editor]},iamImport:{id:"iamImport",allowedRoles:[o.owner,o.iamSecurityReviewer,o.editor]},iamRead:{id:"iamRead",allowedRoles:[o.owner,o.iamSecurityReviewer,o.editor,o.viewer]},iamUserAutocomplete:{id:"iamUserAutocomplete",allowedRoles:[o.owner,o.editor,o.viewer,o.bookEditor,o.bookViewer]},auditLogRead:{id:"auditLogRead",allowedRoles:[o.owner,o.auditLogViewer,o.viewer]},settingsEdit:{id:"settingsEdit",allowedRoles:[o.owner]},usernameImport:{id:"usernameImport",allowedRoles:[o.owner,o.editor,o.entityEditor,o.usernameEditor]},usernameCreate:{id:"usernameCreate",allowedRoles:[o.owner,o.editor,o.entityEditor,o.usernameEditor],allowedStorageFolders:["username"]},usernameEdit:{id:"usernameEdit",allowedRoles:[o.owner,o.editor,o.entityEditor,o.usernameEditor],allowedStorageFolders:["username"]},usernameDestroy:{id:"usernameDestroy",allowedRoles:[o.owner,o.editor,o.entityEditor,o.usernameEditor],allowedStorageFolders:["username"]},usernameRead:{id:"usernameRead",allowedRoles:[o.owner,o.editor,o.viewer,o.entityEditor,o.usernameEditor,o.usernameViewer]},usernameAutocomplete:{id:"usernameAutocomplete",allowedRoles:[o.owner,o.editor,o.viewer,o.entityEditor,o.usernameEditor,o.usernameViewer]},bookImport:{id:"bookImport",allowedRoles:[o.owner,o.editor,o.entityEditor,o.bookEditor]},bookCreate:{id:"bookCreate",allowedRoles:[o.owner,o.editor,o.entityEditor,o.bookEditor],allowedStorageFolders:["book"]},bookEdit:{id:"bookEdit",allowedRoles:[o.owner,o.editor,o.entityEditor,o.bookEditor],allowedStorageFolders:["book"]},bookDestroy:{id:"bookDestroy",allowedRoles:[o.owner,o.editor,o.entityEditor,o.bookEditor],allowedStorageFolders:["book"]},bookRead:{id:"bookRead",allowedRoles:[o.owner,o.editor,o.viewer,o.entityEditor,o.bookEditor,o.bookViewer]},bookAutocomplete:{id:"bookAutocomplete",allowedRoles:[o.owner,o.editor,o.viewer,o.entityEditor,o.bookEditor,o.bookViewer]}}}},{key:"asArray",get:function(){var e=this;return Object.keys(this.values).map((function(t){return e.values[t]}))}}]),e}();t.a=i},145:function(e,t,r){"use strict";var n=r(5),a=r(77),o=r(56),i=r(78),c=r(25),s=r(6),u=r(7),l=r(16),d=r(15),p=r(17),f=r(23),E=r(9),m=function(e){function t(e,r){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.required,i=void 0!==o&&o,c=a.min,u=void 0===c?void 0:c,p=a.max,f=void 0===p?void 0:p;return Object(s.a)(this,t),(n=Object(l.a)(this,Object(d.a)(t).call(this,e,r))).required=i,n.min=u,n.max=f,i&&(!u||u<1)&&(n.min=1),n}return Object(p.a)(t,e),Object(u.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0!==a&&a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forView",value:function(e){return e}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forFilter",value:function(){return E.mixed().label(this.label).transform((function(e,t){return t&&t.length?t.map((function(e){return e.id})):[]}))}},{key:"forForm",value:function(){var e=E.array().nullable(!0).label(this.label).transform((function(e,t){return t&&t.length?t.map((function(e){return e.id})):[]}));return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}},{key:"forExport",value:function(){return E.mixed().label(this.label).transform((function(e,t){return t&&t.length?t.map((function(e){return e.id})).join(" "):null}))}},{key:"forImport",value:function(){var e=E.array().nullable(!0).label(this.label).transform((function(e,t){return t?Array.isArray(t)?t:t.trim().split(" ").map((function(e){return e})):null}));return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}}]),t}(f.a);function b(e){return Object(n.c)("entities.book.fields.".concat(e))}var O={id:new a.a("id",b("id")),bookName:new c.a("bookName",b("bookName"),{required:!0,min:2,max:255}),author:new c.a("author",b("author"),{max:21845}),subject:new c.a("subject",b("subject"),{required:!0}),bookOwner:new m("bookOwner",b("bookOwner"),{required:!0}),createdAt:new o.a("createdAt",b("createdAt")),updatedAt:new o.a("updatedAt",b("updatedAt")),createdAtRange:new i.a("createdAtRange",b("createdAtRange"))};t.a={fields:O}},147:function(e,t,r){"use strict";var n=r(5),a=r(77),o=r(56),i=r(78),c=r(6),s=r(7),u=r(16),l=r(15),d=r(17),p=r(23),f=r(9),E=function(e){function t(e,r){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.required,i=void 0!==o&&o,s=a.min,d=void 0===s?void 0:s,p=a.max,f=void 0===p?void 0:p;return Object(c.a)(this,t),(n=Object(u.a)(this,Object(l.a)(t).call(this,e,r))).required=i,n.min=d,n.max=f,n}return Object(d.a)(t,e),Object(s.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0===a||a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forView",value:function(e){return e}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forFilter",value:function(){return f.number().integer().nullable(!0).label(this.label)}},{key:"forForm",value:function(){var e=f.number().integer().nullable(!0).label(this.label);return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}},{key:"forExport",value:function(){return f.mixed().label(this.label)}},{key:"forImport",value:function(){var e=f.number().integer().nullable(!0).label(this.label);return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),e}}]),t}(p.a),m=function(e){function t(){return Object(c.a)(this,t),Object(u.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(s.a)(t,[{key:"forFilter",value:function(){return f.mixed().label(this.label)}},{key:"forFormInitialValue",value:function(e){return e||[]}}]),t}(p.a),b=r(25);function O(e){return Object(n.c)("entities.username.fields.".concat(e))}var h={id:new a.a("id",O("id")),name:new b.a("name",O("name"),{required:!0,min:2,max:255}),email:new b.a("email",O("email"),{}),password:new b.a("password",O("password"),{}),points:new E("points",O("points"),{}),createdAt:new o.a("createdAt",O("createdAt")),updatedAt:new o.a("updatedAt",O("updatedAt")),createdAtRange:new i.a("createdAtRange",O("createdAtRange")),pointsRange:new m("pointsRange",O("pointsRange"))};t.a={fields:h}},163:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(44),c=r(8),s=r(14),u="USERNAME_VIEW",l={FIND_STARTED:"".concat(u,"_FIND_STARTED"),FIND_SUCCESS:"".concat(u,"_FIND_SUCCESS"),FIND_ERROR:"".concat(u,"_FIND_ERROR"),doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:l.FIND_STARTED}),t.next=4,i.a.find(e);case 4:n=t.sent,r({type:l.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),c.a.handle(t.t0),r({type:l.FIND_ERROR}),Object(s.b)().push("/username");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()}};t.a=l},164:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(45),c=r(8),s=r(14),u={FIND_STARTED:"".concat("BOOK_VIEW","_FIND_STARTED"),FIND_SUCCESS:"".concat("BOOK_VIEW","_FIND_SUCCESS"),FIND_ERROR:"".concat("BOOK_VIEW","_FIND_ERROR"),doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:u.FIND_STARTED}),t.next=4,i.a.find(e);case 4:n=t.sent,r({type:u.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),c.a.handle(t.t0),r({type:u.FIND_ERROR}),Object(s.b)().push("/book");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()}};t.a=u},18:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(6),a=r(7),o=r(320),i=function(){function e(){Object(n.a)(this,e)}return Object(a.a)(e,null,[{key:"success",value:function(e){o.a.success({message:e,description:""})}},{key:"error",value:function(e){o.a.error({message:e,description:""})}}]),e}()},206:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(65),a=r(6),o=r(7),i=r(16),c=r(15),s=r(17),u=r(23),l=r(86),d=r(9),p=r(5),f=function(e){function t(e,r,n){var o,s=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).required,u=void 0!==s&&s;return Object(a.a)(this,t),(o=Object(i.a)(this,Object(c.a)(t).call(this,e,r))).options=n||[],o.required=u,o}return Object(s.a)(t,e),Object(o.a)(t,[{key:"_id",value:function(e){return e?Object(l.isString)(e)?e:e.id:e}},{key:"_label",value:function(e){return e?Object(l.isString)(e)?e:e.label:e}},{key:"forTable",value:function(e){var t=this,r=e||{},n=r.title,a=void 0===n?this.label:n,o=r.sorter,i=void 0===o||o,c=r.dataIndex,s=void 0===c?this.name:c,u=r.render;return{title:a,sorter:i,dataIndex:s,render:void 0===u?function(e){return t.forView(e)}:u}}},{key:"forView",value:function(e){var t=this,r=this.options.find((function(r){return r.id===t._id(e)}));return r?this._label(r):e}},{key:"forFormInitialValue",value:function(e){return this._id(e)}},{key:"forFilter",value:function(){var e=this;return d.string().label(this.label).oneOf([null].concat(Object(n.a)(this.options.map((function(t){return e._id(t)})))))}},{key:"forForm",value:function(){var e=this,t=d.string().nullable(!0).label(this.label).oneOf([null].concat(Object(n.a)(this.options.map((function(t){return e._id(t)})))));return this.required&&(t=t.required(Object(p.c)("validation.string.selected"))),t}},{key:"forExport",value:function(){return d.mixed().label(this.label)}},{key:"forImport",value:function(){var e=this,t=d.string().label(this.label).nullable(!0).oneOf([null].concat(Object(n.a)(this.options.map((function(t){return e._id(t)})))));return this.required&&(t=t.required(Object(p.c)("validation.string.selected"))),t}}]),t}(u.a)},228:function(e,t,r){"use strict";var n=r(354).default;t.a=n},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(6),a=r(7),o=function(){function e(t,r){Object(n.a)(this,e),this.name=t,this.label=r}return Object(a.a)(e,[{key:"forView",value:function(e){throw new Error("Called superclass")}},{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0!==a&&a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forFilter",value:function(){throw new Error("Called superclass")}},{key:"forForm",value:function(){throw new Error("Called superclass")}},{key:"forFormInitialValue",value:function(e){throw new Error("Called superclass")}},{key:"forExport",value:function(){throw new Error("Called superclass")}},{key:"forImport",value:function(){throw new Error("Called superclass")}}]),e}()},235:function(e,t,r){"use strict";var n=r(4),a=function(e){return e.iam.view},o=Object(n.a)([a],(function(e){return e.user})),i={selectLoading:Object(n.a)([a],(function(e){return!!e.loading})),selectUser:o,selectRaw:a};t.a=i},238:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABgKSURBVHhe7Z0J2H3bXMff5hQNKlRmRboJTTKVMqUkopTkdpUGlPIIFVJdF9EjlZLhCkm4bkiUG5lpRIWKEoVCSoOh+ft57/t77rKe395n7bOHs895v5/n+T7//z7v2ufsYX33XsNvrXVkjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDEL82nSdaTbSd+0Y91c+kjJmJ3zSdJTpP+S/m9FuqtkluELpbOk+0s/vmPdT7qStAo+QnqRVGbM90n/uEP9p8RxcLHMvFxceo5U3v816LnSKriVFAf1WOnS0kdL15K+ciF9mVTyexLHY4PMz9OluP//LL1C4vrvSm+TOBb+vwoeJ3FAL5N4m1xd+ruTz5bUd0sBF4fPbJB5+VzpfyWu9ROkT5Q+Vbq9dG8pijxz6oelz5SCn5Y4ntUY5A8kDugux1tHR0+W2F5ab5I+SgIbZBm+X+I6v0X6OOmzpLeffLakLpCC1RnkrRIHdL3jraOjF0psn3e8NT9Xlv5b4jdvzQfitBqEivJrpQ9KFHVuJM3JoySu8yOOty58mrNNHZB7MLdeLvF7vMWuIcHqDEKlmAM643jr6Oi+Uhz02dIlpbl5tsRvvuR468KLw/ZpM8g5Eucd4h6cK9H8PgdR/7j78dbR0QMktt8t0bK5BK+T+M3HH2+t0CC0WHFA4eBPkF4t8Rn6kFS3Mk2tf5Pi99iOVqx/P9kOPU06ZCJz1HqXdEdpauLBdObx1tHRNaX/kfiMN9k3Sp8xs+4p8Xvvl64q/cLJNm+XMh35cieQCTmg6x9vXQiVtUdLkVHXpItJh0qXQUIvkK4iTcXzJL436p9wDykq7msSLWzUkRYnDHKL460Ph+IVn2c93Usqin1oZ0+SBagNcr7019VnPGnvI9EUP5Yoyt7reOsiiGJ4pVT+7hpEl8DihEG+9nhrnXypFBfpNBmESjNv84dK9ducsvuXS2PYVNejyffzV6A4Zxukg30yCOVoWuOyN+EmRZ0ghEECOm6jST5EfYEy+7YV6n1pDInztUE62BeDRDPpVCoNAvQT/aD0r1KZ7u+l20hDsUEasEGmg+bS6NMZK0xQh+AEl5d+U6r3eZZ0WakVG6QBG2RaCJu4ocTN3FYMOfhkaRMUy94pxbVBGIse8ohK6MMGacAGuYgbS0+VniHRB7APfIr0GCn6L0K/L9Gv0YcN0oANcnR0KamOQaOoRHzSvnAD6Q1SeQ60fNECRktYhg3SwGk2CNHLd5beI8X3l1p7ca7mYyUyO9EP5Xm8UeJNU2ODNHBaDXI1KTJIl/bNIEDHbj1cgXCiy0k1NkgDp80gPGUZVvoBKb4TvVmil7r8bJ8MchmJWLXy+BGjRembybBBGjhNBiHe7PVSfBeinP4Qie8lILL82z4YhIktiKUiVqk8diJyv0OiGNmFDdLAaTAI5W+CLze19OybQRj9+VKpPGb0JIkI2E3YIA0cukHoK3iHFPujrr6C2iC7EtG0hJVcUcqgde2BUl0ZZ1TmTaVWbJAGDtUgXb3NxDt19TbXsU67FmMlahhlSKtUmY5i4oOloUMBbJAGDs0gffFKt5X6YOTe90pkmF0ohqCGylgsImsZdVeP1XiVFIPdhmKDNHBIBrm2lEW8Mva6JXRj12Th7nAH6R+k8m803d5NGjP7pA3SwCEYhJ7ih0n1zJB/Jl1X2hdqgxDK/vzqM/RMaYrRdTZIA/tuECJembYm/o7o4/hRiT6PfWLTkFsmVWOiv6mwQRrYd4MwG2T8LUQLzz7SZRDiwh4pXUKaEhukgX03CJXXbLK7qSc4WILMIK+RusaFjMUGaeBQKulMNJBNcMCED1NMcLAEN5MiBOZfJCrpcx67DdLAoRgE5pzgYCliooQlQu1tkAYOySAB4SPbTHCAiRgwRcYZI+ab+gGpLw5qDXCsXBsbpIdDNAjQYUgmzToMu0YL1kW0sWKu3TVjgzRwqAYJCCupp9NBWchJHYtFIGD5ZmiV3yDTEvfDBulgjEECwkx4e8T3IN4uZOQIWtzHcPcx2CANnBaDAOEmhJ3UYe/UV6i32CDrJO6HDdLBVAYJCD8hDCW+E9HyVYeq2CDrIO6HDdLB1AYBwlAIR6mH3payQdZB3A8bpIM5DBKwTl+sqlXLBlkHcT9skA7mNAjQ2sT4bcZxx++8V9qXHvhtsUEasEEuggFTrLbLgKuu4a6HhA3SgA1yerFBGrBBTi82SAM2yOnFBmnABjm92CANxBLMUw7lnBobZB5+R+Ka2iA9/I3Ej9N6s1ZskHmIecPOOd5aL3Hvd2KQiHRlEZa1YoPMw7kS1/SJx1vrJe79TgxyJ4kfpy7yeXywQmyQebirxDV9q9SyZNuuiHu/E4N8jPQXEgfAuhIMJlrbxbJB5oH1FD8ocV3vwwcrJe79TgwCXyQxSUAcCCEXlE8ZooqoxO1SFP/i2GyQaaH+wXVlStMnSGscBRn3fmcGgc+R1jZ5cy1u4j6tG7gPUFqoR1z+k/QnEs3Aa1Ac104NEnyNxBP7Aik72F2K8HQzPczvSxGrXoRnbZprfjBjmmDmxjOlrJi7a32PtPYx/sYYY4wxxhgzK6yUypJk9LgO1fdJLKB5S+k6EivNbgsj/c6XXiv9rcT0PLVYgenPpbOlQ4Nr98vSH0r0epfnTSwdq/U+R2J2+CkW1jGN3EPKmtu2FRO3nSd9szSkw4/JnLPvy/Rc6dAoIwk2ac3DFg4Opt/PbsIUoueesd8tEyPYIPm5ZrJBFmROg4QoNmxa9N4Gyc81kw2yIEsYBDHLIetidGGD5OeayQZZkKUMgvrGo9gg+blmskEWZEmDMKH0GVKGDZKfayYbZEGWNAj6SSnDBsnPNZMNsiBLG+SPpAxGOmbpMz1LOjRskJUyxCAsHUBHHcuYve/ks6Gi46sLOgt5k3yBxLiAUqwtyN9YMWrNQ0e3xQZZKUMMUmduBmAxGjFL2yUWzD/EDD4WG2SljDFIUA6XbVGfQS4m0WeCeGOgKxWf9Y02ZFDQ10k/Jv2I9A1S34q3wWUk0hI+8wDpfif/57suKU0Jw12/RWJZOMZAcJzMOs+UTNm1yjSFQa4s3U66t8RxxDnz2TYTe7A89x0lvotzu57E/eiDfPAV0r0k9qNT+asl5lBYDVMY5EukLH2m90gZmKBerbZLvy7V0Fsfc0CVer/0MxJLs5XQJ3Nf6Q1SvU8phgC/QhqTKS8lPUwixiz7jaHa9liI92LE5l9K2feW4j49WWpZe54HV0wKUorfualUw6Cos6Su6/FGiYfWKpjCIGSALH0mhtVmjG3F4qmVpQ29ReI3eGpxzjEd6xA9ThqynghPUEy4bX2tS0MNQobk7bDtcNvflvoyLEGW2X6Ipv07SAElgF+TsrSlfk5aBVMYZEgLFL+XMdYgb5KytKUIpHxJ9dlQkRlaIFDzmVL2HWM1xCAUfaY4Du499aQalrnb9Ob/D4kSAmlffPLZJj1dWgVTGOQRUpa+FsUd5mnKGGOQIQYdK4pclJP7ICO8TMr2n0KtBuFpzRs7+45t9C6prp9cQ8rS1vop6cHVZ32i8WcVjDEImf3npSxtJirAXYwxyG2kLN1cYlxGH60PjG3VapChLYwtoh+rbGRhhpwsXS3qI7RgZn/LdBdpFQwxCDP08eqjo+5PpXot8j5Rju1rvRpjEC5mlm4usZz0p0sZVEp5y2T7TaUWg9Aale07hahgB8zSmaUZK/LDKhhikG31WxJl4T7GGORbpSzdnLqFlDG2jtOiTQahmfTtUrbvFKL4GNxIytKMESNHVzP9z5wG+ZBE+3rfmyMYYxD6FrJ0c4r+gxomPcvSTq1NBvlOKdtvKlFyiKELl5aGFJ1a9EvSapjTIBTJfkVinfJNjDEITxsGZWVpW0QzLPsPafrNWrPob8nSdolK729IL5IotmVpMm0yCMXfbL9a/OZDJUJ5biZxLFm6TNeUgqz/aYyY32A1LFHE+oB0T6mPMQYB2umJFKZiSnNutl+tt0lMWBHFv8tLZNosbS3a8muGzHtMMaXs5adlLEuXqc8gTOiQ7ZPp/lIJRTOuSZa21k2kgI5CWqm49i3N7SEMypsYg95N4iH1DGlVLGGQ0C9KXWXLsQYpaW3a5NxrHillaWvVLVn0e7S+BSiiXE0qmSoWi065bJ9MzPhfE0u2bVLXHLo04mTpMzFDS01LcXxRljQIIvYoYy0Goec7S1urPoarS1m6TK+RaqYyCD3Q2T6ZriiVkDljub5NqvcNhhjkq6TVM8QgTJlPRkbcUCYbfqWUpe0ST9ksGG4tBmm9HvUxEJyXpcvEGh01UxlkSAalv4YgQfQT0kulLF0tFmHqKgkM+X0eKqtniEGynnTijYaGMmQZZN8N8vVSli4TPco1UxnkhVK2z5Tqa2UaYpCut9CqGGsQGNq8ybLUHy+V7LtBmGEyS5fpgVLNVAZhZspsn6lEuFBfxrZBEmgLz9L3iQxRsu8GoQc9S5fp4VLNVAb5YynbZyox3WwfNkgCg2+y9H1ikFDJvhvki6UsXaZsPMtUBmk996GiqZ6Q+U3YIAlDRsOF6n6RfTcINztLl4l+mro5cyqDPEnK9tlWREM8TWodZWiDVHBjWzvXStFyUrLvBqFVh1a+LG0mwkFKpjIIHW/ZPpmYMZ5rVYp+EAxBxx+BiEOHHJ9qgzAwhtcso/ceItFism0cDrPKl+y7QeD5UpY2E5Vdmsk/WyLDv07K0vWJEYJ3lkquK2VpM80R0nGqDTKlCMcuOQSD0AmapZ1TxJFdXApodm+N5CVqYBMEJRKOQ3zXpoFiYINMIN469RjnQzAIcVBDgg6nUh16TzNyli4TfVis5cLb5FoScVF3kighELrPXGiRlnXVN4Wh2yATiAxccwgGgadKWfo5RVGthHrDe6Us7VgxgrAPG2SkeHtQTq45FIMQPkH9IttnLmV9E98lZWnHiqmA+rBBRioLs4BDMQhsmoJoat1Kyni8lKUfI6ae7cMGGaEsvDk4JINQTm+Z+2kKUedhPEYGfS2/KmX7bSta2/o4OIPQbJsd/JRiBr1bS30ckkGA1qTHStm+m0SmZ/BXSz2iZab7H5Kmajzgu/o4OINcVaK3NDuBMWJQEBmVDrGW1W4PzSDAm4SQmiEdqTSnXl8CJkRgIdQsHSL8o7WHmyGyz5ay72kRHYg3ljZxcAYBJhAmRIGT21aUd5kjKyYg7poWpwvSP1G6QKJ5kbJuKYLwyPjc5LpzrOaGEpNFMIKRY6MDj31D/AZFjxtINWQkKqIMia2PAb1aYjTh7aVW6EvAeF1DcpkHl6GmTKBdT/hMczhDWUlT7sNa6uWw11aIGWMcOoO2yu+rRV8KUzUREsQs/q0wcfhfSe+Wsu9FdDi/WSLI1ZgP4xIST336G64tXU6qTZHBnMC87TE/s7hMMTSVCb2vIjFBNcfDsAXe5C0z4huTwlhywmSmXhbBmIOAIEuKCX0Bg8acWmyQA4S1/6iIM+qN8m9LmXcqKIpQrg3x+1OXcSmPk2EZ9krY+JwMMQitWJwvaWmZ4j7sGuLFmCSOGUWuwAcnUP/g+lGJnwpmuWeVLr6X+tYqIXCNGQ6jBQGxYtJSMKN7+dshmg27lkIYCh1l8b0tza9jaDUI62G8SorjQgT+sfzaLiCzMllGPeF4zBAZLWz8OxU048bv0Jq4Or5NigMs9TwpOF+i+fKc463piQyVKZudcBtKgzAN5py0GqSrSffmEjBNEE2tRMiyqu9Yzpa4j10Zkabd7HhYGg7mNgiDsFYH7flxgEzrSNs9FyQ6fFhbMHpredrR1BeLZDIdJ5GbvB7LeViBVzTj0IEQadrveXVnlAb5Wakcnsv6gHCGxPgQmjCBZkyOJV73NENyHGSuKB5SROAz0vF05F8UmY3vivX1OFZ68jnvunkUc3H8iHPZFM7dYhD6dOIcEaPzCB6kZ53fZ63A8rrQKhbHzdiOODeuf1kc5a3E7/IdNBcz4o9rRzEu3lbvlLgOdXGunBKUhyIPT/quaOaFMAihJBTF6wVM+U2uD8fFteRYAvIKa7Twm9wf9qePprwvMQcWnZ/kO2DOZvbjs6z/h99hOqU6/01GGazGcFBuRNmrnfXSkrG4We8oPkN0JJJ5bnuyTe87nWbxd3p1s86zMiPQWUa7f2zH045iEdsxpDd6wnkiQrkQDGV5Mkf0/rMwS7lGIt9F2TpGOlKcLEc9MkFzQNhEXfxkMUq+v4sWg7B/+Z1MTl0uhklHZ/l3xHQ9wDDY8nPGr8fYmbgu3Fc64/g/50enZrkPosO2pJzcm3XuWTKifFhkbzwenlFPKe8jInQFg0JEH2BCinGRppwOinuNkVk7BTFJXbmOCh23AcXyOjSGvIDhJoUoz/JHEHFR8WTmxsWAGP7lIHh6dxUPeOpgsuxvCBPWmau8sPw9MjYZMeogmwxCBS++gylzysVhmIC5roNsGt/NTae3v2uhm67gP2gxCLxAqr/3XIkJonkTMjthfM56GE+RgDHlzIjPdvydZZKhNg/i4cFEbuU6gVxbnvQl2WhHTMMDC7ruOW8/4C3A4Cp+LxYlxZiQ1TPpia/rILwZyzSluBdc9yzPhlpClgbDBa9jrbg54UYyJZ9F5rysFOl42vJajfENhEOwjnm5xBiNAATMxXbdilQahAnj4ruoLDIPLmwyCFBW5zNCFMhA/J+Lyqu+NghvunKOXQIyWf44tnkLsWJtbLO+d/m2ncIgFDmzaVk5DiADx2c8gYHecopiGIliUPw9VnzlXKNIzBubekz9kEHZ8fO2wEj1Q4FrDWGQ10sUASPPYAigFTRCdyKMhDcRUAwsx+MzUzsP2togFKOY4jQ+O1N6ULFNXjuv2Ka0Ug5Am9wglPs4eG4WmTt+CEWZtzYIQy8jTSwSU77OoYwAJqOUg3Mof5aUBiEjUFyIbV6jFI9aDHJ3KfaLYhGvaagNAmUG5Bi5GbHN05B4qtgmVqosxk1hEDIvRr2lFNcY/a4EmUHKRS5Ztjr+H5kU4rv4e8kmg1Du5+3Foptl6xrFT4wZBuFfiLVS+G3OJYqpmCP+Vh5DWbSiOR+yVqz6PpR5iYfry4tt6sPl905uEIpQRJLyxOcA44cQpoHaIDyRIg1BfWSEKA/GhGe1QcoWEsqZJaVBWGCmHunGRYlj43cwLsZgm7UqYpkAMjFPzXLfWOhxG4OUa3tHhTW2xxqEZQVIg4FJX65XEtcwM0jMbEIgIpkh/k7QYNQFtjEIRiVj88SntbLMhMyMAn0GKZ/6POXjAUbeirrVVAbh+sQ2FfhZ3yBdEZU8QYLaIFzMrnX2olJWnlSpbFB/aZBaFLkImKOJMvs74tUdlIN/eItQFIBtDEKrVWzXGmuQb5fq7wxRbIDMIGUmp14S/0fxFtnGIOVbu9ZjJOgzSLlIKqYo+1JozIGpDMKEEbFda3KDZK00tPqU087XBgGa3yjrxz6UW6McDJlBqNdkvaVUMOu0iKdZzMbBW4vt+BvfFRXScmoaZt+INHHBYRuDYGRGOJazdoTGGoRm3rqTkCIKzdxBZhAyVvm2oUgblXnC92Ebg3Cuj5bqTkIq2dGU22cQ6qvlrPGY5MUn/4/0UxmEutKjpLLlMTS5QYCnLK9BWk4orpRNe4AZONB6tSHKpdRHyAicaEl5UjyJObGuJji+hwtWKsuAzPbO71EZ5EJQ/qTJuVwdt7wJ5ThsKn/x3TQyAMfDg4DP+A76FyJN9PXQvk5m5rqUleK+kJAWgwRcW1rLOKf6Ozke6gVce+phAa2A9AvwsOFeUbSMPgWgBZJ96pAQzpvrRQNEfY8Dxl8wBoYHE9ehhCI3n8W9pkGA7bhXXGPuM+fCW59t/h9FdfbjuPgsri/HEdc80vG3+Iz7TB05tqkjAefO9eK+UGeL+1KvCLBaSoNwYkvAjYo6CEXHuJhj4G3K95WtfDSD9zHEIGY7ompQ3hda1/YGhpHyqkcM4lkCKmxU3lG2vsY2MIIxhsPStk8xZZPhbZD5oTgWIyjpzKYbYcioRrNDWAn3LKmvt90YY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY8zecHT0/wiTGSkDJTn8AAAAAElFTkSuQmCC"},239:function(e,t,r){"use strict";var n=r(56),a=r(78),o=r(77),i=r(6),c=r(7),s=r(16),u=r(15),l=r(17),d=r(23),p=r(9),f=function(e){function t(){return Object(i.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(c.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0!==a&&a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forView",value:function(e){return e}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forForm",value:function(){return p.mixed().label(this.label)}},{key:"forFilter",value:function(){return p.mixed().label(this.label)}},{key:"forExport",value:function(){return p.mixed().label(this.label).transform((function(e,t){return JSON.stringify(t,null,2)}))}},{key:"forImport",value:function(){return p.mixed().label(this.label)}}]),t}(d.a),E=r(25),m=r(5),b=r(135);function O(e){return Object(m.c)("auditLog.fields.".concat(e))}var h={id:new o.a("id",O("id")),timestampRange:new a.a("timestampRange",O("timestampRange")),timestamp:new n.a("timestamp",O("timestamp")),createdByEmail:new E.a("createdByEmail",O("createdByEmail")),entityName:new E.a("entityName",O("entityName")),entityNames:new b.a("entityNames",O("entityNames")),action:new E.a("action",O("action")),entityId:new E.a("entityId",O("entityId")),values:new f("values",O("values"))};t.a={fields:h}},24:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(42),c=r(30),s=r(8),u=r(18),l=r(5),d=r(14),p=r(66),f={ERROR_MESSAGE_CLEARED:"".concat("AUTH","_ERROR_MESSAGE_CLEARED"),AUTH_INIT_SUCCESS:"".concat("AUTH","_INIT_SUCCESS"),AUTH_INIT_ERROR:"".concat("AUTH","_INIT_ERROR"),AUTH_START:"".concat("AUTH","_START"),AUTH_SUCCESS:"".concat("AUTH","_SUCCESS"),AUTH_ERROR:"".concat("AUTH","_ERROR"),UPDATE_PROFILE_START:"".concat("AUTH","_UPDATE_PROFILE_START"),UPDATE_PROFILE_SUCCESS:"".concat("AUTH","_UPDATE_PROFILE_SUCCESS"),UPDATE_PROFILE_ERROR:"".concat("AUTH","_UPDATE_PROFILE_ERROR"),CURRENT_USER_REFRESH_START:"".concat("AUTH","_CURRENT_USER_REFRESH_START"),CURRENT_USER_REFRESH_SUCCESS:"".concat("AUTH","_CURRENT_USER_REFRESH_SUCCESS"),CURRENT_USER_REFRESH_ERROR:"".concat("AUTH","_CURRENT_USER_REFRESH_ERROR"),PASSWORD_RESET_EMAIL_START:"".concat("AUTH","_PASSWORD_RESET_EMAIL_START"),PASSWORD_RESET_EMAIL_SUCCESS:"".concat("AUTH","_PASSWORD_RESET_EMAIL_SUCCESS"),PASSWORD_RESET_EMAIL_ERROR:"".concat("AUTH","_PASSWORD_RESET_EMAIL_ERROR"),PASSWORD_RESET_START:"".concat("AUTH","_PASSWORD_RESET_START"),PASSWORD_RESET_SUCCESS:"".concat("AUTH","_PASSWORD_RESET_SUCCESS"),PASSWORD_RESET_ERROR:"".concat("AUTH","_PASSWORD_RESET_ERROR"),EMAIL_VERIFY_START:"".concat("AUTH","_EMAIL_VERIFY_START"),EMAIL_VERIFY_SUCCESS:"".concat("AUTH","_EMAIL_VERIFY_SUCCESS"),EMAIL_VERIFY_ERROR:"".concat("AUTH","_EMAIL_VERIFY_ERROR"),EMAIL_CONFIRMATION_START:"".concat("AUTH","_EMAIL_CONFIRMATION_START"),EMAIL_CONFIRMATION_SUCCESS:"".concat("AUTH","_EMAIL_CONFIRMATION_SUCCESS"),EMAIL_CONFIRMATION_ERROR:"".concat("AUTH","_EMAIL_CONFIRMATION_ERROR"),doClearErrorMessage:function(){return{type:f.ERROR_MESSAGE_CLEARED}},doSendEmailConfirmation:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:f.EMAIL_CONFIRMATION_START}),e.next=4,c.a.sendEmailVerification(i.a.selectAuthenticationUser(r()));case 4:u.a.success(Object(l.c)("auth.verificationEmailSuccess")),t({type:f.EMAIL_CONFIRMATION_SUCCESS}),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),s.a.handle(e.t0),t({type:f.EMAIL_CONFIRMATION_ERROR});case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,r){return e.apply(this,arguments)}}()},doSendPasswordResetEmail:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.PASSWORD_RESET_EMAIL_START}),t.next=4,c.a.sendPasswordResetEmail(e);case 4:u.a.success(Object(l.c)("auth.passwordResetEmailSuccess")),r({type:f.PASSWORD_RESET_EMAIL_SUCCESS}),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.PASSWORD_RESET_EMAIL_ERROR});case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},doRegisterEmailAndPassword:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n){var o,i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:f.AUTH_START}),r.next=4,c.a.registerWithEmailAndPassword(e,t);case 4:return o=r.sent,p.a.set(o,!0),r.next=8,c.a.fetchMe();case 8:i=r.sent,n({type:f.AUTH_SUCCESS,payload:{currentUser:i}}),r.next=18;break;case 12:return r.prev=12,r.t0=r.catch(0),r.next=16,c.a.signout();case 16:400!==s.a.errorCode(r.t0)&&s.a.handle(r.t0),n({type:f.AUTH_ERROR,payload:s.a.selectMessage(r.t0)});case 18:case"end":return r.stop()}}),r,null,[[0,12]])})));return function(e){return r.apply(this,arguments)}}()},doSigninWithEmailAndPassword:function(e,t,r){return function(){var n=Object(o.a)(a.a.mark((function n(o){var i,u;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,o({type:f.AUTH_START}),i=null,n.next=5,c.a.signinWithEmailAndPassword(e,t);case 5:return u=n.sent,p.a.set(u,r),n.next=9,c.a.fetchMe();case 9:i=n.sent,o({type:f.AUTH_SUCCESS,payload:{currentUser:i}}),n.next=19;break;case 13:return n.prev=13,n.t0=n.catch(0),n.next=17,c.a.signout();case 17:400!==s.a.errorCode(n.t0)&&s.a.handle(n.t0),o({type:f.AUTH_ERROR,payload:s.a.selectMessage(n.t0)});case 19:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e){return n.apply(this,arguments)}}()},doSignout:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:f.AUTH_START}),e.next=4,c.a.signout();case 4:t({type:f.AUTH_SUCCESS,payload:{currentUser:null}}),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),s.a.handle(e.t0),t({type:f.AUTH_ERROR});case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},doInit:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.a.get();case 3:if(r=e.sent,n=null,!r){e.next=9;break}return e.next=8,c.a.fetchMe();case 8:n=e.sent;case 9:t({type:f.AUTH_INIT_SUCCESS,payload:{currentUser:n}}),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),c.a.signout(),s.a.handle(e.t0),t({type:f.AUTH_INIT_ERROR,payload:e.t0});case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}()},doRefreshCurrentUser:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:f.CURRENT_USER_REFRESH_START}),n=null,e.next=5,p.a.get();case 5:if(!e.sent){e.next=10;break}return e.next=9,c.a.fetchMe();case 9:n=e.sent;case 10:t({type:f.CURRENT_USER_REFRESH_SUCCESS,payload:{currentUser:n}}),e.next=18;break;case 13:e.prev=13,e.t0=e.catch(0),c.a.signout(),s.a.handle(e.t0),t({type:f.CURRENT_USER_REFRESH_ERROR,payload:e.t0});case 18:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(t,r){return e.apply(this,arguments)}}()},doUpdateProfile:function(e,t,r,n){return function(){var i=Object(o.a)(a.a.mark((function o(i){return a.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,i({type:f.UPDATE_PROFILE_START}),a.next=4,c.a.updateProfile(e,t,r,n);case 4:i({type:f.UPDATE_PROFILE_SUCCESS}),i(f.doRefreshCurrentUser()),u.a.success(Object(l.c)("auth.profile.success")),Object(d.b)().push("/"),a.next=14;break;case 10:a.prev=10,a.t0=a.catch(0),s.a.handle(a.t0),i({type:f.UPDATE_PROFILE_ERROR});case 14:case"end":return a.stop()}}),o,null,[[0,10]])})));return function(e){return i.apply(this,arguments)}}()},doVerifyEmail:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.EMAIL_VERIFY_START}),t.next=4,c.a.verifyEmail(e);case 4:r(f.doRefreshCurrentUser()),u.a.success(Object(l.c)("auth.verifyEmail.success")),r({type:f.EMAIL_VERIFY_SUCCESS}),Object(d.b)().push("/"),t.next=16;break;case 10:t.prev=10,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.EMAIL_VERIFY_ERROR}),r(f.doSignout()),Object(d.b)().push("/");case 16:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e){return t.apply(this,arguments)}}()},doResetPassword:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n){return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:f.PASSWORD_RESET_START}),r.next=4,c.a.passwordReset(e,t);case 4:u.a.success(Object(l.c)("auth.passwordResetSuccess")),n({type:f.PASSWORD_RESET_SUCCESS}),Object(d.b)().push("/"),r.next=15;break;case 9:r.prev=9,r.t0=r.catch(0),s.a.handle(r.t0),n({type:f.PASSWORD_RESET_ERROR}),n(f.doSignout()),Object(d.b)().push("/");case 15:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(e){return r.apply(this,arguments)}}()}};t.a=f},25:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(6),a=r(7),o=r(16),i=r(15),c=r(17),s=r(23),u=r(9),l=function(e){function t(e,r){var a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=c.required,u=void 0!==s&&s,l=c.min,d=void 0===l?void 0:l,p=c.max,f=void 0===p?void 0:p,E=c.matches,m=void 0===E?void 0:E;return Object(n.a)(this,t),(a=Object(o.a)(this,Object(i.a)(t).call(this,e,r))).required=u,a.matches=m,a.min=d,a.max=f,a}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0===a||a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?void 0:s}}},{key:"forView",value:function(e){return e}},{key:"forFormInitialValue",value:function(e){return e}},{key:"forForm",value:function(){var e=u.string().nullable(!0).trim().label(this.label);return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),this.matches&&(e=e.matches(/^[0-9]/)),e}},{key:"forFilter",value:function(){return u.string().nullable(!0).trim().label(this.label)}},{key:"forExport",value:function(){return u.mixed().label(this.label)}},{key:"forImport",value:function(){var e=u.string().nullable(!0).trim().label(this.label);return this.required&&(e=e.required()),(this.min||0===this.min)&&(e=e.min(this.min)),this.max&&(e=e.max(this.max)),this.matches&&(e=e.matches(/^[0-9]/)),e}}]),t}(s.a)},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(10),a=r(2),o=r.n(a),i=r(3),c=r(6),s=r(7),u=r(13);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(){function e(){Object(c.a)(this,e)}return Object(s.a)(e,null,[{key:"enable",value:function(){var e=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._changeStatus(t,!1));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"disable",value:function(){var e=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._changeStatus(t,!0));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_changeStatus",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r){var n,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={ids:t,disabled:!!r},e.next=3,u.a.put("/iam/status",n);case 3:return a=e.sent,e.abrupt("return",a.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"edit",value:function(){var e=Object(i.a)(o.a.mark((function e(t){var r,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={data:t},e.next=3,u.a.put("/iam",r);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"remove",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r){var n,a,i,c=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>2&&void 0!==c[2]&&c[2],a={emails:t,roles:r,all:n},e.next=4,u.a.delete("/iam",{params:a});case 4:return i=e.sent,e.abrupt("return",i.data);case 6:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"create",value:function(){var e=Object(i.a)(o.a.mark((function e(t){var r,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={data:t},e.next=3,u.a.post("/iam",r);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"import",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r){var n,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={data:d({},t),importHash:r},e.next=3,u.a.post("/iam/import",n);case 3:return a=e.sent,e.abrupt("return",a.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"find",value:function(){var e=Object(i.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.get("/iam/".concat(t));case 2:return r=e.sent,e.abrupt("return",r.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchUsers",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r,n,a){var i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={filter:t,orderBy:r,limit:n,offset:a},e.next=3,u.a.get("/iam/user",{params:i});case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()},{key:"fetchRoles",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r,n,a){var i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={filter:t,orderBy:r},e.next=3,u.a.get("/iam/role",{params:i});case 3:return c=e.sent,e.abrupt("return",{rows:c.data,count:c.data.length});case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()},{key:"fetchUserAutocomplete",value:function(){var e=Object(i.a)(o.a.mark((function e(t,r){var n,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={query:t,limit:r},e.next=3,u.a.get("/iam/user/autocomplete",{params:n});case 3:return a=e.sent,e.abrupt("return",a.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()}]),e}()},290:function(e,t,r){"use strict";var n={CHANGED:"".concat("IAM_LIST_MODE","_CHANGED"),doChangeIamListMode:function(e){return{type:n.CHANGED,payload:e}}};t.a=n},292:function(e,t){},293:function(e,t,r){"use strict";var n=r(118),a=r(295),o=r(27),i=r(296),c=r(5);t.a=Object(n.a)("IAM_IMPORTER",a.a,o.a.import,i.a,Object(c.c)("iam.importer.fileName"))},295:function(e,t,r){"use strict";var n=r(117);t.a=Object(n.a)("iam.importer")},296:function(e,t,r){"use strict";var n=r(140).a.fields;t.a=[n.email,n.firstName,n.lastName,n.phoneNumber,n.avatarsIam,n.roles]},297:function(e,t,r){"use strict";var n=r(118),a=r(298),o=r(44),i=r(299),c=r(5);t.a=Object(n.a)("USERNAME_IMPORTER",a.a,o.a.import,i.a,Object(c.c)("entities.username.importer.fileName"))},298:function(e,t,r){"use strict";var n=r(117);t.a=Object(n.a)("username.importer")},299:function(e,t,r){"use strict";var n=r(147).a.fields;t.a=[n.name,n.email,n.password,n.points]},30:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(13),u=r(66),l=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"sendEmailVerification",value:function(){var e=Object(o.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.post("/auth/send-email-address-verification-email");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.post("/auth/send-password-reset-email",{email:t});case 2:return r=e.sent,e.abrupt("return",r.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"registerWithEmailAndPassword",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.post("/auth/sign-up",{email:t,password:r});case 2:return n=e.sent,e.abrupt("return",n.data);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"signinWithEmailAndPassword",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.post("/auth/sign-in",{email:t,password:r});case 2:return n=e.sent,e.abrupt("return",n.data);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"fetchMe",value:function(){var e=Object(o.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("/auth/me");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"isEmailConfigured",value:function(){var e=Object(o.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("/auth/email-configured");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"signout",value:function(){u.a.set(null,!0)}},{key:"updateProfile",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r,n,o){var i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={profile:{firstName:t,lastName:r,phoneNumber:n,avatars:o}},e.next=3,s.a.put("/auth/profile",i);case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()},{key:"passwordReset",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.put("/auth/password-reset",{token:t,password:r});case 2:return n=e.sent,e.abrupt("return",n.data);case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"verifyEmail",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.put("/auth/verify-email",{token:t});case 2:return r=e.sent,e.abrupt("return",r.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}()},300:function(e,t,r){"use strict";var n=r(118),a=r(301),o=r(45),i=r(302),c=r(5);t.a=Object(n.a)("BOOK_IMPORTER",a.a,o.a.import,i.a,Object(c.c)("entities.book.importer.fileName"))},301:function(e,t,r){"use strict";var n=r(117);t.a=Object(n.a)("book.importer")},302:function(e,t,r){"use strict";var n=r(145).a.fields;t.a=[n.bookName,n.author,n.subject,n.bookOwner]},32:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(27),c=r(47),s=r(8),u=r(18),l=r(308),d=r.n(l),p=r(5),f="IAM_LIST_ROLES",E={FETCH_STARTED:"".concat(f,"_FETCH_STARTED"),FETCH_SUCCESS:"".concat(f,"_FETCH_SUCCESS"),FETCH_ERROR:"".concat(f,"_FETCH_ERROR"),RESETED:"".concat(f,"_RESETED"),SELECTEDS_CHANGED:"".concat(f,"_SELECTEDS_CHANGED"),PAGINATION_CHANGED:"".concat(f,"_PAGINATION_CHANGED"),SORTER_CHANGED:"".concat(f,"_SORTER_CHANGED"),EXPORT_STARTED:"".concat(f,"_EXPORT_STARTED"),EXPORT_SUCCESS:"".concat(f,"_EXPORT_SUCCESS"),EXPORT_ERROR:"".concat(f,"_EXPORT_ERROR"),REMOVE_ALL_SELECTED_STARTED:"".concat(f,"_REMOVE_ALL_SELECTED_STARTED"),REMOVE_ALL_SELECTED_SUCCESS:"".concat(f,"_REMOVE_ALL_SELECTED_SUCCESS"),REMOVE_ALL_SELECTED_ERROR:"".concat(f,"_REMOVE_ALL_SELECTED_ERROR"),CHANGE_STATUS_SELECTED_STARTED:"".concat(f,"_CHANGE_STATUS_SELECTED_STARTED"),CHANGE_STATUS_SELECTED_SUCCESS:"".concat(f,"_CHANGE_STATUS_SELECTED_SUCCESS"),CHANGE_STATUS_SELECTED_ERROR:"".concat(f,"_CHANGE_STATUS_SELECTED_ERROR"),doChangeSelected:function(e){return{type:E.SELECTEDS_CHANGED,payload:e}},doReset:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:E.RESETED}),t(E.doFetch());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doChangePaginationAndSort:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n({type:E.PAGINATION_CHANGED,payload:e}),n({type:E.SORTER_CHANGED,payload:t}),i=c.a.selectFilter(o()),n(E.doFetch(i,!0));case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},doFetch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var u;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:E.FETCH_STARTED,payload:{filter:e,keepPagination:t}}),r.next=4,i.a.fetchRoles(e,c.a.selectOrderBy(o()),c.a.selectLimit(o()),c.a.selectOffset(o()));case 4:u=r.sent,n({type:E.FETCH_SUCCESS,payload:{rows:u.rows,count:u.count}}),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),s.a.handle(r.t0),n({type:E.FETCH_ERROR});case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}()},doDisableAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=c.a.selectSelectedChildren(r()),t({type:E.CHANGE_STATUS_SELECTED_STARTED}),e.next=5,i.a.disable(n.map((function(e){return e.userId})));case 5:t({type:E.CHANGE_STATUS_SELECTED_SUCCESS}),u.a.success(Object(p.c)("iam.doDisableAllSuccess")),o=c.a.selectFilter(r()),t(E.doFetch(o)),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),s.a.handle(e.t0),t({type:E.CHANGE_STATUS_SELECTED_ERROR}),l=c.a.selectFilter(r()),t(E.doFetch(l));case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}()},doEnableAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=c.a.selectSelectedChildren(r()),t({type:E.CHANGE_STATUS_SELECTED_STARTED}),e.next=5,i.a.enable(n.map((function(e){return e.userId})));case 5:t({type:E.CHANGE_STATUS_SELECTED_SUCCESS}),u.a.success(Object(p.c)("iam.doEnableAllSuccess")),o=c.a.selectFilter(r()),t(E.doFetch(o)),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),s.a.handle(e.t0),t({type:E.CHANGE_STATUS_SELECTED_ERROR}),l=c.a.selectFilter(r()),t(E.doFetch(l));case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}()},doRemoveAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,l,f,m,b,O;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,n=c.a.selectSelectedChildren(r()),t({type:E.REMOVE_ALL_SELECTED_STARTED}),o=d()(n,"role"),l=0,f=Object.keys(o);case 5:if(!(l<f.length)){e.next=12;break}return m=f[l],e.next=9,i.a.remove(o[m].map((function(e){return e.email})),[m]);case 9:l++,e.next=5;break;case 12:t({type:E.REMOVE_ALL_SELECTED_SUCCESS}),u.a.success(Object(p.c)("iam.roles.doRemoveAllSelectedSuccess")),b=c.a.selectFilter(r()),t(E.doFetch(b)),e.next=24;break;case 18:e.prev=18,e.t0=e.catch(0),s.a.handle(e.t0),t({type:E.REMOVE_ALL_SELECTED_ERROR}),O=c.a.selectFilter(r()),t(E.doFetch(O));case 24:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t,r){return e.apply(this,arguments)}}()}};t.a=E},33:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(27),c=r(37),s=r(8),u=r(18),l=r(5),d=r(140).a.fields,p=[d.id,d.email,d.fullName,d.phoneNumber,d.avatarsIam,d.roles,d.disabled,d.createdAt],f=r(79),E="IAM_LIST_USERS",m={FETCH_STARTED:"".concat(E,"_FETCH_STARTED"),FETCH_SUCCESS:"".concat(E,"_FETCH_SUCCESS"),FETCH_ERROR:"".concat(E,"_FETCH_ERROR"),RESETED:"".concat(E,"_RESETED"),SELECTEDS_CHANGED:"".concat(E,"_SELECTEDS_CHANGED"),PAGINATION_CHANGED:"".concat(E,"_PAGINATION_CHANGED"),SORTER_CHANGED:"".concat(E,"_SORTER_CHANGED"),EXPORT_STARTED:"".concat(E,"_EXPORT_STARTED"),EXPORT_SUCCESS:"".concat(E,"_EXPORT_SUCCESS"),EXPORT_ERROR:"".concat(E,"_EXPORT_ERROR"),REMOVE_ALL_SELECTED_STARTED:"".concat(E,"_REMOVE_ALL_SELECTED_STARTED"),REMOVE_ALL_SELECTED_SUCCESS:"".concat(E,"_REMOVE_ALL_SELECTED_SUCCESS"),REMOVE_ALL_SELECTED_ERROR:"".concat(E,"_REMOVE_ALL_SELECTED_ERROR"),CHANGE_STATUS_SELECTED_STARTED:"".concat(E,"_CHANGE_STATUS_SELECTED_STARTED"),CHANGE_STATUS_SELECTED_SUCCESS:"".concat(E,"_CHANGE_STATUS_SELECTED_SUCCESS"),CHANGE_STATUS_SELECTED_ERROR:"".concat(E,"_CHANGE_STATUS_SELECTED_ERROR"),doChangeSelected:function(e){return{type:m.SELECTEDS_CHANGED,payload:e}},doReset:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:m.RESETED}),t(m.doFetch());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doExport:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,p&&p.length){e.next=3;break}throw new Error("exporterFields is required");case 3:return t({type:m.EXPORT_STARTED}),n=c.a.selectFilter(r()),e.next=7,i.a.fetchUsers(n,c.a.selectOrderBy(r()),null,null);case 7:o=e.sent,new f.a(p,Object(l.c)("iam.users.exporterFileName")).transformAndExportAsExcelFile(o.rows),t({type:m.EXPORT_SUCCESS}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),s.a.handle(e.t0),t({type:m.EXPORT_ERROR});case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r){return e.apply(this,arguments)}}()},doChangePaginationAndSort:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n({type:m.PAGINATION_CHANGED,payload:e}),n({type:m.SORTER_CHANGED,payload:t}),i=c.a.selectFilter(o()),n(m.doFetch(i,!0));case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},doFetch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var u;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:m.FETCH_STARTED,payload:{filter:e,keepPagination:t}}),r.next=4,i.a.fetchUsers(e,c.a.selectOrderBy(o()),c.a.selectLimit(o()),c.a.selectOffset(o()));case 4:u=r.sent,n({type:m.FETCH_SUCCESS,payload:{rows:u.rows,count:u.count}}),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),s.a.handle(r.t0),n({type:m.FETCH_ERROR});case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}()},doDisableAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,d;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=c.a.selectSelectedRows(r()),t({type:m.CHANGE_STATUS_SELECTED_STARTED}),e.next=5,i.a.disable(n.map((function(e){return e.id})));case 5:t({type:m.CHANGE_STATUS_SELECTED_SUCCESS}),u.a.success(Object(l.c)("iam.doDisableAllSuccess")),o=c.a.selectFilter(r()),t(m.doFetch(o)),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),s.a.handle(e.t0),t({type:m.CHANGE_STATUS_SELECTED_ERROR}),d=c.a.selectFilter(r()),t(m.doFetch(d));case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}()},doEnableAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,d;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=c.a.selectSelectedRows(r()),t({type:m.CHANGE_STATUS_SELECTED_STARTED}),e.next=5,i.a.enable(n.map((function(e){return e.id})));case 5:t({type:m.CHANGE_STATUS_SELECTED_SUCCESS}),u.a.success(Object(l.c)("iam.doEnableAllSuccess")),o=c.a.selectFilter(r()),t(m.doFetch(o)),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),s.a.handle(e.t0),t({type:m.CHANGE_STATUS_SELECTED_ERROR}),d=c.a.selectFilter(r()),t(m.doFetch(d));case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}()},doRemoveAllSelected:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o,d;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=c.a.selectSelectedRows(r()),t({type:m.REMOVE_ALL_SELECTED_STARTED}),e.next=5,i.a.remove(n.map((function(e){return e.email})),[],!0);case 5:t({type:m.REMOVE_ALL_SELECTED_SUCCESS}),u.a.success(Object(l.c)("iam.users.doRemoveAllSelectedSuccess")),o=c.a.selectFilter(r()),t(m.doFetch(o)),e.next=17;break;case 11:e.prev=11,e.t0=e.catch(0),s.a.handle(e.t0),t({type:m.REMOVE_ALL_SELECTED_ERROR}),d=c.a.selectFilter(r()),t(m.doFetch(d));case 17:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}()}};t.a=m},336:function(e,t,r){e.exports=r(552)},354:function(e,t,r){"use strict";r.r(t);t.default={backendUrl:"/api"}},37:function(e,t,r){"use strict";var n=r(10),a=r(4);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var i=function(e){return e.iam.list.users},c=Object(a.a)([i],(function(e){return e.loading})),s=Object(a.a)([i],(function(e){return e.exportLoading})),u=Object(a.a)([i],(function(e){return e.rows})),l=Object(a.a)([i],(function(e){return e.count})),d=Object(a.a)([l],(function(e){return e>0})),p=Object(a.a)([i],(function(e){var t=e.sorter;if(!t)return null;if(!t.columnKey)return null;var r="descend"===t.order?"DESC":"ASC";return"".concat(t.columnKey,"_").concat(r)})),f=Object(a.a)([i],(function(e){return e.filter})),E=Object(a.a)([i],(function(e){return e.pagination.pageSize})),m=Object(a.a)([i],(function(e){var t=e.pagination;return t&&t.pageSize?((t.current||1)-1)*t.pageSize:0})),b=Object(a.a)([i,l],(function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.pagination,{total:t,showSizeChanger:!0})})),O=Object(a.a)([i],(function(e){return e.selectedKeys})),h=Object(a.a)([i,u],(function(e,t){return t.filter((function(t){return e.selectedKeys.includes(t.id)}))}));t.a={selectLoading:c,selectRows:u,selectCount:l,selectOrderBy:p,selectLimit:E,selectFilter:f,selectOffset:m,selectPagination:b,selectSelectedKeys:O,selectSelectedRows:h,selectHasRows:d,selectExportLoading:s}},42:function(e,t,r){"use strict";var n=r(4),a=function(e){return e.auth},o=Object(n.a)([a],(function(e){return e.authenticationUser})),i=Object(n.a)([a],(function(e){return e.currentUser})),c=Object(n.a)([i],(function(e){return e?e.email:null})),s=Object(n.a)([i],(function(e){return e?e.fullName:""})),u=Object(n.a)([i],(function(e){return!!e&&!!e.id})),l=Object(n.a)([i],(function(e){return e&&e.roles||[]})),d=Object(n.a)([l],(function(e){return!e||!e.length})),p=Object(n.a)([a],(function(e){return!!e.loading})),f=Object(n.a)([a],(function(e){return!!e.loadingInit})),E=Object(n.a)([a],(function(e){return!!e.loadingEmailConfirmation})),m=Object(n.a)([a],(function(e){return!!e.loadingPasswordResetEmail})),b=Object(n.a)([a],(function(e){return!!e.loadingPasswordReset})),O=Object(n.a)([a],(function(e){return!!e.loadingVerifyEmail})),h={selectLoadingPasswordResetEmail:m,selectLoadingEmailConfirmation:E,selectLoadingInit:f,selectLoadingUpdateProfile:Object(n.a)([a],(function(e){return!!e.loadingUpdateProfile})),selectLoading:p,selectEmptyPermissions:d,selectRoles:l,selectSignedIn:u,selectCurrentUserFullName:s,selectCurrentUserEmail:c,selectCurrentUser:i,selectAuthenticationUser:o,selectErrorMessage:Object(n.a)([a],(function(e){return e.errorMessage})),selectRaw:a,selectCurrentUserNameOrEmailPrefix:Object(n.a)([i,s],(function(e,t){return e?t&&t.length<25?t:e.firstName?e.firstName:e.email.split("@")[0]:""})),selectCurrentUserAvatar:Object(n.a)([i],(function(e){return e&&e.avatars&&e.avatars.length&&e.avatars[0].publicUrl?e.avatars[0].publicUrl:null})),selectLoadingPasswordReset:b,selectLoadingVerifyEmail:O};t.a=h},43:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(45),c=r(92),s=r(5),u=r(145).a.fields,l=[u.id,u.bookName,u.author,u.subject,u.bookOwner,u.createdAt,u.updatedAt],d=r(8),p=r(79),f="BOOK_LIST",E={FETCH_STARTED:"".concat(f,"_FETCH_STARTED"),FETCH_SUCCESS:"".concat(f,"_FETCH_SUCCESS"),FETCH_ERROR:"".concat(f,"_FETCH_ERROR"),RESETED:"".concat(f,"_RESETED"),SELECTEDS_CHANGED:"".concat(f,"_SELECTEDS_CHANGED"),PAGINATION_CHANGED:"".concat(f,"_PAGINATION_CHANGED"),SORTER_CHANGED:"".concat(f,"_SORTER_CHANGED"),EXPORT_STARTED:"".concat(f,"_EXPORT_STARTED"),EXPORT_SUCCESS:"".concat(f,"_EXPORT_SUCCESS"),EXPORT_ERROR:"".concat(f,"_EXPORT_ERROR"),doChangeSelected:function(e){return{type:E.SELECTEDS_CHANGED,payload:e}},doReset:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:E.RESETED}),t(E.doFetch());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doExport:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,l&&l.length){e.next=3;break}throw new Error("exporterFields is required");case 3:return t({type:E.EXPORT_STARTED}),n=c.a.selectFilter(r()),e.next=7,i.a.list(n,c.a.selectOrderBy(r()),null,null);case 7:o=e.sent,new p.a(l,Object(s.c)("entities.book.exporterFileName")).transformAndExportAsExcelFile(o.rows),t({type:E.EXPORT_SUCCESS}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),d.a.handle(e.t0),t({type:E.EXPORT_ERROR});case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r){return e.apply(this,arguments)}}()},doChangePaginationAndSort:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n({type:E.PAGINATION_CHANGED,payload:e}),n({type:E.SORTER_CHANGED,payload:t}),i=c.a.selectFilter(o()),n(E.doFetch(i,!0));case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},doFetch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var s;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:E.FETCH_STARTED,payload:{filter:e,keepPagination:t}}),r.next=4,i.a.list(e,c.a.selectOrderBy(o()),c.a.selectLimit(o()),c.a.selectOffset(o()));case 4:s=r.sent,n({type:E.FETCH_SUCCESS,payload:{rows:s.rows,count:s.count}}),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),d.a.handle(r.t0),n({type:E.FETCH_ERROR});case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}()}};t.a=E},44:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(13),u=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"update",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={id:t,data:r},e.next=3,s.a.put("/username/".concat(t),n);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"destroyAll",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={ids:t},e.next=3,s.a.delete("/username",{params:r});case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"create",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={data:t},e.next=3,s.a.post("/username",r);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"import",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={data:t,importHash:r},e.next=3,s.a.post("/username/import",n);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"find",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("/username/".concat(t));case 2:return r=e.sent,e.abrupt("return",r.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"list",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r,n,o){var i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={filter:t,orderBy:r,limit:n,offset:o},e.next=3,s.a.get("/username",{params:i});case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()},{key:"listAutocomplete",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={query:t,limit:r},e.next=3,s.a.get("/username/autocomplete",{params:n});case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()}]),e}()},45:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(13),u=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"update",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={id:t,data:r},e.next=3,s.a.put("/book/".concat(t),n);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"destroyAll",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={ids:t},e.next=3,s.a.delete("/book",{params:r});case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"create",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r,n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={data:t},e.next=3,s.a.post("/book",r);case 3:return n=e.sent,e.abrupt("return",n.data);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"import",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={data:t,importHash:r},e.next=3,s.a.post("/book/import",n);case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"find",value:function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("/book/".concat(t));case 2:return r=e.sent,e.abrupt("return",r.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"list",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r,n,o){var i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={filter:t,orderBy:r,limit:n,offset:o},e.next=3,s.a.get("/book",{params:i});case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()},{key:"listAutocomplete",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={query:t,limit:r},e.next=3,s.a.get("/book/autocomplete",{params:n});case 3:return o=e.sent,e.abrupt("return",o.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()}]),e}()},46:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(44),c=r(94),s=r(5),u=r(147).a.fields,l=[u.id,u.name,u.email,u.password,u.points,u.createdAt,u.updatedAt],d=r(8),p=r(79),f="USERNAME_LIST",E={FETCH_STARTED:"".concat(f,"_FETCH_STARTED"),FETCH_SUCCESS:"".concat(f,"_FETCH_SUCCESS"),FETCH_ERROR:"".concat(f,"_FETCH_ERROR"),RESETED:"".concat(f,"_RESETED"),SELECTEDS_CHANGED:"".concat(f,"_SELECTEDS_CHANGED"),PAGINATION_CHANGED:"".concat(f,"_PAGINATION_CHANGED"),SORTER_CHANGED:"".concat(f,"_SORTER_CHANGED"),EXPORT_STARTED:"".concat(f,"_EXPORT_STARTED"),EXPORT_SUCCESS:"".concat(f,"_EXPORT_SUCCESS"),EXPORT_ERROR:"".concat(f,"_EXPORT_ERROR"),doChangeSelected:function(e){return{type:E.SELECTEDS_CHANGED,payload:e}},doReset:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:E.RESETED}),t(E.doFetch());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doExport:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,l&&l.length){e.next=3;break}throw new Error("exporterFields is required");case 3:return t({type:E.EXPORT_STARTED}),n=c.a.selectFilter(r()),e.next=7,i.a.list(n,c.a.selectOrderBy(r()),null,null);case 7:o=e.sent,new p.a(l,Object(s.c)("entities.username.exporterFileName")).transformAndExportAsExcelFile(o.rows),t({type:E.EXPORT_SUCCESS}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),d.a.handle(e.t0),t({type:E.EXPORT_ERROR});case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r){return e.apply(this,arguments)}}()},doChangePaginationAndSort:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n({type:E.PAGINATION_CHANGED,payload:e}),n({type:E.SORTER_CHANGED,payload:t}),i=c.a.selectFilter(o()),n(E.doFetch(i,!0));case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},doFetch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var s;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:E.FETCH_STARTED,payload:{filter:e,keepPagination:t}}),r.next=4,i.a.list(e,c.a.selectOrderBy(o()),c.a.selectLimit(o()),c.a.selectOffset(o()));case 4:s=r.sent,n({type:E.FETCH_SUCCESS,payload:{rows:s.rows,count:s.count}}),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),d.a.handle(r.t0),n({type:E.FETCH_ERROR});case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}()}};t.a=E},47:function(e,t,r){"use strict";r(10);var n=r(4);var a=function(e){return e.iam.list.roles},o=Object(n.a)([a],(function(e){return e.loading})),i=Object(n.a)([a],(function(e){return e.exportLoading})),c=Object(n.a)([a],(function(e){return e.rows})),s=Object(n.a)([a],(function(e){return e.count})),u=Object(n.a)([s],(function(e){return e>0})),l=Object(n.a)([a],(function(e){var t=e.sorter;if(!t)return null;if(!t.columnKey)return null;var r="descend"===t.order?"DESC":"ASC";return"".concat(t.columnKey,"_").concat(r)})),d=Object(n.a)([a],(function(e){return e.filter})),p=Object(n.a)([a],(function(e){return 0})),f=Object(n.a)([a],(function(e){return 0})),E=Object(n.a)([a,s],(function(e,t){return!1})),m=Object(n.a)([a],(function(e){return e.selectedKeys})),b=Object(n.a)([a,c],(function(e,t){return t.filter((function(t){return e.selectedKeys.includes(t.id)}))})),O=Object(n.a)([c],(function(e){return e.map((function(e){return{id:e.role,type:"role",role:e.role,fullName:null,children:e.users.map((function(t){return{id:"".concat(e.role,"-").concat(t.id),type:"user",userId:t.id,email:t.email,fullName:t.fullName,disabled:t.disabled,role:e.role}}))}}))})),h=Object(n.a)([O,m],(function(e,t){var r=[];return e.forEach((function(e){e.children.filter((function(e){return t.includes(e.id)})).forEach((function(e){r.push(e)}))})),r}));t.a={selectLoading:o,selectRows:c,selectCount:s,selectOrderBy:l,selectLimit:p,selectFilter:d,selectOffset:f,selectPagination:E,selectSelectedKeys:m,selectSelectedRows:b,selectHasRows:u,selectExportLoading:i,selectRowsAsTree:O,selectSelectedChildren:h}},5:function(e,t,r){"use strict";var n=r(0),a=r.n(n),o=r(104),i=r.n(o),c=r(39),s=r.n(c),u=(r(383),r(305)),l=r.n(u),d=r(9),p={common:{or:"ou",cancel:"Cancelar",reset:"Limpar",save:"Salvar",search:"Buscar",edit:"Editar",remove:"Remover",new:"Novo",export:"Exportar para Excel",noDataToExport:"N\xe3o h\xe1 dados para exportar",import:"Importar",discard:"Descartar",yes:"Sim",no:"N\xe3o",pause:"Pausar",areYouSure:"Tem certeza?",view:"Visualizar",destroy:"Deletar",mustSelectARow:"Selecine uma linha"},app:{title:"Aplica\xe7\xe3o"},entities:{username:{name:"Username",label:"Usernames",menu:"Usernames",exporterFileName:"Username_exportados",list:{menu:"Usernames",title:"Usernames"},create:{success:"Username salvo com sucesso"},update:{success:"Username salvo com sucesso"},destroy:{success:"Username deletado com sucesso"},destroyAll:{success:"Username(s) deletado com sucesso"},edit:{title:"Editar Username"},fields:{id:"Id",name:"Name",email:"Email",password:"Password",pointsRange:"Points",points:"Points",createdAt:"Criado em",updatedAt:"Atualizado em",createdAtRange:"Criado em"},enumerators:{},new:{title:"Novo Username"},view:{title:"Visualizar Username"},importer:{title:"Importar Usernames",fileName:"username_template_importacao",hint:"Arquivos/Imagens devem ser as URLs dos arquivos, separados por espa\xe7o. Relacionamentos devem ser os IDs separados por espa\xe7o."}},book:{name:"Book",label:"Books",menu:"Books",exporterFileName:"Book_exportados",list:{menu:"Books",title:"Books"},create:{success:"Book salvo com sucesso"},update:{success:"Book salvo com sucesso"},destroy:{success:"Book deletado com sucesso"},destroyAll:{success:"Book(s) deletado com sucesso"},edit:{title:"Editar Book"},fields:{id:"Id",bookName:"BookName",author:"Author",subject:"Subject",bookOwner:"Book Owner",createdAt:"Criado em",updatedAt:"Atualizado em",createdAtRange:"Criado em"},enumerators:{},new:{title:"Novo Book"},view:{title:"Visualizar Book"},importer:{title:"Importar Books",fileName:"book_template_importacao",hint:"Arquivos/Imagens devem ser as URLs dos arquivos, separados por espa\xe7o. Relacionamentos devem ser os IDs separados por espa\xe7o."}}},auth:{profile:{title:"Editar Perfil",success:"Perfil atualizado com sucesso"},createAnAccount:"Criar uma conta",rememberMe:"Lembrar-me",forgotPassword:"Esqueci minha senha",signin:"Entrar",signup:"Registrar",signout:"Sair",alreadyHaveAnAccount:"J\xe1 possui uma conta? Entre.",signinWithAnotherAccount:"Entrar com outra conta",emailUnverified:{message:"Por favor, confirme seu email em <strong>{0}</strong> para continuar.",submit:"Reenviar confirma\xe7\xe3o por email"},emptyPermissions:{message:"Voc\xea ainda n\xe3o possui permiss\xf5es. Aguarde o administrador conceder seus privil\xe9gios."},passwordResetEmail:{message:"Enviar email de redefini\xe7\xe3o de senha",error:"Email n\xe3o encontrado"},passwordReset:{message:"Alterar senha"},emailAddressVerificationEmail:{error:"Email n\xe3o encontrado"},verificationEmailSuccess:"Verifica\xe7\xe3o de email enviada com sucesso",passwordResetEmailSuccess:"Email de redefini\xe7\xe3o de senha enviado com sucesso",passwordResetSuccess:"Senha alterada com sucesso",verifyEmail:{success:"Email verificado com sucesso",message:"Aguarde um momento, seu email est\xe1 sendo verificado..."}},roles:{owner:{label:"Propriet\xe1rio",description:"Acesso completo a todos os recursos"},editor:{label:"Editor",description:"Acesso para edi\xe7\xe3o a todos os recursos"},viewer:{label:"Visualizador",description:"Acesso de visualiza\xe7\xe3o a todos os recursos"},auditLogViewer:{label:"Visualizador de Registros de Autoria",description:"Acesso de visualiza\xe7\xe3o dos registros de autoria"},iamSecurityReviewer:{label:"Revisor de seguran\xe7a",description:"Acesso total para gerenciar as fun\xe7\xf5es do usu\xe1rio"},entityEditor:{label:"Editor de Entidades",description:"Acesso de edi\xe7\xe3o a todas as entidades"},entityViewer:{label:"Visualizador de Entidades",description:"Acesso de visualiza\xe7\xe3o a todas as entidades"},usernameEditor:{label:"Editor de Usernames",description:"Acesso de edi\xe7\xe3o aos Usernames"},usernameViewer:{label:"Visualizador de Usernames",description:"Acesso de visualiza\xe7\xe3o aos Usernames"},bookEditor:{label:"Editor de Books",description:"Acesso de edi\xe7\xe3o aos Books"},bookViewer:{label:"Visualizador de Books",description:"Acesso de visualiza\xe7\xe3o aos Books"}},iam:{title:"Gerenciamento de usu\xe1rios e permiss\xf5es",menu:"IAM",disable:"Desabilitar",disabled:"Desabilitado",enabled:"Habilitado",enable:"Habilitar",doEnableSuccess:"Usu\xe1rio habilitado com sucesso",doDisableSuccess:"Usu\xe1rio desabilitado com sucesso",doDisableAllSuccess:"Usu\xe1rio(s) desabilitado(s) com sucesso",doEnableAllSuccess:"Usu\xe1rio(s) habilidatos com sucesso",doAddSuccess:"Usu\xe1rio(s) salvos com sucesso",doUpdateSuccess:"Usu\xe1rio salvo com sucesso",viewBy:"Visualizar por",users:{name:"users",label:"Usu\xe1rios",exporterFileName:"usuarios_exportados",doRemoveAllSelectedSuccess:"Permiss\xf5es removidas com sucesso"},roles:{label:"Perfis",doRemoveAllSelectedSuccess:"Permiss\xf5es removidas com sucesso"},edit:{title:"Editar usu\xe1rio"},new:{title:"Novo(s) Usu\xe1rio(s)",titleModal:"Novo Usu\xe1rio",emailsHint:"Separe m\xfaltiplos endere\xe7os de e-mail usando a v\xedrgula."},view:{title:"Visualizar Usu\xe1rio",activity:"Atividades"},importer:{title:"Importar Usu\xe1rios",fileName:"usuarios_template_importacao",hint:"Arquivos/Imagens devem ser as URLs dos arquivos, separados por espa\xe7o. Relacionamentos devem ser os IDs separados por espa\xe7o."},errors:{userAlreadyExists:"Usu\xe1rio com este email j\xe1 existe",userNotFound:"Usu\xe1rio n\xe3o encontrado",disablingHimself:"Voc\xea n\xe3o pode desativar-se",revokingOwnPermission:"Voc\xea n\xe3o pode revogar sua pr\xf3pria permiss\xe3o de propriet\xe1rio"}},user:{fields:{id:"Id",authenticationUid:"Id de autentica\xe7\xe3o",avatars:"Avatar",email:"Email",emails:"Email(s)",fullName:"Nome",firstName:"Nome",lastName:"Sobrenome",status:"Estado",disabled:"Desativado",phoneNumber:"Telefone",role:"Perfil",createdAt:"Criado em",updatedAt:"Atualizado em",roleUser:"Perfil/Usu\xe1rio",roles:"Perfis",createdAtRange:"Criado em",password:"Senha",rememberMe:"Lembrar-me"},enabled:"Habilitado",disabled:"Desabilitado",validations:{email:"Email ${value} \xe9 inv\xe1lido"}},auditLog:{menu:"Registros de Auditoria",title:"Registros de Auditoria",exporterFileName:"registros_autoria_exportados",entityNamesHint:"Separe m\xfaltiplas entidades por v\xedrgula",fields:{id:"Id",timestampRange:"Per\xedodo",entityName:"Entidade",entityNames:"Entidades",entityId:"ID da Entidade",action:"A\xe7\xe3o",values:"Valores",timestamp:"Data",createdByEmail:"Email do Usu\xe1rio"}},settings:{title:"Configura\xe7\xf5es",menu:"Configura\xe7\xf5es",save:{success:"Configura\xe7\xf5es salvas com sucesso. A p\xe1gina ir\xe1 recarregar em {0} para que as altera\xe7\xf5es tenham efeito."},fields:{theme:"Tema"},colors:{default:"Padr\xe3o",cyan:"Ciano","geek-blue":"Azul escuro",gold:"Ouro",lime:"Lim\xe3o",magenta:"Magenta",orange:"Laranja","polar-green":"Verde polar",purple:"Roxo",red:"Vermelho",volcano:"V\xfalc\xe3o",yellow:"Amarelo"}},home:{menu:"Inicial",message:"Esta p\xe1gina usa dados falsos apenas para fins de demonstra\xe7\xe3o. Voc\xea pode edit\xe1-la em frontend/view/home/HomePage.js.",charts:{day:"Dia",red:"Vermelho",green:"Verde",yellow:"Amarelho",grey:"Cinza",blue:"Azul",orange:"Laranja",months:{1:"Janeiro",2:"Fevereiro",3:"Mar\xe7o",4:"Abril",5:"Maio",6:"Junho",7:"Julho"},eating:"Comendo",drinking:"Bebendo",sleeping:"Dormindo",designing:"Projetando",coding:"Codificando",cycling:"Pedalando",running:"Correndo",customer:"Cliente"}},errors:{backToHome:"Voltar a p\xe1gina inicial",403:"Desculpe, voc\xea n\xe3o tem acesso a esta p\xe1gina",404:"Desculpe, a p\xe1gina que voc\xea visitou n\xe3o existe",500:"Desculpe, o servidor est\xe1 relatando um erro",forbidden:{message:"Acesso negado"},validation:{message:"Ocorreu um erro"},defaultErrorMessage:"Ops, ocorreu um erro"},validation:{mixed:{default:"${path} \xe9 inv\xe1lido",required:"${path} \xe9 obrigat\xf3rio",oneOf:"${path} deve ser um dos seguintes valores: ${values}",notOneOf:"${path} n\xe3o deve ser um dos seguintes valores: ${values}",notType:function(e){var t=e.path,r=e.type;e.value,e.originalValue;return"".concat(t," deve ser um ").concat(r)}},string:{length:"${path} deve possuir ${length} caracteres",min:"${path} deve possuir ao menos ${min} caracteres",max:"${path} deve possui no m\xe1ximo ${max} caracteres",matches:'${path} deve respeitar o padr\xe3o: "${regex}"',email:"${path} deve ser um email v\xe1lido",url:"${path} deve ser uma URL v\xe1lida",trim:"${path} deve ser uma palavra sem espa\xe7os em branco",lowercase:"${path} deve ser min\xfasculo",uppercase:"${path} deve ser mai\xfasculo",selected:"${path} deve ser selecionado"},number:{min:"${path} deve ser maior ou igual a ${min}",max:"${path} deve ser menor ou igual a ${max}",lessThan:"${path} deve ser menor que ${less}",moreThan:"${path} deve ser maior que ${more}",notEqual:"${path} n\xe3o deve ser igual a ${notEqual}",positive:"${path} deve ser um n\xfamero positivo",negative:"${path} deve ser um n\xfamero negativo",integer:"${path} deve ser um inteiro"},date:{min:"${path} deve ser posterior a ${min}",max:"${path} deve ser mais cedo do que ${max}"},boolean:{},object:{noUnknown:"${path} n\xe3o pode ter atributos n\xe3o especificados no formato do objeto"},array:{min:"${path} deve possuir ao menos ${min} itens",max:"${path} deve possuir no m\xe1ximo ${max} itens"}},fileUploader:{upload:"Upload",image:"Voc\xea deve fazer upload de uma imagem",size:"O arquivo \xe9 muito grande. O tamanho m\xe1ximo permitido \xe9 {0}",formats:"Formato inv\xe1lido. Deve ser: '{0}'."},importer:{line:"Linha",status:"Estado",pending:"Pendente",imported:"Importado",error:"Erro",total:"{0} importado, {1} pendente e {2} com erro",importedMessage:"Processados {0} de {1}.",noNavigateAwayMessage:"N\xe3o saia desta p\xe1gina ou a importa\xe7\xe3o ser\xe1 interrompida.",completed:{success:"Importa\xe7\xe3o conclu\xedda. Todas as linhas foram importadas com sucesso.",someErrors:"O processamento foi conclu\xeddo, mas algumas linhas n\xe3o puderam ser importadas.",allErrors:"Importa\xe7\xe3o falhou. N\xe3o h\xe1 linhas v\xe1lidas."},form:{downloadTemplate:"Baixe o modelo",hint:"Clique ou arraste o arquivo para esta \xe1rea para continuar."},list:{discardConfirm:"Voc\xea tem certeza? Dados n\xe3o importados ser\xe3o perdidos."},errors:{invalidFileEmpty:"O arquivo est\xe1 vazio",invalidFileExcel:"Apenas arquivos Excel (.xlsx) s\xe3o permitidos",invalidFileUpload:"Arquivo inv\xe1lido. Verifique se voc\xea est\xe1 usando a \xfaltima vers\xe3o do modelo.",importHashRequired:"Hash de importa\xe7\xe3o \xe9 necess\xe1rio",importHashExistent:"Dados j\xe1 foram importados"}},autocomplete:{loading:"Carregando..."},imagesViewer:{noImage:"Sem imagem"}},f={common:{or:"or",cancel:"Cancel",reset:"Reset",save:"Save",search:"Search",edit:"Edit",remove:"Remove",new:"New",export:"Export to Excel",noDataToExport:"No data to export",import:"Import",discard:"Discard",yes:"Yes",no:"No",pause:"Pause",areYouSure:"Are you sure?",view:"View",destroy:"Delete",mustSelectARow:"Must select a row"},app:{title:"Application"},entities:{username:{name:"username",label:"Usernames",menu:"Usernames",exporterFileName:"username_export",list:{menu:"Usernames",title:"Usernames"},create:{success:"Username saved successfully"},update:{success:"Username saved successfully"},destroy:{success:"Username deleted successfully"},destroyAll:{success:"Username(s) deleted successfully"},edit:{title:"Edit Username"},fields:{id:"Id",name:"Name",email:"Email",password:"Password",pointsRange:"Points",points:"Points",createdAt:"Created at",updatedAt:"Updated at",createdAtRange:"Created at"},enumerators:{},new:{title:"New Username"},view:{title:"View Username"},importer:{title:"Import Usernames",fileName:"username_import_template",hint:"Files/Images columns must be the URLs of the files separated by space."}},book:{name:"book",label:"Books",menu:"Books",exporterFileName:"book_export",list:{menu:"Books",title:"Books"},create:{success:"Book saved successfully"},update:{success:"Book saved successfully"},destroy:{success:"Book deleted successfully"},destroyAll:{success:"Book(s) deleted successfully"},edit:{title:"Edit Book"},fields:{id:"Id",bookName:"BookName",author:"Author",subject:"Subject",bookOwner:"Book Owner",createdAt:"Created at",updatedAt:"Updated at",createdAtRange:"Created at"},enumerators:{},new:{title:"New Book"},view:{title:"View Book"},importer:{title:"Import Books",fileName:"book_import_template",hint:"Files/Images columns must be the URLs of the files separated by space."}}},auth:{profile:{title:"Edit Profile",success:"Profile updated successfully"},createAnAccount:"Create an account",rememberMe:"Remember me",forgotPassword:"Forgot password",signin:"Sign in",signup:"Sign up",signout:"Sign out",alreadyHaveAnAccount:"Already have an account? Sign in.",signinWithAnotherAccount:"Sign in with another account",emailUnverified:{message:"Please confirm your email at <strong>{0}</strong> to continue.",submit:"Resend email verification"},emptyPermissions:{message:"You have no permissions yet. Wait for the admin to grant you privileges."},passwordResetEmail:{message:"Send password reset email",error:"Email not recognized"},passwordReset:{message:"Reset password"},emailAddressVerificationEmail:{error:"Email not recognized"},verificationEmailSuccess:"Verification email sent successfully",passwordResetEmailSuccess:"Password reset email sent successfully",passwordResetSuccess:"Password changed successfully",verifyEmail:{success:"Email successfully verified",message:"Just a moment, your email is being verified..."}},roles:{owner:{label:"Owner",description:"Full access to all resources"},editor:{label:"Editor",description:"Edit access to all resources"},viewer:{label:"Viewer",description:"View access to all resources"},auditLogViewer:{label:"Audit Log Viewer",description:"Access to view audit logs"},iamSecurityReviewer:{label:"Security Reviewer",description:"Full access to manage users roles"},entityEditor:{label:"Entity Editor",description:"Edit access to all entities"},entityViewer:{label:"Entity Viewer",description:"View access to all entities"},usernameEditor:{label:"Username Editor",description:"Edit access to Usernames"},usernameViewer:{label:"Username Viewer",description:"View access to Usernames"},bookEditor:{label:"Book Editor",description:"Edit access to Books"},bookViewer:{label:"Book Viewer",description:"View access to Books"}},iam:{title:"Identity and Access Management",menu:"IAM",disable:"Disable",disabled:"Disabled",enabled:"Enabled",enable:"Enable",doEnableSuccess:"User enabled successfully",doDisableSuccess:"User disabled successfully",doDisableAllSuccess:"User(s) disabled successfully",doEnableAllSuccess:"User(s) enabled successfully",doAddSuccess:"User(s) saved successfully",doUpdateSuccess:"User saved successfully",viewBy:"View By",users:{name:"users",label:"Users",exporterFileName:"users_export",doRemoveAllSelectedSuccess:"Permissions removed successfully"},roles:{label:"Roles",doRemoveAllSelectedSuccess:"Permissions removed successfully"},edit:{title:"Edit User"},new:{title:"New User(s)",titleModal:"New User",emailsHint:"Separate multiple email addresses using the comma character."},view:{title:"View User",activity:"Activity"},importer:{title:"Import Users",fileName:"users_import_template",hint:"Files/Images columns must be the URLs of the files separated by space. Relationships must be the ID of the referenced records separated by space. Roles must be the role ids separated by space."},errors:{userAlreadyExists:"User with this email already exists",userNotFound:"User not found",disablingHimself:"You can't disable yourself",revokingOwnPermission:"You can't revoke your own owner permission"}},user:{fields:{id:"Id",authenticationUid:"Authentication Uid",avatars:"Avatar",email:"Email",emails:"Email(s)",fullName:"Name",firstName:"First Name",lastName:"Last Name",status:"Status",disabled:"Disabled",phoneNumber:"Phone Number",role:"Role",createdAt:"Created at",updatedAt:"Updated at",roleUser:"Role/User",roles:"Roles",createdAtRange:"Created at",password:"Password",rememberMe:"Remember me"},enabled:"Enabled",disabled:"Disabled",validations:{email:"Email ${value} is invalid"}},auditLog:{menu:"Audit Logs",title:"Audit Logs",exporterFileName:"audit_log_export",entityNamesHint:"Separate multiple entities using the comma character.",fields:{id:"Id",timestampRange:"Period",entityName:"Entity",entityNames:"Entities",entityId:"Entity ID",action:"Action",values:"Values",timestamp:"Date",createdByEmail:"User Email"}},settings:{title:"Settings",menu:"Settings",save:{success:"Settings saved successfully. The page will reload in {0} seconds for changes to take effect."},fields:{theme:"Theme"},colors:{default:"Default",cyan:"Cyan","geek-blue":"Geek Blue",gold:"Gold",lime:"Lime",magenta:"Magenta",orange:"Orange","polar-green":"Polar Green",purple:"Purple",red:"Red",volcano:"Volcano",yellow:"Yellow"}},home:{menu:"Home",message:"This page uses fake data for demonstration purposes only. You can edit it at frontend/view/home/HomePage.js.",charts:{day:"Day",red:"Red",green:"Green",yellow:"Yellow",grey:"Grey",blue:"Blue",orange:"Orange",months:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July"},eating:"Eating",drinking:"Drinking",sleeping:"Sleeping",designing:"Designing",coding:"Coding",cycling:"Cycling",running:"Running",customer:"Customer"}},errors:{backToHome:"Back to home",403:"Sorry, you don't have access to this page",404:"Sorry, the page you visited does not exist",500:"Sorry, the server is reporting an error",forbidden:{message:"Forbidden"},validation:{message:"An error occurred"},defaultErrorMessage:"Ops, an error occurred"},validation:{mixed:{default:"${path} is invalid",required:"${path} is required",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,r=e.type;e.value,e.originalValue;return"".concat(t," must be a ").concat(r)}},string:{length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string",selected:"${path} must be selected"},number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:{min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},boolean:{},object:{noUnknown:"${path} field cannot have keys not specified in the object shape"},array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"}},fileUploader:{upload:"Upload",image:"You must upload an image",size:"File is too big. Max allowed size is {0}",formats:"Invalid format. Must be '{0}'."},importer:{line:"Line",status:"Status",pending:"Pending",imported:"Imported",error:"Error",total:"{0} imported, {1} pending and {2} with error",importedMessage:"Processed {0} of {1}.",noNavigateAwayMessage:"Do not navigate away from this page or import will be stopped.",completed:{success:"Import completed. All rows were successfully imported.",someErrors:"Processing completed, but some rows were unable to be imported.",allErrors:"Import failed. There are no valid rows."},form:{downloadTemplate:"Download the template",hint:"Click or drag the file to this area to continue"},list:{discardConfirm:"Are you sure? Non-imported data will be lost."},errors:{invalidFileEmpty:"The file is empty",invalidFileExcel:"Only excel (.xlsx) files are allowed",invalidFileUpload:"Invalid file. Make sure you are using the last version of the template.",importHashRequired:"Import hash is required",importHashExistent:"Data has already been imported"}},autocomplete:{loading:"Loading..."},imagesViewer:{noImage:"No image"}};r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return h})),r.d(t,"e",(function(){return S})),r.d(t,"c",(function(){return v})),r.d(t,"d",(function(){return R}));var E=null,m={en:{id:"en",label:"English",flag:"/images/flags/24/United-States.png",dictionary:f,antd:void 0},"pt-BR":{id:"pt-BR",label:"Portugu\xeas",flag:"/images/flags/24/Brazil.png",dictionary:p,antd:l.a}};function b(){return m[h()]}function O(){return b().antd}function h(){return E||S(E=localStorage.getItem("language")||"en"),E}function S(e){if(!m[e])throw new Error("Invalid language ".concat(e,"."));s.a.locale(e),localStorage.setItem("language",e),b().dictionary.validation&&Object(d.setLocale)(b().dictionary.validation)}function v(e){var t=i()(b().dictionary,e);if(!t)return e;for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return function(e,t){if(!e)return null;try{return e.replace(/{(\d+)}/g,(function(e,r){return"undefined"!=typeof t[r]?t[r]:e}))}catch(r){throw console.error(e,r),r}}(t,n)}function R(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return a.a.createElement("span",{dangerouslySetInnerHTML:{__html:v.apply(void 0,[e].concat(r))}})}},51:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(6),a=r(7),o=function(){function e(t){Object(n.a)(this,e),this.currentUser=t,this.userRoles=t?t.roles:[]}return Object(a.a)(e,[{key:"match",value:function(e){return!e||this.rolesMatchOneOf(e.allowedRoles)}},{key:"rolesMatchOneOf",value:function(e){var t=this;return!!this.userRoles&&(!!e&&(Array.isArray(e)?!!e.length&&e.some((function(e){return t.userRoles.includes(e)})):this.userRoles.includes(e)))}},{key:"isEmptyPermissions",get:function(){return!!this.isAuthenticated&&(!this.userRoles||!this.userRoles.length)}},{key:"isAuthenticated",get:function(){return!!this.currentUser&&!!this.currentUser.id}},{key:"isEmailVerified",get:function(){return!!this.isAuthenticated&&this.currentUser.emailVerified}}]),e}()},531:function(e,t){},532:function(e,t){},552:function(e,t,r){"use strict";r.r(t);var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(16),u=r(15),l=r(17),d=r(133),p=r(14),f=r(0),E=r.n(f),m=r(53),b=r(42),O=r(4),h=function(e){return e.layout},S={selectRaw:h,selectMenuVisible:Object(O.a)([h],(function(e){return!!e.menuVisible})),selectLoading:Object(O.a)([h],(function(e){return!!e.loading})),selectLanguage:Object(O.a)([h],(function(e){return e.language}))},v=r(562),R=r(556),y=r(563),g=r(73),T=r(51),_=r(561);var A=function(e){var t=e.component,r=e.currentUser,n=Object(g.a)(e,["component","currentUser"]);return E.a.createElement(R.a,Object.assign({},n,{render:function(e){var n=new T.a(r);return n.isAuthenticated?n.isEmailVerified?E.a.createElement(_.a,{to:"/"}):E.a.createElement(t,e):E.a.createElement(_.a,{to:{pathname:"/auth/signin"}})}}))};var w=function(e){var t=e.component,r=e.currentUser,n=Object(g.a)(e,["component","currentUser"]);return E.a.createElement(R.a,Object.assign({},n,{render:function(e){var n=new T.a(r);return n.isAuthenticated?n.isEmptyPermissions?E.a.createElement(t,e):E.a.createElement(_.a,{to:"/"}):E.a.createElement(_.a,{to:{pathname:"/auth/signin"}})}}))},j=r(560),C=r(555),D=r(38),k=r(553),x=r(557),U=r(24),P=r(67),I=r(98),N=r(99);function L(){var e=Object(I.a)(["\n .ant-layout-header {\n background: #fff;\n padding: 0;\n border-bottom: 1px solid #e9e9e9;\n\n display: flex;\n justify-content: space-between;\n }\n\n @media (max-width: 576px) {\n .i18n-select {\n display: none;\n }\n }\n\n .user-dropdown {\n padding: 0 24px;\n cursor: pointer;\n display: inline-block;\n transition: all 0.3s;\n height: 100%;\n > i {\n vertical-align: middle;\n color: @text-color;\n }\n &:hover {\n background: rgba(0, 0, 0, 0.025);\n }\n :global(&.ant-popover-open) {\n background: rgba(0, 0, 0, 0.025);\n }\n }\n\n .user-dropdown-avatar {\n margin: 20px 8px 20px 0;\n vertical-align: top;\n }\n\n @media (max-width: 576px) {\n .user-dropdown-text {\n display: none;\n }\n }\n\n .trigger {\n font-size: 18px;\n line-height: 64px;\n padding: 0 24px;\n cursor: pointer;\n transition: color 0.3s;\n\n &:hover {\n color: var(--primary-color);\n }\n }\n"]);return L=function(){return e},e}var F=N.a.div(L()),H=r(5),M=j.a.Header,G=function(e){function t(){var e,r;Object(i.a)(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return(r=Object(s.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(a)))).doSignout=function(){(0,r.props.dispatch)(U.a.doSignout())},r.doNavigateToProfile=function(){Object(p.b)().push("/profile")},r.doToggleMenu=function(){(0,r.props.dispatch)(P.a.doToggleMenu())},r.userMenu=E.a.createElement(C.a,{selectedKeys:[]},E.a.createElement(C.a.Item,{onClick:r.doNavigateToProfile,key:"userCenter"},E.a.createElement(D.a,{type:"user"}),Object(H.c)("auth.profile.title")),E.a.createElement(C.a.Divider,null),E.a.createElement(C.a.Item,{onClick:r.doSignout,key:"logout"},E.a.createElement(D.a,{type:"logout"}),Object(H.c)("auth.signout"))),r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){return E.a.createElement(F,null,E.a.createElement(M,null,E.a.createElement(D.a,{className:"trigger",type:this.props.menuVisible?"menu-fold":"menu-unfold",onClick:this.doToggleMenu}),E.a.createElement("div",null,E.a.createElement(k.a,{className:"user-dropdown",overlay:this.userMenu,trigger:["click"]},E.a.createElement("span",null,E.a.createElement(x.a,{className:"user-dropdown-avatar",size:"small",src:this.props.userDropdownAvatar||void 0,alt:"avatar"}),E.a.createElement("span",{className:"user-dropdown-text"},this.props.userDropdownText))))))}}]),t}(f.Component),V=Object(m.c)((function(e){return{menuVisible:S.selectMenuVisible(e),userDropdownText:b.a.selectCurrentUserNameOrEmailPrefix(e),userDropdownAvatar:b.a.selectCurrentUserAvatar(e)}}))(G);function B(){var e=Object(I.a)(["\n background-color: #f0f2f5;\n\n .ant-layout {\n min-height: 100vh;\n }\n\n .ant-layout-content {\n margin: 24px;\n }\n"]);return B=function(){return e},e}var Y=Object(N.a)(j.a)(B());function q(){var e=Object(I.a)(["\n .ant-layout-sider {\n min-height: 100vh;\n height: 100%;\n\n border-right-color: rgb(232, 232, 232);\n border-right-width: 1px;\n border-right-style: solid;\n }\n\n .ant-menu-inline {\n border: 0;\n }\n\n .logo {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 64px;\n text-align: center;\n }\n\n .logo a {\n color: inherit;\n text-decoration: none;\n }\n"]);return q=function(){return e},e}var K=N.a.div(q()),z=r(558),W=r(238),X=r.n(W),J=r(142).a.values,Q={privateRoutes:[{path:"/",icon:"home",label:Object(H.c)("home.menu"),menu:{exact:!0},loader:function(){return Promise.all([r.e(3),r.e(4),r.e(5),r.e(23)]).then(r.bind(null,1044))},permissionRequired:null,exact:!0},{path:"/profile",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(22),r.e(32)]).then(r.bind(null,1068))},permissionRequired:null,exact:!0,menu:!1},{path:"/iam",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(14)]).then(r.bind(null,1057))},permissionRequired:J.iamRead,exact:!0,icon:"user-add",label:Object(H.c)("iam.menu"),menu:!0},{path:"/iam/new",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(21)]).then(r.bind(null,1045))},menu:!1,permissionRequired:J.iamCreate,exact:!0},{path:"/iam/importer",loader:function(){return Promise.all([r.e(0),r.e(3),r.e(4),r.e(5),r.e(16)]).then(r.bind(null,1046))},menu:!1,permissionRequired:J.iamImport,exact:!0},{path:"/iam/:id/edit",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(20)]).then(r.bind(null,1069))},menu:!1,permissionRequired:J.iamEdit,exact:!0},{path:"/iam/:id",loader:function(){return Promise.all([r.e(0),r.e(6),r.e(26),r.e(33)]).then(r.bind(null,1061))},menu:!1,permissionRequired:J.iamRead,exact:!0},{path:"/audit-logs",icon:"file-search",label:Object(H.c)("auditLog.menu"),loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(13)]).then(r.bind(null,1058))},menu:!0,permissionRequired:J.auditLogRead},{path:"/settings",icon:"setting",label:Object(H.c)("settings.menu"),loader:function(){return Promise.all([r.e(0),r.e(1),r.e(4),r.e(30)]).then(r.bind(null,1063))},permissionRequired:J.settingsEdit,menu:!0},{path:"/username",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(19)]).then(r.bind(null,1064))},permissionRequired:J.usernameRead,exact:!0,icon:"right",label:Object(H.c)("entities.username.menu"),menu:!0},{path:"/username/new",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(9),r.e(8)]).then(r.bind(null,1066))},menu:!1,permissionRequired:J.usernameCreate,exact:!0},{path:"/username/importer",loader:function(){return Promise.all([r.e(0),r.e(3),r.e(4),r.e(5),r.e(17)]).then(r.bind(null,1048))},menu:!1,permissionRequired:J.usernameImport,exact:!0},{path:"/username/:id/edit",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(9),r.e(8)]).then(r.bind(null,1066))},menu:!1,permissionRequired:J.usernameEdit,exact:!0},{path:"/username/:id",loader:function(){return Promise.all([r.e(0),r.e(6),r.e(31)]).then(r.bind(null,1067))},menu:!1,permissionRequired:J.usernameRead,exact:!0},{path:"/book",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(18)]).then(r.bind(null,1070))},permissionRequired:J.bookRead,exact:!0,icon:"right",label:Object(H.c)("entities.book.menu"),menu:!0},{path:"/book/new",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(7)]).then(r.bind(null,1062))},menu:!1,permissionRequired:J.bookCreate,exact:!0},{path:"/book/importer",loader:function(){return Promise.all([r.e(0),r.e(3),r.e(4),r.e(5),r.e(15)]).then(r.bind(null,1049))},menu:!1,permissionRequired:J.bookImport,exact:!0},{path:"/book/:id/edit",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(3),r.e(7)]).then(r.bind(null,1062))},menu:!1,permissionRequired:J.bookEdit,exact:!0},{path:"/book/:id",loader:function(){return Promise.all([r.e(0),r.e(6),r.e(28)]).then(r.bind(null,1065))},menu:!1,permissionRequired:J.bookRead,exact:!0}],publicRoutes:[{path:"/auth/signin",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(29)]).then(r.bind(null,1071))}},{path:"/auth/signup",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(25)]).then(r.bind(null,1072))}},{path:"/auth/forgot-password",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(34)]).then(r.bind(null,1073))}}],emptyPermissionsRoutes:[{path:"/auth/empty-permissions",loader:function(){return r.e(36).then(r.bind(null,1050))}}],emailUnverifiedRoutes:[{path:"/auth/email-unverified",loader:function(){return r.e(35).then(r.bind(null,1051))}}],simpleRoutes:[{path:"/auth/password-reset",loader:function(){return Promise.all([r.e(0),r.e(1),r.e(2),r.e(24)]).then(r.bind(null,1052))}},{path:"/auth/verify-email",loader:function(){return r.e(27).then(r.bind(null,1053))}},{path:"/403",loader:function(){return r.e(37).then(r.bind(null,1054))}},{path:"/500",loader:function(){return r.e(39).then(r.bind(null,1055))}},{path:"**",loader:function(){return r.e(38).then(r.bind(null,1056))}}]},Z=j.a.Sider,$=function(e){function t(e){var r;return Object(i.a)(this,t),(r=Object(s.a)(this,Object(u.a)(t).call(this,e))).toggleMenuOnResize=function(){window.innerWidth<576?r.hideMenu():r.showMenu()},r.hideMenu=function(){(0,r.props.dispatch)(P.a.doHideMenu())},r.showMenu=function(){(0,r.props.dispatch)(P.a.doShowMenu())},r.match=function(e){return new T.a(r.props.currentUser).match(e)},r.state={width:0,height:0},r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.toggleMenuOnResize(),window.addEventListener("resize",this.toggleMenuOnResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.toggleMenuOnResize)}},{key:"render",value:function(){var e=this;return E.a.createElement(K,{style:{display:this.props.menuVisible?"block":"none"}},E.a.createElement(Z,{theme:"light",trigger:null},E.a.createElement("div",{className:"logo"},E.a.createElement("img",{src:X.a,alt:"logo",style:{width:100,height:100}})),E.a.createElement(C.a,{theme:"light",mode:"inline",selectedKeys:this.selectedKeys},Q.privateRoutes.filter((function(e){return!!e.menu})).filter((function(t){return e.match(t.permissionRequired)})).map((function(e){return E.a.createElement(C.a.Item,{key:e.path},E.a.createElement(z.a,{to:e.path},E.a.createElement(D.a,{type:e.icon}),E.a.createElement("span",null,e.label)))})))))}},{key:"selectedKeys",get:function(){var e=this.props.url,t=Q.privateRoutes.find((function(t){return t.menu.exact?e===t.path:e===t.path||e.startsWith(t.path+"/")}));return t?[t.path]:null}}]),t}(f.Component),ee=Object(m.c)((function(e){return{currentUser:b.a.selectCurrentUser(e),menuVisible:S.selectMenuVisible(e)}}))($),te=j.a.Content,re=function(e){function t(){return Object(i.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){return E.a.createElement(Y,null,E.a.createElement(ee,{url:this.props.match.url}),E.a.createElement(j.a,null,E.a.createElement(V,null),E.a.createElement(te,null,this.props.children)))}}]),t}(f.Component);var ne=function(e){var t=e.component,r=e.currentUser,n=e.permissionRequired,a=Object(g.a)(e,["component","currentUser","permissionRequired"]);return E.a.createElement(R.a,Object.assign({},a,{render:function(e){var a=new T.a(r);return a.isAuthenticated?a.isEmailVerified?a.isEmptyPermissions?E.a.createElement(_.a,{to:"/auth/empty-permissions"}):a.match(n)?E.a.createElement(re,e,E.a.createElement(t,e)):E.a.createElement(_.a,{to:"/403"}):E.a.createElement(_.a,{to:"/auth/email-unverified"}):E.a.createElement(_.a,{to:{pathname:"/auth/signin",state:{from:e.location}}})}}))};var ae=function(e){var t=e.component,r=e.currentUser,n=Object(g.a)(e,["component","currentUser"]);return E.a.createElement(R.a,Object.assign({},n,{render:function(e){return new T.a(r).isAuthenticated?E.a.createElement(_.a,{to:"/"}):E.a.createElement(t,e)}}))},oe=r(317),ie=r.n(oe),ce=r(169),se=r.n(ce);r(551);se.a.configure({showSpinner:!1});var ue=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"start",value:function(){se.a.start()}},{key:"done",value:function(){se.a.done()}}]),e}(),le=function(e){function t(e){var r;return Object(i.a)(this,t),(r=Object(s.a)(this,Object(u.a)(t).call(this,e))).state={component:null},r}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){ue.start()}},{key:"componentWillUnmount",value:function(){ue.done()}},{key:"render",value:function(){return E.a.createElement("div",null)}}]),t}(f.Component);function de(e){return ie()(Object.assign({loading:le,delay:200,timeout:1e4},e))}var pe=function(e){function t(){return Object(i.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){this.props.loading&&ue.start()}},{key:"componentDidUpdate",value:function(e){e.loading!==this.props.loading&&(this.props.loading||ue.done())}},{key:"render",value:function(){var e=this;return this.props.loading?E.a.createElement("div",null):E.a.createElement(v.a,null,Q.publicRoutes.map((function(t){return E.a.createElement(ae,{key:t.path,exact:!0,path:t.path,currentUser:e.currentUser,component:de({loader:t.loader})})})),Q.emptyPermissionsRoutes.map((function(t){return E.a.createElement(w,{key:t.path,exact:!0,path:t.path,currentUser:e.currentUser,component:de({loader:t.loader})})})),Q.emailUnverifiedRoutes.map((function(t){return E.a.createElement(A,{key:t.path,exact:!0,path:t.path,currentUser:e.currentUser,component:de({loader:t.loader})})})),Q.privateRoutes.map((function(t){return E.a.createElement(ne,{key:t.path,currentUser:e.currentUser,permissionRequired:t.permissionRequired,path:t.path,component:de({loader:t.loader}),exact:!!t.exact})})),Q.simpleRoutes.map((function(e){return E.a.createElement(R.a,{key:e.path,exact:!0,path:e.path,component:de({loader:e.loader})})})))}},{key:"currentUser",get:function(){return this.props.currentUser}}]),t}(f.Component),fe=Object(y.a)(Object(m.c)((function(e){return{loading:b.a.selectLoadingInit(e)||S.selectLoading(e),currentUser:b.a.selectCurrentUser(e)}}))(pe)),Ee=r(559),me=Object(p.a)(),be=function(e){function t(){return Object(i.a)(this,t),Object(s.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){return E.a.createElement(Ee.a,{locale:Object(H.a)()},E.a.createElement(m.a,{store:me},E.a.createElement(d.a,{history:Object(p.b)()},E.a.createElement(fe,null))))}}]),t}(f.Component),Oe=r(11),he=r.n(Oe);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var Se=r(136);Object(o.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return document.title=Object(H.c)("Binder"),e.next=3,Se.a.fetchAndApply();case 3:he.a.render(E.a.createElement(be,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()}));case 5:case"end":return e.stop()}}),e)})))()},56:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(6),a=r(7),o=r(16),i=r(15),c=r(17),s=r(23),u=r(9),l=r(39),d=r.n(l),p=function(e){function t(e,r){var a,c=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).required,s=void 0!==c&&c;return Object(n.a)(this,t),(a=Object(o.a)(this,Object(i.a)(t).call(this,e,r))).required=s,a}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forTable",value:function(e){var t=e||{},r=t.title,n=void 0===r?this.label:r,a=t.sorter,o=void 0===a||a,i=t.dataIndex,c=void 0===i?this.name:i,s=t.render;return{title:n,sorter:o,dataIndex:c,render:void 0===s?function(e){return e?d()(e).format("YYYY-MM-DD HH:mm"):null}:s}}},{key:"forView",value:function(e){return e?d()(e).format("YYYY-MM-DD HH:mm"):null}},{key:"forFormInitialValue",value:function(e){return e?d()(e):null}},{key:"forFilter",value:function(){return u.mixed().label(this.label)}},{key:"forForm",value:function(){var e=u.mixed().nullable(!0).label(this.label);return this.required&&(e=e.required()),e}},{key:"forExport",value:function(){return u.mixed().label(this.label)}},{key:"forImport",value:function(){var e=u.mixed().nullable(!0).label(this.label).transform((function(e,t){return t?d()(t,"YYYY-MM-DD HH:mm").toISOString():null}));return this.required&&(e=e.required()),e}}]),t}(s.a)},57:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=r(13),u=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"fetch",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r,n,o){var i,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={filter:t,orderBy:r,limit:n,offset:o},e.next=3,s.a.get("/auditLog",{params:i});case 3:return c=e.sent,e.abrupt("return",c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),l=r(83),d=r(239).a.fields,p=[d.timestamp,d.createdByEmail,d.entityName,d.action,d.entityId,d.values,d.id],f=r(5),E=r(8),m=r(79),b="AUDIT_LOG",O={FETCH_STARTED:"".concat(b,"_FETCH_STARTED"),FETCH_SUCCESS:"".concat(b,"_FETCH_SUCCESS"),FETCH_ERROR:"".concat(b,"_FETCH_ERROR"),RESETED:"".concat(b,"_RESETED"),SELECTEDS_CHANGED:"".concat(b,"_SELECTEDS_CHANGED"),PAGINATION_CHANGED:"".concat(b,"_PAGINATION_CHANGED"),SORTER_CHANGED:"".concat(b,"_SORTER_CHANGED"),EXPORT_STARTED:"".concat(b,"_EXPORT_STARTED"),EXPORT_SUCCESS:"".concat(b,"_EXPORT_SUCCESS"),EXPORT_ERROR:"".concat(b,"_EXPORT_ERROR"),doChangeSelected:function(e){return{type:O.SELECTEDS_CHANGED,payload:e}},doReset:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:O.RESETED}),t(O.doFetch());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},doExport:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t,r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,p&&p.length){e.next=3;break}throw new Error("exporterFields is required");case 3:return t({type:O.EXPORT_STARTED}),n=l.a.selectFilter(r()),e.next=7,u.fetch(n,l.a.selectOrderBy(r()),null,null);case 7:o=e.sent,new m.a(p,Object(f.c)("auditLog.exporterFileName")).transformAndExportAsExcelFile(o.rows),t({type:O.EXPORT_SUCCESS}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),E.a.handle(e.t0),t({type:O.EXPORT_ERROR});case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r){return e.apply(this,arguments)}}()},doChangePaginationAndSort:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n({type:O.PAGINATION_CHANGED,payload:e}),n({type:O.SORTER_CHANGED,payload:t}),i=l.a.selectFilter(o()),n(O.doFetch(i,!0));case 4:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},doFetch:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var r=Object(o.a)(a.a.mark((function r(n,o){var i;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:O.FETCH_STARTED,payload:{filter:e,keepPagination:t}}),r.next=4,u.fetch(e,l.a.selectOrderBy(o()),l.a.selectLimit(o()),l.a.selectOffset(o()));case 4:i=r.sent,n({type:O.FETCH_SUCCESS,payload:{rows:i.rows,count:i.count}}),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(0),E.a.handle(r.t0),n({type:O.FETCH_ERROR});case 12:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}()}};t.a=O},58:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(8),c=r(18),s=r(27),u=r(14),l=r(5),d=r(42),p=r(24),f="IAM_FORM",E={RESET:"".concat(f,"_RESET"),FIND_STARTED:"".concat(f,"_FIND_STARTED"),FIND_SUCCESS:"".concat(f,"_FIND_SUCCESS"),FIND_ERROR:"".concat(f,"_FIND_ERROR"),ADD_STARTED:"".concat(f,"_ADD_STARTED"),ADD_SUCCESS:"".concat(f,"_ADD_SUCCESS"),ADD_ERROR:"".concat(f,"_ADD_ERROR"),UPDATE_STARTED:"".concat(f,"_UPDATE_STARTED"),UPDATE_SUCCESS:"".concat(f,"_UPDATE_SUCCESS"),UPDATE_ERROR:"".concat(f,"_UPDATE_ERROR"),doNew:function(){return{type:E.RESET}},doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:E.FIND_STARTED}),t.next=4,s.a.find(e);case 4:n=t.sent,r({type:E.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),i.a.handle(t.t0),r({type:E.FIND_ERROR}),Object(u.b)().push("/iam");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},doAdd:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:E.ADD_STARTED}),t.next=4,s.a.create(e);case 4:r({type:E.ADD_SUCCESS}),c.a.success(Object(l.c)("iam.doAddSuccess")),Object(u.b)().push("/iam"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),i.a.handle(t.t0),r({type:E.ADD_ERROR});case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},doUpdate:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:E.UPDATE_STARTED}),t.next=4,s.a.edit(e);case 4:r({type:E.UPDATE_SUCCESS}),d.a.selectCurrentUser(n()).id===e.id&&r(p.a.doRefreshCurrentUser()),c.a.success(Object(l.c)("iam.doUpdateSuccess")),Object(u.b)().push("/iam"),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(0),i.a.handle(t.t0),r({type:E.UPDATE_ERROR});case 15:case"end":return t.stop()}}),t,null,[[0,11]])})));return function(e,r){return t.apply(this,arguments)}}()}};t.a=E},60:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(44),c=r(8),s=r(18),u=r(14),l=r(5),d="USERNAME_FORM",p={RESET:"".concat(d,"_RESET"),FIND_STARTED:"".concat(d,"_FIND_STARTED"),FIND_SUCCESS:"".concat(d,"_FIND_SUCCESS"),FIND_ERROR:"".concat(d,"_FIND_ERROR"),CREATE_STARTED:"".concat(d,"_CREATE_STARTED"),CREATE_SUCCESS:"".concat(d,"_CREATE_SUCCESS"),CREATE_ERROR:"".concat(d,"_CREATE_ERROR"),UPDATE_STARTED:"".concat(d,"_UPDATE_STARTED"),UPDATE_SUCCESS:"".concat(d,"_UPDATE_SUCCESS"),UPDATE_ERROR:"".concat(d,"_UPDATE_ERROR"),doNew:function(){return{type:p.RESET}},doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:p.FIND_STARTED}),t.next=4,i.a.find(e);case 4:n=t.sent,r({type:p.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),c.a.handle(t.t0),r({type:p.FIND_ERROR}),Object(u.b)().push("/username");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},doCreate:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:p.CREATE_STARTED}),t.next=4,i.a.create(e);case 4:r({type:p.CREATE_SUCCESS}),s.a.success(Object(l.c)("entities.username.create.success")),Object(u.b)().push("/username"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),c.a.handle(t.t0),r({type:p.CREATE_ERROR});case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},doUpdate:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:p.UPDATE_STARTED}),r.next=4,i.a.update(e,t);case 4:n({type:p.UPDATE_SUCCESS}),s.a.success(Object(l.c)("entities.username.update.success")),Object(u.b)().push("/username"),r.next=13;break;case 9:r.prev=9,r.t0=r.catch(0),c.a.handle(r.t0),n({type:p.UPDATE_ERROR});case 13:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(e,t){return r.apply(this,arguments)}}()}};t.a=p},61:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(45),c=r(8),s=r(18),u=r(14),l=r(5),d="BOOK_FORM",p={RESET:"".concat(d,"_RESET"),FIND_STARTED:"".concat(d,"_FIND_STARTED"),FIND_SUCCESS:"".concat(d,"_FIND_SUCCESS"),FIND_ERROR:"".concat(d,"_FIND_ERROR"),CREATE_STARTED:"".concat(d,"_CREATE_STARTED"),CREATE_SUCCESS:"".concat(d,"_CREATE_SUCCESS"),CREATE_ERROR:"".concat(d,"_CREATE_ERROR"),UPDATE_STARTED:"".concat(d,"_UPDATE_STARTED"),UPDATE_SUCCESS:"".concat(d,"_UPDATE_SUCCESS"),UPDATE_ERROR:"".concat(d,"_UPDATE_ERROR"),doNew:function(){return{type:p.RESET}},doFind:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:p.FIND_STARTED}),t.next=4,i.a.find(e);case 4:n=t.sent,r({type:p.FIND_SUCCESS,payload:n}),t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),c.a.handle(t.t0),r({type:p.FIND_ERROR}),Object(u.b)().push("/book");case 13:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},doCreate:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:p.CREATE_STARTED}),t.next=4,i.a.create(e);case 4:r({type:p.CREATE_SUCCESS}),s.a.success(Object(l.c)("entities.book.create.success")),Object(u.b)().push("/book"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),c.a.handle(t.t0),r({type:p.CREATE_ERROR});case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},doUpdate:function(e,t){return function(){var r=Object(o.a)(a.a.mark((function r(n,o){return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n({type:p.UPDATE_STARTED}),r.next=4,i.a.update(e,t);case 4:n({type:p.UPDATE_SUCCESS}),s.a.success(Object(l.c)("entities.book.update.success")),Object(u.b)().push("/book"),r.next=13;break;case 9:r.prev=9,r.t0=r.catch(0),c.a.handle(r.t0),n({type:p.UPDATE_ERROR});case 13:case"end":return r.stop()}}),r,null,[[0,9]])})));return function(e,t){return r.apply(this,arguments)}}()}};t.a=p},63:function(e,t,r){"use strict";t.a={PENDING:"PENDING",IMPORTED:"IMPORTED",ERROR:"ERROR"}},66:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(2),a=r.n(n),o=r(3),i=r(6),c=r(7),s=null,u=function(){function e(){Object(i.a)(this,e)}return Object(c.a)(e,null,[{key:"get",value:function(){var e=Object(o.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s||localStorage.getItem("jwt")||null);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"set",value:function(){var e=Object(o.a)(a.a.mark((function e(t,r){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r?localStorage.setItem("jwt",t||""):(s=t,localStorage.setItem("jwt",""));case 1:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()}]),e}()},67:function(e,t,r){"use strict";var n=r(5),a={MENU_TOGGLE:"".concat("LAYOUT","_MENU_TOGGLE"),MENU_HIDE:"".concat("LAYOUT","_MENU_HIDE"),MENU_SHOW:"".concat("LAYOUT","_MENU_SHOW"),doChangeLanguage:function(e){Object(n.e)(e),window.location.reload()},doToggleMenu:function(){return{type:a.MENU_TOGGLE}},doShowMenu:function(){return{type:a.MENU_SHOW}},doHideMenu:function(){return{type:a.MENU_HIDE}}};t.a=a},77:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(6),a=r(16),o=r(15),i=r(17),c=function(e){function t(){return Object(n.a)(this,t),Object(a.a)(this,Object(o.a)(t).apply(this,arguments))}return Object(i.a)(t,e),t}(r(25).a)},78:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(6),a=r(7),o=r(16),i=r(15),c=r(17),s=r(23),u=r(9),l=r(39),d=r.n(l),p=function(e){function t(){return Object(n.a)(this,t),Object(o.a)(this,Object(i.a)(t).apply(this,arguments))}return Object(c.a)(t,e),Object(a.a)(t,[{key:"forFilter",value:function(){return u.mixed().label(this.label)}},{key:"forFormInitialValue",value:function(e){return e&&e.length?e.map((function(e){return e?d()(e):null})):[]}}]),t}(s.a)},79:function(e,t,r){"use strict";var n=r(6),a=r(7),o=r(9),i=function(){function e(t){Object(n.a)(this,e),this.fields=t,this.yupSchema=this.buildSchema()}return Object(a.a)(e,[{key:"labelOf",value:function(e){var t=this.fields.find((function(t){return t.name===e}));return t?t.label:e}},{key:"buildSchema",value:function(){var e={};return this.fields.forEach((function(t){e[t.name]=t.forExport()})),o.object().shape(e).noUnknown(!0)}},{key:"cast",value:function(e){return this.yupSchema.cast(e)}},{key:"labels",get:function(){return this.fields.map((function(e){return e.label}))}}]),e}(),c=r(115),s=r(86);r.d(t,"a",(function(){return u}));var u=function(){function e(t,r){Object(n.a)(this,e),this.schema=new i(t),this.excelFileName=r}return Object(a.a)(e,[{key:"transformAndExportAsExcelFile",value:function(e){var t=this,r=e.map((function(e){var r=t.schema.cast(e);return t._makeNameHeadersIntoLabels(r)}));return c.c.exportAsExcelFile(r,this.schema.labels,this.excelFileName+"_"+(new Date).getTime())}},{key:"_makeNameHeadersIntoLabels",value:function(e){var t=this;return Object(s.mapKeys)(e,(function(e,r){return t.schema.labelOf(r)}))}}]),e}()},8:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(6),a=r(7),o=r(18),i=r(14),c=r(5),s=Object(c.c)("errors.defaultErrorMessage");function u(e){return e&&e.response&&e.response.data?e.response.data:e.message||s}function l(e){return e&&e.response&&e.response.status?e.response.status:500}var d=function(){function e(){Object(n.a)(this,e)}return Object(a.a)(e,null,[{key:"handle",value:function(e){console.error(u(e)),console.error(e),403!==l(e)?400!==l(e)?Object(i.b)().push("/500"):o.a.error(u(e)):Object(i.b)().push("/403")}},{key:"errorCode",value:function(e){return l(e)}},{key:"selectMessage",value:function(e){return u(e)}},{key:"showMessage",value:function(e){o.a.error(u(e))}}]),e}()},83:function(e,t,r){"use strict";var n=r(10),a=r(4),o=r(42),i=r(51),c=r(142);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=function(e){return e.auditLog},l=Object(a.a)([u],(function(e){return e.loading})),d=Object(a.a)([u],(function(e){return e.exportLoading})),p=Object(a.a)([u],(function(e){return e.rows})),f=Object(a.a)([u],(function(e){return e.count})),E=Object(a.a)([f],(function(e){return e>0})),m=Object(a.a)([u],(function(e){var t=e.sorter;if(!t)return null;if(!t.columnKey)return null;var r="descend"===t.order?"DESC":"ASC";return"".concat(t.columnKey,"_").concat(r)})),b=Object(a.a)([u],(function(e){return e.filter})),O=Object(a.a)([u],(function(e){return e.pagination.pageSize})),h=Object(a.a)([u],(function(e){var t=e.pagination;return t&&t.pageSize?((t.current||1)-1)*t.pageSize:0})),S=Object(a.a)([u,f],(function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.pagination,{total:t,showSizeChanger:!0})})),v=Object(a.a)([u],(function(e){return e.selectedKeys})),R=Object(a.a)([u,p],(function(e,t){return t.filter((function(t){return e.selectedKeys.includes(t.id)}))})),y=Object(a.a)([o.a.selectCurrentUser],(function(e){return new i.a(e).match(c.a.values.auditLogRead)}));t.a={selectLoading:l,selectRows:p,selectCount:f,selectOrderBy:m,selectLimit:O,selectFilter:b,selectOffset:h,selectPagination:S,selectSelectedKeys:v,selectSelectedRows:R,selectHasRows:E,selectExportLoading:d,selectPermissionToRead:y}},92:function(e,t,r){"use strict";var n=r(10),a=r(4);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var i=function(e){return e.book.list},c=Object(a.a)([i],(function(e){return e.loading})),s=Object(a.a)([i],(function(e){return e.exportLoading})),u=Object(a.a)([i],(function(e){return e.rows})),l=Object(a.a)([i],(function(e){return e.count})),d=Object(a.a)([l],(function(e){return e>0})),p=Object(a.a)([i],(function(e){var t=e.sorter;if(!t)return null;if(!t.columnKey)return null;var r="descend"===t.order?"DESC":"ASC";return"".concat(t.columnKey,"_").concat(r)})),f=Object(a.a)([i],(function(e){return e.filter})),E=Object(a.a)([i],(function(e){return e.pagination.pageSize})),m=Object(a.a)([i],(function(e){var t=e.pagination;return t&&t.pageSize?((t.current||1)-1)*t.pageSize:0})),b=Object(a.a)([i,l],(function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.pagination,{total:t,showSizeChanger:!0})})),O=Object(a.a)([i],(function(e){return e.selectedKeys})),h=Object(a.a)([i,u],(function(e,t){return t.filter((function(t){return e.selectedKeys.includes(t.id)}))}));t.a={selectLoading:c,selectRows:u,selectCount:l,selectOrderBy:p,selectLimit:E,selectFilter:f,selectOffset:m,selectPagination:b,selectSelectedKeys:O,selectSelectedRows:h,selectHasRows:d,selectExportLoading:s}},93:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(43),c=r(45),s=r(8),u=r(5),l=r(14),d=r(18),p="BOOK_DESTROY",f={DESTROY_STARTED:"".concat(p,"_DESTROY_STARTED"),DESTROY_SUCCESS:"".concat(p,"_DESTROY_SUCCESS"),DESTROY_ERROR:"".concat(p,"_DESTROY_ERROR"),DESTROY_ALL_STARTED:"".concat(p,"_DESTROY_ALL_STARTED"),DESTROY_ALL_SUCCESS:"".concat(p,"_DESTROY_ALL_SUCCESS"),DESTROY_ALL_ERROR:"".concat(p,"_DESTROY_ALL_ERROR"),doDestroy:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.DESTROY_STARTED}),t.next=4,c.a.destroyAll([e]);case 4:r({type:f.DESTROY_SUCCESS}),d.a.success(Object(u.c)("entities.book.destroy.success")),Object(l.b)().push("/book"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.DESTROY_ERROR});case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},doDestroyAll:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.DESTROY_ALL_STARTED}),t.next=4,c.a.destroyAll(e);case 4:r({type:f.DESTROY_ALL_SUCCESS}),i.a&&r(i.a.doChangeSelected([])),d.a.success(Object(u.c)("entities.book.destroyAll.success")),Object(l.b)().push("/book"),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.DESTROY_ALL_ERROR});case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e){return t.apply(this,arguments)}}()}};t.a=f},94:function(e,t,r){"use strict";var n=r(10),a=r(4);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var i=function(e){return e.username.list},c=Object(a.a)([i],(function(e){return e.loading})),s=Object(a.a)([i],(function(e){return e.exportLoading})),u=Object(a.a)([i],(function(e){return e.rows})),l=Object(a.a)([i],(function(e){return e.count})),d=Object(a.a)([l],(function(e){return e>0})),p=Object(a.a)([i],(function(e){var t=e.sorter;if(!t)return null;if(!t.columnKey)return null;var r="descend"===t.order?"DESC":"ASC";return"".concat(t.columnKey,"_").concat(r)})),f=Object(a.a)([i],(function(e){return e.filter})),E=Object(a.a)([i],(function(e){return e.pagination.pageSize})),m=Object(a.a)([i],(function(e){var t=e.pagination;return t&&t.pageSize?((t.current||1)-1)*t.pageSize:0})),b=Object(a.a)([i,l],(function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e.pagination,{total:t,showSizeChanger:!0})})),O=Object(a.a)([i],(function(e){return e.selectedKeys})),h=Object(a.a)([i,u],(function(e,t){return t.filter((function(t){return e.selectedKeys.includes(t.id)}))}));t.a={selectLoading:c,selectRows:u,selectCount:l,selectOrderBy:p,selectLimit:E,selectFilter:f,selectOffset:m,selectPagination:b,selectSelectedKeys:O,selectSelectedRows:h,selectHasRows:d,selectExportLoading:s}},95:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(46),c=r(44),s=r(8),u=r(5),l=r(14),d=r(18),p="USERNAME_DESTROY",f={DESTROY_STARTED:"".concat(p,"_DESTROY_STARTED"),DESTROY_SUCCESS:"".concat(p,"_DESTROY_SUCCESS"),DESTROY_ERROR:"".concat(p,"_DESTROY_ERROR"),DESTROY_ALL_STARTED:"".concat(p,"_DESTROY_ALL_STARTED"),DESTROY_ALL_SUCCESS:"".concat(p,"_DESTROY_ALL_SUCCESS"),DESTROY_ALL_ERROR:"".concat(p,"_DESTROY_ALL_ERROR"),doDestroy:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.DESTROY_STARTED}),t.next=4,c.a.destroyAll([e]);case 4:r({type:f.DESTROY_SUCCESS}),d.a.success(Object(u.c)("entities.username.destroy.success")),Object(l.b)().push("/username"),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.DESTROY_ERROR});case 13:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},doDestroyAll:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:f.DESTROY_ALL_STARTED}),t.next=4,c.a.destroyAll(e);case 4:r({type:f.DESTROY_ALL_SUCCESS}),i.a&&r(i.a.doChangeSelected([])),d.a.success(Object(u.c)("entities.username.destroyAll.success")),Object(l.b)().push("/username"),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),s.a.handle(t.t0),r({type:f.DESTROY_ALL_ERROR});case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e){return t.apply(this,arguments)}}()}};t.a=f},97:function(e,t,r){"use strict";var n=r(2),a=r.n(n),o=r(3),i=r(8),c=r(14),s=r(136),u=r(18),l=r(5),d="SETTINGS",p={FIND_STARTED:"".concat(d,"_FIND_STARTED"),FIND_SUCCESS:"".concat(d,"_FIND_SUCCESS"),FIND_ERROR:"".concat(d,"_FIND_ERROR"),SAVE_STARTED:"".concat(d,"_SAVE_STARTED"),SAVE_SUCCESS:"".concat(d,"_SAVE_SUCCESS"),SAVE_ERROR:"".concat(d,"_SAVE_ERROR"),doFind:function(){return function(){var e=Object(o.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:p.FIND_STARTED}),e.next=4,s.a.find();case 4:r=e.sent,t({type:p.FIND_SUCCESS,payload:r}),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),i.a.handle(e.t0),t({type:p.FIND_ERROR}),Object(c.b)().push("/");case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()},doSave:function(e){return function(){var t=Object(o.a)(a.a.mark((function t(r,n){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r({type:p.SAVE_STARTED}),t.next=4,s.a.save(e);case 4:r({type:p.SAVE_SUCCESS}),3,u.a.success(Object(l.c)("settings.save.success",3)),setTimeout((function(){return window.location.reload()}),3e3),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),i.a.handle(t.t0),r({type:p.SAVE_ERROR});case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e,r){return t.apply(this,arguments)}}()}};t.a=p}},[[336,11,12]]]); | 174,837 | 174,837 | 0.722593 |
3a0fc1d7a0890077892e6dfaf37fbb4ec3763f29 | 431 | js | JavaScript | algorithms/0013/main.js | crown3/MyLeetcode | 242a3c8f7c25cd2c9f07bfb6762f2a3e28d901ee | [
"MIT"
] | null | null | null | algorithms/0013/main.js | crown3/MyLeetcode | 242a3c8f7c25cd2c9f07bfb6762f2a3e28d901ee | [
"MIT"
] | 1 | 2019-03-03T09:55:05.000Z | 2019-03-03T10:05:28.000Z | algorithms/0013/main.js | crown3/MyLeetcode | 242a3c8f7c25cd2c9f07bfb6762f2a3e28d901ee | [
"MIT"
] | null | null | null | /**
* @param {string} s
* @return {number}
*/
var romanToInt = function(s) {
const map = {
I: 1,
V: 5,
X: 10,
L: 50,
C: 100,
D: 500,
M: 1000,
}
let result = 0
let last = 0
for (let i = s.length - 1; i >= 0; i--) {
let tmp = map[s[i]]
let sign = 1
if (tmp < last) {
sign = -1
}
result += sign * tmp
last = tmp
}
return result
}
module.exports = romanToInt
| 14.366667 | 43 | 0.466357 |
3a119fcea54608a31e579f4ff6058462de5d8d26 | 7,010 | js | JavaScript | iambe/src/utils/Line.test.js | SamuelPerrin/iambe | 84ed26c67cd022f93c8fd9f7aba8ff23e807a025 | [
"MIT"
] | null | null | null | iambe/src/utils/Line.test.js | SamuelPerrin/iambe | 84ed26c67cd022f93c8fd9f7aba8ff23e807a025 | [
"MIT"
] | 12 | 2021-07-09T20:20:14.000Z | 2021-08-31T00:46:16.000Z | iambe/src/utils/Line.test.js | SamuelPerrin/tuffet | 84ed26c67cd022f93c8fd9f7aba8ff23e807a025 | [
"MIT"
] | null | null | null | import Line from './Line';
test('constructor trims extra spaces', () => {
const newLine = new Line(" testing the constructor ");
expect(newLine.text).toEqual("testing the constructor");
expect(newLine.text).not.toEqual(" testing the constructor ");
})
test('getTokens splits line into list and removes punctuation', () => {
const newLine = new Line(`'Tis, better? to: have-loved; "and (lost).`);
const dashes = new Line(`This–is – a–test–`);
expect(newLine.getTokens()).toEqual(["'Tis",'better','to','have','loved','and','lost']);
expect(dashes.getTokens()).toEqual(['This','is','a','test']);
})
test('getTerm returns a list of the last n words in the line in reverse order', () => {
const newLine = new Line('Let me see, then, what thereat is');
expect(newLine.getTerm(2)).toEqual(['is','thereat']);
expect(newLine.getTerm()).toEqual(['is'])
})
test('getStress handles lines with one possible pronunciation', () => {
const easy = new Line("This line is very easy");
expect(easy.getStress()).toStrictEqual([2,2,2,1,4,1,4]);
const handle = new Line("I can also handle this line");
expect(handle.getStress()).toStrictEqual([2,2,1,4,1,4,2,2]);
})
test('getStress handles a line with multiple possible pronunciations', () => {
const line = new Line("With hell below and towering heaven above");
expect(line.getStress()).toStrictEqual([3, 2, 4, 1, 2, 1, 4, 2, 4, 1]);
})
test('getMeter identifies a standard pentameter', () => {
const keats = new Line("Before my pen has gleaned my teeming brain");
const keatsMeter = keats.getMeter();
expect(keatsMeter.feet).toStrictEqual([[4, 1], [3, 2], [2, 2], [3, 1], [4, 2]]);
expect(keatsMeter.foots).toStrictEqual(['I', 'I', 'U', 'I', 'I']);
expect(keatsMeter.label.catalexis).toBe(false);
expect(keatsMeter.label.meter).toBe(5);
expect(keatsMeter.label.rhythm).toBe("iambic");
})
test('getMeter identifies a short iambic line', () => {
const dickinson = new Line("Hope is the thing with feathers").getMeter();
expect(dickinson.feet).toStrictEqual([[2, 2], [3, 2], [3, 1], 4]);
expect(dickinson.foots).toStrictEqual(['U','I','I','unstr']);
expect(dickinson.label.catalexis).toBe(true);
expect(dickinson.label.meter).toBe(4);
expect(dickinson.label.rhythm).toBe("iambic");
})
test('getMeter identifies a trochaic line requiring correctWeirdFeet TDIstr => TTTT', () => {
const longfellow = new Line("On the mountains of the prairie").getMeter();
expect(longfellow.feet).toStrictEqual([[3, 4], [1, 4], [3, 4], [1, 4]]);
expect(longfellow.foots).toStrictEqual(['T','T','T','T']);
expect(longfellow.label.catalexis).toBe(false);
expect(longfellow.label.meter).toBe(4);
expect(longfellow.label.rhythm).toBe("trochaic");
})
test('getMeter identifies a dactylic line', () => {
const browning = new Line("Just for a handful of silver he left us").getMeter();
expect(browning.feet).toStrictEqual([[2, 3, 4], [1, 4, 3], [1, 4, 3], [2, 3]]);
expect(browning.foots).toStrictEqual(['D','D','D','T']);
expect(browning.label.catalexis).toBe(false);
expect(browning.label.meter).toBe(4);
expect(browning.label.rhythm).toBe("dactylic");
})
test('getMeter identifies an anapestic line', () => {
const cowper = new Line("I must finish my journey alone").getMeter();
expect(cowper.feet).toStrictEqual([[2, 2, 1], [4, 3, 1], [4, 4, 1]]);
expect(cowper.foots).toStrictEqual(['A','A','A']);
expect(cowper.label.catalexis).toBe(false);
expect(cowper.label.meter).toBe(3);
expect(cowper.label.rhythm).toBe("anapestic");
})
test('getMeter uses resolveCrux to identify elision', () => {
const tennyson = new Line("O dewy flowers that open to the sun").getMeter();
expect(tennyson.feet).toStrictEqual([[3, 1], [4, 2], [2, 1], [4, 3], [4, 2]]);
expect(tennyson.foots).toStrictEqual(['I','I','I','I','I']);
expect(tennyson.label.catalexis).toBe(false);
expect(tennyson.label.meter).toBe(5);
expect(tennyson.label.rhythm).toBe("iambic");
})
test('getMeter identifies long iambic lines', () => {
const lewis2 = new Line("The entry's forced; its guardians have been butchered all.").getMeter();
expect(lewis2.feet).toStrictEqual([[3, 1], [4, 2], [2, 1], [4, 2], [2, 1], [4, 2]]);
expect(lewis2.foots).toStrictEqual(['I','I','I','I','I','I']);
expect(lewis2.label.meter).toBe(6);
})
test('getMeter identifies this line', () => {
const line = new Line("By those who ne'er succeed.").getMeter();
// expect(line.feet).toStrictEqual([[2,3], [2, 2], [3, 1], 4]);
// expect(line.foots).toStrictEqual(['T','U','I','unstr']);
// expect(line.label.catalexis).toBe(true);
// expect(line.label.meter).toBe(4);
console.log(`line.feet:`,line.feet,`line.foots`,line.foots);
})
test('equalizeVowels counts correctly', () => {
const phone = new Line("phone").equalizeVowels("phone",1,2,[1]);
const meagre = new Line("meagre").equalizeVowels("meagre",2,3,[1,4]);
const beautiful = new Line("beautiful").equalizeVowels("beautiful",3,5,[1,4,3]);
const mouse = new Line("mouse").equalizeVowels("mouse",1,3,[2]);
const fateful = new Line("fateful").equalizeVowels("fateful",2,3,[1,4]);
const every = new Line("every").equalizeVowels("every",2,3,[1,4]);
expect(phone.silentEs).toBe(1);
expect(meagre.diphCount).toBe(1);
expect(beautiful.toRemove).toStrictEqual([2,3]);
expect(mouse.diphCount).toBe(1);
expect(mouse.silentEs).toBe(1);
expect(fateful.toRemove).toStrictEqual([3]);
expect(every.toRemove).toStrictEqual([2]);
})
test('getLinesVowels identifies pronounced vowels', () => {
const line = new Line("A beautiful mouse is a fateful, antique, meagre phone").getLinesVowels();
expect(line[0].word).toBe('A');
expect(line[1].word).toBe('beautiful');
expect(line[2].posList).toStrictEqual([1]);
expect(line[5].posList).toStrictEqual([1,5]);
expect(line[6].posList).toStrictEqual([0,3]);
expect(line[7].posList).toStrictEqual([1,5]);
})
test('getLinesVowels identifies vowels in this line', () => {
const line = new Line(`And view the Landscape o'er"`).getLinesVowels();
expect(line[0].word).toBe('And');
expect(line[1].posList).toStrictEqual([1]);
expect(line[3].posList).toStrictEqual([1,6]);
expect(line[4].posList).toStrictEqual([0]);
})
test('getMarkString identifies stresses in a sample line', () => {
const sonnet30 = new Line("And moan th' expense of many a vanish'd sight;");
expect(sonnet30.getMarkString()).toBe('× / × / × / × / × / ');
expect(sonnet30.getMeter().feet).toStrictEqual([[2, 2], [4, 1], [3, 2], [4, 1], [4, 2]]);
expect(sonnet30.getMeter().foots).toStrictEqual(['U','I','I','I','I']);
})
test('getMarkString identifies stresses in this line', () => {
const d = new Line(`In calmness made, and sees what he foresaw;`);
expect(d.getMeter().feet.flat()).toStrictEqual([3, 1, 4, 2, 2, 2, 2, 3, 2, 1]);
const oer = d.equalizeVowels("foresaw",2,3,[2, 1]);
expect(oer.toRemove).toStrictEqual([3]);
// expect(d.getMarkString()).toBe('× / × / × / ');
}) | 45.519481 | 99 | 0.656205 |
3a1203b713575cc149a902af59abf19c8bdf65cd | 2,954 | js | JavaScript | client/src/reducers/lib/uiReducers/lib/appHomeUIReducers/lib/adminUIReducers/lib/moderationUIReducer.js | FizzCorp/fizz-dashboard | a9a0d669a84de222aee0cff314182f7be1e48c0a | [
"MIT"
] | null | null | null | client/src/reducers/lib/uiReducers/lib/appHomeUIReducers/lib/adminUIReducers/lib/moderationUIReducer.js | FizzCorp/fizz-dashboard | a9a0d669a84de222aee0cff314182f7be1e48c0a | [
"MIT"
] | null | null | null | client/src/reducers/lib/uiReducers/lib/appHomeUIReducers/lib/adminUIReducers/lib/moderationUIReducer.js | FizzCorp/fizz-dashboard | a9a0d669a84de222aee0cff314182f7be1e48c0a | [
"MIT"
] | null | null | null | // imports
import moment from 'moment';
import { combineReducers } from 'redux';
import { ACTIONS, STATES, FIZZ_CHAT } from '../../../../../../../../constants';
// globals
const { moderationActions } = ACTIONS;
const { ban, mute, unban, unmute } = FIZZ_CHAT.ModerationAction;
const defaultState = {
status: {
history: [],
isMuted: false,
isBanned: false
},
moderationAction: undefined,
fetchStatusState: STATES.UNCHANGED,
updateStatusState: {
[ban]: STATES.UNCHANGED,
[mute]: STATES.UNCHANGED,
[unban]: STATES.UNCHANGED,
[unmute]: STATES.UNCHANGED
}
};
// helper methods
function viewState() {
return function (state = defaultState, action) {
const actionType = action.type;
switch (actionType) {
// Fetch Status
case moderationActions.MODERATION_FETCH_STATUS_REQUEST: return {
...defaultState,
fetchStatusState: STATES.UPDATE_IN_PROGRESS
};
case moderationActions.MODERATION_FETCH_STATUS_SUCCESS:
case moderationActions.MODERATION_FETCH_STATUS_FAILURE: {
let status = state.status;
let fetchState = STATES.INVALID;
if (actionType === moderationActions.MODERATION_FETCH_STATUS_SUCCESS) {
status = action.result;
fetchState = STATES.UPDATED;
}
return {
...state,
status,
fetchStatusState: fetchState
};
}
// Update Status
case moderationActions.MODERATION_UPDATE_STATUS_REQUEST: return {
...state,
moderationAction: action.params.moderationAction,
updateStatusState: {
[ban]: STATES.UPDATE_IN_PROGRESS,
[mute]: STATES.UPDATE_IN_PROGRESS,
[unban]: STATES.UPDATE_IN_PROGRESS,
[unmute]: STATES.UPDATE_IN_PROGRESS
}
};
case moderationActions.MODERATION_UPDATE_STATUS_SUCCESS_EFFECT: {
const { history, isMuted, isBanned } = action.result;
let result = {
...state,
status: {
...state.status,
isMuted,
isBanned
},
updateStatusState: { [action.params.moderationAction]: STATES.UPDATE_SUCCESS }
};
const start = history.start;
const id = start ? start : moment().valueOf();
result.status.history.push({ ...history, id });
return result;
};
case moderationActions.MODERATION_UPDATE_STATUS_FAILURE_EFFECT: return {
...state,
updateStatusState: { [action.params.moderationAction]: STATES.UPDATE_FAIL }
};
case moderationActions.MODERATION_UPDATE_STATUS_SUCCESS:
case moderationActions.MODERATION_UPDATE_STATUS_FAILURE: return {
...state,
updateStatusState: defaultState.updateStatusState
};
// Default
default: return state;
}
};
}
// exports
export default function moderation() {
return combineReducers({
viewState: viewState()
});
} | 28.960784 | 88 | 0.632363 |
3a12f3af1bac17bb309b8891572c2b7d3926ac2a | 1,024 | js | JavaScript | src/api/index.js | liutaochange/chatting | dcdc57101d2f8d16008d453e72da61407a639e72 | [
"MIT"
] | 1 | 2018-09-06T15:03:22.000Z | 2018-09-06T15:03:22.000Z | src/api/index.js | liutaochange/chatting | dcdc57101d2f8d16008d453e72da61407a639e72 | [
"MIT"
] | 9 | 2021-03-01T22:35:29.000Z | 2022-03-08T22:43:57.000Z | src/api/index.js | liutaochange/chatting | dcdc57101d2f8d16008d453e72da61407a639e72 | [
"MIT"
] | null | null | null | /**
* Created by LiuTao on 2018/4/10.
*/
import axios from 'axios';
import Store from '@/utils/store';
import Vue from 'vue';
import 'muse-ui-message/dist/muse-ui-message.css';
import Message from 'muse-ui-message';
Vue.use(Message);
const request = axios.create({
baseURL: '/apis',
timeout: 10000,
withCredentials: true,
});
// 拦截请求, 在header中添加token, 用来校验登录状态
request.interceptors.request.use(function(request) {
request.headers = {
...request.headers,
Authentication:
(Store.get('__USER_INFO__') && Store.get('__USER_INFO__').token) || '',
};
return request;
});
// 拦截响应, 未登录直接重定向去登录
request.interceptors.response.use(function(response) {
if (response.status === '401') {
Message.alert('您已离线,请先登录', '提示').then(res => {
if (res.result) {
window.location.href = '/login.html';
}
});
} else {
return response;
}
});
export const login = params => request.post('/user/login', params);
export const register = params => request.post('/user/register', params);
| 26.25641 | 77 | 0.65625 |
3a14bffa8d672c30f8251beee2231baf4cdfd22d | 148 | js | JavaScript | client/viewer_login/static/snippets/stdweb-bb142200b065bd55/inline30.js | Tweoss/econ | 8961687e6e558696d9c01e74edf2362475d9bd9b | [
"MIT"
] | null | null | null | client/viewer_login/static/snippets/stdweb-bb142200b065bd55/inline30.js | Tweoss/econ | 8961687e6e558696d9c01e74edf2362475d9bd9b | [
"MIT"
] | 5 | 2021-04-27T03:40:47.000Z | 2021-04-27T03:50:51.000Z | client/viewer_login/static/snippets/stdweb-bb142200b065bd55/inline30.js | Tweoss/econ | 8961687e6e558696d9c01e74edf2362475d9bd9b | [
"MIT"
] | null | null | null | export function __cargo_web_snippet_6d20fd36f091c6068e953266e1c3c66c10546ed5(Module, $0) { $0 = Module.STDWEB_PRIVATE.to_js($0);($0).disconnect(); } | 148 | 148 | 0.804054 |
3a15b51b4e77267b6aae3731f35cebc155d7db6f | 602 | js | JavaScript | src/components/navbar/NavBar.js | BrandyBecker/Portfolio | 99a0adf52883421acb45aa0c20f2b11bb4b78d17 | [
"MIT"
] | null | null | null | src/components/navbar/NavBar.js | BrandyBecker/Portfolio | 99a0adf52883421acb45aa0c20f2b11bb4b78d17 | [
"MIT"
] | null | null | null | src/components/navbar/NavBar.js | BrandyBecker/Portfolio | 99a0adf52883421acb45aa0c20f2b11bb4b78d17 | [
"MIT"
] | null | null | null | import React from "react";
import "./styles.css";
const NavBar = () => {
return (
<div className="nav-holder">
<div className="nav-links">
<a href="" className="nav-link">
<p>Home</p>
</a>
<a href="" className="nav-link">
<p>About</p>
</a>
<a href="" className="nav-link">
<p>Skills</p>
</a>
<a href="" className="nav-link">
<p>Projects</p>
</a>
<a href="" className="nav-link">
<p>Contact</p>
</a>
</div>
</div>
);
};
export default NavBar;
| 18.242424 | 40 | 0.445183 |
3a15ece0b5d6f46ea5134ce01b848e10d8421366 | 3,322 | js | JavaScript | test/github.spec.js | Nordstrom/build-bot | c7770871f1942fb616f6091776a9e9d1ba721195 | [
"Apache-2.0"
] | 6 | 2016-12-13T14:01:31.000Z | 2022-03-08T18:02:45.000Z | test/github.spec.js | Nordstrom/build-bot | c7770871f1942fb616f6091776a9e9d1ba721195 | [
"Apache-2.0"
] | 7 | 2016-12-12T19:25:37.000Z | 2016-12-14T17:30:01.000Z | test/github.spec.js | Nordstrom/build-bot | c7770871f1942fb616f6091776a9e9d1ba721195 | [
"Apache-2.0"
] | null | null | null | 'use strict';
var _ = require('lodash'),
should = require('should'),
mockery = require('mockery'),
assert = require('assert'),
Promise = require('bluebird');
var github;
var rpMock = function(params){
};
var shellMock = {
exec : function(command, options){
return {
code: 0,
stdout: "[test-bot-branch b96414d] bot-commit: Testing flow with version update\n"+
"1 file changed, 1 insertion(+), 2 deletions(-)\n"+
"To https://github.com/Nordstrom/build-bot.git\n"+
"286d005..b96414d test-bot-branch -> test-bot-branch"
}
}
};
var shellMockError = {
exec : function(command, options){
return {
code: 1,
stdout: "Error\n"
}
}
};
describe('Test Github', function () {
describe("Testing Github.push(branch, message), success", function(){
before(function () {
mockery.registerMock("shelljs", shellMock);
mockery.enable({
useCleanCache : true,
warnOnReplace: false,
warnOnUnregistered: false
});
github = require('../src/github');
});
it('should push to git', function () {
return github.push("test-bot", "test-branch", "message")
.then(function(){
return Promise.resolve()
})
.catch(function(){
return Promise.reject();
})
});
after(function(){
mockery.deregisterAll();
mockery.resetCache();
})
});
describe('Testing Github.push(branch, message), error', function(){
before(function () {
mockery.registerMock("shelljs", shellMockError);
mockery.enable({
useCleanCache : true,
warnOnReplace: false,
warnOnUnregistered: false
});
github = require('../src/github');
});
it('should reject if Github.push has no branch', function () {
return github.push(null, "Message")
.then(function(data){
return Promise.reject(data)
})
.catch(function(err){
err.should.be.ok;
return Promise.resolve();
})
});
it('should reject if Github.push has no message', function () {
return github.push("test-branch", null)
.then(function(data){
return Promise.reject(data)
})
.catch(function(err){
err.should.be.ok;
return Promise.resolve();
})
});
it('should reject when shelljs.exec result.code == 1', function () {
return github.push("test-branch", "message")
.then(function(data){
return Promise.reject(data)
})
.catch(function(err){
err.should.be.ok;
return Promise.resolve();
})
});
after(function(){
mockery.deregisterAll();
mockery.resetCache();
})
})
});
| 28.886957 | 95 | 0.472306 |
3a16a93d4cdbfea5f3e347495706b04d785c5c09 | 213 | js | JavaScript | first-app/src/hello_world.js | timotree3/react-learning | 04c91152a507280659a26a479fbdcf40be3df3e0 | [
"MIT"
] | null | null | null | first-app/src/hello_world.js | timotree3/react-learning | 04c91152a507280659a26a479fbdcf40be3df3e0 | [
"MIT"
] | null | null | null | first-app/src/hello_world.js | timotree3/react-learning | 04c91152a507280659a26a479fbdcf40be3df3e0 | [
"MIT"
] | null | null | null | import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<div><h1>"Hello,"</h1>
<h1 style={"margin-left": "40px"}>"World"
</h1></div>
, document.getElementById('root'));
| 21.3 | 45 | 0.605634 |
3a17111e3cbadd5c30b5e8bdd301d2f0d7b5236c | 3,884 | js | JavaScript | src/App.js | Nguyephi/weather-app | 6b56292ecbf37bf5685cb09ac0f3b4bfcefb1c7d | [
"Apache-2.0"
] | null | null | null | src/App.js | Nguyephi/weather-app | 6b56292ecbf37bf5685cb09ac0f3b4bfcefb1c7d | [
"Apache-2.0"
] | null | null | null | src/App.js | Nguyephi/weather-app | 6b56292ecbf37bf5685cb09ac0f3b4bfcefb1c7d | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import 'bootstrap/dist/css/bootstrap.min.css';
import './App.css';
import { css } from '@emotion/core';
import { CircleLoader } from 'react-spinners';
const override = css`
display: block;
margin: 0 auto;
border-color: red;
`;
class App extends React.Component {
constructor(props) {
super(props);
this.state = {
locationName: "",
temperature: "",
weather: null,
isLoading: true
};
}
componentDidMount = () => {
this.getWeather(10.776530, 106.700980)
navigator.geolocation.getCurrentPosition(position => {
const { latitude, longitude } = position.coords;
this.getWeather(latitude, longitude);
});
};
getWeather = async (latitude, longitude) => {
const API_KEY = "3de6162d3745365b168ade2bbe4e1d66";
const api = `http://api.openweathermap.org/data/2.5/weather?lat=${latitude}&lon=${longitude}&appid=${API_KEY}`;
try {
let data = await fetch(api)
let response = await data.json()
this.setState({
locationName: response.name,
temperatureF: (((response.main.temp-273.15)*1.8)+32).toFixed(1) + " ℉",
temperatureC: (response.main.temp-273.15).toFixed(1)+ " ℃",
weatherDescription: response.weather[0].description,
isLoading: false
})
} catch(error) {
this.setState({ isLoading: false, hasErrored: true })
}
// Left this here for old school people who don't like ES6!
// fetch(api)
// .then(response => response.json())
// .then(data => {
// this.setState({
// locationName: data.name,
// temperatureF: (((data.main.temp-273.15)*1.8)+32).toFixed(1),
// temperatureC: (data.main.temp-273.15).toFixed(1),
// weatherDescription: data.weather[0].description,
// isLoading: false
// })
// })
// .catch(error => {
// console.log('error',error)
// })
}
render () {
// typeof this.state => Object
// 1. Technique
// const isLoading = this.state.isLoading
// const locationName = this.state.locationName
// const temperatureF = this.state.temperatureF
// const temperatureC = this.state.temperatureC
// const weatherDescription = this.state.weatherDescription
// const hasErrored = this.state.hasErrored
// const loading = this.state.loading
// 2. Technique
const {
isLoading,
locationName,
temperatureF,
temperatureC,
weatherDescription,
hasErrored,
loading
} = this.state
if(isLoading) {
return (
<div style={{margin:'10em'}} className='sweet-loading'>
<CircleLoader
css={override}
sizeUnit={"px"}
size={250}
color={'grey'}
loading={loading}
/>
</div>
)
}
return (
<div className="container-fluid text-white my-auto">
<div className="container mx-auto my-4 py-4">
<div className="row justify-content-center text-center">
<h1 className="col-12 display-4 my-2 py-3 text-success">Phil's Forecast</h1>
<h2 className="col-12">{locationName}</h2>
<div style={{display:'flex',justifyContent: 'center'}}>
<h3 style={{padding: 0}} className="col-12 text-danger">{temperatureF}</h3>
<h3 style={{padding: 0}} className="col-12 text-danger">{temperatureC} </h3>
</div>
<h3 className="col-12">{weatherDescription}</h3>
{hasErrored && <h3 className="col-12 text-danger">Weather failed to load!</h3>}
</div>
</div>
</div>
);
}
}
export default App;
// try {
// 'hello' + 'go'
// } catch(error) {
// console.log('HAHAHA')
// }
// try {
// hello + go
// } catch(error) {
// console.log('HAHAHA')
// }
| 27.942446 | 115 | 0.575695 |
3a190f90433540fb508e75edde79949970ffae91 | 101 | js | JavaScript | app/containers/Characters/constants.js | LaneHarvey/react-project | 92ffe34f78b15a3b47216837326e259532d1a3af | [
"MIT"
] | null | null | null | app/containers/Characters/constants.js | LaneHarvey/react-project | 92ffe34f78b15a3b47216837326e259532d1a3af | [
"MIT"
] | null | null | null | app/containers/Characters/constants.js | LaneHarvey/react-project | 92ffe34f78b15a3b47216837326e259532d1a3af | [
"MIT"
] | null | null | null | /*
*
* Characters constants
*
*/
export const DEFAULT_ACTION = 'app/Characters/DEFAULT_ACTION';
| 12.625 | 62 | 0.70297 |
3a191d52f5283b31567ffd6e25171cc310e94ecb | 1,571 | js | JavaScript | dist/uncompressed/skylark-grapejs/panels/view/ButtonsView.js | skylark-integration/skylark-grapejs | 5013189f3028a06ac9d7f90993f3ea9ae1c1eba0 | [
"BSD-3-Clause"
] | null | null | null | dist/uncompressed/skylark-grapejs/panels/view/ButtonsView.js | skylark-integration/skylark-grapejs | 5013189f3028a06ac9d7f90993f3ea9ae1c1eba0 | [
"BSD-3-Clause"
] | 1 | 2021-10-17T03:42:16.000Z | 2021-10-17T03:42:16.000Z | src/panels/view/ButtonsView.js | skylark-integration/skylark-grapejs | 5013189f3028a06ac9d7f90993f3ea9ae1c1eba0 | [
"BSD-3-Clause"
] | null | null | null | define([
'skylark-backbone',
'./ButtonView',
'skylark-underscore'
], function (Backbone, ButtonView, a) {
'use strict';
return Backbone.View.extend({
initialize(o) {
this.opt = o || {};
this.config = this.opt.config || {};
this.pfx = this.config.stylePrefix || '';
this.parentM = this.opt.parentM || null;
this.listenTo(this.collection, 'add', this.addTo);
this.listenTo(this.collection, 'reset remove', this.render);
this.className = this.pfx + 'buttons';
},
addTo(model) {
this.addToCollection(model);
},
addToCollection(model, fragmentEl) {
var fragment = fragmentEl || null;
var viewObject = ButtonView;
var view = new viewObject({
model,
config: this.config,
parentM: this.parentM
});
var rendered = view.render().el;
if (fragment) {
fragment.appendChild(rendered);
} else {
this.$el.append(rendered);
}
return rendered;
},
render() {
var fragment = document.createDocumentFragment();
this.$el.empty();
this.collection.each(function (model) {
this.addToCollection(model, fragment);
}, this);
this.$el.append(fragment);
this.$el.attr('class', a.result(this, 'className'));
return this;
}
});
}); | 33.425532 | 72 | 0.495226 |
3a196af77b44e2543e93995f5480292abd4e5a2b | 2,380 | js | JavaScript | leetcode/L1800/lc1880.js | brianshen1990/KeepLearning | f0d30213d13dbc83d05d13ef2e9300355676c679 | [
"MIT"
] | 4 | 2021-02-23T07:42:31.000Z | 2021-12-16T22:16:28.000Z | leetcode/L1800/lc1880.js | brianshen1990/KeepLearning | f0d30213d13dbc83d05d13ef2e9300355676c679 | [
"MIT"
] | null | null | null | leetcode/L1800/lc1880.js | brianshen1990/KeepLearning | f0d30213d13dbc83d05d13ef2e9300355676c679 | [
"MIT"
] | null | null | null | /**
1880. Check if Word Equals Summation of Two Words
The letter value of a letter is its position in the alphabet starting from 0 (i.e. 'a' -> 0, 'b' -> 1, 'c' -> 2, etc.).
The numerical value of some string of lowercase English letters s is the concatenation of the letter values of each letter in s, which is then converted into an integer.
For example, if s = "acb", we concatenate each letter's letter value, resulting in "021". After converting it, we get 21.
You are given three strings firstWord, secondWord, and targetWord, each consisting of lowercase English letters 'a' through 'j' inclusive.
Return true if the summation of the numerical values of firstWord and secondWord equals the numerical value of targetWord, or false otherwise.
Example 1:
Input: firstWord = "acb", secondWord = "cba", targetWord = "cdb"
Output: true
Explanation:
The numerical value of firstWord is "acb" -> "021" -> 21.
The numerical value of secondWord is "cba" -> "210" -> 210.
The numerical value of targetWord is "cdb" -> "231" -> 231.
We return true because 21 + 210 == 231.
Example 2:
Input: firstWord = "aaa", secondWord = "a", targetWord = "aab"
Output: false
Explanation:
The numerical value of firstWord is "aaa" -> "000" -> 0.
The numerical value of secondWord is "a" -> "0" -> 0.
The numerical value of targetWord is "aab" -> "001" -> 1.
We return false because 0 + 0 != 1.
Example 3:
Input: firstWord = "aaa", secondWord = "a", targetWord = "aaaa"
Output: true
Explanation:
The numerical value of firstWord is "aaa" -> "000" -> 0.
The numerical value of secondWord is "a" -> "0" -> 0.
The numerical value of targetWord is "aaaa" -> "0000" -> 0.
We return true because 0 + 0 == 0.
Constraints:
1 <= firstWord.length, secondWord.length, targetWord.length <= 8
firstWord, secondWord, and targetWord consist of lowercase English letters from 'a' to 'j' inclusive.
*/
/**
* @param {string} firstWord
* @param {string} secondWord
* @param {string} targetWord
* @return {boolean}
*/
var isSumEqual = function(firstWord, secondWord, targetWord) {
const aCode = 'a'.charCodeAt(0);
const helper = ( str ) => {
return parseInt( str.split("").map( item => item.charCodeAt(0) - aCode ).join("") );
}
return helper( firstWord ) + helper( secondWord ) === helper(targetWord)
};
/**
"acb"
"cba"
"cdb"
"aaa"
"a"
"aab"
"aaa"
"a"
"aaaa"
*/ | 31.315789 | 169 | 0.683613 |
3a19e10964a2be0ca394f0752cc7faf4e23687ab | 1,882 | js | JavaScript | server/lib/controller.js | dr666m1/docker_werewolf | 3000c50c2036aa0083f47fd363175f21f9bf3d23 | [
"MIT"
] | null | null | null | server/lib/controller.js | dr666m1/docker_werewolf | 3000c50c2036aa0083f47fd363175f21f9bf3d23 | [
"MIT"
] | 1 | 2021-01-09T16:30:27.000Z | 2021-01-10T15:00:56.000Z | server/lib/controller.js | dr666m1/docker_werewolf | 3000c50c2036aa0083f47fd363175f21f9bf3d23 | [
"MIT"
] | null | null | null | "use strict";
// this module is imoprted only by `main.js`
const Member = require("./member");
const Game = require("./game");
const { Server } = require("socket.io");
const express = require("express");
const http = require("http");
const { mayor, inputNonNegativeInteger } = require("./utils");
const waitForMembers = (n, server) => {
const members = [];
return new Promise((resolve, reject) => {
server.ws.on("connection", (socket) => {
socket.on("clientMemberJoin", (name) => {
members.push(new Member(name, socket));
members.map((x) => x.receiveMemberInfo(members));
mayor(socket, `ようこそ【${name}】さん。`);
mayor(socket, `皆が揃うまでしばし待たれよ。`);
console.log(`【${name}】さんが入室しました。`);
if (members.length === n) {
resolve(members);
}
});
});
}).finally(() => {
members.map((x) => x.socket.removeAllListeners("clientMemberJoin"));
});
};
module.exports.GameServer = class GameServer {
constructor(staticDir, port) {
const app = express();
app.use(express.static(staticDir));
this.http = http.createServer(app);
this.ws = new Server(this.http);
this.port = port;
}
start() {
this.http.listen(this.port);
}
close() {
this.http.close();
this.ws.close();
}
};
module.exports.playGame = async (assign, timeLimit, server) => {
const n = Object.values(assign).reduce((sum, n) => (sum += n), 0);
const members = await waitForMembers(n, server);
const game = new Game(members, assign, timeLimit);
while (game.next !== null) {
await game.proceed();
}
};
module.exports.inputAssign = async (jobs) => {
const inputs = [];
for (const j of jobs) {
const n = await inputNonNegativeInteger(`【${j}】は何人?:`);
inputs.push(n);
}
const res = {};
for (let i = 0; i < jobs.length; i++) {
res[jobs[i]] = inputs[i];
}
return res;
};
| 27.676471 | 72 | 0.597237 |
3a19fdb40ce1149e4a7dca7bd24d6d4146ebaba1 | 82 | js | JavaScript | packages/glio.js | sarbull/components | 30172879483311b1638238ce222cdf1898572375 | [
"MIT"
] | 1 | 2022-01-23T15:43:27.000Z | 2022-01-23T15:43:27.000Z | packages/glio.js | Akshay-Hegde/components | 8807dadbd0263275ffd67089b3720b9a0864586e | [
"MIT"
] | null | null | null | packages/glio.js | Akshay-Hegde/components | 8807dadbd0263275ffd67089b3720b9a0864586e | [
"MIT"
] | null | null | null | {
"name": "glio.js",
"url": "https://github.com/luisvinicius167/gliojs.git"
}
| 16.4 | 56 | 0.621951 |
3a1b1bb4b4cf40719a1bc05db9868a4c60299287 | 2,689 | js | JavaScript | script.js | chaochinshin/generatePassword | d3277b3e8004dd983353c7a76f985b323cb166b2 | [
"ADSL"
] | null | null | null | script.js | chaochinshin/generatePassword | d3277b3e8004dd983353c7a76f985b323cb166b2 | [
"ADSL"
] | null | null | null | script.js | chaochinshin/generatePassword | d3277b3e8004dd983353c7a76f985b323cb166b2 | [
"ADSL"
] | null | null | null | // Assignment Code
var generateBtn = document.querySelector("#generate");
generateBtn.addEventListener("click", generatePassword);
var length = 0
var randomPassword = ""
var upperCase = "QWERTYUIOPASDFGHJKLZXCVBNM"; //['Q', 'W'...]
var lowerCase = "qwertyuiopasdfghjklzxcvbnm";
var numbers = "0123456789";
var symbols = "!@#$%^&*()";
function generatePassword(){
randomPassword = ""
var doIGeneratePassword = confirm("Do you want to generate password?"); //true or false
if (!doIGeneratePassword) {
alert("Cannot generate password.");
return "";
} else {
//prompt reads questions as strings, + sign will make computer reads as strings and convert into numbers
length = +prompt('How many characters? Please select at least 8 characters and no more than 128 characters.');
}
// || means or
while (length < 8 || length > 128) {
length = +prompt('How many characters? Please select at least 8 characters and no more than 128 characters.');
}
//ask if i want uppercase letters
var doIWantUppercase = confirm("Do you want uppercase letters?");
var doIWantLowercase = confirm("Do you want lowercase letters?");
var doIWantNumbers = confirm("Do you want numbers?");
var doIWantSymbols = confirm("Do you want symbols?");
//strings below
var characters = "";
if (doIWantUppercase) {
characters += upperCase;
}
if (doIWantLowercase) {
characters += lowerCase;
}
if (doIWantNumbers) {
characters += numbers;
}
if (doIWantSymbols) {
characters += symbols;
}
//telling computer when user didn't pick the selection, it will keep asking if none are picked.
while (characters.length === 0){
doIWantUppercase = confirm("Do you want uppercase letters?");
doIWantLowercase = confirm("Do you want lowercase letters?");
doIWantNumbers = confirm("Do you want numbers?");
doIWantSymbols = confirm("Do you want symbols?");
if (doIWantUppercase) {
characters += upperCase;
}
if (doIWantLowercase) {
characters += lowerCase;
}
if (doIWantNumbers) {
characters += numbers;
}
if (doIWantSymbols) {
characters += symbols;
}
}
//ask if i want lowercase letters
//ask if I want numbers
//ask if I special characters
//make a for loop that is looping for the length of our random password
// and adding chracters that we allowed.
for (var i=0; i<length; i++) {
randomPassword = randomPassword + characters[Math.floor(Math.random()* characters.length)];
//how do you make sure the randomPassword isnt too long
}
//the text area is the html element
document.getElementById("password").value=randomPassword;
//return randomPassword;
}
| 30.556818 | 117 | 0.686872 |
3a1c605dd2d6021737c357b4cbf45fd1aaf75b87 | 476 | js | JavaScript | client/modules/Auth/AuthReducer.js | jkhwu/tentativeBoardGameApp | d9073c38ec11cbee420c4af0ed98cdfe28774dbe | [
"MIT"
] | null | null | null | client/modules/Auth/AuthReducer.js | jkhwu/tentativeBoardGameApp | d9073c38ec11cbee420c4af0ed98cdfe28774dbe | [
"MIT"
] | 6 | 2018-06-27T07:52:37.000Z | 2018-07-18T20:37:33.000Z | client/modules/Auth/AuthReducer.js | jkhwu/tentativeBoardGameApp | d9073c38ec11cbee420c4af0ed98cdfe28774dbe | [
"MIT"
] | 4 | 2018-06-10T15:35:29.000Z | 2018-07-19T01:30:13.000Z | import { FETCH_AUTH_USER} from './AuthActions';
// Initial State
const initialsState = { data: [], usereventdata: [] };
const AuthReducer = (state = initialsState, action) => {
switch (action.type) {
case FETCH_AUTH_USER:
return {
data: [action.authUser, ...state.data || null],
};
default:
return state;
}
};
/* Selectors */
// Fetch Auth User
export const getAuthUser = state => state.authUser.data[0];
export default AuthReducer;
| 20.695652 | 59 | 0.638655 |
3a1dc08e78e63a63933c08f6333fe92ad19a4136 | 1,219 | js | JavaScript | src/states/GameOverState.js | danhett/SorryToBotherYou | 70ccb789916a23c5fab484f98cae540005d6de15 | [
"WTFPL"
] | 2 | 2018-10-28T17:33:25.000Z | 2019-05-10T20:10:53.000Z | src/states/GameOverState.js | danhett/SorryToBotherYou | 70ccb789916a23c5fab484f98cae540005d6de15 | [
"WTFPL"
] | null | null | null | src/states/GameOverState.js | danhett/SorryToBotherYou | 70ccb789916a23c5fab484f98cae540005d6de15 | [
"WTFPL"
] | 1 | 2020-03-23T18:09:15.000Z | 2020-03-23T18:09:15.000Z | import Settings from 'core/Settings';
import Maths from 'core/Maths';
class GameOverState extends Phaser.State {
create() {
document.body.style.cursor = 'default';
this.bg = this.game.add.sprite(0, 0, "gameover-screen");
this.retryBtn = this.game.add.sprite(570, 530, "hitzone");
this.retryBtn.alpha = 0;
this.retryBtn.scale.set(0.6);
this.retryBtn.inputEnabled = true;
this.retryBtn.events.onInputDown.add(this.doRetry, this);
this.quitBtn = this.game.add.sprite(800, 530, "hitzone");
this.quitBtn.alpha = 0;
this.quitBtn.scale.set(0.6);
this.quitBtn.inputEnabled = true;
this.quitBtn.events.onInputDown.add(this.doQuit, this);
}
doRetry() {
this.game.sound.play("click");
this.game.time.events.add(Phaser.Timer.SECOND * 0.2, this.doRetryTransition, this);
}
doRetryTransition() {
this.state.start('GameState');
}
doQuit() {
this.game.sound.play("click");
this.game.time.events.add(Phaser.Timer.SECOND * 0.2, this.doQuitTransition, this);
}
doQuitTransition() {
this.state.start('MenuState');
}
shutdown() {
}
}
export default GameOverState;
| 25.395833 | 90 | 0.633306 |
3a1fbdb4c799338b67e04c6f4ceb246e56ba5072 | 205 | js | JavaScript | src/schemas/neighbor/index.js | meinto/iri-graphql | fb5b8ef1576da24369f32b2af6d0adac66ed935a | [
"MIT"
] | null | null | null | src/schemas/neighbor/index.js | meinto/iri-graphql | fb5b8ef1576da24369f32b2af6d0adac66ed935a | [
"MIT"
] | null | null | null | src/schemas/neighbor/index.js | meinto/iri-graphql | fb5b8ef1576da24369f32b2af6d0adac66ed935a | [
"MIT"
] | null | null | null | import {
QUERY_DEFINITION,
QUERIES,
} from './queries'
import {
MUTATION_DEFINITION,
MUTATIONS,
} from './mutations'
export {
QUERY_DEFINITION,
MUTATION_DEFINITION,
QUERIES,
MUTATIONS,
}
| 12.058824 | 22 | 0.702439 |
3a20c11d47af94e667edbd1aefcc868341c3862e | 20,524 | js | JavaScript | assets/js/67.9db08a7a.js | guojun49/blog | 8116aebdd6f4c4650e83525b8921a3eeb026fdb4 | [
"Apache-2.0"
] | null | null | null | assets/js/67.9db08a7a.js | guojun49/blog | 8116aebdd6f4c4650e83525b8921a3eeb026fdb4 | [
"Apache-2.0"
] | 1 | 2020-07-22T12:39:53.000Z | 2020-07-22T12:39:53.000Z | assets/js/67.9db08a7a.js | guojun49/blog | 8116aebdd6f4c4650e83525b8921a3eeb026fdb4 | [
"Apache-2.0"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[67],{637:function(t,s,a){"use strict";a.r(s);var n=a(9),r=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h2",{attrs:{id:"简介"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#简介"}},[t._v("#")]),t._v(" 简介")]),t._v(" "),a("p",[t._v("在Java中,synchronized锁可能是我们最早接触的锁了,在 JDK1.5之前synchronized是一个重量级锁,相对于juc包中的Lock,synchronized显得比较笨重。")]),t._v(" "),a("p",[t._v("庆幸的是在 Java 6 之后 Java 官⽅对从 JVM 层⾯对synchronized进行⼤优化,所以现在的 synchronized 锁效率也优化得很不错。")]),t._v(" "),a("h2",{attrs:{id:"一-synchronized的特性"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#一-synchronized的特性"}},[t._v("#")]),t._v(" 一. Synchronized的特性")]),t._v(" "),a("ol",[a("li",[t._v("原子性")])]),t._v(" "),a("p",[t._v("所谓原子性就是指一个操作或者多个操作,要么全部执行并且执行的过程不会被任何因素打断,要么就都不执行。")]),t._v(" "),a("p",[t._v("在Java中,对基本数据类型的变量的读取和赋值操作是原子性操作,即这些操作是不可被中断的,要么执行,要么不执行。但是像i++、i+=1等操作字符就不是原子性的,它们是分成读取、计算、赋值几步操作,原值在这些步骤还没完成时就可能已经被赋值了,那么最后赋值写入的数据就是脏数据,无法保证原子性。")]),t._v(" "),a("blockquote",[a("p",[t._v("synchronized和volatile,它们俩特性上最大的区别就在于原子性,volatile不具备原子性。")])]),t._v(" "),a("ol",{attrs:{start:"2"}},[a("li",[t._v("可见性")])]),t._v(" "),a("p",[t._v("可见性是指多个线程访问一个资源时,该资源的状态、值信息等对于其他线程都是可见的。\nsynchronized和volatile都具有可见性")]),t._v(" "),a("ol",{attrs:{start:"3"}},[a("li",[t._v("有序性")])]),t._v(" "),a("p",[t._v("有序性值程序执行的顺序按照代码先后执行。")]),t._v(" "),a("p",[t._v("synchronized和volatile都具有有序性,Java允许编译器和处理器对指令进行重排,但是指令重排并不会影响单线程的顺序,它影响的是多线程并发执行的顺序性。synchronized保证了每个时刻都只有一个线程访问同步代码块,也就确定了线程执行同步代码块是分先后顺序的,保证了有序性。")]),t._v(" "),a("p",[t._v("4 可重入性")]),t._v(" "),a("p",[t._v("synchronized和ReentrantLock都是可重入锁。当一个线程试图操作一个由其他线程持有的对象锁的临界资源时,将会处于阻塞状态,但当一个线程再次请求自己持有对象锁的临界资源时,这种情况属于重入锁。通俗一点讲就是说一个线程拥有了锁仍然还可以重复申请锁。")]),t._v(" "),a("h2",{attrs:{id:"二-synchronized的用法"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#二-synchronized的用法"}},[t._v("#")]),t._v(" 二. Synchronized的用法")]),t._v(" "),a("p",[t._v("synchronized可以修饰静态方法、成员函数,同时还可以直接定义代码块,但是归根结底它上锁的资源只有两类:一个是对象,一个是类。")]),t._v(" "),a("div",{staticClass:"language-java extra-class"},[a("pre",{pre:!0,attrs:{class:"language-java"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ThreadTest")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("implements")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Runnable")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("private")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("static")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("int")]),t._v(" i "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("private")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("synchronized")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("void")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n i"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("++")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n\n "),a("span",{pre:!0,attrs:{class:"token annotation punctuation"}},[t._v("@Override")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("void")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("run")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("for")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("int")]),t._v(" i "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" i"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1000000")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v(" i"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("++")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("static")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("void")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("main")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("String")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" args"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("throws")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("InterruptedException")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Thread")]),t._v(" threadTest1 "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Thread")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ThreadTest")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Thread")]),t._v(" threadTest2 "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Thread")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("ThreadTest")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n threadTest1"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("start")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n threadTest2"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("start")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n threadTest1"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("join")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n threadTest2"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("join")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("System")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("out"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("println")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("i"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[t._v("上面的简单意思就是用两个线程分别对i加100万次,理论结果应该是200万,而且还加了synchronized锁住了add方法,保证了其线程安全性。可是!!!我无论运行多少次都是小于200万的,为什么呢?")]),t._v(" "),a("p",[t._v("原因就在于synchronized加锁的函数,这个方法是普通成员方法,那么锁就是加给对象的,但是在创建线程时却new了两个Test2实例,也就是说这个锁是给这两个实例加的锁,并没有达到同步的效果,所以才会出现错误。至于为什么小于200万,要理解i++的过程就明白了")]),t._v(" "),a("h2",{attrs:{id:"三-synchronized锁的实现"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#三-synchronized锁的实现"}},[t._v("#")]),t._v(" 三. Synchronized锁的实现")]),t._v(" "),a("p",[t._v("synchronized有两种形式上锁,一个是对方法上锁,一个是构造同步代码块。他们的底层实现其实都一样,在进入同步代码之前先获取锁,获取到锁之后锁的计数器+1,同步代码执行完锁的计数器-1,如果获取失败就阻塞式等待锁的释放。只是他们在同步块识别方式上有所不一样,从class字节码文件可以表现出来,一个是通过方法flags标志,一个是monitorenter和monitorexit指令操作。")]),t._v(" "),a("ul",[a("li",[t._v("同步代码块")])]),t._v(" "),a("div",{staticClass:"language-java extra-class"},[a("pre",{pre:!0,attrs:{class:"language-java"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SyncCode")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("private")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("static")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("int")]),t._v(" i "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("void")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("synchronized")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SyncCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("++")]),t._v("i"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[a("img",{attrs:{src:"https://gj-blog.oss-cn-hangzhou.aliyuncs.com/blog-img/2021/10/20211023193117.png",alt:"image-20211023193117329"}})]),t._v(" "),a("p",[t._v("从反编译的同步代码块可以看到同步块是由monitorenter指令进入,然后monitorexit释放锁,在执行monitorenter之前需要尝试获取锁,如果这个对象没有被锁定,或者当前线程已经拥有了这个对象的锁,那么就把锁的计数器加1。当执行monitorexit指令时,锁的计数器也会减1。当获取锁失败时会被阻塞,一直等待锁被释放。")]),t._v(" "),a("p",[t._v("但是为什么会有两个monitorexit呢?其实第二个monitorexit是来处理异常的,仔细看反编译的字节码,正常情况下第一个monitorexit之后会执行goto指令,而该指令转向的就是23行的return,也就是说正常情况下只会执行第一个monitorexit释放锁,然后返回。而如果在执行中发生了异常,第二个monitorexit就起作用了,它是由编译器自动生成的,在发生异常时处理异常然后释放掉锁。")]),t._v(" "),a("ul",[a("li",[t._v("同步方法")])]),t._v(" "),a("div",{staticClass:"language-java extra-class"},[a("pre",{pre:!0,attrs:{class:"language-java"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("SyncMethod")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("private")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("static")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("int")]),t._v(" i "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("synchronized")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("void")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("add")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n i"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("++")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[a("img",{attrs:{src:"https://gj-blog.oss-cn-hangzhou.aliyuncs.com/blog-img/2021/10/20211023193142.png",alt:"image-20211023193142408"}})]),t._v(" "),a("p",[t._v("可以看到在add方法的flags里面多了一个ACC_SYNCHRONIZED标志,这标志用来告诉JVM这是一个同步方法,在进入该方法之前先获取相应的锁,锁的计数器加1,方法结束后计数器-1,如果获取失败就阻塞住,知道该锁被释放。")]),t._v(" "),a("h2",{attrs:{id:"四-synchronized锁的底层实现"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#四-synchronized锁的底层实现"}},[t._v("#")]),t._v(" 四. synchronized锁的底层实现")]),t._v(" "),a("p",[t._v("在理解锁实现原理之前先了解一下Java的对象头和Monitor,在JVM中,对象是分成三部分存在的:对象头、实例数据、对其填充。")]),t._v(" "),a("p",[a("img",{attrs:{src:"https://gj-blog.oss-cn-hangzhou.aliyuncs.com/blog-img/2021/10/20211023193557.png",alt:"image-20211023193557473"}})]),t._v(" "),a("p",[t._v("实例数据存放类的属性数据信息,包括父类的属性信息,如果是数组的实例部分还包括数组的长度,这部分内存按4字节对齐;对其填充不是必须部分,由于虚拟机要求对象起始地址必须是8字节的整数倍,对齐填充仅仅是为了使字节对齐。")]),t._v(" "),a("p",[t._v("对象头是我们需要关注的重点,它是synchronized实现锁的基础,因为synchronized申请锁、上锁、释放锁都与对象头有关。对象头主要结构是由Mark Word 和 Class Metadata Address组成,其中Mark Word存储对象的hashCode、锁信息或分代年龄或GC标志等信息,Class Metadata Address是类型指针指向对象的类元数据,JVM通过该指针确定该对象是哪个类的实例。")]),t._v(" "),a("p",[t._v("锁也分不同状态,JDK6之前只有两个状态:无锁、有锁(重量级锁),而在JDK6之后对synchronized进行了优化,新增了两种状态,总共就是四个状态:无锁状态、偏向锁、轻量级锁、重量级锁,其中无锁就是一种状态了。锁的类型和状态在对象头Mark Word中都有记录,在申请锁、锁升级等过程中JVM都需要读取对象的Mark Word数据。")]),t._v(" "),a("p",[t._v("每一个锁都对应一个monitor对象,在HotSpot虚拟机中它是由ObjectMonitor实现的(C++实现)。每个对象都存在着一个monitor与之关联,对象与其monitor之间的关系有存在多种实现方式,如monitor可以与对象一起创建销毁或当线程试图获取对象锁时自动生成,但当一个monitor被某个线程持有后,它便处于锁定状态。")]),t._v(" "),a("h2",{attrs:{id:"五-jvm对synchronized的优化"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#五-jvm对synchronized的优化"}},[t._v("#")]),t._v(" 五. JVM对synchronized的优化")]),t._v(" "),a("p",[t._v("Java的开发团队一直在对synchronized优化,其中最大的一次优化就是在jdk6的时候,新增了两个锁状态,通过锁消除、锁粗化、自旋锁等方法使用各种场景,给synchronized性能带来了很大的提升。")]),t._v(" "),a("h4",{attrs:{id:"_5-1-锁膨胀"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_5-1-锁膨胀"}},[t._v("#")]),t._v(" 5.1 锁膨胀")]),t._v(" "),a("p",[t._v("上面讲到锁有四种状态,并且会因实际情况进行膨胀升级,其膨胀方向是:无锁——>偏向锁——>轻量级锁——>重量级锁,并且膨胀方向不可逆。")]),t._v(" "),a("p",[t._v("\t5.1.1 "),a("strong",[t._v("偏向锁")])]),t._v(" "),a("p",[t._v("\t一句话总结它的作用:"),a("strong",[t._v("减少统一线程获取锁的代价")]),t._v("。在大多数情况下,锁不存在多线程竞争,总是由同一线程多次获得,那么此时就是偏向锁。")]),t._v(" "),a("p",[a("strong",[t._v("核心思想:")])]),t._v(" "),a("p",[t._v("如果一个线程获得了锁,那么锁就进入偏向模式,此时"),a("code",[t._v("Mark Word")]),t._v("的结构也就变为偏向锁结构,"),a("strong",[t._v("当该线程再次请求锁时,无需再做任何同步操作,即获取锁的过程只需要检查")]),a("code",[t._v("**Mark Word**")]),a("strong",[t._v("的锁标记位为偏向锁以及当前线程ID等于")]),a("code",[t._v("**Mark Word**")]),a("strong",[t._v("的ThreadID即可")]),t._v(",这样就省去了大量有关锁申请的操作。")]),t._v(" "),a("p",[t._v("\t5.1.2 "),a("strong",[t._v("轻量级锁")])]),t._v(" "),a("p",[t._v("\t轻量级锁是由偏向锁升级而来,当存在第二个线程申请同一个锁对象时,偏向锁就会立即升级为轻量级锁。注意这里的第二个线程只是申请锁,不存在两个线程同时竞争锁,可以是一前一后地交替执行同步块。")]),t._v(" "),a("p",[t._v("\t"),a("strong",[t._v("5.1.3 重量级锁")])]),t._v(" "),a("p",[t._v("\t重量级锁是由轻量级锁升级而来,当"),a("strong",[t._v("同一时间")]),t._v("有多个线程竞争锁时,锁就会被升级成重量级锁,此时其申请锁带来的开销也就变大。")]),t._v(" "),a("p",[t._v("重量级锁一般使用场景会在追求吞吐量,同步块或者同步方法执行时间较长的场景。")]),t._v(" "),a("h4",{attrs:{id:"_5-2-锁消除"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_5-2-锁消除"}},[t._v("#")]),t._v(" "),a("strong",[t._v("5.2 锁消除")])]),t._v(" "),a("p",[t._v("消除锁是虚拟机另外一种锁的优化,这种优化更彻底,在JIT编译时,对运行上下文进行扫描,去除不可能存在竞争的锁。比如下面代码的method1和method2的执行效率是一样的,因为object锁是私有变量,不存在所得竞争关系。")]),t._v(" "),a("p",[a("img",{attrs:{src:"https://gj-blog.oss-cn-hangzhou.aliyuncs.com/blog-img/2021/10/20211023201842.png",alt:"image-20211023201842743"}})]),t._v(" "),a("h4",{attrs:{id:"_5-3-锁粗化"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_5-3-锁粗化"}},[t._v("#")]),t._v(" 5.3 锁粗化")]),t._v(" "),a("p",[t._v("锁粗化是虚拟机对另一种极端情况的优化处理,通过扩大锁的范围,避免反复加锁和释放锁。比如下面method3经过锁粗化优化之后就和method4执行效率一样了。")]),t._v(" "),a("p",[a("img",{attrs:{src:"https://gj-blog.oss-cn-hangzhou.aliyuncs.com/blog-img/2021/10/20211023201911.png",alt:"image-20211023201911093"}})]),t._v(" "),a("h4",{attrs:{id:"_5-4-自旋锁与自适应自旋锁"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_5-4-自旋锁与自适应自旋锁"}},[t._v("#")]),t._v(" 5.4 自旋锁与自适应自旋锁")]),t._v(" "),a("p",[t._v("轻量级锁失败后,虚拟机为了避免线程真实地在操作系统层面挂起,还会进行一项称为自旋锁的优化手段。")]),t._v(" "),a("p",[t._v("自旋锁:许多情况下,共享数据的锁定状态持续时间较短,切换线程不值得,通过让线程执行循环等待锁的释放,不让出CPU。如果得到锁,就顺利进入临界区。如果还不能获得锁,那就会将线程在操作系统层面挂起,这就是自旋锁的优化方式。但是它也存在缺点:如果锁被其他线程长时间占用,一直不释放CPU,会带来许多的性能开销。")]),t._v(" "),a("p",[a("strong",[t._v("自适应自旋锁")]),t._v(":这种相当于是对上面自旋锁优化方式的进一步优化,它的自旋的次数不再固定,其自旋的次数由前一次在同一个锁上的自旋时间及锁的拥有者的状态来决定,这就解决了自旋锁带来的缺点。")]),t._v(" "),a("h2",{attrs:{id:"总结"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#总结"}},[t._v("#")]),t._v(" 总结")]),t._v(" "),a("h4",{attrs:{id:"使用synchronized有哪些要注意的"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#使用synchronized有哪些要注意的"}},[t._v("#")]),t._v(" 使用Synchronized有哪些要注意的?")]),t._v(" "),a("ul",[a("li",[t._v("锁对象不能为空,因为锁的信息都保存在对象头里;")]),t._v(" "),a("li",[t._v("作用域不宜过大,影响程序执行的速度,控制范围过大,编写代码也容易出错;")]),t._v(" "),a("li",[t._v("避免死锁;")]),t._v(" "),a("li",[t._v("在能选择的情况下,既不要用Lock也不要用synchronized关键字,用java.util.concurrent包中的各种各样的类,如果不用该包下的类,在满足业务的情况下,可以使用synchronized关键字,因为代码量少,避免出错。")])])])}),[],!1,null,null,null);s.default=r.exports}}]); | 20,524 | 20,524 | 0.617862 |
3a22f46bd36e386426733bcc9694118eb98984d5 | 1,131 | js | JavaScript | packages/ckeditor5-clipboard/src/pasteplaintext.js | groupvine/ckeditor5 | 503c623b39e9236ab8bdefc8709e4c4d26e2346d | [
"MIT"
] | 4 | 2021-04-14T02:18:26.000Z | 2022-03-03T03:28:02.000Z | packages/ckeditor5-clipboard/src/pasteplaintext.js | groupvine/ckeditor5 | 503c623b39e9236ab8bdefc8709e4c4d26e2346d | [
"MIT"
] | 1 | 2020-10-08T13:07:44.000Z | 2020-10-08T13:07:44.000Z | packages/ckeditor5-clipboard/src/pasteplaintext.js | groupvine/ckeditor5 | 503c623b39e9236ab8bdefc8709e4c4d26e2346d | [
"MIT"
] | 8 | 2020-11-30T10:42:34.000Z | 2021-11-17T20:26:19.000Z | /**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module clipboard/clipboard
*/
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import ClipboardObserver from './clipboardobserver';
/**
* The plugin detects user intentions for pasting plain text.
*
* For example, it detects <kbd>ctrl/cmd</kbd> + <kbd>shift</kbd> + <kbd>ctrl/v</kbd> keystroke.
*
* @extends module:core/plugin~Plugin
*/
export default class PastePlainText extends Plugin {
/**
* @inheritDoc
*/
static get pluginName() {
return 'PastePlainText';
}
/**
* @inheritDoc
*/
init() {
const view = this.editor.editing.view;
const viewDocument = view.document;
let shiftPressed = false;
view.addObserver( ClipboardObserver );
this.listenTo( viewDocument, 'keydown', ( evt, data ) => {
shiftPressed = data.shiftKey;
} );
this.listenTo( viewDocument, 'clipboardInput', ( evt, data ) => {
if ( shiftPressed ) {
data.asPlainText = true;
}
}, { priority: 'high' } );
}
}
| 22.62 | 96 | 0.669319 |
3a245aee3e5308f1a0ee8948e25a869ab06827be | 1,081 | js | JavaScript | app/src/store/index.js | mrbigfish/business_website | ff2d7285cd493e9e168c6eb4153bcd28a27c1e88 | [
"MIT"
] | null | null | null | app/src/store/index.js | mrbigfish/business_website | ff2d7285cd493e9e168c6eb4153bcd28a27c1e88 | [
"MIT"
] | 5 | 2020-04-05T17:54:02.000Z | 2022-03-24T04:47:41.000Z | app/src/store/index.js | mrbigfish/business_website | ff2d7285cd493e9e168c6eb4153bcd28a27c1e88 | [
"MIT"
] | null | null | null | import { createStore, applyMiddleware, compose } from 'redux';
import createSagaMiddleware from 'redux-saga';
import { connectRouter, routerMiddleware } from 'connected-react-router';
import { createBrowserHistory } from 'history';
// import rootReducer from '../reducers/index';
import createRootReducer from '../reducers/index';
// todo: Replace the above with the following:
// import rootReducer from '../reducers';
import rootSaga from '../sagas/newsSaga';
export const history = createBrowserHistory();
const preloadedState = {};
const sagaMiddleware = createSagaMiddleware();
const reduxDevTools =
window.__REDUX_DEVTOOLS_EXTENSION__ &&
window.__REDUX_DEVTOOLS_EXTENSION__();
export default function configureStore(preloadedState) {
const store = createStore(
createRootReducer(history),
preloadedState,
compose(
applyMiddleware(
routerMiddleware(history),
sagaMiddleware,
reduxDevTools
),
),
)
return store
}
sagaMiddleware.run(rootSaga);
| 30.027778 | 74 | 0.693802 |
3a24cf01da9fd7caa92e857779ab83a91c74eefc | 140 | js | JavaScript | static/js/app/models/shapes/Connection.js | yaoshining/process-designer | b80c38c515273325c2ad8b40b35a606d8d8d0aaf | [
"Apache-2.0"
] | null | null | null | static/js/app/models/shapes/Connection.js | yaoshining/process-designer | b80c38c515273325c2ad8b40b35a606d8d8d0aaf | [
"Apache-2.0"
] | 1 | 2015-04-10T19:24:25.000Z | 2015-08-29T14:59:14.000Z | static/js/app/models/shapes/Connection.js | yaoshining/process-designer | b80c38c515273325c2ad8b40b35a606d8d8d0aaf | [
"Apache-2.0"
] | null | null | null | /**
* Created by 世宁 on 13-12-18.
*/
define(function(){
return Backbone.Model.extend({
from: null,
to: null
});
}); | 15.555556 | 34 | 0.514286 |
3a25e7b301dee1584cf70e5f78a89b5ec8243bac | 974 | js | JavaScript | test/mixin.js | ArthurClemens/uce | 3629e9d7f842e18fcda99fda2e34e45b89dcd48f | [
"0BSD"
] | 173 | 2020-02-25T01:28:48.000Z | 2022-03-26T07:54:01.000Z | test/mixin.js | ArthurClemens/uce | 3629e9d7f842e18fcda99fda2e34e45b89dcd48f | [
"0BSD"
] | 18 | 2020-03-04T12:08:11.000Z | 2021-07-31T20:47:29.000Z | test/mixin.js | ArthurClemens/uce | 3629e9d7f842e18fcda99fda2e34e45b89dcd48f | [
"0BSD"
] | 13 | 2020-03-02T06:48:32.000Z | 2021-09-24T22:13:32.000Z | const assign = require('assign-properties');
const mixin = (...C) => {
const init = group(C, 'init');
const connected = group(C, 'connected');
const disconnected = group(C, 'disconnected');
const attributeChanged = group(C, 'attributeChanged');
const observed = new Set(C.reduce((p, c) => p.concat(c.observedAttributes || []), []));
const bound = new Set(C.reduce((p, c) => p.concat(c.bound || []), []));
const props = C.filter(by, 'props').reduce((p, c) => assign(p, c.props), {});
return assign({}, ...C, {
init() { init.forEach(invoke, this); },
connected() { connected.forEach(invoke, this); },
disconnected() { disconnected.forEach(invoke, this); },
attributeChanged() { attributeChanged.forEach(invoke, this); },
observedAttributes: [...observed],
bound: [...bound],
props
});
};
function group(c, key) { return c.filter(by, key).map(by, key); }
function by(c) { return c[this]; }
function invoke(fn) { fn.call(this); }
| 38.96 | 89 | 0.619097 |
3a2648b7c4eadc2d34a380a34ab5b2e947aea74b | 8,667 | js | JavaScript | app/assets/javascripts/__tests__/search.test.js | alphagov/cgsd-api-rails | 47f7fc9943199daaaa94e9fd850360927ddffc36 | [
"MIT"
] | 1 | 2017-10-17T16:05:06.000Z | 2017-10-17T16:05:06.000Z | app/assets/javascripts/__tests__/search.test.js | alphagov/cgsd-api-rails | 47f7fc9943199daaaa94e9fd850360927ddffc36 | [
"MIT"
] | 33 | 2017-12-05T12:09:14.000Z | 2021-03-24T11:36:07.000Z | app/assets/javascripts/__tests__/search.test.js | alphagov/gsd-api | 47f7fc9943199daaaa94e9fd850360927ddffc36 | [
"MIT"
] | 4 | 2017-12-05T11:59:46.000Z | 2021-04-10T20:14:51.000Z | 'use strict'
/* global JQUERY_PATH */
// set the window.jQuery variable that the file expects
window.jQuery = require(JQUERY_PATH)
// will set SearchResultsContainer and SearchFilter on the window object
require('../search')
describe('On the search page', function () {
var $ = window.jQuery
var searchFilterHTML =
'<div class="m-search-filter hidden" data-behaviour="m-search-filter" role="search">' +
'<label for="search-metrics">Find department</label>' +
'<input type="search" id="search-metrics" class="a-search-input" placeholder="Example: environment">' +
'<p id="search-counter" class="a-search-counter" data-behaviour="a-search-counter" class="visuallyhidden" aria-live="assertive" aria-atomic="true"></p>' +
'</div>'
var SearchResultsHTML =
'<div class="o-metric-groups" data-behaviour="o-metric-groups">' +
'<ul>' +
'<li class="m-metric-group" data-behaviour="m-metric-group">' +
'<h2 class="bold-medium"><a>HM Revenue & Customs</a></h2>' +
'</li>' +
'<li class="m-metric-group" data-behaviour="m-metric-group">' +
'<h2 class="bold-medium"><a>Department For Transport</a></h2>' +
'</li>' +
'</ul>' +
'</div>'
var $searchFilter
var $searchInput
var $searchCounter
var $results
function _assertAllResults (opts) {
return function (query) {
opts.filterFn(query)
expect($results.length).toBeGreaterThan(0)
$results.each(function () {
expect($(this).hasClass('hidden')).toEqual(!opts.isVisible)
})
}
}
function _assertOneResult (opts) {
return function (query) {
opts.filterFn(query)
expect($results.length).toBeGreaterThan(0)
var selector = opts.isVisible
? ':not(.hidden)'
: '.hidden'
var $result = $results.filter(selector)
expect($result.length).toEqual(1)
}
}
describe('the search page filter', function () {
beforeEach(function () {
// Add HTML to page
$(document.body).append($(searchFilterHTML))
$searchFilter = $('[data-behaviour="m-search-filter"]')
$searchCounter = $('[data-behaviour="a-search-counter"]')
})
afterEach(function () {
// Drop everything from the page
$(document.body).empty()
})
it('should lose the hidden class when the page loads', function () {
window.SearchFilter.init()
expect($searchFilter.hasClass('hidden')).toEqual(false)
})
it('should update the hidden search counter when the page loads', function () {
window.SearchFilter.init({}, 2)
expect($searchCounter.hasClass('visuallyhidden')).toEqual(true)
expect($searchCounter.text()).toEqual('2 total results')
})
describe('when there are also search results', function () {
beforeEach(function () {
// Add search results HTML to page (it already has the search filter)
$(document.body).append($(SearchResultsHTML))
$searchInput = $searchFilter.find('input[type="search"]')
$results = $('[data-behaviour^="m-metric-group"]')
window.SearchResultsContainer.init()
window.SearchFilter.init(
window.SearchResultsContainer.filter,
window.SearchResultsContainer.getResultsLength()
)
})
afterEach(function () {
// Drop everything from the page
$(document.body).empty()
})
it('should filter the search results on keyup', function () {
$searchInput.val('revenue').trigger('keyup')
expect($results.eq(0).hasClass('hidden')).toEqual(false)
expect($results.eq(1).hasClass('hidden')).toEqual(true)
})
it('should filter the search results on search', function () {
$searchInput.val('revenue').trigger('search')
expect($results.eq(0).hasClass('hidden')).toEqual(false)
expect($results.eq(1).hasClass('hidden')).toEqual(true)
})
it('should filter the search results ignoring spaces', function () {
$searchInput.val(' revenue ').trigger('keyup')
expect($results.eq(0).hasClass('hidden')).toEqual(false)
expect($results.eq(1).hasClass('hidden')).toEqual(true)
})
it('should filter the search results ignoring capital letters', function () {
$searchInput.val('ReVenUe').trigger('keyup')
expect($results.eq(0).hasClass('hidden')).toEqual(false)
expect($results.eq(1).hasClass('hidden')).toEqual(true)
})
describe('should update the search counter', function () {
function _filterResults (query) {
expect(window.SearchResultsContainer).not.toBe(undefined)
expect($searchInput.length).toBeGreaterThan(0)
$searchInput.val(query).trigger('search')
}
var assertAllResultsAreHidden = _assertAllResults(
{filterFn: _filterResults, isVisible: false})
var assertAllResultsAreVisible = _assertAllResults(
{filterFn: _filterResults, isVisible: true})
var assertOneResultIsVisible = _assertOneResult(
{filterFn: _filterResults, isVisible: false})
it('to be hidden when an empty query is given', function () {
assertAllResultsAreVisible('')
expect($searchCounter.hasClass('visuallyhidden')).toEqual(true)
expect($searchCounter.text()).toEqual('2 total results')
})
it('to be visible and indicating total results when a very general query is given', function () {
assertAllResultsAreVisible('r')
expect($searchCounter.hasClass('visuallyhidden')).toEqual(false)
expect($searchCounter.text()).toEqual('2 total results for “r”')
})
it('to be visible and indicating number of results when a matching substring query is given', function () {
assertOneResultIsVisible('reven')
expect($searchCounter.hasClass('visuallyhidden')).toEqual(false)
expect($searchCounter.text()).toEqual('1 result for “reven”')
expect($results.filter(':contains("HM Revenue")').hasClass('hidden')).toEqual(false)
})
it('to be visible and indicating no results when a non-matching query is given', function () {
assertAllResultsAreHidden('zzz')
expect($searchCounter.hasClass('visuallyhidden')).toEqual(false)
expect($searchCounter.text()).toEqual('No results for “zzz”')
})
})
})
})
describe('The search results', function () {
beforeEach(function () {
// Add to page
$(document.body).append($(SearchResultsHTML))
window.SearchResultsContainer.init()
$results = $('[data-behaviour^="m-metric-group"]')
})
afterEach(function () {
// Drop everything from the page
$(document.body).empty()
})
function _filterResults (query) {
expect(window.SearchResultsContainer).not.toBe(undefined)
window.SearchResultsContainer.filter(query)
}
var assertAllResultsAreHidden = _assertAllResults(
{filterFn: _filterResults, isVisible: false})
var assertAllResultsAreVisible = _assertAllResults(
{filterFn: _filterResults, isVisible: true})
var assertOneResultIsVisible = _assertOneResult(
{filterFn: _filterResults, isVisible: false})
it('should have data-search attributes with search terms when the page loads', function () {
expect($results.eq(0).attr('data-search')).toEqual('hm revenue & customs')
expect($results.eq(1).attr('data-search')).toEqual('department for transport')
})
it('should be filtered when a matching substring query is given', function () {
assertOneResultIsVisible('revenue')
expect($results.filter(':contains("HM Revenue")').hasClass('hidden')).toEqual(false)
})
it('should be filtered when a exact matching query is given', function () {
assertOneResultIsVisible('hm revenue & customs')
expect($results.filter(':contains("HM Revenue")').hasClass('hidden')).toEqual(false)
})
it('should be revealed when an empty query is given', function () {
assertAllResultsAreVisible('')
})
it('should be hidden when a non-matching query is given', function () {
assertAllResultsAreHidden('zzz')
})
it('should be hidden when a misspelt word is given', function () {
assertAllResultsAreHidden('tramsport')
})
it('should be hidden when words are out of order', function () {
assertAllResultsAreHidden('transport for department')
})
it('should be hidden when punctuation is spelled out', function () {
assertAllResultsAreHidden('hm revenue and customs')
})
})
})
| 35.81405 | 160 | 0.642668 |
3a264db3108e744c4fdbe260e5126c67c7d58200 | 3,150 | js | JavaScript | Scripts/index.js | WSDOT-GIS/epsg-io-js | dae91b2eff8b731af0864bed2e1d499443091f43 | [
"Unlicense"
] | null | null | null | Scripts/index.js | WSDOT-GIS/epsg-io-js | dae91b2eff8b731af0864bed2e1d499443091f43 | [
"Unlicense"
] | null | null | null | Scripts/index.js | WSDOT-GIS/epsg-io-js | dae91b2eff8b731af0864bed2e1d499443091f43 | [
"Unlicense"
] | null | null | null |
/*global require*/
require([
"esri/config",
"esri/arcgis/utils",
"esri/graphic",
"esri/geometry/jsonUtils",
"esri/layers/FeatureLayer",
"esri/geometry/geometryEngineAsync",
"buffer",
"buffer/BufferLinkInfoWindow"
], function (esriConfig, arcgisUtils, Graphic, geometryJsonUtils, FeatureLayer, geometryEngineAsync, BufferUI, BufferLinkInfoWindow) {
var buffer, bufferFeatureLayer;
bufferFeatureLayer = new FeatureLayer({
featureSet: null,
layerDefinition: {
geometryType: "esriGeometryPolygon",
fields: []
}
}, {
className: "buffer"
});
// Specify CORS enabled servers.
["www.wsdot.wa.gov", "wsdot.wa.gov", "gispublic.dfw.wa.gov"].forEach(function (svr) {
esriConfig.defaults.io.corsEnabledServers.push(svr);
});
// Since CORS servers are explicitly specified, CORS detection is not necessary.
// This prevents the following types of errors from appearing in the console:
// XMLHttpRequest cannot load http://gis.rita.dot.gov/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://example.com' is therefore not allowed access.
esriConfig.defaults.io.corsDetection = false;
// Create the Buffer UI in the specified node.
buffer = new BufferUI(document.getElementById("buffer"));
// Create a map from a predefined webmap on AGOL.
arcgisUtils.createMap("927b5daaa7f4434db4b312364489544d", "map").then(function (response) {
var map = response.map;
map.addLayer(bufferFeatureLayer);
BufferLinkInfoWindow.addBufferLink(map.infoWindow, buffer);
buffer.form.addEventListener('clear-graphics', function () {
bufferFeatureLayer.clear();
});
buffer.form.addEventListener("buffer", function (e) {
var detail = e.detail;
// Convert regular objects into esri/Geometry objects.
if (Array.isArray(detail.geometry)) {
detail.geometry = detail.geometry.map(geometryJsonUtils.fromJson, detail.geometry);
} else {
detail.geometry = geometryJsonUtils.fromJson(detail.geometry);
}
// The geometry engine requires that the number of geometries and distances be the same.
// If multiple distances are provided but only a single geometry, that geometry will be
// buffered for each distance.
if (Array.isArray(detail.distance) && !Array.isArray(detail.geometry)) {
detail.geometry = (function () {
var outGeoArray = [];
for (var i = 0, l = detail.distance.length; i < l; i += 1) {
outGeoArray[i] = detail.geometry;
}
return outGeoArray;
}());
}
geometryEngineAsync.buffer(detail.geometry, detail.distance, detail.unit, detail.unionResults).then(function (bufferResults) {
console.log("buffer results", bufferResults);
if (bufferResults) {
bufferFeatureLayer.suspend();
if (!Array.isArray(bufferResults)) {
bufferResults = [bufferResults];
}
bufferResults.forEach(function (geometry) {
var graphic = new Graphic(geometry);
bufferFeatureLayer.add(graphic);
});
bufferFeatureLayer.resume();
}
buffer.clearGeometryList();
}, function (error) {
console.error("buffer error", error);
});
});
});
}); | 35 | 219 | 0.710794 |
fea4f65d87d9f62b5cae31eefdf79661ac0e7e67 | 2,701 | js | JavaScript | lib/ViewModels/createGlobalBaseMapOptions.js | kring/test | e8c46d64e225428265f91f0f9c06bb0bb482855c | [
"Apache-2.0"
] | null | null | null | lib/ViewModels/createGlobalBaseMapOptions.js | kring/test | e8c46d64e225428265f91f0f9c06bb0bb482855c | [
"Apache-2.0"
] | 19 | 2015-05-01T02:46:46.000Z | 2017-04-12T06:41:46.000Z | lib/ViewModels/createGlobalBaseMapOptions.js | kring/test | e8c46d64e225428265f91f0f9c06bb0bb482855c | [
"Apache-2.0"
] | null | null | null | 'use strict';
/*global require*/
var BaseMapViewModel = require('./BaseMapViewModel');
var BingMapsCatalogItem = require('../Models/BingMapsCatalogItem');
var WebMapServiceCatalogItem = require('../Models/WebMapServiceCatalogItem');
var BingMapsStyle = require('terriajs-cesium/Source/Scene/BingMapsStyle');
var createGlobalBaseMapOptions = function(terria, bingMapsKey) {
var result = [];
var bingMapsAerialWithLabels = new BingMapsCatalogItem(terria);
bingMapsAerialWithLabels.name = 'Bing Maps Aerial with Labels';
bingMapsAerialWithLabels.mapStyle = BingMapsStyle.AERIAL_WITH_LABELS;
bingMapsAerialWithLabels.opacity = 1.0;
bingMapsAerialWithLabels.key = bingMapsKey;
result.push(new BaseMapViewModel({
image: terria.baseUrl + 'images/bing-aerial-labels.png',
catalogItem: bingMapsAerialWithLabels
}));
var bingMapsAerial = new BingMapsCatalogItem(terria);
bingMapsAerial.name = 'Bing Maps Aerial';
bingMapsAerial.mapStyle = BingMapsStyle.AERIAL;
bingMapsAerial.opacity = 1.0;
bingMapsAerial.key = bingMapsKey;
result.push(new BaseMapViewModel({
image: terria.baseUrl + 'images/bing-aerial.png',
catalogItem: bingMapsAerial
}));
var bingMapsRoads = new BingMapsCatalogItem(terria);
bingMapsRoads.name = 'Bing Maps Roads';
bingMapsRoads.mapStyle = BingMapsStyle.ROAD;
bingMapsRoads.opacity = 1.0;
bingMapsRoads.key = bingMapsKey;
result.push(new BaseMapViewModel({
image: terria.baseUrl + 'images/bing-maps-roads.png',
catalogItem: bingMapsRoads
}));
var naturalEarthII = new WebMapServiceCatalogItem(terria);
naturalEarthII.name = 'Natural Earth II';
naturalEarthII.url = 'http://geoserver.nationalmap.nicta.com.au/imagery/natural-earth-ii/wms';
naturalEarthII.layers = 'natural-earth-ii:NE2_HR_LC_SR_W_DR';
naturalEarthII.parameters = {
tiled: true
};
naturalEarthII.opacity = 1.0;
result.push(new BaseMapViewModel({
image: terria.baseUrl + 'images/natural-earth.png',
catalogItem: naturalEarthII
}));
var blackMarble = new WebMapServiceCatalogItem(terria);
blackMarble.name = 'NASA Black Marble';
blackMarble.url = 'http://geoserver.nationalmap.nicta.com.au/imagery/nasa-black-marble/wms';
blackMarble.layers = 'nasa-black-marble:dnb_land_ocean_ice.2012.54000x27000_geo';
blackMarble.parameters = {
tiled: true
};
blackMarble.opacity = 1.0;
result.push(new BaseMapViewModel({
image: terria.baseUrl + 'images/black-marble.png',
catalogItem: blackMarble
}));
return result;
};
module.exports = createGlobalBaseMapOptions;
| 34.628205 | 98 | 0.716031 |
fea5130995300b8f04531895de3e336e65de1fc3 | 843 | js | JavaScript | config/routes.js | UDPT-2017/lab02-1412360-1412328 | 4be2d0f04a372a8f256ccb237aad463ccdf86e0e | [
"MIT"
] | null | null | null | config/routes.js | UDPT-2017/lab02-1412360-1412328 | 4be2d0f04a372a8f256ccb237aad463ccdf86e0e | [
"MIT"
] | null | null | null | config/routes.js | UDPT-2017/lab02-1412360-1412328 | 4be2d0f04a372a8f256ccb237aad463ccdf86e0e | [
"MIT"
] | null | null | null | var controllers = require('../app/controllers');
var Router = require('express').Router;
module.exports = function(app) {
var homeRoutes = Router()
.get('/', controllers.home.index);
var messageRoutes = Router()
.get('/', controllers.message.index);
var usersRoutes = Router()
.get('/register', controllers.users.loadRegister)
.get('/login', controllers.users.loadLogin)
.get('/', controllers.users.index)
.post('/login', controllers.users.login)
.post('/register', controllers.users.createAccount);
var aboutRoutes = Router()
.get('/', controllers.about.index)
.get('/minh.jpg', controllers.about.show);
app.use('/', homeRoutes);
app.use('/message', messageRoutes);
app.use('/users', usersRoutes);
app.use('/about', aboutRoutes);
};
| 31.222222 | 60 | 0.622776 |
fea6e063f4f32288867234bd957b411f3ffa2026 | 190 | js | JavaScript | examples/with-includes.parseInt.js | balupton/jison | 5c0f6fa990a91314c2f77c4636dde25dcd5c1e45 | [
"MIT"
] | 113 | 2015-06-25T01:55:53.000Z | 2022-03-25T06:35:07.000Z | examples/with-includes.parseInt.js | balupton/jison | 5c0f6fa990a91314c2f77c4636dde25dcd5c1e45 | [
"MIT"
] | 62 | 2016-07-07T21:21:23.000Z | 2022-03-22T17:28:38.000Z | examples/with-includes.parseInt.js | balupton/jison | 5c0f6fa990a91314c2f77c4636dde25dcd5c1e45 | [
"MIT"
] | 22 | 2015-08-17T02:05:49.000Z | 2021-11-16T07:10:51.000Z | // given the grammar rule
//
// | NAT
//
// any of the alternative codings below will work, while the last is advised:
$$ = parseInt(yytext);
$$ = parseInt($1);
$$ = parseInt($NAT);
| 19 | 77 | 0.610526 |