deploy: e4baf6f1d2
BIN
assets/appgallery/screen_1.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
assets/appgallery/screen_10.jpg
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
assets/appgallery/screen_11.jpg
Normal file
After Width: | Height: | Size: 204 KiB |
BIN
assets/appgallery/screen_12.jpg
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
assets/appgallery/screen_13.jpg
Normal file
After Width: | Height: | Size: 177 KiB |
BIN
assets/appgallery/screen_14.jpg
Normal file
After Width: | Height: | Size: 239 KiB |
BIN
assets/appgallery/screen_15.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
assets/appgallery/screen_2.jpg
Normal file
After Width: | Height: | Size: 369 KiB |
BIN
assets/appgallery/screen_3.jpg
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
assets/appgallery/screen_4.jpg
Normal file
After Width: | Height: | Size: 263 KiB |
BIN
assets/appgallery/screen_5.jpg
Normal file
After Width: | Height: | Size: 177 KiB |
BIN
assets/appgallery/screen_6.jpg
Normal file
After Width: | Height: | Size: 205 KiB |
BIN
assets/appgallery/screen_7.jpg
Normal file
After Width: | Height: | Size: 205 KiB |
BIN
assets/appgallery/screen_8.jpg
Normal file
After Width: | Height: | Size: 1015 KiB |
BIN
assets/appgallery/screen_9.jpg
Normal file
After Width: | Height: | Size: 204 KiB |
1
assets/back.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
|
After Width: | Height: | Size: 257 B |
BIN
assets/front.png
Normal file
After Width: | Height: | Size: 111 KiB |
1
assets/github.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10 0C4.477 0 0 4.484 0 10.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0110 4.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.203 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.942.359.31.678.921.678 1.856 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0020 10.017C20 4.484 15.522 0 10 0z" clip-rule="evenodd"></path></svg>
|
After Width: | Height: | Size: 864 B |
BIN
assets/icon/android-chrome-192x192.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
assets/icon/android-chrome-512x512.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
assets/icon/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 16 KiB |
0
assets/icon/apple-touch-icon.png:Zone.Identifier
Normal file
BIN
assets/icon/favicon-16x16.png
Normal file
After Width: | Height: | Size: 755 B |
0
assets/icon/favicon-16x16.png:Zone.Identifier
Normal file
BIN
assets/icon/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
0
assets/icon/favicon-32x32.png:Zone.Identifier
Normal file
BIN
assets/icon/favicon.ico
Normal file
After Width: | Height: | Size: 15 KiB |
0
assets/icon/favicon.ico:Zone.Identifier
Normal file
1
assets/icon/site.webmanifest
Normal file
@ -0,0 +1 @@
|
||||
{ "name": "", "short_name": "", "icons": [{ "src": "/icon/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/icon/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }], "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" }
|
0
assets/icon/site.webmanifest:Zone.Identifier
Normal file
3
assets/index.css
Normal file
1
assets/info.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg>
|
After Width: | Height: | Size: 220 B |
1
assets/learn.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"></path></svg>
|
After Width: | Height: | Size: 203 B |
BIN
assets/logo.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
assets/news/2022-04-23-news-are-starting/media1.png
Normal file
After Width: | Height: | Size: 72 KiB |
1
assets/reddit.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg" width="2500" height="2500"><circle cx="400" cy="400" fill="#ff4500" r="400"/><path d="M666.8 400c.08 5.48-.6 10.95-2.04 16.24s-3.62 10.36-6.48 15.04c-2.85 4.68-6.35 8.94-10.39 12.65s-8.58 6.83-13.49 9.27c.11 1.46.2 2.93.25 4.4a107.268 107.268 0 0 1 0 8.8c-.05 1.47-.14 2.94-.25 4.4 0 89.6-104.4 162.4-233.2 162.4S168 560.4 168 470.8c-.11-1.46-.2-2.93-.25-4.4a107.268 107.268 0 0 1 0-8.8c.05-1.47.14-2.94.25-4.4a58.438 58.438 0 0 1-31.85-37.28 58.41 58.41 0 0 1 7.8-48.42 58.354 58.354 0 0 1 41.93-25.4 58.4 58.4 0 0 1 46.52 15.5 286.795 286.795 0 0 1 35.89-20.71c12.45-6.02 25.32-11.14 38.51-15.3s26.67-7.35 40.32-9.56 27.45-3.42 41.28-3.63L418 169.6c.33-1.61.98-3.13 1.91-4.49.92-1.35 2.11-2.51 3.48-3.4 1.38-.89 2.92-1.5 4.54-1.8 1.61-.29 3.27-.26 4.87.09l98 19.6c9.89-16.99 30.65-24.27 48.98-17.19s28.81 26.43 24.71 45.65c-4.09 19.22-21.55 32.62-41.17 31.61-19.63-1.01-35.62-16.13-37.72-35.67L440 186l-26 124.8c13.66.29 27.29 1.57 40.77 3.82a284.358 284.358 0 0 1 77.8 24.86A284.412 284.412 0 0 1 568 360a58.345 58.345 0 0 1 29.4-15.21 58.361 58.361 0 0 1 32.95 3.21 58.384 58.384 0 0 1 25.91 20.61A58.384 58.384 0 0 1 666.8 400zm-396.96 55.31c2.02 4.85 4.96 9.26 8.68 12.97 3.71 3.72 8.12 6.66 12.97 8.68A40.049 40.049 0 0 0 306.8 480c16.18 0 30.76-9.75 36.96-24.69 6.19-14.95 2.76-32.15-8.68-43.59s-28.64-14.87-43.59-8.68c-14.94 6.2-24.69 20.78-24.69 36.96 0 5.25 1.03 10.45 3.04 15.31zm229.1 96.02c2.05-2 3.22-4.73 3.26-7.59.04-2.87-1.07-5.63-3.07-7.68s-4.73-3.22-7.59-3.26c-2.87-.04-5.63 1.07-7.94 2.8a131.06 131.06 0 0 1-19.04 11.35 131.53 131.53 0 0 1-20.68 7.99c-7.1 2.07-14.37 3.54-21.72 4.39-7.36.85-14.77 1.07-22.16.67-7.38.33-14.78.03-22.11-.89a129.01 129.01 0 0 1-21.64-4.6c-7.08-2.14-13.95-4.88-20.56-8.18s-12.93-7.16-18.89-11.53c-2.07-1.7-4.7-2.57-7.38-2.44s-5.21 1.26-7.11 3.15c-1.89 1.9-3.02 4.43-3.15 7.11s.74 5.31 2.44 7.38c7.03 5.3 14.5 9.98 22.33 14s16 7.35 24.4 9.97 17.01 4.51 25.74 5.66c8.73 1.14 17.54 1.53 26.33 1.17 8.79.36 17.6-.03 26.33-1.17A153.961 153.961 0 0 0 476.87 564c7.83-4.02 15.3-8.7 22.33-14zm-7.34-68.13c5.42.06 10.8-.99 15.81-3.07 5.01-2.09 9.54-5.17 13.32-9.06s6.72-8.51 8.66-13.58A39.882 39.882 0 0 0 532 441.6c0-16.18-9.75-30.76-24.69-36.96-14.95-6.19-32.15-2.76-43.59 8.68s-14.87 28.64-8.68 43.59c6.2 14.94 20.78 24.69 36.96 24.69z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 2.3 KiB |
1
assets/splide/css/splide-core.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list{display:block}.splide__track--fade>.splide__list>.splide__slide{left:0;opacity:0;position:absolute;top:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;position:relative;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}
|
1
assets/splide/css/splide.min.css
vendored
Normal file
1
assets/splide/css/themes/splide-default.min.css
vendored
Normal file
1
assets/splide/css/themes/splide-sea-green.min.css
vendored
Normal file
1
assets/splide/css/themes/splide-skyblue.min.css
vendored
Normal file
2
assets/splide/js/splide-renderer.min.js
vendored
Normal file
1
assets/splide/js/splide-renderer.min.js.map
Normal file
3721
assets/splide/js/splide.cjs.js
Normal file
3644
assets/splide/js/splide.esm.js
Normal file
3122
assets/splide/js/splide.js
Normal file
2
assets/splide/js/splide.min.js
vendored
Normal file
BIN
assets/splide/js/splide.min.js.gz
Normal file
1
assets/splide/js/splide.min.js.map
Normal file
379
assets/splide/js/utils/splide-utils.cjs.js
Normal file
@ -0,0 +1,379 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
function empty(array) {
|
||||
array.length = 0;
|
||||
}
|
||||
|
||||
function slice(arrayLike, start, end) {
|
||||
return Array.prototype.slice.call(arrayLike, start, end);
|
||||
}
|
||||
|
||||
function find(arrayLike, predicate) {
|
||||
return slice(arrayLike).filter(predicate)[0];
|
||||
}
|
||||
|
||||
function apply(func) {
|
||||
return func.bind(null, ...slice(arguments, 1));
|
||||
}
|
||||
|
||||
const nextTick = setTimeout;
|
||||
|
||||
const noop = () => {
|
||||
};
|
||||
|
||||
function raf(func) {
|
||||
return requestAnimationFrame(func);
|
||||
}
|
||||
|
||||
function typeOf(type, subject) {
|
||||
return typeof subject === type;
|
||||
}
|
||||
function isObject(subject) {
|
||||
return !isNull(subject) && typeOf("object", subject);
|
||||
}
|
||||
const isArray = Array.isArray;
|
||||
const isFunction = apply(typeOf, "function");
|
||||
const isString = apply(typeOf, "string");
|
||||
const isUndefined = apply(typeOf, "undefined");
|
||||
function isNull(subject) {
|
||||
return subject === null;
|
||||
}
|
||||
function isHTMLElement(subject) {
|
||||
return subject instanceof HTMLElement;
|
||||
}
|
||||
function isHTMLButtonElement(subject) {
|
||||
return subject instanceof HTMLButtonElement;
|
||||
}
|
||||
|
||||
function toArray(value) {
|
||||
return isArray(value) ? value : [value];
|
||||
}
|
||||
|
||||
function forEach(values, iteratee) {
|
||||
toArray(values).forEach(iteratee);
|
||||
}
|
||||
|
||||
function includes(array, value) {
|
||||
return array.indexOf(value) > -1;
|
||||
}
|
||||
|
||||
function push(array, items) {
|
||||
array.push(...toArray(items));
|
||||
return array;
|
||||
}
|
||||
|
||||
function toggleClass(elm, classes, add) {
|
||||
if (elm) {
|
||||
forEach(classes, (name) => {
|
||||
if (name) {
|
||||
elm.classList[add ? "add" : "remove"](name);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function addClass(elm, classes) {
|
||||
toggleClass(elm, isString(classes) ? classes.split(" ") : classes, true);
|
||||
}
|
||||
|
||||
function append(parent, children) {
|
||||
forEach(children, parent.appendChild.bind(parent));
|
||||
}
|
||||
|
||||
function before(nodes, ref) {
|
||||
forEach(nodes, (node) => {
|
||||
const parent = (ref || node).parentNode;
|
||||
if (parent) {
|
||||
parent.insertBefore(node, ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function matches(elm, selector) {
|
||||
return isHTMLElement(elm) && (elm["msMatchesSelector"] || elm.matches).call(elm, selector);
|
||||
}
|
||||
|
||||
function children(parent, selector) {
|
||||
const children2 = parent ? slice(parent.children) : [];
|
||||
return selector ? children2.filter((child) => matches(child, selector)) : children2;
|
||||
}
|
||||
|
||||
function child(parent, selector) {
|
||||
return selector ? children(parent, selector)[0] : parent.firstElementChild;
|
||||
}
|
||||
|
||||
const ownKeys = Object.keys;
|
||||
|
||||
function forOwn(object, iteratee, right) {
|
||||
if (object) {
|
||||
let keys = ownKeys(object);
|
||||
keys = right ? keys.reverse() : keys;
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const key = keys[i];
|
||||
if (key !== "__proto__") {
|
||||
if (iteratee(object[key], key) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
function assign(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
object[key] = source[key];
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function merge(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
if (isArray(value)) {
|
||||
object[key] = value.slice();
|
||||
} else if (isObject(value)) {
|
||||
object[key] = merge({}, isObject(object[key]) ? object[key] : {}, value);
|
||||
} else {
|
||||
object[key] = value;
|
||||
}
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function omit(object, keys) {
|
||||
toArray(keys || ownKeys(object)).forEach((key) => {
|
||||
delete object[key];
|
||||
});
|
||||
}
|
||||
|
||||
function removeAttribute(elms, attrs) {
|
||||
forEach(elms, (elm) => {
|
||||
forEach(attrs, (attr) => {
|
||||
elm && elm.removeAttribute(attr);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function setAttribute(elms, attrs, value) {
|
||||
if (isObject(attrs)) {
|
||||
forOwn(attrs, (value2, name) => {
|
||||
setAttribute(elms, name, value2);
|
||||
});
|
||||
} else {
|
||||
forEach(elms, (elm) => {
|
||||
isNull(value) || value === "" ? removeAttribute(elm, attrs) : elm.setAttribute(attrs, String(value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function create(tag, attrs, parent) {
|
||||
const elm = document.createElement(tag);
|
||||
if (attrs) {
|
||||
isString(attrs) ? addClass(elm, attrs) : setAttribute(elm, attrs);
|
||||
}
|
||||
parent && append(parent, elm);
|
||||
return elm;
|
||||
}
|
||||
|
||||
function style(elm, prop, value) {
|
||||
if (isUndefined(value)) {
|
||||
return getComputedStyle(elm)[prop];
|
||||
}
|
||||
if (!isNull(value)) {
|
||||
elm.style[prop] = `${value}`;
|
||||
}
|
||||
}
|
||||
|
||||
function display(elm, display2) {
|
||||
style(elm, "display", display2);
|
||||
}
|
||||
|
||||
function focus(elm) {
|
||||
elm["setActive"] && elm["setActive"]() || elm.focus({ preventScroll: true });
|
||||
}
|
||||
|
||||
function getAttribute(elm, attr) {
|
||||
return elm.getAttribute(attr);
|
||||
}
|
||||
|
||||
function hasClass(elm, className) {
|
||||
return elm && elm.classList.contains(className);
|
||||
}
|
||||
|
||||
function rect(target) {
|
||||
return target.getBoundingClientRect();
|
||||
}
|
||||
|
||||
function remove(nodes) {
|
||||
forEach(nodes, (node) => {
|
||||
if (node && node.parentNode) {
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function measure(parent, value) {
|
||||
if (isString(value)) {
|
||||
const div = create("div", { style: `width: ${value}; position: absolute;` }, parent);
|
||||
value = rect(div).width;
|
||||
remove(div);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function parseHtml(html) {
|
||||
return child(new DOMParser().parseFromString(html, "text/html").body);
|
||||
}
|
||||
|
||||
function prevent(e, stopPropagation) {
|
||||
e.preventDefault();
|
||||
if (stopPropagation) {
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
function query(parent, selector) {
|
||||
return parent && parent.querySelector(selector);
|
||||
}
|
||||
|
||||
function queryAll(parent, selector) {
|
||||
return selector ? slice(parent.querySelectorAll(selector)) : [];
|
||||
}
|
||||
|
||||
function removeClass(elm, classes) {
|
||||
toggleClass(elm, classes, false);
|
||||
}
|
||||
|
||||
function timeOf(e) {
|
||||
return e.timeStamp;
|
||||
}
|
||||
|
||||
function unit(value) {
|
||||
return isString(value) ? value : value ? `${value}px` : "";
|
||||
}
|
||||
|
||||
const PROJECT_CODE = "splide";
|
||||
|
||||
function assert(condition, message) {
|
||||
if (!condition) {
|
||||
throw new Error(`[${PROJECT_CODE}] ${message || ""}`);
|
||||
}
|
||||
}
|
||||
|
||||
function error(message) {
|
||||
console.error(`[${PROJECT_CODE}] ${message}`);
|
||||
}
|
||||
|
||||
const { min, max, floor, ceil, abs } = Math;
|
||||
|
||||
function approximatelyEqual(x, y, epsilon) {
|
||||
return abs(x - y) < epsilon;
|
||||
}
|
||||
|
||||
function between(number, minOrMax, maxOrMin, exclusive) {
|
||||
const minimum = min(minOrMax, maxOrMin);
|
||||
const maximum = max(minOrMax, maxOrMin);
|
||||
return exclusive ? minimum < number && number < maximum : minimum <= number && number <= maximum;
|
||||
}
|
||||
|
||||
function clamp(number, x, y) {
|
||||
const minimum = min(x, y);
|
||||
const maximum = max(x, y);
|
||||
return min(max(minimum, number), maximum);
|
||||
}
|
||||
|
||||
function sign(x) {
|
||||
return +(x > 0) - +(x < 0);
|
||||
}
|
||||
|
||||
function camelToKebab(string) {
|
||||
return string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
||||
}
|
||||
|
||||
function format(string, replacements) {
|
||||
forEach(replacements, (replacement) => {
|
||||
string = string.replace("%s", `${replacement}`);
|
||||
});
|
||||
return string;
|
||||
}
|
||||
|
||||
function pad(number) {
|
||||
return number < 10 ? `0${number}` : `${number}`;
|
||||
}
|
||||
|
||||
const ids = {};
|
||||
function uniqueId(prefix) {
|
||||
return `${prefix}${pad(ids[prefix] = (ids[prefix] || 0) + 1)}`;
|
||||
}
|
||||
|
||||
exports.abs = abs;
|
||||
exports.addClass = addClass;
|
||||
exports.append = append;
|
||||
exports.apply = apply;
|
||||
exports.approximatelyEqual = approximatelyEqual;
|
||||
exports.assert = assert;
|
||||
exports.assign = assign;
|
||||
exports.before = before;
|
||||
exports.between = between;
|
||||
exports.camelToKebab = camelToKebab;
|
||||
exports.ceil = ceil;
|
||||
exports.child = child;
|
||||
exports.children = children;
|
||||
exports.clamp = clamp;
|
||||
exports.create = create;
|
||||
exports.display = display;
|
||||
exports.empty = empty;
|
||||
exports.error = error;
|
||||
exports.find = find;
|
||||
exports.floor = floor;
|
||||
exports.focus = focus;
|
||||
exports.forEach = forEach;
|
||||
exports.forOwn = forOwn;
|
||||
exports.format = format;
|
||||
exports.getAttribute = getAttribute;
|
||||
exports.hasClass = hasClass;
|
||||
exports.includes = includes;
|
||||
exports.isArray = isArray;
|
||||
exports.isFunction = isFunction;
|
||||
exports.isHTMLButtonElement = isHTMLButtonElement;
|
||||
exports.isHTMLElement = isHTMLElement;
|
||||
exports.isNull = isNull;
|
||||
exports.isObject = isObject;
|
||||
exports.isString = isString;
|
||||
exports.isUndefined = isUndefined;
|
||||
exports.matches = matches;
|
||||
exports.max = max;
|
||||
exports.measure = measure;
|
||||
exports.merge = merge;
|
||||
exports.min = min;
|
||||
exports.nextTick = nextTick;
|
||||
exports.noop = noop;
|
||||
exports.omit = omit;
|
||||
exports.ownKeys = ownKeys;
|
||||
exports.pad = pad;
|
||||
exports.parseHtml = parseHtml;
|
||||
exports.prevent = prevent;
|
||||
exports.push = push;
|
||||
exports.query = query;
|
||||
exports.queryAll = queryAll;
|
||||
exports.raf = raf;
|
||||
exports.rect = rect;
|
||||
exports.remove = remove;
|
||||
exports.removeAttribute = removeAttribute;
|
||||
exports.removeClass = removeClass;
|
||||
exports.setAttribute = setAttribute;
|
||||
exports.sign = sign;
|
||||
exports.slice = slice;
|
||||
exports.style = style;
|
||||
exports.timeOf = timeOf;
|
||||
exports.toArray = toArray;
|
||||
exports.toggleClass = toggleClass;
|
||||
exports.uniqueId = uniqueId;
|
||||
exports.unit = unit;
|
312
assets/splide/js/utils/splide-utils.esm.js
Normal file
@ -0,0 +1,312 @@
|
||||
function empty(array) {
|
||||
array.length = 0;
|
||||
}
|
||||
|
||||
function slice(arrayLike, start, end) {
|
||||
return Array.prototype.slice.call(arrayLike, start, end);
|
||||
}
|
||||
|
||||
function find(arrayLike, predicate) {
|
||||
return slice(arrayLike).filter(predicate)[0];
|
||||
}
|
||||
|
||||
function apply(func) {
|
||||
return func.bind(null, ...slice(arguments, 1));
|
||||
}
|
||||
|
||||
const nextTick = setTimeout;
|
||||
|
||||
const noop = () => {
|
||||
};
|
||||
|
||||
function raf(func) {
|
||||
return requestAnimationFrame(func);
|
||||
}
|
||||
|
||||
function typeOf(type, subject) {
|
||||
return typeof subject === type;
|
||||
}
|
||||
function isObject(subject) {
|
||||
return !isNull(subject) && typeOf("object", subject);
|
||||
}
|
||||
const isArray = Array.isArray;
|
||||
const isFunction = apply(typeOf, "function");
|
||||
const isString = apply(typeOf, "string");
|
||||
const isUndefined = apply(typeOf, "undefined");
|
||||
function isNull(subject) {
|
||||
return subject === null;
|
||||
}
|
||||
function isHTMLElement(subject) {
|
||||
return subject instanceof HTMLElement;
|
||||
}
|
||||
function isHTMLButtonElement(subject) {
|
||||
return subject instanceof HTMLButtonElement;
|
||||
}
|
||||
|
||||
function toArray(value) {
|
||||
return isArray(value) ? value : [value];
|
||||
}
|
||||
|
||||
function forEach(values, iteratee) {
|
||||
toArray(values).forEach(iteratee);
|
||||
}
|
||||
|
||||
function includes(array, value) {
|
||||
return array.indexOf(value) > -1;
|
||||
}
|
||||
|
||||
function push(array, items) {
|
||||
array.push(...toArray(items));
|
||||
return array;
|
||||
}
|
||||
|
||||
function toggleClass(elm, classes, add) {
|
||||
if (elm) {
|
||||
forEach(classes, (name) => {
|
||||
if (name) {
|
||||
elm.classList[add ? "add" : "remove"](name);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function addClass(elm, classes) {
|
||||
toggleClass(elm, isString(classes) ? classes.split(" ") : classes, true);
|
||||
}
|
||||
|
||||
function append(parent, children) {
|
||||
forEach(children, parent.appendChild.bind(parent));
|
||||
}
|
||||
|
||||
function before(nodes, ref) {
|
||||
forEach(nodes, (node) => {
|
||||
const parent = (ref || node).parentNode;
|
||||
if (parent) {
|
||||
parent.insertBefore(node, ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function matches(elm, selector) {
|
||||
return isHTMLElement(elm) && (elm["msMatchesSelector"] || elm.matches).call(elm, selector);
|
||||
}
|
||||
|
||||
function children(parent, selector) {
|
||||
const children2 = parent ? slice(parent.children) : [];
|
||||
return selector ? children2.filter((child) => matches(child, selector)) : children2;
|
||||
}
|
||||
|
||||
function child(parent, selector) {
|
||||
return selector ? children(parent, selector)[0] : parent.firstElementChild;
|
||||
}
|
||||
|
||||
const ownKeys = Object.keys;
|
||||
|
||||
function forOwn(object, iteratee, right) {
|
||||
if (object) {
|
||||
let keys = ownKeys(object);
|
||||
keys = right ? keys.reverse() : keys;
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const key = keys[i];
|
||||
if (key !== "__proto__") {
|
||||
if (iteratee(object[key], key) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
function assign(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
object[key] = source[key];
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function merge(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
if (isArray(value)) {
|
||||
object[key] = value.slice();
|
||||
} else if (isObject(value)) {
|
||||
object[key] = merge({}, isObject(object[key]) ? object[key] : {}, value);
|
||||
} else {
|
||||
object[key] = value;
|
||||
}
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function omit(object, keys) {
|
||||
toArray(keys || ownKeys(object)).forEach((key) => {
|
||||
delete object[key];
|
||||
});
|
||||
}
|
||||
|
||||
function removeAttribute(elms, attrs) {
|
||||
forEach(elms, (elm) => {
|
||||
forEach(attrs, (attr) => {
|
||||
elm && elm.removeAttribute(attr);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function setAttribute(elms, attrs, value) {
|
||||
if (isObject(attrs)) {
|
||||
forOwn(attrs, (value2, name) => {
|
||||
setAttribute(elms, name, value2);
|
||||
});
|
||||
} else {
|
||||
forEach(elms, (elm) => {
|
||||
isNull(value) || value === "" ? removeAttribute(elm, attrs) : elm.setAttribute(attrs, String(value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function create(tag, attrs, parent) {
|
||||
const elm = document.createElement(tag);
|
||||
if (attrs) {
|
||||
isString(attrs) ? addClass(elm, attrs) : setAttribute(elm, attrs);
|
||||
}
|
||||
parent && append(parent, elm);
|
||||
return elm;
|
||||
}
|
||||
|
||||
function style(elm, prop, value) {
|
||||
if (isUndefined(value)) {
|
||||
return getComputedStyle(elm)[prop];
|
||||
}
|
||||
if (!isNull(value)) {
|
||||
elm.style[prop] = `${value}`;
|
||||
}
|
||||
}
|
||||
|
||||
function display(elm, display2) {
|
||||
style(elm, "display", display2);
|
||||
}
|
||||
|
||||
function focus(elm) {
|
||||
elm["setActive"] && elm["setActive"]() || elm.focus({ preventScroll: true });
|
||||
}
|
||||
|
||||
function getAttribute(elm, attr) {
|
||||
return elm.getAttribute(attr);
|
||||
}
|
||||
|
||||
function hasClass(elm, className) {
|
||||
return elm && elm.classList.contains(className);
|
||||
}
|
||||
|
||||
function rect(target) {
|
||||
return target.getBoundingClientRect();
|
||||
}
|
||||
|
||||
function remove(nodes) {
|
||||
forEach(nodes, (node) => {
|
||||
if (node && node.parentNode) {
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function measure(parent, value) {
|
||||
if (isString(value)) {
|
||||
const div = create("div", { style: `width: ${value}; position: absolute;` }, parent);
|
||||
value = rect(div).width;
|
||||
remove(div);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function parseHtml(html) {
|
||||
return child(new DOMParser().parseFromString(html, "text/html").body);
|
||||
}
|
||||
|
||||
function prevent(e, stopPropagation) {
|
||||
e.preventDefault();
|
||||
if (stopPropagation) {
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
function query(parent, selector) {
|
||||
return parent && parent.querySelector(selector);
|
||||
}
|
||||
|
||||
function queryAll(parent, selector) {
|
||||
return selector ? slice(parent.querySelectorAll(selector)) : [];
|
||||
}
|
||||
|
||||
function removeClass(elm, classes) {
|
||||
toggleClass(elm, classes, false);
|
||||
}
|
||||
|
||||
function timeOf(e) {
|
||||
return e.timeStamp;
|
||||
}
|
||||
|
||||
function unit(value) {
|
||||
return isString(value) ? value : value ? `${value}px` : "";
|
||||
}
|
||||
|
||||
const PROJECT_CODE = "splide";
|
||||
|
||||
function assert(condition, message) {
|
||||
if (!condition) {
|
||||
throw new Error(`[${PROJECT_CODE}] ${message || ""}`);
|
||||
}
|
||||
}
|
||||
|
||||
function error(message) {
|
||||
console.error(`[${PROJECT_CODE}] ${message}`);
|
||||
}
|
||||
|
||||
const { min, max, floor, ceil, abs } = Math;
|
||||
|
||||
function approximatelyEqual(x, y, epsilon) {
|
||||
return abs(x - y) < epsilon;
|
||||
}
|
||||
|
||||
function between(number, minOrMax, maxOrMin, exclusive) {
|
||||
const minimum = min(minOrMax, maxOrMin);
|
||||
const maximum = max(minOrMax, maxOrMin);
|
||||
return exclusive ? minimum < number && number < maximum : minimum <= number && number <= maximum;
|
||||
}
|
||||
|
||||
function clamp(number, x, y) {
|
||||
const minimum = min(x, y);
|
||||
const maximum = max(x, y);
|
||||
return min(max(minimum, number), maximum);
|
||||
}
|
||||
|
||||
function sign(x) {
|
||||
return +(x > 0) - +(x < 0);
|
||||
}
|
||||
|
||||
function camelToKebab(string) {
|
||||
return string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
||||
}
|
||||
|
||||
function format(string, replacements) {
|
||||
forEach(replacements, (replacement) => {
|
||||
string = string.replace("%s", `${replacement}`);
|
||||
});
|
||||
return string;
|
||||
}
|
||||
|
||||
function pad(number) {
|
||||
return number < 10 ? `0${number}` : `${number}`;
|
||||
}
|
||||
|
||||
const ids = {};
|
||||
function uniqueId(prefix) {
|
||||
return `${prefix}${pad(ids[prefix] = (ids[prefix] || 0) + 1)}`;
|
||||
}
|
||||
|
||||
export { abs, addClass, append, apply, approximatelyEqual, assert, assign, before, between, camelToKebab, ceil, child, children, clamp, create, display, empty, error, find, floor, focus, forEach, forOwn, format, getAttribute, hasClass, includes, isArray, isFunction, isHTMLButtonElement, isHTMLElement, isNull, isObject, isString, isUndefined, matches, max, measure, merge, min, nextTick, noop, omit, ownKeys, pad, parseHtml, prevent, push, query, queryAll, raf, rect, remove, removeAttribute, removeClass, setAttribute, sign, slice, style, timeOf, toArray, toggleClass, uniqueId, unit };
|
1674
assets/splide/types/index.d.ts
vendored
Normal file
10
assets/twitter.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 248 204" style="enable-background:new 0 0 248 204;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#1D9BF0;}
|
||||
</style>
|
||||
<g id="Logo_1_">
|
||||
<path id="white_background" class="st0" d="M221.95,51.29c0.15,2.17,0.15,4.34,0.15,6.53c0,66.73-50.8,143.69-143.69,143.69v-0.04 C50.97,201.51,24.1,193.65,1,178.83c3.99,0.48,8,0.72,12.02,0.73c22.74,0.02,44.83-7.61,62.72-21.66 c-21.61-0.41-40.56-14.5-47.18-35.07c7.57,1.46,15.37,1.16,22.8-0.87C27.8,117.2,10.85,96.5,10.85,72.46c0-0.22,0-0.43,0-0.64 c7.02,3.91,14.88,6.08,22.92,6.32C11.58,63.31,4.74,33.79,18.14,10.71c25.64,31.55,63.47,50.73,104.08,52.76 c-4.07-17.54,1.49-35.92,14.61-48.25c20.34-19.12,52.33-18.14,71.45,2.19c11.31-2.23,22.15-6.38,32.07-12.26 c-3.77,11.69-11.66,21.62-22.2,27.93c10.01-1.18,19.79-3.86,29-7.95C240.37,35.29,231.83,44.14,221.95,51.29z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/webgallery/bom_add_item.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
assets/webgallery/build_details.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
assets/webgallery/build_outputs.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
assets/webgallery/category_params.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
assets/webgallery/category_subcats.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
assets/webgallery/manufacturers.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
assets/webgallery/part_admin.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
assets/webgallery/part_category.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
assets/webgallery/part_stock.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
assets/webgallery/part_suppliers.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
assets/webgallery/stock_item.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
assets/webgallery/stock_item_2.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
assets/webgallery/stock_location.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
assets/webgallery/stock_location_2.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
assets/webgallery/suppliers.png
Normal file
After Width: | Height: | Size: 32 KiB |