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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22892c530e01151f8141a53f3cda1386bd5bca58 | 653 | js | JavaScript | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 191 | 2015-01-22T16:22:22.000Z | 2022-01-12T18:50:07.000Z | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 286 | 2015-01-16T12:30:01.000Z | 2022-03-02T01:45:41.000Z | src/Merchello.Web.UI.Client/src/common/models/factories/detachedcontent/umbContentTypeDisplayBuilder.factory.js | raindigi/Merchello | 7116fefe5be4eb424d43afc6590cfa3077ade185 | [
"MIT"
] | 300 | 2015-01-07T15:32:27.000Z | 2022-02-08T12:31:44.000Z | /**
* @ngdoc service
* @name umbContentTypeDisplayBuilder
*
* @description
* A utility service that builds UmbContentTypeDisplay models
*/
angular.module('merchello.models').factory('umbContentTypeDisplayBuilder',
['genericModelBuilder', 'UmbContentTypeDisplay',
function(genericModelBuilder, UmbContentTypeDisplay) {
var Constructor = UmbContentTypeDisplay;
return {
createDefault: function() {
return new Constructor();
},
transform: function(jsonResult) {
return genericModelBuilder.transform(jsonResult, Constructor);
}
};
}]);
| 27.208333 | 78 | 0.646248 |
22899aa50d8c7aa481630df2e8f46f035e9a6e16 | 2,286 | js | JavaScript | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | 2 | 2021-08-19T01:12:03.000Z | 2021-12-14T07:16:37.000Z | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | null | null | null | common/utils/schedule/index.js | eliassama/ComSvr | 6bdb30c5ca4ab3fdd580b0adcd08323dde8826ef | [
"MIT"
] | null | null | null | const path = require("path");
const basicSchedule = require("./basicSchedule");
class Schedule{
constructor(){
this.serves = {};
this.basicPath = path.resolve("schedule");
}
/***
* @description 初始化定时任务
* @returns {boolean}
*/
async init(){
// 初始化定时任务路径
await filePath.recursionMkdir(this.basicPath);
// 收集定时任务并创建
let FileArray = await filePath.collectFile(this.basicPath, ["js"], "short");
for (let fileName of FileArray){
let serveFile = require(path.join(this.basicPath, fileName));
if ( typeof serveFile.serveFunc === "function" ){
let serveName = fileName.replace(".js", "");
let {serveFunc, timer, initRun} = serveFile;
let defaultConf = await config.get("schedule");
timer = timer || defaultConf;
await this.addServeFunc(serveName, serveFunc, timer, initRun);
}
}
}
/***
* @description 校验频次值
* @param {string} serveName 定时任务名称
* @param {function} serveFunc 定时任务方法
* @param {json} scheduleConf 定时配置信息
* @param {string} scheduleConf.timer 定时任务执行频率
* @param {string} scheduleConf.initRun 是否创建后立即执行
* @param {all} params 传给serveFunc的参数
*/
addServeFunc(serveName, serveFunc, {timer, initRun}, ...params){
if (this.serves[serveName]){
this.serves[serveName].clear();
logger.warn(`定时任务【${serveName}】已被覆盖`);
}
this.serves[serveName] = new basicSchedule();
this.serves[serveName].init(serveFunc, {timer, initRun}, ...params);
}
/***
* @description 清除任务
* @param {string} serveName 定时任务名称
*/
async clear(serveName){
if (this.serves[serveName]){
await this.serves[serveName].clear();
this.serves[serveName] = null;
delete this.serves[serveName];
}
}
/***
* @description 获取所有任务
* @returns {json}
*/
getAllServe(){
return this.serves;
}
/***
* @description 获取单个任务
* @returns {string} serveName 任务名称
* @returns {object}
*/
getServe(serveName){
return this.serves[serveName];
}
}
module.exports = new Schedule();
| 29.307692 | 84 | 0.566929 |
2289a4f8bcd4c652e76ff43508f9bc036c45776c | 1,509 | js | JavaScript | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 58 | 2017-08-11T15:31:02.000Z | 2021-12-11T07:04:20.000Z | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 312 | 2017-04-04T16:24:39.000Z | 2022-03-08T23:05:06.000Z | components/TrendPlot.stories.js | jojomango/rumors-site | 16da740397ed3484eb9e1fceca43168cc1ece044 | [
"MIT"
] | 40 | 2017-05-01T02:52:18.000Z | 2021-12-11T03:12:25.000Z | import React from 'react';
import { startOfDay, eachDayOfInterval, subDays } from 'date-fns';
import TrendPlot from './TrendPlot';
export default {
title: 'TrendPlot',
component: 'TrendPlot',
};
const stats = [
null,
null,
{ webVisit: '2969', lineVisit: '29' },
{ webVisit: '14865', lineVisit: '84' },
{ webVisit: '18923', lineVisit: '71' },
{ webVisit: '8213', lineVisit: '44' },
{ webVisit: '2981', lineVisit: '29' },
{ webVisit: '927', lineVisit: '24' },
{ webVisit: '366', lineVisit: '6' },
{ webVisit: '360', lineVisit: '6' },
{ webVisit: '434', lineVisit: '8' },
{ webVisit: '227', lineVisit: '13' },
{ webVisit: '78', lineVisit: '2' },
{ webVisit: '92', lineVisit: '2' },
{ webVisit: '50', lineVisit: '2' },
{ webVisit: '50' },
{ webVisit: '42' },
{ webVisit: '55' },
{ webVisit: '45' },
{ webVisit: '36' },
{ webVisit: '36' },
{ webVisit: '18' },
{ webVisit: '18', lineVisit: '2' },
{ webVisit: '19' },
{ webVisit: '19' },
null,
{ webVisit: '2' },
{ webVisit: '6' },
{ webVisit: '3' },
{ webVisit: '6' },
];
const populateData = () => {
let data = [];
const today = startOfDay(new Date());
eachDayOfInterval({
start: subDays(today, 29),
end: subDays(today, 1),
}).forEach((date, i) => {
if (stats[i])
data.push({ ...stats[i], date: date.toISOString().substr(0, 10) });
});
return data;
};
export const Normal = () => (
<div style={{ width: '100%' }}>
<TrendPlot data={populateData()} />
</div>
);
| 25.576271 | 73 | 0.551359 |
2289ca1152f491e967e6fe1403adc285256b1d8f | 757 | js | JavaScript | frontend/webpack.config.dev.js | N140233/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | null | null | null | frontend/webpack.config.dev.js | N140233/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | 4 | 2021-10-06T19:32:47.000Z | 2022-02-27T03:30:44.000Z | frontend/webpack.config.dev.js | sprakas/fb | ab1e8d898226cc72d386d6c4d72e3f096dba9839 | [
"MIT"
] | 1 | 2020-08-14T20:22:56.000Z | 2020-08-14T20:22:56.000Z | const path = require('path');
const common = require('./webpack.common.js');
var webpack = require('webpack');
const merge = require('webpack-merge');
module.exports = merge(common,{
mode: 'development',
watch: true,
devtool: 'source-map',
devServer: {
contentBase: path.join(__dirname, 'public'),
historyApiFallback: true,
hot: true,
https: false,
noInfo: false,
port: 3000,
host: 'localhost',
disableHostCheck: true,
open: true,
watchOptions: {
aggregateTimeout: 300,
poll: 1000,
ignored: "/node_modules/"
}
},
plugins: [
new webpack.DefinePlugin({
__DEV__: true,
'process.env': {
'NODE_ENV': JSON.stringify('development')
}
})
]
}) | 22.939394 | 53 | 0.597094 |
228d0245016febf1338a98bee2325825f1df139e | 3,777 | js | JavaScript | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | 3 | 2020-09-29T02:56:58.000Z | 2020-10-07T22:32:34.000Z | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | 2 | 2022-01-11T19:33:08.000Z | 2022-01-11T19:33:11.000Z | test/mocha/object.js | tanhauhau/terser | 4e3ca5db15d806bee66dc87877700b4f5b36310e | [
"BSD-2-Clause"
] | null | null | null | import assert from "assert";
import { minify } from "../../main.js";
import { parse } from "../../lib/parse.js";
describe("Object", function() {
it("Should allow objects to have a methodDefinition as property", async function() {
var code = "var a = {test() {return true;}}";
assert.equal((await minify(code, {
compress: {
arrows: false
}
})).code, "var a={test(){return!0}};");
});
it("Should not allow objects to use static keywords like in classes", async function() {
var code = "{static test() {}}";
assert.throws(() => parse(code));
});
it("Should not allow objects to have static computed properties like in classes", async function() {
var code = "var foo = {static [123](){}}";
assert.throws(() => parse(code));
});
it("Should not accept operator tokens as property/getter/setter name", async function() {
var illegalOperators = [
"++",
"--",
"+",
"-",
"!",
"~",
"&",
"|",
"^",
"*",
"/",
"%",
">>",
"<<",
">>>",
"<",
">",
"<=",
">=",
"==",
"===",
"!=",
"!==",
"?",
"=",
"+=",
"-=",
"/=",
"*=",
"%=",
">>=",
"<<=",
">>>=",
"|=",
"^=",
"&=",
"&&",
"||"
];
var generator = function() {
var results = [];
for (var i in illegalOperators) {
results.push({
code: "var obj = { get " + illegalOperators[i] + "() { return test; }};",
operator: illegalOperators[i],
method: "get"
});
results.push({
code: "var obj = { set " + illegalOperators[i] + "(value) { test = value}};",
operator: illegalOperators[i],
method: "set"
});
results.push({
code: "var obj = { " + illegalOperators[i] + ': "123"};',
operator: illegalOperators[i],
method: "key"
});
results.push({
code: "var obj = { " + illegalOperators[i] + "(){ return test; }};",
operator: illegalOperators[i],
method: "method"
});
}
return results;
};
var fail = function(data) {
return function (e) {
return (
e.message === "Unexpected token: operator (" + data.operator + ")" ||
(e.message === "Unterminated regular expression" && data.operator[0] === "/") ||
(e.message === "Unexpected token: punc (()" && data.operator === "*")
);
};
};
var errorMessage = function(data) {
return "Expected but didn't get a syntax error while parsing following line:\n" + data.code;
};
var tests = generator();
for (var i = 0; i < tests.length; i++) {
var test = tests[i];
assert.throws(() => parse(test.code), fail(test), errorMessage(test));
}
});
it("Should be able to use shorthand properties", async function() {
var ast = parse("var foo = 123\nvar obj = {foo: foo}");
assert.strictEqual(ast.print_to_string({ecma: 2015}), "var foo=123;var obj={foo};");
})
});
| 31.475 | 104 | 0.391845 |
228dfd211dcdf5eac7a4073550b951b6287af821 | 3,264 | js | JavaScript | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | 1 | 2022-01-03T09:45:14.000Z | 2022-01-03T09:45:14.000Z | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | null | null | null | easytok/src/icons/Logo.js | junioridi/portfolio | f2ec28a0ab2a6d547385da07fa4679febbffb8e4 | [
"MIT"
] | null | null | null | import * as React from "react"
import Svg, { Circle, Path, G } from "react-native-svg"
function LogoBak(props) {
return (
<Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>
<Circle cx={256} cy={256} r={256} fill="#268596" />
<Path
d="M272.372 511.464C406.126 503.018 512 391.883 512 256c0-1.234-.029-2.463-.047-3.694l-118.93-118.931-81.282 147.334 7.758 7.758-185.016 85.107 137.889 137.89z"
fill="#0a1d4b"
/>
<Path
d="M148.773 380.887h214.454c9.754 0 17.66-7.908 17.66-17.66V179.995c0-9.754-7.908-17.66-17.66-17.66H148.773c-9.754 0-17.66 7.908-17.66 17.66v183.232c-.001 9.754 7.906 17.66 17.66 17.66z"
fill="#fee187"
/>
<Path
d="M363.227 162.335H254.852v218.553h108.375c9.754 0 17.661-7.908 17.661-17.661V179.995c-.001-9.754-7.907-17.66-17.661-17.66z"
fill="#ffae1b"
/>
<Path
d="M386.801 193.557H125.199c-5.356 0-9.697-4.343-9.697-9.697v-43.05c0-5.356 4.343-9.697 9.697-9.697h261.603c5.356 0 9.697 4.343 9.697 9.697v43.049c-.001 5.355-4.343 9.698-9.698 9.698z"
fill="#ffc61b"
/>
<Path
d="M386.801 131.113H254.852v62.443h131.949a9.696 9.696 0 009.697-9.697V140.81c0-5.356-4.342-9.697-9.697-9.697z"
fill="#e06b12"
/>
<Path
d="M283.91 256h-55.82c-8.621 0-15.612-6.989-15.612-15.612 0-8.621 6.989-15.612 15.612-15.612h55.82c8.621 0 15.612 6.989 15.612 15.612 0 8.623-6.991 15.612-15.612 15.612z"
fill="#ffc61b"
/>
<Path
d="M283.91 224.778h-29.06V256h29.06c8.621 0 15.612-6.989 15.612-15.612 0-8.621-6.991-15.61-15.612-15.61z"
fill="#e06b12"
/>
</Svg>
)
}
function Logo(props) {
return (
<Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>
<Circle cx={256} cy={256} r={256} fill="#ffb8ff" />
<Path
d="M276.372 517.464C410.126 509.018 516 397.883 516 262c0-1.234-.029-2.463-.047-3.694l-118.93-118.931-81.282 147.334 7.758 7.758-185.016 85.107z"
fill="#0a1d4b"
/>
<Path
d="M148.773 380.887h214.454c9.754 0 17.66-7.908 17.66-17.66V179.995c0-9.754-7.908-17.66-17.66-17.66H148.773c-9.754 0-17.66 7.908-17.66 17.66v183.232c-.001 9.754 7.906 17.66 17.66 17.66z"
fill="#faa"
/>
<G fill="#f0f">
<Path d="M363.227 162.335H254.852v218.553h108.375c9.754 0 17.661-7.908 17.661-17.661V179.995c-.001-9.754-7.907-17.66-17.661-17.66z" />
<Path d="M386.801 193.557H125.199c-5.356 0-9.697-4.343-9.697-9.697v-43.05c0-5.356 4.343-9.697 9.697-9.697h261.603c5.356 0 9.697 4.343 9.697 9.697v43.049c-.001 5.355-4.343 9.698-9.698 9.698z" />
</G>
<Path
d="M386.801 131.113H254.852v62.443h131.949a9.696 9.696 0 009.697-9.697V140.81c0-5.356-4.342-9.697-9.697-9.697z"
fill="purple"
/>
<Path
d="M283.91 256h-55.82c-8.621 0-15.612-6.989-15.612-15.612 0-8.621 6.989-15.612 15.612-15.612h55.82c8.621 0 15.612 6.989 15.612 15.612 0 8.623-6.991 15.612-15.612 15.612z"
fill="#ff8080"
/>
<Path
d="M283.91 224.778h-29.06V256h29.06c8.621 0 15.612-6.989 15.612-15.612 0-8.621-6.991-15.61-15.612-15.61z"
fill="purple"
/>
</Svg>
)
}
export default Logo
| 44.108108 | 201 | 0.598958 |
228f97082f4029622553bc470b5b6f594db19d46 | 583 | js | JavaScript | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-yucca-concert | 59f829448d9401a06b7b2028f4a410d66ee34fe1 | [
"Apache-2.0"
] | 1 | 2020-09-05T14:40:57.000Z | 2020-09-05T14:40:57.000Z | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-react | 27df737a1017e4f91515ba4b096c8d5b2a0f495a | [
"Apache-2.0"
] | 5 | 2021-12-16T09:40:03.000Z | 2022-03-10T13:32:19.000Z | docs/backups/buy-odd-yucca-gui/src/js/shop.js | jesperancinha/buy-odd-yucca-concert | 59f829448d9401a06b7b2028f4a410d66ee34fe1 | [
"Apache-2.0"
] | null | null | null | import React from 'react';
import ReactDom from 'react-dom';
import ShopButtons from './components/ShopButtons';
import ProductComponent from './components/ProductComponent';
import Shop from './components/Shop';
import '../css/main.shop.styles.css';
const shopapp = document.getElementById('shop-app');
const shopbuttons = document.getElementById('shop-buttons');
const productdescription = document.getElementById('product-description');
ReactDom.render(<Shop/>, shopapp);
ReactDom.render(<ShopButtons/>, shopbuttons);
ReactDom.render(<ProductComponent/>, productdescription);
| 34.294118 | 74 | 0.782161 |
228fe0ae8aed6e766f9665fa2632846c18a90fef | 1,238 | js | JavaScript | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | middleware/validation/smsValidator.js | megame24/sms_management | 264c4273a228786bb04c428ad264b21599ae9596 | [
"MIT"
] | null | null | null | const { Contact } = require('../../database/models');
const { throwError } = require('../../helpers/errorHelper');
/**
* SmsValidator constructor
* @returns {undefined}
*/
function SmsValidator() {}
/**
* Validate sending sms
* @param {Object} req request object
* @param {Object} res response object
* @param {Function} next next function in the
* middleware chain
* @returns {Function} next
*/
SmsValidator.prototype.validateSend = async (req, res, next) => {
let { message, recipientNumber } = req.body;
const { contact: { id } } = req;
message = message && message.trim() ? message.trim() : null;
recipientNumber = recipientNumber && recipientNumber.trim() ? recipientNumber.trim() : null;
try {
if (!message) throwError('The message field is required', 400);
if (!recipientNumber) throwError('The recipientNumber field is required', 400);
const recipient = await Contact.findOne({ where: { phoneNumber: recipientNumber } });
if (!recipient || recipient.id === id) throwError('Recipient not found', 400);
req.body.recipient = recipient;
req.body = { ...req.body, message, recipientNumber };
return next();
} catch (err) {
next(err);
}
};
module.exports = new SmsValidator();
| 33.459459 | 94 | 0.668013 |
2290675bbfbc13d9014ba67decb36c6585baa54b | 2,019 | js | JavaScript | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | null | null | null | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | 2 | 2019-06-22T04:56:56.000Z | 2019-06-23T02:34:22.000Z | src/components/customers/ducks/operations.js | owlvey/owlvey_ui | b6d586422729ccac548c1e7f15273b4eb4009e84 | [
"Apache-2.0"
] | null | null | null | import request from "helper/request";
import { entityActions } from "ducks";
const getCustomers = () => {
return (dispatch, getState) => {
const { apiUrl } = getState().conf;
dispatch(entityActions.getCollectionStart("customer"));
return request
.get(`${apiUrl}/customers`)
.then(customers => {
dispatch(entityActions.addCollection("customer", customers));
dispatch(entityActions.getColletionSuccess("customer"));
return customers;
})
.catch(error => {
dispatch(entityActions.getCollectionError("customer", error.message));
throw error;
});
};
};
const addCustomer = customer => {
return (dispatch, getState) => {
const { apiUrl } = getState().conf;
return request.post(`${apiUrl}/customers`, customer).then(customerAdded => {
dispatch(entityActions.addCollection("customer", [customerAdded]));
return customerAdded;
});
};
};
const editCustomer = customer => {
return (dispatch, getState) => {
const { apiUrl } = getState().conf;
return request
.put(`${apiUrl}/customers/${customer.customerId}`, {
name: customer.name,
avatar: customer.avatar
})
.then(editedCustomer => {
let customertRd = {
...getState().entity["customer"][customer.customerId],
name: customer.name,
avatar: customer.avatar
};
dispatch(
entityActions.updateEntity(
"customer",
customertRd,
customer.customerId
)
);
return editedCustomer;
});
};
};
const deleteCustomer = customerId => {
return (dispatch, getState) => {
const { apiUrl } = getState().conf;
return request
.delete(`${apiUrl}/customers/${customerId}`)
.then(customerDeleted => {
dispatch(entityActions.removeEntity("customer", customerId));
return customerDeleted;
});
};
};
export { addCustomer, editCustomer, deleteCustomer, getCustomers };
| 28.43662 | 80 | 0.604755 |
229316e711dc72b43ff670d59603ee98c73ef946 | 392 | js | JavaScript | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | app/actions/index.js | syoun0620/Hangman-for-Education | bf7ba2e07a6480e1cdf8a1013f7a3e30b2383591 | [
"MIT"
] | null | null | null | // Action Creators
export function serveBadGuess(inputLetter) {
return {
type: 'BAD_GUESS',
letter: inputLetter
};
}
export function serveGoodGuess(inputLetter) {
return {
type: 'GOOD_GUESS',
letter: inputLetter
};
}
export function serveNewGame(inputLanguage) {
return {
type: 'NEW_GAME',
language: inputLanguage
};
}
| 18.666667 | 45 | 0.617347 |
2293449f809cf2d673b8d8d7258d30b1a1329245 | 1,679 | js | JavaScript | test/topology.js | mikolalysenko/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 79 | 2015-10-18T09:45:58.000Z | 2022-03-01T05:15:49.000Z | test/topology.js | Erkaman/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 2 | 2016-10-14T18:40:19.000Z | 2016-10-14T20:58:18.000Z | test/topology.js | Erkaman/refine-mesh | 683433b66a71524645597080c559e9221fab73dd | [
"MIT"
] | 14 | 2015-10-20T15:34:11.000Z | 2022-03-24T09:38:20.000Z | 'use strict'
var tape = require('tape')
var indexTopology = require('../lib/topology')
tape('topology', function(t) {
var cells = [
0, 1, 2,
1, 2, 3,
2, 3, 4,
1, 0, 5,
0, 2, 6
]
var valence = new Array(7)
var corners = new Array(cells.length)
indexTopology(5, cells, corners, 7, valence)
/*
console.log(cells)
console.log(valence)
console.log(corners)
*/
t.end()
})
var bunny = require('bunny')
var createMesh = require('../lib/mesh')
tape('bunny-topology', function(t) {
var bmesh = createMesh(bunny.cells, bunny.positions)
var corners = new Array(bmesh.numCells*3)
var valence = new Array(bmesh.numVerts)
indexTopology(bmesh.numCells, bmesh.cells, corners, bmesh.numVerts, valence)
var computedValence = new Int32Array(bmesh.numVerts)
for(var i=0; i<bmesh.numCells; ++i) {
for(var j=0; j<3; ++j) {
computedValence[bmesh.cells[3*i+j]] += 1
continue
var op = corners[3*i+j]
t.ok(op >= 0, 'bunny is manifold')
if(op < 0) {
continue
}
var oi = op>>2
var oj = op&3
var opop = corners[3*oi+oj]
t.equals(opop>>2, i, 'opposite link ok')
t.equals(opop&3, j, 'opposite index ok')
var ob = bmesh.cells[3*oi+((oj+1)%3)]
var oc = bmesh.cells[3*oi+((oj+2)%3)]
var fb = bmesh.cells[3* i+(( j+1)%3)]
var fc = bmesh.cells[3* i+(( j+2)%3)]
t.equals(Math.min(ob, oc), Math.min(fb, fc), 'edge ok')
t.equals(Math.max(ob, oc), Math.max(fb, fc), 'edge ok')
}
}
for(var i=0; i<bmesh.numVerts; ++i) {
t.equals(valence[i], computedValence[i]-1, 'valence of vertex ' + i + ' consistent')
}
t.end()
})
| 21.525641 | 88 | 0.580107 |
2293d0262e3eede9ec6b38f5ad24cbefc7b98d37 | 636 | js | JavaScript | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | modules/insights/server/routes/insights.server.routes.js | sarvesh123/04082015 | 562394ae5d90f5685515cc920158f405de4f6296 | [
"MIT"
] | null | null | null | 'use strict';
/**
* Module dependencies.
*/
var insightsPolicy = require('../policies/insights.server.policy'),
insights = require('../controllers/insights.server.controller');
module.exports = function (app) {
// Insights collection routes
app.route('/api/insights').all(insightsPolicy.isAllowed)
.get(insights.list)
.post(insights.create);
// Single insight routes
app.route('/api/insights/:insightId').all(insightsPolicy.isAllowed)
.get(insights.read)
.put(insights.update)
.delete(insights.delete);
// Finish by binding the insight middleware
app.param('insightId', insights.insightByID);
};
| 26.5 | 69 | 0.709119 |
2293e2d6aeb88adef2db758dbde0128c937957d0 | 1,790 | js | JavaScript | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | null | null | null | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | 5 | 2021-05-27T13:30:33.000Z | 2022-02-27T14:41:42.000Z | src/components/icons/redux.js | DanPete/portfolio | a06b0e2b89d4a2967017828fe7badc9f0acc013b | [
"MIT"
] | null | null | null | import React from 'react';
const IconRedux = () => (
// <!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
<title>redux</title>
<path fill="#764abc" d="M22.177 22.005c1.159-0.1 2.057-1.12 1.999-2.339-0.061-1.219-1.060-2.197-2.277-2.197h-0.081c-1.257 0.041-2.237 1.099-2.197 2.359 0.040 0.639 0.301 1.159 0.659 1.537-1.397 2.717-3.495 4.715-6.672 6.393-2.137 1.117-4.395 1.539-6.592 1.239-1.837-0.259-3.275-1.080-4.155-2.397-1.317-1.999-1.437-4.155-0.34-6.312 0.801-1.559 1.999-2.697 2.799-3.257-0.2-0.519-0.44-1.397-0.56-2.056-5.915 4.236-5.313 10.028-3.516 12.765 1.339 1.997 4.076 3.275 7.072 3.275 0.799 0 1.639-0.059 2.457-0.259 5.195-0.999 9.129-4.115 11.387-8.709zM29.308 17.011c-3.095-3.636-7.651-5.633-12.845-5.633h-0.68c-0.337-0.739-1.116-1.199-1.996-1.199h-0.060c-1.257 0-2.237 1.080-2.196 2.337 0.040 1.197 1.059 2.197 2.277 2.197h0.099c0.9-0.040 1.679-0.6 1.997-1.399h0.74c3.079 0 5.993 0.899 8.651 2.656 2.036 1.339 3.496 3.096 4.315 5.195 0.717 1.717 0.679 3.396-0.060 4.796-1.139 2.196-3.057 3.356-5.593 3.356-1.599 0-3.156-0.5-3.956-0.859-0.479 0.397-1.279 1.057-1.859 1.457 1.757 0.797 3.536 1.257 5.253 1.257 3.896 0 6.791-2.196 7.891-4.315 1.197-2.397 1.099-6.432-1.959-9.888zM8.653 22.723c0.039 1.199 1.057 2.197 2.277 2.197h0.080c1.279-0.040 2.257-1.097 2.197-2.357 0-1.199-1.039-2.196-2.257-2.196h-0.081c-0.080 0-0.199 0-0.3 0.039-1.657-2.797-2.357-5.795-2.096-9.028 0.159-2.437 0.959-4.556 2.396-6.313 1.199-1.499 3.456-2.239 4.995-2.277 4.315-0.081 6.113 5.295 6.252 7.432l1.997 0.599c-0.46-6.552-4.533-9.989-8.429-9.989-3.656 0-7.031 2.657-8.391 6.553-1.857 5.195-0.639 10.188 1.639 14.184-0.199 0.26-0.319 0.719-0.279 1.157z"></path>
</svg>
);
export default IconRedux; | 149.166667 | 1,533 | 0.66257 |
22942ca87e475b6a6232c419efcbfc046dbcad9b | 683 | js | JavaScript | src/components/lists/EnterItem.js | ibalaji777/togle | 40e68a40ecdd5b9dec99dbed0865612fb0e2fce8 | [
"Unlicense",
"MIT"
] | null | null | null | src/components/lists/EnterItem.js | ibalaji777/togle | 40e68a40ecdd5b9dec99dbed0865612fb0e2fce8 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-08T23:37:33.000Z | 2022-03-15T20:20:44.000Z | src/components/lists/EnterItem.js | ibalaji777/iot-thinger-io | 992dc87d6919499599022315b81e80a244766c30 | [
"Unlicense",
"MIT"
] | null | null | null | //@flow
import React from "react";
import ItemList from "./ItemList";
import Icon from "react-native-vector-icons/FontAwesome";
import { FONT_SIZE_P } from "../../constants/ThingerStyles";
import { DARK_BLUE } from "../../constants/ThingerColors";
type Props = {
name: string,
onPress: () => any
};
export default class EnterItem extends React.Component<Props> {
render() {
return (
<ItemList
name={this.props.name}
value={
<Icon
name="arrow-right"
size={FONT_SIZE_P}
style={{ color: DARK_BLUE, alignSelf: "flex-end" }}
/>
}
onPress={this.props.onPress}
/>
);
}
}
| 22.032258 | 63 | 0.579795 |
2294c3019fb2dcda049fb9454dd8982ba33d11c6 | 1,600 | js | JavaScript | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | app/modules/processes/designer/designer.filter.js | SmartEnergyPlatform/web-ui | 8f95cfcf5746fb1dabc1fb6691b33fcf78cabf9d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 InfAI (CC SES)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function () {
'use strict';
angular.module('app.processes.designer').filter('shortSeplOutputVarName', function(){
return function(outputname)
{
if(outputname == null){ return ""; }
return outputname.substring("${result.outputs.".length, outputname.length-1);
};
});
angular.module('app.processes.designer').filter('shortSeplInputVarName', function(){
return function(input)
{
if(input == null){ return ""; }
return input.substring("inputs.".length);
};
});
angular.module('app.processes.designer').filter('shortSeplInputVarValue', function(){
return function(input)
{
if(input == null){
return "";
}
if(input.substring(0,"${".length) != "${"){
return input;
}
return input.substring("${".length, input.length-1);
};
});
})();
| 32 | 89 | 0.590625 |
22954847d2e9fb2fa3f5f4cad11a1497fa615036 | 540 | js | JavaScript | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | lpichler/sources-ui | b83c33f91dc9533aff973dcac1fa578282a067f6 | [
"Apache-2.0"
] | 1 | 2022-03-29T11:00:32.000Z | 2022-03-29T11:00:32.000Z | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | lpichler/sources-ui | b83c33f91dc9533aff973dcac1fa578282a067f6 | [
"Apache-2.0"
] | 517 | 2019-11-18T11:28:45.000Z | 2022-03-29T10:09:56.000Z | src/test/addSourceWizard/addSourceWizard/sslFormLabel.test.js | Hyperkid123/sources-ui | 15d9512416fea66c169330cb6c9f029c515f92bf | [
"Apache-2.0"
] | 22 | 2019-11-17T15:23:35.000Z | 2022-03-24T15:22:31.000Z | import React from 'react';
import { Popover } from '@patternfly/react-core';
import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
import SSLFormLabel from '../../../components/addSourceWizard/SSLFormLabel';
import mount from '../__mocks__/mount';
describe('SSLFormLabel', () => {
it('renders loading step correctly', () => {
const wrapper = mount(<SSLFormLabel />);
expect(wrapper.find(Popover)).toHaveLength(1);
expect(wrapper.find(QuestionCircleIcon)).toHaveLength(1);
});
});
| 31.764706 | 93 | 0.712963 |
2296562c5b3d8ad273ee694b68dc526f21e1b2ee | 723 | js | JavaScript | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 1 | 2021-11-30T06:05:40.000Z | 2021-11-30T06:05:40.000Z | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 61 | 2020-07-01T22:39:27.000Z | 2022-02-08T17:34:52.000Z | docs/html/struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.js | interaction-lab/MoveToCode | 6649f0adbe0f4cf280052616f3d98c9ca9ba9f94 | [
"MIT"
] | 1 | 2020-07-01T20:56:03.000Z | 2020-07-01T20:56:03.000Z | var struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t =
[
[ "w", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.html#adff5dd698894f1ed5998e737a58c8a09", null ],
[ "x", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.html#a829cdd7fb7a10f8ad116f77f4247ee99", null ],
[ "y", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.html#abf63fa1e5b865da5d7bdec0b078e5fdd", null ],
[ "z", "struct_microsoft_1_1_mixed_reality_1_1_toolkit_1_1_open_v_r_1_1_headers_1_1_hmd_quaternion__t.html#aff71e4be9462b4c8ffe019b07cb065d4", null ]
]; | 103.285714 | 154 | 0.879668 |
22983cadbb48ba60ea0ef289450be718f974d73d | 1,684 | js | JavaScript | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | utils/dateFormat.js | TheBryan-Acosta/Social-Network | ed85e7ac4291f2446ffc19b520cd5a6d05fff321 | [
"Unlicense"
] | null | null | null | const addDateSuffix = (date) => {
let dateString = date.toString();
const endCharacter = dateString.charAt(dateString.length - 1);
if (endCharacter === "1" && dateString !== "11") {
dateString = `${dateString}st`;
} else if (endCharacter === "2" && dateString !== "12") {
dateString = `${dateString}nd`;
} else if (endCharacter === "3" && dateString !== "13") {
dateString = `${dateString}rd`;
} else {
dateString = `${dateString}th`;
}
return dateString;
};
module.exports = (
timestamp,
{ monthLength = "short", dateSuffix = true } = {}
) => {
let months;
if (monthLength === "short") {
months = {
0: "Jan",
1: "Feb",
2: "Mar",
3: "Apr",
4: "May",
5: "Jun",
6: "Jul",
7: "Aug",
8: "Sep",
9: "Oct",
10: "Nov",
11: "Dec",
};
} else {
months = {
0: "January",
1: "February",
2: "March",
3: "April",
4: "May",
5: "June",
6: "July",
7: "August",
8: "September",
9: "October",
10: "November",
11: "December",
};
}
const dateItem = new Date(timestamp);
const month = months[dateItem.getMonth()];
let day;
if (dateSuffix) {
day = addDateSuffix(dateItem.getDate());
} else {
day = dateItem.getDate();
}
const year = dateItem.getFullYear();
let hour;
if (dateItem.getHours > 12) {
hour = Math.floor(dateItem.getHours() / 2);
} else {
hour = dateItem.getHours();
}
if (hour === 0) {
hour = 12;
}
const minutes = dateItem.getMinutes();
let periodOfDay;
if (dateItem.getHours() >= 12) {
periodOfDay = "pm";
} else {
periodOfDay = "am";
}
const timeStamp = `${month} ${day}, ${year} at ${hour}:${minutes} ${periodOfDay}`;
return timeStamp;
};
| 17.541667 | 83 | 0.558195 |
22993f27d1b839806240e638df997a76fdea039d | 45,203 | js | JavaScript | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | null | null | null | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | null | null | null | PROJEKTEK/Arveresek/dist/js/teszt.js | gaborsarkozi/Admin---Teszt- | 58bacbac1e4f2ca1c744580bef00bf1ec9c9b24e | [
"MIT"
] | 1 | 2021-09-12T17:49:21.000Z | 2021-09-12T17:49:21.000Z | function runSAPSearch(qob, target) {
target.html("");
$.getJSON("json_getSerachResults", qob, function(data) {
page = data[0];
$(page).appendTo(target);
})
.fail(function() {
$('#overlay').fadeOut();
$("#searchresults").html( "Hiba történt az adatok lekérdezése közben" );
});
}
function getSearchDict(termekekNG){
var qstr = {};
qstr['meta_type'] = "BearingCsapagy";
qstr['logsearch'] = "on";
qstr['submit'] = "Keresés";
qstr['termekekNG'] = termekekNG;
return qstr;
}
function gotoPage(e, pagenr) {
e = e || window.event;
e.preventDefault();
var termekekNG = $(e.target).closest('.modal-dialog').find(".productnamefield").val();
if (termekekNG) {
var qstr = getSearchDict(termekekNG);
qstr['b_start:int'] = pagenr;
var target = $(e.target).closest(".modal-dialog").find(".searchcontent");
runSAPSearch(qstr, target);
}
}
function refreshAjanlatList() {
$.get("getAjanlatList_py", {}, function(data){
$("#ajanlatTableWrapper").html(data);
setTimeout(function () {
initAjanlatListeners();
}, 1000);
}).fail(function() {
alert( "error" );
});
}
function initJelolesBtnListener() {
$(".jelolesbtn").off("click").on("click", function(e){
var jeloleselement = $(this).closest("div").find(".jeloleselement");
if (jeloleselement.val()) {
$('<div class="entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy jelölést" /> <span class="input-group-btn"> <button class="btn btn-success btn-add ml-2 jelolesbtn" type="button"> <span class="icon-plus"></span> </button> </span></div>').appendTo($(this).closest("div").closest("div"));
$(this).hide();
initJelolesBtnListener();
}
});
}
function initUtojelBtnListener() {
$(".utojelbtn").off("click").on("click", function(e){
var jeloleselement = $(this).closest("div").find(".jeloleselement");
if (jeloleselement.val()) {
$('<div class="entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy utójelet" /> <span class="input-group-btn"> <button class="btn btn-success btn-add ml-2 utojelbtn" type="button"> <span class="icon-plus"></span> </button> </span></div>').appendTo($(this).closest("div").closest("div"));
$(this).hide();
initUtojelBtnListener();
}
});
}
function initDicountListeners(target) {
/* Discount calculator - HUF */
const discountInputElements = target.getElementsByClassName('discountInput');
const discountedPriceInput = target.getElementsByClassName("discountedPrice");
for (var i = 0; i < discountInputElements.length; i++) {
discountInputElements[i].addEventListener("keyup", function () {
var discountedPriceInput = this.parentNode.parentNode.parentNode.children[3].children[0].children[0];
var currentPriceInput = this.parentNode.parentNode.parentNode.children[1].children[0].children[0];
var numVal1 = Number(currentPriceInput.value);
var numVal2 = Number(this.value) / 100;
var totalValue = numVal1 - (numVal1 * numVal2)
discountedPriceInput.value = totalValue.toFixed(2);
});
}
for (var i = 0; i < discountedPriceInput.length; i++) {
discountedPriceInput[i].addEventListener("keyup", function () {
var discountInputElements = this.parentNode.parentNode.parentNode.children[2].children[0].children[0];
var currentPriceInput = this.parentNode.parentNode.parentNode.children[1].children[0].children[0];
var num1 = Number(currentPriceInput.value);
var num2 = Number(this.value);
discountInputElements.value = Math.abs(((num2 * 100) / num1) - 100).toFixed(1);
});
}
/* Discount calculator - EUR */
const discountInputElementsEUR = target.getElementsByClassName('discountInputEUR');
const discountedPriceInputEUR = target.getElementsByClassName("discountedPriceEUR");
for (var i = 0; i < discountInputElementsEUR.length; i++) {
discountInputElementsEUR[i].addEventListener("keyup", function () {
var discountedPriceInputEUR = this.parentNode.parentNode.parentNode.children[7].children[0].children[0];
var currentPriceInputEUR = this.parentNode.parentNode.parentNode.children[5].children[0].children[0];
var numVal1 = Number(currentPriceInputEUR.value);
var numVal2 = Number(this.value) / 100;
var totalValue = numVal1 - (numVal1 * numVal2)
discountedPriceInputEUR.value = totalValue.toFixed(2);
});
}
for (var i = 0; i < discountedPriceInputEUR.length; i++) {
discountedPriceInputEUR[i].addEventListener("keyup", function () {
var discountInputElementsEUR = this.parentNode.parentNode.parentNode.children[6].children[0].children[0];
var currentPriceInputEUR = this.parentNode.parentNode.parentNode.children[5].children[0].children[0];
var num1 = Number(currentPriceInputEUR.value);
var num2 = Number(this.value);
discountInputElementsEUR.value = Math.abs(((num2 * 100) / num1) - 100).toFixed(1);
});
}
}
function initCikkszamBtnListener() {
$(".cikkszambtn").off("click").on("click", function(e){
var jeloleselement = $(this).closest("div").find(".jeloleselement");
if (jeloleselement.val()) {
var target = $(this).closest("div.controls03");
if (target.length == 0)
target = $(this).closest("div.edit-controls03");
/* $('<div class="entry03 input-group mb-2"> <div class="col-5 p-0"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát"> </div> <div class="col-2"> <input class="form-control" name="fields[]" type="text" placeholder="%"> </div> <span class="input-group-btn"> <button class="btn btn-success btn-add ml-2 cikkszambtn" type="button"> <span class="icon-plus"></span> </button> </span> <div class="input-group-append ml-md-2"> <button class="btn btn-primary daterange-btn icon-left btn-icon keresesCikkszamAlapjanBtn" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés név alapján</button> </div></div>').appendTo(target); */
var newStructure = $('<div class="entry03 input-group mb-2"> <div class="col-3 p-0 mb-3"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát" > </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control currentPrice" type="text" readonly value=""> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountInput" type="text" max="100" value=""> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountedPrice" name="fields[]" type="text" placeholder="Ár" value=""> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="input-group-append ml-md-2 keresesCikkszamAlapjanBtn"> <button class="btn btn-primary daterange-btn icon-left btn-icon h-75" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés</button> </div> <div class="offset-3 col-2 mb-5"> <div class="input-group"> <input class="form-control currentPriceEUR" type="text" readonly value=""> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountInputEUR" type="text" max="100" value=""> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountedPriceEUR" name="fields[]" type="text" placeholder="Ár" value=""> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <span class="input-group-btn mb-5"> <button class="btn btn-success btn-add ml-2 cikkszambtn" type="button"> <span class="icon-plus"></span> </button> </span> </div>');
newStructure.appendTo(target);
$(this).hide();
initCikkszamBtnListener();
initkeresesCikkszamAlapjanBtnListener();
initkeresesCikkszamAlapjanEditBtnListener();
initDicountListeners(target[0]);
}
});
}
function initkeresesCikkszamAlapjanBtnListener() {
$(".keresesCikkszamAlapjanBtn").off("click").on("click", function(e) {
var inputField = $(this).closest('div.entry03.input-group.mb-2').find('input.jeloleselement');
if (!inputField.attr("id"))
inputField.attr("id", uuidv4());
$("#targetIdField").val(inputField.attr("id"));
});
};
function initkeresesCikkszamAlapjanEditBtnListener() {
$(".keresesCikkszamAlapjanBtnEdit").off("click").on("click", function(e) {
var inputField = $(this).closest('div.entry03.input-group.mb-2').find('input.jeloleselement');
if (!inputField.attr("id"))
inputField.attr("id", uuidv4());
$("#targetIdField").val(inputField.attr("id"));
});
};
function refreshAjanlatList() {
$.get("/Ajanlatok/getAjanlatok_py", {}, function(data){
$("#ajanlatokListPH").replaceWith(data);
}).fail(function() {
alert( "error" );
});
}
function hideInputElement(thiselement) {
thiselement.prop("checked", false);
var inputElement = thiselement.closest('div').find('.hidethisitem');
inputElement.hide();
thiselement.closest('div').find(".kikapcsolt-resz-form").show();
inputElement.find('input').each(function(idx){$(this).prop("disabled", true)});
inputElement.find('select').each(function(idx){$(this).prop("disabled", true)});
inputElement.find('textarea').each(function(idx){$(this).prop("disabled", true)});
}
function showInputElement(thiselement) {
thiselement.prop("checked", true);
var inputElement = thiselement.closest('div').find('.hidethisitem');
inputElement.show();
thiselement.closest('div').find(".kikapcsolt-resz-form").hide();
inputElement.find('input').each(function(idx){$(this).prop("disabled", false)});
inputElement.find('select').each(function(idx){$(this).prop("disabled", false)});
inputElement.find('textarea').each(function(idx){$(this).prop("disabled", false)});
}
function initAjanlatListeners() {
initkeresesCikkszamAlapjanEditBtnListener();
initJelolesBtnListener();
initUtojelBtnListener();
initCikkszamBtnListener();
//initDicountListeners();
$(".btn-danger").off("click").on("click", function(e){
$(this).closest("div").remove();
})
$('#biztosTorli').off('shown.bs.modal').on('shown.bs.modal', function (e) {
$("#deleteThisAjanlatBtn").attr("data-ajanlatid", $(e.relatedTarget).data("ajanlatid"));
})
$("#deleteThisAjanlatBtn").off("click").on("click", function(e){
var ajanlatId = $(this).data("ajanlatid");
$.get("/Ajanlatok/deleteObject", {'obid': ajanlatId}, function(data){
if (data) {
$('#biztosTorli').modal('hide');
refreshAjanlatList();
}
}).fail(function() {
alert( "error" );
});
})
$('#konkretAjanlatszerkesztese').off('shown.bs.modal').on('shown.bs.modal', function (e) {
var ajanlatId = $(e.relatedTarget).data("ajanlatid");
if (e.target.id != 'konkretAjanlatszerkesztese')
return;
$.get("Ajanlatok/getAjanlatInfo_py", {'ajanlatId': ajanlatId}, function(myajanlat){
$("#editAjanlatBtn").attr("data-ajanlatid", ajanlatId);
$("#titleEditBox").val(myajanlat.title);
$("#shortContentEditBox").val(myajanlat.shortText);
//$("#mainPictureEdit").attr("value", '/Ajanlatok/' + ajanlatId + "/mainPicture");
$("#mainPictureEditImg").attr("src", '/Ajanlatok/' + ajanlatId + "/mainPicture?timestamp=" + new Date().getTime());
//$('#roleSelectEdit option[value="' + myajanlat.funkciok[0] + '"]').prop("selected", true);
$(myajanlat.funkciok).each(function(i){
$('#roleSelectEdit option[value="' + this + '"]').prop("selected", true);
});
$("#startdateEdit").val(myajanlat.validFrom);
$("#enddateEdit").val(myajanlat.validUntil);
if (myajanlat.arukategoria) {
showInputElement($("#toggleArucsoportEdit"));
$('#categoryEditSelect option[value="' + myajanlat.arukategoria + '"]').prop("selected", true);
} else {
hideInputElement($("#toggleArucsoportEdit"));
};
if (myajanlat.catalogurl) {
showInputElement($("#toggleKatalogusFeltoltesEdit"));
$("#customFileCatalogEdit").next("label").html(myajanlat.catalogFileName)
} else {
hideInputElement($("#toggleKatalogusFeltoltesEdit"));
$("#customFileCatalogEdit").next("label").html("Katalógus választása")
//$("label.kataloguslabel").html("Katalógus választása");
}
if (myajanlat.bannerpicurl){
showInputElement($("#toggleBannerKepEdit"));
//$("#bannerPictureEdit").attr("value", myajanlat.bannerpicurl);
$("#bannerPictureEditImg").attr("src", myajanlat.bannerpicurl + "?timestamp=" + new Date().getTime());
} else {
hideInputElement($("#toggleBannerKepEdit"));
}
$("#bannerTextBoxEdit").val(myajanlat.bannerText);
if (myajanlat.itemTitle) {
showInputElement($("#toggleTermekLeirasCimEdit"));
$("#termekLeirasCimEdit").val(myajanlat.itemTitle);
} else {
hideInputElement($("#toggleTermekLeirasCimEdit"));
}
if (myajanlat.termekLeiras){
showInputElement($("#toggleTermekLeirasEdit"));
$("#termekLeirasEdit").val(myajanlat.termekLeiras);
} else {
hideInputElement($("#toggleTermekLeirasEdit"));
}
if (myajanlat.itempicurl){
showInputElement($("#toggleTermekfotoKivalasztasEdit"));
//$("#itemPictureEdit").attr("value", myajanlat.itempicurl);
$("#itemPictureEditImg").attr("src", myajanlat.itempicurl+ "?timestamp=" + new Date().getTime());
} else {
hideInputElement($("#toggleTermekfotoKivalasztasEdit"));
}
if (myajanlat.felhasznalasiPicUrls) {
showInputElement($("#toggleFelhasznalasiTeruletEdit"));
$("#menuFelhasznalasiTeruletKepekEdit input").each(function(i){
if (myajanlat.felhasznalasiPicUrls[i]) {
//$(this).attr("value", myajanlat.felhasznalasiPicUrls[i]);
$(this).attr("value", "");
$(this).parent("label").find("figure img").attr("src", myajanlat.felhasznalasiPicUrls[i] + "?timestamp=" + new Date().getTime());
} else {
$(this).attr("value", "");
$(this).next("img").attr("src", "");
}
});
} else {
hideInputElement($("#toggleFelhasznalasiTeruletEdit"));
}
if (myajanlat.felhasznalasiterulet){
showInputElement($("#toggleFelhasznalasiTeruletEdit"));
$("#menuFelhasznalasiTeruletEdit input").each(function(i){
if (myajanlat.felhasznalasiterulet[i]) {
$(this).val(myajanlat.felhasznalasiterulet[i]);
} else {
$(this).attr("value", "");
}
});
} else {
hideInputElement($("#toggleFelhasznalasiTeruletEdit"));
}
if (myajanlat.jelolesek){
$("#jelolesekEditPH").html("");
showInputElement($("#toggleJelolesekEdit"));
$(myajanlat.jelolesek).each(function(i){
if (i == myajanlat.jelolesek.length - 1)
$('<div class="edit-entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy jelölést" value="' + this + '"/> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span></button> <button class="btn btn-success btn-add ml-2 utojelbtn" type="button"> <span class="icon-plus"></span> </button> </span></div>').appendTo($("#jelolesekEditPH"));
else
$('<div class="edit-entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy jelölést" value="' + this + '"/> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span></button> </span></div>').appendTo($("#jelolesekEditPH"));
});
} else {
hideInputElement($("#toggleJelolesekEdit"));
}
if (myajanlat.utojelek){
$("#utojelekEditPH").html("");
showInputElement($("#menuUtojelekEditKikapcs"));
$(myajanlat.utojelek).each(function(i){
if (i == myajanlat.utojelek.length - 1)
$('<div class="edit-entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy jelölést" value="' + this + '"/> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span></button> <button class="btn btn-success btn-add ml-2 utojelbtn" type="button"> <span class="icon-plus"></span> </button> </span></div>').appendTo($("#utojelekEditPH"));
else
$('<div class="edit-entry input-group mb-2"><input class="form-control jeloleselement" name="fields[]" type="text" placeholder="Adjon hozzá egy jelölést" value="' + this + '"/> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span></button> </span></div>').appendTo($("#utojelekEditPH"));
});
} else {
hideInputElement($("#menuUtojelekEditKikapcs"));
}
if (myajanlat.akciosokdict){
$("#akciosokEditPH").html("");
showInputElement($("#toggleAkciosAjanlatEdit"));
var akciostermekids = Object.keys(myajanlat.akciosokdict);
$(akciostermekids).each(function(i){
var saledata = myajanlat.akciosokdict[this];
if (i == akciostermekids.length - 1)
/* $('<div class="entry03 input-group mb-2"> <div class="col-5 p-0"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát" value="' + this + '"> </div> <div class="col-2"> <input class="form-control" name="fields[]" type="text" placeholder="%" value="' + myajanlat.akciosokdict[this] + '"> </div> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span></button> <button class="btn btn-success btn-add ml-2 cikkszambtn" type="button"> <span class="icon-plus"></span> </button> </span> <div class="input-group-append ml-md-2"> <button class="btn btn-primary daterange-btn icon-left btn-icon keresesCikkszamAlapjanBtn" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés név alapján</button> </div></div>').appendTo($("#akciosokEditPH")); */
$('<div class="entry03 input-group mb-2"> <div class="col-2 p-0 mb-3"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát" value="' + this + '" > </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control currentPrice" type="text" readonly value="' + saledata[0] + '"> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountInput" type="text" max="100" value="' + saledata[1] + '"> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountedPrice" name="fields[]" type="text" placeholder="Ár" value="' + saledata[2] + '"> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="input-group-append ml-md-2 keresesCikkszamAlapjanBtn"> <button class="btn btn-primary daterange-btn icon-left btn-icon h-75" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés</button> </div> <div class="offset-2 col-2 mb-5"> <div class="input-group"> <input class="form-control currentPriceEUR" type="text" readonly value="' + saledata[3] + '"> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountInputEUR" type="text" max="100" value="' + saledata[4] + '"> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountedPriceEUR" name="fields[]" type="text" placeholder="Ár" value="' + saledata[5] + '"> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <span class="input-group-btn mb-5"> <button class="btn btn-success btn-add ml-2 cikkszambtn" type="button"> <span class="icon-plus"></span> </button> </span> </div>').appendTo($("#akciosokEditPH"));
else
$('<div class="entry03 input-group mb-2"> <div class="col-2 p-0 mb-3"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát" value="' + this + '" > </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control currentPrice" type="text" readonly value="' + saledata[0] + '"> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountInput" type="text" max="100" value="' + saledata[1] + '"> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-3"> <div class="input-group"> <input class="form-control discountedPrice" name="fields[]" type="text" placeholder="Ár" value="' + saledata[2] + '"> <div class="input-group-append"> <span class="input-group-text">HUF</span> </div> </div> </div> <div class="input-group-append ml-md-2 keresesCikkszamAlapjanBtn"> <button class="btn btn-primary daterange-btn icon-left btn-icon h-75" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés</button> </div> <div class="offset-2 col-2 mb-5"> <div class="input-group"> <input class="form-control currentPriceEUR" type="text" readonly value="' + saledata[3] + '"> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountInputEUR" type="text" max="100" value="' + saledata[4] + '"> <div class="input-group-append"> <span class="input-group-text">%</span> </div> </div> </div> <div class="col-2 mb-5"> <div class="input-group"> <input class="form-control discountedPriceEUR" name="fields[]" type="text" placeholder="Ár" value="' + saledata[5] + '"> <div class="input-group-append"> <span class="input-group-text">EUR</span> </div> </div> </div> <span class="input-group-btn mb-5"> <button class="btn btn-success btn-add ml-2 cikkszambtn" type="button"> <span class="icon-plus"></span> </button> </span> </div>').appendTo($("#akciosokEditPH"));
//$('<div class="entry03 input-group mb-2"> <div class="col-5 p-0"> <input class="form-control jeloleselement" id="' + uuidv4() + '" name="fields[]" type="text" placeholder="Adja meg a termék cikkszámát" value="' + this + '"> </div> <div class="col-2"> <input class="form-control" name="fields[]" type="text" placeholder="%" value="' + myajanlat.akciosokdict[this] + '"> </div> <span class="input-group-btn"> <button class="btn ml-2 btn-remove btn-danger" type="button"><span class="icon-close"></span> </button> </span> <div class="input-group-append ml-md-2"> <button class="btn btn-primary daterange-btn icon-left btn-icon keresesCikkszamAlapjanBtn" type="button" data-toggle="modal" data-target="#keresesCikkszamAlapjan"><i class="fas fa-search"></i>Keresés név alapján</button> </div></div>').appendTo($("#akciosokEditPH"));
});
initDicountListeners($("#akciosokEditPH")[0]);
} else {
hideInputElement($("#toggleAkciosAjanlatEdit"));
}
initAjanlatListeners();
}).fail(function() {
alert( "error" );
});
})
$("#deleteThisAjanlatBtn").off("click").on("click", function(e){
var ajanlatId = $(this).data("ajanlatid");
$.get("/Ajanlatok/deleteObject", {'obid': ajanlatId}, function(data){
if (data) {
$('#biztosTorli').modal('hide');
refreshAjanlatList();
}
}).fail(function() {
alert( "error" );
});
})
$("a[href='#pills-editoffers']").on('shown.bs.tab', function(e){
refreshAjanlatList();
});
$("#editAjanlatBtn").off("click").on("click", function(e){
e.preventDefault();
var data = new FormData();
data.append("ajanlatId", $(this).data("ajanlatid"));
data.append("title", $("#titleEditBox").val());
data.append("shortText", $('#shortContentEditBox').val())
data.append("mainPicture", document.getElementById('mainPictureEdit').files[0]);
if (!$("#categoryEditSelect").prop("disabled")) {
var arucsoport = $("#categoryEditSelect").val();
data.append('arukategoria', arucsoport);
}
if (!$("#customFileCatalogEdit").prop("disabled")) {
data.append('catalogfile', document.getElementById('customFileCatalogEdit').files[0]);
}
$($("#roleSelectEdit").val()).each(function(i){
data.append("roleToHave:list", this);
});
data.append("validFrom", $("#startdateEdit").val());
data.append("validUntil", $("#enddateEdit").val());
if (!$("#bannerPictureEdit").prop("disabled")) {
data.append('bannerPicture', document.getElementById('bannerPictureEdit').files[0]);
}
data.append("bannerText", $("#bannerTextBoxEdit").val());
if (!$("#termekLeirasCimEdit").prop("disabled")) {
data.append("itemTitle", $("#termekLeirasCimEdit").val());
}
if (!$("#termekLeirasEdit").prop("disabled")) {
data.append("termekLeiras", $("#termekLeirasEdit").val());
}
if (!$("#itemPictureEdit").prop("disabled")) {
data.append("itemPicture", document.getElementById('itemPictureEdit').files[0]);
}
$("#menuFelhasznalasiTeruletEdit input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("felhasznalasiterulet:list", $(this).val());
};
});
$("#menuFelhasznalasiTeruletKepekEdit input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("felhasznalasiteruletPics:list", $(this)[0].files[0]);
} else {
data.append("felhasznalasiteruletPics:list", "undefined")
};
});
$("#menuJelolesekEdit input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("jelolesek:list", $(this).val());
};
});
$("#menuUtojelekEdit input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("menuUtojelek:list", $(this).val());
};
});
var mas = $("#menuAkciosAjanlatEdit input");
if (mas) {
for (var i = 0; i < mas.length; i += 7) {
if ($(mas[i]).val()) {
data.append("akciostermekek.arukod:records", $(mas[i]).val());
data.append("akciostermekek.price:records", $(mas[i + 3]).val());
data.append("akciostermekek.origprice:records", $(mas[i + 1]).val());
data.append("akciostermekek.eurprice:records", $(mas[i + 6]).val());
data.append("akciostermekek.origeurprice:records", $(mas[i + 4]).val());
data.append("akciostermekek.percent:records", $(mas[i + 2]).val());
data.append("akciostermekek.eurpercent:records", $(mas[i + 5]).val());
}
}
}
data.append("coding", 'utf-8');
var opts = {
url: 'Ajanlatok/editAjanlat_py',
data: data,
cache: false,
contentType: false,
processData: false,
method: 'POST',
type: 'POST',
success: function(data){
$("#sikeresKeresPopupAdmin").removeClass("fade");
setTimeout(function () {
$("#sikeresKeresPopupAdmin").toggleClass("fade");
}, 5000);
refreshAjanlatList();
$("#konkretAjanlatszerkesztese input.custom-switch-input").each(function(i){
$(this).prop("checked", true);
});
$("#konkretAjanlatszerkesztese .form-group").each(function(i) {
var inputElement = $(this).closest('div').find('.hidethisitem');
$(this).show();
$(this).closest('div').find(".kikapcsolt-resz-form").hide();
$(this).find('input').each(function(idx){$(this).prop("disabled", false); $(this).val("");});
$(this).find('select').each(function(idx){$(this).prop("disabled", false);
$(this).val($("this option:first").val());
});
$(this).find('textarea').each(function(idx){$(this).prop("disabled", false); $(this).val("");});
});
$("#konkretAjanlatszerkesztese img.imagecheck-image").each(function(i) {$(this).attr("src", "../assets/img/form/valasszon_kepet (1).png");});
$('#konkretAjanlatszerkesztese input[type=file]').next('label').html("Katalógus kiválasztás");
$("#konkretAjanlatszerkesztese .close").click();
// $("#newOfferTitleBox").val('');
// $("#newOfferContentBox").val('');
// $("#pictureChoser").val('');
// refreshFooldaliAjanlatList();
}
};
if(data.fake) {
opts.xhr = function() {
var xhr = jQuery.ajaxSettings.xhr();
xhr.send = xhr.sendAsBinary;
return xhr;
}
opts.contentType = "multipart/form-data; boundary=" + data.boundary;
opts.data = data.toString();
}
$.ajax(opts);
});
$("#newBonusFormBtn").off("click").on("click", function(e){
e.preventDefault();
var data = new FormData();
data.append("title", $("#titleBox").val());
data.append("shortText", $('#shortContentBox').val())
data.append("mainPicture", document.getElementById('mainPicture').files[0]);
if (!$("#categorySelect").prop("disabled")) {
var arucsoport = $("#categorySelect").val();
data.append('arukategoria', arucsoport);
}
if (!$("#customFileCatalog").prop("disabled")) {
data.append('catalogfile', document.getElementById('customFileCatalog').files[0]);
}
$($("#roleSelect").val()).each(function(i){
data.append("roleToHave:list", this);
});
data.append("validFrom", $("#startDate").val());
data.append("validUntil", $("#endDate").val());
if (!$("#bannerPicture").prop("disabled")) {
data.append('bannerPicture', document.getElementById('bannerPicture').files[0]);
}
data.append("bannerText", $("#bannerTextBox").val());
if (!$("#itemTitle").prop("disabled")) {
data.append("itemTitle", $("#itemTitle").val());
}
if (!$("#termekLeirasBox").prop("disabled")) {
data.append("termekLeiras", $("#termekLeirasBox").val());
}
if (!$("#itemPicture").prop("disabled")) {
data.append("itemPicture", document.getElementById('itemPicture').files[0]);
}
$("#menuFelhasznalasiTerulet input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("felhasznalasiterulet:list", $(this).val());
};
});
$("#menuFelhasznalasiTeruletKepek input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("felhasznalasiteruletPics:list", $(this)[0].files[0]);
};
});
$("#menuJelolesek input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("jelolesek:list", $(this).val());
};
});
$("#menuUtojelek input").each(function(i){
if (!$(this).prop("disabled") && $(this).val()) {
data.append("menuUtojelek:list", $(this).val());
};
});
var mas = $("#menuAkciosAjanlat input");
if (mas) {
for (var i = 0; i < mas.length; i += 7) {
if ($(mas[i]).val()) {
data.append("akciostermekek.arukod:records", $(mas[i]).val());
data.append("akciostermekek.origprice:records", $(mas[i + 1]).val());
data.append("akciostermekek.price:records", $(mas[i + 3]).val());
data.append("akciostermekek.eurprice:records", $(mas[i + 6]).val());
data.append("akciostermekek.origeurprice:records", $(mas[i + 4]).val());
data.append("akciostermekek.percent:records", $(mas[i + 2]).val());
data.append("akciostermekek.eurpercent:records", $(mas[i + 5]).val());
}
}
}
data.append("coding", 'utf-8');
var opts = {
url: 'Ajanlatok/createNewAjanlat_py',
data: data,
cache: false,
contentType: false,
processData: false,
method: 'POST',
type: 'POST',
success: function(data){
$("#sikeresKeresPopupAdmin").removeClass("fade");
setTimeout(function () {
$("#sikeresKeresPopupAdmin").toggleClass("fade");
}, 5000);
$("#pills-newoffer input.custom-switch-input").each(function(i){
$(this).prop("checked", true);
});
$("#pills-newoffer .form-group").each(function(i) {
var inputElement = $(this).closest('div').find('.hidethisitem');
$(this).show();
$(this).closest('div').find(".kikapcsolt-resz-form").hide();
$(this).find('input').each(function(idx){$(this).prop("disabled", false); $(this).val("");});
$(this).find('select').each(function(idx){$(this).prop("disabled", false);
$(this).val($("this option:first").val());
});
$(this).find('textarea').each(function(idx){$(this).prop("disabled", false); $(this).val("");});
});
$("#pills-newoffer img.imagecheck-image").each(function(i) {$(this).attr("src", "../assets/img/form/valasszon_kepet (1).png");});
$('#pills-newoffer input[type=file]').next('label').html("Katalógus kiválasztás");
// $("#newOfferTitleBox").val('');
// $("#newOfferContentBox").val('');
// $("#pictureChoser").val('');
// refreshFooldaliAjanlatList();
}
};
if(data.fake) {
opts.xhr = function() {
var xhr = jQuery.ajaxSettings.xhr();
xhr.send = xhr.sendAsBinary;
return xhr;
}
opts.contentType = "multipart/form-data; boundary=" + data.boundary;
opts.data = data.toString();
}
$.ajax(opts);
})
$(".custom-switch-input").off("change").on("change", function(e){
var inputElement = $(this).closest('div').find('.hidethisitem');
if ($(this).prop("checked")) {
showInputElement($(this));
} else {
hideInputElement($(this));
}
});
$(".fooldaliajanlatdeletebtn").off("click").on("click", function(e){
var fooldaliajanlatId = $(this).data("fooldaliajanlatid");
var clickedBtn = $(this);
$("#deleteThisBonusBtn").attr("data-bonuszid", fooldaliajanlatId);
$("#deleteThisBonusBtn").off("click").on("click", function(e){
var bonuszId = $(this).data("bonuszid");
$.get("FooldaliAjanlatok/deleteObject", {'obid': bonuszId}, function(data){
clickedBtn.closest('tr').remove();
$("#cancelDeleteBtn").click();
// $("#biztosTorli").hide();
}).fail(function() {
alert( "error" );
});
});
});
$(".fooldaliajanlateditbtn").off("click").on("click", function(e){
var fooldaliajanlatId = $(this).data("fooldaliajanlatid");
var clickedBtn = $(this);
$.get("FooldaliAjanlatok/getFooldaliAjanlatInfo_py", {'fooldaliajanlatId': fooldaliajanlatId}, function(myfooldaliajanlat){
$("#offerTitleEditBox").val(myfooldaliajanlat.title);
$("#offerContentEditBox").val(myfooldaliajanlat.content);
$("#offerImage").attr("src", 'FooldaliAjanlatok/' + fooldaliajanlatId + "?timestamp=" + new Date().getTime());
$("#offerLinkIdList").empty();
$.each(myfooldaliajanlat.ajanlatok, function (key, value) {
$('#offerLinkIdList').append($('<option>', {
value: key,
text : value
}));
});
$('#offerLinkIdList option[value=' + myfooldaliajanlat.offerLinkId+ ']').prop('selected', 'selected').change();
}).fail(function() {
alert( "error" );
});
$("#saveThisFooldaliAjanlatBtn").attr("data-fooldaliajanlatid", fooldaliajanlatId);
$("#saveThisFooldaliAjanlatBtn").off("click").on("click", function(event){
event.preventDefault();
var data = new FormData();
var newtitle = $("#offerTitleEditBox").val();
data.append('file', document.getElementById('editPictureChoser').files[0]);
data.append('docid', $(this).data("fooldaliajanlatid"));
data.append('title', $("#offerTitleEditBox").val());
data.append('offerLinkId', $("#offerLinkIdList").find(":selected").val());
data.append('content', $("#offerContentEditBox").val())
data.append('coding', 'utf-8');
var opts = {
url: 'FooldaliAjanlatok/szerkesztDokumentum_py',
data: data,
cache: false,
contentType: false,
processData: false,
method: 'POST',
type: 'POST',
success: function(data){
$("#sikeresKeresPopupAdmin").removeClass("fade");
setTimeout(function () {
$("#sikeresKeresPopupAdmin").toggleClass("fade");
}, 5000);
$("#closeEditorBtn").click();
$("#offerLinkIdList").val('');
$("#offerContentEditBox").val('');
$("#offerLinkIdList").empty();
$("#editPictureChoser").val('');
refreshFooldaliAjanlatList();
}
};
if(data.fake) {
opts.xhr = function() {
var xhr = jQuery.ajaxSettings.xhr();
xhr.send = xhr.sendAsBinary;
return xhr;
}
opts.contentType = "multipart/form-data; boundary=" + data.boundary;
opts.data = data.toString();
}
$.ajax(opts);
// var tr = clickedBtn.closest('tr');
// tr.find('td.bonustitle').html(newtitle);
// $("#closeEditorBtn").click();
});
});
}
$( document ).ready(function(){
initAjanlatListeners();
});
function isNumeric(value) {
return /^-?\d+$/.test(value);
}
function uuidv4() {
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c =>
(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
);
}
| 61.333786 | 2,226 | 0.536911 |
2299c65a835e10a4223bb64d168ec9591e9ff645 | 1,297 | js | JavaScript | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | 1 | 2016-07-29T16:25:56.000Z | 2016-07-29T16:25:56.000Z | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | null | null | null | src/components/hahoo/ToastAlert/ToastAlert.js | hahoocn/hahoo-admin | 782b63432d49324a645fa8f89e29934964c76d54 | [
"MIT"
] | null | null | null | import React from 'react';
import styles from './ToastAlert.css';
class ToastAlert extends React.Component {
static propTypes = {
info: React.PropTypes.string.isRequired,
isAutoClose: React.PropTypes.bool,
isBlock: React.PropTypes.bool,
onClose: React.PropTypes.func,
closeSpeed: React.PropTypes.number
};
static defaultProps = {
isBlock: false,
isAutoClose: true,
closeSpeed: 1500
};
state = {
isClose: false,
};
componentDidMount() {
if (this.props.isAutoClose) {
this.closeTimeout = setTimeout(this.handleClose.bind(this), this.props.closeSpeed);
}
}
componentWillUnmount() {
if (this.props.isAutoClose && !this.state.isClose && this.closeTimeout) {
clearTimeout(this.closeTimeout);
this.closeTimeout = false;
}
}
handleClose() {
this.setState({ isClose: true });
if (this.props.onClose) {
this.props.onClose();
}
}
render() {
let toast;
if (!this.state.isClose) {
toast = (<div>
{this.props.isBlock ? <div className={styles.mask} /> : null}
<div className={styles.toast}>
{this.props.info}
</div>
</div>);
}
return (
<div>
{toast && toast}
</div>
);
}
}
export default ToastAlert;
| 20.265625 | 89 | 0.606014 |
229b4abb9d6110dfb793fe2d30fc5600e5d87294 | 1,468 | js | JavaScript | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | src/app/views/User.js | tnandwani/disco-music | 7c7d3cce7b657cc51dc78e6e34eb99d0454f5d9e | [
"MIT"
] | null | null | null | import React from "react";
import PropTypes from 'prop-types';
import { browserHistory } from "react-router";
import { UserBlock } from "./components/blocks/UserBlock";
export class User extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="">
<div className="dark">
<UserBlock />
</div>
<div className="tab-content">
<div className="tab-pane active" id="all" role="tabpanel" aria-labelledby="home-tab">
<div className="card-columns">
</div>
</div>
<div className="tab-pane" id="posts" role="tabpanel" aria-labelledby="profile-tab">
<div className="card-columns">
</div>
</div>
<div className="tab-pane" id="shares" role="tabpanel" aria-labelledby="messages-tab">
<div className="card-columns">
</div>
</div>
<div className="tab-pane" id="likes" role="tabpanel" aria-labelledby="settings-tab">
<div className="card-columns">
</div>
</div>
</div>
</div>
);
}
}
| 24.065574 | 105 | 0.433924 |
229bc27ab42a36d8f43c19acd6411122c71e67f6 | 1,116 | js | JavaScript | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | mobile-web-apps/07/js/index/script.js | bb-87/wifi-jwe21 | 1fcfe1acd0a2751f1b49b58ad8c17cbd24dc9782 | [
"MIT"
] | null | null | null | function getFilms(event) {
// fetch: https://ghibliapi.herokuapp.com/films
fetch('https://ghibliapi.herokuapp.com/films')
.then(function(response) {
if (response.ok) {
return response.json();
} else {
throw new Error('API error');
}
})
.then(function(films) {
const ul = document.querySelector('#film-list');
// Für jeden Film
for (let film of films) {
// erzeugen wir ein li
const li = document.createElement('li');
const title = film.title;
const id = film.id;
const a = document.createElement('a');
// befüllen es mit Informationen zum Film
a.textContent = title;
a.href = `film.html?film_id=${id}`;
// und fügen li an unsere ul hinzu
li.appendChild(a);
ul.appendChild(li);
}
});
}
document.querySelector('#get-film-btn').addEventListener('click', getFilms); | 31.885714 | 76 | 0.485663 |
229cfeceb007b9ccc72e0e8a78b010484d1e1aba | 183 | js | JavaScript | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 3 | 2017-05-09T07:00:03.000Z | 2018-04-16T11:26:52.000Z | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 1 | 2021-02-23T09:03:56.000Z | 2021-02-23T09:03:56.000Z | sample/app/app.js | al-pez/dynamic-table | 06d2f5bab7556ba50f5efb092db48e6e8c55151d | [
"MIT"
] | 2 | 2017-05-17T06:40:46.000Z | 2018-05-30T11:05:23.000Z | (function(){
'use strict';
angular.module('alpez.sample',['ui.bootstrap','ui.bootstrap.tpls','alpez.dynamictable']).config(AppConfig);
function AppConfig(){
}
})(); | 20.333333 | 111 | 0.63388 |
221a22072298968b5d38e7b4ee808d23fbe90486 | 1,927 | js | JavaScript | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | null | null | null | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | 7 | 2020-09-07T04:17:17.000Z | 2022-02-26T17:25:40.000Z | src/reducers/kegData.js | Alexx/tap-room | 8252a6120767c1a6733bc1f14ab0409d0dcb25e1 | [
"Unlicense"
] | null | null | null | import newKeg from './newKeg';
const kegData = [
{
id: 1,
name: 'Hyper Bomb',
brand: 'Galax',
price: 3.99,
alcoholContent: 7,
inventory: 75
},
{
id: 2,
name: 'Tracks',
brand: 'Green Woods',
price: 3.79,
alcoholContent: 6,
inventory: 103
},
{
id: 3,
name: 'Cashin',
brand: 'Pimplin',
price: 5.29,
alcoholContent: 8,
inventory: 63
},
{
id: 4,
name: 'Sasquatch',
brand: 'Twisties',
price: 4.19,
alcoholContent: 9,
inventory: 10
},
]
// handleNewKeg = () => {
// const newKegId = this.state.nextKegId + 1;
// this.setState(state => {
// const kegData = state.kegData.concat(state.newKeg);
// return {
// kegData,
// newKeg: '',
// nextKegId: newKegId
// };
// });
// console.log(this.state.kegData);
// };
//
// handleNewKegValue = (newKeg) => {
// const addKeg = newKeg
// this.setState({newKeg: addKeg});
// }
//
// handleUpdateKeg = (id, updatedKeg) => {
// this.setState(state => {
// const list = state.kegData.map((keg, index) => {
// if (index === id) {
// return updatedKeg;
// } else {
// return keg;
// }
// });
// return {
// updatedKeg,
// };
// });
// };
//
const kegDataReducer = (state = kegData, action) => {
switch (action.type){
case 'ADD':
console.log("I'm adding shit");
kegData.push(action.payload);
state = kegData;
console.log("Hi, I'm state.", state);
return state
case 'SELL_PINT':
const newKegData = kegData;
if (newKegData.find(x => x.id === action.payload).inventory - 1 >= 0) {
newKegData.find(x => x.id === action.payload).inventory = newKegData.find(x => x.id === action.payload).inventory - 1;
state = newKegData
}
return state
default:
return state
}
}
export default kegDataReducer;
| 19.865979 | 126 | 0.529839 |
221a4f5fec0a352704802eec22211e4bcc47eb92 | 1,757 | js | JavaScript | server/controllers/company.controller.js | Ripley6811/TAIMAU-CHARTS | 420156fb821cc3fd8f5b0502d5d4e4860da427bb | [
"MIT"
] | 1 | 2021-08-30T07:02:34.000Z | 2021-08-30T07:02:34.000Z | server/controllers/company.controller.js | maksympogonets/React-D3-Chart | e5406b8df7b6815c59c28b5e0e4d84e29bf34c5f | [
"MIT"
] | null | null | null | server/controllers/company.controller.js | maksympogonets/React-D3-Chart | e5406b8df7b6815c59c28b5e0e4d84e29bf34c5f | [
"MIT"
] | null | null | null | /**
* Uses Mongoose Models for db operations.
*/
import Company from '../models/company.model'
import { Router } from 'express'
import * as utils from '../../shared/utils/utils'
const router = new Router()
// host:port/api/companies
/**
* RETRIEVE LIST OF COMPANY (abbr) NAMES
* 'distinct' returns a list of a specific field without repeated entries.
*/
router.get('/', function getCompanies(req, res) {
Company.distinct('abbr_name')
.exec((err, docs) => {
if (err) {
console.log(err);
return res.status(500).send(err);
}
res.json(docs);
});
})
router.get('/directory', function getDirectory(req, res) {
Company.find({hidden: false}, {__v: 0, products: 0, orders: 0})
.exec((err, docs) => {
if (err) {
console.log(err);
return res.status(500).send(err);
}
res.json(docs);
});
})
/**
* CREATE ONE RECORD
* The request 'body' is the new company document.
*/
router.post('/', function addCompany(req, res) {
Company.create(req.body, (err, doc) => {
if (err) {
console.log(err);
return res.status(500).send(err);
}
return res.json(doc);
});
})
/**
* DELETE ONE RECORD
* Or should there not be a way to delete? Just hide?
*/
router.delete('/', function deleteCompany(req, res) {
const { _id } = req.body;
Company.findById(_id).exec((err, company) => {
if (err) {
console.log(err);
return res.status(500).send(err);
}
if (company === null) {
return res.status(404).end();
}
company.remove(() => {
res.status(204).end();
});
});
})
export default router
| 21.691358 | 74 | 0.546955 |
221b772809d6c09d881d34306db73790d5590542 | 5,944 | js | JavaScript | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | src/components/StudentView.js | karoldavid/one-one-app | 4e96b72893a2c12bafe7b16d8f6d955c55c35130 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { connect } from "react-redux";
import {
Dimensions,
Image,
Text,
View,
Animated,
PanResponder
} from "react-native";
import {
deleteStudent,
deselectStudent,
selectStudent,
studentAppointmentsNumber
} from "../actions";
import styles from "../utils/styles";
import { blueMagenta, paleRose, white } from "../utils/colors";
import { IconButton, ModalConfirm } from "./common";
import Communications from "react-native-communications";
import { IconBar } from "./common";
const SCREEN_WIDTH = Dimensions.get("window").width;
const SWIPE_THRESHOLD = 0.25 * SCREEN_WIDTH;
const SWIPE_OUT_DURATION = 250;
class StudentView extends Component {
static navigationOptions = ({ navigation }) => ({
headerLeft: (
<IconButton
ionicon="md-arrow-round-back"
size={30}
color="white"
onPress={() => {
navigation.navigate("students");
navigation.state.params.deselectStudent();
}}
/>
)
});
constructor(props) {
super(props);
const position = new Animated.ValueXY();
const panResponder = PanResponder.create({
onStartShouldSetPanResponder: () => true,
onPanResponderMove: (event, gesture) => {
position.setValue({ x: gesture.dx });
},
onPanResponderRelease: (event, gesture) => {
if (gesture.dx > SWIPE_THRESHOLD) {
this.forceSwipe("right");
} else if (gesture.dx < -SWIPE_THRESHOLD)
this.forceSwipe("left");
else {
this.resetPosition();
}
}
});
this.state = {
modalVisible: false,
panResponder,
position
};
}
componentWillMount() {
const { deselectStudent, navigation, student } = this.props;
navigation.setParams({
deselectStudent
});
this.props.studentAppointmentsNumber(student.uid);
}
showModal = () => {
this.setState({ modalVisible: true });
};
hideModal = () => {
this.setState({ modalVisible: false });
};
removeStudent = () => {
const { deleteStudent, navigation, student } = this.props;
this.setState({ modalVisible: false });
deleteStudent(student.uid, () => navigation.navigate("students"));
};
sendEmail() {
const { email, firstName, lastName } = this.props.student;
const { userEmail } = this.props.userEmail;
const subject = "1:1 Appointment";
const body = `Dear ${firstName} ${lastName},`;
Communications.email([userEmail, email], null, null, subject, body);
}
forceSwipe(direction) {
const x = direction === "right" ? SCREEN_WIDTH : -SCREEN_WIDTH;
Animated.timing(this.state.position, {
toValue: { x, y: 0 },
duration: SWIPE_OUT_DURATION
}).start(() => this.onSwipeComplete(direction));
}
onSwipeComplete(direction) {
const { selectStudent, students, student } = this.props;
let index = students.findIndex(stud => stud.uid === student.uid);
if (direction === "right" && index + 1 <= students.length - 1) {
index++;
} else if (direction === "left" && index - 1 >= 0) {
index--;
}
selectStudent(students[index]);
this.state.position.setValue({ x: 0, y: 0 });
}
resetPosition() {
Animated.spring(this.state.position, {
toValue: { x: 0, y: 0 }
}).start();
}
getCardStyle() {
return {
...this.state.position.getLayout()
};
}
getNumberOfAppointments() {
const { appointments } = this.props;
const { uid } = this.props.student;
const number = appointments.reduce(function(accumulator, appointment) {
return appointment.studentUid === uid
? accumulator + 1
: accumulator;
}, 0);
return number;
}
render() {
const {
firstName,
lastName,
email,
program,
image,
uid
} = this.props.student;
const ICONS = [
{
name: "list",
type: "material-icons",
onPress: () => {
this.props.navigation.navigate("StudentAppointmentsView");
}
},
{
name: "add-to-list",
type: "entypo",
onPress: () => {
this.props.navigation.navigate("CreateAppointmentView");
}
},
{
name: "email",
type: "material-icons",
onPress: () => {
this.sendEmail();
}
},
{
name: "edit",
type: "material-icons",
onPress: () => {
this.props.navigation.navigate("EditStudentView");
}
},
{
name: "delete",
type: "material-icons",
onPress: () => {
this.showModal();
}
}
];
return (
<View
style={[
styles.container,
{
padding: 12,
alignItems: "flex-start",
justifyContent: "flex-start"
}
]}
>
<Animated.View
style={[this.getCardStyle(), { flexDirection: "row" }]}
{...this.state.panResponder.panHandlers}
>
<Image
source={{
uri: image || "http://via.placeholder.com/100x150"
}}
style={styles.photo}
/>
<View style={{ flexDirection: "column" }}>
<Text style={styles.viewText}>
Name: {`${firstName} ${lastName}`}
</Text>
<Text style={styles.viewText}>Email: {email}</Text>
<Text style={styles.viewText}>
Program: {program || "-"}
</Text>
<Text style={styles.viewText}>
Appointments:{" "}
{this.props.currentStudentAppointments}
</Text>
</View>
</Animated.View>
<View style={styles.iconBarHorizontal}>
<IconBar icons={ICONS} />
</View>
<View
style={{
backgroundColor: paleRose
}}
>
<ModalConfirm
modalVisible={this.state.modalVisible}
onConfirm={this.removeStudent}
onDecline={this.hideModal}
>
Do you really want to delete this student?
</ModalConfirm>
</View>
</View>
);
}
}
const mapStateToProps = ({ student, auth, studentList, appointmentList }) => {
return {
student,
userEmail: auth.user.email,
students: studentList.students,
currentStudentAppointments: appointmentList.currentStudentAppointments
};
};
export default connect(mapStateToProps, {
studentAppointmentsNumber,
deleteStudent,
deselectStudent,
selectStudent
})(StudentView);
| 22.262172 | 78 | 0.622645 |
221bb86bdecb3da2e453a4bc05460a21766a4b3d | 113 | js | JavaScript | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 346 | 2015-01-05T13:37:34.000Z | 2021-11-12T11:29:22.000Z | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 26 | 2015-03-26T17:22:24.000Z | 2019-07-04T04:30:54.000Z | bower_components/geomicons-open/src/home.js | ranchodeluxemedia/laineywilson | 4ec16bed58e28d1602b68ed486ea2393d02e1f24 | [
"WTFPL"
] | 35 | 2015-01-22T18:54:24.000Z | 2022-01-27T14:07:09.000Z |
module.exports = [
'M16 0 L32 16 L28 16 L28 30 L20 30 L20 20 L12 20 L12 30 L4 30 L4 16 L0 16 Z'
].join(' ');
| 18.833333 | 78 | 0.610619 |
221be451e1828cdf1b84b651fb99de5e9c39f397 | 914 | js | JavaScript | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | src/ui/map-ui.js | cuza22/javascript-subway-map-precourse | 67f4bca9e50230bf2082a4b19f9207bbf55aa94b | [
"MIT"
] | null | null | null | import {getList} from '../util/storageAccess.js';
import {LINE, TEMPLATE} from '../constants.js';
import {clearHTML} from './init-ui.js';
export function createMap() {
clearHTML(TEMPLATE.MAP);
const map = document.createElement('div');
map.className = 'map';
const lineList = getList(LINE.LISTNAME);
for (let i=0; i<lineList.length; i++) {
map.appendChild(createLineTitle(lineList[i]));
map.appendChild(createLineList(lineList[i]));
}
TEMPLATE.MAP.append(map);
}
function createLineTitle(lineName) {
const title = document.createElement('h3');
title.innerText = lineName;
return title;
}
function createLineList(lineName) {
const stationList = getList(lineName);
const list = document.createElement('ul');
for (let i=0; i<stationList.length; i++) {
const tmp = document.createElement('li');
tmp.append(stationList[i]);
list.appendChild(tmp);
}
return list;
}
| 26.114286 | 50 | 0.693654 |
221d02bbaefcbc76e115eb0435b84e491cea43a6 | 994 | js | JavaScript | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | 12 | 2019-10-09T07:22:43.000Z | 2019-12-04T10:49:21.000Z | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | 22 | 2019-10-08T09:06:48.000Z | 2022-02-26T19:26:48.000Z | client/src/icons/Upload.js | jsmunsch/Boardhero | 117e3c1d1f00fdd2004703d1bb86709820115bba | [
"MIT"
] | null | null | null | import React from "react";
import styled from "styled-components";
function UploadIcon({ className }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
className={className}
>
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3zM8 13h2.55v3h2.9v-3H16l-4-4z" />
</svg>
);
}
const UploadIconStyled = styled(UploadIcon)`
fill: ${props =>
props.selected ? props.theme.lightFont : props.theme.darkFont};
height: 32px;
width: 32px;
margin-right: 5px;
`;
export default function Upload({ selected }) {
return <UploadIconStyled selected={selected} />;
}
| 33.133333 | 378 | 0.627767 |
221dae9bf59a28dbdb573605778069258172df95 | 646 | js | JavaScript | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | dist-remix/remix/System/thumb-up-fill.js | maciejg-git/vue-bootstrap-icons | bc60cf77193e15cc72ec7eb7f9949ed8b552e7ec | [
"MIT",
"CC-BY-4.0",
"MIT-0"
] | null | null | null | import { h } from 'vue'
export default {
name: "ThumbUpFill",
vendor: "Rx",
type: "",
tags: ["thumb","up","fill"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"rx-thumb-up-fill","innerHTML":" <g> <path fill='none' d='M0 0h24v24H0z'/> <path d='M2 9h3v12H2a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1zm5.293-1.293l6.4-6.4a.5.5 0 0 1 .654-.047l.853.64a1.5 1.5 0 0 1 .553 1.57L14.6 8H21a2 2 0 0 1 2 2v2.104a2 2 0 0 1-.15.762l-3.095 7.515a1 1 0 0 1-.925.619H8a1 1 0 0 1-1-1V8.414a1 1 0 0 1 .293-.707z'/> </g>"},
)
}
} | 49.692308 | 471 | 0.568111 |
222051ca933a24b3f65b2c3e3eee1c6076cf25a3 | 800 | js | JavaScript | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | null | null | null | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | null | null | null | js/index.js | AAASTRIDLIN/Touch-Colour-Questionnaire | 3b50985d3251cf189b6d6051baaab85f33b2fe58 | [
"MIT"
] | 1 | 2021-05-18T08:18:34.000Z | 2021-05-18T08:18:34.000Z | $(document).ready(function ($) {
var fbOptions = {
dataType: 'json'
};
var formBuilder = $('.build-wrap').formBuilder(fbOptions);
$("#btn_view").click(function () {
var formData = formBuilder.data('formBuilder').save();
var frOptions = {
dataType: 'json',
formData: formData,
showTitle: true
};
$('.render-wrap').empty();
$('.render-wrap').formRender(frOptions);
var w = $('.build-wrap').find(".fb-designer").width(),
h = $('.build-wrap').find(".fb-designer").height(),
p = $('.build-wrap').find(".fb-designer").position();
$('.render-wrap').find(".form-render").css({ "position": "absolute", "top": p.top, "left": p.left, "height": h });
});
});
| 26.666667 | 122 | 0.50875 |
2220a0de9147ad52ea5f70340519e37b41e9e2d0 | 224 | js | JavaScript | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | 1 | 2018-02-13T21:10:46.000Z | 2018-02-13T21:10:46.000Z | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | null | null | null | public/components/funkit/lib/ops/lt.js | elovalo/webide | 131644c3246cd2d6572f1834c401a96bdb580901 | [
"MIT"
] | null | null | null | define(['annotate', 'is-js'], function(annotate, is) {
function lt(a, b) {
return a > b;
}
return annotate('lt', 'Less than')
.on(is.number, is.number, lt)
.on(is.number, is.fn, lt);
});
| 22.4 | 54 | 0.517857 |
2220d7f4ce1951772c17e64af37b067fd831e996 | 28,699 | js | JavaScript | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | src/static/hatividade.js | ronaldomg/Valim_EFS_REDIS | 67ce6769fccffef1455cbb616ab3a02e30e034b2 | [
"Unlicense"
] | null | null | null | /**@preserve GeneXus Java 10_3_12-110051 on February 11, 2021 17:33:43.8
*
gx.evt.autoSkip=!1;gx.define("hatividade",!1,function(){var n,t;this.ServerClass="hatividade";this.PackageName="";this.setObjectType("web");this.setOnAjaxSessionTimeout("Warn");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.addKeyListener("7","'ANTERIOR'");this.addKeyListener("8","'PROXIMO'");this.addKeyListener("3","'NOVO'");this.addKeyListener("12","'FECHAR'");this.addKeyListener("10","'IMPRIMIR'");this.addKeyListener("5","'PROCURAR'");this.addKeyListener("5","REFRESH");this.addKeyListener("12","CANCEL");this.addKeyListener("1","HELP");this.SetStandaloneVars=function(){this.AV17EmpresaPadrao=gx.fn.getControlValue("vEMPRESAPADRAO");this.AV38SnRecuperaFiltro=gx.fn.getControlValue("vSNRECUPERAFILTRO");this.A10006AtividadeGrupoOcoId=gx.fn.getIntegerValue("ATIVIDADEGRUPOOCOID",".");this.A10079AtividadeGrupoOcoDescricao=gx.fn.getControlValue("ATIVIDADEGRUPOOCODESCRICAO");this.A10083AtividadeTipo=gx.fn.getControlValue("ATIVIDADETIPO");this.A10084AtividadeTipoAcumulacao=gx.fn.getControlValue("ATIVIDADETIPOACUMULACAO");this.A10077AtividadeDesconto=gx.fn.getDecimalValue("ATIVIDADEDESCONTO",".",",")};this.e1124a2_client=function(){this.executeServerEvent("'ANTERIOR'",!0,null,!1,!1)};this.e1224a2_client=function(){this.executeServerEvent("'PROXIMO'",!0,null,!1,!1)};this.e2124a2_client=function(){this.executeServerEvent("'ALTERAR'",!0,arguments[0],!1,!1)};this.e2224a2_client=function(){this.executeServerEvent("'EXCLUIR'",!0,arguments[0],!1,!1)};this.e2324a2_client=function(){this.executeServerEvent("'CONSULTAR'",!0,arguments[0],!1,!1)};this.e1724a2_client=function(){this.executeServerEvent("VPAGINA.CLICK",!0,null,!1,!0)};this.e1324a2_client=function(){this.executeServerEvent("'NOVO'",!0,null,!1,!1)};this.e1424a2_client=function(){this.executeServerEvent("'FECHAR'",!1,null,!1,!1)};this.e1524a2_client=function(){this.executeServerEvent("'IMPRIMIR'",!0,null,!1,!1)};this.e1624a2_client=function(){this.executeServerEvent("'PROCURAR'",!1,null,!1,!1)};this.e2424a2_client=function(){this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e2524a2_client=function(){this.executeServerEvent("CANCEL",!0,arguments[0],!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[2,5,8,11,13,16,18,21,23,24,25,30,33,36,38,40,42,44,46,49,51,52,56,57,58,59,60,61,62,63,64,71,72,73];this.GXLastCtrlId=73;this.GridContainer=new gx.grid.grid(this,2,"WbpLvl2",55,"Grid","Grid","GridContainer",this.CmpContext,this.IsMasterPage,"hatividade",[],!1,1,!1,!0,0,!1,!1,!1,"",0,"px","Novo registro",!0,!1,!1,null,null,!1,"",!1,[1,1,1,1]);t=this.GridContainer;t.addSingleLineEdit(10004,56,"ATIVIDADEID","","","AtividadeId","int",0,"px",3,3,"right",null,[],10004,"AtividadeId",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(10078,57,"ATIVIDADEDESCRICAOSERVICO","","","AtividadeDescricaoServico","svchar",0,"px",40,40,"left",null,[],10078,"AtividadeDescricaoServico",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("Atividadegrupoocoiddesc",58,"vATIVIDADEGRUPOOCOIDDESC","Grupo Ocorrência","","AtividadeGrupoOcoIDDesc","svchar",0,"px",40,40,"left",null,[],"Atividadegrupoocoiddesc","AtividadeGrupoOcoIDDesc",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("Atividadetipodescricao",59,"vATIVIDADETIPODESCRICAO"," Tipo","","AtividadeTipoDescricao","svchar",0,"px",20,20,"left",null,[],"Atividadetipodescricao","AtividadeTipoDescricao",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("Atividadetipoacumulacao",60,"vATIVIDADETIPOACUMULACAO","Tipo Acumulador","","AtividadeTipoAcumulacao","svchar",0,"px",15,15,"left",null,[],"Atividadetipoacumulacao","AtividadeTipoAcumulacao",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("Atividadedesconto",61,"vATIVIDADEDESCONTO","Valor","","AtividadeDesconto","decimal",0,"px",9,9,"right",null,[],"Atividadedesconto","AtividadeDesconto",!0,2,!1,!1,"Attribute",1,"");t.addBitmap("&Bmpalt","vBMPALT",62,0,"px",17,"px","e2124a2_client","","Alterar","Image","GridColumnImage");t.addBitmap("&Bmpexc","vBMPEXC",63,0,"px",17,"px","e2224a2_client","","Excluir","Image","GridColumnImage");t.addBitmap("&Bmpcon","vBMPCON",64,0,"px",17,"px","e2324a2_client","","Consultar","Image","GridColumnImage");this.setGrid(t);n[2]={fld:"TABLE2",grid:0};n[5]={fld:"TABLE9",grid:0};n[8]={fld:"TABLE10",grid:0};n[11]={fld:"TXTTITAPL1",format:0,grid:0};n[13]={lvl:0,type:"int",len:3,dec:0,sign:!1,pic:"ZZZ",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vATIVIDADEID",gxz:"ZV9AtividadeId",gxold:"OV9AtividadeId",gxvar:"AV9AtividadeId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV9AtividadeId=gx.num.intval(n)},v2z:function(n){gx.O.ZV9AtividadeId=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vATIVIDADEID",gx.O.AV9AtividadeId,0)},c2v:function(){gx.O.AV9AtividadeId=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vATIVIDADEID",".")},nac:gx.falseFn};n[16]={fld:"TXTTITAPL2",format:0,grid:0};n[18]={lvl:0,type:"svchar",len:40,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vATIVIDADEDESCRICAOSERVICO",gxz:"ZV5AtividadeDescricaoServico",gxold:"OV5AtividadeDescricaoServico",gxvar:"AV5AtividadeDescricaoServico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV5AtividadeDescricaoServico=n},v2z:function(n){gx.O.ZV5AtividadeDescricaoServico=n},v2c:function(){gx.fn.setControlValue("vATIVIDADEDESCRICAOSERVICO",gx.O.AV5AtividadeDescricaoServico,0)},c2v:function(){gx.O.AV5AtividadeDescricaoServico=this.val()},val:function(){return gx.fn.getControlValue("vATIVIDADEDESCRICAOSERVICO")},nac:gx.falseFn};n[21]={fld:"TXTTITAPL3",format:0,grid:0};n[23]={lvl:0,type:"int",len:2,dec:0,sign:!1,pic:"ZZ",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vATIVIDADEGRUPOOCOID",gxz:"ZV7AtividadeGrupoOcoId",gxold:"OV7AtividadeGrupoOcoId",gxvar:"AV7AtividadeGrupoOcoId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV7AtividadeGrupoOcoId=gx.num.intval(n)},v2z:function(n){gx.O.ZV7AtividadeGrupoOcoId=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vATIVIDADEGRUPOOCOID",gx.O.AV7AtividadeGrupoOcoId,0)},c2v:function(){gx.O.AV7AtividadeGrupoOcoId=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vATIVIDADEGRUPOOCOID",".")},nac:gx.falseFn};n[24]={fld:"PROMPTGRUPOOCO",grid:0};n[25]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vATIVIDADEGRUPOOCODESCRICAO",gxz:"ZV6AtividadeGrupoOcoDescricao",gxold:"OV6AtividadeGrupoOcoDescricao",gxvar:"AV6AtividadeGrupoOcoDescricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV6AtividadeGrupoOcoDescricao=n},v2z:function(n){gx.O.ZV6AtividadeGrupoOcoDescricao=n},v2c:function(){gx.fn.setControlValue("vATIVIDADEGRUPOOCODESCRICAO",gx.O.AV6AtividadeGrupoOcoDescricao,0)},c2v:function(){gx.O.AV6AtividadeGrupoOcoDescricao=this.val()},val:function(){return gx.fn.getControlValue("vATIVIDADEGRUPOOCODESCRICAO")},nac:gx.falseFn};n[30]={fld:"TABLE4",grid:0};n[33]={fld:"TABLE8",grid:0};n[36]={fld:"IMAGE2",grid:0};n[38]={fld:"BTNANTERIOR",grid:0};n[40]={fld:"BTNPROXIMO",grid:0};n[42]={fld:"IMAGE1",grid:0};n[44]={fld:"BTNHELP",grid:0};n[46]={fld:"TABLE5",grid:0};n[49]={fld:"TEXTBLOCK1",format:0,grid:0};n[51]={lvl:0,type:"int",len:4,dec:0,sign:!1,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPAGINA",gxz:"ZV32Pagina",gxold:"OV32Pagina",gxvar:"AV32Pagina",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(n){gx.O.AV32Pagina=gx.num.intval(n)},v2z:function(n){gx.O.ZV32Pagina=gx.num.intval(n)},v2c:function(){gx.fn.setComboBoxValue("vPAGINA",gx.O.AV32Pagina)},c2v:function(){gx.O.AV32Pagina=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPAGINA",".")},nac:gx.falseFn};n[52]={lvl:0,type:"int",len:4,dec:0,sign:!1,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPAGINAAUX",gxz:"ZV33PaginaAux",gxold:"OV33PaginaAux",gxvar:"AV33PaginaAux",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV33PaginaAux=gx.num.intval(n)},v2z:function(n){gx.O.ZV33PaginaAux=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPAGINAAUX",gx.O.AV33PaginaAux,0)},c2v:function(){gx.O.AV33PaginaAux=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPAGINAAUX",".")},nac:gx.falseFn};n[56]={lvl:2,type:"int",len:3,dec:0,sign:!1,pic:"ZZZ",ro:1,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"ATIVIDADEID",gxz:"Z10004AtividadeId",gxold:"O10004AtividadeId",gxvar:"A10004AtividadeId",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A10004AtividadeId=gx.num.intval(n)},v2z:function(n){gx.O.Z10004AtividadeId=gx.num.intval(n)},v2c:function(n){gx.fn.setGridControlValue("ATIVIDADEID",n||gx.fn.currentGridRowImpl(55),gx.O.A10004AtividadeId,0)},c2v:function(){gx.O.A10004AtividadeId=gx.num.intval(this.val())},val:function(n){return gx.fn.getGridIntegerValue("ATIVIDADEID",n||gx.fn.currentGridRowImpl(55),".")},nac:gx.falseFn};n[57]={lvl:2,type:"svchar",len:40,dec:0,sign:!1,ro:1,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"ATIVIDADEDESCRICAOSERVICO",gxz:"Z10078AtividadeDescricaoServico",gxold:"O10078AtividadeDescricaoServico",gxvar:"A10078AtividadeDescricaoServico",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.A10078AtividadeDescricaoServico=n},v2z:function(n){gx.O.Z10078AtividadeDescricaoServico=n},v2c:function(n){gx.fn.setGridControlValue("ATIVIDADEDESCRICAOSERVICO",n||gx.fn.currentGridRowImpl(55),gx.O.A10078AtividadeDescricaoServico,0)},c2v:function(){gx.O.A10078AtividadeDescricaoServico=this.val()},val:function(n){return gx.fn.getGridControlValue("ATIVIDADEDESCRICAOSERVICO",n||gx.fn.currentGridRowImpl(55))},nac:gx.falseFn};n[58]={lvl:2,type:"svchar",len:40,dec:0,sign:!1,ro:0,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vATIVIDADEGRUPOOCOIDDESC",gxz:"ZV8AtividadeGrupoOcoIDDesc",gxold:"OV8AtividadeGrupoOcoIDDesc",gxvar:"AV8AtividadeGrupoOcoIDDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.AV8AtividadeGrupoOcoIDDesc=n},v2z:function(n){gx.O.ZV8AtividadeGrupoOcoIDDesc=n},v2c:function(n){gx.fn.setGridControlValue("vATIVIDADEGRUPOOCOIDDESC",n||gx.fn.currentGridRowImpl(55),gx.O.AV8AtividadeGrupoOcoIDDesc,0)},c2v:function(){gx.O.AV8AtividadeGrupoOcoIDDesc=this.val()},val:function(n){return gx.fn.getGridControlValue("vATIVIDADEGRUPOOCOIDDESC",n||gx.fn.currentGridRowImpl(55))},nac:gx.falseFn};n[59]={lvl:2,type:"svchar",len:20,dec:0,sign:!1,ro:0,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vATIVIDADETIPODESCRICAO",gxz:"ZV11AtividadeTipoDescricao",gxold:"OV11AtividadeTipoDescricao",gxvar:"AV11AtividadeTipoDescricao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.AV11AtividadeTipoDescricao=n},v2z:function(n){gx.O.ZV11AtividadeTipoDescricao=n},v2c:function(n){gx.fn.setGridControlValue("vATIVIDADETIPODESCRICAO",n||gx.fn.currentGridRowImpl(55),gx.O.AV11AtividadeTipoDescricao,0)},c2v:function(){gx.O.AV11AtividadeTipoDescricao=this.val()},val:function(n){return gx.fn.getGridControlValue("vATIVIDADETIPODESCRICAO",n||gx.fn.currentGridRowImpl(55))},nac:gx.falseFn};n[60]={lvl:2,type:"svchar",len:15,dec:0,sign:!1,ro:0,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vATIVIDADETIPOACUMULACAO",gxz:"ZV10AtividadeTipoAcumulacao",gxold:"OV10AtividadeTipoAcumulacao",gxvar:"AV10AtividadeTipoAcumulacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.AV10AtividadeTipoAcumulacao=n},v2z:function(n){gx.O.ZV10AtividadeTipoAcumulacao=n},v2c:function(n){gx.fn.setGridControlValue("vATIVIDADETIPOACUMULACAO",n||gx.fn.currentGridRowImpl(55),gx.O.AV10AtividadeTipoAcumulacao,0)},c2v:function(){gx.O.AV10AtividadeTipoAcumulacao=this.val()},val:function(n){return gx.fn.getGridControlValue("vATIVIDADETIPOACUMULACAO",n||gx.fn.currentGridRowImpl(55))},nac:gx.falseFn};n[61]={lvl:2,type:"decimal",len:8,dec:2,sign:!1,pic:"ZZ,ZZ9.99",ro:0,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vATIVIDADEDESCONTO",gxz:"ZV41AtividadeDesconto",gxold:"OV41AtividadeDesconto",gxvar:"AV41AtividadeDesconto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV41AtividadeDesconto=gx.fn.toDecimalValue(n,",",".")},v2z:function(n){gx.O.ZV41AtividadeDesconto=gx.fn.toDecimalValue(n,".",",")},v2c:function(n){gx.fn.setGridDecimalValue("vATIVIDADEDESCONTO",n||gx.fn.currentGridRowImpl(55),gx.O.AV41AtividadeDesconto,2,",")},c2v:function(){gx.O.AV41AtividadeDesconto=this.val()},val:function(n){return gx.fn.getGridDecimalValue("vATIVIDADEDESCONTO",n||gx.fn.currentGridRowImpl(55),".",",")},nac:gx.falseFn};n[62]={lvl:2,type:"bits",len:1024,dec:0,sign:!1,ro:1,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vBMPALT",gxz:"ZV12bmpAlt",gxold:"OV12bmpAlt",gxvar:"AV12bmpAlt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV12bmpAlt=n},v2z:function(n){gx.O.ZV12bmpAlt=n},v2c:function(n){gx.fn.setGridMultimediaValue("vBMPALT",n||gx.fn.currentGridRowImpl(55),gx.O.AV12bmpAlt,gx.O.AV46Bmpalt_GXI)},c2v:function(){gx.O.AV46Bmpalt_GXI=this.val_GXI();gx.O.AV12bmpAlt=this.val()},val:function(n){return gx.fn.getGridControlValue("vBMPALT",n||gx.fn.currentGridRowImpl(55))},val_GXI:function(n){return gx.fn.getGridControlValue("vBMPALT_GXI",n||gx.fn.currentGridRowImpl(55))},gxvar_GXI:"AV46Bmpalt_GXI",nac:gx.falseFn};n[63]={lvl:2,type:"bits",len:1024,dec:0,sign:!1,ro:1,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vBMPEXC",gxz:"ZV15bmpExc",gxold:"OV15bmpExc",gxvar:"AV15bmpExc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV15bmpExc=n},v2z:function(n){gx.O.ZV15bmpExc=n},v2c:function(n){gx.fn.setGridMultimediaValue("vBMPEXC",n||gx.fn.currentGridRowImpl(55),gx.O.AV15bmpExc,gx.O.AV47Bmpexc_GXI)},c2v:function(){gx.O.AV47Bmpexc_GXI=this.val_GXI();gx.O.AV15bmpExc=this.val()},val:function(n){return gx.fn.getGridControlValue("vBMPEXC",n||gx.fn.currentGridRowImpl(55))},val_GXI:function(n){return gx.fn.getGridControlValue("vBMPEXC_GXI",n||gx.fn.currentGridRowImpl(55))},gxvar_GXI:"AV47Bmpexc_GXI",nac:gx.falseFn};n[64]={lvl:2,type:"bits",len:1024,dec:0,sign:!1,ro:1,isacc:0,grid:55,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vBMPCON",gxz:"ZV14bmpCon",gxold:"OV14bmpCon",gxvar:"AV14bmpCon",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV14bmpCon=n},v2z:function(n){gx.O.ZV14bmpCon=n},v2c:function(n){gx.fn.setGridMultimediaValue("vBMPCON",n||gx.fn.currentGridRowImpl(55),gx.O.AV14bmpCon,gx.O.AV48Bmpcon_GXI)},c2v:function(){gx.O.AV48Bmpcon_GXI=this.val_GXI();gx.O.AV14bmpCon=this.val()},val:function(n){return gx.fn.getGridControlValue("vBMPCON",n||gx.fn.currentGridRowImpl(55))},val_GXI:function(n){return gx.fn.getGridControlValue("vBMPCON_GXI",n||gx.fn.currentGridRowImpl(55))},gxvar_GXI:"AV48Bmpcon_GXI",nac:gx.falseFn};n[71]={lvl:0,type:"int",len:4,dec:0,sign:!1,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vORDEREDBY",gxz:"ZV31OrderedBy",gxold:"OV31OrderedBy",gxvar:"AV31OrderedBy",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV31OrderedBy=gx.num.intval(n)},v2z:function(n){gx.O.ZV31OrderedBy=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vORDEREDBY",gx.O.AV31OrderedBy,0)},c2v:function(){gx.O.AV31OrderedBy=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vORDEREDBY",".")},nac:gx.falseFn};n[72]={lvl:0,type:"int",len:2,dec:0,sign:!1,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vQTDECHAR",gxz:"ZV34QtdeChar",gxold:"OV34QtdeChar",gxvar:"AV34QtdeChar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV34QtdeChar=gx.num.intval(n)},v2z:function(n){gx.O.ZV34QtdeChar=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vQTDECHAR",gx.O.AV34QtdeChar,0)},c2v:function(){gx.O.AV34QtdeChar=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vQTDECHAR",".")},nac:gx.falseFn};n[73]={fld:"JSON",format:2,grid:0};this.AV9AtividadeId=0;this.ZV9AtividadeId=0;this.OV9AtividadeId=0;this.AV5AtividadeDescricaoServico="";this.ZV5AtividadeDescricaoServico="";this.OV5AtividadeDescricaoServico="";this.AV7AtividadeGrupoOcoId=0;this.ZV7AtividadeGrupoOcoId=0;this.OV7AtividadeGrupoOcoId=0;this.AV6AtividadeGrupoOcoDescricao="";this.ZV6AtividadeGrupoOcoDescricao="";this.OV6AtividadeGrupoOcoDescricao="";this.AV32Pagina=0;this.ZV32Pagina=0;this.OV32Pagina=0;this.AV33PaginaAux=0;this.ZV33PaginaAux=0;this.OV33PaginaAux=0;this.Z10004AtividadeId=0;this.O10004AtividadeId=0;this.Z10078AtividadeDescricaoServico="";this.O10078AtividadeDescricaoServico="";this.ZV8AtividadeGrupoOcoIDDesc="";this.OV8AtividadeGrupoOcoIDDesc="";this.ZV11AtividadeTipoDescricao="";this.OV11AtividadeTipoDescricao="";this.ZV10AtividadeTipoAcumulacao="";this.OV10AtividadeTipoAcumulacao="";this.ZV41AtividadeDesconto=0;this.OV41AtividadeDesconto=0;this.ZV12bmpAlt="";this.OV12bmpAlt="";this.ZV15bmpExc="";this.OV15bmpExc="";this.ZV14bmpCon="";this.OV14bmpCon="";this.AV31OrderedBy=0;this.ZV31OrderedBy=0;this.OV31OrderedBy=0;this.AV34QtdeChar=0;this.ZV34QtdeChar=0;this.OV34QtdeChar=0;this.AV9AtividadeId=0;this.AV5AtividadeDescricaoServico="";this.AV7AtividadeGrupoOcoId=0;this.AV6AtividadeGrupoOcoDescricao="";this.AV32Pagina=0;this.AV33PaginaAux=0;this.AV31OrderedBy=0;this.AV34QtdeChar=0;this.A10079AtividadeGrupoOcoDescricao="";this.A10083AtividadeTipo="";this.A10084AtividadeTipoAcumulacao="";this.A10077AtividadeDesconto=0;this.A10006AtividadeGrupoOcoId=0;this.A10003AtividadeEmpresaId="";this.A10005AtividadeGrupoOcoEmpId="";this.A10004AtividadeId=0;this.A10078AtividadeDescricaoServico="";this.AV8AtividadeGrupoOcoIDDesc="";this.AV11AtividadeTipoDescricao="";this.AV10AtividadeTipoAcumulacao="";this.AV41AtividadeDesconto=0;this.AV12bmpAlt="";this.AV15bmpExc="";this.AV14bmpCon="";this.AV17EmpresaPadrao="";this.AV38SnRecuperaFiltro="";this.Events={e1124a2_client:["'ANTERIOR'",!0],e1224a2_client:["'PROXIMO'",!0],e2124a2_client:["'ALTERAR'",!0],e2224a2_client:["'EXCLUIR'",!0],e2324a2_client:["'CONSULTAR'",!0],e1724a2_client:["VPAGINA.CLICK",!0],e1324a2_client:["'NOVO'",!0],e1424a2_client:["'FECHAR'",!0],e1524a2_client:["'IMPRIMIR'",!0],e1624a2_client:["'PROCURAR'",!0],e2424a2_client:["ENTER",!0],e2524a2_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"}],[]];this.EvtParms["GRID.REFRESH"]=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"}],[{ctrl:"ATIVIDADEID",prop:"Titleformat"},{av:'gx.fn.getCtrlProperty("ATIVIDADEID","Title")',ctrl:"ATIVIDADEID",prop:"Title"},{av:"AV22Imagem",fld:"vIMAGEM"},{ctrl:"ATIVIDADEDESCRICAOSERVICO",prop:"Titleformat"},{av:'gx.fn.getCtrlProperty("ATIVIDADEDESCRICAOSERVICO","Title")',ctrl:"ATIVIDADEDESCRICAOSERVICO",prop:"Title"},{av:"AV33PaginaAux",fld:"vPAGINAAUX"},{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV29NumPagina",fld:"vNUMPAGINA"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:'gx.fn.getCtrlProperty("BTNANTERIOR","Enabled")',ctrl:"BTNANTERIOR",prop:"Enabled"},{av:'gx.fn.getCtrlProperty("BTNPROXIMO","Enabled")',ctrl:"BTNPROXIMO",prop:"Enabled"},{av:"AV19filtros",fld:"vFILTROS"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV31OrderedBy",fld:"vORDEREDBY"}]];this.EvtParms["'ANTERIOR'"]=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"},{av:"AV32Pagina",fld:"vPAGINA"}],[{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["'PROXIMO'"]=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"},{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV33PaginaAux",fld:"vPAGINAAUX"}],[{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["GRID.LOAD"]=[[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"}],[{av:"AV12bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:'gx.fn.getCtrlProperty("vBMPALT","Link")',ctrl:"vBMPALT",prop:"Link"},{av:"AV15bmpExc",fld:"vBMPEXC"},{av:'gx.fn.getCtrlProperty("vBMPEXC","Tooltiptext")',ctrl:"vBMPEXC",prop:"Tooltiptext"},{av:'gx.fn.getCtrlProperty("vBMPEXC","Link")',ctrl:"vBMPEXC",prop:"Link"},{av:"AV14bmpCon",fld:"vBMPCON"},{av:'gx.fn.getCtrlProperty("vBMPCON","Tooltiptext")',ctrl:"vBMPCON",prop:"Tooltiptext"},{av:'gx.fn.getCtrlProperty("vBMPCON","Link")',ctrl:"vBMPCON",prop:"Link"},{av:"AV8AtividadeGrupoOcoIDDesc",fld:"vATIVIDADEGRUPOOCOIDDESC"},{av:"AV11AtividadeTipoDescricao",fld:"vATIVIDADETIPODESCRICAO"},{av:"AV10AtividadeTipoAcumulacao",fld:"vATIVIDADETIPOACUMULACAO"},{av:"AV41AtividadeDesconto",fld:"vATIVIDADEDESCONTO"}]];this.EvtParms["'ALTERAR'"]=[[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV31OrderedBy",fld:"vORDEREDBY"}],[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["'EXCLUIR'"]=[[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV31OrderedBy",fld:"vORDEREDBY"}],[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["'CONSULTAR'"]=[[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV31OrderedBy",fld:"vORDEREDBY"}],[{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["VPAGINA.CLICK"]=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"},{av:"AV32Pagina",fld:"vPAGINA"}],[{av:"AV19filtros",fld:"vFILTROS"}]];this.EvtParms["'NOVO'"]=[[],[]];this.EvtParms["'FECHAR'"]=[[],[]];this.EvtParms["'IMPRIMIR'"]=[[{av:"AV44Pgmname",fld:"vPGMNAME"},{av:"AV45Pgmdesc",fld:"vPGMDESC"}],[{av:"AV28NomeRelativo",fld:"vNOMERELATIVO"},{av:"AV27NomeAbsoluto",fld:"vNOMEABSOLUTO"},{av:"AV35QtdPagGeradas",fld:"vQTDPAGGERADAS"}]];this.EvtParms["'PROCURAR'"]=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV9AtividadeId",fld:"vATIVIDADEID"},{av:"AV5AtividadeDescricaoServico",fld:"vATIVIDADEDESCRICAOSERVICO"},{av:"AV7AtividadeGrupoOcoId",fld:"vATIVIDADEGRUPOOCOID"},{av:"AV31OrderedBy",fld:"vORDEREDBY"},{av:"AV17EmpresaPadrao",fld:"vEMPRESAPADRAO"},{av:"AV38SnRecuperaFiltro",fld:"vSNRECUPERAFILTRO"},{av:"A10004AtividadeId",fld:"ATIVIDADEID"},{av:"A10006AtividadeGrupoOcoId",fld:"ATIVIDADEGRUPOOCOID"},{av:"A10079AtividadeGrupoOcoDescricao",fld:"ATIVIDADEGRUPOOCODESCRICAO"},{av:"A10083AtividadeTipo",fld:"ATIVIDADETIPO"},{av:"A10084AtividadeTipoAcumulacao",fld:"ATIVIDADETIPOACUMULACAO"},{av:"A10077AtividadeDesconto",fld:"ATIVIDADEDESCONTO"},{av:"AV32Pagina",fld:"vPAGINA"}],[{av:"AV32Pagina",fld:"vPAGINA"},{av:"AV19filtros",fld:"vFILTROS"}]];this.setPrompt("PROMPTGRUPOOCO",[23]);this.setVCMap("AV17EmpresaPadrao","vEMPRESAPADRAO",0,"char");this.setVCMap("AV38SnRecuperaFiltro","vSNRECUPERAFILTRO",0,"char");this.setVCMap("A10006AtividadeGrupoOcoId","ATIVIDADEGRUPOOCOID",0,"int");this.setVCMap("A10079AtividadeGrupoOcoDescricao","ATIVIDADEGRUPOOCODESCRICAO",0,"svchar");this.setVCMap("A10083AtividadeTipo","ATIVIDADETIPO",0,"svchar");this.setVCMap("A10084AtividadeTipoAcumulacao","ATIVIDADETIPOACUMULACAO",0,"svchar");this.setVCMap("A10077AtividadeDesconto","ATIVIDADEDESCONTO",0,"decimal");this.setVCMap("AV17EmpresaPadrao","vEMPRESAPADRAO",0,"char");this.setVCMap("AV38SnRecuperaFiltro","vSNRECUPERAFILTRO",0,"char");this.setVCMap("A10006AtividadeGrupoOcoId","ATIVIDADEGRUPOOCOID",0,"int");this.setVCMap("A10079AtividadeGrupoOcoDescricao","ATIVIDADEGRUPOOCODESCRICAO",0,"svchar");this.setVCMap("A10083AtividadeTipo","ATIVIDADETIPO",0,"svchar");this.setVCMap("A10084AtividadeTipoAcumulacao","ATIVIDADETIPOACUMULACAO",0,"svchar");this.setVCMap("A10077AtividadeDesconto","ATIVIDADEDESCONTO",0,"decimal");t.addRefreshingVar(this.GXValidFnc[13]);t.addRefreshingVar(this.GXValidFnc[18]);t.addRefreshingVar(this.GXValidFnc[23]);t.addRefreshingVar(this.GXValidFnc[71]);t.addRefreshingVar({rfrVar:"AV17EmpresaPadrao"});t.addRefreshingVar({rfrVar:"AV38SnRecuperaFiltro"});t.addRefreshingVar({rfrVar:"A10004AtividadeId",rfrProp:"Value",gxAttId:"10004"});t.addRefreshingVar({rfrVar:"A10006AtividadeGrupoOcoId"});t.addRefreshingVar({rfrVar:"A10079AtividadeGrupoOcoDescricao"});t.addRefreshingVar({rfrVar:"A10083AtividadeTipo"});t.addRefreshingVar({rfrVar:"A10084AtividadeTipoAcumulacao"});t.addRefreshingVar({rfrVar:"A10077AtividadeDesconto"});this.InitStandaloneVars()});gx.setParentObj(new hatividade) | 9,566.333333 | 28,623 | 0.772884 |
2221599a4248fe11ecf7daaff716492deaadd0fa | 440 | js | JavaScript | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | 4 | 2021-12-19T11:35:29.000Z | 2021-12-28T18:00:35.000Z | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | null | null | null | server/models/cinema-model.js | onely6721/multiplex_clone | f10764d68a168480216e368141da0479957a1ec2 | [
"MIT"
] | null | null | null | const {Schema, model, Types} = require('mongoose');
const CinemaSchema = new Schema({
name: {
type: String,
required: true
},
address: {
type: String,
required: true
},
city: {
type: String,
required: true,
enum: ["Chernihiv", "Kiev", "Lviv", "Odessa", "Kharkiv"]
},
image: {
type:String
}
})
module.exports = model('Cinema', CinemaSchema); | 18.333333 | 64 | 0.518182 |
2224608bbdd9fb349fdc63e1756462ebe026512f | 141 | js | JavaScript | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null | src/config.js | Kchymet/hello-frontend | 2bf50f19959c7b89e66ddb7af96f882d461d1870 | [
"Unlicense"
] | null | null | null |
module.exports = {
backendHost: process.env.BACKEND_HOST,
backendPort: process.env.BACKEND_PORT,
port: process.env.LOCAL_PORT
}; | 23.5 | 42 | 0.730496 |
222589b85cf256d3b94fc6570fb6f9fbe1c84396 | 1,317 | js | JavaScript | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | src/random/random.js | davide97g/utils | ad5c588378f082bbaf10751061884d2cbfdfd69f | [
"MIT"
] | null | null | null | /**
* @name randf
* @description
* Generate a random float between `a` and `b` (`b` excluded)
* @param {Number} a lower bound value
* @param {Number} b upper bound value
*/
function randf(a, b) {
return Math.random() * (b - a) + a;
}
/**
* @name randi
* @description
* Generate a random integer between `a` and `b` (`b` excluded)
* @param {Number} a lower bound value
* @param {Number} b upper bound value
*/
function randi(a, b) {
return Math.floor(Math.random() * (b - a) + a);
}
/**
* @name randiArray
* @description
* Generate an array of `N` elements filled with random integer between `a` and `b`
* @param {Number} a lower bound value
* @param {Number} b upper bound value
* @param {Number} N number of elements
*/
function randiArray(a, b, N) {
let v = [];
for (let i = 0; i < N; i++) v.push(randi(a, b));
return v;
}
/**
* @name randfArray
* @description
* Generate an array of `N` elements filled with random float between `a` and `b`
* @param {Number} a lower bound value
* @param {Number} b upper bound value
* @param {Number} N number of elements
*/
function randfArray(a, b, N) {
let v = [];
for (let i = 0; i < N; i++) v.push(randf(a, b));
return v;
}
module.exports = {
randf: randf,
randi: randi,
randiArray: randiArray,
randfArray: randfArray
};
| 23.105263 | 83 | 0.627183 |
22277ad66a934dc0f11f76f68e731075dd46eebb | 5,805 | js | JavaScript | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | src/Projects.js | santiaago/gh-srw | 5a508e946067a943964569745c0e244d1a75a375 | [
"MIT"
] | null | null | null | import React, { useContext, useState } from "react"
import UserContext from "./UserContext"
import { Loading, Error } from "./Messages"
import useProjects from "./hooks/useProjects"
import useColumns from "./hooks/useColumns"
import useCards from "./hooks/useCards"
import useCardInfo from "./hooks/useCardInfo"
import { makeStyles } from "@material-ui/core/styles"
import Box from "@material-ui/core/Box"
import Grid from "@material-ui/core/Grid"
import List from "@material-ui/core/List"
import ListItem from "@material-ui/core/ListItem"
import ListItemText from "@material-ui/core/ListItemText"
import Typography from "@material-ui/core/Typography"
const ProjectList = ({ org, repo, onSelected }) => {
const userctx = useContext(UserContext)
const { projects, isLoading, error } = useProjects(org, repo, userctx.token)
const [selectedIndex, setSelectedIndex] = React.useState(-1)
if (isLoading) return <Loading resource="projects" />
if (error) return <Error resource="projects" error={error} />
const onProjectClicked = (p, i) => {
setSelectedIndex(i)
onSelected(p)
}
return (
<List component="nav" aria-label="secondary" dense>
{projects.map((p, i) => (
<ListItem
button
key={`list-project-${p.id}`}
selected={i === selectedIndex}
onClick={() => onProjectClicked(p, i)}
>
<ListItemText primary={p.name} />
</ListItem>
))}
</List>
)
}
const ColumnsList = ({ url, onColumnSelected }) => {
const userctx = useContext(UserContext)
const { columns, isLoading, error } = useColumns(url, userctx.token)
const [selectedIndex, setSelectedIndex] = React.useState(-1)
if (isLoading) return <Loading resource="columns" />
if (error) return <Error resource="columns" error={error} />
const onColumnClicked = (c, i) => {
setSelectedIndex(i)
onColumnSelected(c)
}
return (
<List component="nav" aria-label="secondary" dense>
{columns.map((c, i) => (
<ListItem
button
key={`list-cols-${c.id}`}
selected={i === selectedIndex}
onClick={() => onColumnClicked(c, i)}
>
<ListItemText primary={c.name} />
</ListItem>
))}
</List>
)
}
const CardsList = ({ url }) => {
const userctx = useContext(UserContext)
const { cards, isLoading, error } = useCards(url, userctx.token)
if (isLoading) return <Loading resource="cards" />
if (error) return <Error resource="cards" error={error} />
return (
<List component="nav" aria-label="secondary" dense>
{cards.map((c, i) => (
<ListItem button key={`list-card-${c.id}`}>
{c.content_url ? (
<IssueCardInfo key={`card-${c.id}`} url={c.content_url} />
) : (
<CardInfo key={`card-${c.id}`} url={c.url} />
)}
</ListItem>
))}
</List>
)
}
const IssueCardInfo = ({ url }) => {
const userctx = useContext(UserContext)
const { info, isLoading, error } = useCardInfo(url, userctx.token)
if (isLoading) {
return (
<Typography variant="body2" gutterBottom>
<Loading resource="card info" />
</Typography>
)
}
if (error) {
return (
<Typography variant="body2" gutterBottom>
<Error resource="card info" error={error} />
</Typography>
)
}
return (
<Typography variant="body2" gutterBottom>
{info.title}
</Typography>
)
}
const CardInfo = ({ url }) => {
const userctx = useContext(UserContext)
const { info, isLoading, error } = useCardInfo(url, userctx.token)
if (isLoading) {
return (
<Typography variant="body2" gutterBottom>
<Loading resource="card info" />
</Typography>
)
}
if (error) {
return (
<Typography variant="body2" gutterBottom>
<Error resource="card info" error={error} />
</Typography>
)
}
return (
<Typography variant="body2" gutterBottom>
{info.note}
</Typography>
)
}
const ProjectCards = ({ col }) => {
return (
<Box>
<Typography variant="h6" gutterBottom>
Cards of {col.name}
</Typography>
<CardsList url={col.cards_url} />
</Box>
)
}
const ProjectSection = ({ project, onColumnSelected }) => {
return (
<Box>
<ColumnsList
url={project.columns_url}
onColumnSelected={onColumnSelected}
/>
</Box>
)
}
const useStyles = makeStyles((theme) => ({
container: {
paddingTop: theme.spacing(6),
paddingBottom: theme.spacing(12),
},
}))
const Projects = ({ org, repo }) => {
const classes = useStyles()
const [project, setProject] = useState()
const [col, setCol] = useState()
const onProjectSelected = (project) => {
setProject(project)
}
const onColumnSelected = (col) => {
setCol(col)
}
return (
<React.Fragment>
<Grid container spacing={3} className={classes.container}>
<Grid item xs={12}>
<Typography variant="h5" gutterBottom>
Projects:
</Typography>
<Grid container spacing={3}>
<Grid item xs={6} sm={4} md={3} lg={2}>
<ProjectList
org={org}
repo={repo}
onSelected={onProjectSelected}
/>
</Grid>
<Grid item xs={6} sm={4} md={3} lg={2}>
{project && (
<ProjectSection
project={project}
onColumnSelected={onColumnSelected}
/>
)}
</Grid>
<Grid item xs={12} sm={10} lg={8}>
{col && <ProjectCards col={col} />}
</Grid>
</Grid>
</Grid>
</Grid>
</React.Fragment>
)
}
export default Projects
| 26.03139 | 78 | 0.578122 |
2229652e31f3e1df2e6f9337a520ebf8a45eadb4 | 972 | js | JavaScript | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | 1 | 2021-09-28T06:07:34.000Z | 2021-09-28T06:07:34.000Z | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | null | null | null | web/src/App.js | keeperSpot/shop | 3943b724a83ec44d36f5a0dad19e8f9b57923548 | [
"Unlicense"
] | null | null | null | import React from 'react';
import './App.css';
import { Provider } from 'react-redux';
import storage from 'localforage';
import { PersistGate } from 'redux-persist/integration/react';
import { getStore } from 'common/reducers';
import { Initial } from 'components/Initial';
import { getStorage } from 'common/storage';
import { notify } from 'helpers/alert';
import { css } from 'styles';
import { PrivateRoutes } from 'navigation/PrivateRoutes';
import { PublicRoutes } from 'navigation/publicRoutes';
const { store, persistor } = getStore(storage);
window.persistor = persistor;
window.storage = getStorage(window.localStorage);
window.notify = notify;
window.css = css;
const isAuth = false;
const App = () => (
<Provider store={store}>
<PersistGate loading={<div>Loading...</div>} persistor={persistor}>
<>
<Initial />
{isAuth?<PrivateRoutes />:<PublicRoutes />}
</>
</PersistGate>
</Provider>
);
export default App;
| 24.3 | 71 | 0.685185 |
222982de35827462e6579784f74471b57626f6b4 | 891 | js | JavaScript | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | resources/assets/lib/tinymce/plugins/math/config.js | dcat-admin-ext/tinymce-mathjax | 3544c4b14fd7945a0319b77907ade19582280f92 | [
"MIT"
] | null | null | null | let className = 'math-tex';
if (document.currentScript) {
let urlParts = document.currentScript.getAttribute('src').split('?');
if (urlParts[1]) {
let queryParams = urlParts[1].split('&');
for (let i = 0; i < queryParams.length; i++) {
let param = queryParams[i].split('=');
if (param[0] === 'class') {
className = param[1];
break;
}
}
}
}
MathJax = {
options: {
enableMenu: false,
processHtmlClass: className,
ignoreHtmlClass: '.*',
a11y: {
speech: false,
braille: false,
subtitles: false
}
},
tex: {
macros: {
arcsec: '\\DeclareMathOperator{\\arcsec}{arcsec}\\arcsec',
arccsc: '\\DeclareMathOperator{\\arccsc}{arccsc}\\arccsc',
arccot: '\\DeclareMathOperator{\\arccot}{arccot}\\arccot'
}
}
};
| 26.205882 | 71 | 0.523008 |
222a0c6ba7da60fbbad153bb78168c85eb0a5f18 | 431 | js | JavaScript | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | Algorithms/selectionSort.js | qiuhuachuan/Data-Structures-and-Algorithms-in-JavaScript | 16320dbc793eda17336d4ad383330ee8a2130b9c | [
"MIT"
] | null | null | null | /**
*
* @param {Array} array
*/
function selectionSort(array) {
for (let i = 0; i < array.length - 1; i++) {
let minValue = array[i];
let minIndex = i;
for (let j = i + 1; j < array.length; j++) {
if (minValue > array[j]) {
minValue = array[j];
minIndex = j;
}
}
if (i != minIndex) {
[array[i], array[minIndex]] = [array[minIndex], array[i]];
}
}
return array;
}
| 19.590909 | 64 | 0.4942 |
222c3ecc2fded142e32a2de987e30067129254e3 | 13,954 | js | JavaScript | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | 1 | 2020-05-23T08:10:43.000Z | 2020-05-23T08:10:43.000Z | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | null | null | null | js/algorithms.js | ermel272/convex-hull-animations | 029a25b878e9a839dc0278a1f48f5c9809aaf518 | [
"MIT"
] | null | null | null | var refEdgeColor = "rgba(0, 0, 255, 0.5)"
var checkEdgeColor = "rgba(255, 0, 0, 0.5)"
var hullEdgeColor = "rgba(0, 255, 0, 0.5)"
var edges = []
/**
* Removes all edges from the canvas
*/
function clearHull(two) {
if (edges.length == 0) { return }
for (var i in edges) {
two.remove(edges[i])
}
}
/**
* Draws an edge onto the canvas
*/
function createEdge(two, color, v1, v2) {
edge = two.makeLine(v1.x, v1.y, v2.x, v2.y)
edge.linewidth = 3
edge.stroke = color
edge.scale = 0.0
edges.push(edge)
return edge
}
/**
* Determines if v1 -> v2 -> v3 is a left turn
*/
function leftTurn(v1, v2, v3) {
det = (v2.x - v1.x) * (v3.y - v1.y) - (v2.y - v1.y) * (v3.x - v1.x)
return det < 0
}
/**
* Determines if v1 -> v2 -> v3 is a right turn
*/
function rightTurn(v1, v2, v3) {
det = (v2.x - v1.x) * (v3.y - v1.y) - (v2.y - v1.y) * (v3.x - v1.x)
return det > 0
}
function findLeftmostPoint(vertices) {
leftMost = vertices[0]
for (var i in vertices) {
if (vertices[i].x < leftMost.x) { leftMost = vertices[i] }
}
return leftMost
}
function findRightmostPoint(vertices) {
rightMost = vertices[0]
for (var i in vertices) {
if (vertices[i].x > rightMost.x) { rightMost = vertices[i] }
}
return rightMost
}
/**
* Sorts vertices into an array based on whether or not
* they form a right or left turn with line ab
*/
function sortVertices(vertices, a, b, turn) {
v = []
for (var i in vertices) {
if (turn(a, b, vertices[i])) { v.push(vertices[i]) }
}
return v
}
/**
* Returns the distance from point v to the line
* going throughs points p1 and p2
*/
function lineDistance(p1, p2, v) {
num = Math.abs(
((p2.y - p1.y) * v.x) - ((p2.x - p1.x) * v.y) + (p2.x * p1.y) - (p2.y * p1.x)
)
den = Math.sqrt(
(p2.y - p1.y)**2 + (p2.x - p1.x)**2
)
return num / den
}
/**
* Colours all edges
*/
function colorEdges(color) {
for (var i in edges) {
edges[i].stroke = color
}
}
/**
* Gets the execution speed from the DOM
*/
function getSpeed() {
speed = document.getElementById('speed').value
return speed / 100
}
/**
* Quick Hull convex hull algorithm.
* Written using pseudocode from http://www.cse.yorku.ca/~aaw/Hang/quick_hull/Algorithm.html
*/
var quickHull = {
execute : function(vertices, two) {
pauseButton = document.getElementById("pause");
pauseButton.disabled = false
// Clear the previous hull, if it exists
clearHull(two)
// Sort vertices into upper and lower components
a = findLeftmostPoint(vertices)
b = findRightmostPoint(vertices)
upperVertices = sortVertices(vertices, a, b, leftTurn)
lowerVertices = sortVertices(vertices, a, b, rightTurn)
// Create an execution queue to handle the recursive animation
execQueue = []
function findHull(points, a, b, upper, oldEdge) {
if (points.length === 0) {
// We have reached the base case - we know this edge is on the convex hull
oldEdge.stroke = hullEdgeColor
if (execQueue.length != 0) {
// We still have more recursions queued up
findHull(...execQueue.shift())
return
}
// Nothing else to do
pauseButton.disabled = true
return
}
oldEdge.stroke = refEdgeColor
furthest = quickHull.findFurthestPoint(points, a, b)
// Create the quick hull triangle
edge1 = createEdge(two, checkEdgeColor, a, furthest)
edge2 = createEdge(two, checkEdgeColor, furthest, b)
two.bind('update', function(frameCount) {
if (edge1.scale < 0.9999) {
var t = (1 - edge1.scale) * getSpeed();
edge1.scale += t;
edge2.scale += t;
} else {
two.unbind('update')
// Whether we check right of left turns depends on if we are
// dealing with points on the upper or lower component of the hull
if (upper) {
leftPoints = sortVertices(points, a, furthest, leftTurn)
rightPoints = sortVertices(points, b, furthest, rightTurn)
} else {
leftPoints = sortVertices(points, a, furthest, rightTurn)
rightPoints = sortVertices(points, b, furthest, leftTurn)
}
// Add these parameters to the execution queue
execQueue.push([leftPoints, a, furthest, upper, edge1])
execQueue.push([rightPoints, furthest, b, upper, edge2])
// Remove the edge that is not on the convex hull
two.remove(oldEdge)
// Execute the next thing in line in the queue
findHull(...execQueue.shift())
}
}).play();
}
// Create initial edges and add to exec queue
refEdge1 = createEdge(two, refEdgeColor, a, b)
refEdge2 = createEdge(two, refEdgeColor, a, b)
execQueue.push([upperVertices, a, b, true, refEdge1])
execQueue.push([lowerVertices, a, b, false, refEdge2])
two.bind('update', function(frameCount) {
if (refEdge1.scale < 0.9999) {
var t = (1 - refEdge1.scale) * getSpeed();
refEdge1.scale += t;
refEdge2.scale += t;
} else {
two.unbind('update')
findHull(...execQueue.shift())
}
}).play();
},
/*
* Finds the furthest point from the line going throughs
* a & b in the input points array
*/
findFurthestPoint : function(points, a, b) {
furthest = points[0]
furthestDist = lineDistance(a, b, points[0])
for (var i in points) {
dist = lineDistance(a, b, points[i])
if (dist > furthestDist) {
furthestDist = dist
furthest = points[i]
}
}
return furthest
}
}
/**
* Graham Scan convex hull algorithm.
* Written using pseudocode seen in the Fall 2017 offering of COMP 5008 at Carleton University.
* A similar pseudocode implementation is given in chapter 33.3 of Introduction to Algorithms (Third Edition).
*/
var grahamScan = {
execute : function(vertices, two) {
pauseButton = document.getElementById("pause");
pauseButton.disabled = false
// Clear the previous hull, if it exists
clearHull(two)
// Sort vertices into upper and lower components
a = findLeftmostPoint(vertices)
b = findRightmostPoint(vertices)
upperVertices = sortVertices(vertices, a, b, leftTurn)
lowerVertices = sortVertices(vertices, a, b, rightTurn)
// Sort upper and lower components in order increasing by x coordinate
upperVertices.sort(grahamScan.xCompare)
lowerVertices.sort(grahamScan.xCompare)
// Ensure a & b are at the front and rear of their component arrays
upperVertices.unshift(a)
upperVertices.push(b)
lowerVertices.unshift(a)
lowerVertices.push(b)
function point_step(points, turn, i, init) {
if (init) {
// Initialize the stack
stack = []
stack.push(points[points.length - 1])
stack.push(points[0])
stack.push(points[1])
}
/**
* Base case animation behaviour
*/
function baseCase() {
// Base case - we know all the edges are on hull, so color them
colorEdges(hullEdgeColor)
// Compute the second half of the hull if only the first half has been done
if (turn === leftTurn) {
point_step(lowerVertices, rightTurn, 1, true)
} else {
pauseButton.disabled = true
}
}
alpha = stack[stack.length - 1]
beta = stack[stack.length - 2]
if (i === 1) {
edge = createEdge(two, refEdgeColor, beta, alpha)
two.bind('update', function(frameCount) {
if (edge.scale < 0.9999) {
var t = (1 - edge.scale) * getSpeed();
edge.scale += t;
} else if (points.length === 2) {
// Base case - since hull component only has two points
two.unbind('update')
baseCase()
} else {
two.unbind('update')
iter_step(points, stack, alpha, beta, turn, i + 1)
}
}).play();
} else if (i === points.length - 1) {
// Base case - since we have iterated over all component points
baseCase()
} else {
iter_step(points, stack, alpha, beta, turn, i + 1)
}
}
function iter_step(points, stack, alpha, beta, turn, j) {
edge = createEdge(two, checkEdgeColor, points[j], alpha)
two.bind('update', function(frameCount) {
if (edge.scale < 0.9999) {
var t = (1 - edge.scale) * getSpeed();
edge.scale += t;
} else {
two.unbind('update')
// Check if a left or right turn is formed
if (turn(points[j], alpha, beta)) {
stack.push(points[j])
edge.stroke = refEdgeColor
point_step(points, turn, j, false)
} else {
stack.pop()
// Remove the last two edges created
two.remove(edges.pop())
two.remove(edges.pop())
iter_step(points, stack, beta, stack[stack.length - 2], turn, j)
}
}
}).play();
}
point_step(upperVertices, leftTurn, 1, true)
},
xCompare : function(a, b) {
if (a.x < b.x) { return -1 }
if (a.x > b.x) { return 1 }
return 0
}
}
/**
* Gift Wrapping/Jarvis March convex hull algorithm.
* Written using pseudocode seen at https://en.wikipedia.org/wiki/Gift_wrapping_algorithm
*/
var giftWrap = {
execute : function(vertices, two) {
pauseButton = document.getElementById("pause");
pauseButton.disabled = false
// Clear the previous hull, if it exists
clearHull(two)
var hull = []
var hullPoint = findLeftmostPoint(vertices)
var endpoint = null
function point_step(i) {
// Executes the loop iteration fixed from a known point on the convex hull
hull[i] = hullPoint
// Base case - we have wrapped all the way around
if (endpoint === hull[0]) {
pauseButton.disabled = true
return
}
endpoint = vertices[0]
// Create the reference edge
edge = createEdge(two, refEdgeColor, hull[i], endpoint)
two.bind('update', function(frameCount) {
if (edge.scale < 0.9999) {
var t = (1 - edge.scale) * getSpeed();
edge.scale += t;
} else {
two.unbind('update')
iter_step(edge, 1, i)
}
}).play();
}
function iter_step(edge, j, i) {
// Base case - go back to point step
if (j == vertices.length) {
hullPoint = endpoint
edge.stroke = hullEdgeColor
point_step(i + 1)
return
}
// Iterates over all vertices, trying to find the next known convex hull point
vertex = vertices[j]
// Create the candidate edge
edge2 = createEdge(two, checkEdgeColor, hull[i], vertex)
two.bind('update', function(frameCount) {
if (edge2.scale < 0.9999) {
var t = (1 - edge2.scale) * getSpeed();
edge2.scale += t;
} else {
two.unbind('update')
if ((endpoint === hullPoint) || (leftTurn(hullPoint, endpoint, vertex))) {
// Point is to the left of reference line
endpoint = vertex
two.remove(edge)
edge2.stroke = refEdgeColor
iter_step(edge2, j + 1, i)
} else {
// Point is to the right of or colinear to the reference line
two.remove(edge2)
iter_step(edge, j + 1, i)
}
}
}).play();
}
point_step(0)
}
}
| 32.679157 | 109 | 0.484306 |
222da30595bc0a85f860d79757dd6dc31a2c47e0 | 580 | js | JavaScript | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | null | null | null | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | 1 | 2020-04-06T05:14:27.000Z | 2020-04-06T05:14:27.000Z | src/pages/404.js | AimHigher-Web-Design/techtrails-toolkit | 74f52e2e690c71796a11f6114a016cf3b478e33b | [
"MIT"
] | 1 | 2020-05-20T08:42:44.000Z | 2020-05-20T08:42:44.000Z | import React, { Fragment } from 'react'
import { graphql, Link } from 'gatsby'
import Layout from '../components/layout'
// import NotFound from '../img/fourohfour.svg'
export default class FourOhFour extends React.Component {
render() {
return (
<Layout>
<h1>Page Not Found</h1>
<div className="error-404">
{/* <NotFound /> */}
<p>
Looks like that page doesn't exist anymore or has moved. Try going back to
the <a href="/">home page</a> or selecting one of the options from our menu
instead.
</p>
</div>
</Layout>
)
}
}
| 24.166667 | 81 | 0.625862 |
222f5e2435999142471e45d62cbb3911de925b48 | 3,979 | js | JavaScript | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | 1 | 2018-06-10T18:57:33.000Z | 2018-06-10T18:57:33.000Z | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | null | null | null | src/app/shared/services/examTerm.service.js | matejklemen/sis-frontend | 681bea4888631864ea58250cbbc4ce5314a07e9c | [
"Apache-2.0"
] | null | null | null | (function() {
var examTermService = function($http) {
var sendExamTerm = function(body) {
return $http.put(apiBaseRoute + '/api/course-exam-term', body);
};
var updateExamTerm = function(body) {
return $http.post(apiBaseRoute + '/api/course-exam-term', body);
};
var getExamTermById = function(idCourseExamTerm) {
return $http.get(apiBaseRoute + '/api/course-exam-term/' + idCourseExamTerm);
};
var getAllExamTerms = function(offset, limit, idOrganizer, idStudyYear) {
// if any of the arguments won't be provided, they will be set to some default value
offset = offset || 0;
limit = limit || 0;
idOrganizer = idOrganizer || 0;
idStudyYear = idStudyYear || 0;
if(offset < 0)
offset = 0;
if(limit < 0)
limit = 0;
if(idOrganizer < 0)
idOrganizer = 0;
if(idStudyYear < 0)
idStudyYear = 0;
var offsetPart = offset != 0? '&offset=' + offset: '';
var limitPart = limit != 0? '&limit=' + limit: '';
var studyYearPart = idStudyYear != 0? ' courseOrganization.studyYear.id:EQ:' + idStudyYear: '';
var orderPart = '&order=datetime DESC';
return $http.get(apiBaseRoute + '/api/course-exam-term?organizerId=' + idOrganizer + '&filter=deleted:EQ:false' + studyYearPart + offsetPart + limitPart + orderPart);
};
var deleteExamTerm = function(idCourseExamTerm) {
return $http.delete(apiBaseRoute + '/api/course-exam-term/' + idCourseExamTerm);
};
var getExamTermsForStudent = function(idStudent) {
return $http.get(apiBaseRoute + '/api/course-exam-term/student/' + idStudent);
};
var putExamSignUp = function(studentId, studentCoursesId, courseExamTermId, userLoginId, force = false) {
var link = apiBaseRoute + '/api/exam-sign-up?studentId=' + studentId +
"&studentCoursesId=" + studentCoursesId +
"&courseExamTermId=" + courseExamTermId +
"&userLoginId=" + userLoginId +
"&force=" + force;
return $http.put(link);
};
var returnExamSignUp = function(courseExamTermId, studentCourseId, loginId, force = false) {
return $http.post(apiBaseRoute + '/api/exam-sign-up/return?' +
'courseExamTermId=' + courseExamTermId +
"&studentCourseId=" + studentCourseId +
"&loginId=" + loginId +
"&force=" + force);
};
var getExamSignUpHistory = function(courseExamTermId, studentCourseId) {
return $http.get(apiBaseRoute + '/api/exam-sign-up/history?' +
'courseExamTermId=' + courseExamTermId +
"&studentCourseId=" + studentCourseId);
};
var getExamSignUpForCourse = function(studentId, courseId) {
return $http.get(apiBaseRoute + '/api/exam-sign-up?studentId=' + studentId + '&courseId=' + courseId);
};
var getSignedUpStudentsForExamTerm = function(examTermId) {
return $http.get(apiBaseRoute + '/api/exam-sign-up/augmented?examtermid=' + examTermId);
};
var postGradesForExamSignUp = function(examSignUpId, loginId, writtenScore, suggestedGrade, isReturned) {
return $http.post(apiBaseRoute + '/api/exam-sign-up/' + examSignUpId + '/grades?loginId=' + loginId + '&writtenScore=' + writtenScore + '&suggestedGrade=' + suggestedGrade + '&isReturned=' + isReturned + '');
};
return {
sendExamTerm: sendExamTerm,
updateExamTerm: updateExamTerm,
getExamTermById: getExamTermById,
getAllExamTerms: getAllExamTerms,
deleteExamTerm: deleteExamTerm,
getExamTermsForStudent: getExamTermsForStudent,
putExamSignUp: putExamSignUp,
returnExamSignUp: returnExamSignUp,
getExamSignUpHistory: getExamSignUpHistory,
getExamSignUpForCourse: getExamSignUpForCourse,
getSignedUpStudentsForExamTerm: getSignedUpStudentsForExamTerm,
postGradesForExamSignUp: postGradesForExamSignUp
};
};
angular
.module('sis')
.service('examTermService', examTermService);
})(); | 38.631068 | 214 | 0.662227 |
22312be255364dc4bd251053c18d51a5363b4e80 | 1,621 | js | JavaScript | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | src/components/NavLink/index.js | MilosMladenovicWork/cubical-website | aeb9f36ff97e5f3ed43bb8afa21521b2409178ef | [
"MIT"
] | null | null | null | import React from 'react'
import {Link} from 'gatsby'
import {useSelector} from 'react-redux'
import styles from './nav-link.module.scss'
import RoofSVG from '../RoofSVG'
const NavLink = ({link, subLinks, deactivated, onClick}) => {
let pageOffset = useSelector(state => state.scrollFromTop)
let backgroundHandler = () =>{
if(pageOffset < 5){
return 0
}else if(pageOffset > 95){
return 1
}else{
return pageOffset / 100
}
}
return(
<li className={styles.navLink} onClick={() => onClick && onClick()}>
<Link onClick={(e) => deactivated && e.preventDefault()} to={link.href} activeClassName={styles.active} partiallyActive={true}>
<span>
{link.text}
</span>
</Link>
{
subLinks &&
subLinks.length > 0 &&
<ul className={styles.subLinks}>
{
subLinks.map(link => {
return <li className={styles.subLinksLink}>
<Link to={link.href} activeClassName={styles.active} partiallyActive={true}>
<span>
{link.text}
</span>
</Link>
</li>
})
}
</ul>
}
</li>
)
}
export default NavLink | 30.584906 | 139 | 0.415793 |
2231bfcd9c0175f32f4c1517ee9b26153b9dfcda | 296 | js | JavaScript | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | 4 | 2020-09-03T13:39:51.000Z | 2022-02-07T18:53:47.000Z | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | 24 | 2020-08-05T19:19:46.000Z | 2020-09-03T22:33:12.000Z | Doc/html/class_in_control_1_1_device_binding_source_listener.js | aFranchon/FrancoisSauce | 8d1933508a2cfb01dcfeb1307b273c30fe16d1fc | [
"MIT"
] | null | null | null | var class_in_control_1_1_device_binding_source_listener =
[
[ "Listen", "class_in_control_1_1_device_binding_source_listener.html#ab44b002b56c4a20d153b661d75766477", null ],
[ "Reset", "class_in_control_1_1_device_binding_source_listener.html#aaf5d2029b7dcabb26379b0d816b09954", null ]
]; | 59.2 | 117 | 0.841216 |
2231f5d819c742eabcc81ba0710cb2a112c62e2b | 381 | js | JavaScript | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 3 | 2019-03-25T21:46:13.000Z | 2019-07-05T13:45:07.000Z | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 5 | 2018-03-28T20:30:05.000Z | 2019-04-09T01:00:50.000Z | test/unit/errorTransformer.spec.js | lessworkjs/framework | 397c784d8d1c60e737f2501b62c5235ca7f6f6ac | [
"MIT"
] | 1 | 2018-03-28T20:29:04.000Z | 2018-03-28T20:29:04.000Z | const test = require('japa')
const path = require('path')
require('../../lib/env')
test.group('ErrorTransformer', (group) => {
test('shoud set, get, and check locale', (assert) => {
const ErrorTransformer = require('../../src/Transformers/ErrorTransformer');
ErrorTransformer.transform({
error: 'error',
message: 'error',
status: 500
})
})
}) | 21.166667 | 80 | 0.611549 |
223218dad43d54d3d0b0857b3bc9ab46066718bb | 1,082 | js | JavaScript | React/components/src/index.js | Mickey0001/JavaScript-Playground | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | 1 | 2018-07-25T13:21:57.000Z | 2018-07-25T13:21:57.000Z | React/components/src/index.js | Mickey0001/jQueryPractice | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | null | null | null | React/components/src/index.js | Mickey0001/jQueryPractice | 0b77b7e50fe4ff4168dc75d2bdb1b8e2698bca7c | [
"MIT"
] | 1 | 2018-10-09T14:02:27.000Z | 2018-10-09T14:02:27.000Z | import React from 'react';
import ReactDOM from 'react-dom';
import faker from 'faker';
import CommentDetail from './CommentDetail';
import ApprovalCard from './ApprovalCard';
import './App.css';
const App = () =>
{
return (
<div className="ui container comments">
<ApprovalCard>
<CommentDetail
avatar={faker.image.avatar()}
time="Today at: 4:50 PM"
text="There is no Burek with cheese!"
author="Munir"
/>
</ApprovalCard>
<ApprovalCard>
<CommentDetail
avatar={faker.image.avatar()}
time="Today at: 2:33 PM"
text="Foča is better then Sarajevo..."
author="Haso"
/>
</ApprovalCard>
<ApprovalCard>
<CommentDetail
avatar={faker.image.avatar()}
time="Today at: 1:26 PM"
text="El-Bake is the king of Kekistan."
author="Ekrem"
/>
</ApprovalCard>
</div>
)
};
ReactDOM.render(<App/>, document.querySelector('#root')); | 25.761905 | 57 | 0.536044 |
22327ac951fcd7e7cc7de28d5f5355aa97ac6a96 | 698 | js | JavaScript | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null | src/server/db/seeds/dist_seed.js | AlFalahTaieb/PostgreKoaMocha | b69a070cf668c1827447c6d2bb1448b31c7d9b8e | [
"MIT"
] | null | null | null |
exports.seed = (knex, Promise) => {
// Deletes ALL existing entries
return knex('dist').del()
.then(() => {
// Inserts seed entries
return knex('dist').insert(
{
name: 'Ubuntu',
basedOn: 'Debian',
rating: 7.3,
explicit: false
}
)
}).then(() => {
return knex('dist').insert(
{
name: 'Solus',
basedOn: 'Debian/Ubuntu',
rating: 8.3,
explicit: true
}
)
}).then(() => {
return knex('dist').insert(
{
name: 'Manjaro',
basedOn: 'Arch',
rating: 8.6,
explicit: false
}
)
})
}
| 19.942857 | 35 | 0.41404 |
22330957b4c69ae24b438abb61fa6a6554826e88 | 343 | js | JavaScript | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-04-08T21:03:09.000Z | 2016-03-20T17:46:31.000Z | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | null | null | null | doc/html/search/all_65.js | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-08-18T08:59:07.000Z | 2021-04-02T23:03:48.000Z | var searchData=
[
['equal',['equal',['../class_m_c_chords.html#a173247a7ced9d4777e1cd3bacf87dda9',1,'MCChords::equal()'],['../class_m_c_scales.html#a560a68951cb6bf3fca48f30fef7130ed',1,'MCScales::equal()']]],
['extractnoteentries',['extractNoteEntries',['../class_m_c_note_maps.html#af516f6304c125cce30fbb7fa3614e3f3',1,'MCNoteMaps']]]
];
| 57.166667 | 192 | 0.758017 |
223459aef45706766a081543568184c0054cfe83 | 2,774 | js | JavaScript | src/fonteditor/editor.js | chengmuni66/fonteditor | 639a84caa0e19fc03271e82abe8fa48e3e902d5c | [
"MIT"
] | 2 | 2017-09-05T22:10:30.000Z | 2021-02-13T06:44:36.000Z | src/fonteditor/editor.js | chengmuni66/fonteditor | 639a84caa0e19fc03271e82abe8fa48e3e902d5c | [
"MIT"
] | 11 | 2017-09-27T16:26:22.000Z | 2017-11-06T01:59:53.000Z | src/fonteditor/editor.js | fontmoa/fonteditor | fddc986c64474e23bd549a39c702d13bb148acbf | [
"MIT"
] | 1 | 2019-11-06T08:38:56.000Z | 2019-11-06T08:38:56.000Z | /**
* @file 编辑器导出接口,用于编辑字形相关的矢量图形
* @author mengke01(kekee000@gmail.com)
*/
define(function (require) {
var editor = require('../editor/main');
var options = require('../editor/options');
var commandList = require('../editor/menu/commandList');
// 用来做跨域通信的密钥
var EDITOR_KEY = require('../common/lang').parseQuery(location.search.slice(1)).key || 'fonteditor';
/**
* 向引用方外部发送事件
* @param {string} name 名称
* @param {Object} data 数据
* @param {number} stamp 某次通信的信标,用以区分多次事件
*/
function fireEvent(name, data, stamp) {
parent.postMessage({
key: EDITOR_KEY,
name: name,
stamp: stamp,
data: data || null
}, '*');
return this;
}
function onMessage() {
window.addEventListener('message', function (e) {
if (!e.data.key === EDITOR_KEY) {
return;
}
var name = e.data.name;
var args = e.data.data;
if (typeof window.editor[name] === 'function') {
var data = window.editor[name].apply(window.editor, args);
if (e.data.stamp) {
fireEvent(name, data === window.editor ? null : data, e.data.stamp);
}
}
});
}
function removeCommandMenu(name, menu) {
for (var i = menu.length - 1; i >= 0; i--) {
if (menu[i].name === name) {
menu.splice(i, 1);
return true;
}
else if (menu[i].items) {
if (removeCommandMenu(name, menu[i].items)) {
return true
}
}
}
return false;
}
function initEditor() {
removeCommandMenu('fontsetting', commandList.editor)
removeCommandMenu('save', commandList.editor)
removeCommandMenu('moresetting', commandList.editor)
options.editor.unitsPerEm = 1024;
options.editor.axis.metrics = {
ascent: 812, // 上升
descent: -212, // 下降
xHeight: 400, // x高度
capHeight: 700 // 大写字母高度
};
var context = editor.create($('#editor-panel').get(0), options);
return context;
}
function main() {
// 由于editor会在iframe中嵌入,组件会阻止默认的`click`事件,
// 导致无法获取焦点,然后键盘事件失效,这里需要监听window事件,手动focus
window.addEventListener('mousedown', function () {
if (!window.isFocused) {
window.focus();
window.isFocused = true;
}
}, true);
onMessage();
var context = initEditor();
context.focus();
window.editor = context;
fireEvent('load');
}
main();
return {};
});
| 28.597938 | 104 | 0.506128 |
22349f94f58a06183ba9c9d4af309bdb91430854 | 792 | js | JavaScript | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 7 | 2018-10-16T23:39:27.000Z | 2021-06-23T11:13:46.000Z | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 72 | 2020-11-06T07:22:12.000Z | 2021-07-30T07:41:22.000Z | src/__tests__/components/CreateExpensePage.test.js | dbeigi/react-budget-app | 64ab51401ed68770e88d8c378e469dfb4b42bbe9 | [
"MIT"
] | 13 | 2018-10-07T03:02:41.000Z | 2021-06-29T22:28:32.000Z | import React from 'react';
import { shallow } from 'enzyme';
import { CreateExpensePage } from '../../components/CreateExpensePage';
const expenses = [
{
id: '1',
description: 'Gum',
note: '',
amount: 195,
createdAt: 0
}];
let startAddExpense, history, wrapper;
beforeEach(() => {
startAddExpense = jest.fn();
history = { push: jest.fn() };
wrapper = shallow(<CreateExpensePage startAddExpense={startAddExpense} history={history} />);
});
test('should render AddExpensePage correctly', () => {
expect(wrapper).toMatchSnapshot();
});
test('should handle onSubmit', () => {
wrapper.find('ExpenseForm').prop('onSubmit')(expenses[1]);
expect(history.push).toHaveBeenLastCalledWith('/');
expect(startAddExpense).toHaveBeenLastCalledWith(expenses[1]);
});
| 26.4 | 95 | 0.674242 |
223570767dbcc7568c8917e6006f4e634b2b0e2c | 1,763 | js | JavaScript | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 468 | 2018-10-31T20:31:58.000Z | 2022-03-31T00:07:52.000Z | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 14 | 2018-12-05T00:56:14.000Z | 2022-03-25T19:23:02.000Z | src/renderer/directives/v-tooltip.js | Darkgit-tech/codepilot | 07c8ecc7ee45c0e9641b1712bc4322d0dbfdedd3 | [
"MIT"
] | 74 | 2018-11-01T19:20:03.000Z | 2022-03-08T13:17:37.000Z | import Vue from 'vue'
// https://github.com/Akryum/v-tooltip#usage
import VTooltip from 'v-tooltip'
// Add global styles for our tooltip
import style from './v-tooltip.scss'
Vue.use(VTooltip, {
// Default tooltip placement relative to target element
defaultPlacement: 'right',
// Default HTML template of the tooltip element
// It must include `tooltip` & `tooltip-inner` CSS classes
defaultTemplate: `
<div class="tooltip ${style.tooltip}" role="tooltip">
<div class="tooltip-inner ${style.tooltipInner}"></div>
</div>
`,
defaultArrowSelector: `${style.tooltipInner}::before`,
// Delay in milliseconds.
defaultDelay: 700,
// Default events that trigger the tooltip.
defaultTrigger: 'hover focus',
// Default container where the tooltip will be appended.
defaultContainer: '#app',
// Options we can pass directly to popper.js if we need to
// https://popper.js.org/popper-documentation.html
defaultPopperOptions: {},
// When showing a tooltip on hover, automatically hide the tooltip again
// when no longer hovering over the target element.
autoHide: true,
// Destroy hidden tooltip DOM nodes after this many milliseconds
disposeTimeout: 5000,
popover: {
defaultPlacement: 'right',
// Base class (change if conflicts with other libraries)
defaultBaseClass: `${style.tooltip} ${style.popover}`,
// Wrapper class (contains arrow and inner)
defaultWrapperClass: style.popoverWrapper,
// Inner content class
defaultInnerClass: `${style.tooltipInner} ${style.popoverInner}`,
defaultTrigger: 'click',
defaultContainer: '#app',
// Hides if clicked outside of popover
defaultAutoHide: true,
// Update popper on content resize
defaultHandleResize: true
}
})
| 36.729167 | 74 | 0.713556 |
2235a182decd87f7dc5b3c329c52964abf622ad1 | 857 | js | JavaScript | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | setPermissions.js | Aconka/BABOT | a7730f364e9f3be941d172638c23827377c8b39e | [
"WTFPL"
] | null | null | null | const { Client, Intents, Collection } = require('discord.js'); //discord module for interation with discord api
const Discord = require('discord.js'); //discord module for interation with discord api
var babadata = require('./babotdata.json'); //baba configuration file
const { setCommandRoles } = require('./helperFunc');
const bot = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.DIRECT_MESSAGES], partials: ["CHANNEL"]});
bot.login(babadata.token); //login
bot.on('ready', function (evt)
{
console.log('Connected');
var gld = bot.guilds.cache.get(babadata.guildId);
gld.commands.fetch().then(commands => setCommandRoles(commands));
});
//not shure what this does also but it was in jeremy's code so -- generated by Github Copilot
//stop the bot manually when you see all the commands as runnable (admins) | 47.611111 | 143 | 0.740957 |
22394869648ca557effd04130f319a8aa377cbbf | 8,841 | js | JavaScript | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | 1 | 2017-05-16T08:45:51.000Z | 2017-05-16T08:45:51.000Z | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | null | null | null | tests/index.js | halojs/halo-parameter | 64c5abc26a3a288153215269d8cb98982d8caf17 | [
"MIT"
] | null | null | null | import fs from 'fs'
import koa from 'koa'
import test from 'ava'
import { join } from 'path'
import request from 'request'
import mount from 'koa-mount'
import parameter from '../src'
const req = request.defaults({
json: true,
baseUrl: 'http://localhost:3000'
})
function toBoolean(val) {
if (val === '') { return val }
if (val === 'true') { return true}
if (val === 'false') { return false }
}
test.before.cb((t) => {
let app = new koa()
app.use(parameter())
app.use(mount('/parameter', async function(ctx, next) {
ctx.body = {
data: ctx.getParameter('a', toBoolean(ctx.getParameter('xss')) === false ? false : true)
}
}))
app.use(mount('/parameters', async function(ctx, next) {
ctx.body = {
data: ctx.getParameters('a', toBoolean(ctx.getParameter('xss')) === false ? false : true)
}
}))
app.use(mount('/destruction_parameter', async function(ctx, next) {
ctx.body = {
data: ctx.getParameter('a.b')
}
}))
app.use(mount('/test', async function(ctx, next) {
ctx.body = {
a: ctx.getParameter('a'),
b: ctx.getParameter('b'),
c: ctx.getParameter('c'),
d: ctx.getParameter('d'),
e: ctx.getParameter('e')
}
}))
app.use(mount('/tests', async function(ctx, next) {
ctx.body = {
a: ctx.getParameters('a'),
b: ctx.getParameters('b'),
c: ctx.getParameters('c'),
d: ctx.getParameters('d'),
e: ctx.getParameters('e')
}
}))
app.listen(3000, t.end)
})
test.cb('no parameters, use getParameter method', (t) => {
req.get('/parameter', (err, res, body) => {
t.is(body.data, '')
t.end()
})
})
test.cb('get parameter is null, false, undefined, ""', (t) => {
req.get('/test?a=null&b=false&c=undefined&d=""&e=', (err, res, body) => {
t.deepEqual(body, {
a: 'null',
b: 'false',
c: 'undefined',
d: '""',
e: ''
})
t.end()
})
})
test.cb('get parameters is null, false, undefined, ""', (t) => {
req.get('/tests?a=null&b=false&c=undefined&d=""&e=', (err, res, body) => {
t.deepEqual(body, {
a: ['null'],
b: ['false'],
c: ['undefined'],
d: ['""'],
e: []
})
t.end()
})
})
test.cb('post parameter is null, false, undefined, ""', (t) => {
req.post('/test', {
body: {
a: 'null',
b: 'false',
c: 'undefined',
d: ""
}
}, (err, res, body) => {
t.deepEqual(body, {
a: 'null',
b: 'false',
c: 'undefined',
d: "",
e: ''
})
t.end()
})
})
test.cb('no parameters, use getParameters method', (t) => {
req.get('/parameters', (err, res, body) => {
t.deepEqual(body.data, [])
t.end()
})
})
test.cb('one parameters, use getParameter method', (t) => {
req.get('/parameter?a=1', (err, res, body) => {
t.is(body.data, '1')
t.end()
})
})
test.cb('one parameters, use getParameters method', (t) => {
req.get('/parameters?a=1', (err, res, body) => {
t.deepEqual(body.data, ['1'])
t.end()
})
})
test.cb('multiple parameters, use getParameter method', (t) => {
req.get('/parameter?a[]=1&a[]=2&a[]=3', (err, res, body) => {
t.is(body.data, '1')
t.end()
})
})
test.cb('multiple parameters, use getParameters method', (t) => {
req.get('/parameters?a[]=1&a[]=2&a[]=3', (err, res, body) => {
t.deepEqual(body.data, ['1', '2', '3'])
t.end()
})
})
test.cb('filter xss, use getParameter method', (t) => {
req.get('/parameter?a=<script>alert("xss")</script>', (err, res, body) => {
t.is(body.data, '<script>alert("xss")</script>')
t.end()
})
})
test.cb('filter xss, use getParameters method', (t) => {
req.get('/parameters?a=<script>alert("xss")</script>', (err, res, body) => {
t.deepEqual(body.data, ['<script>alert("xss")</script>'])
t.end()
})
})
test.cb('no filter xss, use getParameter method', (t) => {
req.get('/parameter?a=<script>alert("xss")</script>&xss=false', (err, res, body) => {
t.is(body.data, '<script>alert("xss")</script>')
t.end()
})
})
test.cb('no filter xss, use getParameters method', (t) => {
req.get('/parameters?a=<script>alert("xss")</script>&xss=false', (err, res, body) => {
t.deepEqual(body.data, ['<script>alert("xss")</script>'])
t.end()
})
})
test.cb('special parameters, use getParameter method', (t) => {
req.get('/parameter?a=~!@#$%^^&&(())', (err, res, body) => {
t.not(body.data, '~!@#$%^^&&(())')
t.end()
})
})
test.cb('special parameters, use getParameters method', (t) => {
req.get('/parameters?a=~!@#$%^^&&(())', (err, res, body) => {
t.not(body.data, ['~!@#$%^^&&(())'])
t.end()
})
})
test.cb('not through the url transfer parameters, use getParameter method', (t) => {
req.get('/parameter', { qs: { a: { num: 1 } } }, (err, res, body) => {
t.is(body.data.num, '1')
t.end()
})
})
test.cb('not through the url transfer parameters, use getParameters method', (t) => {
req.get('/parameters', { qs: { a: { num: 1 } } }, (err, res, body) => {
t.deepEqual(body.data, [{num: '1'}])
t.end()
})
})
test.cb('no parameters, use getParameter method, in POST', (t) => {
req.post('/parameter', (err, res, body) => {
t.is(body.data, '')
t.end()
})
})
test.cb('no parameters, use getParameters method, in POST', (t) => {
req.post('/parameters', (err, res, body) => {
t.deepEqual(body.data, [])
t.end()
})
})
test.cb('one parameters, use getParameter method, in POST', (t) => {
req.post('/parameter', {
body: {
a: '1'
}
}, (err, res, body) => {
t.is(body.data, '1')
t.end()
})
})
test.cb('one parameters, use getParameters method, in POST', (t) => {
req.post('/parameters', {
body: {
a: '1'
}
}, (err, res, body) => {
t.deepEqual(body.data, ['1'])
t.end()
})
})
test.cb('filter xss, use getParameter method, in POST', (t) => {
req.post('/parameter', {
body: {
a: '<script>alert("xss")</script>'
}
}, (err, res, body) => {
t.is(body.data, '<script>alert("xss")</script>')
t.end()
})
})
test.cb('filter xss, use getParameters method, in POST', (t) => {
req.post('/parameters', {
body: {
a: '<script>alert("xss")</script>'
}
}, (err, res, body) => {
t.deepEqual(body.data, ['<script>alert("xss")</script>'])
t.end()
})
})
test.cb('no filter xss, use getParameter method, in POST', (t) => {
req.post('/parameter', {
body: {
xss: 'false',
a: '<script>alert("xss")</script>'
}
}, (err, res, body) => {
t.is(body.data, '<script>alert("xss")</script>')
t.end()
})
})
test.cb('no filter xss, use getParameters method, in POST', (t) => {
req.post('/parameters', {
body: {
xss: 'false',
a: '<script>alert("xss")</script>'
}
}, (err, res, body) => {
t.deepEqual(body.data, ['<script>alert("xss")</script>'])
t.end()
})
})
test.cb('upload file, use getParameter method, in POST', (t) => {
req.post('/parameter', {
formData: {
a: fs.createReadStream(join(__dirname + '/../package.json'))
}
}, (err, res, body) => {
t.is(body.data.name, 'package.json')
t.end()
})
})
test.cb('upload file, use getParameters method, in POST', (t) => {
req.post('/parameters', {
formData: {
a: fs.createReadStream(join(__dirname + '/../package.json'))
}
}, (err, res, body) => {
t.is(body.data[0].name, 'package.json')
t.end()
})
})
test.cb('get destruction parameter', (t) => {
req.get('/destruction_parameter', { qs: { a: { b: 1 } } }, (err, res, body) => {
t.is(body.data, '1')
t.end()
})
})
test.cb('post destruction parameter', (t) => {
req.post('/destruction_parameter', { body: { a: { b: '1' } } }, (err, res, body) => {
t.is(body.data, '1')
t.end()
})
})
test.cb('get destruction parameter, not b field', (t) => {
req.post('/destruction_parameter', { body: { a: { c: { b: 1 } } } }, (err, res, body) => {
t.is(body.data, '')
t.end()
})
}) | 27.036697 | 101 | 0.48309 |
22394cb70aaa3755d6fa4b0f9bc21eed9fb5833d | 6,779 | js | JavaScript | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | plugin/vue/lazy.js | JMwill/exercise | 603cf257c7d088fd12196bb77cdb8d15e4369fcb | [
"MIT"
] | null | null | null | export default (Vue, Options = {}) => {
const DEFAULT_URL = 'data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABA'
+ 'QMAAAAl21bKAAAAA1BMVEXs7Oxc9QatAAAACklEQVQI12NgAAAAAg'
+ 'AB4iG8MwAAAABJRU5ErkJggg==';
const Opt = Object.assign({}, {
loadPosRate: 1.2,
errorImg: DEFAULT_URL,
loadingImg: DEFAULT_URL,
tryTimes: 3,
parentEl: 'body',
}, Options);
const UrlCache = [];
const _ = {
on(el, type, func) {
el.addEventListener(type, func);
},
off(el, type, func) {
el.removeEventListener(type, func);
},
isStr(str) {
return _.isType('string', str);
},
isType(type, obj) {
return Object.prototype.toString
.call(obj)
.slice(8, -1)
.toLowerCase() === type.toLowerCase();
},
isObj(obj) {
return _.isType('object', obj);
},
remove(arr, item) {
if (!arr.length) { return; }
if (arr.indexOf(item) > -1) {
arr.splice(item, 1);
}
},
};
let LazyerCnt = {};
const throttle = (action, delay, ...args) => {
let running = false;
return (evt) => {
if (running) { return; }
running = true;
let context = this;
setTimeout(() => {
running = false;
action.apply(context, [evt].concat(args));
}, delay);
};
};
const setEl = (el, styleKey, src, state) => {
if (!styleKey) {
el.setAttribute('src', src);
} else {
el.setAttribute('style', `${styleKey}: url(${src})`);
}
el.dataset.loadState = state;
};
const loadImageAsync = lazyer =>
new Promise((resolve, reject) => {
let image = new Image();
image.src = lazyer.src;
image.onload = () => {
resolve({
naturalHeight: image.naturalHeight,
naturalWidth: image.naturalWidth,
src: lazyer.src,
});
};
image.onerror = () => reject();
});
const render = (lazyer) => {
if (lazyer.attempt >= Opt.attempt) { return; }
lazyer.attempt += 1;
loadImageAsync(lazyer)
.then(() => {
setEl(lazyer.el, lazyer.styleKey, lazyer.src, 'loaded');
UrlCache.push(lazyer.src);
_.remove(LazyerCnt[lazyer.parentEl].lazyers, lazyer);
})
.catch(() => {
setEl(lazyer.el, lazyer.styleKey, lazyer.errorImg, 'error');
});
};
const checkCanShow = (cntDom, lazyer) => {
if (UrlCache.indexOf(lazyer.src) > -1) {
return setEl(lazyer.el, lazyer.styleKey, lazyer.src, 'loaded');
}
let rect = lazyer.el.getBoundingClientRect();
let parentRect = cntDom.dom.getBoundingClientRect();
let parentRectTop = parentRect.top + cntDom.dom.clientHeight;
let parentRectLeft = parentRect.left + cntDom.dom.clientWidth;
const canShow =
(rect.top < parentRectTop * Opt.loadPosRate && rect.bottom > 0)
&& (rect.left < parentRectLeft * Opt.loadPosRate && rect.right > 0);
if (canShow) { render(lazyer); }
return true;
};
const lazyLoadHandler = throttle((evt) => {
if (!evt) {
Object.keys(LazyerCnt).forEach(
cnt => LazyerCnt[cnt].lazyers.forEach(
lazyer => checkCanShow(LazyerCnt[cnt], lazyer)
)
);
return;
}
const LazyerCntKeys = Object.keys(LazyerCnt);
for (let i = 0, l = LazyerCntKeys.length; i < l; i += 1) {
let curCnt = LazyerCnt[LazyerCntKeys[i]];
if (curCnt.dom === evt.target) {
curCnt.lazyers.forEach(lazyer => checkCanShow(curCnt, lazyer));
}
}
}, 300);
const onListen = (el) => {
_.on(el, 'scroll', lazyLoadHandler);
_.on(el, 'resize', lazyLoadHandler);
_.on(el, 'animationend', lazyLoadHandler);
_.on(el, 'transitionend', lazyLoadHandler);
};
const offListen = (el) => {
_.off(el, 'scroll', lazyLoadHandler);
_.off(el, 'resize', lazyLoadHandler);
_.off(el, 'animationend', lazyLoadHandler);
_.off(el, 'transitionend', lazyLoadHandler);
};
const removeLazyer = (el, binding) => {
if (!el) { return; }
let parentCnt = LazyerCnt[binding.value.parentEl || Opt.parentEl];
if (!parentCnt) { return; }
parentCnt.lazyers = parentCnt.lazyers.filter(i => i.el !== el);
if (parentCnt.lazyers.length === 0) {
parentCnt.binded = false;
offListen(parentCnt.dom);
delete LazyerCnt[binding.value.parentEl]
}
};
const isElExist = (el, parentEl) => {
let hasIt = false;
hasIt = LazyerCnt[parentEl]
&& LazyerCnt[parentEl].lazyers.filter(item => item.el === el).length;
if (hasIt) {
return Vue.nextTick(() => {
lazyLoadHandler();
});
}
return hasIt;
};
const addLazyer = (el, binding) => {
const newLazyer = Object.assign({}, Opt, {
styleKey: binding.arg,
attempt: 0,
el,
});
if (_.isStr(binding.value)) { newLazyer.src = binding.value; }
if (_.isObj(binding.value)) { Object.assign(newLazyer, binding.value); }
let parentEl = newLazyer.parentEl || Opt.parentEl;
if (el.dataset.loadState === 'loaded' || isElExist(el, parentEl)) { return; }
if (LazyerCnt[parentEl]) {
LazyerCnt[parentEl].lazyers.push(newLazyer);
} else {
LazyerCnt[parentEl] = {
binded: false,
lazyers: [newLazyer],
dom: document.querySelector(parentEl),
};
}
setEl(el, newLazyer.styleKey, newLazyer.loadingImg, 'loading');
Vue.nextTick(() => {
Object.keys(LazyerCnt).forEach((cntKey) => {
let cnt = LazyerCnt[cntKey];
if (!cnt.binded && cnt.lazyers.length) {
cnt.binded = true;
onListen(cnt.dom);
}
});
lazyLoadHandler();
});
};
Vue.directive('lazy', {
// bind: addLazyer,
inserted: addLazyer,
update: addLazyer,
unbind: removeLazyer,
});
};
| 31.826291 | 85 | 0.493583 |
2239c9c6a7cde355e6402a73968a3901fc77b266 | 295 | js | JavaScript | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | null | null | null | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | 7 | 2021-03-09T10:55:33.000Z | 2022-02-26T14:50:44.000Z | src/components/projects.js | CRivera19/GatsbyPortfolio | 490bf2551ee2da1ea60481f7d73a5c84e50ea8d3 | [
"MIT"
] | null | null | null | import React from "react";
const Projects = () => {
return (
<div id="projects">
<h2>Projects</h2>
<div id="project-list">
<div id="hamburger" className="card">
<h3>Hamburger Shop</h3>
</div>
</div>
</div>
);
};
export default Projects;
| 17.352941 | 45 | 0.522034 |
223a88c35012de7580853f0bfde75a05a39bd682 | 4,333 | js | JavaScript | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | index.js | jesusprubio/pown-dns | 01b3e1bdb9dc628752d9f483adf0ad08f1965e77 | [
"MIT"
] | null | null | null | /*
Copyright Jesús Pérez <jesusprubio@fsf.org>
Sergio García <s3rgio.gr@gmail.com>
This code may only be used under the MIT license found at
https://opensource.org/licenses/MIT.
*/
'use strict';
// To test:
// - https://digi.ninja/projects/zonetransferme.php
// - POWN_ROOT=./ pown dns -t zonetransfer.me -s 81.4.108.41 -a
const defaults = {
server: '198.101.242.72',
rtype: 'ANY',
rate: 10,
bing: false,
axfr: false,
};
exports.yargs = {
command: 'dns',
describe: 'DNS lookup (and reverse), brute-forcing and zone transfer.',
builder: {
target: {
type: 'string',
alias: 't',
describe: 'Domain (resolution) or IP address (reverse)',
},
server: {
type: 'string',
alias: 's',
describe: `DNS server to use (reverse) [${defaults.server}] (DuckDuckGo)`,
},
rtype: {
type: 'string',
alias: 'r',
describe: 'Type of DNS records to resolve (if a domain passed as "rhost")' +
` [${defaults.rtype}] (all record types)`,
},
// TODO: Send a PR to allow to use external files.
brute: {
type: 'string',
alias: 'b',
describe: 'Perform also a brute-force (if the target is a domain).' +
'This options sets the dictionary for bruteforcing [top_50, top_100 ...].' +
'Please check the library: https://github.com/skepticfx/subquest' +
'In this case you need to set the server, the default is not going to be used.',
},
rate: {
type: 'number',
alias: 'ra',
describe: `Number of requests at the same time (when brute-force) [${defaults.rate})]`,
},
bing: {
type: 'boolean',
alias: 'bi',
describe: `Use Bing search to list all possible subdomains [${defaults.bing})]`,
},
axfr: {
type: 'boolean',
alias: 'a',
describe: `Try a zone transfer [${defaults.axfr})]`,
},
// TODO: Add support.
// timeout: {
// type: 'number',
// alias: 't',
// describe: `Request timeout [${defaults.timeout}]`,
// },
},
handler: (argv = {}) => {
// TODO: Add a rule to force them always here at the init.
/* eslint-disable global-require */
const net = require('net');
const dns = require('dns');
// const lodash = require('lodash');
const promisify = require('es6-promisify');
const logger = require('pown-logger');
const axfr = require('dns-axfr').resolveAxfr;
const subquest = require('subquest');
const resolveAny = require('./lib/resolveAny');
/* eslint-enable global-require */
const dnsReverse = promisify(dns.reverse);
const dnsAxfr = promisify(axfr);
logger.title(this.yargs.command);
if (!argv.target) { throw new Error('The option "target" is mandatory'); }
const server = argv.server || defaults.server;
const rtype = argv.rtype || defaults.rtype;
dns.setServers([server]);
// TODO: Check for private
let isDomain = false;
let req;
if (net.isIP(argv.target)) {
req = dnsReverse(argv.target);
} else {
isDomain = true;
req = resolveAny(argv.target, rtype);
}
req
.then(res => logger.result('Lookup', res))
.catch((err) => { throw err; });
if (!isDomain) { return; }
const rate = argv.rate || defaults.rate;
const dic = argv.brute || defaults.brute;
const bing = argv.bing || defaults.bing;
// We can do this in parallel.
if (argv.brute || argv.axfr) {
// if (server === defaults.server) {
// throw new Error('Please change the server, we love ducks :)');
// }
}
if (argv.brute) {
subquest.getSubDomains({
host: argv.target,
dnsServer: server,
dictionary: dic,
rateLimit: rate,
bingSearch: bing,
})
.on('end', res => logger.result('Subdomains', res))
.on('error', (err) => { throw err; });
}
if (argv.axfr) {
const msg = 'Zone transfer';
dnsAxfr(server, argv.target)
.then((res) => {
logger.result(msg);
logger.chunks(res.answers);
})
.catch((err) => {
// Expected result, not vulnerable.
if (err === -3) {
logger.result(msg, []);
} else {
throw err;
}
});
}
},
};
| 26.420732 | 96 | 0.562889 |
223bd214694ad08055ff5bbd448186dfed43e1c6 | 910 | js | JavaScript | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 86 | 2020-03-27T15:22:47.000Z | 2021-11-17T02:28:17.000Z | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 7 | 2020-03-27T15:34:20.000Z | 2022-03-26T09:34:42.000Z | src/actions/SettingsActions.js | suchoudh/Introvert | c39447044604b3f51121489eba78c7e762618150 | [
"MIT"
] | 7 | 2020-03-27T15:51:46.000Z | 2020-03-29T06:06:30.000Z | // @flow
import { SettingsActionTypes } from '../constants';
import { saveHelper } from '../common/utils';
const SOUND_STATE_TAG = 'SOUND_STATE_TAG';
export function setSoundStatePref(soundOn: boolean) {
return (dispatch: Function) => {
// Save sound
saveHelper.saveFlag(SOUND_STATE_TAG, soundOn);
dispatch({
soundOn,
type: SettingsActionTypes.SET_SOUND_STATE,
});
};
}
export function getSoundStatePref() {
return async (dispatch: Function) => {
const soundOn = await saveHelper.getFlag(SOUND_STATE_TAG);
dispatch({
soundOn,
type: SettingsActionTypes.SET_SOUND_STATE,
});
};
}
export function loadAllSettings() {
return async (dispatch: Function) => {
const soundOn = await saveHelper.getFlag(SOUND_STATE_TAG);
dispatch({
type: SettingsActionTypes.LOAD_ALL_SETTINGS,
settings: {
soundOn,
},
});
};
}
| 21.666667 | 62 | 0.664835 |
223bf44803b77b93de831b92839efc57d5a6bb73 | 358,643 | js | JavaScript | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | public/js/app.js | pikarin/laravel-inertia-vue-starter | 1c7e8003d7563e69cf0d27ebd49972f7413b63ba | [
"MIT"
] | null | null | null | /*! For license information please see app.js.LICENSE.txt */
(()=>{var e,t={9038:(e,t,n)=>{function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(2307)),i=n(821),a=r(n(3465)),s=n(9680);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(){var e=[].slice.call(arguments),t="string"==typeof e[0]?e[0]:null,n=("string"==typeof e[0]?e[1]:e[0])||{},r=t?s.Inertia.restore(t):null,u=a(n),l=null,f=null,p=function(e){return e},d=i.reactive(c({},r?r.data:n,{isDirty:!1,errors:r?r.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data:function(){var e=this;return Object.keys(n).reduce((function(t,n){return t[n]=e[n],t}),{})},transform:function(e){return p=e,this},reset:function(){var e=[].slice.call(arguments),t=a(u);return Object.assign(this,0===e.length?t:Object.keys(t).filter((function(t){return e.includes(t)})).reduce((function(e,n){return e[n]=t[n],e}),{})),this},clearErrors:function(){var e=this,t=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce((function(n,r){var o;return c({},n,t.length>0&&!t.includes(r)?((o={})[r]=e.errors[r],o):{})}),{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(e,t,n){var r=this,o=this;void 0===n&&(n={});var i=p(this.data()),d=c({},n,{onCancelToken:function(e){if(l=e,n.onCancelToken)return n.onCancelToken(e)},onBefore:function(e){if(o.wasSuccessful=!1,o.recentlySuccessful=!1,clearTimeout(f),n.onBefore)return n.onBefore(e)},onStart:function(e){if(o.processing=!0,n.onStart)return n.onStart(e)},onProgress:function(e){if(o.progress=e,n.onProgress)return n.onProgress(e)},onSuccess:function(e){try{var t=function(e){return u=a(r.data()),r.isDirty=!1,e};return r.processing=!1,r.progress=null,r.clearErrors(),r.wasSuccessful=!0,r.recentlySuccessful=!0,f=setTimeout((function(){return r.recentlySuccessful=!1}),2e3),Promise.resolve(n.onSuccess?Promise.resolve(n.onSuccess(e)).then(t):t(null))}catch(e){return Promise.reject(e)}},onError:function(e){if(o.processing=!1,o.progress=null,o.errors=e,o.hasErrors=!0,n.onError)return n.onError(e)},onCancel:function(){if(o.processing=!1,o.progress=null,n.onCancel)return n.onCancel()},onFinish:function(){if(o.processing=!1,o.progress=null,l=null,n.onFinish)return n.onFinish()}});"delete"===e?s.Inertia.delete(t,c({},d,{data:i})):s.Inertia[e](t,i,d)},get:function(e,t){this.submit("get",e,t)},post:function(e,t){this.submit("post",e,t)},put:function(e,t){this.submit("put",e,t)},patch:function(e,t){this.submit("patch",e,t)},delete:function(e,t){this.submit("delete",e,t)},cancel:function(){l&&l.cancel()},__rememberable:null===t,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(e){Object.assign(this,e.data),Object.assign(this.errors,e.errors),this.hasErrors=Object.keys(this.errors).length>0}}));return i.watch(d,(function(e){d.isDirty=!o(d.data(),u),t&&s.Inertia.remember(a(e.__remember()),t)}),{immediate:!0,deep:!0}),d}var l={created:function(){var e=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var t=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,n=s.Inertia.restore(t),r=this.$options.remember.data.filter((function(t){return!(null!==e[t]&&"object"==typeof e[t]&&!1===e[t].__rememberable)})),o=function(t){return null!==e[t]&&"object"==typeof e[t]&&"function"==typeof e[t].__remember&&"function"==typeof e[t].__restore};r.forEach((function(i){void 0!==e[i]&&void 0!==n&&void 0!==n[i]&&(o(i)?e[i].__restore(n[i]):e[i]=n[i]),e.$watch(i,(function(){s.Inertia.remember(r.reduce((function(t,n){var r;return c({},t,((r={})[n]=a(o(n)?e[n].__remember():e[n]),r))}),{}),t)}),{immediate:!0,deep:!0})}))}}},f=i.ref(null),p=i.ref({}),d=i.ref(null),h=null,v={name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:function(e){return e}},onHeadUpdate:{type:Function,required:!1,default:function(){return function(){}}}},setup:function(e){var t=e.initialPage,n=e.initialComponent,r=e.resolveComponent,o=e.titleCallback,a=e.onHeadUpdate;f.value=n?i.markRaw(n):null,p.value=t,d.value=null;var u="undefined"==typeof window;return h=s.createHeadManager(u,o,a),u||s.Inertia.init({initialPage:t,resolveComponent:r,swapComponent:function(e){try{return f.value=i.markRaw(e.component),p.value=e.page,d.value=e.preserveState?d.value:Date.now(),Promise.resolve()}catch(e){return Promise.reject(e)}}}),function(){if(f.value){f.value.inheritAttrs=!!f.value.inheritAttrs;var e=i.h(f.value,c({},p.value.props,{key:d.value}));return f.value.layout?"function"==typeof f.value.layout?f.value.layout(i.h,e):(Array.isArray(f.value.layout)?f.value.layout:[f.value.layout]).concat(e).reverse().reduce((function(e,t){return t.inheritAttrs=!!t.inheritAttrs,i.h(t,c({},p.value.props),(function(){return e}))})):e}}}},m={install:function(e){s.Inertia.form=u,Object.defineProperty(e.config.globalProperties,"$inertia",{get:function(){return s.Inertia}}),Object.defineProperty(e.config.globalProperties,"$page",{get:function(){return p.value}}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:function(){return h}}),e.mixin(l)}},g={props:{title:{type:String,required:!1}},data:function(){return{provider:this.$headManager.createProvider()}},beforeUnmount:function(){this.provider.disconnect()},methods:{isUnaryTag:function(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart:function(e){e.props=e.props||{},e.props.inertia=void 0!==e.props["head-key"]?e.props["head-key"]:"";var t=Object.keys(e.props).reduce((function(t,n){var r=e.props[n];return["key","head-key"].includes(n)?t:""===r?t+" "+n:t+" "+n+'="'+r+'"'}),"");return"<"+e.type+t+">"},renderTagChildren:function(e){var t=this;return"string"==typeof e.children?e.children:e.children.reduce((function(e,n){return e+t.renderTag(n)}),"")},renderTag:function(e){if("Symbol(Text)"===e.type.toString())return e.children;if("Symbol()"===e.type.toString())return"";if("Symbol(Comment)"===e.type.toString())return"";var t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+="</"+e.type+">"),t},addTitleElement:function(e){return this.title&&!e.find((function(e){return e.startsWith("<title")}))&&e.push("<title inertia>"+this.title+"</title>"),e},renderNodes:function(e){var t=this;return this.addTitleElement(e.flatMap((function(e){return"Symbol(Fragment)"===e.type.toString()?e.children:e})).map((function(e){return t.renderTag(e)})).filter((function(e){return e})))}},render:function(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}},y={name:"InertiaLink",props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}}},setup:function(e,t){var n=t.slots,r=t.attrs;return function(e){var t=e.as.toLowerCase(),o=e.method.toLowerCase(),a=s.mergeDataIntoQueryString(o,e.href||"",e.data),u=a[0],l=a[1];return"a"===t&&"get"!==o&&console.warn('Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<inertia-link href="'+u+'" method="'+o+'" as="button">...</inertia-link>'),i.h(e.as,c({},r,"a"===t?{href:u}:{},{onClick:function(t){var n;s.shouldIntercept(t)&&(t.preventDefault(),s.Inertia.visit(u,{data:l,method:o,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:null!=(n=e.preserveState)?n:"get"!==o,only:e.only,headers:e.headers,onCancelToken:r.onCancelToken||function(){return{}},onBefore:r.onBefore||function(){return{}},onStart:r.onStart||function(){return{}},onProgress:r.onProgress||function(){return{}},onFinish:r.onFinish||function(){return{}},onCancel:r.onCancel||function(){return{}},onSuccess:r.onSuccess||function(){return{}},onError:r.onError||function(){return{}}}))}}),n)}}};t.Fb=g,t.rU=y,t.yP=function(e){try{var t,n,r,o,a,s,c;n=void 0===(t=e.id)?"app":t,r=e.resolve,o=e.setup,a=e.title,s=e.page,c=e.render;var u="undefined"==typeof window,l=u?null:document.getElementById(n),f=s||JSON.parse(l.dataset.page),p=function(e){return Promise.resolve(r(e)).then((function(e){return e.default||e}))},d=[];return Promise.resolve(p(f.component).then((function(e){return o({el:l,app:v,App:v,props:{initialPage:f,initialComponent:e,resolveComponent:p,titleCallback:a,onHeadUpdate:u?function(e){return d=e}:null},plugin:m})}))).then((function(e){return function(){if(u)return Promise.resolve(c(i.createSSRApp({render:function(){return i.h("div",{id:n,"data-page":JSON.stringify(f),innerHTML:c(e)})}}))).then((function(e){return{head:d,body:e}}))}()}))}catch(e){return Promise.reject(e)}},t.cI=u,t.qt=function(){return{props:i.computed((function(){return p.value.props})),url:i.computed((function(){return p.value.url})),component:i.computed((function(){return p.value.component})),version:i.computed((function(){return p.value.version}))}}},9680:(e,t,n)=>{function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(9669)),i=n(129),a=r(n(9996));function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c,u={modal:null,listener:null,show:function(e){var t=this;"object"==typeof e&&(e="All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>"+JSON.stringify(e));var n=document.createElement("html");n.innerHTML=e,n.querySelectorAll("a").forEach((function(e){return e.setAttribute("target","_top")})),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",(function(){return t.hide()}));var r=document.createElement("iframe");if(r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",this.modal.appendChild(r),document.body.prepend(this.modal),document.body.style.overflow="hidden",!r.contentWindow)throw new Error("iframe not yet ready.");r.contentWindow.document.open(),r.contentWindow.document.write(n.outerHTML),r.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(e){27===e.keyCode&&this.hide()}};function l(e,t){var n;return function(){var r=arguments,o=this;clearTimeout(n),n=setTimeout((function(){return e.apply(o,[].slice.call(r))}),t)}}function f(e,t,n){for(var r in void 0===t&&(t=new FormData),void 0===n&&(n=null),e=e||{})Object.prototype.hasOwnProperty.call(e,r)&&d(t,p(n,r),e[r]);return t}function p(e,t){return e?e+"["+t+"]":t}function d(e,t,n){return Array.isArray(n)?Array.from(n.keys()).forEach((function(r){return d(e,p(t,r.toString()),n[r])})):n instanceof Date?e.append(t,n.toISOString()):n instanceof File?e.append(t,n,n.name):n instanceof Blob?e.append(t,n):"boolean"==typeof n?e.append(t,n?"1":"0"):"string"==typeof n?e.append(t,n):"number"==typeof n?e.append(t,""+n):null==n?e.append(t,""):void f(n,e,t)}function h(e){return new URL(e.toString(),window.location.toString())}function v(e,n,r){var o=n.toString().includes("http"),s=o||n.toString().startsWith("/"),c=!s&&!n.toString().startsWith("#")&&!n.toString().startsWith("?"),u=n.toString().includes("?")||e===t.Method.GET&&Object.keys(r).length,l=n.toString().includes("#"),f=new URL(n.toString(),"http://localhost");return e===t.Method.GET&&Object.keys(r).length&&(f.search=i.stringify(a(i.parse(f.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:"brackets"}),r={}),[[o?f.protocol+"//"+f.host:"",s?f.pathname:"",c?f.pathname.substring(1):"",u?f.search:"",l?f.hash:""].join(""),r]}function m(e){return(e=new URL(e.href)).hash="",e}function g(e,t){return document.dispatchEvent(new CustomEvent("inertia:"+e,t))}(c=t.Method||(t.Method={})).GET="get",c.POST="post",c.PUT="put",c.PATCH="patch",c.DELETE="delete";var y=function(e){return g("finish",{detail:{visit:e}})},b=function(e){return g("navigate",{detail:{page:e}})},_=function(){function e(){this.visitId=null}var n=e.prototype;return n.init=function(e){var t=e.resolveComponent,n=e.swapComponent;this.page=e.initialPage,this.resolveComponent=t,this.swapComponent=n,this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()},n.handleInitialPageVisit=function(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then((function(){return b(e)}))},n.setupEventListeners=function(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",l(this.handleScrollEvent.bind(this),100),!0)},n.scrollRegions=function(){return document.querySelectorAll("[scroll-region]")},n.handleScrollEvent=function(e){"function"==typeof e.target.hasAttribute&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},n.saveScrollPositions=function(){this.replaceState(s({},this.page,{scrollRegions:Array.from(this.scrollRegions()).map((function(e){return{top:e.scrollTop,left:e.scrollLeft}}))}))},n.resetScrollPositions=function(){var e;document.documentElement.scrollTop=0,document.documentElement.scrollLeft=0,this.scrollRegions().forEach((function(e){e.scrollTop=0,e.scrollLeft=0})),this.saveScrollPositions(),window.location.hash&&(null==(e=document.getElementById(window.location.hash.slice(1)))||e.scrollIntoView())},n.restoreScrollPositions=function(){var e=this;this.page.scrollRegions&&this.scrollRegions().forEach((function(t,n){var r=e.page.scrollRegions[n];r&&(t.scrollTop=r.top,t.scrollLeft=r.left)}))},n.isBackForwardVisit=function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length>0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},n.handleBackForwardVisit=function(e){var t=this;window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((function(){t.restoreScrollPositions(),b(e)}))},n.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,m(window.location).href===m(e).href&&window.location.reload()}catch(e){return!1}},n.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},n.handleLocationVisit=function(e){var t,n,r,o,i=this,a=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(n=window.history.state)?void 0:n.rememberedState)?t:{},e.scrollRegions=null!=(r=null==(o=window.history.state)?void 0:o.scrollRegions)?r:[],this.setPage(e,{preserveScroll:a.preserveScroll,preserveState:!0}).then((function(){a.preserveScroll&&i.restoreScrollPositions(),b(e)}))},n.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},n.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},n.createVisitId=function(){return this.visitId={},this.visitId},n.cancelVisit=function(e,t){var n=t.cancelled,r=void 0!==n&&n,o=t.interrupted,i=void 0!==o&&o;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=r,e.interrupted=i,y(e),e.onFinish(e))},n.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,y(e),e.onFinish(e))},n.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},n.visit=function(e,n){var r=this,i=void 0===n?{}:n,a=i.method,c=void 0===a?t.Method.GET:a,l=i.data,p=void 0===l?{}:l,d=i.replace,y=void 0!==d&&d,b=i.preserveScroll,_=void 0!==b&&b,w=i.preserveState,x=void 0!==w&&w,S=i.only,k=void 0===S?[]:S,E=i.headers,C=void 0===E?{}:E,j=i.errorBag,O=void 0===j?"":j,N=i.forceFormData,A=void 0!==N&&N,T=i.onCancelToken,P=void 0===T?function(){}:T,V=i.onBefore,R=void 0===V?function(){}:V,M=i.onStart,I=void 0===M?function(){}:M,L=i.onProgress,B=void 0===L?function(){}:L,F=i.onFinish,$=void 0===F?function(){}:F,U=i.onCancel,D=void 0===U?function(){}:U,z=i.onSuccess,W=void 0===z?function(){}:z,H=i.onError,q=void 0===H?function(){}:H,Z="string"==typeof e?h(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some((function(t){return e(t)}))||"object"==typeof t&&null!==t&&Object.values(t).some((function(t){return e(t)}))}(p)&&!A||p instanceof FormData||(p=f(p)),!(p instanceof FormData)){var G=v(c,Z,p),J=G[1];Z=h(G[0]),p=J}var K={url:Z,method:c,data:p,replace:y,preserveScroll:_,preserveState:x,only:k,headers:C,errorBag:O,forceFormData:A,cancelled:!1,completed:!1,interrupted:!1};if(!1!==R(K)&&function(e){return g("before",{cancelable:!0,detail:{visit:e}})}(K)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var X=this.createVisitId();this.activeVisit=s({},K,{onCancelToken:P,onBefore:R,onStart:I,onProgress:B,onFinish:$,onCancel:D,onSuccess:W,onError:q,cancelToken:o.CancelToken.source()}),P({cancel:function(){r.activeVisit&&r.cancelVisit(r.activeVisit,{cancelled:!0})}}),function(e){g("start",{detail:{visit:e}})}(K),I(K),o({method:c,url:m(Z).href,data:c===t.Method.GET?{}:p,params:c===t.Method.GET?p:{},cancelToken:this.activeVisit.cancelToken.token,headers:s({},C,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},k.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":k.join(",")}:{},O&&O.length?{"X-Inertia-Error-Bag":O}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){p instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){g("progress",{detail:{progress:e}})}(e),B(e))}}).then((function(e){var t;if(!r.isInertiaResponse(e))return Promise.reject({response:e});var n=e.data;k.length&&n.component===r.page.component&&(n.props=s({},r.page.props,n.props)),_=r.resolvePreserveOption(_,n),(x=r.resolvePreserveOption(x,n))&&null!=(t=window.history.state)&&t.rememberedState&&n.component===r.page.component&&(n.rememberedState=window.history.state.rememberedState);var o=Z,i=h(n.url);return o.hash&&!i.hash&&m(o).href===i.href&&(i.hash=o.hash,n.url=i.href),r.setPage(n,{visitId:X,replace:y,preserveScroll:_,preserveState:x})})).then((function(){var e=r.page.props.errors||{};if(Object.keys(e).length>0){var t=O?e[O]?e[O]:{}:e;return function(e){g("error",{detail:{errors:e}})}(t),q(t)}return g("success",{detail:{page:r.page}}),W(r.page)})).catch((function(e){if(r.isInertiaResponse(e.response))return r.setPage(e.response.data,{visitId:X});if(r.isLocationVisitResponse(e.response)){var t=h(e.response.headers["x-inertia-location"]),n=Z;n.hash&&!t.hash&&m(n).href===t.href&&(t.hash=n.hash),r.locationVisit(t,!0===_)}else{if(!e.response)return Promise.reject(e);g("invalid",{cancelable:!0,detail:{response:e.response}})&&u.show(e.response.data)}})).then((function(){r.activeVisit&&r.finishVisit(r.activeVisit)})).catch((function(e){if(!o.isCancel(e)){var t=g("exception",{cancelable:!0,detail:{exception:e}});if(r.activeVisit&&r.finishVisit(r.activeVisit),t)return Promise.reject(e)}}))}},n.setPage=function(e,t){var n=this,r=void 0===t?{}:t,o=r.visitId,i=void 0===o?this.createVisitId():o,a=r.replace,s=void 0!==a&&a,c=r.preserveScroll,u=void 0!==c&&c,l=r.preserveState,f=void 0!==l&&l;return Promise.resolve(this.resolveComponent(e.component)).then((function(t){i===n.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(s=s||h(e.url).href===window.location.href)?n.replaceState(e):n.pushState(e),n.swapComponent({component:t,page:e,preserveState:f}).then((function(){u||n.resetScrollPositions(),s||b(e)})))}))},n.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},n.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},n.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var n=e.state,r=this.createVisitId();Promise.resolve(this.resolveComponent(n.component)).then((function(e){r===t.visitId&&(t.page=n,t.swapComponent({component:e,page:n,preserveState:!1}).then((function(){t.restoreScrollPositions(),b(n)})))}))}else{var o=h(this.page.url);o.hash=window.location.hash,this.replaceState(s({},this.page,{url:o.href})),this.resetScrollPositions()}},n.get=function(e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),this.visit(e,s({},r,{method:t.Method.GET,data:n}))},n.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,s({},e,{preserveScroll:!0,preserveState:!0}))},n.replace=function(e,t){var n;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(n=t.method)?n:"get")+"() instead."),this.visit(e,s({preserveState:!0},t,{replace:!0}))},n.post=function(e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),this.visit(e,s({preserveState:!0},r,{method:t.Method.POST,data:n}))},n.put=function(e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),this.visit(e,s({preserveState:!0},r,{method:t.Method.PUT,data:n}))},n.patch=function(e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),this.visit(e,s({preserveState:!0},r,{method:t.Method.PATCH,data:n}))},n.delete=function(e,n){return void 0===n&&(n={}),this.visit(e,s({preserveState:!0},n,{method:t.Method.DELETE}))},n.remember=function(e,t){var n;void 0===t&&(t="default"),this.replaceState(s({},this.page,{rememberedState:s({},this.page.rememberedState,(n={},n[t]=e,n))}))},n.restore=function(e){var t,n;return void 0===e&&(e="default"),null==(t=window.history.state)||null==(n=t.rememberedState)?void 0:n[e]},n.on=function(e,t){var n=function(e){var n=t(e);e.cancelable&&!e.defaultPrevented&&!1===n&&e.preventDefault()};return document.addEventListener("inertia:"+e,n),function(){return document.removeEventListener("inertia:"+e,n)}},e}(),w={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var n=t.content.firstChild;if(!e.startsWith("<script "))return n;var r=document.createElement("script");return r.innerHTML=n.innerHTML,n.getAttributeNames().forEach((function(e){r.setAttribute(e,n.getAttribute(e)||"")})),r},isInertiaManagedElement:function(e){return e.nodeType===Node.ELEMENT_NODE&&null!==e.getAttribute("inertia")},findMatchingElementIndex:function(e,t){var n=e.getAttribute("inertia");return null!==n?t.findIndex((function(e){return e.getAttribute("inertia")===n})):-1},update:l((function(e){var t=this,n=e.map((function(e){return t.buildDOMElement(e)}));Array.from(document.head.childNodes).filter((function(e){return t.isInertiaManagedElement(e)})).forEach((function(e){var r=t.findMatchingElementIndex(e,n);if(-1!==r){var o,i=n.splice(r,1)[0];i&&!e.isEqualNode(i)&&(null==e||null==(o=e.parentNode)||o.replaceChild(i,e))}else{var a;null==e||null==(a=e.parentNode)||a.removeChild(e)}})),n.forEach((function(e){return document.head.appendChild(e)}))}),1)},x=new _;t.Inertia=x,t.createHeadManager=function(e,t,n){var r={},o=0;function i(){var e=Object.values(r).reduce((function(e,t){return e.concat(t)}),[]).reduce((function(e,n){if(-1===n.indexOf("<"))return e;if(0===n.indexOf("<title ")){var r=n.match(/(<title [^>]+>)(.*?)(<\/title>)/);return e.title=r?""+r[1]+t(r[2])+r[3]:n,e}var o=n.match(/ inertia="[^"]+"/);return o?e[o[0]]=n:e[Object.keys(e).length]=n,e}),{});return Object.values(e)}function a(){e?n(i()):w.update(i())}return{createProvider:function(){var e=function(){var e=o+=1;return r[e]=[],e.toString()}();return{update:function(t){return function(e,t){void 0===t&&(t=[]),null!==e&&Object.keys(r).indexOf(e)>-1&&(r[e]=t),a()}(e,t)},disconnect:function(){return function(e){null!==e&&-1!==Object.keys(r).indexOf(e)&&(delete r[e],a())}(e)}}}}},t.hrefToUrl=h,t.mergeDataIntoQueryString=v,t.shouldIntercept=function(e){var t="a"===e.currentTarget.tagName.toLowerCase();return!(e.target&&null!=e&&e.target.isContentEditable||e.defaultPrevented||t&&e.which>1||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey)},t.urlWithoutHash=m},1966:(e,t,n)=>{var r,o=(r=n(4865))&&"object"==typeof r&&"default"in r?r.default:r,i=null;function a(e){document.addEventListener("inertia:start",s.bind(null,e)),document.addEventListener("inertia:progress",c),document.addEventListener("inertia:finish",u)}function s(e){i=setTimeout((function(){return o.start()}),e)}function c(e){o.isStarted()&&e.detail.progress.percentage&&o.set(Math.max(o.status,e.detail.progress.percentage/100*.9))}function u(e){clearTimeout(i),o.isStarted()&&(e.detail.visit.completed?o.done():e.detail.visit.interrupted?o.set(0):e.detail.visit.cancelled&&(o.done(),o.remove()))}t.I={init:function(e){var t=void 0===e?{}:e,n=t.delay,r=t.color,i=void 0===r?"#29d":r,s=t.includeCSS,c=void 0===s||s,u=t.showSpinner,l=void 0!==u&&u;a(void 0===n?250:n),o.configure({showSpinner:l}),c&&function(e){var t=document.createElement("style");t.type="text/css",t.textContent="\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: "+e+";\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n }\n\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px "+e+", 0 0 5px "+e+";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: "+e+";\n border-left-color: "+e+";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n ",document.head.appendChild(t)}(i)}}},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),s=n(4097),c=n(4109),u=n(7985),l=n(5061);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers,d=e.responseType;r.isFormData(f)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+m)}var g=s(e.baseURL,e.url);function y(){if(h){var r="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,i={data:d&&"text"!==d&&"json"!==d?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,i),h=null}}if(h.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||u(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),d&&"json"!==d&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),f||(f=null),h.send(f)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(5655));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(e){return Promise.all(e)},c.spread=n(8713),c.isAxiosError=n(6268),e.exports=c,e.exports.default=c},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),s=n(7185),c=n(4875),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var l=[a,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;n.length;){var p=n.shift(),d=n.shift();try{f=p(f)}catch(e){d(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=l},782:(e,t,n)=>{"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,n)=>{"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:(e,t,n)=>{"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var l=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,u),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),o=n(5655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},5655:(e,t,n)=>{"use strict";var r=n(4155),o=n(4867),i=n(6016),a=n(481),s={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(u=n(5448)),u),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){l.headers[e]=o.merge(s)})),e.exports=l},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,n)=>{"use strict";var r=n(8593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],c=void 0===s||a(s,i,e);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:(e,t,n)=>{"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},7745:(e,t,n)=>{"use strict";var r,o=n(821),i=n(9038),a=n(1966);n(7333);var s=(null===(r=window.document.getElementsByTagName("title")[0])||void 0===r?void 0:r.innerText)||"Laravel";(0,i.yP)({title:function(e){return"".concat(e," - ").concat(s)},resolve:function(e){return n(1230)("./".concat(e,".vue"))},setup:function(e){var t=e.el,n=e.app,r=e.props,i=e.plugin;return(0,o.createApp)({render:function(){return(0,o.h)(n,r)}}).use(i).mixin({methods:{route}}).mount(t)}}),a.I.init({color:"#4B5563"})},7333:(e,t,n)=>{window._=n(6486),window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest"},1924:(e,t,n)=>{"use strict";var r=n(210),o=n(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},5559:(e,t,n)=>{"use strict";var r=n(8612),o=n(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(r,a,arguments);if(c&&u){var n=c(t,"length");n.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".bg-gray-100[data-v-feac48e4]{background-color:#f7fafc;background-color:rgba(247,250,252,var(--tw-bg-opacity))}.border-gray-200[data-v-feac48e4]{border-color:#edf2f7;border-color:rgba(237,242,247,var(--tw-border-opacity))}.text-gray-400[data-v-feac48e4]{color:#cbd5e0;color:rgba(203,213,224,var(--tw-text-opacity))}.text-gray-500[data-v-feac48e4]{color:#a0aec0;color:rgba(160,174,192,var(--tw-text-opacity))}.text-gray-600[data-v-feac48e4]{color:#718096;color:rgba(113,128,150,var(--tw-text-opacity))}.text-gray-700[data-v-feac48e4]{color:#4a5568;color:rgba(74,85,104,var(--tw-text-opacity))}.text-gray-900[data-v-feac48e4]{color:#1a202c;color:rgba(26,32,44,var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.dark\\:bg-gray-800[data-v-feac48e4]{background-color:#2d3748;background-color:rgba(45,55,72,var(--tw-bg-opacity))}.dark\\:bg-gray-900[data-v-feac48e4]{background-color:#1a202c;background-color:rgba(26,32,44,var(--tw-bg-opacity))}.dark\\:border-gray-700[data-v-feac48e4]{border-color:#4a5568;border-color:rgba(74,85,104,var(--tw-border-opacity))}.dark\\:text-white[data-v-feac48e4]{color:#fff;color:rgba(255,255,255,var(--tw-text-opacity))}.dark\\:text-gray-400[data-v-feac48e4]{color:#cbd5e0;color:rgba(203,213,224,var(--tw-text-opacity))}}",""]);const i=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function c(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var u=c;e.exports=u},7648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(t+i);for(var a,s=n.call(arguments,1),c=function(){if(this instanceof a){var t=i.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(n.call(arguments)))},u=Math.max(0,i.length-s.length),l=[],f=0;f<u;f++)l.push("$"+f);if(a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),i.prototype){var p=function(){};p.prototype=i.prototype,a.prototype=new p,p.prototype=null}return a}},8612:(e,t,n)=>{"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},210:(e,t,n)=>{"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new a},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,f=n(1405)(),p=Object.getPrototypeOf||function(e){return e.__proto__},d={},h="undefined"==typeof Uint8Array?r:p(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=p(o.prototype))}return v[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(8612),b=n(7642),_=y.call(Function.call,Array.prototype.concat),w=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),S=y.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,C=function(e){var t=S(e,0,1),n=S(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,k,(function(e,t,n,o){r[r.length]=n?x(o,E,"$1"):t||e})),r},j=function(e,t){var n,r=e;if(b(g,r)&&(r="%"+(n=g[r])[0]+"%"),b(v,r)){var i=v[r];if(i===d&&(i=m(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=C(e),r=n.length>0?n[0]:"",i=j("%"+r+"%",t),s=i.name,u=i.value,l=!1,f=i.alias;f&&(r=f[0],w(n,_([0,1],f)));for(var p=1,d=!0;p<n.length;p+=1){var h=n[p],m=S(h,0,1),g=S(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&d||(l=!0),b(v,s="%"+(r+="."+h)+"%"))u=v[s];else if(null!=u){if(!(h in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&p+1>=n.length){var y=c(u,h);u=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[h]}else d=b(u,h),u=u[h];d&&!l&&(v[s]=u)}}return u}},1405:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},7642:(e,t,n)=>{"use strict";var r=n(8612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},3465:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Boolean]",s="[object Date]",c="[object Function]",u="[object GeneratorFunction]",l="[object Map]",f="[object Number]",p="[object Object]",d="[object Promise]",h="[object RegExp]",v="[object Set]",m="[object String]",g="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",S="[object Int8Array]",k="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",j="[object Uint8ClampedArray]",O="[object Uint16Array]",N="[object Uint32Array]",A=/\w*$/,T=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,V={};V[i]=V["[object Array]"]=V[b]=V[_]=V[a]=V[s]=V[w]=V[x]=V[S]=V[k]=V[E]=V[l]=V[f]=V[p]=V[h]=V[v]=V[m]=V[g]=V[C]=V[j]=V[O]=V[N]=!0,V["[object Error]"]=V[c]=V[y]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,M="object"==typeof self&&self&&self.Object===Object&&self,I=R||M||Function("return this")(),L=t&&!t.nodeType&&t,B=L&&e&&!e.nodeType&&e,F=B&&B.exports===L;function $(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function D(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function H(e,t){return function(n){return e(t(n))}}function q(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Z,G=Array.prototype,J=Function.prototype,K=Object.prototype,X=I["__core-js_shared__"],Q=(Z=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"",Y=J.toString,ee=K.hasOwnProperty,te=K.toString,ne=RegExp("^"+Y.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=F?I.Buffer:void 0,oe=I.Symbol,ie=I.Uint8Array,ae=H(Object.getPrototypeOf,Object),se=Object.create,ce=K.propertyIsEnumerable,ue=G.splice,le=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,pe=H(Object.keys,Object),de=Be(I,"DataView"),he=Be(I,"Map"),ve=Be(I,"Promise"),me=Be(I,"Set"),ge=Be(I,"WeakMap"),ye=Be(Object,"create"),be=ze(de),_e=ze(he),we=ze(ve),xe=ze(me),Se=ze(ge),ke=oe?oe.prototype:void 0,Ee=ke?ke.valueOf:void 0;function Ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function je(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ne(e){this.__data__=new je(e)}function Ae(e,t){var n=He(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&qe(e)}(e)&&ee.call(e,"callee")&&(!ce.call(e,"callee")||te.call(e)==i)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!ee.call(e,a)||o&&("length"==a||Ue(a,r))||n.push(a);return n}function Te(e,t,n){var r=e[t];ee.call(e,t)&&We(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Pe(e,t){for(var n=e.length;n--;)if(We(e[n][0],t))return n;return-1}function Ve(e,t,n,r,o,d,y){var T;if(r&&(T=d?r(e,o,d,y):r(e)),void 0!==T)return T;if(!Je(e))return e;var P=He(e);if(P){if(T=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,T)}else{var R=$e(e),M=R==c||R==u;if(Ze(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(R==p||R==i||M&&!d){if(z(e))return d?e:{};if(T=function(e){return"function"!=typeof e.constructor||De(e)?{}:(t=ae(e),Je(t)?se(t):{});var t}(M?{}:e),!t)return function(e,t){return Ie(e,Fe(e),t)}(e,function(e,t){return e&&Ie(t,Ke(t),e)}(T,e))}else{if(!V[R])return d?e:{};T=function(e,t,n,r){var o=e.constructor;switch(t){case b:return Me(e);case a:case s:return new o(+e);case _:return function(e,t){var n=t?Me(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case x:case S:case k:case E:case C:case j:case O:case N:return function(e,t){var n=t?Me(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case l:return function(e,t,n){return D(t?n(W(e),!0):W(e),$,new e.constructor)}(e,r,n);case f:case m:return new o(e);case h:return function(e){var t=new e.constructor(e.source,A.exec(e));return t.lastIndex=e.lastIndex,t}(e);case v:return function(e,t,n){return D(t?n(q(e),!0):q(e),U,new e.constructor)}(e,r,n);case g:return i=e,Ee?Object(Ee.call(i)):{}}var i}(e,R,Ve,t)}}y||(y=new Ne);var I=y.get(e);if(I)return I;if(y.set(e,T),!P)var L=n?function(e){return function(e,t,n){var r=t(e);return He(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ke,Fe)}(e):Ke(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(L||e,(function(o,i){L&&(o=e[i=o]),Te(T,i,Ve(o,t,n,r,i,e,y))})),T}function Re(e){return!(!Je(e)||(t=e,Q&&Q in t))&&(Ge(e)||z(e)?ne:T).test(ze(e));var t}function Me(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Ie(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):void 0;Te(n,a,void 0===s?e[a]:s)}return n}function Le(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Re(n)?n:void 0}Ce.prototype.clear=function(){this.__data__=ye?ye(null):{}},Ce.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ce.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},Ce.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},Ce.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},je.prototype.clear=function(){this.__data__=[]},je.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},je.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?void 0:t[n][1]},je.prototype.has=function(e){return Pe(this.__data__,e)>-1},je.prototype.set=function(e,t){var n=this.__data__,r=Pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Oe.prototype.clear=function(){this.__data__={hash:new Ce,map:new(he||je),string:new Ce}},Oe.prototype.delete=function(e){return Le(this,e).delete(e)},Oe.prototype.get=function(e){return Le(this,e).get(e)},Oe.prototype.has=function(e){return Le(this,e).has(e)},Oe.prototype.set=function(e,t){return Le(this,e).set(e,t),this},Ne.prototype.clear=function(){this.__data__=new je},Ne.prototype.delete=function(e){return this.__data__.delete(e)},Ne.prototype.get=function(e){return this.__data__.get(e)},Ne.prototype.has=function(e){return this.__data__.has(e)},Ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof je){var r=n.__data__;if(!he||r.length<199)return r.push([e,t]),this;n=this.__data__=new Oe(r)}return n.set(e,t),this};var Fe=le?H(le,Object):function(){return[]},$e=function(e){return te.call(e)};function Ue(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}function De(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||K)}function ze(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function We(e,t){return e===t||e!=e&&t!=t}(de&&$e(new de(new ArrayBuffer(1)))!=_||he&&$e(new he)!=l||ve&&$e(ve.resolve())!=d||me&&$e(new me)!=v||ge&&$e(new ge)!=y)&&($e=function(e){var t=te.call(e),n=t==p?e.constructor:void 0,r=n?ze(n):void 0;if(r)switch(r){case be:return _;case _e:return l;case we:return d;case xe:return v;case Se:return y}return t});var He=Array.isArray;function qe(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}(e.length)&&!Ge(e)}var Ze=fe||function(){return!1};function Ge(e){var t=Je(e)?te.call(e):"";return t==c||t==u}function Je(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ke(e){return qe(e)?Ae(e):function(e){if(!De(e))return pe(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ve(e,!0,!0)}},2307:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",l="[object Function]",f="[object Map]",p="[object Number]",d="[object Object]",h="[object Promise]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[i]=k[a]=k[_]=k[s]=k[w]=k[c]=k[u]=k[l]=k[f]=k[p]=k[d]=k[v]=k[m]=k[g]=k[b]=!1;var E="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,C="object"==typeof self&&self&&self.Object===Object&&self,j=E||C||Function("return this")(),O=t&&!t.nodeType&&t,N=O&&e&&!e.nodeType&&e,A=N&&N.exports===O,T=A&&E.process,P=function(){try{return T&&T.binding&&T.binding("util")}catch(e){}}(),V=P&&P.isTypedArray;function R(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function I(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var L,B,F,$=Array.prototype,U=Function.prototype,D=Object.prototype,z=j["__core-js_shared__"],W=U.toString,H=D.hasOwnProperty,q=(L=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",Z=D.toString,G=RegExp("^"+W.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=A?j.Buffer:void 0,K=j.Symbol,X=j.Uint8Array,Q=D.propertyIsEnumerable,Y=$.splice,ee=K?K.toStringTag:void 0,te=Object.getOwnPropertySymbols,ne=J?J.isBuffer:void 0,re=(B=Object.keys,F=Object,function(e){return B(F(e))}),oe=Pe(j,"DataView"),ie=Pe(j,"Map"),ae=Pe(j,"Promise"),se=Pe(j,"Set"),ce=Pe(j,"WeakMap"),ue=Pe(Object,"create"),le=Ie(oe),fe=Ie(ie),pe=Ie(ae),de=Ie(se),he=Ie(ce),ve=K?K.prototype:void 0,me=ve?ve.valueOf:void 0;function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _e(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new be;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new ye(e);this.size=t.size}function xe(e,t){var n=Fe(e),r=!n&&Be(e),o=!n&&!r&&$e(e),i=!n&&!r&&!o&&He(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var u in e)!t&&!H.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Me(u,c))||s.push(u);return s}function Se(e,t){for(var n=e.length;n--;)if(Le(e[n][0],t))return n;return-1}function ke(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ee&&ee in Object(e)?function(e){var t=H.call(e,ee),n=e[ee];try{e[ee]=void 0;var r=!0}catch(e){}var o=Z.call(e);r&&(t?e[ee]=n:delete e[ee]);return o}(e):function(e){return Z.call(e)}(e)}function Ee(e){return We(e)&&ke(e)==i}function Ce(e,t,n,r,o){return e===t||(null==e||null==t||!We(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,o,l){var h=Fe(e),b=Fe(t),x=h?a:Re(e),S=b?a:Re(t),k=(x=x==i?d:x)==d,E=(S=S==i?d:S)==d,C=x==S;if(C&&$e(e)){if(!$e(t))return!1;h=!0,k=!1}if(C&&!k)return l||(l=new we),h||He(e)?Ne(e,t,n,r,o,l):function(e,t,n,r,o,i,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!i(new X(e),new X(t)));case s:case c:case p:return Le(+e,+t);case u:return e.name==t.name&&e.message==t.message;case v:case g:return e==t+"";case f:var l=M;case m:var d=1&r;if(l||(l=I),e.size!=t.size&&!d)return!1;var h=a.get(e);if(h)return h==t;r|=2,a.set(e,t);var b=Ne(l(e),l(t),r,o,i,a);return a.delete(e),b;case y:if(me)return me.call(e)==me.call(t)}return!1}(e,t,x,n,r,o,l);if(!(1&n)){var j=k&&H.call(e,"__wrapped__"),O=E&&H.call(t,"__wrapped__");if(j||O){var N=j?e.value():e,A=O?t.value():t;return l||(l=new we),o(N,A,n,r,l)}}if(!C)return!1;return l||(l=new we),function(e,t,n,r,o,i){var a=1&n,s=Ae(e),c=s.length,u=Ae(t).length;if(c!=u&&!a)return!1;var l=c;for(;l--;){var f=s[l];if(!(a?f in t:H.call(t,f)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var d=!0;i.set(e,t),i.set(t,e);var h=a;for(;++l<c;){var v=e[f=s[l]],m=t[f];if(r)var g=a?r(m,v,f,t,e,i):r(v,m,f,e,t,i);if(!(void 0===g?v===m||o(v,m,n,r,i):g)){d=!1;break}h||(h="constructor"==f)}if(d&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return i.delete(e),i.delete(t),d}(e,t,n,r,o,l)}(e,t,n,r,Ce,o))}function je(e){return!(!ze(e)||function(e){return!!q&&q in e}(e))&&(Ue(e)?G:x).test(Ie(e))}function Oe(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||D,t!==r)return re(e);var t,n,r,o=[];for(var i in Object(e))H.call(e,i)&&"constructor"!=i&&o.push(i);return o}function Ne(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(e);if(u&&i.get(t))return u==t;var l=-1,f=!0,p=2&n?new _e:void 0;for(i.set(e,t),i.set(t,e);++l<s;){var d=e[l],h=t[l];if(r)var v=a?r(h,d,l,t,e,i):r(d,h,l,e,t,i);if(void 0!==v){if(v)continue;f=!1;break}if(p){if(!R(t,(function(e,t){if(a=t,!p.has(a)&&(d===e||o(d,e,n,r,i)))return p.push(t);var a}))){f=!1;break}}else if(d!==h&&!o(d,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function Ae(e){return function(e,t,n){var r=t(e);return Fe(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,qe,Ve)}function Te(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Pe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return je(n)?n:void 0}ge.prototype.clear=function(){this.__data__=ue?ue(null):{},this.size=0},ge.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ge.prototype.get=function(e){var t=this.__data__;if(ue){var n=t[e];return n===r?void 0:n}return H.call(t,e)?t[e]:void 0},ge.prototype.has=function(e){var t=this.__data__;return ue?void 0!==t[e]:H.call(t,e)},ge.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ue&&void 0===t?r:t,this},ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=Se(t,e);return!(n<0)&&(n==t.length-1?t.pop():Y.call(t,n,1),--this.size,!0)},ye.prototype.get=function(e){var t=this.__data__,n=Se(t,e);return n<0?void 0:t[n][1]},ye.prototype.has=function(e){return Se(this.__data__,e)>-1},ye.prototype.set=function(e,t){var n=this.__data__,r=Se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(ie||ye),string:new ge}},be.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Te(this,e).get(e)},be.prototype.has=function(e){return Te(this,e).has(e)},be.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},_e.prototype.add=_e.prototype.push=function(e){return this.__data__.set(e,r),this},_e.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ye,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Ve=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(te(e),(function(t){return Q.call(e,t)})))}:function(){return[]},Re=ke;function Me(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function Ie(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Le(e,t){return e===t||e!=e&&t!=t}(oe&&Re(new oe(new ArrayBuffer(1)))!=w||ie&&Re(new ie)!=f||ae&&Re(ae.resolve())!=h||se&&Re(new se)!=m||ce&&Re(new ce)!=b)&&(Re=function(e){var t=ke(e),n=t==d?e.constructor:void 0,r=n?Ie(n):"";if(r)switch(r){case le:return w;case fe:return f;case pe:return h;case de:return m;case he:return b}return t});var Be=Ee(function(){return arguments}())?Ee:function(e){return We(e)&&H.call(e,"callee")&&!Q.call(e,"callee")},Fe=Array.isArray;var $e=ne||function(){return!1};function Ue(e){if(!ze(e))return!1;var t=ke(e);return t==l||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function De(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function We(e){return null!=e&&"object"==typeof e}var He=V?function(e){return function(t){return e(t)}}(V):function(e){return We(e)&&De(e.length)&&!!k[ke(e)]};function qe(e){return null!=(t=e)&&De(t.length)&&!Ue(t)?xe(e):Oe(e);var t}e.exports=function(e,t){return Ce(e,t)}},6486:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,u=32,l=64,f=128,p=256,d=1/0,h=9007199254740991,v=NaN,m=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",u],["partialRight",l],["rearg",p]],y="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",x="[object Error]",S="[object Function]",k="[object GeneratorFunction]",E="[object Map]",C="[object Number]",j="[object Object]",O="[object Promise]",N="[object RegExp]",A="[object Set]",T="[object String]",P="[object Symbol]",V="[object WeakMap]",R="[object ArrayBuffer]",M="[object DataView]",I="[object Float32Array]",L="[object Float64Array]",B="[object Int8Array]",F="[object Int16Array]",$="[object Int32Array]",U="[object Uint8Array]",D="[object Uint8ClampedArray]",z="[object Uint16Array]",W="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,Z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,K=RegExp(G.source),X=RegExp(J.source),Q=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ve=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",je="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",Te="[\\ud800-\\udfff]",Pe="["+Ne+"]",Ve="["+ke+"]",Re="\\d+",Me="[\\u2700-\\u27bf]",Ie="["+Ce+"]",Le="[^\\ud800-\\udfff"+Ne+Re+Ee+Ce+je+"]",Be="\\ud83c[\\udffb-\\udfff]",Fe="[^\\ud800-\\udfff]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",De="["+je+"]",ze="(?:"+Ie+"|"+Le+")",We="(?:"+De+"|"+Le+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ze="(?:"+Ve+"|"+Be+")"+"?",Ge="[\\ufe0e\\ufe0f]?",Je=Ge+Ze+("(?:\\u200d(?:"+[Fe,$e,Ue].join("|")+")"+Ge+Ze+")*"),Ke="(?:"+[Me,$e,Ue].join("|")+")"+Je,Xe="(?:"+[Fe+Ve+"?",Ve,$e,Ue,Te].join("|")+")",Qe=RegExp(Ae,"g"),Ye=RegExp(Ve,"g"),et=RegExp(Be+"(?="+Be+")|"+Xe+Je,"g"),tt=RegExp([De+"?"+Ie+"+"+He+"(?="+[Pe,De,"$"].join("|")+")",We+"+"+qe+"(?="+[Pe,De+ze,"$"].join("|")+")",De+"?"+ze+"+"+He,De+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ke].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+ke+Oe+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[I]=at[L]=at[B]=at[F]=at[$]=at[U]=at[D]=at[z]=at[W]=!0,at[y]=at[b]=at[R]=at[_]=at[M]=at[w]=at[x]=at[S]=at[E]=at[C]=at[j]=at[N]=at[A]=at[T]=at[V]=!1;var st={};st[y]=st[b]=st[R]=st[M]=st[_]=st[w]=st[I]=st[L]=st[B]=st[F]=st[$]=st[E]=st[C]=st[j]=st[N]=st[A]=st[T]=st[P]=st[U]=st[D]=st[z]=st[W]=!0,st[x]=st[S]=st[V]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,lt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,dt=ft||pt||Function("return this")(),ht=t&&!t.nodeType&&t,vt=ht&&e&&!e.nodeType&&e,mt=vt&&vt.exports===ht,gt=mt&&ft.process,yt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(e){}}(),bt=yt&&yt.isArrayBuffer,_t=yt&&yt.isDate,wt=yt&&yt.isMap,xt=yt&&yt.isRegExp,St=yt&&yt.isSet,kt=yt&&yt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function At(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Tt(e,t){return!!(null==e?0:e.length)&&Ut(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Vt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Rt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function It(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Bt=Ht("length");function Ft(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function $t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ut(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):$t(e,zt,n)}function Dt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function zt(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Gt(e,t)/n:v}function Ht(e){return function(t){return null==t?o:t[e]}}function qt(e){return function(t){return null==e?o:e[t]}}function Zt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Gt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Jt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,vn(e)+1).replace(ae,""):e}function Xt(e){return function(t){return e(t)}}function Qt(e,t){return Vt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&Ut(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=qt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+ct[e]}function sn(e){return nt.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function dn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Bt(e)}function hn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function vn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var mn=qt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var gn=function e(t){var n,r=(t=null==t?dt:gn.defaults(dt.Object(),t,gn.pick(dt,ot))).Array,se=t.Date,ke=t.Error,Ee=t.Function,Ce=t.Math,je=t.Object,Oe=t.RegExp,Ne=t.String,Ae=t.TypeError,Te=r.prototype,Pe=Ee.prototype,Ve=je.prototype,Re=t["__core-js_shared__"],Me=Pe.toString,Ie=Ve.hasOwnProperty,Le=0,Be=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Ve.toString,$e=Me.call(je),Ue=dt._,De=Oe("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=mt?t.Buffer:o,We=t.Symbol,He=t.Uint8Array,qe=ze?ze.allocUnsafe:o,Ze=un(je.getPrototypeOf,je),Ge=je.create,Je=Ve.propertyIsEnumerable,Ke=Te.splice,Xe=We?We.isConcatSpreadable:o,et=We?We.iterator:o,nt=We?We.toStringTag:o,ct=function(){try{var e=hi(je,"defineProperty");return e({},"",{}),e}catch(e){}}(),ft=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,pt=se&&se.now!==dt.Date.now&&se.now,ht=t.setTimeout!==dt.setTimeout&&t.setTimeout,vt=Ce.ceil,gt=Ce.floor,yt=je.getOwnPropertySymbols,Bt=ze?ze.isBuffer:o,qt=t.isFinite,yn=Te.join,bn=un(je.keys,je),_n=Ce.max,wn=Ce.min,xn=se.now,Sn=t.parseInt,kn=Ce.random,En=Te.reverse,Cn=hi(t,"DataView"),jn=hi(t,"Map"),On=hi(t,"Promise"),Nn=hi(t,"Set"),An=hi(t,"WeakMap"),Tn=hi(je,"create"),Pn=An&&new An,Vn={},Rn=Ui(Cn),Mn=Ui(jn),In=Ui(On),Ln=Ui(Nn),Bn=Ui(An),Fn=We?We.prototype:o,$n=Fn?Fn.valueOf:o,Un=Fn?Fn.toString:o;function Dn(e){if(os(e)&&!Za(e)&&!(e instanceof qn)){if(e instanceof Hn)return e;if(Ie.call(e,"__wrapped__"))return Di(e)}return new Hn(e)}var zn=function(){function e(){}return function(t){if(!rs(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Wn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Jn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Qn(e,t){var n=Za(e),r=!n&&qa(e),o=!n&&!r&&Xa(e),i=!n&&!r&&!o&&ps(e),a=n||r||o||i,s=a?Jt(e.length,Ne):[],c=s.length;for(var u in e)!t&&!Ie.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||wi(u,c))||s.push(u);return s}function Yn(e){var t=e.length;return t?e[Kr(0,t-1)]:o}function er(e,t){return Bi(Po(e),ur(t,0,e.length))}function tr(e){return Bi(Po(e))}function nr(e,t,n){(n!==o&&!za(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function rr(e,t,n){var r=e[t];Ie.call(e,t)&&za(r,n)&&(n!==o||t in e)||sr(e,t,n)}function or(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function ir(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ar(e,t){return e&&Vo(t,Rs(t),e)}function sr(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function cr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Ns(e,t[n]);return a}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function lr(e,t,n,r,i,a){var s,c=1&t,u=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!rs(e))return e;var f=Za(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Po(e,s)}else{var p=gi(e),d=p==S||p==k;if(Xa(e))return Co(e,c);if(p==j||p==y||d&&!i){if(s=u||d?{}:bi(e),!c)return u?function(e,t){return Vo(e,mi(e),t)}(e,function(e,t){return e&&Vo(t,Ms(t),e)}(s,e)):function(e,t){return Vo(e,vi(e),t)}(e,ar(s,e))}else{if(!st[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case R:return jo(e);case _:case w:return new r(+e);case M:return function(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case L:case B:case F:case $:case U:case D:case z:case W:return Oo(e,n);case E:return new r;case C:case T:return new r(e);case N:return function(e){var t=new e.constructor(e.source,ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case P:return o=e,$n?je($n.call(o)):{}}var o}(e,p,c)}}a||(a=new Xn);var h=a.get(e);if(h)return h;a.set(e,s),us(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):is(e)&&e.forEach((function(r,o){s.set(o,lr(r,t,n,o,e,a))}));var v=f?o:(l?u?si:ai:u?Ms:Rs)(e);return jt(v||e,(function(r,o){v&&(r=e[o=r]),rr(s,o,lr(r,t,n,o,e,a))})),s}function fr(e,t,n){var r=n.length;if(null==e)return!r;for(e=je(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function pr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Ri((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Tt,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=Vt(t,Xt(n))),r?(i=Pt,a=!1):t.length>=200&&(i=Yt,a=!1,t=new Kn(t));e:for(;++o<s;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f==f){for(var p=u;p--;)if(t[p]===f)continue e;c.push(l)}else i(t,f,r)||c.push(l)}return c}Dn.templateSettings={escape:Q,evaluate:Y,interpolate:ee,variable:"",imports:{_:Dn}},Dn.prototype=Wn.prototype,Dn.prototype.constructor=Dn,Hn.prototype=zn(Wn.prototype),Hn.prototype.constructor=Hn,qn.prototype=zn(Wn.prototype),qn.prototype.constructor=qn,Zn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Zn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Zn.prototype.get=function(e){var t=this.__data__;if(Tn){var n=t[e];return n===a?o:n}return Ie.call(t,e)?t[e]:o},Zn.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==o:Ie.call(t,e)},Zn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Tn&&t===o?a:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=or(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,n=or(t,e);return n<0?o:t[n][1]},Gn.prototype.has=function(e){return or(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Jn.prototype.clear=function(){this.size=0,this.__data__={hash:new Zn,map:new(jn||Gn),string:new Zn}},Jn.prototype.delete=function(e){var t=pi(this,e).delete(e);return this.size-=t?1:0,t},Jn.prototype.get=function(e){return pi(this,e).get(e)},Jn.prototype.has=function(e){return pi(this,e).has(e)},Jn.prototype.set=function(e,t){var n=pi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,a),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!jn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jn(r)}return n.set(e,t),this.size=n.size,this};var hr=Io(xr),vr=Io(Sr,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(c===o?s==s&&!fs(s):n(s,c)))var c=s,u=a}return u}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function br(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=_i),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?br(s,t-1,n,r,o):Rt(o,s):r||(o[o.length]=s)}return o}var _r=Lo(),wr=Lo(!0);function xr(e,t){return e&&_r(e,t,Rs)}function Sr(e,t){return e&&wr(e,t,Rs)}function kr(e,t){return At(t,(function(t){return es(e[t])}))}function Er(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&n<r;)e=e[$i(t[n++])];return n&&n==r?e:o}function Cr(e,t,n){var r=t(e);return Za(e)?r:Rt(r,n(e))}function jr(e){return null==e?e===o?"[object Undefined]":"[object Null]":nt&&nt in je(e)?function(e){var t=Ie.call(e,nt),n=e[nt];try{e[nt]=o;var r=!0}catch(e){}var i=Fe.call(e);r&&(t?e[nt]=n:delete e[nt]);return i}(e):function(e){return Fe.call(e)}(e)}function Or(e,t){return e>t}function Nr(e,t){return null!=e&&Ie.call(e,t)}function Ar(e,t){return null!=e&&t in je(e)}function Tr(e,t,n){for(var i=n?Pt:Tt,a=e[0].length,s=e.length,c=s,u=r(s),l=1/0,f=[];c--;){var p=e[c];c&&t&&(p=Vt(p,Xt(t))),l=wn(p.length,l),u[c]=!n&&(t||a>=120&&p.length>=120)?new Kn(c&&p):o}p=e[0];var d=-1,h=u[0];e:for(;++d<a&&f.length<l;){var v=p[d],m=t?t(v):v;if(v=n||0!==v?v:0,!(h?Yt(h,m):i(f,m,n))){for(c=s;--c;){var g=u[c];if(!(g?Yt(g,m):i(e[c],m,n)))continue e}h&&h.push(m),f.push(v)}}return f}function Pr(e,t,n){var r=null==(e=Ai(e,t=xo(t,e)))?e:e[$i(Yi(t))];return null==r?o:Et(r,e,n)}function Vr(e){return os(e)&&jr(e)==y}function Rr(e,t,n,r,i){return e===t||(null==e||null==t||!os(e)&&!os(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=Za(e),c=Za(t),u=s?b:gi(e),l=c?b:gi(t),f=(u=u==y?j:u)==j,p=(l=l==y?j:l)==j,d=u==l;if(d&&Xa(e)){if(!Xa(t))return!1;s=!0,f=!1}if(d&&!f)return a||(a=new Xn),s||ps(e)?oi(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case M:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!i(new He(e),new He(t)));case _:case w:case C:return za(+e,+t);case x:return e.name==t.name&&e.message==t.message;case N:case T:return e==t+"";case E:var s=cn;case A:var c=1&r;if(s||(s=fn),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var l=oi(s(e),s(t),r,o,i,a);return a.delete(e),l;case P:if($n)return $n.call(e)==$n.call(t)}return!1}(e,t,u,n,r,i,a);if(!(1&n)){var h=f&&Ie.call(e,"__wrapped__"),v=p&&Ie.call(t,"__wrapped__");if(h||v){var m=h?e.value():e,g=v?t.value():t;return a||(a=new Xn),i(m,g,n,r,a)}}if(!d)return!1;return a||(a=new Xn),function(e,t,n,r,i,a){var s=1&n,c=ai(e),u=c.length,l=ai(t).length;if(u!=l&&!s)return!1;var f=u;for(;f--;){var p=c[f];if(!(s?p in t:Ie.call(t,p)))return!1}var d=a.get(e),h=a.get(t);if(d&&h)return d==t&&h==e;var v=!0;a.set(e,t),a.set(t,e);var m=s;for(;++f<u;){var g=e[p=c[f]],y=t[p];if(r)var b=s?r(y,g,p,t,e,a):r(g,y,p,e,t,a);if(!(b===o?g===y||i(g,y,n,r,a):b)){v=!1;break}m||(m="constructor"==p)}if(v&&!m){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(v=!1)}return a.delete(e),a.delete(t),v}(e,t,n,r,i,a)}(e,t,n,r,Rr,i))}function Mr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=je(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<a;){var u=(c=n[i])[0],l=e[u],f=c[1];if(s&&c[2]){if(l===o&&!(u in e))return!1}else{var p=new Xn;if(r)var d=r(l,f,u,e,t,p);if(!(d===o?Rr(f,l,3,r,p):d))return!1}}return!0}function Ir(e){return!(!rs(e)||(t=e,Be&&Be in t))&&(es(e)?De:ye).test(Ui(e));var t}function Lr(e){return"function"==typeof e?e:null==e?ac:"object"==typeof e?Za(e)?zr(e[0],e[1]):Dr(e):vc(e)}function Br(e){if(!Ci(e))return bn(e);var t=[];for(var n in je(e))Ie.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!rs(e))return function(e){var t=[];if(null!=e)for(var n in je(e))t.push(n);return t}(e);var t=Ci(e),n=[];for(var r in e)("constructor"!=r||!t&&Ie.call(e,r))&&n.push(r);return n}function $r(e,t){return e<t}function Ur(e,t){var n=-1,o=Ja(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Dr(e){var t=di(e);return 1==t.length&&t[0][2]?Oi(t[0][0],t[0][1]):function(n){return n===e||Mr(n,e,t)}}function zr(e,t){return Si(e)&&ji(t)?Oi($i(e),t):function(n){var r=Ns(n,e);return r===o&&r===t?As(n,e):Rr(t,r,3)}}function Wr(e,t,n,r,i){e!==t&&_r(t,(function(a,s){if(i||(i=new Xn),rs(a))!function(e,t,n,r,i,a,s){var c=Pi(e,n),u=Pi(t,n),l=s.get(u);if(l)return void nr(e,n,l);var f=a?a(c,u,n+"",e,t,s):o,p=f===o;if(p){var d=Za(u),h=!d&&Xa(u),v=!d&&!h&&ps(u);f=u,d||h||v?Za(c)?f=c:Ka(c)?f=Po(c):h?(p=!1,f=Co(u,!0)):v?(p=!1,f=Oo(u,!0)):f=[]:ss(u)||qa(u)?(f=c,qa(c)?f=_s(c):rs(c)&&!es(c)||(f=bi(u))):p=!1}p&&(s.set(u,f),i(f,u,r,a,s),s.delete(u));nr(e,n,f)}(e,t,s,n,Wr,r,i);else{var c=r?r(Pi(e,s),a,s+"",e,t,i):o;c===o&&(c=a),nr(e,s,c)}}),Ms)}function Hr(e,t){var n=e.length;if(n)return wi(t+=t<0?n:0,n)?e[t]:o}function qr(e,t,n){t=t.length?Vt(t,(function(e){return Za(e)?function(t){return Er(t,1===e.length?e[0]:e)}:e})):[ac];var r=-1;t=Vt(t,Xt(fi()));var o=Ur(e,(function(e,n,o){var i=Vt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var c=No(o[r],i[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Zr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Er(e,a);n(s,a)&&to(i,xo(a,e),s)}return i}function Gr(e,t,n,r){var o=r?Dt:Ut,i=-1,a=t.length,s=e;for(e===t&&(t=Po(t)),n&&(s=Vt(e,Xt(n)));++i<a;)for(var c=0,u=t[i],l=n?n(u):u;(c=o(s,l,c,r))>-1;)s!==e&&Ke.call(s,c,1),Ke.call(e,c,1);return e}function Jr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ke.call(e,o,1):ho(e,o)}}return e}function Kr(e,t){return e+gt(kn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Mi(Ni(e,t,ac),e+"")}function Yr(e){return Yn(zs(e))}function eo(e,t){var n=zs(e);return Bi(n,ur(t,0,n.length))}function to(e,t,n,r){if(!rs(e))return e;for(var i=-1,a=(t=xo(t,e)).length,s=a-1,c=e;null!=c&&++i<a;){var u=$i(t[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var f=c[u];(l=r?r(f,u,c):o)===o&&(l=rs(f)?f:wi(t[i+1])?[]:{})}rr(c,u,l),c=c[u]}return e}var no=Pn?function(e,t){return Pn.set(e,t),e}:ac,ro=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:rc(t),writable:!0})}:ac;function oo(e){return Bi(zs(e))}function io(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function ao(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!fs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return co(e,t,ac,n)}function co(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,c=null===t,u=fs(t),l=t===o;i<a;){var f=gt((i+a)/2),p=n(e[f]),d=p!==o,h=null===p,v=p==p,m=fs(p);if(s)var g=r||v;else g=l?v&&(r||d):c?v&&d&&(r||!h):u?v&&d&&!h&&(r||!m):!h&&!m&&(r?p<=t:p<t);g?i=f+1:a=f}return wn(a,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!za(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function lo(e){return"number"==typeof e?e:fs(e)?v:+e}function fo(e){if("string"==typeof e)return e;if(Za(e))return Vt(e,fo)+"";if(fs(e))return Un?Un.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function po(e,t,n){var r=-1,o=Tt,i=e.length,a=!0,s=[],c=s;if(n)a=!1,o=Pt;else if(i>=200){var u=t?null:Qo(e);if(u)return fn(u);a=!1,o=Yt,c=new Kn}else c=t?[]:s;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var p=c.length;p--;)if(c[p]===f)continue e;t&&c.push(f),s.push(l)}else o(c,f,n)||(c!==s&&c.push(f),s.push(l))}return s}function ho(e,t){return null==(e=Ai(e,t=xo(t,e)))||delete e[$i(Yi(t))]}function vo(e,t,n,r){return to(e,t,n(Er(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?io(e,r?0:i,r?i+1:o):io(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof qn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function yo(e,t,n){var o=e.length;if(o<2)return o?po(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],c=-1;++c<o;)c!=i&&(a[i]=dr(a[i]||s,e[c],t,n));return po(br(a,1),t,n)}function bo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var c=r<a?t[r]:o;n(s,e[r],c)}return s}function _o(e){return Ka(e)?e:[]}function wo(e){return"function"==typeof e?e:ac}function xo(e,t){return Za(e)?e:Si(e,t)?[e]:Fi(ws(e))}var So=Qr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:io(e,t,n)}var Eo=ft||function(e){return dt.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function jo(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function Oo(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function No(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=fs(e),s=t!==o,c=null===t,u=t==t,l=fs(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!u)return-1}return 0}function Ao(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,u=t.length,l=_n(a-s,0),f=r(u+l),p=!o;++c<u;)f[c]=t[c];for(;++i<s;)(p||i<a)&&(f[n[i]]=e[i]);for(;l--;)f[c++]=e[i++];return f}function To(e,t,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,u=-1,l=t.length,f=_n(a-c,0),p=r(f+l),d=!o;++i<f;)p[i]=e[i];for(var h=i;++u<l;)p[h+u]=t[u];for(;++s<c;)(d||i<a)&&(p[h+n[s]]=e[i++]);return p}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Vo(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],u=r?r(n[c],e[c],c,n,e):o;u===o&&(u=e[c]),i?sr(n,c,u):rr(n,c,u)}return n}function Ro(e,t){return function(n,r){var o=Za(n)?Ct:ir,i=t?t():{};return o(n,e,fi(r,2),i)}}function Mo(e){return Qr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&xi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=je(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}function Io(e,t){return function(n,r){if(null==n)return n;if(!Ja(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=je(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Lo(e){return function(t,n,r){for(var o=-1,i=je(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function Bo(e){return function(t){var n=sn(t=ws(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Fo(e){return function(t){return Mt(ec(qs(t).replace(Qe,"")),e,"")}}function $o(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return rs(r)?r:n}}function Uo(e){return function(t,n,r){var i=je(t);if(!Ja(t)){var a=fi(n,3);t=Rs(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Do(e){return ii((function(t){var n=t.length,r=n,a=Hn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(i);if(a&&!c&&"wrapper"==ui(s))var c=new Hn([],!0)}for(r=c?r:n;++r<n;){var u=ui(s=t[r]),l="wrapper"==u?ci(s):o;c=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[ui(l[0])].apply(c,l[3]):1==s.length&&ki(s)?c[u]():c.thru(s)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Za(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function zo(e,t,n,i,a,s,c,u,l,p){var d=t&f,h=1&t,v=2&t,m=24&t,g=512&t,y=v?o:$o(e);return function o(){for(var f=arguments.length,b=r(f),_=f;_--;)b[_]=arguments[_];if(m)var w=li(o),x=nn(b,w);if(i&&(b=Ao(b,i,a,m)),s&&(b=To(b,s,c,m)),f-=x,m&&f<p){var S=ln(b,w);return Ko(e,t,zo,o.placeholder,n,b,S,u,l,p-f)}var k=h?n:this,E=v?k[e]:e;return f=b.length,u?b=Ti(b,u):g&&f>1&&b.reverse(),d&&l<f&&(b.length=l),this&&this!==dt&&this instanceof o&&(E=y||$o(E)),E.apply(k,b)}}function Wo(e,t){return function(n,r){return function(e,t,n,r){return xr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Ho(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=fo(n),r=fo(r)):(n=lo(n),r=lo(r)),i=e(n,r)}return i}}function qo(e){return ii((function(t){return t=Vt(t,Xt(fi())),Qr((function(n){var r=this;return e(t,(function(e){return Et(e,r,n)}))}))}))}function Zo(e,t){var n=(t=t===o?" ":fo(t)).length;if(n<2)return n?Xr(t,e):t;var r=Xr(t,vt(e/dn(t)));return sn(t)?ko(hn(r),0,e).join(""):r.slice(0,e)}function Go(e){return function(t,n,i){return i&&"number"!=typeof i&&xi(t,n,i)&&(n=i=o),t=ms(t),n===o?(n=t,t=0):n=ms(n),function(e,t,n,o){for(var i=-1,a=_n(vt((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:ms(i),e)}}function Jo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=bs(t),n=bs(n)),e(t,n)}}function Ko(e,t,n,r,i,a,s,c,f,p){var d=8&t;t|=d?u:l,4&(t&=~(d?l:u))||(t&=-4);var h=[e,t,i,d?a:o,d?s:o,d?o:a,d?o:s,c,f,p],v=n.apply(o,h);return ki(e)&&Vi(v,h),v.placeholder=r,Ii(v,e,t)}function Xo(e){var t=Ce[e];return function(e,n){if(e=bs(e),(n=null==n?0:wn(gs(n),292))&&qt(e)){var r=(ws(e)+"e").split("e");return+((r=(ws(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Qo=Nn&&1/fn(new Nn([,-0]))[1]==d?function(e){return new Nn(e)}:fc;function Yo(e){return function(t){var n=gi(t);return n==E?cn(t):n==A?pn(t):function(e,t){return Vt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ei(e,t,n,a,d,h,v,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Ae(i);var y=a?a.length:0;if(y||(t&=-97,a=d=o),v=v===o?v:_n(gs(v),0),m=m===o?m:gs(m),y-=d?d.length:0,t&l){var b=a,_=d;a=d=o}var w=g?o:ci(e),x=[e,t,n,a,d,b,_,h,v,m];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==f&&8==n||r==f&&n==p&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?Ao(u,c,t[4]):c,e[4]=u?ln(e[3],s):t[4]}(c=t[5])&&(u=e[5],e[5]=u?To(u,c,t[6]):c,e[6]=u?ln(e[5],s):t[6]);(c=t[7])&&(e[7]=c);r&f&&(e[8]=null==e[8]?t[8]:wn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(x,w),e=x[0],t=x[1],n=x[2],a=x[3],d=x[4],!(m=x[9]=x[9]===o?g?0:e.length:_n(x[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==c?function(e,t,n){var i=$o(e);return function a(){for(var s=arguments.length,c=r(s),u=s,l=li(a);u--;)c[u]=arguments[u];var f=s<3&&c[0]!==l&&c[s-1]!==l?[]:ln(c,l);return(s-=f.length)<n?Ko(e,t,zo,a.placeholder,o,c,f,o,o,n-s):Et(this&&this!==dt&&this instanceof a?i:e,this,c)}}(e,t,m):t!=u&&33!=t||d.length?zo.apply(o,x):function(e,t,n,o){var i=1&t,a=$o(e);return function t(){for(var s=-1,c=arguments.length,u=-1,l=o.length,f=r(l+c),p=this&&this!==dt&&this instanceof t?a:e;++u<l;)f[u]=o[u];for(;c--;)f[u++]=arguments[++s];return Et(p,i?n:this,f)}}(e,t,n,a);else var S=function(e,t,n){var r=1&t,o=$o(e);return function t(){return(this&&this!==dt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ii((w?no:Vi)(S,x),e,t)}function ti(e,t,n,r){return e===o||za(e,Ve[n])&&!Ie.call(r,n)?t:e}function ni(e,t,n,r,i,a){return rs(e)&&rs(t)&&(a.set(t,e),Wr(e,t,o,ni,a),a.delete(t)),e}function ri(e){return ss(e)?o:e}function oi(e,t,n,r,i,a){var s=1&n,c=e.length,u=t.length;if(c!=u&&!(s&&u>c))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new Kn:o;for(a.set(e,t),a.set(t,e);++p<c;){var v=e[p],m=t[p];if(r)var g=s?r(m,v,p,t,e,a):r(v,m,p,e,t,a);if(g!==o){if(g)continue;d=!1;break}if(h){if(!Lt(t,(function(e,t){if(!Yt(h,t)&&(v===e||i(v,e,n,r,a)))return h.push(t)}))){d=!1;break}}else if(v!==m&&!i(v,m,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function ii(e){return Mi(Ni(e,o,Gi),e+"")}function ai(e){return Cr(e,Rs,vi)}function si(e){return Cr(e,Ms,mi)}var ci=Pn?function(e){return Pn.get(e)}:fc;function ui(e){for(var t=e.name+"",n=Vn[t],r=Ie.call(Vn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function li(e){return(Ie.call(Dn,"placeholder")?Dn:e).placeholder}function fi(){var e=Dn.iteratee||sc;return e=e===sc?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function pi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=Rs(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ji(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Ir(n)?n:o}var vi=yt?function(e){return null==e?[]:(e=je(e),At(yt(e),(function(t){return Je.call(e,t)})))}:yc,mi=yt?function(e){for(var t=[];e;)Rt(t,vi(e)),e=Ze(e);return t}:yc,gi=jr;function yi(e,t,n){for(var r=-1,o=(t=xo(t,e)).length,i=!1;++r<o;){var a=$i(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ns(o)&&wi(a,o)&&(Za(e)||qa(e))}function bi(e){return"function"!=typeof e.constructor||Ci(e)?{}:zn(Ze(e))}function _i(e){return Za(e)||qa(e)||!!(Xe&&e&&e[Xe])}function wi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function xi(e,t,n){if(!rs(n))return!1;var r=typeof t;return!!("number"==r?Ja(n)&&wi(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function Si(e,t){if(Za(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fs(e))||(ne.test(e)||!te.test(e)||null!=t&&e in je(t))}function ki(e){var t=ui(e),n=Dn[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var r=ci(n);return!!r&&e===r[0]}(Cn&&gi(new Cn(new ArrayBuffer(1)))!=M||jn&&gi(new jn)!=E||On&&gi(On.resolve())!=O||Nn&&gi(new Nn)!=A||An&&gi(new An)!=V)&&(gi=function(e){var t=jr(e),n=t==j?e.constructor:o,r=n?Ui(n):"";if(r)switch(r){case Rn:return M;case Mn:return E;case In:return O;case Ln:return A;case Bn:return V}return t});var Ei=Re?es:bc;function Ci(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ve)}function ji(e){return e==e&&!rs(e)}function Oi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in je(n)))}}function Ni(e,t,n){return t=_n(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=_n(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),Et(e,this,c)}}function Ai(e,t){return t.length<2?e:Er(e,io(t,0,-1))}function Ti(e,t){for(var n=e.length,r=wn(t.length,n),i=Po(e);r--;){var a=t[r];e[r]=wi(a,n)?i[a]:o}return e}function Pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Vi=Li(no),Ri=ht||function(e,t){return dt.setTimeout(e,t)},Mi=Li(ro);function Ii(e,t,n){var r=t+"";return Mi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return jt(g,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(le):[]}(r),n)))}function Li(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Bi(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Kr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Fi=function(e){var t=La(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(de,"$1"):n||e)})),t}));function $i(e){if("string"==typeof e||fs(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ui(e){if(null!=e){try{return Me.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Di(e){if(e instanceof qn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Qr((function(e,t){return Ka(e)?dr(e,br(t,1,Ka,!0)):[]})),Wi=Qr((function(e,t){var n=Yi(t);return Ka(n)&&(n=o),Ka(e)?dr(e,br(t,1,Ka,!0),fi(n,2)):[]})),Hi=Qr((function(e,t){var n=Yi(t);return Ka(n)&&(n=o),Ka(e)?dr(e,br(t,1,Ka,!0),o,n):[]}));function qi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gs(n);return o<0&&(o=_n(r+o,0)),$t(e,fi(t,3),o)}function Zi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=gs(n),i=n<0?_n(r+i,0):wn(i,r-1)),$t(e,fi(t,3),i,!0)}function Gi(e){return(null==e?0:e.length)?br(e,1):[]}function Ji(e){return e&&e.length?e[0]:o}var Ki=Qr((function(e){var t=Vt(e,_o);return t.length&&t[0]===e[0]?Tr(t):[]})),Xi=Qr((function(e){var t=Yi(e),n=Vt(e,_o);return t===Yi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Tr(n,fi(t,2)):[]})),Qi=Qr((function(e){var t=Yi(e),n=Vt(e,_o);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Tr(n,o,t):[]}));function Yi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var ea=Qr(ta);function ta(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var na=ii((function(e,t){var n=null==e?0:e.length,r=cr(e,t);return Jr(e,Vt(t,(function(e){return wi(e,n)?+e:e})).sort(No)),r}));function ra(e){return null==e?e:En.call(e)}var oa=Qr((function(e){return po(br(e,1,Ka,!0))})),ia=Qr((function(e){var t=Yi(e);return Ka(t)&&(t=o),po(br(e,1,Ka,!0),fi(t,2))})),aa=Qr((function(e){var t=Yi(e);return t="function"==typeof t?t:o,po(br(e,1,Ka,!0),o,t)}));function sa(e){if(!e||!e.length)return[];var t=0;return e=At(e,(function(e){if(Ka(e))return t=_n(e.length,t),!0})),Jt(t,(function(t){return Vt(e,Ht(t))}))}function ca(e,t){if(!e||!e.length)return[];var n=sa(e);return null==t?n:Vt(n,(function(e){return Et(t,o,e)}))}var ua=Qr((function(e,t){return Ka(e)?dr(e,t):[]})),la=Qr((function(e){return yo(At(e,Ka))})),fa=Qr((function(e){var t=Yi(e);return Ka(t)&&(t=o),yo(At(e,Ka),fi(t,2))})),pa=Qr((function(e){var t=Yi(e);return t="function"==typeof t?t:o,yo(At(e,Ka),o,t)})),da=Qr(sa);var ha=Qr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ca(e,n)}));function va(e){var t=Dn(e);return t.__chain__=!0,t}function ma(e,t){return t(e)}var ga=ii((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return cr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof qn&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ma,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ya=Ro((function(e,t,n){Ie.call(e,n)?++e[n]:sr(e,n,1)}));var ba=Uo(qi),_a=Uo(Zi);function wa(e,t){return(Za(e)?jt:hr)(e,fi(t,3))}function xa(e,t){return(Za(e)?Ot:vr)(e,fi(t,3))}var Sa=Ro((function(e,t,n){Ie.call(e,n)?e[n].push(t):sr(e,n,[t])}));var ka=Qr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ja(e)?r(e.length):[];return hr(e,(function(e){a[++o]=i?Et(t,e,n):Pr(e,t,n)})),a})),Ea=Ro((function(e,t,n){sr(e,n,t)}));function Ca(e,t){return(Za(e)?Vt:Ur)(e,fi(t,3))}var ja=Ro((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Oa=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,br(t,1),[])})),Na=pt||function(){return dt.Date.now()};function Aa(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,ei(e,f,o,o,o,o,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Pa=Qr((function(e,t,n){var r=1;if(n.length){var o=ln(n,li(Pa));r|=u}return ei(e,r,t,n,o)})),Va=Qr((function(e,t,n){var r=3;if(n.length){var o=ln(n,li(Va));r|=u}return ei(t,r,e,n,o)}));function Ra(e,t,n){var r,a,s,c,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function v(t){var n=r,i=a;return r=a=o,f=t,c=e.apply(i,n)}function m(e){return f=e,u=Ri(y,t),p?v(e):c}function g(e){var n=e-l;return l===o||n>=t||n<0||d&&e-f>=s}function y(){var e=Na();if(g(e))return b(e);u=Ri(y,function(e){var n=t-(e-l);return d?wn(n,s-(e-f)):n}(e))}function b(e){return u=o,h&&r?v(e):(r=a=o,c)}function _(){var e=Na(),n=g(e);if(r=arguments,a=this,l=e,n){if(u===o)return m(l);if(d)return Eo(u),u=Ri(y,t),v(l)}return u===o&&(u=Ri(y,t)),c}return t=bs(t)||0,rs(n)&&(p=!!n.leading,s=(d="maxWait"in n)?_n(bs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),_.cancel=function(){u!==o&&Eo(u),f=0,r=l=a=u=o},_.flush=function(){return u===o?c:b(Na())},_}var Ma=Qr((function(e,t){return pr(e,1,t)})),Ia=Qr((function(e,t,n){return pr(e,bs(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Jn),n}function Ba(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Jn;var Fa=So((function(e,t){var n=(t=1==t.length&&Za(t[0])?Vt(t[0],Xt(fi())):Vt(br(t,1),Xt(fi()))).length;return Qr((function(r){for(var o=-1,i=wn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)}))})),$a=Qr((function(e,t){var n=ln(t,li($a));return ei(e,u,o,t,n)})),Ua=Qr((function(e,t){var n=ln(t,li(Ua));return ei(e,l,o,t,n)})),Da=ii((function(e,t){return ei(e,p,o,o,o,t)}));function za(e,t){return e===t||e!=e&&t!=t}var Wa=Jo(Or),Ha=Jo((function(e,t){return e>=t})),qa=Vr(function(){return arguments}())?Vr:function(e){return os(e)&&Ie.call(e,"callee")&&!Je.call(e,"callee")},Za=r.isArray,Ga=bt?Xt(bt):function(e){return os(e)&&jr(e)==R};function Ja(e){return null!=e&&ns(e.length)&&!es(e)}function Ka(e){return os(e)&&Ja(e)}var Xa=Bt||bc,Qa=_t?Xt(_t):function(e){return os(e)&&jr(e)==w};function Ya(e){if(!os(e))return!1;var t=jr(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ss(e)}function es(e){if(!rs(e))return!1;var t=jr(e);return t==S||t==k||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ts(e){return"number"==typeof e&&e==gs(e)}function ns(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function os(e){return null!=e&&"object"==typeof e}var is=wt?Xt(wt):function(e){return os(e)&&gi(e)==E};function as(e){return"number"==typeof e||os(e)&&jr(e)==C}function ss(e){if(!os(e)||jr(e)!=j)return!1;var t=Ze(e);if(null===t)return!0;var n=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==$e}var cs=xt?Xt(xt):function(e){return os(e)&&jr(e)==N};var us=St?Xt(St):function(e){return os(e)&&gi(e)==A};function ls(e){return"string"==typeof e||!Za(e)&&os(e)&&jr(e)==T}function fs(e){return"symbol"==typeof e||os(e)&&jr(e)==P}var ps=kt?Xt(kt):function(e){return os(e)&&ns(e.length)&&!!at[jr(e)]};var ds=Jo($r),hs=Jo((function(e,t){return e<=t}));function vs(e){if(!e)return[];if(Ja(e))return ls(e)?hn(e):Po(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=gi(e);return(t==E?cn:t==A?fn:zs)(e)}function ms(e){return e?(e=bs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ms(e),n=t%1;return t==t?n?t-n:t:0}function ys(e){return e?ur(gs(e),0,m):0}function bs(e){if("number"==typeof e)return e;if(fs(e))return v;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=ge.test(e);return n||be.test(e)?lt(e.slice(2),n?2:8):me.test(e)?v:+e}function _s(e){return Vo(e,Ms(e))}function ws(e){return null==e?"":fo(e)}var xs=Mo((function(e,t){if(Ci(t)||Ja(t))Vo(t,Rs(t),e);else for(var n in t)Ie.call(t,n)&&rr(e,n,t[n])})),Ss=Mo((function(e,t){Vo(t,Ms(t),e)})),ks=Mo((function(e,t,n,r){Vo(t,Ms(t),e,r)})),Es=Mo((function(e,t,n,r){Vo(t,Rs(t),e,r)})),Cs=ii(cr);var js=Qr((function(e,t){e=je(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Ms(a),c=-1,u=s.length;++c<u;){var l=s[c],f=e[l];(f===o||za(f,Ve[l])&&!Ie.call(e,l))&&(e[l]=a[l])}return e})),Os=Qr((function(e){return e.push(o,ni),Et(Ls,o,e)}));function Ns(e,t,n){var r=null==e?o:Er(e,t);return r===o?n:r}function As(e,t){return null!=e&&yi(e,t,Ar)}var Ts=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),rc(ac)),Ps=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Ie.call(e,t)?e[t].push(n):e[t]=[n]}),fi),Vs=Qr(Pr);function Rs(e){return Ja(e)?Qn(e):Br(e)}function Ms(e){return Ja(e)?Qn(e,!0):Fr(e)}var Is=Mo((function(e,t,n){Wr(e,t,n)})),Ls=Mo((function(e,t,n,r){Wr(e,t,n,r)})),Bs=ii((function(e,t){var n={};if(null==e)return n;var r=!1;t=Vt(t,(function(t){return t=xo(t,e),r||(r=t.length>1),t})),Vo(e,si(e),n),r&&(n=lr(n,7,ri));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Fs=ii((function(e,t){return null==e?{}:function(e,t){return Zr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function $s(e,t){if(null==e)return{};var n=Vt(si(e),(function(e){return[e]}));return t=fi(t),Zr(e,n,(function(e,n){return t(e,n[0])}))}var Us=Yo(Rs),Ds=Yo(Ms);function zs(e){return null==e?[]:Qt(e,Rs(e))}var Ws=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Ys(ws(e).toLowerCase())}function qs(e){return(e=ws(e))&&e.replace(we,rn).replace(Ye,"")}var Zs=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Js=Bo("toLowerCase");var Ks=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Fo((function(e,t,n){return e+(n?" ":"")+Ys(t)}));var Qs=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ys=Bo("toUpperCase");function ec(e,t,n){return e=ws(e),(t=n?o:t)===o?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var tc=Qr((function(e,t){try{return Et(e,o,t)}catch(e){return Ya(e)?e:new ke(e)}})),nc=ii((function(e,t){return jt(t,(function(t){t=$i(t),sr(e,t,Pa(e[t],e))})),e}));function rc(e){return function(){return e}}var oc=Do(),ic=Do(!0);function ac(e){return e}function sc(e){return Lr("function"==typeof e?e:lr(e,1))}var cc=Qr((function(e,t){return function(n){return Pr(n,e,t)}})),uc=Qr((function(e,t){return function(n){return Pr(e,n,t)}}));function lc(e,t,n){var r=Rs(t),o=kr(t,r);null!=n||rs(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,Rs(t)));var i=!(rs(n)&&"chain"in n&&!n.chain),a=es(e);return jt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Po(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Rt([this.value()],arguments))})})),e}function fc(){}var pc=qo(Vt),dc=qo(Nt),hc=qo(Lt);function vc(e){return Si(e)?Ht($i(e)):function(e){return function(t){return Er(t,e)}}(e)}var mc=Go(),gc=Go(!0);function yc(){return[]}function bc(){return!1}var _c=Ho((function(e,t){return e+t}),0),wc=Xo("ceil"),xc=Ho((function(e,t){return e/t}),1),Sc=Xo("floor");var kc,Ec=Ho((function(e,t){return e*t}),1),Cc=Xo("round"),jc=Ho((function(e,t){return e-t}),0);return Dn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},Dn.ary=Aa,Dn.assign=xs,Dn.assignIn=Ss,Dn.assignInWith=ks,Dn.assignWith=Es,Dn.at=Cs,Dn.before=Ta,Dn.bind=Pa,Dn.bindAll=nc,Dn.bindKey=Va,Dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Za(e)?e:[e]},Dn.chain=va,Dn.chunk=function(e,t,n){t=(n?xi(e,t,n):t===o)?1:_n(gs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,c=r(vt(i/t));a<i;)c[s++]=io(e,a,a+=t);return c},Dn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Rt(Za(n)?Po(n):[n],br(t,1))},Dn.cond=function(e){var t=null==e?0:e.length,n=fi();return e=t?Vt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Qr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[1],this,n)}}))},Dn.conforms=function(e){return function(e){var t=Rs(e);return function(n){return fr(n,e,t)}}(lr(e,1))},Dn.constant=rc,Dn.countBy=ya,Dn.create=function(e,t){var n=zn(e);return null==t?n:ar(n,t)},Dn.curry=function e(t,n,r){var i=ei(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.curryRight=function e(t,n,r){var i=ei(t,c,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Dn.debounce=Ra,Dn.defaults=js,Dn.defaultsDeep=Os,Dn.defer=Ma,Dn.delay=Ia,Dn.difference=zi,Dn.differenceBy=Wi,Dn.differenceWith=Hi,Dn.drop=function(e,t,n){var r=null==e?0:e.length;return r?io(e,(t=n||t===o?1:gs(t))<0?0:t,r):[]},Dn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?io(e,0,(t=r-(t=n||t===o?1:gs(t)))<0?0:t):[]},Dn.dropRightWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!0,!0):[]},Dn.dropWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!0):[]},Dn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&xi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=gs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:gs(r))<0&&(r+=i),r=n>r?0:ys(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Dn.filter=function(e,t){return(Za(e)?At:yr)(e,fi(t,3))},Dn.flatMap=function(e,t){return br(Ca(e,t),1)},Dn.flatMapDeep=function(e,t){return br(Ca(e,t),d)},Dn.flatMapDepth=function(e,t,n){return n=n===o?1:gs(n),br(Ca(e,t),n)},Dn.flatten=Gi,Dn.flattenDeep=function(e){return(null==e?0:e.length)?br(e,d):[]},Dn.flattenDepth=function(e,t){return(null==e?0:e.length)?br(e,t=t===o?1:gs(t)):[]},Dn.flip=function(e){return ei(e,512)},Dn.flow=oc,Dn.flowRight=ic,Dn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Dn.functions=function(e){return null==e?[]:kr(e,Rs(e))},Dn.functionsIn=function(e){return null==e?[]:kr(e,Ms(e))},Dn.groupBy=Sa,Dn.initial=function(e){return(null==e?0:e.length)?io(e,0,-1):[]},Dn.intersection=Ki,Dn.intersectionBy=Xi,Dn.intersectionWith=Qi,Dn.invert=Ts,Dn.invertBy=Ps,Dn.invokeMap=ka,Dn.iteratee=sc,Dn.keyBy=Ea,Dn.keys=Rs,Dn.keysIn=Ms,Dn.map=Ca,Dn.mapKeys=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},Dn.mapValues=function(e,t){var n={};return t=fi(t,3),xr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},Dn.matches=function(e){return Dr(lr(e,1))},Dn.matchesProperty=function(e,t){return zr(e,lr(t,1))},Dn.memoize=La,Dn.merge=Is,Dn.mergeWith=Ls,Dn.method=cc,Dn.methodOf=uc,Dn.mixin=lc,Dn.negate=Ba,Dn.nthArg=function(e){return e=gs(e),Qr((function(t){return Hr(t,e)}))},Dn.omit=Bs,Dn.omitBy=function(e,t){return $s(e,Ba(fi(t)))},Dn.once=function(e){return Ta(2,e)},Dn.orderBy=function(e,t,n,r){return null==e?[]:(Za(t)||(t=null==t?[]:[t]),Za(n=r?o:n)||(n=null==n?[]:[n]),qr(e,t,n))},Dn.over=pc,Dn.overArgs=Fa,Dn.overEvery=dc,Dn.overSome=hc,Dn.partial=$a,Dn.partialRight=Ua,Dn.partition=ja,Dn.pick=Fs,Dn.pickBy=$s,Dn.property=vc,Dn.propertyOf=function(e){return function(t){return null==e?o:Er(e,t)}},Dn.pull=ea,Dn.pullAll=ta,Dn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,fi(n,2)):e},Dn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,o,n):e},Dn.pullAt=na,Dn.range=mc,Dn.rangeRight=gc,Dn.rearg=Da,Dn.reject=function(e,t){return(Za(e)?At:yr)(e,Ba(fi(t,3)))},Dn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=fi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Jr(e,o),n},Dn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Qr(e,t=t===o?t:gs(t))},Dn.reverse=ra,Dn.sampleSize=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gs(t),(Za(e)?er:eo)(e,t)},Dn.set=function(e,t,n){return null==e?e:to(e,t,n)},Dn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:to(e,t,n,r)},Dn.shuffle=function(e){return(Za(e)?tr:oo)(e)},Dn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&xi(e,t,n)?(t=0,n=r):(t=null==t?0:gs(t),n=n===o?r:gs(n)),io(e,t,n)):[]},Dn.sortBy=Oa,Dn.sortedUniq=function(e){return e&&e.length?uo(e):[]},Dn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,fi(t,2)):[]},Dn.split=function(e,t,n){return n&&"number"!=typeof n&&xi(e,t,n)&&(t=n=o),(n=n===o?m:n>>>0)?(e=ws(e))&&("string"==typeof t||null!=t&&!cs(t))&&!(t=fo(t))&&sn(e)?ko(hn(e),0,n):e.split(t,n):[]},Dn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:_n(gs(t),0),Qr((function(n){var r=n[t],o=ko(n,0,t);return r&&Rt(o,r),Et(e,this,o)}))},Dn.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},Dn.take=function(e,t,n){return e&&e.length?io(e,0,(t=n||t===o?1:gs(t))<0?0:t):[]},Dn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?io(e,(t=r-(t=n||t===o?1:gs(t)))<0?0:t,r):[]},Dn.takeRightWhile=function(e,t){return e&&e.length?mo(e,fi(t,3),!1,!0):[]},Dn.takeWhile=function(e,t){return e&&e.length?mo(e,fi(t,3)):[]},Dn.tap=function(e,t){return t(e),e},Dn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return rs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ra(e,t,{leading:r,maxWait:t,trailing:o})},Dn.thru=ma,Dn.toArray=vs,Dn.toPairs=Us,Dn.toPairsIn=Ds,Dn.toPath=function(e){return Za(e)?Vt(e,$i):fs(e)?[e]:Po(Fi(ws(e)))},Dn.toPlainObject=_s,Dn.transform=function(e,t,n){var r=Za(e),o=r||Xa(e)||ps(e);if(t=fi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:rs(e)&&es(i)?zn(Ze(e)):{}}return(o?jt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Dn.unary=function(e){return Aa(e,1)},Dn.union=oa,Dn.unionBy=ia,Dn.unionWith=aa,Dn.uniq=function(e){return e&&e.length?po(e):[]},Dn.uniqBy=function(e,t){return e&&e.length?po(e,fi(t,2)):[]},Dn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?po(e,o,t):[]},Dn.unset=function(e,t){return null==e||ho(e,t)},Dn.unzip=sa,Dn.unzipWith=ca,Dn.update=function(e,t,n){return null==e?e:vo(e,t,wo(n))},Dn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:vo(e,t,wo(n),r)},Dn.values=zs,Dn.valuesIn=function(e){return null==e?[]:Qt(e,Ms(e))},Dn.without=ua,Dn.words=ec,Dn.wrap=function(e,t){return $a(wo(t),e)},Dn.xor=la,Dn.xorBy=fa,Dn.xorWith=pa,Dn.zip=da,Dn.zipObject=function(e,t){return bo(e||[],t||[],rr)},Dn.zipObjectDeep=function(e,t){return bo(e||[],t||[],to)},Dn.zipWith=ha,Dn.entries=Us,Dn.entriesIn=Ds,Dn.extend=Ss,Dn.extendWith=ks,lc(Dn,Dn),Dn.add=_c,Dn.attempt=tc,Dn.camelCase=Ws,Dn.capitalize=Hs,Dn.ceil=wc,Dn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=bs(n))==n?n:0),t!==o&&(t=(t=bs(t))==t?t:0),ur(bs(e),t,n)},Dn.clone=function(e){return lr(e,4)},Dn.cloneDeep=function(e){return lr(e,5)},Dn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:o)},Dn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:o)},Dn.conformsTo=function(e,t){return null==t||fr(e,t,Rs(t))},Dn.deburr=qs,Dn.defaultTo=function(e,t){return null==e||e!=e?t:e},Dn.divide=xc,Dn.endsWith=function(e,t,n){e=ws(e),t=fo(t);var r=e.length,i=n=n===o?r:ur(gs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Dn.eq=za,Dn.escape=function(e){return(e=ws(e))&&X.test(e)?e.replace(J,on):e},Dn.escapeRegExp=function(e){return(e=ws(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Dn.every=function(e,t,n){var r=Za(e)?Nt:mr;return n&&xi(e,t,n)&&(t=o),r(e,fi(t,3))},Dn.find=ba,Dn.findIndex=qi,Dn.findKey=function(e,t){return Ft(e,fi(t,3),xr)},Dn.findLast=_a,Dn.findLastIndex=Zi,Dn.findLastKey=function(e,t){return Ft(e,fi(t,3),Sr)},Dn.floor=Sc,Dn.forEach=wa,Dn.forEachRight=xa,Dn.forIn=function(e,t){return null==e?e:_r(e,fi(t,3),Ms)},Dn.forInRight=function(e,t){return null==e?e:wr(e,fi(t,3),Ms)},Dn.forOwn=function(e,t){return e&&xr(e,fi(t,3))},Dn.forOwnRight=function(e,t){return e&&Sr(e,fi(t,3))},Dn.get=Ns,Dn.gt=Wa,Dn.gte=Ha,Dn.has=function(e,t){return null!=e&&yi(e,t,Nr)},Dn.hasIn=As,Dn.head=Ji,Dn.identity=ac,Dn.includes=function(e,t,n,r){e=Ja(e)?e:zs(e),n=n&&!r?gs(n):0;var o=e.length;return n<0&&(n=_n(o+n,0)),ls(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Dn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gs(n);return o<0&&(o=_n(r+o,0)),Ut(e,t,o)},Dn.inRange=function(e,t,n){return t=ms(t),n===o?(n=t,t=0):n=ms(n),function(e,t,n){return e>=wn(t,n)&&e<_n(t,n)}(e=bs(e),t,n)},Dn.invoke=Vs,Dn.isArguments=qa,Dn.isArray=Za,Dn.isArrayBuffer=Ga,Dn.isArrayLike=Ja,Dn.isArrayLikeObject=Ka,Dn.isBoolean=function(e){return!0===e||!1===e||os(e)&&jr(e)==_},Dn.isBuffer=Xa,Dn.isDate=Qa,Dn.isElement=function(e){return os(e)&&1===e.nodeType&&!ss(e)},Dn.isEmpty=function(e){if(null==e)return!0;if(Ja(e)&&(Za(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||ps(e)||qa(e)))return!e.length;var t=gi(e);if(t==E||t==A)return!e.size;if(Ci(e))return!Br(e).length;for(var n in e)if(Ie.call(e,n))return!1;return!0},Dn.isEqual=function(e,t){return Rr(e,t)},Dn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Rr(e,t,o,n):!!r},Dn.isError=Ya,Dn.isFinite=function(e){return"number"==typeof e&&qt(e)},Dn.isFunction=es,Dn.isInteger=ts,Dn.isLength=ns,Dn.isMap=is,Dn.isMatch=function(e,t){return e===t||Mr(e,t,di(t))},Dn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Mr(e,t,di(t),n)},Dn.isNaN=function(e){return as(e)&&e!=+e},Dn.isNative=function(e){if(Ei(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(e)},Dn.isNil=function(e){return null==e},Dn.isNull=function(e){return null===e},Dn.isNumber=as,Dn.isObject=rs,Dn.isObjectLike=os,Dn.isPlainObject=ss,Dn.isRegExp=cs,Dn.isSafeInteger=function(e){return ts(e)&&e>=-9007199254740991&&e<=h},Dn.isSet=us,Dn.isString=ls,Dn.isSymbol=fs,Dn.isTypedArray=ps,Dn.isUndefined=function(e){return e===o},Dn.isWeakMap=function(e){return os(e)&&gi(e)==V},Dn.isWeakSet=function(e){return os(e)&&"[object WeakSet]"==jr(e)},Dn.join=function(e,t){return null==e?"":yn.call(e,t)},Dn.kebabCase=Zs,Dn.last=Yi,Dn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=gs(n))<0?_n(r+i,0):wn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):$t(e,zt,i,!0)},Dn.lowerCase=Gs,Dn.lowerFirst=Js,Dn.lt=ds,Dn.lte=hs,Dn.max=function(e){return e&&e.length?gr(e,ac,Or):o},Dn.maxBy=function(e,t){return e&&e.length?gr(e,fi(t,2),Or):o},Dn.mean=function(e){return Wt(e,ac)},Dn.meanBy=function(e,t){return Wt(e,fi(t,2))},Dn.min=function(e){return e&&e.length?gr(e,ac,$r):o},Dn.minBy=function(e,t){return e&&e.length?gr(e,fi(t,2),$r):o},Dn.stubArray=yc,Dn.stubFalse=bc,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=Ec,Dn.nth=function(e,t){return e&&e.length?Hr(e,gs(t)):o},Dn.noConflict=function(){return dt._===this&&(dt._=Ue),this},Dn.noop=fc,Dn.now=Na,Dn.pad=function(e,t,n){e=ws(e);var r=(t=gs(t))?dn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Zo(gt(o),n)+e+Zo(vt(o),n)},Dn.padEnd=function(e,t,n){e=ws(e);var r=(t=gs(t))?dn(e):0;return t&&r<t?e+Zo(t-r,n):e},Dn.padStart=function(e,t,n){e=ws(e);var r=(t=gs(t))?dn(e):0;return t&&r<t?Zo(t-r,n)+e:e},Dn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(ws(e).replace(ae,""),t||0)},Dn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&xi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=ms(e),t===o?(t=e,e=0):t=ms(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return wn(e+i*(t-e+ut("1e-"+((i+"").length-1))),t)}return Kr(e,t)},Dn.reduce=function(e,t,n){var r=Za(e)?Mt:Zt,o=arguments.length<3;return r(e,fi(t,4),n,o,hr)},Dn.reduceRight=function(e,t,n){var r=Za(e)?It:Zt,o=arguments.length<3;return r(e,fi(t,4),n,o,vr)},Dn.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:gs(t),Xr(ws(e),t)},Dn.replace=function(){var e=arguments,t=ws(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Dn.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[$i(t[r])];a===o&&(r=i,a=n),e=es(a)?a.call(e):a}return e},Dn.round=Cc,Dn.runInContext=e,Dn.sample=function(e){return(Za(e)?Yn:Yr)(e)},Dn.size=function(e){if(null==e)return 0;if(Ja(e))return ls(e)?dn(e):e.length;var t=gi(e);return t==E||t==A?e.size:Br(e).length},Dn.snakeCase=Ks,Dn.some=function(e,t,n){var r=Za(e)?Lt:ao;return n&&xi(e,t,n)&&(t=o),r(e,fi(t,3))},Dn.sortedIndex=function(e,t){return so(e,t)},Dn.sortedIndexBy=function(e,t,n){return co(e,t,fi(n,2))},Dn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&za(e[r],t))return r}return-1},Dn.sortedLastIndex=function(e,t){return so(e,t,!0)},Dn.sortedLastIndexBy=function(e,t,n){return co(e,t,fi(n,2),!0)},Dn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(za(e[n],t))return n}return-1},Dn.startCase=Xs,Dn.startsWith=function(e,t,n){return e=ws(e),n=null==n?0:ur(gs(n),0,e.length),t=fo(t),e.slice(n,n+t.length)==t},Dn.subtract=jc,Dn.sum=function(e){return e&&e.length?Gt(e,ac):0},Dn.sumBy=function(e,t){return e&&e.length?Gt(e,fi(t,2)):0},Dn.template=function(e,t,n){var r=Dn.templateSettings;n&&xi(e,t,n)&&(t=o),e=ws(e),t=ks({},t,r,ti);var i,a,s=ks({},t.imports,r.imports,ti),c=Rs(s),u=Qt(s,c),l=0,f=t.interpolate||xe,p="__p += '",d=Oe((t.escape||xe).source+"|"+f.source+"|"+(f===ee?he:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),h="//# sourceURL="+(Ie.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(d,(function(t,n,r,o,s,c){return r||(r=o),p+=e.slice(l,c).replace(Se,an),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),p+="';\n";var v=Ie.call(t,"variable")&&t.variable;if(v){if(pe.test(v))throw new ke("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(H,""):p).replace(q,"$1").replace(Z,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=tc((function(){return Ee(c,h+"return "+p).apply(o,u)}));if(m.source=p,Ya(m))throw m;return m},Dn.times=function(e,t){if((e=gs(e))<1||e>h)return[];var n=m,r=wn(e,m);t=fi(t),e-=m;for(var o=Jt(r,t);++n<e;)t(n);return o},Dn.toFinite=ms,Dn.toInteger=gs,Dn.toLength=ys,Dn.toLower=function(e){return ws(e).toLowerCase()},Dn.toNumber=bs,Dn.toSafeInteger=function(e){return e?ur(gs(e),-9007199254740991,h):0===e?e:0},Dn.toString=ws,Dn.toUpper=function(e){return ws(e).toUpperCase()},Dn.trim=function(e,t,n){if((e=ws(e))&&(n||t===o))return Kt(e);if(!e||!(t=fo(t)))return e;var r=hn(e),i=hn(t);return ko(r,en(r,i),tn(r,i)+1).join("")},Dn.trimEnd=function(e,t,n){if((e=ws(e))&&(n||t===o))return e.slice(0,vn(e)+1);if(!e||!(t=fo(t)))return e;var r=hn(e);return ko(r,0,tn(r,hn(t))+1).join("")},Dn.trimStart=function(e,t,n){if((e=ws(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=fo(t)))return e;var r=hn(e);return ko(r,en(r,hn(t))).join("")},Dn.truncate=function(e,t){var n=30,r="...";if(rs(t)){var i="separator"in t?t.separator:i;n="length"in t?gs(t.length):n,r="omission"in t?fo(t.omission):r}var a=(e=ws(e)).length;if(sn(e)){var s=hn(e);a=s.length}if(n>=a)return e;var c=n-dn(r);if(c<1)return r;var u=s?ko(s,0,c).join(""):e.slice(0,c);if(i===o)return u+r;if(s&&(c+=u.length-c),cs(i)){if(e.slice(c).search(i)){var l,f=u;for(i.global||(i=Oe(i.source,ws(ve.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;u=u.slice(0,p===o?c:p)}}else if(e.indexOf(fo(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Dn.unescape=function(e){return(e=ws(e))&&K.test(e)?e.replace(G,mn):e},Dn.uniqueId=function(e){var t=++Le;return ws(e)+t},Dn.upperCase=Qs,Dn.upperFirst=Ys,Dn.each=wa,Dn.eachRight=xa,Dn.first=Ji,lc(Dn,(kc={},xr(Dn,(function(e,t){Ie.call(Dn.prototype,t)||(kc[t]=e)})),kc),{chain:!1}),Dn.VERSION="4.17.21",jt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Dn[e].placeholder=Dn})),jt(["drop","take"],(function(e,t){qn.prototype[e]=function(n){n=n===o?1:_n(gs(n),0);var r=this.__filtered__&&!t?new qn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),jt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:fi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),jt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),jt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(ac)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Pr(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(Ba(fi(e)))},qn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(m)},xr(qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Dn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Dn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof qn,u=s[0],l=c||Za(t),f=function(e){var t=i.apply(Dn,Rt([e],s));return r&&p?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,v=c&&!d;if(!a&&l){t=v?t:new qn(this);var m=e.apply(t,s);return m.__actions__.push({func:ma,args:[f],thisArg:o}),new Hn(m,p)}return h&&v?e.apply(this,s):(m=this.thru(f),h?r?m.value()[0]:m.value():m)})})),jt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Dn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Za(o)?o:[],e)}return this[n]((function(n){return t.apply(Za(n)?n:[],e)}))}})),xr(qn.prototype,(function(e,t){var n=Dn[t];if(n){var r=n.name+"";Ie.call(Vn,r)||(Vn[r]=[]),Vn[r].push({name:t,func:n})}})),Vn[zo(o,2).name]=[{name:"wrapper",func:o}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Za(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=wn(t,e+a);break;case"takeRight":e=_n(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,u=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=wn(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return go(e,this.__actions__);var h=[];e:for(;c--&&p<d;){for(var v=-1,m=e[u+=t];++v<f;){var g=l[v],y=g.iteratee,b=g.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue e;break e}}h[p++]=m}return h},Dn.prototype.at=ga,Dn.prototype.chain=function(){return va(this)},Dn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Dn.prototype.next=function(){this.__values__===o&&(this.__values__=vs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Dn.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var r=Di(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:ma,args:[ra],thisArg:o}),new Hn(t,this.__chain__)}return this.thru(ra)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,et&&(Dn.prototype[et]=function(){return this}),Dn}();dt._=gn,(r=function(){return gn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},2584:()=>{},4865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var i=n.render(!t),u=i.querySelector(r.barSelector),l=r.speed,f=r.easing;return i.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),c(u,a(e,l,f)),1===e?(c(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){c(i,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),l)}),l)):setTimeout(t,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),s=e?"-100":i(n.status||0),u=document.querySelector(r.parent);return c(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&d(o),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),c=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function l(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function f(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},631:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,_=String.prototype.toUpperCase,w=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,k=Array.prototype.join,E=Array.prototype.slice,C=Math.floor,j="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A||"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,V=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-C(-e):C(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var M=n(4654).custom,I=M&&$(M)?M:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function B(e){return b.call(String(e),/"/g,""")}function F(e){return!("[object Array]"!==z(e)||T&&"object"==typeof e&&T in e)}function $(e){if(A)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!N)return!1;try{return N.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(D(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(D(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!D(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(D(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(D(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return H(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return v?R(t,_):_}if("bigint"==typeof t){var x=String(t)+"n";return v?R(t,x):x}var C=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=C&&C>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var O=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(W(o,t)>=0)return"[Circular]";function M(t,n,i){if(n&&(o=E.call(o)).push(n),i){var a={depth:s.depth};return D(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t){var U=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),q=X(t,M);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(q.length>0?" { "+k.call(q,", ")+" }":"")}if($(t)){var Q=A?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!=typeof t||A?Q:Z(Q)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var Y="<"+w.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)Y+=" "+ee[te].name+"="+L(B(ee[te].value),"double",s);return Y+=">",t.childNodes&&t.childNodes.length&&(Y+="..."),Y+="</"+w.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]";var ne=X(t,M);return O&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ne)?"["+K(ne,O)+"]":"[ "+k.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||T&&"object"==typeof e&&T in e)}(t)){var re=X(t,M);return"cause"in t&&!P.call(t,"cause")?"{ ["+String(t)+"] "+k.call(S.call("[cause]: "+M(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(re,", ")+" }"}if("object"==typeof t&&c){if(I&&"function"==typeof t[I])return t[I]();if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var oe=[];return a.call(t,(function(e,n){oe.push(M(n,t,!0)+" => "+M(e,t))})),J("Map",i.call(t),oe,O)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ie=[];return l.call(t,(function(e){ie.push(M(e,t))})),J("Set",u.call(t),ie,O)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return G("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return G("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return G("WeakRef");if(function(e){return!("[object Number]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Z(M(Number(t)));if(function(e){if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}(t))return Z(M(j.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Z(h.call(t));if(function(e){return!("[object String]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Z(M(String(t)));if(!function(e){return!("[object Date]"!==z(e)||T&&"object"==typeof e&&T in e)}(t)&&!function(e){return!("[object RegExp]"!==z(e)||T&&"object"==typeof e&&T in e)}(t)){var ae=X(t,M),se=V?V(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",ue=!se&&T&&Object(t)===t&&T in t?y.call(z(t),8,-1):ce?"Object":"",le=(se||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ue||ce?"["+k.call(S.call([],ue||[],ce||[]),": ")+"] ":"");return 0===ae.length?le+"{}":O?le+"{"+K(ae,O)+"}":le+"{ "+k.call(ae,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,t){return U.call(e,t)}function z(e){return v.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function H(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return H(y.call(e,0,t.maxStringLength),t)+r}return L(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",t)}function q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+_.call(t.toString(16))}function Z(e){return"Object("+e+")"}function G(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):k.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=D(e,o)?t(e[o],e):""}var i,a="function"==typeof O?O(e):[];if(A){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var c in e)D(e,c)&&(n&&String(Number(c))===c&&c<e.length||A&&i["$"+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof O)for(var u=0;u<a.length;u++)P.call(e,a[u])&&r.push("["+t(a[u])+"]: "+t(e[a[u]],e));return r}},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l<t;)s&&s[l].run();l=-1,t=c.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||u||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},5798:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},129:(e,t,n)=>{"use strict";var r=n(8261),o=n(5235),i=n(5798);e.exports={formats:i,parse:o,stringify:r}},5235:(e,t,n)=>{"use strict";var r=n(2769),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:c(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?h="utf-8":"utf8=%26%2310003%3B"===p[n]&&(h="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var v,m,g=p[n],y=g.indexOf("]="),b=-1===y?g.indexOf("="):y+1;-1===b?(v=t.decoder(g,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(v=t.decoder(g.slice(0,b),a.decoder,h,"key"),m=r.maybeMap(c(g.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),g.indexOf("[]=")>-1&&(m=i(m)?[m]:m),o.call(u,v)?u[v]=r.combine(u[v],m):u[v]=m}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d<p.length;++d){var h=p[d],v=u(h,l[h],n,"string"==typeof e);f=r.merge(f,v,n)}return!0===n.allowSparse?f:r.compact(f)}},8261:(e,t,n)=>{"use strict";var r=n(7478),o=n(2769),i=n(5798),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,f=function(e,t){l.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,d=i.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},v={},m=function e(t,n,i,a,s,l,p,d,m,g,y,b,_,w,x){for(var S,k=t,E=x,C=0,j=!1;void 0!==(E=E.get(v))&&!j;){var O=E.get(t);if(C+=1,void 0!==O){if(O===C)throw new RangeError("Cyclic object value");j=!0}void 0===E.get(v)&&(C=0)}if("function"==typeof p?k=p(n,k):k instanceof Date?k=g(k):"comma"===i&&c(k)&&(k=o.maybeMap(k,(function(e){return e instanceof Date?g(e):e}))),null===k){if(a)return l&&!_?l(n,h.encoder,w,"key",y):n;k=""}if("string"==typeof(S=k)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(k)){if(l){var N=_?n:l(n,h.encoder,w,"key",y);if("comma"===i&&_){for(var A=u.call(String(k),","),T="",P=0;P<A.length;++P)T+=(0===P?"":",")+b(l(A[P],h.encoder,w,"value",y));return[b(N)+"="+T]}return[b(N)+"="+b(l(k,h.encoder,w,"value",y))]}return[b(n)+"="+b(String(k))]}var V,R=[];if(void 0===k)return R;if("comma"===i&&c(k))V=[{value:k.length>0?k.join(",")||null:void 0}];else if(c(p))V=p;else{var M=Object.keys(k);V=d?M.sort(d):M}for(var I=0;I<V.length;++I){var L=V[I],B="object"==typeof L&&void 0!==L.value?L.value:k[L];if(!s||null!==B){var F=c(k)?"function"==typeof i?i(n,L):n:n+(m?"."+L:"["+L+"]");x.set(t,C);var $=r();$.set(v,x),f(R,e(B,F,i,a,s,l,p,d,m,g,y,b,_,w,$))}}return R};e.exports=function(e,t){var n,o=e,u=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=h.filter;return("function"==typeof e.filter||c(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof u.filter?o=(0,u.filter)("",o):c(u.filter)&&(n=u.filter);var l,p=[];if("object"!=typeof o||null===o)return"";l=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=s[l];n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var v=r(),g=0;g<n.length;++g){var y=n[g];u.skipNulls&&null===o[y]||f(p,m(o[y],y,d,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,v))}var b=p.join(u.delimiter),_=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),b.length>0?_+b:""}},2769:(e,t,n)=>{"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;++u){var l=s.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},7478:(e,t,n)=>{"use strict";var r=n(210),o=n(1924),i=n(631),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(c){if(t)return p(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(c){if(t)return h(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):c?(t||(t=new c),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},3379:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=n[c]||0,l="".concat(c," ").concat(u);n[c]=u+1;var f=s(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,t),references:1}),r.push(l)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function m(e,t){var n,r,o;if(t.singleton){var i=v++;n=h||(h=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=c(e,t),u=0;u<n.length;u++){var l=s(n[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},5482:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(821),o=["type"];const i={props:{type:{type:String,default:"submit"}},setup:function(e){return function(t,n){return(0,r.openBlock)(),(0,r.createElementBlock)("button",{type:e.type,class:"inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150"},[(0,r.renderSlot)(t.$slots,"default")],8,o)}}}},8886:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(821),o=["value"];const i={props:{modelValue:String},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,i=(0,r.ref)(null);return function(t,a){return(0,r.openBlock)(),(0,r.createElementBlock)("input",{ref_key:"input",ref:i,class:"border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm",value:e.modelValue,onInput:a[0]||(a[0]=function(e){return n("update:modelValue",e.target.value)})},null,40,o)}}}},1516:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(821),o={class:"block font-medium text-sm text-gray-700"},i={key:0},a={key:1};const s={props:{value:String},setup:function(e){return function(t,n){return(0,r.openBlock)(),(0,r.createElementBlock)("label",o,[e.value?((0,r.openBlock)(),(0,r.createElementBlock)("span",i,(0,r.toDisplayString)(e.value),1)):((0,r.openBlock)(),(0,r.createElementBlock)("span",a,[(0,r.renderSlot)(t.$slots,"default")]))])}}}},802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(821),o={viewBox:"0 0 316 316",xmlns:"http://www.w3.org/2000/svg"},i=[(0,r.createElementVNode)("path",{d:"M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z"},null,-1)];const a={},s=(0,n(3744).Z)(a,[["render",function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",o,i)}]])},5414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(821),o=n(9038),i={key:0},a=(0,r.createElementVNode)("div",{class:"font-medium text-red-600"},"Whoops! Something went wrong.",-1),s={class:"mt-3 list-disc list-inside text-sm text-red-600"};const c={setup:function(e){var t=(0,o.qt)(),n=(0,r.computed)((function(){return t.props.errors})),c=(0,r.computed)((function(){return Object.keys(n.value).length>0}));return function(e,t){return(0,r.unref)(c)?((0,r.openBlock)(),(0,r.createElementBlock)("div",i,[a,(0,r.createElementVNode)("ul",s,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)((0,r.unref)(n),(function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)("li",{key:t},(0,r.toDisplayString)(e),1)})),128))])])):(0,r.createCommentVNode)("",!0)}}}},7317:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(821),o=n(802),i=n(9038),a={class:"min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100"},s={class:"w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg"};const c={setup:function(e){return function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)("div",a,[(0,r.createElementVNode)("div",null,[(0,r.createVNode)((0,r.unref)(i.rU),{href:"/"},{default:(0,r.withCtx)((function(){return[(0,r.createVNode)(o.Z,{class:"w-20 h-20 fill-current text-gray-500"})]})),_:1})]),(0,r.createElementVNode)("div",s,[(0,r.renderSlot)(e.$slots,"default")])])}}}},6027:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(821),o=n(5482),i=n(7317),a=n(8886),s=n(1516),c=n(5414),u=n(9038),l=(0,r.createElementVNode)("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1),f=["onSubmit"],p={class:"flex justify-end mt-4"},d=(0,r.createTextVNode)(" Confirm "),h={layout:i.Z};const v=Object.assign(h,{setup:function(e){var t=(0,u.cI)({password:""}),n=function(){t.post(route("password.confirm"),{onFinish:function(){return t.reset()}})};return function(e,i){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(u.Fb),{title:"Confirm Password"}),l,(0,r.createVNode)(c.Z,{class:"mb-4"}),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(n,["prevent"])},[(0,r.createElementVNode)("div",null,[(0,r.createVNode)(s.Z,{for:"password",value:"Password"}),(0,r.createVNode)(a.Z,{id:"password",modelValue:(0,r.unref)(t).password,"onUpdate:modelValue":i[0]||(i[0]=function(e){return(0,r.unref)(t).password=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"])]),(0,r.createElementVNode)("div",p,[(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)(["ml-4",{"opacity-25":(0,r.unref)(t).processing}]),disabled:(0,r.unref)(t).processing},{default:(0,r.withCtx)((function(){return[d]})),_:1},8,["class","disabled"])])],40,f)],64)}}})},5721:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(821),o=n(5482),i=n(7317),a=n(8886),s=n(1516),c=n(5414),u=n(9038),l=(0,r.createElementVNode)("div",{class:"mb-4 text-sm text-gray-600"}," Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one. ",-1),f={key:0,class:"mb-4 font-medium text-sm text-green-600"},p=["onSubmit"],d={class:"flex items-center justify-end mt-4"},h=(0,r.createTextVNode)(" Email Password Reset Link "),v={layout:i.Z};const m=Object.assign(v,{props:{status:String},setup:function(e){var t=(0,u.cI)({email:""}),n=function(){t.post(route("password.email"))};return function(i,v){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(u.Fb),{title:"Forgot Password"}),l,e.status?((0,r.openBlock)(),(0,r.createElementBlock)("div",f,(0,r.toDisplayString)(e.status),1)):(0,r.createCommentVNode)("",!0),(0,r.createVNode)(c.Z,{class:"mb-4"}),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(n,["prevent"])},[(0,r.createElementVNode)("div",null,[(0,r.createVNode)(s.Z,{for:"email",value:"Email"}),(0,r.createVNode)(a.Z,{id:"email",modelValue:(0,r.unref)(t).email,"onUpdate:modelValue":v[0]||(v[0]=function(e){return(0,r.unref)(t).email=e}),type:"email",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",d,[(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)({"opacity-25":(0,r.unref)(t).processing}),disabled:(0,r.unref)(t).processing},{default:(0,r.withCtx)((function(){return[h]})),_:1},8,["class","disabled"])])],40,p)],64)}}})},8555:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var r=n(821),o=n(5482),i=["value"];const a={props:{checked:{type:[Array,Boolean],default:!1},value:{type:String,default:null}},emits:["update:checked"],setup:function(e,t){var n=t.emit,o=e,a=(0,r.computed)({get:function(){return o.checked},set:function(e){n("update:checked",e)}});return function(t,n){return(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)("input",{"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,r.isRef)(a)?a.value=e:null}),type:"checkbox",value:e.value,class:"rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50"},null,8,i)),[[r.vModelCheckbox,(0,r.unref)(a)]])}}};var s=n(7317),c=n(8886),u=n(1516),l=n(5414),f=n(9038),p={key:0,class:"mb-4 font-medium text-sm text-green-600"},d=["onSubmit"],h={class:"mt-4"},v={class:"block mt-4"},m={class:"flex items-center"},g=(0,r.createElementVNode)("span",{class:"ml-2 text-sm text-gray-600"},"Remember me",-1),y={class:"flex items-center justify-end mt-4"},b=(0,r.createTextVNode)(" Forgot your password? "),_=(0,r.createTextVNode)(" Log in "),w={layout:s.Z};const x=Object.assign(w,{props:{canResetPassword:Boolean,status:String},setup:function(e){var t=(0,f.cI)({email:"",password:"",remember:!1}),n=function(){t.post(route("login"),{onFinish:function(){return t.reset("password")}})};return function(i,s){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(f.Fb),{title:"Log in"}),(0,r.createVNode)(l.Z,{class:"mb-4"}),e.status?((0,r.openBlock)(),(0,r.createElementBlock)("div",p,(0,r.toDisplayString)(e.status),1)):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(n,["prevent"])},[(0,r.createElementVNode)("div",null,[(0,r.createVNode)(u.Z,{for:"email",value:"Email"}),(0,r.createVNode)(c.Z,{id:"email",modelValue:(0,r.unref)(t).email,"onUpdate:modelValue":s[0]||(s[0]=function(e){return(0,r.unref)(t).email=e}),type:"email",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",h,[(0,r.createVNode)(u.Z,{for:"password",value:"Password"}),(0,r.createVNode)(c.Z,{id:"password",modelValue:(0,r.unref)(t).password,"onUpdate:modelValue":s[1]||(s[1]=function(e){return(0,r.unref)(t).password=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"current-password"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",v,[(0,r.createElementVNode)("label",m,[(0,r.createVNode)(a,{checked:(0,r.unref)(t).remember,"onUpdate:checked":s[2]||(s[2]=function(e){return(0,r.unref)(t).remember=e}),name:"remember"},null,8,["checked"]),g])]),(0,r.createElementVNode)("div",y,[e.canResetPassword?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(f.rU),{key:0,href:i.route("password.request"),class:"underline text-sm text-gray-600 hover:text-gray-900"},{default:(0,r.withCtx)((function(){return[b]})),_:1},8,["href"])):(0,r.createCommentVNode)("",!0),(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)(["ml-4",{"opacity-25":(0,r.unref)(t).processing}]),disabled:(0,r.unref)(t).processing},{default:(0,r.withCtx)((function(){return[_]})),_:1},8,["class","disabled"])])],40,d)],64)}}})},97:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(821),o=n(5482),i=n(7317),a=n(8886),s=n(1516),c=n(5414),u=n(9038),l=["onSubmit"],f={class:"mt-4"},p={class:"mt-4"},d={class:"mt-4"},h={class:"flex items-center justify-end mt-4"},v=(0,r.createTextVNode)(" Already registered? "),m=(0,r.createTextVNode)(" Register "),g={layout:i.Z};const y=Object.assign(g,{setup:function(e){var t=(0,u.cI)({name:"",email:"",password:"",password_confirmation:"",terms:!1}),n=function(){t.post(route("register"),{onFinish:function(){return t.reset("password","password_confirmation")}})};return function(e,i){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(u.Fb),{title:"Register"}),(0,r.createVNode)(c.Z,{class:"mb-4"}),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(n,["prevent"])},[(0,r.createElementVNode)("div",null,[(0,r.createVNode)(s.Z,{for:"name",value:"Name"}),(0,r.createVNode)(a.Z,{id:"name",modelValue:(0,r.unref)(t).name,"onUpdate:modelValue":i[0]||(i[0]=function(e){return(0,r.unref)(t).name=e}),type:"text",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"name"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",f,[(0,r.createVNode)(s.Z,{for:"email",value:"Email"}),(0,r.createVNode)(a.Z,{id:"email",modelValue:(0,r.unref)(t).email,"onUpdate:modelValue":i[1]||(i[1]=function(e){return(0,r.unref)(t).email=e}),type:"email",class:"mt-1 block w-full",required:"",autocomplete:"username"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",p,[(0,r.createVNode)(s.Z,{for:"password",value:"Password"}),(0,r.createVNode)(a.Z,{id:"password",modelValue:(0,r.unref)(t).password,"onUpdate:modelValue":i[2]||(i[2]=function(e){return(0,r.unref)(t).password=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",d,[(0,r.createVNode)(s.Z,{for:"password_confirmation",value:"Confirm Password"}),(0,r.createVNode)(a.Z,{id:"password_confirmation",modelValue:(0,r.unref)(t).password_confirmation,"onUpdate:modelValue":i[3]||(i[3]=function(e){return(0,r.unref)(t).password_confirmation=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",h,[(0,r.createVNode)((0,r.unref)(u.rU),{href:e.route("login"),class:"underline text-sm text-gray-600 hover:text-gray-900"},{default:(0,r.withCtx)((function(){return[v]})),_:1},8,["href"]),(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)(["ml-4",{"opacity-25":(0,r.unref)(t).processing}]),disabled:(0,r.unref)(t).processing},{default:(0,r.withCtx)((function(){return[m]})),_:1},8,["class","disabled"])])],40,l)],64)}}})},976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(821),o=n(5482),i=n(7317),a=n(8886),s=n(1516),c=n(5414),u=n(9038),l=["onSubmit"],f={class:"mt-4"},p={class:"mt-4"},d={class:"flex items-center justify-end mt-4"},h=(0,r.createTextVNode)(" Reset Password "),v={layout:i.Z};const m=Object.assign(v,{props:{email:String,token:String},setup:function(e){var t=e,n=(0,u.cI)({token:t.token,email:t.email,password:"",password_confirmation:""}),i=function(){n.post(route("password.update"),{onFinish:function(){return n.reset("password","password_confirmation")}})};return function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(u.Fb),{title:"Reset Password"}),(0,r.createVNode)(c.Z,{class:"mb-4"}),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(i,["prevent"])},[(0,r.createElementVNode)("div",null,[(0,r.createVNode)(s.Z,{for:"email",value:"Email"}),(0,r.createVNode)(a.Z,{id:"email",modelValue:(0,r.unref)(n).email,"onUpdate:modelValue":t[0]||(t[0]=function(e){return(0,r.unref)(n).email=e}),type:"email",class:"mt-1 block w-full",required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",f,[(0,r.createVNode)(s.Z,{for:"password",value:"Password"}),(0,r.createVNode)(a.Z,{id:"password",modelValue:(0,r.unref)(n).password,"onUpdate:modelValue":t[1]||(t[1]=function(e){return(0,r.unref)(n).password=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",p,[(0,r.createVNode)(s.Z,{for:"password_confirmation",value:"Confirm Password"}),(0,r.createVNode)(a.Z,{id:"password_confirmation",modelValue:(0,r.unref)(n).password_confirmation,"onUpdate:modelValue":t[2]||(t[2]=function(e){return(0,r.unref)(n).password_confirmation=e}),type:"password",class:"mt-1 block w-full",required:"",autocomplete:"new-password"},null,8,["modelValue"])]),(0,r.createElementVNode)("div",d,[(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)({"opacity-25":(0,r.unref)(n).processing}),disabled:(0,r.unref)(n).processing},{default:(0,r.withCtx)((function(){return[h]})),_:1},8,["class","disabled"])])],40,l)],64)}}})},7836:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(821),o=n(5482),i=n(7317),a=n(9038),s=(0,r.createElementVNode)("div",{class:"mb-4 text-sm text-gray-600"}," Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another. ",-1),c={key:0,class:"mb-4 font-medium text-sm text-green-600"},u=["onSubmit"],l={class:"mt-4 flex items-center justify-between"},f=(0,r.createTextVNode)(" Resend Verification Email "),p=(0,r.createTextVNode)("Log Out"),d={layout:i.Z};const h=Object.assign(d,{props:{status:String},setup:function(e){var t=e,n=(0,r.computed)((function(){return"verification-link-sent"===t.status})),i=(0,a.cI)(),d=function(){i.post(route("verification.send"))};return function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(a.Fb),{title:"Email Verification"}),s,(0,r.unref)(n)?((0,r.openBlock)(),(0,r.createElementBlock)("div",c," A new verification link has been sent to the email address you provided during registration. ")):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("form",{onSubmit:(0,r.withModifiers)(d,["prevent"])},[(0,r.createElementVNode)("div",l,[(0,r.createVNode)(o.Z,{class:(0,r.normalizeClass)({"opacity-25":(0,r.unref)(i).processing}),disabled:(0,r.unref)(i).processing},{default:(0,r.withCtx)((function(){return[f]})),_:1},8,["class","disabled"]),(0,r.createVNode)((0,r.unref)(a.rU),{href:e.route("logout"),method:"post",as:"button",class:"underline text-sm text-gray-600 hover:text-gray-900"},{default:(0,r.withCtx)((function(){return[p]})),_:1},8,["href"])])],40,u)],64)}}})},5678:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>$});var r=n(821),o=n(802),i={class:"relative"};const a={props:{align:{type:String,default:"right"},width:{type:String,default:"48"},contentClasses:{type:Array,default:function(){return["py-1","bg-white"]}}},setup:function(e){var t=this,n=e,o=(0,r.computed)((function(){return{48:"w-48"}[n.width.toString()]})),a=(0,r.computed)((function(){return"left"===t.align?"origin-top-left left-0":"right"===t.align?"origin-top-right right-0":"origin-top"})),s=(0,r.ref)(!1),c=function(e){s.value&&"Escape"===e.key&&(s.value=!1)};return(0,r.onMounted)((function(){return document.addEventListener("keydown",c)})),(0,r.onUnmounted)((function(){return document.removeEventListener("keydown",c)})),function(t,n){return(0,r.openBlock)(),(0,r.createElementBlock)("div",i,[(0,r.createElementVNode)("div",{onClick:n[0]||(n[0]=function(e){return(0,r.isRef)(s)?s.value=!(0,r.unref)(s):s=!(0,r.unref)(s)})},[(0,r.renderSlot)(t.$slots,"trigger")]),(0,r.withDirectives)((0,r.createElementVNode)("div",{class:"fixed inset-0 z-40",onClick:n[1]||(n[1]=function(e){return(0,r.isRef)(s)?s.value=!1:s=!1})},null,512),[[r.vShow,(0,r.unref)(s)]]),(0,r.createVNode)(r.Transition,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:(0,r.withCtx)((function(){return[(0,r.withDirectives)((0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(["absolute z-50 mt-2 rounded-md shadow-lg",[(0,r.unref)(o),(0,r.unref)(a)]]),style:{display:"none"},onClick:n[2]||(n[2]=function(e){return(0,r.isRef)(s)?s.value=!1:s=!1})},[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(["rounded-md ring-1 ring-black ring-opacity-5",e.contentClasses])},[(0,r.renderSlot)(t.$slots,"content")],2)],2),[[r.vShow,(0,r.unref)(s)]])]})),_:3})])}}};var s=n(9038);const c={setup:function(e){return function(e,t){return(0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.rU),{class:"block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"},{default:(0,r.withCtx)((function(){return[(0,r.renderSlot)(e.$slots,"default")]})),_:3})}}},u={props:{href:String,active:Boolean},setup:function(e){var t=e,n=(0,r.computed)((function(){return t.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 text-sm font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}));return function(t,o){return(0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.rU),{href:e.href,class:(0,r.normalizeClass)((0,r.unref)(n))},{default:(0,r.withCtx)((function(){return[(0,r.renderSlot)(t.$slots,"default")]})),_:3},8,["href","class"])}}},l={props:{href:String,active:Boolean},setup:function(e){var t=e,n=(0,r.computed)((function(){return t.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}));return function(t,o){return(0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(s.rU),{href:e.href,class:(0,r.normalizeClass)((0,r.unref)(n))},{default:(0,r.withCtx)((function(){return[(0,r.renderSlot)(t.$slots,"default")]})),_:3},8,["href","class"])}}};var f={class:"min-h-screen bg-gray-100"},p={class:"bg-white border-b border-gray-100"},d={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},h={class:"flex justify-between h-16"},v={class:"flex"},m={class:"shrink-0 flex items-center"},g={class:"hidden space-x-8 sm:-my-px sm:ml-10 sm:flex"},y=(0,r.createTextVNode)(" Dashboard "),b={class:"hidden sm:flex sm:items-center sm:ml-6"},_={class:"ml-3 relative"},w={class:"inline-flex rounded-md"},x={type:"button",class:"inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150"},S=(0,r.createElementVNode)("svg",{class:"ml-2 -mr-0.5 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[(0,r.createElementVNode)("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),k=(0,r.createTextVNode)(" Log Out "),E={class:"-mr-2 flex items-center sm:hidden"},C={class:"h-6 w-6",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},j={class:"pt-2 pb-3 space-y-1"},O=(0,r.createTextVNode)(" Dashboard "),N={class:"pt-4 pb-1 border-t border-gray-200"},A={class:"px-4"},T={class:"font-medium text-base text-gray-800"},P={class:"font-medium text-sm text-gray-500"},V={class:"mt-3 space-y-1"},R=(0,r.createTextVNode)(" Log Out "),M={key:0,class:"bg-white shadow"},I={class:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"};const L={setup:function(e){var t=(0,r.ref)(!1);return function(e,n){return(0,r.openBlock)(),(0,r.createElementBlock)("div",null,[(0,r.createElementVNode)("div",f,[(0,r.createElementVNode)("nav",p,[(0,r.createElementVNode)("div",d,[(0,r.createElementVNode)("div",h,[(0,r.createElementVNode)("div",v,[(0,r.createElementVNode)("div",m,[(0,r.createVNode)((0,r.unref)(s.rU),{href:e.route("dashboard")},{default:(0,r.withCtx)((function(){return[(0,r.createVNode)(o.Z,{class:"block h-9 w-auto"})]})),_:1},8,["href"])]),(0,r.createElementVNode)("div",g,[(0,r.createVNode)(u,{href:e.route("dashboard"),active:e.route().current("dashboard")},{default:(0,r.withCtx)((function(){return[y]})),_:1},8,["href","active"])])]),(0,r.createElementVNode)("div",b,[(0,r.createElementVNode)("div",_,[(0,r.createVNode)(a,{align:"right",width:"48"},{trigger:(0,r.withCtx)((function(){return[(0,r.createElementVNode)("span",w,[(0,r.createElementVNode)("button",x,[(0,r.createTextVNode)((0,r.toDisplayString)(e.$page.props.auth.user.name)+" ",1),S])])]})),content:(0,r.withCtx)((function(){return[(0,r.createVNode)(c,{href:e.route("logout"),method:"post",as:"button"},{default:(0,r.withCtx)((function(){return[k]})),_:1},8,["href"])]})),_:1})])]),(0,r.createElementVNode)("div",E,[(0,r.createElementVNode)("button",{class:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out",onClick:n[0]||(n[0]=function(e){return(0,r.isRef)(t)?t.value=!(0,r.unref)(t):t=!(0,r.unref)(t)})},[((0,r.openBlock)(),(0,r.createElementBlock)("svg",C,[(0,r.createElementVNode)("path",{class:(0,r.normalizeClass)({hidden:(0,r.unref)(t),"inline-flex":!(0,r.unref)(t)}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,2),(0,r.createElementVNode)("path",{class:(0,r.normalizeClass)({hidden:!(0,r.unref)(t),"inline-flex":(0,r.unref)(t)}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,2)]))])])])]),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)([{block:(0,r.unref)(t),hidden:!(0,r.unref)(t)},"sm:hidden"])},[(0,r.createElementVNode)("div",j,[(0,r.createVNode)(l,{href:e.route("dashboard"),active:e.route().current("dashboard")},{default:(0,r.withCtx)((function(){return[O]})),_:1},8,["href","active"])]),(0,r.createElementVNode)("div",N,[(0,r.createElementVNode)("div",A,[(0,r.createElementVNode)("div",T,(0,r.toDisplayString)(e.$page.props.auth.user.name),1),(0,r.createElementVNode)("div",P,(0,r.toDisplayString)(e.$page.props.auth.user.email),1)]),(0,r.createElementVNode)("div",V,[(0,r.createVNode)(l,{href:e.route("logout"),method:"post",as:"button"},{default:(0,r.withCtx)((function(){return[R]})),_:1},8,["href"])])])],2)]),e.$slots.header?((0,r.openBlock)(),(0,r.createElementBlock)("header",M,[(0,r.createElementVNode)("div",I,[(0,r.renderSlot)(e.$slots,"header")])])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("main",null,[(0,r.renderSlot)(e.$slots,"default")])])])}}};var B=(0,r.createElementVNode)("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"}," Dashboard ",-1),F=(0,r.createElementVNode)("div",{class:"py-12"},[(0,r.createElementVNode)("div",{class:"max-w-7xl mx-auto sm:px-6 lg:px-8"},[(0,r.createElementVNode)("div",{class:"bg-white overflow-hidden shadow-sm sm:rounded-lg"},[(0,r.createElementVNode)("div",{class:"p-6 bg-white border-b border-gray-200"}," You're logged in! ")])])],-1);const $={setup:function(e){return function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(s.Fb),{title:"Dashboard"}),(0,r.createVNode)(L,null,{header:(0,r.withCtx)((function(){return[B]})),default:(0,r.withCtx)((function(){return[F]})),_:1})],64)}}}},3684:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(821),o=n(9038),i={class:"relative flex items-top justify-center min-h-screen bg-gray-100 dark:bg-gray-900 sm:items-center sm:pt-0"},a={key:0,class:"hidden fixed top-0 right-0 px-6 py-4 sm:block"},s=(0,r.createTextVNode)(" Dashboard "),c=(0,r.createTextVNode)(" Log in "),u=(0,r.createTextVNode)(" Register "),l={class:"max-w-6xl mx-auto sm:px-6 lg:px-8"},f=(0,r.createStaticVNode)('<div class="flex justify-center pt-8 sm:justify-start sm:pt-0" data-v-feac48e4><svg viewBox="0 0 651 192" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-16 w-auto text-gray-700 sm:h-20" data-v-feac48e4><g clip-path="url(#clip0)" fill="#EF3B2D" data-v-feac48e4><path d="M248.032 44.676h-16.466v100.23h47.394v-14.748h-30.928V44.676zM337.091 87.202c-2.101-3.341-5.083-5.965-8.949-7.875-3.865-1.909-7.756-2.864-11.669-2.864-5.062 0-9.69.931-13.89 2.792-4.201 1.861-7.804 4.417-10.811 7.661-3.007 3.246-5.347 6.993-7.016 11.239-1.672 4.249-2.506 8.713-2.506 13.389 0 4.774.834 9.26 2.506 13.459 1.669 4.202 4.009 7.925 7.016 11.169 3.007 3.246 6.609 5.799 10.811 7.66 4.199 1.861 8.828 2.792 13.89 2.792 3.913 0 7.804-.955 11.669-2.863 3.866-1.908 6.849-4.533 8.949-7.875v9.021h15.607V78.182h-15.607v9.02zm-1.431 32.503c-.955 2.578-2.291 4.821-4.009 6.73-1.719 1.91-3.795 3.437-6.229 4.582-2.435 1.146-5.133 1.718-8.091 1.718-2.96 0-5.633-.572-8.019-1.718-2.387-1.146-4.438-2.672-6.156-4.582-1.719-1.909-3.032-4.152-3.938-6.73-.909-2.577-1.36-5.298-1.36-8.161 0-2.864.451-5.585 1.36-8.162.905-2.577 2.219-4.819 3.938-6.729 1.718-1.908 3.77-3.437 6.156-4.582 2.386-1.146 5.059-1.718 8.019-1.718 2.958 0 5.656.572 8.091 1.718 2.434 1.146 4.51 2.674 6.229 4.582 1.718 1.91 3.054 4.152 4.009 6.729.953 2.577 1.432 5.298 1.432 8.162-.001 2.863-.479 5.584-1.432 8.161zM463.954 87.202c-2.101-3.341-5.083-5.965-8.949-7.875-3.865-1.909-7.756-2.864-11.669-2.864-5.062 0-9.69.931-13.89 2.792-4.201 1.861-7.804 4.417-10.811 7.661-3.007 3.246-5.347 6.993-7.016 11.239-1.672 4.249-2.506 8.713-2.506 13.389 0 4.774.834 9.26 2.506 13.459 1.669 4.202 4.009 7.925 7.016 11.169 3.007 3.246 6.609 5.799 10.811 7.66 4.199 1.861 8.828 2.792 13.89 2.792 3.913 0 7.804-.955 11.669-2.863 3.866-1.908 6.849-4.533 8.949-7.875v9.021h15.607V78.182h-15.607v9.02zm-1.432 32.503c-.955 2.578-2.291 4.821-4.009 6.73-1.719 1.91-3.795 3.437-6.229 4.582-2.435 1.146-5.133 1.718-8.091 1.718-2.96 0-5.633-.572-8.019-1.718-2.387-1.146-4.438-2.672-6.156-4.582-1.719-1.909-3.032-4.152-3.938-6.73-.909-2.577-1.36-5.298-1.36-8.161 0-2.864.451-5.585 1.36-8.162.905-2.577 2.219-4.819 3.938-6.729 1.718-1.908 3.77-3.437 6.156-4.582 2.386-1.146 5.059-1.718 8.019-1.718 2.958 0 5.656.572 8.091 1.718 2.434 1.146 4.51 2.674 6.229 4.582 1.718 1.91 3.054 4.152 4.009 6.729.953 2.577 1.432 5.298 1.432 8.162 0 2.863-.479 5.584-1.432 8.161zM650.772 44.676h-15.606v100.23h15.606V44.676zM365.013 144.906h15.607V93.538h26.776V78.182h-42.383v66.724zM542.133 78.182l-19.616 51.096-19.616-51.096h-15.808l25.617 66.724h19.614l25.617-66.724h-15.808zM591.98 76.466c-19.112 0-34.239 15.706-34.239 35.079 0 21.416 14.641 35.079 36.239 35.079 12.088 0 19.806-4.622 29.234-14.688l-10.544-8.158c-.006.008-7.958 10.449-19.832 10.449-13.802 0-19.612-11.127-19.612-16.884h51.777c2.72-22.043-11.772-40.877-33.023-40.877zm-18.713 29.28c.12-1.284 1.917-16.884 18.589-16.884 16.671 0 18.697 15.598 18.813 16.884h-37.402zM184.068 43.892c-.024-.088-.073-.165-.104-.25-.058-.157-.108-.316-.191-.46-.056-.097-.137-.176-.203-.265-.087-.117-.161-.242-.265-.345-.085-.086-.194-.148-.29-.223-.109-.085-.206-.182-.327-.252l-.002-.001-.002-.002-35.648-20.524a2.971 2.971 0 00-2.964 0l-35.647 20.522-.002.002-.002.001c-.121.07-.219.167-.327.252-.096.075-.205.138-.29.223-.103.103-.178.228-.265.345-.066.089-.147.169-.203.265-.083.144-.133.304-.191.46-.031.085-.08.162-.104.25-.067.249-.103.51-.103.776v38.979l-29.706 17.103V24.493a3 3 0 00-.103-.776c-.024-.088-.073-.165-.104-.25-.058-.157-.108-.316-.191-.46-.056-.097-.137-.176-.203-.265-.087-.117-.161-.242-.265-.345-.085-.086-.194-.148-.29-.223-.109-.085-.206-.182-.327-.252l-.002-.001-.002-.002L40.098 1.396a2.971 2.971 0 00-2.964 0L1.487 21.919l-.002.002-.002.001c-.121.07-.219.167-.327.252-.096.075-.205.138-.29.223-.103.103-.178.228-.265.345-.066.089-.147.169-.203.265-.083.144-.133.304-.191.46-.031.085-.08.162-.104.25-.067.249-.103.51-.103.776v122.09c0 1.063.568 2.044 1.489 2.575l71.293 41.045c.156.089.324.143.49.202.078.028.15.074.23.095a2.98 2.98 0 001.524 0c.069-.018.132-.059.2-.083.176-.061.354-.119.519-.214l71.293-41.045a2.971 2.971 0 001.489-2.575v-38.979l34.158-19.666a2.971 2.971 0 001.489-2.575V44.666a3.075 3.075 0 00-.106-.774zM74.255 143.167l-29.648-16.779 31.136-17.926.001-.001 34.164-19.669 29.674 17.084-21.772 12.428-43.555 24.863zm68.329-76.259v33.841l-12.475-7.182-17.231-9.92V49.806l12.475 7.182 17.231 9.92zm2.97-39.335l29.693 17.095-29.693 17.095-29.693-17.095 29.693-17.095zM54.06 114.089l-12.475 7.182V46.733l17.231-9.92 12.475-7.182v74.537l-17.231 9.921zM38.614 7.398l29.693 17.095-29.693 17.095L8.921 24.493 38.614 7.398zM5.938 29.632l12.475 7.182 17.231 9.92v79.676l.001.005-.001.006c0 .114.032.221.045.333.017.146.021.294.059.434l.002.007c.032.117.094.222.14.334.051.124.088.255.156.371a.036.036 0 00.004.009c.061.105.149.191.222.288.081.105.149.22.244.314l.008.01c.084.083.19.142.284.215.106.083.202.178.32.247l.013.005.011.008 34.139 19.321v34.175L5.939 144.867V29.632h-.001zm136.646 115.235l-65.352 37.625V148.31l48.399-27.628 16.953-9.677v33.862zm35.646-61.22l-29.706 17.102V66.908l17.231-9.92 12.475-7.182v33.841z" data-v-feac48e4></path></g></svg></div><div class="mt-8 bg-white dark:bg-gray-800 overflow-hidden shadow sm:rounded-lg" data-v-feac48e4><div class="grid grid-cols-1 md:grid-cols-2" data-v-feac48e4><div class="p-6" data-v-feac48e4><div class="flex items-center" data-v-feac48e4><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500" data-v-feac48e4><path d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" data-v-feac48e4></path></svg><div class="ml-4 text-lg leading-7 font-semibold" data-v-feac48e4><a href="https://laravel.com/docs" class="underline text-gray-900 dark:text-white" data-v-feac48e4>Documentation</a></div></div><div class="ml-12" data-v-feac48e4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm" data-v-feac48e4> Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-t-0 md:border-l" data-v-feac48e4><div class="flex items-center" data-v-feac48e4><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500" data-v-feac48e4><path d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z" data-v-feac48e4></path><path d="M15 13a3 3 0 11-6 0 3 3 0 016 0z" data-v-feac48e4></path></svg><div class="ml-4 text-lg leading-7 font-semibold" data-v-feac48e4><a href="https://laracasts.com" class="underline text-gray-900 dark:text-white" data-v-feac48e4>Laracasts</a></div></div><div class="ml-12" data-v-feac48e4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm" data-v-feac48e4> Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700" data-v-feac48e4><div class="flex items-center" data-v-feac48e4><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500" data-v-feac48e4><path d="M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z" data-v-feac48e4></path></svg><div class="ml-4 text-lg leading-7 font-semibold" data-v-feac48e4><a href="https://laravel-news.com/" class="underline text-gray-900 dark:text-white" data-v-feac48e4>Laravel News</a></div></div><div class="ml-12" data-v-feac48e4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm" data-v-feac48e4> Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials. </div></div></div><div class="p-6 border-t border-gray-200 dark:border-gray-700 md:border-l" data-v-feac48e4><div class="flex items-center" data-v-feac48e4><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="w-8 h-8 text-gray-500" data-v-feac48e4><path d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z" data-v-feac48e4></path></svg><div class="ml-4 text-lg leading-7 font-semibold text-gray-900 dark:text-white" data-v-feac48e4>Vibrant Ecosystem</div></div><div class="ml-12" data-v-feac48e4><div class="mt-2 text-gray-600 dark:text-gray-400 text-sm" data-v-feac48e4> Laravel's robust library of first-party tools and libraries, such as <a href="https://forge.laravel.com" class="underline" data-v-feac48e4>Forge</a>, <a href="https://vapor.laravel.com" class="underline" data-v-feac48e4>Vapor</a>, <a href="https://nova.laravel.com" class="underline" data-v-feac48e4>Nova</a>, and <a href="https://envoyer.io" class="underline" data-v-feac48e4>Envoyer</a> help you take your projects to the next level. Pair them with powerful open source libraries like <a href="https://laravel.com/docs/billing" class="underline" data-v-feac48e4>Cashier</a>, <a href="https://laravel.com/docs/dusk" class="underline" data-v-feac48e4>Dusk</a>, <a href="https://laravel.com/docs/broadcasting" class="underline" data-v-feac48e4>Echo</a>, <a href="https://laravel.com/docs/horizon" class="underline" data-v-feac48e4>Horizon</a>, <a href="https://laravel.com/docs/sanctum" class="underline" data-v-feac48e4>Sanctum</a>, <a href="https://laravel.com/docs/telescope" class="underline" data-v-feac48e4>Telescope</a>, and more. </div></div></div></div></div>',2),p={class:"flex justify-center mt-4 sm:items-center sm:justify-between"},d=(0,r.createStaticVNode)('<div class="text-center text-sm text-gray-500 sm:text-left" data-v-feac48e4><div class="flex items-center" data-v-feac48e4><svg fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor" class="-mt-px w-5 h-5 text-gray-400" data-v-feac48e4><path d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z" data-v-feac48e4></path></svg><a href="https://laravel.bigcartel.com" class="ml-1 underline" data-v-feac48e4> Shop </a><svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" class="ml-4 -mt-px w-5 h-5 text-gray-400" data-v-feac48e4><path d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" data-v-feac48e4></path></svg><a href="https://github.com/sponsors/taylorotwell" class="ml-1 underline" data-v-feac48e4> Sponsor </a></div></div>',1),h={class:"ml-4 text-center text-sm text-gray-500 sm:text-right sm:ml-0"};const v={props:{canLogin:Boolean,canRegister:Boolean,laravelVersion:String,phpVersion:String},setup:function(e){return function(t,n){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)((0,r.unref)(o.Fb),{title:"Welcome"}),(0,r.createElementVNode)("div",i,[e.canLogin?((0,r.openBlock)(),(0,r.createElementBlock)("div",a,[t.$page.props.auth.user?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(o.rU),{key:0,href:t.route("dashboard"),class:"text-sm text-gray-700 underline"},{default:(0,r.withCtx)((function(){return[s]})),_:1},8,["href"])):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[(0,r.createVNode)((0,r.unref)(o.rU),{href:t.route("login"),class:"text-sm text-gray-700 underline"},{default:(0,r.withCtx)((function(){return[c]})),_:1},8,["href"]),e.canRegister?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(o.rU),{key:0,href:t.route("register"),class:"ml-4 text-sm text-gray-700 underline"},{default:(0,r.withCtx)((function(){return[u]})),_:1},8,["href"])):(0,r.createCommentVNode)("",!0)],64))])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("div",l,[f,(0,r.createElementVNode)("div",p,[d,(0,r.createElementVNode)("div",h," Laravel v"+(0,r.toDisplayString)(e.laravelVersion)+" (PHP v"+(0,r.toDisplayString)(e.phpVersion)+") ",1)])])])],64)}}};var m=n(3379),g=n.n(m),y=n(137),b={insert:"head",singleton:!1};g()(y.Z,b);y.Z.locals;const _=(0,n(3744).Z)(v,[["__scopeId","data-v-feac48e4"]])},821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>Nn,Comment:()=>ao,EffectScope:()=>se,Fragment:()=>oo,KeepAlive:()=>Un,ReactiveEffect:()=>xe,Static:()=>so,Suspense:()=>bn,Teleport:()=>Kr,Text:()=>io,Transition:()=>qa,TransitionGroup:()=>ls,VueElement:()=>Fa,callWithAsyncErrorHandling:()=>_i,callWithErrorHandling:()=>bi,camelize:()=>J,capitalize:()=>Q,cloneVNode:()=>No,compatUtils:()=>ya,compile:()=>Tf,computed:()=>Xt,createApp:()=>Us,createBlock:()=>yo,createCommentVNode:()=>Po,createElementBlock:()=>go,createElementVNode:()=>Eo,createHydrationRenderer:()=>Dr,createPropsRestProxy:()=>sa,createRenderer:()=>Ur,createSSRApp:()=>Ds,createSlots:()=>Fo,createStaticVNode:()=>To,createTextVNode:()=>Ao,createVNode:()=>Co,customRef:()=>qt,defineAsyncComponent:()=>Bn,defineComponent:()=>In,defineCustomElement:()=>Ia,defineEmits:()=>ea,defineExpose:()=>ta,defineProps:()=>Yi,defineSSRCustomElement:()=>La,devtools:()=>Qt,effect:()=>ke,effectScope:()=>ce,getCurrentInstance:()=>Xo,getCurrentScope:()=>le,getTransitionRawChildren:()=>Mn,guardReactiveProps:()=>Oo,h:()=>ua,handleError:()=>wi,hydrate:()=>$s,initCustomFormatter:()=>pa,initDirectivesForSSR:()=>Hs,inject:()=>Cn,isMemoSame:()=>ha,isProxy:()=>Nt,isReactive:()=>jt,isReadonly:()=>Ot,isRef:()=>It,isRuntimeOnly:()=>si,isVNode:()=>bo,markRaw:()=>Tt,mergeDefaults:()=>aa,mergeProps:()=>Io,nextTick:()=>Mi,normalizeClass:()=>d,normalizeProps:()=>h,normalizeStyle:()=>u,onActivated:()=>zn,onBeforeMount:()=>Xn,onBeforeUnmount:()=>tr,onBeforeUpdate:()=>Yn,onDeactivated:()=>Wn,onErrorCaptured:()=>ar,onMounted:()=>Qn,onRenderTracked:()=>ir,onRenderTriggered:()=>or,onScopeDispose:()=>fe,onServerPrefetch:()=>rr,onUnmounted:()=>nr,onUpdated:()=>er,openBlock:()=>lo,popScopeId:()=>ln,provide:()=>En,proxyRefs:()=>Wt,pushScopeId:()=>un,queuePostFlushCb:()=>Fi,reactive:()=>xt,readonly:()=>kt,ref:()=>Lt,registerRuntimeCompiler:()=>ai,render:()=>Fs,renderList:()=>Bo,renderSlot:()=>$o,resolveComponent:()=>Qr,resolveDirective:()=>to,resolveDynamicComponent:()=>eo,resolveFilter:()=>ga,resolveTransitionHooks:()=>Tn,setBlockTracking:()=>vo,setDevtoolsHook:()=>tn,setTransitionHooks:()=>Rn,shallowReactive:()=>St,shallowReadonly:()=>Et,shallowRef:()=>Bt,ssrContextKey:()=>la,ssrUtils:()=>ma,stop:()=>Ee,toDisplayString:()=>_,toHandlerKey:()=>Y,toHandlers:()=>Do,toRaw:()=>At,toRef:()=>Jt,toRefs:()=>Zt,transformVNodeArgs:()=>wo,triggerRef:()=>Ut,unref:()=>Dt,useAttrs:()=>oa,useCssModule:()=>$a,useCssVars:()=>Ua,useSSRContext:()=>fa,useSlots:()=>ra,useTransitionState:()=>jn,vModelCheckbox:()=>ys,vModelDynamic:()=>Es,vModelRadio:()=>_s,vModelSelect:()=>ws,vModelText:()=>gs,vShow:()=>Ps,version:()=>va,warn:()=>mi,watch:()=>Gi,watchEffect:()=>Wi,watchPostEffect:()=>Hi,watchSyncEffect:()=>qi,withAsyncContext:()=>ca,withCtx:()=>pn,withDefaults:()=>na,withDirectives:()=>Ar,withKeys:()=>Ts,withMemo:()=>da,withModifiers:()=>Ns,withScopeId:()=>fn});var r={};function o(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(r),n.d(r,{BaseTransition:()=>Nn,Comment:()=>ao,EffectScope:()=>se,Fragment:()=>oo,KeepAlive:()=>Un,ReactiveEffect:()=>xe,Static:()=>so,Suspense:()=>bn,Teleport:()=>Kr,Text:()=>io,Transition:()=>qa,TransitionGroup:()=>ls,VueElement:()=>Fa,callWithAsyncErrorHandling:()=>_i,callWithErrorHandling:()=>bi,camelize:()=>J,capitalize:()=>Q,cloneVNode:()=>No,compatUtils:()=>ya,computed:()=>Xt,createApp:()=>Us,createBlock:()=>yo,createCommentVNode:()=>Po,createElementBlock:()=>go,createElementVNode:()=>Eo,createHydrationRenderer:()=>Dr,createPropsRestProxy:()=>sa,createRenderer:()=>Ur,createSSRApp:()=>Ds,createSlots:()=>Fo,createStaticVNode:()=>To,createTextVNode:()=>Ao,createVNode:()=>Co,customRef:()=>qt,defineAsyncComponent:()=>Bn,defineComponent:()=>In,defineCustomElement:()=>Ia,defineEmits:()=>ea,defineExpose:()=>ta,defineProps:()=>Yi,defineSSRCustomElement:()=>La,devtools:()=>Qt,effect:()=>ke,effectScope:()=>ce,getCurrentInstance:()=>Xo,getCurrentScope:()=>le,getTransitionRawChildren:()=>Mn,guardReactiveProps:()=>Oo,h:()=>ua,handleError:()=>wi,hydrate:()=>$s,initCustomFormatter:()=>pa,initDirectivesForSSR:()=>Hs,inject:()=>Cn,isMemoSame:()=>ha,isProxy:()=>Nt,isReactive:()=>jt,isReadonly:()=>Ot,isRef:()=>It,isRuntimeOnly:()=>si,isVNode:()=>bo,markRaw:()=>Tt,mergeDefaults:()=>aa,mergeProps:()=>Io,nextTick:()=>Mi,normalizeClass:()=>d,normalizeProps:()=>h,normalizeStyle:()=>u,onActivated:()=>zn,onBeforeMount:()=>Xn,onBeforeUnmount:()=>tr,onBeforeUpdate:()=>Yn,onDeactivated:()=>Wn,onErrorCaptured:()=>ar,onMounted:()=>Qn,onRenderTracked:()=>ir,onRenderTriggered:()=>or,onScopeDispose:()=>fe,onServerPrefetch:()=>rr,onUnmounted:()=>nr,onUpdated:()=>er,openBlock:()=>lo,popScopeId:()=>ln,provide:()=>En,proxyRefs:()=>Wt,pushScopeId:()=>un,queuePostFlushCb:()=>Fi,reactive:()=>xt,readonly:()=>kt,ref:()=>Lt,registerRuntimeCompiler:()=>ai,render:()=>Fs,renderList:()=>Bo,renderSlot:()=>$o,resolveComponent:()=>Qr,resolveDirective:()=>to,resolveDynamicComponent:()=>eo,resolveFilter:()=>ga,resolveTransitionHooks:()=>Tn,setBlockTracking:()=>vo,setDevtoolsHook:()=>tn,setTransitionHooks:()=>Rn,shallowReactive:()=>St,shallowReadonly:()=>Et,shallowRef:()=>Bt,ssrContextKey:()=>la,ssrUtils:()=>ma,stop:()=>Ee,toDisplayString:()=>_,toHandlerKey:()=>Y,toHandlers:()=>Do,toRaw:()=>At,toRef:()=>Jt,toRefs:()=>Zt,transformVNodeArgs:()=>wo,triggerRef:()=>Ut,unref:()=>Dt,useAttrs:()=>oa,useCssModule:()=>$a,useCssVars:()=>Ua,useSSRContext:()=>fa,useSlots:()=>ra,useTransitionState:()=>jn,vModelCheckbox:()=>ys,vModelDynamic:()=>Es,vModelRadio:()=>_s,vModelSelect:()=>ws,vModelText:()=>gs,vShow:()=>Ps,version:()=>va,warn:()=>mi,watch:()=>Gi,watchEffect:()=>Wi,watchPostEffect:()=>Hi,watchSyncEffect:()=>qi,withAsyncContext:()=>ca,withCtx:()=>pn,withDefaults:()=>na,withDirectives:()=>Ar,withKeys:()=>Ts,withMemo:()=>da,withModifiers:()=>Ns,withScopeId:()=>fn});const i=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");const a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=o(a);function c(e){return!!e||""===e}function u(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=B(r)?p(r):u(r);if(o)for(const e in o)t[e]=o[e]}return t}return B(e)||$(e)?e:void 0}const l=/;(?![^(]*\))/g,f=/:(.+)/;function p(e){const t={};return e.split(l).forEach((e=>{if(e){const n=e.split(f);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function d(e){let t="";if(B(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const r=d(e[n]);r&&(t+=r+" ")}else if($(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function h(e){if(!e)return null;let{class:t,style:n}=e;return t&&!B(t)&&(e.class=d(t)),n&&(e.style=u(n)),e}const v=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),m=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),g=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function y(e,t){if(e===t)return!0;let n=I(e),r=I(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=V(e),r=V(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=y(e[r],t[r]);return n}(e,t);if(n=$(e),r=$(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!y(e[n],t[n]))return!1}}return String(e)===String(t)}function b(e,t){return e.findIndex((e=>y(e,t)))}const _=e=>null==e?"":V(e)||$(e)&&(e.toString===D||!L(e.toString))?JSON.stringify(e,w,2):String(e),w=(e,t)=>t&&t.__v_isRef?w(e,t.value):R(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:M(t)?{[`Set(${t.size})`]:[...t.values()]}:!$(t)||V(t)||W(t)?t:String(t),x={},S=[],k=()=>{},E=()=>!1,C=/^on[^a-z]/,j=e=>C.test(e),O=e=>e.startsWith("onUpdate:"),N=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,P=(e,t)=>T.call(e,t),V=Array.isArray,R=e=>"[object Map]"===z(e),M=e=>"[object Set]"===z(e),I=e=>e instanceof Date,L=e=>"function"==typeof e,B=e=>"string"==typeof e,F=e=>"symbol"==typeof e,$=e=>null!==e&&"object"==typeof e,U=e=>$(e)&&L(e.then)&&L(e.catch),D=Object.prototype.toString,z=e=>D.call(e),W=e=>"[object Object]"===z(e),H=e=>B(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,q=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Z=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},G=/-(\w)/g,J=Z((e=>e.replace(G,((e,t)=>t?t.toUpperCase():"")))),K=/\B([A-Z])/g,X=Z((e=>e.replace(K,"-$1").toLowerCase())),Q=Z((e=>e.charAt(0).toUpperCase()+e.slice(1))),Y=Z((e=>e?`on${Q(e)}`:"")),ee=(e,t)=>!Object.is(e,t),te=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ne=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},re=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let oe;let ie;const ae=[];class se{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&ie&&(this.parent=ie,this.index=(ie.scopes||(ie.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(ae.push(this),ie=this)}off(){this.active&&(ae.pop(),ie=ae[ae.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function ce(e){return new se(e)}function ue(e,t){(t=t||ie)&&t.active&&t.effects.push(e)}function le(){return ie}function fe(e){ie&&ie.cleanups.push(e)}const pe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},de=e=>(e.w&ge)>0,he=e=>(e.n&ge)>0,ve=new WeakMap;let me=0,ge=1;const ye=[];let be;const _e=Symbol(""),we=Symbol("");class xe{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],ue(this,n)}run(){if(!this.active)return this.fn();if(!ye.includes(this))try{return ye.push(be=this),je.push(Ce),Ce=!0,ge=1<<++me,me<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ge})(this):Se(this),this.fn()}finally{me<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];de(o)&&!he(o)?o.delete(e):t[n++]=o,o.w&=~ge,o.n&=~ge}t.length=n}})(this),ge=1<<--me,Ne(),ye.pop();const e=ye.length;be=e>0?ye[e-1]:void 0}}stop(){this.active&&(Se(this),this.onStop&&this.onStop(),this.active=!1)}}function Se(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function ke(e,t){e.effect&&(e=e.effect.fn);const n=new xe(e);t&&(N(n,t),t.scope&&ue(n,t.scope)),t&&t.lazy||n.run();const r=n.run.bind(n);return r.effect=n,r}function Ee(e){e.effect.stop()}let Ce=!0;const je=[];function Oe(){je.push(Ce),Ce=!1}function Ne(){const e=je.pop();Ce=void 0===e||e}function Ae(e,t,n){if(!Te())return;let r=ve.get(e);r||ve.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=pe());Pe(o,undefined)}function Te(){return Ce&&void 0!==be}function Pe(e,t){let n=!1;me<=30?he(e)||(e.n|=ge,n=!de(e)):n=!e.has(be),n&&(e.add(be),be.deps.push(e))}function Ve(e,t,n,r,o,i){const a=ve.get(e);if(!a)return;let s=[];if("clear"===t)s=[...a.values()];else if("length"===n&&V(e))a.forEach(((e,t)=>{("length"===t||t>=r)&&s.push(e)}));else switch(void 0!==n&&s.push(a.get(n)),t){case"add":V(e)?H(n)&&s.push(a.get("length")):(s.push(a.get(_e)),R(e)&&s.push(a.get(we)));break;case"delete":V(e)||(s.push(a.get(_e)),R(e)&&s.push(a.get(we)));break;case"set":R(e)&&s.push(a.get(_e))}if(1===s.length)s[0]&&Re(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);Re(pe(e))}}function Re(e,t){for(const t of V(e)?e:[...e])(t!==be||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Me=o("__proto__,__v_isRef,__isVue"),Ie=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(F)),Le=ze(),Be=ze(!1,!0),Fe=ze(!0),$e=ze(!0,!0),Ue=De();function De(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=At(this);for(let e=0,t=this.length;e<t;e++)Ae(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(At)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Oe();const n=At(this)[t].apply(this,e);return Ne(),n}})),e}function ze(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&o===(e?t?_t:bt:t?yt:gt).get(n))return n;const i=V(n);if(!e&&i&&P(Ue,r))return Reflect.get(Ue,r,o);const a=Reflect.get(n,r,o);if(F(r)?Ie.has(r):Me(r))return a;if(e||Ae(n,0,r),t)return a;if(It(a)){return!i||!H(r)?a.value:a}return $(a)?e?kt(a):xt(a):a}}function We(e=!1){return function(t,n,r,o){let i=t[n];if(!e&&!Ot(r)&&(r=At(r),i=At(i),!V(t)&&It(i)&&!It(r)))return i.value=r,!0;const a=V(t)&&H(n)?Number(n)<t.length:P(t,n),s=Reflect.set(t,n,r,o);return t===At(o)&&(a?ee(r,i)&&Ve(t,"set",n,r):Ve(t,"add",n,r)),s}}const He={get:Le,set:We(),deleteProperty:function(e,t){const n=P(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&n&&Ve(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return F(t)&&Ie.has(t)||Ae(e,0,t),n},ownKeys:function(e){return Ae(e,0,V(e)?"length":_e),Reflect.ownKeys(e)}},qe={get:Fe,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ze=N({},He,{get:Be,set:We(!0)}),Ge=N({},qe,{get:$e}),Je=e=>e,Ke=e=>Reflect.getPrototypeOf(e);function Xe(e,t,n=!1,r=!1){const o=At(e=e.__v_raw),i=At(t);t!==i&&!n&&Ae(o,0,t),!n&&Ae(o,0,i);const{has:a}=Ke(o),s=r?Je:n?Vt:Pt;return a.call(o,t)?s(e.get(t)):a.call(o,i)?s(e.get(i)):void(e!==o&&e.get(t))}function Qe(e,t=!1){const n=this.__v_raw,r=At(n),o=At(e);return e!==o&&!t&&Ae(r,0,e),!t&&Ae(r,0,o),e===o?n.has(e):n.has(e)||n.has(o)}function Ye(e,t=!1){return e=e.__v_raw,!t&&Ae(At(e),0,_e),Reflect.get(e,"size",e)}function et(e){e=At(e);const t=At(this);return Ke(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function tt(e,t){t=At(t);const n=At(this),{has:r,get:o}=Ke(n);let i=r.call(n,e);i||(e=At(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?ee(t,a)&&Ve(n,"set",e,t):Ve(n,"add",e,t),this}function nt(e){const t=At(this),{has:n,get:r}=Ke(t);let o=n.call(t,e);o||(e=At(e),o=n.call(t,e));r&&r.call(t,e);const i=t.delete(e);return o&&Ve(t,"delete",e,void 0),i}function rt(){const e=At(this),t=0!==e.size,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function ot(e,t){return function(n,r){const o=this,i=o.__v_raw,a=At(i),s=t?Je:e?Vt:Pt;return!e&&Ae(a,0,_e),i.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}}function it(e,t,n){return function(...r){const o=this.__v_raw,i=At(o),a=R(i),s="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=o[e](...r),l=n?Je:t?Vt:Pt;return!t&&Ae(i,0,c?we:_e),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function at(e){return function(...t){return"delete"!==e&&this}}function st(){const e={get(e){return Xe(this,e)},get size(){return Ye(this)},has:Qe,add:et,set:tt,delete:nt,clear:rt,forEach:ot(!1,!1)},t={get(e){return Xe(this,e,!1,!0)},get size(){return Ye(this)},has:Qe,add:et,set:tt,delete:nt,clear:rt,forEach:ot(!1,!0)},n={get(e){return Xe(this,e,!0)},get size(){return Ye(this,!0)},has(e){return Qe.call(this,e,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:ot(!0,!1)},r={get(e){return Xe(this,e,!0,!0)},get size(){return Ye(this,!0)},has(e){return Qe.call(this,e,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:ot(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=it(o,!1,!1),n[o]=it(o,!0,!1),t[o]=it(o,!1,!0),r[o]=it(o,!0,!0)})),[e,n,t,r]}const[ct,ut,lt,ft]=st();function pt(e,t){const n=t?e?ft:lt:e?ut:ct;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(P(n,r)&&r in t?n:t,r,o)}const dt={get:pt(!1,!1)},ht={get:pt(!1,!0)},vt={get:pt(!0,!1)},mt={get:pt(!0,!0)};const gt=new WeakMap,yt=new WeakMap,bt=new WeakMap,_t=new WeakMap;function wt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>z(e).slice(8,-1))(e))}function xt(e){return e&&e.__v_isReadonly?e:Ct(e,!1,He,dt,gt)}function St(e){return Ct(e,!1,Ze,ht,yt)}function kt(e){return Ct(e,!0,qe,vt,bt)}function Et(e){return Ct(e,!0,Ge,mt,_t)}function Ct(e,t,n,r,o){if(!$(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=wt(e);if(0===a)return e;const s=new Proxy(e,2===a?r:n);return o.set(e,s),s}function jt(e){return Ot(e)?jt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ot(e){return!(!e||!e.__v_isReadonly)}function Nt(e){return jt(e)||Ot(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function Tt(e){return ne(e,"__v_skip",!0),e}const Pt=e=>$(e)?xt(e):e,Vt=e=>$(e)?kt(e):e;function Rt(e){Te()&&((e=At(e)).dep||(e.dep=pe()),Pe(e.dep))}function Mt(e,t){(e=At(e)).dep&&Re(e.dep)}function It(e){return Boolean(e&&!0===e.__v_isRef)}function Lt(e){return Ft(e,!1)}function Bt(e){return Ft(e,!0)}function Ft(e,t){return It(e)?e:new $t(e,t)}class $t{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:At(e),this._value=t?e:Pt(e)}get value(){return Rt(this),this._value}set value(e){e=this._shallow?e:At(e),ee(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:Pt(e),Mt(this))}}function Ut(e){Mt(e)}function Dt(e){return It(e)?e.value:e}const zt={get:(e,t,n)=>Dt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return It(o)&&!It(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Wt(e){return jt(e)?e:new Proxy(e,zt)}class Ht{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Rt(this)),(()=>Mt(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function qt(e){return new Ht(e)}function Zt(e){const t=V(e)?new Array(e.length):{};for(const n in e)t[n]=Jt(e,n);return t}class Gt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Jt(e,t,n){const r=e[t];return It(r)?r:new Gt(e,t,n)}class Kt{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new xe(e,(()=>{this._dirty||(this._dirty=!0,Mt(this))})),this.__v_isReadonly=n}get value(){const e=At(this);return Rt(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xt(e,t){let n,r;const o=L(e);o?(n=e,r=k):(n=e.get,r=e.set);return new Kt(n,r,o||!r)}Promise.resolve();new Set;new Map;let Qt,Yt=[],en=!1;function tn(e,t){var n,r;if(Qt=e,Qt)Qt.enabled=!0,Yt.forEach((({event:e,args:t})=>Qt.emit(e,...t))),Yt=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{tn(e,t)})),setTimeout((()=>{Qt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,en=!0,Yt=[])}),3e3)}else en=!0,Yt=[]}function nn(e,t,...n){const r=e.vnode.props||x;let o=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:i}=r[e]||x;i?o=n.map((e=>e.trim())):t&&(o=n.map(re))}let s;let c=r[s=Y(t)]||r[s=Y(J(t))];!c&&i&&(c=r[s=Y(X(t))]),c&&_i(c,e,6,o);const u=r[s+"Once"];if(u){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,_i(u,e,6,o)}}function rn(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let a={},s=!1;if(!L(e)){const r=e=>{const n=rn(e,t,!0);n&&(s=!0,N(a,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||s?(V(i)?i.forEach((e=>a[e]=null)):N(a,i),r.set(e,a),a):(r.set(e,null),null)}function on(e,t){return!(!e||!j(t))&&(t=t.slice(2).replace(/Once$/,""),P(e,t[0].toLowerCase()+t.slice(1))||P(e,X(t))||P(e,t))}let an=null,sn=null;function cn(e){const t=an;return an=e,sn=e&&e.type.__scopeId||null,t}function un(e){sn=e}function ln(){sn=null}const fn=e=>pn;function pn(e,t=an,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&vo(-1);const o=cn(t),i=e(...n);return cn(o),r._d&&vo(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function dn(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:u,render:l,renderCache:f,data:p,setupState:d,ctx:h,inheritAttrs:v}=e;let m,g;const y=cn(e);try{if(4&n.shapeFlag){const e=o||r;m=Vo(l.call(e,e,f,i,d,p,h)),g=c}else{const e=t;0,m=Vo(e.length>1?e(i,{attrs:c,slots:s,emit:u}):e(i,null)),g=t.props?c:vn(c)}}catch(t){co.length=0,wi(t,e,1),m=Co(ao)}let b=m;if(g&&!1!==v){const e=Object.keys(g),{shapeFlag:t}=b;e.length&&7&t&&(a&&e.some(O)&&(g=mn(g,a)),b=No(b,g))}return n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),m=b,cn(y),m}function hn(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!bo(r))return;if(r.type!==ao||"v-if"===r.children){if(t)return;t=r}}return t}const vn=e=>{let t;for(const n in e)("class"===n||"style"===n||j(n))&&((t||(t={}))[n]=e[n]);return t},mn=(e,t)=>{const n={};for(const r in e)O(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function gn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!on(n,i))return!0}return!1}function yn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const bn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,a,s,c,u){null==e?function(e,t,n,r,o,i,a,s,c){const{p:u,o:{createElement:l}}=c,f=l("div"),p=e.suspense=wn(e,o,r,t,f,n,i,a,s,c);u(null,p.pendingBranch=e.ssContent,f,null,r,p,i,a),p.deps>0?(_n(e,"onPending"),_n(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,a),kn(p,e.ssFallback)):p.resolve()}(t,n,r,o,i,a,s,c,u):function(e,t,n,r,o,i,a,s,{p:c,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:v,isInFallback:m,isHydrating:g}=f;if(v)f.pendingBranch=p,_o(p,v)?(c(v,p,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():m&&(c(h,d,n,r,o,null,i,a,s),kn(f,d))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=v):u(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),m?(c(null,p,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(h,d,n,r,o,null,i,a,s),kn(f,d))):h&&_o(p,h)?(c(h,p,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(h&&_o(p,h))c(h,p,n,r,o,f,i,a,s),kn(f,p);else if(_n(t,"onPending"),f.pendingBranch=p,f.pendingId++,c(null,p,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:e,pendingId:t}=f;e>0?setTimeout((()=>{f.pendingId===t&&f.fallback(d)}),e):0===e&&f.fallback(d)}}(e,t,n,r,o,a,s,c,u)},hydrate:function(e,t,n,r,o,i,a,s,c){const u=t.suspense=wn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,a,s,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,i,a);0===u.deps&&u.resolve();return l},create:wn,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=xn(r?n.default:n),e.ssFallback=r?xn(n.fallback):Co(ao)}};function _n(e,t){const n=e.props&&e.props[t];L(n)&&n()}function wn(e,t,n,r,o,i,a,s,c,u,l=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:v,remove:m}}=u,g=re(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof g?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:o,effects:i,parentComponent:a,container:s}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{o===y.pendingId&&p(r,s,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,a,y,!0)),e||p(r,s,t,0)}kn(y,r),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,u=!1;for(;c;){if(c.pendingBranch){c.effects.push(...i),u=!0;break}c=c.parent}u||Fi(i),y.effects=[],_n(t,"onResolve")},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,isSVG:i}=y;_n(t,"onFallback");const a=h(n),u=()=>{y.isInFallback&&(f(null,e,o,a,r,null,i,s,c),kn(y,e))},l=e.transition&&"out-in"===e.transition.mode;l&&(n.transition.afterLeave=u),y.isInFallback=!0,d(n,r,null,!0),l||u()},move(e,t,n){y.activeBranch&&p(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{wi(t,e,0)})).then((o=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;ii(e,o,!1),r&&(i.el=r);const s=!r&&e.subTree.el;t(e,i,v(r||e.subTree.el),r?null:h(e.subTree),y,a,c),s&&m(s),yn(e,i.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function xn(e){let t;if(L(e)){const n=ho&&e._c;n&&(e._d=!1,lo()),e=e(),n&&(e._d=!0,t=uo,fo())}if(V(e)){const t=hn(e);0,e=t}return e=Vo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Sn(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Fi(e)}function kn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,yn(r,o))}function En(e,t){if(Ko){let n=Ko.provides;const r=Ko.parent&&Ko.parent.provides;r===n&&(n=Ko.provides=Object.create(r)),n[e]=t}else 0}function Cn(e,t,n=!1){const r=Ko||an;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&L(t)?t.call(r.proxy):t}else 0}function jn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qn((()=>{e.isMounted=!0})),tr((()=>{e.isUnmounting=!0})),e}const On=[Function,Array],Nn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:On,onEnter:On,onAfterEnter:On,onEnterCancelled:On,onBeforeLeave:On,onLeave:On,onAfterLeave:On,onLeaveCancelled:On,onBeforeAppear:On,onAppear:On,onAfterAppear:On,onAppearCancelled:On},setup(e,{slots:t}){const n=Xo(),r=jn();let o;return()=>{const i=t.default&&Mn(t.default(),!0);if(!i||!i.length)return;const a=At(e),{mode:s}=a;const c=i[0];if(r.isLeaving)return Pn(c);const u=Vn(c);if(!u)return Pn(c);const l=Tn(u,a,r,n);Rn(u,l);const f=n.subTree,p=f&&Vn(f);let d=!1;const{getTransitionKey:h}=u.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,d=!0)}if(p&&p.type!==ao&&(!_o(u,p)||d)){const e=Tn(p,a,r,n);if(Rn(p,e),"out-in"===s)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Pn(c);"in-out"===s&&u.type!==ao&&(e.delayLeave=(e,t,n)=>{An(r,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return c}}};function An(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Tn(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:v,onAppear:m,onAfterAppear:g,onAppearCancelled:y}=t,b=String(e.key),_=An(n,e),w=(e,t)=>{e&&_i(e,r,9,t)},x={mode:i,persisted:a,beforeEnter(t){let r=s;if(!n.isMounted){if(!o)return;r=v||s}t._leaveCb&&t._leaveCb(!0);const i=_[b];i&&_o(e,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[t])},enter(e){let t=c,r=u,i=l;if(!n.isMounted){if(!o)return;t=m||c,r=g||u,i=y||l}let a=!1;const s=e._enterCb=t=>{a||(a=!0,w(t?i:r,[e]),x.delayedLeave&&x.delayedLeave(),e._enterCb=void 0)};t?(t(e,s),t.length<=1&&s()):s()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();w(f,[t]);let i=!1;const a=t._leaveCb=n=>{i||(i=!0,r(),w(n?h:d,[t]),t._leaveCb=void 0,_[o]===e&&delete _[o])};_[o]=e,p?(p(t,a),p.length<=1&&a()):a()},clone:e=>Tn(e,t,n,r)};return x}function Pn(e){if($n(e))return(e=No(e)).children=null,e}function Vn(e){return $n(e)?e.children?e.children[0]:void 0:e}function Rn(e,t){6&e.shapeFlag&&e.component?Rn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mn(e,t=!1){let n=[],r=0;for(let o=0;o<e.length;o++){const i=e[o];i.type===oo?(128&i.patchFlag&&r++,n=n.concat(Mn(i.children,t))):(t||i.type!==ao)&&n.push(i)}if(r>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function In(e){return L(e)?{setup:e,name:e.name}:e}const Ln=e=>!!e.type.__asyncLoader;function Bn(e){L(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=e;let c,u=null,l=0;const f=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((l++,u=null,f()))),(()=>n(e)),l+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return In({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const e=Ko;if(c)return()=>Fn(c,e);const t=t=>{u=null,wi(t,e,13,!r)};if(a&&e.suspense||ri)return f().then((t=>()=>Fn(t,e))).catch((e=>(t(e),()=>r?Co(r,{error:e}):null)));const s=Lt(!1),l=Lt(),p=Lt(!!o);return o&&setTimeout((()=>{p.value=!1}),o),null!=i&&setTimeout((()=>{if(!s.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}}),i),f().then((()=>{s.value=!0,e.parent&&$n(e.parent.vnode)&&Ii(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>s.value&&c?Fn(c,e):l.value&&r?Co(r,{error:l.value}):n&&!p.value?Co(n):void 0}})}function Fn(e,{vnode:{ref:t,props:n,children:r}}){const o=Co(e,n,r);return o.ref=t,o}const $n=e=>e.type.__isKeepAlive,Un={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Xo(),r=n.ctx;if(!r.renderer)return t.default;const o=new Map,i=new Set;let a=null;const s=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:f}}}=r,p=f("div");function d(e){Zn(e),l(e,n,s)}function h(e){o.forEach(((t,n)=>{const r=pi(t.type);!r||e&&e(r)||v(n)}))}function v(e){const t=o.get(e);a&&t.type===a.type?a&&Zn(a):d(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;u(e,t,n,0,s),c(i.vnode,e,t,n,i,s,r,e.slotScopeIds,o),$r((()=>{i.isDeactivated=!1,i.a&&te(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Lo(t,i.parent,e)}),s)},r.deactivate=e=>{const t=e.component;u(e,p,null,1,s),$r((()=>{t.da&&te(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Lo(n,t.parent,e),t.isDeactivated=!0}),s)},Gi((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Dn(e,t))),t&&h((e=>!Dn(t,e)))}),{flush:"post",deep:!0});let m=null;const g=()=>{null!=m&&o.set(m,Gn(n.subTree))};return Qn(g),er(g),tr((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,o=Gn(t);if(e.type!==o.type)d(e);else{Zn(o);const e=o.component.da;e&&$r(e,r)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return a=null,n;if(!(bo(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;let s=Gn(r);const c=s.type,u=pi(Ln(s)?s.type.__asyncResolved||{}:c),{include:l,exclude:f,max:p}=e;if(l&&(!u||!Dn(l,u))||f&&u&&Dn(f,u))return a=s,r;const d=null==s.key?c:s.key,h=o.get(d);return s.el&&(s=No(s),128&r.shapeFlag&&(r.ssContent=s)),m=d,h?(s.el=h.el,s.component=h.component,s.transition&&Rn(s,s.transition),s.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),p&&i.size>parseInt(p,10)&&v(i.values().next().value)),s.shapeFlag|=256,a=s,r}}};function Dn(e,t){return V(e)?e.some((e=>Dn(e,t))):B(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function zn(e,t){Hn(e,"a",t)}function Wn(e,t){Hn(e,"da",t)}function Hn(e,t,n=Ko){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Jn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)$n(e.parent.vnode)&&qn(r,t,n,e),e=e.parent}}function qn(e,t,n,r){const o=Jn(t,e,r,!0);nr((()=>{A(r[t],o)}),n)}function Zn(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function Gn(e){return 128&e.shapeFlag?e.ssContent:e}function Jn(e,t,n=Ko,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Oe(),Qo(n);const o=_i(t,n,e,r);return Yo(),Ne(),o});return r?o.unshift(i):o.push(i),i}}const Kn=e=>(t,n=Ko)=>(!ri||"sp"===e)&&Jn(e,t,n),Xn=Kn("bm"),Qn=Kn("m"),Yn=Kn("bu"),er=Kn("u"),tr=Kn("bum"),nr=Kn("um"),rr=Kn("sp"),or=Kn("rtg"),ir=Kn("rtc");function ar(e,t=Ko){Jn("ec",e,t)}let sr=!0;function cr(e){const t=fr(e),n=e.proxy,r=e.ctx;sr=!1,t.beforeCreate&&ur(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:u,created:l,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:v,deactivated:m,beforeDestroy:g,beforeUnmount:y,destroyed:b,unmounted:_,render:w,renderTracked:x,renderTriggered:S,errorCaptured:E,serverPrefetch:C,expose:j,inheritAttrs:O,components:N,directives:A,filters:T}=t;if(u&&function(e,t,n=k,r=!1){V(e)&&(e=vr(e));for(const n in e){const o=e[n];let i;i=$(o)?"default"in o?Cn(o.from||n,o.default,!0):Cn(o.from||n):Cn(o),It(i)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,r,null,e.appContext.config.unwrapInjectedRef),a)for(const e in a){const t=a[e];L(t)&&(r[e]=t.bind(n))}if(o){0;const t=o.call(n,n);0,$(t)&&(e.data=xt(t))}if(sr=!0,i)for(const e in i){const t=i[e];0;const o=Xt({get:L(t)?t.bind(n,n):L(t.get)?t.get.bind(n,n):k,set:!L(t)&&L(t.set)?t.set.bind(n):k});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e})}if(s)for(const e in s)lr(s[e],r,n,e);if(c){const e=L(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{En(t,e[t])}))}function P(e,t){V(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(l&&ur(l,e,"c"),P(Xn,f),P(Qn,p),P(Yn,d),P(er,h),P(zn,v),P(Wn,m),P(ar,E),P(ir,x),P(or,S),P(tr,y),P(nr,_),P(rr,C),V(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===k&&(e.render=w),null!=O&&(e.inheritAttrs=O),N&&(e.components=N),A&&(e.directives=A)}function ur(e,t,n){_i(V(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function lr(e,t,n,r){const o=r.includes(".")?Xi(n,r):()=>n[r];if(B(e)){const n=t[e];L(n)&&Gi(o,n)}else if(L(e))Gi(o,e.bind(n));else if($(e))if(V(e))e.forEach((e=>lr(e,t,n,r)));else{const r=L(e.handler)?e.handler.bind(n):t[e.handler];L(r)&&Gi(o,r,e)}else 0}function fr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let c;return s?c=s:o.length||n||r?(c={},o.length&&o.forEach((e=>pr(c,e,a,!0))),pr(c,t,a)):c=t,i.set(t,c),c}function pr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&pr(e,i,n,!0),o&&o.forEach((t=>pr(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=dr[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const dr={data:hr,props:gr,emits:gr,methods:gr,computed:gr,beforeCreate:mr,created:mr,beforeMount:mr,mounted:mr,beforeUpdate:mr,updated:mr,beforeDestroy:mr,beforeUnmount:mr,destroyed:mr,unmounted:mr,activated:mr,deactivated:mr,errorCaptured:mr,serverPrefetch:mr,components:gr,directives:gr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=N(Object.create(null),e);for(const r in t)n[r]=mr(e[r],t[r]);return n},provide:hr,inject:function(e,t){return gr(vr(e),vr(t))}};function hr(e,t){return t?e?function(){return N(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function vr(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mr(e,t){return e?[...new Set([].concat(e,t))]:t}function gr(e,t){return e?N(N(Object.create(null),e),t):t}function yr(e,t,n,r){const[o,i]=e.propsOptions;let a,s=!1;if(t)for(let c in t){if(q(c))continue;const u=t[c];let l;o&&P(o,l=J(c))?i&&i.includes(l)?(a||(a={}))[l]=u:n[l]=u:on(e.emitsOptions,c)||c in r&&u===r[c]||(r[c]=u,s=!0)}if(i){const t=At(n),r=a||x;for(let a=0;a<i.length;a++){const s=i[a];n[s]=br(o,t,s,r[s],e,!P(r,s))}}return s}function br(e,t,n,r,o,i){const a=e[n];if(null!=a){const e=P(a,"default");if(e&&void 0===r){const e=a.default;if(a.type!==Function&&L(e)){const{propsDefaults:i}=o;n in i?r=i[n]:(Qo(o),r=i[n]=e.call(null,t),Yo())}else r=e}a[0]&&(i&&!e?r=!1:!a[1]||""!==r&&r!==X(n)||(r=!0))}return r}function _r(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,a={},s=[];let c=!1;if(!L(e)){const r=e=>{c=!0;const[n,r]=_r(e,t,!0);N(a,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!c)return r.set(e,S),S;if(V(i))for(let e=0;e<i.length;e++){0;const t=J(i[e]);wr(t)&&(a[t]=x)}else if(i){0;for(const e in i){const t=J(e);if(wr(t)){const n=i[e],r=a[t]=V(n)||L(n)?{type:n}:n;if(r){const e=kr(Boolean,r.type),n=kr(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||P(r,"default"))&&s.push(t)}}}}const u=[a,s];return r.set(e,u),u}function wr(e){return"$"!==e[0]}function xr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Sr(e,t){return xr(e)===xr(t)}function kr(e,t){return V(t)?t.findIndex((t=>Sr(t,e))):L(t)&&Sr(t,e)?0:-1}const Er=e=>"_"===e[0]||"$stable"===e,Cr=e=>V(e)?e.map(Vo):[Vo(e)],jr=(e,t,n)=>{const r=pn(((...e)=>Cr(t(...e))),n);return r._c=!1,r},Or=(e,t,n)=>{const r=e._ctx;for(const n in e){if(Er(n))continue;const o=e[n];if(L(o))t[n]=jr(0,o,r);else if(null!=o){0;const e=Cr(o);t[n]=()=>e}}},Nr=(e,t)=>{const n=Cr(t);e.slots.default=()=>n};function Ar(e,t){if(null===an)return e;const n=an.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,i,a,s=x]=t[e];L(o)&&(o={mounted:o,updated:o}),o.deep&&Qi(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:s})}return e}function Tr(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let c=s.dir[r];c&&(Oe(),_i(c,n,8,[e.el,s,e,t]),Ne())}}function Pr(){return{app:null,config:{isNativeTag:E,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Vr=0;function Rr(e,t){return function(n,r=null){null==r||$(r)||(r=null);const o=Pr(),i=new Set;let a=!1;const s=o.app={_uid:Vr++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:va,get config(){return o.config},set config(e){0},use:(e,...t)=>(i.has(e)||(e&&L(e.install)?(i.add(e),e.install(s,...t)):L(e)&&(i.add(e),e(s,...t))),s),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),s),component:(e,t)=>t?(o.components[e]=t,s):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,s):o.directives[e],mount(i,c,u){if(!a){const l=Co(n,r);return l.appContext=o,c&&t?t(l,i):e(l,i,u),a=!0,s._container=i,i.__vue_app__=s,li(l.component)||l.component.proxy}},unmount(){a&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,s)};return s}}function Mr(e,t,n,r,o=!1){if(V(e))return void e.forEach(((e,i)=>Mr(e,t&&(V(t)?t[i]:t),n,r,o)));if(Ln(r)&&!o)return;const i=4&r.shapeFlag?li(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=e;const u=t&&t.r,l=s.refs===x?s.refs={}:s.refs,f=s.setupState;if(null!=u&&u!==c&&(B(u)?(l[u]=null,P(f,u)&&(f[u]=null)):It(u)&&(u.value=null)),L(c))bi(c,s,12,[a,l]);else{const t=B(c),r=It(c);if(t||r){const r=()=>{if(e.f){const n=t?l[c]:c.value;o?V(n)&&A(n,i):V(n)?n.includes(i)||n.push(i):t?l[c]=[i]:(c.value=[i],e.k&&(l[e.k]=c.value))}else t?(l[c]=a,P(f,c)&&(f[c]=a)):It(c)&&(c.value=a,e.k&&(l[e.k]=a))};a?(r.id=-1,$r(r,n)):r()}else 0}}let Ir=!1;const Lr=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Br=e=>8===e.nodeType;function Fr(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:o,parentNode:i,remove:a,insert:s,createComment:c}}=e,u=(n,r,a,s,c,v=!1)=>{const m=Br(n)&&"["===n.data,g=()=>d(n,r,a,s,c,m),{type:y,ref:b,shapeFlag:_}=r,w=n.nodeType;r.el=n;let x=null;switch(y){case io:3!==w?x=g():(n.data!==r.children&&(Ir=!0,n.data=r.children),x=o(n));break;case ao:x=8!==w||m?g():o(n);break;case so:if(1===w){x=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=x.outerHTML),t===r.staticCount-1&&(r.anchor=x),x=o(x);return x}x=g();break;case oo:x=m?p(n,r,a,s,c,v):g();break;default:if(1&_)x=1!==w||r.type.toLowerCase()!==n.tagName.toLowerCase()?g():l(n,r,a,s,c,v);else if(6&_){r.slotScopeIds=c;const e=i(n);if(t(r,e,null,a,s,Lr(e),v),x=m?h(n):o(n),Ln(r)){let t;m?(t=Co(oo),t.anchor=x?x.previousSibling:e.lastChild):t=3===n.nodeType?Ao(""):Co("div"),t.el=n,r.component.subTree=t}}else 64&_?x=8!==w?g():r.type.hydrate(n,r,a,s,c,v,e,f):128&_&&(x=r.type.hydrate(n,r,a,s,Lr(i(n)),c,v,e,u))}return null!=b&&Mr(b,null,s,r),x},l=(e,t,n,o,i,s)=>{s=s||!!t.dynamicChildren;const{type:c,props:u,patchFlag:l,shapeFlag:p,dirs:d}=t,h="input"===c&&d||"option"===c;if(h||-1!==l){if(d&&Tr(t,null,n,"created"),u)if(h||!s||48&l)for(const t in u)(h&&t.endsWith("value")||j(t)&&!q(t))&&r(e,t,null,u[t],!1,void 0,n);else u.onClick&&r(e,"onClick",null,u.onClick,!1,void 0,n);let c;if((c=u&&u.onVnodeBeforeMount)&&Lo(c,n,t),d&&Tr(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||d)&&Sn((()=>{c&&Lo(c,n,t),d&&Tr(t,null,n,"mounted")}),o),16&p&&(!u||!u.innerHTML&&!u.textContent)){let r=f(e.firstChild,t,e,n,o,i,s);for(;r;){Ir=!0;const e=r;r=r.nextSibling,a(e)}}else 8&p&&e.textContent!==t.children&&(Ir=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,r,o,i,a,s)=>{s=s||!!t.dynamicChildren;const c=t.children,l=c.length;for(let t=0;t<l;t++){const l=s?c[t]:c[t]=Vo(c[t]);if(e)e=u(e,l,o,i,a,s);else{if(l.type===io&&!l.children)continue;Ir=!0,n(null,l,r,null,o,i,Lr(r),a)}}return e},p=(e,t,n,r,a,u)=>{const{slotScopeIds:l}=t;l&&(a=a?a.concat(l):l);const p=i(e),d=f(o(e),t,p,n,r,a,u);return d&&Br(d)&&"]"===d.data?o(t.anchor=d):(Ir=!0,s(t.anchor=c("]"),p,d),d)},d=(e,t,r,s,c,u)=>{if(Ir=!0,t.el=null,u){const t=h(e);for(;;){const n=o(e);if(!n||n===t)break;a(n)}}const l=o(e),f=i(e);return a(e),n(null,t,f,l,r,s,Lr(f),c),l},h=e=>{let t=0;for(;e;)if((e=o(e))&&Br(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return o(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),void Ui();Ir=!1,u(t.firstChild,e,null,null,null),Ui(),Ir&&console.error("Hydration completed but contains mismatches.")},u]}const $r=Sn;function Ur(e){return zr(e)}function Dr(e){return zr(e,Fr)}function zr(e,t){(oe||(oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{})).__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:p,setScopeId:d=k,cloneNode:h,insertStaticContent:v}=e,m=(e,t,n,r=null,o=null,i=null,a=!1,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!_o(e,t)&&(r=K(e),z(e,o,i,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:l,shapeFlag:f}=t;switch(u){case io:g(e,t,n,r);break;case ao:y(e,t,n,r);break;case so:null==e&&b(t,n,r,a);break;case oo:V(e,t,n,r,o,i,a,s,c);break;default:1&f?w(e,t,n,r,o,i,a,s,c):6&f?R(e,t,n,r,o,i,a,s,c):(64&f||128&f)&&u.process(e,t,n,r,o,i,a,s,c,Y)}null!=l&&o&&Mr(l,e&&e.ref,i,t||e,!t)},g=(e,t,n,o)=>{if(null==e)r(t.el=s(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},y=(e,t,n,o)=>{null==e?r(t.el=c(t.children||""),n,o):t.el=e.el},b=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r)},_=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)},w=(e,t,n,r,o,i,a,s,c)=>{a=a||"svg"===t.type,null==e?E(t,n,r,o,i,a,s,c):O(e,t,o,i,a,s,c)},E=(e,t,n,o,s,c,u,f)=>{let p,d;const{type:v,props:m,shapeFlag:g,transition:y,patchFlag:b,dirs:_}=e;if(e.el&&void 0!==h&&-1===b)p=e.el=h(e.el);else{if(p=e.el=a(e.type,c,m&&m.is,m),8&g?l(p,e.children):16&g&&j(e.children,p,null,o,s,c&&"foreignObject"!==v,u,f),_&&Tr(e,null,o,"created"),m){for(const t in m)"value"===t||q(t)||i(p,t,null,m[t],c,e.children,o,s,G);"value"in m&&i(p,"value",null,m.value),(d=m.onVnodeBeforeMount)&&Lo(d,o,e)}C(p,e,e.scopeId,u,o)}_&&Tr(e,null,o,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;w&&y.beforeEnter(p),r(p,t,n),((d=m&&m.onVnodeMounted)||w||_)&&$r((()=>{d&&Lo(d,o,e),w&&y.enter(p),_&&Tr(e,null,o,"mounted")}),s)},C=(e,t,n,r,o)=>{if(n&&d(e,n),r)for(let t=0;t<r.length;t++)d(e,r[t]);if(o){if(t===o.subTree){const t=o.vnode;C(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},j=(e,t,n,r,o,i,a,s,c=0)=>{for(let u=c;u<e.length;u++){const c=e[u]=s?Ro(e[u]):Vo(e[u]);m(null,c,t,n,r,o,i,a,s)}},O=(e,t,n,r,o,a,s)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const d=e.props||x,h=t.props||x;let v;n&&Wr(n,!1),(v=h.onVnodeBeforeUpdate)&&Lo(v,n,t,e),p&&Tr(t,e,n,"beforeUpdate"),n&&Wr(n,!0);const m=o&&"foreignObject"!==t.type;if(f?A(e.dynamicChildren,f,c,n,r,m,a):s||F(e,t,c,null,n,r,m,a,!1),u>0){if(16&u)T(c,t,d,h,n,r,o);else if(2&u&&d.class!==h.class&&i(c,"class",null,h.class,o),4&u&&i(c,"style",d.style,h.style,o),8&u){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const s=a[t],u=d[s],l=h[s];l===u&&"value"!==s||i(c,s,u,l,o,e.children,n,r,G)}}1&u&&e.children!==t.children&&l(c,t.children)}else s||null!=f||T(c,t,d,h,n,r,o);((v=h.onVnodeUpdated)||p)&&$r((()=>{v&&Lo(v,n,t,e),p&&Tr(t,e,n,"updated")}),r)},A=(e,t,n,r,o,i,a)=>{for(let s=0;s<t.length;s++){const c=e[s],u=t[s],l=c.el&&(c.type===oo||!_o(c,u)||70&c.shapeFlag)?f(c.el):n;m(c,u,l,null,r,o,i,a,!0)}},T=(e,t,n,r,o,a,s)=>{if(n!==r){for(const c in r){if(q(c))continue;const u=r[c],l=n[c];u!==l&&"value"!==c&&i(e,c,l,u,s,t.children,o,a,G)}if(n!==x)for(const c in n)q(c)||c in r||i(e,c,n[c],null,s,t.children,o,a,G);"value"in r&&i(e,"value",n.value,r.value)}},V=(e,t,n,o,i,a,c,u,l)=>{const f=t.el=e?e.el:s(""),p=t.anchor=e?e.anchor:s("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:v}=t;v&&(u=u?u.concat(v):v),null==e?(r(f,n,o),r(p,n,o),j(t.children,n,p,i,a,c,u,l)):d>0&&64&d&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,n,i,a,c,u),(null!=t.key||i&&t===i.subTree)&&Hr(e,t,!0)):F(e,t,n,p,i,a,c,u,l)},R=(e,t,n,r,o,i,a,s,c)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,a,c):M(t,n,r,o,i,a,c):I(e,t,c)},M=(e,t,n,r,o,i,a)=>{const s=e.component=Jo(e,r,o);if($n(e)&&(s.ctx.renderer=Y),oi(s),s.asyncDep){if(o&&o.registerDep(s,L),!e.el){const e=s.subTree=Co(ao);y(null,e,t,n)}}else L(s,e,t,n,o,i,a)},I=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!s||s&&s.$stable)||r!==a&&(r?!a||gn(r,a,u):!!a);if(1024&c)return!0;if(16&c)return r?gn(r,a,u):!!a;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!on(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,function(e){const t=ki.indexOf(e);t>Ei&&ki.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},L=(e,t,n,r,o,i,a)=>{const s=e.effect=new xe((()=>{if(e.isMounted){let t,{next:n,bu:r,u:s,parent:c,vnode:u}=e,l=n;0,Wr(e,!1),n?(n.el=u.el,B(e,n,a)):n=u,r&&te(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Lo(t,c,n,u),Wr(e,!0);const p=dn(e);0;const d=e.subTree;e.subTree=p,m(d,p,f(d.el),K(d),e,o,i),n.el=p.el,null===l&&yn(e,p.el),s&&$r(s,o),(t=n.props&&n.props.onVnodeUpdated)&&$r((()=>Lo(t,c,n,u)),o)}else{let a;const{el:s,props:c}=t,{bm:u,m:l,parent:f}=e,p=Ln(t);if(Wr(e,!1),u&&te(u),!p&&(a=c&&c.onVnodeBeforeMount)&&Lo(a,f,t),Wr(e,!0),s&&ne){const n=()=>{e.subTree=dn(e),ne(s,e.subTree,e,o,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const a=e.subTree=dn(e);0,m(null,a,n,r,e,o,i),t.el=a.el}if(l&&$r(l,o),!p&&(a=c&&c.onVnodeMounted)){const e=t;$r((()=>Lo(a,f,e)),o)}256&t.shapeFlag&&e.a&&$r(e.a,o),e.isMounted=!0,t=n=r=null}}),(()=>Ii(e.update)),e.scope),c=e.update=s.run.bind(s);c.id=e.uid,Wr(e,!0),c()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=At(o),[c]=e.propsOptions;let u=!1;if(!(r||a>0)||16&a){let r;yr(e,t,o,i)&&(u=!0);for(const i in s)t&&(P(t,i)||(r=X(i))!==i&&P(t,r))||(c?!n||void 0===n[i]&&void 0===n[r]||(o[i]=br(c,s,i,void 0,e,!0)):delete o[i]);if(i!==s)for(const e in i)t&&P(t,e)||(delete i[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let a=n[r];const l=t[a];if(c)if(P(i,a))l!==i[a]&&(i[a]=l,u=!0);else{const t=J(a);o[t]=br(c,s,t,l,e,!1)}else l!==i[a]&&(i[a]=l,u=!0)}}u&&Ve(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=x;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:(N(o,t),n||1!==e||delete o._):(i=!t.$stable,Or(t,o)),a=t}else t&&(Nr(e,t),a={default:1});if(i)for(const e in o)Er(e)||e in a||delete o[e]})(e,t.children,n),Oe(),$i(void 0,e.update),Ne()},F=(e,t,n,r,o,i,a,s,c=!1)=>{const u=e&&e.children,f=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void U(u,p,n,r,o,i,a,s,c);if(256&d)return void $(u,p,n,r,o,i,a,s,c)}8&h?(16&f&&G(u,o,i),p!==u&&l(n,p)):16&f?16&h?U(u,p,n,r,o,i,a,s,c):G(u,o,i,!0):(8&f&&l(n,""),16&h&&j(p,n,r,o,i,a,s,c))},$=(e,t,n,r,o,i,a,s,c)=>{t=t||S;const u=(e=e||S).length,l=t.length,f=Math.min(u,l);let p;for(p=0;p<f;p++){const r=t[p]=c?Ro(t[p]):Vo(t[p]);m(e[p],r,n,null,o,i,a,s,c)}u>l?G(e,o,i,!0,!1,f):j(t,n,r,o,i,a,s,c,f)},U=(e,t,n,r,o,i,a,s,c)=>{let u=0;const l=t.length;let f=e.length-1,p=l-1;for(;u<=f&&u<=p;){const r=e[u],l=t[u]=c?Ro(t[u]):Vo(t[u]);if(!_o(r,l))break;m(r,l,n,null,o,i,a,s,c),u++}for(;u<=f&&u<=p;){const r=e[f],u=t[p]=c?Ro(t[p]):Vo(t[p]);if(!_o(r,u))break;m(r,u,n,null,o,i,a,s,c),f--,p--}if(u>f){if(u<=p){const e=p+1,f=e<l?t[e].el:r;for(;u<=p;)m(null,t[u]=c?Ro(t[u]):Vo(t[u]),n,f,o,i,a,s,c),u++}}else if(u>p)for(;u<=f;)z(e[u],o,i,!0),u++;else{const d=u,h=u,v=new Map;for(u=h;u<=p;u++){const e=t[u]=c?Ro(t[u]):Vo(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const b=p-h+1;let _=!1,w=0;const x=new Array(b);for(u=0;u<b;u++)x[u]=0;for(u=d;u<=f;u++){const r=e[u];if(y>=b){z(r,o,i,!0);continue}let l;if(null!=r.key)l=v.get(r.key);else for(g=h;g<=p;g++)if(0===x[g-h]&&_o(r,t[g])){l=g;break}void 0===l?z(r,o,i,!0):(x[l-h]=u+1,l>=w?w=l:_=!0,m(r,t[l],n,null,o,i,a,s,c),y++)}const k=_?function(e){const t=e.slice(),n=[0];let r,o,i,a,s;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<c?i=s+1:a=s;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,a=n[i-1];for(;i-- >0;)n[i]=a,a=t[a];return n}(x):S;for(g=k.length-1,u=b-1;u>=0;u--){const e=h+u,f=t[e],p=e+1<l?t[e+1].el:r;0===x[u]?m(null,f,n,p,o,i,a,s,c):_&&(g<0||u!==k[g]?D(f,n,p,2):g--)}}},D=(e,t,n,o,i=null)=>{const{el:a,type:s,transition:c,children:u,shapeFlag:l}=e;if(6&l)return void D(e.component.subTree,t,n,o);if(128&l)return void e.suspense.move(t,n,o);if(64&l)return void s.move(e,t,n,Y);if(s===oo){r(a,t,n);for(let e=0;e<u.length;e++)D(u[e],t,n,o);return void r(e.anchor,t,n)}if(s===so)return void(({el:e,anchor:t},n,o)=>{let i;for(;e&&e!==t;)i=p(e),r(e,n,o),e=i;r(t,n,o)})(e,t,n);if(2!==o&&1&l&&c)if(0===o)c.beforeEnter(a),r(a,t,n),$r((()=>c.enter(a)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=c,s=()=>r(a,t,n),u=()=>{e(a,(()=>{s(),i&&i()}))};o?o(a,s,u):u()}else r(a,t,n)},z=(e,t,n,r=!1,o=!1)=>{const{type:i,props:a,ref:s,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:f,dirs:p}=e;if(null!=s&&Mr(s,null,n,e,!0),256&l)return void t.ctx.deactivate(e);const d=1&l&&p,h=!Ln(e);let v;if(h&&(v=a&&a.onVnodeBeforeUnmount)&&Lo(v,t,e),6&l)Z(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);d&&Tr(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,o,Y,r):u&&(i!==oo||f>0&&64&f)?G(u,t,n,!1,!0):(i===oo&&384&f||!o&&16&l)&&G(c,t,n),r&&W(e)}(h&&(v=a&&a.onVnodeUnmounted)||d)&&$r((()=>{v&&Lo(v,t,e),d&&Tr(e,null,t,"unmounted")}),n)},W=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===oo)return void H(n,r);if(t===so)return void _(e);const a=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},H=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:r,scope:o,update:i,subTree:a,um:s}=e;r&&te(r),o.stop(),i&&(i.active=!1,z(a,e,t,n)),s&&$r(s,t),$r((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,i=0)=>{for(let a=i;a<e.length;a++)z(e[a],t,n,r,o)},K=e=>6&e.shapeFlag?K(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&z(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),Ui(),t._vnode=e},Y={p:m,um:z,m:D,r:W,mt:M,mc:j,pc:F,pbc:A,n:K,o:e};let ee,ne;return t&&([ee,ne]=t(Y)),{render:Q,hydrate:ee,createApp:Rr(Q,ee)}}function Wr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hr(e,t,n=!1){const r=e.children,o=t.children;if(V(r)&&V(o))for(let e=0;e<r.length;e++){const t=r[e];let i=o[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=o[e]=Ro(o[e]),i.el=t.el),n||Hr(t,i))}}const qr=e=>e&&(e.disabled||""===e.disabled),Zr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Gr=(e,t)=>{const n=e&&e.to;if(B(n)){if(t){const e=t(n);return e}return null}return n};function Jr(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:c,children:u,props:l}=e,f=2===i;if(f&&r(a,t,n),(!f||qr(l))&&16&c)for(let e=0;e<u.length;e++)o(u[e],t,n,2);f&&r(s,t,n)}const Kr={__isTeleport:!0,process(e,t,n,r,o,i,a,s,c,u){const{mc:l,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:v,createComment:m}}=u,g=qr(t.props);let{shapeFlag:y,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=v(""),u=t.anchor=v("");d(e,n,r),d(u,n,r);const f=t.target=Gr(t.props,h),p=t.targetAnchor=v("");f&&(d(p,f),a=a||Zr(f));const m=(e,t)=>{16&y&&l(b,e,t,o,i,a,s,c)};g?m(n,u):f&&m(f,p)}else{t.el=e.el;const r=t.anchor=e.anchor,l=t.target=e.target,d=t.targetAnchor=e.targetAnchor,v=qr(e.props),m=v?n:l,y=v?r:d;if(a=a||Zr(l),_?(p(e.dynamicChildren,_,m,o,i,a,s),Hr(e,t,!0)):c||f(e,t,m,y,o,i,a,s,!1),g)v||Jr(t,n,r,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Gr(t.props,h);e&&Jr(t,e,null,u,0)}else v&&Jr(t,l,d,u,1)}},remove(e,t,n,r,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:c,anchor:u,targetAnchor:l,target:f,props:p}=e;if(f&&i(l),(a||!qr(p))&&(i(u),16&s))for(let e=0;e<c.length;e++){const r=c[e];o(r,t,n,!0,!!r.dynamicChildren)}},move:Jr,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:a,parentNode:s,querySelector:c}},u){const l=t.target=Gr(t.props,c);if(l){const c=l._lpa||l.firstChild;16&t.shapeFlag&&(qr(t.props)?(t.anchor=u(a(e),t,s(e),n,r,o,i),t.targetAnchor=c):(t.anchor=a(e),t.targetAnchor=u(c,t,l,n,r,o,i)),l._lpa=t.targetAnchor&&a(t.targetAnchor))}return t.anchor&&a(t.anchor)}},Xr="components";function Qr(e,t){return no(Xr,e,!0,t)||e}const Yr=Symbol();function eo(e){return B(e)?no(Xr,e,!1)||e:e||Yr}function to(e){return no("directives",e)}function no(e,t,n=!0,r=!1){const o=an||Ko;if(o){const n=o.type;if(e===Xr){const e=pi(n);if(e&&(e===t||e===J(t)||e===Q(J(t))))return n}const i=ro(o[e]||n[e],t)||ro(o.appContext[e],t);return!i&&r?n:i}}function ro(e,t){return e&&(e[t]||e[J(t)]||e[Q(J(t))])}const oo=Symbol(void 0),io=Symbol(void 0),ao=Symbol(void 0),so=Symbol(void 0),co=[];let uo=null;function lo(e=!1){co.push(uo=e?null:[])}function fo(){co.pop(),uo=co[co.length-1]||null}let po,ho=1;function vo(e){ho+=e}function mo(e){return e.dynamicChildren=ho>0?uo||S:null,fo(),ho>0&&uo&&uo.push(e),e}function go(e,t,n,r,o,i){return mo(Eo(e,t,n,r,o,i,!0))}function yo(e,t,n,r,o){return mo(Co(e,t,n,r,o,!0))}function bo(e){return!!e&&!0===e.__v_isVNode}function _o(e,t){return e.type===t.type&&e.key===t.key}function wo(e){po=e}const xo="__vInternal",So=({key:e})=>null!=e?e:null,ko=({ref:e,ref_key:t,ref_for:n})=>null!=e?B(e)||It(e)||L(e)?{i:an,r:e,k:t,f:!!n}:e:null;function Eo(e,t=null,n=null,r=0,o=null,i=(e===oo?0:1),a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&So(t),ref:t&&ko(t),scopeId:sn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return s?(Mo(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=B(n)?8:16),ho>0&&!a&&uo&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&uo.push(c),c}const Co=jo;function jo(e,t=null,n=null,r=0,o=null,i=!1){if(e&&e!==Yr||(e=ao),bo(e)){const r=No(e,t,!0);return n&&Mo(r,n),r}if(hi(e)&&(e=e.__vccOpts),t){t=Oo(t);let{class:e,style:n}=t;e&&!B(e)&&(t.class=d(e)),$(n)&&(Nt(n)&&!V(n)&&(n=N({},n)),t.style=u(n))}return Eo(e,t,n,r,o,B(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:$(e)?4:L(e)?2:0,i,!0)}function Oo(e){return e?Nt(e)||xo in e?N({},e):e:null}function No(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?Io(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&So(s),ref:t&&t.ref?n&&o?V(o)?o.concat(ko(t)):[o,ko(t)]:ko(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==oo?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&No(e.ssContent),ssFallback:e.ssFallback&&No(e.ssFallback),el:e.el,anchor:e.anchor}}function Ao(e=" ",t=0){return Co(io,null,e,t)}function To(e,t){const n=Co(so,null,e);return n.staticCount=t,n}function Po(e="",t=!1){return t?(lo(),yo(ao,null,e)):Co(ao,null,e)}function Vo(e){return null==e||"boolean"==typeof e?Co(ao):V(e)?Co(oo,null,e.slice()):"object"==typeof e?Ro(e):Co(io,null,String(e))}function Ro(e){return null===e.el||e.memo?e:No(e)}function Mo(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(V(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Mo(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||xo in t?3===r&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else L(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&r?(n=16,t=[Ao(t)]):n=8);e.children=t,e.shapeFlag|=n}function Io(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=d([t.class,r.class]));else if("style"===e)t.style=u([t.style,r.style]);else if(j(e)){const n=t[e],o=r[e];n===o||V(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function Lo(e,t,n,r=null){_i(e,t,7,[n,r])}function Bo(e,t,n,r){let o;const i=n&&n[r];if(V(e)||B(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){0,o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if($(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=t(e[a],a,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function Fo(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(V(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.fn)}return e}function $o(e,t,n={},r,o){if(an.isCE)return Co("slot","default"===t?null:{name:t},r&&r());let i=e[t];i&&i._c&&(i._d=!1),lo();const a=i&&Uo(i(n)),s=yo(oo,{key:n.key||`_${t}`},a||(r?r():[]),a&&1===e._?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Uo(e){return e.some((e=>!bo(e)||e.type!==ao&&!(e.type===oo&&!Uo(e.children))))?e:null}function Do(e){const t={};for(const n in e)t[Y(n)]=e[n];return t}const zo=e=>e?ei(e)?li(e)||e.proxy:zo(e.parent):null,Wo=N(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>zo(e.parent),$root:e=>zo(e.root),$emit:e=>e.emit,$options:e=>fr(e),$forceUpdate:e=>()=>Ii(e.update),$nextTick:e=>Mi.bind(e.proxy),$watch:e=>Ki.bind(e)}),Ho={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=e;let u;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(r!==x&&P(r,t))return a[t]=1,r[t];if(o!==x&&P(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&P(u,t))return a[t]=3,i[t];if(n!==x&&P(n,t))return a[t]=4,n[t];sr&&(a[t]=0)}}const l=Wo[t];let f,p;return l?("$attrs"===t&&Ae(e,0,t),l(e)):(f=s.__cssModules)&&(f=f[t])?f:n!==x&&P(n,t)?(a[t]=4,n[t]):(p=c.config.globalProperties,P(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;if(o!==x&&P(o,t))o[t]=n;else if(r!==x&&P(r,t))r[t]=n;else if(P(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==x&&P(e,a)||t!==x&&P(t,a)||(s=i[0])&&P(s,a)||P(r,a)||P(Wo,a)||P(o.config.globalProperties,a)}};const qo=N({},Ho,{get(e,t){if(t!==Symbol.unscopables)return Ho.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!i(t)});const Zo=Pr();let Go=0;function Jo(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Zo,i={uid:Go++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:_r(r,o),emitsOptions:rn(r,o),emit:null,emitted:null,propsDefaults:x,inheritAttrs:r.inheritAttrs,ctx:x,data:x,props:x,attrs:x,slots:x,refs:x,setupState:x,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=nn.bind(null,i),e.ce&&e.ce(i),i}let Ko=null;const Xo=()=>Ko||an,Qo=e=>{Ko=e,e.scope.on()},Yo=()=>{Ko&&Ko.scope.off(),Ko=null};function ei(e){return 4&e.vnode.shapeFlag}let ti,ni,ri=!1;function oi(e,t=!1){ri=t;const{props:n,children:r}=e.vnode,o=ei(e);!function(e,t,n,r=!1){const o={},i={};ne(i,xo,1),e.propsDefaults=Object.create(null),yr(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:St(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=At(t),ne(t,"_",n)):Or(t,e.slots={})}else e.slots={},t&&Nr(e,t);ne(e.slots,xo,1)})(e,r);const i=o?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Tt(new Proxy(e.ctx,Ho)),!1;const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?ui(e):null;Qo(e),Oe();const o=bi(r,e,0,[e.props,n]);if(Ne(),Yo(),U(o)){if(o.then(Yo,Yo),t)return o.then((n=>{ii(e,n,t)})).catch((t=>{wi(t,e,0)}));e.asyncDep=o}else ii(e,o,t)}else ci(e,t)}(e,t):void 0;return ri=!1,i}function ii(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$(t)&&(e.setupState=Wt(t)),ci(e,n)}function ai(e){ti=e,ni=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,qo))}}const si=()=>!ti;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&ti&&!r.render){const t=r.template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,s=N(N({isCustomElement:n,delimiters:i},o),a);r.render=ti(t,s)}}e.render=r.render||k,ni&&ni(e)}Qo(e),Oe(),cr(e),Ne(),Yo()}function ui(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Ae(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function li(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wt(Tt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Wo?Wo[n](e):void 0}))}const fi=/(?:^|[-_])(\w)/g;function pi(e){return L(e)&&e.displayName||e.name}function di(e,t,n=!1){let r=pi(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(fi,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function hi(e){return L(e)&&"__vccOpts"in e}const vi=[];function mi(e,...t){Oe();const n=vi.length?vi[vi.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=vi[vi.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)bi(r,n,11,[e+t.join(""),n&&n.proxy,o.map((({vnode:e})=>`at <${di(n,e.type)}>`)).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${di(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...gi(e.props),i]:[o+i]}(e))})),t}(o)),console.warn(...n)}Ne()}function gi(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...yi(n,e[n]))})),n.length>3&&t.push(" ..."),t}function yi(e,t,n){return B(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:It(t)?(t=yi(e,At(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),n?t:[`${e}=`,t])}function bi(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){wi(e,t,n)}return o}function _i(e,t,n,r){if(L(e)){const o=bi(e,t,n,r);return o&&U(o)&&o.catch((e=>{wi(e,t,n)})),o}const o=[];for(let i=0;i<e.length;i++)o.push(_i(e[i],t,n,r));return o}function wi(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,i=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,i))return;r=r.parent}const a=t.appContext.config.errorHandler;if(a)return void bi(a,null,10,[e,o,i])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let xi=!1,Si=!1;const ki=[];let Ei=0;const Ci=[];let ji=null,Oi=0;const Ni=[];let Ai=null,Ti=0;const Pi=Promise.resolve();let Vi=null,Ri=null;function Mi(e){const t=Vi||Pi;return e?t.then(this?e.bind(this):e):t}function Ii(e){ki.length&&ki.includes(e,xi&&e.allowRecurse?Ei+1:Ei)||e===Ri||(null==e.id?ki.push(e):ki.splice(function(e){let t=Ei+1,n=ki.length;for(;t<n;){const r=t+n>>>1;Di(ki[r])<e?t=r+1:n=r}return t}(e.id),0,e),Li())}function Li(){xi||Si||(Si=!0,Vi=Pi.then(zi))}function Bi(e,t,n,r){V(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),Li()}function Fi(e){Bi(e,Ai,Ni,Ti)}function $i(e,t=null){if(Ci.length){for(Ri=t,ji=[...new Set(Ci)],Ci.length=0,Oi=0;Oi<ji.length;Oi++)ji[Oi]();ji=null,Oi=0,Ri=null,$i(e,t)}}function Ui(e){if(Ni.length){const e=[...new Set(Ni)];if(Ni.length=0,Ai)return void Ai.push(...e);for(Ai=e,Ai.sort(((e,t)=>Di(e)-Di(t))),Ti=0;Ti<Ai.length;Ti++)Ai[Ti]();Ai=null,Ti=0}}const Di=e=>null==e.id?1/0:e.id;function zi(e){Si=!1,xi=!0,$i(e),ki.sort(((e,t)=>Di(e)-Di(t)));try{for(Ei=0;Ei<ki.length;Ei++){const e=ki[Ei];e&&!1!==e.active&&bi(e,null,14)}}finally{Ei=0,ki.length=0,Ui(),xi=!1,Vi=null,(ki.length||Ci.length||Ni.length)&&zi(e)}}function Wi(e,t){return Ji(e,null,t)}function Hi(e,t){return Ji(e,null,{flush:"post"})}function qi(e,t){return Ji(e,null,{flush:"sync"})}const Zi={};function Gi(e,t,n){return Ji(e,t,n)}function Ji(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:a}=x){const s=Ko;let c,u,l=!1,f=!1;if(It(e)?(c=()=>e.value,l=!!e._shallow):jt(e)?(c=()=>e,r=!0):V(e)?(f=!0,l=e.some(jt),c=()=>e.map((e=>It(e)?e.value:jt(e)?Qi(e):L(e)?bi(e,s,2):void 0))):c=L(e)?t?()=>bi(e,s,2):()=>{if(!s||!s.isUnmounted)return u&&u(),_i(e,s,3,[p])}:k,t&&r){const e=c;c=()=>Qi(e())}let p=e=>{u=m.onStop=()=>{bi(e,s,4)}};if(ri)return p=k,t?n&&_i(t,s,3,[c(),f?[]:void 0,p]):c(),k;let d=f?[]:Zi;const h=()=>{if(m.active)if(t){const e=m.run();(r||l||(f?e.some(((e,t)=>ee(e,d[t]))):ee(e,d)))&&(u&&u(),_i(t,s,3,[e,d===Zi?void 0:d,p]),d=e)}else m.run()};let v;h.allowRecurse=!!t,v="sync"===o?h:"post"===o?()=>$r(h,s&&s.suspense):()=>{!s||s.isMounted?function(e){Bi(e,ji,Ci,Oi)}(h):h()};const m=new xe(c,v);return t?n?h():d=m.run():"post"===o?$r(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&A(s.scope.effects,m)}}function Ki(e,t,n){const r=this.proxy,o=B(e)?e.includes(".")?Xi(r,e):()=>r[e]:e.bind(r,r);let i;L(t)?i=t:(i=t.handler,n=t);const a=Ko;Qo(this);const s=Ji(o,i.bind(r),n);return a?Qo(a):Yo(),s}function Xi(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Qi(e,t){if(!$(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),It(e))Qi(e.value,t);else if(V(e))for(let n=0;n<e.length;n++)Qi(e[n],t);else if(M(e)||R(e))e.forEach((e=>{Qi(e,t)}));else if(W(e))for(const n in e)Qi(e[n],t);return e}function Yi(){return null}function ea(){return null}function ta(e){0}function na(e,t){return null}function ra(){return ia().slots}function oa(){return ia().attrs}function ia(){const e=Xo();return e.setupContext||(e.setupContext=ui(e))}function aa(e,t){const n=V(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const r=n[e];r?V(r)||L(r)?n[e]={type:r,default:t[e]}:r.default=t[e]:null===r&&(n[e]={default:t[e]})}return n}function sa(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ca(e){const t=Xo();let n=e();return Yo(),U(n)&&(n=n.catch((e=>{throw Qo(t),e}))),[n,()=>Qo(t)]}function ua(e,t,n){const r=arguments.length;return 2===r?$(t)&&!V(t)?bo(t)?Co(e,null,[t]):Co(e,t):Co(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&bo(n)&&(n=[n]),Co(e,t,n))}const la=Symbol(""),fa=()=>{{const e=Cn(la);return e||mi("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function pa(){return void 0}function da(e,t,n,r){const o=n[r];if(o&&ha(o,e))return o;const i=t();return i.memo=e.slice(),n[r]=i}function ha(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return ho>0&&uo&&uo.push(e),!0}const va="3.2.26",ma={createComponentInstance:Jo,setupComponent:oi,renderComponentRoot:dn,setCurrentRenderingInstance:cn,isVNode:bo,normalizeVNode:Vo},ga=null,ya=null,ba="undefined"!=typeof document?document:null,_a=new Map,wa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?ba.createElementNS("http://www.w3.org/2000/svg",e):ba.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>ba.createTextNode(e),createComment:e=>ba.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ba.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r){const o=n?n.previousSibling:t.lastChild;let i=_a.get(e);if(!i){const t=ba.createElement("template");if(t.innerHTML=r?`<svg>${e}</svg>`:e,i=t.content,r){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}_a.set(e,i)}return t.insertBefore(i.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const xa=/\s*!important$/;function Sa(e,t,n){if(V(n))n.forEach((n=>Sa(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Ea[t];if(n)return n;let r=J(t);if("filter"!==r&&r in e)return Ea[t]=r;r=Q(r);for(let n=0;n<ka.length;n++){const o=ka[n]+r;if(o in e)return Ea[t]=o}return t}(e,t);xa.test(n)?e.setProperty(X(r),n.replace(xa,""),"important"):e[r]=n}}const ka=["Webkit","Moz","ms"],Ea={};const Ca="http://www.w3.org/1999/xlink";let ja=Date.now,Oa=!1;if("undefined"!=typeof window){ja()>document.createEvent("Event").timeStamp&&(ja=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Oa=!!(e&&Number(e[1])<=53)}let Na=0;const Aa=Promise.resolve(),Ta=()=>{Na=0};function Pa(e,t,n,r){e.addEventListener(t,n,r)}function Va(e,t,n,r,o=null){const i=e._vei||(e._vei={}),a=i[t];if(r&&a)a.value=r;else{const[n,s]=function(e){let t;if(Ra.test(e)){let n;for(t={};n=e.match(Ra);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[X(e.slice(2)),t]}(t);if(r){const a=i[t]=function(e,t){const n=e=>{const r=e.timeStamp||ja();(Oa||r>=n.attached-1)&&_i(function(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Na||(Aa.then(Ta),Na=ja()))(),n}(r,o);Pa(e,n,a,s)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),i[t]=void 0)}}const Ra=/(?:Once|Passive|Capture)$/;const Ma=/^on[a-z]/;function Ia(e,t){const n=In(e);class r extends Fa{constructor(e){super(n,e,t)}}return r.def=n,r}const La=e=>Ia(e,$s),Ba="undefined"!=typeof HTMLElement?HTMLElement:class{};class Fa extends Ba{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Mi((()=>{this._connected||(Fs(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,r=!V(t),o=t?r?Object.keys(t):t:[];let i;if(r)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=re(this._props[e]),(i||(i=Object.create(null)))[e]=!0)}this._numberProps=i;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of o.map(J))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=re(t)),this._setProp(J(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!0){t!==this._props[e]&&(this._props[e]=t,r&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(X(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(X(e),t+""):t||this.removeAttribute(X(e))))}_update(){Fs(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Co(this._def,N({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Fa){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function $a(e="$style"){{const t=Xo();if(!t)return x;const n=t.type.__cssModules;if(!n)return x;const r=n[e];return r||x}}function Ua(e){const t=Xo();if(!t)return;const n=()=>Da(t.subTree,e(t.proxy));Hi(n),Qn((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),nr((()=>e.disconnect()))}))}function Da(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Da(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)za(e.el,t);else if(e.type===oo)e.children.forEach((e=>Da(e,t)));else if(e.type===so){let{el:n,anchor:r}=e;for(;n&&(za(n,t),n!==r);)n=n.nextSibling}}function za(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Wa="transition",Ha="animation",qa=(e,{slots:t})=>ua(Nn,Xa(e),t);qa.displayName="Transition";const Za={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ga=qa.props=N({},Nn.props,Za),Ja=(e,t=[])=>{V(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ka=e=>!!e&&(V(e)?e.some((e=>e.length>1)):e.length>1);function Xa(e){const t={};for(const n in e)n in Za||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=a,appearToClass:l=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if($(e))return[Qa(e.enter),Qa(e.leave)];{const t=Qa(e);return[t,t]}}(o),v=h&&h[0],m=h&&h[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:b,onLeave:_,onLeaveCancelled:w,onBeforeAppear:x=g,onAppear:S=y,onAppearCancelled:k=b}=t,E=(e,t,n)=>{es(e,t?l:s),es(e,t?u:a),n&&n()},C=(e,t)=>{es(e,d),es(e,p),t&&t()},j=e=>(t,n)=>{const o=e?S:y,a=()=>E(t,e,n);Ja(o,[t,a]),ts((()=>{es(t,e?c:i),Ya(t,e?l:s),Ka(o)||rs(t,r,v,a)}))};return N(t,{onBeforeEnter(e){Ja(g,[e]),Ya(e,i),Ya(e,a)},onBeforeAppear(e){Ja(x,[e]),Ya(e,c),Ya(e,u)},onEnter:j(!1),onAppear:j(!0),onLeave(e,t){const n=()=>C(e,t);Ya(e,f),ss(),Ya(e,p),ts((()=>{es(e,f),Ya(e,d),Ka(_)||rs(e,r,m,n)})),Ja(_,[e,n])},onEnterCancelled(e){E(e,!1),Ja(b,[e])},onAppearCancelled(e){E(e,!0),Ja(k,[e])},onLeaveCancelled(e){C(e),Ja(w,[e])}})}function Qa(e){return re(e)}function Ya(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function es(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ts(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ns=0;function rs(e,t,n,r){const o=e._endId=++ns,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:c}=os(e,t);if(!a)return r();const u=a+"end";let l=0;const f=()=>{e.removeEventListener(u,p),i()},p=t=>{t.target===e&&++l>=c&&f()};setTimeout((()=>{l<c&&f()}),s+1),e.addEventListener(u,p)}function os(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),i=r("transitionDuration"),a=is(o,i),s=r("animationDelay"),c=r("animationDuration"),u=is(s,c);let l=null,f=0,p=0;t===Wa?a>0&&(l=Wa,f=a,p=i.length):t===Ha?u>0&&(l=Ha,f=u,p=c.length):(f=Math.max(a,u),l=f>0?a>u?Wa:Ha:null,p=l?l===Wa?i.length:c.length:0);return{type:l,timeout:f,propCount:p,hasTransform:l===Wa&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function is(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>as(t)+as(e[n]))))}function as(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ss(){return document.body.offsetHeight}const cs=new WeakMap,us=new WeakMap,ls={name:"TransitionGroup",props:N({},Ga,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Xo(),r=jn();let o,i;return er((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=os(r);return o.removeChild(r),i}(o[0].el,n.vnode.el,t))return;o.forEach(fs),o.forEach(ps);const r=o.filter(ds);ss(),r.forEach((e=>{const n=e.el,r=n.style;Ya(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,es(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const a=At(e),s=Xa(a);let c=a.tag||oo;o=i,i=t.default?Mn(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&Rn(t,Tn(t,s,r,n))}if(o)for(let e=0;e<o.length;e++){const t=o[e];Rn(t,Tn(t,s,r,n)),cs.set(t,t.el.getBoundingClientRect())}return Co(c,null,i)}}};function fs(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function ps(e){us.set(e,e.el.getBoundingClientRect())}function ds(e){const t=cs.get(e),n=us.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s",e}}const hs=e=>{const t=e.props["onUpdate:modelValue"];return V(t)?e=>te(t,e):t};function vs(e){e.target.composing=!0}function ms(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const gs={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=hs(o);const i=r||o.props&&"number"===o.props.type;Pa(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n?r=r.trim():i&&(r=re(r)),e._assign(r)})),n&&Pa(e,"change",(()=>{e.value=e.value.trim()})),t||(Pa(e,"compositionstart",vs),Pa(e,"compositionend",ms),Pa(e,"change",ms))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e._assign=hs(i),e.composing)return;if(document.activeElement===e){if(n)return;if(r&&e.value.trim()===t)return;if((o||"number"===e.type)&&re(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},ys={deep:!0,created(e,t,n){e._assign=hs(n),Pa(e,"change",(()=>{const t=e._modelValue,n=Ss(e),r=e.checked,o=e._assign;if(V(t)){const e=b(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(M(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(ks(e,r))}))},mounted:bs,beforeUpdate(e,t,n){e._assign=hs(n),bs(e,t,n)}};function bs(e,{value:t,oldValue:n},r){e._modelValue=t,V(t)?e.checked=b(t,r.props.value)>-1:M(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=y(t,ks(e,!0)))}const _s={created(e,{value:t},n){e.checked=y(t,n.props.value),e._assign=hs(n),Pa(e,"change",(()=>{e._assign(Ss(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=hs(r),t!==n&&(e.checked=y(t,r.props.value))}},ws={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=M(t);Pa(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?re(Ss(e)):Ss(e)));e._assign(e.multiple?o?new Set(t):t:t[0])})),e._assign=hs(r)},mounted(e,{value:t}){xs(e,t)},beforeUpdate(e,t,n){e._assign=hs(n)},updated(e,{value:t}){xs(e,t)}};function xs(e,t){const n=e.multiple;if(!n||V(t)||M(t)){for(let r=0,o=e.options.length;r<o;r++){const o=e.options[r],i=Ss(o);if(n)V(t)?o.selected=b(t,i)>-1:o.selected=t.has(i);else if(y(Ss(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ss(e){return"_value"in e?e._value:e.value}function ks(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Es={created(e,t,n){Cs(e,t,n,null,"created")},mounted(e,t,n){Cs(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Cs(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Cs(e,t,n,r,"updated")}};function Cs(e,t,n,r,o){let i;switch(e.tagName){case"SELECT":i=ws;break;case"TEXTAREA":i=gs;break;default:switch(n.props&&n.props.type){case"checkbox":i=ys;break;case"radio":i=_s;break;default:i=gs}}const a=i[o];a&&a(e,t,n,r)}const js=["ctrl","shift","alt","meta"],Os={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>js.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ns=(e,t)=>(n,...r)=>{for(let e=0;e<t.length;e++){const r=Os[t[e]];if(r&&r(n,t))return}return e(n,...r)},As={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ts=(e,t)=>n=>{if(!("key"in n))return;const r=X(n.key);return t.some((e=>e===r||As[e]===r))?e(n):void 0},Ps={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Vs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Vs(e,!0),r.enter(e)):r.leave(e,(()=>{Vs(e,!1)})):Vs(e,t))},beforeUnmount(e,{value:t}){Vs(e,t)}};function Vs(e,t){e.style.display=t?e._vod:"none"}const Rs=N({patchProp:(e,t,n,r,o=!1,i,a,u,l)=>{"class"===t?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,o):"style"===t?function(e,t,n){const r=e.style,o=B(n);if(n&&!o){for(const e in n)Sa(r,e,n[e]);if(t&&!B(t))for(const e in t)null==n[e]&&Sa(r,e,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}(e,n,r):j(t)?O(t)||Va(e,t,0,r,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ma.test(t)&&L(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Ma.test(t)&&B(n))return!1;return t in e}(e,t,r,o))?function(e,t,n,r,o,i,a){if("innerHTML"===t||"textContent"===t)return r&&a(r,o,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const r=typeof e[t];if("boolean"===r)return void(e[t]=c(n));if(null==n&&"string"===r)return e[t]="",void e.removeAttribute(t);if("number"===r){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,t,r,i,a,u,l):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ca,t.slice(6,t.length)):e.setAttributeNS(Ca,t,n);else{const r=s(t);null==n||r&&!c(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,o))}},wa);let Ms,Is=!1;function Ls(){return Ms||(Ms=Ur(Rs))}function Bs(){return Ms=Is?Ms:Dr(Rs),Is=!0,Ms}const Fs=(...e)=>{Ls().render(...e)},$s=(...e)=>{Bs().hydrate(...e)},Us=(...e)=>{const t=Ls().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=zs(e);if(!r)return;const o=t._component;L(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},Ds=(...e)=>{const t=Bs().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=zs(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function zs(e){if(B(e)){return document.querySelector(e)}return e}let Ws=!1;const Hs=()=>{Ws||(Ws=!0,gs.getSSRProps=({value:e})=>({value:e}),_s.getSSRProps=({value:e},t)=>{if(t.props&&y(t.props.value,e))return{checked:!0}},ys.getSSRProps=({value:e},t)=>{if(V(e)){if(t.props&&b(e,t.props.value)>-1)return{checked:!0}}else if(M(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ps.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})};function qs(e){throw e}function Zs(e){}function Gs(e,t,n,r){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const Js=Symbol(""),Ks=Symbol(""),Xs=Symbol(""),Qs=Symbol(""),Ys=Symbol(""),ec=Symbol(""),tc=Symbol(""),nc=Symbol(""),rc=Symbol(""),oc=Symbol(""),ic=Symbol(""),ac=Symbol(""),sc=Symbol(""),cc=Symbol(""),uc=Symbol(""),lc=Symbol(""),fc=Symbol(""),pc=Symbol(""),dc=Symbol(""),hc=Symbol(""),vc=Symbol(""),mc=Symbol(""),gc=Symbol(""),yc=Symbol(""),bc=Symbol(""),_c=Symbol(""),wc=Symbol(""),xc=Symbol(""),Sc=Symbol(""),kc=Symbol(""),Ec=Symbol(""),Cc=Symbol(""),jc=Symbol(""),Oc=Symbol(""),Nc=Symbol(""),Ac=Symbol(""),Tc=Symbol(""),Pc=Symbol(""),Vc=Symbol(""),Rc={[Js]:"Fragment",[Ks]:"Teleport",[Xs]:"Suspense",[Qs]:"KeepAlive",[Ys]:"BaseTransition",[ec]:"openBlock",[tc]:"createBlock",[nc]:"createElementBlock",[rc]:"createVNode",[oc]:"createElementVNode",[ic]:"createCommentVNode",[ac]:"createTextVNode",[sc]:"createStaticVNode",[cc]:"resolveComponent",[uc]:"resolveDynamicComponent",[lc]:"resolveDirective",[fc]:"resolveFilter",[pc]:"withDirectives",[dc]:"renderList",[hc]:"renderSlot",[vc]:"createSlots",[mc]:"toDisplayString",[gc]:"mergeProps",[yc]:"normalizeClass",[bc]:"normalizeStyle",[_c]:"normalizeProps",[wc]:"guardReactiveProps",[xc]:"toHandlers",[Sc]:"camelize",[kc]:"capitalize",[Ec]:"toHandlerKey",[Cc]:"setBlockTracking",[jc]:"pushScopeId",[Oc]:"popScopeId",[Nc]:"withCtx",[Ac]:"unref",[Tc]:"isRef",[Pc]:"withMemo",[Vc]:"isMemoSame"};const Mc={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ic(e,t,n,r,o,i,a,s=!1,c=!1,u=!1,l=Mc){return e&&(s?(e.helper(ec),e.helper(fu(e.inSSR,u))):e.helper(lu(e.inSSR,u)),a&&e.helper(pc)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:i,directives:a,isBlock:s,disableTracking:c,isComponent:u,loc:l}}function Lc(e,t=Mc){return{type:17,loc:t,elements:e}}function Bc(e,t=Mc){return{type:15,loc:t,properties:e}}function Fc(e,t){return{type:16,loc:Mc,key:B(e)?$c(e,!0):e,value:t}}function $c(e,t=!1,n=Mc,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Uc(e,t=Mc){return{type:8,loc:t,children:e}}function Dc(e,t=[],n=Mc){return{type:14,loc:n,callee:e,arguments:t}}function zc(e,t,n=!1,r=!1,o=Mc){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function Wc(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Mc}}const Hc=e=>4===e.type&&e.isStatic,qc=(e,t)=>e===t||e===X(t);function Zc(e){return qc(e,"Teleport")?Ks:qc(e,"Suspense")?Xs:qc(e,"KeepAlive")?Qs:qc(e,"BaseTransition")?Ys:void 0}const Gc=/^\d|[^\$\w]/,Jc=e=>!Gc.test(e),Kc=/[A-Za-z_$\xA0-\uFFFF]/,Xc=/[\.\?\w$\xA0-\uFFFF]/,Qc=/\s+[.[]\s*|\s*[.[]\s+/g,Yc=e=>{e=e.trim().replace(Qc,(e=>e.trim()));let t=0,n=[],r=0,o=0,i=null;for(let a=0;a<e.length;a++){const s=e.charAt(a);switch(t){case 0:if("["===s)n.push(t),t=1,r++;else if("("===s)n.push(t),t=2,o++;else if(!(0===a?Kc:Xc).test(s))return!1;break;case 1:"'"===s||'"'===s||"`"===s?(n.push(t),t=3,i=s):"["===s?r++:"]"===s&&(--r||(t=n.pop()));break;case 2:if("'"===s||'"'===s||"`"===s)n.push(t),t=3,i=s;else if("("===s)o++;else if(")"===s){if(a===e.length-1)return!1;--o||(t=n.pop())}break;case 3:s===i&&(t=n.pop(),i=null)}}return!r&&!o};function eu(e,t,n){const r={source:e.source.slice(t,t+n),start:tu(e.start,e.source,t),end:e.end};return null!=n&&(r.end=tu(e.start,e.source,t+n)),r}function tu(e,t,n=t.length){return nu(N({},e),t,n)}function nu(e,t,n=t.length){let r=0,o=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,o=e);return e.offset+=n,e.line+=r,e.column=-1===o?e.column+n:n-o,e}function ru(e,t,n=!1){for(let r=0;r<e.props.length;r++){const o=e.props[r];if(7===o.type&&(n||o.exp)&&(B(t)?o.name===t:t.test(o.name)))return o}}function ou(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||r))return i}else if("bind"===i.name&&(i.exp||r)&&iu(i.arg,t))return i}}function iu(e,t){return!(!e||!Hc(e)||e.content!==t)}function au(e){return 5===e.type||2===e.type}function su(e){return 7===e.type&&"slot"===e.name}function cu(e){return 1===e.type&&3===e.tagType}function uu(e){return 1===e.type&&2===e.tagType}function lu(e,t){return e||t?rc:oc}function fu(e,t){return e||t?tc:nc}const pu=new Set([_c,wc]);function du(e,t=[]){if(e&&!B(e)&&14===e.type){const n=e.callee;if(!B(n)&&pu.has(n))return du(e.arguments[0],t.concat(e))}return[e,t]}function hu(e,t,n){let r,o,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!B(i)&&14===i.type){const e=du(i);i=e[0],a=e[1],o=a[a.length-1]}if(null==i||B(i))r=Bc([t]);else if(14===i.type){const e=i.arguments[0];B(e)||15!==e.type?i.callee===xc?r=Dc(n.helper(gc),[Bc([t]),i]):i.arguments.unshift(Bc([t])):e.properties.unshift(t),!r&&(r=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===n))}e||i.properties.unshift(t),r=i}else r=Dc(n.helper(gc),[Bc([t]),i]),o&&o.callee===wc&&(o=a[a.length-2]);13===e.type?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function vu(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function mu(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(lu(r,e.isComponent)),t(ec),t(fu(r,e.isComponent)))}function gu(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return"MODE"===e?r||3:r}function yu(e,t){const n=gu("MODE",t),r=gu(e,t);return 3===n?!0===r:!1!==r}function bu(e,t,n,...r){return yu(e,t)}const _u=/&(gt|lt|amp|apos|quot);/g,wu={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},xu={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:E,isPreTag:E,isCustomElement:E,decodeEntities:e=>e.replace(_u,((e,t)=>wu[t])),onError:qs,onWarn:Zs,comments:!1};function Su(e,t={}){const n=function(e,t){const n=N({},xu);let r;for(r in t)n[r]=void 0===t[r]?xu[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),r=Lu(n);return function(e,t=Mc){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(ku(n,0,[]),Bu(n,r))}function ku(e,t,n){const r=Fu(n),o=r?r.ns:0,i=[];for(;!Hu(e,t,n);){const a=e.source;let s;if(0===t||1===t)if(!e.inVPre&&$u(a,e.options.delimiters[0]))s=Ru(e,t);else if(0===t&&"<"===a[0])if(1===a.length)Wu(e,5,1);else if("!"===a[1])$u(a,"\x3c!--")?s=ju(e):$u(a,"<!DOCTYPE")?s=Ou(e):$u(a,"<![CDATA[")?0!==o?s=Cu(e,n):(Wu(e,1),s=Ou(e)):(Wu(e,11),s=Ou(e));else if("/"===a[1])if(2===a.length)Wu(e,5,2);else{if(">"===a[2]){Wu(e,14,2),Uu(e,3);continue}if(/[a-z]/i.test(a[2])){Wu(e,23),Tu(e,1,r);continue}Wu(e,12,2),s=Ou(e)}else/[a-z]/i.test(a[1])?(s=Nu(e,n),yu("COMPILER_NATIVE_TEMPLATE",e)&&s&&"template"===s.tag&&!s.props.some((e=>7===e.type&&Au(e.name)))&&(s=s.children)):"?"===a[1]?(Wu(e,21,1),s=Ou(e)):Wu(e,12,1);if(s||(s=Mu(e,t)),V(s))for(let e=0;e<s.length;e++)Eu(i,s[e]);else Eu(i,s)}let a=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<i.length;n++){const r=i[n];if(e.inPre||2!==r.type)3!==r.type||e.options.comments||(a=!0,i[n]=null);else if(/[^\t\r\n\f ]/.test(r.content))t&&(r.content=r.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[n-1],o=i[n+1];!e||!o||t&&(3===e.type||3===o.type||1===e.type&&1===o.type&&/[\r\n]/.test(r.content))?(a=!0,i[n]=null):r.content=" "}}if(e.inPre&&r&&e.options.isPreTag(r.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?i.filter(Boolean):i}function Eu(e,t){if(2===t.type){const n=Fu(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Cu(e,t){Uu(e,9);const n=ku(e,3,t);return 0===e.source.length?Wu(e,6):Uu(e,3),n}function ju(e){const t=Lu(e);let n;const r=/--(\!)?>/.exec(e.source);if(r){r.index<=3&&Wu(e,0),r[1]&&Wu(e,10),n=e.source.slice(4,r.index);const t=e.source.slice(0,r.index);let o=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",o));)Uu(e,i-o+1),i+4<t.length&&Wu(e,16),o=i+1;Uu(e,r.index+r[0].length-o+1)}else n=e.source.slice(4),Uu(e,e.source.length),Wu(e,7);return{type:3,content:n,loc:Bu(e,t)}}function Ou(e){const t=Lu(e),n="?"===e.source[1]?1:2;let r;const o=e.source.indexOf(">");return-1===o?(r=e.source.slice(n),Uu(e,e.source.length)):(r=e.source.slice(n,o),Uu(e,o+1)),{type:3,content:r,loc:Bu(e,t)}}function Nu(e,t){const n=e.inPre,r=e.inVPre,o=Fu(t),i=Tu(e,0,o),a=e.inPre&&!n,s=e.inVPre&&!r;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return a&&(e.inPre=!1),s&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,o),u=ku(e,c,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&bu("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=Bu(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=u,qu(e.source,i.tag))Tu(e,1,o);else if(Wu(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=u[0];t&&$u(t.loc.source,"\x3c!--")&&Wu(e,8)}return i.loc=Bu(e,i.loc.start),a&&(e.inPre=!1),s&&(e.inVPre=!1),i}const Au=o("if,else,else-if,for,slot");function Tu(e,t,n){const r=Lu(e),o=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=o[1],a=e.options.getNamespace(i,n);Uu(e,o[0].length),Du(e);const s=Lu(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let u=Pu(e,t);0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,N(e,s),e.source=c,u=Pu(e,t).filter((e=>"v-pre"!==e.name)));let l=!1;if(0===e.source.length?Wu(e,9):(l=$u(e.source,"/>"),1===t&&l&&Wu(e,4),Uu(e,l?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===i?f=2:"template"===i?u.some((e=>7===e.type&&Au(e.name)))&&(f=3):function(e,t,n){const r=n.options;if(r.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Zc(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(bu("COMPILER_IS_ON_ELEMENT",n,r.loc))return!0}}else{if("is"===r.name)return!0;if("bind"===r.name&&iu(r.arg,"is")&&bu("COMPILER_IS_ON_ELEMENT",n,r.loc))return!0}}}(i,u,e)&&(f=1)),{type:1,ns:a,tag:i,tagType:f,props:u,isSelfClosing:l,children:[],loc:Bu(e,r),codegenNode:void 0}}function Pu(e,t){const n=[],r=new Set;for(;e.source.length>0&&!$u(e.source,">")&&!$u(e.source,"/>");){if($u(e.source,"/")){Wu(e,22),Uu(e,1),Du(e);continue}1===t&&Wu(e,3);const o=Vu(e,r);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(o),/^[^\t\r\n\f />]/.test(e.source)&&Wu(e,15),Du(e)}return n}function Vu(e,t){const n=Lu(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r)&&Wu(e,2),t.add(r),"="===r[0]&&Wu(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(r);)Wu(e,17,n.index)}let o;Uu(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Du(e),Uu(e,1),Du(e),o=function(e){const t=Lu(e);let n;const r=e.source[0],o='"'===r||"'"===r;if(o){Uu(e,1);const t=e.source.indexOf(r);-1===t?n=Iu(e,e.source.length,4):(n=Iu(e,t,4),Uu(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const r=/["'<=`]/g;let o;for(;o=r.exec(t[0]);)Wu(e,18,o.index);n=Iu(e,t[0].length,4)}return{content:n,isQuoted:o,loc:Bu(e,t)}}(e),o||Wu(e,13));const i=Bu(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let a,s=$u(r,"."),c=t[1]||(s||$u(r,":")?"bind":$u(r,"@")?"on":"slot");if(t[2]){const o="slot"===c,i=r.lastIndexOf(t[2]),s=Bu(e,zu(e,n,i),zu(e,n,i+t[2].length+(o&&t[3]||"").length));let u=t[2],l=!0;u.startsWith("[")?(l=!1,u.endsWith("]")?u=u.slice(1,u.length-1):(Wu(e,27),u=u.slice(1))):o&&(u+=t[3]||""),a={type:4,content:u,isStatic:l,constType:l?3:0,loc:s}}if(o&&o.isQuoted){const e=o.loc;e.start.offset++,e.start.column++,e.end=tu(e.start,o.content),e.source=e.source.slice(1,-1)}const u=t[3]?t[3].slice(1).split("."):[];return s&&u.push("prop"),"bind"===c&&a&&u.includes("sync")&&bu("COMPILER_V_BIND_SYNC",e,0,a.loc.source)&&(c="model",u.splice(u.indexOf("sync"),1)),{type:7,name:c,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:a,modifiers:u,loc:i}}return!e.inVPre&&$u(r,"v-")&&Wu(e,26),{type:6,name:r,value:o&&{type:2,content:o.content,loc:o.loc},loc:i}}function Ru(e,t){const[n,r]=e.options.delimiters,o=e.source.indexOf(r,n.length);if(-1===o)return void Wu(e,25);const i=Lu(e);Uu(e,n.length);const a=Lu(e),s=Lu(e),c=o-n.length,u=e.source.slice(0,c),l=Iu(e,c,t),f=l.trim(),p=l.indexOf(f);p>0&&nu(a,u,p);return nu(s,u,c-(l.length-f.length-p)),Uu(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:f,loc:Bu(e,a,s)},loc:Bu(e,i)}}function Mu(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let r=e.source.length;for(let t=0;t<n.length;t++){const o=e.source.indexOf(n[t],1);-1!==o&&r>o&&(r=o)}const o=Lu(e);return{type:2,content:Iu(e,r,t),loc:Bu(e,o)}}function Iu(e,t,n){const r=e.source.slice(0,t);return Uu(e,t),2===n||3===n||-1===r.indexOf("&")?r:e.options.decodeEntities(r,4===n)}function Lu(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function Bu(e,t,n){return{start:t,end:n=n||Lu(e),source:e.originalSource.slice(t.offset,n.offset)}}function Fu(e){return e[e.length-1]}function $u(e,t){return e.startsWith(t)}function Uu(e,t){const{source:n}=e;nu(e,n,t),e.source=n.slice(t)}function Du(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Uu(e,t[0].length)}function zu(e,t,n){return tu(t,e.originalSource.slice(t.offset,n),n)}function Wu(e,t,n,r=Lu(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(Gs(t,{start:r,end:r,source:""}))}function Hu(e,t,n){const r=e.source;switch(t){case 0:if($u(r,"</"))for(let e=n.length-1;e>=0;--e)if(qu(r,n[e].tag))return!0;break;case 1:case 2:{const e=Fu(n);if(e&&qu(r,e.tag))return!0;break}case 3:if($u(r,"]]>"))return!0}return!r}function qu(e,t){return $u(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Zu(e,t){Ju(e,t,Gu(e,e.children[0]))}function Gu(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!uu(t)}function Ju(e,t,n=!1){const{children:r}=e,o=r.length;let i=0;for(let e=0;e<r.length;e++){const o=r[e];if(1===o.type&&0===o.tagType){const e=n?0:Ku(o,t);if(e>0){if(e>=2){o.codegenNode.patchFlag="-1",o.codegenNode=t.hoist(o.codegenNode),i++;continue}}else{const e=o.codegenNode;if(13===e.type){const n=tl(e);if((!n||512===n||1===n)&&Yu(o,t)>=2){const n=el(o);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}else 12===o.type&&Ku(o.content,t)>=2&&(o.codegenNode=t.hoist(o.codegenNode),i++);if(1===o.type){const e=1===o.tagType;e&&t.scopes.vSlot++,Ju(o,t),e&&t.scopes.vSlot--}else if(11===o.type)Ju(o,t,1===o.children.length);else if(9===o.type)for(let e=0;e<o.branches.length;e++)Ju(o.branches[e],t,1===o.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===o&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&V(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Lc(e.codegenNode.children)))}function Ku(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=n.get(e);if(void 0!==r)return r;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(tl(o))return n.set(e,0),0;{let r=3;const i=Yu(e,t);if(0===i)return n.set(e,0),0;i<r&&(r=i);for(let o=0;o<e.children.length;o++){const i=Ku(e.children[o],t);if(0===i)return n.set(e,0),0;i<r&&(r=i)}if(r>1)for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&"bind"===i.name&&i.exp){const o=Ku(i.exp,t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}}return o.isBlock&&(t.removeHelper(ec),t.removeHelper(fu(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(lu(t.inSSR,o.isComponent))),n.set(e,r),r}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Ku(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const r=e.children[n];if(B(r)||F(r))continue;const o=Ku(r,t);if(0===o)return 0;o<i&&(i=o)}return i}}const Xu=new Set([yc,bc,_c,wc]);function Qu(e,t){if(14===e.type&&!B(e.callee)&&Xu.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Ku(n,t);if(14===n.type)return Qu(n,t)}return 0}function Yu(e,t){let n=3;const r=el(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:o,value:i}=e[r],a=Ku(o,t);if(0===a)return a;let s;if(a<n&&(n=a),s=4===i.type?Ku(i,t):14===i.type?Qu(i,t):0,0===s)return s;s<n&&(n=s)}}return n}function el(e){const t=e.codegenNode;if(13===t.type)return t.props}function tl(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function nl(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,cacheHandlers:o=!1,nodeTransforms:i=[],directiveTransforms:a={},transformHoist:s=null,isBuiltInComponent:c=k,isCustomElement:u=k,expressionPlugins:l=[],scopeId:f=null,slotted:p=!0,ssr:d=!1,inSSR:h=!1,ssrCssVars:v="",bindingMetadata:m=x,inline:g=!1,isTS:y=!1,onError:b=qs,onWarn:_=Zs,compatConfig:w}){const S=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:S&&Q(J(S[1])),prefixIdentifiers:n,hoistStatic:r,cacheHandlers:o,nodeTransforms:i,directiveTransforms:a,transformHoist:s,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:l,scopeId:f,slotted:p,ssr:d,inSSR:h,ssrCssVars:v,bindingMetadata:m,inline:g,isTS:y,onError:b,onWarn:_,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){const t=E.helpers.get(e);if(t){const n=t-1;n?E.helpers.set(e,n):E.helpers.delete(e)}},helperString:e=>`_${Rc[E.helper(e)]}`,replaceNode(e){E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){const t=E.parent.children,n=e?t.indexOf(e):E.currentNode?E.childIndex:-1;e&&e!==E.currentNode?E.childIndex>n&&(E.childIndex--,E.onNodeRemoved()):(E.currentNode=null,E.onNodeRemoved()),E.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){B(e)&&(e=$c(e)),E.hoists.push(e);const t=$c(`_hoisted_${E.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Mc}}(E.cached++,e,t)};return E.filters=new Set,E}function rl(e,t){const n=nl(e,t);ol(e,n),t.hoistStatic&&Zu(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e;if(1===r.length){const n=r[0];if(Gu(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&mu(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let r=64;0,e.codegenNode=Ic(t,n(Js),void 0,e.children,r+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function ol(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&(V(i)?r.push(...i):r.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(ic);break;case 5:t.ssr||t.helper(mc);break;case 9:for(let n=0;n<e.branches.length;n++)ol(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];B(o)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=r,ol(o,t))}}(e,t)}t.currentNode=e;let o=r.length;for(;o--;)r[o]()}function il(e,t){const n=B(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(su))return;const i=[];for(let a=0;a<o.length;a++){const s=o[a];if(7===s.type&&n(s.name)){o.splice(a,1),a--;const n=t(e,s,r);n&&i.push(n)}}return i}}}const al="/*#__PURE__*/";function sl(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:l=!1,isTS:f=!1,inSSR:p=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:i,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:u,ssr:l,isTS:f,inSSR:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Rc[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:i,indent:a,deindent:s,newline:c,scopeId:u,ssr:l}=n,f=e.helpers.length>0,p=!i&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:i,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,u=s,l=e=>`${Rc[e]}: _${Rc[e]}`;if(e.helpers.length>0&&(o(`const _Vue = ${u}\n`),e.hoists.length)){o(`const { ${[rc,oc,ic,ac,sc].filter((t=>e.helpers.includes(t))).map(l).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:o,scopeId:i,mode:a}=t;r();for(let o=0;o<e.length;o++){const i=e[o];i&&(n(`const _hoisted_${o+1} = `),fl(i,t),r())}t.pure=!1})(e.hoists,t),i(),o("return ")}(e,n);if(o(`function ${l?"ssrRender":"render"}(${(l?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),a(),p&&(o("with (_ctx) {"),a(),f&&(o(`const { ${e.helpers.map((e=>`${Rc[e]}: _${Rc[e]}`)).join(", ")} } = _Vue`),o("\n"),c())),e.components.length&&(cl(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(cl(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),cl(e.filters,"filter",n),c()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n"),c()),l||o("return "),e.codegenNode?fl(e.codegenNode,n):o("null"),p&&(s(),o("}")),s(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function cl(e,t,{helper:n,push:r,newline:o,isTS:i}){const a=n("filter"===t?fc:"component"===t?cc:lc);for(let n=0;n<e.length;n++){let s=e[n];const c=s.endsWith("__self");c&&(s=s.slice(0,-6)),r(`const ${vu(s,t)} = ${a}(${JSON.stringify(s)}${c?", true":""})${i?"!":""}`),n<e.length-1&&o()}}function ul(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),ll(e,t,n),n&&t.deindent(),t.push("]")}function ll(e,t,n=!1,r=!0){const{push:o,newline:i}=t;for(let a=0;a<e.length;a++){const s=e[a];B(s)?o(s):V(s)?ul(s,t):fl(s,t),a<e.length-1&&(n?(r&&o(","),i()):r&&o(", "))}}function fl(e,t){if(B(e))t.push(e);else if(F(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:fl(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:pl(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(al);n(`${r(mc)}(`),fl(e.content,t),n(")")}(e,t);break;case 8:dl(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(al);n(`${r(ic)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:o}=t,{tag:i,props:a,children:s,patchFlag:c,dynamicProps:u,directives:l,isBlock:f,disableTracking:p,isComponent:d}=e;l&&n(r(pc)+"(");f&&n(`(${r(ec)}(${p?"true":""}), `);o&&n(al);const h=f?fu(t.inSSR,d):lu(t.inSSR,d);n(r(h)+"(",e),ll(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,a,s,c,u]),t),n(")"),f&&n(")");l&&(n(", "),fl(l,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:r,pure:o}=t,i=B(e.callee)?e.callee:r(e.callee);o&&n(al);n(i+"(",e),ll(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:i}=t,{properties:a}=e;if(!a.length)return void n("{}",e);const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let e=0;e<a.length;e++){const{key:r,value:o}=a[e];hl(r,t),n(": "),fl(o,t),e<a.length-1&&(n(","),i())}s&&o(),n(s?"}":" }")}(e,t);break;case 17:!function(e,t){ul(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:r,deindent:o}=t,{params:i,returns:a,body:s,newline:c,isSlot:u}=e;u&&n(`_${Rc[Nc]}(`);n("(",e),V(i)?ll(i,t):i&&fl(i,t);n(") => "),(c||s)&&(n("{"),r());a?(c&&n("return "),V(a)?ul(a,t):fl(a,t)):s&&fl(s,t);(c||s)&&(o(),n("}"));u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:i}=e,{push:a,indent:s,deindent:c,newline:u}=t;if(4===n.type){const e=!Jc(n.content);e&&a("("),pl(n,t),e&&a(")")}else a("("),fl(n,t),a(")");i&&s(),t.indentLevel++,i||a(" "),a("? "),fl(r,t),t.indentLevel--,i&&u(),i||a(" "),a(": ");const l=19===o.type;l||t.indentLevel++;fl(o,t),l||t.indentLevel--;i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:i,newline:a}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(o(),n(`${r(Cc)}(-1),`),a());n(`_cache[${e.index}] = `),fl(e.value,t),e.isVNode&&(n(","),a(),n(`${r(Cc)}(1),`),a(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:ll(e.body,t,!0,!1)}}function pl(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function dl(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];B(r)?t.push(r):fl(r,t)}}function hl(e,t){const{push:n}=t;if(8===e.type)n("["),dl(e,t),n("]");else if(e.isStatic){n(Jc(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const vl=il(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Gs(28,t.loc)),t.exp=$c("true",!1,r)}0;if("if"===t.name){const o=ml(e,t),i={type:9,loc:e.loc,branches:[o]};if(n.replaceNode(i),r)return r(i,o,!0)}else{const o=n.parent.children;let i=o.indexOf(e);for(;i-- >=-1;){const a=o[i];if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&n.onError(Gs(30,e.loc)),n.removeNode();const o=ml(e,t);0,a.branches.push(o);const i=r&&r(a,o,!1);ol(o,n),i&&i(),n.currentNode=null}else n.onError(Gs(30,e.loc));break}n.removeNode(a)}}}(e,t,n,((e,t,r)=>{const o=n.parent.children;let i=o.indexOf(e),a=0;for(;i-- >=0;){const e=o[i];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(r)e.codegenNode=gl(t,a,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=gl(t,a+e.branches.length-1,n)}}}))));function ml(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||ru(e,"for")?[e]:e.children,userKey:ou(e,"key")}}function gl(e,t,n){return e.condition?Wc(e.condition,yl(e,t,n),Dc(n.helper(ic),['""',"true"])):yl(e,t,n)}function yl(e,t,n){const{helper:r}=n,o=Fc("key",$c(`${t}`,!1,Mc,2)),{children:i}=e,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){const e=a.codegenNode;return hu(e,o,n),e}{let t=64;return Ic(n,r(Js),Bc([o]),i,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=14===(s=e).type&&s.callee===Pc?s.arguments[1].returns:s;return 13===t.type&&mu(t,n),hu(t,o,n),e}var s}const bl=il("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return function(e,t,n,r){if(!t.exp)return void n.onError(Gs(31,t.loc));const o=Sl(t.exp,n);if(!o)return void n.onError(Gs(32,t.loc));const{addIdentifiers:i,removeIdentifiers:a,scopes:s}=n,{source:c,value:u,key:l,index:f}=o,p={type:11,loc:t.loc,source:c,valueAlias:u,keyAlias:l,objectIndexAlias:f,parseResult:o,children:cu(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const d=r&&r(p);return()=>{s.vFor--,d&&d()}}(e,t,n,(t=>{const i=Dc(r(dc),[t.source]),a=ru(e,"memo"),s=ou(e,"key"),c=s&&(6===s.type?$c(s.value.content,!0):s.exp),u=s?Fc("key",c):null,l=4===t.source.type&&t.source.constType>0,f=l?64:s?128:256;return t.codegenNode=Ic(n,r(Js),void 0,i,f+"",void 0,void 0,!0,!l,!1,e.loc),()=>{let s;const f=cu(e),{children:p}=t;const d=1!==p.length||1!==p[0].type,h=uu(e)?e:f&&1===e.children.length&&uu(e.children[0])?e.children[0]:null;if(h?(s=h.codegenNode,f&&u&&hu(s,u,n)):d?s=Ic(n,r(Js),u?Bc([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(s=p[0].codegenNode,f&&u&&hu(s,u,n),s.isBlock!==!l&&(s.isBlock?(o(ec),o(fu(n.inSSR,s.isComponent))):o(lu(n.inSSR,s.isComponent))),s.isBlock=!l,s.isBlock?(r(ec),r(fu(n.inSSR,s.isComponent))):r(lu(n.inSSR,s.isComponent))),a){const e=zc(El(t.parseResult,[$c("_cached")]));e.body={type:21,body:[Uc(["const _memo = (",a.exp,")"]),Uc(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(Vc)}(_cached, _memo)) return _cached`]),Uc(["const _item = ",s]),$c("_item.memo = _memo"),$c("return _item")],loc:Mc},i.arguments.push(e,$c("_cache"),$c(String(n.cached++)))}else i.arguments.push(zc(El(t.parseResult),s,!0))}}))}));const _l=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,wl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,xl=/^\(|\)$/g;function Sl(e,t){const n=e.loc,r=e.content,o=r.match(_l);if(!o)return;const[,i,a]=o,s={source:kl(n,a.trim(),r.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0};let c=i.trim().replace(xl,"").trim();const u=i.indexOf(c),l=c.match(wl);if(l){c=c.replace(wl,"").trim();const e=l[1].trim();let t;if(e&&(t=r.indexOf(e,u+c.length),s.key=kl(n,e,t)),l[2]){const o=l[2].trim();o&&(s.index=kl(n,o,r.indexOf(o,s.key?t+e.length:u+c.length)))}}return c&&(s.value=kl(n,c,u)),s}function kl(e,t,n){return $c(t,!1,eu(e,n,t.length))}function El({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||$c("_".repeat(t+1),!1)))}([e,t,n,...r])}const Cl=$c("undefined",!1),jl=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=ru(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ol=(e,t,n)=>zc(e,t,!1,!0,t.length?t[0].loc:n);function Nl(e,t,n=Ol){t.helper(Nc);const{children:r,loc:o}=e,i=[],a=[];let s=t.scopes.vSlot>0||t.scopes.vFor>0;const c=ru(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!Hc(e)&&(s=!0),i.push(Fc(e||$c("default",!0),n(t,r,o)))}let u=!1,l=!1;const f=[],p=new Set;for(let e=0;e<r.length;e++){const o=r[e];let d;if(!cu(o)||!(d=ru(o,"slot",!0))){3!==o.type&&f.push(o);continue}if(c){t.onError(Gs(37,d.loc));break}u=!0;const{children:h,loc:v}=o,{arg:m=$c("default",!0),exp:g,loc:y}=d;let b;Hc(m)?b=m?m.content:"default":s=!0;const _=n(g,h,v);let w,x,S;if(w=ru(o,"if"))s=!0,a.push(Wc(w.exp,Al(m,_),Cl));else if(x=ru(o,/^else(-if)?$/,!0)){let n,o=e;for(;o--&&(n=r[o],3===n.type););if(n&&cu(n)&&ru(n,"if")){r.splice(e,1),e--;let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=x.exp?Wc(x.exp,Al(m,_),Cl):Al(m,_)}else t.onError(Gs(30,x.loc))}else if(S=ru(o,"for")){s=!0;const e=S.parseResult||Sl(S.exp);e?a.push(Dc(t.helper(dc),[e.source,zc(El(e),Al(m,_),!0)])):t.onError(Gs(32,S.loc))}else{if(b){if(p.has(b)){t.onError(Gs(38,y));continue}p.add(b),"default"===b&&(l=!0)}i.push(Fc(m,_))}}if(!c){const e=(e,r)=>{const i=n(e,r,o);return t.compatConfig&&(i.isNonScopedSlot=!0),Fc("default",i)};u?f.length&&f.some((e=>Pl(e)))&&(l?t.onError(Gs(39,f[0].loc)):i.push(e(void 0,f))):i.push(e(void 0,r))}const d=s?2:Tl(e.children)?3:1;let h=Bc(i.concat(Fc("_",$c(d+"",!1))),o);return a.length&&(h=Dc(t.helper(vc),[h,Lc(a)])),{slots:h,hasDynamicSlots:s}}function Al(e,t){return Bc([Fc("name",e),Fc("fn",t)])}function Tl(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Tl(n.children))return!0;break;case 9:if(Tl(n.branches))return!0;break;case 10:case 11:if(Tl(n.children))return!0}}return!1}function Pl(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Pl(e.content))}const Vl=new WeakMap,Rl=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:r}=e,o=1===e.tagType;let i=o?function(e,t,n=!1){let{tag:r}=e;const o=Bl(r),i=ou(e,"is");if(i)if(o||yu("COMPILER_IS_ON_ELEMENT",t)){const e=6===i.type?i.value&&$c(i.value.content,!0):i.exp;if(e)return Dc(t.helper(uc),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const a=!o&&ru(e,"is");if(a&&a.exp)return Dc(t.helper(uc),[a.exp]);const s=Zc(r)||t.isBuiltInComponent(r);if(s)return n||t.helper(s),s;return t.helper(cc),t.components.add(r),vu(r,"component")}(e,t):`"${n}"`;let a,s,c,u,l,f,p=0,d=$(i)&&i.callee===uc||i===Ks||i===Xs||!o&&("svg"===n||"foreignObject"===n);if(r.length>0){const n=Ml(e,t);a=n.props,p=n.patchFlag,l=n.dynamicPropNames;const r=n.directives;f=r&&r.length?Lc(r.map((e=>function(e,t){const n=[],r=Vl.get(e);r?n.push(t.helperString(r)):(t.helper(lc),t.directives.add(e.name),n.push(vu(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=$c("true",!1,o);n.push(Bc(e.modifiers.map((e=>Fc(e,t))),o))}return Lc(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){i===Qs&&(d=!0,p|=1024);if(o&&i!==Ks&&i!==Qs){const{slots:n,hasDynamicSlots:r}=Nl(e,t);s=n,r&&(p|=1024)}else if(1===e.children.length&&i!==Ks){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===Ku(n,t)&&(p|=1),s=o||2===r?n:e.children}else s=e.children}0!==p&&(c=String(p),l&&l.length&&(u=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(l))),e.codegenNode=Ic(t,i,a,s,c,u,f,!!d,!1,o,e.loc)};function Ml(e,t,n=e.props,r=!1){const{tag:o,loc:i,children:a}=e,s=1===e.tagType;let c=[];const u=[],l=[],f=a.length>0;let p=!1,d=0,h=!1,v=!1,m=!1,g=!1,y=!1,b=!1;const _=[],w=({key:e,value:n})=>{if(Hc(e)){const r=e.content,o=j(r);if(s||!o||"onclick"===r.toLowerCase()||"onUpdate:modelValue"===r||q(r)||(g=!0),o&&q(r)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Ku(n,t)>0)return;"ref"===r?h=!0:"class"===r?v=!0:"style"===r?m=!0:"key"===r||_.includes(r)||_.push(r),!s||"class"!==r&&"style"!==r||_.includes(r)||_.push(r)}else y=!0};for(let a=0;a<n.length;a++){const d=n[a];if(6===d.type){const{loc:e,name:n,value:r}=d;let i=!0;if("ref"===n&&(h=!0,t.scopes.vFor>0&&c.push(Fc($c("ref_for",!0),$c("true")))),"is"===n&&(Bl(o)||r&&r.content.startsWith("vue:")||yu("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Fc($c(n,!0,eu(e,0,n.length)),$c(r?r.content:"",i,r?r.loc:e)))}else{const{name:n,arg:a,exp:h,loc:v}=d,m="bind"===n,g="on"===n;if("slot"===n){s||t.onError(Gs(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||m&&iu(a,"is")&&(Bl(o)||yu("COMPILER_IS_ON_ELEMENT",t)))continue;if(g&&r)continue;if((m&&iu(a,"key")||g&&f&&iu(a,"vue:before-update"))&&(p=!0),m&&iu(a,"ref")&&t.scopes.vFor>0&&c.push(Fc($c("ref_for",!0),$c("true"))),!a&&(m||g)){if(y=!0,h)if(c.length&&(u.push(Bc(Il(c),i)),c=[]),m){if(yu("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(h);continue}u.push(h)}else u.push({type:14,loc:v,callee:t.helper(xc),arguments:[h]});else t.onError(Gs(m?34:35,v));continue}const b=t.directiveTransforms[n];if(b){const{props:n,needRuntime:o}=b(d,e,t);!r&&n.forEach(w),c.push(...n),o&&(l.push(d),F(o)&&Vl.set(d,o))}else l.push(d),f&&(p=!0)}}let x;if(u.length?(c.length&&u.push(Bc(Il(c),i)),x=u.length>1?Dc(t.helper(gc),u,i):u[0]):c.length&&(x=Bc(Il(c),i)),y?d|=16:(v&&!s&&(d|=2),m&&!s&&(d|=4),_.length&&(d|=8),g&&(d|=32)),p||0!==d&&32!==d||!(h||b||l.length>0)||(d|=512),!t.inSSR&&x)switch(x.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<x.properties.length;t++){const o=x.properties[t].key;Hc(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(r=!0)}const o=x.properties[e],i=x.properties[n];r?x=Dc(t.helper(_c),[x]):(o&&!Hc(o.value)&&(o.value=Dc(t.helper(yc),[o.value])),!i||Hc(i.value)||!m&&17!==i.value.type||(i.value=Dc(t.helper(bc),[i.value])));break;case 14:break;default:x=Dc(t.helper(_c),[Dc(t.helper(wc),[x])])}return{props:x,directives:l,patchFlag:d,dynamicPropNames:_,shouldUseBlock:p}}function Il(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const o=e[r];if(8===o.key.type||!o.key.isStatic){n.push(o);continue}const i=o.key.content,a=t.get(i);a?("style"===i||"class"===i||j(i))&&Ll(a,o):(t.set(i,o),n.push(o))}return n}function Ll(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Lc([e.value,t.value],e.loc)}function Bl(e){return"component"===e||"Component"===e}const Fl=/-(\w)/g,$l=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(Fl,((e,t)=>t?t.toUpperCase():"")))),Ul=(e,t)=>{if(uu(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:i}=function(e,t){let n,r='"default"';const o=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=$l(n.name),o.push(n))):"bind"===n.name&&iu(n.arg,"name")?n.exp&&(r=n.exp):("bind"===n.name&&n.arg&&Hc(n.arg)&&(n.arg.content=$l(n.arg.content)),o.push(n))}if(o.length>0){const{props:r,directives:i}=Ml(e,t,o);n=r,i.length&&t.onError(Gs(36,i[0].loc))}return{slotName:r,slotProps:n}}(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let s=2;i&&(a[2]=i,s=3),n.length&&(a[3]=zc([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),a.splice(s),e.codegenNode=Dc(t.helper(hc),a,r)}};const Dl=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,zl=(e,t,n,r)=>{const{loc:o,modifiers:i,arg:a}=e;let s;if(e.exp||i.length||n.onError(Gs(35,o)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),s=$c(Y(J(e)),!0,a.loc)}else s=Uc([`${n.helperString(Ec)}(`,a,")"]);else s=a,s.children.unshift(`${n.helperString(Ec)}(`),s.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Yc(c.content),t=!(e||Dl.test(c.content)),n=c.content.includes(";");0,(t||u&&e)&&(c=Uc([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let l={props:[Fc(s,c||$c("() => {}",!1,o))]};return r&&(l=r(l)),u&&(l.props[0].value=n.cache(l.props[0].value)),l.props.forEach((e=>e.key.isHandlerKey=!0)),l},Wl=(e,t,n)=>{const{exp:r,modifiers:o,loc:i}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),o.includes("camel")&&(4===a.type?a.isStatic?a.content=J(a.content):a.content=`${n.helperString(Sc)}(${a.content})`:(a.children.unshift(`${n.helperString(Sc)}(`),a.children.push(")"))),n.inSSR||(o.includes("prop")&&Hl(a,"."),o.includes("attr")&&Hl(a,"^")),!r||4===r.type&&!r.content.trim()?(n.onError(Gs(34,i)),{props:[Fc(a,$c("",!0,i))]}):{props:[Fc(a,r)]}},Hl=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ql=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if(au(t)){o=!0;for(let o=e+1;o<n.length;o++){const i=n[o];if(!au(i)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",i),n.splice(o,1),o--}}}if(o&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(au(r)||8===r.type){const o=[];2===r.type&&" "===r.content||o.push(r),t.ssr||0!==Ku(r,t)||o.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:Dc(t.helper(ac),o)}}}}},Zl=new WeakSet,Gl=(e,t)=>{if(1===e.type&&ru(e,"once",!0)){if(Zl.has(e)||t.inVOnce)return;return Zl.add(e),t.inVOnce=!0,t.helper(Cc),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Jl=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(Gs(41,e.loc)),Kl();const i=r.loc.source,a=4===r.type?r.content:i;n.bindingMetadata[i];if(!a.trim()||!Yc(a))return n.onError(Gs(42,r.loc)),Kl();const s=o||$c("modelValue",!0),c=o?Hc(o)?`onUpdate:${o.content}`:Uc(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=Uc([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const l=[Fc(s,e.exp),Fc(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Jc(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?Hc(o)?`${o.content}Modifiers`:Uc([o,' + "Modifiers"']):"modelModifiers";l.push(Fc(n,$c(`{ ${t} }`,!1,e.loc,2)))}return Kl(l)};function Kl(e=[]){return{props:e}}const Xl=/[\w).+\-_$\]]/,Ql=(e,t)=>{yu("COMPILER_FILTER",t)&&(5===e.type&&Yl(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Yl(e.exp,t)})))};function Yl(e,t){if(4===e.type)ef(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?ef(r,t):8===r.type?Yl(e,t):5===r.type&&Yl(r.content,t))}}function ef(e,t){const n=e.content;let r,o,i,a,s=!1,c=!1,u=!1,l=!1,f=0,p=0,d=0,h=0,v=[];for(i=0;i<n.length;i++)if(o=r,r=n.charCodeAt(i),s)39===r&&92!==o&&(s=!1);else if(c)34===r&&92!==o&&(c=!1);else if(u)96===r&&92!==o&&(u=!1);else if(l)47===r&&92!==o&&(l=!1);else if(124!==r||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||f||p||d){switch(r){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:d++;break;case 41:d--;break;case 91:p++;break;case 93:p--;break;case 123:f++;break;case 125:f--}if(47===r){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Xl.test(e)||(l=!0)}}else void 0===a?(h=i+1,a=n.slice(0,i).trim()):m();function m(){v.push(n.slice(h,i).trim()),h=i+1}if(void 0===a?a=n.slice(0,i).trim():0!==h&&m(),v.length){for(i=0;i<v.length;i++)a=tf(a,v[i],t);e.content=a}}function tf(e,t,n){n.helper(fc);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${vu(t,"filter")}(${e})`;{const o=t.slice(0,r),i=t.slice(r+1);return n.filters.add(o),`${vu(o,"filter")}(${e}${")"!==i?","+i:i}`}}const nf=new WeakSet,rf=(e,t)=>{if(1===e.type){const n=ru(e,"memo");if(!n||nf.has(e))return;return nf.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&mu(r,t),e.codegenNode=Dc(t.helper(Pc),[n.exp,zc(void 0,r),"_cache",String(t.cached++)]))}}};function of(e,t={}){const n=t.onError||qs,r="module"===t.mode;!0===t.prefixIdentifiers?n(Gs(46)):r&&n(Gs(47));t.cacheHandlers&&n(Gs(48)),t.scopeId&&!r&&n(Gs(49));const o=B(e)?Su(e,t):e,[i,a]=[[Gl,vl,rf,bl,Ql,Ul,Rl,jl,ql],{on:zl,bind:Wl,model:Jl}];return rl(o,N({},t,{prefixIdentifiers:false,nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:N({},a,t.directiveTransforms||{})})),sl(o,N({},t,{prefixIdentifiers:false}))}const af=Symbol(""),sf=Symbol(""),cf=Symbol(""),uf=Symbol(""),lf=Symbol(""),ff=Symbol(""),pf=Symbol(""),df=Symbol(""),hf=Symbol(""),vf=Symbol("");var mf;let gf;mf={[af]:"vModelRadio",[sf]:"vModelCheckbox",[cf]:"vModelText",[uf]:"vModelSelect",[lf]:"vModelDynamic",[ff]:"withModifiers",[pf]:"withKeys",[df]:"vShow",[hf]:"Transition",[vf]:"TransitionGroup"},Object.getOwnPropertySymbols(mf).forEach((e=>{Rc[e]=mf[e]}));const yf=o("style,iframe,script,noscript",!0),bf={isVoidTag:g,isNativeTag:e=>v(e)||m(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return gf||(gf=document.createElement("div")),t?(gf.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,gf.children[0].getAttribute("foo")):(gf.innerHTML=e,gf.textContent)},isBuiltInComponent:e=>qc(e,"Transition")?hf:qc(e,"TransitionGroup")?vf:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(yf(e))return 2}return 0}},_f=(e,t)=>{const n=p(e);return $c(JSON.stringify(n),!1,t,3)};function wf(e,t){return Gs(e,t)}const xf=o("passive,once,capture"),Sf=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),kf=o("left,right"),Ef=o("onkeyup,onkeydown,onkeypress",!0),Cf=(e,t)=>Hc(e)&&"onclick"===e.content.toLowerCase()?$c(t,!0):4!==e.type?Uc(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const jf=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(wf(60,e.loc)),t.removeNode())},Of=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:$c("style",!0,t.loc),exp:_f(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Nf={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(wf(50,o)),t.children.length&&(n.onError(wf(51,o)),t.children.length=0),{props:[Fc($c("innerHTML",!0,o),r||$c("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(wf(52,o)),t.children.length&&(n.onError(wf(53,o)),t.children.length=0),{props:[Fc($c("textContent",!0),r?Dc(n.helperString(mc),[r],o):$c("",!0))]}},model:(e,t,n)=>{const r=Jl(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(wf(55,e.arg.loc));const{tag:o}=t,i=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){let a=cf,s=!1;if("input"===o||i){const r=ou(t,"type");if(r){if(7===r.type)a=lf;else if(r.value)switch(r.value.content){case"radio":a=af;break;case"checkbox":a=sf;break;case"file":s=!0,n.onError(wf(56,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(a=lf)}else"select"===o&&(a=uf);s||(r.needRuntime=n.helper(a))}else n.onError(wf(54,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>zl(e,0,n,(t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:o,value:i}=t.props[0];const{keyModifiers:a,nonKeyModifiers:s,eventOptionModifiers:c}=((e,t,n,r)=>{const o=[],i=[],a=[];for(let r=0;r<t.length;r++){const s=t[r];"native"===s&&bu("COMPILER_V_ON_NATIVE",n)||xf(s)?a.push(s):kf(s)?Hc(e)?Ef(e.content)?o.push(s):i.push(s):(o.push(s),i.push(s)):Sf(s)?i.push(s):o.push(s)}return{keyModifiers:o,nonKeyModifiers:i,eventOptionModifiers:a}})(o,r,n,e.loc);if(s.includes("right")&&(o=Cf(o,"onContextmenu")),s.includes("middle")&&(o=Cf(o,"onMouseup")),s.length&&(i=Dc(n.helper(ff),[i,JSON.stringify(s)])),!a.length||Hc(o)&&!Ef(o.content)||(i=Dc(n.helper(pf),[i,JSON.stringify(a)])),c.length){const e=c.map(Q).join("");o=Hc(o)?$c(`${o.content}${e}`,!0):Uc(["(",o,`) + "${e}"`])}return{props:[Fc(o,i)]}})),show:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(wf(58,o)),{props:[],needRuntime:n.helper(df)}}};const Af=Object.create(null);function Tf(e,t){if(!B(e)){if(!e.nodeType)return k;e=e.innerHTML}const n=e,o=Af[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const{code:i}=function(e,t={}){return of(e,N({},bf,t,{nodeTransforms:[jf,...Of,...t.nodeTransforms||[]],directiveTransforms:N({},Nf,t.directiveTransforms||{}),transformHoist:null}))}(e,N({hoistStatic:!0,onError:void 0,onWarn:k},t));const a=new Function("Vue",i)(r);return a._rc=!0,Af[n]=a}ai(Tf)},1230:(e,t,n)=>{var r={"./Auth/ConfirmPassword.vue":6027,"./Auth/ForgotPassword.vue":5721,"./Auth/Login.vue":8555,"./Auth/Register.vue":97,"./Auth/ResetPassword.vue":976,"./Auth/VerifyEmail.vue":7836,"./Dashboard.vue":5678,"./Welcome.vue":3684};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1230},4654:()=>{},8593:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=t,e=[],r.O=(t,n,o,i)=>{if(!n){var a=1/0;for(l=0;l<e.length;l++){for(var[n,o,i]=e[l],s=!0,c=0;c<n.length;c++)(!1&i||a>=i)&&Object.keys(r.O).every((e=>r.O[e](n[c])))?n.splice(c--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var u=o();void 0!==u&&(t=u)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[n,o,i]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={773:0,170:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[a,s,c]=n,u=0;if(a.some((t=>0!==e[t]))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(c)var l=c(r)}for(t&&t(n);u<a.length;u++)i=a[u],r.o(e,i)&&e[i]&&e[i][0](),e[a[u]]=0;return r.O(l)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.O(void 0,[170],(()=>r(7745)));var o=r.O(void 0,[170],(()=>r(2584)));o=r.O(o)})(); | 179,321.5 | 358,582 | 0.651818 |
223c59d62b50e473d648f514542be3484dcff107 | 838 | js | JavaScript | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | employee-directory/src/components/Table/table.js | vfavorito/react-employee-directory | ba9654c1e42d37527034ff0dd3ba993ec402279b | [
"MIT"
] | null | null | null | import React from "react";
function Table(props) {
return (
<table className="table">
<thead>
<tr className="tableHead">
<th>Portrait:</th>
<th>First Name:</th>
<th>Last Name:</th>
<th>Phone Number:</th>
</tr>
</thead>
<tbody>
{props.employees.map(employee =>
<tr key={employee.id.value}>
<td><img alt="portrait" src={employee.picture.thumbnail}></img></td>
<td>{employee.name.first}</td>
<td>{employee.name.last}</td>
<td>{employee.phone}</td>
</tr>)}
</tbody>
</table>
);
}
export default Table; | 27.933333 | 92 | 0.397375 |
223d23edf70d8c257c7afa0b8ed411a1889a57e2 | 4,983 | js | JavaScript | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | null | null | null | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | 3 | 2021-02-02T21:15:56.000Z | 2022-02-27T09:08:08.000Z | resources/js/menu.js | olayodepossible/myGlit_Project | 36e1e7ec28956362ac80ee1d197155d9d82e1ee3 | [
"MIT"
] | null | null | null | //set initial State of menu
let showMenu = false;
$(document).ready(function(){
/* Candidate Dashboard Begins */
$(".menu-btn").click(function(){
if (!showMenu) {
$('.menu-btn').addClass("close").css( "transform", "rotate(180deg)");
$(".btn-line:nth-of-type(1)").css("transform", "rotate(45deg) translate(4px, 3px)");
$(".btn-line:nth-of-type(2)").css("opacity", "0");
$(".btn-line:nth-of-type(3)").css("transform", "rotate(-45deg) translate(3px, -2px)");
$(".btn-line").css("background-color", "#fff");
//Set menu state
showMenu = true;
} else {
$('.menu-btn').removeClass("close");
$(".btn-line:nth-of-type(1)").css("transform", "rotate(0deg) translate(0)");
$(".btn-line:nth-of-type(2)").css("opacity", "1");
$(".btn-line:nth-of-type(3)").css("transform", "rotate(0deg) translate(0)");
$(".btn-line").css("background-color", "#333");
//Set menu state
showMenu = false;
}
$('.top_nav').toggle("slow");
});
$(".svg_menu").click(function(){
$(".left-side-bar").toggle("slow");
});
/* Candidate Dashboard Ends */
/* Company Inbox main Begins */
$(".menu-btn1").click(function(){
if (!showMenu) {
$('.menu-btn1').addClass("close")
$(".btnLine:nth-of-type(1)").css("transform", "rotate(45deg) translate(9px, 6px)");
$(".btnLine:nth-of-type(2)").css("opacity", 0);
$(".btnLine:nth-of-type(3)").css("transform", "rotate(-45deg) translate(5px, -2px)");
//Set menu state
showMenu = true;
} else {
$('.menu-btn1').removeClass("close");
$(".btnLine:nth-of-type(1)").css("transform", "rotate(0deg) translate(0)");
$(".btnLine:nth-of-type(2)").css("opacity", 1);
$(".btnLine:nth-of-type(3)").css("transform", "rotate(0deg) translate(0)");
//Set menu state
showMenu = false;
}
$('.left-sideBar').toggle("slow");
});
$('.content-wrapper').on('click', function(e){
e.preventDefault();
if($(e.target).hasClass('arrowD')) {
if ($(this).find('.icons').hasClass('fill')) {
$(this).find('.dropdown').css("background-color", "#fff");
$(this).find('.dropbtn').css("color", "#333");
$(this).find(".icons").removeClass("fill");
$(this).find(".hiring").css("color", "#fff");
$(this).find('.dropdown-contents').slideUp(500);
console.log("slide up this active drop down cos it is open already");
}
else {
$(".icons").removeClass("fill");
$(".hiring").css("color", "#fff");
$('.dropdown').css("background-color", "#fff");
$('.dropbtn').css("color", "#333");
$('.dropdown-contents').slideUp(500);
$(this).find('.dropdown').css("background-color", "#28C882");
$(this).find(".dropbtn").css("color", "#fff");
$(this).find(".icons").addClass("fill");
$(this).find(".hiring").css("color", "#333");
$(this).find('.dropdown-contents').slideDown(1000);
console.log("slide up all active drop down and open this current div");
}
e.stopPropagation();
}
});
/* Company Inbox main Ends */
//----- Open model CREATE -----//
$('.btnDiv').click(function (e) {
$('#btn-save').val("add");
$('#modalForm').trigger("reset");
$('#formModal').modal('show');
});
$('.closeBtn').click(function () {
$('#modalForm').trigger("reset");
$('#formModal').modal('hide')
})
//----- End model CREATE -----//
/* Job Page Begins */
$(".menu-btn2").click(function(){
if (!showMenu) {
$('.menu-btn2').addClass("close").css( "transform", "rotate(180deg)");
$(".btnLine2:nth-of-type(1)").css("transform", "rotate(45deg) translate(6px, 7px)");
$(".btnLine2:nth-of-type(2)").css("opacity", "0");
$(".btnLine2:nth-of-type(3)").css("transform", "rotate(-45deg) translate(4px, -4px)");
//Set menu state
showMenu = true;
} else {
$('.menu-btn2').removeClass("close");
$(".btnLine2:nth-of-type(1)").css("transform", "rotate(0deg) translate(0)");
$(".btnLine2:nth-of-type(2)").css("opacity", "1");
$(".btnLine2:nth-of-type(3)").css("transform", "rotate(0deg) translate(0)");
//Set menu state
showMenu = false;
}
$('.left-sideBar').toggle("slow");
});
$(".svg_menu1").click(function(){
$(".top_nav").toggle("slow");
});
/* Job Page Ends */
});
| 36.639706 | 98 | 0.480233 |
223e713bbd27aef3ffe951540fcfa0bb87da4250 | 538 | js | JavaScript | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | _templates/tablelist/with-prompt/prompt.js | LingF/vue-admin-template | d3555f952c987dc648f15a479b3b2be486d6f232 | [
"MIT"
] | null | null | null | // see types of prompts:
// https://github.com/enquirer/enquirer/tree/master/examples
//
module.exports = [
{
type: 'input',
name: 'name',
message: "请输入你要增加的页面的模块名称(小驼峰命名: my-page)"
},
{
type: 'input',
name: 'path',
message: '请输入模块路径,路径会在 views/${path} 下创建 (例如:输入my/path 会创建 views/my/path/xxx 默认为空)',
},
{
type: 'select',
name: 'modal',
message: '请选择模态框页面类型',
choices: [{ message: 'Dialog + Form,Form 中一行有 两列 元素', value: 1 }, { message: 'Dialog + Form,Form 中一行有 一列 元素', value: 0 }]
}
]
| 24.454545 | 125 | 0.592937 |
223ec5c1d950372d75cd7c24e58117992e21e37d | 607 | js | JavaScript | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 52 | 2018-03-20T15:27:01.000Z | 2022-03-27T11:20:17.000Z | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 108 | 2018-03-20T08:17:39.000Z | 2021-12-12T13:36:50.000Z | components/shared/ActivityIndex.js | roschaefer/democracy-desktop | a23535c9481a161d94126a7b5e3dc3f028b79ba5 | [
"Apache-2.0"
] | 11 | 2019-05-06T14:01:33.000Z | 2021-04-01T00:11:14.000Z | import styled from 'styled-components';
import IconComponent from 'Components/shared/Icon';
const Wrapper = styled.div`
font-size: 25px;
color: ${({ theme }) => theme.colors.inactive};
text-align: center;
padding: 0;
margin-top: -10px;
padding-left: ${({ theme }) => theme.space(2)}px;
`;
const Icon = styled(IconComponent).attrs({
fontSize: 40,
})``;
const Text = styled.div`
margin-top: -${({ theme }) => theme.space(1.4)}px;
`;
const ActivityIndex = ({ children }) => (
<Wrapper>
<Icon type="arrow" />
<Text>{children}</Text>
</Wrapper>
);
export default ActivityIndex;
| 20.233333 | 52 | 0.635914 |
223f66bea5f8d6b2ccc9bff2b18c22055dba1230 | 412 | js | JavaScript | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | index.js | jmurilloariza/monicapp | 71b4b9a1e1206c0382c643a896e50ccfd8667b09 | [
"MIT"
] | null | null | null | 'use strict'
const app = require('./app')
const config = require('./config')
const http = require('./sockets/server')
const ip = require('ip');
app.listen(config.port_api, () => {
console.log(`SERVER OF API RUNNING IN http://${ip.address()}:${config.port_api}/`)
})
http.listen(config.port_socket, () => {
console.log(`SERVER OF SOCKET RUNNING IN http://${ip.address()}:${config.port_socket}/`)
});
| 22.888889 | 91 | 0.645631 |
2241540d98b2b8e76f2387235cec7c49e79a5921 | 1,365 | js | JavaScript | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | astromatch/src/actions/profiles.js | Meira-JH/AstroMatch | 1689bc071c96f8c1d76f0de75e9de5928fed9eda | [
"MIT"
] | null | null | null | import axios from 'axios'
// API ACTIONS
export const clearSwipes = () => async (dispatch) => {
await axios.put('https://us-central1-missao-newton.cloudfunctions.net/astroMatch/joao-meira/clear')
}
export const getProfileToSwipe = () => async (dispatch, getState) =>{
const response = await axios.get(`https://us-central1-missao-newton.cloudfunctions.net/astroMatch/joao-meira/person`)
dispatch(setUnknownProfilesList(response.data.profile))
}
export const chooseProfile = (id, userChoice) => async (dispatch) => {
const body =
{
id: id,
choice: userChoice
}
await axios.post(`https://us-central1-missao-newton.cloudfunctions.net/astroMatch/joao-meira/choose-person`,
body)
dispatch(getProfileToSwipe())
}
export const getMatches = () => async (dispatch) => {
const response = await axios.get (`https://us-central1-missao-newton.cloudfunctions.net/astroMatch/joao-meira/matches`)
dispatch(setMatchesList(response.data.matches))
console.log(response.data)
}
// STORE ACTIONS
export const setUnknownProfilesList = (unknownProfilesList) => {
console.log(unknownProfilesList)
return{
type: 'SET_UNKNOWN_PROFILES_LIST',
payload: unknownProfilesList,
}
}
export const setMatchesList = (matchesList) => {
console.log(matchesList)
return{
type: 'SET_MATCHES_LIST',
payload: matchesList,
}
} | 25.277778 | 120 | 0.720147 |
2246a030ca55d9b0f02dcd21bd8c11ca2ee769ad | 733 | js | JavaScript | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | null | null | null | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | 14 | 2021-03-10T21:46:24.000Z | 2021-09-02T08:03:09.000Z | gulp/bundle/base.config.js | AlexanderSychev/frontend-boilerplate | 06811e96284bff9c57b64a29b3bf20aaddb6bd45 | [
"MIT"
] | null | null | null | 'use strict';
const TerserWebpackPlugin = require('terser-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const dirs = require('../../dirs');
const metadata = require('../metadata');
module.exports = {
mode: metadata.APP_ENV,
target: 'web',
optimization: {
usedExports: true,
minimizer: [
new TerserWebpackPlugin({}),
new OptimizeCSSAssetsPlugin({}),
],
},
context: dirs.ROOT,
node: {
__filename: true,
},
resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts'],
alias: {
'@components': dirs.COMPONENTS,
'@store': dirs.STORE,
},
},
}
| 23.645161 | 78 | 0.549795 |
22485e87aac78c4d8842773bcf1911ee947d7e45 | 273 | js | JavaScript | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | null | null | null | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | 1 | 2022-02-22T09:51:48.000Z | 2022-02-22T09:51:48.000Z | packages/vital-flowcontainer/tailwind.config.js | Asemirski/Bodiless-JS | e9dc1e55ed6f9d19dfa7d86375efd2b5ce5ca612 | [
"Apache-2.0"
] | null | null | null | import { getPackageTailwindConfig } from '@bodiless/fclasses';
const resolver = (pkgName) => require.resolve(pkgName);
const twConfig = {
content: [
'./lib/**/!(*.d).{ts,js,jsx,tsx}',
],
};
module.exports = getPackageTailwindConfig({
twConfig,
resolver,
});
| 18.2 | 62 | 0.652015 |
224970cf31ff6f5b2316293df1661a849d9305c4 | 500 | js | JavaScript | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | null | null | null | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | 3 | 2020-03-02T04:07:27.000Z | 2021-05-07T20:48:15.000Z | onlinejudge/360/2.js | ssydz/baseKnowledge | 2bc487e86a25eeb587227e87a84a27370ea1b7f1 | [
"MIT"
] | null | null | null | var n = readline();
for (var i = 0; i < n; i++) {
var nums = readline().split(' ');
var k = nums[0];
var l = nums[1];
var r = nums[2];
var count1 = 0;
var tmp = 0;
while (Math.floor(l / k)) {
count1++;
l = Math.floor(l / k);
}
tmp=Math.pow(k,++count1)-1;
if (tmp > r) {
print(l);
} else {
while (tmp <= r) {
tmp = Math.pow(k, ++count1) - 1;
}
tmp = (tmp + 1) / k - 1;
}
print(tmp);
}
| 17.857143 | 44 | 0.398 |
224a4cbe34a9cefc0a914643cbfb267132b2c745 | 2,328 | js | JavaScript | models/session.js | arxitics/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 23 | 2015-01-07T05:55:21.000Z | 2022-01-20T11:55:59.000Z | models/session.js | ozlvk/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 1 | 2022-01-20T11:57:19.000Z | 2022-01-20T12:45:56.000Z | models/session.js | ozlvk/arxiv-analytics | df0fd8a10287ea12676da09b0675fe414f1f772b | [
"MIT"
] | 12 | 2015-04-13T02:11:03.000Z | 2021-11-05T12:38:34.000Z | /**
* Session management.
*/
var account = require('./account');
var settings = require('../settings').session;
// Track the user's view history
exports.track = function (sess, req) {
var views = sess.views || [];
var maxViews = settings.maxViews;
var path = req.path;
if (/^\/(articles|reviews|users)\/([\w\.\/]*\d+)\/?$/.test(path)) {
var visited = views.some(function (view) {
if (view[0] === path) {
view[1] += 1;
return true;
}
return false;
});
if (!visited) {
views.unshift([path, 1]);
}
}
return views.slice(0, maxViews);
};
// Sampling requests data
exports.sampling = function (sess) {
var timestamp = Date.now() - (sess.uploaded || 0);
var requests = sess.requests || [[timestamp]];
var requestInterval = settings.intervals.request;
var last = requests.length - 1;
if (timestamp - requests[last][0] < requestInterval) {
requests[last][1] = timestamp;
} else {
requests.push([timestamp]);
}
return requests;
};
// Collect stats data
exports.collect = function (sess) {
var stats = sess.stats || {};
stats.requests = (stats.requests || 0) + 1;
stats.reputation = (stats.reputation || 0);
return stats;
};
// Upload session data
exports.upload = function (sess, callback) {
callback = (typeof callback === 'function') ? callback : function () {};
var requests = sess.requests || [];
var requestInterval = settings.intervals.request;
var submitInterval = settings.intervals.submit;
if (!requests.length || Date.now() - sess.uploaded < submitInterval) {
return callback(false);
} else {
var stats = sess.stats;
var elapsed = requests.reduce(function (sum, element) {
var value = (element.length === 2) ? element[1] - element[0] : 0;
return sum + Math.round(value / 1000);
}, 0);
var data = {
'stats.requests': stats.requests,
'stats.uptime': elapsed,
'stats.reputation': stats.reputation + Math.round(elapsed / 3600)
};
var uid = sess.uid;
account.update({'uid': uid}, {'$inc': data}, function (user) {
var success = false;
if (user) {
console.log('updated stats for user ' + uid + ' successfully');
success = true;
}
return (typeof callback === 'function') ? callback(success) : null;
});
}
};
| 29.1 | 74 | 0.606959 |
224a8e47bf9e8b8cdb01545b069b7b3199e4458c | 31,015 | js | JavaScript | vendors/cypress/MTB/psoc6/psoc6hal/docs/html/navtreeindex3.js | CarolinaAzcona/FreeRTOS | 912e08f9ed9c250b36aa22227bcf678d608b8bfd | [
"MIT"
] | 3 | 2020-09-06T15:46:14.000Z | 2021-06-03T13:36:03.000Z | docs/html/navtreeindex3.js | lizimu1711285081/psoc6hal | 72abdecad39f41b326a74f65591af09ce6aec224 | [
"Apache-2.0"
] | null | null | null | docs/html/navtreeindex3.js | lizimu1711285081/psoc6hal | 72abdecad39f41b326a74f65591af09ce6aec224 | [
"Apache-2.0"
] | 6 | 2020-04-06T19:01:21.000Z | 2021-02-25T15:49:49.000Z | var NAVTREEINDEX3 =
{
"group__group__hal__impl__opamp.html":[1,2,15],
"group__group__hal__impl__pdmpcm.html":[1,2,16],
"group__group__hal__impl__pin__package.html":[1,2,6],
"group__group__hal__impl__pin__package.html#gac30c50b470a38324d9a19057ac1eb0be":[1,2,6,19],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html":[1,2,6,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,11,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,2,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,12,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,13,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,3,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,14,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,15,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,16,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,17,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,4,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,18,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,5,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,6,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,7,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,0,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,8,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,9,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,1,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a01c7dc6cfa4fca67252a14571b98a3ff":[1,2,6,10,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,11,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,2,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,12,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,13,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,3,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,14,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,15,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,16,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,17,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,4,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,18,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,5,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,6,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,7,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,0,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,8,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,9,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,1,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a5c5b6367a94636f9811352bbbc69b1db":[1,2,6,10,0,0],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,11,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,2,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,12,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,13,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,3,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,14,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,15,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,16,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,17,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,4,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,18,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,5,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,6,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,7,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,0,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,8,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,9,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,1,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#a61f6033fdaae54a06ac8e63656b2a37a":[1,2,6,10,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,11,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,2,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,12,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,13,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,3,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,14,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,15,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,16,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,17,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,4,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,18,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,5,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,6,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,7,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,0,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,8,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,9,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,1,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ad4514be01ab83c7248c320b3232145c1":[1,2,6,10,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0155b73c36dce3c1a28846d3d01c078e":[1,2,6,0,43],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga015f256578abd5638668ff19b9dc89d5":[1,2,6,0,3],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga02ba168b99cd9f3d4178b1f3d2e22eee":[1,2,6,0,155],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga03427181b4d7a29e9c7f482f8c436273":[1,2,6,0,79],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga05a3560b9049d39b61751c45dc649030":[1,2,6,0,105],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0b7368f6b3dfe0b972f6a58a3a7174ef":[1,2,6,0,38],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0b8b12725b0956f40dcfda46798e9952":[1,2,6,0,96],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0dd5d5257d20835b097ba4e498fc6371":[1,2,6,0,15],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0e38361d0a8a6150cf1a16b26a47ffe3":[1,2,6,0,47],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0f0f9350eb43f7e1cea38f614789418d":[1,2,6,0,98],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0f9a428c6398f636cc2a2dac38bf697e":[1,2,6,0,66],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga0feb64e065d6caaab11b048a1136e7ea":[1,2,6,0,112],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga11bc3ff99fc3cf66e40540267965095b":[1,2,6,0,119],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga11d8acd35bdb1d3d380889f177b709f5":[1,2,6,0,127],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga131553fb27f8c291914ac59aae374e8f":[1,2,6,0,147],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1610ad96fda399a833d402e60ee9dee6":[1,2,6,0,67],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1650cca7df924c6d6666339af29d415c":[1,2,6,0,70],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga196250de6e22436b2a420644d14e7a50":[1,2,6,0,138],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1b4e982a6ea50d02eb3f9b93e99124f8":[1,2,6,0,115],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1df132e8e7b86dd893dab157391913fd":[1,2,6,0,128],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1e34a5031107cfb58ccf32d07474d841":[1,2,6,0,103],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga1e90214182084da73ab43d401d35eadf":[1,2,6,0,24],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga2095568584c3fb5eb0ad068f88a08760":[1,2,6,0,35],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga20bf75b3ca03d6349831c2534123e0fa":[1,2,6,0,30],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga20ff8d7878bb6868b15de20d594b3964":[1,2,6,0,36],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga21e7cb5c4b8b30c1edeb3354cec5a201":[1,2,6,0,57],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga23834b75096dc398c4d4fbc3b5ef7a03":[1,2,6,0,52],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga2434800ef1e7b6b3e368b66818d0bf9a":[1,2,6,0,109],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga257491cdc4a44a0fda7933b0b2ec46ee":[1,2,6,0,32],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga2a6c03c305ec93e487644037cd689074":[1,2,6,0,141],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga2c5b302e5e14bbdab38ee02e15334d10":[1,2,6,0,134],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga2f418134c4eb6449675af339d2191ca3":[1,2,6,0,75],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga31f6837196fd1fb247c3f923468ee5cc":[1,2,6,0,146],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga324ef002cfa7b5f18f1513c155114cfc":[1,2,6,0,8],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga3415197ad8dd530cdb1397b555a26ef0":[1,2,6,0,74],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga354b8315a3e51e24e1cb8c85c5d09e39":[1,2,6,0,117],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga378664a41ec7e92635dabd81dff171b1":[1,2,6,0,142],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga37a1055f68e2ba923dde408cc8a7d4a8":[1,2,6,0,108],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga39d58fd67e65df52777e1d46214e2c3f":[1,2,6,0,5],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga3c9ce6350bc5c02bb97df5040ca8b6e6":[1,2,6,0,154],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga3ce79b9943f8ab0a071b6cd4f7826de9":[1,2,6,0,64],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga3dc7c8d9460969091fc2f92eecb4e476":[1,2,6,0,87],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga3ed170d9921099f5dfbc0577b3060fe8":[1,2,6,0,44],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga417db842a798d971cbb8489114474d2d":[1,2,6,0,49],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga4359b98372862b0e37d5209bb399a457":[1,2,6,0,123],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga44dfdeb52f54ec72c72f8b6ddc2bd28e":[1,2,6,0,26],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga46a92a6e5b40279db56c50f6383b0c63":[1,2,6,0,63],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga487c0366c56db45f80bfa6cb7303e93b":[1,2,6,0,84],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga49f75cc704e19414402efdd2fe170495":[1,2,6,0,120],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga4b571072be4a24c2623d089a3806dd02":[1,2,6,0,54],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga4bfcb89ac0debaebe772a7e08e3c978b":[1,2,6,0,93],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga4da3ab29d709603578d183c6759af13e":[1,2,6,0,91],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga52e2f9e958d57d321e2243f57423a8c1":[1,2,6,0,135],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga53214b963103020404b40defabdf2ef7":[1,2,6,0,95],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga53cd66d4f38ac495be20aafe07468585":[1,2,6,0,4],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga53d5f829426010ac6a604b548b62b78f":[1,2,6,0,97],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga54b48e11852fc4994251dbd3669a4933":[1,2,6,0,71],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga5a1a14aa220e63acac20c4dfc9b5ad5f":[1,2,6,0,137],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga5cce17bcdf0eb536d079f4a698b807c0":[1,2,6,0,92],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga5ce12047a77a154c46dcee060ea0a926":[1,2,6,0,122],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga60c38d1ee03a1477cc55c23607620671":[1,2,6,0,86],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga614cbdcadc7ceb0a154df9770456ba06":[1,2,6,0,60],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga61898ffb81ac872174375500a7ffb7d3":[1,2,6,0,18],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga63377551ffe0293e4f4828e9dcd23fbd":[1,2,6,0,118],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga6530f983a4331a4fad65074cb5cd596c":[1,2,6,0,125],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga67a486e3c3942498f6e545301ecdca32":[1,2,6,0,62],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga6a946dbc62a3caf3017830f771bee583":[1,2,6,0,16],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga6af64a8a5a49301c522030ca552c3855":[1,2,6,0,19],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga6b5a0a7d4efcdd544ce7c02beb1539e8":[1,2,6,0,23],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga707195ce0627016bf371643bdd9caa51":[1,2,6,0,81],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga7266876b104bc8e839114fff692f96a7":[1,2,6,0,61],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga771b49d6a6568fe8ce7570e9b09ccff9":[1,2,6,0,149],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga7a9867472e2b3ff245eaed06a736836e":[1,2,6,0,113],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga7c3de111f3e70546a4f6c536357ad932":[1,2,6,0,73],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga7d40983581a0d307b3a4d24982084800":[1,2,6,0,144],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga7fb03711800547eb8606c5cf80276ed4":[1,2,6,0,85],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga83fb4570c24c16b8b6ec802d5e522808":[1,2,6,0,157],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga84850b23190db3bac87503809083e7c0":[1,2,6,0,40],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga858dad6e5e4fef6667024596335b8773":[1,2,6,0,31],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga85abe5e9c6c5383180c49c6ba5a6df1e":[1,2,6,0,139],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga8701f3d8a0895a2c09410ec7607d6a84":[1,2,6,0,9],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga888a1077503397ce54dce4535610eed8":[1,2,6,0,94],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga89fdf315a2a33e4d87146ce8d6f64a7d":[1,2,6,0,69],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga8d41ec91abdcddb2a9baef178a478585":[1,2,6,0,42],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga8ed4a76db1100ac573703f62989381ee":[1,2,6,0,7],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga8f4ef92386292446c721a8f3f1d38f54":[1,2,6,0,130],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga90d588859bafd8ecf06a9758e767b73a":[1,2,6,0,156],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga915fbd6fc1818ab78b7ae04a30914e3b":[1,2,6,0,25],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9206aa45ce42a70e93b8da8ff79fc72c":[1,2,6,0,51],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9427f019238afbf11bc0b7a8a2bb5a00":[1,2,6,0,111],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9490859f9d77b67684652774a2a974bb":[1,2,6,0,14],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga98957fb15c8e59c3d1c9d13730bdf737":[1,2,6,0,129],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga997cf7b4d0c1ad858f68d5bfb5af204e":[1,2,6,0,13],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9a76d03fdd8563bca0941ad90e5400cc":[1,2,6,0,55],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9abaa1bc8979dd021b5a22e876565353":[1,2,6,0,77],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9b6a19a5c0454077a30a9559a873d3cc":[1,2,6,0,132],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9d41dad1af8d1aa70f659cf2cb6c154b":[1,2,6,0,90],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9d77a85ca111c580ea392acca63575dc":[1,2,6,0,136],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#ga9e6da60bc49525861d4c3c14ba3e361e":[1,2,6,0,107],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaa21cf5509e49e94f6cf4cceb3eee97e0":[1,2,6,0,27],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaa8dec54523f39386fc39597ed53d9d14":[1,2,6,0,72],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaa951915afd44e644de2aded831c145fe":[1,2,6,0,45],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaa9ae324bc192b96dee40703ee1b7947d":[1,2,6,0,68],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaad5e15237798fe8d3275f878426933b7":[1,2,6,0,150],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaad781e5bc0ad0ffe90e7f4b99bdd4c2e":[1,2,6,0,53],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gab84e02dc060e86505aba9547a4c8ea0a":[1,2,6,0,20],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gab99bfe3c0c19201941c4d5709abf779f":[1,2,6,0,153],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gabd225f5bfc118ba66eea847c18866c2c":[1,2,6,0,121],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gabde63fef7edf4453ccf8d85b34ddc84c":[1,2,6,0,78],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gac1288eb6a6833249029c0de7120f6ef7":[1,2,6,0,58],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gac1e877a8bd93ee6996d8c923d9f82c96":[1,2,6,0,17],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gac710166dd71dd3647273391f43498468":[1,2,6,0,46],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gac7b7cce8fdf09e451d2b74ce77bd743f":[1,2,6,0,100],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gacad95701fc570accfbf728c655cb2abf":[1,2,6,0,83],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gacb40861b7cbbd9734db5a769cb1a5864":[1,2,6,0,33],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gacc056cc6a80d1db085c18245f6f94e77":[1,2,6,0,82],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gace25c28098c7a00d0713090f6c2d78dd":[1,2,6,0,11],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad29c4248430c8f6e8d78ad8f644b1e5c":[1,2,6,0,152],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad2b2bd62e26a26fcefccf55e50149638":[1,2,6,0,50],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad4009fbd2a474d74110fc47939049d4f":[1,2,6,0,99],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad482ca0575055b7ec0f0625624e39f08":[1,2,6,0,89],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad5159b26b90f82320d16cba11158e4b7":[1,2,6,0,39],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad6c26e1e924f649a61868d7d05be315e":[1,2,6,0,110],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad7b326b6b0827bfc5f3702f33db01b68":[1,2,6,0,76],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad8099ffd9c654858187dabd376468c35":[1,2,6,0,124],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad86dbc677fa141b1aae7a753e1c11c8d":[1,2,6,0,10],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad8a3a02dc7309edc9da67c4a39cb8062":[1,2,6,0,34],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad8cc77365deff1072796431c5a4dc299":[1,2,6,0,114],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad911ae2ea7a6a6b6947f21a3e6fad5c4":[1,2,6,0,116],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gad92a5fd297f6dedf51184d38a52e7e40":[1,2,6,0,151],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gada8c9c8f501e07f7dc87c653bc671bd7":[1,2,6,0,29],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gadb5b491519282e56a0aacd0a6c8b8555":[1,2,6,0,37],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gadba1e1bf0cb3c391f00cf5c1c0f1e011":[1,2,6,0,59],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gadbcb21726bedc8b2e4f1bb2e0235035d":[1,2,6,0,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gadd1c0dd1b083ff649d7831ab0b219484":[1,2,6,0,126],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaddd3ab72374b175648e470435ae8dab1":[1,2,6,0,140],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gadfcf8a7b9bf5b45c78d9697beeaa7049":[1,2,6,0,41],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gae0af2ee8c5a2a2e6661962b368d1f2ba":[1,2,6,0,2],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gae0ba4b8191d0ce260e08fca914553439":[1,2,6,0,145],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gae5d141fa4eb401f82206ea95a7834d7c":[1,2,6,0,56],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gae6c654017f88c066fb101274c8f1c49d":[1,2,6,0,133],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaea507b7699c90114359fc97293f47e56":[1,2,6,0,28],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaed800ce0b563a59c39505058143ee297":[1,2,6,0,148],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaedd5029acc30980c78d415825f1105a6":[1,2,6,0,12],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaef799bf2a77c1987696f8dc6c15f83d4":[1,2,6,0,106],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf171920cf4ac1ff4309f77ca76035767":[1,2,6,0,80],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf37787b6284f936089be79e716fab8ab":[1,2,6,0,22],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf37e44cf209198b56cf7d391f07140a1":[1,2,6,0,65],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf5988f7edd3a8d5a4e3f07b1c0b41aa5":[1,2,6,0,88],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf5bff5af66a11102c3d41e305bc1dac3":[1,2,6,0,6],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf66658044af2d160dd6b31f4cd7a069c":[1,2,6,0,131],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf6b1f806a6e6ac899f9e5af2ae8d4434":[1,2,6,0,101],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf6ddf64426e34b5b0cf4a7bb06605b46":[1,2,6,0,143],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gaf78a2df048d14c987cceedb500ae5f6b":[1,2,6,0,102],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gafcd2299af4cfef8ccca801f5f6c2725a":[1,2,6,0,21],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gafd834012438eb6768e4c51fb76334051":[1,2,6,0,104],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gafe6322fef2fca67040ce82c97d72d5ab":[1,2,6,0,48],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a03d2dd144727710aa3078b5b2736a9b6":[1,2,6,0,81,25],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a0db0c6042c3ddaa4549286faf95bed5a":[1,2,6,0,81,37],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a0f9a317a819e897205a978d5521457af":[1,2,6,0,81,59],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a21e56d1f2d4d8b0b5e9c64479b91181b":[1,2,6,0,81,36],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a23d505c049c81443b12e53d5b00b1be9":[1,2,6,0,81,1],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a2712fb6be5ef97fd9f5a9b42baaf5f05":[1,2,6,0,81,10],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a29c9b6fc101ca6d6ac8873965b27b0fa":[1,2,6,0,81,31],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a2b42f6ebe228e231b10f05e2b9516000":[1,2,6,0,81,30],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a2f03e90ec98878f7c0550e1271d88c72":[1,2,6,0,81,38],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a314f040c789cfa222f71ac693d4634b3":[1,2,6,0,81,22],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a34c6ce6d703f417ba3a222a743037ceb":[1,2,6,0,81,61],
"group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble.html#gga707195ce0627016bf371643bdd9caa51a35883541a1c95809121c4481e02b3d24":[1,2,6,0,81,60]
};
| 122.106299 | 159 | 0.892504 |
224af565da901a55270d42647fad7db2ea1af2dd | 2,242 | js | JavaScript | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | null | null | null | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | null | null | null | sleep-tracker/src/components/signup/SignupConfirm.js | buildweek-sleeptracker3/frontend | 10186d78004b63c730f5e43e7dfcea926e2fb4b1 | [
"MIT"
] | 1 | 2020-04-29T22:56:13.000Z | 2020-04-29T22:56:13.000Z | import React from 'react'
import {Link} from 'react-router-dom'
import styled from 'styled-components'
const Confirmation = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height:100vh;
padding: 5px;
background-color: #121212;
h1{
color: #39859D;
text-align: center;
}
h3{
color: #A7A7A7;
}
div{
display: flex;
flex-direction: column;
justify-content: flex-start;
width: 260px;
p{
box-sizing: border-box;
width:100%;
background-color: #232323;
border-radius: 10px;
height: 35px;
padding:3%;
color: #E5EFF2;
}
span{
color: #39859D;
font-weight: bold;
border-bottom: 2px solid #39859D;
}
}
button{
width: 175px;
height: 35px;
font-size: 1.2rem;
border: 5px, solid, #25859D;
border-radius: 10px;
background-color: #39859D;
color: #E5EFF2;
&:hover{
border: 3px solid white;
font-size: 1.3rem;
font-weight: bold;
height: 45px;
}
}
`
const SignupConfirm = props => {
return(
<Confirmation>
<h1>Thank You For Siging Up!</h1>
<h3>Your Profile Details Are Below</h3>
<div className='userDetials'>
<p><span>Name:</span> {props.data.first_name} {props.data.last_name}</p>
<p><span>Age:</span> {props.data.age}</p>
<p><span>Email:</span> {props.data.email}</p>
<p><span>Username:</span> {props.data.username}</p>
</div>
<br />
<Link to='/login'>
<button>Login</button>
</Link>
</Confirmation>
)
}
export default SignupConfirm | 25.477273 | 95 | 0.4438 |
224bf349690bff6d568d6bc217b15e04b32c3f25 | 1,421 | js | JavaScript | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | 6 | 2021-05-05T14:10:23.000Z | 2022-03-25T10:51:25.000Z | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | null | null | null | index.js | AndreaGennaioli/Youtube-Playlist-Downloader | e29f506da9cd7f15a718a5ca94dc95122be7e412 | [
"MIT"
] | 3 | 2021-05-18T03:38:05.000Z | 2022-02-01T17:14:00.000Z | const config = require('./config.json');
const ytdl = require('ytdl-core');
const fs = require('fs');
const path = require('path');
const { google } = require('googleapis');
const youtube = google.youtube('v3');
const sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms))
}
let playlistID = config.playlistURL.substring('https://www.youtube.com/playlist?list='.length)
youtube.playlistItems.list({
key: config.apiKey,
part: 'id,snippet',
playlistId: playlistID,
maxResults: 200,
}, async (err, results) => {
if (err) return console.log(err.message)
let data = results.data.items;
for (let video of data) {
try {
await new Promise((resolve, reject) => {
console.log(`Downloading: ${video.snippet.title}`)
let file = ytdl(`https://www.youtube.com/watch?v=${video.snippet.resourceId.videoId}`, {
format: 'mp4'
}).pipe(fs.createWriteStream(path.join(__dirname, config.downloadDir, `${video.snippet.title}.mp4`)));
file.on('error', err => {
console.log('\x1b[32m', `x Error Downloading: ${video.snippet.title}`)
console.log("\x1b[0m", '\n')
reject()
})
file.on('close', () => {
console.log("\x1b[32m", `! Downloaded: ${video.snippet.title}`);
console.log("\x1b[0m", '\n')
resolve()
})
})
} catch (err) {
console.log('\x1b[42m', `x Error Downloading: ${video.snippet.title}`)
console.log("\x1b[0m", '\n')
}
}
}); | 29.604167 | 106 | 0.632653 |
224cd637af816a1e640bc012e935c742299fbbdd | 320 | js | JavaScript | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 1 | 2017-09-07T09:55:31.000Z | 2017-09-07T09:55:31.000Z | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 24 | 2016-11-11T09:48:44.000Z | 2022-02-17T14:19:03.000Z | models/UserDocumentCount.js | uk-gov-mirror/ukforeignoffice.loi-payment-service | 245043169a7832e4c11af2a4949b9d08161e50df | [
"MIT"
] | 2 | 2017-08-01T10:02:16.000Z | 2021-04-11T08:54:15.000Z |
module.exports = function(sequelize, DataTypes) {
return sequelize.define('UserDocumentCount', {
application_id:{
type: DataTypes.INTEGER
},
doc_count:{
type: DataTypes.INTEGER
},
price:{
type: DataTypes.INTEGER
}
});
};
| 15.238095 | 50 | 0.515625 |
224d089a31a490333d3147e813343a154a937fae | 5,843 | js | JavaScript | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 14 | 2019-02-07T00:15:10.000Z | 2021-01-27T03:22:15.000Z | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 4 | 2020-03-14T05:42:18.000Z | 2021-10-05T19:55:33.000Z | dist/bidders/bidder-95.js | webdeveloperpr/react-gpt-prebid-ads | fbbebe386cc86e6d23601f0d21ddc03d2e286048 | [
"MIT"
] | 4 | 2019-02-07T00:15:19.000Z | 2020-04-07T08:55:32.000Z | (window.webpackJsonpreact_ads=window.webpackJsonpreact_ads||[]).push([[95],{272:function(e,t,n){"use strict";n.r(t);var i=n(281),a=n(285),r=n(290),o=n(282),s=n(288),u=n(277);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var d,p,l={bids:[]},y=c(Object(a.a)({emptyUrl:"",analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;void 0!==n&&(t===o.EVENTS.BID_TIMEOUT?n.forEach((function(e){f(e,"timeout")})):t===o.EVENTS.AUCTION_INIT?(l.auctionInit=n,p=n.timestamp):t===o.EVENTS.BID_REQUESTED?function(e){var t=[];void 0!==e.bids&&e.bids.length&&e.bids.forEach((function(n){t.push({bidderCode:n.bidder,bidId:n.bidId,adUnitCode:n.adUnitCode,requestId:n.bidderRequestId,auctionId:n.auctionId,transactionId:n.transactionId,sizes:u.parseSizesInput(n.mediaTypes.banner.sizes).toString(),renderStatus:1,requestTimestamp:e.auctionStart})}));return t}(n).forEach((function(e){l.bids.push(e)})):t===o.EVENTS.BID_RESPONSE?f(n,"response"):t===o.EVENTS.BID_WON&&T({bidWon:f(n,"win")},"won")),t===o.EVENTS.AUCTION_END&&T(l,"auctionEnd")}});function f(e,t){if("win"!==t)c(l.bids.filter((function(t){return t.bidId==e.bidId||t.bidId==e.requestId}))[0],{bidderCode:e.bidder,bidId:"timeout"==t?e.bidId:e.requestId,adUnitCode:e.adUnitCode,auctionId:e.auctionId,creativeId:e.creativeId,transactionId:e.transactionId,currency:e.currency,cpm:e.cpm,netRevenue:e.netRevenue,mediaType:e.mediaType,statusMessage:e.statusMessage,status:e.status,renderStatus:"timeout"==t?3:2,timeToRespond:e.timeToRespond,requestTimestamp:e.requestTimestamp,responseTimestamp:e.responseTimestamp});else if("win"==t)return{bidderCode:e.bidder,bidId:e.requestId,adUnitCode:e.adUnitCode,auctionId:e.auctionId,creativeId:e.creativeId,transactionId:e.transactionId,currency:e.currency,cpm:e.cpm,netRevenue:e.netRevenue,renderedSize:e.size,mediaType:e.mediaType,statusMessage:e.statusMessage,status:e.status,renderStatus:4,timeToRespond:e.timeToRespond,requestTimestamp:e.requestTimestamp,responseTimestamp:e.responseTimestamp}}function T(e,t){var n=u.getWindowLocation();void 0!==e&&void 0!==e.auctionInit&&(e.auctionInit=c({host:n.host,path:n.pathname,search:n.search},e.auctionInit)),e.initOptions=d;var a=s.a({protocol:"https",hostname:"analytics-prebid.yuktamedia.com",pathname:"auctionEnd"==t?"/api/bids":"/api/bid/won",search:{auctionTimestamp:p,yuktamediaAnalyticsVersion:"v2.0.0",prebidVersion:pbjs.version}});Object(i.a)(a,void 0,JSON.stringify(e),{method:"POST",contentType:"text/plain"})}y.originEnableAnalytics=y.enableAnalytics,y.enableAnalytics=function(e){d=e.options,y.originEnableAnalytics(e)},r.default.registerAnalyticsAdapter({adapter:y,code:"yuktamedia"}),t.default=y},285:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n(282),a=n(281);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=n(289),u=n(277),c=i.EVENTS,d=c.AUCTION_INIT,p=c.AUCTION_END,l=c.REQUEST_BIDS,y=c.BID_REQUESTED,f=c.BID_TIMEOUT,T=c.BID_RESPONSE,b=c.NO_BID,v=c.BID_WON,m=c.BID_ADJUSTMENT,I=c.BIDDER_DONE,g=c.SET_TARGETING,E=c.AD_RENDER_FAILED,h=c.ADD_AD_UNITS;function S(e){var t,n=e.url,i=e.analyticsType,c=e.global,S=e.handler,A=[],_=0,N=!0;return function(){if(N){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},N=!1}u.logMessage("event count sent to ".concat(c,": ").concat(_))}(),{track:function(e){var t=e.eventType,n=e.args;"bundle"===this.getAdapterType()&&window[c](S,t,n);"endpoint"===this.getAdapterType()&&D.apply(void 0,arguments)},enqueue:q,enableAnalytics:O,disableAnalytics:function(){u._each(t,(function(e,t){s.off(t,e)})),this.enableAnalytics=this._oldEnable?this._oldEnable:O},getAdapterType:function(){return i},getGlobal:function(){return c},getHandler:function(){return S},getUrl:function(){return n}};function D(e){var t=e.eventType,i=e.args,r=e.callback;Object(a.a)(n,r,JSON.stringify({eventType:t,args:i}))}function q(e){var t=e.eventType,n=e.args,i=this;c&&window[c]&&t&&n?this.track({eventType:t,args:n}):A.push((function(){_++,i.track({eventType:t,args:n})}))}function O(e){var n,i=this,a=this;"object"!==o(e)||"object"!==o(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling))?(s.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==f&&q.call(a,{eventType:t,args:n})}})),r(n={},l,(function(e){return i.enqueue({eventType:l,args:e})})),r(n,y,(function(e){return i.enqueue({eventType:y,args:e})})),r(n,T,(function(e){return i.enqueue({eventType:T,args:e})})),r(n,b,(function(e){return i.enqueue({eventType:b,args:e})})),r(n,f,(function(e){return i.enqueue({eventType:f,args:e})})),r(n,v,(function(e){return i.enqueue({eventType:v,args:e})})),r(n,m,(function(e){return i.enqueue({eventType:m,args:e})})),r(n,I,(function(e){return i.enqueue({eventType:I,args:e})})),r(n,g,(function(e){return i.enqueue({eventType:g,args:e})})),r(n,p,(function(e){return i.enqueue({eventType:p,args:e})})),r(n,E,(function(e){return i.enqueue({eventType:E,args:e})})),r(n,h,(function(e){return i.enqueue({eventType:h,args:e})})),r(n,d,(function(t){t.config="object"===o(e)&&e.options||{},i.enqueue({eventType:d,args:t})})),t=n,u._each(t,(function(e,t){s.on(t,e)}))):u.logMessage('Analytics adapter for "'.concat(c,'" disabled by sampling'));this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return u.logMessage('Analytics adapter for "'.concat(c,'" already enabled, unnecessary call to `enableAnalytics`.'))}}}}}]); | 5,843 | 5,843 | 0.73541 |
224d5b4c6f3392720d3301ee73c21bfcd4fd7ad1 | 181 | js | JavaScript | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | 1 | 2017-02-23T18:55:06.000Z | 2017-02-23T18:55:06.000Z | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | null | null | null | tests/dummy/app/pods/invoices/route.js | parablesoft/ember-invoicing | 90c60579c5c58dff9f57d2dc62e785ee29f3a14a | [
"MIT"
] | null | null | null | import Ember from "ember";
import InvoiceListRoute from "ember-invoicing/mixins/invoice-list-route";
const {RSVP,Route} = Ember;
export default Route.extend(InvoiceListRoute,{
});
| 25.857143 | 73 | 0.779006 |
224d77c3c24d4fab51b2b4de0aa3726f5a57615d | 81 | js | JavaScript | App/Config/index.dev.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | null | null | null | App/Config/index.dev.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | 4 | 2019-12-30T03:55:56.000Z | 2021-05-10T17:54:14.000Z | App/Config/index.staging.js | tientnvn/interview-exercise-react-native | 76d3063a756b67347a988eee1fd3e3ae0ea0e182 | [
"MIT"
] | null | null | null | export const Config = {
API_URL: 'https://randomuser.me/api/0.4/?randomapi',
}
| 20.25 | 54 | 0.679012 |
224da37d9eb063d6c3ac98c73853ad3e6b09208c | 1,639 | js | JavaScript | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | utils/typography.js | agoldenduck/agoldenduck.github.io | a2e0c0770f1aa13503fc35c043b19f4861171095 | [
"MIT"
] | null | null | null | import ReactDOM from 'react-dom/server';
import React from 'react';
import Typography from 'typography';
import { GoogleFont } from 'react-typography';
// import styles from '../pages/styles.css';
const options = {
googleFonts: [
{
name: 'Source Code Pro',
styles: [
'300',
'400',
'700',
],
},
{
name: 'Source Sans Pro',
styles: [
'400',
'400i',
'700',
],
},
{
name: 'Raleway',
styles: [
'400',
],
},
],
headerFontFamily: ['Raleway', 'sans-serif'],
headerWeight: '400',
bodyFontFamily: ['Source Sans Pro', 'sans-serif'],
bodyWeight: '400',
baseFontSize: '20px',
baseLineHeight: 1.65,
scaleRatio: 3,
// plugins: [
// new CodePlugin(),
// ],
overrideStyles: () => ({
pre: {
background: '#FBFBF8',
fontFamily: ['Source Code Pro', 'monospace'].join(','),
fontWeight: 400,
},
code: {
fontFamily: ['Source Code Pro', 'monospace'].join(','),
fontWeight: 400,
},
'.markdown': {
paddingBottom: rhythm(1)
}
}),
};
const typography = new Typography(options);
export const rhythm = typography.rhythm;
// Hot reload typography in development.
if (process.env.NODE_ENV !== 'production') {
typography.injectStyles();
if (typeof document !== 'undefined') {
const googleFonts = ReactDOM.renderToStaticMarkup(
React.createFactory(GoogleFont)({ typography }),
);
const head = document.getElementsByTagName('head')[0];
head.insertAdjacentHTML('beforeend', googleFonts);
}
}
export default typography;
| 21.565789 | 61 | 0.575961 |
224dddeaf9a6dba74fcfbc8db946d72f649472c4 | 723 | js | JavaScript | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 3 | 2018-11-11T01:48:20.000Z | 2019-12-02T06:13:14.000Z | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | 1 | 2019-02-21T05:59:35.000Z | 2019-02-21T21:57:57.000Z | lib/TwoToneLeakAdd.js | eugeneilyin/mdi-norm | e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4 | [
"MIT"
] | null | null | null | "use strict";
var _babelHelpers = require("./utils/babelHelpers.js");
exports.__esModule = true;
var _react = _babelHelpers.interopRequireDefault(require("react"));
var _Icon = require("./Icon");
var _fragments = require("./fragments");
var TwoToneLeakAdd =
/*#__PURE__*/
function TwoToneLeakAdd(props) {
return _react.default.createElement(_Icon.Icon, props, _react.default.createElement("path", {
d: "M18 21h3v-3" + _fragments.fj + "zM3 14c6.08 0 11-4.93 11-11h-2c0 4.97-4.03 9-9 9zm11 7h2" + _fragments.uj + "v-2c-3.87 0-7 3.13-7 7zM3 10c3.87 0 7-3.13 7-7H8c0 2.76-2.24 5-5 5zm7 11h2c0-4.97 4.03-9 9-9v-2c-6.07 0-11 4.93-11 11zM3 3v3" + _fragments.la + "z"
}));
};
exports.TwoToneLeakAdd = TwoToneLeakAdd; | 34.428571 | 264 | 0.699862 |
224ff2f5e20fc166de6c118ac404351a93033ae6 | 304 | js | JavaScript | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | test/browser/proxy.js | lachrist/aran-lite | 18ba75709bdf79c52e83400a8cff687bef77670f | [
"MIT"
] | null | null | null | const proxy = require("../../browser/proxy.js")("../analysis.js", {
"ca-home": "../../../otiluke/browser/ca-home"
});
proxy.on("request", require("../request-handler.js"));
proxy.on("error", (error, location, target) => {
console.log(error.message+" at "+location);
});
proxy.listen(process.argv[2]); | 38 | 67 | 0.625 |
22501128914017380942768869e87baa345ff8cb | 7,886 | js | JavaScript | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 2 | 2021-01-26T02:13:39.000Z | 2021-08-09T02:08:26.000Z | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 20 | 2020-10-19T15:39:44.000Z | 2021-11-01T14:17:43.000Z | src/App.js | hashmapinc/snowflake-healthcheck | b149f5f5b5b4f4579e88afde639f9dd422866dea | [
"Apache-2.0"
] | 2 | 2021-01-26T02:13:40.000Z | 2021-03-14T21:17:26.000Z | import React, { Component } from 'react';
import PageNavbar from './Components/PageNavbar.js';
import GraphTab from './Components/GraphTab.js';
//import HubspotFormNavbar from './Components/HubspotFormNavbar.js'
import Cookies from 'js-cookie';
//import HubspotForm from './Components/HubspotForm.js';
import * as Papa from 'papaparse';
import './main.css'
import './App.css';
//import { Container } from 'react-bootstrap';
class App extends Component {
// Parent Component that contains the main page content
constructor() {
super();
this.handleSubmit = this.handleSubmit.bind(this);
this.handleInputChange = this.handleInputChange.bind(this);
this.handleModalOpen = this.handleModalOpen.bind(this);
this.handleModalClose = this.handleModalClose.bind(this);
this.updateData = this.updateData.bind(this);
this.handleCopyToClipboard = this.handleCopyToClipboard.bind(this);
this.state = {
formSubmitCookie: Cookies.get('_hs_form_submitted'),
cookieConsent: Cookies.get('hubspotutk'),
file_name: null,
file: null,
localData: null,
showModal: false,
warehouse_health_data: null,
warehouse_usage_data: null,
database_datasize_data: null,
table_active_storage_data: null,
top10_most_accessed_objects_data: [],
bottom10_least_accessed_objects_data: [],
power_users_data: [],
csvHeader: null,
clipboardButtonText: "Copy to clipboard"
};
}
// Used to fetch local data
componentDidMount() {
this.getLocalCsvData();
}
fetchLocalCsv() {
return fetch('/data/default_data.csv', {
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
}).then(function (response) {
let reader = response.body.getReader();
let decoder = new TextDecoder('utf-8');
return reader.read().then(function (result) {
return decoder.decode(result.value);
});
});
}
async getLocalCsvData() {
let localCsvData = await this.fetchLocalCsv();
Papa.parse(localCsvData, { complete: this.updateData });
}
// handles copy to clipboard text change on button click
handleCopyToClipboard() {
this.setState({
clipboardButtonText: "Copied!"
})
}
// used to get uploaded data
handleModalOpen() {
this.setState({
showModal: true
});
}
handleModalClose() {
this.setState({
showModal: false,
file_name: "Download your query results as a CSV and upload here",
clipboardButtonText: "Copy to clipboard"
})
}
handleInputChange(e) {
this.setState({
file_name: e.target.files[0].name,
file: e.target.files[0]
});
console.log(this.state.file_name);
}
handleSubmit(e) {
this.setState({
csvHeader: null
})
e.preventDefault();
const form = e.currentTarget;
if (form.checkValidity() === false) {
e.stopPropagation();
e.preventDefault();
};
const { file } = this.state;
Papa.parse(file, { complete: this.updateData });
}
// used for both local and uploaded data
updateData(result) {
let data = result.data;
this.setState({
csvHeader: data[0]
});
if (this.state.csvHeader[0] === "HEALTHCHECK_V1") {
// removes header that doesn't contain data
const updated_data = data.slice(1);
let clean_data = [];
try {
clean_data = updated_data.map(x => JSON.parse(x[0]));
} catch (error) {
console.log("Error ", error);
console.log("Result ", result);
console.log("Data ", updated_data);
alert("Please reload the page. The default graphs did not load.");
};
// NOTE: The value for 'type' is *case-sensitive*
this.setState({
warehouse_health_data: clean_data.filter(x => x.type === "warehouse_health"),
warehouse_usage_data: clean_data.filter(x => x.type === "warehouse_usage"),
database_datasize_data: clean_data.filter(x => x.type === "database_usage"),
table_active_storage_data: clean_data.filter(x => x.type === "table_active_storage"),
top10_most_accessed_objects_data: clean_data.filter(x => x.type === "most_accessed_objects"),
bottom10_least_accessed_objects_data: clean_data.filter(x => x.type === "least_accessed_objects"),
power_users_data: clean_data.filter(x => x.type === "power_users")
});
this.handleModalClose();
} else {
this.setState({
file_name: "Please upload the .csv file with your query results"
});
}
}
render() {
// checks to see if the user consented to cookies and also successfully submitted the form
// conditionally shows main page content or the hubspot form
//DAH: PUT THIS BACK IN ONCE HUBSPOT FIXES THE SCRIPT ISSUE WITH CSP.
//if (this.state.formSubmitCookie && this.state.cookieConsent) {
return (
<div className="container">
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=yes" />
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.3/build/pure-min.css"
integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ" crossOrigin="anonymous" />
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<PageNavbar
file_name={this.state.file_name}
handleSubmit={this.handleSubmit}
handleInputChange={this.handleInputChange}
handleModalClose={this.handleModalClose}
handleModalOpen={this.handleModalOpen}
showModal={this.state.showModal}
clipboardButtonText={this.state.clipboardButtonText}
handleCopyToClipboard={this.handleCopyToClipboard}
/>
<GraphTab
database_datasize_data={this.state.database_datasize_data}
warehouse_health_data={this.state.warehouse_health_data}
warehouse_usage_data={this.state.warehouse_usage_data}
table_active_storage_data={this.state.table_active_storage_data}
top10_most_accessed_objects_data={this.state.top10_most_accessed_objects_data}
bottom10_least_accessed_objects_data={this.state.bottom10_least_accessed_objects_data}
power_users_data={this.state.power_users_data}
/>
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/4376150.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossOrigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossOrigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossOrigin="anonymous"></script>
</div>
)
/*} else {
return (
<Container fluid>
<HubspotFormNavbar />
<HubspotForm />
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossOrigin="anonymous"></script>
</Container>
)
}*/
}
}
export default App;
| 36.009132 | 123 | 0.665103 |
2250759e3091c876bd9f36500549d8aa43072a2d | 674 | js | JavaScript | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | routes/index.js | bartlomiej-zdrojewski/involve-backup | a953d8d14620674350980e3c8df9296f598f3a35 | [
"Apache-2.0"
] | null | null | null | const express = require('express'),
path = require('path');
const router = express.Router();
router.use((req, res, next) => {
res.data = res.data || {};
res.data.notifications = req.notifications;
next();
});
router.use('/user', require(path.join(__dirname, 'user')));
router.use('/project', require(path.join(__dirname, 'project')));
router.use('/team', require(path.join(__dirname, 'project/team')));
router.use('/recruitment', require(path.join(__dirname, 'project/recruitment')));
router.use('/reports', require(path.join(__dirname, 'project/reports')));
router.use('/profile', require(path.join(__dirname, 'profile')));
module.exports = router;
| 33.7 | 82 | 0.676558 |
2251598eb189d0b85055d4f3bd4bc6d172900927 | 7,901 | js | JavaScript | client/src/pages/CookiesPolicy.js | aleksandra-b-t/FightPandemics | 7ad430f2ede42e39c52ed111448121a4ae414cd2 | [
"MIT"
] | 135 | 2020-04-13T19:17:36.000Z | 2021-11-14T19:55:55.000Z | client/src/pages/CookiesPolicy.js | ddveloper/FightPandemics | 75946d86a8a6bf7cd11e8c93303fc0fff35058a4 | [
"MIT"
] | 2,102 | 2020-04-13T03:19:56.000Z | 2022-02-21T10:29:03.000Z | client/src/pages/CookiesPolicy.js | ddveloper/FightPandemics | 75946d86a8a6bf7cd11e8c93303fc0fff35058a4 | [
"MIT"
] | 205 | 2020-04-14T20:25:08.000Z | 2021-09-10T05:36:59.000Z | import React from "react";
import { Trans, useTranslation } from "react-i18next";
import {
PolicyContainer,
TextContainer,
} from "components/PolicyPages/PolicyContainer";
import { ListNoIndent } from "components/PolicyPages/ListStyles";
import { TermsLink } from "components/PolicyPages/TermsLink";
import { Date } from "components/PolicyPages/Date";
const CookiesPolicy = () => {
const { t } = useTranslation();
return (
<PolicyContainer>
<TextContainer>
<h2 className="text-primary display-6">{t("footer.cookiesPolicy")}</h2>
<ListNoIndent>
<li>
{t("cookies.whatCookies")}
<ol type="I">
<Trans i18nKey="cookies.whatCookiesContent">
<li>
This Website uses ¨Cookies¨, and other similar mechanisms
(hereinafter, Cookies). Cookies are files sent to a browser
through a web server to record the activities of the User on a
specific website or on all websites, apps and / or services on
this website. The first purpose of Cookies is to provide the
User with faster and more personalized access to the services
offered. Cookies are associated only with an anonymous User
and his/her computer and do not provide references that allow
the deduction of the User's personal data.
</li>
<li>
The User may configure his/her browser to notify and reject
the installation of Cookies sent by this website, without
prejudice to the User's ability to access the Contents.
However, we note that, in any case, the performance of the
website may decrease. This website makes use of Web Bugs,
which are tiny and transparent images inserted in the emails.
When the User opens a newsletter of the Website, this image is
downloaded along with the rest of the email content and allows
to know if a specific email has been opened or not, as well as
the IP address from which it was downloaded. FightPandemics
uses this information to obtain statistics and carry out
analytical studies on the reception of its emails by Users.
</li>
</Trans>
</ol>
</li>
<li>
{t("cookies.typeCookies")}
<ol type="I">
<li>
{t("cookies.typeCookiesBegin")}
<ol type="a">
<Trans i18nKey="cookies.typeCookiesContent">
<li>
Technical cookies: These allow the user to navigate
through a web page, platform or application and use the
different options or services that exist there, such as,
for example, control traffic and data communication,
identify the session, access restricted access parts,
remember the elements that make up an order, make the
purchase process of an order, make the request for
registration or participation in an event, use security
elements during navigation, store content for
dissemination of videos or sound or share content through
social networks.
</li>
<li>
Personalization cookies: These allow the user to access
the service with some predefined general characteristics
based on a series of criteria in the user's terminal such
as the language, the type of browser through which the
service is accessed , the regional configuration from
where you access the service, etc.
</li>
<li>
Analysis cookies: Those that are processed by us or by
third parties, which allow to quantify the number of users
and thus perform the measurement and statistical analysis
of the use made by users of the services offered. For
this, your browsing on our website is analyzed in order to
improve the offer of products or services that we offer.
</li>
<li>
Advertising cookies: Are those that are processed by us or
by third parties, allowing us to manage in the most
efficient way possible the offer of the advertising spaces
that are on the website, adapting the content of the
advertisement to the content of the requested service or
to the use that you make from our website. For this we can
analyze your browsing habits on the Internet, and we can
show you advertising related to your browsing profile.
</li>
<li>
Behavioral advertising cookies: These allow the
management, in the most efficient way possible, of the
advertising spaces that, where appropriate, the editor has
included in a web page, application or platform from which
it provides the requested service. These cookies store
information on the behavior of users obtained through the
continuous observation of their browsing habits, which
allows developing a specific profile to display
advertising based on it.
</li>
</Trans>
</ol>
</li>
<li>{t("cookies.typeCookiesEnd")}</li>
</ol>
</li>
<li>
{t("cookies.disableCookies")}
<ol type="I">
{t("cookies.disableCookiesContent")}
<ul>
<li>
<TermsLink
href="https://support.google.com/chrome/answer/95647?hl=en"
target="_blank"
>
Chrome
</TermsLink>
</li>
<li>
<TermsLink
href="https://support.microsoft.com/en-us/help/17442/windows-internet-explorer-delete-manage-cookies"
target="_blank"
>
Explorer
</TermsLink>
</li>
<li>
<TermsLink
href="https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop?redirectlocale=en-US&redirectslug=enable-and-disable-cookies-website-preferences"
target="_blank"
>
Firefox
</TermsLink>
</li>
<li>
<TermsLink
href="https://support.apple.com/en-za/guide/safari/sfri11471/mac"
target="_blank"
>
Safari
</TermsLink>
</li>
</ul>
</ol>
</li>
<li>
{t("cookies.updateCookies")}
<ol type="I">
<li>{t("cookies.updateCookiesContent")}</li>
</ol>
</li>
</ListNoIndent>
<Date>April 23rd, 2020</Date>
</TextContainer>
</PolicyContainer>
);
};
export default CookiesPolicy;
| 46.751479 | 189 | 0.520314 |
22516a763fd767214479d6a61941e13f779284cb | 283 | js | JavaScript | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | app/assets/javascripts/multiplication/show.js | sad16/mltplctn | d35971846e0196d0c4b704b26dba6b0d7ee44f5e | [
"MIT"
] | null | null | null | if (~location.href.indexOf('multiplications')) {
document.addEventListener('DOMContentLoaded', multiplicationsReady);
}
function multiplicationsReady() {
var id = findElementById('multiplication_id').innerText;
subscribeToMultiplicationChannel(id);
callMultiplication(id);
} | 31.444444 | 70 | 0.791519 |
22521fa1cf2ae647913e0950499b23e00426f683 | 5,195 | js | JavaScript | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | app/scripts/object-animate-danish.js | charliekuldip/web-starter-kit | f4f43c2b7c02feef411c0b7fb109954eca0d5072 | [
"CC-BY-4.0"
] | null | null | null | // DOCUMENT READY
function prefixTransform(element, property) {
element.style.webkitTransform = property;
element.style.MozTransform = property;
element.style.msTransform = property;
element.style.OTransform = property;
element.style.transform = property;
}
(function() {
'use strict';
// WINDOW VARS
var windowHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0),
windowWidth = Math.max(document.documentElement.clientWidth, window.innerWidth || 0),
docScrolled = (window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop,
docViewBottom = docScrolled + windowHeight,
css3dtransforms = true,
htmlClass = document.getElementsByTagName('HTML')[0].attributes.class.value,
scrollTimeout,
resizeTimeout,
scrollHandler,
resizeHandler;
// GET WINDOW SPECS UTIL FUNCITON
function updateWindowSpecs() {
windowWidth = Math.round(Math.max(document.documentElement.clientWidth, window.innerWidth || 0));
windowHeight = Math.round(Math.max(document.documentElement.clientHeight, window.innerHeight || 0));
docScrolled = Math.round((window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop);
docViewBottom = docScrolled + windowHeight;
}
// TEST FOR 3D TRANSFORMS
if(htmlClass.indexOf('no-csstransforms3d') > -1) {
css3dtransforms = false;
}
// O B J E C T A N I M A T E
function AnimatedElement(elem, options) {
var elem = elem,
options = options || {},
move,
scrollArea,
userScroll,
stepping,
percent,
slideBgDown,
property,
_t = this;
// P R O P E R T I E S
this.$element = document.getElementById(elem);
this.name = elem;
this.elementWidth = this.$element.offsetWidth;
this.elementHeight = this.$element.offsetHeight;
// IF OFFSET TOP IS 0, GET PARENT OFFSET
this.elementTop = this.$element.offsetTop ? this.$element.offsetTop : this.$element.offsetParent.offsetTop;
this.elementBottom = this.elementHeight + this.elementTop;
this.scrollInView = windowHeight - this.elementTop;
// console.log('Thisi is this.scrollInView: ' + this.scrollInView);
// options
this.animStart = options.animStart || 0;
this.animEnd = options.animEnd || windowWidth;
this.animDistance = options.animDistance || false;
// console.log('This is animDistance: ' + this.animDistance);
// M E T H O D S
this.getScrollTop = function() {
return docScrolled;
};
this.getWinWidth = function() {
return windowWidth;
};
this.getWinHeight = function() {
return windowHeight;
};
// IN VIEW FOR #GREY-CAR
this.isInView = function() {
return ( (this.elementTop <= docViewBottom) && (this.elementBottom >= docScrolled) );
};
// IN VIEW FOR #RED-CAR
this.redCarInView = function() {
if(docScrolled-this.elementWidth-this.elementHeight > this.elementBottom) {
return false;
} else {
return true;
}
};
// IN VIEW FOR #GEO-SUN
this.geoSunInView = function() {
// CHECK FOR BOUNDARY
if( (this.elementTop <= docViewBottom) && (this.elementBottom >= docScrolled) ) {
// console.log('This is true Mahn!');
return true;
} else {
// console.log('This is FALSE Mahn!');
return false;
}
};
// ANIMATE FUNCTION - TEST FOR CSS3 TRANSFORMS
// HERE YOU ARE GOING TO DEFINE WHEN AND WHERE
if(css3dtransforms) {
this.animateGeoSun = function() {
scrollArea = windowHeight - (windowHeight - this.elementTop) + this.elementHeight;
userScroll = docScrolled;
percent = docScrolled/scrollArea;
move = Math.round(this.animDistance * percent);
// slideBgDown = Math.round(Math.cos(33.45) * docScrolled * -1 );
property = 'translate3d('+ move +'px, 0, 0)';
prefixTransform(this.$element, property );
}
} else {
this.animateGeoSun = function() {
this.$element.style.top = this.$element.style.top + ( Math.cos(33.45) * (Math.round(docScrolled)) * -1 ) +'px';
}
}
} // END OBJECT ANIMATE
// LIST VARS
var geoOptions,
GeoSun;
// GEO SUN OPTIONS
geoOptions = {
animDistance:280
}
// ANIMATABLE OBJECTS
GeoSun = new AnimatedElement('geometric-sun', geoOptions);
// W I N D O W E V E N T S
// R E S I Z E
window.onresize = function() {
if (resizeTimeout) {
// clear the timeout, if one is pending
clearTimeout(resizeTimeout);
resizeTimeout = null;
}
resizeTimeout = setTimeout(resizeHandler, 60/1000);
};
resizeHandler = function() {
updateWindowSpecs();
}
// E N D R E S I Z E
// S C R O L L
window.onscroll = function() {
if (scrollTimeout) {
// clear the timeout, if one is pending
clearTimeout(scrollTimeout);
scrollTimeout = null;
}
scrollTimeout = setTimeout(scrollHandler, 60/1000);
};
scrollHandler = function () {
// UPDATE WINDOW SCROLL VARIABLE
updateWindowSpecs();
// CHECK FOR GEO-SUN VAN IN VIEW
// if(GeoSun.geoSunInView() ) {
if(GeoSun.geoSunInView() ) {
GeoSun.animateGeoSun();
}
}
// E N D S C R O L L
// E N D W I N D O W E V E N T S
})(); | 27.342105 | 169 | 0.672762 |
225237b92cc7e08df5f935ecc0818c5ee852f5d6 | 377 | js | JavaScript | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | 26 | 2020-09-09T07:21:47.000Z | 2022-02-28T09:20:49.000Z | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | 36 | 2020-09-04T14:08:00.000Z | 2022-02-27T09:56:40.000Z | client/src/game/movePlayer.js | JoscaWij/Spacey | 1b5fdf32504dad03cf0d24434cafb2d540b3bf44 | [
"MIT"
] | null | null | null | export default function movePlayer(keyCode, player) {
const offsetXExtent = 3;
const offsetYExtent = 16;
if (keyCode === "ArrowRight") {
player.offsetX += offsetXExtent;
}
if (keyCode === "ArrowLeft") {
player.offsetX -= offsetXExtent;
}
if (keyCode === "Space" && !player.jumping) {
player.offsetY -= offsetYExtent;
player.jumping = true;
}
}
| 23.5625 | 53 | 0.64191 |
225389d0ace7bf50f1cc8170a458e92c3c3a165f | 601 | js | JavaScript | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | null | null | null | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | 3 | 2021-05-07T14:15:10.000Z | 2021-09-01T06:15:52.000Z | dist/index.min.js | seognil/approx-fix | 33d9d3ec8514ba5a85e5a466fc7886a95c40714b | [
"MIT"
] | null | null | null | "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fp=require("lodash/fp"),isEqualApprox=require("is-equal-approx"),approxFixNum=function(r){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===r)return 0;p=Math.pow(10,p);var e=Math.round(r*p)/p;return isEqualApprox.isEqualApproxNum(e,r,1e-8)?e:r},approxFix=function r(p,e){if(fp.isNumber(p))return approxFixNum(p,e);if(fp.isObject(p)){for(var i in p)p[i]=r(p[i],e);return p}return p};exports.approxFix=approxFix,exports.approxFixNum=approxFixNum,exports.default=approxFix;
//# sourceMappingURL=index.min.js.map
| 200.333333 | 562 | 0.758735 |
2253e27ed0ece6c65f49d04d80ba78012f61138a | 113 | js | JavaScript | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 3 | 2019-07-10T10:06:52.000Z | 2021-02-08T08:41:46.000Z | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 15 | 2017-07-19T19:13:22.000Z | 2020-05-25T04:12:24.000Z | index.js | pelias/microservice-wrapper | 4e02b219e43c4d5da82e1294d830c8ddc33df090 | [
"MIT"
] | 1 | 2017-12-19T17:50:50.000Z | 2017-12-19T17:50:50.000Z | module.exports = {
service: require('./service'),
ServiceConfiguration: require('./ServiceConfiguration')
};
| 22.6 | 57 | 0.716814 |
225565e793e574404bf0590ffe26a8b7f5b3230c | 16,247 | js | JavaScript | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | lists/static/lists/itemActions.js | ChrisLydic/ContentTracker | ef9ec3d8d5e6049b6a9dc4f90f99042c8c137a32 | [
"MIT"
] | null | null | null | // ajax for item editing, deletion, and re-ordering
$( document ).ready( function() {
//
// set up ajax to use django's csrf cookies
// csrf cookie code is from https://docs.djangoproject.com/en/1.9/ref/csrf/
//
function getCookie( name ) {
var cookieValue = null;
if ( document.cookie && document.cookie != '' ) {
var cookies = document.cookie.split( ';' );
for ( var i = 0; i < cookies.length; i++ ) {
var cookie = jQuery.trim( cookies[i] );
// Does this cookie string begin with the name we want?
if ( cookie.substring( 0, name.length + 1 ) == ( name + '=' ) ) {
cookieValue = decodeURIComponent( cookie.substring(
name.length + 1 ) );
break;
}
}
}
return cookieValue;
}
var csrftoken = getCookie( 'csrftoken' );
function csrfSafeMethod( method ) {
// these HTTP methods do not require CSRF protection
return ( /^(GET|HEAD|OPTIONS|TRACE)$/.test( method ) );
}
$.ajaxSetup( {
beforeSend: function( xhr, settings ) {
if ( !csrfSafeMethod( settings.type ) && !this.crossDomain ) {
xhr.setRequestHeader( 'X-CSRFToken', csrftoken );
}
}
} );
//
// ajax for the item buttons ( edit, delete, moveUp, moveDown )
//
var listpk = $( '.listWrapper' ).prop( 'id' );
$( '[id^=itemOptions]' ).each( function () {
var itempk = this.id.slice( 'itemOptions'.length );
// edit item button
$( this ).find( 'img:eq(0)' ).click( function () {
// save the item, it will either be used to recover itself
// or updated with new data and placed back into the html
var itemPrev = $( '#item' + itempk ).clone( withDataAndEvents=true );
// initial data will be taken from the item's html
var item = $( '#item' + itempk );
// copy the item form used to create new items
// and populate it with current item's data
var itemForm = $( '#itemForm' ).clone();
itemForm.css( 'display', 'flex');
itemForm.prop( 'id','itemEditForm' + itempk );
// put text from the item section into the form
var inputs = itemForm.children().children()
inputs.children( 'input[id=id_name]' ).val(
item.children( '.itemHeader' ).children( 'h1' ).children( 'a' )
.text().trim() );
if ( inputs.children( 'input[id=id_description]' ).length ) {
inputs.children( 'input[id=id_description]' ).val(
item.children( '.descWrapper' ).children( 'p' ).text().trim() );
}
if ( inputs.children( 'input[id=id_url]' ).length ) {
inputs.children( 'input[id^=id_url]' ).val(
item.children( '.itemHeader' ).children( 'h1' )
.children( 'a' ).prop( 'href' ) );
}
// get data from items of type: book, show, and movie
if ( itemForm.children( 'form[id^=custom]' ).length ) {
// show the correct form, hide the search form
itemForm.children( 'form[id^=custom]' ).css( 'display', 'block' );
itemForm.children( 'form[id^=search]' ).remove();
// get data that is shared across the common types
if ( inputs.children( 'input[id=id_cover]' ).length &&
item.children( '.descWrapper' ).children( 'img' ).length ) {
inputs.children( 'input[id=id_cover]' ).val(
item.children( '.descWrapper' ).children( 'img' )
.prop( 'src' ).trim() );
}
if ( inputs.children( 'input[id=id_description]' ).length ) {
inputs.children( 'input[id=id_description]' ).val(
item.children( '.descWrapper' ).children( 'div' )
.children( 'p:nth-child(2)' ).text().trim() );
}
// a zero value for units == false, they do not show up on the page
var units = 0;
if ( $( '#unit' + itempk ).length ) {
units = parseInt( $( '#unit' + itempk ).text().trim() );
}
// get item type
var type = itemForm.children( 'form[id^=custom]' ).prop( 'id' )
.slice( 'custom'.length );
// get data specific to item type
if ( type === 'Book' ) {
if ( inputs.children( 'input[id=id_authors]' ).length ) {
inputs.children( 'input[id=id_authors]' ).val(
item.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).children( 'p' ).first()
.text().trim() );
}
if ( inputs.children( 'input[id=id_pageNumber]' ).length ) {
inputs.children( 'input[id=id_pageNumber]' ).val( units );
}
} else if ( type === 'Show' || type === 'Movie' ) {
if ( inputs.children( 'input[id=id_creators]' ).length ) {
inputs.children( 'input[id=id_creators]' ).val(
item.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).children( 'p' ).first()
.text().trim() );
}
if ( inputs.children( 'input[id=id_length]' ).length ) {
inputs.children( 'input[id=id_length]' ).val( units );
}
}
}
// modify form buttons
var buttons = itemForm.children().children( '.button' );
var submit = buttons.children( 'input[type=submit]' );
var exit = buttons.children( 'input[type=button]' );
// remove search button if applicable
buttons.children( 'input[id=searchButton]' ).remove();
// get and submit form values with ajax when submit is clicked
submit.val( 'Update' );
submit.click( function () {
var inputs = $( '#itemEditForm' + itempk ).children().children();
var args = {
'name': inputs.children( 'input[id=id_name]' ).val(),
'description': inputs.children( 'input[id=id_description]' ).val(),
'url': inputs.children( 'input[id^=id_url]' ).val(),
'cover': inputs.children( 'input[id=id_cover]' ).val(),
'authors': inputs.children( 'input[id=id_authors]' ).val(),
'pageNumber': inputs.children( 'input[id=id_pageNumber]' ).val(),
'creators': inputs.children( 'input[id=id_creators]' ).val(),
'length': inputs.children( 'input[id=id_length]' ).val(),
};
$.ajax( {
type: 'POST',
url: '/lists/' + listpk + '/item/' + itempk + '/edit/',
contentType: 'application/json; charset=utf-8',
dataType: 'json',
data: JSON.stringify( args ),
success: function ( data ) {
if ( data.errors.length ) {
// these are form validation errors, not ajax errors
alert( data.errors.toString() );
} else {
var type = itemForm.children( 'form[id^=custom]' ).prop( 'id' )
.slice( 'custom'.length );
// now the form will be updated and inserted back
// into the page
itemPrev.children( '.itemHeader' ).children( 'h1' )
.children( 'a' ).text( data['name'] );
itemPrev.children( '.itemHeader' ).children( 'h1' )
.children( 'a' ).prop( 'href', data['url'] );
itemPrev.children( '.descWrapper' ).children( 'p' )
.text( data['description'] );
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'p:nth-child(2)' ).text( data['description'] );
if ( type === 'Book' ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).children( 'p' ).first()
.text( data['authors'] );
// remove the page number (does nothing if page number
// was previously zero) and if the new page number
// is not 0, add it back
itemPrev.children( '.descWrapper' )
.children( 'div' ).children( 'div' )
.children( 'p:nth-child(2)' ).remove();
if ( data['pageNumber'] === 1 ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).append( '<p><span id="unit' +
data['itempk'] + '"> ' + data['pageNumber'] +
'</span> page</p>' );
} else if ( data['pageNumber'] > 1 ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).append( '<p><span id="unit' +
data['itempk'] + '"> ' + data['pageNumber'] +
'</span> pages</p>' );
}
} else if ( type === 'Show' ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).children( 'p' ).first()
.text( data['creators'] );
itemPrev.children( '.descWrapper' )
.children( 'div' ).children( 'div' )
.children( 'p:nth-child(2)' ).remove();
if ( data['length'] === 1 ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).append( '<p><span id="unit' +
data['itempk'] + '"> ' + data['length'] +
'</span> season</p>' );
} else if ( data['length'] > 1 ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).append( '<p><span id="unit' +
data['itempk'] + '"> ' + data['length'] +
'</span> seasons</p>' );
}
} else if ( type === 'Movie' ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).children( 'p' ).first()
.text( data['creators'] );
itemPrev.children( '.descWrapper' )
.children( 'div' ).children( 'div' )
.children( 'p:nth-child(2)' ).remove();
if ( data['length'] !== 0 ) {
itemPrev.children( '.descWrapper' ).children( 'div' )
.children( 'div' ).append( '<p><span id="unit' +
data['itempk'] + '"> ' + data['length'] +
'</span> minutes</p>' );
}
}
if ( data['cover'] ) {
itemPrev.children( '.descWrapper' ).children( 'img' )
.prop( 'src', data['cover'] );
// the html may need to be modified depending on
// previous and new state of the cover image
if ( data['cover'] === 'none' ) {
itemPrev.children( '.descWrapper' ).children( 'img' )
.remove();
} else if ( itemPrev.children( '.descWrapper' )
.children( 'img' ).length === 0 ) {
itemPrev.children( '.descWrapper' )
.prepend( '<img src="' + data['cover'] + '">' );
}
}
// insert modified item into the page
$( '#itemEditForm' + itempk ).replaceWith( itemPrev );
}
},
} )
// stop page from auto-reloading
return false;
} );
// exit button will switch out form with old item section
exit.prop( 'onclick', null ).off( 'click' );
exit.click( function () {
$( '#itemEditForm' + itempk ).replaceWith( itemPrev );
} );
// show the item form where the item was located
$( '#item' + itempk ).replaceWith( itemForm );
} );
// delete item button
$( this ).find( 'img:eq(1)' ).click( function () {
$.ajax( {
type: 'POST',
url: '/lists/' + listpk + '/item/' + itempk + '/delete/',
success: function () {
$( '#item' + itempk ).remove();
},
} );
} );
// move item down button
$( this ).find( 'img:eq(2)' ).click( function () {
$.ajax( {
type: 'POST',
url: '/lists/' + listpk + '/item/' + itempk + '/move/down/',
success: function () {
var section1Id = '#item' + itempk;
if ( $( section1Id ).next().length ) {
var section2Id = '#' + $( section1Id ).next().prop( 'id' );
var section1 = $( section1Id ).detach();
$( section1 ).insertAfter( section2Id );
}
},
} );
} );
// move item up button
$( this ).find( 'img:eq(3)' ).click( function () {
$.ajax( {
type: 'POST',
url: '/lists/' + listpk + '/item/' + itempk + '/move/up/',
success: function () {
var section1Id = '#item' + itempk;
if ( $( section1Id ).prev( '[id!=itemForm]' ).length ) {
var section2Id = '#' + $( section1Id )
.prev( '[id!=itemForm]' ).prop( 'id' );
var section1 = $( section1Id ).detach();
$( section1 ).insertBefore( section2Id );
}
},
} );
} );
} );
} ); | 46.956647 | 91 | 0.392626 |
22580bc33c315e800683b6d44d7067af47f468ea | 322 | js | JavaScript | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | src/routes/NotFound/components/NotFoundView.js | eseakin/Lollipop-Bandana | 5de51c9640a1160d3208c22ea5b1bd13b27cb5c7 | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router';
import './NotFoundView.scss';
class NotFoundView extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className=''>
<h2>Not Found</h2>
</div>
);
}
}
export default NotFoundView;
| 14.636364 | 44 | 0.60559 |
2259844b268cf68ddb8aba06466a81fbaef405b2 | 828 | js | JavaScript | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | 1 | 2021-11-24T23:01:48.000Z | 2021-11-24T23:01:48.000Z | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | 1 | 2021-12-16T10:48:27.000Z | 2021-12-16T10:48:27.000Z | tests/bach.js | RedGoldBelt/jsb-js | 09508a8bec78be41d2f278417ed42798fec7de2f | [
"MIT"
] | null | null | null | import fs from 'fs';
fs.readFile('./tests/chorales.csv', 'utf-8', (e, data) => $.analyse(data));
const $ = {
analyse(data) {
this.previous = [];
const lines = data.split('\n');
for (const line of lines) {
const row = line.split(',');
if (line === '') {
return;
}
if (row[1] === '1') {
this.previous = [];
}
if (row[16] !== this.previous[16]) {
$.log(row);
} else {
if (Number(row[15]) >= 3) {
$.log(row);
}
}
this.previous = row;
}
},
log(row) {
console.log(row[0], row[1], row[14], row[15], row[16]);
}
}
// fs.writeFile('./tests/data.json', '', () => null); | 24.352941 | 75 | 0.371981 |
22598457ea4fa11c64038aabe8c96a5354ce9d87 | 724 | js | JavaScript | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | null | null | null | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | 318 | 2021-02-08T23:40:07.000Z | 2022-03-31T05:15:57.000Z | src/ui/Spinner/index.js | vtfk/component-library | d4359afaea7605a67224405e09797af3497de0ba | [
"MIT"
] | 2 | 2021-03-23T14:55:50.000Z | 2022-02-24T14:41:07.000Z | import React from 'react'
import PropTypes from 'prop-types'
import './styles.scss'
export function Spinner ({ size, transparent, className, ...props }) {
return (
<svg
className={`spinner ${size || ''} ${className || ''}`}
viewBox='0 0 50 50'
focusable='false'
title='Laster...'
aria-label='Laster innhold...'
{...props}
>
<title>{props.title || 'Laster...'}</title>
<circle cx='25' cy='25' r='20' style={transparent ? { stroke: 'none' } : {}} />
<circle cx='25' cy='25' r='20' />
</svg>
)
}
Spinner.propTypes = {
size: PropTypes.oneOf(['auto', 'small', 'medium', 'large', 'xlarge']),
transparent: PropTypes.bool,
className: PropTypes.string
}
| 25.857143 | 85 | 0.571823 |
225a5103ea17a87679eb61d48d7a6ef7ef04fe98 | 725 | js | JavaScript | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | 1 | 2020-08-30T21:46:56.000Z | 2020-08-30T21:46:56.000Z | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | null | null | null | src/lib/isObject.js | poechiang/type-is | b9fc91c341a6d25d155fc9d67a77405cc7fdaa85 | [
"MIT"
] | null | null | null | import fnToStr from '../core/fnToStr';
import getTypeRegex from '../core/getTypeRegex';
import isEmpty from './isEmpty';
const { getPrototypeOf: protoOf } = Object;
const class2Type = {};
const { hasOwnProperty: ownProp } = class2Type;
const isObject = (value) => getTypeRegex('object').test(fnToStr.call(value));
isObject.empty = (value) => isObject(value) && isEmpty(value);
isObject.plain = (value) => {
if (!value) {
return false;
}
const proto = protoOf(value);
if (!proto) {
return true;
}
const Ctor = ownProp.call(proto, 'constructor') && proto.constructor;
return typeof Ctor === 'function' && ownProp.toString.call(Ctor) === ownProp.toString.call(Object);
};
export default isObject;
| 24.166667 | 101 | 0.678621 |
225a80f873ca3425a0d2c52e76c901e2024792f8 | 1,837 | js | JavaScript | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | public/chat.js | crazycamaro/camaro.loc | db7b86df5cbb4468c398d260bf5576bc97924d46 | [
"MIT"
] | null | null | null | $(document).ready(function(){
// setInterval(function(){get_chat_messages();}, 1000);
$('#chat_message').keypress(function(e){
if(e.which==13)
{
$('#submit_message').click();
return false;
}
});
$('#submit_message').click(function(){
var chat_message_content = $('#chat_message').val();
if(chat_message_content==''){return false;}
$.ajax({
type: 'POST',
data: {chat_message_content: chat_message_content,chat_id: chat_id,user_id: user_id},
url: base_url +"chat/ajax_add_chat_message",
success: function(data){
var json = JSON.parse(data);
if(json.status == 'ok')
{
var current_content = $('#chat_viewport').html();
$('#chat_viewport').html(current_content + json.content);
}
else
{
alert(' not ok');
}
}
},"json");
$('#chat_message').val('');
return false;
});
function get_chat_messages()
{
$.ajax({
type: 'POST',
data: {chat_id: chat_id},
url: base_url+'chat/ajax_get_chat_messages',
success: function(data){
var json = JSON.parse(data);
if(json.status == 'ok')
{
var current_content = $('#chat_viewport').html();
$('#chat_viewport').html(current_content + json.content);
}
else
{
alert(' not ok');
}
}
},"json");
}
get_chat_messages();
}); | 23.857143 | 101 | 0.42515 |
225c248c35584b21ada74c744807484394954893 | 801 | js | JavaScript | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | src/components/Styled.js | GhostxRipper/react-starter-kit | c2143bb1829ef373f8f5d12ae08014ca5cce5e9e | [
"MIT"
] | null | null | null | import styled from 'styled-components'
export const Input = styled.input`
display: block;
font-size: 1.25em;
padding: 0.5em;
margin: 0.5em auto;
background: white;
border: solid 1px lightgrey;
border-radius: 3px;
appearance: none;
outline: none;
&:hover, &:focus {
border-color: rgb(0, 128, 255);
box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
}
&::-webkit-input-placeholder {
color: lightgray;
}
`
export const Button = styled.button`
display: block;
background: none;
color: rgb(0, 128, 255);
font-size: 1em;
margin: 1em auto;
padding: 0.25em 1em;
border-radius: 3px;
appearance: none;
outline: none;
cursor: pointer;
border: none;
&:active {
color: lightgray;
}
`
export const Body = styled.div`
margin: 0;
padding: 0;
`
| 17.8 | 50 | 0.645443 |
225e62b503e98fd19173d51d23faa9b88d3df119 | 3,877 | js | JavaScript | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | node_modules/patternfly-webcomponents/dist/es2015/pf-utils/pf-utils.js | grayox/brass-beagle-07 | 80eff83f84a50622c28919ec75c30e90272e8c26 | [
"BSD-Source-Code"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**
* --------------------------------------------------------------------------
* PfUtil
* Internal Utility Functions for Patternfly Web Components
* --------------------------------------------------------------------------
*/
var PfUtil = function () {
function PfUtil() {
_classCallCheck(this, PfUtil);
this.isMSIE = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})").exec(navigator.userAgent) !== null ? parseFloat(RegExp.$1) : false;
this.isIE = /(MSIE|Trident\/|Edge\/)/i.test(window.navigator.userAgent);
}
_createClass(PfUtil, [{
key: 'addClass',
value: function addClass(el, c) {
// where modern browsers fail, use classList
if (el.classList) {
el.classList.add(c);
} else {
el.className += ' ' + c;
el.offsetWidth;
}
}
}, {
key: 'removeClass',
value: function removeClass(el, c) {
if (el.classList) {
el.classList.remove(c);
} else {
el.className = el.className.replace(c, '').replace(/^\s+|\s+$/g, '');
}
}
}, {
key: 'getClosest',
value: function getClosest(el, s) {
//el is the element and s the selector of the closest item to find
// source http://gomakethings.com/climbing-up-and-down-the-dom-tree-with-vanilla-javascript/
var former = s.charAt(0);
var latter = s.substr(1);
for (; el && el !== document; el = el.parentNode) {
// Get closest match
if (former === '#') {
// If selector is an ID
if (el.id === latter) {
return el;
}
} else if (former === '.') {
// If selector is a class
if (new RegExp(latter).test(el.className)) {
return el;
}
} else {
// we assume other selector is tag name
if (el.nodeName === s) {
return el;
}
}
}
return false;
}
// tooltip / popover stuff
}, {
key: 'isElementInViewport',
value: function isElementInViewport(t) {
// check if this.tooltip is in viewport
var r = t.getBoundingClientRect();
return r.top >= 0 && r.left >= 0 && r.bottom <= (window.innerHeight || document.documentElement.clientHeight) && r.right <= (window.innerWidth || document.documentElement.clientWidth);
}
}, {
key: 'getScroll',
value: function getScroll() {
// also Affix and scrollSpy uses it
return {
y: window.pageYOffset || document.documentElement.scrollTop,
x: window.pageXOffset || document.documentElement.scrollLeft
};
}
}, {
key: 'reflow',
value: function reflow(el) {
// force reflow
return el.offsetHeight;
}
}, {
key: 'once',
value: function once(el, type, listener, self) {
var one = function one(e) {
try {
listener.call(self, e);
} finally {
el.removeEventListener(type, one);
}
};
el.addEventListener(type, one);
}
}]);
return PfUtil;
}();
var pfUtil = new PfUtil();
exports.pfUtil = pfUtil; | 32.855932 | 564 | 0.568997 |
225f92ffc4f5df7582f363f0900fb9892b975c82 | 10,143 | js | JavaScript | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | 13 | 2015-03-04T10:05:21.000Z | 2015-07-26T02:10:15.000Z | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | null | null | null | src/toolkit/J6.DevFw.WebResource/JS_Lib/ui.js | atnet/devfw | ffbae900dbb4c97e1603b5c0e8878899e9e2c667 | [
"MIT"
] | 11 | 2015-03-04T10:02:05.000Z | 2015-06-09T02:15:26.000Z |
/*
* 名称 : UI库
* 创建时间:2012-09-22
*/
/********* Tipbox (2013-06-01) ************/
jr.extend({
tipbox: {
id: 'ui-tipbox',
size: { x: 0, y: 0, bx: 0, by: 0 },
show: function (html,topOffset, timeout, dir,opacity) {
var div = document.getElementById(this.id);
if (div) { document.body.removeChild(div); }
opacity = opacity || 1;
div = document.createElement('DIV');
div.setAttribute('id', this.id);
div.className = this.id;
div.style.cssText += 'position:fixed;width:auto;overflow:hidden;';
div.innerHTML = '<div class="ui-tipbox-container">' + html + '</div>';
document.body.appendChild(div);
//计算长,宽
this.size.x = div.offsetWidth;
this.size.y = div.offsetHeight;
this.size.bx = document.documentElement.clientWidth;
this.size.by = document.documentElement.clientHeight;
//设置内置的div的宽度
div.getElementsByTagName("DIV")[0].style.width = this.size.x + 'px';
//设置上下左右
div.style.width = '1px';
div.style.height = '1px';
var _x = 1, _y = 1, _opa = 0, _px = (this.size.x > this.size.y ? this.size.x : this.size.y) / 20 / 2;
var _size = this.size;
var _timer = setInterval(function () {
++_px;
if (_x + _px > _size.x) {
_x = _size.x;
} else {
_x += _px;
}
if (_y + _px > _size.y) {
_y = _size.y;
} else {
_y += _px;
}
div.style.width = _x + 'px';
div.style.height = _y + 'px';
div.style.left = ((_size.bx - _x) / 2) + 'px';
div.style.top = ((_size.by - _y) / 2 - topOffset) + 'px';
_opa += 5;
if (div.style.filter) {
div.style.filter = 'filter:alpha(opacity=' + _opa + ')';
} else {
div.style.opacity = _opa / 100;
}
if (div == null || (_x == _size.x && _y == _size.y && _opa >= opacity * 100)) {
//清除定时器
clearInterval(_timer);
}
}, 10);
//定时关闭
if (timeout > 0) {
var func = (function (t) {
return function () {
t.close();
};
})(this);
setTimeout(func, timeout);
}
},
close: function (dir) {
var div = document.getElementById(this.id);
var _opa = 100;
var _isUp = dir != 'left';
var _t = _isUp ? div.offsetTop : div.offsetLeft; //top和left的像素
var _tt = -(_isUp ? this.size.y : this.size.x) - 20; //要滚动到的最终点
var _tpx = _t / 40; //滚动的单位
var _timer = setInterval(function () {
++_tpx;
_t -= _tpx;
if (div == null || _t < _tt) {
if (div) {
try {
document.body.removeChild(div);
} catch (exc) { }
}
clearInterval(_timer);
} else {
if (_isUp) {
div.style.top = _t + 'px';
} else {
div.style.left = _t + 'px';
}
_opa -= 5;
if (div.style.filter) {
div.style.filter = 'filter:alpha(opacity=' + _opa + ')';
} else {
div.style.opacity = _opa / 100;
}
}
}, 10);
}
}
});
/******************** JS 分页 (2013-06-19) **********************/
jr.extend({
toPager: function (id, size) {
this.size = size;
this.pageIndex = 1;
this.pages = 0;
this.pager = null;
this.list = null;
var container = document.getElementById(id);
//获取分页列表
this.list = container.getElementsByClassName ? document.getElementsByClassName('list', container) : container.getElementsByClassName('list');
//计算页码
this.pages = parseInt(this.list.length / this.size);
if (this.list.length % this.size != 0) this.pages++;
//获取分页容器
if (this.pager == null) {
var pagerArea = container.getElementsByClassName ? document.getElementsByClassName('pager', container) : container.getElementsByClassName('pager');
if (pagerArea.length == 0) {
var div = document.createElement('DIV');
div.className = 'pager';
container.appendChild(div);
this.pager = div;
} else {
this.pager = pagerArea[0];
}
}
var t = this;
var links;
this.showPage = function (index) {
t.pageIndex = index;
for (var i = 0; i < t.list.length; i++) {
t.list[i].style.display = i >= (t.pageIndex - 1) * t.size && i < t.pageIndex * t.size ? 'block' : 'none';
}
t.pager.innerHTML = '页码:';
for (var j = 0; j < t.pages; j++) {
t.pager.innerHTML += ' ' + (t.pageIndex == j + 1 ? j + 1 : '<a href="javascript:;" page="' + (j + 1) + '">' + (j + 1) + '</a>');
}
links = t.pager.getElementsByTagName('A');
for (var k = 0; k < links.length; k++) {
links[k].onclick = (function (_p) {
return function () {
t.showPage(_p);
};
})(links[k].getAttribute('page'));
}
};
this.showPage(1);
}
});
//======================= 扩展 =====================//
jr.extend({
contextmenu: {
ele: null,
currEle: null,
inst: null,
offset: 5,
srcs: null, //触发源
show: function () {
this.ele.style.display = 'block';
},
close: function () {
this.ele.style.display = 'none';
},
bind: function (e, contextHtml, handler, eventName) {
var j = j6;
eventName = eventName || 'mouseup'; //默认右键点击
//初始化
if (!this.ele) {
this.srcs = new Array();
//添加菜单到body
this.ele = document.createElement('DIV');
this.ele.className = 'ui-contextmenu';
this.ele.style.cssText = 'position:absolute;';
document.body.appendChild(this.ele);
//将menu添加到原元素里
this.srcs.push(this.ele);
//初始化事件
j.event.add(document.body, 'click', (function (e) { return function () { e.close.apply(e); }; }(this))); //关闭菜单
this.ele.oncontextmenu = function () { return false; };
// 屏蔽元素右键菜单
document.oncontextmenu = (function (ele, srcs, e) {
return function (event) {
var src = j.event.src(event);
var parent = src;
while (parent) {
for (var i = 0; i < srcs.length; i++) {
if (srcs[i] === parent) {
return false;
}
}
parent = parent.parentNode;
}
return true;
};
}(this.ele, this.srcs, e));
}
//添加到源中
this.srcs.push(e);
//显示菜单事件
j.event.add(e, eventName, (function (_this) {
return function (_e) {
var event = _e ? _e : window.event; // 兼容IE,Firefox,Chrome
if (event.button != 2) {
return false;
}
//输出菜单结果
if (_this.currEle == null || _this.currEle != e) {
_this.ele.innerHTML = contextHtml;
if (handler) {
handler(_this.ele);
}
}
_this.show(); //显示菜单
var mn = _this.ele;
var domTop = Math.max(document.documentElement.scrollTop, document.body.scrollTop),
domLeft = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft),
eventX = event.clientX,
eventY = event.clientY,
menuWidth = mn.offsetWidth,
menuHeight = mn.offsetHeight;
// 获取鼠标离窗口右下角的X和Y轴距离(与滚动无关)
var redge = Math.max(document.documentElement.clientWidth, document.body.clientWidth) - eventX;
var bedge = Math.max(document.documentElement.clientHeight, document.body.clientHeight) - eventY;
// 如果当前点击点到窗口右侧的距离小于菜单宽度,则将菜单向左弹出,否则向右弹出
if (redge < menuWidth) {
mn.style.left = (domLeft + eventX - menuWidth) + 'px';
} else {
mn.style.left = (domLeft + eventX) + 'px';
}
// 如果当前点击点到窗口下侧的距离小于菜单高度,则将菜单向上弹出,否则向下弹出
if (bedge < menuHeight) {
mn.style.top = (domTop + eventY - menuHeight) + 'px';
} else {
mn.style.top = (domTop + eventY) + 'px';
}
// 阻断事件冒泡传递,这一步必须
j.event.stopBubble(event);
};
})(this));
}
}
}); | 34.151515 | 159 | 0.406389 |
22622d71ff6d3451b38dcd86bbdf45253da8b2aa | 992 | js | JavaScript | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | null | null | null | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | 2 | 2020-07-17T19:16:03.000Z | 2021-05-10T02:22:51.000Z | images/components/TodoItem.js | DiGregorioC/digregorioc.github.io | 88f0570fe8694e7e44c0939cb68145ef4afca445 | [
"MIT"
] | null | null | null | import React from 'react';
import { StyleSheet, Text, Button, TouchableOpacity } from 'react-native';
export default class TodoItem extends React.Component {
constructor (props) {
super(props)
}
render () {
const todoItem = this.props.todoItem
return (
<TouchableOpacity
style={styles.todoItem}
onPress={() => this.props.toggleDone()}
>
<Text style={(todoItem.done) ? {color: '#AAAAAA' } : {color: '#313131'}}>
{todoItem.title}
</Text>
<Button
title="Remove"
color={(todoItem.done) ? 'rgba(200, 0, 0, 0.5)' : 'rgba(200, 0, 0, 1)'}
onPress={() => this.props.removeTodo()}
/>
</TouchableOpacity>
)
}
}
const styles = StyleSheet.create ({
todoItem: {
width: '100%',
height: 40,
borderBottomColor: '#DDD',
borderBottomWidth: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingLeft: 15
}
})
| 22.545455 | 82 | 0.574597 |
22629a74be97262e366e2bf231a352ac46024200 | 63 | js | JavaScript | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | 1 | 2020-11-25T02:23:25.000Z | 2020-11-25T02:23:25.000Z | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | null | null | null | src/app/utils/paymentFee.js | anderfilth/payment-gateway-api | 3f9344fb0370cf880000bc797eaa5e20bf5c2291 | [
"MIT"
] | 2 | 2020-09-02T16:52:38.000Z | 2020-09-10T18:05:21.000Z | module.exports = {
debit_card: 0.03,
credit_card: 0.05,
};
| 12.6 | 20 | 0.634921 |
226344f0b83cbd555bf79fd07a7e2fb5e65221e4 | 4,859 | js | JavaScript | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | src/logging.js | bishwenduk029/vayu | 1a71e41df822303397449afa6588f159767dd3c8 | [
"MIT"
] | null | null | null | /**
* Returning ansi escape color codes
* Credit to: https://github.com/chalk/ansi-styles
*
* @type {Object}
*/
export const Style = {
/**
* Parse ansi code while making sure we can nest colors
*
* @param {string} text - The text to be enclosed with an ansi escape string
* @param {string} start - The color start code, defaults to the standard color reset code 39m
* @param {string} end - The color end code
*
* @return {string} - The escaped text
*/
parse: (
text /*: string */,
start /*: string */,
end /*: string */ = `39m`
) /*: string */ => {
if (text !== undefined) {
const replace = new RegExp(`\\u001b\\[${end}`, "g"); // find any resets so we can nest styles
return `\u001B[${start}${text
.toString()
.replace(replace, `\u001B[${start}`)}\u001b[${end}`;
} else {
return ``;
}
},
/**
* Style a string with ansi escape codes
*
* @param {string} text - The string to be wrapped
*
* @return {string} - The string with opening and closing ansi escape color codes
*/
black: (text /*: string */) /*: string */ => Style.parse(text, `30m`),
red: (text /*: string */) /*: string */ => Style.parse(text, `31m`),
green: (text /*: string */) /*: string */ => Style.parse(text, `32m`),
yellow: (text /*: string */) /*: string */ => Style.parse(text, `33m`),
blue: (text /*: string */) /*: string */ => Style.parse(text, `34m`),
magenta: (text /*: string */) /*: string */ => Style.parse(text, `35m`),
cyan: (text /*: string */) /*: string */ => Style.parse(text, `36m`),
white: (text /*: string */) /*: string */ => Style.parse(text, `37m`),
gray: (text /*: string */) /*: string */ => Style.parse(text, `90m`),
bold: (text /*: string */) /*: string */ => Style.parse(text, `1m`, `22m`),
};
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
// Logging prettiness
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
/**
* A logging object
*
* @type {Object}
*/
const Log = {
verboseMode: false, // verbose flag
output: false, // have we outputted something yet?
hasError: false, // let’s assume the best
/**
* Log a welcome message
*
* @param {string} text - The text you want to log
*/
welcome: (text /*: string */) /*: void */ => {
if (!Log.output) {
// if we haven’t printed anything yet
Log.space(); // only then we add an empty line on the top
}
Log.output = true; // now we have written something out
},
/**
* Log an error
*
* @param {string} text - The text you want to log with the error
*/
error: (text /*: string */) /*: void */ => {
if (!Log.output) {
// if we haven’t printed anything yet
Log.space(); // only then we add an empty line on the top
}
console.error(` 🔥 ${Style.red(`ERROR: ${text}`)}`);
Log.output = true; // now we have written something out
Log.hasError = true; // and it was an error of all things
},
/**
* Log a message
*
* @param {string} text - The text you want to log
*/
info: (text /*: string */) /*: void */ => {
if (!Log.output) {
Log.space();
}
console.info(` 🔔 INFO: ${Style.cyan(text)}`);
Log.output = true;
},
/**
* Log a warning message
*
* @param {string} text - The text you want to log
*/
warn: (text /*: string */) /*: void */ => {
if (Log.verboseMode) {
if (!Log.output) {
Log.space();
}
console.info(` 👀 WARN: ${Style.cyan(text)}`);
Log.output = true;
}
},
/**
* Log success
*
* @param {string} text - The text you want to log
*/
ok: (text /*: string */) /*: void */ => {
if (!Log.output) {
Log.space();
}
console.info(` ✔ ${Style.green(`OK:`)} ${Style.green(text)}`);
Log.output = true;
},
/**
* Log the final message
*
* @param {string} text - The text you want to log
*/
done: (text /*: string */) /*: void */ => {
if (!Log.output) {
Log.space();
}
console.info(` 🚀 ${Style.green(Style.bold(text))}`);
Log.hasError = false;
Log.output = true;
},
/**
* Log a verbose message
*
* @param {string} text - The text you want to log
*/
verbose: (text /*: string */) /*: void */ => {
if (Log.verboseMode) {
if (!Log.output) {
Log.space();
}
console.info(` 😬 ${Style.gray(`VERBOSE: ${text}`)}`);
Log.output = true;
}
},
/**
* Add some space to the output
*/
space: () /*: void */ => {
console.log(`\n`);
},
};
export default Log;
| 26.845304 | 160 | 0.48899 |
226397e83353e7e896f5c294c063ce5049350b81 | 1,116 | js | JavaScript | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | 1 | 2020-03-08T05:30:00.000Z | 2020-03-08T05:30:00.000Z | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | 1 | 2020-06-18T00:03:01.000Z | 2020-06-18T00:03:28.000Z | src/generator_map.js | leonardoEugenio/table-game | 33c78d95862cd8445af3107d0def663551e8e9f7 | [
"MIT"
] | null | null | null | var total_coluna = 0;
var total_linha = 0;
var mensagem = ''
function verifica_numero() {
total_coluna = $('#input_colunas').val()
total_linha = $('#input_linhas').val()
if (total_coluna > 70) {
mensagem += ' -/- O numero maximo de colunas é de 70'
}
if (total_linha > 40) {
mensagem += ' -/- O numero maximo de linhas é 40';
}
};
function gerar() {
// verifica_numero();
$('#table').empty();
$('#mensagem').empty();
if (mensagem == '') {
$('#form').empty();
var construtor = '';
var x = 0;
var y = 0;
for (y = 0; y < total_linha;) {
y++
construtor += '<tr>'
if (total_coluna != 0) {
for (x = 0; x < total_coluna;) {
x++
construtor += '<th id=' + y + '-' + x + '> </th>'
}
}
construtor + '</tr>'
}
$('#table').append(construtor);
status();
requestAnimationFrame(gerar);
} else {
$('#mensagem').append(mensagem);
mensagem = '';
}
} | 25.953488 | 69 | 0.439964 |